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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d504dd3c44cec1e9cada80725e4cc71d8cc160db | 86c1e9ab2e057423a571e7df566bbe71c2f7f47e | /BAB VII/ELEMENT ARRAY/Element Array.cpp | ec76273ae6dad09f0e65dd852dc7f02ed01c33e4 | [] | no_license | luthfihilmanaf/UTS_DASAR_PEMROGRAMAN | 5bb0fdf352dc83df3a1f29498593aacd0c5d0775 | a3261a8d373ffe742d4afbfff47c6eb1f42cb381 | refs/heads/master | 2020-08-31T11:30:53.007819 | 2019-10-31T04:15:58 | 2019-10-31T04:15:58 | 218,680,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include <iostream>
using namespace std;
int main()
{
cout<< "================================== " << endl;
cout<< " Luthfi Hilman Al Farizi " << endl;
cout<< " A2.1900099 " << endl;
cout<< "=================================== " << endl;
cout<< endl;
int Nama... | [
"luthfihilmanaf@gmail.com"
] | luthfihilmanaf@gmail.com |
59b02beead10a93c8aa2c60bcf446a708f7a872b | e5c6bbe97f6ef41271e7f9006adf24284dccff0d | /CS1/physics_lab1.cpp | 8dedecae2a7923b12495eed1dde9b290876cfc75 | [] | no_license | anazeneli/fordham-cs2 | 941a9c5c06cb13643edfaeff79c824825c96cf82 | 4e5ef20fde251a6d19d6ba7f818f28baf70ca4bc | refs/heads/master | 2021-01-12T01:21:11.238268 | 2017-01-20T00:11:03 | 2017-01-20T00:11:03 | 78,373,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | //
// physicslab1.cpp
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
double standard_deviation_x ( double &a,double&b, double&c,double&v,double&u,double&w);
int main()
{
double a,b,c, v, u , w;
cout<< "Enter V, delta V, u, delta u, w, delta w"<<endl;
cin>> v>>a>>u>>b>>w>>c... | [
"anazeneli1@Anas-MacBook-Air.local"
] | anazeneli1@Anas-MacBook-Air.local |
01fe03353403d25e62943ced3564be456b9b7e23 | 93320ab0e4174142eb7e07956dea7e90e601e457 | /练习/ID1047/ID1047.cpp | caae05ff13dd5f00c2ddb58a7e1b810efc26a4da | [] | no_license | xianzheTM/Test_Cpp | c302f6f2e6d276ee4b6985dc80d385c8cea8aa0d | ab9368c5f022c59e2111c934e35252c3d2d3c496 | refs/heads/master | 2021-04-06T07:10:44.958263 | 2019-06-17T07:49:40 | 2019-06-17T07:49:40 | 124,899,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | //http://222.22.91.42/view/practice/display.aspx?qid=1047#flag
#include <iostream>
#include <math.h>
#include <iomanip>
using namespace std;
int main()
{
double n, i;
double number = 0, sum = 0;
cin >> n;
for (i = 1; abs((pow(-1.0, i + 1)) * 1 / (i*(i + 1) + n)) > pow(10.0, -4); ++i)
{
number = (pow(-1, i + 1)) ... | [
"ylxianzhe@outlook.com"
] | ylxianzhe@outlook.com |
46d01a1d6049b3d65d7a6d005bfdb77e37c11bf4 | 380de7ea06addf0a41f9fa38c107a2bc122fcbb8 | /Tactics/Framework/IO/MenuList.cpp | 4eff223aca7874cf0a1f62a4fccb31d41a0c47e7 | [] | no_license | DStagg/Tactics | 4eead72fb420f92861f3a799080cb0d3d829360a | 34f6c73ca76c2dc974481758da4b601edd19a786 | refs/heads/master | 2020-03-29T14:13:52.642099 | 2018-09-23T21:58:12 | 2018-09-23T21:58:12 | 150,005,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | cpp | #include "MenuList.h"
MenuList::MenuList()
{
};
MenuList::~MenuList()
{
};
void MenuList::Populate(std::vector<std::string> list)
{
_List = list;
SetChoice(0);
};
int MenuList::GetChoice()
{
return _Choice;
};
void MenuList::SetChoice(int c)
{
if (c < 0)
c = 0;
else if ((int)_List.size() == 0)
c = 0;
el... | [
"staggy11@gmail.com"
] | staggy11@gmail.com |
3c7cdd7504f1cfc30540221e8840220088656f69 | 01bd7ed3537042a4f88ed93eddf47c19036db46a | /SouShen/Classes/Game/GameManager.cpp | 6a648f87de8352aec4c49b77883cea8fcbbb7498 | [] | no_license | Michael-Z/SouShen | f80b8df144e8171c344a6f16e5981642776f0ed4 | 8e83996e3951a0aa8e289b3c0865bc613bc6894b | refs/heads/master | 2021-01-25T12:23:50.593240 | 2013-09-24T00:53:05 | 2013-09-24T00:53:05 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 805 | cpp | #include "Config.h"
#include "GameManager.h"
namespace View
{
void GameManager::DisplayNowScene(int sID)
{
CBaseScene *actScene = NULL;
bool bFirstScene = false;
do
{
//auto it = _allScenesMap.find(sID);
//if (it != _allScenesMap.end())
//{
// actScene = _allScenesMap[sID];
// ... | [
"pope@pope.taomee-ex.com"
] | pope@pope.taomee-ex.com |
b977d3f6d16f6a5ead2627708c0f377fcc59d42d | 792ad26fd812df30bf9a4cc286cca43b87986685 | /图论/图论疯狂500题/最小生成树/HDU 1863 畅通工程.cpp | d0440c6fe44578c821d54b80cd9b38c9b1ddf639 | [] | no_license | Clqsin45/acmrec | 39fbf6e02bb0c1414c05ad7c79bdfbc95dc26bf6 | 745b341f2e73d6b1dcf305ef466a3ed3df2e65cc | refs/heads/master | 2020-06-18T23:44:21.083754 | 2016-11-28T05:10:44 | 2016-11-28T05:10:44 | 74,934,363 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <iostream>
using namespace std;
#define N 111
#define M
#define LL __int64
#define INF 0x3f7f7f7f
int f[N][N], d[N];
bool vis[N];
int n, ans;
bool prim(){
int i, j, now, loc;
for(i = 1; i <= n; i++){
d[i] = f[1][i];
}
... | [
"someway.bit@gmail.com"
] | someway.bit@gmail.com |
cd1fc686baa02f9997b32429d644689d9eeacf20 | 54c9a08deccb6ca465205b6d99554795b2c8ea19 | /Aulas/P2/9(Polimorfismo)/Aula 10/Livro_24_7_11/fig24_11.cpp | 9d43abbea129092ed4ea30af177ab4597a2850a8 | [] | no_license | PabloFreitas-lib/Prog3-UFSC-2018.2 | 2ff284bb4ec43702090b95f0745b6cef5f35f907 | 6950628e0819d4f472f4bc11b54873c0ebe76c00 | refs/heads/master | 2022-06-27T04:00:43.487131 | 2019-09-08T03:44:54 | 2019-09-08T03:44:54 | 195,102,246 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,551 | cpp | // Fig. 24.11: fig24_11.cpp
// Driver para o exemplo de herança múltipla.
#include <iostream>
using std::cout;
using std::endl;
#include "Base1.h"
#include "Base2.h"
#include "Derived.h"
int main()
{
Base1 base1( 10 ), *base1Ptr = 0; // cria objeto Base1
Base2 base2( 'Z' ), *base2Ptr = 0; // cria ... | [
"pablo.santos1999@gmail.com"
] | pablo.santos1999@gmail.com |
628161aae6f7c32648e5f496020913b1bb5ce2ee | fe2362eda423bb3574b651c21ebacbd6a1a9ac2a | /VTK-7.1.1/Imaging/Core/Testing/Cxx/ImageAutoRange.cxx | b175af24bdcf26d68128b9a08f2b997ec0acc871 | [
"BSD-3-Clause"
] | permissive | likewatchk/python-pcl | 1c09c6b3e9de0acbe2f88ac36a858fe4b27cfaaf | 2a66797719f1b5af7d6a0d0893f697b3786db461 | refs/heads/master | 2023-01-04T06:17:19.652585 | 2020-10-15T21:26:58 | 2020-10-15T21:26:58 | 262,235,188 | 0 | 0 | NOASSERTION | 2020-05-08T05:29:02 | 2020-05-08T05:29:01 | null | UTF-8 | C++ | false | false | 3,841 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: ImageAutoRange.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... | [
"likewatchk@gmail.com"
] | likewatchk@gmail.com |
211be7bfd2369642433a8f6e0276094eb4dff0dc | 7324bc957e3f7dc4dcab464ed97b4a0688fbebd1 | /LeetCode/231. Power of Two.cpp | 7b87faabce842fcc1acc4528022ce23087627d93 | [] | no_license | sungzh/leetcode | ca505c108f85bf719f667c5a283a0b6cf0238071 | de7a480bdddbb30ed1a7c59f16bcc3337ebdff5e | refs/heads/master | 2021-01-17T16:47:11.493866 | 2018-01-31T06:58:39 | 2018-01-31T06:58:39 | 63,408,814 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | /*
* Given an integer, write a function to determine if it is a power of two.
*
* Credits:
* Special thanks to @jianchao.li.fighter for adding this problem and creating all test cases.
*/
/*
* Source: https://leetcode.com/problems/power-of-two/
* Description: n&(n-1)==0 power 2
* Author: guozheng
* Data: 201... | [
"sdsxsgz@gmail.com"
] | sdsxsgz@gmail.com |
4a9b45003f6e5125d870e4cbe357df956cb65a4f | 6bcbd9c9c9cf07846eb76927804cc0b6b48247c0 | /src/third_party/webrtc/modules/audio_processing/gain_control_for_experimental_agc.h | 8f5681f0eaade01b775fcdc36f5e9673ad92bf04 | [] | no_license | haska1025/spiritbreaker | 108730c882e7b82fd1027e2efdeca8205f93e51e | 0bc5129d373e54b17084c5dfc9be05f7cc28ce74 | refs/heads/master | 2022-12-23T07:07:29.032596 | 2020-04-05T06:05:10 | 2020-04-05T06:05:10 | 176,910,696 | 5 | 3 | null | 2022-12-10T15:01:15 | 2019-03-21T09:18:25 | C++ | UTF-8 | C++ | false | false | 2,962 | h | /*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"evilwolf125@163.com"
] | evilwolf125@163.com |
cb5e4f010b89acebd939d237d2503594d9f71147 | fb0370b675eb6cce3432de4e35a8577cc3692dc9 | /UVA/1152/14535866_AC_4450ms_0kB.cpp | ccf83d5aa88cd9aae016767538f0bba4234649ce | [] | no_license | qq734628996/ac-code | 752b84911b5814d233ca1a3a9f65895acff8e678 | 9306d4c2db8d845dc5c5a1f6be723dbf6e0aae53 | refs/heads/master | 2021-08-18T11:05:00.311669 | 2020-05-29T14:08:38 | 2020-05-29T14:08:38 | 188,193,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,356 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i = 0; i < n; i++)
#define FOR(i,l,r) for(int i = l; i <= r; i++)
#define TR(e,x) for(auto e = x.begin(); e != x.end(); e++)
#define DEBUG(x) cout << #x << "=" << x << endl;
#define SHOW1(A,n) { REP(i,n-1) printf("%d ", A[i]); printf("%d\n", A[n-1]... | [
"734628996@qq.com"
] | 734628996@qq.com |
17af6f9f1c7aeee22c4adeb1104a237e26a41864 | cf4ed97d519efcc5329a48b331a2f41a99d067e9 | /3th-semester/sdp/examples/graph/bfs.cpp | d049974b08a4a73fe0dd1c4e984815e94ba5d151 | [] | no_license | tborisova/homeworks | 6a186420f036ab175231e97d6c01021d7e2b7ce5 | dc08d7b360b1337ece567deae66ad265fd83dd3e | refs/heads/master | 2021-03-27T15:41:32.735565 | 2020-05-17T15:43:59 | 2020-05-17T15:43:59 | 25,862,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | template <typename T>
void BFS(const T& a, graph<T> g, LList<T> l){
queue<T> q;
q.push(a);
l.toEnd(a);
while(!q.empty()){
q.pop(x);
cout << x << endl;
elem_link1<T>* p = g.point(x);
p = p->link;
while(p){
if(!member(p->inf, l)){
q.push(p->inf);
l.toEnd(p->inf);
}... | [
"ts.borisova3@gmail.com"
] | ts.borisova3@gmail.com |
81e63cbc27837e9d885530287b51fd27206b8e1d | 724b535ea82e5d489b8581716a428877261e70eb | /tensorflow/compiler/xla/service/hlo_evaluator_test.cc | fcba9f815d21c976a4fa65deb2826e4814594d44 | [
"Apache-2.0"
] | permissive | penguin219/tensorflow | fc039bbc4ecaa992de7fe5f7a15449b8139b15f2 | 2717bde837d0a3d75f5e0eda7cb388bd86dc710e | refs/heads/master | 2020-04-12T22:25:21.726598 | 2018-12-22T13:31:00 | 2018-12-22T13:31:00 | 162,789,250 | 0 | 0 | Apache-2.0 | 2018-12-22T06:59:00 | 2018-12-22T06:58:59 | null | UTF-8 | C++ | false | false | 100,272 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
4e19907d30adc80401d94773ac1e5a1d6348df3c | e4c1da99d66911522e9e17e4214c50971fb13f6c | /multi_alt_exp_Asqr_expE_vec_const_model.cpp | cab28164aecde179005221f756c185b7a88243fa | [] | no_license | stefanmeinel/MBF | 2184d6b3db03a3150b86c2cc77459233a304a163 | 71347d3959103f3207c4ecf4d3bb68f6adbd38f7 | refs/heads/master | 2023-07-11T16:01:16.288941 | 2023-06-27T19:48:55 | 2023-06-27T19:48:55 | 230,803,070 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,843 | cpp | #include "multi_alt_exp_Asqr_expE_vec_const_model.h"
multi_alt_exp_Asqr_expE_vec_const_model::multi_alt_exp_Asqr_expE_vec_const_model(string _E_str, string _dE_str, string _A_str, string _B_str, string _t_str, string _C_str, int n_exp, int m_exp, int n_vec)
{
E_str=_E_str;
dE_str=_dE_str;
A_str=_A_str;
B_str=_... | [
"stefan@stefanmeinel.com"
] | stefan@stefanmeinel.com |
976768df27d5640d3c4680ab742bb63be1640c77 | d22e7a298458cf2bb7fc050b59fd585cd1f7e0c4 | /source/Plugins/ScriptEnv/LuaNeuroApi/Extensions/DSP/SimpleNoise/Engine/PerlinNoise.h | 6a38462e79839062d0c24d9ed02fe3e7baf91ed5 | [
"MIT",
"CC-BY-4.0"
] | permissive | egorpushkin/neurolab | 9cad44104dcfe199aa63dd6fd9669c063e29d5e8 | 08daa763f13982d2214bbc9cd9060a0709542d7e | refs/heads/master | 2021-05-04T18:49:01.131630 | 2017-10-19T21:52:40 | 2017-10-19T21:52:40 | 106,142,310 | 2 | 0 | null | 2017-10-09T03:21:07 | 2017-10-08T01:34:09 | null | UTF-8 | C++ | false | false | 660 | h | #pragma once
namespace PerlinNoise
{
float NoisingStep(float persistence, int octaves, float zoom, int x, int y);
void Generate(unsigned int * pData, float persistence, int octaves, unsigned int width, unsigned int height, float red, float green, float blue, int seed,
float zoom);
void GenerateNormalized(... | [
"egor.pushkin@gmail.com"
] | egor.pushkin@gmail.com |
4953bb58562fd5abdc5c2e557b429501c559654f | 212c56ec5c56cbdf1e6848620e197ebf75fd9afc | /src/Bone.h | f7f4626a20d59025dc67e2a41e736f6955548533 | [] | no_license | oleynikov/Fifteen-Puzzle | 6c93df8904194c33f4218c35f4b25be8d5b15c5e | 08bb17fa12a20e10027df3b47ea7f70b5c26326f | refs/heads/master | 2020-06-06T06:59:47.085931 | 2012-11-30T14:54:58 | 2012-11-30T14:54:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | h | #ifndef BONE_H
#define BONE_H
#include <QGraphicsObject>
#include <QPainter>
#include <QPen>
#include <QBrush>
class Bone : public QGraphicsObject
{
Q_OBJECT
public:
Bone(int number) : number(number)
{
}
int getNumber()co... | [
"oleynikovny@mail.ru"
] | oleynikovny@mail.ru |
efe4a916eddb2beb139566fde8a27e0f1764877a | 036fae1cf025f6adde9d6e3fbc2e7bbf53bf3e2c | /src/solvers/multispawn2.cpp | 1693c2af15194f971061b887e6219672ffd52498 | [] | no_license | nodchip/icfpc2019 | 97b0426a2dfb540f670c25d08f8cc91d48bba022 | 715848faac647666973922b5e5cc4963ceb7d621 | refs/heads/master | 2020-06-07T19:27:49.750327 | 2019-06-24T16:13:46 | 2019-06-24T16:13:46 | 193,078,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,808 | cpp | // based on bfs5_6.cpp but paint smaller area first.
#include <iostream>
#include <limits>
#include <cctype>
#include <cmath>
#include "map_parse.h"
#include "solver_registry.h"
#include "solver_helper.h"
using namespace std;
// clone_fastが雛形。近くにあるアイテムを拾うようにする。
namespace {
struct WrapperEngine {
WrapperEngine(Ga... | [
"nodchip@gmail.com"
] | nodchip@gmail.com |
9ef9d285c2d011f4a0b9bf6d347b784dd234596e | 759f805d25b1ff9df540b94cffa0d9266d120327 | /Lab5/Exceptions.cpp | bfbdde887865c1b5660a235fae686adc92ca8300 | [] | no_license | stefana-rosca/OOP_movie | a0630ad2853bcd69581f7f4227063331c443acda | e99687eb13e648f6b8f57ea05795bc359dfe8444 | refs/heads/main | 2023-03-18T21:07:20.217422 | 2021-03-15T13:39:25 | 2021-03-15T13:39:25 | 347,983,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | #include "Exceptions.h"
FileException::FileException(const std::string& msg) : message(msg)
{
}
const char* FileException::what()
{
return message.c_str();
}
RepositoryException::RepositoryException() : exception{}, message{ "" }
{
}
RepositoryException::RepositoryException(const std::string& msg) : message{ msg }... | [
"stefanageorgia05@gmail.com"
] | stefanageorgia05@gmail.com |
e7d036866d1eda478a50d5998e8737339eec6561 | 25180e7cf630d03aab953e9d683ccc48e1bfcc94 | /src/Commands/OneStickTank.cpp | f5ebd519298e20906cdce4496cdad72b9733041d | [] | no_license | EMU4729/FRC-Library-Cpp | 8c0b11d227a2c3d0da4beb76fd1d096037787047 | 4eaeea40c3662f01bd928cf5afa08332162c109e | refs/heads/master | 2020-03-14T22:57:40.662823 | 2018-06-04T09:59:24 | 2018-06-04T09:59:24 | 131,833,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"unswfrc@gmail.com"
] | unswfrc@gmail.com |
ffc5ad0b6acd2885ede179463a09f3626ce3f0cf | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemArmor_DesertClothGloves_functions.cpp | 29bbf085aee10aa6e52bdd1e5806c2cdb4e09196 | [
"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 | 1,192 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemArmor_DesertClothGloves_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
2b6bfa184a83b09f5a8af157017c6faa48302d58 | 7711d649865cbb05d86b5985e6a1ee99a38df3b3 | /thirdparty-cpp/boost_1_62_0/libs/fiber/performance/qthread/overhead_join.cpp | df0799578d9967c17e46f3c9b2088774839c6c20 | [
"Apache-2.0",
"BSL-1.0"
] | permissive | nxplatform/nx-mobile | 0ae4ba8b5b20cf06a9396d685a35b4651c0eab02 | 0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5 | refs/heads/master | 2021-01-17T07:35:33.860681 | 2017-04-25T10:12:30 | 2017-04-25T10:12:30 | 83,760,335 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | cpp |
// Copyright Oliver Kowalke 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <cstdlib>
#include <iostream>
#include <stdexcept>
#include <string>
#include <boost/a... | [
"narongrit@3dsinteractive.com"
] | narongrit@3dsinteractive.com |
70ddaf4147f567dc99e48f10678e3f13fce626a2 | 308cf795ddafc667910885c5149ac88df8afc0e3 | /ElectricMeter.cpp | 61be02a12276c831c7cd12f74b78fb3cbd7e4c5c | [
"MIT"
] | permissive | Dashark/dam0888socket | dda87be428eb03c5f853f15e4042e3f639a84443 | 4789b61b0374ba427640c98e0e0a625439298c7e | refs/heads/master | 2022-05-18T21:02:49.110670 | 2018-12-19T08:30:58 | 2018-12-19T08:30:58 | 150,042,839 | 3 | 7 | MIT | 2019-01-31T05:05:27 | 2018-09-24T01:53:18 | C++ | UTF-8 | C++ | false | false | 4,321 | cpp | #include <glib.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <modbus.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <syslog.h>
#include "json.hpp"
using json = nlohmann::json;
#include "ElectricMeter.h... | [
"minweiilovyou@gmail.com"
] | minweiilovyou@gmail.com |
0dff8e230ea20a5cd175a7fe84ca87b2a9975327 | 998d4ce1054987f24562219bd6f79c37cbaa19c2 | /Fudan/0715/B.cpp | b0b7d6b6a36987c3d00a259d711a234f7c3d8a02 | [] | no_license | tankche1/ACM-NOI | 0cedccd7f5fa53070c03cbc1845d5de06385f52b | 1cb3d1fc08493e62c5cb4396e0352abef65b93f8 | refs/heads/master | 2022-12-13T03:22:18.971576 | 2022-12-05T15:56:34 | 2022-12-05T15:56:34 | 98,779,042 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | cpp | # include<stdio.h>
# include<string.h>
# include<algorithm>
using namespace std;
int n,m;
int x1[110],y1[110],x2[110],y2[110];
int dp[17][17][17][17];
int p[4];
bool bad[17][17][17][17];
int mod=100000;
int main(){
int tcase,tnum=0;
scanf("%d",&tcase);
while(tcase--){
printf("Case %d: ",++tnum);
s... | [
"15307130191@fudan.edu.cn"
] | 15307130191@fudan.edu.cn |
2d7084f2a90d0a3ff64392e877196f8ae2c1923f | 310a5db163b59cd83faa89464e412701fc9593ad | /CoinsServer/RobotManager.h | c9b8d7bdf3537a7fc78439ae9f95f9520b0fa549 | [] | no_license | chinabin/XTMJ | f97303818d408044a3c016e3f52d46d3a28d990e | 0dcc703b51dc869c3c041e145875f4b9f23a46b4 | refs/heads/master | 2021-10-09T15:20:23.322133 | 2018-12-30T12:07:51 | 2018-12-30T12:07:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | #ifndef _ROBOTMANAGER_H
#define _ROBOTMANAGER_H
#include "LSingleton.h"
#include "Robot.h"
class RobotManager :public LSingleton<RobotManager>
{
public:
RobotManager(void);
~RobotManager(void);
virtual bool Init();
virtual bool Final();
void Tick();
RobotPtr CaptureRotot();
void ReleaseRotot(... | [
"jlj0316@126.com"
] | jlj0316@126.com |
37e85dd8dfdc982c0920af8ec46f30717ec3d4e1 | 4d42762ddb5034b84585170ca320f9903024fa7f | /build/iOS/Debug/include/Uno.Text.StringBuilder.h | 2c7c0c1620b0d6907e6c12daf30f3028b502838b | [] | no_license | nikitph/omkareshwar-ios | 536def600f378946b95362e2e2f98f8f52b588e0 | 852a1d802b76dbc61c2c45164f180004b7d667e6 | refs/heads/master | 2021-01-01T18:58:16.397969 | 2017-08-01T18:53:20 | 2017-08-01T18:53:20 | 98,473,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,792 | h | // This file was generated based on '/Users/Omkareshwar/Library/Application Support/Fusetools/Packages/UnoCore/1.1.3/source/uno/text/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Uno{namespace Text{struct StringBuilder;}}}
namespace... | [
"nikitph@gmail.com"
] | nikitph@gmail.com |
3d8adc601cd807cd8fc648b3d3e8663648ab737a | b9f513613df111975088d95315ab2fb69f63bb0c | /perception_oru/ndt_map/src/ndt_map.cpp | a6a8048270f3bd73629e0de45da660af45d03298 | [] | no_license | waldt/slam | c1f700fc5401d55e0e129c6f88f693c3534918b5 | ec251030a938b1dbae611f35575e6a7e73a7624a | refs/heads/master | 2020-03-11T14:25:20.470099 | 2018-04-18T00:41:55 | 2018-04-18T00:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,407 | cpp | #include <Eigen/Eigen>
#include <pcl/point_cloud.h>
#include <pcl/features/feature.h>
#include <pcl/common/common.h>
#include <string>
#include <climits>
//#include <ndt_map/oc_tree.h>
#include <ndt_map/ndt_map.h>
#include <ndt_map/lazy_grid.h>
#include <ndt_map/cell_vector.h>
#include <cstring>
#include <cstdio>
n... | [
"j.z.feng@foxmail.com"
] | j.z.feng@foxmail.com |
4cfb7439c267e53c130dd3382834f0285871029d | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/UpdateTableObjectsResult.h | 880c91a034580b2ca11203c6f6f28910b2e1304e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 798 | 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 |
61a0455e2a82e1c79c662d4f41feec5dddfc14d8 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/common/extensions/chrome_extension_messages.h | cd1b5cc11691effa6cf11006aaa23e3bf1339b18 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,392 | h | // 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.
// Chrome-specific IPC messages for extensions.
// Extension-related messages that aren't specific to Chrome live in
// extensions/common/extension_messag... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
ab4d85af81f4c8a6952d0603d0a138f1503609b6 | 333cfc4c57f9ab33f5e7c1ee9730afcab2b9eee1 | /examples/readDC/readDC.ino | 8b58f00b0c6baaffbd56cc1e4dec433851397c32 | [
"MIT"
] | permissive | tremaru/iarduino_ACS712 | fc367db3cd5f00ce43480574bf698ea1520c80d4 | 98d380f3f8aade6607bacb3f851d67e1820a74e3 | refs/heads/master | 2020-05-25T15:19:28.215777 | 2019-10-17T15:43:24 | 2019-10-17T15:43:24 | 187,866,086 | 0 | 1 | null | 2019-10-17T15:43:26 | 2019-05-21T15:32:08 | C++ | UTF-8 | C++ | false | false | 4,433 | ino | // // Измерение постоянного тока:
#include <iarduino_ACS712.h> // Подключаем библиотеку для работы с Trema датчиками тока.
iarduino_ACS712 sensor(A0); // Объявляем объект sensor для работы с Trema датчиком тока,
// указывая что он подключён к вывод... | [
"39560516+TremaUser1@users.noreply.github.com"
] | 39560516+TremaUser1@users.noreply.github.com |
94505ab84ea77aff10cd196a5791be76fb512719 | d1f45e28292b7b819ee7f1bea879a88d7597af14 | /gaussian_weight.cpp | e007ae8921961bd908d26b6e2d5e7f38812048dd | [
"BSD-2-Clause"
] | permissive | willxie/GeneParmesan | 81f0f1f38ada2504e9aeb8d94042d5c92bc059f6 | 458fbf33003fe5573e69ea8faf1f3bc8df699396 | refs/heads/master | 2020-04-15T16:13:34.588548 | 2017-03-04T02:31:12 | 2017-03-04T02:31:12 | 41,637,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <iostream>
#include <math.h>
using namespace std;
// m = mean, s = stddev, x = target point
double calculateGaussianValue(double m, double s, double x) {
return ( 1 / ( s * sqrt(2*M_PI) ) ) * exp( -0.5 * pow( (x-m)/s, 2.0 ) );
}
int main(int argc, char *argv[]) {
double x = 0;
double m = 0;... | [
"williamgxie@gmail.com"
] | williamgxie@gmail.com |
8608f001ebbff3b6bfca24f430f52333081827c0 | fcddb939ac434d1397701a741df43662caebe392 | /c++/123.cpp | a5cd90a4122e45469c141bfc5d69f3b778580cb2 | [] | no_license | kjsr7/coding | f93cfe2a2bd6de0f06b94af3c0ac82af8d2ec668 | 35ce3bdf814cf5085023707301ce93d1c073032b | refs/heads/master | 2020-03-30T19:12:14.104667 | 2018-10-23T17:08:58 | 2018-10-23T17:08:58 | 149,289,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
cout<<std::fixed;
cout<<std::setprecision(2)<<endl;
float a = 12.1212;
cout<<a<<endl;
}
| [
"kommurujaishankarreddy@gmail.com"
] | kommurujaishankarreddy@gmail.com |
1db01502d8e10df20d1cd645590be20444fe0729 | 9160d5980d55c64c2bbc7933337e5e1f4987abb0 | /base/src/sgpp/base/operation/hash/OperationEvalGradientBsplineBoundaryNaive.cpp | 1571589a4b57d722324efe928e0364e97abb5faa | [
"LicenseRef-scancode-generic-exception",
"BSD-3-Clause"
] | permissive | SGpp/SGpp | 55e82ecd95ac98efb8760d6c168b76bc130a4309 | 52f2718e3bbca0208e5e08b3c82ec7c708b5ec06 | refs/heads/master | 2022-08-07T12:43:44.475068 | 2021-10-20T08:50:38 | 2021-10-20T08:50:38 | 123,916,844 | 68 | 44 | NOASSERTION | 2022-06-23T08:28:45 | 2018-03-05T12:33:52 | C++ | UTF-8 | C++ | false | false | 3,339 | cpp | // Copyright (C) 2008-today The SG++ project
// This file is part of the SG++ project. For conditions of distribution and
// use, please see the copyright notice provided with SG++ or at
// sgpp.sparsegrids.org
#include <sgpp/globaldef.hpp>
#include <sgpp/base/operation/hash/OperationEvalGradientBsplineBoundaryNaive.h... | [
"julian.valentin@ipvs.uni-stuttgart.de"
] | julian.valentin@ipvs.uni-stuttgart.de |
962379cbe6c680fe897fcc2584df8f69b083dbf1 | 484ec4d1331b94fe9c19fd282009d6618e9a1eef | /Real-Time Corruptor/BizHawk_RTC/waterbox/libsnes/bsnes/snes/chip/armdsp/disassembler.cpp | ae6fc6438cb34e1a55243921bb567b2b031c70d4 | [
"MIT",
"GPL-1.0-or-later"
] | permissive | mguid65/RTC3 | a565303fdfd1807a2516be5752c7b30a8be3d909 | 4082eb302f8e6e20ba621ec70308dab94985fe7f | refs/heads/master | 2020-04-13T16:57:31.933643 | 2018-12-31T16:03:39 | 2018-12-31T16:03:39 | 161,684,492 | 0 | 0 | MIT | 2018-12-13T19:19:17 | 2018-12-13T19:19:17 | null | UTF-8 | C++ | false | false | 9,311 | cpp | #ifdef ARMDSP_CPP
string ArmDSP::disassemble_opcode(uint32 pc) {
static string conditions[] = { "eq", "ne", "cs", "cc", "mi" ,"pl", "vs", "vc", "hi", "ls", "ge", "lt", "gt", "le", "" /*al*/, "nv" };
static string opcodes[] = { "and", "eor", "sub", "rsb", "add", "adc", "sbc", "rsc", "tst", "teq", "cmp", "cmn", "orr... | [
"philtre@live.ca"
] | philtre@live.ca |
48d3017996d0856a0d13bcb58eb77106623451e2 | 16fd0cbc6a4712cd36f5ac9d33b0ceb1b8423876 | /ProtoBuffer/ThirdParty/include/google/protobuf/wire_format_lite.h | be984c4d5ca8db4c1fc0aa2b07d9e072df397bfc | [] | no_license | tangheng0510/Protobuffer_UE4 | 7720010ecca10421fa9edd2ffb0185b51dcaf961 | 23fd85258935c8fce0d3e1579ff0316871f2522d | refs/heads/master | 2021-09-05T07:13:08.474582 | 2018-01-25T04:06:09 | 2018-01-25T04:06:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,201 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"731796991@qq.com"
] | 731796991@qq.com |
8a09515f6ccaecb0c5d3df7eec52335d7953007d | 57a80e640b2d38251b3bc648c0fc00246bb27dd4 | /src/linAlg/random.h | e841e1c645f225f08f1175f3890d3f8610c6f32c | [] | no_license | williammacke/GraphConvolutionalNetworks | eb7ec62cee27e8a54b0e33852e330912c8bad60b | 90d65d6a91e92bf2ec630ec9c9937a6d9438cc36 | refs/heads/master | 2023-01-25T01:14:29.328497 | 2020-12-10T19:25:44 | 2020-12-10T19:25:44 | 312,414,756 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | h | #ifndef RANDOM_H_
#define RANDOM_H_
#include "curand.h"
#include "curand_kernel.h"
#include "linAlg/matrix.h"
__global__ void initCurand(curandState_t *state, unsigned long seed, size_t n);
template <class T>
__global__ void randomize_data(curandState_t *state, T* out, size_t n, float p) {
int idx = threadIdx.x +... | [
"wm7633@tuxedo.ices.utexas.edu"
] | wm7633@tuxedo.ices.utexas.edu |
e4aaa83abe2c6b9840b469521cbe543307eb0284 | 1c011b50adafe6bb0123f815b229b6898702f360 | /src/test/bits7global.cpp | d44675f375d2f1de52b33a7e45d475565f147391 | [] | no_license | kellen/bitvector-masters | c5d50459e6a212cd4d65bbb75ebaddbf26b62260 | 089245f7ad019c7c4facc475e15b45ebf6577570 | refs/heads/master | 2021-01-21T19:35:05.181542 | 2015-03-11T16:18:52 | 2015-03-11T16:18:52 | 23,480,772 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include "test.h"
#include "bitvec/branch.h"
#include "bitvec/propagator.h"
using TestSBox::TestBit;
using BV::BIT_VAR_NONE;
using BV::BIT_VAL_RND_BIT;
using namespace Gecode;
TestSBox::BitS7Global::BitS7Global() : TestBit() {
#include "model/setup.cpp"
#include "model/bitvec/s7global.cpp"
Rnd r(1U);
... | [
"kellen@cretin.net"
] | kellen@cretin.net |
9e8375949ed94f4fceb6fa5745a52f8fc8361e0b | 62ad66b61faf430f0df79822e4a34764ca9cf9d7 | /tensorflow/compiler/xla/service/while_loop_concat_code_motion_test.cc | 78b386ac6f5e2b52e1f68e7a3cea161cdffffb0a | [
"Apache-2.0",
"MIT",
"BSD-2-Clause"
] | permissive | sx-aurora-dev/tensorflow | 813b8d6b5dafef28d370ec69499fce878128095b | b7db2836866d9d066b53128e42ba315b1a196cc5 | refs/heads/r2.5-ve | 2023-04-07T13:25:08.296719 | 2021-08-29T23:39:57 | 2021-08-29T23:39:57 | 190,295,991 | 9 | 4 | Apache-2.0 | 2023-03-25T00:56:26 | 2019-06-04T23:57:04 | C++ | UTF-8 | C++ | false | false | 20,319 | cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
00add0cd934925cf0098cc1a3176862bd6751cc5 | 024a91f6f2739e8d9707359805350d513afdf6d9 | /src/rendering/renderTarget.hpp | 5a801c3dc2fe293f7c21e6a40f1753b6d0e2ed50 | [
"MIT"
] | permissive | cappah/CGFX5 | 09ff275f87f29bddd67618faf7d82e9ac2ed5439 | fb7c6a7bd6a984e7c38f60e3293c355505501b08 | refs/heads/master | 2020-03-07T03:14:55.166917 | 2018-03-29T00:48:09 | 2018-03-29T00:48:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | hpp | #pragma once
#include "renderDevice.hpp"
#include "texture.hpp"
class RenderTarget
{
public:
RenderTarget(RenderDevice& deviceIn) :
device(&deviceIn),
deviceId(0) {}
// TODO: Ensure texture isn't compressed. Otherwise, render target creation fails.
FORCEINLINE RenderTarget(RenderDevice& deviceIn,
Texture& ... | [
"thebennybox@gmail.com"
] | thebennybox@gmail.com |
1a4da0bddf3de3bd6e2f9a7743a825fec18e12c5 | 5d0ed2cdd3c1e1225979ea9908f8dbf61808bfb5 | /BlockChain/Processors/BlockHeaderProcessor.cpp | 44c9d9c5e21ee009754bca4fa7c4326723e3db6d | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | emoji-king/GrinPlusPlus | 15b400a4306ab4eee42e103ca744a872f65998db | 4fe992626f9daf89528a92ed343d8af304113b4c | refs/heads/master | 2020-04-13T01:54:53.016676 | 2018-12-22T05:51:14 | 2018-12-22T05:51:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,377 | cpp | #include "BlockHeaderProcessor.h"
#include "../Validators/BlockHeaderValidator.h"
#include <Infrastructure/Logger.h>
#include <HeaderMMR.h>
#include <HexUtil.h>
#include <StringUtil.h>
BlockHeaderProcessor::BlockHeaderProcessor(ChainState& chainState)
: m_chainState(chainState)
{
}
EBlockChainStatus BlockHeaderPro... | [
"davidburkett38@gmail.com"
] | davidburkett38@gmail.com |
859e8c4a1764ac696375a1ed26d924ce9585c357 | fa050b66e529a5bd1a89c18626010bb7ce7f9710 | /USACO/1.2/ride/solve.cc | df04bb0d6f9370389df9c880109a7d18187ba41e | [] | no_license | lordidiot/CompetitiveProgramming | 3692911a89965e21a0a704bbfec518db2da2e151 | 560ba21d876b72326b92bcbf51d3a12a4312e616 | refs/heads/master | 2023-04-19T00:41:01.019786 | 2021-05-05T09:56:42 | 2021-05-05T09:56:42 | 361,330,201 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cc | /*
ID: 0xlordi1
TASK: ride
LANG: C++
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> ii;
const int MAX_N = 1e5 + 1;
const ll MOD = 1e9 + 7;
const ll INF = 1e9;
const double EPS = 1e-... | [
"calvin@arthurfong.com"
] | calvin@arthurfong.com |
dc9456003f04a824665f9f55af4ba3f95be15dc6 | 1c407359a07a9c6e38ed4ec43f051e202ad8df93 | /Atividade-5/Estacao.X/LCD.cpp | 3229bde602e7f31c89d93691e7ef5e07500c943d | [] | no_license | luizaalves/STE29008 | 5624cd25de1ba9c4a4689c1a65fe8109ec45c2f2 | 5a44432423a78ed59c0522b90eeb7292d6968d0c | refs/heads/master | 2020-06-30T13:32:31.176014 | 2019-12-09T20:50:54 | 2019-12-09T20:50:54 | 200,841,353 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | /*
* File: LCD.cpp
* Author: felipe
*
* Created on 30 de Novembro de 2019, 21:58
*/
#include "LCD.h"
LCD::LCD() {
}
| [
"felipepassoscardoso@gmail.com"
] | felipepassoscardoso@gmail.com |
99b4a157546735c2c6f6591b5296da2b784094ca | 03c7cf7a57a1a26bb21e0184642f0a5c8b0336ae | /Release/gen/webcore/bindings/V8DOMWindow.cpp | 909f2d61f195a6bdc5badaafe32f4a814af8cee8 | [] | no_license | sanyaade-embedded-systems/armhf-node-webkit | eb38a2a34e833310ee477592028905fd00a86e5a | 5bc4509c0e19cce1a64b7cab4f92f91edfa17944 | refs/heads/master | 2020-12-30T19:11:15.189923 | 2013-03-16T14:29:23 | 2013-03-16T14:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351,744 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"marian.such@ackee.cz"
] | marian.such@ackee.cz |
2833fb6b024cb9381f902d54fb222de9dbe081cc | 92494691d9de19d64254d4a5e8c59c184773906f | /src/test/timedata_tests.cpp | e6ea2e6827e7ecdfce4b40b685c9bc08b0b3439f | [
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | xagau/Placeholders-X16R | ffaad0c6b0cb24872932c6663c2d7ee4cc6c3c97 | 5f96720e1d7f5bd6d5b574d9f3c12485c265ef33 | refs/heads/master | 2022-01-24T03:58:04.558002 | 2022-01-13T22:21:18 | 2022-01-13T22:21:18 | 162,598,084 | 23 | 10 | MIT | 2021-04-23T03:09:01 | 2018-12-20T15:31:28 | C++ | UTF-8 | C++ | false | false | 1,050 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2017 The Placeholder Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
#include "timedata.h"
#include "test/test_placeh.h"
#include <boost/... | [
"seanbeecroft@gmail.com"
] | seanbeecroft@gmail.com |
c969a9996c499fe6ad2a18c2e0941f3052fa8146 | 7d855cc5a7320a0a60972e6baf546ca83ab51d62 | /cpp_04/ex03/srcs/Character.cpp | 21752e37bd2f7df273bea649ecc87a190671e46c | [] | no_license | bjacob-56/CPP | 1f6edc2b6f780424c886ca6e071c12d54d5f943e | 4c4987ea1fc8bdd0dc0416729f67316fec5a6cb7 | refs/heads/master | 2023-03-13T02:23:52.497609 | 2021-03-04T14:57:00 | 2021-03-04T14:57:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,385 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Character.cpp :+: :+: :+: ... | [
"bjacob@z4r11p7.42lyon.fr"
] | bjacob@z4r11p7.42lyon.fr |
f583e29bdaf4b5bbf5a87cd4a0321c43aff3e728 | 57b96c6b71e76fb7b45f9cc66a64638c31c29c5e | /2_example/example27_env/example27_env.ino | f5c9b3b19312d1f5b41a017ae15f52e4d75c5ce5 | [
"MIT"
] | permissive | kghrlabo/esp | 04d3b945b8964c8ad40e0d6b94f92055508e2897 | 64c3f92c90198de3171a2a394231598b9f35f078 | refs/heads/master | 2020-04-03T11:43:34.139559 | 2018-10-08T07:49:16 | 2018-10-08T07:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,125 | ino | /*******************************************************************************
Example 27: 乾電池駆動が可能なCO2センサ AMS CCS811
※ 温湿度を測定するために BME280が必要
Copyright (c) 2017 Wataru KUNINO
CCS811の消費電流が4000μAほどと大きかったので、ディープスリープ時にCCS81... | [
"xbee@dream.jp"
] | xbee@dream.jp |
1b964c00fa63774b3b0f95821fb8f28f6897fecf | 87fc4b0201c516d6fd8786562173004efa2e5178 | /CEF/wlog.cpp | 513d75919c48672075ebf395ed7a55416f5227d6 | [] | no_license | cj2013/c-c-- | fbc873837a2bb41014837f102385180d56ec5f98 | 96b4fcede0ae04879e3fbb45711a3130ede2c76a | refs/heads/master | 2020-03-17T20:34:59.911933 | 2018-07-27T02:43:14 | 2018-07-27T02:43:14 | 133,918,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp |
#include "wlog.h"
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <stdio.h>
int g_fileID;
int wlog_open(const char* fileName)
{
g_fileID = open(fileName, O_CREAT | O_WRONLY | O_APPEND);
if (g_fileID <... | [
"254642654@qq.com"
] | 254642654@qq.com |
00e7330666b5bad91c5723a28c6670ea4515a42c | be83adbbb1c153c2a1c4fe9a32217f6a0d05b344 | /subapp/parser/xhtml_parser/lexer.cpp | 2b1a7799024eb8cb42d94ec5f016db771f883864 | [
"Apache-2.0"
] | permissive | shuhaoc/logcc | a24f48891d8d257ee4b09d4e644474483fda6ed6 | 1a37cff193a567e723d89f3fd99b315b8c73eb57 | refs/heads/master | 2021-01-22T05:00:38.542911 | 2014-06-23T15:54:06 | 2014-06-23T15:54:06 | 16,105,593 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | #include <cassert>
#include "Lexer.h"
using namespace std;
namespace logcc {
namespace filter_parser {
inline bool isSpaceChar(char c) {
static string spaces = " \t\r\n";
return spaces.find(c) != string::npos;
}
inline bool isOperator(char c) {
static string operators = "&|-()";
return operators.find(c) != stri... | [
"shuhaoc@qq.com"
] | shuhaoc@qq.com |
c933c9658c53e986432e85411a7b568068e34218 | 5fc964feb7ee4256a0fd96b138363a6323be50c7 | /Teaching-ArenaSimulation/staff.cpp | 90735e7222c88af6214829439584e272e3a0eeab | [] | no_license | dhasl002/teaching_assistant_development | 5981da126c1f922d487ede8b3130d50cb99df08c | 54a683b3292765c7bb99f7b57a32bdaa7a68c869 | refs/heads/master | 2020-07-29T19:12:00.037305 | 2019-09-21T05:15:37 | 2019-09-21T05:15:37 | 209,927,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,185 | cpp | #include <iostream>
#include "staff.h"
using namespace std;
//default constructor for staff
staff::staff()
{
id = 0;
name = "";
job = "";
salary = 0;
}
//prints all staff
void printAllStaff(vector<staff> staffVector)
{
for(int i = 0; i < staffVector.size(); i++)
{
cout << "Id: " << st... | [
"dhasl002@odu.edu"
] | dhasl002@odu.edu |
e8d76889ab92a00cbb54b05ec15f29fe8fa00ce5 | 7bae283d207cb0a057bae5ac418153a1f1dbdd4d | /src/Overlook/ExposureTester.cpp | 0d6993be6ea0236edd4a414a26c77590a3340013 | [
"BSD-3-Clause"
] | permissive | kanghua309/Overlook | 2c38954773cef76a1e284590ff91cc74ff138411 | d4c6e1e6692f12b448dce9fec1aa88be5054da36 | refs/heads/master | 2021-07-16T03:59:03.456906 | 2017-10-17T23:41:38 | 2017-10-17T23:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | #include "Overlook.h"
namespace Overlook {
ExposureTester::ExposureTester() {
Add(hsplit.SizePos());
hsplit << expctrl << brokerctrl;
hsplit.SetPos(2000);
hsplit.Horz();
expctrl.Add(siglist.HSizePos().VSizePos());
siglist.AddColumn("Symbol");
siglist.AddColumn("Signal");
}
void Exposu... | [
"seppo.pakonen@yandex.com"
] | seppo.pakonen@yandex.com |
b55f06b65964cb67712e47c6e6907e65778fab91 | dc182283f6eed3b5aaa45c7da61bdc07b41ee161 | /ash/public/cpp/projector/projector_session.h | c43acb772789ab2a34dff7ab47ee175c9ad297db | [
"BSD-3-Clause"
] | permissive | KHJcode/chromium | c2bf1c71363e81aaa9e14de582cd139e46877e0a | 61f837c7b6768f2e74501dd614624f44e396f363 | refs/heads/master | 2023-06-19T07:25:15.090544 | 2021-07-08T12:38:31 | 2021-07-08T12:38:31 | 299,554,207 | 1 | 0 | BSD-3-Clause | 2020-09-29T08:33:13 | 2020-09-29T08:33:12 | null | UTF-8 | C++ | false | false | 1,748 | h | // Copyright 2021 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 ASH_PUBLIC_CPP_PROJECTOR_PROJECTOR_SESSION_H_
#define ASH_PUBLIC_CPP_PROJECTOR_PROJECTOR_SESSION_H_
#include "ash/public/cpp/ash_public_export.h"... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
108225c5dff725dc8a78e367264b465b6899f5b8 | 65d2b7c396c3f0658f5189b0d550e0e03c05b731 | /libraries/AutonomousDrive/AutonomousDrive.h | 1130c27117d2c5984f83a64d1697788dac36e519 | [] | no_license | MC3-NASA/autonomous_rover | b85d04e5edb0d0f2b8cde47ec636159e8cffa76d | 361ab2561770c3202cc3fd8dd50ea7ba3e9dfe56 | refs/heads/master | 2022-06-14T22:54:29.904556 | 2020-05-07T14:13:13 | 2020-05-07T14:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | h | #pragma once
#include <DriveTrain.h> //Deals with spinning the wheels of the rover.
#include <kalmanFilter.h> //Gets IMU device for the rover
#include "coroutine.h"
#include <echo.h>
#include <save.h>
class AutonomousDrive {
public:
kalmanFilter kalman; //A common library for IMU devices.
DriveTrain dr... | [
"WilliamsNoah1720@gmail.com"
] | WilliamsNoah1720@gmail.com |
59ff0e339cd3246c0d2394e42a0e2921e6d71d48 | 8578ae5be776b49559fa95ce30f6b45b6a82b73a | /src/test/util/transaction_utils.h | 397ec8060a45c3d8e120bc7ce3a29d98f88988ef | [
"MIT"
] | permissive | devcoin/core | 3f9f177bd9d5d2cc54ff95a981cfe88671206ae2 | f67e8b058b4316dd491615dc3f8799a45f396f4a | refs/heads/master | 2023-05-25T03:42:03.998451 | 2023-05-24T07:59:22 | 2023-05-24T08:02:14 | 21,529,485 | 16 | 13 | MIT | 2022-01-07T17:04:18 | 2014-07-05T22:42:13 | C | UTF-8 | C++ | false | false | 1,362 | h | // Copyright (c) 2019-2020 The Bitcoin Core and Devcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEVCOIN_TEST_UTIL_TRANSACTION_UTILS_H
#define DEVCOIN_TEST_UTIL_TRANSACTION_UTILS_H
#include <primi... | [
"fernando@develcuy.com"
] | fernando@develcuy.com |
178e3b65877ee0ab25132ee83a0a942987212610 | 1c67d0d6af7e5bc9a38f6df6fb23bdbf74ab4b5c | /CSES/Graph Algorithms/monsters.cpp | f2496cd56c34d14ea554eff12cc6aa4ce936440e | [
"MIT"
] | permissive | gnomegeek/cp-submissions | ed88306cb4653f356c5e3802299ae5fe8f5264fe | c046be42876794d7cc6216db4e44a23c1174742d | refs/heads/main | 2023-04-23T16:52:32.914265 | 2021-05-05T21:49:47 | 2021-05-05T21:49:47 | 348,818,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,179 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define int long long
#define pb push_back
#define F first
#define S second
#define all(x) x.begin(), x.end()
#define pii pair<int, int>
typedef tree<int, null_type... | [
"thevatsalagarwal@gmail.com"
] | thevatsalagarwal@gmail.com |
6ba18c76159957ac6ce0b0b999a0ce89713af6ad | dc34a54a225303e172525a9be07f7fb7f3bea3d4 | /string_manipulations/sherlock_and_the_valid_string/sherlock_valid_string.cpp | 1a72979b868bfb96d7830712777567f1c8c4b6e5 | [] | no_license | mcdaniel13/hackerrank | e57d0eda6f1066b1ec5e027534304dc49f7f7075 | d43cf257148b47c984f2b6a93291d21bfaa9e87b | refs/heads/master | 2020-04-22T09:14:19.826466 | 2019-03-05T02:09:22 | 2019-03-05T02:09:22 | 170,265,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | cpp | // author: Moongee Cho
// date: 01/31/2019
#include <bits/stdc++.h>
using namespace std;
// Complete the isValid function below.
string isValid(string s) {
map<char,int> letterCount;
map<int, int> removableCount;
for (int i = 0; i < s.length(); ++i) {
letterCount[s[i]]++;
}
for (map<cha... | [
"whansrl92@gmail.com"
] | whansrl92@gmail.com |
d7e18ad447c565cfa60ef9ef6f7ec5767d44064d | 8f19b63873145658bcc8066723cbb78323ce75c8 | /src/sysdesktop/DesktopEventDispatcher.cpp | 643bc1aca5b9366e7897a12f4585a669fd47e790 | [
"Apache-2.0"
] | permissive | 0of/WebOS-Magna | c9dfcd310b3e16c4b4e19f34244d4413a3bf3c89 | a0fe2c9708fd4dd07928c11fcb03fb29fdd2d511 | refs/heads/master | 2021-01-13T13:00:29.907133 | 2016-02-01T07:48:41 | 2016-02-01T07:48:41 | 50,822,587 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | #include "DesktopEventDispatcher.h"
#include "inner/InnerPrivateDataNullPointerException.h"
using namespace Magna::Inner;
#include "DesktopWindow.h"
namespace Magna{
namespace SystemComponent{
namespace Desktop{
DesktopEventDispatcher::DesktopEventDispatcher( RunnableContext *context)
... | [
"Magnusbackyard@live.com"
] | Magnusbackyard@live.com |
2094e95c0cf1d40e8184d3df4404c7ff08646981 | 83f64300a69a9302b0d5e89e1cc5176c0bd5216a | /Mooball/Source/quickmodel.h | caf6f6c2c55a366c3ba40aaebffdf56885555f6a | [] | no_license | qpHalcy0n/Mooball | ac4a026bba0fe20772cd820c31b5720acb945ad3 | 2f660d8cc30377ff7955fb8de6b632519b1e5616 | refs/heads/master | 2021-01-20T22:28:53.632849 | 2014-03-16T01:37:09 | 2014-03-16T01:37:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | h | #ifndef __QUICKMODEL_H_
#define __QUICKMODEL_H_
#include <string>
#include <vector>
#include "tiny_obj_loader.h"
#include "quickimage.h"
class CModelObject
{
public:
CModelObject() {}
~CModelObject() {}
// Return error string or null string
virtual std::string LoadModel(const char* fileName, const char*... | [
"shawn.simonson@gmail.com"
] | shawn.simonson@gmail.com |
d4bd92ed78e168d245ac7a1fc914a61cd86320ea | afe730a0f68c678402b1a6145761c4eaf9206554 | /src/zmq/zmqconfig.h | 607905d9675b1412510afb027987a5ebdd01f91d | [
"MIT"
] | permissive | DEXBET/eliqa | dcbffd23408f10b40f2bcd5d3dea6a5da1a2a352 | 7fa23327a902b0422a07ebb670464445f93e597d | refs/heads/master | 2020-03-18T03:38:48.537663 | 2018-04-09T14:33:29 | 2018-04-09T14:33:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_ZMQ_ZMQCONFIG_H
#define BITCOIN_ZMQ_ZMQCONFIG_H
#if defined(HAVE_CONFIG_H)
#include "config/eliqa-config.h"
#endi... | [
"worker@worker"
] | worker@worker |
57a07df9874f1b5fd4c240bfd696219ff961dec7 | 781f351347692832c17ebd43bb90accd1036572d | /Sources/Engine/Src/md5.cpp | 7c71bf991545d4268f855b8564f5adf06c109451 | [] | no_license | fcccode/Jx | 71f9a549c7c6bbd1d00df5ad3e074a7c1c665bd1 | 4b436851508d76dd626779522a080b35cf8edc14 | refs/heads/master | 2020-04-14T07:59:12.814607 | 2017-05-23T07:57:15 | 2017-05-23T07:57:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,169 | cpp | /*
Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpos... | [
"tuan.n0s0und@gmail.com"
] | tuan.n0s0und@gmail.com |
6b67996c558d3f3c519cc8201d128807932328aa | 454a12594de22ba30dd2cb6c5762342fd49f1390 | /src/Helpers.h | f136588d5f7af18b15ed3bfcf00d5237ec345eac | [
"WTFPL",
"MIT"
] | permissive | AbdelghaniDr/ofxMightyUI | bdcb7e2375b196caa285b0831541300e64a7a075 | a89ea5b1bfeda5aada63380126c701bfd21e99d7 | refs/heads/master | 2020-04-05T23:33:21.895256 | 2016-03-08T11:11:56 | 2016-03-08T11:11:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,708 | h | /*
* Images.h
* iPhoneEmptyExample
*
* Created by hansi on 29.01.11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*/
#ifndef MUI_HELPERS
#define MUI_HELPERS
#include "MuiCore.h"
namespace mui{
class TextureAtlas;
class Container;
class Helpers{
public:
static void clearCaches();
... | [
"super@superduper.org"
] | super@superduper.org |
d0dacc234a99061e35a66c051d32c4fd819f7419 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir35435/dir35536/dir35859/dir36113/dir36589/file36695.cpp | 9ddb21b17ea69e0dea00405fe71025fd9cb91121 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file36695
#error "macro file36695 must be defined"
#endif
static const char* file36695String = "file36695"; | [
"tgeng@google.com"
] | tgeng@google.com |
ee46a16732a2fc69bd6b354e662314b8867e5138 | 2e68b0ed8651350eeebd2fecc69129e445446f41 | /蓝桥杯/官网/历届试题/核桃的数量.cpp | d541fb5013bb4d8db7c9adb738152ef53ef00f3b | [] | no_license | Violet-Guo/ACM | 1dd7104172834ad75515d4b0ecba39ec2f90c201 | 7b5781349dc77cb904f522135cb06ad6872f7646 | refs/heads/master | 2021-01-21T04:40:27.151145 | 2016-06-23T01:39:17 | 2016-06-23T01:39:17 | 50,434,940 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int main()
{
int a, b, c;
while(scanf("%d %d %d", &a, &b, &c)!=EOF){
int maxn = a;
if(b > maxn) maxn = b;
if(c > maxn) maxn = c;
while(1){
if(maxn%a==0 && maxn%b==0 && maxn%c==0){
printf("%d\n", maxn);
break;
}
ma... | [
"iamguojing@qq.com"
] | iamguojing@qq.com |
b42d9d8a1f855ee8547ba38bc81c984b6f66bda9 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Trigger/TrigHypothesis/TrigHLTJetHypo/src/TrigHLTJetHypoUtils/FlowEdge.cxx | 395536ef3e35a7e736a3d480751c5d8d5d3c9b5f | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// ********************************************************************
//
// NAME: FlowEdge.cxx
// PACKAGE: Trigger/TrigHypothesis/TrigHLTJetHypo
//
// AUTHOR: P Sherwood
//
// ******************************************************... | [
"graemes.cern@gmail.com"
] | graemes.cern@gmail.com |
ff1831ebf4a98e7571ab0978360e2cfd3b89eedc | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Lib/NtlSimulation/NtlWareHouse.h | 261cc273aee021a8aea7374be5d2b02137cb418e | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UHC | C++ | false | false | 1,957 | h | /*****************************************************************************
*
* File : NtlWareHouse.h
* Author : Hong SungBock
* Copyright : (주)NTL
* Date : 2006. 11. 20
* Abstract : Simulation Warehouse class
*****************************************************************************
* Desc :
*
*... | [
"64261665+dboguser@users.noreply.github.com"
] | 64261665+dboguser@users.noreply.github.com |
03ffb5c3fa8cad2128a6e335c3229993389c3c6b | fb613ed947cd77c04bfc0c63f3d2b8363f584d6d | /naivebayes/naivebayes.cpp | f334cd5d66493d72789e52925e10184cbeb3e2a5 | [] | no_license | wenxiaoming/mlalgorithm | 357be6dd58c3709acac258fefd13b73f2cb84b25 | a7d7ee0614d9a4205b9e2b1b3ca26ef84c49f3a2 | refs/heads/master | 2021-05-07T01:49:19.204374 | 2018-07-14T09:53:41 | 2018-07-14T09:53:41 | 110,431,641 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,983 | cpp | #include "naivebayes.h"
naivebayes::naivebayes(int num)
{
mAttributeNum = num;
}
naivebayes::~naivebayes()
{
}
void naivebayes::loadPositiveSet(vector<string> trainSet)
{
for(auto iter = trainSet.begin(); iter < trainSet.end(); iter++) {
mTrainSet.push_back(*iter);
mLabelSet.push_back(1);
... | [
"listream@126.com"
] | listream@126.com |
d42ccc74693cfb3e81c1e355a0725322915551c4 | f551ec254357a6f6b04f1b4bd00a93ebecdaf78c | /network/asio/detail/timer_queue.hpp | 419b7f5cbee074d5fc43dcab6478806da9716a4d | [] | no_license | mjssw/async_io | 41c9f7537da350a5aeaa37e5d2e6f666d5c598aa | 473aa3641b5b35bf06ed585b081313a40ac47940 | refs/heads/master | 2021-01-10T06:45:48.046262 | 2015-12-07T08:03:35 | 2015-12-07T08:03:35 | 47,536,902 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,311 | hpp | //
// detail/timer_queue.hpp
// ~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_DETAIL_TIM... | [
"mjssw@163.com"
] | mjssw@163.com |
5e9ab5e416f9744e7abce449e23b567d3507dd97 | f0654a3d2fc2305a00d906fc359b2195a473c21d | /iotchain/include/ChainTypes.h | d5b217c19545d087ddcbf0d8dfb6e4aed87d4bc0 | [] | no_license | echads/iotchain | 50ca4b05afcb3161a4a2e506563ad25b01df4e73 | fa3cb1227a5d55ddb2b2c52f7ecef3fa9e8b070f | refs/heads/master | 2021-09-15T23:41:25.858852 | 2018-06-12T21:47:27 | 2018-06-12T21:47:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701 | h | #ifndef CHAIN_TYPES_H
#define CHAIN_TYPES_H
#define _CHAIN_THINGS_BEGIN namespace chainthings {
#define _CHAIN_THINGS_END }
#define MAIN_NETWORK_ID 4
#include <vector>
#include <utility>
#include "json.hpp"
#include "CryptoTypes.h"
namespace CryptoPP
{
class SHA256;
}
_CHAIN_THINGS_BEGIN
enum KeyType : uint... | [
"mail@sezercantanisman.com.tr"
] | mail@sezercantanisman.com.tr |
76f37aad5ca1a6016cc8950aa453a2e0297c7c2d | 247da8766eb8175241efe6588a6372e1ebd1a13a | /LeetCode/LeetCode/LeetCode/Nim Game.cpp | 76a93e2a974717b1eb8afd8acd425345c5e7ca05 | [] | no_license | Takechiyoo/C-Code | 6b0549e950fd9ffdd8c708a37673941d29e4bcd6 | bd3510968a0ae53642a6c7345cb71bf170ad5f47 | refs/heads/master | 2021-01-10T15:04:24.168996 | 2016-05-08T07:49:32 | 2016-05-08T07:49:32 | 48,311,694 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,326 | cpp | #include<iostream>
using namespace std;
/**
* You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones.
* The one who removes the last stone will be the winner. You will take the first turn to remove the stones.
*
* B... | [
"731806744@qq.com"
] | 731806744@qq.com |
4b3480a7a3d21fa2796aaedb58a88c18aeba5229 | 642f12af5a370b5eda32a68732eafeb7298b6877 | /example/src/ofApp.cpp | f8ce9939a415f4e4e231cea928d5ff8de72d0bed | [
"MIT"
] | permissive | fred-dev/ofxBlobTracker | 4b506f655c38a326ff94eeec93f7fb0001a96981 | 4f879ec389e21c35a8f95cc04f16151f99dbb0be | refs/heads/master | 2021-12-14T04:24:11.706248 | 2021-12-05T15:25:54 | 2021-12-05T15:25:54 | 210,614,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,279 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
#ifdef _USE_LIVE_VIDEO
vidGrabber.setVerbose(true);
vidGrabber.initGrabber(width,height);
#else
vidPlayer.load("4 people slow-close-freestle.mov");
vidPlayer.play();
width... | [
"fredaudio@gmail.com"
] | fredaudio@gmail.com |
9b1cd83a00054199ec3a3771d5a705ae683c344a | 8aa5cd4de3323f6f3518834406ed51a27eed2c31 | /src/meta/lang.conv.h | 6aa9b5486a8700a83ee85aaeb8e2142da20f7ec7 | [
"Zlib"
] | permissive | raptoravis/two | c07b0583ee643c2375323a74802850c3449ac610 | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | refs/heads/master | 2020-07-24T12:32:48.848094 | 2019-09-12T00:51:43 | 2019-09-12T00:51:43 | 207,928,784 | 0 | 0 | Zlib | 2019-09-12T00:09:58 | 2019-09-12T00:09:58 | null | UTF-8 | C++ | false | false | 476 | h | #pragma once
#include <lang/Types.h>
#if !defined TWO_MODULES || defined TWO_TYPE_LIB
#include <refl/Meta.h>
#include <refl/Enum.h>
#include <infra/StringOps.h>
#endif
namespace two
{
export_ template <> inline void to_value(const string& str, two::Language& val) { val = two::Language(enu<two::Language>().value(str... | [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
ef0899f7949678bbbbf52f01db209d9f8b3725e2 | 8b55a537e29dba5ade3dce917e3f08fe57a576da | /autofocusprocessmanager.cpp | 205a515f0b551c3f7fceaa5c065368124395f2a9 | [] | no_license | relaxesemind/Atlant2018 | a5a1b19c569a3090386267ddb74a2da8b970b39c | dfbd6ca336683ee816302074e566572464d057f1 | refs/heads/master | 2021-04-27T00:28:06.182844 | 2018-07-03T13:48:54 | 2018-07-03T13:48:54 | 123,820,105 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,575 | cpp | #include "autofocusprocessmanager.h"
void AutoFocusProcessManager::setCore(Core *core)
{
corethis = core;
}
void AutoFocusProcessManager::getCurrentFrame()
{
currentFrame = *corethis->lastFrame.get();
}
int AutoFocusProcessManager::start()
{
lastCalculatedValue = AutoFocusMath::getInstance().valueOfDefo... | [
"relaxesguitar@gmail.com"
] | relaxesguitar@gmail.com |
cff977cf769a414cf193306ff28ae8830d19f014 | c09719111455e219f0055f6e5f6780b34bf6e915 | /dbms/include/DB/DataStreams/EmptyBlockOutputStream.h | 238f82eb85253132da1c7d2ced469458e14a5480 | [
"Apache-2.0"
] | permissive | StarWix/ClickHouse | 0379ea22098977ebf781388f1bb513303c3188e7 | 6f106c748eed98ceb492768f0ca73cc51dc4da60 | refs/heads/master | 2021-01-21T06:59:56.012787 | 2017-02-27T07:01:52 | 2017-02-27T07:01:52 | 83,303,559 | 1 | 0 | null | 2017-02-27T11:35:36 | 2017-02-27T11:35:36 | null | UTF-8 | C++ | false | false | 748 | h | #pragma once
#include <DB/DataStreams/IBlockOutputStream.h>
namespace DB
{
namespace ErrorCodes
{
extern const int CANNOT_WRITE_TO_EMPTY_BLOCK_OUTPUT_STREAM;
}
/** При попытке записать в этот поток блоков, кидает исключение.
* Используется там, где, в общем случае, нужно передать поток блоков, но в некоторых сл... | [
"milovidov@yandex-team.ru"
] | milovidov@yandex-team.ru |
09cb640c9cc35534fd428b49383c3fde3913df2f | da48b20669aa520a0822eac5d297abfa1474d6e5 | /05_00_00/sequences/game.cpp | f6f780978946c1b388f2ad5678fb0418de4059dc | [] | no_license | supercaracal/study-of-cpp-in-windows | 150eaa93c5ccb9d92a7477eac909555166364601 | 5237acca36dbaec3aaf61567501712c3a750e95d | refs/heads/master | 2021-07-11T09:43:29.748414 | 2020-05-16T14:12:00 | 2020-05-16T14:12:00 | 122,839,270 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,000 | cpp | #include "game.h"
namespace caracal {
namespace sequences {
game::game(const char* stage_file_name) :
m_loaded(false),
m_data_size(HEIGHT * WIDTH),
m_close_requested(false)
{
char* stg = load_stage(STAGE_DATA_DIR, stage_file_name);
if (stg == NULL) {
return;
}
std::map<char, image*> imgs ... | [
"supercaracal@yahoo.com"
] | supercaracal@yahoo.com |
69c3a201cc8bb97bdfcac43ceac17c8bdd05b560 | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazemark/src/blaze/TMat3TMat3Add.cpp | 5ceab0c2378854b9d2d27c25dbbc43629d341d08 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,695 | cpp | //=================================================================================================
/*!
// \file src/blaze/TMat3TMat3Add.cpp
// \brief Source file for the Blaze 3D transpose matrix/transpose matrix addition kernel
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file is... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
4f55427eb3c0820e5281048d3d121fa6ab4a3b38 | 5823c0dfec0a5a2eb755ff16bb04435ee54239fd | /samples/03-classes/Pimpl/Foo.cpp | 9f8d5b852b676e61afea1c10eef99cf8925a0d20 | [] | no_license | alexey-malov/oop | b76448452c8fcb2a5b063571cf7252cf45874e69 | 2f2d04fd5d78ab9accd6959bf7092def601c065f | refs/heads/master | 2023-08-11T03:44:58.310708 | 2023-07-29T20:23:30 | 2023-07-29T20:23:30 | 50,946,326 | 48 | 34 | null | 2023-07-29T20:26:19 | 2016-02-02T19:34:30 | C++ | UTF-8 | C++ | false | false | 345 | cpp | #include "Foo.h"
struct Foo::Impl
{
Impl(int size)
: m_size(size)
{
}
int DoSomething(int arg)
{
m_size += arg;
return m_size;
}
int m_size;
};
Foo::Foo(int size)
: m_impl(std::make_unique<Impl>(size))
{
}
Foo::~Foo() = default;
int Foo::DoSomething(int arg)
{
return m_imp... | [
"alexey.malov@ispringsolutions.com"
] | alexey.malov@ispringsolutions.com |
52cb9b5e6a77914f055cf3b559b5e0f01ac24c5f | c40b21b737c8906d104d6e1a63904884b8ec345d | /Operator/UTOP_ColorShading/stdafx.cpp | 7db9f8f6a6cd1f5610f6c4e7719a337e3a40a6fc | [] | no_license | liupengsyk/UTS_NEW | f4eac1f327126eda4dd0bfaae0a1372a77263175 | 0fa04109a0f0808dd973a6f86cc0133f068ea02d | refs/heads/master | 2020-06-03T02:30:18.394317 | 2019-01-30T02:32:32 | 2019-01-30T02:32:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 171 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// UTOP_ColorShading.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"2411804080@qq.com"
] | 2411804080@qq.com |
619e93a6065fa2353e9977cae6cda66476170765 | 492c37318928c0a374bff097451d939deb6adc6b | /tensorflow/core/platform/build_test.cc | 520766718a43840cb1fd09fce5a9021cd5350ba4 | [
"Apache-2.0"
] | permissive | bono1567/tensorflow | 5747726e558f45904762105ef4fe72f0dc389ae3 | 5acf6bdd2ba4cf1640c983c3b8c3c991715048e9 | refs/heads/master | 2020-09-09T20:59:24.265000 | 2019-11-13T22:06:21 | 2019-11-13T22:11:03 | 173,253,227 | 1 | 0 | Apache-2.0 | 2019-03-01T07:11:40 | 2019-03-01T07:11:40 | null | UTF-8 | C++ | false | false | 2,919 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
18ef730cf63c95ac7e41f7cf259d531344559bea | 2ba75070a8b00557d3414bd557d3571574867994 | /exception.h | 27195b4e3bb88f72e49c509f158df2e0e56e9782 | [] | no_license | vincent2496/myProject | f8ac8dab6c4201eb0b47ca6e3ad5476e61b9deb2 | e51c6ef526962da573f88ef9c1dca58440cd4435 | refs/heads/master | 2021-09-03T04:24:46.929702 | 2018-01-05T14:09:35 | 2018-01-05T14:09:35 | 103,931,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | h | #ifndef EXCEPTION_H
#define EXCEPTION_H
#include "scanner.h"
#include "parser.h"
/**
*
* Here are some examples for exception handling,
* the actual testing way is base on your implementation.
*
*/
#include "exp.h"
#include <string>
TEST(Shell, exception_OnlyVariable) {
Scanner s("X."); // this is our wrong ... | [
"vincent24967013@gmail.com"
] | vincent24967013@gmail.com |
1f34f3dfd89067afe8904b439b8e1aadd543fe6e | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Simulation/FastShower/FastCaloSimAthenaPool/FastCaloSimAthenaPool/FastShowerInfo.h | 89e7518ab9ab83a1ee2f126e7495c1e73c9d21b8 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,554 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef _FASTSHOWERINFO_H_
#define _FASTSHOWERINFO_H_
#include <vector>
// #include "FastCaloSim/FastCaloSim_CaloCell_ID.h"
// class ParticleEnergyShape;
// class ParticleEnergyParametrization;
// class TShape_Result;
/**
* @class Fas... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
bfc4e7804fbb224422716d5df2cad5a207e89c57 | c71d78d12506c5345dbf82f2faf39a5584e07d7c | /src/dist/brutil.hh | 3db0d27ce90c2ac8828c07362d5cb9a90f774612 | [] | no_license | yuhonglin/bnc | a2236c447ced9255895296e4fdf4370ad10d3a90 | cdbb4e6f3626e402e90afda73ce542b8d6f20e56 | refs/heads/master | 2020-12-30T14:19:09.450413 | 2017-08-23T06:19:38 | 2017-08-23T06:19:38 | 91,302,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,430 | hh | #ifndef BRUTIL_H
#define BRUTIL_H
#include <type_traits>
#include <limits>
#include <cmath>
#include <cfloat>
#include <util/constant.hh>
#include <util/logger.hh>
#include <common/math.hh>
#include <dist/brconst.hh>
namespace bnc {
#define ML_POSINF INF
#define ML_NEGINF -INF
#define ML_NAN NaN
#define ML_ERR... | [
"yuhonglin1986@gmail.com"
] | yuhonglin1986@gmail.com |
a50d1ca0bb91b6d6eb2db8f0ec4b95c3a6777445 | 4442aee78a30d2a73bc212fe8b44777b630ed5a9 | /OOPinUnity/Temp/StagingArea/Data/il2cppOutput/Il2CppCompilerCalculateTypeValuesTable.cpp | 091ad12c9c3ad563a368fcf92672b5fa0fed59e2 | [] | no_license | jbumbalough/CIS497 | fb5a037730ed171950808e2d7ddfad2a046c42c2 | 8a26fd1ee0a2410d8722efa6de7ec441fa39f450 | refs/heads/master | 2023-01-20T09:32:27.343541 | 2020-12-01T02:07:13 | 2020-12-01T02:07:13 | 293,391,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320,190 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable4[1];
IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable5[1];
IL2CPP_EXTERN_C_CONST int32_t g_FieldOffsetTable6[1];
IL2CPP_... | [
"jbumbalough@mail.bradley.edu"
] | jbumbalough@mail.bradley.edu |
2aa1bed0c41ceafbd4810623002036787802d538 | 637c4892287929583bdadd8630d5353dd78dc82c | /vendor/cubelib/src/tools/tools/0031.ReMap2/ReMapParser.cc | 2376f807d283f01fa48a2f901541411339713d1b | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | readex-eu/readex-scorep | 6819f074bba6b4fe9d6de07cf7037d2829cbbccf | 38d7b84145f229b44670656d59f84faa51007ced | refs/heads/master | 2020-03-27T01:04:12.730561 | 2018-08-22T14:42:37 | 2018-08-22T14:42:37 | 145,679,275 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,808 | cc | /* A Bison parser, made by GNU Bison 2.7. */
/* Skeleton implementation for Bison LALR(1) parsers in C++
Copyright (C) 2002-2012 Free Software Foundation, Inc.
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... | [
"robert.schoene@tu-dresden.de"
] | robert.schoene@tu-dresden.de |
7c00da8bd8299e401e65e616a202d04e1cfd6b0d | dd5b5e5ee5476d1eeffc4987e1aeec94e047e6dd | /testCase/cavity/0.0955/U | 371e219954d9e6963efd6f705f9b664c1ed7f72f | [] | no_license | Cxb1993/IBM-3D | 5d4feca0321090d570089259a558585a67a512ec | 2fceceb2abf1fc9e80cb2c449cc14a8d54e41b89 | refs/heads/master | 2020-05-24T01:14:02.684839 | 2018-10-23T13:15:20 | 2018-10-23T13:15:20 | 186,721,487 | 1 | 0 | null | 2019-05-15T00:39:55 | 2019-05-15T00:39:55 | null | UTF-8 | C++ | false | false | 1,957,690 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"you@example.com"
] | you@example.com | |
fb06865b8ba96189706566ac2584fc970b5d1824 | 59f6357ab880b3dd2f0c15ae7c8e82820ecf7484 | /rover.cpp | 288d79b3a81832b978ffedfb329bff13a6485b38 | [] | no_license | marcindus/dojo | 7d7c8bdb761499960b6f0fb824874c5e05c643bf | db7e8b6b378e2f7c2ac88c3254823bf67313745d | refs/heads/master | 2020-08-24T00:01:28.356064 | 2020-04-21T06:39:03 | 2020-04-21T06:39:03 | 216,728,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,339 | cpp | #include <gmock/gmock.h>
#include <string>
#include <vector>
#include <deque>
template <class T>
void print_container(T const& v) {
for(auto i : v) std::cout << i << " ";
std::cout << std::endl;
}
struct Coordinates {
int x;
int y;
Coordinates(int x, int y) : x(x), y(y) {};
};
struct Buffer
{
... | [
"marcin.dus@nokia.com"
] | marcin.dus@nokia.com |
5566c96bcfc83ea045ca36f900137eb0049a2e93 | df1a31f1a8222c22649995d2d6eb195f41008b31 | /src/qt/masternodemanager.cpp | cdd85935989b2afec51648f215e5d227a1059a13 | [
"MIT"
] | permissive | ApollonWrock/ApollonCoin | 7f1f077ba5414e2c1f8c8a3a42d72085e9b226d3 | ee1ea5be1bd3deec0e203e16805c359477d3a80b | refs/heads/master | 2020-03-18T14:59:29.490470 | 2018-05-27T14:27:57 | 2018-05-27T14:27:57 | 134,879,857 | 0 | 0 | null | 2018-05-25T16:21:40 | 2018-05-25T16:21:40 | null | UTF-8 | C++ | false | false | 13,084 | cpp | #include "masternodemanager.h"
#include "ui_masternodemanager.h"
#include "addeditadrenalinenode.h"
#include "adrenalinenodeconfigdialog.h"
#include "sync.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "activemasternode.h"
#include "masternodeconfig.h"
#include "masternodeman.h"
#include "masternode.h"
... | [
"apollondeveloper@gmail.com"
] | apollondeveloper@gmail.com |
e688a2b4dbe3c27d947426660379f5864cdf8101 | 8b3825b8c30eaaf0a8dd3135eb3cab3deed738cd | /CMAKE_Add.cpp | 2394035e5e0831d640ea9af669beddf31385e9c6 | [] | no_license | sand-sea/hello_cmake | d74aa451e251b851ea189ffaf8b8a667b999e364 | 26f76bc6a16bd1eb3ed48c60a0a1a89bbe3a0be8 | refs/heads/master | 2023-01-14T03:18:55.031628 | 2020-11-18T03:24:08 | 2020-11-18T03:24:08 | 313,810,927 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp | #include <iostream>
int main()
{
int a = 0, b = 1;
using namespace std;
cout<<a+b<<endl;
return 0;
} | [
"hlb@git.com"
] | hlb@git.com |
7b44180f10c5baad164f300191f76604ce72027c | 6f74a7991f4da24be99a67489e55402b33e75d62 | /classes/game/item/DoubleBombItem.h | 54ac9003fcc56b0bd1e4a928e38a78e889758493 | [] | no_license | codemage128/unity-to-cocos2d-apk-clone | 73a73514ae1029b6710b93aeb139cec5c01a126d | c81b5367dc8a8312a90a3a4b9c94c9437f89d15a | refs/heads/master | 2023-08-03T06:26:41.345990 | 2020-07-23T12:57:18 | 2020-07-23T12:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | h | #ifndef __ENGINE_DOUBLEBOMBITEM_H__
#define __ENGINE_DOUBLEBOMBITEM_H__
#include "../SpecialItem.h"
class DoubleBombItem: public BombItem, public IComboItem {
private:
std::vector<cocos2d::Node*>* _shakePanels;// GameObject[] _shakePanels;
public:
// ParticleSystem[] CloseParticles;
cocos2d::Sprite* GlowSprite=n... | [
"futuredev1001@yandex.com"
] | futuredev1001@yandex.com |
835c4531ad059275fc06ad90f804e53d044e6b2d | de37567052063b952fb60149d29a1ff32acb8614 | /2021-6/2021-6-2-258.cpp | c3d9c042070d841e6f7ef0881d124b3955f1fe31 | [] | no_license | zlun-yan/leetcode | 317d12d4ea0d2fc43deab5b14e5a814405151b2f | 099904927e53abdcd0bf6df2f66f557c64744f36 | refs/heads/master | 2023-05-11T11:51:17.664764 | 2021-06-10T02:31:13 | 2021-06-10T02:31:13 | 369,766,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | //
// Created by ZlunYan on 2021/6/2.
//
#include <iostream>
using namespace std;
// 对于一个数 asdf 我们这个函数要求的是 a + s + d + f
// 而这个数 asdf 实际上是这样求出来的 a * 1000+ s * 100 + d * 10+ f
// 那么对上面那个算式就可以分为: a * 999 + s * 99 + d * 9 + (a + s + d + f)
// 可以发现 a * 999 和 s * 99 和 d * 9 都是 9 的倍数, 也就是说 模9为0
// 最终模9求出来的就是 (a + s + d +... | [
"842162085@qq.com"
] | 842162085@qq.com |
31dc23190efb0219adbf2a43bcd036d7bd397b9b | af2f5806cdb788749a9987a4294a8e270aab3ec8 | /Project/23_BomberMan/Class/PathManager.h | 8733dce905a6394bbe5d474dfaf7ef42bb9edbf6 | [] | no_license | pdpdds/SDLProgramming | 65f53bf7a7d28952780a06b4a1b80b4a80aeea95 | f69683aa41908f8f1b3b80b7076ca0e7908f59da | refs/heads/master | 2021-01-18T22:35:12.116696 | 2020-12-31T06:22:53 | 2020-12-31T06:22:53 | 37,397,842 | 12 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 4,350 | h | #ifndef PATH_MANAGER_H
#define PATH_MANAGER_H
#pragma warning (disable:4786)
//-----------------------------------------------------------------------------
//
// Name: PathManager.h
//
// Author: Mat Buckland (www.ai-junkie.com)
//
// Desc: a template class to manage a number of graph searches, and to ... | [
"juhang3@daum.net"
] | juhang3@daum.net |
c5f9d111057c11016d944c4b91a59b74c8b9880b | 2edc8f86d8971d07f4cbf10072a44cf43170b17a | /unknown/src/practice/20061213/after/nya/panic.cc | a2d656d936726bccb65122aef3121b29e70b15c1 | [] | no_license | nya3jp/icpc | b9527da381d6f9cead905b540541f03505eb79c3 | deb82dcdece5815e404f5ea33956d52a57e67158 | refs/heads/master | 2021-01-20T10:41:22.834961 | 2012-10-25T11:11:54 | 2012-10-25T11:19:37 | 4,337,683 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cc | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
#define REP(i,n) for(int i = 0; i < (int)(n); i++)
#define N 20
int adj[N][N];
int ints;
inline bool at(int bits, int pos) {
return ((bits & (1<<pos)) != 0);
}
void solve() {
int nRooms, iPanicRoom;
cin ... | [
"takahashi.shuhei@gmail.com"
] | takahashi.shuhei@gmail.com |
eca5cd872e45f167b3e5798a7048bd4814df7143 | 9b7197187ff4beb4efdab509502ee0a2b99672db | /C++_Solutions/Problems/ACM/Berkeley 2017/8.cc | ff0a4e6dd85221624923475ca43780670f7bdb81 | [] | no_license | j316chuck/Competitive-Programming | 0c0dfede3e9cbd435301b2b3de7b19cdfff6888f | eabf4d32590fcc423b5a0dab9cdc23ba85fae79f | refs/heads/master | 2020-05-23T07:54:23.806710 | 2018-06-01T03:04:14 | 2018-06-01T03:04:14 | 80,460,910 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,164 | cc | #include <cstdlib>
#include <cstdio>
#include <climits>
#include <stdarg.h>
#include <cstring>
#include <iostream>
#include <cctype>
#include <string>
#include <sstream>
#include <vector>
#include <list>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <bitset>
#include <algorithm>
#include <cma... | [
"chuck.tang98@gmail.com"
] | chuck.tang98@gmail.com |
585fbbfc34936fc17e8c606810566f68caed5fb6 | 54998e998ead341b57bb530d06dea849b6d86ebd | /AC/P3956.cpp | 415ca0687871a254f7c48f861d05d7ff86312d18 | [] | no_license | Jyf624761709/Luogu | 5c6fd5b4c5cad8ddbce29ac2241d5026ca76d314 | 04ecd892f7c0743b2ad2aa98339e92f70017427f | refs/heads/master | 2020-03-19T06:37:22.470354 | 2018-06-04T14:39:16 | 2018-06-04T14:39:16 | 136,039,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,615 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<queue>
#include<map>
const int inf=2147483647;
const int ine=-2147482647;
using namespace std;
#define in(t) freopen("t.in","r",stdin)
#define out(t) freopen("t.out","w",stdout)
#define me(a) memset(a,-1,sizeof(a))
//inline
//register
ty... | [
"39914137+Jyf624761709@users.noreply.github.com"
] | 39914137+Jyf624761709@users.noreply.github.com |
041218f151950fb8932c8b2ded8c7c312195e58b | 8ec4b24e26e8da172187d0924e129652c3b3c2bc | /Andreeva_smo/request.cpp | 9f711fa64a287359bc5c1391dbbf22f97264bd05 | [] | no_license | eliizaveta/SMO | d5ee4f2fe24232d6e2e4003badc340b2b983fee5 | 6153ba41264d087b87c868b53b742c93cebda813 | refs/heads/main | 2023-01-28T11:16:40.609132 | 2020-12-11T18:10:44 | 2020-12-11T18:10:44 | 317,992,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include "request.h"
Andreeva_smo::Request::Request() {
this->waitTime = 0.0;
this->sourceNum = 0;
this->requestNum = 0;
}
Andreeva_smo::Request::Request(float waitTime, int sourceNum, int requestNum) {
this->waitTime = waitTime;
this->sourceNum = sourceNum;
this->requestNum = requestNum;
}
... | [
"lizand2000@yandex.ru"
] | lizand2000@yandex.ru |
071887238bff2474e3196ddb74af99dc829c378b | 12bde528e9fdae91a3eb29048761946afdd9c393 | /Chapter 02/Node_Chain/main.cpp | 1f1e62b40d8f429a4d08fe4f2bdf54d6f192ed40 | [] | no_license | alvarohenriquecz/Algorithms_C-Plus-Plus_Part1 | 9b58aa497b63c65d9be55d0a6642c109f86c32d9 | 4f0db1fb8dd4cef8c800952bcad862f0bc53a802 | refs/heads/master | 2022-11-14T08:39:41.954377 | 2020-07-04T03:25:21 | 2020-07-04T03:25:21 | 274,179,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cpp | // Project: Node_Chain.cbp
// File : main.cpp
#include <iostream>
using namespace std;
class Node
{
public:
int Value;
Node * Next;
};
void PrintNode(Node * node)
{
// It will print the initial node
// until it finds NULL for the NEXT pointer
// that indicate the end of the Node Chain
while... | [
"alvarohenriquecz@gmail.com"
] | alvarohenriquecz@gmail.com |
dabc7d3a2385f218a290d9162d2c5327876f7359 | 4f9228f2aef6b8ce6f54487c26b42a7980d49ded | /test.cpp | 3a3fd665b05d0ff729f4def945f9d476de64fa72 | [
"MIT"
] | permissive | mariokonrad/subprocess | bffcd1253c0fab51437430f5cfa7704817123e3a | 8bd1ed76297d2465c57ed64c9f272078cbd32866 | refs/heads/master | 2020-12-22T14:19:27.723717 | 2016-05-29T21:38:31 | 2016-05-29T21:38:31 | 59,964,045 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,189 | cpp | #include "subprocess.hpp"
#include <algorithm>
#include <iostream>
#include <sstream>
#include <iterator>
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
TEST_CASE("single", "")
{
utils::subprocess p{{"ls", "-a", "subprocess.hpp"}};
std::ostringstream os;
p.exec();
p.out() >> std::noskipws;
std::copy(std::istre... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
86a5d36dc61458bec4b5adb90f3668d1b2318688 | 8fe1d3a1ab8de1d763579f7c585cfa65d1b32855 | /Upsolving/AtCoder/B049/codes/C.cpp | af54a60e4da5f658be0a9706ba7e853349444c10 | [] | no_license | edsomjr/TEP | 1920655075227e335e85741e2bbc2845177cf76e | f5885e1089ea9371777805b742ae22b4d67c8c48 | refs/heads/master | 2023-07-19T14:25:11.132962 | 2023-07-07T22:04:28 | 2023-07-07T22:04:28 | 63,184,807 | 389 | 178 | null | 2023-09-13T16:05:58 | 2016-07-12T18:57:19 | TeX | UTF-8 | C++ | false | false | 702 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<pair<string, size_t>> words {
{ "dream", 5 }, { "dreamer", 7 }, { "erase", 5 }, { "eraser", 6 } };
bool solve(string& s)
{
while (not s.empty())
{
bool ok = false;
for (auto [w, size] : words)
{
if (size <= s.size()... | [
"edsomjr@gmail.com"
] | edsomjr@gmail.com |
e3ac88d4299940a722ba44ef24d944e34b377ac1 | 9ed0524a83e769c647052485edd734e884f94aa5 | /5일차-Running Game/Engine/Animation.cpp | cf9c8d390762b427137d2247cfc8c75b12a30f57 | [] | no_license | cometj03/Game-Programming-2020 | cab79dc38c6679540632815531a9ce0458cdeae5 | f07b5cfcca3970df7b0d830c65c58643e258fb8b | refs/heads/master | 2022-12-07T07:23:42.032066 | 2020-08-19T06:51:53 | 2020-08-19T06:51:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | #include "stdafx.h"
#include "Animation.h"
Animation::Animation(int fps) {
this->fps = fps;
maxFrame = 0;
currentFrame = 0;
timeChecker = 0;
height = 0;
width = 0;
color = D3DCOLOR_ARGB(255, 255, 255, 255);
}
Animation::~Animation() {
for (auto& sprite : spriteVector) {
SAFE_DELETE(sprite);
}
}
void Ani... | [
"harryjung1001@gmail.com"
] | harryjung1001@gmail.com |
6bc9d8c0e8540804dff691c8a6126076428fade6 | 69b7796d276703936b8ae0fe82cb931d704ed432 | /api/src/globalGPUCount.cpp | a4b92c585a69baed55542454dc8ab41949b6b81c | [] | no_license | owensgroup/dcgn | 6038bfa1815baea6e89c97c957c6f3a4e6e7545d | d5cadbeacb4223775e8ccc87dbae346724bee214 | refs/heads/master | 2021-05-29T14:45:48.439038 | 2011-03-21T22:55:41 | 2011-03-21T22:55:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | #include <dcgn/dcgn.h>
#include <dcgn/MPIWorker.h>
namespace dcgn
{
int globalGPUCount()
{
return mpiWorker->getGlobalGPUCount();
}
}
| [
"cpunerd@gmail.com@0566f383-6757-26d6-4a9c-121651c89c67"
] | cpunerd@gmail.com@0566f383-6757-26d6-4a9c-121651c89c67 |
3a3bc2d960ed70e79385a9d91ced8d50332d4334 | f82afd39a9087ec6df0334d8b7e7be7314111782 | /2sem/task2/5/main.cpp | e02cc20eb9e0fdcb2d1c3bdf36e188fec3c61a49 | [] | no_license | NTWay/study | 34e2be62b120cb26622596bee6b7ae01ade674c4 | 64b07e718fd84229d590eea115a2275332bfee83 | refs/heads/master | 2022-01-10T07:23:02.297617 | 2019-03-30T14:38:05 | 2019-03-30T14:38:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,113 | cpp | #include <fstream>
#include <iostream>
#include <cassert>
#include <unordered_set>
/******************************************************************************/
typedef unsigned char uc;
typedef unsigned long long ull;
using std::string;
using std::min;
using std::unordered_set;
const int INF = 2147483647;
const... | [
"valentiay@yndex.ru"
] | valentiay@yndex.ru |
f0b54055bde9ca2cb55244bef4c452b44e583601 | fa4acf2d045779a8bf1c4d76836b8a873aed2108 | /src/fmgen/opna.cpp | f7aafdf2682057e792fb3ff088f41268d7b212f3 | [] | no_license | toyoshim/quasi88nc | 6b7942433a1b7d705054934d442c3838f451e9b7 | 1c702749e36ed478ae6d46092744c96a6246f34c | refs/heads/master | 2021-01-13T02:05:47.641082 | 2012-07-25T16:47:27 | 2012-07-25T16:47:27 | 13,995,813 | 1 | 0 | null | null | null | null | EUC-JP | C++ | false | false | 43,006 | cpp | // ---------------------------------------------------------------------------
// OPN/A/B interface with ADPCM support
// Copyright (C) cisc 1998, 2001.
// ---------------------------------------------------------------------------
// $Id: opna.cpp,v 1.68 2003/06/12 14:03:44 cisc Exp $
#include "headers.h"
#include "m... | [
"toyoshim@gmail.com"
] | toyoshim@gmail.com |
cca05fd302a7cb49f88339ba7f86f757183cc7d3 | c7a2a0ec31a9bc1bfb3023dbd94cb483b8b91943 | /www/Article/data/tplcache/dafeff7b0b91fb4ff838ced32fba369b.inc | 64844edb5ac29d847d4e59683cf89946a9536b2c | [
"Apache-2.0"
] | permissive | zhenhewangluo/appMarket | 65d0315792349aceca41b7fa0791d91f75c0d37e | 8eba29eccc61d3e0f70302d57764f73a041f3330 | refs/heads/master | 2020-09-01T09:43:58.958040 | 2019-11-01T07:13:14 | 2019-11-01T07:13:14 | 218,930,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | inc | {dede:noteinfo notename="安卓哥资讯2" channelid="1" macthtype="string"
refurl="http://www.apkge.com/news/page1.html" sourcelang="utf-8" cosort="asc"
isref="yes" exptime="10" usemore="0" /}
{dede:listrule sourcetype="batch" rssurl="http://" regxurl="http://www.apkge.com/news/page(*).html"
startid="1" endid="2" addv="1"... | [
"7731226@qq.com"
] | 7731226@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.