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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0939099f22983eec9bdb906a77ba87c63617fce4 | 24beba4601a61283f5910dceb0af66f5fc66a97d | /dgp2018-exercise11/implicit_fairing/viewer.h | 8632341394364d69c83f43ec118bb9f2cc6bbf9b | [] | no_license | aaarne/epfl-geometry | fe70a1c019fa7804ad606b6eb2aaed33577f5452 | 01ed95bbeba33ff1e8f06f394e6f7edeb1e4f2b4 | refs/heads/master | 2020-05-27T09:25:12.872867 | 2019-01-07T17:59:42 | 2019-01-07T17:59:42 | 188,564,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,317 | h | //=============================================================================
//
// Code framework for the lecture
//
// "Digital 3D Geometry Processing"
//
// Gaspard Zoss, Alexandru Ichim
//
// Copyright (C) 2016 by Computer Graphics and Geometry Laboratory,
// EPF Lausanne
//
//--------------------... | [
"arne.sachtler@gmail.com"
] | arne.sachtler@gmail.com |
de5470fc0f8750d9fc99a4132f662b46659aa528 | 11348e739dee821e4bdd6ec0e4c6c041a01b0b59 | /kk/1694. 艾露达一号.cpp | 041ef2f3458a487231ef57db1d0cdc1d80bf09cd | [] | no_license | Spartan859/Noip_Code | 580b1f022ca4b8bf3e77ff8d57d230340715a98d | 8efe9e7cc6f29cd864b9570944932f50115c3089 | refs/heads/master | 2022-11-18T15:09:19.500944 | 2020-07-11T13:36:21 | 2020-07-11T13:36:21 | 163,517,575 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,664 | cpp | #include<bits/stdc++.h>
#define ll long long
#define MOD 1000000007
#define N 100005
#define M 4
#define tot 1
using namespace std;
template <typename T> inline void read(T& x) {
int f = 0, c = getchar(); x = 0;
while (!isdigit(c)) f |= c == '-', c = getchar();
while (isdigit(c)) x = x * 10 + c - 48, c = g... | [
"36628376+Spartan859@users.noreply.github.com"
] | 36628376+Spartan859@users.noreply.github.com |
197c1aef0af43c1ab46b2cac4a90180361b51557 | c552e4caf87b824466fa298cdddd2c495eb5ae50 | /CF/technocup2017/f.cpp | a4c21855c383c11ae8a2137015df3a5ff49e1232 | [] | no_license | BufferNihility/acm-icpc | d2dffc535061f0f2a5bedda4f53533634d14347f | e7261bdf35fe390e32872d89eb54f4a4835feb0f | refs/heads/master | 2022-02-22T03:54:57.445377 | 2019-10-08T11:09:17 | 2019-10-08T11:09:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | #include <bits/stdc++.h>
typedef long long ll;
const int N = 800;
const ll inf = 1e18;
ll dp[N][N];
ll a[N];
int main() {
int n, m; scanf("%d%d", &n, &m);
for(int i = 0; i < n; i++) scanf("%I64d", a + i);
for(int i = n - 1; i >= 0; i--) {
for(int j = 0; j <= n - i; j++) {
dp[i][j] = s... | [
"fengdalu@gmail.com"
] | fengdalu@gmail.com |
3cef9f00816f61557de19d44a3300c97f03373a6 | d3373d3be0dfe66ea2ba6aff81602ec2403237ee | /ParallelComputing/Files.cpp | 18ef9f2bc01887d61530c2c84d961c4415efe488 | [] | no_license | via96/ParallelComputing | 58e56355a13478ee34c2dc39289b040d6f1a618d | 5f9254438b133b275f60686dc37e7c21c70251d6 | refs/heads/master | 2021-01-11T00:20:43.968494 | 2017-01-03T12:42:25 | 2017-01-03T12:42:25 | 69,174,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | #include "iostream"
#include <string>
#include <boost/filesystem.hpp>
#include <map>
#include "Files.h"
using namespace std;
Files::Files()
{
}
Files::~Files()
{
}
map<char, pair<int, int>> Files::LoadFiles()
{
int curSize;
//FILE* file;
int offset = 0;
map<char, pair<int, int>> input;
boost::filesystem::dire... | [
"via96@mail.ru"
] | via96@mail.ru |
34a7dba20cd57ee0101dcd4ef545a0f07a5ac53a | e0a144918cc14518ede4a9d0e50d5e01b58e7116 | /produit.h | 9015791205805ae8639e4ec573865079084059df | [] | no_license | naouelboughattas/Smart_Shop_2A17 | e8f1901487ff2767790eaa76ec873010f956b90d | 222e23fee85373f4db1ed60b4daea2d19537543d | refs/heads/master | 2023-04-14T06:58:40.080880 | 2021-05-10T05:36:16 | 2021-05-10T05:36:16 | 345,676,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | #ifndef PRODUIT_H
#define PRODUIT_H
#include <QString>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QDateTime>
#include "qcustomplot.h"
class Produit
{
public:
Produit();
Produit(int,QString,QString,int);
int getid_P();
QString getnom_P();
QString gettype();
int getprix();
void ... | [
"wael.ksila@esprit.tn"
] | wael.ksila@esprit.tn |
b3d0d474f392b5940a85334b3914dc8c473d7df3 | 37b30edf9f643225fdf697b11fd70f3531842d5f | /chrome/browser/sessions/session_service_base.cc | 120f7c88fbec447278a3aa6b2c41120759bd6ccc | [
"BSD-3-Clause"
] | permissive | pauladams8/chromium | 448a531f6db6015cd1f48e7d8bfcc4ec5243b775 | bc6d983842a7798f4508ae5fb17627d1ecd5f684 | refs/heads/main | 2023-08-05T11:01:20.812453 | 2021-09-17T16:13:54 | 2021-09-17T16:13:54 | 407,628,666 | 1 | 0 | BSD-3-Clause | 2021-09-17T17:35:31 | 2021-09-17T17:35:30 | null | UTF-8 | C++ | false | false | 26,547 | cc | // Copyright (c) 2021 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 "chrome/browser/sessions/session_service_base.h"
#include <stddef.h>
#include <set>
#include <utility>
#include <vector>
#include "base/bi... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
c8baa112a313076025bdf609d837dd1de6bcb43a | 18b09b20477d701f03f94710867232de47fbb54e | /Notes/Generate/clean.cpp | d07c5932ae07126a748bc6e2d4f69cb851bab70d | [] | no_license | abiisnn/Natural-Language-Processing | 1ff6ef487a7dda38be06b58fdc076ee6536c84b9 | 37f6abfcee2d56f84d8a490140a6dd6f9c7f8f6f | refs/heads/master | 2020-12-22T02:22:35.925397 | 2020-06-25T00:43:01 | 2020-06-25T00:43:01 | 236,639,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
string a;
long long int i = 0;
while(cin >> a, a[0] != '0') {
if(a[0] != '[') {
i++;
cout << a << " ";
}
if(i == 3) {
cout << endl;
i = 0;
}
}
} | [
"abigail.nic.say@hotmail.com"
] | abigail.nic.say@hotmail.com |
f7abbbffafd447b00263eb790b9960928270a90c | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Developer/GameplayDebugger/Public/GameplayDebuggerAddonBase.h | 49519a5088b771fee4cf1cf905439ee38099ed67 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 3,375 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameplayDebuggerTypes.h"
class AActor;
class AGameplayDebuggerCategoryReplicator;
class GAMEPLAYDEBUGGER_API FGameplayDebuggerAddonBase : public TSharedFromThis<FGameplayDebuggerAddonBase>
{
public:
virtua... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
3e7a1fdbfa8ef68a73a270e714ec7fc247b4682d | 10070c29394509cef4f5848becf3cd667fce7e9a | /Lec3_Decorator/include/SimplestLogger.hpp | 2b6786815d248398337e667df4c277d4f4baf493 | [] | no_license | somenkovnikita/Patterns | 8f1bad7b0564574a19b43a8cb2cb1a8800c38719 | d706515e86d9b75f0544b49f367c23acef195798 | refs/heads/master | 2021-01-12T05:55:58.901703 | 2017-01-15T21:08:14 | 2017-01-15T21:08:14 | 77,244,509 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 239 | hpp | /**
* @author Nikita Somenkov
* @email somenkov.nikita@icloud.com
* @date 29 Dec 2016
*/
#pragma once
#include "ILogger.hpp"
class SimplestLogger : public ILogger {
public:
void log(const std::string &log) override;
};
| [
"somenkov.nikita@icloud.com"
] | somenkov.nikita@icloud.com |
21eb1a3c5db8d97b03f481b29ff6805a6837db1d | efa1cddfa8b779306af6837552ca70cac99672b0 | /OldProjects/综合维修工作站/MainPro/ReceiveQueue.cpp | 47aad75f155e0760c95d58d4976ca868dc8ed60a | [] | no_license | lanicon/MyRepository | f21cee83a2fb97e730b1e324d807b51495f4d64e | 6f2e61343fccbaa7ad1f4213df5efc9eb6502c65 | refs/heads/master | 2023-03-14T05:01:01.114757 | 2021-02-26T03:17:01 | 2021-02-26T03:17:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,176 | cpp | // ReceiveQueue.cpp: implementation of the CReceiveQueue class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ReceiveQueue.h"
#include "MainFrm.h"
#include <process.h>
//////////////////////////////////////////////////////////////////////
// Construc... | [
"heng222_z@163.com"
] | heng222_z@163.com |
949ba3f9074efe36d82acc496c38ea66cd4daeaf | 473b7c27695225c5d9de0d23a11ef656523454c4 | /src/main.cpp | a82bceda7cf79ec588cc2e5cd9539a83c420d34d | [] | no_license | newjoker2/PacketSorter | b5eabf061d020fc97aec910eb27334bb6a7e1795 | 163f5ebc2a18057a3547225fb7543e125e8c1968 | refs/heads/master | 2022-03-31T08:23:16.364029 | 2020-01-17T20:48:35 | 2020-01-17T21:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,247 | cpp | /**
* TcpSorter application
* =========================
* This is an application that captures packets transmitted as part of TCP connections, organizes the packet and stores it in a way that is convenient for protocol analysis and debugging.
* This application reconstructs the TCP packets by order and stores e... | [
"rickyzhang@gmail.com"
] | rickyzhang@gmail.com |
9ba4fba18db2ce7b91d229a2d633ce05dbcdc2cf | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/linus/rinside/inst/examples/standard/local/rinside_vertica.cpp | 690db6dc94aba1629ed58e511ec631db281d9a4d | [
"GPL-1.0-or-later",
"GPL-2.0-only",
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 243 | cpp |
#include <RInside.h>
int main(int argc, char *argv[])
{
RInside R(argc, argv);
R["txt"] = "Hello, world!\n";
Rcpp::DataFrame pf; // <-------- Runs fine if I comment out this line.
R.parseEvalQ("cat(txt)");
exit(0);
}
| [
"linus.manubens@crg.eu"
] | linus.manubens@crg.eu |
9c98f798d7ebfbf7b75af30d02c7be934bee3fca | 627bf9169e006d377df33b39ad13a1a4caf5c8f7 | /C++/Bridges in a graph/main.cpp | 2c72623e45e90fc8614fab20ef8f7e4565c850dc | [
"MIT"
] | permissive | iamsuryakant/100-days-of-code | 82a33c5d0939ff940af445a00ac2f0a44111117c | eaf4863d98dc273f03a989fe87d010d201d91516 | refs/heads/master | 2023-06-26T15:25:42.866603 | 2021-07-16T16:42:53 | 2021-07-16T16:42:53 | 275,725,210 | 1 | 0 | MIT | 2020-12-13T04:28:11 | 2020-06-29T03:54:16 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,790 | cpp | // A C++ program to find bridges in a given undirected graph
#include<iostream>
#include <list>
#define NIL -1
using namespace std;
// A class that represents an undirected graph
class Graph
{
int V; // No. of vertices
list<int> *adj; // A dynamic array of adjacency lists
void bridgeUtil(int v, bool visited[], int ... | [
"suryakantthakur825@gmail.com"
] | suryakantthakur825@gmail.com |
aa22aa9a1f46715e45a458007afa92b2b7499816 | fcdd7cf40ec80b9e0a45aeab209207de33b813ed | /include/feature/harris.h | 6febc33cfb542ba5cf21aa32b3ec080670d2101a | [
"MIT"
] | permissive | niebayes/UZH-Robot-Perception | 0f564f229c795de8ef63bdfb3c47fae3ee85a53f | 6ec429537b45a6389c4f364d19661c8757087035 | refs/heads/master | 2022-12-16T06:06:53.042093 | 2020-09-11T10:19:21 | 2020-09-11T10:19:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,139 | h | #ifndef UZH_FEATURE_HARRIS_H_
#define UZH_FEATURE_HARRIS_H_
#include <cmath> // std::floor, std::max
#include "glog/logging.h"
#include "opencv2/core.hpp"
#include "opencv2/core/eigen.hpp"
namespace uzh {
//@brief Compute the Harris cornerness, i.e. Harris response for the image given
// patch_size and kappa.
//@p... | [
"niebayes@gmail.com"
] | niebayes@gmail.com |
8f7099b4693960173fd10c4711ce79d201b9bfc2 | 5acfa4ed9b21156883e0a5ff9bfad0584f847b9a | /src/Engine/Platform/sdl2/SDL2Thread.h | 4d7f0803edca921b9321733c7a5c4f2446fd5cec | [
"MIT"
] | permissive | NeroBurner/osre | 12438ca5eb00607a8f808e05d2148d78614bf782 | 20d3510222cebcfc5241fda3936eabef01cc969b | refs/heads/master | 2021-02-05T01:54:33.010197 | 2020-02-25T20:49:36 | 2020-02-25T20:49:36 | 243,730,193 | 0 | 0 | MIT | 2020-02-28T09:55:09 | 2020-02-28T09:55:08 | null | UTF-8 | C++ | false | false | 3,670 | h | /*-----------------------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2015-2019 OSRE ( Open Source Render Engine ) by Kim Kulling
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation f... | [
"kim.kulling@googlemail.com"
] | kim.kulling@googlemail.com |
e9ccd5fff19159dcd9a58f679892e3f02233622b | eadff1890a9490969d2b095034f8146b8b168c7c | /src/io/variant/vcf_spec.hpp | fe2697d49b2bdcf72d75b0b6275182a5c083a8cc | [
"MIT"
] | permissive | bjohnnyd/octopus | 34ad4a945e907111084108f03bd1a8a5f33c0e38 | fd981298a0591af0821ed8b8e04611c0cccec6dc | refs/heads/master | 2020-05-21T11:46:57.232257 | 2019-03-21T14:10:08 | 2019-03-21T14:10:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,412 | hpp | // Copyright (c) 2015-2019 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#ifndef vcf_spec_hpp
#define vcf_spec_hpp
#include <array>
#define VCF_SPEC_SEPERATOR constexpr char
#define VCF_SPEC_CONSTANT constexpr const char*
/**
The namespace vcfspec con... | [
"dcooke@well.ox.ac.uk"
] | dcooke@well.ox.ac.uk |
d96ab846d7b853f19685960d69d1f1e89d326972 | 1759159bb2204c47d4e696aa7255349cdffe0ae4 | /file_utils.cc | 41bf5aea35978fc50d6833e6b0da9ba6914a8366 | [] | no_license | roohy/parallel-hw2 | bd6cf59958756fea01becf3beaead037f5a93dfc | 68e05bd29806317b94c6ce3bd1cd448e97bbb121 | refs/heads/master | 2021-01-13T01:59:23.881576 | 2015-03-17T15:00:26 | 2015-03-17T15:00:26 | 32,405,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cc |
#include <stdio.h>
int compare_two_binary_files(const char *f1, const char *f2)
{
char ch1, ch2;
int flag = 0;
FILE *fp1 = fopen(f1, "r");
FILE *fp2 = fopen(f2, "r");
if (!fp1) {
printf("error opening file: %s\n", f1);
}
if (!fp2) {
printf("error opening file: %s\n", f2);
}
while (((ch1... | [
"rshemira@usc.edu"
] | rshemira@usc.edu |
496fa370f6f63d043bd7b9421919eaf7ba486345 | af5137272af8342c2f13b4de0ab0fe2788be4789 | /Table.h | 68db2d12397685d2ebb81eba3ef6848c29f34ce0 | [] | no_license | eliavhyehuda/StraightsCardGame | b9ac1a8f7174f3de9b79b51e778396a5f9ea8093 | 37d9cf848cb4d611667b87ef8b9c19ba1239c9c2 | refs/heads/master | 2020-05-30T03:04:52.775207 | 2015-03-09T07:25:24 | 2015-03-09T07:25:24 | 31,797,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | h | #ifndef __Straights_Program__Table__
#define __Straights_Program__Table__
#include "Card.h"
#include <vector>
#include <stdlib.h>
using namespace std;
void shuffle(vector <Card*>&);
class Table {
vector<Card*> Clubs; //Cards of each suit on the table
vector<Card*> Hearts;
vector<Card*... | [
"eyehuda@uwaterloo.ca"
] | eyehuda@uwaterloo.ca |
7ee5350b3a00dfb3cd3af5dfe11d6e49565a380e | d16985a72e39109c30b1e975007cc1cabe8a6ac8 | /Common/Packets/CGShopSpecialRepair.cpp | 8a436064e0d56b973ed16a6b38fd6a56e744a1dd | [] | no_license | uvbs/wx2Server | e878c3c5c27715a0a1044f6b3229960d36eff4b4 | 78a4b693ac018a4ae82e7919f6e29c97b92554ab | refs/heads/master | 2021-01-18T00:06:34.770227 | 2013-12-13T09:18:54 | 2013-12-13T09:18:54 | 43,288,843 | 2 | 3 | null | 2015-09-28T08:24:45 | 2015-09-28T08:24:44 | null | UTF-8 | C++ | false | false | 957 | cpp | // CGShopSpecialRepair.cpp
//
/////////////////////////////////////////////////////
#include "stdafx.h"
#include "CGShopSpecialRepair.h"
BOOL CGShopSpecialRepair::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_nBagIndex), sizeof(BYTE));
iStream.Read( (CHAR*)(&m_Opt), ... | [
"tangming032@outlook.com"
] | tangming032@outlook.com |
4b699509acb266e00c9933039739f0edadd2bf83 | 263a50fb4ca9be07a5b229ac80047f068721f459 | /chrome/browser/history/thumbnail_database.cc | a1b8e6b9f006b81d0136ed91692568228f99fa09 | [
"BSD-3-Clause"
] | permissive | talalbutt/clank | 8150b328294d0ac7406fa86e2d7f0b960098dc91 | d060a5fcce180009d2eb9257a809cfcb3515f997 | refs/heads/master | 2021-01-18T01:54:24.585184 | 2012-10-17T15:00:42 | 2012-10-17T15:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,320 | 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 "chrome/browser/history/thumbnail_database.h"
#include <algorithm>
#include <string>
#include "base/command_line.h"
#include "base/file_uti... | [
"plind@mips.com"
] | plind@mips.com |
d19336c895922b4227df976461fa054bafc004be | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/eigen3/src/doc/examples/Tutorial_ArrayClass_cwise_other.cpp | 12483f363fb656efe10c505a2d8b3a468421764f | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MPL-2.0",
"Minpack"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 455 | cpp | #include <Eigen/Dense>
#include <iostream>
int main()
{
Eigen::ArrayXf a = Eigen::ArrayXf::Random(5);
a *= 2;
std::cout << "a =" << std::endl
<< a << std::endl;
std::cout << "a.abs() =" << std::endl
<< a.abs() << std::endl;
std::cout << "a.abs().sqrt() =" << std::endl
<< a... | [
"jengelh@inai.de"
] | jengelh@inai.de |
5df732870faeddb13980641ca675fc82695efb9d | fd6c61dbc29d6c40d8e5a5d0dc2f1c9751e63814 | /lab2/labbb2.cpp | a0f59ca1ee971429087ca4c54af4a1a587a2aab4 | [] | no_license | TheAlexKing/labs | 08854886830fc8aec82d1f899d74c9dc1dd6ca2e | c2ca9a9e2f8eaee2e4101a64abedefa88c4fc927 | refs/heads/main | 2023-03-31T17:11:48.738808 | 2021-04-09T14:44:42 | 2021-04-09T14:44:42 | 346,959,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,203 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <ctime>
#include <cmath>
using namespace std;
void NewMemoryForMatr(double**& a, int n, int m)
{
a = new double* [n];
for (int i = 0; i < n; i++)
a[i] = new double[m];
}
void DelMatrMemory(double**& a, int n, int m)
{
for (int i = 0; i < n; i+... | [
"47478009+TheAlexKing@users.noreply.github.com"
] | 47478009+TheAlexKing@users.noreply.github.com |
8431e26a64ee1766aa7aaf47a9addc4f7bf16c24 | 87c648b4ce173cf631769984e85c981e77f7a483 | /MainFrm.cpp | beab709b5ab130dd1f6ad8e7e2e54c6cb62e2740 | [] | no_license | lizh0019/video-watermarking-2006 | 717c85a0bc3e10bcb1629d035414ad434732997a | 89c5eeea7006a518f8162a0170531df0030a3e13 | refs/heads/master | 2021-01-22T06:55:10.240343 | 2015-02-07T07:27:47 | 2015-02-07T07:27:47 | 30,448,849 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,739 | cpp | // MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "ÊÓÆµ±à½âÂëÆ÷.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
/... | [
"="
] | = |
bbff10b5edcef54f3378f1d2b103c25b94955ec5 | 8242d218808b8cc5734a27ec50dbf1a7a7a4987a | /Intermediate/Build/Win64/Netshoot/Development/Chaos/PBDAxialSpringConstraints.ispc.generated.dummy_sse4.h | 25d252e0d7f9d30016a1f47a3cd15bc921e973fb | [] | no_license | whyhhr/homework2 | a2e75b494a962eab4fb0a740f83dc8dc27f8f6ee | 9808107fcc983c998d8601920aba26f96762918c | refs/heads/main | 2023-08-29T08:14:39.581638 | 2021-10-22T16:47:11 | 2021-10-22T16:47:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | h | //
// F:\UE4Source\myproject\work2\Netshoot\Intermediate\Build\Win64\Netshoot\Development\Chaos\PBDAxialSpringConstraints.ispc.generated.dummy_sse4.h
// (Header automatically generated by the ispc compiler.)
// DO NOT EDIT THIS FILE.
//
#pragma once
#include <stdint.h>
#ifdef __cplusplus
namespace ispc { /* namespa... | [
"49893309+whyhhr@users.noreply.github.com"
] | 49893309+whyhhr@users.noreply.github.com |
9487a5491e8616a522e5c724cd9e4b55e94be04d | 69b3067f21c45db9fd16cf825cdab8edf46bd0b3 | /SDK-A13/usr/local/include/common_utilities/countrycodes.h | 9372a428a49de426afcc2c6b0145e46de733d6f0 | [] | no_license | c3pio-man/SDK_6.3.0 | 0d0b2bd3698bce00d82f64cdef3c06ac61b8f253 | cb54259cac9cf20154c75e2aa5385c19f9cb2979 | refs/heads/master | 2023-07-06T10:07:03.739396 | 2019-10-23T08:24:43 | 2019-10-23T08:24:43 | 185,983,208 | 0 | 1 | null | 2019-05-10T12:18:12 | 2019-05-10T12:18:12 | null | UTF-8 | C++ | false | false | 1,659 | h | #pragma once
#include <string>
#include <vector>
namespace pocketbook {
namespace utilities {
class CountryCodes
{
struct Metadata {
std::string fips;
std::string alpha_2;
std::string alpha_3;
std::string numeric_3;
};
enum class eCode {
kFips = 0,
kAlp... | [
"info@pocketbook-int.com"
] | info@pocketbook-int.com |
7b6189507fd61e7b27f2854fe853a3bbfafc5cbc | c00c12ac48d3a9c22634ab0940c69f5e98e6a067 | /GA3Team/GA3Team/Library/DrawFont.cpp | b1b2c06c131ddfec6e7b5c7a69d9e38235dfca56 | [] | no_license | GA3ProTeam/KcomGA3 | 4f889e004ca94c403c36ce4e449465f091aa2137 | 391ba09f5c59c1e83539e65460222fe5d9c64b6f | refs/heads/master | 2021-01-19T22:27:01.352980 | 2017-11-24T07:07:09 | 2017-11-24T07:07:09 | 88,816,596 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 12,403 | cpp | #include "..\\main.h"
//文字の解像度
#define FONT_SIZE 64
#define FONT_SHIFT 8
//コンストラクタ
CDrawFont::CDrawFont(CDirectXDeviec* direct_x_deviec, CDrawTexture* draw_texture)
{
//使用デバイス登録
m_pDrawTexture = draw_texture;
m_pDevice = direct_x_deviec->GetDevice();
m_pDeviceContext = direct_x_deviec->GetDeviceContext();
// フォン... | [
"h1201515024@hiratagakuen.onmicrosoft.com"
] | h1201515024@hiratagakuen.onmicrosoft.com |
06053af9dc1ffcdedb476b01384b195bcccfe5a9 | 59abad66e06665e3b58e8400bf94bb4b82adb87e | /FODRobot2015/src/Commands/driveAuto.cpp | 15274a420792025ab57febf944246e172ba853e4 | [] | no_license | thedarknebula/2015code | a15aeb29a4be0b1175abb16986bbf8c6b771c2e2 | 55b95eb5124fa495bb81d2c24b8738fbf49c3c6f | refs/heads/master | 2021-04-30T18:03:09.745992 | 2015-03-07T19:00:54 | 2015-03-07T19:00:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,819 | cpp | // RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the b... | [
"team2053tigertronics@gmail.com"
] | team2053tigertronics@gmail.com |
f604e458bdb5155988b50de53daff45521e7bd6d | 7bf479cf7c3c7e27d231f9499412a1e0fb0118ac | /Source/Minerva/Core/Layers/RasterLayerNetwork.cpp | da2d4f16fab4bf5ac43c336ca2dfb9fbd39f3417 | [] | no_license | gideonmay/minervagis | 9e14094b540ed6c2f67925d48d9e773ae18f433a | 67af33730487ff99b6596e094ec2b4e7ad381b3a | refs/heads/master | 2021-01-01T03:43:31.619537 | 2013-06-09T15:22:49 | 2013-06-09T15:22:49 | 56,125,378 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 19,179 | cpp |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007, Arizona State University
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
// Author: Perry L Miller IV
//
////////////////////////////////////////////////////////////... | [
"adamkubach@gmail.com"
] | adamkubach@gmail.com |
00d36dbb971dcd5f77e4e00279b2701d2ef91367 | ca6e9f87c781d72cecb18b6665832ea0d683ca6d | /expression/print.h | 35404d8da1129149758c55336b5cc62eddbcf752 | [] | no_license | aliefhooghe/meta_filter | a7a78706adf87cdb12af7065abb57efbde717983 | bbdf3b1ed86e2657c2f1ee2bf2fbcd8a5f64eda7 | refs/heads/master | 2022-12-22T22:06:03.870433 | 2020-10-05T18:59:07 | 2020-10-05T19:07:45 | 301,510,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | h | #ifndef PRINT_H_
#define PRINT_H_
#include "expression.h"
#include <ostream>
/*
* Print expression
*/
template <typename E>
struct print_impl;
template <typename E>
decltype(auto) print(const expression<E>& e, std::ostream& stream)
{
return print_impl<E>::print(e, stream);
}
template <typename Tag>
struct ... | [
"arthurliefh@orange.fr"
] | arthurliefh@orange.fr |
0edc5b7d69cbc2792749336ec14a57024e4aa5d6 | 27da5af59c0fcb6e60c8d391c28725ff1a893113 | /31_heap/31.5.1_merge_k_sorted_array.cpp | f6e625ab09d17f35400b56d34e5295bc91fd7041 | [] | no_license | Abhiroop25902/Apna-College-Cpp-Course | 8f5960179b0bcb5a339ffe7cc85ea870386e80f6 | 2c26fa8157aca9ca4dfa562ada917a5333cb5ee3 | refs/heads/master | 2023-06-30T14:18:06.244427 | 2021-08-10T17:35:45 | 2021-08-10T17:35:45 | 375,697,614 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
class Solution
{
public:
struct comparator
{
bool operator()(pair<int, int> a, pair<int, int> b)
{
return a.first > b.first;
}
};
vector<int> mergeKLists(vector<vector<int>> &arrays)
{
... | [
"abhiroop.m25902@gmail.com"
] | abhiroop.m25902@gmail.com |
f87176dbb3bbb06a30638700079f6815456b7a89 | b122925a68dd997c9a9bc208fd0f53e4baa113de | /build/iOS/Preview1/include/Uno.UX.UXConstructorAttribute.h | 0119ba641b563bef8139c7189dcb6e63da2bf767 | [] | no_license | samscislowicz/Lensy | e2ca1e5838176687299236bff23ef1f692a6504e | 69270bad64ee7e8884e322f8e9e481e314293d30 | refs/heads/master | 2021-01-25T01:03:05.456091 | 2017-06-23T23:29:30 | 2017-06-23T23:29:30 | 94,716,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | h | // This file was generated based on '/Users/Sam/Library/Application Support/Fusetools/Packages/UnoCore/1.0.11/source/uno/ux/attributes/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Attribute.h>
namespace g{namespace Uno{namespace UX{struct UXConstructorAttribute;}... | [
"samantha.scislowicz@gmail.com"
] | samantha.scislowicz@gmail.com |
1fac39d11f8c7f9bf10e4694b7b3ae4a0842ac58 | 2a650a488e33a95014be9e1f1492463d5e65becc | /src/cymoca/ast/walker.h | d34950f2051c52c50d3d212e892435c1d4a34ae0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | jgoppert/cymoca | cca31455f227b68759b6134f05630a544d61bad3 | 45a991f56a397a7fea3429eacad6f33dfbf5a6d4 | refs/heads/master | 2021-08-16T16:20:30.550467 | 2021-04-13T04:20:04 | 2021-04-13T04:20:04 | 125,452,540 | 7 | 1 | BSD-3-Clause | 2018-07-13T05:13:21 | 2018-03-16T02:27:45 | C++ | UTF-8 | C++ | false | false | 1,035 | h | #ifndef CYMOCA_AST_WALKER_H_
#define CYMOCA_AST_WALKER_H_
#include <iostream>
#include "../util.h"
#include "listener/listener.h"
#include "node.h"
namespace cymoca::ast {
class Walker {
public:
Walker(bool verbose = false) : m_verbose(verbose) {}
void walk(INode *tree, listener::Base &listener) {
assert(tr... | [
"james.goppert@gmail.com"
] | james.goppert@gmail.com |
028686268afe89670faca5201480a88a5e9ff378 | 9d7a8d3e8d5df680c32fa70c73ef7c2820986187 | /.history/D04/ex03/main_20210309162514.cpp | 553638cbf2f0ac5c284a65011ada716be5edc886 | [] | no_license | asleonova/cpp | dc2d606e361ffdfa2013953f68bd0da4530f34bc | adfaecc238cdb63053b34b106869d3185204d73a | refs/heads/master | 2023-04-06T19:27:21.725162 | 2021-04-13T19:18:00 | 2021-04-13T19:18:00 | 337,834,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,789 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"dbliss@oa-d1.msk.21-school.ru"
] | dbliss@oa-d1.msk.21-school.ru |
d239e9b835c8dbe9a121d8b08e3426c096fb01ee | 9a220bb04f3d2dd4f6e41c697e9a6cf2953c190e | /test/list_test.cc | 6fb115f29d873b2ec705c264fca7c7c3f1fda54b | [] | no_license | PoppinHans/memory_leaks_demo | 296f4980ea9e65be4d8785a585a140eb9c8998a8 | 340db34f9722bf5f2af8d83b25dc5a64734bd15b | refs/heads/master | 2021-05-18T15:52:50.047213 | 2021-02-21T10:04:55 | 2021-02-21T10:04:55 | 251,304,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cc | #include "gtest/gtest.h"
#include "two_pointer_list.h"
TEST(BasicListTest, ShouldDeleteList) {
List l;
l.Push(0);
l.Push(1);
l.Push(2);
}
TEST(BasicTwoPointerListTest, ShouldDeleteTwoPointerList) {
List *l = new TwoPointerList();
auto l1 = static_cast<TwoPointerList *>(l);
l1->Push(0);
l1->Push(1);
... | [
"hsji@thoughtworks.com"
] | hsji@thoughtworks.com |
0e8cd3f6c14631f265bb2c495303b9bf73bbbccc | 52c56ac3090eb7bef0b1ae0e310db95bf05bce4d | /incl/domain/airunit.h | 74bd3176dfeb674aed8c10fb6cceb61b6cae90ed | [
"Unlicense"
] | permissive | HexTools/one | ea6ce35d502728cdf6a2aa47ce2e6ddb2f73f7a2 | 87af3a4568bda72580accb4db9d4d12654df0293 | refs/heads/master | 2020-06-05T07:44:19.750921 | 2014-08-14T20:29:42 | 2014-08-14T20:29:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,621 | h | #if defined HEXTOOLSPLAY
#ifndef AIRUNIT_H
#define AIRUNIT_H
class Counter;
class AirUnit : public Counter
{
public:
static const unsigned int MAX_MODEL_LEN = 14;
static const unsigned short IN_AIR = 0x0001; // plane is flying
static const unsigned short ABORTED = 0x0002; // plane is aborted
static const unsig... | [
"moondt@gmail.com"
] | moondt@gmail.com |
ca98f99d63c6a8e313caa954de15b21a437e9521 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/StepRepr_HArray1OfPropertyDefinitionRepresentation.hxx | 70c9d7a13ea2bb1dc33a2a35d4ad80dfd6ad6a1d | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,599 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _StepRepr_HArray1OfPropertyDefinitionRepres... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
b95c3084224c90fba901969794f324480cf77726 | 4070d3b1630a0b21c75e1d541bbb1de6a8347e6c | /UFT/SDK/AssetRegistry_functions.cpp | c0409f368446e3458bac001f1e3e9f4fcb9bcb7b | [] | no_license | Game-Academy-of-Sciences/AimGods | fa13b4a5a2bcbbf809a4be9f4f756e581edcdf51 | 3f91c8c2ef03f32451a51e701bee3e86823a5982 | refs/heads/main | 2023-02-17T06:30:49.301528 | 2021-01-01T00:52:43 | 2021-01-01T00:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,671 | cpp | // Name: AimGods, Version: Beta 2
#include "../SDK.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------... | [
"douglorenzen@gmail.com"
] | douglorenzen@gmail.com |
bd8e8d30bf2fc1e551f8fbfdcab32cbd5abbab31 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13797/function13797_schedule_41/function13797_schedule_41.cpp | 40119c9286a02dd76be9c4ed5c52d5f431e5c17a | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function13797_schedule_41");
constant c0("c0", 512), c1("c1", 128), c2("c2", 1024);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"),... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
aff14f216abb31be89cea5460e9bf05bc3db267f | ed4e84b894ca1fae055857d62ec87397f1bfe1de | /src/MooLib/SourceInfo.h | 37f0ebef0ce90976f3b4f10d1f56d6b081486473 | [
"Unlicense"
] | permissive | homiedopie/MooLib | 1fec11ea32160d2c4b5e345862658877740a8d55 | 79e2bdc17e32437ac1a06d474995b01a7dc00f18 | refs/heads/master | 2020-03-23T01:59:46.080163 | 2014-12-26T17:07:09 | 2014-12-26T17:07:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | h | #pragma once
namespace ml {
struct SourceInfo;
extern SourceInfo empty_src_info;
struct SourceInfo
{
inline SourceInfo(const char* const File, const uint32_t Line, const char* const Function, const char* const Function_Signature)
: file_(File), line_(Line), function_(Function), function_signature_(Function_Signat... | [
"mootie@xor.net"
] | mootie@xor.net |
cc2d9bcea9dec47f9fbf7a76622f5e1927f766ee | 3624e9f0a026b57ebdafa4e842b93f56e5a8504d | /CodeChef/SNACKDOWN/17/Pre-Elimination A/C/C.cc | d4c328d7222318ef60a774cbeda3ed53ac2101b4 | [
"MIT"
] | permissive | ailyanlu1/Competitive-Programming-2 | 54109c8644d3ac02715dc4570916b212412c25c0 | 6c990656178fb0cd33354cbe5508164207012f24 | refs/heads/master | 2020-03-23T07:48:20.560283 | 2018-02-15T06:49:49 | 2018-02-15T06:49:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | cc | #include <bits/stdc++.h>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it)
#define _ ios_base::sync_with_stdi... | [
"adityapaliwal95@gmail.com"
] | adityapaliwal95@gmail.com |
51eefd205302a1efedb385945a3af5d6fc4d8de6 | e0c42bcb517fe41f6a91b875a3f2ff16ca81e961 | /src/ompl/control/planners/ltl/src/LTLProblemDefinition.cpp | af049e05c460e27b765b4916b49133eaeac9ee20 | [
"BSD-3-Clause"
] | permissive | Insightque/DesiredOrientationRRT | dc056345c2b49ebb18932f2f742c72d93577bdf1 | 2e7a3e7cbcd30d6d9fa5bf0b53998bc5d0bda248 | refs/heads/master | 2021-05-06T03:02:26.551329 | 2018-10-16T23:33:09 | 2018-10-16T23:33:09 | 114,783,551 | 2 | 2 | NOASSERTION | 2018-10-03T07:49:15 | 2017-12-19T15:49:27 | C++ | UTF-8 | C++ | false | false | 3,930 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Rice University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | [
"copina20@gmail.com"
] | copina20@gmail.com |
7c86cae5ac325f375ba8d2f7b92bc37dda816e8c | f69436b86d0e03a8bb81a76f97a6e949b8d369c0 | /graph/others/hamilton-path.cpp | 3903c02feecfadbe45c65df5a8bee25142e0dd3d | [
"MIT"
] | permissive | jffifa/algo-lib | bec3c8beaaa4901281aaabc8c7c63ef745249e2e | 4834958ff74a7ee7c8b137d708a3ef069e926e0e | refs/heads/master | 2021-01-18T13:59:52.821803 | 2014-02-12T14:35:25 | 2014-02-12T14:35:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | const int MAX = 500;
int N, M;
bool g[MAX][MAX];
int nxt[MAX];
bool vis[MAX];
int path[MAX];
//求hamilton路
//必须保证路存在,比如Bondy-Chvatal定理:若任意u,v有deg(u)+deg(v)>=N,则hamilton路一定存在
//特例为dirac定理
//n为点数,g为邻接矩阵,path为输出路径
void dirac(int n, bool g[][MAX], int path[]) {
memset(nxt, 255, sizeof(nxt));
memset(vis, 0, sizeof(vis));
... | [
"jffifa@gmail.com"
] | jffifa@gmail.com |
4948016c1b19ff2864fd58946d8e84065ce9413d | e2bc8d420b8fcc0d5f81e4b42b7a2916dd33778e | /steam_api/IniReader.cpp | 1ff4ec5f0f9364edebae20a65ae79924d53c9a42 | [] | no_license | charlie123/MeGusta2 | d8aea2c3c9df3bd2e14c0a266e5c2eadc0fa1c55 | ca6c6a101b50e0c2268ce5c59042456f379ae81f | refs/heads/master | 2020-05-18T11:21:44.652201 | 2012-03-31T11:59:50 | 2012-03-31T11:59:50 | 3,884,896 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | cpp | #include "stdafx.h"
#include "IniReader.h"
#include <iostream>
#include <Windows.h>
#pragma unmanaged
CIniReader::CIniReader(char* szFileName)
{
memset(m_szFileName, 0x00, 255);
memcpy(m_szFileName, szFileName, strlen(szFileName));
}
int CIniReader::ReadInteger(char* szSection, char* szKey, int iDefaultValue)
{
in... | [
"cristi126@yahoo.com"
] | cristi126@yahoo.com |
be05f903780397a7faaf08a1be97004ae421804b | 0243935e4502ce33f8c8012f61ab48aff2703897 | /TrabajoFinal/secdialog.cpp | f547502cf380e7a4704da033f3cd0b21a52efcef | [] | no_license | juanvm97/Arqui | 3ac695692ec32e45d6ab58b3f58968bb53c8a570 | 59ffb77eb0cfd0aada3a574830ba546bf00b5223 | refs/heads/master | 2020-12-03T06:34:39.205671 | 2017-06-28T18:42:30 | 2017-06-28T18:42:30 | 95,700,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | #include "secdialog.h"
#include "ui_secdialog.h"
#include <typeinfo>
#include <QDebug>
#include <iostream>
#include <map>
SecDialog::SecDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::SecDialog)
{
ui->setupUi(this);
}
SecDialog::~SecDialog()
{
delete ui;
}
void SecDia... | [
"juan.velasquez@ucsp.edu.pe"
] | juan.velasquez@ucsp.edu.pe |
94ec46d884f21da1c6bbbc16d0834c285eab6a78 | a943ab8fcd086f5e1f42d31521b542b28f014035 | /src/bLib/TimeoutException.h | 40debb89a1d69c695c14da580f7852c21bbf3128 | [] | no_license | javeme/bScript | 13e4804efd3df89a88a6ad133fc15298587398d4 | 75105dcafec80ab7c951850976a8d816422e0d7e | refs/heads/master | 2020-04-06T04:29:07.246373 | 2016-07-17T11:19:34 | 2016-07-17T11:19:34 | 71,037,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | #ifndef TimoutException_H_H
#define TimoutException_H_H
#include "RuntimeException.h"
namespace bluemei
{
class BLUEMEILIB_API TimeoutException : public RuntimeException
{
public:
TimeoutException(long long time);
virtual ~TimeoutException(void){};
public:
virtual String toString()const;
};
}//end of namespac... | [
"javaloveme@gmail.com"
] | javaloveme@gmail.com |
6d5b5cf5bc89feefef53cba5658b8a57deef1b6c | f368b12a5ba90420f1cb1f23e22182416515d93a | /src/compact.cpp | 5598b23972de8ab5ed619876a3cf2ac714f29c4e | [
"MIT"
] | permissive | m-fleury/cadical | 9a9dd0c395a4e484d94e956fa6462c09b02cc4d6 | a439820ee7da2eca652c202d624c13c1f9696ff5 | refs/heads/master | 2023-04-11T06:37:32.544083 | 2021-04-30T05:53:21 | 2021-04-30T05:53:21 | 260,680,365 | 0 | 0 | MIT | 2020-05-02T12:16:21 | 2020-05-02T12:16:21 | null | UTF-8 | C++ | false | false | 13,025 | cpp | #include "internal.hpp"
namespace CaDiCaL {
/*------------------------------------------------------------------------*/
// Compacting removes holes generated by inactive variables (fixed,
// eliminated, substituted or pure) by mapping active variables indices down
// to a contiguous interval of indices.
/*--------... | [
"biere@jku.at"
] | biere@jku.at |
54ac0de61464b8aae5eb4218c9d333837ed2b645 | ea449cfc2fd81888a4a3641d7038643d5292dc9b | /week-08/161212/161212-02.cpp | a85849803f1b821af1db2eb39cc5b0c078a6fc8c | [] | no_license | greenfox-zerda-sparta/medeaeva | 4cfddb2e47d35e11d73030e64dc484682bb8a8be | af505e518607243e7bceee246072942ded1fef8e | refs/heads/master | 2021-01-12T17:18:14.778707 | 2017-01-05T14:22:31 | 2017-01-05T14:22:31 | 71,544,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | // Create a constant using a prepocesor directive.
// Print it out to the console.
// Undefine it. And then redefine it with a new value.
// Print it out again.
#include <iostream>
#define MyConstant 100
using namespace std;
int main () {
cout << MyConstant << endl;
#undef MyConstant
#define MyConstant 200
co... | [
"ferencz.eva.medea@gmail.com"
] | ferencz.eva.medea@gmail.com |
2be8db5c3357101c2de7eb269a562ba547283a7a | 5729313ac93d66de9f10ebb1254e1bc28868c48d | /boj/not_classified/bj14681.cpp | e839d14f4ebba40499923f887157f25d95bbe300 | [] | no_license | DagonLee/Coding-Test | e6d3848a70ff09b5b36e6ea1e42b2fc65f68ed3f | 23d5df13de408af463c70564727a5dc174ce8448 | refs/heads/master | 2023-03-15T06:08:46.024843 | 2021-03-12T13:44:03 | 2021-03-12T13:44:03 | 291,209,789 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | #include <iostream>
using namespace std;
int main()
{
int x;
int y;
cin >> x >> y;
if(x < 0)
{
if(y < 0)
{
cout << 3;
}
else
{
cout << 2;
}
}
else
{
if(y < 0)
{
cout << 4;
}
else
{
cout << 1;
}
}
return 0;
}
| [
"leedagon624@gmail.com"
] | leedagon624@gmail.com |
aecf86777679b9d15023cc9d848e14b0c566aee0 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/browser/extensions/api_binding_perf_browsertest.cc | d542b4967677ee46f302a58607f49b4252f34d3b | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 4,242 | cc | // 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.
#include "base/time/time.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f5b6d44eae46b0b9cb17ea5f9fdf2751d1385218 | ab1712d65f8510a705a1f28064e4d3fc5a48cf64 | /SDK/SoT_BP_OutpostCrate_bld_shop_wood_box_01_a_classes.hpp | 9bf1c86423ced6fb0b968d926be2dca9fae8c6c9 | [] | no_license | zk2013/SoT-SDK | 577f4e26ba969c3fa21a9191a210afc116a11dba | 04eb22c1c31aaa4d5cf822b0a816786c99e3ea2f | refs/heads/master | 2020-05-29T20:06:57.165354 | 2019-05-29T16:46:51 | 2019-05-29T16:46:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_OutpostCrate_bld_shop_wood_box_01_a_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
7f9d8d093bd339c314e9200ce4c8242ba89ee35d | a8fcf366698ff0a46147938f7faebf7273c349f9 | /GRAPH/LPOAT.cpp | f8f4dfb5b1fe2a9df14e4d2eea0597c5242428bd | [] | no_license | Ngocngok/Data_advance | 5c3e1f848220e40ffcd7920ff392106447530bf5 | f19d65b596d984be768032faaf7fdb9d912d480b | refs/heads/main | 2023-02-19T12:53:21.241852 | 2021-01-14T17:15:28 | 2021-01-14T17:15:28 | 314,439,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MAX = 100000 + 10;
int N;
vector< pair<int, int> > X[MAX]; // store both edge and weight of the edge
char COLOR[MAX];
int MAXW;
int TMPW;
int ENDP;
void INPUT()
{
int tmp1, tmp2, w;
cin >> N;
for(int i = 1; i <= N-1; i++)
{
cin >> tmp1... | [
"hackerdaongbo@gmail.com"
] | hackerdaongbo@gmail.com |
415b9165042ca3215cab1f2c53bf3ec2f9764e55 | c169bb0c47bda4533545cd39021d8b818abc1d9c | /ZLMediaKit/src/Extension/H264Rtp.cpp | a729a1a3958392c229a6b41a400a21ad6379fe78 | [
"MIT"
] | permissive | Mocearan/coderespect | abdadfda9921cde1859012c4675b176adf1ef26d | eb8ed78ef300cf364774204fad369dbec679b961 | refs/heads/main | 2023-07-25T17:37:48.194566 | 2023-07-22T07:17:12 | 2023-07-22T07:17:12 | 286,682,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,820 | cpp | /*
* Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
*
* This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
*
* Use of this source code is governed by MIT license that can be found in the
* LICENSE file in the root of the source tree. All contributing project authors
... | [
"mazengrong1211@163.com"
] | mazengrong1211@163.com |
f8703f316770a5723758b4b9db8ec142e9b713e9 | 77f343d317c3aa15786bb07e057ac5a4c68e8b2c | /examples/rc433hq_emos_sockets_transmitter/rc433hq_emos_sockets_transmitter.ino | 87bf42413b3649d79e2b714de44cb2c1ea4ee1c7 | [] | no_license | martinjansa/rc433hq | 250c9adca52368a06bccdd3b0b7955526d4744de | 4dd52caec1085da5df13bdd8c021ec11878194e7 | refs/heads/master | 2020-03-07T06:52:39.858625 | 2018-04-03T22:31:49 | 2018-04-03T22:31:49 | 127,333,823 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,161 | ino | #line 2 "rc433hq_emos_sockets_transmitter.ino"
//#define DEBUG
#if defined(ARDUINO)
# include <rc433hq.h>
# include <rc433hq_emos.h>
#else
# include "../../rc433hq.h"
# include "../../rc433hq_emos.h"
#endif // defined(ARDUINO)
class Logger: public IRC433Logger {
private:
int logPin;
bool logPinStatus;
public:
... | [
"martin.jansa@seznam.cz"
] | martin.jansa@seznam.cz |
b04bc30a8d5c7b7a6fb62ab0f92b233edf958a37 | efd7adff589e37ca98d2e3eb245aaeb23f64496e | /src/plugins/texteditor/codeassist/completionassistprovider.h | 416f5c79086f4fb8f2a411dbe1d8a3ed3a641421 | [] | no_license | Andersbakken/CPlusPlus | 3cf03c28968243587fa1d4661e7e5a388e62eb43 | 400f0b8f19de1c3fc9b794228c7aeec2259fce81 | refs/heads/master | 2021-01-10T20:24:54.067140 | 2013-05-28T03:46:50 | 2013-05-28T03:46:50 | 9,491,173 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | h | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | [
"jhanssen@gmail.com"
] | jhanssen@gmail.com |
d77fbd84e5f94256bf8a18886005097926c0d169 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/math/tools/detail/polynomial_horner2_19.hpp | bf3d0850b03f1c8723d2d75bf4589706d7e49a05 | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 6,666 | hpp | // (C) Copyright John Maddock 2007.
// Use, modification and distribution are subject to 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)
//
// This file is machine generated, do not edit by hand
// Polynomial evaluation ... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
9b69431748bec4c2a4fbb5f09eed6850c7f47d5a | f3c66fd4a8439056eaf4435c5ef26257a210e678 | /ArduinoCode/Appliances.cpp | a069616588ced1d800e228ec81540f6f0b963060 | [] | no_license | ihayet/SmartHomeProject | cbcf09536095b50150641ccf9b0c35c46a513986 | a59de85b05ef99193ce83c6b6eb853f6d745d7ad | refs/heads/master | 2022-12-12T01:56:21.241643 | 2020-09-14T11:19:44 | 2020-09-14T11:19:44 | 295,353,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,147 | cpp | #include "Appliances.h"
#include "Data.h"
Appliances::Appliances(String n, int id, bool pControl, int button, int output, int dLower, int dUpper)
{
applianceName = n;
applianceID = id;
powerControl = pControl;
buttonInput = button;
outputPin = output;
pinMode(buttonInput, INPUT);
pinMode(outputPin, OU... | [
"ishrak_6@hotmail.com"
] | ishrak_6@hotmail.com |
d884e66aae4ad6b34b0b63f19fb22defc910ac82 | bbed308c9ee9b2123b691592419db011a35b9e5e | /src/merger/invisible.hpp | f6c42938615788909cd0d3e14644f2a8cf4b9f65 | [
"MIT"
] | permissive | nowar-fonts/Warcraft-Font-Merger | f42cec645c29ec8736a4f66ca04c0aa416c6ca6b | 7462fbab32afeb7bb94506aa88d899240d6066e9 | refs/heads/master | 2023-07-07T05:23:17.852003 | 2023-07-02T04:48:29 | 2023-07-02T04:48:29 | 161,875,032 | 455 | 38 | MIT | 2023-07-02T04:48:30 | 2018-12-15T05:58:34 | C | UTF-8 | C++ | false | false | 21,134 | hpp | #pragma once
#include <algorithm>
constexpr static int UnicodeInvisibleList[] = {
0x0000, // NULL
0x0001, // START OF HEADING
0x0002, // START OF TEXT
0x0003, // END OF TEXT
0x0004, // END OF TRANSMISSION
0x0005, // ENQUIRY
0x0006, // ACKNOWLEDGE
0x0007, // BELL
0x0008... | [
"c@cyano.cn"
] | c@cyano.cn |
456ca672ff93fa8908a202cd14c2094f68fd2b2e | 549a55c6f67eb0889030aaa1ea8747071a41cd74 | /src/main.cc | 675e51e34e13f1617a6e0637298af8bb00f0e898 | [] | no_license | Preetam/sdscpp | ee5a40e0e159d8a0dd4de6c58bb1db1d47b7bd1b | 765eb5337896af81c5fb71ba887583f5ac5f0b41 | refs/heads/master | 2021-01-13T03:17:50.369594 | 2016-12-29T05:42:13 | 2016-12-29T05:42:13 | 77,585,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | cc | #include <iostream>
#include "sds.h"
int main() {
auto foo = sdsnew("foo");
auto bar = sdsnew("bar");
if (sdscmp(bar, foo) < 0) {
std::cout << "less" << std::endl;
}
sdsfree(foo);
sdsfree(bar);
return 0;
}
| [
"pj@preet.am"
] | pj@preet.am |
ff4bd019c0d76ba6393d2add2084a00f054580ee | 40ac7b3467018a97781409785d1bbfb162ee462e | /libraries/BaseLib/src/framework/graphics/src/Material.cpp | 0bcb9fb26a4a808e619497521e03272e819bc59d | [] | no_license | aexol/AexolGL | 611c165f53cf3ad3ae9cd7106c18a8d61a6801ba | 7fcc93d43ad329ebddadabf6a5c18bac995b060a | refs/heads/master | 2020-03-21T05:40:06.912374 | 2018-06-21T13:23:19 | 2018-06-21T13:23:19 | 138,172,393 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,101 | cpp | //
// Material.cpp
// aexolGL
//
// Created by Kamil Matysiewicz on 26.07.2013.
// Copyright (c) 2013 Kamil Matysiewicz. All rights reserved.
//
#include <aex/Material.hpp>
#include <aex/TextureIncludes.hpp>
#include <aex/TextureManager.hpp>
namespace aex {
/*
*struct Material
*{
* vec3 color... | [
"mritke@gmail.com"
] | mritke@gmail.com |
4879367085780c340269559a4533630ee127834f | 63b6f4cf0ff68b27f6766646ecf86a54ebe0de96 | /UVA/Mathematics/Combinatorics/991.cpp | c1521448effeb5c459ada4c5d658307249f233db | [] | no_license | javarmgar/Competitive_Programming_Training_00 | f7589720f78884a7486480e2299c80b9244715dc | d3d40631ea6a5b1fb6d097656ca28e352ec2702f | refs/heads/master | 2023-01-21T14:02:08.829442 | 2020-06-07T18:13:21 | 2020-06-07T18:13:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include <bits/stdc++.h>
using namespace std;
#define SIZE 11
int a[SIZE];
void precalc(){
a[0] = 1;
for(int i = 1; i < SIZE; i++){
a[i] = (4*i - 2)*a[i - 1];
a[i] /= (i + 1);
}
}
int main(){
precalc();
int n;
bool flag = true;
while(cin >> n ){
if(flag) flag = false;
else cout <<"\n";
cout << a[n] <<... | [
"javarmgar@gmail.com"
] | javarmgar@gmail.com |
cb1d906d2f11e4265b5bcea7f8b910ae1c7d162a | 424d9d65e27cd204cc22e39da3a13710b163f4e7 | /ash/system/phonehub/phone_hub_view_ids.h | 2f0ffe59f8d7348ded0dc233eb48377f9f89387e | [
"BSD-3-Clause"
] | permissive | bigben0123/chromium | 7c5f4624ef2dacfaf010203b60f307d4b8e8e76d | 83d9cd5e98b65686d06368f18b4835adbab76d89 | refs/heads/master | 2023-01-10T11:02:26.202776 | 2020-10-30T09:47:16 | 2020-10-30T09:47:16 | 275,543,782 | 0 | 0 | BSD-3-Clause | 2020-10-30T09:47:18 | 2020-06-28T08:45:11 | null | UTF-8 | C++ | false | false | 1,309 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_PHONEHUB_PHONE_HUB_VIEW_IDS_H_
#define ASH_SYSTEM_PHONEHUB_PHONE_HUB_VIEW_IDS_H_
namespace ash {
// IDs used for the main views that ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7f45cfda1110bde9249f47b349dc43aec2f6013b | 1c0e3803c88c7a1de0354d131552a0fbd50dbf72 | /src/froebelGui/froebelShape.h | bb0cb2e7e174ac4fc949bbba551d98e6d50bc893 | [] | no_license | patriciogonzalezvivo/OFPlay | f9428c3fe34c9038e986ea2780e7bce969946a07 | 6a7a384e475f84aeea69f88ee8fc875a0f17b7dd | refs/heads/master | 2020-05-29T09:05:43.908779 | 2014-08-24T13:09:59 | 2014-08-24T13:09:59 | 6,993,256 | 12 | 0 | null | 2012-12-10T22:14:38 | 2012-12-04T02:40:52 | C++ | UTF-8 | C++ | false | false | 523 | h | //
// froebelShape.h
// OFPlay
//
// Created by Patricio Gonzalez Vivo on 12/2/12.
// http://www.patriciogonzalezvivo.com
//
#ifndef FROEBELSHAPE
#define FROEBELSHAPE
#include "ofMain.h"
#include "froebelColor.h"
class froebelShape : public ofPoint {
public:
froebelShape();
void setShape(in... | [
"patriciogonzalezvivo@gmail.com"
] | patriciogonzalezvivo@gmail.com |
ab1a697c0e41c9fefe60841576e1d79cf2ad9506 | 4830a53768b693504d8274b6f341933ffa5aae7a | /lab-program-footballclub/main.cpp | a5f6617e75162898999565a61035e069da7adeda | [] | no_license | acarney2020/gmit-course-cpp | 948cea82bf640800252cd55c48ef9c853eeb2952 | 583d0235893c319ab2c63f161f8708e5241703e1 | refs/heads/master | 2023-03-28T17:23:54.061244 | 2021-04-15T09:59:56 | 2021-04-15T09:59:56 | 314,531,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | #include <iostream>
using namespace std;
#include "football_club.h"
#include "player.h"
int main()
{
footballclub localclub("Oranmore", "Galway");
player playerdetails("Alan","Carney","Striker",872345);
cout <<"Club Name = " << localclub.getclubname()<< " District Name = "<< localclub.getdistrict(... | [
"AlanCarney@ecl.loc"
] | AlanCarney@ecl.loc |
aac40ac93d1934b8b9ae3e74b928032fb0614a4f | fa8065dcb0e24495f734f7f797aa50a94484dd8a | /gr5b/Syrota_Andrii/Arduino_Projects/Arduino/sinus/sinus.ino | 8e459fed5d61c09dd7c495f95548ada88c213ac1 | [] | no_license | Stribulevych/electronics | 5d6a15dcc8fef686eb61a7a235a5c11926ce6d3c | 27674c1fbaf7c1789246f75b58a8608d8529cc14 | refs/heads/master | 2023-01-06T03:25:29.256965 | 2020-11-02T02:11:55 | 2020-11-02T02:11:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | ino | void setup() {
// put your setup code here, to run once:
pinMode(3,OUTPUT);
}
void loop() {
for(int i=0; i<266; i++){
analogWrite(3,i);
delay(1);
}
// put your main code here, to run repeatedly:
for(int k=255; k>0; k--){
analogWrite(3,k);
delay(1);
}
}
| [
"andrii.syrota@gmail.com"
] | andrii.syrota@gmail.com |
1de0697bc6cb6f65253162d54f6267e3cc20abc5 | 1a4f8c01b142be5646cbde9355ca1116c7d1e47f | /Monster.h | f1f9f91fd3af9801a2e33928a3d63d3e578021b2 | [] | no_license | Lmq2002/roguelike | 15343de6ef3f0370a8507ae5d3d9f92f90467e16 | ec3c7e1b41d4f780e202890e191fc0a79fabe260 | refs/heads/main | 2023-06-03T12:31:07.676775 | 2021-06-22T11:48:05 | 2021-06-22T11:48:05 | 363,574,777 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,693 | h | #pragma once
#ifndef _Monster_H_
#define _Monster_H_
#include "Characters.h"
#include "Player.h"
//#include "Bullets.h"
#include "BulletBase.h"
class BulletBase;
class Player; //先从怪物只包含人物,改为互相包含
class BulletGun;
class Monster :public Characters {
public:
//Monster();
//~Monster();
//CREATE_FUNC(Monster);
//virtu... | [
"2316961613@qq.com"
] | 2316961613@qq.com |
33a23a6ce5ecaecfb8259f8bded4d65e2b5634ff | 4c08ad610f94d52810fd6b561f59ae7310a7e386 | /LUA_Interpreter/bin/Debug/include/llvm/Attributes.h | da6188b1a8eae693100f0157f445771db5528acd | [] | no_license | avatar13/LUA_Interpreter | edd3b82d324164829ecb18282a7b8b792a670170 | 3493430c76ad7f7620c42d6d089ff6cca76d31b8 | refs/heads/master | 2021-01-15T19:40:16.017844 | 2012-01-19T07:17:30 | 2012-01-19T07:17:30 | 2,767,329 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,421 | h | //===-- llvm/Attributes.h - Container for Attributes ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"avatar130891@rambler.ru"
] | avatar130891@rambler.ru |
ad8f3946805e687b1a5d046f016c9ebd6c98d4c6 | 47399959940129f40eca8c4a7d22c86203b40338 | /BOJ/5086.cpp | a6bcec905255bf30822a2f52fe72b0c6f1bde589 | [] | no_license | minsuu/Competitive-Programming | 9451c9dba175bf065768a6c5281cf3018f23a72e | 852deb7b54c149636cb3e9ed1bc3749f4d12f794 | refs/heads/master | 2020-04-06T07:03:03.478793 | 2016-10-31T12:04:21 | 2016-10-31T12:04:21 | 37,377,814 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include <bits/stdc++.h>
using namespace std;
int A,B;
int main(){
while(1){
cin>>A>>B;
if(A==0 && B==0) break;
if(A==0 || B==0){
cout<<"neither\n";
continue;
}
if(A%B==0) cout<<"multiple\n";
else if(B%A==0) cout<<"factor\n";
... | [
"ps_ir@naver.com"
] | ps_ir@naver.com |
d75983fcc9884865c0ffb63f446e74fbf4d31510 | ba99077bcefee6b45d392c18ec9b1c8764564128 | /刷题/洛谷刷题/模拟/P1015回文数.cpp | cc0520f458210a7f78a6eb0dcd36c867d9b355cc | [] | no_license | Chicaogo/WinCode | 5f1c25b84f0714029a118d64509891f222a8e5b8 | b35b9a4137fa69f516d361826a0ac35844490a90 | refs/heads/master | 2021-06-30T19:06:41.067956 | 2019-06-04T13:51:13 | 2019-06-04T13:51:13 | 149,734,100 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,518 | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn = 105;
char txt[20] = "0123456789ABCDEF";
int n;
string m;
bool fuck(string a)
{
string s = a;
reverse(s.begin(),s.end());
return s == a;
}
string addddd(int k, string b) { //高精度加法过程,推广到 k 进制
string a = b;
reverse(a.begin(), a.end());
... | [
"chicago01@qq.com"
] | chicago01@qq.com |
431d4113cc1c09e267ef1366b0ec187103747d03 | c7979f4f6435fe8d0d07fff7a430da55e3592aed | /APC001/test.cpp | ba794d3c9b6f8c73970a2850dd80431f4fb29a71 | [] | no_license | banboooo044/AtCoder | cee87d40bb98abafde19017f4f4e2f984544b9f8 | 7541d521cf0da848ecb5eb10ffea7d75a44cbbb6 | refs/heads/master | 2020-04-14T11:35:24.977457 | 2019-09-17T03:20:27 | 2019-09-17T03:20:27 | 163,818,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | #include <bits/stdc++.h>
#define REP(i,n) for (long i=0;i<(n);i++)
#define FOR(i,a,b) for (long i=(a);i<(b);i++)
#define RREP(i,n) for(long i=n;i>=0;i--)
#define RFOR(i,a,b) for(long i=(a);i>(b);i--)
#define dump1d_arr(array) REP(i,array.size()) cerr << #array << "[" << (i) << "] ==> " << (array[i]) << endl;
#define du... | [
"touhoucrisis7@gmail.com"
] | touhoucrisis7@gmail.com |
c0ee9c25baad7286ee3d7c5a9a9a40bda8e2ed37 | 375fccaa7deeefaa392036e9c7e4c2be1b8cef44 | /source/octoon-hal/OpenGL 30/gl30_device_property.h | 5483511a12ce2b864c62399b3a2e4f47e2db28ab | [
"MIT"
] | permissive | naeioi/octoon | b98678df257e87da9fb27e56f0f209ff46cc126b | e32152fe4730fa609def41114613dbe067d31276 | refs/heads/master | 2020-07-09T05:33:15.019542 | 2019-08-22T11:34:54 | 2019-08-22T11:34:58 | 203,893,478 | 1 | 0 | MIT | 2019-08-23T00:22:11 | 2019-08-23T00:22:11 | null | UTF-8 | C++ | false | false | 666 | h | #ifndef OCTOON_GL30_DEVICE_PROPERTY_H_
#define OCTOON_GL30_DEVICE_PROPERTY_H_
#include "ogl_device_property.h"
namespace octoon
{
namespace hal
{
class GL30DeviceProperty final : public OGLDeviceProperty
{
public:
GL30DeviceProperty() noexcept;
~GL30DeviceProperty() noexcept;
bool initDeviceProperti... | [
"2221870259@qq.com"
] | 2221870259@qq.com |
4beff0d919aa23712a702715f5f98721a5eaba24 | d8e02c059a60955dba6d08fb95c535780764875a | /10828.cpp | 606a8a8795d2f9f815d7aa7be01dd307910e5239 | [] | no_license | inchency/bacjoonPractice | e6f93c2f26d01691b4bacd9b37913c347dbb12a0 | a4819b36705e47ceeca6a51d34b83140075fced3 | refs/heads/master | 2021-05-08T17:58:39.708499 | 2018-03-12T12:07:09 | 2018-03-12T12:07:09 | 119,496,323 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,607 | cpp | #include <iostream>
#include <string>
using namespace std;
class Stack {
private:
int *stack_ary;
int top;
int size;
public:
Stack(int size);
void stack_del();
void push(int data);
int pop();
void print_size();
void print_top();
int is_empty();
bool is_full();
};
// 스택 초기화
Stack::Stack(int size) {
stack_ar... | [
"donghon92@gmail.com"
] | donghon92@gmail.com |
68703d7a985dbc39490675bb9544e3d2e0f9b70b | 0a3a009fa93539a2b45b5642341f4cb0c5c62df5 | /Axis.Mint/foundation/definitions/OperatorAssociativity.hpp | 48c6cee1120c3b9295c36997d62f1a70c5cef37b | [
"MIT"
] | permissive | renato-yuzup/axis-fem | 5bdb610457013d78a9f62496d4a0ba5e68a5a966 | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | refs/heads/master | 2020-04-28T19:54:21.273024 | 2019-03-31T22:04:22 | 2019-03-31T22:04:22 | 175,526,004 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | hpp | #pragma once
#include "foundation/Axis.Mint.hpp"
namespace axis { namespace foundation { namespace definitions {
enum AXISMINT_API OperatorAssociativity
{
kLeftAssociativity,
kRightAssociativity,
kNone
};
} } } // namespace axis::foundation::definitions
| [
"renato@yuzu-project.com"
] | renato@yuzu-project.com |
74b161918708ac43108ccb3738dfa4c52e564eb0 | ad822f849322c5dcad78d609f28259031a96c98e | /SDK/Breadboard_Tier2_Starter_classes.h | b08d59984c8f47ef5f70ac5d77a0a78ad1ff29e6 | [] | no_license | zH4x-SDK/zAstroneer-SDK | 1cdc9c51b60be619202c0258a0dd66bf96898ac4 | 35047f506eaef251a161792fcd2ddd24fe446050 | refs/heads/main | 2023-07-24T08:20:55.346698 | 2021-08-27T13:33:33 | 2021-08-27T13:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | h | #pragma once
// Name: Astroneer-SDK, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Breadb... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
6b6758ffb449ccf6c15f91346fc35d45ba3ce49f | b88e5519b9a867ea079b416f3e929e21af9e4973 | /Project1/main.cpp | 59970a69d94a15a8c942b865fac4a14c17605602 | [] | no_license | nike4613/VulkanAppBase | 76e46db012ea306f6b896959738ff9e425335ac9 | 9c11cef1aa15c12e61afb426baf549981033b07a | refs/heads/master | 2021-05-15T21:11:53.643028 | 2017-10-09T23:55:06 | 2017-10-09T23:55:06 | 106,347,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include <iostream>
#include "libs.h"
#include "VkApplication.h"
int main() {
VkApplication app(1280, 720, ENGINE_FULL_NAME_STR + " Test", Version(1,0,0));
int exit = EXIT_SUCCESS;
try {
app.run();
}
catch (const ERROR_TYPE& e) {
std::cerr << e.what() << std::endl;
exit = EXIT_FAILURE;
}
return exit;
... | [
"aaron.cirr.com@gmail.com"
] | aaron.cirr.com@gmail.com |
30e6af64755ade25e6e68d0658c16a088576765a | f59b3d3efbbd71aef88047814a7beffc4646fdc1 | /DirectX11/Framework/Framework/Graphics/Resource/ShaderResourceView.cpp | a17cb4212a9d62ec620f34ed8f74b69968181965 | [] | no_license | matsumoto0112/DirectX11 | 561b637e858e298399b7b74499a450496a78cf41 | 6f53327e8032ddc109405bc61da1f00960cb464f | refs/heads/master | 2020-07-06T16:52:06.399324 | 2019-10-18T03:26:28 | 2019-10-18T03:26:28 | 203,082,443 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | cpp | #include "ShaderResourceView.h"
#include "Framework/Graphics/DX11InterfaceAccessor.h"
#include "Framework/Utility/Debug.h"
namespace Framework {
namespace Graphics {
ShaderResourceView::ShaderResourceView(std::shared_ptr<Texture2D> texture, const D3D11_SHADER_RESOURCE_VIEW_DESC* srvDesc) {
throwIfFailed(D... | [
"matsumoto.k017a1377@gmail.com"
] | matsumoto.k017a1377@gmail.com |
012c54b5863a82e984949da522b0db3b0b43f720 | d6a99890866cf1ec2347b4245af3f9b1a97da599 | /ksbengine(pc)/vec2.h | 74e67ddb2a2af09665b272918a8dab61b7c6ade6 | [] | no_license | karansb/ksbengine-pc- | 739f0c8f1d7c422ea7f9616191f5316e4c51cead | 099e14c104e7fa7655d1669364a700c4f82f0178 | refs/heads/master | 2020-05-21T16:24:02.981906 | 2016-09-15T18:36:58 | 2016-09-15T18:36:58 | 65,726,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include<iostream>
#include<sstream>
#include<string>
namespace ksbengine{namespace coreengine{
class vec2{
public:
float x, y;
public:
vec2(float,float);
vec2();
vec2 operator +(vec2);
vec2 operator -(vec2);
vec2 operator *(float);
vec2 operator /(float);
void operator =(vec2);
std::s... | [
"karan.sb@hotmail.com"
] | karan.sb@hotmail.com |
9faf31bd23faab207003ed7e1a46f384eda7f055 | 0c38fa5e06b6c1850d64a0e88bdcfc88174cda88 | /test/unit/core/util/thread_info_test.cc | 42c1ae23b61eea2cb20b866ff948169e6e088341 | [
"Apache-2.0"
] | permissive | BioDynaMo/biodynamo | 0e9628f190aa5c67465019741f3b95669d53498a | e2059f7a85cb53ae2a5d2f18d928e6f6fc7a2b16 | refs/heads/master | 2023-08-16T03:23:12.575810 | 2023-08-14T13:01:16 | 2023-08-14T13:01:16 | 51,521,851 | 87 | 60 | Apache-2.0 | 2023-07-24T13:07:03 | 2016-02-11T14:58:48 | C++ | UTF-8 | C++ | false | false | 2,697 | cc | // -----------------------------------------------------------------------------
//
// Copyright (C) 2021 CERN & University of Surrey for the benefit of the
// BioDynaMo collaboration. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | [
"lukas.johannes.breitwieser@cern.ch"
] | lukas.johannes.breitwieser@cern.ch |
f8b13c6f818a70ddf652e5d46b259d7d0c0c0f24 | 923a167b74d38785a89574b570d02f55dc550a0f | /1853444_崔鑫宇/项目源码/6_1853444_崔鑫宇/ConsoleApplication1.cpp | 156d4e4d422f9abefb75ba9ba21b3c598d45f5a7 | [] | no_license | cxy592394546/DataStructure | ca56113307bde38995757824b52a8de2bfacf9b7 | 473f2561460e4df56e8f6f90793a03d01258cca5 | refs/heads/main | 2023-01-11T01:07:14.746793 | 2020-10-27T12:24:09 | 2020-10-27T12:24:09 | 307,930,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | #include"GenealogyManagement.h"
#include<iostream>
#include<iomanip>
#include<string>
using namespace std;
//绘制菜单选项
void PrintOption() {
for (int i = 0; i < 96; i++) {
cout << '*';
}
cout << endl;
cout << "请输入你要进行的操作:A-完善家谱、B-添加家庭成员、C-解散局部家庭、D-更改家庭成员姓名、E-退出程序" << endl;
for (int i = 0; i < 96; i++) {
cout <<... | [
"cxy592394546@gmail.com"
] | cxy592394546@gmail.com |
524a4d6a6a4cd42967bfdd336823cbc957c316aa | 506fb21a3232b6ecd096225d3453022347ddbfc0 | /ui/message_center/notification.cc | c52cb95cc7ea6c3ada7bbecb2171cb30845fe4d5 | [
"BSD-3-Clause"
] | permissive | noscripter/cefode-chromium | 395c6f0d38e7251ed167dc30b920fe1498f94af1 | 03cb89c6f5811824757f35073f9eee883c317982 | refs/heads/master | 2020-12-11T09:04:28.073498 | 2013-03-22T01:51:11 | 2013-03-22T01:51:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cc | // Copyright (c) 2013 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 "ui/message_center/notification.h"
namespace message_center {
NotificationItem::NotificationItem(string16 title, string16 message)
: title... | [
"dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | dimich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
df8628cc2cf98e57535b0bcc6565cb3979515ef3 | 94fdcea0d415f0412a10d38c82ff203adcc01c1f | /WebClientRepeating1/WebClientRepeating1.ino | aafeba8dc81453bfbd803495bd4b158e6ab698a9 | [] | no_license | jcaf/ard | 40712869db30b7e55134cde6a55015f79d48f9fb | fe6773d2cd80354c372245404d295f8abc6a00f4 | refs/heads/master | 2020-06-13T03:41:04.299509 | 2016-12-03T15:58:15 | 2016-12-03T15:58:15 | 75,453,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | ino | /*
Repeating Web client
This sketch connects to a a web server and makes a request
using a Wiznet Ethernet shield. You can use the Arduino Ethernet shield, or
the Adafruit Ethernet shield, either one will work, as long as it's got
a Wiznet Ethernet module on board.
This example uses DNS, by assigning the ... | [
"firwar21@gmail.com"
] | firwar21@gmail.com |
aee6700f0e6d6bad279693bfa4b3eded58e1fed3 | 2471e75f11f0bc60372d900930941c239be60de4 | /source/libraries/ArduinoJson/src/ArduinoJson/Document/BasicJsonDocument.hpp | 72f08d0957451559b9761d38ef43a889492dcb83 | [
"MIT"
] | permissive | aavn/AirSniffer | ffc9d416608f3bb8780fcbb974409d630799f2d5 | 3e55f7c110378f5a512c361b9b8b7ce95ff99adf | refs/heads/master | 2021-07-03T19:49:45.268867 | 2020-08-19T08:06:28 | 2020-08-19T08:12:55 | 142,540,765 | 1 | 1 | MIT | 2020-08-20T03:08:46 | 2018-07-27T07:06:04 | C++ | UTF-8 | C++ | false | false | 2,236 | hpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2019
// MIT License
#pragma once
#include "JsonDocument.hpp"
namespace ARDUINOJSON_NAMESPACE {
template <typename TAllocator>
class AllocatorOwner {
protected:
AllocatorOwner() {}
AllocatorOwner(const AllocatorOwner& src) : _alloc... | [
"doanthuyan@gmail.com"
] | doanthuyan@gmail.com |
7e7bbb7fa7cefb3a78582b14f72fe27afde2015c | 993410990bcc8aa6e428a5c233d5a03b9635271b | /Programa7/main.cpp | 3638ed48a5bc7e3e2a406ea854d388e25a393c72 | [] | no_license | juan436/MVC-CPLUSPLUS | 8fab306feefd9f281dd31eed2b3212046c506f43 | 577ed5b58de172f8130ae132c54dff3bf6f8cb94 | refs/heads/master | 2020-08-03T03:07:18.501986 | 2019-09-27T18:48:15 | 2019-09-27T18:48:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include "Controlador.cpp"
#include <iostream>
using namespace std;
int main(){
Controlador Panky;
cout<<"\tBIENVENIDO AL BANCO PANCRATZIANO"<<endl;
Panky.ProcesarCuenta();
return 0;
}
| [
"ortegalaura180999@gmail.com"
] | ortegalaura180999@gmail.com |
9d67e5a626177c8697e7758412e44a1962208448 | 61b591e96fd61e6b2ae7df5aabcc3d79ba983e91 | /postfork.h | 741e6369cc2322df3ac1506fcfb5a295aa3692e3 | [] | no_license | xymostech/fish-shell | 5e43bf3972758a241c81180139aaad8ed40d10cd | fa820abe8309ec7f22eee4d85401b3024787bd1e | refs/heads/master | 2020-12-30T17:32:46.243393 | 2012-07-06T08:41:07 | 2012-07-06T08:41:07 | 4,921,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,188 | h | /** \file postfork.h
Functions that we may safely call after fork(), of which there are very few. In particular we cannot allocate memory, since we're insane enough to call fork from a multithreaded process.
*/
#ifndef FISH_POSTFORK_H
#define FISH_POSTFORK_H
#include <wchar.h>
#include <signal.h>
#include <unistd.h... | [
"corydoras@ridiculousfish.com"
] | corydoras@ridiculousfish.com |
80ec968275371c106795cf0a5563744fad81c5a1 | fc49fac4b519afcf544253f91e9a99aa430ec327 | /sd_practice/sd_practice.ino | ff776e40ec947f67f08e94570a47773e3cdc8954 | [] | no_license | dhaead/Navigation-algorithm-- | d29c35d19dcffea9404b4beb250780265a2a23cf | 776e92d76a45fe2f70188b67d3d49278ae504a82 | refs/heads/master | 2021-01-01T19:02:18.394563 | 2015-08-09T05:50:41 | 2015-08-09T05:50:41 | 39,804,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | ino | #include <SD.h>
#include <SPI.h>
//SPI Settings
//int MOSI=51;//DI pin 51 2560
//int MISO=50; //D0 pin 50 mega 2560
//int SCLK=52; //sd card clock goes to pin 52 set by default
int CS_pin=53;
//int pow_pin=8;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
Serial.println("Initializin... | [
"damion@hawaii.edu"
] | damion@hawaii.edu |
76ce4d1c2888280d86f70e76a771b4a04e9469ca | 1a7574ab447c4a12f9b93e6bf4783914f3ed6706 | /WickedEngine/wiImageEffects.h | f1028014fd93f9964ab770b5527ea9c26c2f0a00 | [
"MIT",
"Zlib"
] | permissive | cappah/WickedEngine | dfa9aecd7820129ff10f9cfb9d90e368eac53349 | bf92cbda40a6ac514428a3af43764536d333fdf2 | refs/heads/master | 2021-01-12T15:05:44.637974 | 2016-10-22T11:38:23 | 2016-10-22T11:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,873 | h | #pragma once
#include "CommonInclude.h"
#include "wiGraphicsAPI.h"
enum BLENDMODE{
BLENDMODE_OPAQUE,
BLENDMODE_ALPHA,
BLENDMODE_ADDITIVE,
BLENDMODE_MAX,
};
enum SAMPLEMODE{
SAMPLEMODE_CLAMP,
SAMPLEMODE_WRAP,
SAMPLEMODE_MIRROR,
};
enum QUALITY{
QUALITY_NEAREST,
QUALITY_BILINEAR,
QUALITY_ANISOTROPIC,
};
enum I... | [
"turanszkij@gmail.com"
] | turanszkij@gmail.com |
d0366fd26221aaf5334e2c33a0279e4a9f1102e0 | d9341c02b8b3c854b44959adac51d9a9238ce24c | /TP3/drivers/Ecran.cpp | 39b85fc5f87b35076d7950e020675e907dfc84e0 | [] | no_license | aicyp/IMT-SysExploitation | 2bcf8e1284c31c25f5f994bc10f3b2a117033889 | a4ce5f9803d5cb8f7991502e33f27bcdb87791e6 | refs/heads/master | 2022-07-18T07:28:21.827546 | 2020-05-13T07:39:27 | 2020-05-13T07:39:27 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 5,589 | cpp | #include "Ecran.h"
// Ici nous allons manipuler un tableau ecran dont on fixe l'origine au début de la zone mémoire video.
volatile caseEcran* Ecran::origine = (volatile caseEcran*)VIDEO;
unsigned char Ecran::coderCouleur(Couleur c) {
unsigned char r;
switch(c){
case NOIR:
r = 0;
break;
case GRIS_SOMBRE:
r... | [
"axel.hpm.coudray@gmail.com"
] | axel.hpm.coudray@gmail.com |
bbb08ec47eaeb3468d322405c3603681fbea0ef1 | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/ServiceModel/management/FaultAnalysisService/FASResource.cpp | 7aa68fdf508941b7b16fa526cc53ff2e4f20f379 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 431 | cpp | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
ab7db9329c6f93ba16a0de5df47a4c834623ef04 | 86c02e6e90c3df298008ad4034d746ddc77442fe | /player/src/main/cpp/common/CallBackJava.h | 3e9d85f91e80f391948adf808164febcddac25d1 | [] | no_license | huozhenpeng/re_study_av | 00f5e4ec0443d53dec05ae339842cb1f616a3543 | 847f7433966b3f9d83c57cea3a3047b13546f22e | refs/heads/master | 2020-11-28T00:07:26.327521 | 2020-01-07T10:46:07 | 2020-01-07T10:46:07 | 229,655,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | h | //
// Created by 霍振鹏 on 2019-12-24.
//
#ifndef RESTUDYAV_CALLBACKJAVA_H
#define RESTUDYAV_CALLBACKJAVA_H
#include <jni.h>
#include <string>
#define MAIN_THREAD 1
#define CHILD_THREAD 0
class CallBackJava {
public:
JavaVM *javaVm=NULL;
JNIEnv *jniEnv=NULL;
jobject instance=NULL;
jmethodID jmd=NULL... | [
"huozhenpengdyx@gmail.com"
] | huozhenpengdyx@gmail.com |
bf995870d5656fed91687aa2b681e52557ed7d8e | a8da266ea5401b960851860d91def23baf15aff0 | /Application.cpp | 2ce8e85f8d6af826b306552e40a77491c70e477a | [] | no_license | AlvinAggrey/Sem-2-FGGC | 711cfc10aab9722e2758703970fd7fb76cff9c73 | 1d5cbde02739e22be2930b3b006fc6fac83b330b | refs/heads/main | 2023-07-02T16:19:54.494471 | 2021-08-09T14:21:06 | 2021-08-09T14:21:06 | 353,175,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,260 | cpp | #include "Application.h"
#include "AI.h"
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
PAINTSTRUCT ps;
HDC hdc;
switch (message)
{
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
retur... | [
"alvinaggrey@gmail.com"
] | alvinaggrey@gmail.com |
53339662663a8b75aeadb23d1f9d4d22091d12e5 | c86e0f5862b9a188693f1e97a30fb9deefb234ec | /src/ArduinoFirmware/RoverFirmware/RoverControlModel.h | ce5e0b7e854f81a820f21b815f73f0046ab44f8b | [] | no_license | gordon13/CranSEDSRover | 23c0e99b54715577e76081e082f475a88a18000d | 4b83e430d48fe05661c78fa4a872525babfdb7fa | refs/heads/master | 2020-03-19T01:55:47.239675 | 2018-07-01T05:18:32 | 2018-07-01T05:18:32 | 135,584,025 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,354 | h | #pragma once
#include "Constants.h"
/*
Rover model elements
*/
struct S_DriveMotor {
int targetSpeed;
int direction;
float accelerationIncrement;
// used by the driver
int pin_ina;
int pin_inb;
int pin_enable;
int getCurrentSpeed()
{
return currentSpeed;
}
void incrementSpeed(int value)
{
currentSp... | [
"paullehenaff@msn.com"
] | paullehenaff@msn.com |
632f739b70ec1cbee73776730336e52a13daa582 | 8eb7121fd08836a2016e91e7a755fa1f61fbe790 | /mokomes/mesh.cpp | c9e5b6ccf780a09b4cfaebc72d48e8f6b0e1fba4 | [] | no_license | Humsas/planes-battle-server | 72f8e003c3b45df4564cfb35eca3b36827ebc493 | 232adda5a71d2b3fdf84598dd98c38eb92600e8d | refs/heads/master | 2016-09-13T22:17:16.829547 | 2013-06-02T18:56:55 | 2013-06-02T18:56:55 | 57,382,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,988 | cpp | #include "mesh.h"
#include "console.h"
extern Console gCons;
Mesh::~Mesh()
{
meshList *L;
while(MESH)
{
L = MESH;
MESH= MESH->next;
L->mesh.mesh->Release();
//delete[] L->mesh.d3dxMaterials;
delete[] L->mesh.meshMaterials;
delete[] L->mesh.meshTextures;
delete[] L->mesh.bounds;
L... | [
"dariusbespalovas@users.noreply.github.com"
] | dariusbespalovas@users.noreply.github.com |
58ee1c49b3eae10745628b8b5f97a7e4354bd07c | 7c7bee2e7d82216c9dcb16adefc88450f36f4f08 | /demo/PlayerDemo.cpp | 45383850b4d648ba9149985bcf757964ed15ccd1 | [] | no_license | Naphtaline/lagrangian-point | 07e8d1514dc5bf3944ead1a38bce19dd908e002c | 5c420442bd9972a59509355cb66176a77abd55f2 | refs/heads/master | 2021-01-14T14:23:26.904832 | 2016-05-26T10:05:53 | 2016-05-26T10:05:53 | 59,771,174 | 0 | 0 | null | 2016-05-26T17:50:08 | 2016-05-26T17:50:08 | null | UTF-8 | C++ | false | false | 1,662 | cpp | //
// PlayerDemo.cpp
// LagrangianPoint
//
// Created by Xiaxing SHI on 07/05/16.
// Copyright © 2016 Dimgai. All rights reserved.
//
#include "PlayerDemo.hpp"
#include <complex>
PlayerDemo::PlayerDemo(float radius, physics::Vector velocity)
: sf::CircleShape(radius), physics::Rigidbody(), forceValue(5.0f) {
... | [
"starsasumi@gmail.com"
] | starsasumi@gmail.com |
a973a834e6bc18e66a893e3904d49206de2d01a6 | 287219ddcdc57bb29baf4a1f3959c7b1b37fc558 | /Errand.h | 20b0b516b5664c1f6e9f1da89af14cd95f76e7af | [] | no_license | gelvinp/simple-calendar | e45f8624389fd00f82dfcd327b25ccc00cdc907f | 75c81380702abe850e8c7f1e9d50c0dcfb06f32a | refs/heads/master | 2023-04-18T11:08:58.941213 | 2021-05-03T21:30:27 | 2021-05-03T21:30:27 | 363,749,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | h | /*
Author: Patrick Gelvin
Date: April 10th, 2021
*/
#pragma once
#ifndef _APPOINTMENT_H
#define _APPOINTMENT_H
#include <string>
#include <optional>
#include <iostream>
#include "Time24.h"
class Reminder {
std::string text;
public:
Reminder(const std::string&);
virtual ~Reminder() = default;
vi... | [
"61520531+gelvinp@users.noreply.github.com"
] | 61520531+gelvinp@users.noreply.github.com |
a137251f01cc1d6c7a3771df2ec8eaf4e9f5b651 | d1cee40adee73afdbce5b3582bbe4761b595c4e1 | /back/RtmpLivePushSDK/boost/boost/container/detail/config_begin.hpp | fae6d4bd573062705d96e8e8c85d89ef87835089 | [
"BSL-1.0"
] | permissive | RickyJun/live_plugin | de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb | e4472570eac0d9f388ccac6ee513935488d9577e | refs/heads/master | 2023-05-08T01:49:52.951207 | 2021-05-30T14:09:38 | 2021-05-30T14:09:38 | 345,919,594 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,147 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/contain... | [
"wenwenjun@weeget.cn"
] | wenwenjun@weeget.cn |
26c8f39cc0d84b71d0a9dfeda63a3866c1e3f729 | 3e1681991b304fc007b75bb7d870f96a65e1ac28 | /C++/test224.cpp | f02e45fb0bdb1ecbc41fb9aa60651f65801609c9 | [] | no_license | naveenls/Competitive-Coding | 8306d7e04f27ad91cd6956cceea2bae83c8ad33a | f59189a5d9e7ffa505a4bb8d3560d66b35be5aca | refs/heads/main | 2023-03-21T14:56:06.206429 | 2021-03-17T18:34:16 | 2021-03-17T18:34:16 | 340,908,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
string arr[n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
}
for(int i=1;i<n-1;i++)
{
for(int j=1;j<n;j++)
{
if(arr[i][j]=='.' && arr[i+1][j]=='.' && arr[i-1][j]=='.' && arr[i][j-1]=='.' && arr[i][j+1]=='.')
{
arr[i][j]='#';
... | [
"naveenrocks62@gamil.com"
] | naveenrocks62@gamil.com |
85f74b1622f5ae71f38f2c0608e9c82cc73d5ef5 | ff58169fd92e44deae2b546b6b15af2dc6131611 | /MultipleObjects.CPP | 22e9b6b286d2528df27b8f76f9b5c260044e72cd | [] | no_license | sumati-kulkarni/CPP-Programs | 9deb53e72a7195ed165974db709f66b3bd6c29ad | 5f03149741b772b06ec5258d72207f02cff620cb | refs/heads/master | 2021-03-14T05:15:31.256832 | 2020-03-17T14:59:46 | 2020-03-17T14:59:46 | 246,729,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | /* to create multiple objects of class */
#include<conio.h>
#include<iostream.h>
class emp
{
private:
int eno;
char na[20];
public:
void read()
{
cout<<"\n\nenter the employee number & name\n";
cin>>eno>>na;
}
void disp()
{
cout<<"\n\nOUTPUT\n";
cout<<"\nemployee numb... | [
"sumati.kulkarni.90@gmail.com"
] | sumati.kulkarni.90@gmail.com |
97ee533def49c4182d194162cbddddfac4239182 | 94e5a9e157d3520374d95c43fe6fec97f1fc3c9b | /@DOC by DIPTA/collected/sgtlaugh/Merge Sort Tree.cpp | 87943ecb7c62001682c1357955c7a1ec78ce7cdc | [
"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 | 1,502 | cpp | #include <bits/stdtr1c++.h>
#define MAX 100010
#define clr(ar) memset(ar, 0, sizeof(ar))
#define read() freopen("lol.txt", "r", stdin)
#define dbg(x) cout << #x << " = " << x << endl
#define ran(a, b) ((((rand() << 15) ^ rand()) % ((b) - (a) + 1)) + (a))
using namespace std;
int n, ar[MAX];
vector<int> tree[MAX << 2... | [
"iamdipta@gmail.com"
] | iamdipta@gmail.com |
26ba921eec1fcad4cf1f797b592e5271635a6c2b | c8d3ab3881c0033ff79a8882ad0b5d0fb21bbc50 | /CvGameCoreDLL_Expansion2/CvTacticalAnalysisMap.cpp | c0c246844e5a62f8104b999ff09211801af0a138 | [] | no_license | Puntsik/Community-Patch-DLL | 0ae1f1aafea36a469444daabf2131e0e6484292c | c4ea6137b38b46f9ed78dbbf9f22900a86be1eae | refs/heads/master | 2021-01-22T00:24:19.549218 | 2014-12-20T03:46:16 | 2014-12-20T03:46:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 35,253 | cpp | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"thewizardofwas@gmail.com"
] | thewizardofwas@gmail.com |
036116436d2ebdde8809549f83e36a64f945f05f | 92c43f9c66816e3b5424b93aa27f15b081905549 | /Part7/LogicalNodes/DomainLNs/LNGroupT/TCTR.h | 322fd54bbca08f947b1d58df950a38f3ba668d33 | [] | no_license | adirkuhn/lib-iec61850 | fd30b032b35d3184c3f01be4f0a11a3560c7954f | 7a35d901a299c94e49fd4dcb468a9d0e993b0709 | refs/heads/master | 2020-05-21T12:11:30.042930 | 2014-10-27T17:51:18 | 2014-10-27T17:51:18 | 32,832,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | h | ///////////////////////////////////////////////////////////
// TCTR.h
// Implementation of the Class TCTR
// Created on: 15-Apr-2014 2:52:48 PM
// Original author: adirkuhn
///////////////////////////////////////////////////////////
#if !defined(EA_8E6318AF_6D1D_4aa3_8677_E770349057FB__INCLUDED_)
#def... | [
"adirkuhn@gmail.com"
] | adirkuhn@gmail.com |
15d8314f27a361260d553de269a96e888a5db303 | b3283b78d5d909840f2931617f59c5cdeca2dd0a | /src/Lib_GZ/Base/gzQArray.cpp | 8288aea9cc13f9e5862de2015cede0172ed3bf85 | [
"Apache-2.0"
] | permissive | VLiance/GZE | d64031ab588ffa0aa94b97291afe98ba78ecb8c9 | 99afffa3cb495d268d6e64cd5a885cc80409828a | refs/heads/master | 2021-07-06T02:55:34.122929 | 2020-05-12T04:05:30 | 2020-05-12T04:05:30 | 130,447,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,404 | cpp | //This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
//Though not required ... | [
"maeiky@gmail.com"
] | maeiky@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.