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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b62787af52b5f5d24d66623c6b59aca7855a7097 | c8b037a2161ea136b95dac0f5039a92fa6d686e3 | /lab 1/Número par o impar.cpp | 8113285eb79dc08a8a5f5f885400b1d770c720fb | [] | no_license | kaiser4900/Lenguaje-de-programaci-n-1 | 1967249ec68b6105c01526e4479b0d7a1dcdcc63 | 50dca7d5715618d6fbf83182b0dca89d448b2e22 | refs/heads/master | 2020-04-03T00:06:21.993615 | 2018-12-08T08:59:46 | 2018-12-08T08:59:46 | 154,888,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include <iostream>
using namespace std;
int main () {
int num1, num2;
cout << "ingresa un numero: "; cin >> num1;
num2 = num1% 2;
if (num2 == 0)
cout << "\nEl numero " << num1 << " es par \n";
else
cout << "El numero " << num1 << " es impar \n";
return 0;
}
| [
"galemanz@ulasalle.edu.pe"
] | galemanz@ulasalle.edu.pe |
d446c75651741997a9e8890558f4f1b791aacf46 | 210d48e8331fae0b25e3c0f2950fa4ac76769af9 | /include/interface/event_pool.h | 4e9d33ff6767273460313e26bbb0f2d1e96cac2f | [
"MIT"
] | permissive | avdosev/async-library-arduino | 86acf3918139fd7cb1ba9d1b999aa2c34fb6ccc2 | 3f90eaf4cccc221a4c9badf4e2119bfc19d45dce | refs/heads/master | 2020-06-24T14:00:34.833062 | 2020-06-16T09:30:45 | 2020-06-16T09:30:45 | 198,981,360 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #pragma once
#include "event_define.h"
#include "event.h"
class IEventPool {
public:
virtual ~IEventPool() { }
virtual bool hasReadyEvent() = 0;
virtual event_pair getReadyEvent() = 0;
virtual event_t getEvent(event_id_t id) = 0;
virtual event_id_t addEvent(event_t event) ... | [
"avdosev1@yandex.ru"
] | avdosev1@yandex.ru |
6337f873d09d92e320c68a03fd822ea9cdccf35b | 2a0b85f1a8d1966ee5db4fe6ea5b686f5b7a3a17 | /345-w7/SongCollection.h | 7a2073bd813139f3b0e65be721d5049c373fb557 | [] | no_license | ulianarozz/OOP345 | e33671878c8dc6e37ecf8b61126160fddab34c99 | 69bf477fe0d4fabed80c99d591b9ee1d37ce68ad | refs/heads/master | 2023-02-13T01:10:46.162095 | 2021-01-14T01:44:26 | 2021-01-14T01:44:26 | 329,469,607 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 992 | h |
/*Uliana Rozzhyvaikina
132294190
urozzhyvaikina@myseneca.ca
Workshop 7*/
//I have done all the coding by myself and only copied the code that my professor provided to complete my workshops and assignments.
#ifndef _SDDS_SONGCOLLECTION_H_
#define _SDDS_SONGCOLLECTION_H_
#include <iostream>
#include <string>
#include <... | [
"ulianarozz@gmail.com"
] | ulianarozz@gmail.com |
773b3e25ee434943b77fe45d52e0a697ac3590a5 | 53a024896a3739b3e40eec3ce87f0c30c7992563 | /SimpleMathComponent/Generated Files/winrt/Windows.Devices.Sensors.h | 6f2809c0e708406fa4666a460708c21099a52a0f | [] | no_license | angelazhangmsft/e2esamplecswinrt | 9eac774038f7366105708ad6745d34726f06b7c0 | 736e826ba5753f3f37307b89f238c9bdbe2f20c8 | refs/heads/main | 2022-12-25T19:41:09.441642 | 2020-10-07T21:09:00 | 2020-10-07T21:09:00 | 302,160,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313,956 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200703.9
#ifndef WINRT_Windows_Devices_Sensors_H
#define WINRT_Windows_Devices_Sensors_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.200703.9"), "Mismatched C++/WinRT headers.");
#include "winrt/Windows.De... | [
"angzhang@microsoft.com"
] | angzhang@microsoft.com |
4de024e984789280b7456d0392d4798d3f17cb72 | a3d22f6dcc20dc8b729b04f8f3b5564c4c3f08bb | /Tests/TestTaxiCenter.h | e710d09ffa6bf842bc0755390332baa495e560a8 | [] | no_license | Agent77/ex2 | 651b8046fbea7ef2d5035bcfc1e54465e02eeb0d | 8efd8224d2e9e6c879abbb855df1193b6aba05d3 | refs/heads/master | 2020-06-16T11:24:44.771537 | 2016-12-04T15:46:36 | 2016-12-04T15:46:36 | 75,109,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h |
#ifndef EX2_TESTTAXICENTER_H
#define EX2_TESTTAXICENTER_H
#include <gtest/gtest.h>
#include "../TaxiCenter.h"
class TestTaxiCenter:public::testing::Test {
private:
TaxiCenter tc;
public:
void SetUp() {
tc = TaxiCenter();
tc.getLocations()[0] = Point(0,0);
tc.getLocations()[1] = Point(1... | [
"lobel.tiki@gmail.com"
] | lobel.tiki@gmail.com |
79f6881508947f31759214b104f342e0bbddc415 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteNetworkInterfacePermissionRequest.h | 1e3220e8881722cdbbfdd2452c6dee3ca2c7db82 | [
"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 | 5,620 | h | /*
* 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 |
80413f4d278f183240eeb7aa370bf3fbe72082cd | befd823f5b04c6b3fe51dd918b41baaec2f879d9 | /Test Directory for JudgeAll/data/A/checker.cpp | 4abb3e988392cee10465839a9e5e05dd83e99839 | [] | no_license | hhjami/offline-judge | 5d373a50e3210015e6d7eed1859bb59756358305 | b55cc7ca177a6fa942184d3a823d5c5117a2e68b | refs/heads/master | 2022-05-24T10:40:29.674697 | 2020-05-01T15:11:44 | 2020-05-01T15:11:44 | 165,669,371 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,572 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ui64 unsigned long long
#define ACTUAL 0
#define WSIG 1
#define CSIG 2
ui64 judgeActualHash[] = { 10000000189000000882ULL, 10000000189000000882ULL, 10000000119ULL, 10000000188000000876ULL, 10000000192000000904ULL};
ui64 judgeWSIgnoreHash[] ... | [
"hhjami@gmail.com"
] | hhjami@gmail.com |
6e68d98b8fbcc935b47c4bfdc29f498efa693f42 | 935ba8255b0fe289bc6cbaf8a539c3c0320e494b | /hocC++/bai 48 tinh dong goi private .cpp | 0bee98f8834c403fae9e674020453d8fa5b06746 | [] | no_license | tranngocduhust/My-Learn-C- | 40333f4eacecd7971ae826d8ead29f3402e9818f | 93704d4196440bc9a9ee32c220509312b994df42 | refs/heads/master | 2022-12-16T13:48:34.542127 | 2020-09-07T13:35:50 | 2020-09-07T13:35:50 | 293,536,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,219 | cpp | #include<iostream>
using namespace std;
class student {
private:
char name[50];
char nameUniversity[100];
int age;
float point;
char classification;
public:
student();
student(char* name1, char* nameUi, int& Age);
student(char* name1, char* nameUi, int& Age, float& Poi, char& cl);
void showinfo();
~student();... | [
"70502929+tranngocduhust@users.noreply.github.com"
] | 70502929+tranngocduhust@users.noreply.github.com |
c410eadc605a7c6cad5dedb91f440b4cee91b93b | b1bcae7f29832021e95bc261f1b9cf3a585d0f66 | /CodeBlocks/ACM/Regionals Contests/SocialHolidaying5874.cpp | 128209642e970f535a58ccb219fe84f0003617bd | [] | no_license | ABHINAVKR/ACM | 9ec9427d94dab001b35b4300101ef36f1631ec9d | ed8877fe0bd57f0c48f19a375b7b3a19a782b1c7 | refs/heads/master | 2021-05-01T10:18:22.763203 | 2014-08-21T17:12:44 | 2014-08-21T17:12:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | cpp | #include <stdio.h>
#include <string.h>
#include <vector>
#include <algorithm>
using namespace std;
int fam[410], sz[110], took[410];
vector<int> g[410];
pair<int, int> lens[410];
int main(){
int t, n, m, i, j, s, u, v, len, maxpair;
scanf("%d", &t);
while(t--){
scanf("%d %d", &n, &m);
fo... | [
"ahmadadel922gmail.com"
] | ahmadadel922gmail.com |
6a8bba6c1faa15a641af46187115d95dcfc60a31 | b7204b021b410219ff89d720064d4708bea97b22 | /0501-0600/527. Word Abbreviation 32ms.cpp | 3aa3d6bdfb5f9fae4cd3bf3f2a6ff8777080e542 | [] | no_license | giangbui/LeetCodeSolutions | 47a59f2fd85e6110a783600efc0ae1cd7c460737 | 84a01e234b5ec2f98ec3af931e9e2b5e3d9f5d6e | refs/heads/master | 2023-03-11T14:10:52.339238 | 2021-02-28T04:11:50 | 2021-02-28T04:11:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp | static const int N=405,L=5005,CH=26; //160005
struct node{
node *son[CH];int sum;
};
node a[L];int res[N],l;
void clear(){memset(a,0,sizeof(node)*(l+1)); l=0;}
inline int get(char ch){return ch-'a';}
struct prefix{
int id; const char *s; node *x;
}p[N];
class Solution {
public:
string abbre(const string &s){
if (... | [
"hqztrue@sina.com"
] | hqztrue@sina.com |
e887be8e37ccca8d8b2fb54c972e7dac3239b66f | f231fd7cb34b042a91addf2e96468cc08ab785e3 | /courses/coursera-sandiego-algorithms/algorithms-on-graphs/assignment005/clustering/clustering.cpp | 053c08152940f26041e49fcbc1032929d0be32d0 | [
"Apache-2.0"
] | permissive | xunilrj/sandbox | f1a0d7a1af536bea217bc713e748f04819c2480b | d65076ba487b8bf170368c9e0a0d23e0575fc09f | refs/heads/master | 2023-05-10T09:27:59.541942 | 2023-04-26T15:39:25 | 2023-04-26T15:39:25 | 64,613,121 | 8 | 5 | Apache-2.0 | 2023-03-07T01:57:24 | 2016-07-31T20:12:02 | C++ | UTF-8 | C++ | false | false | 3,057 | cpp | #include <algorithm>
#include <iostream>
#include <iomanip>
#include <cassert>
#include <vector>
#include <cmath>
#include <deque>
using std::vector;
using std::pair;
class UF {
int *id, cnt, *sz;
public:
// Create an empty union find data structure with N isolated sets.
UF(int N) {
cnt = N;
id = new int[N];
... | [
"xunilrj@hotmail.com"
] | xunilrj@hotmail.com |
83a244be0cba7aaf8504e947ab91d08f0d741135 | b92769dda6c8b7e9bf79c48df810a702bfdf872f | /5.Loops&RelationalExpressions/5.5.bigstep.cpp | e7988d57e66308a5c8d68e251836432cea7a3eef | [
"MIT"
] | permissive | HuangStomach/Cpp-primer-plus | 4276e0a24887ef6d48f202107b7b4c448230cd20 | c8b2b90f10057e72da3ab570da7cc39220c88f70 | refs/heads/master | 2021-06-25T07:22:15.405581 | 2021-02-28T06:55:23 | 2021-02-28T06:55:23 | 209,192,905 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include <iostream>
int main(int argc, char const *argv[]) {
using namespace std;
cout << "Enter a integer: ";
int by;
cin >> by;
cout << "Couting by " << by << "s:\n";
for (int i = 0; i < 100; i += by) cout << i << endl;
return 0;
}
| [
"nxmbest@qq.com"
] | nxmbest@qq.com |
95b16c6a5502ac6ff9a44658ee388f89d0c5ec5e | 8ac1b220c3d534b8a1b5f10449c535cfefac9160 | /testing/testing_cgeqrf.cpp | 791cbd6db1e1da084cdcb1bf9f02353fca329489 | [] | no_license | soulsheng/magma | aa83eea749c5108c607f4710f2905a8a1deb235e | 465fd5817498319db4cbce52cded86fd49b65274 | refs/heads/master | 2020-12-01T13:05:11.511847 | 2013-09-04T00:18:03 | 2013-09-04T00:18:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,785 | cpp | /*
-- MAGMA (version 1.4.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
August 2013
@generated c Tue Aug 13 16:46:07 2013
*/
// includes, system
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cud... | [
"maxhutch@gmail.com"
] | maxhutch@gmail.com |
0854b340cf4456d6067285d0ee57037012b4593b | 7ce91a98ae434dbb48099699b0b6bcaa705ba693 | /TestModule/HK1/Users/20133068/BAI4.CPP | b2c3a8f8604c176e2f326e50213a9dbfec10dc2e | [] | no_license | ngthvan1612/OJCore | ea2e33c1310c71f9375f7c5cd0a7944b53a1d6bd | 3ec0752a56c6335967e5bb4c0617f876caabecd8 | refs/heads/master | 2023-04-25T19:41:17.050412 | 2021-05-12T05:29:40 | 2021-05-12T05:29:40 | 357,612,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | #include<stdio.h>
void main()
{
printf("12");
} | [
"Nguyen Van@DESKTOP-8HI58DE"
] | Nguyen Van@DESKTOP-8HI58DE |
3055102d75fdb440924d0a2fb16071106bdfab52 | 35918be245e2857156fd9e646aa53c5757f33573 | /src/bms_c2f_q.cpp | 01d7a63dd229063aa87d795940f589a554018804 | [] | no_license | YvanMokwinski/WGRID | d795b635f6214d1b07cadea844c426e29c67511c | e35bc0ff51fb65cd13086aae65bb00787818188b | refs/heads/master | 2022-11-12T21:41:20.986032 | 2020-07-08T18:42:28 | 2020-07-08T18:42:28 | 258,705,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp |
#include <limits>
#include <iostream>
#include <array>
#include "bms_c2x_template.hpp"
extern "C"
{
wmesh_status_t bms_c2f_q_buffer_size(wmesh_int_t c2n_size_,
const_wmesh_int_p c2n_n_,
wmesh_int_p work_n_)
{
return bms_c2x_buffer_size<WMESH_ELEMENT_QUADRILATERAL>(c2n_size_,
c2n_n_,
... | [
"yvan.mokwinski@gmail.com"
] | yvan.mokwinski@gmail.com |
8f1a1bda4936248c22516be08c40ac3093f302a8 | 13337066b3e3511bd15a4dd3222b7aba099f2049 | /test/bai7.h | c712845c0c1685c1bd2952f608fec72834c42ca5 | [] | no_license | hungnduet/anlab | 41fac1c04a62c3b0cf4adc9f035e315e1a937c20 | 3d14f3e9211176d490d9f2fb5c4b1beb4e683527 | refs/heads/master | 2020-03-22T19:09:51.956960 | 2018-07-24T04:49:01 | 2018-07-24T04:49:01 | 140,510,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #ifndef BAI7_H
#define BAI7_H
#include"bassic.h"
#include "bai1.h"
class bai7:public bai1
{
public:
bai7 operator ++();
// bai7 &operator --();
void nhaptt7();
void xuatkq7();
};
#endif // BAI7_H
| [
"hungnduet@gmail.com"
] | hungnduet@gmail.com |
42877aa6c82c99a10e89b1324a48181f0acf7132 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /components/signin/core/browser/access_token_fetcher.h | cfa84724e48bee29c2d4a27e92d41238620a7232 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 3,478 | h | // Copyright 2017 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 COMPONENTS_SIGNIN_CORE_BROWSER_ACCESS_TOKEN_FETCHER_H_
#define COMPONENTS_SIGNIN_CORE_BROWSER_ACCESS_TOKEN_FETCHER_H_
#include <memory>
#include ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
d39f15c1174351d46c0dced2c4f3dc4cb95068f5 | 03a44baca9e6ed95705432d96ba059f16e62a662 | /Opentrains_Contest/10273/C.cpp | cbe7eac838066c64912ca1dc35b2a97264273341 | [] | no_license | ytz12345/2019_ICPC_Trainings | 5c6e113afb8e910dd91c8340ff43af00a701c7c7 | cf0ce781675a7dbc454fd999693239e235fbbe87 | refs/heads/master | 2020-05-14T08:29:19.671739 | 2020-04-03T03:21:30 | 2020-04-03T03:21:30 | 181,722,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> piir;
typedef pair<piir, int> pr;
typedef long long ll;
const int N = 70000;
int n, m, a[20];
int dp[101][N][2];
int main() {
ios::sync_with_stdio(false);
cin >> n >> m;
memset (dp, -1, sizeof dp);
for (int i = 0; i <= m; i ++)
cin >> a[... | [
"tz_young@bupt.edu.cn"
] | tz_young@bupt.edu.cn |
a50e9f5be30489cf96edda213b86927c49ac84b9 | e52c2c98a5ebb3ddee4b19d302d9701e7c90541b | /LeetCode-CPP/1202.cpp | 0be996bb4989f8f8d87d424cd4d9501a06613e34 | [] | no_license | EvAn-HuAngBiu/Leetcode | bc578cf320b380d59727b6d4aa31a63555e5c9e6 | b5b8104973a99dab13ea6040cba4fe85e0408504 | refs/heads/master | 2023-08-02T07:03:07.722680 | 2021-10-09T08:46:52 | 2021-10-09T08:46:52 | 279,460,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <vector>
using namespace std;
class Solution {
private:
vector<int> father;
public:
int find(int a) {
int s = a, t;
while (father[a] != a) {
a = father[a];
}
while (s != a) {
t = father[s... | [
"779700014@qq.com"
] | 779700014@qq.com |
f4ce6b0d20e31a0fc2c6964ca5218b474a286e42 | b5cc26ed6075fc198e6683cd31da207b7ec4f164 | /algo1.c++ | 30ab4b8d500d4bd902ff55398ed7492faebf7efd | [] | no_license | yusuf69/FOR-check | 1f5f39a1b56725d5b885ac353a16bc2c52c261e7 | e75f45cf317bee8a0b4f3802cb88b77b8299cd68 | refs/heads/master | 2021-04-29T19:08:11.696016 | 2020-03-10T21:24:03 | 2020-03-10T21:24:03 | 121,705,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | #include<iostream>
using namespace std;
void unionc(int arr1[],int arr2[])
{
int arr3[50],k=0;
int i,j;
for(i=0;i<7;i++)
{
for(j=0;j<7;j++)
{
if(arr1[i]==arr2[j])
{
arr3[k]=arr1[i];
k++;
}
}
}
cout<<"Int... | [
"yousufansari11111@gmail.com"
] | yousufansari11111@gmail.com | |
051d548c389ddd683663eb15c6d25a6fe469eb8c | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/msmq/src/admin/mqsnap/mgmtext.h | 3b183c2b3ceab3a6211c95c1f1b9c618ee062207 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | h | //////////////////////////////////////////////////////////////////////////////
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
mgmtext.h
Abstract:
Definition for the Local Computer management extensions
Author:
RaphiR
--*/
////////////////////////////////////////////////////////////////////////... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
76b0248e5275da5552f56dc5fc533c3f9dd90870 | 3d232018a25f15042164aa7726b73f71e3165252 | /indra/llcommon/llsecondlifeurls.cpp | ee478fe11be79410fa3cae965026f836b803b434 | [] | no_license | OS-Development/VW.Meerkat | ee8dae5b077a709a618ed6550f157797fe577dcf | 00645a93b672dd3ce5e02bd620a90b8e275aba01 | refs/heads/master | 2021-01-19T18:08:40.932912 | 2015-04-04T23:20:08 | 2015-04-04T23:20:08 | 33,423,332 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,763 | cpp | /**
* @file llsecondlifeurls.cpp
* @brief Urls used in the product
*
* $LicenseInfo:firstyear=2005&license=viewergpl$
*
* Copyright (c) 2005-2008, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided by Linden Lab
* to you under the terms of th... | [
"?@?.?"
] | ?@?.? |
bf698a4d9669687d9c601f31ac67065da6e3a840 | db021f4b97fd02a642ba6f7250ac7650993d84ec | /EASY/PERMUT2.cpp | c1070953a8b82895918840bd592bf210b16a40c3 | [] | no_license | sakshi-chauhan/CodechefCppCodes | 39a6a2d7e16b13c5bd619c1e312249ff91a70ef0 | fb2174ae362bebd2f42bd81ab423b7ae33719ed8 | refs/heads/master | 2021-01-13T02:40:20.288591 | 2015-06-16T06:42:38 | 2015-06-16T06:42:38 | 37,512,926 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | #include<iostream>
int main(){
int n,i,t,not_amb=0;
int arr1[10005],arr2[10005];
std::cin>>t;
while(t>0){
not_amb=0;
for(i=1;i<=t;i++)
std::cin>>arr1[i];
for(i=1;i<=t;i++){
arr2[arr1[i]]=i;
} ... | [
"csakshi25@yahoo.com"
] | csakshi25@yahoo.com |
ca7f2b19d17b19767b43b26383334e9511ac464e | 194ba83990e3768ab9e310a183b3098e7c1e55d3 | /sdk4.2.1.1/development/amd/examples/GPU_P2P/SyncedBuffer.cpp | a6609fdf47239b7782476aad093b818eea5e649e | [] | no_license | elliotwoods/SDICapture-Test | 0eae01092590760fec3c55a95cf44d14132041af | 0875a51e23d794b19ea1aba6a0df9f6b03c07104 | refs/heads/master | 2021-01-23T03:53:27.298102 | 2012-07-11T10:04:39 | 2012-07-11T10:04:39 | 4,987,274 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,251 | cpp |
#include <windows.h>
#include "SyncedBuffer.h"
SyncedBuffer::SyncedBuffer(void) : m_pBuffer(NULL), m_uiSize(0), m_uiHead(0), m_uiTail(0), m_lNumFullElements(0)
{
}
SyncedBuffer::~SyncedBuffer(void)
{
CloseHandle(m_hNumFull);
CloseHandle(m_hNumEmpty);
// Release all semaphores
for (unsigned int i =... | [
"ingolf.heinsch@gmail.com"
] | ingolf.heinsch@gmail.com |
affe1e59e5fd84506b476facf31e7d26be4d7ec1 | 9e11990ba732f16ff318da6e4a0a798a40c7aad6 | /HelloMario/UIcode/resource/frame_06_bmp.cpp | 4b0d460d91dd33a8a5f27f5433637e2ada48517f | [
"Apache-2.0"
] | permissive | kof98765/GuiLiteSamples | 4baf60907f9f7f938defc4206f58da052d2ba686 | aad3dcafcc1e7f481389e3dd018fed30e77c05e8 | refs/heads/master | 2020-07-24T01:03:33.601117 | 2019-09-11T07:51:40 | 2019-09-11T07:51:40 | 207,756,266 | 0 | 0 | Apache-2.0 | 2019-09-11T07:58:53 | 2019-09-11T07:58:50 | null | UTF-8 | C++ | false | false | 80,570 | cpp | #include "../GuiLite.h"
static const unsigned short raw_data[] = {
21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 21595, 25126, 60622, 64977, 649... | [
"idea4good@outlook.com"
] | idea4good@outlook.com |
6816d1430939869dde612bf48e7dfed373e26e7d | cec5bfb44617ee749ae5fb7180e35a908804c124 | /src/Menu.cpp | 308e2ad4cb03072729a2ca75c3e9db45a63144c1 | [] | no_license | orbisvicis/prime | 2fc04e595c1140f7356726a6b154e0d94a5e2b4f | de7121b837b7a25a531b94e3358d3898b3f92c87 | refs/heads/master | 2016-09-13T12:12:16.213493 | 2016-04-22T22:41:42 | 2016-04-22T22:44:30 | 56,885,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,269 | cpp | #include <stdio.h>
#include <ctype.h>
#include "Interface.h"
shMenuChoice::shMenuChoice (char letter, char alt, const char *text,
const void *value, int count, int selected)
{
mLetter = letter;
mAltLetter = alt;
strncpy (mText, text, 255); mText[255] = 0;
mValue.mPtr = value;
mSelected = selec... | [
"pscjtwjdjtAhnbjm/dpn"
] | pscjtwjdjtAhnbjm/dpn |
e0cd7567709180787de07b22872f6dc15d2b65ed | 4e9e4b2aa28113e307c87cd6c777d7498fd85b0a | /src/ds/siphash.h | 856436033a4c5a656ee8590b893930e61f758205 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"MIT"
] | permissive | kuychaco/CCF | b0608e4f241a1c0dfa1c3f72021b4b4d786e0e02 | e11acde3be6a7d2213fe5b406b959bb5bb64361d | refs/heads/master | 2020-12-23T05:14:45.012959 | 2020-01-29T17:49:12 | 2020-01-29T17:49:12 | 237,045,643 | 1 | 0 | Apache-2.0 | 2020-01-29T17:45:36 | 2020-01-29T17:45:35 | null | UTF-8 | C++ | false | false | 3,772 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include <cstddef>
#include <cstdint>
#include <vector>
// C++ port of reference implementation
namespace siphash
{
using SipState = uint64_t[4];
using SipKey = uint64_t[2];
constexpr uint64_t ro... | [
"amchamay@microsoft.com"
] | amchamay@microsoft.com |
251960e6bc11cb9ec2bef5d59ecd8e1fb1d6e62f | 7bf18d167d441d1701b39cb37e7f43b2719c92c1 | /Source/SimpleProject/Boss/AI/BTT_SelectBossAttack.h | d453bb4738e73576e2feaa878381ed0ede3dbf75 | [] | no_license | juno870502/SimpleProject | 570e54c437e9e8100f4af4479d98fad259663f51 | af51a41119205e21958a1002057ba29300d8bac1 | refs/heads/master | 2020-08-15T01:17:16.726109 | 2019-11-17T18:00:07 | 2019-11-17T18:00:07 | 215,258,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "Boss/BasicBoss.h"
#include "BTT_SelectBossAttack.generated.h"
/**
*
*/
UCLASS()
class SIMPLEPROJECT_API UBTT_SelectBossAttack : publi... | [
"juno870502@naver.com"
] | juno870502@naver.com |
fe2edf828fc8eabfeff61f50fa5620360e185caf | 13688b7981908e126087814b4528f5ef5cc63ad2 | /torch/csrc/distributed/rpc/tensorpipe_utils.cpp | 03d056198a29598640f534903bce6363a5816a26 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | shrutiramesh1988/pytorch | be34bb0c674bf27dc847b13a40b982d3d550b787 | be2a4294244bc79a3f2f60f712e83a9214dfd8e2 | refs/heads/master | 2021-07-08T21:27:28.917944 | 2021-03-31T15:21:52 | 2021-03-31T15:21:52 | 233,527,778 | 0 | 0 | NOASSERTION | 2020-01-13T06:35:32 | 2020-01-13T06:35:31 | null | UTF-8 | C++ | false | false | 9,678 | cpp | #include <torch/csrc/distributed/rpc/tensorpipe_utils.h>
#ifdef USE_TENSORPIPE
#ifdef USE_CUDA_NOT_ROCM
#include <c10/core/DeviceGuard.h>
#include <c10/cuda/CUDACachingAllocator.h>
#endif
#include <tensorpipe/tensorpipe.h>
namespace torch {
namespace distributed {
namespace rpc {
namespace {
// The TensorPipe agen... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c4e7479972964546afcf9ec8ce17108f0cb76064 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_1157.cpp | 5f326b8391c45cc678e285ce785de239497ab7cb | [] | 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 | 391 | cpp | debugs(84, DBG_CRITICAL, "WARNING: All " << hlp->childs.n_active << "/" << hlp->childs.n_max << " " << hlp->id_name << " processes are busy.");
debugs(84, DBG_CRITICAL, "WARNING: " << hlp->stats.queue_size << " pending requests queued");
debugs(84, DBG_CRITICAL, "WARNING: Consider increasing the number of "... | [
"993273596@qq.com"
] | 993273596@qq.com |
411dcabf30c74ccd7f42d180aaedeab9054f57c3 | d2f653983bf762869ccb8783394038609020c887 | /src/XMLDataTypes.hpp | 0b5c9760245c69b75f13be7c2b2946f5303ef66e | [] | no_license | stefanhepp/mscop-rmc | 6487584507fd87dac2adac3e44bd684e3be225a2 | bbe1b816101ac1b075f809a6c1eeeb47332d3de2 | refs/heads/master | 2016-09-15T17:43:22.366910 | 2014-03-10T06:01:00 | 2014-03-10T06:01:00 | 17,491,572 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | hpp | /*
* DataTypes.hpp
*
* Created on: Mar 4, 2014
* Author: ioan
*/
#ifndef XMLDATATYPES_HPP_
#define XMLDATATYPES_HPP_
#include <iostream>
#include <ctime>
#include <list>
#include <string>
struct _StationDuration_{
std::string _stationCode;
int _drivingMinutes;
/**
* as a convention if the direction... | [
"stefan@stefant.org"
] | stefan@stefant.org |
351e00c6da04b37effbbc9fe9b9b6b4abe5380a2 | 6cde110fa503c660c7fc32ca836c9a0ca94d6856 | /voxels/voxel.cpp | d219c36437b5b817bf31569c35c01d5780f422ae | [] | no_license | eliseybg/Course-work-Minecraft | 6e0edcfddb884af55248ec10dae52e440e20f6bc | 582ba40b2c464180607a01e677ae6634f1743b7b | refs/heads/master | 2023-02-17T11:05:59.458155 | 2021-01-20T16:28:16 | 2021-01-20T16:28:16 | 331,362,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | #include "voxel.hpp"
| [
"57315212+eliseybg@users.noreply.github.com"
] | 57315212+eliseybg@users.noreply.github.com |
16f9df389c5721f03b7aaa296a62b8e34e00e3fc | c0a32e2c6123b5aee91836c5771d019d9f8c1a96 | /2020/5/cg/lab6/lab6minecraft/lab6/World/Block/Types/BWater.cpp | 4529758f1f2585579f640ca685048b4dbb699bbe | [] | no_license | blackdrako/Study | 7dfec76c321b47eea59be61f71c236b6c255be3e | 460b414120fbfdc2956798ec2d5a1d3f6c5ea171 | refs/heads/master | 2021-06-21T21:43:22.013938 | 2021-05-14T09:53:24 | 2021-05-14T09:53:24 | 221,056,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | #include "BWater.h"
#include "../../World.h"
namespace Block
{
BWater::BWater()
: Type ("Water")
{ }
}
| [
"blackdrako@users.noreply.github.com"
] | blackdrako@users.noreply.github.com |
63a5462c6ed2977183490f740e1340d7bc6ed34c | f1d0ea36f07c2ef126dec93208bd025aa78eceb7 | /Zen/EnterprisePlugins/Session/SessionServer/I_SessionService.hpp | 75398d5e072271d5cbf01d0749eb0b1373a6c4d0 | [] | no_license | SgtFlame/indiezen | b7d6f87143b2f33abf977095755b6af77e9e7dab | 5513d5a05dc1425591ab7b9ba1b16d11b6a74354 | refs/heads/master | 2020-05-17T23:57:21.063997 | 2016-09-05T15:28:28 | 2016-09-05T15:28:28 | 33,279,102 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,203 | hpp | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// Zen Enterprise Framework
//
// Copyright (C) 2001 - 2010 Tony Richards
// Copyright (C) 2008 - 2010 Matthew Alan Gray
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors b... | [
"mgray@wintermute"
] | mgray@wintermute |
203102ac83f60115c8515b255e3db96657ec018e | 21bcedc4fa3f3b352f2a7952588d199a80f0d4a7 | /src/blink/protorpc/RpcServer.h | 9b930f591f567104f072b1239c5dab90a3a31724 | [
"BSD-3-Clause"
] | permissive | liyuan989/blink | c1a4ae4cb92a567ecdf4a12f1db0bec22a6f962a | 7a0d1367d800df78a404aeea13527cd9508fbf4d | refs/heads/master | 2016-09-05T11:13:37.503470 | 2015-04-14T11:35:40 | 2015-04-14T11:35:40 | 29,411,173 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | h | #ifndef __BLINK_PROTORPC_RPCSERVER_H__
#define __BLINK_PROTORPC_RPCSERVER_H__
#include <blink/Nocopyable.h>
#include <blink/TcpServer.h>
namespace google
{
namespace protobuf
{
class Service;
} // namespace protobuf
} // namespace google
namespace blink
{
class RpcServer : Nocopyable
{
public:
RpcServer(E... | [
"liyuan989@gmail.com"
] | liyuan989@gmail.com |
4cd598e67f1869b8813a5be48911d119487c0962 | 957bf6619d2d5edd789bfdf0bb147197a962fdf8 | /samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioComponentsTest/ProjectileController.cpp | 30613261183772ef17a761ad6a5b7d60c81024f6 | [
"MIT"
] | permissive | gibtang/CCNSCoding | f03bf4bf7ae0cb6239141b73ac54106d61e90804 | 2c308c67752c8d5137a81ed4df316cc137015886 | refs/heads/master | 2021-04-09T16:59:49.425508 | 2014-04-14T02:21:53 | 2014-04-14T02:21:53 | 18,506,094 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,266 | cpp | #include "ProjectileController.h"
#include "SceneController.h"
#include "EnemyController.h"
using namespace cocos2d;
ProjectileController::ProjectileController(void)
{
_name = "ProjectileController";
}
ProjectileController::~ProjectileController(void)
{
}
bool ProjectileController::init()
{
return true;
}
... | [
"gibtang@gmail.com"
] | gibtang@gmail.com |
8cb9ab7717066b61eef6bc3f2e632ea0697707c5 | 2c6a95057f85c8119e41c8e8e6cb9b1abc63ed3b | /old/DemiurgeCompiler/AstNodes/FunctionAst.cpp | 7ab8e69496dcad08a17f096a5837cf0e6d6f9c7b | [] | no_license | traplol/demiurge-lang | b77b72687b559d30b8ded0a0c8126a74d732b156 | 1863be0e6870a4f5d548406fdc913bcb6d48a988 | refs/heads/master | 2016-09-15T17:28:39.790036 | 2015-08-08T22:04:58 | 2015-08-08T22:04:58 | 22,275,094 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,097 | cpp | #include "llvm/IR/Function.h"
#include "llvm/IR/Verifier.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/PassManager.h"
#include "FunctionAst.h"
#include "../CodeGenerator/CodeGenerator.h"
#include "../CodeGenerator/CodeGeneratorHelpers.h"
#include "../DEFINES.h"
using namespace llvm;
FunctionAst... | [
"max.mickey1991@gmail.com"
] | max.mickey1991@gmail.com |
9952c0d45da5ace44640d0a3c7ca1c09ac69a1bd | a3186cf077aa320b38fd6e686a216ad937081f0a | /node_modules/nodegit/include/config_entry.h | 660b761ec55149d7f23c7429779edb96440e2a75 | [
"MIT"
] | permissive | Kly4/AWSomeButton | 746023b316ff7fa23938fe0b343dc9c0d138bde3 | ebabe0a0f304d933cf03451546219101b709af7f | refs/heads/master | 2021-04-26T11:39:04.923461 | 2016-03-17T22:19:05 | 2016-03-17T22:19:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | h | #ifndef GITCONFIGENTRY_H
#define GITCONFIGENTRY_H
// generated from class_header.h
#include <nan.h>
#include <string>
#include <queue>
#include "async_baton.h"
#include "promise_completion.h"
extern "C" {
#include <git2.h>
}
#include "../include/typedefs.h"
using namespace node;
using namespace v8;
class GitConfi... | [
"ashablygin@umass.edu"
] | ashablygin@umass.edu |
931d832a953ed65f5fa8a2be017fd0a9233175d0 | 50355a8fed7687f8d0254748e0a3069c87a4a0f0 | /FramebufferNativeWindow.cpp | 9972d565aa1d41a7d0e556b3fbc645d420a29175 | [
"Apache-2.0"
] | permissive | hampelratte/md86597_frameworks_base_libs_ui | 55c69117b27dad6294cc892c1d37a4177e2b8b74 | 66209b3e23e9b4026be120734d44cbd324bbff5a | refs/heads/master | 2016-09-11T02:00:23.850477 | 2012-10-03T17:46:31 | 2012-10-03T17:46:31 | 6,063,975 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,431 | cpp | /*
**
** Copyright 2007 The Android Open Source Project
**
** 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 ap... | [
"henrik.niehaus@gmx.de"
] | henrik.niehaus@gmx.de |
9316d46414e4a2bddeede2c85f405e172eb5a379 | d4b8199a117146535df82822c40009c3456138ab | /src/bdm/logger/logger.hxx | 488a6f95d13f5e0d76e055ab5c955555d907e663 | [
"MIT"
] | permissive | turenar/bdm | e55dd70263c557755dd49ac7222f9f81ad246ea5 | 4032a4e7da1508980ab5931a52bfbd7def42ee82 | refs/heads/master | 2021-05-13T21:26:34.206936 | 2018-01-11T10:05:52 | 2018-01-11T10:05:52 | 116,461,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | hxx | #pragma once
#include <g3log/g3log.hpp>
#include "log_levels.hxx"
#ifdef NDEBUG
struct empty_stream {
};
template<typename T>
inline empty_stream& operator<<(empty_stream& st, T&) {
return st;
}
#undef LOG
#define LOG(level) (empty_stream())
#undef LOG_IF
#define LOG_IF(level, boolean_expression) LOG(level)
#undef... | [
"eclair@turenar.xyz"
] | eclair@turenar.xyz |
be34424608bc7124b924ae15f767951245b6ec69 | cf7c928d6066da1ce15d2793dcf04315dda9b9ed | /Baekjoon_Online_Judge/단계/01 입출력과 사칙연산/Main_BOJ_1008_A_B.cpp | e9f6f6705f5f49e4e6077a7082c0c8f844b6a6f9 | [] | no_license | refresh6724/APS | a261b3da8f53de7ff5ed687f21bb1392046c98e5 | 945e0af114033d05d571011e9dbf18f2e9375166 | refs/heads/master | 2022-02-01T23:31:42.679631 | 2021-12-31T14:16:04 | 2021-12-31T14:16:04 | 251,617,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | cpp | #include <iostream>
using namespace std;
int main()
{
double a, b;
cin >> a >> b;
printf("%.12lf", a/b);
return 0;
}
| [
"refresh6724@gmail.com"
] | refresh6724@gmail.com |
55b35f1a2dad1430d2ccc3c02d673e9a5b6b1feb | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE590_Free_Memory_Not_on_Heap/s02/CWE590_Free_Memory_Not_on_Heap__delete_array_wchar_t_alloca_82.h | 8323cb2cd917882cd6f8a1aafe0520723591c3a2 | [] | 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 | 1,376 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_wchar_t_alloca_82.h
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data b... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
65fc733ba59aefaf6d07db12497f9dfb04584f0f | 72843da20942b6075f83d31d737957f86191b01e | /Unclassified/Done/2634.cpp | 487f8f053dd6d645849ca76aec4d2297e905ac79 | [] | no_license | dtcxzyw/OI-Source | cb641f2c7e203a32073f4cae98e690f1cad3dc22 | aa041e2af7e1546e8c7ac5a960a27a3489cfcff8 | refs/heads/master | 2021-12-17T17:52:05.043490 | 2021-12-17T12:52:52 | 2021-12-17T12:52:52 | 140,553,277 | 43 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | #include <cstdio>
int read(){
int res=0,c;
do c=getchar();
while(c<'0'||c>'9');
while('0'<=c&&c<='9'){
res=res*10+c-'0';
c=getchar();
}
return res;
}
const int size=20010;
struct Edge{
int to,next,w;
} E[size*2];
int last[size]={},cnt=0;
void addEdge(int u,int v,int w){
++cnt;
E[cnt].to=v... | [
"2601110573@qq.com"
] | 2601110573@qq.com |
b8cf5e7fae406aeb6a801d3549ccd3407e240a0a | daae83654cca2eb7b0cca39dc12551974b7b7a2b | /src/qt/aboutdialog.cpp | 97e6fd04efaad770b335827e6cbaf3f54c8a4e38 | [
"MIT"
] | permissive | harshalapawar/Cryptocoin | fb146f55238dd1f584c031a60c5ef7f350a9e28c | 862fb7612f3acf1c6177d598564233a2e0695c15 | refs/heads/master | 2021-08-18T21:02:46.982816 | 2017-11-23T20:37:30 | 2017-11-23T20:37:30 | 111,843,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | 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 "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (... | [
"harshalapawar266@gmail.com"
] | harshalapawar266@gmail.com |
745e5a6cf5bace12aa866f27a4e6a74828ded1ee | ea9698cd7a7d8ca56a4028bd77c56e89f499a24f | /runtime/vm/code_comments.cc | b4a8e033855a8e639dd4169c1b16ab4f16541aef | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MedRedha/sdk | e669c14a85008389c1cf1774475171d2ee552685 | f8f0b845c2ff5d735ae9c26130c96919e7e5bea0 | refs/heads/master | 2020-07-26T03:48:56.719167 | 2019-09-14T19:31:25 | 2019-09-14T19:31:25 | 208,510,760 | 1 | 0 | BSD-3-Clause | 2019-09-14T22:18:27 | 2019-09-14T22:18:27 | null | UTF-8 | C++ | false | false | 790 | cc | // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/code_comments.h"
namespace dart {
#if !defined(DART_PRECOMPILED_RUNTIME) && !defined(PRO... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d2cf149aef340963111cb81a1b67e03211d45b44 | a7a75c89f51319e0d831f6ef1de0c3c57d2e1429 | /Build174/src/providers/gdal/moc_qgsgdalprovider.cxx | 40d9f67b4f639ec39f95ecfb6910ba0c622a34cd | [] | no_license | cugxiangzhenwei/QGIS_174_VS2008 | 9e3a473a908680ddb8e4e20bba6661ba1faace63 | 31302feac99f87fa34f988d591084a4d244122e7 | refs/heads/master | 2021-01-10T12:39:31.928488 | 2016-01-17T06:47:35 | 2016-01-17T06:47:35 | 49,788,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | cxx | /****************************************************************************
** Meta object code from reading C++ file 'qgsgdalprovider.h'
**
** Created: Fri May 18 12:55:48 2012
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
*******************... | [
"cugxiangzhenwei@sina.cn"
] | cugxiangzhenwei@sina.cn |
f38a846c1244aec69457aba56c318134c1d7e5ec | 071786e24b0ce33f1bd4662b9164974bcbdfb783 | /src/atom_generator.h | bc3f5ae5b762945aba4f9c1b9145ed1527d5f3a1 | [
"MIT"
] | permissive | WeirdConstructor/BukaLisp | d12180b1608ebbdd0ce8424e15557883f97ad228 | 7e4081e45abd8afa1873a666c8c519ce1f76f0f5 | refs/heads/master | 2023-03-05T08:12:11.699501 | 2021-02-18T04:06:54 | 2021-02-18T04:06:54 | 91,902,492 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,741 | h | // Copyright (C) 2017 Weird Constructor
// For more license info refer to the the bottom of this file.
#pragma once
#include <memory>
#include <vector>
#include "parser.h"
#include "atom.h"
#include "atom_printer.h"
namespace bukalisp
{
//-----------------------------------------------------------------... | [
"weirdconstructor@gmail.com"
] | weirdconstructor@gmail.com |
638b8d462e68199af7aa4641cbf45599d89585f1 | 7b93f65c8d36750afdd5add6b6676b1523e818ec | /cpp/robel_intro/chap10/Exception1e.cpp | 99cb869315b08988c04a7f5f64dbd3e4b250c6ae | [] | no_license | DaisukeYamato/book | 9cbb3620e5f297832a7c0dc4b35f38b61a6395ea | 0308106dedf8a23b491aada942f781d2ab000b69 | refs/heads/master | 2021-01-22T13:13:02.365196 | 2015-08-26T00:12:56 | 2015-08-26T00:12:56 | 40,760,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
using namespace std;
int main() {
try {
ifstream file;
file.open("text.txt");
if(!file.is_open()) {
throw "cannot open file!!";
}
string line;
getline(file, line);
if (file.fail()) {
throw "canno... | [
"yamato.hep.fermicern@gmail.com"
] | yamato.hep.fermicern@gmail.com |
070fb5e3c92ac7d887fcad1efbb47470f705138c | 0979c4763f5087733428a9c258f810e3ba615d88 | /src/cpp-sqlite-db-adapter/TableRecord.cpp | 2f16f9c25f750596c38a2e767d0ee9463aba9b09 | [] | no_license | ibaiGilabert/CppSqlLiteDbAdapter | 5e5261d5d20ca1940d89f20080801a7e0806532e | 85e54a31201942191654a867605c2a6dc7bbf5d4 | refs/heads/master | 2020-03-20T21:58:31.592742 | 2018-10-18T09:39:31 | 2018-10-18T09:39:31 | 137,772,004 | 0 | 0 | null | 2018-10-17T17:36:19 | 2018-06-18T15:42:06 | C++ | UTF-8 | C++ | false | false | 4,058 | cpp | //#include "stdafx.h"
#include "TableRecord.h"
#include "Field.h"
#include "FieldValue.h"
#include "cpp-db-adapter/ITableRecordSet.h"
#include <sqlite3.h>
namespace systelab {
namespace db {
namespace sqlite {
TableRecord::TableRecord(ITableRecordSet &recordSet, sqlite3_stmt *statement)
: m_table(recordSet.get... | [
"ibai.gilabert@gmail.com"
] | ibai.gilabert@gmail.com |
cac9b279abec019ee92789df2c0ca114d28b2772 | 470eb725377cf594a471bf75f731738ec2d4882e | /Win8APPAssist/native/src/util/aes/aes.h | d633e54dcac587404a9ee7f5f679d3e5b09d1ee6 | [] | no_license | force2008/win8AppAssist | f9d0c65c0b237e9d731ed2333639249f5c4b56fc | d50e3bb78a03f9e8273afba99d7c219a2b26cc06 | refs/heads/master | 2021-01-01T19:07:18.747983 | 2013-05-29T02:16:29 | 2013-05-29T02:16:29 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,639 | h | /*
* File AES.h
* Author 刘乾发
* Email qfliu@corp.netease.com
* Copyright (c) 2010-2012 网易杭州研究院
* Date 2010-08-04
* Comment AES加密解密算法 基于rijndael算法version3.0
*/
#pragma once
#include "..\intType.h"
namespace native
{
#define AES_MAXKB (256/8)
#define AES_MAXNR 14
class AES
{
public:
AES();
virt... | [
"force2008@gmail.com"
] | force2008@gmail.com |
2c953d756d20a284300a20b02c691c0bafb23859 | 4b2da0b07ec5452fa914ce2b77411e039343be67 | /src/threadinterrupt.cpp | 78b1d852c235c9969f4535da80f5aa7e97c342f7 | [
"MIT"
] | permissive | zoowcash/zoowcash | 5cbc19f9edfbf6007d44ce2c06e757fc4c3ccf92 | d38dccfc7672be33bec3f865a69675ff7eeaae94 | refs/heads/master | 2020-05-22T05:05:05.886886 | 2019-05-12T08:21:25 | 2019-05-12T08:21:25 | 186,229,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2019 The zoowcash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <threadinterrupt.h>
... | [
"47944643+zoowcoin@users.noreply.github.com"
] | 47944643+zoowcoin@users.noreply.github.com |
5bc8826ffe6870d0784333201e5c61a6c3d53761 | a7a75c89f51319e0d831f6ef1de0c3c57d2e1429 | /QGisDev/include/ui/ui_qgsmergeattributesdialogbase.h | 13471be1b67e70e0d53324119f0df1df1f24eb5c | [] | no_license | cugxiangzhenwei/QGIS_174_VS2008 | 9e3a473a908680ddb8e4e20bba6661ba1faace63 | 31302feac99f87fa34f988d591084a4d244122e7 | refs/heads/master | 2021-01-10T12:39:31.928488 | 2016-01-17T06:47:35 | 2016-01-17T06:47:35 | 49,788,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,131 | h | /********************************************************************************
** Form generated from reading ui file 'qgsmergeattributesdialogbase.ui'
**
** Created: Tue Mar 13 10:23:55 2012
** by: Qt User Interface Compiler version 4.5.3
**
** WARNING! All changes made in this file will be lost when recompili... | [
"cugxiangzhenwei@sina.cn"
] | cugxiangzhenwei@sina.cn |
6f597e66e6d6ba7af010dccec301674005ddfd93 | 9d0d9492c12b3e88303c87134d6c0536e727b34f | /t23_pure_virt_fcn_body_2.cpp | 4b129cc709e567bb1b4b5f4d69041189774ef49a | [] | no_license | s-kramer/cpp_tests | 361929b81b99fcb17da13014e78748f7578becc1 | 2d6d3404bc5d6405e0cba8159e1cce0248efc194 | refs/heads/master | 2021-01-10T03:54:39.174981 | 2017-08-07T08:16:14 | 2017-08-07T08:16:14 | 53,738,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include <iostream>
#include <boost/scoped_ptr.hpp>
class Base
{
public:
explicit Base (void) {};
~Base () {};
virtual void identify(void) = 0;
private:
};
void Base::identify()
{
std::cout << "Abstract Base class pure function body here.\n";
}
class Derived : public Base
{
public:
explicit D... | [
"sebastian.kramer@wp.pl"
] | sebastian.kramer@wp.pl |
4d5d8ec9ea66250a7fd250dc7f6ba0ab0ee70366 | 051c898be81003a5c90f5a1ce77a252252774973 | /preliminary/D/33908004.cpp | f9fc7042159465e2cd087bc0cf2ade72cf7df144 | [] | no_license | mmatrosov/FKN2020 | 29caffa241882e672df654b4857b5674d5f96f6e | 38bfa7811d4af175415f7cc4da81df44b5b4a74c | refs/heads/master | 2022-12-27T19:15:05.849915 | 2020-10-16T07:12:27 | 2020-10-16T07:12:27 | 298,350,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include <bits/stdc++.h>
#define int long long int
#define ld long double
#define pb push_back
#define pf push_front
#define ft first
#define sc second
#define all(v) v.begin(), v.end()
using namespace std;
const int maxn = 100000, inf = 1e18;
ld ang(ld xa, ld ya, ld xb, ld yb) {
return abs(atan2(xa * yb - xb * ya,... | [
"mikhail.matrosov@gmail.com"
] | mikhail.matrosov@gmail.com |
d92b599e250a7840260ff5c4b63cc928b4176a30 | fc4abaa16d21820073ebf864ab30c38838a76414 | /Containers/Algorithem.h | 785945111081b63e1f1dec5ec1035cd9c2a70b8a | [] | no_license | TDWickersham/Templates | 48ce7d775e85a306fb20f068b0d8c13717e1ca84 | a3b0e077b0f5739e5e8cd82283eac6cde961283f | refs/heads/master | 2021-08-28T16:43:47.390621 | 2017-12-12T20:11:33 | 2017-12-12T20:11:33 | 112,257,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #pragma once
template<typename T, typename S>
static S addRange(int* start, int* end)
{
S total = 0;
T* iter = start;
while (iter != end)
{
total += *iter;
++iter;
}
return total;
}
template<typename T, typename S>
static S addRangeFinished(int* start, int* end)
{
S total = 0;
T* iter = start;
while (... | [
"s179067@SEA-1A7525"
] | s179067@SEA-1A7525 |
a3fb013997ad6c99374e0a6cebce32df94cd6d9b | 94e5a9e157d3520374d95c43fe6fec97f1fc3c9b | /Codeforces/Practice/231A.cpp | d2763a5d9016098e9fe1b7776a182c49eda40958 | [
"MIT"
] | permissive | dipta007/Competitive-Programming | 0127c550ad523884a84eb3ea333d08de8b4ba528 | 998d47f08984703c5b415b98365ddbc84ad289c4 | refs/heads/master | 2021-01-21T14:06:40.082553 | 2020-07-06T17:40:46 | 2020-07-06T17:40:46 | 54,851,014 | 8 | 4 | null | 2020-05-02T13:14:41 | 2016-03-27T22:30:02 | C++ | UTF-8 | C++ | false | false | 269 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
int cnt = 0;
for(int i=1; i<=n; i++)
{
int a,b,c;
cin >> a >> b >> c;
int kk = a+b+c;
if( kk >= 2 ) cnt++;
}
cout << cnt << endl;
}
| [
"shubhashis.roy@selise.ch"
] | shubhashis.roy@selise.ch |
e8825f57421b101fc71981fb83866927132c665a | 31d51c412a99ecbc3e0e191c402cca3e858142bf | /computeCTR.cpp | 29ccd9044dbc8300dd883e66291e284bacc5ad44 | [] | no_license | marcopizzichemi/Macros | 985579b70f88af99d56d187147936d7f872988b2 | 45e3a8d6b98b24ec071a56b0ead5a0ae6b3fa358 | refs/heads/master | 2020-04-15T14:28:41.910391 | 2018-10-15T09:24:20 | 2018-10-15T09:24:20 | 44,091,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,946 | cpp | // compile with
// g++ -o ../build/computeCTR computeCTR.cpp `root-config --cflags --glibs` -Wl,--no-as-needed -lHist -lCore -lMathCore -lTree -lTreePlayer
// small program to extract timing calibration and data
#include "TROOT.h"
#include "TFile.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TLegend.h"
#inclu... | [
"marco.pizzichemi@gmail.com"
] | marco.pizzichemi@gmail.com |
c5cc430f2e366a55b2f079d5cabf40b3009b8395 | 58b589be581ab55e26b5dd600c89184c849f59d7 | /src/apps/snakegame/GameMenuRenderer.cpp | 71c02ea2f3870ab46187a48cececd9c1c35d7af4 | [
"MIT"
] | permissive | kosua20/Rendu | 02a0b9b39997b03f9c05138749f1f9bed0f223d9 | 6dd327cec52819ee0d04a4d8e8270dbe0a27b194 | refs/heads/master | 2023-08-31T17:11:39.583115 | 2023-07-09T20:58:17 | 2023-07-09T20:58:17 | 58,236,869 | 456 | 32 | null | null | null | null | UTF-8 | C++ | false | false | 4,771 | cpp |
#include "GameMenuRenderer.hpp"
#include "resources/ResourcesManager.hpp"
#include "graphics/GPU.hpp"
#include "resources/Texture.hpp"
#include "Common.hpp"
GameMenuRenderer::GameMenuRenderer() : Renderer("Menu") {
_buttonProgram = Resources::manager().getProgram("menu_button");
_backgroundProgram = Resources::m... | [
"kosua20@gmail.com"
] | kosua20@gmail.com |
67248344ba6bd59cf701973bc353d8e6f250a448 | b77d1df6660f2ac7627343a9978e62a91ab31cc1 | /visual studio的代码/POJ/1001/源.cpp | 55fdc0ed44cf0d1fb219b518f19db7c85cf698e6 | [] | no_license | Dragon-qing/vs | 6da7849c6ca6b174ed20be5c83330c9bd69e8243 | bcf48dbce5c85ea6d15c3534017b686b4e63d307 | refs/heads/master | 2023-06-30T21:39:12.800910 | 2021-08-07T14:28:30 | 2021-08-07T14:28:30 | 393,031,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cpp | #include<stdio.h>
#include<string.h>
int output[120];
int m;
void cal(int sum);
int main()
{
char str[6];
int n;
while (scanf("%s%d", str, &n) != EOF)
{
int length = strlen(str);
int i;
int point = 0;
int sum=0;
int temp;
for (i = 0; i < length; i++)
{
if (str[i] == '.')
{
point = (length - ... | [
"1259337898@qq.com"
] | 1259337898@qq.com |
5c17cd3de64ea35c0a9d3539991c7775591ca14e | 18fad31a31d34188cc848c90df4cca3f87a34f2d | /centralized/utils/testcase.cpp | 8d793ddc785b68c4b79062d16e27ab3ad49909a0 | [] | no_license | DongCiLu/DecSearch | 780592b938c27d5402046c556557f4bbd671731e | 39b755ba15a99dc380ef1820c079ef41a4f1583b | refs/heads/master | 2021-01-10T18:06:40.702325 | 2019-07-19T20:27:52 | 2019-07-19T20:27:52 | 54,991,238 | 1 | 1 | null | 2016-05-10T06:09:56 | 2016-03-29T16:19:45 | C++ | UTF-8 | C++ | false | false | 2,502 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <queue>
#include <vector>
#include <unordered_set>
#include <unordered_map>
#include <sstream>
#include <cstdlib>
#include "Snap.h"
using namespace std;
const int NUM_SRC = 1000;
const int NUM_DST = 1000;
struct Testcase {
int src;
int dst;
... | [
"zlu12@vols.utk.edu"
] | zlu12@vols.utk.edu |
c060abfa5218b84c3c318f8e5d01c66f284f900f | 1005f450818900b923e345b73d77628f20d1875e | /thirdparty/asio/asio/file_base.hpp | 0f273ee37294bacdef3a9e569f12f2f103b69e43 | [
"MIT"
] | permissive | qicosmos/rest_rpc | c7ad37547a9dcb616832b32bc110a237977b8c74 | 93088a7e0f0ddb3786de40ed7b6311852644edbf | refs/heads/master | 2023-08-23T06:56:42.464323 | 2023-07-04T02:57:13 | 2023-07-04T02:57:13 | 162,215,656 | 1,504 | 354 | MIT | 2023-07-05T03:37:24 | 2018-12-18T02:01:52 | C++ | UTF-8 | C++ | false | false | 3,782 | hpp | //
// file_base.hpp
// ~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef ASIO_FILE_BASE_HPP
#define ASIO_F... | [
"qicosmos@163.com"
] | qicosmos@163.com |
557da4f03d8eb74eb3ed12c917675f6b6d2d67e1 | b88e2623de02f197ff72cc4e92fd9d970afbfa52 | /src/integrate.cpp | bc06185a1eac986723b20e93df795c421daefb92 | [] | no_license | hoergems/openrave_interface | dc4e9fa95671c5d5c03c1f2a8b16ada707d8810a | ec6828873cfc2a8e3896cf9a6041708a92201f65 | refs/heads/master | 2021-01-10T10:01:25.854816 | 2016-04-11T04:50:25 | 2016-04-11T04:50:25 | 51,899,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,365 | cpp | #include "include/integrate.hpp"
using namespace boost::numeric::odeint;
using std::endl;
using std::cout;
namespace shared{
template<class T>
struct VecToList
{
static PyObject* convert(const std::vector<T>& vec)
{
boost::python::list* l = new boost::python::list();
for(size_t i = 0; i < vec... | [
"hoergems@gmail.com"
] | hoergems@gmail.com |
2ce9a3be1b048aa2c0b4f4504180a59a0356f9c7 | 6ee6cc888f0a82e36fd1687fed4a109f0cb800a7 | /leetcode/312.cpp | 195c70c9678f41e36df09fccb7d011a52a8c4a1a | [] | no_license | Rayleigh0328/OJ | 1977e3dfc05f96437749b6259eda4d13133d2c87 | 3d7caaf356c69868a2f4359377ec75e15dafb4c3 | refs/heads/master | 2021-01-21T04:32:03.645841 | 2019-12-01T06:33:44 | 2019-12-01T06:33:44 | 49,385,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | class Solution {
public:
int maxCoins(vector<int>& nums)
{
int n = nums.size()+2;
int* p = new int [n];
p[0] = p[n-1] = 1;
for (int i=1;i<n-1;++i)
p[i] = nums[i-1];
int** f = new int* [n];
for (int i=0;i<n;++i)
f[i] = new int [n];... | [
"j4bian@uwaterloo.ca"
] | j4bian@uwaterloo.ca |
9b107b720ce498f461da5503e16338990f8c1d76 | 3239d1f0223da3bf99305a9cec6733555171abf5 | /MV200/Parameter.h | bc34a02824ac5a7b0f57b910a3287c8401150eda | [] | no_license | qq77457051/crpAlynasis | 5f757e2ff53fe957a2aa9e3ba087a6f2d1086e8c | 6f4036464eb2006d2e1b70d7152d619146d1280a | refs/heads/master | 2023-03-20T10:35:50.334423 | 2017-10-27T10:27:44 | 2017-10-27T10:27:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,285 | h | #ifndef GPARAMETER_H
#define GPARAMETER_H
#include <QObject>
#include <QVector>
#include <QMapIterator>
#include "ParamDefine.h"
#include "Object/SQLite/sqlite.h"
//常规项目 结构体保存各个项目的参数(包括Logic5P、项目其他参数)
struct ProjectParamS
{
bool isDiluentPorj; //是否为稀释项目(0:非稀释项目,1:稀释项目)
QString Param_unit; //项目单位 ... | [
"474007782@qq.com"
] | 474007782@qq.com |
2753aa7039c676ea3316969c4601c3b43f20824f | b25795509f9545ea6b9f947492b39e518add0396 | /ACM/南工大ACM-回溯法/0-1背包.cpp | ca938e4cc520f027c6dcf29a0a16bd5fa84a887e | [] | no_license | Autokaka/C-Single-Ranking | 370e09a5d96212dc0fdef71b4cfe2bd6389c5e22 | 111808c552ee81a6109406e770970560501cea79 | refs/heads/master | 2022-01-11T09:43:02.585962 | 2019-07-15T04:48:12 | 2019-07-15T04:48:12 | 176,041,920 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,123 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(x, y, z) for(int (x) = (y); (x) < (z); (x)++)
#define N 15
int x[N], ret[N], n, W, cur = 0, ans = 0, ans1 = 0, rest;//x[i] = 0不取第i个物品; x[i] = 1取. cur当前背包已存放物品的重量; rest没有考虑的物品的价值总量
struct node
{
int weight, value;
} goods[N];
void dfs(int dep)
{
int i;
if ... | [
"qq1909698494@gmail.com"
] | qq1909698494@gmail.com |
22d7eed253cd5a670aec56782e13b3ada7852694 | ba316d9b90e0078275891ed0b9be7f7fd55fb6f8 | /test/work_queue_for_tests_schedule_work.cpp | e3eeb84c902ab749206a7be7a5ec494892464c47 | [] | no_license | o-peregudov/mqmx | 32a706a5eb8c733735a1cc4744b2973fd07676aa | f462bfe465310948dc7263f82a7af0b300969adb | refs/heads/master | 2021-01-16T23:52:33.847232 | 2016-10-12T18:08:29 | 2016-10-12T18:08:29 | 59,597,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include "mqmx/testing/work_queue_for_tests.h"
#include "test/FakeIt/single_header/standalone/fakeit.hpp"
#undef NDEBUG
#include <cassert>
struct work_interface
{
virtual bool do_something (const mqmx::work_queue::work_id_type) = 0;
virtual ~work_interface () { }
};
int main ()
{
using namespace mqmx;
... | [
"o.peregudov@gmail.com"
] | o.peregudov@gmail.com |
d46f0c0bc08b50b3db3fcb40ae0deaec13126cf2 | dc7d429b74a6be2b411cea21ba06ca5bfcaf0f88 | /atlantis_fw/AsicFwS2/include/matrix.h | b3e5a12dea672c229d6f9c1733286e41c671b345 | [] | no_license | hoantien/Light_code | 620b458dace18f749d068e3d74303dd6875b2ca8 | 9b83bbb88c1c403d73c7c45c44389c006fe0d0e6 | refs/heads/master | 2020-03-08T10:25:30.436400 | 2018-04-04T15:10:58 | 2018-04-04T15:10:58 | 128,072,987 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 44,545 | h | // we want to have support for the following:
// matrix3x3f, matrix4x4f, vec2f, vec3f, vec4f
// plus, minus, multiplication, inverse, transpose
#ifndef __MATRIX_H__
#define __MATRIX_H__
#ifdef __cplusplus
#include <cstdlib>
#include <algorithm> // has compile problem...
#include <cmath>
namespace ltaf { // lt auto ... | [
"hoantien05@gmail.com"
] | hoantien05@gmail.com |
04cdea0a0756db0d76285001781246c7dafe7f90 | b2949ea1148236fefd080212431d599ba63cca53 | /Fireworks/src/Platform/OpenGL/OpenGLShader.cpp | 2cf015bfe49778b4eb76c191ea52223d5ca3e4f4 | [
"Apache-2.0"
] | permissive | chris-luafau/Fireworks | 640d96e4c000e6ac028dea6a64845c8ed4f77d23 | 9572f7cf464036e7488a088d352c7f41d8b5b6a6 | refs/heads/main | 2023-02-06T19:46:47.355615 | 2020-12-23T20:32:52 | 2020-12-23T20:32:52 | 306,455,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,463 | cpp | #include "fzpch.h"
#include "OpenGLShader.h"
#include "glad/glad.h"
#include <glm/gtc/type_ptr.hpp> // value_ptr()
namespace Fireworks {
OpenGLShader::OpenGLShader(const std::string& vertexSrc, const std::string& fragmentSrc) {
// Create an empty vertex shader handle
GLuint vertexShader = glCreateShader(GL_VER... | [
"31860645+chris-luafau@users.noreply.github.com"
] | 31860645+chris-luafau@users.noreply.github.com |
745c0f283c6850ed596d1ea63ff2cf11f426b0e4 | 93409e882a893eff3d6a535d6ac94c57aca98e46 | /source/FPIdle.cpp | 21bec48b72544d65132bea5966d53528467adc57 | [] | no_license | begner/CUELegendKeys | e62f44e89189a7b2fe840014be70038552962918 | 2ebee4a18bb0bfb9fec73739b37e79c4b3f0bef6 | refs/heads/master | 2021-01-20T15:36:24.974091 | 2016-11-17T20:11:46 | 2016-11-17T20:11:46 | 65,309,600 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | #include "FPIdle.h"
FPIdle::FPIdle(HWND uiHWND) : FPScreenMirror(uiHWND)
{
NuLogger::getInstance()->log("Setup FrameProcessing Idle");
desktopWindow = GetDesktopWindow();
FPScreenMirror::setCaptureWindow(desktopWindow);
FPScreenMirror::setOffset(RECT{ 100, 200, 100, 0 });
FPScreenMirror::setUIDimensions(209, 287... | [
"ben@egner.it"
] | ben@egner.it |
e4970481cf9b427d4c34c721edeef44a81e6e6fd | 08c59366b00b1c68ec07d2358e0bbf93be1dba47 | /include/Engine/Util/Condition.h | e43e4ee9d590a0b71154ceaa3d9f0c9930dd4d0a | [] | no_license | minad/isometric | 835c9ba5bbedaa029706a86d7f806813075590c8 | 382d9c30c6714b3fc65e7e3eca936892997c94fa | refs/heads/master | 2023-08-22T17:50:43.961618 | 2017-03-07T00:32:34 | 2017-03-07T00:32:34 | 84,135,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #ifndef _Engine_Util_Condition_h
#define _Engine_Util_Condition_h
#include "Engine/Util/Mutex.h"
#include "SDLWrapper.h"
namespace Engine {
namespace Util {
class Condition
{
public:
Condition()
{
cond = SDL::createCond();
}
~Condition()
{
SDL::destroyCond(cond);
}
void... | [
"mail@daniel-mendler.de"
] | mail@daniel-mendler.de |
ff6e58a9ce1bc8232cfafa3d924e2185ad3ccc36 | 08307bdd77ea10309b496c676f14ff492f380177 | /InstantMessaging/InstantMessagingDlg.h | 1e5865dd3ad522eb976bb9b9193934348a6688f2 | [] | no_license | asdlei99/InstantMessaging | 78a38e6155345ff994d4d39ef85ecfc2a77641af | 079d3912b87150bd42a591f12d9606b3b96064ab | refs/heads/master | 2020-12-11T09:55:48.393995 | 2018-02-27T14:26:11 | 2018-02-27T14:26:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,925 | h | // InstantMessagingDlg.h : header file
//
#if !defined(AFX_INSTANTMESSAGINGDLG_H__7D41D06C_C73A_4AE1_9284_440FC1479084__INCLUDED_)
#define AFX_INSTANTMESSAGINGDLG_H__7D41D06C_C73A_4AE1_9284_440FC1479084__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
////////////////////////////////////////////... | [
"1369212327@qq.com"
] | 1369212327@qq.com |
1ae5d622751dacbd34ca9053d5e2f957062e91ea | 1d1790e544ce2764b57015551bc8ce3822af43e3 | /main.cpp | 64e8f493671761c75ff17b7922278f1717a62724 | [] | no_license | AhmedSakrr/ReinDamit | bbc10ca89d33a90b352ead3114ab7745b9e2798f | 6645d749101032142d258b3beb2a59f77dbdaba6 | refs/heads/master | 2022-03-24T04:53:25.685114 | 2019-12-22T17:48:51 | 2019-12-22T17:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,443 | cpp | #include "rein.h"
#include <fstream>
#include <iostream>
int inject(HWND parent, char* file[], char* proc[]);
char szDllFile[300];
char szProc[100];
LRESULT CALLBACK MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
switch (uMsg) {
case WM_CLOSE:
case WM_DESTROY:
PostQuitMessage(0);
return... | [
"Erarnitox@gmail.com"
] | Erarnitox@gmail.com |
4b5e4058126991b9975f3af40e34e850d2fd8c36 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5669245564223488_0/C++/abczz/B.cpp | 6f7c2214b6ccde059841bd8bb74b32d2c7915c06 | [] | 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 | 2,537 | cpp | #include <functional>
#include <algorithm>
#include <stdexcept>
#include <iostream>
#include <sstream>
#include <fstream>
#include <numeric>
#include <iomanip>
#include <utility>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <cctype>
#include <cstdio>
#include <vector>
#include <string>
#include <bi... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
d44e663f52f113a9facff1ab5d2d99ae5ea07514 | 2e1e1555dc6bcf2eb267d41c40bc4d3e56596bae | /sippet/message/headers/alert_info.h | 89face28b8f61c738c197c868c93c116c027f77e | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | Jenuce/sippet | a57370998769329b6c60fb9c0526e23d87fe1d9d | c6f4b0e9723f56cfb6d345d307a48f1ff0eb2c65 | refs/heads/master | 2020-12-11T01:41:38.150948 | 2015-10-07T11:58:32 | 2015-10-07T11:58:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | h | // Copyright (c) 2013 The Sippet 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 SIPPET_MESSAGE_HEADERS_ALERT_INFO_H_
#define SIPPET_MESSAGE_HEADERS_ALERT_INFO_H_
#include <string>
#include "sippet/message/header.h... | [
"guibv@yahoo.com"
] | guibv@yahoo.com |
0f446c6d77dcbbf94a6e55e8e1adf037327c7c70 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/multimedia/dsptest/dsptest.h | 779ce35042fe33d41157071fc9d92b3b92ce0853 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,901 | h |
#ifndef _DSPTEST_H_
#define _DSPTEST_H_
#define MAX_FREQUENCY_BINS 512
#define M_PI 3.14159265358979323846
typedef enum {
DRAW_SPECTRUM = 0,
DRAW_CYCLES,
MAX_SCREENS
} SCREENS;
//
// defines that control what the app does
//
//#define SRC_TEST 1
//#define BREAK_ON_START
#define ... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
0a7ac693707721a5311e4dcea7a46179be1bf6e8 | 98b6c7cedf3ab2b09f16b854b70741475e07ab64 | /www.cplusplus.com-20180131/reference/type_traits/is_nothrow_default_constructible/is_nothrow_default_constructible.cpp | 9a4ec4031bd631d82a08e277d0878224a16789ee | [] | no_license | yull2310/book-code | 71ef42766acb81dde89ce4ae4eb13d1d61b20c65 | 86a3e5bddbc845f33c5f163c44e74966b8bfdde6 | refs/heads/master | 2023-03-17T16:35:40.741611 | 2019-03-05T08:38:51 | 2019-03-05T08:38:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | // is_nothrow_default_constructible example
#include <iostream>
#include <type_traits>
struct A { };
struct B { B(){} };
struct C { C() noexcept {} };
int main() {
std::cout << std::boolalpha;
std::cout << "is_nothrow_default_constructible:" << std::endl;
std::cout << "int: " << std::is_nothrow_default_construc... | [
"zhongtao.chen@yourun.com"
] | zhongtao.chen@yourun.com |
ecc1699e5d4b59edeed938e7410cd622e504745a | 82730ea9d814a8478a674c563b256fcfb8f07b4f | /BorderGen/ClosureDetDlg.h | 663294d6583db56249c780e1a2108683fabf552f | [] | no_license | zjustarstar/BorderGen | 7d7fa9d9a72302e3836e5c9d556638009370d718 | f0ca5ec13ec21a5bb70faed118ac525c5b61702b | refs/heads/master | 2021-07-16T07:14:33.817142 | 2020-06-11T10:06:07 | 2020-06-11T10:06:07 | 175,133,493 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 809 | h | #pragma once
#include <opencv2\opencv.hpp>
using namespace std;
using namespace cv;
// CClosureDetDlg 对话框
class CClosureDetDlg : public CDialogEx
{
DECLARE_DYNAMIC(CClosureDetDlg)
public:
CClosureDetDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CClosureDetDlg();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = ID... | [
"philous@163.com"
] | philous@163.com |
6e92622216710e1a5917261c8daace1f6f9838de | be04d41cc516caec667467787a238e1463b815eb | /src/py/wrapper_b1580b6f5457571a867a2347d7b1f865.cpp | 72548ee8b932fde1b82a00264b253bc6ca6d84e3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nikhilkalige/ClangLite | 9f0db6088dee83f89996d4c01da9979c39b3862c | dcb6d7385cca25c0a888bb56ae3ec1eb951cd752 | refs/heads/master | 2020-04-21T23:48:28.409657 | 2019-02-20T08:14:21 | 2019-02-20T08:14:21 | 169,958,200 | 0 | 0 | Apache-2.0 | 2019-02-10T08:37:14 | 2019-02-10T08:37:14 | null | UTF-8 | C++ | false | false | 1,342 | cpp | #include "_clanglite.h"
bool (::clang::FileID::*method_pointer_a2de043c5e1b5973bd96085e9ca023a7)()const= &::clang::FileID::isValid;
bool (::clang::FileID::*method_pointer_8bf8694510d856cf9efe8860ebb4a64f)()const= &::clang::FileID::isInvalid;
class ::clang::FileID (*method_pointer_aab4faec1936510eb177541ad22621a6)()... | [
"pfernique@gmail.com"
] | pfernique@gmail.com |
672b3aea545f807138cbafb94d0205c016eab6a1 | 444a6f3fb2c9d9dc042ffd54838bc3dc172ec531 | /src/include/units/physical/si/electric_charge.h | 1bdc153b26fcef4ffd43530d72c625c06a2cfbe8 | [
"MIT"
] | permissive | rtobar/units | ef5a86bdb73c896eac92698d9a8386e11c6dfe48 | 5dd9eaac87a50adc62b170987ebac2d1344d63c5 | refs/heads/master | 2022-09-11T17:37:57.868428 | 2020-05-24T20:49:53 | 2020-05-24T20:49:53 | 266,679,421 | 1 | 0 | MIT | 2020-05-25T04:03:18 | 2020-05-25T04:03:18 | null | UTF-8 | C++ | false | false | 1,913 | h | // The MIT License (MIT)
//
// Copyright (c) 2018 Mateusz Pusz
//
// 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 rights
// to use, co... | [
"mateusz.pusz@gmail.com"
] | mateusz.pusz@gmail.com |
fe6353ff743799cdd644a9c1cc6f39cbb5e0fbbe | 3326db8648ecd23fabebbdece3a0db662b409664 | /Codeforces/Educational Round 49/A.cpp | 906f0790418872d43d80038d480cb14e4b4c5038 | [] | no_license | fazlerahmanejazi/Competitive-Programming | 96b9e934a72a978a9cae69ae50dd02ee84b6ca87 | 796021cdc7196d84976ee7c9e565c9e7feefce09 | refs/heads/master | 2021-11-10T08:23:31.128762 | 2019-12-24T22:11:12 | 2019-12-24T22:11:12 | 117,171,389 | 3 | 1 | null | 2021-10-30T20:31:10 | 2018-01-12T00:39:16 | C++ | UTF-8 | C++ | false | false | 976 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define inf 0x3f3f3f3f
#define INF 1000111000111000111LL
#define mod 1000000007
#define pi acos(-1.0)
#define eps 1e-8
#define endl '\n'
#define mp make_pair
#define mt make_tuple
#define pb push_back
#define fi first
#define se second
#define all(cc) (cc).b... | [
"ahmed.belal98@gmail.com"
] | ahmed.belal98@gmail.com |
5b20e8122fad1449a590077b796fe76ce3aa6b28 | d3f69957671777e6a8b2b12e87c80a85068109c5 | /sfz/sfz.cpp | 70c21fad999e002f1e71403fc66b450cdb6a55c1 | [] | no_license | lilslsls/sfz | 0e1afa246d88ae78b90f153d8d4b10f62e36151e | 2012d5a6146fc82dad586e8b68674d3370e9eb70 | refs/heads/master | 2021-01-24T18:06:26.916234 | 2017-03-08T05:40:33 | 2017-03-08T05:40:33 | 84,396,277 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,992 | cpp |
//--------------------------------------【程序说明】------------------------------------------ -
//程序说明:《OpenCV3编程入门》OpenC3版书本配套示例程序70
//程序描述:查找并绘制轮廓综合示例
//开发测试所用操作系统: Windows 7 64bit
//开发测试所用IDE版本:Visual Studio 2010
//开发测试所用OpenCV版本: 3.0 beta
//2014年11月 Created by @浅墨_毛星云
//2014年12月 Revised by @浅墨_毛星云
//-------------------... | [
"李爽@DESKTOP-R1CM8GA"
] | 李爽@DESKTOP-R1CM8GA |
116a5e0a1205c2e5317e100651c1acfd4541c6f1 | 458414e3ea47a784759a7e2c3c37c97b098baf14 | /main/cppsrc/MyQRectF.cpp | 66ec483538152f44ae3508626cbc51eebd591f53 | [] | no_license | blazern/kovtun-method | 24fab1eee4a027cc2cde66ea6c238963f828d647 | e1d027d445b66c924262c6dea4e676863b3c4775 | refs/heads/master | 2021-01-15T23:07:28.913847 | 2014-02-28T16:41:31 | 2014-02-28T16:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | #include "MyQRectF.h"
#include <QDebug>
namespace KovtunMethod
{
MyQRectF::MyQRectF(const MyQRectF & other) :
QRectF(other),
name(other.name),
neighbors(other.neighbors),
color(other.color),
colorInitialized(other.colorInitialized),
parentsGravityCenter(copy(other.parentsGravityCenter)),
g... | [
"blazer007@yandex.ru"
] | blazer007@yandex.ru |
3492f9ffeace7cc3ccc67a09fce32a5fa7307373 | 8535f518a05f5267671cc3547048c42278e2e6af | /Vehicle.cpp | f500fa42b62b06d15f257818f337110aca1f92e8 | [] | no_license | cgprats/COP3503_Lab01 | 7163c58251958aed81d127e6573e9505571dbc7e | ccb62d9dd77a88d7f7d14067e41bb3a08186eb2e | refs/heads/master | 2022-12-15T22:40:05.952068 | 2020-03-30T22:54:13 | 2020-03-30T22:54:13 | 297,393,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include "Vehicle.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
Vehicle::Vehicle() {
_make = "COP3503";
_model = "Rust Bucket";
_year = 1900;
_price = 0;
_mileage = 0;
/*this->make = _make;
this->model = _model;
this->year = _year;
this->price = _price;
this->mileage = _milea... | [
"christopher@noreply.example.com"
] | christopher@noreply.example.com |
3b089921a49480a1e3e52cfe0a9ad5b213540f2b | 4d803e91a03b7e45b46274c8ab06f21fc27b995b | /lab07/lab07.cpp | 2c1667f31b8131cd61303e50958ecd8070aacf13 | [] | no_license | faisal07m/mp | a2218916566502a251821050dcc207a5eaa4d4cd | e6f3153cabeb450d9658ea3ec9feda8f6dcf3c10 | refs/heads/master | 2020-04-08T04:21:48.864140 | 2020-02-16T22:31:47 | 2020-02-16T22:31:47 | 159,013,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp |
/* n = 3000, threads = 40 time in seconds
-------------------------------------------------------------------------------------------------------------------------------------------
Chunk | Default | 2 | 8 | 32 | 128 | Single Thread (default Chunk)
Static (Gau... | [
"faisalm@ln-0002.cm.cluster"
] | faisalm@ln-0002.cm.cluster |
4aca26ae8468dc3f191cf9ea0d1ab3e426166e0c | 5e3e50634c2cac6f85ff4f8c9ae385a62d2886d0 | /white/equation/main.cpp | b47578e60797c0fef547b404c75f2b6c5a84abb3 | [] | no_license | asek-ll/cpp-belt | 642ffe84c932c6684a5e355eacac68f580351a44 | 86d010c1421ab093d56e3c7a688181d883401662 | refs/heads/master | 2023-04-07T18:36:13.330862 | 2023-04-03T19:49:18 | 2023-04-03T19:49:18 | 205,446,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
double a, b, c;
cin >> a >> b >> c;
if (a == 0.0) {
if (b != 0.0) {
cout << -c/b;
}
} else {
double d = b*b - 4 * a * c;
if (d == 0.0) {
cout << (-b / (2 * a));
} i... | [
"sopplet@gmail.com"
] | sopplet@gmail.com |
2da06283e4a66d38bc3e37bd49a43ef923b642ce | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8304/Butko_Artem/lab6/SOURCE/Game/GameField/Field/Field.cpp | a545d111977075529f275ae55c9016314d1b5cfa | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 16,198 | cpp | //
// Created by Artem Butko on 14/05/2020.
//
#include "Field.h"
Field::Field(int height, int width, int numberOfPlayers)
{
this->height = height;
this->width = width;
this->objCount = 0;
this->objLimit = width * height;
this->numberOfPlayers = numberOfPlayers;
basesOnField.resize(numberOfPla... | [
"artembutko2000@yandex.com"
] | artembutko2000@yandex.com |
33cbc75e975bd1ede1c5a115f0101891ed826b37 | 9506a40845f40f9f79e20ac87191c5b0d1ef6d7c | /contests/round655/c.cpp | cefcce5dafe3cbd246d6f1f51539eddc27613891 | [] | no_license | anish-rajan/Cp-algos | 9ab16374a154fe9598a49405d1a2b3bf10013320 | 9bcb7264769536cc4ff877a3b6d2f156fddee50a | refs/heads/master | 2022-12-14T09:44:31.960833 | 2020-09-10T12:01:14 | 2020-09-10T12:01:14 | 265,180,210 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,774 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define mp make_pair
#define v vector
#define inp_push(no, v) \
ll no; \
cin >> no; \
v.push_back(no);
#define pb push_back
#define fi first
#define se second
#define ALL... | [
"anishrajan2000@gmail.com"
] | anishrajan2000@gmail.com |
1fdf60a2b2b78e50b221564b50e78b92718126b7 | d657d42eba1a5cf80f39719859cb6944e28f0aa0 | /Exercícios Aulas Práticas Resolvidos/Exercicios Vetores Saul Delabrida/17.cpp | eebd45409570c0eba188a3e3be99658a787fae8a | [] | no_license | fonte-nele/BCC201-Introducao-Programacao | ef6b700f2caea2806d57901d9eace1fac85d29a5 | 18383ae82b49595c25add46bfa2e8fcef83afdf1 | refs/heads/master | 2020-06-08T16:17:37.457370 | 2019-06-22T17:29:53 | 2019-06-22T17:29:53 | 193,261,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include <iostream>
using namespace std;
int main()
{
int i;
int v[50]; v[1]=v[0]=1;
for (i=2; i< 50; i++)
{
v[i] = v[i-1] + v[i-2];
}
cout<<"A serie de Fibonacci eh:\n";
for (i=0; i<50; i++)
{
cout << v[i] <<endl;
}
return 0;
}
| [
"felipephontinelly@hotmail.com"
] | felipephontinelly@hotmail.com |
0cb062b229fe2902e6297e4832ca5cd6ebc8223e | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /edas/include/alibabacloud/edas/model/ListServiceGroupsRequest.h | fd25bd1901d2f7fcf3db366d4a6659692128b2ff | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,212 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
67a969aa49492048d27fbc99bacc714227a8619c | 80d2e21257efa70c9bdb88589a9a013a82367f7c | /Fraudulent Activity Notifications.cpp | 79326013a26c09b932578bbe6820dfbed7826756 | [] | no_license | saiful130104/Hackerrank | bd7c299296642a10d85f52edd0db5f99f25149b7 | 7e4537a3df89b42586e13423e849eaed4419db0f | refs/heads/master | 2020-05-18T19:33:36.109240 | 2019-08-22T05:45:02 | 2019-08-22T05:45:02 | 184,610,884 | 0 | 1 | null | 2020-04-10T20:50:39 | 2019-05-02T16:01:10 | C++ | UTF-8 | C++ | false | false | 1,385 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n,day;
cin>>n>>day;
int cnt[202] , ara[n+2];
memset(cnt,0,sizeof(cnt));
int sum = 0;
for(int i=1; i<=day; i++)
{
cin>>ara[i];
cnt[ara[i]]++;
}
for(int i=day+1; i<=n; i++)
{
cin>>ara[i];
... | [
"isaifulislam123@yahoo.com"
] | isaifulislam123@yahoo.com |
80d6498db105251b6c16dbffc11e9135f25ff81c | acae90de027aff37db6edd18cdae5a602e57dd2f | /chapter7_01/calc_info.cpp | 013c6d612efefeb5419d711822045b19df698856 | [] | no_license | koo-mingi/C-chapter7- | a0f78964dcee9d18dfe7c96a72f0e6ef9d6753d9 | a44b29bbb53a8a72c31c838b5f63b912c31143a6 | refs/heads/master | 2022-09-27T08:45:46.673871 | 2020-06-05T03:39:36 | 2020-06-05T03:39:36 | 269,523,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | #include "weightmanage.h"
void weight::calc_info(char *irum, int gender)
{
// 배열에 값을 담을려면 strcpy_s를 사용. "="는 못 씀.
// strcpy_s(배열,포인터);
strcpy_s(customer_irum, irum);
strcpy_s(customer_irum, irum);
this->gender = gender;
}
void weight::calc_stweight(int h, int w)
{
customer_height = h;
customer_weight = w;
... | [
"ekzmfldks295@gmail.com"
] | ekzmfldks295@gmail.com |
2d0dff031a598a3f8d4b3832c7565a959911bfc9 | d29633365ed7e99dfd6413bb126a9cb5d6edd832 | /SolidSphere.h | ad799515fbda5936485255e9d35e2082ad7e136d | [] | no_license | benjaminjoo/3D-Software-Rasterizer | 440e8ff9148fc1427b9ca48de66a34096b1d19ad | a0acba3ec00ac4b4020f9fb3bd9fe54c58cda692 | refs/heads/master | 2020-07-31T15:24:20.276260 | 2020-04-13T23:16:30 | 2020-04-13T23:16:30 | 210,650,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include "Definitions.h"
#include "SolidBody.h"
class SolidSphere: public SolidBody
{
float radius = 0.5f;
float radiusSquared = 0.25f;
int resol = 12;
public:
SolidSphere();
SolidSphere(float, float, float, Uint32);
SolidSphere(float, float, float, float, float, float, float, float, ... | [
"benjamin.joo.sd@gmail.com"
] | benjamin.joo.sd@gmail.com |
4f6e20fb67e641a3362ca6ca6cf42c329e745ffc | a8fe43a526965f4ff272eec6baaacb931ee98e80 | /tests/strings.cpp | eff76a1519a43f5702ca7daa3a32811f9992f9ff | [
"MIT"
] | permissive | matusnovak/wrenbind17 | 39b50de9d3fa01724d9c031e70ea23cca3386f53 | 4ae1512bbc7b7ce89e50f7979471a1076643b798 | refs/heads/master | 2023-06-25T03:12:45.094594 | 2023-05-07T16:32:26 | 2023-05-07T16:32:26 | 188,119,425 | 62 | 7 | MIT | 2023-06-14T14:44:17 | 2019-05-22T22:00:01 | C++ | UTF-8 | C++ | false | false | 987 | cpp | #include <catch2/catch.hpp>
#include <wrenbind17/wrenbind17.hpp>
namespace wren = wrenbind17;
TEST_CASE("Char strings as array") {
const std::string code = R"(
class Main {
static main(arg) {
return arg
}
}
)";
wren::VM vm;
vm.runFromSource("... | [
"email@matusnovak.com"
] | email@matusnovak.com |
47ef14e6431fd96c303f2e6623a3bd47aa2d5b03 | 74ac82edc17b8b9a026d23f669bdbaf9ddb8c9a0 | /projects/lib/LC3/LC3MachineFunctionInfo.cpp | 1386241e5fe8d1fb9169ed1c614ef943b8c2cc23 | [] | no_license | FeifeiWang7/ECE566 | f53022680f315aba991748b7e15711afde971605 | 31305c20ad4fcd8fb2f528b5c12a7ef86f9072a4 | refs/heads/master | 2021-01-23T09:27:17.177952 | 2015-09-16T01:47:17 | 2015-09-16T01:47:17 | 27,697,803 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | //===-- LC3MachineFunctionInfo.cpp - LC3 Machine Function Info --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------------... | [
"fwang12@ncsu.edu"
] | fwang12@ncsu.edu |
e11e3cc9d88766e78dd7f578463636119016474b | 19e3050d541b895728d1abf2488d54a9d07862c1 | /Emu installer/SynthesisDrive/include/wpilibc/athena/include/VictorSP.h | d971fdb93b091ef139ddb6594d876c11c483d622 | [
"Apache-2.0"
] | permissive | colins8/synthesis | fd22490ce244139fb91037472d6153dc1257f7f2 | 6f1a34d583c88492f988ed664b278c466de466bf | refs/heads/master | 2020-03-17T00:43:03.302610 | 2018-05-10T03:38:21 | 2018-05-10T03:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2017 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"choquerlauren@gmail.com"
] | choquerlauren@gmail.com |
22dfa14883ee8f747dafc1797175a9d206f7c7eb | 21022df6d610b7dcdda8ee5d67c21bda0a7706c8 | /C++/insertion_sort.cpp | 7fa999fbafac69735e79b5796957483cfd332cd9 | [] | no_license | EdPom/practicing_algorithm | f28417b2686d052f76c9fc161837b25799980283 | c06e88c22ac2f7257b5e87844bd930456e14e0bc | refs/heads/master | 2021-01-22T05:43:10.592854 | 2012-03-03T05:32:30 | 2012-03-03T05:32:30 | 2,901,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | // Name : Insertion Sort
// Dependency : vector
// Requirement : operator > defined for members in vvector
#include <iostream>
#include <vector>
using namespace std;
template <class T>
void insertion_sort(vector<T>& array){
if(array.size() < 2){
return;
}
for(int i = 1; i < array.size();... | [
"shiveringpen@gmail.com"
] | shiveringpen@gmail.com |
c47cf3333123b3ae84d4216395335b37cc603b99 | 5cace7eef01377e4b661a3fa269e7b882e89a57f | /2DGameEngine/src/rendering/textures/animations/AnimatedTexturedModel.cpp | 7f666577f406f8d10180604a2e91141737afd32c | [
"Apache-2.0"
] | permissive | pbeaulieu26/2DGameEngine | c1d9c864aa5c0f38b368afe84bf8b3c743f13162 | 898a7d92d91cd77b51bf71245e78dcc33e344bc5 | refs/heads/master | 2022-04-03T19:44:05.613892 | 2020-02-16T18:24:10 | 2020-02-16T18:24:10 | 185,702,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | #include "pch.h"
#include "AnimatedTexturedModel.h"
| [
"mathieu.favreau@usherbrooke.ca"
] | mathieu.favreau@usherbrooke.ca |
e5c657bf9568b89e3d9fef6567b8d99098b952db | 6d241b3146ecb542bc0cc469777c2175e2a341e5 | /344A.cpp | f7eec66a7d471be3d28685f7a7acd1ae01e0c5ee | [] | no_license | jagadeeshnelaturu/codeforces_solutions | d0a84f4c6e3ce94b6c8ee48b5139e4b5352eb902 | 9e058517d86d05b4770bfa1a4b2269edf796acac | refs/heads/master | 2020-05-17T16:24:01.504974 | 2015-09-09T17:35:15 | 2015-09-09T17:35:15 | 42,130,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include <iostream>
int main() {
int n;
std::cin >> n;
char left, right, rightmost = '$'; // dummy value of rightmost
int numGroups = 0;
for(int i = 0; i < n; ++i) {
std::cin >> left >> right;
if((i == 0) || (left == rightmost)) {
++numGroups;
rightmost = right;
}
}
std::cout << n... | [
"jagadeesh@nsl-43.cse.iitb.ac.in"
] | jagadeesh@nsl-43.cse.iitb.ac.in |
309de37b210572748aff16b34feac15eaa889611 | b835e8841d4a6edab02d5d198e8874ae88218b0c | /firmware/CFunDCMotor/CFunDCMotor.cpp | d346828f6ca237ac4130406901720a5c1a74cd3a | [] | no_license | syjsu/scratch_master_flash | d97d5660fd74e937a38a3b47677025433f34dec5 | 989c9add3df9598a318cc1803d2f5b3effc5408f | refs/heads/master | 2020-03-17T13:39:55.182256 | 2016-11-09T03:14:40 | 2016-11-09T03:14:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | cpp | #include "CFunDCMotor.h"
CFunDCMotor::CFunDCMotor(): CFunPort(0)
{
}
CFunDCMotor::CFunDCMotor(uint8_t port): CFunPort(port)
{
}
void CFunDCMotor::motorrun(uint8_t d,uint8_t s)
{
if(d == 1) {
CFunPort::aWrite1(s);
CFunPort::dWrite3(HIGH);
} else {
CFunPort::aWrite1(s);
CFunPort:... | [
"xuhaiyang88@163.com"
] | xuhaiyang88@163.com |
18b2982fe15e226f50e1865a427b9d508c1a0387 | fc9e460e3ed8f0ec0c7ff8b390660c8f964109c6 | /firstrepo/lab-03-composite-and-strategy-pattern-2mememachines/sub.cpp | 03512832399be976b9aa7e23885e8ab0febcac88 | [] | no_license | jterr005/firstrepo | acee6819e67281a402f7080390728c0ce217f25d | 3c7193466a54e9272b74118ad1dc4d36fa622823 | refs/heads/master | 2021-09-08T04:29:29.010204 | 2018-03-07T01:30:51 | 2018-03-07T01:30:51 | 105,844,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include "sub.h"
using namespace std;
Sub::Sub(Base* left, Base* right) {
this->left = left;
this->right = right;
}
double Sub::evaluate() {
double LS = left->evaluate();
double RS = right->evaluate();
return (LS - RS);
}
| [
"jterr005@hammer.cs.ucr.edu"
] | jterr005@hammer.cs.ucr.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.