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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2b13a37dee353cd7fbeec79d4b9e80f10a74dd87 | 29800b8eb0f5ed053b0620184f1e1b40540db76a | /P-HeChangTuan/main.cc | ca0c1e493b073c2742b0f8f0c7b06059cd730e19 | [] | no_license | coolsuperman/Practice-Cpp | de332c1ae5e5d355536171adbd3efe7a415e920b | f041487aec9a8aabe6d5352e00a7ddf4ee90f8b1 | refs/heads/master | 2020-05-03T13:51:08.735231 | 2019-09-13T12:23:16 | 2019-09-13T12:23:16 | 178,662,726 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cc | #include<iostream>
#include<vector>
using namespace std;
int main(){
int num;
while(cin>>num){
vector<int> stus(num);
int k,d;
for(int i=0;i<num;i++){
cin>>stus[i];
}
cin>>k>>d;
vector<vector<long> > dp_max(num+1,vector<long>(k+1,0));
vector<vector<long> > dp_min(num+1,vector<lo... | [
"846069147@qq.com"
] | 846069147@qq.com |
1122a60778c97a726824cd7d9f5a4eb668422151 | 805d9859e85321e6b0a87b3f6fd4b2bf765bc8ee | /Data Structures and Algorithms/Data Structures/inversion_count.cpp | 0c0e92bb7e5af21092aef1e6e403b16d6f48d304 | [] | no_license | aaka2409/HacktoberFest2020 | eb6b312555b046b6382cee106b7869d5a36cfe9d | f348e60c2c58c99c20207094b8351aa15b319285 | refs/heads/master | 2023-08-26T01:19:49.058021 | 2021-10-25T09:48:24 | 2021-10-25T09:48:24 | 420,963,776 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | #include<iostream>
using namespace std;
int merg(int a[], int s, int e){
int mid = (s+e)/2;
int temp[1000];
int cnt = 0;
int i = s; int j = mid+1; int k = s;
while(i<=mid && j<=e){
if(a[i]<=a[j]){
temp[k++] = a[i++];
}
else{
temp[k++] = a[j++];
cnt += mid - i + 1;
}
}
while(i... | [
"noreply@github.com"
] | aaka2409.noreply@github.com |
12228d76b06073c3d49bf5b892305a8ec446c7a0 | 4baa62e54b5ad336d989cb0554ae422c591f73af | /1100/1149.cpp | b76ebfd1973fc1fd8201190c824583c45e8b5ba1 | [] | no_license | shikgom2/Codeup | 219283fc487c2da781ba562bda4fcba40cfe7c46 | 111243633fbec7116e52e609b01415d6d2cbba99 | refs/heads/master | 2020-06-13T06:56:56.586964 | 2019-07-09T07:50:19 | 2019-07-09T07:50:19 | 194,578,627 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b);
printf("%d", a > b ? a : b);
return 0;
}
| [
"noreply@github.com"
] | shikgom2.noreply@github.com |
5591e721b54944eb328dcb582d5242d5e0229fe9 | 85cff448cf544746dd275d6e5afc924d34b2c177 | /app/dtkCreator/dtkCreatorMainWindow.h | 736dba4f5968cf2d506d986ea3c6cc7431d3c49f | [] | no_license | NicolasSchnitzler/dtk | ab8eb2ee37121b86afb38ee07683f3be59800395 | a85dabef4f89e08d0af2de8cae5373aba019f143 | refs/heads/master | 2021-01-12T22:08:24.278316 | 2016-01-27T08:27:12 | 2016-01-27T08:27:12 | 37,517,231 | 0 | 0 | null | 2015-06-16T08:17:25 | 2015-06-16T08:17:25 | null | UTF-8 | C++ | false | false | 1,412 | h | /* dtkCreatorMainWindow.h ---
*
* Author: Julien Wintz
* Copyright (C) 2008 - Julien Wintz, Inria.
* Created: Mon Aug 3 17:38:47 2009 (+0200)
* Version: $Id$
* Last-Updated: Tue Jun 25 09:44:56 2013 (+0200)
* By: Selim Kraria
* Update #: 70
*/
/* Commentary:
*
*/
/* Change log:
*
*/
... | [
"Nicolas.Niclausse@inria.fr"
] | Nicolas.Niclausse@inria.fr |
f6f1e115564f38ea021cb8c69fc32ca7911c5660 | 1e3e058b6dc7d5f337db4f42b280eb055086ab3c | /SW_Test/Prescription.h | 157bf50a44dba78ff642796f6a9d8e6df274a79b | [] | no_license | jg8643/Hospital-manager | 00d4bb11b62e66dd4a07fb3581066ed9cfa19f42 | f53125ca814491d61e0fc0b96291ae2379d58f35 | refs/heads/master | 2020-05-25T15:31:29.666962 | 2019-05-27T11:47:42 | 2019-05-27T11:47:42 | 187,868,891 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 344 | h | #pragma once
#include "SW_TestDlg.h"
#include "Setting.h"
#include "predata.h"
class Prescription
{
public:
Prescription(Setting *);
~Prescription();
Setting *set;
CSWTestDlg *myswdlg;
int tcount; // 진료 완료 환자 수
predata *pre_data[100]; // 진료 완료 환자
void CreatePre(CString *, CString (*str)[2]);
};
| [
"wjdrb8643@naver.com"
] | wjdrb8643@naver.com |
d90a82bce103621e861e70f00bfcd12fd9d8192f | a3f206af3878e2fff0437863a5c0d2d800295814 | /solutions/prob11053/solution_c++.cc | ba21b35b75cf0bf1eab0ba8d9b6c0d22ee8bf7b3 | [] | no_license | soarhigh03/baekjoon-solutions | 0cdcec30825a00074a982b380ae2f2ddee5e3f54 | 8161cdda184e4e354be4eafe2b4fa2bd48635fa4 | refs/heads/master | 2023-01-04T10:42:32.882285 | 2020-10-24T02:20:48 | 2020-10-24T02:20:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cc | /*
* Baekjoon Online Judge #11053
* https://www.acmicpc.net/problem/11053
*/
#include <bits/stdc++.h>
using namespace std;
int N, A[1001], dp[1001];
int lis() {
memset(dp, 0, sizeof dp);
dp[0] = 1;
for (int i = 1; i < N; ++i) {
dp[i] = 1;
for (int j = 0; j < i; ++j)
if (A[... | [
"loop.infinitely@gmail.com"
] | loop.infinitely@gmail.com |
d57f5b309a05886f32efcbbe0fd87b4799d01976 | 66f49f3ac2e509339521fa6e8b63d7ba281cfacb | /AlgorithmicEngagement/2009/Cakes/Cakes.cpp | b83c0b4e487839933b52a6bf5ca06e42d42b3f1b | [] | no_license | catupper/POIsolutions | c6a691ec841603f1a8f55d28d8da52f696aab974 | 15532c62307d8384865de24b9f39de1406b28948 | refs/heads/master | 2020-12-30T11:15:19.646025 | 2015-03-13T11:31:47 | 2015-03-13T11:31:47 | 18,140,795 | 4 | 2 | null | 2015-03-13T11:31:47 | 2014-03-26T14:24:59 | C++ | UTF-8 | C++ | false | false | 1,199 | cpp | #include<iostream>
#include<algorithm>
#include<map>
#include<set>
#include<vector>
#include<cstdio>
using namespace std;
typedef pair<int, int> P;
int n, m;
long long res;
int p[108000];
int a[108000];
int cnt[108000];
int deg[108000];
vector<int> edge[108000];
vector<P> edges;
bool cmp(const int &a, const int &b){
... | [
"nekarugo628@gmail.com"
] | nekarugo628@gmail.com |
3f7b44e239ed6fc69bf29006617f950f84f8115f | 7e11872c2c5cb8ce78a0492c935f98fd48cd5844 | /Perg/src/Perg/LayerStack.cpp | efe8a4c19592f82d09a89cc967a0342860b74c78 | [
"Apache-2.0"
] | permissive | oktembaris77/Perg | c775043ecf07e9f1e1f6714fc5b61f47530521cd | ebe15fe1ee6e453514c3351ce951ce152e1a292e | refs/heads/main | 2023-01-28T15:29:41.406383 | 2020-12-10T16:00:03 | 2020-12-10T16:00:03 | 315,937,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cpp | #include "pepch.h"
#include "LayerStack.h"
namespace Perg {
LayerStack::LayerStack()
{
}
LayerStack::~LayerStack()
{
for (Layer* layer : m_Layers)
delete layer;
}
void LayerStack::PushLayer(Layer* layer)
{
m_Layers.emplace(m_Layers.begin() + m_LayerInsertIndex, layer);
m_LayerInsertIndex++;
}
vo... | [
"oktembaris77@gmail.com"
] | oktembaris77@gmail.com |
cd1aa560dc5c03b43b29faab90a4baf50682b96a | 104a6ad30a0fd936ff0bd72e3cf963e4b934fdc5 | /GameEngineX/Source/PlayerComponents/PlayerComponent.cpp | ac7f8fab84da5215aa55306f162b86220b18e04d | [
"MIT"
] | permissive | GeorgeHanna/BarebonesGameEngine | 8c3cb06695e645e47f966dde61e478c37f11a9af | 39a122832a4b050fff117114d1ba37bbd72edd42 | refs/heads/master | 2022-12-09T06:35:15.834901 | 2020-09-16T10:39:28 | 2020-09-16T10:39:28 | 295,979,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | cpp | //
// PlayerComponent.cpp
// GameEngineX
//
// Created by George Hanna on 18/07/16.
// Copyright © 2016 George Hanna. All rights reserved.
//
#include "PlayerComponent.hpp"
void PlayerComponent::Initialize()
{
_playerphysics = std::static_pointer_cast<PhysicsBody2DCircleComponent>(_parent->_components[Physics... | [
"george.hanna8@icloud.com"
] | george.hanna8@icloud.com |
a583ba8c88f60d470042ea42a8506a824e267c57 | 96b621c20c50bff6f87b1d5cf6634c49ace2990a | /src/bind.h | 7a025a9cae024315d91ad434df4aca8e63f4a39f | [
"MIT"
] | permissive | Forestryks/libsbox | a937831b349bd0e2d0adbf4cdf1b2c3201bae406 | f7ee6264a628b4e16c8782a43fe55c91f072058d | refs/heads/master | 2021-08-07T14:02:25.587446 | 2020-05-21T12:22:38 | 2020-05-21T12:22:38 | 180,595,702 | 3 | 4 | MIT | 2019-12-10T09:51:52 | 2019-04-10T14:09:32 | C++ | UTF-8 | C++ | false | false | 923 | h | /*
* Copyright (c) 2019 Andrei Odintsov <forestryks1@gmail.com>
*/
#ifndef LIBSBOX_BIND_H_
#define LIBSBOX_BIND_H_
#include "task_data.h"
#include <filesystem>
#include <vector>
namespace fs = std::filesystem;
class Bind {
public:
enum Rules {
RW = 1,
DEV = 2,
NOEXEC = 4,
SUID... | [
"forestryks1@gmail.com"
] | forestryks1@gmail.com |
f6746acf83fca05a3242aac9dc3552d00d5d0354 | de8c2e562e8d0ebd3e6d7469f41741c06d4c60bf | /code/Common/GSPSDK-V3/src/TestwxWidget/MainApp.cpp | 40593f3c4148cf8cfef87a3d5ff10e5e612550c3 | [] | no_license | dongdong-2009/Bull | c95da575597414e85b161ac1397f5b12d6df3bb2 | ab10bef10d3422d37c36475c1b0a0fd2ab360004 | refs/heads/master | 2021-05-27T11:30:20.586457 | 2014-06-06T10:32:34 | 2014-06-06T10:32:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,424 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: MainApp.cpp
// Author: XX
// Created: XX/XX/XX
// Copyright: XX
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementat... | [
"7922375@qq.com"
] | 7922375@qq.com |
f6759087a5452aaeda62b04bce5d0ab93eb75e73 | e7594dd55dcbf2e54cc14491e554611fb3f96fec | /practica/practica_08/tp/ej06/code/sumarPotenciaHasta.cpp | 73b3037a264e09b73209016bc584748d3508d8ce | [] | no_license | NicoKc/algo1 | 5b66bdb8009752cf5ba16c84a1812ae8de767083 | 57a34a225d299e1d7eb4e4d457c0740f35b04242 | refs/heads/master | 2022-11-29T23:26:57.334479 | 2020-08-17T16:18:13 | 2020-08-17T16:18:13 | 256,615,834 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | int sumarPotenciaHasta(int n) {
int res = 0; //1
int i = 1; //1
while(i < n) { //1 + n/2 * (
res = res + i; //2
i = i * 2; //2
}
return res;
} // = 3 + n/2 *(4) = 3 + 2n | [
"nicolaskinaschuk@gmail.com"
] | nicolaskinaschuk@gmail.com |
a01b2a409b5024d632381cad703779756b586f06 | 094de465233cc34e82d02df5e4c57261deec8b68 | /src/broker.cpp | 292a82f039d08dd9f99138571917a30853218e5d | [] | no_license | davidkellis/stocktrader_cpp | 7f1a047adb45f7463c915417b017edd7ea0f2f56 | e30cd90c5fedf0066a6236d888cba7021aa71256 | refs/heads/master | 2016-08-05T08:09:27.661115 | 2009-10-02T16:24:03 | 2009-10-02T16:24:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cpp |
#include "broker.h"
// This has to go here because C++ considers it a circular dependency problem if implemented in the class definition.
double Account::value(ULL timestamp) {
double stock_value = 0;
map<string,int>::iterator it;
for(it = portfolio.begin(); it != portfolio.end(); it++) {
// stock_value ... | [
"davidkellis@gmail.com"
] | davidkellis@gmail.com |
ba5a5e692233f75da41fe10411bebf263a0f4033 | 98b345594e6fa0ad9910bc0c20020827bbb62c53 | /re110_1/processor18/80/phi | c680971ddc58b03401b8d9e45e55efc6a088ec22 | [] | no_license | carsumptive/coe-of2 | e9027de48e42546ca4df1c104dcc8d04725954f2 | fc3e0426696f42fbbbdce7c027df9ee8ced4ccd0 | refs/heads/master | 2023-04-04T06:09:23.093717 | 2021-04-06T06:47:14 | 2021-04-06T06:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,713 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseguy15"
] | chaseguy15 | |
54e65bd15d6cd6d142e6ad48fefac8236ed8a14c | 27db000c97e2079fa7acfcf3b41a32e2b3c9ffe9 | /solvers/geneticalgorithm.h | 6bb199cf8359b03ab6eca02237446e7993a4a916 | [
"MIT"
] | permissive | tingyingwu2010/heurisko | d9ee68e3052136c31b6fff2a6708ed88ff236b2a | ff5d3e26fa53a3ca8b3fbf3a88df27eecaf20fb5 | refs/heads/master | 2022-11-05T19:26:41.379184 | 2020-06-24T14:00:36 | 2020-06-24T14:00:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,799 | h | #ifndef GENETICALGORITHM_H
#define GENETICALGORITHM_H
#include "../entities/problem.h"
#include "globalsolver.h"
#include <iostream>
#include <memory>
enum CrossoverType { UNIFORM, ONE_POINT, TWO_POINT, SIMULATED_BINARY };
enum SelectionType { FITNESS_PROPORTIONATE, TOURNAMENT };
enum MutationType { RANDOM_MUTATION, ... | [
"williantessarolunardi@gmail.com"
] | williantessarolunardi@gmail.com |
c9ab9ee7a82104ff07a85994a9e33f956e66e5bf | 7c7ca9efe5869a805a3c5238425be185758a71ce | /marsksim/boost/atomic/detail/ops_gcc_x86.hpp | fc50666a8ebda9bb9deb45ed45d0670b1e23720d | [] | no_license | cansou/MyCustomMars | f332e6a1332eed9184838200d21cd36f5b57d3c9 | fb62f268a1913a70c39df329ef39df6034baac60 | refs/heads/master | 2022-10-20T18:53:22.220235 | 2020-06-12T08:46:25 | 2020-06-12T08:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,818 | hpp | /*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Copyright (c) 2009 Helge Bahmann
* Copyright (c) 2012 Tim Blechmann
* Copyright (c) 2014 Andrey Semashev
*/
/*!
* \file atomic/detail/ops_gcc_x86.hpp... | [
""
] | |
1e4d029d0ca2e313b7c46dd0c199f5c9e6d44ee2 | 80a0035888aebec883c76be5c45129ebd4b5cf77 | /maaaaaaaze/main.cpp | 24cecb290bb61128f2b47f00283007f7bea3db0e | [] | no_license | seoyechan/back16985 | 938e01e4704a1b8f066daaa2e83b1e24efd9a6e7 | 96d512ecc94624bd0fc6f13de7cb0421e775ca51 | refs/heads/master | 2022-04-24T19:06:12.633329 | 2020-04-17T05:29:48 | 2020-04-17T05:29:48 | 256,409,698 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,665 | cpp | #include <iostream>
#include <algorithm>
#include <queue>
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:4996)
using namespace std;
typedef struct qube{
int arr[4][5][5];
};
typedef struct pos{
int layer, x, y, count;
};
qube filed[5];
int select_arr[5];
int nRet;
int nx[] = { 0, 1, 0, -1 };
int ny[] =... | [
"seoyechan@naver.com"
] | seoyechan@naver.com |
150d57b51918909828a491090061a2e0133e1d43 | c851236c2a3f08f99a1760043080b0a664cf3d92 | /mergesortforalinkedlist.cpp | c184acf8228bf69f2601ed2dc0af3231d3767aeb | [] | no_license | Anubhav12345678/competitive-programming | 121ba61645f1edc329edb41515e951b9e510958f | 702cd59a159eafacabc705b218989349572421f9 | refs/heads/master | 2023-01-20T08:12:54.008789 | 2020-11-18T10:23:42 | 2020-11-18T10:23:42 | 313,863,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
//merge sort of a single link list
// typedef struct node* nptr
struct node
{
int data;
struct node* next;
};
struct node* SortedMerge(struct node* a, struct node* b)
{
struct node* result = NULL;
/* Base cases */
if (a == NULL... | [
"anubhavgupta408@gmail.com"
] | anubhavgupta408@gmail.com |
d139d7284335992aad90a464d86a0a078ca8f95c | 59b6d5314fe3e866e7f6d5267ea8dba40e4bea41 | /tests/Unit/SharedLibrary/shared_library2.cpp | 2e58ca0ae67b4c4ce41886f7b9636ec0e189f4f3 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | scchan/hcc | 5534d4fe896b8a5dd3fc3272259af8ac959a588d | 33e60e8635c58e772d2aa51d57b853f2bc1e1e5d | refs/heads/master | 2021-01-19T15:47:55.209519 | 2016-07-15T16:48:56 | 2016-07-15T16:48:56 | 54,526,106 | 1 | 0 | null | 2016-11-25T21:06:43 | 2016-03-23T02:55:00 | C++ | UTF-8 | C++ | false | false | 1,975 | cpp | // XFAIL: Linux
// RUN: %hc -fPIC -Wl,-Bsymbolic -shared -DSHARED_LIBRARY_1 %s -o %T/libtest2_foo.so
// RUN: %hc -fPIC -Wl,-Bsymbolic -shared -DSHARED_LIBRARY_2 %s -o %T/libtest2_bar.so
// RUN: %clang -std=c++11 %s -o %t.out -ldl && LD_LIBRARY_PATH=%T %t.out
// kernels built as multiple shared libraries
// loaded dyna... | [
"jack@multicorewareinc.com"
] | jack@multicorewareinc.com |
1570965bb5f87c06e11962b42c5e0adc149a7067 | dda0a106fea97cfbcfaf82bd77eaa4056a62b2df | /吉田学園情報ビジネス専門学校 早川樹綺也/00_制作ゲーム/02_COMMANDKNIGHT/00_プロジェクト/loadfilefunction.h | 30bfa51159c134b0dd224f2476b0918d7a904600 | [] | no_license | JukiyaHayakawa-1225/Yoshidagakuen_HayakawaJukiya | 1b9c9a25fb3b1e707a61a27db84df0eca876c484 | 8d3f88fb7cd13f2a57b55e2eda782a8d93737a3f | refs/heads/master | 2020-08-14T15:05:41.388077 | 2019-10-15T02:37:10 | 2019-10-15T02:37:10 | 187,962,297 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,602 | h | //=============================================================================
//
// ファイルを読み込む際の関数[loadfilefunction.h]
// Auther:Jukiya Hayakawa
//
//=============================================================================
#ifndef _LOADFILEFUNCTION_H_
#define _LOADFILEFUNCTION_H_
//******************************... | [
"jb2017029@stu.yoshida-g.ac.jp"
] | jb2017029@stu.yoshida-g.ac.jp |
d8a1f0b67b2419e94697ca635a1c837449908104 | 9b4f4ad42b82800c65f12ae507d2eece02935ff6 | /src/Sync/ThreadW_CPP.cpp | 33d62c3bfb93fb53ccee4502b12339679f9bfffd | [] | no_license | github188/SClass | f5ef01247a8bcf98d64c54ee383cad901adf9630 | ca1b7efa6181f78d6f01a6129c81f0a9dd80770b | refs/heads/main | 2023-07-03T01:25:53.067293 | 2021-08-06T18:19:22 | 2021-08-06T18:19:22 | 393,572,232 | 0 | 1 | null | 2021-08-07T03:57:17 | 2021-08-07T03:57:16 | null | UTF-8 | C++ | false | false | 748 | cpp | #include "Stdafx.h"
#include "MyMemory.h"
#include <windows.h>
#include <intrin.h>
#if defined(CPU_X86_32) || defined(CPU_X86_64)
extern "C" void Thread_NanoSleep(Int64 clk)
{
UInt64 endTime = __rdtsc() + clk;
while (true)
{
YieldProcessor();
YieldProcessor();
YieldProcessor();
YieldProcessor(... | [
"sswroom@yahoo.com"
] | sswroom@yahoo.com |
2fb94f2628b186856cd706cb83c50685500d7d5f | 39642ce6ce555dd9f29680141ceefd9383089baf | /src/count_and_say.h | 95e40d801a8395bd36c18881511c6e108056e3d6 | [] | no_license | windie/leetcode | a6003a3e17706bbf5afd20f181673f8ea290f9f6 | 8c86190e98ebfaa7948648b9a677b593699e88a0 | refs/heads/master | 2021-01-22T09:58:24.202640 | 2015-05-11T03:13:29 | 2015-05-11T03:13:29 | 13,387,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | h | class Solution {
public:
string countAndSay(int n) {
vector<string> f(n);
if(n==0){
return "";
}
f[0] = "1";
for(int i = 1; i<n; i++){
string res="";
int ch = f[i-1][0];
int cnt = 1;
for(int j = 1; j < f[i-1].size();... | [
"linxiaoyan18@gmail.com"
] | linxiaoyan18@gmail.com |
83424cf47742234985e7f52480d12421e1b9bb72 | 9039a8155241712d7a69402d3d9e8d85d19e562a | /lib/include/recti/recti.hpp | 7ede1f59af2048deea6ae6b3329af04eea0dbb91 | [
"MIT"
] | permissive | blockspacer/physdes | fb3558f20c6823659d22c315ce3a487cf21e0d4a | f41e24e8c885940f05d6ebad13d40549041dfb32 | refs/heads/master | 2022-09-25T23:36:53.367601 | 2020-06-02T12:40:08 | 2020-06-02T12:40:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,644 | hpp | #pragma once
// #include <boost/operators.hpp>
#include "vector2.hpp"
#include <boost/operators.hpp>
#include <cassert>
#include <tuple> // import std::tie()
namespace recti
{
/**
* @brief 2D point
*
* @tparam T1
* @tparam T2
*/
template <typename T1, typename T2 = T1>
class point
{
protected:
T1 _x; //!<... | [
"luk036@gmail.com"
] | luk036@gmail.com |
c8a6f0b39210672d98b64ec50336a1210d69f0f1 | ec42c36d8c5ff4c6c7590d954dd46630de85901b | /2019/241 NWEN/Ass/NWEN241_A3/databaseCollection/t7test.cc | d20dc196ba620fe2c9bf64dc0e28274b2168c524 | [] | no_license | eisendaniel/uni | 08c770c56638ee40b429eba3c0dab8363bed1934 | aba7b1d60275d990e9cfa63e2ea61473a9079d84 | refs/heads/master | 2021-11-13T13:29:23.307458 | 2021-11-08T19:38:06 | 2021-11-08T19:38:06 | 248,628,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,557 | cc | /**
* t7test.cc
* Sample test program for Task 7
* The test program assumes that you have already implemented the show() and add() functions.
*
* To compile with your implementation:
* g++ t7test.cc dbms.cc -o t7test
*
* If successful, executable file t7test should have been
* created.
*/
#include <iostream>... | [
"danieleisen99@gmail.com"
] | danieleisen99@gmail.com |
c86e639c64ae48506a43f3315a913e1254a068a2 | b9418eaf0d9c4760b139afc7a683f5d2dc98e3b2 | /src/GUI/selection_list_item.cpp | fe535d32b8f3c3eb41e147ff2e4529748a36fe1d | [] | no_license | heathharrelson/PerfTrack | 42cd538f287040d18cf177337aeef8b13bc21168 | 62e7ef947cb154f3f0068db9bc940554ecf01553 | refs/heads/master | 2020-04-16T11:45:31.002789 | 2013-08-16T19:03:25 | 2013-08-16T19:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,309 | cpp | // selection_list_item.cpp
// John May, 28 October 2004
/*****************************************************************
* PerfTrack Version 1.0 (September 2005)
*
* For information on PerfTrack, please contact John May
* (johnmay@llnl.gov) or Karen Karavanic (karavan@cs.pdx.edu).
*
* See COPYRIGHT AND LICENSE inf... | [
"crzysdrs@gmail.com"
] | crzysdrs@gmail.com |
f0ead38d6de7328efee518f9161954ec1723dd76 | cc0f632f56c572bd4f50c141f048b0bc7fad4055 | /UVA/10491.cpp | 30541201198be976346561d32bb873ffcf7f1da0 | [] | no_license | AbuHorairaTarif/UvaProject | 78517e585c668a83b99866be19b84a0a120bc617 | b0688f97a7226bdd692c9ceb29e7b0c406b8a15a | refs/heads/master | 2021-05-04T08:19:46.607485 | 2016-11-11T14:26:23 | 2016-11-11T14:26:23 | 70,333,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | #include <cstdio>
int main()
{
double a,b,c;
while(scanf("%lf%lf%lf",&a,&b,&c)==3)
printf("%.5lf\n",(a*b+b*b-b)/(a+b)/(a+b-c-1));
return 0;
}
| [
"horaira_cse13@yahoo.com"
] | horaira_cse13@yahoo.com |
c615e16512c3c34e63a150c2c23be9b102b7afb5 | 283b945850fdcc78977995451d51c2c0cea63ffa | /include/network/utils.hh | 5757d387435ace8a69e91ba7503a0164d75e05d5 | [
"BSD-2-Clause"
] | permissive | adegroote/hyper | fafae29db75afd9293c258b174f3c3865bbef643 | 11b442f4d4a6a8098723652d3711ebd8e8dccf45 | refs/heads/master | 2016-09-05T12:08:58.591421 | 2013-11-19T15:17:22 | 2013-11-19T15:17:22 | 4,157,374 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 571 | hh | #ifndef _HYPER_NETWORK_UTILS_HH_
#define _HYPER_NETWORK_UTILS_HH_
#include <boost/mpl/assert.hpp>
#include <boost/mpl/reverse_fold.hpp>
#include <boost/mpl/transform.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/tuple/tuple.hpp>
#include <boost/type_traits/is_same.hpp>
namespace hyper {
namespace network... | [
"arnaud.degroote@laas.fr"
] | arnaud.degroote@laas.fr |
bd1998c0d275f7b51d76ce440b28d1622f7c1ec0 | 691c0cfafba387cf5dfa62eb7fb0f6a4fde2b0ed | /toggle string.cpp | c5cf7b4b4d74eaf6a31261ae0d6a80d5882dbfa7 | [] | no_license | SubhaDas2001/Hackerearth_solutions | d20c0f66b34102cd68bef67e0c0ac60533c1023d | 0b1f12ba297dc85b63ff05a13c717361a8de29f2 | refs/heads/main | 2023-02-05T17:40:27.333058 | 2020-12-30T13:36:48 | 2020-12-30T13:36:48 | 323,820,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | #include<stdio.h>
int main()
{
int i;
char s[100];
gets(s);
for (i=0;s[i]!='\0';i++)
{
if (s[i]>='a' && s[i] <='z')
s[i]=s[i]-32;
else
s[i]=s[i]+32;
}
printf ("%s",s);
}
| [
"noreply@github.com"
] | SubhaDas2001.noreply@github.com |
800b8af31071d749a13e5448092bd3f528c3041e | 175e724e9cc27fe3000326c816c6c8a2e8ed5e48 | /jma-receipt.r_5_1_branch/cobol/copy/HCM2K.INC | 9a970232127f43bbef7046e7a58944b6d9356d8e | [] | no_license | Hiroaki-Inomata/ORCA-5-1 | 8ddb025ed0a9f7d4ca43503dff093722508207bf | 15c648029770cfd9b3af60ae004c65819af6b4b1 | refs/heads/master | 2022-11-08T13:33:19.410136 | 2020-06-25T13:35:13 | 2020-06-25T13:35:13 | 274,871,265 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,438 | inc | 01 HCM2K.
02 HCM2K-PRTYM PIC X(16).
02 HCM2K-SEIYMD PIC X(22).
02 HCM2K-HOSPCD PIC X(20).
02 HCM2K-ADRS PIC X(100).
02 HCM2K-HOSPNAME PIC X(100).
02 HCM2K-KAISETUNAME PIC X(30).
02 HCM2K-IHO-TBL1 OCCUR... | [
"air.h.128k.il@gmail.com"
] | air.h.128k.il@gmail.com |
82977b4a68391c5345f07f6eb3781473f4dc3fec | cdc18670c82b47628f8894b97b0ffa75d1a54f32 | /rb_tree.h | 50c6dac4886bec34edf0abdde855d7a9f3b28df5 | [] | no_license | fangwater/Red_black_tree | ac417c303dfc67af07b40d46feb4014b857c927b | f6bccf03d5bf14ca335361e3c04aa65d8ca8d26e | refs/heads/master | 2021-01-01T19:33:08.862478 | 2018-01-08T06:47:50 | 2018-01-08T06:47:50 | 98,613,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,589 | h | #ifndef RB_TREE_H
#define RB_TREE_H
#include <iostream>
#define red 0
#define black 1
#define onright(x) (x->parent->rchild == x)
#define onleft(x) (x->parent->lchild == x)
template <typename T>
struct node{
int color = 0;/*red for 0 ,black for 1*/
T data;
node<T>* parent = NULL;
node<T>* lchild = NULL... | [
"fanghaizhou0611@gmail.com"
] | fanghaizhou0611@gmail.com |
94eed40852dd90e64b6f98982515c1af0557467a | e949b67f3d8a5758817b4861783c6136e33d8c99 | /c++tsts/l3/FXString.h | f73b3ae04464687bec448ca649c570c82ce51bc9 | [] | no_license | edt11x/edt-jnk | 1976c6b4cbb1cfe38db731bd520a3d1eb31995bf | e9ceb4fa645c2513b7699cea9fcb31944476efba | refs/heads/master | 2023-08-17T11:15:20.938437 | 2023-08-16T18:53:47 | 2023-08-16T18:53:47 | 20,622,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,422 | h | /*
*===========================================================================
*/
/** \file FXString.h
*
*
*/
/*===========================================================================
*
* Goodrich Avionics Systems, Inc.
* 4029 Executive Drive
* Beavercreek, OH 45430-1062
* (937)426-170... | [
"edt11x@gmail.com"
] | edt11x@gmail.com |
8e196143608f055fa55d7747269c2a205fb048b5 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14409/function14409_schedule_5/function14409_schedule_5_wrapper.cpp | 29f1aad9ab0d4ef00bc3f60e3cad95a23b341552 | [] | 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 | 1,207 | cpp | #include "Halide.h"
#include "function14409_schedule_5_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(64, 128);
Halide::Buffer<int32_t> buf01(6... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
ab1983b3ef47b3fac548d9447afbf4b1358a7bc5 | b19d6db8c2297b438f951c0813a4875191397cb6 | /fwk4gps 2012/iCoordinator.h | 5f70663860b4ff143a3150b12117495b8096e012 | [] | no_license | cathyatseneca/gam671-astar | 7f9eaf943b4e364fc4d9de5de7d2d3b3d8aa99e0 | d25545526dc67b8627b0db0ea00b71f1191c5917 | refs/heads/master | 2020-04-28T00:18:24.304942 | 2012-04-04T19:27:09 | 2012-04-04T19:27:09 | 3,930,363 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | h | #ifndef _I_COORDINATOR_H_
#define _I_COORDINATOR_H_
/* Coordinator Interface - Modelling Layer
*
* iCoordinator.h
* fwk4gps version 3.0
* gam666/dps901/gam670/dps905
* January 14 2012
* copyright (c) 2012 Chris Szalwinski
* distributed under TPL - see ../Licenses.txt
*/
#include "Base.h" // for the Base clas... | [
"cathyatseneca@gmail.com"
] | cathyatseneca@gmail.com |
8090f91d005241f6f0df2e6aa4c0e5585837eef7 | 8722d44a37a52777055e56cc8e931f7aa1dfdeb7 | /LockfreeQueue/stdafx.cpp | 1521ab66bc6c632c4f1b05deda377a018eb7c54c | [] | no_license | twangjie/ipc | 492c53edad0e55fc35cb51e62bdcf890f66a50c1 | 1920b7b20d554bfc56711929b6b17adc71a5b089 | refs/heads/master | 2020-03-29T01:49:22.850062 | 2018-09-19T07:14:21 | 2018-09-19T07:14:21 | 149,408,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | // stdafx.cpp : source file that includes just the standard includes
// LockfreeQueue.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"twangjie@qq.com"
] | twangjie@qq.com |
f07c326d1da78efe84a84f36d94c513615f819af | 1e5e1c653ea9df9b52a1032207d97a57bb2ab688 | /Lesson03-variables/usingConstExpr.cpp | 9892e100ecf1eaf29be6394d28bbc81c6999126d | [] | no_license | harveylabis/SamsTeachCplusplus | ac3c8c744b94aa8416ece4211a6a40aced07bfba | 46d72b88a382443c794038db91a972e715c5fe21 | refs/heads/main | 2023-07-09T08:48:29.201982 | 2021-08-20T01:24:07 | 2021-08-20T01:24:07 | 386,963,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | #include <iostream>
constexpr double GetPi() { return 22.0 / 7; }
constexpr double TwicePi() { return 2 * GetPi(); }
int main()
{
using namespace std;
const double pi = 22.0 / 7;
cout << "constant pi contains value " << pi << endl;
cout << "constexpr GetPi() returns value " << GetPi() << endl;
co... | [
"harveyabiagador@gmail.com"
] | harveyabiagador@gmail.com |
257234cacaa03e129859f4ec995d7ee44790ad60 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/collectd/old_hunk_170.cpp | b58a0b376ed5f935c934bdf9c7e53ed84a89fd4d | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | NULL, &plugin, NULL, &host, &time, &interval, &meta))
return -1;
if (type[0] != 0 && plugin_get_ds(type) == NULL) {
PyErr_Format(PyExc_TypeError, "Dataset %s not found", type);
return -1;
}
sstrncpy(self->data.host, host, sizeof(self->data.host));
sstrncpy(self->data.plugin, plugin, sizeof(self->data.pl... | [
"993273596@qq.com"
] | 993273596@qq.com |
9c3e061721e15819d8ba23721a6db925359b7d33 | 22aea1204c257db7e1bf190bce6a2337b53d62f0 | /src/DataStructure.cpp | 87f29bd100192122d14d91ffab7a8cea298c3b9a | [] | no_license | hongchh/predict-entity | 4ebb23a4badc90dfeed0427de6293dc9df77d873 | 22340e1f964dfddf7a70dd5f29594af2338eb768 | refs/heads/master | 2021-01-20T20:36:13.252411 | 2017-04-23T09:10:52 | 2017-04-23T09:10:52 | 63,426,580 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include "headers.h"
void Vector::init(const int& dimision) {
this->dimision = dimision;
if (dimision <= 0) {
dim = NULL;
} else {
dim = new float[dimision];
}
}
Vector::~Vector() {
if (dim != NULL)
delete [] dim;
}
float Vector::operator*(const Vector& v) const {
if (... | [
"hongchh_sysu@qq.com"
] | hongchh_sysu@qq.com |
fcf508fe3cef70a63a64d3cc715531c00869e105 | 8a5ea0aa4e755820ac82ab494acd7db3c49eddce | /JanneRemesEngine/Engine/jni/Debug.h | eef2c9b4648678eac03cde45906d1c57e8508287 | [] | no_license | JanneRemes/janityengine | 88a9e4aa28030b987e1ffb98411daf6f1efb6fd1 | 27dbdb73bdd8b122171cbd8a36b2a15a25956bb6 | refs/heads/master | 2021-01-23T18:50:53.547422 | 2014-05-20T11:55:05 | 2014-05-20T11:55:05 | 19,489,551 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | h | #pragma once
#ifndef DEBUG
#define DEBUG
#include <assert.h>
#include <AL\al.h>
#include <AL\alc.h>
#include <Win32toAndroid.h>
namespace JanityEngine
{
class Debug
{
public:
Debug();
~Debug();
static void PrintGLString(const char *name, GLenum s);
static void CheckGlError(const char* op);
static void C... | [
"tti12sjanner@outlook.com"
] | tti12sjanner@outlook.com |
6dd57aff6ad2519429847a9ed32dd139619cbd8e | 7df33fbf07e9ea691f0adaf6a76dda4f40f36f52 | /src/ip.cpp | 42e6c708ae8aa475b31e28082b11d3ce72e77637 | [
"MIT"
] | permissive | wilbertom/maproute | 5c64f62ed3d5b006b6e579c2a4c4cfcf3d446bc7 | 2400d48923d8da9d4c4baea7f40042570ee6265c | refs/heads/master | 2021-01-10T02:20:08.200049 | 2015-11-25T15:52:12 | 2015-11-25T15:52:12 | 46,868,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #ifndef MR_IP_C
#define MR_IP_C
#include <maproute/ip.hpp>
IPV4::IPV4(
ipv4_component x,
ipv4_component y,
ipv4_component a,
ipv4_component b
) {
this->set_x(x);
this->set_y(y);
this->set_a(a);
this->set_b(b);
}
ipv4_component IPV4::get_x() const {
return this->x;
}
ipv4_componen... | [
"wilbertomorales777@gmail.com"
] | wilbertomorales777@gmail.com |
8fcf159e8ee2c3bc705647cb01347f3700ee8536 | a64fec82446091643600d748cee8609162f768b9 | /0511_UDP_chat/UDP_chat/UDP_chatDlg.cpp | 70280c336f7736226cbdfca72b84870f5d414601 | [] | no_license | chia56028/NCTU-EE-OOP | c29f10926a182014d4e58983403bd6e606a1b183 | f1b45ef2155f8f80768fb6aed7234b019fd1ffdf | refs/heads/main | 2023-04-27T19:16:16.205638 | 2021-05-11T11:55:05 | 2021-05-11T11:55:05 | 343,736,490 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,798 | cpp |
// UDP_chatDlg.cpp: 實作檔案
//
#include "pch.h"
#include "framework.h"
#include "UDP_chat.h"
#include "UDP_chatDlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
#define SEVENT (WM_USER+100) // Server Event
#define CEVENT (WM_USER+200) // Client Event
#include "tcpip_async.cpp"
SOCKET SS... | [
"chia56028@gmail.com"
] | chia56028@gmail.com |
deca3021072a6528aa0279ff57c9e48947c85c22 | 88b991fc54265c13f62710393169839676f2ffd2 | /Test/JobTest/MultiProcessCalc.cpp | 5079ef28070c48fae13ee71e1147102f31a44393 | [] | no_license | RATime360/Code | 4b51c6af12e73bd77becf44067aee8d0c97101fe | 6694bfd7c71d0247911d02ab6e0c3c41e3479900 | refs/heads/master | 2023-01-14T10:01:53.356289 | 2020-11-18T06:41:46 | 2020-11-18T06:41:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include "MultiProcessCalc.h"
bool MultiProcessCalc::DoJob()
{
QString params = QString::fromLatin1(CurrentJobData());
int circles = params.toInt();
for (int i = CurrentJobIterFrom(); i <= CurrentJobIterTo(); i++) {
mCalc.CalcCircles(i, circles);
}
return true;
}
MultiProcessCalc::MultiPro... | [
"DevilCCCP@gmail.com"
] | DevilCCCP@gmail.com |
e37d6ddda02eb1b3ec843b8a7547ae7b22aaab4a | 253b1380a3c2749668e199069f858f1a5a0f8773 | /src/vulpecula/responders/StarResp.h | d86c730f35982ac5d4926032771a6923daf6056f | [] | no_license | Shanghai-/3DGameEnginesFinal | c0396f5fd1c56ddf89208be84d400c28e8bd153b | 266038deb7782e16023d957a5b68c2cab6356593 | refs/heads/master | 2022-01-10T18:40:05.294450 | 2019-05-11T22:52:42 | 2019-05-11T22:52:42 | 175,902,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #ifndef STARRESP_H
#define STARRESP_H
#include "engine/components/responders/CollisionResponse.h"
#include "engine/components/CAudioSource.h"
class StarResp : public CollisionResponse
{
public:
StarResp(std::shared_ptr<GameObject> star,
std::shared_ptr<GameObject> zone,
GameW... | [
"bwalsh1@cs.brown.edu"
] | bwalsh1@cs.brown.edu |
83df9869c32d70f85533e38f9f6a03c0866a6097 | 348e80a3b8c0c0a16fc36ef2d1034eac06da97aa | /PeraConfigTool/BCGCBPro/BCGPFullScreenImpl.h | d58a384c40a097a50c86a5c7338d126ac5600eba | [] | no_license | wyrover/WorkPlatForm | 0e2c9127ccb6828857532eb11f96be3efc061fe9 | f14a8cdd2bc3772ea4bd37a0381f5f8305a0a2c2 | refs/heads/master | 2021-01-16T21:16:13.672343 | 2016-01-17T08:59:01 | 2016-01-17T08:59:01 | 62,207,103 | 0 | 1 | null | 2016-06-29T07:56:29 | 2016-06-29T07:56:28 | null | UTF-8 | C++ | false | false | 2,132 | h | //*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a part of BCGControlBar Library Professional Edition
// Copyright (C) 1998-2011 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only unde... | [
"cugxiangzhenwei@sina.cn"
] | cugxiangzhenwei@sina.cn |
54c17901b0cf6dc484741c09e4587c64a7303ba0 | e108376881e3e9e51b5d03aed334b01ebce87a9e | /gen/Jd2ya_VConstraint_Swing.hh | ae5184db873b5772c87604def993d5f44b5ab006 | [] | no_license | Emungai/ThreeLinkRobot_Frost | f217c0d791c1989f277e91e1fceede9a2d8efea9 | 89f745627ed2e2f2658695636a6fdf2cdcc3469a | refs/heads/master | 2023-01-03T21:12:51.160008 | 2022-12-22T04:18:45 | 2022-12-22T04:18:45 | 99,365,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | hh | /*
* Automatically Generated from Mathematica.
* Wed 2 Aug 2017 16:38:24 GMT-04:00
*/
#ifndef JD2YA_VCONSTRAINT_SWING_HH
#define JD2YA_VCONSTRAINT_SWING_HH
#ifdef MATLAB_MEX_FILE
// No need for external definitions
#else // MATLAB_MEX_FILE
#include "math2mat.hpp"
#include "mdefs.hpp"
namespace SymFunction
{
... | [
"mungam@umich.edu"
] | mungam@umich.edu |
1ce7b0f947e5eb19d492f818f9fc19e92c9b9631 | 99992a66fd0256ca383579adf5ffa962eb7b8052 | /CppTestApp/tagtype.cpp | e1cd5ddf0e3229853240c6a9b6ba92d01b24647d | [] | no_license | zizi0308/StudyCplusplus21 | ffe81cbb8a0194a417ec0d3c3f98e58b30f8cbf6 | fa572f83a4eea9fdc5911d1e9b95a9986fbf6979 | refs/heads/main | 2023-07-05T00:59:06.207610 | 2021-08-10T11:59:41 | 2021-08-10T11:59:41 | 371,536,638 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 371 | cpp | #include <stdio.h>
int main()
{
enum origin {EAST, WEST, SOUTH, NORTH};
enum origin mark = WEST;
printf("%d방향\n", mark);
struct SHuman // typedef 생략가능
{
char name[12];
int age;
double height;
}; // 뒤에 태그명 생략가능
struct SHuman kim = { "김상형", 29, 181.4 };
printf("이름 = %s, 나이 = %d\n", kim.name, kim.... | [
"whgmlwl222@naver.com"
] | whgmlwl222@naver.com |
6c84f380c3ba4c0b3c23b4f5bfc7eaf1a00a3b99 | fd2216a22c4974a915eefce2a4d851c4cbaf128c | /src/src.ino | 477932193ed0a4ffaefdc82eb0e76fd21c030adc | [
"MIT"
] | permissive | tolysz/iec62056-mqtt | f9380d76911c543e848f75ff7147cb9737212867 | ea4d1a32bd2ce1ca5ab42d32e7fdd30422eefcc1 | refs/heads/master | 2023-04-02T17:07:22.778479 | 2021-04-03T22:22:21 | 2021-04-03T22:22:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45 | ino | // Dummy file to allow opening in Arduino IDE | [
"piortwjo@gmail.com"
] | piortwjo@gmail.com |
bbbf095fb93e87ee4e3eaf0686cd1a61a6cce940 | e3c03bb58f899934b555f75eec50ca3a93bd2227 | /below2.1/timebomb.cc | d7f12b3b2312ce1b80f6b8ed4e48d1877d3374c2 | [
"Apache-2.0"
] | permissive | notwatermango/Kattis-Problem-Archive | 62ab0ab85abc2d86d8b3c96ca6cf652eb9242c0a | bce1929d654b1bceb104f96d68c74349273dd1ff | refs/heads/main | 2023-07-30T09:52:55.535275 | 2021-09-22T13:24:03 | 2021-09-22T13:24:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,388 | cc | #include <iostream>
using namespace std;
int main(){
string arr[5];
for (int i = 0; i < 5; i++)
{
getline(cin,arr[i]);
}
int digits = (arr[0].length()+1)/4;
string res = "";
bool sad = false;
for (int j = 0; j < arr[0].length(); j+=4)
{
if(arr[0][j] == '*'
&... | [
"67574872+danzel-py@users.noreply.github.com"
] | 67574872+danzel-py@users.noreply.github.com |
1261b66ae5da6f9c95c44f7a6466d898207885e2 | 08cd4570572284811cca31491e6863adff32a6f5 | /Programs/MIdsPractice/main.cpp | 9d17f0ccf8c215b8c696c02e5818c942cff56ca8 | [] | no_license | smusman/CSE-102_Computer-Programming | f8aff9d627ac33a96fa4082e10c650d1e0a1df2a | dd5ec695035a77646d02f8e5099e690bba324547 | refs/heads/master | 2020-05-09T17:41:21.597008 | 2019-07-28T18:12:35 | 2019-07-28T18:12:35 | 181,319,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include <iostream>
using namespace std;
int main()
{
int row,num,i,j, k;
cout<<"Please Enter Number of Stars in first Row> ";
loop: cin>>num;
if (num%2==0 || num<0)
{
cout<<"Invalid Entry, enter an odd positive number> ";
goto loop;
}
else{
row=(nu... | [
"noreply@github.com"
] | smusman.noreply@github.com |
567b469336ceb0deab8a33cecefb3e2f91c0492a | d67a1704b15d2d6646fd35426fef4b09d8b39651 | /problem3/NOMAD/nomad.cpp | 8ccd2ab371561911d499915c40fde0d1b144d93c | [] | no_license | shubhangid/mop | 3cce679d53093db3aa15078aea772cc4b51f8abe | 81ee90dc72fffaf98f0cf1e222a6c8bf8f1d84eb | refs/heads/master | 2021-01-10T21:43:23.648874 | 2013-10-22T14:06:16 | 2013-10-22T14:06:16 | 11,132,007 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,599 | cpp | /*---------------------------------*/
/* FORTRAN and the NOMAD library */
/* (see readme.txt) */
/*---------------------------------*/
#include "nomad.hpp"
using namespace std;
using namespace NOMAD;
extern "C" {
void nomad_ ( int * n ,
int * m ,
double * x ... | [
"shubhangi@shubhangi-ThinkPad-Edge"
] | shubhangi@shubhangi-ThinkPad-Edge |
b02efbe1f03e5ed4b9afb6d9081c619334d3ebc0 | 3674ff26e1fe0cdb552e8ced32a8d2c7e751d6e4 | /algo/minmax1.cpp | f4e88194d848cd7f7266906e08b74c75f0d4403f | [] | no_license | liyustar/Cpp-Standard-Library-Tutorial | f7232a2a86e8793de2b198763a53da7e8166bdf9 | 83ecb86d23068e6c41fcf8b2703e8c9f58897a8f | refs/heads/master | 2021-01-15T23:07:50.734839 | 2012-09-21T18:55:58 | 2012-09-21T18:55:58 | 5,553,826 | 0 | 1 | null | 2020-09-30T20:52:51 | 2012-08-25T18:19:56 | C++ | UTF-8 | C++ | false | false | 1,056 | cpp | #include <cstdlib>
#include "algostuff.hpp"
using namespace std;
bool absLess (int elem1, int elem2)
{
return abs(elem1) < abs(elem2);
}
int main()
{
deque<int> coll;
INSERT_ELEMENTS(coll,2,6);
INSERT_ELEMENTS(coll,-3,6);
PRINT_ELEMENTS(coll);
// process and print minimum and maximum
cout << "minimum: "
... | [
"liyustar@gmail.com"
] | liyustar@gmail.com |
de088f0ece5ef3512860ad3b4d9847e74f477bab | d932716790743d0e2ae7db7218fa6d24f9bc85dc | /mojo/public/cpp/bindings/associated_binding.h | bb3c40506363ee0b404f12007ecf80615cb22b1d | [
"BSD-3-Clause"
] | permissive | vade/chromium | c43f0c92fdede38e8a9b858abd4fd7c2bb679d9c | 35c8a0b1c1a76210ae000a946a17d8979b7d81eb | refs/heads/Syphon | 2023-02-28T00:10:11.977720 | 2017-05-24T16:38:21 | 2017-05-24T16:38:21 | 80,049,719 | 19 | 3 | null | 2017-05-24T19:05:34 | 2017-01-25T19:31:53 | null | UTF-8 | C++ | false | false | 6,032 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_
#define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_BINDING_H_
#include <memory>
#include <string>
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1ee5cca6ea3f820c70ab86f66b25c31d16c4863f | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp | 521bd249beaa86098311c17ec42355a9fd8db048 | [
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"BSL-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 48,331 | hpp | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | [
"jan@arangodb.com"
] | jan@arangodb.com |
f48d969bbc4c162cd74af6c61ec45823e5f06058 | f2612a3f38e4118b3587a57fedc346d834d0dde0 | /src/obfuscation.cpp | 701e387cf1c546d66b6dfdeba89568ff21395e5f | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | cryptotronxyz/audax | 6721ccdbdd28d57966a8e0dab263d49db384d8d1 | 79f4da18e898befea9d652b5c296d715a85f13e3 | refs/heads/master | 2022-07-09T12:00:04.572010 | 2020-05-13T22:44:32 | 2020-05-13T22:44:32 | 259,174,313 | 0 | 0 | MIT | 2020-04-27T01:35:24 | 2020-04-27T01:35:24 | null | UTF-8 | C++ | false | false | 82,850 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "obfuscation.h"
#include "coincontrol.h"
#include "consensus/validation.h... | [
"theaudaxproject@gmail.com"
] | theaudaxproject@gmail.com |
6e5eea4955a18d5dbdd393050e7cd0de87638791 | f125d550d0457a35220ed35a375c8820efd373e6 | /Userland/Libraries/LibJS/Runtime/Symbol.cpp | c25ebf2fceb3837defddbddeef8591471c676118 | [
"BSD-2-Clause"
] | permissive | seven1m/serenity | 3c4a744fe1cc65e54c9aa62c9f97fb5df04b43bf | 447b8e808219d7f326fa6a4fd922adf7a3f86759 | refs/heads/master | 2021-06-24T19:44:42.274014 | 2021-02-07T17:25:30 | 2021-02-07T17:36:31 | 207,917,650 | 1 | 0 | BSD-2-Clause | 2019-09-11T22:28:44 | 2019-09-11T22:28:44 | null | UTF-8 | C++ | false | false | 1,948 | cpp | /*
* Copyright (c) 2020, Matthew Olsson <matthewcolsson@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... | [
"kling@serenityos.org"
] | kling@serenityos.org |
0778adb81b3603d3831e76db4d9d526aa2dcc34c | 3011002fecd35f3c878875394ec010967b16929f | /Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h | 4009bb0e4e7c4d3b6ebcda69096f2c73e47d13c8 | [
"BSD-2-Clause"
] | permissive | yhf20071/serenity | e0bb471733764a4814c2cc61eb0f1fcbe5fb1045 | 3d4abd7154d8050487a6bad96e6ef4ca0167a32f | refs/heads/master | 2023-06-28T10:11:30.887978 | 2021-07-26T10:44:05 | 2021-07-26T12:56:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | h | /*
* Copyright (c) 2021, Idan Horowitz <idan.horowitz@serenityos.org>
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibJS/Runtime/Object.h>
#include <LibJS/Runtime/Temporal/AbstractOperations.h>
#include <LibJS/Runtime/Value.h>
names... | [
"mail@linusgroh.de"
] | mail@linusgroh.de |
c52cc9a00c502bcbccaa77c805f096c29ea7f3d9 | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /c8/d4/31/80/6460da460bdf71506f525e808054d4ef131f12289bf0c5fc83237c4838a4c560ace4c536273801aae2c0ffa157a5fbb9e6502bc5a7b7d361fa57702f/sw.cpp | 2684b1246d00df78c3e7af4effdfc256eb824d23 | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | void build(Solution &s)
{
auto &t = s.addStaticLibrary("BLAKE3_team.BLAKE3", "1.0.0");
t += Git("https://github.com/BLAKE3-team/BLAKE3");
t.setRootDirectory("c");
t += "blake3.*"_r;
t -= "blake3_neon.c";
}
| [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
768c7e395acead526330a74bb15ef2ead0582f97 | 92c2c9b30dd81e602b1ade90d21567822964f269 | /New IAS/DLP-C++/dlpspec_scan.cpp | 0e25f947d2a548793c7d98e1fbae11c7e04e1e24 | [] | no_license | wyfnevermore/New-IAS | 0713fdba3d54359adcf3a75b3ea394060086b160 | ce8937eda91842ee688d314258f19a658597ae57 | refs/heads/master | 2021-01-21T10:55:07.500158 | 2017-03-01T02:31:05 | 2017-03-01T02:31:05 | 83,502,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,566 | cpp | /*****************************************************************************
**
** Copyright (c) 2015 Texas Instruments Incorporated.
**
******************************************************************************
**
** DLP Spectrum Library
**
**********************************************************************... | [
"843645610@qq.com"
] | 843645610@qq.com |
428bc94c268a9c58a2fbe8b10ab1deb25e421bbe | b2101f4e8123b7a692932b741a2b9be2b2209ddb | /July-21/JUly-21.2/main.cpp | e2a040ae1e5f4566aca04c451ecbabf824fdc442 | [] | no_license | Sweety4/cpp | 465e560ce7bcec04d461044bd1d2b2dab84cf548 | dba08f024ad2f356f65f0e952250369cc1f7f5f9 | refs/heads/master | 2022-11-29T05:30:12.680733 | 2020-08-01T14:03:53 | 2020-08-01T14:03:53 | 283,262,529 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | cpp | #include"Test.h"
void main()
{
Test t1(10);
t1.Display();
cout << "\n\n";
} | [
"sweetyjangale5@gmail.com"
] | sweetyjangale5@gmail.com |
a91c5dd077fb41793808d96b05ccb51266b61290 | 9ac887713ffc194682d6f088b690b76b8525b260 | /books/pc_data_structure/19/puzzle8.cpp | 86164f9a88220198dab5ce4e9415f9459bdb8e83 | [] | no_license | ganmacs/playground | 27b3e0625796f6ee5324a70b06d3d3e5c77e1511 | a007f9fabc337561784b2a6040b5be77361460f8 | refs/heads/master | 2022-05-25T05:52:49.583453 | 2022-05-09T03:39:12 | 2022-05-09T04:06:15 | 36,348,909 | 6 | 0 | null | 2019-06-18T07:23:16 | 2015-05-27T06:50:59 | C++ | UTF-8 | C++ | false | false | 1,812 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstdio>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
static const int N = 9;
static const int N2 = 3;
struct m_t {
int m[N2][N2];
int x0, y0;
int dist;
bool operat... | [
"ganmacs@gmail.com"
] | ganmacs@gmail.com |
9a1ededaacc4193b8ce12c29d589d6122b064214 | e0258286b3345c7afc09cc0b31b28b981f1f3ac7 | /Serveur_interaction_sans_contact-master/Serveur_isc/Serveur_isc/CommandeHelp.cpp | 6945017f980a72ced6f0cb8e5e9da9262f739428 | [] | no_license | IHMISC2020/ISCServer | 6e3423655ebb97815aaac149915af83d9f862a7f | f3861e81569b8932240e2dbea3a22d7fe2856432 | refs/heads/main | 2023-04-09T16:42:20.783647 | 2021-04-13T17:26:59 | 2021-04-13T17:26:59 | 357,605,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include "CommandeHelp.h"
#include <sstream>
CommandeHelp::CommandeHelp(CommandesServeurLst* next, ServerTCP& serveur)
: CommandesServeurLst(next), m_serveur(serveur) {}
CommandeHelp::~CommandeHelp() {}
int CommandeHelp::resoud_expert(const std::string& commande, const std::vector<std::string>& args) {
if (comman... | [
"noreply@github.com"
] | IHMISC2020.noreply@github.com |
e1156a73c6110b398fd6b052274f77452b70dd31 | 3ef99240a541f699d71d676db514a4f3001b0c4b | /UVa Online Judge/v3/343.cc | df0a253fe4166134d3819cd136b1df6cd8817a24 | [
"MIT"
] | permissive | mjenrungrot/competitive_programming | 36bfdc0e573ea2f8656b66403c15e46044b9818a | e0e8174eb133ba20931c2c7f5c67732e4cb2b703 | refs/heads/master | 2022-03-26T04:44:50.396871 | 2022-02-10T11:44:13 | 2022-02-10T11:44:13 | 46,323,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,371 | cc | /*=============================================================================
# Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/
# FileName: 343.cc
# Description: UVa Online Judge - 343
=============================================================================*/
#include <bits/s... | [
""
] | |
d432a68af8098d507badad62ef6150291f94dc01 | e22ab275a7122dfad34f60effe8654d6fd57f781 | /Enemies/Paver.h | 11f8977f8ec7a83d294f20349d41942bce823aa0 | [] | no_license | RadwaSK/BattleGameSimulation | 4a6a81d6ef0025d85d88ba4eacddd0245282cd0f | 2c50522de58721955e09bd902a4369bfb21a151d | refs/heads/master | 2021-06-02T23:05:10.724716 | 2019-05-07T19:27:37 | 2019-05-07T19:27:37 | 135,958,609 | 1 | 7 | null | 2020-10-01T07:54:27 | 2018-06-04T02:06:16 | C | UTF-8 | C++ | false | false | 309 | h | #pragma once
#include"Enemy.h"
class Paver :public Enemy
{
public:
Paver(int id,double arrTime,double heal,double firepow,double reloadper, char r_region,int sp);
//virtual functions
virtual void ResetFireHeatTime();
virtual void Move();
virtual void Attack();
virtual void Heal();
}; | [
"noreply@github.com"
] | RadwaSK.noreply@github.com |
c735ef797badad60851be30f473639a6a569b0e1 | 10c357134005fadbfbd251d59ce0bd02e5b8e5f7 | /stack/card.cpp | d18a02e3c263795b02ad39b06787232bf581a3eb | [] | no_license | atalhassan/lets-learn-cpp | a8333ec0a42bc9b56d8167865c8cbd3de8b55122 | 6738a0e09fa8e7da47e22a8caef70ca35a3bb8bc | refs/heads/master | 2021-07-13T14:41:43.483610 | 2017-10-13T18:55:47 | 2017-10-13T18:55:47 | 103,607,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | cpp | /*@author Abdullah Alhassan
*@version 1
*@file card.cpp
*/
#include <string>
#include <cstdio>
#include "card.h"
// default is ace of spades
Card::Card() : suit(1), rank(1)
{
}
//change suit value
void Card::set_suit(int the_suit)
{
if (the_suit >= 1 && the_suit <= 4)
suit = the_suit;
}
//change rank valu... | [
"aalhassan2@zagmail.gonzaga.edu"
] | aalhassan2@zagmail.gonzaga.edu |
37e674817baf89ee8c9939b42ecc027ed40bd0ca | 9d58243fb3f239447c8e889862988b6e527e8828 | /common/json/ujson.cpp | 852f0f059219fbb532291c008bfdb9be2f62c6b2 | [] | no_license | roctomato/UvNetLib | 855cb8f852af4902a87093c495933e8703c189be | 6d091a01b0b8757e49b5672a66bd6121dcd7a857 | refs/heads/master | 2023-01-09T12:04:53.191908 | 2020-09-15T07:39:32 | 2020-09-15T07:39:32 | 259,222,956 | 0 | 1 | null | 2020-10-13T21:32:36 | 2020-04-27T06:16:10 | C++ | UTF-8 | C++ | false | false | 60,267 | cpp | /* Generated by re2c 0.13.5 */
/*
* Copyright (c) 2014 Anders Wang Kristensen
*
* 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 the Software without restriction, including without limitation the righ... | [
"txqc4@163.com"
] | txqc4@163.com |
ccd7fbb1382a5f2e0246692905e7b8939bbd4b48 | b3ce65d02c886ecf659a50585bc902068dc561ae | /semaphore.hpp | 916e39267992282a864b78153c4b9ea91a2f8a69 | [
"MIT"
] | permissive | graham-riches/cpp17-semaphore | b8b500a77c427ad64a64e8bce03f550c83e4710d | 12b062fad72e93a3cbcc89f465a167beb566844e | refs/heads/main | 2023-08-10T23:23:35.753015 | 2021-09-22T13:07:26 | 2021-09-22T13:07:26 | 409,207,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,996 | hpp | /**
* \file semaphore.hpp
* \author Graham Riches (graham.riches@live.com)
* \brief C++17 Implementation of a semaphore until the toolchain is updated to C++20
* that conforms to the API of the C++20 semaphore so that it can easily be updated
* in the future.
* \version 0.1
* \date 2021-09-15
*
... | [
"graham.riches@live.com"
] | graham.riches@live.com |
4af920ec37f9519e6e4c23aa4063217af80e81ea | 14d19c29e4c296381870250503ff9a889ac897f5 | /tools/obj2mesh/ObjParser.cc | 9ee0f168a31bd8d713a247539d7412298172b67a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | caomw/Fujiyama-Renderer | c23fbf25f405fdd46529d2c053da45a5dca89c4c | 01fba59d8c4919a5869b23ef9c778cc026325a8f | refs/heads/master | 2020-12-26T01:38:21.051778 | 2016-08-30T16:56:38 | 2016-08-30T16:56:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,694 | cc | // Copyright (c) 2011-2016 Hiroshi Tsubokawa
// See LICENSE and README
#include "ObjParser.h"
#include <sstream>
#include <fstream>
#include <iostream>
namespace obj {
class Vertex {
public:
Vertex() :
data_count(0),
x(0.), y(0.), z(0.), w(0.) {}
Vertex(int count, double xx, double yy, double zz, do... | [
"hiroshi@fujiyama-renderer.com"
] | hiroshi@fujiyama-renderer.com |
f6d663b963e88c83312aaf5b406a017fef7faab5 | a21b33f87dab1ba160dc4933aa61550062fca08b | /install/include/scheduling_msgs/ProductionMaterialList.h | 9f62a0dfaa2b3f7cfc0dc79c7b47a891ca10f21f | [] | no_license | servant007/release | 4c009c479eaeb0dcf70e2b17ca7631a63745cd0c | c460a36b61668cc380b0e4f99a225dcf55a3c595 | refs/heads/master | 2020-03-28T03:31:33.535089 | 2018-09-05T08:28:52 | 2018-09-05T08:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,361 | h | // Generated by gencpp from file scheduling_msgs/ProductionMaterialList.msg
// DO NOT EDIT!
#ifndef SCHEDULING_MSGS_MESSAGE_PRODUCTIONMATERIALLIST_H
#define SCHEDULING_MSGS_MESSAGE_PRODUCTIONMATERIALLIST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#inc... | [
"ouiyeah@qq.com"
] | ouiyeah@qq.com |
307ac49de74d486357090f4c5e62a78a95dc8187 | aef2146ee1508d3ad31bd4feba66cd5da6182e16 | /source/out_put.h | 8da2411231b3b557c48b1972036de323d67a871f | [] | no_license | zongxin/AAE512_spectral_solver_MPI | 6757c5abb39403cebf4f32436744c8a5c2b123e2 | 0cfe7e357a7d63e18928b2a56b1696d5478ce525 | refs/heads/main | 2023-03-18T06:57:14.552280 | 2021-03-07T20:38:53 | 2021-03-07T20:38:53 | 345,447,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,839 | h | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
using namespace std;
void out_put_solution(int n ){
int one_d = 0;
int two_d = 1;
fstream fout;
string num;
stringstream ss;
ss << n;
ss >> num;//或者 res = ss.str();
string fil... | [
"zongxin@zongxin.local"
] | zongxin@zongxin.local |
a727669efb3f8570566680046b18d9a8dca354ac | ad567857f44a8c663ae0820fc544eca613ef24aa | /contracts/include/contracts/devices/access_device/iaccess_coordinator.hpp | 6e6b7ace2ed53f749fbf23d45f105c0cfecb3673 | [] | no_license | jackersson/UnitService | 81f3e15e943901016f3a1de600075f172ee60156 | 4ffa07e773680f119bd3d6e0fce365abbee860bf | refs/heads/master | 2021-01-11T20:20:18.674820 | 2016-10-29T15:50:03 | 2016-10-29T15:50:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | hpp | #ifndef IAccessCoordinator_Included
#define IAccessCoordinator_Included
#include <datatypes/visit_record.pb.h>
namespace contracts
{
namespace devices
{
namespace access_device
{
class IAccessDeviceUpdatable
{
public:
virtual ~IAccessDeviceUpdatable() {}
virtual void update(const DataTypes:... | [
"jackersson@gmail.com"
] | jackersson@gmail.com |
5832f5b5d48af278d48da0547141dd0baf118b58 | ec6e5c5de4615e50e02f73c540f112fdca166431 | /Classes/Game/FileOperation.cpp | e63e6ebf950f4714a46b2be57daed1f149d6b709 | [] | no_license | revantn/SOH | f4734adc38624bc46a6db97226a29a1d73909677 | 51d35e3cbbeaf43c938009ce8d8ca96446a955a3 | refs/heads/master | 2021-01-10T05:06:59.292528 | 2016-01-28T18:12:09 | 2016-01-28T18:12:09 | 50,594,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | cpp | // to enable CCLOG()
#define COCOS2D_DEBUG 1
#include "cocos2d.h"
#include "FileOperation.h"
#include <stdio.h>
using namespace std;
void FileOperation::saveFile(char* buffer)
{
CCLOG("In FIle SAvE");
string path = getFilePath();
FILE *fp = fopen(path.c_str(), "w");
if (! fp)
{
CCLOG("can not create file %s"... | [
"rknbgm@gmail.com"
] | rknbgm@gmail.com |
a300ac0ab0e3ec3e357bdbdbf2f16c1703c4b269 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/chrome/browser/ui/android/usb_chooser_dialog_android.cc | 6026fed341672954c0bd680959514597cc65f021 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 9,376 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/android/usb_chooser_dialog_android.h"
#include <stddef.h>
#include <algorithm>
#include "base/android/jni_android.h"
#inclu... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
1bea31c1e66a9900f8b021704728addf9349e04c | 8d14bcf9b38f657b356ba832b91634d62fe61920 | /src/masternode-payments.cpp | a46f9d7e5d76c5da024ed613e772e498c919308d | [
"MIT"
] | permissive | cryptoghass/wallet-1 | 2e1300f1c4fb09206b01337204ec5f785d53d331 | 7700987b288e14c5a3326328a79e3f5992c21932 | refs/heads/master | 2020-07-23T16:42:27.692951 | 2018-06-30T21:18:00 | 2018-06-30T21:18:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,248 | cpp | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2018 The GLYNO Coin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include "governance-classes.h"
#include ... | [
"OhCreativeYT@gmail.com"
] | OhCreativeYT@gmail.com |
c945bf9099ac55cd75de4155337bde9b658588ec | d0be9a869d4631c58d09ad538b0908554d204e1c | /utf8/lib/client/cegui/CEGUI/src/falagard/extend/IExpProperty.cpp | 9443f27b9ed30e7e767f814fb1f0ce301192f786 | [] | no_license | World3D/pap | 19ec5610393e429995f9e9b9eb8628fa597be80b | de797075062ba53037c1f68cd80ee6ab3ed55cbe | refs/heads/master | 2021-05-27T08:53:38.964500 | 2014-07-24T08:10:40 | 2014-07-24T08:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp |
#include "IExpProperty.h"
// Start of CEGUI namespace section
namespace CEGUI
{
namespace IExpPropertyProperties
{
String ChildItem::get(const PropertyReceiver* receiver) const
{
return "";
}
void ChildItem::set(PropertyReceiver* receiver, const String& value)
{
char szKey[128];
char szName[128... | [
"viticm@126.com"
] | viticm@126.com |
d25d20afc19877d2eac330c616a17e1d39e34385 | 5afd26de6bcb0012450381b4064d8253817c2bb6 | /benchmark/scenario1/impl_boost_pt.cpp | fd04c8341f4a45ae2fbc16ff7c3b3b8eb3c2c062 | [
"MIT"
] | permissive | mserdarsanli/QuantumJson | 1e90f4c383939cb2cbd71f8bd9b60a814a44bb49 | 7aa8c7e17d2ff6677264edd20f54d7ee20821213 | refs/heads/master | 2021-01-11T17:04:23.637017 | 2018-10-20T14:47:23 | 2018-10-20T14:47:23 | 69,503,276 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,407 | cpp | // The MIT License (MIT)
//
// Copyright (c) 2016 Mustafa Serdar Sanli
//
// 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 the Software without restriction, including without limitation the rights
// to... | [
"mserdarsanli@gmail.com"
] | mserdarsanli@gmail.com |
a50a330aef7ffb31abac3ae3db6726fca49a1698 | b6659e14894d4e8d26c2857cb3b5c16ef1a8c207 | /sudoku_solver.cpp | 0c44b950ce6e0e9da72b3793d32c41ca08c3d536 | [] | no_license | JustineVuillemot/SudokuSolver | d6b4b447e72ef9e2c9732a16cc79798f4c044155 | 697fc295a8c759afa18d44d941ecc4111bc9eeb1 | refs/heads/master | 2020-04-02T06:23:20.347093 | 2018-10-22T15:50:40 | 2018-10-22T15:50:40 | 154,145,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include "sudoku_solver.hpp"
SudokuSolver::SudokuSolver(Sudoku &sudoku) : ss_sudoku(sudoku) {
} | [
"vuillemotjustine@gmail.com"
] | vuillemotjustine@gmail.com |
ee951f6d4fcaaadb2b6757b6f0d44855efc4c84e | 84283cea46b67170bb50f22dcafef2ca6ddaedff | /Nowcoder Multi-University/4/H1.cpp | 2dbf11d8c49290a573caf2da920ccfcb583eeb82 | [] | no_license | ssyze/Codes | b36fedf103c18118fd7375ce7a40e864dbef7928 | 1376c40318fb67a7912f12765844f5eefb055c13 | refs/heads/master | 2023-01-09T18:36:05.417233 | 2020-11-03T15:45:45 | 2020-11-03T15:45:45 | 282,236,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | /*
* @Date : 2020-07-20 22:21:12
* @Author : ssyze
* @Description :
*/
#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 5;
int t, n, prime[maxn], vis[maxn], bg[maxn], tot, ansn;
vector<int> num[50000];
map<int, int> mp;
vector<pair<int, int>> ans;
void init()
{
for (int i = 2;... | [
"46869158+shu-ssyze@users.noreply.github.com"
] | 46869158+shu-ssyze@users.noreply.github.com |
92a3bb1af6fb0a73c25fe408c21469f0d677015a | 2ecb48b3a749513f64099ce086cc2184661a437f | /HomeAutomationNode_pcRemote_V1/HomeAutomationNode_pcRemote_V1.ino | f333408eca319911b13554b574061487b741432c | [] | no_license | dabare/arduino | db956ff32c4004dd1cb2ec7b5c7cb7819e380a02 | b33587f06a355eabe95318642140778bc3e6f02a | refs/heads/master | 2021-07-25T16:51:06.104378 | 2017-11-07T11:44:30 | 2017-11-07T11:44:30 | 109,827,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,410 | ino | /*
77777777777
777777777
-----
IOPIUOP
*/
#include <avr/wdt.h>
#include "RF24.h"
#include "Keyboard.h"
#define id 2
RF24 radio(9, 10);
const uint64_t pipes[2] = { 0xF0F0F0F0E1LL, 0xF0F0F0F0D2LL }; // Radio pipe addresses for the 2 nodes to communicate.
byte signalRead[2] = {0, 0}; //id,val
void setu... | [
"dabaremadhava@gmail.com"
] | dabaremadhava@gmail.com |
5b38c6bd2ad6598b143ca400e154fdd3f2c4db61 | 3a2e172106b0d1248fef3d3163c471eb8b48e49a | /RegularContest/100-109/100/C.cpp | 1b9ad6b2bacb27683d2d20507b288057ed0b4c97 | [] | no_license | rsotani/AtCoder | 4b7eadb99981af1b2e9154d1382f011ac3100880 | 22d30769136bcb8496007a04126376984d533357 | refs/heads/master | 2020-03-27T09:09:12.612611 | 2019-01-01T13:05:29 | 2019-01-01T13:05:29 | 146,317,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int N;
cin >> N;
vector<int> A(N);
for (int i=0; i<N; i++) {cin >> A[i]; A[i] -= i;}
sort(A.begin(), A.end());
long long ans = 0;
int b = A[N/2];
for (int i=0; i<N; i++) ans += abs(A[i]-b);
cout << ans << endl;
}
| [
"sosososotaniryota@gmail.com"
] | sosososotaniryota@gmail.com |
02a61742de2521649c1aa8bd94e1025a3e6ac903 | f94b69060df692f53457862d7ad3bccf5819c1c1 | /tests/zfunction.tests.cpp | ade32d6f268c14127d7be956b22e64e14490558e | [
"MIT"
] | permissive | pedroteosousa/caderno | f8e39f0f7ff59acaf8f12b6d309c4f37fd31369b | 9d13449df8734dc979d1f66cd4c424b8a7d8cc48 | refs/heads/master | 2022-01-12T21:02:19.119324 | 2019-06-11T15:47:55 | 2019-06-11T15:47:55 | 114,820,935 | 0 | 0 | MIT | 2018-02-04T23:07:41 | 2017-12-19T23:21:47 | C++ | UTF-8 | C++ | false | false | 509 | cpp | #include <bits/stdc++.h>
#include "gtest/gtest.h"
using namespace std;
const int N = 1e5;
#include "../code/zfunction.cpp"
void brutao(string s) {
Z(s);
for (int i = 1; i < (int)s.size(); i++) {
int match = 0;
while (i + match < (int)s.size() && s[i + match] == s[match]) match++;
EXPECT_EQ(z[i], match);
}
}
... | [
"pedroteosousa@gmail.com"
] | pedroteosousa@gmail.com |
0c51979a3fc546bfe9cda1aa029a3995c3eaec8e | 5b5f25e95e40b2096df571a75e142e82c147b986 | /base/tools.h | 1df71745de5e3c648ed73798f84af3e774d884b8 | [] | no_license | feidegenggao/lib | 5b552292332abb0d046454f8e1aa7b863407188c | 3903ff4e9817a5e8ffd747e7f30fa8f5a3e255a0 | refs/heads/master | 2021-01-01T18:42:08.409470 | 2013-08-08T09:13:17 | 2013-08-08T09:13:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | h | /*
* ============================================================================
*
* Filename: tool.h
*
* Description:
*
* Version: 1.0
* Created: 07/18/13 14:42:15
* Revision: none
* Compiler: gcc
*
* Author: lxf (),
* Company: NDSL
*
* ======... | [
"liuxiaofei333@gmail.com"
] | liuxiaofei333@gmail.com |
2723565ab6184a540b0396906b4855de8a84254d | 2a856abdd214cf37bf5ebfaeac5e9464b4ff1713 | /week5/light_pattern/light_pattern.cpp | 9512eca1d676cdbb5b677d47a4eed67707d6fe88 | [] | no_license | jandono/algolab-ETH | f1622f37af637980634a94b829143643b38a9858 | 3a599e6b574b00f03f6862c7d83577d75665841e | refs/heads/master | 2020-08-30T22:25:05.176748 | 2019-10-30T11:14:13 | 2019-10-30T11:14:13 | 218,505,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,710 | cpp | /*
2 x One dimensional DPs.
DP[i] is tracking with how many moves can I obtain the pattern x everywhere
DP_FLIPPED[i] is tracking with how many moves can I obtain the pattern x_flipped everywhere
Two functions for working with bits:
dist(x, y) = number of different bits between X and Y
f... | [
"ac1d@ac1ds-MacBook-Pro.local"
] | ac1d@ac1ds-MacBook-Pro.local |
4967eae82f9e6658ce36f799c608508169257013 | a9156ec0aed4c1d34335ea2cceba8ad1b279dc10 | /src/vscp/common/vscp_client_rs232.h | 1189a153cfbd1dc5b1d356b89091d599a43ed23a | [
"MIT"
] | permissive | aji-s/vscp | a3c2a9231380cdf6d496c39b82f4fecf521c1e0b | b08570de18fbf1e41485e20a4e48ed67cf3394a6 | refs/heads/master | 2023-07-16T18:27:58.250337 | 2021-09-02T13:44:45 | 2021-09-02T13:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,814 | h | // vscp_client_rs232.h
//
// RS-232 client communication classes.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version
// 2 of the License, or (at your option) any later version.... | [
"akhe@grodansparadis.com"
] | akhe@grodansparadis.com |
7c6711fc22a5eff8d4d202806e45ae609f487dd9 | 933f2ea0a1605ef3fa053dc7a2c7d85490d01597 | /aten/src/ATen/native/vulkan/api/Pipeline.cpp | 303eea7cb4012c5ea7be7130cda10d6a2f22e2bb | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | gcatron/pytorch | cf623092ec55c4aa4909b04090d81f8a4effb8da | 2efc618f1971e91fe0f0ca454e7c78b503089b18 | refs/heads/master | 2023-03-31T18:55:14.957252 | 2020-09-16T03:25:59 | 2020-09-16T03:28:39 | 295,918,845 | 1 | 0 | NOASSERTION | 2020-09-16T04:02:50 | 2020-09-16T04:02:49 | null | UTF-8 | C++ | false | false | 2,914 | cpp | #include <ATen/native/vulkan/api/Pipeline.h>
namespace at {
namespace native {
namespace vulkan {
namespace api {
Pipeline::Layout::Factory::Factory(const VkDevice device)
: device_(device) {
}
typename Pipeline::Layout::Factory::Handle Pipeline::Layout::Factory::operator()(
const Descriptor& descriptor) const ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
ea19af380ab7d1e26dcf1db7240a1debc4135205 | e4f85676da4b6a7d8eaa56e7ae8910e24b28b509 | /extensions/renderer/gin_port.cc | 2ee51832009ac5f125f904b9552efb67582aa9f1 | [
"BSD-3-Clause"
] | permissive | RyoKodama/chromium | ba2b97b20d570b56d5db13fbbfb2003a6490af1f | c421c04308c0c642d3d1568b87e9b4cd38d3ca5d | refs/heads/ozone-wayland-dev | 2023-01-16T10:47:58.071549 | 2017-09-27T07:41:58 | 2017-09-27T07:41:58 | 105,863,448 | 0 | 0 | null | 2017-10-05T07:55:32 | 2017-10-05T07:55:32 | null | UTF-8 | C++ | false | false | 8,242 | 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 "extensions/renderer/gin_port.h"
#include <cstring>
#include <vector>
#include "extensions/common/api/messaging/message.h"
#include "extensions... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c685104ca606bb6b79dce8d6d84ff886bc6ecb85 | 2f16483955d999d90bd6f31ed01593442b2d7139 | /practice/post_thesis/model_adaptivity_iso_vs_aniso/diff_mesh/psi_and_superadj_libmesh_1_0_0/convdiff_sadj_aux.h | 46abb29ec924501369b6410ffab17f77fb121b80 | [] | no_license | kameeko/harriet_libmesh | e3a7e28984ed53fd159f3ee793d5f855578f80df | 78178fc6d38801977f96007069e6c4f2cec64cea | refs/heads/master | 2021-04-09T16:25:46.798532 | 2017-10-27T17:36:40 | 2017-10-27T17:36:40 | 23,032,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,973 | h | #include "libmesh/fem_system.h"
#include "libmesh/getpot.h"
#include "libmesh/elem.h"
#include "libmesh/point_locator_tree.h"
using namespace libMesh;
class ConvDiff_AuxSadjSys : public FEMSystem
{
public:
// Constructor
ConvDiff_AuxSadjSys(EquationSystems& es,
const std::string& name_in,
... | [
"kameeko@gmail.com"
] | kameeko@gmail.com |
458e943893786aefce9e04480490417b08e970f4 | 631a5a51c6aba3930c808cae2adb53f891c9f4be | /src/OutputFile.cpp | cc49c3855fd437a6330ed3df065e4182c49b3ff8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | kevinpku/hpcg | 55f4ce645050efd2e40a233c77a637ddb1f72508 | 4a8cfde10e0ecfaa7e2693cdda8fef5e13ef6cf4 | refs/heads/master | 2020-12-28T14:47:02.573046 | 2016-04-09T20:51:54 | 2016-04-09T20:51:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | cpp |
//@HEADER
// ***************************************************
//
// HPCG: High Performance Conjugate Gradient Benchmark
//
// Contact:
// Michael A. Heroux ( maherou@sandia.gov)
// Jack Dongarra (dongarra@eecs.utk.edu)
// Piotr Luszczek (luszczek@eecs.utk.edu)
//
// ******************************************... | [
"luszczek@icl.utk.edu"
] | luszczek@icl.utk.edu |
53f2ad186510fc8391510d211e5de522956e326c | f2e6508b0655b2eb0f62b47a845776a735adf862 | /HellOpenGL - Student/Time.h | c73928f85b262552c57792bf26a88aebe6ca3609 | [] | no_license | Zac-King/HellOpenGL---Student | 137ac740d3b3da9617256bcce13ce6e9ea8d224a | d5718ce9c353d565b5529019158401bec32bb2db | refs/heads/master | 2021-01-22T14:24:49.078087 | 2015-02-20T05:59:05 | 2015-02-20T05:59:05 | 29,701,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | h | #pragma once
#include <GLFW\glfw3.h>
#include "Core.h"
class Time : public Core
{
private:
float m_deltaTime, m_totalTime;
Time():m_deltaTime(0), m_totalTime(0) {}
protected:
bool init() { glfwSetTime(0); return true; }
bool step()
{
float currentTime = glfwGetTime();
m_deltaTime = currentTime - m_totalTime;... | [
"thebrokekiller@yahoo.com"
] | thebrokekiller@yahoo.com |
e6f890661d794dc71a583f55d8f196fe1ae2dc1d | d41973fab9da00ad56f557f5caac0da259c225ba | /Assignment_05/Assign_05_01 - Paycheck/Assign_05_01 - Paycheck/stdafx.cpp | 71f00ef973cea2a9f47a9172bd8c0fd4076fd236 | [] | no_license | taquayle/ITAD123 | d4505785db492982032f849ff18e3a4bb01030ff | 8d4f5455864a69d0e5b1b01bca7040599748efcb | refs/heads/master | 2020-04-06T06:23:29.701233 | 2017-02-23T09:23:33 | 2017-02-23T09:23:33 | 82,909,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Assign_05_01 - Paycheck.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"taquayle@uw.edu"
] | taquayle@uw.edu |
4d9d840de557d99b5b827f2b1a103865e241436c | 5edff52141bb25c0fdf8cb55c66f2df71d3f00b9 | /19. 22.02.2021 - Чтение бинарных файлов/2. Home work/Project1/Project1/task4.cpp | 91061b49b233ff746e5adbdca4d9824f738ad311 | [] | no_license | MikhailGoriachev/C-C | 78e9597e3b5dce6b4086ddf9056545b49af8f462 | 3ef464aa030788c21c49d1d3983a7b5330250b02 | refs/heads/master | 2023-08-25T18:48:26.464614 | 2021-10-20T10:24:20 | 2021-10-20T10:24:20 | 419,278,130 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,425 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
// анализация файла в буфере
void analysis(char buff[], size_t count[], char lett[], long size);
// вывод результата
void outResult(size_t count[], char lett[]);
void task4()
{
// 4. Пользователь вводит имя файла, программа подсчитывает част... | [
"mishagor228@gmail.com"
] | mishagor228@gmail.com |
290848010bdc941a424e45bfbf7b33f9e0dd555c | 7a5790618c23cde39aaa833cb8fdb986298b0850 | /57_DeleteDuplicatedListNode.cpp | 39864dd26b4e1fb9850bfc8147cd774240d34db9 | [] | no_license | keezen/CodingInterviews | 399d17374a08adad9939a6f70298f1e3be0bddba | 8e82ba5c47c136751c8984ad9103921ecf0a2f3c | refs/heads/master | 2020-04-28T08:18:11.933454 | 2019-03-12T02:45:16 | 2019-03-12T02:45:16 | 175,121,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | cpp | # include <iostream>
# include <cstdlib>
# include <vector>
# include <limits>
using namespace std;
struct ListNode
{
int val;
ListNode* next;
ListNode(int x) // struct的构造函数
: val(x), next(NULL)
{}
};
void display_list(ListNode* head)
{
if (head == NULL)
return;
for(ListNode*... | [
"noreply@github.com"
] | keezen.noreply@github.com |
c2c897a4ca3d9c252dae9689394b0b64096af7ea | 2c6aedfc3e5e641ce734d85cb220aa9f241e48b3 | /UVa Solved Problems/Graph/UVa-00414.cpp | 7b8bc7d38313755b49527ebfff6be8655f194efc | [] | no_license | itadakimatsu97/CompetitiveProgrammingMaterials | e4226dacce085bdb4e10022bf77b0c950ba622a4 | 1d7f4cb7697293271c4777eb3494eecd87bb6ad5 | refs/heads/main | 2023-04-11T03:55:46.762498 | 2021-04-29T10:54:43 | 2021-04-29T10:54:43 | 348,260,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | cpp | #include<bits/stdc++.h>
using namespace std;
/****** Template of MACRO/CONSTANT *****/
#define fi first
#define se second
#define all(x) (x).begin(), (x).end() //Forward traversal
#define rall(x) (x).rbegin, (x).rend() //reverse traversal
#define present(c, x) ((c).find(x) != (c).end())
#define sz(x) (x.size())
#de... | [
"tuan2.le@lge.com"
] | tuan2.le@lge.com |
f8ceb450514ed82c139c523a12a17b4fa4fd757e | aedec0779dca9bf78daeeb7b30b0fe02dee139dc | /Modules/Transformation/include/mirtk/RigidTransformation.h | 9e920a18ea2450ca5db6a61789e2e2723952aff5 | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BioMedIA/MIRTK | ca92f52b60f7db98c16940cd427a898a461f856c | 973ce2fe3f9508dec68892dbf97cca39067aa3d6 | refs/heads/master | 2022-08-08T01:05:11.841458 | 2022-07-28T00:03:25 | 2022-07-28T10:18:00 | 48,962,880 | 171 | 78 | Apache-2.0 | 2022-07-28T10:18:01 | 2016-01-03T22:25:55 | C++ | UTF-8 | C++ | false | false | 9,738 | h | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... | [
"andreas.schuh.84@gmail.com"
] | andreas.schuh.84@gmail.com |
b13f8572a5a8db52e1a8bed176a83c84f706a582 | 071c53728c400c5486ada97482a921ae5ef80583 | /prerequisites/C++/ConC2/hello2.cpp | dd65bd8bddc60850fd94af7b2754b24e53ce55c9 | [] | no_license | 0xchamin/HPC-LiDAR | 6c2ca24fe99bf0e5fc8e4cc2aea28d8199fe6bd3 | 615f6c196148857b4df6683dd306cf190e5d0520 | refs/heads/master | 2020-04-11T22:41:06.153766 | 2019-03-11T16:50:43 | 2019-03-11T16:50:43 | 162,144,276 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include <iostream>
#include <thread>
#include <fork2>
long b1 = 0;
long b2 = 0;
long j = 0;
fork2([&] {
// first branch
b1 = 1;
}, [&] {
// second branch
b2 = 2;
});
// join point
j = b1 + b2;
std::cout << "b1 = " << b1 << "; b2 = " << b2 << "; ";
std::cout << "j = " << j << ";" << std::endl; | [
"chmk90@gmail.com"
] | chmk90@gmail.com |
56c3f334ca26af32d661db8d0c2c67c941bad286 | 1673fddc4307dc9703a93bdef55df3ecd3f2efbd | /zetavm_snapshots/zetavm_0/vm/runtime.h | 98965d859920a1d9d58af5058e897483a68f66b1 | [
"BSD-3-Clause"
] | permissive | openjamoses/projects_snapshots_1 | 69e77c20e72d6d3e65faba21a51a2adb18fa7bb4 | a6aea1a68044968681068cd16d119c231e45d7e2 | refs/heads/master | 2022-12-17T19:51:29.159524 | 2020-09-26T23:30:46 | 2020-09-26T23:30:46 | 298,916,205 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,896 | h | #pragma once
#include <cstdint>
#include <string>
/// Type tag, 8 bits
typedef uint8_t Tag;
/// Heap pointer type
typedef uint8_t* refptr;
/// Type tag constants
const Tag TAG_UNDEF = 0;
const Tag TAG_BOOL = 1;
const Tag TAG_INT64 = 2;
const Tag TAG_FLOAT32 = 3;
const Tag TAG_FLOAT64 = 4;
const Tag... | [
"mosesopenja@Mosess-MacBook-Air.local"
] | mosesopenja@Mosess-MacBook-Air.local |
d5e9b053eaaa5a01a68ab0c44c0fe5b4556428c7 | 8c5f7ef81a92887fcadfe9ef0c62db5d68d49659 | /src/include/guinsoodb/planner/binder.hpp | 19a8a63590befa2e0f899b14e02fc6690c0a8358 | [
"MIT"
] | permissive | xunliu/guinsoodb | 37657f00456a053558e3abc433606bc6113daee5 | 0e90f0743c3b69f8a8c2c03441f5bb1232ffbcf0 | refs/heads/main | 2023-04-10T19:53:35.624158 | 2021-04-21T03:25:44 | 2021-04-21T03:25:44 | 378,399,976 | 0 | 1 | MIT | 2021-06-19T11:51:49 | 2021-06-19T11:51:48 | null | UTF-8 | C++ | false | false | 9,953 | hpp | //===----------------------------------------------------------------------===//
// GuinsooDB
//
// guinsoodb/planner/binder.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "guinsoodb/common/unordered_map.hpp"
#include "guinsoodb... | [
"bqjimaster@gmail.com"
] | bqjimaster@gmail.com |
622fd04ac4aaf19b8b0934b4854c3e03c6a490e7 | d30787efe95c6b27d988df64fb487dd01658fb77 | /Source/Tema2/Playground.h | 4503979f8477721bbb6045f0eea1ca937d2d25d4 | [
"MIT"
] | permissive | cheez3d/acs-computer-graphics | 923fce2b68f0a53c144aefb184ad0c2d82542105 | 3960639575bc70214f8976abae3270e5c32b985c | refs/heads/master | 2023-03-25T20:58:54.169414 | 2021-03-22T02:42:10 | 2021-03-22T02:42:10 | 350,171,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,961 | h | #pragma once
#include "Scene3D.h"
#include <chrono>
#include <list>
#include <vector>
namespace Skyroads {
class Playground final : public Scene3D {
public:
static inline float const LIGHT_Y = 5;
private:
glm::vec3 light;
Player* player;
FuelIndicator* fuelIndicator;
... | [
"andrei.st03@gmail.com"
] | andrei.st03@gmail.com |
7feeda37ca97e5db42398b88b27254fc446b001a | 64d8f4e2b19f8dbdf3021d77af5173b5fa432384 | /MULTI/casa/ldr/LDR_Definitivo.ino | 6eaafcf61c7bf7ca2048f3b0f6084f5e73ce9cdb | [] | no_license | jaime2m1/A-HOME | 76ba4317c08fa790e72c79fa19667c1f4b1540c6 | 8c158867223b52173840f417ddabd012143901af | refs/heads/master | 2021-06-10T00:43:47.173323 | 2021-04-09T16:00:56 | 2021-04-09T16:00:56 | 159,738,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | ino | void setup() {
pinMode(12,OUTPUT);
pinMode(11,OUTPUT);
pinMode(10,OUTPUT);
pinMode(9,OUTPUT);
pinMode(8,OUTPUT);
pinMode(7,OUTPUT);
pinMode(6,OUTPUT);
pinMode(5,OUTPUT);
}
void loop() {
int led0;
led0 = analogRead (0);
int led1;
led1 = analogRead (1);
int led2;
led2 = analogRead (2);
int led3;
led3 = analogRead (... | [
"noreply@github.com"
] | jaime2m1.noreply@github.com |
528f1e7d22074064ba5dfe9967c57ca7b38dc169 | 870ec854874c0bce93865c23101a9a4682be462a | /kernel/memory/physical_page.h | dedb0f5788896f4dc8ade7dc2509d5aa299274da | [] | no_license | wxuefei/mos-multiboot2 | d4a8b656287936593291fe1a20d1d3b3008095de | b0685674b25f156b8efb0fe9408944ee29f9bf31 | refs/heads/master | 2023-03-20T17:49:37.526289 | 2020-09-21T16:21:32 | 2020-09-21T16:21:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | h | #pragma once
#include <std/stdint.h>
#include <std/list.h>
#define PAGE_OFFSET 0xFFFFFFFF00000000
#define Virt_To_Phy(addr) ((uint8_t *)(addr)-PAGE_OFFSET)
#define Phy_To_Virt(addr) ((uint8_t *)((uint8_t *)(addr) + PAGE_OFFSET))
#define PAGE_1G_SHIFT 30
#define PAGE_2M_SHIFT 21
#define PAGE_4K_SHIFT 12
#define PAGE_2... | [
"liuminghao233@gmail.com"
] | liuminghao233@gmail.com |
d09b9e47ac4431425aa29cf80cf9567390321e6a | 64e62b04d86c1d772299cc4274cc6f4da61425f4 | /chargerII/CommonCode/BootLoader/AVROSP/Source/AVRProgrammer.cpp | d6eeba1e3053870e7d507291ca38d59d7dcf9694 | [] | no_license | jason-vanaardt/scoubi | a279a33e751e71d0a86f24ccfa9b8f54a9602135 | 6a94bef9ed8641972000294cf4b0c5473a695b94 | refs/heads/master | 2022-11-22T21:15:53.011979 | 2020-07-27T21:55:23 | 2020-07-27T21:55:23 | 282,802,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | /*****************************************************************************
*
* Atmel Corporation
*
* File : AVRProgrammer.cpp
* Compiler : Dev-C++ 4.9.8.0 - http://bloodshed.net/dev/
* Revision : $Revision: 1.8 $
* Date : $Date: Friday, July 09, 2004 06:35:28 UTC $
* Upda... | [
"jason.vanaardt@gmail.com"
] | jason.vanaardt@gmail.com |
466255b6f77f29b2ada156d753757b5d79f7cdc2 | ce6307e1a1d49b0d73a7247d9b330ef7deb91577 | /src/AliAnaSelector.cxx | 8a5ad842b93860f2e94f02eb553fc85fcd6a949c | [] | no_license | qgp/aliana | e32c96b8f678050bbd9d286476de3a0e3eae4c05 | 6c4b12db8eaed2f5c3f80fcddbb836e2e7a06d1f | refs/heads/master | 2021-01-13T08:10:29.953518 | 2016-11-20T14:01:25 | 2016-11-20T14:01:25 | 71,718,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,549 | cxx | #include <cstdio>
#include <cstdarg>
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include "THn.h"
#include "AliVTrack.h"
#include "TCanvas.h"
#include "AliAnaSelector.h"
AliAnaSelector::AliAnaSelector(TTree*) :
TSelector()
{
}
AliAnaSelector::~AliAnaSelector()
{
}
AliAnaSelector *A... | [
"jochen.klein@cern.ch"
] | jochen.klein@cern.ch |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.