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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
544ff7b31e4f3c545aae5273dcac8c7068271cc2 | 07ce57984cc086c13bcdbf5abf9add362dfb4cdf | /5/main.cpp | 482f87f1d27e53ab96aab24203c7be31fb351d4f | [] | no_license | Delamare2112/AdventOfCode | 5f6d85536007a10c68491410abdd8975a48285bd | a2936c09e79f3e77616403344dfe091804952023 | refs/heads/master | 2016-08-13T00:49:27.101200 | 2015-12-10T07:07:09 | 2015-12-10T07:07:09 | 47,240,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
using std::string;
int main(int argc, char const *argv[])
{
if(argc == 1)
{
std::cout << "I need an input file.\n";
return 1;
}
std::ifstream fileSteam(argv[1]);
string line;
uint goodStrings = 0;
while(fileSteam.good())
{
l... | [
"baladash@localhost.localdomain"
] | baladash@localhost.localdomain |
13a884700220d0ec68c405a0307e041aa2f8ec16 | 31589435071cbff4c5e95b357d8f3fa258f43269 | /PPTVForWin8/ppbox_1.2.0/src/p2p/server_mod/supernode/UdpServer/ResponseSender.h | c3ef70a1c4f767ad66e645fb523b1ecb5f3f4de7 | [] | no_license | huangyt/MyProjects | 8d94656f41f6fac9ae30f089230f7c4bfb5448ac | cd17f4b0092d19bc752d949737c6ed3a3ef00a86 | refs/heads/master | 2021-01-17T20:19:35.691882 | 2013-05-03T07:19:31 | 2013-05-03T07:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | h | //------------------------------------------------------------------------------------------
// Copyright (c)2005-2010 PPLive Corporation. All rights reserved.
//------------------------------------------------------------------------------------------
#ifndef _RESPONSE_SENDER_H_
#define _RESPONSE_SENDER_H_
names... | [
"penneryu@outlook.com"
] | penneryu@outlook.com |
7cdb33597b6486b105dc34d4dcaeb72433e6df3d | 5f8d47947fc9cf58c1dae03096d13fab3e5e1cb2 | /Calculator.h | 58c7881966b05fa69e92038af6e066839ef1477d | [] | no_license | Grenosaurus/Calculator | b86a4a364accc6cd9f05936a2a6e2eca40a5e1ae | 84048761c514e9bba572d0967d47afbecef5bb2f | refs/heads/master | 2022-11-07T08:08:48.490052 | 2020-06-17T13:18:01 | 2020-06-17T13:18:01 | 272,978,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | h | /*
Normal calculator (Made: Jauaries).
*/
// C++ packets
#include <cmath>
#include <iostream>
class Calculator
{
private:
double x, y, ans;
double sum, minus, multiplication, divide, power;
char operation;
public:
double sumNormal(double x, double y)
{
sum = x + y;
return sum;
}
... | [
"noreply@github.com"
] | Grenosaurus.noreply@github.com |
40c026c4da16c3a3fce1d0c12200cd51b09ce5e3 | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-ssm/source/model/RegisterTargetWithMaintenanceWindowResult.cpp | 61a0f11de746a1fe58343f060e036dd45421bb2c | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 1,559 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
527ebf047dd10f35f113e430742e1a360e21c3e3 | 2c222acf294ab683a1c1d78e06a968714829653a | /7.22/7.22/7.22.cpp | f6b1c3cbbcbb9e1bf738c7a8767dbed83e1fef8b | [] | no_license | MuqiuWhite/MuqiuWhite | 262e20183fc1d5fd3745b75b8afd97e54fa70802 | f9c22d2d409d5c1ff13f83665f5c2b895a63060b | refs/heads/master | 2023-06-21T15:09:18.174947 | 2021-07-28T09:11:32 | 2021-07-28T09:11:32 | 359,680,220 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,273 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
#include <math.h>
int su(int a)
{
int j = 0;
for (j = 2; j <= sqrt(a); j++)
{
if (a % j == 0)
return 0;
}
return -1;
}
int ju(int a)
{
if ((a % 400 == 0) || ((a % 4 == 0) && (a % 100 != 0)))
return 1;
else
return 0;
}
int pu(int ... | [
"1219214097@qq.com"
] | 1219214097@qq.com |
2a0b99d8f104e968208ee8fcd0f63c2a505e06e3 | d0be9a869d4631c58d09ad538b0908554d204e1c | /utf8/lib/client/CGAL3.2.1/include/CGAL/Concatenate_iterator.h | 8eefcf27197509ca5ced219abaf5371ed36a47cf | [] | no_license | World3D/pap | 19ec5610393e429995f9e9b9eb8628fa597be80b | de797075062ba53037c1f68cd80ee6ab3ed55cbe | refs/heads/master | 2021-05-27T08:53:38.964500 | 2014-07-24T08:10:40 | 2014-07-24T08:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,599 | h | // Copyright (c) 2003 Utrecht University (The Netherlands),
// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
// and Tel-Aviv University (Israel)... | [
"viticm@126.com"
] | viticm@126.com |
58c3ee7ecef566f0e15f1308e26f276d466bb03f | 0eb5062cf88cab9a1361162f6bb2f2fef2f561bf | /17Diseño_SD/SocketDatagrama.cpp | 25579303efa31967f01a89b0b8c8d614af5ce913 | [] | no_license | abiisnn/DistributedSystems | 7461c37a094d1274ce97ca3087dfa05bb60cea2f | 5f022d6152c13377466297a6ac7e81953cd082c1 | refs/heads/master | 2020-07-07T06:29:30.711298 | 2019-11-25T17:44:01 | 2019-11-25T17:44:01 | 203,277,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | cpp | #include "SocketDatagram.h"
#include "PaqueteDatagrama.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <netinet/in.h>
#include <netdb.h>
#include <strings.h>
#include <unistd.h>
#include <iostream>
#include <cstring>
using namespace std;
SocketDatagrama::SocketDatag... | [
"eduardoto1017@gmail.com"
] | eduardoto1017@gmail.com |
6a95d91d3dcfa766425dd6d7d2729a34542ac3c0 | f3efdf8c4466a8e1dffa40282979d68958d2cb14 | /atcoder.jp/abc136/abc136_d/Main.cpp | 76fe8d842889ac40552241f12f82fc1ca356ed27 | [] | no_license | bokusunny/atcoder-archive | be1abd03a59ef753837e3bada6c489a990dd4ee5 | 248aca070960ee5519df5d4432595298864fa0f9 | refs/heads/master | 2023-08-20T03:37:14.215842 | 2021-10-20T04:19:15 | 2021-10-20T04:19:15 | 355,762,924 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
vector<int> table(s.size(), 0);
int r_sequence = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == 'L') continue;
r_sequence++;
if (s[i + 1] == 'L') {
table[i] += (r_sequence + 1) / 2;
table[i + 1] += r... | [
"abovillage1407@gmail.com"
] | abovillage1407@gmail.com |
d651ebcf864ed9619e11fc9f3a004610996815f4 | 1fa7b788c492b1a630515c0832b07cf343c79864 | /C343-Data-Structures/Hashmap/Sequence.hpp | 9e3d46f61c60e46b528287b2f296f686e8313ae3 | [] | no_license | EdWrld/SCHOOL-PROGRAMS | 4015b6015b0e8df06f6a3eff983141bb50a90923 | d832cb373fb91716d864885badd8356950e06c3f | refs/heads/main | 2023-07-07T08:58:22.756292 | 2021-08-13T22:23:48 | 2021-08-13T22:23:48 | 393,834,948 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,648 | hpp | #include "Sequence.h"
#include <iostream>
#pragma once
using namespace std;
template <class T>
Sequence<T>::Sequence()
{
head = NULL;
tail = NULL;
temp = NULL;
size = 0;
}// Sequence
template <class T>
Sequence<T>::~Sequence()
{
// reclaimAllNodes(head);
} // ~Sequence
... | [
"noreply@github.com"
] | EdWrld.noreply@github.com |
500fef212dd211ba2537f0fa26f5a74002f2908b | 3720091953240b8186de1a085e3ecd6791b6cb79 | /nsaDecoder.cpp | 1eaca07ea4e67894295969fc4e3e0fc7d5e11f05 | [] | no_license | rahilathayyil/Introduction-to-Programming-CPP | affade27fe0cae51b9825b5aea712f76899872cb | 1ab30d69fff689f2d74470f616fec7a86af96855 | refs/heads/master | 2020-12-13T22:33:59.480738 | 2014-10-14T01:10:02 | 2014-10-14T01:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | // Lab 9f
// Programmer: Aaron Melocik
// Editor used: Windows 7 Notepad
// Compiler used: Microsoft Visual C++ 2010 Express
#include <fstream>
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
int main()
{
// identifying output statements
cout << "Programmer: Aaron Melocik" << e... | [
"amelocik@gmail.com"
] | amelocik@gmail.com |
af50292b360d1e422a0286d8f2cc00770a3269af | f1aba3515f51e75bc07cf2939fa82ec97ec076e0 | /VulkanProject/StorageSwapBuffer.hpp | f5723e43e2ed10be479e5e9401c5fde1bafcc816 | [] | no_license | LarsIngo/VulkanProject | 669bf07aeebd7205a01eb709eef6ff73d112da0b | 1a2f2c6b457231f1dc0e1c9e96c36fac85bfc00d | refs/heads/master | 2021-01-17T14:03:35.259200 | 2017-05-28T11:17:48 | 2017-05-28T11:17:48 | 83,454,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | hpp | #pragma once
#include "StorageBuffer.hpp"
class StorageSwapBuffer
{
public:
// Constructor.
// device Vulkan device.
// physicalDevice Vulkan physical device.
// totalSize Total size in bytes.
// stride Stride of each element in bytes.
StorageSwapBuffer(VkDevice dev... | [
"ivarbjorling@hotmail.com"
] | ivarbjorling@hotmail.com |
6a64d1026723bd0974d2c2bf03a407dd2135f016 | 00289e71a1f215cbeb6e38dfc3f89b3bcddde84d | /frameworks/cocos2d-x/cocos/scripting/lua-bindings/manual/CCLuaStack.cpp | 1bb54a30cd1cc1efc6351633d58018ad494cc88a | [] | no_license | cangxue/cx_quick_lua | 1fb696acede10628057c738d006c47750b9657cb | 2d81e3768a446c5edcace5d83f16e3a1efd8bf31 | refs/heads/master | 2022-11-14T21:43:57.225392 | 2020-07-02T08:05:47 | 2020-07-02T08:05:47 | 276,573,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,277 | cpp | /****************************************************************************
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaini... | [
"752787086@qq.com"
] | 752787086@qq.com |
f529dd61d9c0bce4ce89cc9ea95dcd9fa802b015 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DungeonArenaManager_TekCave_functions.cpp | 8d6e31702c2daabfb99ac5c16b530cf5cd873c27 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DungeonArenaManager_TekCave_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
5b1dba4d1813c7122275d316720320f39e05cf20 | 53d2985473acb411be443f6b9818ab06a4dc34ac | /kEpsilon_pimpleFoam_snappyPipe/processor2/150/nut | a10ca106fd9ecdde5a1ea728f4c3e87e93222868 | [] | no_license | saatt/thin_pipeflow_snappyHexMesh | 35bc332347dcc16cccc700563ab3cb0f7e64a6c3 | 223b61121e23b3b757d38efd845a0186f3c1ad12 | refs/heads/master | 2022-04-19T05:37:23.467819 | 2020-04-01T04:15:18 | 2020-04-01T04:15:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641,710 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"tong011@e.ntu.edu.sg"
] | tong011@e.ntu.edu.sg | |
e9a0fe26703ec662712d79a15f22c09b9485323c | 13a1988494bf68298e7984c04887312778664a5d | /lib/glm/glm/gtc/ulp.inl | 9c8e9f862d27188a8453c8941e49e4935ab55833 | [
"MIT"
] | permissive | zc5872061/opengl_Renderer | 0864c81611bc7052b574327a24a68a4eb76c3a14 | 931d501ba0052f1bd1a73e0b37a0d7f38c86e89b | refs/heads/master | 2020-04-12T22:49:01.195954 | 2015-10-21T17:04:31 | 2015-10-21T17:04:31 | 41,361,175 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,053 | inl | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documen... | [
"chukie@ChukiedeMac-mini.local"
] | chukie@ChukiedeMac-mini.local |
d5cc4f64ac1620d73a2df5cec8dda95b827811f5 | 1f80a5b0f7d027b7a48aee54b9ac6f2ff7566925 | /src/toyui/Frame/Layer.h | e836c753ebc60970d13a6c844050da169617255c | [
"Zlib"
] | permissive | duyouhua/kiui | 3e5dd5c4814f5ba2f9726885cf02440dfa2096eb | 8aa65434ba4f6ebe1fbdc41f88f6f59a201ae850 | refs/heads/master | 2020-03-27T19:10:40.703347 | 2018-05-18T21:07:48 | 2018-05-18T21:07:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | h | // Copyright (c) 2016 Hugo Amiard hugo.amiard@laposte.net
// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.
// This notice and the license may not be removed or altered from any source distribution.
#ifndef TOY_LAYER_H
#define TOY_LAYER_H
/* toy */
#include <toyui/Frame/Frame.h... | [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
aa8d11931b5de20351c7ed6ae9c7a27d575386d7 | a5ff5fad0c3a07cc138e9ead3116dcd57a350ee1 | /core/src/Core.cpp | 181e0bf2fc745a0762a1d4c10b1e039289014e5c | [] | no_license | nautiii/arcade | 85f5b752532c9e22a0bee013ec652d8a47f05db7 | 203d4d58d9f6de4b3ad46515c12a3a2694437637 | refs/heads/master | 2023-03-08T03:01:56.566535 | 2021-02-19T03:22:46 | 2021-02-19T03:22:46 | 340,245,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,412 | cpp | /*
** EPITECH PROJECT, 2019
** OOP_arcade_2019
** File description:
** Core.cpp
*/
#include "Core.hpp"
Core::Core(int &ac, const char *av1)
: playerName(DEFAULT_NAME), path(ArgsError::checkArgs(ac, av1)), lloader(path), lib(lloader.getInstance())
{
if (!lib.get()) {
err.flag = GameError::ERRCREATE;
... | [
"quentin.maillard@epitech.eu"
] | quentin.maillard@epitech.eu |
31662fe61da7a2cd6143ddf30ae5d07fb397b35d | 63901fac96d5315693482faf05bc7fb0f7bd2df9 | /filesystem/mapped_file.hpp | d4961c0aa406cacbac1c5084012e706e65ba539f | [] | no_license | crastinus/utils | 76fcb6e0ebccbc1bf733533fb60df883bd6ce433 | 942fc3c949d18fc0355df7e611267b48c7858c67 | refs/heads/master | 2021-01-20T13:22:00.258675 | 2019-12-05T05:23:43 | 2019-12-05T05:23:43 | 90,477,952 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,189 | hpp | #pragma once
// original https://github.com/d0k/mappedfile
#include "mappedfile.h"
#include <cstddef>
#ifdef __EXCEPTIONS
#include <sstream>
#include <stdexcept>
#else /* __EXCEPTIONS */
#include <cstdlib>
#include <iostream>
#endif /* __EXCEPTIONS */
namespace utils {
namespace fs {
/*!
* mapped_file allows yo... | [
"likhachevae@1488a.ru"
] | likhachevae@1488a.ru |
038db996e8a10fff05486289081181599cbb8520 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_function_124.cpp | 3a62635eb1f66edd429aba1ce3d87fb660ec2d96 | [] | 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 | 2,020 | cpp | struct file_list *send_file_list(int f,int recurse,int argc,char *argv[])
{
int i,l;
struct stat st;
char *p,*dir;
char dbuf[MAXPATHLEN];
struct file_list *flist;
if (verbose && recurse) {
fprintf(am_server?stderr:stdout,"building file list ... ");
fflush(am_server?stderr:stdout);
}
flist = (s... | [
"993273596@qq.com"
] | 993273596@qq.com |
55ee187f640720d712d5233c32f802ad784fc25e | bab0aa5b10e1fa28ad93f0bf80b024b591dd6628 | /core/modules/algorithms/GeodesicTraining/GeodesicTraining_external/include/GeodesicTrainingSegmentation/cbica_toolkit/cbicaITKSafeImageIO.h | adbbcdbd9c6009468f7b3287854b0655de44eaa8 | [] | no_license | yjsyyyjszf/MultiPatientImageProcessing | aee452164de3cbeaeec8a514d9abab0aa52a2ddf | 289ff5ab0d2ab072a608bc4121bbbd14bc7d89f4 | refs/heads/master | 2021-03-29T02:12:02.284161 | 2019-08-24T21:36:28 | 2019-08-24T21:36:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,189 | h | /**
\file cbicaITKSafeImageIO.h
\brief Defines safe input and output of itk::Images
Read and Write itk::Image data in a safe manner. Header-only
https://www.cbica.upenn.edu/sbia/software/ <br>
software@cbica.upenn.edu
Copyright (c) 2016 University of Pennsylvania. All rights reserved. <br>
See COPYING file or http... | [
"bounias.dimitris@gmail.com"
] | bounias.dimitris@gmail.com |
a75a7236972e914595316cf7e072d183771aa1ef | 6476e44ea527adf34ba172314a7584e444052654 | /glasscore/tests/glass_unittest.cpp | c217a983f7e4b8ea8f123717bc63373eb62d4921 | [
"CC0-1.0",
"JSON",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | usgs/neic-glass3 | 8ba7d2eca6c6cb634ea2a970c7ccb452cc26d0f5 | af8130ac71f6d442f1f812f5270b110ef6cd62e0 | refs/heads/master | 2022-09-27T16:14:05.616380 | 2022-09-08T21:18:48 | 2022-09-08T21:18:48 | 112,511,140 | 10 | 7 | NOASSERTION | 2021-12-14T21:00:44 | 2017-11-29T18:16:29 | C++ | UTF-8 | C++ | false | false | 9,866 | cpp | #include <gtest/gtest.h>
#include <memory>
#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <logger.h>
#include "Glass.h"
#define TESTPATH "testdata"
#define INITFILENAME "initialize.d"
#define BADJSON "{\"Type\":\"MadeUp\",\"Key\":\"Value\"}"
// default values
#define DEFAULT_M... | [
"jpatton@usgs.gov"
] | jpatton@usgs.gov |
67b97059354f37ab38fe35691b0b9a996632b4fc | a7e4b6087f9c2750862ca44971b43a0072c2ab6c | /HyEngine/Source/Mouse.cpp | 090cf641b9fc0f46ae52c59f3eb10703d35cbea1 | [] | no_license | lyunDev/SR_Project | f3a57fef867e51b5a3d2f0265354b513a6e6b2b2 | 29c20af3028bb7675f79fe20d6c61d5864623be1 | refs/heads/main | 2023-02-26T10:14:36.987096 | 2021-02-04T08:50:29 | 2021-02-04T08:50:29 | 335,874,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,052 | cpp | #include "StandardEngineFramework.h"
#include "Mouse.h"
using namespace Utility;
Mouse::Mouse()
{
position = D3DXVECTOR3(0, 0, 0);
wheelStatus = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
wheelOldStatus = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
wheelMoveValue = D3DXVECTOR3(0.0f, 0.0f, 0.0f);
ZeroMemory(buttonStatus, sizeof(byte) *... | [
"lyun.dev@gmail.com"
] | lyun.dev@gmail.com |
9b9d9a91b7fe2f14e28706b7bb80919428dd16e9 | 967d898b34a9392af2f8afe71546a2c3c873af69 | /src/includes.hpp | ff3a11db83a260f53a18b6f9af3bdccfabd265a9 | [
"BSD-3-Clause"
] | permissive | JoaoHenriqueOliveira/bayesmix | 3cef5dc004e8f7607606fe932da37e0687dd9e19 | 8ebc95c5188d236796593dd21b72436f903bf5e5 | refs/heads/master | 2023-03-04T18:35:55.964543 | 2021-02-16T19:50:35 | 2021-02-16T19:51:33 | 339,519,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | hpp | #ifndef BAYESMIX_INCLUDES_HPP_
#define BAYESMIX_INCLUDES_HPP_
#include "algorithms/load_algorithms.h"
#include "algorithms/neal2_algorithm.h"
#include "algorithms/neal8_algorithm.h"
#include "clustering/ClusterEstimator.hpp"
#include "clustering/lossfunction/BinderLoss.hpp"
#include "clustering/lossfunction/LossFuncti... | [
"axelantoine.ricard@mail.polimi.it"
] | axelantoine.ricard@mail.polimi.it |
8a93915eb384281259bdb30dcb410459f7df5398 | 633422248bfc728a1ccd4ccd169cfc03dadea72b | /PCB CAM Processor 1.1 - Praca Inżynierska/PCB CAM Processor 1.1 - Pliki żródłowe - projekt DevCpp/Geometry/Dpoint.h | 7e0d98ed7b2de4867ccd7df005989215ddcee01b | [] | no_license | SiwiecSoft/PCB-CAM-Processor-1.1 | 8da11d9815c9315522bfb22cede0ce65cc9f630d | a66bb084227769dbca6e1dd3c5f2960dfd553f12 | refs/heads/master | 2021-02-05T12:53:24.008697 | 2020-04-14T12:53:09 | 2020-04-14T12:53:09 | 243,778,337 | 0 | 0 | null | null | null | null | WINDOWS-1258 | C++ | false | false | 2,196 | h | ///-----------------------------------------------------------------
///
/// @file Dpoint.h
/// @author rado4ever
/// Created: 2016-04-17 11:24:45
/// @section DESCRIPTION
/// Dpoint class declaration
///
///------------------------------------------------------------------
#ifndef DPO... | [
"noreply@github.com"
] | SiwiecSoft.noreply@github.com |
8870b34bba57e3da7e5bb1b2e4bd94ce9ac5deaf | 5f09bd3f69566ddba8c31049e7a73826d2b8bc41 | /src/http/Server.cpp | 4e829d298b8e1634862ea1a045e908ace75e3704 | [] | no_license | markyangcc/WebServer | 4f835f24604ee89b12703836be147de3869208a7 | 9f910c56e5f6d040834fdd0da9eab4f9f9cd0b45 | refs/heads/main | 2023-08-05T10:22:54.209540 | 2021-09-13T08:14:06 | 2021-09-13T08:14:06 | 365,430,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,399 | cpp | #include "../../include/Server.h"
#include "../../include/Epoll.h"
#include "../../include/HttpData.h"
#include "../../include/HttpParse.h"
#include "../../include/HttpResponse.h"
#include "../../include/ThreadPool.h"
#include "../../include/Util.h"
#include <cstring>
#include <fcntl.h>
#include <sys/mman.h>
#include ... | [
"guangshengyang01@gmail.com"
] | guangshengyang01@gmail.com |
d075b67a7a4e4846541df7cc45d4f8eacbb8d2e4 | 0ccd82690794f53e625900608ac2b350afef5014 | /rohirrim.cpp | b99c1d4e35044d5ce83739f473cb2040f69880f7 | [] | no_license | jonasdahl/cprog-lab3 | 9dd73496cd75043a42c3b980924aaec082a15f02 | b0cc7074e30d5e2597b0cdc45055d9c427532689 | refs/heads/master | 2020-04-02T07:21:22.176563 | 2016-06-06T10:06:56 | 2016-06-06T10:06:56 | 60,514,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include "rohirrim.h"
using namespace std;
namespace lotr {
int Rohirrim::eat(Object * const object) {
Object * obj = find_object(object->get_name());
if (obj == nullptr)
return 0;
int healing = obj->healing_effect();
if (healing > 0) {
health += 2 * obj->healing_effect();
if (health > max_health) ... | [
"jonadahl@kth.se"
] | jonadahl@kth.se |
46e74828fd8847d6a056b5bb5bdaf166df7b6ec6 | 775acebaa6559bb12365c930330a62365afb0d98 | /source/public/interfaces/graphics/IDVPlatformOffscreen.h | 6040c899c0f2a7987b49db513a5e916715049aa1 | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 9,029 | h | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/public/interfaces/graphics/IDVPlatformOffscreen.h $
//
// Owner: Deepak Gupta
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2 ... | [
"75730278+Tarekhesham10@users.noreply.github.com"
] | 75730278+Tarekhesham10@users.noreply.github.com |
22ac11f882bc700ac94909d86b4a09383855fd2a | b8740f478f99c899d1712b1aa7119b8046c0838d | /src/CryptoNoteCore/TransactionPool.cpp | e3aa323a91ee9dd7c81e9d6946c19330b0ce5bb0 | [] | no_license | RavenHuginn/goldo | d486ee78a7d0be44903c3fc264366808797be6fe | a133ef578a3ceb7350160749dad781666fab18f4 | refs/heads/master | 2020-05-07T08:05:21.795058 | 2019-03-29T10:07:37 | 2019-03-29T10:07:37 | 180,308,643 | 0 | 0 | null | 2019-04-09T07:21:01 | 2019-04-09T07:21:00 | null | UTF-8 | C++ | false | false | 25,556 | cpp | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "TransactionPool.h"
#include <algorithm>
#include <ctime>
#incl... | [
"32670449+monselice@users.noreply.github.com"
] | 32670449+monselice@users.noreply.github.com |
22fa4b5f578fbc53e870e4cdff9a8c556acd1cec | 27bb5ed9eb1011c581cdb76d96979a7a9acd63ba | /aws-cpp-sdk-clouddirectory/source/model/CreateFacetRequest.cpp | 84efe6d85c6a5aeb454a7869d2e7e30e2a3acd93 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | exoscale/aws-sdk-cpp | 5394055f0876a0dafe3c49bf8e804d3ddf3ccc54 | 0876431920136cf638e1748d504d604c909bb596 | refs/heads/master | 2023-08-25T11:55:20.271984 | 2017-05-05T17:32:25 | 2017-05-05T17:32:25 | 90,744,509 | 0 | 0 | null | 2017-05-09T12:43:30 | 2017-05-09T12:43:30 | null | UTF-8 | C++ | false | false | 2,117 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
67d75f7dd8a8476f151d52def9e7ea172369b369 | 59563b85c7685596eb40fa351408d9e61f0acbbd | /src/include/Xemeiah/kern/format/blob.h | 47e989ed06ab5b15d97809aac233dbac9292b0df | [] | no_license | Doloops/Xemeiah | 94c3a32a85a3fb3246da112e74b768b6bd298190 | d497cf9fce275943501bdf01f825edc5f3181bbd | refs/heads/master | 2020-12-24T18:03:57.183527 | 2014-12-01T14:13:27 | 2014-12-01T14:13:27 | 26,857,757 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | #ifndef __XEM_KERN_FORMAT_CORE_TYPES_H
#error Shall include <Xemeiah/kern/format/core_types.h> first !
#endif
#ifndef __XEM_KERN_FORMAT_BLOB_H
#define __XEM_KERN_FORMAT_BLOB_H
#include <Xemeiah/kern/format/skmap.h>
namespace Xem
{
/**
* Blob format is based on SKMap
* - this allows for fast finding of ... | [
"francois.barre@arondor.com"
] | francois.barre@arondor.com |
7637a7b898a46422ee0bdb9241f0d0f6331ca964 | d5f77aa02df88c71ef4f898db40434bf4c1f3010 | /source/slang/slang-ast-dump.cpp | 9da1a01631b063f1488fcbd4a7847f4472815cf1 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | Yuu-233/slang | 98eca809345cbc7113d449da65fff9c6406775c5 | c5a7a06f2dfb7d81f38f8c1ed447543ee6f18ce2 | refs/heads/master | 2023-07-06T13:30:16.239376 | 2021-07-29T02:56:59 | 2021-07-29T02:56:59 | 390,189,438 | 0 | 0 | MIT | 2021-07-29T02:56:59 | 2021-07-28T02:40:46 | null | UTF-8 | C++ | false | false | 16,943 | cpp | // slang-ast-dump.cpp
#include "slang-ast-dump.h"
#include <assert.h>
#include "slang-compiler.h"
#include "../core/slang-string.h"
#include "slang-generated-ast-macro.h"
namespace Slang {
struct ASTDumpContext
{
struct ObjectInfo
{
const ReflectClassInfo* m_typeInfo;
NodeBase* m_object;
... | [
"noreply@github.com"
] | Yuu-233.noreply@github.com |
3a867e40b5e3d8f96d7993f1f9002376aa86fee7 | abd6710de660f7dc664cb45beb60e4ea9eaadc91 | /AutomaticLocalization/Code/BackUpFiles/AutomaticLocalization[201412150000]…ピラミッド探索実装前/ExhaustiveSearch.cxx | 849e550d5cec9a1dc2824b1009a605242405e97e | [] | no_license | Jingasan/MyFirstRepository | 83ad3c3cf56fbc252eacad045abdffcc2f456f56 | 9f27c73daae6f0f2402f650ac9f9e7b726fd3716 | refs/heads/master | 2022-08-28T10:39:12.136075 | 2022-08-13T19:55:03 | 2022-08-13T19:55:03 | 28,673,254 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 24,718 | cxx | /***** 全探索 *****/
/*** インクルードファイル ***/
/* 設定用ヘッダファイル */
#include "Configuration.h"
#include "FunctionDefinition.h"
/* C++ */
#include <fstream>
/* PCL 1.6.0 */
#include <pcl/kdtree/kdtree.h> // KdTree
#include <pcl/kdtree/kdtree_flann.h> // KdTree
/*** 名前空間の宣言 ***/
/* C++ */
using namespace std;
/*** 全探索 **... | [
"info.alpain@gmail.com"
] | info.alpain@gmail.com |
ddc28a0579f9e2103a078b8fe28cba4b99c93bdc | 1edbccef4189d5c78384244c6990b5babdace8eb | /Extensions/_3rdLib/Toast.h | 201ab16a274780f08026716829730fbe3c1de157 | [
"MIT"
] | permissive | defisym/OpenFusionExamples | d5e3cf76b40bb3634077704dd248b984d0fb9196 | b6e4ce60b861e57f631bda2a8bc4864163087522 | refs/heads/master | 2023-08-31T07:38:49.384581 | 2023-08-30T14:32:25 | 2023-08-30T14:32:25 | 208,172,638 | 27 | 8 | MIT | 2023-09-04T02:12:10 | 2019-09-13T01:03:55 | C++ | UTF-8 | C++ | false | false | 3,763 | h | // https://github.com/mohabouje/WinToast
#include "WinToast/wintoastlib.h"
using namespace WinToastLib;
constexpr auto WinToastError_InCompatible = 1;
constexpr auto WinToastError_InitFailed = 2;
constexpr auto WinToastFlags_Default = 0b0000000000000000;
constexpr auto WinToastFlags_ImmediatePush = 0b0000000000000... | [
"55148235+defisym@users.noreply.github.com"
] | 55148235+defisym@users.noreply.github.com |
605c10a61ca3d668974654cdf8c79421f57de5a6 | 82e6375dedb79df18d5ccacd048083dae2bba383 | /src/main/tests/test-maintain.cpp | c553143c0b8ea2d561c6c7cab1440e66718a05d0 | [] | no_license | ybouret/upsylon | 0c97ac6451143323b17ed923276f3daa9a229e42 | f640ae8eaf3dc3abd19b28976526fafc6a0338f4 | refs/heads/master | 2023-02-16T21:18:01.404133 | 2023-01-27T10:41:55 | 2023-01-27T10:41:55 | 138,697,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | cpp | #include "y/sequence/maintain.hpp"
#include "y/utest/run.hpp"
#include "y/sequence/vector.hpp"
#include "y/memory/allocator/pooled.hpp"
#include "support.hpp"
using namespace upsylon;
static size_t sz = 0;
bool keep_short_string( const string &s ) throw()
{
return s.size() <= sz;
}
template <typename SEQUENCE>
... | [
"yann.bouret@gmail.com"
] | yann.bouret@gmail.com |
7c35728bded810b73ad55105bfa4594c993c25fd | 3c33132b596df1265cceaeed03b35fc73f24972f | /Include/CyAsm/ByteChunk.hpp | dd23ec64fbbcb0fcd4ca20ac6595305b7d6f7d2a | [
"MIT"
] | permissive | MarioSieg/CyberASM | 1dc5a2c3448c32f440ac7a9c59da367aa295474e | 7a12276d8dfd7a3c85293c97bdffcd2e58895b3e | refs/heads/main | 2023-03-26T17:47:13.064715 | 2021-03-04T11:25:17 | 2021-03-04T11:25:17 | 336,270,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,574 | hpp | #pragma once
#include <cstdint>
#include <array>
#include <algorithm>
#include <iomanip>
#include <ostream>
#include "Immediate.hpp"
#include "MachineLanguage.hpp"
namespace CyberAsm
{
/// <summary>
/// Represents a small, variable sized byte array based on a fixed std::array.
/// </summary>
class ByteChunk fina... | [
"support@kerbogames.com"
] | support@kerbogames.com |
954644f13c1c787f90836cf1e38702be64d054fd | 5910b6b5a2c0ca039666ac673c246be90f6190e1 | /Lab01/src/Przyspieszenie.cpp | 84bce0cf23f85bf8f0ae0ff26a1fca380ce6b041 | [] | no_license | ViktoriiaKinash/PPO_2021 | f11b267fdb0f99dc2c91e742f41183d6d7133efc | 2398901cd4e5af5f5abea71ab4fb0c67000002d8 | refs/heads/main | 2023-08-19T15:31:29.634207 | 2021-10-28T15:08:36 | 2021-10-28T15:08:36 | 384,236,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38 | cpp | float Przyspieszenie()
{
return 9.8;
} | [
"noreply@github.com"
] | ViktoriiaKinash.noreply@github.com |
76bf4cef545b04a211ba84a0b27cb87d7fdefa06 | 4583606ffcb09158b89437bf1f3bd094500847cd | /c++/DICOM_deprecated/xmppguiold/hello.cpp | e61f3775ed22ea6c12f08e6974c0c7bc8fea07e7 | [] | no_license | katcipis/playground | 7693914497a5f7af089a0c06c9f3c9a46227cdf6 | 7559ddc567091a7352fcf2942b57afe4351466ce | refs/heads/main | 2023-07-09T18:24:17.864361 | 2023-06-26T20:50:11 | 2023-06-26T20:50:11 | 22,303,201 | 0 | 4 | null | 2023-05-17T18:15:59 | 2014-07-27T04:27:12 | C++ | UTF-8 | C++ | false | false | 5,187 | cpp | /*
* hworld.cpp
* Hello world sample by Robert Roebling
*/
#include "wx/wx.h"
#include <wx/sizer.h>
#include "xmppgui/Login.hpp"
#include "xmppgui/PresenceList.hpp"
#include "xmppgui/util/XmppEvent.hpp"
#include "xmppgui/Constants.hpp"
#include "xmppgui/xmpp/CimStarter.hpp"
#include <stdlib.h>
... | [
"tiagokatcipis@gmail.com"
] | tiagokatcipis@gmail.com |
7a4547c45d10b54afbe7412ab2dd462e67776969 | 1669d166037a78fa02e683e53ffdabdd72fbd0ed | /latihan1_002.cpp | a2477501f8125c8d477d4d610201d13c884039ec | [] | no_license | rifqaalisa/tugas-struktur-data-3 | 8a2313665143241deea8f6dbbd23fab82188b1fd | f06e30b20b6a642d6943763769d0bb7554f7d2c7 | refs/heads/master | 2021-03-11T09:37:26.362133 | 2020-03-11T09:03:42 | 2020-03-11T09:03:42 | 246,521,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int H(const char*s){
int x = 0;
for (;*s!='\0';s++)
++x;
return x;
}
main (void){
char String [80];
cout << " Inputlah Sebuah Kata : ";
cin.getline(String,100);cout<<endl;
cout << " Jumlah Karakternya Adalah : "<<H(String)<<" Hu... | [
"noreply@github.com"
] | rifqaalisa.noreply@github.com |
79a1ab15dc951c43901d47fa0a061a60fffeb4d1 | ea4e3ac0966fe7b69f42eaa5a32980caa2248957 | /download/unzip/ICU/ICU-59117.0.1/icuSources/tools/genrb/derb.cpp | 7eba011f9ad9dea49d5433a7ac66e1324f70b820 | [
"LicenseRef-scancode-unicode",
"BSD-3-Clause",
"ICU",
"LicenseRef-scancode-public-domain",
"NAIST-2003",
"BSD-2-Clause"
] | permissive | hyl946/opensource_apple | 36b49deda8b2f241437ed45113d624ad45aa6d5f | e0f41fa0d9d535d57bfe56a264b4b27b8f93d86a | refs/heads/master | 2023-02-26T16:27:25.343636 | 2020-03-29T08:50:45 | 2020-03-29T08:50:45 | 249,169,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,054 | cpp | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
* Copyright (C) 1999-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
**********... | [
"hyl946@163.com"
] | hyl946@163.com |
8279991e28e8c0f03c00d5b2ee4b5ce55196a89d | 792e697ba0f9c11ef10b7de81edb1161a5580cfb | /tools/clang/test/CodeGenCXX/new-array-init.cpp | 274c3d155569879d69e8dd2952e29e6c279fe4fb | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | opencor/llvmclang | 9eb76cb6529b6a3aab2e6cd266ef9751b644f753 | 63b45a7928f2a8ff823db51648102ea4822b74a6 | refs/heads/master | 2023-08-26T04:52:56.472505 | 2022-11-02T04:35:46 | 2022-11-03T03:55:06 | 115,094,625 | 0 | 1 | Apache-2.0 | 2021-08-12T22:29:21 | 2017-12-22T08:29:14 | LLVM | UTF-8 | C++ | false | false | 6,178 | cpp | // RUN: %clang_cc1 -std=c++11 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 -std=c++11 -triple i386-unknown-unknown %s -emit-llvm -fsanitize=signed-integer-overflow -o - | FileCheck --check-prefix=SIO %s
// CHECK: @[[ABC4:.*]] = {{.*}} constant [4 x i8] c"abc\00"
// CHECK: @[[ABC15:... | [
"agarny@hellix.com"
] | agarny@hellix.com |
3e43bdc3c1250186cb732e72ba6003da251bc6b2 | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /engine/audio/private/snd_dsp.cpp | f03e4b3b65c87c625db68d489f791c3cf92a403f | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | UTF-8 | C++ | false | false | 199,893 | cpp | // snd_dsp.c -- audio processing routines
#define WIN32_LEAN_AND_MEAN
#pragma warning(push, 1)
#include <windows.h>
#include <mmsystem.h>
#pragma warning(pop)
#include "tier0/dbg.h"
#include "sound.h"
#include "sound_private.h"
#include "soundflags.h"
#include "snd_device.h"
#include "measure_section.h"
... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
61e7a0ba97869309331f2907823be98755446922 | b52fa687f32e071a47bd9ed3fb08c924e746c331 | /phase3/scope.cpp | 91f7aeced1d72c5c74b60034c339d1e422c447e3 | [] | no_license | jpatel95/c_compiler | ee46a1cabb596e6e6e955973fcfc88eb1711ce3d | 35686f2ccf18af87bcc9ee3ab97bd88f8e6e6789 | refs/heads/master | 2021-07-19T11:52:19.700118 | 2017-10-23T05:16:09 | 2017-10-23T05:16:09 | 70,757,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,561 | cpp | #include "scope.h"
#include <string>
#include <iostream>
typedef std::vector<Symbol *> Symbols;
Scope::Scope(Scope *enclosing):_enclosing(enclosing){
/* Constructor */
}
Scope *Scope::enclosing() const{
return _enclosing;
}
const Symbols &Scope::symbols() const{
return _symbols;
}
void Scope::insert(Symbol *sym... | [
"jpatel@scu.edu"
] | jpatel@scu.edu |
de93c3d28b3417deea647f6b8c5459af7263eaf9 | 278874a9f21cd6aa5dc0f2428fa7c5b115ac5721 | /node/src/storage_engine.cc | 981b878e4addf1b31096f48260eb5c5b0352f698 | [
"Apache-2.0"
] | permissive | Bwz72829191/sharkdb | 44ad67be0c72ab5fee23a6e3d476f0065d9afbb8 | c9794bf955b283cfd5e227fe78c75e9c603ca6d8 | refs/heads/master | 2023-03-17T06:24:28.162978 | 2017-11-08T02:26:54 | 2017-11-08T02:26:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72 | cc | #include "storage_engine.h"
SHARKDB_NODE_NS_BEGIN
SHARKDB_NODE_NS_END
| [
"bbbiao@gmail.com"
] | bbbiao@gmail.com |
bf45d767ec268467c31eef65b583239d4af02561 | aba5577a68ec7eb86042bad7becfbafaf6faa718 | /yukicoder/inprogress/y15.cpp | b41c1db978c6b5db5a65a849a67b5ec5f77ee5c3 | [] | no_license | Muratam/yukicoder-nim | d8f9dc2c14a9af901da7402391e07003aca7fd7b | a6c88ea73f46a89b3e23adaf9e8236200bcd5331 | refs/heads/master | 2021-01-01T20:04:41.164434 | 2019-11-12T02:32:45 | 2019-11-12T02:32:45 | 98,760,331 | 16 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,324 | cpp | #pragma GCC optimize("O3")
#pragma GCC target("avx")
#include "bits/stdc++.h"
using namespace std;
#define int long long
#define REP(i, n) for (int i = 0; i < (n); i++)
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define FORR(i, a, b) for (int i = (b - 1); i >= (a); i--)
#define ALL(a) begin(a), end(a)
#defin... | [
"murata@kmc.gr.jp"
] | murata@kmc.gr.jp |
e3eb93b10d851414047843e9dd939df2c5eec509 | ce00005b6b3e182169c375bdf3da5492aa556811 | /pacmanishproject/ghostPathfinding.h | 8954cd2a5579b85f203cf3c778ac19fa0e7ff69e | [] | no_license | StephenThomasUWTSD/SEP | c6da3e2e8c5ffa8ab35171eba0096cbbb36fa90e | e7280919514222cfb064c89eb844f3f10e7a005b | refs/heads/master | 2021-01-21T04:40:19.458632 | 2016-07-19T23:27:13 | 2016-07-19T23:27:13 | 47,561,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | //DEVELOPED BY NATHAN JAMES THOMSON - P141062 "
#pragma once
class ghostPathfinding
{
private:
// FUNCTION PROTOTYPES
void search();
public:
// CONSTRUCTOR & DECONSTRUCTOR
ghostPathfinding();
~ghostPathfinding();
// ATTRIVBUTES
float goalX;
float goalY;
};
| [
"noreply@github.com"
] | StephenThomasUWTSD.noreply@github.com |
d9302c2a58e90a876c893d8def4c566e5ba61b5e | dbf82d106e2e0ba0b7797a45097f47d9de8c2280 | /Senzor.cpp | d818e22025088f31d2a9a9233b80c1086955884c | [
"MIT"
] | permissive | mariusrusu80/mariusrusu.github.io | ce748f6a6b774acb658bc6004c2ad8a855bfa32e | 4a6cda0f7bbbc2249824ca28049ec054162a3f0d | refs/heads/master | 2021-05-08T06:38:29.851186 | 2018-01-10T00:31:52 | 2018-01-10T00:31:52 | 106,566,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main()
{ int temperatura=10,i;
char buton;
do
{
buton=getch();
if(buton=='a') temperatura--;
else if (buton=='d') temperatura++;
for(i=1;i<=temperatura;i++)
cout<<"*";
cout<<endl;
}while(buton!='p');
return 0;
... | [
"noreply@github.com"
] | mariusrusu80.noreply@github.com |
406bfd56e9135edf60463ceb8a8f9f8a08283412 | dc0c9ea3fa7498b0552b5f0cdd121489404cb07a | /hackerearth/variance-minimization.cpp | 74018cbfe26597d80f04e807710f96c23089ffa8 | [] | no_license | alaneos777/club | 226e7e86983da7f87d87efbfd47d42326872dd25 | 47da01e884d6324aa1c9f701d6f70b8b978a0e18 | refs/heads/master | 2023-08-05T02:43:33.428365 | 2023-07-29T02:43:58 | 2023-07-29T02:43:58 | 143,675,419 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | #include <stdio.h>
typedef long long int lli;
lli x[10010], y[10010];
lli round(lli a, lli b){
return (2 * a + b) / (2 * b);
}
int main(){
int t, n;
scanf("%d", &t);
for(int test = 1; test <= t; ++test){
scanf("%d", &n);
lli sum_xi = 0, sum_yi = 0, sum_xi2 = 0, sum_yi2 = 0;
for(int i = 0; i < n; ++i){
s... | [
"alan-enrique@live.com.mx"
] | alan-enrique@live.com.mx |
ebb7aa51c1a187fe03d57ac6404f96462eea1954 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/content/renderer/renderer_main.cc | 8cf86a8c9f6b1b13df1a315dec0939fc4482767a | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 8,686 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <utility>
#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "base... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
04ab16bbab9314821b09be7df82896d865e27bc9 | d25bec99b74dde069bded8e74ed942c614e44f0c | /Training Code/2019.10.12 GP of Korea, 18-19/E.cpp | 9864b02adbca9f202841d166b8826e4776fcf068 | [] | no_license | RobeZH/Team-Model-Solution | f05461561b5e84249a28e78d89034f76ba5ca6ce | deca8054c83c25447f997fbda4ade3141ab0ce32 | refs/heads/master | 2023-01-31T05:26:44.773841 | 2019-12-24T01:48:16 | 2019-12-24T01:48:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
int n, m;
vector<int> way[maxn];
int h[maxn], vis[maxn];
vector<int> good[maxn];
vector<int> bad[maxn];
int fen[maxn];
int ans;
set<pair<int,int>> have;
void add(int x, int val) {
while(x <= n) {
fen[x] += val;
x += x&-x;
... | [
"541736690@qq.com"
] | 541736690@qq.com |
93f1706d748eb9e42a44936a93462fc0f3380b99 | 5447a87c9fa3cd790453a8bf4a40761b4fbb099b | /c-primer/Chapter Four/4.1.2/4.1/main.cpp | 87a4f4ead09163e622201d4460c7dd05544abfe9 | [] | no_license | necromaner/C- | ffb215520d3035a1e785147303c753a10a47619a | f7978b358f8246072c7f9627cee80e5df1994b25 | refs/heads/master | 2021-05-25T09:13:32.011117 | 2020-11-10T09:00:47 | 2020-11-10T09:00:47 | 126,946,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | //4.1 表达式5+10*20/2的求值结果是多少?
//5+((10*20)/2)=105
#include <iostream>
int main() {
std::cout <<"5+10*20/2 = "<< 5+10*20/2<<std::endl;
return 0;
} | [
"necromaner@foxmail.com"
] | necromaner@foxmail.com |
0183eee9ac73be02239bee9d5955710b3f588679 | 3ad4e319726740f79e92f3b07f94b86b07442a64 | /HW5/hw5/161044068_CSE241_HW5/Shape.h | 9dfb27a826303e82ae1cf33a2428a906a3d7674d | [] | no_license | zeynep-turker/CSE241-Object-Oriented-Programming | 65ef75ea1469982814d086caac88d9534e4b1bd7 | 27c10c7eb202be890651324214a23ffa91d5ae1e | refs/heads/master | 2022-07-06T04:56:26.767821 | 2020-03-02T20:57:31 | 2020-03-02T20:57:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | h | #ifndef SHAPE_H
#define SHAPE_H
#include <iostream>
using namespace std;
class Shape {
public:
//Constructor
Shape();
Shape(int size);
Shape(int size, double coordX, double coordY);
//Setter and Getter
void setSize(int size);
void setCoordX(double coordX);
void setCoordY(double coordY);
... | [
"32435460+zeynepyuksel@users.noreply.github.com"
] | 32435460+zeynepyuksel@users.noreply.github.com |
e3638515fc2d8b231d56992f9a3aba3d5ee06c67 | 43d486d2907620404a45144ef03dd9a937a11750 | /src/wfvocl_commandqueue.cpp | b16a98e6636631e53aed185881a765ff4595a143 | [
"NCSA"
] | permissive | sonyomega/wfvopencl | f591af1e2d44a598f12b9a57fc2021b7954b2d36 | 3c92b0ed31ede42ca9eb1114c6dff45acc7bfed0 | refs/heads/master | 2021-01-24T00:43:58.896999 | 2012-03-29T11:39:15 | 2012-03-29T11:39:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,546 | cpp | /**
* This file is distributed under the University of Illinois Open Source
* License. See the COPYING file in the root directory for details.
*
* Copyright (C) 2010, 2011 Saarland University
*/
/**
* The functions implemented here correspond to the functions described in
* chapter 5.1 of the OpenCL 1.1 specifi... | [
"t.schaub@gmx.de"
] | t.schaub@gmx.de |
fad76ccd4ffa2d3ce6c10775d8f366d611d25063 | 7ed28dffc9e1287cf504fdef5967a85fe9f564e7 | /binary_search/abc146_c.cpp | 461563bbc0fef54ea52836ee424da3a59732074e | [
"MIT"
] | permissive | Takumi1122/data-structure-algorithm | 0d9cbb921315c94d559710181cdf8e3a1b8e62e5 | 6b9f26e4dbba981f034518a972ecfc698b86d837 | refs/heads/master | 2021-06-29T20:30:37.464338 | 2021-04-17T02:01:44 | 2021-04-17T02:01:44 | 227,387,243 | 0 | 0 | null | 2020-02-23T12:27:52 | 2019-12-11T14:37:49 | C++ | UTF-8 | C++ | false | false | 864 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
/*
正の整数Nに対して単調増加な式f(N)があるとき、
・f(N) ≤ X を満たす最大の正の整数N
は、二分探索によって求めることができる
*/
/*
参考リンク
ABC 146 C - Buy an Integer
https://atcoder.jp/contests/abc146/ta... | [
"takumi221b4869@gmail.com"
] | takumi221b4869@gmail.com |
e98f0f02f45744251aa8786a35693b415e68dc0d | 6b9fa22692aecf60b4586577d0a4d1c02110f617 | /OgreMain/src/OgreDefaultDebugDrawer.cpp | 2ece0d7243f73fd2d4e466869cafc3b4c8c49f9d | [
"MIT"
] | permissive | ChristinaDickmannORGADATA/ogre | 82bbe23ae3976c39defab5c0d4edaead26498399 | b5553759e1f4888fb7ff9173a15dc3c844e7db8a | refs/heads/master | 2022-12-26T13:57:51.343653 | 2020-10-13T12:38:36 | 2020-10-13T12:38:36 | 299,621,365 | 0 | 0 | MIT | 2020-09-29T13:11:39 | 2020-09-29T13:11:38 | null | UTF-8 | C++ | false | false | 5,809 | cpp | // This file is part of the OGRE project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at https://www.ogre3d.org/licensing.
#include "OgreDefaultDebugDrawer.h"
#include "OgreStableHeaders.h"
namespace Ogre
{
DefaultDebugDrawer::DefaultDebugDra... | [
"rojtberg@gmail.com"
] | rojtberg@gmail.com |
b181412f7451bce2c0d4181f6801ba2142557678 | 0fd328f72a06d645022e5edb4d827c5e58fba3b5 | /690.Employee-Importance.cpp | 1023afe92caf645e0aa37b2d58aa67a44697151b | [] | no_license | hqnddw/leetcode | df4722ca447b4ae2b6d238518695ef0032dbaeef | 3c4887de5232977dd1eb385beab7307b2fed4426 | refs/heads/master | 2021-06-18T05:43:40.525960 | 2021-03-28T12:49:04 | 2021-03-28T12:49:04 | 194,181,981 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | //
// Created by yida on 2020/5/23.
//
#include <vector>
#include <queue>
#include <stack>
#include <unordered_map>
#include <unordered_set>
using namespace std;
// Definition for Employee.
class Employee {
public:
int id;
int importance;
vector<int> subordinates;
};
//bfs
class Solution1 {
public:
i... | [
"2870093513@qq.com"
] | 2870093513@qq.com |
263974ef8a657f7e119bceebf12c45024875520d | 83a1ccba5981b7638e61fadfb0fcd75d028cd0be | /tests/TestJson.cpp | f4f11c490632f67b2a7e2f75edb9a8375f872efa | [] | no_license | blaizard/IrStd | 6152cec5ac8c7f9ff087f6285fc1ee350249ac7d | 3dd45f95973f9a3df98ee179d18fa71f416477fa | refs/heads/master | 2021-01-19T16:48:41.518487 | 2018-05-03T20:18:07 | 2018-05-03T20:18:07 | 88,287,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,434 | cpp | #include "../Test.hpp"
#include "../IrStd.hpp"
class JsonTest : public IrStd::Test
{
};
// ---- JsonTest::testBasicTypes ------------------------------------------------
TEST_F(JsonTest, testBasicTypes)
{
IrStd::Json json(
"{"
"\"number1\": 42,"
"\"number2\": -0.458,"
"\"bool\": true,"
"\"null\": null... | [
"blaise.lengrand@gmail.com"
] | blaise.lengrand@gmail.com |
43e60434eaf6d8a77e608ab971b5b18f90558ea0 | 8142d9af134d86b42a0987f86c069865780aaf11 | /ss12/Episode.cpp | 6cc6d70a93b48b3317111c2c86fb15e257a5de16 | [] | no_license | dmirs/P5 | a83f0311958c70f59b47276494201d35f4213fd5 | ea81cddce9df3ad256c82dcc9ab76529a65dc252 | refs/heads/master | 2022-11-16T06:02:33.996077 | 2020-07-15T11:35:22 | 2020-07-15T11:35:22 | 280,449,954 | 0 | 0 | null | 2020-07-17T14:46:49 | 2020-07-17T14:46:48 | null | UTF-8 | C++ | false | false | 2,680 | cpp | #include "Episode.h"
#include <sstream>
#include <algorithm>
#include <map>
#include <iomanip>
using namespace std;
Episode::Episode()
:number(""), germanTitle(""),englishTitle(""), description("")
{
}
Episode::Episode(std::string nr, std::string ger, std::string eng, std::string des, const vector<... | [
"noreply@github.com"
] | dmirs.noreply@github.com |
ba79d4d022dada82fd25dfa87456e17e9697eb09 | eb7696001a46050ed32582f32e605775d5479938 | /hbqt/qtgui/hbqt_hbqgraphicsscene.cpp | 82ab3d93216aaebc66b210005e98f8122b78e6e2 | [] | no_license | lautaromoreira/qtcontribs | d3f23d1fe241cc700a62dcf1e9892b31555f0e1d | 0a6d650d5bdb71949462c1689e5ad9d5c0879292 | refs/heads/master | 2022-12-26T03:52:30.455364 | 2020-09-23T13:07:37 | 2020-09-23T13:07:37 | 297,971,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,448 | cpp | /*
* $Id$
*/
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2010-2016 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publishe... | [
"bedipritpal@d9dd3404-ddb2-4ebf-8b6a-858f5af37adf"
] | bedipritpal@d9dd3404-ddb2-4ebf-8b6a-858f5af37adf |
89fff9d04fc08892a24c151bef1b90f6eca4c3d4 | 55f2a837a7a75d25d6af14106616e6107d67703b | /C++ Programs/MatrixMult.cpp | dd58a815dd7bbbbfee83e22c0b7f791927c228f0 | [
"MIT"
] | permissive | SpooderManEXE/Hacktoberfest2020-Expert | fd63d011478fa25b8437fab0917cc6e21ff3bd41 | aa7aa4b22c52cee3b00e900d87a93284dea351de | refs/heads/master | 2023-08-11T12:21:11.615267 | 2020-11-02T02:01:59 | 2020-11-02T02:01:59 | 292,271,265 | 79 | 328 | MIT | 2021-10-01T03:26:08 | 2020-09-02T12:03:46 | Jupyter Notebook | UTF-8 | C++ | false | false | 790 | cpp | #include <iostream>
using namespace std;
int main()
{
int a[10][10],b[10][10],mul[10][10],r,c,i,j,k;
cout<<"enter the number of row=";
cin>>r;
cout<<"enter the number of column=";
cin>>c;
cout<<"enter the first matrix element=\n";
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
{
cin... | [
"noreply@github.com"
] | SpooderManEXE.noreply@github.com |
8f0dc95d43eeb9361350e98ced7fa3471eac3e2c | 1453cd02157d7e34b5e806a9486791a18c2df5c9 | /app/kernel/DataBaseDBC.h | 9e8e7aa3a165ca4c74b8dafbfd7449ea4dd2f0b7 | [] | no_license | colinblack/game-srv-muduo | 6da0c485b36d766d9cc9b3bd8ef4b6f83fab27f8 | 9fd5c98ba70d51e3fbfd0af0878b92019f242bec | refs/heads/main | 2023-05-15T06:18:45.431480 | 2021-06-07T07:44:48 | 2021-06-07T07:44:48 | 373,710,270 | 1 | 1 | null | 2021-06-04T06:11:54 | 2021-06-04T03:34:48 | null | UTF-8 | C++ | false | false | 5,486 | h | /*
* DataBaseDBC.h
*
* Created on: 2011-1-4
* Author: LARRY
*/
#ifndef DATABASEDBC_H_
#define DATABASEDBC_H_
#include "Common.h"
#include "AppDefine.h"
#include "dbcapi.h"
#include "dbc_route_table.h"
#include "dbc_keepalive.h"
class CDataBaseDBC
{
public:
CDataBaseDBC( const int table );
virtual ~CData... | [
"chengpeng424@163.com"
] | chengpeng424@163.com |
ee5cef0805bd0732b0abb5a04bdf10c52a361737 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/graphics/Qat/QatPlotting/QatPlotting/PlotFunction1D.h | 3e939b6c4a4b0a993e91daf974d57fc693655f8b | [] | 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 | 3,560 | h | //---------------------------------------------------------------------------//
// //
// This file is part of the Pittsburgh Visualization System (PVS) //
// //
... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
8f95b37a1bc442b1278fd3a530a34ffcecc463ac | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /content/browser/indexed_db/indexed_db_pending_connection.cc | b26cf7bd9499581cdf4ba44c276e74d0dd892144 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 929 | cc | // Copyright 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.
#include "content/browser/indexed_db/indexed_db_pending_connection.h"
#include <utility>
#include "base/logging.h"
namespace content {
IndexedDBPendin... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
902622fb1fd620bb6d66fec3a12f6c5589b8e45b | b8d79e269c68f01a249bbf6ae8c5c2bc420d79ce | /include/tga/tga_utils.hpp | 08ef7d6e3dc75a335978b2daf68505d0bd9ff981 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | Estard/TGA | ceb119d597fd344bb24b9b62fc8c8970e9616982 | b2f074dfea8265625a4dd9a4d55f716b22caf2df | refs/heads/master | 2023-02-19T05:20:11.238516 | 2023-02-13T09:47:46 | 2023-02-13T09:47:46 | 254,085,350 | 4 | 2 | MIT | 2020-04-17T15:45:30 | 2020-04-08T12:45:49 | C++ | UTF-8 | C++ | false | false | 6,955 | hpp | #pragma once
#include "tga/tga.hpp"
#include "tga/tga_math.hpp"
#if defined(_MSC_VER)
#pragma warning(push, 0)
#elif defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic igno... | [
"estardastrius@gmail.com"
] | estardastrius@gmail.com |
694cc1c0cefde3d54bae4c127ff18dd7048fdec3 | e5ae43fa5d0148c875071ebc0138e25d08633149 | /Speedometer/OLED_Scale/ScaleButton.ino | d81da399f7fae9a4e1c3729b8e8bb258b52b3983 | [] | no_license | eddyluursema/modeltrain | f693ca7a399405b40ff157ded82a7cdf590c0696 | c099b71982093c4f81a8dafca104f286580ee95b | refs/heads/master | 2022-03-24T11:40:42.683663 | 2022-02-22T12:22:29 | 2022-02-22T12:22:29 | 186,811,352 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | ino | // pressing and releasing of scale button is handled with deboucing
const int CONTROLPINSCALE = A0;
BUTTONSTATE scaleButton;
long scaleButtonActionMillis;
void setupScaleButton() {
pinMode(CONTROLPINSCALE, INPUT_PULLUP);
scaleButton = OPEN;
}
BUTTONSTATE testScaleButton() {
if ((scaleButton == OPEN) && (digita... | [
"50661519+eddyluursema@users.noreply.github.com"
] | 50661519+eddyluursema@users.noreply.github.com |
d763ecf7e11f995b55a60dd63c281d878fc89056 | 9c7c052bef4af41e5afa0f1c52f25edb0104da67 | /MemManager.h | bf654d151c987b92cd934a2cf25eafea1941204c | [] | no_license | CollinReeser/OO | 798eaa9f20338fa314ce14fd3faeae2bd4d970c4 | 655539b5ce996b6197c4fb1b5ad22e97877a5470 | refs/heads/master | 2020-05-18T19:47:35.651700 | 2011-06-10T03:27:14 | 2011-06-10T03:27:14 | 1,873,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | #ifndef MEMORY_MANAGER
#define MEMORY_MANAGER
class MemoryManager
{
public:
// This is the basic constructor for the memory manager
MemoryManager();
// Return bool declaring whether a new scope was successfully created. This
// adds a scope to the end of the scopeList, allowing for method calls and
... | [
"collin.reeser@gmail.com"
] | collin.reeser@gmail.com |
e54d6cfc2c71546104b604584059fb0f3d81450f | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/ds/ds/src/kcc/kcctask.hxx | 5df8683e704fa329cd65fd9df75ca7206aa1e73d | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | hxx | /*++
Copyright (c) 1997 Microsoft Corporation.
All rights reserved.
MODULE NAME:
kcctask.hxx
ABSTRACT:
KCC_TASK class.
DETAILS:
The KCC_TASK class is the base class of all KCC tasks (both periodic and
notificatication-based).
It's purpose is to provide a common interface and some common rout... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
ffd9fae48627f47bce830f9587390b6f6be68026 | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/tutorials/multiphase/twoPhaseEulerFoam/RAS/bubbleColumn/44/uniform/fieldAveragingProperties | 374b7fbd0c855104b1276d72f1c2a401acbb21c5 | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com | |
3ccc40c1f74df2afede40e46a64b243801b104e8 | fa4b0a91eb8982d776b15e141cefff37ad9987ab | /zhakhin_lab3/lab3.cpp | f335385b110e07cb18be58ea345177b5ff304bce | [] | no_license | ArdenZh/OOP-6303 | 9bd957da4223427d6985fc48b868a6eb22c1d689 | 01315448696784a2d895f6988b10d154bbaf0369 | refs/heads/master | 2021-04-09T10:23:15.400259 | 2018-04-29T10:37:56 | 2018-04-29T10:37:56 | 125,502,605 | 0 | 0 | null | 2018-04-29T10:35:11 | 2018-03-16T10:40:48 | C++ | UTF-8 | C++ | false | false | 8,223 | cpp | #include <assert.h>
#include <algorithm> // std::copy, std::rotate
#include <cstddef> // size_t
#include <initializer_list>
#include <stdexcept>
#include <iostream>
using namespace std;
template <typename Type>
class vectorm
{
public:
typedef Type* iterator;
typedef const Type* const_iterator;
typ... | [
"noreply@github.com"
] | ArdenZh.noreply@github.com |
08eb593a1822f6512c0fe8576acda14e7e238ba1 | 332c7d8eba8b686f59dbf05b068947772042da88 | /A_1.cpp | c023350a3f1a4d83ddd144b4a0a20d295e3cb3a5 | [] | no_license | Vuhoanganh8686/Bai-tap-tuan-5 | 3d1fc6a4443fcba9c840a71a925ef4bebf737bb8 | 0c7e7a9cd747da4bdf1920c8729a6e56d7e2fb92 | refs/heads/master | 2023-03-19T21:38:56.654575 | 2021-03-18T15:24:43 | 2021-03-18T15:24:43 | 349,121,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include <iostream>
using namespace std;
int main()
{
int a[3];
char b[3];
for (int i = 0; i < 3; i++) cout << (void*)&a[i] << " ";
cout << endl;
for (int i = 0; i < 3; i++) cout << (void*)&b[i] << " ";
cout << endl;
a[0] = 1;
b[0] = 66;
for (int i = 0; i < 3; i++) cout << (void*)&a[... | [
"hoanganhvu8484@gmail.com"
] | hoanganhvu8484@gmail.com |
5fa99dcbaf670f7f1c54cba537e5e5cf8d57243b | c8c415c8c40806b080b1de0bbc73424e11fe1936 | /Diluc and Kaeya.cpp | 4f58a00fae6345d3a931454be79f54e9188ec379 | [] | no_license | AlomShanto/Project-200-Problem-Solving- | 665ace87ec4b554209067a0c44999e74de1e0517 | c2a2f34edf8c9438158daaf44459517cb1ec5ea2 | refs/heads/main | 2023-08-16T19:25:03.235704 | 2021-09-16T14:43:22 | 2021-09-16T14:43:22 | 380,435,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | ///BISMILLAHIR-RAHMANIR-RAHIM///
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define srt(s) sort(s.begin(),s.end())
int main()
{
ll t;
cin>>t;
while(t--)
{
ll n;
cin>>n;
string s;
cin>>s;
ll d=0,k=0;
map<pair<ll,ll>,ll... | [
"noreply@github.com"
] | AlomShanto.noreply@github.com |
9fccc85e71d62063f25cfc5da93b661eb6cfd281 | 2e7970e72e583b6e52cd2dc3b58fbb4a0437d610 | /Sketchbook_Starter_Kit_V2.0/Grove_Button/Grove_Button.ino | 13531bb88a0ed8f2d3b6a49c93dbe4b2d49c2c8e | [] | no_license | Lyoncore/iotivity-demo-uc15 | dedc25821f672a0b7ea0096fb9acd5651fa7a8e8 | 33d0d377f433029371403415f695226dad46349e | refs/heads/master | 2021-04-06T00:00:54.981699 | 2016-08-02T06:30:25 | 2016-08-02T06:30:25 | 64,462,533 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 764 | ino | // Demo for Grove - Starter V2.0
// Author: Loovee 2013-3-10
// Uses the Grove - Button to control the Grove - LED.
// Connect the Grove - Button to the socket marked D3
// Connect the Grove - LED to D7
// Defines the pins to which the button and LED are connected.
const int pinButton = 3;
const int pinLed = 7;
... | [
"gerald.yang@canonical.com"
] | gerald.yang@canonical.com |
301c5a1f566810ed81d5d38cf37f5840f8d2e32f | 85f5e869641cf533f2d0e786275d96d5ae90da61 | /MainFrm.cpp | 5562c06390dc88d6294b97ea1812382c0d481033 | [] | no_license | derekwaters/taskshifter-v1 | e7aad4046d236a1d4376ef25141f452de2e1fb0d | 9b965dd504303cbd2fea2d13c63949e8afecb734 | refs/heads/master | 2021-01-13T01:42:15.988693 | 2013-03-22T11:48:40 | 2013-03-22T11:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | cpp | // MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "TaskShifter.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainFrame
IM... | [
"derek@frisbeeworld.com"
] | derek@frisbeeworld.com |
40b6d19b381f75f5e5bb9ccfe6482e8fe0d4a503 | f438ef4024e51812ee9bb50062937f37e6fbf1ca | /Prueba2_P2_2020/tests/test_parser.cpp | 92f4e89c76ca90c07b84eda18740fe64b00db7a8 | [] | no_license | ErickHernandez/Evaluaciones_Compi_1 | 6e2626c9b4b98b23ffc59c5840fdaf36704f7a11 | 41ebf3aa33ccd681d9c26a5b25d617e0ebb45c15 | refs/heads/master | 2022-11-08T22:16:02.392471 | 2020-06-30T01:12:19 | 2020-06-30T01:12:19 | 262,188,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,873 | cpp | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
#include "lexer.h"
#include "parser.h"
std::vector<TokenInfo> error = {
_Ident("x"), _OpAssign, _Ident("x")
};
std::vector<TokenInfo> assign = {
_Eol, _Eol,
_Ident("x"), _OpAssign, _OpenPar, _Number("175"), _OpAdd, _Number("12"), _ClosePar, ... | [
"erick.hernandez@unitec.edu"
] | erick.hernandez@unitec.edu |
2d41751028d13cbc7bcdabe11eb948a5e7743ebc | 661bb25db192b744bd10d6c3ca702a7e307c602d | /TribesAscendSDK/HeaderDump/TribesGame.TrObject.EffectFormMatTypes.h | 6f9a9bb1b70b63daee4bedd9895cddac3d5c6ef7 | [] | no_license | Orvid/TASDK | 9582682f0f60a6f6fce5caea3cdd978f401565b3 | 6057c26b8185b08bc47c58ddecefe0f14becf566 | refs/heads/master | 2020-12-25T01:06:16.876697 | 2013-08-02T16:26:25 | 2013-08-02T16:26:25 | 11,539,096 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 157 | h | #pragma once
namespace UnrealScript
{
enum TrObject__EffectFormMatTypes : byte
{
MAT_None = 0,
MAT_Stealth = 1,
MAT_Shield = 2,
MAT_MAX = 3,
};
}
| [
"blah38621@gmail.com"
] | blah38621@gmail.com |
4bee30f6b6cbf55982c334ec572c15ce4be7c6cb | 5d0504f9decf40ba5b1daab1db9baedc4c4c3f59 | /feather/libraries/httputils/http_couchget.h | 5167d00448b5e494b4b205ad41773f4866abb454 | [] | no_license | cicchiello/hive | 3a976e7952575c74035d58c7f02520832ff2c25f | c7acb0152a2e95fbdaf51cf4d985da9357e34138 | refs/heads/master | 2020-06-12T18:19:32.691583 | 2018-03-07T19:43:12 | 2018-03-07T19:43:12 | 75,779,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | h | #ifndef http_couchget_h
#define http_couchget_h
#include <http_get.h>
#include <http_couchconsumer.h>
#include <couchutils.h>
class HttpCouchGet : public HttpGet {
public:
HttpCouchGet(const char *ssid, const char *ssidPswd,
const char *host, int port, const char *page,
const char *dbUser, const char *dbPsw... | [
"j.cicchiello@ieee.org"
] | j.cicchiello@ieee.org |
c29ee912b7bd0f00aa05224f95c690c4f7a09d99 | 6b739ba8734854af927568656b83b74ef767dd3f | /Graphic.hpp | e5ad05f56d284a2bc2b4bde851b1a593d931e7c6 | [] | no_license | nitorionedan/TestGeki | 80b82731a1cd49cbcbdfea62cde7562ef158b04a | 665699384dfe86064e99d73907b73ca8b58b1123 | refs/heads/master | 2021-01-17T20:43:09.871999 | 2016-06-03T09:00:11 | 2016-06-03T09:00:11 | 60,329,267 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 877 | hpp | #pragma once
class Graphic
{
private:
const int AllFontNum = 49; // フォントの数
public:
int h_blueChar[28];
int h_orangeChar[28];
int h_blueNum[10];
int h_orangeNum[10];
int h_blueFonts[49];
int h_orangeFonts[49];
public:
Graphic();
Graphic(int &Gr_Handle);
~Graphic();
void DrawMyString(const int PosiX, cons... | [
"b1444263@planet.kanazawa-it.ac.jp"
] | b1444263@planet.kanazawa-it.ac.jp |
a4b5861b61c4e77b0bbf5d45ef25558e74d07be2 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/233/804/CWE122_Heap_Based_Buffer_Overflow__c_CWE806_wchar_t_ncpy_84_goodG2B.cpp | 09e4e3e23ec34e3fe5de1d25e1774a4c9041fbb9 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_wchar_t_ncpy_84_goodG2B.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml
Template File: sources-sink-84_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: I... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
65fe9ca10843712d17c9284b2a27ac984c972846 | d1ee6e2631a849b607d547cb3b222190908a85e5 | /src/qt/optionsdialog.cpp | e5e523f087f362a3d9183f70519289f212782361 | [
"MIT"
] | permissive | CryptoParts/GlobalCoin | 33b1f43d6e15e9b3cdce95a063df0053a5d2200b | edd7f98283c9839fe28433ceb123798acc96db77 | refs/heads/master | 2021-01-18T17:17:54.873507 | 2019-06-22T07:06:15 | 2019-06-22T07:06:15 | 15,890,502 | 2 | 9 | null | 2017-06-13T15:05:35 | 2014-01-14T03:21:25 | C++ | UTF-8 | C++ | false | false | 7,672 | cpp | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinamountfield.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include "qvalidatedlineedit.h"
#include "qvaluecombobox.h"
#include <QCheckBox>
#include <QDir>
#include <QIntValidator>
#... | [
"parts@parts-VirtualBox.(none)"
] | parts@parts-VirtualBox.(none) |
8c85d23dc4db084ad2e932b57fd434e7701d1be9 | 995fef3accf2aedbcd431dd98bc9ab2a2ecace9d | /src/plugins/lmp/plugins/graffiti/cuesplitter.cpp | 0826c1654be36ba5b1164dc7198a75404bb3888c | [
"BSL-1.0"
] | permissive | eringus/leechcraft | 2e3da6263e7530f002b532aae616a4b158d53ff6 | 415a9a49aa4c942a4953e8c6e59876fc7e217b24 | refs/heads/master | 2020-12-26T04:56:09.461868 | 2013-12-17T13:03:26 | 2013-12-17T13:03:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,484 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2013 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
8d8490a8a3172935f23a12e5d1dc8cc9626a91bf | 931a8f1634feb32916cf20ac6cd28a3ee2830ba0 | /Native/System/Servers/appserver/drivers/video/mga/mga_crtc.h | ce6e681fe5eb127224cb57f5c9a1ed8e5255b557 | [] | no_license | PyroOS/Pyro | 2c4583bff246f80307fc722515c5e90668c00542 | ea709dc1f706c4dfc182d959df14696d604572f8 | refs/heads/master | 2021-01-10T19:47:17.787899 | 2012-04-15T12:20:14 | 2012-04-15T12:20:14 | 4,031,632 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | h | /*
* The Syllable application server
* Copyright (C) 1999 - 2001 Kurt Skauen
* Copyright (C) 2003 Kristian Van Der Vliet
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU Library
* General Public License as published by the Free Software... | [
"mail@pyro-os.org"
] | mail@pyro-os.org |
6c948aa20b01ff9f61dd62d10cc7645d89dfa5f6 | d7f95e5fb7bbf220b9f8dc700970ca42a1deb7dc | /src/HCam.cpp | 44b9303e871bfbea0e62ad7c4e2490f1b84f3206 | [] | no_license | TheVaffel/HConLib | 9952b36e6b8f682f386c0bc06196ebe60a2a40a2 | 4db4a540661c11514a7208451504da94b5ccb978 | refs/heads/master | 2023-05-11T16:58:38.486934 | 2023-04-30T20:28:28 | 2023-04-30T20:28:28 | 75,107,118 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,353 | cpp | #include <HCam.hpp>
#ifndef USE_TURBOJPEG
#define STB_IMAGE_IMPLEMENTATION
#include "external/stb_image.h"
#endif
#ifdef WIN32
/*
* Huge thanks to tedburke at Github for this implementation
* https://github.com/tedburke/CommandCam
* Not entirely copied, although heavily inspired
*/
#undef assert
#define assert(hr) i... | [
"hkon20@hotmail.com"
] | hkon20@hotmail.com |
3d3030f7d9818be5fce8d469a730e709691ed5e7 | 1a20961af3b03b46c109b09812143a7ef95c6caa | /ZGame/DX11/DirectXTex/ScreenGrab/ScreenGrab.cpp | 544833782c2f867a3e5d0c99b967875d514d327f | [
"MIT"
] | permissive | JetAr/ZNginx | eff4ae2457b7b28115787d6af7a3098c121e8368 | 698b40085585d4190cf983f61b803ad23468cdef | refs/heads/master | 2021-07-16T13:29:57.438175 | 2017-10-23T02:05:43 | 2017-10-23T02:05:43 | 26,522,265 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43,464 | cpp | //--------------------------------------------------------------------------------------
// File: ScreenGrab.cpp
//
// Function for capturing a 2D texture and saving it to a file (aka a 'screenshot'
// when used on a Direct3D 11 Render Target).
//
// Note these functions are useful as a light-weight runtime screen gra... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
28df6ccbe9ec0da52dd335e1335580432a5b1804 | db5cf117e0a6e9c791f1378673c3dcb108511dc7 | /src/Sova/Network/Impls/HttpRequestImpl.cpp | be26549d87d66d6c13f89c69140d17ce3cd1cf40 | [
"MIT"
] | permissive | connorcarpenter/sova | d4ad9ad8e8dcd2b4e00dcf75ca708c9c79a11d33 | 3b640bea83c7fe1013196977c39a27e7cd4947ec | refs/heads/master | 2021-06-02T01:44:33.147716 | 2019-02-06T21:54:33 | 2019-02-06T21:54:33 | 140,193,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | //
// Created by connor on 7/19/18.
//
#include "HttpRequestImpl.h"
namespace Sova
{
namespace _priv
{
HttpRequestImpl::HttpRequestImpl(Sova::HttpRequest* parentRequest)
{
this->parentRequest = parentRequest;
}
void HttpRequestImpl::send()
{
thi... | [
"connorcarpenter@gmail.com"
] | connorcarpenter@gmail.com |
aef84144153aadf2abb6c10e913a8e6b5fa1015b | 3a4b861cf0085953a6f58df2c63f8dfdfca75f84 | /LeetCode/c++/014_longestCommonPrefix.cc | bb30b71b5d53b5b8b732d5f4004a3bd95654b11b | [] | no_license | ElvisKwok/code | f490c1acfb4025ff2dbe00e61379304f2526176f | b2d5560e7fc1f7e14ff3a7eb827282f2732d22a3 | refs/heads/master | 2020-04-15T17:31:37.265803 | 2016-05-09T13:57:42 | 2016-05-09T13:57:42 | 23,882,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,952 | cc | // Source : https://leetcode.com/problems/longest-common-prefix/
// Author : Elvis Kwok
// Date : 2015-10-14
/**********************************************************************************
*
* Write a function to find the longest common prefix string amongst an array of
* strings.
*
*
**... | [
"359619839@qq.com"
] | 359619839@qq.com |
8f07169d02c3f5b79bcc9e23cbd4e93015a659c1 | 1a29bb587dcf09dac045320bf55974682a355fa3 | /include/dui/Control/UIWebBrowser.h | 2a506c940c766497afadb80d99c8e4e010571657 | [] | no_license | lcksfa/cmake_duilib | 272026833aaf6108c5527a7a73545cb476f74a08 | 50184bd216d34a880ed900c4fca0c0afc32cd90e | refs/heads/master | 2021-07-17T10:40:08.219072 | 2020-06-07T13:56:59 | 2020-06-07T13:56:59 | 159,792,859 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 7,642 | h | #ifndef __UIWEBBROWSER_H__
#define __UIWEBBROWSER_H__
#pragma once
#include <MsHTML.h>
#include "Utils/WebBrowserEventHandler.h"
#include <ExDisp.h>
namespace ui
{
class UILIB_API CWebBrowserUI
: public CActiveXUI
, public IDocHostUIHandler
, public IServiceProvider
, public IOleCommandTarget
, public IDi... | [
"yousaid820@163.com"
] | yousaid820@163.com |
7747cf52e64251c1f34664925c2d81ab5b9a24ce | eaf5c173ec669b26c95f7babad40306f2c7ea459 | /abc156/abc156_c.cpp | a18d87d5dc9eecb398d58cf68c62409b3798fae5 | [] | no_license | rikuTanide/atcoder_endeavor | 657cc3ba7fbf361355376a014e3e49317fe96def | 6b5dc43474d5183d8eecb8cb13bf45087c7ed195 | refs/heads/master | 2023-02-02T11:49:06.679743 | 2020-12-21T04:51:10 | 2020-12-21T04:51:10 | 318,676,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | cpp | #include <bits/stdc++.h>
#include <cmath>
const double PI = 3.14159265358979323846;
//using namespace boost::multiprecision;
using namespace std;
typedef long long ll;
//typedef unsigned long long ll;
const double EPS = 1e-9;
#define rep(i, n) for (int i = 0; i < (n); ++i)
//#define rep(i, n) for (ll i = 0; i < (n); +... | [
"riku@tanide.net"
] | riku@tanide.net |
87a1da809a64b0d9e77ca917745764c050951ccd | d85e9b9dea70d0611a352337f5e810c9c03d39a7 | /cloudMyIp.ino | fb99d2ff5163e504b0681de81291c01a134c65c7 | [] | no_license | siagung/CloudMyIp | b3291af613793345b3ae92bf065018f826e54f3e | 5bba037c365847301009b6d7e80f70e1fe4c5d1e | refs/heads/master | 2021-02-06T14:55:42.360004 | 2017-04-07T14:57:40 | 2017-04-07T14:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | ino | #include "ESP8266WiFi.h"
// WiFi parameters
const char* ssid = "yourWifi";
const char* password = "yourPassword";
String dweetThingName("yourDweetThingName");
void setup() {
// Start Serial
Serial.begin(115200);
delay(10);
// We start by connecting to a WiFi network
Serial.println();
Serial.print("C... | [
"a.riccibitti@iname.com"
] | a.riccibitti@iname.com |
670c9fde766154031958a396eb76bc8aa1099613 | b175eddaf939281f164c2fbb39b55f85cfa90be0 | /Solutions/Worms/main.cpp | c42e23df0e298b881bc93289c6dd00a90b68eec5 | [] | no_license | AbdelrhmanKhater/Icons | 96b3f42504157c3089ceeb708b9b92ad89c18c88 | ea43233aab70b6b931efe76e349ee0684410a766 | refs/heads/master | 2020-03-07T01:31:54.176100 | 2018-03-28T19:17:12 | 2018-03-28T19:17:12 | 127,185,831 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | #include <bits/stdc++.h>
using namespace std;
int cum[100005], n;
int w[1000005];
int q, num;
int Binary_Solve(int s, int e, int val)
{
if (s > e)
return s;
int mid = (s + e) / 2;
if (cum[mid] == val)
return mid;
else if (cum[mid] > val)
return Binary_Solve(s, mid - 1, val);
... | [
"abdelrhman.khater111@gmail.com"
] | abdelrhman.khater111@gmail.com |
3cd3aa9e3c5e05d12551c7c2e13938e8dc10f109 | f0efafb3f01a21dd3ad8c19508eb01f34c86afb1 | /DnfTest/FileParser.cpp | 5ecb7e417b70380633ebefc68671f980896e8535 | [] | no_license | liuxiaowei/DnfTest | 7fa7274b69801f1684d2a643da651e97803fa83f | 681cab7085ff92e90f062af3e4ea439e40286911 | refs/heads/master | 2020-04-30T15:20:03.267851 | 2019-04-09T08:46:26 | 2019-04-09T08:46:26 | 176,917,741 | 0 | 0 | null | 2019-04-09T08:46:27 | 2019-03-21T09:58:57 | C++ | GB18030 | C++ | false | false | 2,296 | cpp | #include "StdAfx.h"
#include "FileParser.h"
#include <fstream>
#include <sstream>
#include "Config.h"
CFileParser::CFileParser(void)
{
}
CFileParser::~CFileParser(void)
{
}
void CFileParser::LoadData(const CString& path)
{
CStdioFile mFile;
if (mFile.Open(path,CFile::modeReadWrite))
{
CString strData = "";
c... | [
"330502632@qq.com"
] | 330502632@qq.com |
c681c17c7bd4b3b76fbf03fbaa0077b94d27c340 | 7b53230a5b006e21bd29f71749270fbd4fa8e199 | /tim so chia het cho cac so tu 1 den 20/Source.cpp | 9d9b956faeae316578a18a542b503f57693472b4 | [] | no_license | BruceleeThanh/Backup_CppBasicTLU | d50097f39b2c6b912fefafc9d4bb186cb4ccff7c | 63e786932e0c37facf7f5240e7d0556d03b2ccb7 | refs/heads/master | 2021-01-17T07:02:58.383882 | 2016-07-14T06:20:24 | 2016-07-14T06:20:24 | 50,555,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int n = 20, count;
while (1){
count = 0;
for (int i = 1; i <= 20; i++){
if (n%i == 0){
count++;
}
}
if (count == 20){
cout << "So can tim la: " << n << endl;
break;
}
n += 20;
}
_getch();
return 0;
} | [
"nguyentrungthanh602@gmail.com"
] | nguyentrungthanh602@gmail.com |
61f1b1b4bed7475b5a5be09035f134a7cee1511e | 6a127b0f3a029d247bd7b6ef30a612a98c0be5fb | /GestaoDeFuncionarios/main.cpp | dbb37032a98788c817c2ce1d1cf78684add4d6f3 | [] | no_license | wcavalheiro/Object-Oriented-Programming | aab6982b84c1fe539ea467f47047abe8aa4cf1b4 | 572a47aefe180bc2be879465198199d059441b07 | refs/heads/main | 2023-06-06T01:54:22.349655 | 2021-06-20T23:49:49 | 2021-06-20T23:49:49 | 372,344,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | cpp | #include "Menu.hpp"
int main(){
Menu empresa;
return 0;
}
| [
"noreply@github.com"
] | wcavalheiro.noreply@github.com |
e22eff25726e3711cddc6ce40b081c5fdf209a65 | 28f418dd95e06b876c9ecac12237f9140e7eb6dc | /Upsolves/kickstartcountdown.cpp | 22bd7aad48c95376dde31da98f67703d67318d62 | [] | no_license | mc145/Competitive-Programming | b8e577058b01fc655e65124dd19cbaab20b6dc90 | 0f4a0ce59befdef245aa7c921b5cab79cf084a6b | refs/heads/master | 2023-01-24T20:08:30.051743 | 2020-12-08T04:53:48 | 2020-12-08T04:53:48 | 287,874,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include<iostream>
#include<vector>
#include<string>
#include<math.h>
#include<algorithm>
#include<sstream>
#include<fstream>
using namespace std;
typedef long long ll;
typedef long double ld;
int ceil(int a, int m){
// division of a and m
if(a % m == 0){
return a/m;
}
else{
re... | [
"64022510+MathCounts145@users.noreply.github.com"
] | 64022510+MathCounts145@users.noreply.github.com |
e4285c49ff672e91b368b86469dd20b0773c03d4 | 5c0bf818e2b4a9c9d19e5a8d043e0795a0f9bc88 | /src/libebui/DlgFrameList.h | 4eb4056f33c390fb104367923c442c83e0808043 | [] | no_license | entboost/ebc | 4e55f45053b8816f7318dd552f94d9f9f893d402 | b05c4ddbbb3221ebb1126b8a75c7eabc6be9f1f8 | refs/heads/master | 2021-01-19T20:29:18.207141 | 2020-09-22T07:36:43 | 2020-09-22T07:36:43 | 67,870,859 | 31 | 9 | null | null | null | null | GB18030 | C++ | false | false | 8,498 | h | #pragma once
#define EBWM_FRAME_WND_MIN WM_USER+1
#define EBWM_FRAME_WND_MAX WM_USER+2
#define EBWM_FRAME_WND_CLOSE WM_USER+3
class CDlgShrinkageBar;
class CFrameWndInfo
{
public:
typedef boost::shared_ptr<CFrameWndInfo> pointer;
enum FRAME_WND_TYPE
{
FRAME_WND_CALL_DIALOG
};
static CFrameWndInfo::pointer cr... | [
"akee_yang@kingdee.com"
] | akee_yang@kingdee.com |
6dd5d307d06b52f904617fcc13a6709c7ade28b6 | ad14de7f0269124f1056c905cd3e684c35c117b2 | /Environment/GameEnvironment.h | 66b0afdfc3d62415ca596e04d3bccc6b68f5b95f | [] | no_license | lgasyou/SimpleGeneticAgent | d2f7497b70ca2ce109902bb7b02896b12719e96a | 65702e733f35d943024f26c44083f2543d252a11 | refs/heads/master | 2023-01-09T03:56:34.071844 | 2020-11-11T03:12:32 | 2020-11-11T03:12:32 | 264,136,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | //
// Created by xenon on 2020/4/25.
//
#pragma once
#include "../Agent/Individual.h"
#include <vector>
namespace Environment {
class IGame;
// 抽象的高层环境模块,智能体与之交互来提高、验证决策
class GameEnvironment final {
private:
IGame& game;
public:
explicit GameEnvironment(IGame& game);
... | [
"lgasyou@163.com"
] | lgasyou@163.com |
6788e07ff38d7d6297129188ff17ab0a4b71e132 | 94043929d099788d31bbd927d7a2ca3fd46e70f5 | /B [Two Cakes].cpp | 40d41c4a3ec42da594cc9e8ce29117134bee6c97 | [] | no_license | AprajitKatiyar/APS-Code-Library | d3ee6b98aaaf9aef01a5e99af7745cea732a4070 | afba03090c9ae43e63a6ded3cb2b874b9d7119eb | refs/heads/main | 2023-07-31T09:49:35.216074 | 2021-09-28T22:07:24 | 2021-09-28T22:07:24 | 380,353,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define io ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define mod 1000000007
int32_t main(){
io;
int t=1;
// cin>>t;
while(t--){
int n;
cin>>n;
unordered_map<int,int>mp;
vect... | [
"noreply@github.com"
] | AprajitKatiyar.noreply@github.com |
6ee945e9f177c1310d8ee88b6576644e415081b9 | 45b0a3a9fd4d34d55fde5ba8766469f01ece5805 | /src/doc.h | 49c3cbaf6d61769f6dfa46d3f522fc46034704d5 | [] | no_license | Mohammad-Abdul-Hadi/AOBTM-Adaptive-Online-Biterm-Topic-Modeling | 15762d31a18576ce9dafa9ab1ebde7fbdb25efb4 | d1420022797e03a6d50f9c1d49de3a2113c515b0 | refs/heads/master | 2022-07-21T15:13:15.600215 | 2022-07-20T07:22:35 | 2022-07-20T07:22:35 | 253,193,846 | 3 | 1 | null | 2022-06-20T07:30:12 | 2020-04-05T09:01:36 | C++ | UTF-8 | C++ | false | false | 905 | h | #ifndef _DOC_H
#define _DOC_H
#include <string>
#include <vector>
#include <cassert>
#include <sstream>
#include "biterm.h"
using namespace std;
class Doc {
private:
vector<int> ws; // word sequence
//int day;
public:
Doc(const string& s) {read_doc(s);}
int size() const {return ws.size... | [
"hadi@alumni.ubc.ca"
] | hadi@alumni.ubc.ca |
01a79932b21ad15e4d16f076761c735748cd42ba | c5211314ca1fa8de73e70f7efc2c3a677dbd0ab9 | /libpetey/grammar_t.h | eedcb2517c6e2c8f3e3652f382a4b03bd04fc53d | [] | no_license | chookee/libmsci | ca1aac43741d7c11a8532a974e0bcc96194c11ad | 1d2de4209ae1f4bb0c009e63c31f5aac979319dd | refs/heads/master | 2020-12-25T09:18:23.192264 | 2016-02-02T01:41:49 | 2016-02-02T01:41:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,198 | h | #include <stdio.h>
#include "string_petey.h"
#include "symbol_table.h"
#include "vector_e.h"
using namespace std;
using namespace libpetey;
class grammar_t;
class parse_tree;
class expr_t {
public:
expr_t();
virtual ~expr_t();
virtual parse_tree * parse(char *string, int ver)=0;
virtual int parse... | [
"petey@peteysoft.org"
] | petey@peteysoft.org |
16b5541a11514de9040058855d18c6c4409b80e2 | c74e2c6a9a0427f4b610488d582aab2d2d52aa80 | /src/cloudlog.cpp | bd7ac530d68e1a68ee9da66d6b9a9d822bfcfe30 | [] | no_license | skyformat99/Cloudy | 3723aac551f1be119cf63803d6c241a3638aa09b | 6c73faf4a0532c5fd81b3481a5c79965e217c9b5 | refs/heads/master | 2021-05-07T22:32:22.058606 | 2017-03-22T13:45:27 | 2017-03-22T13:45:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cpp | #include "cloudlog.h"
namespace cloud {
static CloudLog& fowlog = CloudLog::Instance(); //创建对象,返回引用
std::shared_ptr<spdlog::logger> CloudLog::cloud_log; //声明
CloudLog::level_enum CloudLog::Trace = spdlog::level::trace;
CloudLog::level_enum CloudLog::Debug = spdlog::level::debug;
CloudLog::level_enum CloudLog... | [
"2459436031@qq.com"
] | 2459436031@qq.com |
79858e7961c9051ad8f9b9b81bae4fe3427ed5bc | 4c404e5de6c0b10153a8e3f24dc301db06217963 | /Dodger Main/Player.h | 6b4d876714402bf0c5300e2b3f40d2dc2c755b2a | [] | no_license | OrPerDev/DodgerGame | 7c644a846d7d93482acd205b694ffefdd2992943 | 7f02dcabcbef209b3f80e79e35cb2cfad152dc28 | refs/heads/main | 2023-08-21T01:08:00.848788 | 2021-10-29T08:00:34 | 2021-10-29T08:00:34 | 409,920,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | h | #pragma once
#include "pch.h"
class Player: public CObject {
DECLARE_SERIAL(Player)
CString name;
BOOL isCustomIcon;
CString iconFileName;
unsigned long long highestScore;
public:
Player(): highestScore(0), isCustomIcon(FALSE) {};
Player(const CString& name);
Player(const CString& name, const CString& icon... | [
"noreply@github.com"
] | OrPerDev.noreply@github.com |
4fa4e4543135f3c8b55e194277ab88aef9d2a4ca | fcd145b1a12edea260d482583f88311e18b05030 | /Codeforces/301/d.cpp | 9f930adfdcdbcaa51d1ba67081a51b4263f424a7 | [] | no_license | triplemzim/competitive_programming | f7e7cf098b19c3abbf2b3ff6bb6e237122deaaf0 | 3da9560d021b743dd55f5165c0c0bb7e9adbf828 | refs/heads/master | 2021-01-22T23:21:29.082154 | 2017-03-20T22:23:11 | 2017-03-20T22:23:11 | 85,630,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | cpp | //round 301 div 2
#include<bits/stdc++.h>
using namespace std;
#define ms(x,val) memset(x,val,sizeof(x))
#define ull unsigned long long
#define iii long long
#define pi acos(-1)
#define repi(i,a,n) for(int i=a;i<n;i++)
#define pb push_back
#define PII pair<int,int>
#define MP make_pair
#define eps 1e-9
#define inf... | [
"Muhim Muktadir Khan"
] | Muhim Muktadir Khan |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.