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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4d1dfb84f12c39ff623234448b7ff6eb28418b98 | 90047daeb462598a924d76ddf4288e832e86417c | /chrome/browser/extensions/extension_disabled_ui_browsertest.cc | 180c2906d3a6d2f7c620812045feca125307b8d1 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 14,836 | 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 <stddef.h>
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/ptr_util.h"
#include "base/task_s... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
a843b432317ca2d940770ac9eccfc343f2e52adf | 2e32c8cce9b292a90db5e515ff00eb291d210db0 | /Template/DlgComposite.cpp | 896802d50719a1f92392e3f45f42b5e3a5d92b03 | [] | no_license | LyndonXu/Template | 03cbe18845dbdb2fad102d6b9ff826f4d0556937 | c09f81df0e47257ad4b8f77901440605f8bcc847 | refs/heads/master | 2020-03-29T12:19:51.518249 | 2018-10-13T07:10:22 | 2018-10-13T07:10:22 | 149,893,981 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 28,610 | cpp | // DlgComposite.cpp : 实现文件
//
#include "stdafx.h"
#include "Template.h"
#include "DlgComposite.h"
#include "afxdialogex.h"
#include "utils.h"
#include "DlgTemp.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
const LPCTSTR c_pCursorType[_Point_On_Rect_Reserved] =
{
IDC_ARROW,
IDC_SIZEALL,
IDC_SIZENESW,
IDC_SIZENE... | [
"lyndonxu@163.com"
] | lyndonxu@163.com |
40a878d0fedd79590d4e0783921e06b88492ff0e | 30792b6796671a1cae78088dc93e5f843e769fae | /C++/decision/Subset Sum Problem/subset_sum_problem_tabulation.h | 4c3bcc6d4efca56624afef5c529ecd5f34a7a5ac | [
"Apache-2.0"
] | permissive | KartikeySharma/programming | a882142d8dc4dc3ae21a5e3a5af11e19d64b0348 | 6af19b41182c00f1c45f89d831634d58cf9d3644 | refs/heads/master | 2022-12-19T05:35:01.367903 | 2020-10-01T07:30:13 | 2020-10-01T07:30:13 | 300,029,180 | 1 | 0 | Apache-2.0 | 2020-09-30T19:04:19 | 2020-09-30T19:04:18 | null | UTF-8 | C++ | false | false | 920 | h | /*
* Copyright 2018 Aman Mehara
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"amanmehara@hotmail.com"
] | amanmehara@hotmail.com |
d25a9158c8e3a417800e2fec241a46b18a315ef7 | 38c653ac9d10ae7f4f5da7bcfe3e6cb5bd6a745a | /Day04/day4_q3.cpp | c879afd06b403f010256f5ad86586f7acde78d67 | [] | no_license | kandarpkakkad/30-Day-Challenge-CPP | 6e326cfc9d02767516c739dc32c0eb7a2df5734c | 75a01e0963104735ae56311c63e2268c3ac86087 | refs/heads/master | 2023-02-27T15:29:00.103608 | 2021-02-06T21:55:55 | 2021-02-06T21:55:55 | 272,061,833 | 33 | 3 | null | 2020-06-18T12:40:50 | 2020-06-13T18:10:39 | C++ | UTF-8 | C++ | false | false | 2,261 | cpp | #include<bits/stdc++.h>
using namespace std;
/*
https://leetcode.com/problems/longest-consecutive-sequence/
Input:
100 4 200 1 3 2
Output:
4
4
4
*/
int main() {
#ifndef ONLINE_JUDGE
freopen("../input.txt", "r", stdin);
freopen("../output.txt", "w", stdout);
#endif
long long N;
cin >> N;
long long arr[N... | [
"kandarp.b.kakkad@gmail.com"
] | kandarp.b.kakkad@gmail.com |
75cb31f3c5f5c88d953ffc71038d2af5c2e5abb0 | bacb43b4b870a2055d52d29a375ce388fd54d516 | /plugins/chain_interface/include/eosio/chain/plugin_interface.hpp | 7617e8bd697b967b4e0457bc8f96ce9d234a20df | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | permissive | allenachain/Achainplus | 7ce701fad319de67e2340b51574402f6f7b6e1c3 | 610c0f5ca935de25fa3897023c740d841cdfc82e | refs/heads/master | 2020-05-05T13:07:02.929996 | 2019-04-22T09:06:54 | 2019-04-22T09:06:54 | 178,156,674 | 0 | 0 | MIT | 2019-03-28T08:12:03 | 2019-03-28T08:11:59 | null | UTF-8 | C++ | false | false | 2,864 | hpp | /**
* @file
* @copyright defined in Achainplus/LICENSE
*/
#pragma once
#include <appbase/channel.hpp>
#include <appbase/method.hpp>
#include <eosio/chain/block.hpp>
#include <eosio/chain/block_state.hpp>
#include <eosio/chain/transaction_metadata.hpp>
#include <eosio/chain/trace.hpp>
namespace eosio { namespace... | [
"xiaoming@new4g.cn"
] | xiaoming@new4g.cn |
b18bd050a83857553de62c29df2f33470296a34a | 684ad3641691145614a8936b44af0004a67fc50a | /Covid19-Calculator/Covid19calc.cpp | 3c6e12e426125ac31b2e4a6a6c6cf7902fec27b2 | [] | no_license | xSeditx/Covid19-Calculator | f0be642f42927bb357b9086405b796b23425ccdf | 8111d77cff68b133a67293e9affefe579d523aa5 | refs/heads/master | 2022-04-09T22:14:13.397207 | 2020-03-27T08:10:16 | 2020-03-27T08:10:16 | 247,355,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,332 | cpp | #include"Covid19calc.h"
void Epidemic_Map::display_Data()
{
ColorPrint(CON_Yellow, "Total Infected: " << Total_Infected);
ColorPrint(CON_Green, "Total Recovered: " << Total_Recovered);
ColorPrint(CON_Red, "Total Deaths: " << Total_Deaths);
/* Find the Percentage of people who died so far */
M... | [
"curtis.turner@live.com"
] | curtis.turner@live.com |
76ed2367f08d4b78860e8ce98de60f420af36cec | a8084776026e0fe82cb10dd9aea60868490dabe5 | /sources/ZeGame/Sources/DSLib.h | 2afbdfc739c7e7d0fb03bca83454f59d27cc5cdd | [] | no_license | arey/zegame | e593f35766a6ef87ddd8dadd7f347703f223c307 | 6550ad403b794d1945957afa5592484f3a95f87d | refs/heads/master | 2020-12-01T22:16:23.629412 | 2020-01-03T17:45:23 | 2020-01-03T17:45:23 | 230,787,538 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,039 | h | ////////////////////////////////////////////////////////////////////////////////
// Unité "DSLib.h" : Librarie regroupant diverses fonctions de gestion //
// sonore et musicale sous DirectSound. //
// //
// Copyright (C... | [
"antoine.rey@gmail.com"
] | antoine.rey@gmail.com |
6bca0e53d5f4082aa86367a774ffa6515d016ddb | 849e3c2b8348f34156f12cfb246d2f9826b96610 | /codebase/libs/Radx/src/Cf2/Cf2RadxFile.cc | 6bc70239f8e291df5ba8cdd6f8d5320c6afbef39 | [
"BSD-3-Clause"
] | permissive | ganlubbq/lrose-core | 92147eec2ff5ea324e2e0755c9ad9ce376158d08 | 0edd37264bfe5a526f1854498b361931d713d686 | refs/heads/master | 2021-08-14T14:38:46.570938 | 2017-11-16T01:37:47 | 2017-11-16T01:37:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,806 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
fb326da271db1c4fad2947be26583ecabbfb0431 | 540c2a7bc1b782f37813f5c4361082b0dbd675b4 | /BattleTank/Source/BattleTank/Public/Tank.h | 1b87be00d2f88bda1e7218747db86ad0e24bd9ee | [] | no_license | mossssi/Tut_BattleTank | 70ebc77c9b824c44a6a0cb4daf5a6a5a906c04da | 6c364d5a3105ae8a3f03d28499f47f7785c70749 | refs/heads/master | 2020-03-17T01:34:14.226293 | 2018-05-26T16:04:32 | 2018-05-26T16:04:32 | 133,158,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | h | // Copyright to Mostafa Khaleghi 2018
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "Tank.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FTankDelegate);
// Forward declaration
UCLASS()
class BATTLETANK_API ATank : public APawn
{
GENERATED_BODY()
public:
void BeginPlay() overrid... | [
"mostafa_khaleghi64@yahoo.com"
] | mostafa_khaleghi64@yahoo.com |
b8b0e39d8db23d058bc90596f1f80d953950884c | 6d36922b575c1bbf69033b5ae6ce4c9edf07a529 | /homework/FMIBOOK/User.h | a1734c4236bc6e6e5bea2c31e094a585779a246f | [] | no_license | kalloyan9/OOP | 4c15711da847eff615d409a3f1693a5e2479ec64 | 7644e489dfd516de7a55c16847d54218bee26b20 | refs/heads/master | 2023-02-01T21:15:54.388755 | 2020-12-13T16:47:38 | 2020-12-13T16:47:38 | 308,402,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | h | #pragma once
#include <string>
using std::string;
#include <iostream>
using std::cin;
using std::cout;
#include <vector>
using std::vector;
#include "Publication.h"
namespace globals
{
enum rights
{
blocked, //chete postove no ne publikuva
normal, //mogat da suzdavat publikaciq i da mahat svoq publikaciq, mogat ... | [
"kalloyan9@gmail.com"
] | kalloyan9@gmail.com |
7b5a96e98512d3822b59e22f9ee28587887abdce | 0494c9caa519b27f3ed6390046fde03a313d2868 | /src/chrome/browser/spellchecker/spellcheck_message_filter.cc | e58be59ec4fec48a3f8a3e01c7784332c23a7d9a | [
"BSD-3-Clause"
] | permissive | mhcchang/chromium30 | 9e9649bec6fb19fe0dc2c8b94c27c9d1fa69da2c | 516718f9b7b95c4280257b2d319638d4728a90e1 | refs/heads/master | 2023-03-17T00:33:40.437560 | 2017-08-01T01:13:12 | 2017-08-01T01:13:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,396 | 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/spellchecker/spellcheck_message_filter.h"
#include <algorithm>
#include <functional>
#include "base/bind.h"
#include "base/... | [
"1990zhaoshuang@163.com"
] | 1990zhaoshuang@163.com |
aba255611551dc85ae79ff7813d8ecb1e7b9c0c1 | 36d6ed642da5d2f4c325636ce577a3e59248f9a7 | /cuckoo_time_translator_algorithms/include/cuckoo_time_translator/ConvexHullImpl.h | e04a4b51f15c3fb422e3d1d4f2d9bc298adc48d5 | [
"BSD-2-Clause"
] | permissive | daoran/cuckoo_time_translator | 073ecfa72ad49a6ff5690576944515e78f2adf91 | 63adec35f6a159be30e9a939892fc5350aac136c | refs/heads/master | 2022-07-03T17:49:42.115921 | 2022-06-19T21:16:03 | 2022-06-19T21:16:03 | 200,149,447 | 0 | 0 | NOASSERTION | 2022-06-20T12:50:39 | 2019-08-02T02:19:19 | C++ | UTF-8 | C++ | false | false | 5,318 | h | #ifndef HD5867872_5846_4710_82B2_BDFD92BC89EB
#define HD5867872_5846_4710_82B2_BDFD92BC89EB
#include "ConvexHull.h"
namespace cuckoo_time_translator {
template<typename T>
ConvexHull<T>::ConvexHull()
: _midpointSegmentIndex(0u) {
}
template<typename T>
ConvexHull<T>::~ConvexHull() {
}
template<typename T>
clas... | [
"hannes.sommer@mavt.ethz.ch"
] | hannes.sommer@mavt.ethz.ch |
449cfdb826ea44552467e23c665b00cad8258fda | aa34c90b048c26179ae91894628217958695685d | /AnimationComponent.h | ce01b7bab3727605998b343dc52bf220506b3dee | [] | no_license | codingvoyage/voyagetower | b41c24a7a0590c59bb857fc9d9200712a63f0c0d | 022383a395f61ae2c330d6089044eb8e494d4169 | refs/heads/master | 2020-04-06T11:07:07.567830 | 2014-11-15T05:52:41 | 2014-11-15T05:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #ifndef ANIMATIONCOMPONENT_H
#define ANIMATIONCOMPONENT_H
#include <string>
#include "Component.h"
#include "ResourceManager.h"
using namespace std;
// Basically keeps track of how the Entity is rendered.
// Keeps track of frame, rotation, and passes the details
// when rendering to the more low-level parts of the p... | [
"edmundjqiu@gmail.com"
] | edmundjqiu@gmail.com |
331cfccbb8289cb8ba81741bac9b9e21a7acce8d | 9889e7fd73314382fb2f9e8f63d92cf3254b75fb | /GranularSim/src/Core/Geometry/Plane.h | 8de1f44e1697f60497ebc8b4d75e18397c0bdce3 | [
"BSD-3-Clause",
"MIT"
] | permissive | bbanerjee/ParSim | 0b05f43cff8e878658dc179b4a604eabd873f594 | 87f87816b146f40013a5e6648dfe20f6d2d002bb | refs/heads/master | 2023-04-27T11:30:36.252023 | 2023-04-13T22:04:50 | 2023-04-13T22:04:50 | 13,608,512 | 16 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | h | #ifndef CORE_GEOMETRY_PLANE_H
#define CORE_GEOMETRY_PLANE_H
#include <Core/Const/Constants.h>
#include <Core/Math/Vec.h>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/vector.hpp>
#include <iostream>
namespace dem {
/////////////////////////////////////
class Plane
{
public:
Vec norma... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
41e52c3995c7663dfb97634db59040bc2fd9555a | 2e5c33f159adf150b67ef1b19f14607d2d11f1fe | /include/aeongames/ProtoBufUtils.h | cf87b85448b770cbdd9547bc581253b256e77bf5 | [
"Apache-2.0"
] | permissive | AeonGames/AeonEngine | 29fedf6dcba2548e594ec067f99c834d8f975f27 | 2cdbf540227c1c4bbf4d893145627564dbb2a8a3 | refs/heads/master | 2023-07-22T01:35:42.972067 | 2023-07-19T01:47:20 | 2023-07-19T01:47:20 | 54,066,866 | 17 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | h | /*
Copyright (C) 2018,2019,2021 Rodrigo Jose Hernandez Cordoba
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"kwizatz@aeongames.com"
] | kwizatz@aeongames.com |
7b1c8eef07eca03d058f2514991c55bfb96e2baf | e5d7314e57789b78b80f5aa9367ba1c0c6cd59b1 | /chapter7/strgfun.cpp | 8d0beb6626406474e16f52941a72afe28cdc108d | [] | no_license | dga1t/cpp-primer-practice | 1b36da26922433647ac1396a3d6ffead88ad0178 | 8f68b71b16297f8c8d490d811ddc62dc4b3bbe2b | refs/heads/master | 2023-05-29T03:44:40.098175 | 2021-06-06T12:33:50 | 2021-06-06T12:33:50 | 321,054,667 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include <iostream>
unsigned int c_in_str(const char * str, char ch);
int main()
{
using namespace std;
char mmm[15] = "minimum"; // string in an array
// some systems require preceding char with static to enable array initialization
char *wail = "ululate"; // wail points to string
unsigned int ms = c_... | [
"dpsmnsk@gmail.com"
] | dpsmnsk@gmail.com |
5fd6f09c0a02e224ad1d46a9111a3b4412c327fa | 4267ddb38117fbf07933a42b4e4a42489db203b1 | /j_calc_symbol/j_calc_symbol.cpp | 8e667d9998765fa53529f2887925559b6d6a6e24 | [] | no_license | JDRiley/J_Calc | af479ba994e69875505aa0adfa62b6e62c0b9bda | c71b9a921b790adc52563e1848d148ae0572af6a | refs/heads/master | 2021-05-01T10:26:01.449524 | 2017-09-06T11:47:50 | 2017-09-06T11:47:50 | 21,056,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,896 | cpp | #include "j_calc_symbol.h"
//
#include "Type_Syntax.h"
//
#include "J_Symbol_Scope.h"
//
#include "JC_Symbol_Error.h"
//
#include <j_symbol/J_Symbol_Identifier.h>
//
#include "j_placeholder_symbol.h"
//
#include "Arguments.h"
//
#include "Type_Factory.h"
//
#include <j_tree.h>
namespace jomike{
j_calc_symbol* get_j... | [
"jilesione@gmail.com"
] | jilesione@gmail.com |
88e551a7414b7cdeade97dd5d71a05e91fd64688 | ead47720465474384ac20fa2994ec7139d3e598d | /VNPTCASoftHSM/botan/out_buf.h | 34ba5d1da78ec3e44d32d1c0138fc83b631647c3 | [] | no_license | chenhuang511/ios-mailclient | e0ad5b0988b86e878383b7472861f5cb5f76a5f8 | 449e0d3a7e9b7d87fc88f0d2aa08b95265f7cd6d | refs/heads/master | 2022-07-07T01:08:50.827242 | 2017-02-16T08:08:15 | 2017-02-16T08:08:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | h | /*
* Output Buffer
* (C) 1999-2007 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_OUTPUT_BUFFER_H__
#define BOTAN_OUTPUT_BUFFER_H__
#include "../botan/types.h"
#include "../botan/pipe.h"
#include <deque>
namespace Botan {
/**
* Container of output buffers for Pipe
*/
class Output_B... | [
"tungnt2@lifetimetech.vn"
] | tungnt2@lifetimetech.vn |
a56867ee0cbbb958be9f3a6607ae3f01148b5994 | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/Routing_LinearPathBuilder.hxx | fea2aee451135b33b013eb1820d1ae78746ec142 | [] | 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 | 11,541 | hxx | #ifndef NXOpen_ROUTING_LINEARPATHBUILDER_HXX_INCLUDED
#define NXOpen_ROUTING_LINEARPATHBUILDER_HXX_INCLUDED
//--------------------------------------------------------------------------
// Header for C++ interface to JA API
//--------------------------------------------------------------------------
//
// Source File:... | [
"1075087594@qq.com"
] | 1075087594@qq.com |
9f70851a63514c5c2be3957ca86534d8dd6c9a7c | 3e65d658a62be7c01476c8b5e062548e8f8566ba | /src/sparse_solver.cpp | 9f317cfc3f9c5f617b0ad4780f80b5554fc30d53 | [] | no_license | wentaohub/SparseSolverEigen | 6fa61d88e71db1f9416d6c12a190bc13e26050ff | 3674b79670097f15e51da1d6bb11835a1be05823 | refs/heads/master | 2021-05-28T08:20:35.235829 | 2014-11-26T10:52:31 | 2014-11-26T10:52:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,886 | cpp | #include <iostream>
#include <vector>
#include <Eigen/Core>
#include <Eigen/Dense>
#include <log_macros.h>
#include <sparse_solver.hpp>
namespace ssolver {
/* little helpers */
inline g_float GROUP_VALUE(const group &curr_group, const VectorT &a, const VectorT &beta, const VectorT &sorted_ind, int d, co... | [
"springj@informatik.uni-freiburg.de"
] | springj@informatik.uni-freiburg.de |
3a30443e59d4d56da30d927c73d7cf58f58089bd | 77ae9e665468482c5d4cd7c207f0e4c12bb49069 | /src/iprange.h | ff7eeeb93578b5038734607e9ded25b4c1d93d5e | [
"MIT"
] | permissive | nklapste/a3sdn | 78e669ee9bd591c42eb42f3f028df21f826f0308 | 27764513675362eb2a382a0330243afed220abc3 | refs/heads/master | 2020-04-05T02:14:39.956595 | 2018-11-23T00:18:15 | 2018-11-23T00:18:15 | 156,469,370 | 1 | 0 | MIT | 2018-11-23T00:18:16 | 2018-11-07T00:53:29 | C++ | UTF-8 | C++ | false | false | 284 | h | /**
* a3sdn iprange.h
*
* @author Nathan Klapstein (nklapste)
* @version 0.0.0
*/
#ifndef A3SDN_IPRANGE_H
#define A3SDN_IPRANGE_H
#include <tuple>
using namespace std;
typedef tuple<uint, uint> IPRange;
IPRange parseIPRange(const string &IPRange);
#endif //A3SDN_IPRANGE_H
| [
"nklapste@ualberta.ca"
] | nklapste@ualberta.ca |
8b33ac60fa262736279e42d2eb60ba0b1e3f7940 | d5c42bb27708051e4a325e5b686844e7aacceea1 | /SecondAssignment/SecondAssignment/7_10.cpp | 92a0b2a3784118b4833c1a5e9032d20b6c18d20a | [] | no_license | Jaeguins/2018-PKNU-ITCAE-OOJ-Assignment | b4882bc177a28530df19394623b308679db81044 | bc9d715a8983f27d420f348c18f371b428942ae2 | refs/heads/master | 2020-03-30T22:15:45.530084 | 2018-12-06T04:16:34 | 2018-12-06T04:16:34 | 151,660,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | #include <iostream>
using namespace std;
class CComplex {
public:
double realNum = 0, virtualNum = 0;
CComplex(double real, double vir) {
realNum = real;
virtualNum = vir;
}
const CComplex operator+(const CComplex& b);
const CComplex operator-(const CComplex& b);
const CComplex o... | [
"jsu4838@naver.com"
] | jsu4838@naver.com |
187a0ad1ed9d300d0a7b8e7b2f2d5921d9a49e32 | beed2ceb6602e29869437b93ce679bb244a2183d | /082. Maximum Gap/Maximum_Gap.cpp | 63a6a424e281759c325433d179395d0d773af90e | [] | no_license | chenyangjamie/Leetcode | e3b64316320c6b52a24a3a5d0f28200774d142f0 | b8a9c97271819e96b6f4796612fd4721a51d4b9e | refs/heads/master | 2021-01-17T08:55:20.657488 | 2016-03-30T16:10:59 | 2016-03-30T16:10:59 | 37,371,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | cpp | /*
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.
Try to solve it in linear time/space.
Return 0 if the array contains less than 2 elements.
You may assume all elements in the array are non-negative integers and fit in the 32-bit signed integer range.
*/
clas... | [
"tripleYang.chen@gmail.com"
] | tripleYang.chen@gmail.com |
c2449414e7ec05b1bb4b3fcedc8f50cca980fa6a | 3d9e2d58cb310dd5e3b8e1aca5979d66b81c6510 | /codeforcesB/flowers.cpp | a1040550323ca67e25a25474ee52c1b59d6184ed | [] | no_license | praveen4698/competitiveProgrammingWithCpp | 906f1ec5d3689755ff9c2547f987ae96ec8f8387 | fbeeb8a9ccc7ea45201889415adfea07ab5dc92c | refs/heads/master | 2021-07-08T21:19:20.250388 | 2020-09-20T08:40:49 | 2020-09-20T08:40:49 | 193,205,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cpp | #include<bits/stdc++.h>
using namespace std;
#define lp(i,n1,n2) for(int (i)=(int)(n1);(i)<(int)(n2);++(i))
#define lpr(i,n1,n2) for(int (i) =(int)(n1); (i) >= (int)(n2);--(i))
#define scan(a) scanf("%d",&a)
#define scan2(a,b) scanf("%d %d",&a,&b);
#define pb(a) push_back(a)
#define mp(a,b) make_pair(a,b)
#define PI 3.... | [
"praveen.y469@gmail.com"
] | praveen.y469@gmail.com |
0eaa9157360afc07f8438d420c705c1f3d43f1cc | 22d5d10c1f67efe97b8854760b7934d8e16d269b | /LeetCodeCPP/34. Find First and Last Position of Element in Sorted Array/main.cpp | 051d17316aa96d202691d323a5648be246321aa0 | [
"Apache-2.0"
] | permissive | 18600130137/leetcode | 42241ece7fce1536255d427a87897015b26fd16d | fd2dc72c0b85da50269732f0fcf91326c4787d3a | refs/heads/master | 2020-04-24T01:48:03.049019 | 2019-10-17T06:02:57 | 2019-10-17T06:02:57 | 171,612,908 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,417 | cpp | //
// main.cpp
// 34. Find First and Last Position of Element in Sorted Array
//
// Created by admin on 2019/3/8.
// Copyright © 2019年 liu. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
auto speed=[]()
{
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(... | [
"guodongliu6@crediteses.cn"
] | guodongliu6@crediteses.cn |
ad8430092bc436268cdbc26fc25c7727f3bada4f | ebe46f59312f30f2d212ed0ae42c3a4e4ecc6b89 | /src/CPedHack.cpp | a23bfdbf8a7bbdb0d732df6557606337114616ca | [] | no_license | cleolibrary/opcodes-restoration-project | 358235829c1760f4d30fec551d41bc413279df75 | 02ec0bf664504b3ba5447ef81338bab760dbe661 | refs/heads/master | 2021-08-25T09:45:09.755618 | 2021-08-15T13:43:43 | 2021-08-15T13:43:43 | 48,829,716 | 8 | 12 | null | 2016-06-12T17:37:26 | 2015-12-31T02:47:43 | C++ | UTF-8 | C++ | false | false | 316 | cpp | #include "CPedHack.h"
void CPedHack::ClearWeapon(int type)
{
int slot = CWeaponInfo::GetWeaponInfo(type)->slot;
if (slot != -1 && this->weapons[slot].type == type) {
if (this->activeWeaponSlot == slot) {
this->SetCurrentWeapon(CWeaponInfo::GetWeaponInfo(0)->slot);
}
this->weapons[slot].Shutdown();
}
}
| [
"spaceeinstein@yahoo.com"
] | spaceeinstein@yahoo.com |
b2ca45a2d24909aaba869d7c55b894ac9e4ed85d | 289b38a781a8b0f50c5f8a4b9ec7f66d169533cd | /Board.cpp | 5c7374c7e682ca081cce6d351fb1d850f44d0353 | [] | no_license | zhy755788055/ChineseChess | c9b68a2a9dedf650153a3f2a3fe02128a168380d | 56ebe4a39fe05c07759e0741796cb603a7ab56b4 | refs/heads/master | 2022-12-20T21:45:53.231862 | 2022-12-10T07:30:04 | 2022-12-10T07:30:04 | 68,357,419 | 5 | 2 | null | null | null | null | GB18030 | C++ | false | false | 2,080 | cpp | #include "stdafx.h"
#include "ChineseChess.h"
#include "Board.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
CBoard::CBoard()
{
StackTop = 0;
ply =0;
MaxDepth = 5;
}
CBoard::~CBoard()
{
}
void CBoard::ClearBoard() //清空棋盘数组
{
int i;
side = 0;
for (i = 0; i < 2... | [
"424211755@163.com"
] | 424211755@163.com |
075f701d627f66f5f2c0280348e697fbbbcd12ce | 72fdd1b3a38ddf821b6cb1f907404a021a516f53 | /Armadillo/Graphics/Fermat.h | f97378d1fc1d93d0c7fab36c305faff612b78b05 | [] | no_license | platinum95/ArmadilloPlusPlus | f9a902c20a53035d9c8908b2e9f90646d7eb3275 | 3e63edac079de886c5532ebac8fe80b7ab7e896c | refs/heads/master | 2021-01-15T13:07:31.324736 | 2015-12-11T01:47:52 | 2015-12-11T01:47:52 | 47,795,231 | 0 | 0 | null | 2015-12-11T00:21:39 | 2015-12-11T00:21:38 | null | UTF-8 | C++ | false | false | 525 | h | #pragma once
#include <string>
namespace Armadillo
{
namespace Graphics
{
class Fermat
{
public:
std::string Buffer;
std::string Texture;
Fermat();
Fermat(std::string, std::string);
~Fermat();
friend bool operator <(const Fermat&, const Fermat&);
friend bool operator ==(const Fermat&,... | [
"platinum95@gmail.com"
] | platinum95@gmail.com |
1dc7d5a10c1702099250241895044a06d7dbab74 | a567f03fe606d13303dcc9c43a6e183ac1297eff | /structure/include/structure/functions.hpp | a15cdf69eb2a99b1a2d583533e353be343eed714 | [
"BSD-3-Clause"
] | permissive | dawagner/libstructure | 1b96973d954838591711a24766a164935a890136 | 7b518839a079788ae6d28b9e98da7d58db2e47bf | refs/heads/master | 2021-01-15T14:36:34.706019 | 2016-07-26T13:56:53 | 2016-07-26T13:56:53 | 66,840,542 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,855 | hpp | /*
* Copyright (c) 2016, Intel Corporation
*
* 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 notice,
* this list of conditions and the ... | [
"david.wagner@intel.com"
] | david.wagner@intel.com |
8fd9f9d1adfdcd3cfb6dccd9525153a27da32caf | bef8aafcb28c40f1eecdbef136544eb389573eaf | /src/SAM_module/RangeSet.cpp | 2467bf9da77fea1211f7266bfc63282164694f26 | [] | no_license | WilliamHsieh/IsoLasso_Parallel | e82d9273752ab61c5d5c344814acfe44ef4c4675 | a9c6c356d12a9ea5cb36309e4a58100659ef7e7d | refs/heads/master | 2023-08-11T06:16:34.088966 | 2021-10-03T12:11:05 | 2021-10-03T12:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,067 | cpp | #include<SAM_module/RangeSet.hpp>
#include<limits>
#include<map>
#include<cmath>
#include<algorithm>
namespace IsoLasso::format
{
uint32_t
RangeSet::MinDistance(const std::vector<uint32_t>& start,const std::vector<uint32_t>& end)
{
uint32_t current_min {std::numeric_limits<uint32_t>::max()};
... | [
"wenny0916@yahoo.com.tw"
] | wenny0916@yahoo.com.tw |
340254e9f773a6ae6d790a979a95dd1a03b1ba1f | 19b4aea6c829b272ae29692ccc51f9ab8dcf573f | /src/winrt/impl/Windows.UI.Xaml.Navigation.2.h | be9ea084f11ac8ee7114c9acd723ada350282f2a | [
"MIT"
] | permissive | liquidboy/X | 9665573b6e30dff8912ab64a8daf08f9f3176628 | bf94a0af4dd06ab6c66027afdcda88eda0b4ae47 | refs/heads/master | 2022-12-10T17:41:15.490231 | 2021-12-07T01:31:38 | 2021-12-07T01:31:38 | 51,222,325 | 29 | 9 | null | 2021-08-04T21:30:44 | 2016-02-06T21:16:04 | C++ | UTF-8 | C++ | false | false | 4,331 | h | // C++/WinRT v1.0.170906.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.UI.Xaml.1.h"
#include "winrt/impl/Windows.UI.Xaml.Interop.1.h"
#include "winrt/impl/Windows.UI.Xaml.Media.Animation.1.h"
#include "winrt/i... | [
"fajardo_jf@hotmail.com"
] | fajardo_jf@hotmail.com |
3f142e1b633be6094c910bb265bb820abdb8c2b9 | b52681f3b9ace219d1a7f833101d50c85380b42a | /C++/thq-C++/01/1.13.cpp | f3a589e98948e592eff90cb901894de74940b96a | [] | no_license | tc-mx/GIT | e35ec5c7f445a9db278356c3b993dbc736f3740e | 7be7422c049fb0bb6b24e29b7ff5ebcccae3a6fb | refs/heads/master | 2020-04-27T16:25:45.868535 | 2019-03-21T13:43:07 | 2019-03-21T13:43:07 | 157,962,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | //将函数指定为内置函数
#include <iostream>
using namespace std;
inline int max(int a,int b,int c)
{
if(b>a)
a=b;
if(c>a)
a=c;
return a;
}
int main()
{
int i=7,j=10,k=25,m;
m=max(i,j,k);
cout<<"max="<<m<<endl;
return 0;
}
| [
"1575437694@qq.com"
] | 1575437694@qq.com |
ce2b7e3863418423e9013cfb126ad2315a794e2b | 5aac84f7abbb48a2cbae0e7ec40e8e7dc9b66e6b | /Camera.h | 8a4645e50bfec359c2b1d4c5875768d20294419a | [] | no_license | B-Kedziora/GKiW | 9e68e58d72781f43f52c00e449710105ebf53408 | 44c86284e110ece178dc799ece604886e9c0478b | refs/heads/master | 2020-06-03T08:18:45.250315 | 2014-11-23T10:37:30 | 2014-11-23T10:37:30 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 4,077 | h | #ifndef CAMERA_H
#define CAMERA_H
#include "glm\glm.hpp"
#include "gl\glew.h"
#include "gl\glut.h"
#include "glm\gtc\matrix_transform.hpp"
#include "glm\gtc\type_ptr.hpp"
#include <stdio.h>
#include <vector>
/*
* Generic FPS camera class created for <NAZWA NASZEGO PROJEKTU> by Bartosz Kędziora.
* It uses OpenGL Mathe... | [
"kedziora.bartosz@gmail.com"
] | kedziora.bartosz@gmail.com |
ea2c01feb082672331fa71561971ef7d3c24f6fa | 828e4758b636932907cacc79c4c4cd7b8f0b22d2 | /src/texture/film/SDLFilm.h | 013f58fbcbc7edd41e2f725e78760a473981c57f | [
"MIT"
] | permissive | aurthconan/fanLens | 23f660a31867f7ce185a7873914bef0265236053 | d05ce02cd748f21b6a5385892972accce54fd58d | refs/heads/master | 2016-09-09T19:14:01.194742 | 2016-02-01T06:48:48 | 2016-02-01T06:48:48 | 12,152,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | h | #ifndef SDLFILM_H
#define SDLFILM_H
#include <fanFilm.h>
extern "C" {
struct SDL_Renderer;
struct SDL_Window;
struct SDL_Texture;
struct SDL_Surface;
}
class SDLFilm
: public fan::fanFilm
{
public:
SDLFilm( const fan::fanVector<int, 2>& dimensions );
~SDLFilm();
fan::fanPixel getValue( fan::fanVect... | [
"aurthconan@gmail.com"
] | aurthconan@gmail.com |
91382c2891dd22037b3d86472b0f5e99af85f05b | a17aad9c2808b314833aa30619ab7cea6d759339 | /src/renderer/queue/prenderdrawablequeue.cpp | edf363ee4112c6ef393db52de8ebc6c0f860f154 | [
"MIT"
] | permissive | xubingyue/paper3d | 850438db0c3cb257ad65f422ac2069ac0d92c700 | a06d056b2ad894a8065b7a996eb7f6ceefec1511 | refs/heads/master | 2021-01-18T02:34:13.588953 | 2014-10-17T05:54:01 | 2014-10-17T05:54:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,810 | cpp | // prenderdrawablequeue.h
// Render queue to host a number of drawables
//
// Copyright 2012 - 2014 Future Interface .
// This software is licensed under the terms of the MIT license.
//
// Hongwei Li lihw81@gmail.com
//
#include "prenderdrawablequeue.h"
#include <Paper3D/pdrawable.h>
#include <Paper3D/pcamera.h>
#... | [
"lihw81@gmail.com"
] | lihw81@gmail.com |
816f6f0907d4493fc20bfbee2e90f209678850d8 | 5b2504f42c2bcbffcfae00bde549be74c9e62a60 | /vb_simulation_pkgs/hrwros_gazebo/src/plugins/ROSConveyorBeltPlugin.cc | dcb6202f4388ec5ab91f6752bccfdfb436cbac41 | [
"MIT"
] | permissive | ROBODITYA/Eyantra-2021-Vargi-Bots | 0996937b48b6ac61a90f55fb8a405c026aa83ce8 | f1c6a82c46e6e84486a4832b3fbcd02625849447 | refs/heads/main | 2023-05-11T17:39:10.012824 | 2021-06-03T12:53:48 | 2021-06-03T12:53:48 | 369,171,672 | 0 | 0 | MIT | 2021-06-05T07:58:07 | 2021-05-20T10:38:28 | C++ | UTF-8 | C++ | false | false | 3,085 | cc | /*
* Copyright 2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | [
"tejasphutane@gmail.com"
] | tejasphutane@gmail.com |
307081c2b3a95634e1af2c50964b9c004d0678db | 27168267643fa2e7b1ac347ed2b4d5cc9de8bdbf | /Libraries/GameLibrary/Objects.cpp | a39bd33893b947335208db8886ebbb7eab8b2aec | [] | no_license | hvanhorik-GDP/Master | f8c2b74c862963f78ee7ab987eec1e0a5b7860bd | 0ec2e27c306959ff19d0358cbe40878a8564f0dc | refs/heads/master | 2020-07-20T20:54:43.031754 | 2019-11-10T04:15:37 | 2019-11-10T04:15:37 | 206,706,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include "Objects.h"
namespace gamelibrary
{
const std::string Objects::gName = "Objects";
std::ostream& operator << (std::ostream& out, const Objects& node)
{
out << "Unimlemented Objects - << " << std::endl;
return out;
}
}
| [
"Paka54321%"
] | Paka54321% |
bac8bad97ce1a538b817ef6e7b0c1fb61cab4f04 | 80bc126126a64c4239364e16527719b6df54cf6e | /001_ModelEditor2/UnitTest/Models/Kachujin.cpp | 0afc213c309e48d3940f14b1db9bac78918c512f | [] | no_license | ParkMalza/ModelTool | 8073a4a93af13001b5d2edd9cf76f322f84fa01d | a2284a9a7f3b3cc0e1b833e9c082df2f3443d6b3 | refs/heads/master | 2020-05-26T22:51:50.674381 | 2019-05-24T10:49:04 | 2019-05-24T10:49:04 | 188,404,573 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 8,405 | cpp | #include "stdafx.h"
#include "Kachujin.h"
#include "Environment/Terrain.h"
Kachujin::Kachujin(Shader * modelShader, Model * model, ModelAnimator * modelRender, Terrain* terrain)
:modelShader(modelShader), model(model), kachujinRender(modelRender)
{
this->terrain = terrain;
rotation = Vector3(0, 0, 0);
scale = Vect... | [
"pjh_0408@naver.com"
] | pjh_0408@naver.com |
597d6fe33d1020ba595eee998eba6364e6bde72b | cd9dc732af64fd3ba5a8cbbdbe9bb1893ec32a6e | /prac04/game_system.cpp | d3ec7736f969e379cff4cee665ff0fed95b4d73c | [] | no_license | wander0220/prac04 | b4ba9f35575c21901f5422d00f546f2c6e801561 | d02e2c14066dfc49d35cefbe121473f762c8dd33 | refs/heads/master | 2022-10-30T06:19:51.999058 | 2020-06-22T15:37:42 | 2020-06-22T15:37:42 | 268,500,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,534 | cpp | #include "game_system.h"
#include "global.h"
#include "player_bullet_spread.h"
#include "enemy.h"
#include "enemy_a.h"
GameSystem::GameSystem() {
enemyATime = 0;
}
void GameSystem::Update() {
for (int i = 0; i < bullets.size(); i++) {
bullets[i]->Update();
}
for (int i = 0; i < enemies.size(); i++) {
enemies[i... | [
"s2018s26@e-mirim.hs.kr"
] | s2018s26@e-mirim.hs.kr |
90b035ac3566329d834e070e9283f812cd8bf8b8 | 724f75d7ce70a8e2f7102c89ff1f65b9ea4af6b1 | /A1127.cpp | c4b5a09813c50d3e6ece3ece01b2070f79568f96 | [] | no_license | breastcover/PAT | 29de20c1b89053f0c223bc3a6a67e1137a63a9f7 | 615c40a45b39652137d2b7e1b2b88cffd3674c41 | refs/heads/master | 2021-01-16T10:31:50.412907 | 2020-02-25T19:24:42 | 2020-02-25T19:24:42 | 243,083,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,601 | cpp | #include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
struct node
{
int data;
int heigth;
node* lchild;
node* rchild;
};
int n,max_heigth=-1;;
vector<int> post(35);
vector<int> in(35);
node* newNode(int data)
{
node* root=new node;
root->data=data;
root->lchil... | [
"884918549@qq.com"
] | 884918549@qq.com |
ccd852dd8f51c1665eeab6854b8d70f450a8eccb | d9a2c70f950043153c4cc0e11101129a3ef9ef40 | /Mamba/framework/src/main/cpp/video/videoutils/FfmpegVideoCut.cpp | 939b040c21ab2b8afa961b9d6a91745f937308f3 | [] | no_license | mowenli/MambaProject | 3d9e907a4ea622fb1d1bca9e2bba9a8fe9ee7fc5 | 2caabf4624138e4024b9208a1078baa52e9cf7fd | refs/heads/master | 2021-09-15T13:46:07.817675 | 2018-06-03T06:22:25 | 2018-06-03T06:22:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,611 | cpp | //
// Created by jakechen on 2017/5/12.
//
#include <VideoCodeProduce.h>
#include "FfmpegVideoCut.h"
namespace video {
int cutVideo(const char *srcFile, long startMillis, long endMillis, const char *outFile) {
int ret = 0;
VideoCodeParams *params = new VideoCodeParams();
VideoCutHandle *ha... | [
"903475400@qq.com"
] | 903475400@qq.com |
73484844c9e30ac65a421368e77e28a7d7e3f9db | c1c3151e42c05699e8d32ede0387e160cb8edc86 | /src/direction.cpp | 39fc85c95de167912e2b846259554d66df64047e | [] | no_license | supersojo/violet-mfc | a61757510d3f53e3c2e9c58f0b08826ce944abd3 | 4ce9f7501a993961304546fa12ebc56e2313086d | refs/heads/master | 2020-04-06T22:41:27.274867 | 2019-05-15T08:22:08 | 2019-05-15T08:22:08 | 157,843,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include "abstract/direction.h"
namespace violet {
namespace abstract {
Direction Direction::NORTH(0, -1);
Direction Direction::SOUTH(0, 1);
Direction Direction::EAST(1, 0);
Direction Direction::WEST(-1, 0);
}
} | [
"suyanjun218@163.com"
] | suyanjun218@163.com |
b8d50d1a916939602f0788115f5bdc695e253b7a | 9fb1a8ba244e5109614e777ef345637e62d975f0 | /TPV2/TPV2/components/Image.h | 877165fc3356415013eb7ec0fc361cb01ee65974 | [] | no_license | Sebaaaaas/TPV2_P2_ASTEROIDS_2021 | 9abeb26409e516f0351ce0b478a7b21bf326e32e | d793aa264a8aec10bbe06613fbb6e52076cf0df0 | refs/heads/main | 2023-05-31T23:08:37.883880 | 2021-06-25T14:53:05 | 2021-06-25T14:53:05 | 357,484,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | h | // This file is part of the course TPV2@UCM - Samir Genaim
#pragma once
#include "../ecs/Component.h"
#include "../sdlutils/Texture.h"
#include "Transform.h"
class Image: public Component {
public:
Image(Texture *tex) :
tr_(nullptr), //
tex_(tex), //
src_({0,0,tex->width(), tex->height()})//
{
}
Image(... | [
"sebasmail12@gmail.com"
] | sebasmail12@gmail.com |
2e380b1dcfe8189ce2fd0b9792ce36757db530bd | 83e80c6e94013f93e8bd116570f66d4c8b7d5582 | /src/src/core/exceptions/OperationNotSupportedException.hpp | d8644cd371cb2cd7827c76ee94206614e4cd02aa | [] | no_license | cran/multinet | 3c049047487484ff988ae0457ef8c1b8681ac02f | 8693584b3359e335df0199137203b578c7ecf86c | refs/heads/master | 2023-02-26T05:49:52.698760 | 2023-02-14T09:20:03 | 2023-02-14T09:20:03 | 79,171,174 | 5 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 828 | hpp | #ifndef UU_CORE_EXCEPTIONS_OPERATIONNOTSUPPORTEDEXCEPTION_H_
#define UU_CORE_EXCEPTIONS_OPERATIONNOTSUPPORTEDEXCEPTION_H_
#include <exception>
#include <string>
namespace uu {
namespace core {
/**
* Exception thrown when a function is called with parameters that exist but cannot be handled by the function.
*/
clas... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
24eb4e910b56c81c8740220e377339f862d41aa3 | 2385652507f121c8d2c64e90bd828a70b0eb44d0 | /Algorithms/cpp/Permutations II/recursion.cpp | b0eec774bb12fdae9414323c5ea553c21a7a0c74 | [] | no_license | LuoWDK/leetcode | 8e3dbda2ae91db4f6b93f86589efea37505d41af | 3b5d9db45aacb390e657097ac8f51fda37505520 | refs/heads/master | 2021-01-24T20:47:36.546582 | 2018-04-19T08:57:00 | 2018-04-19T08:57:00 | 123,259,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | class Solution {
private:
bool find(vector<int> nums, int start, int end, int key)
{
for (int k = start; k < end; ++k)
{
if (key == nums[k])
return true;
}
return false;
}
void recursion(vector<vector<int>>& ans, vector<int>& nums, int dep... | [
"Maggieluo0120@gmail.com"
] | Maggieluo0120@gmail.com |
0cfafdcef799be0a2003a4a51ea08f13493dc833 | 26d0f055d71ecc34f05bc0687c5b394849c3aa13 | /Classes/Gestures/GestureRecognizer.h | ef3c066b2c99c71301d9440226ed1e19482cf228 | [
"MIT"
] | permissive | FrSanchez/snake | 3a8aab036741d7369a050afd4da0a6ffe2486953 | 4e2260d0784cd90ddf28a9f209b0d00da3cf66d0 | refs/heads/main | 2023-03-23T17:08:30.679903 | 2021-03-21T20:37:47 | 2021-03-21T20:37:47 | 335,683,195 | 0 | 0 | MIT | 2021-03-13T22:16:10 | 2021-02-03T16:18:20 | C++ | UTF-8 | C++ | false | false | 4,523 | h | /****************************************************************************
Copyright (c) 2016 Alfonso Grillo
drakon.cocos@gmail.com
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 ... | [
"francisco.sanchez@salesforce.com"
] | francisco.sanchez@salesforce.com |
58628917903e7fec398c8ff9f2111e452604b6cf | b056b0d8b423eb94e7b42a069ec660f7ee4b3514 | /cpp/include/nlohmann/detail/meta/void_t.hpp | 66c4a359e43993c6bd5e2de0162cb92738baee36 | [
"MIT"
] | permissive | tadevelopment/ara3d-dev | b90ca8c14bc459664dbb0dbe51d6e843850bd750 | 0fe01dc02214caa8202e345fe9289a53b9ac7a40 | refs/heads/master | 2020-04-25T17:35:58.176311 | 2019-03-18T17:53:16 | 2019-03-18T17:53:16 | 172,954,232 | 1 | 1 | MIT | 2019-03-19T13:26:28 | 2019-02-27T16:53:19 | C++ | UTF-8 | C++ | false | false | 102 | hpp | #pragma once
namespace nlohmann
{
namespace detail
{
template <typename...>
using void_t = void;
}
}
| [
"cdiggins@gmail.com"
] | cdiggins@gmail.com |
2d9b8cac587e3db5a103355fcafb0c953ecda0f0 | 6854bf8a8a99512424b7d7e25979898bbafea314 | /src/FatLib/FatPartition.cpp | 71a0a9cb19a33554646284d61e1c12ffea2be2bb | [
"MIT"
] | permissive | ApophisXIV/SdFat | c2b05b0c4c7e66d2569f75a7f42f5e358b0e679e | 887e0a67300f98f7e0b16dc278055c6c4fd002ba | refs/heads/master | 2023-01-20T06:01:07.247269 | 2020-11-10T14:48:22 | 2020-11-10T14:48:22 | 316,923,537 | 1 | 0 | MIT | 2020-11-29T10:12:39 | 2020-11-29T10:12:37 | null | UTF-8 | C++ | false | false | 14,471 | cpp | /**
* Copyright (c) 2011-2020 Bill Greiman
* This file is part of the SdFat library for SD memory cards.
*
* MIT License
*
* 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 rest... | [
"fat16lib@sbcglobal.net"
] | fat16lib@sbcglobal.net |
a6aa4e5f3ba9fb2d991d88ce0fd5b5f3b5cdd8f2 | ff4fa5d5cc6469b709c41e6be2a05525256f88e1 | /mainwindow.h | 7fe49c058038d5f8ab0e4a322725a9915ec8c332 | [] | no_license | Kansea/3D_Digital_Fabrication | c35bb2ef7c1d1cf698023c15088beb33ed2aee41 | 8fe01791fd27e323354a054de498dd8884a4ac17 | refs/heads/master | 2021-01-25T08:19:07.515590 | 2018-02-20T06:04:51 | 2018-02-20T06:04:51 | 93,750,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,712 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "appunit.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private: // Private variables and functions
/* @This variable ... | [
"Jiaqing930@gmail.com"
] | Jiaqing930@gmail.com |
815b526ab57568c4d7cfbcd84465758c366a3d5f | f23264b4529de3464f7b41acd17405ad29b0cf5c | /Anul 1/Semestrul 2/Algoritmica grafurilor - Balcau Costel/Tema/Lab3_Incomplet/L03_PO5_Back_NEVERIFICAT.cpp | a4455d4cbff4fb7ae7eaa031e33cdeb2f8b9b1e5 | [] | no_license | PMS25/Facultate | 43c30c723a17f66f7543270bb1e31aeb4c58bfdf | 6c3dee9772e365b0b0eceed5e3e0c31622c1c888 | refs/heads/master | 2021-09-08T07:44:47.538072 | 2021-05-22T11:44:21 | 2021-05-22T11:44:21 | 221,477,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | cpp | #include <iostream>
using namespace std;
//Generarea partitiilor multimii {1, 2, ..., n} cu k parti.
void CitireDate(int &n, int &k){
cout<<"Dati dimensiunea multimii: "; cin>>n;
cout<<"Dati nr de parti: "; cin>>k;
}
void PrelSol(int *c, int lungime_c, int nr_parti){
for(int i=1; i<=nr_parti; i++){
... | [
"petculescu25@gmail.com"
] | petculescu25@gmail.com |
5cb94c191c407fbd7111a5946098e4b5723b9786 | c67afd3f90ed2de5c7a471a335d812c9635fe80c | /lib/Conversion/QuantumToZX/PassDetail.h | 06ac4a8a0b50a73c4dad1348e0fdac4f7991a49f | [
"Apache-2.0",
"LLVM-exception",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | 00mjk/QMLIR | 60444ab1b6a062962c433496f0f33220b4d8663d | a84a6ffe25748f1210ab6fbd357f2efdf42803c7 | refs/heads/master | 2023-04-22T13:51:25.552177 | 2021-04-30T01:51:09 | 2021-04-30T01:51:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | //===- PassDetail.h ---------------------------------------------*- C++ -*-===//
//
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===-------------------------------... | [
"anurudhp97@gmail.com"
] | anurudhp97@gmail.com |
0e96b7e886f3b97e846e12d6a980a9ba88f4e1bf | 8d30aece94cb060dc6068b006858dfca2ac35cfa | /ABC094/A.cpp | ecb4252da3635c9f16a348c930a4a04d527a9676 | [] | no_license | h-hirai/MyRecordOfAtCoder | 573936f9fe4aed90fed7ba7105dbe8b36ec30f81 | 1d0dea81aae9f0479b13be15583fd176f455ec7f | refs/heads/master | 2020-03-22T19:59:05.573672 | 2020-02-24T03:12:31 | 2020-02-24T03:12:31 | 140,565,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | #include <iostream>
int main() {
long A, B, X;
std::cin >> A;
std::cin >> B;
std::cin >> X;
if (A <= X && A+B >= X)
std::cout << "YES" << std::endl;
else
std::cout << "NO" << std::endl;
return 0;
}
| [
"hirai.hajime@gmail.com"
] | hirai.hajime@gmail.com |
a67a5eab3579478750a33b44bc20c6fff940c037 | 184d885995afa698b0e444a65f887ea4d5406a94 | /dp/mcm/egg_dropping_memoized.cpp | 62e86c35f778ec66f14715fb907e2c4314a8d701 | [] | no_license | tanmaypardeshi/Competitive-Programming | bcee1c7bc5a957e58147ed7e266fbe1dbd1c951e | bbc51f73b32badd039157c8a8cf53ab8c5c456b7 | refs/heads/master | 2023-06-20T22:22:00.818952 | 2021-08-05T04:14:16 | 2021-08-05T04:14:16 | 302,391,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include <bits/stdc++.h>
using namespace std;
int solve(int, int);
int dp[1000][1000];
int main()
{
int e, f;
cin >> e >> f;
memset(dp, -1, sizeof(dp));
int ans = solve(e, f);
cout << ans << endl;
return 0;
}
int solve(int e, int f)
{
if (f == 0 || f == 1)
return f;
if (e... | [
"tanmaypardeshi@gmail.com"
] | tanmaypardeshi@gmail.com |
9b551ab90a75ac3d5034ddb4c4acfd821f50801c | 0bd06c05e649774ba2d9193fdf02178e79f3286a | /source/GameObject.h | cd3614023d4c2f610685f50c4b0527357f38a145 | [] | no_license | smtroehler/ArmariumGame | 0a15bd4223d5c3a35b9b73c13c99d992985d3e26 | 415f9dc7142cfca058ab3413adbe48a0e7ed5236 | refs/heads/master | 2020-12-01T09:25:55.623128 | 2016-08-24T22:02:47 | 2016-08-24T22:02:47 | 66,503,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,169 | h | #pragma once
#ifndef __GAMEOBJECT__
#define __GAMEOBJECT__
#define EIGEN_DONT_VECTORIZE
#define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT
#define EIGEN_DONT_ALIGN
#include "ShapeObj.h"
#define EIGEN_DONT_VECTORIZE
#define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT
#define EIGEN_DONT_ALIGN
#include "../dependencies/Eigen/Geome... | [
"smtroehler@gmail.com"
] | smtroehler@gmail.com |
7be4a62ba40e146b9b021a4c1e6778f3b4c6702f | e4355967555857fd536787dce39ca30426ffa702 | /867/Game Platform/小游戏/德州扑克/游戏客户端/GoldView.h | fc10d7b80f78907f69fc2f69cbecd4c9dabfe27d | [] | no_license | herox25000/oathx-ogrex-editor | f0fd6044f8065db9cb50a80376e52f502734e877 | f645c7997f27e11a9063a0d352accd98a474cef1 | refs/heads/master | 2020-12-24T14:35:34.912603 | 2013-08-24T06:20:06 | 2013-08-24T06:20:06 | 32,935,652 | 6 | 9 | null | null | null | null | GB18030 | C++ | false | false | 1,417 | h | #ifndef GOLD_VIEW_HEAD_FILE
#define GOLD_VIEW_HEAD_FILE
#pragma once
#include "Stdafx.h"
//宏定义
#define GOLD_IMAGE_WIDTH 20 //筹码宽
#define GOLD_IMAGE_HEIGHT 19 //筹码高
//////////////////////////////////////////////////////////////////////////
//筹码视图类
class CGoldView
{
//变量定义
public:... | [
"mashizhou116@gmail.com@a113e17c-5e0c-ebba-c532-3ad10810a225"
] | mashizhou116@gmail.com@a113e17c-5e0c-ebba-c532-3ad10810a225 |
88c4f8e7b10f0614dc33d669ea5ea0ef89c2ee00 | eea044fd6d302e37de566fee3b83a56dc8d7334f | /Remove Duplicates from Sorted Array.cpp | 188753d865e795541409f7c73612d2e965e6835c | [] | no_license | shybeerui/leetcode_cpp | f059f7a47f0a911883346aa05f8a5d2a74cb1483 | 3477959f574846d8439e37463b50d91824c4480d | refs/heads/master | 2023-02-13T18:30:11.293605 | 2021-01-09T16:32:14 | 2021-01-09T16:32:14 | 311,515,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | /*
Follow up for ”Remove Duplicates”: What if duplicates are allowed at most twice?
For example, Given sorted array A = [1,1,1,2,2,3],
Your function should return length = 5, and A is now [1,1,2,2,3]
*/
class Solution {
public:
int removeDuplicates(vector<int>& nums) {
int sz = nums.size();
... | [
"shybeerui@gmail.com"
] | shybeerui@gmail.com |
2acd1099a1b90b033f010d33cb8e7d786e0a5fa6 | 6ee6cc888f0a82e36fd1687fed4a109f0cb800a7 | /categorized/linked_list/leetcode_21.cpp | 4e081e57e02eb9dca0691148d4464c5576499c14 | [] | no_license | Rayleigh0328/OJ | 1977e3dfc05f96437749b6259eda4d13133d2c87 | 3d7caaf356c69868a2f4359377ec75e15dafb4c3 | refs/heads/master | 2021-01-21T04:32:03.645841 | 2019-12-01T06:33:44 | 2019-12-01T06:33:44 | 49,385,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | ../../leetcode/21.cpp | [
"jingyun.bian@centro-T000325.centro.net"
] | jingyun.bian@centro-T000325.centro.net |
336730711fa6c878d85fac52138fd6edde03c6c9 | 968dd204035a4b1d4e3f2fc2271fff84dab095c9 | /three/socket.cc | 4522bd68192bda2977851bb300c523894842e9ab | [] | no_license | zhanglao112/huluzy | cb14ff3cdf4ca558d5b95929edd2759c429c8347 | f7f9e676097481395f3e68978f0babd3287f36c3 | refs/heads/master | 2022-07-02T22:00:40.028819 | 2020-05-10T10:34:57 | 2020-05-10T10:34:57 | 262,632,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cc | #include "socket.h"
namespace huluzy {
Socket::Socket() {
}
Socket::~Socket() {
}
ssize_t Socket::ReadFromSocket(int sockfd, const struct iovec *iov, int iocnt) {
ssize_t res;
do {
res = ::readv(sockfd, iov, iocnt);
} while(-1 == res && errno == EINTR);
return res;
}
ssize_t Socket::Write... | [
"wath@localhost.localdomain"
] | wath@localhost.localdomain |
59ea60956d632a6769488a3db1634955dd317f3b | 669951b6fc45543581f452a75831eaae77c3627c | /987-C/987-C-38777313.cpp | ae128cc593a1f278f0e6cf9f3569556742b7490e | [] | no_license | atharva-sarage/Codeforces-Competitive-Programming | 4c0d65cb7f892ba8fa9fc58e539d1b50d0d7a9cb | c718f0693e905e97fbb48eb05981eeddafde108e | refs/heads/master | 2020-06-10T01:12:17.336028 | 2019-06-24T16:43:32 | 2019-06-24T16:43:32 | 193,542,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | #include<bits/stdc++.h>
using namespace std;
vector <int long long > vec1;
vector <int long long > vec;
int long long s[3005];
int long long c[3005];
int main()
{
int n,i,j;
cin>>n;
for(int i=0;i<n;i++)
cin>>s[i];
for(int i=0;i<n;i++)
cin>>c[i];
vec.push_back(LONG_MAX);
for(i=1;i<n;i++... | [
"atharva.sarage@gmail.com"
] | atharva.sarage@gmail.com |
bc2b0937dac11a0fb67e322805f3bcb121eea366 | 258fc764c5770a46d035793492f9e8994f65050a | /src/ftl/func.cpp | 85f4ea41da3896c4865226d5419bb5a18507ce2f | [
"Apache-2.0"
] | permissive | 00mjk/ftl | d8a10441545be81b923d8e660bf3d41419e24af7 | f509c114253be1d5d30355efd78377d98c415ebb | refs/heads/master | 2023-01-28T02:17:53.598083 | 2020-12-06T10:47:00 | 2020-12-06T10:47:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,612 | cpp | /******************************************************************************
* *
* Copyright 2019 Jan Henrik Weinstock *
* *
... | [
"jan.weinstock@rwth-aachen.de"
] | jan.weinstock@rwth-aachen.de |
ce9c57368d8ede08f6789df2f41d85c1865cf205 | 914ce481a60d2c33fce426a4eb4b7b3bb7635de5 | /build-helloworld-Desktop_Qt_4_8_5-Debug/ui_hellodialog.h | e9d35e28cdc5e9b1e5ca27a4511f5f819553f15d | [] | no_license | MGZX/QT | 052e95f5f463344e03368b846ca6ebf76f4e358f | 20c2f2efa58c7d73f23f7e7d259327f5a41a08e1 | refs/heads/master | 2016-09-13T18:02:54.561927 | 2016-04-29T14:13:54 | 2016-04-29T14:13:54 | 57,357,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | h | /********************************************************************************
** Form generated from reading UI file 'hellodialog.ui'
**
** Created by: Qt User Interface Compiler version 4.8.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***************************************... | [
"zhaoxiaodong0902@163.com"
] | zhaoxiaodong0902@163.com |
1b5c0c77cafc01943b1013539627c4d92fa516b9 | 5eb610780f6eef5386dca425c3691a8e9ae7d664 | /SmartScale/generated/images/src/ayuda1.cpp | 3f9176028665705047e48f29eaafaff325b0fd26 | [] | no_license | EmbeddedSystemClass/SmartScaleIOT | f6bb8115c5fb94b11f384ef9d9211a098b84bb84 | 4ee67c492569a7bfcd370c3b8f583d758dbadc7b | refs/heads/master | 2022-04-01T22:36:47.189026 | 2020-01-15T21:49:52 | 2020-01-15T21:49:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294,044 | cpp | // 4.12.2 dither_algorithm=2 alpha_dither=yes layout_rotation=0 opaque_image_format=RGB565 non_opaque_image_format=ARGB8888 section=ExtFlashSection extra_section=ExtFlashSection generate_png=no 0xf7d8c5a1
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_PRAGMA("ExtFlash... | [
"lufezuro@gmail.com"
] | lufezuro@gmail.com |
210f0f26f27bbd7a6f8cfc1357f33bab01d8eb0c | 2bbc6073070fb31b500ace63f896ac7dd38fe866 | /binder/vcsk21.cpp | 990a339a71e27fdf7630ef52c1a8ad507d15aae6 | [] | no_license | ShaswataRoy/Vicsek | 31ebc6205e74f7da047d0d04cfda728ac19782f3 | d2bf9932564bd88824d2335b740ee02c84429f7f | refs/heads/master | 2021-04-28T18:57:43.467770 | 2018-11-30T11:00:58 | 2018-11-30T11:00:58 | 121,884,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,331 | cpp | #include<stdio.h>
#include <cstring>
#include<math.h>
#include <sys/time.h>
#include <random>
#include <iostream>
#include <omp.h>
#include "progress.h"
using namespace std;
//Define Variables
const int MAX_SIZE=10000;
const int MAX_TIME=10000;
double v=0.03;
double eta=0.1;
double L=31;
int N=4000;
//double ordall[... | [
"ssrohan9@gmail.com"
] | ssrohan9@gmail.com |
048563103c1a8f4f6291e63fbbd008bb8c7b1d56 | 137946bff2f27e0dbc272daae448791eda536839 | /DirectX/Component/Text/Text.h | 7d9597eafaed77ccd21475ed7d54bfbefca0384c | [] | no_license | soelusoelu/20_10_kojin | 71d494330fa9b260d08fbd0c6b21f44158c2d505 | 051ee216288134e43f5f17f6505d9fccd8a53ef7 | refs/heads/master | 2023-01-30T20:25:10.147749 | 2020-12-07T01:29:18 | 2020-12-07T01:29:18 | 306,239,246 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #pragma once
#include "TextBase.h"
#include <string>
class Text : public TextBase {
public:
Text(GameObject& gameObject);
~Text();
virtual void lateUpdate() override;
virtual void loadProperties(const rapidjson::Value& inObj) override;
virtual void drawInspector() override;
void setText(const... | [
"llmn.0419@gmail.com"
] | llmn.0419@gmail.com |
eaa82247e2204d02fc1c54dff02284de586b9ba4 | a000c3f08636667abd6db8bd51de6d8b1cedd22d | /ExternalLibs/GeoTools/Mathematics/IntrLine3AlignedBox3.h | b4e2df4ac37bdb29e438abcc212f88cf282dcbee | [
"BSL-1.0"
] | permissive | teshaTe/2D-heterogeneous-metamorphosis | fd8600b02496282cf332a1c6def17f9f523751c2 | 66848a3684bc8d3659ada4bf6a37dd6c72e83839 | refs/heads/master | 2023-05-01T09:15:15.390011 | 2021-05-24T21:52:15 | 2021-05-24T21:52:15 | 135,857,976 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,665 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2021
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#pragma once
#include <Mathematics/FIQuery.h>
... | [
"alexander@m-xr.com"
] | alexander@m-xr.com |
8d3a31dfe88872340424ba76c6f07e99e1771e18 | 86147e55b17823650e9fb5e62ce9ad282552ac26 | /include/minCut.h | bef2fb9663157345aca26f91ccee4c5a5f34ea57 | [] | no_license | JhonnathaMonteiro/simple_mincut | d415ecc1f52429bce5c570fd0fd7abb9bd2af427 | 4b2554678f7b9fa76c111c36c19dfcfabc11c2a5 | refs/heads/master | 2021-07-14T19:33:54.255852 | 2020-11-07T12:55:20 | 2020-11-07T12:55:20 | 222,180,395 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #ifndef MIN_CUT_H_
#define MIN_CUT_H_
#include <limits>
#include "minCutPhase.h"
#include "cut.h"
#define INFINITE std::numeric_limits<double>::infinity();
Cut minCut(double **, int, int);
#endif // MIN_CUT_H_ | [
"jhonnatha.am@gmail.com"
] | jhonnatha.am@gmail.com |
e526bc2921b42c1523b82cbb3d9666e68427bca4 | 3aebaa60930dd4ff7fcc06ef31d89706e9572214 | /regexGen.cpp | 9d74c53726230100f264e843fef909a2b5b0fc6a | [] | no_license | fdebeyan/combine | f47e2a19060ea772251fd74b032447fab1c6a978 | 6b9d7d131a44e05b019719a01fa6cff04ae71d2d | refs/heads/master | 2021-01-21T21:19:03.361851 | 2017-06-20T19:10:29 | 2017-06-20T19:10:29 | 94,813,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,340 | cpp | #include "regexGen.h"
#include "stringGen.h"
#include <string>
#include <vector>
#include <fstream>
#include <boost/algorithm/string/split.hpp>
#include <iostream>
#include <algorithm>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <re/re_diff.h>
#include <re/re_any.h>
#include <re/re_parser.h>... | [
"fdebeyan@hotmail.com"
] | fdebeyan@hotmail.com |
47438830fa5ef19b134bf2c3a4eb4b9bb489ef26 | 698f95f17785f5b41d02687e38c5225228078acc | /Codeforces/915/A.cpp | c5e3b538cf7e339662d13ae684c8367d14e660bc | [] | no_license | yanyikai/Code | 7672f9994687721d03b563028574a2dec6584204 | d8dae461a8beb08065b872fb1d21563291aa3cff | refs/heads/master | 2021-10-11T10:24:06.748148 | 2021-10-04T11:34:16 | 2021-10-04T11:34:16 | 139,777,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include<bits/stdc++.h>
using namespace std;
int n,k,t,ma;
int main()
{
scanf("%d%d",&n,&k);
for(int i=0;i<n;++i)
{
scanf("%d",&t);
if(k%t==0&&t>ma)ma=t;
}
printf("%d",k/ma);
return 0;
}
| [
"3228205248@qq.com"
] | 3228205248@qq.com |
0f54d8c041814d250a35c372b53564581fce06ce | be17f3e6eaa6d4dd3bee095a617bf606841a8af7 | /qt/VProject/WaitDlg.cpp | b806239f235f3711d39ff9bd31ff51138e12a7aa | [] | no_license | 15831944/BASE- | 2d99c8c34ca4a4130f2a75b367a6ee26cf4a8c1c | 7c142e2068cd8ce2d91c8e39fba428f4d8f1b96c | refs/heads/master | 2021-06-16T08:18:13.399045 | 2017-04-21T19:23:59 | 2017-04-21T19:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | cpp | #include "WaitDlg.h"
#include "ui_WaitDlg.h"
#include "MainWindow.h"
WaitDlg::WaitDlg(QWidget *parent, bool aDoNotDisable) :
QFCDialog(parent, false),
ui(new Ui::WaitDlg),
mWidgetForDisable(parent),
mCancelled(false)
{
ui->setupUi(this);
setWindowFlags(windowFlags() & ~(Qt::WindowContextHelpBu... | [
"benaostrem@mail.ru"
] | benaostrem@mail.ru |
fc7f09fc95de5b5efbf638f90784381a3dd19126 | 6e8681a0d9195923130f6aaaec592086e9a784f9 | /Trunk/2018_spring/Lectures/L09/main.cpp | 405001ff5abe885446702047511cf5569fdddc58 | [] | no_license | rugbyprof/1063-Data-Structures | a7faa4b855f3ae18f62c654703234e786d5d7f68 | e41697c60e2ad113105634348d5211c454bcd900 | refs/heads/master | 2021-10-23T02:25:32.756031 | 2021-10-15T16:22:23 | 2021-10-15T16:22:23 | 17,293,996 | 24 | 42 | null | 2019-10-01T16:23:48 | 2014-02-28T17:30:57 | C++ | UTF-8 | C++ | false | false | 198 | cpp | #include <iostream>
#include "intArrayStats.h"
int main() {
int *nums = new int[300];
for(int i=0;i<300;i++){
nums[i] = rand()%100;
}
intArrayStats S(nums,300);
S.Mode();
} | [
"terry.griffin@msutexas.edu"
] | terry.griffin@msutexas.edu |
ac285686e6cdf6f52d310669a164d432fc36c5a7 | 4ed2111f8bb21ac00252555065b98c5f0b9ad525 | /include/whack/codegen/expressions/factors/hexadecimal.hpp | 2607c7be77e264358a3f1ff5295022c8b3bace72 | [
"Apache-2.0"
] | permissive | onchere/whack | c05c3734bf2bebaacb999496f8b4d64695653c9e | 0702e46f13855d4efd8dd0cb67af2fddfb84b00c | refs/heads/master | 2020-04-03T04:31:25.159830 | 2019-03-07T14:43:29 | 2019-03-07T14:43:29 | 155,016,440 | 54 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | hpp | /**
* Copyright 2019-present Onchere Bironga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | [
"wycliffb@gmail.com"
] | wycliffb@gmail.com |
b3d636789850a80e5b113a23eaeab9ef94deb192 | ac47b51764e959b6abc08fceca9d08e9e7758462 | /ゲーム実習 後期/GameProgramming/CXPlayer.h | 9e3642e7a17703c246f0bc6bb24ae93c361abb63 | [] | no_license | 19010521/Akusyon | 96d5b3d8da8d45cfb5bb9f30963f5b549ffc42cc | a5e30a501e92157be6fd806c50f90f0c45eca47d | refs/heads/master | 2023-03-29T03:56:14.554044 | 2021-03-31T02:30:08 | 2021-03-31T02:30:08 | 319,486,966 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,610 | h | #ifndef CXPLAYER_H
#define CXPLAYER_H
#include "CXCharacter.h"
#include "CCollider.h"
#include"CCamera.h"
class CXPlayer :public CXCharacter{
private:
//更新処理
void Update();
void TaskCollision();
float mWaterCountStop;
float mVelovcityJump;
float mSpeed;
int mBulletCount;
int... | [
"19010521@anabuki-net.ne.jp"
] | 19010521@anabuki-net.ne.jp |
2e7e9e874a2aed92d76bfc4275d6d02053fde7e0 | 3a484bdeabf448fb61b2f285243bbf560e4e14fa | /untitled3/mainwindow.h | a4c6929bd8b5a78ad7002889abd9b0fa83f59961 | [] | no_license | andwang130/algorithm | a34fa7e7a361016d2414800fa06fed7cb011323e | d18d687fffe8290bab1f288cf76974aea0f519a4 | refs/heads/master | 2021-04-27T00:08:07.154953 | 2018-07-24T08:39:23 | 2018-07-24T08:39:23 | 123,754,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include<vector>
#include<iostream>
#include<deom.h>
using namespace std;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
Ui::MainWindow *ui;
~MainWindow()... | [
"627656470@qq.com"
] | 627656470@qq.com |
04ffd24758389cbb05a940111a610e88749f8117 | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/monotonic/boost/monotonic/allocator.hpp | f21a78ba2608a1e48a2fcd7104904f46ac211911 | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 2,602 | hpp | // Copyright (C) 2009 Christian Schladetsch
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_MONOTONIC_ALLOCATOR_HPP
#define BOOST_MONOTONIC_ALLOCATOR_HPP
#include <boost/monotonic/detail/prefix... | [
"christian.schladetsch@gmail.com"
] | christian.schladetsch@gmail.com |
00548d0afe54bf42f50ffcd49407383d9d73c910 | e095a8003e5776838ee8de50794fb7408bad1615 | /home/code/multi_class.cpp | ca20d2739f6b9c1144eb27fbbd85ac881dd90b0b | [
"MIT"
] | permissive | ICyperior/Cpp-Notes | 4d1ba3cf7b4a100906a7f0c2c74ac5853e73e717 | 92b129649f494485e40cbbb5d346a9422056667d | refs/heads/master | 2023-08-27T10:16:16.333011 | 2021-07-27T19:08:27 | 2021-07-27T19:08:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <iostream>
#include <string>
#include <assert.h>
class Animal {
public:
double age;
};
class Pet {
public:
std::string name;
};
// Dog derives from *both* Animal and Pet
class Dog : public Animal, public Pet {
public:
std::string breed;
};
int main()
{
assert(cat.color == "black");
asse... | [
"ss1057532022@gmail.com"
] | ss1057532022@gmail.com |
dfe5d0534049c2098e04f3d84ec0e4e3c65341f4 | a77b6dc90cb67c61cbeac537c63b33d4eae6f6ee | /src/util/test/TestCopyIf.cpp | 2b22846f43982763c4489e55cee6371c82bb7ed7 | [
"BSL-1.0"
] | permissive | byon/myrrh | a354ae139d1c4c6085c215ad0db6d6979f759dfe | ddabc07fd55e0802d14e5632aa50146bee331df7 | refs/heads/master | 2016-09-06T14:07:58.003725 | 2013-02-05T17:44:56 | 2013-02-05T17:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,249 | cpp | // Copyright 2007 Marko Raatikainen.
// 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)
/**
* This file contains the unit test(s) for Copyif
*
* $Id: TestCopyif.cpp 354 2007-09-17 17:39:58Z byon $
*/
... | [
"marko.m.raatikainen@gmail.com"
] | marko.m.raatikainen@gmail.com |
b0b90a27b350ffcbbd56d3646ebef71f9b8ece42 | 98d46903b9aa8c3379b58f1515e504727645e9d3 | /src/qt/zbitcommercecontroldialog.cpp | 390f7e747b2d6f988f7170799e14b8d37d57750f | [
"MIT"
] | permissive | bitcommercedev/bitcommerce | 2918408ce4f15b3d84ea6790ef8f76ff87866f01 | 885e5fe7529cba4806bcb52d141ff7813f020000 | refs/heads/master | 2020-04-16T13:51:08.403426 | 2019-01-14T10:59:15 | 2019-01-14T10:59:15 | 165,645,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,148 | cpp | //
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "zbitcommercecontroldialog.h"
#include "ui_zbitcommercecontroldialog.h"
#include "main.h"
#include "walletmodel.h"
using namespace std;
std::list<std::string> Z... | [
"masterx.solutions@gmail.com"
] | masterx.solutions@gmail.com |
23571a93d565b136de2ae0b9546fb34bc00f276d | 8025d3fecbeca80693a3e65a574ba58d0029c269 | /stack_vector/samplemodule.cpp | 46a07fc17546c40761213873c2605036423dbc1c | [
"MIT"
] | permissive | agudpp/blog | e7270e99e4bd1a5c0d79db16cc28746cec31aea0 | e1e0658af1c10bfab441930f63fbc4d1ee8f5949 | refs/heads/master | 2016-09-11T03:28:24.608654 | 2015-03-31T21:11:57 | 2015-03-31T21:11:57 | 31,175,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | #include "samplemodule.h"
#include <algorithm>
#include <vector>
#include <iostream>
#include "Debug.h"
#include "stack_vector.h"
#include "stack_vector2.h"
namespace SampleModule {
int
sampleCallHeap(void)
{
int result = 0;
std::vector<int> elements;
elements.reserve(NUM_COUNT);
for (int i = NU... | [
"agudpp@gmail.com"
] | agudpp@gmail.com |
37e167b045ad060abb54ac9bac5de4c78b5410f4 | 9004d323e60d95536f337343cd7ad1b1dcaef052 | /430/C/C.cc | 877a408a9350def65382e27fd9d46843d69f5d27 | [] | no_license | sjkelleyjr/codeforces | 4e263fa5f36ef2268cba279cc1fc3f8b271ee491 | b52d1f1ee0d67d58a2e775ef438ee23aac6877d8 | refs/heads/master | 2020-12-25T14:23:03.519668 | 2017-04-22T21:30:21 | 2017-04-22T21:30:21 | 67,954,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | cc | #include <bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#define debug(args...) {dbg,args; cerr<<endl;}
#else
#define debug(args...) // Just strip off all debug tokens
#endif
struct debugger
{
template<typename T> debugger& operator , (const T& v)
{
cerr<<v<<" ";... | [
"sjkelleyjr@gmail.com"
] | sjkelleyjr@gmail.com |
c621e707a62d3403e642982643b410001466169e | 8df06bb0daabb7001c427cac5f0deae27aad1ab9 | /src/include/randest/freq_int_present.hpp | d2853a3c43fbe35f5645c82521cd1cce9c524822 | [
"MIT"
] | permissive | renegat96/randest | 77b23635f5bb4cc753c8bae62e9a16a13bd8925f | 29449ff61398526cc1b88a1f003ed8fddef14693 | refs/heads/master | 2021-03-27T14:47:51.930039 | 2014-03-07T02:16:07 | 2014-03-07T02:16:07 | 14,405,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | hpp | #pragma once
#include <map>
#include <randest/test.hpp>
#include <randest/data_provider.hpp>
namespace randest {
class freq_int_present : public test {
protected:
bool ran;
::std::map<long long, size_t> present;
data_provider<long long> *data;
long double chi_squared;
public:... | [
"htstoyanov@gmail.com"
] | htstoyanov@gmail.com |
a8e5ffb5af5821895e58188e0002c5ebed88601a | fc333dde15ed3e52adf954c53ec4c3e889b9a233 | /Project1/Player.cpp | 08c4d1be82cb5a11149c6efccd741e47df936260 | [] | no_license | brendon-ng/UCLA-CS-32 | bc8584e128f7fc64197bfed8d907b37aefdd53c2 | c219163d4eb3f0d51d1b5044b37d78624250850b | refs/heads/master | 2021-10-24T05:06:44.500237 | 2019-03-22T06:05:50 | 2019-03-22T06:05:50 | 164,964,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | //
// Player.cpp
// Project1
//
// Created by Brendon Ng on 1/12/19.
// Copyright © 2019 Brendon Ng. All rights reserved.
//
#include "Player.h"
#include "Arena.h"
#include "globals.h"
#include <iostream>
using namespace std;
Player::Player(Arena* ap, int r, int c)
{
if (ap == nullptr)
{
cout << ... | [
"brendonn8@gmail.com"
] | brendonn8@gmail.com |
61f07848b3c08fc6fed773d8223091b700febe80 | 6e80245fe676033b8b0fb7e07963ad1b10ce4541 | /chromium/content/browser/gpu/gpu_process_host.cc | b664ae5ad55a4970105f4274af15503c03a6c4a2 | [
"BSD-3-Clause"
] | permissive | Sporif/darker-vivaldi | 81cfefe1209af0d07c45ea47a67a21f1639e8c18 | b74ea1f30f0a3f1eb867a968027b9d11c150e4d6 | refs/heads/master | 2021-01-19T00:23:24.530407 | 2017-04-03T21:11:38 | 2017-04-03T21:11:38 | 87,162,323 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,861 | 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 "content/browser/gpu/gpu_process_host.h"
#include <stddef.h>
#include <algorithm>
#include <list>
#include <utility>
#include "base/base64... | [
"ricardo.amendoeira@ist.utl.pt"
] | ricardo.amendoeira@ist.utl.pt |
d3623f2fd34cf5e7b883b80cb3820101416b32d6 | e4a38bf0acce19c7efa5866dd3ac1498b2ddfd52 | /P1514 引水入城/P1514 引水入城/源.cpp | f8aea7b298a82f3b5361f62834df6b4cf99f4993 | [] | no_license | XieJiongyan/LuoguSolver | 6527747a262b675f6c586e899181db20b450b3a9 | 17d24f8d3a59d23f2efbc10eedf91041d70757db | refs/heads/master | 2022-11-28T21:16:32.640382 | 2020-08-08T06:49:48 | 2020-08-08T06:49:48 | 282,229,369 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,763 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace::std;
int hei[500][500];
int n = 0, m = 0;
int ml = 0, mu = 0;
int bm[500][500] = { false };
int ans = 0;
int lml = 0;
vector<int> vpa;
vector<int> vus;
int dirc[4] = { 1, 0, -1, 0 };
int dirr[4] = { 0, -1, 0, 1 };
void dfs(int r, int c, int... | [
"xjy-master@sjtu.edu.cn"
] | xjy-master@sjtu.edu.cn |
c21a1802409a8e1cdecbf497a9226ac6c8b8eae8 | 37901277a5852f5c6560d48c6e7ef0ed01c48036 | /HelloOpenGL/vertexData.cpp | a07c3431fa78c2104060cc9c51da483f9b9436c1 | [] | no_license | spr1ngd/HelloOpenGL | 4fb0165b7cf7b88add05c20b24cf591fd137f215 | 2b914b9065515b0f66dd266b8abf484b5dd18875 | refs/heads/master | 2022-02-17T10:28:13.638683 | 2019-08-30T11:13:40 | 2019-08-30T11:13:40 | 188,860,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25 | cpp | #include "vertexData.h"
| [
"springu3d@yeah.net"
] | springu3d@yeah.net |
18fdb0d27c32e105f6f1249584822412e6697ea5 | 9b59b4fa290bbbd76966b864fe4aef2ea062b8b9 | /PersonalTraining/ProjectEuler/64.cpp | 6f2748689c3443ec0d6dc4702790aedf6d4768c1 | [] | no_license | dasinlsb/Algorithm-Contest-Records | efe1d60177c0c9112456752677c2ec8e0627977e | 98e7168065a7e41adf9b86e71af6da801f2514da | refs/heads/master | 2020-03-27T16:23:17.044588 | 2019-03-05T01:41:19 | 2019-03-05T01:41:19 | 146,779,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N=10000;
clock_t _st;
int calc(int n,int sqrtn){
static int last[105][N+5],vis[105][N+5];
vector<int> a;
int u=sqrtn;
int d=1;
for(int t=1;;t++){
// printf("calc %d %d %d\n",n,u,d);
if(vis[u][d]==n){
return t-last[u][d];
}
last[u][... | [
"399359237@qq.com"
] | 399359237@qq.com |
8777f04f19a80f5a453657ccf51566eab0e47a04 | d28aa0edaae713cdd02509879741f49428e22cb6 | /Tetris 2.0/StartMenu.cpp | 56cb706f249eca67e9b95ce5f817ea1c39eb16f3 | [] | no_license | vellucci/Tetris-Clone | 2d8cf66c4fed7878662f15318917435b882fa8af | d7acf62d9a92cd4aaffc11fb88ffa63bf8f6c99f | refs/heads/master | 2021-01-01T04:29:42.844241 | 2016-05-24T19:12:46 | 2016-05-24T19:12:46 | 59,600,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,023 | cpp | #include "StartMenu.h"
StartMenu::StartMenu() : selectedItem(0), option(0), close(false)
{
FontManager::Instance()->SetText(menuItems[0], "Start Game", 120, 220, FONT_SIZE, sf::Color::Red, true);
FontManager::Instance()->SetText(menuItems[1], "Quit Game", 120, 250, FONT_SIZE, sf::Color::White, true);
backgr... | [
"danielvellucci93@hotmail.ca"
] | danielvellucci93@hotmail.ca |
c613283de964af1d8f1c1934866dffe601c63070 | 2247f1452108ac2af5514f96dde41435dadfb69e | /src/tbot_v1/mecanum_robot_ver1/src/mecanum_robot_ver1_node.cpp | a25a371e2f425e6ba8d0d0c0fdb7d0cac9ba5072 | [] | no_license | dongilc/catkin_ws_tennisbot | ddfcd46975a57bf872a3d284b9d15b54689ff85a | 16a23eb01690a28fe324a5dd02e4fa3cf11c440f | refs/heads/main | 2023-02-23T13:35:47.929066 | 2020-12-09T12:03:33 | 2020-12-09T12:03:33 | 331,800,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,162 | cpp | /*
* mecanum_robot_ver1_node.cpp
*
* Created on: July. 11, 2020
* Author: cdi
*/
#include "vesc_control.h"
#include "tf/tf.h"
// Settings
#define VESC_ID_0 0
#define VESC_ID_1 1
#define VESC_ID_2 2
#define VESC_ID_3 3
#define VESC_ID_4 4
#define CAN_FORWARD_OFF 0
#define CAN_FORWARD_ON ... | [
"dongilc@mju.ac.kr"
] | dongilc@mju.ac.kr |
ab893303e1eaf33be995c75c5bed11493f9a7595 | 5b36c629df399989df0a7e2dd3a055008d57a2f8 | /A17 - AVL/deletion.cpp | 98db14d64a716c72ebd6e145646238d52984c337 | [] | no_license | VelisariosF/Algorithms | 2b3861e75f7d06ffdcbc69228c84e94e571be750 | 9c73cdcfcbe640fa2feb1d4edc22bba9544aa479 | refs/heads/master | 2022-12-24T14:48:40.115777 | 2020-09-26T07:34:38 | 2020-09-26T07:34:38 | 298,761,711 | 0 | 0 | null | 2020-09-26T07:30:36 | 2020-09-26T07:30:36 | null | UTF-8 | C++ | false | false | 4,162 | cpp | #include<bits/stdc++.h>
using namespace std;
struct Node{
struct Node* L; struct Node* R;
int data, height;
Node(int data){
this->data = data;
height = 1;
L = NULL; R = NULL;
}
};
struct AVL{
struct Node* root;
AVL(){
root = NULL;
}
int Height(struct No... | [
"shraymist@gmail.com"
] | shraymist@gmail.com |
108f9d056d2be155c8f6f23778516de081c68470 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemTrophy_ARKLogo_functions.cpp | 990a5a96414b6e018d37c216542ad88c105b8218 | [
"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,093 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemTrophy_ARKLogo_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
3f7b24b38ae8329089632c535b3fd64dbc1470e9 | f68243f40e6dcf4a50954e1fd60627afb6bc6ca4 | /tests/main.cpp | 657bea38c38a3eb1237a0865873c953f9ce57a83 | [
"MIT"
] | permissive | CitrusForks/mgfx | 2c7fea695dc1ef9a00721f819cacb499eb65237e | e4d146f0e468ed22369a72e3a929ce64b31c818c | refs/heads/master | 2021-06-19T02:10:28.897783 | 2017-06-16T06:49:21 | 2017-06-16T06:49:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include <gtest/gtest.h>
#include "m3rdparty.h"
INITIALIZE_EASYLOGGINGPP
int main(int argc, char* argv[])
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"cmaughan@snarlsoftware.com"
] | cmaughan@snarlsoftware.com |
816113f8d8feda73942be477e76b8a7ca6979956 | 7f5119867b7509887fcc05e1c39e668dec50e6f8 | /JGL/includes/structure/jgl_system.h | 3a8a7a25808cc73ac0d53bb00297bbaf7365b732 | [] | no_license | Hyarius/JDL_Development_kit | 9debbfb99e8c1b4b4b7feb07f4f8fac87968aa0d | d0e47a6918d088d7b1e212670a581a5b6b3af4f8 | refs/heads/master | 2022-12-14T23:02:05.165277 | 2020-09-10T06:37:33 | 2020-09-10T06:37:33 | 294,320,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #ifndef JGL_SYSTEM_H
#define JGL_SYSTEM_H
#include "jgl_includes.h"
#include "jgl_vector.h"
#include "jgl_color.h"
#include "jgl_enum.h"
namespace jgl
{
struct Mouse
{
Vector2 begin_pos;
Vector2 old_pos;
Vector2 pos;
Vector2 rel_pos;
float wheel;
bool motion;
mouse_state button[3];
Mouse();
void ... | [
"Boissy.jeremy@yahoo.fr"
] | Boissy.jeremy@yahoo.fr |
214690c5641d66ba3612c19945f0808bfc46e34c | b7db47794fea6a52e06ccde1aee5cbda73f607ff | /Code/GAME LOGIC/12 - Grid Part 1 - Initialisation/GameState.cpp | 645bfb4c0dc002c1be7ce4347df730ba64d27f42 | [
"Unlicense"
] | permissive | MohitGouti/Tic-Tac-Toe-SFML-CPP | ef73667a021babbd9751321c2a1ca954694439bd | 5fe6e220bb4d60818bf6e3be39dcf20c04cd906a | refs/heads/master | 2020-04-15T05:24:00.768010 | 2019-01-07T11:13:13 | 2019-01-07T11:13:13 | 164,420,267 | 1 | 0 | Unlicense | 2019-01-07T11:05:24 | 2019-01-07T11:05:24 | null | UTF-8 | C++ | false | false | 2,622 | cpp | #pragma once
#include <sstream>
#include "GameState.hpp"
#include "MainMenuState.hpp"
#include "DEFINITIONS.hpp"
#include "PauseState.hpp"
#include "GameOverState.hpp"
#include <iostream>
namespace Sonar
{
GameState::GameState(GameDataRef data) : _data(data)
{
}
void GameState::Init()
{
gameState = STATE_PL... | [
"admin@sonarsystems.co.uk"
] | admin@sonarsystems.co.uk |
9e171922978e421c10bfe212b2f344ad5301a0f1 | 2b484a0bcb22fc6d114cc58553b63b502bec24e8 | /SURefItr.cpp | 37983c59d4c18ba38e990ee79383d14479117935 | [] | no_license | OS2World/DEV-SAMPLES-IBM_OpenDoc | 56c7adfb7abdce820f692af649c7fe6a23fe2e89 | 160d8e2c07272c019b65d3ffaa0118a0f06f9933 | refs/heads/master | 2020-05-19T14:12:42.378721 | 2014-10-06T21:32:50 | 2014-10-06T21:32:53 | 24,865,445 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,186 | cpp | /* @(#)Z 1.7 com/src/storage/SURefItr.cpp, odstorage, od96os2, odos29712d 97/03/21 17:18:57 (96/10/29 09:31:39) */
//====START_GENERATED_PROLOG======================================
//
//
// COMPONENT_NAME: odstorage
//
// CLASSES: none
//
// ORIGINS: 82,27
//
//
// (C) COPYRIGHT International Business Machines... | [
"martin@os2world.com"
] | martin@os2world.com |
790d53dbf4874fdabbf013592dd18d55556f4d67 | 46faade4a3dbef1b4aac9bc2082f157d051318cc | /RCSnail/RCSnail.ino | a68168743f624c58557a9c38dd9ba627dd7acdb3 | [
"MIT"
] | permissive | rcsnail/btcar | 83e7979041a11b51cf8d9a5f98145901e8d4b0b2 | b803d4a59252689c9ed3b4af9d39679b6c4200b0 | refs/heads/master | 2021-08-08T19:24:00.091897 | 2021-01-29T12:25:35 | 2021-01-29T12:25:35 | 86,692,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,135 | ino |
#include <Servo.h>
#include <SoftwareSerial.h>
#include <Wire.h>
#include <limits.h>
#include <EEPROM.h>
#include "rcsSettings.h"
#include "rcsCommandLib.h"
#include "rcsConfig.h"
rcsSettings_t carSetup;
int16_t _steering = 0;
int16_t _driving = 0;
int16_t _braking = 0;
typedef enum _adcMode_t {
ADC_STEERING,
ADC... | [
"rapaat@gmail.com"
] | rapaat@gmail.com |
76194e1cdf04d1e8b03f4d19d72ae911b30c21d8 | 31d3018a2c9a7856fd4f614977ec6cb565dd2732 | /lib/Sema/SemaStmt.cpp | a7ea72f144a86421b56b2e3d6adf905e00680e41 | [
"NCSA"
] | permissive | iewrer/Clang | 1e80b97d0cb8b51850519b23fdf77e8c5aaa3257 | d629b6fd7e1d1f5f54894e473909a84bfd8504c6 | refs/heads/master | 2020-06-04T21:34:09.859848 | 2014-03-20T07:46:22 | 2014-03-20T07:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127,381 | cpp | //===--- SemaStmt.cpp - Semantic Analysis for Statements ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"barry1451@gmail.com"
] | barry1451@gmail.com |
87beea58b195fcd7a846a0c52f75ff8dbe4230e3 | a0c1beae462a4ab2f8cc9e76a4a9160f800c72a4 | /codechef/smallfactorials/a.cpp | 1f76bb8fac895a119879c35968da8444e3eb3441 | [] | no_license | gembancud/CompetitiveProgramming | b9ab47e893adfbba21f96d0458ab2cd43f85aef1 | 3df23dd1120cd4cc451d794950b01a4dead90bb7 | refs/heads/master | 2020-09-27T22:59:58.953901 | 2019-12-08T07:49:30 | 2019-12-08T07:49:30 | 226,629,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | cpp | #include <vector>
#include <iostream>
using namespace std;
//!NOT DONE
void fact(int x){
vector<int> v(200);
v[0] = x%10;
int i=1;
while(x/10 !=0){
v[i]= x%10;
x/=10;
i++;
}
}
int main (){
ios::sync_with_stdio(0);
cin.tie(0);
int n;
cin >> n;
while(n... | [
"gembancud@gmail.com"
] | gembancud@gmail.com |
a63b823d6eb61507cbb9f6a3bc48bc45bf14e54d | 03aa190fc8bb5177f76d5e014a63885842d63bd3 | /BGU_Projects/Globals/Globals/EditList.h | ce14f336ed11b8a9784efa25122e09ca60b4fbdc | [] | no_license | omereis/nist_cbuilder | 6a0fd028fe4ca9910fe1c567da4ce7151fe59f58 | e271dc39e649d5d20d0e9c9b41a0df9963ba94d1 | refs/heads/master | 2020-03-29T10:01:44.556766 | 2019-04-05T20:22:29 | 2019-04-05T20:22:29 | 149,786,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,617 | h | //----------------------------------------------------------------------------
#ifndef EditListH
#define EditListH
//----------------------------------------------------------------------------
#include <vcl\ExtCtrls.hpp>
#include <vcl\Buttons.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Controls.hpp>
#include <vcl\F... | [
"omereis@yahoo.com"
] | omereis@yahoo.com |
3e278e2298a5a824ea8e0dbe3235ea9009a24deb | db04ecf258aef8a187823b8e47f4a1ae908e5897 | /Cplus/MinimumDeletionstoMakeArrayBeautiful.cpp | b2cfe174fd141f03fb3c41238e533235afa18964 | [
"MIT"
] | permissive | JumHorn/leetcode | 9612a26e531ceae7f25e2a749600632da6882075 | abf145686dcfac860b0f6b26a04e3edd133b238c | refs/heads/master | 2023-08-03T21:12:13.945602 | 2023-07-30T07:00:50 | 2023-07-30T07:00:50 | 74,735,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #include <vector>
using namespace std;
class Solution
{
public:
int minDeletion(vector<int> &nums)
{
int res = 0, N = nums.size();
int pre = -1;
for (int i = 0; i < N; ++i)
{
if (pre == -1)
pre = nums[i];
else if (nums[i] == pre)
++res;
else
pre = -1;
}
if (pre != -1)
++res;
ret... | [
"JumHorn@gmail.com"
] | JumHorn@gmail.com |
a75f886f459feee4f0193f8ec8c886526933f9b9 | a35a640c8e0873a0ff886a1ccb870370e8d4d1ff | /CPP_Modules/m01_ex03.cpp | 949e00e657bf66d4b621354f598a7bb8fcd4fd24 | [] | no_license | 42Curriculum/test_mains | 540a914d6163d782528a12529049394b0ab41ace | bad235c0617f590caf60746206bc35b6fffe9fae | refs/heads/main | 2023-01-01T20:19:51.238836 | 2020-10-24T10:14:24 | 2020-10-24T10:14:24 | 306,805,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"mahthaki@gmail.com"
] | mahthaki@gmail.com |
5c0bde1aae594d48a02d758dfa67c7f395a1fb8a | 8f7576e65f6d594383023b35bd2bdedc28a3fc41 | /student/06/network/main.cpp | f9a9a2635c53d6f23960a5e3840bd7d88ed0d21f | [] | no_license | ItsOpaz/prog2 | ed4f9925ba8fc9641514213613d193e47b03a6e6 | 75b3eeff2a83597f9737395080136cfe5ef1ca2d | refs/heads/master | 2023-02-27T09:55:39.107828 | 2021-01-30T14:39:11 | 2021-01-30T14:39:11 | 334,431,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,352 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
const std::string HELP_TEXT = "S = store id1 i2\n P = print id\n"
"C = count id\n D = depth id";
std::vector<std::string> split(const std::string& s, const char delimiter, bool ignore_empty = false... | [
"olli.pettersson@tuni.fi"
] | olli.pettersson@tuni.fi |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.