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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34c5cf2f39e610a6e1b4253910b816df0ff3609d | b970b54403e209e4bff058430c9ee9e8f5c0d8ba | /src/test/sighash_tests.cpp | 48ed97368997b71d3c1ca69330d4743c7d161bbb | [
"MIT"
] | permissive | onexnet/onexcore | 4f6324bb8e2e7422a3128282deba1a8bb02e1db8 | 86fbcd6d0e24832b175c7bba3134896843cd8d49 | refs/heads/master | 2021-09-05T01:55:13.385261 | 2018-01-23T16:11:35 | 2018-01-23T16:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,353 | cpp | // Copyright (c) 2013-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "consensus/validation.h"
#include "data/sighash.json.h"
#include "hash.h"
#include "main.h" // For CheckTrans... | [
"reactnet@gmail.com"
] | reactnet@gmail.com |
276d4cd38bcf9be231037cfdacf49b7e620eb531 | e7a3f7458a31f28c578207fafd5f26b014809458 | /src/detail/camera/gstcameraimpl.cpp | 26f73bba9be1366d6159fc7309ff623b378d086b | [
"Apache-2.0"
] | permissive | joshua-henderson/egt | 50ca128625935b3c99be5d32c6d0a32f9f1f60ac | 1b7fbdc4f440fd31ea31c5e65ead7ab66f54a40d | refs/heads/master | 2020-08-27T14:24:17.237133 | 2020-05-27T01:13:10 | 2020-05-27T01:13:37 | 217,404,295 | 0 | 0 | Apache-2.0 | 2019-10-24T22:13:47 | 2019-10-24T22:13:46 | null | UTF-8 | C++ | false | false | 17,873 | cpp | /*
* Copyright (C) 2018 Microchip Technology Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "detail/camera/gstcameraimpl.h"
#include "detail/video/gstmeta.h"
#include "egt/app.h"
#ifdef HAVE_LIBPLANES
#include "egt/detail/screen/kmsove... | [
"joshua.henderson@microchip.com"
] | joshua.henderson@microchip.com |
2f9185fb2113e3cb2cc1f8807c3431ba78cdc16b | 79c9ab2cf119c106c3c42353e766750bbcf497fa | /hdu/4734.cpp | 8730185795f41d64d3c5922d5607ea371078d687 | [] | no_license | cen5bin/Algorithm-Problem | 12e17dd300f69fd8121ea3f5be2f1d1a61cb3485 | 00099428c1b4199f3a6dc286c43e91acf94c58b0 | refs/heads/master | 2021-01-17T13:35:00.819979 | 2016-11-30T03:05:49 | 2016-11-30T03:05:49 | 22,202,801 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include <cstdio>
#include <cstring>
int dp[12][5000];
int digit[12];
int A, B;
void init()
{
memset(dp, -1, sizeof(dp));
}
int dfs(int pos, int pre, bool limit)
{
if (pos == -1) return pre >= 0 ? 1 : 0;
if (pre < 0) return 0;
if (!limit && dp[pos][pre] != -1) return dp[pos][pre];
int end = limit ?... | [
"cen5bin@163.com"
] | cen5bin@163.com |
22931e0fc056883f0c7038dff3b528ed09f27abf | de6a5f131933fd8bcc49d02f351ddc0ffcf2c279 | /StealthGameTest/Source/FPSGame/Public/FPSAIGuard.h | d215153d29fb6634ffa941427a9dfd0659aeadce | [] | no_license | GabrieleAncona/StealthGameTest | 79402784e419957b7aa68e696656378453df621e | 0b2bd1ddb4e82eb7b6d6f75f333455b518919b49 | refs/heads/master | 2023-08-28T06:21:02.990406 | 2021-10-21T01:05:02 | 2021-10-21T01:05:02 | 408,923,939 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,837 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "FPSAIGuard.generated.h"
class UPawnSensingComponent;
UENUM(BlueprintType)
enum class EAIState : uint8
{
Idle,
Suspicious,
Alerted
};
UCLASS()
cl... | [
"gabry.ancona@gmail.com"
] | gabry.ancona@gmail.com |
16fd3dca7b1347f279d052bbd52cc9c5165c1c83 | 3a25498190f3d30b67220df5ae52988802d70070 | /engine/core/RMObject.hpp | 14c4982c006fdf840817253967534025d0b0cb2a | [
"MIT"
] | permissive | vitali-kurlovich/RMPropeller | c80108ddeab9e8df74da87a33fbafc65490b266c | 6b914957000dc5bd35319828b7e2608ceb2c92ca | refs/heads/master | 2020-04-03T22:43:01.203168 | 2017-03-13T22:20:52 | 2017-03-13T22:20:52 | 56,176,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | hpp | //
// Created by Vitali Kurlovich on 8/24/16.
//
#ifndef RMPROPELLER_RMOBJECT_HPP
#define RMPROPELLER_RMOBJECT_HPP
#include "../common/RMType.hpp"
namespace rmengine {
class RMObject {
private:
int32 _refCount{1};
//uint32 _uid{0};
public:
inline
friend void rmRetain(RMO... | [
"vitalikurlovich@gmail.com"
] | vitalikurlovich@gmail.com |
043331e5f5764b54fdd6f194cfab2e7687922686 | 21d6b37c5c55b5f8f712b8455224854bdeafd3b2 | /twib/ResultError.hpp | 9c767a59474d8c8d2c409822549601bdaa94f5af | [] | no_license | npdmfixup/twili | 95418f93c49286750760ab7eccb00cba762eafde | 8a3694116e269422e2534fd9683be7cb4bca155f | refs/heads/master | 2020-03-30T05:20:43.886771 | 2018-09-24T01:05:21 | 2018-09-24T01:05:21 | 150,793,531 | 0 | 0 | null | 2018-09-28T20:54:02 | 2018-09-28T20:54:01 | null | UTF-8 | C++ | false | false | 335 | hpp | #pragma once
#include<stdexcept>
#include<string>
namespace twili {
namespace twib {
class ResultError : public std::runtime_error {
public:
ResultError(uint32_t result);
virtual const char *what() const noexcept override;
const uint32_t code;
private:
std::string description;
};
} // namespace twib
} // n... | [
"xenotoad@xenotoad.net"
] | xenotoad@xenotoad.net |
90e1470327c9dc3ac6a9c63201c27dec02315802 | c62e654417f64705fc54aca4759b54c73ac756f1 | /sources/codeforces/practice/579/A.cpp | f8e19f08aee3b51e3eef87ad1fecdd9d23eebeb7 | [] | no_license | miguelmartin75/cp-problems | 9c56b14e61808650c5ad103ec1024223cfbfc26b | fbafdf7c4e70c18f003e54d4f657980e6e2948e3 | refs/heads/master | 2021-08-17T21:46:31.237678 | 2021-04-03T17:59:08 | 2021-04-03T17:59:08 | 80,083,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <iostream>
using namespace std;
int main()
{
int x;
cin >> x;
int result = 0;
while(x > 0)
{
if(x & 1)
{
++result;
}
x >>= 1;
}
cout << result << endl;
}
| [
"miguel@miguel-martin.com"
] | miguel@miguel-martin.com |
2aa695d0d8af69e8c7c2d4affa8b6e4d756c7cac | 7cd1e7ea85736a930416909e6b9e82a7d5f3c346 | /New Project-20161129/Newfile.cpp | 0f7ad56d9861b11099a859de20e0395bf20689a3 | [] | no_license | vkharlamov/codingground | 6be34cf70633381880f4469d34743022e9babd9f | 3bf0fc2f536e63d4af64818a3d9a9d1e053c8bab | refs/heads/master | 2020-06-16T16:14:46.922486 | 2016-11-29T13:41:37 | 2016-11-29T13:41:37 | 75,085,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,507 | cpp | /* 24.12.2008 last modification: 26.06.2013
Copyright (c) 2008-2013 by Siegfried Koepf
This file is distributed under the terms of the GNU General Public License
version 3 as published by the Free Software Foundation.
For information on usage and redistribution and for a disclaimer of all
warranties, see the fil... | [
"vladimir.sevastopol@gmail.com"
] | vladimir.sevastopol@gmail.com |
d630af31d6c2b8819e010eb4bb880813c3be631e | 33f0b5041dd2dd40200d03ecbca65131a13cf15b | /mnum_bissection/mnum_bissection/mnum_bissection.cpp | 904067feb4feaba5cf57598582b0d16020b032de | [] | no_license | ricardoleitee/MNUM | a51a34edf2ef88e7b13b626801917b4e03f22fe7 | f55da6abfa53ab424f2ae5322fca886076ee3051 | refs/heads/master | 2021-01-23T07:20:34.020532 | 2014-11-16T19:57:38 | 2014-11-16T19:57:38 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,937 | cpp | #include <iostream>
#include <iomanip>
#include <time.h>
#include <cmath>
using namespace std;
//Problema da pag. 128, falling parachutist problem
//Resolvido via método da bissecção
float fx(float x){
//return 667.38/x * (1-exp(-0.146843*x))-40;
return x*x*x*x + 2*x*x*x - x - 1;
}
float xu(float xl){
do {
floa... | [
"ricardo.leitee12@gmail.com"
] | ricardo.leitee12@gmail.com |
6e2e761ddfaa55fc2965adae2eed28dc41d70279 | 900e651d100f8130d93cf7378feba2df3447f8b9 | /C++Version/Dog.h | a60a563a7f2b49d7ec37da701c889297313d3d98 | [] | no_license | xy008areshsu/Design-Pattern-Project | 85d1abba1994f1cbe5e82358bb071129dabb2dac | 63f24fd38268190fcb8abd2300db4f89aa2b6efa | refs/heads/master | 2020-04-14T22:27:14.217343 | 2015-04-05T04:21:45 | 2015-04-05T04:21:45 | 29,419,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | h | #ifndef DOG_H
#define DOG_H
#include "Animal.h"
#include <string>
#include <iostream>
class Dog : public Animal {
public:
Dog(const std::string name, double height, int weight, const std::string& dog_stuff):
Animal{name, height, weight}, _dog_stuff {dog_stuff}
{}
// Dog(const Dog& rhs):
// Animal {rhs.get_nam... | [
"xy008areshsu@gmail"
] | xy008areshsu@gmail |
97f75e5fad3eaeed8a7d2c32466a09eddaf625e1 | 3059e62977233086c566b668cd9821986eb44dad | /3dmath/math3d.cpp | 96ef8b09d8c2a3ebd13a6efaa33d33af606a44e4 | [] | no_license | xandrock/xandrock-common-library | f3c015d181d210617ebfca0175cf417bc9f4bec2 | 192e5e2e13a903748fa6ac699a588751efaff5e3 | refs/heads/master | 2021-01-01T16:12:32.175249 | 2015-01-21T03:33:38 | 2015-01-21T03:33:38 | 32,298,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,966 | cpp | // Math3d.c
// Implementation of non-inlined functions in the Math3D Library
// Richard S. Wright Jr.
// These are pretty portable
#include <math.h>
#include "math3d.h"
float ReciprocalSqrt( float x )
{
long i;
float y, r;
y = x * 0.5f;
i = *(long *)( &x );
i = 0x5f3759df - ( i >> 1 );
r = *(floa... | [
"drindking@gmail.com@0f1f08ab-4ab0-9d7d-a974-823501e1538f"
] | drindking@gmail.com@0f1f08ab-4ab0-9d7d-a974-823501e1538f |
6d029f53d82e2a52ace2d7572d636300e13cd885 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /chrome/browser/chromeos/customization/customization_wallpaper_downloader_browsertest.cc | 63becc1c65a0737c6394bf5fddea20790d12db9c | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 11,596 | cc | // Copyright 2014 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 <vector>
#include "ash/common/wallpaper/wallpaper_controller.h"
#include "ash/common/wm_shell.h"
#include "base/command_lin... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
f43c14f22fe2e1c8ddb79aeedc375204914c5ada | c489a7536d9ab501a817173731ce3c23ec055274 | /28-Lec21/EditDistance.cpp | 6fffc0913a9c6ad65ec076abef30677add66552a | [] | no_license | netbits/MIT-6.006-Introduction-to-Algorithms | ac5e721dec31b67b709a370b5adc4515de160647 | d24026c426d2c5cbb00103ad1139ec65ee136134 | refs/heads/main | 2023-07-13T13:55:34.071992 | 2021-08-14T14:09:05 | 2021-08-14T14:09:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <list>
#include <algorithm>
using namespace std;
// using recursion
class Solution_Recursion {
public:
int minDistance(string word1, string word2) {
return minDistance(word1,word2,0,0);
}
int minDistance(string word1, string word2,int... | [
"valentinmu@outlook.com"
] | valentinmu@outlook.com |
9f0f0ffbb5f2fe641876d5c5bc9c7d3cc579a0b4 | cccd77053ce93010420e72a9cb98bbcde3441c76 | /level1/p08_hanoi/hanoi.cpp | 6ede4ad6341c2b921ff86a3bf73f1ef44d2ceee7 | [
"MIT"
] | permissive | liaohui-2002/c2020 | e02d8e8fc6534ec6217c26465d70413de5e600a5 | be2d1437260c0c9f096d9580afd72452087b1f2a | refs/heads/master | 2022-04-09T21:23:25.988797 | 2020-03-24T14:24:11 | 2020-03-24T14:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#define For(x,a,b) for(x=a;x<=b;x++)
int i,i1,i2;
void hanoi(int n,char a,char b,char c);
int main(void)
{
int n;
printf("Please input the number of the disk:\n");
scanf("%d",&n);
hanoi(n,'a','b','c');
return 0;
}
void hanoi(int n,char a,... | [
"15091591733@126.com"
] | 15091591733@126.com |
e00f401b29f6ff458390090a86d9b53f192c9088 | 3762e1e9dcc74653eefc35010768a32fd2ab00d5 | /execs/partition_pointcloud_levels/src/process/export_data.h | 7347a642de08f69a9f9985ab5b92ebd3aed1cb96 | [] | no_license | HollisJoe/geometry-1 | 6d5d8ba69b006b2d0bb5b9128b94fdcbd4af3b82 | 1e1f3c3b0aec35e80313d9d1124a77f1e439f53e | refs/heads/master | 2021-06-14T16:38:37.744499 | 2017-02-02T14:20:26 | 2017-02-02T14:20:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | h | #ifndef EXPORT_DATA_H
#define EXPORT_DATA_H
/* export_data.h:
*
* This file contains functions
* used to export the level partitioning
* data, including partitioning the point
* cloud and exporting the level values
*/
#include <vector>
#include "../io/config.h"
#include "../structs/point.h"
#include "../structs... | [
"elturner@eecs.berkeley.edu"
] | elturner@eecs.berkeley.edu |
50dc01c100021b654cf3506164a280f801190fbe | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp | a3cc1da8182c721b93b902f67c7778c802ccabcd | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 11,607 | cpp | // Copyright 2014 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 "core/dom/DOMMatrixReadOnly.h"
#include "bindings/core/v8/V8ObjectBuilder.h"
#include "core/dom/DOMMatrix.h"
#include "core/dom/DOMMatrixInit.h"... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
601f6e2cc0c87784ac59e95234b74e0fc76ea5db | 6097e7cd1cd311ef13bd166d6323bbb749385291 | /CCI/cci/cci/URLify.cpp | 11f1f8243ba212248f3c9d7e20f07abf3c7b7836 | [] | no_license | ysripath/CPP | a9a33f6d89c759b68def91df084915cf78f525fd | 009bb94561b267c87b5ab5b38fbddcd1670a42a5 | refs/heads/master | 2020-03-26T09:57:47.602806 | 2019-04-07T01:33:01 | 2019-04-07T01:33:01 | 144,774,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | #include <bits/stdc++.h>
using namespace std;
void util(string& str)
{
int l = str.length();
l--;
int i = l;
while (i >= 0)
{
if (str[i] == ' ')
i--;
else
break;
}
while (i >= 0)
{
if (str[i] != ' ')
{
str[l--] = str[i--];
continue;
}
else
{
str[l--] = '0';
str[l--] = '2';
... | [
"yuvarajsripathi91@gmail.com"
] | yuvarajsripathi91@gmail.com |
0f7800e97a9c6320a7ca1146acb63132880a4650 | b90e5696800d2b8a944cdf9f61fac0bda0019aca | /src/devices/atmega32/aspects/debug.cpp | 3c72c1c72a7cac7ade4936b8d29642501c08eb3b | [] | no_license | goc9000/megas2 | 7031024fc8c190c09f787f3e1679b80025f59453 | 2cdc4ed193732322f1d79aa7c742c07a7e3057c5 | refs/heads/master | 2021-12-25T13:55:34.947943 | 2013-05-21T00:11:15 | 2013-05-21T00:11:15 | 4,712,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,792 | cpp | #include <inttypes.h>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <ctype.h>
#include <algorithm>
#include <fcntl.h>
#include <unistd.h>
#include "utils/bit_macros.h"
#include "utils/fail.h"
#include "devices/atmega32/atmega32.h"
#include "devices/atmega32/defs.h"
using namespace std;
void Atmega... | [
"goc9000@gmail.com"
] | goc9000@gmail.com |
c3c8ccf28d77065447e2d3587095ebeaec8e7032 | 94db0bd95a58fabfd47517ed7d7d819a542693cd | /client/ClientRes/IOSAPI/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_T1638887798.h | 7babf58bdbc0ef9de48a0b885c44c0d203fbefe7 | [] | no_license | Avatarchik/card | 9fc6efa058085bd25f2b8831267816aa12b24350 | d18dbc9c7da5cf32c963458ac13731ecfbf252fa | refs/heads/master | 2020-06-07T07:01:00.444233 | 2017-12-11T10:52:17 | 2017-12-11T10:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// Spine.BoundingBoxAttachment
struct BoundingBoxAttachment_t1898929740;
// UnityEngine.PolygonCollider2D
struct PolygonCollider2D_t3220183178;
// System.IAsyncResult
struct IAsyncRes... | [
"1"
] | 1 |
fe047f98933efe6113ed62a8707a2c5303ddbb00 | 535e44e24d60879d5d654aada6d48f1d932a1e9f | /desiredimpl/01-basic-scenario/timer_proxy.cpp | 24a8016cb2ef5e162b8bb7ef75ef025c6dc2bd6c | [] | no_license | glucktv/dboost | 6ff4c93d3e509c52b0a4eb44319f2f0b3ddae6c4 | d1a0eb1b4ec1c2af2ad2b29ffa23157f845b39ab | refs/heads/master | 2016-09-06T11:15:00.377118 | 2015-03-27T05:07:29 | 2015-03-27T05:07:29 | 17,452,491 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,081 | cpp | #include <timer_proxy.h>
#include <dbus/dbus.h>
#include <exception.h>
#include <iostream>
#include <serializer.h>
namespace dboost_test
{
const char* timer_proxy::s_ifc_name = "org.dboost.timer";
const int TIMEOUT_MS = 5000;
timer_proxy::timer_proxy(dboost::dbus_ptr<DBusConnection> conn,
... | [
"yu_stas@hotbox.ru"
] | yu_stas@hotbox.ru |
8511193ee147fa83e17a9c52dfb659a87628737f | 9aee810d0d9d72d3dca7920447872216a3af49fe | /AtCoder/ABC/100-199/ABC141/abc141_e.cpp | d73963e78363014bf6c03049ad80c8c4b69ffbca | [] | no_license | pulcherriman/Programming_Contest | 37d014a414d473607a11c2edcb25764040edd686 | 715308628fc19843b8231526ad95dbe0064597a8 | refs/heads/master | 2023-08-04T00:36:36.540090 | 2023-07-30T18:31:32 | 2023-07-30T18:31:32 | 163,375,122 | 3 | 0 | null | 2023-01-24T11:02:11 | 2018-12-28T06:33:16 | C++ | UTF-8 | C++ | false | false | 4,531 | cpp | #include <bits/stdc++.h>
#if defined(ONLINE_JUDGE) || defined(_DEBUG)
#include <atcoder/all>
using namespace atcoder;
#endif
using namespace std;
using ll=long long;
using ull=unsigned long long;
using vb=vector<bool>;
using vvb=vector<vb>;
using vd=vector<double>;
using vvd=vector<vd>;
using vi=vector<int>;
using vvi... | [
"tsukasawa_agu@yahoo.co.jp"
] | tsukasawa_agu@yahoo.co.jp |
1659c0fadf15126da87ada072e243a2b77292272 | 15c3c9dfcb69a534c5c392c2983b0158aa809dd7 | /InputManager.cpp | db864be61311d3e4f06973f6fc7e56b43af98cf3 | [] | no_license | adrianhartanto0/AE2CPP | 5389b257514515de74ab430b0025beb329b0c2bc | e45398bffff287a8d334bb6fd79124093ffef548 | refs/heads/master | 2021-01-10T14:52:23.603115 | 2016-05-09T06:16:21 | 2016-05-09T06:16:21 | 54,475,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | //
// InputManager.cpp
// Space
//
// Created by Ericko Hartanto on 4/29/16.
// Copyright © 2016 adrian. All rights reserved.
//
#include "InputManager.h"
InputManager::InputManager(){
this->mouseX = 0;
this->mouseY = 0;
this->key = nullptr;
}
void InputManager::setMouseX(int val){
this->mouseX =... | [
"erickohartanto@Erickos-MacBook-Pro.local"
] | erickohartanto@Erickos-MacBook-Pro.local |
27940e4b21f3ca69109feb6deab118700e13be7f | c3f781286ebf1832ee4809678c1eda1f4755442a | /HashTable.h | ff86645c5c13575177a06e6a1a486060ab08bb99 | [] | no_license | shunjizhan/Social-Network | faffe94cbcbf9c1c654dde6d34e17167a7e56c6e | 725c95bf653aa8b6247d3d29a68e8212fd010bfc | refs/heads/master | 2021-06-15T17:45:33.569851 | 2017-03-29T01:44:56 | 2017-03-29T01:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #include <vector>
#include "Node.h"
using namespace std;
class HashTable {
public:
const static int TABLE_SIZE = 211;
HashTable();
void insert(string name, int index, vector<string> friends);
int search(string name); // find index in the hash table
int hash(string name);
void addFriend(string friend1,... | [
"shunjizhan@umail.ucsb.edu"
] | shunjizhan@umail.ucsb.edu |
2f7e24c165d1e8a72feaefcd23ae68fb88189787 | 389f92dc3a47bed51466cb1106b8e12852b9f79c | / isoftstone/src/hmi/edcc/resource.h | c0bb3aae284258e90c1931f04a518933af4c2b9d | [] | no_license | radtek/isoftstone | 4dc99ea83c26c802e1eded1ce23aa7ebdce29a86 | e1abede2913885a6374dfe9d1ab54aa85ed8e61f | refs/heads/master | 2021-01-06T20:46:17.654521 | 2013-08-24T01:49:57 | 2013-08-24T01:49:57 | 41,403,225 | 3 | 4 | null | null | null | null | GB18030 | C++ | false | false | 1,555 | h |
#ifndef RESOURCE_H
#define RESOURCE_H
#include <string>
#include <vector>
#include <map>
#include <QVector>
#include <QVariant>
#include <QMutex>
#include <QMutexLocker>
/* 用于保存内存数据
对于界面数据的显示,有两种策略:
其一:接收线程根据规约处理完报文数据后直接Post给主界面,这样可以节省内存操作,但是此操作不易保存历史数据。
其二:接收线程根据规约处理完报文数据后放到内存保存,由主界面定时器主动去获... | [
"liuruigong@gmail.com"
] | liuruigong@gmail.com |
361f1c9dab7700fdc399a4846a72f80fdc9a1f3b | 988f74fd1f5e04811c19137a239e9c2fecdae6be | /segmentation/GridMap.h | 93a32afee56ece50d68ae485dffb2718d4c8d1b8 | [] | no_license | aemarkov/lidar-road-segmentation | fadf9d1c915341bf3ddad07dc1a7593582dd818e | 6643ebe7eb0cd54d84d00c4c8515b561ae031583 | refs/heads/master | 2023-09-01T07:09:58.583045 | 2020-08-03T08:55:43 | 2020-08-03T08:55:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | h | //
// Created by garrus on 13.12.18.
//
#ifndef ROAD_SEGMENTATION_GRIDMAP_H
#define ROAD_SEGMENTATION_GRIDMAP_H
#include <vector>
#include <pcl/common/common_headers.h>
#include <GridCoord.h>
#include <Grid.h>
enum Obstacle
{
UNKNOW = 0,
FREE,
OBSTACLE
};
/**
* \brief 2D Occupancy Grid with some addit... | [
"markovalex95@gmail.com"
] | markovalex95@gmail.com |
8c39665e4e03fa38f1c72c4d27e5785937deda25 | ac75560a56c0698ff098251f8d4bc5bf2a0dc3db | /examples/FlashErase/FlashErase.ino | 16af96fa62f5790da6b83d37865d79e04dc31ee7 | [
"MIT"
] | permissive | Hansen0314/Seeed_Arduino_SFUD | e0fdc58f356dfea9a4a0b7c5b0a39ca439b12d4a | d2a3a1776b3f54a71452051daa7ff97d811dc4bd | refs/heads/master | 2022-07-17T13:33:27.460560 | 2020-05-13T08:14:41 | 2020-05-13T08:14:41 | 259,585,337 | 1 | 0 | MIT | 2020-04-28T09:03:35 | 2020-04-28T09:03:34 | null | UTF-8 | C++ | false | false | 896 | ino | #include <sfud.h>
#define SFUD_DEMO_TEST_BUFFER_SIZE 1024
static uint8_t sfud_demo_test_buf[SFUD_DEMO_TEST_BUFFER_SIZE];
static void sfud_demo(uint32_t addr, size_t size, uint8_t *data);
#define SERIAL Serial
#ifdef ARDUINO_ARCH_SAMD
#undef SERIAL Serial
#define SERIAL SerialUSB
#endif
voi... | [
"595355940@qq.com"
] | 595355940@qq.com |
4d8de2ce86702aab7ff29e81ad448c332b3ef220 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-ec2/source/model/DescribeReservedInstancesRequest.cpp | 11ce500c9ddbdff07c4535f8d551756c09402b70 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 2,259 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
70011f1ff16ef3aca267296a94a6d92ff5c1cc63 | 9ba354f2dfb6755864560e258d1a6e9970641b0c | /TCore/dllmain.cpp | 0d81e05b5d05895ebe6fee5da03d9540ef39f02c | [
"MIT"
] | permissive | thirty30/Muffin | b808d75b1b5bb78dc463c64ab159d889cc873e79 | 06db87761be740408457728a40d95cdc8ec05108 | refs/heads/master | 2020-08-04T02:02:34.009543 | 2020-04-14T19:56:58 | 2020-04-14T19:56:58 | 211,962,180 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include "stdafx.h"
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
| [
"402050805@qq.com"
] | 402050805@qq.com |
151f7625adf5a148b23df572275d53dee59f434e | 6e09bfc1f306d1ea8aff2464ab001d45dd4a996b | /ElectionCopy2/DistrictResult.cpp | fe824a867c50511796c340a4d006f9de695b2219 | [] | no_license | avivmor2103/ElectionSystemProject | ac95815e406af45a04c65a6d02ac2e9588b544de | 7dd8b25a6f4869dcfe73ac4dae297a6fb424b102 | refs/heads/master | 2023-04-04T21:02:15.438448 | 2021-04-20T17:54:40 | 2021-04-20T17:54:40 | 356,373,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,606 | cpp | #include "DistrictResult.h"
DistrictResult::DistrictResult()
{
this->lSize = 0;
this->phSize = 1;
try
{
result = new DistrictVotes[phSize];
}
catch (std::bad_alloc& ex)
{
cout << ex.what() << endl;
exit(1);
}
}
DistrictResult::~DistrictResult() {
delete[] re... | [
"avivmore88@gmail.com"
] | avivmore88@gmail.com |
10cc70b1993d525716563a9e8c27d233bf2f2e51 | f7f6602e4b64c3cb45eab943bdba226a6e4efaf0 | /include/Propitious/Memory/allocator.hpp | 432f2a8cfa62cfb6c26c3c9f861a6b01aec5e0df | [] | no_license | SleepyAkubi/PropitiousPrivate | 8dd87dc8ce182021dae2fb25387b1bb84c825634 | e801f567a08d54ce643f457f079a3c3059079169 | refs/heads/master | 2022-10-02T12:09:17.388756 | 2016-02-27T19:12:50 | 2016-02-27T19:12:50 | 44,257,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | hpp | #ifndef PROPITIOUS_MEMORY_ALLOCATOR_HPP
#define PROPITIOUS_MEMORY_ALLOCATOR_HPP
#include <Propitious/Common.hpp>
#include <new>
#include <utility>
namespace Propitious
{
class PROPITIOUS_EXPORT Allocator : private NonCopyable
{
public:
using vol = usize;
static const vol defaultAlignment = 4;
static const ... | [
"thewarpdimension@gmail.com"
] | thewarpdimension@gmail.com |
74be42ba426c1650f995de4a5ddaed1ffc04f073 | d4b733f2e00b5d0ab103ea0df6341648d95c993b | /src/c-cpp/lib/sst/private/guts/windows_socket_core/native_so_reuseport.cpp | 3c11a25fee80bb679223c19ab226d966ccd8ce97 | [
"MIT"
] | permissive | stealthsoftwareinc/sst | ad6117a3d5daf97d947862674336e6938c0bc699 | f828f77db0ab27048b3204e10153ee8cfc1b2081 | refs/heads/master | 2023-04-06T15:21:14.371804 | 2023-03-24T08:30:48 | 2023-03-24T08:30:48 | 302,539,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | //
// Copyright (C) 2012-2023 Stealth Software Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,... | [
"sst@stealthsoftwareinc.com"
] | sst@stealthsoftwareinc.com |
90960cf1843f505379f46931651c6f5738cad984 | 682b27ef061c6aa0f4ad22a3d9c28350110682b7 | /quickPing/quickPing/widget.cpp | 0fb018e8982d4ed1c1b652a772897ca9d17115a8 | [] | no_license | tangston/quickPing | 48a43120573102330b28dd16311f168ead6c8b61 | f0263d3749c70fda7b0feb35acae7ec5508ee3c3 | refs/heads/master | 2020-04-13T14:19:41.103154 | 2018-12-27T06:58:58 | 2018-12-27T06:58:58 | 163,259,213 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | #include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
}
Widget::~Widget()
{
delete ui;
}
void Widget::on_startButton_clicked()
{
myPing mp =myPing();
// QString ip="10.1.11.70";
QString ip=ui->ipEdit->toPlainT... | [
"37773841+tangston@users.noreply.github.com"
] | 37773841+tangston@users.noreply.github.com |
19042bee0ea3b594fc4ba400bc5e0dae4dacc814 | 385314c17cabc082aa54d97c2693d66bb0976a64 | /lib/tao/tao/json/external/pegtl/internal/star.hpp | 6986c043cb09c53a432d244c45877a27ba27f137 | [
"MIT"
] | permissive | 21doublenexus/contemplative-game | dd835e66f928ddecc4bd3ab267a04a9058856ac8 | cadf92c1b44d226bf97a87f738ea3aad3e7dd376 | refs/heads/main | 2023-02-15T08:55:55.187533 | 2021-01-05T17:15:37 | 2021-01-05T17:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | hpp | // Copyright (c) 2014-2018 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_JSON_PEGTL_INTERNAL_STAR_HPP
#define TAO_JSON_PEGTL_INTERNAL_STAR_HPP
#include <type_traits>
#include "../config.hpp"
#include "duseltronik.hpp"
#include "seq.hpp"
#inc... | [
"vscavinner@gmail.com"
] | vscavinner@gmail.com |
df5ba23233690846709f5c047670e85f48714833 | fa6b818e06c5b97ddb131e18bca14ead19091a7f | /Goblim-Student/Core/Engine/Base/Light.hpp | 31a927beb4dd1627d7e4fba7705fd8941e2990b6 | [] | no_license | nathmotion/Moteur-3D | 2bcd2f4624071cda0a4f1d6e510843bf6908dc8b | df6222ba62f92958874677510dfef9473eb1c459 | refs/heads/master | 2021-07-23T01:33:18.183697 | 2017-11-01T06:32:18 | 2017-11-01T06:32:18 | 107,647,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | hpp | #ifndef _GOBLIM_LIGHT_
#define _GOBLIM_LIGHT_
#include <glm/glm.hpp>
#include <string.h>
class Light
{
public:
Light(std::string name,glm::vec3 color = glm::vec3(1.0f));
private:
glm::vec4 m_Color;
std::string m_Name;
}
#endif | [
"mallet.nathanael@hotmail.fr"
] | mallet.nathanael@hotmail.fr |
79d5df9ebdb532a0ca8cb3478651e5ee4377b6ca | afe5e1d8ca27d3465abd0770de11714d78830310 | /runtime/stdlib/llambda/list/list.cpp | 6c380520104e06891ade12f25219eadd07dab3fe | [
"Apache-2.0"
] | permissive | 8l/llambda | 8a0c62b744ab0a45d7dd86355823fc70ee93b924 | a8624ddb1c8ae1e7ba55d0f853050798892daa58 | refs/heads/master | 2020-12-25T23:57:24.994389 | 2015-04-14T10:34:08 | 2015-04-14T10:34:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,810 | cpp | #include <vector>
#include <sstream>
#include "binding/ListElementCell.h"
#include "binding/BooleanCell.h"
#include "binding/ProperList.h"
#include "binding/TypedProcedureCell.h"
#include "binding/FlonumCell.h"
#include "binding/ExactIntegerCell.h"
#include "alloc/StrongRefVector.h"
#include "core/error.h"
using n... | [
"etaoins@gmail.com"
] | etaoins@gmail.com |
4598f3ac3e28b6a6c9258d192f14ce928b2e5695 | 83bab97601870553188e19700027457c8b0aaa34 | /include/myslam/camera.h | 7bbb23df5a0ca27fad1e0600c568efb8a992fcd3 | [] | no_license | yxtwl94/Slam_demo | d31149df72a2db95c79dd7146e368e98e220226e | 10b39352c8237b4d91d63c36b0a45af904b22822 | refs/heads/master | 2020-05-27T00:36:10.989504 | 2019-05-24T13:32:58 | 2019-05-24T13:32:58 | 183,479,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | #ifndef CAMERA_H
#define CAMERA_H
#include "myslam/common_include.h"
namespace myslam{
using namespace std;
class Camera{
public:
typedef shared_ptr<Camera> Ptr;
float fx_, fy_, cx_, cy_,depth_scale_;
Camera();
Camera( float fx ,float fy,float cx... | [
"yxtwl95@hotmail.com"
] | yxtwl95@hotmail.com |
4f646b096b384b1cd1cc8ffe7201644d9f7bd0d3 | b9b17fcfac43774e730ecf221bc26164598010b6 | /src/TXFaceWnd.h | 69ea5625bd09efa522d09cda7ab49fb2f37ba43e | [
"BSD-3-Clause"
] | permissive | taviso/mpgravity | e2334e77e9d5e9769e05d24609e4bbed00f23b5c | f6a2a7a02014b19047e44db76ae551bd689c16ac | refs/heads/master | 2023-07-26T00:49:37.297106 | 2020-04-24T06:15:10 | 2020-04-24T06:15:10 | 251,759,803 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,200 | h | /*****************************************************************************/
/* SOURCE CONTROL VERSIONS */
/*---------------------------------------------------------------------------*/
/* ... | [
"taviso@gmail.com"
] | taviso@gmail.com |
edc05d56ef306794323e488f09cc6b2b826c7bfb | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /TestBeam/TBMonitoring/TBMonitoring/TBADCRawMonTool.h | c81d8d5186b118ef287c12b0f9f8c1d96a741c7c | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | //Dear emacs, this is -*- c++ -*-
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TBMONITORING_TBADCRAWMONTOOL_H
#define TBMONITORING_TBADCRAWMONTOOL_H
#include "AthenaMonitoring/MonitorToolBase.h"
#include "GaudiKernel/IHistogramSvc.h"
#include "AIDA/IHistogram1D.h"
#includ... | [
"graemes.cern@gmail.com"
] | graemes.cern@gmail.com |
4632c82ecc687a200a720fc5d88d5d6ac9ad436f | c509ec170f31580895c457c29e78463866397c17 | /offline/Simulation/DetSim/ARRAY/LHAASOSim/include/LHAASOEventAction.hh | 2931c74c3204f585a660a39e334847b8a21160c3 | [] | no_license | feipengsy/lodestar | 9e2c35cdbb6edf7ce31eff5fcf05412ff7f8453e | e05c01f15d8b3aeed265210a910e475beb11d9b6 | refs/heads/master | 2021-01-09T21:47:12.332609 | 2015-06-24T14:54:59 | 2015-06-24T14:54:59 | 36,277,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"liteng_shiyan@163.com"
] | liteng_shiyan@163.com |
0dfaefddf7dacfeca8bfd45a08faf8dd56ae8343 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /components/viz/service/display/gl_renderer.h | 1cd981c9d718f26cb57795628e1b1ce40c8ced5f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 17,581 | h | // Copyright 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_SERVICE_DISPLAY_GL_RENDERER_H_
#define COMPONENTS_VIZ_SERVICE_DISPLAY_GL_RENDERER_H_
#include <unordered_map>
#include <vector>
#... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
2e69c1176540d78a9457666963e6e3e4a16847bd | 6f0445ac23b230232358d71ff08802e47416c9d1 | /Source/QuickNote/ListTag.h | 683b6c006f8134c1b70ca3d3af56e6451d816da3 | [] | no_license | vuquangkhtn/QuickNote | 0e26cc30cae4bbd9381550bcc7b1689bc3009d63 | 21ec89f5cb20d1bcaff5bc8ebc4f92c46d608810 | refs/heads/master | 2021-01-22T10:47:05.017294 | 2017-02-15T08:48:56 | 2017-02-15T08:48:56 | 82,039,753 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h | #pragma once
#include "Tag.h"
#include "Note.h"
#include <fstream>
#include <string>
#include <locale>
#include <codecvt>
#include <vector>
class CListTag
{
public:
vector<CTag> listTags;
public:
CListTag();
void docDSTagTuFile(string filename);
void ghiDSTagVaoFile(string filename);
void themTag(CTag tag);
void ... | [
"vuquangkhtn@gmail.com"
] | vuquangkhtn@gmail.com |
c04b490026f20356954cf19840634ae8da364894 | e36c670344356f3fad4a6322ac23e1da6520e7ce | /src/Output/Output_PreparedPatch_Fluid.cpp | db09887861fd23dbfcff52e47c937d6c9e26cc29 | [
"BSD-3-Clause"
] | permissive | Aabhash007/gamer | 7934c49bc2023403fcb46c4873252a180f2d8f90 | 62769fe4f680eeb504f84f0aae199012f728492e | refs/heads/master | 2022-12-26T13:14:31.279184 | 2020-09-30T19:58:50 | 2020-09-30T19:58:50 | 300,045,686 | 0 | 0 | NOASSERTION | 2020-09-30T19:56:52 | 2020-09-30T19:56:51 | null | UTF-8 | C++ | false | false | 7,787 | cpp | #include "GAMER.h"
//-------------------------------------------------------------------------------------------------------
// Function : Output_PreparedPatch_Fluid
// Description : Output the fluid data of a "single patch" plus its ghost zones prepared by Flu_Prepare()
//
// Note : This function shou... | [
"hyschive@gmail.com"
] | hyschive@gmail.com |
780fef91bf8124cfcd5610367e8278a026ebfac7 | bc1d68d7a7c837b8a99e516050364a7254030727 | /src/URAL/URAL1019 Line Painting.cpp | 67b516a451ae66a09e957b5a55833b26e273a159 | [] | no_license | kester-lin/acm_backup | 1e86b0b4699f8fa50a526ce091f242ee75282f59 | a4850379c6c67a42da6b5aea499306e67edfc9fd | refs/heads/master | 2021-05-28T20:01:31.044690 | 2013-05-16T03:27:21 | 2013-05-16T03:27:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,004 | cpp | /*******************************************************************************
# Author : Neo Fung
# Email : neosfung@gmail.com
# Last modified: 2012-01-20 21:28
# Filename: URAL1019 Line Painting.cpp
# Description :
******************************************************************************/
#ifdef _MSC_VE... | [
"neosfung@gmail.com"
] | neosfung@gmail.com |
53376d181f4bc713552f08afdd2b26394bc94216 | 86b55c5bfd3cbce99db30907ecc63c0038b0f1e2 | /components/exo/text_input.cc | 50e272f09892f5f1efc85eec3712e7c0da6e22fa | [
"BSD-3-Clause"
] | permissive | Claw-Lang/chromium | 3ed8160ea3f2b5d51fdc2a7d764aadd5b443eb3f | 651cebac57fcd0ce2c7c974494602cc098fe7348 | refs/heads/master | 2022-11-19T07:46:03.573023 | 2020-07-28T06:45:27 | 2020-07-28T06:45:27 | 283,134,740 | 1 | 0 | BSD-3-Clause | 2020-07-28T07:26:49 | 2020-07-28T07:26:48 | null | UTF-8 | C++ | false | false | 11,181 | 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 "components/exo/text_input.h"
#include <algorithm>
#include "ash/keyboard/ui/keyboard_ui_controller.h"
#include "base/strings/utf_string_conver... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
fd5546e3a6b05228535a82dd84269c1026c837d1 | 643f3dc3c970684ed835bbfa1b3cb31e0b8661be | /src/netbase.cpp | 97fc6507d6b4329a9e88c74fcaf6ea52c08d6dd1 | [
"MIT"
] | permissive | Aviator-Coding/abet | cf61aeadae2cab51a19bc036dba8d8d8af739ad6 | 8bee2012deb998d0fbaaad9fbbcdf83a0c84c0d6 | refs/heads/master | 2020-04-18T21:58:03.380823 | 2019-01-27T07:07:38 | 2019-01-27T07:07:38 | 167,780,598 | 1 | 0 | MIT | 2019-01-27T07:00:56 | 2019-01-27T07:00:54 | null | UTF-8 | C++ | false | false | 39,481 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifdef HAVE_CONFIG_H
#include "config/altbet-config.h"
#endif
#include "netbase.h... | [
"office@altbet.io"
] | office@altbet.io |
987cbe02ee804c40cb79d269855a8b7749d6f226 | a61eac4c44c1021e9125e91c137b0eab670c5e14 | /src/protocol.h | 54361c5ca61bc3c63bed6d5d0d727da0ce4f3a78 | [
"MIT"
] | permissive | valeo-2/anncoin | c0a1effed01e453e8e1077ed9d3c429c9a65b8e1 | eed94fd7f7e8463ed0f2b2333cbbc10818779ca6 | refs/heads/master | 2020-05-18T04:15:25.667359 | 2014-06-23T07:32:45 | 2014-06-23T07:32:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef __cplusplus
# error This he... | [
"root@debian"
] | root@debian |
29234affa0240f1d846f5f831a27879eba371020 | 3460665d25f912e76cf23a2cdf40fb825728f18d | /div2/168/2.1.cpp | 3645bb2b259201a7aba2facf85d9787e350011e5 | [] | no_license | Morphinity/Codeforces | 376340d6971ed193895473a1b3abf63f4dcd350d | 82c1f769ae9df9d15f053f8d1718998470cec355 | refs/heads/master | 2016-09-06T01:33:37.834377 | 2015-01-17T12:39:14 | 2015-01-17T12:39:14 | 29,390,614 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include<iostream>
using namespace std;
char grid[51][51];
int main(){
int n,m;
cin >> n >> m;
int black = 0;
for(int i=0; i<n; i++)
for(int j=0; j<m; j++){
cin >> grid[i][j];
if(grid[i][j] == 'B')
black++;
}
// check for connectivity
if(black > 1){
for(int i=0; i<n; i++){
... | [
"mbakshi@adobe.com"
] | mbakshi@adobe.com |
72e97f4dd13e4323fa6411fa4b3e77b4b1bd346c | 2561dba6586c3d2a3fcd62d29dd6be89cd893855 | /code/LaneDetection/src/LaneDetectionAccessories/ContourSplineHelper.cpp | b54e17021a253c2015613f3f7e42f231247bc874 | [] | no_license | Yueeeeeeee/SLAMParking | 4c5503f46233b4e011775070458e18c49f49fdec | e58190181be8b3758cc26d3f316c9bb8c2ca72a0 | refs/heads/master | 2020-06-24T18:25:14.778746 | 2019-07-26T16:05:01 | 2019-07-26T16:05:01 | 199,043,789 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,736 | cpp | /*
* ContourHelper.cpp
*
* Created on: Jun 21, 2018
* Author: martin
*/
#include <opencv2/opencv.hpp>
#include <iterator>
//////////////////////////
// Note: Opencv coordinate system: (0,0) is at the upper left corner of the image
////////////////////////
using namespace std;
using namespace cv;
namespac... | [
"yuezrhb@gmail.com"
] | yuezrhb@gmail.com |
14761b64adf45e5f10f4a4bcca2c179fc76f5992 | d0c5d89a7a7192f5b4ca65f02d93755f7c144c68 | /server/inc/Servers.hpp | 91db2ab62b82b6c8e0050df744148b45275411d9 | [] | no_license | Rhuancpq/FSE_Trabalho_2 | 42ba25cb232970adc0d913f73e32ec14d686db26 | 5d27df1a869253f3e9ec5b3dd11e876635154afb | refs/heads/main | 2023-08-14T05:57:24.635764 | 2021-10-07T01:46:34 | 2021-10-07T01:46:34 | 410,285,960 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 867 | hpp | #ifndef __SERVERS_HPP__
#define __SERVERS_HPP__
#include <unordered_map>
#include <algorithm>
#include <iostream>
#include <mutex>
using namespace std;
#include "Types.hpp"
#include "EventQueue.hpp"
// this is a singleton class
class Servers {
public:
static Servers* getInstance();
static void destroyInstanc... | [
"rhuancarlos.queiroz@gmail.com"
] | rhuancarlos.queiroz@gmail.com |
d5fb81be84d44be5b025011437562f8041d171ea | 7da7ee1ed863d4cd4cadef835b16d8950c6952d6 | /AOJ/contest_practice/2/A.cpp | 80e9987400b01cf31ea1af94b18d7868224051bc | [] | no_license | rikuya6/ICPC_learning | 8fd226bcd9f13f37a4d55d6de57702d0ed7182b8 | d01e4c764f93f0330cc687365e3ac397e46f9559 | refs/heads/master | 2022-06-04T10:12:57.981280 | 2020-05-06T04:58:15 | 2020-05-06T04:58:15 | 52,092,562 | 0 | 0 | null | 2018-09-23T13:29:19 | 2016-02-19T14:20:22 | C++ | UTF-8 | C++ | false | false | 1,453 | cpp | // http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2012
#include <iostream>
using namespace std;
#define REP(i, n) for(int i = 0; i < (int)(n); i++ )
long long table[3][1000000];
int main()
{
int x, y, z, m;
int idx, idx2;
int data;
int size = 500;
table[0][0] = 0; table[1][0] = 0; table[2][0] =... | [
"rikuya6@gmail.com"
] | rikuya6@gmail.com |
d7768827b482fb62285ec1a9dde3e8c737254b75 | 2de859cf5e8a4e7c0e6b4804495a2dae7404d226 | /GeometricTools/Graphics/FontArialW400H12.cpp | 0b1c6ab5a510678a697858a2de37df2d0e367215 | [] | no_license | thecsapprentice/world-builder-dependencies | ac20734b9b9f5305f5342b0b737d7e34aa6a3bb6 | 9528ad27fc35f953e1e446fbd9493e291c92aaa8 | refs/heads/master | 2020-08-27T16:52:39.356801 | 2019-10-26T20:36:00 | 2019-10-26T20:36:00 | 217,438,016 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106,172 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// 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
#include <Graphics/GTGraphicsPCH.h>
#in... | [
"nmitchel@cs.wisc.edu"
] | nmitchel@cs.wisc.edu |
6fa0650f293920f9effac81baabe75c4d59056cc | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/LibCore/inc/elastos/io/Int32ArrayBuffer.h | 9e2ccf8080d49844073ba1bfe8f47354929463c1 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 1,348 | h | #ifndef __INT32ARRAYBUFFER_H__
#define __INT32ARRAYBUFFER_H__
#include "Int32Buffer.h"
namespace Elastos {
namespace IO {
/**
* IntArrayBuffer, ReadWriteIntArrayBuffer and ReadOnlyIntArrayBuffer compose
* the implementation of array based int buffers.
* <p>
* IntArrayBuffer implements all the shared readonly met... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
787c352f7133d9852e9c5e8cc5830f40ba56ad7a | a1f1e7dee2b84d07d6b28c4ff9c6e909c7c7feb2 | /src/filter.cpp | c0df61b6b0639a181d2f531005b51d0845a9385e | [
"BSD-3-Clause"
] | permissive | khurrumsaleem/OpenBPS | 5e0cff64b213a83aae9a4b390427e35878fe667d | 8b674ba810be36d863d261024330f271e6b31ed9 | refs/heads/master | 2023-03-21T19:09:57.008769 | 2020-10-20T16:22:13 | 2020-10-20T16:22:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,354 | cpp | #include "openbps/filter.h"
#include <sstream>
#include <iostream>
#include <memory>
#include <algorithm>
#include "../extern/pugiData/pugixml.h"
#include "openbps/parse.h"
namespace openbps {
//==============================================================================
// Global variables
//=====================... | [
"dr.yuri92@gmail.com"
] | dr.yuri92@gmail.com |
4d8aa540f4961617df280eaa9ea88af4850376ab | ac8e27210d8ae1c79e7d0d9db1bcf4e31c737718 | /projects/compiler-rt/lib/scudo/standalone/quarantine.h | bac36e01c1ddcbc72e6f91cf19a8486aa6416423 | [
"NCSA",
"MIT",
"LLVM-exception",
"Apache-2.0"
] | permissive | steleman/flang9 | d583d619bfb67d27a995274e30c8c1a642696ec1 | 4ad7c213b30422e1e0fcb3ac826640d576977d04 | refs/heads/master | 2020-11-27T09:50:18.644313 | 2020-03-07T14:37:32 | 2020-03-07T14:37:32 | 229,387,867 | 0 | 0 | Apache-2.0 | 2019-12-21T06:35:35 | 2019-12-21T06:35:34 | null | UTF-8 | C++ | false | false | 9,524 | h | //===-- quarantine.h --------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, 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
//
//===---------------------------... | [
"stefan.teleman@cavium.com"
] | stefan.teleman@cavium.com |
54a3553fb55b67f6c6be579bc194aba07b679926 | 83ed1e2f176133c03a5f6dfa504b8df15ae71efb | /cpp/Heavy_atom_code/decapeptide_utils/txt2txt.cpp | 327fde3574477f6e65061609e20cc100f0b66e95 | [] | no_license | jmborr/code | 319db14f28e1dea27f9fc703be629f171e6bd95f | 32720b57699bf01803367566cdc5fff2b6bce810 | refs/heads/master | 2022-03-09T16:11:07.455402 | 2019-10-28T15:03:01 | 2019-10-28T15:03:01 | 23,627,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,493 | cpp | #include<iostream>
using namespace std;
#include<fstream>
#include<string>
#include <cstdlib>
#include<fstream>
#include"pdbClasses2.h"
#include"atom_param.h"
#include"amino_acid_param.h"
#include"miscellanea.h"
#include"random.h"
/*=====================================================*/
void printSYS_SIZE( ifstream ... | [
"borreguero@gmail.com"
] | borreguero@gmail.com |
f9456ac51971b9b76d72caf4bc7c38d669beb077 | b3039bd708590128db3113e2df799f65f3690f0c | /SP_4/SP_4/SP_4.cpp | 3e46a6ddb6c1e83f09a7e4aee934ae6aaafa6177 | [] | no_license | degarem/system_programs | 2c5816dd18ee0ed9a686b6cf85ca7330b12599d1 | d075eec16dd1633eeb615816ae2f468b53e69831 | refs/heads/master | 2021-01-02T18:46:18.628336 | 2020-05-20T16:39:37 | 2020-05-20T16:39:37 | 239,749,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include "stdafx.h"
#include <string>
#include <iostream>
#include <Windows.h>
using namespace std;
#define MAX_PATH_SYMBOL_COUNT 260
#define MAX_COMMANMD_SYMBOL_COUNT 10
void perfrom_command(wstring command, wstring parameter);
bool is_file_exists(wstring path);
int wmain(int argc, wchar_t *argv[])
{
printf("\n* ... | [
"40548809+degarem@users.noreply.github.com"
] | 40548809+degarem@users.noreply.github.com |
030b79c12c8e894700ff65bc26fc134493a5d57d | 58026475b343b937fcb94e8adeded69ef693e82b | /tools/json-ast-exporter/src/Options.cpp | e4b6c4e41be1c119ad107709e0bdf4ed9a5cf73d | [
"MIT"
] | permissive | plast-lab/cclyzer | ca6107e968579c5ae1156db6556940c65730b5f8 | 470b614ff26a348d5d9bde1cabe52cf668ec48b9 | refs/heads/master | 2021-01-16T18:05:18.515778 | 2020-10-02T11:37:55 | 2020-10-02T11:37:55 | 15,769,661 | 74 | 15 | MIT | 2020-10-02T11:37:57 | 2014-01-09T14:59:04 | Python | UTF-8 | C++ | false | false | 5,160 | cpp | #include <assert.h>
#include <iostream>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/variables_map.hpp>
#include "Options.... | [
"gbalats@gmail.com"
] | gbalats@gmail.com |
064c4d6e412580c3b37908b2a19f8243a5c4c7f6 | 3f5022154cbec1bb4643a50316e297f979b53184 | /gcc-7.4.0-amd64/usr/x86_64-astraeus-linux-gnu/include/c++/7.4.0/bits/sstream.tcc | 5c0e9993e85aa3c84890a9d8e416dad3780481a3 | [] | no_license | ahyangyi/astraeus-toolchain-binary | 45b011d3a247e67fa86f0572a183dca3fbf6abd5 | 4c56bf133c52ddba4e357d39fc13b2755dce0583 | refs/heads/master | 2020-07-31T06:35:10.026719 | 2019-09-25T15:12:19 | 2019-09-25T15:12:19 | 210,516,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | tcc | version https://git-lfs.github.com/spec/v1
oid sha256:f331fe4c0ec14855eb0e4b41ed1a8be4f020faa1dd3d3e74706a4eb43f12be66
size 10115
| [
"ahyangyi@gmail.com"
] | ahyangyi@gmail.com |
57db5926af38920f85257567f1ad2c59ad40ea3f | 1af656c548d631368638f76d30a74bf93550b1d3 | /chrome/browser/chromeos/power/auto_screen_brightness/als_reader.h | 4cc31004eccd9763152cff85ab9171f41948eab8 | [
"BSD-3-Clause"
] | permissive | pineal/chromium | 8d246c746141ef526a55a0b387ea48cd4e7d42e8 | e6901925dd5b37d55accbac55564f639bf4f788a | refs/heads/master | 2023-03-17T05:50:14.231220 | 2018-10-24T20:11:12 | 2018-10-24T20:11:12 | 154,564,128 | 1 | 0 | NOASSERTION | 2018-10-24T20:20:43 | 2018-10-24T20:20:43 | null | UTF-8 | C++ | false | false | 1,519 | h | // 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.
#ifndef CHROME_BROWSER_CHROMEOS_POWER_AUTO_SCREEN_BRIGHTNESS_ALS_READER_H_
#define CHROME_BROWSER_CHROMEOS_POWER_AUTO_SCREEN_BRIGHTNESS_ALS_READER_H_
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aa4dfad1b72468809b3d5e951bd26fd143896241 | 6cf49b15039dbe8c65af72d044ef28c7d6170db9 | /ITAK/main.cpp | d97b45fb93aed5037790b2358ff62700a29e8fdb | [] | no_license | drakeaharper/cs1440 | cd0d529d049d010b1a41cda7687d5d65b3b82df6 | 373d65ffbb6214f12b13dec58e4b64f47e78b737 | refs/heads/master | 2021-01-11T14:54:02.260140 | 2017-04-30T00:43:17 | 2017-04-30T00:43:17 | 80,245,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include "Dictionary.h"
#include "Utils.h"
#include "Analyzer.h"
#include "DenialOfServiceAnalyzer.h"
#include "PortScanAnalyzer.h"
int main()
{
Configuration go;
return 0;
}
/*
Dictionary<std::string, KeyValue<std::string, KeyValue<std::st... | [
"drakeaharper@gmail.com"
] | drakeaharper@gmail.com |
fb164e40cc1d4ad6e31c7a7725b327dec9d2a3ae | 57a61c7ea1cc0a2e7686a07f3430121597043dab | /irrlicht-1.7.3/source/Irrlicht/CFileList.h | d8213e4c52b4c358f144e781f40ab3df6ea7f51f | [] | no_license | dg8fv2010/WonderLandNet | 8c3b85a5abc813dba6407cdc5b72cfea4a8caaaf | 22f7aeef8c676c56f49c7c6854c0a469c29bdb91 | refs/heads/master | 2021-01-10T12:03:31.853501 | 2015-06-06T12:15:49 | 2015-06-06T12:15:49 | 36,978,516 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,616 | h | // Copyright (C) 2002-2010 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_FILE_LIST_H_INCLUDED__
#define __C_FILE_LIST_H_INCLUDED__
#include "IFileList.h"
#include "irrString.h"
#include "irrArray.h"
namespac... | [
"xuewentao@zheng-exp.lab"
] | xuewentao@zheng-exp.lab |
2987d2dba0e2536fcfd078571b3d66b3038e988a | 4c85c3017c86b66f203e46bd7785cb34af9e7eb8 | /include/KeyFrameDataBase.h | 4180552daeaf3a5de23b1aa5d47f7cda1b265d76 | [] | no_license | StanleyYake/Kinect_SLAM | f2481abeaf21999e3fcae8d2e5b201c61537257c | 016640c9da5aded6399b4dd95cc7cc68b9696cd1 | refs/heads/master | 2022-03-14T02:45:37.436040 | 2018-07-05T13:52:03 | 2018-07-05T13:56:16 | 469,284,731 | 1 | 0 | null | 2022-03-13T06:01:43 | 2022-03-13T06:01:42 | null | UTF-8 | C++ | false | false | 1,793 | h | /**
* This file is part of ORB-SLAM2.
*
* Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza)
* For more information see <https://github.com/raulmur/ORB_SLAM2>
*
* ORB-SLAM2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | [
"mysita@vip.qq.com"
] | mysita@vip.qq.com |
ee9ef0215f9d55114a321f34cf3fb93045b30a01 | fbfa70577946bc5ee45cfd20b8937be098ae2837 | /Particle_1D_Mechanics.cpp | 0a7ba6c176b6fe44af7b8bcb45402b70606699f0 | [] | no_license | srankli/MPM | a26c018c8f6c21a4bc2a0b01aa02dc268e5535a1 | 4511f6bdd0c01dad2318a5adfb061bd94e1d17a5 | refs/heads/master | 2020-04-05T15:54:16.235628 | 2018-11-21T08:13:05 | 2018-11-21T08:13:05 | 156,989,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | #include "Particle_1D_Mechanics.h"
int ObjectByParticle_1D_Mechanics::addParticle(
ParticleParam_1D_Mechanics *pcl_param, ConstitutiveModelParam *pcl_cm)
{
Particle_1D_Mechanics *pcl;
if (!pcl_param || !pcl_cm)
return -1;
++particleNum;
pcl = static_cast<Particle_1D_Mechanics *>(particles_mem.alloc());
pcl-... | [
"yimingli0802@foxmail.com"
] | yimingli0802@foxmail.com |
99e753d63f42d129b194c3ca790139a3a635581d | 56faa945655349a2c529b5076139ad823db2e516 | /leetcode/medium/307.cpp | 65a5cfed9044090c9b201803c680ca30fc4eb871 | [] | no_license | lijinpei/leetcode | 61e3fec4ec935ec0d3a8048e5df6c022b3663545 | 9833469506f4802009398b6217e510e35b188c95 | refs/heads/master | 2018-10-17T08:28:08.716683 | 2018-08-02T16:30:50 | 2018-08-02T16:30:50 | 120,696,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | #include <vector>
#include <cstdint>
uint32_t LOWBITS(uint32_t v) {
return v & -v;
}
class NumArray {
uint32_t s;
std::vector<int> bit, nums;
int sum(uint32_t p) {
int ret = 0;
while (p) {
ret += bit[p];
p -= LOWBITS(p);
}
return ret;
}
public:
NumArray(const std::vector<int>... | [
"leekingp1994@163.com"
] | leekingp1994@163.com |
e77552ec65a438a6ad053575e1b57cded2cdffa4 | c0c93e8f0112f9cbfd6333b23749bb429505312a | /crane-common/overlay/hardware/libhardware/gralloc/mapper.cpp | d9f25bbd86cc1838957d27a0386b307e195ea231 | [] | no_license | stelios97/allwinner_board_files | 2e2a8ca414dfd6f29b4cfa67182dfb7f461dbc18 | bf9248c55ce7d878a7ab74bc7bb9ca2c758b4d55 | refs/heads/master | 2021-01-24T01:10:36.407815 | 2012-03-13T16:36:16 | 2012-03-13T16:36:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,212 | cpp | /*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 requir... | [
"contact@arpandeb.com"
] | contact@arpandeb.com |
0c353113d49dde5026498454055f1cb171dd194e | 6848723448cc22474863f6506f30bdbac2b6293e | /tools/mosesdecoder-master/phrase-extract/syntax-common/tree_test.cc | 8e689f0000e50e8ddc0ea7d55fd8bb43950d70af | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only"
] | permissive | Pangeamt/nectm | 74b3052ba51f227cd508b89d3c565feccc0d2f4f | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | refs/heads/master | 2022-04-09T11:21:56.646469 | 2020-03-30T07:37:41 | 2020-03-30T07:37:41 | 250,306,101 | 1 | 0 | Apache-2.0 | 2020-03-26T16:05:11 | 2020-03-26T16:05:10 | null | UTF-8 | C++ | false | false | 4,375 | cc | #include "tree.h"
#define BOOST_TEST_MODULE TreeTest
#include <boost/test/unit_test.hpp>
#include <boost/scoped_ptr.hpp>
namespace MosesTraining {
namespace Syntax {
namespace {
// Test Tree<>::PreOrderIterator with a trivial, single-node tree.
BOOST_AUTO_TEST_CASE(pre_order_1) {
boost::scoped_ptr<Tree<int> > roo... | [
"alexander.raginsky@gmail.com"
] | alexander.raginsky@gmail.com |
0bc16a5e72ff7144a2f809280d3e69bea38c4c23 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc053/B/4715497.cpp | 74ab4429dd3c740a35ce24dc57ed00d97f86f87c | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
cin.tie(0);
ios::sync_with_stdio(false);
string s;
cin >> s;
int a_pos = 0;
int z_pos = 0;
for (auto itr = s.begin(); itr != s.end(); ++itr, ++a_pos)
{
if (*itr == 'A')
{
... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
4016c5721be33e808eaebf73d6d96970dd4b2d78 | 95ae7dfa9ee578f1b24a65986ff78bf77ceca0c5 | /Engine/lib/opcode/OPC_TreeCollider.h | a887983c34ba3c921c9ebc821bd1b7aeec0bcece | [
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | TorqueGameEngines/Torque3D | 4e1f6a05cc0928980c8c7c20bcdd680eaa6dcee8 | a445a4364664e299196bd551d213844486080145 | refs/heads/development | 2023-09-03T12:40:40.658487 | 2023-08-24T14:44:43 | 2023-08-24T14:44:43 | 267,440,108 | 1,192 | 178 | MIT | 2023-09-13T14:28:16 | 2020-05-27T22:35:54 | C++ | UTF-8 | C++ | false | false | 13,417 | h | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
* OPCODE - Optimized Collision Detection
* Copyright (C) 2001 Pierre Terdiman
* Homepage: http://www.codercorner.c... | [
"davew@garagegames.com"
] | davew@garagegames.com |
2bd23cab16a03352e21d9446f50e310cea2a78b2 | 9618aeab5df07ffd1d4f204c8cc3af1a2345d420 | /chrome/browser/chromeos/login/login_ui_keyboard_browsertest.cc | 23c814f59235b138670e940ad2ff12214cd9f337 | [
"BSD-3-Clause"
] | permissive | dmt3o/chromium | 3709c0c73e37aec82dc44d2bbe234d1f1829c32f | d368d5937f235033bd495a57005587ab275536b4 | refs/heads/master | 2022-12-19T04:43:33.801508 | 2020-10-02T02:56:57 | 2020-10-02T02:56:57 | 279,344,900 | 0 | 0 | BSD-3-Clause | 2020-10-02T02:50:00 | 2020-07-13T15:43:43 | null | UTF-8 | C++ | false | false | 18,941 | cc | // Copyright 2014 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 "ash/public/cpp/login_screen_test_api.h"
#include "base/command_line.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f844974909f7ecb127696d2b93920b1a575e48bd | 671ef594c3a043b32900864b3f5bf13bbcdab0aa | /src/training/elapsedtimecondition.h | 6762d33480632129600dea9b89a5f45cf7cef28c | [
"MIT"
] | permissive | VSitoianu/Allegiance | bae7206b874d02fdbf4c9c746e9834c7ef93154e | 6f3213b78f793c6f77fd397c280cd2dd80c46396 | refs/heads/master | 2021-05-07T17:15:01.811214 | 2017-10-22T18:18:44 | 2017-10-22T18:18:44 | 108,667,678 | 1 | 0 | null | 2017-10-28T17:02:26 | 2017-10-28T17:02:26 | null | UTF-8 | C++ | false | false | 795 | h | /*
** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
**
** File: elapsedtimecondition.h
**
** Author:
**
** Description:
** Header file for the training library "elapsedtimecondition" interface.
**
** History:
*/
#ifndef _ELAPSED_TIME_CONDITION_H_
#define _ELAPSED_TIME_CONDITION... | [
"Administrator@svn-alleg.net"
] | Administrator@svn-alleg.net |
dc020678e8d813dc327663a5419e1e27c9740900 | 75596988cf42a9cf443cdcc77feaa056f29181e6 | /ASTAR/Classes/SceneMapWalk.cpp | 60e16bc66329281ff0c5c16512c825185b99adaf | [] | no_license | ndlwill1020/AStar | 67882cb0f41f605c6a1e41140ee7186b65cf55ca | 5dc09943d6be902dfa2b30e3a8d59b1ed873e38d | refs/heads/master | 2021-01-19T04:02:12.303495 | 2016-07-11T04:05:50 | 2016-07-11T04:05:50 | 47,319,863 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include "SceneMapWalk.h"
#include "LayerHudControl.h"
bool SceneMapWalk::init(){
if(!Scene::init()){
return false;
}
p_LayerMapWalk=LayerMapWalk::create();
//log("LayerMapWalk->size:%f:%f",p_LayerMapWalk->getContentSize().width,p_LayerMapWalk->getContentSize().height);
this->addChild(p_LayerMapWalk)... | [
"ndl_mac1020@126.com"
] | ndl_mac1020@126.com |
9a68ddb48a81753dc27dcd793647a216f920ec6e | a8a29de75dd6ad07dd75c4e3ffa2d3da807d4250 | /include/fastformat/sinks/null.hpp | eaa9e506ed75d98b98fbe0f6669c99afcd926ba3 | [
"BSD-2-Clause"
] | permissive | moteus/FastFormat | 3dbcdc33359f0d68db3db9f50f56b3f5d9296cdc | acd894848a5c4a6f9f21ccdd15aa80cc0a079496 | refs/heads/master | 2021-01-17T17:12:18.812317 | 2015-09-28T12:15:05 | 2015-09-28T12:15:05 | 63,425,872 | 1 | 1 | null | 2016-07-15T13:58:11 | 2016-07-15T13:58:10 | null | UTF-8 | C++ | false | false | 5,314 | hpp | /* /////////////////////////////////////////////////////////////////////////
* File: fastformat/sinks/null.hpp
*
* Purpose: A class that acts as a bit-bucket sink.
*
* Created: 3rd December 2008
* Updated: 14th September 2010
*
* Home: http://www.fastformat.org/
*
* Copyright (c) 200... | [
"matthew@synesis.com.au"
] | matthew@synesis.com.au |
3d711433719fb800b61d79e3634d870eb56683b5 | 5884451df714e76b8725fa2c68fdce8c782b9bf0 | /libcore/src/network/Frame.cpp | 92a40f6b0c4369545e3ad843ff1c306c1ec119c6 | [
"BSD-3-Clause"
] | permissive | khoshino/sirikata | 933a0736161ae561be7c0d9ab306f222d8663a02 | f4c1838a4cf7f3aa96752f4c3001c5190908c245 | refs/heads/master | 2021-01-21T00:25:53.201796 | 2011-06-22T20:45:05 | 2011-06-22T20:58:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,079 | cpp | /* Sirikata
* Frame.cpp
*
* Copyright (c) 2010, Ewen Cheslack-Postava.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above c... | [
"ewencp@cs.stanford.edu"
] | ewencp@cs.stanford.edu |
acb71b1d30c41624b4d569aa43e55dd99ea019f3 | 7a433f33264d0ad90c14254797a58649c012ce0d | /25.1/p11361/p11361/main.cpp | 1cfc9c66fe2ba548190e8e7dc5181445fcc4b76b | [
"Apache-2.0"
] | permissive | Qvocha/Grisha | dc1a2d797bbdfe59b01abe03565cd483599148c0 | f7a8ce32c3abe5f57c00bdef28c19bf62d1fee28 | refs/heads/master | 2020-06-09T22:29:17.639576 | 2019-06-24T15:42:23 | 2019-06-24T15:42:23 | 193,518,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cpp | #include <iostream>
#include "task25.h"
using namespace std;
int main()
{
fipi2018();
return 0;
} | [
"pineappletoe@gmail.com"
] | pineappletoe@gmail.com |
c8dc701235155a9caac9d92bf68379fd38f7567c | 10341b14f0528b0f4a6449f9a3d8dc70e9044143 | /codeforces/1180-A.cpp | 2a54cd127fbff35e1f6174dd4071b5d78bc20e00 | [] | no_license | ayu16/CodeSolutions | e78fe8ec4c9b322b0071e20313f3b4c6e0185272 | 503845f6c5956507dbf8e033207ab074dc1d5ad4 | refs/heads/main | 2023-08-25T12:18:23.496152 | 2021-10-21T05:56:19 | 2021-10-21T05:56:19 | 419,598,280 | 0 | 0 | null | 2021-10-21T05:56:19 | 2021-10-21T05:53:10 | null | UTF-8 | C++ | false | false | 1,193 | cpp | // https://codeforces.com/contest/1180/problem/A
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define pb push_back
#define mp make_pair
#define vi vector<int>
#define vll vector<ll>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define F first
#define S seco... | [
"ankurcharan98@gmail.com"
] | ankurcharan98@gmail.com |
2d26a6b0187e8ac52e7969028a31b44e3de25b89 | 8f29bbdbc1b29365eca840b72d61f63abe8f829f | /Semester2/3001/AI midterm/SDLGameEngine/Align.h | d7800e496cb46097c91e1b8ada52797d677fda36 | [] | no_license | CccrizzZ/GBC01 | d294f01aab97de37f2b70bcf325ae713e4eed740 | c44130872f609e5778992d8a6dad09caed29ff71 | refs/heads/master | 2022-02-22T11:32:54.720661 | 2019-10-14T00:07:50 | 2019-10-14T00:07:50 | 158,318,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #pragma once
#include "SteeringBehaviour.h"
class Align :
public SteeringBehaviour
{
public:
Align();
Align(GameObject* go);
~Align();
void Update();
float orientation;
float maxAngularAccelaration = 0.1f;
float targetRadius = 0.5f;
float slowRadius = 1.0f;
float timeToTarget = 0.1f;
};
| [
"ccccrizzzz@gmail.com"
] | ccccrizzzz@gmail.com |
bdb0ea1bfd29fb2e90f269251480495f9b95072a | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-clouddirectory/source/model/UpdateSchemaResult.cpp | 2212eb21df8632de13d62bed3387d048b8bfa2ce | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 1,354 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
920893112aa418d630c07859c9776a9561b602a5 | 9621b172b8d01dd9d275537293b3d1e9a19ef4ce | /src/chrono_vehicle/cosim/terrain/ChVehicleCosimTerrainNodeSCM.cpp | 4582e4919edd167c214b6ef80fa5ab0ed31809ae | [
"BSD-3-Clause"
] | permissive | jmange/chrono | c72173d06824405c958be0914e41db70540b84e8 | f25c40d0eccfe30b5a6cdec3148e26d5c393015b | refs/heads/main | 2023-07-09T20:03:16.294624 | 2023-07-05T18:13:27 | 2023-07-05T18:13:27 | 629,678,854 | 0 | 0 | null | 2023-04-18T20:03:19 | 2023-04-18T20:03:18 | null | UTF-8 | C++ | false | false | 15,679 | cpp | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2020 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of th... | [
"serban@wisc.edu"
] | serban@wisc.edu |
e3b1a27d67e621f8ee6951038f95d5a57c408e16 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /Treinos equipe/xv de piracikobus/2018/10-26 2017 X Samara/h.cpp | eedda1e77f17931dd15d2b513306f0f900131b8c | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,900 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
05abe423e121cf25f5c743a9703a7d0adba5c41c | 3bbad6f1f610ad8cc4edec00aae854f27e9abf73 | /cpp/扩展欧几里得算法/扩展欧几里得算法/main.cpp | 3b59ef57402de92dfa2b8ede859c9957e36eaffd | [] | no_license | torresng/Algorithms_practice | c765e6e60c4e2a84486a1a88fb6d42503629876a | dae0eaa1dd0663fb428a0002dc5fa8528ff4204f | refs/heads/master | 2021-08-07T08:57:16.690536 | 2020-04-15T06:24:12 | 2020-04-15T06:24:12 | 152,349,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | #include <iostream>
using namespace std;
int exgcd(int a, int b, int &x, int &y) {
if (!b) {
x = 1, y = 0;
return a;
}
int d = exgcd(b, a % b, y, x);
y -= a / b * x;
return d;
}
int main() {
int n;
scanf("%d", &n);
while (n--) {
int a, b, x, y;
scanf(... | [
"torresng2684cte@gmail.com"
] | torresng2684cte@gmail.com |
2d770f576753e2f5480f4c2f3fc9d984f995238e | 52e74962932b8f41d56c8228269183623d51693d | /Count Univalue Subtrees.cpp | 8545c0e00186ba3ee1a79d1e1a79665ba3be09b1 | [] | no_license | huston66/Leetcode | be63bab22216c62a69281e6955d214e017099241 | 9d807a2de1257a8a7fe9001db73bba76adeecbbf | refs/heads/master | 2021-01-18T23:52:48.242920 | 2016-10-17T09:06:24 | 2016-10-17T09:06:24 | 50,390,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | class Solution {
public:
int countUnivalSubtrees(TreeNode* root) {
int count=0;
dfs(root,count);
return count;
}
bool dfs(TreeNode* root,int &count){
if(root==NULL)
return 1;
bool left=dfs(root->left,count);
... | [
"zhenli@Zhens-MacBook-Pro.local"
] | zhenli@Zhens-MacBook-Pro.local |
d738b7df9aeea6d2243526f948c614223cced24b | 6f6bbab251671ddcdac118b6e730aaecda463e9e | /polynomial_plus.cpp | 033259c674b96d50b938967ce71964d8ec6ebba2 | [] | no_license | jc3939/Coursera-PKU-Data-Structures | 192696c786c171045001bbb35745b80cd47c90d5 | 12304715c7fcee82b92a885852a48d6ca060f5f5 | refs/heads/master | 2021-01-21T13:56:43.504598 | 2016-05-14T23:54:14 | 2016-05-14T23:54:14 | 45,805,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,814 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
template<typename T> class Node{
public:
T indx;
T coeff;
Node<T> * next;
Node(T _indx, T _coeff, Node<T> * nextValue=NULL){
//cout<<"construct index"<<_indx<<endl;
indx = _indx;
co... | [
"jianjun_chen@Jianjun-Chens-MacBook-Pro.local"
] | jianjun_chen@Jianjun-Chens-MacBook-Pro.local |
87be81184c9e1ce8364f8b7da2df8c8dd0811783 | 7dd45eec6918a7c63e8ae87a5f22f8be7f313356 | /numeric_simple.cpp | 436d6a700cdf067eb16f74e9289f877c96452c93 | [] | no_license | yazevnul/yzw2v | f89188d62416bb24ac6833c6dab7b961767f7b48 | cc52fa5d0108d255c9b41bb1a282790dcdfeeb60 | refs/heads/master | 2021-01-21T12:59:09.972976 | 2016-04-19T15:53:08 | 2016-04-19T15:53:08 | 54,340,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | cpp | #include "numeric.h"
void yzw2v::num::Prefetch(const float* v) noexcept {
(void)v;
}
void yzw2v::num::Fill(float* v, const uint32_t v_size, const float value) noexcept {
for (auto i = uint32_t{}; i < v_size; ++i) {
v[i] = value;
}
}
void yzw2v::num::Zeroize(float* v, const uint32_t v_size) noexce... | [
"kostyabazhanov@mail.ru"
] | kostyabazhanov@mail.ru |
e5ffa7dfed0312035fc9dd42a983b72834e88f12 | 9177984cb1cd5843df94a93846367db5dd45daf0 | /src/cs/geolib/csTimeStretch.cc | f3b77bc2fc8a58eb241889f46cce7bf58aed1ba2 | [] | no_license | fccoguz/OpenSeaSeis | 001f8a9d4258ce033ad5e2fa27f719c1f6a5d0a8 | eb09a7ed115eaff4b055df25a60e975650635cda | refs/heads/master | 2023-03-18T20:11:24.133298 | 2020-02-18T15:20:58 | 2020-02-18T15:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,380 | cc | /* Copyright (c) Colorado School of Mines, 2013.*/
/* All rights reserved. */
#include <cmath>
#include <cstring>
#include "csTimeStretch.h"
#include "csInterpolation.h"
#include "geolib_methods.h"
#include "csException.h"
#include <iostream>
#include <cstdio>
#include <cstdlib>
using namespace ... | [
"john.19071969@gmail.com"
] | john.19071969@gmail.com |
9254d769384a8ea2417fbb2a7db4ce39bed55ed9 | fbbef987934e34d3163864008bd6e32008532662 | /TechDeMMO/GameObjectFactory.cpp | c582784770b3f045532568314d7953f6c28ce927 | [] | no_license | Lugswo/TechDeMMO | bb07f9dc02526b75f971032a283844a679a5cda2 | 2d50b6355d5fa4abb7876523f990a0ad7c555201 | refs/heads/master | 2020-06-01T00:23:29.565161 | 2019-09-05T19:23:16 | 2019-09-05T19:23:16 | 190,555,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | #include "GameObjectFactory.h"
#include "TraceLog.h"
#include "TransformComponent.h"
#include "SpriteComponent.h"
#include "PlayerComponent.h"
#include "RandomEngine.h"
std::map<unsigned, GameObject *> GameObjectFactory::archetypeList, GameObjectFactory::objectList, GameObjectFactory::playerList;
unsigned GameObjectF... | [
"spencer.park@digipen.edu"
] | spencer.park@digipen.edu |
d2ee9c42388a25df746ce19290d8aff732da086f | 7f86aa1f4533a3845dbb7379f4b4d24ac9ed8496 | /src/LocalFit.cpp | b43016b9c0d66d63e064d697b8b95d475083a645 | [] | no_license | wagenadl/salpa | 33cd5e89556bc0913add37e7718cba6822cbba6a | 2d9195b21f321fd0913fd3794fee4f59e0ed1ca4 | refs/heads/master | 2023-03-02T07:17:06.713341 | 2023-02-28T18:04:14 | 2023-02-28T18:04:14 | 271,944,219 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,964 | cpp | /* artifilt/LocalFit.C: part of meabench, an MEA recording and analysis tool
** Copyright (C) 2000-2003 Daniel Wagenaar (wagenaar@caltech.edu)
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundati... | [
"daw@caltech.edu"
] | daw@caltech.edu |
eac7417b955cb0b9b30e96636949fe736ff46fb1 | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/core/avmfeatures.cpp | 6e3da6e98960af994aa3ea184c8b53c9516ea775 | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,033 | cpp | // DO NOT EDIT THIS FILE
//
// This file has been generated by the script core/avmfeatures.as,
// from a set of configuration parameters in that file.
//
// If you feel you need to make changes below, instead edit the configuration
// file and rerun it to get a new version of this file.
... | [
"hgl868@126.com"
] | hgl868@126.com |
a04f59337ff272d0381e299706acc9aacc444582 | cca59ed6978ee5e6f6f440da63e14eedd28e76d7 | /DSA/tpW-QB4ATMqVvkAeAHzKtw_df9ba297ee0745fb8e40b00bde601ded_course1_2020_05_28/week3_greedy_algorithms/1_money_change/change.cpp | 2f7e0453aeaf3fcd84dec9da3eacb661b10a1489 | [] | no_license | ach-in/moocs | f0d4ab06443442f48df66dad738077c4e13ee66d | 6799041ced3506818bf70a5a68b9c283db465808 | refs/heads/master | 2022-12-01T05:11:59.214070 | 2020-08-25T21:27:48 | 2020-08-25T21:27:48 | 287,500,318 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include <iostream>
int get_change(int m) {
//write your code here
int n = 0;
while(m!=0){
if(m>=10){
m-=10;
n++;
}
else if(m>=5){
m-=5;
n++;
}
else{
m-=1;
n++;
}
}
return n;
}
int main() {
int m;
std::cin >> m;
std::cout << get_change(m) << '\n';
}
| [
"achinparashar1000@gmail.com"
] | achinparashar1000@gmail.com |
5122e75cb244dd1b11bdf28da2502db735e41b69 | 68c1cc3785e2794a527ff949e30e8fea30f2f44d | /llap/Example/LLAPfly/llapfly/PublicUtility/CABundleLocker.cpp | 2161be7447c8988343fc447f3019733690e68f45 | [
"MIT"
] | permissive | jswny/LLAP | d9dc1bfe30ed83e685681791473941ed5b26a8ac | e191e7e051b0646648dce0639d429fb5676acadc | refs/heads/master | 2022-04-24T13:28:07.055354 | 2020-04-25T05:36:36 | 2020-04-25T05:36:36 | 256,833,518 | 0 | 0 | MIT | 2020-04-18T19:14:49 | 2020-04-18T19:14:48 | null | UTF-8 | C++ | false | false | 3,312 | cpp | /*
File: CABundleLocker.cpp
Abstract: CABundleLocker.h
Version: 1.1
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple software constitute... | [
"sk461236626@163.com"
] | sk461236626@163.com |
9fea3960960f63ce4479f6546ebcc96584345cbc | b350b1193f350c349923e0a7baeed08ddf6d8cfd | /Cpp_Algorithms/BinaryTreeInorderTraversal/inorder_traversal.cc | 7f589dd337262197322fc5d7a989deb291b02df3 | [] | no_license | Oscarchoi/CodeExamples | 98c326f56cc403679e1a463895acb23d2e8384ee | 716a6ac2a6549068fd109f0a36f8abcbf44f1cf9 | refs/heads/master | 2023-09-01T06:18:09.427283 | 2021-11-03T16:30:46 | 2021-11-03T16:30:46 | 262,495,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cc | #include <vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *right)
: val(x), left(left), right(right) {}
};... | [
"wychoi502@gmail.com"
] | wychoi502@gmail.com |
ae6f282ef705101cf4eb36c21886e246d3361d9b | 9037aae803aa3b42e73bcb137410d24dd064d450 | /service-api/src/thrift/gen-cpp/User_types.cpp | 10ffe270f45e5120a54b12cc8fa3f69eb95e4a59 | [] | no_license | Vann7/xjll_service | c0a626ab9ef11653fa08038355bc2c96e6a3cc63 | 8815f204e7e5b89a6bcdbc27667e636f40676769 | refs/heads/master | 2020-03-27T14:46:33.542499 | 2018-09-06T06:36:19 | 2018-09-06T06:36:19 | 146,678,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,000 | cpp | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "User_types.h"
#include <algorithm>
#include <ostream>
#include <thrift/TToString.h>
namespace com { namespace test {
User::~User() throw() {
}
void User::__set_id(c... | [
"272921161@qq.com"
] | 272921161@qq.com |
71748b243672ce83f903dc31c0a8534aab5ada9d | 54590b39d4710d32bc129e0e9bf59fd5f56ac32d | /SDK/SoT_bsp_plm_cluster_03_d_functions.cpp | 79f0df12248339931c20448987c728460c60c612 | [] | no_license | DDan1l232/SoT-SDK | bb3bb85fa813963655288d6fa2747d316ce57af8 | cda078f3b8bca304759f05cc71ca55d31878e8e5 | refs/heads/master | 2023-03-17T13:16:11.076040 | 2020-09-09T15:19:09 | 2020-09-09T15:19:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | // Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_bsp_plm_cluster_03_d_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
//... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
e7213cc85e18a8d1b5777847b00fbd6df595a936 | 2a13ef8aac640723d81f8dc28d7a9f9b9481cf17 | /Kernel/FileSystem/AnonymousFile.cpp | a0fa76fd426fb0a7710b629595e5ad7abce12873 | [
"BSD-2-Clause"
] | permissive | gchenfly/serenity | e2eee85c1445269a8790afe76d597b54879abea6 | 02cca9276315ac4e92083e1e25edf3e760f433ff | refs/heads/master | 2023-02-23T07:07:20.514241 | 2021-01-24T21:01:39 | 2021-01-24T21:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | cpp | /*
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
* 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, t... | [
"kling@serenityos.org"
] | kling@serenityos.org |
0a585c6cf2ec3350c6aeee747399fa8d716b9403 | 2cb3e1435380226bc019f9c4970be871fd54288e | /opencv/build/modules/core/stat.simd_declarations.hpp | 5b7be13473b1fb5376736af6201415deb0a2397e | [
"Apache-2.0"
] | permissive | 35048542/opencv-contrib-ARM64 | 0db9f49721055f8597dd766ee8749be68054c526 | 25386df773f88a071532ec69ff541c31e62ec8f2 | refs/heads/main | 2023-07-20T10:43:13.265246 | 2021-08-24T13:55:38 | 2021-08-24T13:55:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | hpp | #define CV_CPU_SIMD_FILENAME "/home/epasholl/opencv/opencv-master/modules/core/src/stat.simd.hpp"
#define CV_CPU_DISPATCH_MODES_ALL BASELINE
#undef CV_CPU_SIMD_FILENAME
| [
"epasholl@umich.edu"
] | epasholl@umich.edu |
2ce081233676c972cc8885fcb26c9b7e5a52fdee | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE127_Buffer_Underread/s03/CWE127_Buffer_Underread__new_wchar_t_loop_32.cpp | 5878a9f24605c668c008ee9f7c0e5ab95bef60e9 | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,946 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__new_wchar_t_loop_32.cpp
Label Definition File: CWE127_Buffer_Underread__new.label.xml
Template File: sources-sink-32.tmpl.cpp
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory buffer
... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
f9c23d0d8bb0b24e415c44057753d70719c03925 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/richedit/re30/_ime.h | 381c6669f83c87732a6fdd0d23f929668b4fcfd3 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 10,825 | h | /*
* @doc INTERNAL
*
* @module _ime.h -- support for IME APIs |
*
* Purpose:
* Most everything to do with FE composition string editing passes
* through here.
*
* Authors: <nl>
* Jon Matousek <nl>
* Justin Voskuhl <nl>
* Hon Wah Chan <nl>
*
* History: <nl>
* 10/18/1995 jonmat... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
1929dc6e742d2a9a900cc6eb6c5c44e626f1fa88 | 4c7c9592e056c80f3499cdcbe16be8fa49321ad1 | /Game/MissileManager.cpp | bb8e1d4be3cb8a1218892c6804c4156ebbf0570f | [] | no_license | Karrietje/Galaga | 00646c2983c189943b7872c686884d2a3cd52c40 | a4b5fe2de5bfebb372179b94d924a8c25d5e9710 | refs/heads/main | 2023-07-09T05:40:10.434977 | 2021-08-23T02:56:15 | 2021-08-23T02:56:15 | 397,385,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | cpp | #include "MissileManager.h"
#include "GameObject.h"
#include "Components.h"
#include "GalagaComponents.h"
#include "SceneManager.h"
#include "Scene.h"
void dae::MissileManager::SubscribeGameObject(Scene* pScene, GameObject* pGameObject, bool isEnemy)
{
if (m_pMissiles.find(pGameObject) != m_pMissiles.end())
return;... | [
"44691800+Karrietje@users.noreply.github.com"
] | 44691800+Karrietje@users.noreply.github.com |
b8fb6b1611a86c1e0a30e6929c9e3b6bcca5e044 | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/ui/gfx/rect_f.cc | d7b1089c96de6c556d3fc08b85ebc2e1fe86c4cd | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 2,013 | 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 "ui/gfx/rect_f.h"
#include <algorithm>
#include "base/logging.h"
#include "base/stringprintf.h"
#include "ui/gfx/insets_f.h"
#include "ui/g... | [
"rjogrady@google.com"
] | rjogrady@google.com |
b34513dae9dd5334c3394686f4ed7b36ff54b905 | f77d436de9db3ec3d0b9cba8baf90895409f5b89 | /Term 2/CarND-PID-Control-Project-master/src/PID.h | 64d1b974950b75f645b131a37e94eff0fab7d81a | [] | no_license | markusmeyerhofer/SelfDrivingCarND | ecea9f13b018db0df8a718a6c0a8f52818ba04ea | 9421fc46b2a05fb9ca5c7aebd18ca4101d019d4c | refs/heads/master | 2020-07-04T06:10:21.617199 | 2019-08-13T16:17:43 | 2019-08-13T16:17:43 | 202,181,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #ifndef PID_H
#define PID_H
class PID {
public:
/*
* Errors
*/
//private:
double p_error;
double i_error;
double d_error;
/*
* Coefficients
*/
double Kp;
double Ki;
double Kd;
public:
/*
* Constructor
*/
PID();
/*
* Destructor.
*/
virtual ~PID();
/*
* Initialize PID.
... | [
"markus.meyerhofer@me.com"
] | markus.meyerhofer@me.com |
fc62baef2c89a66328a8bc5b3567ade5cc684a84 | 11b9965933d407ed3708a252aebcdafc21c98664 | /FEM/include/refel.h | 33dfba0cc0667353effded3c3189aaab4b572abe | [
"BSD-3-Clause"
] | permissive | lanl/Dendro-GRCA | a265131e2a5d8327eba49e2133257d553826a41e | 8a475b1abd8832c3dfc19d00cc0ec4b9e2789c8a | refs/heads/master | 2023-05-31T06:25:06.113867 | 2020-09-23T18:00:13 | 2020-09-23T18:00:13 | 297,793,620 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,737 | h | //
// Created by milinda on 12/25/16.
//
/**
* @author Milinda Fernando
* @author Hari Sundar
* @breif Contains data structures to store the reference element information.
*
* @refference: Based of HOMG code written in matlab.
* */
#ifndef SFCSORTBENCH_REFERENCEELEMENT_H
#define SFCSORTBENCH_REFERENCEELEMENT_H
... | [
"hylim1988@gmail.com"
] | hylim1988@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.