blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0602c2f8652e4344d356ef5e8ca950fe146bbcea | feff23d22c4e90187b4195f79f4f915e096211b3 | /Singly Linked List.cpp | 1443a75ef4488d6a5f45883e5881e151e2db2d5c | [] | no_license | nikitaaccount/Data_Structures | edade9314df35971e194eb4f42c82264ca200a96 | 91dc06e08cec4e54752b854157551c6f277d4b09 | refs/heads/main | 2023-07-07T04:41:31.083584 | 2021-08-01T15:27:01 | 2021-08-01T15:27:01 | 384,704,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,192 | cpp | #include<iostream>
using namespace std;
template <class t>
class node
{
public:
t data;
node * next;
node(t x,node *n=NULL)
{
data=x;
next=n;
}
};
template <class t>
class SinglyLinkedList
{
node<t> *head;
public:
SinglyLinkedList()
{
head=NULL;
}... | [
"noreply@github.com"
] | noreply@github.com |
d8ca5b9645b38876ccad15051bc08d2101ca9342 | 8ea4b7fe3f20a3d6b62c9f1be16227a9fe8e759f | /routing/arouterex/src/db/grDB/GridMapGR.h | 7283c5f54fb8a057b637d76b7f6e92258bff0c4c | [
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | rbarzic/MAGICAL | af2e2bd78cc005bb8846c97db8dbbe56ef3b3f28 | 0510550b263913f8c62f46662a9dfa2ae94d2386 | refs/heads/master | 2020-12-23T03:20:46.349108 | 2020-01-30T21:46:41 | 2020-01-30T21:46:41 | 237,017,902 | 0 | 0 | BSD-3-Clause | 2020-01-29T15:37:32 | 2020-01-29T15:37:31 | null | UTF-8 | C++ | false | false | 23,891 | h | /**
* @file GridMapGR.h
* @brief Map of grid cell and grid edge for global routing
* @author Keren Zhu
* @date 10/06/2018
*/
#ifndef AROUTER_GRIDMAPGR_H_
#define AROUTER_GRIDMAPGR_H_
#include "GridCellGR.h"
#include "GridEdgeGR.h"
#include "util/Vector3D.h"
#include "util/Vector2D.h"
#include "util/Interval.h"
... | [
"jayliu@umich.edu"
] | jayliu@umich.edu |
5f63ebbbb9349d1b82459b598a14f5b26a2cf725 | 1854b2324a00391ed2a188e12ea6c232075cf868 | /course/BirdGame/roaditem.cpp | 949fc11b063f167568709f95b71f010ad3f2bb67 | [] | no_license | long238/githubTest | 0af81449a6bac55ed0b167ce116cb4cd73aa43a3 | 004538d4d6b6b66e7f908d8b024280af64f555c0 | refs/heads/master | 2023-03-01T13:44:27.576659 | 2021-02-15T14:56:58 | 2021-02-15T14:56:58 | 337,628,792 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | cpp | #include "roaditem.h"
#include <QPainter>
#include <QPropertyAnimation>
#define ROAD_ITEM_HEIGHT 64
RoadItem::RoadItem(QGraphicsScene *scene)
:m_scene(scene)
{
//将当前道路图形项对象添加到游戏场景中去
scene->addItem(this);
startMove();
}
RoadItem::~RoadItem()
{
}
//重写绘图区域
QRectF RoadItem::boundingRect() const
{
... | [
"1195359927@qq.com"
] | 1195359927@qq.com |
67a7d96a7ec79a49e9cbceed2b6d6afc928dbf48 | 967834d40ced59148efcb063fd1875ede6efd058 | /Projects/069_Circle_loop/src/ofApp.cpp | 7b19f6ae2e6d8f5bdfb3ed5ff5dce6720979bbcd | [] | no_license | idesign0/openframeworks_projects | 28d68e4dcbfad4780c8290a924f0e4fd4d0a19b7 | b18bf2c62372d0b1553c7f061be78468b7240484 | refs/heads/master | 2023-01-01T18:49:27.479742 | 2020-10-25T05:12:02 | 2020-10-25T05:12:02 | 279,644,608 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,358 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(0);
record.setup(true, false);
record.setWidth(ofGetWidth());
record.setHeight(ofGetHeight());
//record.setVideoCodec("mpeg4");
record.setFFmpegPath(ofToDataPath("ffmpeg.exe"));
record.setFps(... | [
"dhruvpatel2991998@gmail.com"
] | dhruvpatel2991998@gmail.com |
fad63521a54094ce5376edbe04850beafe7a2e85 | 9d164088aa2d5a65215b77186c45da093ad68cb1 | /src/CGnuPlotEndBar.h | 8dbd87e76ac51b3dbf121d4ffa55496a76a11c4a | [
"MIT"
] | permissive | colinw7/CQGnuPlot | 9c247a7ff8afd0060fd99d7f4c12d4f105dfc9d9 | c12ad292932a2116ab7fbb33be158adcf6c32674 | refs/heads/master | 2023-04-14T07:29:43.807602 | 2023-04-03T15:59:36 | 2023-04-03T15:59:36 | 26,377,931 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | h | #ifndef CGnuPlotEndBar_H
#define CGnuPlotEndBar_H
#include <CPoint2D.h>
#include <CGnuPlotStroke.h>
class CGnuPlotPlot;
class CGnuPlotBoxBarObject;
class CGnuPlotRenderer;
class CGnuPlotEndBar {
public:
CGnuPlotEndBar(CGnuPlotPlot *plot);
virtual ~CGnuPlotEndBar() { }
CGnuPlotEndBar(const CGnuPlotEndBar &)... | [
"colinw@nc.rr.com"
] | colinw@nc.rr.com |
5d9757e0285bcf0fb5f5e592acee7d43601b48b9 | cec628def1aad94ccbefa814d2a0dbd51588e9bd | /cnd.makeproject/samples_src/freeway/police.cc | dc581da890a86d88527cc7af314d96dd171e1634 | [
"BSD-3-Clause"
] | permissive | emilianbold/netbeans-releases | ad6e6e52a896212cb628d4522a4f8ae685d84d90 | 2fd6dc84c187e3c79a959b3ddb4da1a9703659c7 | refs/heads/master | 2021-01-12T04:58:24.877580 | 2017-10-17T14:38:27 | 2017-10-17T14:38:27 | 78,269,363 | 30 | 15 | null | 2020-10-13T08:36:08 | 2017-01-07T09:07:28 | null | UTF-8 | C++ | false | false | 3,825 | cc | /*
* Copyright (c) 2009-2010, Oracle and/or its affiliates. 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,
* th... | [
"thp@netbeans.org"
] | thp@netbeans.org |
ed7b65d1317c7cd108ad4b0a83155493ae092c6b | 2cb37a3f31ccebf37b173071278312e19799ad6d | /avec encodeur rotatif 3eme version/porte_poulailler_automatique_rotatif/Bouton.cpp | df0255b7efb8e221773938259460c052b2b9bf30 | [] | no_license | zephyr5028/Porte-poulailler-automatique-autonome | 6796c3889b34d9a75a02d96b361c52e73230254d | 397ae02a115d643cd65bbd670da4f66dde1a8289 | refs/heads/master | 2023-09-04T00:29:25.956240 | 2021-10-18T07:40:56 | 2021-10-18T07:40:56 | 75,304,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | /** Bouton.cpp
définitions de la classe Bouton
*/
#include "Bouton.h"
Bouton::Bouton() : m_pinBp(9), m_pinBoitier(6), m_debounce(350), m_relacheBp(true), m_tempoDebounce(0), m_debouncePret(false)
{
}
/* sucharge du constructeur avec le nombre de lignes du menu */
Bouton::Bouton( const byte pinBp, const byte pinBo... | [
"marguerie.jl@wanadoo.fr"
] | marguerie.jl@wanadoo.fr |
2e775baef7078c9459e937dada55c9447e020016 | dbe0699bf2440ef049a2882443189e3ea27cb7b5 | /src/core/src/precomp.hpp | 80baa9ae9fe25d4c90d4689ce0e10f2189334fb2 | [] | no_license | erhuo522/Easy_CPR | 227fba8ef74102d768ab790df9e8318f5622a315 | cffef3cd8bf4d95070ee798a5ad1f4837a90b54c | refs/heads/master | 2021-01-18T05:53:09.783394 | 2016-05-28T06:24:38 | 2016-05-28T06:24:38 | 56,416,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,779 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"mni2005@sina.cn"
] | mni2005@sina.cn |
37d515e0f7d601ca7763d16b47f8333db80177c8 | c92de03b81bebe065ad9da3a040058b202b6b696 | /Pong Game/Ball.cpp | ac1789119d0f7ae4235dca2ff07b0b9f2a1af479 | [] | no_license | RSyad/Pong | b02132805f767791e09f156742fc8a6371735383 | 4461ec65bc7219e344c264b7f70ff18506112d60 | refs/heads/master | 2021-01-11T21:39:11.959455 | 2018-07-31T16:50:57 | 2018-07-31T16:50:57 | 78,828,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | #include "stdafx.h"
#include "Ball.h"
Ball::Ball(float startX, float startY)
{
position.x = startX;
position.y = startY;
ballShape.setSize(Vector2f(10, 10));
ballShape.setPosition(position);
}
FloatRect Ball::getPosition()
{
return ballShape.getGlobalBounds();
}
RectangleShape Ball::getSha... | [
"noreply@github.com"
] | noreply@github.com |
6110c3f97a95204a3365365cf7b57739678780fb | 388e2e58b27315f4a478e30034ad0ba5c33354e7 | /Program Design and Development (CSCI 3081W)/Projects/iteration1/src/arena_entity.h | 622f6782fb8fc6371510bdd9b9fc922cd464cea7 | [] | no_license | GregoryStar/CourseWork | 867139538d11e36c05d3c753d252a7da414709ec | 952ef5e747408f9e1e6e973909dd73e5c3135a9b | refs/heads/master | 2020-05-02T22:40:44.567006 | 2019-03-28T18:23:51 | 2019-03-28T18:23:51 | 178,258,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,829 | h | /**
* @file arena_entity.h
*
* @copyright 2017 3081 Staff, All rights reserved.
*/
#ifndef PROJECT_ITERATION1_SRC_ARENA_ENTITY_H_
#define PROJECT_ITERATION1_SRC_ARENA_ENTITY_H_
/*******************************************************************************
* Includes
*******************************************... | [
"34173989+JacobStaroselsky@users.noreply.github.com"
] | 34173989+JacobStaroselsky@users.noreply.github.com |
96557f9520d58c87cb1dc83d3b495d06327e5097 | 4f622bb5302638905b32e7a36bebe28e46891b1d | /CListGraph.cpp | ab06fbea9d071313d8873aa3736230de4ce8300f | [] | no_license | ksgl/assignment-graphs | 7ef68d02f6137eb07acbc46c7c15eb1749a9a2a4 | 2bb77bfdcfbc38965a793cc777b2ed17bb49d0c8 | refs/heads/master | 2020-03-18T20:16:35.217830 | 2018-05-29T20:27:21 | 2018-05-29T20:27:21 | 135,204,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,531 | cpp | #include "CListGraph.hpp"
ListGraph::ListGraph(int count) {
assert(count > 0);
adjacencyLists.resize(count);
}
// создание графа варианта хранения "списки смежности"
ListGraph::ListGraph(const IGraph& graph) {
adjacencyLists.resize(graph.VerticesCount());
for (int from = 0; from < adjacencyLists... | [
"noreply@github.com"
] | noreply@github.com |
39b65a47e039be96bcb5f1586191122ba6888e93 | de59df06ef86ac907d925bf94275af235198a826 | /src/univalue/lib/univalue_read.cpp | b29a7b1160558b1d983eb031aff0861f93c01efb | [
"MIT"
] | permissive | phoenixkonsole/transcendence | 28045180823a9922221f806a273c02e034d2c90d | bbe75eb71a5643fa2ba6bb8002d6288b8e14716f | refs/heads/master | 2023-02-10T20:26:36.313626 | 2023-01-18T16:47:27 | 2023-01-18T16:47:27 | 136,924,482 | 32 | 47 | MIT | 2023-01-18T16:19:30 | 2018-06-11T12:39:41 | C++ | UTF-8 | C++ | false | false | 11,829 | cpp | // Copyright 2014 BitPay Inc.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string.h>
#include <vector>
#include <stdio.h>
#include <univalue.h>
#include "univalue_utffilter.h"
using namespace std;
static bool json... | [
"akshaycm@hotmail.com"
] | akshaycm@hotmail.com |
a85e35df5ae44ee5eeb18cb1c743cf94e90f5568 | 469100067213102f9942bc375ffb74c098cc0337 | /hdu/5410/main.cpp | 3c3cb0abca38574bc3527cc036fbb3c6ffc8f55c | [] | no_license | xuziye0327/acm | 52c2dc245ad8bf5a684da677a0ebe57e0b4f8a59 | e0737fdbbebc698e2f36e3136c8939729cad50b9 | refs/heads/master | 2021-04-22T12:59:31.525803 | 2016-11-13T08:44:23 | 2016-11-13T08:44:23 | 41,278,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
typedef unsigned long long ull;
const int maxn = 2007;
int d[maxn];
int a[maxn], b[maxn], w[maxn];
int main() {
int T;
scanf("%d", &T);
while (T--) {
int m, n;
memset(d, 0, sizeof(d));
scanf("%d%d", &... | [
"xuziye0327@gmail.com"
] | xuziye0327@gmail.com |
b7a0e5749491d7b304c2d7fc32cf4dc8653f4fbe | b3710dfdd0eeb3e28d3a4c666af5df6558a03553 | /cgodeps/godot_engine/servers/physics_2d/broad_phase_2d_basic.cpp | 3bdfc1a9733cd58f2767b5f7e87d4727dd9e62e3 | [
"MIT",
"CC-BY-3.0",
"CC-BY-4.0",
"LicenseRef-scancode-free-unknown",
"OFL-1.1",
"BSD-3-Clause",
"Bitstream-Vera",
"FTL",
"MPL-2.0",
"Zlib",
"LicenseRef-scancode-nvidia-2002",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | gabstv/godot-go | 5befd7539ef35a9e459046644dd4b246a0db1ad9 | e0e7f07e1e44716e18330f063c9b3fd3c2468d31 | refs/heads/master | 2021-05-21T23:48:25.434825 | 2020-08-27T16:52:18 | 2020-08-27T16:52:18 | 252,864,512 | 10 | 3 | MIT | 2020-08-27T16:52:20 | 2020-04-03T23:26:52 | C++ | UTF-8 | C++ | false | false | 5,997 | cpp | /*************************************************************************/
/* broad_phase_2d_basic.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"gabs@gabs.tv"
] | gabs@gabs.tv |
d75b02a27cad699876d1ad8adcb25a2487a6b776 | 9a32178d3c2fdf377d84f65b55989264e67f40e9 | /2002/ALL VC SAMPLES/ManagedExtensions/Interoperability/MEDriver/MEDriver.cpp | e13773849bcd5d05c88bcf278efefec4971c032b | [] | no_license | philipwolfe/Samples | 5e5cc1376575ac6361b62a3554c98626f153b694 | 7eb703287a6d07596a141c4557f271efe6c1666f | refs/heads/master | 2021-12-25T12:52:52.616313 | 2021-12-19T04:26:29 | 2021-12-19T04:26:29 | 250,445,305 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,259 | cpp | /*=====================================================================
File: MEDriver.cpp
Summary: The Managed Extension Driver sample shows how to use COM events in .NET world.
---------------------------------------------------------------------
This file is part of the Microsoft VC++ Code Samples.
Co... | [
"philipwolfe@users.noreply.github.com"
] | philipwolfe@users.noreply.github.com |
f82477304c282f1194f653d07e1d04605eb39446 | 60556523e3b487de570617306fb5dc29b05d1545 | /seedlingDetector/WatershedCustom.cpp | e339afceab2c06bfc44abda07e77575912aa1637 | [] | no_license | sukruburakcetin/seedlingDetector | 3eaf6f7284a6b6e507563807a3538ab50b5239b8 | 66c941ac3002c600eb36aaa986e83348219065cd | refs/heads/master | 2023-07-13T08:41:19.489626 | 2021-08-18T13:24:44 | 2021-08-18T13:24:44 | 339,544,180 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,619 | cpp | #include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include <array>
#include "Helpers.hpp"
#include "WatershedCustom.hpp"
#include <iostream>
using namespace cv;
using namespace std;
const int SINGLE_POINTS = 0;
const int SEGMENTED = 2;
const uchar MAXIMUM = 1; // marks local maxima (irrespective of nois... | [
"cetin.sukruburak@gmail.com"
] | cetin.sukruburak@gmail.com |
f393d6b91bb751d635723f433a84c2129dfb664b | 28e7bcfa5041f8266ace080f64794c78bb02a9ab | /Gnou/main.cpp | ba19e8ff3d6df3980feb9cce9d612db275a63c59 | [] | no_license | gpalex07/SIMU | 4361722c02367f3f3481d0bfcae7b5d7c69bf69a | 2ae0b2e6f7d169e23882e967b34ad0013975b7af | refs/heads/master | 2020-06-01T19:06:25.832067 | 2013-02-12T07:23:03 | 2013-02-12T07:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include <QDebug>
#include <QObject>
#include <QApplication>
#include "vue/vue.h"
#include "controleur.h"
#include "modele/modele.h"
int main(int argc, char * argv[])
{
QApplication app(argc, argv);
modele modeleSimu(50,50);
vue vueSimu(&modeleSimu);
controleur controleurSimu;
QObject::connect(... | [
"none"
] | none |
d1d54187d13f471245417899b5ba94cc420b6b9c | 6e2fa7e6646e97102ad251f8c1ef4e28e9ede922 | /csound_1/src/cApp.cpp | 428402dc0f1bf0251afe7123db725b81919ed30e | [] | no_license | hiroMTB/uf_0.8.6 | a21e57c940e526b543e6524bf756ce621c890e4a | 048af1a6d78095834d4c0a36a97e8eaf3e69a72d | refs/heads/master | 2021-05-31T13:43:03.758515 | 2016-03-14T18:26:34 | 2016-03-14T18:26:34 | 34,898,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,160 | cpp | #include "cinder/app/AppNative.h"
#include "cinder/Rand.h"
#include "cinder/Utilities.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Fbo.h"
#include "cinder/gl/Texture.h"
#include "cinder/Camera.h"
#include "cinder/MayaCamUI.h"
#include "cinder/Perlin.h"
#include "cinder/params/Params.h"
#include "CinderOpenCv.h"
#i... | [
"matobahiroshi@gmail.com"
] | matobahiroshi@gmail.com |
0918a2788b80ccaa9583c3bffcf38e40f48f7772 | e6acce6daa3a30580cb31a32564a3b633570c23e | /Cocos2dxExt/Cocos2dxExt/Classes/ZoomController/EXZoomController.cpp | a5b3e7790bb4cfa4fbaa8cd3f8d4e69d2b1945a0 | [] | no_license | gtxx3600/cocos2dx-extensions | c161e9dc6cac79236fb18962aa8a6d19d9a0ce7b | 85e017298118cd994e182702b40ed57e33dcc3a5 | refs/heads/master | 2021-01-16T22:50:32.097292 | 2013-08-01T00:53:10 | 2013-08-01T00:53:10 | 12,554,407 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,586 | cpp | //
// EXZoomController.cpp
// Cocos2dxExt
//
// Created by Yanghui.Liu on 13-5-23.
//
//
#include "EXZoomController.h"
//Will return value between 0 and 1, think of it as a percentage of rotation
static inline float vectorsDeviation(CCPoint v1, CCPoint v2) {
return ccpLength(ccpSub(ccpNormalize(v1), ccpNormali... | [
"cocos2der@gmail.com"
] | cocos2der@gmail.com |
366fdad767517b8a38c4255914a50741b7bba58b | 3300774493ff8ca8cfb6cfc9dc52f89ae704dd32 | /nano_led_external_blink/nano_led_external_blink.ino | 998524dd79af38b3a9a682743ff7124e00322610 | [
"MIT"
] | permissive | tapin13/Arduino4Fun | 4c56590884028d7795ae8b768fd5ccef4e7e5dcc | c4a91f7e36a275b6be90f1d55c9555720d4e0f63 | refs/heads/master | 2021-01-01T20:46:23.046441 | 2019-10-29T13:47:03 | 2019-10-29T13:47:03 | 98,930,833 | 0 | 0 | null | 2018-02-13T11:00:48 | 2017-07-31T21:19:08 | C++ | UTF-8 | C++ | false | false | 179 | ino | #define BOARD_LED 5
void setup() {
pinMode(BOARD_LED, OUTPUT);
}
void loop() {
digitalWrite(BOARD_LED, HIGH);
delay(1000);
digitalWrite(BOARD_LED, LOW);
delay(500);
}
| [
"tapin13@gmail.com"
] | tapin13@gmail.com |
a5d7788a89f9adbe3bd63ec3aaed81a2c3c9fa4c | 99e494d9ca83ebafdbe6fbebc554ab229edcbacc | /.history/Day 2/Practice/Answers/StringConcatenation_20210305191732.cpp | 6d84097097b1e66edc0380ded71c69f796203b26 | [] | no_license | Datta2901/CCC | c0364caa1e4937bc7bce68e4847c8d599aef0f59 | 4debb2c1c70df693d0e5f68b5798bd9c7a7ef3dc | refs/heads/master | 2023-04-19T10:05:12.372578 | 2021-04-23T12:50:08 | 2021-04-23T12:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int p;
string word;
cin >> p >> word;
map<char,int> freq;
for(int i = 0; i < word.size(); i++){
freq[word[i]]++;
}
bool answer = true;
for(auto i : freq){
if(i.second % p != 0){
answer = false;
... | [
"manikanta2901@gmail.com"
] | manikanta2901@gmail.com |
8eb998233d344565895322e7dc5e1ecd80161dec | 6534f08d7b05142ad676c52a46a43907b8ce899d | /api/test/trace/propagation/http_text_format_test.cc | 7e354d8555a8a2c818fe95541b24da49bbc800e7 | [
"Apache-2.0"
] | permissive | aaron-ai/opentelemetry-cpp | 1782014a60995639bcc6099c0ac86c08d9c6a4e3 | a33bb550c68c235f8ac9eca1310e6485c65fe5c5 | refs/heads/main | 2023-07-08T02:28:17.479835 | 2021-03-10T19:15:16 | 2021-03-10T19:15:16 | 346,711,462 | 0 | 0 | Apache-2.0 | 2021-03-11T13:29:59 | 2021-03-11T13:29:59 | null | UTF-8 | C++ | false | false | 5,765 | cc | #include "opentelemetry/context/context.h"
#include "opentelemetry/nostd/shared_ptr.h"
#include "opentelemetry/nostd/span.h"
#include "opentelemetry/nostd/string_view.h"
#include "opentelemetry/trace/default_span.h"
#include "opentelemetry/trace/noop.h"
#include "opentelemetry/trace/span.h"
#include "opentelemetry/trac... | [
"noreply@github.com"
] | noreply@github.com |
3de75a143ae9446e5301fa60781fbb7cc6ad7578 | d5e3b14d2d2d15781ab31bcefd6ef989e1a9827d | /mycode/c++/define_map_new.cpp | 7c674958e4d5bb4e727a9e09186ac9eba39eb6c4 | [] | no_license | 44652499/embedded | bb3b51f5f7daac1696fc77981c200653fe294f99 | e3e2c1d4e8397d576eb710b966581748d3ade411 | refs/heads/master | 2021-05-08T14:06:51.181433 | 2018-02-03T07:35:57 | 2018-02-03T07:35:57 | 120,066,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,059 | cpp | #include <iostream>
using namespace std;
template<class T1,class T2>
class define_map;
template<class T1,class T2>
class define_stack;
template<class T1,class T2>
class tree_node
{
friend class define_map<T1,T2>;
template<class T11,class T22>
friend void mid_print_tree_by_stack(tree_node<T11,T22>* root);
public:
tr... | [
"44652499@qq.com"
] | 44652499@qq.com |
aea54d8fac8e02f5718ed2dc69ab525014de38bb | 15dfbea7a1b4255de28a14fa8dbadcac3d6f9092 | /App/DigiPlot/source/MainWindow.cpp | 58f2b2891c18ad868051c73eb23c2a0ede55a9bb | [] | no_license | amoskahiga/utilities | 55acebca3e698a62f0609087c8213d89b0c8f7a7 | 2454594f59fdddb98d9e130df3ab5dc06cd71759 | refs/heads/master | 2021-01-18T09:57:25.651416 | 2012-03-28T06:54:25 | 2012-03-28T06:54:25 | 2,833,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,293 | cpp | #include <QFileDialog>
#include <QFileInfo>
#include <QMessageBox>
#include "DataPlot.h"
#include "MainWindow.h"
#include "ui_MainWindow.h"
#include "SettingsDialog.h"
#include "Utility.h"
/**
* Constructor
*/
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
m_file(... | [
"amoskahiga@hotmail.com"
] | amoskahiga@hotmail.com |
45a29f0d5143c4d6cdc1294f6194b6137830ffb7 | 1e9bf9c96dfa7bfac61875cc4a1af5ab81f5ac07 | /SAGT_Arduino/SerialCommand.cpp | 9bb9397de1aa2c7b644bd7fe01fbe47bbb181d13 | [] | no_license | minhhieubkdn/SAGT | 7f1fec6cd0f372151628fb1ffaecd630b626579e | ab1b217b93356fe93397187cbf1cdd1581c6b5e7 | refs/heads/master | 2021-08-29T12:47:36.673003 | 2021-08-26T14:46:48 | 2021-08-26T14:46:48 | 160,530,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,880 | cpp | #include "SerialCommand.h"
SerialCommand::SerialCommand()
{
_Serial = &Serial;
_Serial->begin(9600);
//inputString.reserve(100);
boolean stringComplete = false;
String inputString = "";
cmdCounter = 0;
//cmdContainer = new Command[10];
cmdContainer = NULL;
}
SerialCommand::SerialCommand(HardwareSerial* seri... | [
"hieucas@gmail.com"
] | hieucas@gmail.com |
61c1977b7fecc18db74a60d34b062cd67e09031c | dc135861f62e1b835b27206ad9c3af69742b04de | /PAT-A/PAT_A1089_B1035.cpp | dc69d2b4508a4f39ba9a51256e908aace75b35f9 | [] | no_license | Philo-Li/PAT-Solutions | b025cc7671c71f4a1107140748d47b73b1d0ccc9 | a7d00677a969c57e8fe77fd9e1193e9cf3f25ba3 | refs/heads/master | 2023-04-11T12:18:25.991971 | 2021-04-26T05:53:59 | 2021-04-26T05:53:59 | 93,131,936 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <cstring>
#include <cstdio>
#include <iostream>
#include <string>
#include <cctype>
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
//A1089_B1035 插入与归并
const int maxn = 100010;
int n, num[maxn], sort1[maxn], sort2[maxn], check[maxn];
bool issame(i... | [
"maerd.lll.p@gmail.com"
] | maerd.lll.p@gmail.com |
15522989d879ed51dad6fcfe11593e3dcbfbd477 | 23e4f0044b5dda16268298b8762ab83c98775c59 | /hpx/components_fwd.hpp | 9d92429eca4ba2d3b44a86673f11bd4d0551b916 | [
"LicenseRef-scancode-free-unknown",
"BSL-1.0"
] | permissive | tapaswenipathak/hpx | c5b2838948c700b8e6f38227946d57fa5edb672f | 4ab69844795a2674dff977509fe09588761b8e6e | refs/heads/master | 2022-02-24T20:17:28.221574 | 2019-07-18T09:32:32 | 2019-07-18T09:32:32 | 184,462,430 | 1 | 0 | BSL-1.0 | 2019-05-01T18:31:04 | 2019-05-01T18:31:04 | null | UTF-8 | C++ | false | false | 458 | hpp | // Copyright (c) 2017 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef HPX_COMPONENTS_FWD_HPP
#define HPX_COMPONENTS_FWD_HPP
#include <hpx/config.hpp>
namespace hpx
{
/// \namespac... | [
"hartmut.kaiser@gmail.com"
] | hartmut.kaiser@gmail.com |
34f9529c69c3c129da7115972acd94c43df8d742 | 56a6cbd7c0df788d5d8be8dd9d85b98f0a152bcc | /4th_semester/Cpp-SFML-My-Doodle-Jump/Cpp-SFML-My-Doodle-Jump/Projekt_PK4/Interface.cpp | d3275961d7514e44fab4503ad4bfd68df2900ad6 | [] | no_license | tomaszsojka/university-projects-in-C-Cpp | 936bb6936a999d1386bcb2907d99249c3c145cbd | 334cae73e42c07aa56030286c7f3b699b03788c1 | refs/heads/master | 2023-01-29T09:20:36.150606 | 2023-01-09T22:52:47 | 2023-01-09T22:52:47 | 284,423,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,907 | cpp | #include "Interface.h"
#include <typeinfo>
#include "Platform.h"
#include "OneJumpPlatform.h"
#include "MovingPlatform.h"
const sf::RenderWindow & Interface::get_app()
{
return app;
}
void Interface::set_position_sPlatform(float x, float y)
{
sPlatform.setPosition(x, y);
}
void Interface::set_position_sOneJumpPlat... | [
"tomek.s@windowslive.com"
] | tomek.s@windowslive.com |
6b9ab8ea56ba31e37cf1e678a7182ab542f574d7 | 673058dceba4e81adeaf1ebfd979df0cc5902a2c | /bin/Debug/Grent/CPP/WorldServer/WorldServerModule.h | 869b4f7476bb63c57f025be05909c4889d179cfd | [] | no_license | qipa/RpcCoder_SY | c0dbe6e87ad2053d85df1d6d74c9f7058c042e15 | 2a8a196fec927afbb27d35ee1b9bddd9a6591634 | refs/heads/master | 2021-05-14T05:58:12.335735 | 2017-12-11T03:58:28 | 2017-12-11T03:58:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | h | /********************************************************************************************
* Copyright (C), 2011-2025, Ambition. Co., Ltd.
* FileName: ModuleWorldServer.h
* Author: 郭晓波
* Description: 世界服务器模块类,包含以下内容
* ★模块基本信息函数
* ★初始化结束回调函数
* ★时间相当回调函数
* ... | [
"ambitiongxb@foxmail.com"
] | ambitiongxb@foxmail.com |
4836b7470579b64eeef9f3beba2a273b72e4ffeb | 524d4518f5bccc3aea5ce1051dea697edb8dea25 | /hw6/main.cpp | 0049d47c1a8823f9417d70134454a0f30b397ebb | [] | no_license | sapkotab/DataStructure | bd4d54a9dbca1b36bc13f03fb18a55852ea4b653 | 29da8b3ebc5912898e08c1138f66ce596b49459b | refs/heads/master | 2020-04-05T22:20:46.822979 | 2018-11-12T18:22:22 | 2018-11-12T18:22:22 | 157,253,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
#include "grocery.h"
using namespace std;
using namespace grocery;
int main() {
//seeding the srand with time.
srand(time(NULL));
double prob; // chace of customer coming in each second
int totalTime; // totol time of simulation
// some ... | [
"noreply@github.com"
] | noreply@github.com |
a834d6a0c635225abcf2980d4cc766065ae8a3df | bb9b83b2526d3ff8a932a1992885a3fac7ee064d | /src/modules/osgDB/generated_code/FieldReaderIterator.pypp.hpp | 4287e7891cd742d84ea4c3abf6c59427b3baa002 | [] | no_license | JaneliaSciComp/osgpyplusplus | 4ceb65237772fe6686ddc0805b8c77d7b4b61b40 | a5ae3f69c7e9101a32d8cc95fe680dab292f75ac | refs/heads/master | 2021-01-10T19:12:31.756663 | 2015-09-09T19:10:16 | 2015-09-09T19:10:16 | 23,578,052 | 20 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 243 | hpp | // This file has been generated by Py++.
#ifndef FieldReaderIterator_hpp__pyplusplus_wrapper
#define FieldReaderIterator_hpp__pyplusplus_wrapper
void register_FieldReaderIterator_class();
#endif//FieldReaderIterator_hpp__pyplusplus_wrapper
| [
"brunsc@janelia.hhmi.org"
] | brunsc@janelia.hhmi.org |
ab9094c0afc81f8c9a340f73c76c95eb3f30cdd1 | 314c8b50befaa23f0a95320f97ca2961a1904614 | /jmuduo/Pratice_muduo/muduo/net/TcpServer.h | fed02b501d946c17f83e8c53e5a30f1f8123e62a | [] | no_license | hchc32/linux-hc | c9f86d338419ea047ae2efae7b31104dfcac9261 | 35108133a3ea1f5fa7a8ca4a1e850566503e4237 | refs/heads/master | 2023-03-01T17:10:14.092615 | 2021-08-06T23:19:14 | 2021-08-06T23:19:14 | 226,843,078 | 0 | 0 | null | 2023-02-25T08:18:10 | 2019-12-09T10:18:16 | Go | UTF-8 | C++ | false | false | 4,156 | h | // Copyright 2010, Shuo Chen. All rights reserved.
// http://code.google.com/p/muduo/
//
// Use of this source code is governed by a BSD-style license
// that can be found in the License file.
// Author: Shuo Chen (chenshuo at chenshuo dot com)
//
// This is a public header file, it must only include public header fi... | [
"1844382037@qq.com"
] | 1844382037@qq.com |
353b076f64f48d7cac8445ad4978978f624cb8c9 | 5e31e553f91166e0e1fbd4bba233401513e40bdb | /진태/치킨 배달.cpp | 5caa1d8aac1ff2f7aa28486ee7b50cd4271558df | [] | no_license | StarJins/SWCodingTest | 63792157baadfb0a36e80d6466a526dc4f4db2fe | c67b81b204f0ee934d78d5dc490353e255ad8fb7 | refs/heads/master | 2020-04-29T02:40:16.973426 | 2019-10-08T16:27:17 | 2019-10-08T16:27:17 | 175,779,609 | 0 | 2 | null | null | null | null | UHC | C++ | false | false | 1,807 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <cmath>
using namespace std;
int map[51][51];
int n, m;
int ans = 987654321;
int visited[13];
typedef struct {
int y, x, minCost;
} h;
typedef struct {
int y, x;
} ck;
vector<h> house;
vector<ck> ckLocate;
int numOfh;
int ... | [
"noreply@github.com"
] | noreply@github.com |
18a0131674d802e9c71ca10eb2329d8204de893f | 7667c4a1c24dc2ba144cb6a5c08a748302843779 | /example/timer/main.cpp | 2d805cad43adb9286e044795bc25e089f89c3a88 | [
"BSD-3-Clause"
] | permissive | wangscript007/net | 64ab688f6101327fa3dc7703c85989b19002456b | 62f61b8a9cbafa99b6cc22bb5c4b3b61172316d3 | refs/heads/master | 2021-09-15T04:37:27.430713 | 2018-05-26T05:43:09 | 2018-05-26T05:43:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 957 | cpp | #include <iostream>
#include <Log.h>
#include<chrono>
using namespace std;
#include"EventLoop.h"
using namespace net;
int main() {
Log::set_rank(Log::INFO);
EventLoop loop;
auto timer=loop.run_every(3s,[](){
time_t t=time(nullptr);
cout<<ctime(&t);
std::cout << "Hello, World!" << s... | [
"454424444@qq.com"
] | 454424444@qq.com |
82001d1090299194354197681863052654d8a818 | 670284e5eff2dbc125d54244ca180cdf934fe5cb | /src/MainWindow.cpp | 45027e93108f0c2dc0fb7b7c2a599adff401ac84 | [
"MIT"
] | permissive | qswypary/CourseManagementTool | e4272a46a60b3a08a28efaede252c68cfd40d5de | f8aa1225689dd1e331616c09b80aad2042644393 | refs/heads/master | 2021-01-06T09:12:47.835956 | 2020-02-21T12:42:31 | 2020-02-21T12:42:31 | 241,274,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,765 | cpp | #include <sstream>
#include <stdexcept>
#include <QFileDialog>
#include <QMessageBox>
#include <QInputDialog>
#include "MainWindow.h"
#include "ui_MainWindow.h"
#include "DialogDate.h"
const QVector<QString> MainWindow::WEEKDAYS = {tr("周一"), tr("周二"), tr("周三"), tr("周四"),
... | [
"qswyxyc@qq.com"
] | qswyxyc@qq.com |
4e7915438c14f49e045aa3ffcb888ca10483b107 | c31b5a50b294bac12c12d4a9ed5a27e62e180285 | /libsrc/syslog/MSyslogClient.cpp | 182cb0ba51254789cb5b32eecea418cefbfbe16a | [] | no_license | IHE-WUSTL/mesa | 6192bf0ab76c770945e432f1078404e883a09c7f | 6cfa6dcba8b39214975ebaed3be89b53a683e20b | refs/heads/master | 2020-03-08T06:27:53.528645 | 2018-04-03T19:54:46 | 2018-04-03T19:54:46 | 127,972,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,659 | cpp | //
// Copyright (C) 1999, 2000, HIMSS, RSNA and Washington University
//
// The MESA test tools software and supporting documentation were
// developed for the Integrating the Healthcare Enterprise (IHE)
// initiative Year 1 (1999-2000), under the sponsorship of the
// Healthcare Info... | [
""
] | |
76df469630b093ebb367859756a224bfad7ed707 | 1efccef3353a58751d15e79fcbc05c94a1edbbb1 | /ai/combiner/AI.h | eee51d14ed20cb642cb3b7895dc306fecaa2ffc1 | [] | no_license | siggame/MegaMinerAI-6 | 22c67bbcbafe00c45a12f2909de66538792e0a87 | 28ce96071aecd2dc7e7f82f0fea34e727d64e097 | refs/heads/master | 2020-06-04T18:02:46.328674 | 2011-04-13T22:23:02 | 2011-04-13T22:23:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | #ifndef AI_H
#define AI_H
#include "BaseAI.h"
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <queue>
#include <fstream>
#include <list>
#include <map>
#include <limits.h>
using namespace std;
struct Order;
struct Stub;
///The class implementing gameplay logic.
class AI: public BaseAI
{
public:
AI(C... | [
"brian.goldman@mst.edu"
] | brian.goldman@mst.edu |
5fe252b5f2ad28f32785602d50f59fd7025b6fa3 | 930561e4b8eb25f8c9690365409e95b292aa0115 | /httpserver/httpserver.cpp | 4d8d15837d9690b06a158d1922c70258447d7322 | [] | no_license | JeroenBrinkman/IlwisConnectors | 63793e25414718dae6623c72637775b941bbfea3 | 2b0d32089b19344ebfd71095aec465f60c91b8fa | refs/heads/master | 2021-01-16T01:25:56.887878 | 2013-09-30T14:03:04 | 2013-09-30T14:03:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | #include "kernel.h"
#include "ilwisdata.h"
#include "resource.h"
#include "identity.h"
#include "OperationExpression.h"
#include "operationmetadata.h"
#include "operation.h"
#include "commandhandler.h"
#include "httpserver.h"
using namespace Ilwis;
using namespace HTTP;
OperationImplementation *HTTPServer::create(qui... | [
"mschouwen@gmail.com"
] | mschouwen@gmail.com |
99440a069910179ca1e0e7f58706ead8de1fd5de | ff5c04cf2b831714d7199fef687f0cf34b566e74 | /Homework/Assignment4/Assignment4_Menu/main.cpp | fb34a83ff14e8d8bce4677775df3d15f0d24250b | [] | no_license | nl2671488/LopezNicholas_CSC5_CIS5_Spring17 | 9ec79ad71a2a2b4dd23948091e8aacb56d98fda3 | e7cb97bcf962ccc29f35c0beaea11ae89dd1915f | refs/heads/master | 2021-06-17T13:20:39.223589 | 2017-06-04T06:13:39 | 2017-06-04T06:13:39 | 84,239,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,140 | cpp | /*
* File: main.cpp
* Author: Nicholas Lopez
* Created on April 3, 2017, 12:07 PM
* Purpose: Assignment 4 Menu
*/
//System Libraries Here
#include <iostream>
#include <cstdlib>
#include <ctime> //set random number seed
#include <iomanip>
using namespace std;
//Program Execution Begins Here
int main(int argc... | [
"noreply@github.com"
] | noreply@github.com |
17ec1f2a64242cb0861613b44a7a0a10e0d05174 | e6ea2461f7288808bd387c06f9fd7d793f031b6e | /7.2/Source.cpp | cfefb9e52d8f97dcb18bf65db542731a56765fcc | [] | no_license | 64011150/7.2 | 16267a1fb996f5cd4892efaa3c52373516ea960d | 3b0e9d36f70138aacb640af40c717c5a3a17fea5 | refs/heads/master | 2023-08-11T13:59:54.250006 | 2021-09-19T08:22:02 | 2021-09-19T08:22:02 | 408,071,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include<stdio.h>
int main() {
int x, a;
scanf_s("%d", &x);
for (a = 1; x >= a;a=a+1) {
if (x == 2 * a) {
printf_s("even number");
break;
}
}
for (a = 1; x >= a; a = a + 1) {
if (x == 2 * a + 1) {
printf_s("odd number");
break;
}
}
return 0;
} | [
"Acer@DESKTOP-ANUJO1P"
] | Acer@DESKTOP-ANUJO1P |
19f6dbad186fd4866c26a27f01ca3688fee779da | dbf8288fdcf3bf8a7381cd4c3b898c2330fea858 | /lecture_5/constexpr/bench.cpp | aa15972753a69e95843bc2385dc745f7143f2cdd | [] | no_license | AufarZakiev/CPP-codes-2021-2022 | bf0f5361a2852b8239d641fe09da80efaae61971 | b2cdebd0a636cffde165c7dae601977ab2d9c46e | refs/heads/main | 2023-07-27T17:23:01.008577 | 2021-09-12T18:27:29 | 2021-09-12T18:27:29 | 400,820,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | #include "fibs.cpp"
#include <chrono>
#include <iomanip>
#include <iostream>
int main() {
{
auto start = std::chrono::high_resolution_clock::now();
auto result1 = fib(33);
std::cout << result1 << std::endl;
std::chrono::duration<double> diff =
std::chrono::high_resolution_clock::now() - sta... | [
"zaufar@gmail.com"
] | zaufar@gmail.com |
183d1c34dde655d3dcd2d932a85c55bc8739b1f4 | b7e5eba1f68c188e3291eae63e32814f4ec91cf5 | /src/ImageProcessing/OpticalFlowSegmentation.cpp | 194e91c0ccd7a9c9eff3d4374339835719e61194 | [] | no_license | GroupDenseKitchen/KitchenOccupation | 6a0c8c65d9a7d09dd30b48561729f73bbaab3b85 | 6189c0ef75f73a7364b6d7567be8561eda07337a | refs/heads/master | 2020-04-09T03:31:28.830745 | 2013-12-20T12:10:09 | 2013-12-20T12:10:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,555 | cpp | #include "OpticalFlowSegmentation.hpp"
namespace image_processing{
OpticalFlowSegmentation::OpticalFlowSegmentation()
{
}
OpticalFlowSegmentation::~OpticalFlowSegmentation()
{
}
void OpticalFlowSegmentation::process(FrameList &frames)
{
if(frames.hasPrevious()){
Frame current = frames.getCurrent();
... | [
"hager.gustav@gmail.com"
] | hager.gustav@gmail.com |
39247874a1e5baf1b6930d7dc85c5344f65b6221 | e9687ce470329658d9fd6d55f222c1e5cbbe2c74 | /8.1.cpp | 77e5cfce7a251e6d148dd34e76042efb82c044d6 | [] | no_license | NathanOliver1/AOC2015 | 60ecca18068e5e72d3f7cd76355fb5e437b85539 | ef825b615dcadaa55ffa8eca29220ce18985eeda | refs/heads/master | 2020-06-13T07:30:01.757918 | 2016-12-02T16:37:12 | 2016-12-02T16:37:12 | 75,412,839 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <algorithm>
#include <sstream>
#include <map>
#include <cstdint>
std::size_t parseStringSize(const std::string &);
int main()
{
std::ifstream fin("test.txt");
std::string line;
long long file_size = 0, string_size =... | [
"noreply@github.com"
] | noreply@github.com |
1adf139815344e8571e3321d4a56a8ed7594dbc1 | 24a06f18a0a3ef0d8cf08309ca06a22b3d1c58eb | /02_Containment/ClientOfContainmentInnerComponentWithRegFile/ClientOfContainmentInnerComponentWithRegFile.h | cfde5cd2e6496184887af3f283ef4503dd638c92 | [] | no_license | Pratik-Jagadale/COM-Assignment | 58e92d5839f3a69dbf07721202e7be2a2d5c1852 | 9b8b0a0c0127bcacfcdf312a6db4b7e8699ebc8c | refs/heads/main | 2023-01-18T19:08:41.609669 | 2020-12-01T18:41:27 | 2020-12-01T18:41:27 | 316,230,683 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,619 | h | #include<Windows.h>
class ISum:public IUnknown
{
public:
//Isum Specific Method Declarations
virtual HRESULT __stdcall SumOfTwoIntegers(int, int, int*)=0;//Pure Virtual
};
class ISubtract:public IUnknown
{
public:
//Isubtract Specific Method Declarations
virtual HRESULT __stdcall SubtrctionOfTwoIntegers... | [
"noreply@github.com"
] | noreply@github.com |
a6867d2cddb77153cf52fd4da8bde6cae017c287 | eb9b85c5ebeb4f464b3ef3f31f2afa1f0f0118ec | /src/Program/Program.h | 91b527b1629f9b9bdff31345beff05c7c28bc6c0 | [] | no_license | jaankaup/my_opencl_project | d21279ff437f63c97ae5204fd011563e6c85a4ee | bd41cb1403f315d0ce412d8818649aa0308c0e62 | refs/heads/main | 2023-04-06T17:29:57.712474 | 2019-09-30T14:31:28 | 2019-09-30T14:31:28 | 362,106,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | h | #ifndef PROGRAM_H
#define PROGRAM_H
#include <vector>
#include <memory>
#include <string>
#include <glm/glm.hpp>
#include <SDL2/SDL.h>
#include <CL/cl.hpp>
#include "includes.h"
namespace Program {
//struct Tool {
// float v0_amount = 0.0f;
// float v1_amount = 0.0f;
// float v2_amount = 0.0f;
// float v3_amo... | [
"janne.a.kauppinen@student.jyu.fi"
] | janne.a.kauppinen@student.jyu.fi |
e25648172519d34d64faf491186794d8a1d6f44b | fcbd714c3812d3dde82f5d4fa5454619e1506c2e | /log4cplus-c++11/include/internal/env.h | 97b40c8f392a314143b739ead5b689bcde107203 | [] | no_license | jjfsq1985/cplusplus | 1df8d54bc9517a15d05cf03cd5af8df3d0608c10 | 2b574c3f127ec9761388a1eeb02a2721fc1a3bd4 | refs/heads/master | 2020-04-12T06:17:23.795742 | 2017-10-18T08:46:34 | 2017-10-18T08:46:34 | 25,578,748 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,663 | h | // -*- C++ -*-
// Module: Log4CPLUS
// File: env.h
// Created: 7/2010
// Author: Vaclav Haisman
//
//
// Copyright (C) 2010-2015, Vaclav Haisman. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modifica-
// tion, are permitted provided that the following conditions ... | [
"jjfsq1985@gmail.com"
] | jjfsq1985@gmail.com |
c46427fb02d0c414ff2524d3711826b03cf6f153 | 9dcca86d62dc69d32f52213f667c8c3d0f59cddb | /DX11Starter/MemoryAllocator.cpp | 08aba9ac1e0b651d01a16c8b90ef9522d8a2aab3 | [] | no_license | jarrettbriody/EtherealEngine | 02ebf5325a145d3145098b7d1f8f9719dd45f3f8 | 0ea3f7ebf777dd5fd47102f5831a485ccc4b70e2 | refs/heads/master | 2023-09-02T00:16:20.375223 | 2021-05-21T02:32:20 | 2021-05-21T02:32:20 | 173,377,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,205 | cpp | #include "pch.h"
#include "MemoryAllocator.h"
MemoryAllocator* MemoryAllocator::instance = nullptr;
MemoryAllocator::MemoryAllocator(unsigned int size, unsigned int alignment, unsigned int maxPools)
{
originalBufferPtr = memoryBuffer = malloc(((size_t)size + alignment) - 1);
const uintptr_t address = reinterpret_ca... | [
"jarrettbriody@gmail.com"
] | jarrettbriody@gmail.com |
67cd8df765e9b435b90f0b968a2e9eedeb0ed15b | 446d9f1bd98e30b73559d028733b91fa9d1fcac8 | /Cell.cpp | ec567440eaecb6f1ff19ccf5e9b0d5bd3578a4ea | [] | no_license | 0xc010d/sqlite3_module-plist | 456c87ef5ce43f6bc08d9567cf3f4cd41a51ddc3 | 2f81874f36fe95654c59dce4abcf892252a2d35f | refs/heads/master | 2023-07-18T23:39:29.180266 | 2016-01-12T15:17:13 | 2021-09-20T12:58:47 | 408,478,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,336 | cpp | #include "Cell.hpp"
using std::nullptr_t;
using std::make_shared;
template<Cell::Type _type, typename T>
class TemplateCell : public ValueCell
{
protected:
TemplateCell(const T &value) : m_value(value) { }
Cell::Type type() const override { return _type; }
const T m_value;
};
class RowCell : public TemplateCel... | [
"0xc010d@gmail.com"
] | 0xc010d@gmail.com |
3165bb999887f21c7bb3bc20d186444ce2f3a74c | 34b5a98fbc7f07e437d4d951c79dd160a4e02f4e | /visa/iga/GEDLibrary/GED_external/Source/common/ged_ins_restrictions.cpp | ba362f852d603faa652139130b6667e4034f4377 | [
"MIT"
] | permissive | isabella232/intel-graphics-compiler | 3e127e486663bf9278772ccbeb7ec99e00164163 | 1e6e958a2988022e5c67313cbafac855bff2cab0 | refs/heads/master | 2023-03-12T03:19:20.209264 | 2020-11-26T10:51:40 | 2020-11-26T14:29:18 | 316,306,846 | 0 | 0 | MIT | 2021-02-24T08:39:10 | 2020-11-26T18:16:24 | null | UTF-8 | C++ | false | false | 1,639 | cpp | #include <cstring>
#include "common/ged_ins_restrictions.h"
using std::memcmp;
using std::memset;
const char* gedRestrictionTypeStrings[GED_FIELD_RESTRICTIONS_TYPE_SIZE] =
{
"GED_FIELD_RESTRICTIONS_TYPE_NONE",
"GED_FIELD_RESTRICTIONS_TYPE_VALUE",
"GED_FIELD_RESTRICTIONS_TYPE_RANGE",
"GED_FIELD_RESTRI... | [
"anupama.chandrasekhar@intel.com"
] | anupama.chandrasekhar@intel.com |
6781ab36035705ae370a6dfe11cc43a6ca5b2657 | 820ca3ddd3251da9e9094c29d90b9175b558f19b | /哈夫曼编码树/哈夫曼编码树.cpp | 716df717487e77574b0732871bffd8037d4c9d15 | [] | no_license | Endlesshang/c-huffmanTree | 870ca4e76f58450dc1e626c2374bfa4a70f46b59 | 3fdb6dd2642b33b2c8a225ec9c2b311cf91be905 | refs/heads/master | 2020-03-25T04:25:54.670477 | 2018-08-03T07:38:45 | 2018-08-03T07:38:45 | 143,394,688 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,480 | cpp | #include <iostream>
#include <assert.h>
#include <cstring>
#include <stack>
using namespace std;
/*编码结构体*/
struct cod
{
char ccod;
int rate;
char convertCod[15]; //单个编码所代表的哈夫曼编码
int convertCodcount;
};
class textDecod
{
private:
int length;
char *text;
public:
cod *c;
textDecod(int n, char ... | [
"noreply@github.com"
] | noreply@github.com |
4168f1fe025c2b83ea58f25cd5d76b77cdadc5e8 | 5465db204e2169cae700f6873d49109fbf32b100 | /Formula.h | 041c41e9c95aed6b26cf5fb34c0a068077cfa62e | [] | no_license | reeWorlds/ResolutionMethod | 8bb4157261427ac548e503c8b55295879be50784 | d6dfafbe281b76bde548790dced5c99786ed27c6 | refs/heads/master | 2020-11-24T15:49:28.041120 | 2019-12-15T17:52:31 | 2019-12-15T17:52:31 | 228,226,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | h | #pragma once
enum FORMULA
{
variable,
negation,
conjunction,
disjunction
};
class Formula
{
public:
FORMULA type;
}; | [
"noreply@github.com"
] | noreply@github.com |
4ac586e275c6b77cebf89ab6babb5075ea4e8332 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/openh264/src/codec/decoder/core/inc/error_code.h | 4fbd9258c3a75155af32cbdd1873709603f392f7 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 6,983 | h | /*!
* \copy
* Copyright (c) 2009-2013, Cisco Systems
* 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 abo... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
44c5824e285844bdde632f6780ce8d28651e8faa | 99cfd2020e2984f2d463978b5a134a2f1081d094 | /shashank/multilevel_inheritance.cpp | b2df0e5684c63587c3fe5c057b2bab82cf50087e | [
"MIT"
] | permissive | sekharkaredla/Cpp_Programs | 5e33ff5ee7a15fa6582d7d9319a78b3c19071b2a | e026d3322da5913e327033cb5d4787665998aef3 | refs/heads/master | 2021-05-09T07:07:51.674806 | 2018-01-29T08:12:23 | 2018-01-29T08:12:23 | 119,348,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | cpp | #include<iostream>
using namespace std;
class student
{
protected:
int rno;
public:
void getr(int n)
{
rno=n;
}
void showr();
};
void student::showr()
{
cout<<endl<<"ROLL NO : "<<rno;
}
class test:public student
{
protected:
float m1,m2;
public:
void getm(float a,float b)
{
m1=a;m2=b;
}
... | [
"sekhar.karedla@gmail.com"
] | sekhar.karedla@gmail.com |
5f166aac7604d15ee33142aa6e810b6d5a1be96d | 4d7dfa902ba8e63e0fe2aa5f4b1b3613f5ec8087 | /EOOPR .cpp | 9378d28e035b63555d5e4ae22af2cac922daf742 | [] | no_license | palankit942/Codechef-Solutions | bea5771fc8e7223909bf708b9bc71a638771105c | c223db657c3b9160f55adc2440b3a67d0dcf3d76 | refs/heads/master | 2023-02-03T06:33:26.272523 | 2020-12-22T10:37:56 | 2020-12-22T10:37:56 | 317,764,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
long int x,y;
while(t--)
{
cin>>x>>y;
if(y>x)
{
if((y-x)%2==1)
cout<<"1"<<endl;
else
{
if((y-x)%4!=0)
cout<<"2"<<endl;
else
cout<... | [
"noreply@github.com"
] | noreply@github.com |
64d420c4171aba749ecb0d7cea6d268e851f52d1 | 0ab72b7740337ec0bcfec102aa7c740ce3e60ca3 | /include/simplified/system/interaction/parameter/dihedral/dual-periodic/_build.h | 796a9dbcafe4274c08a10d1946b10f2816d21705 | [] | no_license | junwang-nju/mysimulator | 1d1af4ad7ddbe114433ebdadd92de8bb3a45c04f | 9c99970173ce87c249d2a2ca6e6df3a29dfc9b86 | refs/heads/master | 2021-01-10T21:43:01.198526 | 2012-12-15T23:22:56 | 2012-12-15T23:22:56 | 3,367,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h |
#ifndef _System_Interaction_Parameter_Dihedral_DualPeriodic_Build_H_
#define _System_Interaction_Parameter_Dihedral_DualPeriodic_Build_H_
#include "system/interaction/parameter/dihedral/dual-periodic/name.h"
#include "array/interface.h"
namespace mysimulator {
class InteractionParameter;
void _build_dihedral_d... | [
"junwang.nju@gmail.com"
] | junwang.nju@gmail.com |
d5b7d129dd33cce9e6dd32a2891278ac0d312531 | 1b9e7f3a3e2606e8e04f989b5cb4dd5a3de725af | /cpp/Ntreev.Crema.CodeTest/src/reader/src/binary_data.cpp | 9a6f27bdd880fd43173285f72e4a95184fb90dd7 | [
"MIT"
] | permissive | NtreevSoft/Crema | 703666b7d6de84602935b0c862bd11c926aa47b0 | f1074fc570e03d3c4ad39e798b27741b53f17713 | refs/heads/master | 2022-12-11T14:34:10.387586 | 2020-10-06T00:28:43 | 2020-10-06T00:28:43 | 127,836,101 | 74 | 15 | MIT | 2022-12-07T19:52:57 | 2018-04-03T01:57:03 | C# | UTF-8 | C++ | false | false | 20,867 | cpp | #include "binary_data.h"
#include "binary_reader.h"
#include "../include/crema/iniexception.h"
#include "internal_utils.h"
#include "../include/crema/iniutils.h"
#include <stdarg.h>
#include <locale>
namespace CremaCode { namespace reader { namespace internal { namespace binary
{
binary_column::binary_column(cons... | [
"s2quake@ntreev.com"
] | s2quake@ntreev.com |
b16a6c57aa6c764559a4ca1cad5045fa559fb917 | 2e3b8e766956b5d0cf15be181979a2e869da37cd | /tests/unittest/Core/distance.cpp | a111bc20752546abb1af75486c8c40a630e6f31c | [
"Apache-2.0"
] | permissive | benardp/Radium-Engine | 71a921f481cc1f737dec2fe5b955813a448c0ba5 | 3bc6fcafb31d6f1a32be839913ada226c8ba9a3c | refs/heads/master | 2021-09-11T17:24:10.631591 | 2021-09-01T12:34:50 | 2021-09-01T12:34:50 | 214,979,558 | 0 | 1 | Apache-2.0 | 2020-10-02T07:49:57 | 2019-10-14T07:43:11 | C++ | UTF-8 | C++ | false | false | 6,451 | cpp | #include <Core/Geometry/DistanceQueries.hpp>
#include <Core/Math/LinearAlgebra.hpp> // Math::getOrthogonalVectors
#include <Core/Math/Math.hpp> // Math::areApproxEqual
#include <catch2/catch.hpp>
TEST_CASE( "Core/Geometry/DistanceQueries", "[Core][Core/Geometry][DistanceQueries]" ) {
using namespace Ra:... | [
"nmellado0@gmail.com"
] | nmellado0@gmail.com |
5345fa0eccc22b80d37c343bd9d5da781b897d3e | 98b1e51f55fe389379b0db00365402359309186a | /homework_7/problem_1/case_3/system/fvSchemes | 2bdb1aa7245b18e55755cdc021a166c98fa00b79 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
... | [
"tbindas@pop-os.localdomain"
] | tbindas@pop-os.localdomain | |
7ebb52fe8f7c962e8229958cdab01b37c2c9e781 | f15c30d5002206d003297629ee1f4d46c3374b23 | /Source/Samples/_GunDemo/GunLogic.h | de086a3100f07baa37ee7dd0981884289d7056f7 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | haohuixin/U3DGame | ae3a7eb3845e7bc26eb82a4cc38f2deb49df6271 | c78543b4dd1fa5929cea8e88d55cc2ad51bd7f0e | refs/heads/master | 2020-04-13T13:06:10.358419 | 2018-11-17T20:50:04 | 2018-11-17T20:50:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,688 | h | #pragma once
#include <Urho3D/Input/Controls.h>
#include <Urho3D/Scene/LogicComponent.h>
#include "Magazine.h"
using namespace Urho3D;
const unsigned CTRL_FORWARD = 1;
const unsigned CTRL_BACK = 2;
const unsigned CTRL_LEFT = 4;
const unsigned CTRL_RIGHT = 8;
const unsigned CTRL_JUMP = 16;
class GunL... | [
"alexjames0011@gmail.com"
] | alexjames0011@gmail.com |
552875a6b081b4f1e8eb0ca3b935154380393625 | 3cffad6ae7f992230ce5042cb9ec8969d47ec3a1 | /Important Concepts/quickSort.cpp | 86e0461459cc8b6feca8ea32f58764e6dbce0fce | [] | no_license | l3vi-7/Programming | e18472b2b993fee16d5095990c9767b5eeee853e | 44f98479a32d1192f02ce9775240e6f0b8588c2c | refs/heads/master | 2022-12-19T14:25:19.177314 | 2020-09-26T06:38:17 | 2020-09-26T06:38:17 | 298,753,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long int
#define REP(i, a, b) for(int i = a; i < b; i++)
void swap(int *a, int *b) {
int temp = *a;
*a = *b;
*b = temp;
}
int partition (vector <int> &v, int l, int... | [
"shettyshravan24@gmail.com"
] | shettyshravan24@gmail.com |
6479e0d6f935832df83cad0511c71103c12daad0 | a0fba5c81df7d408362807c55c0eec609819cb69 | /share/visual_editor/src/ve_scene.cpp | c8e4c2318220415194ed6250ca5cbba727283637 | [] | no_license | cuixiongyi/hiveground-ros-pkg | 23edf94b9f0cb85184fce8a3116226f9733756d1 | 134377e42af9fcc852a3709257a9499edd941242 | refs/heads/master | 2021-01-10T12:41:00.140152 | 2013-07-10T08:11:36 | 2013-07-10T08:11:36 | 53,974,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,321 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Imai Laboratory, Keio University.
* 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... | [
"Mahisorn@localhost"
] | Mahisorn@localhost |
fffb6200492e637da03cd54321b76bf27dab091a | b9ee68d627e37a028331a4aa321c732e6981eb69 | /AbstractVM/src/Exception/ExitException.hh | 0c5ed32e40b93eafb0076e27e0106d1526e680d9 | [] | no_license | cpaille/Assembleur | 8b09a6b5192cc731ded19da2dc2242cfa1190f89 | 730832608962f9b1f8f693030cf76e4d4ecee2d7 | refs/heads/master | 2020-04-15T16:33:36.741562 | 2013-02-15T15:45:57 | 2013-02-15T15:45:57 | 7,080,482 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | hh | /**
*
*
*
*/
#ifndef __EXITEXCEPTION_HH__
#define __EXITEXCEPTION_HH__
#include "StopException.hh"
class ExitException : public StopException {
public:
ExitException() throw();
virtual ~ExitException() throw();
};
#endif
| [
"c.paille@orange.fr"
] | c.paille@orange.fr |
79913eac716de40b226947925a97c5f5f3429fe5 | d990692dd7afdbb2a235ad03ac5209b4f3bb0df9 | /ipc/chromium/src/base/time_win.cc | fa2486882c11f137e199daf409cfc00f95b4319f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | walkero-gr/timberwolf | 5c33158a19dfeb3781c72c6732d45747d9a3c19e | 90ca7da29b6089d1b14f5ff1d08e586aa2ec041f | refs/heads/master | 2022-09-15T11:13:14.252767 | 2022-09-04T12:39:59 | 2022-09-04T12:39:59 | 291,531,351 | 0 | 0 | NOASSERTION | 2020-08-30T18:46:51 | 2020-08-30T18:46:51 | null | UTF-8 | C++ | false | false | 13,576 | cc | // Copyright (c) 2006-2008 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.
// Windows Timer Primer
//
// A good article: http://www.ddj.com/windows/184416651
// A good mozilla bug: http://bugzilla.mozilla.org/show_bug... | [
"benjamin@smedbergs.us"
] | benjamin@smedbergs.us |
4e491cb85fe69723df05315f831f4729a2d87e35 | 36cc33cffa0db3ab3900ae92d55a6714401e5447 | /ArduinoLPT/lib/dcc_timer/src/dcc_timer.cpp | d8f517afe5cc3e3e824641f5ef826a580497347b | [] | no_license | elcheapo/ArduinoLPT | 99f8bf7490276a3ff2a9c94cfaad92c57f2534f3 | 6cd6443df013596ce1476705d8a74780daa319df | refs/heads/master | 2020-03-18T01:55:32.107824 | 2018-05-20T16:41:16 | 2018-05-20T16:41:16 | 134,166,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,874 | cpp | /*
* dcc_timer.cpp
*
* Created on: 25 avr. 2012
* Author: florrain
*/
#include "Arduino.h"
#include "organizer.h"
#include "dcc_timer.h"
#undef DEBUG
// Constructors ////////////////////////////////////////////////////////////////
DCC_timer::DCC_timer( void ) {
direct = 1;
direct_rea... | [
"francois.lorrain@gmail.com"
] | francois.lorrain@gmail.com |
71238721c61323073668686c439933e32ff25893 | dfaf6faeaa4037e4f7734ae999f337cd9304b25b | /Ios_lib/Ios_lib/Ios_lib.h | 6099ebd637fd7814380549a358cee4b97851556a | [] | no_license | tlglovewf/XcodeTest | 46cb77c0cac760fd3f15ccf99102633a82ed8783 | 5621dcc1b0991890ec0ec5ca5998b11adcd371a0 | refs/heads/master | 2021-01-22T13:07:45.418601 | 2018-04-23T09:13:24 | 2018-04-23T09:13:24 | 68,768,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | h | //
// Ios_lib.h
// Ios_lib
//
// Created by TuLigen on 16/6/23.
// Copyright (c) 2016年 TuLigen. All rights reserved.
//
class TestIOS
{
public:
const char* getText()const;
};
| [
"tuligen@navinfo.com"
] | tuligen@navinfo.com |
467bbb63dd564d8b428ed2c184ba552557828316 | 9ac887713ffc194682d6f088b690b76b8525b260 | /online_judge/atcoder/zone2021/c2.cpp | fd296432f7e2dcd3c779e66ab485bce681ff758f | [] | no_license | ganmacs/playground | 27b3e0625796f6ee5324a70b06d3d3e5c77e1511 | a007f9fabc337561784b2a6040b5be77361460f8 | refs/heads/master | 2022-05-25T05:52:49.583453 | 2022-05-09T03:39:12 | 2022-05-09T04:06:15 | 36,348,909 | 6 | 0 | null | 2019-06-18T07:23:16 | 2015-05-27T06:50:59 | C++ | UTF-8 | C++ | false | false | 995 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstdio>
#include <array>
#include <cmath>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <numeric>
using namespace std;
vector<array<int, 5>> V;
bool check(long long t) {
set<int> S;
... | [
"ganmacs@gmail.com"
] | ganmacs@gmail.com |
6f71c7fd14d0b1a7855f55a5ccd39ad601575bb8 | 84ce4567164148b52abc4de6b51f748571b47f2d | /negativeatk.cc | 9810863e40ca8ebb30d3be8b8ff5384309f7f89e | [] | no_license | RuijieZ/cc3k | bcd92f458937cb2f58e7a6be08d11d008a9a6470 | c5dccdc0f8d3be48dccd46df34cf877d0411cd94 | refs/heads/master | 2020-04-10T22:42:06.448484 | 2016-02-10T17:03:05 | 2016-02-10T17:03:05 | 51,455,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cc | #include <iostream>
#include <string>
#include "negativeatk.h"
using namespace std;
NegativeAtk::NegativeAtk(Player* next, string race){
type = "WA";
this->next = next;
this->race = race;
if (next != NULL) {this->gold = next->getGold();}
}
int NegativeAtk::getHp() {
return next->getHp()... | [
"Jerrydream@Ruijies-MacBook-Pro.local"
] | Jerrydream@Ruijies-MacBook-Pro.local |
6999b50d2e3c373f166271faaf8c352d5820c422 | ffcfc498bd2ff51273e1db1b40f303509b93991c | /Intermediate/Build/Win64/UE4Editor/Inc/AviationDemo/FloatingTarget.generated.h | 3daa0e00cd4f37685d3c8f0b536acfd4222827dc | [] | no_license | GHMH5/AviationDemo | 90836adad268009e0d2e86ecdaed864bad670e65 | 3f823c428030bbca986f143047dbb7543a7cfb80 | refs/heads/master | 2020-09-07T07:04:30.948810 | 2019-11-09T20:08:21 | 2019-11-09T20:08:21 | 220,696,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"fikaegyptus@openmailbox.org"
] | fikaegyptus@openmailbox.org |
d9bebd6520c6fc093bf91a520f3ac38113b8dc38 | 2e8c4e575f739b152b99081061fc67c290d4ae3b | /main.cpp | 99718e5fe1795fe0a7212bbf299717212d76db2e | [
"MIT"
] | permissive | my-not-so-important-repos/image-filters | 3629b9e8dd5b4f6d99c1977c5b367e929bd52092 | c7a66a04e0f7c5fc9862f0bd3dc1f775a0c2dfb8 | refs/heads/master | 2023-04-18T16:32:15.825239 | 2021-05-09T00:54:53 | 2021-05-09T00:54:53 | 238,353,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | // created by Heitor Adao Junior
#include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow w;
w.show();
return app.exec();
}
| [
"heitor.adao@gmail.com"
] | heitor.adao@gmail.com |
e85b97067a273152b77df5a31355dde94ce16e00 | 872f24199d847f05ddb4d8f7ac69eaed9336a0d5 | /code/display/QtPlotter/conversion/ConverterVelocityFrequency.h | f5f389f70fbb0704a749e1b1519ea5df4831c8de | [] | no_license | schiebel/casa | 8004f7d63ca037b4579af8a8bbfb4fa08e87ced4 | e2ced7349036d8fc13d0a65aad9a77b76bfe55d1 | refs/heads/master | 2016-09-05T16:20:59.022063 | 2015-08-26T18:46:26 | 2015-08-26T18:46:26 | 41,441,084 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | h | //# Copyright (C) 2005
//# Associated Universities, Inc. Washington DC, USA.
//#
//# 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; either version 2 of the License, or (at your
//# op... | [
"darrell@schiebel.us"
] | darrell@schiebel.us |
8c441b1fffd8fb8640f0e13449f81a9a50e21d0e | e34ee045bb718a08858b5e2fac080cf2707480eb | /Between_Universe_Steeve/include/glwidget.h | 5bb6403b3c2efa1be4901ad7d13deef8895d30d4 | [] | no_license | imac2018/project | f70ac37fb8be92420f9e975cd6d6507fe77c418b | c5cf41e662a4f1f169a6452411f509d6ec84fa43 | refs/heads/master | 2021-01-11T01:04:48.479860 | 2017-03-19T14:38:23 | 2017-03-19T14:38:23 | 70,843,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #ifndef RENDERER_H
#define RENDERER_H
#include <QGLWidget>
#include "renderer.h"
class GLWidget : public QGLWidget
{
public:
const Renderer* renderer;
explicit GLWidget(const Renderer* renderer, QWidget *parent = 0);
protected:
void initializeGL();
void resizeGL(int w, int h);
void paintEvent(QPaintEvent *);
};
... | [
"steeve.v91@gmail.com"
] | steeve.v91@gmail.com |
7dece5622492fcb5a5c117af1034c9022cc10b30 | 2d8204c2349a8b763604dbbd9b35e6a46921c6fc | /july_28(Polymorphis)/Ass2/Employee.cpp | 5e47da795a6b3ab8e1a3d043de5eed200ceb9a5c | [] | no_license | OnkarYadav96/CPP | 1677a1c7aa91ce8cb824467de8519528438a9e52 | bebd77d371dd4bd24c4618ec97be4046b91c5df8 | refs/heads/master | 2022-12-01T06:29:32.461707 | 2020-08-16T13:37:07 | 2020-08-16T13:37:07 | 282,574,520 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | #include"Employee.h"
cEmployee::cEmployee()
{
empid = 0;
salary = 0;
}
cEmployee::cEmployee(int id, const char *nm, int d, int m, int y, const char *pcity, const char *parea, const char *ccity, const char *carea, int sal)
:name(nm), doj(d, m, y), p_add(pcity, parea), c_add(ccity, carea)
{
empid = id;
s... | [
"noreply@github.com"
] | noreply@github.com |
7a3c97d1f56506b050ab5348dc86b03a91ca11bf | abf729ac9fb671c28539abbecf1ecdc74b462862 | /comp/compiladores_rafael/syntax/FlexBYACC.h | 385a57cf295f2a6f814d15446eca70e282f9625a | [] | no_license | goncalofialho/istKillMe | f0d68675e42900849c80fa2eb1bcbf1826175f88 | 0ba58aacbd2c9602c206f4e1e8548cbf2ebb29e3 | refs/heads/master | 2021-06-01T00:59:19.603707 | 2016-06-21T11:21:00 | 2016-06-21T11:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,006 | h | // $Id: FlexBYACC.h,v 1.1 2012-03-06 21:44:34 ist13500 Exp $ -*- c++ -*-
/*
* $Log: FlexBYACC.h,v $
* Revision 1.1 2012-03-06 21:44:34 ist13500
* This is actually Compact but renamed TLL (string level change).
* The recognized language is still Compact, not TLL.
*
* Revision 1.4 2009/03/15 19:21:15 david
* F... | [
"goncalo.f.pires@hotmail.com"
] | goncalo.f.pires@hotmail.com |
690dad5fc24c92590f0cf80e530425fc589b321c | fdc736a967df45abb52c1fa1f0d233af35bf2449 | /threadpool.cpp | 8c94e1a42adcf52be1722cbb58b79ab36968956b | [] | no_license | wzzydezy/C-learning | 9f0d5f3e66ae62ca248d4d950a008c68ef2c8864 | bbe9e6c363f61c7cb45860064dce6cea5b011bcd | refs/heads/main | 2023-05-31T12:52:11.678417 | 2021-06-08T07:36:44 | 2021-06-08T07:36:44 | 374,877,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp |
#include <iostream>
#include <pthread.h>
#include <exception>
#include <mutex>
#include "windows.h"
class threadpool
{
public:
threadpool(int thread_num=8);
~threadpool();
private:
static void* worker(void* arg);
void run();
private:
int m_thread_num;
pthread_t* m_threads;
std::mutex mtx;... | [
"237146577@qq.com"
] | 237146577@qq.com |
93c9c49168c847c8208247465484d3be143ec64e | 342a29ede93762a7703b391ddab04f34561a78a9 | /solver/google/search/split_agent/evaluation.cpp | 4cbbd74ebe83ebeb815d1a396cbbf23d698e8647 | [] | no_license | Lafolia13/TMCIT_PROCON2019 | 597ee46664c9241b8bdf58563f58675f5bee42fc | 687aabe902879602b82ee3c19882eca4a680afe5 | refs/heads/master | 2022-03-22T19:35:56.989013 | 2019-12-22T06:58:32 | 2019-12-22T06:58:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,223 | cpp | #include "../../search/split_agent/evaluation.h"
#include <cassert>
namespace split_agent {
double GetEvaluation(const GameData &game_data, TurnData &turn_data,
const TurnData &before_turn_data,
const int_fast32_t &team_id,
const int_fast32_t &start_turn,
const double &before_evalua... | [
"violgdae@gmail.com"
] | violgdae@gmail.com |
7bc14fee2e2304b682c199ffe01bee7725e2a5ae | 32809f6f425bf5665fc19de2bc929bacc3eeb469 | /src/0923-3Sum-With-Multiplicity/0923.cpp | 76e8622b9c857d443d38dae51afea8166c4a81e0 | [] | no_license | luliyucoordinate/Leetcode | 9f6bf01f79aa680e2dff11e73e4d10993467f113 | bcc04d49969654cb44f79218a7ef2fd5c1e5449a | refs/heads/master | 2023-05-25T04:58:45.046772 | 2023-05-24T11:57:20 | 2023-05-24T11:57:20 | 132,753,892 | 1,575 | 569 | null | 2023-05-24T11:57:22 | 2018-05-09T12:30:59 | C++ | UTF-8 | C++ | false | false | 1,070 | cpp | #include <iostream>
#include <vector>
#include <unordered_map>
using namespace std;
static int x = []() {std::ios::sync_with_stdio(false); cin.tie(0); return 0; }();
class Solution
{
public:
int threeSumMulti(vector<int>& A, int target)
{
unordered_map<int, long> mem;
for (auto& a : A) mem[a]... | [
"luliyucoordinate@outlook.com"
] | luliyucoordinate@outlook.com |
6d44a095dafd93c5e7470728ff419e1d902559c7 | 0823f9f66540ae8543d416473aec8cb843ff3777 | /GPU_LCT/GPU_LCT/data_structures.hpp | 890e8bd7407847dac909cb1b8ebaf966c54c25d2 | [] | no_license | F3bbbo/TE2502MasterThesis | 047f386495f1d049a59c928ee70358be817b3cf0 | 06f07bbe7c5f9db420a6b6d6214c6ce19b4a9ea8 | refs/heads/master | 2020-04-19T16:23:50.518275 | 2019-08-26T11:47:31 | 2019-08-26T11:47:31 | 168,302,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | hpp | #pragma once
#ifndef DATA_STRUCTURES_HPP
#define DATA_STRUCTURES_HPP
#include <glm/glm.hpp>
namespace CPU
{
struct SymEdge
{
SymEdge* nxt = nullptr;
SymEdge* rot = nullptr;
int vertex;
int edge;
int face;
SymEdge* sym() { return this->nxt->rot; };
SymEdge* crot() { return (this->sym() != nullptr) ?... | [
"gummessonsimon@gmail.com"
] | gummessonsimon@gmail.com |
be4f62d173676294aee548d1e6b9b6542bf9a915 | 90517ce1375e290f539748716fb8ef02aa60823b | /solved/r-t/superb-sequence/gen.cpp | fadcd8ee1e4dbe27223f84155b10f4aca7811192 | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | Code4fun4ever/pc-code | 23e4b677cffa57c758deeb655fd4f71b36807281 | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | refs/heads/master | 2021-01-15T08:15:00.681534 | 2014-09-08T05:28:39 | 2014-09-08T05:28:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;
#define MAXT 100
#define MAXA 100
#define MAXB 100
#define MAXC 300
#define NCRIT 5
int T;
char A[MAXA + 1];
char B[MAXB + 1];
char C[MAXC + 1];
int idx[MAXC + 1];
void fill(char *s, int len, int alpha)
{
for (int i... | [
"leonardo@diptongonante.com"
] | leonardo@diptongonante.com |
acf553a915e57c430ba86b2a0d612b6c2bcc77e5 | 9ad5d1da5b27569f1da66a502c9e9138308fdb33 | /VideoAudioBasic/VideoAudioBasic/别人的demo/yuv&rgb/SYKit/SYConverter/SYYuvConverter/SYYuvConverter.h | d527c0f4657507f07ec576e560b2a8360bb01119 | [] | no_license | Hacker-liang/video_audio_basic | 86e4a6b59f6febc77acec550a1ee06e3ab7153d6 | abef2a5a9f39e9f4d084e70f140356c24a28f095 | refs/heads/master | 2020-05-29T14:02:46.797992 | 2019-08-20T02:14:29 | 2019-08-20T02:14:29 | 189,181,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,677 | h | //
// SYYuvConverter.h
// SYKit <https://github.com/shenyuanluo/SYKit>
//
// Created by shenyuanluo on 2018/10/12.
// Copyright © 2018 http://blog.shenyuanluo.com/ All rights reserved.
//
/*
YUV 格式转换
*/
#ifndef SYYuvConverter_h
#define SYYuvConverter_h
#include <iostream>
#include "SYHeader.h"
class SYYuvCo... | [
"pengshuai.liang@gmail.com"
] | pengshuai.liang@gmail.com |
320a780eaca651d7c89aa8de320323e04f6e6fa6 | d4644a1cab7fba1765894a8bf1de6ad9f02105cf | /kdgui/script/squirrel/sqmem.cpp | 60ba0444738be1d3069d1a590b7e1f8a63445115 | [
"MIT"
] | permissive | linfso/kdguigl | 66e57d8d70511fffa39bc46a7547ac4dc24f9b45 | e8e8a4a2f34893e18d487ecd56c2522e34d8feef | refs/heads/master | 2020-07-17T12:40:33.264719 | 2015-02-27T14:08:55 | 2015-02-27T14:08:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | /*
see copyright notice in squirrel.h
*/
#include "sqpcheader.h"
namespace WTF {
void* fastMalloc(size_t size);
void* fastRealloc(void*, size_t);
void fastFree(void* p);
}
int sq_mem = 0;
void *sq_vm_malloc(SQUnsignedInteger size)
{
//return malloc(size);
sq_mem += size;
return WTF::fastMallo... | [
"weolar@qq.com"
] | weolar@qq.com |
bda0b7bd87bb8c5523dd878a4210c12032705a9c | 00e0186f55eef9c28993b1688019ef4da61a7980 | /summer2018/medium/179-largest-number.cpp | 1816324280506217fa3187d1a330b8b64f9efa1b | [] | no_license | idontknoooo/leetcode | 2c1c8d3ffcbcb328f2b7087cf6e7e0a6441fdfc4 | dd24544a2e8cc2680a26e95dc85f0af4443f5a00 | refs/heads/master | 2021-06-05T09:49:51.131203 | 2018-10-22T03:32:14 | 2018-10-22T03:32:14 | 104,502,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | // 4ms
class Solution {
public:
string largestNumber(vector<int>& nums) {
vector<string> str;
for(int i=0;i<nums.size();i++){
str.push_back(to_string(nums[i]));
}
sort(str.begin(), str.end(), comp);
string result;
for(int i=0;i<str.size();i++){
... | [
"jordan50zuo@gmail.com"
] | jordan50zuo@gmail.com |
bbada1ee236a8268df7ed355749d1cdc4e4370bf | 266bbcf5fee6d013ef0819d391e295f834361ea7 | /Job/Coursera/str_less_b.cpp | 46fb5a3faf9ec18016efa4d718250b1471175806 | [] | no_license | hetiany/Leetcode | b51e02d3de2852daa5f033d5615be4d76a963e2e | 9871c8758e02472e12f67340953b1d97e281b85a | refs/heads/master | 2021-01-12T11:22:08.864900 | 2017-01-25T10:03:05 | 2017-01-25T10:03:05 | 72,903,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp |
/* 给了一个数组(没排序的) d和一个long t,求有多少组(i,j,k)可以满足的d[i]<d[j]<d[k]且d[i]+d[j]+d[k]<=t
{2, 3, 5, 7, 4, 2, 7} v
2222
map<int, int> record;
sort
vector<pair<val, count>> vec;
for() {
i = 0;
if(v[i] != v[i - 1] ) vec.push_back(make_pair(val, 0));
vec.back().second++;
}
i =0 ,j= 1,k = n- 1;
{2,... | [
"yanghetian1987@gmail.com"
] | yanghetian1987@gmail.com |
d536bbe1de0192bc43c1022a9b42f807043a43e8 | 3ef16236cc4566b03328552843b28adde7389612 | /ash/components/arc/test/fake_net_instance.cc | c9f8eab24a3fc2404cf111fc82698168c5ca2c2b | [
"BSD-3-Clause"
] | permissive | moteesh-in2tive/chromium | c5962834c8218ba607846ce59d0ba008be00fe2b | e1e495b29e1178a451f65980a6c4ae017c34dc94 | refs/heads/main | 2023-09-05T00:46:48.898998 | 2021-11-23T19:52:34 | 2021-11-23T19:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/components/arc/test/fake_net_instance.h"
namespace arc {
FakeNetInstance::FakeNetInstance() {}
FakeNetInstance::~FakeNetInstance() = defa... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
e150d0673a1addabf82b084e36377928299ebc7c | 47b802279c2e0ee078c31b9be68cbcd5aeaf3865 | /C++Style/MyStruct.h | 8e0dc92a88aa9c1b6cffa34e2c5f8f09f6d53ceb | [] | no_license | minus9d/CppStyle | d8a8a6cb1731571a91364ef048af9ddf38f1cb5c | d9aa577169aa2028f1ee656de89871d70c575a56 | refs/heads/master | 2021-01-18T13:49:22.916624 | 2014-05-05T06:09:50 | 2014-05-05T06:09:50 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 232 | h | #pragma once
#include <string>
class MyStruct
{
public:
// 構造体のデータメンバには末尾にアンダースコアを付けない
std::string name;
public:
MyStruct();
~MyStruct();
};
| [
"minus9d@gmail.com"
] | minus9d@gmail.com |
e3c3c18743cb0472ecdff231e379dfbb7a355dbb | ef68b62f4a1dd2e26e26ef2fc67e18f8fbe96418 | /libs/delaunay/corner_connectivity.h | 2c76f9caa8d575fa369a0a6361dd8976bfbdb699 | [] | no_license | lintianfang/cleaning_cobotics | 68d9a4b418cdadab9dde1c24f529f45e7fc3bd4f | 26ccba618aec0b1176fcfc889e95ed5320ccbe75 | refs/heads/master | 2023-02-25T21:36:10.777059 | 2021-01-29T09:49:16 | 2021-01-29T09:49:16 | 281,898,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,522 | h | #pragma once
#include <vector>
#include "lib_begin.h"
/// simple triangle mesh data structure using the corner data structure to store neighbor relations
class CGV_API corner_connectivity
{
public:
/// the opposite info stores whether the corner is opposite to a border edge and if not the index of the opposite corn... | [
"tianfang.lin@tu-dresden.de"
] | tianfang.lin@tu-dresden.de |
71c8e94bd779d8569386845117382d2ad2f860f0 | 6acad9caa2ce08ee41b94c8e9d11068268a93940 | /BubbleTank/Source/BubbleTank/Public/TheTank.h | 4a35c96aaf012a771fed2992a76e58b63f79161c | [] | no_license | JaiyD/BubbleTank | 86e01154a40e7bf704de26c7fc3a516868283b93 | d2689e491ef85df2bf87ca1e2ab04efaab1738a7 | refs/heads/master | 2020-05-04T12:31:31.846888 | 2019-05-06T05:07:28 | 2019-05-06T05:07:28 | 178,999,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "TheTank.generated.h"
UCLASS()
class BUBBLETANK_API ATheTank : public APawn
{
GENERATED_BODY()
public:
//WAS USED TO SETUP THE MOVEMNT AND THE AIM BUT GOT R... | [
"jasondeng_2000@hotmail.com"
] | jasondeng_2000@hotmail.com |
d7cc24af2293f9ef7b09ded71b781e1626c6b969 | a4f3cb904393c46ee63366213228b832b6ab2357 | /10 Travelling Salesman/main.cpp | 4358dbddd42f364b657c9155fb1d70d7013cbc66 | [] | no_license | AdityaVSM/ADA-lab-programs | eaf7a272d28aac551389d0d60bf74723f249bdb8 | c7cf51af79b53733b8b9e81dba0dc3c776fd86e3 | refs/heads/master | 2023-05-31T16:44:56.434389 | 2021-06-30T19:09:06 | 2021-06-30T19:09:06 | 381,790,604 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,187 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 10;
int final_path[N+1];
bool visited[N];
int final_res = INT_MAX;
void copyToFinal(int curr_path[]){
for (int i=0; i<N; i++)
final_path[i] = curr_path[i];
final_path[N] = curr_path[0];
}
int firstMin(int adj[N][N], int i){
int min = INT_MAX;
for (i... | [
"adityavsm.is19@bmsce.ac.in"
] | adityavsm.is19@bmsce.ac.in |
e9f9b33c3d863c846e5625b589dc26ea9555ddf4 | 83480ef96e77add5e7041a737e3a68f5a925de44 | /include/linear_solver/Iterative_Refinement.h | 54175f2b774071bdea6d4f3da9666da83372da30 | [
"MIT"
] | permissive | BenChung/nasoq | ce87d516bd8370ce7486778f24596095b4318fbb | dcd38830f839941eec2688bdc8a35967d177c627 | refs/heads/master | 2023-05-10T14:45:48.943005 | 2021-04-27T22:13:02 | 2021-04-27T22:13:02 | 367,554,270 | 0 | 0 | MIT | 2021-05-15T06:10:29 | 2021-05-15T06:10:28 | null | UTF-8 | C++ | false | false | 3,553 | h | //
// Created by kazem on 11/23/18.
//
#ifndef PROJECT_ITERATIVE_REFINEMENT_H
#define PROJECT_ITERATIVE_REFINEMENT_H
#include "solve_phase.h"
#include "Norm.h"
#include "SparseUtils.h"
#include "spmv_CSC.h"
namespace nasoq {
int iterative_refinement(int n, size_t *Ap, int *Ai, double *Ax,
... | [
"kazem.cheshmi@gmail.com"
] | kazem.cheshmi@gmail.com |
fd24c1eb7da7dde119e98c91ca533ed7fc689ed7 | ad95102e94bdc0b7d755cb94a9e0f34344d1d099 | /Jump/Block.h | 0cdf78cddfa91fb3988c03afbd445d323b42040f | [] | no_license | eGunar/Jump | fb92123cd235da3c35ba26c0fd916a70e67dc2fc | 7cdc2dab8fa90d82e07891ce845753a2b0350bc1 | refs/heads/master | 2023-02-20T22:32:35.989258 | 2021-01-23T09:42:13 | 2021-01-23T09:42:13 | 319,445,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | #ifndef Block_H
#define Block_H
#include "Entity.h"
#pragma once
class Block : public Entity {
public:
Block(int x, int y);
};
#endif // !Block_H | [
"egunnar1999@gmail.com"
] | egunnar1999@gmail.com |
12eef345d26245b70b3a3bb498258dd83949e438 | d989dda17e043385a6f629379ef61af8ec294da5 | /Section 9/Exercise 11/if_else.cpp | a1ad87a6cc4df6f48885193df3bac0665479bada | [] | no_license | sureshyhap/Beginner-CPP-Programming-From-Beginner-to-Beyond | 7f60bdb02778ffc4c9cc9b107d1df11a933f8d62 | 25178f582f319fbcc90fc27c0998c80ec62056a9 | refs/heads/master | 2023-07-11T06:37:27.424873 | 2021-08-16T19:26:26 | 2021-08-16T19:26:26 | 297,173,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <iostream>
using namespace std;
void can_you_drive(int age) {
//----WRITE YOUR CODE BELOW THIS LINE----
if (age >= 16) {
std::cout << "Yes - you can drive!";
}
else {
std::cout << "Sorry, come back in " << 16 - age << " years";
}
//----WRITE YOUR CODE ABOVE THIS LINE----
}
| [
"sureshyhap@gmail.com"
] | sureshyhap@gmail.com |
eccfef1f277dc128c82a7e331e6bfc0856a1518a | c371a3354faeaa5c48e09b6c6ead550e88d8e690 | /implement/oglplus/path_nv_array.inl | 5ed7c2e546f2318e51f8c164d8fdff73b492fbd9 | [
"BSL-1.0"
] | permissive | MORTAL2000/oglplu2 | 22c9c49891e96d1f0b3c3343a088ed99133426fc | f7b712ed5a2a083819c3c62d25d56fab426302a4 | refs/heads/master | 2020-09-01T20:33:31.637127 | 2019-07-13T11:30:56 | 2019-07-13T11:30:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,054 | inl | /**
* @file oglplus/path_nv_array.inl
*
* Copyright Matus Chochlik.
* 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 <eagine/assert.hpp>
#include <oglplus/utils/gl_func.hpp>
namespace oglplus ... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
6dea1ad9b889787d014b38cbb99a75258a7ff914 | ecec137010f2cb4631f96b8c183983a62c9b2ca0 | /C++/college_code/normal/try10-4.cpp | 4cf672131543b3dff5d06621d4ae12c46e2bd3ad | [] | no_license | lijiayan2020/Code | d6296658bdec1adb6353faa3ca1ae583542ce926 | ba9f015c51a60fc8aeb1f5efbd33e96126c34265 | refs/heads/master | 2023-04-12T19:23:21.860951 | 2021-04-21T16:21:11 | 2021-04-21T16:21:11 | 330,329,460 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | #include <iostream>
#include <string>
using namespace std;
class Teacher
{public:
Teacher(string nam, int a, string t)
{name = nam;
age = a;
title = t;}
void display()
{cout<<"name: "<<name<<endl;
cout<<"age: "<<age<<endl;
cout<<"title: "<<title<<endl;}
protected:
string name;
int age;
str... | [
"1131106863@qq.com"
] | 1131106863@qq.com |
7b234f118abc6644b01b69e1fba81d56c2c0a570 | e607b306b2d787ce16b7af2c9f92112711cf455a | /Segment.h | 1fcd5bb853256fc732c8593ac65e529a86aee1e5 | [] | no_license | Darlokan/Curves | de8a0f40fb4a187ac2f061aabac068d93347eb2c | e4f72a105963903ad4c1dd210a90b43b136af7fe | refs/heads/master | 2016-09-06T10:37:50.884989 | 2014-09-06T16:08:51 | 2014-09-06T16:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | #ifndef DEF_SEGMENT
#define DEF_SEGMENT
#include<iostream>
using namespace std ;
class Segment
{
int length ; // length of the segment
int cycle1 ; // the two cycles which the segment belong to
int cycle2 ;
int* segP ; // useless
int* segA ;// array of all edges of the segments
public :
Segment();
Segment(... | [
"l.cadilhac@hotmail.fr"
] | l.cadilhac@hotmail.fr |
abb7cd1fac58f5cc72d1f4339f30a0145fba1360 | 787de38372ca7f8f98253ebb0512d6e54af8d516 | /decoder/src/fsalm/fsalm-convert.cc | 7859d48f0835ab4ed1823c6ea64c563cfb5b66f8 | [
"BSD-3-Clause"
] | permissive | ufukhurriyetoglu/AaltoASR | e9813a35a218fd16de4dc36ad6968f06dc7f5a67 | 02b23d374ab9be9b0fd5d8159570b509ede066f3 | refs/heads/develop | 2021-01-01T06:51:22.760683 | 2017-04-04T21:24:29 | 2017-04-04T21:24:29 | 97,529,473 | 1 | 0 | null | 2017-07-17T22:57:19 | 2017-07-17T22:57:19 | null | UTF-8 | C++ | false | false | 1,599 | cc | #include "misc/conf.hh"
#include "misc/io.hh"
#include "misc/str.hh"
#include "fsalm/LM.hh"
using namespace fsalm;
conf::Config config;
LM lm;
int
main(int argc, char *argv[])
{
try {
config("usage: fsalm-convert [OPTION...]\n")
('h', "help", "", "", "display help")
('\0', "arpa=FILE", "arg", "", "... | [
"seppo.git@marjaniemi.com"
] | seppo.git@marjaniemi.com |
4baf7299b2a0dc5b0e1a1a9563566a074d649059 | 3c6e121403d8ac51ed8fb49531edd27a0a837e5e | /framework/egl/egluApiPrototypes.inl | 866ed5de9e43dd1ea84d20396f677131df08ebca | [
"Apache-2.0"
] | permissive | asimiklit/deqp | 024bac1d3846475ee31b355ead2bb617cc15fb60 | 016d98ac91022d7d1a9cd858b6c4ea6c4344b5bd | refs/heads/gbm | 2020-04-22T04:07:22.007712 | 2015-06-18T19:34:38 | 2015-06-18T19:34:38 | 170,111,899 | 0 | 0 | NOASSERTION | 2019-02-11T10:44:20 | 2019-02-11T10:44:18 | null | UTF-8 | C++ | false | false | 3,062 | inl | /* WARNING! THIS IS A PROGRAMMATICALLY GENERATED CODE. DO NOT MODIFY THE CODE,
* SINCE THE CHANGES WILL BE LOST! MODIFY THE GENERATING PYTHON INSTEAD.
*/
EGLint eglGetError ();
EGLDisplay eglGetDisplay (EGLNativeDisplayType display_id);
EGLBoolean eglInitialize (EGLDisplay dp... | [
"jpoyry@google.com"
] | jpoyry@google.com |
db6136333e8251e7bc4377922f6c560906e6a7ba | 912723c889f22a55648bd262e93f9552142771ac | /src/walletdb.cpp | cdeae1767584d533110dce47d97139a84cf8fc6b | [
"MIT"
] | permissive | vricteam/Vricoin | e1a246431da87940b7e2e8ce861b225a2266be13 | 246b0f179b83cf2f70e456179f0bdc227ca7c6ef | refs/heads/master | 2020-04-19T02:48:40.077658 | 2019-01-28T07:42:40 | 2019-01-28T07:42:40 | 167,915,643 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 34,952 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018-2019 The Vricoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// fi... | [
"vric.team@gmail.com"
] | vric.team@gmail.com |
24b82b8d69e3dc576b6c789decd0c248aa61cbbb | 447224db3d60aeed236a51178beb033ceac39fdc | /ThirtyEight.cpp | 5426f5238f7518074b634628ff834309f7ee2490 | [] | no_license | anandstephan/CppBasicQuestionWithSolution | 0bb13030c1ec3d901842d039c748bf25dc9b474c | d3ff3d75f32d62b861d2b67c319f1ea76f7426d4 | refs/heads/main | 2022-12-25T19:13:53.245967 | 2020-10-02T08:13:51 | 2020-10-02T08:13:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | //Write a C program to check whether a number is palindrome or not.
#include <iostream>
using namespace std;
int main(){
int a,n,rev=0;
cout<<"Enter the Number";
cin>>n;
a=n;
while(a){
rev = rev*10+a%10;
a=a/10;
}
if(rev == n)
cout<<n<<" is plaindrome";
else
cout<... | [
"anand9412868527@gmail.com"
] | anand9412868527@gmail.com |
21e35988e9e4c6e34b7eb925e5398e7bd546dd46 | c87095bd13b9080224324b3a6dd4fd538912d97e | /OpenGL/BSP Loader Part5/Quake3Bsp.cpp | 46c1a8349a7ba6f0515c900d8de20fc2544ad294 | [
"MIT"
] | permissive | Agrelimos/tutorials | 6a0a8ef6652a44bd5a35b59bf192326c831367ff | 7d2953b8fbb5c56a921a17e7e3cac3d1f4fbb41b | refs/heads/master | 2020-04-01T05:26:56.560609 | 2018-10-13T18:45:56 | 2018-10-13T18:45:56 | 152,903,588 | 0 | 0 | MIT | 2018-10-13T18:44:42 | 2018-10-13T18:44:42 | null | WINDOWS-1252 | C++ | false | false | 42,825 | cpp | //***********************************************************************//
// //
// - "Talk to me like I'm a 3 year old!" Programming Lessons - //
// //
// $Author: DigiBen DigiBen@GameTutorials.com //
// ... | [
"staff@gametutorials.com"
] | staff@gametutorials.com |
a5cc2b36c2e826be1728054a8b6ffab38a6b2fc8 | 6e47e4637a3f7245714f241fd74883f79af3afb8 | /Secro/Secro/source/secro/framework/detail/VirtualObjectPool.h | 9741402fb73b564f570cd64136289b887087073f | [] | no_license | LagMeester4000/secro | c359d5113236e4967288b5582a76b603f16506d5 | 0896ce8e86af66207a5724fe1af7e09c9538910c | refs/heads/master | 2020-04-19T07:36:43.849720 | 2020-01-24T11:45:18 | 2020-01-24T11:45:18 | 168,052,698 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,009 | h | #pragma once
#include <new>
#include <utility>
#include <stdint.h>
#include <assert.h>
namespace secro {
template<typename Base, typename T>
void copyFunc(const Base& toCopy, void* memPos)
{
new(memPos) T((const T&)toCopy);
}
template<typename Base, typename T>
void moveFunc(Base&& toCopy, void* memPos)
{
... | [
"lagmeester4000@gmail.com"
] | lagmeester4000@gmail.com |
7e3c088fc570f5b1e3dfeca8fd19ec5620576468 | dff43dada9d2a53e7e9d2a9c47eab7c4865d85cf | /GCSoundController.cpp | 2e0fb63de5c852cbfce7c7977a7e60b043fa654f | [] | no_license | GabrielJadderson/TFT-4pi | fe6e509063eb392cedc18a46c7a213e6595a2021 | cf795b3b01d6171c794cee65994ad34a398d6036 | refs/heads/master | 2021-03-19T15:44:47.223095 | 2019-09-27T12:40:53 | 2019-09-27T12:40:53 | 82,612,378 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include "GCSoundController.h"
#include <wiringPi.h>
#define LED 17
GCSoundController::GCSoundController()
{
}
void GCSoundController::PlaySound(ESoundType soundType)
{
switch (soundType)
{
case NONE:
break;
case BEEB:
Beeb(256, 100, 600, 600, 600, 600);
break;
case BEEB_2:
Beeb(256, 100, 400, 4... | [
"mullie34@hotmail.com"
] | mullie34@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.