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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e37751b71ed34a7f336bea4a09d8baf6b64ce692 | 3baeb74937a80b69795a65d22710d8f388c91af7 | /源代码/Project1/card.cpp | 9b0b00d34d959a102a2b47393595060540f8e68a | [] | no_license | lizhihong001/c---big-work | be384b9cadc0d9150d611a16008c2744ee1a6493 | e46f7ce80a5cdaba6b3d16bec64df79ad1c2c05f | refs/heads/master | 2021-01-23T20:13:25.109431 | 2017-09-08T11:12:48 | 2017-09-08T11:12:48 | 102,853,257 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,302 | cpp | #include "card.h"
#include <iostream>
#include <iomanip>
using namespace std;
double card::TicketIncome = 0;
card::card(string a, string b)
{
ID = a;
password = b;
money = 0;
freeze = 0;
discount = 1;
times = 0;
type = "NormalCard";
cout << "card created successfully!\n\n";
}
card::card(string a, string b, str... | [
"lizhihong001@users.noreply.github.com"
] | lizhihong001@users.noreply.github.com |
0022c88e84b271c03052e0779f66f5df038ed9da | e61f5b7a23c3b1ca014e4809e487e95a65fc3e2c | /Source/BansheeCore/Include/BsHString.h | 822b377ee1f46dab3297db57490cfa8073e42a78 | [] | no_license | ketoo/BansheeEngine | 83568cb22f2997162905223013f3f6d73ae4227e | 1ce5ec1bb46329695dd7cc13c0556b5bf7278e39 | refs/heads/master | 2021-01-02T08:49:09.416072 | 2017-08-01T15:46:42 | 2017-08-01T15:46:42 | 99,069,699 | 1 | 0 | null | 2017-08-02T03:48:06 | 2017-08-02T03:48:06 | null | UTF-8 | C++ | false | false | 3,047 | h | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#pragma once
namespace bs
{
/** @addtogroup Localization
* ... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
d95f1aa4caaa6558f1930f0c5420e3b2d8420f9e | d0c721a82a2b533a27be84922f96ea16fa73c602 | /chapter8/grade.cpp | 05e2bba874b26cab68f1286eae89e8b59db1b89a | [] | no_license | FangYang970206/Accelerated-CPP | ac154d4bf6d2c66e57af3563e14c9fb66116e0e1 | 62b46ed00ca16c4d2bbce14862c9381e2ae8b3c3 | refs/heads/master | 2020-03-28T03:45:55.955482 | 2018-10-15T12:17:11 | 2018-10-15T12:17:11 | 147,669,597 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include <stdexcept>
#include <vector>
#include "median.h"
#include "grade.h"
using std::domain_error;
using std::vector;
double grade(double midterm, double final, double homework)
{
return 0.2 * midterm + 0.4 * final + 0.4 * homework;
}
double grade(double midterm, double final, const std::vector<double>& hw)
... | [
"15270989505@163.com"
] | 15270989505@163.com |
3aaa0c781b88515f854f22825708faa4df6d65a0 | 362e121cd809d39d73a490c4255a4a1aa082f827 | /waveblocks/shape_enum_subset.hpp | c3f38b61cbdf2bfde4f703653c3acd1004dd56ec | [] | no_license | benedek93/libwaveblocks-old | 2bc2cb9f055cd79f8ceb76a2f41cd337fda2d89f | 5b5e8675e228e65555389d7a3734c7c31ac23f42 | refs/heads/master | 2020-12-03T09:19:14.605056 | 2015-10-12T08:57:10 | 2015-10-12T08:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,332 | hpp | #ifndef WAVEBLOCKS_SHAPE_ENUM_SUBSET_HPP
#define WAVEBLOCKS_SHAPE_ENUM_SUBSET_HPP
#include <memory>
#include <array>
#include <Eigen/Core>
#include "basic_types.hpp"
#include "shape_enum.hpp"
#include "hawp_evaluator.hpp"
namespace waveblocks {
namespace shape_enum {
template<dim_t D>
bool _copy_subset__fast_equa... | [
"boeschm@student.ethz.ch"
] | boeschm@student.ethz.ch |
fcde1863d0973aef30bc2be56dc97cfc9aab81c2 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/103/130/CWE427_Uncontrolled_Search_Path_Element__wchar_t_connect_socket_62b.cpp | 338219823954c1701e2e332f7aac0caf14d0298d | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE427_Uncontrolled_Search_Path_Element__wchar_t_connect_socket_62b.cpp
Label Definition File: CWE427_Uncontrolled_Search_Path_Element.label.xml
Template File: sources-sink-62b.tmpl.cpp
*/
/*
* @description
* CWE: 427 Uncontrolled Search Path Element
* BadSource: connect... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
c2bd87056aad2d2b2985a35532a116a28bccadc2 | 6a58045edb2f056c8f37f4efb3ef7242964f47e7 | /BattleEngine.cpp | 9a38348babf67cbda26e6de30f5303cdb76e9b76 | [] | no_license | iam4k33m/Poke-Mario | ce33a06c871a8ce3984ac646d2c4e5edb0e0113c | 4426aacfaed599d053e46a22eac4207d9ac41636 | refs/heads/master | 2022-02-21T21:35:44.240575 | 2019-10-03T17:02:51 | 2019-10-03T17:02:51 | 212,289,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,535 | cpp | #include "BattleEngine.h"
#include "Fighter.h"
#include <vector>
#include <iostream>
#include <thread>
#include "PlayerMoveSelector.h"
#include "CPUMoveSelector.h"
#include "Goomba.h"
#include "Koopa.h"
static const uint32 IDcount = 2;
template <class T> T* _Derive()
{
return new T();
}
Fighter* Derive(uint32 classTy... | [
"55737236+iam4k33m@users.noreply.github.com"
] | 55737236+iam4k33m@users.noreply.github.com |
bc0be5be1c6b3fe2ef214e0beba54caa913ffc1d | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/SOC/2006/concurrency/tags/postfinal_untested/boost/act/common_act_models.hpp | 2fcf5aa30fd8264ca0375e66062b624b38561693 | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 1,645 | hpp | // Copyright (c) 2006, Matthew Calabrese
//
// This code may be used under either of the following two licences:
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// ... | [
"doug.gregor@gmail.com"
] | doug.gregor@gmail.com |
ada1a7a3fa9cc01a86727193cbbb894eb3496fd7 | 2e563827001008fb16fa2a3bd7414c11fb02f65b | /glava10/qu01/bank_ac.h | c0868a02f8521e1fd67f7837c4ac7169ad37fe20 | [] | no_license | bowman85/prata- | 62f67ed72263865a4354fad979a4a7d551534cc4 | 3e344cf11e7cd79a14587d10a720ba26f7546846 | refs/heads/master | 2021-09-08T20:51:11.172130 | 2018-03-12T06:13:06 | 2018-03-12T06:13:06 | 115,730,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | h | #ifndef BANK_ACCOUNT_H_
#define BANK_ACCOUNT_H_
#include <iostream>
#include <string>
#define SIZE 100
enum ITOG { FAILURE , SUCCESS } ;
using namespace std ;
class Bank_account {
private:
char Name_[SIZE] ;
string bill_;
double balance_ ;
public:
Bank_account() ;
Ba... | [
"evgeniy.volkov85@gmail.com"
] | evgeniy.volkov85@gmail.com |
e1ccee18ba51f624f8d81cc7012192268f8b47d7 | 8bf096c857cde9c39398ff50b12ce6ecc0f69e68 | /PCM/PLYReader.cpp | 884b8c2a750d03880a5332b1ae9d62cc9edbddaf | [] | no_license | JackZhouSz/ebpd_vs2015 | 796a346907a5a6be6c02d82bf0aeaa92566ea44e | 190248cd9e66ecaadb7111e50a4c30e34ff52f31 | refs/heads/master | 2023-03-20T09:14:38.661344 | 2017-06-30T14:26:20 | 2017-06-30T14:26:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,773 | cpp | #include "PLYReader.h"
#include "file_io.h"
#include "basic_types.h"
#include "sample.h"
#include "Importer.h"
//STL
#include <fstream>
namespace PCM{
namespace IO {
//=== INSTANCIATE =============================================================
_PLYReader_ __PLYReaderInstance;
_PLYReader_& PLYReader() {
retur... | [
"528450012@qq.com"
] | 528450012@qq.com |
59c04ebfda9932fd4f089a72e90574c24cd4597b | 993d84420b2e3005b1b59370db26c79d702e380a | /kernel/U-XNNPACK/bench/f16-igemm.cc | 68ed7fefec157ba85c231047989609626eae6c8b | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | SKKU-ESLAB/Auto-Compression | 25588c5e87a141049b5816940d157a7a1c478e04 | 614048140f00e977e53178ce0417caaf31a29bc4 | refs/heads/master | 2022-12-14T20:33:25.242853 | 2022-12-01T07:13:45 | 2022-12-01T07:13:45 | 224,101,851 | 16 | 13 | MIT | 2022-12-01T07:13:46 | 2019-11-26T04:25:02 | C | UTF-8 | C++ | false | false | 8,981 | cc | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <functional>
#include <random>
#include <vector>
#include <cpuinfo.h>
#include <benchmar... | [
"lhy920806@gmail.com"
] | lhy920806@gmail.com |
e742c9047acf3eaf5cea67ee18d3c36b9956d668 | acb225bb5eb394f86dbe9f1f6a11fdfc5015d203 | /src/wrapper/mongodb/detail/lct_mongo_helper.inl | fd2b6808d9fbf3a73245777361a7f3231d392891 | [] | no_license | free2rhyme/lct_frame_obsolete | 8210d924da8dcea01496b7b8f1f225dac40078ef | dc257e20b2ec2c349c32003b964fe3c752d65a9d | refs/heads/master | 2021-01-23T10:34:34.600668 | 2017-12-08T08:56:43 | 2017-12-08T08:56:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | inl | /**********************************************************************
* @copyright Copyright (C), 2017
* @file lct_mongo_client_helper.inl
* @version 1.0
* @date Jun 23, 2017 3:51:40 PM
* @author wlc2rhyme@gmail.com
* @brief TODO
**************************************************... | [
"liuyang@sensetime.com"
] | liuyang@sensetime.com |
0dc69035dd63afd79c7fffac1046daca567fa58c | a4f9f6e21befa6d0ad9fc33041dda9adacef76a8 | /main.cpp | 8603fcc5689c9970963d601f21ff990798fb89c8 | [] | no_license | Abuenameh/Canonical-Transformation-Dynamical-Gutzwiller-Casadi-IPC-New | 554354bfc9d7aa5fdb82cf51cd4d292ef650c2f9 | 555c4a338efbb670d3c473f3450a10e3c6d0b417 | refs/heads/master | 2021-01-13T09:49:47.742095 | 2015-11-28T04:30:38 | 2015-11-28T04:30:38 | 46,931,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,898 | cpp | /*
* File: main.cpp
* Author: Abuenameh
*
* Created on 17 November 2014, 22:05
*/
#include <cstdlib>
#include <queue>
using namespace std;
#include <boost/lexical_cast.hpp>
#include <boost/thread.hpp>
#include <boost/progress.hpp>
#include <boost/random.hpp>
#include <boost/filesystem.hpp>
#include <boost/fi... | [
"abuenameh@gmail.com"
] | abuenameh@gmail.com |
5529f570961d6c20c53e8c28c93e8128206dcba4 | d6e78cc56ea0d6bdb79b92cb3b9a7517854b6549 | /Dojo/PatternMatch/PatternMatch.cpp | fe8dcac4b8489de605b644d1e36d06ead2283aca | [
"Apache-2.0"
] | permissive | complexbear/tinkering | a6eb186cf7a68856a01852bfc61c5a37eb6eef4a | 6ad260f065aa9938a760051816d916347271974d | refs/heads/master | 2021-01-14T10:53:34.693367 | 2018-07-26T09:35:30 | 2018-07-26T09:35:30 | 48,329,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,388 | cpp | // PatternMatch.cpp : Defines the entry point for the console application.
//
#define CATCH_CONFIG_MAIN
#include <string>
#include <iostream>
#include <catch.hpp>
using namespace std;
const char WILDCARD = '*';
vector<string> tokenize(const string& pattern) {
vector<string> tokens;
size_t prevpos = 0,
pos = ... | [
"matthewpeterbrown@gmail.com"
] | matthewpeterbrown@gmail.com |
0bcd9b5d0f52b28b1d93d6e0113396c21bd8e9c1 | a9587b2db016852133aa26ab088e7cfdce900468 | /builtin/mods/js-policy/src/BasePolicy.cpp | 6c3938375277496d24d126e552c6067d35054627 | [] | no_license | codehz/cobblestone | b3affb99bd5bc133297895648686321c1b267a44 | a9632e6e7647f4af7002c649b232822defd7475b | refs/heads/master | 2022-02-24T07:47:25.851356 | 2019-09-21T16:19:28 | 2019-09-21T16:19:28 | 198,330,525 | 18 | 1 | null | 2019-08-15T07:54:37 | 2019-07-23T01:46:55 | C | UTF-8 | C++ | false | false | 119 | cpp | #include <mods-js-policy/policy.h>
BasePolicy::BasePolicy(bool def)
: result(def) {}
BasePolicy::~BasePolicy() {} | [
"CodeHz@outlook.com"
] | CodeHz@outlook.com |
da40496ecead7df93cd4065db49039476de85ba5 | b4a8756b53c7892cbccaf84d30e806bc8b01659d | /persist.cpp | 5da06251ee1677e94ae2544c26c514e9638b76c8 | [] | no_license | AhmedSakrr/botnet_client-1 | 4a7d34c41c362fd0df9195b2e233ef526eedffe6 | 1fb2ce2ed29e50f94668828a67bee697827a5c2c | refs/heads/master | 2023-06-26T09:55:41.110888 | 2020-10-04T22:25:50 | 2020-10-04T22:25:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include <windows.h>
#include <string>
#include <iostream>
#include "persist.h"
using namespace std;
bool check_run() {
HKEY hkey;
LONG open_status = RegOpenKeyEx(HKEY_CURRENT_USER, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\\behenchod", 0, KEY_READ ,&hkey);
if (open_status == ERROR_SUCCESS) {
return tru... | [
"utkarsh@windows"
] | utkarsh@windows |
857080cb4e0a783367e905fdb8dabd16c32740c2 | 5d471f9fb26379ba80f4aacced6d24f58a9b6faa | /OpenGLGame/Fence.h | 2d507b88b63c492cb44a66ac7f886c316705b35d | [] | no_license | Olverine/openGL | 9fc62c84bb65f263dd760db9a32a2b11cc7918aa | a0c4b6014b6847e6551e40679edf27460359017c | refs/heads/master | 2021-01-13T04:39:32.414593 | 2017-02-03T08:30:10 | 2017-02-03T08:30:10 | 79,445,906 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | h | #pragma once
#include <Engine.h>
class Fence : public GameObject
{
public:
Fence(glm::vec2 size);
~Fence();
void Render();
static glm::vec2 GetSize();
}; | [
"oliver.david.norin@gmail.com"
] | oliver.david.norin@gmail.com |
626f3ccbd22223dd94e836f1879a973a50c494aa | 973422e8a0ea40474b46082bbb5a146fa762e19c | /★winApi/Win32_game전체소스/10강/BallGame00/Pattern.h | 4f6df73518f6da7d134e522bd41061673ab99ac8 | [] | no_license | YunHoseon/InhaStudy | 45e0e7671dc09b313a1b3b4281dead93d8f33633 | edde0627d335a2cf83dd369b6a3b0b96d6aa4461 | refs/heads/master | 2022-12-08T16:03:25.194855 | 2020-09-14T19:19:10 | 2020-09-14T19:19:10 | 273,371,294 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 790 | h | #pragma once
enum DIRECTION { TOP, RIGHT_TOP, RIGHT, RIGHT_DOWN, DOWN, LEFT_DOWN, LEFT, LEFT_TOP, STOP };
struct MOVE_INFO
{
DIRECTION nDirection; // 방향
float fVelocity; //이동 속도
int nAllDistance; // 이동 전체 거리
DWORD dwDelayTime; // STOP 대기시간
int nDestX, nDestY; // 최종 좌표
};
class CPattern
{
private:
int m_nMoveCou... | [
"hosun2776@gmail.com"
] | hosun2776@gmail.com |
6e58e8fba21fed6a13b67403b3f28db138a57bec | 5784d3a8f50efb6e03dffd546e95a01124f68029 | /linked list/pair_swap.cpp | 51710800dc405edeab78736f277e420956b9c9af | [] | no_license | Krish203018/cpp | 55ad98635416552d52222342491982ccad8a7f6a | 5c249a23af5208cae89c2ea2496ed51591b02ab8 | refs/heads/main | 2023-07-28T05:27:38.842291 | 2021-09-11T09:17:48 | 2021-09-11T09:17:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | cpp | #include<bits/stdc++.h>
using namespace std;
class node
{
public:
int data;
node* next;
};
void push(node** head,int new_data)
{
node* new_node=new node();
new_node->data=new_data;
new_node->next=*head;
*head=new_node;
}
void swapping(node* head)
{
node* temp= head;
while(temp !=NULL&&temp... | [
"mohit_203015@saitm.org"
] | mohit_203015@saitm.org |
267f01958b3c595a36caa5d644d3be678d6af0dd | eef566c763ed0f4e0826f5848b60c30fdef70f07 | /cpp/ae.hpp | 923b7b1ff9768916e26e19036de4001b348f9eaf | [] | no_license | dsh0416/Deep-Music-Autoencoder | 571eee5bf88a5cdea137b203eea312100163d299 | e1af78e3673160de4df6703bf295628a6e4a1def | refs/heads/master | 2021-01-24T05:53:55.320819 | 2016-06-02T17:17:03 | 2016-06-02T17:17:03 | 60,282,397 | 0 | 0 | null | 2016-06-02T17:06:25 | 2016-06-02T17:06:24 | null | UTF-8 | C++ | false | false | 3,508 | hpp | #ifndef _A_E_HPP_
#define _A_E_HPP_
#include <string>
#include <vector>
#include <unordered_map>
#include <cstdlib>
#include <fstream>
#include <eigen3/Eigen/Dense>
#include "ps.hpp"
#include "utils.hpp"
using namespace std;
using Eigen::MatrixXd;
using Eigen::ArrayXXd;
using Eigen::VectorXd;
namespace paracel{
cla... | [
"zhaojunbo@intern.douban.com"
] | zhaojunbo@intern.douban.com |
24128462d31440fd5683fa4d0e0df9dc44329524 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-s3/source/model/GetBucketAclRequest.cpp | a6842a85ca731ec9be6157d636643be1d1a3e7a5 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 1,824 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
f1ba6ea695284e12a684d26e6ae34354c54c9491 | d2249116413e870d8bf6cd133ae135bc52021208 | /MFC CodeGuru/controls/IE4Classes/DateTimeCtrl.cpp | 5b0c90e9c3bbb6130344ed514f956ba81c32bbfb | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,623 | cpp | #include "stdafx.h"
#include "DateTimeCtrl.h"
#include <math.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Helper functions
static BOOL GetAsSystemTime(const CTime& tm,... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
8b63bdb3f9ec18db51ed96a022b084ac51151c0f | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /remoting/protocol/protocol_mock_objects.h | 9cf56b9895ca359207913e56e4d7c97725652f1a | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 8,839 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
#define REMOTING_PROTOCOL_PROTOCOL_MOCK_OBJECTS_H_
#include <cstdint>
#include <map>
#include <mem... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
41291a0ccd5f3e9e17ec6ef3d1c9829909932653 | 878d5503e8539f0dedf8842741b7479e6df8fa0d | /src/main.cpp | e72db454118763cc832ccdee190cd71fba96ebbc | [
"MIT"
] | permissive | clarisli/CarND-Path-Planning-Project | baeb38e87fd68f5626f73382b82c3f2389e56460 | 1ccee8be4e08fc5ca5914447b8d3c20e70126ebe | refs/heads/master | 2020-03-30T04:01:01.748734 | 2018-09-30T13:46:30 | 2018-09-30T13:46:30 | 150,720,096 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,529 | cpp | #include <fstream>
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "json.hpp"
#include "spline.h"
using namespace std;
// for convenience
using json = nlohmann::json;
... | [
"li.claris@gmail.com"
] | li.claris@gmail.com |
78328dad62e6d7417777fc79dab500c0ec72a552 | f5f35d054c2be925771f62f3ce15619ea1ddc27d | /Campion.ro/onigim.cpp | 235d3387da760a1c9366809e6de6c500166ca10f | [] | no_license | edionu97/Algorithms-DataStructures-ContestsSolutions | fd01f4b00a02c846c50b0316b261c09eb42495ed | a1438543a0ecc551645cdef19694f926532db158 | refs/heads/master | 2021-06-12T15:41:19.745300 | 2020-12-02T13:18:03 | 2020-12-02T13:18:03 | 128,730,131 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 862 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#define lengh 1001
using namespace std;
ifstream f("onigim.in");
ofstream g("onigim.out");
short n,p[lengh],a[lengh],k,b[lengh],A,B,C;
void citire()
{f>>n>>k;
for(int i=1;i<=k;i++)f>>p[i];
for(int i=1;i<=n;i++){f>>a[i];b[i]=a[i];}
}
bool dcresc(short c,short... | [
"onu_edy@yahoo.com"
] | onu_edy@yahoo.com |
3b8847aca5fd7c921a6ef25844c07be7e2331560 | 652d0577d5f9716423cf7f1aae116a7bfd190c6f | /Device_mbed/Example_Geiger/mbed/I2CSlave.h | 511998a120ed03a19ce2a8b541ab204086f5c0bc | [
"MIT"
] | permissive | LinkItONEDevGroup/LASS | 714cf74a07840161ce6a3cd9a9ac525a3d5d88d3 | f06bd202f37f2a8fafe932feabcb119a292f016e | refs/heads/master | 2023-04-30T09:03:36.609950 | 2023-04-27T00:03:26 | 2023-04-27T00:03:26 | 38,099,296 | 174 | 108 | MIT | 2021-02-05T10:09:21 | 2015-06-26T08:14:22 | C | UTF-8 | C++ | false | false | 4,036 | h | /* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 re... | [
"royedfa5229@gmail.com"
] | royedfa5229@gmail.com |
6a25480948bc7ad61089dc0d9bae257a323ef33b | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/drivers/wdm/capture/mini/atiwdm/crossbar/atixbar/wdmxbar.h | 22d40f5f78bc26c3f6670c4adcfc5d37dcd4aaf1 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 3,354 | h | //==========================================================================;
//
// WDMXBar.H
// WDM Analog/Video CrossBar MiniDriver.
// CWDMAVXBar Class definition.
// Copyright (c) 1996 - 1997 ATI Technologies Inc. All Rights Reserved.
//
//==========================================================... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
7a57efe2e9220c42eb812ff9a9fed9b872be39c2 | 3fc4282d7c4b21e0ea7d39e9ae476a8815ed4812 | /src/kernelfile.cpp | 1e393e3f36a6337096e18ddadcdb5f74fdf7b119 | [] | no_license | ntrifunovic/ETF-OS2 | e27da2f2cdddd437c520c4f933a056f5255574f3 | cdff3d07f6f06221c1497ee4ab839e6b88800c5b | refs/heads/master | 2021-01-01T19:50:40.637355 | 2013-07-07T21:30:29 | 2013-07-07T21:30:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,448 | cpp | // File: kernelfile.cpp
#include "kernelfile.h"
#include "kernelfs.h"
#include "slobodniklasteri.h"
#include "entryiterator.h"
#include <windows.h>
#include <memory.h>
#include <algorithm>
using namespace std;
KernelFile::KernelFile(Partition* par, Entry _entry, KernelFS* _fs, string _fullName)
... | [
"ntrifunovic@gmail.com"
] | ntrifunovic@gmail.com |
2b897362b62b4a045a89851ceda1160924343ca6 | e47d21d40be9bffd742bd0f4a2fe8a9ba68c7bd5 | /System/Data/SqlParameter.h | 5588c0a8251936eb4618befbf9a874ceb321ec78 | [] | no_license | pzhu1015/CPPSource | 8dffff1572abfd7e844c926bf6f17bada8601ad5 | 23c17f3632a2f1a9a1c233bf8cf97d37ce85b9e5 | refs/heads/master | 2023-01-27T22:07:41.227234 | 2020-12-06T12:36:51 | 2020-12-06T12:36:51 | 275,615,449 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | h | ///////////////////////////////////////////////////////////////////
// Copyright 2020 Pengzhihu All Right Reserved
// FileName:
// Author: Pengzhihu
// Date: 2020-05-20
// Version: 1.0
// Description:
///////////////////////////////////////////////////////////////////
#ifndef SYSTEM_DATA_SQLPARAMETER_H
#define SYSTEM_D... | [
"pzh@PZH"
] | pzh@PZH |
abe614afb4639767d3aea26d069d51669063cb5a | ea4d391f01e6e8c427bc63b73933a59c5929b947 | /Projects/finlib/xlw/XlfRef.cpp | 173b00e71a51751b8534eb383156cd5425581a9e | [] | no_license | alhunor/projects | 6091e53b621db610f9d0c65df73a884591b99ff0 | dd626aa855fd7f176c882737ffcad5c527015e01 | refs/heads/master | 2021-04-15T19:01:21.857954 | 2019-03-19T13:19:21 | 2019-03-19T13:19:21 | 33,770,346 | 0 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,133 | cpp | /*
Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004 Jérôme Lecomte
Copyright (C) 2007, 2008 Eric Ehlers
This file is part of XLW, a free-software/open-source C++ wrapper of the
Excel C API - http://xlw.sourceforge.net/
XLW is free software: you can redistribute it and/or modify it under the
terms of the... | [
"alhunor@yahoo.com"
] | alhunor@yahoo.com |
31321efff0e7c4702a8744f0d89ccacf3c882d35 | 81de7d09d92e602d32055b5e84c12d07034e99ce | /DP(다이나믹 프로그래밍)/1915_가장 큰 정사각형.cpp | 046c43a832bb534bbe88bdbfe81d6dc59219157c | [] | no_license | newdeal123/BOJ | 13499fe476ae1aee2b3174e147b4fafbc071985b | 20a161e46018fc1baba1710f36d3d29fa3bf20db | refs/heads/master | 2021-08-08T15:41:57.601898 | 2021-06-30T14:41:14 | 2021-06-30T14:41:14 | 164,074,479 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | cpp | //n×m의 0, 1로 된 배열이 있다.이 배열에서 1로 된 가장 큰 정사각형의 크기를 구하는 프로그램을 작성하시오.
//
//0 1 0 0
//0 1 1 1
//1 1 1 0
//0 0 1 0
//위와 같은 예제에서는 가운데의 2×2 배열이 가장 큰 정사각형이다.
//
//입력
//첫째 줄에 n, m(1 ≤ n, m ≤ 1, 000)이 주어진다.다음 n개의 줄에는 m개의 숫자로 배열이 주어진다.
//
//출력
//첫째 줄에 가장 큰 정사각형의 넓이를 출력한다.
#include <iostream>
#include <algorithm>
#include <string>... | [
"newdeal123@nate.com"
] | newdeal123@nate.com |
d0b064aaae128695a6888627ce2423c54229f517 | cc7661edca4d5fb2fc226bd6605a533f50a2fb63 | /System.Runtime.Serialization/IXmlMtomReaderInitializer.h | 1269f084880b2a15098445297664d31e4d56aa74 | [
"MIT"
] | permissive | g91/Rust-C-SDK | 698e5b573285d5793250099b59f5453c3c4599eb | d1cce1133191263cba5583c43a8d42d8d65c21b0 | refs/heads/master | 2020-03-27T05:49:01.747456 | 2017-08-23T09:07:35 | 2017-08-23T09:07:35 | 146,053,940 | 1 | 0 | null | 2018-08-25T01:13:44 | 2018-08-25T01:13:44 | null | UTF-8 | C++ | false | false | 115 | h | #pragma once
namespace System
{
namespace Xml
{
class IXmlMtomReaderInitializer
{
public:
}; // size = 0x0
}
| [
"info@cvm-solutions.co.uk"
] | info@cvm-solutions.co.uk |
e36f796ef657f4a21b18a21849d15ddc62243bc2 | 0e0303b367314c6d0f9539f9af99721ab4c0c5e7 | /gamelib/gamelib_world.cpp | 95b6cd5dfc447e696b756add678229e34f142638 | [
"MIT"
] | permissive | jmbyam/CS_game | cee4b792b634a3be60d0ae895e2b7a57f996a14e | c5da1f7aa2d37a1b38ba96e38b557ba79def665f | refs/heads/master | 2021-03-02T16:29:23.491602 | 2020-03-09T05:38:20 | 2020-03-09T05:38:20 | 245,883,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,425 | cpp | #include "pch.h"
#include <gamelib_actor.hpp>
#include <gamelib_locator.hpp>
#include <gamelib_world.hpp>
namespace GameLib {
namespace Tokens {
#define WORLD_TOKENS(ENUM) \
ENUM(WORLDSIZE) ... | [
"microwerx@outlook.com"
] | microwerx@outlook.com |
4af97fe17797464ee9328d25d3aaaa493afc8947 | 87aba51b1f708b47d78b5c4180baf731d752e26d | /Replication/DataFileSystem/PRODUCT_SOURCE_CODE/chromium/net/url_request/url_request_http_job.h | 4d0df3fa86a2ea8ff6b0ed5b28e615b566f5dea9 | [
"BSD-3-Clause"
] | permissive | jstavr/Architecture-Relation-Evaluator | 12c225941e9a4942e83eb6d78f778c3cf5275363 | c63c056ee6737a3d90fac628f2bc50b85c6bd0dc | refs/heads/master | 2020-12-31T05:10:08.774893 | 2016-05-14T16:09:40 | 2016-05-14T16:09:40 | 58,766,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,409 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
#define NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_H_
#include <string>
#include <vector>
#include "base/c... | [
"jstavr2@gmail.com"
] | jstavr2@gmail.com |
d63f9ed175ed6b093d351e1d90139db66165ed96 | 769b9c5405cccfa225a80f973729031f16a0028e | /Chemiluminescence_instrumentV3/standardBightWidget/standardbightwidget.cpp | 2687c9cfe129dddee1137b6696ebdd20bd55c25e | [] | no_license | 519984307/My_Chemiluminescence_Software | 70f571f8172b4ffae652671661f4461f57869dbb | 50ca24e83a14c27fc60791d240b71a62e9bd3506 | refs/heads/master | 2023-03-19T10:08:23.749209 | 2018-12-12T18:34:55 | 2018-12-12T18:34:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,754 | cpp | #include "standardbightwidget.h"
#include "QFont"
#include "data\util.h"
#include <QSqlQuery>
#include <QSqlError>
#include <QDebug>
#define Fuction_COEFFICIENT_COUNT 4 //函数系统个数
bool standardBightWidget::CurveDisplayFlag = false;
standardBightWidget::standardBightWidget(QWidget *parent):QWidget(parent)
{
//头图标初始... | [
"884428413@qq.com"
] | 884428413@qq.com |
b52de22006f66547541fea6213146fff345cb81e | dc281e94e9b0d9b895867ec296ca90889d384675 | /Geeks for geeks/Data-Structure/Array/Easy/The Optimal Selection.cpp | a41b2c2c7518ffd8c1f3ed97687cd28f526cbb81 | [] | no_license | shreyash184/c-codes | 70c494137c8a1224b0d688b22479667c6135a36d | 79a92ef066493d88afb1758d76e24d989e4c07c3 | refs/heads/master | 2023-02-02T12:32:32.018515 | 2020-05-01T04:28:09 | 2020-05-01T04:28:09 | 145,076,888 | 1 | 0 | null | 2023-02-01T11:52:36 | 2018-08-17T05:42:43 | C++ | UTF-8 | C++ | false | false | 316 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
//code
int t;
cin>>t;
while(t--){
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
cin>>a[i];
sort(a, a+n);
int prod = 0;
for(int i=0;i<n;i++){
prod+=i*a[i];
}
cout<<prod<<endl;
}
return 0;
} | [
"shreyashchavhan8@gmail.com"
] | shreyashchavhan8@gmail.com |
8d04c9de62bf67ce7dab953b1d47a3ef64bda731 | 1c3dbc41112f6abbbf917e402a8970aad0ffe301 | /obelus/client/interfaces/interfaces.hpp | 8c08f22fdbded7b87358d15d3ea198143aea0827 | [
"MIT"
] | permissive | TurkLee/obelus-hack | 362a3f756af7d442cc8b4f784beebd1c356a31bd | 8e83eb89ef56788c1b9c5af66b815824d17f309d | refs/heads/main | 2023-06-15T22:45:31.427393 | 2021-07-08T09:21:39 | 2021-07-08T09:21:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,035 | hpp | #pragma once
#define NOMINMAX
#include <windows.h>
#undef NOMINMAX
#define FMT_HEADER_ONLY
#include "../../client/fmt/format.h"
#include "../../client/fmt/chrono.h"
#include <cstdint>
#include <string>
#include <stdexcept>
#include "i_base_client_dll.hpp"
#include "i_client_entity_list.hpp"
#include "iv_engine_clie... | [
"46615969+monthyx1337@users.noreply.github.com"
] | 46615969+monthyx1337@users.noreply.github.com |
ce6c284095269d9bd8e3d2680762e9ca39949f53 | ba10da4be74ba4e472bbe4b51d411627fc07bdbf | /build/iOS/Preview/include/Fuse.Reactive.Equal.h | c3974c9c0eb96c9cea8fb259e7e4e2ca09001407 | [] | no_license | ericaglimsholt/gadden | 80f7c7b9c3c5c46c2520743dc388adbad549c679 | daef25c11410326f067c896c242436ff1cbd5df0 | refs/heads/master | 2021-07-03T10:07:58.451759 | 2017-09-05T18:11:47 | 2017-09-05T18:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | h | // This file was generated based on '/Users/ericaglimsholt/Library/Application Support/Fusetools/Packages/Fuse.Reactive.Expressions/1.0.5/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Reactive.IExpression.h>
#include <Fuse.Reactive.InfixOperator.h>
namespace g{na... | [
"ericaglimsholt@hotmail.com"
] | ericaglimsholt@hotmail.com |
cba0173ff648649e0468e6bb71feaeb8db873072 | 888f821260b4bfda6df2ab4ba5c639fd16f30c94 | /codeforces/cfv1/D.cpp | dd2c69e3c302362fb96da4d050b4d43e5394a3c2 | [] | no_license | JustBeYou/infoarena | 1b8a6d32d039dc6e53f592003ce9ef1cfc79812e | f335d7f7a074255e60262c31d518b9ca86d5f30d | refs/heads/master | 2021-07-05T12:21:56.854223 | 2020-09-12T15:47:23 | 2020-09-12T15:47:23 | 179,277,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef signed long long ll;
typedef unsigned int uint;
const int nmax = 10000;
ull sol;
ull n;
int main() {
//freopen("input", "r", stdin);
cin >> n;
for (ull i = 2; i < n; i++) {
sol += i * (i + 1) * 1ULL;
}
cout << sol... | [
"mihailferaru2000@gmail.com"
] | mihailferaru2000@gmail.com |
c9859454f07f464d7adc8283920e78e920869cce | cd91c991f2218b1b97a08125f160c497327ad00c | /activ.cpp | 2ce1470f80a8c63823b0cc4b68611c8ffd153797 | [] | no_license | pruvi007/SPOJ_CLASSICAL | fe74c1729227c6176102b318e46103fd548a9364 | be28e14bad9af12bc3c56e764f8ab14650c4bb99 | refs/heads/master | 2020-07-18T10:58:48.037574 | 2019-11-01T01:47:33 | 2019-11-01T01:47:33 | 206,233,688 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,436 | cpp | /*
*/
// solution by @pruvi007
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
struct myComp{
bool operator()(vector<ll> a,vector<ll> b)
{
return a[1] < b[1];
}
};
#define ll long long int
ll mod = 1e8;
int bs(vector<vector<ll> > &v,int l,int r,int x)
{
int ans = -1;
while(l<=r)
{
int ... | [
"pruvi007@gmail.com"
] | pruvi007@gmail.com |
2f065e11e49cd70603f54422debc731b8135f808 | 895e1f0af56518c7956594f7c650211d9fc2467a | /labs/game_engine/prototypes/prototype_4/include/ext_voxel/VoxelBlock.h | 2fe56afdd0fc293aeed672a87f36ed44f32508c1 | [] | no_license | lythm/orb3d | b6061ebf839381a35aaeab8baf08a38fcfe03a71 | 2defcbf86ef7dd2a27fe7bdc89bf709ed8bf2a79 | refs/heads/master | 2016-09-15T15:55:19.069094 | 2013-07-12T17:09:29 | 2013-07-12T17:09:55 | 4,442,482 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 130 | h | #pragma once
namespace engine
{
class VoxelBlock
{
public:
VoxelBlock(void);
virtual ~VoxelBlock(void);
private:
};
} | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
14ca2f4adc1a3514ae32a5f62427f7ac00ddbc19 | 44c64a65a1148728b9f33c1f8dd6c8de5b7af95e | /kernel/objects/aircraft_physless/aircraft_physless_view.h | 54446a47f02af308860b73b878b5ee0cd84459c4 | [] | no_license | wangfeilong321/test_osg | 0a36381f53095f47f79f807483ce75e3ec6572e5 | 0c20e55b870f5069665122ec8118a542607200d3 | refs/heads/master | 2021-01-14T13:07:11.522705 | 2015-12-30T18:38:32 | 2015-12-30T18:38:32 | 48,838,585 | 0 | 1 | null | 2015-12-31T07:04:14 | 2015-12-31T07:04:14 | null | WINDOWS-1251 | C++ | false | false | 7,396 | h | #pragma once
#include "common/aircraft.h"
#include "common/aircraft_fms.h"
//#include "objects/aircraft_physless.h"
#include "objects/nodes_management.h"
#include "aircraft_physless/aircraft_physless_common.h"
#include "common/test_msgs.h"
#include "aircraft_physless_state.h"
namespace aircraft_phys... | [
"yaroslav.tarasov@gmail.com"
] | yaroslav.tarasov@gmail.com |
ea9efe4cfc4fc5e62f6fcd1a4e8e9bcf9d293d6b | 01940d46f04f2b7be932cc2f9aedc19e8dc6d8cd | /Server/StaticNFrame/NFComm/NFNetPlugin/QiPaiNetPacketParse.cpp | cc6020c277fc1f0b280dd6b15666fb05602d47d4 | [] | no_license | xuebai5/StaticNFrame | 07861ff59c59826c92a4731042ecc35356488fa6 | 05421e35bdb81fdda01050cdb8549375d6ddacc8 | refs/heads/master | 2022-04-01T13:37:53.479759 | 2020-01-03T07:35:33 | 2020-01-03T07:35:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | cpp | // -------------------------------------------------------------------------
// @FileName : QiPaiNetPacketParse.cpp
// @Author : GaoYi
// @Date : 2018/05/25
// @Email : 445267987@qq.com
// @Module : NFNetPlugin
//
// -------------------------------... | [
"445267987@qq.com"
] | 445267987@qq.com |
7a00de4c51f97c454cc6f32dbcdd319984ccade8 | 6ea6691636a1a5072f12efe0aad9d778d32f126c | /OGLplus_build/implement/oalplus/enums/context_attrib_def.ipp | 4d2195827f63e305e8f2f2ed9db3ed5bb42cc633 | [
"BSL-1.0"
] | permissive | pm990320/OpenGLLearning | 6c63234da5f00193bf3799ee4b97b16bd14cdc6b | d4f83a047dbfe816631d59ea1115176514d9fad6 | refs/heads/master | 2021-01-10T06:21:34.592102 | 2014-07-04T10:42:52 | 2014-07-04T10:42:52 | 54,271,323 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,574 | ipp | /*
* .file oalplus/enums/context_attrib_def.ipp
*
* Automatically generated header file. DO NOT modify manually,
* edit 'source/enums/oalplus/context_attrib.txt' instead.
*
* Copyright 2010-2013 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1... | [
"patmenlove@gmail.com"
] | patmenlove@gmail.com |
3275cda122d653bc5c7ae4c4a8926910f0a608c7 | 4d02ae49de2caf1d35eafba92d482db4cfa5d790 | /C++PrimerPlus/chapter03/3-处理数据/3.14_typecast.cpp | 58c2af1fff8e5573b35d26b9b8b8afce9eef35fe | [] | no_license | fei0511/C--PrimerPLusCode | 29b13c0c0992a5c3d0b6dcf5374d73a423005a20 | 46989078c868e195140251afec5d3a8ed27ca3b8 | refs/heads/main | 2023-01-30T20:05:41.422115 | 2020-12-10T14:23:44 | 2020-12-10T14:23:44 | 315,538,707 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 632 | cpp | #include <iostream>
//功能:3.14 c++强制类型转换
//时间:2020年11月23日21:00:34
int main()
{
using namespace std;
int auks, bats, coots;
auks = 19.99 + 11.99;
bats = (int) 19.99 + (int) 11.99;
coots = int(19.99) + int(11.99);
cout << "auks = " << auks << ", bats = " << bats;
cout << ", coots = " << coots << endl;
char ch =... | [
"1277051100@qq.com"
] | 1277051100@qq.com |
61c000b201e14555a7e930cb15011d97d6f8c29e | beba921f6880d9e2575139ab9bb34f49ad16f5ed | /game_main.cpp | 14c63462d28e16ded00a999de27a639162e5b3af | [] | no_license | KaiRusch/BulletHellGame | 8db09950ff881216a7242432c85162fc91dae984 | 53d076f0cca11451a4b2a4719466fa930c33d395 | refs/heads/master | 2021-01-20T13:47:30.867977 | 2016-01-17T22:46:30 | 2016-01-17T22:46:30 | 25,844,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,980 | cpp | #include "game_main.hpp"
Entity::Entity(vec2d position, vec2d dimensions, float radius, vec2d velocity, int sprite) : position(position), dimensions(dimensions), radius(radius), velocity(velocity), sprite(sprite), destroy(false), type(ENTITY)
{
}
void Entity::render(GameWindow *gameWindow)
{
gameWindow->render_spri... | [
"kai.rusch@gmail.com"
] | kai.rusch@gmail.com |
110b0bd4cd95c228e1e78f404cea31ea643c38d1 | 43b1903f35fa75bf6490bff605410d2d12f82382 | /Semester1ClassWork/Work4/T7 OrderBinTree/orderBinaryTree.h | e39ba10de1a42e0c52bd7221f741020b92c7a5ec | [] | no_license | Trouvaille0198/DataStructure | 1a1ad2f27055338c0edd588a170a9e84c2c3e791 | 6ce4a1c9e76dcbc2fc97568f46c5e4d4a38595b7 | refs/heads/main | 2023-06-01T11:44:04.411907 | 2021-06-17T10:16:43 | 2021-06-17T10:16:43 | 316,417,692 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,494 | h | //顺序二叉树
#include <bits/stdc++.h>
using namespace std;
template <class T>
class Node
{
public:
int Ref; //标记节点类型
T data;
Node() //默认构造
{
}
Node(int r, const T &t) //非完全二叉树的结点
{
Ref = r;
data = t;
}
Node(const T &t) //完全二叉树的结点
{
Ref = 0;
data = t;
... | [
"1375911011@qq.com"
] | 1375911011@qq.com |
8c322c0476c489ae22b97ebe4119652d2638dd0c | a586d503c0abcae6e61a62c78fff39806863ddad | /d08/ex03/PutChar.cpp | c7349361a9c787d8564f4d97ef7c359c8ed5df07 | [] | no_license | akolomoi/cpp_pool | b18952428e2f62172d79b50c5b0a1d496b72c6c1 | 7f372f9ac683dd3da740098d1c33aaddf26f764b | refs/heads/master | 2022-04-05T17:01:17.164350 | 2020-02-03T14:10:01 | 2020-02-03T14:10:01 | 237,979,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* PutChar.cpp :+: :+: :+: ... | [
"akolomoi@e1r4p1.unit.ua"
] | akolomoi@e1r4p1.unit.ua |
f9debf30d8a82fed261834efb03578ac968c1888 | 10560f64e0936560e4621ae31475a9bb65b3ffcd | /source/qt_Kviewer/s4Kviewer.cpp | a039788ba4f55b1424aea1324fc4b50f3a797633 | [
"MIT"
] | permissive | chunyisong/s4 | c775e5789d61e5c0940e2f8c38162b2e3bc325b7 | e57f17e729050da09e051221d20dc384027e6f62 | refs/heads/master | 2022-11-21T00:52:31.763539 | 2020-07-19T13:51:37 | 2020-07-19T13:51:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,857 | cpp | #pragma warning(push)
# pragma warning(disable: 4189)
#include "qt_Kviewer/s4Kviewer.h"
#include "ui_s4Kviewer.h"
#include "common/s4logger.h"
#include "qt_common/Utils.h"
#include "qt_Kviewer/s4Kinstrument.h"
#include "jsonTypes/nw_load_instrument_t.h"
#include <QSplitter>
#include <QScrollArea>
#inclu... | [
"chinsaiki@outlook.com"
] | chinsaiki@outlook.com |
26d891a50fecde1c966367acef9ca8bd07433bb3 | 300de94b3294d23a31c3fb963a4ebd8796dbc36a | /sensor_msgs/PointCloud2.h | 99887ea8a4c8c6b5c265d7d287c651debe17101c | [] | no_license | uas-at-ucla-dependencies/sensor_msgs | 2ac6950a8b021da211cf4c4d8453a597d5985faa | 7926ae1b63c33e9207483253f2911e5551418afe | refs/heads/master | 2020-07-09T17:42:53.824301 | 2019-03-07T21:06:12 | 2019-03-07T21:06:12 | 204,037,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,863 | h | // Generated by gencpp from file sensor_msgs/PointCloud2.msg
// DO NOT EDIT!
#ifndef SENSOR_MSGS_MESSAGE_POINTCLOUD2_H
#define SENSOR_MSGS_MESSAGE_POINTCLOUD2_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include ... | [
"comranmorsh@gmail.com"
] | comranmorsh@gmail.com |
98ff571fd75b0ebd6d54fa23bf8ea4a29f346bf1 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_4886.cpp | 7040532ebf88f16fc3bb55f1acc37640f9fe6c98 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,981 | cpp | debug(9, 1) ("ftpTimeout: timeout in SENT_PASV state\n");
}
ftpFailed(ftpState, ERR_READ_TIMEOUT, 0);
/* ftpFailed closes ctrl.fd and frees ftpState */
}
static void
ftpListingStart(FtpStateData * ftpState)
{
StoreEntry *e = ftpState->entry;
wordlist *w;
char *dirup;
int i, j, k;
... | [
"993273596@qq.com"
] | 993273596@qq.com |
39bc4fb65fbd435aa6292c894f818582a4803bab | d4753b3c05f7b651c5d11e2e3d51c9fbcee156b4 | /handler.cpp | fc00c329a856635f098eb99caa930c49afb49df6 | [
"MIT"
] | permissive | Druggist/jukebox | d018d43ea27d75349b078b3b0287367efa33706d | a3916101d7d747c3c028fc2ee156cee196eb2d76 | refs/heads/master | 2021-09-20T03:18:39.621021 | 2018-08-02T10:55:31 | 2018-08-02T10:55:31 | 118,338,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include "handler.h"
Handler::Handler(QObject *parent) : QObject(parent) {
jukebox = new(Jukebox);
connect(jukebox, SIGNAL (connectSuccess()), this, SLOT (runConcurrent()));
}
void Handler::runConcurrent() {
QFuture<void> future = QtConcurrent::run(jukebox, &Jukebox::receiveData);
jukebox->loadData();... | [
"m.najdora@gmail.com"
] | m.najdora@gmail.com |
f5e929adc0c25a708e77a5b89b5f5438acc0d3c7 | 7f9afe2669e3aa76f3b27d5bd4533db5d40eea50 | /Application/vendor/glm/detail/type_vec2.hpp | a687897bacb3cbe3408267e4cee092569c3e2677 | [
"MIT"
] | permissive | Atomnp/ComputerGraphicsProject | 88ba620e0a4210d49ff3d483c75dc1087020ad44 | 81b40fa4a003d429ed2228a77e068d48fb9f8155 | refs/heads/main | 2023-07-23T09:22:58.878551 | 2021-09-02T16:25:56 | 2021-09-02T16:25:56 | 433,399,414 | 1 | 0 | MIT | 2021-11-30T11:09:44 | 2021-11-30T11:09:43 | null | UTF-8 | C++ | false | false | 17,324 | hpp | /// @ref core
/// @file glm/detail/type_vec2.hpp
#pragma once
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
# include "_swizzle_func.hpp"
#endif
#include <cstddef>
namespace glm {
template<typena... | [
"ankitpaudel20000@gmail.com"
] | ankitpaudel20000@gmail.com |
2d46ae6adb1fb01d5164418d8fae7611e898c8e3 | e16ebb1320fb7b189f5843f041cc1f43e6067629 | /src/main.cpp | 20e1d744a3b010252ee51466965c914af4e0ca00 | [] | no_license | LuigiSouza/cg-2021-t4 | 8481fbf4b4cca476c22cd2bb3b77ded8ade2d976 | d68dbac5ca3b14bb002cdd1d69ab7f18f60d0213 | refs/heads/main | 2023-07-12T20:05:15.449776 | 2021-08-26T16:48:17 | 2021-08-26T16:48:17 | 395,843,577 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,515 | cpp | /*********************************************************************
// Canvas para desenho, criada sobre a API OpenGL. Nao eh necessario conhecimentos de OpenGL para usar.
// Autor: Cesar Tadeu Pozzer
// 05/2020
//
// Pode ser utilizada para fazer desenhos, animacoes, e jogos simples.
// Tem tratame... | [
"lpsouza@inf.ufsm.br"
] | lpsouza@inf.ufsm.br |
1e753f37c9f1d7a3123cd13789e353f97f55edc6 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /net/udp/udp_socket_posix.cc | d76de3252c5e8cafe75f99c0578389035caf939d | [
"BSD-3-Clause"
] | 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 | 27,811 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/udp/udp_socket_posix.h"
#include <errno.h>
#include <fcntl.h>
#include <net/if.h>
#include <netdb.h>
#include <netinet/in.h>
#include <... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
26ed0ef3d6ecefb11d6a5c13be0a734c0cbe62d5 | cd8c2812140978b1d55a5ca4fcc9d523c5d0b8ec | /Matrix.cpp | 662e69e340da3357d4357715cb87fd063414372f | [] | no_license | Filatkin/Minimum-area-ellipse | d0dbb122cb50817d8964fe198c2f2bc4f3fed5f7 | 2e48bcbe0465fd25fd79768f021105ba92bc5a56 | refs/heads/master | 2023-04-03T11:31:05.825874 | 2021-04-06T20:41:21 | 2021-04-06T20:41:21 | 355,320,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,975 | cpp | #include <iostream>
#include "Matrix.hpp"
using namespace std;
Matrix::Matrix(unsigned int n_,unsigned int r_)
{
n=n_;
r=r_;
a=new double* [n];
for(unsigned int i=0;i<n;i++)
a[i]=new double [r];
}
Matrix::~Matrix()
{
for(unsigned int i=0;i<n;i++)
... | [
"afil_0206_2_2@mail.ru"
] | afil_0206_2_2@mail.ru |
0fc0c22be9d31b8eeaff77a705b60f2a069466ce | e90c4fd02cc8667142f792fda003a59d4a7ca61c | /C++ Operating Systems/OS_Sim_Driver_1/OS_Sim_Driver_1/long-term_scheduler.h | c5c21559399eca86f27ce995b45fcc8da12c80c5 | [] | no_license | wpegg-dev/College-Work | a8bf1f31fcd8d028ff6d33520d6b555619ec8d71 | 3f6287627486c6c58c5f935cb779a48544c7e29c | refs/heads/master | 2016-09-15T22:39:51.112788 | 2015-06-25T03:26:21 | 2015-06-25T03:26:21 | 35,346,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | h | /*Author: William Pegg
--Class: CS-3243 Spring 2012
--File Name: Long-term_scheduler.h
*/
#ifndef LONGSCHEDULER_H
#define LONGSCHEDULER_H
// tlj - moved to outside of class and added 'int' type specifier
const int processDataSIZE = 44;//tlj - added 'int'
class LongScheduler {
public:
int current_process;
//-----... | [
"william.pegg.dev@gmail.com"
] | william.pegg.dev@gmail.com |
fa79fb0be2ece5eae35418044f21026f57f913e7 | aa2052049bad005796fb4120987b084e386c3dd8 | /Deanery/include/lab5.h | 75b011e3eed6cf6e821381c0ed84779a0bd2d651 | [] | no_license | VirtualRoyalty/Deanery-model | 058e4603622a0492e2af9c35040286e727cb674f | 4b7d78f3c90aeb8c6e1e1d27d7e3dae9607879c1 | refs/heads/master | 2020-04-21T04:52:35.261001 | 2019-02-06T09:15:21 | 2019-02-06T09:15:21 | 169,325,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,998 | h | #pragma once
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <ctime>
using namespace std;
class Group;
class Deanery;
class Student
{
friend Group;
friend Deanery;
private:
int id;
std::string fio;
std::vector <int> marks;
Group *group;
public:
Student(int _id, std::stri... | [
"vadikalperovich@mail.ru"
] | vadikalperovich@mail.ru |
b49782c8fb4f2d19d9cc71825442769266bfe1fe | 8c6437a1fb20b6d6f1a646bd064d2383a98d25a2 | /TCP/TCP_examples/tcpServer1/server.cpp | 09ec7cc39fc4da71064e3c869e376af3905acb2a | [] | no_license | GieYan/QT | c611d8ca7750c93371516908b2ae95fdf8afd87f | 5490a4cc15fefdaaf99c95674a8a32d84d708721 | refs/heads/master | 2021-01-19T06:32:22.494568 | 2016-06-23T13:22:02 | 2016-06-23T13:22:02 | 60,246,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,433 | cpp | #include "server.h"
#include "ui_server.h"
#include <QtNetwork>
Server::Server(QWidget *parent) :
QDialog(parent),
ui(new Ui::Server)
{
ui->setupUi(this);
connect(&tcpServer, SIGNAL(newConnection()),
this, SLOT(acceptConnection()));
}
Server::~Server()
{
delete ui;
}
// 开启监听
void Ser... | [
"ygleas125@163.com"
] | ygleas125@163.com |
9953cb3d896a63d7b752f823f43fee92f6565c80 | 7747a6d4a0e933ee28d2749b1b2bd30023d889f1 | /Audio.h | c49415b108f2af5f963ba1ccd014e894cfabdbf9 | [] | no_license | Mightted/testFFmpeg | 6cf8c6369356ad3445765675d0876f2808b86dcd | 40e0c16edd010ee10f4cf5cdb3e4729b22ff531d | refs/heads/master | 2023-03-31T13:05:03.972376 | 2021-03-31T16:45:48 | 2021-03-31T16:45:48 | 350,617,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h | //
// Created by xk on 2021/3/17.
//
#ifndef TESTFFMPEG_AUDIO_H
#define TESTFFMPEG_AUDIO_H
#include "AVCommon.h"
#include "AudioParams.h"
extern "C" {
#include "libswresample/swresample.h"
};
class Audio : public AVCommon {
public:
bool sdl_init(void *vs, void(*callback)(void *, uint8_t *, int))... | [
"huangxiaoshen@castelbds.com"
] | huangxiaoshen@castelbds.com |
2fb557844f83ac9d400ca4039ec9b6113c645f3d | 0169482f88d6bb5ee7eb318182fdaef7b5c3d1ec | /tests/benchmarks/bench_ConvexPolyhedron2.cpp | 43d9fac5b4e208f05fe560a027c5b96c57b49fad | [] | no_license | sd-ot/sdot_pub | 9d4414474b9cc0d28c7a71f24a13ce9c1ae18fb2 | b3ff0bdbeab28e4158a74492d72756fe458f2229 | refs/heads/master | 2020-10-01T21:48:05.308199 | 2020-01-10T08:23:04 | 2020-01-10T08:23:04 | 227,631,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | cpp | #include "../../src/sdot/Geometry/ConvexPolyhedron2.h"
#include "../../src/sdot/Support/StaticRange.h"
#include "../../src/sdot/Support/ASSERT.h"
#include "../../src/sdot/Support/Time.h"
#include "../../src/sdot/Support/P.h"
#include <fstream>
#include <map>
using namespace sdot;
// // nsmake cxx_name clang++
// // ns... | [
"hugal.leclerc@gmail.com"
] | hugal.leclerc@gmail.com |
b2d7bb5aad1d143c737fe8ecc4d70e970b32e04f | a5364f0cc392899eeedc6d0fbc42c6ce5b3ad475 | /cpp01/ex07/Replace.cpp | 5ccb064e272233c963e6aa844741bef3a3a6d9a2 | [
"MIT"
] | permissive | ndeana-21/cpp | 47cb64e10a4e1644bc79056be30041c342a86aad | 98932eab0c1d57a715b6deb76c7a294c1e86f2fd | refs/heads/main | 2023-04-10T14:34:38.898985 | 2021-04-14T12:25:27 | 2021-04-14T12:25:27 | 319,647,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | cpp | #include "Replace.hpp"
std::string Replace::find_and_replace(std::string str, const std::string find, const std::string replace) {
unsigned long pos = 0;
while ((pos = str.find(find, pos)) != std::string::npos) {
str.replace(pos, find.length(), replace);
pos += replace.length();
}
return (str);
}
void Repla... | [
"n"
] | n |
31ec724f7fb0a4e389598f4e481b47f2f1c1feb0 | 41fd2e43649ccc2c9cdd6bbcddf159babdf36dba | /sail/sail/Load.cpp | caffdd465a519d1171011f0872318bccd94c0055 | [] | no_license | fredfeng/compass | 84d37183c11692da77b3c8cf7666c15a5b524390 | 3063df1a86e9473bbd62d52e9002743fd7e90c3b | refs/heads/master | 2020-04-10T11:57:17.616921 | 2015-03-10T16:54:21 | 2015-03-10T16:54:21 | 31,969,036 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | cpp | /*
* Load.cpp
*
* Created on: Jun 29, 2008
* Author: isil
*/
#include "Load.h"
#include "Variable.h"
#include "node.h"
#include <sstream>
#include <assert.h>
#include "util.h"
namespace sail {
Load::Load(Variable* v1, Symbol* v2, int offset, string name,
il::node* original, int line) {
this->v1 = v1;
... | [
"fengyu8299@gmail.com"
] | fengyu8299@gmail.com |
a4eadd38a29401621283bbc0b6c2ec26c406f6dc | ed2cb932b6a6171cf7b5e338b2ef6c88d316a0e7 | /D2DFramework_v0.01/System/Application/DX2DApp.cpp | a86be14bb26b0bc978a408747f5c8661341b7004 | [] | no_license | wowangki/Study | 6d755f5fd8d1e7af9bd0294132f36ac274a7909e | 304bb957e0d56bc911a872e9fcf37087417a3b99 | refs/heads/master | 2020-09-07T20:39:09.171067 | 2020-01-07T15:39:20 | 2020-01-07T15:39:20 | 220,907,080 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,268 | cpp | #include "stdafx.h"
#include "DX2DApp.h"
DX2DApp::DX2DApp()
:
pWriteFactory(nullptr),
pDefaultBrush(nullptr),
pRenderTarget(nullptr),
pDirect2dFactory(nullptr)
{
}
bool DX2DApp::CreateFactory(void)
{
//FAILED = HRESULT
//성공시 S_OK 실패하면 E_FAIL
if (FAILED(D2D1CreateFactory(
D2D1_FACTORY_TYPE_SINGLE_THREADED,... | [
"wowangki@gmail.com"
] | wowangki@gmail.com |
b6e56c114ae340b67c304b18490829ec25d48d44 | e5f74db2b079783fbf923826e3ee0d061849a889 | /Code/GraphicsAnalyse/saveimagedialog.h | 211caa6ae0e2696a30dd049c18a14ec3d91e528d | [
"BSD-3-Clause"
] | permissive | sunhan01/FastCAE | 57b6ba145864978ffcc57dd4721a17d4b6c350f8 | 4e9e9aa1cc076bc3ba5d7823fb61e5b0a9dc2e72 | refs/heads/master | 2023-02-12T14:56:52.414267 | 2021-01-11T05:43:42 | 2021-01-11T05:43:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | h | #ifndef SAVEIMAGEDIALOG_H
#define SAVEIMAGEDIALOG_H
#include <QDialog>
#include "global.h"
#include "qfiledialog.h"
namespace Ui {
class saveImageDialog;
}
class saveImageDialog : public QDialog
{
Q_OBJECT
public:
explicit saveImageDialog(QWidget *parent = 0);
~saveImageDialog();
saveImage_prop get_saveIm... | [
"libaojunqd@foxmail.com"
] | libaojunqd@foxmail.com |
6266a2cf723a107ac2a0e9172c09697638c37363 | 1677771f5ad8a70d8b7fab274d316d52a6925309 | /게임 엔진 폴더/Windows Version Engine tamplate/tamplate/game.cpp | 0f82018e8e69151730337762c2e4c9d3bb07843b | [
"Apache-2.0",
"CC-BY-3.0"
] | permissive | CRY-D/M.J_Physical_GameStudio_Engine | 5b9c7579656404291196757c883b8f45c19d97cc | 929d3c57549bfa960c0dc139846caf3c8b81903e | refs/heads/master | 2021-06-01T02:22:49.747546 | 2016-07-18T18:34:54 | 2016-07-18T18:34:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,884 | cpp | #include "game.h"
Game::Game()
{
input = new Input();
paused = false;
graphics = NULL;
audio = NULL;
console = NULL;
messageDialog = NULL;
inputDialog = NULL;
fps = 100;
fpsOn = false;
initialized = false;
}
Game::~Game()
{
deleteAll(); ... | [
"jrcright1004@gmail.com"
] | jrcright1004@gmail.com |
29bda7e0d487dc2411fc34468e90a4f3fb102f79 | 31406f420f019a191a74b9288a6e37dcd89e8e82 | /tools/node-hermes/third-party/libuv/test/test-get-memory.c | 2396939bcb155749a4b033516fd08fc366c21f7f | [
"CC-BY-4.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"ISC",
"BSD-2-Clause"
] | permissive | facebook/hermes | b1bf3cb60b5946450c7c9a421ac8dad7a675e0f5 | 440578b31ecce46fcc5ba2ad745ffd5712d63a35 | refs/heads/main | 2023-09-06T04:16:02.263184 | 2023-09-05T20:12:54 | 2023-09-05T20:12:54 | 154,201,259 | 8,449 | 593 | MIT | 2023-09-14T21:25:56 | 2018-10-22T19:13:00 | C++ | UTF-8 | C++ | false | false | 1,529 | c | /* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
893a01de2e8c55050499ca30d5dff19d6fe76de1 | 2f9a425e8f5d034da4d35c9f941ff609cb232883 | /poj/3061/POJ_3061_2464921_AC_31MS_472K.cpp | 913964a4ecb45d63965778c292c8a87fdccc8587 | [] | no_license | wangyongliang/nova | baac90cd8e7bdb03c6c5916fbab9675dabf49af5 | 86b00b1a12f1cc6291635f31a33e791f6fb19d1a | refs/heads/master | 2022-02-18T05:35:02.447764 | 2019-09-08T02:22:06 | 2019-09-08T02:22:06 | 10,247,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | #include<stdio.h>
#define maxx 1000009
long s,n;
int a[maxx];
int check(int mid)
{
int sum=0,i;
int t;
if(mid<=0) return 0;
for(i=0;i<mid;i++) sum+=a[i];
t=0;
if(sum>=s) return 1;
for(;i<n;i++)
{
sum=sum+a[i]-a[i-mid];
if(sum>=s) return 1;
}
return 0;
}
int main()
{
long max,min,i,su... | [
"wangyongliang.wyl@gmail.com"
] | wangyongliang.wyl@gmail.com |
e366e84eab7cd9335149cb6cce38dbb420a8bf47 | 5c06c80bf21f7bb84bf8bc3dfdf5040ff2878a24 | /project3/src/cliente.cpp | ad273028516323168b1e06486350bd3baa08a959 | [] | no_license | joe-stifler/projects-network-programming | 77663bf355addd1ed917a8d29d73f4925b2cacfa | bf9a527b84ca0872517948b50b5afb097a982698 | refs/heads/master | 2023-02-12T21:33:02.446778 | 2021-01-11T00:39:01 | 2021-01-11T00:39:01 | 326,373,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | #include <socket.h>
#define MAXLINE 4096
int main(int argc, char **argv) {
char recvline[MAXLINE + 1];
/*
Verificamos se o usuário passou o número correto de parâmetros
*/
if (argc != 3) {
char error[MAXLINE + 1];
strcpy(error,"uso: ");
strcat(error,argv[0]);
strcat(er... | [
"joseribeiro1017@gmail.com"
] | joseribeiro1017@gmail.com |
52bc93ebbee2ddf4e8e2f98c83d22a34852f0426 | 842722cb14d254ead0dedd0e47dc8dd15ad82630 | /Sources/Scenes/SceneStructure.hpp | e9dbec16a663f21a621c18f691d75afb2b54e19e | [
"MIT"
] | permissive | chrisengelsma/Acid | ef70977a5dd11669cc6f9009e60c9c2bdafc6b3b | b45f3a437584c3820c532c6391a8442c4a32fdee | refs/heads/master | 2020-07-16T04:00:03.969624 | 2019-08-17T05:23:04 | 2019-08-17T05:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,571 | hpp | #pragma once
#include "Physics/Rigidbody.hpp"
#include "Entity.hpp"
namespace acid
{
/**
* @brief Class that represents a structure of spatial objects.
*/
class ACID_EXPORT SceneStructure :
public NonCopyable
{
public:
SceneStructure();
Entity *GetEntity(const std::string &name) const;
/**
* Creates a new... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
bc329a5bd21b20a5eec230293400f4ebf79811b1 | 1be2a958aeca42a2cdfa364ddbae98579b588dd1 | /day05/ex02/PresidentialPardonForm.hpp | a869ec26fe065ed88c604b0752ec80e4f7a4dbd7 | [] | no_license | arnauze/Piscine-CPP | 3f87e8bb2576a268198a015d10666e3a24bcc24a | c4779a3fae3d27e9f5374ea4fd786421c5de3e96 | refs/heads/master | 2020-08-27T04:10:18.311488 | 2019-11-04T22:58:23 | 2019-11-04T22:58:23 | 217,240,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | hpp | #ifndef PRESIDENTIALPARDONFORM_HPP
# define PRESIDENTIALPARDONFORM_HPP
# include "Form.hpp"
# include "Bureaucrat.hpp"
class Bureaucrat;
class PresidentialPardonForm : public Form {
public:
PresidentialPardonForm(void);
PresidentialPardonForm(std... | [
"arnauze@gmail.com"
] | arnauze@gmail.com |
9d0089e97fc7daceb92e4fdc177c42164602ec9e | 2a63f87ab5700f2f26432023419ed702c4a217c8 | /render.cpp | 7d2ecb9969bf9568aed8094c895228d65f893485 | [] | no_license | NeilMcGuiness/The-Pulse | 1b46112fb2923ec8180f92ef0faa4522a974f12f | b780b4ea0fda6aef8478bee2dac995ebb3f99b2a | refs/heads/master | 2021-01-25T14:32:54.753860 | 2019-04-05T08:22:53 | 2019-04-05T08:22:53 | 123,705,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,661 | cpp | /*
______ __ ____ __
/_ __// /_ ___ / __ \ __ __ / /_____ ___
/ / / __ \ / _ \ / /_/ // / / // // ___// _ \
/ / / / / // __/ / ____// /_/ // /(__ )/ __/
/_/ /_/ /_/ \___/ /_/ \__,_//_//____/ \___/
Developed on the....
____ _____ _ _
| __ )| ____|... | [
"root@bela.(none)"
] | root@bela.(none) |
44f8e3e032f09e312324ff0b672f31649d1df38b | 576aeef2666d012417ea5ddd01e7e66f489dada0 | /Osipov_Vadim_301_Midpoint/Engine/Engine/Core/Physics/Implementation/SDLCollisionSystem.h | 94d6b779ae5978527b0e2244af7ede2446a9c71b | [] | no_license | aauVadim/2d_game_engine | 7af314a38e8bb9bd259275f976137968e90f7339 | 4cc0c9fe461767fc95a962b788c0adcdef35a3fe | refs/heads/master | 2022-12-19T11:17:15.540002 | 2020-09-28T22:05:24 | 2020-09-28T22:05:24 | 299,441,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #pragma once
#include "../PhysicsSystem.h"
#include <SDL.h>
class Object;
class SDLCollisionSystem : public PhysicsSystem
{
public:
virtual bool CheckObjectCollision(const Object* pLeft, const Object* pRight) override;
//Not Used
virtual void AddGOWithMovementComponent(MovementComponent*) override {... | [
"vadimosipov45@gmail.com"
] | vadimosipov45@gmail.com |
28142f28e19c013e37d0a8b60259043c55877a7c | e03b95d48cb4810f600ff67bfadbb7a0bfc04402 | /DataMgr.h | 257878af0b147da85e77e62cdae2f227607415c4 | [] | no_license | LeeHyunMyung/ProjectV | 7257e285e71f689d9c1f43c7a4be89188f83ebab | 0831e3f6a0c3d86fb743a9e31bcf5a2fd91f2772 | refs/heads/master | 2020-06-13T10:52:59.628637 | 2017-02-03T08:01:37 | 2017-02-03T08:01:37 | 75,389,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | h |
#ifndef __C_DATA_MGR__
#define __C_DATA_MGR__
#include <iostream>
#include "CCSVParse.h"
#include "Unit.h"
using namespace std;
class DataMgr
{
private:
CCSVParse * mData;
DataMgr()
{
mData = new CCSVParse();
mData->openFile("UnitData.csv",DbData);
};
DataMgr(const DataMgr& other);
static DataMgr* i... | [
"jun5640@gmail.com"
] | jun5640@gmail.com |
02f5721c519bd47a722069dc8837169edc54e03f | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE127_Buffer_Underread/s01/CWE127_Buffer_Underread__CWE839_fgets_62a.cpp | c6049a20f7592c0868df5700c886475d19073558 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,373 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__CWE839_fgets_62a.cpp
Label Definition File: CWE127_Buffer_Underread__CWE839.label.xml
Template File: sources-sinks-62a.tmpl.cpp
*/
/*
* @description
* CWE: 127 Buffer Underread
* BadSource: fgets Read data from the console using fgets()
... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
fb28eee32320386d9dfa35c104d267d5662d4723 | 83de818a52e07238737dcef330fc65345ae8a9d7 | /Projects/Aimbooster/src/Target.h | ec33edfeaca66faff124d6c4f981df61540e2931 | [] | no_license | Totomosic/BoltProjects | 223b89db4c7c29ca8e85bceab1d21cccc0a07728 | 2eb366dad3f9eca005a456368e8fabfdc086e051 | refs/heads/master | 2021-07-04T15:38:20.709386 | 2019-12-28T12:58:31 | 2019-12-28T12:58:31 | 224,946,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | #pragma once
#include "BoltEngine.h"
using namespace Bolt;
namespace Aimbooster
{
class Target : public Component
{
public:
float Lifetime;
float StartingSize;
float MaxSize;
float CurrentTime;
float CurrentSize;
ObjectFactory* Factory;
bool Paused;
public:
Target(float lifetime, float maxSize, ... | [
"jordan.thomas.morrison@gmail.com"
] | jordan.thomas.morrison@gmail.com |
c2789c924af245215a4f7e0381806f3ef72fdf49 | 0c9f69ca87a491732bbff480b5bbd932e5851b55 | /Leetcode/40/40/40.cpp | 6068bc50da6d9dfb1cf9d8080a78cd7c64971f00 | [] | no_license | FFFFFUNKYMUZIK/alg_practice | 3377a191d80471d6c9808b2180c0970d9d8a02db | e6e0bd5f9a583e6d7956666ea62e89b6fc64b121 | refs/heads/master | 2021-07-13T06:42:59.239925 | 2021-06-14T02:00:25 | 2021-06-14T02:00:25 | 248,436,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,989 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class Solution {
public:
vector<vector<int>> ret;
void backtrack(vector<int>& cand, vector<int> candcnt, int s, vector<int>& bucket, int left) {
if (left == 0) {
ret.push_back(bucket);
}
fo... | [
"pf7@naver.com"
] | pf7@naver.com |
6afb0c700213ef2e67519b3da05d938199415249 | 5cb369854f0cb24c351d0fc096fcb7d51642f4bb | /URI/Whose Turn Is It.cpp | 9c152dc81cca1dd66be6b21ac7cc56fefc35132d | [] | no_license | sebas095/Competitive-Programming | 3b0710bf76c04f274a67527888fc81dd6ddb9c6f | 0631caca5b10019f44212588ea16dbfc59c42f53 | refs/heads/master | 2021-05-24T00:56:51.945526 | 2020-07-07T06:46:42 | 2020-07-07T06:46:42 | 45,226,584 | 0 | 2 | null | 2016-10-28T16:26:50 | 2015-10-30T03:19:53 | C++ | UTF-8 | C++ | false | false | 534 | cpp | #include <bits/stdc++.h>
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL)
#define endl '\n'
using namespace std;
int main() {
fast;
int qt, n, m;
string name1, turn1, name2, turn2;
cin >> qt;
while (qt--) {
cin >> name1 >> turn1 >> name2 >> turn2;
cin >> n >> m;
n += m;
if (n & ... | [
"sebas_tian_95@hotmail.com"
] | sebas_tian_95@hotmail.com |
cb34bcec7c2e6b8133a9035ac5dcc40fb52e3752 | 1df5dce64969b1cc0dbe3196768c6084b7e304e5 | /Chapter6_Singleton/Singleton.cpp | b88ac0179ad07e30f491f4dd570bfc87ae96be83 | [
"MIT"
] | permissive | sadrux/Modern-C-Design | 740f6752d71ab7191b5db120ae3c5b10b8aa3800 | 66eae3118dc56750312deb9d643d10ca7d97204a | refs/heads/master | 2020-04-13T15:47:18.903880 | 2017-06-18T21:48:05 | 2017-06-18T21:48:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include "Singleton.h"
#include <assert.h>
template
<
class T,
template <class> class CreationPolicy,
template <class> class LifetimePolicy
>
T& SingletonHolder<T, CreationPolicy, LifetimePolicy>::Instance()
{
if (!m_instance)
{
//TODO: Thread guard
if (!m_instance)
{
if (m_destroyed)
{
Lifetime... | [
"zgarapetian@gmail.com"
] | zgarapetian@gmail.com |
301fa8d6579072678b4bce26a6d15b6505375605 | ddaafc09ff8d79dfdc8665a443d6332a73632e2e | /main_page.h | 73b0c1a35097956d56d959ecedee9ce050d6b5b9 | [] | no_license | alexman111/3DPoints-Visualization | 5e6d64f3ffdb808a935cafff5bc78cd5ecef5697 | e40595de35bb89c7872c55200ad9ed7d3bce7fe8 | refs/heads/master | 2022-11-20T15:18:18.143683 | 2020-07-26T06:36:00 | 2020-07-26T06:36:00 | 282,052,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | #pragma once
#include <QWidget>
#include<QPushButton>
#include <QApplication>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGridLayout>
#include <QFileDialog>
#include <QLabel>
#include "points_generator.h"
#include "viewer.h"
class MainPage : public QWidget
{
Q_OBJECT
public:
MainPage(QWidget *... | [
"alexkrivosheev111@gmail.com"
] | alexkrivosheev111@gmail.com |
aab95ed1382e7f88ce0860691f81c16b479f0f01 | a4d846e8a149f5ab1b7f45d6f9538efab23756df | /Documentation/C - Code (MikroElektronika)/M - MBED Backups/1_Senior_Design/Click_BarGraph2/Click_BarGraph2.cpp | e10f0a20b0c9077472a8e0b00186daaa7e4ec343 | [] | no_license | ghsecuritylab/Click_Sensor_Hub_Senior_Design_Project | 3d7be2255ed2c9417d1e7088d75b627fe64a4e81 | 0dcc9b02602ace74e0211d2b1c4ccb8dd3cb6e6d | refs/heads/master | 2021-03-01T18:30:57.236386 | 2019-12-26T22:07:11 | 2019-12-26T22:07:11 | 245,805,975 | 0 | 0 | null | 2020-03-08T11:58:13 | 2020-03-08T11:58:12 | null | UTF-8 | C++ | false | false | 568 | cpp | #include "Click_BarGraph2.h"
Click_BarGraph2(SPI spi, DigitalOut cs, PwmOut){
SPI_Selections = spi;
ChipSelectForTesting = cs;
PWM_Selections pwm;
}
void Click_BarGraph2::setColors(int greenLEDs, int redLEDs){
long control_bargraph = (greenLEDs << 10) + redLEDs;
uint8_t byte0 = control_bargra... | [
"alfonso.delamorena.engineer@gmail.com"
] | alfonso.delamorena.engineer@gmail.com |
a7a7aef5d3bdc9c2be55b1462d7d9339cf039b17 | bef1fc9aaedcf39191cc8888ba232f610f47ee32 | /Templates/Verve/source/Verve/VActor/VActorAnimationController.h | b9051fc9c974c3d751d2bfb57bad48a9ec57dfba | [
"MIT"
] | permissive | RichardsGameStudio/Verve | d899ed767578361450433864cb4f8eefa0e38fe3 | 22a55d182f86e3d7684fdc52f628ca57837cac8a | refs/heads/master | 2021-01-18T05:29:53.065638 | 2014-01-06T09:47:13 | 2014-01-06T09:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | h | //-----------------------------------------------------------------------------
// Verve
// Copyright (C) - Violent Tulip
//-----------------------------------------------------------------------------
#ifndef _VT_VACTORANIMATIONCONTROLLER_H_
#define _VT_VACTORANIMATIONCONTROLLER_H_
#ifndef _VT_TYPES_H_
#include "Typ... | [
"pdos00@gmail.com"
] | pdos00@gmail.com |
5140b80242efe7c29309e42182c90d3aaf66e79a | ffc35ec346d0db08de22fcf4554391859bcd5faf | /include/Nodes/ddNode.h | 24bf13264773c326b698bfbf60a0162652a5a0ed | [] | no_license | KarlaSalamun/GP_Scheduling | 3028eb1992e1be122c2539f79ff9bc025a6a0947 | 7c00ca8753bdce26e8e251b47c2b94be4e033eca | refs/heads/master | 2021-03-03T21:20:26.232778 | 2021-01-30T17:40:46 | 2021-01-30T17:40:46 | 245,987,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | //
// Created by karla on 06. 03. 2020..
//
#ifndef GP_SCHEDULING_DDNODE_H
#define GP_SCHEDULING_DDNODE_H
#include "AbstractNode.h"
class ddNode : public AbstractNode {
public:
ddNode() : AbstractNode() {
is_terminal = true;
children_number = 0;
children.assign( childr... | [
"karlasalamun9@gmail.com"
] | karlasalamun9@gmail.com |
21de11b9d9317d4b0ea769f308a0355739608dec | 3b2cd17dcca78fff39ef1481062bc255e049523d | /tutorials/Blasius/0/p | 3ae48bec665fcb891185cb98ebda315987ff7ea6 | [] | no_license | positroncascade/AeroFoamV1-2008 | 5d0101a3207e2b4de2a4e5bd3677a51d0f35152e | 205782b1fde0b22e54fe78901f02c0fbb325ce36 | refs/heads/master | 2021-01-09T04:46:57.960126 | 2017-07-10T06:19:35 | 2017-07-10T06:19:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.4.1 |
... | [
"chengdi123000@gmail.com"
] | chengdi123000@gmail.com | |
a5977b667048dac9cdcb184dcc2401270c6c5474 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir35435/dir35536/dir38680/file38724.cpp | 3bc61f6d4e9339243cea9bc0f4e68a8bf11f0f1c | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file38724
#error "macro file38724 must be defined"
#endif
static const char* file38724String = "file38724"; | [
"tgeng@google.com"
] | tgeng@google.com |
8210034ae869d3cf871c8ffad29e937cea2cdf20 | 0e054f323f61559f86373b8c7b07539db152cf53 | /main.cpp | c7e3497e415fab55ab4db4a5a9db0f4b9ba62061 | [] | no_license | krzeszowska/struktury_danych_stl | f984e338771586f9d4db6af1fcf3e5f3ced9b047 | 37c1b60359271af38630780ec71f21c4c32e1402 | refs/heads/master | 2020-04-29T12:53:39.967025 | 2019-03-17T19:57:30 | 2019-03-17T19:57:30 | 176,153,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | #include <iostream>
#include <list>
#include <stack>
#include <queue>
using namespace std;
template <typename Typ>
std::ostream& operator << (std::ostream& str, list<Typ>& obj){
for (int n : obj) {
str << n << '\n';
}
return str;
}
void testListy(){
list<int> lista;
lista.push_front(1);
... | [
"j.krzeszowska1306@gmail.com"
] | j.krzeszowska1306@gmail.com |
c32981d630148400312d82ac613fc63d5a90808c | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.4.1/src/clahru.cpp | 501fe195ef3bb5a8d0567af14cf72b28d651a101 | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,717 | cpp | /*
-- MAGMA (version 1.4.1) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
December 2013
@generated c Tue Dec 17 13:18:36 2013
@author Stan Tomov
@author Mark Gates
*/
#include "common_magma.h"
#define PRECISION_c
extern "... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
d6ca90edf10521ab3ad0ed2a2404ddc7ae5a28f1 | c38ce56c083764ffec4885d86b1751df68732a38 | /tests/testview.cpp | 3257a8e458327b1030400374bb0a96162cd36a2e | [] | no_license | lel9/gpx-editor | 1c415d89a0b5572253c2b7d8ff935698683071a4 | a92c9ead285c6b535f59c7989fd68c9849c34266 | refs/heads/master | 2020-03-06T18:07:58.371001 | 2018-05-21T00:34:40 | 2018-05-21T00:34:40 | 127,000,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,353 | cpp | #include "testview.h"
TestView::TestView(const QVector<RouteData> routes, QVector<PointData> points) :
_routeData(routes), _pointData(points), _selectedRouteRow(0), _selectedPointRow(0)
{
}
TestView::TestView(const TestView &other) :
QObject()
{
_routeData = other._routeData;
_pointData = other._point... | [
"olg-199774@mail.ru"
] | olg-199774@mail.ru |
c5c55ab949f256c4f4ecd0f26ea31e4e556eceef | c4e8971828dd46e049bb10f0a91e4c6e7b0a14f7 | /src/testApp.h | c814bbea1246b397e5650843bf9784d6029c2ca4 | [] | no_license | elzbth/kinect_body_map | 003c12e83fcaa3fee2a7135f0ee7a514eaf4491d | 67087dc0fe1e6b62835aa1be6ff674bea9f22efc | refs/heads/master | 2020-05-12T21:17:49.790107 | 2014-09-29T01:12:21 | 2014-09-29T01:12:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | h | #pragma once
#include "ofMain.h"
#include "ofxOpenCv.h"
#include "ofxKinect.h"
// uncomment this to read from two kinects simultaneously
//#define USE_TWO_KINECTS
class testApp : public ofBaseApp {
public:
void setup();
void update();
void draw();
void exit();
void drawPointCloud();
void keyPressed(int key)... | [
"ebeth314@gmail.com"
] | ebeth314@gmail.com |
e00d74e145f70cf9a2f0a3185d2ee02a6b775a1c | 0c268ff10b68c4a24023ca646bb46c5a125eb84c | /DataStructureClass_Code/SegmentTree_3.cpp | 04de8aaa319a6f330fd7701e1773af176f39cec5 | [] | no_license | TzeHimSung/AcmDailyTraining | 497b9fb77c282f2f240634050e38f395cf1bedbc | 2a69fa38118e43cbeca44cb99369e6e094663ec8 | refs/heads/master | 2023-03-21T21:39:02.752317 | 2021-03-14T03:41:00 | 2021-03-14T03:41:00 | 159,670,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,208 | cpp | //线段树 区间覆盖
#include <bits/stdc++.h>
using namespace std;
struct Node
{
int minNum, maxNum, sumNum;
int setv;
};
const int maxn=1e4+10;
Node segT[maxn];
int n,numOfQuery;
int _min,_max,_sum;
void maintain(int curPos, int curL, int curR)
{
int lson=curPos*2, rson=curPos*2+1;
if (curR>curL)
{
... | [
"zxc98567@gmail.com"
] | zxc98567@gmail.com |
eaad959a3937830ddcb8f89fdaf9fd9d57f71fc5 | 50457fc28800b3cf2f25e06478f33981a1a626dc | /Codeforces/1285D.cpp | 38231f384f43f86544e65338a26fd44b0e53f058 | [] | no_license | h-sinha/CP-codes | 5b1ef5021b7fd180b518270ffdb12997dc8d367b | 937174c73d1c80114de4535a6908122158366ad4 | refs/heads/master | 2021-07-20T18:47:00.500294 | 2021-07-06T05:11:57 | 2021-07-06T05:11:57 | 159,954,721 | 2 | 2 | null | 2020-01-07T18:57:28 | 2018-12-01T14:51:44 | C++ | UTF-8 | C++ | false | false | 1,744 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define DEBUG
#ifdef DEBUG
#define debug(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
cerr << name << " : " ... | [
"harsh.26020@gmail.com"
] | harsh.26020@gmail.com |
17b83e7087fa816c8d6b0a6f54afbd77c938b6c4 | fd4103e6f5116c776249b00171d8639313f05bc1 | /Src/PartModelingEngine/PmeFeatureAPI.cpp | e66d1827c245c8dab7093398571e5447e080e3a7 | [] | no_license | Wanghuaichen/TransCAD | 481f3b4e54cc066dde8679617a5b32ac2041911b | 35ca89af456065925984492eb23a0543e3125bb8 | refs/heads/master | 2020-03-25T03:54:51.488397 | 2018-06-25T17:38:39 | 2018-06-25T17:38:39 | 143,367,529 | 2 | 1 | null | 2018-08-03T02:30:03 | 2018-08-03T02:30:03 | null | UTF-8 | C++ | false | false | 1,546 | cpp | #include "stdafx.h"
#include ".\PmeFeatureAPI.h"
#include ".\PmeFeature.h"
#include ".\PmeExceptionTest.h"
#include ".\PmeArgumentTypeException.h"
#include ".\PmeArgumentNullException.h"
#include ".\PmeHandleMacro.h"
void PmeFeatureAPI::GetName(PmeHFeature hFeature, CString & name)
{
PmeThrowExceptionIf<PmeArgumentNu... | [
"kyk5415@gmail.com"
] | kyk5415@gmail.com |
a28150e8153279bc536da0782f25f790f9bcc032 | 2915c16599e5a9ee6692d3e2a018b8a559a2c59d | /src/AF.h | f0c608fb75592a91c847eec47c5f9c65e49c754c | [
"MIT"
] | permissive | federicocerutti/ArgSemSAT | d627c657d03b296021757e77c10a0c0ea79550d4 | 4b5f30e0435f3bc23de6adaee97f20a4bc55074d | refs/heads/master | 2022-12-30T20:43:45.476791 | 2020-10-06T14:12:46 | 2020-10-06T14:12:46 | 255,847,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 797 | h | /**
* @file AF.h
* @author Mauro Vallati <m.vallati@hud.ac.uk>
* @copyright MIT
*/
#ifndef GRAPH_H_
#define GRAPH_H_
#include <map>
#include <fstream>
#include <iostream>
#include "Argument.h"
class SetArguments;
class SetArgumentsIterator;
extern bool debug;
using namespace std;
class AF
{
SetArgument... | [
"ceruttif@cardiff.ac.uk"
] | ceruttif@cardiff.ac.uk |
b088b6e162dd419fd163e37defb93e840dc4b215 | 4bba3838c668dd4846640a2aa9d4b1f717d15306 | /POJ Pekin University/2924 - Gauß in Elementary School.cpp | 5f188b0f2d11763a2eb92baf4a645d9354d82841 | [] | no_license | dnr2/maratona | 0189fa17b99663aeeb14f389b018865791325d04 | 65163739c645802ac38e605e5706551c3cdf302a | refs/heads/master | 2021-01-15T16:29:31.101196 | 2015-11-27T08:21:21 | 2015-11-27T08:21:21 | 12,200,323 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | //http://poj.org/problem?id=2840
#include <cstdio>
#include <cstring>
#include <iostream>
#include <cmath>
#include <string>
#include <queue>
#include <vector>
#include <algorithm>
#include <cstdlib>
#include <map>
#include <set>
#define FOR(i,n) for((i) = 0; (i) < (n); (i) ++)
#define FORC(i,j, n) for((i) = (j); (i... | [
"dnr2@cin.ufpe.br"
] | dnr2@cin.ufpe.br |
2a69a6457075ec9698f2821f00428b63665ff8ee | b1be8471950a7d7a834d67b11b24d70aa7ece501 | /DemoFramework/FslUtil/OpenGLES2/include/FslUtil/OpenGLES2/TextureUtil.hpp | 33b353bcab42d692f01c14186a656b2540a579da | [
"GPL-1.0-or-later",
"JSON"
] | permissive | alexvonduar/gtec-demo-framework | 1b212d9b43094abdfeae61e0d2e8a258e5a97771 | 6f8a7e429d0e15242ba64eb4cb41bfc2dd7dc749 | refs/heads/master | 2021-06-15T13:25:02.498022 | 2021-03-26T06:11:43 | 2021-03-26T06:11:43 | 168,854,730 | 0 | 0 | BSD-3-Clause | 2019-03-25T23:59:42 | 2019-02-02T16:59:46 | C++ | UTF-8 | C++ | false | false | 5,474 | hpp | #ifndef FSLUTIL_OPENGLES2_TEXTUREUTIL_HPP
#define FSLUTIL_OPENGLES2_TEXTUREUTIL_HPP
/****************************************************************************************************************************************************
* Copyright 2020 NXP
* All rights reserved.
*
* Redistribution and use in source a... | [
"Rene.Thrane@nxp.com"
] | Rene.Thrane@nxp.com |
9600eb4068b861e869554caa03a5d6476d544cf6 | 5a77b5092acf817ac37a5fafd006feea434dd0d6 | /Doxygen_Graphviz/DesignPatternExample/品味Java的21種設計模式/dp_cpp/visitor/example2/Client.cpp | 782cfec46a8edc8825ef31a54b819ffee5387fb6 | [] | no_license | shihyu/MyTool | dfc94f507b848fb112483a635ef95e6a196c1969 | 3bfd1667ad86b3db63d82424cb4fa447cbe515af | refs/heads/master | 2023-05-27T19:09:10.538570 | 2023-05-17T15:58:18 | 2023-05-17T15:58:18 | 14,722,815 | 33 | 21 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | #include "Client.h"
namespace cn
{
namespace javass
{
namespace dp
{
namespace visitor
{
namespace example2
{
void Client::main(std::string args[])
{
//准备点测试数据
Collection<Customer*> *colCustomer = preparedTestData();
//循环对客户进行操作
for (Collection<C... | [
"jason_yao@htc.com"
] | jason_yao@htc.com |
fc8f2bd76181bf0a891060f548ed8b93d0e6e89f | d503e97009a2d612cc82ccce8ca31436f12d2fb3 | /include/Itinerary.h | e854071abdd0e1a73298b6ed607f646c9f402b7e | [] | no_license | katelynmiller/ParallelFinal | 34a2c0ab8d347e9264be6f08b55ed0e99cab54e4 | 8e94aac9bd98703075c8abe1452e297baba793e0 | refs/heads/master | 2020-06-25T13:33:24.832228 | 2019-08-08T22:00:34 | 2019-08-08T22:00:34 | 199,323,247 | 0 | 0 | null | 2019-08-08T22:00:36 | 2019-07-28T18:29:08 | C | UTF-8 | C++ | false | false | 364 | h | #ifndef ITINERARY_H
#define ITINERARY_H
class Itinerary
{
public:
Itinerary(int, int);
int get_passenger(int); //Change the return type to Passenger when it is made.
int get_station(int); //Change the return type to Station when it is made.
private:
int * stations;
... | [
"stonisg@wit.edu"
] | stonisg@wit.edu |
73c6b9b49efe0e4c49a50e0c21ec48eac8ceb484 | 5286798f369775a6607636a7c97c87d2a4380967 | /thirdparty/cgal/CGAL-5.1/include/CGAL/Arrangement_2/Arr_compute_zone_visitor.h | f7763b3ad535b955d2feb8511a1657d45122d65f | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-3.0-or-later",
"MIT",
"LicenseRef-scancode-free-unknown",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"MIT-0",
"LGPL-3.0-only"
] | permissive | MelvinG24/dust3d | d03e9091c1368985302bd69e00f59fa031297037 | c4936fd900a9a48220ebb811dfeaea0effbae3ee | refs/heads/master | 2023-08-24T20:33:06.967388 | 2021-08-10T10:44:24 | 2021-08-10T10:44:24 | 293,045,595 | 0 | 0 | MIT | 2020-09-05T09:38:30 | 2020-09-05T09:38:29 | null | UTF-8 | C++ | false | false | 6,607 | h | // Copyright (c) 2005,2007,2009,2010,2011 Tel-Aviv University (Israel).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arr_compute_zone_visitor.h $
// $Id: Arr_compute_zone_visitor.h 0779373 2... | [
"huxingyi@msn.com"
] | huxingyi@msn.com |
ed99b8954fc4faa2d56b8796bc91f8d3189c2eb0 | 6848723448cc22474863f6506f30bdbac2b6293e | /tools/mosesdecoder-master/mert/Data.h | 8bab23d631ee5db3938284a89e906d473afe83e7 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-copyleft",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | Pangeamt/nectm | 74b3052ba51f227cd508b89d3c565feccc0d2f4f | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | refs/heads/master | 2022-04-09T11:21:56.646469 | 2020-03-30T07:37:41 | 2020-03-30T07:37:41 | 250,306,101 | 1 | 0 | Apache-2.0 | 2020-03-26T16:05:11 | 2020-03-26T16:05:10 | null | UTF-8 | C++ | false | false | 2,586 | h | /*
* Data.h
* mert - Minimum Error Rate Training
*
* Created by Nicola Bertoldi on 13/05/08.
*
*/
#ifndef MERT_DATA_H_
#define MERT_DATA_H_
#include <vector>
#include <boost/shared_ptr.hpp>
#include "Util.h"
#include "FeatureData.h"
#include "ScoreData.h"
namespace MosesTuning
{
class Scorer;
typedef boo... | [
"alexander.raginsky@gmail.com"
] | alexander.raginsky@gmail.com |
575477e5c72fd9169e07f5d891991930a32117ec | 199db94b48351203af964bada27a40cb72c58e16 | /lang/sw/gen/Bible3.h | 4b7df633678615576bb01216bffa9066d11cd4a6 | [] | no_license | mkoldaev/bible50cpp | 04bf114c1444662bb90c7e51bd19b32e260b4763 | 5fb1fb8bd2e2988cf27cfdc4905d2702b7c356c6 | refs/heads/master | 2023-04-05T01:46:32.728257 | 2021-04-01T22:36:06 | 2021-04-01T22:36:06 | 353,830,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139,427 | h | #include <map>
#include <string>
class Bible3
{
struct sw1 { int val; const char *msg; };
struct sw2 { int val; const char *msg; };
struct sw3 { int val; const char *msg; };
struct sw4 { int val; const char *msg; };
struct sw5 { int val; const char *msg; };
struct sw6 { int val; const char *msg; };
struct sw7 { ... | [
"max@mkoldaev.ru"
] | max@mkoldaev.ru |
51f5d96d1e00f304a29e8a7654b09d14b1660fce | 540608045e317050fee37e27456ead7160de99c5 | /algorithms/gcd.cpp | cd9eef22a9fc4395cc67c1d5db50fd7b00c4dbf2 | [] | no_license | yingkailiang/algorithms | 8122a18643b11179e8a225741df63f5092dc7521 | f9f99e63da8ba0160dc823ef3c21e172c94b3681 | refs/heads/master | 2020-03-25T15:53:03.494958 | 2014-01-04T20:59:28 | 2014-01-04T20:59:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | #include <iostream>
using namespace std;
//method to compute the great common digit of a and b like gcd(a,b)=d
int gcd(int a,int b)
{
if (b==0)
return a ;
else
return gcd(b ,a %b);
} //end func gcd
int main()
{
int a ;
int b ;
cout<<"input a,b :"<<endl;
cin>>a>>b;
cout<<"the great comm... | [
"kailiangying@syr-138-032.syr.edu"
] | kailiangying@syr-138-032.syr.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.