blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ab7f0768dad9b5fa57d3b3d01144131a92417979 | c389bd8f45c31a7fb6ed22097208abc4607b114d | /DeskTopSprite/desktopsprite.h | d45b4fd6891e25dfb39ea0ce27e4e8b4fab2952b | [] | no_license | secrectFG/DesktopSprite | 0f5ea18c56cce858fbf066ee2fcea0a3463ca31d | 74dd9da6cb67345be0b290bb1a33632a8bcaa200 | refs/heads/master | 2023-03-16T04:14:08.317976 | 2022-07-07T04:15:13 | 2022-07-07T04:15:13 | 511,379,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | h | #ifndef DESKTOPSPRITE_H
#define DESKTOPSPRITE_H
#include "ui_desktopsprite.h"
#include "luaScript.h"
#include "IFrame.h"
#include "mersenne_twister.h"
typedef std::vector<QPixmap *> PICLIST;
struct RenderData
{
bool bMirror;
QPixmap* pic;
int x;
int y;
};
typedef std::vector<RenderData> RENDERDATA_LIST;
class... | [
"2724652+secrectFG@users.noreply.github.com"
] | 2724652+secrectFG@users.noreply.github.com |
03a0e29fa1eb2b80abdd494bb4c3d19a30feca79 | f4f8e9b55f4ec4a6733bd71596c7206d1270094b | /tensorflow-yolo-ios/dependencies/eigen/unsupported/test/kronecker_product.cpp | eed03ba5a8b2c56f2deb6664bb01ffd82c189e36 | [
"MIT"
] | permissive | initialz/tensorflow-yolo-face-ios | 1e71a73c9814a24fc3ca36a61f2abc7a4b32ad63 | ba74cf39168d0128e91318e65a1b88ce4d65a167 | refs/heads/master | 2021-08-19T19:22:34.604864 | 2017-11-27T07:39:21 | 2017-11-27T07:39:21 | 112,151,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:05b9ed8edebdd687cd8ea61a714d4ec2f1568a2e0b57867b41dd8e032fde221d
size 9096
| [
"kaiwen.yuan1992@gmail.com"
] | kaiwen.yuan1992@gmail.com |
09b173ac78c21d6c8432cf5dd4b3da8a6c9fed9d | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/tar/old_hunk_441.cpp | 4ca661ac4f3321279f2c123bd54a531ea205508b | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | cpp | return value;
out_of_range:
ERROR ((0, 0, _("Octal value `%.*s' is out of range for %s"),
(int) digs0, where0, type));
return -1;
}
gid_t
| [
"993273596@qq.com"
] | 993273596@qq.com |
7bd21fdc2ad6292303bbeb42d523cd3dd6eb0519 | 746b933acfb87c3f843b6dca05eaf2860f772e40 | /loj.ac/loj10222.cpp | 26cd746f5f71505eb17391288ceb898abb947b15 | [] | no_license | wky32768/my-code | 5824591e54cf3d4559489980572da80e15f7fd8a | 3333809960808b28463b129a3bd6e6da17436a74 | refs/heads/master | 2020-04-14T01:43:09.761073 | 2019-11-13T02:31:51 | 2019-11-13T02:31:51 | 163,567,579 | 2 | 0 | null | 2019-04-10T11:34:17 | 2018-12-30T06:41:57 | C++ | UTF-8 | C++ | false | false | 975 | cpp | /*
s[i]:f[1]+f[2]...+f[n];
p[i]=(i-1)*f[1]+(i-2)*f[2]..+f[n];
p[i+1]=p[i]+s[i]
ans=n*s[n]-p[n]
p[i]
s[i]
f[i]
f[i-1]
1 1 0 0
0 1 1 0
0 0 1 1
0 0 1 0
p[i+1]
s[i+1]
f[i+1]
f[i]
推演较难手推
*/
#include <bits/stdc++.h>
#define int long long
using namespace std;
int n,mod;
struct matrix {
int w[120][120];
} a,b,c,ans;
matrix c... | [
"527192083@qq.com"
] | 527192083@qq.com |
d354f8abc980b1392830224160bd2d3aaab9684e | ff92d7103cc73306d85f83583f7104095b84b72e | /socket/appl_netdevice_main.cpp | a3df9a58f3ace11f7c692363926c305956acb479 | [
"MIT"
] | permissive | fboucher9/appl | 43d94878518d3c43d6d6df2b2844d37b4b94222a | bb90398cf9985d4cc0a2a079c4d49d891108e6d1 | refs/heads/master | 2021-06-06T07:28:53.144067 | 2019-11-07T01:50:58 | 2019-11-07T01:50:58 | 115,062,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,856 | cpp | /* See LICENSE for license details */
/*
*/
#include <appl_status.h>
#include <socket/appl_netdevice_main.h>
#include <socket/appl_netdevice_handle.h>
#include <options/appl_options_handle.h>
#include <socket/appl_address_family.h>
#include <buf/appl_buf.h>
#include <misc/appl_convert.h>
#include <misc/appl_u... | [
"fboucher9@gmail.com"
] | fboucher9@gmail.com |
e634497d4e0cfe1a7672c66d64afbcd193f281bb | 01b3369a69be4d56ff0426e980f5a3f5f3085472 | /source/7.2_Gaussian_Blurring/GaussianBlurDemo.h | 2507ae58ef3b6afa001bc1eae7126a07cc8bf860 | [
"MIT"
] | permissive | ssshammi/real-time-3d-rendering-with-directx-and-hlsl | e853bc3c8f0a53afc082cb3120aba0b678d0528e | 05a05c5c26784dafa9a89747276f385252951f2f | refs/heads/master | 2023-04-13T23:16:01.282462 | 2020-07-01T14:49:07 | 2020-07-01T14:49:07 | 363,071,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | h | #pragma once
#include <gsl\gsl>
#include <winrt\Windows.Foundation.h>
#include <d3d11.h>
#include <map>
#include "DrawableGameComponent.h"
#include "FullScreenRenderTarget.h"
#include "GaussianBlur.h"
namespace Rendering
{
class DiffuseLightingDemo;
class GaussianBlurDemo final : public Library::DrawableGameCompon... | [
"paul.varcholik@ucf.edu"
] | paul.varcholik@ucf.edu |
f597802fecc8bb45710f93ab10d73f3cc8173e11 | 16c3d340e2112ee82d8f6ee97fa8ec105dbdab44 | /Faculdade/2008-2_-_IV/Estrutura_de_Dados_II/source_extra/haga_implementacao/Ordena.h | ad47f60df6c7e9c2f2b6552237ab4be04cc7423e | [
"Apache-2.0"
] | permissive | mtulio/kb | 14be0875649a03adfa62a2e8a21ea12eeda3ebb8 | 1bc355d1750664cfea10dbb5a3f60549a1668971 | refs/heads/master | 2021-11-19T05:01:47.184128 | 2021-08-15T23:27:49 | 2021-08-15T23:27:49 | 39,852,791 | 3 | 0 | Apache-2.0 | 2019-01-31T15:03:34 | 2015-07-28T19:08:00 | C++ | UTF-8 | C++ | false | false | 1,629 | h | #ifndef ORDENA_H_
#define ORDENA_H_
/*
#include <iostream>
using namespace std;
class Ordena
{
public:
static void insertSort(Vetor *vet, int qtd);
static void mergeSort( int vet, int pi, int pf);
void merge(int vet, int pi, int m, int n, int pf);
};
void Ordena::insertion(int *vetor,int tam)
{
int aux,j,... | [
"marco.braga@chaordicsystems.com"
] | marco.braga@chaordicsystems.com |
e0d2e82af30969fe194f438a564eb55f70425a85 | 83ed819fe88e1452f31aafbe1ff7a1784b68774a | /src/TW2CN/TW2CN.cpp | 5e0821d567f7733edb85739c32ab84435acc128d | [
"MIT"
] | permissive | Vladimir-Lin/QtUtilities | 4f1a999e7bf44adcce19e9bd9ea9d3db4b1182a1 | 40d31631d467463e29b4c03d6d2bbd6496e250ff | refs/heads/main | 2023-06-02T15:41:39.960242 | 2021-06-16T16:46:29 | 2021-06-16T16:46:29 | 377,564,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,332 | cpp | #include <QtCore>
unsigned char TraditionalSource[]={
0xE5,0x85,0xA7,0xE5,0x8B,0xBB,0xE6,0x88,0xB6,0xE5,0x86,0x8A,0xE4,0xB8,0x9F,0xE4,
0xBA,0x99,0xE4,0xBB,0xBF,0xE5,0x85,0x87,0xE6,0xB1,0x99,0xE7,0xB3,0xB8,0xE4,0xBD,
0x87,0xE5,0x85,0x8C,0xE5,0x88,0xA5,0xE5,0x88,0xAA,0xE5,0x90,0xB3,0xE5,0x91,0x82,
0xE5,0x90,0xB6,0xE5,0x... | [
"lin.vladimir@gmail.com"
] | lin.vladimir@gmail.com |
6edc941f25195825f596fd120008ecde1c9c7db3 | 77eae7ff453f53cd1fdf5a83bb863b2071c26b93 | /even reverse.cpp | 202b93d73533c0a6a1d193c10d444eab907de25f | [] | no_license | thundercipher/InterviewBit-Solutions | 531d8462eda4a78669233abe4b3e03f26da6d667 | 18cec5993c9e69307ca761cf7fd1cde7c998fb5d | refs/heads/master | 2023-03-21T19:05:55.312316 | 2021-03-14T13:59:47 | 2021-03-14T13:59:47 | 342,472,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp |
ListNode* evenRev(ListNode* A)
{
int n=0;
ListNode* temp = A;
while(temp != NULL)
{
n++;
temp = temp->next;
}
if(n < 4)
{
return A;
}
else
{
stack<int> s;
int count=1;
ListNode* temp1 = A;
while(temp1->next != NULL)
{
temp1 = temp1->next;
count++;
... | [
"sstanay@gmail.com"
] | sstanay@gmail.com |
e39b05a3c20f416ecb6d8bb773fc1f7ca27ea3b1 | 4dcf67322ddbd89c98aef64aa970f603c3b35ffc | /Roteiros/Roteiro_02/ControlePagamentos/ControleDePagamentos.h | 10fdf0af2c87cbdb94740755c4f7edb9af0d9a85 | [] | no_license | Gabriel-Alexandre/Linguagem-CPP | d7f856953b4e092a0b4a891fed23ce939be9a74d | f44e5e020cfc9635e514d41bfc4f25fe33fa1771 | refs/heads/master | 2023-06-09T15:28:13.449004 | 2021-07-01T21:42:28 | 2021-07-01T21:42:28 | 362,910,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #ifndef CONTROLEDEPAGAMENTOS_H
#define CONTROLEDEPAGAMENTOS_H
#include "Pagamento.h"
#include <string>
#include <vector>
using namespace std;
class ControleDePagamentos {
public:
ControleDePagamentos();
void setPagamentos(Pagamento p);
Pagamento getPagamento(int pos);
float calcula... | [
"biellalex86@gmail.com"
] | biellalex86@gmail.com |
a679ffb0005d0c96a017a3062286dfef1f0a9bf5 | 6b138256b899bab757e055f2bdb0b0c7327a0b44 | /1weeks/1629.cpp | 4e3c349418484e3615dc0e5f1b77850fd8ab2ac9 | [] | no_license | san9w9n/2021_SUMMER_ALGO | cef9e683a1c9abd8c6eee87a9451281c4c07de32 | 0891de3ef5e713e5ff40b52a5288a08d9f4e63f0 | refs/heads/master | 2023-07-29T17:43:07.351597 | 2021-09-16T05:50:09 | 2021-09-16T05:50:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll A, B, C;
ll mod(int a, int k, int m) {
if(k==1) return a%m;
ll res = mod(a, k/2, m);
res = res * res % m;
if(k%2 == 0) return res;
else return res * a % m;
}
int main(void) {
ios::sync_with_stdio(0);
cin.tie(0);
ci... | [
"san9w9n@naver.com"
] | san9w9n@naver.com |
6e5e6b9b196b621f1902ff2d913aa7069f9b541a | 2641381a6ff4abc3fceb787ba8a21e5cf714bd39 | /src/postagger/options.h | 4942c4cd2b1e0b8fce23235eb85e4b0b1417fe24 | [] | no_license | moste/ltp | fe85e8087cfac8182093c96449df5df151893057 | 8aa1f3386c200bb57daa07ee37ed7f39f1dfa0d8 | refs/heads/master | 2021-01-14T12:26:34.650821 | 2014-01-15T16:00:44 | 2014-01-15T16:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #ifndef __LTP_POSTAGGER_OPTIONS_H__
#define __LTP_POSTAGGER_OPTIONS_H__
#include <iostream>
namespace ltp {
namespace postagger {
struct ModelOptions {
std::string model_file;
};
struct TrainOptions {
std::string train_file;
std::string holdout_file;
std::string model_name;
std::... | [
"oneplus.lau@gmail.com"
] | oneplus.lau@gmail.com |
61769c837c7bcca20412d2f22cde3cda847c9b66 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /ui/base/resource/data_pack_literal.cc | 7d35c6a2ccdd753ceda4011a7295d0f7c8b646a4 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,630 | 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 <stddef.h>
#include "ui/base/resource/data_pack_literal.h"
namespace ui {
const char kSamplePakContentsV4[] = {
0x04, 0x00, 0x00, 0x00... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
8e342d4167ab61543475d3e4b7b22d921a9b1200 | bf0468836d0ce635b07e78d542087f63d8e1144a | /src/objects/spikes_block.cpp | bcf31252b3ea18d7f496ed5859caa857cbe5c97e | [] | no_license | bkovacik/pancho | db4f3e4d4360628e2aa7af75b47da7073ce91f32 | 4838b3e93caa37ceb19655694f0291080d2940a4 | refs/heads/master | 2021-01-22T01:50:58.680218 | 2016-09-24T18:04:41 | 2016-09-24T18:04:41 | 36,092,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include "../../include/objects/spikes_block.h"
#include "../../include/level.h"
Spikes::Spikes(int beginX, int beginY, int endX, int endY) : Block(beginX, beginY, endX, endY) {
std::vector<Coords> v_default = std::vector<Coords>(1, Atlas::getCoords("red"));
statemap["default"] = v_default;
}
| [
"varnishedgreen@aim.com"
] | varnishedgreen@aim.com |
ab07ca6d33419b38983ff4d7eb00bf9607494f3f | 1e394db5050ca29ab0c3c7771684cf9596d28a21 | /tests/testdbusserver.h | 7b4860b92acecd3fe5d8ce5fe5acc89b828715d6 | [] | no_license | AngryPenguinPL/qcoro | cd25c383aff95470c66aed6f61986c2b5b7a325b | ed74dd814879cc84d4ee0e66ba4242a2ba67489f | refs/heads/main | 2023-08-21T22:30:22.869537 | 2021-10-17T08:49:21 | 2021-10-17T08:49:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,179 | h | // SPDX-FileCopyrightText: 2021 Daniel Vrátil <dvratil@kde.org>
//
// SPDX-License-Identifier: MIT
#include <QCoreApplication>
#include <QObject>
#include <QProcess>
#include <QTimer>
#include <QString>
#include <iostream>
class DBusServer : public QObject {
Q_OBJECT
public:
inline static const QString ser... | [
"dvratil@kde.org"
] | dvratil@kde.org |
8c9c7a68e38fce273f9b4b1ffdcdcaf357961561 | 7200d66329486d7d7b92552ac72d82f3f72a47de | /lab10/Lab10-1/LList.h | 6f8407e77884e7e8620560a9c02d5a15ba4f8b5b | [] | no_license | duartega/Programming-II---cs215 | c135090ac8f069a81287a4a7f48a7f7130950ee5 | 516c53d3060c7f976f0c7ce49a6275f1909b9167 | refs/heads/master | 2020-04-11T04:49:02.245145 | 2018-12-12T18:15:44 | 2018-12-12T18:15:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | h | /*********************************************************************
* Assignment: Lab 10 - Sincgly Linked List implementation *
* Author: *
* Date: Fall 2017 *
* File: ... | [
"duartega@sonoma.edu"
] | duartega@sonoma.edu |
b671b750fbfd016b89d833061a7b2f5c5a58e00c | 8d05b9762d74391573119c7e793108befe8edfa7 | /UploadDownloadPlugin/qt-plugin-host-master/downloadinterface.h | a561cefb70e7984a41f5dafc36d50b7a17862b56 | [
"MIT"
] | permissive | fuyanzhi1234/DevelopQt | ba643238570b5715131810ec7b5d57317460a477 | f4590cca8cde5e8b38ee19d97ea82c43257ec1b3 | refs/heads/master | 2021-01-21T04:48:03.660947 | 2016-06-13T03:21:03 | 2016-06-13T03:21:03 | 47,232,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,104 | h | /*********************************************************************
** Copyright © 2013 Nurul Arif Setiawan <n.arif.setiawan@gmail.com>
** All rights reserved.
**
** See the file "LICENSE.txt" for the full license governing this code
**
**********************************************************************/
#ifndef... | [
"willing4567@163.com"
] | willing4567@163.com |
05aa38bf865b4d4c4d86f7d32fd189a3bc7df870 | dafc24feac21a045612172431ba2b5d1f1d00983 | /qtwindow/Graphics/find2.h | 87bfed2144a14d546656ce369aca86040d211246 | [] | no_license | Pauleo105/LAB4_TAXES | 9cda0d7a36d6f28dbe14b2761a5d02d7aea1730f | 3b0ac5233e7ccbe3438e230f22438eecc041a890 | refs/heads/master | 2023-02-12T08:57:32.569937 | 2021-01-07T22:10:13 | 2021-01-07T22:10:13 | 314,517,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #ifndef FIND2_H
#define FIND2_H
#include <QDialog>
namespace Ui {
class find2;
}
class find2 : public QDialog
{
Q_OBJECT
public:
explicit find2(QWidget *parent = nullptr);
~find2();
int getType() {return ind;}
private slots:
void on_comboBox_activated(int index);
void on_pushButton_clicked... | [
"pavelgren105@outlook.com"
] | pavelgren105@outlook.com |
5ede402cc86626514b5c95ac78110bab73de626f | eb07d9698fb3db45346198f1985890f0b0497b5a | /sketch/Lesson 7 Passiver Summer/passive_buzzer/passive_buzzer.ino | e64c1e154de785185af4bc62082e7faa413c8840 | [] | no_license | DaveMcBrave/arduino | 387b81a376801c8d39af9a0131031ba7bc60ecc9 | 83082daf5f4a880331cb33171bf382e41cb45309 | refs/heads/master | 2020-03-16T12:06:17.090731 | 2018-05-08T22:41:10 | 2018-05-08T22:41:10 | 132,659,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | ino | int buzzer = 4 ;// Einstellung steuert den digitalen IO-Fußsummer
void setup ()
{
pinMode (buzzer, OUTPUT) ;// Setze den digitalen IO-Pin-Modus, OUTPUT
}
void loop ()
{
unsigned char i, j ;// Definieren von Variablen
while (1)
{
for (i = 0; i <80; i++) // Wen a frequency sound
{
digitalWrite (buz... | [
"kwachsmuth@inovex.de"
] | kwachsmuth@inovex.de |
e2f0c700ac1819f1956c64a766b7f04b036d8d2f | 9f48878caa37ac5f2ccf938fc476efa47c89c644 | /tests/Unit/PointwiseFunctions/AnalyticSolutions/Test_AnalyticSolution.cpp | 37717adc5606b3147703b8b5ab1f27897cae6ac9 | [
"MIT"
] | permissive | sxs-collaboration/spectre | 34f7733ab4c75dbca2f432028145fed110c9ef24 | 96f573cf158201f712da2bfb3378edf497a35a0d | refs/heads/develop | 2023-08-19T11:18:18.465609 | 2023-08-19T04:24:25 | 2023-08-19T04:24:25 | 87,570,510 | 149 | 190 | NOASSERTION | 2023-09-14T20:10:35 | 2017-04-07T17:28:20 | C++ | UTF-8 | C++ | false | false | 872 | cpp | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "PointwiseFunctions/AnalyticData/AnalyticData.hpp"
#include "PointwiseFunctions/AnalyticSolutions/AnalyticSolution.hpp"
namespace {
struct Solution : public MarkAsAnalyticSolution {};
struct SolutionDependentAnalyticData : public MarkAsAna... | [
"nils@nilsdeppe.com"
] | nils@nilsdeppe.com |
32000d7bafd95d7877539f87e4298197092b6285 | 097c9b7f35cd8dd04ca05ec568345e0c3c3784a5 | /EXAMPLES/Example0/example0.h | e403b26699ba00deb159bb18f1b95a2a0a3966eb | [] | no_license | Romanov25/CppExamples | 5d9358d74bc43f89b6898614c1365d5ee493fff8 | d27446e794b7f349081fdc397f3cfeae2b37f41c | refs/heads/master | 2022-08-19T02:43:58.647506 | 2020-05-25T06:11:29 | 2020-05-25T06:11:29 | 265,636,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | h | #pragma once
namespace EXAMPLE0
{
int main(int argc, char *argv[]);
} | [
"44d77@mail.ru"
] | 44d77@mail.ru |
f7d6c14accf6ab631ac538b97b209bae24f91ed3 | 1edf53fb0a1e22180ce33e1319c56f92ff6a5ce7 | /Neon/source/graphics/api/vulkan/resources/memory/vk_memory_pool.cpp | 45e85ff1d8c0204b6e296b7d64113c7827584088 | [] | no_license | PepijnAverink/NEON | 3b8a5fab202059bb60d9e0a67336766de066fe60 | 8019bad34b42e6ca065430c85bbe9ff9875f4e9b | refs/heads/master | 2022-10-03T13:00:35.167865 | 2020-06-04T10:51:33 | 2020-06-04T10:51:33 | 255,528,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,594 | cpp | #include "./graphics/api/vulkan/resources/memory/vk_memory_pool.h"
#include "./graphics/api/vulkan/vk_graphics_context.h"
#include "./graphics/api/vulkan/vk_error.h"
#define VULKAN_MINIMUM_MEMORY_POOL_SIZE 256
#define VULKAN_MEMORY_ALIGNMENT_STORAGE 32
#define VULKAN_MEMORY_ALIGNMENT_UNIFORM 256
namespace Neon
{
na... | [
"p.averink@gmail.com"
] | p.averink@gmail.com |
0854242fa5c6d75c423af2216e439fa02aa80da0 | 2387f52a1ff6f4213a47d36ac4581e09091d3673 | /sprout/0252.cpp | 6c3fb41d349b9be395979b36a74ed049a979f2b0 | [] | no_license | Kelly2336/Judge | 44bc5eb054a1cf6df5fc84fd5499eb9737ec17a9 | 017da1e41bfd2b94a82e644f6c0fed3552d4f7d5 | refs/heads/master | 2020-04-21T23:39:30.396055 | 2020-02-23T17:35:19 | 2020-02-23T17:35:19 | 169,953,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | //Counting Triangles
//根號+離線
#include<stdio.h>
#include<vector>
#include<math.h>
using namespace std;
int d[100005]= {0};
vector<int> v[100005];
int a[100005][2];
int adj[100005]= {0};
vector<int> ask[100005];
int main()
{
int n,m;
scanf("%d%d",&n,&m);
int tri=0;
for(int i=0; i<m; i++)
{
sca... | [
"noreply@github.com"
] | Kelly2336.noreply@github.com |
e6802b1c2748de6d0e82c2a7086e86b0a3861d56 | c1c70168fe5ed0c9c81e08915a647961200d1766 | /TOJ/已註解,整碼/toj330.cpp | b9886ce78841f8b4c01dfa417cddb8f01dff3d11 | [] | no_license | cies96035/CPP_programs | 046fa81e1d7d6e5594daee671772dbfdbdfb2870 | 9877fb44c0cd6927c7bfe591bd595886b1531501 | refs/heads/master | 2023-08-30T15:53:57.064865 | 2023-08-27T10:01:12 | 2023-08-27T10:01:12 | 250,568,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | cpp | #include<iostream>
using namespace std;
int main() {
int x1,x2,y1,y2;
cin>>x1>>y1>>x2>>y2;
cout<<x1+x2<<' '<<y1+y2<<endl;
}
| [
"cies9001005@gmail.com"
] | cies9001005@gmail.com |
69557f4b327334b243b0964b072ef528c1e0e609 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/chromeos/drive/file_system_util.h | 7da4508bd10b4868f0c516a077040fcefe431b87 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 3,479 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_UTIL_H_
#include <string>
#include "base... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
a7c5344848e515221a95f0038cc52f81f9527eea | 58fd25c68cde5971a954e1387a2a3325363d9dcf | /bin/roofit.cc | 981cfccaacf0e2cbc44c414bc8215c4dae3ec398 | [] | no_license | RemKamal/tth-CMS-DAS-2015 | a6ecb967bdd4eaaba0c380869928f297345e6172 | 520f0ef7e5ce12eca3af2f37184d9030b6e837e7 | refs/heads/master | 2021-01-18T01:36:25.509778 | 2015-01-22T17:41:57 | 2015-01-22T17:41:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,555 | cc | #include "TFile.h"
#include "TH1F.h"
#include "TROOT.h"
#include "TSystem.h"
#include "THStack.h"
#include <iostream>
#include <assert.h>
#include "RooRealVar.h"
#include "RooDataSet.h"
#include "RooDataHist.h"
#include "RooHistPdf.h"
#include "RooAddPdf.h"
#include "RooGaussian.h"
#include "TCanvas.h"
#include "RooPl... | [
"joosep.pata@gmail.com"
] | joosep.pata@gmail.com |
02a4d5b32c67314316a274d259d896ae4355b627 | 6906d184d66a89782d8113ee13124ce9efe12577 | /Source/WebKit/COM/ContextMenuClientWin.cpp | 742e0a8a7f600a45e32aa0502de41cab1a6f8196 | [
"BSD-2-Clause"
] | permissive | painterner/track-webkit | 75ea2b81d79279276acc2278d1d2faa298d709f2 | 55b1ffb484720f81a7ccce30058e0292f481441c | refs/heads/master | 2020-08-01T13:44:51.955610 | 2019-09-26T08:24:14 | 2019-09-26T08:24:14 | 211,013,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321 | cpp | /*
* Copyright (C) 2006 Marvin Decker <marv.decker@gmail.com>
*
* 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
* ... | [
"i5stiyuki@icloud.com"
] | i5stiyuki@icloud.com |
bc45d68ebd013af986b53d0634303772706bead5 | 287b14395f1509784f5c76ca898c0319447be111 | /Arrays/dynamicallyAllocated/dynArrayDemo3-2Dim.cpp | d65c33fd2706731b34bc26b7711e0cba35a60d04 | [
"MIT"
] | permissive | dovanduy/cppTopics | 48045085e7afff79e22373aa04dc688056cda118 | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | refs/heads/master | 2020-05-26T19:22:24.706301 | 2017-06-28T19:38:57 | 2017-06-28T19:38:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | // Basic Example about 2-dimensional dynamic array (by pointers)
// 2-Dim Matrix as a PARAMETER
#include <iostream>
using namespace std;
void printMatrix (int ** m, int r, int c)
{
for (int i=0; i<r; ++i)
{
for (int j=0; j<c; ++j)
cout <<m[i][j]<<' ' ;
cout <<endl;
}
}
int main ()
{
int red, col;
int ... | [
"k.ilarionov@gmail.com"
] | k.ilarionov@gmail.com |
bde222cb110c9054cdeb6719fda9ed9d36f51381 | 90895261e08d3b50e10dfc7eeb37484bb7851c60 | /MouseGestures/multistrokeRecognizers/mixedgesturesmanager.cpp | 99f760ffd34e5e247927ded50c372976f7bad4b3 | [] | no_license | qreal/tools | 8286c4cce3c6dc9c7d9daec79504dc489c33f5ae | e9df29b7b4d199e2fd296272352c133c2db9c510 | refs/heads/master | 2021-01-19T02:42:56.589267 | 2017-11-17T10:27:24 | 2017-11-17T10:27:24 | 1,831,652 | 1 | 4 | null | 2014-10-31T11:03:13 | 2011-06-01T12:53:14 | C++ | UTF-8 | C++ | false | false | 1,099 | cpp | #include "mixedgesturesmanager.h"
#include "rectanglegesturesmanager.h"
#include "nearestposgridgesturesmanager.h"
#include "curveKeyBuilder.h"
const double weight1 = 0.2; //0.3: 891 0.2: 899
const double weight2 = 1 - weight1;
MixedGesturesManager::MixedGesturesManager()
{
}
double MixedGesturesManager::getMaxDista... | [
"osechkina.masha@gmail.com"
] | osechkina.masha@gmail.com |
4fa443c01de803dda45f4a80d450e7b36f4b8caa | d0629b6c3bdb64a8346cbb5049edc90d66d646f2 | /gfx/angle/src/compiler/translator/ParseContext.h | c068116f457adaf5443644c827d9e7f65fb9447d | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | h4writer/oomrepo | ccd08c506796af9e7e3a3c8131179bd0a0ab3ac3 | 6c533b04356f7ac59915928282a95070dc45d08c | refs/heads/master | 2022-08-03T20:40:49.348969 | 2015-10-06T09:29:56 | 2015-10-06T09:29:56 | 43,739,681 | 0 | 0 | NOASSERTION | 2022-03-29T21:55:20 | 2015-10-06T08:53:22 | null | UTF-8 | C++ | false | false | 19,650 | h | //
// Copyright (c) 2002-2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef COMPILER_TRANSLATOR_PARSECONTEXT_H_
#define COMPILER_TRANSLATOR_PARSECONTEXT_H_
#include "compiler/translator/Compiler.h"
#inc... | [
"hv1989@gmail.com"
] | hv1989@gmail.com |
38789d90a15946f3fbd5366b70b0bb0fb8cee735 | 6f224b734744e38062a100c42d737b433292fb47 | /clang/test/Analysis/nonreturn-destructors-cfg-output.cpp | a203fb077ffbe6a1854747d0c5cdda15e0a69173 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | smeenai/llvm-project | 1af036024dcc175c29c9bd2901358ad9b0e6610e | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb | refs/heads/main | 2023-09-01T04:26:38.516584 | 2023-08-29T21:11:41 | 2023-08-31T22:16:12 | 216,062,316 | 0 | 0 | Apache-2.0 | 2019-10-18T16:12:03 | 2019-10-18T16:12:03 | null | UTF-8 | C++ | false | false | 3,564 | cpp | // RUN: %clang_analyze_cc1 -std=c++11 -fcxx-exceptions -fexceptions -analyzer-checker=debug.DumpCFG -analyzer-config cfg-rich-constructors=true,cfg-implicit-dtors=true,cfg-lifetime=true,cfg-scopes=true %s > %t 2>&1
// RUN: FileCheck --input-file=%t -check-prefixes=CHECK %s
class A {
public:
int x;
[[noreturn]] ~A(... | [
"tomasz.kamiński@sonarsource.com"
] | tomasz.kamiński@sonarsource.com |
28d40f08ed33e188b355c24e433a992a97ca82de | d4c74a8001451840f3efb87f15856cdb9d5e9eb6 | /rtos/mbed-os/features/nanostack/nanostack-hal-mbed-cmsis-rtos/arm_hal_timer.cpp | c7952d1be93443d7f40e10d71fa1cf495d9cf0ec | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | danieldennett/gap_sdk | 3e4b4d187f03a28a761b08aed36a5e6a06f48e8d | 5667c899025a3a152dbf91e5c18e5b3e422d4ea6 | refs/heads/master | 2020-12-19T19:17:40.083131 | 2020-02-27T14:51:48 | 2020-02-27T14:51:48 | 235,814,026 | 1 | 0 | Apache-2.0 | 2020-01-23T14:39:59 | 2020-01-23T14:39:58 | null | UTF-8 | C++ | false | false | 3,054 | cpp | /*
* Copyright (c) 2016-2018, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/... | [
"noreply@github.com"
] | danieldennett.noreply@github.com |
9d1bcb67ec919ead559f712c9b445057dad702d3 | a7cd20ada6985c6f11e3f27b22470ca8e80c479d | /assignment5/main.cpp | 6777eb1c302637f407c919633a1dda01b9283832 | [] | no_license | GreatPoetry/assignment5 | c0ac32731931ba4b423af29ccde671dc41468355 | 360a599dc516295920d4c2132d13adba5fc3aa81 | refs/heads/master | 2022-09-10T12:58:10.435029 | 2020-05-29T05:54:45 | 2020-05-29T05:54:45 | 267,771,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | #include "trienode.hpp"
#include "WordGame.h"
int main()
{
Board myBoard;
myBoard.IntializeBoardDebug();
myBoard.showBoard();
Dictionary dict1("/Users/monicas/Dropbox/notes-2020/Cpp_prog_712/assignment5/assignment5/WordsList.txt");
WordFinder wf(myBoard, dict1);
wf.FindWords(9);
std::cout << "*******... | [
"monicast@outlook.com"
] | monicast@outlook.com |
c0853cde8e117ba7667f9d96e9d04e81df5c6f1a | 6e6323edbb77e91b28842fabcfc66ba4e4105ace | /ED_RRiveraG1_A01/Triangulo/Triangulo.h | 03480720af89f71546cb60497c9e67c13bf36815 | [] | no_license | Riverto/ED_RRiveraG1 | 12e29def862c30118b01da7823b7e46966adcc0e | 5ebd5e579f922cbd983632161b2d6d23b34ac740 | refs/heads/master | 2021-01-15T11:49:24.241098 | 2017-10-24T13:15:22 | 2017-10-24T13:15:22 | 99,634,985 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 781 | h | #pragma once
#include "Figura.h"
class Triangulo :
public Figura
{
public:
Triangulo(double base, double altura, double hipotenusa, int sen, int csen, int tan, double area, double perimetro);
Triangulo(double base, double altura, double hipotenusa, int sen, int csen, int tan);
Triangulo(double base, double altura, ... | [
"A07025304@itesm.mx"
] | A07025304@itesm.mx |
cad5427c616ccfba769d55bd3ef5a1bc29db28ca | 434667ab7a86eb16f7f36d8a62ae0632138199fe | /Sylinder/SylinderConfig.hpp | e9110811853778efc81664c471da4ca632dca5ac | [
"Apache-2.0"
] | permissive | wenyan4work/SimToolbox | 19b7530c6c3163bf15bef628c3e06222bd7c0435 | f61784ae3a10f31f289947d07ee569b44e38c5b5 | refs/heads/master | 2022-11-22T06:04:21.441704 | 2022-02-01T18:16:48 | 2022-02-01T18:16:48 | 136,348,992 | 6 | 10 | Apache-2.0 | 2021-11-30T13:37:41 | 2018-06-06T15:29:14 | C++ | UTF-8 | C++ | false | false | 2,938 | hpp | /**
* @file SylinderConfig.hpp
* @author wenyan4work (wenyan4work@gmail.com)
* @brief read configuration parameters from a yaml file
* @version 1.0
* @date 2018-12-13
*
* @copyright Copyright (c) 2018
*
*/
#ifndef SYLINDERCONFIG_HPP_
#define SYLINDERCONFIG_HPP_
#include "Boundary/Boundary.hpp"
#include "Util/... | [
"wenyan4work@gmail.com"
] | wenyan4work@gmail.com |
dd0cc7ed8bf206e8eb1b00f0cab295added6e8fb | df423d99b64c1beed286d753d86e42d0e818922c | /StaticLib1/include/Transform.h | 91db93eb392501167dfc58e6aae8458ce2452288 | [] | no_license | thomasmainguy/Mainguy_Thomas_HomeMadeEngine | 58918e27ea0cffd2d566122a9e02432bf8aec247 | 9f7fbc202d3ab14d92ac699291186193978ac60c | refs/heads/master | 2022-02-23T18:54:20.799736 | 2019-10-31T20:53:54 | 2019-10-31T20:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | h | #ifndef THOMAS_TRANSFORM_H
#define THOMAS_TRANSFORM_H
#include <Component.h>
#include <string>
namespace thomas
{
class Transform final: public Component
{
public:
virtual ~Transform() = default;
void SetPosition(float aX, float aY);
void Translate(float aX, float aY);
void SetRotation(float aAngle);
vo... | [
"thomasmainguy2@gmail.com"
] | thomasmainguy2@gmail.com |
088d93e921c42c73abd42c46fd6647e0b322849d | 7f36fa5d2da24b9d2037187d80a96f394d7be1dd | /tvm/src/pass/generate_reuse_buffer.cc | 5698f32226a2a3870bd89aa2411d3233f52136bc | [
"Apache-2.0"
] | permissive | Gale-Zhang/heterocl | 6b3d0661c555ad6849d5e586882f1dd62a8cabd1 | 8821dd872310acc147c58148683788a18f312c39 | refs/heads/master | 2023-01-22T12:52:41.633151 | 2020-12-07T09:47:26 | 2020-12-07T09:47:26 | 319,179,576 | 0 | 0 | Apache-2.0 | 2020-12-07T02:15:42 | 2020-12-07T02:15:42 | null | UTF-8 | C++ | false | false | 19,830 | cc | /*!
* Copyright (c) 2019 by Contributors
* \file loop_partition.cc
*/
#include <tvm/ir.h>
#include <tvm/ir_visitor.h>
#include <tvm/ir_mutator.h>
#include <tvm/ir_pass.h>
#include <tvm/operation.h>
#include <arithmetic/Substitute.h>
namespace TVM {
namespace ir {
Expr calculate_index(std::vector<Expr> indices, co... | [
"noreply@github.com"
] | Gale-Zhang.noreply@github.com |
d80d5b7dada6670511885416281d83ff26833ae7 | 8fe458ccb4aa7d875138c0d68b37eca5e02b191f | /NT-Template/ntechnium/libNtechnium/Scene/ntShader.h | 8e87192b38c21df24540eac4a7fdbfb889a2f416 | [] | no_license | jwarton/N-Technium-Libs | 786cc8358827a566908266bbeff88175fbf941ad | 8733436bb9936bde482c96a4f44c79d8030b6657 | refs/heads/master | 2020-12-09T11:13:26.445865 | 2017-08-30T14:29:52 | 2017-08-30T14:29:52 | 44,542,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,863 | h | ///////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////// ntShader.h
// openGl scratch libs ///////////////////
// Shader Class ///////////////////
// created by James Warton on 02/23/2014 ///////////////////
/////////////////////////////... | [
"jwarton@smu.edu"
] | jwarton@smu.edu |
68bb928906d149b21b0fb722c5f99490ac88036e | fd5a9a62882279a86f4db56f20229681c8fba8de | /serial/half_center2/half_center2.h | 270acec9521ab0bce79f15f9509dd27aee6240f0 | [] | no_license | danabo/Brian---Arduino-Simulation | 726e5929f6983801082a5c34f7f259001e561218 | f01045bb3226784ce1d384d3020ede54bf3ce88b | refs/heads/master | 2016-09-05T09:03:55.018761 | 2011-03-14T20:52:30 | 2011-03-14T20:52:30 | 1,440,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h |
extern double tr;
extern double tau;
extern double v0;
extern double k0;
extern double Wi;
extern double timestep;
class Neuron { public:
int nvars;
int vars[2];
double values[2];
double threshold;
bool spiking;
Neuron();
void onReset();
// t is timestep in seconds
void tick(double t);
int get_... | [
"danabo@.eclab.local"
] | danabo@.eclab.local |
1f667dc6a254abb30b6ee5809253947560cee992 | 269b733889aae72312bf926df3f74057e3a21c2e | /microcontroller/src/screens/screensaver.h | 4f606164134d661440996a1c3d9984512697fec0 | [] | no_license | heimerzieher/bobby-car-firmware | c6fa2754fdaf6c64d6865d762046d2bbf9cdd9a3 | 3c9e55ee75b80923c90d38d18bdb6582633124ec | refs/heads/master | 2022-09-19T23:48:02.520464 | 2022-09-12T03:25:17 | 2022-09-12T03:25:17 | 249,491,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #ifndef SCREENSAVER_H
#define SCREENSAVER_H
#include <lvgl.h>
#include <TFT_eSPI.h>
#include "screen.h"
#include "screenmanager.h"
#include "screens/mainscreen.h"
class ScreenSaver : public Screen
{
public:
ScreenSaver();
void create(void) override;
void update(void) override;
void customDraw(void) o... | [
"heimerzieher@me.com"
] | heimerzieher@me.com |
a146211275e86473936bdce2f428b9c1b26e7de9 | e13160517d41c0489badb598cb58f2ace603b589 | /mechat/fansbank_dispatcher/dal/UserSignDAL.h | 8bbfecb6731841b83a7ae8d8826fa1c06dd6d5b1 | [] | no_license | radtek/cpp-1 | 1024dcc816b4781f7efe884349ca124f79ea32a1 | 3d94ef9962666404ff7f176a13adb946f8835ac3 | refs/heads/master | 2020-07-07T21:32:55.857887 | 2019-05-02T06:20:42 | 2019-05-02T06:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #ifndef USERVALUEDAL_H
#define USERVALUEDAL_H
#include <string>
#include <vector>
#include "UserSignEntity.h"
#include "TypeDef.h"
using namespace std;
/*
*Copyright(C),TTD
*Author: suyp
*Description:每日签到表
*Others:
*/
class UserSignDAL
{
private:
const string msTableName = "user_sign";
public:
int IsExis... | [
"suypcjiajia@163.com"
] | suypcjiajia@163.com |
fbc60dd285370c95cb004dfc8a135a0bef2f0b77 | c896b2be4099df11e78f18ecbd69d163b044f07a | /hw3d/Window.cpp | b9abb2a00fd2ff877bc8209aff595a46f62ae919 | [] | no_license | naveenkanuri/learning-hw3d | e23fd2d04c60b25ad45fbe470e069d057533895d | f8a531d47cf323e4662d5db521ed72170ef2591b | refs/heads/master | 2023-07-30T10:33:54.245331 | 2021-09-09T12:28:35 | 2021-09-09T12:28:35 | 403,109,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,843 | cpp | #include "Window.h"
#include <sstream>
#include "resource.h"
Window::WindowClass Window::WindowClass::wndClass;
Window::WindowClass::WindowClass() noexcept
:hInst(GetModuleHandle(nullptr))
{
// register window class
WNDCLASSEX wc = { 0 };
wc.cbSize = sizeof( wc );
wc.style = CS_OWNDC;
wc.lpfnWndProc = HandleM... | [
"83157625+naveenkanuri@users.noreply.github.com"
] | 83157625+naveenkanuri@users.noreply.github.com |
99fb10d65b3b00f92b468bbb4547b5de5c38279f | 767508d92db05d32ff65beae91ed007e376a3fb3 | /glwrappers.h | b9fd3c448ea862befe06c72b17a60bfa7faa5fbf | [
"Apache-2.0"
] | permissive | timotei/helloworld-sdl2-opengl-emscripten | 3e86e5d3d630473482a0f5d12b383709c0170d42 | 6a15a02eb192b0a0acc2ddad819480d2a30372a5 | refs/heads/master | 2021-01-22T05:50:35.533154 | 2017-02-15T09:56:34 | 2017-02-15T09:56:34 | 81,714,673 | 0 | 0 | null | 2017-02-12T09:08:18 | 2017-02-12T09:08:18 | null | UTF-8 | C++ | false | false | 1,362 | h | // Copyright 2015 Red Blob Games <redblobgames@gmail.com>
// License: Apache v2.0 <http://www.apache.org/licenses/LICENSE-2.0.html>
/** Convenience functions, plus RAII wrappers for SDL and GL objects that
* come in construct/destroy pairs.
*/
#ifndef GLWRAPPERS_H
#define GLWRAPPERS_H
// NOTE(amitp): Mac doesn't ha... | [
"redblobgames@gmail.com"
] | redblobgames@gmail.com |
4cb4807c7013a834c486f456720d08b1d5b2f82c | a679dba6ef0364962b94ed65d0caad1a88da6c43 | /OrginalServerCode/OrginalCode/labixiaoxin/ACE_wrappers/examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp | 31b8df259debbfd517a531726bd55ce76972c163 | [] | no_license | w5762847/Learn | 7f84933fe664e6cf52089a9f4b9140fca8b9a783 | a5494181ea791fd712283fa8e78ca0287bf05318 | refs/heads/master | 2020-08-27T05:43:35.496579 | 2016-12-02T12:16:12 | 2016-12-02T12:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | cpp | // $Id: remote_stream_client_test.cpp 91670 2010-09-08 18:02:26Z johnnyw $
// Test program for the INET IPC-SAPs...
#include "ace/OS_main.h"
#include "ace/OS_NS_stdlib.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_unistd.h"
#include "ace/Mem_Map.h"
#include "ace/SOCK_Connector.h"
#include "ace/SOCK_C... | [
"flyer_son@126.com"
] | flyer_son@126.com |
b858f625c7f5cc0b83f549abf2587a9bbb17c8bf | 60fd520cd6c900c1fe449e7c40ed2252ac1ad798 | /fk/slience/socket/win_iocp.hpp | 286c09389f2147c8a904f51220da9393b50583b2 | [] | no_license | xiaoquanjie/global_server_fk | 90f82f8ca75c7fcc4232b2924962ce034e2a673c | eb7bee238be5886ce31789b3c3b8d7e8467a6583 | refs/heads/master | 2023-03-11T02:03:15.134370 | 2020-10-30T06:38:52 | 2020-10-30T06:38:52 | 184,237,860 | 1 | 1 | null | 2023-02-23T23:40:45 | 2019-04-30T09:58:36 | C++ | UTF-8 | C++ | false | false | 7,306 | hpp |
/*----------------------------------------------------------------
// Copyright (C) 2017 public
//
// 修改人:xiaoquanjie
// 时间:2017/8/10
//
// 修改人:xiaoquanjie
// 时间:
// 修改说明:
//
// 版本:V1.0.0
//----------------------------------------------------------------*/
#pragma once
#include "slience/socket/config.hpp"
#include <... | [
"404558965@qq.com"
] | 404558965@qq.com |
9ee5431dac15cb1cdd9c7a47d64bb30a3650c15e | 355fd721b8e51f1099713810f07e94f2e02f7d7c | /shadow learn material/advanced-shadows/GraphicsEngine/include/SceneGraph/BoundingBox.h | b8cad84dcd5d0d77f9f9213ddb193dca7ff003bf | [] | no_license | liangshiweigithub/update | bbfd1f40d6f714198468585b928bb01fa85cf8ba | 3a9a7e2dd4afaffcc3cdf7ff9292ed6fcd01e138 | refs/heads/master | 2023-07-20T05:19:40.586753 | 2023-07-17T15:50:28 | 2023-07-17T15:50:28 | 186,344,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | h | #pragma once
#include <vector>
#include "SceneGraphExports.h"
#include "Common/VectorMathTypes.h"
class Node;
class SCENEGRAPH_API BoundingBox
{
public:
enum Corner
{
MinMinMin = 0,
MaxMinMin,
MaxMaxMin,
MinMaxMin,
MinMinMax,
MaxMinMax,
MaxMaxMax,
MinMaxMax,
CornerCOUNT
};
enum AABBPlane
{
... | [
"183071083@qq.com"
] | 183071083@qq.com |
8dd67f229ddee064487abdd71a1bcd40e9304ff6 | a722faf9fb50c794555861bb4858c3ed8a7a25f3 | /contest/topcoder/335/Multifactorial.cpp | bf93b8cdc1c7a3838f5adb7fd0b7dd442be76f93 | [] | no_license | ar90n/lab | 31e5d2c320de5618bc37572011596fee8923255d | 6d035e12f743e9ba984e79bfe660967b9ca8716b | refs/heads/main | 2023-07-25T17:29:57.960915 | 2023-07-22T12:08:18 | 2023-07-22T12:08:18 | 77,883,405 | 4 | 0 | null | 2023-07-17T08:45:14 | 2017-01-03T04:15:49 | Jupyter Notebook | UTF-8 | C++ | false | false | 4,236 | cpp | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
class Multifactorial {
publi... | [
"argon.argon.argon@gmail.com"
] | argon.argon.argon@gmail.com |
38cdbc92dd13ca3914ca3f801bb3ad0c1a38cff6 | 9e25c9b233367dfc6f8dfae352056a0e4bc260d0 | /Seat reservation project/Seat reservation project.cpp | 74e0489a1bcd179de00fa2ff1912ff17cd408430 | [] | no_license | Calulo97/Seat-reservation-project | 0cc69a5b5dcb195d3f74c7edbe9636d28d236d8f | b26557f2157a9a30f35ca3329576246729a79f3b | refs/heads/master | 2021-01-01T04:54:08.408264 | 2017-07-14T22:05:59 | 2017-07-14T22:05:59 | 97,270,278 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,298 | cpp | //Raúl Ureña
//CIS-054
//7-24-17
#include "stdafx.h"
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
char **array_of_seats;
int rows; //rows and columns will be define by user
int columns; //i.e. seats per row
char reservation; //Seat wanted by customer
char answer; //do-while loop ope... | [
"Raul-Urena@outlook.com"
] | Raul-Urena@outlook.com |
3792b226970512cfcfc666833592284f4eaaa26d | d7b84a31cafb72a3cb71b3a3cc724a68119ba18e | /Tyr/4.36/phi | a2a8106dc368e1cead7462033cd9252b63811595 | [] | no_license | benroque/Ragnorak | 6cc7c68db801f9281a4ac241da754bce88ef6caf | a1bfc2430cccb207192792acebdd1530f1388a4c | refs/heads/master | 2021-01-14T08:13:18.774988 | 2017-02-20T08:32:53 | 2017-02-20T08:32:53 | 82,008,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,718,991 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"benroque94@gmail.com"
] | benroque94@gmail.com | |
51bdf8108d63c10dfb3a018b49e224371b27b194 | 49ddf853b13e9231ddaa29e97fe1ab20c81e0622 | /source/scpp/src/crypto/ShortHash.cpp | f1faa50169bb2830e5bdc86f9cc964669a613ed5 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | linked0/agora | bb3cccffba440265af2133adc4194d35e30b8f5f | 3ad178194ea9694229227e672253815af2701639 | refs/heads/v0.x.x | 2022-06-02T04:20:49.988348 | 2022-04-19T12:09:14 | 2022-04-19T23:30:49 | 207,190,013 | 1 | 0 | MIT | 2021-11-04T07:32:15 | 2019-09-09T00:07:55 | D | UTF-8 | C++ | false | false | 1,737 | cpp | // Copyright 2018 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "ShortHash.h"
#include <mutex>
#include <sodium.h>
namespace stellar
{
namespace shor... | [
"geod24@gmail.com"
] | geod24@gmail.com |
f10676d9c7dd29dc94288f2ccc82496ff2f74841 | 69a99d6c06071bbac21a5a2fb7aeffbd4f4edfe7 | /OrganicGLWinLib/SPolyScalingOps.cpp | 57a86c08fb8f6547d7f2ceac41d68c0c951f6c27 | [] | no_license | bigans01/OrganicGLWinLib | 66e9034cee14c0b8e9debd0babc46c9ec36ebbea | 01dafe917155dfe09eb559e889af852dc0b0a442 | refs/heads/master | 2023-07-21T14:37:43.022619 | 2023-07-17T23:13:20 | 2023-07-17T23:13:20 | 156,916,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | cpp | #include "stdafx.h"
#include "SPolyScalingOps.h"
void SPolyScalingOps::setOP1Value(glm::vec3 in_translationVec3)
{
translationVector = in_translationVec3;
} | [
"bigans01@gmail.com"
] | bigans01@gmail.com |
4fba2e41c756c24975d2a441b154e5e6f4e6d0e8 | db27bbf79ada7452972b76ab3c839fcac46c7de2 | /test/test_extended_xmath_reducers.cpp | 3dcb118a2e7794ae7cf65aa0116145b7afdd78b1 | [
"BSD-3-Clause"
] | permissive | jeandet/xtensor | 83cb8ef6cc0127d8f47b1ca92c5008f28e5b76d7 | fa94ba3a6cb3a54c1b52ac37389bc1b1fdc34f97 | refs/heads/master | 2020-04-14T21:32:16.663778 | 2018-12-20T16:17:23 | 2018-12-20T16:17:23 | 164,131,970 | 0 | 1 | BSD-3-Clause | 2019-01-04T16:46:48 | 2019-01-04T16:46:47 | null | UTF-8 | C++ | false | false | 93,428 | cpp |
#include <algorithm>
#include "gtest/gtest.h"
#include "xtensor/xarray.hpp"
#include "xtensor/xtensor.hpp"
#include "xtensor/xio.hpp"
#include "xtensor/xmath.hpp"
// This file is generated from test/files/cppy_source/test_extended_xmath_reducers.cppy by preprocess.py!
namespace xt
{
using namespace xt::placehol... | [
"johan.mabille@gmail.com"
] | johan.mabille@gmail.com |
2e520611a5c08b5c0a1dbf3cb1ff7415c71f8915 | 75e49b7e53cf60c99b7ab338127028a457e2721b | /sources/plug_osg/src/luna/bind_osg_Depth.cpp | 8061cdff1a87de4e41154542bcf7ce4ab2fd6cf7 | [] | no_license | roche-emmanuel/singularity | 32f47813c90b9cd5655f3bead9997215cbf02d6a | e9165d68fc09d2767e8acb1e9e0493a014b87399 | refs/heads/master | 2021-01-12T01:21:39.961949 | 2012-10-05T10:48:21 | 2012-10-05T10:48:21 | 78,375,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,096 | cpp | #include <plug_common.h>
class luna_wrapper_osg_Depth {
public:
typedef Luna< osg::Depth > luna_t;
// Derived class converters:
static int _cast_from_Referenced(lua_State *L) {
// all checked are already performed before reaching this point.
osg::Depth* ptr= dynamic_cast< osg::Depth* >(Luna< osg::Refe... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
1368a3ec0ef10da547a39ee97b12da47db98bbce | 4d4ff131f863a51b111cde6b5e4bb43e803c7c19 | /sdl_core/src/components/connection_handler/include/connection_handler/connection_handler_observer.h | 556a2dc4e2886d1d60c2da089f965b3f8a54c9fd | [] | no_license | lexoy/SDL | e6f695414e82bdbe7b89fb3557d0a1858ed5f247 | 8a46fc5fefa891484db00ebf567bfbd603b26079 | refs/heads/master | 2021-01-10T08:39:48.686320 | 2016-03-07T02:24:13 | 2016-03-07T02:24:13 | 47,313,013 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,083 | h | /*
* Copyright (c) 2014, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of condit... | [
"xiny@kotei-info.com"
] | xiny@kotei-info.com |
0ccec8570d333b725d1fe120d85d58a55b8286be | df67f4a2f3bb3f4bb78951e88ecab90955ff5c8a | /branch/ATSarf/src/sarf/suffix_search.h | a04d3488b113153adedcc563f27fa5487dcde7a6 | [] | no_license | sakrsamir/atmine | 8268b8ebaa3cf00d01b57761c4ed6c09b5a46728 | 74c71bd09021d14c982da3a5d0d28f05b0361e49 | refs/heads/master | 2020-05-01T07:03:47.547064 | 2018-09-10T06:09:41 | 2018-09-10T06:09:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | h | #ifndef _SUFFIX_SEARCH_H
#define _SUFFIX_SEARCH_H
#include "tree_search.h"
class SuffixSearch : public TreeSearch
{
public:
long prefix_category;
long stem_category;
SuffixSearch(QString * text,int start, long prefix_category, long stem_category):TreeSearch(SUFFIX,text,start)
{
this->prefix_category=pr... | [
"jadothebest@6ae2aee6-be38-11de-869a-473eb4776397"
] | jadothebest@6ae2aee6-be38-11de-869a-473eb4776397 |
b06180a6209c475080e83c717a48a9e51e26dc79 | 627d4d432c86ad98f669214d9966ae2db1600b31 | /src/plugins/gfxdrivers/vnc/qscreenvnc_qws.cpp | 5cff3fe10a92bafd3334477171ede13058620668 | [] | no_license | fluxer/copperspice | 6dbab905f71843b8a3f52c844b841cef17f71f3f | 07e7d1315d212a4568589b0ab1bd6c29c06d70a1 | refs/heads/cs-1.1 | 2021-01-17T21:21:54.176319 | 2015-08-26T15:25:29 | 2015-08-26T15:25:29 | 39,802,091 | 6 | 0 | null | 2015-07-27T23:04:01 | 2015-07-27T23:04:00 | null | UTF-8 | C++ | false | false | 66,501 | cpp | /***********************************************************************
*
* Copyright (c) 2012-2015 Barbara Geller
* Copyright (c) 2012-2015 Ansel Sermersheim
* Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies).
* Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.... | [
"ansel@copperspice.com"
] | ansel@copperspice.com |
b559d04e5d9e37e622f93b01c80f2097f6a399fe | 057abd2ebe8ba998214192bc4c9ef0d95852d41a | /Resan_hem/bullet.h | d17699bd8d4196088ada98520dea7e426a1e4379 | [] | no_license | Andrei-Appelqvist/TDP005-Project | 168d457f5a44de1c7f90ab5ac0e6dbb045ba6dfe | cac458ac779f3929560242c904767212b1cdba4f | refs/heads/master | 2022-12-06T01:21:48.590891 | 2020-01-29T13:08:46 | 2020-01-29T13:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | h | #ifndef BULLET_CLASS
#define BULLET_CLASS
#include <SFML/Graphics.hpp>
#include "object.h"
/*! The bullet class inherits from the object class as it creates a moving object in the game. This is the class that creates the projectile that is being shot when the player presses the spacebar. */
class Bullet : public Objec... | [
"andmo435@student.liu.se"
] | andmo435@student.liu.se |
89d66b9e66681eb82c8a0694806ade9d398736af | fcad38d922433e00d3d8688fa3776500d9082988 | /Temp/il2cppOutput/il2cppOutput/mscorlib16.cpp | 7ca59add1414b5881c406461595a11487d745497 | [] | no_license | KiranJodhani/Unity-Admob-Analytics | 5101b7ce35c952112605082c09f8ff4df73ec6e5 | e6176ee9983172186c108bf7aee94bf7b8498b05 | refs/heads/master | 2022-12-14T07:01:20.129671 | 2020-04-04T16:16:45 | 2020-04-04T16:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,996,741 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/System.Threading/Thre... | [
"kiran.jodhani.w@gmail.com"
] | kiran.jodhani.w@gmail.com |
66adf02a3b05a95eec006913c83dfe9276250331 | 62cd70b01d568c7fc30aaf97b5dcc4ebb729be4f | /Shatalin D/Task5/Векторы №5/Векторы/Vector.cpp | e0dc14757f0f2543470f34c50fac4c38f8947ffc | [] | no_license | MatveevSE1/IiP_381908-3 | 5c247eb99dd168b186906ebadf67bc33dd0daa04 | 4bef8de010dbc4ea4c233d95b8a7efd624e10f30 | refs/heads/master | 2022-09-29T07:47:51.800529 | 2020-06-04T19:24:10 | 2020-06-04T19:24:10 | 269,307,374 | 0 | 0 | null | 2020-06-04T08:49:22 | 2020-06-04T08:49:22 | null | WINDOWS-1251 | C++ | false | false | 5,692 | cpp | #include "Vector.h"
#include<math.h>
int det = 0, step = -1;
void Minor(double** mas, double** p, int i, int j, int m)
{
int ki, kj, ibreak, jbreak;
ibreak = 0;
for (ki = 0; ki < m - 1; ki++) {
if (ki == i)
ibreak = 1;
jbreak = 0;
for (kj = 0; kj < m - 1; kj++) {
if (kj == j)
jbreak = 1;
p[ki][... | [
"62507996+Dmitrii-Shatalin@users.noreply.github.com"
] | 62507996+Dmitrii-Shatalin@users.noreply.github.com |
e44bfc4d596c7b4059cdd488491e8900ac262ad3 | a57896a3ece793b261f37aa9e19c34995963e9cf | /GFX/Lab6/Movement/Movement.cpp | a684b703ad58773a65378b946dcd296a6f8be70f | [] | no_license | aolo2/BMSTU | bd222f4ee5b658f4fa66d8afdbd3c796c3802835 | 689b6a281e3f491e6005c6a0d6ee8ff2a55b6bc7 | refs/heads/master | 2020-06-09T15:28:36.489914 | 2018-06-18T22:12:59 | 2018-06-18T22:12:59 | 76,030,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,036 | cpp | #include "Movement.h"
#include <iostream>
float LIGHT_SPEED(0.5f), MOVEMENT_SPEED(0.8f);
glm::vec3 MOVEMENT_DIRECTION(1.0f);
bool outside = false, inside_safe = true;
const glm::vec3 normals[6] = {
glm::vec3(0.0f, -1.0f, 0.0f), // top
glm::vec3(0.0f, 0.0f, -1.0f), // front
glm::vec3(-1.0f, 0.0f, 0.0f), ... | [
"noreply@github.com"
] | aolo2.noreply@github.com |
c6b047e6c4041a884104ad9c4b75571cfd122d0b | 7435c4218f847c1145f2d8e60468fcb8abca1979 | /Vaango/src/CCA/Components/MPM/ConstitutiveModel/PlasticityModels/HypoElasticDevStress.cc | 1306ef0b61e81e19066481976dbc0357ae4b6a60 | [] | no_license | markguozhiming/ParSim | bb0d7162803279e499daf58dc8404440b50de38d | 6afe2608edd85ed25eafff6085adad553e9739bc | refs/heads/master | 2020-05-16T19:04:09.700317 | 2019-02-12T02:30:45 | 2019-02-12T02:30:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,458 | cc | /*
* The MIT License
*
* Copyright (c) 2013-2014 Callaghan Innovation, New Zealand
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation t... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
6d6d6947cd1f27617c47abba3737cca04fe5e325 | e3ab0fbb14d408eddc90db3a7a9b96562317b41f | /src/A-Protect/Atapi.cpp | c994577e51feec1a7823ac2acba2437c13c1e994 | [] | no_license | jilvan1234/A-Protect | 30ca67687fece8e6bc9da7e882172b8c733c107a | a498141c9e156846f6a0c153715cc90294e33977 | refs/heads/master | 2022-02-22T14:08:06.913558 | 2019-10-27T04:52:40 | 2019-10-27T04:52:40 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,115 | cpp | // Atapi.cpp : 实现文件
//
#include "stdafx.h"
#include "A-ProtectView.h"
#include "Atapi.h"
void QueryAtapiHook(HWND m_hWnd,ULONG ID,CMyList *m_list)
{
DWORD dwReadByte;
int ItemNum = m_list->GetItemCount();
int i=0;
SHFILEINFO shfileinfo;
AtapiImg.Create(16,16, ILC_COLOR32, 2, 100);
HIMAGELIST hImageList = NULL;... | [
"xiaoqiang23"
] | xiaoqiang23 |
d9277121df80d37010b5215a91f5a5e5607b2473 | 18e8864a51903eae12def39f4638f5209241e38d | /3.선그리기/solution( 윤석, O(MN) ).cpp | 25f660ab9415e9c93ca1da7b9fd820b74141c08e | [] | no_license | rltjqdl1138/hpc2018 | 06c9ebf772e1b41e6acf369fbd5eb01b122e456f | e46acad031b102ef2683bdbe418520c244b3415c | refs/heads/master | 2020-04-25T11:09:34.150875 | 2019-02-26T16:25:01 | 2019-02-26T16:25:01 | 172,735,299 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | cpp | #include <iostream>
using namespace std;
int p[20000];
int n, x, y;
int main() {
cin >> n;
while (n--) {
cin >> x >> y;
for (int i = x; i < y; i++) {
p[i] = 1;
}
}
int ans = 0;
for (int i = 1; i < 10000; i++) {
if (p[i]) ans++;
}
cout << ans;
} | [
"noreply@github.com"
] | rltjqdl1138.noreply@github.com |
098e812f46b6f3f7017a234aa9f3fc9eb790e2d5 | d52d3a9f0afb4316532837a5786e487813374da2 | /fmnccmbd/CrdFmncOrg/PnlFmncOrgHk1NAddress_blks.cpp | 45baf4d958b956b5f5b392c37dcd88a5041a97e7 | [] | no_license | epsitech/fabmaniac | cf7fb7e2f8d0f0a3dd18585a3309d05d3ea622ac | 715f59ed8a80a1288119081210428fce51422d7e | refs/heads/master | 2021-01-21T04:25:33.463846 | 2016-08-07T19:25:59 | 2016-08-07T19:25:59 | 48,572,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,009 | cpp | /**
* \file PnlFmncOrgHk1NAddress_blks.cpp
* job handler for job PnlFmncOrgHk1NAddress (implementation of blocks)
* \author Alexander Wirthmueller
* \date created: 7 Mar 2016
* \date modified: 7 Mar 2016
*/
/******************************************************************************
class PnlFmncOrgHk1... | [
"awirthm@gmail.com"
] | awirthm@gmail.com |
bcd5995210735be5f3b8a7b17693ad9babf806ce | 2765d8e5b69bcf1308d5bbd2f05d1313d8435eed | /src/qt/optionsdialog.cpp | 8b323b2278d4c316fd28d33fd69af56dc9b6304e | [
"MIT"
] | permissive | researchcoin/researchcoin | a4714a755d342291555d32817b668c9d5b9f7381 | fd5a21b3c9e75b2e48944a3532e1bb01076ab0ca | refs/heads/master | 2021-01-22T01:05:02.394178 | 2014-07-18T07:59:09 | 2014-07-18T07:59:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,896 | cpp | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
... | [
"mysalesman@sina.com"
] | mysalesman@sina.com |
f9049755c5d40affc12431e03f51c9a04e7395c1 | e19c6e8f6fc43451055a59e2ee98a64c77de877e | /breath/meta/has_sign.hpp | bdf965746e490e8330aefd2542d924fff5d48eef | [
"BSD-3-Clause"
] | permissive | erez-o/breath | 606a5e445ca2516c9131ca7e28fa37c12c525015 | adf197b4e959beffce11e090c5e806d2ff4df38a | refs/heads/master | 2023-01-11T20:24:16.573636 | 2020-11-01T03:06:57 | 2020-11-01T03:06:57 | 299,582,899 | 0 | 0 | NOASSERTION | 2020-09-29T10:29:39 | 2020-09-29T10:29:38 | null | UTF-8 | C++ | false | false | 1,865 | hpp | // ===========================================================================
// Copyright 2006 Gennaro Prota
//
// Licensed under the 3-Clause BSD License.
// (See accompanying file 3_CLAUSE_BSD_LICENSE.txt or
// <https://opensource.org/licenses/BSD-3-C... | [
"gennaro.prota+github@gmail.com"
] | gennaro.prota+github@gmail.com |
9a4fe691422a31c3570912f4306bc22df0cc7b8b | 9e6a9dbead877cdff18bbbe8186f8a0f4c0bbb0d | /Assignment_3_csce240/src/DList.cpp | 809c7529024670dd705bc5a976c45e470412314c | [] | no_license | hffaust/CSCE240 | 07c383f314bb95d928c8b9900ed1cf558258d02c | 4afd70fa1909ec3a01c1e5f064076b3b03500aa8 | refs/heads/master | 2021-08-31T21:57:36.403140 | 2017-12-23T02:47:05 | 2017-12-23T02:47:05 | 112,243,597 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,432 | cpp | /*
* DList.cpp
*
* Created on: Feb 21, 2017
* Author: hfaust
*/
#include "DList.h"
#include <iostream>
using namespace std;
Node::Node(int i) {
data = i;
parent = NULL;
child = NULL;
}
Node::~Node() {
// TODO Auto-generated destructor stub
//delete parent;
//delete child;
}
int Node::GetData(){
... | [
"hfausty@gmail.com"
] | hfausty@gmail.com |
ac95e2533f0929441294021a89bb091b3922b03e | 65806658e0f526d9166b165ea61ac629c9034251 | /101.symmetric-tree.cpp | 51d0b1b24b577138e99e51fc318a74eefdca29d4 | [] | no_license | chop-ch0p/leetcode | ba70012b1d425160e7abe711894500488d62cea5 | 14b48b12bc9ac04bbf1a181007518574d8dea57f | refs/heads/master | 2022-10-30T00:56:38.321103 | 2019-05-14T12:50:12 | 2019-05-14T12:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
private:
bool recursive(TreeNode* p, TreeNode* q) {
if (p == nullptr && q == nullptr) return tr... | [
"difgrt@gmail.com"
] | difgrt@gmail.com |
b7467903c42465f334e0c5ffb7640994deabb4d8 | 171b27ba265922de7836df0ac14db9ac1377153a | /include/eve/function/numeric/fms.hpp | da1e82f84cdc0a34f84d058a46d2a19c6443c29f | [
"MIT"
] | permissive | JPenuchot/eve | 30bb84af4bfb4763910fab96f117931343beb12b | aeb09001cd6b7d288914635cb7bae66a98687972 | refs/heads/main | 2023-08-21T21:03:07.469433 | 2021-10-16T19:36:50 | 2021-10-16T19:36:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | hpp | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | [
"noreply@github.com"
] | JPenuchot.noreply@github.com |
149f115d63f549f5241d6632be0c0797634877be | 566754f63c0d665af01bdad8814873468f8be888 | /clips/learn/advance_programming_guide/src/test_defclass_sample.cpp | 99acc51901c6e1ff07260972b561c2e9c8a7dc2d | [
"MIT"
] | permissive | qrsforever/workspace | 7f7b0363649b73e96526745f85a22e70b1c749c9 | 53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f | refs/heads/master | 2022-05-04T18:58:41.562544 | 2020-05-25T04:07:00 | 2020-05-25T04:07:00 | 82,469,335 | 2 | 0 | MIT | 2022-04-12T21:54:15 | 2017-02-19T15:36:43 | Jupyter Notebook | UTF-8 | C++ | false | false | 748 | cpp | #include <iostream>
#include <list>
#include <vector>
#include <string>
extern "C" {
#include "clips.h"
}
using namespace std;
extern "C" void* create_clips_environment();
static void *g_clipsEnv = 0;
extern "C"
void test_defclass_sample()
{
const char *buildinfo = "(deftemplate build-info \
... | [
"lidong8@le.com"
] | lidong8@le.com |
177f36c6af7333a6b0b98216f3ad6c57a45d6a9e | 22b009129cb8a50d3dd21cb20bf7cf3919eb42ac | /src/GameContext.hpp | dfa093c906567487a66c772ed23ca6472f05b6ac | [] | no_license | gottong/gottong-core | 7f17c01bb4144f1548971bb21e1b258fe9f6b2d8 | 264711108caf0ed5b5ac7d02806fe259af816666 | HEAD | 2016-09-06T07:56:58.955096 | 2013-08-28T08:59:05 | 2013-08-28T08:59:05 | 40,695,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | hpp | #ifndef __GAME_CONTEXT_HPP__
#define __GAME_CONTEXT_HPP__
#include "../include/Gottong.hpp"
#include <memory>
namespace Gottong {
class GameContext {
private:
unsigned long prev_tick;
unsigned long cur_tick;
const std::unique_ptr<Game> game;
public:
GameContext(std::unique_ptr<Game>);
~GameContext();
unsig... | [
"asdefary@gmail.com"
] | asdefary@gmail.com |
39713214eacbab3bb45259689481ba4ed86fdefc | 14582f8c74c28d346399f877b9957d0332ba1c3c | /branches/pstade_1_03_5_head/pstade_subversive/libs/oven/test/lightweight_copyable.cpp | a38fc0bf9090927655410514ed0230d83e3d8795 | [] | no_license | svn2github/p-stade | c7b421be9eeb8327ddd04d3cb36822ba1331a43e | 909b46567aa203d960fe76055adafc3fdc48e8a5 | refs/heads/master | 2016-09-05T22:14:09.460711 | 2014-08-22T08:16:11 | 2014-08-22T08:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | #include <pstade/vodka/drink.hpp>
#include <boost/test/minimal.hpp>
// PStade.Oven
//
// Copyright Shunsuke Sogame 2005-2006.
// 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 <pstade/oven/... | [
"mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec"
] | mb2sync@350e9bb6-6311-0410-90c3-be67731b76ec |
0d0ad4decd5a00c062b41966292279a130a2cb16 | ec44dc426d479eec210cf968c62f51710ebb5b5c | /3 入门模拟/3.2 查找元素/A 统计同成绩学生人数.cpp | 6172fcc6f1e24cb1629bbd949cacaaa67b64f1c5 | [] | no_license | Madness-D/CodeUp | be3cb65ec0460f237cfb2ccae2d8e9c6d3bdc21e | 821bafa247abf5c3a04d52839c2c83589bdfeb1b | refs/heads/main | 2023-08-18T00:32:03.568027 | 2021-10-10T12:34:21 | 2021-10-10T12:34:21 | 401,964,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include<cstdio>
int main(){
int N;
int cj[1000];
while(scanf("%d",&N)!=EOF && N){
for(int i=0;i<N;i++){
scanf("%d ",&cj[i]);
}
int obj,res=0;
scanf("%d",&obj);
for(int i=0;i<N;i++){
if(cj[i]==obj){res++;}
}
printf("%d\n",res);... | [
"62844021+Madness-D@users.noreply.github.com"
] | 62844021+Madness-D@users.noreply.github.com |
850d65cb72abf3751968b5dc7953f95ac5e8b4ab | 675fade53b5dc60dac5d9cf08150b15d11e6dca3 | /Temp/StagingArea/Data/il2cppOutput/Il2CppCompilerCalculateTypeValues_13Table.cpp | 557aaf6bf4ddf768ec246d778dbfbba58298d0d7 | [] | no_license | tejaskhorana/SandboxFPS | be90670c29dbe20b20295e36c85e8e73b948f08f | 6c795634703e31e4ab6d416663fbf6c89b179c59 | refs/heads/master | 2020-02-26T15:05:01.879563 | 2017-05-24T05:52:04 | 2017-05-24T05:52:04 | 83,266,163 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 37,303 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "System_System_Security_Crypt... | [
"tejaskhorana@gatech.edu"
] | tejaskhorana@gatech.edu |
63988b41c4ffe9a4624c425b240a6de56444d153 | d63c6391ee9e5edf1bcc482fa3616c1fdcd3e044 | /2020_1/20181025_이유현/chap07/DerivDestOrder.cpp | b6fe4d38386da09dba49250279f8ca4d70bf4d79 | [] | no_license | wns5255/STD_Algo | 3715c13c3e82ee83c5ee26d128a8f76186a9e9c8 | 2462e75f46a73a0c05c3a0198baa115eba5544e1 | refs/heads/master | 2023-04-09T01:22:50.768378 | 2021-04-12T06:44:44 | 2021-04-12T06:44:44 | 269,910,208 | 0 | 5 | null | 2020-07-27T07:03:11 | 2020-06-06T07:54:01 | C++ | UHC | C++ | false | false | 809 | cpp | // 소멸자도 두번 호출 ( 생성자와 반대 순서로)
#include <iostream>
using namespace std;
class SoBase
{
private:
int baseNum;
public:
SoBase(int n) : baseNum(n)
{
cout << "SoBase() : " << baseNum << endl;
}
~SoBase()
{
cout << "~SoBase() : " << baseNum << endl;
}
};
class SoDerived : public SoBase
{
p... | [
"noreply@github.com"
] | wns5255.noreply@github.com |
37f87ade0dff8bf61d11771a55673b41d05b8860 | 0cf299c3d7b04b81a417debb1236d6d228f7dfc6 | /Serie03_Inputs/Radio_01/s03e01.cpp | afffde73195727dfdf82f9da13a5ce87bedf2a1a | [] | no_license | RoscaS/Qt_cp1 | 64e9f414e88601aa61ed54f7d69e5cebd5b5cacf | e77f5896425f690fd8fb05b3c5d2549efb6a06df | refs/heads/master | 2020-04-09T08:40:03.164582 | 2018-12-03T14:24:51 | 2018-12-03T14:24:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | cpp | #include <QtWidgets>
#include "s03e01.h"
S03E01::S03E01(QWidget *parent) : QWidget(parent) {
button = new QPushButton(tr("&Valider"), this);
radio1 = new QRadioButton(tr("Choix &1"), this);
radio2 = new QRadioButton(tr("Choix &2"), this);
radio3 = new QRadioButton(tr("Choix &3"), this);
auto *gr... | [
"sol.rosca@he-arc.ch"
] | sol.rosca@he-arc.ch |
e42865c26db57914b67d69f12b27b188b059ef93 | ffecf8d2492866df268db39673873e78377e7849 | /src/wallet/wallet.h | 4b3db8d2068c89018f6e8436791d38e21c03cccb | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dashfirst/dashfirst | e96414d02822bc397b577ecb4a424534bfcde4a8 | f79a29845af4d8922f1051b55200b5cc694dd1fb | refs/heads/master | 2020-03-25T03:35:15.151292 | 2018-08-02T22:14:09 | 2018-08-02T22:14:09 | 143,349,880 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 34,737 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The DashFirst Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org... | [
"alt@MacBook-Pro-Alt.local"
] | alt@MacBook-Pro-Alt.local |
bd2a319c9b9ec3ff51cf582950521e5d0ff13766 | 5fcacbc63db76625cc60ffc9d6ed58a91f134ea4 | /vxl/vxl-1.13.0/contrib/rpl/rgtl/rgtl_serialize_istream.hxx | 9c6ee502bdf46b97dfe33d15c6489192561ba238 | [
"BSL-1.0"
] | permissive | EasonZhu/rcc | c809956eb13fb732d1b2c8035db177991e3530aa | d230b542fa97da22271b200e3be7441b56786091 | refs/heads/master | 2021-01-15T20:28:26.541784 | 2013-05-14T07:18:12 | 2013-05-14T07:18:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,022 | hxx | /* Copyright 2006-2009 Brad King, Chuck Stewart
Distributed under the Boost Software License, Version 1.0.
(See accompanying file rgtl_license_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt) */
#ifndef rgtl_serialize_istream_hxx
#define rgtl_serialize_istream_hxx
//:
// \file
// \brief Load rgtl obje... | [
"hieuza@gmail.com"
] | hieuza@gmail.com |
f11118a34b8587bbd4111dc8798f589ce25344b8 | 8c2144d40c9bb8ece222e609f2647879102e685b | /PRACTICE/DS/linked list/reverseSublist.cpp | 3ec691e572228e28a2fd3a6536e077bd1c8326a9 | [] | no_license | Arpit-Jindal/My-Codes | c09cf5897b72e4c83f78bf01fee9943f30c55f50 | c6bc249df93e88dd1e3100cc398f8bdada8e3786 | refs/heads/master | 2022-11-26T09:59:41.570859 | 2020-08-05T12:43:26 | 2020-08-05T12:43:26 | 285,284,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | #include<iostream>
using namespace std;
node* reverse(node* root) {
node* prev = NULL;
node* curr = root;
node* Next = NULL;
while (curr) {
Next = curr->next;
curr->next = prev;
prev = curr;
curr = Next;
}
return prev;
}
node* reverseBetween(node* A, int B, int C) {
if (B == C)
return A;
node* revs =... | [
"arpitjindaldtu@gmail.com"
] | arpitjindaldtu@gmail.com |
c597254e9a8b356034fe81c4c52390bbea17cd1f | 5aad40ba5a1eb29799c1ad1c21495faa07e99b36 | /src/examples/opengl/glsl_pseudo_instancing/Mesh.cpp | 6f94cd02dc66311735ca996dd8df05774e08cf3e | [] | no_license | q4a/navidia_proj | 3525bcfdb12dc20dcecf08f2603324feceef7394 | 32c839744ad849f8d4d0273c635c4d601cc1980f | refs/heads/master | 2023-04-16T10:44:39.466782 | 2019-11-30T10:26:47 | 2019-11-30T10:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | cpp |
#if defined(WIN32)
# include <windows.h>
#endif
#include "Mesh.h"
#include <assert.h>
#include <glh/glh_extensions.h>
static const bool sUseVBO = true;
Mesh::Mesh(void)
{
mVerticesVBO = 0;
mIndicesVBO = 0;
mTexture0 = 0;
}
Mesh::~Mesh(void)
{
if(sUseVBO)
{
if(mVerticesVBO > 0)
{
... | [
"xtKnightMM@iCloud.com"
] | xtKnightMM@iCloud.com |
9900943bdf12788b3b05dcbe5e4ab9e1c69c8147 | ac0a6a4335676ec0120bb653567537f5e7cfd214 | /src/datatypes.hpp | 7d0f6cc9ccb083b031a60703e474513c56966175 | [] | no_license | TEALab-org/fourst-cli | e818b15a1b761df3d29a1a0d5767e42e6f471f5d | c10af215487272a6350e58b5762c0aad9e391f60 | refs/heads/main | 2023-08-28T17:57:55.147149 | 2021-10-20T21:49:59 | 2021-10-20T21:49:59 | 415,700,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | hpp | #include <string>
#include <vector>
using namespace std;
class datatypes
{
public:
// prefix m is for member variable followed by datatype: s for string, n for integer, v for vector
char *ms_name;
char *ms_type;
char mc_argument_ptr;
int mn_dim;
std::vector<int> mv_size;
datatypes();
datatypes(std::string s_n... | [
"gcroisda@vols.utk.edu"
] | gcroisda@vols.utk.edu |
48879833e891d0940a599071a900f4ceaf0fa7f4 | 9fb33e83c244d7ff2ed4715488012d8c5d5654bd | /NewGameProject/EnemyAnimeManager.hpp | 352893a1010441c5fad7fc1c4bca8c3944d6de64 | [] | no_license | derangero/NewGameProject | dd0d452f6491aafc6fc9aeda13f00aab9be13e1d | 1a8ea2e9b253df303a39be051eeed0650daeeceb | refs/heads/master | 2023-03-04T05:06:32.747789 | 2021-02-21T08:27:52 | 2021-02-21T08:27:52 | 330,187,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | hpp | #pragma once
# include "Player.hpp"
# include "MapScreenHelper.hpp"
# include "AnimationBean.hpp"
class EnemyAnimeManager {
public:
Stopwatch sw;
EnemyAnimeManager();
void Draw(Array<Enemy> &enemies, Player player, Font font);
double GetFlashPeriodic(Enemy enemy);
static int Animate(AnimationBean &aniBean, Stopwa... | [
"jjhhssuueeaa@gmail.com"
] | jjhhssuueeaa@gmail.com |
8b0a26f9b6937c1329fb4cf5ed0e26f51e8c65a8 | 82e07f743dd65da5eac20a1b695bcfa833073f9d | /viewer/ViewMain.cc | 9715fbf55db00a6b988e58089a601c6c486bcefa | [] | no_license | aminems/ska | 3b9719cbacc099fedf18213e3ce05d2bd5669a9d | 87ec8c42e929d5c310917c0ac969d15d1717c135 | refs/heads/master | 2021-01-16T20:59:17.660189 | 2013-02-28T04:08:41 | 2013-02-28T04:08:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,326 | cc | /*----------------------------------------------------------------------------*
* Copyright (c) 2012 Los Alamos National Security, LLC
* All rights reserved
*----------------------------------------------------------------------------*/
#include <iostream>
#include <ViewMain.hh>
viewmain_t::viewmain_t()
{
/*----... | [
"bergen@lanl.gov"
] | bergen@lanl.gov |
641d46ecb0f1aa7905ca45ac3a576a588346c17b | 65e00876bdb944938fc9f80f74c98372268d4d3d | /Searching and Sorting/17.cpp | 0633f11e444fdf2de215bfa6f760cadea5140873 | [] | no_license | nipunarora-eGov/Coding-Interview-101 | 372086b1e80f03e3f00a7b5b8616e0966c0a29f6 | 9fda66bfe0afedc2d161b1657e75a286a0ccdb9e | refs/heads/main | 2023-02-15T07:59:33.433792 | 2021-01-06T09:57:42 | 2021-01-06T09:57:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | cpp | #include<bits/stdc++.h>
using namespace std;
int countSetBits(int x){
int count = 0;
for(int i=0;i<32;i++){
if(x & (1<<i))
count++;
}
return count;
}
bool mycompare(int a,int b){
int count1 = countSetBits(a);
int count2 = countSetBits(b);
if(count1 <= co... | [
"aroranipun1@gmail.com"
] | aroranipun1@gmail.com |
1df1518962994128752b1444f0ba51615137e5f0 | 60a03ab10b99121909a8b6da93f0204824ac164c | /include/zstd/internal/type_traits/type_traits_logic.h | a951155f7e6582ef088a54fbc78a45595bf2e37b | [] | no_license | WaizungTaam/Cpp-Standard-Library | 590af80f53adc3c6c8fe80fc25101e2ec14d56b3 | d3c744a3b99bdb650eb020175ae002ddc79901d7 | refs/heads/master | 2020-06-11T03:02:43.681414 | 2016-12-09T16:17:14 | 2016-12-09T16:17:14 | 76,017,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | h | #ifndef ZSTD_INTERNAL_TYPE_TRAITS_TYPE_TRAITS_LOGIC_H_
#define ZSTD_INTERNAL_TYPE_TRAITS_TYPE_TRAITS_LOGIC_H_
#include "type_traits_base.h"
#include "conditional_type.h"
namespace zstd {
namespace internal {
/* or_t */
template <typename...>
struct or_t;
template <>
struct or_t<> : public zstd::false_type {};
temp... | [
"waizungtaam@gmail.com"
] | waizungtaam@gmail.com |
39fecd8c9beea6a5991b477750689d12336b35f0 | 3c2f0a208088a84572f625f9672f14fb70fdb11b | /BrewPiLess/PiLink.cpp | b9ea258109351d4d61c435daaff2dabd149fb67c | [] | no_license | stagma/BrewPiLess | 8df5915684bac1f2c4374b3601f87e84cec4375f | 7858c5ccc82ec0c7fe097f4da2218bad1dc4ad74 | refs/heads/master | 2021-01-21T08:24:39.176790 | 2017-05-17T17:19:10 | 2017-05-17T17:19:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,182 | cpp | /*
* Copyright 2012-2013 BrewPi/Elco Jacobs.
* Copyright 2013 Matthew McGowan.
*
* This file is part of BrewPi.
*
* BrewPi 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 3 of the Licen... | [
"vitotai@mail.com"
] | vitotai@mail.com |
c1d4b047cfaf2623af22e1053ddfa9cee7f15170 | 10549922d157ce67b6a32759b09a8dee78aebe9c | /calendarui/organizerplugin/aiagendaplugin2/src/aicalendarplugin2eventitem.cpp | 23be31f054440bedabfdaa9c3894f0d911527105 | [] | no_license | SymbianSource/oss.FCL.sf.app.organizer | c8be5fbc1c5d8fc7d54a63bb1793f8db823fa3d7 | e15734d1943a012120b188fe3ffd5dd7594d145f | refs/heads/master | 2021-01-10T22:41:15.449986 | 2010-11-03T11:42:22 | 2010-11-03T11:42:22 | 70,369,523 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 15,344 | cpp | /*
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... | [
"none@none"
] | none@none |
e23df91a6ae3d576d0b1b36734b242602bb62a4f | 70ad94be7d74ee09ef9d4157a65cd12f5c831488 | /binaryEnum/foo.cc | 89f9a1a3a1e04acf805cac2514eed8cccfba14ff | [] | no_license | stanislas-brossette/playground | 4c07c0f203e7abc50eb993f9d414e4ba068d2030 | e5670736cab8246e60a34dd9a7e11d79cada5025 | refs/heads/master | 2021-01-10T03:26:06.758602 | 2017-06-22T12:22:08 | 2017-06-22T12:22:08 | 49,246,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cc | #include <iostream>
enum E {
TX = 1 << 0,
TY = 1 << 1,
TZ = 1 << 2,
RX = 1 << 3,
RY = 1 << 4,
RZ = 1 << 5
};
int size(int e)
{
int r= 0;
for (int i = 0; i < 6; ++i)
{
r+= (int)(bool)(e & (1 << i));
}
return r;
}
int main(int argc, char *argv[])
{
int A1 = E::TX;
int A2 = E::TY | E::TZ;
... | [
"stanislas.brossette@gmail.com"
] | stanislas.brossette@gmail.com |
e538bc45b3c225a19c6d03271086fd4f8479de41 | 29fd847ce5f92736199a13a0d275adc81421dea3 | /mooc_C++/远征之继承篇/4-7_inhert_practice/main.cpp | 97ec9c6ae529835ebcb6ee4764800bcde8a28ea2 | [] | no_license | spacingout/mooc_Cplus | 9d879a224a954f9715d62d9a90ab70e7314c0c85 | df548e0f39ce037a93b53b6331e4993996a7ea37 | refs/heads/master | 2021-01-20T12:51:55.693191 | 2017-09-10T12:11:10 | 2017-09-10T12:11:10 | 101,727,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cpp | #include <iostream>
#include <stdlib.h>
#include <string>
using namespace std;
/**
* 定义人类: Person
* 数据成员: m_strName
* 成员函数: attack()
*/
class Person
{
public:
string m_strName;
void attack()
{
cout << "attack" << endl;
}
};
/**
* 定义士兵类: Soldier
* 士兵类公有继承人类
* 数据成员: m_strName
* 成员函数: att... | [
"noreply@github.com"
] | spacingout.noreply@github.com |
c010144e0c8d532a621b1242d203b7f52da65591 | b8376621d63394958a7e9535fc7741ac8b5c3bdc | /lib/lib_XT12/Source/CommandBars/XTPDockContext.cpp | 4a90e001d3f0532299100185c57b9a9f629ce6e8 | [] | no_license | 15831944/job_mobile | 4f1b9dad21cb7866a35a86d2d86e79b080fb8102 | ebdf33d006025a682e9f2dbb670b23d5e3acb285 | refs/heads/master | 2021-12-02T10:58:20.932641 | 2013-01-09T05:20:33 | 2013-01-09T05:20:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,779 | cpp | // XTPDockContext.cpp : implementation of the CXTPDockContext class.
//
// This file is a part of the XTREME COMMANDBARS MFC class library.
// (c)1998-2008 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHO... | [
"whdnrfo@gmail.com"
] | whdnrfo@gmail.com |
3a1e8f93d591de8912c5cf2468ead1d00fa705bb | f862ae64559a336b5876a788dae4bb3bad56b7a7 | /Tutorial05/Include/NsGui/AdornerDecorator.h | 909a3b00960464571e302600a32533030bd65810 | [] | no_license | nitianxiaoshuai/NoesisDemo | ef9485f4f015707cae15e017fcd8593ebc4fd216 | dc949eb8058361fbba0d6be58503bef824216453 | refs/heads/master | 2020-06-17T06:14:36.282909 | 2016-12-01T00:09:25 | 2016-12-01T00:09:25 | 75,034,645 | 1 | 8 | null | 2016-12-07T01:13:31 | 2016-11-29T02:28:47 | C++ | UTF-8 | C++ | false | false | 2,180 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////
// Noesis Engine - http://www.noesisengine.com
// Copyright (c) 2009-2010 Noesis Technologies S.L. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////... | [
"hundry1986@gmail.com"
] | hundry1986@gmail.com |
7f8981fe449f6fd2ca3e339b04c1c102f4822375 | c3783c8a04b0817d6330fa0caa3dfa87ec08e022 | /193541T/App.cpp | 0e06558ff8f151ed7693674219b4b7cf965e4bf1 | [] | no_license | HenIsTheMan/ACOMPG_A2 | de1da1b37759c9de484510d76dbe86235ce674bf | 854e3be9253e0a4ba6579127fd62cb85d5e103d2 | refs/heads/main | 2023-06-01T03:01:18.136352 | 2020-10-26T14:37:59 | 2020-10-26T14:37:59 | 307,388,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,732 | cpp | #include "App.h"
#include "Generic.h"
#include "Global.h"
GLFWwindow* App::win = 0; //Render window
App::App(): camResetBT(0.f), cullBT(0.f), polyModeBT(0.f), ppeTypeBT(0.f), typePPE(0){
Init();
scene = new Scene;
}
App::~App(){
delete scene;
frontFBO->Del();
dDepthMapFBO->Del();
sDepthMapFBO... | [
"193541T@mymail.nyp.edu.sg"
] | 193541T@mymail.nyp.edu.sg |
357dd445bd6ac9d347c29eb4bb8d189d64ab35f4 | bd6156f4844b860d47b6e50e7a4d7021cdc0ce02 | /qt4/prova/tdpalio/moc_nuovogiocatore.cpp | 99da094ed354aa6db58d82d3540610de08c89884 | [] | no_license | matteosan1/workspace | e178c9843e62d78762420c217bc603819dc96b10 | f9a2dedfb821b889d037f7642fa5e2cb581b4779 | refs/heads/master | 2021-07-20T04:26:40.187162 | 2021-06-24T20:13:46 | 2021-06-24T20:13:46 | 149,867,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,612 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'nuovogiocatore.h'
**
** Created: Mon Oct 22 19:09:16 2007
** by: The Qt Meta Object Compiler version 59 (Qt 4.3.2)
**
** WARNING! All changes made in this file will be lost!
********************... | [
"matteosan1@gmail.com"
] | matteosan1@gmail.com |
4fe1fdb76081e7904401a4ac002c7d6107fa6bc5 | c1a80a9c550c430f56934f9be74aea8676818b60 | /src/hw/vio_utils.h | ea3862af7ac11f337a55e879d1999df56dc3de7e | [
"Zlib"
] | permissive | ramcn/flappie-x-cpp | ce32be7a8d5901bd43949c52fea9980d3f7723f2 | 9fc19053aadd1782d0c064e6a2d8ff3d4236eca1 | refs/heads/master | 2020-06-23T06:08:07.994873 | 2016-02-11T17:00:22 | 2016-02-11T17:00:22 | 198,539,580 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,654 | h | /**********************************************************************************************
INTEL TOP SECRET
Copyright 2016 Intel Corporation All Rights Reserved.
The source code contained or described herein and all documents related to the source code
("Material") are owned by Intel Corporation or it... | [
"root@sockit.iind.intel.com"
] | root@sockit.iind.intel.com |
a55e61078f5d08bb7056bbb1035f8f15c50c37d2 | d3ba971536c008f4b628618d24264b3c90959031 | /1-2/WindowsProject2/WindowsProject2/Object.cpp | 84829ae14f7a007a55b0889d326cfcce6a0b3ad0 | [] | no_license | We9ld/FA | b13dbd11167e02251c206b073723bc1ef1846367 | a82ad05b9490ca026bfce7456ad340a259fa6296 | refs/heads/master | 2022-10-24T11:27:27.091214 | 2020-06-11T21:40:26 | 2020-06-11T21:40:26 | 262,332,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include "Object.h"
Object::Object(size_t width_, int speed_, Vector2D center_, Vector2D direction_) :
width(width_), speed(speed_), center(center_), direction(direction_)
{}
void Object::draw(HDC hdc)
{}
void Object::update()
{
center += direction * speed;
}
| [
"noreply@github.com"
] | We9ld.noreply@github.com |
11cf0e7b3971e369777b867f0e33515508db2656 | 8dd39b654dde37c6cbde38a7e3a5c9838a237b51 | /redix tree (shafayater blog) 1/main.cpp | 3390459e50eb9b826d9bf003dd0b99135bb73b4c | [] | no_license | Taohid0/C-and-C-Plus-Plus | 43726bdaa0dc74860c4170b729e34cea268008fd | d38fd51851cc489302ad4ef6725f1d19f7e72ec2 | refs/heads/master | 2021-07-19T17:30:26.875749 | 2017-10-28T09:49:51 | 2017-10-28T09:49:51 | 108,636,340 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | #include <bits/stdc++.h>
using namespace std;
struct node{
bool endmark;
node *next[27];
node()
{
endmark = false;
for(int i = 0;i<27;i++)
{
next[i] = NULL;
}
}
} *root;
void insert_word(string str,int length)
{
... | [
"taohidulii@gmail.com"
] | taohidulii@gmail.com |
0bdbaa264bb6111b3aaee0b17de967d34611d3c2 | 9b82530531884af29beb7a5b938d8d2a143e4086 | /version2/src/util.cpp | a4e163332765fc5ecfe143745dc2440c59edf742 | [] | no_license | sean-dougherty/isofinder | b81cbb9ebb0da309c061a174d5ec3982d29d903d | 5d1ec4f100353dfd19c433c3083e377ce55b175c | refs/heads/master | 2020-04-14T05:05:47.028186 | 2014-08-08T20:39:00 | 2014-08-08T20:39:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,389 | cpp | #include "util.h"
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <algorithm>
#include <iostream>
using namespace std;
bool equals(float a, float b, float epsilon) {
return fabs(a - b) < epsilon;
}
vector<string> split(const string &str, const string &delims) {
... | [
"sean.dougherty.cs@gmail.com"
] | sean.dougherty.cs@gmail.com |
1e0d2f2eed74a68b5dddc7ba7b1fc55f1bff2417 | c95d6f66b59ff3aa04f5cba8bcb942dfa0e08bdb | /1013.cpp | 02b4bd5fb1bb145d44f54d477aa18c2610d452de | [] | no_license | Capital-Letters/PAT | 7e56b428f94ae7ea2ede62534afa770d5988e431 | 526d2a61d2dfb588f4f69f78bbcc565cf964fe51 | refs/heads/master | 2020-12-03T01:21:15.940065 | 2020-01-31T08:51:19 | 2020-01-31T08:51:19 | 231,173,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
int m,n;
int s=1;
cin >> m >> n;
int count=1;
int count1=0;
for (int i = 3; count <= n; i++)
{
int flag=1;
for (int j = 2; j <= sqrt(i); j++)
{
if (i%j==0)
{
... | [
"1204650012@qq.com"
] | 1204650012@qq.com |
df888f664da1f3bebadae6ede005e2184d4105aa | 9c5c057bbc4b551b04a169a714ff7eaf2a01be4d | /pot_leds.ino | 6c53cc30d3943b3336fb80fa0655f565ddca36cc | [] | no_license | ojhl13/arduinoexamples | 0b932c874f9dc5a412d58846c5287ea905ad829a | 103537c4f183279b80f4f834a1c47681749e8494 | refs/heads/main | 2023-01-07T07:20:13.348764 | 2020-11-11T01:25:18 | 2020-11-11T01:25:18 | 311,745,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,545 | ino |
#define POTPIN A0 /*Declaracion de puerto del potenciometro*/
#define LED5PIN 13; /*Seleccion del pin del quinto led*/
#define LED4PIN 12; /*Seleccion del pin del cuarto led*/
#define LED3PIN 11; /*Seleccion del pin del tercer led*/
#define LED2PIN 10; /*Seleccion del pin del segundo led*/
#... | [
"oscar_jl@hotmail.com"
] | oscar_jl@hotmail.com |
ada691f0dad1e18e57f2e12d659d6ffdf932dd5e | ecc8abf05cfc3b464b02be5c9138777259db7e97 | /113.cpp | 2b4759e9f575d297bc34e51217d0821893756c1b | [] | no_license | saniyakhmet/practice | b940615a1917918b40a83914e86e1acaa0eff104 | 29cd9b5f2a32df7fd724754323447b00c64972e8 | refs/heads/master | 2020-09-12T19:05:31.464783 | 2019-11-22T20:02:57 | 2019-11-22T20:02:57 | 222,520,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | #include <iostream>
using namespace std;
int main () {
for (int i = 0; i < 20; i++){
for (int j = 0; j < 10; j++) {
if (i % 2 == 0)
cout << i << ' ';
else
cout << 1 << ' ';
}
cout << endl;
}
return 0;
}
| [
"sektor.miras@gmail.com"
] | sektor.miras@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.