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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16ad2d48eeda3b24d18e17e01caa21c1776f9188 | 754d8208d78f8b41f897f5291eaeb578ad5199b5 | /run/validationSuite/NACA4412-airfoil/implicitConservativeOverset/frontMesh/constant/polyMesh/faces | 97467d9127b4b6f919bb1ab6e3ec17b01fedba04 | [] | no_license | rubynuaa/OversetMesh | 39e6540e6b93088c839bbc0f608066d609de393b | 9e7fcab5d0593dce11721cb4823cd780c30d4302 | refs/heads/master | 2020-05-16T08:10:15.440127 | 2018-01-11T07:34:34 | 2018-01-11T07:38:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274,740 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"vuko.vukcevic@fsb.hr"
] | vuko.vukcevic@fsb.hr | |
57983018cd0be02c92f02f45f7d542aa52863352 | be4623af02e9299dfc3213937cea8ebbf2cd2342 | /Project3_solution/codebase/rm/rm.cc | feec14ab9325b3d7a7dd79163ffb4646c77c1b85 | [] | no_license | hbingham/CMPS181Lab4 | f7004d56c8ad6db98dd5466bb5d33295e921977f | 78ec00d7af372348f4800a81b6651d3d4e1400f6 | refs/heads/master | 2020-03-19T07:17:53.286015 | 2018-06-09T05:04:03 | 2018-06-09T05:04:03 | 136,102,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,021 | cc |
#include "rm.h"
#include <algorithm>
#include <cstring>
RelationManager* RelationManager::_rm = 0;
RelationManager* RelationManager::instance()
{
if(!_rm)
_rm = new RelationManager();
return _rm;
}
RelationManager::RelationManager()
: tableDescriptor(createTableDescriptor()), columnDescriptor(crea... | [
"hbingham@ucsc.edu"
] | hbingham@ucsc.edu |
2eb48c23e9df9dc09d5d45baac9be6d514cd00af | 53c7d5cbc3cb8e5b12f5eedddade5b8dea090d20 | /1357.cpp | 693f83604d173edc1ecf6b03ec6a9c3461732048 | [] | no_license | HandsomeBoy2/TSOJ | 5df79190e87bd05bb71b2233957f0c51e9c081ef | efd1bf5a032109bc61606eb3eb8a0072859b251d | refs/heads/master | 2021-05-10T19:18:15.118840 | 2018-01-19T16:39:24 | 2018-01-19T16:39:24 | 118,150,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | #include <iostream>
using namespace std;
int n, m, M = 0;
int a[1001][1001] = {0}, book[1001] = {0};
void dfs (int s, int foot)
{
if (foot >= M)
M = foot;
for (int i = s + 1; i <= n; i++) {
if (a[s][i] == 1 && book[i] == 0) {
book[i] = 1;
dfs(i, foot + 1);
book[i] = 0;
}
}
return;
}
int main()
{
... | [
"997739420@qq.com"
] | 997739420@qq.com |
41f820d4756d115f47ec8d40af7d93a6cefb7c79 | 93971d2420b1d849dd596d9fb2d32e7afee0f15a | /HLS-MultMatriz/proj_matrix_multiply/solution1/syn/systemc/matrix_multiply_top.h | b7027619172b1b2bf2279c8056d74bc1429b7f90 | [
"MIT"
] | permissive | gabriel-lando/INF01175-TrabalhoFinal | d69b700e1547636bcd9b9af4f0b7de8c1f698df6 | e6dcc1eb31b54bd2378a34570507796ac7649c3e | refs/heads/master | 2020-05-25T00:40:18.197823 | 2019-05-19T23:53:43 | 2019-05-19T23:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,284 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.3
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _matrix_multiply... | [
"gabriellando@hotmail.com"
] | gabriellando@hotmail.com |
5d32dc1e42857afddf0c288003863f762db845de | 5f78893b15de8c5d9db9a9a1fb2b05e5de590d29 | /checkableform.h | 94e97a4fe4c736217f7a667c35b57fd3dc94d868 | [] | no_license | mcstarioni/OBOSSANIY-CURSACH | 4170ad3a0b14ada66663d93937e9bf6f60a970f9 | 46dcdb2253c1a9ea62b3afe7d6d019380832e28a | refs/heads/master | 2021-01-20T15:30:35.985106 | 2017-07-01T04:19:40 | 2017-07-01T04:19:40 | 90,776,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #ifndef CHECKABLEFORM_H
#define CHECKABLEFORM_H
#include <QWidget>
namespace Ui {
class CheckableForm;
}
class CheckableForm : public QWidget
{
Q_OBJECT
public:
explicit CheckableForm(QWidget *parent = 0);
~CheckableForm();
bool isInstrument;
int id;
QWidget* widget;
void setWidget(QWidg... | [
"mcstarioni@live.ru"
] | mcstarioni@live.ru |
2fca548b4ba2917e96f7c74c55c2ceecd3081f9c | 37e6184aa942daabe086ce7a4ef2088d8f6609a6 | /src/wallet/api/utils.cpp | 0ac6ba89aa1fd2ae9f87174a71087e5606c8c9a6 | [] | no_license | Liberty-Chain/LibertyChain | a3c06ee002d353fcb4f2f1fae595ca6803eaaded | 6092125d4a9ce5b15d8216a239ba2d370a9cd85a | refs/heads/master | 2023-06-21T05:20:16.907006 | 2021-08-12T09:28:53 | 2021-08-12T09:28:53 | 394,551,819 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,062 | cpp | // The Liberty Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
// conditions and the ... | [
"420338901@qq.com"
] | 420338901@qq.com |
04accc7aa4edfe91403757b702895fa31e5e38da | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_Buff_CantSee_parameters.hpp | 51e07500d373b5af6d72440949e94005f330b2d9 | [
"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 | 796 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_Buff_CantSee_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
c3a66afce2d46b64da2a0165d851617057def345 | 8a46b7125990ce1c37b13d1317fba0d7c0015657 | /tsp.cc | ea3796779267a8c7d8febe61b7429bea4541a71b | [] | no_license | 3141592654/cs221hw10 | 08046e46ad605a0e5ad6f0852a892a7e725e396c | 54abf0f6bf57763c7f900c6f824629046f408e53 | refs/heads/master | 2020-04-08T10:25:56.048353 | 2018-12-03T22:33:06 | 2018-12-03T22:33:06 | 159,268,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,573 | cc | /*
* Main file for Traveling-Salesperson solver.
* Read a cities file in TSV format into a Cities object, then run
* of several solver algorithms on it and output the best result.
*/
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <numeric>
#include "cities.hh"
#include "de... | [
"dummyemail@asd.com"
] | dummyemail@asd.com |
7a8bc5ff37a818e47ba67ca8be10605e20efa4eb | 60799e6dbd29f85ce9e0e5e4eb0e279b7510aa40 | /lib/Core/Fragments.cpp | 8e8db66b99d8ecc4386211179a8396bd11b1f265 | [] | no_license | knervous/EQModelConverter | 43f4712c9b3b46904d1f8473798ed111b0c50859 | 19fb4aa8ce14c5c24184def4213d8aba03c42c2f | refs/heads/master | 2021-08-23T05:36:58.838425 | 2017-12-03T17:43:55 | 2017-12-03T17:43:55 | 112,944,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,383 | cpp | // Copyright (C) 2012 PiB <pixelbound@gmail.com>
//
// EQuilibre is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This progr... | [
"pcj174@gmail.com"
] | pcj174@gmail.com |
094634d494afbceea32f0ee7d683d28057f56c96 | ae81e4352819fe4dafcecc2359f6a0db195a38ff | /eguserapp/UserAppDlg.h | 4abcbd7ebcf210f2736860c0bc9078308add11d8 | [
"BSD-2-Clause"
] | permissive | harikvpy/elevatedgui | db4c766f948efdbf30342b08b232b27d8839caa6 | 949eaf03c67403019e5c87ecc677fb7732e79fb3 | refs/heads/master | 2021-01-01T17:52:34.152049 | 2015-09-21T09:39:49 | 2015-09-21T09:39:49 | 42,856,262 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h |
// UserAppDlg.h : header file
//
#pragma once
// CUserAppDlg dialog
class CUserAppDlg : public CDialogEx
{
// Construction
public:
CUserAppDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_EGUSERAPP_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/D... | [
"harikvpy@gmail.com"
] | harikvpy@gmail.com |
43f2f1ac37ff6391839aa1c1b09d09489a5e95e9 | 962e6b507d39e3c3558bc9f6efc8875acc06877a | /Array/sizeThreeIncreasingSubsequence.cpp | c4f77eb1ab975ff5158dd0dec7ed50e0b33ee7b9 | [] | no_license | gsetia4022/algorithm | 8a51afd5871637de0b596e2551149d8de6d83491 | b0d5b372e0883eb927edf122d75757a819d99768 | refs/heads/master | 2021-01-01T18:39:03.022898 | 2017-05-20T03:22:47 | 2017-05-20T03:22:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp | #include <iostream>
#include <vector>
using namespace std;
//http://www.geeksforgeeks.org/sorted-subsequence-size-3-linear-time-using-constant-space/
void increasingSubsequence(vector<int> &arr)
{
int min1,min2,second,count=1;
min1=arr[0];
for(int i=1; i<arr.size(); ++i)
{
if(count==3)
{
if(arr[i]>second)
... | [
"raviguruiitr@gmail.com"
] | raviguruiitr@gmail.com |
5243df1e2132e9afe7da963592cbddab6a05519d | 4bb14bda9a0b5679dc80cc1a8def19e3ae14684d | /src/caffe/util/io.cpp | c32de12104fab0e92b203262f811064d1b20748f | [
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | CarvinEdlin886/lp-backend | 8474be9c6c9a6ba77de8edc7b66dca6d21f09b86 | 6a25e2d118fe10d39553a898d7cdee32847540e8 | refs/heads/master | 2022-12-14T17:22:51.414311 | 2020-02-12T17:22:45 | 2020-02-12T17:22:45 | 234,299,171 | 0 | 0 | NOASSERTION | 2022-12-08T03:27:07 | 2020-01-16T10:52:17 | Python | UTF-8 | C++ | false | false | 25,412 | cpp | #include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <fcntl.h>
#include ... | [
"carvin.edlin@koinworks.com"
] | carvin.edlin@koinworks.com |
008f14ab85cb4fcd727c1b13ce7e868b4a81a93f | 9f50469bc78c5cb99c2b44e8e13cd4def5b73766 | /piscine/piscine_cpp_d15/ex04/ex04.cpp | a799b769f92881bbe92a326069d94571320e190b | [] | no_license | Bishopx/Epitech-tek2 | a724e2043c487b1338ed2328d9219ac169d33a75 | c28199f008b0f570eff08fed6bde190728686432 | refs/heads/master | 2020-03-18T09:23:26.301519 | 2017-01-28T00:00:49 | 2017-01-28T00:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | #include "ex04.hpp"
template<typename T>
bool equal(const T &a, const T &b) {
return (a == b ? true : false);
}
template<class T>
bool Tester<T>::equal(const T &a, const T&b) {
return (a == b ? true : false);
}
template bool equal<int>(const int &a, const int &b);
template bool equal<float>(const float &a, const f... | [
"ch.ploujoux@gmail.com"
] | ch.ploujoux@gmail.com |
cbcada718a51d32a03ae632655323b2c4f59f20d | 440878ccc6c7ebc69cb564d2e0dac7ea21b8a853 | /RoombotsCreator/Scene.cc | 8d7b00763848ca9be71dac654e8ecdf4377f060b | [] | no_license | Valnig/roombotsCreator | 82aaf1bbef913b27ec6b3364a95442777130855e | 7bad94d8052d74a1531eb22dadd31d6aec492787 | refs/heads/master | 2021-01-10T23:38:02.326198 | 2016-10-19T16:19:01 | 2016-10-19T16:19:01 | 70,415,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,369 | cc | /*
@author Valentin NIGOLIAN
valentin.nigolian@epfl.ch
Fall 2015
*/
#include "Scene.hh"
void Scene::Init(float roomSize)
{
Quad* floor_quad = new Quad("Shaders/simple_vshader.glsl", "Shaders/tex5_fshader.glsl", "Textures/wood2.jpg", glm::vec4(0.0f, 0.0f, 0.0f, 0.0f));
floor_quad->SetModelMatrix(glm::translate(glm::... | [
"valentin.nigolian@gmail.com"
] | valentin.nigolian@gmail.com |
801a07b32c25d0cce6b0aa3ac40258ec712c657b | 7272cd9f28ac259cfe447d2043998fe0ecf6aab6 | /03-3-Grades-3/main.cpp | 853a6f5f401e3b5163844daf1d9afb8bd3c076c0 | [] | no_license | allocator64/prak | 96186bc506c8afcd8bc42b0d36f425bb1e40d672 | 9cf45f0131bcbdd233b664a0723cb7214bf12850 | refs/heads/master | 2016-08-12T06:03:19.427702 | 2013-05-27T22:17:21 | 2013-05-27T22:17:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | #include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <map>
#include <vector>
#include <algorithm>
using namespace std;
class Date
{
int day;
int month;
int year;
public:
bool operator<(const Date &d) const
{
if (year != d.year)
return year < d.... | [
"allocator64@gmail.com"
] | allocator64@gmail.com |
2fdc61488c252c1411a52edf151e24cb53f00aa6 | 4f05236606d5dbd483e5d0ae9e99d82f7eb94636 | /GameEngine/TrueNature/Terrain.h | 732797e94d7563edf3773c51bd9810666c942b17 | [] | no_license | Mateuus/newundead | bd59de0b81607c03cd220dced3dac5c6d5d2365f | c0506f26fa7f896ba3b94bb2ae2878517bd0063a | refs/heads/master | 2020-06-03T14:20:00.375106 | 2014-09-23T03:58:13 | 2014-09-23T03:58:13 | 22,456,183 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,729 | h | #ifndef __R3DTERRA_H
#define __R3DTERRA_H
#include "XPSObject.h"
#include "../../eternity/SF/script.h"
#include "../UndoHistory/UndoHistory.h"
#include "../DebugHelpers.h"
#include "ITerrain.h"
class r3dTerrain;
class r3dVertexBuffer;
class r3dIndexBuffer;
#define CQuadTerrain r3dTerrain
extern int __terra_UseHac... | [
"muvucasbars@outlook.com"
] | muvucasbars@outlook.com |
fdc6cba4109e2030d5990b4d1365a5429ca9cd11 | bf8240ff8d505010ccd69f51b921901e857fb56d | /Backjoon/백준/B_2156.cpp | 9615dbddeee446da319e518075f7636e9557d2ec | [] | no_license | gomster96/Byungwoong_Algorithm | 4caba52443a624f7826295074e0a69c10cc46872 | ad8131b13b56967fbe42701d33b50f35f2c83952 | refs/heads/main | 2023-05-14T15:24:51.906896 | 2021-06-10T13:22:33 | 2021-06-10T13:22:33 | 345,360,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | cpp | #include<bits/stdc++.h>
using namespace std;
#define mine
int n;
vector<int> a;
int res = -2147000000;
int cache[3][10001];
void DFS(int L, int sum, int check){
if(L >= n){
// cout << sum << endl;
if(sum > res) res = sum;
return ;
}
if(sum < cache[check][L]) return;
cache[che... | [
"byungwoongan@anbyeong-ung-ui-MacBookAir.local"
] | byungwoongan@anbyeong-ung-ui-MacBookAir.local |
e4c170341e23780833b81c0009d96d82c3ac0c9d | a1809f8abdb7d0d5bbf847b076df207400e7b08a | /Simpsons Hit&Run/game/libs/pure3d/tools/plugins/maya/p3dMeshOptimize/inc/edgeInfo.hpp | bae513686c5b38f270dfde64e45e135ab04e669d | [] | no_license | RolphWoggom/shr.tar | 556cca3ff89fff3ff46a77b32a16bebca85acabf | 147796d55e69f490fb001f8cbdb9bf7de9e556ad | refs/heads/master | 2023-07-03T19:15:13.649803 | 2021-08-27T22:24:13 | 2021-08-27T22:24:13 | 400,380,551 | 8 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,565 | hpp | //===========================================================================
// Copyright ©2002 Radical Entertainment Ltd. All rights reserved.
//
// Created: 28 November, 2002
//
// Component: p3dMeshOptimize Maya plug-in (edgeInfo.hpp)
//
// Description:
//
// Constraints:
//
// Creator: Brya... | [
"81568815+RolphWoggom@users.noreply.github.com"
] | 81568815+RolphWoggom@users.noreply.github.com |
c4d9485628aa75bc1d888dd1a622780f992f5929 | 0b55957db9f5b13c526a82a310bc3b94bf746db9 | /src/import/PortSpec.h | f5f60365ab3e717df1612479b4e285c725e3f4ba | [] | no_license | fwbuilder/fwbuilder | ba8cdb6f2b68ca733a7e7a0b2f1c3720ee32019d | 8013c00e1f29350d96926768290e8c7f91cda424 | refs/heads/master | 2023-08-06T06:07:30.933612 | 2023-07-22T22:56:24 | 2023-07-22T22:56:24 | 22,487,992 | 263 | 96 | null | 2023-05-20T12:20:59 | 2014-07-31T22:52:40 | C++ | UTF-8 | C++ | false | false | 1,785 | h | /*
Firewall Builder
Copyright (C) 2011 NetCitadel, LLC
Author: Vadim Kurland vadim@fwbuilder.org
This program is free software which we release under the GNU General Public
License. You may redistribute and/or modify this program under the terms
of that licen... | [
"vadim@slot.vk.crocodile.org"
] | vadim@slot.vk.crocodile.org |
db33f218fcadde5c5deebf1ead2210a4909bf9f9 | 54414c8738902f58e0ce926241abcc84350b72cb | /Source/VePower/VeLine2D.h | abf630893844f14cd13fade14e04cc4d5a81aa19 | [] | no_license | Napoleon314/Venus2D | dc88a0c442873323c518868e572ae18ea9fd5a73 | 487357fdf9b3323c2e2a921d8bb8f894418af293 | refs/heads/master | 2021-01-01T19:20:52.449245 | 2015-05-17T16:17:53 | 2015-05-17T16:17:53 | 35,772,979 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | h | ////////////////////////////////////////////////////////////////////////////
//
// Venus Engine Header File.
// Copyright (C), Venus Interactive Entertainment.2012
// -------------------------------------------------------------------------
// File name: VeLine2D.h
// Version: v1.00
// Created: 18/12/201... | [
"Napoleon356977480@gmail.com"
] | Napoleon356977480@gmail.com |
031176cf1a8dcafbc5b50206e0de7a667f79d7e2 | e2400461ad0ee9db8a85a30c811e47d30e16e1c8 | /seleniumtestcases-qa/seleniumtestcases-qa/src/main/resources/firefox/win64/firefox-sdk/include/nsIDOMDataContainerEvent.h | 1d0f484aa047347d30a06d67efe47ac26817632d | [] | no_license | pratikcactus/Insights | 720a00187858bbca5b2d8cc36aee23e50c74efbc | 0c3178a50d60ba4c14a07f6515a84f0ce22cdc8e | refs/heads/master | 2021-01-19T14:48:56.139872 | 2018-01-23T07:12:47 | 2018-01-23T07:12:47 | 100,924,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,733 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsIDOMDataContainerEvent.idl
*/
#ifndef __gen_nsIDOMDataContainerEvent_h__
#define __gen_nsIDOMDataContainerEvent_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsIVariant_h__
#include "nsIVariant.h"
#endif
/* For I... | [
"pratik.sidam@cactusglobal.com"
] | pratik.sidam@cactusglobal.com |
c2143caf2b84157ccab42de143ed92bf64821abf | 789b9305658b50c2e282847ec3990c628d9bac62 | /Source/TheMayhem/TheMayhemGameModeBase.cpp | 14ed7b2e9cfee8c3b1ba02dd7f8c95d4ef6e1db8 | [] | no_license | risooonho/TheMayhem | 76f67bc4511c675132de3582a6cf2d175242bec6 | 46898733306dfc61803232968067d22d7ec3ac09 | refs/heads/master | 2021-06-22T18:00:19.203773 | 2017-05-22T10:12:48 | 2017-05-22T10:12:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TheMayhem.h"
#include "TheMayhemGameModeBase.h"
| [
"krisq16@interia.pl"
] | krisq16@interia.pl |
9048005986cb56eab7814989d01054ca56418ad5 | 6d637bc53f90b732a8165f8b68cc980a5c4e09a0 | /lab3.2/lab32ReTry.cpp | 31a5646df0ccd9b12e848d54eb5bb00f2c9e2f7e | [] | no_license | tyonezawa001/ToshikiYonezawa-CSCI20-Spr2017 | 546bf0ca4ce083f3bc4b41e8cf95fd6df2473bc5 | 1029da39f3819684315086caeb27486870868141 | refs/heads/master | 2021-01-11T15:57:13.850537 | 2017-05-23T19:13:37 | 2017-05-23T19:13:37 | 79,965,327 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,983 | cpp | /*
*Updated by: Toshiki Yonezawa
*Updated on: 03/28/2017
*This program works as income tax calculator.
*The program can calculate a right tax value from input wage data, and then it compare between right tax value and withheld value.
*If the program gets a negative value from the comparering, user must pay more t... | [
"tyonezawa001@student.butte.edu"
] | tyonezawa001@student.butte.edu |
c43e39e55bb8e938c906d73bc4d1907cb04e699a | 262f78fe205f4577ff30f3094e1ba81bfbf50e20 | /solutions/leetcode_24_solution_1.cc | b4926d5b7ad4a05926f491457718a860eef00891 | [] | no_license | cailun01/leetcode | 722566c737f91b011d4718bcd81edecddffe6cf1 | a5e3461d9445de7465229da56e845aded063b723 | refs/heads/main | 2023-06-15T14:13:03.431262 | 2021-07-19T11:17:49 | 2021-07-19T11:17:49 | 362,317,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cc | #include "headers.h"
/* 24. 两两交换链表中的节点
给定一个链表,两两交换其中相邻的节点,并返回交换后的链表。
你不能只是单纯的改变节点内部的值,而是需要实际的进行节点交换。
示例:
给定 1->2->3->4, 你应该返回 2->1->4->3.
*/
// 递归
class Solution {
public:
ListNode* swapPairs(ListNode* head) {
if (!head) {
return nullptr;
}
if (!head->next) {
return head;
}
// 拿到第一个... | [
"1354213521@qq.com"
] | 1354213521@qq.com |
1ba27b316e99970025358534853f4ea07c9d8edc | 1d04a44976a0d0effd12b9f1bc18db7bc4c8f96d | /be/src/kudu/rpc/sasl_helper.cc | 53f9d0861e2df7b6f56aee196ed05656bd2281ee | [
"OpenSSL",
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"MIT",
"PSF-2.0",
"LicenseRef-scancode-mit-modification-obligations",
"bzip2-1.0.6",
"LicenseRef-scancode-unknown-license-reference",
"Minpack",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
... | permissive | Pandinosaurus/Impala | d2d189e9efd93196d4fac36f91e926cca041f023 | 7dd2c8100f6d810bde13a0c9f8fb8449344cdcef | refs/heads/cdh5-trunk | 2023-03-13T00:09:43.104849 | 2019-07-25T00:12:06 | 2019-08-14T21:51:53 | 149,855,108 | 1 | 0 | Apache-2.0 | 2019-08-15T22:47:12 | 2018-09-22T07:24:05 | C++ | UTF-8 | C++ | false | false | 4,350 | cc | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"jenkins@cloudera.com"
] | jenkins@cloudera.com |
9d41d8828aa28f48a0abe2d58ad9562f7c4dc8b3 | a71b7da41c9a0a8094d2e0b1323ab9c7cf004c68 | /triallinkedlist.cpp | 7492c1e05329237ee58bb1359fba456508568094 | [] | no_license | palaksona/Codes | ce771cc7d6506560d2c66975f2db6e696c9319c8 | a98dae15a3b6bc4e75ce23d2fef810fe7f7bfe5b | refs/heads/master | 2021-01-02T23:06:00.736877 | 2017-08-06T07:22:09 | 2017-08-06T07:22:09 | 99,469,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include<stdio.h>
#include<malloc.h>
struct node
{
int data;
struct node* next;
};
struct node* newnode(int data)
{
struct node* node=(struct node*)malloc(sizeof(struct node));
node->data=data;
node->next=NULL;
return node;
}
struct node* insert(struct node* head,int data)
{
struct node* temp=newnode(data);
if(... | [
"palak2sona@gmail.com"
] | palak2sona@gmail.com |
ab5a1107740a2cb0925c204ea26888c5a7f7a302 | ac6cc5dd415bba8edcb8a556a3989bdd5450b4c0 | /第 6 章 二分搜索/6-3 元素最左出现的位置.cpp | dfdbf5791ad7f1a627610012ef9f5eff184e4576 | [] | no_license | YunWGui/Code-Interview | 26a1befbab740794b0cd2af8e1662a30ddec0960 | 3c2fc3e86b528150ec2d40d3d2a84d8069eec83c | refs/heads/master | 2022-12-05T08:23:35.631091 | 2020-08-01T03:44:42 | 2020-08-01T03:44:42 | 284,180,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | /*
题目:
6-3 元素最左出现的位置
描述:
对于一个有序数组arr,再给定一个整数num,请在arr中找到num这个数出现的最左边的位置。
给定一个数组arr及它的大小n,同时给定num。请返回所求位置。若该元素在数组中未出现,请返回-1。
测试样例:
[1,2,3,3,4],5,3
返回:2
地址:
https://www.nowcoder.com/study/vod/1/6/3
*/
#include <iostream>
#include <vector>
using namespace std;
class LeftMostAppearance {
... | [
"58332217+YunWGui@users.noreply.github.com"
] | 58332217+YunWGui@users.noreply.github.com |
a3e91f317757ec069801833fee5964d604a06722 | 2c62385f15b1f8e6072138d5175d7a70dd236b98 | /blazetest/src/mathtest/dmatsmatadd/HHaHCb.cpp | 923a14f2cba3ce9d6a9afba0e798e65ad2273650 | [
"BSD-3-Clause"
] | permissive | lyxm/blaze | 665e4c6f6e1a717973d2d98e148c720030843266 | 10dbaa368790316b5e044cfe9b92f5534f60a2dc | refs/heads/master | 2021-01-12T20:31:45.197297 | 2015-10-15T21:39:17 | 2015-10-15T21:39:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,133 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatadd/HHaHCb.cpp
// \brief Source file for the HHaHCb dense matrix/sparse matrix addition math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is pa... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
cec1fe1155876ee906c29f1121b1599c94a890cc | 24653c0a8be19e46eb95451de1d961ffbcc01341 | /software/src/8.0/src/kernel/VkStream.cpp | 563ed128cb671913805ac7df3c8d9fb4a70e95a5 | [
"BSD-3-Clause"
] | permissive | VisionAerie/vision | 150e5bfa7eb16116b1e5b4bdb1bb8cee888fbfe5 | e40c39e3abc49b0e2c9623204c54b900c4333f29 | refs/heads/master | 2021-01-19T09:23:34.429209 | 2019-01-30T17:10:59 | 2019-01-30T17:10:59 | 82,104,368 | 2 | 1 | BSD-3-Clause | 2019-01-30T17:11:00 | 2017-02-15T20:41:27 | C++ | UTF-8 | C++ | false | false | 11,206 | cpp | /***** Vision Kernel Stream Implementation *****/
/************************
************************
***** Interfaces *****
************************
************************/
/********************
***** System *****
********************/
#include "Vk.h"
/******************
***** Self *****
*********... | [
"tkowalczyk@factset.com"
] | tkowalczyk@factset.com |
769c599f10de3a6bb309ff8cbb36e50e7d21ffbe | 3201a30985ebbfa96b5a44a00b28bfafe0808aa8 | /Source/SpaceRace/test.h | 18e3c32f9bf0a26cb477db0c303dc366506b2430 | [] | no_license | SStirling93/SpaceRace | 992fab0da88aef2dc6ab4f7c2b5285a595aea1ad | 480484cbd6bf821fd18646d8c11dcd66df894d74 | refs/heads/master | 2016-09-06T09:49:17.482160 | 2015-06-11T00:22:42 | 2015-06-11T00:22:42 | 32,866,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Actor.h"
#include "test.generated.h"
UCLASS()
class SPACERACE_API Atest : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
Atest();
// Called when the... | [
"S.Stirling@live.com.au"
] | S.Stirling@live.com.au |
11f7bf78149957ac8169b609f12e3c9a976bdab8 | 08cd9b06ec88022c5058067c17659960e80a553d | /集训/2019-11-10/E(瞎搞图论).cpp | fd749d66bdc0b4b7b302ece02603261fabc16f06 | [] | no_license | tmzengbi/save-code | fe6641b18f488b01241b6112d56249ca00b541b6 | fe50f15beca52f3cb47398ac6f116fefbf31fc85 | refs/heads/master | 2023-08-25T15:17:57.278833 | 2021-09-18T09:50:39 | 2021-09-18T09:50:39 | 298,801,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<vector>
#include<queue>
using namespace std;
int n,m;
struct Node
{
int u,dep;
Node(int u,int dep):u(u),dep(dep){}
bool operator < (const Node AA)const
{
return dep>AA.dep;
}
};
vector<int>edges[200010];
priority_queue<Node>q;
int... | [
"2818097988@qq.com"
] | 2818097988@qq.com |
ae2cc56f1276f00f72df598d4e1bd0a5eda4ab16 | 1837fecc4a4608ee10160043ead46b3c542f9552 | /example.cpp | fccbddb5e052ead5ed59384a72699d7b3cf36588 | [] | no_license | rb12345/cpp_annotated_return | ac107ca405b9fc250d01bcba39c22328f525251a | 102976989d2b24cde39ab5f72cd573c014f8d204 | refs/heads/master | 2020-05-30T17:29:49.135477 | 2012-05-11T12:12:34 | 2012-05-11T12:12:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include <cstdlib>
#include <cstdio>
template <class T, class U>
struct AnnotatedReturn {
T errorCode;
U returnValue;
};
AnnotatedReturn<int, float> foo() {
struct AnnotatedReturn<int, float> x;
x.errorCode = 0;
x.returnValue = 3.14159;
return x;
}
int main(int argc, char* argv[]) {
AnnotatedReturn<int,float>... | [
"robert.bradley1@gmail.com"
] | robert.bradley1@gmail.com |
db0eee26cd995f4634d4c53126d7e7a1c8723198 | 45894fe2786a47f355ef6712e7324913b61d5c3a | /SPOJ/fashion/fashion.cpp | ffc49c084a0bcff2d8068065f75c0d5c3d3035b2 | [] | no_license | sukrutrao/Infero-Programming-Practice | 3079be7023982e84ab945946c2f9f36c83861639 | ea79bc1149ef2b7c5211a29bd5ed6eef1f74d2d3 | refs/heads/master | 2021-06-12T17:25:17.471819 | 2016-09-21T11:46:26 | 2016-09-21T11:46:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | #include<iostream>
using namespace std;
void bubble_sort(int *arr,int size)
{
for(int i=0;i<size-1;i++)
{
for(int j=0;j<size-i-1;j++)
{
if(arr[j]>arr[j+1])
{
int t=arr[j];
arr[j]=arr[j+1];
arr[j+1]=t;
}
}
}
}
int main()
{
int t,n,*n1,*n2;
cin>>t;
for(int i=0;i<t;i++)
{
cin>>n;
int ... | [
"raosukrut@gmail.com"
] | raosukrut@gmail.com |
4bdbd7852e03bdea7b6be80df820585cf6dc048d | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /RZigZag/src/RZigZag.h | 187fa2afcf8f656abac34bb32682bd2ada734e9e | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | h | // RZigZag.h : implements Zig-Zag and other PDMP samplers
//
// Copyright (C) 2017--2019 Joris Bierkens
//
// This file is part of RZigZag.
//
// RZigZag is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the Free Software Foundation, eithe... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
fb6fa6ab7ebc98b33668f80660ca855a3f113917 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/fluidisedBed/0.24/rho | d0f4209c381e5138b4ef52248cc815c050d296b7 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,473 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
35eaac8d2949de6988cc5af5a4ba102457e21a74 | 5793887005d7507a0a08dc82f389d8b8849bc4ed | /vendor/mediatek/proprietary/hardware/mtkcam/include/mtkcam/def/Modes.h | 6d3a0022fee8913e690f3279e858bb366e1e0086 | [] | no_license | wangbichao/dual_camera_x | 34b0e70bf2dc294c7fa077c637309498654430fa | fa4bf7e6d874adb7cf4c658235a8d24399f29f30 | refs/heads/master | 2020-04-05T13:40:56.119933 | 2017-07-10T13:57:33 | 2017-07-10T13:57:33 | 94,966,927 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,675 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | [
"wangbichao@live.com"
] | wangbichao@live.com |
0ed9f6930733a1dbb054f879e75efb6947436be4 | 9a0d361d26ea092972a689663b9a8228f9018caa | /AlgorithmC++/Algorithm/ProblemSolving/week2/2852-1.cpp | 0a5d3e34958a41797d633a51ea2c66e522f85d7d | [] | no_license | Dev-RubinJo/AlgorithmCpp | b555e3e2b39565d92a64cfeed9890d26589647e3 | cac74f7a3bdb4797b28ca4d3bc7f1618fc56c1f4 | refs/heads/master | 2023-06-03T08:52:35.733749 | 2021-06-22T14:32:04 | 2021-06-22T14:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,060 | cpp | //
// 2852-1.cpp
// Algorithm
//
// Created by YooBin Jo on 2021/04/03.
// Copyright © 2021 YooBin Jo. All rights reserved.
//
#include <bits/stdc++.h>
using namespace std;
int n, t, w, mm, ss, rmm, rss;
map<int, int> m1;
vector<pair<int, string> > v;
string m;
string s1, s2;
string r1 = "00:00", r2 = "00:00";
int... | [
"dbqlsdl1234@naver.com"
] | dbqlsdl1234@naver.com |
2ee06a8c9fe299de09e62b08bb82fb2805a858fd | a1c5d0f958875761f49ae1e97b914473e3ab014c | /Undaunted/StartupManager.cpp | 0de298f109717cb04b9ffb14d657a63cda02baca | [
"MIT"
] | permissive | clayne/Mundusform | de4dc6a214a8f77106678d1936e4440d7f526fe2 | 4f7b2fbd555ad16b93c3e751b1b811cecce5e8d7 | refs/heads/master | 2022-11-13T08:19:18.963172 | 2020-06-16T13:25:56 | 2020-06-16T13:25:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,342 | cpp | #include <Undaunted\ConfigUtils.h>
#include "StartupManager.h"
#include "RSJparser.tcc"
#include <filesystem>
#include <algorithm>
#include <string>
#include <Undaunted\FormRefList.h>
#include <Undaunted\LocationUtils.h>
#include <Undaunted\NavmeshTool.h>
#include <Undaunted\BlockLibary.h>
#include <Undaunted\RiftManag... | [
"kaos.nyrb@gmail.com"
] | kaos.nyrb@gmail.com |
c6b0bb715d91d2fc34f9c44195f4028b04342d48 | c5edd84ecae11ea05bef43d118d332f201a5c19d | /courses/prog_base_3/project/version2/course_work_2/untitled/mainwindow.h | 720247dee22d4899682511ee3af8e1252268aa61 | [] | no_license | kate-levoshko/Kate-repos | e9727c0f25d6ee86c720d7217c6685a948024506 | 07db3182dc534be7aeb0bc5e4945ef00b863b522 | refs/heads/master | 2020-12-29T01:00:24.322379 | 2016-06-13T15:20:35 | 2016-06-13T15:20:35 | 42,335,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_singInButton_clicked();
void on_registerButton_clicked();... | [
"klevoshko98@gmail.com"
] | klevoshko98@gmail.com |
377d1f9e79d3c9616fc1b6e15e3c243bb9344e7c | 141b07a7747a82ce589b6fa4e0d4c3f2f2fc8953 | /01-July-2021/pacific-atlantic-water-flow/Accepted/3-25-2021, 5:06:34 PM/Solution.cpp | 8fdee02c4555d0d566fd8a2fc77a4f17ac3b79a1 | [] | no_license | tonymontaro/leetcode-submissions | f5f8b996868bfd63ddb43f3c98f8a7abef17927e | 146f435d9ab792e197e5f85f1f2f4451f5a75d3f | refs/heads/main | 2023-06-06T01:28:45.793095 | 2021-07-01T07:05:15 | 2021-07-01T07:05:15 | 381,935,473 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | cpp | // https://leetcode.com/problems/pacific-atlantic-water-flow
#define v vector
class Solution {
public:
vector<vector<int>> pacificAtlantic(vector<vector<int>>& grid) {
v<v<int>> ans;
if (grid.size() == 0 || grid[0].size() == 0) return ans;
int rlen = grid.size(), clen = grid[0].size();
... | [
"ngeneanthony@gmail.com"
] | ngeneanthony@gmail.com |
c1c06b50365d6b48b52e5d17387583edf443e0db | f051d9a41613334e4ba6a5747028fef3a11ac70d | /src/hsp3dish/gameplay/encoder/src/GPBDecoder.cpp | 966ba2190e5add8d464d5ba6a44a14b36507bf83 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | onitama/OpenHSP | d93b50b230234c4792a5199539403ab91f91740a | ba6b92a40c4bc6716208ad4961f11bbd1c7fbd04 | refs/heads/master | 2023-09-04T09:55:03.935733 | 2023-08-21T06:52:49 | 2023-08-21T06:52:49 | 107,995,606 | 159 | 26 | BSD-3-Clause | 2022-06-18T02:42:50 | 2017-10-23T14:42:26 | C | UTF-8 | C++ | false | false | 2,392 | cpp | #include "Base.h"
#include "GPBDecoder.h"
namespace gameplay
{
GPBDecoder::GPBDecoder(void) : _file(NULL), _outFile(NULL)
{
}
GPBDecoder::~GPBDecoder(void)
{
}
void GPBDecoder::readBinary(const std::string& filepath)
{
// open files
_file = fopen(filepath.c_str(), "rb");
std::string outfilePath = filep... | [
"onitama@onionsoft.net"
] | onitama@onionsoft.net |
b225972c266c257ca1f62711119b27767ef2fc8f | 715357b82153c11d769af943c9971c02e74270b4 | /Source/NetworkTest/InGame/InGameManager.h | 8d6414d8c2b026c9a42eaaf72887a313f0f1d52a | [] | no_license | LJH960101/FP_Client | 6ae1189560c81dac99eb6e52666ef48cfdd40db6 | 89eeeaa852d21bbfeb907ea58c6e54a4336d3fad | refs/heads/master | 2020-04-16T16:02:58.095447 | 2019-01-22T10:09:31 | 2019-01-22T10:09:31 | 165,723,100 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 501 | h | // 인게임에서
#pragma once
#include "NetworkTest.h"
#include "GameFramework/Actor.h"
#include "InGameManager.generated.h"
UCLASS()
class NETWORKTEST_API AInGameManager : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AInGameManager();
protected:
// ... | [
"ljh960101@gmail.com"
] | ljh960101@gmail.com |
0b429b112a2aa5923403fe15581a5db86d57b54c | eee4e1d7e3bd56bd0c24da12f727017d509f919d | /Case/case7/600/PPD | 662ffdc5b48694301b4ef46874aa0fe27a6f812c | [] | no_license | mamitsu2/aircond5_play5 | 35ea72345d23c5217564bf191921fbbe412b90f2 | f1974714161f5f6dad9ae6d9a77d74b6a19d5579 | refs/heads/master | 2021-10-30T08:59:18.692891 | 2019-04-26T01:48:44 | 2019-04-26T01:48:44 | 183,529,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,087 | /*--------------------------------*- C++ -*----------------------------------*========= |
\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\ / O peration | Website: https://openfoam.org
\ / A nd | Version: 6
\/ M anipulation |
\*---------------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
3e543df6c0a9af8d15df5c128e8fb2f672bf4038 | a05c48b1c5c013887ab2643c200d97b23b1d82b3 | /StPicoEvent/StPicoMtdTrigger.cxx | 83880933f37d773241dce9cbf3a93dfc747f0b51 | [
"MIT"
] | permissive | prashanthgit/DirectedFlowRun18 | 8e49dd0f6dd0a5b30e2707941976ebe956afa933 | 5560a9e14f2eb46935808c2ee0a0f1aca44f6d72 | refs/heads/master | 2020-03-22T10:08:05.559387 | 2018-07-05T19:01:23 | 2018-07-05T19:01:23 | 139,883,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cxx | #include "St_base/StMessMgr.h"
#include "StPicoEvent/StPicoMtdTrigger.h"
//----------------------------------------------------------------------------------
StPicoMtdTrigger::StPicoMtdTrigger():
mVpdTacSum(0), mTHUBtime{},
mQTtacSum{}, mMT101Tac{}, mMT101Id{}, mTF201TriggerBit(0),
mShouldHaveRejectEvent(-1)
{... | [
"sprastar@dyn158133.cc.lehigh.edu"
] | sprastar@dyn158133.cc.lehigh.edu |
576a94cb30caf91f7b6712e532fece1842460817 | afd9d7d6298b24491c3faf2674bdce45f96c62c2 | /bossbattle.cpp | f9a812b4d66a9847cd6d5a5cfc3939ef2c132f73 | [] | no_license | tines98/kattis-cpp | 432cdb7bdae36a62b7d40d3ec195e1c801fff579 | 61991af059b138b19980da2a047f7fb17d86803b | refs/heads/main | 2022-12-23T02:25:14.609677 | 2020-10-07T14:30:17 | 2020-10-07T14:30:17 | 302,062,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include <iostream>
using namespace std;
int main(){
int n,bombs=0;
cin >> n;
if (n <= 3){
cout << 1;
return 0;
}
while (n>1){
bombs++;
n -= 3;
if (n<1) break;
n += 2;
}
cout << bombs;
return 0;
} | [
"Tines.Valen@student.uib.no"
] | Tines.Valen@student.uib.no |
6c59dd88206eaf95f96a0b67cf14b5409378b6ea | 113b284df51a798c943e36aaa21273e7379391a9 | /RecycleBinGadget/RecycleBinDLL/XWinVer.cpp | 66b005a0e6d295a50f960ba5e7b46f0af3e4fc0f | [] | no_license | ccMatrix/desktopgadgets | bf171b75b446faf16443202c06e98c0a4b5eef7c | f5fa36e042ce274910f62e5d3510072ae07acf5e | refs/heads/master | 2020-12-25T19:26:10.514144 | 2010-03-01T23:24:15 | 2010-03-01T23:24:15 | 32,254,664 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,900 | cpp | // XWinVer.cpp Version 1.1
//
// Author: Hans Dietrich
// hdietrich@gmail.com
//
// Description:
// XWinVer implements CXWinVersion, a singleton class to retrieve
// the Windows OS version. Please see article at
// www.codeproject.com.
//
// History
// Version 1.1 - 2005 March 14... | [
"codename.matrix@e00a1d1f-563d-0410-a555-bbce3309907e"
] | codename.matrix@e00a1d1f-563d-0410-a555-bbce3309907e |
04be74926967b06372f437924eddcc7f761cc73b | 05c7e840adb2c78f54f32415a287160a2e618615 | /57/C/main.cpp | 7fa78ed39fae1e01710a7802de1a3f4ab26a18dc | [] | no_license | n-makoto/competitive-programming | 9d2030beed785c36a6b9ef0551e3e240c794d4d5 | f227e2b5ac975164a6337c8905e4503ebed38379 | refs/heads/master | 2023-04-28T04:50:48.030461 | 2021-05-22T13:32:51 | 2021-05-22T13:32:51 | 359,827,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int cnt_digits(ll N){
int digits = 0;
while(N > 0){
N /= 10;
digits++;
}
return digits;
}
int main() {
ll N;
cin >> N;
int ans = cnt_digits(N); // 制約から、最大で10^10の11が入りうる
// こ... | [
"wwwww.desire@gmail.com"
] | wwwww.desire@gmail.com |
d5f77ac15dc301913d49339bea04f1169f7aee5b | 5a380cbb0e6d5d57c80ae710d8bf5e39b06bfb5e | /Game/boost/boost/mpl/for_each.hpp | 051fa4fd63aad958d5a8d112ec99c6b8a09ced0f | [
"MIT"
] | permissive | jxianglonggg/SourceCodeGameTLBB | afcf222603c20651db02716f8c7dac80f9aa14e8 | e3cea615b06761c2098a05427a5f41c236b71bf7 | refs/heads/master | 2023-05-04T02:25:08.807563 | 2021-05-18T06:02:37 | 2021-05-18T06:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,666 | hpp |
#ifndef BOOST_MPL_FOR_EACH_HPP_INCLUDED
#define BOOST_MPL_FOR_EACH_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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/m... | [
"shacojx001@gmail.com"
] | shacojx001@gmail.com |
c5422715c8b3232fbec0cfc6c52a06f9214fb8a2 | 2b674dfad4f0c58d064421136a24301182e10920 | /include/blaze-2.4/blaze/math/adaptors/uniuppermatrix/Dense.h | 0dfeeb7aaa336bd4bfa8a8a640e6ffe9fa29858b | [
"BSD-3-Clause"
] | permissive | adityaramesh/blaze_benchmark | 6f57352a4d3f2de9a2b35956c2f2f31e7834c018 | 91a9bf4500fcc0e4c5ff435e80026e216deb5ad7 | refs/heads/master | 2020-04-10T01:41:42.341292 | 2015-08-26T14:06:30 | 2015-08-26T14:06:30 | 41,381,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91,359 | h | //=================================================================================================
/*!
// \file blaze/math/adaptors/uniuppermatrix/Dense.h
// \brief UniUpperMatrix specialization for dense matrices
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze l... | [
"_@adityaramesh.com"
] | _@adityaramesh.com |
4369dcdd369a89c1aaf6701854366731eafb2159 | e1bafb9c94db3a6cfd86ce4b3a641e79583220b3 | /leetcode-clion/leetcode-problems/cpp/1203.sort-items-by-groups-respecting-dependencies.cpp | 631622c33bf79a235d57ffd11b019dc45a9af0f3 | [] | no_license | lightjameslyy/lt-cpp | 055b0245ba9cc4608db6a0d08dc081d1c2766ba2 | 525c3f0fbeb4b112361a6650bf3ef445fdb61e2c | refs/heads/master | 2021-07-09T08:32:24.405308 | 2020-06-08T08:45:10 | 2020-06-08T08:45:10 | 128,907,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | /*
* @lc app=leetcode id=1203 lang=cpp
*
* [1203] Sort Items by Groups Respecting Dependencies
*
* https://leetcode.com/problems/sort-items-by-groups-respecting-dependencies/description/
*
* algorithms
* Hard (45.04%)
* Total Accepted: 1.7K
* Total Submissions: 3.7K
* Testcase Example: '8\n2\n[-1,-1,1,0,... | [
"lightjameslyy@gmail.com"
] | lightjameslyy@gmail.com |
884b5a470b5c581e71bf804a9fe0d2b3b160021c | 8536b600ecab102865d65504ba64f7a4f95206a3 | /AtCoder/abc196_a.cpp | 44ad804783a99bcc0f72e990525702c17af76868 | [] | no_license | ikorihn/procon | 361d3b27c13428f891c3624c77ff56ade2490d29 | 20e11f5a81f44e95ac1c93d618e666cc9414f33c | refs/heads/master | 2023-04-14T03:03:11.510636 | 2021-03-28T14:13:28 | 2021-03-28T14:13:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// DEBUG
#ifdef _DEBUG
#define debug(x) cout << #x << ": " << x << endl
#else
#define debug(x)
#endif
// iter
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define REPD(i, n) for (int i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (int i = a;... | [
"16367098+r57ty7@users.noreply.github.com"
] | 16367098+r57ty7@users.noreply.github.com |
e10049e7c0d163947747eecade469643972f71c6 | 7b1ce0bc71d1f8cae4786bb3d4b72d2a7edfece5 | /Advanced-Level-Practice/1065 A+B and C (64bit) (20).cc | a2484f06435372f16d1370aa0f36cd397a0be3ff | [] | no_license | zzzmfps/PAT | ec37bbe044b82503085f4fb8ff16ca373088df34 | 43b626fa15cd695cb4039dec4ee2fa92de681252 | refs/heads/master | 2021-08-07T19:19:52.243006 | 2021-06-24T10:29:19 | 2021-06-24T10:29:19 | 128,376,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cc | #include <iostream>
using namespace std;
static int x = []() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}();
int main(void)
{
int count;
cin >> count;
long long a, b, c;
for (int i = 1; i <= count; ++i) {
cin >> a >> b >> c;
long long tm... | [
"zzz100826@gmail.com"
] | zzz100826@gmail.com |
b80101921b0a026797ed687f9981688e51635fed | 92548377fb4a91af7cc56570242aa3168cc6c9c6 | /BOJ/0To5000/1149_re.cpp | 37e1e4851138c547e03d39d7bd2adee8bc829f5a | [] | no_license | LaLlorona/Algorithms | d993a05f5dbc22850d0f6a061a5f35ecff5f8af3 | 6d02a9552c22acefa58686e909bc8ae0479a6e4b | refs/heads/master | 2023-05-24T17:37:14.993992 | 2023-05-17T05:33:14 | 2023-05-17T05:33:14 | 220,796,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,707 | cpp |
#include <bits/stdc++.h>
using namespace std;
const int MAX = 1001;
int cost[MAX][3];
int num_house;
int accumulate_cost_with_last_color[MAX][3];
void fillAAccumulateCostWithLastColor()
{
for (int i = 0; i < 3; i++)
{
accumulate_cost_with_last_color[0][i] = cost[0][i];
}
for (int i = 1; i < n... | [
"chachaami66@gmail.com"
] | chachaami66@gmail.com |
bd2b5becd8875f0ead2636d749deeaa41be73052 | c9037bebf8c91ed66467833310f400c69bf2e2cf | /src/kinect/KinUIImageButton.h | 60cf12fbe1d1e298e5e2a8dbeb49c127366429d9 | [] | no_license | jturner65/RTQL8KinectLibrary | 9a7728169a6aa6be796c6ce398c67a49e2347c75 | 369882acfdc0de0b3306032311b23dc406ffefc6 | refs/heads/main | 2021-09-08T05:59:39.467660 | 2016-08-03T15:13:22 | 2016-08-03T15:13:33 | 64,855,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,723 | h | /* RTQL8, Copyright (c) 2011, Georgia Tech Research Corporation
* All rights reserved.
*
* Author(s): John Turner <jturner65@gatech.edu>
* Georgia Tech Graphics Lab
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, with or
* without modi... | [
"jturner65@gatech.edu"
] | jturner65@gatech.edu |
0d8b66ce038c59234e5f87cd1b0e8a3db3a33a34 | 10b2d5f2d79f514569ae1fca798f70b9a4879bda | /GameClient/src/GLS/GameLobby.cpp | 3256386c295d4af70b446b765d5ec457a7ccf8f7 | [] | no_license | XuhuiSun95/CardGameOnline | 5cc28eafc966bb6fdc02ee6ceff5caa1d927d85c | 7373428eb00ea449dc12e8dd546d9b509f8bae65 | refs/heads/master | 2023-08-08T18:33:58.961915 | 2018-12-09T07:04:17 | 2018-12-09T07:04:17 | 158,922,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 46,537 | cpp | /**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "GameLobby.h"
GameLobby_sign_up_args::~GameLobby_sign_up_args() throw() {
}
uint32_t GameLobby_sign_up_args::read(::apache::thrift::protocol::TProtocol* iprot) {
ap... | [
"ericsun1995@gmail.com"
] | ericsun1995@gmail.com |
172167e8ece91e5adaae03ba7d76d90a24014d47 | b7a4ed5b2b7dc716e83be3d3e9b31ab95e9b2ac8 | /ICPC/Test/dinic_test.cpp | b4734833307bb9ea71be4557cf74081cfd8a504b | [
"MIT"
] | permissive | zaki-joho/ProconLibrary | 901de7ce8486c4f566d0814b2863a0665b1bb528 | 3a11e506c43522801f878dda2f9845ae83612a4d | refs/heads/master | 2020-04-22T10:34:10.853705 | 2020-04-18T05:22:32 | 2020-04-18T05:22:32 | 170,309,648 | 2 | 0 | MIT | 2019-11-20T05:29:25 | 2019-02-12T11:52:45 | C++ | UTF-8 | C++ | false | false | 364 | cpp | // verify(http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_6_A)
#include<bits/stdc++.h>
using namespace std;
#include"../Graph/dinic.hpp"
int main(){
int V,E;
cin>>V>>E;
Dinic dinic(V);
for(int i=0;i<E;i++){
int u,v,c;
cin>>u>>v>>c;
dinic.add_edge(u,v,c);
}
c... | [
"nikuto@outlook.com"
] | nikuto@outlook.com |
1bd1e2decba47db248095b063b4e84ee2bebe40d | 67e9e75e170e684d1d50f7059d164e1fbf8859a3 | /timeCalibPlugIn.cc | 3c98f83f7005a0ec9cdd04d2e2be4922fdcdc01d | [] | no_license | xuan-sun/DecayAnomaly | e4ea6099716383f4e193170d52393ce2f7215c92 | 5661d8025d9013e320a600d5d39ed7579b893b48 | refs/heads/master | 2021-05-12T04:13:04.556239 | 2018-09-25T23:00:30 | 2018-09-25T23:00:30 | 117,153,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,036 | cc | #include <iostream>
#include <fstream>
#include <TGaxis.h>
#include <sstream>
#include <TGraph.h>
#include <TGraphErrors.h>
#include <TCanvas.h>
#include <TApplication.h>
#include <stdlib.h>
#include <TF1.h>
#include <TH1.h>
#include <TProfile.h>
#include <TObjArray.h>
#include <TStyle.h>
#include <TMark... | [
"xuan.sun1@gmail.com"
] | xuan.sun1@gmail.com |
78ca8ae13745f8d6348be8d461bea56eda7f746c | 963b973676b191be96669530d9f3681611856d56 | /SnippetHelloWorld.cpp | cca6afed47918adefb94e80e616b08a6357351d1 | [] | no_license | tomabsn/Math_and_Physics | 52d38ef480d2a6cbb6fdfb91567d88cbeb5ddcb1 | cbe2d3755edbbf95e054b5154c1d9509dde89cde | refs/heads/master | 2022-12-24T03:09:50.320495 | 2020-09-22T19:01:37 | 2020-09-22T19:01:37 | 297,708,232 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,004 | cpp | //
// 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 following disclaimer.
// * Redistributions in bin... | [
"thomas.besson28@gmail.com"
] | thomas.besson28@gmail.com |
1b956ef33610b28cdcf33e98a4c913544bd7b8ad | 80a42d79abb1e125eb79e8cb92e165c06260bec2 | /tensorflow/compiler/tf2xla/kernels/gather_op_helpers.h | 4e8d505e12ff7f377de44e1c077a34d6311fd662 | [
"Apache-2.0"
] | permissive | priyanshu-max/tensorflow | fcd46161df99d7a9a1fa84a35616a8f117e62c45 | 5e97d96c809232a716d6b04ec9b128ebaf1b73f7 | refs/heads/master | 2022-12-24T18:41:23.654850 | 2020-10-01T04:17:52 | 2020-10-01T04:17:52 | 300,138,430 | 0 | 0 | Apache-2.0 | 2020-10-01T04:12:14 | 2020-10-01T04:12:13 | null | UTF-8 | C++ | false | false | 1,663 | h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
1bf390d3aca302a25b87931d64c57bf63557742b | e6c80d747be1496b9c0ebcc8a8bc33bd64eb17dd | /Codes/C++ Programs/Others/Addition operator in cout.cpp | 029d833b81e7234ab170e978ca8590d2c1fb401a | [] | no_license | developersbk/Universal_Code_Snippets | 56b25fb43cc2c67113e97e691cc48f8a0b0193f6 | 0001535476a5743c0557c5ce2c3ffc13c6ee8791 | refs/heads/master | 2023-02-24T08:16:57.240264 | 2020-02-29T01:21:46 | 2020-02-29T01:21:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | Addition operator in cout
#include <iostream>
using namespace std;
int main(void)
{
int total, added, dropped;
cout << "Enter total: ";
cin >> total;
cout << "Enter added: ";
cin >> added;
total = total + added;
cout << "Enter dropped ";
cin >> dropped;
total -= dropped;
cout << "Number: "... | [
"sbkannath1996@gmail.com"
] | sbkannath1996@gmail.com |
5f2ab17f6ad3a6c1b1f3ac99cb5099c6e29d6554 | 56e9d78b4c44b601eefeb7c2f7fc5a3aabde2084 | /test/FSeamSingletonTestCase.cpp | 8ddcb42ec9f6ad5f40260245979ac01a45133e8f | [
"MIT"
] | permissive | jenisys/FSeam | 1262caf7a4d3cfd107477cbbac3a4a63264af70d | 190e286a66d2d4ab8e9888e6c3bde8ee7d927233 | refs/heads/master | 2022-11-24T07:11:39.901801 | 2020-02-18T09:28:39 | 2020-02-18T09:28:39 | 282,304,785 | 0 | 0 | MIT | 2020-07-24T19:55:15 | 2020-07-24T19:55:14 | null | UTF-8 | C++ | false | false | 3,586 | cpp | //
// Created by FyS on 3/24/19.
//
#include <catch2/catch.hpp>
#include <iostream>
#include <any>
#include <TestingClass.hh>
#include <FSeamMockData.hpp>
TEST_CASE("Test Singleton") {
source::TestingClass testingClass {};
REQUIRE_FALSE(FSeam::MockVerifier::instance().isMockRegistered(&testingClass.getDepGett... | [
"ballandFyS@gmail.com"
] | ballandFyS@gmail.com |
a44814d3524484cacb899b1fdd0a1f13ead7bd26 | 09db5fb9f7833057ec3ff8be9df15f7394858ba2 | /RandomWorld/main.cpp | 49ed1e2a3c4e041900b4320e9005240b184ddb41 | [] | no_license | TimelyToga/SpacerFloater | 853ea8a8bca7b54c880171a77b5481c67d2c9023 | 7b6aa41b00e42cb9eab28d0a74bc9da7ef9776f8 | refs/heads/master | 2021-01-12T10:27:53.789474 | 2016-12-18T18:58:08 | 2016-12-18T18:58:08 | 76,462,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | cpp |
//
// Disclaimer:
// ----------
//
// This code will work only if you selected window, graphics and audio.
//
// Note that the "Run Script" build phase will copy the required frameworks
// or dylibs to your application bundle so you can execute it on any OS X
// computer.
//
// Your resource files (images, sounds, fon... | [
"tblumberg39@gmail.com"
] | tblumberg39@gmail.com |
dddebef3679a8c45a315885c9aff909d3c0ddea6 | dc7d2c124276f26520b0034409d76834c80376b0 | /src/EdgeDistanceFieldTraking.cpp | 340fbb7a84496337108713a76b84dae3ea551229 | [] | no_license | Chanchanhan/QH-Edge-Detector | df7e0e0931518a2466f2bbc4e72c0cd2c6f84b4b | 91c030497dcb440da53c99301684c539046cda63 | refs/heads/master | 2021-05-16T10:27:04.708505 | 2017-11-22T02:51:24 | 2017-11-22T02:51:24 | 104,700,111 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,221 | cpp | #include <fstream> //C++
#include <iostream>
#include<glog/logging.h>
#include <opencv2/highgui.hpp>
#include <opencv2/calib3d.hpp>
#include<Eigen/Dense>
#include<Eigen/Core>
#include<Eigen/Geometry>
#include"sophus/so3.h"
#include"sophus/se3.h"
#include "POSEST/include/posest_edft.h"
#include "POSEST/include/pos... | [
"qqh717@163.com"
] | qqh717@163.com |
cee51d5163e6826ac3df2cc75277f7163aedbe63 | 15cac3aea250d7272e4c955b41542ef413b8c817 | /uva438.cpp | 5f2bdb8b3ec81a1d535823d8bdd160efa57f63c0 | [] | no_license | JFMACS/Algorithm-UVA | d30b19ad04561d588b951ed1209b2ab9250b854f | e931c05d5edb96e164f24677a174cbaa236d339d | refs/heads/master | 2020-03-16T06:47:03.789891 | 2018-08-09T14:48:07 | 2018-08-09T14:48:07 | 132,562,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | #include <iostream>
#include <cstdlib>
#include <math.h>
#include <cstdio>
#include <cstring>
using namespace std;
int main()
{
double X1,Y1,X2,Y2,X3,Y3;
double pi = 3.141592653589793;
while( cin>>X1>>Y1>>X2>>Y2>>X3>>Y3 ){
double a = pow( ( (X2-X1)*(X2-X1)+(Y2-Y1)*(Y2-Y1) ) , 0.5 );
doubl... | [
"xrf1104157638@gmail.com"
] | xrf1104157638@gmail.com |
e90689486e02dd076025cf81a7e20ac9d7bc00bf | 4218cc8ea49bd0244c78db7282b792d54488d0f2 | /Pelatda/ekspresee.cpp | 42bdce5e88a5e442e78f3a5d2d4d51df56f0561a | [] | no_license | irff/cp-codes | 436678ce0d1939e6103c983eb1907078df391808 | 5c0c3a7710fff48751b4307f3ad0f135d25ea180 | refs/heads/master | 2020-03-29T14:36:34.904213 | 2014-10-19T18:27:02 | 2014-10-19T18:27:02 | 25,435,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,833 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include <stack>
#include <vector>
using namespace std;
char s[1000];
int ctr = 1;
vector<char> op;
vector<string> eks;
string oa[1000], oi[1000];
char oper[1000];
void evaluate() {
string bawah = eks.... | [
"triahmad1996@gmail.com"
] | triahmad1996@gmail.com |
a3d45f8602f50f4002dd07b8ef816da1d3e0128a | 235d98d705ddfd46d51d0ac7461dd10f032e60dd | /include/Array.h | bfd6b9f9e315674f54113de42692ccf9f0be214b | [] | no_license | larsiusprime/hxcppmonkeypatch | dfae25c0e83b6d20ab90667fa3e4a0aa826e3c00 | b3f1cf01226bee872fdb800b12e9cf8c34d543fa | refs/heads/master | 2021-01-09T06:08:53.189590 | 2016-06-16T02:59:49 | 2016-06-16T02:59:49 | 61,245,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,085 | h | #ifndef HX_ARRAY_H
#define HX_ARRAY_H
#include <cpp/FastIterator.h>
// --- hx::ReturnNull ------------------------------------------------------
//
// Provides an "Null<Object>" of given type. For types that can't actually be null, Dynamic is used.
namespace hx
{
template<typename T> struct ReturnNull { typedef T ... | [
"lars.doucet@gmail.com"
] | lars.doucet@gmail.com |
3fc835c43af0dba6990a4f4b2294e0a902d67eb2 | f7f7e9cb766954a1362b7de3e0dfc33981d62509 | /examples/types.cpp | 2a01b46d42cbb53bb03a693c92b9577a5032d038 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | khanley6/matplotlib-cpp | c1b23812bc879c3fd3f146f18e139582cd7f98d0 | d50b086cf59266689218aec5449d9620f65f73dd | refs/heads/master | 2020-05-14T08:06:06.769492 | 2019-07-27T16:24:06 | 2019-07-27T16:24:06 | 181,715,255 | 0 | 0 | null | 2019-04-16T15:18:02 | 2019-04-16T15:18:01 | null | UTF-8 | C++ | false | false | 1,353 | cpp | #define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>
#include <matplotlibcpp.h>
#include <vector>
#include <xtensor/xbuilder.hpp>
#include <xtensor/xtensor.hpp>
namespace plt = matplotlibcpp;
std::vector<double> get_yv(std::size_t len) {
std::vector<double> res(len);
for (std::size_t i = 0; i < le... | [
"kennethhanley@gmail.com"
] | kennethhanley@gmail.com |
2b56083e788f5b2bec89db0278296e3bd858acb8 | 94b2820d3c9673ad2c0dc6d3f3f6383dcb0af8ad | /day01/ex02/ZombieEvent.hpp | ce3ad4b5ca884a2cc1ccf4ad8ff99a107c6dcec0 | [] | no_license | yorncl/piscinecpp | 1e054ddd270df664341c4da1ab4286365a89788c | 080d94e7e8a914ccbdffd197a89aa5ce73460cce | refs/heads/master | 2021-04-14T03:21:34.258099 | 2020-12-12T17:10:25 | 2020-12-12T17:10:25 | 249,203,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | hpp | #if !defined(ZOMBIEEVENT_HPP)
#define ZOMBIEEVENT_HPP
#include <cstdlib>
#include <string>
#include "Zombie.hpp"
class ZombieEvent
{
public:
ZombieEvent();
~ZombieEvent();
private:
std::string type;
public:
void setZombieType(std::string type = "default");
Zombie* newZombie(std::string name = "ABCDEF");
void ... | [
"yornclaudel@gmail.com"
] | yornclaudel@gmail.com |
a86226d56109aa174c435f6a7feff502bca258b6 | 7260cc03d54121746ec72d2163842ca52ae4dba9 | /002. Add Two Numbers.cpp | 1b58e0662b40eecefd033bee834c886f46621452 | [] | no_license | cindywang319/leetcode | cff22a999d58ab13c14409732ede926b5291dda9 | c30951d4eae76658722f3ae0f62455930aa11a51 | refs/heads/master | 2021-01-21T04:38:52.527646 | 2016-06-05T01:03:16 | 2016-06-05T01:03:16 | 19,002,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {
ListNode* result = new ListNode(0);
ListNode* curr = result;
... | [
"wxyeecs@gmail.com"
] | wxyeecs@gmail.com |
fc13d4c87b46f1b600a230989a9acd4f9d979390 | 32ac6dabcc8b2c872e03a8fedf2801dba76863ea | /Src/Communication/SerialPort/SerialConnection.cpp | 9e6e9c02b1c63592db0ed223f7160528fb8064c5 | [] | no_license | CharanKoyalkar484/RoboRescueCproject | cf061e063942514062c06633922872f1dc84e032 | f5e658468f4f3282f045e3afb60e944255adc06d | refs/heads/master | 2021-02-18T04:03:29.210397 | 2020-04-13T07:14:40 | 2020-04-13T07:14:40 | 245,157,866 | 0 | 0 | null | 2020-04-13T07:14:41 | 2020-03-05T12:30:08 | C++ | UTF-8 | C++ | false | false | 1,197 | cpp | #include "SerialConnection.h"
#include <iostream>
SerialConnection::SerialConnection(asio::io_service& service):
asio::serial_port{ service },
service{ service }
{
}
SerialConnection::~SerialConnection()
{
cancel();
close();
}
bool SerialConnection::open(std::string portname, int baudRate)
{
system::error_code er... | [
"kjeld.perquin@student.hu.nl"
] | kjeld.perquin@student.hu.nl |
91eda53cba122885c8d8d8a9f6ba144ffca7678a | c47f85f33897c32b41dfd79eb9ecc34fcc0fe2c6 | /QTModules/miAnnotation/qSlicermiAnnotationModule.cxx | 120131e213be50d76a46a84663df5d16650ec872 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-3dslicer-1.0",
"BSD-3-Clause"
] | permissive | pieper/ModelDraw | 1193b716209fdac6a38d48d42a8b9ffcf067a43c | 2ec77974b2c1a8f666704957be854877238e0f0c | refs/heads/master | 2020-05-21T00:19:35.884629 | 2015-06-25T08:42:14 | 2015-06-25T08:42:14 | 2,093,941 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | cxx | #include "qSlicermiAnnotationModule.h"
// SlicerQT includes
#include "qSlicermiAnnotationModuleWidget.h"
#include "vtkSlicermiAnnotationModuleLogic.h"
// QT includes
#include <QtPlugin>
//-----------------------------------------------------------------------------
Q_EXPORT_PLUGIN2(qSlicermiAnnotationModule, qSlicer... | [
"pieper@bwh.harvard.edu"
] | pieper@bwh.harvard.edu |
9e8921fdc0bda3df2da3cbfc5be8768ee614a920 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp | 68613671bc79c512bbf14f14da34bdfd9be0d59c | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:9fbcc4a587492c3474c60d2e9564e24a16a78776afdcecb6960d24df0e17b851
size 2055
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
6b70c3edb18606f2b686c4f8c8463bd51dca393c | 9c7d7a16d708094f2f398491b229f3e10f692f7e | /Graphic/3D/Scene.cpp | d85f4748d52d89007ea9f96698b32fd922c91d40 | [] | no_license | MyLastWish/Mapper | fbb652e32ec042fd6f5b2ce45a92754215b2c7d5 | 617ed3a7343764da0ddf0a66d0c5d5cc73f5599c | refs/heads/master | 2020-12-29T20:50:32.834962 | 2020-04-24T15:54:08 | 2020-04-24T15:54:08 | 238,726,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | cpp | #include "Scene.h"
Graphic::Graphic3D::Scene::Scene(Graphic::Graphic3D::Camera* cam, Graphic::Shader* shader) : _camera(cam), _shader(shader)
{
}
void Graphic::Graphic3D::Scene::Add(std::vector<Graphic::Graphic3D::Drawable*> vec)
{
for(int i = 0; i < vec.size(); i++)
{
if (vec[i] == nullptr)
{... | [
"aka.adamka@gmail.com"
] | aka.adamka@gmail.com |
154fff4318528428303b9473e38a9971309372c6 | 6e79cb7dcaea6a31d44f0c2656f5c94781f79596 | /ClickGame/Object/BGetc/BGetc.cpp | 6e0347506ef09c5ee4fdcc48a1b96cb78e26a6ca | [] | no_license | nakamura106/ClickGame | 668f223d92cc2105923e3943c074e279fbbf4151 | 757db6776c859ce97c646ec6a80a04b4eb0c4edf | refs/heads/main | 2023-01-14T23:00:20.454737 | 2020-11-11T09:31:58 | 2020-11-11T09:31:58 | 311,252,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include "BGetc.h"
Object::Object()
{
bgetc_info.pos["BG"] = D3DXVECTOR2(0,0);
}
Object::~Object()
{
}
void Object::Init()
{
}
void Object::Update()
{
}
void Object::Draw()
{
}
| [
"shun.1031.iphone@icloud.com"
] | shun.1031.iphone@icloud.com |
fc01a20c7368643979d0a62a4a543f9ffc1790ee | b3439873c106d69b6ae8110c36bcd77264e8c5a7 | /server/Common/Packets/GCLevelUpResult.h | ba2c22a25925d2e3df6592f233a4aefe4320c7de | [] | no_license | cnsuhao/web-pap | b41356411dc8dad0e42a11e62a27a1b4336d91e2 | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | refs/heads/master | 2021-05-28T01:01:18.122567 | 2013-11-19T06:49:41 | 2013-11-19T06:49:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,805 | h | #ifndef _GC_LEVELUP_RESULT_H_
#define _GC_LEVELUP_RESULT_H_
#include "Type.h"
#include "Packet.h"
#include "PacketFactory.h"
namespace Packets
{
class GCLevelUpResult: public Packet
{
public:
GCLevelUpResult() {};
~GCLevelUpResult() {};
... | [
"viticm@126.com"
] | viticm@126.com |
3d01c081b49a0b2dfd812e6dde616efee19d57e8 | bd7d4cbf62e25c958ce2a028835e754f4011ec77 | /04. Searching & Sorting/23. K-th element of two sorted Arrays.cpp | 215b21edc35a23d1afd8ac91803e705a1afd06ee | [] | no_license | sahilgoyals1999/Love-Babber-DSA-450 | fa1d817d2d2a5fec8fb179a1cf2d0b0b063e43c9 | 0052da206aca196ef8e5b043b6e70ea736aef3f7 | refs/heads/main | 2023-04-10T00:08:13.067069 | 2021-04-19T11:48:14 | 2021-04-19T11:48:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | // https://practice.geeksforgeeks.org/problems/k-th-element-of-two-sorted-array1317/1
// T.C => O(log(n)+log(m)), S.C => O(1)
int kthElement(int a[], int b[], int m, int n, int k) {
if (k > (m + n) || k < 1) return -1;
// let m <= n
if (m > n) return kthElement(b, a, n, m, k);
// Check if a is empty returning k-t... | [
"sahilgoyals1999@users.noreply.github.com"
] | sahilgoyals1999@users.noreply.github.com |
be6928cac79b16fa85ff0ed9fb1373b895e2b636 | 5bce50606bf15ceb2cb7f8e333396fff4686f5b1 | /Lab2/Lab2/leaker.cpp | 16d90174a82f5ba2f838bfa60d37e75d09061ef0 | [] | no_license | benjamin051000/COP3503-Labs | 2b41bce22448ac42a34f816424cf41eb16edbcc8 | a9e90c2dec4d3ec31154675aa6fa1b55ff278a5f | refs/heads/master | 2023-06-23T16:58:44.900938 | 2018-12-03T21:58:15 | 2018-12-03T21:58:15 | 388,290,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,980 | cpp | /*
* Leaker.c - the Leaker memory leak detection package
*
* Copyright 2011 by Dara Hazeghi
*
* See README.txt or http://http://left404.com/leaker/ for more information.
* Special thanks to Marshall Thomas for many of the ideas implemented here.
*
* This program is free software; you can redistribute it and/or... | [
"benjaminwheeler@ufl.edu"
] | benjaminwheeler@ufl.edu |
8c5ca078cdb3f4ccc8f799106552fb3c6c674759 | 2fb19bc9aaa85b70a4ec8d0e1881dff688ae794b | /Codeforces/codes/1328/1328E.cpp | 63a97bbe2af6bdec15b2cd7a5ad8dae347bf1284 | [] | no_license | preritpaliwal/Competitive-Programming | 8f2b4f78006b7e7e8df02b04df681099d2effc77 | 805744f7b4d50ee621884f5280f9ef8779bb6866 | refs/heads/master | 2023-06-27T12:51:18.436807 | 2021-07-30T10:10:24 | 2021-07-30T10:10:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cpp | #include<bits/stdc++.h>
using namespace std;
#define mod 1000000007
#define crap ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define lli long long
#define pa pair<int,int>
#define pal pair<lli,lli>
#define vi vector< int >
#define vli vector< lli >
#define vpa vector< pa >
#define vpal vector< pal >
#define fi... | [
"kousshikraj.raj@gmail.com"
] | kousshikraj.raj@gmail.com |
6bfcecc9e222d8c0c2facc1be8fc373cfbcd30bd | f59abf2444671c8b1cbf6881499a6a0983a6b678 | /video-master/CXStreamer/common/websocketserverimplcfwk.cpp | 33ed3ba2d5518858eb3e670d54391f1255ba06df | [] | no_license | zhaopengabc/MVR | aa1e95a6fe2289e35c9b44c7870d1a76c1cc37da | 8c0919593b970c73020e2f662dcaf4b8b1605d5d | refs/heads/master | 2023-02-05T09:22:58.324066 | 2020-12-29T02:30:06 | 2020-12-29T02:30:06 | 319,181,211 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,243 | cpp | #include "websocketserverimplcfwk.h"
#include "cf_threadpool/cf_threadpool.h"
#include "cf_allocator/cf_allocator_simple.h"
#include "cf_json/cf_json.h"
#include <stdio.h>
#include <algorithm>
WebSocketServerImplcFWK::WebSocketServerImplcFWK(uint16_t port)
{
pthread_mutex_init(&cli_list_mutex,NULL);
ws_server ... | [
"zhaopenggong@163.com"
] | zhaopenggong@163.com |
1b51a780f5aefcf9d2e0285ca940af31357338d3 | 4070e129fde6022140a7a86c1d778103bc9dbae9 | /tensorflow/cc/gradients/array_grad.cc | 0160afaef12c31ff34623240886f913b747f3231 | [
"Apache-2.0"
] | permissive | nanditav/15712-TensorFlow | e45e96c23b66699011adb50e5b125050a6a5800f | 1eff647e8b9f3a5e7529a18cb5b461137e92e0d0 | refs/heads/master | 2022-12-05T03:38:22.422834 | 2016-12-01T17:54:44 | 2016-12-01T17:54:44 | 73,563,026 | 0 | 2 | Apache-2.0 | 2022-11-23T14:50:14 | 2016-11-12T16:09:15 | C++ | UTF-8 | C++ | false | false | 2,587 | cc | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
5a27f242981a76a61ea391981fefd3330df85ec8 | 73787a734b04586db054d9a71d3870bb6ac6e49a | /第三章/3.1-简单模拟/B-A+B/2021.2.28.cpp | 441f7a4aeff9261ef9a75a8ef716297caebcb9cb | [] | no_license | nanashi100/Codeup_Coding | 4d83950ce5c284e20c8ec9f2b4584b9bf409f713 | 5bee75db7b1dea3a8531579b310cc5bb55b80c6e | refs/heads/main | 2023-03-27T16:58:36.690377 | 2021-03-27T02:05:10 | 2021-03-27T02:05:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
using namespace std;
const int maxn = 10010;
int strToInt(char str[]){
int sign = 1, i = 0;
if ( str[0] == '-' )
{
sign = -1;
i = 1;
}
int num = 0;
while ( str[i] != '\0' )
{
if ( str[i] == ',' )
{
i++;
continue;
}
else
{
num = n... | [
"chenjian19990211@163.com"
] | chenjian19990211@163.com |
4868031c9170dd3ffc3dc0a8caaedea71c7fd21c | 1f12403719cbfa1b98300442e790ae7b0cb27639 | /app/src/main/cpp/face-detect-album.cpp | c5ca52cec399661e8bdd6af5d846e596154914ae | [] | no_license | realizer12/speak-english | 25501efc1110f6e81438df23c6e4be8c4ca37c4b | 22a65d768ba5ca91f5b8bcbe9f229c3a364cba63 | refs/heads/master | 2022-04-14T02:05:40.805980 | 2020-04-13T12:25:18 | 2020-04-13T12:25:18 | 255,316,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,065 | cpp | //
// Created by leedonghun on 2019-08-21.
//
#include "com_example_leedonghun_speakenglish_FaceDetectionAlbum.h"
#include <string>
#include <opencv2/opencv.hpp>
#include <android/log.h>
using namespace cv;
using namespace std;
float resize(Mat img_src, Mat &img_resize, int resize_width){
float scale = resize_wi... | [
"dlwldlwldus123@gmail.com"
] | dlwldlwldus123@gmail.com |
839ae0ea6014d516feb8c0bea22c9910e53cb417 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /ui/gfx/mojom/color_space_mojom_traits.cc | 83bd45176073aadfc613f9cdb2ebf0f634aae33c | [
"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 | 971 | cc | // Copyright 2018 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 "ui/gfx/mojom/color_space_mojom_traits.h"
#include "base/stl_util.h"
namespace mojo {
// static
bool StructTraits<gfx::mojom::ColorSpaceDataVi... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
e52fefd56aed13f7359cc886ae06e28c51f79951 | 682a576b5bfde9cf914436ea1b3d6ec7e879630a | /components/document/src/odf/OpenDocument.h | f38b43b30715524192f0b57c8af15cf24223d96c | [
"MIT",
"BSD-3-Clause"
] | permissive | SBKarr/stappler | 6dc914eb4ce45dc8b1071a5822a0f0ba63623ae5 | 4392852d6a92dd26569d9dc1a31e65c3e47c2e6a | refs/heads/master | 2023-04-09T08:38:28.505085 | 2023-03-25T15:37:47 | 2023-03-25T15:37:47 | 42,354,380 | 10 | 3 | null | 2017-04-14T10:53:27 | 2015-09-12T11:16:09 | C++ | UTF-8 | C++ | false | false | 2,152 | h |
#ifndef UTILS_SRC_ODT_H_
#define UTILS_SRC_ODT_H_
#include "SPCommon.h"
#include "SPString.h"
#include "SPMemory.h"
namespace opendocument {
using namespace stappler::mem_pool;
using Buffer = stappler::BufferTemplate<Interface>;
class Node;
class MasterPage;
enum class DocumentType {
Text, // application/vnd.oa... | [
"sbkarr@stappler.org"
] | sbkarr@stappler.org |
0bd1ee4848bac709d1a4fde37eb2ca83c8d8a1a2 | 31269bf768105401fcdc0c1fe58eb7bb3bfecda0 | /Helper_Function.h | 70472959900727c406445ab7409486af7e8e2714 | [] | no_license | baihuqian/TenderSimulator | b772384acb1554d70a561144a98e270d90dbe893 | 8eeaab22b8b651e6389956b2d582227feaba3ac4 | refs/heads/master | 2021-01-10T21:27:22.031935 | 2014-07-21T01:56:30 | 2014-07-21T01:56:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #ifndef __HELPER_FUNCTION__
#define __HELPER_FUNCTION__
#include "StdAfx.h"
//std::vector<double> & Get_Average(std::vector<double> input, int choice);
double *Get_Average(double *input, int item, int choice);
int cnm(int n, int m);
int round(double a);
int Find_Winner(double *input, int input_size, double bas... | [
"baihuqian@gmail.com"
] | baihuqian@gmail.com |
594593de5b0670829bfd0fd909e7051d4b138526 | 8a07382a97cb50db212013e8a56816cfba8fc3d1 | /src/common/mathutil.cpp | dbf21b4185885387f25cb8cdfb33a807128e8d5b | [] | no_license | Patrick6289/navguide | 979ee936bf309ce25ad24e5bbb0ba1f89a7a7886 | cfae1c4b7b9228d009b6e7e71c3d6a1ee17462c0 | refs/heads/master | 2021-01-22T03:09:03.615062 | 2010-10-03T15:28:48 | 2010-10-03T15:28:48 | 34,477,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,415 | cpp | #include "mathutil.h"
#define TWOPI_INV (0.5/PI)
#define TWOPI (2*PI)
/** valid only for v > 0 **/
static inline double mod2pi_positive(double vin)
{
double q = vin * TWOPI_INV + 0.5;
int qi = (int) q;
return vin - qi*TWOPI;
}
/** Map v to [-PI, PI] **/
inline double mod2pi(double vin)
{
if (vin < 0... | [
"olivier.koch@acb47470-2c2a-11df-bd14-c1e331e6ceac"
] | olivier.koch@acb47470-2c2a-11df-bd14-c1e331e6ceac |
d5c4a48d7de35f71e5f2e4de65755d9e85e0c67b | ce52da61ce78ea118704f448b913c7a9f25ecb45 | /include/fcppt/cast/to_signed_fun.hpp | a5380eab8963a8ce91bfa1edbfa11f59d4deb925 | [
"BSL-1.0"
] | permissive | amoylel/fcppt | 430ed13389e65ea59ade23794ec1476594d2713d | 272d130992d8c6e591616a792f28b22b047a2b16 | refs/heads/master | 2021-01-18T01:02:50.510638 | 2015-07-26T17:47:39 | 2015-07-26T17:47:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | hpp | // Copyright Carl Philipp Reh 2009 - 2015.
// 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 FCPPT_CAST_TO_SIGNED_FUN_HPP_INCLUDED
#define FCPPT_CAST_TO_SIGNED_FUN_HPP_INCLUDED
#incl... | [
"carlphilippreh@gmail.com"
] | carlphilippreh@gmail.com |
81427b2d450b7c7543d0ed522f839c6d88cec5d5 | 52507f7928ba44b7266eddf0f1a9bf6fae7322a4 | /SDK/BP_MaleEyebrow03_classes.h | e2048492f5412607de80592ed29ae82dd51ed275 | [] | no_license | LuaFan2/mordhau-sdk | 7268c9c65745b7af511429cfd3bf16aa109bc20c | ab10ad70bc80512e51a0319c2f9b5effddd47249 | refs/heads/master | 2022-11-30T08:14:30.825803 | 2020-08-13T16:31:27 | 2020-08-13T16:31:27 | 287,329,560 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | h | #pragma once
// Name: Mordhau, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BP_MaleEyebr... | [
"51294434+LuaFan2@users.noreply.github.com"
] | 51294434+LuaFan2@users.noreply.github.com |
2079a4728a77d2565c5d2ace35374c3a8328815f | 713e9d95b4d40dce86b71fea65a3316bc2dbf581 | /hdtSSEUtils/StringImpl.cpp | d152d6607dc6410b2ca2dcb8537d39f35b2925bf | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ericncream/hdtSMP64 | 0401844268739ad0b563fe435962d07c701c1235 | 495e6ced3ba6fa80d75f95e4e2e0d883ce16650f | refs/heads/master | 2021-04-19T22:55:45.280206 | 2020-05-06T09:45:12 | 2020-05-06T09:45:12 | 249,638,538 | 2 | 0 | MIT | 2020-03-24T07:16:43 | 2020-03-24T07:16:42 | null | UTF-8 | C++ | false | false | 1,873 | cpp | #include "stdafx.h"
#include "StringImpl.h"
#include <algorithm>
namespace hdt
{
StringImpl::StringImpl(size_t hash, std::string&& str)
: m_hash(hash), m_str(std::move(str))
{
m_refCount = 0;
}
StringImpl::~StringImpl()
{
}
void StringImpl::retain()
{
m_refCount.fetch_add(1);
}
void StringImpl::rel... | [
"hydrogensayshdt@gmail.com"
] | hydrogensayshdt@gmail.com |
a0714b654e562a5bf4fd4d666ec86e5f945b1a0f | f2c113f4bfa9b6179784cbbb15edf063318f34d3 | /LnB/Source/LnB/AI/BaseEnemy.h | 7cc511fc14e358d9d461f36fbec36499de33069e | [] | no_license | calebsmth54/LeadNBrimstone | 7447d7e542bf2d203222fefaa4075d8672008a99 | b58b2a3cc484b04e645b24327867d57e0f7dee2a | refs/heads/master | 2021-01-01T04:15:35.305613 | 2018-01-09T07:07:30 | 2018-01-09T07:07:30 | 97,155,318 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,512 | h | //=============================================================================
// Shown here with permission from Waden Kane Game Studios, LLC.
//=============================================================================
#pragma once
#include "Base/LnBCharacter.h"
#include "BaseAIController.h"
#include "BaseEnemy... | [
"calebsmth54@gmail.com"
] | calebsmth54@gmail.com |
6486234cc51383b9c9b3e77c078bd3526b26cec1 | e4a6238014f6522ed5c2bc15e85e1012bf1e9514 | /18-Priority-Queue/02-TopK/Solution.cpp | 36216483d6f0d44a0e5b279becd4a19a562fe9f0 | [] | no_license | jiangyang118/Play-Algorithms-and-Data-Structures-CPP | dcd527a1ee778047592b1ae0dd575b43a15ed902 | 03b9872071c1da6f514207b87a0b224e834c9f8b | refs/heads/main | 2023-04-25T07:55:42.697351 | 2021-05-17T17:20:48 | 2021-05-17T17:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,673 | cpp | /// 剑指 Offer 40
/// https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof/submissions/
#include <vector>
#include <iostream>
using namespace std;
class Solution {
private:
template<typename T>
class Array
{
private:
T* m_data;
int m_size;
int m_capacity;
friend ostream& operator<<(ostream& os, ... | [
"ywj123450@gmail.com"
] | ywj123450@gmail.com |
d88c57600a416e82dee339b430f4e8fa11c17b66 | 48b2e955f8b83972f8ec386afb4ef9b8e3c641b2 | /src/fileeditfactory.h | b16fd1f025b49829b40a86e1e24757c07f3492ab | [] | no_license | pengyun1314123/QtPropertyBrowser | eb4314f4d0647742547f4100b1461617d58107c4 | b3b125867b71f2348ecf8e4fd0f4b3f70b30a10d | refs/heads/master | 2022-08-10T01:35:49.442893 | 2020-05-21T01:21:42 | 2020-05-21T01:21:42 | 265,166,978 | 0 | 0 | null | 2020-05-19T06:43:29 | 2020-05-19T06:43:28 | null | UTF-8 | C++ | false | false | 2,077 | h | /****************************************************************************
**
** Copyright (C) 2006 Trolltech ASA. All rights reserved.
**
** This file is part of the documentation of Qt. It was originally
** published as part of Qt Quarterly.
**
** This file may be used under the terms of the GNU General Public Lic... | [
"pengyun1314123@126.com"
] | pengyun1314123@126.com |
e1f6baf0301a633073e7d9774f3479f145d6ae70 | 037b3e6bb59ab23a13178c4466628a14b9dd3f01 | /felicia/python/type_conversion/protobuf.h | 79718ba1d14259fe793abfee9bfc648bb31ec248 | [
"BSD-3-Clause"
] | permissive | hyunjunekim/felicia | ce8ec8c8802f5008f85acc0caf7ccc19cd86c3ad | 3b5eeb5f93c59c5364d3932bc407e054977aa1ec | refs/heads/master | 2022-04-01T03:22:18.649612 | 2019-12-10T16:24:54 | 2019-12-10T16:24:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,835 | h | // Copyright (c) 2019 The Felicia 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 FELICIA_PYTHON_TYPE_CONVERSION_PROTOBUF_H_
#define FELICIA_PYTHON_TYPE_CONVERSION_PROTOBUF_H_
#if defined(FEL_PY_BINDING)
#include "pybind11/... | [
"chokobole33@gmail.com"
] | chokobole33@gmail.com |
230cd1bd3467e2f46c529ce8f7f20bdfa1585580 | d21d730f4258d8cd03ffb3b85330b7fdd32401a7 | /AsioTest/JACKSoundSystem.cpp | b966b77359ad49b05dbbad80f33df2de170ae0e6 | [] | no_license | dcsch/asiotest | a70aae5b73e4c98acdeb6fe8b1cdbffd6b68ec71 | d19e349232aed25397a28c42ac2e6fae7b4edb7f | refs/heads/master | 2021-01-02T08:33:38.945055 | 2012-08-13T00:42:22 | 2012-08-13T00:42:22 | 5,141,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | cpp | #include "common.h"
#include "JACKSoundSystem.h"
namespace CMI
{
JACKSoundSystem::JACKSoundSystem(const std::string &clientName) : SoundSystem(), _clientName(clientName), _client(0)
{
}
JACKSoundSystem::~JACKSoundSystem()
{
}
void JACKSoundSystem::Initialise()
{
SoundSystem::Initialise();
_client = jack_cl... | [
"david.schweinsberg@gmail.com"
] | david.schweinsberg@gmail.com |
7db182d65a89e96645496c35b5718d1427a5208b | 8411053aa6dd152430d03e39904b24628108099e | /gfg/113/main.cpp | b7ebfcb659fed80f070965de6c1315c820750e16 | [] | no_license | AemieJ/competitive | f772652842543adfa727bec7c62f5c82c79e466c | b7daf8a4b3b13a3172f26a102c57c7dc614eb681 | refs/heads/master | 2021-07-16T03:11:18.844869 | 2020-09-14T09:32:57 | 2020-09-14T09:32:57 | 207,702,150 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;//testcases
for(int i=0;i<t;i++)
{
long long n; //input a number n
cin>>n;
if(n<=0) // if n is less than equal to zero then it can't be a power of 2
{
cout<<"NO"<<endl; //so we print No... | [
"aemie.j@hotmail.co.uk"
] | aemie.j@hotmail.co.uk |
26d372e3fb3403649f31015477d9594aaee3cdbb | 2f09d6beab799f3cc9b2e61e9a7cb39d4867fdca | /uppsrc/Core/LocalProcess.h | d04a3c7b2e5663f6200b93a3b07b24df45fd585f | [
"BSD-2-Clause"
] | permissive | AbdelghaniDr/mirror | 857885bcac8dacfbeda553ae349c3c5c5a20440f | 791de640743e377eb12e05772f3f4e9fcd707883 | refs/heads/master | 2021-01-18T02:19:40.428306 | 2016-03-06T13:22:47 | 2016-03-06T13:22:47 | 53,256,242 | 1 | 0 | null | 2016-03-06T13:30:12 | 2016-03-06T13:30:12 | null | UTF-8 | C++ | false | false | 3,614 | h | struct AProcess : NoCopy {
public:
virtual void Kill() = 0;
virtual bool IsRunning() = 0;
virtual void Write(String s) = 0;
virtual bool Read(String& s) = 0;
virtual bool Read2(String& os, String& es) { NEVER(); return false; }
virtual int GetExitCode() = 0;
virtual String GetExitMessage() { return Stri... | [
"cxl@f0d560ea-af0d-0410-9eb7-867de7ffcac7"
] | cxl@f0d560ea-af0d-0410-9eb7-867de7ffcac7 |
cd058862d176e68911c6dfd5bdbb9e1ece05d611 | f41a31786c5181abac0d3102525bd3459927de97 | /Graph/Topological Sort.cpp | 72a81a9014aeb074d2b4a0a100d0e139c2c34bd6 | [] | no_license | benyaminbashari/ACM-ICPC-Algorithms | 55c1e3923a2b8268310ec851e0abf5b86d52c5a7 | 952ed13349a9b47f869cdd0d5b37d699ff21b1ef | refs/heads/main | 2023-03-09T04:07:35.620014 | 2021-02-26T18:34:28 | 2021-02-26T18:34:28 | 236,092,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | //O(E) no-base
int n, m, deg[MAX_N];//deg[v] = deg out(v)
vector<int>g[MAX_N], g1[MAX_N];
vector<int>tSort;
bool mark[MAX_N];
set<int>s;
void topologicalSort(int v) {
mark[v] = true;
for(int u:g[v])
if(!mark[u])
topologicalSort(u);
tSort.push_back(v);
}
//O(E log n) 1-base
for(int i = 1 ... | [
"benyaminbashari@gmail.com"
] | benyaminbashari@gmail.com |
0103f13b339b7bfaf8dfb81d3eef06d8eb648d2d | 131f8d8dde9c13053b1a790e6b13833eaad2e6f0 | /interfaces/native_cpp/osal/src/power_manager.cpp | a473e3405c55ab124cf3eeb01c0595aea9d35d17 | [
"Apache-2.0"
] | permissive | dawmlight/communication_nfc | 3d9d03ef1111bf7ef1c1f71eb6be57a2dbdb1318 | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | refs/heads/master | 2023-08-05T07:03:13.917704 | 2021-09-11T11:39:55 | 2021-09-11T11:39:55 | 406,237,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp |
#include "power_manager.h"
#include "stdio.h"
namespace osal {
PowerManager::PowerManager(/* args */) : mScreenState_(true) {}
PowerManager::~PowerManager() {}
void PowerManager::UserActivity(long when, int e)
{
printf("UserActivity Uptime(%ld), Uid(%d)", when, e);
}
bool PowerManager::IsScreenOn()
{
retu... | [
"liujiawei11@huawei.com"
] | liujiawei11@huawei.com |
b0b640cfeb6271534e5ced2b6a5ff73f09c542d4 | 524095398a2bb1faa17bc277f08a3480097be91e | /xstl/deprecated/argh.h | 97364a346a257bf73e184c33c368780a61d46f37 | [
"MIT"
] | permissive | MaxXSoft/XSTL | 71ef6d46381b8e6359d5fe7efba39a7e5af37b2d | 1828d409915f7d2bc1f45f67230069245f437c0a | refs/heads/master | 2023-04-06T10:31:07.529220 | 2021-04-14T15:07:22 | 2021-04-14T15:07:22 | 103,931,626 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,833 | h | #ifndef XSTL_DEPRECATED_ARGH_H_
#define XSTL_DEPRECATED_ARGH_H_
#include <map>
#include <string>
#include <functional>
namespace xstl {
class ArgumentHandler {
public:
using HandFunc = std::function<int(const std::string &)>;
ArgumentHandler() {}
~ArgumentHandler() {}
bool ParseArguments(int argc, const c... | [
"x@MaxXSoft.net"
] | x@MaxXSoft.net |
c449fafb67417366cfeaa486a61c84d64a754047 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SHeadingBlock.h | a271969abb806dbbcc616a8b695c666119449628 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 1,118 | h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Heading MultiBlock
*/
class FHeadingBlock
: public FMultiBlock
{
public:
/**
* Constructor
*
* @param InHeadingText Heading text
*/
FHeadingBlock( const FName& InExtensionHook, const TAttribute< FText >& InHeadingText );
... | [
"dkroell@acm.org"
] | dkroell@acm.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.