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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6c148534489fbad7695b9cddcf17bbe4826fcf8a | 68a877bfe749fc15e91710c550918bf86516aba6 | /Lab Exercise 2.4.2020/problem1.cpp | af41ccedd6139d1c677d0e67070dbc4144e8e655 | [] | no_license | nmessa/CPP | 086c83aa7c7c63c9cfdad1dc34f341a8835fff1a | 8b79da46738f685b308bfe06e2b9397bfc76469d | refs/heads/master | 2021-07-12T11:04:22.667003 | 2020-08-29T22:13:06 | 2020-08-29T22:13:06 | 195,992,455 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | cpp | //Lab Exercise 2.4.2020 Problem 1
//Author: nmessa
#include <iostream>
#include <string>
using namespace std;
int main()
{
int number, units, tens;
string roman = "";
cout << "Enter a number from 1 - 99: ";
cin >> number;
//split number into units and tens components
units = number % 10;
tens ... | [
"noreply@github.com"
] | nmessa.noreply@github.com |
35c03bdeee2bd79f306cd38878e70290ed108ea1 | 7031674a2e4d0cb17dc22f3d97fda935a396a804 | /Source/Local_Tanks/Public/TankPlayerController.h | 2630f418debbad628b3132a37145d1409e742977 | [] | no_license | Tureebluh/BattleTank | 7207f7ef4494aa5ff0fe0334f88856a00ffa425a | 1897155ad9daed9caf1d0072c8e84c95cfd355cc | refs/heads/master | 2022-04-02T16:42:11.797117 | 2020-01-22T00:30:31 | 2020-01-22T00:30:31 | 233,994,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "TankPlayerController.generated.h"
class ATank;
/**
*
*/
UCLASS()
class LOCAL_TANKS_API ATankPlayerController : public APlayerController
{
GEN... | [
"jarek.thomas@outlook.com"
] | jarek.thomas@outlook.com |
3c999f5eafc9d6c9c8be498bd6deb6cb03b59697 | a064771580b7a76be1ad37b689cc0c4bfa8bbdab | /TemaLaborator10/Source.cpp | 0cb52af32e655691a92cc3087a24c8916231672c | [] | no_license | Serj98/IEP | ab0ede0b9ef4133988452fd4e51b4331cc0c94e1 | 23de5c85c8a37cf005d20b2c258f6feb5f6ecfe0 | refs/heads/main | 2023-01-30T12:19:34.926527 | 2020-12-17T22:58:03 | 2020-12-17T22:58:03 | 302,349,874 | 0 | 0 | null | 2020-10-23T10:56:33 | 2020-10-08T13:29:33 | null | UTF-8 | C++ | false | false | 3,286 | cpp | #include <iostream>
#include<list>
#include<string>
#include<iterator>
using namespace std;
int countGainiStrut=0;
int countGaini=0;
class Pasare
{
public:
virtual void zboara() = 0;
virtual void sunet() = 0;
};
class Papagal : public Pasare
{
list<string> cuvinte;
int distanta;
strin... | [
"noreply@github.com"
] | Serj98.noreply@github.com |
3b2c688266e1f2f997f0ca3965119304a079166e | bc7ea13d2ee61bdda731bbfc6b64d9d15b82eb22 | /Engine/D3D11Backend.cpp | 60fe0a5bfec65cf4ecce30bf5abdbb6392dd333c | [] | no_license | albinopapa/D3D10_Fallback_ChiliFramework | 5807ef025f531d78e5e2aebc4db12da36dc64d6d | c8e3b3c965a95b60888e8f104eb603d05d555317 | refs/heads/master | 2020-03-21T15:35:18.935584 | 2018-06-26T21:42:54 | 2018-06-26T21:42:54 | 138,721,375 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,958 | cpp | #include "D3D11Backend.h"
#include "Graphics.h"
#include <assert.h>
#include <d3dcompiler.h>
#pragma comment( lib,"d3d11.lib" )
#pragma comment( lib,"d3dcompiler.lib")
#ifndef CHILI_GFX_EXCEPTION
#define CHILI_GFX_EXCEPTION( hr,note ) D3DBackend::Exception( hr,note,_CRT_WIDE(__FILE__),__LINE__ )
#endif
using Microso... | [
"rvpjosh@yahoo.com"
] | rvpjosh@yahoo.com |
5ddc69ba03cc87cda4df6b0d61fea31b602a63f8 | 7760be625b1adc1744b499cc4d25275697a9b669 | /garden_manager.ino | 8c717c31ce4f274dd92d1375767b93d784905c2f | [
"MIT"
] | permissive | HiccupinGminor/garden-manager | 58d453b667e49556cfb596f5618301784ce07a44 | 0abd733959a736972051ffa9705e343f7c900764 | refs/heads/master | 2021-01-15T09:32:50.093075 | 2014-10-22T06:28:43 | 2014-10-22T06:28:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,339 | ino | /***************************************************
This is an example for the Adafruit CC3000 Wifi Breakout & Shield
Designed specifically to work with the Adafruit WiFi products:
----> https://www.adafruit.com/products/1469
Adafruit invests time and resources providing this open source code,
please sup... | [
"hiccupinGminor@gmail.com"
] | hiccupinGminor@gmail.com |
1dd1f3811d3273d338cf63a4652e5e8c73e67dc9 | b027eedbdb8aae6605c58965526eb85ca954792f | /src/configdialog.h | d79d298429b9a73ad0f3372a35448f89bce8185b | [] | no_license | BigRedEye/PixelEditor | 830bb45a02714a4fcb4f33cf42874ee1512da896 | 89a42766df0f80e12476159f52ea3a14f001785d | refs/heads/master | 2021-01-16T18:49:34.739143 | 2017-08-13T11:57:50 | 2017-08-13T11:57:50 | 100,121,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #ifndef CONFIGDIALOG_H
#define CONFIGDIALOG_H
#include <QDialog>
namespace Ui {
class ConfigDialog;
}
class ConfigDialog : public QDialog
{
Q_OBJECT
public:
explicit ConfigDialog(QWidget *parent = 0);
~ConfigDialog();
int getTheme() const;
private slots:
void on_LightThemeButton_cl... | [
"skvor.sm@gmail.com"
] | skvor.sm@gmail.com |
a4c2075b149ff1fd700eaa87b9f3f66285e7595d | a8fa56874784c26ee268b0a0d14c69ee27bf2905 | /source/apps/quadwar/qw_factory.h | 66713a9fa2a882e184caa9da19199d12cb06b0b4 | [
"MIT"
] | permissive | ogryzko/laplace | 00d89ee0b68153d1470781298009dc7fc61165aa | be63caa0c6d1c4fceab02ab5b41b6d307ef7baaf | refs/heads/main | 2023-08-27T13:36:27.634379 | 2021-09-21T06:17:02 | 2021-09-21T06:17:02 | 416,058,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | /* apps/quadwar/qw_factory.h
*
* Copyright (c) 2021 Mitya Selivanov
*
* This file is part of the Laplace project.
*
* Laplace is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* t... | [
"0x7fffff@guattari.ru"
] | 0x7fffff@guattari.ru |
2036f78f93c5b7a0963acc409e86af51c695b234 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/ui/user_manager.h | 161150a0a6c94892a69ad55518bb9f6b73f16381 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 4,338 | h | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_USER_MANAGER_H_
#define CHROME_BROWSER_UI_USER_MANAGER_H_
#include "base/callback_forward.h"
#include "base/macros.h"
#incl... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
5f8c34ae71784d375c2bdd43e06a47624797c146 | 08ec866f78484b951e80f4444dead0e150d61b9f | /android/external/pdfium/fpdfsdk/include/pdfwindow/PWL_Utils.h | 51514f251362d418812d736fbee07074392364e1 | [
"BSD-3-Clause"
] | permissive | BPI-SINOVOIP/BPI-A83T-Android6 | c7e2fbecb8e50f6cdc3f006d991c783452411258 | e0b8640e89e60371b64f765228b5ee1c35ebd705 | refs/heads/master | 2023-05-08T14:19:15.533806 | 2018-07-04T07:18:58 | 2018-07-04T07:18:58 | 112,411,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,637 | h | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_UTILS_H_
#define FPDFSDK_INCLUDE_PDFWIN... | [
"Justin"
] | Justin |
4ff8f735ae155707521c7794a778dfac6ec7923c | 3cb609503feb9f7f45e7094cf4fed45290cde425 | /Contest_2/B.cpp | a1d387a50872b5528acd0215214e10c602564807 | [] | no_license | BoffinZhang/Hello_World | a1f7374d7d87ddab43b7649eb25a359728f93932 | 8baa15f867300b6f25c078378fae198362c36313 | refs/heads/master | 2020-04-24T13:57:41.432534 | 2019-03-19T03:22:00 | 2019-03-19T03:22:00 | 172,005,086 | 0 | 0 | null | 2019-02-22T06:29:32 | 2019-02-22T06:14:18 | null | UTF-8 | C++ | false | false | 1,001 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
typedef long long ll;
const int MAXM = 100000 + 10;
const int MAXN = 100 + 10;
int dp[MAXM];
int a[MAXN], m[MAXN];
int n,K;
void solve() {
memset(dp, -1, sizeof(dp));
dp[0] = 0;
for (int i ... | [
"noreply@github.com"
] | BoffinZhang.noreply@github.com |
0b7280cd7175aa5c160ef906623e8b0ec51b8b13 | 316ac30a4f49f9d90b0c79d41dab723f5cbacdb7 | /3rdparty/trt_fused_multihead_attention/fp8/fmha_v2_e4m3_256_64_ldgsts_sm90.cubin.cpp | 18f522da7a1213c99400ca53b1927b3b5921d9ef | [
"Apache-2.0"
] | permissive | neevaco/FasterTransformer | 3ea19bf8e3f058079c4ecdbdafd7cfe582f78db8 | 7bb372317da21dc7a898cb0e6e0ce7c11b0b38ec | refs/heads/corvo | 2023-08-31T05:21:31.325030 | 2023-08-30T23:14:57 | 2023-08-30T23:14:57 | 610,989,639 | 0 | 0 | Apache-2.0 | 2023-09-12T04:05:16 | 2023-03-07T22:08:10 | C++ | UTF-8 | C++ | false | false | 1,917,888 | cpp | /*
* Copyright (c) 2022-2023, NVIDIA CORPORATION. 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 b... | [
"noreply@github.com"
] | neevaco.noreply@github.com |
d47689977af1923fa8c099549484456b737f7ad3 | 7526fdcac9fec57a8706ebfc9d9f953226371a90 | /abc 157/B.cpp | 3b19942908636c59af397af6f44bd72b98e8d630 | [] | no_license | towhid1zaman/atcoder-solve | f7fa34a574be178948a10feabbc7a216f59bcf17 | c9f295db5f49a3fad25d099caf19fb03052c4864 | refs/heads/master | 2020-12-22T11:02:33.744364 | 2020-06-22T01:17:53 | 2020-06-22T01:17:53 | 236,760,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | cpp | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;typedef vector<ll> vll;
#define fill(a) memset(a, 0, sizeof (a))
#define all(v) (v).begin(),(v).end()
#define sp(k) cout<<setprecision(k)<<fixed;
#define rep(i,a) for(int i=0; i<a;i++)
#de... | [
"noreply@github.com"
] | towhid1zaman.noreply@github.com |
e332a743f9af51a54b5e53a8d328968e499dcd22 | 6d72a0c21817704594dd81284380f9bb074246b8 | /src/qt/addressbookpage.cpp | fe47c1dc38dd43ffdab64d49332561eb97b13515 | [
"MIT"
] | permissive | bitsex/bitsex | 191c61241fab25c3c609fdb4f1c656fe0612d08c | 2de6d9271b58b6372e89f13d040c574d30ea07ad | refs/heads/master | 2020-04-09T18:45:51.885921 | 2018-12-05T13:37:20 | 2018-12-05T13:37:20 | 160,523,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,176 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Bitsex developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"root@localhost"
] | root@localhost |
877cde17de2028d30bbfdabb49637d422f462072 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/ui/android/infobars/infobar_container_android.cc | 45e56e01dc93fffbf6ba04df409c54cfa60bd2f3 | [
"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 | 4,113 | 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 "chrome/browser/ui/android/infobars/infobar_container_android.h"
#include "base/android/jni_android.h"
#include "base/logging.h"
#include "base/... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
7d1e446a5d0c259ec140d15626f2963cac621cfc | 1cfeed65b135d0ab987160903a11023a9875a630 | /wpilibcExamples/src/main/cpp/examples/SwerveControllerCommand/include/subsystems/DriveSubsystem.h | db4623f8aa3984edd195ca6606f7885b01b42731 | [
"BSD-3-Clause"
] | permissive | epicmonky/allwpilib | b82006e3ce67932c02ed710528cdc248cae8ac7a | 65eab93527bcd87964fc229c6f9c2b29c983c744 | refs/heads/master | 2021-01-06T19:12:19.771548 | 2020-02-15T20:36:16 | 2020-02-15T20:36:16 | 241,454,073 | 1 | 0 | NOASSERTION | 2020-02-18T19:55:02 | 2020-02-18T19:55:02 | null | UTF-8 | C++ | false | false | 3,702 | h | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"johnson.peter@gmail.com"
] | johnson.peter@gmail.com |
45d6466961e4516fdebcc08a323c473ae11e4fc3 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/api/datachannelinterface.h | c3e0e230f679d60105ea6d800bcd45576d3b0c11 | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 6,727 | h | /*
* Copyright 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"slacealic@nate.com"
] | slacealic@nate.com |
465627aef55a4074c4f461a25aba16af123f7b6c | 66dfa5fd4b45da193737b689ba5560d5708f049d | /source/LibFgBase/src/FgRandom.hpp | ab9424b6840ab0c30051826bd3b457d33eabc432 | [
"MIT"
] | permissive | lonelyWaiting/FaceGenBaseLibrary | 4a59d2a84d3416ac4253c912e09b76891f9d8aeb | b3594184e66f30cb7377ede4039b6a7085b8c9de | refs/heads/master | 2020-12-25T22:07:21.105068 | 2016-05-17T18:25:42 | 2016-05-17T18:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | hpp | //
// Copyright (c) 2015 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
// Authors: Andrew Beatty
// Created: Jan 27, 2009
//
#ifndef FGRANDOM_HPP
#define FGRANDOM_HPP
#... | [
"abeatty@facegen.com"
] | abeatty@facegen.com |
cb5566f0d993f7857459295dd8b675b7f141715e | 11fd3439844c7e9aaa849bcf9eb93f63b8dacfeb | /uva/469a/main.cpp | 9301dcab5449e1a4a4d9fa0eaefff12e21d499ed | [] | no_license | sanesedu/CompetitiveProgramming | b960b8852e88585a79967344d015bef99efa36f0 | 5feae374a04174062d6996f60210ec340d7295e9 | refs/heads/master | 2023-01-12T07:47:18.402228 | 2020-11-18T09:05:13 | 2020-11-18T09:05:13 | 274,455,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,696 | cpp |
#include <bits/stdc++.h>
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define fori(i, n) for(int i = 0; i < (int)(n); ++i)
#define forid(i, n) for(int i = (int)(n) - 1; i >= 0; --i)
#define forl(i, n) for(long long i = 0; i < (long long)(n); ++i)
#define forld(i, n) for(long long i = (long long)(n) - 1;... | [
"sanesedu@gmail.com"
] | sanesedu@gmail.com |
81b1bf4275e63301939aca85d4d11f6d2fd85770 | 025f021b80a10416c51b591a671b79264a3d28bf | /Alpini/alpini.cpp | 1fc07edeb5938e4a6afc929af7fa9a8190e3973a | [] | no_license | AndreiDiaconu97/AlgozExercises | d99f2becf23ba9b8eb3a0de397f19c05b05fafbe | 680c3a1ccacdff9a9f1f3a23bec497cfbafe278f | refs/heads/master | 2021-09-20T09:35:19.729914 | 2018-08-07T19:56:02 | 2018-08-07T19:56:02 | 112,322,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,714 | cpp | #include <fstream>
#include <iostream>
#include <map>
#include <unordered_set>
#include <vector>
using namespace std;
struct Node {
int value = 0;
//int level = 0;
//int strongVics = 0;
int gr = 0;
int grLvl = 0;
//int passedFound = 0;
vector<Node *> vic;
bool isVisited = false;
... | [
"noreply@github.com"
] | AndreiDiaconu97.noreply@github.com |
7bdee32657a737c67076727b5ba1eaa4618830fa | 43a99118b1de3259020247a5b4d9c52093041637 | /FitExtra.cpp | 77a4352c8e3edb0217e99540449393548cb4299b | [] | no_license | pd0220/QCD_Analysis | 72cc792e99ebafcfef0ae1d779b7d9da3c5ea0bf | e907bf986e071b3bb8545b4d8a9787c48036a5bc | refs/heads/main | 2023-08-23T06:44:58.865174 | 2021-09-30T22:02:13 | 2021-09-30T22:02:13 | 332,707,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,112 | cpp | // fitting sector coefficients using lattice QCD simulation results
// including used header
#include "AnalysisTools.hh"
// ------------------------------------------------------------------------------------------------------------
// PDG file name (hadron list)
std::string const PDG = "../PDG.txt";
// -----------... | [
"david.pesznyak@gmail.com"
] | david.pesznyak@gmail.com |
88b9452d27a30728c2253a48793d7cb33aa03a8f | b39437582ce07ae9dd19f2742dd5be5ad89d5e8d | /thpool/worker.cpp | ce691b6fccd6a25c2743664dc1e6bbe35f8be2a0 | [] | no_license | fixee/workspace | 014ed90a2be0a977a5da55e4343e30f6bd603355 | 41b9ffc5844cdca7884667015c254737224b30ae | refs/heads/master | 2021-01-10T11:29:00.975855 | 2015-12-06T03:32:59 | 2015-12-06T03:32:59 | 47,409,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | #include "worker.h"
#include "threadpool.h"
#include "tasklist.h"
worker::worker()
{
}
worker::~worker()
{
}
void worker::init( threadpool *_pool )
{
pool = _pool;
pthread_create( &tid, NULL, worker::work, pool );
pthread_detach( tid );
}
void *worker::work( void *data )
{
threadpool *pool = (threadpool *)data... | [
"xiongfei@localhost.(none)"
] | xiongfei@localhost.(none) |
f6805da00f9ff3217d074b16e382db51d243a202 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14233/function14233_schedule_3/function14233_schedule_3.cpp | c2d20a24118bb8d93b4a6164a247d0e509769229 | [] | 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,162 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14233_schedule_3");
constant c0("c0", 128), c1("c1", 64), c2("c2", 128), c3("c3", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i100("i100", 2, c0 - 2), i101("... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
4dab48be23d94e1e476a1a0b6ebac9cba7ccac71 | 8bf867b5e70d65b68d7892ca729878e4178d7d50 | /Simulation/onCourtPlayers.cpp | d7f87e751dabcc1ca8065f64636939e681ace314 | [] | no_license | LeBrendanJames/NBA_Simulation | 318844cadae6d879e04382e00c2c10f4e44825c3 | 55dd49a24e3bfbedb34d3de5520eac91e64b9ed2 | refs/heads/master | 2020-03-27T13:06:36.217922 | 2018-12-20T13:04:18 | 2018-12-20T13:04:18 | 146,590,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,831 | cpp |
#include "onCourtPlayers.h"
OnCourtPlayers::OnCourtPlayers(Lineup * homeLineup, Lineup * awayLineup){
this->homeLineup = homeLineup;
this->awayLineup = awayLineup;
homeStats = new AdvStats *[5];
for (int i = 0; i < 5; i++){
homeStats[i] = new AdvStats;
}
awayStats = new AdvStats *[5];
for (... | [
"noreply@github.com"
] | LeBrendanJames.noreply@github.com |
2e339c657b32da81726739bb5e043f20bb1b19dc | f68ea62b5d597b6d1ca9796a66730442389ff946 | /openfst-1.6.1/src/include/fst/vector-fst.h | 2785c40ab4f8844ce4fcfe6491af903debba8f6c | [
"Apache-2.0"
] | permissive | xylv/openfst | 306f9ca9f6d2b432d32f47453d3fb4d5450fcdbf | fed3923d636484f4013302abbbf826a601e0c827 | refs/heads/openfst-1.6.1 | 2021-01-22T05:15:54.973190 | 2017-02-11T07:04:37 | 2017-02-11T07:04:37 | 81,636,510 | 0 | 0 | null | 2017-02-11T07:09:17 | 2017-02-11T06:53:54 | null | UTF-8 | C++ | false | false | 22,347 | h | // See www.openfst.org for extensive documentation on this weighted
// finite-state transducer library.
//
// Simple concrete, mutable FST whose states and arcs are stored in STL vectors.
#ifndef FST_LIB_VECTOR_FST_H_
#define FST_LIB_VECTOR_FST_H_
#include <string>
#include <vector>
#include <fst/log.h>
#include <fs... | [
"xiangyulv@gmail.com"
] | xiangyulv@gmail.com |
8ef4be543a93819256426c654b2269963fd4e101 | 94f9171e62aa08640e880e1fafc28ed16aba179c | /cryptoalg/cryptoalg/prime_tests.cpp | 80b95a78faeb17c06a0696fbfd6a462af410f8df | [] | no_license | sspcs/cryptalgo | 80cead7ed8b947ac04b9392ade169d48f685be22 | 9b2d6c8c95b8610a6beee134ae51dba8dac9dbf8 | refs/heads/master | 2021-01-10T03:25:41.666465 | 2015-11-28T12:31:33 | 2015-11-28T12:31:33 | 47,400,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include "prime_tests.h"
#include "prime_tests.h"
#include <algorithm>
#include <cmath>
bool PrimeTest::is_prime(long long a)
{
int sr = sqrt(a);
for (int i = 2; i <= sr; ++i)
{
if (a%i == 0)
return false;
}
return true;
}
| [
"3littlelan@gmail.com"
] | 3littlelan@gmail.com |
64933ce7b6789622e94f94976fd811fb74ac7e90 | 1a65adea801d4bbd2510006830d1f7573a5c9434 | /version2/sxEngine/system/win32/OS.cpp | 9d6ce562e249d9330d4d3a74200abfc88016eb81 | [] | no_license | seganx/old-engine | 4ed9d6165a6ed884b9e44cd10e2c451dc169d543 | e5b9fbc07632c870acb96b8448b5c9591111080c | refs/heads/master | 2020-08-08T21:23:26.885808 | 2019-10-09T13:18:03 | 2019-10-09T13:18:03 | 213,920,786 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,798 | cpp | #if defined(_WIN32)
#include "../OS.h"
#include "Win6.h"
#include <time.h>
#include <intrin.h>
#include <powrprof.h>
#include <ShlObj.h>
#include <mmsystem.h>
#pragma comment( lib, "winmm.lib" )
#ifndef POWER_PROFILER_LOADED
#define POWER_PROFILER_LOADED
#pragma comment(lib, "shell32.lib")
#pragma c... | [
"seganx@38cbe2c2-61fc-4d10-a75b-7a9200028551"
] | seganx@38cbe2c2-61fc-4d10-a75b-7a9200028551 |
1cf8d16e992b8f45b18522ef48db2464128f379b | 9d0f98296e96ea88d7a550d614d8a2f2807ede07 | /c++/sort/merge.cpp | 78082d562c01db20c532d577098865bdff44a33b | [] | no_license | luckyzachary/Algorithms | 7566d629d31283291fab33bb35994a958d4900f4 | e6490b935685209ad224a8c5173c2097b441019a | refs/heads/master | 2020-03-18T06:18:19.532653 | 2018-12-13T06:14:29 | 2018-12-13T06:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | #define TEST_TIMES 100
#include <gtest/gtest.h>
#include <cstdlib>
#include <vector>
#include "../tools.cpp"
using namespace std;
vector<int> mergeSort(vector<int> &iArr, vector<int> &tmpArr, int left, int right) {
if (left >= right) {
return iArr;
}
int middle = (left + right) / 2;
mergeSort(i... | [
"ZacharyLu.cn@gmail.com"
] | ZacharyLu.cn@gmail.com |
2940016118b5a2fd4ff05712d590f35bad86652a | 3bb5966ce299b9022efee011f0bee98313ff82cb | /_nodert_generated.cpp | 91484f90c5f754d6ecbd8dffc50872a56341892b | [
"Apache-2.0"
] | permissive | psamit/windows.ui.notifications | a485b94dce6b0df10f7d5bb3e3eb82049182bb8f | 45143e3f3fa4125c30006c4f1ae3fda215dc2054 | refs/heads/master | 2020-11-26T06:51:08.879418 | 2019-12-19T07:38:24 | 2019-12-19T07:38:24 | 228,995,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499,018 | cpp | // Copyright (c) The NodeRT Contributors
// 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
//
// THIS CODE IS PROVIDED O... | [
"23164515+psamit@users.noreply.github.com"
] | 23164515+psamit@users.noreply.github.com |
12288f3804cfffd416d037226949f180429d64c4 | af81857eb14d906c17c177f7cc56973c5c0ea00a | /code/binary/include/binary/exceptions/not_supported_exception.hpp | 3360bc10b4da764807d70ff392b10a9d07d98461 | [
"MIT"
] | permissive | afxres/binary-cxx | 19330ad24a3e7d0c47a5a92061fe08d3263e1d02 | ef84b0d5324c5add5ea8a09340471efc6221f91f | refs/heads/main | 2021-06-22T13:13:07.836073 | 2021-06-14T12:50:46 | 2021-06-14T12:50:46 | 222,613,816 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 244 | hpp | #pragma once
#include "application_exception.hpp"
namespace mikodev::binary::exceptions
{
class not_supported_exception : public application_exception
{
public:
using application_exception::application_exception;
};
}
| [
"stdarg@outlook.com"
] | stdarg@outlook.com |
46b19861e237ad043b103c95262210c1dfcc8c5b | ed15e8e1e24cdfe459d2a92e7e9302fe0746f35d | /heap.cpp | 6331600e46564ced7f5c7a5fa5576566c91ced42 | [] | no_license | thenooz/test | 748eb187d95db114bed0507c617822ba2df21357 | 868dbc2bacf25608694bf0764f4343ff14f90ea6 | refs/heads/master | 2021-01-10T02:28:42.050265 | 2016-03-29T18:12:42 | 2016-03-29T18:12:42 | 49,647,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | #include<iostream>
#include<climits>
using namespace std;
class heap{
int *arr;
int last;
public:
heap(int *a,int b)
{
arr=a;
last=b-1;
}
void heapify(int l);
void show()
{
for(int i=1;i<=last;i++)
cout<<arr[i]<<" ";
}
void sort()
{
for(int i=last;i>0;i--)
{
int temp=arr[i];
arr[i]... | [
"tanujgodar@gmail.com"
] | tanujgodar@gmail.com |
82e70c50fcdfb80b9d9176d6e93a7e9c5d376ed8 | 5b68748686545ab999f0f8b95288470a3a4cf4b7 | /04_구조체/숫자이동/숫자이동/소스.cpp | 48cd11df9043427ce06c524b4514a6cdcc1350d6 | [] | no_license | minji428/C | 371f01d9e27a927b8c17bd330e1749bb522ed748 | 99407cf8946ef0598470bf65662c5a311dcbd7bc | refs/heads/main | 2023-07-01T15:27:36.691616 | 2021-08-10T05:04:12 | 2021-08-10T05:04:12 | 382,676,479 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,032 | cpp | #include <stdio.h>
#include <Windows.h>
struct Game {
int count;
int* game;
int player;
};
void main() {
Game g = { 0 };
g.count = 7;
g.game = new int[g.count];
for (int i = 0; i < g.count; i++) {
g.game[i] = 0;
}
g.player = 3;
g.game[g.player] = 3;
while (1) {
printf("[ ");
for... | [
"noreply@github.com"
] | minji428.noreply@github.com |
4866581f807d2e4b3ad9699e03cf956aa5c3f64a | f3ba51a5d310586a90355deac7bc5edd8c1914de | /DEBUG/TileUIAreaFMAC_DEBUG/bin/android/obj/src/jmSubLibs/genLIB/decoupledLIB/helpers/data/funcs/typedFN/FN_TXTY_VOID.cpp | 9a515e90c20fe924f844a72dae70a0aa2d07bb30 | [] | no_license | J4M4I5M7/JMHAXE_PROJECTS | ebfaf8c4eba6bbd46a81b3a776233e3e90e82424 | 424a8253d93bf9394db4812f5a7a6c422c076d02 | refs/heads/master | 2020-04-25T18:15:50.619718 | 2015-07-09T19:39:25 | 2015-07-09T19:39:25 | 38,839,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,407 | cpp | #include <hxcpp.h>
#ifndef INCLUDED_jmSubLibs_EU
#include <jmSubLibs/EU.h>
#endif
#ifndef INCLUDED_jmSubLibs_genLIB_decoupledLIB_helpers_data_funcs_TypedFunctionBase
#include <jmSubLibs/genLIB/decoupledLIB/helpers/data/funcs/TypedFunctionBase.h>
#endif
#ifndef INCLUDED_jmSubLibs_genLIB_decoupledLIB_helpers_data_funcs_... | [
"J4M4I5M7@hotmail.com"
] | J4M4I5M7@hotmail.com |
e3597fba2eb3e31d33c5669f9dd58604c7993474 | 449411024107f459ed865e8bdbb9c96901bfe9c2 | /example/10.i2c/Eds3231.cpp | c112e834c86d53de1057a7c9bfd7c103a41a7855 | [] | no_license | kookeda/ebox_stm32f1xx | 6baddf109fa9e2676ba4f447e251a02118c860d7 | 1ab908d45674fe3b1aa29775a68f6be4e0e566bc | refs/heads/master | 2021-01-15T11:19:39.908874 | 2016-06-17T03:36:37 | 2016-06-17T03:36:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | cpp | /*
file : *.cpp
author : shentq
version: V1.0
date : 2015/7/5
Copyright 2015 shentq. All Rights Reserved.
*/
//STM32 RUN IN eBox
#include "ebox.h"
#include "ds3231.h"
DS3231 ds(&si2c);
date_time_typedef t;
char time[9];
char date[9];
void setup()
{
ebox_init();
uart3.begin(9600);
ds.begin(400000);
... | [
"995207301@qq.com"
] | 995207301@qq.com |
6ad70afca5df8ba0e96313b190c497ccdb2910d1 | d83c0b74be0e582cc60ebbbc1352e522c149fbc6 | /src/appAutoTrainer/src/evaluator.h | 57c39fb6b2ed08b63420ce6ad49b2758ea4eeea0 | [] | no_license | stepanmracek/face | 89de43cfe3959b1042730c346bdbd56624e768b3 | 45b800821f6cb89b9ccf75e57c5f21ba2d54f760 | refs/heads/master | 2021-01-21T10:08:53.863594 | 2017-05-23T09:41:42 | 2017-05-23T09:41:42 | 6,517,713 | 9 | 7 | null | 2017-05-23T09:41:44 | 2012-11-03T08:39:52 | C++ | UTF-8 | C++ | false | false | 561 | h | #ifndef EVALUATOR_H
#define EVALUATOR_H
#include <string>
#include "faceCommon/biometrics/evaluation.h"
#include "settingsbase.h"
namespace Face {
namespace AutoTrainer {
class Evaluator
{
public:
class Settings : public SettingsBase
{
public:
Settings() {}
Settings(int argc, char *argv[... | [
"stepan.mracek@gmail.com"
] | stepan.mracek@gmail.com |
f912d945b686a585c13f6475117ae0df982ac428 | 4be3fee2ceb649bc36d4146e47de6af4ceb46f5d | /Forelesning 3/Forelesning 3/PlayerCharacterView.h | 659844a20c6a34a5e7c355b1eea5730ece7c4108 | [] | no_license | Esvalvik/Cpp | 71644172a54acacf78729c11753cc469b1a0a84e | 8e5ddace9ccb37ff6aa45be8efca53f87f830e16 | refs/heads/master | 2021-05-10T17:22:58.757840 | 2018-02-06T12:44:10 | 2018-02-06T12:44:10 | 118,604,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | h | #pragma once
class PlayerCharacterView
{
public:
PlayerCharacterView();
~PlayerCharacterView();
void promptAction();
void printStatus();
}; | [
"esv_esv@hotmail.com"
] | esv_esv@hotmail.com |
6e94ca991e443f526f834ebb04b9ec0b493b3589 | 6e346a699492e970ca50ef90a862dc6806d5aad9 | /DepthFirstSolver.cpp | ecd912266d9fe5b5ada39a8b82c8afcb8fcd39c8 | [] | no_license | dkawashima/Code-Samples | a04030aab97c2902c339a5b46cd0a742a37985ad | 8368548af3e496a369410134191a3788c51904b3 | refs/heads/master | 2021-01-13T00:16:25.248180 | 2016-02-15T04:45:02 | 2016-02-15T04:45:02 | 49,401,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,773 | cpp | /**
* @file DepthFirstSolver.cpp
* @author Ellen Price <<eprice@caltech.edu>>
* @version 2.0
* @date 2014-2015
* @copyright see License section
*
* @brief Functions for maze solver that implements depth-first search.
*
* @section License
* Copyright (c) 2014-2015 California Institute of Technology.
* All rig... | [
"dkawashi@caltech.edu"
] | dkawashi@caltech.edu |
ab8a724d2bc45a93c85272b9500d0e327d03487c | d40efadec5724c236f1ec681ac811466fcf848d8 | /branches/fs2_open_3_6_18/code/fred2/fredrender.cpp | 8733264e4a28c765fcc5b920df93559563ff5792 | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,453 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#include "stdafx.h"
#include "FRED.h"
#include "FREDDoc.h"
#include "FRE... | [
"chief1983@387891d4-d844-0410-90c0-e4c51a9137d3"
] | chief1983@387891d4-d844-0410-90c0-e4c51a9137d3 |
7a9bf7530fc285f9dfd46cc86e9a4844f8e0624e | 8780ccca1b878c30d1326049eb9b4fb87a69c9bc | /Drawing_Program.ino | 872e8b3127d5942623d4fef91af75d7ad4245bdc | [] | no_license | AlonBendelac/Drawing_Program | e32f6ab2c902f3d55a393688fc4b83a42826b3c4 | 888704374bb66e4ab47191c8690cee8a1191b42a | refs/heads/master | 2021-01-20T06:54:47.810464 | 2013-02-16T21:46:23 | 2013-02-16T21:46:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | ino | #include <Adafruit_GFX.h>
#include <Adafruit_GFX.cpp>
#include <Joystick.h>
#include <Joystick.cpp>
Adafruit_GFX Screen;
Joystick Joystick;
typedef enum PEN_STATES {PEN_UP, PEN_DOWN};
PEN_STATES pen_state;
// Color definitions
#define BLACK 0x0000
//#define BLUE 0x001F
//#define RED 0xF800
//#define GR... | [
"alon.bendelac@gmail.com"
] | alon.bendelac@gmail.com |
43caa5e62dc1ecb79a57c9906c80c73fd974ee8d | 71786d14693309be4ba11c362fb7e7d514d182ba | /GameTemplate/game/Player/PlayerMove.cpp | c51a12b7b4c6f8ae4bbbce5eb8df20c2bd7985f1 | [] | no_license | konikaru201/Game | bc953a1904e527de531c67a9bb350081bbe61c69 | da79025277385b66671057f703c6f59efe50c517 | refs/heads/master | 2020-12-02T06:35:26.350056 | 2018-07-18T11:53:36 | 2018-07-18T11:53:36 | 96,851,925 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,886 | cpp | #include "stdafx.h"
#include "PlayerMove.h"
#include "Player.h"
#include "myEngine/sound/SoundSource.h"
#include "myEngine/GameObject/GameObjectManager.h"
void PlayerMove::Update()
{
//カメラのリセット中は動かない
if (gameCamera != nullptr && !gameCamera->GetCameraReset()) {
D3DXVECTOR3 moveSpeed = Move();
//ジャンプ中でなければジャンプさ... | [
"a"
] | a |
73d08f1f119c8abe045b22cd28fa8727fd8b27be | 6ef34eb0f4df4ac17bf4a38ff50640087e1137e6 | /src/shaka_scheme/runtime/stdproc/boolean.cpp | 8e03752d8b57202f093e7cc0de848a2442265638 | [] | no_license | 1010jms/shaka-scheme | c1dcb37600d5ba2a9bf58c4bd5d4aed1a504d043 | da8525fa28819eaec3ed88cc2215d4c8d3b162a8 | refs/heads/master | 2021-04-30T16:34:24.519330 | 2018-04-28T02:03:32 | 2018-04-28T02:03:32 | 80,072,898 | 0 | 0 | null | 2017-01-26T00:40:37 | 2017-01-26T00:40:37 | null | UTF-8 | C++ | false | false | 1,580 | cpp | //
// Created by Herman on 2/28/2018.
//
#include "shaka_scheme/runtime/stdproc/boolean.hpp"
namespace shaka {
namespace stdproc {
namespace impl {
Args not_boolean(Args args) {
if (args.size() > 1) {
throw InvalidInputException(1, "not: Too many arguments: +");
}
Args result;
if (args[0]-... | [
"VermillionAzure@users.noreply.github.com"
] | VermillionAzure@users.noreply.github.com |
6cd21b085acb496e535e430a66af6dcf41f2dc00 | 69abb8e61607b94fe3eba900323d90f6fb9fa899 | /RawInputLib/RawInputDeviceManager.h | 06fe68ade7137ceaa2f9fe9104636bac14e8a21c | [
"MIT"
] | permissive | LemonPG/RawInputDemo | 35ab83c95a0d45f3d9c2b0554d9f0d12127f284d | 999ddef3219f3ac85d4062cc1b6161c620a71768 | refs/heads/master | 2023-07-17T16:01:46.681531 | 2021-09-02T15:59:53 | 2021-09-02T15:59:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #pragma once
#include "RawInputDevice.h"
class RawInputDeviceManager
{
public:
RawInputDeviceManager();
~RawInputDeviceManager();
RawInputDeviceManager(RawInputDeviceManager&) = delete;
void operator=(RawInputDeviceManager) = delete;
std::vector<RawInputDevice*> GetRawInputDevices() const;
priv... | [
"dimitriy.ryazantcev@gmail.com"
] | dimitriy.ryazantcev@gmail.com |
87f3585f27c8a13e8986275d072a99ad9e23f03d | ba6e24bf6399c528992a54b3f6fb6aaacd526b42 | /Core/G2RTrigger.cxx | a4141a2ff9fd51bb8b2cc055cb7968fced55e58a | [] | no_license | gypaos/Ganil2Root | f6270f009ede58eeee1c320ca42cde6233ab842e | 7fe84c2d6256ad878ec6c8b796727377c00e0bc9 | refs/heads/master | 2020-05-22T13:22:06.980545 | 2019-04-05T06:38:53 | 2019-04-05T06:38:53 | 14,889,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,278 | cxx | /*****************************************************************************
* Copyright (C) 2008 this file is part of the Ganil2Root Project *
* *
* For the licensing terms see $GANIL2ROOT/Licence *
* F... | [
"matta@lpccaen.in2p3.fr"
] | matta@lpccaen.in2p3.fr |
1f3b92ef247e61c0e1de344ef3e4db74dd42e4b6 | ea4d391f01e6e8c427bc63b73933a59c5929b947 | /Projects/backuper/utils.cpp | c3a81d26b97d6c4c5b37c9e7a635594fc09b92b4 | [] | no_license | alhunor/projects | 6091e53b621db610f9d0c65df73a884591b99ff0 | dd626aa855fd7f176c882737ffcad5c527015e01 | refs/heads/master | 2021-04-15T19:01:21.857954 | 2019-03-19T13:19:21 | 2019-03-19T13:19:21 | 33,770,346 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,611 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <boost/regex.hpp>
#include <fstream>
#include <hash.h> //3rdParty
#include <string.h>
#include <windows.h>
#include "utils.h"
fileInfoT::fileInfoT(boost::shared_ptr<wchar_t> _filename, boost::shared_ptr<wchar_t> rpath, __int64 _lastChanged, int _size)
: filename(_fi... | [
"alhunor@yahoo.com"
] | alhunor@yahoo.com |
976ff46d50cf0122a31a1711ebbc5794b06419c1 | 87e76d6c4a94c13c72645a6b1e0c3cd98d56f422 | /tests/tests.h | 3166acc1662cc0509751618bcc4bb75c16de9b31 | [
"MIT"
] | permissive | davidgraeff/modern_cpp_image_to_jpeg | 19c1a0a4ac28b0c27fa1fc8524925f8338897cd8 | 889e37e051d12cf2430f0ffe75fd94bd1a44eb88 | refs/heads/master | 2021-07-14T14:16:44.381451 | 2020-01-14T09:15:52 | 2020-01-14T09:15:52 | 233,793,849 | 0 | 1 | MIT | 2021-03-02T07:22:04 | 2020-01-14T08:32:19 | C++ | UTF-8 | C++ | false | false | 2,805 | h | ///! Small test harness. No C-ism used, but requires C++20 (C++17 experimental) std::source_location.
#include <string>
#include <stdexcept>
#include <experimental/source_location>
constexpr void ASSERT_THROW(bool condition, const std::experimental::source_location& location = std::experimental::source_location::curre... | [
"david.graeff@web.de"
] | david.graeff@web.de |
4b99e442b1ce3393ccb4f5b6f095b303b0f6d243 | 5a380cbb0e6d5d57c80ae710d8bf5e39b06bfb5e | /Game/boost/boost/mpl/set/set10_c.hpp | 00a08abff06861282cb867c48bb77e083aee3780 | [
"MIT"
] | permissive | jxianglonggg/SourceCodeGameTLBB | afcf222603c20651db02716f8c7dac80f9aa14e8 | e3cea615b06761c2098a05427a5f41c236b71bf7 | refs/heads/master | 2023-05-04T02:25:08.807563 | 2021-05-18T06:02:37 | 2021-05-18T06:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | hpp |
#ifndef BOOST_MPL_SET_SET10_C_HPP_INCLUDED
#define BOOST_MPL_SET_SET10_C_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
// Copyright David Abrahams 2003-2004
//
// 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_... | [
"shacojx001@gmail.com"
] | shacojx001@gmail.com |
9c4c87f3281a7fe670aa3b6f3c4a6142e55e3dc8 | e6f347aee11626d2ed01102ed4feabf98506fe42 | /include/CCRakNetSlidingWindow.h | 1c08bbc23519021ec12a605e69b88b22f310c6d0 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | zhiyuanjia/RakNet | 81c33985747ba87be1ade23d70eb971c0e88a62f | 4453eeb64f344d358901001b16d6e7cc41814ace | refs/heads/master | 2020-03-12T19:20:33.926902 | 2018-03-24T00:25:25 | 2018-03-24T00:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,367 | h | /*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
... | [
"mhsjlw@users.noreply.github.com"
] | mhsjlw@users.noreply.github.com |
142148400591e14849bbf170c4a8524fac1639ac | d9850b6b3d57cdcf8e85d09909d0d319483d051e | /Codechef/JUL12/segmenttree.cpp | 68ab03abc19084607b0f8b14fcdbd771d68e2e7c | [] | no_license | devashishtyagi/Code | 4d50c6edeff72ee1d2e114cc1406880b7c469a0c | 15bf5c28eec89396268d08a13423b3120c14e6bb | refs/heads/master | 2021-01-13T01:54:18.782548 | 2013-10-21T04:28:22 | 2013-10-21T04:28:22 | 4,054,752 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | cpp | /* CPP Tempelate
* @author Devashish Tyagi
*/
#include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <fstream>
#include <stack>
#include <string>
#include <vector>
#include <list>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#incl... | [
"devashishrocker@gmail.com"
] | devashishrocker@gmail.com |
3250dd2580bc4cb299dd522f86603ba58061875a | 01ee1fc4fc08623b6176d21710b37942b7a9db4c | /DigitalClockItem.h | 0400cd37ab6eb876b29d40c8eb11b37a38c214a8 | [] | no_license | XOOIOOX/ClockGadget | 85a677b520ec660a8cb092ca76d23117db0e2c44 | eb7c05524301e38873df323c4b22b3cd59548249 | refs/heads/master | 2023-02-28T05:42:24.626237 | 2021-01-30T02:09:38 | 2021-01-30T02:09:38 | 259,689,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | #pragma once
#include "ClockItem.h"
class DigitalClockItem : public ClockItem
{
public:
DigitalClockItem(QObject* parent = nullptr);
~DigitalClockItem();
void advance(int phase) override;
void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
private:
int fon... | [
"trantor8@gmail.com"
] | trantor8@gmail.com |
d46ae569248c9686d49e8d387f186a335926ab83 | 210d757836216b1a1d491564ef9c7e6d84ee947e | /modules/cmake/Source/cmCurl.cxx | 8ef8bffe8e43883d6d5b2db302420c35393ed448 | [
"OpenSSL",
"LicenseRef-scancode-public-domain",
"MIT",
"BSD-3-Clause"
] | permissive | sunnymiesta/adina | 85a77ed48795cdd67793b645db9f9958b59ed361 | 5b77f6248ef1cb75bd0451b1e4884c5f2c89ecee | refs/heads/master | 2020-03-19T15:56:02.554698 | 2018-06-11T04:10:43 | 2018-06-11T04:10:43 | 136,007,337 | 0 | 0 | MIT | 2018-06-04T21:54:24 | 2018-06-04T10:10:26 | C++ | UTF-8 | C++ | false | false | 3,431 | cxx | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCurl.h"
#include "cmThirdParty.h"
#if !defined(CMAKE_USE_SYSTEM_CURL) && !defined(_WIN32) && \
!defined(__APPLE__) && !defined(CURL_CA_BU... | [
"root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld"
] | root@vps-d103d3611a7812a1.gib58asjnbc9.domain.tld |
ed33dd04239564546a892ff2f05961385f659651 | 6ca0a37717f02b627d63385e39385683c10b67c2 | /run-process.cc | 07b8d4f9de3216f7df96c3265d7e92524fe7c0c9 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | smcpeak/smbase | 4d839fae822af8a4fab46cc749c915f1db29ae60 | ec4e6de1c9335908cd88a21e6da3fbf30c4fc14f | refs/heads/master | 2022-08-31T08:27:50.467906 | 2022-08-21T09:07:33 | 2022-08-21T09:07:33 | 199,522,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,050 | cc | // run-process.cc
// Code for run-process.h
#include "run-process.h" // this module
#include "sm-iostream.h" // cout, cerr
#include "sm-posix.h" // fork, exec, etc.
#include "sm-windows.h" // Windows API
#include "syserr.h" // xsyserror
#i... | [
"scott.g.mcpeak@gmail.com"
] | scott.g.mcpeak@gmail.com |
9975602969c973ddf0a7d7dab6d394dbce03ab65 | 1880ae99db197e976c87ba26eb23a20248e8ee51 | /cwp/src/v20180228/model/AssetCoreModuleBaseInfo.cpp | adf4981e706bbbb3b6a42e88dc7edebcf57bcb8e | [
"Apache-2.0"
] | permissive | caogenwang/tencentcloud-sdk-cpp | 84869793b5eb9811bb1eb46ed03d4dfa7ce6d94d | 6e18ee6622697a1c60a20a509415b0ddb8bdeb75 | refs/heads/master | 2023-08-23T12:37:30.305972 | 2021-11-08T01:18:30 | 2021-11-08T01:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,798 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
6bdde7ba0d5dc58030ab4cb89dd7f4b2da232bf9 | cd7fdd30470e84b2e85d2db95f9f8dfe385aea54 | /src/main.cpp | cbc35f4c1f5d48719593900f76d069548cb6383a | [] | no_license | aizerin/water-level | ec7498eda180d7e666e1ce282fcadba12546dbce | fe70d3a1813c0b845f5cf0612d34309a469952d4 | refs/heads/master | 2023-02-02T20:32:14.581413 | 2020-12-25T10:04:59 | 2020-12-25T10:04:59 | 324,336,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <Arduino.h>
const int greenLed = 5;
const int redLed = 6;
const int surfaceSensor = 2;
void setup() {
pinMode(greenLed, OUTPUT);
pinMode(redLed, OUTPUT);
}
void loop() {
if(digitalRead(surfaceSensor)){
digitalWrite(greenLed, HIGH);
digitalWrite(redLed, LOW);
} else {
... | [
"l.nuzky@gmail.com"
] | l.nuzky@gmail.com |
5a27ee8e4e3c33adb599d2dcde110f47e14faaec | 1ddb37f8e6d2be48d893d9285f426c1e90c33566 | /utils/include/GLWindow.h | ed429f3d35788f8762e9b8fa83bfa3e46875f9db | [
"Apache-2.0"
] | permissive | ttykkala/recon | bd0ce04c78c637648cdceed594661b5059ffaf62 | fe73b0f1023ff177e6870ed1426604e380e078b7 | refs/heads/master | 2021-01-13T09:03:55.094792 | 2017-06-24T13:46:41 | 2017-06-24T13:46:41 | 70,162,184 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 840 | h | /*
Copyright 2016 Tommi M. Tykkälä
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | [
"tommi.tykkala@zenniz.com"
] | tommi.tykkala@zenniz.com |
5c5a0f5011383c20799539f3ca393dee2e6c074a | cf8496cc78ae5b2cb2b132e7b6658e02e63b32e0 | /estudo_fila.CPP | ec4ae3ecdbf1dd747282ad3b799402137deff260 | [] | no_license | leonardo8787/C-data-structures | 890ff753903fda15d3116583b545e4100ee8491f | d008305fcaef445f7ee16e92dedccba648b54270 | refs/heads/main | 2023-07-07T19:58:57.699251 | 2021-08-23T02:18:02 | 2021-08-23T02:18:02 | 398,878,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,188 | cpp | // fila em estruturas dinÂmicas
#include <stdio.h>
#include <stdlib.h>
struct queueNode {
char data;
struct queueNode *nextPtr;
} ;
typedef struct queueNode QueueNode;
typedef QueueNode *QueueNodePtr;
//funções
void printQueue(QueueNodePtr currentPtr);
int isEmpty(QueueNodePtr headPtr);
char dequeue(QueueN... | [
"leocampos8787@gmail.com"
] | leocampos8787@gmail.com |
4b9e8dc1f0308ab4bb689153d06e5a0e651a1e21 | fa88c6791a578cc239d3e85ab073ffa0f85232de | /src/scrap/clause_learning.cpp | 89a8a1a9dfee2a0cd9b5de8cbf17628ff3c4862a | [] | no_license | agorenst/sat | cbcccb9f817bdade20686a7935df962508195bad | c2f6322ca67865e498f91a7bced64daa15303122 | refs/heads/master | 2021-07-10T18:03:18.791256 | 2021-05-11T02:55:18 | 2021-05-11T02:55:18 | 77,310,038 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,151 | cpp | // This is a core subsidiary function. It is not a plugin. It calls plugins.
// Variant where we build C on-line, and use a bitset to track our resolvent
clause_id solver_t::determine_traditional_conflict_clause() {
bitset_stamped.reset(); // This is, in effect, the current resolution clause
std::vector<literal_t>... | [
"agorenst@outlook.com"
] | agorenst@outlook.com |
9bf8ae956d5d9638a1d05963bdb6486c219439e0 | 8567438779e6af0754620a25d379c348e4cd5a5d | /components/browser_watcher/postmortem_report_collector.h | 0650d37ece41cd8ae99b3ebf5572822a61e63968 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 4,854 | h | // 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.
//
// Following an unclean shutdown, a stability report can be collected and
// submitted for upload to a reporter.
#ifndef COMPONENTS_BROWSER_WATCHER_POS... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
21b1874b7086b09c34aa7c519dac4bbab1ea0023 | a6b7c80c91f271239afe3f31fee1360e94d5eaea | /include/NumCpp/Functions/add.hpp | 9992cf7c6faf32e1faf8613a4499426c10dcee7b | [
"MIT"
] | permissive | stjordanis/NumCpp | c1dcbd0162e4c46d3bae32984fbc2137036ca20e | 2ecc1312f5f4fd8aeba298f917228c120f98d155 | refs/heads/master | 2022-11-05T08:03:54.988549 | 2020-06-21T02:32:09 | 2020-06-21T02:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,307 | hpp | /// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
/// @version 2.0.0
///
/// @section License
/// Copyright 2020 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated docum... | [
"dpilger26@gmail.com"
] | dpilger26@gmail.com |
6ddf8bcb8dd9700ea984fde822d440d7680f1101 | 7e6afa2545c63e28d61fbf69c1713912d043a8e0 | /2018-09-07/p4.cc | e090f5fb11627de97182b99eb8040627bb74a5db | [] | no_license | jordi-petit/ap1-codis-2018-2019 | c154d40613c6b37b75d4fb85de20b36382fc9f96 | 497931ee50ebb89b8ba61c20e0296ba4f1c79fc7 | refs/heads/master | 2021-06-20T20:38:17.033964 | 2019-09-13T08:49:39 | 2019-09-13T08:49:39 | 147,357,876 | 2 | 5 | null | 2018-12-11T12:08:46 | 2018-09-04T14:19:08 | C++ | UTF-8 | C++ | false | false | 481 | cc | /* Programa d'en José que calcula el màxim de tres enters. */
#include <iostream>
using namespace std;
int main() {
// lectura
int a, b, c;
cin >> a >> b >> c;
// càlcul
int m;
if (a > b) {
if (a > c) {
m = a;
} else {
m = c;
}
} else if (b ... | [
"jordi.petit@gmail.com"
] | jordi.petit@gmail.com |
1e6755c7a702553668d057f1cbeee51bf34a8ffe | 64b5c5e0e86733601c268c173c6c89a8dbe9b093 | /BainBoin/cpp&h/main.h | f5c640157b9e2e3256e9322cd7c8f8c4e2f27ece | [] | no_license | Nishin3614/KOKI_NISHIYAMA | ab2ef12de5072b73fe49318a4742fedc5fc23f14 | 64bc2144f3c7655ab501606fe41bba68ea46f2e0 | refs/heads/master | 2020-09-30T13:45:25.199250 | 2020-01-31T07:26:06 | 2020-01-31T07:26:06 | 227,298,698 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,765 | h | // ------------------------------------------
//
// gametly処理の説明[main.h]
// Author : Koki Nishiyama
//
// ------------------------------------------
#ifndef _MAIN_H_
#define _MAIN_H_ // ファイル名を基準を決める
// ------------------------------------------
// インクルードファイル
// ------------------------------------------
#define _CRT... | [
"work.nishio240@gmail.com"
] | work.nishio240@gmail.com |
2d7b2b5e820ee0ff6b4edf1f9508c6ee3ab7a1db | 1b783c63dbf86239336682a7acd21890e0fbe541 | /BE_Supporter/MtnAlgo/MTNCALC/SRC/poly7_bnd.cpp | 66e540a9c33427a6ad3768d230413a54166c3305 | [
"MIT"
] | permissive | ZHAOZhengyi-tgx/BE-Supporter_2016 | c544df9f2012e4911f4478145b057ce84042ac8e | 88bb9c7b1c16afeaff4855aa0dd3b316c394e68a | refs/heads/master | 2021-01-17T18:00:11.621348 | 2016-06-25T03:12:25 | 2016-06-25T03:12:25 | 58,410,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,242 | cpp | //The MIT License (MIT)
//
//Copyright (c) 2016 ZHAOZhengyi-tgx
//
//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 use... | [
"zzytgx@gmail.com"
] | zzytgx@gmail.com |
c3222f3621f27a7ad69a47a9a19c244947d957b0 | 4b4822e3345a21391c80208cfeda0ac031075985 | /key_to_release_spirit/key_to_release_spirit.ino | fc474a8f7e0f4370a40cf3618ba47eca9764c137 | [] | no_license | luckypig3400/Arduino | 93a2b39c77a7aaaea3ba3ef654a2a1cf7c281974 | 7a7bddd779c1e47979cdf1495dbb45f8720de7ab | refs/heads/master | 2023-09-01T00:43:31.161531 | 2023-08-29T13:27:18 | 2023-08-29T13:27:18 | 128,532,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | ino | // OLED參考: https://blog.jmaker.com.tw/u8g2-oled/
// MQ系列感測器參考1: https://github.com/miguel5612/MQSensorsLib#getting-started
// MQ系列感測器參考2: https://sites.google.com/mail3.hwsh.tc.edu.tw/earth/arduinoadvanced/co-sensor-mq-7
#include <Arduino.h>
#include <U8g2lib.h>
#include <MQUnifiedsensor.h>
// *******OLED參數宣告區起點*****... | [
"twHenryYang@gmail.com"
] | twHenryYang@gmail.com |
6a98e620d89d156a73043d058e44e8a6e9a17a3a | 412b3e24b85a6809befbb9a0d3ffd6cd076a9a3e | /string.cpp | a9422b2a9a3a04d4ff99f6b1cd822b1dc20f61a5 | [] | no_license | hikboy/training-cpp | e86632a879919db218f55f7985b0fea69435a538 | 8791756a55a4b1a758d67e0afe95d66996cfaf3d | refs/heads/master | 2021-05-11T23:18:50.569836 | 2018-02-01T02:27:47 | 2018-02-01T02:27:47 | 117,510,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp |
#include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
using std::string;
int main(void)
{
string s;
string line;
string s1 = "hello", s2 = "world";
string s3 = s1 + ", " + s2 + '\n';
string s4 = s1 + ", ";
// string s5 = "hello" + ", ";
string s6 = s1 + "... | [
"hikboy@163.com"
] | hikboy@163.com |
7950abfde96213decf5275ae0a782dcd4f99fd7e | 3f38a77e31becc7afb482e57bc115f2860976b7c | /solution/11727.cpp | 42b269dc8ee768b2f32f41747a8913e1a7668694 | [] | no_license | gnujoow/acmicpc | 06f2c7b1381d8f5b2af8f39bd92b5baf100f6007 | 8f5f082e03bc432a2b9956a82eeabd2974234b43 | refs/heads/master | 2020-04-15T15:01:50.222670 | 2017-06-14T08:50:51 | 2017-06-14T08:50:51 | 54,367,287 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include <cstdio>
using namespace std;
int memo[1000]= {1,1,};
int N;
int main(){
scanf("%d",&N);
for(int i = 2; i <= N ; i++){
memo[i]=(memo[i-2]*2 + memo[i-1])%10007;
}
printf("%d\n",memo[N]);
return 0;
} | [
"gnujoow.kim@gmail.com"
] | gnujoow.kim@gmail.com |
2bfc368ea5a8d8b4910a74ad51c0da31257600aa | 98a0ac4a9c67ae2e767f6220e1adcdaab8fb97d0 | /个人赛4/D/26497360_ZhaoSilan_D.cpp | a61cbd10252ebe12227c83dd1b2aa2efc72cc554 | [] | no_license | neverac/2020summer | 8fdc0e6a4c7047d754bf48d9e7f9822d7853fb5f | 673a493dbf736f1d33f791a254448e061ccd0b6b | refs/heads/master | 2022-12-04T21:54:24.688278 | 2020-08-25T09:37:55 | 2020-08-25T09:37:55 | 280,410,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | #include<stdio.h>
#include<iostream>
using namespace std;
int gcd(int x, int y)
{
if(y == 0) return x;
if(x < y) return gcd(y,x);
else return gcd(y, x%y);
}
int main()
{
int T;
scanf("%d",&T);
for(int i=1;i<=T;i++)
{
int n,a,b;
int t;
scanf("%d%d%d",&n,... | [
"3015218126@tju.edu.cn"
] | 3015218126@tju.edu.cn |
693286f9763734e34152f4c46cddbc8c97a4c462 | 9124d33767414433ca2cad8e33aa47bd03d6f5c7 | /C++/Anfänger/Primzahlen/Quelle.cpp | b30a5dc1220e984284a50ae7fcaa195e9bacdeb6 | [] | no_license | Sir2B/Uni | b05c9351c384fec8a397be36bce6f4bcff7b4276 | f54eee2d2c3af7a628d8058f913bb5ea51724f4a | refs/heads/master | 2020-05-22T01:13:55.752574 | 2020-03-15T11:48:36 | 2020-03-15T11:48:36 | 24,673,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include <iostream>
#include <vector>
#include <math.h>
#include <time.h>
using namespace std;
int main()
{
int eingabe;
cout << "Eingabe: " << endl;
cin >> eingabe;
clock_t start = clock();
int wurzl;
vector <int> prim;
int i, n;
bool isprim = true;
if (eingabe > 2)
{
prim.push_back(2);
}
if (eingab... | [
"sir2b@gmx.de"
] | sir2b@gmx.de |
0c41eea3f6dfc62ebe42c2e4a20b3bd70887adb2 | 8c2e7b8aad0d4a70178d3a6e3b5cbd9400db37a9 | /SimGeneral/MixingModule/plugins/MixingWorkerBase.cc | 79f1e1210c8e1c7ee41cb993117c7766f67a40b4 | [
"Apache-2.0"
] | permissive | cecilecaillol/cmssw | 96961b5815d0d6e7127a6f59c882ec5b8e86feb8 | 3d70b56717b9b8d49aaffcdbef6fb68e3b81fddb | refs/heads/l1t-integration-CMSSW_10_3_1 | 2023-03-17T06:40:24.755366 | 2019-04-16T11:06:39 | 2019-04-16T11:06:39 | 331,005,975 | 0 | 2 | Apache-2.0 | 2023-02-08T14:43:10 | 2021-01-19T14:25:16 | C++ | UTF-8 | C++ | false | false | 781 | cc | // File: MixingWorkerBase.cc
// Description: see MixingWorkerBase.h
// Author: Ursula Berthon, LLR Palaiseau
//
//--------------------------------------------
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "FWCore/Framework/interface/ConstProdu... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
e78a2bf74faa372fca8529b013643e07e91e5791 | 2a12d9c08673e2c018c43b1e8cc804d28d1cbd5c | /Matlab/matlabBfilter.hpp | b962e509e6e72bdee6b6ac38525a7417b3ded18c | [
"MIT"
] | permissive | Exadios/Bayes- | 073247f5e37b0dc4cd2aeac14cff1922bf4bd86c | a1cd9efe2e840506d887bec9b246fd936f2b71e5 | refs/heads/master | 2021-01-22T12:12:34.760451 | 2015-03-22T05:56:36 | 2015-03-22T05:56:36 | 32,021,298 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,811 | hpp | /*
* Bayes++ the Bayesian Filtering Library
* Copyright (c) 2004 Michael Stevens
* See accompanying Bayes++.html for terms and conditions of use.
*/
/*
* matlabBfilter.h - Matlab MEX support for Bayes++
* Defines Bayes++ filter functions for the mex enviroment of Matlab
* Povides:
* Dymanic contructions with... | [
"mistevens@b1e43ced-4510-0410-a874-8e9050bc1126"
] | mistevens@b1e43ced-4510-0410-a874-8e9050bc1126 |
9c3d14726c097ed5ab92de51ea824ad377279cd6 | b2e454fbf210c3bdd470b165277e034941cd70a7 | /src/plane.hh | b89a81cd3db43626f4fd193a549390e6db6e3c02 | [] | no_license | ivankocienski/ktracer | 1195aec4e4507ba19d1a3b2de32c30ae6196585a | f690d82c0bc3375ce0202b6d4452303277d42161 | refs/heads/master | 2021-01-20T01:02:56.235678 | 2014-10-20T13:24:36 | 2014-10-20T17:08:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | hh |
#pragma once
#include <vector>
#include "scene-object.hh"
#include "vector3.hh"
class Plane : public SceneObject {
private:
Vector3 m_direction;
public:
Plane( const Vector3&, const Material&, const Vector3& );
bool has_hit( const Vector3&, const Vector3&, float* ) const;
float luminance( const Vector3&... | [
"ivan.kocienski@gmail.com"
] | ivan.kocienski@gmail.com |
5e4409977bdb05b7ef67c651a2a4ffc916aeed07 | c8f7773f80acf75345af37c67f0d925cf0234118 | /src/mickey/precomp_headers.h | 5ff473deee388b1c809668625a9480196686e6f4 | [
"MIT"
] | permissive | uglyDwarf/linuxtrack | 14a8854b826d57fa28ca276ec6ba5c54a1ddaa31 | fe9b98b51f6ee6521d38bd1f7edf84839227e588 | refs/heads/master | 2023-05-25T02:05:04.332165 | 2023-02-22T20:20:35 | 2023-02-22T20:20:35 | 39,029,490 | 156 | 35 | MIT | 2023-05-19T07:27:16 | 2015-07-13T18:21:31 | C | UTF-8 | C++ | false | false | 1,082 | h | #if defined __cplusplus
#include <cmath>
#include <cstdio>
#include <iostream>
#include <map>
#include <QAbstractEventDispatcher>
#include <QApplication>
#include <QBoxLayout>
#include <QCloseEvent>
#include <QCursor>
#include <QDesktopWidget>
#include <QDialog>
#include <QKeySequence>
#include <QLocale>
#include <QMes... | [
"f.josef@email.cz"
] | f.josef@email.cz |
dc8e9308e08659612440483e54f29ccd0876415e | 8d952a06e3809a06825a3be7b067201f3652f16a | /debug/atomics/sources/triangular_sci.h | 155c87a634200a7bb41ad32e368b5dec62e2907b | [
"GPL-3.0-only",
"MIT"
] | permissive | andyLaurito92/haikunet | b771eaf6bd91292485f0a49698ce123b9308d676 | db44623b248c56735c28a5f589c3239dc7e9855e | refs/heads/master | 2021-06-14T12:38:38.996450 | 2021-05-05T18:26:02 | 2021-05-05T18:26:02 | 75,564,849 | 2 | 1 | MIT | 2021-05-05T18:26:26 | 2016-12-04T21:12:31 | C++ | UTF-8 | C++ | false | false | 593 | h | //CPP:source/triangular_sci.cpp
#if !defined triangular_sci_h
#define triangular_sci_h
#include "simulator.h"
#include "event.h"
#include "stdarg.h"
#include "string.h"
class triangular_sci: public Simulator {
// Declare the state, output
double sigma;
double y[10];
// variables and parameters
doub... | [
"andy.laurito@gmail.com"
] | andy.laurito@gmail.com |
5c771c440755bcd9e1ecf492ca70c016faaf805a | 00c180e8b8fbf4409dfb0462c1f3b67bbf589cb1 | /GarbageCollection/allocator.hpp | 2fa6f4c9f4f0c8576be021156e4a6c2f8d12474f | [] | no_license | Ice-9/Ice-9 | ce87267c850e49a7051f94ecfe36b655fd0938c2 | 4316ffce61a9d03b1584ee616bfc98c27d86f2af | refs/heads/master | 2020-12-24T15:49:19.205198 | 2014-03-30T23:10:02 | 2014-03-30T23:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,337 | hpp |
# ifndef _ALLOCATOR_H_
# define _ALLOCATOR_H_
namespace Ice9 {
namespace Memory {
class Allocator {
friend int main(int argc, char *argv[]);
friend class Node;
friend class OP;
typedef void (*markerCallback)(OP op);
typedef void (*markerFtn)(ma... | [
"a.andrew.clarke@gmail.com"
] | a.andrew.clarke@gmail.com |
228a306c4517add45f5b51b94bcfa5756ad20f3b | cad5fcfb77e8dac9b0e01f47e16a1569c9050630 | /QuadEcuation/EcuatImpl.cpp | 78cc0916ff0453131c8089fe105dc88cb886cd09 | [] | no_license | Trinogin/Cpp | 9001c445ed8a8605f49f509aa3ac57497c0c0465 | 6d37003f78769740080f62de116253139619e687 | refs/heads/master | 2021-01-24T09:57:23.192070 | 2018-03-02T20:11:24 | 2018-03-02T20:11:24 | 123,031,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,794 | cpp | #include"EcuatHeader.h"
solve* solveInit(solve* mySolve)
{
mySolve = (solve*)malloc(sizeof(solve));
if (mySolve == NULL)
return NULL;
mySolve->root_1 = (double*)malloc(sizeof(double));
if (mySolve->root_1 == NULL)
{
free(mySolve);
return NULL;
}
mySolve->root_2 = (double*)malloc(sizeof(double));
if (my... | [
"a.trinogin@yandex.ru"
] | a.trinogin@yandex.ru |
a78579ea2df81b5c9731ded8bae1914909144331 | 8950e9792b3e86899513b4ee0ab4ff9eaa4a8380 | /App/Il2CppOutputProject/Source/il2cppOutput/Il2CppComCallableWrappers49.cpp | e3a6cd71af63649d570e65f99d1aea810bd3b44d | [] | no_license | dallen-28/VuforiaHololensTracking | b9f601a785b660370497e220b7ba77df9252f420 | b1b7e65930aa724c57b7e3932cf3d15cbeedf5b5 | refs/heads/main | 2023-04-17T22:25:43.789831 | 2021-04-27T22:59:03 | 2021-04-27T22:59:03 | 360,987,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558,498 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "vm/CachedCCWBase.h"
#include "os/Unity/UnityPlatformConfigure.h"
#include "il2cpp-object-internals.h"
// Microsoft.MixedReality.Toolkit.SceneSystem.... | [
"dallen28@uwo.ca"
] | dallen28@uwo.ca |
fcf890134870139b7c3b3064f65a875e42bb92b3 | cd98135ee54252094c1ca7aba42d987b765f39cc | /src/MasterSwitcher/src/app/baseobject.cpp | 71f9d471c4eff16e56c140f31490750ffd1170ad | [] | no_license | isliulin/contron-psm70 | 4e0a10a5693bfe87a3f16f9837681d8f7eead450 | c57bff151653e2fed2dda2a13b4a3de3becab535 | refs/heads/master | 2023-03-16T10:16:25.604663 | 2015-09-25T09:36:18 | 2015-09-25T09:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | cpp | #include "baseobject.h"
BaseObject::BaseObject()
: IMutex()
{
MUTEX_INIT(&mCritical);
mExiting = false;
mUser = NULL;
}
BaseObject::~BaseObject()
{
MUTEX_FREE(&mCritical);
}
void BaseObject::setUserLock(IMutex *handler)
{
mUser = handler;
}
void BaseObject::userLock()
{
... | [
"liuguanhong@contron.com.cn"
] | liuguanhong@contron.com.cn |
535342ccbcf4378b74af651fc4a036ba838aaa88 | 9597a9dc568c4d505a88e07fdc5a20bb57e96245 | /Homework1/PCShopApplication/personalComputer.h | 1fb47d7d1c6a305e27ab4c00445a5210c54ca3af | [] | no_license | NickyMateev/FMI-DSA-Practicum | 5dc27593b6b53d80e752557fbb492f89e1edaa36 | 09a1e6c2805ac6059f279d6d3c4cb691dd93bf06 | refs/heads/master | 2020-07-27T11:49:09.949180 | 2017-01-15T22:32:33 | 2017-01-15T22:32:33 | 73,429,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | #pragma once
#include "computer.h"
class PersonalComputer : public Computer
{
private:
int coreCount;
int ram;
void copy(const PersonalComputer& other);
void destroy();
public:
PersonalComputer(char, int, string, string, double, int, int);
PersonalComputer(const PersonalComputer& other);
... | [
"bgdunkers@gmail.com"
] | bgdunkers@gmail.com |
872960cae026361d1701e2baad60cd9f44a15f77 | 163e2b7c342abe8d6c5da1e71e9cb0408eabc094 | /w08/Utilities.h | 47e6c94118917064919081e9fee9d775cd2e6da7 | [] | no_license | AbdulMAbdi/OOP345 | 35e0864e429cb01d657866617e804337556aceaf | 8d2ea3229fbcdabe1b897983b066c1f855670d08 | refs/heads/master | 2020-06-23T05:03:02.673870 | 2019-07-23T23:41:09 | 2019-07-23T23:41:09 | 198,521,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | h | #ifndef SICT_UTILITIES_H
#define SICT_UTILITIES_H
/*
============================================================================
Name : Utilities.h
Author : Abdul Abdi
Email : aabdi39@myseneca.ca
Student # : 146779186
Course Code : OOP345
Section : SCC
Date : July 19th, 2019
Wor... | [
"46908625+Abdul-Abdi@users.noreply.github.com"
] | 46908625+Abdul-Abdi@users.noreply.github.com |
ae19ecbb7b1e5378474629a3e5d24033d671ac82 | ee77b79fb6b171aed892d57a21326aa7bd6872b0 | /semester2/practice3/exercise1/Line.cpp | f2a1116ba3cec7e8e236339d2f4eaba3138e4258 | [
"WTFPL",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bahlo-practices/pa | 413cf41c771df635c805528b7e59a4afa15febd1 | 098e40b2525b172e4bece8b134006c350852aa6b | refs/heads/master | 2019-01-01T23:52:19.322085 | 2013-07-10T16:21:57 | 2013-07-10T16:21:57 | 6,282,589 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | cpp | //
// Line.cpp
// exercise1
//
// Created by Arne Bahlo on 22.04.13.
// Copyright (c) 2013 Arne Bahlo. All rights reserved.
//
#include "Line.h"
#include "Frame.h"
#include "Shape.h"
Line::Line() : x1(0), y1(0), x2(0), y2(0) {};
Line::Line(int _x1, int _y1, int _x2, int _y2) : x1(_x1), y1(_y1), x2(_x2), y2(_y2)... | [
"hallo@arne.me"
] | hallo@arne.me |
781702e09c26c78b40d9c3082e6b32fd33b0d4ea | 1446a45de06399c141ad722b70f8a4e2f88f01c8 | /_Interface/WndTitle.h | 8a483b5c8b53dd492824008d1ea75b21573c7b38 | [] | no_license | Thrinaria/Codebase | 270d2b837242e113d733a7e6405b5294faede534 | 85e541a9d1e57f7bf30b5114e5e0a2063275a75d | refs/heads/master | 2021-01-01T20:34:47.359877 | 2015-01-30T06:04:42 | 2015-01-30T06:04:42 | 29,504,087 | 3 | 4 | null | 2015-01-25T01:55:41 | 2015-01-20T00:41:11 | C++ | UHC | C++ | false | false | 5,766 | h | // WndArcane.h: interface for the CWndNeuz class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WNDTITLE_H__A93F3186_63D6_43C1_956F_EC8691E0C7D9__INCLUDED_)
#define AFX_WNDTITLE_H__A93F3186_63D6_43C1_956F_EC8691E0C7D9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _... | [
"thrin_d@live.nl"
] | thrin_d@live.nl |
9698c4919f4a7052fb7d5d44d92da2502557e52f | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/iostreams/putback.hpp | 61ca8ce037def5e6a0b4c690b4345be645af946b | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | hpp | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2005-2007 Jonathan Turkanis
// 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.)
// See http://www.boost.org/libs/iostreams for docum... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
77af79269a1c531a382ea9bfda51180ce9676176 | 87a1abe620b49ae548d56729f83b1a5991047347 | /UnorderedArray.cpp | 0a61bcde9214e2b0629d38f14e9ea8f54237df8a | [] | no_license | adamheald13/AvlTree | 13de6a1c2662c558e422c2f26ae1ea151297dc91 | 59f333ae108f990057938e379f7949cacf2f8d59 | refs/heads/master | 2021-01-10T14:43:30.283158 | 2016-03-01T02:10:38 | 2016-03-01T02:10:38 | 52,127,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | cpp | #include <iostream>
#include <math.h>
#include "UnorderedArray.h"
using namespace std;
UnorderedArray::UnorderedArray() {
this->insertComparisons = 0;
this->deleteComparisons = 0;
this->size = 0;
}
void UnorderedArray::insert(City city) {
this->arrayOfCities[size] = city;
this->size++;
}
int UnorderedArray... | [
"adamheald13@gmail.com"
] | adamheald13@gmail.com |
9e87ec65d9646a7351077a1cca523ef76dff5340 | 7f966522169260172098077d78c08ff70e9ec88a | /c_sql/json/examples/to_msgpack.cpp | ece3534be4fcce734e3155bf5cab8ffff0307c71 | [] | no_license | dugreen/LearningOfDugreen | 353e22adf4a1b89f7398c81e47c006efe72dcdfd | d00b47c976ee95df0841ab46c149c67b802d7a0e | refs/heads/master | 2021-09-20T05:35:44.733517 | 2018-08-04T07:47:51 | 2018-08-04T07:47:51 | 106,889,917 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include "json.hpp"
#include <iomanip> // for std::setw
using json = nlohmann::json;
int main()
{
// create a JSON value
json j = R"({"compact"啊啊啊true, "schema": 0})"_json;
cout<<j;
// serialize it to MessagePack
std::vector<uint8_t> v = json::to_msgpack(j);
// print the vector content
for (a... | [
"dugreen@yeah.com"
] | dugreen@yeah.com |
d19aa0ec972c99df20e5ab88b5651a7f1ddd5bdb | cd4587f46b5f1393e46459c7b7959455a847c0db | /source/physics/src/GateOpticalWLSPB.cc | 4a380124966d3bd779538499b935029203d6da69 | [] | no_license | lynch829/Gate | 8072e7e30d855b15a9152a5884fc1357c07539bc | 02754973dbaeca343a7c3b9402521f45c05e9ccf | refs/heads/develop | 2021-01-24T20:13:11.821931 | 2016-07-12T11:23:15 | 2016-07-12T11:23:15 | 66,326,268 | 1 | 0 | null | 2016-08-23T02:33:29 | 2016-08-23T02:33:29 | null | UTF-8 | C++ | false | false | 1,743 | cc | /*----------------------
Copyright (C): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See GATE/LICENSE.txt for further details
----------------------*/
/* Created: V. Cuplov 7 March 2012
Description: Geant4 WaveLength Shifting (i.e. Fluo... | [
"vena.cuplov@cea.fr"
] | vena.cuplov@cea.fr |
188f1947fcb71ff400cf7dc61b2bed4f962a998b | d23227690e847d754b49a1ceccb6f5cbeffb5b15 | /wuhan-project/BackerProxy/EnterpriseProxy/CSMMessageParseStrategy.cpp | 908b24652f772904b1050d944547d6c1ff105285 | [] | no_license | zhouhuamin/wuhanproject | 9404f62592105cb459a71f3889b22726a79fd048 | 6762d8b923eb737425d67abf0c0a9dba019f6f4b | refs/heads/master | 2020-03-20T18:58:51.341599 | 2018-07-21T13:39:44 | 2018-07-21T13:39:44 | 137,614,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | cpp | #include "StdAfx.h"
#include "CSMMessageParseStrategy.h"
#include "tinyxml/tinyxml.h"
CCSMMessageParseStrategy::CCSMMessageParseStrategy(void) : RECEIVER("")
{
}
CCSMMessageParseStrategy::~CCSMMessageParseStrategy(void)
{
}
void CCSMMessageParseStrategy::ParseXml(const std::string &fileName)
{
std::st... | [
"523141399@qq.com"
] | 523141399@qq.com |
74432ae4fef38bfe170c0b2dd5387f956ba171b0 | bc3f5af1e38127e837075ba5b7764a7ff9c100f8 | /include/adt/DoublyLinkedList.h | d6a1edd2330ff8370cbc0d8cafbe96342e9f27c2 | [
"MIT"
] | permissive | atahanyorganci/adt | fdceb2d27df01131f2acfa9ee077244e9544a775 | ff574df016664a69e4a8df2f3cb3769a16f975f1 | refs/heads/master | 2023-04-26T05:50:48.512381 | 2021-05-17T19:28:07 | 2021-05-17T19:29:44 | 292,551,657 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,984 | h | #pragma once
#include "common/DoubleNode.h"
#include <iostream>
#include <ostream>
template <typename T>
class DoublyLinkedList {
private:
DoubleNode<T> *head;
int size;
public:
DoublyLinkedList();
DoublyLinkedList(const DoublyLinkedList<T> &list);
DoublyLinkedList<T> &operator=(const Doubly... | [
"atahanyorganci@hotmail.com"
] | atahanyorganci@hotmail.com |
201259453d87132a9f3cb58a7b89407a823cd636 | f8efece6b69ca26d56bb38b691da20c166a4c590 | /YASS/Button.hpp | a1296ab8204914468403b0e09a428a476f85255c | [
"MIT"
] | permissive | Marrow16180/YASS | 06099bb1e93faa93f3590460bbd82f5b4cb2b223 | 8a27bc7f07f0b65b847b0be0a2683e650895a33a | refs/heads/master | 2020-03-09T07:27:18.026657 | 2018-04-18T01:16:33 | 2018-04-18T01:16:33 | 128,664,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | hpp | #pragma once
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <functional>
struct ButtonDefinition
{
sf::Vector2f size = { 100.f, 20.f };
sf::Vector2f position = { 0.f, 0.f};
sf::Color standardColor = { 255, 255, 255 };
sf::Color hoverColor = { 100, 100, 100 };
sf::Texture* texture = nullptr;
sf... | [
"marrow16180@gmail.com"
] | marrow16180@gmail.com |
369983202af9d36dff4987681671cda2ede6fe3f | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-32/android/view/ViewAnimationUtils.def.hpp | 5dc206d15fa9a980e4a8c0a19d3b14f5cb825e20 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 676 | hpp | #pragma once
#include "../../JObject.hpp"
namespace android::animation
{
class Animator;
}
namespace android::view
{
class View;
}
namespace android::view
{
class ViewAnimationUtils : public JObject
{
public:
// Fields
// QJniObject forward
template<typename ...Ts> explicit ViewAnimationUtils(const cha... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
3a14309bbefdc23495d03db65724c948f78710f1 | a2e04e4eac1cf93bb4c1d429e266197152536a87 | /Cpp/SDK/SpireFramework_parameters.h | 0aa05f51bdbd660b34cb39d9f7daf3068a6444cf | [] | no_license | zH4x-SDK/zSoT-SDK | 83a4b9fcdf628637613197cf644b7f4d101bb0cb | 61af221bee23701a5df5f60091f96f2cf929846e | refs/heads/main | 2023-07-16T18:23:41.914014 | 2021-08-27T15:44:23 | 2021-08-27T15:44:23 | 400,555,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | h | #pragma once
// Name: SoT, Version: 2.2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
90ac60c98d23c7831b600dcbd053d1ffd5793a9e | 32a6ac6cbec63296ba68838ad4699b995810c6cd | /compiled/cpp_stl_11/imports_circular_b.h | b774acee3762988d5f76e80cccb5e197de8f280c | [
"MIT"
] | permissive | smarek/ci_targets | a33696ddaa97daa77c0aecbdfb20c67546c729bc | c5edee7b0901fd8e7f75f85245ea4209b38e0cb3 | refs/heads/master | 2022-12-01T22:54:38.478115 | 2020-08-10T13:36:36 | 2020-08-19T07:12:14 | 286,483,420 | 0 | 0 | MIT | 2020-08-10T13:30:22 | 2020-08-10T13:30:21 | null | UTF-8 | C++ | false | false | 1,164 | h | #pragma once
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "kaitai/kaitaistruct.h"
#include <stdint.h>
#include <memory>
#include "imports_circular_a.h"
#if KAITAI_STRUCT_VERSION < 9000L
#error "Incompatible Kaitai Struct C++/STL API: version 0.9 or late... | [
"kaitai-bot@kaitai.io"
] | kaitai-bot@kaitai.io |
be896dc11ebabb42bb417293dc26ecf1b8f689df | 453f3c128ea5108ea585304cf844669e85883160 | /leetcode/surroundedRegion.cpp | f0956116cdc5983391bb949cc9506ee81619451a | [] | no_license | jiangyaz/leetcode | 096f1a46cbf5f401589d2ee6b87f58cafe47432f | c187e45d51b80f64501d7493a6eb8eb01c3e5e13 | refs/heads/master | 2020-06-01T00:06:01.225396 | 2014-11-24T21:45:15 | 2014-11-24T21:45:15 | 24,919,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | cpp | /* Surrounded region
Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's in that surrounded region.
*/
void dfs(vector<vector<char>> &board, int i, int j, vector<vector<bool> > &visited) {
int m = board.size();
int n = board[0].size();... | [
"jiangyaz@usc.edu"
] | jiangyaz@usc.edu |
7e932bac3eaeb20f1b1f3abaea13ea60f21a0bd0 | 47af5f05ea630e097965775e60da9b296293bd68 | /util/HiMECS/Application/Source/Common/AssignEPItem.inc | 75dbd9b91b79c16e39dd7b89650ea250a5fb0ee9 | [] | no_license | kuksundo/hgs | d42621a0ae8ecdff121fa4ab7c8af1896c6a5f24 | 950cb7e400fe71b5fa10514478e9820fdc123263 | refs/heads/master | 2023-08-04T01:45:07.669900 | 2023-07-21T21:35:13 | 2023-07-21T21:35:13 | 102,850,523 | 12 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 7,956 | inc | //This file is created auto by UnitRttiUtil.CreatePersistentAssignFile()
SharedName := TEngineParameterItem(Source).SharedName;
UserLevel := TEngineParameterItem(Source).UserLevel;
LevelIndex := TEngineParameterItem(Source).LevelIndex;
NodeIndex := TEngineParameterItem(Source).NodeIndex;
AbsoluteIndex := TEnginePa... | [
"noreply@github.com"
] | kuksundo.noreply@github.com |
d6d1214a3b95f288f01319d47e874b12437dca2a | 54267480b60d0d43371fa122a26b9ee08c969cc7 | /deps/v8/src/torque/implementation-visitor.cc | 72c7efff20fa8f0d915b4e227764e4bc942e4d14 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6",
"NAIST-2003",
"Zlib",
"ICU",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"NTP",
"LicenseRef-scancode-openssl",
"Artistic-2.0",
"ISC",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unicode"
] | permissive | hashseed/node | 25271e76d069ded31c721b5d503c52424d27c5a6 | 43906ca5e4c728b664df3f6d40d13f29964dd6fc | refs/heads/vee-eight-lkgr | 2021-01-13T11:30:19.289522 | 2018-07-12T11:18:58 | 2018-07-12T20:37:33 | 84,316,187 | 5 | 1 | null | 2017-03-08T12:08:46 | 2017-03-08T12:08:46 | null | UTF-8 | C++ | false | false | 64,489 | cc | // Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/torque/implementation-visitor.h"
#include "src/torque/parameter-difference.h"
#include "include/v8.h"
namespace v8 {
namespace internal ... | [
"yangguo@chromium.org"
] | yangguo@chromium.org |
600ef57eb1cd5c304ab8d2b983dc01acad1b7498 | 604aeb9a51f854c40257ba80eb266315f6b111cc | /src/MyActionInitialization.cc | 36cc50472be2e1a3e510bb8d8ded6e2f8eacb7aa | [] | no_license | enpg1qz/G4_SiCsI_Telescope | 5ccaee1febc99a2a3033bd66e43b0b2da86937fc | 2a19dbb1a739ef90772d09799e8137b05bd5679f | refs/heads/master | 2021-06-27T15:56:01.766117 | 2020-10-31T04:26:00 | 2020-10-31T04:26:00 | 159,830,498 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,196 | cc |
#include "MyActionInitialization.hh"
#include "MyPrimaryGeneratorAction.hh"
#include "MyRunAction.hh"
#include "MyEventAction.hh"
#include "MySteppingAction.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
MyActionInitialization::MyActionInitialization()
: G4VUserAction... | [
"enpg_qz@protonmail.com"
] | enpg_qz@protonmail.com |
d7a8cede59807cdd6df5988d424031809e68aaef | 0be8bd65e0d9fd5ea4bf7be3419bd05be2d57d36 | /branches/SmartGis.1.1.vs08/src/SmtCore/smt_plugin.cpp | e53d566520ac6d2dbcb766a61e7cc8cc5d3c2b63 | [] | no_license | jsccl1988/smartgis | d6b8018b115f43c6542c3156b63f187995a7920c | 6c5cbdbd3d939012eebb8bd19964815b60215bb4 | refs/heads/master | 2022-12-14T09:45:54.540512 | 2022-12-07T08:43:12 | 2022-12-07T08:43:12 | 55,857,404 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,046 | cpp | #include "smt_plugin.h"
#include "smt_logmanager.h"
namespace Smt_Core
{
SmtPlugin::SmtPlugin(const char * name,const char * path):SmtDynLib(name,path)
{
m_fnGetPluginVersion = NULL;
m_fnStartPlugin= NULL;
m_fnStopPlugin = NULL;
}
SmtPlugin::~SmtPlugin(void)
{
}
bool SmtPlugin::Load... | [
"jsccl1988@gmail.com"
] | jsccl1988@gmail.com |
17a39a00f3aec6146c457c68c21ad52a12a08732 | 37fca411dff17e457f3694421a0b1005f0d69c21 | /Tables/test_tables/Record_test.cpp | 97f80f39928759a56931431df52ff65732d2fe4e | [] | no_license | karinamedvedeva/mp2-lab8-tables | 474d2a488c0f2a29a3d295d99b86fd036e3c8487 | fc904c440d57c313148e3d2300f7f7f855d2acf3 | refs/heads/main | 2023-05-07T17:52:31.438598 | 2021-05-31T22:26:36 | 2021-05-31T22:26:36 | 361,144,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | #include "gtest.h"
#include "../Tables/Tables.h"
TEST(TRecord, can_create_a_record)
{
ASSERT_NO_THROW(TRecord rec);
}
TEST(TRecord, can_assign_records)
{
TRecord rec1, rec2;
ASSERT_NO_THROW(rec1 = rec2);
}
TEST(TRecord, can_assign_record_to_itself)
{
TRecord rec;
ASSERT_NO_THROW(rec = rec);
} | [
"karina.medvedeva.01@mail.ru"
] | karina.medvedeva.01@mail.ru |
5ed6b9e4b90bca4abec08fe8cf5130a4156592e1 | f5e9215bde4a1b5a519736d10b1d31b922c66595 | /originals/swatch-master/swatch/action/include/swatch/action/CommandSequence.hpp | 6065795a410a1df7d0b5c8e74c271a449e25dbdb | [] | no_license | kevimota/rpcos4ph2_swatch_based | 9618fd771aceef9e0cd2ecc3650c6626170b089d | 07843a47bc9914dff9a75ff1ba26cd9581aa38da | refs/heads/master | 2022-12-18T00:07:41.096044 | 2020-09-03T19:19:58 | 2020-09-03T19:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,688 | hpp | /**
* @file CommandSequence.hpp
* @author arose
* @date May 2015
*/
#ifndef __SWATCH_ACTION_COMMANDSEQUENCE_HPP__
#define __SWATCH_ACTION_COMMANDSEQUENCE_HPP__
#include <string>
#include "swatch/action/CommandVec.hpp"
namespace swatch {
namespace action {
class ActionableObject;
class ActionableStatus... | [
"felipe.silva@cern.ch"
] | felipe.silva@cern.ch |
e2b0875f39bbb504d34d275d00d802c29a02dd2f | 52af0f547896a00fe0cfe4cddb88c8229816bfa3 | /bitmaptogamemap.h | 5e35c7b6aad2f3929fddc723ab30a86dcb8dc035 | [] | no_license | OutsourcedCoders/RaycastTest | b96412993ca1ca43a424cce4468343b7cdb9e9b3 | 354eef877d14a1da7d65b09b3e9179dead4b2415 | refs/heads/master | 2020-04-25T12:09:43.022848 | 2020-01-22T12:33:01 | 2020-01-22T12:33:01 | 172,769,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | h | #ifndef BITMAPTOGAMEMAP_H
#define BITMAPTOGAMEMAP_H
namespace Tools{
namespace MapTools{
class BitmapToGamemap{
public:
BitmapToGamemap();
};
}
}
#endif // BITMAPTOGAMEMAP_H
| [
"jorge.floresm900@gmail.com"
] | jorge.floresm900@gmail.com |
9839e0f69e185bfedfe4e2d6e299653d9ebb1fe1 | 8212935d4e0690d737ececdd7edbd852b7b91d18 | /riskBattle/main.cpp | 302cab8f199f43fe42636049747ad6e7501b1bb2 | [] | no_license | mv740/riskBattle | e88a521bcd224648701f5e7fe0df3c5329eb73a1 | d55b86e7dfab7bc7410e98ea83769acae9681ab2 | refs/heads/master | 2020-06-13T23:02:27.030992 | 2015-02-06T19:41:52 | 2015-02-06T19:41:52 | 30,086,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,399 | cpp | #include "battle.h"
#include "country.h"
#include <iostream>
#include <string>
#include <time.h>
using namespace std;
int main()
{
//country m("canada", "RED", 10);
//country *z = new country("canada","red", 1);
//string a = z->getName();
//cout << "name is" << a << endl;
srand(static_cast<int>(time(0))); //... | [
"michalwozniak@live.ca"
] | michalwozniak@live.ca |
d42f9d715e852266ae11415b7d903a5d832f2ade | 737bd9818fb712801371d3552a6ee41d92bbd33e | /src/engine_core/wme_ad/AdGeneric.h | 178a2d5f3c51fdd45ba7d2295320b2324de06fc8 | [
"MIT"
] | permissive | segafan/wme1_jankavan_tlc_edition-repo | 9bf8afb542d3a4a3949bf61c881927df4942410e | 72163931f348d5a2132577930362d297cc375a26 | refs/heads/master | 2020-12-24T17:54:12.910112 | 2015-04-26T23:03:42 | 2015-04-26T23:03:42 | 38,780,832 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | // This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
// http://dead-code.org/redir.php?target=wme
#pragma once
#include "BBase.h"
class CAdGeneric : public CBScriptable
{
public:
bool m_ReceiveShadows;
HRESULT Persist(CBPersistMgr* Per... | [
"Jan Kavan@localhost"
] | Jan Kavan@localhost |
933203ad468e30cb93759fdbec1366d5ee407f32 | 324630caea5b1b47879a00d8900a22d98bd56c5d | /OverSim/src/overlay/chord/ChordFingerTable.cc | 328b7d868e4f968928a99934d9300b8b9b6c2dc0 | [] | no_license | anilkagak2/HTopology | 43db0e77c5da3b3aea20c44f5037af2b6ae59165 | 055e226347ea810899509f2911d9aa9b0967824e | refs/heads/master | 2019-01-01T02:18:58.412519 | 2014-04-17T17:08:07 | 2014-04-17T17:08:07 | 15,940,993 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,190 | cc | //
// Copyright (C) 2006 Institut fuer Telematik, Universitaet Karlsruhe (TH)
//
// 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 la... | [
"anilkagak2@gmail.com"
] | anilkagak2@gmail.com |
c39427977c915934898a41bbeb99da8196365549 | f31d2d071239df049b40abe8d9e6aa273132aebd | /17. STL - Standard Template Language/16_maps.cpp | b00ab383fe3aeb4c8e092dd632769ca4e44079ab | [] | no_license | miraajkadam/C-plus-plus | 9bd5250fc26fc5f4dfe501f24a6013ed970b5c36 | f423a0c24bd51bf2f7613e6a46382d187643fb1c | refs/heads/master | 2023-01-18T23:06:05.915674 | 2020-11-19T10:42:11 | 2020-11-19T10:42:11 | 307,787,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | cpp | /*
MAPS
std::map
std::unordered_map
std::multimap
std::unordered_multimap
MAP
similar to a dictionary
elements are stored as key, value paris (std::pair)
ordered by key
no duplicate elements
direct element access using the key
all iterators available and invalidate when corresponding element is deleted
MUL... | [
"miraajkadam@gmail.com"
] | miraajkadam@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.