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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8aaec94add9cfe94d3a558994f2b30b39456c58 | 0b2980d9858f60c0dac99ca69689110dc0e8ebd4 | /loss_multiattr.hpp | b359fcad0a1f8679117d1044491f2cfd152e1eac | [] | no_license | ufownl/ai_challenger_zsl | c1659f6628e7594691e4e7ec2dda220bca0848e1 | 5a49fd7756d76fd0d8f910c4b0348b42f6fe3c01 | refs/heads/master | 2020-03-13T10:33:32.156333 | 2018-05-18T11:57:01 | 2018-05-18T11:57:33 | 131,085,675 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,151 | hpp | #ifndef AI_CHALLENGER_ZSL_LOSS_MULTIATTR_HPP
#define AI_CHALLENGER_ZSL_LOSS_MULTIATTR_HPP
#include <dlib/dnn/core.h>
#include <dlib/cuda/tensor_tools.h>
#include <dlib/matrix.h>
#include <iostream>
#include <string>
class loss_multiattr_ {
public:
using training_label_type = dlib::matrix<float, 0, 1>;
using outpu... | [
"ufownl@gmail.com"
] | ufownl@gmail.com |
6e02132b0c97f9696d61f6025bb610a3d8b7fb43 | 2a1d6dd834c7090301f181e2c63ed95cac1433da | /Assignment5/Hash.h | 252ea57d0bebc7c566bc349ad4a180ab8602615e | [] | no_license | gusfowler/cse-310-is-super-sporky | c0d1dbcd9c0f84a96e6a6ecbe66aa5218ae6f0e7 | a3be1efecde1fbecee11776031fd59a36b1cbbae | refs/heads/master | 2023-01-24T13:03:00.842853 | 2020-12-04T20:07:48 | 2020-12-04T20:07:48 | 292,693,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,846 | h | // ASU CSE310 Assignment #5
// Name of Author: August Fowler
// ASU ID: 1214774210
// Description: this is where you need to design functions on Hash hashTable,
// such as hashInsert, hashDelete, hashSearch and hashDisplay
#include "LinkedList.h"
#include <iostream>
#include <iomanip>
#include <string>
#include <cstri... | [
"gus.fowler12@gmail.com"
] | gus.fowler12@gmail.com |
5439696865d93ddb2ba42b2953ad056e0c15fb6d | 46f53e9a564192eed2f40dc927af6448f8608d13 | /extensions/browser/app_window/app_window.h | 6c0e1358f6c152aeb39a6d9c3d0043efb04f921a | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 21,798 | h | // 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.
#ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
#define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_
#include <string>
#include <vector>
#include "ba... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
f8d74c35b11b3e4e216fff87aec1b845a840a30f | c4dffea7d5ce204b2a98d003bcb36058390cfa9f | /lib/win64_vc12/llvm/include/llvm/Config/config.h | f686cc484e8f14a0cefc1ded44d95ad66633b336 | [] | no_license | yangzhengxing/blenderDev | 4053f0ee46a40f357316e120b45474216f8f2614 | 0258b773be8cdac08286148fe6a7c2fb1cc54bd7 | refs/heads/master | 2022-12-25T01:24:22.295703 | 2016-06-05T01:23:57 | 2016-06-05T01:23:57 | 60,436,159 | 0 | 2 | null | 2022-12-17T00:00:24 | 2016-06-05T00:24:05 | C++ | UTF-8 | C++ | false | false | 18,902 | h | /* include/llvm/Config/config.h.cmake corresponding to config.h.in. */
#ifndef CONFIG_H
#define CONFIG_H
/* Bug report URL. */
#define BUG_REPORT_URL "http://llvm.org/bugs/"
/* Define if we have libxml2 */
/* #undef CLANG_HAVE_LIBXML */
/* Relative directory for resource files */
#define CLANG_RESOURCE_DIR ""
/* D... | [
"493134808@qq.com"
] | 493134808@qq.com |
8391f4ca304af9bd394dfa73276df6650abd5264 | 53b24c1093781e3d859e26c2075597c51729b1b1 | /linear.cpp | dca8beaf86e99f012dc87ba91aeb3aadb81bb9c7 | [] | no_license | Hemant-Negi/Interview_Prep | a95a9301f57c6bbf59d6c5fff81b8bfb05bd2c06 | c6bee61de1513cf2edce7c4e652b8093e8cefb30 | refs/heads/main | 2023-06-14T05:02:16.440171 | 2021-07-10T15:42:14 | 2021-07-10T15:42:14 | 384,732,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
int main(){
int k;
cin>>k;
int a[100] = {12,13,10,9,5,22};
int len = sizeof(a)/sizeof(a[0]);
int i;
for(i=0;i<len;i++){
if(a[i]==k){
cout<<"found at index "<<i<<endl;
break;
}
}
if(i==len){
cout<<"not f... | [
"noreply@github.com"
] | Hemant-Negi.noreply@github.com |
c941bcc1e9cf7d12e9530933399a7f3ec2ee2f4d | 5ee222a34cc567d193cd91afe8fea43c8058d8f3 | /Camera3.h | e4414bd8dcd099b6dea0fdb6c7accfcbe67d467a | [] | no_license | KamilChmielewski/DirectXProject | d9a843ec5b37ac8c4f4e1fb582fef652265da9d2 | 9f44ebcdad3490aff5be3b947fc91d4dfa1f4fec | refs/heads/master | 2021-04-26T23:12:37.140368 | 2018-03-05T16:32:31 | 2018-03-05T16:32:31 | 123,947,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | h | #pragma once
#include <windows.h>
#include <d3d11_1.h>
#include <d3dcompiler.h>
#include <directxmath.h>
#include <iostream>
using namespace DirectX;
class Camera3
{
private:
XMFLOAT3 _eye;
XMFLOAT3 _at;
XMFLOAT3 _up;
FLOAT _windowWidth;
FLOAT _windowHeight;
FLOAT _nearDepth;
FLOAT _farDepth;
XMFLOAT4X4 _vie... | [
"kamilchmielewski24@yahoo.com"
] | kamilchmielewski24@yahoo.com |
78c2e47e8853a41fff1f0f99e42dc5a52effaf48 | 5fbfe741e7823f7eafd819177d6ad075bd9598d9 | /SpaceShipGame/src/States/GameState.cpp | edbccfdeca4b412b9b883addf3663d8e1c579231 | [] | no_license | OfficialLahusa/SpaceShip | 062a81b69b55199906296d7f5724eb42e688864a | 991a50478cae564015d1424a196cf6c1676e501a | refs/heads/master | 2021-06-27T03:01:22.018966 | 2020-11-17T13:51:29 | 2020-11-17T13:51:29 | 166,654,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,966 | cpp | #include "GameState.hpp"
/* Returns the animated player sprite, if given the skin id, the direction the player is facing, and the frame */
/* Directions: 0: Down, 1: Right, 2: Top, 3: Left */
/* Frames: 0: Standing, 1: Walk1, 2: Walk2 */
sf::IntRect getPlayerSprite(unsigned int speed, unsigned int shotstate) {
return... | [
"lassehuber@outlook.de"
] | lassehuber@outlook.de |
7acd6aab4774f2ff09ea27633a65cdde2d4371da | cc79412ad1fc0cfe56eb3719e34dab5dd43dd753 | /GameFramework/src/BehaviourTrees/Actions/MoveTowards.cpp | 9516ab044549b24c8a613182a983e2c690071610 | [
"MIT"
] | permissive | lcomstive/AIE_AIForGames | af64dba38ac5cad8cd05cc74676a4e41a5dc91ba | 4128b9984a86111871864c904a34da04c12c3293 | refs/heads/main | 2023-06-21T02:15:27.904570 | 2021-07-30T14:00:52 | 2021-07-30T14:00:52 | 380,891,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include <Framework/BehaviourTrees/Actions/MoveTowards.hpp>
using namespace Framework::BT;
BehaviourResult MoveTowards::Execute(GameObject* go)
{
if (GetValuesFromContext)
{
TargetID = GetContext<unsigned int>("Target", -1);
Speed = GetContext("Speed", Speed <= 0 ? 100.0f : Speed);
}
if (TargetID == (unsigne... | [
"lcomstive@hotmail.com"
] | lcomstive@hotmail.com |
2621b6d3c6fe23a57bcbdd149fa35a18f1698c40 | c6c4563b4326e40095dd2a1f5d0b2b14ffdab01b | /src/classify_client/main.cpp | 590b651ebb9651b1e56bc2f4de4de08ac7aeecca | [] | no_license | prcups/RubbishClassifyFrontend | 0e584c19bff05989d92763a843eebc72d4463f96 | aa71f18694bc8519c01b70166eb1d5bf2d070a4a | refs/heads/master | 2023-08-31T11:52:49.944339 | 2021-04-19T12:57:44 | 2021-04-19T12:57:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | cpp | #include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "../classify_utils/classify_utils.h"
int main(int argc, char *argv[]) {
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QGuiApplication app(argc, argv);
QQmlApplicationEngine engi... | [
"prcups@163.com"
] | prcups@163.com |
95a8305c1ead28c34ae778bf698eed3b09585e23 | a9a76aa296767db6407b5491116c59395c7af53a | /codes/cpp/lib/gurobi_ukp_model.hpp | eade4f2bcf80b9dbf2e3fc4771b6a821e242079d | [
"Unlicense"
] | permissive | henriquebecker91/masters | 6a050f9b8eae96d4a1b3cbca1276b9e404cf3f4e | df9b63324dbef72080bdd2374f61caf6512b2e54 | refs/heads/master | 2023-08-30T02:13:55.659539 | 2023-08-29T18:43:27 | 2023-08-29T18:43:27 | 41,876,890 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,599 | hpp | #ifndef HBM_GUROBI_UKP_MODEL_HPP
#define HBM_GUROBI_UKP_MODEL_HPP
#include <memory>
#include <cassert>
#include <cmath>
#include "gurobi_c++.h"
#include "ukp_common.hpp"
#ifndef HBM_PRINT_VAR
#define HBM_PRINT_VAR(var) out << #var ": " << var << std::endl
#endif
#define HBM_TOLERANCE 0.00001
namespace hbm {
tem... | [
"henriquebecker91@gmail.com"
] | henriquebecker91@gmail.com |
93fe1ce31b0dab00eb43c91a22fcb9683814d361 | 93113dbf7d8e7c61969f93e530166b8f441e0ad1 | /ProjectC/Stats.cpp | de9b3e50eb3803f5ed6ef72c26e1485c370cf922 | [] | no_license | JakubKozimorStudy/CompanyProject | f5e1cbaa0cb06fcdbefe43bc6936592decb41e9a | 07af04051c92e81fffa14fe90304e2abd4aa8edc | refs/heads/master | 2023-02-17T04:24:20.285262 | 2020-12-20T12:39:44 | 2020-12-20T12:39:44 | 312,882,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20 | cpp | #include "Stats.h"
| [
"jakubkozimor399@gmail.com"
] | jakubkozimor399@gmail.com |
f6f2ff7d5455e23818c86cbc7f156fe7725b5844 | a2fd736c7e1278f85fd21a7c33d8795d9c49dd53 | /c++learning/effictive_c++/virtual_destructor.cc | 5237d527347e9acb13aa081750174201cbd99d79 | [] | no_license | disillusion028/study-diary | 058e19b7e24c76fa41c6886ceb83be6dcdb92f55 | e184466e538bbaf3d0168fcbdd20c3c0413e3503 | refs/heads/master | 2021-01-20T16:38:29.235554 | 2018-01-05T09:44:15 | 2018-01-05T09:44:15 | 90,845,793 | 1 | 0 | null | 2017-06-11T07:26:46 | 2017-05-10T09:23:08 | C++ | UTF-8 | C++ | false | false | 374 | cc | #include <iostream>
using namespace std;
class Person{
public:
virtual ~Person(){
cout<<"Deleting a Person."<<endl;
}
/*
~Person(){
cout<<"Deleting a Person."<<endl;
}*/
};
class Student : public Person{
public:
~Student(){
cout<<"Deleting a student."<<endl;
}
};
int ... | [
"905561651@qq.com"
] | 905561651@qq.com |
fc152939125cdfade96fa2662c8082b0cdb0c614 | b3f86b4edfb9de7d393ba503bb6be7e6d1e5d6bc | /copy_n.cpp | 6753e83d69a484a421bb7bb7b71c84608dbc211d | [] | no_license | vuslysty/Stepic-CPP | 5fb90c952b79b3f1f8e07a04c6d3f35f98bd2dcd | 91432d231b3e7a8c2ac1a2dc267781056093c802 | refs/heads/master | 2022-04-21T19:12:49.238009 | 2020-04-24T21:44:46 | 2020-04-24T21:44:46 | 255,422,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | #include <cstddef>
#include <new>
#include <iostream>
template <typename T, typename U>
void copy_n(T *dest, U *src, size_t n) {
for (size_t i = 0; i < n; i++) {
// new (dest + i) T((T)(U(*(src + i))));
dest[i] = (T)src[i];
}
}
template <typename T>
void printBuf(T *buf, int size) {
for (... | [
"vladyslav.uslystyi@globallogic.com"
] | vladyslav.uslystyi@globallogic.com |
fece84b904c0c0d941186db34a7a35294c8d87de | 27d0d36de06dce507ff1ed72cac1835fb7661533 | /Engine/_lib/include/physx/PxActor.h | 9675c8a43afcce7d6c8cc6c759e865ecfbc79b20 | [] | no_license | da1ord/3d_engines | 5d0d90cf272932b246df7b44a2d793566488b6e3 | 64ada6c6d89ea1ae75975f52feb35cb936789e69 | refs/heads/master | 2021-05-04T11:19:55.292285 | 2016-04-24T08:52:38 | 2016-04-24T08:52:38 | 55,834,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,473 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related document... | [
"da1ord@home"
] | da1ord@home |
ed84047fdc2dbbb3d54d6dca85df33c29c38b1bc | 3a02dfb96fd2fa0bd417bac0b42822be6196c296 | /anim/Core/Command.cpp | e81b580fee6deda7c78e7eca1dac0493bdbebf61 | [] | no_license | spadapet/png-editor | 1d3d55d705e93db79dcf002c0230cfbe6bcccf92 | 3708536876d62b578c9405af438679e47efb6b82 | refs/heads/master | 2020-04-12T08:14:03.942466 | 2019-08-22T16:13:12 | 2019-08-22T16:13:12 | 61,907,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | #include "pch.h"
#include "Core/Command.h"
anim::Command::Command(std::function<void(Platform::Object ^)> &&execute)
: execute(execute)
{
}
anim::Command::Command(
std::function<void(Platform::Object ^)> &&execute,
std::function<bool(Platform::Object ^)> &&canExecute)
: execute(execute)
, canExecute(canExecute)
... | [
"spadapet@hotmail.com"
] | spadapet@hotmail.com |
0d75598d29b0a83a2a772c02352a8b9a19d799c2 | df0c75142637203f21f07a758a68b82597c3d105 | /matrix_mult.cpp | 820ee21526e03457b06f061e37d690ab7345fd10 | [] | no_license | rajatkantinandi/my-cpp-programs | b466577692f7225fcbd765a833f53df9ba483ddb | d6b655382fb5cea61d538efbc6952a4dd64c8e71 | refs/heads/master | 2021-09-05T19:44:23.197083 | 2018-01-30T16:22:36 | 2018-01-30T16:22:36 | 110,811,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | cpp | /*Matrix Multiplication*/
#include <iostream>
using namespace std;
int main() {
int mat1_dim[2],mat2_dim[2];
cout << "Enter the dimension of matrix 1: "<<endl;
cin >> mat1_dim[0];
cin >> mat1_dim[1];
cout << "Enter the dimension of matrix 2: "<<endl;
cin >> mat2_dim[0];
cin >> mat2_dim[1];
if(mat1_d... | [
"noreply@github.com"
] | rajatkantinandi.noreply@github.com |
b032c9151600deb4a3a8a33aa1d999f1cf9e568f | e2bdb179231d5123c636905f173f58654df876c4 | /algorithms/cpp/addTwoNumbers/addTwoNumbers.cpp | af56f83b7bc62460c817c24f1fe65f359b27f242 | [] | no_license | 410588896/leetcode | ba130c26be38a68d06b80fe7964b2bc874e39f06 | 14abd40fad66ae1585ad1564d8af6124f45eb4b3 | refs/heads/master | 2022-11-14T22:21:02.976222 | 2022-11-06T05:32:02 | 2022-11-06T05:32:02 | 291,714,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | cpp | /*
* @lc app=leetcode id=2 lang=cpp
*
* [2] Add Two Numbers
*/
/************************************************************************************************
*
* You are given two non-empty linked lists representing two non-negative integers.
* The digits are stored in reverse order and each of their nodes con... | [
"410588896@qq.com"
] | 410588896@qq.com |
e4c8aa7535676a9e3633c239fdfa2369c32f99f8 | 6efff92e0c4bc343e26010ead9bdc9e318402cdb | /Lab1-Turtlebot/src/lab1.cpp | 2053df1ed719ef031794720d9ead0b1fdb273e4e | [] | no_license | frank-qcd-qk/EECS376-Lab | 80586f3612eac8589bdc9024aad19b46368beb68 | 2c0a7b186005129f1a3fc7fc2564e7a6922d3315 | refs/heads/master | 2022-01-07T08:21:59.989060 | 2019-04-29T23:26:20 | 2019-04-29T23:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | cpp | // Makes the turtle bot move in a 3by3 foot square
#include<ros/ros.h>
#include<geometry_msgs/Twist.h>
geometry_msgs::Twist currT;
double sample_dt = 0.001;
void moveForward(double speed, double time, ros::Publisher twist_commander, ros::Rate loop_timer) {
double timer = 0.0;
currT.linear.x = speed; ... | [
"user@atlas8.EECS.cwru.edu"
] | user@atlas8.EECS.cwru.edu |
b2673a71057de2abb2400f2c437b1673dba71800 | 469b4d3432803e23eb4c3d2b2246849e8cd08ba6 | /src/qt/receiverequestdialog.cpp | 2b67bbaf4c965878721046804d5a9f9e7ff9a17f | [
"MIT"
] | permissive | cryptotradingcoin/project-CTD | 279a87cdec553874708deaf24d7506b2baa95114 | e33a968f5ba887d5337869a83504aad90ccd034d | refs/heads/master | 2020-05-21T14:34:09.522908 | 2019-05-19T09:05:26 | 2019-05-19T09:05:26 | 186,082,368 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,623 | 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 "receiverequestdialog.h"
#include "ui_receiverequestdialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#i... | [
"cryptotradingg@gmail.com"
] | cryptotradingg@gmail.com |
95e09c83015a69f9efa9a4ab9cbf1dc5c5922b6d | 3dae2a56f28b0fb05f236dcc852daf007e30c7e3 | /CSAR Simulation/Build/04/Il2CppOutputProject/Source/lumpedcpp/Lump_libil2cpp_mono.cpp | 060f901fe7ee26dd2d503e0fab1ee2bbf97fd0a0 | [] | no_license | CSAR1/CSAR | 4e9e3e27f9d0b4839d9638c957cd8064034f68c3 | 4c93f9dab0d4eab74e4b383518acda7865b8b186 | refs/heads/master | 2023-01-18T17:51:13.033360 | 2020-11-18T03:40:44 | 2020-11-18T03:40:44 | 264,189,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include "il2cpp-config.h"
#include "E:\Graduate\Graduate Design\GitHub\CSAR\CSAR Simulation\Build\04\Il2CppOutputProject\IL2CPP\libil2cpp\mono\MonoPosixHelper.cpp"
#include "E:\Graduate\Graduate Design\GitHub\CSAR\CSAR Simulation\Build\04\Il2CppOutputProject\IL2CPP\libil2cpp\mono\ThreadPool\ThreadPoolMonitorThread.cpp... | [
"34788672+JxBalance@users.noreply.github.com"
] | 34788672+JxBalance@users.noreply.github.com |
883fed5956342019ea45e71f728ebf15e51c5299 | 601e9f409ec1c5de2d5a56331979db3bcb41dc8f | /Code/InfernoEngine/Inc/Core/Private/AI/BehaviorTrees/Condition/IsStationaryBehavior.cpp | 628de7faaa6531377385173e1e059b0b8168d24e | [] | no_license | bmclaine/ProtoTowers | 1f12cd6e299be6771188e8b0738db5e6f8301b50 | c9bbe2896591f456c5fde6595d7d76f9031fd2f4 | refs/heads/master | 2020-04-17T07:10:05.522159 | 2016-08-31T01:07:14 | 2016-08-31T01:07:14 | 66,881,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | ///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Author: Doug Berg
//
// Description: BaseBehavior is the base class of ALL behaviors.
//
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "../Public/AI/Be... | [
"bizzy18@gmail.com"
] | bizzy18@gmail.com |
2c73bbc690ef994280471bd779cf6c7b71c2dd23 | ead1807fd97bc4ddff17988f572b4bccac04011d | /project/build/jsb-default/frameworks/cocos2d-x/cocos/editor-support/dragonbones/cocos2dx/CCFactory.h | 065d73d94123222197732584dce0e06e78086c87 | [
"MIT"
] | permissive | bbx0331/Luke | e1e6cdcc9c30ee3c52d00987e498fbc899a81dac | 5dba7de93fa7fec66359a16882a7e90e7dcc6660 | refs/heads/master | 2021-01-25T12:49:31.962384 | 2018-08-01T15:45:00 | 2018-08-01T15:45:00 | 123,515,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | h | #ifndef DRAGONBONES_CC_FACTORY_H
#define DRAGONBONES_CC_FACTORY_H
#include "dragonbones/DragonBonesHeaders.h"
#include "cocos2d.h"
#include "CCArmatureDisplay.h"
DRAGONBONES_NAMESPACE_BEGIN
class CCFactory : public BaseFactory
{
public:
static CCFactory* getInstance();
static void destroyInstance();
CCF... | [
"zhaonanyu@a-onesoft.com"
] | zhaonanyu@a-onesoft.com |
27cbf6553cfc2ecb5308e1eb4cbaf95f98b500b2 | 299648a8c633728662d0b7651cd98afdc28db902 | /src/thirdparty/cef_binary_74.1.16/tests/ceftests/client_app_delegates.cc | 19306d42b9e2799af747f3f236814423a593be6a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | aardvarkxr/aardvark | 2978277b34c2c3894d6aafc4c590f3bda50f4d43 | 300d0d5e9b872ed839fae932c56eff566967d24b | refs/heads/master | 2023-01-12T18:42:10.705028 | 2021-08-18T04:09:02 | 2021-08-18T04:09:02 | 182,431,653 | 183 | 25 | BSD-3-Clause | 2023-01-07T12:42:14 | 2019-04-20T16:55:30 | TypeScript | UTF-8 | C++ | false | false | 5,218 | cc | // Copyright (c) 2012 The Chromium Embedded Framework 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 "tests/shared/browser/client_app_browser.h"
#include "tests/shared/renderer/client_app_renderer.h"
using client::ClientAp... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
9839d225f6997a910cc2d5306b83df07e83ac9fa | d1a0dc918d1067e3a4af31172f6a1cc2a7eaa506 | /base/win32window.cc | 92f79d089db5d5ab1f34e539c9c3ffb850f9c98e | [] | no_license | wangscript007/rtc_base | 6a84a0e9d6d3f31afb65f1dc8524adbafd01871a | 955908c33d8a3c9f6ba4bac85980f9f95fe7cc87 | refs/heads/master | 2022-01-06T05:22:49.125571 | 2019-05-09T14:34:49 | 2019-05-09T14:34:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,694 | cc | /*
* Copyright 2004 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | [
"ixiaomo@betofly.cn"
] | ixiaomo@betofly.cn |
fb692dc4a488de0dc536c729d9cdaaa2f2342b70 | 7520b65c6356a22ac2b7adbbf6d4dfb9b6eeae97 | /MenuButton.h | b2d6ed766dd229865eaf88387b5b390dccd7b5f7 | [] | no_license | gevorgyana/SDLproj | 3814b688616b447110894a4adf7fd576b879ac8b | 40702eed46200b0c160dcd879b958ff9ba05250a | refs/heads/master | 2020-04-14T13:51:57.614198 | 2019-01-10T20:57:56 | 2019-01-10T20:57:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | h | //
// Created by artyom on 10.01.19.
//
#ifndef UNTITLED1_MENUBUTTON_H
#define UNTITLED1_MENUBUTTON_H
#include "SDLGameObject.h"
class MenuButton : public SDLGameObject
{
public:
MenuButton(const LoaderParams* pParams, void (*callback)());
virtual void draw();
virtual void update();
virtual void cle... | [
"artemhevorhian@gmail.com"
] | artemhevorhian@gmail.com |
50a8ab71e59bc24fc30b9cbb69f20e8a4b3f7a4c | e0387cf8f45d3e2b7ea3788b299f195a621708a8 | /Source/Sable/Core/ManagedObject/ObjectMethod.cpp | c6d82ebbf9f47637d0e72ff2ca93f2644100d1c1 | [] | no_license | ClementVidal/sable.sable | eea0e822d90739269e35bed20805a2789b5fbc81 | 0ec2cd03867a4673472c1bc7b071a3f16b55fb1b | refs/heads/master | 2021-01-13T01:28:54.070144 | 2013-10-15T15:21:49 | 2013-10-15T15:21:49 | 39,085,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include <Sable\Core\ManagedObject\ObjectMethod.h>
using namespace Sable;
CObjectMethod::CObjectMethod()
{
m_Method = NULL;
m_Object = NULL;
}
CObjectMethod::CObjectMethod( CManagedObject& object, MethodPtr method)
{
m_Method = method;
m_Object = &object;
}
Bool CObjectMethod::operat... | [
"clement.vidal@lam.fr"
] | clement.vidal@lam.fr |
8580c93f44f74fe58309cd2487442916758b6069 | b17bd5aa1c40b598543441f561c0a71e16d6ee97 | /src/PhysicalConstants.cpp | dbef70d90fb0726629dc7ab079f92072370d5450 | [] | no_license | Liangshiweiii/Opensim | b15880c84ff383f4b66ca30be091edc9a839a4eb | 9efb8de50865a53f687adcad04d51c9db69e4801 | refs/heads/master | 2023-03-27T22:14:45.707776 | 2021-03-20T02:35:49 | 2021-03-20T02:35:49 | 345,040,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include "Info.h"
#include "PhysicalConstants.h"
#include "Tools/UserInterface.h"
namespace opensim
{
using namespace std;
/*************************************************************************/
double PhysicalConstants::R = 8.314; // in Jouls/(mole*K)
void PhysicalCons... | [
"Liangshiweii@126.com"
] | Liangshiweii@126.com |
fa4656f831815592f8c309c8708e0d7fb0222698 | 7fc64f493a4b2164e302b0f97a6b9ed159edd8d3 | /src/mzdb/writer/threaded_peak_picker.h | e51da8fcecf9ef457d1f0f4bf6ed98a4c155b54d | [
"Apache-2.0"
] | permissive | jerkos/pwiz-mzdb | b16bc6225546d03a20ded80205ce82675cf9e0e7 | edeaefc4388e7c9c1b48dfa2d69ced3a080a9535 | refs/heads/master | 2020-05-31T00:10:56.392930 | 2015-01-08T08:44:11 | 2015-01-08T08:44:11 | 17,526,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,135 | h | #ifndef MULTITHREADEDPEAKPICKER_H
#define MULTITHREADEDPEAKPICKER_H
#include "boost/thread/thread.hpp"
#include "pwiz/data/msdata/MSData.hpp"
#include "peak_finder_utils.hpp"
using namespace std;
namespace mzdb {
class mzMultiThreadedPeakPicker {
private:
/*attribute */
map<int, DataMode>& m_dataModeByMs... | [
"cram@hotmail.fr"
] | cram@hotmail.fr |
319093bdd6f9d0788653907676af2f416a05eab0 | 8b53ce632b3737906ddeaef4b05ef8cfd693c42d | /Lesson_1/Task_8/main.cpp | f7e88628a71d5eca58872228465fbc8a42a7da11 | [] | no_license | VetalHardline/NG_2020_Krivokhizha_Vitalya | 3e96ab04901d1122cd6963447685aec60a8ba03c | acbb1196947241e0ade853dc4869e40fa1085c63 | refs/heads/main | 2023-02-27T12:33:57.187031 | 2021-02-04T16:06:51 | 2021-02-04T16:06:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <iostream>
using namespace std;
int main()
{
int num = 1;
int output = 1;
int siize;
int width = 1;
cout << "Enter size of the christmas tree - ";
cin >> siize;
width = (siize * 2) - 1;
while (num <= siize)
{
while (output <= siize - num)
{
cou... | [
"vvvetal2003@gmail^Com"
] | vvvetal2003@gmail^Com |
3e14f15c18183aa907bb12334cb9b59025491b6b | 6c57ac845ed9980126f54774bb4288ef264aa21a | /src/chart/datastage.cpp | 11f51c61b310873d89bd8aa35b79722a92802ac4 | [] | no_license | HiddenSnail/EnergyPlusProject | 7d7717fc58f943ca40fac8cc8a8c3fa83968e9cf | 7a59960543f1f8ef6de94dd99a0fe974857b9200 | refs/heads/master | 2021-06-24T19:07:11.478342 | 2017-08-25T03:46:27 | 2017-08-25T03:46:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,729 | cpp | #include "./chart/datastage.h"
QHash<QString, int> DataStage::_monthRange =
{
{"Jue", 744},
{"Feb", 672},
{"Mar", 744},
{"Apr", 720},
{"May", 744},
{"Jun", 720},
{"Jul", 744},
{"Aug", 744},
{"Sep", 720},
{"Oct", 744},
{"Nov", 720},
{"Dec", 744}
};
QHash<QString, QStrin... | [
"741409033@qq.com"
] | 741409033@qq.com |
03962cb33d91da5c77e4e5522849804b15bb1552 | 96d75738600c6d295266fd4af5e81957a3a26a26 | /clients/include/testing_rot_strided_batched.hpp | 9d9ff2ae5d50b19780c087738bd35aedcf075d67 | [
"MIT"
] | permissive | streamhsa/rocBLAS | ab92a1dfcf92893a93c893ecb210ce455d96f2bd | effaa52647bfcbc1dc90db2a109e05ea230604d9 | refs/heads/develop | 2020-08-04T00:53:54.099353 | 2019-11-02T23:48:29 | 2019-11-02T23:48:29 | 211,943,149 | 0 | 0 | MIT | 2019-11-02T23:48:30 | 2019-09-30T19:50:32 | null | UTF-8 | C++ | false | false | 10,141 | hpp | /* ************************************************************************
* Copyright 2018-2019 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "cblas_interface.hpp"
#include "norm.hpp"
#include "rocblas.hpp"
#include "rocblas_init.hpp"
#include "... | [
"noreply@github.com"
] | streamhsa.noreply@github.com |
7c8408627a8b58102976f5eeb05704c467b2fd0e | aaf59df8263a4ba01148870138691313b80b2edf | /src/DS3231.cpp | 97b3dd327a429be507898be3d2ebdd698470bdea | [
"MIT"
] | permissive | rezaneam/DS3231 | 2be36c5f0fabb54d725a242966e72f4d9ca08377 | 9a1f87d0cce1244774e2ba4007b65ad53e298a90 | refs/heads/main | 2023-07-14T22:44:38.538950 | 2021-08-12T18:38:39 | 2021-08-12T18:38:39 | 375,432,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,249 | cpp | #include <DS3231.h>
/*!
* @brief Initializing the libary
* @param _wire TwoWire interface - defalt Wire
* @return true if any DS3231 sensor found
*/
bool DS3231::Initialize(TwoWire &_wire)
{
wire = &_wire;
return (read(DS3231_REG_STATUS) != 0xFF);
}
void DS3231::GetTime(time_t *time)
{
tm time_t... | [
"mr.naeemabadi@gmail.com"
] | mr.naeemabadi@gmail.com |
1f44964390c5b77e710b508a3ea8b6c092fdffaf | 9e7bc46001fd865b045ffe2619e690c508fe5e41 | /src/runtime/vm/executable.cc | c72e70fd6f662c8f548bfba84199bf62d15cb131 | [
"Apache-2.0",
"Zlib",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"BSD-2-Clause"
] | permissive | Previousletters/microprocessor-TVM | 6655dfd44d5ae9466c5281da13c1ad3efe80036d | 7432f3a383d017d59d63011b87ca7bb42f96c9dd | refs/heads/main | 2023-01-20T06:45:58.291504 | 2020-11-30T08:37:58 | 2020-11-30T08:37:58 | 317,151,625 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,009 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [
"previous@PreviousLetters.localdomain"
] | previous@PreviousLetters.localdomain |
cf791db301f8731ed3326f8561d79ddfcc275e8e | 2b3b5203233ebb11ccbf3c9830de9e26cc2785ee | /XRay/xrCore/FileSystem.cpp | d67fe1ed265aab35ef509bbe37a965635f9f2785 | [
"Apache-2.0"
] | permissive | OLR-xray/XRay-NEW | b308aeefada0f0361706e8e57f23ebafc7fe3bc5 | f6988c98b45a9ff4eefec9538c6dffadef170ed7 | refs/heads/master | 2021-01-24T19:12:44.173491 | 2016-02-17T21:42:31 | 2016-02-17T21:42:31 | 50,777,026 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,854 | cpp | //----------------------------------------------------
// file: FileSystem.cpp
//----------------------------------------------------
#include "stdafx.h"
#pragma hdrstop
#include "cderr.h"
#include "commdlg.h"
EFS_Utils* xr_EFS = NULL;
//----------------------------------------------------
EFS_Utils::EFS_Utils( )
{
... | [
"vlad_tislenko@mail.ru"
] | vlad_tislenko@mail.ru |
d09f1cbbbd683842f15c75c011cf0659c4fd99a4 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /ash/display/cursor_window_controller_unittest.cc | e80a1e81a506a7bf11f82062bc454174b8bfa9f2 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,588 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/display/cursor_window_controller.h"
#include "ash/display/display_util.h"
#include "ash/display/window_tree_host_manager.h"
#includ... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
7071092d6d59b1232b44433f45659e861daa2bb3 | 596b4a6fa7f733bb173ee7bf048ba8e3c6975baa | /Nmea.cpp | 43d5f88c66d96e40afa0f3ad0c30eba61aa42422 | [] | no_license | idaohang/GNSS_Viewer_V2 | de35d57712fd8fc56d7b43b61484039b1e803398 | 59305cc1b8988c6b1000e7760d0ef034cb9b3d88 | refs/heads/master | 2020-12-25T06:13:50.690423 | 2015-07-21T08:18:53 | 2015-07-21T08:18:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,687 | cpp | #include "StdAfx.h"
#include "NMEA.h"
#include "GPSDlg.h"
using namespace std;
Satellite satellites_gps[MAX_SATELLITE];
Satellite satellites_gnss[MAX_SATELLITE];
Satellite satellites_bd[MAX_SATELLITE];
Satellite satellites_ga[MAX_SATELLITE];
GnssData NMEA::gnssData;
NMEA::NMEA_Type NMEA::nmeaType = NMEA::NtUnknown;
b... | [
"alex.lin@skytraq.com.tw"
] | alex.lin@skytraq.com.tw |
991963c1b68d641bd7a1198145bcd3b09ab66df5 | 3d532e8bce43be073f15c8b46afab3e04211bbf1 | /02_아두이노_응용/01_초음파센서/02_응용1/02_hc_sr04_example/02_hc_sr04_example.ino | c745325a5f1fd195d0d61a4b5319fb3699d033f4 | [] | no_license | oroca/Asul-E | a31a50224fa9a2317e431eb9bec2e7bcaf00a293 | 872bcfdc360763a81a92db1f758705082e5732ba | refs/heads/master | 2021-09-19T08:05:15.849332 | 2018-07-25T10:08:16 | 2018-07-25T10:08:16 | 113,874,432 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | ino | // 초음파 핀 정의하기
const int trigPin = 13;
const int echoPin = 12;
// led 핀 정의하기
const int ledPin = 11;
long duration; // 시간 변수
int distance; // 거리 변수
//led 켜지는 거리 = 10cm
const int ledOnDistance = 10;
//led 꺼지는 거리 = 15cm
const int ledOffDistance = 15;
int ledStatus = LOW;
//거리를 이용해서 LED 상태 표시 함수
void ledProc(int distanc... | [
"chandong83@naver.com"
] | chandong83@naver.com |
1e027c952418ef89abc7a24d5bd2b5adeaa8948f | 8784b06b4ddb41ce72318953fedb5305043a8a3b | /src/init.cpp | b448a2805acbdf022bba0693ddd4336596f61818 | [
"MIT"
] | permissive | goldenarchive/advantage-project | b340c56ec20c9490e76e074eab326518efb849f3 | 0a5534420c59ae0dbda562b23b161666fc840000 | refs/heads/master | 2020-03-27T09:40:44.664736 | 2018-08-27T22:49:37 | 2018-08-27T22:49:37 | 146,362,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,351 | 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 "init.h"
#include "addrman.h"
#include "main.h"
#include "chainparams.h"... | [
"you@example.com"
] | you@example.com |
00b0c54eb5ce8bc8d94682958d7ea9ee026b8d8f | 2da47abec7c8c35356a0902cbe790c3f3558cb6a | /Week4/D - RSA Attack/D - RSA Attack/main.cpp | 6b250dbb84f625c7fb864fc70a4b63946f55e286 | [
"MIT"
] | permissive | coolspring1293/Algorithm_2015_Later | b0b79cc7f87a1103abf825c590eab518cd936a5a | 7be91b0711d430245c52f351f339864853896f90 | refs/heads/master | 2021-01-10T13:14:41.719886 | 2016-01-26T07:45:09 | 2016-01-26T07:45:09 | 47,117,253 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp | //
// main.cpp
// D - RSA Attack
//
// Created by Kieran Will on 10/20/15.
// Copyright © 2015 Kieran Will. All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <cmath>
#define MSIZE 32015
using namespace std;
int m[MSIZE], _count = 0;
bool flg[MSIZE];
int K, e, n, c;
int p, q, x, y;
void gcd... | [
"coolspring1293@outlook.com"
] | coolspring1293@outlook.com |
48963ed84edc0c89b6bf64076a47cb3f586f76b1 | b82659cb3c5c065a084424a1b4e237292fbf72f8 | /VulkanEngine/VulkanEngine/GameObject.h | 51c1d05c7238d51f19a2b4fc7087c9b5e3dd998f | [] | no_license | WestonJMarshall/VulkanEngine | bb1d421b72c472697c5661649cf6e8b59c22a50a | a9086e6dc6355a1dfaa0e00bb5e20d70c446d45a | refs/heads/master | 2023-05-08T05:19:48.363003 | 2021-03-08T21:16:37 | 2021-03-08T21:16:37 | 341,319,101 | 0 | 0 | null | 2021-03-11T16:12:07 | 2021-02-22T19:51:27 | C++ | UTF-8 | C++ | false | false | 2,514 | h | #pragma once
#include "pch.h"
#include "Transform.h"
#include "Mesh.h"
#include "PhysicsObject.h"
class GameObject
{
private:
std::shared_ptr<Transform> transform;
std::shared_ptr<PhysicsObject> physicsObject;
std::shared_ptr<Mesh> mesh;
int instanceId;
std::string name;
bool active;
public:
#pragma region ... | [
"jxd8037@g.rit.edu"
] | jxd8037@g.rit.edu |
7aa4cec507e5a55399770e0d9a9f71fdee7d2f7f | c8d7a0c0970582d179babaadc514ab27f226db04 | /Thirdarty/opengv/src/absolute_pose/modules/gpnp2/reductors.cpp | eb06c1dcb17a666ed1751356f5309e4620edb028 | [] | no_license | wf-hahaha/orbslam_hfnet-SuperGlue | 47e199fd9ef4bedf7f9f3adb2ce63e7494dca4d9 | 9d415289705fdacb7dd57da4c9a135b390d10617 | refs/heads/master | 2022-11-24T04:35:55.636617 | 2020-07-27T10:54:17 | 2020-07-27T10:54:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,347 | cpp | /******************************************************************************
* Author: Laurent Kneip *
* Contact: kneip.laurent@gmail.com *
* License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. *
... | [
"yinjiahao505@163.com"
] | yinjiahao505@163.com |
b1e581d4cc5c2e55dc6b68d0394aeea94b2d5769 | 9d2aec0bc8a3187523cc5a66bcae62ef4bbac3f5 | /cyan/src/engine/script/chai_engine.hpp | cc4e8cc77e8dc141793d2dd5e58049baf3794b76 | [] | no_license | akortman/cyanengine | 5732571ef17f6bc722bc844809cf78883f198b85 | ab1078576ec95b4b1ab7bce3f932a7c5ce20c326 | refs/heads/master | 2023-06-29T10:27:18.035108 | 2021-04-21T08:17:55 | 2021-04-21T08:17:55 | 358,542,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,091 | hpp | #pragma once
#include <utility>
#include "chaiscript/chaiscript.hpp"
namespace cyan {
struct ChaiEngine {
/// Construct a ChaiEngine.
ChaiEngine() : chai() {}
/**
* RunReport is returned by functions that execute chai code.
* Errors will always result in a log warning, ... | [
"april.kortman@gmail.com"
] | april.kortman@gmail.com |
2e66e7998236bd25d2e42ef3cc21ae78901a24b3 | 9223819f344d3864d856ab55deb6899e871bb08e | /test/UnitTest/generated/Store_Manager_Ringbuffer_UnitTest_GeneratorTestCode.h | 45e25b3440c646db7eeaf70bd0c83930eda4f5b9 | [
"MIT"
] | permissive | ConnectedVision/connectedvision | f78d9444025fc942dc6a91efbc15358474e8fa93 | 210e49205ca50f73584178b6cedb298a74cea798 | refs/heads/master | 2021-01-15T22:46:25.003207 | 2019-01-23T18:16:39 | 2019-01-23T18:16:39 | 99,911,987 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | h | // auto-generated header by CodeFromTemplate
// CodeFromTemplate Version: 0.3 alpha
// Store_Manager_Ringbuffer_UnitTest_GeneratorTestCode.h
// This file implements the Store_Manager interface for a ringbuffer
// It is generated once and will NOT be OVERWRITTEN by CodeFromTemplate.
#ifndef Store_Manager_Ringbuffer_Uni... | [
"30321609+connected-vision@users.noreply.github.com"
] | 30321609+connected-vision@users.noreply.github.com |
894a6b202dee4932895d5f7d3ae297531956bdb7 | 63adbec842c5fdb03d415011e9f804c4e502785b | /FinalProjectATM/FinalProjectATM/Atm.cpp | cb9ddcffbab4396c6d145ce49b8b1c2124bbd1ac | [
"Apache-2.0"
] | permissive | Tsuzee/PortfolioProjects | 611bacc35accdb6289bc0a03a989bb452dbe833d | f2edc4fb3e3dd534273f88c03eafdedde2c85291 | refs/heads/master | 2021-01-01T06:11:45.609563 | 2018-09-26T17:36:25 | 2018-09-26T17:36:25 | 42,064,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,891 | cpp | //Atm.cpp File for Atm.h
//Darren Farr
//Final Project ATM
//MW 10:00
#include <iostream>
#include <iomanip>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include "Atm.h"
using namespace std;
//constructor
Atm::Atm()
{
pinCount = 0;
amount = 0;
checkingBalance = 1000;
savingBalance = 2000;
userChoic... | [
"darrenmichfarr@gmail.com"
] | darrenmichfarr@gmail.com |
69e9b74c313be1aaaeca3f8c78cdf02ae2459ddf | 76144d1dc83b7deb43c6f62d4b24d620236bef85 | /ClientDemo/DlgPosChanFilter.cpp | cccf68b045818f9692f789a1982f504dbe8c09fd | [
"MIT"
] | permissive | qinzhenyi1314/hkvs | e271b76af392e4753f6c8d064066aa0548ec09a2 | 569c57b03adf5723ccc1df0de6c96858062d23e1 | refs/heads/master | 2021-06-23T05:32:54.711238 | 2017-09-03T05:40:55 | 2017-09-03T05:40:55 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,824 | cpp | // DlgPosChanFilter.cpp : implementation file
//
#include "stdafx.h"
#include "clientdemo.h"
#include "DlgPosChanFilter.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgPosChanFilter... | [
"centercao2010@163.com"
] | centercao2010@163.com |
4f2e098ceba0d1b711ae82ed61b135a2ed08383c | 84f2278ea66c63b620b7118ce8f2745bf4b03198 | /1_white_belt/week_4/4_08/1/rational_interface.cpp | c6351b6114eec41eda87d048166b105828f685e4 | [] | no_license | VasilyevEvgeny/cpp_development_fundamentals | 9f86178f53043c988fc9ac4dc025124aeb944d1c | 40b47b9d5500f97ffcf787b2de92414014b51005 | refs/heads/master | 2023-09-01T00:39:44.338258 | 2023-08-21T17:48:06 | 2023-08-21T17:48:06 | 135,203,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | cpp | // https://www.coursera.org/learn/c-plus-plus-white/programming/pZwQ4/klass-rational
#include <iostream>
using namespace std;
class Rational {
public:
Rational() {
numerator = 0;
denominator = 1;
}
Rational(int new_numerator, int new_denominator) {
numerator = new_numerator;
denomina... | [
"vasilev.evgeniy@physics.msu.ru"
] | vasilev.evgeniy@physics.msu.ru |
b5e45117c563eb264fbf24c9284d7a7e30b974ee | 3bc5d22175e2e32dcfd007bd94039ea8fa0a4b4e | /index/IndexReader.cpp | 41c9f0c0f3df6c918a37dab36c995f97bdb0b550 | [] | no_license | longmm/lucene--Distributed- | 3d21b1fdc3f03894420880498ecba075e721b1b4 | 174857cea15dd1312c2a00ae8f53ccb4603f758a | refs/heads/master | 2021-01-01T05:35:14.628982 | 2017-02-08T08:50:00 | 2017-02-08T08:50:00 | 14,352,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,889 | cpp | #include "index.h"
using namespace std;
using namespace lucene_index;
using namespace lucene_util;
lucene_index::IndexReader::IndexReader(wstring dir){
this->dir=dir;
this->sis=new SegmentInfos(dir);
this->srs=new vector<SegmentReader*>();
init();
init_V_Term();
IndexFileDeleter... | [
"longmm1988@sina.com"
] | longmm1988@sina.com |
04637fce2ccf96cee904e4f4d5ce3f17c47bbbf6 | 7c3176c3e22f92417ac007ce2bee96ef6e860227 | /SMS_Broadcast/SpeedSms/SerialCommunication.cpp | 379b4e9a362015305402bbed4561188ecb7de59f | [] | no_license | pnsb87/SMS_WAP_SENDER | 38c3f2ad614ab44c7f481e8ccff7bef9e4fe47ff | 4ca630c6be7f3c994177b52641efce6e8c024c39 | refs/heads/master | 2021-01-17T09:10:35.982961 | 2017-03-05T15:46:41 | 2017-03-05T15:46:41 | 83,980,453 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,379 | cpp | #include "StdAfx.h"
#include "SerialCommunication.h"
#include "UsbInterface.h"
#include <string>
using namespace std;
SerialCommunication::SerialCommunication()
{
m_serialParam.hCom = INVALID_HANDLE_VALUE;
}
string SerialCommunication::GetNumber()
{
string sPhoneNumber;
DWORD nWriten = 0;
DWO... | [
"noreply@github.com"
] | pnsb87.noreply@github.com |
3b3348cb055f01e45d0a4d33ba20851dc2beb836 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5753053697277952_1/C++/wfe2016/gcj3a.cpp | 25a0289a96b9a97ba99e86a3680e35050d08971f | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | #include <iostream>
using namespace std;
int main()
{
int T;
cin >> T;
for (int i = 0; i < T; i++)
{
int N;
cin >> N;
int sen[N];
int sum = 0;
for (int j = 0; j < N; j++)
{
cin >> sen[j];
sum += sen[j];
}
int evac = 0;
cout << "Case #" << i+1 << ": ";
while (evac < sum)
{
int top =... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
bea7479351a0bf9acf22f343adcf877fe406cf8f | af3d55c6d71cc5670eecd0d79045f0a01a4badf2 | /Plugins/CaptionMod/SourceSDK/tier1/strtools.cpp | bb4593aa4bd1f38fda57ac71c20e0b7d8ce897c4 | [
"MIT"
] | permissive | fengjixuchui/MetaHookSv | 2a1c43385fd75d88a4eb654042cdd223d39aba8a | a07d0629338100342dc4f8f1bb2b830455d214b0 | refs/heads/main | 2023-07-20T06:54:00.174206 | 2021-09-04T05:58:16 | 2021-09-04T05:58:16 | 331,490,232 | 1 | 1 | MIT | 2021-09-04T05:58:17 | 2021-01-21T02:21:08 | C++ | UTF-8 | C++ | false | false | 43,353 | cpp | //===== Copyright ?1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose: String Tools
//
//===========================================================================//
// These are redefined in the project settings to prevent anyone from using them.
// We in this module are of a higher caste and ... | [
"113660872@qq.com"
] | 113660872@qq.com |
c0675bdb8eca178c06d393abaeef54f68e3d1d67 | 27d485637faabbc56ceee5e8d75cd23dc66acbcc | /native/physics3d/src/reactphysics3d/engine/ConstraintSolver.cpp | 1edb607ad3ac5281f95455a88739c0935c99baf1 | [] | no_license | d954mas/game-space-defender | 98d9d6b23279fd8fdae5e537e6e49649288007fa | ab208b9636882f990eb1325debec89fba94fcdeb | refs/heads/master | 2023-04-06T17:57:54.148986 | 2021-04-23T09:21:45 | 2021-04-23T09:21:45 | 356,860,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,232 | cpp | /********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2019 Daniel Chappuis *
**************************************************************************... | [
"d954mas@gmail.com"
] | d954mas@gmail.com |
b7b440d108eff4d29979565894a16c5ef6fcb755 | 780ade36305af731aa0acbc1e2d2c32fdd69c638 | /src/zlsrchain.cpp | 059fa4ff2c17d2f9ac65e5647fbf42515bdde863 | [
"MIT"
] | permissive | LeisureCoinProject/LSR-HardFork | ec21d3cec756ccbc98ac1936e6674d0c81ecf76c | 617c6da70da92a7d56c5ace0797c854dcd152066 | refs/heads/master | 2020-07-15T13:30:53.152724 | 2019-09-09T21:36:16 | 2019-09-09T21:36:16 | 205,573,025 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,456 | cpp | // Copyright (c) 2018 The leisurecoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "zlsrchain.h"
#include "invalid.h"
#include "main.h"
#include "txdb.h"
#include "ui_interface.h"
// 6 comes from OPCODE (... | [
"ultrapoolcom@gmail.com"
] | ultrapoolcom@gmail.com |
bf42945df4785e862813800dc1caa17fd90a010b | 51faca0ffd1c452a427e551cd8c528a4ac80fc75 | /vg/gg/B.cpp | 83ad3921072d2e3f10b365d63a6373d6696d0c56 | [] | no_license | xLLLxLLLx/xLLLx | 37f4127a34374b27f14fe856d854c9a13a9b2e28 | 7ec2ddf39d903c0cdfd52268edd44b2ccbe7e73b | refs/heads/master | 2020-04-18T16:19:24.099657 | 2019-11-03T05:11:41 | 2019-11-03T05:11:41 | 167,631,326 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 10;
char lx[N], ll[N];
int main() {
scanf("%s%s", lx + 1, ll + 1);
int lenx = strlen(lx + 1);
int lenl = strlen(ll + 1);
int pos = 0, tmp = 0, ans = 0;
for(int i = 1; i <= lenl; ++i) {
if(ll[i] == '1') {
pos ^= 1;
}
if(lx[i] == '1') {
t... | [
"2656020973@qq.com"
] | 2656020973@qq.com |
909cf862f361c44bb0afd3663692ed18c20ec403 | 233a9c9d99557ce9e54da126c8c7cb813bb051d2 | /engine/src/effect/lumaexposure.cpp | 3e7f161d74fa582d9543777ce41925f8030e76e7 | [] | no_license | maattam/engine | 1c512b9bd43257c659489d3ab7b02575689b3ca5 | 562de4bf2ade38c6bc3ecd7050763f49f7fa7fbb | refs/heads/master | 2022-09-29T02:47:08.499123 | 2014-10-26T08:36:14 | 2014-10-26T08:36:14 | 269,517,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,436 | cpp | //
// Author : Matti Määttä
// Summary :
//
#include "lumaexposure.h"
#include "mathelp.h"
using namespace Engine;
using namespace Engine::Effect;
LumaExposure::LumaExposure()
: exposure_(), width_(0), height_(0), sampleLevel_(0)
{
samplePbo_[0] = samplePbo_[1] = 0;
writeIndex_ = 1;
readIndex_... | [
"lesetus@gmail.com"
] | lesetus@gmail.com |
f79096247c8af8d4f7bac6686442e8b73b64d841 | 866cd863ad081b89630bc6ae6ae726036af8a60e | /src/qt/bitcoingui.cpp | d3df07f3f5c6cf22ce5e4d7bcf0465166347988c | [
"MIT"
] | permissive | diabloblack/StrayaCash-Core | 52022b3fb512ba1ab0078787cf2b590bd586bdd6 | 31ec3ff33ff261fa4fc23f64115a136364397a15 | refs/heads/master | 2020-03-22T15:33:00.754318 | 2019-10-08T20:50:06 | 2019-10-08T20:50:06 | 140,260,997 | 0 | 0 | MIT | 2019-10-08T20:50:07 | 2018-07-09T09:14:19 | C++ | UTF-8 | C++ | false | false | 51,573 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The strayacash developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mi... | [
"david@adelaidecreative.com.au"
] | david@adelaidecreative.com.au |
4f2063d1aad014f91d518da2b9e1f1486c9327d2 | d7caf4d6fd5d4e5d442c1742708e69061cb3e789 | /VUobjprog3 su vector/main.cpp | b007e6da8cd6557566043e523203b78589a90278 | [] | no_license | rokas28/vector | 6f3aed85773f9c171238c00b3df194c4e963207c | 54b9db8b0ff8934dd115f6bdb0f1f583e4bd677f | refs/heads/master | 2020-05-20T07:59:54.383866 | 2019-05-22T13:23:50 | 2019-05-22T13:23:50 | 185,463,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,098 | cpp | #include "headers/main_header.h"
#include "headers/studentas.h"
#include "headers/zmogus.h"
int main() {
vector<Studentas> stud;
vector<Studentas> vargsiukaii;
std::chrono::time_point<std::chrono::high_resolution_clock> start, end;
std::chrono::duration<float> duration;
int ilgVar = 0;
int il... | [
"rokas.tamulevicius28@gmail.com"
] | rokas.tamulevicius28@gmail.com |
39cfc114e9d4e1d2533af722f8fb385836efc1d2 | bf28b4c936056f77ed416636a5f8b2e946e3d6f0 | /Source - Juan Rodriguez/Battleship - Juan Rodriguez/main.cpp | 185c303db002bebdec44a5b735449b48c7d71fc1 | [] | no_license | timrodz/cpp-Battleships | 59d2db455b53e688cf2e30f7f05590dd87929b05 | d8b0289cf79031355916d1e951a94ef6544436e4 | refs/heads/master | 2021-05-30T21:10:05.683399 | 2015-11-10T05:12:14 | 2015-11-10T05:12:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | cpp | //
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2015 Media Design School
//
// File name : main.cpp
// Description : This file contains the main loop with all the game's states
// Author : Juan Rodriguez
// Mail : juan.rod6618@mediadesignschool.c... | [
"timrodz@gmail.com"
] | timrodz@gmail.com |
49cf01b2004bd6071972c224acf96809390ce9a0 | 2870300e12314f8d64f73fe7e457065e5b002aee | /面向对象程序设计基础/homework2up-datedcode/problem2/student.cpp | 09ff4516abecac3161e4bd3f1a2c15a83cf7412c | [
"MIT"
] | permissive | xuanquanfeipu/Personal-Homework | 316e2d52750ff3857f2ff90e9a9bde5ac005b2ed | 2d0a27010da8c24aecc161c0ba17fa01febd45e7 | refs/heads/master | 2020-05-07T16:27:59.260782 | 2020-04-15T01:42:34 | 2020-04-15T01:42:34 | 180,683,559 | 0 | 1 | MIT | 2020-04-15T01:42:35 | 2019-04-11T00:22:21 | C++ | UTF-8 | C++ | false | false | 801 | cpp | #include <bits/stdc++.h>
#include "student.h"
/**
* [student::init description]
* @Author n+e
* @DateTime 2017-04-02
* @param str original information in this string
* change info in str into id & email
*/
void student::init(std::string str)
{
std::stringstream ss(str);
ss >> id >> email;
}
/**
* r... | [
"463003665@qq.com"
] | 463003665@qq.com |
5219b15d769fe73c5b98c8973ba8fd19eab17c7d | 050c8a810d34fe125aecae582f9adfd0625356c6 | /A. Neverending competitions/main.cpp | 4c146cf948c6778f9e57b1e943c479ef721e1f82 | [] | no_license | georgerapeanu/c-sources | adff7a268121ae8c314e846726267109ba1c62e6 | af95d3ce726325dcd18b3d94fe99969006b8e138 | refs/heads/master | 2022-12-24T22:57:39.526205 | 2022-12-21T16:05:01 | 2022-12-21T16:05:01 | 144,864,608 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include <cstdio>
using namespace std;
char C[20];
char home[20];
int a,b;
int N;
int main()
{
scanf("%d\n",&N);
gets(home);
for(int i=1;i<=N;i++)
{
gets(C);
if(C[0]==home[0]&&C[1]==home[1]&&C[2]==home[2])
a++;
else
b++;
}
if(a==b) puts("home");
... | [
"alexandrurapeanu@yahoo.com"
] | alexandrurapeanu@yahoo.com |
f632f4fdb5c7b4d8976e5b610ebb9759e546345c | 18a6f49856cc2932ddb17f3b3f868712935fdbd6 | /emulator_hw/hardware_model/atom.h | eb6a12fc5602e687f7b6647f5096c47d781af969 | [
"MIT"
] | permissive | thekyria/elabtsaot2 | 2ed8db937dc0ed0a1df00b2baaff86c09327689a | dc4d20be9f6dd8c80b9ae8fe39d35927e0488677 | refs/heads/master | 2022-12-22T11:23:03.914263 | 2022-12-10T15:15:19 | 2022-12-10T15:15:19 | 97,841,144 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,989 | h | /*!
\file atom.h
\brief Definition file for class Atom
This class is part of the elab-tsaot project in the Electronics Laboratory of
the Ecole Polytechnique Federal de Lausanne.
\author Theodoros Kyriakidis, thekyria at gmail dot com, Electronics Laboratory
EPFL
*/
#ifndef ATOM_H
#define ATOM_H
#include "node.h"
#i... | [
"thekyria@gmail.com"
] | thekyria@gmail.com |
fee49f0fef723a9d24965949ac6a6a2f71a34fa1 | 5a0a4583a7d88c2dd34df2d67b1556e38cba9d68 | /kap41Container_lst168-41multiset-equalrange.cpp | 0104fc84383f08d73d051d340be131e2c5b89e67 | [] | no_license | Paul-Arts/cplus | bde0adc63b2d8f32bb6d209696699d0e08c38511 | 7f90a98bd05f69e8861df99d08011cf042883884 | refs/heads/master | 2020-12-01T02:00:50.339970 | 2019-12-28T00:52:26 | 2019-12-28T00:52:26 | 230,536,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | #include <set> //#
#include <iostream> //#
#include <string>
#include <iterator> // distance
struct Person {
std::string name;
friend bool operator<(const Person &a, const Person &b) {// nur erster Buchstabe
return a.name.size()==0 ? true
: (b.name.size()==0 ? false... | [
"paul@netwerk"
] | paul@netwerk |
8deabbd5e7c478e5ef625a5efc2c12512a88d811 | 2bacd512d280b284a31106157ccde45b469e659c | /leetcode_C++/leetcode_C++/code_153.cpp | 96515afcf2f6ffa90948fc17256f4c3aec4235d8 | [] | no_license | hapiii/leetcode | b4e7f1b04f17cb14008f0923bb550b973fa56331 | cb8ab990afd1e70b08d19079bee71aeef0b0e477 | refs/heads/master | 2023-07-08T22:11:55.076411 | 2023-06-28T07:28:43 | 2023-06-28T07:28:43 | 193,800,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | //
// code_153.cpp
// leetcode_C++
//
// Created by hapii on 2020/1/5.
// Copyright © 2020 hapii. All rights reserved.
//
#include <stdio.h>
#include <vector>
#include <iostream>
using namespace std;
/*
假设按照升序排序的数组在预先未知的某个点上进行了旋转。
( 例如,数组 [0,1,2,4,5,6,7] 可能变为 [4,5,6,7,0,1,2] )。
请找出其中最小的元素。
你可以假设数组中不存在重复... | [
"869932084@qq.com"
] | 869932084@qq.com |
35289ab1b9476bbd672f320459035c70334472cc | b4c2427ece02bc1bc1f5e6279539ac884efcb323 | /Codeforces/codeforces939B.cpp | 23897a6faeba3d1b4beb54f63f20d2a6b894b7fd | [] | no_license | sohag16030/ACM-Programming | eb7210be3685c3f7e5ea855c1598f5e7f3044463 | 39943162ed7b08d34b2b07b1a866b039c6ec2cc7 | refs/heads/master | 2023-01-31T11:08:46.389769 | 2020-12-14T08:57:24 | 2020-12-14T08:57:24 | 218,221,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | /*"BISMILLAHIR RAHMANIR RAHIM....."
"YOUR OUTPUT WILL BE REWARDED,NOT YOUR EFFORTS...TRY,TRY AND TRY"
CREATOR:SHOHAG(ICT,MBSTU).......*/
#include<bits/stdc++.h>
#define pf printf
#define sf scanf
#define sz 100001
#define ll long long
#define pb push_back
#define mp make_pair
#define ff first
#de... | [
"shohag.mbstu.it16030@gmail.com"
] | shohag.mbstu.it16030@gmail.com |
6bb6c57e05cb4011039f62d13bdf1bebc884f88c | 56c654fbd6fe1382b13d0369e55da91197e912fa | /Labs/dp/4B.cpp | bb7d5a3876ffc8b260128eadc30c4c21fb04f5d2 | [] | no_license | teptind/AlgoLabs | 08886f5344b94bb5aabdb1e8586e25116f7c1d98 | 8e2aaa8e313ceabb80f9d4975ec8ff1e4ad0e24e | refs/heads/master | 2022-01-12T15:47:13.055771 | 2019-07-22T15:33:13 | 2019-07-22T15:33:13 | 198,248,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | #include <bits/stdc++.h>
#include <time.h>
using namespace std;
#define ll long long
#define ld long double
#define uint unsigned int
#define ull unsigned long long
void print(vector<int> &t) {
for (int i = 0; i < (int)t.size(); ++i)
cout << t[i] << " ";
cout << "\n";
}
void print2(vector<vector<int>... | [
"teptind@gmail.com"
] | teptind@gmail.com |
cb9c904e6b34c3de17d71d439073b83983fa2407 | 8ed111e74f9316e24ba5b6cd17447d45d16a9c41 | /books/main.cpp | 8732239aadde82686045a35028f0a9c91f2c47a0 | [] | no_license | robobenklein/cs102 | d1b0ec3746c7d05207adac6714d15dfc0b571c5c | 6d32b9efd59793fdfc09729338dc542737dcd97c | refs/heads/master | 2021-04-30T22:22:14.138494 | 2017-01-11T15:22:39 | 2017-01-11T15:22:39 | 66,581,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
char bookType(int element);
int main(int argc, char** argv)
{
double cost_books[5] = { 12.00, 7.00, 10.00, 0.60, 0.50 };
char selling_book, book;
double total_cost = 0.0;
int take_book = 0;
cin >> selling_book;
for(int i = 0; i < 5; ... | [
"robobenklein@gmail.com"
] | robobenklein@gmail.com |
ef8e04e1e25abf5b094410cf901c5c1cb40749c6 | 191bf92db1a9f6df7c30e37a8f0a14d1c220a3bd | /445A.cpp | aa04889214dfe73bed789a7c4f0af419806566fa | [] | no_license | doomsday861/Allofit | 958fa379296e1a4c9a78b25ab0fd7c222bb1f81a | 94d644e52a64ff2949ea731c569478e721fc71bf | refs/heads/master | 2023-01-04T12:35:10.447467 | 2022-12-28T09:30:18 | 2022-12-28T09:30:18 | 250,110,669 | 0 | 1 | null | 2021-01-11T09:20:21 | 2020-03-25T22:59:54 | C++ | UTF-8 | C++ | false | false | 1,185 | cpp | /**
* 445A
**/
#include<bits/stdc++.h>
#define ll long long
#define testcase ll t;cin>>t;while(t--)
#define pb push_back
#define fi first
#define se second
#define vll vector<ll>
#define for0(i, n) for (ll i = 0; i < (ll)(n); ++i)
#define for1(i, n) for (ll i = 1; i <= (ll)(n); ++i)
#define run ios_base::sync_with_std... | [
"kartikeyasrivastava861@gmail.com"
] | kartikeyasrivastava861@gmail.com |
ca41efc18cbd4495d6d065dd0b1b9fcceca3820e | 5c6449138e768c140d4c43b16e56cf07ceaaedbf | /linux/my_application.cc | 26c8f24538377203b5eac33671967da1ff7e930b | [] | no_license | rrkas/conics_master | 524291c51f28b7917d4bd268149d0cdcbae5f9ab | 3a2fd73fb27eb9170abd42dbfae43c1c39aacfdb | refs/heads/master | 2023-01-01T05:46:00.119612 | 2020-10-27T18:43:33 | 2020-10-27T18:43:33 | 305,645,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cc | #include "my_application.h"
#include <flutter_linux/flutter_linux.h>
#include "flutter/generated_plugin_registrant.h"
struct _MyApplication {
GtkApplication parent_instance;
};
G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
// Implements GApplication::activate.
static void my_application_acti... | [
"rrka97wal@gmail.com"
] | rrka97wal@gmail.com |
a177104fb0e82be355af54a130b5ec9b419dfd90 | ce9964faef6ee75b71c417e34113578777cd86b2 | /chrome/browser/android/vr_shell/vr_shell_gl.h | 79ccd02f095a2db17e6511a12e96d3338297590a | [
"BSD-3-Clause"
] | permissive | alijuma/chromium | 4d8eed877b655d39388d5e5def1b7514f05170ea | db8f04787fe546230612bd32f499194d3219f15c | refs/heads/master | 2023-01-07T18:37:00.605447 | 2017-11-07T23:13:02 | 2017-11-07T23:13:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,209 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_
#define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_
#include <memory>
#include <utility>
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f82ee0ec3c8adf50996f76e60dff8ecf5fcd3816 | ad523ccbe6c5a76d6599375c52055303474610cd | /src/net/third_party/quiche/src/quic/masque/masque_server_backend.h | 6fbb6231c07ff2eb3e3ee0888511c426ba5edf81 | [
"BSD-3-Clause"
] | permissive | carter1029/naiveproxy | cf49b3356d681320fbbea6d8ed64eb8fa07fd109 | c2e8c4676edbd7cc4bd9b1f7da1bd6f34c771480 | refs/heads/master | 2023-03-17T10:02:08.057873 | 2021-03-03T17:09:51 | 2021-03-03T17:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | h | // Copyright 2019 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 QUICHE_QUIC_MASQUE_MASQUE_SERVER_BACKEND_H_
#define QUICHE_QUIC_MASQUE_MASQUE_SERVER_BACKEND_H_
#include "quic/platform/api/quic_export.h"
#inclu... | [
"kizdiv@gmail.com"
] | kizdiv@gmail.com |
8c171b3886d7c5f3516735686112ac05f4c81d19 | 78ef6727092c8ef5ac7900717c602b8c27b8e03b | /src/Shared/Timer.cpp | f6735846b802166ea7673b94c780117659fa49f6 | [] | no_license | PubFork/uaf | fef542c983e5a1a25bf1593cb2fc4534523c46fb | 98fa9da100fdfccdaa4e9725203fbd0aca9b656d | refs/heads/master | 2023-08-12T18:45:44.652484 | 2021-10-04T22:39:32 | 2021-10-04T22:39:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,730 | cpp | /******************************************************************************
* Filename: Timer.cpp
* Copyright (c) 2000, UAF Development Team (email CocoaSpud@hotmail.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by... | [
"andrew_steeley@hotmail.com"
] | andrew_steeley@hotmail.com |
3375997cb0cda771757f69cd066099a8cb755eb9 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /emr/src/v20190103/model/LoginSettings.cpp | 5ad3b4b7ee9bbc09dc1636c1433949c34d9b42af | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 3,048 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
ac2317ad11be5b38555fbe76b58ca062ab1b074f | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/ctgt/src/RcppExports.cpp | 8a8c96b1c0c2a2ddbebd62315b5bbb5c9debf78a | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,987 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
// getL
std::vector<double> getL(std::vector<double> ub, std::vector<double> lb, double level);
RcppExport SEXP _ctgt_getL(SEXP ubSEXP, SEXP lbSEXP, ... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
b9baa7ac9882c8b5da51a73736c3b2ff1a3d255b | 55f6614cbd9bf96fcc1e384808d476040378af9b | /Trabajos/Arduino/Sensor_de_Proximidad.ino | b52c37414ebd841c3ecc1ce532439a979916cf49 | [] | no_license | ProcessingTEC/proyectos-rgonzaleztec | e62cefe4526a08bb2185f15088ddaa76ad794afb | 0a58eddb34fee83316e59f2df16ee61823c2ec87 | refs/heads/master | 2021-01-19T01:17:50.412585 | 2016-06-27T22:08:25 | 2016-06-27T22:08:25 | 61,155,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | ino | int vcc = 2; //attach pin 2 to vcc
int trig = 3; // attach pin 3 to Trig
int echo = 4; //attach pin 4 to Echo
int gnd = 5; //attach pin 5 to GND
void setup() {
//pinMode (vcc,OUTPUT);
//pinMode (gnd,OUTPUT);
// initialize serial communication:
Serial.begin(9600);
}
void loop()
{
digitalWrite(vcc, HIGH);
// establish... | [
"noreply@github.com"
] | ProcessingTEC.noreply@github.com |
35feb02284142e02f4b9532a0d3a3d2f600c11ca | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /third_party/WebKit/Source/core/css/cssom/CSSStyleImageValueTest.cpp | efe58c462290ec6bddcf1104af1b5c043336ef50 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 1,690 | cpp | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/css/cssom/CSSStyleImageValue.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
namespace {
class FakeCSSStyleImageVal... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
8165bfc3f554f58cd93bbe91773d4a5123a91572 | b84585f10e6f093644f616fb60339c6f46e5fcea | /paddle/fluid/operators/pad3d_op.cc | 7b9a4ab1557bf0ce0ed2bd348298373f0ba672cf | [
"Apache-2.0"
] | permissive | awesome-archive/Paddle | f35592079108f8295923ad63705f418ca97cfd81 | 7bfcea5da0cc31d71c6f445c132cd673eb16bd2e | refs/heads/develop | 2022-03-07T05:26:56.378834 | 2022-03-03T04:21:02 | 2022-03-03T04:21:02 | 81,780,022 | 0 | 0 | Apache-2.0 | 2022-03-03T04:21:03 | 2017-02-13T03:15:18 | C++ | UTF-8 | C++ | false | false | 40,595 | cc | /* Copyright (c) 2020 PaddlePaddle 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... | [
"noreply@github.com"
] | awesome-archive.noreply@github.com |
af735fbcd5a2072b97970fdd7c01934055879640 | 42d1ea48097be47ec9fc1f2a07559a219ea42da0 | /IDS.cpp | 5d8ed203d002d27e5b97d9d7138194f76c09bea7 | [] | no_license | DreamwalkerSisyphe/CS480-Project1 | d5cab3dfdd1acabf21fa724029583fb3b2d1332b | 597e44918b7d81c82df42534ecf3e3c84b109cbc | refs/heads/master | 2022-04-27T05:20:05.317524 | 2020-02-12T07:35:33 | 2020-02-12T07:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include <vector>
#include <iostream>
#include <algorithm>
#include "helpers.cpp"
bool DFS(vector<int> start, int i, vector<bool> &visited, vector<int> &parent){
if(goalState(start)){
return true;
}
if(i <= 0){
return false;
}
int parentIndex = permToInt(start);
vector<vector<in... | [
"arickli@blue.cs.sonoma.edu"
] | arickli@blue.cs.sonoma.edu |
3709468201f76d83c44b71dcfebf8d1e0f780913 | 4c5eec9830a56be20f145bdba89a2ab31460850f | /code/Game/AABB.h | 690bb23b6b32e3ce64a78749ed1f8e4cefc75a6e | [
"MIT"
] | permissive | warzes/Game | cc0577422360628b704a9f3dcf65b4eead3e0861 | bd539c086ef5c6f6d04f0290d7b15313dec264a4 | refs/heads/main | 2023-03-11T17:55:04.652282 | 2021-02-24T07:12:18 | 2021-02-24T07:12:18 | 329,565,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | #pragma once
#include "Vector2.h"
class AABB
{
public:
AABB(float x1, float y1, float x2, float y2);
bool Intersects(const AABB& other);
bool FitsIn(const AABB& other) const;
/* Gets the distance between center of rectangles. */
glm::vec2 GetDistance(const AABB& other) const;
float GetWidth() const { return m... | [
"warzes@mail.ru"
] | warzes@mail.ru |
5a68b458c7a5094121d481c05e1ba471fba01a28 | 80f9841cf9388345e64570a4b4e873515084942f | /MFC-4.MenuDemo/MFC-4.MenuDemoView.h | 8e17c7098073761fd843b02330c9d8fe7e3a10c6 | [] | no_license | Bbabang-1227/ProjectMFC | 02fe1e1535836ba0d6fd3cbfd5d6cb827441aa61 | 7d2f135df40446b2981f73d53ae01d4b3701d820 | refs/heads/main | 2023-05-06T13:55:56.306190 | 2021-06-02T00:17:42 | 2021-06-02T00:17:42 | 370,299,235 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h |
// MFC-4.MenuDemoView.h: CMFC4MenuDemoView 클래스의 인터페이스
//
#pragma once
class CMFC4MenuDemoView : public CView
{
protected: // serialization에서만 만들어집니다.
CMFC4MenuDemoView() noexcept;
DECLARE_DYNCREATE(CMFC4MenuDemoView)
// 특성입니다.
public:
CMFC4MenuDemoDoc* GetDocument() const;
// 작업입니다.
public:
// 재정의입니다.
public... | [
"guswns2811@gmail.com"
] | guswns2811@gmail.com |
63a475c4dd848d69ae697ede6e52170182f624a6 | ec3a754ac21137a04250ef7dc9e5152e94fb7bd3 | /damBreakFine/processor1/0.9/alpha.water | 64e8ec85bc4a2eddd0686791437faf85c218662f | [] | no_license | johnathoncobabe/425 | 2336a62cd0f575b777cd549a886a15b5799b6c72 | e1ee61fb87a1078683d71a1d15131713c435cfae | refs/heads/master | 2021-01-10T10:00:11.128510 | 2015-10-02T17:54:40 | 2015-10-02T17:54:40 | 43,466,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,545 | water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"johnathoncobabe@gmail.com"
] | johnathoncobabe@gmail.com |
04573af14602c3a4b1d1b993c52061e777abf4e1 | 81c959f7894efc60a2747bf5136429d914b92f96 | /cc/test/test_compositor_frame_sink.cc | 2b3c260cfeebe4bede854e13f398b2f163428981 | [
"BSD-3-Clause"
] | permissive | emilio/chromium | 89f175c679c63e9e2b11e23c0764b02851235cfe | ab3d36b33fb3412d562033d68c716ddae6e4c3bd | refs/heads/master | 2023-03-10T04:49:52.623535 | 2017-03-10T02:57:25 | 2017-03-10T02:57:25 | 84,578,466 | 2 | 0 | null | 2017-03-10T16:21:05 | 2017-03-10T16:21:05 | null | UTF-8 | C++ | false | false | 7,828 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/test/test_compositor_frame_sink.h"
#include <stdint.h>
#include <utility>
#include "base/memory/ptr_util.h"
#include "cc/output/begin_frame... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1652b74677ec6d61293f8b3dc64badd297907dc0 | a94d3c812e33bc8306e16899cffc098b50bb32b9 | /Tutorial07/CModelo.h | 127750a1ad8f6c454401bd69eacb02f06592979c | [] | no_license | VICTORMCP785/Graficas_1 | 178382333966180f5c3176b09078c63c091856b8 | 3ba538048ba705569ff8810c270fd34fe504ca7a | refs/heads/master | 2022-11-24T00:37:27.168225 | 2020-07-24T00:32:02 | 2020-07-24T00:32:02 | 251,649,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #pragma once
#include "CMesh.h"
#include <vector>
class CModelo
{
/*
CModelo
{
Lista de meshes
Transform Propio
get y set mesh
};
*/
public:
CModelo();
~CModelo();
std::vector <CMesh> m_Meshes;
CTransform m_Transform;
void Init();
void Set(CMesh Mesh);
CMesh Get(unsigned int NumMesh);
private:
};
| [
"idv18c.vcota@uartesdigitales.edu.mx"
] | idv18c.vcota@uartesdigitales.edu.mx |
0423cdfce85df9caa670ab6f03d7e3782e9bb817 | 058355106fcf57b746afc5e9979281477c8bd34c | /.history/51.n-queens_20200725114732.cpp | 32c85585c57466475e2c9e72455a9c40a64314b3 | [] | no_license | Subzero-10/leetcode | ff24f133f984b86eac686ed9b9cccbefb15c9dd8 | 701ec3dd4020970ecb55734de0355c8666849578 | refs/heads/master | 2022-12-24T19:03:16.482923 | 2020-10-11T09:25:29 | 2020-10-11T09:25:29 | 291,388,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,881 | cpp | /*
* @lc app=leetcode id=51 lang=cpp
*
* [51] N-Queens
*
* https://leetcode.com/problems/n-queens/description/
*
* algorithms
* Hard (44.01%)
* Likes: 1920
* Dislikes: 73
* Total Accepted: 204.2K
* Total Submissions: 441K
* Testcase Example: '4'
*
* The n-queens puzzle is the problem of placing n ... | [
"shizheng961111@gmail.com"
] | shizheng961111@gmail.com |
e1af420e2398d947712468d53a7d06e7650602be | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_2171_squid-3.4.14.cpp | 0591f5c1d0e2633df243ce6b9393dcbfb7908370 | [] | 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 | 417 | cpp | static void
storeDigestRebuildResume(void)
{
assert(sd_state.rebuild_lock);
assert(!sd_state.rewrite_lock);
sd_state.theSearch = Store::Root().search(NULL, NULL);
/* resize or clear */
if (!storeDigestResize())
cacheDigestClear(store_digest); /* not clean()! */
memset(&sd_stats, 0, si... | [
"993273596@qq.com"
] | 993273596@qq.com |
eec0c94f45553fb50d4f32f0e424a94164ac0d13 | 95d81d0143275d51577ff6493afd80db392475a3 | /ch15/15.35/OrQuery.cpp | ac0e095b0b437143892c98f3f976f39269786861 | [
"Apache-2.0"
] | permissive | CSLP/Cpp-Primer-5th-Exercises | aa5bb0bc0c8ff4326bf08f60d97dd0e407dc895a | 29ea2e3f4bd32674eb518f431bb1b10aecfaa216 | refs/heads/master | 2020-04-29T04:26:54.668388 | 2020-01-16T07:19:27 | 2020-01-16T07:19:27 | 175,847,389 | 0 | 0 | Apache-2.0 | 2019-03-15T15:37:29 | 2019-03-15T15:37:28 | null | UTF-8 | C++ | false | false | 683 | cpp | #include "OrQuery.h"
#include "TextQuery.h"
#include "QueryResult.h"
#if DEBUG_LEVEL >= 1
#include <iostream>
#endif
QueryResult OrQuery::eval(const TextQuery &t) const {
#if DEBUG_LEVEL >= 1
std::cout << "OrQuery::eval" << std::endl;
#endif
// TODO
return QueryResult();
}
Query operator|(const Query &lhs, con... | [
"jaege@163.com"
] | jaege@163.com |
9ce46fe2f4bca532df22d358201f0cf8125f512d | ea81cc90ebb2e6307cb539eb9c1c96a033d16818 | /include/cilantro/spectral_clustering.hpp | 1931431dfc9a886e22791fe1ffd7821e855f644b | [
"MIT"
] | permissive | 3d-scan/cilantro | e833ca686a81fcfe7ebff934790345ea7613df71 | c3efb0e3fc00f1ab1a095d372a26f2e0eb872e31 | refs/heads/master | 2021-05-01T07:54:18.325838 | 2018-02-09T06:43:40 | 2018-02-09T06:43:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,643 | hpp | #pragma once
#include <memory>
#include <cilantro/kmeans.hpp>
#include <cilantro/3rd_party/spectra/SymEigsSolver.h>
#include <cilantro/3rd_party/spectra/SymGEigsSolver.h>
namespace cilantro {
template <typename ScalarT>
class SpectraDiagonalInverseBop {
private:
const int dim_;
Eigen::Mat... | [
"kzampog@gmail.com"
] | kzampog@gmail.com |
df349242a64db9f7bba6c5ce1512ca113f28cb7c | 7f7d8aa917816bafe26c4252ad28529572f0e32e | /converter/Converters/CppVulkan/CppVulkanConverter.h | b2888a92f8ee4e818f380455035d49a9f4bf5cbe | [
"BSD-2-Clause"
] | permissive | azhirnov/vkTraceConverter | 1b4cdfa28d61f88eecc04b98135b91883b19893b | 1f8846eccc38ac9012c4259728f4710ad4296a61 | refs/heads/master | 2021-07-01T01:19:31.353109 | 2018-10-07T11:38:47 | 2018-10-07T11:38:47 | 148,522,177 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,628 | h | // Copyright (c) 2018, Zhirnov Andrey. For more information see 'LICENSE'
/*
Converts vktrace to c++ code with raw vulkan api calls.
*/
#pragma once
#include "Analyzer/Default/ImageAnalyzer.h"
#include "Analyzer/Default/BufferAnalyzer.h"
#include "Analyzer/Default/MemoryObjAnalyzer.h"
#include "Analyzer/Default/Mem... | [
"zh1dron@gmail.com"
] | zh1dron@gmail.com |
e5d2f3231ad90511a0fd32be409b67033e8f8cf9 | 69add2b44a24c48961d53c64014a7870dba12610 | /AtCoder_Beginner_Contest_010_B/Source.cpp | cf6e9ae9848319d1017fe070b3313e0415e28aef | [] | no_license | strimuer213p/AtCoder_Beginner_Contest_010_B | 48140315746372f5fca03edbb4bd1a690bbfb639 | e5fd637f47eb5854b8719b2f910bd6ee4b89b9f8 | refs/heads/master | 2020-03-15T02:21:36.869595 | 2018-05-02T23:19:46 | 2018-05-02T23:19:46 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,896 | cpp | /*
問題文
高橋君の秘書のなぎさちゃんは、高橋君が大好きです。つまり、高橋君もなぎさちゃんの事が大好きであるに違いありません。 そのことを確認するために、庭に咲いている花で、花占いをすることにしました。
「好き」、「嫌い」、「好き」、「嫌い」、「好き」、「嫌い」……。
おかしいです。高橋君はなぎさちゃんの事が好きであるはずなのに、花占いの結果は「嫌い」でした。 これは、花が悪いに違いありません。
なぎさちゃんは、使用人達に、花占いの結果が「嫌い」にならないように、花びらを毟るよう命じました。
なぎさちゃんの花占いは、2つのパターンがあります。 一つは、「好き」「嫌い」を交互に言いながら、花びらを 1 枚ずつ毟っていくパターンです。... | [
"stoneriver213@outlook.jp"
] | stoneriver213@outlook.jp |
28da282664d59ff61fc6831a2860f61104244b4f | 6aeadfb58eb9982c244ec938dcb3ff3d87824b15 | /Capacitor.h | dcdfff47239a78026d4ce68cfa7c9570a99f5577 | [] | no_license | kong0115/Class | f6ad428a19133898ac1b6b8cfb8e85d69099aa64 | b2499020eb7b5c431d04b51067537777bbd82d05 | refs/heads/master | 2020-04-03T07:10:32.348987 | 2018-10-28T17:11:15 | 2018-10-28T17:11:15 | 155,095,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,168 | h | //class specification file that stores class declaration for Capacitor class
#ifndef CAPACITOR_H_ //This directive tells the preprocessor to see if a constant named CAPACITOR_H_ has not been previously created with a #define directive.
#define CAPACITOR_H_ //If the CAPACITOR_H_ constant has not been defined, the r... | [
"noreply@github.com"
] | kong0115.noreply@github.com |
d96d3f073c68095316896add7874ac8110b3fde9 | a32e8428fe087f3fbc6b89de9fa16e68449ba9b4 | /src/json.hpp | 233fa19745877ac7acd0a6fc19f8b4c389bf5547 | [] | no_license | Taywee/cpp-dnd-character-generator | 43aed3d7c8f2baa0d9c68897af37ca486a3a3fcd | 1a03def80d603d106b2f1b9b69a89b188f7915b8 | refs/heads/main | 2023-06-28T16:41:39.413250 | 2021-07-29T15:34:44 | 2021-07-29T15:34:44 | 390,598,859 | 0 | 0 | null | 2021-07-29T04:22:58 | 2021-07-29T04:22:57 | null | UTF-8 | C++ | false | false | 959,898 | hpp | /*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++
| | |__ | | | | | | version 3.9.1
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
Copyright (c) 2013-2019 Niels Lohmann <http:/... | [
"brandont.dev@protonmail.com"
] | brandont.dev@protonmail.com |
ff94807c21032464d0653771b5b2327ef06f287e | 6506a1f7f639d9cf6ca5921d17012d872368b843 | /Baekjoon/2947.cpp | f7baf1a2e434aa9cacf0230cf48d69d26d034f5e | [] | no_license | onnoo/Online-Judge | c844dd1a6032eff2df32598ef93d6d9e3a4a070f | 7df441657cc7750c3d90141e7462f3a2f72213a0 | refs/heads/master | 2022-06-06T18:30:57.732490 | 2022-03-19T09:28:15 | 2022-03-19T09:28:15 | 163,737,364 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | #include <iostream>
using namespace std;
int main(void)
{
int arr[5];
for (int i = 0; i < 5; i++)
scanf("%d", arr + i);
bool con = true;
while (con)
{
for (int i = 0; i < 4; i++)
if (arr[i] > arr[i + 1])
{
int tmp = arr[i];
... | [
"sweyjw@gmail.com"
] | sweyjw@gmail.com |
b2f8f26d6384c2eb7a77d175af1caf198159709f | bee55c8da97e1f4769103ac34f71814edb66ad41 | /src/qt/optionsdialog.cpp | 7b6a14555bfef3bab9e4bf3721d71abedbb070fd | [
"MIT"
] | permissive | DSSCOS/DSSC-Public-Chain | d245240e48aa914e7b82449a458c4ac8017773d4 | b82c9a1f78420d7de1c118bc0af6d3008d889e10 | refs/heads/master | 2021-04-07T15:32:50.260916 | 2020-03-20T06:53:03 | 2020-03-20T06:53:03 | 248,686,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,060 | 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.
#if defined(HAVE_CONFIG_H)
#include "config/bitpcoin-config.h"
#endif
#include "optionsdialog.h"
#include "ui_optionsdialog.h... | [
"lyyyouqian1992"
] | lyyyouqian1992 |
8d5593fc630547e24dcb3faf27ecc0044fb7087a | f2c48401a2bbe43c730f009b55674d8844cebe90 | /TRooFit/TRooChi2Constraint.h | 34012540db8acae2fd276b8ebff042ba60a0a4d1 | [] | no_license | PrimeZhang/TRooFit | 423d863359cb85e7caeb9dbc40445359611c246c | d57a61fe045438afcbfdb233723cbac24e85b864 | refs/heads/master | 2020-12-20T14:45:12.805028 | 2018-09-05T08:49:42 | 2018-09-05T08:50:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | h | #ifndef TROO_CHI2_VAR
#define TROO_CHI2_VAR
#include "RooAbsReal.h"
#include "RooCmdArg.h"
#include "RooDataHist.h"
#include "RooAbsPdf.h"
#include "RooRealProxy.h"
class TRooChi2Constraint : public RooAbsPdf {
public:
// Constructors, assignment etc
enum FuncMode { Function, Pdf, ExtendedPdf } ;
TRooChi2Con... | [
"will@cern.ch"
] | will@cern.ch |
46346aeb8e87506d90c625f0cb4a905d3e15da56 | c60638380ab1a6a01138d467a7c69bd5c0c5e162 | /library/solver/loop/tools/ordinates.hpp | bb6efdea74f3735430a6cbce3c5df53074a66aec | [] | no_license | kbeling4/1Dsolver | f655eb74381ccfe7e4f40c13ccedc679bb95528f | 361506855e2138bc7828b845e141f650ef3a160a | refs/heads/master | 2020-08-23T17:00:46.897054 | 2019-12-07T18:50:25 | 2019-12-07T18:50:25 | 216,668,885 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,255 | hpp | struct Ordinate {
double value;
double weight;
};
double PI = std::atan(1.0) * 4.0;
double get_error(std::vector<double> &first_arr, std::vector<double> &second_arr) {
// Return the L-2 norm of the difference between two vectors
double error, difference, sum;
sum = 0.0;
for (unsigned int i = 0; i < first_arr.... | [
"pcxcx2@gmail.com"
] | pcxcx2@gmail.com |
e8ae137a9ae437818c0c948ee34b0fc5c8c74e8d | bb04f391bb0a0bd5f7e146d35241744b9a09bd79 | /entities/ZigZagEnemy.cpp | 98a07a1cb1447c1dc503890b8e0532e034031d53 | [] | no_license | scurvysteve/galaga-esque | e4dcb475e10eaff64a30eaab336903847ac15fd3 | 3447430eea665a9ce8d3b8e34da71d7f755d98df | refs/heads/master | 2020-12-25T11:05:51.883875 | 2013-09-09T04:55:21 | 2013-09-09T04:55:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | /*
* ZigZagEnemy.cpp
*
* Created on: Apr 8, 2013
* Author: joe
*/
#include "ZigZagEnemy.h"
ZigZagEnemy::ZigZagEnemy() {
// TODO Auto-generated constructor stub
}
ZigZagEnemy::ZigZagEnemy(int initialX, int initialY){
GenericEntity::initEntity(initialX, initialY, 20, 20);
image.loadImage("zigZagEnemy.p... | [
"joe@Babel.Babylon"
] | joe@Babel.Babylon |
d59bbdc674025c49a7f76885aa401f56246600cc | e4625e88354a5a5964441bdfe474ff20a04b34c9 | /Test/UnitTest/UnitTestRunner.cpp | 4490fe52694eb8999a1e3fe74a962e5d6a5d3b9c | [] | no_license | frostazy/VoxelGame | 0d46d63587ee76b34a6384295d60583a43bb6206 | 6ab76fd001fc601ba30ebab4b4be3f6b52ed63e6 | refs/heads/master | 2020-12-03T09:15:01.697059 | 2016-09-19T03:11:06 | 2016-09-19T03:11:06 | 68,564,067 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cpp | #include <windows.h>
#include <string>
#include <fstream>
#include <iostream>
using namespace std;
typedef int (*RunAllUnitTestsPtr)(int argc, char* argv[]);
bool FileExist(const string& filePath)
{
ifstream file(filePath);
return !file.fail();
}
int main(int argc, char* argv[])
{
HMODULE hModule = GetModuleH... | [
"Zhou Yun"
] | Zhou Yun |
c3deedb07a601b32b5e2b679a322d1a64d06b3d2 | d8033ee59a652736710748261771012f356b3431 | /include/engine/system/platform/RenderAPI/OpenGL/OpenGLVAO.hpp | b38346f75683801df6de5904237083fa74ca041e | [] | no_license | Shwastya/MyTFMDescent | 4f696a38d9e68bbaad2e5c40715465abdf536e84 | 1b872dd7682623de8a54cce1bfa8134a57694260 | refs/heads/master | 2023-06-23T12:24:23.310130 | 2021-07-17T20:54:22 | 2021-07-17T20:54:22 | 347,040,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | hpp | #pragma once
#include "engine/system/renderer/VAO.hpp"
namespace MHelmet
{
class OpenGLVAO : public VAO
{
public:
OpenGLVAO();
virtual ~OpenGLVAO();
virtual void Bind() const override;
virtual void Unbind() const override;
// conteo de referencias
virtual void Add__VBO(const RefCount<VBO>& _vbo) ov... | [
"jose.l.rosa.m@gmail.com"
] | jose.l.rosa.m@gmail.com |
a77541ac68ffb578cb8b377ad6221c264cb8eaf8 | 6751cd2fdc5833e6281ddc7a6a6581ead1062cc1 | /src/robolisp/val/int_num.cpp | 2be03d283870edd65557565f0c28a981efd48cba | [
"BSD-3-Clause-Clear"
] | permissive | mrpengyu/robolisp | 7c2c066441c0803060684d47fd393fc4589f427f | 22a9cda2fe43b859a4c5ab559bb7c55756ee0951 | refs/heads/master | 2022-04-08T15:54:04.792895 | 2020-03-04T17:50:18 | 2020-03-04T17:50:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include "int_num.hpp"
#include <cinttypes>
#include <string>
#include "../val.hpp"
#include "../val_vis.hpp"
using namespace robolisp::impl;
using namespace val;
IntNum::IntNum(int val) :
val_ {val}
{}
ValPtr IntNum::copy() const
{
return ValPtr(new IntNum(*this));
}
std::string IntNum::to_str() const
{
... | [
"59334029+szsy-robotics@users.noreply.github.com"
] | 59334029+szsy-robotics@users.noreply.github.com |
ff4e658f09cd961bc230107fd4778d1b70b2c2af | cba12a4049fc3db690cffb631f5e29cf22de5e1c | /src/code/warning.h | d3d95a197ea7d0891a2d620a50dae0edb4242465 | [] | no_license | RogerLrc/Eight_Puzzle | 78b13272fadded380f586cadb3c96ed47b15958e | c7dcca726245f1e4c0eb71a2bac3b9ddf2eae284 | refs/heads/master | 2020-03-11T20:01:42.541784 | 2018-04-19T14:24:29 | 2018-04-19T14:24:29 | 130,224,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | #ifndef WARNING_H
#define WARNING_H
#include <QDialog>
namespace Ui {
class Warning;
}
class Warning : public QDialog
{
Q_OBJECT
public:
explicit Warning(QWidget *parent = 0);
~Warning();
private slots:
void on_buttonBox_accepted();
private:
Ui::Warning *ui;
};
#endif // WARNING_H
| [
"noreply@github.com"
] | RogerLrc.noreply@github.com |
9564ba565321bab5d04e5e5febab67275d633f77 | 615622849d5e7ffbc4ea9c537edfc0d8fb3a02a4 | /submits.old/10_33_46_111_B_4202.cpp | 0dea2c2626d529ac93679cf75dcf2ba351461d54 | [] | no_license | lisiynos/train | f714d11e9e71f27472ca3f6fbfd576c849c07c5f | a3b9f9babf9587eabde8d94b76a52f8ae9d5addc | refs/heads/master | 2020-12-13T15:32:29.862614 | 2016-08-29T09:35:00 | 2016-08-29T09:35:00 | 28,248,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include <iostream>
#include <cstdio>
#include <stdlib.h>
#include <string>
using namespace std;
int main() {
freopen ("string.in", "r", stdin);
freopen ("string.out", "w", stdout);
string s;
getline(cin, s);
for (int i = s.length() - 1; i >= 0; --i)
cout << s[i];
}
| [
"super.denis@gmail.com"
] | super.denis@gmail.com |
cc2f8c20b8bf67ee85196dbf7f3a3ff36be5a720 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/100/521.c | ad7f9dccf184cc01604a51962865be2f163b4344 | [] | 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 | 402 | c | void main()
{
char *p1,*p2,a[300],b[26]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
int *q,c[26]={0},t=0;
gets(a);
for(p1=a;p1<a+strlen(a);p1++)
{
for(p2=b,q=c;p2<b+26;p2++,q++)
if(*p1==*p2)
{*q=*q+1;t=1;break;}
}
for(p2=b,q=c;p2<b... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.