blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c2f6c95fd0787371fc317eac260339fca22e543 | a32ca1d47e413927c16bf4744102c56ae8b6b043 | /tut/imgproc/horVertLineExtract/code.cpp | 442b5dd21f692d0659475ff90d85e442c2df552e | [] | no_license | AthaSSiN/ImgProc | cbfdd78e2f2aef4095427a96f748e3f163db7985 | ea14fb2c43d110f6b9ac401d44b293283bad324e | refs/heads/master | 2020-10-01T11:02:16.562134 | 2020-01-12T19:53:34 | 2020-01-12T19:53:34 | 227,522,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,001 | cpp | #include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
void show_wait_destroy(const char* winname, cv::Mat img);
using namespace std;
using namespace cv;
int main(int argc, char** argv)
{
Mat src = imread("../../src.jpg", IMREAD_GRAYSCALE);
// Show source... | [
"athassin.asp@gmail.com"
] | athassin.asp@gmail.com |
e4e7394bc5174bd48087474a0678823b40c2c6f2 | f4ba69ef76e4222576b8b210493524d33900fbaa | /stm32/commands/SetBacklight.h | c24b4c131db46f9d093ac0630d71d95cff928650 | [] | no_license | andysworkshop/awcopper | 64add966da698c4a109efe1cc7505a625553b232 | 4da43f17471bde4f77412cbdaf970e5e23062c99 | refs/heads/master | 2021-01-23T13:48:53.300464 | 2015-11-14T07:29:20 | 2015-11-14T07:29:20 | 30,496,137 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 791 | h | /*
* Andy's Workshop Arduino Graphics Coprocessor.
* Copyright (c) 2014 Andy Brown. All rights reserved.
* Please see website (http://www.andybrown.me.uk) for full details.
*/
#pragma once
namespace cmd {
/*
* Set the backlight.
* Parameters:
* 0 : the backlight percentage, 0..100
*/
struct S... | [
"andy@andybrown.me.uk"
] | andy@andybrown.me.uk |
d14133801797e6d705f908ed919625e9bb7a3c42 | 0a03c2792ecf68a285d7b8b684cf31b7976d3cb1 | /bin/mac64.build/cpp/include/phoenix/geometry/TextGeometry.h | 20df9aba090436f4415cf10cf2db86161244ab40 | [] | no_license | DavidBayless/luxePractice | 2cbbf5f3a7e7c2c19adb61913981b8d21922cd82 | 9d1345893459ecaba81708cfe0c00af9597e5dec | refs/heads/master | 2021-01-20T16:56:31.427969 | 2017-02-22T23:20:35 | 2017-02-22T23:20:35 | 82,842,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,861 | h | #ifndef INCLUDED_phoenix_geometry_TextGeometry
#define INCLUDED_phoenix_geometry_TextGeometry
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_phoenix_geometry_Geometry
#include <phoenix/geometry/Geometry.h>
#endif
HX_DECLARE_CLASS0(EReg)
HX_DECLARE_CLASS1(luxe,Emitter)
HX_DECLARE_CLASS2(luxe,resource,Resou... | [
"David.C.Bayless15@gmail.com"
] | David.C.Bayless15@gmail.com |
c7ab75b533779a12aff523aa55dc61fe82d31b35 | bd525e45d16ee67b19ab83811c08930f12086b6c | /Volume05/0528.cpp | c833cc2a5ae42c0fd3f5dac281bb0777b349037a | [] | no_license | face4/AOJ | fb86b3d9a05c2ea1da4819c0d253c48ca06efa56 | e869a5ab38a8ce4ecd7344fc24246da07e0a7b6e | refs/heads/master | 2021-06-10T11:56:27.591053 | 2020-11-26T12:01:35 | 2020-11-26T12:01:35 | 128,877,332 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | #include<iostream>
using namespace std;
int getLCSlen(string a, string b){
int dp[a.length()][b.length()];
int ret = 0;
for(int i = 0; i < a.length(); i++){
for(int j = 0; j < b.length(); j++){
dp[i][j] = 0;
}
}
for(int j = 0; j < b.length(); j++) if(a[0] == b[j]) d... | [
"s1611361@u.tsukuba.ac.jp"
] | s1611361@u.tsukuba.ac.jp |
6e1c6ce1dd2092d2c1c4082290254d287637c0fa | c392cea360fa4c954ea3dc39b668a73bda54c327 | /c++11_learning/std_function/std_function_move.cpp | c7871e842a8cc506711f0fb3caa1f133a5850e1d | [] | no_license | CCSHUN/working_fish | a1403333f925c4f50f3813178253c80a1197c8e3 | 38baa17bcd65aa3749f9c3a8ef99c353f7ef6800 | refs/heads/master | 2022-12-29T15:37:34.143294 | 2020-10-17T02:55:39 | 2020-10-17T02:55:39 | 281,035,924 | 0 | 0 | null | 2020-10-17T02:55:40 | 2020-07-20T06:42:37 | C++ | UTF-8 | C++ | false | false | 970 | cpp | /*
std::function 支持std::move
*/
#include <thread>
#include <atomic>
#include <iostream>
#include <functional>
using namespace std;
int add(int a, int b){
return a + b;
}
int main(){
std::function<int(int, int)> func;
func = &add; //普通函数 等价于 func = add
std::cout<<func(3, 4)<<std::endl;
//没绑定参数move
s... | [
""
] | |
7692505999aeca2b311bd6a03dbc35fff9a572a5 | 7410126688d97795ef9c477cede0822412e4fa2f | /lab4-5-6/matrix/rand.cpp | 735645ffdde63e12011db1bf1711211dd798b3a0 | [] | no_license | sadsirko/DS | 18a905f8813b808dbac26d514d3c6d1961357620 | e53fe2cc072772d94d46c076b64f85417e2d685c | refs/heads/master | 2021-01-06T12:18:22.338952 | 2020-05-29T16:36:38 | 2020-05-29T16:36:38 | 241,323,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp |
#include <iostream>
#include <math.h>
#include <fstream>
using namespace std;
double DoubleRand(double _max, double _min)
{
return _min + double(rand()) / RAND_MAX * (_max - _min);
}
int main()
{
int g = 12;
remove("matrix.js");
ofstream fout("matrix.js"); // создаём объект класса ofstream д... | [
"dionis@localhost.localdomain"
] | dionis@localhost.localdomain |
f601d426ff002fa4de2d03b16a0866e530f942eb | 02450e6f83bf914087bb2e9cc3805a6c06027889 | /Black/Week2/Task4/yellow_pages.h | 8ecd105b0f6c2366caa780198d0f70c3482465fc | [] | no_license | RinokuS/yandex-cpp-belts | d4962c022a53e64cf540c79feb979752814e9b29 | b863efe12dedf5a93517c937308b5f140ea86725 | refs/heads/main | 2022-12-25T22:02:36.059625 | 2020-10-03T09:31:41 | 2020-10-03T09:31:41 | 300,842,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | h | #pragma once
#include "company.pb.h"
#include "provider.pb.h"
#include "signal.pb.h"
#include <unordered_map>
#include <vector>
namespace YellowPages {
using Signals = std::vector<Signal>;
using Providers = std::unordered_map<uint64_t, Provider>;
// Объединяем данные из сигналов об одной и той же органи... | [
"JeffTheKilller@mail.ru"
] | JeffTheKilller@mail.ru |
817043b9273eacb44be0117f09e40a959ae2d77a | 6f7af0039cb5aec99eb72a4c752a734b11987d73 | /generated_source/usbmLexer.h | 8f9935a55180d36087e44b11fbe7ccdc9402f862 | [
"MIT"
] | permissive | NormanDunbar/USBMParser | 248e0a4b74b0623e51ddcf2727decefaf63d8ab8 | 3cabc937e7e51cb2fcc941b538ff61e4d9df763b | refs/heads/master | 2020-03-29T14:02:00.973726 | 2018-09-26T12:44:44 | 2018-09-26T12:44:44 | 149,994,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | h |
// Generated from usbm.g4 by ANTLR 4.7.1
#pragma once
#include "antlr4-runtime.h"
class usbmLexer : public antlr4::Lexer {
public:
enum {
T__0 = 1, TITLE = 2, TOOLKIT = 3, SYNTAX = 4, LOCATION = 5, DESCRIPTION = 6,
KW = 7, KEYWORD = 8, KW_SEP = 9, XREF = 10, EXAMPLE = 11, NOTE = 12,
NOTES = 13,... | [
"norman@dunbar-it.co.uk"
] | norman@dunbar-it.co.uk |
e48b57ef7d443b1877f2972ce92bf0d9145db51e | 39e76ae3cf268e4d325eab366191c36c1daff537 | /test/croquis-test.cc | 49002fd12e53f328d04c2943b37f267057d6b739 | [
"BSD-2-Clause"
] | permissive | pombredanne/madoka-4 | c9361d428ff8127ddc009274a42f187594956311 | eacada2014ca231a2e1a509022d86c55711892b7 | refs/heads/master | 2021-01-15T09:08:43.731778 | 2019-05-15T10:20:55 | 2019-05-15T10:20:55 | 47,540,030 | 0 | 0 | BSD-2-Clause | 2019-05-15T10:20:56 | 2015-12-07T08:43:20 | C++ | UTF-8 | C++ | false | false | 7,296 | cc | // Copyright (c) 2012, Susumu Yata
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions... | [
"susumu.yata@gmail.com"
] | susumu.yata@gmail.com |
6361005c09d79259b129d6549196b2fa6ed9310a | 07c8ebdd3402df43a049dc7882fe7a4926a7c9fb | /2231 분해합.cpp | 695a3ea414ff6e5d50bc05357c92884dee71e187 | [] | no_license | oheong/It-s_eong_time | c7366af9bc5738f5a218b4bfb00942615c88285c | 8a9fb898ff8d99b01d6a9a992a996581a75ca93a | refs/heads/master | 2022-01-14T22:47:32.646291 | 2022-01-07T14:14:38 | 2022-01-07T14:14:38 | 197,506,234 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 862 | cpp | #include <stdio.h>
#define SIZE 7
int N, min = 2123456789, n, last_num, temp, ssj;
int arr[SIZE];
int get_n(int a) {
int i;
for (i = 0; i < SIZE; i++) {
a /= 10;
if (a < 1)
return i + 1;
last_num = a;
}
}
int get_ssj() {
temp = 0, ssj = 0;
for (int i = n - 1; 0 <= i; i--) {
ssj += arr[i];//자릿수 숫자대로 계속 더... | [
"enffl9568@naver.com"
] | enffl9568@naver.com |
b5c45fc70d67f06047e197afd8353b1b249819a9 | 27ccf692ba3e5ac8f949a3de31a1a479758a737f | /DTW/DTW.cpp | 343457fcace0633e5141835b4179527f7ece1afa | [] | no_license | puranzhang/Myo-signal-classifier-w-DTW | a677557ec2788bed062800fe54d050d4fe143c68 | 1823acc5524542325f8c8f9f3a3b421ad8ab5930 | refs/heads/master | 2021-01-10T04:43:48.629489 | 2016-02-22T05:55:16 | 2016-02-22T05:55:16 | 52,249,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,962 | cpp | //CMSC240 Project
//Team: Ningxi, Puran, Ryan
//Puran Zhang
#include <iostream>
#include <vector>
#include "DTW.h"
#include "Signal.h"
using namespace std;
//stub that was used for testing
/*
int main() {
vector<double> a;
vector<double> b;
//int aa[5] = {0, 1, 2, 1, 0};
//a.assign(&aa[0], &aa[0]+5);
//int b... | [
"puranzhang@gmail.com"
] | puranzhang@gmail.com |
53b2d74845df78793d481b95e635e9ac09c85025 | e438ba10ad45a9db2d53c01ba7a74720b48d2ee9 | /src/PsMoveClientWrapper/Stdafx.cpp | a1d4296a88bdde28b00d01f51e7cb3b2df69fcad | [
"Apache-2.0",
"MIT"
] | permissive | banias/PSMoveRiftCatBridge | 865d978b5b2c42ef0ea02fdfa1968bcd2f089cc7 | 8eb38162bb7539458b868fe5cd145e66bef836d6 | refs/heads/master | 2021-01-23T16:51:26.224862 | 2017-06-05T20:50:52 | 2017-06-05T20:50:52 | 93,306,888 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | // stdafx.cpp : source file that includes just the standard includes
// PsMoveClientWrapper.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"gbanczak@gmail.com"
] | gbanczak@gmail.com |
66e1de034cdda5deb876a943aba66d1712ea5739 | 9b7e01e37bf31fe5c10f4cccbe7c29b72a6f8568 | /src/rpcprotocol.cpp | 7059489eb7018ff717dcd97497181dec882c0273 | [
"MIT"
] | permissive | crypto-dev/bvbcoin | c8a82eb3f17892b310a6e98e42b585725143446b | 61463b0f8a81b8d003a95d971f060154aeb6d46f | refs/heads/master | 2021-07-01T00:47:53.057020 | 2017-08-10T18:47:20 | 2017-08-10T18:47:20 | 104,238,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,742 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcprotocol.h"
#include "util.h"
#include <stdint.h>
#include <boost/algor... | [
"pm@PMs-MacBook-Air.local"
] | pm@PMs-MacBook-Air.local |
63195ae908a73986873ef387c0b9722cd357a88b | c42292a47b9f0cfa72329f26f5a6e0760fe7420d | /code/src/printer/d_printer.h | b47479f27dfa3d8696c3e2527baf6995e5071880 | [] | no_license | guoshijiang/peripheral_sys | 804d4c14c9878246dcfd4f2f32d6da4dc5dec0a5 | c5240b95c7f84811f0bf8b9b14b503388f1dcedc | refs/heads/master | 2021-01-19T02:22:12.595966 | 2017-04-05T06:08:39 | 2017-04-05T06:08:39 | 87,272,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | h | #ifndef D_PRINTER_H
#define D_PRINTER_H
#include <QWidget>
#include <QtPrintSupport/QPrinter>
namespace Ui {
class d_printer;
}
class d_printer : public QWidget
{
Q_OBJECT
public:
explicit d_printer(QWidget *parent = 0);
void doPrint(QList<QWidget *> wids);
~d_printer();
void doPrintPreview();
... | [
"pth576454@sina.com"
] | pth576454@sina.com |
51bbab2ca04c1009b4f8e2d3c03dcfb4facb6bc8 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/xnnpack/src/test/f16-vsqr.cc | 4698d31a93691b9f4350f2280965a3943dea7a32 | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-generic-cla"
] | 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 | 6,083 | cc | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
//
// Auto-generated file. Do not edit!
// Specification: test/f16-vsqr.yaml
// Generator: tools/generate-vunary-test.py
#include <gtest/gtest.h>
#in... | [
"jengelh@inai.de"
] | jengelh@inai.de |
633a8f74e06274da92031060ba53f42938543a31 | 3847556c97876ee40c1ba94ef527b6fc28d94e90 | /open-safari/sources/tdogl/Program.cpp | 657f5eb832fcf62e11174ae60a4d7f12d04f20c7 | [] | no_license | DarrenTsung/open-safari | d0f510bdad5492da32e09e929caa650372a68665 | 5d6fdeef0ea96bb2254fd01e2d3ca91c0d12fed0 | refs/heads/master | 2016-09-06T00:38:58.575285 | 2014-05-19T22:40:19 | 2014-05-19T22:40:19 | 19,865,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,965 | cpp | //
// Program.cpp
// open-safari
//
// Created by Darren Tsung on 5/16/14.
// Copyright (c) 2014 Lambawoof. All rights reserved.
//
#include "Program.h"
#include <stdexcept>
#include <glm/gtc/type_ptr.hpp>
using namespace tdogl;
Program::Program(const std::vector<Shader>& shaders) :
_object(0)
{
if (shad... | [
"darren.tsung@gmail.com"
] | darren.tsung@gmail.com |
776cf7229a69f31eb24dffe896b424182a03a298 | b819c29719ecb14440dab9d5cbc49d9901fc2d04 | /Client/Header/MeshTrailShader_Glow.h | b98d625c4f7f1bb6892764df73dc59c2ce4db712 | [] | no_license | Underdog-113/3D_portfolio | d338f49d518702b191e590dc22166c9f28c08b14 | 6b877ff5272bea2e6d2a2bd53e63b6ee4728cd9c | refs/heads/develop | 2023-07-07T20:30:00.759582 | 2021-07-27T06:01:52 | 2021-07-27T06:01:52 | 371,051,333 | 0 | 1 | null | 2021-06-13T14:30:32 | 2021-05-26T13:52:07 | C++ | UTF-8 | C++ | false | false | 347 | h | #pragma once
#include "Shader.h"
class CMeshTrailShader_Glow final : public Engine::CShader
{
public:
CMeshTrailShader_Glow();
~CMeshTrailShader_Glow();
public:
static Engine::CShader* Create();
void Free();
void Awake() override;
public:
void SetUpConstantTable(SP(Engine::CGraphicsC) spGC) override;
private:... | [
"fu79899@gmail.com"
] | fu79899@gmail.com |
69a251e885c50edf4ac530f3e11befb54d05beac | fa476614d54468bcdd9204c646bb832b4e64df93 | /otherRepos/luis/CDF/359DIV2/D.cpp | 450e305cbf3a67387142f837d27258590d3f0137 | [] | no_license | LuisAlbertoVasquezVargas/CP | 300b0ed91425cd7fea54237a61a4008c5f1ed2b7 | 2901a603a00822b008fae3ac65b7020dcddcb491 | refs/heads/master | 2021-01-22T06:23:14.143646 | 2017-02-16T17:52:59 | 2017-02-16T17:52:59 | 81,754,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | cpp | #include<bits/stdc++.h>
using namespace std;
#define REP(i , n) for(int i = 0 ; i < n ; ++i)
#define clr( t , val ) memset( t , val , sizeof( t ) )
#define pb push_back
#define all( v ) v.begin() , v.end()
#define SZ( v ) ((int)v.size())
typedef vector< int > vi;
typedef long long ll;
const int N = 300... | [
"luisv0909@gmail.com"
] | luisv0909@gmail.com |
6bb9a51b3326f47befa66be76d98ba643aff0aab | dce0fffc80689a2f2484438aedc17baab4bfdcaf | /ZZ/hDrawer.cpp | eddf60c066f3b8aecbf46874e5341e25817ffa53 | [] | no_license | maniamaster/KT_HIP | d6bb0619f3a6f5e972155359a54ec0b5a2f2f64e | d3136d4b8bf7a106c766c52ae755a300091c92a7 | refs/heads/master | 2020-03-11T23:49:59.778248 | 2018-05-09T18:10:19 | 2018-05-09T18:10:19 | 130,332,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,919 | cpp | #define HDRAWER_CPP
//#include "compareDatasets.hpp"
#include "TFile.h"
#include "TTree.h"
#include "TLorentzVector.h"
#include "TH1.h"
#include "TMath.h"
#include "TCanvas.h"
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#include "TROOT.h"
class event {
private:
int m_ientry;
char* m_fil... | [
"eric.bertok@c032.cip.physik.lokal"
] | eric.bertok@c032.cip.physik.lokal |
7518a50358fdd6f5df512b3ff117cfe5616fff6e | 1f1cc05377786cc2aa480cbdfde3736dd3930f73 | /xulrunner-sdk-26/xulrunner-sdk/include/nsITransfer.h | 0f0958d2fa7e6444be86954a6da4c94b3975a9a2 | [
"Apache-2.0"
] | permissive | julianpistorius/gp-revolution-gaia | 84c3ec5e2f3b9e76f19f45badc18d5544bb76e0d | 6e27b83efb0d4fa4222eaf25fb58b062e6d9d49e | refs/heads/master | 2021-01-21T02:49:54.000389 | 2014-03-27T09:58:17 | 2014-03-27T09:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,757 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-l64-xr-ntly-000000000000/build/uriloader/base/nsITransfer.idl
*/
#ifndef __gen_nsITransfer_h__
#define __gen_nsITransfer_h__
#ifndef __gen_nsIWebProgressListener2_h__
#include "nsIWebProgressListener2.h"
#endif
/* For IDL files that don't want to ... | [
"luis@geeksphone.com"
] | luis@geeksphone.com |
6da29df92d8c6f4ba91438d82fb305799987a400 | 1cc17e9f4c3b6fba21aef3af5e900c80cfa98051 | /chrome/browser/profiles/profile_manager.h | 1f3aac3390b7adf67aabd76b0e1ce170404b2e62 | [
"BSD-3-Clause"
] | permissive | sharpglasses/BitPop | 2643a39b76ab71d1a2ed5b9840217b0e9817be06 | 1fae4ecfb965e163f6ce154b3988b3181678742a | refs/heads/master | 2021-01-21T16:04:02.854428 | 2013-03-22T02:12:27 | 2013-03-22T02:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,502 | 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.
// This class keeps track of the currently-active profiles in the runtime.
#ifndef CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
#define CHROME_BROWSER_... | [
"vgachkaylo@crystalnix.com"
] | vgachkaylo@crystalnix.com |
47e7e805204ae1fb79eaad5e56b592dc536c1c99 | d9dcb01b09565939679d3c1b2cbf89c9be89af49 | /Workshop2/Workshop2b2.cpp | 633e6215bdfe93b10196750e6fde85a014bbc35e | [] | no_license | RaeKyo/Workshop2021 | 2c2efa86e47ca3fa686791c8f819e18036121dfa | 9451d76b01d9bdaa0d6d4e15c2c3c29a0356b96f | refs/heads/master | 2023-05-30T08:48:22.363672 | 2021-06-10T12:01:16 | 2021-06-10T12:01:16 | 373,675,856 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | #include <stdio.h>
int main(){
double income,taxFree,taxIncome,tax;
int n; //dependent
const int pa=9000000; // pa : personal amount
const int pd=3600000; // pd : D_ependent
printf("Income per year : ");
scanf("%lf",&income);
printf("Number of dependent : ");
scanf("%d",&n);
//tax-free per year :
taxFr... | [
"tienhanv@gmail.com"
] | tienhanv@gmail.com |
eda7dac9305656fb21ec8431c9c92ccd181276bf | 1bf7215ac597c6b769b1f617a18b443331798437 | /Actor.h | 2dcbc77db45f3fa03f5da1e535173ba9ae3d3320 | [] | no_license | cjfrisz/evolver | 49fcb17eb3068a3bbcee80c5c87d5acccd709f48 | 07cbaaff5b67bb91508449c46df7c74e810daeb5 | refs/heads/master | 2016-09-05T19:04:16.487922 | 2011-09-26T17:51:33 | 2011-09-26T17:51:33 | 2,396,422 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 921 | h | #ifndef __ACTOR_H__
#define __ACTOR_H__
namespace evolver {
template <class T> class Point2D;
class FallBehavior;
class JumpBehavior;
class MoveBehavior;
class Actor {
public:
Actor (void);
~Actor (void);
Actor (const Actor &original);
Actor &operator= (const Actor &original);
float... | [
"cjfrisz@chrisfrisz.com"
] | cjfrisz@chrisfrisz.com |
23e51219e86a6ca12d3ded33db603fcfb99e6cd1 | e742080c7940fcdc702fd6c89bd38bf36dd3792a | /cheats/ragebot/aim.cpp | 42b96f30f94a8d563813c81cbcf4f3c85bf1d7c3 | [] | no_license | alooftr/Dynamism | 472ac1326dc5c881ed0920e65e67c670a5ca0703 | 4806fd10ab6c6a245b628146521f8d4ee145e9e4 | refs/heads/master | 2023-06-27T01:43:30.529919 | 2021-07-10T13:01:44 | 2021-07-10T13:01:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,497 | cpp | #include "aim.h"
#include "..\misc\misc.h"
#include "..\misc\logs.h"
#include "..\autowall\autowall.h"
#include "..\misc\prediction_system.h"
#include "..\fakewalk\slowwalk.h"
#include "..\lagcompensation\local_animations.h"
void aim::run(CUserCmd* cmd)
{
targets.clear();
scanned_targets.clear();
final_target.reset... | [
"dev.aquaware@gmail.com"
] | dev.aquaware@gmail.com |
a80525854637f14057b08ed18097f77951e7bfe7 | 4bba3838c668dd4846640a2aa9d4b1f717d15306 | /UVa/1254 - Top 10.cpp | f5387b502d894127604a6f735978bc1655e77f37 | [] | no_license | dnr2/maratona | 0189fa17b99663aeeb14f389b018865791325d04 | 65163739c645802ac38e605e5706551c3cdf302a | refs/heads/master | 2021-01-15T16:29:31.101196 | 2015-11-27T08:21:21 | 2015-11-27T08:21:21 | 12,200,323 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,420 | cpp | //http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3695
//#tag Suffix Array , array de suffixo
//#tag Range Minimum Query, RMQ
//#tag Segment Tree, arvore de segmentos
//#sol first build a suffix array from the concatenation of the words in the dictionary. Then create a RMQ... | [
"dnr2@cin.ufpe.br"
] | dnr2@cin.ufpe.br |
6f7a7ea4280c05545a25cc2b8fd3b1027df21038 | 7e62f0928681aaaecae7daf360bdd9166299b000 | /external/DirectXShaderCompiler/tools/clang/include/clang/Driver/Phases.h | 8c66b92d5454ba5dff4b61c9a5dbaf15728e3422 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yuri410/rpg | 949b001bd0aec47e2a046421da0ff2a1db62ce34 | 266282ed8cfc7cd82e8c853f6f01706903c24628 | refs/heads/master | 2020-08-03T09:39:42.253100 | 2020-06-16T15:38:03 | 2020-06-16T15:38:03 | 211,698,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | h | //===--- Phases.h - Transformations on Driver Types -------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"yuri410@users.noreply.github.com"
] | yuri410@users.noreply.github.com |
622b8c452f389d1293c3a9bf88cbd38e3150b5b4 | e0dda07ee69df68b01f5a9d8289ddb69db18947d | /engine/src/base/renderer/opengl/gl_program3.h | 9f49abfe888f5f87455cc46dc1b3990aef631e1c | [] | no_license | HugoGallagher/Game-Engine-Old | d28d9ec3af2d78592c2ca1ca1de7945c21613a8a | 970c5a97b31268e5215180943af85ac55a636c17 | refs/heads/master | 2022-12-12T15:12:05.839274 | 2020-09-13T22:30:13 | 2020-09-13T22:30:13 | 257,755,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #pragma once
#include "macros.h"
#include "gl_program.h"
namespace engine
{
class DLL gl_program3 : public gl_program
{
public:
gl_program3()
{
vertex_shader = shader(GL_VERTEX_SHADER, "3d/3d_uber.v");
fragment_shader = shader(GL_FRAGMENT_SHADER, "3d/3d_uber.f");
}
};
} | [
"54777755+HugoGallagher@users.noreply.github.com"
] | 54777755+HugoGallagher@users.noreply.github.com |
6dea90c4506c496a64372dc74facf64944a1474c | e5614c36fd324f2e214ff05aaf2bf7230443e0b5 | /CodeForces/697C - Lorenzo Von Matterhorn - 19136194.cpp | 4a5eea8a7f223d3ff539af244e1c2fd1bda94408 | [] | no_license | njrafi/Competitive-Programming-Solutions | a9cd3ceae430e6b672c02076f80ecb94065ff6d8 | 86d167c355813157b0a0a8382b6f8538f29d4599 | refs/heads/master | 2020-07-30T22:18:46.473308 | 2019-10-06T18:12:36 | 2019-10-06T18:12:36 | 210,377,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,016 | cpp | #include <bits/stdc++.h>
#ifndef ONLINE_JUDGE
#define gc getchar
#define pc putchar
#else
#define gc getchar_unlocked
#define pc putchar_unlocked
#endif
using namespace std;
#define vi vector<int>
#define vll vector<i64>
#define si set<int>
#define vs vector<string>
#define pii pair<int, int>
#define vpi vector<pii>
#d... | [
"njrafibd@gmail.com"
] | njrafibd@gmail.com |
8e15c019a7f418653a1452805714c8c36e8970b9 | d0557489abe73e36f52a057e151a16c310e11876 | /DiceGameServer/role/YinYang.cpp | 30d40d11d17d2a26474491adcf9b16f870b5d719 | [
"MIT"
] | permissive | chntujia/CodfiyAsteriatedGrailServer | 762a9de7e7d6567d87e66d5b6354a24c8f797cbe | f2f210aeff062fd5ff27fb099629edcde82eb366 | refs/heads/master | 2022-03-14T16:13:16.382571 | 2022-02-13T12:53:57 | 2022-02-13T12:53:57 | 49,324,028 | 40 | 17 | MIT | 2019-02-22T01:10:28 | 2016-01-09T12:46:43 | C++ | UTF-8 | C++ | false | false | 12,807 | cpp | #include "YinYang.h"
#include "..\GameGrail.h"
#include "..\UserTask.h"
bool YinYang::cmdMsgParse(UserTask *session, uint16_t type, ::google::protobuf::Message *proto)
{
switch(type)
{
case MSG_RESPOND:
Respond* respond = (Respond*)proto;
switch(respond->respond_id())
{
case SHI_SHEN_ZHOU_SHU:
session-... | [
"2385992390@qq.com"
] | 2385992390@qq.com |
37cca536cfbebdce41105224e3c953858e70986a | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-dms/source/model/CreateReplicationConfigRequest.cpp | a1d9e82b2d04398123c5b9512fc586fb40b75912 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 2,709 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/dms/model/CreateReplicationConfigRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::DatabaseMigrationService::Model;
using namespace Aws... | [
"github-aws-sdk-cpp-automation@amazon.com"
] | github-aws-sdk-cpp-automation@amazon.com |
2fcad6cd3ff2cfdff77b55c5353527d8f55e05d1 | 1d1eaf733faa327872200a209456a9f9f330ff85 | /src/qt/utilitydialog.cpp | e7d5f2c3a08964dac04238ea431e721039f03439 | [
"MIT"
] | permissive | peepcoin2/peepcoin2 | cb1993e62747db6648fabab3d6067e6f3f53f07b | 5657b86210a60f26bf9f7dd670e567c355a3bdd6 | refs/heads/master | 2020-04-27T01:00:29.945423 | 2019-03-05T13:38:56 | 2019-03-05T13:38:56 | 173,949,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,010 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "utilitydialog.h"
#inc... | [
"peepcoin2@gmail.com"
] | peepcoin2@gmail.com |
0afec503c6b7ed3552f49354b86561ec5156990a | cac6981201da982780bf511375fa97ade34eafec | /Classes/Model/Bonus/RandomBonus.h | f17cfd8267db4f307cc188b16c664f7d18575b4a | [
"BSD-3-Clause"
] | permissive | nonothing/Dyna-Blaster-cocos2dx | 0c8cc3b02bbd165c5762d71178ec5a5fe76db179 | c128b4e982f7d984e8933196bf199423db997a6e | refs/heads/master | 2021-01-21T15:57:19.009237 | 2016-11-03T01:33:46 | 2016-11-03T01:33:46 | 65,398,771 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #ifndef __RANDOM_BONUS_H__
#define __RANDOM_BONUS_H__
#include "cocos2d.h"
#include "Model/Bonus/IBonus.h"
class RandomBonus: public IBonus
{
protected:
void blinkRed();
public:
RandomBonus(PlayerData& data) : IBonus(data){}
virtual void end() override;
virtual void active() = 0;
};
#endif // __RANDOM_BONUS_H__
| [
"all.nothing.name@gmail.com"
] | all.nothing.name@gmail.com |
35a4c315f194b619c544df4644ad44304ff114a8 | d2e8e2f7ac6d3b71056ea79d7413e7dd7188789f | /test/BenchMarkEPFLModSwitch_bar.cpp | 507faf42e0a21edc45011505777c2e4c28389f5e | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | moritzwinger/ABC | c92a5bfe4c3adce0fd2b453d1ef083d63a3223a0 | 2d1f507dc7188b13767cce8050b8aa9daa7c1625 | refs/heads/main | 2023-07-25T16:56:19.122849 | 2021-09-07T10:51:37 | 2021-09-07T10:51:40 | 354,754,349 | 0 | 0 | NOASSERTION | 2021-04-05T07:29:30 | 2021-04-05T07:29:29 | null | UTF-8 | C++ | false | false | 46,793 | cpp | #include "include/ast_opt/parser/Parser.h"
#include "include/ast_opt/runtime/RuntimeVisitor.h"
#include "include/ast_opt/runtime/SimulatorCiphertextFactory.h"
#include "ast_opt/visitor/InsertModSwitchVisitor.h"
#include <ast_opt/visitor/GetAllNodesVisitor.h>
#include "ast_opt/visitor/ProgramPrintVisitor.h"
#include "as... | [
"moritzwinger1@gmail.com"
] | moritzwinger1@gmail.com |
fd3bc3c4d6f5cfd5df16b8ba1b7f0571c5c8c2db | a6f562d818253c8e0c57a44b5063e486592ddc79 | /Graphs/Floyd Warshall - Shortest Path for all pairs.cpp | a1b8cac713a3574c0f465471d3ae17b158b91a38 | [] | no_license | arnabs542/Algorithms-5 | 6769289a1ec0ec0c67567ae701ade44b0c521842 | 53aa576838f15e96819991b415155245c1b6bcce | refs/heads/master | 2022-01-22T22:53:33.974462 | 2019-08-07T15:29:09 | 2019-08-07T15:29:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | // https://www.geeksforgeeks.org/floyd-warshall-algorithm-dp-16/
// This gives the shortest path between all pairs of vertices
#include <algorithm>
#include <climits>
#include <cmath>
#include <deque>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unord... | [
"r.r.n.harkhani@gmail.com"
] | r.r.n.harkhani@gmail.com |
b2a1f8b88df505fdd302493486dd20b1d65fa57d | 77b6c3e0c7c85ce941e893df236f647ed68fa7fe | /1082.cpp | 304d7b3aee3f1e093a7e1eb4dec7482889e796c9 | [] | no_license | Anik-Roy/LightOj-Solution | 05fc9efcbb1eeb4641af3268251feae5be318f44 | 1a8c401b3fd011459b51bcc26fa1175ab4bb7658 | refs/heads/master | 2021-04-12T10:52:43.196029 | 2017-08-31T19:07:04 | 2017-08-31T19:07:04 | 94,535,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 100005
int ara[MAX];
int tree[MAX*3];
void init(int node, int b, int e)
{
if(b == e) {
tree[node] = ara[b];
return;
}
int left = 2*node;
int right = 2*node+1;
int mid = (b+e)/2;
init(left, b, mid);
i... | [
"argourab96@gmail.com"
] | argourab96@gmail.com |
afa17646742c067fc033e9193200fa3795e2b8f0 | ad2bf55f50be16c3e2bdd3e49fef5f570224f371 | /Basic/So tu nhien/201. Liet ke so ng to nho hon N va tong chu so chia het cho 5.cpp | c532a79f2a628ccd0ca409868a44fcb7e12817de | [] | no_license | GibOreh/CodeC | 31f1b79b6f5c741fecc0031f508b7b96eafc1844 | b45fd8ae9ae6e720c9c5dfc07c23c52f2f85c5d5 | refs/heads/master | 2022-11-24T09:55:50.111087 | 2020-08-02T05:54:31 | 2020-08-02T05:54:31 | 284,399,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include <stdio.h>
#include <stdio.h>
int check(int n){
int temp,sum,count=0,temp1,temp2;
for(int i=2 ; i<=n ; i++){
sum=0;
temp=0;
for(int j=2 ; j<i ;j++){
if(i%j==0)
temp++;
}
if(temp==0){
temp2 = i;
while(temp2!=0){
temp1=0;
temp1=temp2%10;
sum+=temp1;
temp2/=10;
}
if(... | [
"vuonghung2308@gmail.com"
] | vuonghung2308@gmail.com |
75e7f2ad4b05b0398ee284d9d8b41e0a0388d657 | 54399f5d4ac16ca0e241cf504368c92f6885b005 | /tags/libfreebob_0.9.0_RC1/src/debugmodule/debugmodule.h | 67f8da76fa431148394ef593238620438d0ec4d6 | [] | no_license | janosvitok/ffado | 82dcafeeed08a53a7ab48949a0b1e89fba59a799 | 99b2515d787332e8def72f3d4f0411157915134c | refs/heads/master | 2020-04-09T11:14:29.768311 | 2018-06-26T13:38:39 | 2018-06-26T13:38:39 | 6,838,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,526 | h | /* debugmodule.h
* Copyright (C) 2005 by Daniel Wagner
*
* This file is part of FreeBob.
*
* FreeBob 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 optio... | [
"pieterpalmers@2be59082-3212-0410-8809-b0798e1608f0"
] | pieterpalmers@2be59082-3212-0410-8809-b0798e1608f0 |
08cee9c2fc13cd0a5a97b0b66e6c4e6f0e6ee181 | dbc43d6460f261bfbcb45ed3aa68b9419b1801bd | /Point/Point.cpp | 55c00fd4aa38aeacb327e36588a1d0149c9020fb | [] | no_license | dongho-jung/Advanced_C_Programming | 9cc6d41140c9157fa1b3b57388730bc7ecfb0d3c | 792291bc564e0d942f6dafe5d95ce78ad53fd464 | refs/heads/master | 2023-06-09T20:26:33.541842 | 2017-05-03T13:57:45 | 2017-05-03T13:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | #include "Point.h"
Point::Point() {
setX(0.0);
setY(0.0);
}
Point::~Point() {
}
void Point::move(Direction direction, double movementAmount) {
if(direction == Direction::HORIZONTAL)
setX(getX() + movementAmount);
else if(direction == Direction::VERTICAL)
setY(getY() + movementAmount);
}
void Point::rotat... | [
"dongho971220@gmail.com"
] | dongho971220@gmail.com |
ef321e3953c0df64dff0cc966e23921aefa94f1c | 25784e8a0cfcd1f5c7a4f58ddeeb0f5d9a8c3322 | /dailycode/auto_ptr/auto_ptr/源.cpp | 616f1037652fc86711dc1dbb2e36004879277f86 | [] | no_license | lxyzzzZZZ/lxyzzZ | 218c7c0c13e08bb5a905c008be08027768bf1b97 | 0250983bdba7856f4deafa21f9d9156ad0d33f7f | refs/heads/master | 2020-06-28T14:31:44.834749 | 2019-08-29T13:55:06 | 2019-08-29T13:55:06 | 200,255,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include <iostream>
using namespace std;
template <class T>
class Autoptr
{
public:
Autoptr (T* ptr = nullptr)
:_ptr(ptr)
{}
~Autoptr()
{
if (_ptr)
delete _ptr;
}
T& operator*()
{
return *_ptr;
}
T& operator->()
{
return _ptr;
}
Autoptr(Autoptr<T>& ap)
:_ptr(ap._ptr)
{
ap._ptr = nullptr;... | [
"1909980451@qq.com"
] | 1909980451@qq.com |
603341c8aa4d74ddaa0816dce97bfbb93bf8f02f | fa84816defd3f0001cc5db8515da5aab9d86441e | /file_extract_xlsx.h | ae39a7aed6d897da37b61ca85ac87dfdb2232d7d | [] | no_license | starman91/fileapps | 4aa7ac4cb6ec418cb13fdecb9bf1647cf46bc754 | f355b9249f877a1d288d4b15a1f0b49fce0a385f | refs/heads/master | 2021-01-12T18:26:26.349323 | 2016-10-19T16:44:11 | 2016-10-19T16:44:11 | 71,377,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,860 | h | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// file_extract_xlsx.h
//
// Class to open an Excel .xlsx file. Explodes thwe zipped file into a temp directory
// returns data form desired worksheet as Dom Document
//
// ------... | [
"rwhite.astro@gmail.com"
] | rwhite.astro@gmail.com |
7e36f1f5c31df881d65804b8f5226b82c678ae49 | 97d0df81a6423fd386fcd52869a81a2253141b50 | /src/main.cpp | 547011c7df03ea3f53e4f74bae6c0369c7c83221 | [] | no_license | kacpersyn7/BalancingRobot | fa62f68e72564d55d0865fafdfdc9ca499836ccb | 071033a1c1a38acb2c421965774e13cb56b7c4af | refs/heads/master | 2020-03-15T14:04:56.232142 | 2018-08-11T14:19:48 | 2018-08-11T14:19:48 | 132,182,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | #include <Arduino.h>
#include <Servo.h>
#include <Wire.h>
#include <AFMotor.h>
#include "Accelerometer.hpp"
#include "Constants.hpp"
int main(int argc, char const *argv[])
{
AF_DCMotor motor(3, MOTOR34_64KHZ);
Accelerometer accelerometer(constants::yMin, constants::yMax, constants::derivativeTime);
Serial.... | [
"kacpersyn7@o2.pl"
] | kacpersyn7@o2.pl |
1f491c0a341e87a23812d4db1e8864fb6cce93e7 | 99397ded2d4689afd8d46da0c2a25da9a6b96bf7 | /libraries/GAMMA/gamma.cpp | 839caa307cd20178102f54ae9134a9dcaf8edcc8 | [
"MIT"
] | permissive | zebrajr/Arduino | e6984485be3a875acb5840cbb3b6f43b9637c8e0 | 0d98f11abaaddf28431fd654d676c0cdd6eddfcf | refs/heads/master | 2022-12-21T06:29:36.752834 | 2022-12-14T18:17:10 | 2022-12-14T18:17:10 | 99,500,328 | 1 | 0 | null | 2017-08-06T16:49:10 | 2017-08-06T16:49:10 | null | UTF-8 | C++ | false | false | 3,152 | cpp | //
// FILE: gamma.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.3.1
// DATE: 2020-08-08
// PURPOSE: Arduino Library to efficiently hold a gamma lookup table
//
// HISTORY: see changelog.md
#include "gamma.h"
GAMMA::GAMMA(uint16_t size)
{
_shift = 7;
// force power of 2; get shift & mask right
for (uint16_... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
e122f706bc22613f6580dbb0108d9e95a230bec0 | 2f6b17aa5911b83e27f365a28ad09ee74e0d63f9 | /source/proxydll/steam_api.dll.cpp | e086cefde7bce27a6b6179818c20870cb4b52178 | [] | no_license | GrantSP/OriginalMO | afcc7b9bc8225db36216fe963c162696193e4b74 | 7935114fa2bbc6e38ad7a7b485754d20ee9bec23 | refs/heads/master | 2021-09-02T06:20:13.207699 | 2017-12-31T00:44:07 | 2017-12-31T00:44:07 | 115,833,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,425 | cpp | #include <windows.h>
#include <tchar.h>
#include <stdio.h>
HINSTANCE hLThis = 0;
HINSTANCE hL = 0;
#pragma comment(linker, "/export:GetHSteamPipe=steam_api_orig.GetHSteamPipe,@1")
#pragma comment(linker, "/export:GetHSteamUser=steam_api_orig.GetHSteamUser,@2")
#pragma comment(linker, "/export:SteamAPI_GetHSteamPipe=... | [
"fr00gyl@gmail.com"
] | fr00gyl@gmail.com |
d8b929da5d4acf10c958f414f7fcd70f38617aee | ac937b2f67716d53e8dab2f9a29de8bb3e7eabcf | /TheNextWeek/RayTracing/RayTracing/bvh.h | 3994faf47d607fcc498a69ad25074ff331b930a6 | [] | no_license | MYOUTCR/RayTracing | 5572e02af81d5e045fd212ad7b667d0499dd4ffa | 90f82217a57ad9bf3cd708c9609bd93704b9e513 | refs/heads/master | 2020-08-23T09:50:32.930976 | 2019-11-11T13:23:23 | 2019-11-11T13:23:23 | 216,589,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,194 | h | #ifndef _BVH_HEAD_
#define _BVH_HEAD_
#include "hittable.h"
#include "aabb.h"
#include "random.h"
int box_x_compare(const void *a, const void *b)
{
aabb box_left, box_right;
hittable *ah = *(hittable**)a;
hittable *bh = *(hittable**)b;
if (!ah->bounding_box(0, 0, box_left) || !bh->bounding_box(0, ... | [
"cn_yhm@163.com"
] | cn_yhm@163.com |
0d4b0ace94e1cce360c8c2d3193f8f51c71919ec | 0834c4bacf61cbfac10f48a90364c834f1935bef | /ECG/lab_work/lab3/matOp/matOp/main.cpp | a8bca4616b779e94a696712e5154f24f41bdbcfc | [] | no_license | aerika96/2nd_semester | 0d4be1306b56ffde344093b9f535e0e1994042c1 | f7086c9814e53e7751ef4897c4e3641bde77229d | refs/heads/master | 2020-12-30T14:45:05.605403 | 2017-08-01T19:33:42 | 2017-08-01T19:33:42 | 91,081,506 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | //
// main.cpp
// Lab3
//
// Copyright © 2016 CGIS. All rights reserved.
//
#include <iostream>
#include "testMatrix.h"
#include "mat3.h"
#include "mat4.h"
int main(int argc, const char * argv[]) {
int nrOfErrors = 0;
nrOfErrors += egc::testMat3Implementation();
nrOfErrors += egc::testMat4Implemen... | [
"erikatimeaalbert@gmail.com"
] | erikatimeaalbert@gmail.com |
5f8bb6c8c36adf7190b2f5bf358e827c1eb05215 | dcb4c9922f87a36034a083bd24a322ef143f2bfb | /download/im/src/im_sysfile_unix.cpp | ae26da3a379aafe864823e16725c34d4e8caa481 | [
"MIT"
] | permissive | kmx/alien-iup | ece952c2e8fd46a14b84310fdfe41ac8c5cfa9cc | aeead1fcd606593e73c900d1bacb2fd573865db5 | refs/heads/master | 2020-05-25T15:47:28.727060 | 2017-06-01T13:57:06 | 2017-06-01T13:57:06 | 811,708 | 2 | 1 | null | 2015-01-31T19:52:04 | 2010-08-02T05:26:14 | Perl | UTF-8 | C++ | false | false | 4,766 | cpp | /** \file
* \brief System Dependent Binary File Access (UNIX)
*
* See Copyright Notice in im_lib.h
* $Id: im_sysfile_unix.cpp,v 1.2 2012-03-19 02:33:51 scuri Exp $
*/
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#inclu... | [
"kmx@cpan.org"
] | kmx@cpan.org |
0b296bced1f1303fe81cd470eead2e75bc133e9f | 8df1054f8c05eaeabd92f3f12c812ecbbe18b8ad | /test/test_type_name.cpp | 25a43ecee9cb33d457b1fafd78049b3873957071 | [
"BSD-3-Clause"
] | permissive | melven/pitts | e9f0053d9cf8179bb636862ed81a076b415d75b1 | 2cff51471def8f0b7e2b7aacc56c159bb570e1e3 | refs/heads/master | 2023-05-23T05:09:43.660566 | 2022-09-06T08:23:05 | 2022-09-06T08:23:05 | 369,316,003 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cpp | #include <gtest/gtest.h>
#include "pitts_type_name.hpp"
class TestClassName;
TEST(PITTS_TypeName, simple_types)
{
using PITTS::internal::TypeName;
//using namespace PITTS::internal;
ASSERT_EQ("int", TypeName::name<int>());
ASSERT_EQ("const int", TypeName::name<const int>());
ASSERT_EQ("const char*", TypeN... | [
"Melven.Roehrig-Zoellner@DLR.de"
] | Melven.Roehrig-Zoellner@DLR.de |
60b4fa7ca18fa91c64bf1484e9ab87b922fa4312 | ffd8d8cec584eb88a271d042440397736c1125eb | /src/game/components/ApplyComponent.h | 8e7bfb6ca3f4f57fa94b4fb140c7d0bf6155ef41 | [] | no_license | MegatronX/KHMP_ED | 3f57e318117ce277cfd0d891cb2aa05f3322c946 | 53ece43111322aa571ea60851c06de6012277d1f | refs/heads/master | 2021-01-17T17:19:33.468941 | 2016-06-15T23:50:44 | 2016-06-15T23:50:44 | 60,567,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | h | #pragma once
#ifndef _APPLYCOMPONENT_H_
#define _APPLYCOMPONENT_H_
#include <component/Component.h>
#include <utility/Priority.h>
namespace KHMP
{
class BattleField;
class ApplyComponent : public Component, public Priority
{
public:
const static ComponentType m_componentType = 0xb6ceb46e;
ApplyComponent(Entit... | [
"jay.riley.ut@gmail.com"
] | jay.riley.ut@gmail.com |
e09930bede5ca27767c47d49cdd76d9f6d567dbe | c0d12de311e1b79050ad8a2020dfa9e983663596 | /c++/code/test.cc | c2e8acb0a81fd48adea6ad4f92f8270669fa7937 | [] | no_license | rawk-v/myndnsim | 76b839153054807fda85c88600798dce457de3a4 | f243af87974790a437e8a6f6d04b7625d940c426 | refs/heads/master | 2021-01-18T05:32:10.502600 | 2016-07-20T14:20:12 | 2016-07-20T14:20:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cc | #include<iostream>
#include "Stuff.hpp"
int main()
{
using namespace myspace;
std::string name="nick";
Stuff* s1=new Stuff(5,40.0,name);
s1->Show();
delete s1;
return 0;
}
| [
"1790949749@qq.ccom"
] | 1790949749@qq.ccom |
c2c935e10cbbd25789b3f71534980e00ec0155d9 | c611b35a08d0abbce62c8a3e80ab747967460e4a | /sim/fsim/SL1/include/sl1viterbi.h | 3f59e1528008c605de23824ba577bd2f2b5abec4 | [] | no_license | svn2github/open64 | 301f132bdcb602d4e677fc23881ce602f3961969 | 88431de7e6860ed692c0c160724620e798de428a | refs/heads/master | 2021-01-20T06:59:43.507059 | 2014-12-31T18:38:48 | 2014-12-31T18:38:48 | 24,089,237 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,103 | h | /*
* File: sl1viterbi.h
*
* Copyright (c) 2006 Beijing SimpLight Nanoelectornics, Ltd.
* 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 re... | [
"malin@ead328b1-e903-0410-a19d-eacee4b031f6"
] | malin@ead328b1-e903-0410-a19d-eacee4b031f6 |
b17f82731be9d097597f3e61a55fd8ac9a78881f | 2aa9880c5ed5084112932a7bf03addbaeca84a32 | /cxx_utilities/unittest/vector_swizzle.cpp | 8b7515934b4f7fa11d6269301d83a3a8ce3ff0c8 | [] | no_license | goteet/a-piece-of-shit | 6da49e4f975495c7f049b0a9414d03b5259a7f03 | 2cae116ddba6b77a869966b7f005aae15f496b84 | refs/heads/master | 2022-10-03T20:34:31.450373 | 2020-05-26T07:13:07 | 2020-05-26T08:30:01 | 259,877,411 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,900 | cpp | #include "stdafx.h"
TEST_CLASS(SwizzleTest)
{
public:
TEST_METHOD(Vector2SwizzleTest)
{
float2 v2(1, 2), sw2, sw3, sw4;
float3 v3(v2, 3);
float4 v4(v2, 3, 4);
sw2 = swizzle<_Y, _X>(v2);
CXX_FEQUAL(sw2.x, v2.y);
CXX_FEQUAL(sw2.y, v2.x);
sw3 = swizzle<_Y, _Z>(v3);
CXX_FEQUAL(sw3.x, ... | [
"goteet@126.com"
] | goteet@126.com |
a3fde30353c5e47d982e4a8f1cded0c67081cf41 | 772cff7c7af9d3814ebd3a40911891bdf45d12ed | /Handover/C++ code/OFDM/OFDM/channel_estimation.h | 4316733f6203bca563a84e2de0bc42ebaeed9a79 | [] | no_license | iamsteven526/master | cab3bdc55c7102d2d2c2d03d7560dc0966005ccf | 706ff20f61be9b93ab3665effcc8af9beb8835d8 | refs/heads/master | 2023-07-01T19:21:51.589947 | 2021-08-11T04:02:01 | 2021-08-11T04:02:01 | 291,770,130 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,883 | h | #ifndef CHANNEL_ESTIMATION
#define CHANNEL_ESTIMATION
#include"setting.h"
#include"math_operation.h"
#include"modulation.h"
COMPLEX_OPERATION complexOperation;
QAM qam(MOD_BIT);
FFT fft(N, LAYER);
class ESTIMATION
{
public:
vector<complexNum> Permutation(vector<complexNum> X)
{
vector<complexNum>... | [
"r08942052@ntu.edu.tw"
] | r08942052@ntu.edu.tw |
5df6d50fec41695f221cf39c003c9d8ecc7bdd16 | 1bae12deaf825a9d8056d672a5c7606cf80d1cdd | /lib/searchcache.cpp | f957592804a3c96b5b6b744d0a59cdb27608d83d | [] | no_license | Mezzofanti/qamus | 8a8c5789ebb05b52c595a54f65853941bce18137 | ddad832b854180c0aab12fb4879869d89c1607a3 | refs/heads/master | 2021-01-19T10:00:14.129921 | 2012-08-17T15:35:02 | 2012-08-17T15:35:02 | 33,143,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | #include "common.h"
#include "searchcache.h"
SearchCache::SearchCache(const QString& rawTerm, const QString& term, const int col, const int size)
{
_rawTerm = rawTerm;
_term = term;
_col = col;
_new = true;
_startTime = QDateTime::currentDateTimeUtc();
setActive(size);
}
SearchCache::SearchCac... | [
"bosth@alumni.sfu.ca"
] | bosth@alumni.sfu.ca |
c1d5c91c64edfe3b893923c260cb27b474605660 | 56da30a32df9d4602e7848a34f6d2a4d1efd43f5 | /dht/KBucket.h | d3e44088d659cb80bbdde7321abc558e59dcac91 | [] | no_license | radtek/skydc | b084ebe541244c5e953480850fecce3dae9327f5 | b44337c48230501b27e47e2dae9025bfc1e6961a | refs/heads/master | 2020-06-06T07:19:42.211769 | 2016-05-19T08:38:31 | 2016-05-19T08:38:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,274 | h | /*
* Copyright (C) 2009-2011 Big Muscle, http://strongdc.sf.net
*
* 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.
... | [
"val.aleynik@yandex.ru"
] | val.aleynik@yandex.ru |
f822845abf4d9bd5ed967d33dfd2e456e180c850 | 830934ba65b11c21aa9051546eac0aa03893b210 | /src/FBXSource/ofxFBXSrcCluster.h | b3527818fc0fa2602ff624f0138179d0e43d3c01 | [
"MIT"
] | permissive | NickHardeman/ofxFBX | e9cca47c232a10ef4b89c12672fc2df68d9ecbc4 | f032fd43a78a740e7ab4b4f497a61a1654ef9a59 | refs/heads/master | 2023-09-03T19:21:22.013743 | 2023-08-30T14:51:34 | 2023-08-30T14:51:34 | 32,026,580 | 117 | 43 | MIT | 2022-11-22T15:13:13 | 2015-03-11T15:53:23 | C++ | UTF-8 | C++ | false | false | 632 | h | //
// ofxFBXCluster.h
// ofxFBX-Example-Importer
//
// Created by Nick Hardeman on 11/4/13.
//
//
#pragma once
#include "ofMain.h"
#include <fbxsdk.h>
namespace ofxFBXSource {
class Cluster {
public:
Cluster(){}
~Cluster() {}
void setup( FbxAMatrix& pPosition, FbxMesh* pMesh, FbxCluster* pCluster );
... | [
"nickhardeman@gmail.com"
] | nickhardeman@gmail.com |
5cc428bf4488d5b5c92dc8b24f9da8c6231288d8 | f1fc349f2d4e876a070561a4c4d71c5e95fd33a4 | /ch06/6_22_swappointer.cpp | 30773171d300c23be90024b7c5de22b63a0e2b17 | [] | no_license | sytu/cpp_primer | 9daccddd815fc0968008aa97e6bcfb36bbccd83d | 6cfb14370932e93c796290f40c70c153cc15db44 | refs/heads/master | 2021-01-17T19:03:48.738381 | 2017-04-13T10:35:43 | 2017-04-13T10:35:43 | 71,568,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 433 | cpp | #include <iostream>
using namespace std;
void swapPtr(int *&p1, int *&p2) {
int * tmpptr = p1;
p1 = p2;
p2 = tmpptr;
}
int main(void) {
int i1 = 10;
int i2 = 20;
int *p1, *p2;
p1 = &i1;
p2 = &i2;
cout << p1 << endl;
cout << p2 << endl;
cout << *p1 << endl;
cout << *p2 << endl;
cout << endl;
swap(p... | [
"imsytu@163.com"
] | imsytu@163.com |
bc4fb2c72a15e6af5354b31931de28184ef4f1b3 | 9716c8da6f3e7109520e8c09de0aef7e7da7ddfd | /exercise/week5/ex7.cpp | ae8296c6fe6fb16cda03ac9d56ad3a1bac8eebe1 | [
"MIT"
] | permissive | pureexe/SCSU-compro1 | 8646538dadcaac073f83d2e91d4ad60c863df359 | b758d069737a79e6b1e5e558a1e5d53defc9785a | refs/heads/master | 2020-12-04T23:25:21.709700 | 2016-12-07T06:30:43 | 2016-12-07T06:30:43 | 66,134,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | /*
Author: Pakkapon Phongthawee
Copyright all reserved (2016)
LANG: CPP
*/
#include<iostream>
using namespace std;
int main(){
int a;
cin >> a;
cout << (a<0?"":"positive");
return 0;
}
| [
"me@pureapp.in.th"
] | me@pureapp.in.th |
def9bd766832597e6ad836ff4c42219217f134b2 | 888ff1ff4f76c61e0a2cff281f3fae2c9a4dcb7b | /C/C200/C280/C289/1.cpp | 32507e362ab59a08ed8fec955fa0f7d48a9f1ac0 | [] | no_license | sanjusss/leetcode-cpp | 59e243fa41cd5a1e59fc1f0c6ec13161fae9a85b | 8bdf45a26f343b221caaf5be9d052c9819f29258 | refs/heads/master | 2023-08-18T01:02:47.798498 | 2023-08-15T00:30:51 | 2023-08-15T00:30:51 | 179,413,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | /*
* @Author: sanjusss
* @Date: 2022-04-17 10:27:58
* @LastEditors: sanjusss
* @LastEditTime: 2022-04-17 10:36:21
* @FilePath: \C\C200\C280\C289\1.cpp
*/
#include "leetcode.h"
class Solution {
public:
string digitSum(string s, int k) {
string t;
while (s.size() > k) {
int n = s.si... | [
"sanjusss@qq.com"
] | sanjusss@qq.com |
d80178bc20220fb880c6d5acf13a8031c746a3cc | fd67b98f57273d307a71030ab67a37045b9ed7de | /Codechef/SQRDSUB - Squared Subsequences.cpp | d49f5567a24bef36b77486e2d9536ce4d3ec6aa9 | [] | no_license | ngandhi369/Competitive_Programming | 5c16012b0074b2c36648bdcdc544c71d4699b93f | abb39c8903e49da2e7415501c3b011e21dc73c2f | refs/heads/master | 2023-01-02T06:38:43.848913 | 2020-10-28T18:21:58 | 2020-10-28T18:21:58 | 286,952,040 | 0 | 0 | null | 2020-09-18T09:39:01 | 2020-08-12T07:53:28 | C++ | UTF-8 | C++ | false | false | 1,039 | cpp | #include<bits/stdc++.h>
using namespace std;
long long fun(long int arr[],long int n, int sum)
{
unordered_map<long int,long int> prevSum;
long long res = 0;
int currsum = 0;
for (int i = 0; i < n; i++) {
currsum += arr[i];
if (currsum == sum)
res++;
if (prevSu... | [
"gandhinirdosh@gmail.com"
] | gandhinirdosh@gmail.com |
7a89d2cce8cd94783b4948909b3ebf09b20b0604 | 1e5c874a1e72501ae9c6998ec02c40a4fca615a6 | /processSyncMessage.ino | 5431e3b9bc844c6feb24cae7328121c2d35ac5b5 | [
"MIT"
] | permissive | morlac/GLCD_Clock | 7cdf2140e7a09b498443734b80f36506fb9cefcd | 3a2d846b3d6dd44e821fdc6b07f3cdfcc0594d71 | refs/heads/master | 2021-01-19T00:08:14.699075 | 2015-08-05T18:46:34 | 2015-08-05T18:46:34 | 40,262,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | ino | #define TIME_MSG_LEN 11 // time sync to PC is HEADER followed by Unix time_t as ten ASCII digits
#define TIME_HEADER 'T' // Header tag for serial time sync message
/*
echo T$(($(date +%s)+60*60)) > /dev/cu.usbserial-A1017SEK
echo T$(($(date +%s))) > /dev/tty.usbserial-A1017SEK
*/
#define TIMEZONE_MSG_LEN ... | [
"morlac@morlac.de"
] | morlac@morlac.de |
60976e1e7e68815b447d01e112cbde5f529c3716 | 50a7537288b25cf9208e4f123a5f96eb97b190e4 | /chuong01/bai108.cpp | edf736e009c6ca8d38d8efd9d2ea82ae71f43bec | [] | no_license | huynh-vch/code_c | 3e5d47ba88cd8512d28128df74ae6217ea460653 | 60e7d31ef8208b26f6ac4ea9ce7cffbea3d4b149 | refs/heads/master | 2023-04-23T20:29:47.386195 | 2021-04-27T07:26:48 | 2021-04-27T07:26:48 | 333,358,599 | 0 | 0 | null | 2021-04-27T07:26:49 | 2021-01-27T08:51:18 | C++ | UTF-8 | C++ | false | false | 448 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int main()
{
cout << "Bai 108: " << endl;
int x;
cout << "x = ";
cin >> x;
float S = 0;
float T = 1;
float M = 1;
int i = 1;
float e = 1;
while (e >= pow(10, (-6)))
{
T = T * x;
M = M * i;
e ... | [
"20520015@gm.uit.edu.vn"
] | 20520015@gm.uit.edu.vn |
26c2b87e1621a5bcc4225d6ac2c04fd20b4a50e3 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE476_NULL_Pointer_Dereference/CWE476_NULL_Pointer_Dereference__int_74a.cpp | ddda98ac1c4e53b06bb4ab0fe2883620d282094e | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 2,727 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE476_NULL_Pointer_Dereference__int_74a.cpp
Label Definition File: CWE476_NULL_Pointer_Dereference.label.xml
Template File: sources-sinks-74a.tmpl.cpp
*/
/*
* @description
* CWE: 476 NULL Pointer Dereference
* BadSource: Set data to NULL
* GoodSource: Initial... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
383733945e2292304ff1e0bc4e9dd9dbc71d12c8 | 6ee33e71f489e53f3f88fc7108ad9d8c07a80733 | /PythonProject/wrapped.h | cbc5e4cd02ff2a2ea67050230399b88bcbeb71bd | [] | no_license | eren-kemer/BakkesMod2-Plugins | 41bfcf98b6ad6dde07443f985f9f46700112d748 | 869003f79944d366bdf7fbb6b2a35c1bd2e36012 | refs/heads/master | 2021-12-02T16:16:30.130868 | 2021-05-04T13:22:34 | 2021-05-04T13:22:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141,762 | h | #pragma once
#define BOOST_PYTHON_STATIC_LIB
#include "boost/python/detail/wrap_python.hpp"
#include <boost/python.hpp>
#include "bakkesmod/wrappers/includes.h"
#include "bakkesmod/wrappers/replayserverwrapper.h"
#include "bakkesmod/wrappers/arraywrapper.h"
using namespace boost::python;
//BOOST_PYTHON_MEMBER_FUNCTI... | [
"chris.m@live.nl"
] | chris.m@live.nl |
d6a8ed669d1779822a68adc77856c408118fbe99 | 106c619c72f73ad9e3bd8646611b2df76ef94240 | /solutions/PALL01.cpp | f34edd62259b1c6f5e3247d3151df27981286615 | [] | no_license | swapnanilpathak/codechef_solutions_beginner | 9ab64f3d0488dee3cb9f1fa58691737a0322c34e | 28745a8b84bbfba59f633fa8cb8190c818ab68ca | refs/heads/master | 2020-04-15T23:29:59.122205 | 2019-05-29T09:02:17 | 2019-05-29T09:02:17 | 165,107,909 | 1 | 2 | null | 2019-05-29T09:02:18 | 2019-01-10T18:07:39 | C++ | UTF-8 | C++ | false | false | 388 | cpp | #include <iostream>
using namespace std;
int reverseNum(int num){
int digit;
int rev =0;
do{
digit = num%10;
rev = (rev*10) + digit;
num = num/10;
}while(num!=0);
return rev;
}
int main(){
int T;
cin>>T;
while(T--){
int n=0;
cin>>n;
int r = reverseNum(n);
(n==r... | [
"42994624+swapnanilpathak@users.noreply.github.com"
] | 42994624+swapnanilpathak@users.noreply.github.com |
735d87be71964193ed7c6e3f7abe848d6bf9686f | 5ee7b59b955ebde297f0dd924382a96a79771681 | /plnrcmbd/CrdPlnrCli/PnlPlnrCliDetail_blks.cpp | f92fe41a53fb8490248487914008adde62ede868 | [] | no_license | epsitech/planar | a3b22468e6718342218143538a93e7af50debee0 | e97374190feaf229dac4ec941e19f6661150e400 | refs/heads/master | 2021-01-21T04:25:32.542626 | 2016-08-07T19:20:49 | 2016-08-07T19:20:49 | 48,572,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,010 | cpp | /**
* \file PnlPlnrCliDetail_blks.cpp
* job handler for job PnlPlnrCliDetail (implementation of blocks)
* \author Alexander Wirthmueller
* \date created: 4 Dec 2015
* \date modified: 4 Dec 2015
*/
/******************************************************************************
class PnlPlnrCliDetail::VecVD... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
85c5b053da29cb831d86fc8a337c2063dcb48b31 | c0ae20429d7b187fcbede380a370c7a02a0ef11c | /src/DocImages/CImageDemoDoc.h | 2753e417736f209efc9ed66f0e580dc5e6d5c388 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | stephensmitchell-forks/Kapsul3D | 10fc01c051caa9184921fd0000c3cd2953948746 | 87d64d57590b8cf72bc36b3fca27474a33491fa1 | refs/heads/master | 2021-09-06T11:43:37.361611 | 2018-02-06T05:56:59 | 2018-02-06T05:56:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | h | // CImageDemoDoc.h : interface of the CCImageDemoDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CIMAGEDEMODOC_H__CD874C0E_8ADC_11D2_9D51_02608C7A0EC4__INCLUDED_)
#define AFX_CIMAGEDEMODOC_H__CD874C0E_8ADC_11D2_9D51_02608C7A0EC4__INCLUDED_
//#include "..\ima... | [
"cedric.guillemet@gmail.com"
] | cedric.guillemet@gmail.com |
74a07e018f5d4b5f2848224be34361965217804a | 5f5de52cc54a626ee152c884596a9dc4416abdd2 | /raytracerLinux/util.cpp | 45e3c1b36d4eb0ea2084b8e63a0d53065b68f760 | [] | no_license | dhyeysejpal/csc418 | 8edd8fc1bdf09e21b85c64f140af52a48b9949e9 | bc3310082c563f4870c39705ca6a6302f9b40b16 | refs/heads/master | 2020-03-30T14:30:43.233558 | 2015-03-28T20:12:53 | 2015-03-28T20:12:53 | 32,417,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,796 | cpp | /***********************************************************
Starter code for Assignment 3
This code was originally written by Jack Wang for
CSC418, SPRING 2005
implementations of util.h
***********************************************************/
#include <cmath>
#include "util.h"
... | [
"g3dhyey@cdf.toronto.edu"
] | g3dhyey@cdf.toronto.edu |
cd11db7f620e36f34c4e8d5103fd6cb1556371b1 | 85c5b445a0d1ff5264f0b55e4fa81e87dfca4c66 | /cf/cf1288/C/C.cpp | a01f3c050a3c32ea93ef7729a47097ad5819fa9e | [] | no_license | ruanluyu/AtCoder | f3f3c8e47f97eb250cce43ace97942dc1ce0c906 | e34e644bd50fb20cad3c07aabb0478036cdcb9c2 | refs/heads/master | 2020-05-27T14:52:34.502755 | 2020-03-02T08:08:47 | 2020-03-02T08:08:47 | 188,670,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,502 | cpp | #include<bits/stdc++.h>
using namespace std;
#define REP(i,n) for(long long i=0;i<(n);i++)
#define REP1(i,n) for(long long i=1;i<=(n);i++)
#define REP2D(i,j,h,w) for(long long i=0;i<(h);i++) for(long long j=0;j<(w);j++)
#define REP2D1(i,j,h,w) for(long long i=1;i<=(h);i++) for(long long j=1;j<=(w);j++)
#define PER(i,n)... | [
"zzstarsound@gmail.com"
] | zzstarsound@gmail.com |
ec20d8b46ce46279bc50d0e1d7b3ef135e5889a7 | 6243d614e456bc84c8884e3b086a01d553d5eb81 | /Air-Engine/src/Engine/IO/Window.hpp | b00a966f35c2b37e856cf107cb895e3ee4c578b9 | [
"Apache-2.0"
] | permissive | Hyxogen/Air-Engine | c1e9e67c609c2288bff6f125509b63f62eb80742 | a33d0b5bba3b6b71e125c40212a72115c2f73958 | refs/heads/development | 2022-01-14T23:15:57.426266 | 2021-09-08T10:06:46 | 2021-09-08T10:06:46 | 342,632,071 | 0 | 0 | Apache-2.0 | 2021-09-08T09:55:04 | 2021-02-26T16:20:36 | C | UTF-8 | C++ | false | false | 597 | hpp | #pragma once
namespace engine {
namespace io {
class Window {
protected:
int32 m_Width, m_Height;
const wchar_t* m_Title;
Window(const wchar_t* title, int32 width, int32 height) : m_Title(title), m_Width(width), m_Height(height) {}
public:
virtual ~Window() {};
virtual bool Initialize() = 0;... | [
"daansander02@outlook.com"
] | daansander02@outlook.com |
e160b0071e8574daa85c890d2e4e551ac20cffee | d02554d10f99e1751698adc7cfae09f5ebaf8047 | /evalRPN/main.cpp | edec4b807da1d59674655edf711a709c9646689e | [] | no_license | Simon-Fuhaoyuan/LeetCode-100DAY-Challenge | 44373b5e05397e5d0d9e040eba312cd1a46c733d | 860d8b801fde1caea91b6847f319c5e5eccf9b89 | refs/heads/master | 2022-07-28T03:06:36.993920 | 2022-07-22T09:16:27 | 2022-07-22T09:16:27 | 228,839,990 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | #include <stack>
#include <string>
#include <vector>
#include <iostream>
using namespace std;
class Solution {
public:
int evalRPN(vector<string>& tokens) {
stack<int> buffer;
int op1, op2;
for (int i = 0; i < tokens.size(); ++i) {
if (tokens[i].length() > 1)
buf... | [
"44106243+Simon-Fuhaoyuan@users.noreply.github.com"
] | 44106243+Simon-Fuhaoyuan@users.noreply.github.com |
31b2b29b39f73315d914ac7443704841495c3c1c | f699576e623d90d2e07d6c43659a805d12b92733 | /WTLOnline-SDK/SDK/WTLOnline_UI_HUD_Inventory_Slot_classes.hpp | 16ab36ec7afe9d35d9881b609573d1b5dff0002d | [] | no_license | ue4sdk/WTLOnline-SDK | 2309620c809efeb45ba9ebd2fc528fa2461b9ca0 | ff244cd4118c54ab2048ba0632b59ced111c405c | refs/heads/master | 2022-07-12T13:02:09.999748 | 2019-04-22T08:22:35 | 2019-04-22T08:22:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,051 | hpp | #pragma once
// Will To Live Online (0.57) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "WTLOnline_UI_HUD_Inventory_Slot_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
f4fe48012ebc57725a709198423f6961cd0e44fd | 9cd6838e721eea1066c8bb6bc06b3982502ae33d | /c_shizzle/mpi_derived_dtypes.cpp | 4ec7d68f313629bf7ef3f5a7ead5d813e943cb02 | [] | no_license | v0dro/scratch | 8b1b5246f07b61b6f029612848cd1d828a211ed6 | bdb2e4082247862478d3f9f9fdc7110e774cee99 | refs/heads/master | 2023-04-08T18:00:14.672742 | 2023-03-18T06:58:22 | 2023-03-18T06:58:22 | 31,577,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,624 | cpp | #include "mpi.h"
#include <cstdlib>
#include <boost/any.hpp>
#include <vector>
#define MASTER 0
class Dense
{
public:
int dim[2];
double *data;
Dense() {};
Dense(int nrows, int ncols)
{
dim[0] = nrows;
dim[1] = ncols;
data = (double*)malloc(nrows*ncols*sizeof(double));
for (int i = 0; i ... | [
"sameer.deshmukh93@gmail.com"
] | sameer.deshmukh93@gmail.com |
214d69434036d08d7e60c8127bdf66bcef3f40de | 4949b75d479c369b125880b9646b47e4ce9b8e7c | /big factorial.cpp | 3fac1d787f1e8d92236f5025c24a7c739956fd82 | [] | no_license | abhayrai8299/HackerRankCodechefcode | af7406419e7ad6e3fb6cad05a59ef88a0bd0a4d1 | 0405d725113316254a785e21d711d4de04a28ca9 | refs/heads/master | 2022-09-18T12:58:22.953469 | 2020-05-30T06:27:53 | 2020-05-30T06:27:53 | 268,018,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | #include<iostream>
int main()
{
int fact (int A)
int B ;
B= A*(A-1);
return B;
return 0;
}
| [
"abhay.rai122@gmail.com"
] | abhay.rai122@gmail.com |
fa87e1c42ac78a37312236967d09c6be74a433e6 | 46f2e7a10fca9f7e7b80b342240302c311c31914 | /opposing_lid_driven_flow/cavity/0.0584/p | 83a0e3b93ca713c938ff15babd5f4d09b0d36c3a | [] | no_license | patricksinclair/openfoam_warmups | 696cb1950d40b967b8b455164134bde03e9179a1 | 03c982f7d46b4858e3b6bfdde7b8e8c3c4275df9 | refs/heads/master | 2020-12-26T12:50:00.615357 | 2020-02-04T20:22:35 | 2020-02-04T20:22:35 | 237,510,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,293 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"patricksinclair@hotmail.co.uk"
] | patricksinclair@hotmail.co.uk | |
e54550bdf80ab299b61a9b86a27e34d16c9e0bc5 | 791efd079bff8cbf6ce2e9a802ff9a89e2fe499b | /ExternalSortLargFile/ExternalSort_ASCII.cpp | 76a8428139ad1e297cb452da72ec771b48cfb6a4 | [] | no_license | TaiNN1988/Algorithm | 6063673014c914ecf760492e9656b663ba6e49c9 | a77dc8110dc3019d198b840e291f46c461978f64 | refs/heads/master | 2023-01-27T13:09:30.813729 | 2020-12-08T03:51:25 | 2020-12-08T03:51:25 | 279,824,886 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,441 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <algorithm>
#include <vector>
#include <random>
#include <filesystem>
#include <chrono>
#define OPTIMIZE_EXTERNAL_SORT_USING_MIN_HEAP 1
#define ONE_MB 1048576 //1024*1024
#define ONE_GB 1073741824 //1024*1024*1024
unsigned int g_OutFileCount = 0;
cons... | [
"tai.nguyen@THLSoft.com"
] | tai.nguyen@THLSoft.com |
6518f1958b6579e186316f0b1bc220c812f94ab0 | 5b79410a289927698811daebd05effc628c9830a | /src/sprite_animation_frame.cc | cff10e06faff6e3b8ddb4ab324001c61c9b684d6 | [] | no_license | Clever-Boy/MyDoom | 37f009e5b2149625a13e6dd3dd316b95fa827db9 | 3ee1dcc022bed1eb1e2df5f95d4e94fb54bf0190 | refs/heads/master | 2020-12-24T11:09:18.937687 | 2015-01-09T22:27:31 | 2015-01-09T22:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cc | #include <stdlib.h>
#include <stdio.h>
#include "sprite_animation_frame.h"
sprite_animation_frame::sprite_animation_frame()
{
num_angles = 0;
}
void sprite_animation_frame::set_num_angles(uint8_t n)
{
num_angles = n;
}
void sprite_animation_frame::set_sprite(uint8_t angle_idx, sprite const *s)
{
if(angle_idx ... | [
"jim.lindstrom@gmail.com"
] | jim.lindstrom@gmail.com |
49418378fe6e782708da3dcb19ec18cae1679fb0 | fccfb83170dd7d21181d57d3d284cbeaa3489ee8 | /include/axis.hh | 1fe24146646016b13e7add9f92d1abc8d3c758b7 | [] | no_license | ivankp/angles_hj | 184f083192068e0f5406b4e8b60c47fd67ff290d | 894e84a62074b4aeed1a281023458e0e4456e79e | refs/heads/master | 2021-09-12T17:24:47.438753 | 2018-04-19T04:13:14 | 2018-04-19T04:13:14 | 110,157,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,076 | hh | // Written by Ivan Pogrebnyak
#ifndef IVANP_AXIS_HH
#define IVANP_AXIS_HH
#include <algorithm>
#include <cmath>
#include <utility>
#include <vector>
#include <memory>
#include <limits>
#include "type_traits.hh"
#include "catstr.hh"
namespace ivanp {
using axis_size_type = unsigned;
template <typename T>
class edg... | [
"ivan.pogrebnyak@gmail.com"
] | ivan.pogrebnyak@gmail.com |
69a37bc5f18f1675c85255a54a41d54e8c4a8f14 | a080ff8576ecdbe6111e386bcad9c7c0e17417d7 | /src/tests/MoveAround.cpp | 0c36f1979369e3fc4d730115b64a002576246491 | [] | no_license | ozkazanc/opengl-sandbox | 6d177215161ed4fef8c01d85dedda7abb14dd8c0 | 1489599cc15244e8d1ee517b3802defa05b0be05 | refs/heads/master | 2020-07-25T12:17:49.612797 | 2020-05-20T18:51:09 | 2020-05-20T18:51:09 | 208,286,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,643 | cpp | #include "MoveAround.h"
#include "Renderer.h"
#include "GL/glew.h"
#include "GLFW/glfw3.h"
#include "imgui/imgui.h"
#include "glm/gtc/type_ptr.hpp"
#include "glm/gtc/matrix_transform.hpp"
namespace test {
MoveAround::MoveAround()
:m_Proj(glm::mat4(1.0f)), m_View(glm::mat4(1.0f)), m_Model(glm::mat4(1.0f)),
m_Vert... | [
"doruk.ozkazanc@mail.utoronto.ca"
] | doruk.ozkazanc@mail.utoronto.ca |
5b78746b12d7be347e819bd6d179be3a65527226 | 0f21a67f298566a5950c52a858df72cc3fd7213a | /HDU/hdu 2719 字符替换 水题.cpp | bb32ecbc5467d69ee3d0ac21a9c457b68361f6c5 | [] | no_license | mzhinf/OJ-Code | 4e1e053142248a42a56b20ac62aac75086408b29 | 07a339604ee44341e06980551dcfcb51a225d387 | refs/heads/master | 2021-04-27T00:10:40.198258 | 2018-03-04T06:35:51 | 2018-03-04T06:35:51 | 123,762,360 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 622 | cpp | /*
字符替换
*注意:scanf("%[^\n]",str) 获取带空格字符串
*/
#include <cstdio>
#include <cstring>
char str[100];
int main(){
while(~scanf("%[^\n]",str)){
getchar();
if(strcmp(str,"#")==0)break;
for(int i=0;str[i]!='\0';i++){
switch(str[i]){
case ' ': printf("%s","%20");break;
case '!': printf("%s","%21");break;
... | [
"mazehuainf@gmail.com"
] | mazehuainf@gmail.com |
9301fea43fe0bbac223656eedbc17762381a7943 | 3716d38fc936d155b221b157fbe8fecdf4e9a915 | /src/qt/qtipcserver.cpp | a2ffd0b28ac885c6e291631ef29e084c81886881 | [
"MIT"
] | permissive | woyoeds/woyoeds | 09116322c6a6b7d8c7c3f9290e7f3a77dd659f38 | 1a08fd5eab42bdcca770e50df4e05fe58e7ac2cf | refs/heads/master | 2020-03-18T14:04:53.700537 | 2018-05-25T09:52:56 | 2018-05-25T09:52:56 | 134,828,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,908 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/version.hpp>
#if defined(WIN32) && BOOST_VERSION == 104900
#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT... | [
"woyoeds@outlook.com"
] | woyoeds@outlook.com |
61bc3993e3301a7fd44946849c5a2bc813032ebd | a9f678119a8ed6b852f30aa4c35ee8d75ee55c10 | /mergeKSortedLists.cpp | 1a92b36f47250a5e9711c471c52a2d7d3f79a25a | [] | no_license | gaolu/Leetcode | 0ae73c04be1f1cb75b499d957ed24fde78684074 | 10d1091c20b1692d9a9fa91b41d23a1f8ba9424a | refs/heads/master | 2021-01-13T02:06:45.626985 | 2014-03-18T04:26:39 | 2014-03-18T04:26:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode *mergeKLists(vector<ListNode *> &lists) {
// Start typing your C/C++ solution below
// DO NOT write int mai... | [
"gaolu.adam@gmail.com"
] | gaolu.adam@gmail.com |
c26dbbbe99b909da695083a5c6aa85255bac79a6 | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu3911/16212623.cpp | 0c1fc0dfc1d8079341a0845f0654e6cec9a2cb8e | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | cpp | /*
Pro: 0
Sol:
date:
*/
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <queue>
#include <set>
#include <vector>
#define maxn 111111
#define lson l, m , rt << 1
#define rson m + 1, r,rt << 1 | 1
#define ls (rt << 1)
#define rs (rt << 1 | 1)
#define havem int m =... | [
"zhouhai02@meituan.com"
] | zhouhai02@meituan.com |
5751f05aba8e18335df8a2200a15cae1ada5f50e | ecb324fb1afc5aeb6af1268021d7b56c71070e51 | /ACM俱乐部/大一下学期训练/第5周作业(分治)/Tournament(题解1).cpp | 5ec3dbd10969b9d69465e76869cc6fa7b34671ac | [] | no_license | WULEI7/WULEI7 | 937d74340eae8aed4256be9c1978ead5eba718e0 | d3fd49bd0463f15bf325a13f5c80aa7ca6c89f9f | refs/heads/master | 2023-04-15T09:52:05.428521 | 2023-04-07T10:40:35 | 2023-04-07T10:40:35 | 239,913,141 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | #include<bits/stdc++.h>
using namespace std;
int n,k;
int mp[1030][1030];
void t(int x)
{
if(x==2)
{
mp[1][1]=1, mp[1][2]=2;
mp[2][1]=2, mp[2][2]=1;
return;
}
t(x/2);
for(int i=1;i<=x/2;i++)
{
for(int j=1;j<=x/2;j++)
{
mp[i][j+x/2]=mp[i][j]+x/2... | [
"1119346121@qq.com"
] | 1119346121@qq.com |
04c00c567515c4bd6d2bdfae31c5485ad65939c1 | 2a17ffff49218c2ea045fc4f82b4eab367e2c7c9 | /projects/jasslua/src/fogstate.cpp | a3c6d4ffac5f392c562979356fe020a7f658d79c | [
"MIT"
] | permissive | uniqss/jasslua | d4407c7874009c1759a7f38dd12fb48e98780ac9 | 5271057dcc0a48291434c49a0c1045756d210126 | refs/heads/main | 2023-06-10T18:52:13.962620 | 2021-06-21T16:44:03 | 2021-06-21T16:44:03 | 352,121,179 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23 | cpp | #include "fogstate.h"
| [
"uniqs@163.com"
] | uniqs@163.com |
a5d85f86f96ce8d0af63de07e5bc2a9b00bc12a1 | 79c95b31a5c00296bfd272cc332fead77303aa3d | /Compiladores/LexicalAnalyzer.cpp | 64e5f94ed38799929b6e94d5bd5c60050c046bdb | [] | no_license | paivao/Compiladores | 37735bb15c865a71c064e895d12cac7362251a9d | daa234ea8c2de3dd28096bcbc7932ccac9335a54 | refs/heads/master | 2021-01-11T07:27:08.423241 | 2016-10-05T05:55:04 | 2016-10-05T05:55:04 | 69,764,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,569 | cpp | #include "stdafx.h"
#include "LexicalAnalyzer.h"
#include <cctype>
#include <string>
LexicalAnalyzer::LexicalAnalyzer()
{
nextChar = ' ';
currentLine = 1;
}
LexicalAnalyzer::~LexicalAnalyzer()
{
if (sourceCode.is_open())
sourceCode.close();
}
bool LexicalAnalyzer::OpenSourceFile(const std::string & filename)
... | [
"08.paiva@gmail.com"
] | 08.paiva@gmail.com |
f9fffc5223104667a281eb35da5b7652a4757baa | a4cb6426f98ca939d9a88baa49a24a2643fa018c | /src/activemasternode.h | ad7f8d17822a43d0860233abe0a9d5c77d032c2b | [
"MIT"
] | permissive | DeCrypt0/figurecoin | 3208b1eae213fd7e65a49bb787bad2c44dfba78e | 5002792efe2691e55ef081ebf565fb3e2836e9bb | refs/heads/master | 2020-03-25T19:11:04.531106 | 2018-08-08T12:54:27 | 2018-08-08T12:54:27 | 144,068,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The Figure Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ACTIVEMASTERNODE_H
#define ACTIVEMASTERNODE_H
#include "net.h... | [
"figurecoin@gmail.com"
] | figurecoin@gmail.com |
cb8bc0d1d2cd37e8b52c86371fbc1be4989d5d33 | 0a398c797c6258cc8b25a6a5261af2a963fce2b6 | /learningTools/learningTools.cpp | be02dc328475cf0591300c89dbe9b90b8274ca86 | [] | no_license | kazura-utb/KZRevesi_Learn | d25ddc5e163b8bdc8fa5042465b2cade7eb231d8 | 874ad4484c74c27998fe18245235e6286b2bb1b6 | refs/heads/master | 2021-01-20T18:29:11.250475 | 2020-03-05T02:39:09 | 2020-03-05T02:39:09 | 60,455,270 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 54,102 | cpp | // learningTools.cpp : コンソール アプリケーションのエントリ ポイントを定義します。
//
#include "stdafx.h"
#include <stdlib.h>
#include <string.h>
#include <direct.h>
#include <Windows.h>
#include <nmmintrin.h>
#include "learningTools.h"
#include "bit64.h"
#include "type.h"
#include "board.h"
#include "rev.h"
#include "move.h"
#include "eval.h"
... | [
"kazura2008@gmail.com"
] | kazura2008@gmail.com |
6e781191086b59ecf575c542f00e27bcd6b800b5 | c2e97b1aacb1e9a7a925b60129d7171a17d4d4d8 | /libs/tbb44_20150728oss/include/tbb/scalable_allocator.h | 42472cee1965c631f3b2307bce922270bcc420a1 | [
"Zlib",
"mif-exception",
"GPL-1.0-or-later",
"GPL-2.0-only"
] | permissive | Ushio/ofxExtremeGpuVideo | 1500ba6fd57e9bca3400ebfc005e1338138345a0 | 0842679c0cba590cc13f4a401887e8e3a3a3311c | refs/heads/master | 2022-05-04T17:36:10.936866 | 2022-04-22T05:50:17 | 2022-04-22T05:50:17 | 55,229,467 | 63 | 7 | Zlib | 2022-04-22T05:50:17 | 2016-04-01T12:06:13 | C++ | UTF-8 | C++ | false | false | 12,129 | h | /*
Copyright 2005-2015 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks. Threading Building Blocks is free software;
you can redistribute it and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundat... | [
"ushiostarfish@gmail.com"
] | ushiostarfish@gmail.com |
4a75ba896830a837a64812b4300ed543f937fe79 | 6f15cc1c4bdd38b5fdc8f54f61a58aee014cb57b | /Source/InteractableObjects/IO_PickupObject.h | 76bf8fcf3bb5f25bd8a642bd52fc9126135f5cbb | [] | no_license | Solicio/HomeInvasion | 1ae86f592ad6a817cabe7b4d1a79da500463400d | 23d8af81f20b40810978ec72e46bc1e849c8dd13 | refs/heads/master | 2021-01-21T10:22:33.000274 | 2017-02-28T10:30:35 | 2017-02-28T10:30:35 | 83,419,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,050 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Perception/AISense_Hearing.h"
#include "Perception/AIPerceptionStimuliSourceComponent.h"
#include "InteractableObject.h"
#include "IO_PickupObject.generated.h"
/** Struct of the GUID and location of saved/loaded pi... | [
"JoarHedvall@gmail.com"
] | JoarHedvall@gmail.com |
4b91ccf088947dd3fdcd8c478db97faf78f10c05 | 02be3e052d5ff61b84aea724c2fbbef5ee90c0c9 | /images_change/images_change.cpp | 3f23f5914360eca972688ebae935b684d038f2e2 | [] | no_license | DongZhouGu/qt-vision | 0b1ab74ceae0287741e16f3a1c458adea25fa857 | 08d739e57a6896e88560f880854378797b5220c8 | refs/heads/master | 2023-01-03T16:56:44.870737 | 2020-11-01T15:24:45 | 2020-11-01T15:24:45 | 309,117,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cpp | #include "images_change.h"
/*构造函数*/
Images_Change::Images_Change()
{
}
/*报警灯切换图片的方法*/
char* Images_Change::lightChange(int index){
return(lights[index]); //返回图片的路径
}
| [
"gdz678@163.com"
] | gdz678@163.com |
83a9411e42cb432a5e2334d091b50f46158ee8f0 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /CodesNew/769.cpp | 7eec8cdb3a38b36fc996c8c7e683e13de18d81b9 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MAXN 1010
const int mod = 1e9 + 7;
const ll INF = 1e18;
string a[MAXN], b[MAXN];
set<string> s1, s2;
int main()
{
//freopen("in.txt", "r", stdin);
//freopen("out.txt", "w", stdout);
int n, m;
cin >> n >> m;
for (int i = 1; i <= n; +... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
e291bc019cdaabe2441deca88d7bb4a583e518e3 | ca84490c8fe9c5ee77f3abf5ffad9379b95a0abb | /2019.1/2019.01.24/source/wuyongtong/c/c.cpp | 88a1f1194f28ae96f2ea3a5f04338d13222fe600 | [
"ICU",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LoganJoe/training-data | 1df9dc6ef730f6c6a0130f50caed19556f5e1f87 | b77b8e7271dcb73ce96c5236c433ce557e0e16f0 | refs/heads/master | 2021-10-26T03:17:44.883996 | 2019-04-10T06:39:01 | 2019-04-10T06:39:01 | 178,348,836 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
const int N = 1e5 + 10;
int c[N][2],v[N],n,T;
int main() {
// freopen("c.in","r",stdin);
for (cin>>T;T;T--) {
memset(c,0,sizeof c);
memset(v,0,sizeof v);
cin>>n;
for (int i = 1; i <= n; i++) {
scanf("%d",&v[i... | [
"1292382664@qq.com"
] | 1292382664@qq.com |
c3c35773b3991213cd5b8d8948afe54fa75a44ff | 726cc73c0eefda58ab7db380c7fea3f436ddb862 | /BattleTank/Source/BattleTank/Public/TankTurret.h | 3c642da93395f3be8a484775e252307c102cd6fd | [] | no_license | Sooreal/04_BattleTank | 48ae2d4137c1267c9b1501205d3cc7e38022de8d | b9ea9904081c11bd4fa3b27a36f514583f0fa5ed | refs/heads/master | 2021-01-22T18:28:43.802594 | 2017-04-21T10:53:02 | 2017-04-21T10:53:02 | 85,085,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Components/StaticMeshComponent.h"
#include "TankTurret.generated.h"
/**
*
*/
UCLASS(meta = (BlueprintSpawnableComponent)/*, hidecategories = ("Collision")*/)
class BATTLETANK_API UTankTurret : public UStaticMeshC... | [
"milosdimcic@yahoo.com"
] | milosdimcic@yahoo.com |
12996a05dcf1f7d9d3b6e105fa4297a589d31c12 | 66f5e37f75db29a6e5b9151d164c87cf32457d10 | /CodeJam2012/Qualification Round/DancingWithTheGooglers/DancingWithTheGooglers/main.cpp | 6a674c2652b3700fdc00f1e9defe5044eef81e62 | [] | no_license | Jakub-Kuczkowiak/Contests | 965aa1a943c1a73d376124804b73c02d7a7f5356 | 14805753ef68c21ff05fdc95f635a6fd6fbd7531 | refs/heads/master | 2020-03-26T20:57:23.509244 | 2018-10-01T23:13:27 | 2018-10-01T23:13:27 | 145,357,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | #include <iostream>
using namespace std;
int main() {
int T;
cin >> T;
for (int t = 1; t <= T; t++) {
int N;
cin >> N;
int S;
cin >> S;
int p;
cin >> p;
int sums[101] = {};
for (int i = 0; i < N; i++) {
cin >> sums[i];
}
int answer = 0;
// we go through each triplet
for (int i = 0; ... | [
"jakubkuczkowiak@gmail.com"
] | jakubkuczkowiak@gmail.com |
a8d43d8e19d32239cedbc4667375bbfa69c07f5c | 80581441fe63a047e3d9961ea706b0b4f2199daa | /10.11/3.h | 8d4cff320c18fa2098c865832e3cfc5acd55fa2e | [] | no_license | weijunzhou/c_and_pointer | dfbe69f9156f365a389fc9b3ebdad9be33c16b1c | 09efaf74414196ef4c3e7fdae76ddcfd7e46444f | refs/heads/master | 2020-12-20T14:57:33.520590 | 2016-08-08T15:42:34 | 2016-08-08T15:42:34 | 51,679,615 | 0 | 0 | null | 2016-02-14T04:51:11 | 2016-02-14T04:29:29 | null | UTF-8 | C++ | false | false | 981 | h | /*************************************************************************
> File Name: 3.h
> Author: weijun
> Mail: 20044439@163.com
> Created Time: 2016年08月 2日 11:02:48
************************************************************************/
#include<iostream>
using namespace std;
struct MISC{
unsigned short... | [
"周卫军"
] | 周卫军 |
1b5d5571ef8d0978bae06160ef2c8ff9cb8c188c | 4e7264b1149f6edf73d0cf2e36115d0ebe6b0c41 | /图书管理系统2/_interface.h | 94e417365ae497ad3d733384f4b57ccc347688ce | [
"MIT"
] | permissive | LHTcode/LibrarySyestem | e6825fcce9df36efea8a42ec473c584c7de78f64 | cc810a962c5a6f78dc83e4e2f6eafa288910d1ba | refs/heads/main | 2023-08-25T03:32:53.105547 | 2021-10-07T03:41:44 | 2021-10-07T03:41:44 | 328,723,181 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 721 | h | #pragma once
class _interface
{
public:
std::string& FirstChoose();
void Reader_Sign_Interface();
void Administrator_Sign_Interface();
/*读者用户界面*/
void ReaderInterface();
/*管理员用户界面*/
void AdministratorInterface();
/*登陆后的用户选择*/
void ReaderChoose();
/*登陆后的用户选择*/
void AdministratorChoose();
/*返回上一级目录函... | [
"LHT13535837097@163.com"
] | LHT13535837097@163.com |
4affa9194c4fcfaa1a02ee4fccba89d0ab9ae77e | 34b54622f906738e97bd8861cdb152f30e6e961d | /Memory/mem-instance_returner.h | 082b41bfd66c6b917faed6cc9cd9f8d178ce0cf2 | [] | no_license | hsb0818/game_engine | 67fa504427b07cf175fbd91a45eb4e49b6b5b446 | 551c0a2391829df92217b5d00ee236273994cae8 | refs/heads/master | 2020-03-09T04:46:21.783330 | 2018-04-08T04:02:10 | 2018-04-08T04:02:10 | 128,595,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | h | #ifndef _MEM_INSTANCE_RETURNER_
#define _MEM_INSTANCE_RETURNER_
using namespace SOC_Memory;
static MemoryPool<MIN_EXP, MAX_EXP, BUFFER_SIZE>& R_MEMORYPOOL()
{
return MemoryPool<MIN_EXP, MAX_EXP, BUFFER_SIZE>::GetInstance();
}
namespace SOC_Memory {
class BaseMP
{
public:
BaseMP() {}
virtual ~BaseMP() {}
... | [
"hsb0818@gmail.com"
] | hsb0818@gmail.com |
691895ac4cc61bdfcadcb73501a8f87f8c5f9eb9 | 002fd16f468b5185348d33432e943ad308b64534 | /Bluetooth Low Energy (LE) Generic Attribute (GATT) Profile Drivers/Solution/helpers.h | d8ed95b2f1599b923e5a70d76033bc1b080c9240 | [] | no_license | lisq789/wdk80 | 62d2e134f13236fe1766e4664ee67664626aadcb | 67e3dc8fada017ff2f49fefb9ac670a955a27e36 | refs/heads/master | 2023-03-18T18:35:56.813973 | 2013-09-21T15:44:56 | 2013-09-21T15:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,334 | h | /*++
Copyright (c) Microsoft Corporation. All rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
PURPOSE.
Module Name... | [
"u@london.org.il"
] | u@london.org.il |
ca7bceb0fa85b921cfb63d7f6df183820a0b9009 | 8567438779e6af0754620a25d379c348e4cd5a5d | /ash/wm/window_mirror_view.cc | 7b67803f202b5e83c7ba79bf850f06e1814977ab | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 3,650 | cc | // Copyright 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.
#include "ash/wm/window_mirror_view.h"
#include "ash/common/wm/window_state.h"
#include "ash/common/wm_window.h"
#include "ash/common/wm_window_property.... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
250b60aa9c9599f8e161d8af01ba82c277b02dfa | cf380d154cc66afd87c87ccf572f3900c60fc644 | /Docs/Tools/protocol/include/protoFiles/Fish.txt.pb.h | 7b1922a4b464feef3457155824c94244c9714c43 | [] | no_license | mengtest/Cards-Framework | 43f2f57e8d1b2d2e2f95a583473bde5b29ada9bd | 634e45fec5fc91b0d6193545f3b956d807aa8fd0 | refs/heads/master | 2020-12-03T02:26:25.102587 | 2017-06-16T14:16:01 | 2017-06-16T14:16:01 | 95,938,748 | 1 | 0 | null | 2017-07-01T03:07:39 | 2017-07-01T03:07:39 | null | UTF-8 | C++ | false | true | 146,921 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Fish.txt
#ifndef PROTOBUF_Fish_2etxt__INCLUDED
#define PROTOBUF_Fish_2etxt__INCLUDED
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 4127 4244 4267 4996)
#endif
#include <string>
#include <google/protobuf/stubs/common.h>
#if ... | [
"wellshsu1004@gmail.com"
] | wellshsu1004@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.