blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23782c97d8c8c099b43da2522d820d52076c019f | 6b5c26e017b41b9df802b6865a3842d69778f3b2 | /src/other/API_similardetect/v1.0.0_app/API_imagequality.cpp | b4f2d9c0c0ddb431bdeadaae9b4ad8fc78e75f00 | [] | no_license | lvchigo/caffe_image_classfication | ae1f5d4e970ffc345affdb6d6db91918fe07c56d | 6b9b05323b0c5efe41c368ff22ec8ed05cd07c8b | refs/heads/master | 2020-12-29T02:19:51.445761 | 2017-01-12T07:08:58 | 2017-01-12T07:08:58 | 50,634,240 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 13,617 | cpp | #include <vector>
#include <math.h>
#include <iostream>
#include <string.h>
#include "API_imagequality.h"
#include "TErrorCode.h"
using namespace std;
/***********************************Init*************************************/
/// construct function
API_IMAGEQUALITY::API_IMAGEQUALITY()
{
}
/// destruct function... | [
"xiaogao@in66.com"
] | xiaogao@in66.com |
e538f7ca695b6a26c43af8ca2a1468d775f72e00 | 5bad25ebc0daf25864f57752d93c040b30a1d8eb | /src/cell_writer.cpp | 6d135b3d17072c8cd06992c19ae1883829411fc8 | [] | no_license | katiya-cw/EncLib | c6c201643af4ea3afc91163b5d74ae634af0b20a | ba8547abe7f2fa02132076227fe4b93b37f3de0c | refs/heads/master | 2021-12-02T11:17:29.840453 | 2010-12-13T22:24:27 | 2010-12-13T22:24:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | //*****************************************************************************
//** Copyright (C) 2010 Kai R. Neufeldt, Ahrensburg, Germany
//** This file is part of the ENClib
//** The ENC lib may be used unter the GPL General Public License Version 2
//** or with a Commercial License granted by Kai R. Neufeldt
//** ... | [
"KaiAbuSir@gmx.de"
] | KaiAbuSir@gmx.de |
535e077037176f84ffad44125e457f46f169fbd5 | f520fb1d1a66ae8c2837c1d34b2436535596035d | /drone_v0/src/library/tranformVar/transformVar.cpp | 700a30ba8e489919ae375e7a759fb5cdca0d5c1f | [] | no_license | danielggc/avrProjec | eccc89ff9aa6fdcb84de7052e4a5ce62f5ca8664 | 756245c8c83ecdc67cf041eab55a9d1d55cf5a64 | refs/heads/master | 2023-04-05T00:19:08.210760 | 2021-01-09T19:55:02 | 2021-01-09T19:55:02 | 286,812,545 | 0 | 0 | null | 2020-11-04T17:27:35 | 2020-08-11T17:55:54 | C++ | UTF-8 | C++ | false | false | 2,769 | cpp | #include "transformVar.hpp"
#include "../UART/UART.hpp"
int int_to_binario(int8_t numero){
UART pantalla1;
pantalla1.uart_init();
for(int i=7;i!=-1;i--){
if(numero & (1<<i)){
pantalla1.USART0SendByte('1');
}
else{
pantalla1.USART0SendByte('0');
}
... | [
"danielgrecia7@gmail.com"
] | danielgrecia7@gmail.com |
46013a7c2101bbeaaddc0f269aaef690e53ce21d | 8481f6130c15c7e60329634012a9706f131b8ec0 | /code/1009.cpp | d7fc41141ba6667a1d313550cf9f10a76c6df467 | [] | no_license | Double-Wen/codeup | d7faa931e8dbaffe7de51456530032ef09537431 | 71dc8ffefd234102888037ae9085def67ccdfe5a | refs/heads/master | 2020-12-04T03:57:24.221901 | 2020-01-03T14:00:56 | 2020-01-03T14:00:56 | 231,600,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | //
// Created by ubuntu on 1/1/20.
//
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
char buffer[100];
double count=0;
for(int i=0;i<12;i++)
{
scanf("%[^\n]%*c", buffer);
double temp=strtod(buffer, nullptr);
// printf("%.2f\n", temp);
count... | [
"1047377010@qq.com"
] | 1047377010@qq.com |
250346fe0d7dbb8e1a8e0d45d2313baac5065ec5 | 1a2b0004be47ec7572448ca16a04b59eaaf5103c | /src/mp_betting_tree.cpp | b78f865bf7bde69a3332db011be17765d1c73e1b | [
"MIT"
] | permissive | zhanjunxiong/slumbot2019 | 15e87fc8ebbbc1a022d05980225ce3246c2adad0 | a1b65b84c89ab2eff9e2e0c16cedcfcbd479dffd | refs/heads/master | 2023-08-21T10:30:51.475541 | 2021-10-21T23:45:59 | 2021-10-21T23:45:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,538 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "betting_abstraction.h"
#include "betting_tree_builder.h"
#include "betting_tree.h"
#include "fast_hash.h"
#include "game.h"
using std::shared_ptr;
using std::string;
using std::unique_ptr;
... | [
"eric.jackson@gmail.com"
] | eric.jackson@gmail.com |
a84596bb95953e05e389f2fa3384003246301893 | 967901498a9cba019f54e2ed62920f976491f8b2 | /winapi/CWindow/SetWindowText/src/CWindow/CWindow/MainApplication.cpp | c765d12d0616e1302843ce5426aef0b7145b8ac8 | [
"MIT"
] | permissive | bg1bgst333/Test | 732e07a92e0fa52f3c364d1a65348f518ec6d849 | 40291a30a2b344bdbbae677958112e279374411f | refs/heads/master | 2023-08-18T04:59:58.947454 | 2023-08-09T04:28:23 | 2023-08-09T04:28:23 | 239,051,674 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,175 | cpp | // ヘッダのインクルード
// 独自のヘッダ
#include "MainApplication.h" // CMainApplication
#include "MainWindow.h" // CMainWindow
// インスタンス初期化関数InitInstance.
BOOL CMainApplication::InitInstance(HINSTANCE hInstance, LPTSTR lpCmdLine, int nShowCmd) {
// ウィンドウクラスの登録.
CMainWindow::RegisterClass(hInstance, MAKEINTRESOURCE(IDR_... | [
"bg1bgst333@gmail.com"
] | bg1bgst333@gmail.com |
66e17a3aae3c0f57cafdebaacbf14867eab99e30 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /media/blink/multibuffer_data_source_unittest.cc | 02be5cee8fcc21b3d4bc016b050ca392f8d988c0 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 58,312 | cc | // Copyright 2013 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 <stddef.h>
#include <stdint.h>
#include "base/bind.h"
#include "base/run_loop.h"
#include "base/stl_util.h"
#include "base/strings/string_number... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
96e94a8b346463092364f768ae3f28ecf734054a | 59115bea46bcf235852e1308d79f07bd07406894 | /aieBootstrap-physics/2dTest/Sphere.cpp | afe47b27a51dad1cd6aae92196e8aa1cb593dff9 | [
"MIT"
] | permissive | AnonUser676/PhysicsAIE | bb4ba3f081fbcac5f85b3385012bd3fc7cdc6297 | f21dce33481740270f82ce33c8323d215d97269c | refs/heads/master | 2021-05-03T10:26:45.650164 | 2018-03-07T00:36:28 | 2018-03-07T00:36:28 | 120,534,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | #include "Sphere.h"
Sphere::Sphere(vec2 position, vec2 velocity, float mass, float radius, vec4 color):Rigidbody(SPHERE, position,velocity,0,mass)
{
m_radius = radius;
m_color = color;
m_position = position;
m_velocity = velocity;
m_mass = mass;
}
Sphere::~Sphere()
{
}
void Sphere::makeGizmo()
{
Gizmos::add... | [
"rouie.ortega@live.com"
] | rouie.ortega@live.com |
f12ed198f5ac8358723ecdae9fde47cd68b150c3 | f279c5a1df1dacf422cf7d47fb01a2fb41510838 | /8. Parallel programming/OpenMP/critical_section.cpp | eba59009f08318f0a49cc1cebf90e259cf15d0cc | [] | no_license | newmersedez/multithreaded_programming | a939821b4b55383f67e0b309859b46a15f030593 | 351abd39b422c7c23d9069b1dead22e6983d69bc | refs/heads/main | 2023-08-27T04:00:27.156899 | 2021-10-24T01:15:46 | 2021-10-24T01:15:46 | 415,411,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | cpp | #include <iostream>
int main(int argc, char *argv[])
{
#pragma omp parallel
{
#pragma omp critical
{
std::cout << "output" << std::endl;
}
}
return 0;
} | [
"trishkk2001@gmail.com"
] | trishkk2001@gmail.com |
ee57983d0a23b55dc24fdcb1f7ac03ed21286737 | 67d9a8912f2e04f341de00c83dcf9a1ebfa13320 | /CangJian.cpp | 24608afe0e14964c702c79ada810cdecfeca07f1 | [] | no_license | thysm008/CardHero | 1d98fcc7d730d84fded22562feb4dc1d795b4b35 | 32b97e168f024b63dda994fd40249885d1ab5a2d | refs/heads/master | 2020-05-30T00:34:08.741651 | 2017-03-08T14:48:36 | 2017-03-08T14:48:36 | 82,621,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | #include "stdafx.h"
#include "CangJian.h"
#include "Character.h"
CCangJian::CCangJian(CString name, CString pro, int char_id_, int pro_id_, int camp_)
{
char_name = name;
pro_name = pro;
char_id = char_id_;
pro_id = pro_id_;
camp = camp_;
}
void CCangJian::setJianQi(int n)
{
cur_jianqi = n;
}
void CCangJian::a... | [
"thysm008@qq.com"
] | thysm008@qq.com |
1a3cc700228ef5ce0fc3a6d59534482b07000476 | 288281ea9d5c6344706f267731d9798d527d71d3 | /taint-tracking/src/ins_clear_op.cpp | 84937ff48f851b1a83e1fff9fa06550e99e40d00 | [
"MIT"
] | permissive | UzL-ITS/cipherfix | 58847e6454a5888c6345d460b9b8242a375d9f9d | 0d05fcbe48498acc827ad0373cd7244c590b27c4 | refs/heads/master | 2023-07-04T12:13:33.801949 | 2023-04-14T15:22:30 | 2023-04-14T15:22:30 | 556,843,329 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,102 | cpp | #include "ins_clear_op.h"
#include "ins_helper.h"
/* threads context */
extern thread_ctx_t *threads_ctx;
static void PIN_FAST_ANALYSIS_CALL r_clrl4(THREADID tid) {
for (size_t i = 0; i < 8; i++) {
RTAG[DFT_REG_RDX][i] = tag_traits<tag_t>::cleared_val;
RTAG[DFT_REG_RCX][i] = tag_traits<tag_t>::cleared_val;
... | [
"j.wichelmann@uni-luebeck.de"
] | j.wichelmann@uni-luebeck.de |
7e37a2f9985af0f94d32de367e12fd6cdd029df5 | 30b7ffd17845db982883a91ce8d04551281658c4 | /Self Marathon/Practice/September 2020 :: Codificador Rojo/Day 9/test-J.cpp | 0d43b2a16dded49d0e3dbd1550bf72b75bf91f01 | [] | no_license | shas9/codehub | 95418765b602b52edb0d48a473ad7e7a798f76e5 | bda856bf6ca0f3a1d59980895cfab82f690c75a2 | refs/heads/master | 2023-06-21T01:09:34.275708 | 2021-07-26T14:54:03 | 2021-07-26T14:54:03 | 389,404,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false), cin.tie(0);
int n, q; cin >> n >> q;
vector<int> a(n+1), ans(q), leftBound(q);
vector<vector<int>> endHere(n+1);
for (int i = 1; i <= n; ++i) {
cin >> a[i];
a[i] = i - a[i];
}
for (int i = 0; i < q; ++i) {
int x, y; ... | [
"shahwathasnaine@gmail.com"
] | shahwathasnaine@gmail.com |
90edbad12c809559a87086ba4c0a58f9205fa49b | 9fbbf9cda869bc318fe99874ebeb7ca8dd1a3799 | /Utils/interface/FitSolution.hh | 9041a56ff16520746c30f500b7de7019b49abe9c | [] | no_license | ssevova/ttbarAnaSolver | d92cfdadfa7b482f8850708732f84e82bdabd583 | 57720f740c84737e25e6ef8028c4f7934444defd | refs/heads/master | 2021-01-11T23:02:10.403805 | 2017-01-18T17:47:14 | 2017-01-18T17:47:14 | 78,534,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | hh | #ifndef FIT_SOLUTION
#define FIT_SOLUTION
class FitSolution {
public:
FitSolution():
numSol(-1.)
{}
~FitSolution(){}
std::vector<TLorentzVector> nu1; std::vector<TLorentzVector> nu2;
int numSol;
std::vector<double> mass1;
std::vector<double> mass2;
std::vector<double> weight;
std::vector<do... | [
"ssevova@gmail.com"
] | ssevova@gmail.com |
bb9d46fedc5ac569fe67549cc3b64a264c67965a | 2019d94fe0d8b32959190d02dd1ee367f524878e | /Practice for C++/Inheritance/05_magic_spells.cpp | 202118de7e723dd3e42ffaeaa2324198816b1f08 | [] | no_license | yang4978/Hackerrank_for_Cpp | bfd9065bd4924b26b30961d4d734a7bb891fe2e2 | 4c3dde90bcc72a0a7e14eda545257c128db313f7 | refs/heads/master | 2020-05-21T06:05:26.451065 | 2019-08-11T15:19:13 | 2019-08-11T15:19:13 | 185,934,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | cpp | //https://www.hackerrank.com/challenges/magic-spells/problem
#include <iostream>
#include <vector>
#include <string>
using namespace std;
class Spell {
private:
string scrollName;
public:
Spell(): scrollName("") { }
Spell(string name): scrollName(name) { }
virtual ~Spell() { }... | [
"yang_4978@foxmail.com"
] | yang_4978@foxmail.com |
d4145d7364f4715ba3f4b1c0bdf733bfd9997688 | d9254711a4bdade616d2707b3df157b14a4e9750 | /multidimension_newton_root.h | b52f47f7b88bce5f483f826997011972ff3d1a59 | [
"MIT"
] | permissive | aofenghanyue/numericalAnalysisHomework | b3203fcec09eef205a743858e82c0cb968f4b85e | ed4db5a5d693a3973ca1c3c5f1fc3847b8f5118e | refs/heads/master | 2020-11-25T10:18:53.045904 | 2019-12-18T06:24:07 | 2019-12-18T06:24:07 | 228,615,577 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 156 | h | #pragma once
#include "Gauss.h"
#include "commons.h"
class MultidimensionNewtonRoot {
private:
int n;
public:
MatrixD jac_mat(void *jac(VectorD &x));
};
| [
"1772155440@qq.com"
] | 1772155440@qq.com |
1acace2a393a159457a549e245240eb1048b365b | 1dd825971ed4ec0193445dc9ed72d10618715106 | /examples/extended/electromagnetic/TestEm7/include/PrimaryGeneratorMessenger.hh | 63e1ef7324487d4529372a1fa3f0351085964f9c | [] | no_license | gfh16/Geant4 | 4d442e5946eefc855436f4df444c245af7d3aa81 | d4cc6c37106ff519a77df16f8574b2fe4ad9d607 | refs/heads/master | 2021-06-25T22:32:21.104339 | 2020-11-02T13:12:01 | 2020-11-02T13:12:01 | 158,790,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,718 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"gfh16@mails.tsinghua.edu.cn"
] | gfh16@mails.tsinghua.edu.cn |
491efed239743bd0db34996e1a91932ede547540 | 60ccc97366c43b0f83275c2c7aabd569939f8a43 | /lcpfw/net/third_party/quiche/src/quic/core/http/quic_send_control_stream_test.cc | fe849733c8207fffe779641dfdf184f834ebdec9 | [
"BSD-3-Clause"
] | permissive | VestasWey/mysite | d89c886c333e5aae31a04584e592bd108ead8dd3 | 41ea707007b688a3ef27eec55332500e369a191f | refs/heads/master | 2022-12-09T10:02:19.268154 | 2022-10-03T03:14:16 | 2022-10-03T03:14:16 | 118,091,757 | 1 | 1 | null | 2022-11-26T14:29:04 | 2018-01-19T07:22:23 | C++ | UTF-8 | C++ | false | false | 8,142 | cc | // Copyright 2019 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 "quic/core/http/quic_send_control_stream.h"
#include <utility>
#include "absl/strings/escaping.h"
#include "absl/strings/string_view.h"
#includ... | [
"Vestas.Wey@qq.com"
] | Vestas.Wey@qq.com |
8f50de6868bc5e48af09ee9b5878ef0a50e1c04f | 4628e5e79389f7d9a012778c15deaefd9b5a07f1 | /modules/task_2/napylov_e_contrast/contrast.cpp | 16d61512db3c3c270e7914df2ef9264f90bfab4b | [
"BSD-3-Clause"
] | permissive | BFDestroyeer/pp_2021_spring_informatics | 6fdcd299b7860fe0f5f71a4967b63be93b8b59f0 | 508879cdc00fcf168268f9f4c99f024021719f5e | refs/heads/master | 2023-03-28T00:55:23.106817 | 2021-03-26T06:53:45 | 2021-03-26T06:53:45 | 345,943,620 | 0 | 0 | BSD-3-Clause | 2021-03-09T09:00:28 | 2021-03-09T09:00:27 | null | UTF-8 | C++ | false | false | 3,319 | cpp | // Copyright 2021 Napylov Evgenii
#include <iostream>
#include <cassert>
#include <random>
#include <ctime>
#include <algorithm>
#include "../../../modules/task_2/napylov_e_contrast/contrast.h"
void print_vec(const VecImage& vec) {
for (auto val : vec) {
std::cout << static_cast<int>(val) << ' ';
}
... | [
"vetero4ekcs@mail.ru"
] | vetero4ekcs@mail.ru |
b3ac7272ffb47ad427600885fef6c840bc36db3a | 63426e63712da8b1f01ae584cd780c660c2969c3 | /NineMansMorris/NineMansMorris/BoardFactory.h | b58e3ff3c843d43bf998de9a0ad3710f01b7c1f3 | [] | no_license | TinEnglman/NineMansMorris | 1b5af909bcef09e39a2f45e14fa288bbc07c199e | 2c483ff19900e84e8df1a56c0b69a5b62fea0467 | refs/heads/master | 2020-05-22T16:04:58.017414 | 2019-05-27T09:34:28 | 2019-05-27T09:34:28 | 186,418,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | #pragma once
#include "Board.h"
#include "CellData.h"
class BoardFactory
{
public:
BoardFactory();
~BoardFactory();
Board* CreateBoard();
private:
const unsigned int NUM_SLOTS = 24;
CellData* _cellData;
};
| [
"gonzoglizli@gmail.com"
] | gonzoglizli@gmail.com |
199a1bf825f3d2d3a6303a16d9fc8f73ad0a7497 | 51b69d63e603c010d8955013a3b67bcb567228df | /codeforces/978B.cpp | 70e4fe182b331c07b30ca0ef649666fd2d437717 | [] | no_license | AugustoCalaca/competitive-programming | abcb8df9b6b741d5e6ae0c9020b58c11ec4fbd2d | 96bb034faaf44606970771e8a294bdf45e7a9356 | refs/heads/master | 2021-04-27T10:57:18.782352 | 2019-04-13T03:34:59 | 2019-04-13T03:34:59 | 122,549,144 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
int n;
string s;
cin >> n >> s;
int c = 0;
for(int i = 0; i < n; i++) {
if(s[i] == 'x')
c++;
else c = 0;
if(c == 3) break;
}
if(c != 3) {
cout << "0\n";
return 0;
}
int ans = 0;
c ... | [
"augusto@Calaca.Augusto"
] | augusto@Calaca.Augusto |
5cec04916076ef0f0cd79ae646b4e289f08d56aa | 4fd358a4e26f678077770db11c4f7461123351c5 | /mp2/test.cpp | 510709b4ec9f59bf7c52b9db4930ebd2373d32a4 | [] | no_license | arjanirh/cs425 | e89fe45206a5dffb7204c15f39eaa93a67811a35 | 94761c40633f1af172e58662814f20bfbafe8e41 | refs/heads/master | 2020-05-19T13:45:44.622065 | 2012-05-18T23:59:10 | 2012-05-18T23:59:10 | 3,635,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #include<iostream>
#include<string>
using namespace std;
int main () {
string str;
cout << "Please enter full name: ";
getline (cin,str);
cout << "Thank you, " << str << ".\n";
}
| [
"nirh1@linux7.ews.illinois.edu"
] | nirh1@linux7.ews.illinois.edu |
9227f7155eb70070e1969c7a5440b7547a526d6e | 14029a914f030ac5301fdabdc99299f5e322a1a5 | /Cryptography_Algorithm/2018_01_DES/My des.cpp | 601040a7faacf27b4363220949475b629fee4d0f | [] | no_license | joseoyeon/Cryptography | bc3a7ef8ce4db2d8acdd79bfe35f663222dc9a55 | db6691d59b7676a816e3f6f076c40d569f78368b | refs/heads/master | 2022-04-09T02:01:43.297934 | 2020-03-13T09:33:15 | 2020-03-13T09:33:15 | 187,388,602 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 12,354 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
unsigned long long KEY;
unsigned C , D;
void print_binary(const unsigned long long t) { //size 는 원래 없어ok 수정하다 보니 생긴 변수
int i,b = 0;
unsigned long long tmp =1LL;
for (i=63; i>=0; i--,b++) {
printf("%d",(t) & ((tmp << i) )? 1:0);
if(b... | [
"joseoyeon60@gmail.com"
] | joseoyeon60@gmail.com |
a481020995d835dff9b4d9e8bc0d37537958aed2 | c04e49371d98c136fb484c541a0fb479c96001ff | /deprecated/include/Graphics/Native/WindowModes.h | fb4cd0481f48eef7970bddaf93daf916e05872b1 | [
"MIT"
] | permissive | Arzana/Plutonium | 0af59b6ffee010eed7c6c8f6182c87480ef45dc3 | 5a17c93e5072ac291b96347a4df196e1609fabe2 | refs/heads/master | 2021-05-09T02:20:42.528906 | 2020-10-31T20:36:57 | 2020-10-31T20:36:57 | 119,201,274 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | h | #pragma once
namespace Plutonium
{
/* Defines the modes of a window. */
enum class WindowMode
{
/* A sizeable window with a header. */
Windowed,
/* A sizeable window without a header. */
Borderless,
/* A sizeable window that takes up the whole display. */
BorderlessFullscreen,
/* A fullscreen window. ... | [
"largewowfan@gmail.com"
] | largewowfan@gmail.com |
f68f908f6da483c9d3667b60cb52d5f0aa68a59f | 51e8260df21001498150dc4dcadd36a364300e24 | /src/test/resources/results/armadillo/detectionObjectDetector2/l1/detection_objectDetector2_spectralClusterer_1_.h | 0c91a3a67b04422ff37ecfeb1fa1410aab053f71 | [] | no_license | Qwertzimus/EMAM2Cpp | f733a19eaf8619df921aaff9ee401d1c4e8314e8 | 6f5a7ffa880fa223fd5e3d828239b7d3bbd2efa1 | refs/heads/master | 2020-03-20T22:34:50.299533 | 2018-05-22T16:51:38 | 2018-05-22T16:51:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | h | #ifndef DETECTION_OBJECTDETECTOR2_SPECTRALCLUSTERER_1_
#define DETECTION_OBJECTDETECTOR2_SPECTRALCLUSTERER_1_
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#include "armadillo.h"
#include "detection_objectDetector2_spectralClusterer_1__similarity.h"
#include "detection_objectDetector2_spectralClusterer_1__nor... | [
"sascha.schneiders@rwth-aachen.de"
] | sascha.schneiders@rwth-aachen.de |
668d5caa75249dc3a94d500bc45f1ccd01617d13 | 1739bf1e1512c11f3d096beaed009677d349575d | /Sources/Engine/TRtxPipeline.h | 21a89a6c4895ed211a3fd172d9a48cfe7aa9250b | [] | no_license | TiraX/tix2 | 60eebd345097e80d59c8a1d2887a2413ddc1fa11 | ebdab17e400764abfb9ea7a9d4db3fbdada8f293 | refs/heads/master | 2023-02-18T05:28:38.956220 | 2023-01-28T14:41:10 | 2023-01-28T14:41:10 | 129,262,369 | 10 | 2 | null | 2021-03-30T01:32:13 | 2018-04-12T14:16:02 | C++ | UTF-8 | C++ | false | false | 1,334 | h | /*
TiX Engine v2.0 Copyright (C) 2018~2021
By ZhaoShuai tirax.cn@gmail.com
*/
#pragma once
namespace tix
{
enum E_HITGROUP
{
HITGROUP_ANY_HIT,
HITGROUP_CLOSEST_HIT,
HITGROUP_INTERSECTION,
HITGROUP_NUM
};
struct TRtxPipelineDesc
{
uint32 Flags;
TShaderPtr ShaderLib;
TVector<TString> ExportNames... | [
"zhaoshuai2@kingsoft.com"
] | zhaoshuai2@kingsoft.com |
ccc5ff6e2cea566c23d70eab3fa42f9354c44dfe | e39b3fad5b4ee23f926509a7e5fc50e84d9ebdc8 | /AtCoder/Companies/AISing-Programming-Contest/2019/c.cpp | d5bca632ec2a2584cf7aa0a701cdae7c3c0af3c3 | [] | no_license | izumo27/competitive-programming | f755690399c5ad1c58d3db854a0fa21eb8e5f775 | e721fc5ede036ec5456da9a394648233b7bfd0b7 | refs/heads/master | 2021-06-03T05:59:58.460986 | 2021-05-08T14:39:58 | 2021-05-08T14:39:58 | 123,675,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,858 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define REP(i, n) for(int i=0; i<(n); ++i)
#define FOR(i, a, b) for(int i=(a); i<(b); ++i)
#define FORR(i, a, b) for... | [
"22386882+izumo27@users.noreply.github.com"
] | 22386882+izumo27@users.noreply.github.com |
53ae6d240054548fe6180e5891a066453db5d113 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta-W/95.6/uniform/time | 91a0a29ea7edd45b72de7dbef11c1668bcc786c5 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
b4e505e38b7e7375a9a3cc64761eb9b0d791b862 | 64684646c96123397d60052d7d04bb370a182b42 | /game/dragon3d-core/test/com/dragon3d/util/assets/AssetsManagerTest.cc | 05141b1ec3ed4998690f9e02ad7bf849b8da773a | [] | no_license | yubing744/dragon | e6ca32726df8fe8e9e1d0586058b8628245efb55 | eca9b4b6823c98ddc56ccedde486099653b13920 | refs/heads/master | 2020-05-22T09:11:15.052073 | 2017-01-02T01:30:53 | 2017-01-02T01:30:53 | 33,351,592 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | cc | /*
* Copyright 2013 the original author or authors.
*
* 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 o... | [
"yubing744@163.com"
] | yubing744@163.com |
a9482c33fb8e07452e0a4797cbbf272d051e185c | a4c8d163888799dbb6efe236b4d3886114d4769b | /cie_sign_sdk/include/UUCTextFileReader.h | 012aedf29c9f61c7bb19149ae5d74c210a9a811a | [
"BSD-3-Clause"
] | permissive | bitpdg/cie-middleware-linux | 8b5ab036ebbcef29fb18c17c7d1af7421725be3d | d3a794802240a2cda55ecd1d02ff79195689e5ac | refs/heads/master | 2023-04-24T02:17:41.952027 | 2021-05-19T12:49:24 | 2021-05-19T12:49:24 | 267,796,262 | 0 | 0 | BSD-3-Clause | 2020-05-29T07:38:35 | 2020-05-29T07:38:35 | null | UTF-8 | C++ | false | false | 753 | h | // UUCTextFile.h: interface for the UUCTextFile class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_UUCTEXTFILE_H__CD3660A5_B4C5_4CD4_99AC_69AC96D1460F__INCLUDED_)
#define AFX_UUCTEXTFILE_H__CD3660A5_B4C5_4CD4_99AC_69AC96D1460F__INCLUDED_
#if _MSC_VER > 1000
#prag... | [
"pdg@bit4id.com"
] | pdg@bit4id.com |
6b490e5e6772ed11bb92c37a88cc84d443046655 | d9ee3d21555a856326899f3470140ab1694e49a3 | /HggRazor/CommonTools/include/TableMakerAux.hh | 7525e8517db0d01aad5f933bbbce43204ed8f42d | [] | no_license | cmorgoth/RazorFramework | 47f76e17a00a8aee01e416649db3983a25101dee | ca180336bf5498c8731b360bc70fd5c980b41cea | refs/heads/master | 2020-04-06T06:59:03.881664 | 2016-06-28T21:26:18 | 2016-06-28T21:26:18 | 35,075,908 | 1 | 1 | null | 2016-05-27T00:43:15 | 2015-05-05T03:34:23 | C++ | UTF-8 | C++ | false | false | 51 | hh | #ifndef TableMakerAux
#define TableMakerAux
#endif
| [
"cristian.morgoth@gmail.com"
] | cristian.morgoth@gmail.com |
ce4a0f0ea26bc34057c2fb79a106fec4b24cc951 | 791c9de4ec8b5778bb6327da5fe967f5c4e1ed95 | /src/PhoneBook.hpp | 03c96acd59537574fc9fccac6ee266ffa03f6778 | [] | no_license | sv99/sms_gate | 528cf0b567046af4a1642ed6400e09bf3fa02fd3 | f277aba9739e5952ffd4de1702a90c16a41d89f6 | refs/heads/master | 2020-04-14T22:41:53.148696 | 2018-04-05T14:41:59 | 2018-04-05T14:41:59 | 68,000,957 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | hpp | //
// Created by Volkov on 09.09.16.
//
#ifndef SMS_GATE_PHONEBOOK_H
#define SMS_GATE_PHONEBOOK_H
#include <string>
#include <vector>
class Number {
public:
int m_id{0};
std::string m_number{""};
std::string to_string();
};
class Record {
public:
int m_id{0};
std::string m_FirstName{};
std::string m_... | [
"sv99@inbox.ru"
] | sv99@inbox.ru |
4a51f1d22f9203a68c68126c2f44baf966c74859 | da3c59e9e54b5974648828ec76f0333728fa4f0c | /email/pop3andsmtpmtm/clientmtms/inc/cimfinder.h | d3ceb1596c81fa7646cc4ad91cf8447515b1b67a | [] | no_license | finding-out/oss.FCL.sf.app.messaging | 552a95b08cbff735d7f347a1e6af69fc427f91e8 | 7ecf4269c53f5b2c6a47f3596e77e2bb75c1700c | refs/heads/master | 2022-01-29T12:14:56.118254 | 2010-11-03T20:32:03 | 2010-11-03T20:32:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,710 | h | // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v1... | [
"none@none"
] | none@none |
0b1f7d4a6c6c51dfcc15480bc8f2caa8470c8302 | e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67 | /aws-sdk-cpp/1.2.10/include/aws/budgets/model/DescribeBudgetRequest.h | 13843bd583a4a95a49d3811afc8fc1668e17629b | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | EnjoyLifeFund/macHighSierra-cellars | 59051e496ed0e68d14e0d5d91367a2c92c95e1fb | 49a477d42f081e52f4c5bdd39535156a2df52d09 | refs/heads/master | 2022-12-25T19:28:29.992466 | 2017-10-10T13:00:08 | 2017-10-10T13:00:08 | 96,081,471 | 3 | 1 | null | 2022-12-17T02:26:21 | 2017-07-03T07:17:34 | null | UTF-8 | C++ | false | false | 3,482 | h | /*
* Copyright 2010-2017 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... | [
"Raliclo@gmail.com"
] | Raliclo@gmail.com |
d051b5a7739d0e15dc035b6a255072470e5a548e | 3a64d611b73e036ad01d0a84986a2ad56f4505d5 | /ash/system/holding_space/pinned_files_container.cc | 37f8e6b07948625760b61c65693117d4a0988f02 | [
"BSD-3-Clause"
] | permissive | ISSuh/chromium | d32d1fccc03d7a78cd2fbebbba6685a3e16274a2 | e045f43a583f484cc4a9dfcbae3a639bb531cff1 | refs/heads/master | 2023-03-17T04:03:11.111290 | 2020-09-26T11:39:44 | 2020-09-26T11:39:44 | 298,805,518 | 0 | 0 | BSD-3-Clause | 2020-09-26T12:04:46 | 2020-09-26T12:04:46 | null | UTF-8 | C++ | false | false | 2,836 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/system/holding_space/pinned_files_container.h"
#include "ash/public/cpp/holding_space/holding_space_constants.h"
#include "ash/public/cpp/h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0d0eb7de6a48d48b1894abb0e16055230a1bb461 | 260a59fb9e70d043b4208abd871bf559b4cfa874 | /src/frame.cpp | 828df7e04482adf8ff8fbdbb8adf7f316d52a2b2 | [] | no_license | softwareCxw/signature2 | 0cf15c84e272637904c5145a4e01e337ba250cd6 | 8cf33164bc121719bf8f6de7eb2b43aba367e413 | refs/heads/master | 2020-12-31T04:29:15.346025 | 2015-11-25T08:58:40 | 2015-11-25T08:58:40 | 46,849,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,875 | cpp | #include "frame.h"
void frame::setup()
{
i_choose = CHOOSE;
_fbo.allocate(1920, 1080);
_chooseBack.setup();
_signature.setup();
}
void frame::update()
{
switch(i_choose)
{
case CHOOSE :
_chooseBack.update();
break;
case SIGNATURE :
_signature.update();
break;
default:
break;
}
}
void frame::draw... | [
"825873709@qq.com"
] | 825873709@qq.com |
73eb810dba6fa9feb96bd2df35538fb73ab967f7 | 81e4a14225fdef668aee4a4eb3c0e4bf4f992196 | /src/Timer.cpp | 1e477af20d33e6baa1135b39d39d52d6bd4d72fa | [] | no_license | LPPOINT/Checkers | dffdad148024e60ff0f03ea2bcfce700e9f8712a | 12d5b06d0ab70327c65186cf97d4e6fa798a91fb | refs/heads/master | 2021-01-10T19:22:24.115634 | 2012-08-11T12:37:08 | 2012-08-11T12:37:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #include "Timer.h"
void Timer::Update(float msec)
{
if((_msec+=msec)>1000)
{
_sec++;
_msec-= 1000;
}
} | [
"ostrov1762@mail.ru"
] | ostrov1762@mail.ru |
e03e4b1ceba6a9616803784840edefa1b0db8ac6 | 825e64b1cb17aac2a4d5c396d7bbeaca91aaaa10 | /src/transport/Messages/Packer.cpp | 4626f52164dff26b9fdb253afca694a8263c0e28 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cpshereda/hxhim | 7cf7643228f44a7ce336bedf05762ad95d5b72bd | 1ef69e33d320e629779df27fb36de102f587c829 | refs/heads/master | 2023-01-29T12:53:21.008388 | 2020-12-08T19:50:24 | 2020-12-08T19:50:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,023 | cpp | #include "datastore/constants.hpp"
#include "transport/Messages/Packer.hpp"
#include "utils/little_endian.hpp"
#include "utils/memory.hpp"
namespace Transport {
static char *pack_addr(char *&dst, void *ptr) {
// // skip check
// if (!dst) {
// return nullptr;
// }
little_endian::encode(dst, p... | [
"jasonlee@lanl.gov"
] | jasonlee@lanl.gov |
cdaf0aa25f8fe0c592f216237ff58329df4d1290 | 88ff0f4227d8f2004df52205cde54f568256597a | /task_1_8_11.cpp | cb19e3a2356604e0c4765eb88a8924d2deb89f46 | [] | no_license | AlterFritz88/intro_to_prog_c_plus_plus | 6f5322ff6d2ce17ab5252db62cb774fcfb075598 | d83b15bbfad2252a041a560487b2dcc5c6b39c16 | refs/heads/master | 2020-06-13T04:39:24.602066 | 2019-07-16T10:18:53 | 2019-07-16T10:18:53 | 194,537,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | #include <iostream>
using namespace std;
int main() {
int r, c;
cin >> r >> c;
int arr[r][c];
int tranc_arr[c][r];
for (int i = 0; i < r; i++){
for (int j = 0; j < c; j++){
cin >> arr[i][j];
}
}
for (int i = 0; i < r; i++){
for (int j = 0; j < c; j++){
... | [
"burdin009@gmail.com"
] | burdin009@gmail.com |
aebb9268c3df555dd40407d922e029f361df6a98 | 5d4da40e0b511a955b418748327ce29565d9c10c | /include/ResourceManager.h | bb2b11cfb8d52c1af59593628002a47c282517a1 | [] | no_license | danilodna/arf | eef0c22032813ddafd99d1e28c2c25964074b0b5 | 9f48264acd7a98a164d130f4c0e51d5f0b9d8f2b | refs/heads/master | 2020-03-27T04:44:07.212116 | 2018-10-31T13:58:07 | 2018-10-31T13:58:07 | 145,964,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | h | #ifndef RESOURCE_MANAGER_H
#define RESOURCE_MANAGER_H
#include "../include/Shader.h"
#include "../include/Texture.h"
#include <glm/gtc/type_ptr.hpp>
#include <string>
#include <map>
class ResourceManager
{
private:
ResourceManager() = default;
// Loads and generates a shader from file
static Shader loadShade... | [
"danillodna@gmail.com"
] | danillodna@gmail.com |
ec192bc2eda9c23831b53284cc1db991ccdaf4e9 | 95b9621b5c8b930e780df893dd774fd263171513 | /BUGLIFE - A Bug’s Life.cpp | 655c899f9bbb04dc3ab25bdce13320220cf0679f | [] | no_license | Perdente/SPOJ | 0936aacb9ea76be3b0d9cf8da2a4dee9fa45f74a | 0bfe31818a62c532a97e5f3ca96ae3675a1b2169 | refs/heads/main | 2023-06-11T11:16:18.406075 | 2021-06-18T04:57:32 | 2021-06-18T04:57:32 | 370,556,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | //https://www.spoj.com/problems/BUGLIFE/
#include<bits/stdc++.h>
using namespace std;
#define int long long int
vector<vector<int>>graph;
vector<int>color;
int c=1;
void Malena(){
int n,m;cin>>n>>m;
graph.resize(n+1);
color.resize(n+1);
bool flag=true;
function<void(int,int)>dfs=[&](int u,int col)->void{
color[... | [
"noreply@github.com"
] | Perdente.noreply@github.com |
6a46c3fed10e50d21aac4071a80a618367e743f7 | 51c8fabe609cc7de64dc1aa8a0c702d1ae4f61fe | /54.ScrollView/Classes/HelloWorldScene.cpp | 118c80ca1c34cfdae7db411931b01f1ff8f84621 | [] | no_license | Gasbebe/cocos2d_source | 5f7720da904ff71a4951bee470b8744aab51c59d | 2376f6bdb93a58ae92c0e9cbd06c0d97cd241d14 | refs/heads/master | 2021-01-18T22:35:30.357253 | 2016-05-20T08:10:55 | 2016-05-20T08:10:55 | 54,854,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include "HelloWorldScene.h"
USING_NS_CC;
using namespace cocos2d;
using namespace cocos2d::extension;
Scene* HelloWorld::createScene()
{
auto scene = Scene::create();
auto layer = HelloWorld::create();
scene->addChild(layer);
// return the scene
return scene;
}
// on "init" you need to init... | [
"gasbebe@gmail.com"
] | gasbebe@gmail.com |
2856107f09e192f4a848ff8336fe456fd85fbc3a | caef7bf5be5bfe5713e192a679c35532d51e7405 | /src/tir/schedule/analysis/analysis.cc | 3865781c587026fe759571070f966f329bc0edef | [
"Apache-2.0",
"Zlib",
"MIT",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense"
] | permissive | hitcoogle/tvm | 9c1055bae803b57ddbd243872a3ae5e09337e7d0 | 9b034d729f80f6f19106ae435221e4c48df44618 | refs/heads/main | 2023-07-27T14:29:49.767273 | 2021-09-06T23:54:15 | 2021-09-06T23:54:15 | 403,906,667 | 1 | 0 | Apache-2.0 | 2021-09-07T08:48:30 | 2021-09-07T08:48:29 | null | UTF-8 | C++ | false | false | 35,249 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"noreply@github.com"
] | hitcoogle.noreply@github.com |
2127fc3dc33e9565b5344f468ad66d666da8a3b0 | 8cfcf7710c2ffe3e6df8dc2d95a90769cc56c779 | /ArmFW.ino | 8a5d8e8afdbd79054de20e6b602e3125d9fd4348 | [] | no_license | AmitSoli/IMU_Glove | eb80adbdc4329fd7d29eadf2c21f2d4a08259dea | da9407e8f0baf91776cbebf93eecf1a75149bb4b | refs/heads/master | 2022-11-27T06:41:09.398665 | 2020-07-31T12:05:52 | 2020-07-31T12:05:52 | 284,027,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,232 | ino |
#include <Wire.h>
#include <BMI160Gen.h>
#define NUM_GYROS (5)
#define TCAADDR 0x70
#define BMI160_RA_GYRO_X_L 0x0C
#define interrupt_lock() (0)
#define interrupt_unlock(flags) while (0) {}
typedef struct BMI_s {
BMI160GenClass bmi160;
float gyroXangle;
float gyroYangle;
float gyroZangle;
float C... | [
"soliamit@gmail.com"
] | soliamit@gmail.com |
b36534a23f34c5027dd17f2cbcc24d4632bdfe2a | beb2c6086d8b24b3129709bfc1042bc7b9e8e4d0 | /core/library/mysql/mysql/psi/psi.h | aae1d50526e13d9a329c20a054f7dfd263730f7d | [] | no_license | sige5193/oha_dbmigrator | f9f5f662f2e3c1927f490eed8fd046bd0f85e5bc | 7776706e8a1f3ecd3571d94afc95a894c7a49d86 | refs/heads/master | 2022-09-01T14:52:11.574668 | 2017-04-28T02:36:20 | 2017-04-28T02:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 85,865 | h | /* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the h... | [
"micahelluthor@163.com"
] | micahelluthor@163.com |
784f01ddd93fef26d2e336012bc8879e097ea2bb | 777299f9f20b5c1dc930766809b336f5c1ae38e5 | /tests/framework/layer/wrap_objects.cpp | 8f617a6d330734672d723ed97e944efe96f666ed | [
"Apache-2.0"
] | permissive | chaoticbob/Vulkan-Loader | 3c3b0e0ef2c9fbd865c49abae198e4ab840a684f | d5bb7a92160cf34e81ed39d3454c65024cdf09ea | refs/heads/master | 2023-08-30T15:20:54.664460 | 2021-10-27T16:21:10 | 2021-11-04T21:01:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,692 | cpp | /*
* Copyright (c) 2015-2021 Valve Corporation
* Copyright (c) 2015-2021 LunarG, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | [
"46324611+charles-lunarg@users.noreply.github.com"
] | 46324611+charles-lunarg@users.noreply.github.com |
e688bf2595ac96c24261d24c192088650a07ca62 | 84f7b0f26c5ee871eb83322c2fac9f0de94eb98b | /src/splitting/breadth_first_splitter.cpp | ae14355ebe4ac406b05946f4dfbd53f93b775ebc | [
"BSD-3-Clause"
] | permissive | mfkiwl/srrg2-hipe | 8b048729046ff1c3798a440555f4d77fec9d7071 | d02bf13f63ffb7a4e35a77c595c921663e962750 | refs/heads/main | 2023-08-17T18:04:23.302808 | 2021-10-25T13:44:59 | 2021-10-25T13:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,456 | cpp | #include "breadth_first_splitter.h"
namespace srrg2_hipe {
using namespace srrg2_core;
using namespace srrg2_solver;
BreadthFirstSplitter::BreadthFirstSplitter() : _init_action(new OdometryPropagation){
}
const VariableBase* BreadthFirstSplitter::_computeOuterDegreeMap() {
const auto& variables ... | [
"frevo93@gmail.com"
] | frevo93@gmail.com |
d58288ba4f309b079738e0515c25e608a6852fcf | 7435dd60a9f79be1ffc86e342a61ca68be6c36da | /CSGO Solution/Features/Visuals/World.hpp | bd21207d3d46ae75aa2b13d0421bcf3c6299e47f | [] | no_license | LucQ12/zeeron.su | a1884384874c533ca80dd0df83bc7fdb4c81617b | 7fcc32fc3d693340d2fa0800d4e0a531979905ac | refs/heads/main | 2023-08-13T11:33:47.453906 | 2021-10-05T09:42:36 | 2021-10-05T09:42:36 | 419,263,778 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | hpp | #pragma once
#include <vector>
#include "../SDK/Includes.hpp"
struct ClientImpact_t
{
Vector m_vecPosition;
float_t m_flTime;
float_t m_flExpirationTime;
};
struct C_BulletTrace
{
bool m_bIsLocalTrace = false;
Vector m_vecStartPosition = Vector( 0, 0, 0 );
Vector m_vecEndPosition = Vector( 0, 0, 0 );
};
class... | [
"ptichka.denozavra05@mail.ru"
] | ptichka.denozavra05@mail.ru |
555ed01e6d846c7b8a0bc71e879f8f0b43b908e2 | 3dfa2da447272f37da95b866aba154082b3c8ab4 | /future.h | ea66f5aaf4425af0fcf2779b96670741edec0216 | [] | no_license | cool-colo/future | 03d40673aee63b4cdd0ead0cdb88ca6b3834e005 | 8283e03d95f2cce28830bf0808995605962c76e7 | refs/heads/master | 2023-05-06T16:29:53.067160 | 2021-06-03T09:00:12 | 2021-06-03T09:00:12 | 352,545,823 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,618 | h | #pragma once
#include<cassert>
#include "future-pre.h"
class FutureException : public std::logic_error {
public:
using std::logic_error::logic_error;
};
class FutureInvalid : public FutureException {
public:
FutureInvalid() : FutureException("Future invalid") {}
};
class FutureAlreadyContinued : public Future... | [
"fanglc@wifi.com"
] | fanglc@wifi.com |
0700619ec984e56ec470bdb14241a910a61d68bf | c3c6d5e826d2cd231dcab832b457f22bbaaeaaa0 | /chrome/browser/ui/web_applications/web_app_browsertest.cc | 593c444c53116cff6e3e7c637780f3944659deea | [
"BSD-3-Clause"
] | permissive | boy12371/chromium | 698c1218fb60d6cbf985932fab0a84709c0a60a1 | c19205e6abcec73ee37140b851c0bb5477998660 | refs/heads/master | 2022-11-18T17:24:27.789838 | 2020-07-28T02:01:11 | 2020-07-28T02:01:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,378 | cc | // Copyright 2019 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 "base/strings/string16.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c20671998265105cf986067aeb34803888bf596f | e18d3ba753df23d389b6903a7e495bfaaef8b2d4 | /labs161/practicestrings.cpp | 2642148daebef8f5b8b50bad9318fd0628d892f6 | [] | no_license | ErinTanaka/IntroToCS | be4656ae915437f7bccedae2ef52735c1a171fd8 | 6efc984cee29a73ee29cd056392ff4450ed59178 | refs/heads/master | 2022-07-15T02:17:11.552524 | 2020-05-11T22:16:28 | 2020-05-11T22:16:28 | 263,171,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include <iostream>
#include <string>
using namespace std;
void dointhings(string &str);
int main(){
string mystr;
mystr="hello world";
cout << "whole string: " << mystr << endl;
cout << "3rd character in string: " << mystr[2] << endl;
dointhings(mystr);
cout << mystr << endl;
cout << "dynamic 1-... | [
"tanakae@flip3.engr.oregonstate.edu"
] | tanakae@flip3.engr.oregonstate.edu |
112f02a6693a53d79db13a46ce5d512af1dcf862 | 8dba4d5f1d91e777e23df52babfd8d942de9591d | /sys/opt/terminal/terminal.h | 13fdb1c3935d566ca571d9ecd9c56ec82a67094f | [
"MIT"
] | permissive | scientiist/BellOS | 42c484d51511f5aef667552f3d502a38f640f6ea | 1a74bf445f2cd6bb704de7ca173bd87b7d1a23ed | refs/heads/master | 2021-06-16T17:15:20.647516 | 2017-05-13T21:06:15 | 2017-05-13T21:06:15 | 76,580,271 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #ifndef __TERMINAL_INCLUDED__
#define __TERMINAL_INCLUDED__
#include "../../kernel/video/videobuffer.h"
class Terminal {
VideoBuffer termVB;
String lastInp;
public:
void Initialize();
bool Run();
void Prompt();
String GetInput();
};
#endif | [
"j0sh.oleary11@gmail.com"
] | j0sh.oleary11@gmail.com |
8140b9b18a091df34781050d65bf594b7dddb076 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_3389.cpp | 3680e9c5201d2c703bce1a244710d8b004317184 | [] | 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 | 238 | cpp | ap_log_rerror(APLOG_MARK, APLOG_WARNING, apr_get_os_error(), r, APLOGNO(02116)
"unrecognized result code %d "
"from HttpExtensionProc(): %s ",
rv, r->filename); | [
"993273596@qq.com"
] | 993273596@qq.com |
d89953d4b4c438b19a38f385b0aef2151e63283c | 79c2d89bbfb0fcea09358e8fbee9187c40443b9b | /source/TonyHawksProSkater3.WidescreenFix/dllmain.cpp | eb0da877e62cf04e267b4060d87d0f0a536985fc | [
"MIT"
] | permissive | Sergeanur/WidescreenFixesPack | 0d230f6ca733ac6e73a3e322f07db5b303c04fdf | 7e159be860a870476a97c322a0c4dd244e50cee7 | refs/heads/master | 2020-04-01T04:49:49.295083 | 2018-10-13T15:54:55 | 2018-10-13T15:58:33 | 152,878,656 | 0 | 0 | MIT | 2018-10-13T14:12:39 | 2018-10-13T14:12:39 | null | UTF-8 | C++ | false | false | 5,501 | cpp | #include "stdafx.h"
#include <random>
struct Screen
{
int32_t Width;
int32_t Height;
float fWidth;
float fHeight;
int32_t Width43;
float fAspectRatio;
float fAspectRatioDiff;
int32_t FOV;
float fHUDScaleX;
float fHudOffset;
float fHudOffsetReal;
} Screen;
void Init()
{
... | [
"thirteenag@gmail.com"
] | thirteenag@gmail.com |
f6cd487cb63d36d26a4ed4ade00fbac6f44ad2a5 | 862a88b144cb7fca22a84d43b65a91f85027cbf0 | /extensions/GUI/cocos2dx-better/src/CBGridView.cpp | 4415b7b6af4aaf55bdd97da3a5130688aac0e040 | [
"MIT"
] | permissive | live106/cocos2d-x-AoB | 6edbb263bff9ab023da80f92fd68df49272d2851 | 11dfdf54d904bb25c963cf0846fdd3d224f07ba3 | refs/heads/master | 2020-12-25T02:20:43.013687 | 2014-11-06T08:17:16 | 2014-11-06T08:17:16 | 9,067,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,702 | cpp | /****************************************************************************
Author: Luma (stubma@gmail.com)
https://github.com/stubma/cocos2dx-better
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in t... | [
"wangyanan@gpp.com"
] | wangyanan@gpp.com |
a95e2caada960ccd1c4730e1d9f4c378aa55da6b | acb84fb8d54724fac008a75711f926126e9a7dcd | /poj/poj2663.cpp | 773ae3c7b0aa3e82132b9b6c6a8a03669f6c897e | [] | no_license | zrt/algorithm | ceb48825094642d9704c98a7817aa60c2f3ccdeb | dd56a1ba86270060791deb91532ab12f5028c7c2 | refs/heads/master | 2020-05-04T23:44:25.347482 | 2019-04-04T19:48:58 | 2019-04-04T19:48:58 | 179,553,878 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | #include<cstdio>
using namespace std;
int H[9],P[100],X[100],tot;
inline void add(int x,int y){
P[++tot]=y;X[tot]=H[x];H[x]=tot;
}
//0 有挡板
void find(int p,int x,int now,int t){
if(x==4) add(p,t);
if(x>3) return;
if((now&1)==0) find(p,x+1,now>>1,t+(1<<(x-1)));// 没挡板
if((now&3)==0) find(p,x+2,now>>2,t);... | [
"zhangruotian@foxmail.com"
] | zhangruotian@foxmail.com |
365bf36fb132af686524b42aa362972d8aa2f096 | face0d0277b84d67deac5acf9a7a4abe7991762b | /L6/Q1/q1.cpp | 368c065885f84703cb3208506da20d315fddc9bb | [] | no_license | anon766/DSL | 48b53fd41bd57442181cbb8389c63a0f514a45df | 0ee86275dbe5f6e51efd8b3a59a7ac3075356059 | refs/heads/master | 2022-12-28T15:38:05.764683 | 2020-02-08T14:03:16 | 2020-02-08T14:03:16 | 200,645,625 | 0 | 0 | null | 2020-10-13T19:22:29 | 2019-08-05T11:50:07 | C++ | UTF-8 | C++ | false | false | 3,319 | cpp | #include<bits/stdc++.h>
using namespace std;
class Node
{
public:
int val;
Node* next;
Node(int a)
{
val=a;
next=NULL;
}
};
Node* adjacencyList[100];
int dp[100][100];
bool used[100];
Node* resultStore;
int src;
bool isCycle;
void insertResult(int );
void searchDFS(int ,int );
void insert(int ,int );
int ma... | [
"masih@omen"
] | masih@omen |
03091b2dcc93df77ae435c10e9b1298e4ee20b88 | e0f129d30ae2611fe1b78f11573a51df5af0945f | /rt-compact/src/light/distant.cpp | be799a6726211eec3f3b9535eecf469a1e2e08dc | [] | no_license | TianhuaTao/computer-graphics-assignment | 1b8034fe72cf481bb352053842d3ef9116786176 | 4f1bddac59f0ecb6be2a82bd86b709f57a69195f | refs/heads/master | 2022-11-10T02:03:55.090071 | 2020-06-21T06:39:29 | 2020-06-21T06:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | cpp | //
// Created by Sam on 2020/6/16.
//
#include <core/prob.h>
#include "distant.h"
DistantLight::DistantLight(const Transform &LightToWorld, const Color &L,
const Vector3f &wLight)
: Light((int)LightFlags::DeltaDirection, LightToWorld, MediumInterface()),
L(L),
wL... | [
"tth135@126.com"
] | tth135@126.com |
18073528c7c6e9612caa5418379206e78db4085b | b7dd7ddf80a2468244bf9479ee0916d3298629ed | /course_work/me537/project/simulation/ros_packages/unsuper_nn/src/evo_unsupervised_learner.h | 740ccbe81007b3cb42fb6f404278b3a6e708a1a9 | [] | no_license | kckemper/kemper | 5550e3a0ce1814bd8963ca97cb4d7bacbb3fdbe8 | a1c33d19363fa2a60f61a69d21b3dec6a2bddbad | refs/heads/master | 2021-01-10T08:49:26.918463 | 2012-09-21T18:30:50 | 2012-09-21T18:30:50 | 52,307,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,033 | h | #include <stdio.h>
#include <cv.h>
#include <highgui.h>
#include <math.h>
#include <iostream>
#include <fstream>
#include "evo.h"
#define NF 6
#define N_SLICES 8 // number of slices to make of the image
#define N_STEPS 855 // number of images
#define SIZE 16 // scaled image size
#define N_LEARN 200 ... | [
"kkemper@f5c5be9c-040c-f34b-f993-a0493b5d6c12"
] | kkemper@f5c5be9c-040c-f34b-f993-a0493b5d6c12 |
888ca9f0d4a48b0fd5b9fc6fd03a72dae4559ecf | 7d8d3acacb099341f49bd740c1dc2637a0a7413d | /Code Chef/The Leaking Robot.cpp | bd9431f172dff8d158159dc664347304f1a6fd76 | [] | no_license | himanshushukla254/BugFreeCodes | 71c57023bac39dc9363321a063e0b398f8e23ae8 | cf5bd96d8f67a99f107824a20afb54e0ad85e0b3 | refs/heads/master | 2020-12-03T10:25:52.635565 | 2016-05-14T11:53:50 | 2016-05-14T11:53:50 | 58,805,309 | 1 | 1 | null | 2016-05-14T11:52:15 | 2016-05-14T11:52:14 | null | UTF-8 | C++ | false | false | 674 | cpp | //http://www.codechef.com/AUG14/problems/CRAWA
//Ashish Kedia, NITK Surathkal
//@ashish1294
#include<cstdio>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<algorithm>
#include<vector>
#include<queue>
#include<utility>
using namespace std;
int main()
{
int t,x,y,f;
scanf("%d",&t);
while(t--)
{
... | [
"ashish1294@gmail.com"
] | ashish1294@gmail.com |
aebd755a9eeb9561ecb1b795045c9432cb58b451 | 84464965f202caa72fa395ddf997f026096524f7 | /extra/server.cpp | f07fb29eb5fb1c02f70690bcfb3015f5390c2bb8 | [] | no_license | dartuso/VeryStrangeWebProxy | fc9ae32b83018008d24d55fcf01c67fe366d8376 | c44046b1b8a0538add9abc6e5e7badee504c1db3 | refs/heads/master | 2022-12-21T06:59:41.074151 | 2020-10-01T18:19:02 | 2020-10-01T18:19:02 | 238,564,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,371 | cpp | /*
* A simple TCP server that echos messages back to the client.
* This server works with only a single client. With a simple modification, it can take more clients.
*/
#include <iostream>
#include <sys/socket.h> // for socket(), connect(), send(), and recv()
#include <arpa/inet.h> // for sockaddr_in and inet_ad... | [
"daniel.artuso1@gmail.com"
] | daniel.artuso1@gmail.com |
4ea7e418ebc21075e8753e710d576a7c1a4ca2a6 | 666e70c36b92a97a87de07ddc5c9f9ab1587de66 | /str concat functin.cpp | c534ad16d3e161c33f944bd98d90e3c0d5370db6 | [] | no_license | Manash-git/C-Programming-Study | f3a4e56a8fa09c974f5a11ac9f64141eeeb9a3cb | 26562ab58c08d637cfbf5eeebb1690e2d16d6830 | refs/heads/master | 2021-07-16T03:25:45.497664 | 2017-10-23T19:54:45 | 2017-10-23T19:54:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | //#include<stdio.h>
#include<bits/stdc++.h>
int main(){
char name[]={"People's republic of "};
strcat(name,"Bangladesh");
puts(name);
printf("\nLenght is : %d",strlen(name));
return 0;
}
| [
"manashmondalcse@gmail.com"
] | manashmondalcse@gmail.com |
5f88846079f0df6e0c7be4a78cae069a59f8505a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_6099.cpp | aa0b20086616fe7b8500998968195160da6ce3ce | [] | 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 | 195 | cpp | ap_log_cerror(APLOG_MARK, APLOG_ERR, APR_EGENERAL, c,
APLOGNO(03080)
"h2_session(%ld): unknown state %d", session->id, session->state); | [
"993273596@qq.com"
] | 993273596@qq.com |
7ede46d46b1b8e6bf9b755e5e2f09fd0424c22f2 | 2b62400eb58ca6a93c66c0025a4c440496698f89 | /SDPSeminarHomework(GraphAndTree)/SeminatTreeAndGraphTash/SeminatTreeAndGraphTash/Node.h | 2a44e8e51b5d15cb2d6be42d7f0ac368fd0612de | [] | no_license | MPTGits/SDP_Tasks | 040bccb2444e00a2d44d8640ce236943ad545944 | f3eccdce298934e5414b67026bce7c482d054b3a | refs/heads/master | 2020-05-25T19:20:58.269353 | 2019-05-22T02:33:46 | 2019-05-22T02:33:46 | 187,948,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | h | #pragma once
template <typename T>
struct Node {
T data;
Node<T> *next;
Node(T const& _data, Node<T>* _next = nullptr) : data(_data), next(_next){};
};
| [
"mr.greend@abv.bg"
] | mr.greend@abv.bg |
238fbf64b556953aa6aeca52a4c7fe8ffc573a4c | 66634a99cf626b05174e583e92704903a9e006db | /include/cub/sched/Executor.h | 7782a5df8e92d50bf5530ed675789b1046b3f17b | [
"Apache-2.0"
] | permissive | ccup/cub | 069ce1f3a3d9ddf66c177e0cb6d29b1ec69cd9cf | 41e1c1b44252f00021aa61f5f305488abad7b289 | refs/heads/master | 2022-06-19T08:12:42.286109 | 2022-05-20T16:31:36 | 2022-05-20T16:31:36 | 298,842,727 | 14 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | h | #ifndef H441EB5A0_2E97_4187_AA21_FAB5C70470C0
#define H441EB5A0_2E97_4187_AA21_FAB5C70470C0
#include <cub/base/BaseTypes.h>
#include <cub/sched/Synchronization.h>
#include <condition_variable>
#include <vector>
#include <queue>
#include <thread>
#include <mutex>
#include <future>
#include <functional>
#include <memor... | [
"e.bowen.wang@icloud.com"
] | e.bowen.wang@icloud.com |
334b648ecf34d61c1a1b7e28a88d3da82affe3a8 | 00948a19e63549ddfdea1f6e5ac55ffcfeb7c1b3 | /utils/NN.h | 031b2b12eb8695044b7b523e3c2ffc85c2972759 | [
"MIT"
] | permissive | Voleco/bdexplain | 6aa310cc9f4c11025d967e4c89aa9673053a708c | 5e610155ad4cc0e9024d73497a8c88e33801e833 | refs/heads/master | 2021-07-04T09:06:10.217994 | 2019-04-04T13:04:53 | 2019-04-04T13:04:53 | 147,047,793 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,710 | h | #ifndef NN_H
#define NN_H
#include "FunctionApproximator.h"
#include <vector>
class NN : public FunctionApproximator {
public:
NN(int inputs, int hiddens, int outputs, double learnrate);
NN(NN *);
NN(FunctionApproximator *);
NN(char *);
~NN();
void load(const char *);
void load(FILE *);
void load(const NN *)... | [
"chenjingwei1991@gmail.com"
] | chenjingwei1991@gmail.com |
ec84e4ae78fa7470f55e43f5f3c7a7cbd787ea9c | 28ef30faa8122b3b68da10f79b047a6e2be32de0 | /Modelos/Motor Diesel/simulation_model_motor_diesel_bueno/simulation_model_motor_diesel_bueno.ino | b3c57a381c11a3665712e8285eeae8b93961de55 | [] | no_license | carmar14/Simulacion_ugrid | 05f0c87248e0616a80571bfa3cc5f2c80b60b3a2 | 80529f394e1f5bf1a10de1ab0e3a75cd0a201846 | refs/heads/master | 2021-07-05T11:25:09.124412 | 2020-11-03T00:16:22 | 2020-11-03T00:16:22 | 197,256,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | ino |
#include <FreeRTOS_ARM.h>
double TenK, VelK, KGen;
double VelK1, TNK, TNK1;
double PLK, PLK1, U[51];
double KGen = 1/2;
bool r=false;
void setup() {
pinMode(52,OUTPUT);
analogWriteResolution(12);
analogReadResolution(12);
Serial.begin(115200);
xTaskCreate(motor, NULL,configMINIMAL_STACK_SIZE , NULL,... | [
"carmar141414@hotmail.com"
] | carmar141414@hotmail.com |
d3e4eeb65b43aa862c38bc92bb620bb95d94cfc8 | c7c6b0a5cdaa59fe515f4e1c767746a2c9fd4c5f | /apps/qdemo/MotionModel.hpp | 14ec9c8c6cd5a0d9cd99e2865cfa96b4d34ae67c | [] | no_license | peter-popov/cppslam | bfb9236f590d887b077dc16eaedf31371968732c | 8ef7abc7989fee833b55cd7cbcd433de7f4dd0df | refs/heads/master | 2016-09-10T21:18:46.064541 | 2015-02-12T20:53:10 | 2015-02-12T20:53:10 | 26,655,903 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,212 | hpp | #pragma once
#include <QtWidgets>
#include <QtQml>
#include "SimulationModel.hpp"
class MotionSample : public QObject {
Q_OBJECT
Q_PROPERTY(Pose *startPose READ startPose)
Q_PROPERTY(QQmlListProperty<Pose> samples READ samples)
Q_PROPERTY(QQmlListProperty<Pose> moves READ moves)
public:
Motion... | [
"petro.popov@gmail.com"
] | petro.popov@gmail.com |
320ea568caa1e69f1d20a299d8ab390a17846772 | bbb240f6737d04fddb785b271c3a0852e0dd9c08 | /Battle/Mine.h | ff50c58594332f76102062844802b491ff19810b | [] | no_license | pascaldevink/smashbattle | 72e3fd34f43e077fd9dba41e0f470144583282b2 | 994e021b824a06dda405709ed3a9594dd5cedb5d | refs/heads/master | 2021-01-15T13:19:45.562883 | 2013-12-16T01:46:22 | 2013-12-16T01:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | h | #ifndef _MINE_H
#define _MINE_H
#include "Bomb.h"
#include "Player.h"
#define MINE_W 6
#define MINE_H 4
class Mine : public Bomb {
public:
Mine(SDL_Surface * surface);
int flash_interval;
int flash_length;
int flash_start;
void process();
protected:
void set_clips();
};
#endif
| [
"bert@demontpx.com"
] | bert@demontpx.com |
6e2de082929ed74593cdf69c8c135780a158ad2b | e1a24c5c0d710a20b2575f4ee6bc29ffd2321a82 | /CodeChef-Programs/MARCHA1.cpp | 5e0791a301156090f34bcd18c80743232f9d0e0e | [] | no_license | Anshu-ros/Cool-Practice-Programs | fc14a4703ea3e0da1b9033fef36f32657aa219fa | e0607d70e99e20359f713d10129ffc36a78460ad | refs/heads/master | 2021-01-11T17:10:15.938767 | 2016-12-17T12:46:38 | 2016-12-17T12:46:38 | 79,729,412 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include<stdio.h>
int cc_payup(int *A,int m){
for(;*A!=0;A++){
if(*A==m){
return 1;
}
else if(*A<m){
return cc_payup(A+1,m-*A)||cc_payup(A+1,m);
}
}
return 0;
}
int main(){
int A[1000],i,j,t,n,m;
scanf("%d",&t);
for(i=0;i<t;i++){
scanf("%d %d",&n,&m);
for(j=0;j<n;j++){
scanf("%d"... | [
"faheemzunjani@gmail.com"
] | faheemzunjani@gmail.com |
5f1d6668a8655ce3a7ddafd9d2e18e7f5e9ecd9f | c2d320626432c783b5f5090bfcc0ad56eb8d814c | /Backend/Parser/submissions/Assignment 12/68.cpp | dc16ceab9e4075481e66fe29eee1feb337c58c39 | [] | no_license | shreysingla11/ssl-project | dbc5569ac2d83b359daa3eda67ab1083949ea160 | 1a6e7494074f74a61100c1d8d09e7709f7f4931c | refs/heads/master | 2023-01-29T07:57:20.968588 | 2020-12-08T15:34:37 | 2020-12-08T15:34:37 | 304,885,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,372 | cpp | #include <iostream>
#include <vector>
#include <stack>
using namespace std;
struct node
{
int index;
vector<int> successors;
vector<int> predecessors;
char going;
bool visited;
int t_i;
int n_i;
int friendsGoing;
int friendsNotGoing;
node ()
{
going = '0';
friendsGoing = 0;
friendsNotGoing = 0;
v... | [
"shreysingla2@gmail.com"
] | shreysingla2@gmail.com |
7c772ad1efd1c6508cc0d06561d44a9e3b246ed8 | 6009e3237259cd78970abb6cc9c5654553a8d625 | /jwspubctrl/sub_client.cpp | 22ecb89f43e68b0b7bfd437c14bbacb1b29e31e8 | [] | no_license | jmuncaster/jwspubctrl | 70c05afa5c1b25540d132daf28f3ec14abadb158 | c1abee0ec72d5618047f41a5ef429ffe6b4ca442 | refs/heads/main | 2023-05-10T16:42:04.854880 | 2023-04-27T19:01:11 | 2023-04-27T19:01:11 | 127,324,796 | 0 | 0 | null | 2023-04-27T19:01:13 | 2018-03-29T17:26:10 | C++ | UTF-8 | C++ | false | false | 1,598 | cpp | #include "sub_client.hpp"
#include <jws/json_with_schema.hpp>
#include <wspubctrl/sub_client.hpp>
#include <functional>
#include <memory>
#include <string>
namespace jwspubctrl {
struct SubClient::Detail {
Detail(
const std::string& pub_uri,
const jws::json& pub_schema)
: _client(pub_uri) {
... | [
"justin@muncaster.io"
] | justin@muncaster.io |
b7aa01fed16438a76afe431923688efdf0176652 | 3701e5410478b44109411f72f522f91493d4525d | /factorial.cpp | d26f44ed50176dc177704d90e267e62407ef1273 | [] | no_license | Alam11/metaprogramowanie | 3cde320f436209ba6fb272455a54f58f8a893024 | 37438bd75b47bee365cb3f8b06422c6a74577b6c | refs/heads/master | 2016-09-01T14:59:37.976477 | 2016-01-17T21:21:58 | 2016-01-17T21:21:58 | 49,573,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | template<int N>
struct factorial {
enum {
val = factorial<N - 1>::val * N
};
};
template<>
struct factorial<0> {
enum {
val = 1
};
};
template<>
struct factorial<1> {
enum {
val = 1
};
};
| [
"morzydusza@gmail.com"
] | morzydusza@gmail.com |
fe5bbfdca56fbafbd439210ecb2842329df90fe9 | 6bd21780b33b41379537636522deec004a492b51 | /incredible_waasa1.ino | 2f1e9f0594054acd1a21a3fba2fbaef750cb6e3c | [] | no_license | AnasBawazir/Control-DC-Motors-with-L293D-Motor-Driver-IC-Arduino | 02a2f2bfb5e98c2ffcac1dd2ccdad5b44bfc4d66 | d545c6444d33e1466229d27b563d8b52bef57cd0 | refs/heads/master | 2022-11-21T12:54:47.521898 | 2020-07-28T21:10:40 | 2020-07-28T21:10:40 | 283,327,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | ino | int enA = 9;
int in1 = 8;
int in2 = 7;
int enB = 3;
int in3 = 5;
int in4 = 4;
void setup() {
pinMode(enA, OUTPUT);
pinMode(enB, OUTPUT);
pinMode(in1, OUTPUT);
pinMode(in2, OUTPUT);
pinMode(in3, OUTPUT);
pinMode(in4, OUTPUT);
digitalWrite(in1, LOW);
digitalWrite(in2, LOW);
digitalWrite(in3, LOW);
digitalWri... | [
"noreply@github.com"
] | AnasBawazir.noreply@github.com |
f37fe918a5e5f9f8e63d18b002682a43b851b309 | 27e8b7337fa04d4e814b4cf162a561dac9c8b4f9 | /linked_list.h | 2c21ae9c8429d066bca49e19d5654a646ceea26b | [] | no_license | matt1moore/2020-DataStructures-PA5 | 9404487a8b97012081883ae1389bb131b6a8f17e | 008c8a88499385fcac41e8867f427701619f1f14 | refs/heads/main | 2023-02-16T12:21:41.476872 | 2020-12-23T16:39:18 | 2020-12-23T16:39:18 | 328,014,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,748 | h | //----------------------------------------------------------------------
// FILE: linked_list.h
// NAME: Matthew Moore
// DATE: September, 2020
// DESC: Implements a linked list version of the list class. Elements
// are added by default to the end of the list via a tail pointer.
// Implemented sorting algo... | [
"mmoore11@zagmail.gonzaga.edu"
] | mmoore11@zagmail.gonzaga.edu |
09e432d03bb9691e45548ddec07c2917a50344f9 | 5d2177228b61c95e334491010611797b86552ec5 | /psmg-oops/src/context/PValueSym.h | e1de0b3bd8e2537cf32542a974f343420dbf05ca | [] | no_license | fqiang/psmg | 02d762cda9c03251d1d0878648e90a99aed0f271 | 474cd07a3e857e3880aec08dde77dca4830801dd | refs/heads/master | 2021-01-10T19:02:59.059533 | 2015-07-17T02:58:03 | 2015-07-17T02:58:03 | 41,818,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | h | /*
* SymValue.h
*
* Created on: 22 Mar 2014
* Author: s0965328
*/
#ifndef PVALUESYM_H_
#define PVALUESYM_H_
#include "PValue.h"
class PValueSym : public PValue {
public:
string value;
PValueSym(const string&);
PValueSym(const PValueSym& other);
virtual ~PValueSym();
virtual PValueSym* clone();
vir... | [
"f.qiang@gmail.com"
] | f.qiang@gmail.com |
0ee6f8c1718f44606d2b48f8d3037073ee88f84f | 4e971bd8f059f3fdb1cf29ec2f870cfb4e38021e | /Uppgift 3 - QuadTree/Projekt/Source/CommonUtilities/Line/Line.hpp | e864c75328f8aad0c827caca0961c3e2c7ce42a5 | [] | no_license | godofnanners/Spelorienterade-datastrukturer-och-algoritmer | b0a810ba4009049705bd4cca740943b6bb7558e2 | 618054d8a301c82896c364f720403cc84f91aa1b | refs/heads/master | 2022-12-29T03:04:15.430220 | 2020-10-21T00:05:53 | 2020-10-21T00:05:53 | 287,136,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,744 | hpp | #pragma once
#include "Vector/Vector2.h"
namespace CommonUtilities
{
template <class T>
class Line
{
public:
// Default constructor: there is no line, the normal is the zero vector.
Line();
// Copy constructor.
Line(const Line <T>& aLine);
// Constructor that takes two points that define the line, the d... | [
"casper.martensson@telia.com"
] | casper.martensson@telia.com |
bdc25bff4912ccea8ccba1cadcd78b4c9e7b2de2 | fe22a9e12dd6bf68e5f133f083dd32e6ae989597 | /SDL Animation/Event.cpp | 6e8d917e7882254705b52d5144b38445123beb5f | [
"MIT"
] | permissive | akshay-vv/SDL-Tutorials | de6c3269d983f69685e3012edf0e5f196b04b74f | 0768ef3c9104a7bc2905a79120b103caa72f86bf | refs/heads/master | 2022-12-30T14:14:31.403496 | 2020-09-23T17:30:11 | 2020-09-23T17:30:11 | 289,952,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,347 | cpp | #include "Event.h"
Event::Event() {
keyStates.insert({SDLK_UP, false});
keyStates.insert({SDLK_DOWN, false});
keyStates.insert({SDLK_LEFT, false});
keyStates.insert({SDLK_RIGHT, false});
}
Event::~Event() {
//Do nothing
}
void Event::OnEvent(SDL_Event* Event) {
switch (Event->type) {
... | [
"akshayvivekverma@gmail.com"
] | akshayvivekverma@gmail.com |
da2e51cbed7582161cd0b1c2850e644d3725ae0a | d4388e906098bb45885ad218f655c4c80a40ec21 | /src/toolkit/net/BaseSocket.cpp | b29deb3dca93e7b459c2842f3833848a3bb21375 | [
"MIT"
] | permissive | jbinkleyj/toolkit | 911ca3b10a1047da8ffde52904c39971e282e3b5 | 8d58e968047538ce83a7fe95fb3f0414875d2796 | refs/heads/master | 2020-05-16T12:01:57.540743 | 2019-04-14T21:34:48 | 2019-04-14T21:34:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include <toolkit/net/ipv4/TCPSocket.h>
#include <toolkit/net/ipv4/Endpoint.h>
namespace TOOLKIT_NS { namespace net
{
BaseSocket::~BaseSocket()
{
bsd::Socket::Shutdown(SHUT_RDWR);
}
ssize_t BaseSocket::Write(ConstBuffer data)
{
return bsd::Socket::Send(data.data(), data.size(), 0);
}
}}
| [
"vladimir.menshakov@gmail.com"
] | vladimir.menshakov@gmail.com |
c20bb8110790048f082bcbdbe67a7a5fc7793fba | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /avatar/src/model/QueryTimedResetOperateStatusResult.cc | d6026373b4746e8d520f52c27c19319bf505177e | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 2,311 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
04b0871df3de974c8fcc4a7074f8ab3b99d24582 | 3d72414df47fe6572b166af5c10b8f4c8f9d35d4 | /Minigin/FPSComponent.h | e1dfeeb516503ab48b436fce569b811aa39ae995 | [] | no_license | Shadania/Minigin-DigDug | cdf3d11dfcca417a75e118c1c0cc4fb040e15cf4 | 25e5ee8c72e5da14c8b6012579b343b1447a8e16 | refs/heads/master | 2020-04-28T01:47:21.718367 | 2019-06-13T14:24:17 | 2019-06-13T14:24:17 | 174,872,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | #pragma once
#include "BaseComponent.h"
#include "TextureComponents.h"
namespace dae
{
class FPSComponent final : public BaseComponent
{
public:
FPSComponent(const std::shared_ptr<Font> font, const Float4& color);
virtual void Initialize() override;
virtual void Update() override;
void SetColor(const Flo... | [
"sarah.druyts@gmail.com"
] | sarah.druyts@gmail.com |
0766fa1050c80d364934f905f7932d4947368c85 | 3a65ed8a0635c498feb66c571daba4448352a8ed | /modules/rt/include/motis/rt/update_constant_graph.h | 1c8606c9e5ca1c776e4496acdb149f173861e214 | [
"Apache-2.0",
"MIT"
] | permissive | julianharbarth/motis | e83e8bccd6b8c2025613d91dea715c0ec3055d5d | d5ded8b519a85809949f084ca7983a22180deb1a | refs/heads/master | 2022-07-29T04:40:42.429723 | 2020-05-17T11:49:15 | 2020-05-17T11:49:15 | 264,986,758 | 0 | 0 | MIT | 2020-05-18T16:06:00 | 2020-05-18T15:47:50 | null | UTF-8 | C++ | false | false | 2,333 | h | #pragma once
#include "motis/core/schedule/schedule.h"
namespace motis::rt {
inline void constant_graph_add_route_node(schedule& sched, int route_index,
station_node const* sn,
bool in_allowed, bool out_allowed) {
auto const route_... | [
"felix.guendling@gmail.com"
] | felix.guendling@gmail.com |
8eb91ab194dcab357a9a76b41776e37e377fa042 | 0e0a887164b1e5478261faf0ddd33c694f20bdde | /src/caffe/CTPN/ctpn_layers.hpp | 9c6684b89ae8faf1797d21c08774edb6ca034e08 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | xyt2008/frcnn | 86882aa0ffa376fa527006bdd32dc311161eeab8 | 32a559e881cceeba09a90ff45ad4aae1dabf92a1 | refs/heads/master | 2020-03-14T20:56:21.930791 | 2019-09-22T11:16:32 | 2019-09-22T11:16:32 | 131,785,765 | 0 | 0 | NOASSERTION | 2019-09-22T11:16:33 | 2018-05-02T02:10:55 | C++ | UTF-8 | C++ | false | false | 4,808 | hpp | #ifndef CAFFE_CTPN_LAYERS_HPP_
#define CAFFE_CTPN_LAYERS_HPP_
#include <string>
#include <utility>
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/layers/base_data_layer.hpp"
#include "caffe/layer.hpp"
#include "caffe/layers/loss_layer.hpp"
//#include "caffe/neuron_layers.hpp"
... | [
"fymkang@gmail.com"
] | fymkang@gmail.com |
0ba2250ec26863b26b081691e156d8bb0c18fd17 | bdda98f269400b13dfb277d52da4cb234fd4305c | /CVGCom_async/forms/Unit_Result_1.h | 4c19fb8c44e83d28d5dcb4a5e35e7b618c7e6e28 | [] | no_license | fangxuetian/sources_old | 75883b556c2428142e3323e676bea46a1191c775 | 7b1b0f585c688cb89bd4a23d46067f1dca2a17b2 | refs/heads/master | 2021-05-11T01:26:02.180353 | 2012-09-05T20:20:16 | 2012-09-05T20:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,439 | h | //===========================================================================-
#ifndef Unit_Result_1H
#define Unit_Result_1H
//===========================================================================-
#include <Classes.hpp>
#include <Controls.hpp>
#include <Grids.hpp>
#include <ComCtrls.hpp>
#include <ExtCtr... | [
"pm@pm.(none)"
] | pm@pm.(none) |
125aa9580c6b91baccdf14cb9b939630a1c5c6e9 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /sdk/lib/sys/cpp/file_descriptor.cc | 715c88a78f1d915c74873fd36f9d60ab580f5bdf | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 704 | cc | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/fdio/fd.h>
#include <lib/sys/cpp/file_descriptor.h>
#include <lib/zx/handle.h>
#include <zircon/processargs.h>
namespace sys {
fuchsia::sys... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
27c20abbc140cad67235bb308f4b47da6751ac87 | c181ce8b03960ee3bc3ae56680554ecc3a9a9bfc | /Linked List/Linked List/linkedList.h | 3a13fa983f1e8c4fffd284fc3c5be95e5fbb6764 | [
"MIT"
] | permissive | uhzair/Data-Structures-and-Algorithms | a975c08289b95fd06dddc632e9c75403382464c2 | 08ab359c0f15f79998e35391852973a78c9e68eb | refs/heads/master | 2020-03-09T14:11:52.835371 | 2019-02-02T12:57:08 | 2019-02-02T12:57:08 | 128,828,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | h | #include "node.h"
#ifndef _linkedList_H
#define _linkedList_H
template<class TYPE>
class linkedList {
public:
linkedList();
linkedList(const linkedList &);
bool isEmpty() const;
bool inList(TYPE) const;
void insertFirst(TYPE);
void insertLast(TYPE);
void insertBefore(TYPE, TYPE);
void insertAfter(TYPE, TYPE);
... | [
"hey@illicitr.us"
] | hey@illicitr.us |
add9d8623ba8a67850102008796590e09e58cb79 | b81c57e5fc621d425d0f34e685b6d566f1b908a9 | /include/feedForwardFunctions.hpp | 6f784176a9230e0087e06903254c2b2ea34dbf33 | [] | no_license | AaronMathankeri/project-basicNN | 69acf94d08475ce267cbf7ac44078a65020dda5d | 157ff5556a3c98950bd40fed83de8eca3b1a53c0 | refs/heads/master | 2021-06-15T18:03:45.440804 | 2017-03-21T13:07:05 | 2017-03-21T13:07:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | hpp | /**
* \file feedForwardFunctions.hpp
* \brief declare feed forward network functions
*
* Detailed description
*
*/
#ifndef FEEDFORWARDFUNCTIONS_H
#define FEEDFORWARDFUNCTIONS_H
#include <iostream>
#include "mkl.h"
#include "mlpParameters.hpp"
#include "networkAgnosticFunctions.hpp"
using namespace std;
//... | [
"aaron@quantifiedag.com"
] | aaron@quantifiedag.com |
ca96460389522ecf52ca4bc58ac7882383d37e46 | 94dbfcf94dd0a61d7cd197cf996602d5a2acdda7 | /weekly_contest/231/leetcode_1785_minimum-elements-to-add-to-form-a-given-sum.cpp | 618d2cc0914dc8757ba38c327a25e6c2f688f404 | [] | no_license | PengJi/Algorithms | 46ac90691cc20b0f769374ac3d848a26766965b1 | 6aa26240679bc209a6fd69580b9c7994cef51b54 | refs/heads/master | 2023-07-21T05:57:50.637703 | 2023-07-07T10:16:48 | 2023-07-09T10:17:10 | 243,935,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | /**
* 1785. 构成特定和需要添加的最少元素
* https://leetcode-cn.com/problems/minimum-elements-to-add-to-form-a-given-sum/
*/
class Solution {
public:
int minElements(vector<int>& nums, int limit, int goal) {
long cur_sum=0;
for(int i = 0; i < nums.size(); i++) {
cur_sum += nums[i];
}
... | [
"jipengpro@gmail.com"
] | jipengpro@gmail.com |
06af317d1e026577fa116d9ea88b332fdf437016 | 12e7bd84511b61bbde2288ae695ee64746d337a7 | /Stronger/746.使用最小花费爬楼梯.cpp | e71778f845c2241fb7d1b09aded2d5cc7fcb9d53 | [] | no_license | hellozmz/LeetCode | 97ec70e9c80e601a7cb8ed0efea9ceca30e6843f | 05295f388d5952a408d62ba34f6d4fde177f31c4 | refs/heads/master | 2023-05-11T10:47:26.792395 | 2023-04-29T05:27:55 | 2023-04-29T05:27:55 | 235,086,823 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | /*
* @lc app=leetcode.cn id=746 lang=cpp
*
* [746] 使用最小花费爬楼梯
*
* https://leetcode.cn/problems/min-cost-climbing-stairs/description/
*
* algorithms
* Easy (63.24%)
* Likes: 1025
* Dislikes: 0
* Total Accepted: 254.3K
* Total Submissions: 401.8K
* Testcase Example: '[10,15,20]'
*
* 给你一个整数数组 cost ,其中... | [
"407190054@qq.com"
] | 407190054@qq.com |
e0a85653a9a10f8f9d689f8a04ebfc1ae1c3a4a1 | fb188ae45fe8945ba757599b71e2e34c5d095d8c | /Trash/prueba_abstracta001/src/Proceso.cpp | e0525348acecf32a944cdccdafa49b1dfce3cc31 | [] | no_license | patrick03524/Algebra-Abstracta | f8726085ddcb4316d77bc1ac2ecd9c2f5c45de1c | bd92d3bf20234b87daa5c0c8fe808eed0673e1a7 | refs/heads/master | 2021-04-18T20:22:19.305662 | 2018-06-02T11:25:07 | 2018-06-02T11:25:07 | 126,630,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | #include "Proceso.h"
Proceso::Proceso(unsigned int n_cuadrados, unsigned int n_len_cuadrado, string mensaje1)
{
n=n_cuadrados;
n_len=n_len_cuadrado;
mensaje=mensaje1;
}
string Proceso::encriptacion()
{
string mensaje_encriptado1;
unsigned int cont=0;
for(int i = 0; i<n_len; i++){
for(int... | [
"patrick03524@hotmail.com"
] | patrick03524@hotmail.com |
f6cb00583613ba59ca273fc04efbcd344c107043 | 1e2908e99ff62132291883e07f55ba41813236cd | /DP_Frog.cpp | 5d5f211d3cf73554d661342afdf1b8ea6b1078ae | [] | no_license | dev625/dsacpp | f68b0850a7c22dc51c58512ecbb54df272f8bfa9 | 1de18d761a6a68eb5b9e8aa19b1a6659a6648ed6 | refs/heads/master | 2023-09-04T01:00:52.085101 | 2021-11-07T17:13:47 | 2021-11-07T17:13:47 | 281,089,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long int;
constexpr long long int MOD = 1e9 + 7;
#define pb push_back
#define ppb pob_back
#define pf push_front
#define ppf pop_front
#define fr first
#define sc second
#define vi vector<int>
#define pii pair<int, int>
void solve()
{
int n;
cin >> ... | [
"witdx514@gmail.com"
] | witdx514@gmail.com |
dd9669aab3af03f19e09e042e3501313488d2640 | f6814ecdd2f2ecd2dd1d08bf33ec86f50ace4c77 | /多线程顺序打印ABC.cpp | 980b8beb3e2a3635035ab8e9afecec09e23076a4 | [] | no_license | hp2362/multi-thread- | ea4bf320aad195b4c0d857b491e23bd0ceeb382e | 15fab89ffaf55c65eed878efa75a255a3b2f6664 | refs/heads/master | 2021-01-16T21:11:58.722779 | 2017-08-14T10:18:45 | 2017-08-14T10:18:45 | 100,220,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp |
#include<stdio.h>
#include<pthread.h>
void *secondFunc(void *);
void *thirdFunc(void *);
void *firstFunc(void *args)
{
pthread_t id2;
pthread_create(&id2, NULL, &secondFunc, NULL);
pthread_join(id2, NULL);
printf("C\n");
}
void *secondFunc(void *args)
{
pthread_t id3;
pthread_create(&id3, NULL,... | [
"964358093@qq.com"
] | 964358093@qq.com |
76c29ba0504a684f1f951c896930127990f3e627 | 5582ee978d276fa40669bcf2d0cabc1e93e71246 | /HelloWorldBorland/main.cpp | 724e489aaaf01cb590274c33fcd83c4465f2ca22 | [] | no_license | amovsesy/trainings | 9e42c2065deeab6659e9f1b46054b5001a7dbb33 | 8e08ddfb646f87ed605897c30568ce80ea3896eb | refs/heads/master | 2020-04-03T17:39:21.155599 | 2018-10-30T21:46:19 | 2018-10-30T21:46:19 | 155,454,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream> // required for 'cout'
#include <conio.h> // required for 'getch'
using namespace std; // activates the standard namespace
int main()
{
cout << "Hello World!" << endl;
cout << endl << "Press any key" << endl;
getch();
return 0;
}
| [
"noreply@github.com"
] | amovsesy.noreply@github.com |
f765701410bf67d0526b1f077fba5865683e4af9 | 4e51cfcb0621b88ea8620f05f49bedae2a2c9978 | /Algorithms/0. temp.cpp | 5157cca3c7056cd38da454ecf3ffe2a6205b775e | [] | no_license | KaiqiaoTian/LeetCode_practice | d5d43525269a05a0fc9a367bc4dcd3d15dcf3c74 | a300d0380a01d0b48c4074718d30056e2b2a6c20 | refs/heads/master | 2023-05-28T11:17:18.473716 | 2021-06-11T19:55:52 | 2021-06-11T19:55:52 | 375,115,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | /*Description
*/
class Solution {
public:
vector<int> runningSum(vector<int>& nums) {
vector<int> result = {nums[0]};
for(int i = 1; i < nums.size(); i++){
result.push_back(result.back()+nums[i]);
}
return result;
}
};
| [
"kaiqiaotian@gmail.com"
] | kaiqiaotian@gmail.com |
c0210268585f22b512d48b7f1ff6a502407367f6 | 60a532f91b8e51b7e504c0422f47708772b5c205 | /algorithm/demo/object_server.cpp | e4ec64ba2e425cce4f9a2b87a84b521f6537f890 | [] | no_license | wujcheng/solrex | eca0e62b8d476e01b98d97ac312a0704e2566800 | 1260039d373dab2147dd27ac74ca49fd534f83e5 | refs/heads/master | 2021-01-18T16:00:33.803400 | 2012-01-18T07:21:26 | 2012-01-18T07:21:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,468 | cpp | /* COMPILE: g++ objserver.cpp -o objserver -lpthread */
#include <queue>
#include <pthread.h>
#include <unistd.h>
using namespace std;
#define MAX_OBJECTS 5 /* number of objects */
#define MAX_THREADS 10 /* number of threads */
#define TID0_TID 0 /* thread_per_obj thread id... | [
"solrex@b8839100-cf4c-0410-a34d-a92c6c0b7f09"
] | solrex@b8839100-cf4c-0410-a34d-a92c6c0b7f09 |
3a033a48cb739021bd94f037f7bc1f84dc61d8cd | 0949d5f41fa9c9eb50610fb424ce9a165a9bee88 | /Data Structure/twoStack.cpp | add451dbbfb6bf91f9d1469696aa0c2658b3f4d0 | [] | no_license | mdsagor07/Programming-Tools | f560120ffa6f57f4290803da1912a414af89da7d | 2a6f34072ec289aad7a1c08f9c1cd5f5066f23b1 | refs/heads/main | 2023-04-14T03:43:52.925464 | 2021-04-23T04:43:36 | 2021-04-23T04:43:36 | 321,398,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
class twoStacks {
int* arr;
int size;
int top1, top2;
public:
twoStacks(int n) // constructor
{
size = n;
arr = new int[n];
top1 = -1;
top2 = size;
}
// Method to push an element x to stack1
void push1(int x)
{
// There is at least one ... | [
"sagor.cse.just@gmail.com"
] | sagor.cse.just@gmail.com |
be2e71aef83b88e6334f47429be746ed6c49fa60 | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/game/ai/C_AIMessage_Death.h | a4564c27ee9e426b94c945866dc7266e8e7dcab3 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 407 | h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <game/ai/C_AIMessage.h>
namespace game
{
namespace ai
{
/** game::ai::C_AIMessage_Death (VTable=0x01E4D720) */
class C_AIMessage_Death : public C_AIMessage
{
public:
virtual void vfn_0001_1A4039D8() = 0;
virtual void vfn_0002_1A4039D8() ... | [
"hopk1nz@gmail.com"
] | hopk1nz@gmail.com |
a5f13b7b55a3e5fd367e7582f3424ebfd543dd93 | 4d108f357f7c3da833911293a5bcda4ebba66526 | /chrome/browser/ui/ash/fake_tablet_mode_controller.cc | 61a34145538abbc9343891b3d3dc5980ad226d58 | [
"BSD-3-Clause"
] | permissive | ycbxklk/chromium | 1b57c52a441d38814feb2b5b040d7058b51db974 | dbeb94d7208e902c90291ee27e07a636f9d72865 | refs/heads/master | 2023-02-28T05:04:33.740036 | 2019-07-10T10:44:35 | 2019-07-10T10:44:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/ash/fake_tablet_mode_controller.h"
#include <utility>
FakeTabletModeController::FakeTabletModeController() = default;
FakeT... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3f1ae3eba1c9ef9a0bf8111c1dffb3ff7544382e | 33b08b3036fe3c5921a5b0068eb09b88286e73f1 | /coursework/DSU.h | e27321c5761b1c1865986dba2d2b8f64362078e2 | [] | no_license | rex-gentium/graph-theory | f072bd4ccea438b4046e3028e4466bcf730cf232 | 65ff0e58fdef1a0023769205877d08bb64cf4050 | refs/heads/master | 2021-01-09T06:50:51.446696 | 2017-04-15T14:56:29 | 2017-04-15T14:56:29 | 81,129,457 | 1 | 0 | null | 2017-04-15T11:47:01 | 2017-02-06T20:23:30 | C++ | UTF-8 | C++ | false | false | 2,074 | h | #pragma once
#include <vector>
/*
Система непересекающихся множеств.
Не является полноценной реализацией: возможно только создать систему из N
пронумерованных элементов, каждый из которых образует множество. Добавить
новое множество нельзя.
*/
class DSU {
public:
/* создаёт систему из setCount непересекающихся м... | [
"budowniczy.zamyslow@gmail.com"
] | budowniczy.zamyslow@gmail.com |
de08a559cfda9b5c00b94c083c258fb8f2ed5f21 | 1bd8d99894ba1d789031cd75cdfea81b5d59e1f6 | /src/general/tick.h | 2252e0153ec30ac3a0697af0ac19605133679cb7 | [
"MIT"
] | permissive | RJJain/VANS | ab7ef169680685a9d32f3f6c682c7dea0f6415d9 | 1eb6f3873125e0b24aa66d3634ade350c4f5f13f | refs/heads/master | 2023-02-09T03:12:04.429169 | 2020-12-31T06:31:06 | 2020-12-31T06:31:06 | 321,661,640 | 0 | 0 | MIT | 2020-12-31T06:31:07 | 2020-12-15T12:30:14 | null | UTF-8 | C++ | false | false | 246 | h |
#ifndef VANS_TICK_H
#define VANS_TICK_H
#include "utils.h"
namespace vans
{
class tick_able
{
public:
/* Use a global clock signal from outside */
virtual void tick(clk_t curr_clk) = 0;
};
} // namespace vans
#endif // VANS_TICK_H
| [
"zxwang42@gmail.com"
] | zxwang42@gmail.com |
28be2175b62194b9395bcea3047f812193a89011 | e778be8ebc60a2ec915698280f17fafffe55c5fb | /platforms/imx8mm/include/nav_os/transport/shm/segment_factory.h | f8da18e9e424eeaa57fef59e3289ac7037482970 | [] | no_license | 3JLinux/xag_xhome | 30b933e11b40ff3c72c810e49a857caaf49a7247 | c2b00f449354cf12b72c8c87246a3b4493b751d8 | refs/heads/master | 2023-06-14T08:05:29.771649 | 2021-07-02T02:00:42 | 2021-07-02T02:00:42 | 382,225,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | h | /******************************************************************************
* Copyright 2018 The Apollo 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
... | [
"421721486@qq.com"
] | 421721486@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.