blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
45d2127f237c08ab93b09bacbaf2246d85d736db | 7aee2215a936bf30bfb9fb6f7d928768ec3cf1a2 | /_old/graphics/graphics_manager.h | cfac6c38fad43b233e43557d7ec8bee54a4a73fc | [] | no_license | SJMdev/mallib | 8d1563d5f9b289868417019dd123a3728ce3e38c | b13933131fa8b99245b775f378fd0d6db7e01ae0 | refs/heads/master | 2022-09-06T14:26:47.451936 | 2022-08-28T13:47:47 | 2022-08-28T13:47:47 | 190,599,950 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,182 | h | #ifndef INCLUDED_GRAPHICS_MANAGER_
#define INCLUDED_GRAPHICS_MANAGER_
namespace gm
{
// either a VAO needs to rebind its VBO,
// or each VAO has a VBO.
// let's stick to the last thing for now.
struct Graphics_Settings
{
// opengl context already exists.
}
class Graphics_Manager
{
// Graphics_Settings ... | [
"sjorsmallon@gmail.com"
] | sjorsmallon@gmail.com |
4b948a6e51e95c217c61641a4969a86948c8a886 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /rdr2/0x2E1ABE627C95ED9B.cpp | 74af7de6c4d70437408d396e6566e9fe6aa079a9 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | // reverend1.ysc @ L70751
bool func_1856(int iParam0)
{
var uVar0;
int iVar1;
uVar0 = PLAYER::_0x2E1ABE627C95ED9B();
iVar1 = iParam0;
if ((uVar0 && iVar1) == iVar1)
{
return true;
}
return false;
} | [
"jesper15fuji@live.dk"
] | jesper15fuji@live.dk |
762f8123f233975883925fb6434033f88f2b93a7 | 76d577b3a48e4890e488fcb94e0ad9151233d4fa | /Unit5/exercise5.20.cpp | 4cb0964728a8dde8e94abbe5de0ff3ad832d2659 | [] | no_license | xiazhiyiyun/C-Primer | 2d62ba226c58cc4ab8f02a8dd7decada392e57e2 | 1541e4488db2dd79e7dfa17df9bd823c6e4b3d03 | refs/heads/master | 2020-12-24T17:08:25.879069 | 2016-11-24T12:08:53 | 2016-11-24T12:08:53 | 62,635,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
string word,lastWord = "";
while(cin >> word){
if( lastWord == word ){
cout << word << "is input in two times." << endl;
break;
}
lastWord = word;
}
if(!cin)
cout << "All were appear in one times." << endl;
}
| [
"2271390439@qq.com"
] | 2271390439@qq.com |
bc72214b319312e8995652d223ce20116572fc8a | 35060c0a15ae390e25ca9b463b2639ca842eb186 | /filter/PeriVis/NearestNeighborSampling/NearestNeighborSampling.h | fb403bd566797b523070777e170e0099dba8dea4 | [] | no_license | mbussler/paraview | 1be7840961b2e846c2356b0ea5efc18078cf97f6 | 00a113a5a41bbd7c6902f55fc0ff233328350bd2 | refs/heads/master | 2020-03-29T07:14:41.837894 | 2018-09-20T19:51:54 | 2018-09-20T19:51:54 | 149,658,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,506 | h | /*=========================================================================
Program: Visualization Toolkit
Module: NearestNeighborSampling.h
Copyright (c) Michael Bußler
=========================================================================*/
#ifndef __NearestNeighborSampling_h
#define __Nea... | [
"michael.bussler@gmail.com"
] | michael.bussler@gmail.com |
2bc5ab49a5efe10ddd8b1086691009174f986f21 | b15963a40705b280c6f85eb40a7c6bbcfdda092f | /try to release/try to release/Plus.h | eff582bd6a4c19d91d12b828f7e9507789327edf | [] | no_license | egerb-52/Project | 80b7f33eb29f1fae5ea9713c217b98fa243670ed | 9a93bea3373db1b25f200c00333f03ecea23d430 | refs/heads/master | 2021-03-11T21:50:09.961454 | 2020-03-11T20:24:23 | 2020-03-11T20:24:23 | 246,561,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | h | #pragma once
#include "TwoArg.h"
class Plus :
public TwoArg
{
public:
Plus(Node* left, Node* right) :TwoArg(left, right) {}
double Calc();
~Plus();
};
| [
"zyong.kk@phystech.edu"
] | zyong.kk@phystech.edu |
8955d2f82d95c282472e2102c0e68d1ec427bdbf | ef285f8758630562fe2bb3111e4f35326bd41f80 | /Valid String.cpp | 6ee6963e715d64c262d695c418a826faeb639f8c | [] | no_license | yprateek136/Data_structure_in_120days | cf6e7992df5d80ab88c90f5cfdbf6b6f9c665b3f | 52607cfe504902fae7282268d561e4d39a560701 | refs/heads/master | 2023-08-28T12:04:23.234134 | 2021-11-12T13:03:52 | 2021-11-12T13:03:52 | 352,884,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | /*Valid String.cpp*/
#include <bits/stdc++.h>
using namespace std;
string validString(string str)
{
int count = 0;
int count1 = 0;
for(int i=0;i<str.length();i++)
{
if(str[i] == '0')
{
count++;
}
else
{
count1++;
}
... | [
"yprateek195@gmail.com"
] | yprateek195@gmail.com |
681ebdb5380de338046f427a4f23d30331faf655 | 8687046939f4aced107bd3070e00cc93cd15a268 | /build-Stock-Portfolio-Manager-Desktop_Qt_5_9_1_MinGW_32bit-Debug/debug/moc_newstocklistdialog.cpp | d2e19eddc09fdf5fac626b45ac60068eeb0f5294 | [] | no_license | kimballc/StockPortfolioApplication | 622fb61b6af39edd4bf3fef283355c1d4459414b | c7a1d6916e7b37e2a20dfaaa8f16fdcca2f8283e | refs/heads/master | 2021-08-29T21:28:17.048548 | 2017-12-15T02:41:54 | 2017-12-15T02:41:54 | 110,319,958 | 0 | 0 | null | 2017-11-22T22:31:14 | 2017-11-11T05:12:00 | C++ | UTF-8 | C++ | false | false | 2,811 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'newstocklistdialog.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.1)
**
** WARNING! All changes made in this file will be lost!
**************************************************... | [
"nick.hagan@live.com"
] | nick.hagan@live.com |
f589a5a6a3493b141245a86d22bd9358ab1adb2d | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14280/function14280_schedule_7/function14280_schedule_7_wrapper.cpp | c83f9db5593d6716b95558117b3fbe68dba595c7 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include "Halide.h"
#include "function14280_schedule_7_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(8192, 8192);
Halide::Buffer<int32_t> buf0(8192... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
de2843e2595038a1c6ef81d3adef21bfaa3e9250 | 1f43392b18d93406441decd2fa40fc9e77d10b56 | /core/App.h | 39172f0473ddf8ca989cf375c10a863dc15c778f | [] | no_license | ozcoco/AppFramework | 435a33bbd5c2aa0f3cd79a093d17256164ca6a92 | 616b7c46b22ddafaf91df57db4e3aacd8bcca917 | refs/heads/master | 2020-09-12T03:07:59.647373 | 2019-11-17T17:01:53 | 2019-11-17T17:01:53 | 222,282,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | h | //
// Created by ozcomcn on 11/18/19.
//
#ifndef SERIALPORTDEMO_APP_H
#define SERIALPORTDEMO_APP_H
class App
{
public:
};
#endif //SERIALPORTDEMO_APP_H
| [
"857527916@qq.com"
] | 857527916@qq.com |
8935060637acb6f6cea34d9f82faadb78bd06cd9 | b810d4ca6ae0384d05e81c9dae594923eb5f3235 | /sdl/Util/TypeTraits.hpp | 55d3570bbb9f063d457972f16550f186a76df330 | [
"Apache-2.0"
] | permissive | CogMachines/hyp | 2b6efd728dc6c531873c902e19a73f086259c16c | d39f388f9cd283bcfa2f035f399b466407c30173 | refs/heads/master | 2021-05-07T19:55:00.101352 | 2016-07-09T05:53:47 | 2016-07-09T05:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,197 | hpp | // Copyright 2014-2015 SDL plc
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing,... | [
"graehl@gmail.com"
] | graehl@gmail.com |
2115bed40f1f200bb54a27912f2c0eed127c9350 | 983424bb42cdbef82975287229652d490dd8f521 | /test1.cpp | a8cd39373b6c4e8abf2927770c5062becd06fb3d | [] | no_license | namnguyen215/Thuc_hanh_tin | d6802641b73576fdda951f38bb6b5ab31d7d5d7f | c6958a8f9a1ca4a3fc578054cfc289fd9e935bae | refs/heads/main | 2023-07-17T07:32:51.408534 | 2021-08-06T14:29:34 | 2021-08-06T14:29:34 | 305,582,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include<bits/stdc++.h>
using namespace std;
void in(){
int n; cin>>n;
int a[n][n];
int b[100001];
vector<int> c;
memset(b,0,sizeof(b));
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cin>>a[i][j];
if(b[a[i][j]]==i){
b[a[i][j]]+=1;
... | [
"namnguyenphuong215@gmail.com"
] | namnguyenphuong215@gmail.com |
51584fc7773087788ae971e441db63aa1ec0d18c | 06a4ec64a2756069c1980209c801fb09a3727eb2 | /GamePlay/gameplay.h | c435a8df1bb32ce7254d1f332ea2775693b10220 | [] | no_license | kkarabas/tetris | 505cb58c5c36d29ba9f51fc36b534e892f2e9655 | 331bd88233a6738dfaae75f1b65b70f2758408d3 | refs/heads/main | 2023-02-02T17:43:29.064783 | 2020-12-17T06:34:45 | 2020-12-17T06:34:45 | 315,854,977 | 0 | 0 | null | 2020-11-25T07:18:03 | 2020-11-25T06:58:42 | null | UTF-8 | C++ | false | false | 477 | h | #ifndef GAMEPLAY_H
#define GAMEPLAY_H
#include "Figure/figure.h"
#include "GameField/gamefield.h"
#include "Action/action.h"
class Figure;
class GameField;
class Action;
class DrawInterface;
class GamePlay
{
public:
GamePlay(DrawInterface*);
~GamePlay();
void run();
DrawInterface* m_drawInt;
privat... | [
"noreply@github.com"
] | noreply@github.com |
680a9f39b2c5da714b5fc62b3bd4bdec9f865a41 | d2f68591ee455d3e9002a524e61147ffad8cc618 | /ArcadeBasketball/SFM_ setup/SceneNode.cpp | 945e67e2a0ce6fb70310e7dff5ac1c278babb615 | [] | no_license | JacobShannon316/ArcadeBasketball | ac7c64ffe8d7e189cc7fb99ad54e496d5713b8a7 | 7197e1506d832de88b9335c0c3442443e332bca0 | refs/heads/main | 2023-04-20T01:25:32.552255 | 2021-05-03T17:14:08 | 2021-05-03T17:14:08 | 336,299,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,318 | cpp | #include "SceneNode.h"
#include "Command.h"
#include "Utility.h"
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <algorithm>
#include <cassert>
#include <cmath>
SceneNode::SceneNode(Category::Type category)
: mChildren()
, mParent(nullptr)
, mDefaultCategory(categor... | [
"54894439+JacobShannon316@users.noreply.github.com"
] | 54894439+JacobShannon316@users.noreply.github.com |
fdad08d7d562da6fbef7083929c5bc262dcf099d | 6e460fb1aa2c9871482b53553c5680af2b471ea2 | /UICARD.h | fff7abc42f02c80895518c235a5ef71120dddcd6 | [] | no_license | qtx0213/making_warcraft2 | 9189f71c2fa741cb6976057ce8ea3df9204fbffd | c69f7e27ef4b70bbff6999bfeea2b35e2f9fe8e8 | refs/heads/master | 2022-04-03T08:28:54.006823 | 2019-04-09T00:12:07 | 2019-04-09T00:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #pragma once
#include "stdafx.h"
class UNIT;
class BUILD;
class UICARD
{
private:
enum E_UITYPE
{
E_NONE = 0,
E_UNIT,
E_BUILD,
E_MAX
};
private:
image * _pImageCard;
image* _pObjectImage;
image* _pPrograssBar;
E_UITYPE _eUiType;
UNIT* _pUnit;
BUILD* _pBuild;
int _nHp;
int _nMaxHp;
int _nAtt... | [
"mdh92706@gmail.com"
] | mdh92706@gmail.com |
dbc06b7a04932b9c31e8730f6bbb80effcb6bfe4 | 4bf5702c03470f254ff199d6952f750ec63afa6b | /jets/backup/StMyJet/ReaderPythia.h | e50dbb373044834126e1fd2ea49a37f09f728dca | [] | no_license | zlchang/jetAnalysis | 853940567e303ef88b736955a40411bbc7d9bd59 | 7f9bb600b27f87aa429be209643d2cca5445f0de | refs/heads/master | 2021-07-14T02:07:31.010399 | 2019-01-11T18:26:49 | 2019-01-11T18:26:49 | 105,780,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | #ifndef READPYTHIA
#define READPYTHIA
#include<vector>
#include "TObject.h"
class StJetEvent;
class StPythiaEvent;
class MyJetPar;
//class MyJet;
class TFile;
class ReaderPythia : public TObject
{
public:
ReaderPythia(StJetEvent *parton = 0x0, StJetEvent *particle = 0x0, StPythiaEvent *pyevnt = 0x0);
int Ini... | [
"achangzl@hotmail.com"
] | achangzl@hotmail.com |
230b9023c7d72fc1dcb19faa34c0d434c23167c2 | 46cf96ee711d1f3acd2aeaf6cabef97c8dfdd737 | /cognitive_systems/src/cogsys_visualization/src/rl/sg/bullet/Shape.cpp | b103ff32357c472e5200244f015d8c3288e39300 | [
"BSD-2-Clause"
] | permissive | diarodriguezva/uni_projects | acadc0acd9c12b51fa73f75b25874ba473ef5002 | 9fb7117aef9903f42832ae78492a87aa30caf9f1 | refs/heads/master | 2021-01-19T14:30:11.403976 | 2014-10-12T11:22:10 | 2014-10-12T11:22:11 | 25,116,166 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,576 | cpp | //
// Copyright (c) 2009, Markus Rickert
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of condit... | [
"diarodriguezva@gmail.com"
] | diarodriguezva@gmail.com |
0cc36ec6beeb73c0ccd042615fd5790a85c50cf4 | e46b909cdf0361f6c336f532507573c2f592cdf4 | /catboost/cuda/ctrs/ctr_bins_builder.h | 3e1b47f00a4b635a59683400f2f4aa35b246717e | [
"Apache-2.0"
] | permissive | exprmntr/test | d25b50881089640e8d94bc6817e9194fda452e85 | 170138c9ab62756f75882d59fb87447fc8b0f524 | refs/heads/master | 2022-11-01T16:47:25.276943 | 2018-03-31T20:56:25 | 2018-03-31T20:56:25 | 95,452,782 | 0 | 3 | Apache-2.0 | 2022-10-30T22:45:27 | 2017-06-26T14:04:21 | C++ | UTF-8 | C++ | false | false | 11,711 | h | #pragma once
#include "ctr_kernels.h"
#include <util/system/types.h>
#include <catboost/cuda/cuda_util/reorder_bins.h>
#include <catboost/cuda/cuda_util/helpers.h>
#include <catboost/cuda/cuda_util/compression_helpers.h>
#include <catboost/cuda/cuda_util/fill.h>
#include <catboost/cuda/cuda_util/compression_helpers_g... | [
"exprmntr@yandex-team.ru"
] | exprmntr@yandex-team.ru |
d190efd82b5f7c868064c006a5a6f6dabca17a01 | 6e8c2797c3d80b5b0e0bf2a915c412679e5869fb | /EternalFacade/GameObjects/DungeonObject/DungeonObject.cpp | 857ca9a495f4a3787ae38cc112d50205f00eceab | [] | no_license | ProdigalNerd/EternalFacadeSDL_v2 | 7f7902a2ed38dc0a2fa91f73ab8a55aecf829e2b | c3056ba5c0a768622100d0af398096aeeceacbe5 | refs/heads/master | 2020-04-15T06:24:55.805740 | 2019-01-07T17:49:48 | 2019-01-07T17:49:48 | 164,459,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | //
// Created by Tyler Wilson on 3/29/18.
//
#include "DungeonObject.hpp"
DungeonObject::DungeonObject() {
}
DungeonObject::~DungeonObject() {
}
bool DungeonObject::IsInteractable() {
return interactable;
}
TileType DungeonObject::GetTileType() {
return type;
}
void DungeonObject::SetTileType(TileType n... | [
"tyler.wilson@hyperproductive.com"
] | tyler.wilson@hyperproductive.com |
53b488d70fdb56601dad4833ae143b3067fca2d5 | c51abf1dd3df9b216df9c7dfaba0b680d5d2c9ca | /C语言基础/ACM2018秋季集训/2638/1179.cpp | 10bb9d5eefd02688e59e21a44924a2f75371fd0f | [
"MIT"
] | permissive | devhg/some_answer_for_OJ | f5feb2a4f04148124bed4d794a54dc6091ba8e8f | 758312180b1f7f2ab35919f40f309e18718ea97c | refs/heads/master | 2022-12-19T16:27:00.980599 | 2020-10-14T07:47:54 | 2020-10-14T07:47:54 | 144,714,677 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include <iostream>
using namespace std;
int main()
{
int n, i, m, t;
cin>>n;
for (i = 1; i <= n; i++)
{
for (m = i; m < n; m++)
{
cout << ' ';
}
for (t = 1; t <= i; t++)
{
cout << t;
}
for (t = i - 1; t >= 1; t--)
{... | [
"501966782@qq.com"
] | 501966782@qq.com |
3889385fbb9fda29c5bf0a0731478f6c2026f2ba | 6087cb46ec215edf1b193773db4f65ee69c77d8a | /src/rpcserver.cpp | 0d89b1b1ce5ddb99004284660db91b9fc403d659 | [
"MIT"
] | permissive | ColinWall-E/aliencoin | d2b236e299bf747ede41d873f55ca4d2c15a2ceb | ef307d124e440a710511912e975c48db87b4ab33 | refs/heads/master | 2020-06-02T11:23:44.273154 | 2019-06-12T01:36:22 | 2019-06-12T01:36:22 | 191,139,092 | 1 | 0 | MIT | 2019-06-10T09:37:19 | 2019-06-10T09:37:18 | null | UTF-8 | C++ | false | false | 41,732 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "base58.h"
#include "init.h"
#include "main.h"
#include "u... | [
"499098820@qq.com"
] | 499098820@qq.com |
345512b594b136e96976d6efe9a851e52b28ded7 | 8bbaa558480442c7c680719008819922130f3225 | /Project1/ATPH.cpp | 2432360ea9b9e5e37e4a6a15cc958270cc4e0532 | [] | no_license | jeanhadrien/ISEN-Projects-NoisedATPH | ecd894a2435d0828337ce72e9d02b45016f66656 | 3bd65c5ff980417e9513be5e1f49da37f55bf309 | refs/heads/master | 2022-02-25T11:58:27.400585 | 2019-10-14T10:41:39 | 2019-10-14T10:41:39 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 17,294 | cpp | #include "ATPH.h"
// Macro utile au VBO
#ifndef BUFFER_OFFSET
#define BUFFER_OFFSET(offset) ((char*)NULL + (offset))
#endif
ATPH::ATPH(vec3 p0, vec3 p5, vec3 di, vec3 df, double phi0, double phi2, double alpha, std::string const vertexShader, std::string const fragmentShader) : m_shader(vertexShader, fragmentShader... | [
"40248338+jeanhadrien@users.noreply.github.com"
] | 40248338+jeanhadrien@users.noreply.github.com |
560dec5a1d3cf2138210057041429d84739bc07b | 37d39e6fd42c569589020a698c66a992b55fd113 | /cpp_basics.hpp | 8859675041338f7ea4e96b32890d7a743e73fad4 | [] | no_license | ljordan97/Notes | 8de902624ae12bb223cad39e0ada595356cb59e1 | 3e03c71d04efa6b76a9c842b927e4976497b147d | refs/heads/main | 2023-06-06T14:05:29.152998 | 2021-06-18T16:46:58 | 2021-06-18T16:46:58 | 375,399,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | hpp | //classes
//attributes = member data, methods = member functions
//note: define methods in header, declare them in .cpp
class Song {
std::string title;
public:
void add_title(std::string new_title);
static const int NumTurns = 5;
//if compiler complains, add this to implementation file
static int Song:... | [
"levi.jordan97@gmail.com"
] | levi.jordan97@gmail.com |
171f6210f4ec472780d97d236b38e97f450da9f1 | f562f6d5d0c8bf0ef2916bba4e58771b9eaf082d | /codeforce/Sum of Round Numbers.cpp | be360f0307857854bc1397f8daa439830a576b08 | [] | no_license | Tasmia22/Codeforce | b52b75aaed25f06448201880414983a605298e07 | 81614256918602a07ecb266f8885ad434453b86e | refs/heads/master | 2023-04-05T08:30:20.206119 | 2021-04-19T11:27:34 | 2021-04-19T11:27:34 | 272,217,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t,n;
cin>>t;
while(t--)
{
cin>>n;
int i=1,cnt=0;
int p=n;
while(p!=0)
{
if(p%10) cnt++;
p=p/10;
}
cout<<cnt<<endl;
while(n)
... | [
"noreply@github.com"
] | noreply@github.com |
c31adbebd9178cb8ac4e2cfb8431c68df3d620b4 | 9a14194c13f912e18055b094bc82cf413365aac7 | /Magick/MagickSwirl.cpp | 3e3f39515f350d8e1f19872cdf187ccf3d89fd3d | [] | no_license | devernay/openfx-arena | 2018e78e2d6fe5ca4afe2279bc3a089a6e327679 | efafd6c0c3d911f555d877fd7c3afdd1b97581c0 | refs/heads/master | 2021-01-12T20:55:11.604422 | 2015-04-29T04:31:29 | 2015-04-29T04:31:29 | 34,804,953 | 1 | 0 | null | 2015-04-29T16:28:30 | 2015-04-29T16:28:30 | null | UTF-8 | C++ | false | false | 10,892 | cpp | /*
openfx-arena - https://github.com/olear/openfx-arena
Copyright (c) 2015, Ole-André Rodlie <olear@fxarena.net>
Copyright (c) 2015, FxArena DA <mail@fxarena.net>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions... | [
"olear@dracolinux.org"
] | olear@dracolinux.org |
29c87a02616971b6218f96ed18f276e86ee1c78a | e85338f6d8666eb476698de5025c742b9b838a50 | /ojs/cf/512B.cpp | 3f89be22f677417a08b07b6af028945309602f59 | [] | no_license | yancouto/competitive-programming | 8104bb3c45e0b385c2abb4cfcac14c35cce0619e | ac849e3aa858eea56b0aa6b7eb93e9a9e70f9475 | refs/heads/master | 2022-10-19T11:29:46.932829 | 2022-10-07T00:16:43 | 2022-10-07T00:16:43 | 66,641,933 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fst first
#define snd second
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> pii;
#define pb push_back
#define for_tests(t, tt) int t; scanf("%d", &t); for(int tt = 1; tt <= t; tt++)
template<typename T> inline T abs(T t) { return t < 0?... | [
"yancouto@gmail.com"
] | yancouto@gmail.com |
dab9f3a70ccfe461d5572ede2a6a7a05ccdb1dfd | 0e3f4bfc3b42c7c60026ae2a2e94e967fc3f2c8a | /DXRVoxelizer/XUSG/RayTracing/XUSGRayTracingState.cpp | d73324a0e034c310bfa03582b41a38bdc4167769 | [] | no_license | alexanderyyg/DXRVoxelizer | 83586a42212b2e645722bf5b0ba9426f133271b8 | dbc4e8b7f39b8ef946256a6368fa858c8fc3cfaa | refs/heads/master | 2020-05-01T03:15:23.767809 | 2019-03-23T03:41:01 | 2019-03-23T03:41:01 | 177,240,558 | 1 | 0 | null | 2019-03-23T03:42:48 | 2019-03-23T03:42:48 | null | UTF-8 | C++ | false | false | 9,864 | cpp | //--------------------------------------------------------------------------------------
// By Stars XU Tianchen
//--------------------------------------------------------------------------------------
#include "XUSGRayTracingState.h"
using namespace std;
using namespace XUSG;
using namespace XUSG::RayTracing;
State... | [
"TianchenX@outlook.com"
] | TianchenX@outlook.com |
4e30251be2cf7191a5e33dcb88e55944150c71af | 3026b6b12502d6ea6d469d1795f35deaa844fbd1 | /microsoft/sortedArrayToBST.cpp | 390bf7ff27f08c41128124da5d0e34cf1c98fc4b | [] | no_license | prady4/Help | 76ff68f7de386b9329a94fefb02b5e8297ca840f | f437e46cdf208dc0328c6d0ce6d7556b64b06224 | refs/heads/master | 2021-05-01T21:39:03.823206 | 2016-10-20T21:41:11 | 2016-10-20T21:41:11 | 69,189,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | TreeNode* helper(const vector<int> &A, int low, int high) {
/*
if(low==high){
TreeNode* node = new TreeNode(A[low]);
return node;
}
int mid = (low+high)/2;
TreeNode* node = new TreeNode(A[mid]);
if(mid!=low)
node->left = helper(A, low, mid-1);
node->right = helper(A, ... | [
"pradyrocks09@gmail.com"
] | pradyrocks09@gmail.com |
d009a6d14faff4e9f09ededba069ff3264ea6ec3 | 73b5ed2377794fb270adc1972b6140d65d03ef64 | /CMesh.h | 138f47a6c76a9d822854008b05cdff522a2abe47 | [] | no_license | ashwathpro/shady | 1412c144b8a0186d9bb9dbb2937643515c746299 | 239fe6d526c0171f90131a250d291d95f122c18a | refs/heads/master | 2021-01-18T12:19:15.372966 | 2013-10-23T21:15:51 | 2013-10-23T21:15:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,822 | h | /********************************************************************
Mesh.H Header File
A lite DLFL Mesh implementation
Ozgur Gonen, May 2013
Visualization Laboratory
Texas A&M University
*********************************************************************/
#ifndef __Mesh_H__
#define __Mesh_H__
... | [
"ozgur.gonen@gmail.com"
] | ozgur.gonen@gmail.com |
cde4f1205a37824d6c0293e7abdbce033020a84d | 5e5e02f7663d86089d87d47aebf609ec6dbcf97c | /GameWindow.cpp | 7709db8624e5ada5d082bfb1d5e8eae527f3cc32 | [] | no_license | mcejp/PacWorld | 3483fce6512848dbc45dcea33a558b522faf24e2 | b900387ac36d3f2f226c4534cd34ba90c7e7e9c3 | refs/heads/master | 2020-05-18T17:23:10.795308 | 2000-10-08T09:22:14 | 2019-05-02T09:22:14 | 184,553,619 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 42,325 | cpp | // GameWindow.cpp: Implementierungsdatei
//
#include "stdafx.h"
#include "resource.h"
#include "GameWindow.h"
#include "GameApp.h"
#include "AboutBox.h"
#include "helper.h"
#include "Tutorial.h"
#include "Settings.h"
#include "Highscore.h"
#include "Thanks.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#und... | [
"info@programming.de"
] | info@programming.de |
b358e944e4b4d4ffd4b1f896b252efd6918d1d3f | 56dc83b864de250b0b0fde6892d934dae0900fb2 | /OutsideTemperature/Dallas.cpp | 1ff45285440c3d69361110d9562713e567ca996e | [] | no_license | timdows/AMD | 192b2aa4b4e481229d563487a4c41717d5f8c954 | 11577e2a7b0d93bd6745d99af430483e97ad3a50 | refs/heads/master | 2020-04-07T04:49:26.500401 | 2018-12-21T15:54:18 | 2018-12-21T15:54:18 | 41,149,960 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | #include "Dallas.h"
void DallasClass::Init(MySensor *mySensorGw, int childId, int pin)
{
this->mySensorGw = mySensorGw;
this->childId = childId;
this->pin = pin;
this->oneWire = OneWire(this->pin);
this->sensors = DallasTemperature(&this->oneWire);
this->sensors.begin();
}
void DallasClass::ReadSensor()
{
t... | [
"tim@inexpro.nl"
] | tim@inexpro.nl |
9b77a40cb7ccfac65314ebe63be925a5a01f4d02 | 4fd7cc39218c1d5fc69ff60dd163143a246da828 | /slg/GameObj/ObjList.cpp | 3074f6a6851e06dcb08d83777ceb04130a4ccca9 | [] | no_license | ghunreal/summary | 623ce4e82faf727c951b74bd10f157f9867e832f | db2c61a63d1c9fc72cd33a8eeb68ebc3819ecc17 | refs/heads/master | 2021-01-12T08:48:38.632071 | 2017-04-18T05:42:21 | 2017-04-18T05:42:21 | 76,701,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,222 | cpp | #include "ObjList.h"
#include "Battle/BattleManager.h"
#include "Battle/MapGrid.h"
using namespace Game;
ObjList::ObjList()
: _points(0)
{
_list.setAddCb(CC_CALLBACK_1(ObjList::onAdd,this));
_list.setRemoveCb(CC_CALLBACK_1(ObjList::onRemove, this));
_leftTower.setBLeft(true);
}
void ObjList::resetTower(bool isE... | [
"hui.guo@mokun.net"
] | hui.guo@mokun.net |
dbee886bf311ca05be5be972fef0ec3b0c609aad | 0fdacad0e8bbb39efdc8550d2acdb8fd2e774ea6 | /UKAMI_final2.0/src/Map.cpp | 0f6365ae17f1844dffeb992a763bfe284b2d5c3c | [] | no_license | RubenRubioM/FV-Ukami | 9e2955749dfbe73783a723730c55365a599664f6 | b71e2e72ca2cac6523ab30280284cd44a539dd40 | refs/heads/master | 2020-04-22T16:25:48.081171 | 2019-06-03T19:36:20 | 2019-06-03T19:36:20 | 170,507,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,005 | cpp | #include "Map.h"
#define F 30.0f
Map::Map()
{
// Creamos la gravedad y se la asignamos al objeto world;
b2Vec2 gravity(0.f, 9.8f);
world = new b2World(gravity);
tex_background.loadFromFile("tileset/map1_Back.jpg");
tex_background.setSmooth(true);
sp_background.setTexture(tex_bac... | [
"rubensipala@gmail.com"
] | rubensipala@gmail.com |
ae3bd464c341ad3a2f785a5832a279eab5a91967 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_new_hunk_945.cpp | 549a983375603ce602651e78c58beb5c03c842e5 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | else
ret = ARCHIVE_FATAL;
}
return (ret);
}
/* Note: The "warn" return is just to inform the options
* supervisor that we didn't handle it. It will generate
* a suitable error if no one used this option. */
return (ARCHIVE_WARN);
}
static int
| [
"993273596@qq.com"
] | 993273596@qq.com |
87d3f6a6381666f06e579e0ef586104ee16371af | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/09_20656_28.cpp | e6a358657cb709a663a79315530dbfff092cefc5 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <set>
#include <map>
#include <cmath>
#define VI vector<int>
#define PII pair<int,int>
#define f0(i,n) for(i = 0; i < n; i++)
#define eps 1e-9
#define MP make_pair
using namespace std;
int a[200][200] , g[200][200... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
b90341d4353855bbb81e85100ea6396570f9288d | 83e81c25b1f74f88ed0f723afc5d3f83e7d05da8 | /tools/aapt2/format/Container.h | f653981ba6da754646d2c950ec9092e6cc80a4dc | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | Ankits-lab/frameworks_base | 8a63f39a79965c87a84e80550926327dcafb40b7 | 150a9240e5a11cd5ebc9bb0832ce30e9c23f376a | refs/heads/main | 2023-02-06T03:57:44.893590 | 2020-11-14T09:13:40 | 2020-11-14T09:13:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,837 | h | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | [
"keneankit01@gmail.com"
] | keneankit01@gmail.com |
6b040c00b3c99806ebfab3edf21504e8feb0ee84 | b7d36bd8417d92970e31063ef2b438fe470ea433 | /TagAndProbe/plugins/SelectronByValueMap.cc | a1cb1e37b47315d8311ce2f79afe3f8a4b600a43 | [] | no_license | matteosan1/EGMTagAndProbe | 52f076832593ccf063a3ee585a36bc48e706f5db | e41a7b8577f4f646d8e4b9c4e0b675c169ad391a | refs/heads/master | 2021-01-02T09:38:04.346283 | 2015-05-17T12:33:34 | 2015-05-17T12:33:34 | 35,764,881 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,399 | cc | #ifndef SelectorByValueMap_h
#define SelectorByValueMap_h
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include... | [
"matteosan1@gmail.com"
] | matteosan1@gmail.com |
5fee7490d483e6e603de5716e089119873e72359 | 085fc57a050c64f8ff147e5825d384a4a8b9b86d | /GraphicCW/Graphics For Games/CourseWork/Renderer.h | 8d673512a0e4cbc7353bb8835ebb0280c6d86299 | [] | no_license | Aaroncc1989/FluidSim | aa7a0ba46a0da85c48639322eea0c3b2bf6b0aa0 | 25da5f221e183305900d42a2aa8a63727c720d29 | refs/heads/master | 2021-09-25T06:54:41.127522 | 2015-09-11T21:59:51 | 2015-09-11T21:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | h | #pragma once
#include "Particles.h"
#include "../../nclgl/OGLRenderer.h"
#include "../../nclgl/Camera.h"
#include "../../nclgl/HeightMap.h"
#include "../../nclgl/OBJMesh.h"
enum FBOINDEX
{
SMOOTH0,
SMOOTH1,
PARTICLE,
THICKNESS
};
class Renderer : public OGLRenderer {
public:
Renderer(Window & parent);
virtual ~... | [
"905326502@qq.com"
] | 905326502@qq.com |
981ce6ce080a0f2fe6038439d25a79f403213bb9 | bb4d0899650ec41875a93ce053b9854221283bba | /contests/000_training/abc035_b.cpp | c2bc8161366d72660f9174c92a40e5db93145dce | [] | no_license | moosan63/my_competitive_programmings | 9c41a9ac9a95c5f404b1e697c75650b4a0076a0f | e507b15659e9c629839165f0f265eb624df8bda2 | refs/heads/master | 2020-05-19T17:04:27.378309 | 2020-01-27T10:15:32 | 2020-01-27T10:15:32 | 185,125,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | cpp | #include <algorithm>
#include <bitset>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <math.h>... | [
"moosan63@gmail.com"
] | moosan63@gmail.com |
d5d1c9c177a666ee15b9831894bde7d603b80803 | e09287b0da2feb548d8c7dd307a0119e6ae65f4d | /menge_core/src/Agents/StateSelectors/StateSelectorDatabase.cpp | 22f1407134010888fa2dd7533e568a03d00b3a67 | [] | no_license | flztiii/menge_ros | ee52f37a0aa710c6128c047a4c4e3d25832bfe7b | af50499f90117a29ea8bddd1b496dead232b5ec0 | refs/heads/master | 2023-03-18T10:57:48.634069 | 2017-08-23T19:34:27 | 2017-08-23T19:34:27 | 510,190,699 | 1 | 1 | null | 2022-07-04T02:48:29 | 2022-07-04T02:48:29 | null | WINDOWS-1252 | C++ | false | false | 2,683 | cpp | /*
License
Menge
Copyright © and trademark ™ 2012-14 University of North Carolina at Chapel Hill.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation
for educational, research, and non-profit purposes, without fee, and without a
written agreement is hereby gran... | [
"anooparoor@Minerva.cs.hunter.cuny.edu"
] | anooparoor@Minerva.cs.hunter.cuny.edu |
b22abd68f32cd406ac175547c2778b5f341fa7ac | 177cc0eefc1f07173b22c31c3be44621022c7001 | /canscope/device/register/soft_diff_register.cc | 8735416bdb53907219a2beee18cdf52560fdc704 | [] | no_license | lianliuwei/device_operate | 7cfbfe1572eaa37bc89cd9e23391b65a7c9e93a6 | 8c9d40f809917e35bc7fb05c54919ba5ad59880d | refs/heads/master | 2021-01-01T15:23:24.684622 | 2013-09-30T09:56:17 | 2013-09-30T09:56:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cc | #include "canscope/device/register/soft_diff_register.h"
#include "canscope/device/register/canscope_device_register_constants.h"
using namespace device;
namespace canscope {
SoftDiffRegister::SoftDiffRegister()
: memory(kSoftDiffAddr, kSoftDiffSize)
, sys_cfg(memory.PtrByRelative(kSysCfgOffset), 7,... | [
"lianliuwei@gmail.com"
] | lianliuwei@gmail.com |
8ef54104508dad320f94b58f2c09a169f22706b6 | 25d9c3fac5a636655fbef1d353fb6871ac87babf | /CppSemanticMoveTraining/CppSemanticMoveTraining.cpp | a629e56356e84ad30fadcabc7061a2c3d097e7dd | [] | no_license | sammedhi/CppTrainingMetaprogramming-Move | 10f5f365c36b4b0858ff29a3489787156eb9bf4d | 13c8d683bab82c6e17e7fc30ebf2e50980474fc5 | refs/heads/master | 2020-07-31T00:08:02.447797 | 2019-09-23T17:19:24 | 2019-09-23T17:19:24 | 210,410,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | // CppSemanticMoveTraining.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "MyList.h"
#include <iostream>
#include <ctime>
#include <vector>
template <unsigned N>
struct factorial { static constexpr int value = N * factorial<N - 1>::value; };
template <>
struct facto... | [
"sammedhi2@hotmail.fr"
] | sammedhi2@hotmail.fr |
4e0abc03ef72f1ad0400dbfe92a63c95f9455085 | 09d26a821db354a052df22d6d68da522fdd30b79 | /ansys/Workbooks.h | da85bd6999c9514a46fac669d86558876ce68567 | [] | no_license | simmon2014/RuiLi | c04fd2e43933650380950111c55e188f5a021a3c | bf20d7344859ad6a1186bf1d37b804d078a6c00f | refs/heads/master | 2020-12-31T07:10:59.554489 | 2017-03-29T12:04:23 | 2017-03-29T12:09:35 | 86,577,100 | 0 | 4 | null | null | null | null | GB18030 | C++ | false | false | 7,173 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
// Workbooks 包装类
class Workbooks : public COleDispatchDriver
{
public:
Workbooks(){} // 调用 COleDispatchDriver 默认构造函数
Workbooks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Workbooks(const Workbooks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// 属性
public... | [
"simmon2014@163.com"
] | simmon2014@163.com |
b648f362d06e37bf28511d471c5e5c8b674ac184 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_Ray_Tracing/Rendering_Lights/RENDERING_VOXEL_FIRE_LIGHT.h | 83734f36259eed8d77505fa39e96b13fa29b9797 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 7,675 | h | //#####################################################################
// Copyright 2004-2007, Andrew Selle, Jerry Talton.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//##########################################################... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
be0f0bd13201c963f8be76008c5fa7aa9dae1a03 | 129e2a4cc80b570c41380dadf6cb935d5e6345a5 | /AOJ/Introduction/ITP1_11_B.DiceII.cpp | a21c20012deb489b2eaaf84a5badbb2e7f51f505 | [] | no_license | Shusei-E/Online_Judge | 0ca1845fdfe06c81b493e097c75c8b1cf83b951f | 7b10a8e9003636c1e02c50494cbff40ef16cc153 | refs/heads/master | 2021-01-11T06:55:04.147158 | 2018-06-03T12:53:06 | 2018-06-03T12:53:06 | 72,335,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,721 | cpp | #include <iostream>
#include <array>
using namespace std;
class Dice{
private:
int temp;
public:
array<int,7> d;
void set_eyes(int v1, int v2, int v3,
int v4, int v5, int v6){
d[1] = v1; d[2] = v2; d[3] = v3;
d[4] = v4; d[5] = v5; d[6] = v6;
}
void rotate(char direction){
switch(direction)... | [
"shusei.eshima@gmail.com"
] | shusei.eshima@gmail.com |
c2da09a5808a4d469b92686fe3ffdedba964ef69 | 9e9f5b8879151cf081e15bac6b0738df33464a8d | /League/myglobal.h | 67c8be1251646a1b0d46a8d929c63c0f37cc98a7 | [] | no_license | GiboDidact/League-mini | dcf4abf2522c74353d9ed7df1c7c72a7f027970d | f7ebb0f4fbda7d8c377008cc9d5a57687bc4b713 | refs/heads/master | 2022-12-10T09:02:23.289525 | 2019-09-26T17:43:54 | 2019-09-26T17:43:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,253 | h | #pragma once
#include <SDL.h>
#include "Vertex.h"
#include <stdlib.h>
#include <ctime>
#include <iostream>
using namespace std;
class myglobal
{
public:
myglobal()
{
}
void UILocation(SDL_Rect background, SDL_Rect& placement)
{
extern bool ButtonDown;
extern bool upKeyState;
extern bool downKeyState;
ex... | [
"gvm16@my.fsu.edu"
] | gvm16@my.fsu.edu |
ddbd662df115480d113d38e284145d2f40fdb69e | 66e84e1e5f985ea62b88e7401d6a24b961f8f6e8 | /src/terrain/Noise.cpp | 25fc820b03d4d55179d4503c57839e7ad78a3592 | [] | no_license | equadon/open-space | 8346d8042d90ba75d2b63151d3339cc75f4c52be | 329482ab75685134afc4ec0dbaf47bdf1b725a0f | refs/heads/master | 2022-12-24T08:08:54.237840 | 2020-09-27T00:15:13 | 2020-09-27T00:15:13 | 250,896,263 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | #include "cg/terrain/Noise.h"
| [
"niklas.persson@gmail.com"
] | niklas.persson@gmail.com |
e0597f8d858138bb17f7dffd27aa1cd06d21f0fe | 3de039ec4e7fb52dea70416b896f2ca62979b456 | /Project43/Project43/Floyd.h | 87f9f3f9e89606b43b4a3dec173ec844fd2d8815 | [] | no_license | inambaig/Visual-Studio | ecf58dff55028e9a72a706900009d65cb25dc4ef | 046255ed77d57681b5ab9804a70529432bd90b2a | refs/heads/master | 2021-03-02T11:48:58.875463 | 2020-03-08T18:22:39 | 2020-03-08T18:22:39 | 245,866,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | h | #pragma once
#include <iostream>
using namespace std;
void allPairsShortestPaths(int **&);
void addWithInfinity();
void isLessWithInfinity();
void minWithInfinity();
| [
"inambaig776@gmail.com"
] | inambaig776@gmail.com |
c8008d1216240ccfaee3f891000be22d152092f0 | 1b28e5be2926f1f39ff829ea62b6dd8cd8b9be94 | /build-SimpleSerum-Desktop_Qt_5_8_0_MSVC2015_64bit-Debug/ui_removeinventory.h | 3a8d78d7ab0e749edd266e478dbf5c03f2a0a699 | [] | no_license | oracle-ryuu/SimpleSerums_radical_redo | a7e41fda70dc1d5add7967a9774f65e95e22cb5a | cfda88312e8655ac2ac2d51591fedb9df981f2ba | refs/heads/master | 2021-01-23T02:30:03.599015 | 2017-05-09T01:20:37 | 2017-05-09T01:20:37 | 85,997,838 | 1 | 1 | null | 2017-03-31T02:13:09 | 2017-03-23T21:08:40 | QMake | UTF-8 | C++ | false | false | 2,904 | h | /********************************************************************************
** Form generated from reading UI file 'removeinventory.ui'
**
** Created by: Qt User Interface Compiler version 5.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************************... | [
"oracleryuu@csu.fullerton.edu"
] | oracleryuu@csu.fullerton.edu |
19bbb090461e0a4d0e8f3c0d5870b94a53fc05f5 | ac6a43d2f35f369579505f88e4bd04ec0dd1b7e6 | /XivAlexander/App_Network_SocketHook.cpp | c87c0016f7c4bea82dca8290b37d9cd1e8147205 | [
"Apache-2.0"
] | permissive | SoonKeatNeo/XivAlexander | 994bb89eaa695251a68d6236260ba5a254c00ce2 | 4ec6bc7596288516ca3425e2defd0bc710b3b627 | refs/heads/main | 2023-07-02T09:11:18.739755 | 2021-07-20T13:52:51 | 2021-07-20T13:52:51 | 387,803,618 | 0 | 0 | Apache-2.0 | 2021-07-20T13:37:50 | 2021-07-20T13:37:49 | null | UTF-8 | C++ | false | false | 25,939 | cpp | #include "pch.h"
#include "App_XivAlexApp.h"
#include "App_Network_SocketHook.h"
#include "App_Network_IcmpPingTracker.h"
#include "App_Network_Structures.h"
class SingleStream {
public:
bool m_ending = false;
bool m_closed = false;
std::vector<uint8_t> m_pending;
size_t m_pendingStartPos = 0;
SingleStream() = ... | [
"soreepeong@gmail.com"
] | soreepeong@gmail.com |
900c970f075cd3cd48bf95d0a072795ce547e266 | de56a68d56ec23a9a1068758b05bc051211fd01e | /spider/xml/XmlReader.h | 2bde4ae1ea55d14373c842b2f0ab270003861f48 | [
"MIT"
] | permissive | ooeyusea/zookeeper | e3b36ce4c69acc0640205ad829af5fdb06d7c3c3 | 6dc5297ba2248d809b2b0344085f2e00331e0a61 | refs/heads/master | 2020-04-26T21:50:20.718312 | 2019-08-28T15:37:29 | 2019-08-28T15:37:29 | 173,853,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | h | #ifndef __XMLREADER_H_
#define __XMLREADER_H_
#include "hnet.h"
#include <set>
#include <string>
namespace olib {
class IXmlObject {
public:
virtual ~IXmlObject() {}
virtual int8_t GetAttributeInt8(const char * attr) const = 0;
virtual int16_t GetAttributeInt16(const char * attr) const = 0;
virtual int32_t ... | [
"ooeyusea@gmail.com"
] | ooeyusea@gmail.com |
e32b13a87dfee2ec5e2b7189f0d27958aa655604 | 6c5fea76ce7abfdc637daf8978287c905f237792 | /spoj/classical/HAMSTER1.cpp | c845d991e3c55dc6ddd839b70c461135c898e0a5 | [] | no_license | Gurpreet3131/competitiveProgramming | d4ce8341d76b4d5dbce2d59bc677c1fd0e090f48 | 112d7d1d94a787c3ad07e7c170d6573e2b26ca4a | refs/heads/master | 2021-08-12T07:54:39.729856 | 2017-11-14T15:12:20 | 2017-11-14T15:12:20 | 109,845,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include <bits/stdc++.h>
using namespace std;
const int size = 101;
int a[size];
int main()
{
int t; scanf("%d", &t);
double pi = 3.14159, g = 10.0;
while(t--)
{
double v, k1, k2;
scanf("%lf%lf%lf",&v,&k1,&k2);
double alpha = (pi - atan(4*k1 / k2)) / 2;
double Hmax = (v * v * sin(alpha) * sin(alpha)) / (2 *... | [
"gopisingh3131@yahoo.com"
] | gopisingh3131@yahoo.com |
53a4092a94297538cdb1c3fa8bce63d9d480641e | c56b86c0c098948a1aa7ca3b4a25c7be47af2f45 | /Qt/my_old_programm/Hex_view/src/hex_view_mainbox/src/hex_view_mainbox.hpp | 137bf985acba914c1e546f62d54a9d28ed268a1e | [] | no_license | jianglin2045/mega_GIT | 764e460282f1242be5530c8e20e498119f20f827 | 7224c3cf50bf029ff127a3e3db0bb3698af28aa4 | refs/heads/master | 2023-02-13T19:41:30.407632 | 2021-01-11T21:09:31 | 2021-01-11T21:09:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,014 | hpp | /*********************************************************************************
** **
** Copyright (C) 2012 **
** ... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
ca4aebed3e8cca106060467eeb9ddccdc9060162 | 0019f0af5518efe2144b6c0e63a89e3bd2bdb597 | /antares/src/apps/mediaplayer/settings/Settings.h | 207f2c33fe42c4f2c01e3d78e106f5695a3be805 | [] | no_license | mmanley/Antares | 5ededcbdf09ef725e6800c45bafd982b269137b1 | d35f39c12a0a62336040efad7540c8c5bce9678a | refs/heads/master | 2020-06-02T22:28:26.722064 | 2010-03-08T21:51:31 | 2010-03-08T21:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | h | /*
* Copyright 2008, Antares. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Fredrik Modéen <fredrik@modeen.se>
*/
#ifndef SETTINGS_H
#define SETTINGS_H
#include <Entry.h>
#include <Locker.h>
#include "Notifier.h"
#include "SettingsMessage.h"
struct mpSettings {
boo... | [
"michael@Inferno.(none)"
] | michael@Inferno.(none) |
4a9c42a5d216b1a571f7987f61774eeffeb881f2 | 675169458870416935d05e0cc7204cb00decdfc2 | /mqttStream/mqttStream.ino | a8208d25d8fdf00281ba5dda61b83028986114d9 | [] | no_license | avirup171/DeveloperWeekend | 0be8914186b274c667012950391e5e55b1726cc1 | dbf204d03eeb6d71e417c8552160ac7f69a496a7 | refs/heads/master | 2021-05-02T03:32:20.809440 | 2018-02-12T03:11:35 | 2018-02-12T03:11:35 | 120,899,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,130 | ino | #include <ArduinoJson.h>
#include <PubSubClient.h>
#include <ESP8266WiFi.h> //ESP8266 Core WiFi Library (you most likely already have this in your sketch)
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager WiFi Configuration Magic
const char* mqtt_server = "iot.eclipse.org";
WiFiClient ... | [
"avirup.basu@live.com"
] | avirup.basu@live.com |
356cccdbea9e7e67002d2fcd680e3bf5177aaf17 | de2c6ad63c95270046d204f5dae2534aad97cfd6 | /Socket/TFTP/源.cpp | 651e843203dcbdd76bcc6c62a7e9d0aa80e7376b | [] | no_license | Wjt1127/Computer-Network-lab | fb405fb32697f1b8ac879982e7db9716ae1fc1eb | 0f0bf5954d2e653aff4e75e0a5c7d6f72e89f7bb | refs/heads/main | 2023-07-09T22:32:18.995141 | 2021-08-05T08:46:38 | 2021-08-05T08:47:28 | 392,952,109 | 4 | 0 | null | null | null | null | GB18030 | C++ | false | false | 23,583 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<winsock.h> //对于Winsock 2,应该#include<winsock2.h>
#include<iostream>
#include<stdio.h>
#include<string.h>
#include<ctime>
#pragma comment(lib,"ws2_32.lib") //连接ws2_32.lib 否则会有连接错误
using namespace std;
#define SERVER_PORT 69 //定义客户端初始连接(伪连接)端口号
#define BUFFER_SIZE 1024 //设置缓冲... | [
"1243254658@qq.com"
] | 1243254658@qq.com |
d702911222aaf7ede7fccf0c0e9f278a7f226dca | c9e0227c3958db89747488328bd2b255e54f008f | /solutions/0275. H-Index II/0275.cpp | d0c7c63082ed45721d27d1c9b48d81a82ad67147 | [] | no_license | XkhldY/LeetCode | 2deba28b7491c36b4f224c3132fb89feea318832 | 94e23db2668615d9fe09e129a96c22ae4e83b9c8 | refs/heads/main | 2023-04-03T08:17:30.743071 | 2021-04-14T23:34:03 | 2021-04-14T23:34:03 | 358,136,537 | 1 | 0 | null | 2021-04-15T05:20:21 | 2021-04-15T05:20:21 | null | UTF-8 | C++ | false | false | 308 | cpp | class Solution {
public:
int hIndex(vector<int>& citations) {
int l = 0;
int r = citations.size();
while (l < r) {
const int m = l + (r - l) / 2;
if (citations[m] >= citations.size() - m)
r = m;
else
l = m + 1;
}
return citations.size() - l;
}
};
| [
"walkccray@gmail.com"
] | walkccray@gmail.com |
aabb0bbe51b35d26e6ab860137826302db6f2cdc | 5d57ae30d25e717040150a9371e921cac8702e51 | /MapRepresentation/qgslib/gui/qgis_gui_autogen/include_RelWithDebInfo/MKW6JX5CBL/moc_qgsprocessingvectortilewriterlayerswidgetwrapper.cpp | 5191c9d374c1fa538e9bdaec34ffd899c1e6e5b0 | [] | no_license | 11wy11/MapRepresentation | 726092ae8d4da46de1664e62f811d140571f19e7 | 507a44e9b14cdeb6ad671470e9ec35c555b8ac53 | refs/heads/master | 2023-02-22T20:17:27.715037 | 2021-01-25T13:43:02 | 2021-01-25T13:43:02 | 330,683,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,767 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'qgsprocessingvectortilewriterlayerswidgetwrapper.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.2)
**
** WARNING! All changes made in this file will be lost!
*******************... | [
"1124485058@qq.com"
] | 1124485058@qq.com |
4be25a2c55068b964dc96e17624a22aa829701b8 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s01/CWE762_Mismatched_Memory_Management_Routines__delete_array_class_realloc_74a.cpp | a05f1a9a35142946f6414104d5cfdcf9ccd0e1c5 | [] | 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 | 3,404 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_class_realloc_74a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-74a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory ... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
33273754d9720ab054ce4385f13a45e6eb1e8bad | c0bd2095c4d87fd2b9ae73f128f2d693eea0ae46 | /HolaSDL/Bullets.cpp | 5c304820c67ab4c24b95fef049439385a33ffc87 | [] | no_license | GonzaPM7/TPV_2 | 7cad4529d0953f2dabf030ebebc7f3b969961437 | c423bf331b280cd5ecfffe221f8bd3f20fbf00f9 | refs/heads/master | 2020-04-21T08:20:33.720145 | 2019-06-22T09:24:29 | 2019-06-22T09:24:29 | 169,416,688 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | cpp | #include "Bullets.h"
Bullets::Bullets(SDLGame * game):
GameObjectPool(game), bulletImage_(getGame()->getServiceLocator()->getTextures()->getTexture(Resources::WhiteRect)),
naturalMove_(), deactivate_()
{
for (Bullet* b : getAllObjects())
{
b->addC(&bulletImage_);
b->addC(&naturalMove_);
b->addC(&deactivate... | [
"dangar18@ucm.es"
] | dangar18@ucm.es |
3d80aaeae5c957c99ec1a2a07bb1da17e0e46077 | d9b0ebf79935d3c9277a2c5b3824c0d1657d9a6e | /GrpcSample/GrpcSample/Basic.Client/main.cpp | 2e68547abe86dea7c2983b727a42b166972bd931 | [] | no_license | izumisan/cppsample | ad8ac211f05467db04f4e1275e7be15b2daa0e7f | 09756cbacb99630981c023cd071eaf08861be076 | refs/heads/master | 2022-08-27T18:48:49.097280 | 2022-08-22T14:16:13 | 2022-08-22T14:16:13 | 136,809,138 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,329 | cpp | #include <iostream>
#include <memory>
#include <string>
#include <grpcpp/grpcpp.h>
#include "foo.grpc.pb.h"
// gRPCクライアント側プログラム
//
// 1. `grpc::CreateChannel()`により、コネクションを確立する
// 2. protoファイルより自動生成された`FooService::NewStub()`により、クライアントを生成する
// 3. クライアントを介して、関数をリモート実行する
int main()
{
std::cout << "Basic client start... | [
"izumi.mite@gmail.com"
] | izumi.mite@gmail.com |
93c2d5a1742d9907705541276de7da4af4aa0cf8 | 9ffd41a8ee4d40ff3a17ac0bdaa5223b8e44417d | /AtsMain/trader/InvestorPotion.cpp | 9b334000ab5f5f4366bd025a266d2b9a11513cd0 | [] | no_license | ruanbo1003/Ats | acce6667b2305ad8fa67f4f331f3410ad78a8d79 | f5cfdbb9d2cd8cb16f04b0cabebbeb061cf197c7 | refs/heads/master | 2021-01-22T23:34:44.667392 | 2017-09-11T11:58:14 | 2017-09-11T11:58:14 | 85,658,354 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,357 | cpp | /*
* InvestorPotion.cpp
*
* Created on: Aug 1, 2017
* Author: ruanbo
*/
#include <AtsMain/trader/AtsTrader.hpp>
/*
* 持仓
*/
// 持仓
void AtsTrader::reqInvestorPosition()
{
CThostFtdcQryInvestorPositionField req;
memset(&req, 0, sizeof(req));
strcpy(req.BrokerID, _broker_id.data());
strcpy(req.Investor... | [
"ruanbo@localhost.localdomain"
] | ruanbo@localhost.localdomain |
219bce73ab549cb48f9be79e887f8ee4b877167e | 8103d4bc9fd7178577c66f46b1bd543b67361654 | /xu/include/droid/movement.h | 98a0372ae9b84f0c1ce8f4a52f0af9f6f6318e66 | [] | no_license | noczero/advanced-robotics-project-active-slam | a926361b3faae444f271d8d9ddb2fa601b6de406 | 2b842361004b692ced00d84a6f4b9c4d0eccdfb3 | refs/heads/master | 2021-09-15T21:52:19.895873 | 2018-06-11T15:14:34 | 2018-06-11T15:14:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | h | #ifndef DROID_MOVEMENT_H
#define DROID_MOVEMENT_H
namespace droid {
struct Movement {
explicit Movement(int _x = 0, int _y = 0, int _cost = 0);
Movement(const Movement&);
Movement& set(int _x, int _y, int _cost);
inline Movement& set(const Movement& ref) {
return this->set(ref.x, ref.y, ref.cost);
}
... | [
"noreply@github.com"
] | noreply@github.com |
2d4b2cc2077a5ab20498c5cee97a6ed7aabacda4 | 34d56a754b05b88c531ea7139535da9d95b98fb1 | /Sec20_STL/priority_queue.cpp | 6c7ff7223b1d444a726d514fda05f37ab28fd1a0 | [] | no_license | fuyouqie/UdemyC-Intro | 8c8f649475b246f38c148aa4d711f597c7ecbd07 | cddb4e4239278be1c36e092fe31cba00d3c0e713 | refs/heads/master | 2020-04-19T09:51:23.797663 | 2019-02-15T21:05:21 | 2019-02-15T21:05:21 | 168,122,520 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | /*
std::priority_queue
Elements are stored in a vector by default internally
Inserted in order, the largest element is always at the front
*/
#include <queue>
#include <iostream>
template<typename T>
void display(std::priority_queue<T> pq)
{
std::cout << "[ ";
while (!pq.empty())
{
std::cout << pq.top() << " ... | [
"fuyouq@hotmail.com"
] | fuyouq@hotmail.com |
62dc4b34db6d8e31f419876ea8b4a302dffc58e5 | 3ea88d450987c63d16254120edc1cdee032de268 | /inference/main.cpp | e9e999025eed2d47a5e6316c06700f213b3745a7 | [
"MIT"
] | permissive | 2011211242/lightlda | 53d1da71642daa3e4aeaded8586e39ef0165284b | c509f2eb477027fdeecdde8938536fbda5bb59aa | refs/heads/master | 2021-01-21T10:59:16.169556 | 2017-03-01T13:32:51 | 2017-03-01T13:32:51 | 83,505,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include "infer.h"
void Run(int argc, char** argv)
{
using namespace multiverso::lightlda;
Infer::Init();
std::string input_file("/search/odin/yanxianlong/lightLDA/lightlda-master/data/out.txt");
multiverso::StopWatch watch;
watch.Start();
double elapsedSeconds = 0.0000f;
utf8_stream doc_s... | [
"2990936748@qq.com"
] | 2990936748@qq.com |
845e97650ebfc8e8ac2cabe9dc6e04313e8933ed | 81595555c24211906c2d8d81d931b49534ffaeb6 | /printList_stack.cpp | bd309219200a861371e9ea7d9972299680795e7f | [] | no_license | Mr-Giraffe/JianZhiOffer | 6bda91d6b3687ed863050451cd8241e59220289f | d31aa0a54ea988fbedc3a77423f715c76110c71d | refs/heads/master | 2020-06-03T07:40:14.632559 | 2014-05-15T07:30:08 | 2014-05-15T07:30:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | cpp | #include <stack>
#include <cstdio>
using namespace std;
struct LikedList{
int m_kValue;
LikedList* m_next;
};
void print_list(LikedList** head){
if(head == NULL || *head == NULL)
return;
LikedList* p = *head;
stack<int> s;
do{
s.push(p -> m_kValue);
p = p->m_next;
}... | [
"sjtu_eric@sjtu.edu.cn"
] | sjtu_eric@sjtu.edu.cn |
a56d74c476dd5246612100fe41eea6ba3f21f822 | 82a8fdc2785c2b1230c55a6bc2ab08a532057c4a | /src/HPBooster.cpp | 5a47c933fbe71ab89da773570d0615a8e5d382df | [] | no_license | IancuOnescu/SurvivalGame-POO2 | 6a67880ce432822126d998f943f4e745c9bfb73d | 94872d8dff8589ab675effee1e89fae56964f7c0 | refs/heads/master | 2022-06-03T07:47:45.530442 | 2020-05-04T19:16:35 | 2020-05-04T19:16:35 | 257,535,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include "../include/HPBooster.h"
HPBooster::HPBooster(std::pair<int, int> pos):ItemType(pos, "Immediate", 'h'){
}
void HPBooster::TakeEffect(AgentType* agent){
agent->SetHealthPoints(agent->GetHealthPoints() + GetModifAmount());
return;
}
HPBooster::~HPBooster()
{
}
| [
"iancu_bv@yahoo.com"
] | iancu_bv@yahoo.com |
f210487fb73c6bfa66cb6d0285167df16d59155c | 6358b74d0393f4f3ee15362dee4ff191867eabac | /solutions-CODEUP/100000615-03.cpp | f0fceee95770bc6ff13834d7d624cef3000f2edf | [
"MIT"
] | permissive | moodykeke/solutions | 9e97740c6ccf4f1c817ff1a783d123a9a85a40b0 | e4329712d664180d850e0a48d7d0f637215f13d0 | refs/heads/master | 2023-07-01T10:37:49.508199 | 2021-07-19T04:14:20 | 2021-07-19T04:14:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cpp | #include <cstdio>
#include <algorithm>
#define MAXN 10000005
using namespace std;
int set[MAXN],
cnt[MAXN]; // 记录以 root 为键的朋友簇中的朋友个数
int find(int x)
{
if (x == set[x])
return x;
else
return set[x] = find(set[x]);
}
void union_sets(int a, int b)
{
int root_a = find(a), root_b = find(... | [
"Ki_Seki@outlook.com"
] | Ki_Seki@outlook.com |
61aa83f609855748e38531e34ac7e682591c8d9e | d0ef181657d00bffdf725ca7860b8f76d9e1fdf5 | /sem10rc/old/Classifier_2.h | 7b1d0c9968eb2d1e4a892e623249b3556465a603 | [] | no_license | foxlf823/semeval-2010-task-8 | d6cf9a6119bde2f65b183706d321e16ecf777336 | 3cb2d43d43e9079fba6a326aad889b75fd34becf | refs/heads/master | 2020-12-05T03:22:06.638536 | 2016-09-04T04:30:54 | 2016-09-04T04:30:54 | 67,323,836 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,796 | h |
#ifndef SRC_CLASSIFIER_2_H_
#define SRC_CLASSIFIER_2_H_
#include <iostream>
#include <assert.h>
#include "Example.h"
#include "Feature.h"
#include "N3L.h"
using namespace nr;
using namespace std;
using namespace mshadow;
using namespace mshadow::expr;
using namespace mshadow::utils;
//A native neural network class... | [
"foxlf823@qq.com"
] | foxlf823@qq.com |
a0d817793a02965a948403b35aed48de8bd86094 | c98f6ab0ae2b579432ca24c4bbbabceba1320a44 | /C++ Assignment_4/RuelasCastillo_A4/RuelasCastillo_A4_P4/RuelasCastillo_A4P4/CheckedArray.h | 82de8ffb490a4f8fed3937aca6c6d79af0305d12 | [] | no_license | isaacruelas68/isaacruelas68-Assignment-2-programs | 60d8bae61ddfe28b3154f35539947cdd04caa473 | 4fdea38bdbb85b41dddda8b3bf223a28cf34893e | refs/heads/master | 2021-04-05T22:43:09.531235 | 2020-03-19T23:15:25 | 2020-03-19T23:15:25 | 248,609,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | #pragma once
template<class T>
class CheckedArray
{
private:
T* p;
int size;
public:
CheckedArray();
CheckedArray(int size);
~CheckedArray();
T& operator[](int index);// throw (ArrayOutOfRange);
int length();
};
| [
"isaacruelas68@yahoo.com"
] | isaacruelas68@yahoo.com |
d32432a10923c1c9eea83ba71d085af50ef33a67 | 2a188479017cdabcf03d0a0a677a82d4ad62b9df | /BCGPGridExample/StdAfx.cpp | 7d8058972cc00883da2a7e25f37a0fbd3c6ef042 | [] | no_license | djta/bcgexp | fc5b6dad5cd3a3cde570ea02a86005e653c56c02 | 3ec56b520b9b9a4eddbcc030c3a011e3322a92b8 | refs/heads/master | 2020-05-04T05:35:43.024805 | 2013-01-31T14:52:50 | 2013-01-31T14:52:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2008 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only u... | [
"zxlooong@gmail.com"
] | zxlooong@gmail.com |
9e8ef78a8abc60f18aa6104937842ed7e84e7d0d | 2d168890bbaaefed9f2822c6fdb57d83361cbf12 | /modules/plotting/src/datastructures/minortickdata.cpp | 3e1a9a9cc35e41fcc85827d0bb0627ce8b97e3ea | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | KTHVisualization/inviwo | 3244329132bb977564a3a3b029bc138cc91ba807 | 6a3175434901940906fce89ae87fba57b6331aa1 | refs/heads/master | 2022-12-26T23:25:46.898247 | 2022-12-20T14:02:43 | 2022-12-20T14:02:43 | 203,176,743 | 4 | 15 | BSD-2-Clause | 2022-09-21T14:01:25 | 2019-08-19T13:18:43 | C++ | UTF-8 | C++ | false | false | 2,367 | cpp | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2019-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | [
"peter@steneteg.se"
] | peter@steneteg.se |
078d8f03cb52d1e95a3cc7114be17400e6a27181 | 5a9e86b7a76cc721a574b655655b3ecd88221f18 | /maximum_flow.cpp | 6b06daeb8852a8ec6bb9f38ab0e99772e8257475 | [
"MIT"
] | permissive | martonantoni/compolib | 15302464ff4c641071668b1cc6532ef74bde2214 | 2c73710c00477191c808186de89289c82904543d | refs/heads/master | 2023-08-22T21:52:10.589648 | 2023-08-07T15:58:34 | 2023-08-07T15:58:34 | 211,641,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,756 | cpp |
struct cEdge
{
int from, to;
ll capacity, used;
cEdge(int from, int to, ll capacity): from(from), to(to), capacity(capacity), used(0) {}
cEdge() {}
};
struct cNode
{
vector<pair<int,bool> > edges; // edge index, is_reversed
};
vector<cEdge> edges;
vector<cNode> nodes;
void AddEdge(int from, int to, ll capacit... | [
"marton.antoni@gmail.com"
] | marton.antoni@gmail.com |
dc6726e8d01ce2a359a6d1f0ad12cff9d5d21f8e | 8ae905a7e2f8aaccd6daa59d1139796d12874a60 | /envoy_pkg/test/version_linkstamp.cc | 12e864f0270faefdbfd59d3cf7fed89568f18b11 | [
"Apache-2.0"
] | permissive | Fchateauvert/getenvoy-package | 9187a77b9f76754ca4e9868e1a85496ce21a585e | 12615d4dc6130192988d3e9bfd7c40d03cf959f7 | refs/heads/master | 2023-06-12T03:44:49.483576 | 2021-05-12T19:45:20 | 2021-05-12T19:45:20 | 373,316,836 | 0 | 0 | Apache-2.0 | 2021-07-06T20:58:22 | 2021-06-02T22:17:24 | null | UTF-8 | C++ | false | false | 795 | cc | // Copyright 2020 Tetrate
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | [
"noreply@github.com"
] | noreply@github.com |
d53b63559cac1b32148b373c779bbb42f2318615 | 47ccd3920a393944ff056bba22ffc3ca51b0d881 | /cissoid.cpp | f8a3e9fd21cf2f58076b30e1aea1b76beca09494 | [] | no_license | stravant/CMPUT_411_Ass2 | 4a29e62fe330ac6021273dd96a827b6298d957a4 | 5920499b1df9b4c41071ad284f67cbb396f3b2d2 | refs/heads/master | 2021-01-10T03:31:40.387953 | 2015-10-02T20:08:11 | 2015-10-02T20:08:11 | 43,574,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,341 | cpp |
// AUTHOR: Herb Yang
// University of Alberta
// September 20, 2015
// CMPUT 411/511 Assignment 2
#include "cissoid.h"
// Grid coord -> Screen coord translation.
// Does not do any bounds checking, is a low level function
// that simply transforms coordinates. The user may want to
// is it to transla... | [
"stravant@gmail.com"
] | stravant@gmail.com |
92d8579f752d1d9338a976fc0606e2f2105910b2 | 40bb05c86ce83769172b4dfe0ef26c9239c156db | /src/storage/DbResult.hpp | 21929ce701253a1cacb21ff380821ea82b3c863c | [
"Apache-2.0"
] | permissive | xDimon/primitive | 204d5763db9e292e8c2dd5a2e78435ebaf786f2a | 092e9158444710cdde45c57c4115efa06c85e161 | refs/heads/master | 2022-03-28T09:24:10.728615 | 2019-05-30T16:27:00 | 2019-05-30T16:27:00 | 103,276,659 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | hpp | // Copyright © 2017-2019 Dmitriy Khaustov
//
// 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... | [
"khaustov.dm@gmail.com"
] | khaustov.dm@gmail.com |
88be116d256bc441d8022ae2542bbb42d69cd787 | decee429b8fa18ab17c3e14b51829f2802483a46 | /src/hsm_client/crypto/hsm_client/crypto_context.hpp | ddfc29c6843e6aeea3a942e497aace221325d46e | [] | no_license | gpgolikov/hsm_remote | 380a2215eb4755ba6d28b0fce2a5779dcb691f7b | 604cd180b1d75e603813439db4b24d867650affd | refs/heads/master | 2020-04-23T01:43:50.517549 | 2019-02-15T08:31:50 | 2019-02-15T08:31:50 | 170,822,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | hpp | //
// Created by griha on 13.01.18.
//
#pragma once
#ifndef MIKRONSST_HSM_LIB_CRYPTO_CONTEXT_HPP
#define MIKRONSST_HSM_LIB_CRYPTO_CONTEXT_HPP
#include <cstdint>
#include <crypto/crypto_context.hpp>
#include <crypto/error.hpp>
#include <crypto/input_output.hpp>
namespace griha { namespace hsm {
extern... | [
"g.golikov@a1-systems.com"
] | g.golikov@a1-systems.com |
cae0470fed3d5e5c1e5255e824d05ad22e00e855 | d6e2ab55e2c9201da8903d78f01f9a25ebd5a015 | /Grungy Sponge/GrungySponge/GrungySponge/Sponge/SpongeCamera.cpp | 604f2b380467c28d9fbcee702f666355e3550d54 | [
"MIT"
] | permissive | larsolm/Archives | 8e586bd86a64a173a160238151b4d56aadb2a1f6 | 18968c18b80777e589bc8a704b4375be2fff8eea | refs/heads/master | 2021-04-18T05:16:46.836408 | 2020-03-23T19:04:40 | 2020-03-23T19:04:40 | 249,507,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | cpp | #include "GrungySponge/GrungySponge.h"
using namespace Pargon;
using namespace GrungySponge;
void SpongeCamera::UpdateMatrices(int width, int height, Matrix4x4& view, Matrix4x4& projection)
{
Spatial2D* spatial = _sponge->Entity()->GetComponent<Spatial2D>();
if (spatial->Position.X > Position.X + XBounds)
Positi... | [
"luke.larson@gmail.com"
] | luke.larson@gmail.com |
3410017d3b85848a1a54196bc2adc916ec15e018 | ddbd8225e05b4b7196b3df17009ae78b0efb0937 | /physicEngine/CallBackTimer.h | 1254eef88e694cc8c98b38ed2a6787ce119d28c4 | [] | no_license | AnthonyFavier/physicEngine | c2ef0312e5b13e0a6c8a35e2b2610a6d2435fff0 | ef6af824d740a98674a444de38bf96967242c329 | refs/heads/master | 2020-03-29T15:40:50.452960 | 2019-01-24T12:17:07 | 2019-01-24T12:17:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #ifndef DEF_CALLBACKTIMER
#define DEF_CALLBACKTIMER
#include <functional>
#include <chrono>
#include <future>
#include <cstdio>
#include "Scene.h"
class CallBackTimer
{
public:
CallBackTimer();
~CallBackTimer();
void stop();
void start(int interval, std::function<void(Scene*,bool)> func);
bool is_running() const... | [
"favier.anthony.n7@outlook.com"
] | favier.anthony.n7@outlook.com |
1041f0e2499f6199fbfe4892ff40359bc57fb056 | 24a0c4835a70f852c2a5c0f1890afeedd6573e19 | /tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/Data.h | ecc788e411774afa95d634ed302a52340b8661b7 | [
"Apache-2.0"
] | permissive | jiangshide/android-system | cbe903883b4334be718f98b47910640515f1190e | ef92d4e47f51e84d2e7ed3affbeadabeafde2cd2 | refs/heads/main | 2023-06-09T01:52:12.061540 | 2021-06-21T03:00:05 | 2021-06-21T03:00:05 | 378,790,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | h | #pragma once
#include <android/binder_interface_utils.h>
#include <android/binder_parcelable_utils.h>
#include <android/binder_to_string.h>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#ifdef BINDER_STABILITY_SUPPORT
#include <android/binder_stability.h>
#endif // BINDER... | [
"jiangshide@zhihu.com"
] | jiangshide@zhihu.com |
ac2f70cfe37be4c7e5296adae1435954602f80a7 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_718.cpp | 2050ab9b7ba43bca25654a7f1f564bea9f0915d7 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | struct AB { char a[10]; };
void foo(AB *ab) {
mystrncpy(x, ab->a, 100);
} | [
"github@pauldreik.se"
] | github@pauldreik.se |
3682af7d15931ab739719483350735779e41e035 | 601a4d73420f629d338cf7568d188e5fb7714bb3 | /leela/nn/matrix/matrix_default_mul.h | 37850cf21904f067fb858ef034ac36798282f322 | [] | no_license | stevevista/nbla-go-zero | 281921cb1e10a29dd10895b833c78d98ea0d675f | b5111cd81e4509ad48a2e40a1a405cad0a1cbdaf | refs/heads/master | 2021-05-03T06:21:12.578440 | 2018-03-10T03:52:10 | 2018-03-10T03:52:10 | 120,592,960 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,726 | h | // Copyright (C) 2008 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_MATRIx_DEFAULT_MULTIPLY_
#define DLIB_MATRIx_DEFAULT_MULTIPLY_
#include "matrix.h"
#include "matrix_utilities.h"
#include "../enable_if.h"
namespace dlib
{
// ----------------... | [
"kencube@hotmail.com"
] | kencube@hotmail.com |
67f5facd4861e7bc6891c4eed8c0db6cdc9c28aa | 7510dbc56c2e9f44308fa8ef4d06cf284e266e99 | /kangaroo/RollingGridSDF/SaveRollingGridSDF.h | 85b35cb3e055cc4acfcb5f8d092d37593038d9d5 | [] | no_license | caomw/wallaby-old | 1eb370049752a255ebb5fa8b4cd0d0b580420cba | 131e4f1fa17bce102d3203877b66c105c19163b2 | refs/heads/master | 2021-01-18T01:11:32.261218 | 2015-01-29T16:17:06 | 2015-01-29T16:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | h | // by lu.ma@colorado.edu
#ifndef SAVEROLLINGGRIDSDF_H
#define SAVEROLLINGGRIDSDF_H
#include "MarchingCubesGrid.h"
#include "LoadPPMGrid.h"
#include "SavePPMGrid.h"
#include "SaveMeshGrid.h"
#include "cu_sdf_reset.h"
namespace roo {
//////////////////////////////////////////
// save grid mesh
///////////////////////... | [
"lu.ma@colorado.edu"
] | lu.ma@colorado.edu |
cf78275ea0d9fb5c56d07dbd4cc7805149f5e825 | 67a54b103d8c6408561c22df0f87c36a6d441a25 | /pos_est/include/TimeVaryingKF_heading.h | 44e0dbacad77230496e1b50f8bd76482190bb1ae | [] | no_license | Chanho-Ko/Traxxas-MPC_Planning_ROSpkg | 95e75e3c6f2d36effc55f0da280d563b3b4c1059 | 2052a245513bcacdb1ab394ba4e8571f0537c574 | refs/heads/main | 2023-01-08T22:05:46.703962 | 2020-11-18T06:19:01 | 2020-11-18T06:19:01 | 312,483,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,702 | h | #include <ros/ros.h>
#include <cmath>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <Eigen/Dense>
#include <sensor_msgs/NavSatFix.h>
#include <sensor_msgs/Imu.h>
#include <geometry_msgs/Vector3Stamped.h>
#include <std_msgs/Float32MultiArray.h>
#include "sensor_msgs/Joy.h"
using namespace Eigen;
t... | [
"cksgh7915@gmail.com"
] | cksgh7915@gmail.com |
7992bfb2eeb2ec0cfd698e9559e80a0fed1ac4c2 | 643eb6077ecc25d9bf67d93512866cc6d483c5be | /get_points/point.cpp | e4abdaf1fc52e584ab878b79fb2f231ae423b9b2 | [] | no_license | atupek/3DProject | 02a2a3387a5555daaab6601d1cec3bbe645037f4 | 0ca8e3666b238988f8c96f7a97f1e27bae195ea6 | refs/heads/master | 2016-08-12T03:09:04.874975 | 2016-03-19T00:30:02 | 2016-03-19T00:30:02 | 46,256,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,879 | cpp | //point class for project
#include "point.h"
//default constructor
Point::Point()
{
x=0.0;
y=0.0;
extrude_amt = 0.0;
perimeter = false;
z=0.0;
}
Point::Point(double _x, double _y)
{
x = _x;
y = _y;
extrude_amt = 0.0;
perimeter = false;
z=0.0;
}
Point::Point(double _x, double ... | [
"annietupek@gmail.com"
] | annietupek@gmail.com |
c9c420fd4ab304931c272c21cb4c032a746ccb7a | 009e8e006855a066077e3bd88c9a3c971ea3a5ba | /.svn/pristine/c9/c9c420fd4ab304931c272c21cb4c032a746ccb7a.svn-base | 6fabf1bc54b474860372ab9ef2b40b833538adf3 | [] | no_license | shock1974/qt4_CutterAgent | 875dbdf6687b259b6f6ade1cde1aafe6295c6080 | c1b5e1f104ba7273ec0fb7672688f7c6251b9276 | refs/heads/master | 2021-01-18T14:15:00.208400 | 2015-02-12T09:15:59 | 2015-02-12T09:15:59 | 30,694,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,013 | /****************************************************************************
** Meta object code from reading C++ file 'CutterSyncPrc.h'
**
** Created: Wed Dec 10 16:23:51 2014
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.4)
**
** WARNING! All changes made in this file will be lost!
**************... | [
"han@inhand.com.cn"
] | han@inhand.com.cn | |
68b7d55a1b57567f54a89dd83dc7b05203652b84 | 63e1b7c32d9fa77f677e88a0a077b38b3b13550e | /app/src/main/cpp/opengl/egl_base.cpp | 1204d0f4abd88703b0b5daddc89e5e63551ec1ca | [] | no_license | iamzj/AndroidVideo | df75f49e422fb18a5665251c977f1f8994e351d3 | 1abf73a6993e448c3431f3636a9b5236d39739d4 | refs/heads/master | 2020-08-13T14:24:43.668364 | 2018-12-24T07:25:16 | 2018-12-24T07:25:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,328 | cpp |
#include "include/egl_base.h"
EglBase::EglBase()
: _egl_display(EGL_NO_DISPLAY)
, _egl_context(EGL_NO_CONTEXT)
, _egl_surface(EGL_NO_SURFACE)
{
}
int EglBase::create()
{
const EGLint config_attribs[] = {
EGL_BUFFER_SIZE, 32,
EGL_ALPHA_SIZE, 8,
EGL_BLUE_SIZE, 8,
E... | [
"595395483@qq.com"
] | 595395483@qq.com |
73bda6eee9ca7ea2d2ad5893c75b1bf8b129af87 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /leetcode/2001-3000/2477-minimum-fuel-cost-to-report-to-the-capital.cpp | 5bf87bf87892969e462f8b58daabcb4cfd3f1985 | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 683 | cpp | class Solution {
typedef long long LL;
int dfs(int u, int p, vector<vector<int> > &e, int m, LL &ans) {
int sz = 1;
for(int v: e[u]) {
if(v == p)
continue;
sz += dfs(v, u, e, m, ans);
}
if(p != -1)
ans += (sz - 1) / m + 1;
... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
47d2167a1052f933a7a0b7a4edf96b9496b3962c | 66ecd19c3d9f442431874e2d006eab4480d72c96 | /src/zpiv/accumulatormap.h | 7c6eeba6e07922b70d09b51dd53ec1f8270afbbc | [
"MIT"
] | permissive | altbet/abet | a9b4c35a3c167ab855dbc05b4e321166827ce757 | f0b6ea8251108bc604524f62cd9e4c3bd3077978 | refs/heads/master | 2020-11-27T12:53:32.343050 | 2020-07-03T13:33:39 | 2020-07-03T13:33:39 | 178,851,690 | 10 | 21 | MIT | 2019-06-24T22:51:45 | 2019-04-01T11:47:09 | C++ | UTF-8 | C++ | false | false | 1,126 | h | // Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ABET_ACCUMULATORMAP_H
#define ABET_ACCUMULATORMAP_H
#include "libzerocoin/Accumulator.h"
#include "libzerocoin/Coin.h"
#incl... | [
"42963544+altbet@users.noreply.github.com"
] | 42963544+altbet@users.noreply.github.com |
a55838a9972a6785deaaa5046e998bcff50edc93 | 1c96ef17a108055d44b4f1f8108e6f1d8228c65f | /src/507.perfect-number.cpp | 6d3bb4e4a62c172d45c8c9883e9419bbfb6816f4 | [] | no_license | pomelo00o/LEETCODE | fd3db967a2e83941fc90263aeea69043e294e248 | 69f58165b14a4d68ab673e52a595006462e63a9f | refs/heads/master | 2022-03-30T09:27:59.838597 | 2019-11-17T20:02:21 | 2019-11-17T20:02:21 | 126,688,560 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | /*
* @lc app=leetcode id=507 lang=cpp
*
* [507] Perfect Number
*/
class Solution {
public:
bool checkPerfectNumber(int num) {
if (num == 1) return false;
int res = 1;
for (int i = 2; pow(i, 2) < num; ++i) {
if (num % i == 0 && i != num) {
res += (i + num / i);... | [
"jixingyou@sjtu.edu.cn"
] | jixingyou@sjtu.edu.cn |
f9ea7e08ee80a7a1af82360651f6837598c1254c | d22a46eeaccfa68f9b5e128ccbfceca02cec69cb | /esp_fattore_geometrico/src/DetectorConstruction.cc | 29139c1fd8d05c3443d8309407e741fdd0bd8f52 | [] | no_license | giorgiopizz/geant4_exercises | c361bdf02881f1f3dcb1c63a24babda9e3118199 | 35f35bdbd32453b6e855b82b5b879a1d1675c874 | refs/heads/master | 2023-05-31T03:41:47.048973 | 2021-06-21T12:37:41 | 2021-06-21T12:37:41 | 356,674,865 | 0 | 0 | null | 2021-06-21T12:37:41 | 2021-04-10T19:25:44 | C++ | UTF-8 | C++ | false | false | 19,124 | cc | // $Id: DetectorConstruction.cc 94 2010-01-26 13:18:30Z adotti $
/**
* @file
* @brief Implements mandatory user class DetectorConstruction.
*/
#include "DetectorConstruction.hh"
//#include "DetectorMessenger.hh"
#include "G4Element.hh"
#include "G4Material.hh"
#include "G4Box.hh"
#include "G4Tubs.hh"
#include "G4Lo... | [
"giorgio.pizzati@gmail.com"
] | giorgio.pizzati@gmail.com |
e282aa45e715bde4776ceea2631ffff730e83a5b | 3134c38a2f5d083430fb34f4fbbfef3b5830338a | /Slave/include/Driver/IndustrialCameraDriver.h | f256fcd2cfacb655af9037d3d532e900514ed4c1 | [] | no_license | muhuhui/kit_code_t35e | 979c6d98e015cd2281c191c562fbbf27c534c694 | d8fb1991791e9869a59920ba7faf1b277b29cfe7 | refs/heads/main | 2023-05-29T02:17:38.771550 | 2021-06-11T08:32:48 | 2021-06-11T08:44:46 | 375,956,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | h | #ifndef INDUSTRIALCAMERADRIVER_H
#define INDUSTRIALCAMERADRIVER_H
#include "Common/SingleTon.h"
#include "ThirdParty/onvif/onvifCamera.h"
#include <string>
typedef enum
{
CLE_PRESET,
SET_PRESET,
GOTO_PRESET //ת��Ԥ�õ�
} PRESET_OPT_E;
class IndustrialCameraDriver
{
public:
~IndustrialCameraDriver();
stati... | [
"muhuhui@163.com"
] | muhuhui@163.com |
1d4ec54fe395cd6b7f68b5bc81c3256219e44e55 | e24aef8cfae9f8c6d0249a17bfc1248972dd083b | /ExportMap.cpp | afd8163bdb46fb518804713c0a26c63a0c2a5ca8 | [] | no_license | Sirbomber/ScenarioBuilder | 2dd2c6d1eb68c6f1e8544a3bca51eb0185ac550f | e6da1e2dd8edd4927958ffba094bc8626f54342b | refs/heads/main | 2023-07-16T05:41:45.138475 | 2021-08-18T13:30:32 | 2021-08-18T13:30:32 | 310,488,335 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,594 | cpp | #include <Outpost2DLL.h>
#include <OP2Helper.h>
#include <HFL.h>
#include <Patches.h>
#include <Tethys/API/API.h>
#include <OP2Types.h>
#include <Outpost2App.h>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <time.h>
#include "ExportMap.h"
// Output streams
std::... | [
"toy_sock_thing@yahoo.com"
] | toy_sock_thing@yahoo.com |
b14b23d65f68b4202ffd658a8ad0ce0605b24b5b | 1a295dc1ea55eb78b78c971e74ca7e7afeefb73e | /bankacc.h | 823655f4dc97ce0c3b8b20355dabc0cab5502ef3 | [] | no_license | MahaamFatima/bank_acc | 851efc632f9c70c722e98dc666698ef37cf8e32a | db996fa467a2fee1dad074c168fdd9de4aa55e0b | refs/heads/master | 2020-03-19T11:12:33.862133 | 2018-06-07T07:33:34 | 2018-06-07T07:33:34 | 136,439,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | h | #include <iostream>
using namespace std;
class BankAccount
{
public:
BankAccount()
{
this->AccountHolder = "yesung";
this->AccountNumber = 3322;
this->CurrentBalance = 2323.60;
}
BankAccount(string AccHolder,int AccNumber,float CurrentBal)
{
this->AccountHolder = AccHolder;
... | [
"noreply@github.com"
] | noreply@github.com |
6a2f1d7bf513f40efff9a34394821bebe2c5b120 | caf70e09c13546402b34a1de0709f5427139a234 | /code.cpp | b42d53fa87908e36e8465b77a4a76d089e986b5a | [] | no_license | gary1003/keystoneA110 | 1ba33c92476e1653c005e1e5f9f5e8547b002239 | 6470efcb78465bb14ecd311fa97919030582c51a | refs/heads/main | 2023-07-28T19:34:52.350377 | 2021-09-16T07:15:19 | 2021-09-16T07:15:19 | 407,059,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,215 | cpp | #include <Arduino.h>
#include <NewPing.h>
//紅 vcc 黑gnd
//5橙 A1 6黃 B1 (左)
//9綠 A2 10藍 B2 (右)
//白 vcc 灰 gnd
//2紫 trig 3咖 echo
//11橙 左D0 12黃 右D0
//黑咖 GND 藍綠 VCC
int motorPin_left_forward = 5;//V
int motorPin_left_backward = 6;
int motorPin_right_forward = 10;
int motorPin_right_backward = 9;
// int init_s... | [
"noreply@github.com"
] | noreply@github.com |
d515f0d048a6aeddbeefff84905d7d2b1f800ec7 | 692b99fa7b4bc97148c2de18d9bf1cdffef29e9c | /C++/Sorts/mergeSort.cpp | cf494865089cf13c024311671e41da1644f28ec9 | [] | no_license | akubecka/Practice | 6102b1144c22295f6c61507060dc1910089fa02f | 04412ce576218ca6069d616596e44e667fd86838 | refs/heads/master | 2023-08-11T16:04:06.331682 | 2021-09-20T03:41:41 | 2021-09-20T03:41:41 | 262,432,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | cpp | // C++ program for Merge Sort
#include <iostream>
using namespace std;
// Merges two subarrays of arr[].
// First subarray is arr[l..m]
// Second subarray is arr[m+1..r]
void merge(int arr[], int l, int m, int r)
{
int n1 = m - l + 1;
int n2 = r - m;
// Create temp arrays
int L[n1], R[n2];
// ... | [
"akubecka@stevens.edu"
] | akubecka@stevens.edu |
7ae34971352a019451c1f13da80223071e40d47c | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-servicecatalog/source/model/SearchProductsAsAdminResult.cpp | 12607dcf824c77ff1f8e4833e116b39b9d3fd3c1 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 1,833 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
16cce38c7e0e5bdfc1faffc9ab0c2132b8a08c74 | a5617daebce6f1a083608dbbb2c119ea9e2bdbfb | /InterviewTest/InterviewTest/InterviewTest.cpp | bbc8485cb50948f9f98ef4bd9fe96aa0d0cfd860 | [] | no_license | Amery2048/CppLearn | 1570b0f2b912c115133d1568c0af837bfaa24456 | e4b402651936706b77fd5fcdd9502006fcd3316a | refs/heads/master | 2021-01-18T14:16:07.270806 | 2013-11-07T16:08:40 | 2013-11-07T16:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,902 | cpp | // InterviewTest.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "Fun.h"
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
/*
string strs[]={"sdkksdflocal_user","sdkllocal_useralskdf","akdklocal_userkd"};
//copy(strs,strs+Arr_Len(strs),ostream_iterator<string,char>(cout,"\n"));
cout <<"最大公共字串: "<... | [
"476179064@qq.com"
] | 476179064@qq.com |
1d87dd12c18673aacacf6441e63aa595f106743d | 055eb92db0ff5e8a404d4d987533e1a780047584 | /CustomStrings/CustomStrings.h | bcfd02f88424f14145e06b331280659452af2449 | [] | no_license | boppbo/Software.Lab | cb05a4001cded42c938c6ed6ce7a7ae04cc93738 | f2a84281722698f213569fc0264ecabf027db526 | refs/heads/master | 2021-01-01T04:19:19.591819 | 2016-11-15T20:46:10 | 2016-11-15T20:46:10 | 59,680,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,389 | h | // The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the CUSTOMSTRINGS_EXPORTS
// symbol defined on the command line. This symbol should not be defined on any project
// that uses this DLL. This way any other project ... | [
"boris.bopp@gmail.com"
] | boris.bopp@gmail.com |
7b597afb0dd9650572b85d6fbd99cc4791da91ef | 006ff11fd8cfd5406c6f4318f1bafa1542095f2a | /L1Trigger/L1TGlobal/src/L1TMenuEditor/xsd/cxx/parser/validating/xml-schema-pimpl.ixx | c6f81275cc0bd9489e9f7de04ed88948876c4495 | [] | permissive | amkalsi/cmssw | 8ac5f481c7d7263741b5015381473811c59ac3b1 | ad0f69098dfbe449ca0570fbcf6fcebd6acc1154 | refs/heads/CMSSW_7_4_X | 2021-01-19T16:18:22.857382 | 2016-08-09T16:40:50 | 2016-08-09T16:40:50 | 262,608,661 | 0 | 0 | Apache-2.0 | 2020-05-09T16:10:07 | 2020-05-09T16:10:07 | null | UTF-8 | C++ | false | false | 13,304 | ixx | // file : xsd/cxx/parser/validating/xml-schema-pimpl.ixx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#if defined(XSD_CXX_PARSER_USE_CHAR) || !defined(XSD_CXX_PARSER_USE... | [
"darren.michael.puigh@cern.ch"
] | darren.michael.puigh@cern.ch |
e954ce098d47eeea23dfc02729f7433c55a4cc28 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /storage/browser/file_system/file_system_util.cc | a32a53f267682a143de93c538e3a0e0a53acb9b6 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,299 | cc | // 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.
#include "storage/browser/file_system/file_system_util.h"
#include "base/feature_list.h"
#include "storage/common/file_system/file_system_types.h"
#inclu... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.