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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
158ad381ec837f28fe07ac762b0849138d12073d | c8bca2e7cd5556382a7f00531c5f24dc7d5daf27 | /mainwindow.h | e2ce7b8ceddcb96b464dac367fe08fdc451abecc | [] | no_license | McVago/8Reinas | 46dc67e1af8c0b53d757847ad4014718c1b3cbbb | 92ef313f8d859275c83f4be723fd09efa8872876 | refs/heads/master | 2020-04-05T03:01:21.602546 | 2018-11-07T06:18:18 | 2018-11-07T06:18:18 | 156,498,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QGraphicsScene>
#include <QGraphicsPixmapItem>
#include <QGraphicsView>
#include <QGraphicsRectItem>
#include <vector>
#include<bits/stdc++.h>
#define N 8
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
... | [
"andresmcvago@gmail.com"
] | andresmcvago@gmail.com |
45e01e51701e536231d14282c06c58e362d39994 | 2b339e93f27f300983112fa8bd5bb3f58dcee51a | /source/scene/object/make.hpp | eaa99d85919878c64620ee0644172c7ebee8661e | [] | no_license | octopus-prime/gamma-ray-2 | caf11e2b2f2d349f2845233b1fa8ef163d8ce690 | 873fad52635b48875469ad4a28903a438e0a7bbe | refs/heads/master | 2021-01-10T05:47:58.255511 | 2017-12-22T17:57:14 | 2017-12-22T17:57:14 | 51,027,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | hpp | /*
* make.hpp
*
* Created on: 22.02.2015
* Author: mike_gresens
*/
#pragma once
#include "description.hpp"
#include "instance.hpp"
namespace rt {
namespace scene {
namespace object {
instance_t
make(const description_t& description);
}
}
}
| [
"mike_gresens@notebook"
] | mike_gresens@notebook |
af3037dbbcd012b90cb644281d16204cdceba83a | 9d0001b4035a61a31aba84de99966aa40adb4643 | /src/rtavis.cpp | 521db0cd5edb3082565719f2d59215f789112e03 | [
"MIT"
] | permissive | tiantianhan/rtavis | 4548833374cbea4c8cf0b8b792b0d5a1a762a17f | 325cbe22b28b98924cf8ff0dd6444e39bea1e17d | refs/heads/master | 2023-05-13T02:45:04.728165 | 2021-06-10T12:33:17 | 2021-06-10T12:33:17 | 285,031,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,403 | cpp | /**
* @file rtavis.cpp
* @author tina
* @brief Raytracer practice project based on the "Raytracing in One Weekend"
* series by Peter Shirley https://raytracing.github.io/
* @version 0.2
* @date 2021-05-30
*
* @copyright https://opensource.org/licenses/MIT
*
* Loads a file of sphere model information and re... | [
"tina.han.tiantian@gmail.com"
] | tina.han.tiantian@gmail.com |
773626907369c5ea8ebd4a13f1d339a9eb69f100 | 089985f5f295d6fc9b4d9a92cddb4d07cdc50c86 | /iOS/PrivateFrameworks/iWorkImport.framework/Frameworks/EquationKit.framework/Frameworks/KeynoteQuicklook.framework/Frameworks/NumbersQuicklook.framework/Frameworks/PagesQuicklook.framework/CDStructures.h | 88028f597d692f1e254eabb4873360324b20a977 | [] | no_license | lawrence-liuyue/Apple-Runtime-Headers | 6035855edbf558300c62bcf77c77cc38fcd08305 | 5e50ad05dfd7d7b69fc2e0e685765fc054166b3c | refs/heads/master | 2022-12-05T19:04:26.333712 | 2020-08-28T16:48:15 | 2020-08-28T16:48:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | h | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures... | [
"leo.natan@outlook.com"
] | leo.natan@outlook.com |
9b19c521481e32d73eebadfe55e9e60f5f0a31d6 | 6bc516189b66e17a9395ce676926ba74ea72f2f9 | /Competitive Programming 3/Chapter 2/1DArray/UVA755.cpp | 926c14b2755962014f5672bf6620abec6eb66e16 | [] | no_license | michaelzhiluo/UVA-Online-Judge | 1b1915af75e2f24b53715cfc4269631e289a78e0 | 1e653b79a3fa0f8161763899023c3ae2635ab328 | refs/heads/master | 2021-01-17T18:10:58.760890 | 2017-07-20T09:02:47 | 2017-07-20T09:02:47 | 71,186,964 | 2 | 1 | null | 2016-10-18T06:05:54 | 2016-10-17T22:35:42 | Java | UTF-8 | C++ | false | false | 1,638 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
string convertToString(char* c){
string answer = "";
for(int i=0; i<strlen(c); i++){
int x = (int)c[i];
if(x >= 48 && x<=57){
answer+=c[i];
}else if(x>=65 && x<= 67){
answer+='2';
}else if(x>=68 && x<= 70){
answer+='3';
}else if(x>... | [
"michael.luo@berkeley.edu"
] | michael.luo@berkeley.edu |
ba6d7c419415601f98a0d725e84be9c08b68b2fc | cf7cfaf8483150bdf38b393bfb43d8c3f33481d7 | /D3d8to9/d3d8to9_device.cpp | 7ddf0e35d718420c0d8d1659d73391b293355b60 | [
"Zlib"
] | permissive | StanleyRS/dxwrapper | 4d084101c6feb985d2815827820154693c7147c4 | ba53b5987e04d8d9bf21f5879ee07d3ffbfa1495 | refs/heads/master | 2020-03-21T04:48:59.287489 | 2018-06-20T06:49:26 | 2018-06-20T06:49:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,268 | cpp | /**
* Copyright (C) 2015 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/d3d8to9#license
*/
#include "d3dx9.hpp"
#include "d3d8to9.hpp"
#include <regex>
#include <assert.h>
struct VertexShaderInfo
{
IDirect3DVertexShader9 *Shader;
IDirect3DVertexDeclaration9 *Declaration;
};
// IDirect... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
67469017ab553267ea7d9221761cc14ea0e5d711 | c5df61ec848d64ade567218c24554f47cef011d6 | /Actions/EditStatement.cpp | b45ebd908f9a7a977e1af93e0beccd11775cefaf | [] | no_license | abdallahmagdy1993/Flowchart-Simulator | cfa46026bb4526a5698351ecb6a88157b3e40958 | 4a5350e0d5627bba6945833902e921c27521d6e3 | refs/heads/master | 2021-01-10T14:44:52.371199 | 2018-02-21T11:34:17 | 2018-02-21T11:34:17 | 53,350,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | #include "EditStatement.h"
#include "..\ApplicationManager.h"
#include "..\Statements\Statement.h"
#include "..\GUI\input.h"
#include "..\GUI\Output.h"
#include <sstream>
using namespace std;
//constructor: set the ApplicationManager pointer inside this action
EditStatement::EditStatement(ApplicationManager *pAp... | [
"abdallahmagdy1993@gmail.com"
] | abdallahmagdy1993@gmail.com |
0d2d18769ada564287724aee183dd011c0a2f1df | 256d76e96e3a70d5b3b025d8baa098c82d77d7fd | /untitled/animatedgraphicsitem.cpp | 303dd63a82c15752b2b503b6ab538b0f4d2138db | [] | no_license | creepcontrol/rpg_game | 368faf67be59e17feef20571912a8769dd48120c | d7892903c6c2a9319b62e43e35b271709c0a884b | refs/heads/master | 2020-03-19T06:51:31.869467 | 2018-06-05T02:57:21 | 2018-06-05T02:57:21 | 136,060,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | #include "animatedgraphicsitem.h"
AnimatedGraphicsItem::AnimatedGraphicsItem(QObject *parent)
: QObject(parent)
{
connect(&m_timer, SIGNAL(timeout()), SLOT(on_timerTick()));
}
void AnimatedGraphicsItem::animation(AnimationID animationId, Mode mode,
bool randomStartFrame, int ... | [
"creepcontrol@gmail.com"
] | creepcontrol@gmail.com |
761aa352e617c854e196235dab5c7048c6175ef5 | 2a89b925f76509239527425939a16a710919ee21 | /Cubby-master/Sources/GameGUI/InventoryGUI.cpp | 54b1dbcd371e24206d2d58962d27f74fb7c10b3b | [] | no_license | Hamule/Cubbys | c7f595f80539190e4a01c89470c266a2e365d087 | d0a2e4b86a3b78e7a8457c33416c7199577ac075 | refs/heads/master | 2021-01-11T05:42:07.046885 | 2016-11-01T15:26:39 | 2016-11-01T15:26:39 | 71,549,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,388 | cpp | /*************************************************************************
> File Name: InventoryGUI.h
> Project Name: Cubby
> Author: Chan-Ho Chris Ohk
> Purpose: Inventory GUI class.
> Created Time: 2016/09/01
> Copyright (c) 2016, Chan-Ho Chris Ohk
********************************************************************... | [
"black4roach@gmail.com"
] | black4roach@gmail.com |
e1b1a85d62118ce9d4025a013e63333d3cc70173 | 9dc335630cb97246a7d67ddf652b404701cece61 | /CAD/CAD_Verano/Ejercicio2_5_Wtime_SEND/Ejercicio2_5_Wtime_SEND.cpp | 25bb60e4e0ab93f41cedffbe53616efe22f7739c | [] | no_license | getmiranda/sistemas_itver | 1e952e97a1a82891646c7df257c60870445fcae2 | f768d5783a9f570f5debe6a7d18d175f0503e8da | refs/heads/master | 2020-07-10T02:39:15.715234 | 2019-08-24T11:12:56 | 2019-08-24T11:12:56 | 204,145,537 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | #include <stdio.h>
#include "mpi.h"
int main(int argc, char* arcv[]) {
int nombre_proceso, total_procesos, flag = 0, origen, destino;
//double inicio, termina;
int valor;
MPI_Status status;
MPI_Init(NULL, NULL);
MPI_Comm_rank(MPI_COMM_WORLD, &nombre_proceso);
MPI_Comm_size(MPI_COMM_WORLD, &total_procesos);
... | [
"androidgalaxys42@gmail.com"
] | androidgalaxys42@gmail.com |
62bda1f85a7d459e8f2cad6be7f7d0bf96c66924 | 1f1cc05377786cc2aa480cbdfde3736dd3930f73 | /xulrunner-sdk-26/xulrunner-sdk/include/nsIDOMConstructor.h | c270c51a698330dd5af8ba987a42a84abce9f5c5 | [
"Apache-2.0"
] | permissive | julianpistorius/gp-revolution-gaia | 84c3ec5e2f3b9e76f19f45badc18d5544bb76e0d | 6e27b83efb0d4fa4222eaf25fb58b062e6d9d49e | refs/heads/master | 2021-01-21T02:49:54.000389 | 2014-03-27T09:58:17 | 2014-03-27T09:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,438 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-l64-xr-ntly-000000000000/build/dom/interfaces/base/nsIDOMConstructor.idl
*/
#ifndef __gen_nsIDOMConstructor_h__
#define __gen_nsIDOMConstructor_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to include... | [
"luis@geeksphone.com"
] | luis@geeksphone.com |
c47cc29a6ae02a5b03b9e9ffa0fff38ab9f059bf | 19b4aea6c829b272ae29692ccc51f9ab8dcf573f | /src/winrt/impl/Windows.UI.Notifications.Management.2.h | 20032b7daeb18f2bf52ef5814e9421c8a7cb9575 | [
"MIT"
] | permissive | liquidboy/X | 9665573b6e30dff8912ab64a8daf08f9f3176628 | bf94a0af4dd06ab6c66027afdcda88eda0b4ae47 | refs/heads/master | 2022-12-10T17:41:15.490231 | 2021-12-07T01:31:38 | 2021-12-07T01:31:38 | 51,222,325 | 29 | 9 | null | 2021-08-04T21:30:44 | 2016-02-06T21:16:04 | C++ | UTF-8 | C++ | false | false | 665 | h | // C++/WinRT v1.0.170906.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "winrt/impl/Windows.UI.Notifications.1.h"
#include "winrt/impl/Windows.UI.Notifications.Management.1.h"
WINRT_EXPORT namespace winrt::Windows::UI::Notifications::Management {
}
namespace winrt::impl {... | [
"fajardo_jf@hotmail.com"
] | fajardo_jf@hotmail.com |
301a8e3d88bc32f6110059c54ca1cbc7f30c5861 | 6d6906fd33e913fcb904f83fa24d6c18bfe64e72 | /Mainwind/Mainwind/GeneratedFiles/Release/moc_trprint.cpp | 16ff29b8a2b5d6e9837daa62c3d075ba1ee25b81 | [] | no_license | thunderning/blood | d2ef5043e88a7e45d7a547f37a7bf6eb019c86c3 | f9e5f51834b15a26e1a873d8f02e877c97d77f9b | refs/heads/master | 2021-01-21T13:08:20.707739 | 2016-03-28T17:47:32 | 2016-03-28T17:47:32 | 54,815,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'trprint.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.0)
**
** WARNING! All changes made in this file will be lost!
*************************************************************... | [
"498279281@qq.com"
] | 498279281@qq.com |
e8391581cd9a3ddc9d67059feeeda8181aa7b2ce | c646eda22844eb3aadc832a55dc8a7a8d8b28656 | /CodeForces/ProblemSet/788A--Functions again.cpp | c6a7f386afc53770c3d40fc57fe3c31a29f27acf | [] | no_license | daidai21/ExerciseProblem | 78f41f20f6d12cd71c510241d5fe829af676a764 | cdc526fdb4ee1ca8e0d6334fecc4932d55019cea | refs/heads/master | 2021-11-22T21:54:13.106707 | 2021-11-14T10:54:37 | 2021-11-14T10:54:37 | 213,108,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | // https://codeforces.com/problemset/problem/788/A
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> a(n);
for (int i = 0; i < n; ++i)
cin >> a[i];
vector<int> b(n);
for (int i = 0; i < n - 1; ++i)
b[i] = abs(a[i] - a[i + 1]);... | [
"daidai4269@aliyun.com"
] | daidai4269@aliyun.com |
537c9254e256c3f42220a3ba90b0a0c8e16f8e39 | 6d59b8fa0ac393720a687a8d5cbe80ab25ff97a4 | /aws-cpp-sdk-ssm/include/aws/ssm/model/UpdateOpsItemRequest.h | 17ab82e46155f72509939309c9f192be48ff2d69 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 175703252/aws-sdk-cpp | 20149ad1b06d5b7759fb01a45bf1214e298ba306 | c07bd636471ba79f709b03a489a1a036b655d3b2 | refs/heads/master | 2021-03-10T20:43:30.772193 | 2020-03-10T19:19:04 | 2020-03-10T19:19:04 | 246,483,735 | 1 | 0 | Apache-2.0 | 2020-03-11T05:34:57 | 2020-03-11T05:34:56 | null | UTF-8 | C++ | false | false | 44,417 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
ef34cc352c8eafd2e5571dda4bdedc276821767b | 1b3d343ce1e8dfbacc3c698294798d0abd52c9a2 | /Deploy/Instance/EEuclideo.200.50.5.tpp | 154169f585005e0d66c567ee182c78457fe3f33b | [] | no_license | lyandut/MyTravelingPurchaser | 3ecdf849bd19473e92742ed4c6d8d99078351fd0 | dca14f3d31e185c1a6f7bbd4a2e7a5cb3b0bd08c | refs/heads/master | 2020-05-02T06:10:47.227729 | 2019-04-19T07:50:53 | 2019-04-19T07:50:53 | 177,788,811 | 0 | 1 | null | 2019-04-19T07:50:54 | 2019-03-26T12:56:50 | C++ | UTF-8 | C++ | false | false | 35,222 | tpp | NAME :
TYPE : TPP
COMMENT :
DIMENSION : 200
EDGE_WEIGHT_TYPE : EUC_2D
DISPLAY_DATA_TYPE : COORD_DISPLAY
NODE_COORD_SECTION :
1 967 758
2 394 203
3 879 938
4 567 109
5 676 257
6 101 591
7 332 853
8 267 469
9 124 382
10 344 154
11 145 14
12 516 987
13 961 3
14 529 410
15 143 270
16 353 901
17 264 748
18 81 ... | [
"noreply@github.com"
] | lyandut.noreply@github.com |
bcd9f6a671924c2265125c27ec4b9c8def3e1f98 | b26e71da234b9076e0c3ef9a5ae2d917964b63f6 | /lib/indrnn_forward_gpu.cu.cc | 1dbef1a83d8a49d12d178428959f70dcc999b0a2 | [
"Apache-2.0"
] | permissive | sarwar3328/haste | cc1f95e2ab15163d01ee05457e99ce91c94c9b5b | 9da2454584d5b5bc9b2ae84a3fa2b271306ec622 | refs/heads/master | 2022-10-20T15:31:27.005169 | 2020-07-04T23:17:53 | 2020-07-04T23:55:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,515 | cc | // Copyright 2020 LMNT, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | [
"sharvil.nanavati@gmail.com"
] | sharvil.nanavati@gmail.com |
33dec7675f7089fb4ad7dd5aed3f0064cf09a79e | 003946cd741b4f838715bd62b3b12bcf35021df1 | /wifibotIH/WIFIBOT8IH/mainwindow.cpp | ffc9070a21cc3abfd84f4aa6ddccad8781d10b57 | [] | no_license | ethanS06/wifibotf | b3d1aa22281cf10e8b866c62e51255d31b758629 | ccf08d264ae28b45336b3b34b8afec47d9058750 | refs/heads/main | 2023-05-31T19:00:34.315314 | 2021-06-17T15:01:59 | 2021-06-17T15:01:59 | 377,639,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,244 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QObject>
#include <QWebEngineView>
//constructueurd de la mainwindow
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
this->setStyleSheet("background-color: grey;");
... | [
"noreply@github.com"
] | ethanS06.noreply@github.com |
4d9fab3c0896b688475c2a057c130b38018a5838 | 2c7e90851722a92a6b321935c09a6e3f6650adb4 | /TabuSearch_for_TSP/AreaOfSolutions.cpp | f4d509696cd869eeaf3a24e3215f6b81274172c8 | [] | no_license | czarny247/ts-for-tsp | f68dd0f88a344e43b4000c8766dc49ba429d681b | b9f40723ea3a099499c7f4bc9c6c87f22b09ce8b | refs/heads/master | 2021-01-10T12:41:53.097427 | 2016-02-03T10:49:19 | 2016-02-03T10:49:19 | 50,418,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | #include "AreaOfSolutions.h"
AreaOfSolutions::AreaOfSolutions()
{
}
void AreaOfSolutions::addSolution(Solution sol)
{
sSolutions.insert(&sol);
}
Solution AreaOfSolutions::getSolution(int position)
{
}
| [
"mateusz.hercun@gmail.com"
] | mateusz.hercun@gmail.com |
f524659e1a87b22561c381e1dbd213c38633f68c | 21ff46d8b8cfe1efd0722950e44076cbe2c803e5 | /glipf/include/glipf/sources/frame-source.h | 8fd37a272ab1167a74796ebdf89eb9d2d6701439 | [
"BSD-2-Clause"
] | permissive | cognitivesystems/smartcamera | 6ec5839f30a34ecd5e5e03bb430b842c73aa6f55 | 5374193260e6385becfe8086a70d21d650314beb | refs/heads/master | 2021-01-18T06:35:21.332981 | 2017-03-08T06:50:07 | 2017-03-08T06:50:07 | 84,283,927 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | h | #ifndef sources_frame_source_h
#define sources_frame_source_h
#include "frame-properties.h"
#include <cstdint>
#include <stdexcept>
namespace glipf {
namespace sources {
/// Exception raised when a frame source fails to initialise.
class FrameSourceInitializationError : public std::runtime_error {
public:
using... | [
"surajnair1@gmail.com"
] | surajnair1@gmail.com |
50db7255c9c18f6b2ec05c24dbb716dab5dc0d07 | 3fbe1e13c6171a82416b29a82645832b4228c0e7 | /Source/UnderTheCouch/Player/PlayerNCamera.h | 6545d67714151a8a26be17d72a6a0c714e6f5fbd | [
"MIT"
] | permissive | codarth/UnderTheCouch | 4280727cd444157861c8b833ae5a5e5ac4f06fc4 | 896aea463cdfa98c846de999c66635ee79900abd | refs/heads/master | 2020-09-06T09:01:08.724348 | 2019-11-22T02:31:03 | 2019-11-22T02:31:03 | 220,380,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,829 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "PlayerNCamera.generated.h"
UCLASS()
class UNDERTHECOUCH_API APlayerNCamera : public APawn
{
GENERATED_BODY()
public:
// Sets default values for this pawn's... | [
"zimquo@gmail.com"
] | zimquo@gmail.com |
9676ac8495117e86a554b51a2183000b1cfa4933 | c6d9feead8cdf2cd0e489fdf406db5bdcd34469e | /Orange/src/Orange/Renderer/RenderCommand.cpp | c8f0dd1cb6169a180e06b3b9b23ce1d058fae5c3 | [
"Apache-2.0"
] | permissive | christianwaldmann/Orange | ca96f3e5e68dbf98ab9b821cf02651b60fea980e | 2f8ef0fe6a310e45e984733bdab65de9c31ca1a0 | refs/heads/master | 2023-03-09T14:32:13.075008 | 2021-03-01T11:57:15 | 2021-03-01T11:57:15 | 323,442,645 | 0 | 0 | Apache-2.0 | 2021-03-01T11:57:16 | 2020-12-21T20:38:19 | C++ | UTF-8 | C++ | false | false | 187 | cpp | #include "ogpch.h"
#include "RenderCommand.h"
#include "Platform/OpenGL/OpenGLRendererAPI.h"
namespace Orange {
RendererAPI* RenderCommand::s_RendererAPI = new OpenGLRendererAPI;
}
| [
"waldmann-christian@web.de"
] | waldmann-christian@web.de |
535925ac8d2b200c4ecdc09c255479f521637066 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/sync_file_system/local/local_file_change_tracker.cc | b8a8b232d206b51fa01b097b604754b22e5f5600 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 21,320 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync_file_system/local/local_file_change_tracker.h"
#include <stddef.h>
#include <utility>
#include "base/containers/circular_d... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
80390b3d1bbc8cbfc0c3fd55f5f9f6e7652b527d | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/membrane/SetMembranePositionMover.hh | 1fd5646f575f7c7c76293bae02e98ef31b84af45 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,028 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
5b4a885df5262141482424d32284165363627a18 | e862f48c627b8effec2a25b37c590ca4f2649fc0 | /src/pwiz-4209/pwiz/data/identdata/DiffTest.cpp | b98bb828c36bafe7d9103d40bc8c0039768934b9 | [
"Apache-2.0"
] | permissive | Bandeira/sps | ec82a77c315cf1aff9761c801d1dc63cb5c5e9f0 | 1809945c9e5a6836a753a434d2c8570941130021 | refs/heads/master | 2016-09-01T08:18:34.221603 | 2015-12-10T23:56:52 | 2015-12-10T23:56:52 | 47,741,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,750 | cpp | //
// $Id: DiffTest.cpp 4129 2012-11-20 00:05:37Z chambm $
//
//
// Original author: Robert Burke <robert.burke@proteowizard.org>
//
// Copyright 2009 Spielberg Family Center for Applied Proteomics
// University of Southern California, Los Angeles, California 90033
//
// Licensed under the Apache License, Version 2.... | [
"ming@localhost"
] | ming@localhost |
1377b080d0fdfa25c2424a82328d14033b7c240b | bc7cdf36f7bb5cd09d93719171438a7680f5a604 | /src/server/game/Combat/HostileRefManager.cpp | 85afdf646077a26ffe196b288f6c13e9090623c1 | [] | no_license | bahajan95/BattleCore | 41f03a281770e4903be96a48930bd70a398aae72 | 88d436c9422a433d26fe89aff2ecfb3b11fba778 | refs/heads/master | 2020-04-10T00:49:28.254803 | 2015-05-17T22:10:34 | 2015-05-17T22:10:34 | 50,763,988 | 1 | 3 | null | 2016-01-31T07:43:00 | 2016-01-31T07:43:00 | null | UTF-8 | C++ | false | false | 5,289 | cpp | /*
* Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
* 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 ver... | [
"adonai@xaker.ru"
] | adonai@xaker.ru |
c920a7156d442d5c7df7618ac5e637bd96eafb7b | 5b2574dae711499728be550581c57754fb6531e3 | /Section 5/Video 5.5/main.cpp | 861590ce98e77a2d45b569d20b94c1718b4c8b96 | [
"MIT"
] | permissive | vabtree/Building-Blocks-of-Application-Development-with-C-source | 398398ab5516008a1894d822b87396190280bbec | 38b2a8883be76c7bf0d11605392256150d9f4074 | refs/heads/master | 2022-08-17T19:03:21.156356 | 2018-04-02T11:48:03 | 2018-04-02T11:48:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | #include <iostream>
#include <vector>
// row -> |--|--|--|
// |--|--|--|
// |--|--|--|
// |--|--|--|
template <typename T = int>
class matrix
{
private:
size_t mRows, mCols;
std::vector<std::vector<T>* > mRowData;
public:
matrix(const size_t& rows, const size_t& cols)
{
m... | [
"harshg@packtpub.com"
] | harshg@packtpub.com |
b058d460d924ce7fca3f1edb21e1e2bb1c100360 | 4f1212e6f69f1966d5ca900f6a8d5e5895186098 | /09. geometric objects/Rectangle.h | 8a07b5272bf9ffb34c3a9e4d15bf520cf6781b57 | [] | no_license | ffuis-aljosa/2017-OOP | ca6eb1ea28f88386a1b4ad22a1423960981f4124 | c95b9f5cd12be63f5dfec6fb3a5412012bd2665e | refs/heads/master | 2021-09-01T19:05:36.802715 | 2017-12-28T10:33:21 | 2017-12-28T10:33:21 | 109,244,939 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | h | #ifndef RECTANGLE_H_INCLUDED
#define RECTANGLE_H_INCLUDED
#include "GeometricObject.h"
#include "Point.h"
#include <stdexcept>
using namespace std;
class Rectangle : GeometricObject
{
private:
Point upperLeftVertex;
double width;
double height;
public:
Rectangle(string _name, Point _upperLeftVertex... | [
"a.sljuka@ffuis.edu.ba"
] | a.sljuka@ffuis.edu.ba |
1335d1662b3ec750463043fd84e4eb74a85ccda2 | 3ea4848953688c5ff2ca0c3a79b26372cc839dc8 | /reports/MinDegree.h | 7569a9659e4c63ba0ba23e1fca0a571f5c7639fa | [] | no_license | rostam/CGTea | a612b758b3d4448062cbd12b02fe3f0a5ae40f99 | 56291e8c7c5ad54e3d29aaf7a07caf0e4e4f6d57 | refs/heads/master | 2023-08-05T09:54:07.123882 | 2023-07-20T10:39:41 | 2023-07-20T10:39:41 | 212,271,988 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | h | //
// Created by rostam on 15.10.19.
//
#ifndef CGTEA_MINDEGREE_H
#define CGTEA_MINDEGREE_H
#include "ReportInterface.h"
class MinDegree : public ReportInterface{
public:
string report(const Graph& g) override {
int min_degree = boost::num_vertices(g) + 1;
for_each_v_const(g, [&](Ver v){
... | [
"rostamiev@gmail.com"
] | rostamiev@gmail.com |
040e368a17a634ecbc4759a869ffdfd9538b390a | 5108175f21c5c77e31ceca09597f6dc102655451 | /DX11UWA Left Handed/DX11UWA/DX11UWA/Content/ShaderStructures.h | 7468de419d2a1f6cd80304e0406976be16d2406c | [] | no_license | ConnorCraig25/GraphicsIIproject | 61e9c3784e08f82c565ea269dbb8c7be3e395224 | 19d47ef336f60930a2e1f6c36f920a14706758b4 | refs/heads/master | 2020-12-03T10:30:14.165896 | 2017-07-27T01:27:38 | 2017-07-27T01:27:38 | 95,605,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | #pragma once
namespace DX11UWA
{
// Constant buffer used to send MVP matrices to the vertex shader.
struct ModelViewProjectionConstantBuffer
{
DirectX::XMFLOAT4X4 model;
DirectX::XMFLOAT4X4 view;
DirectX::XMFLOAT4X4 projection;
};
// Used to send per-vertex data to the vertex shader.
struct VertexPositio... | [
"ccraig@fullsail.edu"
] | ccraig@fullsail.edu |
d47ff2f0eb54b46cececd68203388d6c86c06f40 | 1e006c14837be0e7b6ed9a0f5870907638dfd402 | /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include/boost/fusion/container/generation/list_tie.hpp | 376f71d0fac341e358c6807e56a116d66d21af1c | [
"BSL-1.0"
] | permissive | slowfranklin/synology-ds | b9cd512d86ffc4d61949e6d72012b8cff8d58813 | 5a6dc5e1cfde5be3104f412e5a368bc8d615dfa6 | refs/heads/master | 2021-10-24T01:38:38.120574 | 2019-03-20T13:01:12 | 2019-03-20T13:01:12 | 176,933,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,502 | hpp | /*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
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)
=========================================... | [
"slow@samba.org"
] | slow@samba.org |
ca46c8696e0983329bcbd1a3e401c1b6f427ddf2 | f8328b71ffbf5ea2b25e9b016b20d9978357b08a | /hw1/src/example2.cpp | 1114614e6d4aa7a3240b4a50d02fd494a1aa5bee | [] | no_license | ChaseCarthen/cs791a | 5aaa351ac5e295966f48b9d40b6bf069f46d69a0 | 6c547c6e3e476938a7cfc958f588a4485acbe411 | refs/heads/master | 2020-04-11T10:05:00.647363 | 2014-09-28T08:48:07 | 2014-09-28T08:48:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,044 | cpp | #include <GL/glew.h>
#include "wx/wx.h"
#include "wx/sizer.h"
#include "wx/glcanvas.h"
#include <example2.h>
#include <shader.h>
#include <iostream>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/rotate_vector.hpp>
#include <gishandler.h>
#include <ma... | [
"chasec2331@gmail.com"
] | chasec2331@gmail.com |
3c02a2834fddef2c506acd451d4c30b28f958265 | 4f650c5c875862e3869730d8c5987adf84adc391 | /HBSSSE/mwSICARDActX/mwSICARDActXPropPage.h | 0e13fcd52700acdf661cc8ed0b0837cb1e129546 | [] | no_license | shenguotao/SSSE_HeBei | 4cf1bfcc82a23c40c1f0a2a4106f1c04a351f530 | 2eba065fe5dd62818823f78122642a2c1de62dd8 | refs/heads/master | 2021-01-01T05:07:45.948276 | 2017-01-20T15:30:45 | 2017-01-20T15:30:45 | 78,948,994 | 2 | 3 | null | 2017-01-20T15:27:33 | 2017-01-14T15:42:57 | C | GB18030 | C++ | false | false | 586 | h | #pragma once
// mwSICARDActXPropPage.h : CmwSICARDActXPropPage 属性页类的声明。
// CmwSICARDActXPropPage : 有关实现的信息,请参阅 mwSICARDActXPropPage.cpp。
class CmwSICARDActXPropPage : public COlePropertyPage
{
DECLARE_DYNCREATE(CmwSICARDActXPropPage)
DECLARE_OLECREATE_EX(CmwSICARDActXPropPage)
// 构造函数
public:
CmwSICARDActXPropP... | [
"18618219527@163.com"
] | 18618219527@163.com |
c2e1887f2762c8a084f9166f4ce578f62d0c160e | 9f214e4b1c0dd393ef6482d9f45752e888b7fc2c | /include/LinuxTCPClient.h | 5f72605f93941b0fa4f1ec1009bb540c155c24cc | [] | no_license | guedjm/Basic_abstration | dc1991c8e12fd768c1ccd4cf73f8732da901cb4f | cd0e4643575311431f96d4041212ed7320cc7eee | refs/heads/master | 2016-08-11T01:55:22.747166 | 2016-01-07T00:05:38 | 2016-01-07T00:05:38 | 49,168,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | h |
#pragma once
#ifndef _WIN32
# include "ITCPClient.h"
# include "myTCPSocket.h"
class LinuxTCPClient : public ITCPClient
{
public:
LinuxTCPClient();
virtual ~LinuxTCPClient();
virtual int closeSock();
virtual int getWriteFd() const;
virtual bool writeAvailable() const;
virtual void writeAvailable(bool)... | [
"maxime.guedj@epitech.eu"
] | maxime.guedj@epitech.eu |
c5bb7e774e05dd5d67c790765ef044d68e379900 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /content/test/gpu_browsertest_helpers.h | bdd296556d3fec426d52c0238120ce00c345ab7d | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 895 | h | // Copyright 2018 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 CONTENT_TEST_GPU_BROWSERTEST_HELPERS_H_
#define CONTENT_TEST_GPU_BROWSERTEST_HELPERS_H_
#include "base/memory/scoped_refptr.h"
namespace gpu {
c... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
a4703cf45151c36fe1f049e3e41cffea5370f94c | d4c720f93631097ee048940d669e0859e85eabcf | /chrome/browser/ash/app_restore/app_launch_handler.cc | 5fb075bbddb9418f1362e8cc74517d5ad7459122 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 3b920d87437d9293f654de1f22d3ea341e7a8b55 | refs/heads/webnn | 2023-03-21T03:20:15.377034 | 2023-01-25T21:19:44 | 2023-01-25T21:19:44 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 8,621 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/app_restore/app_launch_handler.h"
#include <utility>
#include <vector>
#include "apps/launcher.h"
#include "base/bind.h"
#include "base/callback.... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
58cdcc41ef8e762eaef6c5a07bee85fefb2ea797 | 7f237f107ae6e22a2c4c87b7bf25a2e5cdb05b75 | /Source/Engine/Physics/MotionState.cpp | 434c780c0febd12183f6cd39db9879a8dfc675a0 | [] | no_license | rshageev/Avalanche | 9aecee505104cc0e8149837196c717d595b50e75 | 50e4316590cf2ebb1378390c8fb1256123abf948 | refs/heads/master | 2023-02-22T07:52:16.594639 | 2015-11-11T16:07:18 | 2015-11-11T16:07:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #include "stdafx.h"
#include "MotionState.h"
inline btVector3 toBtVec(const Vector3f &vec)
{
return btVector3(vec.x, vec.y, vec.z);
}
inline btQuaternion toBtQuat(const Quaternion &quat)
{
return btQuaternion(quat.x, quat.y, quat.z, quat.w);
}
inline Vector3f toAvVec(const btVector3 &vec)
{
return Vector3f(vec.ge... | [
"renatsh@playrix.com"
] | renatsh@playrix.com |
2e1a6f8d454a8ae6a43db3f7f7f499022bc39784 | cf58d74018ed456f6a2ec9e9d83ccd4ba41e5a47 | /Hackerrank/absolutepermute.cpp | 25c76f148dfb06a0218ed4739aeb16f7fbd624b2 | [] | no_license | jaishreedhage/Competitive-coding | b0e2a8331e69e044f4b537102b17d3d9a923d985 | df57007a011a10f46e4cceb99a3aca6bc71f1982 | refs/heads/master | 2021-07-14T13:05:13.674795 | 2017-10-20T06:19:57 | 2017-10-20T06:19:57 | 107,639,988 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <fstream>
#inclu... | [
"Jaishree_Dhage@Jaishrees-MacBook-Pro.local"
] | Jaishree_Dhage@Jaishrees-MacBook-Pro.local |
fea3041791633f282280de7af474849b18b0caf6 | c348efe40b4afac1de31e1cf93b800510f9d52f6 | /Riverside Community College (RCC)/CIS-17A/Final/Problem3/Prob3TableInherited.cpp | 0095b2352162aa5c42e94adc578caafb7971fedc | [] | no_license | acoustictime/CollegeCode | 5b57dc45459c35694e3df002a587bacc4f99f81a | a8ec647fa4b5a6a90f34f1c8715dfea88cefe6c6 | refs/heads/master | 2020-03-28T19:22:04.384018 | 2018-09-16T18:37:22 | 2018-09-16T18:37:22 | 148,968,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | // Prob3TableInherited.cpp: implementation of the Prob3TableInherited class.
//
//////////////////////////////////////////////////////////////////////
#include "Prob3TableInherited.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
///////////////////////////... | [
"Acoustictime@James-MacBook-Pro.local"
] | Acoustictime@James-MacBook-Pro.local |
b5380aa233d4df481dd8161a3b664d1bff334eb6 | 0ceac58dc78b4f138dcd4f53f54880d654a64448 | /treeworks/code/mpi/tree_compute.hpp | a705b0b3e305c6c8d0ae0d3cb148629e5972ad40 | [] | no_license | mkmojo/inbox | a68e40b77e0af3f76fe34b0f792c837c287a75a8 | 8651374e1c4b5ded243a517b2e94b1b9a2928679 | refs/heads/master | 2021-05-29T05:51:08.314886 | 2015-10-29T18:05:14 | 2015-10-29T18:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,435 | hpp | /***
* Project: TreeWorks
*
* File: tree_compute.hpp
* Created: Mar 25, 2009
*
* Author: Abhinav Sarje <abhinav.sarje@gmail.com>
*/
#ifndef MPI_TREE_COMPUTE_HPP
#define MPI_TREE_COMPUTE_HPP
#include <vector>
#include <iterator>
#include "mpi_data.hpp"
#include "base_tree.hpp"
#include "specialized_generat... | [
"qiuqiyuan@gmail.com"
] | qiuqiyuan@gmail.com |
83e0c29352716abe2e8369a1cf4e610e6d198000 | 47bc067058e4d45f8729670b1bfa19aceaadc156 | /project_euler/10.cpp | 3116275a0d9f4a6b9e904b3332a6eca6004de9b0 | [] | no_license | return19/All-C-Codes | 0bd0df357cd4bbc6552e1d943df792a1b4d806bb | b1c2269d2436a0cd65a5ef022595300c4827520f | refs/heads/master | 2021-09-09T16:13:53.464406 | 2018-03-17T17:02:55 | 2018-03-17T17:02:55 | 125,650,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include<bits/stdc++.h>
using namespace std;
long long s[1010000];
long long csum[1010000];
void solve()
{
long long i,j,k;
s[0]=s[1]=1;
for(i=2;i<1000100;i++)
{
if(s[i]==0)
{
k=2;
for(j=i*2;j<1000100;j=i*k)
{
s[j]=1;
... | [
"abhinandan1941996@gmail.com"
] | abhinandan1941996@gmail.com |
5d9dd011ffbf60e8abe7bcdd8961e6178dfc42dc | 31eae0d913d8b1af8ce0bc5fd516b0844efec1f3 | /Cpp/Modules/Include/LinearTableFunctionProvider.h | d274b9f300f0717c873eca0ca5e849f637fd35f3 | [] | no_license | Olov81/synth3 | 5424c52e8b081d9ebc1b30150f6656da81bd6a31 | 38b9945448b91b459a45da4b5545983ae3cd38a8 | refs/heads/master | 2022-12-19T15:51:00.723366 | 2020-08-19T20:43:17 | 2020-08-19T20:43:17 | 288,816,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | h | #pragma once
#include "ILinearFunctionProvider.h"
class LinearTableFunctionProvider : public ILinearFunctionProvider
{
public:
LinearTableFunctionProvider(std::vector<LinearFunction> table);
LinearFunction GetFunction(const double& omega) const override;
private:
std::vector<LinearFunction> _table;... | [
"devnull@localhost"
] | devnull@localhost |
8b419af0aefdbf006a81711cd68e1b2ca35ff0af | 8f4b3f8fd51daa17af03fe483ed44cd88c3bf4ce | /ClassTeacher.cpp | 3b8e0d6ea6eaa544721aba482ac8375337c0d7bd | [] | no_license | urm0009/School | 6665d4003cd97a34bee617dff3cbfb1391f5483c | 1ddda8ac1739c09748e4d65ce616e96d27c6d502 | refs/heads/master | 2021-05-23T13:50:26.423884 | 2020-04-05T20:03:40 | 2020-04-05T20:03:40 | 253,321,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "ClassTeacher.h"
| [
"noreply@github.com"
] | urm0009.noreply@github.com |
eee4b829f37254710258b1df7b33f4e1bd34afd5 | fbecd060030896fed648e57493fd9f68e1134a78 | /src/ex12_10.cc | e11fe62689ab98f63b9cac4e2c08bc9fb3a7573a | [] | no_license | amoe/acceleratedcpp | 24e6594742619e3bea66d5f748aa394bf2e967da | 947c73c5b9bdf02f47fe09712f065278f337005e | refs/heads/master | 2023-01-07T15:53:31.586878 | 2020-11-03T08:52:53 | 2020-11-03T08:52:53 | 280,228,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | cc | #include <list>
#include <iostream>
#include <vector>
#include "ex12_10.hh"
using std::list;
using std::vector;
using std::cout;
using std::endl;
void test_copy() {
Vec<int> nums;
nums.push_back(8);
nums.push_back(5);
nums.push_back(3);
nums.push_back(2);
Vec<int> nums2 = nums;
for (Vec<i... | [
"amoebae@gmail.com"
] | amoebae@gmail.com |
ac13d267ac51bada4bba07c52f58c392b5df6e17 | d0e9fbbbc0955cc349e04a862baaf48d27f35db5 | /src/Clickable.h | 55af0e97718a25d677b841742b965ca067b638fa | [] | no_license | clementschmitt/DataDefense | b346eb83514ad2b5a85ec7104e578944034b90bb | f45f993ec364db6b46f2d4ad68d64847ad68479f | refs/heads/master | 2021-01-22T06:38:17.205520 | 2013-11-27T16:42:37 | 2013-11-27T16:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | #ifndef CLICKABLE_H
#define CLICKABLE_H
#include "VisibleGameObject.h"
class Clickable : public VisibleGameObject
{
public:
Clickable();
~Clickable();
void Callback( void (*f)());
void Exec() const;
private:
void (*_callback)();
};
#endif
| [
"mathieu.nerv@gmail.com"
] | mathieu.nerv@gmail.com |
fce426f439629cad0de3b0a89f0f51a20a887cfc | b30c7717acbcace38eaa9e8939b952dc3245ebd6 | /600-700/660.cpp | a98f38427cde48720c9651f24914f35208271531 | [
"MIT"
] | permissive | Thomaw/Project-Euler | e7dbfae93b26eb0d658c09e18fdaa932998d7a12 | bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d | refs/heads/main | 2023-09-06T08:16:35.045015 | 2021-10-07T18:44:42 | 2021-10-07T18:44:42 | 407,856,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | // are a, b, and c together n-pandigital
bool nPanDig[20];
bool nPandigital(int n, int a, int b, int c)
{
for (int u = 0; u < n; u++) nPanDig[u] = false;
int ct = 0, d, aa = a;
while (aa > 0)
{
d = aa % n;
if (nPanDig[d]) return false;
nPanDig[d] = true; ct++; aa /= n;
}
int bb = b;
while (bb... | [
"noreply@github.com"
] | Thomaw.noreply@github.com |
e280be99d7c819c83c01308c58ac3dbbcae5be63 | 10f96d8c37877439ae4d13e5248a4540ca85e65b | /src/palette.hpp | 77513384947f0ea43fd9fe4850aca60120ff714a | [] | no_license | jakubcerveny/hogtess | cca2f91ae01614d9a381b75862e24a29c2e84585 | 37508f86ada8d9d217b7181177891dd621ce0c23 | refs/heads/master | 2021-06-06T16:37:21.657442 | 2020-06-06T08:34:13 | 2020-06-06T08:34:13 | 106,323,937 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 209 | hpp | #ifndef hogtess_palette_hpp_included__
#define hogtess_palette_hpp_included__
const int RGB_Palette_3_Size = 65;
extern float RGB_Palette_3[RGB_Palette_3_Size][3];
#endif // hogtess_palette_hpp_included__
| [
"jakub.cerveny@gmail.com"
] | jakub.cerveny@gmail.com |
54d2f5cc086650db5e114da4bb6f13955cfbd674 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5662291475300352_0/C++/IITianUG/GoogleR3.cpp | ce90d7e7f4a9c3f08f881e8684a9f6628df552da | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ifstream IF;
ofstream OF;
int t,trm,i,d[100],h[100],m[100],n,xx,yy;
IF.open("input.txt");
OF.open("output.txt");
IF>>t;
for(trm=1;trm<=t;trm++)
{
IF>>n;
for(i=0;i<n;i++)
{
IF>>d[i]>>h[i]>>m... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
d65424ec0226ae76f8e8256057106525623277a7 | 73851f9774cb398915b9351433fe13d52de1269d | /tests/vtm/FixedSizeMemoryManagerTest.cpp | 7529e1d17352aa53cd022a043c9b0421977973f0 | [
"Apache-2.0"
] | permissive | mvoronoy/OP.MagicTrie | 9aa980de539f6b51da58e920cb6a36ecee163755 | 33ce736d9e68e927eaa4adc0553836036b076e64 | refs/heads/main | 2023-06-24T03:50:53.133460 | 2023-06-15T19:16:22 | 2023-06-15T19:16:22 | 41,084,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,627 | cpp | #include <op/utest/unit_test.h>
#include <op/utest/unit_test_is.h>
#include <op/trie/Trie.h>
#include <op/vtm/SegmentManager.h>
#include <op/vtm/CacheManager.h>
#include <op/vtm/EventSourcingSegmentManager.h>
#include <set>
#include <cassert>
#include <iterator>
using namespace OP::trie;
using namespace OP::u... | [
"mvoronoy@gmail.com"
] | mvoronoy@gmail.com |
d2799c1d768695c8806e5161343dbcc0d2f778f0 | 078d16366463370cc74caea92f9b35e43d9870be | /Module 3/part3-cute_measures/usecases/uc_broadcaster_publishes_sensor_readings/broadcaster_publishes_sensor_readings.h | c256074df44c4af3a904d55b52ac4fb9d3a4d515 | [
"MIT"
] | permissive | PacktPublishing/End-to-End-GUI-development-with-Qt5 | 6cac1289c6b03dbc94435d9c4ee971d7b71049b4 | 8ac713da23aac4b305b12ee1ef6ec60362bcd391 | refs/heads/master | 2023-02-03T09:16:34.581304 | 2023-01-30T09:56:23 | 2023-01-30T09:56:23 | 138,880,448 | 26 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | // broadcaster_publishes_sensor_readings.h
#ifndef BROADCASTER_PUBLISHES_SENSOR_READINGS_H
#define BROADCASTER_PUBLISHES_SENSOR_READINGS_H
//#include <QDebug>
namespace entities {
class Sensor;
class Broadcaster;
}
namespace usecases {
bool broadcaster_publishes_sensor_readings(entities::Broadcaster& broadcaster, e... | [
"35489117+gaurav-packt@users.noreply.github.com"
] | 35489117+gaurav-packt@users.noreply.github.com |
4e3856d5d7110fe9aa79aac856b4c631ff50d06b | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemStructure_StoneCeilingWithTrapdoor_classes.hpp | 4ad44ec774b82388273111f2f93c9a0e63c0d025 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemStructure_StoneCeilingWithTrapdoor_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//----------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
d6fa3666291e0e016324b03180fa0fb608a6cc21 | d6a05971f3a5b3ce7ea7b278d100985437b83e31 | /runtime/src/launcher/cpp/androidLauncher.cpp | aa40c34cb02aae3cedb84ac7e10bd377dffcdd0b | [
"Apache-2.0"
] | permissive | ftomassetti/kotlin-native | 66d52a402b3a8a433e932d1ffca0edf969ecf4d6 | f04827cd573792a70a0bea0f4d839ac4c50e42e5 | refs/heads/master | 2021-01-25T00:48:36.181450 | 2017-06-13T09:52:30 | 2017-06-17T18:23:08 | 94,693,619 | 0 | 0 | null | 2017-06-18T14:49:59 | 2017-06-18T14:49:59 | null | UTF-8 | C++ | false | false | 6,701 | cpp | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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 la... | [
"igor.chevdar@jetbrains.com"
] | igor.chevdar@jetbrains.com |
ba7cfa5d9d25fdd901bac35863af4c0aca5a7430 | 4ccf7aa23ae97ce06ebbea5ecb311d9e5604d28a | /unfinished/mainD.cpp | 310e4698069a68759500abb16135315c1f4865ff | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | TieWay59/HappyACEveryday | 25682d30aafed3a51f645562fb7e5348e9515417 | 6474a05a9eafc83e9c185ba8e6d716f7d44eade0 | refs/heads/master | 2021-08-22T21:29:31.138853 | 2021-06-16T04:19:14 | 2021-06-16T04:19:14 | 190,430,779 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,615 | cpp | /*
* https://nanti.jisuanke.com/t/41402
*
*/
//#include <bits/stdc++.h>
#include <iostream>
#include <algorithm>
#include <vector>
#include <string.h>
#include <tuple>
#define _debug(x) cerr<<#x<<" = "<<x<<endl
using namespace std;
typedef long long ll;
const int MAXN = 2e3 + 59;
const int MAXM = 2e5 + 59;
const ll ... | [
"tieway59@foxmail.com"
] | tieway59@foxmail.com |
67bccfce5c0cd898027f2a4696ca5583b53658da | 6d8109ce6bf17d3a15c6c4f5afa822f5457cdd72 | /src/discrete_space_information/environment_navxythetalat.cpp | f0802ef14deb265466f11f8bdce723cf2482a34e | [] | no_license | shivamvats/sbpl_mha | f7678b50cebed87305749ad00aa59789e6146987 | 03f7201525873a9cd8ec71a29a1f362821d62506 | refs/heads/master | 2021-01-18T02:35:58.234264 | 2016-06-01T18:25:26 | 2016-06-01T18:25:26 | 60,197,949 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121,106 | cpp | /*
* Copyright (c) 2008, Maxim Likhachev
* 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, ... | [
"venkatrn@andrew.cmu.edu"
] | venkatrn@andrew.cmu.edu |
833d49454295e165d53debdf744832305d5548b5 | 2ef6a773dd5288e6526b70e484fb0ec0104529f4 | /poj.org/3654/4218559_AC_32MS_504K.cc | 87786a89144b1086a4ad3dc9cad0714ca5e46181 | [] | no_license | thebeet/online_judge_solution | f09426be6b28f157b1e5fd796c2eef99fb9978d8 | 7e8c25ff2e1f42cc9835e9cc7e25869a9dbbc0a1 | refs/heads/master | 2023-08-31T15:19:26.619898 | 2023-08-28T10:51:24 | 2023-08-28T10:51:24 | 60,448,261 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,101 | cc | /*
* PKU3654::Electronic_Document_Security.cpp
*
* Created on: Oct 9, 2008 7:09:04 PM
* Author: TheBeet
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of th... | [
"项光特"
] | 项光特 |
696cdd218ae5a086d67eecd5855d90b5e9a0baed | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_new_hunk_1137.cpp | c048007cf7b72362cee5b15d4869c81e29776bb9 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp |
#endif
debugs(0, DBG_IMPORTANT, "Rotate log file " << lf->path);
/* Rotate numbers 0 through N up one */
for (int16_t i = nRotate; i > 1;) {
--i;
snprintf(from, MAXPATHLEN, "%s.%d", realpath, i - 1);
snprintf(to, MAXPATHLEN, "%s.%d", realpath, i);
xrename(from, to);
}
... | [
"993273596@qq.com"
] | 993273596@qq.com |
f57281a4e1de71a14be3205d0f2661e6a7629759 | 2e7c251c97dda8031dbda355e1bc36cb8bc1a9ea | /Simp/Simp/Src/File.cpp | 8b112e7698d6e2dad3a364b7be6e6bfc0d06b76a | [] | no_license | 15831944/studies | 98677ed4bf173c4a1647f2fde2d98f9debe0f072 | 5347e517318b921aa799e11d310527be273be3fd | refs/heads/master | 2023-06-12T17:00:01.774021 | 2021-07-09T09:38:12 | 2021-07-09T09:38:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | // File.cpp
//
#include "StdAfx.h"
#include <Simp/File.h>
static const _TCHAR* THIS_FILE = _T(__FILE__);
| [
"breaker.zy@gmail.com"
] | breaker.zy@gmail.com |
f1adfa1197e6fe9aa9ca1f74ece4a61cd3bd4967 | c7a3e4cd224ea63c3e05746a7ff827c27e6d411f | /majorityelement.cpp | 50d9baa9d463873a7685dd377d4682e010f36f8b | [] | no_license | Vikky357/Preparation | d06b56e3af34413e56a5a23a69bfc03e52f66912 | 696453e283627c339c71ba003838bad3dcfa31b0 | refs/heads/master | 2023-04-25T03:37:11.015019 | 2021-05-12T18:13:39 | 2021-05-12T18:13:39 | 270,175,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | /*
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.
You may assume that the array is non-empty and the majority element always exist in the array.
Example 1:
Input: [3,2,3]
Output: 3
Example 2:
Input: [2,2,1,1,1,2,2]
Output: 2
*/
clas... | [
"noreply@github.com"
] | Vikky357.noreply@github.com |
83a60dcfb63ee749b550abf2cef6f55c93ee21e8 | 366bc36559793ddd4ac3979f040e72dd0e2a266b | /urg_process/src/penetration_voxel_map/accident_predictor_for_penetration_voxel_map_test.h | 7d5c2a33b53079561b3d609a47fc2b29af7d3f3a | [] | no_license | seniorcar-team/seniorcar-program-ishikawa-ws | a1467b9750b455f9aa471fc2e2492ea0cd069afd | 9782a8ac33475fa60a027812b3073e69c22628a3 | refs/heads/master | 2022-02-01T21:17:31.736878 | 2019-07-31T10:06:29 | 2019-07-31T10:06:29 | 108,623,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,446 | h | #ifndef __ACCIDENT_PREDICTOR_H_INCLUDED__
#define __ACCIDENT_PREDICTOR_H_INCLUDED__
#include "penetration_voxel_map.h"
#include "../parameter/seniorcar_param.h"
//#include "geometry_msgs/Pose.h"
//#include <tf/transform_listener.h>
#include "ultimate_seniorcar/SeniorcarState.h"
//#include <tf/transform_datatypes.h>
#... | [
"noreply@github.com"
] | seniorcar-team.noreply@github.com |
5915aa2637c42c4f8e0c1b49a9524cc4d2545745 | e5922a33275ce4f56aa2679c0f6b318b4a960831 | /leetcode/NoTest/NO-62.cpp | 538a2b8b9b06c65915db5781d0b1d1fc6c0667e2 | [] | no_license | shengzhemi/MyPratice | d4d03d8d865b1642ab5b5a02d316b290dfc5a56d | 013fda7928d4ffd933e0ba3fd7396a008a3b85e3 | refs/heads/master | 2021-05-14T19:42:27.311792 | 2020-09-02T23:01:23 | 2020-09-02T23:01:23 | 115,431,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | class Solution {
public:
int uniquePaths(int m, int n) {
if (m == 0 || n == 0) {
return 0;
}
int a[101] = {0};
a[1] = 1;
for (int i = 1; i <= m; i++) {
int last = 0;
for (int j = 1; j <= n; j++) {
int current = last + a[j];... | [
"shengzhemi@foxmail.com"
] | shengzhemi@foxmail.com |
317f823d51344382aaa5632e691f0e775e142ce1 | 60e1416d08834036e7ca9cb1adb36635f7ada57e | /libpmf-1.41/util.cpp | 274ea1338ef6e00301c3d40541da5d974ef7b3cb | [
"BSD-3-Clause"
] | permissive | DavidMcDonald1993/atp | d8b807a71b14e97b90979310301103a2fcdb66ab | baa7ba751b7be7306f624043989bf3ecde3148d4 | refs/heads/master | 2020-09-12T15:03:59.448968 | 2020-06-08T10:11:20 | 2020-06-08T10:11:20 | 222,460,966 | 1 | 0 | BSD-3-Clause | 2019-11-18T13:54:31 | 2019-11-18T13:54:31 | null | UTF-8 | C++ | false | false | 5,621 | cpp | #include "util.h"
#define MALLOC(type, size) (type*)malloc(sizeof(type)*(size))
// load utility for CCS RCS
void load(const char* srcdir, smat_t &R, testset_t &T, bool with_weights){
// add testing later
char filename[1024], buf[1024];
sprintf(filename,"%s/meta",srcdir);
FILE *fp = fopen(filename,"r");
long m, n... | [
"sjk2412@163.com"
] | sjk2412@163.com |
1bd3de6ac3851eeb065847b86c10ed69716f9a31 | c40b3a302218d020820f5d557e3f21e6b09a9974 | /src/components/MCWiFi/MCWiFi.cpp | 4231a5aad33c00bf228e3d7774408da6df5342f9 | [] | no_license | manugildev/modular-cubes-embedded | f231aa55ec31c74b28ec20ff5899aaa35e7c2086 | 29eeb15bc633ff3e8a47503520978e8a500abeac | refs/heads/master | 2021-03-19T17:28:20.078397 | 2019-11-05T22:29:26 | 2019-11-05T22:29:26 | 85,623,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,990 | cpp | #include <ESP8266WiFi.h>
#include <components/MCWiFi/MCWiFi.h>
#include <configuration/Configuration.h>
#include <data/ModularCube.h>
void MCWiFi::setup() {
pinMode(2, OUTPUT); // Just to blink whenever is connecting
maxDevicesPerAP = 4;
String mssid = String(String(CUBES_WIFI_SSID) + "_M");
String wifiName = ... | [
"madtriangl3@gmail.com"
] | madtriangl3@gmail.com |
833b2a7cfab10a67277da2702a8d3b4928958669 | 999049ae2313712363c8229d04f4efc9ac167b61 | /Round366/A.cpp | 755917904385f9c4b032b9e1fd9f07e34e93569c | [] | no_license | XiaoXiaoLui/CodeForces | fa2f254c2adedf759019622598912d53d9bdfa18 | 1c4b12450a3b8be958fd81d98acb03dcfed2220d | refs/heads/master | 2021-01-11T02:09:09.927403 | 2016-10-13T16:36:50 | 2016-10-13T16:36:50 | 70,825,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
#include <string>
#include <cmath>
#include <cstring>
#include <queue>
using namespace std;
#define pii pair<int, int>
#define mp make_pair<int, int>
typedef long long ll;
int main()
{... | [
"980821718@qq.com"
] | 980821718@qq.com |
169203431d9e61121f214a3d67687b64da7fadc5 | 651991951dd36e42b6b97ee9f6dcd0e632ef7f9f | /Player.h | 778647661a2556110401b92a7b90decf827d28d5 | [] | no_license | omeressa/Cpp-Ex7 | 7e67c786b55b8b9a6a03b0fa5e69e7da5d9a95c8 | ad8d01a06026b8819f2bdbcb08e95619140f21a4 | refs/heads/master | 2020-03-18T01:30:45.465066 | 2018-05-20T11:46:59 | 2018-05-20T11:46:59 | 134,145,276 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h |
#pragma once
#include "Board.h"
#include <string>
#include <exception>
class Player {
public:
char myChar;
Player(){}
Player(char c){
if (c=='O' || c== 'X')
myChar=c;
else{
throw IllegalCharException(c);
}
}
void setChar(char c)... | [
"noreply@github.com"
] | omeressa.noreply@github.com |
8ed4dc0fd5e2250127107b02ea8ad7f61aa48699 | 7a6e2a3492b6e237a70b12d75fd05b7a77472af3 | /cplus/expression/prac_4.32.cpp | a8e900cd19721847e4ef7839df673ce4aa04a29f | [] | no_license | timtingwei/prac | e44b7e4634a931d36ed7e09770447f5dba5f25e6 | ae77fa781934226ab1e22d6aba6dba152dd15bfe | refs/heads/master | 2020-05-21T17:53:07.144037 | 2017-10-10T14:55:52 | 2017-10-10T14:55:52 | 63,440,125 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 643 | cpp | #include <iostream>
#include <vector>
#include <string>
using std::cin; using std::cout; using std::endl;
using std::vector;
using std::string;
int prac_432()
{
//解释下面循环含义
constexpr int size = 5;
int ia[size] = { 1,2,3,4,5 };
//初始化 指针ptr指向数组ia的首元素,ix初始化为0;当ix值和size相等或 ptr指向尾元素的后一位,循环停止;每进行一次循环,ix+1,ptr+1,表达式返回+1后... | [
"timtingwei@hotmail.com"
] | timtingwei@hotmail.com |
67c0045d1c4b394eebddcfe121f785cea2a2abe2 | d4f6dc94f10e4e0f230be917160d0e850f5ba86f | /server/base/test/ThreadPool_test.cc | 586efa6a6737f677c9a42adaff2d25a113470348 | [] | no_license | zxm1990/TcpServer | 10ff877e898bfdea8d60d368edac809a8fe9afd5 | cdc7007132d8c896b57ae31291fc9321eafc4494 | refs/heads/master | 2021-01-13T17:13:11.327049 | 2017-05-14T01:09:15 | 2017-05-14T01:09:15 | 81,882,115 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cc | #include <server/base/ThreadPool.h>
#include <server/base/CountDownLatch.h>
#include <server/base/CurrentThread.h>
#include <server/base/Logging.h>
#include <boost/bind.hpp>
#include <stdio.h>
void print()
{
printf("tid=%d\n", server::CurrentThread::tid());
}
void printString(const std::string& str)
{
LOG_INFO <... | [
"hejunjian2012@163.com"
] | hejunjian2012@163.com |
4b6fbb07ec672fab32c56c91f5f2086887e49315 | 6f26f3bfea63412ff871883c6e8ad4308e31fa91 | /Character/Player.h | 22d0b191a7810b923500b1651b0ad809526ab6fa | [] | no_license | Turupawn/STGD | 6820abfc8a535ef0cc36dee2ad671134c2f93d7a | ba8c2bfd84776515f42bdf3ca4bb1323d57bef25 | refs/heads/master | 2020-06-02T04:12:53.083006 | 2014-04-08T16:01:47 | 2014-04-08T16:01:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | h | #ifndef PLAYER_H
#define PLAYER_H
#include <map>
#include <list>
#include <vector>
#include "TinyXml/tinyxml.h"
#include "RosalilaGraphics/RosalilaGraphics.h"
#include "RosalilaSound/RosalilaSound.h"
#include "RosalilaInputs/RosalilaInputs.h"
#include "../Spells/Bullet.h"
#include "../Spells/Pattern.h"
#include "Cha... | [
"antares_43@hotmail.com"
] | antares_43@hotmail.com |
9929f137f0d9cdd51a6e8a85d39d74ba5be6ffba | 2905dedf5abea272613faccda8786aebd54ceede | /прогр 9.4.cpp | dbd14ca6344a536f77c3645cd6e38df07908bf86 | [] | no_license | SofaProkopeva/9 | 6a67ad157bfc647872b9fcf40db59c58fa4aee40 | 1cc4959641ed888c1852496e9ba6fe3eadfe7bc9 | refs/heads/master | 2020-10-01T20:26:24.167174 | 2019-12-12T13:56:16 | 2019-12-12T13:56:16 | 227,618,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,956 | cpp | #include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
int a, s, d, e, o;
cout << "Введите число (100 - 999)" << endl;
cin >> a;
s = a / 100;
o = a % 100;
d = o / 10;
e = o % 10;
if (s == 1)
cout << "сто ";
if (s == 2)
cout << "двести ";
if (s == 3)
cout... | [
"noreply@github.com"
] | SofaProkopeva.noreply@github.com |
db095801a03755cf4fa04b12bcac9fcc7e019bc4 | b3ad4d576ef130245216bd6174d18225f491cd3a | /dreamhack-io/Memory_Corruption_C++/BOF/container-6.cpp | 6e2839f9b1748c3702e67a122fd674241954fa0f | [] | no_license | dnsdudrla97/pwn | fed44b09d1c1d12c1325401d85713ed0f403e22b | 72532e531b2cb98fb254fce5cd55889f483475a6 | refs/heads/master | 2023-02-02T18:15:29.476146 | 2020-12-22T05:41:06 | 2020-12-22T05:41:06 | 277,975,117 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | // g++ -o container-6 container-6.cpp -std=c++11
#include <iostream>
#include <vector>
void f(const std::vector<int> &c) {
for(auto i = c.begin(), e = i + c.size(); i != e; ++i) {
std::cout << *i << std::endl;
}
}
int main(void) {
std::vector<int> v;
v.push_back(1);
v.push_back(2);
v.push_back(3);
... | [
"dnsdudrla97@naver.com"
] | dnsdudrla97@naver.com |
591323805b1115014d4cb1d7afca5340e43ce8ab | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp | 802d8a7698d3d91a052b9064fc58cbc4e0242ade | [
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 2,526 | cpp | /*
* Copyright (C) 2013 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"22249030@qq.com"
] | 22249030@qq.com |
291514ec055f00ad4269325f2e551b7d70b64672 | a9ba52226f0f2f40b123aaa3a7ed798006d0f2a3 | /宝箱(Zombie's Treasure Chest, Shanghai 2011, UVa 12325)/main.cpp | 8441cc9fbda66a44c1aa8e067f3b6ab16546a8ec | [] | no_license | Wu0409/NOIP_solution | 21dd9048ec45d7386c67050c75ecb2c9381b97fb | 23815f3863c483966e7ec062c1b2cab383da0b49 | refs/heads/master | 2023-08-08T01:39:50.919380 | 2020-03-30T14:22:35 | 2020-03-30T14:22:35 | 235,752,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | //书本P210
//考察:
//QUESTION:宝箱
//备注:这个写法在数字很小,而n很大时,枚举量太大
#include <iostream>
#include <vector>
#include <map>
using namespace std;
//体积 - 价值
int s1 = 34,v1 = 34; //option1
int s2 = 5, v2 = 3; //option2
int current_max = 0; //当前最优解
vector <int> ans;
int all_value(vector <int> result){
int value = 0;
... | [
"872093177@qq.com"
] | 872093177@qq.com |
34ebb13c39440b191a15c41d6a57627ff796dfbf | 363cbc43dad2f8a3cb08ca343b95c1d08f6c60c6 | /analysis/macro/ReweightPU.cpp | 1b29fcdf3fab0dae6cb43cae56d1d33015bd593e | [] | no_license | DebabrataBhowmik/MonoHiggsToGG | 45af4363928b48d51ae50210a18a1bb19eb909c5 | b22984b06d3b1f767dcf15796c66f07581bf39f0 | refs/heads/master | 2022-01-26T02:30:39.866888 | 2019-04-02T09:50:26 | 2019-04-02T09:50:26 | 179,046,566 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,367 | cpp | #include "ReweightPU.hh"
ReweightPU::ReweightPU(const TString MC, const TString Data, const Double_t lumi, const Int_t nBins, const TString indir, const TString outdir, const TString type) {
// save samples for PU weighting
fMCName = MC;
fDataName = Data;
fInDir = indir;
std::cout << "Comparing " << fMC... | [
"mez34@cornell.edu"
] | mez34@cornell.edu |
3a69889fd8c967b7ceec98e284c8dd21023f6e3c | 0d839be7ab1554d4632a1723afbfb286be6a6601 | /main.cpp | 46dcda86c858eff92b337393cbfc08c04910cb5f | [] | no_license | arager1/Cards | be220dc75c77acc06987bf4f2d8cdc77ce0bed19 | 2ec08c55dd138c27aab16957943442a8235e9077 | refs/heads/master | 2021-07-08T11:42:34.086977 | 2017-10-04T14:03:17 | 2017-10-04T14:03:17 | 105,773,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include "Pokergame.h"
#include <iostream>
int main(){
Pokergame game;
game.addPlayer("Alec", 10000);
game.addPlayer("Nick", 10000);
game.addPlayer("Danielle", 10000);
game.addPlayer("Logan", 10000);
game.deal(7);
game.print();
}
| [
"arager@umich.edu"
] | arager@umich.edu |
3b8ee3ccb7d199b7726edb33e821310b545d2bae | 0a5f9a707ea8f5e8fe0cc5d0d631dfb9dadcdb90 | /CGUITexturedSkin.cpp | 114449f10fcdd921f76bf23452d71ad76c535e53 | [] | no_license | q4a/dakar2011 | 8adda624d997fb2d22066bcbd6d799a0604045c7 | 7f0049d132eac5bb147e860ca33d27bf03dd80c7 | refs/heads/master | 2021-04-03T20:12:54.458317 | 2010-12-22T13:01:14 | 2010-12-22T13:01:14 | 248,392,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,771 | cpp | #include "CGUITexturedSkin.h"
using namespace irr;
using namespace core;
using namespace video;
using namespace io;
using namespace gui;
namespace irr {
namespace gui {
CGUITexturedSkin::CGUITexturedSkin(IGUIEnvironment * pEnv, irr::io::IFileSystem * ifs)
{
pGuiEnv = pEnv;
pGuiEnv->grab();
pVideo = pEnv->getVi... | [
"btuska@0b255d0d-b62e-4858-a3ea-23bff437c660"
] | btuska@0b255d0d-b62e-4858-a3ea-23bff437c660 |
73e336babba1f12e7db2dc29adbb6b1dee7f34c3 | 0d99bcb8b8717008c1ec9b080c6c86c2b1710eee | /날씨/build/Android/Preview2/app/src/main/include/Fuse.Controls.Fallbac-8b30b373.h | 2ae77006ddfc9fa34cfa5a3be1f4b3d585f485c8 | [] | no_license | shj4849/Fuse | 526d92bc49a0a2d8087beece987b1701dc35cccc | 447f49f96f9dadf203f5f91e8a1d67f19d8ecc04 | refs/heads/master | 2021-05-15T23:08:09.523726 | 2017-12-21T05:28:53 | 2017-12-21T05:28:53 | 106,758,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,006 | h | // This file was generated based on C:/Users/t2/AppData/Local/Fusetools/Packages/Fuse.Controls.Primitives/1.4.0/TextControls/FallbackTextRenderer/WordWrapInfo.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Controls{namesp... | [
"shj4849@naver.com"
] | shj4849@naver.com |
cf9fafd3a3d0007ec599ec4da96a542b5ab6348f | 6b0ca4ece69cb52c30228395d8201137028605eb | /cpp/911-920/Online Election.cpp | 5ff3c1a0b2f737471c1618806f78543ee91d92ee | [
"MIT"
] | permissive | gzc/leetcode | d8245071199e1b6321856ba0ddbdef5acfb5b2ac | 1a604df1e86c9775b8db364bfb3a5462ed96e9d0 | refs/heads/master | 2022-02-04T00:12:19.448204 | 2022-01-30T03:08:14 | 2022-01-30T03:08:14 | 32,258,529 | 178 | 68 | MIT | 2021-03-28T16:50:18 | 2015-03-15T12:04:59 | C++ | UTF-8 | C++ | false | false | 658 | cpp | class TopVotedCandidate {
public:
map<int, int> m;
TopVotedCandidate(vector<int> persons, vector<int> times) {
int n = persons.size(), lead = -1;
unordered_map<int, int> count;
for (int i = 0; i < n; ++i) m[times[i]] = persons[i];
for (auto it : m) {
if (++count[it.se... | [
"noreply@github.com"
] | gzc.noreply@github.com |
50f07db97abfe301bed5a4d5fc05cfca4d5b0270 | 933b95b8f6b640d5c4456ac573d4e74898f6c8f2 | /mediapipe/examples/desktop/demo_run_graph_main_gpu.cc | 687a704ebeeb190dc94cd0f94e979df726f3977e | [
"Apache-2.0"
] | permissive | lukereichold/mediapipe | 03e8a602cf98bddb9e1a60c73149312d96f88c86 | 1cc2e6f549119054130d9e9a02012a7221da5992 | refs/heads/master | 2020-10-02T06:08:13.571951 | 2019-12-13T00:02:22 | 2019-12-13T00:02:22 | 227,718,415 | 1 | 0 | Apache-2.0 | 2019-12-12T23:57:41 | 2019-12-12T23:57:40 | null | UTF-8 | C++ | false | false | 7,985 | cc | // Copyright 2019 The MediaPipe 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 a... | [
"jqtang@google.com"
] | jqtang@google.com |
1385d1148d0aee800eca1087c879b8ab8cc134a0 | 0f5f4d0c33e752a35fc71a7762ad7aa904d16c27 | /dcmdata/libsrc/dcmetinf.cxx | b7a34a87b567402513519331c65ea5739f01c029 | [
"LicenseRef-scancode-warranty-disclaimer",
"IJG",
"BSD-4.3TAHOE",
"LicenseRef-scancode-other-permissive",
"xlock",
"OFFIS",
"BSD-3-Clause",
"JasPer-2.0"
] | permissive | trabs/DCMTK | 158b945f3740806d6a128d7f4d0a059997d3bacb | d6c163e4c2dcf1831c2efa20aa7752d15b61e67e | refs/heads/master | 2021-01-18T06:18:08.748952 | 2010-03-09T21:36:11 | 2010-06-14T08:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,644 | cxx | /*
*
* Copyright (C) 1994-2009, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | [
"jchris.fillionr@kitware.com"
] | jchris.fillionr@kitware.com |
580b53d1d7a59ff0df255d46b39daab24143aac6 | ffcc6e8c4fe677b0e4ccd87abe1da6f7db2d3dea | /noaaParser/Data_Block.h | bd1da5d657c73cdad471c47d45a6b4ff9df17920 | [] | no_license | jrober/NOAAparser | 271152134cb76974e618f1dca742d0374273da60 | 4119a7e70df8ae81192e1462d15a4922ccc20e86 | refs/heads/master | 2020-07-27T06:15:17.922291 | 2019-09-24T22:00:14 | 2019-09-24T22:00:14 | 208,898,440 | 0 | 0 | null | 2019-09-24T22:00:15 | 2019-09-16T21:09:03 | C++ | UTF-8 | C++ | false | false | 397 | h | #pragma once
#include "Data_Record.h"
#include "Header.h"
#include<vector>
class Data_Block
{
private:
vector<Data_Record> dr;
Header header;
public:
// default constructor
Data_Block() {};
// initialization constructor
Data_Block(Header headerIn, vector<Data_Record> drIN) {
dr = drIN;
header =... | [
"justinrobertsdw@gmail.com"
] | justinrobertsdw@gmail.com |
6184adc0bf35d1101ab51d13fbb1d7d4b94a7228 | bae10b03c0b051a4e1b8a2110a3ad7fb3d33c84c | /G4beamline-3.06-source/g4bl/UNUSED/OLD/BLQtToolBar.cc | 8d6830654b4b8a194dbb0606297087b29bc62160 | [] | no_license | QUASAR-Group/Codes | a99e78e745e7e491cfb214030e168e489416fcbd | 5d81c48c653d9cb409d941ab7234b913a123f1cc | refs/heads/master | 2020-03-22T18:02:59.507670 | 2019-05-10T14:47:41 | 2019-05-10T14:47:41 | 140,433,391 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,197 | cc | // BLQtToolBar.cc
#ifdef G4BL_VISUAL
#ifdef G4BL_GUI
#include <QAction>
#include "G4UImanager.hh"
#include "G4VViewer.hh"
#include "G4Scene.hh"
#include "G4ViewParameters.hh"
#include "BLQtToolBar.h"
#include "BLVisManager.hh"
BLQtToolBar::BLQtToolBar() : QToolBar(), axesVisible(false)
{
nEv = new QLineEdit("1")... | [
"volodymyr.rodin@gmail.com"
] | volodymyr.rodin@gmail.com |
7a6a0b1445b8507c105554b023f1ba3f4e87e08e | c5c4b8c6231c55df710c3bd680a4395fe8ff2d63 | /include/gphyx/PhysicsManagerT.h | d13a25eb89b3059a8098bb425fff938823dd9088 | [] | no_license | grynca/gphyx | 19ccbe77140e69f13e64b37287be3eb95e9a68ce | 6793e753d8703a91d2fb7ebe0b9397d8caa9166d | refs/heads/master | 2021-04-26T22:14:07.885065 | 2018-03-06T09:07:42 | 2018-03-06T09:07:42 | 124,048,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,684 | h | #ifndef PHYSICSMANAGERT_H
#define PHYSICSMANAGERT_H
#include "gphyx_config.h"
#include "joints.h"
#include "maths/shapes/Shape.h"
#include "maths/shapes/OverlapHelper.h"
#include "types/containers/PolyPool.h"
namespace grynca {
// keeps internal copy of Speeds for better cache coherence
// (in hash map with ... | [
"grynca@gmail.com"
] | grynca@gmail.com |
8153d0369ee4a2363c60807dbc36024d69b5514d | 90beaf6c9e091f5aaa40c3b24bff498a0ed5055a | /compiler/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp | 97731c607074e565378f95051560e69014fdb775 | [
"Apache-2.0",
"NCSA",
"LicenseRef-scancode-generic-cla",
"LLVM-exception",
"BSD-2-Clause",
"MIT"
] | permissive | bytedance/byteir | cf1d9bc27ec8e9f7ea92ff449cbedf470f90115c | 0e7673074c9d9a299717bb3379cb774c9921f72c | refs/heads/main | 2023-08-31T04:42:44.536710 | 2023-08-30T20:14:22 | 2023-08-30T20:14:22 | 598,267,148 | 208 | 16 | NOASSERTION | 2023-09-13T21:50:19 | 2023-02-06T18:51:31 | MLIR | UTF-8 | C++ | false | false | 7,711 | cpp | //===- BufferizableOpInterfaceImpl.cpp - Impl. of BufferizableOpInterface -===//
//
// Copyright 2022 ByteDance Ltd. and/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.
// You may obtain a... | [
"noreply@github.com"
] | bytedance.noreply@github.com |
e90df3f822d57689fc7980ecd98bfe9bf527a75d | fc73264e6a2632dc229962e2e55e8f7e51af646a | /solid/system/socketaddress.hpp | 53f86f0d765584876af5b293953df4527967d41e | [
"BSL-1.0"
] | permissive | zodsoft/solidframe | 8b259b208bda99bd85029664d92a05a0f254420c | 136e913027cd94a54bff3dee4b0a6673f2123a7f | refs/heads/master | 2021-01-12T23:59:56.403982 | 2016-12-22T09:50:52 | 2016-12-22T09:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,766 | hpp | // solid/system/socketaddress.hpp
//
// Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com)
//
// This file is part of SolidFrame framework.
//
// 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.
//
#ifnde... | [
"vipalade@gmail.com"
] | vipalade@gmail.com |
d63a959664866c84dade07e89eb2023d64a4c0d0 | a01851ad710157c72e2a122a1f7735639f6db225 | /L921. Minimum Add to Make Parentheses Valid.cpp | e536c312d18ac7168d6e3bb4991854591f32f776 | [] | no_license | we-are-kicking-lhx/xinxinalgorithm | 9089629b210a5a0e199f374c74afc24742644f03 | e988e3bca6438af6933378f374afb2627a5708fe | refs/heads/master | 2021-06-27T10:50:22.979162 | 2020-11-23T07:01:23 | 2020-11-23T07:01:23 | 173,912,054 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | class Solution
{
public:
int minAddToMakeValid(string S)
{
int n = 0, r = 0;
for (int i = 0; i < S.size(); i++)
{
if (S[i] == '(')
r++;
else
{
if (r != 0)
r--;
else
... | [
"1917089423@qq.com"
] | 1917089423@qq.com |
78248540162ac681b330e2fb6ff550e2ec68d342 | 8f8ae70775eda42f71d0e6354b9caba4576f3310 | /firefoamcases/cases/singleBox/constant/LESProperties | 8f3596985f84227fd8eaa161347ebcd7ffdda033 | [] | no_license | hong27/myFireFoamCases | 6070bb35781717b58bdec2f1a35be79077ce8111 | 8709c8aa7f1aa1718f3fbf0c7cdc7b284f531c57 | refs/heads/master | 2020-06-14T01:38:28.073535 | 2019-07-02T12:03:25 | 2019-07-02T12:03:25 | 194,851,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,955 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"linjianhongljh@gmail.com"
] | linjianhongljh@gmail.com | |
700f3ead5c13fc61207d2c4b3cf23d7406940a7c | 6c5fb5b74be518a5103b812f3b648c4eab8f99d5 | /competitive_programming/chapter3_greedy_involving_sorting/uva11100.cc | 27eb5624a04c3085d0dd0bede47c4fc3d1db76dc | [] | no_license | thyagostall/competitive | 1bfc44232773693edbfb59526650f47622d69791 | db5ed16ae0ef745fc407f6baabb0df2e505eb85e | refs/heads/master | 2021-01-22T06:44:35.390582 | 2018-10-03T03:56:14 | 2018-10-03T03:56:14 | 81,784,040 | 0 | 0 | null | 2017-06-17T17:11:15 | 2017-02-13T04:14:27 | C++ | UTF-8 | C++ | false | false | 1,765 | cc | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
ostream &operator<<(ostream &out, const vector<int> &v);
ostream &operator<<(ostream &out, const vector<vector<int>> &v);
vector<vector<int>> compute_bags(vector<int> &bag_sizes);
int compute_bag_qty(vector<int> &bag_sizes);
int main()
... | [
"thstall@gmail.com"
] | thstall@gmail.com |
08046449bcd5ba2554d9eaa2080a6281144e2167 | 5c675c06498225ae57662796f252eb0a9ec48947 | /graphicmap.cpp | 73a64afde1a6c0ae4ea6d2c2bc4f8326c59189e4 | [] | no_license | aminrd/SharifWars | 86e5bc1b095c71c37b95d32a48b5a7aac55b89c3 | 30b4ac1c1c9410b3737675392c93ceb0295634a3 | refs/heads/master | 2020-04-06T20:10:46.685075 | 2019-08-20T17:32:12 | 2019-08-20T17:32:12 | 157,764,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,523 | cpp | #include "graphicmap.h"
#include <QPainter>
#include <gameobject.h>
#include <QHeaderView>
#include <QScrollBar>
#include "map.h"
#include "player.h"
#include "gameobject.h"
GraphicMap::GraphicMap(QTableWidget* _table, Map* _map, QWidget* parent){
map=_map;
maptable=_table;
}
void GraphicMap... | [
"aghaee@cs.ubc.ca"
] | aghaee@cs.ubc.ca |
76fdeb34332eaf2115e27c3e0343729e190e93f0 | 81464366d3d2ab91a6600be8646d0856d413d8be | /Sum_on_right_side.cpp | 19ad21245feb1460671142c5725faf4835ddb4c5 | [] | no_license | SunnyJaiswal5297/Basic_c_programs | 08f289d04817f81222ceaacd7362e47fbae2935e | a2fd6168ce4ff075be6488c172200da21058dd93 | refs/heads/master | 2022-12-03T09:53:35.189234 | 2020-07-28T17:17:17 | 2020-07-28T17:17:17 | 283,201,986 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include<iostream>
#include<time.h>
using namespace std;
int main()
{
clock_t start=clock();
int t;
cin>>t;
while(t--)
{
int n,i,j;
cin>>n;
int arr[n],b[n];
for(i=0;i<n;i++)
{
cin>>arr[i];
b[i]=0;
}
f... | [
"s2jaiswal.sj@gmail.com"
] | s2jaiswal.sj@gmail.com |
5e5758d8f9f1e65e6255f1ee142804ab51b59f0e | 4cdd282955b32e41705c1dc3c077e7625af740ef | /main.cpp | ad4fd81644adc0e3151caaa631050a9fb90afb98 | [] | no_license | Makgalemela/Checkers-Game | bb096deb33a60a67ada3ed2af9551c0497a5c3c8 | 3131543446ff828258fce82a615c9101ca852fda | refs/heads/master | 2023-02-13T06:59:28.921853 | 2021-01-01T14:46:49 | 2021-01-01T14:46:49 | 322,437,680 | 0 | 0 | null | 2021-01-10T10:15:58 | 2020-12-17T23:31:49 | C++ | UTF-8 | C++ | false | false | 1,028 | cpp |
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cstdlib>
#include <time.h>
#include <string>
#include "checkers.h"
using namespace std;
///The function read the board sizes and feed them to the game engine
vector<int> boardSizes(){
int temp_size = 0;
ifstream inFile;
... | [
"gugurachelmvelase102@gmail.com"
] | gugurachelmvelase102@gmail.com |
ace1f5777dc271c732c973f417d7005cfe8214f9 | 1834c0796ee324243f550357c67d8bcd7c94de17 | /SDK/TCF_WBP_Item_Death_structs.hpp | e095b66b73560bb94b5189140b0a3de04928bd36 | [] | no_license | DarkCodez/TCF-SDK | ce41cc7dab47c98b382ad0f87696780fab9898d2 | 134a694d3f0a42ea149a811750fcc945437a70cc | refs/heads/master | 2023-08-25T20:54:04.496383 | 2021-10-25T11:26:18 | 2021-10-25T11:26:18 | 423,337,506 | 1 | 0 | null | 2021-11-01T04:31:21 | 2021-11-01T04:31:20 | null | UTF-8 | C++ | false | false | 290 | hpp | #pragma once
// The Cycle Frontier (1.X) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "TCF_Basic.hpp"
#include "TCF_ScreenSystem_classes.hpp"
#include "TCF_UMG_classes.hpp"
#include "TCF_Prospect_classes.hpp"
namespace SDK
{
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
0ae32cafdc3d2bf431ef71945806ee9920995739 | 309d7e225969cacc90b9c812a9226c2386651d2b | /sources/core/inc/TimerController.class.hpp | 0d09a069a9ecaec3903c0f379478c0db9671a59a | [] | no_license | Hadrien-Estela/Gbmu | a62350e532c7f63a4f9ca6202694c787705ec323 | cc61e80867ee6bff00d186b3e7007af50e403bd3 | refs/heads/master | 2021-09-28T21:04:03.284880 | 2018-11-20T15:54:15 | 2018-11-20T15:54:15 | 117,264,806 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,820 | hpp | // ************************************************************************** //
// //
// ::: :::::::: //
// TimerController.class.hpp :+: :+: :+: ... | [
"hadrienestela@gmail.com"
] | hadrienestela@gmail.com |
c7864cad8799cce9a427e8517375e76358e0b6bb | 3a8b30c331b4e0e6f81cb7823e98ee667b3b2180 | /QSW/wov/ribbonemitter.h | ab78e8308b37607d5f6ef0d16346a5b24e75933f | [
"MIT"
] | permissive | sidsukana/QSpellWork | 2f67ed88267731eacdef693651b3740facc85d2e | d25a76935e506d347c862442f891dab6dab12380 | refs/heads/qsw-2.0 | 2022-07-11T05:05:55.445428 | 2022-06-27T11:50:17 | 2022-06-27T11:50:17 | 16,616,945 | 20 | 23 | MIT | 2022-06-27T11:50:28 | 2014-02-07T14:30:18 | C++ | UTF-8 | C++ | false | false | 1,274 | h | #ifndef RIBBON_EMITTER_H
#define RIBBON_EMITTER_H
#include <QObject>
#include <QOpenGLShaderProgram>
#include <QOpenGLBuffer>
#include <QOpenGLFunctions>
#include "m2structures.h"
#include "animatedvalue.h"
#include "mvp.h"
#include "particleemitter.h"
struct Ribbon
{
QVector3D position;
QVec... | [
"pgsilent@gmail.com"
] | pgsilent@gmail.com |
e1437c5ff3af4e2c0dcc1f622ee2889a620c0fcf | 33691f66e73fdfe7d90caebf51bc39b60ffd8a38 | /UserInterface/GeneratedFiles/Debug/moc_DrawController.cpp | e5e6633f7a39e8f296eecded6d18cd4a221e341b | [] | no_license | Frenor/CCCP | 9bc494dc5ed0bc049dc71a3735897ea33e663bbf | 91994c73af62aa6f3c1b7a812ee1ae6f8092a30a | refs/heads/master | 2020-05-07T09:23:06.667397 | 2014-11-24T16:30:43 | 2014-11-24T16:30:43 | 25,698,291 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,414 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'DrawController.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | [
"fredrik@nordmoen.com"
] | fredrik@nordmoen.com |
9068580d40fd09204699ab35eb9f16d5d239729f | a8597563c1349d1ff2820cfc528d3d8d05b74bc7 | /Webkit-owb/generated_sources/WebCore/JSHTMLAppletElement.cpp | 387d2350b2bddbc88c5e2f3821e5686878eaa7f9 | [] | no_license | lentinic/EAWebKit | 68f8288b96d3b629f0466e94287ece37820a322d | 132ee635f9cd4cfce92ad4da823c83d54b95e993 | refs/heads/master | 2021-01-15T22:09:35.942573 | 2011-06-28T16:41:01 | 2011-06-28T16:41:01 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 10,094 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"nanashi4129@gmail.com"
] | nanashi4129@gmail.com |
e5f87b560a41ce450969c05f4695a3963c212881 | 103eca6c82eec3bd5fa3a9d28fa65446564e4bd4 | /abcdsat_p21/parallel/LocalThread.h | dc9b69dbf17865eaa8261f13b9056b78314b8a48 | [] | no_license | jingchaochen/abcdsat_p21 | c0df8973e8fa9232da5dab12b8a1c2f0518a505c | cb5e67aaa2669aa3c111596656e4168d79219268 | refs/heads/main | 2023-04-10T11:16:07.528238 | 2021-04-20T08:20:56 | 2021-04-20T08:20:56 | 359,734,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | h |
#ifndef LocalThread_H
#define LocalThread_H
#include "core/SolverTypes.h"
#include "core/Solver.h"
#include "simp/SimpSolver.h"
#include "parallel/SharedInfo.h"
namespace abcdSAT {
class LocalThread : public SimpSolver {
friend class MainThread;
friend class SharedInfo;
protected :
int thn; // inte... | [
"noreply@github.com"
] | jingchaochen.noreply@github.com |
0c7903d97b801e391b007fe046db1de07164bd5a | ff5b427352226fc308b8f10ebce3f563c51cf9bd | /Algorithms/Strings/Sherlock and Anagrams.cpp | ccd351ab48f989cd523280c2b3f29964ec903602 | [] | no_license | davidffa/HackerRank-Cpp | 622520cab05764abde301ce44e2a8730aa28e83c | 9bcbbcea8a66811d182915eedfb6965d7907ea01 | refs/heads/master | 2022-11-05T11:00:42.827861 | 2020-06-21T20:45:42 | 2020-06-21T20:45:42 | 272,500,629 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include <bits/stdc++.h>
using namespace std;
void solve() {
string s;
cin >> s;
int ans=0;
map<vector<int>, int> mp;
for (int i=1; i<=s.length(); i++) {
for (int j=0; j<s.length()&&j+i<=s.length(); j++) {
string s1= s.substr(j, i);
vector<int> v(26, 0);
for (char c : s1) ++v[c-'a'];
++mp[v];
... | [
"davidfilipeamorim@gmail.com"
] | davidfilipeamorim@gmail.com |
20c31a6cded7b078a69fc90cb7b5c4098bc00cfb | 0cdbd51c06a8385f928bcaea7ae58da5d5d635fa | /W07 - Exam2 Review/Operator-overloading/Rational.cpp | 8548b9c671ed9cd87b923032f7f3800cf421f82f | [] | no_license | yilin2548/UIndy-CSCI-156-50 | dc6f155d410570833d39e27891a38c3a84f81568 | 852065df15ab3d0352c1c481dc018636e9cef484 | refs/heads/master | 2021-05-05T10:17:41.195367 | 2018-04-30T19:53:49 | 2018-04-30T19:53:49 | 117,909,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,155 | cpp | // Name: Yilin Liu-Leitke
// Date: 2/15/18
// Desc: Implementation of the Rational class.
// iostream is not neccassary because cout is not used.
#include <sstream>
// Be sure to include the .h file!
#include "Rational.h"
using namespace std;
// Default constructor
Rational::Rational(){
numerator = 1;
denomi... | [
"yilin2548@gmail.com"
] | yilin2548@gmail.com |
e2af09d4ce19a1e26cde2d0c86922ceb643dacf5 | ac68ee4921c4a3fe613ecf5207b4e09bb3e9aef7 | /day-04/day4.cpp | cb40809f88b1bbcce2b64781cfb1e7cc4a4c4332 | [
"MIT"
] | permissive | WhoSoup/aoc2019 | 33f000c483c61f684fec616047e6a9026e6dd013 | 90f68bb555e93d41a9ffc8e84bcda4548d41d26c | refs/heads/master | 2020-09-22T09:21:36.452539 | 2019-12-22T11:55:26 | 2019-12-22T11:55:26 | 225,135,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | #include <iostream>
#include <vector>
std::pair<bool,bool> valid(int pw) {
bool repeat = false;
bool repeat2 = false;
int run = 0;
int prev = 10; // going reverse, so higher than 9
while (pw > 0) {
int r = pw % 10;
if (prev < r) {
return std::pair<bool,bool>{false,false... | [
"who.soup@gmail.com"
] | who.soup@gmail.com |
cad0289820035fbfeb4c4031f41bae3f9e5f0ff3 | 5168d97461d4335784082f88ba2f90d3dee71769 | /Coding Questions/2-D Array/Class Questions/AvgFilter.cpp | 95287f4ce07dda8fdd874af57d92d84e6edab083 | [] | no_license | parasjain929/Karma | eb4021397f085cbc24a08b2651d2d20103047484 | 7e52e7f5698f8a6e15684800ee336ae24dae8c36 | refs/heads/master | 2020-06-01T23:27:10.785809 | 2019-07-05T08:57:04 | 2019-07-05T08:57:04 | 190,964,636 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int i,j,temp,n,x,y;
cin>>n;
int a[n][n];
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
cin>>a[i][j];
}
for(i=1;i<n-1;i++)
{
temp=0;
for(j=1;j<n-1;j++)
{
for(x=-1;x<=1;x++)
... | [
"parasjain929@gmail.com"
] | parasjain929@gmail.com |
a8750460986afff6527e7deebba25ee6f0894d23 | c27b97c85778eaf84a5d1b36c5f52687bbeb705a | /C++/1004.cpp | a4ff41b615013c6aee21277b58fa4aa40951ca20 | [] | no_license | ongss/coding | c7d158caba72a5f795aca87821543d5d1a0afd14 | 679adbac41b03b88f47c568967e7dc99eaf22b67 | refs/heads/master | 2021-04-29T14:01:32.823293 | 2018-02-16T15:12:21 | 2018-02-16T15:12:21 | 121,764,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,432 | cpp | #include<stdio.h>
int main()
{
int a,b,cnt=0,d,e,i,j,k=0,l,clas,n=0,stn;
scanf("%d %d",&a,&b);
int cls[1000]={0},std[1000]={0},line[1000]={0},nwline[1000]={0},clsline[1000];
for(i=0;i<b;i++)
{
scanf("%d %d",&cls[i],&std[i]);
}
for(i=0;;i++)
{
... | [
"ong54321@hotmail.com"
] | ong54321@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.