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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2f0e1141016a2f54d1e969ad2f84565e2ef9921a | e2c0f5e5b311c3d511073db932d599ce12cc0f81 | /DynRPG/include/DynRPG/Skill/SkillTarget.hpp | eac434893c042bcd27bbd0ab242da1f2bc933ff2 | [] | no_license | ManDeJan/Cronus-Project | fc5f5112085bcee53ca6aac07b384b7b6d66c8b3 | 4f77584bc24591b5bc95ec282e57c56a7232718e | refs/heads/master | 2023-05-10T06:57:00.319221 | 2021-05-25T14:58:08 | 2021-05-25T14:58:08 | 364,986,230 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | hpp | #ifndef RPG_SKILL_TARGET_HPP
#define RPG_SKILL_TARGET_HPP
namespace RPG
{
/*! \brief Possible values for RPG::Skill::target
The target type for the skill as defined in the database.
\warning Not to be confused with Action::target!
*/
enum class SkillTarget
{
Enemy,
AllEnemies,
Self,
Ally,
AllAllies
};
}
#endi... | [
"janhlsm@gmail.com"
] | janhlsm@gmail.com |
5b99ad32f32cca019e0656f10cd9c700154ead9f | d66d1239efbd1d20a7108f7240555b418a258ae3 | /src/main.cpp | 722eb0c129898c7553c59973867eaa2df4a5f345 | [] | no_license | sshsu/web_server | a2c0e543e3ab11f9baf2641aeafa7180c879fba7 | 007d0f530e4fdd6848b17fd4766d5ea2e803279f | refs/heads/master | 2021-05-15T08:21:56.397576 | 2017-10-24T01:12:49 | 2017-10-24T01:12:49 | 108,059,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,783 | cpp | #include <iostream>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <cassert>
#include <sys/epoll.h>
#include <bits/sigaction.h>
#include <signal.h>
#include "locker.h"
#include "http_conn.h"
#i... | [
"yishen.wang@foxmail.com"
] | yishen.wang@foxmail.com |
f3ed95b88c1f54b15315b37e88bb64328b3dba28 | e7e680bd4d37597b1d04032c4832b35b92669d20 | /3d_simulated_maze/maze_runner/Source/maze_runner/mouse_body.cpp | 7fd86eb7d233a2fb355f93cf82db0dc3a9ce1c41 | [
"MIT"
] | permissive | nmsutton/MazeRunner | 3e3bd8ab2e9024a012645fa3057267985c6d3046 | 1d5fe36586fdcb3cc22cf339eef3cf14c29c7748 | refs/heads/master | 2020-12-02T22:04:16.752881 | 2018-09-16T22:38:21 | 2018-09-16T22:38:21 | 96,075,805 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "mouse_body.h"
// Sets default values
Amouse_body::Amouse_body()
{
// Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick ... | [
"Nate Sutton"
] | Nate Sutton |
fb96ba2d6a2b47280f07055a522140f8429448a1 | 0f11b02556a336c35cffe0e32d72060eb75335ec | /include/walle/memory/aligned_allocator.h | cb0b020403660255228f8caac53f0500d8f099a7 | [
"BSD-2-Clause"
] | permissive | hypeaches/walle | d14ed7e63d8f1b1e07e97a474314a5fc9c1c2d87 | 64e614a65b1dee21e6df2999bb55599d713a2295 | refs/heads/master | 2020-03-19T20:54:37.322612 | 2018-06-10T16:10:08 | 2018-06-10T16:10:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,879 | h | #ifndef WALLE_MEM_ALIGNED_ALLOCATOR_H_
#define WALLE_MEM_ALIGNED_ALLOCATOR_H_
#include <walle/memory/allocator_base.h>
#include <walle/common/inner_log.h>
#include <walle/memory/manager.h>
#include <cassert>
#include <cstdlib>
#include <memory>
namespace walle {
namespace mem {
#define WALLE_DEFAULT_ALIGN 4096
templat... | [
"walle_group@hotmail.com"
] | walle_group@hotmail.com |
213e2f9c93bd82415f19cdf92bfeecf41d0b36c7 | c83a778618386c929de9d912ac2239a33f043e19 | /SoftwareRenderer/Window.h | df22f23bc96b43bce1d2c8e00bdf581857b4d390 | [] | no_license | pkupper/SoftwareRenderer | 04e9befc40197dc3322bc15774bb2c7a16b55697 | 3e2e2191cb2cb93af5f5ba0de17a02c8bdbaad20 | refs/heads/master | 2020-03-13T23:19:46.675381 | 2018-05-05T20:21:19 | 2018-05-05T20:21:19 | 131,333,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | h | #pragma once
#include <string>
#include <SDL.h>
#include "Framebuffer.h"
class Window {
public:
Window(std::string title, int width, int height);
~Window();
void draw();
void handleEvent(SDL_WindowEvent ev);
int getWidth();
int getHeight();
Framebuffer& getFramebuffer();
private:
int m_width, m_height;
SDL_Wi... | [
"paul.kupper@aol.de"
] | paul.kupper@aol.de |
ee499ea79de9e503acfdeed1b84c8f4332bd05fc | 496e16a8d2017a25a4b60bf0b9acfb6c14ed60a2 | /Codechef/test.cpp | d1563a5eb01689e74fa0d07c49f7f9a06e2931e8 | [] | no_license | JTHEN-DEV/CompetitiveProgramming | 85d64e3dc3aced9cdc045b91d1426d2cadb1008a | 13bf3939df8f6a907397647da597aaf7cb0111b8 | refs/heads/master | 2023-01-03T05:47:30.897701 | 2020-10-26T08:26:28 | 2020-10-26T08:26:28 | 307,290,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
string s;
cout << "HI" << endl;
cin >> s;
cout << s << endl;
}
| [
"joel.yh.then@gmail.com"
] | joel.yh.then@gmail.com |
e2e20fc9894ed5bf6769e5f9cd5ca0f825d0b90a | ce94b7074d8ea4a37fb2a6c148b2bc4e45844f5a | /NodeMCU/HttpServer/httpserver.ino | 098282e578694bc1297dc59513fab38d1d1ce10a | [
"MIT"
] | permissive | paraggit/dexters-laboratory | 973699f0541f96a6a8324150441cdac6bb2cd02e | 61e0906d1d960fea0fbc5412e3baf542724d3050 | refs/heads/master | 2023-05-13T06:18:15.861961 | 2023-04-28T18:42:57 | 2023-04-28T18:42:57 | 254,719,546 | 0 | 0 | MIT | 2023-04-28T18:42:58 | 2020-04-10T19:32:41 | C++ | UTF-8 | C++ | false | false | 1,822 | ino | #include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <Wire.h>
#include <U8g2lib.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
// WiFi credentials
const char* ssid = ""; // mention here wifi router SSID
const char* password = ""; //mention here wifi router password
// Initialize the... | [
"noreply@github.com"
] | paraggit.noreply@github.com |
3981a53f97611bb3b31a2dd30ab61e4f07880a19 | ef6c09d95f1c254dc0159f6586502d1b160fb742 | /test_i2c/test_i2c.ino | a167f52bc7a50f80382df194deadbf958af0de5f | [] | no_license | DuncanPreveral/Parking | 3c71a4819828ed0d2353f196d475ad769a31b3d1 | ab4bd96f603841de273a32830fe3f00d353892c7 | refs/heads/master | 2020-04-04T22:56:47.526903 | 2018-11-07T16:50:05 | 2018-11-07T16:50:05 | 156,341,779 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | ino | #include <Wire.h>
#include "i2c.h"
#define MECANISME 0x20 //0 0 1 0 0 0 0 0
#define AUXILIAIRE 0x21 //0 0 1 0 0 0 0 1
#define CLAVIER 0x22 //0 0 1 0 0 0 1 0
void setup() {
// put your setup code here, to run once:
/* test buzzer */
initI2C(75);
Wire.begin(AUXILIAIRE);
Wire.write(0x02);
Wire.endTransmis... | [
"preverald@BTS-SN.LRQ"
] | preverald@BTS-SN.LRQ |
e0e9e9fac9182461e789e5a08ba82d2acea4376e | 68668c14f2e05e0336a1d29b4bebe2b2e134ebcc | /Documents/Github/practice10_19.cpp | 267e9634c9c8920aff0db7a35b01fb5273965d97 | [] | no_license | Hizeal/Cprogram | a5ae5fd40aa4c9901ebeac7bee7a9c6e0719783f | 40deb3969c696a675c9d4a7984453af819071263 | refs/heads/master | 2023-06-03T20:54:09.220201 | 2021-06-25T08:52:35 | 2021-06-25T08:52:35 | 255,087,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<string>
using namespace std;
void elimDups(vector<string>& s){
sort(s.begin(),s.end());
auto new_pos = unique(s.begin(),s.end());
s.erase(new_pos,s.end());
}
void bigger(vector<string>& words,vector<string>::size_type sz){ //保存任意string对象或vecto... | [
"z15129030062@outlook.com"
] | z15129030062@outlook.com |
10599a9613cd06f5fdc9b8137f5310035cdf5dca | 0e51799b62616b9575ef832524bac3816a81087f | /MFCApplication2/Teacher_Information.h | e19ad59568126ee3cd8c3e1b998710357c1548ba | [] | no_license | Guohailin5/teachingMaterial | 001101ce7f43f2236a15ecbcac11548f966fd8ba | 431cd5cdbb0bc199c6270b8ed99579fb429ce711 | refs/heads/master | 2023-07-18T01:32:10.577323 | 2021-09-02T15:17:10 | 2021-09-02T15:17:10 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 872 | h | #pragma once
// CTeacher_Information 对话框
class CTeacher_Information : public CDialogEx
{
DECLARE_DYNAMIC(CTeacher_Information)
public:
CTeacher_Information(CWnd* pParent = NULL); // 标准构造函数
virtual ~CTeacher_Information();
// 对话框数据
enum { IDD = IDD_Teacher_Information };
protected:
virtual ... | [
"lizhenglong18g@ict.ac.cn"
] | lizhenglong18g@ict.ac.cn |
c5df6aad4c558ea44d50033f386cb24994c159b1 | 5390eac0ac54d2c3c1c664ae525881fa988e2cf9 | /include/Pothos/serialization/impl/mpl/count_fwd.hpp | d8fa6f235a0a6e8c2b079bdaaa8976866cb99fa2 | [
"BSL-1.0"
] | permissive | pothosware/pothos-serialization | 2935b8ab1fe51299a6beba2a3e11611928186849 | c59130f916a3e5b833a32ba415063f9cb306a8dd | refs/heads/master | 2021-08-16T15:22:12.642058 | 2015-12-10T03:32:04 | 2015-12-10T03:32:04 | 19,961,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | hpp |
#ifndef POTHOS_MPL_COUNT_FWD_HPP_INCLUDED
#define POTHOS_MPL_COUNT_FWD_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/li... | [
"josh@joshknows.com"
] | josh@joshknows.com |
23c098b961a399c2bcf523f5f3a1dabe0bb1464f | a3e311b90734a9d3f664255e5248fe14d0a8cef6 | /SOURCE_FILES_SECONDARY/Source/MainComponent.h | af320351f701d16d57704868d165891a4bf420df | [
"MIT"
] | permissive | webrtcman/SPAI_project_2019_group1 | 0f5d09b968e25288260f9e83a7c07ca8a3d5df64 | 8ab8d841b984ff7bd5ab344601e0ed567bb93ef9 | refs/heads/master | 2022-03-27T02:24:29.163746 | 2019-12-13T18:54:08 | 2019-12-13T18:54:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | h | /*
==============================================================================
This file was auto-generated!
==============================================================================
*/
#define BUFFERSIZE 512
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
//===================... | [
"noreply@github.com"
] | webrtcman.noreply@github.com |
79b76359be3f7eddba36e88e0ba7bfb2072be2d3 | c2915484a4fe848b9bfee6bfb65f824993dde59b | /Case_super_save/Case0/Case/case5/1000/phi | 61219411386819f3d6e1f5306296eb7acde4d76a | [] | no_license | mamitsu2/aircond5_play3 | 835b937da2d60771b8a7b81e13631a8a1271e8f4 | 8eee217855014d562013e0dbe0024208a4633db3 | refs/heads/master | 2020-05-24T21:54:50.022678 | 2019-05-19T13:31:37 | 2019-05-19T13:31:37 | 187,480,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,617 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
d33abd4fdd8c502268906826bccd822ceb01b324 | 2f4cbdca91b2f722bfc06cdfe69b6bd3d32d2ec7 | /shared/ebm_native/compute/loss_functions/CrossEntropyMulticlassMultitaskLoss.hpp | d1b48b84dfd298f4a8adf63395d07a2175b8260c | [
"MIT"
] | permissive | yuan776/interpret | 3307f31c9a26411d3115ca1af15ef4b244fd2213 | ba6ba620936d3c0d21d66418b6d8e3a2834e265a | refs/heads/master | 2021-11-26T13:41:25.795641 | 2021-09-23T19:14:41 | 2021-09-23T19:18:06 | 189,302,159 | 1 | 0 | null | 2019-05-29T21:33:17 | 2019-05-29T21:33:17 | null | UTF-8 | C++ | false | false | 3,648 | hpp | // Copyright (c) 2018 Microsoft Corporation
// Licensed under the MIT license.
// Author: Paul Koch <code@koch.ninja>
// !! To add a new loss/objective function in C++ follow the steps at the top of the "loss_registrations.hpp" file !!
#include "Loss.hpp"
// TFloat could be double, float, or some SIMD intrinsic type... | [
"code@koch.ninja"
] | code@koch.ninja |
00ee476fa637864a54198684734710908ec47f9e | 9403b44405b5c335fb936f86b26ca6ed96213349 | /IkhWinLib2/stdafx.h | b202fed1e9754be01eb407c47d3c82e18f6cc686 | [
"BSD-2-Clause"
] | permissive | dlarudgus20/IkhWinLib2 | 72bb88dd2dd61e470013dd2e84b9398fd5f21b8b | cd973dd7806bc6bf66af0a38a8eeada0e0b5d708 | refs/heads/master | 2020-05-24T22:40:48.484799 | 2016-07-16T04:50:12 | 2016-07-16T04:50:12 | 22,029,909 | 0 | 0 | null | 2016-07-16T04:50:12 | 2014-07-20T09:19:04 | C++ | WINDOWS-1252 | C++ | false | false | 2,768 | h | // Copyright (c) 2014, ÀÓ°æÇö
// 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 conditions and ... | [
"dlarudgus20@naver.com"
] | dlarudgus20@naver.com |
182b8b85e78e45616dfbf58e2ede382040cb3775 | f3505ab28b6f22ace24275107aaf03ad5fefa67c | /Baekjoon/2178.cpp | 0394b3c972e0aea65f98e3a210d856a6b94190fe | [] | no_license | ziwonii24/Algorithm | 4a1529e4d2bcf4dd4d62dc97826e69e03e7018de | c5ac26f7c46ba7a9cf0659a341a182d185281c76 | refs/heads/master | 2023-02-04T16:29:51.891351 | 2023-02-03T04:32:13 | 2023-02-03T04:32:13 | 162,897,668 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <algorithm>
#include <queue>
using namespace std;
int n, m;
int a[100][100];
int dist[100][100];
int dx[] = { 0,0,1,-1 };
int dy[] = { 1,-1,0,0 };
void bfs(int x, int y) {
queue<pair<int, int>> q;
q.push(make_pair(x, y));
dist[x][y] = 1;
while (!q.empty(... | [
"noreply@github.com"
] | ziwonii24.noreply@github.com |
d662d4a60592e18b9ec4f654dba55964df18d8b0 | 5337b7d7b30174839cac0a0c110b597b2b65837f | /eclTestTree/src/eclTestTree.cc | 026fef30daedd2b4bc26ec009162f614c4471233 | [] | no_license | VitalyVorobyev/ECLSoft | fb56294913d8470e8bd9f570df1bad626cbb5313 | c3bc8cd42be2161d713c488deadd8b3d78471906 | refs/heads/master | 2021-01-10T15:23:22.814547 | 2016-02-05T03:11:45 | 2016-02-05T03:11:45 | 51,013,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,515 | cc | #include </home/usr/vitaly/basf2/release/ecl/modules/eclTestTree/include/eclTestTreeModule.h>
using namespace std;
using namespace Belle2;
using namespace ECL;
REG_MODULE(ECLTestTree)
MODULENAME::MODULENAME() : HistoModule(){
// string default_ROOTFile = string("input.root");
// string default_m_ecl_tree_file = st... | [
"vit.vorobiev@gmail.com"
] | vit.vorobiev@gmail.com |
31bc2aad7c3b625246607b5e49b760b254df03c9 | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /ash/events/select_to_speak_event_handler.h | b194e4b53f7a42b4d574c05944dbbc86f0dc9d84 | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 4,254 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_EVENTS_SELECT_TO_SPEAK_EVENT_HANDLER_H_
#define ASH_EVENTS_SELECT_TO_SPEAK_EVENT_HANDLER_H_
#include "ash/ash_export.h"
#include "base/macros... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2ded29a38d196a6186a22fe5ccbc84cb1ff0ce53 | 3841f7991232e02c850b7e2ff6e02712e9128b17 | /小浪底泥沙三维/EV_Xld/jni/src/EV_RTShaderSystem_CSharp/wrapper/shaderscripttranslator_wrapper.cpp | 7fe10af89f24f9ec81e24c32e202e959e32fe527 | [] | no_license | 15831944/BeijingEVProjects | 62bf734f1cb0a8be6fed42cf6b207f9dbdf99e71 | 3b5fa4c4889557008529958fc7cb51927259f66e | refs/heads/master | 2021-07-22T14:12:15.106616 | 2017-10-15T11:33:06 | 2017-10-15T11:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,767 | cpp | /* This file is produced by the P/Invoke AutoWrapper Utility
Copyright (c) 2012 by EarthView Image Inc */
#include "rtshadersystem/shaderscripttranslator.h"
namespace EarthView
{
namespace World
{
namespace Graphic
{
namespace RTShaderSystem
{
typedef EarthView::World::Graphic::RTShaderSystem::CSubRen... | [
"yanguanqi@aliyun.com"
] | yanguanqi@aliyun.com |
f2f533ca8f42a8f920d9cee971535b630175b820 | 4347fe4a30736064400bc37c7e3ca216f0056ede | /KMeans.cpp | 42aa4d144b914507dc7b9b091a0f0d8c27d6c56f | [] | no_license | kangrace/ucd-csci2312-pa3 | c4cc129b75fd7cf4da29d16299819b73450fd486 | 6092e11ce839462f6e8faa0372fa2d7e5e5e0233 | refs/heads/master | 2020-05-29T11:50:13.414959 | 2016-03-31T05:20:31 | 2016-03-31T05:20:31 | 54,671,135 | 0 | 0 | null | 2016-03-24T20:12:44 | 2016-03-24T20:12:44 | null | UTF-8 | C++ | false | false | 4,527 | cpp | #include <iostream>
#include <fstream>
#include <cassert>
#include <limits>
#include "KMeans.h"
#include "Exceptions.h"
namespace Clustering
{
// constructor
KMeans::KMeans(unsigned int dim, unsigned int k, std::string filename, unsigned int maxIter)
{
__dimensionality = dim;
__numIter = 0;
... | [
"hn1048114"
] | hn1048114 |
85ad4a2149f1aaa795eb55ccc883a59090d39731 | f9ba2377d763d89d88c46232e579ab6c17e13a85 | /asterisk-cpp/src/manager/events/QueueMemberPenaltyEvent.cpp | 3297567d3ff33f67cf144e613e2f79c85885fc9d | [] | no_license | longst/asterisk-cpp | eeabd7133670a3f654ee18f4c2ccf84e9758ebe6 | 09d52e94c7a27eb8f0245b8eb954d281fe1185fa | refs/heads/master | 2021-01-15T17:51:03.015591 | 2012-05-29T03:54:34 | 2012-05-29T03:54:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | /*
* QueueMemberPenaltyEvent.cpp
*
* Created on: Apr 26, 2012
* Author: augcampos
*/
#include "asteriskcpp/manager/events/QueueMemberPenaltyEvent.h"
namespace asteriskcpp {
QueueMemberPenaltyEvent::QueueMemberPenaltyEvent(const std::string & values) :
ManagerEvent(values) {
}
QueueMemberPenaltyEven... | [
"a-campos@critical-links.com"
] | a-campos@critical-links.com |
c233f9b3f82370785d27a0287c72f1647bef36b7 | b5eea81d0e327d2f3ff56e0524b4a83177e9892c | /src/Random123-1.09/examples/ut_uniform_IEEEkat.cpp | f7d9cf71383d62726a4903cefbc45e1eb28643c0 | [] | permissive | stivalaa/EstimNetDirected | 6aee897f46a9053c94fa68c6a5f2373207309cdc | 02bd72ed785504566b587f2e253ca50bc7a81522 | refs/heads/master | 2023-06-22T01:12:24.143697 | 2023-06-13T04:15:30 | 2023-06-13T04:15:30 | 136,553,741 | 27 | 4 | MIT | 2021-03-29T01:39:23 | 2018-06-08T02:10:28 | C | UTF-8 | C++ | false | false | 13,228 | cpp | /*
Copyright 2013, D. E. Shaw Research.
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 conditions, and the follow... | [
"alex.d.stivala@gmail.com"
] | alex.d.stivala@gmail.com |
09ed951fdfba5b7ae5ec4aab302c93ffef490b3f | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/17/489.c | 7d7a569eeecc5cf27bfebd64eb92345f928f59f4 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | c |
int main()
{
char a[101] = {'\0'}, b[101] = {'\0'};
int i, j;
while (cin.getline(a, 101))
{
for (i = 0;i < 101; i++)
{
if (a[i] == '\0')
break;
if (a[i] == '(')
b[i] = '$';
else if (a[i] == ')')
b[i] = '?';
else
b[i] = ' ';
if (a[i] == ')')
{
for (j = i;... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
b997f39b6cd3134679caa95d057151ee61880840 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restbed-server/generated/model/ComAdobeGraniteFragsImplRandomFeatureInfo.h | 8f41c42b1cd6ff33e9144249ea6a26491933896a | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 1,991 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
21e4e701c41771971bc2d61269e3f67e2d00cf5a | 27c917a12edbfd2dba4f6ce3b09aa2e3664d3bb1 | /Codechef/EVENPSUM.cpp | 509c413a9cc803c0dc9770ca4b2d22e52c377b8e | [] | no_license | Spetsnaz-Dev/CPP | 681ba9be0968400e00b5b2cb9b52713f947c66f8 | 88991e3b7164dd943c4c92784d6d98a3c9689653 | refs/heads/master | 2023-06-24T05:32:30.087866 | 2021-07-15T19:33:02 | 2021-07-15T19:33:02 | 193,662,717 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | #include "bits/stdc++.h"
using namespace std;
int main()
{
int t;cin>>t;
while (t--)
{
long a, b;
cin>>a>>b;
if(a == 1 and b == 1){
cout<<"1\n";
}
else{
long even_a, even_b, odd_a, odd_b;
even_a = a/2;
eve... | [
"ravindrafk@gmail.com"
] | ravindrafk@gmail.com |
5cb11cb1c214c3a63cde917c65f503bc664cbf93 | 8aa47dd44e58164a90597bebcd99e9ded6430e5e | /Phase 2 misc Files/InstructionsTest/GET_STR_CHAR.h | b47eb6515b7a2dfed97b6a085361d788f6cd8bb1 | [] | no_license | froyvalencia/Machine_Instruction_Simulator_VM | 338d5c227f2c0608dca3d067127c329119297f6b | dfc9652d6ea049f8b2eedae12a54f85278f8c750 | refs/heads/master | 2021-05-01T18:46:11.387135 | 2016-12-12T23:22:54 | 2016-12-12T23:22:54 | 71,618,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | /*@params 3
1: String variable
2. Variable or constant representing an index.
3: A variable character or constant character
@description
Store the character at the index equivalent to parameter 2 into the third parameters.
*/
#ifndef GET_STR_CHAR_H
#define GET_STR_CHAR_H
#include "Instruct... | [
"froyvalencia@gmail.com"
] | froyvalencia@gmail.com |
40aed224b07293864e2e2f3261730d7191fdcf14 | 81537fcee5d27df1b219644f61008717697862d3 | /Atomcoin/src/main.cpp | 3220215b5620376149b245815882a3dccdd2dd00 | [
"MIT"
] | permissive | atomcoindev/develop | 5914905b567d5d01a5a39513022a2591819ab509 | 81d4e4ac281181704448907cfc4cf76bc9ded487 | refs/heads/master | 2020-05-19T12:57:47.971020 | 2015-03-06T01:42:32 | 2015-03-06T01:42:32 | 31,570,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172,565 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "txdb.h"
#inc... | [
"groundrockgarden@gmail.com"
] | groundrockgarden@gmail.com |
c438c2d94b4fad888d1390e2ec3212fd703ff96e | 7e95cafe33f8cf0513ac68bd22939769956aa6c5 | /game life/game_board.cpp | 6913c4b9cfbd7a61d918de030ed546f9784a9e99 | [] | no_license | polinaence/Popova_19202 | 8bdeffb3fb9c323d195b55c042da2593839f218d | 95a56ea5a5d22f8198f9e36883e2d29b4f808ec8 | refs/heads/master | 2023-02-19T22:25:30.019202 | 2021-01-19T08:20:30 | 2021-01-19T08:20:30 | 300,013,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,095 | cpp | #include "game_board.h"
using namespace std;
bool compare_matrix(char** m1, char** m2) {
for ( size_t i = 0; i < HEIGHT; i++){
for ( size_t j = 0 ;j < WIDTH; j++){
if (m1[i][j] != m2[i][j]) return false;
}
}
return true;
}
void reassign_boards(char** m1, char** m... | [
"noreply@github.com"
] | polinaence.noreply@github.com |
cbf992b5f373c09902761489e561f5f6f6098d10 | 721327658845b210a713ec792f89e91d20c2be71 | /cpp/DSA/linkedList.cpp | 90167010cdbe62a54f5cb06dbbd931d61c509cb5 | [] | no_license | farhasalim/hacktoberfest2021-1 | 0cf8dd70c8cb20af5c04eed17648d099e94a6969 | 2ce52fec5cbe121540e42bbf1afdfce6aa103d82 | refs/heads/main | 2023-08-29T23:44:52.532798 | 2021-10-29T18:47:30 | 2021-10-29T18:47:30 | 422,679,701 | 0 | 0 | null | 2021-10-29T18:47:31 | 2021-10-29T18:40:50 | C++ | UTF-8 | C++ | false | false | 3,058 | cpp |
//In this file I have attached the implementaion of Node of linked list with all the basic operations such as search, insert, delete.
//similar files will be uploaded for other data structures.
//class Node
class Node
{
public:
int data;
Node *next;
Node(int data)
{
this->data = data;
this->next... | [
"noreply@github.com"
] | farhasalim.noreply@github.com |
f2755a34b5e53b60f77df1f5b775e65ee9eb0756 | cf6b7a4ae1d76b420503c82b0a260e686b2fa9bc | /PedreraMaster/src/Scenes/SceneComponents/BlurEffect.cpp | 73a87dc1f3a23b02ef66f1bc8a5a6928067b636e | [] | no_license | xavibove/MovimentsGranados | 788bb365f4ad60aefcad40c039ba32d86a8f7fc3 | 15780bdad94e5c63dd8b34558f8db92de3ed9aa2 | refs/heads/master | 2020-12-11T02:00:10.406408 | 2016-02-12T12:09:34 | 2016-02-12T12:09:34 | 48,550,055 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,171 | cpp | //
// BlurEffect.cpp
// PedreraMaster
//
// Created by nacho on 14/01/16.
//
//
#include "BlurEffect.h"
BlurEffect::BlurEffect() {
initialized = false;
}
void BlurEffect::setup(float w, float h, int mode) {
firstPass.allocate(w,h);
firstPass.begin();
ofClear(0, 0, 0, 0);
firstPass.e... | [
"info@nachocossio.com"
] | info@nachocossio.com |
c3a2ae947805fd89c8660ac8b91deede048c2682 | 07aba1ad230eddd2f9691412b756652853cc8039 | /GlkDll/GlkSound.cpp | f119baa77da060ade592a6c3269564c7da009f6d | [
"Glulxe",
"MIT"
] | permissive | DavidKinder/Windows-Glk | daff0f6ab715f8762e210c3397638571c121cacf | 97aa9604c5a5b2952bbde496bb227fe4d6790265 | refs/heads/master | 2023-05-11T04:47:20.209396 | 2023-04-29T06:31:47 | 2023-04-29T06:31:47 | 1,011,353 | 4 | 3 | null | 2016-08-12T11:40:06 | 2010-10-21T06:04:35 | C++ | UTF-8 | C++ | false | false | 3,226 | cpp | /////////////////////////////////////////////////////////////////////////////
//
// Windows MFC Glk Libraries
//
// GlkSound
// Glk sound objects
//
/////////////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "GlkSoundAIFF.h"
#include "GlkSoundMOD.h"
#include ... | [
"david.kinder@david.kinder"
] | david.kinder@david.kinder |
2f69ef20fc531d4800bd2b8276c4144b7c14c2e2 | 7d211617a1d20db4eac5e3f6e9b090786f22af29 | /include/comstl/shims/access/string/GUID.hpp | 710e8a816d3aca059c91e6ef4532a4468fcb9294 | [
"BSD-2-Clause"
] | permissive | synesissoftware/STLSoft-1.10-delta | b3f3f6f9b26527b9ea5a7e92b8ebfbdf381153fb | 926617f5a3468d36861eadfbdc65823f77a90e62 | refs/heads/master | 2021-01-15T15:49:31.532263 | 2019-04-16T03:01:32 | 2019-04-16T03:01:32 | 42,432,619 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,900 | hpp | /* /////////////////////////////////////////////////////////////////////////
* File: comstl/shims/access/string/GUID.hpp
*
* Purpose: Definition of the string access shims for the GUID type.
*
* Created: 24th May 2002
* Updated: 24th July 2012
*
* Home: http://stlsoft.org/
*
* Copyri... | [
"matthew@synesis.com.au"
] | matthew@synesis.com.au |
dc71faa1c6b322fc142a129c939ab2166d771bf4 | 28602cb4b03a7b9d27463d6de05aaa3ff55a0e84 | /tests/examples/td_level_example.cpp | 979cb88f1f5b7d073a8c78d6f5c512baad998718 | [] | no_license | zhiltsov-max/tower-defense | c34f5a0c0edb335c343ab42bdd71b23567ac44af | c94d5dc8de32a0ac618877964d3f020e8fd6f8f1 | refs/heads/master | 2020-05-21T23:44:35.968388 | 2018-05-31T12:47:50 | 2018-05-31T12:47:50 | 52,546,090 | 1 | 0 | null | 2018-05-31T12:47:51 | 2016-02-25T18:09:35 | C++ | UTF-8 | C++ | false | false | 3,569 | cpp | #include "Game/Level/level.h"
#include "GameEngine/game_engine.h"
using namespace TD;
enum class GE::ComponentSystem : GE::TComponentSystemTypeId {
_min = 0,
Custom = _min,
_max,
_count = _max - _min,
_undefined
};
enum class GE::ComponentIDs : GE::TComponentID {
_min = 0,
CustomCom... | [
"zhiltsov.max35@gmail.com"
] | zhiltsov.max35@gmail.com |
358a0665510c58fbdde1fbad52e4fbb0ea0f702d | 91be8cd72eabfd8924489a4ff540cbdc6d512305 | /C++_STL/graph55478.cpp | c47fde6f81d91557eb228527e75557023c17fdb2 | [] | no_license | souravdas142/cppfiles | 3ec2afc1a94ad59c69aacf279e70f5ba909e3a1b | b6727e89117ae13a38818e09741a7469bc6e6c21 | refs/heads/master | 2021-01-18T19:04:31.150629 | 2020-03-06T09:35:52 | 2020-03-06T09:35:52 | 86,886,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<map>
template <typename _Tname>
class edgeWeight{
_Tname node;
int weight;
public:
edgeWeight(_Tname nde):node(nde){cout<<"Enter Weight : ";cin>>weight;}
_Tname Edge(){
return node;
}
int Weight(){
return weight;
}
friend ostream& operator ... | [
"souravdas142@gmail.com"
] | souravdas142@gmail.com |
14b163ea03a51645b729ff9e6ac2e773a6d3c62d | d09d4f7b23159b80fc6e388ed9850e66344b4006 | /Comida.h | a3e1262b666b70ed2ae86c358ca72715099a3052 | [] | no_license | ulmo369/Emili0 | fb96969183d8e33897dab75bb802b7915fdb1353 | 94ba78d8f9889a664d4e72da8cf102e8d62e5828 | refs/heads/master | 2022-12-22T17:31:05.085306 | 2020-09-30T05:06:29 | 2020-09-30T05:06:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,286 | h | #ifndef COMIDA_H
#define COMIDA_H
#include<iostream> //para imprimir.
using namespace std; //para no utilizar nuevamete std
class Comida{ //Primera clase, la de la comida
private://Atributos
int entrada;
int bebida; //herencia
int postre;
public:... | [
"a01366802@itesm.mx"
] | a01366802@itesm.mx |
76a5fc0c1e95e18ad46af7cab69e61d76ce372a2 | 06b0588bb2d27463840bfa97dade682a7e5e3259 | /N2.cpp | 334bf8eb07ee6113a54c00a0b1ac81206c6b0d86 | [] | no_license | Karodips/Laba20 | 27bc9f4dabd44bab5aec9b509318796e1f3d2675 | 2879c6932433ca29e1463427edd9a46b783010ed | refs/heads/master | 2020-11-28T19:58:03.352914 | 2019-12-24T09:05:41 | 2019-12-24T09:05:41 | 229,908,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
setlocale(0, "");
string s;
int size;
cout << "Введите строку S: ";
cin >> s;
size = s.length();
cout << s[0];
for (int i = 1; i < size; i++)
{
cout << " " << s[i];
}
cout << endl;
system("pause");
return 0;
}
| [
"noreply@github.com"
] | Karodips.noreply@github.com |
3949bc75c42eb52291eaf31b592874fe94347dd9 | 059d13adb54bd33703aac40cce9a1f386e9e94d0 | /build/VS2010/SampleReports/source/MainFrm.h | 256e2692a24b12087b75d8504b4b3c6f669e9af4 | [] | no_license | AndyDentFree/oofile | 9e5bf44fc927db891f8faabbf05ab3167778ec48 | c30de14a25c4e41f2908d4f71ca51c46d109cc89 | refs/heads/master | 2020-04-06T04:03:50.487740 | 2012-03-20T06:01:42 | 2012-03-20T06:01:42 | 33,068,851 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | h | // MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
// Attributes
public:
// Operations
public:
... | [
"andydent@898d1ada-903c-0410-a01c-f996db32a1ea"
] | andydent@898d1ada-903c-0410-a01c-f996db32a1ea |
1db77f571fe38c1909c2e01e9857fbc27ca978d6 | 63926f6bc3dd5b3573d4e22c7d5ac0bc1a5e253c | /Plugins/ThumbnailGenerator/Source/ThumbnailGenerator/Private/ThumbnailGeneratorModule.cpp | bff96da84a34b5ffee737d298565cadb182b3d10 | [] | no_license | chaiyuntian/MPlugins | 8c024cf3cb815614aa4c5eaf7d6d1e0f5af9eb6b | 9050f15e0ac92657dbf63b403d873e87485892d2 | refs/heads/main | 2023-01-10T23:07:38.428583 | 2020-11-10T04:02:52 | 2020-11-10T04:02:52 | 309,244,097 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | // Mans Isaksson 2020
#include "ThumbnailGeneratorModule.h"
DEFINE_LOG_CATEGORY(LogThumbnailGenerator);
#if WITH_EDITOR
FThumbnailGeneratorModule::FOnSaveThumbnail FThumbnailGeneratorModule::OnSaveThumbnail;
#endif
void FThumbnailGeneratorModule::StartupModule()
{
}
void FThumbnailGeneratorModule::ShutdownModule()... | [
"tianyunchai@126.com"
] | tianyunchai@126.com |
51a994a97e656a087359566d88facc056b3f2068 | d9142bdff80cad8a1bf5a138f55c442a04e2674d | /1219.cpp | a38c3800340ccd26160fafa886b1c5bd04df50f1 | [] | no_license | epicurean21/Algorithm | 280a84d5f73db7787eb2589a3a37901983496691 | d5fa2f0318d45bdd17c5ccda9e72468b4711100c | refs/heads/master | 2023-07-22T05:30:47.982546 | 2023-07-09T06:22:09 | 2023-07-09T06:22:09 | 199,615,976 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,860 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <algorithm>
using namespace std;
#define ll long long
#define MAX 101
#define INF 999999999
int N, M, S, E;
int cost[MAX], been[MAX], gv[MAX];
ll dist[MAX];
vector<vector<pair<int, int>>> map(MAX);
void reset() {
for (int i = 0; i < MAX; i++)
... | [
"jm_company@naver.com"
] | jm_company@naver.com |
97b2caf57bd204e4f04a6093f471d40e3e005cc2 | 338f6582c941c16296f8c0e152b022357326f751 | /6/6.25/2.24/CLPhoneBookFeatures.h | eef9bafffe713ddd1510d55ab9b8b9e36976abca | [] | no_license | lucheng2/develop_course_LiLin | 18e701acdb7ee3c1ed3ab322912c955f2c0a6719 | 936b69f62c767dbce1dc44c4a0173abcac459c2b | refs/heads/master | 2022-12-15T13:13:55.396236 | 2020-09-14T09:18:40 | 2020-09-14T09:18:40 | 295,360,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #ifndef CLPhoneBookFeatures_H
#define CLPhoneBookFeatures_H
class CLPhoneBook;
class CLPhoneBookFeatures
{
public:
explicit CLPhoneBookFeatures(CLPhoneBook *pPhoneBook);
virtual ~CLPhoneBookFeatures();
bool AddPhoneInfo();
void DisplayDefaultFile();
void Usage();
bool SavePhoneInfo();
bool ImportPhoneBook... | [
"2854859592@qq.com"
] | 2854859592@qq.com |
45b3b4b39113b2023a80bd60b970a0222053a9dc | 5ff688aed802ac498d7280ccfceb65c82a05bfab | /src/fyslib/xsocketutils.cpp | b7ae2fb09ddf7c8fc8afc0c6c6aa6e30c5877a49 | [] | no_license | truexf/fys | 07a1cb113b98f8f1dfcd79b1bf85d46bdaf39ccf | 7039f78522a34d7217e51dabc346860861bce341 | refs/heads/master | 2021-01-10T01:57:52.919566 | 2017-10-23T07:05:17 | 2017-10-23T07:05:17 | 43,857,144 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,558 | cpp | /*
* xsocketutils.cpp
*
* Created on: Sep 27, 2017
* Author: root
*/
#include "xsocketutils.hpp"
#include "errno.h"
#include <vector>
#include <string>
using std::string;
using std::vector;
int SetSocketNonblock(int fd)
{
int flag = fcntl(fd, F_GETFL, 0);
flag |= O_NONBLOCK;
return fcntl(fd, F_... | [
"fangyousong@qq.com"
] | fangyousong@qq.com |
c8403e1494a14e3ef9d202e897848c76a5450066 | 9dfdd21039040ac00b066271ae6638a78c180e4f | /Arrays/twoDup.cpp | 1e503ae437467a03205d5598555fe9ee5fe04f99 | [] | no_license | elemaryo/DataStructures-Algorithms | da0f08183d659077fdd263e1c3326c1a566ad518 | 7387d1649cba557ffa487efcb12fc19a4b6e3bd6 | refs/heads/master | 2020-09-12T20:48:48.565367 | 2018-11-28T01:33:44 | 2018-11-28T01:33:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | class Solution {
public:
vector<int> findDuplicates(vector<int>& nums) {
vector<int> result;
for(int i=0;i<nums.size();i++){
if(nums[abs(nums[i]) - 1] < 0)
result.push_back(abs(nums[i]));
else
nums[abs(nums[i]) - ... | [
"danieljab7@gmail.com"
] | danieljab7@gmail.com |
7f760a91a8d9baa3bac1ffdaa13e52d0c3048209 | 935fa4f586f4990b506a693dff8945d2b7f9c677 | /afl/io/filesystem.cpp | c20da2d2511a789899d283e02c05c78a1976d5bd | [] | no_license | stefanreuther/afl | 8e96be19a502463cdb72b42b6042cdd6869ecf0b | 35d2eb7c6be1a3aebfdf1ce046e6e1310dc7caf8 | refs/heads/master | 2023-07-20T11:12:27.849160 | 2023-05-07T11:03:03 | 2023-05-07T11:03:03 | 69,809,604 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | /**
* \file afl/io/filesystem.cpp
* \brief Class afl::io::FileSystem
*/
#include "afl/io/filesystem.hpp"
#include "arch/filesystem.hpp"
#include "afl/except/fileproblemexception.hpp"
afl::io::FileSystem&
afl::io::FileSystem::getInstance()
{
static FileSystem_t instance;
return instance;
}
// Open a f... | [
"streu@gmx.de"
] | streu@gmx.de |
3dd15b6d335c7be5e08302ad7b1f959c68edccdb | b54ae21d3a4727ddde73e938b93d2882b4ffffd2 | /cpp/Num_lineup16_Unit1.cpp | fc1c554aaba2b5ce134bcfaee3131de62d7ba1ea | [] | no_license | kazinoue/SlidePuzzle | 7f967e08a761afa08b9144ffafe58061b2c81dcd | 94298704d10afc6b153bd395af00f412a78f6213 | refs/heads/master | 2020-12-15T22:16:59.304123 | 2020-01-21T06:24:57 | 2020-01-21T06:24:57 | 235,269,968 | 0 | 0 | null | 2020-01-21T06:20:08 | 2020-01-21T06:20:07 | null | SHIFT_JIS | C++ | false | false | 17,360 | cpp | // ---------------------------------------------------------------------------
#include <fmx.h>
#pragma hdrstop
#include "Num_lineup16_Unit1.h"
#include "TilesVersionUnit2.h"
// ---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.fmx"
T... | [
"noreply@github.com"
] | kazinoue.noreply@github.com |
e7e76f7e72845331372126e7f64fd90d3781b4d4 | dd3281b305e87ee1866a15f882ad8b044f5cb4bc | /4.cpp | 443ed345595fb43e80949b72ef20df4b953063f5 | [] | no_license | Sobaka417/EilerProject | d7a7beee239433b90261b22770c19a4392717691 | 8f0603a0c2baa81a5a685aa6fd92567f19b08320 | refs/heads/master | 2023-03-03T00:55:22.870650 | 2021-02-01T15:14:14 | 2021-02-01T15:14:14 | 334,976,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | cpp | //lets du a trick
//pldrm = first_num * second_num = (10^n-x)*(10^n-y) where n=digits count, x,y int and we want keep is small as possible for finding largest pldrm
//also pldrm = "10^n — (x+y)"left + "xy"right
// some simple algebra and we get quadratic equation where z=x+y
//x^2 - zx + right = 0
//notice: its work o... | [
"suspensiaofdeath@gmail.com"
] | suspensiaofdeath@gmail.com |
6f975316d19a08a348a839387e6a1bea8b3c2727 | d262ff1e89bdaf45c4821bfcdf159d7dfa79225a | /txc2.cc | f3ab5a27053163bb4ae863b4e0c79badc7ce8c21 | [] | no_license | hanghoo/OMNeT-tictoc | 6df3a68116f3a8dfd4b91ec6428269389a575553 | 95eb8c26bb9ae388524735a7f43ccbc6ec2d064f | refs/heads/main | 2023-01-01T04:52:35.420205 | 2020-10-26T03:07:41 | 2020-10-26T03:07:41 | 304,793,392 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | cc | //
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Copyright (C) 2003 Ahmet Sekercioglu
// Copyright (C) 2003-2015 Andras Varga
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//
#include <string.h>
#include <omn... | [
"noreply@github.com"
] | hanghoo.noreply@github.com |
1c8ef18a32683be8dbb36077b9a4e802ede1d51e | bb90f3f1f07378ec39f447d64d1b23972a134caa | /EXERC. PARA ENTREGA 03/LAB/10 EXERCICIO 10 - exemplo com matrizes -Notas.cpp | 68fec40fcee8b898316b32104acb67373dbbe8c4 | [] | no_license | TannyPond/ETEC_DRC_1Sem_LP | 29054d8f1e9ef726ad22e8ed0716decfa8db65a4 | 85ff84dd6d0cca338091b3dc7e007aaa436ebdb8 | refs/heads/master | 2020-04-17T04:10:52.575688 | 2019-01-17T11:58:17 | 2019-01-17T11:58:17 | 166,217,678 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,175 | cpp | #include <iostream>
#include <iomanip> //manipulação de tela
#include <cctype> //utilização de caracteres
#include <windows.h>
using namespace std;
int main()
{
float nota[5][4]; // matriz linhaXcoluna
int i, j;
char letra;
cout <<"Leitura e apresentação de notas" <<endl <<endl;
//Entrada de V... | [
"noreply@github.com"
] | TannyPond.noreply@github.com |
df9ccebb80a59ac94c32fb2f621f7cec234a8932 | e648aecf31f4d82ff6779d0b53fcebbc43af0122 | /poer of two integrs.cpp | 603e8edbc9dc1bc9eaa8b6779bc399e07e877da7 | [] | no_license | sunilnarwaria/Data-structure-and-algorithm---Maths | e2fbe1721d0282893c90ebebda0bbcca31234932 | 70c3cab22b975c6a66fb703b4479eaa087146a08 | refs/heads/main | 2023-03-17T23:24:54.575333 | 2021-03-14T14:26:46 | 2021-03-14T14:26:46 | 345,852,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | // interviewbit
int Solution::isPower(int n) {
//for(int i =2;i<=9;i++){
if(n<2) return 1;
for(int i =2;i<=sqrt(n);i++){
// if(floor((log(n)/log(i))) == ceil((log(n)/log(i))) ){
int val = log(n) / log(i);
if( pow(i,val) == n) return true;
}... | [
"noreply@github.com"
] | sunilnarwaria.noreply@github.com |
08eb141396b4db4db35e1925b63f92a640bf8921 | b003062fd3f8716b14f8c6a1f1f82e88167a1f7a | /surse/prob53.cpp | 99b019e4d9a80d985a605d48822ffd7f7772502f | [] | no_license | adrgs/oopquiz | cbc297fbb3f286e9baf8d6f0e5a12f0ceb92455d | ca734f9d932a390f00c23703ab09d79c18ead6a9 | refs/heads/master | 2020-12-23T15:56:14.957425 | 2020-01-31T17:41:50 | 2020-01-31T17:41:50 | 237,197,399 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include <iostream>
using namespace std;
class cls
{ int x;
public: cls(int i) { x=i; }
int set_x(int i) { int y=x; x=i; return y; }
int get_x(){ return x; } };
int main()
{ cls *p=new cls[10];
int i=0;
for(;i<10;i++) p[i].set_x(i);
for(i=0;i<10;i++) cout<<p[i].get_x();
return 0;
} | [
"albastroiudragos@gmail.com"
] | albastroiudragos@gmail.com |
2194c57df537f5d59357fc8c7f21bd166825458c | b2263008c8d6159b3a2253ec237eb7dc71e2e4b2 | /experiments/vulkan_test/test/main.cpp | b77872c808eeb4290637fd7ea641e17a22cf0655 | [] | no_license | mckelley3v/BlackBox | 32daa66cbccd2b47577854b887bf51af8a5bbab9 | 005339363962347c6aa484403db04c08fe0469c7 | refs/heads/master | 2021-01-23T14:03:45.035245 | 2017-08-27T19:26:21 | 2017-08-27T19:26:21 | 23,777,405 | 0 | 0 | null | 2014-11-06T16:20:07 | 2014-09-08T02:51:51 | C++ | UTF-8 | C++ | false | false | 10,878 | cpp | #include "m1/game_platform.hpp"
#include "vku.hpp"
#include "vkuSurface_m1.hpp"
#include <vector>
#include <iostream>
// ====================================================================================================================
namespace vku
{
// =========================================================... | [
"mckelley3v@gmail.com"
] | mckelley3v@gmail.com |
b5aa3cb3ea27e61d45b1c5edf503dc8a37d91390 | 76773c6801e038d816af700d158fb2749f6d39ad | /tensorflow/compiler/xla/python/local_client.cc | eb8be01217636a11f346b917d93333875b3a1f83 | [
"Apache-2.0"
] | permissive | zhizunbao-y/tensorflow | 56c4fe47e7e009c394babbc3944aaeddacbbda28 | 005057072380c8e14a17d76b5d8d3762bb48cb72 | refs/heads/master | 2020-05-26T14:06:07.144221 | 2019-09-18T01:03:40 | 2019-09-18T01:03:40 | 188,258,290 | 2 | 1 | Apache-2.0 | 2019-09-18T00:59:10 | 2019-05-23T15:13:32 | C++ | UTF-8 | C++ | false | false | 41,328 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
d5aa10c6f79d530eac1f472f54859fba26ebcf9d | 04a286c67197d14da3640f3fd93364ab8df91f7d | /src/chrono/physics/ChLinkMotorLinearSpeed.cpp | e1c0ccc1b62702ff2c52b82195e7d00507b9e8dd | [
"BSD-3-Clause"
] | permissive | conlain-k/chrono | 52d946feb92a7f641a911278378e6e58fdee8203 | 34846a73919ec774161d7b66423fb4a6d25ee902 | refs/heads/develop | 2021-01-01T06:47:38.358248 | 2017-12-22T03:59:39 | 2017-12-22T03:59:39 | 65,229,734 | 1 | 0 | null | 2016-08-08T18:42:10 | 2016-08-08T18:42:10 | null | UTF-8 | C++ | false | false | 7,760 | cpp | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | [
"tasora@ied.unipr.it"
] | tasora@ied.unipr.it |
7df6aa6aa3e7888292d9322b22faeb076e19035f | b41b754056ceb100bc2fa67f0e58698b986aee6f | /adr7.cpp | 279c02bc0d8eb058167ea5fa23bbe6ad43d8aa64 | [] | no_license | adrirajdas/C-and-C-codes | 9f2012810df8e0b331e9c42a1d8515bbd63938b3 | 9bf1ddbdc49680c30408adee30d84da8fc043b68 | refs/heads/master | 2020-04-06T19:44:55.650870 | 2018-11-15T17:35:20 | 2018-11-15T17:35:20 | 157,748,227 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 372 | cpp | #include <stdio.h>
int main()
{
int base, exponent;
long long result = 1;
printf("Enter a base number: ");
scanf("%d", &base);
printf("Enter an exponent: ");
scanf("%d", &exponent);
while (exponent != 0)
{
result *= base;
--exponent;
}
prin... | [
"noreply@github.com"
] | adrirajdas.noreply@github.com |
76ff0f498e1a1ec0fdf183295ccf88efd711e65c | 2afcdd46cf0783d76b932ca87d9db21602a9361a | /Sim/Sim/Context.cpp | 68236e6d058e677fb38dbb3337dce0d609f46ef6 | [] | no_license | ezio3593/Passenger_sim | b17a6f92d2aadb658335c9c5da6eea07486bbbf1 | 9fdb1a5a294e696ee3227858b5f55af9fa57ee6d | refs/heads/master | 2021-01-02T08:47:44.634376 | 2014-06-08T00:27:42 | 2014-06-08T00:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,849 | cpp | #include "stdafx.h"
#include "Context.h"
Timer::Timer()
{
isSupported = QueryPerformanceFrequency(&frequency);
startTime = 0;
}
LONG64 Timer::getSysUptime()
{
if (isSupported)
{
LARGE_INTEGER time;
QueryPerformanceCounter(&time);
return (1000LL * time.QuadPart) / frequency.QuadPart;
} else retu... | [
"kostya3593@mail.ru"
] | kostya3593@mail.ru |
0dc0f4d02c7c65ff835d381f59c1a660026c21ad | 117231f04565ad612da5ae375ff09ba3d7ef79c5 | /main.cpp | 73473d7bb3a8990e14bbd68f4a706c8c54d40434 | [] | no_license | Rohitjk/Sorting-Visualizer-Using-OpenGL | 7fcd5863eb4aded389a0b2a1a299c53079d39e4c | e32955deb7480ca7bcb572257926c4a057401d13 | refs/heads/main | 2023-02-08T06:10:44.688247 | 2020-12-25T14:18:23 | 2020-12-25T14:18:23 | 319,671,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,749 | cpp | #include<windows.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<GL\glut.h>
#define SORT_NO 3 // Number of sorting algorithms
#define MAX 50 // Number of values in the array
#define SPEED 700 // Speed of sorting, must be greater than MAX always
int a[MAX]; // Array
int swapflag=0; /... | [
"noreply@github.com"
] | Rohitjk.noreply@github.com |
80485b9f0df3a9e3e2667e0c49a8c83c01cae197 | f738b52cfdb0d6c82ce1817bab8df3985b665c88 | /opencv-cpp/peopledetect/src/PeopleDetect.cpp | 699fb5353f9e805fd06de45c2c314f1fdb820945 | [
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | joboscan/install-opencv | 54d5793452022a8b7befc0e390ecf6e0a8126962 | ced7e8a73bafed9dbdeec507f1ceec78efdb9b33 | refs/heads/master | 2021-01-24T08:50:41.810193 | 2018-02-13T00:01:47 | 2018-02-13T00:01:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,166 | cpp | /*
* Copyright (c) Steven P. Goldsmith. All rights reserved.
*
* Created by Steven P. Goldsmith on November 5, 2015
* sgoldsmith@codeferm.com
*/
#include <iostream>
#include <sys/time.h>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
/**
* Histogram of Oriented Gradients ([Dalal2005]) o... | [
"sgoldsmith@dx4350"
] | sgoldsmith@dx4350 |
70cdf1ab010f73456712cada558cb85f8453a965 | 0a1eb091a59dd8eabfa972920095c357f4137bc8 | /atcoder/typical90/039/abc147/D/Main.cpp | 701db46b6e14505b4a4371c5fe0e67976b4a44be | [] | no_license | y-kamiya/contest | ec033a0b4340b1c8aed074a3a04f7007279b91ae | 2af56ac79231a4d7bad3637771d1a985b6162b2e | refs/heads/master | 2023-03-13T03:18:13.294463 | 2023-02-19T07:24:08 | 2023-02-19T07:24:08 | 17,743,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,490 | cpp | #include <bits/stdc++.h>
using namespace std;
class ostreamFork {
public:
ostream &os1,&os2;
ostreamFork(ostream& os1, ostream& os2) : os1(os1), os2(os2) {}
};
template <class Data>
ostreamFork& operator<<(ostreamFork& osf, Data d) {
osf.os1 << d; osf.os2 << d; return osf;
}
ostreamFork& operator<<(ostream... | [
"y.kamiya0@gmail.com"
] | y.kamiya0@gmail.com |
87bc41a9e12f8be6aa1e291f12f0daedb68404d1 | 7fe330cd7c2475c8e2ae186e9db8bce9f4b3c5a9 | /src/Wallet/WalletSerialization.cpp | 4e897981f2b4282d4e7d093450a62264480c6a77 | [] | no_license | mi-mai/xoldo | 1c6664ff7037e2a134bbebf633237204ec4e58c3 | 9ba0a4a200f09c947be37fdb90e44653981126d3 | refs/heads/master | 2021-01-16T08:51:59.234188 | 2020-02-20T08:59:02 | 2020-02-20T08:59:02 | 243,048,722 | 0 | 0 | null | 2020-02-25T16:47:21 | 2020-02-25T16:47:18 | null | UTF-8 | C++ | false | false | 35,322 | cpp | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
/////////////////////////////////////////////////////////////////////////////
#include "WalletSerialization.h"
#include <string>
#include <sstream>
#include <type_traits>
#include "Common/MemoryInputStream.h"
#inclu... | [
"32670449+monselice@users.noreply.github.com"
] | 32670449+monselice@users.noreply.github.com |
cdb61a0df221eb1ab8338d73a1231684f6efe03b | df0ad5d48e2f81b142d9c86b2821255d94c63390 | /Midterm/e1.cpp | d76bf257ed71dc1b038e4958bb66c93c00aaa562 | [] | no_license | trouble-max/PP1 | 2b7342db30cb404c8c2bba089b41511b8244eb45 | 60e8af1d0f410f215ab3053796ea10dc1fd12eea | refs/heads/main | 2023-03-01T04:34:08.777247 | 2021-02-11T14:44:51 | 2021-02-11T14:44:51 | 338,055,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include <iostream>
using namespace std;
int main() {
string s;
cin >> s;
int a[10]{0};
for(int i = 0; i < s.size(); i++){
a[s[i] - 48]++;
}
for(int i = 0; i < 10; i++){
if(a[i] != 0) cout << i << ": " << a[i] << endl;
}
return 0;
}
| [
"e_tastybai@kbtu.kz"
] | e_tastybai@kbtu.kz |
c0a3447b2db7085b4e59e34451b97498d3dc549e | 303e592c312459bf9eb3ce231b1357c4de91124b | /pku/3630/3630m.cpp | 83abb8c7e5fbaff5906948c17ddabe6582e697bf | [] | no_license | kohyatoh/contests | 866c60a1687f8a59d440da3356c6117f9596e8ce | b3dffeaf15564d57aec5c306f5f84bd448bc791f | refs/heads/master | 2021-01-17T15:06:23.216232 | 2016-07-18T14:06:05 | 2016-07-18T14:06:05 | 2,369,261 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | #include <stdio.h>
#include <stdlib.h>
#define rep(i, n) for(int i=0; i<(int)(n); i++)
int m, nxt[100000][10], f[100000];
char buf[32];
int add() {
rep(i, 10) nxt[m][i] = -1;
f[m] = 0;
return m++;
}
int main() {
gets(buf);
int T = atoi(buf);
while(T--) {
gets(buf);
int n = ato... | [
"kohyatoh@yahoo.co.jp"
] | kohyatoh@yahoo.co.jp |
ae34fd41a576e887b4eb45225cd5aab52ed2a47d | 16c25858ef1e5f29f653580d4aacda69a50c3244 | /hikr/build/iOS/Preview/include/Fuse.Animations.CycleWaveform.h | 91385fad90d6daaa9f1440f70d06034ead72728c | [] | no_license | PoliGomes/tutorialfuse | 69c32ff34ba9236bc3e84e99e00eb116d6f16422 | 0b7fadfe857fed568a5c2899d176acf45249d2b8 | refs/heads/master | 2021-08-16T02:50:08.993542 | 2017-11-18T22:04:56 | 2017-11-18T22:04:56 | 111,242,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Animations/1.2.1/$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Animations{
// public enum CycleWaveform :953
uEnumType* CycleWaveform_typeof();
}... | [
"poliana.ph@gmail.com"
] | poliana.ph@gmail.com |
0274834045cb1a3703c076c2160c8496b91ab0c9 | 2fc8fabe3c49f730d024411353642efa91395088 | /media/mojo/services/mojo_media_client.cc | bb5729b1f069fb1bddb1f127956e87e0ef9c6c75 | [
"BSD-3-Clause"
] | permissive | primeos/chromium | 3c108e0a416f6b6d3b80cc4af898db6bbf6af73a | b339a7b184a03fefd00e52ddaab80078910e24cc | refs/heads/master | 2023-03-04T23:34:43.520976 | 2020-04-13T20:49:17 | 2020-04-13T20:49:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | 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 "media/mojo/services/mojo_media_client.h"
#include "base/single_thread_task_runner.h"
#include "media/base/audio_decoder.h"
#include "media/base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b343b13e7eb3e8a0a7053ccc7ec031c21adf8bbf | 79b8b69b6d92b47c34860cace5914018fa2d9873 | /include/spdlog/details/registry-inl.h | 9ea46237d9d863142ca8560804e6b9e56463df0c | [
"MIT"
] | permissive | LuisRGameloft/spdlog | db23e567c0cc40b85b166b0d38bdac944735ab83 | 18303cd09bd949ba7d9c25fe66415e9a105c7181 | refs/heads/v1.x | 2020-03-26T04:35:49.352487 | 2019-06-03T18:11:07 | 2019-06-03T18:11:07 | 144,511,796 | 0 | 0 | MIT | 2019-06-03T18:11:09 | 2018-08-13T00:43:38 | C++ | UTF-8 | C++ | false | false | 7,168 | h | // Copyright(c) 2015-present Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include "spdlog/details/registry.h"
#endif
#include "spdlog/common.h"
#include "spdlog/details/periodic_worker.h"
#include "spdlog/logger.... | [
"gmelman1@gmail.com"
] | gmelman1@gmail.com |
b262c8a3105c2d8d2135945056ffcd79fec50f2e | afd5f513f94a12ed0d2df1ea506b932cf0dc7a87 | /Geometry.h | c3cc728b109858b54d52b17a753b197cccf473a8 | [] | no_license | hectormoralespiloni/ShadowMappingDX | 71af62d283b7033e4c6e354e95180c98a4c59873 | cef70fee46d9355a332efeb81dfbd75d574629a6 | refs/heads/master | 2016-09-05T19:43:53.932331 | 2015-04-11T00:53:44 | 2015-04-11T00:53:44 | 33,697,328 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,576 | h | ///============================================================================
///@file Geometry.h
///@brief Class used for rendering the geometry in the scene.
///
///@author Héctor Morales Piloni
///@date January 16, 2007
///============================================================================
#ifndef GEOMET... | [
"hectormoralespiloni@gmail.com"
] | hectormoralespiloni@gmail.com |
6224091f3895dc25450f886a90d4f4c334c68fba | 55f723d7d871ceba88bac5f5536858082cd71811 | /day_05/ex01/includes/Bureaucrat.hpp | 23e7a255e4ae9b3daad3dd5d7b3698198ccd9b7f | [] | no_license | Arigowin/piscine_cpp | 688e09d622f1a09ab195f2e55280618c785528a3 | 4d54611d4da768c16c924497aa5785e8f999c936 | refs/heads/master | 2020-03-08T11:23:52.215988 | 2018-04-08T20:29:22 | 2018-04-08T20:29:22 | 128,096,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | hpp | #ifndef BUREAUCRAT_HPP
#define BUREAUCRAT_HPP
#include <iostream>
#include <exception>
class Bureaucrat
{
private:
std::string const _name;
int _grade;
public:
Bureaucrat(void);
Bureaucrat(std::string name, int grade);
Bureaucrat(Bureaucrat const &src);
~Bureaucrat(void);
void incGra... | [
"dolewski@student.42.fr"
] | dolewski@student.42.fr |
41710376f62e1bf477d5a698f6746a5c5f1edc1d | 3187c3d412b6cb6b72603e5ba8b4be4d28ce362b | /sfml_vars.h | aa6a9d41c40dbcb19ceca813a7ea72919cd30917 | [] | no_license | btabtab/Image_Sort | fb7084d84e168a847bb15a011a6a02ddadb36bcc | 3e6dd1d4ad9a9203c2eeb6c6c688039734fc0f81 | refs/heads/master | 2021-02-19T08:03:32.227329 | 2020-03-06T00:13:58 | 2020-03-06T00:13:58 | 245,293,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | h | #ifndef SFML_VARS_H_INCLUDED
#define SFML_VARS_H_INCLUDED
sf::RenderWindow window(sf::VideoMode(600.f, 600.f), "image pixel sorter");
sf::Sprite sprite;
sf::Texture texture;
sf::Image image;
sf::Color temp_col;
std::string filename;
float image_X_res; float image_Y_res;
sf::Color co... | [
"noreply@github.com"
] | btabtab.noreply@github.com |
684e1cfd6e47574f8f6a9a39831dd3a97224f4ec | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /chrome/browser/web_applications/commands/install_from_sync_command.h | e364c8c93d3ea15fb85a1437df57a75b5ea7a051 | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 4,930 | h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_WEB_APPLICATIONS_COMMANDS_INSTALL_FROM_SYNC_COMMAND_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_COMMANDS_INSTALL_FROM_SYNC_COMMAND_H_
#include <memory>
#... | [
"roger@nwjs.io"
] | roger@nwjs.io |
9d6fc4ab9cf9d9879a17a167bbf3a8ce7440fb61 | 3e29390945b2327084255568d4d9bdc29ef13fc7 | /Telex_Encoding.cpp | 2e10348d259f7e5d5a21cabf79006411f9876b2b | [] | no_license | saliouprogress/Probems-and-Quizes-in-CPP | 5f6ec366eee49194cf01eb0ca93b8c8021b105da | ac066cda0b42d5eb36b656ce1e5b886dcb27e15a | refs/heads/master | 2020-08-27T13:03:31.534888 | 2019-12-17T02:38:55 | 2019-12-17T02:38:55 | 217,380,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,780 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
string Decode_Element(string MyString, string Code)
{
for (int j = 0; j < Code.size(); j++)
{
MyString += Code[j];
}
return MyString;
}
string Move_To_Front(string MyString)
{
char Point = '.', Coma = ',', Ques_Mark = '?', Exc_... | [
"noreply@github.com"
] | saliouprogress.noreply@github.com |
64aadce05a01e4c15d51a4cd2d2c9752735f9a6d | 39adfee7b03a59c40f0b2cca7a3b5d2381936207 | /codeforces/544/A.cpp | 5a3d2cc84fd590d968582e6571800253f5c93d4c | [] | no_license | ngthanhtrung23/CompetitiveProgramming | c4dee269c320c972482d5f56d3808a43356821ca | 642346c18569df76024bfb0678142e513d48d514 | refs/heads/master | 2023-07-06T05:46:25.038205 | 2023-06-24T14:18:48 | 2023-06-24T14:18:48 | 179,512,787 | 78 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp |
#include <bits/stdc++.h>
#define FOR(i,a,b) for(int i=(a),_b=(b); i<=_b; i++)
#define FORD(i,a,b) for(int i=(a),_b=(b); i>=_b; i--)
#define REP(i,a) for(int i=0,_a=(a); i<_a; i++)
#define EACH(it,a) for(__typeof(a.begin()) it = a.begin(); it != a.end(); ++it)
#define DEBUG(x) { cout << #x << " = "; cout << (... | [
"ngthanhtrung23@gmail.com"
] | ngthanhtrung23@gmail.com |
6c0b1a9f63e74f6b885a2b54a4a520c47acedee5 | e6ac25deb8b69eb24fa6603f9c0d39789ba1f3e2 | /code/Vadimonium/Vadimonium.cpp | c2a6ca25822365478662509d5517c477170f5123 | [] | no_license | andrewdodd13/vadimonium | 6a01917d9a00bcf94ad8cef54e8ab598251d5655 | ea22ae8c5608c23550178b18f6eca0ca22571cc4 | refs/heads/master | 2021-01-20T23:24:17.207878 | 2012-04-05T22:22:56 | 2012-04-05T22:22:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,487 | cpp | /**********************************************************\
Auto-generated Vadimonium.cpp
This file contains the auto-generated main plugin object
implementation for the Vadimonium project
\**********************************************************/
#include "VadimoniumAPI.h"
#include "Vadimonium.h"
//////... | [
"andrewdodd13@gmail.com"
] | andrewdodd13@gmail.com |
f4ef9edddb8e32ecac2ba01ae28090aa3103283c | 1c267f1715f33b394d194eb92ade0038561d78e7 | /include/pique/util/impl/fixed-oarchive-impl.hpp | 70679f746075bfc4ce7e6e877e472c9c08b86cf3 | [
"Apache-2.0"
] | permissive | daboyuka/PIQUE | 2d02e444c9da78d69f2347efbabf1ff7a22108a7 | d0e2ba4cc47aaeaf364b3c76339306e1795adb5e | refs/heads/master | 2021-01-01T18:55:46.456679 | 2015-09-29T03:10:02 | 2015-09-29T03:10:02 | 42,911,865 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,507 | hpp | // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// (C) Copyright 2014 David A. Boyuka II
// Use, modification and distribution of this file is subject to the Boost Software
// License, Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org for updates, documentation, and revis... | [
"daboyuka@ncsu.edu"
] | daboyuka@ncsu.edu |
56842710fcc983359bfb68ae53b460e0bb6966e7 | 80f5c7ef514c487932e30d7f1933b9bc0c13520b | /src/qt/askpassphrasedialog.cpp | 20fceab3f56762bcc3ab452b8e49b093b33fcee6 | [
"MIT"
] | permissive | hotridung/fundcoin | 1d356013ae1518faa27356087a72322d152db94f | 0bc1ad6722823f11f8c530c1dbf817582faed13a | refs/heads/master | 2020-06-04T13:43:07.909644 | 2019-06-19T05:31:09 | 2019-06-19T05:31:09 | 192,047,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,914 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#inc... | [
"tridung.max@gmail.com"
] | tridung.max@gmail.com |
d27c1ef6a5e28b55e7f5b7b823ba65bbb242678d | b52d3048e4e672d7abdd9bcb08622a98f946a285 | /practice/cses/problemset/introductory/bit-strings.cpp | d8ea218dee972bfb751065da99fc293fbb44db99 | [] | no_license | hongjonghwa/algorithms | 49892c9dd4ac9efd399fc29b67591a1828f0034c | 1c4ea67d063dab4e89d9cd951deb3e9eba44cedf | refs/heads/master | 2021-11-30T02:41:05.032222 | 2021-11-22T01:27:55 | 2021-11-22T01:27:55 | 233,500,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include<stdio.h>
int MOD = 1e9 + 7;
int main(){
int n;
if (scanf("%d", &n) != 1) return -1;
long long x = 2;
long long ans = 1;
while (n){
if (n & 1)
ans = ans * x % MOD;
n /= 2;
x = x * x % MOD;
}
printf("%lld", ans);
} | [
"jonghwa.hong@gmail.com"
] | jonghwa.hong@gmail.com |
d9ba292371703b2b914a68904d7cc85af179d9ae | e1230a4aba63635e6bc2371e97f1d9a2ac069921 | /Utils/Log.h | d9c4e978b1e206ee3413b68e13aa8bd3b883c58b | [] | no_license | tobiasquinteiro/HonorPT | d900c80c2a92e0af792a1ea77e54f6bcd737d941 | 4845c7a03b12157f9de0040443a91e45b38e8ca0 | refs/heads/master | 2021-12-09T08:14:33.777333 | 2016-05-04T03:32:23 | 2016-05-04T03:32:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | #pragma once
#include <string>
#include <fstream>
class Log
{
public:
Log();
~Log();
static void Notice(std::string Message);
static void Debug(std::string Message);
static void Error(std::string Message, int ExitCode = -1);
std::ofstream File;
};
| [
"cainankk@outlook.com"
] | cainankk@outlook.com |
bc5a4e12fa3f3d98cf770f24eba015d8e9d09937 | 3e5f676738c10e1cabfcc657c8423b6cd55230f7 | /decode_func.h | 8f9526ae4faf50a9c557ba2fd29143a75c22214a | [] | no_license | wanggchongg/demoVideo | bfa8e197f0f7c5bb3c2abeb462edf9fe54ae330d | 5a66f37030dcbfe255f1f7d94a12364aba34f3f6 | refs/heads/master | 2021-01-10T01:35:25.251863 | 2016-03-20T04:06:52 | 2016-03-20T04:06:52 | 54,299,439 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | h | #ifndef DECODE_FUNC_H
#define DECODE_FUNC_H
#include <QObject>
#include <QThread>
#include "externvar.h"
#include "raptorcode.h"
#include <stdlib.h>
#include <QTimer>
class Object:public QObject
{
Q_OBJECT
public:
Object();
~Object();
private:
FrameHeader_t *frameHeader;
char *inputBuf;
char *out... | [
"wangchonggg@163.com"
] | wangchonggg@163.com |
bead60fd0988735c19e564752ead25ac0613f629 | 5a05b4027489ab8a727e598cc1d0268bcc49b0ff | /RFM12b.cpp | 70c17923febaecae1709577c764c55c9c7a8b2ca | [] | no_license | jeromelebel/domotiquelib | 9cb26d69ac56d2523d1fefeded63862adb615c9c | 2ccc62d2b9b095b3101e3df2a23ed7cb9a0950cc | refs/heads/master | 2016-09-06T09:19:48.319173 | 2014-05-31T15:57:51 | 2014-05-31T15:57:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,695 | cpp | #include <RFM12b.h>
#include <SPI.h>
#define RF_RECEIVER_ON 0x82DD
#define RF_XMITTER_ON 0x823D
#define RF_IDLE_MODE 0x820D
#define RF_SLEEP_MODE 0x8205
#define RF_WAKEUP_MODE 0x8207
#define RF_TXREG_WRITE 0xB800
#define RF_RX_FIFO_READ 0xB000
#define RF_WAKEUP_TIMER 0xE000
int interruption = 0;
static RFM1... | [
"jerome@fotonauts.com"
] | jerome@fotonauts.com |
019289fa9ca81e10dd8bb13c825f752e09f847b4 | 3ac6547570760a80557f6c172a7accd87c3ae6b6 | /test9/render-qt.h | 888166e929eddab264fd2b71d0ad02b698a4cf95 | [] | no_license | rhelmus/arduinofps | 418d01e9cb7c0c7d68869d0292c59f5d0af2375e | fc67e3649f3fe50a472f75e49fa8242c4c6009e0 | refs/heads/master | 2016-09-09T22:31:20.131148 | 2016-02-21T21:23:50 | 2016-02-21T21:23:50 | 14,467,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | h | #ifndef RENDERQT_H
#define RENDERQT_H
#ifndef ARDUINO
#include "defs.h"
#include "gfx.h"
#include "raycast.h"
#include <QWidget>
class RenderWidget : public QWidget
{
protected:
virtual void paintEvent(QPaintEvent *event);
public:
RenderWidget(QWidget *p) : QWidget(p) { }
};
class Render
{
// bound da... | [
"rhelmus@gmail.com"
] | rhelmus@gmail.com |
2590fdbb9f5a0a4578e655c0fee850a115d267cf | 6673f9123886e3bd6870e3b3aa7ac2d94eaf3dc8 | /kerev.h | 638205f163db377c03dbe71b84701283b5b9369f | [] | no_license | davidcuric/projects | 127d49d2b4bd5c27c95460958695bcfa80b9b826 | 919fa67802f13ea0f080d6e48116cf5cd70bb97f | refs/heads/main | 2023-08-15T01:19:23.978257 | 2021-10-04T08:37:19 | 2021-10-04T08:37:19 | 413,336,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | #ifndef _kerev_h_
#define _kerev_h_
class PCB;
typedef unsigned char IVTNo;
class KernelEv{
public:
KernelEv(IVTNo ivtEntryNum);
void wait();
void signal();
int val;
unsigned char myEntryNum;
PCB* myCreator;
PCB* PCBblocked;
~KernelEv();
};
#endif
| [
"noreply@github.com"
] | davidcuric.noreply@github.com |
b312901560900c00d84dd6ec24185725e176beef | 7121169b5cdd0d5ebdfe08050c74aa1e9acdeaa1 | /src/ofxProjectorControl.h | 294b1ee4c945508e2cc297cf4bafc66496cc1a3f | [] | no_license | tobiasebsen/ofxProjectorControl | 1ad70af771de1dc3e88acfb6a6c804bc96ae0f66 | c32891618067ac0afd789920b7ce77922c05e706 | refs/heads/master | 2016-09-08T00:40:49.030392 | 2014-08-04T10:48:16 | 2014-08-04T10:48:16 | 22,600,751 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | //
// ofxProjectorControl.h
// greveBord
//
// Created by Tobias Ebsen on 21/07/14.
//
//
#pragma once
#include "ofMain.h"
class ofxProjectorControl {
public:
virtual bool setup(string portName) = 0;
virtual bool isPowerOn() = 0;
virtual void setPowerOn(bool on) = 0;
virtual int getLamp... | [
"tobiasebsen@gmail.com"
] | tobiasebsen@gmail.com |
679bdbeab47aaf574a420a7c86df3160bfeb966b | 5dda6101b228db0776a5cd856f847dd13d678f6d | /src/Collision.cpp | 5e9d8d3ff60485dafa8974e654c0c202bc156e05 | [] | no_license | kevclarx/sdl2-lua-example | 3182c2f23841269791b854720cf9ab6c79837ac0 | 6af69209545ed864b65223a8a71e422fa5404e5d | refs/heads/main | 2023-02-19T20:10:30.699677 | 2021-01-23T19:03:19 | 2021-01-23T19:03:19 | 332,285,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include "./Collision.h"
bool Collision::CheckRectangleCollision(const SDL_Rect &rectangleA, const SDL_Rect &rectangleB) {
return (
rectangleA.x + rectangleA.w >= rectangleB.x &&
rectangleB.x + rectangleB.w >= rectangleA.x &&
rectangleA.y + rectangleA.h >= rectangleB.y &&
rectangleB... | [
"kclark@tcpmutt.com"
] | kclark@tcpmutt.com |
54cfce38ed9239e3ff6a8cc74daa405b85babce8 | f250b4b4d4021437b7283a7e7529520cc79ac6a6 | /Game/Tank/environment.cpp | ca9f150e00fc8bc481b03d4785d3506074d94b41 | [] | no_license | hhh920406/Typewriter | 4ecdd12f9eacd68f5483148972b4b594a8f856aa | b63c48a3480f18a723433c0237cb9a14e05a6e90 | refs/heads/master | 2021-01-22T10:39:46.305838 | 2014-02-22T11:16:08 | 2014-02-22T11:16:08 | 19,075,845 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,115 | cpp | #include "environment.h"
Environment::Environment()
{
this->river = new QImage(":/images/river.png");
this->steel = new QImage(":/images/steel.png");
this->brick = new QImage(":/images/brick.png");
this->catStone = new QImage(":/images/catStone.png");
for(qint32 i=0;i<MaxItemNumber;i++)
{
... | [
"CyberZHG@gmail.com"
] | CyberZHG@gmail.com |
495d5b973ac53f0efbd5bbd1481d6c01608a602b | b3c2a4acf9246d4d0a1d0a07117c7427e196d3d1 | /algorithm_C++/test/testclass.h | ba88c4fc9fe1fabff135bf6b5940bfcc3a3e971b | [] | no_license | Randool-c/GraphLayoutAlgorithms | 20e4b45889da7091c8dd7f1b9c1b30320b4c1369 | 066829e94f347731d61cbefab2062c9f2ba18ff4 | refs/heads/master | 2023-04-05T02:40:44.694337 | 2020-05-03T10:16:19 | 2020-05-03T10:16:19 | 224,434,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | //
// Created by chenst on 2020/1/6.
//
#ifndef MULTILEVEL_STRESS_C___TESTCLASS_H
#define MULTILEVEL_STRESS_C___TESTCLASS_H
class testclass {
public:
int a;
testclass(): a(10){}
int print();
};
#endif //MULTILEVEL_STRESS_C___TESTCLASS_H
| [
"chenst0@126.com"
] | chenst0@126.com |
3e551ab14fcf95403d4124b01e1340d43c33a37d | d9eb94e7d0d2551615155b1d7542faab35a1f5ab | /BomberMan/Legacy/Subject1(BomberMan)_Ver.7_1/Subject_1/Update.cpp | 8007cce2b028672b8694909b073d2730f2cadc2d | [] | no_license | yunsubaek/Unity3D | b8d9210e73f97d6546bd562198bcba4feb246218 | 32f2c984c482c8cf048de24775c28c99389d57b4 | refs/heads/master | 2020-05-21T13:48:32.424296 | 2020-03-11T15:09:26 | 2020-03-11T15:09:26 | 62,619,213 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 4,385 | cpp | #pragma warning(disable:4996)
#include "Update.h"
Singleton *S = &Singleton::getSingleton();
void Update::Start()
{
char state[20];
printf("게임을 시작하려면 'Start'를 입력 후 엔터를 누르세요.\n");
while (scanf("%s", &state))
{
system("cls");
if (!strcmp(state, "Start")) break;
else printf("게임을 시작하려면 'Start'를 입... | [
"noreply@github.com"
] | yunsubaek.noreply@github.com |
ef73585674d7064db74194ad6b1148b6e69add7d | 2a28ea46f4d0b4499773d09a8017cf364a72e9b7 | /HRobot/RobotController.h | 1a0fcaf24c8f8e80c7f4484afba7e438f21da3fa | [] | no_license | jamofer/OpenScorbot | 173668c6af7b3a698c62888d0394249e43287fe2 | a9d59dfc96c89167938ac72e2513e6fbd5f866ae | refs/heads/master | 2022-12-30T05:34:03.142377 | 2020-10-19T23:34:03 | 2020-10-19T23:34:03 | 39,348,619 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | h | /*
* RobotController.h
*
* Created on: 8 de oct. de 2015
* Author: Javier
*/
#ifndef ROBOTCONTROLLER_H_
#define ROBOTCONTROLLER_H_
#include "Axis.h"
#include "Robot.h"
#include "RobotPacket.h"
#include <thread>
#include <mutex>
#include <iostream>
#include <sstream>
#include <fstream>
#in... | [
"javier.moragon@casa-systems.com"
] | javier.moragon@casa-systems.com |
8552e5d0a162c2b3f918a86d5a2a2af2d5401ade | 40e1539b933eb43026df9ad76a61fea3f083b03b | /JobSchedule.cpp | 8554a4770b93e49b7343dfd6704357d755fd0e14 | [] | no_license | leoyim/OS | de397c6e536d3c36b29b89ca3f69add93450e13b | d21f941cb33bebaa81b7b6d0738efbac0af0fdc1 | refs/heads/master | 2021-08-31T16:21:06.309699 | 2017-12-22T02:04:54 | 2017-12-22T02:04:54 | 115,065,273 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,817 | cpp | /*********************************
* 程序:作业调度算法模拟 *
* 作者:闫文博 *
*********************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include<iostream>
#include<algorithm>
using namespace std;
typedef struct {
char no; //作业序号
... | [
"noreply@github.com"
] | leoyim.noreply@github.com |
66079752c2575eca32d8815ff118d58f9b8f28bd | 3b5dcd8c97cf0b128ff4571f616e6f93cde4d14f | /tools/iqrWrapper/process.h | ca03256ace5cefd1e7c5c43a8f2eb57b89368bef | [] | no_license | jeez/iqr | d096820360516cda49f33a96cfe34ded36300c4c | c6e066cc5d4ce235d4399ca34e0b238d7784a7af | refs/heads/master | 2021-01-01T16:55:55.516919 | 2011-02-10T12:00:01 | 2011-02-10T12:00:01 | 1,109,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | h | #include <iostream>
#include <qobject.h>
#include <qprocess.h>
#include <qvbox.h>
#include <qtextview.h>
#include <qpushbutton.h>
#include <qapplication.h>
#include <qmessagebox.h>
#include <qstringlist.h>
#include <qdatetime.h>
#include <stdlib.h>
using namespace std;
class UicManager : public QVBox {
Q_OBJEC... | [
"ulysses.bernardet@upf.edu"
] | ulysses.bernardet@upf.edu |
0d4e9c9555a831cb040ad21a1aa2ab84b82acba2 | f442bfabec358023bfdb5d2f25158e2e13e26227 | /lab5/lab5uml/Instructor.cpp | 883e387106e67f4073cfb5e8782847a7c8c84c2b | [] | no_license | snchvz/CS202 | 203797e74c90db7ee5ebc8b471e1413c526a4741 | abbf296f4e60e1164579791426a3e147932090ff | refs/heads/master | 2020-04-17T15:48:48.723959 | 2019-01-20T22:07:09 | 2019-01-20T22:07:09 | 166,714,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | /*
Andrew Sanchez
Filename: Instructor.cpp
Date: 5/8/17
description: derived class Instructor definition from base class Person
*/
#include "Instructor.h"
#include <string>
#include <iostream>
using namespace std;
//default constructor
Instructor::Instructor(): Person(), salary(0) {}
//constructor @... | [
"noreply@github.com"
] | snchvz.noreply@github.com |
1e21eef7815bd57bc0b61d4b63992e07177f07b8 | c74371b5118c1ad25b11cc0ee4f928a55de67160 | /lgecodejam/2015_p3.cpp | 315f6445e23d176ebb82af69c229dbfc7c20aab9 | [] | no_license | didw/coding | 8eaf7dee9d8476d042db6ec3141e6e57861916b2 | 5b0d026234b25a04c8a6ce6d6abd959e22bbd643 | refs/heads/master | 2021-07-10T03:20:19.509875 | 2021-06-17T13:19:15 | 2021-06-17T13:19:15 | 47,166,357 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;
const int INF = 1e9;
int n, m;
vector<int> connect[10];
int best;
void search(vector<int>& position, vector<int>& line, int begin, int end, int currDist) {
if (best <= currDist) return;
if (line.size() == n) {
... | [
"jy.yang@lge.com"
] | jy.yang@lge.com |
6be995e0c44443dc74995b005f15227ea1fa9c93 | b6289bea68145582d3f0ac20c6a76f8e2cf02011 | /libmemcached-1.0.18/libmemcached/csl/parser.cc | db57fc0fdbb40e06e2ff63f5ab9d23362bef7e20 | [
"BSD-3-Clause"
] | permissive | mfs409/memcached-fetch-and-phi | 703512e1a460fbda2aa214954eb6ca133aeba1bb | 2d5c33e1e95c43dead54347901b3ce1c4cd28da4 | refs/heads/master | 2021-01-12T02:30:10.246798 | 2017-01-04T20:03:25 | 2017-01-04T20:03:25 | 78,041,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,146 | cc | /* A Bison parser, made by GNU Bison 2.7.12-4996. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License ... | [
"spear@cse.lehigh.edu"
] | spear@cse.lehigh.edu |
83014a3a4e18954b05c38245c83047439a7fbe78 | 53b94077492e500cc50ccdb9b263069417f7efc0 | /Source/FPSGame/Public/FPSExtractionZone.h | 210a7bbc56a9dd35b23ff4f16c05bf8bf77e775a | [] | no_license | magirard/StealthGame | 933343e40b3c28abbe7b06c63cc879e6c6dd0e3d | 772c30f3dcec2e12838f18147ae07a648445b832 | refs/heads/master | 2021-04-26T23:29:03.828018 | 2018-03-15T02:34:39 | 2018-03-15T02:34:39 | 124,002,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "FPSExtractionZone.generated.h"
class UBoxComponent;
class UPrimitiveComponent;
class UDecalComponent;
class USoundBase;
UCLASS()
class FPSGAME_API AFPSExtr... | [
"marcandre.girard@gmail.com"
] | marcandre.girard@gmail.com |
dbc22ccfb482d94d45043bed664b5edadb78c6d0 | c4443706bdd85c3731dfcf39f9543a25f81aa1a7 | /Lab1/Game.h | 845754187885a6cdaf379238bdd98bec81310e11 | [] | no_license | CTHamma/Lab1_KennyHuynh | 0f38f75267ca77a323c65c54e060cafa966005cf | 442478a43b216fce395226b97d600c8ffea760ea | refs/heads/main | 2023-02-23T15:00:32.832982 | 2021-01-25T01:04:41 | 2021-01-25T01:04:41 | 332,131,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | h | #pragma once
#include <iostream>
using namespace std;
class Game {
private:
string m_gName,
m_publisher,
m_developer;
int m_NumberOfAcheivements;
public:
Achievement* achievementPtr;
bool hasAchievements = false;
int numAchievements;
// Constructors
Game() // Default constructor
{
m_gName = "NONE";
m_... | [
"kennyh@t2p0films.ca"
] | kennyh@t2p0films.ca |
4189cbe787e01a9d11720b06878feb2af2e65145 | b8d457b9ce160911e6eba460e69c72d9d31ed260 | /ArxRle/Reactor/ArxRleUiTdcPersistentReactors.cpp | eae908a4c9a5c34e7cf307a58710391d3db981d7 | [] | no_license | inbei/AutoDesk-ArxRle-2018 | b91659a34a73727987513356bfcd1bff9fe09ee3 | 3c8d4a34f586467685c0f9bce7c3693233e43308 | refs/heads/master | 2023-01-19T08:27:38.231533 | 2020-11-25T00:52:13 | 2020-11-25T00:52:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,228 | cpp | //
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies th... | [
"fb19801101@126.com"
] | fb19801101@126.com |
0b896e9a3e50d9aca29f50e1a778dd446740842a | 0cde00266bddbb1abc159b011116c8a137cf21ec | /Dependencies/CppWinRT/winrt/impl/Windows.Storage.Pickers.Provider.0.h | d9b701ef12af3a752feed564804d5b21bc0af4e1 | [
"Apache-2.0"
] | permissive | npstar/NavioIoT | 83071b4bba8b7f234187566114bf41371a443c43 | 419c8eb40f86c23e5ebe96cf1ad5f5cbc9a0ba4c | refs/heads/master | 2020-04-08T16:21:37.310348 | 2017-10-05T19:35:41 | 2017-10-05T19:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,554 | h | // C++/WinRT v1.0.170825.9
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
WINRT_EXPORT namespace winrt::Windows::Storage {
struct IStorageFile;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Pickers::Provider {
enum class AddFileResult
{
Added = 0,
AlreadyAdded = 1,
... | [
"tony@tonywall.com"
] | tony@tonywall.com |
22e8be172b60cfef4b6c30f4673eabbe2d30708f | 79ca1707e6b3e22262a9710d74e7de7368525792 | /Darkness of Planet/Darkness of Planet/Darkness of Planet/TeicEffectParent.cpp | 894d8f742c51dcf022e9576c5ba6fa2f6bee1a63 | [] | no_license | ggondols/TeamOfEalryAccess | 0645b419b649c075ed03881921bf5cefe754680d | 4219a2a0ae9644069e0d6743961a9987bfb17957 | refs/heads/master | 2021-01-21T12:16:30.626470 | 2017-10-15T08:52:09 | 2017-10-15T08:52:09 | 102,056,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | cpp | #include "stdafx.h"
#include "TeicEffectParent.h"
TeicEffectParent::TeicEffectParent()
{
}
TeicEffectParent::~TeicEffectParent()
{
}
| [
"kimdigwig@naver.com"
] | kimdigwig@naver.com |
2137613a275a5c4e51f9f3f7dec62de70036e4fd | aecf4944523b50424831f8af3debef67e3163b97 | /net.ssa/xr_3da/xrGame/data_storage_vertex_manager.h | 54b559f23184ccf1af5872be01e3926a4301139f | [] | no_license | xrLil-Batya/gitxray | bc8c905444e40c4da5d77f69d03b41d5b9cec378 | 58aaa5185f7a682b8cf5f5f376a2e5b6ca16fed4 | refs/heads/main | 2023-03-31T07:43:57.500002 | 2020-12-12T21:12:25 | 2020-12-12T21:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,846 | h | ////////////////////////////////////////////////////////////////////////////
// Module : data_storage_vertex_manager.h
// Created : 21.03.2002
// Modified : 01.03.2004
// Author : Dmitriy Iassenev
// Description : Data storage vertex manager
//////////////////////////////////////////////////////////////////... | [
"admin@localhost"
] | admin@localhost |
58ec3f6e8b5adca9d5420b1b76a6d0785c165e9b | 20f01b80edeaaf79c3daf6b408b52bb336fe32d6 | /exception.hpp | 56852ffa4cbc7bf36f4886c42e3191796e1816f5 | [] | no_license | bkentel/bklib | 6fe651eef2dcd00dd5a8d44c43022b9fed307ad4 | b0bcf38ce1a7624931dc57f0cac28c6a1a4e4d13 | refs/heads/master | 2021-01-22T09:26:22.510191 | 2014-01-04T17:33:28 | 2014-01-04T17:33:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | hpp | #pragma once
#include <exception>
#include <boost/exception/all.hpp>
namespace bklib {
struct exception_base : virtual boost::exception, virtual std::exception {};
struct platform_error : virtual exception_base {};
struct library_error : virtual exception_base {};
} //namespace bklib
#define BK_DEFINE_EXCEPTION_I... | [
"BKENTEL AT GMAIL DOT COM"
] | BKENTEL AT GMAIL DOT COM |
2dd31f8f38f9c4bde2df9468d0fbf6362ea08ca2 | 5ad72b32f5945a15527b121001bb83f75ae8ab8a | /source/Server/Networker.h | a4809e14334f71943361a52a22385a5d1f5f801a | [] | no_license | RB-Develop/Fancy | bfd059eb32549dddf027440b0d8a36563b1e6e8b | 438163245d0111a2477412e5e4d05ef0c7298bc3 | refs/heads/master | 2021-01-22T17:15:15.020636 | 2013-06-04T21:54:10 | 2013-06-04T21:54:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | #ifndef FANCY_SERVER_NETWORKER
#define FANCY_SERVER_NETWORKER
#include <SFML/Network.hpp>
#include <NetworkData.h>
class Networker
{
public:
Networker();
bool sendPacket(const char* packet_data, const unsigned int packet_size, const char* clientAdress, const unsigned int clientPort);
private:
char* _data;
... | [
"rene.bulsing@hva.nl"
] | rene.bulsing@hva.nl |
9325b356ba1415997f900047ad3d6370f5c2d407 | 472a1bae1ac7c580ab65d892c463433cf1820707 | /Beginner/reverse-the-number.cpp | 1542f391ea284e5a0a749062c0930113d19c9647 | [] | no_license | gargi13832/Codechef-Solutions | d7699e8bc365bef564d65530e702a05941bba681 | c8fd15d4fac8744979cb316d82929946edb43d2a | refs/heads/master | 2023-01-08T07:37:23.819999 | 2020-11-02T15:51:27 | 2020-11-02T15:51:27 | 290,789,717 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include<iostream>
using namespace std;
int main()
{
int test;
cin>>test;
int no,temp=0,k;
while (test--)
{
cin>>no;
while (no != 0)
{
k=no%10;
temp=(temp*10)+ k;
no=no/10;
}
cout << temp << endl;
temp=0;
}
r... | [
"gargi.kadam17@vit.edu"
] | gargi.kadam17@vit.edu |
75913a542d721429b7d1d01c8d88ae7f9eade490 | 0a376d60e84993fd2a2f3e863a357f63adf02ad4 | /tests/libstdc++_validation/map/modifier.cc | cf8c6a48706f55113e359a95a7d487afa06de224 | [] | no_license | albertghtoun/transmem | cd73636b14b8934176cd2ea964ec800a3473c04c | 6853d91d30977100167cc9901301798f40607631 | refs/heads/master | 2020-12-30T19:58:22.789185 | 2015-06-24T02:15:26 | 2015-06-24T02:15:26 | 38,280,536 | 0 | 1 | null | 2015-06-30T01:23:54 | 2015-06-30T01:23:52 | null | UTF-8 | C++ | false | false | 6,800 | cc | #include <iostream>
#include <map>
#include "tests.h"
#include "verify.h"
/// The maps we will use for our tests
std::map<int, int>* modifier_map = NULL;
struct Foo
{
int x;
private:
explicit Foo(){};
public:
Foo(int z) : x(z) { }
};
std::map<int, Foo>* modifier_map_special = NULL;
void modifier_tests... | [
"spear@cse.lehigh.edu"
] | spear@cse.lehigh.edu |
7114777ac1a2926e9d88bf85e6c4786bf09528dd | 9ab722e6b9e4ce741cc6f865ba97e0fdc0ad14e5 | /putty-ng/browser_bubble_host.cpp | b4e4da36b930b098a097a12e74503ab1088c4479 | [
"MIT"
] | permissive | csjy309450/PuTTY-ng | b892c6474c8ff797f1d0bf555b08351da4fe617b | 0af73729d45d51936810f675d481c47e5588407b | refs/heads/master | 2022-12-24T13:31:22.786842 | 2020-03-08T16:53:51 | 2020-03-08T16:53:51 | 296,880,184 | 1 | 0 | MIT | 2020-09-19T13:54:25 | 2020-09-19T13:54:24 | null | UTF-8 | C++ | false | false | 1,459 | cpp |
#include "browser_bubble_host.h"
#include "base/logging.h"
#include "browser_bubble.h"
BrowserBubbleHost::BrowserBubbleHost() {}
BrowserBubbleHost::~BrowserBubbleHost() {}
void BrowserBubbleHost::WindowMoved()
{
// Do safe iteration in case the bubble winds up closing as a result of this
// message.
f... | [
"wlwlxj@gmail.com@b2b8c3b8-ce47-b78c-ec54-380d862a5473"
] | wlwlxj@gmail.com@b2b8c3b8-ce47-b78c-ec54-380d862a5473 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.