blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c10618277751f93eb69ac01bade69ed8289a457c | 1619898f4b137ba4d0026730168ff8fc3af98914 | /Tree/Interviewbit/post_order.cpp | 0648a6756870253605e8eb0bed0505805b9c8891 | [] | no_license | pcube99/codes | 92db1cbf134f7a8536b4627416d0cbe8bece21ca | b9cbb17fb370d225ebede57f1b88fc52bec25399 | refs/heads/master | 2022-12-29T05:07:53.522979 | 2020-09-23T11:12:32 | 2020-09-23T11:12:32 | 284,982,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | // https://www.interviewbit.com/problems/postorder-traversal/
//iterative
unordered_map<TreeNode*, int> mp;
vector<int> Solution::postorderTraversal(TreeNode* a) {
stack<TreeNode*> st;
vector<int> ans;
st.push(a);
while(!st.empty()) {
TreeNode* temp = st.top();
if(temp == NULL) {
... | [
"panch.pankil99@gmail.com"
] | panch.pankil99@gmail.com |
42463e819b251c929aff83847e67983db9b6d6e7 | 97aab27d4410969e589ae408b2724d0faa5039e2 | /SDK/EXES/INSTALL VISUAL 6 SDK/INPUT/6.0_980820/MSDN/VCPP/SMPL/MSDN98/98VSa/1036/SAMPLES/VC98/sdk/com/inole2/chap23/cosmo/precomp.cpp | 12bb06881ff447e773997c498f9f38ea6400b54d | [] | no_license | FutureWang123/dreamcast-docs | 82e4226cb1915f8772418373d5cb517713f858e2 | 58027aeb669a80aa783a6d2cdcd2d161fd50d359 | refs/heads/master | 2021-10-26T00:04:25.414629 | 2018-08-10T21:20:37 | 2018-08-10T21:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | #include "cosmo.h"
| [
"david.koch@9online.fr"
] | david.koch@9online.fr |
64f666160dff339629743a439f93947c1d001bdd | a107450f994d8a40fd31e77a3c457438a3942cd2 | /base/loader/src/loaded_file.cc | b774200beeabd993cc655b93ecd10d676d676d8b | [
"MIT",
"Apache-2.0"
] | permissive | PetrifiedPanda/motis | fb1e785e915314fb3010495bd9d4720a778eb4a0 | 0b641f8a2e5060f99f19a85253422f65e4406b46 | refs/heads/master | 2023-08-15T08:18:31.657428 | 2021-10-21T09:58:45 | 2021-10-21T09:58:45 | 362,524,499 | 0 | 0 | MIT | 2021-04-28T15:46:39 | 2021-04-28T15:46:38 | null | UTF-8 | C++ | false | false | 2,705 | cc | #include "motis/loader/loaded_file.h"
#include "utl/verify.h"
namespace motis::loader {
// Inplace version of
// https://stackoverflow.com/a/23690194
void convert_utf8_to_iso_8859_1(std::string& s) {
auto code_point = unsigned{};
auto out = &s[0];
auto in = reinterpret_cast<unsigned char const*>(&s[... | [
"noreply@github.com"
] | noreply@github.com |
1d87b5db4abdce22de87f0fe3a8018a638c9cf2c | cdaf7d24b362b9fa4b0b6dbbb54a21af8d7ee066 | /tb/vip_packet.h | b46b493e235b402b0e05a2daa92eb2eae6c229a7 | [] | no_license | wehu/leo-template | 9014f76d15182f1c53b80a1697d0cd21eaf3938e | 3aa2679bde1d302d59c5e5e70ca8d4b1c2597a05 | refs/heads/master | 2021-04-15T08:25:14.008260 | 2018-04-12T15:53:32 | 2018-04-12T15:53:32 | 125,814,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | h | //----------------------------------------------------------------------
// Copyright 2012-2014 NXP B.V.
// All Rights Reserved Worldwide
//
// 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
// ... | [
"wei.hu@transwarp.io"
] | wei.hu@transwarp.io |
991750bd452112f0f339bda760585e21723cc206 | 51fdd27bfe20e60dd726b04850a881be110002e3 | /luogu/2852/2852.cpp | 77f2aae7a89e406eaeeb68c91e04da115900230f | [] | no_license | MintSummer/TYC | 0eb4d04851a6ecc8e2d83475a6f16c6d1c6d8f9b | 23700d4d857d0729b2db3b1ef9afc21b040aecbd | refs/heads/master | 2020-04-11T16:13:18.035139 | 2019-03-10T15:18:53 | 2019-03-10T15:18:53 | 161,916,623 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,110 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MAXN=20010;
int n,k,m=20000,a[MAXN],sa[MAXN],w[MAXN],wv[MAXN],x[MAXN],y[MAXN];
int rank[MAXN],height[MAXN];
int h,t,ans,q[MAXN];
//Ìý˵²»ÓÃÀëÉ¢»¯¡¡
int read()
{
int x=0,f=0;
char ch=getchar();
while(ch<'0'||ch>'9') f|=(ch=='-'),ch=getcha... | [
"tangyichen0902@126.com"
] | tangyichen0902@126.com |
d101da79e9f0c3615d1683ecee858cbafb7852b2 | 341fbbaa6d7e9b8cf5beba68bde5c8c1090cf3ef | /ACM 模板代码/f-求A^B的约数之和/f-求A^B的约数之和/main.cpp | a6ffd0cc1730d50aa54da70d38e7a7ec8880c7e4 | [] | no_license | webturing/ACM-1 | 0ceb79e5439a95315234ae1e8bee93b353305459 | 7fcf14d1ff2ae42b001139d04bde01378fb4f5c4 | refs/heads/master | 2020-03-19T17:33:37.098619 | 2018-06-09T17:07:14 | 2018-06-09T17:07:14 | 136,766,339 | 3 | 0 | null | 2018-06-09T23:59:30 | 2018-06-09T23:59:30 | null | UTF-8 | C++ | false | false | 2,376 | cpp | //
// main.cpp
// f-求A^B的约数之和
//
// Created by ZYJ on 16/7/7.
// Copyright © 2016年 ZYJ. All rights reserved.
//
#include <iostream>
using namespace std;
const int MAXN = 10000;
int prime[MAXN + 1];
// 获取素数
void getPrime()
{
memset(prime, 0, sizeof(prime));
for (int i = 2; i <= MAXN; i++)
{
... | [
"1179754741@qq.com"
] | 1179754741@qq.com |
aad373e34f734c27ff09d074fc5333d64e336f0b | d460fdbc7dfb05d76308cf0ac26bd0ebd2ba8382 | /tool/dot-pointer-cfg/RunAnalysis.cpp | 89b57f88dcf2a77a472bd0ddb66bd19170eb8cba | [
"MIT"
] | permissive | grievejia/tpa | 5032f1db8fae037227a7efd003abd5d820cf5069 | 8a7aa4c7d41c266fcf3a5e2011ff324bcddf5816 | refs/heads/master | 2020-04-09T11:11:18.898040 | 2016-03-23T20:41:30 | 2016-03-23T20:41:30 | 30,267,261 | 22 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include "RunAnalysis.h"
#include "PointerAnalysis/FrontEnd/SemiSparseProgramBuilder.h"
#include "Util/IO/PointerAnalysis/WriteDotFile.h"
#include <llvm/IR/Function.h>
#include <llvm/Support/raw_ostream.h>
void runAnalysisOnModule(const llvm::Module& module, const llvm::StringRef& dirName, bool writeFile)
{
tpa::Se... | [
"grievejia@gmail.com"
] | grievejia@gmail.com |
68b3b955b57678da82b9ec4b3f0cfe939026240d | 17fdc38df32efbd873302f699889f8b3e93690ff | /ios/versioned-react-native/ABI18_0_0/ReactCommon/cxxReactABI18_0_0/ABI18_0_0JSBigString.h | 3843fce7418fbb5e91136c55accad377f26df47c | [
"MIT",
"BSD-3-Clause",
"CC-BY-4.0",
"Apache-2.0"
] | permissive | mohebifar/expo | a83d51a1e2f886375aa6fb5c535719891dc3efdd | 083f2254c65e71385054172e147765edfb676fe4 | refs/heads/master | 2021-01-15T21:24:31.714042 | 2017-08-09T23:02:36 | 2017-08-09T23:02:36 | 99,859,373 | 2 | 0 | null | 2017-08-09T22:58:22 | 2017-08-09T22:58:22 | null | UTF-8 | C++ | false | false | 4,212 | h | // Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include <fcntl.h>
#include <sys/mman.h>
#include <folly/Exception.h>
#ifndef RN_EXPORT
#define RN_EXPORT __attribute__((visibility("default")))
#endif
namespace facebook {
namespace ReactABI18_0_0 {
// JSExecutor functions sometimes take large... | [
"aurora@exp.host"
] | aurora@exp.host |
5dc418ee08c11d2ffc881d1973a4eedcea464539 | cfd33821398cede8c2aadd847d59b89d72d7e0a6 | /Import/src/miranda.cpp | 2c056f711595d381636130030cfa01fbfbc60d4d | [] | no_license | miranda-ng/deprecated | 1c922e502d7ec35371a454131b9e5fa019e241fd | 137526f743d2e8237845b7faea992989a7e8fbd7 | refs/heads/master | 2023-01-28T20:57:12.499530 | 2023-01-13T23:32:54 | 2023-01-13T23:32:54 | 71,989,840 | 3 | 3 | null | 2017-08-22T18:52:34 | 2016-10-26T09:53:01 | C++ | UTF-8 | C++ | false | false | 10,814 | cpp | /*
Import plugin for Miranda NG
Copyright (C) 2012-14 George Hazan
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 Foundation; either version 2
of the License, or (at your option) any later version.
This prog... | [
"watcherhd@gmail.com"
] | watcherhd@gmail.com |
f14eeaa6e2c9439cbee6c12ce6b89bb50642387a | 14aceee08ee4f928adcb09a77abae33b473416e2 | /hail/src/main/c/NativeModule.cpp | de971dc7f3738dac469d27b83fc319498955c649 | [
"MIT"
] | permissive | liuxiaodong/hail | 4d1caed25cd31d7a1d81caaee0b2dd4220458a1a | 1c6dbf20333aa58c8cf0a5a55bd796e928493b1f | refs/heads/master | 2020-04-02T05:47:10.501703 | 2018-10-21T21:35:43 | 2018-10-21T21:35:43 | 154,104,914 | 1 | 0 | MIT | 2018-10-22T07:46:09 | 2018-10-22T07:46:01 | null | UTF-8 | C++ | false | false | 16,184 | cpp | #include "hail/NativeModule.h"
#include "hail/NativeObj.h"
#include "hail/NativePtr.h"
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <jni.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <unistd.h>
#include <atomic>... | [
"noreply@github.com"
] | noreply@github.com |
5f491e099fed311e97f440db689e34d874fac80f | 5cad367b7a34f124a766cd075a183b44415bb3ee | /CODEFORCE/632_div2/C/main.cpp | 672c5dfe500bb9b49399b7730f9fd14757af223b | [] | no_license | Rkda8071/PS | f8078744397c58380755a5ad3cd238e484068b7a | fbf1cacf8851e100a3c6edc335db77172a24f3db | refs/heads/master | 2023-01-12T17:55:30.313774 | 2022-12-24T12:38:39 | 2022-12-24T12:38:39 | 237,006,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
struct A{
ll s;
int id;
bool operator<(const A &r)const{
return s<r.s || (s==r.s && id<r.id);
}
}a[200100];
ll x,dap;
int y,d[200100];
int main(){
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++) d[i] = n;
for(int i=... | [
"gangminson@naver.com"
] | gangminson@naver.com |
232b35479444bf751b514d277d640c8e08aa519b | fa6b5a15bd5d7ed857c1705e26f58f7f6452c1cd | /SEARCHING AND SORTING/7.Find Missing And Repeating .cpp | f9897524ced0b738a0a3fd4dcdde0deeb6d1bd80 | [] | no_license | retro-2106/DSA_450_questions | d4cadc840f168a388db5258581712372be3e8629 | 7b23eba2661d6596870848ca3e3d1582236ca46f | refs/heads/main | 2023-06-14T13:08:35.856589 | 2021-07-04T11:28:21 | 2021-07-04T11:28:21 | 308,229,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | class Solution{
public:
int *findTwoElement(int *arr, int n)
{
int *ans = new int[2];
for(int i=0;i<n;i++)
{
if (arr[abs(arr[i]) - 1] > 0)
arr[abs(arr[i]) - 1] = -arr[abs(arr[i]) - 1];
else
ans[0] = abs(arr[i]);
}
... | [
"ashishcool2106@gmail.com"
] | ashishcool2106@gmail.com |
283b5d4a1baae5c8995c86d1788cae6372497666 | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/Generated Files/winrt/impl/Windows.Devices.Sms.2.h | 79a53fe4bdb31b54493c7b9d56e68f116a028483 | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,119 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200316.3
#ifndef WINRT_Windows_Devices_Sms_2_H
#define WINRT_Windows_Devices_Sms_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Foundation.Collections.1.h"
#include "winrt/impl/Windows.Devices.Sms.1.h"
WINRT_EXPO... | [
"ctorre@microsoft.com"
] | ctorre@microsoft.com |
b027c732af0abbc0cb98270c007e69dc6cc47ce4 | 1f2c7060899566525c0fd934e4996634e4d944b8 | /Project1/Matrix.cpp | 958557a0e9e3affe51a1960b5620d1d1126a0ddc | [] | no_license | skipperuzumaki/image_enhancer_3d_neural_network | 8c1477d851b8fb2ced01630fc59aaa50e22f5c06 | 5359dfa6dd1701a967426f65c3935d3c9406b86b | refs/heads/master | 2020-05-18T13:10:43.503682 | 2019-06-03T08:17:29 | 2019-06-03T08:17:29 | 184,430,462 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,738 | cpp | #include "Matrix.h"
#include <cstdio>
#include <ctime>
#include <cstdlib>
Matrix Matrix::bringrow(int row)
{
Matrix ret = Matrix(1, getcoulmns());
for (int i = 0; i < getcoulmns(); i++) {
ret.start[i] = start[row*getcoulmns() + i];
}
return ret;
}
Matrix Matrix::bringcoulmn(int coulmn)
{
Matrix ret = Matrix(ge... | [
"skipperuzumaki@gmail.com"
] | skipperuzumaki@gmail.com |
83d5ff250db824aac001e1d566d6d46dde54f426 | 06b63d12f3df3e2a67e82361f25ae22a972254d1 | /haixiangsrc/haixiang/GoGameService/Chess.cpp | 76274a93f099618fee13c6868f4f36290a6e28fe | [] | no_license | lindianyin/testboost | 64276f9a33bebcfb77d85f93a71400a58f138875 | 6fa4a98f9773f988a1d0855477a5cc0fc4aeeb64 | refs/heads/master | 2021-01-15T15:42:08.898669 | 2016-08-25T08:13:53 | 2016-08-25T08:13:53 | 53,821,167 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #include "Chess.h"
Chess::Chess(int x, int y)
{
this->x = x;
this->y = y;
this->type = ChessType::Empty;
this->step = 0;
}
Chess::~Chess() {}
bool Chess::addChess(ChessType _type, int _step)
{
this->type = _type;
this->step = _step;
return true;
}
int Chess::getPosX()
{
return this->x;
}
int Chess::getPosY... | [
"lindianyin@foxmail.com"
] | lindianyin@foxmail.com |
be94a4f67dd103bbbcb8e2f19a0eb5b69155c342 | eefbc723d9f354adf96cb85ff1639dc5f7799086 | /Configuration/analysis/diLeptonic/src/TreeHandlerBase.cc | f55191dc1eb232feb8711a93b988b9c2dc02ca64 | [] | no_license | kovalch/TopAnalysis | e4bb2c80be61734c56c124522ecf1719a801bf19 | b7c9bb5268e0680cfbe1e0366e1811466e7846a4 | HEAD | 2016-09-05T10:15:16.810334 | 2015-07-23T13:27:19 | 2015-07-23T13:27:19 | 39,569,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,635 | cc | #include <string>
#include <vector>
#include <map>
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <utility>
#include <TTree.h>
#include <TFile.h>
#include <TString.h>
#include <TSelectorList.h>
#include <TIterator.h>
#include <TObject.h>
#include <Rtypes.h>
#include "TreeHandlerBase.h"
#include "V... | [
"jeka89.23@gmail.com"
] | jeka89.23@gmail.com |
e11f9d694b74351f0ab7594fbb9f0dc0485732b0 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/safe_browsing/incident_reporting/download_metadata_manager_unittest.cc | ec8ef04f23ea6bf8cdafd88a2437a8f236cb10b7 | [
"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 | 23,523 | 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 "chrome/browser/safe_browsing/incident_reporting/download_metadata_manager.h"
#include <stdint.h>
#include <memory>
#include <string>
#include... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
b19dd114e576ff4b9b39e9f8c0b543b0fec7f7c4 | 7612c22ea34fef4a171368c6c247580a571fa2e3 | /ShaderDummy/src/tests/TestCube.cpp | 7b5e0fe14d181aa61bb0d80c3a3dd5f42be711b2 | [] | no_license | Ale32/ShaderDummy | d2e6c5eeba099ea581b58100ad15c9c37caba533 | f8dc0a6c06f5c4702c54ab8884c9a72fc298d431 | refs/heads/master | 2022-02-22T01:16:18.808140 | 2019-07-07T15:28:00 | 2019-07-07T15:28:00 | 190,259,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,232 | cpp | #include "TestCube.h"
#include "Renderer.h"
#include "imgui/imgui.h"
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
namespace test {
TestCube::TestCube()
: m_Translation(0.0f, 0.0f, 0.0f), m_Rotation(0.0f, 0.0f, 0.0f)
{
// Vertex data
float vertexData[] = {
... | [
"alessiopaoletti32@gmail.com"
] | alessiopaoletti32@gmail.com |
cb4b5b06a1861fe45bb757c155121659ca200583 | ac140a854c180f0c6c0ff0f35518c18e32a43758 | /ModernCpp/SubParagraph_14_3_1.cpp | e6554ad799f493decd9e3fbe16f1c08decb555f6 | [] | no_license | klasing/MnistExample | 53bd4e6316b513889acd77a5549082863c643435 | 720479f6768c15fa6e63fafd415b5a2bcff3dfa9 | refs/heads/master | 2020-04-22T00:29:18.102857 | 2019-06-30T18:41:17 | 2019-06-30T18:41:17 | 169,981,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | #include "pch.h"
inline void subParagraph_14_3_1() {
cout << "ECMAScript Syntax" << endl;
cout << "-----------------" << endl;
cout << " Special Charaters:" << endl;
cout << " ^ $ \\ . * + ? ( ) [ ] { } |" << endl;
cout << "a) Anchors" << endl;
cout << " Beginning of the string: ^" << endl;
cout << " E... | [
"klasing1959@gmail.com"
] | klasing1959@gmail.com |
ccbdb12d4b669f4408c7fc524774f41764d6bc87 | 003660482bec5ad6529c5b2b1f964dac43cbc055 | /opdr5/main.cpp | 8a53be749964c2597870f0ee8e45c7e258d12b39 | [] | no_license | notzain/RTD_Assignments | 77d5dd2903398ae0dd3c4e14cbf8f60cb8e704bc | 7665e1fcb580c3be016e642e13ef0453837fcd27 | refs/heads/master | 2020-03-13T22:33:13.747031 | 2018-06-22T21:39:28 | 2018-06-22T21:39:28 | 131,318,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | //
// Created by zain on 4/27/18.
//
#include <iostream>
#include <memory>
#include "lib_domain/Match.h"
#include "lib_domain/Robot.h"
#include "lib_domainfactory/SimpleDomainFactory.h"
#include "lib_util/IObserver.h"
#include "lib_util/Subject.h"
#include "lib_ui/MainWindow.h"
int main() {
Ui::MainWindow wi... | [
"zain.x.ahmad@gmail.com"
] | zain.x.ahmad@gmail.com |
1d546416c100e192bb209bb8b7be689a62e5170f | de01cb554c2292b0fbb79b4d5413a2f6414ea472 | /algorithms/Medium/777.swap-adjacent-in-lr-string.cpp | a0b9ce8c85562156f88228c2e85730797c23d5ab | [] | no_license | h4hany/yeet-the-leet | 98292017eadd3dde98a079aafcd7648aa98701b4 | 563d779467ef5a7cc85cbe954eeaf3c1f5463313 | refs/heads/master | 2022-12-10T08:35:39.830260 | 2020-09-02T23:12:15 | 2020-09-02T23:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | /*
* @lc app=leetcode id=777 lang=cpp
*
* [777] Swap Adjacent in LR String
*
* https://leetcode.com/problems/swap-adjacent-in-lr-string/description/
*
* algorithms
* Medium (34.82%)
* Total Accepted: 28.1K
* Total Submissions: 80.7K
* Testcase Example: '"X"\n"L"'
*
* In a string composed of 'L', 'R', a... | [
"kevin.wkmiao@gmail.com"
] | kevin.wkmiao@gmail.com |
7ddaddcabc85d8722b52211d79589674652ba683 | f497f47cb9fd50721995905fde02a591c1e844ee | /RobotWar.spritebuilder/Source/AkiRobotCpp.h | a9a9e684ffd4017c8c8da461fab1ed0d3414bd58 | [] | no_license | ryutamaki/RobotWar-Cpp | 027fb705b0978a49a2fb188d81bbd8a8024b51a6 | e1c879887e73a595d6d1b63e320d32232e7c8d3a | refs/heads/master | 2020-12-30T09:50:47.951563 | 2015-07-07T16:22:31 | 2015-07-07T16:22:31 | 38,653,914 | 0 | 0 | null | 2015-07-07T00:23:43 | 2015-07-07T00:23:43 | null | UTF-8 | C++ | false | false | 2,091 | h | //
// AkiRobotCpp.h
// RobotWar
//
// Created by Akihito OKUHATA on 2015/07/06.
// Copyright (c) 2015年 MakeGamesWithUs. All rights reserved.
//
#ifndef __RobotWar__Fliegerhammer__
#define __RobotWar__Fliegerhammer__
#include "RobotCpp.h"
#include <random>
namespace FliegerhammerAction {
enum FliegerhammerAct... | [
"aokht.zxc.v@gmail.com"
] | aokht.zxc.v@gmail.com |
4fadf0b04affdc8f19f3820f44121f4a275c48a1 | 0e64d27787f4135a3e7c0da4b8da503fa5bb8cce | /Test/Engine/WorldTest.cpp | 661ba941d8394b8f8a8a763623f54712cd25edbf | [
"Zlib"
] | permissive | adamyaxley/Pineapple | c09665e7bc4e6a25da9d5948d87edad786182b80 | 467d64312151a0336bdf60606bf6fd30c330fa20 | refs/heads/master | 2021-08-28T15:43:52.993799 | 2021-08-21T02:54:25 | 2021-08-21T02:54:25 | 87,867,072 | 14 | 1 | NOASSERTION | 2023-08-30T08:49:52 | 2017-04-10T23:32:14 | C++ | UTF-8 | C++ | false | false | 7,431 | cpp | #include <Pineapple/Engine/System/InputHandler.h>
#include <Pineapple/Engine/System/TimerHandler.h>
#include <Pineapple/Engine/System/World.h>
#include <Pineapple/Engine/System/Object.h>
#include <Pineapple/Engine/System/EnableChildList.h>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
struct TestWorldEndObject : p... | [
"craincat666@gmail.com"
] | craincat666@gmail.com |
d9b64b488253d80f9fe6c0df352720b1019f4e55 | 543805ee01f6984798a4d36ee8692e8707a37b23 | /server/src/FileModifyHandler.cpp | 5d84be25b5204b7b4b7e6369ea3f3283332a008c | [] | no_license | eduardoneira/Macho-Drive | 0a5bef41f4c6d8cf927f786cf483dfd1ac928aed | a9b9cb4703dfb3d89908ce756b13bf5648ba4937 | refs/heads/master | 2021-01-22T22:44:07.744386 | 2016-12-06T02:56:03 | 2016-12-06T02:56:03 | 41,469,142 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,493 | cpp | #include "FileModifyHandler.h"
#include "JsonSerializer.h"
#include "FileData.h"
#include "Util.h"
#include "UserMetadata.h"
#include <iostream>
#include "Logger.h"
FileModifyHandler::FileModifyHandler(Database *db, TokenAuthenticator *a) : EventHandlerChecksAuthentication(db, a)
{
//ctor
}
FileModifyHandler::~Fi... | [
"ga-yo-so@hotmail.com"
] | ga-yo-so@hotmail.com |
cec5336994b299d37283477b3030213d86f261e7 | 0ca533f11fe7c1130c1a10c7e9171940f70c8121 | /TinQtConsole/TinQTBreakpointsWinMoc.cpp | e25fd9ecc13477d420de1b0f5cae42a409074604 | [] | no_license | KidneyThief/TinScript_2016 | 3166f340a164abaab21b0b0c8a2c6713cd8a273f | 06f05f8393a0d19599f6f61cee3dc52a14b7efe2 | refs/heads/master | 2022-06-27T03:41:00.803498 | 2022-06-05T22:24:23 | 2022-06-05T22:24:23 | 48,601,862 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,648 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'TinQTBreakpointsWin.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
*******************************************... | [
"kidneythief9@gmail.com"
] | kidneythief9@gmail.com |
544b8fdb739f72c397b4705e773d577180c76a8d | 9bf06fd35d3ac72b220fe75ac23fac3512929f09 | /src/ShapeSkin.h | 2dca433a11548d57bf2e1d85484af79aa799cdef | [] | no_license | zub74/CSCE_489_A2 | 8b4ddf6ea83cbd89c9bf411f0c7d6320d6f41ed2 | 260d15e980953bc2663d4dc95a74e820b61252ea | refs/heads/master | 2022-12-10T00:24:09.176984 | 2020-09-24T03:43:42 | 2020-09-24T03:43:42 | 297,184,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | h | #pragma once
#ifndef SHAPESKIN_H
#define SHAPESKIN_H
#include <memory>
#define GLEW_STATIC
#include <GL/glew.h>
class MatrixStack;
class Program;
class TextureMatrix;
class ShapeSkin
{
public:
ShapeSkin();
virtual ~ShapeSkin();
void setTextureMatrixType(const std::string &meshName);
void loadMesh(const std::str... | [
"46665917+zub74@users.noreply.github.com"
] | 46665917+zub74@users.noreply.github.com |
0a221f90afd7b86008dc6f849ad5843911a77d00 | d49b8536d996a81fd2a356f2ccd850abd4447217 | /VirusPack/ForBot_Olin-SYM-VNC-NETAPI-All The Public Shit/sdthread.cpp | 7d2540d23b7bc0d64d6295d5c4b590fa7cd5a2f9 | [] | no_license | JonnyBanana/botnets | 28a90ab80f973478d54579f3d3eadc5feb33ff77 | 995b9c20aca5de0ae585ae17780a31e8bdfd9844 | refs/heads/master | 2021-07-01T01:51:01.211451 | 2020-10-22T23:14:57 | 2020-10-22T23:14:57 | 148,392,362 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | #include "sdthread.h"
//#include "mainctrl.h"
| [
"mstr.be832920@gmail.com"
] | mstr.be832920@gmail.com |
1d8ac79c840fd64e600049a771811c4a3d1aebb5 | fa85daab3ef8d0f090c159facdcfdc1734a713e3 | /Calculator/Calc.cpp | 5cbdbf54c1677027fd7de4b23a907932830f406b | [] | no_license | paprika-kr/junknote | 3ff890005e4f7372a9b49cc09d5231a324941f11 | 90b3942bce91059d2d4d477164f1953b34d9a628 | refs/heads/master | 2022-11-28T14:08:26.058930 | 2020-08-10T07:32:13 | 2020-08-10T07:32:13 | 286,407,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include "Calc.h"
float Calc::Add(float x, float y)
{
cnt[0]++;
return x + y;
}
float Calc::Min(float x, float y)
{
cnt[1]++;
return x - y;
}
float Calc::Mul(float x, float y)
{
cnt[2]++;
return x * y;
}
float Calc::Div(float x, float y)
{
cnt[3]++;
return x / y;
} | [
"feira@naver.com"
] | feira@naver.com |
32e6ae0af74e921dfd7a0abf8f54871c75114ff0 | 14dc9bb0a8d3c5e892e898d9b447ff599baa1294 | /Test000046.cpp | a31c2602752d45d86751a934485ed83503f5d539 | [] | no_license | PhoenixGS/Test | 04e15cfdf20a6de455ea07d12614136bc0cb347e | a7124b555b09e20418f8561adccf7d43d4d8f9fd | refs/heads/master | 2020-12-25T07:38:11.176761 | 2016-10-23T02:18:13 | 2016-10-23T02:18:13 | 65,564,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | cpp | #include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;
int c[300];
int u[300];
int Out[300];
int In[300];
vector<int> vet[300];
vector<int> val[300];
deque<int> que;
int main()
{
int n, p;
scanf("%d%d", &n, &p);
for (int i = 1; i <= n; i++)
{
scanf("%d... | [
"TheStarryDream@gmail.com"
] | TheStarryDream@gmail.com |
2631c5e131564ac6d63780851c2852aa16053bc0 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.cc | 451b802ac6427307385727003ef231d0f7317c0c | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 5,287 | cc | // Copyright 2017 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 "chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.h"
#include <cmath>
#include <string>
#include "base/files/file_path.h"
#inclu... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
dae98e7f7795e79112e4e58fe7e5ffa791f279a2 | b9c1098de9e26cedad92f6071b060dfeb790fbae | /src/module/players/properties_helper.h | 2c11981e6eacbca08088040df95faf75c7edc8e0 | [] | no_license | vitamin-caig/zxtune | 2a6f38a941f3ba2548a0eb8310eb5c61bb934dbe | 9940f3f0b0b3b19e94a01cebf803d1a14ba028a1 | refs/heads/master | 2023-08-31T01:03:45.603265 | 2023-08-27T11:50:45 | 2023-08-27T11:51:26 | 13,986,319 | 138 | 13 | null | 2021-09-13T13:58:32 | 2013-10-30T12:51:01 | C++ | UTF-8 | C++ | false | false | 1,279 | h | /**
*
* @file
*
* @brief Module properties helper interface
*
* @author vitamin.caig@gmail.com
*
**/
#pragma once
// library includes
#include <formats/chiptune.h>
#include <parameters/modifier.h>
#include <strings/array.h>
#include <time/duration.h>
namespace Module
{
class PropertiesHelper
{
public:... | [
"vitamin.caig@gmail.com"
] | vitamin.caig@gmail.com |
8890a9bfe6cbfda15d49dac5a175a43793d932ed | 3665d78b31d27b86207f92944f7984818ec687c6 | /Gfg_list/Microsoft_30_Days/Day11/Minimise_the_height1.cpp | 2688cbb77f4edbc08a47203ff05290c8be14a251 | [] | no_license | Stenardt-9002/CODECHEF-Datastructure-and-algo | 120b0c956e764d7fd10c2256430ce2d0a5975d46 | bca909265b9dca6d9dd93f50d68f86f71c3b6bdc | refs/heads/master | 2023-07-10T08:37:35.099195 | 2023-06-28T02:06:00 | 2023-06-28T02:06:00 | 190,029,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | // https://practice.geeksforgeeks.org/problems/minimize-the-heights-i/1
#include <bits/stdc++.h>
#include<ext/pb_ds/tree_policy.hpp>
#include<ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds ;
typedef long long int ll;
#define DEBUG_var 1
#define fastIO ios_base::sync_with_stdio(fal... | [
"ritvikraj.iiitdm@gmail.com"
] | ritvikraj.iiitdm@gmail.com |
e8fe84ed23a3a1ef574c166d8ec5392e73965030 | 11a9fc9ef1b13eebbc1aca1403aebbcc5aba48eb | /Competitive Programing/Hackerrank 30 Days of code/Day 10.cpp | 905639b9b968823fb57b4d0dda714a62fafd1a2e | [
"MIT"
] | permissive | Ritvikjain/DataStructures-And-Algorithms | 8e711e248a3f596028507633850d7fb6c783b2a4 | 27f2d48343aeb91c67376ae2fee429ca92dbd353 | refs/heads/master | 2020-03-18T07:41:04.319739 | 2019-08-25T19:05:31 | 2019-08-25T19:05:31 | 134,467,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include <bits/stdc++.h>
using namespace std;
long int decToBinary(long int n)
{
// array to store binary number
int binaryNum[1000];
// counter for binary array
long int i = 0;
while (n > 0) {
// storing remainder in binary array
binaryNum[i] = n % 2;
n = n ... | [
"ritvikjain2@gmail.com"
] | ritvikjain2@gmail.com |
db4ce0e3451a5463a49ff1b5d19c3f47b523646d | c6c434cac04ffd803d48ca1fc4a0bb19d8df2fa4 | /source/Frame.h | 8c079ee91419ac608904cdb145c1dc18c95075b3 | [
"MIT"
] | permissive | Hyreos/Millibox | 2df3e9297ab38c7870adf6fcd04aefca0b48c560 | 34fcd59bd1e5c1a97c1058032aefba0b11d8e48a | refs/heads/master | 2021-08-28T21:49:05.348173 | 2017-12-13T07:00:14 | 2017-12-13T07:00:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #pragma once
#include<SFML/Graphics.hpp>
#include<vector>
#include"PointGroup.h"
#include"Boxes.h"
class Frame
{
std::vector<PointGroup> hurtboxes_;
Boxes boxes_;
sf::IntRect frameRect_;
public:
Frame();
~Frame();
decltype(boxes_)& getBoxes();
};
| [
"livegoldht22@hotmail.com"
] | livegoldht22@hotmail.com |
08d3918f58341ab226addc8d5107e669a6c4b033 | 32bcbaebc379b3ef3f599d1334269206f7fb6c12 | /src/hdf5io/hdf5io.hpp | a353018c9be90af2c12ab74e10e20b259f58180b | [] | no_license | chengyanlai/ExactDiagonalization | cad10eb52c3003534d26cfcee3d070d54f592c00 | f5e4e697597598d7c92e5a5dc0deab5323ac563e | refs/heads/master | 2020-04-06T06:07:08.929463 | 2018-09-29T04:38:37 | 2018-09-29T04:38:37 | 44,208,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,807 | hpp | #ifndef __HDF5IO_HPP__
#define __HDF5IO_HPP__
#include <string>
#include <complex>
#include <vector>
#include <cassert>
#include <H5Cpp.h>
#include "src/ArmadilloMatrix.hpp"
class HDF5IO: public H5::H5File {
private:
std::string FileName;
H5::CompType ComplexDataType;
const H5::CompType InitComplexData... | [
"chengyanlai@gmail.com"
] | chengyanlai@gmail.com |
f90348c1d9f134d80582d4f01bac10ae24037128 | 7d09337ee24fda7894620a9c110e95bc9804a4ef | /Project4/Hash_Tree.h | 5ad95ac657934185b5fb117829f86afdb5ff4a29 | [] | no_license | etsai7/C-and-C-plus-plus-Programs | 5571ef94dd140ff0b6e57d15184f08a6f36be862 | 560d198a12bfbc5a88c0315aa9b1a0f6be147365 | refs/heads/master | 2016-08-11T06:57:34.730516 | 2016-01-13T05:04:26 | 2016-01-13T05:04:26 | 49,550,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,882 | h | #ifndef HASH_TREE_H
#define HASH_TREE_H
#define MAX_LEVELS 9
#include <string>
#include <iostream>
using std::cout;
using std::endl;
using std::ostream;
#include "Hash_Node.h"
#include "ML_hash.h"
template <typename T >
class Hash_Tree;
template< typename T >
ostream& operator<<(ostream &o, Hash_Tree< T > &Tree);
... | [
"e.tsai70@gmail.com"
] | e.tsai70@gmail.com |
dadbde11196b662e3e86ee858d11c22a7fd57e19 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/chromeos/plugin_vm/plugin_vm_util.h | 0de853024bf124b63f457c4a0c59e1210b1853c9 | [
"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 | 4,439 | 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_PLUGIN_VM_PLUGIN_VM_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_PLUGIN_VM_PLUGIN_VM_UTIL_H_
#include <memory>
#include <strin... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5e12fcb6aaf9c5e48d6a035b92a41900cca843b7 | 9a70726d94a8cc2cf98b9752bdf7ea96334fca6a | /student_download/xcode/ex_solutions/ch09_ex1_create_account/create_account/main.cpp | d274a04356b064a6c8b4eacef0da306d4fb820cb | [] | no_license | isaiah-baker/murachcppStartFiles | 84f5fa45970cb42e714cb09b7c2a5ede43fde3f8 | e270e8a26be15d4ae4a18381828678b44ed2b261 | refs/heads/master | 2020-04-28T01:29:44.163882 | 2019-03-10T17:51:40 | 2019-03-10T17:51:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,142 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <vector>
#include "validation.h"
using namespace std;
using namespace validation;
struct Account {
string first_name = "";
string last_name = "";
string password = "";
string email = "";
bool equals(Account&); // member function declaratio... | [
"ibkr10@gmail.com"
] | ibkr10@gmail.com |
045e4b430dad326102abf025d681c193d8662ca1 | 42710d6f618ac0c5e79c7a10a43f9a63fa75103d | /task_2_8_8.cpp | 76fa7748316dc00dc0c8b128bbc0bcea6ece96f0 | [] | no_license | AlterFritz88/interactive_learn_cpp | 605009d8e62ea13aab3a425a6af20bb0758fd7ce | 15ab8dc776d377f21bdcee6de5287a8e1cb2a3f7 | refs/heads/master | 2020-06-30T03:00:36.415208 | 2019-12-23T05:19:31 | 2019-12-23T05:19:31 | 200,700,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int temp, twos = 0, marker = 0;
for (int i = 0; i < 25; i++){
cin >> temp;
if (marker == 0)
if (temp == 2) {
marker = 1;
twos++;
continue;
}
if (marker == 1) ... | [
"burdin009@gmail.com"
] | burdin009@gmail.com |
be07ecda47c80b7349206fe3e036262516ea46c0 | d6258ae3c0fd9f36efdd859a2c93ab489da2aa9b | /fulldocset/add/codesnippet/CPP/t-system.componentmodel._134_1.cpp | 2b547e1a5525e25a649a55752d1533bb131ee2aa | [
"CC-BY-4.0",
"MIT"
] | permissive | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | ca4d3821767bba558336b2ef2d2a40aa100d67f6 | 9a577bbd8ead778fd4723fbdbce691e69b3b14d4 | refs/heads/master | 2020-05-26T22:12:47.034527 | 2017-03-07T07:07:15 | 2017-03-07T07:07:15 | 82,508,764 | 1 | 0 | null | 2017-02-28T02:14:26 | 2017-02-20T02:36:59 | Visual Basic | UTF-8 | C++ | false | false | 8,362 | cpp | #using <System.Windows.Forms.dll>
#using <System.Data.dll>
#using <System.Drawing.dll>
#using <System.dll>
using namespace System;
using namespace System::Collections;
using namespace System::ComponentModel;
using namespace System::ComponentModel::Design;
using namespace System::Drawing;
using namespace System::Data;
... | [
"tianzh@microsoft.com"
] | tianzh@microsoft.com |
caf01d834e1ce98ef7c2b631403292031b133e21 | 38c10c01007624cd2056884f25e0d6ab85442194 | /content/renderer/media/audio_message_filter.cc | b3e4b2edf31815794fdada4fdd7aa92cb9eca112 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 7,636 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/audio_message_filter.h"
#include <string>
#include "base/bind.h"
#include "base/single_thread_task_runner.h"
#inclu... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
636672496b25e4063442db8cdb99562d15a399fa | 2ba11c26ed8754ea6c56d1d242010b1fb8385306 | /cwrapper/engine/src/events/MouseMotionEvent.h | 4d525340eca56e452acabf5e4d370b5bc76d309b | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | permissive | tippesi/Go-Atlas-Engine | 60fb4cae781bd475658e29101b08c19cd928a72d | 83aedf376802803eddded6363898f001e4e83c36 | refs/heads/master | 2020-09-20T09:04:14.963788 | 2019-11-28T23:27:41 | 2019-11-28T23:27:41 | 224,431,342 | 0 | 1 | NOASSERTION | 2019-11-28T08:46:17 | 2019-11-27T12:56:37 | C | UTF-8 | C++ | false | false | 1,007 | h | #ifndef AE_MOUSEMOTIONEVENT_H
#define AE_MOUSEMOTIONEVENT_H
#include "../System.h"
#include "EventDelegate.h"
#include <SDL/include/SDL.h>
namespace Atlas {
namespace Events {
/**
* A class to distribute mouse motion events.
*/
class MouseMotionEvent {
public:
MouseMotionEvent(SDL_Mou... | [
"tippex97@gmail.com"
] | tippex97@gmail.com |
ed7d2867c900036e228deaed91a5de56163e7216 | 870b7d53ca818968ae8bd2f3798f097250cb8e2c | /unique-id.h | b12da0caa69f8f22b87a9aed57f86f5f87267f87 | [] | no_license | slcz/prolog-interpreter | 0c805e5b079983046267d27f1af5c4d3051e3ce7 | 3b430f0bf44c168fcbae9b1b55ba54a6bbedc5c6 | refs/heads/master | 2021-05-02T09:52:43.982945 | 2018-02-19T01:57:18 | 2018-02-19T01:57:18 | 120,785,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #pragma once
#include <unordered_map>
#include <string>
#include <cstdint>
#include <iostream>
class unique_id {
private:
std::unordered_map<std::string, uint64_t> id_map;
uint64_t magic;
public:
unique_id() : magic{0} {}
void clear() { id_map.clear(); }
uint64_t max() const {return magic;}
uint64_t get_id(cons... | [
"sileizhang@yahoo.com"
] | sileizhang@yahoo.com |
7b77fc783aafb6ad45ef2c96ec605c500a9bfff3 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE78_OS_Command_Injection/s01/main_linux.cpp | c3fb03e8623148ebf17cde01119fc2affae42abc | [] | 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 | 93,489 | cpp | /* NOTE - eventually this file will be automatically updated using a Perl script that understand
* the naming of test case files, functions, and namespaces.
*/
#include <time.h> /* for time() */
#include <stdlib.h> /* for srand() */
#include "std_testcase.h"
#include "testcases.h"
int main(int argc, ch... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
dc705a743db75562918e713f3266558c9c39d8be | 99559eff2332db6fcd7b155969f80ce526f60aac | /include/spice_calS3.h | 58692c2061ae1096eff10637c289675c148d1f7e | [] | no_license | jsmallcombe/SPICETools | 5684753d018dca33b85e843cba8acf2086b0d3c0 | da6ad4b27ffc601be38a3dd04dca413f65d991e0 | refs/heads/master | 2021-05-16T09:40:46.358040 | 2019-10-17T15:21:48 | 2019-10-17T15:21:48 | 104,527,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | h | //g++ spice_parse.cpp spice_enviro.cpp -std=c++0x -I$GRSISYS/include -L$GRSISYS/libraries `grsi-config --cflags --all-libs` `root-config --cflags --libs` -lTreePlayer -lMathMore -lSpectrum `root-config --glibs` -o SSparser
//`grsi-config --all-libs` `root-config --cflags --libs`
// -lXMLParser -lX11 -lXpm -lXMLIO
... | [
"jsmallcombe@triumf.ca"
] | jsmallcombe@triumf.ca |
32e59a06c7571f74825f618d474b38c3489b66b4 | 0b624f3cedc24336ecd9e6076e73a7a98e02e241 | /CanvasEngine/Blinn.h | 4039437b8a1acee997249ecc566763c5769419e5 | [] | no_license | weijinweng/CanvasEngine | 7151ccf81866cf4965b4a29d54094c1bd4f75906 | ae00b05e3f665632115164eb4042f7f6e3242129 | refs/heads/master | 2021-01-20T10:11:06.026655 | 2015-01-12T17:44:04 | 2015-01-12T17:44:04 | 25,133,656 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | #pragma once
#include "SceneNode.h"
#include "Material.h"
namespace Canvas{
struct BlinnCache{
};
class BlinnMaterialTemplate:public MaterialTemplate{
public:
BlinnMaterialTemplate();
void SetDrawProgram(DrawProgram*);
MaterialNode* GenNewNode(std::string = "Blinn");
void DeleteNode(MaterialNode*);
}... | [
"weijin22@hotmail.com"
] | weijin22@hotmail.com |
234f94629009191f31f7aae1e90d56828834b94c | 90ea36ece9721da54458cf1167e5c185a588eb1d | /Untitled2.cpp | 9dbc0cd13fe05a7fdadde91cf6eea5c15d655ef4 | [] | no_license | hans0090/Test | 446aed333b824324dfec4ae5297e08badcb1229f | df05cfc4eaa43f4e2095e0e2747769cc8643a5c1 | refs/heads/master | 2022-11-14T08:00:33.641279 | 2020-06-16T07:43:07 | 2020-06-16T07:43:07 | 272,626,724 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 461 | cpp |
#include <iostream>
using namespace std;
const int MOD = 100;
int main()
{
int a, b, min;
while(cin >> a >> b) {
if(a == 0 && b == 0)
break;
// 计算最小的答案
min = (b - a * MOD % b) % b;
// 循环输出结果
for(int i=min; i<MOD; i+=b) {
if(i != min)
... | [
"hs678@gmail.com"
] | hs678@gmail.com |
d3f4f3fdf85eca46f4519401da4c70e40b8ac7e7 | 121ab1e8e400a3397c193bbd4f1976b57d332e9f | /week6/archive/Team.hpp | 72aaa79561c696cd8a3102c026cc944c23b8d768 | [] | no_license | tjfr8s/cs161 | 3e2f94a75eb9cfdbb6a5a3397117f8d221417d48 | 5ed2648cb38c82519da3fb6a6b39b9fec4cbb88d | refs/heads/master | 2020-03-16T20:01:32.210816 | 2018-06-01T20:30:16 | 2018-06-01T20:30:16 | 132,943,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | hpp | /************************************************************
* Author: Tyler Freitas
* Date: 05/01/2018
* Description: This program declares a Team class that has
* five Player member variables. It has a constructor with 5
* Player parameters, get and set methods for each member,
* and a function called totalPoi... | [
"tjfr8s@gmail.com"
] | tjfr8s@gmail.com |
a8821ba6b7a27412d2fbb2d7d034c1b5a5af34fa | 153b0fe5eeba8fa3a71decb47ff6f54a8ef307c5 | /Homework_week04/Fireworks/src/Firework.cpp | bd5b1694e9d39903c8687f2d98895215000301b4 | [] | no_license | YiZhiYuanYuan-qyy/Mediart_206 | f9d0da731fe87cacd3c187dc24a5c542155d995b | 6d7c44a705a16e5995f0b3f57a4a411dfd2ab3d5 | refs/heads/main | 2023-01-28T05:19:43.697248 | 2020-12-13T12:19:51 | 2020-12-13T12:19:51 | 318,499,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include "Firework.h"
Firework::Firework() {
pos = glm::vec3(0, 0 ,0);
}
Firework::Firework(glm::vec3 _pos) {
pos = _pos;
}
void Firework::setup(glm::vec3 _vel, glm::vec3 _pos) {
vel = glm::vec3(0, 0, 0);
acc = glm::vec3(0, 0, 0);
vel = _vel;
pos = _pos;
}
void Firework::update(glm::vec3 _... | [
"yq74@duke.edu"
] | yq74@duke.edu |
fb3a5e60e51466e1a0526fd39c325925d24b11b8 | 46bdced06890f17f795c165b207f2b8f8b9fef5d | /src/renderer/include/RenderTexture.h | 0915f9981de9b03962eb435b678dd11498274472 | [] | no_license | zgpxgame/iEngine | 5a74faf5704f199166af538ffc8f1da6b353f0a0 | 25be7ca619dc750cc418e3faa7de88883d5cda6f | refs/heads/master | 2020-06-01T15:39:17.985636 | 2015-09-18T13:20:26 | 2015-09-18T13:20:26 | 4,594,111 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ogre.sourceforge.net/
Copyright (c)2000-2002 The OGRE Team
Also see acknowledgements in Readme.html
This program is free softwar... | [
"zgpxgame@126.com"
] | zgpxgame@126.com |
b7e8de15be170b32beb44acf3d5e5d9a80b7aab0 | f9e63c349ded5c8a9dc406a5fac41d14237a53ab | /src/QRCode.h | 171521161f6682588f4e2314cd0689ecaef98792 | [
"MIT"
] | permissive | wanglei-ok/myqrcode | 4c4082ef232f59d64cbc236b5669aa51945c8290 | 7ea9f9124ec4e0de6439471bfd5809428ef3c4a0 | refs/heads/master | 2020-04-09T21:42:47.465469 | 2018-12-06T03:17:55 | 2018-12-06T03:17:55 | 160,610,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | #if !defined(AFX_QRCODE_H__70E2B65F_17A0_4815_BAA3_53D7F835027B__INCLUDED_)
#define AFX_QRCODE_H__70E2B65F_17A0_4815_BAA3_53D7F835027B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QRCode.h : header file
//
#include "qrencode.h"
////////////////////////////////////////////////... | [
"wanglei.ok@foxmail.com"
] | wanglei.ok@foxmail.com |
6251fb2ac0655368bc3ae5470aa4af079c6ee3b4 | 5a2b20318c1647f16b6b0c49aa0b4cb272026040 | /programs/mctrace/mctrace.cc | b544f2deddb5c3b6040ccd19c5888eae99f1deec | [] | no_license | OSEN5/kv_engine | 095ad6acb65ed373be8ef30115e0cf8cd396099c | 2191982363ffc5a75a40f451fcfc00f6fb1ef0d5 | refs/heads/master | 2020-04-19T22:17:30.277828 | 2019-01-30T03:40:32 | 2019-01-31T01:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,009 | cc | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, 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
*
* htt... | [
"jim@couchbase.com"
] | jim@couchbase.com |
5407bbe2416fcf9830a161b8981e00085c55db63 | 309aaba54a9164967119de46155c6933b0dc4c01 | /src/RenDlg.h | e40b1b6ac108a0c98b71f36f6f5636ae3bf6fee3 | [
"MIT"
] | permissive | Nekomimi1958/NyanFi_x64 | d6ae5b564c980c5088b2b745ee82223a882bc1b2 | dc46e0835af4c985096c2e1c1d86c7016c97ea41 | refs/heads/master | 2023-08-14T23:17:55.410492 | 2023-08-08T11:46:05 | 2023-08-08T11:46:05 | 167,489,294 | 32 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 11,691 | h | //----------------------------------------------------------------------//
// NyanFi //
// 名前の変更 //
//----------------------------------------------------------------------//
#ifndef RenDlgH
#define RenDlgH
//---------------------------------------------------------------------------
#inc... | [
"GHH02513@nifty.ne.jp"
] | GHH02513@nifty.ne.jp |
6c1a9589e8c1c78d9dbf6c5d61ec7f2a6b2b5086 | 20c5fc24282592c81fbcb5a76eb0857cfd54a3b8 | /include/c2s/c2s-rest/C2SRestPathSegmentList.h | 4945020a905c69a76d3be40a9f11af89b873710f | [] | no_license | juliuscanute/c2s | 14031c0a05be1556164b47a32fe9dcc8e3762c66 | cef31e82f3a74036a60a16e6bdf304ad8ceefdf3 | refs/heads/master | 2021-04-30T00:19:57.606202 | 2018-02-15T07:18:28 | 2018-02-15T07:18:28 | 121,573,777 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | h | /**
Copyright (c) 2011, C2Serve (http://www.c2serve.eu)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of co... | [
"juliuscanute@gmail.com"
] | juliuscanute@gmail.com |
dfc1217cca21ad8aab2cde7c006ecbd2898a6638 | 1c82cf9f0f00cd32a61abf196aa0ec388ec7d84b | /tests/FT_PERFOS/src/FT_PERFOS_slave.cpp | 5e066a515440e34e560bbc00523ce96189025c06 | [
"MIT"
] | permissive | fville/ED247_LIBRARY | 4e1ee6e9b39f968099ae8240fda77e29bb83fce2 | c26789d1214ebeed49c3bce979f4281b85ced186 | refs/heads/master | 2022-07-12T09:52:57.711606 | 2020-05-15T16:56:25 | 2020-05-15T16:56:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,775 | cpp | /******************************************************************************
* The MIT Licence
*
* Copyright (c) 2020 Airbus Operations S.A.S
*
* 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 th... | [
"geoffrey.g.delhomme@airbus.com"
] | geoffrey.g.delhomme@airbus.com |
91dc8fdb93555d7191582f754a66e2b82491151f | 4b250da9813bd51979b7211778f720c0757eb82e | /codeforces/div2/1476/A/hacks/abhishekparihar0902.cpp | 14322126c50a9d194f6967d45e600351616b394c | [
"MIT"
] | permissive | mathemage/CompetitiveProgramming | 07f7d4c269cca0b89955518131b01d037a5a1597 | 11a1a57c6ed144201b58eaeb34248f560f18d250 | refs/heads/master | 2023-04-16T17:55:24.948628 | 2023-04-14T19:16:54 | 2023-04-14T19:16:54 | 26,391,626 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | #include <bits/stdc++.h>
#define vi vector<int>
#define vvi vector<vector<int>>
#define pb push_back
#define For(i,n) for(int i=0;i<n;i++)
#define MOD 1000000007
#define MAX 100005
#define MAX2 10000
#define endl '\n'
#define Sort(v) sort(v.begin(), v.end())
using namespace std;
void show(int a[MAX], int n)
{
For(... | [
"mathemage@gmail.com"
] | mathemage@gmail.com |
f7b894ceafe89e5d5c15847d91b2d1549c075966 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /ui/base/x/x11_global_shortcut_listener.h | a966a65e6b2e6d85985bf511c9dc4f94dbe751fa | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 2,990 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_X_X11_GLOBAL_SHORTCUT_LISTENER_H_
#define UI_BASE_X_X11_GLOBAL_SHORTCUT_LISTENER_H_
#include <stdint.h>
#include <set>
#include "base/memory/raw_ptr.h"
#incl... | [
"roger@nwjs.io"
] | roger@nwjs.io |
62811856a3da8dc1f5fac13d1e512e7254619be6 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/sense/StimuliEvent.hpp | 37a5c87a11b37f5cff71503ba5d349733a19c9d0 | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Types/generated/Vector4.hpp>
#include <RED4ext/Types/generated/sense/BaseStimuliEvent.hpp>
namespace RED4ext
{
namespa... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
c8c7dd36b343ef99c193e2a428b2bf4bd7ebcf47 | 9b680d9487956b843acdb8a546af7c8b2e120c97 | /区间第K大的数——平方分割法实现.cpp | ea3c4250b6e3428fa2b68140427a1a558ebcffc7 | [] | no_license | Cardinal2376/ACM_learning | c84a85d1ceb4207dbf436c2609e1d62c7ecd5942 | 91b0992f4b27dc4461afb8d079f000a54ea06ad9 | refs/heads/master | 2021-01-01T20:37:24.480422 | 2017-08-13T02:44:20 | 2017-08-13T02:44:20 | 98,897,240 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,707 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <vector>
using namespace std;
const int B = 1000;
const int MAXN = 1e5 + 5;
const int MAXM = 5005;
int N, M;
int A[MAXN]; // 要处理的数组
int I[MAXM], J[MAXM], K[MAXM]; //存查询
int nums[MAXN]; //对A排序后的数组
vector<int> bucket[MAXN / B];
void solve() {
//初... | [
"czj237622800@qq.com"
] | czj237622800@qq.com |
94402e05145879ad200763141063aaf56363a239 | a1f6f4bf0d3f6652be5777eb3cc6544e7e9c30de | /VCFEasyReader/MainWindow.h | 6041a234eb835b84ceaebf35018d6a7874e218b8 | [] | no_license | Jackhalabardnik/VCFEasyReader | c456c96eec615cc344ccc8c7cfd268e2db0005d6 | 6abf3b38c9e182aac8663b2a010e358f443bc369 | refs/heads/master | 2023-08-10T21:48:19.892477 | 2021-10-02T10:21:22 | 2021-10-02T10:21:22 | 194,820,403 | 0 | 0 | null | 2019-10-10T16:44:52 | 2019-07-02T08:21:26 | C++ | UTF-8 | C++ | false | false | 698 | h | #pragma once
#include "TreeView.h"
#include "Parser.h"
#include "Exporter.h"
#include <gtkmm.h>
#include <iostream>
class MainWindow : public Gtk::ApplicationWindow
{
public:
MainWindow();
private:
void showAll();
void setButtons();
void setLabels();
void setMenus();
void setOutputBox();
void setMainGrid();... | [
"jackowojcio@wp.pl"
] | jackowojcio@wp.pl |
e513ac7cdfce258baaff551bd6ed6a85b9eead59 | 7a817c495a146b34242995373e19ac83292bcba9 | /problem/9095/main.cpp | 9c36c1c65b0cc0d30882f0bef4456c54e0a22609 | [] | no_license | yous/acmicpc-net | b1cc54f147172437693f58ec358417e754fc91b5 | 4a68bddd4503b708cb45b778a415c26207b3cc63 | refs/heads/master | 2023-08-16T21:46:17.099871 | 2023-08-16T08:43:24 | 2023-08-16T08:43:24 | 13,336,435 | 4 | 0 | null | 2022-12-11T10:17:23 | 2013-10-04T22:47:53 | C++ | UTF-8 | C++ | false | false | 502 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int T;
int N;
int ans;
void solve(int sum) {
if (sum > N) {
return;
}
if (sum == N) {
ans++;
return;
}
solve(sum + 1);
solve(sum + 2);
solve(sum + 3);
}
int main() {
ios_base::sync... | [
"yousbe@gmail.com"
] | yousbe@gmail.com |
57091425be6c69a3bb3d743ea79906b1077ffcb7 | b8f0f5d68672af274d2d5aee9813c90a3cf84d91 | /src/client/text_texture.hpp | 9c4f13f8a1818586a7c170c6e2e16ab819b89538 | [
"MIT"
] | permissive | sathwikmatsa/ndn-agar.io | 80069a315b93d8afd268d7f81e6f9db651542215 | a758414d0bb221a6183f20d332f101f3850505cf | refs/heads/master | 2021-03-19T02:42:13.432564 | 2020-06-22T10:19:22 | 2020-06-22T10:19:22 | 247,125,506 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | hpp | #pragma once
#include "camera.hpp"
#include "cell.hpp"
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <map>
#include <string>
#include <tuple>
class TextTexture {
public:
TextTexture(std::string path);
~TextTexture();
// Creates image from font string
void load_from_rendered_text(std::string text, S... | [
"sathwikmatsa@gmail.com"
] | sathwikmatsa@gmail.com |
4fd6e28030cd3aa250c9c3709b97a04a0929fa01 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/common/printing/print_media_l10n.cc | ad0ccb82e65184afc8c499a81f3bde8667bfacc8 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 37,784 | cc | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/printing/print_media_l10n.h"
#include <string>
#include "base/containers/contains.h"
#include "base/containers/fixed_flat_map.h"
#include "base/i18n/n... | [
"jengelh@inai.de"
] | jengelh@inai.de |
5f9d580d25f9d8567c5c399b91fb8f26cb98b805 | 421808fb39f7c45f0e007e9be2ee94875cccad04 | /CS230/Engine/TextureManager.cpp | 05ed6296e39536fa1e34379a96e8b3eb853e7749 | [] | no_license | taejuKwon-digipen/cs230-project-taejuKwon-digipen | bc1511df781925b659c26c06171b1952d4cc2539 | 1e6f2bffa5737cd9775353c3a7f04b7dd4744af3 | refs/heads/main | 2023-05-01T04:06:10.171519 | 2021-05-26T18:41:18 | 2021-05-26T18:41:18 | 346,867,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | /*--------------------------------------------------------------
Copyright (C) 2021 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
File Name: TextureManager.cpp
Project: CS230
Author: Kevin Wrig... | [
"63988719+kevinwrightDigiPen@users.noreply.github.com"
] | 63988719+kevinwrightDigiPen@users.noreply.github.com |
9bbd368aa88c218bab6c4c97a9bfc878ed25e4bd | 8be7a7efbaa6a4034e435bc8221cc5fb54f8067c | /leocad-18.01/qt/lc_qupdatedialog.cpp | 250dcf886447a8166b08f1c5ebc9b99ba78a45c8 | [] | no_license | RinatB2017/Qt_github | 9faaa54e3c8e7a5f84f742d49f4559dcdd5622dd | 5177baa735c0140d39d8b0e84fc6af3dcb581abd | refs/heads/master | 2023-08-08T08:36:17.664868 | 2023-07-28T07:39:35 | 2023-07-28T07:39:35 | 163,097,727 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,308 | cpp | #include "lc_global.h"
#include "lc_qupdatedialog.h"
#include "ui_lc_qupdatedialog.h"
#include "lc_application.h"
#include "lc_library.h"
#include "lc_profile.h"
void lcDoInitialUpdateCheck()
{
int updateFrequency = lcGetProfileInt(LC_PROFILE_CHECK_UPDATES);
if (updateFrequency == 0)
return;
QSettings settings;... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
dd3b8fe99e0bd0d302ff0b0555e4e3cba9acdbfa | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcRoad/src/OpenInfraPlatform/IfcRoad/entity/include/IfcAbsorbedDoseMeasure.h | e4d4d02a1247b5969de42b160d62948211cc4e10 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,120 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#includ... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
9de825d4b731899235f74acb1c503c2e3eb94972 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/CreateDataCellsFilterResult.h | 976ec9a4f129028c6d7bc84bd30a8474487993c6 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 854 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lakeformation/LakeFormation_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
}... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c9eb77d69684e606947f67e886f2da79e1242612 | d2f30d9fb226185956c3da1e5372664aaa506312 | /msvis/MSVis/VBContinuumSubtractor.cc | acd2733948fd7a8ecbef49877847bd7ab5d6ae58 | [] | no_license | radio-astro/casasynthesis | 1e2fdacfcfc4313adde8f7524739a4dfd80d4c8f | 1cb9cd6a346d3ade9a6f563696d225c24654041c | refs/heads/master | 2021-01-17T05:22:01.380405 | 2019-01-08T10:43:34 | 2019-01-08T10:43:34 | 40,664,934 | 1 | 1 | null | 2022-12-16T13:17:36 | 2015-08-13T15:01:41 | C++ | UTF-8 | C++ | false | false | 18,430 | cc | //# VBContinuumSubtractor.cc: Subtract continuum from spectral line data
//# Copyright (C) 2004
//# 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 Fre... | [
"gijs@pythonic.nl"
] | gijs@pythonic.nl |
5bee94948e588c62d773a690bc3ef0af7d9e2f3c | b3feb8b18b40575f221bff71fa006e45099b2792 | /src/psvrconfigtool/AppStage_AccelerometerCalibration.cpp | 34667f0f5bdd6437eba33aeaa768580cc2cca67f | [
"MIT"
] | permissive | Bozdoc84/PSVRTracker | 88fe4037446de3b0a3ba929550f1825ac03020c9 | 15702ac94969c44bd60b80c8896eb8c739247db4 | refs/heads/master | 2023-04-23T03:16:51.498798 | 2021-05-03T03:33:15 | 2021-05-03T03:33:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,340 | cpp | //-- inludes -----
#include "AppStage_AccelerometerCalibration.h"
#include "AppStage_ControllerSettings.h"
#include "AppStage_MainMenu.h"
#include "App.h"
#include "Camera.h"
#include "MathTypeConversion.h"
#include "Logger.h"
#include "MathAlignment.h"
#include "MathGLM.h"
#include "MathEigen.h"
#include "MathUtility.... | [
"hipstersloth908@gmail.com"
] | hipstersloth908@gmail.com |
6041da1b9f03e45e2936ce14c463b8f7cfbcbf0d | e2227524377dbb7641d3eabb7d7a4db835ee2bae | /Construct Tree from Preorder and Inorder/Construct Tree from Preorder and Inorder/Construct Tree from Preorder and Inorder.cpp | bf4f8ffabd42e90a5e88b7c6c19f61df54dd2291 | [] | no_license | tezheng/LeetCode | a7a920e0e9c880a0589efc98ad4f551243af2dc3 | 1ae450d469076228b5e720480d1d2ff877ffc14e | refs/heads/master | 2021-01-16T18:01:08.048098 | 2013-05-11T13:23:20 | 2013-05-11T13:23:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,250 | cpp | //和Construct Binary Tree from Inorder and Postorder Traversal类似
//不能通过large judge memory limit exceeded
#include<vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode *b... | [
"liumengxinfly@gmail.com"
] | liumengxinfly@gmail.com |
06ed32726fa7d0ac67f04813e9c5b1e3b99171e4 | 1918bc571a99cb197574468b2384fe1f5a1e1256 | /include/ASECP/ObjectTypeProperty.h | e3a8da3ffe0d5baa84e11d044f37f2cf0d5d6fa0 | [] | no_license | RangelReale/ASECP | 805b73c3863f4c90db541cc7dbaac74c3438d8c9 | 3e80316012ba1dd5fe269bc4cb81f973cc112d51 | refs/heads/master | 2023-08-19T14:05:11.996829 | 2015-06-09T13:15:54 | 2015-06-09T13:15:54 | 37,068,932 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | h | #ifndef H__ASECP_OBJECTTYPEPROPERTY__H
#define H__ASECP_OBJECTTYPEPROPERTY__H
#include <Poco/RefCountedObject.h>
#include <Poco/AutoPtr.h>
#include <Poco/SharedPtr.h>
#include <angelscript.h>
#include <vector>
namespace ASECP {
class ObjectType;
class ObjectTypeProperty;
class ObjectTypePropertyList : public std:... | [
"rangelspam@gmail.com"
] | rangelspam@gmail.com |
724fe45e92093df8fc5b37d410865d9fcad92057 | d51e54dccbb594a056005cb50a9dbad472ddb034 | /Volume_02/Number_2/Wong1997/source/udpoint_windows/vecmath.cpp | 02111a07dbf133bc5f8b0e7ce76837c727a8dddd | [
"MIT"
] | permissive | skn123/jgt-code | 4aa8d39d6354a1ede9b141e5e7131e403465f4f7 | 1c80455c8aafe61955f61372380d983ce7453e6d | refs/heads/master | 2023-08-30T22:54:09.412136 | 2023-08-28T20:54:09 | 2023-08-28T20:54:09 | 217,573,703 | 0 | 0 | MIT | 2023-08-29T02:29:29 | 2019-10-25T16:27:56 | MATLAB | UTF-8 | C++ | false | false | 2,286 | cpp | /*
* vecmath.cpp
*
* A set of vector math functions.
* It will be continuously updated in the future version.
*
* Copyright (c) Tien-Tsin Wong, 1996
* All Rights Reserved.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define TRUE 1
#define FALSE 0
/*************************** Float vector ... | [
"erich@acm.org"
] | erich@acm.org |
ccddda51502bb2835ea76c461009424628e5e59e | b471a7221281ed2c43222879ab699094c507bbfe | /tests/BasicBrokerTest/BasicBrokerTest.ino | 1d01a85d748e569ff7542bcef0568bc97ed5cfca | [
"MIT"
] | permissive | bxparks/AceTime | 03c484e5d146d564b0bec2bb3d37b7f1d6fa5928 | bd859a87bec012711cba8d19466aba398d2025d7 | refs/heads/develop | 2023-08-11T20:57:39.583786 | 2023-07-31T23:39:24 | 2023-07-31T23:39:24 | 150,208,350 | 70 | 19 | MIT | 2023-06-28T00:07:54 | 2018-09-25T04:38:14 | C++ | UTF-8 | C++ | false | false | 4,631 | ino | #line 2 "BasicBrokerTest.ino"
#include <Arduino.h>
#include <AUnit.h>
#include <AceTime.h>
#include <zonedbtesting/zone_policies.h>
#include <zonedbtesting/zone_infos.h>
#include <zonedbtesting/zone_registry.h>
using namespace ace_time;
using ace_time::basic::ZoneContext;
using ace_time::basic::ZoneContextBroker;
usi... | [
"brian@xparks.net"
] | brian@xparks.net |
4a5e3849b9ca9c2f3e406ae56094d7f3752e3c97 | 284d8657b07536bea5d400168a98c1a3ce0bc851 | /xray/core/sources/geometry_utils.cpp | b9d56b2be9bf764fb863990de4087823553f79b9 | [] | no_license | yxf010/xray-2.0 | c6bcd35caa4677ab19cd8be241ce1cc0a25c74a7 | 47461806c25e34005453a373b07ce5b00df2c295 | refs/heads/master | 2020-08-29T21:35:38.253150 | 2019-05-23T16:00:42 | 2019-05-23T16:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,939 | cpp | ////////////////////////////////////////////////////////////////////////////
// Created : 09.12.2009
// Author : Andrew Kolomiets
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include <xray/geometry_utils.h>
#include <xra... | [
"tyabustest@gmail.com"
] | tyabustest@gmail.com |
d1afd1dc784e026ae42b0e04b55580cbf21ba541 | 98c114d7b8076f04b3d99e9083fcf08ef8b64a6e | /Vector3D.cpp | fb05e655496970e16ffd838e08d80aca05bafed5 | [] | no_license | sarrus3x3/ImitateIFOfMario64 | 765a320b14a6f791034d2a4df220cb0bc39daddc | ab67b10db75d6c0f1fc5dd5acc4727364c65f875 | refs/heads/master | 2020-04-12T07:28:36.624472 | 2018-05-19T12:21:52 | 2018-05-19T12:21:52 | 57,305,116 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 423 | cpp | #include <stdio.h>
#include <time.h> // time()関数用
#include "Vector3D.h"
// ベクトル vec が与えられたとき、this と vec の作る平面において
// vec 側を向いた( i.e. vec*this > 0 となる )this に直行する単位ベクトルを返す。
Vector3D Vector3D::getOrthoVec( const Vector3D &vec )
{
double t = ( (*this) * vec ) / sqlen();
return ( t * (*this) + vec ).normalize();
};
... | [
"3pisu8ban0@gmail.com"
] | 3pisu8ban0@gmail.com |
bed084fd81560a3a170f8d26e81317a376c2e128 | e716db770f5c3cc81fdb376de9af204b785e9057 | /x64.debug/gen/src/inspector/protocol/Console.h | 03e74eeb57b2bdc8c1f5b2a45f9d85807054cce8 | [] | no_license | uk959595/v8_build | 694fb9e38e18f6f17488d77a252a3877e8c77e21 | c805051a1a664e198d678cd73f9fdc9d34268919 | refs/heads/master | 2022-01-21T12:16:24.199681 | 2018-12-18T23:49:21 | 2018-12-18T23:49:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,608 | h | // This file is generated
// Copyright (c) 2016 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 v8_inspector_protocol_Console_h
#define v8_inspector_protocol_Console_h
#include "src/inspector/protocol/... | [
"sanjay.pec@gmail.com"
] | sanjay.pec@gmail.com |
6749a55189f430112ac83a7263d22c172796433f | d864aee02bc9e3588d8e70c708448374fb2387aa | /OI/2012/11月7日上午/上午/Program/高胜寒/tournament.cpp | de1acd75e33b1a9d9ef4275f3c030704eb848189 | [] | no_license | BanSheeGun/Gun | 075ebf62891a0ab4db6ff5ca13e1ae0644248119 | 8a046a9c3eb56fb5e87897343f383253b1736694 | refs/heads/master | 2021-01-17T00:18:41.834830 | 2018-03-18T06:32:04 | 2018-03-18T06:32:04 | 44,953,535 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include<cstdio>
#include<cstring>
int map[60][60],cnt[60],n;
bool dfs(int x,int y){
if (x==y) return true;
for (int i=1;i<=n;i++)
if (map[x][i] && dfs(i,y)) return true;
return false;
}
int main(){
int i,a,b,x,y;
freopen("tournament.in","r",stdin);
freopen("tournament.out","... | [
"ccp750707@126.com"
] | ccp750707@126.com |
b43e505b3e0c4911d375c6c1a1765e3a277b2c5b | cf85f8ee951490dc13648ec5815e022e31bf6676 | /src/Platform/OSX/System/TcpConnection.cpp | 8b090ceae3007c744e3aea5993b511d81c61354c | [] | no_license | rainmanp7/phfx | 1c61ee112c22e9c942287536891a7bf94bb9a829 | c00be01f89ceca09003f4f10bb42ab80a363c9b5 | refs/heads/master | 2020-03-28T03:04:06.843858 | 2018-09-07T02:50:01 | 2018-09-07T02:50:01 | 147,617,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,748 | cpp | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2017-2018 PHF-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "TcpConnection.h"
#include <cassert>
#include <netinet/in.h>
#i... | [
"muslimsoap@gmail.com"
] | muslimsoap@gmail.com |
d6fef453a85f1de3838bc3b35a941a39d7220a32 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Widget_EquipmentSlot_classes.h | f6d653b37e043dfa75aeda193a19a0c8b43f5d36 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
2b4126c66125f8adb3bbc37d4ce4ddc984f18ef5 | 057fdc8f0cfe51041878cafebafbef0a3b07360c | /src/ppl/nn/engines/x86/optimizer/opt_kernel_creator_manager.cc | 79ff4e5674ac9f2f8f6e636db6b21bb500949f48 | [
"Apache-2.0"
] | permissive | wonderzy/ppl.nn | 8ca93f7bd4d136b88489674a12fa31544c3217d6 | 7dd75a1077867fc9a762449953417088446ae2f8 | refs/heads/master | 2023-06-06T13:45:00.119077 | 2021-07-01T13:39:47 | 2021-07-01T13:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,611 | cc | #include "ppl/nn/engines/x86/optimizer/opt_kernel_creator_manager.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/conv_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/add_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/and_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/argmax_op.h"
#include "ppl/n... | [
"openppl.ai@hotmail.com"
] | openppl.ai@hotmail.com |
131f7bee4d1bc1825882e74f8233fc62a852e0a8 | 188b947949e17fac6b4601a77ad6ca6c63b62117 | /Temp/il2cppOutput/il2cppOutput/Bulk_UnityEngine.UI_1.cpp | b319950276a5a066a862ccc7a73e15d8f1ac94a8 | [] | no_license | Zeppar/Secret | 93b35b99712668eddf232a4c3479124afa5732a5 | 77e5b9ef0e66e640c12cfc93f7edce220840b4d1 | refs/heads/master | 2021-01-01T18:20:35.334929 | 2017-07-25T13:51:38 | 2017-07-25T13:51:38 | 98,311,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934,149 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Array38294689... | [
"849166805@qq.com"
] | 849166805@qq.com |
fa56f5df273f911225cc17d8802211b1ced6b65c | 8aee93ee0dc09c6cf9df91a215713fa957fa883b | /test/encodings/unicode_group_Zp_x_encoding_policy_ignore.re | 41bb6494aa0bf731f5e492d2cab812df2e1ce972 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | trofi/re2c | 7bbe5a3ffa6398c69d3e48886fcd2c38f88296c6 | 51c3d5f5acd18da6aea9d3deebc855776344fe8f | refs/heads/master | 2022-07-11T21:33:43.253548 | 2022-07-03T08:24:37 | 2022-07-03T08:24:37 | 270,314,465 | 0 | 0 | NOASSERTION | 2020-06-07T13:25:47 | 2020-06-07T13:25:46 | null | UTF-8 | C++ | false | false | 1,386 | re | // re2c $INPUT -o $OUTPUT -x --encoding-policy ignore
#include <stdio.h>
#include "utf16.h"
#define YYCTYPE unsigned short
bool scan(const YYCTYPE * start, const YYCTYPE * const limit)
{
__attribute__((unused)) const YYCTYPE * YYMARKER; // silence compiler warnings when YYMARKER is not used
# define YYCURSOR start
Zp:... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
ef00bb8668c8b25cad557b6fc7efa12a75480af1 | fdef86bbf1cf0bcb4335b9e76b95a9e9ca558bf4 | /KinectMusic/KinectMusic/gestureExtraction/blobs/blobsclust.hpp | c50564d3753251f3d87cbea17e8b5e89537fccc1 | [] | no_license | mgsvetlov/KinectMusic | 32befbf347c3f43ab9e87362219dac90a6a62bdd | 92bb0b7cfae208b6ed201f0f18d6ddf2e9e55755 | refs/heads/master | 2021-01-13T10:15:02.596513 | 2017-09-20T18:08:23 | 2017-09-20T18:08:23 | 69,746,528 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,859 | hpp | //
// blobsclust.hpp
// KinectMusic
//
// Created by Mikhail Svetlov on 16/07/17.
// Copyright © 2017 mgsvetlov. All rights reserved.
//
#ifndef blobsclust_hpp
#define blobsclust_hpp
#include "blobext.hpp"
template<typename T> class BlobsClust {
public:
BlobsClust( std::list<T>& blobs, int xyThresh, int dept... | [
"mikhail.svetlov@rutoll.ru"
] | mikhail.svetlov@rutoll.ru |
37fb6f13b629941ec3acf9614d6cd7d1b6beb78a | 6e3c1325a3037237860a6f65b3df50a870162ace | /fitparam/src/XsecParameters.hh | 445eb633748758b750ba9f297322c1de02f04705 | [] | no_license | cvson/pmcccohana1x | 1fcab1765b693d7385ef8ba26ab8960f194490d3 | fbdee0dcfe3df4eeb67838d4cceabdeeb64236e9 | refs/heads/master | 2021-01-01T04:45:20.752562 | 2016-05-27T03:25:12 | 2016-05-27T03:25:12 | 59,724,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,161 | hh | //////////////////////////////////////////////////////////
//
// Xsec modeling parameters
//
//
//
// Created: Oct 2013
// Modified:
//
//////////////////////////////////////////////////////////
#ifndef __XsecParameters_hh__
#define __XsecParameters_hh__
#include "AnaFitParameters.hh"
#include <TFile.h>
#include <... | [
"cvson@utexas.edu"
] | cvson@utexas.edu |
acabfac4977db2f4c07dae3e537f7046ccdb041f | 53df9a41558b36ee80cce63fbb1133fb0b11a8f0 | /CheckList/CheckList/CheckList.cpp | d79255e2b320986a466f9cf149cbae6c2533bbc8 | [] | no_license | NaamaK/IControlers | 0b1d999ee26138f97e0cb259a412309b2547745f | fb86d81d8456d7c273ce4f2b1729e45e511c033e | refs/heads/master | 2016-09-13T01:14:59.230970 | 2016-05-08T23:44:44 | 2016-05-08T23:44:44 | 58,336,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <Windows.h>
#include <iostream>
#include "CheckList.h"
#include "MyLine.h"
using namespace std;
CheckList::CheckList(DWORD color, COORD loc, MyLine lines[3], HANDLE hStdin, HANDLE hStdout) : IControler(loc, Size(-1, -1), hStdin, hStdout, NONE, color, color, false, false) {
SetConsoleCursorPosition(_hStdout,... | [
"naama.kapach@gmail.com"
] | naama.kapach@gmail.com |
09d8cf5480b9d949ec0c9bcd9ac34f5a0cf80886 | 4c071cfb8a1af93fff5e31e8d4e2cd6aa0827bed | /raygame/SteeringForce.cpp | 91891fc5ca079ee271e7745a15c52547c2c05068 | [
"MIT"
] | permissive | kimjo562/AgentsAI | 3374f0cd3fcc030614e4742b9fc763ded4fd9286 | b3ea03edc6c3eee3880697cd874ad1f5a0bcf919 | refs/heads/master | 2021-04-18T13:26:06.012171 | 2020-04-01T22:54:27 | 2020-04-01T22:54:27 | 249,549,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "SteeringForce.h"
| [
"s198022@students.aie.edu"
] | s198022@students.aie.edu |
86a92115d4c94aec886881452d28f9fce8d6412a | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_RhinoAnimBlueprint_parameters.hpp | a453ea44dec3c33ae2ed1a7d9f31b9df007f56c1 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_RhinoAnimBlueprint_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
1174b3447bd90d86429c4caff30f0e69fcb30de4 | eec050208816a4c0e274cb14e6f6aa12b9897d87 | /OptiTrack/src/exampleCode.cpp | c8f8cf31c85ebd6a6e5147d45ab16f1983b4e501 | [] | no_license | reinkek/robo-shooter | 1bbf87c7940c8b5b9b90a593b1dd6a477652dbd2 | 3f8de136deaa1cbbb2cf24e094253324f56e4987 | refs/heads/master | 2021-01-23T14:47:48.534291 | 2015-02-13T04:48:44 | 2015-02-13T04:48:44 | 30,399,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,306 | cpp | /**************************************************************************
*** Copyright (c) 2014 S. Mohammad Khansari, Stnford Robotics, ***
*** Stanford University, USA ***
***************************************************************************
*
* The program ... | [
"kyle.reinke@gmail.com"
] | kyle.reinke@gmail.com |
13b647c06c1fb3870aae9174fb0e32444fe61476 | 8b6f779bcb15d90fc1da0135af227bdebfdd231d | /Array/medium/11.cpp | bc6114abb8fe5f970bc19846584e479172103a34 | [] | no_license | labulaka6/Leetcode | 0979d58658a08db65843fe70cd468e9b57bfc2cd | 868d8684a082f840c362150a7fdd0286accfc5c8 | refs/heads/master | 2021-03-08T14:46:47.938315 | 2020-07-14T08:29:11 | 2020-07-14T08:29:11 | 246,352,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,840 | cpp | // 暴力解法 - 超出时间限制
static const auto _ = [](){
ios::sync_with_stdio(false);
cin.tie(nullptr);
return nullptr;
}();
class Solution {
public:
int maxArea(vector<int>& height) {
int len = height.size();
int maxi = 0;
for(int i = 0; i < len-1; ++i){
for(int ... | [
"13399226198@163.com"
] | 13399226198@163.com |
b2c4b9c29367e56ef5664d35329c57e304dbcdd1 | 907447adefbdfed0b6b146aedb490148ac3d40ad | /TD4/JDV0.h | 28c8f1e18f183cc968d365c1c99d7fd889b7de89 | [] | no_license | SabNVDY/Jeu-de-la-vie | a8702a0f530fdfc1db32a4967eb962b22b744e0a | 8e0fd55f4593965c938812c202c21af770ec1d1c | refs/heads/master | 2023-04-17T07:36:36.005235 | 2021-05-04T19:10:19 | 2021-05-04T19:10:19 | 364,349,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #ifndef __JDV_H
#define __JDV_H
#include "population-vivante-v2.h"
class JeuDeLaVie {
private:
PopulationVivante POP;
void nettoie(std::string &s);
bool findCleVal(std::string &s, std::string &s1,std::string &s2);
void TraiteOption(const std::string &cle, const std::string &valeur, size_t num_ligne);
... | [
"djebrouni.sabrina@gmail.com"
] | djebrouni.sabrina@gmail.com |
8e9fd3580c525a6a7e5c48ac6a664f086ce1cf40 | 391c3971ff196e3c1ae862d50dee460a3faf00f4 | /persistent/trade/quote/order_book.hpp | 9f533536f96bd18d60c7da17ae92020361ffd7cb | [] | no_license | OpenTrader9000/quik | 257c954fc219338d9f25ccae9cff52b4ec7b7520 | 117e9f3439b9e05bfd5a73c837d6921de66bf239 | refs/heads/master | 2021-09-01T04:30:41.349079 | 2017-12-24T20:14:52 | 2017-12-24T20:14:52 | 110,351,902 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | hpp | #pragma once
#include <common/numbers/bcd.hpp>
#include <vector>
#include <list>
namespace persistent {
namespace trade {
namespace quote {
struct order_book_element {
common::numbers::bcd price_;
int quantity_;
};
struct order_book {
using iterator_t = std::vector<order_book_element>::... | [
"likhachevae@1488a.ru"
] | likhachevae@1488a.ru |
46cac05ae9d89942296ba5d75a319a8533698c8b | e20cae149e72b1cd8da27bb92e8cfaddecf8c641 | /include/ast/float_constant.hpp | 6fd20d9cc9a085582b4df2e6d28d26117493e0b6 | [
"MIT"
] | permissive | k1r0d3v/lambda | 971ee16194beef467e8451b0e2e1527e77f70716 | 3db2e5895dd19f1111845b6f47840b6f9eff3c36 | refs/heads/master | 2022-11-19T23:21:21.544958 | 2020-07-18T10:07:34 | 2020-07-18T10:07:34 | 216,243,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | hpp | #ifndef LAMBDA_FLOAT_CONSTANT_HPP
#define LAMBDA_FLOAT_CONSTANT_HPP
#include <ast/node.hpp>
namespace ast
{
class FloatConstant : public Node
{
public:
using Pointer = Node::PointerType<FloatConstant>;
using FloatValueType = double;
public:
explicit FloatConstant(FloatValueTyp... | [
"mario.carpente@udc.es"
] | mario.carpente@udc.es |
51aee9e774dfb036d6c0a26a9333e7ec5219c622 | ac75558b13b1eb5a220ea7b84739c87ad50f6da5 | /OthersAll/Discover the Web.lightoj.cpp | 537a51e7e02c60ff5ae50f4e9291d6230f5aa98a | [] | no_license | Anik-Modak/CompetitiveProgramming | 670a53f323292b16484ca28f340e123e8da8fcff | 3fa0b9712f6bb4879d53a066fa16274e480b31a4 | refs/heads/master | 2022-03-22T06:21:30.654964 | 2019-12-10T12:58:35 | 2019-12-10T12:58:35 | 184,308,402 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t,c;
cin>>t;
for(c=1;c<=t;c++)
{
string a;
stack<string>bs;
stack<string>fs;
bs.push("http://www.lightoj.com/");
printf("Case %d:\n",c);
while(cin>>a)
{
if(a=="QUIT") brea... | [
"anikmodak.rucse@gmail.com"
] | anikmodak.rucse@gmail.com |
a55f48093de1cc2a1a45ca57b67fddb481ae03f5 | 61c5150c9c11c013460ec8386b3fd1c4196e632c | /src/include/protocol/abd/span.h | ddcd7d59469317b551fe8133d040119227a9a403 | [
"MIT"
] | permissive | mbailleu/avocado | 73e10151204e8ccdff202f914de55c721f5d624a | 6b835f580671412be975fea70b8d1890cdd8e399 | refs/heads/main | 2023-07-30T23:27:59.498506 | 2021-09-20T14:19:56 | 2021-09-20T14:19:56 | 363,992,538 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | #pragma once
#include <cstdint>
#include <cstddef>
namespace avocado {
template<class NET_MSG, class KV_BUF>
struct Span {
size_t size;
uint8_t * buf;
Span(NET_MSG const & msg) : size(msg.get_data_size()), buf(msg.buf) {}
Span(KV_BUF const & msg) : size(msg.size), buf(msg.value.get()) {}
Span(size_t size,... | [
"M.Bailleu@web.de"
] | M.Bailleu@web.de |
ad5840dc625d739f26226eb494d08bc61205cdcf | 9b4b0c3faa5f3002ed85c3054164e0b9fb427f56 | /Codes/17800/17869.cpp | 7a58f1a168f02e0ecfc5d3684a80190dbfbc7e58 | [] | no_license | calofmijuck/BOJ | 246ae31b830d448c777878a90e1d658b7cdf27f4 | 4b29e0c7f487aac3186661176d2795f85f0ab21b | refs/heads/master | 2023-04-27T04:47:11.205041 | 2023-04-17T01:53:03 | 2023-04-17T01:53:03 | 155,859,002 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
long long n;
cin >> n;
int steps = 0;
while (n != 1) {
if (n % 2 == 0) {
n /= 2;
} else {
n++;
}
steps++;
}
cout ... | [
"calofmijuck@snu.ac.kr"
] | calofmijuck@snu.ac.kr |
ad3147f34eff59b68c5209da55fa228581790826 | 40ec1693279ab2a8ae09cf295ff966036755ab90 | /UN601-API_Demo-Private/scanner.cpp | 250bd79ba7fcc7fffe78896aad028cd36c302084 | [] | no_license | Tubbxl/MasterApp | dcffc702a6236f7d6518fc93cefa9bf190feb7b3 | 9cb4173e57219bd0159063013e0f49fa10dfa08f | refs/heads/master | 2020-12-02T06:37:38.970267 | 2017-07-11T07:54:37 | 2017-07-11T07:54:37 | 96,865,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,423 | cpp | #include "scanner.h"
#include "ui_scanner.h"
#include <QDebug>
#include <QFile>
extern "C"{
#include "dll_api.h"
}
#define setbit(x,y) x|=(1<<y) //将X的第Y位置1
#define clrbit(x,y) x&=~(1<<y) //将X的第Y位清0
Scanner::Scanner(QWidget *parent) :
QWidget(parent),
ui(new Ui::Scanner)
{
ui->setupUi(this);
ui->lab... | [
"tubb@unifou.com"
] | tubb@unifou.com |
5cbe92e8dd3ee53438e784270c81eaccb06023bd | 9467e2502183e843a67736800199e31674b1d8f6 | /HybridCLRData/LocalIl2CppData-OSXEditor/il2cpp/libil2cpp/metadata/Il2CppGenericMethodHash.cpp | 337ee699602a6b6f2bb4a2482f4aaa0cc44e4b1d | [
"Apache-2.0"
] | permissive | yimengfan/BDFramework.Core | 3a046fcd755a84ba55d648dd3ad52c37a1cc1a04 | 81380fce8e84367f912777717665b53f074ab617 | refs/heads/master | 2023-09-04T10:08:47.644992 | 2023-07-05T16:22:11 | 2023-07-05T16:22:11 | 85,928,537 | 2,421 | 497 | Apache-2.0 | 2023-03-21T06:56:21 | 2017-03-23T09:03:48 | C# | UTF-8 | C++ | false | false | 710 | cpp | #include "il2cpp-config.h"
#include "il2cpp-class-internals.h"
#include "Il2CppGenericMethodHash.h"
#include "Il2CppGenericContextHash.h"
#include "utils/HashUtils.h"
using il2cpp::utils::HashUtils;
namespace il2cpp
{
namespace metadata
{
size_t Il2CppGenericMethodHash::operator()(const Il2CppGenericMethod* metho... | [
"y755737878@gmail.com"
] | y755737878@gmail.com |
46ec6115d0f52a1b896aa22b6cf147676a1ee7c5 | e3ff90b5f2510e679ee381194534188c97be18ad | /WB139dp.cpp | 9c4337fc957e2d2cd62673f3bfa1f43e79179899 | [] | no_license | hitcszq/leetcode | 144f561f04c04e87ffd5a5d991f103e4a8f9f35f | df81c1d29b87bdd533b289924dbe32f54abf7f3a | refs/heads/master | 2021-01-17T08:49:30.169910 | 2016-08-22T15:27:29 | 2016-08-22T15:27:29 | 62,711,513 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 586 | cpp | class Solution {
public:
bool wordBreak(string s, unordered_set<string> &dict) {
vector<bool> wordB(s.length() + 1, false);
wordB[0] = true;
for (int i = 1; i < s.length() + 1; i++) {
for (int j = i - 1; j >= 0; j--) {
if (wordB[j] && dict.find(s.substr(j, i - j)) != dict.... | [
"583101017@qq.com"
] | 583101017@qq.com |
487c1ce90819933a0acc0844727304f8f8846f5e | ddf29d62f515848891499d229b2357b908177236 | /1Arrays/maxsumsubarrayoptimize.cpp | 314726b36539b9ed2d42a9b3712ef5dcb475fac4 | [] | no_license | Gosai99nikita/Cpp-programs1 | a4cee9195b809d430294dcff62f37140b9752b06 | c095cb70037463d6e70e066f69a11ac9fd5b8a31 | refs/heads/main | 2023-08-12T22:59:56.569423 | 2021-10-14T10:43:45 | 2021-10-14T10:43:45 | 417,089,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | //maximum sum sub array
//(o)^2 solution
//1.first find cumulative sum
//2.csum[j]-csum[i-1] will give you sum of that sunarray
#include <iostream>
using namespace std;
int main()
{
int a[] = {-4, 1, 3, -2, 16, 2, -8, -9, 4};
int n = sizeof(a) / sizeof(int);
int i, j;
int csum[n] = {0};... | [
"noreply@github.com"
] | noreply@github.com |
aaa51353347a87b307ce0617ebbb0594c8dc1671 | 0a6b8662fbbd0989b92924c1f6a0a0dc9726f099 | /source/backend/cpu/compute/ImageProcessFunction.cpp | a60dee53b6b647631023fc146e14113ff3b85a3a | [
"Apache-2.0"
] | permissive | sunnythree/MNN | 585412719c9aef8c564d47f1962a833174846db6 | 9771a2b6570c7dc6227da3f1116e88b9d768a1e0 | refs/heads/master | 2023-03-18T10:05:08.959518 | 2023-02-20T03:38:58 | 2023-02-20T03:38:58 | 185,763,230 | 2 | 0 | null | 2019-05-09T08:56:28 | 2019-05-09T08:56:28 | null | UTF-8 | C++ | false | false | 39,671 | cpp | //
// ImageProcessFunction.cpp
// MNN
//
// Created by MNN on 2021/10/29.
// Copyright © 2018 Alibaba. All rights reserved.
//
#include "backend/cpu/compute/ImageProcessFunction.hpp"
#include "core/Macro.h"
#include <algorithm>
#ifdef MNN_USE_NEON
#include <arm_neon.h>
#endif
extern "C" {
void MNNNV21ToRGBUnit(co... | [
"xiaotang.jxt@alibaba-inc.com"
] | xiaotang.jxt@alibaba-inc.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.