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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9012e52871da909d6ec4354b106ebc8d5d2e9c4 | 52e45c26c110c42de79383e8034fd280fd82a02f | /modulesrc/utils/SpatialdataVersion.i | ec5b61e141937b1acf28564b21c45487bd698576 | [
"MIT"
] | permissive | geodynamics/spatialdata | 1ae1d2583aae356e9e68cd434c1f17820b49d127 | 2da6aad61c136f0e15f066aaea5fd31851de112f | refs/heads/main | 2023-08-15T07:22:17.676228 | 2023-07-28T03:32:07 | 2023-07-28T03:32:07 | 12,651,854 | 6 | 20 | MIT | 2023-07-28T03:32:09 | 2013-09-06T18:52:14 | C++ | UTF-8 | C++ | false | false | 2,045 | i | // -*- C++ -*-
//
// ======================================================================
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University at Buffalo
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
062762eb0f6ce8b9b9a2250a8493101736212cf2 | ab21d878c7710cef338db8745d3f4924549e7f85 | /src/CalcManager/Ratpack/itrans.cpp | 66e6fc62dbd10523ddf69fd6d06c8d639ef8d345 | [
"MIT",
"LGPL-2.1-or-later"
] | permissive | killvxk/calculator | f7083b47cd64be5f0dd142799bfef254436afc30 | 6a05ee45a8a7834143e330e8fcf18212493b2434 | refs/heads/master | 2020-04-27T10:22:31.963131 | 2019-03-11T09:56:25 | 2019-03-11T09:56:25 | 174,251,031 | 1 | 1 | MIT | 2019-03-11T09:56:26 | 2019-03-07T01:46:44 | C++ | UTF-8 | C++ | false | false | 8,814 | cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//-----------------------------------------------------------------------------
// Package Title ratpak
// File itrans.c
// Copyright (C) 1995-96 Microsoft
// Date 01-16-95
//
//
// Descripti... | [
"HowardWolosky@users.noreply.github.com"
] | HowardWolosky@users.noreply.github.com |
55fc8664c08bf1985147582a904fcbb48855c151 | 1dd397fa88b66877c669711f8a479c2fe61de440 | /regression/cpp/Decltype3/main.cpp | 0ded9d5c44f3bb5f1e301dd476077dd5d0d7cbdf | [
"MIT",
"BSD-2-Clause"
] | permissive | fanhy2114/yogar-cbmc | bc707ccb927f6e5a2c23c188619e7bb997d9369e | 4e61ef2853158bf183f9fe31b12bf048cefa643a | refs/heads/master | 2020-04-17T10:27:50.033647 | 2019-12-30T13:43:35 | 2019-12-30T13:43:35 | 166,502,179 | 1 | 1 | NOASSERTION | 2019-01-19T03:32:21 | 2019-01-19T03:32:21 | null | UTF-8 | C++ | false | false | 352 | cpp | // C++11
// decltype is a C++11 feature to get the "declared type" of an expression.
// It is similar to 'typeof' but handles reference types "properly".
template <class A, class B>
struct whatever {
int f00 (const B b) {
typedef decltype(static_cast<A>(b)) T;
T z;
return 1;
}
};
whatever<int,flo... | [
"yinliangze@163.com"
] | yinliangze@163.com |
434805bbbfc107b6cacff2937faef00a7181238b | d6949e7e0a1217c455c10eda8f74c8792c270a15 | /main.cpp | 17ec9dbeae069af7fbfa64c17e9c1efbb74cc61f | [] | no_license | sseng/ProjectEuler | 64dd2d511f2fc52f982d733cadf48aaf19ebbd08 | d348a38cd6790c000ff640c7b14450f8d364cae8 | refs/heads/master | 2021-01-01T18:42:15.665617 | 2014-10-06T18:43:20 | 2014-10-06T18:43:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,237 | cpp | #include <iostream>
#include <conio.h>
#include <vector>
#include <string>
#include <fstream>
#include <map>
using namespace std;
void problem3();
void problem4();
void problem5(unsigned int);
void problem6(int);
void problem7(int);
void problem8(int);
int main(){
//problem4();
//problem5(2147483647);
//problem6... | [
"sseng81@gmail.com"
] | sseng81@gmail.com |
92a5c96e5a9b39a455806d9a7d8d9773dbc7e678 | 4a6835eccb7789d66a7a3255800e3b1ea14d187e | /Cpp/255_Verify_Preorder_Sequence_in_Binary_Search_Tree.cpp | 440a3438428b8a11820397f26e46743db381313b | [] | no_license | Kazuha-Li/LeetCode | 339c58ec32ee480328f691019588781a80d0d59b | 6142e430490d4c62d3135662137fd361075a8ff7 | refs/heads/master | 2023-06-27T07:57:29.189451 | 2021-07-25T08:48:08 | 2021-07-25T08:48:08 | 258,705,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | /*
https://leetcode.com/problems/verify-preorder-sequence-in-binary-search-tree/
Given an array of unique integers preorder, return true if it is the correct preorder traversal sequence of a binary search tree.
Example 1:
Input: preorder = [5,2,1,3,6]
Output: true
Example 2:
Input: preorder = [5,2,6,1,3]
Output... | [
"cloud2000s@gmail.com"
] | cloud2000s@gmail.com |
fb00ea436f7f3727c5193f4268130bfb0ad33454 | bbb0bc53dda330d866c97b2470cd800399e6787e | /owGame/M2/M2_SkeletonComponent.h | 8ce34b0d440405e786e2bdd0c8411b5bb43046ff | [
"Apache-2.0"
] | permissive | World0fWarcraft/OpenWow | b2a09eff76bc9e9c7ff16c370277c07ebfb252e6 | 1306f70a9069e032d9d52f223ad17fcf182d739d | refs/heads/master | 2022-04-28T05:50:53.189149 | 2022-04-05T23:01:53 | 2022-04-05T23:01:53 | 247,746,897 | 3 | 2 | Apache-2.0 | 2022-04-06T05:05:02 | 2020-03-16T15:29:36 | C++ | UTF-8 | C++ | false | false | 745 | h | #pragma once
// FORWARD BEGIN
class CM2;
class CM2_Base_Instance;
// FORWARD END
#include "M2_SkeletonBone.h"
class ZN_API CM2SkeletonComponent
: public CSceneNodeComponentBase
{
public:
ZN_OBJECTCLASS(cSceneNodeComponentM2SkeletonComponent);
CM2SkeletonComponent(const CM2_Base_Instance& OwnerNode);
virtual ~CM... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
ec8537857a14cb3b7a2bf5e00748e4536fd473cb | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/2070/E | c780e7127eaf8496a7dbf6473448de33433fab70 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,923 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
922f8722054e9d7002516d0deea4dec082204793 | 9748c7ae9cf9c3f7e85c8eb98fe367d2c438f672 | /AeSys/EoDlgFixupOptions.cpp | acc308ad59bc138f73d43cbd342de463ce3449d0 | [
"MIT"
] | permissive | 15831944/Eo | 8e61bf009d499e08ed5f65af1a107b8d4f76b3c0 | 5652b68468c0bacd8e8da732befa2374360a4bbd | refs/heads/master | 2022-01-24T22:54:01.518644 | 2019-08-14T19:46:06 | 2019-08-14T19:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include "stdafx.h"
#include "EoDlgFixupOptions.h"
IMPLEMENT_DYNAMIC(EoDlgFixupOptions, CDialog)
BEGIN_MESSAGE_MAP(EoDlgFixupOptions, CDialog)
END_MESSAGE_MAP()
EoDlgFixupOptions::EoDlgFixupOptions(CWnd* parent)
: CDialog(IDD, parent) {}
void EoDlgFixupOptions::DoDataExchange(CDataExchange* dataExchange) {
CDialog... | [
"t.smith@swbell.net"
] | t.smith@swbell.net |
e7ceaf8c0a73a10c75a5a128f7ead277a022cb6e | 34c95c78ac5f42e54c6e535e00997c1c96709274 | /AIEStroids/project2D/TextureManager.h | ae9258caab9ffd7f939c420ba2b6af1c5fc8270c | [
"MIT"
] | permissive | richard-stern/AIEstroids | d4e381ad007d2d681356aff8425eb57ad05f04c4 | 5c7caf71a438809e65298e4cf03173c30ab2c871 | refs/heads/main | 2023-07-02T13:32:38.424676 | 2021-08-04T05:15:41 | 2021-08-04T05:15:41 | 391,766,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | #pragma once
#include <unordered_map>
#include "Texture.h"
#include "Font.h"
class TextureManager
{
public:
static void Create();
static TextureManager* Get();
static void Destroy();
//Loads a texture if it exists, if not, it creates it
aie::Texture* LoadTexture(const char* filePath);
aie::Font* LoadFont(const ... | [
"jaydenghunter@outlook.com"
] | jaydenghunter@outlook.com |
93c525f4e4758f40f73eefdaa5a6c7efbc2aaa13 | 46a82c2c3e5f51c0d95b619dc013a5c78a5ec86f | /contrib/libs/protobuf/src/google/protobuf/io/tokenizer.h | 1b5688ce590d06efb2cd138d2782fbaf0184d6d0 | [
"Apache-2.0",
"LicenseRef-scancode-protobuf"
] | permissive | exprmntr/catboost | 296905b2b26273a5b0a55ada66afa81d746ea6e5 | 557eb6aa459e92edd69e2a8b0dd00406428333a8 | refs/heads/master | 2021-06-15T17:59:13.676696 | 2021-05-21T12:48:39 | 2021-05-21T12:48:39 | 171,871,555 | 0 | 1 | Apache-2.0 | 2019-02-21T12:56:26 | 2019-02-21T12:54:17 | C++ | UTF-8 | C++ | false | false | 16,616 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"thegeorg@yandex-team.ru"
] | thegeorg@yandex-team.ru |
7a0073ca491e83c3548f68a40bdcad7cfbfb7c20 | 99bc59d43999ead90de13802f73782417a086448 | /2015-2016/2016_January_Silver/gates.cpp | f06aab15f6cd6f79b4c96d7a6606cc46d3b04fc8 | [] | no_license | reeceyang/USACO | bc6749535ca4b82faa6a30bddced6df4fc11df30 | c13efbf668e2b73ac4bc732e4156820d061f15e7 | refs/heads/master | 2021-04-06T13:04:08.441843 | 2019-12-27T02:09:53 | 2019-12-27T02:09:53 | 76,272,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
freopen("gates.in", "r", stdin);
freopen("gates.out", "w", stdout);
int n;
cin >> n;
string s;
cin >> s;
int north = 0;
int east = 0;
int south = 0;
int west = 0;
for (... | [
"noreply@github.com"
] | reeceyang.noreply@github.com |
453367a81bd07ad7cd0675b380501c09d49d1a6e | e4710945e0e212926a2c96ac9e843302fc9c77bc | /analysis_program/cuts_data.cxx | 7814851ccec1fef9f81af624d5da948d262ae21d | [] | no_license | skorodumina/deuteron_quasi_elastic | a3bacd9b98df7a996ef26d291cb30e0fdad88a2f | 6c78a7a9f282202e8ad6a253ff91e07565127361 | refs/heads/master | 2020-04-02T13:52:47.488824 | 2019-07-11T21:10:24 | 2019-07-11T21:10:24 | 154,500,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,721 | cxx | #include <TMath.h>
#include <sstream>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
#include <stdio.h>
#include <math.h>
#include "cuts_data.h"
#include "global.h"
#include <iostream>
using namespace std;
ostringstream qqq1;
bool cuts_data::Electron_cuts_data()... | [
"skorodumina@gmail.com"
] | skorodumina@gmail.com |
d2f96f5cce3fa3bca5008f48012613174fc571cf | 9eaf8bad0a41876e14ded6dd1ccc808eb5a3cc2f | /StefAny2_base/StefAny2_plugin/StefAny2_plugin/StefAny2_plugin.h | 332137ed53ffd18a2b736b5358dad802b3526f4e | [] | no_license | MoriKen254/EMF-.Net-Plugin-sample | dae210c9bf39dff47cabd2772a237cedb0970a39 | 54be478ae895343f86aa89327d65bf83f9f94f83 | refs/heads/master | 2021-01-17T20:02:26.962822 | 2015-11-05T07:57:01 | 2015-11-05T07:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | h | // StefAny2_plugin.h
#pragma once
using namespace System;
using namespace System::ComponentModel::Composition;
using namespace StefAny2;
namespace StefAny2_plugin {
[Export(IOperation::typeid)]
[ExportMetadata(L"Symbol", L"++")]
ref class AddAdd : IOperation {
public:
virtual int Operate(int left, int r... | [
"masamorobo@gmail.com"
] | masamorobo@gmail.com |
3db3ec8b479c7d7461bcd7f45a07d0611024ab23 | f56d3cc821c7095208aa5a5d35265ea87c192615 | /td_game_server/headers/ecs/systems/timeSystem.h | 0eb005611cde78d9aa703b81e74edec9411dd9ad | [] | no_license | NotMiaow/td_game_server | e2e33ad50ddb2fc433662fbe46608707ca16b7e7 | 7690e6c1add087e860d2a3e3010a3ff5cdbeeffe | refs/heads/master | 2020-09-06T16:02:30.899918 | 2020-02-12T00:32:36 | 2020-02-12T00:32:36 | 220,473,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | h | #ifndef TIME_SYSTEM_H__
#define TIME_SYSTEM_H__
#include <iostream>
#include <thread>
#include <chrono>
class TimeSystem
{
public:
TimeSystem();
~TimeSystem();
void Loop();
const double GetTime();
const float DeltaTime();
private:
double m_currentTime;
float m_deltaTIme;
std::chrono::time_point<std::chrono::... | [
"leparisien21@gmail.com"
] | leparisien21@gmail.com |
bf2ba28955c42b43c5002be1a51bffcace2236e8 | 9a66d8339de7cf8debcd79b2d6bc4b669245087e | /陆晓波/C++第三次作业 陆晓波 唉 下次不这么干了/6-21.cpp | 24386cadd9f16ca53143b4eaf19ed233ff315af9 | [] | no_license | jinrongsyb17/homework-space | 391183e268f1a09e586a18e4cbe2735b59173074 | f0c8fe0c17c6fb08c55d967899d9b26a1782b0e3 | refs/heads/master | 2020-03-28T14:40:12.876141 | 2019-01-02T04:57:27 | 2019-01-02T04:57:27 | 148,510,153 | 9 | 18 | null | 2018-09-18T11:05:38 | 2018-09-12T16:33:38 | C++ | GB18030 | C++ | false | false | 401 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int count (char*str)
{
int i, s = 0;
for (i = 0;str[i];i++)
{
if ((str[i] >= 'a'&&str[i] <= 'z') || (str[i] >= 'A'&&str[i] <= 'Z'))
s++;
}
return s;
}
int main()
{
char text[100];
cout << "请输入一个英文句子" << endl;
gets(text);
cout <... | [
"noreply@github.com"
] | jinrongsyb17.noreply@github.com |
390657c0abf30fa683856e89af3b7f61ec9fbbe9 | 7e447db8775fcf4c29255dc226b69b63ce3ac020 | /static_ana/src/lib/err/error.h | 527ef3d8a1d3bf053c652668a4c8a120e3acbea0 | [] | no_license | Iceware/old_code | e4a4f85f843ea7f1f78414cf3f62b32b37bca1db | dfbfd282b07f8d7ff8843ec9e5df8e8553782e8d | refs/heads/master | 2020-03-28T09:02:07.923725 | 2018-09-09T10:37:45 | 2018-09-09T10:37:45 | 148,008,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | h | #pragma once
#include <system_error>
namespace analib
{
enum class ANA_ERR_CODE
{
SUCCESS = 0,
ERR_CLANG_PARSE = 1,
ERR_FILE_NOT_FUND,
ERR_FILE_CREATE_FAIL,
};
class ANA_ERRCategory : public std::error_category
{
const char *name() const noexcept override;
std::string message(int ev) const over... | [
"TenshiIku@yahoo.com"
] | TenshiIku@yahoo.com |
7cac516bb0eca68a11ea671c14d5a71f5f68beca | 52edee1b7d731d4855d9e3c294db38bafda669b1 | /vart/modifier.h | 5a0f713e8a3b2df75c2b4045d4742b8fa82be9c6 | [] | no_license | ARLM-Attic/vart | d5e1415d6569159f4861b960aca742bbeac15f27 | 8674d0f53b41492e54de6397d6b455e4de3e0488 | refs/heads/master | 2020-12-30T16:14:51.846922 | 2012-10-01T22:10:56 | 2012-10-01T22:10:56 | 90,967,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | h | /// \file modifier.h
/// \brief Header file for V-ART class "Modifier".
/// \version $Revision: 1.2 $
#ifndef VART_MODIFIER_H
#define VART_MODIFIER_H
#include "vart/bezier.h"
namespace VART {
class Dof;
/// \class Modifier modifier.h
/// \brief A modifier controls how one DOF influences other DOF
//... | [
"SND\\kcfelix_cp@142e9c35-602f-4880-9f37-ec48a24daa6a"
] | SND\kcfelix_cp@142e9c35-602f-4880-9f37-ec48a24daa6a |
60bae4723da4f99541930edb6f5e13cec97e2a6f | 1ae86bb4d85165a571b151329f62672dbf62891d | /VR_Module.h | e6d9fbe96935b93cbef1ace91f9ce60ea64c25fb | [] | no_license | hyCpp/VoiceRecog | 85fd79ac1771579c9b1599b90ebc5301b55b15fa | e3859a99eeda0ca29cd0ace4b83c0b5b9234238a | refs/heads/master | 2020-03-23T05:14:38.682110 | 2018-07-16T11:59:10 | 2018-07-16T11:59:10 | 141,132,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | #ifndef VR_MODULE
#define VR_MODULE
#include "VR_Engine.h"
#include "VR_MsgTask.h"
class VR_Module
{
public:
~VR_Module();
static VR_Module* getInstance();
void Initialize();
void Start();
VR_Engine* getEnginePtr();
private:
VR_Module();
VR_Module(const VR_Module&);
VR_Module& operato... | [
"huyang@pset.suntec.net"
] | huyang@pset.suntec.net |
6f6b57fd9bba17f711643a2d7211c6f8372b390a | 9e985128b3049f33e272d31df391dd8cfea68436 | /bigquant/native/tests/test_conv.cpp | 3208797c7b9dbba8ba6f13e6d734dee53cd85040 | [] | no_license | intel-analytics/BigDL-core | d3400317964cd234cd5f3d947e3819e502d9cb75 | 533eff6f11cccefe294a27b4c763dd8ea4e37d05 | refs/heads/master | 2023-07-21T22:25:16.949675 | 2023-06-13T02:00:47 | 2023-06-13T02:00:47 | 84,790,253 | 36 | 31 | null | 2023-07-07T19:51:07 | 2017-03-13T06:11:00 | C++ | UTF-8 | C++ | false | false | 9,284 | cpp | #include <iostream>
#include <array>
#include <vector>
#include <algorithm>
#include "bigquant.h"
#include "CppUTest/TestHarness.h"
#include "CppUTest/CommandLineTestRunner.h"
static size_t GetConvOutSize(size_t in, size_t kernel, size_t stride, size_t pad, size_t dilation) {
return (in + 2 * pad - (dilation * (kern... | [
"i8run15@gmail.com"
] | i8run15@gmail.com |
4764c2b0e4046fa904ba7f8ecf70aaac922358f0 | 761af5d51c662c20096c50ae7a00d03ceeab2ac7 | /applications/demo/Colors.cpp | d2476a69576b836740cb323fc2b126d53cba7c8b | [
"Zlib",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | cristian-programmer/skift | 1eedaec88ba1c09518b7c11110fa4b96a2b2b0eb | daff5533da1610f754305f8805889b536e9efb54 | refs/heads/master | 2021-06-14T17:02:38.612380 | 2020-11-08T19:18:25 | 2020-11-08T19:18:25 | 162,073,493 | 1 | 0 | MIT | 2018-12-17T04:15:16 | 2018-12-17T04:15:16 | null | UTF-8 | C++ | false | false | 415 | cpp | #include "demo/Demos.h"
void colors_draw(Painter &painter, Rectangle screen, float time)
{
float hue = (int)(time * 80) % 360;
for (int x = 0; x < screen.width(); x++)
{
for (int y = 0; y < screen.height(); y++)
{
Color color = Color::from_hsv(hue, (y / (float)screen.height()),... | [
"nicolas.van.bossuyt@gmail.com"
] | nicolas.van.bossuyt@gmail.com |
7bdc68acb8532fbea29bd79d5cbc0e89e8c6b3fe | a7914f1baaa92e4468bf41dcdb7a74e8f52aa2c0 | /Source/EscapeRoom/Public/Candle.h | 7a8dc8d047b8fa8fbd89498f50d5e37101ad33d3 | [] | no_license | JGLgamedev/EscapeRoom | 9ffa5dc3339c809fd8d59190ef6969a37df37dd8 | 394a690c7feb9d01bbc653a25522ce0fe172e72b | refs/heads/main | 2023-05-09T04:53:34.151188 | 2021-06-08T06:27:24 | 2021-06-08T06:27:24 | 310,456,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | h | // Copyright 2020-2021 Jean-Gil Langlois All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "InteractInterface.h"
#include "Candle.generated.h"
class UPointLightComponent;
/**
* Actor representing a light the player can turn on and off.
*/
UCLASS()
class ESCAPERO... | [
"langlois.jeangil@gmail.com"
] | langlois.jeangil@gmail.com |
cf9539ba1d088ef9821c6ba85de794347d608887 | 3b8b0f8b88393f5405259128cfc786ace5b837f3 | /include/MemPoolAllocator.h | 4ea6c99a95c2837c53b501885706175593998dba | [] | no_license | ajunlonglive/MemPool | 2f1a97b3436be442395e14955855d04fb119d729 | 7462ab2198104d63fa5e924a2e13aa05a8bac25c | refs/heads/main | 2023-04-26T22:09:44.015711 | 2021-03-11T11:35:42 | 2021-05-10T02:44:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | //
// Created by ltc on 2021/3/6.
//
#ifndef MEMPOOL_MEMPOOLALLOCATOR_H
#define MEMPOOL_MEMPOOLALLOCATOR_H
#include <cstddef>
#include "MemPool.h"
using std::allocator;
static MemPool& getMemPool(int num){
static MemPool memPool(num);
return memPool;
}
template<typename T, int num>
class MemPoolAllocator {... | [
"li_tiancheng666@163.com"
] | li_tiancheng666@163.com |
efb12ad9a7a28d010a35c45830b57eda71b2295a | f7f3841175b370fb8e3f2e9a47c096cf4d887380 | /UWP/Il2CppOutputProject/Source/il2cppOutput/Il2CppComCallableWrappers4.cpp | 3f6358ff1b6c3ca18fedcf2c1fd92497b86b8396 | [] | no_license | cosc2408-mixed-reality/hololens-hud | 3cbbec4b2b2a2fac1791d7bbfcacd190f9e42cc7 | ea8bf3266821dbd4af2c251baa5330d83d159dc5 | refs/heads/master | 2020-05-02T12:58:38.018869 | 2019-04-05T03:19:55 | 2019-04-05T03:19:55 | 177,972,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622,907 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "vm/CachedCCWBase.h"
#include "il2cpp-object-internals.h"
template <typename R>
struct VirtFuncInvoker0
{
typedef... | [
"tsdavs@gmail.com"
] | tsdavs@gmail.com |
179a62215e91c8475d06e5884244aaeace5dc3ac | d29399f93b50cc2c677c41a40b97767dac580604 | /PAT/A/1067.cpp | 9bdf312fa0247e867cb4bf9bbca3708926bc485e | [] | no_license | lmh760008522/ProgrammingExercises | 81636f209a150062c2c7b1ea78c441a7b1c0b68d | 821fd0d36f2eab11386dec1b6bcdaba223727c48 | refs/heads/master | 2021-10-08T20:11:35.547047 | 2018-12-17T08:12:51 | 2018-12-17T08:12:51 | 157,045,843 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 549 | cpp | /*
每次只能调换序列中两个数字
求为了将序列从小到大排序,至少要调换几次
贪心 :0 在哪个位置上,就让0和那个数字交换
*/
#include<iostream>
using namespace std;
int main(){
int n,x;
cin>>n;
int a[100005];
for(int i=0;i<n;i++){
cin>>x;
a[x] = i;
}
int count = 0;
for(int i = 0; i < n; i++){
if(a[i] == i) continue;
while(a[0]!=0){
swap(a... | [
"lmh760008522@gmail.com"
] | lmh760008522@gmail.com |
47a66fe65aac168a47909d6386337b7d9a93527a | aea72583d026e29ad8970db5b6c4535bcc52cfe5 | /src/utility/LoadingThread.cpp | 3b749b57d690299fcc1345ea4ef23e936375c363 | [] | no_license | youlanhai/Lazy3D | ed2e428fd94efc5e73b7f0d42189ca8afda8f04e | a00c02594f42e81ad9fe6ef133c6e82dc166c834 | refs/heads/master | 2021-07-08T23:21:09.940640 | 2017-10-05T06:25:50 | 2017-10-05T06:25:50 | 105,855,410 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include "stdafx.h"
#include "LoadingThread.h"
#include "Misc.h"
namespace Lazy
{
LoadingThread::LoadingThread(int id, ILoadingMgr * pMgr)
: m_id(id)
, m_pMgr(pMgr)
{ }
LoadingThread::~LoadingThread()
{ }
void LoadingThread::run()
{
debugMessage(_T("LoadingThread %d s... | [
"you_lan_hai@foxmail.com"
] | you_lan_hai@foxmail.com |
3283b6649203bb90a1de3d424698b1a0bf9aa618 | c4fd7e66e5b57cd1bc39c9d258118ce4f1054d18 | /InsertionSort.cpp | 120696e0e34630d6e337cb018e7fe01be516cc93 | [] | no_license | VictorFrancis/InsertionSort | a85138e7902d3538cbcf98354d134d311586e28c | 097acffbd9923437458969f709392cdf95f49e7d | refs/heads/master | 2022-12-16T01:24:22.316346 | 2020-09-03T21:01:14 | 2020-09-03T21:01:14 | 292,678,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | #include<iostream>
using namespace std;
void InsertionSort(int Array[], int MaxSize){
int i;
int CurrentPosition;
for(i=1; i<MaxSize; i++){
CurrentPosition=i;
while(CurrentPosition>0 && Array[CurrentPosition]<Array[CurrentPosition-1]){
swap(Array[CurrentPo... | [
"noreply@github.com"
] | VictorFrancis.noreply@github.com |
3cc775087c37d3a513674091fdc4c8d5fb8ee2f7 | 49fad59bca8d3b9adc2b5b12f7a892643f7ce55a | /StockClient/TdxTradeApi.cpp | ca46b2d7c58eda1c1084d8fb8980e9d49a7c2239 | [] | no_license | ccliuyang/StockClient | f6e1b3fc1cf5ba5fa56e508e2ce09f59bd77ec1b | d2a0a4a5fe6df994758039ec418f96af2c61df2a | refs/heads/master | 2020-04-23T21:11:23.342071 | 2019-02-19T09:23:33 | 2019-02-19T09:23:33 | 171,462,094 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,886 | cpp | #include "TdxTradeApi.h"
#include <cpr/api.h>
#include "conv_utils.h"
#include <iostream>
using namespace std;
#define ERR_IPO_1 120156 // 最高委托数量,最低委托数量合法性校验失败
#define ERR_IPO_2 251146 // 委托数量大于可申购数量
#define ERR_IPO_3 250235 // 证券账户控制表记录不存在
#define ERR_IPO_4 120155 // 委托数量必须大于0, 且深圳数量位数不能超过9位, 上海委托数量不能超过8位
TdxTr... | [
"liuyang@bestitu.com"
] | liuyang@bestitu.com |
230c720cf5cc3ee342749387f60069410bb04572 | df7366b9d1e195458e2df676543248e7dddcbdb4 | /vjudge A.cpp | f359191f18b02b6e02f025589a59936871112245 | [] | no_license | FahimSifnatul/problem_solving_with_FahimSifnatul_cpp_version | b30e76a19b3ec95e298fe1ed60533e51344d090b | 639071ed1b00be6ab1a648fc995c7a5044f58c2a | refs/heads/master | 2022-07-14T05:09:32.098498 | 2020-05-20T09:42:30 | 2020-05-20T09:42:30 | 265,513,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define ull unsigned long long int
#define fastio ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0)
#define sf(a) scanf("%d",&a)
#define sfl(a) scanf("%lld",&a)
#define sfd(a) scanf("%lf",&a)
#define sfs(a) scanf("%s",a)
#define ... | [
"noreply@github.com"
] | FahimSifnatul.noreply@github.com |
cbdd89abd3f94ea26fe9c6adb9b38994e72e019c | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/smatsmatadd/UCaMCb.cpp | 23486fc7e635781fdb2cfb30baa36d40af6eacb4 | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,230 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatsmatadd/UCaMCb.cpp
// \brief Source file for the UCaMCb sparse matrix/sparse matrix addition math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
e098448a723263e62e14adcfa32e526b8cb6f2d7 | acb2c4016b2770f9c5d05eefd1ec384675ed3dc2 | /src/chainparams.h | 63cfa6bfa17bd888f03bcaf3a3cdb04640432c34 | [
"MIT"
] | permissive | Oxygencoin/oxygen | ae5b459eec0811ad51b3fbc328639c90b97972f8 | 5c7896a493dc4e18487943110d0f86720b7d79cc | refs/heads/master | 2020-03-26T10:49:12.609479 | 2019-02-15T11:24:40 | 2019-02-15T11:24:40 | 118,751,841 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,883 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-l... | [
"31438425+Oxygencoin@users.noreply.github.com"
] | 31438425+Oxygencoin@users.noreply.github.com |
ecb1cb23fe8660064c0dfba06032613727509b7f | bc997f47b4cffef395f0ce85d72f113ceb1466e6 | /USACO/jan15_cownoisseur.cpp | 18b3e0067907a92115f76c736219ec28c5f53850 | [
"LicenseRef-scancode-public-domain"
] | permissive | koosaga/olympiad | 1f069dd480004c9df033b73d87004b765d77d622 | fcb87b58dc8b5715b3ae2fac788bd1b7cac9bffe | refs/heads/master | 2023-09-01T07:37:45.168803 | 2023-08-31T14:18:03 | 2023-08-31T14:18:03 | 45,691,895 | 246 | 49 | null | 2020-10-20T16:52:45 | 2015-11-06T16:01:57 | C++ | UTF-8 | C++ | false | false | 2,238 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <algorithm>
#include <string>
#include <functional>
#include <vector>
#include <numeric>
#include <deque>
#include <utility>
#include <bitset>
#includ... | [
"koosaga@koosaga-MacBook-Pro.local"
] | koosaga@koosaga-MacBook-Pro.local |
68243607c74d7a116b9a76d55bc5a758f5c79c3a | a39fa273e79917c9172d970d66d09c97804bccdd | /C++ Builder example/CBuilder6(BCB6)彻底研究/Charp6/Unit6_4.h | 56483490de81bb239cf14ec751fa8b86b275d7a4 | [] | no_license | jash-git/Jash-good-idea-20210419-001 | 617f54765b265c75671a5362b4d2cf51f8b36bbf | d93be27fb6a61946ea302a149c50745a0879c415 | refs/heads/master | 2023-05-03T07:27:00.701673 | 2021-05-18T01:34:00 | 2021-05-18T01:34:00 | 359,301,299 | 14 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,466 | h | //---------------------------------------------------------------------------
#ifndef Unit6_4H
#define Unit6_4H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtC... | [
"gitea@fake.local"
] | gitea@fake.local |
7755be0a8b19b1e609550121d4964d0ff7edfb90 | c41755a415f694f1d59e360d93b2d060e096a478 | /TwoCoordinateSystemsGraphsArea.cpp | f0441656f5fbc9186089efd53fef72e05c1847da | [] | no_license | AndreyFdrv/Graphs_Drawer | 412eddd0eec167230069e7c759089193572f746c | 681147c37b4701015008dbf1d2661dab88118e76 | refs/heads/master | 2020-02-26T15:01:44.496209 | 2017-06-19T13:52:06 | 2017-06-19T13:52:06 | 83,216,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,689 | cpp | #include "TwoCoordinateSystemsGraphsArea.h"
#include "math.h"
#include <float.h>
#include <QMessageBox>
#include <QMouseEvent>
void TwoCoordinateSystemsGraphsArea::FluentlyPaint(int i, int count)
{
painter=new QPainter(widget);
if(upper_graphs.length()+lower_graphs.length()==0)
return;
ComputeBorder... | [
"andrei_hedorov@mail.ru"
] | andrei_hedorov@mail.ru |
dd943f9cd3c4f194ea5ad01edd44e6f5359260db | 5cac399c225ceb0b16f13c5c30e0e27a2b1e9cee | /src/likelihood.cpp | 78010ad7a1ec9de4c7f0dab2a7b1eef260f4cbd4 | [] | no_license | yixuan/cdtau | 35ab2bb417978aaf75202d1c370b7b3dfd84dd00 | 752c456618aa59cebd6c7fc0ae71b13e7dad85b3 | refs/heads/master | 2022-06-16T13:40:45.373028 | 2020-05-03T23:09:13 | 2020-05-03T23:09:13 | 210,970,040 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,125 | cpp | #include "likelihood.h"
using Eigen::VectorXd;
using Eigen::MatrixXd;
typedef Eigen::Map<VectorXd> MapVec;
typedef Eigen::Map<MatrixXd> MapMat;
//' Compute Log-likelihood Value for RBM
//'
//' The two functions compute the exact and approximate log-likelihood values for RBM, respectively.
//'
//' @param w Weigh... | [
"yixuanq@gmail.com"
] | yixuanq@gmail.com |
82f0ce0d80c0dfe7582a14b5ab1f27eb6b15202b | 67bd18ec61cb57c8f82ef5172b3edddec0415409 | /read-write process.cpp | 2e905e026df15f77c25d0a74b7e4d62fc9b15aad | [] | no_license | aymen94/read-write-memory-process | d2c9786e2fc2fe50c188e6d5dc74251f58c861ee | ab448916b1ac758aa52b9ca2c22e87af6d743fa2 | refs/heads/master | 2022-11-30T23:39:52.260713 | 2020-08-06T13:41:05 | 2020-08-06T13:41:05 | 142,757,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,467 | cpp | #include <windows.h>
#include <tlhelp32.h>
#include <iostream>
#include <string>
using namespace std;
DWORD getProcessPid(string nameProcess);
int main()
{
DWORD pid,buff;
string nameP;
void* address;
cout <<"insert name of process!"<<endl;
getline(cin, nameP);
pid = getProcessPid(nameP);
if (!pid)
{
... | [
"aymenadvance@gmail.com"
] | aymenadvance@gmail.com |
99f46462001fab96851225c496819c096ee55608 | aa70ca7fb90141429defbeb10571128e6b17b8b7 | /examples/code/example_common.h | c7001a406d15659f2fa3f5cf80cd664bee915279 | [
"MIT"
] | permissive | brucelevis/pmtech | 09cc38a9ea91ff05f62000f02a4c121b005522ef | 927c763224699d685e08761bedeaed38f41f7027 | refs/heads/master | 2021-06-28T19:09:12.342002 | 2020-10-13T11:46:22 | 2020-10-13T11:46:22 | 177,062,624 | 0 | 0 | MIT | 2020-10-13T11:46:24 | 2019-03-22T03:05:43 | C++ | UTF-8 | C++ | false | false | 3,728 | h | #include "camera.h"
#include "debug_render.h"
#include "dev_ui.h"
#include "ecs/ecs_editor.h"
#include "ecs/ecs_resources.h"
#include "ecs/ecs_scene.h"
#include "ecs/ecs_utilities.h"
#include "pmfx.h"
#include "data_struct.h"
#include "console.h"
#include "file_system.h"
#include "hash.h"
#include "input.h"
#include "... | [
"alexandercdixon@gmail.com"
] | alexandercdixon@gmail.com |
9fcba1f26b9d93fae4f5f9a013ed0b24abb113d3 | 230358e98eed374a2504ac18fd3c72be9c333d06 | /datatable/src/data_table/parser_state.h | 041e089642a10d7574bdfba7be8746f19d4e0864 | [
"MIT"
] | permissive | SoftwareBuildingBlocks/cpptable | f70695096008fa8062864f2598cdbc1b773703f7 | 13b1f94ba5ed7b6b3f81ee39301e12033b13b931 | refs/heads/master | 2021-01-20T03:14:11.214148 | 2018-12-08T01:48:11 | 2018-12-08T01:48:11 | 89,512,996 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 188 | h | #pragma once
#include <map>
#include "parser_action.h"
#include <string>
class parser_state
{
public:
parser_state();
~parser_state();
std::map<std::string,parser_action> actions;
};
| [
"rajan.jedi@gmail.com"
] | rajan.jedi@gmail.com |
6ca4f573ac6d6bfd12f6b61918fd927a5c9bc295 | 7c81e59a62c9c221fa708899cd1bd28d0e37a4af | /Arrays/RAINBOWA.cpp | 482f23f9ceaa1be61d23219c904add766781c4a2 | [] | no_license | sangraaradhya12/Competitive_Programming | 07356240aeee40b2f3dfaecb568f828a028ab450 | 2606f3719ab44a49c7efcb46ef1e011d45bcbe8f | refs/heads/master | 2023-04-08T19:01:13.892292 | 2021-04-01T22:37:13 | 2021-04-01T22:37:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | #include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n,i,f=0,j=0,c;
cin>>n;
int arr[n];
for(i=0;i<n;i++)
cin>>arr[i];
if(arr[0]>1)
{
cout<<"no"<<endl;
f=1;
}
else
{
c = arr[0];
for(i=0;i<=n/2... | [
"noreply@github.com"
] | sangraaradhya12.noreply@github.com |
b07d6c98aeacd6357c3d11167e10fd528c57465f | 3fdbb7dbb1c5a4b2a58317eaf16cacd2962d1385 | /main.cpp | ababca4011d25a8c5c8a3e4280071df4cac2dfe9 | [] | no_license | kudroma1/Windscribe | 349767cc9478d21c4539b274b94478863c09de73 | d96c290a41209c802de7604e3672ee97300c63ec | refs/heads/master | 2023-05-08T22:20:09.683834 | 2021-06-01T03:55:30 | 2021-06-01T03:55:30 | 372,695,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,353 | cpp | #include "Algorithms.hpp"
#include "DnsResolver.hpp"
#include <boost/locale.hpp>
#include <boost/log/core.hpp>
#include <boost/log/expressions.hpp>
#include <boost/log/trivial.hpp>
#include <boost/log/utility/setup/file.hpp>
#include <algorithm>
#include <fstream>
#include <future>
#include <iostream>
#include <rando... | [
"kudroma@gmail.com"
] | kudroma@gmail.com |
1e73f3e893be9e88f1ef9126ec9c39b2ed0f07ff | 47bc067058e4d45f8729670b1bfa19aceaadc156 | /331/1.cpp | 19b08d9828deaba81170fee5416794d6b6e2fe04 | [] | no_license | return19/All-C-Codes | 0bd0df357cd4bbc6552e1d943df792a1b4d806bb | b1c2269d2436a0cd65a5ef022595300c4827520f | refs/heads/master | 2021-09-09T16:13:53.464406 | 2018-03-17T17:02:55 | 2018-03-17T17:02:55 | 125,650,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | cpp | #include<bits/stdc++.h>
using namespace std;
vector< pair<long long,long long> > p;
long long dist(pair<long long,long long> x,pair<long long,long long> a)
{
return (x.first-a.first)*(x.first-a.first) + (x.second-a.second)*(x.second-a.second);
}
int main()
{
long long i,j,k,t,test;
long long n;
long ... | [
"abhinandan1941996@gmail.com"
] | abhinandan1941996@gmail.com |
87e0d546c606c997603368789b6cc5623d2a3ef5 | 6fe586f36eb385ef4594fd5b5905246361f8ec16 | /4. LED Connection to Circuit/LED_ON_OFF_mqtt_dashboard.ino | ec6639a18f530fead6ad42ed1a87907a40860830 | [] | no_license | sgupta38/FutureHomes | 2fcfa8065bd6222fcbfb72954cbf80a376178b64 | be98d27d11c1e70fb2f19cb70fa171ad140f6a48 | refs/heads/master | 2021-08-28T15:32:26.472749 | 2017-12-12T16:30:13 | 2017-12-12T16:30:13 | 108,132,123 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,131 | ino | /***************************************************
Adafruit MQTT Library ESP8266 Example
****************************************************/
#include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
/************************* WiFi Access Point *********************************/
#def... | [
"sonugupta4636@gmail.com"
] | sonugupta4636@gmail.com |
79958ed3de85235ee9552489e568ec466857cc2d | 1bc37a26e07f449ba9dca257978ce7fd98cae28b | /MapMatrix3D/mm3dPrj/CurveTypeHandler.h | fcbe8b2fd17fb1062250c93f66ad0ae522ab5a06 | [] | no_license | gisdevelope/MapMatrix3D1.2 | 0c34384d010cf0ad27dd43a5a4567dbe0fd66fe8 | 05d0284b7b7f4f9dfd5aab0dc23f99ed5293ae70 | refs/heads/master | 2023-03-16T13:08:08.489620 | 2018-04-09T09:43:09 | 2018-04-09T09:43:09 | 151,419,514 | 0 | 0 | null | 2018-10-25T07:56:08 | 2018-10-03T13:45:14 | C++ | GB18030 | C++ | false | false | 437 | h | #pragma once
#include <include/cef_v8.h>
/*
** brief 基础编辑回调类
*/
class CCurveTypeHandler
{
public:
CCurveTypeHandler();
virtual ~CCurveTypeHandler();
/*
** brief getInstance 返回回调函数的单例
*/
static CCurveTypeHandler* getInstance();
/*
** brief handle 回调类处理函数
** param funcName 回调函数名
*/
virtual void handle(const... | [
"chenjinjing1943@qq.com"
] | chenjinjing1943@qq.com |
6ac45fb3ac6fe396b65af60a2d21e7a4f59f9055 | b889757935d14cac4932874fd99451b96c5f43f5 | /umbc/CMSC/3XX/341/second/proj0/driver.cpp | 75dbaedc0e5477625ee562b6c10038d5263fe316 | [] | no_license | RobRoseKnows/umbc-cs-projects | c98c8fb201b9c6fe29a7e30d7b048d0c41e7c093 | f6c44681e15587f31100dcc9d6ccbdef670580dc | refs/heads/master | 2020-06-12T21:45:20.273594 | 2019-12-19T23:45:48 | 2019-12-19T23:45:48 | 75,505,149 | 2 | 0 | null | 2018-11-06T01:36:01 | 2016-12-03T22:57:09 | C | UTF-8 | C++ | false | false | 387 | cpp | // File: driver.cpp
//
// CMSC 341 Spring 2017 Project 0
//
// Main program for knock-knock jokes
//
#include <string>
#include <iostream>
#include "joke.h"
using namespace std ;
int main() {
cout << opening() << endl ;
cout << "Who's there?" << endl ;
cout << setup() << endl ;
cout << setup() << ", who... | [
"bertra97@gmail.com"
] | bertra97@gmail.com |
e995b25b8e75a1637d8cd1cba38b734a594ad407 | 6472fdd83aa6fd253079655bef6f27f7d8ba80d8 | /core/RBM.h | dd898a7c5cb7f21e650d689249f191141d6f11b3 | [] | no_license | Danielgcosta/DeepLearning | 322a848608fc4feec73ea013fdfd0a0e7a48c790 | b1d33f9f069ae780d5359b59253dbc428b2a4c86 | refs/heads/master | 2021-01-10T17:58:24.942521 | 2016-03-24T01:17:45 | 2016-03-24T01:17:45 | 54,604,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,944 | h | /*
* File: RBM.h
*
* Restricted Boltzmann Machine.
*
* Author: Eder Perez
*/
#ifndef RBM_H
#define RBM_H
#include <curand_kernel.h>
#include "CUDAMatrix.h"
#include <limits>
namespace gpu
{
/**
* Overload to device kernel code.
*/
void seedRandomGenerator( int rows, int cols, curandState* randState, unsi... | [
"dcosta@tecgraf.puc-rio.br"
] | dcosta@tecgraf.puc-rio.br |
4f9bc4c620a7f07b2bcec61aa28bc96a3baf5c06 | fd60b97a4a506bbff92709c38136fda8e4a03274 | /Ben's Projects/Archived Projects/Self-Driving Buggy Rev. 2/Board/src/Controller.ino | 99993099a3be62c1e7f2eb7a9560f580e846604c | [] | no_license | BPPJH/Self-Driving-Buggy | 3727795384f3a5d530c9bc0ab281a09dafa6748f | 7268b9e6bd6274f0520c7d57cda3af250316d913 | refs/heads/master | 2020-12-29T03:34:24.048157 | 2015-08-12T01:48:03 | 2015-08-12T01:48:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,275 | ino |
#include <Servo.h>
#include <AFMotor.h>
#include <Time.h>
int servoPin = 9;
int motorPin = 4;
int LED_running = 13;
int LED_standby = 12;
int LED_active = 11;
int BUTTON_onoff = 8;
bool BUTTON_onoff_state = 0;
bool BUTTON_onoff_lastValue = 0;
int inactiveTime = now();
unsigned int data = 0;
bool programRunning =... | [
"woz4tetra@gmail.com"
] | woz4tetra@gmail.com |
63800f2f8b3a4f00bb31d04e164c6002d961aa05 | fa60536fbc7c0d8a2a8f08f0a5b6351c77d08054 | /1]. DSA/3]. 450 DSA by ( Love Babbar Bhaiya )/C++/04]. Searching & Sorting/_17)_Sort_by_Set_Bit_Count.cpp | eb31f1294108f0d63bf89494b7662368d711722e | [
"MIT"
] | permissive | poojitha2002/The-Complete-FAANG-Preparation | 15cad1f9fb0371d15acc0fb541a79593e0605c4c | 7910c846252d3f1a66f92af3b7d9fb9ad1f86999 | refs/heads/master | 2023-07-17T20:24:19.161348 | 2021-08-28T11:39:48 | 2021-08-28T11:39:48 | 400,784,346 | 5 | 2 | MIT | 2021-08-28T12:14:35 | 2021-08-28T12:14:34 | null | UTF-8 | C++ | false | false | 1,486 | cpp | // Link : https://practice.geeksforgeeks.org/problems/sort-by-set-bit-count1153/1
/*
Given an array of integers, sort the array (in descending order) according to count of set bits in binary representation of array elements.
Note: For integers having same number of set bits in their binary representation, sort accor... | [
"raunakpandey1007@gmail.com"
] | raunakpandey1007@gmail.com |
a77b2d5e7a503af06802886d58b4a225dbe477d4 | 906d26f25928328c5ea1c3807e9d77eaf23663e9 | /Lab3/Member.cpp | 6f245533677e8ecf18dab7a35c0fb0f5be423eed | [] | no_license | Vice10/CryptoChat | 1916500980103014706abb7d15a9f4de6e1cb7ad | 8841b97c8f9afcebf4483955168bb02416538589 | refs/heads/main | 2023-05-05T16:37:59.277316 | 2021-05-16T13:59:22 | 2021-05-16T13:59:22 | 366,487,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,830 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "Member.h"
Member::Member(string name)
{
if (name.empty()) throw invalid_argument("Member(): new member name is empty\n");
uniqueName = name;
}
BigInt Member::genPublicKey()
{
//auto pBitRep = cra.convertToBase(p, 2);
a = cra.genPrime(bitLen);
return cra.binp... | [
"noreply@github.com"
] | Vice10.noreply@github.com |
bab773d04c16653684dfbee0723ff47f9d1031e8 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2006_httpd-2.0.43.cpp | 9967bf8690d1c0e967640c80e848b75a26c1bd02 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,964 | cpp | void mpm_signal_service(apr_pool_t *ptemp, int signal)
{
int success = FALSE;
if (osver.dwPlatformId == VER_PLATFORM_WIN32_NT)
{
SC_HANDLE schService;
SC_HANDLE schSCManager;
schSCManager = OpenSCManager(NULL, NULL, // default machine & database
... | [
"993273596@qq.com"
] | 993273596@qq.com |
29369fca185a327654f3cafe6ccc02a1e4f8aa5f | bfce844121b3a1ac643a30ab2715cd77385d66c8 | /1153.cpp | 1e6dfdbdd277d1baff0469b9a31517781b2bd422 | [] | no_license | bappi2097/problem-solving | 13e2afc01c2ec547b9c1e2a73fbdd18ad3afde8c | 0e57cd426c28c2102331c17b4ae1dcd42d945bf3 | refs/heads/master | 2023-02-22T16:21:38.791918 | 2021-01-23T13:34:26 | 2021-01-23T13:34:26 | 331,284,588 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.cpp", "r", stdin);
freopen("output.cpp", "w", stdout);
#endif // ONLINE_JUDGE
int n, fact=1;
cin>>n;
for(int i=1; i<=n; i++)
{
fa... | [
"bappi35-2097@diu.edu.bd"
] | bappi35-2097@diu.edu.bd |
c31aada7a72800e0b71e09d01331feb1566d1e07 | c1df6484af0d2f187b813bd4c7cb1cfdd7e17dbb | /unixstudycode/url_extractor/proxy_url/proxy_url_extractor.h | 4e4f8486dca715b5b733e4cc2696c2c33606f038 | [] | no_license | zieckey/condiment | 091e4350d2f4fa53a729875d50c4efac523910b6 | cf2513d5b43a2b0e9b4d1859132e864818c145e7 | refs/heads/master | 2020-12-22T02:22:04.201545 | 2017-07-28T08:33:56 | 2017-07-28T08:33:56 | 10,431,186 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,191 | h |
#ifndef PROXY_URL_EXTRACTOR_H_
#define PROXY_URL_EXTRACTOR_H_
#include <string>
#include <set>
#include <set>
namespace url
{
/**
* \brief 代理url提取类
* 针对当前互联网恶意网址作者利用302跳转url或翻译类url的漏洞来绕过传统杀毒软件
* 详情参考:http://3g.hebei.com.cn/system/2014/01/06/013162824.shtml
*/
class ProxyURLExtractor
... | [
"zieckey@gmail.com"
] | zieckey@gmail.com |
3e1e253a29563679430af1ae901ad9ce398af94f | 65b122a5694cb83e99deac30d933133ce5ebee0a | /include/inventory_handling.hpp | fa8bbaeadd57c28cdfcf899c4d925e5f69fecc9d | [] | no_license | Lain-/ia | 4aee5c1f4c64a3c2554e1afd825eb9a8264cbfe2 | bd4cd060e7c8c9a274e863925b4ac150a45006bf | refs/heads/develop | 2021-01-15T19:13:07.667077 | 2015-08-09T19:56:34 | 2015-08-09T19:56:34 | 30,091,458 | 0 | 0 | null | 2015-01-30T21:26:15 | 2015-01-30T21:26:15 | null | UTF-8 | C++ | false | false | 461 | hpp | #ifndef INV_HANDLING
#define INV_HANDLING
#include "inventory.hpp"
enum class Inv_scr
{
inv,
equip,
END
};
namespace inv_handling
{
extern Inv_scr scr_to_open_on_new_turn;
extern Inv_slot* equip_slot_to_open_on_new_turn;
extern int browser_idx_to_set_on_new_turn;
void init();
void run... | [
"m.tornq@gmail.com"
] | m.tornq@gmail.com |
dcfba42d2ca37f062abe4075fa8491aae46537cb | 0c27d8b8a9e3d10487fd7efba22db56859bc4233 | /src/SoundManager.cpp | 5f648fff3d9e4d4ef55cec883298b433163c5f34 | [
"MIT"
] | permissive | NBurley93/Prometheus3D | f2552b46605e0ca1f79c3861d69ddfd372ffa04f | b09736bae108d0d0104f5fb6a1560219063008c7 | refs/heads/master | 2021-06-18T10:50:07.665150 | 2017-05-24T07:11:54 | 2017-05-24T07:11:54 | 92,260,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,387 | cpp | #include "SoundManager.h"
SoundManager* SoundManager::mInst = nullptr;
SoundManager* SoundManager::Get() {
if (mInst == nullptr) {
mInst = new SoundManager();
}
return mInst;
}
void SoundManager::addSFX(std::string path) {
auto mit = mSoundCache.find(path);
if (mit == mSoundCache.end()) {
//New sound
Soun... | [
"NJ-Burley@wiu.edu"
] | NJ-Burley@wiu.edu |
d9192f1eecce4e5dd00c5637341103811e618bb1 | 49f61551c5b37aa13db91b561bbdfd7ccdd8fe71 | /2020-11/127.cpp | 85ec4d2123b228ae3aa79c1e626078cb896618ab | [] | no_license | q545244819/leetcode | 232ee45f30058d436763b0ca832b1a8bdf77fb6f | 482c7785f7395d4838efa123c005611345e0e8b2 | refs/heads/master | 2023-02-21T21:58:47.581584 | 2021-01-16T14:10:45 | 2021-01-16T14:10:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | class Solution {
public:
int ladderLength(string beginWord, string endWord, vector<string>& wordList) {
// 思路:单向 bfs
if (wordList.size() == 0) {
return 0;
}
queue<pair<string, int>> Q;
unordered_map<string, bool> memo;
for (const string& word : wordList)... | [
"545244819@qq.com"
] | 545244819@qq.com |
0cc144333f65779dd8781bc13651c4079bd6ff0e | 1ddc475cf09ec98a03e6dfa452ab853698036bb1 | /NicoJKKakolog/NichanChatProviderSettingDialog.cpp | 44eb26f6e3eb821b6f56087d45cae58a2e784711 | [
"MIT"
] | permissive | silane/NicoJKKakolog | a3038b108b0b6b5bac3ec99672d4d59266734937 | e32165d86d1ecdf4f0ea22a67cb8f3f238c498b6 | refs/heads/master | 2020-04-15T13:38:07.674589 | 2017-03-10T09:01:47 | 2017-03-10T09:01:47 | 56,954,808 | 5 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,853 | cpp | #include "../stdafx.h"
#include "NichanChatProviderSettingDialog.h"
#include "../resource.h"
#include "NichanUtils/FuzzyNichanThreadSelector.h"
#include "../NichanParser/NichanParser.h"
namespace NicoJKKakolog
{
std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> NichanChatProviderSettingDialog::cvt_utf8_wchar;... | [
"michiwatsuki@gmail.com"
] | michiwatsuki@gmail.com |
6ed77725b745f8d6f6ec65cab38dccd6628a8a95 | 249b91d3c87ba4eef0caae8dbbd6022a8ff82db2 | /structure_templates_lib/map_lib/TreeMap.h | 7fd82a1e14d87ed8b4015f6dba7c934b5640dee2 | [] | no_license | karolWazny/sdizo2 | 2cfa36d0ba592e0649a93a062c03fdefbfe11308 | 9208bafe212bcb17f7261679a783d0e49f91e1f6 | refs/heads/master | 2023-05-08T16:29:59.218256 | 2021-05-31T17:34:44 | 2021-05-31T17:34:44 | 364,059,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | h | #ifndef SDIZO2_TREEMAP_H
#define SDIZO2_TREEMAP_H
template <typename T, typename U>
class TreeMap {
public:
U& operator[](T);
};
template<typename T, typename U>
U &TreeMap<T, U>::operator[](T) {
return <#initializer#>;
}
template <typename T, typename U>
struct TreeMapNode {
public:
T key;
U content... | [
"karoljanwazny@gmail.com"
] | karoljanwazny@gmail.com |
4f54a63eb26ab95b2aa3fc1b49b3730070353383 | 28aca5930de0f9220ffebf3f9423474d8b81dff3 | /Demos/opengl_triangle.cpp | 72c2030de7be216683676a76319d9167eb735279 | [] | no_license | lewisde/GraphicsProgramming | 981ab8eeeff266b8307e57631615b4d8bc882176 | 405fc6fbef42757588e1ab94bf4f8f8fbfb329d2 | refs/heads/main | 2023-02-25T08:57:43.669968 | 2021-01-28T20:59:40 | 2021-01-28T20:59:40 | 329,418,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,723 | cpp | #include <iostream>
#include <stdlib.h>
#include <math.h>
#include <ctime>
#ifdef __APPLE__
#include <OpenGL/OpenGL.h>
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#define PI 3.14159265
int RenderMode = 2;
int win_width = 640;
int win_height = 480;
float _angle = 60.0f;
float _cameraAngle = 30.0f;
using... | [
"lewisde@gmail.com"
] | lewisde@gmail.com |
d8426b2c7a93d83ea628662d1ce873446566f937 | 6de7db87b672f3c6ddf7cf3de938a73728e6365c | /Graficas_II/Graficas_II/CInputLayoutDX.cpp | 84c19864068878cc3dc1421f794253dc0636bca8 | [] | no_license | Robert170/Graficas_II | d42590459816cae5529e0aba57d963247be804cb | 7a0638345debd1bda1c76194d06b8c800bf4e06f | refs/heads/main | 2023-01-31T16:20:16.581313 | 2020-12-12T07:46:58 | 2020-12-12T07:46:58 | 302,820,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include "CInputLayoutDX.h"
CInputLayoutDX::~CInputLayoutDX()
{
if (m_pInputLayout)
{
m_pInputLayout->Release();
}
} | [
"xenoblade170@gmial.com"
] | xenoblade170@gmial.com |
1a0b9931d3b149968c31e78819ed656c6f71be3e | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cfs/src/v20190719/model/DescribeBucketListResponse.cpp | c8251063213b47b0eeccf36d3b04ab2c13f80983 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 5,427 | 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 |
eb3c19083247328dd0e3ac048e159984d40b37fd | 9e4aaa2a311df0d8ec99d2732d67d1e462c1dbc8 | /vtune_amplifier/tachyon_sample_android/java/src/tachyon_src/tbb/include/tbb/task_scheduler_observer.h | 81c655d0ff20a20e8f13c3e513d1c6b9c6a1d286 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | intel-system-studio/samples | 13eb9758f2c784604eddf54ce5fa872ee6b9a3f5 | 17c039aab5cd77ab5f4c3ba86e0664e7208bc537 | refs/heads/iss2019-update4 | 2021-06-21T08:05:39.142335 | 2019-12-16T21:21:04 | 2019-12-16T21:21:04 | 97,175,652 | 22 | 12 | null | 2019-12-17T01:01:56 | 2017-07-14T00:21:51 | C++ | UTF-8 | C++ | false | false | 7,390 | h | /*
Copyright (C) Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks. Threading Building Blocks is free software;
you can redistribute it and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation. ... | [
"sergey.kiselev@intel.com"
] | sergey.kiselev@intel.com |
f91729e66d7f0fc9176deb1087dae66070e2fe74 | 3912f61f8f09fdaf473785c142dec9d74dbdb2a3 | /abc/158/d.cpp | 65911b63d7e2a227bfda197e520e3fcaa0cff0f6 | [] | no_license | nna774/algo | ae668460f41597be2887d6e77f0b07223c4a27af | 4e3e042e0806deb1842d0c2572111331f1537659 | refs/heads/master | 2021-04-29T22:34:22.061168 | 2020-11-02T09:01:44 | 2020-11-02T09:01:44 | 121,640,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | #include<algorithm>
#include<iostream>
#include<string>
int main(int, char**) {
std::string s, heads;
std::cin >> s;
int qs;
std::cin >> qs;
bool reverse{};
for(int i{}; i < qs; ++i) {
int q;
std::cin >> q;
if(q == 1) {
// reverse
reverse = !reverse;
} else {
int f;
... | [
"nonamea774@gmail.com"
] | nonamea774@gmail.com |
612522f46f0bcb5a83e6c5a58224d407ad7b3029 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-iot/include/aws/iot/model/CloudwatchAlarmAction.h | 186f7c725a53be8bc77071df3d3fa814233aa71d | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 6,878 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
d110cde0dfbabcf4defda9b62fe798ef6a7bfc1a | e50b5f066628ef65fd7f79078b4b1088f9d11e87 | /llvm/tools/clang/test/OpenMP/parallel_reduction_codegen.cpp | f2697f0b0aa369537125e0075b469f75b18cbe34 | [
"NCSA"
] | permissive | uzleo/coast | 1471e03b2a1ffc9883392bf80711e6159917dca1 | 04bd688ac9a18d2327c59ea0c90f72e9b49df0f4 | refs/heads/master | 2020-05-16T11:46:24.870750 | 2019-04-23T13:57:53 | 2019-04-23T13:57:53 | 183,025,687 | 0 | 0 | null | 2019-04-23T13:52:28 | 2019-04-23T13:52:27 | null | UTF-8 | C++ | false | false | 46,495 | cpp | // RUN: %clang_cc1 -verify -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s
// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple x86_64-apple-darwin10 -emit-pch -o %t %s
// RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -std=c++11 -include-pch %t -verify %s -emit-llvm -o... | [
"jeffrey.goeders@gmail.com"
] | jeffrey.goeders@gmail.com |
3d7447dedc3f894a1f8fd89786ad3f19483d9969 | a8f69afb2d2ba08513df1a8bd16c165b000d224b | /tests/canvasTester.cpp | 5dcc9335ad1d3c87a54ca21d357d6ffe9b02bc8d | [] | no_license | nhtranngoc/yart | 7b3de558ab407f3f91d9eba0eebafe2d32b74054 | 45872b235ce53b9b989dff59c687f29efb415719 | refs/heads/master | 2020-09-25T13:57:58.323525 | 2020-06-12T03:46:00 | 2020-06-12T03:46:00 | 226,017,717 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <CppUTest/TestHarness.h>
#include "canvas.h"
TEST_GROUP(CanvasTest) {};
TEST(CanvasTest, CanvasContainsBufferOfAppropriateSize) {
auto image = Canvas(10, 10);
LONGS_EQUAL(10, image.height);
LONGS_EQUAL(10, image.width);
}
TEST(CanvasTest, CanvasInitializationIsBlack) {
auto image = Can... | [
"nhtranngoc@wpi.edu"
] | nhtranngoc@wpi.edu |
599073596f827e83905d772222793b6b3d663885 | f3098a015b17624586cce5f7c5db31510f27850e | /reader.h | ef855f97683491c7d98d0b9857f2234b722ebeb2 | [] | no_license | firatsezel/MainCpp | 3b3d3c664684994e7cec3f452b43d8eba6df71b0 | 8ce28f4167936f09878166bf0c8e4db2c8283fd3 | refs/heads/master | 2021-01-20T19:33:22.543129 | 2016-07-19T12:01:12 | 2016-07-19T12:01:12 | 62,312,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | h | #ifndef READER_H
#define READER_H
#endif // READER_H
std::string readFile(std::string);
| [
"noreply@github.com"
] | firatsezel.noreply@github.com |
ed37c773efcb86a5d273fcc8d2d9f65b41e33278 | 4e365a48bb18aa98ebf1f6955ba4bb7b97b26afc | /src/bgp/tunnel_encap/test/tunnel_encap_test.cc | 959a87227a651c71acaec85ec493274009520670 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sunandakommula/contrail-controller | ebaec2501daab9104310aa4e479d920afded0598 | 8ee373b9f3959a4642735fa2485f085a993efc83 | refs/heads/master | 2021-07-10T18:23:08.095948 | 2017-10-12T23:58:34 | 2017-10-12T23:58:34 | 105,948,959 | 0 | 0 | null | 2017-10-05T23:03:41 | 2017-10-05T23:03:41 | null | UTF-8 | C++ | false | false | 8,289 | cc | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "bgp/tunnel_encap/tunnel_encap.h"
#include "testing/gunit.h"
using namespace std;
class TunnelEncapTest : public ::testing::Test {
};
TEST_F(TunnelEncapTest, String_1) {
TunnelEncap tunnel_encap("gre");
EXPECT_EQ(TunnelEncapT... | [
"nsheth@juniper.net"
] | nsheth@juniper.net |
57478bd862384fbce523e3f11243f7f6d7822566 | 49616bddf1f6cf68e76ab2d0be0899e233174152 | /fmaspc/include/output/Plugin.hpp | e1c18f1cf92e0e94823c855fbbf181226eb8271a | [
"MIT"
] | permissive | BenjaminSchulte/fma | 40ed53a4a78f4bdf340d0b1e0a4f8656d6718abf | df2aa5b0644c75dd34a92defeff9beaa4a32ffea | refs/heads/master | 2022-03-12T12:16:19.154084 | 2021-09-18T13:01:00 | 2021-09-18T13:01:00 | 110,001,614 | 15 | 0 | MIT | 2020-12-22T10:07:09 | 2017-11-08T16:32:16 | C++ | UTF-8 | C++ | false | false | 793 | hpp | #ifndef __FMASPC_OUTPUT_PLUGIN_H__
#define __FMASPC_OUTPUT_PLUGIN_H__
#include <fma/plugin/Plugin.hpp>
#include <fma/output/DynamicBuffer.hpp>
namespace FMASPC {
namespace output {
class SpcOutputPlugin : public FMA::plugin::OutputFileWriterPlugin {
public:
SpcOutputPlugin(FMA::Project *project);
const char *... | [
"benjamin@dokomi.de"
] | benjamin@dokomi.de |
49f6e042139680fc186b01e75b248a41f75248b3 | c2af4072b9876fd6aefa498589004518af567309 | /testing/testSplines.cc | 642e0b4e52e5807aa084bc883c7da24d4fa8b67e | [] | no_license | fpbeekhof/cvmlcpp | d6626ea90a1efccbccc40f9f12345e965ef57e02 | 06b9a47bd3c75fafd1f91239266850086a130606 | refs/heads/master | 2021-01-19T03:20:35.168915 | 2014-03-15T19:17:00 | 2014-03-15T19:17:00 | 17,783,373 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,356 | cc | /***************************************************************************
* Copyright (C) 2009 by BEEKHOF, Fokko *
* fpbeekhof@gmail.com *
* *
* This pr... | [
"fpbeekhof@gmail.com"
] | fpbeekhof@gmail.com |
0054bde34b5f2cc8b2ec3728b0cf2550a4eed919 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /third_party/blink/renderer/platform/exported/web_input_event.cc | 2ff43ce5b77f77744cf988aec809cd48bbfc0088 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 3,549 | cc | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
aa834c625e87c014d0a1aac359483eef9f24a540 | 2e94c1ace7917f73032474f2b09cf1b5acce8914 | /src/util/decimal_to_binary.cpp | d863fd25eaff4166eb86dfd8d1d2f5007c3906f9 | [] | no_license | dbadaya1/CompetitiveCoding | f10d232c3faed0d67e17663cc88ccf70754a6d2c | aa8b37f5fd8a3647aaa81aac4a105758b26b3454 | refs/heads/master | 2021-01-16T23:18:13.682074 | 2017-02-28T15:39:28 | 2017-02-28T15:39:28 | 82,834,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <iostream>
#include <bitset>
int main()
{
std::string binary = std::bitset<8>(128).to_string(); //to binary
std::cout<<binary<<"\n";
unsigned long decimal = std::bitset<8>(binary).to_ulong();
std::cout<<decimal<<"\n";
return 0;
} | [
"dhananjay_badaya@yahoo.com"
] | dhananjay_badaya@yahoo.com |
52c183ac11e0dda8c4901229bf4b5ddc3ab7b673 | da0e478aa133828b46cd9cdce321440806d6f5df | /IbeoSDK6.0.4/sdk/source/sdk/include/ibeo/common/sdk/devices/IbeoLux.hpp | 08adc790bb68f103c0026f1306cce5043e406494 | [] | no_license | mak6gulati/IBEO_sdk_check | 1a911fe1b5bd92bab2800fa40e4dfa219a10cd5b | 1114cbb88fa1a95e00b912a501582b3a42544379 | refs/heads/master | 2022-12-30T17:27:45.848079 | 2020-10-20T07:59:07 | 2020-10-20T07:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,950 | hpp | //==============================================================================
//!\file
//!
//!$$IBEO_LICENSE_BEGIN$$
//!Copyright (c) Ibeo Automotive Systems GmbH 2010-2019
//!All Rights Reserved.
//!
//!For more details, please refer to the accompanying file
//!IbeoLicense.txt.
//!$$IBEO_LICENSE_END$$
//!
//!\date ... | [
"mayank.gulati@automotive-ai.com"
] | mayank.gulati@automotive-ai.com |
1458de218cbb6cf6c16b6cc4dc3f5f8283a4b05e | 676d2822ec6ea4ae4ca2fd26116019a167aa0a83 | /semester4/Algorithms/Deque-algorithms-lab-worl-3-semester4/Deque-algorithms-lab-worl-3-semester4/DinamicDeque.cpp | b5037bf8dea48c78e36cb0802778faee77995a0c | [] | no_license | DimaGashko/VSProjects | 24ca6eb0b9fb205e0c51c5c6f1f1a431b599b5ec | 8bc33d28934d40089eca4ed537c2827da82448fb | refs/heads/master | 2020-04-04T09:53:32.805617 | 2020-01-14T22:02:42 | 2020-01-14T22:02:42 | 155,834,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | #include "DinamicDeque.hpp"
namespace dg {
DinamicDeque::DinamicDeque() {
}
int DinamicDeque::front() {
auto item = m_list.front();
return (item) ? item->value : 0;
}
int DinamicDeque::back() {
auto item = m_list.back();
return (item) ? item->value : 0;
}
void DinamicDeque::pushFront(int value) {
... | [
"dgashko@mail.ua"
] | dgashko@mail.ua |
e607b581333b127779c6b47d7e4963d88afcaea1 | d8b336311ecaeba4477bc77e157151178d40b4cd | /Software/1.1.5/ControllerApp/Sensor.h | 7659b8eabc95379cb9fdbbaaea01edde843c1a81 | [] | no_license | jbesemer/Humidity | 53635356d3208b9f3e8ec61a556794979f49b6d2 | ca171f84068dbb01945f786f3a79e6b08ef9f4ef | refs/heads/master | 2022-01-29T00:01:47.285103 | 2019-07-22T18:20:13 | 2019-07-22T18:20:13 | 198,279,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | #ifndef SENSOR_H
#define SENSOR_H
#include "Config.h"
#include "Sensirion.h"
enum SensorTrend {
Unknown = 0,
Falling = 1,
Rising = 2,
};
class Sensor
: public Sensirion
{
SensorTrend Trend( float value, float prev_value );
public:
float Temp_c;
float Temp_f;
float Humidity;
float Prev_temp_f;
float Prev... | [
"james.besemer@gmail.com"
] | james.besemer@gmail.com |
abf7b9f8b23b638306301cd2a69600a293e1b878 | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/WelcomeHelpScreen_functions.cpp | d6f95343953c310980b8e8b2618c78b231c37d95 | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,310 | cpp | // Name: Torchlight3, Version: 4.26.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
0cf3ea0d685e2de46bae61326d187fa8f5113ce1 | db9d4f59659a67d15c28b6618caf436995b1c4f8 | /src/ESP8266WiFi.h | 99c25292258aaac12468d830e9219c3bfe8c530e | [] | no_license | apokrovskyi/blynk_esp8266 | 5d67d2c5ff77f1c78bc1653e23147be4bb252682 | d20c89f1682089aa6ea4a7afc0e7b6731a1e417f | refs/heads/master | 2021-09-07T08:28:07.923766 | 2018-02-20T08:34:03 | 2018-02-20T08:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | h | /*
* ESP8266WiFi.h
*
* Created on: 07.07.2017
* Author: andrew
*/
#ifndef ESP8266WIFI_H_
#define ESP8266WIFI_H_
#include "IPAddress.h"
#include "user_interface.h"
#include "Serial.h"
class ESP8266WiFi{
public:
void mode(uint8 opmode)
{
wifi_set_opmode(opmode);
}
void begin(cons... | [
"pokrowsckij.a@gmail.com"
] | pokrowsckij.a@gmail.com |
d240e2f22a3c520ae8be4d6bd5d9877342bc1898 | ed09e9cc0bac6e235daa42a3ba3addd46014b25d | /Daily_Exercise/q5/q5.cpp | 0989810fdb86de28bf3e87460a6bf37e293d0b0e | [] | no_license | chuericky/CS225_Data_Structure | b454274b8e9211f9cfbbc139195159ea2e316b70 | a27eb2a06f6837af89c5fbe29a156a1ae4c39708 | refs/heads/master | 2020-05-29T11:43:11.268332 | 2016-10-29T06:16:26 | 2016-10-29T06:16:26 | 68,674,360 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | #include <iostream>
int main() {
int x = 2016; // Define an integer x in stack, and initialize it with value 2016.
int *p = &x; // Define an integer pointer p on the stack, and assigns it to point to x.
// Print out the address of x and the value of x.
std::cout << "x is stored at address " <... | [
"noreply@github.com"
] | chuericky.noreply@github.com |
476f4d88a3a7aaba2f85322e5bd5eee2dccab852 | 6295837ba91a52200ce924ad00298f81320731a3 | /Lab5-6/Lab5-6/Testing.h | 7c1a104e7c279cc39ac8c2f5b2f749999f8b97d8 | [] | no_license | alexovidiupopa/Object-Oriented-Programming | 440aac0a771b2c6f39c8f91072f828346837fd84 | 93bcfcac464815db832f22c02a4bbfb4d9d30024 | refs/heads/master | 2022-01-09T13:12:25.330141 | 2019-06-18T12:25:38 | 2019-06-18T12:40:40 | 172,544,796 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #pragma once
#include "Controller.h"
class Testing
{
private:
void testValidatorsWrongInput();
void testTapeInputOutputOperators();
void testCreateTapeAndTapeMethods();
void testRepositoryAdd();
void testRepositoryDelete();
void testRepositoryUpdate();
void testRepositoryList();
void testRepository();
void tes... | [
"alex_ovidiu99@yahoo.com"
] | alex_ovidiu99@yahoo.com |
50cb7a157b68617ddb83dd5a65970cf7d5f4f204 | e97e06f8331de6d484a054ff6bec22f6aa2f83d0 | /linked_list_2.cpp | 26a6f5d5cf92a948e5126a72e7e9468df421a414 | [] | no_license | Shwetakumari1/HDOC | abde8dd58d30877c14031fde93cb464d6e92be5d | ef9a76b53fb94be9fd33ce752f26a8a350534a01 | refs/heads/master | 2020-06-09T19:54:04.795906 | 2019-08-17T16:21:31 | 2019-08-17T16:21:31 | 193,496,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | cpp | #include <cstddef>
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class Node
{
public:
int data;
Node *next;
Node(int d){
data=d;
next=NULL;
}
};
class Solution{
public:
Node* r... | [
"noreply@github.com"
] | Shwetakumari1.noreply@github.com |
7b08ad1c1e8e850f84a2e794b1e779dbc4b44d78 | 7eea47e0c9d31762af6a854c56219c280405fea9 | /thinkspeak.ino | 470463695cc5c33d55f630b0e8f31b33cad0b900 | [] | no_license | KeeYoungYoon/my_project1 | 75e4c3d7e7a714834aa4065c9efff3a9214a91a0 | e822968a532c496bd9b1f9ec8a76416bd8ba3729 | refs/heads/master | 2020-04-27T23:41:27.783966 | 2019-03-31T16:54:58 | 2019-03-31T16:54:58 | 174,786,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | ino | #include <ESP8266WiFi.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#define Time_Period 60 // time period one minute
#define ONE_WIRE_BUS 2 //D4
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature DS18B20(&oneWire);
float prevTemp = 0;
const char* server = "api.thingspeak.com";
String apiKey ="6NFRRCAYBED0EOWW"... | [
"noreply@github.com"
] | KeeYoungYoon.noreply@github.com |
4ee4a9bde9061b9927e37f2a0357838f5e3ef406 | cbce1565c63336b851b726cfb84bea99035c86e2 | /devanshdalal/codechef/CHEFZOT/CHEFZOT-4000497.cpp | d8af2ae3a2170f762a7b23196f3fe5c6f98e487b | [] | no_license | devanshdalal/CompetitiveProgrammingAlgos | 3ad301c19e1b133e72e3b96a10a976a7955c4e25 | ab19db4c4fed6f880537a9c45e5ccc50ceed9d97 | refs/heads/master | 2021-01-17T12:24:58.822428 | 2016-06-17T04:00:00 | 2016-06-17T04:00:00 | 51,207,702 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | cpp | #include<stdio.h>
#include<string.h>
#include<iostream>
#include<algorithm>
#include<map>
#include<cmath>
#include<bitset>
#include<vector>
#include<stack>
// #define DD ios_base::sync_with_stdio(false)
#define maxx 10001
using namespace std;
typedef long long ll;
// #ifdef _WIN32
// inline int getchar_unlocked() { re... | [
"mr.devanshdalal@gmail.com"
] | mr.devanshdalal@gmail.com |
68279fb068d77785133ffbdd8639be0e15341706 | 0668404b877fb65d61f1131ea7529dda622286c8 | /C and C++/Programming in C++/2.Fuctions and Classes/Default_arguements_test.cpp | 88eec3e2d0047f326570f90819ce90a2c03d4240 | [] | no_license | nikhiljsk/Programming | 1137128f787ccd5eef45f8aff91128f740195592 | 8226c2320809d252eb3a49149044c0cd217391b4 | refs/heads/master | 2020-05-03T21:50:56.230712 | 2020-02-28T10:18:22 | 2020-02-28T10:18:22 | 178,832,071 | 0 | 0 | null | 2020-02-20T12:33:26 | 2019-04-01T09:41:38 | HTML | UTF-8 | C++ | false | false | 344 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
void display(int n=2,char ch='*');
int main()
{
int m=3,p=4;
char c='#';
display();
display(m);
display(p,c);
getch();
return 0;
}
void display(int x,char y)
{
for(int i=1;i<=x;i++)
{
for(int j=1;j<=x;j++)
{
cout<<y<<" ";
}... | [
"nikhiljs@in.ibm.com"
] | nikhiljs@in.ibm.com |
d8556c8c8dba9f620407e283c01146d2ed81a357 | 77fe6a27f70f70d5c18b1a2c852c126f648423f2 | /Formations/Framework/Vector2f.h | 103266a4abb45608f02b6518167c46ad68971e04 | [] | no_license | annaertYann/AI-Research-Formations | 88c36bc70ef1b3a514f4ce8e1d05a22ea613f172 | 73bd39b3f081abf3a6f348cd007458276926550d | refs/heads/master | 2023-08-13T23:30:48.977184 | 2021-10-04T12:05:01 | 2021-10-04T12:05:01 | 327,626,366 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,139 | h | #pragma once
struct Vector2f
{
// -------------------------
// Constructors
// -------------------------
Vector2f( );
explicit Vector2f( float x, float y );
explicit Vector2f( const Point2f& fromPoint, const Point2f& tillPoint );
explicit Vector2f( const Point2f& point );
// -------------------------
// Mem... | [
"annaertyann@gmail.com"
] | annaertyann@gmail.com |
422ad88c217abf8b0e7165a466346927f6ea84e6 | 9f3ec71f502ffc1a32b1c9fbdf52cc27f79cd266 | /C++(1st)/394.decode-string.cpp | 5e8b9126981a1028ca2fbc660c52a824629d006e | [] | no_license | shanerbo/leetcode | 3b91383bf8b1bb13c7ca1e58507cf24f60fc23de | a08f897e73bd2fdd28eb723aeddd4eb617340691 | refs/heads/master | 2021-08-16T16:54:45.471245 | 2021-08-09T23:04:33 | 2021-08-09T23:04:33 | 211,225,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,810 | cpp | /*
* @lc app=leetcode id=394 lang=cpp
*
* [394] Decode String
*
* https://leetcode.com/problems/decode-string/description/
*
* algorithms
* Medium (46.74%)
* Likes: 2049
* Dislikes: 111
* Total Accepted: 142.2K
* Total Submissions: 302.5K
* Testcase Example: '"3[a]2[bc]"'
*
* Given an encoded stri... | [
"shanerbo@gmail.com"
] | shanerbo@gmail.com |
021569b876f3e3167f5dd01113dcbe7ddc56770a | 5da61c393b65b5b06ec684242adb457d25f1f4a2 | /src/Core/options.cpp | 29ecc636f20a1b7c5dbf84379b2894cb939f1546 | [
"MIT"
] | permissive | MehmetMelihKosucu/EPANET_3-PMX | cb74d1480f61f42dd59dfa509e140dc098385c38 | e4674330225288c8ba29c23928ce8c82f38a7c9f | refs/heads/main | 2023-06-10T13:46:40.996311 | 2023-06-02T01:28:32 | 2023-06-02T01:28:32 | 581,764,129 | 1 | 0 | MIT | 2023-06-02T00:58:06 | 2022-12-24T08:34:48 | C++ | UTF-8 | C++ | false | false | 18,938 | cpp | /* EPANET 3.1.1 Pressure Management Extension
*
* Copyright (c) 2016 Open Water Analytics
* Licensed under the terms of the MIT License (see the LICENSE file for details).
*
*/
/////////////////////////////////////////////
// Implementation of the Options class. //
///////////////////////////////////////////... | [
"kosucu@itu.edu.tr"
] | kosucu@itu.edu.tr |
56d1fc666ba15db4e4e543d30aa8113abef5533b | 00ededc414949ba7d5f9ab596b2bd4922afc5b7c | /Client/Summary.h | c7043d4dcc6842a622837a8912f0691f6ddc6f26 | [] | no_license | bkuker/DiceNet | b41863f67f3305e35835e06b318c68d22cacd529 | 267d5b500b97300737cbf07eaa2a90f7ac23a757 | refs/heads/master | 2016-08-11T20:35:41.873400 | 2016-01-10T20:26:46 | 2016-01-10T20:26:46 | 49,384,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | h | // Summary.h: interface for the Summary class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SUMMARY_H__7726C1E3_A13B_42C9_A86F_5E3B4F475F1A__INCLUDED_)
#define AFX_SUMMARY_H__7726C1E3_A13B_42C9_A86F_5E3B4F475F1A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_V... | [
"bkuker@martellotech.com"
] | bkuker@martellotech.com |
28b2a35cd568a1aa123613f475dd1b23bbed5922 | 7aaa96c2a3b4847db65c5cb7959c41f8705c6db1 | /3월/이미지 클래스/ImageClass2/IppCreateDoc.cpp | b1d068aaa5e0f1c00e8d77d19018962e52dc7bb1 | [] | no_license | YeonWon123/2019_Image_Processing | 9b16f50ba681d8b4f1bd088222512cb12c8d9a1a | cef1e69f4e16a7f3d6f45c156dce6322ae232fb3 | refs/heads/master | 2020-04-22T00:15:10.677469 | 2019-05-20T16:47:59 | 2019-05-20T16:47:59 | 169,972,612 | 4 | 1 | null | null | null | null | UHC | C++ | false | false | 2,865 | cpp |
// IppCreateDoc.cpp : CIppCreateDoc 클래스의 구현
//
#include "stdafx.h"
// SHARED_HANDLERS는 미리 보기, 축소판 그림 및 검색 필터 처리기를 구현하는 ATL 프로젝트에서 정의할 수 있으며
// 해당 프로젝트와 문서 코드를 공유하도록 해 줍니다.
#ifndef SHARED_HANDLERS
#include "IppCreate.h"
#endif
#include "IppCreateDoc.h"
#include <propkey.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif... | [
"46421507+YeonWon123@users.noreply.github.com"
] | 46421507+YeonWon123@users.noreply.github.com |
6ff11222454b9a8fe064937067a4423431457ea4 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/PhysicsAnalysis/AraToolExample/AraToolExample/AraToolUsingTool.h | b7bc6352dda162a14b93af39082cd956fa37efcc | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef AraToolUsingTool_H
#define AraToolUsingTool_H
#include "GaudiKernel/ToolHandle.h"
#include "AraTool/AraToolBase.h"
#include "AraToolExample/AnExampleAraToolWrapper.h"
#include "AraToolExample/AnExampleAraTool.h"
class AraToolUs... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
0307affc4c4accc88859100944879ec3ad72f785 | 9e4c6450ec6668bf5627202daf0aecca98daa80c | /openglwidget.cpp | 4923640a2b0ae277055e3b741f3f9d17d1f0200f | [] | no_license | shalala-cy/Breakout_QT | a0aebfedbbc47d54abcf73a884fa8173ed84c0b2 | 470acb315dae3f8a1dc90a1c4d477ab257cf9a91 | refs/heads/master | 2022-07-08T17:16:47.830419 | 2020-05-10T08:09:53 | 2020-05-10T08:09:53 | 262,699,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,827 | cpp | #include "openglwidget.h"
#include "game_object.h"
#include "game_brick.h"
#include "game_ball.h"
#include "game_level.h"
#include "particle_manager.h"
#include "texture.h"
#include <QImage>
#include <QMatrix4x4>
#include <QKeyEvent>
#include <iostream>
#include <QTimer>
#include <tuple>
#include <QDebug>
enum Dirct... | [
"57318640+shalala-cy@users.noreply.github.com"
] | 57318640+shalala-cy@users.noreply.github.com |
55c7eac01b47e790fb0c675f6757c548c4373308 | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/game/shared/tfc/tfc_gamerules.cpp | ee95a1f7fb63d19b218db05a3663b491a8019f82 | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 11,658 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: The TF Game rules
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "tfc_gamerules.h"
#include "ammodef.h"
#include "KeyVa... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
0d85c78642bf3e642321665490bd9e6e480faeea | 86a98dff492a06d0fe933c053e7c5f801ea846d5 | /leetcode/122.cc | bffec3ec3f17247772eb0258c53d56a571253f23 | [] | no_license | uufree/Data-Structure-And-Algorithm | 50449778e6b6972526ff8be61ea5874f7f5dd20d | 6f95cf99012ede54efbc7ca83147bceebcc3dd36 | refs/heads/master | 2021-01-01T16:08:48.046677 | 2018-07-06T06:51:08 | 2018-07-06T06:51:08 | 97,778,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cc | /*************************************************************************
> File Name: 122.cc
> Author: uuchen
> Mail: 1319081676@qq.com
> Created Time: 2018年05月26日 星期六 21时37分41秒
************************************************************************/
#include<iostream>
#include<vector>
int maxProfix(std::vect... | [
"369470777@qq.com"
] | 369470777@qq.com |
768274a2602ea2c36635326d12f852d49e1712be | f55665c5faa3d79d0d6fe91fcfeb8daa5adf84d0 | /Depend/MyGUI/UnitTests/UnitTest_GraphView/ConnectionInfo.h | a36cbbe5f29461df1bf96b5af9f6384b7365729f | [] | no_license | lxinhcn/starworld | 79ed06ca49d4064307ae73156574932d6185dbab | 86eb0fb8bd268994454b0cfe6419ffef3fc0fc80 | refs/heads/master | 2021-01-10T07:43:51.858394 | 2010-09-15T02:38:48 | 2010-09-15T02:38:48 | 47,859,019 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 822 | h | /*!
@file
@author Albert Semenov
@date 01/2009
@module
*/
#ifndef __CONNECTION_INFO_H__
#define __CONNECTION_INFO_H__
#include <MyGUI.h>
namespace wraps
{
struct ConnectionInfo
{
ConnectionInfo()
{
}
ConnectionInfo(
const MyGUI::IntPoint& _point_start,
const MyGUI::IntPoi... | [
"albertclass@a94d7126-06ea-11de-b17c-0f1ef23b492c"
] | albertclass@a94d7126-06ea-11de-b17c-0f1ef23b492c |
395355f66ce8bccac193d7821a083f804e3e89d6 | bbf6f36addf72590c0f73d7ea51f13221c66971f | /test/core/event_engine/fuzzing_event_engine/fuzzing_event_engine.cc | 49231207fa48750db7dbe2337035673ea599d39e | [
"Apache-2.0",
"BSD-3-Clause",
"MPL-2.0"
] | permissive | hongnod/grpc | 1c2167045cc895241d16827e98c06fb586a01cd7 | ef30a4ebdb4d53d916115ff8d15c0bd427f97703 | refs/heads/master | 2023-07-02T20:04:19.989476 | 2022-07-01T07:46:18 | 2022-07-01T07:46:18 | 508,111,697 | 0 | 0 | Apache-2.0 | 2022-06-30T11:14:15 | 2022-06-28T01:13:17 | null | UTF-8 | C++ | false | false | 6,787 | cc | // Copyright 2022 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | [
"noreply@github.com"
] | hongnod.noreply@github.com |
ef469d27afa671681663ee7068c3fbeff3ececdd | 143ee2c7b0f36bc0719b2ef08c9f04ff6a5f83ff | /popobird-cocos2dx-v2/Classes/AudioManager.cpp | 582e15bc3ec9abaa2ec66247083e81eb68c458e9 | [] | no_license | xiangtone/xtone-public-base | f2538b5755629203dc44e6b821e3eab2614ef03e | 389098340d614610dd6c9a6a90f291129b14a551 | refs/heads/master | 2020-04-04T04:10:33.214528 | 2018-05-08T05:09:08 | 2018-05-08T05:09:08 | 46,548,224 | 1 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,199 | cpp | #include "AudioManager.h"
#include "SimpleAudioEngine.h"
#include "Config.h"
using namespace CocosDenshion;
AudioManager* AudioManager::m_instance = NULL;
AudioManager::AudioManager()
{
}
AudioManager::~AudioManager()
{
}
AudioManager* AudioManager::instance()
{
if (m_instance == NULL)
m_instance = new AudioM... | [
"13565644@qq.com"
] | 13565644@qq.com |
77b81be1e55c3e738329e30a042a972375808881 | fc7695fd49289705af17635cd5919e2cb2a5f357 | /TankGame/Source/TankGame/SpawnPoint.cpp | 96a158072c1f73341ed1ca084df6bf958f3b963c | [] | no_license | hazardlight/tankgame | 1cb311aeda9fb1edcb43d19ae29ef802c2aabef5 | 98f8de3d2733cb7e578f12e0465bd27b86bd6bcb | refs/heads/master | 2020-06-29T10:17:15.340806 | 2019-11-26T17:41:54 | 2019-11-26T17:41:54 | 200,508,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SpawnPoint.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/EngineTypes.h"
//#include "Components/SceneComponent.h"
//#include "GameFramework/Actor.h"
#include "Engine/World.h"
// Sets default values for this component's... | [
"ctabis@gmail.com"
] | ctabis@gmail.com |
675382ac11f33363fd8d48ed039d5779d15f3f36 | 158d4694738831a921b19c299aec63888f7e8730 | /MaterialLib/MPL/Phase.cpp | 203bd92f51b0098ae8fc3d2f4cb092c62b9259d2 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | bilke/ogs | 2a316733042d919fb0baefdd66236b826adae7d7 | 517d0eaac7b1710d77ec7ddfc2957d7c59fecade | refs/heads/master | 2020-12-25T07:51:23.679463 | 2019-08-06T10:08:57 | 2019-08-06T10:08:57 | 5,700,383 | 1 | 1 | NOASSERTION | 2019-06-06T14:27:41 | 2012-09-06T09:57:29 | C++ | UTF-8 | C++ | false | false | 1,625 | cpp | /**
* \file
* \author Norbert Grunwald
* \date Sep 7, 2017
*
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/lic... | [
"github@naumov.de"
] | github@naumov.de |
8ce6510d7736e2b9b6d264909d0436fe51afdcba | be406b650b3649de699e962f76eebb90df4032a1 | /c++_primer_plus/chapter_2/carrots.cpp | f5b19ce8cb8d0dfbab638d659f26c8d03999ce53 | [] | no_license | nextann/cpp | d02aa8948c88c0690d2fc3aadbd9576a7c7d5ff7 | 530e714f1c8cb88b035fdff666e7896f3549c388 | refs/heads/master | 2021-05-09T09:44:34.203178 | 2018-02-22T10:09:38 | 2018-02-22T10:09:38 | 119,458,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | // carrots.cpp -- 음식물 처리 프로그램
// 하나의 변수를 사용하고 출력
#include <iostream>
int main()
{
using namespace std;
//int carrots;
carrots = 25;
cout << "나는 당근을 ";
cout << carrots;
cout << "개 가지고 있다.";
cout << endl;
carrots = carrots - 1;
cout << "아삭아삭, 이제 당근은 " << carrots << "개이다." << endl;
... | [
"jinchulann93@gmail.com"
] | jinchulann93@gmail.com |
b7d65611d8b6df96256a268b6c4b797fd6eec8c4 | e741f43e6f28669f1330faa422bbf44c496b63b4 | /projects/hashdict/testhashdict.cc | 95592d2a6ecf709594c3eadc176c8157c2ffe804 | [] | no_license | StevensDeptECE/CPE593 | d5ee7816a42d9db112a9618fb95c14922ccd8e75 | 3ca8115e84287a2afd18d27976720c159ab056a2 | refs/heads/master | 2023-04-26T21:07:47.252333 | 2023-04-19T01:25:09 | 2023-04-19T01:25:09 | 102,521,068 | 50 | 51 | null | 2023-03-05T17:45:52 | 2017-09-05T19:22:17 | C++ | UTF-8 | C++ | false | false | 563 | cc | #include "hashdict.hh"
void read_and_write_dict(const char filename[],
const char compressedfilename[]) {
/*
should read in the words in ASCII and create a compact stored form
and write it out to disk
*/
hashdict<'a', 26> hd = hashdict<'a', 26>::read_ascii(filename);
hd.save(compressedfilename);
... | [
"Dov.Kruger@stevens.edu"
] | Dov.Kruger@stevens.edu |
c89f312356b90e754a60a100590159f13da1d03b | 156e981a7069e2674f2ea5a27d4f0ca46fb2ddc0 | /mva/Licenta/modules/motherboard/cpu/headers/cpuid_defines.h | 2dac50037a9c987de88db51f22f46d916fb5bbdf | [] | no_license | bogdan-constandache/SystemToolKit | 3e1b2e4d632c7543aac81a516242969a31d2e3d4 | 4cc02ab226fac277b7ba8ce2338c1d9bafa6a165 | refs/heads/master | 2021-01-19T06:29:39.808239 | 2015-03-01T14:21:54 | 2015-03-01T14:21:54 | 14,975,857 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 982 | h | #ifndef CPUID_DEFINES_H
#define CPUID_DEFINES_H
typedef struct _CACHE_INFORMATION
{
QString Level;
QString Type;
QString Size;
QString Descriptor;
}CacheInformation, *PCacheInformation;
typedef struct _CPU_INSTRUCTIONS
{
QString qzName;
QString qzDescription;
_CPU_INSTRUCTIONS(QString qzN,... | [
"bogdan_constandache@yahoo.com"
] | bogdan_constandache@yahoo.com |
ef75d773622c4aadb4680787b8c2b3df68ffb30f | fd846a8a472e93838ada16dafb45c058bdea596a | /solutions/BaseN.cpp | c9313b4deb6fe711d5f7c7e52c7825417429ccb5 | [] | no_license | hiroshi-maybe/atcoder | 57fb3f49ea26ba8d9f979c7e2cd896da45a25467 | ddd85e57bb1f2a2c7564f53c9ff28964717b5ede | refs/heads/master | 2023-04-12T22:32:59.818740 | 2023-03-27T06:51:04 | 2023-03-27T06:51:04 | 130,451,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,824 | cpp | #include <bits/stdc++.h>
using namespace std;
// type alias
typedef long long LL;
typedef pair<int,int> II;
typedef tuple<int,int,int> III;
typedef vector<int> VI;
typedef vector<string> VS;
typedef unordered_map<int,int> MAPII;
typedef unordered_set<int> SETI;
template<class T> using VV=vector<vector<T>>;
// minmax
te... | [
"hiroshi.maybe@gmail.com"
] | hiroshi.maybe@gmail.com |
ba5e9b02b86e1e77ba4dddcc9b9e69f9de137fb4 | f0ee987789f5a6fe8f104890e95ee56e53f5b9b2 | /pythia-0.8/packages/pyre/libpyre/geometry/CanonicalMesh.icc | f085dc44adf99986613a03e81b5bd1a96448bf17 | [] | no_license | echoi/Coupling_SNAC_CHILD | 457c01adc439e6beb257ac8a33915d5db9a5591b | b888c668084a3172ffccdcc5c4b8e7fff7c503f2 | refs/heads/master | 2021-01-01T18:34:00.403660 | 2015-10-26T13:48:18 | 2015-10-26T13:48:18 | 19,891,618 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,754 | icc | // -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Michael A.G. Aivazis
// California Institute of Technology
// (C) 1998-2005 All Rights Reserved
//
// <LicenseText>
//
// ~~~~~~~~~~~~~~~~... | [
"echoi2@memphis.edu"
] | echoi2@memphis.edu |
220aa0c9b2e556305da46339dfa13cfea287131c | 1d0685df6d74035016c3da7864e5058104044491 | /SNOL.cpp | 0736e971b6ed0a995302ae2a0f6ae7df0cb9fd14 | [] | no_license | gcmillora/Project-SNOL | f723787f6830248ff90554e3e0d7395d76e559d5 | dfa7809d905a6a3d2209444a3221ee1af798f20c | refs/heads/main | 2023-05-29T15:03:27.214909 | 2021-06-16T12:28:48 | 2021-06-16T12:28:48 | 377,419,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,427 | cpp | #include <iostream>
#include <iterator>
#include <string>
#include <regex>
#include <stack>
#include <deque>
#include <unordered_map>
#include <algorithm>
#include <math.h>
#include <sstream>
using namespace std;
/*PSEUDOCODE
-Check for assignment operation
-Evaluate the LHS and RHS
-LHS must be a... | [
"gcmillora@up.edu.ph"
] | gcmillora@up.edu.ph |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.