blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11bda6a64a4ee76a66f619d1fe4c4811bf55487b | b4240b158b6bd8dc645493119c054bb7b069dcb5 | /HomeWork/1_5/q3/main.cpp | a2a03e007ec0e75ce263914fbf3f22e8aa27609b | [] | no_license | Rising-Moon/learn_opengl | b824eb90615be8e50ed20628ca2dfbb4ca464d76 | 9c43843804ef1d41620fec59892e5a3dd3261d23 | refs/heads/main | 2023-03-01T13:00:18.770942 | 2021-02-05T11:34:21 | 2021-02-05T11:34:21 | 320,334,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,826 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <fstream>
#include <math.h>
using namespace std;
void framebuffer_size_callback(GLFWwindow *, int, int);
void processInput(GLFWwindow *);
void draw(unsigned int);
void readFile(const char *, char *);
unsigned int createProgram(unsigned in... | [
"yc_meng@droidhang.com"
] | yc_meng@droidhang.com |
6d11dbb8237d897dcd7d40ac6658ebf2158277cd | 1a2c685e478510922da97ca8e421f1cf2315c806 | /db/db_process.h | 441551a98b5b915b63834b9dc8e7e5374fecc1e5 | [
"MIT"
] | permissive | flyingKite0124/MiniSQL | d93adeb2b0e7c3d4c05c124eb56d30bdacbd5e28 | 82b64de9caf50884974451341624ddc02b64b32a | refs/heads/master | 2021-05-30T03:42:18.751332 | 2015-11-08T06:48:33 | 2015-11-08T06:48:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | h | #ifndef DB_DB_PROCESS_H
#define DB_DB_PROCESS_H
#include <string>
namespace db {
int DBProcess(std::string command);
} // namespace db
#endif // DB_DB_PROCESS_H
| [
"i@0u0.moe"
] | i@0u0.moe |
311138fad8bbdccb231951078f494f2a41505b45 | 39cabd2d103523b8ee758009ecc4f0beaf768a1f | /addOneChar.h | 2ea6f49d8b308d6d3c4e04328c925aa6ca4eb4f1 | [] | no_license | Yindong-Zhang/nowcoder | 4de67b78b7ddb8cbae213f40cfc3dfa3d9ec05a0 | 28473f535d6ca564165bb8edad97f83e99202c42 | refs/heads/master | 2021-07-02T04:30:41.417765 | 2020-12-02T12:50:01 | 2020-12-02T12:50:01 | 202,059,878 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,654 | h | //
// Created by yindong on 19-8-27.
//
/*
* 题目描述
小明有26种游戏海报,用小写字母"a"到"z"表示。小明会把游戏海报装订成册(可能有重复的海报),册子可以用一个字符串来表示,每个字符就表示对应的海报,例如abcdea。小明现在想做一些“特别版”,然后卖掉。特别版就是会从所有海报(26种)中随机选一张,加入到册子的任意一个位置。
那现在小明手里已经有一种海报册子,再插入一张新的海报后,他一共可以组成多少不同的海报册子呢?
输入描述:
海报册子的字符串表示,1 <= 字符串长度<= 20
输出描述:
一个整数,表示可以组成的不同的海报册子种类数
示例1
输入
复制
a
输... | [
"so_go_flying@163.com"
] | so_go_flying@163.com |
8ffada0f98b792ce9ac47095526abfa888f9a3e0 | cfcb8ae56a0804d9eb8d2d9ff03dc41a9835483e | /Between_the_offices.cpp | 4719ce9589104cc9f751a5afa2bcf8cec4c1e749 | [] | no_license | Roberto-Cerna/CodeForces | 5a105864dbb243bf3f8e2fde72c1aa32bc16541a | fa4d0985866377b5c7b8368be3adf20ea875d286 | refs/heads/master | 2020-11-26T04:46:31.720318 | 2019-12-19T03:31:41 | 2019-12-19T03:31:41 | 228,967,309 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n, numS=0,numF=0;
string S;
cin>>n>>S;
for (int i = 0; i < n-1; i++)
{
if (S[i] == 'S' && S[i+1] == 'F') numF++;
if (S[i] == 'F' && S[i+1] == 'S') numS++;
}
if (numF > numS)cout<<"YES";
else cout<<"NO";
} | [
"noreply@github.com"
] | noreply@github.com |
c677ccee3a061763dbeb6b1481e2672b22d5aaf9 | 4b0274fb921ad05285d9a715a17e330571fa9c51 | /RayTracer/shapes/BoundingBox.cpp | 690dda8b5244b5a5d068ec91d04d71dcb99934db | [] | no_license | GladoriuS/Raycast | 346cc9b6b626ce49e749cc65776cbf9172198bc8 | 3fde984313dda80fac7241f9f2a8d74f15bab2ac | refs/heads/master | 2022-10-14T23:58:00.958387 | 2020-06-10T10:26:34 | 2020-06-10T10:26:34 | 260,946,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,459 | cpp | /*
* BoundingBox.cpp
*
*
*/
#include "BoundingBox.h"
#include "shapes/PlanarQuad.h"
namespace rt{
//reference to: https://www.scratchapixel.com/lessons/3d-basic-rendering/minimal-ray-tracer-rendering-simple-shapes/ray-box-intersection
BoundingBox::BoundingBox(std::vector<Shape*> shapes):shapes(shapes)
{
... | [
"mdann14@gmail.com"
] | mdann14@gmail.com |
3497cf5c6105531bdc8f45a2797fc33556077cfb | e6234d0ba8fbc3dcd0c25cde9d6356ba45b1298a | /quad/include/quad/lawnmower/src/lawnmower.cpp | 08b0dec5419186b2fd5930b9fb93fa1408da3a32 | [] | no_license | Wayne-xixi/Weight | 2826658a1724fe3faaa9d23a2de4e4a2d8aced20 | c28a416118e1cb9169ea4087e2008e0bea0ab35b | refs/heads/master | 2020-09-23T22:09:28.156786 | 2019-12-03T09:50:22 | 2019-12-03T09:50:22 | 225,599,809 | 1 | 0 | null | 2019-12-03T11:07:34 | 2019-12-03T11:07:33 | null | UTF-8 | C++ | false | false | 6,334 | cpp | /*These functions serve two main purposes:
1. Generate the list of points to be searched by lawn-mower.
2. Generate the prioritized list of points in lawn-mower pattern.*/
#include "lawnmower.hpp"
int lawn_mower_initializer_function(int y_max, int x_max, int pre_list_lawn_mower_x_indices[], int pre_list_lawn_mower_y_... | [
"sarthakshetty97@gmail.com"
] | sarthakshetty97@gmail.com |
f6eeb893b64c33df6cd0a5a80e4366b17e0bf2f0 | 7d19bd1b18359573bd2d5e39a730738df821a4d1 | /libs/serialization/include_compatibility/hpx/runtime/serialization/valarray.hpp | 2ecddc3741a2d8439e1daa24715478c3d12b5ed5 | [
"BSL-1.0",
"LicenseRef-scancode-free-unknown"
] | permissive | sarthakag/hpx | 4f45d3b8e2fc88d7d2f0bf0abb7d231cd18360e6 | a895dda5272634c5a8c9e35a45405699075a119e | refs/heads/master | 2022-04-11T23:38:21.432194 | 2020-03-25T19:11:37 | 2020-03-25T19:11:37 | 250,194,241 | 1 | 0 | BSL-1.0 | 2020-03-26T07:52:49 | 2020-03-26T07:52:48 | null | UTF-8 | C++ | false | false | 798 | hpp | // Copyright (c) 2019 Ste||ar Group
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#include <hpx/config.hpp>
#include <hpx/serialization/config/defines.hpp>
#include <hpx... | [
"hartmut.kaiser@gmail.com"
] | hartmut.kaiser@gmail.com |
041311dcd19f11fa424976167f32f220801ed148 | f44012190785613021c628b4a3ed674ff5232415 | /projects/prototype/Classes/ButtonManagerNode.h | 3a707adcc93ca4b6a90552d39eabe6f5c6f2e2d6 | [] | no_license | dannydo/prototype.traveldreams.vn | 3952cfdeb19628ae57113c22b98387ad02ac09de | cd82fef8930c94cf47ddcc2f5fbcb15fbb10746d | refs/heads/master | 2021-01-12T22:21:18.922681 | 2014-05-29T10:42:59 | 2014-05-29T10:42:59 | 14,515,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | h | #ifndef _BUTTON_MANAGER_H_
#define _BUTTON_MANAGER_H_
#include "cocos2d.h"
#include "ButtonNode.h"
class ButtonManagerNode : public cocos2d::Node
{
public:
ButtonManagerNode() {};
virtual ~ButtonManagerNode();
bool init() override;
CREATE_FUNC(ButtonManagerNode);
inline bool IsInTapMode() { return m_bIsInTapM... | [
"van.dao@kiss-concept.com"
] | van.dao@kiss-concept.com |
6cc2ef961e3a985e9d656f5dc4b8115655f3dd2a | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Tools/TestWebKitAPI/Tests/WTF/ListHashSet.cpp | a550a845bf19e89223f0f9dc0139d22926539a3e | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 7,237 | cpp | /*
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"adzhou@hp.com"
] | adzhou@hp.com |
fdefd3bab7bf0d973183439eca0633f90e7286d7 | 44668b27306d84370d7cd5e792afc173738811f7 | /_CPP/Pr1105/src/use_this_main.cpp | 1c8a2d75291a399aa27705e7d285105aa69a6904 | [] | no_license | arthurzaczek/Hacking-INF-Demo-Examples | c0574b32ca71f8dcfa4bf9c19563732998192c72 | 90e8c0545893a12c9f19eb3641128ab3ef32fa7c | refs/heads/master | 2021-07-24T10:02:01.518401 | 2017-08-08T11:18:24 | 2017-08-08T11:18:24 | 109,694,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | // Programming with C++, Second Edition, by John R. Hubbard
// Copyright McGraw-Hill, 2000
// Problem 11.5 on page 267
// An assignment operator for the Point class
Point & Point::operator= (const Point & point)
{
_x = point._x;
_y = point._y;
_z = point._z;
return *this;
}
| [
"arthur@dasz.at"
] | arthur@dasz.at |
b5b84ea373edb1c1338858f2d516eb14851b6c64 | 705dd8f1a74422569471bb7f5684479055ab1e53 | /flexc++/scanner/scannerbase.h | a854cb72af12218c403d3f1c3693ee006e1a4cd0 | [] | no_license | jeanpaul/flexcpp-old | b93a933e607a14db45f54b8fddd9cabcbe6d018f | 788d28b2e6acaaa3929886df3450a9a3bb2da29b | refs/heads/master | 2020-04-11T09:10:06.694570 | 2015-09-07T17:45:39 | 2015-09-07T17:45:39 | 156,622 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,277 | h | // Generated by Flexc++ V0.94.00 on Thu, 23 Feb 2012 12:31:11 +0100
#ifndef ScannerBASE_H_INCLUDED
#define ScannerBASE_H_INCLUDED
#include <climits>
#include <iostream>
#include <deque>
#include <string>
#include <vector>
#include <memory>
class ScannerBase
{
// idx: rule, value: tail length (NO_IN... | [
"f.b.brokken@rug.nl"
] | f.b.brokken@rug.nl |
389b0e9c7d59c3794b2d2f4ba73080b7d82a0765 | 534e2e3d8d8bebd2366c0fee60886d84597ee0ef | /sprout/213.cpp | 2ac948d31d6c237dfd37b395e04378d96e7634b9 | [] | no_license | coldEr66/online-judge | a8844d3f35755adafd4f43a1f08ce56b6b870601 | e85ec0750d92dd00133c93284085a0f5d8a11d36 | refs/heads/master | 2021-09-07T01:58:10.634492 | 2021-07-28T16:31:13 | 2021-07-28T16:31:13 | 128,494,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,810 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(int i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FOR(i,j,n,m) for(int i=j;i<n;i+=m)
#define RST(i,n) memset(i,n,sizeof i)
#define SZ(a) (int)a.size()
#define ALL(a) a.begin(... | [
"seal1000402@gmail.com"
] | seal1000402@gmail.com |
2d584cd1b84f847d193836c2d22836fcb4b25a4f | 594e646453b7255104f721a9f9da84f752a733b8 | /labs/kurs/samples/04_more_objects_sdl/IShader.h | 0dcdd0e30f08d7fc4a696aa8c121d6c7767b26d4 | [] | no_license | alexey-malov/cg | 50068a19b8dc5d8259092e14ce2fdfa45400eac9 | ca189f7e850a4d6f94103eabdb7840679f366d93 | refs/heads/master | 2020-12-30T15:41:35.575926 | 2018-06-19T11:26:35 | 2018-06-19T11:26:35 | 91,160,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | h | #pragma once
#include "Vector_fwd.h"
class CShadeContext;
/*
Интерфейс "шейдер", выполняющий расчет цвета объекта в заданной точке с использованием
некоторой модели освещения
*/
class IShader
{
public:
// Выполняет вычисление цвета с использованием указанного контекста закрашиваиня
virtual CVector4f Shade(CShadeC... | [
"alexey.malov@cpslabs.net"
] | alexey.malov@cpslabs.net |
da06fca98d5a48b76fca9c8c28186679802eb44b | 05b364b3ce935025434d193784b7a10faf232476 | /SK-Class-Dan-Object__CPP/Source.cpp | 94d850add08d87a47efd9d398f0fd52707f02cc3 | [] | no_license | RizkyKhapidsyah/SK-Class-Dan-Object__CPP | 82ea8c6c6890148ee0392c1ebf4b489670d647ce | deb9d702be62a4ef50800e82555920c67d25e038 | refs/heads/master | 2023-01-28T07:28:11.950749 | 2020-12-05T11:55:38 | 2020-12-05T11:55:38 | 318,775,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
/* Created by Rizky Khapidsyah */
class PersegiPanjang {
public:
int aPanjang;
int aLebar;
int HitungLuas() {
return aPanjang * aLebar;
}
};
int main() {
/* Objek */
PersegiPanjang PP;
cout << "Nilai Panjang = "; cin >> PP.aPanjang;
cout << "... | [
"rizkykhapidsyah@gmail.com"
] | rizkykhapidsyah@gmail.com |
6a11949d1ac3e9160803683cab3fc150cc0c5498 | 18e1a03d837513b4bdc3364444c3cfd649f23672 | /04_OneWire/temperatureMeasure.ino/temperatureMeasure.ino.ino | 59a2bbd3ba6b09c99980065474b722ccf6e2dacf | [] | no_license | RoboCap/wks2016 | 3af0f8fae7590ef9b30823c23f388508674c8bc6 | af862b5e847693cfd9e833de8f7f72bc6278d674 | refs/heads/master | 2021-01-17T18:41:44.186974 | 2016-07-14T19:11:54 | 2016-07-14T19:11:54 | 60,257,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | ino | #include <OneWire.h>
#include <DS18B20.h>
// sensor Port
#define ONEWIRE_PIN 2
// Address read from previous program
byte address[8] = { 0x28, 0x65, 0xB3, 0x72, 0x2, 0x0, 0x0, 0xD7 };
// initialize onewireBus
OneWire onewire(ONEWIRE_PIN);
// initialize sensor
DS18B20 sensors(&onewire);
void setup() {
while (!Seria... | [
"marcin.motowidlo@gmail.com"
] | marcin.motowidlo@gmail.com |
280475545753cb5ff7e6c54621f69a23b77f4fd8 | 0fccee4c738449f5e0a8f52ea5acabf51db0e910 | /bin/QBH/cards/production/13TeV/exo_QBHToJets/MD_4_MQBH_11_n_1/main.cc | 1e7aa78df8104d1024079b5146b450c5346efbb3 | [] | no_license | cms-sw/genproductions | f308ffaf3586c19b29853db40e6d662e937940ff | dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4 | refs/heads/master | 2023-08-30T17:26:02.581596 | 2023-08-29T14:53:43 | 2023-08-29T14:53:43 | 11,424,867 | 69 | 987 | null | 2023-09-14T12:41:28 | 2013-07-15T14:18:33 | Python | UTF-8 | C++ | false | false | 5,264 | cc | //TOF
#include <climits>
#include "Pythia8/Pythia.h"
using namespace Pythia8;
#include "qbh.h"
using namespace QBH;
/*****************************************************************************/
/* Event generator code (main program). */
/**************************************... | [
"saptaparna.bhattacharya@cern.ch"
] | saptaparna.bhattacharya@cern.ch |
96648a7ca2a1635bd65c941045c69e659b8fb22d | 7bf479cf7c3c7e27d231f9499412a1e0fb0118ac | /Source/Usul/Print/Node.h | 6d63832ccbe90cf9e2eeec95b3e7db8dbc0e32f4 | [] | 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 | 1,432 | h |
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002, Perry L. Miller IV
// All rights reserved.
// BSD License: http://www.opensource.org/licenses/bsd-license.html
//
///////////////////////////////////////////////////////////////////////////////
//////... | [
"adamkubach@gmail.com"
] | adamkubach@gmail.com |
22817f2230c33158765f8b194a4714c9c3acd719 | 3a090e932c04608be10e74cd4a8ceb453c1100df | /solutions/c/windows-shell-extension/FlickrUploader/FlickrUploader/FileUploaderDialog.h | 2367d1420845b9b1184cce543d48788234567300 | [] | no_license | calders/wsf | 2b21daf1861cac6b071c489f652a4376cf55189f | d238b2a5d2b4bd13c03d8484d9c435e6cf5840d8 | refs/heads/master | 2021-01-18T08:46:55.449156 | 2015-02-10T22:24:08 | 2015-02-10T22:24:08 | 30,302,832 | 3 | 3 | null | 2016-01-08T12:56:18 | 2015-02-04T14:33:24 | C | UTF-8 | C++ | false | false | 4,717 | h | #pragma once
#include "resource.h"
#include "ImageListCtrl.h"
#include "ImageDetails.h"
#include <list>
#include "afxcmn.h"
#include "afxwin.h"
#include "MyTextCtrl.h"
#include "MyURLCtrl.h"
#include "AvailableSetsListCtrl.h"
#include "SelectedSetsListCtrl.h"
#include "PhotoSetInfo.h"
#include "FlickrClie... | [
"ruwan@a5903396-d722-0410-b921-86c7d4935375"
] | ruwan@a5903396-d722-0410-b921-86c7d4935375 |
e8466ec7c16457abb4e0cf26a822ba5bee8ae87f | d40efadec5724c236f1ec681ac811466fcf848d8 | /tags/fs2_open_3_4/code/math/vecmat.cpp | e4db1995f32d3a2a4fc110b34a23a627825831be | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86,487 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
/*
* $Logfile: /Freespace2/code/Math/VecMat.cpp $
* $Revision: 2.2 $
*... | [
"Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3"
] | Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3 |
62cf9671588a73f72960f21c334388d84fecbddc | bffa0dddc05602af19474d0f278c50ba9d47e4eb | /World Server/WorldServer.h | cec5222b8624d6f3440754c5e809169a471ff3a6 | [] | no_license | PurpleYouko/osirose_modded | 85a1da502d0d50b4258a5739969f49c93870658d | 74b8b1bc56ada25f0ec19742582f223a865a2d3b | refs/heads/master | 2021-05-03T15:49:41.563123 | 2018-02-07T19:11:47 | 2018-02-07T19:11:47 | 120,486,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,737 | h | /*
Rose Online Server Emulator
Copyright (C) 2006,2007 OSRose Team http://www.osrose.net
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License... | [
"purpleyouko@gmail.com"
] | purpleyouko@gmail.com |
c1b07fcea9c820f5ca48601a3b9b8a6abb678fdb | eaaddd2e60c1d7ee7afb69ed34f297e86e588f59 | /数据结构设计/任务七/Lianliankan1/LLK/GameLogic.h | 5d3e9fdec5aa339d9d974c9e9fd6338f8ec3f75e | [] | no_license | WillAlso/Data | 632a9c7bcab332f68d625ac87a8db923dce7a64b | a92c5e7d601ab0021351fe913d8d3901be23f3d4 | refs/heads/master | 2020-03-18T03:28:13.593479 | 2018-07-24T03:05:15 | 2018-07-24T03:05:15 | 134,242,502 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 937 | h | #pragma once
#include "global.h"
#include "Graph.h"
class CGameLogic
{
public:
CGameLogic(void);
~CGameLogic(void);
void InitMap(CGraph &g);
bool IsLink(CGraph &g,Vertex v1,Vertex v2);
void Clear(CGraph &g, Vertex v1, Vertex v2);
bool LinkInRow(int anMap[][4], Vertex v1, Vertex v2);
bool LinkInCol(int anMap[][... | [
"1481660657@qq.com"
] | 1481660657@qq.com |
d9286975530340b1f844a178618a18df0af981b0 | 591f2520913a1ef99bb7e375e447107978f082d7 | /cpp/drzewo/drzewo2.cpp | af746a0c176e7366f878b77dc0c06b27bc69d59d | [] | no_license | Mery18/gittest | 95805211fe70e3dfee7ac93251911155a13f16bd | ddf9dbd7b0853856c2ba86293cd77e4e26c257ea | refs/heads/master | 2021-01-20T15:07:28.007493 | 2018-04-17T12:10:30 | 2018-04-17T12:10:30 | 82,796,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | #include <iostream>
#include "drzewo2.hpp"
Drzewo2::Drzewo2(){
korzen = NULL;
}
Drzewo2::~Drzewo2(){
while(Usun()){;};
}
void Drzewo2::Dodaj(int wartosc){
ELEMENT *el = new ELEMENT;
el ->wartosc = wartosc;
el ->nast =NULL;
if (korzen == NULL){
korzen = el;
... | [
"marianiemiec@wp.pl"
] | marianiemiec@wp.pl |
3d72731058d524ac7a74230dc419c7c6f02e7059 | 45648532c322cb022f728573b9460945a5ea4192 | /Demo15/main.cpp | 1c82fff591a38bc254c13829f520045444682351 | [] | no_license | songwei163/OpenCV-Demo | 19d3b2c6e3d4161d9b9a9947705b74ef388695f4 | c52f6e98427b5964f44e550ee33cf0c517f43692 | refs/heads/master | 2023-01-22T15:58:36.390693 | 2020-11-30T12:29:51 | 2020-11-30T12:29:51 | 316,135,747 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,826 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
Mat src, dst;
int thres_min = 20;
int block_size = 3;
int C0 = 3;
void onAdaptiveThreshold(int,void*)
{
// block_size
if (block_size%2==0) {
++block_size;
}
adaptiveThreshold(src, dst, 255, ADAPTIVE_THRESH_GAUSSIAN_C, ... | [
"songweicpp@163.com"
] | songweicpp@163.com |
fc9d0ffe87fa2d21a54e279d7cdead7a18d07446 | b9c8dda608719914fec96d45c5f911951e829d35 | /SP3Framework/Base/Source/SceneAssignment2.cpp | e383effd1b5fffabb4ef6e4393197a1d0deb62c6 | [] | no_license | Jagureo/HCMRSP3 | 140e31a157b82ff39aac0b293c955e6c284e4d3b | 897a3901ae68917c439f409c8d6be1b81a91bdfa | refs/heads/master | 2020-04-06T07:08:37.851139 | 2016-09-01T11:27:18 | 2016-09-01T11:27:18 | 65,695,133 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 69,085 | cpp | #include "SceneAssignment2.h"
#include "GL\glew.h"
#include "Application.h"
#include <sstream>
SceneAssignment2::SceneAssignment2()
{
}
SceneAssignment2::~SceneAssignment2()
{
}
void SceneAssignment2::Init()
{
SceneBase::Init();
//Physics code here
m_speed = 1.f;
Math::InitRNG();
//Exercise 1: initialize m_... | [
"jagnzet@gmail.com"
] | jagnzet@gmail.com |
6bd39160a6e8b2afb45ac58cd77f9318db7431bb | 0e9394230899fd0df0c891a83131883f4451bcb9 | /include/boost/simd/function/simd/firstbitunset.hpp | ca28b2ba8cf9011fddcfb7f9de3e64e0fc94e92b | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | hpp | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
@copyright 2016 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
ae5926353a9462c16668bf5ff602d6b462fc47ee | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_MAG_RevolverDrumTP_parameters.hpp | 8a3b463a73917e1e1556da8f2b2eabb021bfc560 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_MAG_RevolverDrumTP_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
5c53c7500648042553cd9327b47a030196823edd | 72b451bad6e2972ade5f06f83ad0623dbf28ce22 | /programs/reboot/src/main.cpp | ff9074db4c3ce900cf2b5d3accaf15763a0d0636 | [
"MIT"
] | permissive | cekkr/thor-os | b7d31901959d8c4c2686e8af1dfcf156fbef477a | 841b088eddc378ef38c98878a51958479dce4a31 | refs/heads/develop | 2021-03-30T23:26:56.990768 | 2018-03-31T16:53:16 | 2018-03-31T16:53:16 | 124,933,350 | 0 | 0 | MIT | 2018-03-31T16:53:17 | 2018-03-12T18:28:19 | C++ | UTF-8 | C++ | false | false | 404 | cpp | //=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://www.opensource.org/licenses/MIT)
//=================================================================... | [
"baptiste.wicht@gmail.com"
] | baptiste.wicht@gmail.com |
742f26ee03250ed77de55489fb23124aebe7fef4 | e85c3b5c24bd30a09b366766d2211fd493c5c75f | /half_1/3_Loop-operator/1_3_E1.cpp | 9ddee3335c4482eb089eebec8456c7b9697307da | [] | no_license | vmik7/ejudge | c7aeefbc3e44659a9ae0f5c1be4618976034baeb | dfe84c473318bc091fd15d56f7c1878b4dd121f8 | refs/heads/master | 2020-05-30T11:05:13.527974 | 2020-05-06T11:06:32 | 2020-05-06T11:06:32 | 189,690,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | #include <iostream>
using namespace std;
int main()
{
long a, m;
int n;
cin >> a >> n >> m;
unsigned long long sum = 1;
while (n)
{
sum = ((sum * a) + 1) % m;
n--;
}
cout << sum << endl;
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
fe31bc1a05d843e5594d9631f4e632b51a88551b | 31718047cebe41a7712cfe1f9a00831f424efe4b | /src/gafis.cpp | 399e19bf5cd87f90a6a6dabbb36eed7da1cf67f0 | [] | no_license | lucacavazzana/gafis | 66bb73cead4a179d35daa83414a633a9532bd50d | cf5d9e9bf92e7fde0f746a1457d8b51b80e262d6 | refs/heads/master | 2021-01-19T14:10:26.903044 | 2011-11-15T22:31:55 | 2011-11-15T22:31:55 | 40,447,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,977 | cpp | //============================================================================
// Name : gafis.cpp
// Author : Cadario Stefano & Cavazzana Luca
// Version :
// Copyright : Your copyright notice
//============================================================================
#include <iostream>
#include... | [
"cadariostefano@9d9a08fa-ab1c-11dd-a887-7ffe1a420f8d"
] | cadariostefano@9d9a08fa-ab1c-11dd-a887-7ffe1a420f8d |
76011723b84a0e770c8fe90b7e00c3d19d1de8a5 | 24b153dbf1df89be8683e6be77f3befaaf849456 | /Src/SearchTraits.h | e576cd4db4a190347793b1bb1c3497154c276f16 | [] | no_license | FrankieLi/IceNine | b0c9c1a2b6c0414256cc89aa25d04e981e6f2d31 | 0479d1c829c495ee53769d5c58f852298eee0d8c | refs/heads/master | 2021-01-01T16:35:06.690050 | 2017-11-21T07:06:11 | 2017-11-21T07:06:11 | 22,700,905 | 5 | 3 | null | 2017-11-21T07:06:11 | 2014-08-06T22:53:27 | C++ | UTF-8 | C++ | false | false | 7,607 | h | //==============================================================================
// Copyright (c) 2014, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory
// Written by S. F. Li (li31@llnl.gov)
// LLNL-CODE-657639
// All rights reserved.
//
//
// Redistribution and use... | [
"li31@foma.llnl.gov"
] | li31@foma.llnl.gov |
7c84882e964f08104666147912aaf991fb0d7017 | d573e62de0c1a0d6fa0254571ded035655b6db49 | /Core/Utilities/Tools/ProcessOnTraversing.cpp | a925a91a4e3876de06928282cddb854a2324d337 | [
"Apache-2.0"
] | permissive | chiptik/QPanda-2 | e06b1f797cd3e80f5d671c2f1c282984c16ef36f | 635b4c06ea5b6a30feca26b9ccaf1be457ca2bb6 | refs/heads/master | 2022-12-21T13:50:28.249925 | 2020-09-30T09:24:19 | 2020-09-30T09:24:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,576 | cpp | #include "Core/Utilities/Tools/ProcessOnTraversing.h"
#include "Core/Utilities/QProgInfo/Visualization/QVisualization.h"
USING_QPANDA
#define PRINT_TRACE 0
#if PRINT_TRACE
#define PTrace printf
#define PTraceMat(mat) (std::cout << (mat) << endl)
#define PTraceCircuit(cir) (std::cout << cir << endl)
#else
#define PTra... | [
"wj@originqc.cn"
] | wj@originqc.cn |
3e1bc5273b3fc4c480a83bd256d3830084d9b1ed | 440e04792954c067cd4c84be8e84047d521a2c9f | /Proyecto_10-Grabar_Raspberry/Proyecto_10-Grabar_Raspberry.ino | 094520f814ea0d3a54e1263beeaa493b774bf499 | [] | no_license | gitter-badger/Aprendiendo-Arduino-Proyectos | d88076c2b7a73a633373875f07fde11803802a68 | 23d971629f65a37d6bb6658469b1468f3c5aed1b | refs/heads/master | 2021-01-24T16:02:43.267169 | 2016-01-13T12:32:40 | 2016-01-13T12:32:40 | 49,572,956 | 0 | 0 | null | 2016-01-13T12:41:04 | 2016-01-13T12:41:04 | null | UTF-8 | C++ | false | false | 1,589 | ino | #include <Ethernet.h>
#include <SPI.h>
#include "Timer.h"
byte mac[] = {
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = {
192, 168, 1, 179 };
byte DNS[] = {
8,8,8,8};
byte gateway[] = {
192, 168, 1, 1};
byte subnet[] = {
255,255,255,0};
byte raspberry[] = {
192,168,1,169};
EthernetClient client;
Ti... | [
"ecrespo@arsys.es"
] | ecrespo@arsys.es |
941a581278aa43b55a87b397d907fd9cf02d7091 | ca43da281afed9025e9ffc5564b4203880034b3f | /core/runtime/binaryen/module/wasm_module_factory_impl.cpp | c1178abf6cc230e0886de1e0b3d84b7db4dccd6b | [
"Apache-2.0"
] | permissive | Harrm/kagome | ad914f052347581c6a3a1a818c6c8b0d3ed1ca04 | 22932bbbbf2f09712ca81b9e6256492f84cf2a46 | refs/heads/master | 2023-03-21T03:41:02.884895 | 2021-03-17T09:30:47 | 2021-03-17T09:30:47 | 349,340,056 | 0 | 0 | Apache-2.0 | 2021-03-19T11:28:03 | 2021-03-19T07:41:25 | null | UTF-8 | C++ | false | false | 672 | cpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "runtime/binaryen/module/wasm_module_factory_impl.hpp"
#include "runtime/binaryen/module/wasm_module_impl.hpp"
namespace kagome::runtime::binaryen {
outcome::result<std::unique_ptr<WasmModule>>
WasmModu... | [
"noreply@github.com"
] | noreply@github.com |
70c31b66f8b20fbb02abd81469e19399ab3b5e04 | 36fd7c900b0b6d86dfbce5080e36ed317859c5f1 | /MathException.h | 15d4193ceb40668a25498eb61d7414b95e8860dc | [] | no_license | IkezawaYuki/ryuko | 59fe03622feea42d21135055a4d645d075f3946c | bd985532f55ced2be1a75bd24ad215f0fa880dd1 | refs/heads/main | 2023-06-17T11:29:11.525569 | 2021-07-08T13:58:41 | 2021-07-08T13:58:41 | 356,898,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | h | #ifndef RYUKO_MATHEXCEPTION_H
#define RYUKO_MATHEXCEPTION_H
#include <string>
#include <cstring>
#include <sstream>
#include <exception>
#include <stdexcept>
class MathException : public std::logic_error {
public:
MathException() : std::logic_error("数値演算例外") { }
virtual const char* what() const { return "数値演算... | [
"y.ikezawa93@gmail.com"
] | y.ikezawa93@gmail.com |
901fb8b01f3e7ee7afd5c741fb4bad17e58208ad | 0a3f57ccc4f351723c035b67adf1909ffba06c23 | /raytracer/Tracers/SingleSphere.cpp | 7c0b990ad19361178025cecceed28d5e0b89d6db | [] | no_license | jacksoncougar/cherenkov-radiation-ray-tracing | 3d57ae82e04a80a344e13322edaf376dda59be3b | e831c505b023c7c45da3980e72298c822d832c3b | refs/heads/master | 2022-07-06T02:44:39.076898 | 2020-05-20T14:49:15 | 2020-05-20T14:49:15 | 238,088,974 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include "SingleSphere.h"
#include "World.h"
#include "ShadeRec.h"
// -------------------------------------------------------------------- default constructor
SingleSphere::SingleSphere(void)
: Tracer()
{}
// -------------------------------------------------------------------- constructor
SingleSph... | [
"jacksoncougar@gmail.com"
] | jacksoncougar@gmail.com |
702ff5634b1119556211de367124d0fed0314c4d | b92937d562966ee4aa09e85c5ff04bdc455cdea8 | /hw10/main.cpp | de2ccdd7a30afd3b97df65bb82bbb66ff1c8b2a3 | [] | no_license | kchevali/CSCI3731Chevalier | 46bb9d3c5eefe5cba3e4b4958cd2b32419fbee0c | 371df3162e555523540fc29406bf94abbf0f5988 | refs/heads/master | 2021-07-09T08:59:20.203163 | 2020-10-22T00:28:14 | 2020-10-22T00:28:14 | 204,387,527 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,759 | cpp | #include "main.h"
#include <QApplication>
#include <QtGui>
#include <chrono>
#include <cstdlib>
#include <iostream>
#include <thread>
#include <vector>
#include "angle.h"
#include "drunkenfish.h"
#include "fish.h"
#include "flippyfish.h"
#include "flockyfish.h"
#include "mywidget.h"
#include "population.h"
#include "sm... | [
"kevin.chevalier10@gmail.com"
] | kevin.chevalier10@gmail.com |
71cf157448542ac0734a2aa23e212c1d5eb19f69 | f9b45fd409384de3c69d68c62c0f21d9196e6927 | /common/rtf.cpp | fa3721a62c8c8a7632aafbeade19990ae41526d9 | [
"MIT"
] | permissive | ultimatezen/felix | 04799eb666b54e2eeea961dc983cf3721f5182de | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | refs/heads/master | 2020-04-08T14:21:02.872525 | 2016-02-16T01:18:11 | 2016-02-16T01:18:11 | 159,433,144 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,861 | cpp | // rtf.cpp: implementation of the rtf class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "rtf.h"
namespace rtf
{
using namespace except ;
void set_default_font_table(textstream_reader< char > &reader)
{
reader.set_buffer(
// this... | [
"software@ginstrom.com"
] | software@ginstrom.com |
bb1a760ca4b9dba41ef49b2bedc5cbcf9f22bc4c | ab2756a6533c4252360548e976b264a9ca4fb387 | /Revisão P1/Campeonato JOAO/Campeonato.h | 90dec5f3cd9092b7d1b58af38947c5c430685e37 | [
"MIT"
] | permissive | lucaslgr/estrutura-de-dados-cplusplus | c23c96e51edebca47cebc03e780afea9856ab679 | 434dc93a743586543be784fa626ea910705e638e | refs/heads/master | 2022-11-09T19:59:22.385996 | 2020-07-02T01:22:54 | 2020-07-02T01:22:54 | 173,680,948 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #ifndef CAMPEONATO_H
#define CAMPEONATO_H
#include "Time.h"
#include <iostream>
#include <string>
using namespace std;
class Campeonato
{
public:
Campeonato();
Campeonato(int n);
virtual ~Campeonato();
void entregaATaca(Time *vencedor);
int ntimes;
string campeao;... | [
"lucaslgr1206@gmail.com"
] | lucaslgr1206@gmail.com |
b5502d3d36d4d9b466ab19ec1d29d6916b9b01a0 | 54277c19ee2fae0094de9bd75586fa01595558ea | /src/condvar.cpp | 9bce71cf56be0634094aa5f780ccae987386ed8b | [
"MIT"
] | permissive | bugaevc/lets-write-sync-primitives | bb5d4928e4ff13f820fd0be5783de2403c21702f | 833be0d5e932c29a34d3dae8e01dccbbb0393570 | refs/heads/master | 2023-06-07T01:11:51.052920 | 2021-07-05T11:05:07 | 2021-07-05T11:10:02 | 311,096,028 | 19 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,582 | cpp | #include "condvar.h"
#include "mutex.h"
#include "futex.h"
#include "util.h"
#include <cstdint>
#include <climits>
CondVar::CondVar(Mutex &mutex)
: mutex(mutex) { }
void CondVar::wait() {
uint32_t state2 = state.fetch_or(
need_to_wake_all_bit | need_to_wake_one_bit,
std::memory_order_relaxed
... | [
"bugaevc@gmail.com"
] | bugaevc@gmail.com |
c39cce0c09d15d1dd3aac0ed5168415207d7aa69 | a7d68f4d766cda50976e249f8ec11ad35a141d5c | /include/itkVkGlobalConfiguration.h | 84179e8ef87a771f2b8ee0c9824b3419909cb321 | [
"Apache-2.0"
] | permissive | InsightSoftwareConsortium/ITKVkFFTBackend | a5bb047a58c4004bc2434d615e0784f37d7f5c33 | 4574a6106f75c72146a2a358d0eea39e451de86b | refs/heads/master | 2022-12-07T06:50:29.824673 | 2022-12-01T21:51:04 | 2022-12-01T21:51:04 | 362,941,108 | 4 | 4 | Apache-2.0 | 2022-12-01T21:51:05 | 2021-04-29T20:36:12 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,538 | h | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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
*
* https://www.apache.o... | [
"tom.birdsong@kitware.com"
] | tom.birdsong@kitware.com |
c0e350be80d2a0198181eef3b485002aaf429a50 | 27f6813d7ca4bca358e94a943da21699693a54cb | /modules/framegrabber/include/ifm3d/fg/schema.h | 0e0ee280332d9136fd9af7088015ffd2b8ac9163 | [
"Apache-2.0"
] | permissive | graugans/ifm3d | af00081fb50835898e57ea9edb5fa9d8418003c3 | c57134a6c1582132e6af5e5cbffc931b0a6358a1 | refs/heads/master | 2021-07-24T22:12:19.651979 | 2017-06-16T11:42:52 | 2017-06-16T11:42:52 | 97,717,805 | 1 | 0 | null | 2017-07-19T13:14:09 | 2017-07-19T13:14:09 | null | UTF-8 | C++ | false | false | 2,280 | h | // -*- c++ -*-
/*
* Copyright (C) 2017 Love Park Robotics, LLC
*
* 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 a... | [
"tpanzarella@loveparkrobotics.com"
] | tpanzarella@loveparkrobotics.com |
c609746af48b4f4cb0b766ed7ae0793825d3878c | 804daf3b74659bc832ada56e050a7e64173ef4ca | /ATMega8/ATMega8_receiver/ATMega8_receiver/TimerObject.cpp | 364173527d5fd74d474baff86110fbb74e7c8163 | [] | no_license | Szymon-R/Parking_Sensor | 442eece0608a6b96ac7d3dd82b96dfd1c6650032 | 36dc7110adf1514c4fef888d93ea49e635a69c8f | refs/heads/master | 2021-04-11T09:04:48.936648 | 2020-05-31T12:45:35 | 2020-05-31T12:45:35 | 249,006,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | /*
* TimerObject.cpp
*
* Created: 21.03.2020 12:36:40
* Author: Szymon
*/
#include "TimerObject.h"
//#include "StateMachine.h"
#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h>
void (*TimerObject::OverflowCallback)();
void TimerObject::Init()
{
//CTC mode
TCCR1B|=(1<<WGM12);
// this->Run(30... | [
"roskwitalskiszymon@gmail.com"
] | roskwitalskiszymon@gmail.com |
58a1e8dfad5eb3133950ed0b8e76c90982f27b4f | c051ff82c463c4d30872871c28b5d287eff59e1b | /HDY/2750_HDY_baekjoon.cpp | 2190d80fbc1560df8cf2148600b98b27e7e711f5 | [] | no_license | csu-anzai/CAU_CodingStudy | afbd562e9719a2191c56de937b24446334f9d8d2 | 7ed8f87c05dc14d875cdf998c9b9d87dbf8b386d | refs/heads/master | 2020-07-19T12:09:29.967152 | 2019-08-21T11:48:53 | 2019-08-21T11:48:53 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 864 | cpp | #include <iostream>
using namespace std;
void printArr(int arr[], int arr_size) {
for (int i = 0; i < arr_size; i++)
cout << arr[i] << "\n";
cout << "ddddddddd";
}
void bubbleSort(int arr[], int N) {
for (int i = 0; i < N; i++) {
bool status = true;
for (int j = 0; j < N - 1; j++) {
if (arr[j] ... | [
"noreply@github.com"
] | noreply@github.com |
56255aec884a9c410e343f8a613d30ea597a9b04 | 3643cefb07c523c1c3025405e199b3e07d23950f | /PROX/SIMULATION/PROX/PROX/include/solvers/sub/prox_bind_friction_sub_solver.h | e79dea308eff0c3850ef9b6333efef7e38d6fa99 | [
"MIT"
] | permissive | erleben/matchstick | cceaac24c19915579965d909e01d80bed3b3d470 | 1cfdc32b95437bbb0063ded391c34c9ee9b9583b | refs/heads/master | 2021-07-08T04:57:29.669086 | 2020-07-30T06:07:37 | 2020-07-30T06:07:37 | 162,964,654 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,269 | h | #ifndef PROX_BIND_FRICTION_SUB_SOLVER_H
#define PROX_BIND_FRICTION_SUB_SOLVER_H
#include <prox_enums.h>
#include <solvers/sub/prox_friction_sub_solver.h>
#include <solvers/sub/prox_nonnegative.h>
#include <solvers/sub/prox_analytical_sphere.h>
#include <solvers/sub/prox_analytical_ellipsoid.h>
#include <solvers/sub/p... | [
"kenny@di.ku.dk"
] | kenny@di.ku.dk |
63919b86f794ec385be601dec83902a4c7c3498e | 0c3e457c8649af465da74289996753c90736410d | /opensource/cmake-3.15.0-rc3/Source/cmVisualStudio10TargetGenerator.cxx | 9586007ae1b17695865f505effe428bd08ffd5df | [
"BSD-3-Clause"
] | permissive | sweetsin/media | 882399839683f5a8d36b4ec26db5deed642a530a | 0312d72307ab1e241cbb19f9ac0eb84324bfca57 | refs/heads/master | 2021-07-07T02:55:14.393324 | 2019-12-19T02:26:35 | 2019-12-19T02:26:35 | 195,328,564 | 1 | 1 | null | 2020-10-13T14:52:36 | 2019-07-05T02:52:38 | C | UTF-8 | C++ | false | false | 169,741 | cxx | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmVisualStudio10TargetGenerator.h"
#include "cmAlgorithms.h"
#include "cmComputeLinkInformation.h"
#include "cmCustomCommand.h"
#include "cmCustomCommandGenerato... | [
"quyouan@163.com"
] | quyouan@163.com |
17cd1db5df67b495aebec6428f7df729b0d36418 | 97e9f7e62763e88b6b3af7d0441d916232cabc0e | /inh1 - Copy.cpp | a9e9b42f8ff413bbf469c670a6e13d579e66b0fd | [] | no_license | prabhhav/cpluspluscpp | afddb1d2fc8b025cd8f85c4947ef7a32f9732dee | 3d6e524185e4d5481111c88495737f590c6f62a8 | refs/heads/master | 2020-12-30T04:06:46.431122 | 2020-06-01T11:38:13 | 2020-06-01T11:38:13 | 238,854,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <iostream>
using namespace std;
// Base class
class Shape {
public:
void setWidth(int w) {
width = w;
}
void setHeight(int h) {
height = h;
}
protected:
int width;
int height;
};
// Derived class
class Rectangle: public Shape {... | [
"noreply@github.com"
] | noreply@github.com |
d0939f503626a8f63d541de114ffb3eb020bc0c0 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /cdn/include/tencentcloud/cdn/v20180606/model/RedirectConfig.h | 92c9df4be1b839bc4297543809953f2283cce868 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,462 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
7b943e02451e6d6638ddd2685056f541c0c03fda | ecd2c6609fea1c8c4e1c391e237c12158de93461 | /Cost-Cuttting.cpp | ed64fc89965f3e5406e072358b73a2f01f336d6a | [] | no_license | Cemetry/uva-online-judge-problem-solution | ca0730675854d9a635060db26459c81537b62a1c | 04f64c43548785907f9e61925d0c6095a6d8954f | refs/heads/master | 2020-03-09T00:15:30.412735 | 2018-04-14T00:01:53 | 2018-04-14T00:01:53 | 128,483,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include<iostream>
using namespace std;
int main()
{ int t = 1;
int tc;
int a[3];
cin >> tc;
while(tc--)
{ int sum = 0;
for(int i = 0 ;i < 3 ; i++)
{
cin >> a[i];
sum+=a[i];
}
int mx = a[0];
int mn = a[0];
for... | [
"noreply@github.com"
] | noreply@github.com |
f953c047bd4e91563652c39d1dce7ca632fb879c | dc0b1da910fca8446652aabf53397531cc94c5f4 | /aws-cpp-sdk-storagegateway/source/model/UpdateGatewaySoftwareNowResult.cpp | 2f3ce78661835c9c9d6421bb99ecf1fc40ee6413 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | capeanalytics/aws-sdk-cpp | 19db86298a6daaee59c4b9fba82acedacd658bdf | e88f75add5a9433601b6d46fe738e493da56ac3b | refs/heads/master | 2020-04-06T04:03:12.337555 | 2017-05-11T13:31:39 | 2017-05-11T13:31:39 | 57,893,688 | 0 | 0 | Apache-2.0 | 2018-07-30T16:46:55 | 2016-05-02T13:51:23 | C++ | UTF-8 | C++ | false | false | 1,442 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
6f2c8d7b4d8bb1e8c19486b9554684de47e88829 | 4a14d199412344636fe32d0a2151ab7eca8c4311 | /controller.cpp | 70338805dcf63558b8ee652feae5f57929416196 | [
"MIT"
] | permissive | alanFaccin/Controle | 9301ac99b5809850ecdd1dbb28968139308a2472 | fe27c4980138d63396fb33630499bf77275107d1 | refs/heads/master | 2021-01-25T06:29:42.225020 | 2017-05-08T23:38:18 | 2017-05-08T23:38:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | #include "controller.h"
Controller::Controller(char *server, int ip){
q = new Quanser(server,ip);
}
Controller::~Controller(){
}
double Controller::lerCanal(int canalLeitura){
double valorCanal = q->readAD(canalLeitura) * 6.25;
switch (canalLeitura) {
case 0:
this->nivelTq1 = valorCanal;
... | [
"jrandson@gmail.com"
] | jrandson@gmail.com |
1fe357a4249603b470f1575ba7de80e9342b3e47 | 32a920c302b320908e62e748d71ad120e6de907e | /contests/VJUDGE_YusufSholeh/CodeForces/25B/8163426_AC_30ms_2828kB.cpp | b9e5fd62811ff0aa7591e404041fdeb18776485c | [] | no_license | yusufsholeh/kactl | 12d1e20f48e0efbb6447bb5dc3e1592cc745aab6 | aaa2fbc0801514c039d38a90da84224c54a2f53d | refs/heads/master | 2023-06-11T12:16:07.335688 | 2023-05-26T08:39:03 | 2023-05-26T08:39:03 | 155,297,663 | 0 | 9 | null | 2018-10-30T00:01:56 | 2018-10-30T00:01:56 | null | UTF-8 | C++ | false | false | 619 | cpp | #include<bits/stdc++.h>
using namespace std;
#define pii pair<int,int>
#define f first
#define s second
#define mp make_pair
#define pb push_back
inline int ask_interactive(int x) {
printf("? %d\n",x);
fflush(stdout);
int ret;
scanf("%d",&ret);
return ret;
}
#define LL long long
#define MAX 100005
string s;
... | [
"yfsholeh@gmail.com"
] | yfsholeh@gmail.com |
75054a40864ab193d0b8e63b7db6e509275142c5 | abd3a3385b33cd4d9f3e75fe013a7cd5bc4eada4 | /src/logging/timer.h | fc5307bc62f7932a2784f90452eee3382ca0f501 | [
"MIT"
] | permissive | peercoin/peercoin | 1200f3d3bd0c0646829ccaad787e49a28e61806c | d15189ebd6084ccca2d20b594a224dff12409fd8 | refs/heads/master | 2023-08-18T06:32:01.286131 | 2023-05-26T07:37:13 | 2023-05-26T07:37:13 | 5,211,620 | 358 | 483 | MIT | 2023-09-13T23:00:42 | 2012-07-28T03:07:36 | C++ | UTF-8 | C++ | false | false | 3,812 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_LOGGING_TIMER_H
#define BITCOIN_LOGGING_TIMER_H
#include <loggin... | [
"backpacker69@protonmail.com"
] | backpacker69@protonmail.com |
7b699bd5e24ce6a29d57a7a7d37f1146f6a21bf4 | dc8471f81a4711befb8f432a195b61199c26fd5a | /Self/Self/Self/reverse.cpp | 964f28e12c30d45794a5047855c65c47abc13f75 | [] | no_license | getsaurabh02/SPOJ-Codes | 0bf6a92ddb95fdb0006960b316b1a8bfe1b977a2 | 2b1de30ff26e3c5ae4be0907a31a1ce8c800a5d1 | refs/heads/master | 2021-01-10T11:24:16.355185 | 2015-10-26T16:25:22 | 2015-10-26T16:25:22 | 44,979,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | cpp | //#include<iostream>
//#include <stdio.h>
//#include<conio.h>
//using namespace std;
//void main()
//{
//int c;
//FILE *ifp;
//ifp= fopen("self.cpp", "rb");
//fseek(ifp, 0L, SEEK_END);
//fseek(ifp, -1L, SEEK_CUR);
//do
//{
//c=fgetc(ifp);
//putchar(c);
//fseek(ifp, -2L, SEEK_CUR);
//} while (ftell(ifp)> 0) ;
//getch(... | [
"getsaurabh02@gmail.com"
] | getsaurabh02@gmail.com |
5f47c1d244f3aca3bb116299da4e97075d3decc2 | 7766debd8f38b223d258262715679819e27a5c68 | /src/term_document_frequency.h | 035f39e04a97284126cd9405faa54113e4aeedbe | [] | no_license | marcotcr/tp_ri | adb7bf720cde84c80fdb027cc78c3a400be0cf3c | 6cef0c1a2c578f8bf25a45ab43d68daf64a50a60 | refs/heads/master | 2021-01-23T13:32:05.317955 | 2011-04-15T16:40:57 | 2011-04-15T16:40:57 | 1,543,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | h | #include <string>
using namespace std;
// Represents a triple (t, d, f(d,t)). That is:
// t --> term (this is the term's id),
// d --> document,
// f(d,t) --> frequency of t in d.
class TermDocumentFrequency {
public:
// Default constructor - does nothing.
TermDocumentFrequency();
// Constructor
TermDocume... | [
"marcotcr@gmail.com"
] | marcotcr@gmail.com |
dda2cbc846afd4a4daef1cbab4f82108dcfbd368 | f514699b16f57130ffb80aa74eb17fdbf429d2a4 | /Projekt2/Components.hpp | 73229d7e95ba785ef763cd37d2c3aa871704790b | [] | no_license | Kamilox09/Cpp-Project | 2d0dab906e1e6f9a6243f58200af63c036e86de4 | f2c914d33d260dac6fc950859bb57913bb12552c | refs/heads/master | 2021-01-25T12:32:07.798095 | 2018-03-01T19:52:21 | 2018-03-01T19:52:21 | 123,478,898 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,845 | hpp | #pragma once
#include "UpAndDownComponent.hpp"
#include "SizeComponent.hpp"
/**
* @class Components
*
* @brief Komponenty do sterowania symulacją.
*
* @author Kamil Ulaszek
* @date 2018-01-19
*/
class Components {
private:
/** @brief Komponent do sterowania rozmiarem. */
SizeComponent *size;
/** @brief Komp... | [
"ehe241@gmail.com"
] | ehe241@gmail.com |
f28bb6752f55b38d3ddbf18a2ee5f9392d3c0ec4 | 5f02aa5e3449c9d3002c8a248b67e965d377cedf | /Source-32-Bit/Page289.h | 877879b7c4fb5ccc114ac452aa6db43582136b51 | [] | no_license | YYGYYGyy/LSPC-Loading-Simulation-Program | bb94fe04d4b620d6afd30b9d40eb582b84283a0b | 2f846c6719088642178a636ed3ae7630d8df9afd | refs/heads/master | 2021-09-24T04:46:44.649224 | 2018-03-07T19:05:35 | 2018-03-07T19:05:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | h | // Page289.h: interface for the CPage289 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_Page289_H__F8E4F306_EE09_11D3_B2F2_00104B9CFF37__INCLUDED_)
#define AFX_Page289_H__F8E4F306_EE09_11D3_B2F2_00104B9CFF37__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_... | [
"tim@twool.com"
] | tim@twool.com |
c9d1281b8abf06db59aaa61bea27b8374f651aac | 551837821b6c6065117acde99d26820ad38b51b2 | /DiffRay_dist/sources/v1.0.0/grain_temp.cpp | dfddeb19992533f75f041459aede059b9db134cc | [] | no_license | olegbugaenko/DiffRay | 2deaab7be1ca3f347a3b0a09b1bf843e6e7443db | e1e5366ee3d27557cbeab1317688f38b2e7b03fd | refs/heads/master | 2020-07-06T09:27:05.082594 | 2020-05-17T15:19:04 | 2020-05-17T15:19:04 | 202,970,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | cpp | #include "basics.h"
#include "reader.h"
#include "grain_temp.h"
#include "geometry.h"
#include "string.h"
int GrainTemp::nBins = 20;
int GrainTemp::nsectors = 0;
int GrainTemp::iSector = 0;
int GrainTemp::nrows = 0;
double ***GrainTemp::gridTemps;
double GrainTemp::statistics[500000][100];
int GrainTemp::refreshStat... | [
"Izyuk.web@gmail.com"
] | Izyuk.web@gmail.com |
9d7fe1ea85ff7e274fff29ea1186480dd5a9b7ce | 79563f6a0e236cb3d7930a92c98c812022ceb2a4 | /src/manager.cpp | 68f77f64d5985f2478b1f9e858135eddcb43f533 | [] | no_license | JMS-1/dvbnet-ubuntu-server | 64756c8a5b9dbd387e86a6009119e22f5e91c55d | 62e20b75c9bb5320c2a95e5d164c8382492d3035 | refs/heads/master | 2022-01-24T21:37:03.321780 | 2022-01-07T10:02:36 | 2022-01-07T10:02:36 | 215,011,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,001 | cpp | #include "manager.hpp"
#include "threadTools.hpp"
#include <sys/socket.h>
#include <sys/stat.h>
// Schlüssel zur einfachen Verwaltung von Verbindungen erstellen.
#define INDEX_LIMIT 1000
int makeKey(int adapter, int frontend)
{
// Die Hardwaregrenze von maximal 1000 DVB Karten mit maximal 1000 Frontends sollte k... | [
"manns@insynergie.de"
] | manns@insynergie.de |
5b361ddd2d0e32bfb82ebec6c8b4d82acffda50b | 2c3f2af67a12f354cc357c87da915a924621f20a | /BackTracking_Branch-and-Bound/tempCodeRunnerFile.cpp | 8d5c4cc102646af2e8881cd25e700dbaa6de3f79 | [] | no_license | dungnguyen-art/Data-Structures-and-Algorithms | 92df0bf51bad9e4a1e1387ddd747ae2ee5ae4d3a | 268cfd7a1e55b8acecb1f920b9cc8c1e9435d8b3 | refs/heads/main | 2023-06-23T04:06:37.925373 | 2021-07-17T18:08:04 | 2021-07-17T18:08:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32 | cpp |
dem++; | [
"noreply@github.com"
] | noreply@github.com |
bd83aca7ec1cf343057f27189d02d02617dece58 | d8dde07d7c9cf75f7f18a91ab1dd74a4a261a9e7 | /contest/2013/“网宿科技杯”厦门大学第十届程序设计竞赛 现场决赛/H 1478.异或元组.cpp | 2632101fb1804c8cfa686b3144260c8a53e56149 | [] | no_license | tiankonguse/ACM | 349109d3804e5b1a1de109ec48a2cb3b0dceaafc | ef70b8794c560cb87a6ba8f267e0cc5e9d06c31b | refs/heads/master | 2022-10-09T19:58:38.805515 | 2022-09-30T06:59:53 | 2022-09-30T06:59:53 | 8,998,504 | 82 | 51 | null | 2020-11-09T05:17:09 | 2013-03-25T04:04:26 | C++ | UTF-8 | C++ | false | false | 1,213 | cpp | /*************************************************************************
> File Name: H 1478.异或元组.cpp
> Author: tiankonguse
> Mail: shen10000shen@gmail.com
> Created Time: 2013/5/12 14:10:41
************************************************************************/
#include<iostream>
#include<cstdio>... | [
"i@tiankonguse.com"
] | i@tiankonguse.com |
2f2f840e818586823991626ba3e46b0e61834919 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restbed-server/generated/model/ComDayCqReplicationImplContentDurboDurboImportConfigurationProvProperties.h | 1768d2b08463e44d1065e57836555099f9bb8c04 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 3,935 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
bc32246111165ef93748c1536601371dab40e490 | 10d5cbc8bfce2b7626835783ce56556ea4acddb6 | /Basic/Button_Led/Button_Led.ino | 81483f2b398020c488138ae8adb1ca457ce15a35 | [
"MIT"
] | permissive | Seeed-Studio/SidekickAdvancedKit_Lesson | b1bc0355a7744f4c3fb81245d89ddd008ac8ae9a | a7502bd36b2a485c6688e9a77d9951777a19ce05 | refs/heads/master | 2020-06-05T17:22:23.181984 | 2014-02-13T01:43:14 | 2014-02-13T01:43:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | ino | /*
Sidekick Advanced Kit Lesson - Button and Led
When the Button pressed, an led will on
loovee
2013-1-8
for more information, please refer to
http://www.seeedstudio.com/wiki/index.php?title=Sidekick_Advanced_Kit&uselang=en
Button connect to D2
Led connect to D13
*/
const int pinButton = 2; ... | [
"luweicong@qq.com"
] | luweicong@qq.com |
8ef39309c174191ba99a255eb582dbeba7b69fc6 | a10a7de8cc1e6fea954c07d565b7e98c64204d47 | /Server/SocketBase.h | 93307d36fe9b6cce60f4bb12a3982a34c0a43bbf | [] | no_license | NighTramp/Server | 2ea3e96d20e98103b9310bd64db016117f236987 | 8e494fc60ebeb3d3cb467f7b2deb09f4fc0b4d1e | refs/heads/master | 2020-04-21T08:42:31.801319 | 2019-02-08T13:08:24 | 2019-02-08T13:08:24 | 169,427,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | h | #pragma once
class SocketBase
{
private:
int amount;
int counter;
Connection* connections;
public:
void NewConnection();
bool InitServer();
SocketBase();
~SocketBase();
};
| [
"37777019+NighTramp@users.noreply.github.com"
] | 37777019+NighTramp@users.noreply.github.com |
06b73c105ea64f77ccf7bdd5c0432a8afec6c1c1 | a9f8b1aedd9269050b2c971a03be7f967b6bf4e5 | /src/main/base/cartotype_base.h | 4f61d799216d874b8f5c1b8afa75ce364c0a3b4f | [
"MIT"
] | permissive | CartoType/CartoType-Public-5-12 | ac4662f92cc84347bac7789c4e04f99e41539ca2 | 74d06ec6464ebb62ef8dc1cd5e9d2d1abaad6f98 | refs/heads/master | 2021-04-21T10:17:50.664860 | 2020-06-27T10:19:14 | 2020-06-27T10:19:14 | 249,771,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,781 | h | /*
cartotype_base.h
Copyright (C) 2004-2020 CartoType Ltd.
See www.cartotype.com for more information.
*/
#ifndef CARTOTYPE_BASE_H__
#define CARTOTYPE_BASE_H__
#include <cartotype_errors.h>
#include <memory>
#include <vector>
#include <cmath>
#include <functional>
#include <array>
// Undefine the min and max macros... | [
"graham.asher@cartotype.com"
] | graham.asher@cartotype.com |
f8ca3740cba5a78c69d531d925977630ca182222 | 72e51eaf7ff10abd36b9fb81aa16aaac0953a882 | /prj.objed/objedutils/src/objedconfig.cpp | b36c7ec89b548d0b2b67c087f1409a3176240415 | [
"BSD-2-Clause"
] | permissive | usilinsergey/objed | 8f4fe614d8ecfe66f091e8b58996d2a3959f3262 | a5d0c82382a6546d5d4c649f153eec94c4ade0ee | refs/heads/master | 2020-06-01T12:09:28.075259 | 2017-04-07T17:00:41 | 2017-04-07T17:00:41 | 32,329,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,151 | cpp | /*
Copyright (c) 2011-2013, Sergey Usilin. All rights reserved.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this l... | [
"usilin.sergey@gmail.com"
] | usilin.sergey@gmail.com |
7ac46c56934b68350496f8726eda3ad02ac8241f | f93a0374b0ef03cfdeb4894b79ecc85ce49d085d | /src/qt/sendcoinsdialog.cpp | 951f7ecfe14ef6c942206c7c99679bc714880877 | [
"MIT"
] | permissive | hellocrypto/blackpearl | 274d7c90a8a46ac3242e244279d4e6eb0f485e8b | ba039a51f50b55d3087e77de0f4639e722f465cc | refs/heads/master | 2021-01-20T18:48:29.258224 | 2018-04-19T08:29:04 | 2018-04-19T08:29:04 | 90,931,761 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,902 | cpp | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "init.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "addressbookpage.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrased... | [
"root@ubuntu-1gb-sgp1-01.localdomain"
] | root@ubuntu-1gb-sgp1-01.localdomain |
dcf48a0e911cc44e81f849fe870af3e7f4996c7d | 3fa4c9512a1852cfd8e8cb7f0fc564f9d9a43188 | /arduino/v1/remote/remote_mothbot/remote_mothbot.ino | 811af75b691585b60b0aceae6791e66f2d5e5db1 | [] | no_license | dwblair/signalcli-node-serial | d1f55f18c1cb68040c261bbf11bd07335acafd61 | 1339ad6d4d851342c1e777c7b9a75a7e7afe5560 | refs/heads/main | 2023-03-23T16:06:52.828645 | 2021-02-23T03:38:24 | 2021-02-23T03:38:24 | 340,472,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,223 | ino |
#include <Arduino.h>
#include <U8g2lib.h>
//#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
//#endif
//#ifdef U8X8_HAVE_HW_I2C
#include <Wire.h>
//#endif
#include <RH_RF95.h>
// Radio pins for mothbot
#define RFM95_CS 8
#define RFM95_RST 7
#define RFM95_INT 2
U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0, /* reset... | [
"donblair@gmail.com"
] | donblair@gmail.com |
dc8bb750eba3cda306f803ae5b2b65ea3ef33c0b | da16251ad12fd30904c97b9cbbc314d718e304c7 | /test/high_level.cpp | 332f02cd91dd0899c97654daf031f017ef587358 | [
"ISC"
] | permissive | rubythonode/jni.hpp | 514263214ef909483cc60804bd22ab8c886d76af | 25a40bf707e462a9ff999c158c6f512215dbd48e | refs/heads/master | 2021-07-18T03:33:00.326365 | 2017-10-26T16:18:03 | 2017-10-26T21:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,621 | cpp | #include "test.hpp"
#include <jni/jni.hpp>
#include <cassert>
#include <iostream>
namespace
{
struct Test { static constexpr auto Name() { return "mapbox/com/Test"; } };
void Method(jni::JNIEnv&, jni::Object<Test>) {}
int StaticMethod(jni::JNIEnv&, jni::Class<Test>) { return 0; }
struct Peer
... | [
"john.firebaugh@gmail.com"
] | john.firebaugh@gmail.com |
faca230944c92cb170d3ac8a943839184cc652fc | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /TestDrawPic/RenderController/UpdateTransformingCtrller.cpp | 1a5b802af85ad85f29ca93f7f7207b587a811ea8 | [] | 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 | 559 | cpp | #include "stdafx.h"
#include "UpdateTransformingCtrller.h"
#include "ODL/BaseODL.h"
void Update(BaseODLSPtr& odl)
{
for ( auto& curChild : odl->GetChildrenList() )
{
curChild->UpdateAbsoluteTransform();
Update(curChild);
}
}
UpdateTransformingCtrller::UpdateTransformingCtrller(const SRenderContextWPtr& rc):... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
ee789b4835faf60d0a44b202d98e53e7e0f61edc | 4252dd065e8dc035c9ed416886ebc8f0a84c7388 | /inline_task.h | c5384fe379a27a6b6c3fe0fd4f0f44de85cb588e | [] | no_license | jerryct/execution | 6dabd432812d9ee536e722aa1b2a44dae42deb02 | edbccfdc501b3b698e71be03aaf2818f60dfe9ed | refs/heads/main | 2023-09-01T10:10:26.459664 | 2021-11-14T19:02:53 | 2021-11-14T19:02:53 | 417,486,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | // SPDX-License-Identifier: MIT
#ifndef INLINE_TASK_H
#define INLINE_TASK_H
#include <utility>
namespace execution {
namespace inline_task_detail {
template <typename P> struct task {
P p_;
void start() { p_.set_value(); }
};
struct Sender {
template <typename P> auto connect(P p) const { return task<declty... | [
"jerry.c.t@web.de"
] | jerry.c.t@web.de |
20981f88596a83b6469eb2c281c4110fba8c30b5 | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /DQM/HcalTasks/interface/ZDCQIE10Task.h | 50f39e909fa852b1fb34c1e11aec47ee511d98fb | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 747 | h | #ifndef ZDCQIE10Task_h
#define ZDCQIE10Task_h
/*
* file: ZDCQIE10Task.h
* Author: Quan Wang
* Description:
* Task for ZDC Read out
*/
#include "DQM/HcalCommon/interface/ElectronicsMap.h"
class ZDCQIE10Task : public DQMEDAnalyzer
{
public:
ZDCQIE10Task(edm::ParameterSet const&);
~ZDCQIE10Task() overrid... | [
"BetterWang@gmail.com"
] | BetterWang@gmail.com |
3c3bcb164d8a1c34323330b44e8ccf9a60cc9ecd | 741c1f36f86d85de1de7a3dff330d9208d0748b1 | /Lesson-2/week-2/proj-6-1.cpp | 834315019942ad3a5b03d5b81c125fece0beef4f | [
"Apache-2.0"
] | permissive | Amazingxt/Coursera_C-_Lesson | d97c31b110b04745c6ed1c78470e33245baf6995 | 1cab6ef2eb2e01312231bba9dd01d10565dad1d6 | refs/heads/master | 2020-07-04T17:45:44.892955 | 2019-08-14T14:22:03 | 2019-08-14T14:22:03 | 202,359,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
char a[101][101];
int n, m, sum = 0;
cin >> n;
for(int i = 0;i < n; i++)
{
for(int j = 0; j < n; j++)
{
cin >> a[i][j];
}
}
cin >> m;
for(int d = 1; d <= m; d++)
{
... | [
"aimingzhong@foxmail.com"
] | aimingzhong@foxmail.com |
1d66afb2a944b176e390f6264c885b4c5fc175e2 | c1ff870879152fba2b54eddfb7591ec322eb3061 | /core/sceneManager/network/3rdParty/raknet/DependentExtensions/GFx3/FxGameDelegate.cpp | 9d4fa25978eafb44a5c95f24fab19a6e7fcf652c | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 3,562 | cpp | /**********************************************************************
Filename : FxGameDelegate.cpp
Content : Communication logic for CLIK GameDelegate
Created :
Authors : Prasad Silva
Copyright : (c) 2005-2009 Scaleform Corp. All Rights Reserved.
This file is provided AS IS with NO WARRAN... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
44ef24607cf9b9ea31a4a142a9525b4b57112f46 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc | d5e1848d7409a2fd07101692918ecb210f5c6357 | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 7,401 | cc | // Copyright (c) 2011 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/sync/notifier/non_blocking_invalidation_notifier.h"
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
ae5bc17d84df75b2b79fd1cef8f0d802e8cd117f | b0526282542f0cffa51be6411e7c9d24686c7a92 | /thirdparty/MatlabIO/matlabfile.h | d43786d715fa1cc1470722ef95341ef757cb9ddc | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | ShuMeng/map3d | 966f19aed42ce52a93cb29369becb4cd5186db9b | 0610782ba4cccb0374237db1b2363568d9667fb9 | refs/heads/master | 2020-03-22T16:51:18.804281 | 2019-02-27T05:00:02 | 2019-02-27T05:00:02 | 140,356,491 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,899 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2004 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person obtaini... | [
"smen974@aucklanduni.ac.nz"
] | smen974@aucklanduni.ac.nz |
ac3272978839568a760d21c702ec233d10b7f5fa | 8d2471954c81a5d22a12413c3737b6ef1f423844 | /HB-UNI-Sen-CAP-MOIST.ino | 681b7921b596e90ea2dff5670f1ec8ef3a553321 | [] | no_license | jgrabitzky/HB-UNI-Sen-CAP-MOIST | 6d0d1dd48723d1b4e4e76a5ce6eee6227ff7be06 | 99e5c861460e8c7ed68963e6ef78a3b8aa8a99d8 | refs/heads/main | 2023-04-05T07:26:01.748428 | 2021-04-26T06:57:48 | 2021-04-26T06:57:48 | 361,648,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,592 | ino | //- -----------------------------------------------------------------------------------------------------------------------
// AskSin++
// 2016-10-31 papa Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de/
// 2019-05-03 jp112sdl Creative Commons - http://creativecommons.org/licenses/by-nc-sa/3.0/de... | [
"joerg@Joergs-MBP.fritz.box"
] | joerg@Joergs-MBP.fritz.box |
9d32420dd3f765be2e944c80527cd4fef20bbac9 | a4b7b99ec8a127a8f729466df5107167e0abe6ec | /gomoku.h | ac9f7508dbac1be7fd6cd2e2f46e006801a55b17 | [] | no_license | StephenWeiXu/Parallel-Monte-Carlo-Tree-Search-On-Distributed-Memory-Machine | 8f96fa7b5c5a854e09f7e73f576b300b9657b2cc | 1f749e31ea75a7e4f609783146bef3176995a276 | refs/heads/master | 2021-01-21T23:54:14.933192 | 2015-12-10T16:44:21 | 2015-12-10T16:44:21 | 46,503,094 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | h | #include <algorithm>
#include <iostream>
using namespace std;
#include "mcts.h"
#include "mersenne.h"
class GomokuState
{
private:
int num_rows, num_cols;
vector<vector<char>> board;
int last_col;
int last_row;
void check_invariant() const{
assert(player_to_move == 1 || player_to_move == 2);
}
public:
typ... | [
"stephenweixu@gmail.com"
] | stephenweixu@gmail.com |
2351eccd0b1230d78345c7e2675db44358bdd774 | 740fdf1cca74bdb8f930a7907a48f9bdd9b5fbd3 | /remoting/host/capture_scheduler.h | b3136e78d84d88f5b526b830dd095893b10de7e9 | [
"BSD-3-Clause"
] | permissive | hefen1/chromium | a1384249e2bb7669df189235a1ff49ac11fc5790 | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | refs/heads/master | 2016-09-05T18:20:24.971432 | 2015-03-23T14:53:29 | 2015-03-23T14:53:29 | 32,579,801 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,034 | h | // Copyright (c) 2011 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.
// This class chooses a capture interval so as to limit CPU usage to not exceed
// a specified %age. It bases this on the CPU usage of recent capture ... | [
"hefen2007303257@gmail.com"
] | hefen2007303257@gmail.com |
02e387463c4a65205d5c3ff763b0177aad54b6cd | e990c076dc15587cc2d9991ee378800d742f22bb | /KraevayaZadacha/MainTask.h | fa9c115d0d8f55ca10c3bdfd023b3a2f03a0ae44 | [] | no_license | RodionovDenis/S-S-G-R-team-autumn | 84b1e10112066857eef3380f0e4ac4f7c3aa2b1c | 85a919392588d891bdfb091360f6564da1a40747 | refs/heads/master | 2022-04-17T02:25:57.493835 | 2020-03-21T12:04:43 | 2020-03-21T12:04:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,872 | h | #pragma once
#include "Task.h"
#include "Koefficient.h"
namespace KraevayaZadacha {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Св... | [
"denisrodionov5@gmail.com"
] | denisrodionov5@gmail.com |
32560c46d9491c0536acd09e463fce359fa7e121 | 3d9c6163656436abed072a7b56534ecae1ca2f66 | /Sources/x10/xla_tensor/ops/upsample_nearest2d_backward.h | 6b9dd850be3ff2dd85b3d65c3e46eb4b1e707c14 | [
"Apache-2.0"
] | permissive | kongzii/swift-apis | 5c807e12e443bf032cbf78f8cbbe0d75fed14082 | cd2236fb51c20d3c9bbf1b37524cf9bc2ed04ce6 | refs/heads/master | 2020-11-28T20:17:45.644349 | 2020-10-05T18:00:51 | 2020-10-05T18:00:51 | 220,660,173 | 0 | 0 | Apache-2.0 | 2019-11-09T15:14:09 | 2019-11-09T15:14:08 | null | UTF-8 | C++ | false | false | 1,441 | h | /*
* Copyright 2020 TensorFlow Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | [
"noreply@github.com"
] | noreply@github.com |
33da8504f07a9525d146f9c2037a025c04166d6d | 1a29bb587dcf09dac045320bf55974682a355fa3 | /include/dui/Control/UIComboBox.h | d887c6f74ee56dbec2ad26356416f61b5208303a | [] | no_license | lcksfa/cmake_duilib | 272026833aaf6108c5527a7a73545cb476f74a08 | 50184bd216d34a880ed900c4fca0c0afc32cd90e | refs/heads/master | 2021-07-17T10:40:08.219072 | 2020-06-07T13:56:59 | 2020-06-07T13:56:59 | 159,792,859 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 692 | h | #ifndef __UICOMBOBOX_H__
#define __UICOMBOBOX_H__
#pragma once
namespace ui
{
/// 扩展下拉列表框
/// 增加arrowimage属性,一张图片平均分成5份,Normal/Hot/Pushed/Focused/Disabled(必须有source属性)
/// <Default name="ComboBox" value="arrowimage="file='sys_combo_btn.png' source='0,0,16,16'" "/>
class UILIB_API CComboBoxUI : public CC... | [
"yousaid820@163.com"
] | yousaid820@163.com |
e3f355f07e507122ce26eb140465b4f8d953a184 | c4ee6fa156544019fa217294356a104395376e5d | /simulator/extern/plog/Appenders/ConsoleAppender.h | bad0ee13f74d378b9deb2b5c04158408bfb11134 | [
"MIT"
] | permissive | UA-RCL/RANC | d2e4a01396d6c42ae34379b1e17847885c201f77 | 8cf11c541363dcd5dc71b3ce5af7135670d13467 | refs/heads/master | 2023-08-23T22:48:18.873593 | 2022-12-14T02:16:50 | 2022-12-14T02:17:17 | 246,691,079 | 26 | 9 | MIT | 2023-03-24T22:38:14 | 2020-03-11T22:19:04 | VHDL | UTF-8 | C++ | false | false | 1,492 | h | #pragma once
#include <plog/Appenders/IAppender.h>
#include <plog/Util.h>
#include <plog/WinApi.h>
#include <iostream>
namespace plog
{
template<class Formatter>
class ConsoleAppender : public IAppender
{
public:
#ifdef _WIN32
ConsoleAppender() : m_isatty(!!_isatty(_fileno(stdout))... | [
"mackncheesiest@gmail.com"
] | mackncheesiest@gmail.com |
938c84f8847b4371253ccb38a6f7c67072e34048 | 27d89c459f423b9ad2ca793547f15692c731eec6 | /code/fast_trimesh.h | 43799c707ddc62ed60557a87d46fa4858520046f | [
"MIT"
] | permissive | TrendingTechnology/FastAndRobustMeshArrangements | 528eaf0ededcd29e385a1702ea422c8e5ffd254e | 60d2c9eb80845e03190fdb1ca160d2e2088b52f0 | refs/heads/master | 2023-02-03T23:40:58.960298 | 2020-12-11T15:03:49 | 2020-12-11T15:03:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,394 | h | /*****************************************************************************************
* MIT License *
* *
* Copyright (c) 2020 Gianmarco Cherchi, Marco ... | [
"gianmarcher@gmail.com"
] | gianmarcher@gmail.com |
c03b86f2d7ba2963b43d36eff4a1f5298960cf98 | d5e43c17289866b9dc6c3ecca2527bdae172edf4 | /Baekjoon/2863_Fraction.cpp | 79318a1650d8ee2c16044ffdf146ad4df92a7c96 | [] | no_license | skqoaudgh/Algorithm_studying | 81dfc4a60c88b434863707bb841a18deb69adcab | 61e49dc159ea4b591bd01b80f8a6a0fc96dd96c6 | refs/heads/master | 2021-07-11T23:36:58.333780 | 2020-06-15T06:38:58 | 2020-06-15T06:38:58 | 158,647,211 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | #include <cstdio>
int main()
{
int A,B,C,D;
double sum[4];
scanf("%d %d %d %d",&A,&B,&C,&D);
sum[0] = (double)A/C + (double)B/D;
sum[1] = (double)C/D + (double)A/B;
sum[2] = (double)D/B + (double)C/A;
sum[3] = (double)B/A + (double)D/C;
int max = sum[0];
int idx = 0;
for(int i=1; i<4; i++)
{
if(max < su... | [
"skqoaudgh2@hanmail.net"
] | skqoaudgh2@hanmail.net |
1610dde9bc94412314b0ef7663a5f81a7a12eb6f | 085b22ef35b3e82eea68c9086037dc1909c83257 | /Brackets/main.cpp | 8950858211937423ea548eef54e09e75d0c08bc8 | [] | no_license | marcelozeballos/SPOJ---OBI | b3e7311493b90424a75c51cbbef823259090c759 | 0d1d893765ea119e74adc96ee67c53eb580c29f4 | refs/heads/master | 2021-01-10T19:16:15.988297 | 2014-10-09T19:32:28 | 2014-10-09T19:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include <iostream>
#include <string>
#include <cstdio>
#include <algorithm>
using namespace std;
int main()
{
int n; cin >> n;
string brackets;
for(int i = 0; i < n; i++)
brackets += '(';
for(int i = 0; i < n; i++)
brackets += ')';
cout << brackets << endl;
while(next_permutat... | [
"zeballosmarcelo@icloud.com"
] | zeballosmarcelo@icloud.com |
1102300d088f891e90a060c629119a2f3f0f7acc | 4e7ca0db7ace6a7efb5c2dad32d9a6c1219b3d64 | /OCVCapture.cpp | 4a404656ee681c2dd6d0fd5d483905a2ee1c52e2 | [] | no_license | je310/OCVCapture | 6b0c9b31364aaf98c63bedec70e8845789a0aec0 | 5c563d644bcbcfe3d168ca03bb71d7ff5ed31ddc | refs/heads/master | 2016-09-16T14:51:20.838900 | 2013-07-03T11:04:50 | 2013-07-03T11:04:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,833 | cpp | //
// OCVCapture - Code for capturing video frames using
// v4l2 into OpenCV Mat wrappers
//
// Written in 2012 by Martin Fox
//
// To the extent possible under law, the author(s) have dedicated all
// copyright and related and neighboring rights to this software to
// the public domain worldwide. This software is dis... | [
"je310@imperial.ac.uk"
] | je310@imperial.ac.uk |
33eb4f112ad4b202e82ac06105d6275dfaa5b88b | be4594dfed78a484b825e6954f0d51590b1818fb | /dscgen/data/STM32/F1/nvic_irqn_conn.inc | 933a2bf6ab51ac31047fbcabe198a4bd0f843f52 | [
"MIT"
] | permissive | a-sv/lmcu | 7f218b994c63a01755e7356cd79a05a522e51f36 | 4dd3e0e97ef85c4a26cd5b03fae34e6ad14d6b92 | refs/heads/master | 2023-02-20T15:38:16.157242 | 2023-02-17T22:06:38 | 2023-02-17T22:06:38 | 124,688,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | inc | nvic_irqn:
$extends: ../nvic_irqn.inc | nvic_irqn
wwdg: 0
pvd: 1
tamper: 2
rtc: 3
flash: 4
rcc: 5
exti0: 6
exti1: 7
exti2: 8
exti3: 9
exti4: 10
dma1_channel1: 11
dma1_channel2: 12
dma1_channel3: 13
dma1_channel4: 14
dma1_channel5: 15
dma1_channel6: 16
dma1_channel7: 17
adc1: 18
... | [
"runtime.rnt@gmail.com"
] | runtime.rnt@gmail.com |
3305e23e627dfbd45b1b5ee39900ba06ac8e747e | 26ba18f15532023552cf9523feb84a317b47beb0 | /JUCE/modules/juce_core/misc/juce_Result.h | 2d8cd46de39156f8e1dc4e55008846e04390940a | [
"GPL-1.0-or-later",
"GPL-3.0-only",
"ISC",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | Ultraschall/ultraschall-soundboard | d3fdaf92061f9eacc65351b7b4bc937311f9e7fc | 8a7a538831d8dbf7689b47611d218560762ae869 | refs/heads/main | 2021-12-14T20:19:24.170519 | 2021-03-17T22:34:11 | 2021-03-17T22:34:11 | 27,304,678 | 27 | 3 | MIT | 2021-02-16T20:49:08 | 2014-11-29T14:36:19 | C++ | UTF-8 | C++ | false | false | 3,729 | h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under ... | [
"daniel@lindenfelser.de"
] | daniel@lindenfelser.de |
97e7b98a5f153d14e9e8505acba09fecf0f7df42 | b825767bc7c7128bb81ff63fa300395d0cc2fc7c | /GetDataThingSpeak/sketch_nov12a/sketch_nov12a.ino | 5ce9aff1f8563fc1ff372551160577909a5b79b0 | [] | no_license | hezopoy/FaceAPI-IOT | d51deebdc7c03cbdb070d4e224a3bd02b969abbf | cad54bca68307829f31a6227ca765d204b1c5fd0 | refs/heads/master | 2020-04-06T15:22:06.970379 | 2018-12-02T15:41:48 | 2018-12-02T15:41:48 | 157,576,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,235 | ino | #include <ESP8266WiFi.h>
#include <ArduinoJson.h>
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
#include <stdlib.h>
WiFiServer server(80);
/*Define LiquidCrystal_I2C - lcd */
LiquidCrystal_I2C lcd(0x3F, 20, 4);
char host[] = "api.thingspeak.com"; // ThingSpeak address
String APIkey = "624367"; ... | [
"noreply@github.com"
] | noreply@github.com |
f6763178a087b3a9f1e418f22140242a58c75b49 | c102d77e7e363d043e017360d329c93b9285a6be | /Sources/Engine/Graphics/SceneManager.cpp | 68e7bc9acd207446a5e6595a91aa3b1959372261 | [
"MIT"
] | permissive | jdelezenne/Sonata | b7b1faee54ea9dbd273eab53a7dedbf106373110 | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | refs/heads/master | 2020-07-15T22:32:47.094973 | 2019-09-01T11:07:03 | 2019-09-01T11:07:03 | 205,662,360 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,999 | cpp | /*=============================================================================
SceneManager.cpp
Project: Sonata Engine
Author: Julien Delezenne
=============================================================================*/
#include "SceneManager.h"
#include "Graphics/System/RenderSystem.h"
#include "Graphics/Shader/... | [
"julien.delezenne@gmail.com"
] | julien.delezenne@gmail.com |
44aeba2a6ecbee718051f83373956931c0690622 | f8976de87d3be3fbcff061b4b981756924a05c42 | /c++/codeblocks/AVL_Tree/Node.h | ec15c960aa56881a1f2525caab65ec7bf63cb2f7 | [] | no_license | blasdch18/AED | 90610bee2d12dd2fceddfeded445acc93303ef17 | a785f1aa7572bfcbe2f75ee1b302cd4961d4d057 | refs/heads/master | 2021-05-20T10:29:35.783024 | 2020-04-01T18:18:57 | 2020-04-01T18:18:57 | 252,247,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | h | #ifndef NODE_H
#define NODE_H
#include <stack>
using namespace std;
template<class T>
class Node
{
public:
Node(T);
T& get_data();
int& get_high();
void set_highN(int);
Node* sons[2];
virtual ~Node();
protected:
private:
T data;
in... | [
"blas.cruz@ucsp.edu.pe"
] | blas.cruz@ucsp.edu.pe |
b87c13f9721e0c627720fabec5b3c602cec9bf34 | 0b90d18bf8e2000d3c47a17f3403be51b4a8ecd8 | /src/Externals/MediaMessagingLibrary/src/MediaMessage/MessageHandler.cpp | 6a7c4c6b1745a87859d5bb9bf3141dd1e5f3b1cb | [
"MIT"
] | permissive | merced317/scirun4plus | c3d8d65dd68f9d119b43cf084ea8b9d94921ce33 | f29630e03d3cf13c0ce8b327676ad202e3981af0 | refs/heads/master | 2020-12-10T19:20:18.401161 | 2018-06-27T09:21:54 | 2018-06-27T09:21:54 | 233,683,375 | 0 | 0 | null | 2020-01-13T20:09:14 | 2020-01-13T20:09:13 | null | UTF-8 | C++ | false | false | 999 | cpp | #include <sstream>
#include "MessageHandler.h"
#include "Message.h"
namespace BioMesh3d
{
MessageHandler::MessageHandler()
{
}
MessageHandler::~MessageHandler()
{
}
void MessageHandler::register_callback( MessageTypes::MessageType message_type,
boost::function< void ( MessageHandle ) > mes... | [
"ppetrov@joker.umcutrecht.nl"
] | ppetrov@joker.umcutrecht.nl |
701edd43410f93d58eb3ff721d1945008a370ce5 | ab0dcab89f39d12746ad2b3506e1c2c34d8f1bf4 | /LUOGU/P1262_1864088.cpp | 434e2e1567c92896b325f08d6e570d06948dc6e3 | [] | no_license | lum7na/ACM | f672583ff3022bc916d9cd3d721f0a464b287042 | fa667f4105450ec48e9b1d1b062f1444b6f0da32 | refs/heads/main | 2023-05-06T21:23:13.069269 | 2021-06-01T11:56:16 | 2021-06-01T11:56:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | cpp | #include <cstdio>
#include <vector>
#include <cstdlib>
#include <stack>
#include <algorithm>
#include <cstring>
using namespace std;
int N,P,R,cost[3010],sccno[3010],pre[3010],lowlink[3010],dfs_clock,scc_cnt;
int mincost[3010],ans,vis[3010],ok,in[3010];
vector<int> G[3010],scc[3010];
stack<int> S;
void i... | [
"aster2632@gmail.com"
] | aster2632@gmail.com |
6a1e6efca90d8329fcd12038c7febbb522147fc6 | 3fc7c3d4a697c418bad541b2ca0559b9fec03db7 | /utils/base64/base64.h | 34f6e9c7c5e68e8954061a296dd56dc24c0e61a0 | [] | no_license | songxingzai/APKAnalyserModules | 59a6014350341c186b7788366de076b14b8f5a7d | 47cf6538bc563e311de3acd3ea0deed8cdede87b | refs/heads/master | 2021-12-15T02:43:05.265839 | 2017-07-19T14:44:59 | 2017-07-19T14:44:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | h | #include <string>
std::string base64_encode(unsigned char const* , unsigned int len);
std::string base64_decode(std::string const& s);
| [
"leehdsniper@gmail.com"
] | leehdsniper@gmail.com |
1b5ec3ee589554ac5f517d4e294539901c20cc89 | 0311157f04e7eb64f2b776723cd2fb730cc11526 | /OOPS/factorial.cpp | 1781c11a19f42dde445d8fcfca68cd0de7b20ed8 | [] | no_license | ssaahhaajj/College | 06f6a175cbfcbb6bb9a538b7bf6b2ed3651765d9 | 42cf83b302b0d71dcd932775c3108e27a5497fd6 | refs/heads/master | 2020-04-01T00:21:55.861163 | 2017-11-07T17:35:03 | 2017-11-07T17:35:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include <iostream>
using namespace::std ;
int fac( int num ) {
if(num == 0) {
return 1 ;
}
return num * fac(num-1) ;
}
int main () {
int x,y ;
cout << "Enter Num : " << endl ;
cin >> x ;
cout << "Facotrial : " << fac(x) << endl ;
}
| [
"pythonbrilliant@gmail.com"
] | pythonbrilliant@gmail.com |
17cff1d2f53a34a9f49489bfa0556ec491f44d3e | 39c3db8e1aed910aebd882bff86886d475675bbb | /kolejka.cpp | 94c66936cb4b91538acce59f86cb07db58cfb8b1 | [] | no_license | nagly/bandwidth-fragmentation-eon | 8c7c54dd81cbee54988ef421b3f1474137a468c8 | 3730d3ac59936306c2dadc4a85fc2a6f4dcb83fe | refs/heads/master | 2021-01-10T06:55:47.581246 | 2015-10-02T08:49:22 | 2015-10-02T08:49:22 | 43,541,949 | 0 | 0 | null | 2015-10-02T08:49:22 | 2015-10-02T08:07:31 | null | UTF-8 | C++ | false | false | 14,436 | cpp | #include "kolejka.hpp"
#include "funkcje.hpp"
CKolejka::CKolejka()
{
m_psKolejka = new SZadania[m_uIloscUni+m_uIloscMulti];
}
CKolejka::CKolejka(const CKolejka& fKolejka)
{
m_psKolejka = new SZadania[m_uIloscUni+m_uIloscMulti];
for (unsigned i = 0; i < m_uIloscMulti+m_uIloscUni; i++){
m_psKolejka[i... | [
"nagly.piotrek@gmail.com"
] | nagly.piotrek@gmail.com |
47c25726a0a3a2c3a4a012c8dcfab83c8dac5b4a | b7fc8816d52e9c7fef0e4b8f52aac6c4c066f00f | /src/HideDebugger/HideDebuggerConfig.cpp | bd46a3944a94698cbe9cff85ebb4a5d54133f4d7 | [] | no_license | fuwujiaxx/IDAStealth-v1.3.3 | d574a09bca11faedbc28d3fb4c2cd6e9c3b2b21e | 35d4940f19a03548070d26a27d781551122e3abf | refs/heads/master | 2023-08-19T08:12:00.533196 | 2018-04-04T01:58:17 | 2018-04-04T01:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,117 | cpp | #include <boost/filesystem.hpp>
#include "HideDebuggerConfig.h"
#include <IniFileAccess/IniFileAccess.h>
#include <shlwapi.h>
#include <ShlObj.h>
#include <shellapi.h>
namespace
{
const char* EnabledStr = "enabled";
const char* ModeStr = "mode";
const char* ValueStr = "value";
const char* DefaultConfigFile = "Hid... | [
"qnida@qq.com"
] | qnida@qq.com |
e6e99dfd5e9afcaf0fc6ba4f7fb54435b738af45 | 85849b1d1138a8c6ab6d7791ba01897cf0f6b670 | /src/Utilities.h | bb228c70a76432be945b26a9a2960d10b2c04852 | [] | no_license | jessicah/Vision | e2623421c92b0e4ee803101689d813a92a784637 | 7b56ab730bb91572fc628bd8cac591510ffb5ba1 | refs/heads/master | 2021-01-24T02:45:06.066641 | 2012-09-02T23:29:40 | 2012-09-02T23:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,794 | h | /*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS... | [
"jessica@megworld.co.uk"
] | jessica@megworld.co.uk |
6a3546427f19688162a8a1d814812a0745c75349 | 9388adfe19bf41413a0b0ff080a84486b8cfca18 | /GAMEPIA3/_SAVE_/10022014/MY.LIB/RECTS.CPP | b381ae44fe31220788f15b4f8294e8ee192d50dc | [] | no_license | wiz3267/newtastement | 2d7168b76902c3198c399d992b1e4d896f3ad626 | f467448bf02ff74b49f1f69595758d7480e2db5c | refs/heads/master | 2022-11-26T02:06:13.576146 | 2020-07-30T08:44:39 | 2020-07-30T08:44:39 | 281,364,109 | 1 | 0 | null | null | null | null | IBM866 | C++ | false | false | 4,745 | cpp | ////////////////////////////////////////
// Copyright (C) Лапшин Евгений, 1997 //
////////////////////////////////////////
#include "rects.h"
#include "debug.h"
#define TRUE 1
#define FALSE 0
//обменивает две переменные
void swap(int& a,int& b)
{
int c=a;
a=b;
b=c;
}
//решает задачу нахождения пересечения множ... | [
"evg-lapshin@mail.ru"
] | evg-lapshin@mail.ru |
b391c0af1320a5841dbd74583651a6d62124533e | b4e9ff1b80ff022aaacdf2f863bc3a668898ce7f | /lime/Dellipse/Export/macos/obj/src/cpp/Prime.cpp | 7b1434481ace95eeeec5d29d301b547f91bae383 | [
"MIT"
] | permissive | TrilateralX/TrilateralSamples | c1aa206495cf6e1f4f249c87e49fa46d62544c24 | 9c9168c5c2fabed9222b47e738c67ec724b52aa6 | refs/heads/master | 2023-04-02T05:10:13.579952 | 2021-04-01T17:41:23 | 2021-04-01T17:41:23 | 272,706,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,405 | cpp | // Generated by Haxe 4.2.0-rc.1+7dc565e63
#include <hxcpp.h>
#ifndef INCLUDED_cpp_Prime
#include <cpp/Prime.h>
#endif
#ifndef INCLUDED_haxe_Exception
#include <haxe/Exception.h>
#endif
HX_LOCAL_STACK_FRAME(_hx_pos_3ebd15a06a902e93_34__loadPrime,"cpp.Prime","_loadPrime",0xdd360794,"cpp.Prime._loadPrime","/usr/local/li... | [
"none"
] | none |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.