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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
62a3e62764f46a09337adf7a0c4da4d264283863 | 59dcfc00711dee3b426a6c5322da0141a5dd92f3 | /Game/BlueBerryEngine/InputableManager.h | 619602eea2176a43992fbe7b6778b1369fa8cc39 | [] | no_license | PeterCat12/BlueBerry_GameEngine | 2692fa289a71bf197e74b734c7957436fc530a89 | a629fd5f3d694a82a58ff57cead15db333f9abfb | refs/heads/master | 2021-01-10T22:10:07.280351 | 2015-03-03T00:45:45 | 2015-03-03T00:45:45 | 31,570,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | h | //-----------------------------------------------------------------
// Inputable Manager class
// C++ Header File InputableManager.h
//-----------------------------------------------------------------
#ifndef INPUTABLE_MAN_H
#define INPUTABLE_MAN_H
//-----------------------------------------------------------... | [
"pwensel@gmail.com"
] | pwensel@gmail.com |
e773feba8cd400e7378e55bdc4e470e6c0940324 | 0d590492b180e78eaf2df5dcb4bb987ce8aa1bf9 | /581.cpp | bbced69686e0636a4fa3aedb0bc8f11d461626b2 | [] | no_license | blc1996/leetcode | 8911068f4766f16fe6c5ae7640908817830cfa6a | ed6f6b40008b3a42c0c0b95381416163a472c1f5 | refs/heads/master | 2021-06-16T02:30:59.310713 | 2021-02-16T07:38:36 | 2021-02-16T07:38:36 | 154,240,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | class Solution {
public:
int findUnsortedSubarray(vector<int>& nums) {
priority_queue<int, std::vector<int>, greater<int>> sm;
priority_queue<int> gt;
for(int i : nums){
sm.push(i);
gt.push(i);
}
int left = 0, right = nums.size() - 1;
if(nums[l... | [
"blc199610@gmail.com"
] | blc199610@gmail.com |
c67a3d7d75fb05ef9e8089eeaf199fa54ef9e7a2 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/11_21462_45.cpp | c4cbcf58af8e35213368fd1ba58ee8b349b30ba3 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace std;
int main()
{
freopen("outputB.txt","w",stdout);
freopen("B-small-attempt0.in","r",stdin);
int t=0;
scanf("%d", &t);
for (int i=0; i<t; ++i){
int c;
scanf("%d", &c);
char combine[91][91];
... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
94e8b163bb8ef010bb5f4c3e257d5bf0189f9797 | cd2b926871c62d89f3cae99b9414c6a048268695 | /server/KmxController.h | b70294f0c678bde42edf2390caf392f077a2a5bb | [] | no_license | parhansson/KMotionXCNC | 193e179a6d18715516e65a738662b16dc9302260 | 6463116f58e608398de7ecad63a55aff65e7a08b | refs/heads/master | 2023-01-22T20:35:06.203927 | 2019-12-03T08:35:34 | 2019-12-03T08:35:34 | 83,926,674 | 10 | 3 | null | 2023-01-07T11:15:43 | 2017-03-04T21:44:32 | TypeScript | UTF-8 | C++ | false | false | 6,217 | h | /*
* KMXController.h
*
* Created on: 17 dec. 2015
* Author: parhansson
*/
#ifndef KMOTIONX_KMOTIONXCNC_SERVER_KMXCONTROLLER_H_
#define KMOTIONX_KMOTIONXCNC_SERVER_KMXCONTROLLER_H_
#include "GCodeInterpreterX.h"
#include "MessageQueue.h"
#include "FileStatus.h"
//same as in KMotionCNCDlg.c
#define ACTION_C... | [
"par.hansson@gmail.com"
] | par.hansson@gmail.com |
83a9b650e67598f6feebf121837967736947f024 | 99367d497c44fb387f4800017c1118145e40618f | /opensource/iclsip_1.6.9wPCA/sample/UACom/Include/g711.h | 8ba06a0956629f1028021e43db6be02962d4d556 | [] | no_license | ScaredyCat/ADSL2-PCI-Card-Single-Port-ADSL-Modem | 8049d9781c39d515339ca8ebc188bba8a38dcda1 | 25a8a362658e5f305f9a2ee12650d30081057fd0 | refs/heads/master | 2022-09-30T14:49:55.733554 | 2020-06-06T21:46:58 | 2020-06-06T21:46:58 | 103,403,567 | 3 | 1 | null | 2020-06-06T21:46:59 | 2017-09-13T13:30:32 | C | UTF-8 | C++ | false | false | 679 | h | // G711Codec.h: interface for the G711Codec class.
//
//////////////////////////////////////////////////////////////////////
enum CodecTypes
{
CODECTYPE_ULAW = 0,
CODECTYPE_ALAW = 1
};
class G711Codec
{
public:
G711Codec();
~G711Codec();
int Encode(char *input, int inputSizeBytes, char *output, in... | [
"fuzzycat@gmail.com"
] | fuzzycat@gmail.com |
f530a3da2ecbfa614de847286dc552d7d3bf786a | 0b853cec122cecdf398c9e46989b7654a296fcf8 | /hurdles/statement/kien.cpp | 7f0ab3496fcee2aa8759b123241a6704a1d301ec | [] | no_license | KDuyVu/Problems | 3eed16a64fbf09d5e978ff7a2ded65047179c097 | aa7437c111d460ac1c30b759235ba41c53fb4e7f | refs/heads/master | 2023-06-07T16:43:35.829948 | 2016-05-13T10:28:23 | 2016-05-13T10:28:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include <stdio.h>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
#define long long long
#define f1(i,n) for (int i=1; i<=n; i++)
#define f0(i,n) for (int i=0; i<n; i++)
#define N 302
const int oo = 0x3c3c3c3c;
int n, m, q, c[N][N];
main(){
scanf("%d%d%d", &n, &m, &q);
f1(i,n) f1(j... | [
"kc97ble@gmail.com"
] | kc97ble@gmail.com |
a51aa746fcb3c35e66f69cb4f068c11d2aaefee6 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s02/CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_realloc_14.cpp | 4202d9880ef07eb6838b3986b11c4a892bf2dab8 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 4,747 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_wchar_t_realloc_14.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-14.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
a5ac06d9e458e01bb40184f2e0672217a39ec9af | 309be9e787df9a9b8d334e1c6b9aaa27c420d5de | /fastjson.cpp | 657d8b5cdb83b24acfd73af3dc9962643e44547e | [] | no_license | augustjoki/fastjson | 63f02ad960b3931bc4d7c1b889f7182599359196 | 9def905823f1b8b3a9ac90e68a6cccb716167b0a | refs/heads/master | 2021-01-18T13:06:11.680746 | 2011-03-02T05:38:16 | 2011-03-02T05:38:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,624 | cpp | #include "fastjson.h"
#include <vector>
#include <iostream>
#define C_MISC 0
#define C_HEX(X) (0x80 + (X))
#define C_WHITE 0x40
#define C_DIGIT(X) (0x80 + 0x20 + (X))
static const uint8_t fj_char_traits[256] =
{
C_MISC, C_MISC, C_MISC, C_MISC, C_MISC, C_MISC, C_MISC, C_MISC,
... | [
"michael.anderson@runwithrobots.com"
] | michael.anderson@runwithrobots.com |
c58051d84866987c0fc07f3be22c33f56e3722e9 | 624906e820f30cbf009d914f9a92585c4d726603 | /Trigonometric/SecondOrderTrigonometricArc.h | 9ec1b91a4944e5a514ecb3319fed0465d14fba7e | [] | no_license | norbertpalfi/CAGD | 4f8013970f45265085273f5b84c737ec78a04c36 | 69f0e865250fae4b13e9e29571d350b4d68c6359 | refs/heads/main | 2023-05-04T17:29:13.168358 | 2021-05-21T14:57:11 | 2021-05-21T14:57:11 | 369,568,881 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | h | #ifndef SOMEARCS3_H
#define SOMEARCS3_H
#include <Core/Constants.h>
#include <Core/LinearCombination3.h>
namespace cagd
{
class SecondOrderTrigArc: public LinearCombination3
{
private:
GLdouble _alpha = PI / 2.0;
GLdouble f0(GLdouble t) const;
GLdouble f1(GLdouble t) const;
... | [
"norbertpalfi.np.np@gmail.com"
] | norbertpalfi.np.np@gmail.com |
e2dac9c80378793653cd04cac3e95e7b1b9c53a4 | e51d009c6c6a1633c2c11ea4e89f289ea294ec7e | /xr2-dsgn/sources/xray/fs/file_type_pointer.h | 9a43a01a838f7d42d33cdb1f1ef84ccdf16ffd94 | [] | no_license | avmal0-Cor/xr2-dsgn | a0c726a4d54a2ac8147a36549bc79620fead0090 | 14e9203ee26be7a3cb5ca5da7056ecb53c558c72 | refs/heads/master | 2023-07-03T02:05:00.566892 | 2021-08-06T03:10:53 | 2021-08-06T03:10:53 | 389,939,196 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 20.07.2011
// Author : Sergey Chechin
// Copyright (C) GSC Game World - 2011
////////////////////////////////////////////////////////////////////////////
#ifndef XRAY_FS_FILE_TYPE_POINTER_H_INCLUDED
#define XRAY_FS_FILE_TYPE_PO... | [
"youalexandrov@icloud.com"
] | youalexandrov@icloud.com |
f77e691f26106912f414fe58f8fc278e398661f3 | 6db2daefa358fe4e21719d2544d130e7621d6e20 | /estructura_de_datos_1/maqueta_pilas.cpp | a2e1906cf20b7a69db1016e7000e6b8339268252 | [] | no_license | Guillermocala/notas-de-clase | 61da93eb051f059efa47ab87512438a4d856e53e | a0bce98ff6b0beac166b76a737d842232e99672c | refs/heads/master | 2022-11-30T17:31:21.504377 | 2022-11-20T04:01:53 | 2022-11-20T04:01:53 | 149,884,015 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,474 | cpp | #include "iostream"
#include "conio.h"
using namespace std;
struct Nodo
{
int info;
Nodo *sig;
};
Nodo *ptr = NULL;
Nodo *InicPila(Nodo *tope);
Nodo *InsertaPila(Nodo *tope, int elem);
int InfoPila(Nodo *tope);
Nodo *ElimPila(Nodo *tope);
bool PilaVacia(Nodo *tope);
void Mostrar(Nodo *tope);
int menu();
int m... | [
"guillermo.cala7@gmail.com"
] | guillermo.cala7@gmail.com |
2df962022f3623a73afb7e2ed414b51eae88615b | c9b02ab1612c8b436c1de94069b139137657899b | /sgonline_srv/app/cgi/CgiQQDeliver.cpp | 1a6b1c9a07b1bc035acdb34b8db8ff5bcf50ac80 | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,007 | cpp | #include "LogicInc.h"
#include "LogicQQPay.h"
class CCgiQQDeliver : public CCgiBase
{
public:
CCgiQQDeliver() : CCgiBase("qqdeliver")
{
SetFeature(CF_GET_REMOTE_IP);
SetFeature(CF_CHECK_PLATFORM);
}
CGI_DIRECT_PROCESS(deliver)
int deliver()
{
const string contractid = CCGIIn::GetCGIStr("contractid");
i... | [
"178370407@qq.com"
] | 178370407@qq.com |
9a15b6bbc911c3b3e0f5d2b55253cb0f124c72a2 | 88cf5bec8fe12b6e4e1c972acecb4bb741df71df | /talleres/taller02/expr03.cpp | d0ace4c5a2b61bd13cbfb2c26baf3054f4d05003 | [] | no_license | Bodhert/lenguajes_de_programacion | 34842b6750aade08661259006e2aff7e1d480678 | 8c049c5cdaed3f7360b4cbecf0973fe96192db72 | refs/heads/master | 2020-03-23T23:36:53.638834 | 2015-11-26T23:22:21 | 2015-11-26T23:22:21 | 142,244,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
int minimo = min(min(a,b),c);
int maximo = max(max(a,b),c);
int intermedio;
if(minimo == c) intermedio = min(a,b);
else intermedio = max(min(a,c),min(c,b));
cout << maximo << " " << intermedio << ... | [
"alejandro.cordoba.bodhert@gmail.com"
] | alejandro.cordoba.bodhert@gmail.com |
6bf232919c126747f58ac0079d9f973b4d93f12f | 772c6628cedc05c1d2d87de960f5eda092278b87 | /Codigo/alumno.h | 35dd5bc9ab9f6b9d5c60642f574a3d06c9bba38f | [] | no_license | SergioGF99/P4 | 745c39fe608714ca35f91c21a3dd6c61c84c7e2c | cb46158e594bd61c679f5f855f2cb3f02431c029 | refs/heads/master | 2020-04-08T13:17:11.053802 | 2018-12-23T22:34:15 | 2018-12-23T22:34:15 | 159,384,223 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,484 | h | #include <string>
#ifndef ALUMNO_H
#define ALUMNO_H
using namespace std;
class Alumno{
private:
string DNI_;
string nombre_;
string apellidos_;
string direccion_;
string correo_;
string curso_;
string telefono_;
int equipo_;
bool lider_;
public:
inline Alumno(string DNI, string nombre, string apellidos, str... | [
"i72lumav@uco.es"
] | i72lumav@uco.es |
38ed1196f8e9fdfcfe79689f32eb0cacd41ef1cf | 310871b700eaa9e587edeff23c217bcedcf7aa27 | /src/graph/executor/algo/MultiShortestPathExecutor.h | 19a06c3c50b6a142e2f36d695ebc6455968dff27 | [
"Apache-2.0"
] | permissive | dutor/nebula | d92ba3e112c39545d3f8782e5b0a51a132a2c50c | 38c804436f0f62796586f92d6b605d1985605654 | refs/heads/master | 2023-06-21T23:38:45.470621 | 2023-06-15T08:31:53 | 2023-06-15T08:31:53 | 452,952,045 | 0 | 0 | Apache-2.0 | 2022-01-28T05:37:26 | 2022-01-28T05:37:26 | null | UTF-8 | C++ | false | false | 3,630 | h | // Copyright (c) 2022 vesoft inc. All rights reserved.
//
// This source code is licensed under Apache 2.0 License.
#ifndef GRAPH_EXECUTOR_ALGO_MULTISHORTESTPATHEXECUTOR_H_
#define GRAPH_EXECUTOR_ALGO_MULTISHORTESTPATHEXECUTOR_H_
#include <robin_hood.h>
#include "graph/executor/Executor.h"
// MultiShortestPath has ... | [
"noreply@github.com"
] | dutor.noreply@github.com |
de1a678cebc621a40952c6f362e18ddb07eef52d | f5acd38efe9f28e14a3e77cf60f938000a6660ab | /clients/cpp-tizen/generated/src/RemoteAccessManager.cpp | 6c7179cdc90309cd30b7ef2573250b32316c1658 | [
"MIT"
] | permissive | rahulyhg/swaggy-jenkins | 3fc9377c8cf8643d6b4ffe4a6aceb49315afdb8e | 21326779f8814a07153acaf5af15ffbbd593c48b | refs/heads/master | 2020-05-04T16:14:43.369417 | 2019-01-27T06:27:32 | 2019-01-27T06:27:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77,599 | cpp | #include <glib-object.h>
#include <json-glib/json-glib.h>
#include "RemoteAccessManager.h"
#include "NetClient.h"
#include "Helpers.h"
#include "Error.h"
#include "RequestInfo.h"
using namespace std;
using namespace Tizen::ArtikCloud;
RemoteAccessManager::RemoteAccessManager()
{
}
RemoteAccessManager::~RemoteAcce... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
e6e608829345509242b9e2d29cd85521203b8c99 | 1f80af8f6e0b6b3cbfe66f4b04feb6620524f895 | /solutions/454. 4Sum II.cpp | 13dc8280fb774525824e8a4e82cc8066dfcfba98 | [] | no_license | satvik-2-9/Leetcode | fff6d3484e0c053a6401225293ca8478c0debdec | 422586dfe3ca7b36e6a2e140808f73288561f4d2 | refs/heads/master | 2023-06-21T22:05:05.779773 | 2021-07-15T14:37:57 | 2021-07-15T14:37:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,133 | cpp | class Solution {
public:
int fourSumCount(vector<int>& a, vector<int>& b, vector<int>& c, vector<int>& d) {
long long cnt=0;
vector<long long> arr;
for(auto i:c){
for(auto j:d){
arr.push_back(i+j);
}
}
sort(arr.begin(),arr.end(... | [
"56213428+sanyamdtu@users.noreply.github.com"
] | 56213428+sanyamdtu@users.noreply.github.com |
40c6040a76f15c1e108080016bf37806990fcd35 | 387bd48390692e78a22ba9a977bd2d01b6955fbc | /arrays/duplicate.cpp | 8583e6ae8eb7e1f37f5d33cc684c5a0b673739ad | [] | no_license | alpitasharma2/cn_cpp | 3ee9695eca1195cedbe356260bbadce2fbb98689 | 0c78e607bcf8eb5dcf72a6f639b953408d18e21d | refs/heads/main | 2023-06-26T05:10:00.476998 | 2021-07-30T11:01:17 | 2021-07-30T11:01:17 | 388,363,308 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | #include <iostream>
using namespace std;
int main()
{
int i,arr[20],j,no;
cout<<"Enter Size of array: ";
cin>>no;
cout<<"Enter any "<<no<<" num in array: ";
for(i=0;i<no;i++)
{
cin>>arr[i];
}
cout<<"Duplicate Value is: ";
for(i=0; i<no; i++)
{
for(j=i+1;j<no;j++)
{
if(arr[i]==arr[j... | [
"noreply@github.com"
] | alpitasharma2.noreply@github.com |
48ed3cff77ec076a9711adf2f04f06760a2101b8 | eb8f148cc4d44cdf1534470914652e09d6800340 | /src/myworld.cpp | 0911ad3397e47b709dbdb0457eabee039785ef2c | [] | no_license | SidneyTTW/Basketball | 7da43a7123a593e687c82f8b8412f22e5fc31fe7 | 9b2e81d03ef569ffff83e0c4966abf9cf2976199 | refs/heads/master | 2021-01-20T12:41:48.516944 | 2012-06-26T15:51:07 | 2012-06-26T15:51:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,249 | cpp | #include "myworld.h"
#include <qmath.h>
#include "ball.h"
#include "flat.h"
#include "myglobal.h"
#include "ring.h"
#define BOUNCE_ATTENUATION 0.7
#define BOUNCE_TO_STOP 0.1
#define BOUNCE_LIMIT 0.4
#define BOUNCE_STEP 0.05
#define ROLL_ATTENUATION 0.9995
#define ROLL_TO_STOP 0.01
#define ROL... | [
"sidneyttw@gmail.com"
] | sidneyttw@gmail.com |
01e551eb54a3982a546d780b350542e2214605c5 | 3dfeec4b82c8f05cd124fc3f0811446e85543ffe | /Shader.h | c027becddcbdb7dff61e08a931b63cceb31a4309 | [] | no_license | Isafo/SSAOtest | 783f8295deaffe47d55b85ae54e8d72aea51ffc2 | a3390a72ceca1d01f5eb813565c498683466b821 | refs/heads/master | 2021-01-18T22:27:42.855911 | 2016-06-09T09:22:03 | 2016-06-09T09:22:03 | 46,621,396 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
//! Class for loading, compiling and assembeling shader program.
class Shader {
public:
GLuint programID;
Shader();
Shader(const char *vertexFilePath, con... | [
"isabelle.forsman@gmail.com"
] | isabelle.forsman@gmail.com |
cef5dbe0afea6d24a60eec9810fe7936a8fcddad | 76ce6d3927bc8e70ccff648f84a40a2769d1a4ff | /projects/project/attendance_system/src/libs/admin.cpp | 173a025dd499b2bc039ae023ceccb8b6384e2261 | [] | no_license | coderfamer/linuxstudy | a4fb7463df868d170dc4815ea35d371996a7c8f4 | 87b57ab4847a5229025cff70a595d1abfbade4a3 | refs/heads/master | 2021-07-18T06:00:33.153485 | 2020-04-03T09:59:57 | 2020-04-03T09:59:57 | 101,067,959 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,951 | cpp |
#include "admin.hpp"
#include "manager.hpp"
namespace AttendanceSYS
{
Admin::Admin()
{
}
Admin::~Admin()
{
}
int Admin::admin_login()
{
string user;
string pwd;
cout << "please enter your id: ";
cin >> user;
cout << "enter your password: ";
cin >> pwd;
user_item ... | [
"13625611069@163.com"
] | 13625611069@163.com |
e7f0373c777da4d9e61f83ff11c23c1b067fcbfa | 10f3b759428854c7906f2fab9a4e40c12872f164 | /leetcode/linked-list-cycle/c.cpp | 8a1225bfffc807d1638c115ddb1bb50e0b989537 | [] | no_license | darr/leetcode | 0c773745d267ea9fdfbd19732c7040d4889a3ade | 441d49aefe9ce89d5b25d77664efe0f2bcf5f47f | refs/heads/master | 2020-03-25T04:19:49.669035 | 2018-08-03T06:51:46 | 2018-08-03T06:51:46 | 143,389,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | /////////////////////////////////////
// File name : c.cpp
// Create date : 2018-07-23 08:53
// Modified date : 2018-07-23 11:24
// Author : DARREN
// Describe : not set
// Email : lzygzh@126.com
////////////////////////////////////
/**
* Definition for singly-linked list.
* struct ListNode {
* int ... | [
"lzygzh@126.com"
] | lzygzh@126.com |
4a96366182a1d911fdf6e4fd24a155aeff45f963 | fc1470e5ff92ed86073565b64d0b3e57a5399b26 | /oxygine/src/core/file.cpp | 447d71b8e8c3234baf30de8028881fe15b9d6663 | [
"MIT"
] | permissive | ufosky-game/oxygine-framework | 1ba54b85d251f712cc9e847c556e2eb4c66f6c3d | 011beeddfb7e8caa518e8322c2626246440dde64 | refs/heads/master | 2021-01-24T22:36:09.515064 | 2015-01-27T10:26:03 | 2015-01-27T10:26:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,717 | cpp | #include <string>
#include "STDFileSystem.h"
#include "file.h"
#include "log.h"
#include "utils/stringUtils.h"
#include "Object.h"
#ifdef __S3E__
#include <s3eFile.h>
#elif WIN32
#include <direct.h>
#elif __APPLE__
#include "ios/ios.h"
#elif EMSCRIPTEN
#else
#include "SDL_system.h"
#endif
#ifdef OXYGIN... | [
"frankinshtein85@gmail.com"
] | frankinshtein85@gmail.com |
ef3c40f5d29ac13d2ab9ddc9a143da2d0e29e0ac | 6327f33bf75f96077ce505a0f8fb8d52bc4c1994 | /school/test/testmainwindow.h | 82f708587f9d2d466185c96e30b50090f2d3f33d | [] | no_license | galgreg/SchoolStatistics | 5f93ef238ab6123f733cf9925aa49df9ef227b65 | aad3d9ddd3788471eeca7bf71844473f90d3ec50 | refs/heads/master | 2020-06-24T16:29:44.398719 | 2019-11-10T12:28:41 | 2019-11-10T12:28:41 | 199,015,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | h | #ifndef TESTMAINWINDOW_H
#define TESTMAINWINDOW_H
#include <QtTest>
#include "testexecutioncounter.h"
#include "mainwindow.h"
class TestMainWindow : public QObject, public TestExecutionCounter
{
Q_OBJECT
public:
TestMainWindow(unsigned &passed, unsigned &failed);
~TestMainWindow();
private slots:
void... | [
"grzegorz.galios@wp.pl"
] | grzegorz.galios@wp.pl |
fd6c3ccc5cfd72cd8eef6ecbf9d3601fd4268566 | b8aa37e01eb7a4a3a35f8f95ae773b65e74168e3 | /fona.cpp | bb0e6eadf35a96f6420481092d410d776a256cc6 | [
"MIT"
] | permissive | julznc/gsm-doorbell | 272bcd52ef4eb8037977c21c78f769aab75d65ce | ba3c9cb773ab5351d7de42a731b5e1372bfac9d0 | refs/heads/master | 2021-05-14T11:12:21.336523 | 2018-01-23T10:13:08 | 2018-01-23T10:13:08 | 116,375,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,528 | cpp | /***************************************************
This is a library for our Adafruit FONA Cellular Module
Designed specifically to work with the Adafruit FONA
----> http://www.adafruit.com/products/1946
----> http://www.adafruit.com/products/1963
These displays use TTL Serial to communicate, 2 pins are r... | [
"yus.projectproto@gmail.com"
] | yus.projectproto@gmail.com |
0c839b7862f642eb3e50e0e217db493ae9d060a0 | f895251999b0df8b64f1b6277c28514f87c7c2d0 | /src/PID.cpp | babdc731a5559f17339d80f7cd680783627ba93d | [] | no_license | colinzhang66/CarND-PID-Control-Project-master | 585b6cae0c98350f4531ec590e8104fe5e4095fc | 2d916de2d0207e41f9fda6a90132bd95aae9e41c | refs/heads/master | 2020-03-18T07:34:42.147996 | 2018-05-22T18:59:27 | 2018-05-22T18:59:27 | 134,411,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | cpp | #include "PID.h"
using namespace std;
/*
* TODO: Complete the PID class.
*/
PID::PID() {}
PID::~PID() {}
void PID::Init(double Kp, double Ki, double Kd) {
this->Kp = Kp;
this->Ki = Ki;
this->Kd = Kd;
p_error = 0;
i_error = 0;
d_error = 0;
}
void PID::UpdateError(double cte) {
d_error = cte - p_error;
p_er... | [
"zhangqing_66@126.com"
] | zhangqing_66@126.com |
73e8b1b30cd18b48c1afcd966fbbcf1a711fadf7 | fecf09fb6dd1b102764890eb6d112af5d934fa21 | /C++练习/高度检查器.cpp | 4cd6f33a1adba9a53545e5f313eb6a0ae222d7cb | [] | no_license | zhaomengchao/C- | 5821df6d004b791e1212140fa734d20b01b00e8c | 377b99061bc4d7122438fbe6c5c76a7201b0f993 | refs/heads/master | 2021-07-12T15:02:02.509446 | 2020-10-12T09:08:55 | 2020-10-12T09:08:55 | 209,292,144 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 641 | cpp | /*
高度检查器
https://leetcode-cn.com/problems/height-checker/
思路:
我们只需对给定数组进行非递减排序,然后比较同一位置的数字是否相同
不同则num ++ 即此时我们所统计出的num就是 将 原数组 排序成 非递减数列 的最小移动次数。
*/
class Solution {
public:
int heightChecker(vector<int>& heights) {
vector<int> tmp = heights;//数组赋值
sort(heights.begin(),heights.end());
int ... | [
"1935812591@qq.com"
] | 1935812591@qq.com |
aa69fa23adaf93930e45e8ca554e485eede98af6 | abedb6942e9b1f9325cbd2bb81d7a60e5df9ebd7 | /Projeto_03/LM35_puro.ino | 48b85730d7d6fb0605fdec7d60a152772d1280f3 | [] | no_license | jam-medeiros/uerj-SE | 72bde7e4ab5db8ef9a5195468687537a8bde176d | 610f06b96cef13987ebe76cda98488c30ba6f0ef | refs/heads/master | 2020-07-16T03:45:03.212689 | 2019-11-25T18:12:58 | 2019-11-25T18:12:58 | 205,711,550 | 0 | 0 | null | 2019-09-01T17:44:31 | 2019-09-01T17:44:31 | null | UTF-8 | C++ | false | false | 530 | ino | //Sensor de temperatura usando o LM35
const int LM35 = A0; // Define o pino que lera a saída do LM35
float temperatura; // Variável que armazenará a temperatura medida
//Função que será executada uma vez quando ligar ou resetar o Arduino
void setup() {
Serial.begin(9600); // inicializa a comunicação serial
... | [
"noreply@github.com"
] | jam-medeiros.noreply@github.com |
d76a1d9aa81535eea9468b2fa8b810be5e5c65be | 2f8246ae680f5308441f4671700b963801349ddd | /ParquetMC/propagator.cpp | 89c7d8d4bc08dc80ab3abe87523bb65243315ffd | [] | no_license | kunyuan/ClusterMC | 550882749e6bc3f55639f0c1153c64b23acd4fee | 342374eacbd3a499e506ba2e6970f826c1df0a02 | refs/heads/master | 2023-03-31T07:24:15.371618 | 2020-06-15T02:15:35 | 2020-06-15T02:15:35 | 268,906,840 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,378 | cpp | #define FMT_HEADER_ONLY
#include "propagator.h"
// #include "fmt/format.h"
// #include "fmt/printf.h"
#include "green.h"
#include "utility/logger.h"
#include <iostream>
using namespace diag;
using namespace std;
using namespace Eigen;
extern parameter Para;
extern variable Var;
double propagator::Green(double Tau, c... | [
"chenkun@mail.ustc.edu.cn"
] | chenkun@mail.ustc.edu.cn |
451a187877bd274d0b6db109410c8907056515e7 | 64fb71161a51d0c760386de2cf615baf436b08a6 | /ASPSS/ExpeMarchingCube.cpp | 2ef219568ad2f695b0495bb70ba2002617b6d81d | [] | no_license | xavier-tricoche/sparse | 8121bc5f396dd080c45ccc6a6006c60947fa469b | 21cb2bd362d6217c771a7ed68a9659afabceb335 | refs/heads/master | 2020-04-02T23:58:42.697816 | 2018-10-26T19:51:08 | 2018-10-26T19:51:08 | 154,884,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,561 | cpp | /*
----------------------------------------------------------------------
This source file is part of Expé
(EXperimental Point Engine)
Copyright (c) 2004-2007 by
- Computer Graphics Laboratory, ETH Zurich
- IRIT, University of Toulouse
- Gael Guennebaud.
-----------------------------------------------------------... | [
"xmt@squaredot.cs.purdue.edu"
] | xmt@squaredot.cs.purdue.edu |
892e6031b0e48c5981b12e4483ef04f3502b6cad | 1fa82aa100567232f814afbcc839b83d0f910a76 | /src/timer.cpp | 27e6d5376343b2b135ec17f35226f62f5869fbc3 | [] | no_license | yuang-chen/paraGCN | 96e0bcb62f75748e132d50fa032bce6088c63f48 | 398e692b35942a43d22755bd38f8c5139e0714ab | refs/heads/master | 2021-05-21T07:27:05.123852 | 2020-04-14T15:35:11 | 2020-04-14T15:35:11 | 252,600,833 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include "timer.h"
time_point<high_resolution_clock> tmr_start[_NUM_TMR];
float tmr_sum[_NUM_TMR];
void timer_start(gcn_timer_t t) {
tmr_start[t] = high_resolution_clock::now();
}
float timer_stop(gcn_timer_t t) {
float count = duration_cast<duration<float>>(high_resolution_clock::now() - tmr_start[t]).count... | [
"yuang.chen.berlin@gmail.com"
] | yuang.chen.berlin@gmail.com |
50c649c0468d9035818659d7f85a6f9b356fbb7c | c9b02ab1612c8b436c1de94069b139137657899b | /server/app/config/FogGateConfig.pb.h | e60f0f650ab490a9818092645b5a835e005f3ffe | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 11,485 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: FogGateConfig.proto
#ifndef PROTOBUF_FogGateConfig_2eproto__INCLUDED
#define PROTOBUF_FogGateConfig_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generate... | [
"178370407@qq.com"
] | 178370407@qq.com |
f6bc75f150832541e3137b664f06a38344ccfcac | 94172a7237b3a067870d99f0c3ac3a6ea2b83c45 | /main.cpp | d7100e8a1e1ad02f4079bb583739cba4551bb004 | [] | no_license | E-KAY/CppDemo | 2b24532fb76a8fdbe93bc5362e4ace0233a723e8 | 8132ebf19e678d95d2db4f094e1311e44a3bf1d8 | refs/heads/main | 2023-07-27T18:06:27.163214 | 2021-09-16T15:19:01 | 2021-09-16T15:19:01 | 403,056,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,570 | cpp | #include <iostream>
#include "source/CppPrimerTest.h"
using namespace std;
/**
* 打印 "Hello, World!"
*/
void printHelloWorld() {
cout << "Hello, World!" << endl;
}
/*
* while 循环输入 测试
*/
void testWhileCin() {
int sum = 0, value = 0;
// 在 Mac 环境下,如果遇到 Command+D 结束 cin 的输入无效,可以通过该设置设置解决:
// Find act... | [
"807851@nd.com"
] | 807851@nd.com |
162a4f54fe1c7e58613be5117d37684d2d9d8312 | 582ff634ccd48937fa5c2fe7c2d5fb8695f79b06 | /game/src/World/Landmass.cpp | 41fae9a88c001a39953ca2e2cf5ecd065991d31c | [
"MIT"
] | permissive | tristanred/Sunshine-Seas | 2216a95c0f9f6cb1b067e01c7d81d9358575eaf5 | 2ee229b68334280b64d2e14b6366ede10cd9ca9c | refs/heads/master | 2021-08-16T17:02:31.883370 | 2020-05-23T01:22:42 | 2020-05-23T01:22:42 | 183,715,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | #include "Landmass.h"
#include "Settlement.h"
Landmass::Landmass(GameEngine* engine) : RenderableObject(engine)
{
this->settlements = new std::vector<Settlement*>();
}
Landmass::~Landmass() {}
Landmass* Landmass::CreateFromSettings(GameEngine* engine,
LandmassCreationSetting... | [
"tristan.dube@gmail.com"
] | tristan.dube@gmail.com |
82078c56c10dce3c937333e68399be479dab71a6 | 88a0282890ca6d37274d43528eda6f998e793d3e | /ipr/src/dss7016_gateway/dpsdk_util.cpp | 74dac922c8cc5ec6571889d0e81c47ab02cff9e1 | [] | no_license | github188/nodejs_workspace | d84ff2bc9e819ae234abaccd9be20ac9a95359e3 | 97b097d8ada05ec4d56c156ddf11f4ac973abc18 | refs/heads/master | 2020-04-11T01:07:13.852551 | 2018-01-14T14:09:08 | 2018-01-14T14:09:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,105 | cpp |
#include "dpsdk_util.h"
/*
自动注册设备以注册ID(regDeviceCode)为唯一标识
1.设备注册ID长度小于6,则前面补0
2.设备注册ID长度不小于6,则取后6位
注册ID配合LOCL-DH前缀构成LOCL-DHX-XX-XXX格式TID
非自动注设备暂不支持
*/
const char *tid_pattern = "^[A-Za-z0-9]+$";
int DeviceChangeCallback_Func (IN int32_t nPDLLHandle,
IN uint32_t nChange... | [
"18166574594@163.com"
] | 18166574594@163.com |
b67c70bfc2e4b1e0a661c11f674962c9512884ce | f560051f92cb37e00727288b33e350924f181908 | /cuda/real dist/version2.0_no_edge_angle/Pass.h | e67aca64d389f8e9803fa0e7f2ae433817f70857 | [] | no_license | guzh870423/cuda_ST | 96b7c3fff6d32f01aed38f19c9e1439db2f343fa | 2940a5a167c5d303b5c7dee6b201ffee800ac905 | refs/heads/master | 2020-12-12T21:00:50.588321 | 2014-09-20T19:29:41 | 2014-09-20T19:29:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,385 | h | #include "constants.h"
//1.0/(2*(2-pow(2.0,1.0/3)))
#define _CFdrift1 0.675603596
//0.5-CFdrift1
#define _CFdrift2 -0.175603596
//2*CFdrift1
#define _CFkick1 1.351207192
//1.e0 - 2e0 * CFkick1
#define _CFkick2 -1.702414384
using namespace std;
enum ps_index { x_ = 0, px_ = 1, y_ = 2, py_ = 3, z_ = 4, delta_ = ... | [
"guzh870423@gmail.com"
] | guzh870423@gmail.com |
8fcb8c8bbfafda8b1e62d5a0148865cb11a6a135 | 8cbc8bf55e9b5cff587aab2d551b7540d5668b7c | /Kernel/JVM/JavaMethod.hpp | b495f4f180acffd4ffcf3fff61aa5d096c7f7ef6 | [] | no_license | mailmindlin/All-The-Mice | d07114c9bc4558572210dada9dd205aeccfd89c7 | 0757179f50b02462558d40e0c79d134533884f1e | refs/heads/master | 2016-09-16T17:18:11.471930 | 2016-05-06T13:00:19 | 2016-05-06T13:00:19 | 42,206,622 | 1 | 0 | null | 2015-09-26T00:28:01 | 2015-09-09T21:48:02 | C | UTF-8 | C++ | false | false | 572 | hpp | #ifndef __KERNEL_JVM_JavaMethod_HPP
#define __KERNEL_JVM_JavaMethod_HPP
#include "Member.hpp"
#include "JavaClass.hpp"
namespace JVM {
/**
* Struct to encapsulate how the method is stored in the file.
*/
struct JavaMethodInfo {
uint16_t modifiers;
uint16_t name_index;
uint16_t descriptor_index;
uint16_t ... | [
"liamttlyrox@gmail.com"
] | liamttlyrox@gmail.com |
fd22d33c3960d721f52f656d0669287ab63baa9b | ee0d7865ae7b3bbd511d50c0e04b9166a2b858dd | /lesson07/cpp7.friend_class_ex1.cpp | a5c9cfbd91998b6eb78abf0c05163aad9c1a8976 | [] | no_license | giorgospikios/CPP-programming | 7ce0b3b7749db547cae42234cb57429801979afd | 3350f77306648649679dd092aad224d875f3e1d3 | refs/heads/master | 2023-05-30T14:08:39.878417 | 2021-06-08T19:35:01 | 2021-06-08T19:35:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include <iostream>
using namespace std;
class man
{
public:
friend class god;
man(int in_sins);
int get_sins() const;
private:
int sins;
};
class god
{
public:
void forgive(man &ob);
};
int main()
{
man Euthypro(100);
god Apollo;
cou... | [
"noreply@github.com"
] | giorgospikios.noreply@github.com |
2a2fe00c42071326ad2ef80d6152b83ea47cb6bf | 862a688d093e1ab2403799abf835c982e1b721ab | /include/pingcap/kv/RegionClient.h | c8c146a9fdb7b45e0f603d231009866be134fb7e | [
"Apache-2.0"
] | permissive | hanfei1991/client-c | 314587f5a0be6f14ac10fc8ae39457f4551a8c6c | 306f7c3c1d25d622215f2909d057b9870408c7b1 | refs/heads/master | 2020-09-20T07:52:17.412616 | 2019-11-27T02:49:42 | 2019-11-27T02:49:42 | 224,415,826 | 0 | 0 | Apache-2.0 | 2019-11-27T11:32:20 | 2019-11-27T11:32:20 | null | UTF-8 | C++ | false | false | 2,669 | h | #pragma once
#include <pingcap/kv/Backoff.h>
#include <pingcap/kv/Region.h>
#include <pingcap/kv/Rpc.h>
namespace pingcap
{
namespace kv
{
// RegionClient sends KV/Cop requests to tikv server (corresponding to `RegionRequestSender` in go-client). It handles network errors and some region errors internally.
//
// Typ... | [
"noreply@github.com"
] | hanfei1991.noreply@github.com |
3613866aab9fe33439ddc838495f4ac8364a8a3e | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/base/atomicops_internals_tsan.h | a324f3919fea322e1d7982722c29cd5d06c9fc7e | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 6,629 | h | // 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.
#ifndef BASE_ATOMICOPS_INTERNALS_TSAN_H_
#define BASE_ATOMICOPS_INTERNALS_TSAN_H_
#include <sanitizer/tsan_interface_atomic.h>
namespace base {
nam... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
e5a3d6444dc61e7b0e0febde309e7f0fe229839a | b0025b70e7eaad87a9a984d83016530fea61a3a9 | /boj/Union_Find/1976.cpp | 492722bdc3fe16768ac80e4782a110ac69fc2a8e | [] | no_license | yupyub/Algorithm | 00fede2885e1646458af1ffe16e7e2f4fc098832 | 7330e47c7cf70b1d2842004df63a1a347b625f41 | refs/heads/master | 2022-05-21T05:09:50.497376 | 2022-03-26T18:19:32 | 2022-03-26T18:19:32 | 101,531,563 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include <cstdio>
int parent[201];
int Find(int n){
if(parent[n] == n)
return n;
return parent[n] = Find(parent[n]);
}
void Union(int a,int b){
parent[Find(a)] = Find(b);
}
int main(){
int n,m,a,b;
scanf("%d %d",&n,&m);
for(int i = 0;i<n;i++)
parent[i] = i;
for(int i = 0;i<n;i++){
for(int j = 0;j<n;j++){
... | [
"sungyup5003@gmail.com"
] | sungyup5003@gmail.com |
6d2aa0787f2c8f2e3ca700eceece2eea62911996 | 09399557a4f051e170c185094075dd1389cf16b0 | /InvaderV4.7/export/windows/cpp/obj/include/flixel/input/gamepad/mappings/WiiRemoteMapping.h | 07455716410fa78e1bf82029b0baf0a1ca269a9a | [] | no_license | XweetyK/Space-Invaders | b737ea731a0356fed61cb8d1ce0ab490cfca4415 | a7e14890a1799e1cb4db9458b7d1be5dafe20df9 | refs/heads/master | 2021-01-21T05:10:05.906530 | 2017-10-04T18:46:17 | 2017-10-04T18:46:17 | 101,913,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,264 | h | // Generated by Haxe 3.4.2 (git build master @ 890f8c7)
#ifndef INCLUDED_flixel_input_gamepad_mappings_WiiRemoteMapping
#define INCLUDED_flixel_input_gamepad_mappings_WiiRemoteMapping
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_flixel_input_gamepad_mappings_FlxGamepadMapping
#include <flixel/i... | [
"xweetyk@gmail.com"
] | xweetyk@gmail.com |
562dfe3bead3521d46378869e99b1032e04f6941 | 62b50b1a1062c1f42e96a0cc1682df73e55b42e6 | /ArvoresBalanceadas/NoB.h | 3e13942f27c6979fc0ca0d2990a793a352e38e21 | [] | no_license | Abrolhus/trabalhoED2Parte2 | 4123a0ad37210c5095c8825750317a306d7b3e17 | a331526390b0facd5653b0b0dabf9775140230e5 | refs/heads/main | 2023-03-25T18:43:33.844733 | 2021-03-19T19:26:08 | 2021-03-19T19:26:08 | 342,014,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | h | #ifndef NOB_H
#define NOB_H
#include <iostream>
using namespace std;
#include <vector>
class NoB
{
private:
vector<NoB*> childs;
vector<int> values;
NoB* parent;
int size;
bool leaf;
public:
NoB( int n );
~NoB();
int get( int i );
... | [
"abreuthrj@gmail.com"
] | abreuthrj@gmail.com |
6a8189184d8909c33aad845b5d10149d74e21b29 | 17ae993bbe5d1ef6f60d62d3a9677ec739aede27 | /richtext/rich_font_provider.h | e77f01ae1853d47e3bd3392e2c16b5e0515d44ff | [
"MIT"
] | permissive | PredatorMF/Urho3D-RichText3D | 23aadc949b967179099ae0c10e6ed2ff3378a768 | b30034f5d0e4673be49eb387add59dd58476827c | refs/heads/master | 2022-12-11T08:07:50.470705 | 2020-09-09T14:34:14 | 2020-09-09T14:34:14 | 294,136,863 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,861 | h | #ifndef __RICH_FONT_PROVIDER_H__
#define __RICH_FONT_PROVIDER_H__
#pragma once
#include <Urho3D/Core/Object.h>
#include <Urho3D/UI/Font.h>
#include "rich_batch_text.h"
namespace Urho3D {
/// RichTextFontRequest
URHO3D_EVENT(E_RICHTEXT_FONT_REQUEST, RichTextFontRequest) {
URHO3D_PARAM(P_RICHWIDGETTEXT, TextWidget);... | [
"predator_mf2000@yahoo.com"
] | predator_mf2000@yahoo.com |
177724d704e3bc9455ec30f0a6ad175fe82bef32 | 0dd9cf13c4a9e5f28ae5f36e512e86de335c26b4 | /LeetCode/leetcode_sort-array-by-parity-ii.cpp | ee868bd5cb6549a10f97eb6f163a9bf9aeacc057 | [] | no_license | yular/CC--InterviewProblem | 908dfd6d538ccd405863c27c65c78379e91b9fd3 | c271ea63eda29575a7ed4a0bce3c0ed6f2af1410 | refs/heads/master | 2021-07-18T11:03:07.525048 | 2021-07-05T16:17:43 | 2021-07-05T16:17:43 | 17,499,294 | 37 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | /*
*
* Tag: Sort
* Time: O(nlgn)
* Space: O(lgn)
*/
class Solution {
public:
vector<int> sortArrayByParityII(vector<int>& A) {
int fastPnt = 0;
for(int i = 0; i < A.size(); ++ i){
if((i%2 == 0 && A[i]%2 == 0) || (i%2 == 1 && A[i]%2 == 1)){
fastPnt = max(fastPnt, i);
... | [
"noreply@github.com"
] | yular.noreply@github.com |
8b476b87e59bf9ede1631fca0fe2c28c052e6677 | e363b63383c617acc55c5b43bd0fa524d9e64dff | /game/client/c_entityfreezing.cpp | 436ccbebb57c2b429f0bd0115b97c7948a41e42f | [] | no_license | paralin/hl2sdk-dota | 63a17b641e2cc9d6d030df9244c03d60e013737d | e0fe36f0132b36ba9b1ca56aa10f888f66e9b2bf | refs/heads/master | 2016-09-09T22:37:57.509357 | 2014-04-09T13:26:01 | 2014-04-09T13:26:01 | 18,719,255 | 4 | 2 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,845 | cpp | //===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#include "cbase.h"
#include "c_entityfreezing.h"
#include "studio.h"
#include "bone_setup.h"
#include "c_surf... | [
"ds@alliedmods.net"
] | ds@alliedmods.net |
083113ebecd8972a945cd264191507a3331095c7 | 7757159717f99f42779316844ca5f540ff3f17d5 | /cec2010/F5.h | 7a91fa6183879f61e046527c624f0852b31379f7 | [] | no_license | lsgo-metaheuristics/CCJADE | 9b8bd183fcc2a2066f2ec4bae061e99eb38098e4 | 673194584579f45688527664b2ae47c43a517ceb | refs/heads/master | 2020-03-16T19:26:27.014990 | 2018-05-10T17:46:46 | 2018-05-10T17:46:46 | 132,916,177 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 206 | h | #pragma once
#include "Benchmarks2010.h"
namespace CEC2010 {
class F5 :public Benchmarks{
protected:
public:
F5();
tFitness compute(double* x);
tFitness compute(vector<double> x);
~F5();
};
}
| [
"noreply@github.com"
] | lsgo-metaheuristics.noreply@github.com |
7e8ae83c15cc9173ec0dcc408075ee1f238df445 | 920c493e1bb62f8b754295208e7c4a0cc243e33c | /6/JobScheduling.cpp | e3d453a2ec9ac7bf3a24a56a691da68f80e6bc43 | [] | no_license | ajinkya-chintawar/OS_TUT | ed0f49b342ff9c014225d6357727efa9814eecea | 0e2273be0e4cd06aa9781e79581659be17b6c400 | refs/heads/master | 2021-01-19T13:26:41.798576 | 2015-04-24T06:10:55 | 2015-04-24T06:10:55 | 34,501,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,361 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<queue>
using namespace std;
void FCFS(int num_proc, int arrival_time[], int burst_time[])
{
int time_cntr = 0,next = 0,j,i,finish_time[num_proc],turnaround_time[num_proc],waiting_time[num_proc],done[num_proc+1];
for(i=0; i<=num_proc; +... | [
"sontek@gmail.com"
] | sontek@gmail.com |
b53f84d6a6310a7ca3812ea027b56d113890ee18 | ba6e2178ab2405c05897216340c136c3c7e62900 | /net/io_completion_port.hpp | a79c3978ecd05f67018c84a147d046fb6bd78e36 | [] | no_license | ssyudayong/hglib_include | e6e66254daf833e334e69da6cdeb7a8895b6ccb7 | 1904cef456c69c8aa8ca19cd3e87f6f938d3fcb3 | refs/heads/master | 2020-03-19T11:04:57.775048 | 2018-06-07T09:52:29 | 2018-06-07T09:52:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | hpp |
#pragma once
namespace hg { namespace net {
class io_completion_port
{
public:
io_completion_port(size_t threadcount = 1);
virtual ~io_completion_port();
private:
hg::handle m_impl;
};
} }
| [
"ssyudayong@hotmail.com"
] | ssyudayong@hotmail.com |
774547e06d86d80a6a53d26f18390ff798e6fcc9 | 015e51a53535e83276444d71d91c86efdf70ffad | /omaha/goopdate/com_register_shell.cc | a151dd82e6ea613ca6743505b148845a7ac80439 | [
"Apache-2.0"
] | permissive | hughes123b/omaha | 792516c251afcb1422ee372f9c3ce7c3d5b09b67 | 4136678e0dd18f3adce848082a470ef3a7ed9acc | refs/heads/master | 2020-08-30T20:31:09.193428 | 2020-07-13T12:05:12 | 2020-07-13T12:05:12 | 218,480,909 | 1 | 0 | Apache-2.0 | 2020-07-13T12:05:13 | 2019-10-30T08:39:59 | null | UTF-8 | C++ | false | false | 4,204 | cc | // Copyright 2014 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"sorin@chromium.org"
] | sorin@chromium.org |
5a10f2a42422352f2206f5f0de5e94f77f220f45 | 540fd40630eea34d0dc21709037605fdb005925e | /MissRenameAidMain.cpp | 79e2548c5b93d4373adbb07e2d5087806fb06fa1 | [] | no_license | leoxiaofei/missrenameaid | 45c1c1de6381320613972980c8c1fb7c5f7d0ecb | 1cb3b805fcd86036bf3e78f4418b92db945b0d7d | refs/heads/master | 2021-01-18T14:38:30.262936 | 2012-01-17T12:45:16 | 2012-01-17T12:45:16 | 32,333,505 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,650 | cpp | /***************************************************************
* Name: MissRenameAidMain.cpp
* Purpose: Code for Application Frame
* Author: leoxiaofei (fox88324@yahoo.com.cn)
* Created: 2011-10-31
* Copyright: leoxiaofei (http://www.leoxiaofei.com)
* License:
*******************************... | [
"leoxiaofei@gmail.com@ec585044-bb22-649e-369c-813aa5e86a79"
] | leoxiaofei@gmail.com@ec585044-bb22-649e-369c-813aa5e86a79 |
bfa7952a578121ddf37c7edd305e78cfec415a99 | ef7e3bc8eb7c937aa6b36efa517a949056a22fd2 | /sim/src/interpreter/operations.cpp | 348b17e7e1620897a8f374836deab2b70ec5f034 | [
"MIT"
] | permissive | bentobox-dev/bento-box | aac07d567a49f4cdb06b3b7c2e9a49c8bfbaa629 | 3e10c62f586c1251529e059b6af515d4d03c60e9 | refs/heads/master | 2023-03-18T14:11:07.758139 | 2021-03-15T10:47:49 | 2021-03-15T10:47:49 | 305,307,412 | 0 | 0 | MIT | 2021-03-15T10:47:49 | 2020-10-19T08:01:33 | C | UTF-8 | C++ | false | false | 15,590 | cpp | #include <interpreter/operations.h>
#include <interpreter/graphInterpreter.h>
#include <proto/userValue.h>
#include <ics.h>
#include <cmath>
#include <random>
namespace interpreter {
const bento::protos::Value& constOp(const bento::protos::Node_Const& node) {
return node.held_value();
}
bento::protos::Value& ret... | [
"noreply@github.com"
] | bentobox-dev.noreply@github.com |
97f8b036b90e6bc1c13409b2339fc9a8a732ee4d | 141836b2014222c35f348cac9c36d959ee78b673 | /moguan-sdk/src/Moguan-sdkClient.cc | dfb4614c97255dc1a745cf561ab4dfcc60886282 | [
"Apache-2.0"
] | permissive | 18730298725/aliyun-openapi-cpp-sdk | ed1716b7a90077c879558d47a41c2cf6d8ff230b | c89b84b7debd45f81efa0ec52019d4eed9f5877f | refs/heads/master | 2023-06-08T06:09:47.112087 | 2021-06-25T06:29:05 | 2021-06-25T06:29:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,582 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
2172e988ced1dd6177a369a943266a8830c86f70 | c77033331741c82d2be12dc11135c56dcc0b56c3 | /main.cc | 1a6c885915300e0266b7fd1be0788c0222969ca2 | [] | no_license | Slontia/opt-rwlock | 449f2a34d15ddfc09bf405999413ea77623924f7 | 09864b0a6072f1b380d52592f06ef2fca8f64f3b | refs/heads/master | 2023-04-17T19:41:32.659367 | 2021-01-20T18:21:27 | 2021-01-20T18:21:27 | 331,393,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | cc | #include "lock.h"
#include <thread>
#include <vector>
#include <iostream>
#include <chrono>
static const constexpr int kReadThreadNum = 10;
static const constexpr int kWriteThreadNum = 1;
static const constexpr int kAddCount = 10;
static const constexpr int kAddNum = 5;
template <typename Task>
void CreateThreads(std... | [
"654867229@qq.com"
] | 654867229@qq.com |
361e17ffee5c648d8d09ca3cef65995f67cd57eb | d5b973301b5cb9b17d397dbdb0c4938c567e8e06 | /Buttons.h | 83208782f4c9c421625b7101503b94013cc7403c | [] | no_license | zekekoch/Mux | 725ade5c7ab47739d43c18aa9ad009fbf16ffbf3 | 4e54e3bb551971ef90c9abdde477d9aedef36e35 | refs/heads/master | 2020-05-19T10:12:17.255064 | 2019-08-23T10:24:26 | 2019-08-23T10:24:26 | 40,360,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,481 | h | #include <FastLED.h>
#include <Adafruit_TLC59711.h>
#include "Mux.h"
class CButtons
{
private:
// How many boards do you have chained??
const byte NUM_TLC59711 = 4;
const byte data = 4;
const byte clk = 3;
CRGB buttonLights[16];
CMux mux;
Adafruit_TLC59711 tlc = Adafruit_TLC59711(NUM... | [
"zeke@akrasia.org"
] | zeke@akrasia.org |
5346aaf8c9e96f8f1dc23e030fbe11ff29b5f032 | 93aeb5717db98494efa3c5a7d8daf6154711f403 | /E6_3320/UDP/FileHelper.h | 0797026ba2cc38b6e5fcee26a617e9df70cf0300 | [] | no_license | zhaishangzhao/E3320 | d9ef54c44242964075b344ccf2c0c96fe724a572 | 802c390f3c553836406e6618c8c10c65c58357d0 | refs/heads/master | 2021-02-08T06:06:18.193048 | 2020-06-02T03:43:20 | 2020-06-02T03:43:20 | 244,117,209 | 0 | 0 | null | 2020-03-01T08:59:57 | 2020-03-01T08:59:56 | null | GB18030 | C++ | false | false | 967 | h | #include<stdio.h>
#include<stdlib.h>
#include <WINSOCK2.H>
#include <STDIO.H>
#pragma comment(lib,"ws2_32.lib")
class FileHelper
{
private:
FILE* f;
char path_buffer[MAX_PATH];
char drive[_MAX_DRIVE];
char dir[_MAX_DIR];
char fname[_MAX_FNAME];
char ext[_MAX_EXT];
public:
FILE* selectfile()
{
printf("请输入要传... | [
"2997152047@qq.com"
] | 2997152047@qq.com |
aa629b6d993ef8951c7c6e01f8432c37cb777d74 | a20fe5a835a3579a95c5b02ef8da3d9abf027e53 | /Retribution/Game/GameObjects/Projectile.cpp | e1e778f7be64b582ed1c41ee64b1c9f582a142bb | [
"MIT",
"BSL-1.0"
] | permissive | Takagi1/Retribution | 65022c06291d655e683153cb21141ba8ac008dec | 3ec6553cf12618d990f3400e1f379a9d5be3d57b | refs/heads/Master | 2020-12-27T22:24:28.570552 | 2020-12-09T19:13:17 | 2020-12-09T19:13:17 | 238,083,284 | 0 | 0 | null | 2020-12-09T19:11:26 | 2020-02-03T23:26:31 | C | UTF-8 | C++ | false | false | 1,601 | cpp | #include "Projectile.h"
#include "../../Engine/Math/Physics2D.h"
#include "../../Engine/Rendering/SceneGraph.h"
#include "../../Engine/Graphics/ShaderHandler.h"
#include "../../Engine/Rendering/Types/Image.h"
#include "../../Game/GameObjects/PlayerCharacter.h"
Projectile::Projectile(Character* parent_, glm::vec2 posit... | [
"44708273+Takagi1@users.noreply.github.com"
] | 44708273+Takagi1@users.noreply.github.com |
9ac490df28cac7875bf486d2a87dfd7681cea18f | 3948dcc5d4fa15d5f8aca52103091063da158893 | /amazon_object_segmentation/src/test_octree.cpp | 29d39d640d6df3a666bf4d3db33df3144d831b05 | [] | no_license | miguelriemoliveira/amazon-inesc | 7a66e7cbda51278fca5871d8299d4da53ad6e3e5 | c28424ba36eb1fd837f9046e57d559de64e7c848 | refs/heads/master | 2020-08-05T03:39:34.122612 | 2015-04-13T13:03:12 | 2015-04-13T13:03:12 | 32,982,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,742 | cpp | #include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/registration/icp.h>
#include <pcl/filters/filter.h>
#include <boost/thread/thread.hpp>
#include <pcl/common/common_headers.h>
#include <pcl/features/normal_3d.h>
#include <pcl/io/pcd_io.h>
#include <pcl/visualization/pcl_visualiz... | [
"m.riem.oliveira@gmail.com"
] | m.riem.oliveira@gmail.com |
b012817821296821cff97b731960dbb233c58fbb | 208589f8c1625a84cc5a05de2f7911f81d2209d9 | /src/TCPDriver.cpp | fd2db9c4179ae8817f85bde5a1db160e8dcc56af | [] | no_license | saarnold/drivers-iodrivers_base | 95e66c8d6fa40351dc4c16f5fe1401f54a4f7e7d | c25d7b2a4374571dded87d9faf27f94a923855e0 | refs/heads/master | 2020-03-17T10:56:17.844321 | 2018-05-15T14:45:34 | 2018-05-15T14:45:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | cpp | #include "TCPDriver.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <signal.h>
namespace iodrivers_base{
TCPDriver::TCPDrive... | [
"matthias.goldhoorn@dfki.de"
] | matthias.goldhoorn@dfki.de |
0ef82e196ee29e02ec4c33b6c1240376f07053a5 | ca5f51c4fecdb3cca7ffc0544c17de0c412086f8 | /Strings/Palindrome/Print all palindromic permutations of a string.cpp | 9466e3c4244570004bb5afdd8a082e07fa1e8351 | [] | no_license | avinashw50w/ds_algo | f517bbb326a922258e6ef7816e6c06593a2d06aa | bc73bd617486ab8fcbbdd8a076cacd3761c6c954 | refs/heads/master | 2023-07-22T17:44:44.815336 | 2023-07-13T07:38:22 | 2023-07-13T07:38:22 | 193,303,550 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp |
string reverse(string s) {
string res = s;
reverse(res.begin(), res.end());
return res;
}
bool isPalindrome(string s, vector<int> &f) {
for (char c : s) f[c - 'a']++;
int odd = 0;
for (int e : f) odd += e & 1;
return ((s.size() & 1) and odd == 1) or ((s.size() & 1 == 0) and odd == 0);
}
void solve(string s) {... | [
"avinash.kumar@seenit.in"
] | avinash.kumar@seenit.in |
183ecf079abc9c1045674d92481881eb2f018c58 | 52edee1b7d731d4855d9e3c294db38bafda669b1 | /core/examples/xmlReader/main.cpp | 4e077dd9e3275c36b331a479b29430889427acad | [] | no_license | ARLM-Attic/vart | d5e1415d6569159f4861b960aca742bbeac15f27 | 8674d0f53b41492e54de6397d6b455e4de3e0488 | refs/heads/master | 2020-12-30T16:14:51.846922 | 2012-10-01T22:10:56 | 2012-10-01T22:10:56 | 90,967,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,396 | cpp | // main.cpp - robot arm aplication (xml reader example)
// VPAT example: xml reader
// This application shows/controls a robot arm that has loaded using the class vpxml.
// When running the application use 'q' to quit.
// Note: VPViewerGlutOGL should be found in the "contrib" directory, because it is
// too... | [
"SND\\kcfelix_cp@142e9c35-602f-4880-9f37-ec48a24daa6a"
] | SND\kcfelix_cp@142e9c35-602f-4880-9f37-ec48a24daa6a |
5a61d5b2af3b4d988f021f3951932c174676426e | 46647ec6c45930bee296371a69ca09d7de154e1d | /src/default/hp_alphabet.h | 5a354d60811e710c214f3fcf3d0cd15fdfa98b1d | [] | no_license | zimmerzam/lattice-proteins | 21e6533a4480077ca07897c442b6b03940637ea0 | 92a39cc7bd4a2e6c4fb2b17e4abd3f6425afb3a0 | refs/heads/master | 2020-05-20T08:14:43.820136 | 2015-01-14T16:07:44 | 2015-01-14T16:07:44 | 8,959,743 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | h | /* ************************************************************************** */
/* */
/* Copyright 2013 Stefano Zamuner */
/* ... | [
"zimmerzam@gmail.com"
] | zimmerzam@gmail.com |
1798e6e8e0eb9c727a1201c33b87c56d2f534a1d | 2fbf96bb69f954dbf6bbf13661b0492de9b3b4b1 | /uva/uva10284.cpp | 4a159fc27f329d9334c8cec41be62d8aed1fdf35 | [] | no_license | timothywangdev/Programming-Contests | 432d0e6719cf2c910d24416dfacb46abb046a735 | dcd58694bd66536222f2ffd78b025af5a38aab4f | refs/heads/master | 2023-08-02T06:57:22.724822 | 2021-10-08T19:06:32 | 2021-10-08T19:06:32 | 16,039,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,703 | cpp | #include <iostream>
#include <string>
#include <string.h>
#include <ctype.h>
using namespace std;
//#define DEBUG
#include <fstream>
#ifdef DEBUG
ifstream fin("uva10284.in");
ofstream fout("uva10284.out");
#endif
void redirect(){
#ifdef DEBUG
std::streambuf *cinbuf = std::cin.rdbuf();
std::cin.rdbuf(fin.rdbuf());
... | [
"wanghujie@gmail.com"
] | wanghujie@gmail.com |
74bb219e85611ea0cd08388b1e92d21065355142 | abef0d6249dd3bb75ecb755f7ce185d369350353 | /codeforces/1409/E.cpp | fd6146a6f9dd6c7764c5ec89183a6a1206725397 | [] | no_license | ipaljak/oj | 01009947d9df0b9986bd542dd340566b4697fa7d | dce61d8c4e3a3efd1c6abea6f6891294800cd1c4 | refs/heads/master | 2023-05-11T06:31:40.164892 | 2021-06-04T14:37:00 | 2021-06-06T17:31:35 | 327,563,559 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | #include <bits/stdc++.h>
using namespace std;
#define TRACE(x) cerr << #x << " " << x << endl
#define _ << " " <<
typedef long long llint;
const int MOD = 1e9 + 7;
const int MAXN = 2e5 + 10;
int t, n, k;
int x[MAXN], y[MAXN], l[MAXN], mx[MAXN];
void solve() {
scanf("%d%d", &n, &k);
vector<int> v;
for (int i... | [
"ipaljak@gmail.com"
] | ipaljak@gmail.com |
2c4def68824c76c7e7ac3fceb9525777a512bff4 | e70d0bcc547d63b338ff51c253aa95d78ea99992 | /xdl-algorithm-solution/ESMM/data/third_party/protobuf/protobuf-3.5.0/src/google/protobuf/repeated_field_unittest.cc | 7a8efe48f1dfa4882c9d4b80904290af7cb64c06 | [
"LicenseRef-scancode-protobuf",
"Apache-2.0"
] | permissive | niumeng07/x-deeplearning | 2513f7ba823521c40e0346284f5dd0aca5562e40 | 6d3bc3ad4996ab8938c56d8a834af07a04dc2f67 | refs/heads/master | 2020-04-12T23:06:24.447833 | 2019-07-06T16:06:16 | 2019-07-06T16:06:16 | 162,808,758 | 2 | 0 | Apache-2.0 | 2018-12-22T12:18:01 | 2018-12-22T12:17:59 | null | UTF-8 | C++ | false | false | 57,481 | cc | /* Copyright (C) 2016-2018 Alibaba Group Holding Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | [
"yue.song@alibaba-inc.com"
] | yue.song@alibaba-inc.com |
05d91ae80a3b8c1577dcb4657bf9b79a10655613 | 20153e07c84b9c2d9a3fc0a244b209648abf8380 | /Magic_box/node.h | 19872c356fe3dd6d72e74e4b3de02e808b483f6b | [] | no_license | mercurio1983/Magic_box_respitory | 1498d2df72b5afa55954e39447c053867619826e | 622922d2c46f876d8a33a824c4699dfe69600c1e | refs/heads/master | 2020-03-30T23:18:21.631052 | 2018-10-15T10:16:47 | 2018-10-15T10:16:47 | 151,696,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | #ifndef NODE_H
#define NODE_H
#include "image_lr.hpp"
//#include "rectangle.h"
//#include "polygon.h"
//#include "point.h"
//#include "circle.h"
#include <iostream>
using namespace std;
#include "queue4.h"
class image_lr;
class queue4;
typedef image_lr data1;
class Node {
private:
data1 data;
Node * next;
p... | [
"martti.mercurio@ki.se"
] | martti.mercurio@ki.se |
4b50809d980f37c09e3ee7492f9a0fd1cecb99a8 | b48cc66bf4f5a173338e42ba02245da043e71ce7 | /LuoguCodes/P1886.cpp | 6948de81525307fe51ab35e69e48760284d48fea | [
"MIT"
] | permissive | Anguei/OI-Codes | 6f79f5c446e87b13c6bffe3cc758c722e8d0d65c | 0ef271e9af0619d4c236e314cd6d8708d356536a | refs/heads/master | 2020-04-22T22:18:14.531234 | 2019-02-14T14:24:36 | 2019-02-14T14:24:36 | 170,703,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | //【P1886】滑动窗口 - 洛谷 - 0
#include <iostream>
#include <deque>
#include <algorithm>
const unsigned kMaxN = 1000000;
int a[kMaxN + 5] = { 0 }, q1[kMaxN + 5] = { 0 }, q2[kMaxN + 5] = { 0 };
inline void work1(const register unsigned &n, const register int &k) {
register unsigned head = 1, tail = 0;
for (register unsigne... | [
"Anguei@users.noreply.github.com"
] | Anguei@users.noreply.github.com |
3c79e31cd95cc2a3f100ec191c22b2d5dd768515 | 9fdc1cbdda5fca9a916388e81dcaf7fe3c44c17b | /src/chrono_vehicle/wheeled_vehicle/tire/ChFialaTire.h | 4a8fa56bb2902b8a719b0380ab4dce62963ec0d8 | [
"BSD-3-Clause"
] | permissive | StefanoZaghi1987/ChronoWheelDesigner | 473c7b4b7177532c6c0b6a7e04df03c85678c4ab | 48b0235565e6c1c08ce8b5a742bf92b0fcbd70f0 | refs/heads/master | 2021-01-22T00:29:12.900606 | 2018-01-26T15:20:01 | 2018-01-26T15:20:01 | 102,189,611 | 1 | 0 | BSD-3-Clause | 2018-01-26T15:20:02 | 2017-09-02T10:38:38 | C++ | UTF-8 | C++ | false | false | 5,636 | h | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2015 projectchrono.org
// All rights 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 t... | [
"stefano.zaghi@gamma-spa.com"
] | stefano.zaghi@gamma-spa.com |
7b78c3d063d9db42f3fcd0ec8516585209a7d25b | 4a2444b92c98e4c73aee41eab7c02fc63ccb1858 | /userFiles/ctrl/groups_ctrl/gr4/localization/init_pos_gr4.cc | 4609f79957df36a461876a8d7cc2b6c31eaffb96 | [] | no_license | louisfaury/MobileRobotsProject | cebf37e7c589c6d1eaa6efd15d734e3c40c5d592 | 5481f99e88d28edd7d86698e3c468f0640fb1fb5 | refs/heads/master | 2021-01-11T17:02:23.059981 | 2016-12-15T21:38:12 | 2016-12-15T21:38:12 | 69,503,320 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | cc | #include "init_pos_gr4.h"
#include <math.h>
#include "config_file.h"
#include "config_file_gr4.h"
NAMESPACE_INIT(ctrlGr4);
/*! \brief set the initial robot position
*
* \param[in] robot_id robot ID
* \param[out] rob_pos robot position structure
*
* Adapt these initial positions, depending on the game map.
*/
v... | [
"louis.faury@polytechnique.edu"
] | louis.faury@polytechnique.edu |
5c50e7dfad43ff469a9664137781673e2e9967db | fb8b16f9588b7ea1fb03c077caf777086f3bffaa | /c++/PTA——Roadblocks.cpp | 177b0c4748fa71ae0f1a9005ddc6d045fa3f2484 | [] | no_license | Hanmengnan/AlgorithmPractice | 3d5bc25bfefd103bf3d893a2ab67b18b964e6639 | 848377d2f760d67a5f256636b41be4a02a363877 | refs/heads/master | 2021-07-09T17:23:01.386025 | 2020-11-02T14:38:48 | 2020-11-02T14:38:48 | 196,815,543 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | #include <iostream>
#include <cstring>
#include <vector>
#include <queue>
#define INF 0x3f3f3f3f
using namespace std;
typedef struct edge
{
int b, e, l;
} edge;
vector<vector<edge>> graph;
int visit[5001], dis_b[5001], dis_e[5001];
vector<edge> edge_list;
int n, r;
void SFPA(int start, int *dis)
{
memset(... | [
"1448189829@qq.com"
] | 1448189829@qq.com |
feedf103c6232f1425de5a4dd51671670bbac919 | 32b8db47c9335f65aeb39848c928c3b64fc8a52e | /tgame-client-classes-20160829/game/frag/FragPanel.h | e7af903ce26372ed791cfbe415e227fbeec4d72d | [] | no_license | mengtest/backup-1 | 763dedbb09d662b0940a2cedffb4b9fd1f7fb35d | d9f34e5bc08fe88485ac82f8e9aa09b994bb0e54 | refs/heads/master | 2020-05-04T14:29:30.181303 | 2016-12-13T02:28:23 | 2016-12-13T02:28:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,184 | h | #ifndef FragPanel_h__
#define FragPanel_h__
#include "basic/BasePanel.h"
#include "IconCell.h"
class FragPanel: public BasePanel, public CCTableViewDataSource, public CCTableViewDelegate
{
public:
enum {
FRAG_LIST_ITEM_TAG = 87,
TAB_WEAPON = 1,
TAB_EQUIP = 2,
TA... | [
"1027718562@qq.com"
] | 1027718562@qq.com |
085e4685790c140ebbfe05f9db6b405f3d1ad9b5 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp | 98d0d933fa8f9cf87acc76ba1f196f075e685c14 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 9,508 | cpp | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h"
#include "bindings/core/v8/CallbackPromiseAdapter.h"
#include "bindings/core/v8/ScriptPr... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
cebe55e45838deeabef419aaa10a259c1b39190d | b0cefe6af61aecf2487e2eec4af822e6f1d89f91 | /udpService/serviceudpvideo.h | 071788cf5a1111b91445066540d1e7d7ecc76a23 | [] | no_license | flappy-cat/TargetTrackingV3 | efdcc699a6d32216420e2445d5fdb551c76554f2 | 991f0547a8d7253cce5a9ddc8bf17e94c587d680 | refs/heads/master | 2020-03-19T09:02:25.967904 | 2018-06-07T00:49:19 | 2018-06-07T00:49:19 | 136,255,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,272 | h | #ifndef SERVICEUDPVIDEO_H
#define SERVICEUDPVIDEO_H
#include <QObject>
#include <QtNetwork/QUdpSocket>
#include "serviceserialpayload.h"
#include <QThread>
//接收的数据帧类型
//typedef enum _GND_RECV_Frame_Type
//{
// FRAME_DEFAULT = 0,//缺省值
// FRAME_TARGET_RECTANGLE = 1,//目标矩形框
// FRAME_TARGET_FEATURE = 2,//目标特征数据
/... | [
"flappycat@foxmail.com"
] | flappycat@foxmail.com |
9ed7751fc0c13cf60bedbb293627ecf472ec6092 | bae76888e633874c1278a43bb5773aae8201c44d | /CPSeis/wrappers/src/org/cpseis/wrappers/CpseisAvosts_jni.cpp | f81a9b80e2273b2c38051d9d996e13796703a39e | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Chen-Zhihui/SeismicPackage | a242f9324c92d03383b06f068c9d2f64a47c5c3f | 255d2311bdbbacad2cb19aa3b91ceb84a733a194 | refs/heads/master | 2020-08-16T05:28:19.283337 | 2016-11-25T02:24:14 | 2016-11-25T02:24:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | //////// DO NOT EDIT THIS FILE - it is machine generated ////////
#include "CpseisAvosts.hh"
#include <jni.h>
extern "C"
{
JNIEXPORT jlong JNICALL Java_org_cpseis_wrappers_CpseisAvosts_nativeCreate
(JNIEnv *env, jobject obj)
{
CpseisAvosts *module = new CpseisAvosts();
return (jlong)module;
}
}
| [
"Uqer@d-i89-169-66.student.eduroam.uq.edu.au"
] | Uqer@d-i89-169-66.student.eduroam.uq.edu.au |
1d5261f7937013f6aeacabd05e4f18f888e06d77 | 1af49694004c6fbc31deada5618dae37255ce978 | /third_party/blink/renderer/core/loader/preload_helper.cc | a1f810b21cfa4abe272ffb5842bc8ecdb650cbeb | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 32,514 | 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 "third_party/blink/renderer/core/loader/preload_helper.h"
#include "services/network/public/cpp/features.h"
#include "third_party/blink/public/c... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
08e14ea4d8f1a701efcdfb08d157f85596180d87 | e93719d5fbba1b789cf6164d1e3825a1caa7e034 | /AnimationFSM/Idle.h | 8d92c163fc1fb2827a83783905d2d7f52c797f87 | [] | no_license | BenStynes/animated-fsn | 49f751d748a5f8894f290b2ae76218a3cfec2729 | a67b4a512719a78c4bb1ad806c20f0504d5f1969 | refs/heads/master | 2020-09-03T12:57:12.769683 | 2019-11-11T09:15:52 | 2019-11-11T09:15:52 | 219,467,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | h | #ifndef IDLE_H
#define IDLE_H
#include <State.h>
class Idle : public State
{
public:
Idle() {};
~Idle() {};
void handleInput();
void update();
void jumping(PlayerFSM* a);
void climbing(PlayerFSM* a);
void attacking(PlayerFSM* a);
void defending(PlayerFSM* a);
void taunting(PlayerFSM* a);
void running(Player... | [
"c00239718@ITCARLOW.IE"
] | c00239718@ITCARLOW.IE |
8ae0e0c28cc36a15f387e3296ee6e931268b6e2c | df0ea88f1b1dfb79f1aecff51d96d81702d2201f | /src/Ext/BuildingType/Hooks.cpp | 6f612dde3b87e6b28d68fc1fe2f1a21b9eb8c9cb | [
"BSD-2-Clause"
] | permissive | secsome/Antares | ea62178d0fca56156f8d8549382f1733dc380f68 | 412b5500bae41104c9da2bc4169cb06a784472b8 | refs/heads/master | 2023-06-08T01:02:22.743252 | 2021-06-27T12:48:09 | 2021-06-27T12:48:09 | 380,737,035 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,022 | cpp | #include "Body.h"
#include "../Building/Body.h"
#include "../House/Body.h"
#include "../Techno/Body.h"
#include "../TechnoType/Body.h"
#include <ScenarioClass.h>
#include <AnimClass.h>
// =============================
// other hooks
DEFINE_HOOK(445F80, BuildingClass_Place, 5)
{
GET(BuildingClass *, pThis, ECX);
i... | [
"302702960@qq.com"
] | 302702960@qq.com |
a2bc7b5d3bcb16328a5fd8252dd20e99c266c653 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/platform/mojo/canonical_cookie_mojom_traits.h | cbb61baa785016cb764516fbbb1ec1ef43074a6b | [
"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 | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,789 | 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_MOJO_CANONICAL_COOKIE_MOJOM_TRAITS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_MOJO_CANONICAL_COOKIE_MOJOM_... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
012bb7e449633a6cb4b8bae87485a7b0bb333244 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/smatreduce/rowwise/MCb.cpp | d925fb14ffe5759a8336887e7ffa012c860e9e6f | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,088 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatreduce/rowwise/MCb.cpp
// \brief Source file for the MCb sparse matrix row-wise reduction operation math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Th... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
0296af067695f921034fc41816ce47a672598857 | be3ca033d21ac6e6ad26351b3d22c0d6118ffd93 | /http_request_header.h | 7b62f5f771395f189d4c7b3fe3460f2b806da830 | [
"MIT"
] | permissive | imyxz/tiny-http-server | 7006fe8efc52c86746825e7ef0cc03f996a30484 | 0fcfe947aec041b679c26118412a845d490e128b | refs/heads/master | 2020-04-29T03:15:50.712804 | 2019-03-19T06:42:39 | 2019-03-19T06:42:39 | 175,802,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | h | #include<string>
#include<map>
using std::string;
using std::map;
struct HttpRequestHeader{
string method;
string path;
string http_version;
map<string,string> headers;
}; | [
"i@yxz.me"
] | i@yxz.me |
67185a83e856ca4d6dcfa33c35fde4db983fc19e | 1254c599f0a574f65333710ad9f22b3d45b9228d | /corelib/include/rtabmap/core/adafruit_uart.h | 493af2ccdfd4c833e0c5c6009969eda4f84178c7 | [] | no_license | SilvioGiancola/rtabmap | 090e7b054c127ee894712b2a53815595fc7c7217 | 50cfdef30ae8aa56f54df4ac00768f52fbbe009a | refs/heads/master | 2021-01-16T21:13:45.582040 | 2016-03-14T19:43:46 | 2016-03-14T19:43:46 | 50,492,080 | 1 | 0 | null | 2016-01-27T08:09:17 | 2016-01-27T08:09:17 | null | UTF-8 | C++ | false | false | 18,014 | h | #ifndef ADAFRUIT_UART_H
#define ADAFRUIT_UART_H
/******************/
/*** ADAFRUIT DRIVERS ***/
/******************/
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
#include <iostream>
#include <iomanip>
#include <QTime>
#include <pcl/common/time.h>
#define SUCCESS 0
#define ERROR 1
#defin... | [
"silvio.giancola@gmail.com"
] | silvio.giancola@gmail.com |
fa210e97f2d113c7efb876e74b9f9548a014137b | 9b5b38bf7b8779171e2faeb9371039d95d1fef39 | /vts-libs/vts0/driver/tilardriver/cache.cpp | 2226628b5560d7c11ad609c5b273fd7c729434bd | [
"BSD-2-Clause"
] | permissive | TopWorld2040/vts-libs | 2920f1aa00fdb99206f94bbe1ab4ddb8e6217be0 | dc52e7e9b04e6a3bcfeb5c9229f6053459295a29 | refs/heads/master | 2021-07-01T02:51:38.757809 | 2017-09-20T12:35:27 | 2017-09-20T12:35:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,469 | cpp | /**
* Copyright (c) 2017 Melown Technologies SE
*
* 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 f... | [
"vaclav.blazek@citationtech.net"
] | vaclav.blazek@citationtech.net |
a28100a2f59924f38c1495b1c3ccde99c939bb40 | a5e05718b6f8b402141e6cfd963b340c613200bc | /Submodules/mxml/src/mxml/dom/Pitch.h | 6cc2bf92c208e0bac1e881afa8c23c734ac839fa | [
"MIT"
] | permissive | yk81708090/musitkit | 8617699d49da9ddea0dc28897c0f6a0895fac9de | 7d57e4dd3a21df2dc82f6725accdd89a8560d7d2 | refs/heads/master | 2022-04-07T08:23:46.894850 | 2019-12-20T19:25:29 | 2019-12-20T19:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,327 | h | // Copyright © 2016 Venture Media Labs.
//
// This file is part of mxml. The full mxml copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#pragma once
#include "InvalidDataError.h"
#include "Node.h"... | [
"zhangpengcheng.zpc@bytedance.com"
] | zhangpengcheng.zpc@bytedance.com |
1526c8df9814918ced2d18cce30b2544e56d0731 | 607217719855d3d2c3d1d306f08a5d5e110d5acd | /app/echo/ee.hh | f708cff49bcea9af7dc79538ccbafae70488a2fa | [] | no_license | yuan-luo/pump | 9216791f1f09dd92a5c49c739e62d460d1eb9045 | f48b4666e195955e2d227c3307969a8200049834 | refs/heads/master | 2022-11-04T18:10:58.750649 | 2020-06-17T12:41:19 | 2020-06-17T12:41:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | hh | //
// Created by root on 2020/5/22.
//
#ifndef PUMP_EE_HH
#define PUMP_EE_HH
#include <variant>
#include <reactor/flow.hh>
#include <f-stack/ff_api.h>
#include <f-stack/ff_api.h>
#include <f-stack/ff_config.h>
#include <dpdk/include/rte_ring.h>
#include <dpdk/include/rte_mempool.h>
#include <dpdk/include/rte_ethdev.h>... | [
"179261275@qq.com"
] | 179261275@qq.com |
38339696f23cd79860c04a3fe5cb7a37869d803b | b23d74c3f6725a9254ac0382fadf242a3aabb0e5 | /zircon/system/ulib/fs/test/connection_integration_tests.cc | 40094582197c6a4690c940d02b9d6d72fea930e0 | [
"BSD-3-Clause",
"MIT"
] | permissive | Eissen/fuchsia | dacd48dbfa50550d3ea34befdb536b5df5fed61d | 0df256e4ea207e2b83b11ba9c88fb1eca786a8bc | refs/heads/master | 2023-02-02T01:55:06.110096 | 2020-12-15T05:51:48 | 2020-12-15T05:51:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,800 | cc | // Copyright 2019 The Fuchsia 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 <fuchsia/io/llcpp/fidl.h>
#include <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/fdio/directory.h>
#include <lib/f... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
69809232d29bb530c74ce68e656720b951f48108 | 2946632499461b1d7586f31b35175a792ce3324d | /cutelogger/Logger.cpp | d6f89cf3d8154bfdb2813e8b40828b9e8efa1ba6 | [] | no_license | Kirek/deepin-session-ui-manjaro | 7cf52faca592df09510d06212bb57f2c48a9869b | ad8d9aa6b8309b58bc2b7fcebb5a761539075346 | refs/heads/master | 2021-01-20T17:43:37.211204 | 2016-01-07T11:52:23 | 2016-01-07T11:52:23 | 49,200,331 | 0 | 2 | null | 2016-01-07T11:20:32 | 2016-01-07T11:20:32 | null | UTF-8 | C++ | false | false | 32,408 | cpp | /*
Copyright (c) 2012 Boris Moiseev (cyberbobs at gmail dot com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License version 2.1
as published by the Free Software Foundation and appearing in the file
LICENSE.LGPL included in the pac... | [
"penghui@linuxdeepin.com"
] | penghui@linuxdeepin.com |
bf9ecb4f7aecca5d646b6a5a80700cde1ea5a6bc | a314c44ef5a8a4c94720501a212d509eadd98264 | /src/Magnum/Trade/Test/AbstractImageConverterTest.cpp | b0a385472a8f91de7b17e5213f32486ea1f6fc0e | [
"MIT"
] | permissive | rockgong/magnum | 5c4ac7e189d02d9e0b9e1d0bc9367e2c82cc9fae | b937f3901e8dcb3f108769166fcf9d3be5a43fbc | refs/heads/master | 2020-05-16T09:44:54.922838 | 2019-04-22T12:29:24 | 2019-04-22T12:48:24 | 182,959,433 | 1 | 0 | NOASSERTION | 2019-04-23T07:30:40 | 2019-04-23T07:30:40 | null | UTF-8 | C++ | false | false | 23,866 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
0fcd713df3318b7dc61ef785d070f4fdae156537 | 2fa764b33e15edd3b53175456f7df61a594f0bb5 | /appseed/core/user/html/_html.cpp | 5cefd2af11dc79f99d964f4cde46b7e97b91dbbb | [] | no_license | PeterAlfonsLoch/app | 5f6ac8f92d7f468bc99e0811537380fcbd828f65 | 268d0c7083d9be366529e4049adedc71d90e516e | refs/heads/master | 2021-01-01T17:44:15.914503 | 2017-07-23T16:58:08 | 2017-07-23T16:58:08 | 98,142,329 | 1 | 0 | null | 2017-07-24T02:44:10 | 2017-07-24T02:44:10 | null | UTF-8 | C++ | false | false | 228 | cpp | #include "framework.h"
#include "graphics/elemental/_html_elemental.cpp"
#include "graphics/impl/_html_impl.cpp"
#include "graphics/_html_graphics.cpp"
#include "hi5/hi5_twitter_authorization.cpp"
#include "user/_userhtml.cpp" | [
"camilo@ca2.email"
] | camilo@ca2.email |
e299165e923f2beafc971cfae2ed0abddc698cea | 935fed188389d3a6fda69fd151aeee4b46e16626 | /libraries/reducedElasticForceModel/reducedSubspaceStVKForceModel.h | f54739ed8415801bbbe412e02e1a96f87a530f9d | [] | no_license | qnzhou/VegaFEM | 68f6bf102dfe851383a5d6173a9b4514a180e1b5 | 5e0cdde1a4421c3a8ad6acec46ffbf7bd560580d | refs/heads/master | 2021-08-19T08:41:38.223100 | 2017-11-25T15:15:17 | 2017-11-25T15:15:17 | 107,333,369 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,555 | h | /*************************************************************************
* *
* Vega FEM Simulation Library Version 3.1 *
* *
* "elasticForceMode... | [
"qzhou@adobe.com"
] | qzhou@adobe.com |
96fed869517556f290df2b0c4f5e9c2ab195e825 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/FCPortCapabilities/UNIX_FCPortCapabilities_ZOS.hxx | eb6cef4aa9ada3f1445fa9f2618bef839c73d0df | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
1baeeb50b6e888a71955e6bd58099123ca5f3c14 | 3c7f8ddd3d61da88aa3444196bf29e22f3f452a8 | /spoj_codes/sidbinstirl.cpp | 3700265f300376bfa553bcdfa021e6f752af99eb | [] | no_license | rathi062/codes | c836239092fd5e37e00a0c59412c94203e59ef18 | ca06002592927e2a01474eec27209f0b78d05de2 | refs/heads/master | 2021-01-23T02:30:21.455737 | 2015-08-23T11:21:42 | 2015-08-23T11:21:42 | 21,992,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include<iostream>
# include <conio.h>
using namespace std;
int s(int n,int m)
{
if(n==m)
return 1;
else
if(n==0 || m==0)
return 0;
else
if(n<m)
return 0;
else
if(m==1 || m==2)
return 1;
else
return (m*s(n-1,m)+s(n-1,m... | [
"mohit.rathi@flipkart.com"
] | mohit.rathi@flipkart.com |
49172c30c53cc42c4e85af52cad4a770795b49e6 | 872f24199d847f05ddb4d8f7ac69eaed9336a0d5 | /code/display/QtPlotter/canvasMode/CanvasModeZoom.cc | ed98e06f3a89d0ceb465920d824b55d4ac66aa15 | [] | no_license | schiebel/casa | 8004f7d63ca037b4579af8a8bbfb4fa08e87ced4 | e2ced7349036d8fc13d0a65aad9a77b76bfe55d1 | refs/heads/master | 2016-09-05T16:20:59.022063 | 2015-08-26T18:46:26 | 2015-08-26T18:46:26 | 41,441,084 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,046 | cc | //# Copyright (C) 2005
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# op... | [
"darrell@schiebel.us"
] | darrell@schiebel.us |
bf3478019073982d18e6357bbe415d0cc3ab5a43 | 6e20207f8aff0f0ad94f05bd025810c6b10a1d5f | /SDK/DLCMenuWidget_parameters.h | c6ab5bde4ff70f0e36b8f10138ffa0ea01d00709 | [] | no_license | zH4x-SDK/zWeHappyFew-SDK | 2a4e246d8ee4b58e45feaa4335f1feb8ea618a4a | 5906adc3edfe1b5de86b7ef0a0eff38073e12214 | refs/heads/main | 2023-08-17T06:05:18.561339 | 2021-08-27T13:36:09 | 2021-08-27T13:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,987 | h | #pragma once
#include "../SDK.h"
// Name: WeHappyFew, Version: 1.8.8
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function ... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
5d315c5a6e7234bad701d078fa94b488c5b6ff56 | 556d7e384baa180c75c73c77df8c69135e4d0964 | /GarmEngine/Graphics/GUI/Widget.cpp | 45b1474f3fa479eb80312c922397271d7408c414 | [] | no_license | Fulons/Garm | 8f6b7118805618952709154b9885d5c846b18d61 | addf02fcc1630d3c3d15204b2a8c1d325563807d | refs/heads/master | 2021-06-04T06:17:29.860461 | 2018-11-25T00:07:53 | 2018-11-25T00:07:53 | 58,014,097 | 0 | 0 | null | 2016-05-19T05:49:04 | 2016-05-04T01:42:26 | C++ | UTF-8 | C++ | false | false | 3,405 | cpp | #include "Widget.h"
using garm::graphics::GUIRenderer;
namespace garm { namespace gui {
Widget::Widget(Widget * parent)
: m_parent(parent), m_visible(GUI_WIDGET_STD_VISIBILITY), m_enabled(GUI_WIDGET_STD_ENABLE),
m_focused(GUI_WIDGET_STD_FOCUS), m_mouseFocus(GUI_WIDGET_STD_MOUSEFOCUS), event::Notifier<WidgetListen... | [
"fulons.k@gmail.com"
] | fulons.k@gmail.com |
f4344c1892cac2fdcbad47e0d1b6406e5b195d38 | db9284c03ac85d2c21f160c3415a996d8b70a186 | /CPP_Module_04/ex01/PowerFist.hpp | a8c0662d5c40c89f429fb0963c98fd43e476d5f7 | [] | no_license | valen0k/CPP-Module | 7f472d9f0e24a337e5b3a678a86e3bf9f080b968 | 4bb65ca29d858b16d806526ba09873269a57f3aa | refs/heads/main | 2023-04-04T00:16:41.218685 | 2021-04-11T16:14:46 | 2021-04-11T16:14:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | hpp | #ifndef POWERFIST_HPP
# define POWERFIST_HPP
#include <iostream>
#include "AWeapon.hpp"
class PowerFist : public AWeapon
{
public:
PowerFist(/* args */);
PowerFist(PowerFist const ©);
virtual ~PowerFist();
PowerFist &operator=(PowerFist const &po);
void attack() const;
};
#endif
| [
"noreply@github.com"
] | valen0k.noreply@github.com |
ceb00fdb8fadcf8c20ade11b965babc913c6f9a5 | 236b24beb74c7a2f5318866b53f0a7e0efe4e294 | /Ruochen/saisirrapprochementdialog.cpp | c3b202e2343bdad2f2e9747e6bc9212d6f3d56ac | [] | no_license | uzunigat/Treasury-Project | 282eb3030eb654b738dfaa48263dc4448b117216 | ab250fccbc6a9d6bb7b0538f9626b54710f1c467 | refs/heads/main | 2023-01-08T07:53:43.296313 | 2020-11-12T18:09:06 | 2020-11-12T18:09:06 | 312,356,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | #include "saisirrapprochementdialog.h"
#include "ui_saisirrapprochementdialog.h"
SaisirRapprochementDialog::SaisirRapprochementDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::SaisirRapprochementDialog)
{
ui->setupUi(this);
}
SaisirRapprochementDialog::~SaisirRapprochementDialog()
{
delete ui;
}... | [
"rodrigo-uriel.zuniga-tellez@etu.utc.fr"
] | rodrigo-uriel.zuniga-tellez@etu.utc.fr |
570309ec3c9eb51ed4fb933acc4fe0dd98f84098 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Editor/UnrealEd/Private/Toolkits/SAssetEditorCommon.cpp | 1e3db46da3cb8f0dcaf8169e0acd10b5d7d18ac9 | [
"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,423 | cpp | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "UnrealEd.h"
#include "Toolkits/SAssetEditorCommon.h"
#include "Toolkits/AssetEditorToolkit.h"
void SAssetEditorCommon::Construct( const FArguments& InArgs, TWeakPtr< FAssetEditorToolkit > InitParentToolkit, bool bIsPopup )
{
// @todo toolkit maj... | [
"dkroell@acm.org"
] | dkroell@acm.org |
6ff140460331f1ad8624f6468f9fbfca5b9f9b46 | 3523aab8ba4edce9d7fc0606a47a22c72a9bf395 | /GatewaySvr/include/GWSessionHandler.hpp | 926757d4d506f459cdead46b46ce206bd7da6efd | [] | no_license | isoundy000/server | 5d9c4dfab7d89d33dac4395cd926ce1c1cc5fd15 | 3eee669d60815cf1ea42505f8d8c8e0e1e4bc758 | refs/heads/master | 2021-05-04T14:12:32.876534 | 2018-01-30T12:36:47 | 2018-01-30T12:36:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | hpp | #ifndef __GWSESSIONHANDLER_H__
#define __GWSESSIONHANDLER_H__
#include "../../include/PackageHandler.hpp"
#include "./CGWSHandlerFunc.hpp"
#include "../include/MessageDef.hpp"
class CGwHandlerMgr : public CPackageMgr<accFuncStruct>
{
public:
void addAllHandle()
{
registerFunc(eServerMessage_Client, CL... | [
"sguphil@gmail.com"
] | sguphil@gmail.com |
391d73ff6e01da66e8b270ae95ced9affb819785 | d82bbc0d60784305c230a934d521711d56c5b212 | /CS210/codes/kthelement.cpp | 8d6ab31ac9e966003850c4db285047f3d91e4abd | [] | no_license | tyagi619/Labs | 6a767b6aa1d3e76c61c9763ad49be870626654ac | 7141121cbc638cefa257bd31e594cc0d5917849c | refs/heads/master | 2023-06-02T04:18:05.515826 | 2021-06-20T08:35:02 | 2021-06-20T08:35:02 | 252,375,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
using namespace std;
void swap(vector<int>& a, int i,int j){
int temp;
temp=a[i];
a[i]=a[j];
a[j]=temp;
}
int pivot(vector<int>& a,int p,int q){
srand(time(NULL));
int y=(p+(rand()%(q-p+1)));
swap(a,y,p);
int x=a[p... | [
"tyagianubhav619@gmail.com"
] | tyagianubhav619@gmail.com |
dc93dd87ed043f793ccceff311615d4e94c650d4 | 0586591e93cd2cb81568271d40f6cd1342d120cd | /ChatServer/test/TestProto.pb.h | 15660d4324aa3b990c1bb8229b96ed1584b9a032 | [] | no_license | Sicily9/Chat | 116817eb108d97aab93260c5b4437f762b74c92b | 029c2b3defd12d5ce8a6c8f8d9224858c42494c2 | refs/heads/master | 2020-03-22T01:50:37.250529 | 2018-07-01T14:04:33 | 2018-07-01T14:04:33 | 139,333,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 6,544 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TestProto.proto
#ifndef PROTOBUF_TestProto_2eproto__INCLUDED
#define PROTOBUF_TestProto_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generated by a newer... | [
"727847140@qq.com"
] | 727847140@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.