blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce2135cc0b59acc04bba320081aebb354e96b723 | a3d1bf40a1ec6e6415badcbebd0cff6b008f4065 | /ZC_Label_System/AccountManagement/datactrl.cpp | 8949f0e5d1a3c5ddcbb43e5d88e8f8754bde3663 | [] | no_license | luxiaodao123/Label_system_lxd | 7b9f26df38f61aaa611bcdafb39c2fb92944e839 | fa9a7c9a909f940c190b84190df44acc97fd065d | refs/heads/master | 2020-03-14T02:14:39.476631 | 2018-04-28T09:31:25 | 2018-04-28T09:31:25 | 131,395,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | cpp | datactrl.cpp | #include "datactrl.h"
DataCtrl::DataCtrl() : m_iQSqlDatabase(QSqlDatabase::addDatabase("QSQLITE"))
{
m_iQSqlDatabase.setDatabaseName("sqlite.dat");
m_iQSqlDatabase.open();
QSqlQuery("create table if not exists sqlite (usr TEXT primary key, pwd TEXT)", m_iQSqlDatabase).exec();
// if(!DataCtrl::verify("admin"... |
1a1b1ea8fe27858d0bfaf8b81e4fe64ff6ffabf6 | 96a3c97fe6fe0392718655fd3b0fb34f1ad2cbba | /node.cpp | 4a0139877ef4978c3e3d2c0fab6f474479c51560 | [] | no_license | nikulchikov/repo | 138b89f20eede798c8ae755e6ede141c38cb9b67 | 1fd9f2ecb4b43ddd73cbc755204f9ab77fc7f592 | refs/heads/master | 2021-01-23T21:28:01.660822 | 2014-11-14T13:53:38 | 2014-11-14T13:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,977 | cpp | node.cpp | #include "node.h"
#include <iostream>
using std::cerr;
using std::endl;
void node::init( unsigned long id, string name, short w, unsigned long srn, node *right_node, node *left_node,
node *right_plus_node, node *right_minus_node, node *left_plus_node, node *left_minus_node, message_sndr *msgr) {
t... |
16ac1a5ba5b4ec6a85391fcde454f830fb5578cd | 10265de3a7442a82f3a1ec100feeb36a21ece1a6 | /Workspace/VP9/Project/anpr_20180224/PlateRecognizationFramework/src/Crop/cropping_v2_color.cpp | d419d9c6e77be163ade31c31e0723e7f6b9a4291 | [] | no_license | zeklewa/Zeklewa_ANPR | 77f861ae7f3c60f6d64ecabbc0586ede8af78b3e | bea4ddc172ebca27e6175ca3d43d2256317023b1 | refs/heads/master | 2020-04-09T20:36:03.912406 | 2018-03-07T14:13:07 | 2018-03-07T14:13:07 | 124,242,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,331 | cpp | cropping_v2_color.cpp | #pragma once
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <numeric>
#include <string>
#include <sstream>
#include <functional>
#include ... |
921ee247bf0bcbec6d00b4d09580b0dd7b177c5d | 9d4f0b8c133b39762afc66eb2b7fd08c1fe28d2f | /day_2/task1.cpp | f828b31b47ebe4a006e9d1eb8b30b3e28e63e8c0 | [] | no_license | lvjonok/ibc_programming | 4274e8749d989a48191e46bf2177c9d02cf11cd6 | a45c1fe576d5f55c369c1a10661d3c02193a86a1 | refs/heads/master | 2022-11-29T17:49:05.649196 | 2020-08-14T18:57:49 | 2020-08-14T18:57:49 | 286,439,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | cpp | task1.cpp | #include <iostream>
#include <map>
using namespace std;
int get_path_cost(int vertices[4], int paths[4][4]){
int path_cost = 0;
for (int i = 0; i < 4; i++){
path_cost += paths[vertices[i]][vertices[(i + 1) % 4]];
}
return path_cost;
}
bool is__path_valid(int vertices[4]){
map<int, bool> co... |
d092af8c3eb19a78709ba9af6f13610eddd04b00 | 33d6d6f71587d5b840e99a12119a19f4ebffb2d8 | /example_prefetchers/ip_stride_prefetcher.cc | eda63e26e30b627ec64eec998e46a98d243fc1da | [] | no_license | nus-comparch/cs5222-lab-prefetcher | d31a8f58251678af9642b50c4d9ff03a5670892c | c685cc80d68869c7766bdcbe1d0784fe62007c6b | refs/heads/master | 2022-04-30T04:43:13.803621 | 2022-04-07T11:20:07 | 2022-04-07T11:20:07 | 129,469,047 | 3 | 10 | null | 2022-04-14T15:14:55 | 2018-04-14T01:12:29 | C++ | UTF-8 | C++ | false | false | 4,644 | cc | ip_stride_prefetcher.cc | //
// Data Prefetching Championship Simulator 2
// Seth Pugsley, seth.h.pugsley@intel.com
//
/*
This file describes an Instruction Pointer-based (Program Counter-based) stride prefetcher.
The prefetcher detects stride patterns coming from the same IP, and then
prefetches additional cache lines.
Prefetches... |
ca65fcebd4272fd2a59282373275949a1e198e8a | 9052c754d69b6fe46782551ae02d23d7fb460157 | /myinputpanel.h | 26de31aa3597f0b8b6cda88a74e8ca986349bb50 | [] | no_license | steamedbao/BeaglePhone | 77740a5151040ee82bc1038be90bdfc302dcfbdf | 2e2c5b4b622fee114df7272e991f38d2377bab5a | refs/heads/master | 2020-06-07T19:01:28.239176 | 2014-08-06T15:24:41 | 2014-08-06T15:24:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | myinputpanel.h | #ifndef MYINPUTPANEL_H
#define MYINPUTPANEL_H
#include <QtGui>
#include <QtCore>
#include "ui_myinputpanel.h"
class MyInputPanel : public QWidget
{
Q_OBJECT
public:
MyInputPanel();
signals:
void characterGenerated(QChar character);
void keyPressed(int key);
protected:
bool event... |
d77791f223dc47458e0d043598e25dbaccaf14e0 | c6fa53212eb03017f9e72fad36dbf705b27cc797 | /L1Trigger/TrackTrigger/src/TTClusterAlgorithm_2d.cc | 2f642bef77b129c28ce51224415f4c7248546b03 | [] | no_license | gem-sw/cmssw | a31fc4ef2233b2157e1e7cbe9a0d9e6c2795b608 | 5893ef29c12b2718b3c1385e821170f91afb5446 | refs/heads/CMSSW_6_2_X_SLHC | 2022-04-29T04:43:51.786496 | 2015-12-16T16:09:31 | 2015-12-16T16:09:31 | 12,892,177 | 2 | 4 | null | 2018-11-22T13:40:31 | 2013-09-17T10:10:26 | C++ | UTF-8 | C++ | false | false | 9,830 | cc | TTClusterAlgorithm_2d.cc | /*! \brief Implementation of methods of TTClusterAlgorithm_2d
* \details Here, in the source file, the methods which do depend
* on the specific type <T> that can fit the template.
*
* \author Andrew W. Rose
* \date 2013, Jul 12
*
*/
#include "L1Trigger/TrackTrigger/interface/TTClusterAlgorithm... |
b74d7b996c44fe44f6f6cdd81ac1e516c96a3f24 | 7562c0c5db5fbfc936bfd602983f6b7323bf41ad | /Woods_Game/Dialog.cpp | 325e5d5f8e57fc78302aec133ff38a3df5ca12d5 | [] | no_license | brandr/Woods_Game | e25f928f687504bfa12a450ccbb1ff2e3caf1260 | 0c9ce565153e53d1d196a2156fcd39f5b6cd13d7 | refs/heads/master | 2021-06-05T23:48:30.637231 | 2020-05-26T02:05:55 | 2020-05-26T02:05:55 | 92,340,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,271 | cpp | Dialog.cpp | #include "Dialog.h"
#include "DialogTree.h"
#include "ImageLoader.h"
const int Dialog::current_num_characters()
{
return this->character_counter/this->get_dialog_text_scroll_frames();
}
const int Dialog::get_dialog_text_scroll_frames()
{
return DIALOG_TEXT_SCROLL_BASE_FRAMES / (this->text_speed * 2);
}
const bool ... |
247e1bf9b279eab38ec7f589903af9346e28d59e | e753f6af565509bbce5d7a3ace06e33789f15187 | /RobotWarsMain.h | 46e68ae9b17f852e9a73a53aa0750cc5211c7cb2 | [] | no_license | gvela024/EmbeddedGUI | 9528b6c677c1692bbf0cbe7f331757bfdb1061eb | 334fdd71caf95f6fdb44e4ac87d6d379e496508e | refs/heads/master | 2016-09-06T02:28:53.213070 | 2014-04-24T01:53:17 | 2014-04-24T01:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,766 | h | RobotWarsMain.h | /***************************************************************
* Name: RobotWarsMain.h
* Purpose: Defines Application Frame
* Author: Gabriel Velasco (gvela024@fiu.edu)
* Created: 2014-04-10
* Copyright: Gabriel Velasco (NA)
* License:
********************************************************... |
6f74c7e5a394e4f55733d327c131659d7f59079e | 586ed68eb4e9834fa62d3adc422640529a381de9 | /Old-Notes/2b/CS247/Tutorial/Resources6/examples/05-pixmaps/ex1/helloworld.h | 9b8bada5913b1104fa1ff675a723f43fd4e50bca | [] | no_license | larajanecka/notes | d0d8372f5fee372cdef4ec345ae765b60ea31db6 | 71a925720b662abe92fbc5e8efac457c81f4d5cb | refs/heads/master | 2021-06-13T07:21:07.153414 | 2017-04-13T17:59:09 | 2017-04-13T17:59:09 | 44,930,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 330 | h | helloworld.h | /*
* Displays an image in a window.
*/
#ifndef GTKMM_EXAMPLE_HELLOWORLD_H
#define GTKMM_EXAMPLE_HELLOWORLD_H
#include <gtkmm/image.h>
#include <gtkmm/window.h>
class HelloWorld : public Gtk::Window {
public:
HelloWorld();
virtual ~HelloWorld();
protected:
// Member widgets:
Gtk::Image image;
}; // HelloWorl... |
91b4b88b9880f76d73e4bb95fe4c5f8bdd5cf9d1 | 0de9688de651ee81660dee187291bd97e5da1ee2 | /tool/code/trunk/cxx/Common/Images/templates/ccipdRgbToScalarImage.hxx | 17e52e5e3e55f7b7373c0781a5dcc753624c3937 | [] | no_license | zengruizhao/Radiomics | 2845cd7f17a46fae95be5d68b135ceda76ed4e44 | 34c1f1bff12fb994c904eaab0691f33819067003 | refs/heads/master | 2022-04-26T11:56:59.338297 | 2020-05-01T08:15:12 | 2020-05-01T08:15:12 | 257,222,358 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | hxx | ccipdRgbToScalarImage.hxx |
//////////////////////////////////////////////////////////////////////////////////////////
// ccipd includes
#include "ccipdCore.h"
#include "ccipdBoundingBoxCreation.h"
// itk includes
#include "ccipdDisableWarningsMacro.h"
#include <itkImageBase.h>
#include <itkPointSet.h>
#include "ccipdEnableWarningsMacro.h"
/... |
467688edaf18e641b46b7cd08030dbc1c816afe3 | 8b2df36e3c0636e624bcaedae0d7651b9e3799fa | /Shape/openPolyline.cpp | 91a04f6bd05789c0f61ce2ce1886d1e8c9dc8a13 | [] | no_license | samueldesga/Lab5 | a3f449a8dace6e5b86eaaa97912b881318f4d62e | a3f71f3d1924bb8d70430be90ea30c61065323f1 | refs/heads/master | 2021-01-21T00:29:19.634705 | 2015-03-24T01:22:27 | 2015-03-24T01:22:27 | 31,971,060 | 0 | 0 | null | 2015-03-10T17:19:19 | 2015-03-10T17:19:18 | null | UTF-8 | C++ | false | false | 584 | cpp | openPolyline.cpp | #include "stdafx.h"
#include "openPolyline.h"
using namespace ShapeLibrary;
OpenPolyline::OpenPolyline()
{
}
OpenPolyline::OpenPolyline(IWindowAPI& _windowAPI)
{
windowAPI = &_windowAPI;
lineColor = Color::WHITE;
fillColor = Color::INVISIBLE;
}
void OpenPolyline::draw() //Pas sur que toute marche comme il faut
{... |
9f922032cc6902dd42eacf2e455a6efd945a90ce | f908bd92b5651445d717028441e69a1b2959f81b | /src/main/FirstComeFirstServe.cpp | 60904a510d8a23d429619dfb35a000c939912337 | [] | no_license | rsingla92/CPUScheduler | 88d6a581225ffcfb82b3479e2e180a65df7eaa18 | b3cbc1ea661d5462d70018d79813dcc5325b1791 | refs/heads/master | 2021-01-10T04:31:12.942433 | 2013-03-19T22:27:03 | 2013-03-19T22:27:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,660 | cpp | FirstComeFirstServe.cpp | /*
* EECE 315 - Project 3 CPU Scheduler
*
* Authors : Lauren Fung, Jorden Hetherington
* Jeremy Lord, Rohit Singla
*/
#include "FirstComeFirstServe.hpp"
FirstComeFirstServe::FirstComeFirstServe(std::vector<ProcessControlBlock> rawData, int quantumTime) : Algorithm(rawData, quantumTime){
}
void FirstCo... |
a0b589d88e78d2a6d81f0cfcf51e6dc57d6d62ba | daa986f924dacd39fd99232f3aae8d9638f689e0 | /conjuntos.cpp | d43d19b077286c2ec54aef7150688203b874e152 | [] | no_license | mexcoder/conjuntosaut | 28e20fa861eb75a62747df25b4b8fcdb34ccd209 | f33d9cef26c95e1464123a2e35bdf09f05562195 | refs/heads/master | 2021-01-23T08:56:53.497688 | 2015-05-20T18:04:29 | 2015-05-20T18:04:29 | 35,131,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,231 | cpp | conjuntos.cpp | //
// conjuntos.cpp
//
//
// Created by OrozcoBianchi on 29/03/15.
//
//
#include "conjuntos.h"
#include <algorithm>
vector<string> conjuntos::getSetNames(){
vector<string> names;
names.reserve(this->sets.size());
for(auto kv : this->sets){
names.push_back(kv.first);
}
s... |
40ee3eaca56dcecfe6f58bb3daa5b4bd4cc7a8f5 | f1dcb0633ec482317e2dcecc2d4d9a1dbdb5614a | /PolyFitTest.cpp | e234d55ed8178c25567b891af99671838c1e8d97 | [] | no_license | smhjn/predictiveFilter | b2e56c6d6b34f3cb9932f6eb5880e95bcb563f4c | 8e61f2354e3f44ae50d7aa3aed5ee1b14be93f02 | refs/heads/master | 2020-04-10T05:10:27.560964 | 2014-10-23T18:23:00 | 2014-10-23T18:23:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp | PolyFitTest.cpp | #include "PolyFit.h"
#include <iostream>
int main ()
{
cout << "Creating a poly fitter 9000!" << endl;
// We must padd the dataset with 0,0 first element for this
// 11 element set to work with the 1-indexed polyfit
/*
double data[12][2] = {{0.0000000000, 0.0000000000},
{0.0000000000, 0.0000000000},
... |
267a8008b2bdddf101d603a812c9203e1e83e7bc | b918d118c8ae4dcb78dc9b629216d6bef4f8e4cc | /Jurasic Park/Category.cpp | ba7e90fb17242a9ffa6c049f562ad001fec5fc2b | [] | no_license | martinikolaev00/Jurasic-park | 720ad7648a3a2fbffba5f3f408b271ddd93db0a0 | b75fee5302b3162a0e4825548c28da856b1378d3 | refs/heads/master | 2022-10-04T14:50:28.330628 | 2020-06-07T20:46:03 | 2020-06-07T20:46:03 | 270,427,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,350 | cpp | Category.cpp | #include "Category.hpp"
#include<cstring>
Categoryy::Categoryy():category(nullptr),types(nullptr),numoftypes(3)
{
numoftypes = 3;
category = new char[100];
category[99] = '\0';
types = new char* [numoftypes];
for (int i = 0; i < 3; ++i)
{
types[i] = new char[30];
}
}
Categoryy::Categoryy(const Categoryy& oth... |
0131ca81a5693733e52298e2126990f5f0d0299c | 17cf96eac8698680b2b543a4f568bf9115cbd69e | /commands/removeitemfromtexturelistcommand.h | 30bcf1196c4dda56d10a9ae34b9ae1559115d519 | [] | no_license | GuiM0x/Mapox2D | 7b724d52f0cc566c736d3fb4ad75b44185ffc753 | 1085e6e648a211ecc22c24a355c4965414709cc9 | refs/heads/master | 2020-04-16T00:10:02.647657 | 2019-02-22T21:58:35 | 2019-02-22T21:58:35 | 165,128,537 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | h | removeitemfromtexturelistcommand.h | #ifndef REMOVEITEMFROMTEXTURELISTCOMMAND_H
#define REMOVEITEMFROMTEXTURELISTCOMMAND_H
#include "texturelist.h"
#include <QUndoCommand>
class RemoveItemFromTextureListCommand : public QUndoCommand
{
public:
RemoveItemFromTextureListCommand(TextureList *textureList,
const QStri... |
5928c4d05b237b1b180f9a2af7bfcbf974d34847 | 62ecbf18f7516faf4b4240a6d0183e2bde231074 | /app.ino | 09ec36adea06d46b0ebc7278fecf18331375a8bc | [] | no_license | SuyKingsleigh/ModemArduino-STE | a619482e4568cc051927c48bd7616f9fc15f1364 | 2418266e6cbc9231b9f70971bf33668f05b915e9 | refs/heads/master | 2022-10-27T02:46:09.634059 | 2020-06-10T12:01:50 | 2020-06-10T12:01:50 | 267,407,614 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | ino | app.ino | #include "src/menu.h"
#include "src/login.h"
#include "src/channel.h"
#include "src/ip_interface.h"
#include "src/mac_interface.h"
IpInterface *ip = new IpInterface();
MacInterface *mac = new MacInterface();
LoginInterface *login = new LoginInterface();
ChannelInterface *chan = new ChannelInterface(11, 22, 2412);
... |
cf437f3272cb0e12cc398012c6ff5a9098ed5e39 | c506e2707708f6b1d1c8b6a4761b3952cdf33c12 | /clients/shared/ServerId.cc | 09a079bb2cc99e008a4c986cc4ce5396be369118 | [
"Apache-2.0"
] | permissive | xuantan/viewfinder | 69e17d50228dd34fa34d79eea1c841cc80a869ff | 992209086d01be0ef6506f325cf89b84d374f969 | refs/heads/master | 2021-08-26T00:58:18.180445 | 2021-08-10T03:06:48 | 2021-08-10T03:06:48 | 19,481,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,369 | cc | ServerId.cc | // Copyright 2012 Viewfinder. All rights reserved.
// Author: Spencer Kimball.
#import "DB.h"
#import "Format.h"
#import "Logging.h"
#import "Mutex.h"
#import "ServerId.h"
#import "StringUtils.h"
namespace {
// NOTE: these should be kept up to date with the id prefixes used by
// the server. These can be found... |
e7ef2764cbed8109e0b8347c5feed2876db071ad | f2cb2ade64968e24a5cf078a2ae9d2a6ed66b5ea | /leet39.cpp | b656e895d283b89f4a769365e564dda7524246b2 | [] | no_license | flabby/acm | d40755a37c9c1c1ce310a295fd1d00c3af608e53 | d7887c3cf2241133f479a5455a96cc9933de61f7 | refs/heads/master | 2020-06-02T19:53:39.259075 | 2013-05-28T16:58:40 | 2013-05-28T16:58:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | cpp | leet39.cpp | /*
Combination Sum
*/
#include "header.h"
class Solution
{
public:
vector<vector<int> > combinationSum(vector<int> &candidates, int target)
{
int len = candidates.size();
sort (candidates.begin(), candidates.end());
// pr(candidates);
vector<vector<int> > ret;
vector<int> sl(len);
dfs(ret, s... |
b0a361518f6a133ad307d5486cf85bbc2279931f | 03b7338dc342e982d49904632d7d4952e9a354f0 | /DP/SCS.cpp | 5be896932d971fbb556c0670e865d35accfb6d69 | [] | no_license | XiaotianJin/Templates | cabcd746f3dacd5653ee169466a9fc97bb4a9a59 | afb0d0ed09f49666780c5f019467df7d40a8cfde | refs/heads/master | 2020-04-18T01:15:49.005567 | 2016-10-17T04:28:23 | 2016-10-17T04:28:23 | 167,112,102 | 3 | 0 | null | 2019-01-23T03:40:31 | 2019-01-23T03:40:30 | null | UTF-8 | C++ | false | false | 3,571 | cpp | SCS.cpp | //集合dp
//先把相互包含的串去掉,这样不会影响最终结果。
//然后建图,权值为前面串的后缀和后面串的后缀的公共长度。
//d[i][S] 表示以第i个串开头,已选状态为S的最大值
//d[j][S|j] = max(G[i][S]) + G[j][i] ((S&j) == 0)
//最后答案为( 总长 - max(d[i][1<<(n-1)] )
//题目要求输出字典序最小的一个串,dfs打印即可
//注意每次比较字典序大小是减去公共前缀的,而不是直接比较两个串
#include<cstdio>
#include<cstring>
#include<string>
#include<map>
#include<vector>... |
6ffba173aa19eafc68fe67d14e6dcc276b4177d1 | bada30d01f229cbfb5c315d44f31b0038f15a523 | /_Project/BGMVolumeController.cpp | 251cb7e8f93d418a74c5206a2e9f01b69d7707b9 | [] | no_license | calmackenzie/VG1819 | 97d8c6d5823a1dbb618fd1ca7c21c5393fd8aff3 | 7bc8f3ba380209668ce281054fd9e024b4455d82 | refs/heads/master | 2021-10-26T12:24:19.940811 | 2019-04-11T19:59:10 | 2019-04-11T19:59:10 | 133,898,562 | 1 | 2 | null | 2019-04-11T01:21:31 | 2018-05-18T03:32:31 | C++ | UTF-8 | C++ | false | false | 893 | cpp | BGMVolumeController.cpp | #include "BGMVolumeController.h"
#include "util\MathUtil.h"
#include "settings_menu\PlayerPrefs.h"
BGMVolumeController::BGMVolumeController() : m_volume(0)
{
}
BGMVolumeController::~BGMVolumeController()
{
}
void BGMVolumeController::start()
{
auto children = getTransform().getChildren();
assert(!children.empty(... |
1ee0a8bc391583e11fbc8bb13ff8f3236c71c564 | 0fe27e6c63a755fe7df003f36acc079490a338f3 | /src/cpp/Path-Sum-II.cpp | 74c047803cbae173ecd5e4c53f12a29e968f4dcd | [] | no_license | Finalcheat/leetcode | 83f9ceb7bd10783554133434347803a41260a713 | 985deb6142c6841aa7025c9b582010b33f694e6c | refs/heads/master | 2022-11-11T22:51:42.666150 | 2022-11-05T03:07:31 | 2022-11-05T03:07:31 | 53,241,690 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | Path-Sum-II.cpp | /**
* @file Path-Sum-II.cpp
* @brief 二叉树根到叶子节点的路径和(https://leetcode.com/problems/path-sum/)
* @author Finalcheat
* @date 2016-04-26
*/
/**
* Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
* For example:
* Gi... |
93b09a2692a74e1cc71d87e1c903702492becc63 | 8fbbba3cd5241f3a4280880ba14e803b7714f503 | /BOJ/DFS BFS/13549 숨바꼭질3.cpp | d734cdf946538125a5ed8c365acab93955af1c6a | [] | no_license | Inryu/algorithm | 796407ef7f177d88caef9bf201a0bc2e93d54baa | a4f09ee7537c8e2cb5041d719a0a7c6399207078 | refs/heads/master | 2023-08-09T12:46:50.989612 | 2021-09-14T10:15:37 | 2021-09-14T10:15:37 | 295,729,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | 13549 숨바꼭질3.cpp | #include <iostream>
#include <algorithm>
#include <queue>
using namespace std;
#define MAX 100000
bool visited[MAX+1];
int N,K;
int bfs(int time, int pos){
deque<pair<int,int>> dq;
visited[pos]=true;
dq.push_back({time,pos});
while(!dq.empty()){
int curTime=dq.front().first;
int curPo... |
783003eb77000d154a6cdf094aae3f15a731fab2 | f2c3250674d484b91dd9385d7fac50017b034e4b | /nowcoder/887/B.cpp | f641e568e4bbbad1b1975dba2063bdd04b05d118 | [] | no_license | DQSSSSS/Algorithm-Competition-Code | a01d4e8b3a9b9da02a400eb5bb4e063eaade33c9 | 574a0806fadf1433fcb4fac4489a237c58daab3c | refs/heads/master | 2023-01-06T06:17:12.295671 | 2020-11-11T22:44:41 | 2020-11-11T22:44:41 | 309,434,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | B.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef long double LD;
typedef pair<int,int> pii;
typedef pair<LL,int> pli;
const int SZ = 1e5 + 10;
const int INF = 1e9 + 10;
const int mod = 1e9 + 7;
const LD eps = 1e-8;
LL read() {
LL n = 0;
char a = getchar();
bool flag = 0;
whil... |
4c639bfdb6f015fdb88c8e3444465f4834728768 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/include/functions/simd/tan.hpp | 3c15dde346fb80cc4cbb2ed6d297cafdbe585ada | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 173 | hpp | tan.hpp | #ifndef NT2_INCLUDE_FUNCTIONS_SIMD_TAN_HPP_INCLUDED
#define NT2_INCLUDE_FUNCTIONS_SIMD_TAN_HPP_INCLUDED
#include <nt2/trigonometric/include/functions/simd/tan.hpp>
#endif
|
2b6f793457e309d5d4412d22fc9861101177dd82 | 4e8a495df638573472de47f4775329def07e796a | /NetAnalyzer/src/gui/ncurses/elements/GTab.h | 5e31952699e917efe35363ba51fb631ad32a2e7b | [] | no_license | akira2009999/NetAnalyzer-analise-de-trafego | efb0e5da01e38ba27419f838a47726d9711d8b74 | af9dc421f46db2585d14f5d06569b6f429343b9e | refs/heads/master | 2020-04-24T07:13:53.089627 | 2014-03-05T13:25:56 | 2014-03-05T13:25:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | h | GTab.h | /*
* GTab.h
*
* Created on: Apr 23, 2013
* Author: kazu
*/
#ifndef GTAB_H_
#define GTAB_H_
#include <string>
#include "GKeyListener.h"
#include "GPanel.h"
/**
* one Tab within a TabHost
*/
class GTab : public GPanel {
public:
/** ctor */
GTab(const std::string& title) : title(title) {
;
}
/** ... |
6d2caa245c59d32c0dad74757e83a269e6b4353d | 2734eee7b7d89f244138bcca022301717ad55ee9 | /facade/TCPServerFacade.cpp | 8851ec14ba12f6110f9d55a2af02e353722fbc7b | [] | no_license | zpb1992/FileTransport | dc0dcc00383c0e68621f425fb9b7ce99e6fa3e61 | d3070aa2da04d1f7064775478617d1381b727c8a | refs/heads/master | 2021-01-17T20:00:06.417774 | 2016-08-08T11:03:53 | 2016-08-08T11:03:53 | 64,835,602 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | TCPServerFacade.cpp | //
// Created by zpb on 16-8-3.
//
#include "TCPServerFacade.h"
TCPServerFacade::TCPServerFacade() {
_server=new TCPServer();
_server->init();
_server->createSocket(AF_INET,SOCK_STREAM,0);
}
void TCPServerFacade::waitConnect(unsigned short port, std::string ip) {
_server->bindAddr(ip,port);
_server-... |
0bee2593d0625134bf036b43962438b248ac5fbf | b4d1fc90b1c88f355c0cc165d73eebca4727d09b | /libcef_dll/wrapper/cef_stream_resource_handler.cc | 6c31e60a8bd3f5d3d2f99465cbadad0497635039 | [
"BSD-3-Clause"
] | permissive | chromiumembedded/cef | f03bee5fbd8745500490ac90fcba45616a29be6e | f808926fbda17c7678e21f1403d6f996e9a95138 | refs/heads/master | 2023-09-01T20:37:38.750882 | 2023-08-31T17:16:46 | 2023-08-31T17:28:27 | 87,006,077 | 2,600 | 454 | NOASSERTION | 2023-07-21T11:39:49 | 2017-04-02T18:19:23 | C++ | UTF-8 | C++ | false | false | 2,489 | cc | cef_stream_resource_handler.cc | // Copyright (c) 2012 The Chromium Embedded Framework 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 "include/wrapper/cef_stream_resource_handler.h"
#include <algorithm>
#include "include/base/cef_logging.h"
#include "inc... |
4a6ca9993185c0ba5177fb674fb5cd2627d8ebcf | 1ee22832b8fe7af27144e4877912415d5dbcf84c | /pointer_to_structure.cpp | 931164eb1fab33bed506101e4717822af7dfd12f | [] | no_license | prashantmaurya1309/CplusPlus | 3f35a048c4fa62692787d204d01a115ca8b01a97 | f73ad21d61b937ea99cc2a2c12bfe26be0abae62 | refs/heads/main | 2023-04-30T03:44:36.333042 | 2021-05-23T07:46:53 | 2021-05-23T07:46:53 | 369,990,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | cpp | pointer_to_structure.cpp | #include<iostream>
using namespace std;
#include<string>
struct pointer_to_structure
{
/* data */
string name;
int age;
double salary;
};
int main()
{
pointer_to_structure p1;
cout<<"enter details of p1: "<<'\n';
cin>>p1.name;
cin>>p1.age;
cin>>p1.salary;
... |
62336b4a4bd2364b984aa015735a4fcc4a9b464b | f6606fc30fc01a27e9214434e174d803f06c131b | /ReferenceCast/main.cpp | 986e2508639915a4cbf7137bcae0f0c1de049c25 | [] | no_license | AnkaChan/MyTestCodes | dd6875e4b50bf66f416059b276f7b0ba9c230769 | 66c14bc068d32b60c0b39b8c26c7cfc525c8d612 | refs/heads/master | 2021-07-09T05:21:40.615786 | 2019-01-25T05:21:11 | 2019-01-25T05:21:11 | 109,557,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <string>
#include <ctime>
using std::cout;
using std::endl;
using std::vector;
int main(int argc, char** argv) {
std::vector<long long*> vec1(1);
std::vector<long*> & vec1Ref = (std::vector<long*> &)vec1;
long long a = 0;
long long * pA = &a;
long & aRef = (long&)a... |
c3c942aa9c5667e202f880f7bef6016cc8dcc5f6 | 875bf57f5cab101c341b0ce38dcaf7a9f63e3534 | /tests/2015/23.cpp | e0eeffffe7f91d1fe9fadca5aad69d0cbdcba951 | [
"MIT"
] | permissive | voivoid/advent-of-code | 91c212137f60b9b619c3735816154c3c74ba3f18 | efc02f558ad7718d02dfc205fadeba6b857ce4ae | refs/heads/master | 2021-10-25T18:51:33.445956 | 2021-10-12T20:47:44 | 2021-10-12T20:47:44 | 136,576,573 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | 23.cpp | #include "boost/test/unit_test.hpp"
#include "AoC/2015/problem_23.h"
#include "aoc_fixture.h"
using namespace AoC_2015::problem_23;
namespace
{
auto get_input()
{
return R"(inc b
jio b, +2
tpl b
inc b)";
}
} // namespace
BOOST_FIXTURE_TEST_CASE( problem2015_23_1, AocFixture ... |
1fd276df03508b8f5c31f63ced528b2da036aadc | 214a5df7ee9c3f1fb2506f32bcaa4d34c1abf732 | /src/include/Carna/qt/SpatialListModelDetails.h | ebd97bb835ca302cfdfb0bb02dd73b5d9815ebcb | [
"BSD-3-Clause"
] | permissive | HOOSHANKAVOSHBORNA/CarnaQt | 50a90deea5371554229699ad42805436455c3f1e | e805e4cf9027d06fcadb9189abe40e697358079a | refs/heads/master | 2023-03-17T13:01:55.007896 | 2015-12-18T14:30:44 | 2015-12-18T14:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | h | SpatialListModelDetails.h | /*
* Copyright (C) 2010 - 2015 Leonid Kostrykin
*
* Chair of Medical Engineering (mediTEC)
* RWTH Aachen University
* Pauwelsstr. 20
* 52074 Aachen
* Germany
*
*/
#ifndef SPATIALLISTMODELDETAILS_H_0874895466
#define SPATIALLISTMODELDETAILS_H_0874895466
/** \file SpatialListModelDetails.h
* \brief ... |
f483a2947a6166b3c3e0ef4e6e0f5402bc863b5c | 2dbeb203b9d85e1af746f21fc62ec1abd21a72aa | /c/relationship_client/relationship_client.cpp | 71628fd181c489259e42fcf292e93202985c75f4 | [
"MIT"
] | permissive | ox-w-lbs/small-world-graph | 08c57499af1bac7dd8175da1c4468566b1e58a06 | 7fd5d1ac44dc9c88390d3396a13ec2dd03076e5d | refs/heads/master | 2023-04-01T07:50:25.343437 | 2021-03-30T18:05:16 | 2021-03-30T18:05:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,653 | cpp | relationship_client.cpp | /* Relationship Client Implementation */
#include "relationship_client.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <errno.h>
#include <err.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/file.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/wait.h>
#include... |
f2a5979d49199bde7e7673bceff1c42412e87561 | cd0121f79d83c43058fade280e6cdc4ce971cc52 | /subarray_product.cpp | 19548284a4f19104e339e8b536853e1f82bf031a | [] | no_license | dpariag/leetcode | d88ef62f29b7546168adebe6749a561cfb1da889 | e34830429fd9a5695d9ac7f21a5334412f78e8c8 | refs/heads/master | 2021-01-11T08:43:25.205998 | 2019-12-02T05:36:53 | 2019-12-02T05:36:53 | 69,517,949 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | cpp | subarray_product.cpp | // Leetcode: https://leetcode.com/problems/subarray-product-less-than-k/description/
// Given a non-empty array of positive integers, count the number of subarrays whose product is
// less than k.
// Brute Force: Generate all subarrays and compute their product. O(n^3) time.
// Better: Use a sliding window over the a... |
c333e236bfaa3be590c58cd93e0154fb591766ac | 8805f1f1850b022c5380a91d1f4e752d5b3c01fa | /989/E.cpp | a7287b906c266405e3f1a33820cc622c17f98f0e | [] | no_license | smhx/codeforces | 06f256736ed7f24cc956b887ac55c565be9cc2f7 | 17b76e1d9a07c1a4653d1b3487d68e447f51eda6 | refs/heads/master | 2020-03-16T20:21:32.688123 | 2018-08-03T14:08:55 | 2018-08-03T14:08:55 | 132,955,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,307 | cpp | E.cpp | #include <bits/stdc++.h>
#define LOCAL
#ifdef LOCAL
#define DEBUG(fmt, ...) printf(fmt, ##__VA_ARGS__)
#else
#define DEBUG(fmt, ...)
#endif
using namespace std;
#define szof(v) ((int)(v).size())
#define allof(v) begin(v), end(v)
typedef long long ll;
typedef long double ld;
typedef pair<int, int> ii;
typedef pair<ll, ... |
ac53e3d1200ec65812be4f292d664edad27bdf55 | 5298705370c757d8846d409382f7dcb8450d48b8 | /wbs/src/UI/ImportDataDlg.h | 29a25e7b1473bcf65bc380e602a4e58c4a6ca148 | [
"MIT"
] | permissive | RNCan/WeatherBasedSimulationFramework | 3d63b6a5fd1548cc5e5bac840f9e7c5f442dcdb0 | 05719614d2460a8929066fb920517f75a6a3ed04 | refs/heads/master | 2023-07-19T21:37:08.139215 | 2023-07-13T02:29:11 | 2023-07-13T02:29:11 | 51,245,634 | 7 | 2 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,002 | h | ImportDataDlg.h | //******************************************************************************
// Project: Weather-based simulation framework (WBSF)
// Programmer: Rémi Saint-Amant
//
// It under the terms of the GNU General Public License as published by
// the Free Software Foundation
// It is provided "as is" w... |
0226040e07cd7e2a2a80f920bfad932caf638130 | 3be43bd478102c3a70d1944a1832da163d025e31 | /game/engine.h | 9ff3f3acdee662c7de9846d2660949437a8c0cb6 | [] | no_license | 10098/braveball | 8930704f9c8d213ad8ec9eeefd71a5da06031a39 | ddf211d5efec02fd8f842dde0c9661d95c771cb7 | refs/heads/master | 2016-08-08T11:51:43.868198 | 2013-01-02T21:33:45 | 2013-01-02T21:33:45 | 7,393,633 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | h | engine.h | /// @file game/engine.h
/// @author grigoryj
#ifndef ENGINE_H
#define ENGINE_H
#include "game/scene.h"
#include "graphics/graphics.h"
#include "graphics/font.h"
#include "sound/sound_system.h"
#include "util/clock.h"
#include "util/resource_manager.h"
#include <unordered_map>
#include <memory>
namespace game
{
/... |
f98dab9c4e0c6f1ae5f5614964d92c694b420f39 | 23e1116a76b8a914eb40463f91b4a97a1c7f2b29 | /libs/chessx-pgn/database/bitboard.cpp | 5c29848508d51300d80dafad4b01f3e312caf973 | [
"MIT"
] | permissive | loloof64/ChessTrainingVsEngine | 6b69f16865a04095cc423319c8c31e49387d0904 | 6950b5f4adf6e6bc7745884f86f994e185c3ffb4 | refs/heads/master | 2023-02-17T12:08:29.678745 | 2021-01-15T19:49:29 | 2021-01-15T19:49:29 | 280,382,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,323 | cpp | bitboard.cpp | /***************************************************************************
* (C) 2003 Sune Fischer *
* (C) 2005-2006 Marius Roets <roets.marius@gmail.com> *
* (C) 2005-2009 Michal Rudolf <mrudolf@kdewebdev.org> *
* ... |
f112d64003a542177a8671f9dd48599ecbc6d4f7 | 0d423538336b5067781fb76c0fb6ac1daa3d0ccb | /1_NMLT/LyThuyet-T4/ktra_SNT.cpp | 528f357a8a95fef58f66c1b00f7b7646b4b42571 | [
"MIT"
] | permissive | NhatPhuong02/HCMUS-Lectures | 73f098c6322133116dc9f57423f1433bf32a5730 | b376e144e2601a73684e2ff437ab5c94a943909c | refs/heads/master | 2022-01-13T01:52:40.707561 | 2018-06-16T17:22:19 | 2018-06-16T17:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | ktra_SNT.cpp | #include "ktra_SNT.h"
#include <math.h>
#include <stdio.h>
int ktra_SNT(int n)
// xuat ra 1 neu la so nguyen to
// xuat ra 0 neu khong phai so nguyen to
{
if (n == 1)
return 0;
for (int i = 2; i <= sqrt((double)n); ++i) {
if (n % i == 0) {
return 0;
}
}
return 1;
} |
635562f7bfd2e32f2f01a5ace926fc5c279f0898 | 92a6d7a3f39c94873334af1e0e08b092efe2dfe2 | /tests/rwlock/rwlock_test.cc | d9991b78b58a10d8a754d8e39926309d2d0bb0f7 | [
"Apache-2.0"
] | permissive | blockspacer/platform | 7d86a69aa7ec9283a13e48cd0eacc225279c584a | 615a51a743832458bae79a866f4c7943bf7d252e | refs/heads/master | 2023-02-08T06:21:57.093076 | 2021-01-05T10:06:23 | 2021-01-05T14:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,733 | cc | rwlock_test.cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2019 Couchbase, Inc
*
* 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
*
* h... |
378701ed7fcdf905245aaf0250ab6b1efbd44dba | 1bf3acaa0749a332101e69bc54304d9833a45666 | /CPP08/ex02/mutantstack.hpp | ffcc7da0d620ce90ae6d28d16e5b7274931fc8c9 | [] | no_license | mspinnet/CPP_modules | 7ba0644177180d8265fb312abf706383ebecd5fb | 77567125c983840ceea05224326b3c544cde676a | refs/heads/master | 2023-06-07T03:39:50.318969 | 2021-07-02T09:33:33 | 2021-07-02T09:33:33 | 382,296,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,989 | hpp | mutantstack.hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* mutantstack.hpp :+: :+: :+: ... |
74453b34182c66feb2e4b97fefa7a6ea48dc0545 | 1c7348d7860eff80b149699bc17e4d64317a24bd | /touphScript/kernel/kernel.cpp | 4dffbfaa90924ac40441dcffe3999fd5b72ef891 | [] | no_license | ser-pounce/ff7-tools | 9d1d239584602800281f745d897ebf71139c8621 | aaf61dfe0ab3da73d2b5ddc3246eb38ca7fec268 | refs/heads/master | 2021-01-20T18:39:22.722767 | 2016-08-06T12:56:39 | 2016-08-06T12:56:39 | 65,082,377 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,470 | cpp | kernel.cpp | #include "touphScript/kernel/kernel.h"
#include "touphScript/string.h"
#include "ff7/kernel/kernel.h"
#include "ff7/kernel/init_data.h"
#include "util/copy.h"
#include "util/filesystem.h"
#include <fstream>
namespace fs = boost::filesystem;
void touphScript::kernel::dump(std::string const& kernel,
std::string con... |
a22fb767644bab6f2520fbacc3c8f4e33f59fafd | 832aa1de93c1f275b9b161b10cfacbad9e3d999e | /Mezzanine/src/Network/ftpmessage.cpp | a4c84a39a4e3d6947a931d5a7cbef010b5ff4afa | [] | no_license | BlackToppStudios/Mezzanine | 45253d2affffe00128dab4d151b81ace0faed8b1 | 023fcc56a0e6762cc342c0ec70467fd52209dc39 | refs/heads/master | 2021-06-22T11:18:17.628354 | 2021-02-03T04:16:49 | 2021-02-03T04:16:49 | 2,908,531 | 13 | 5 | null | 2018-09-22T06:18:02 | 2011-12-04T03:19:59 | C++ | WINDOWS-1252 | C++ | false | false | 7,411 | cpp | ftpmessage.cpp | // © Copyright 2010 - 2017 BlackTopp Studios Inc.
/* This file is part of The Mezzanine Engine.
The Mezzanine Engine is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or... |
80a0166d45aef3a179d15b636a4fedc8b19cffe5 | 066c3b3104410a4baf9308ff9e16205a2c88bb74 | /src/lexical/classifier.cpp | e81480be3e69c1562c13641f4b1ee3b5402e9bad | [
"Unlicense"
] | permissive | notYuriy/ionlang | 9e56b1b37b80845050cffde376b6659132fbf711 | c15755554266cdb39f2158f4839eb016955dd626 | refs/heads/master | 2022-12-29T03:52:10.881985 | 2020-09-30T02:23:49 | 2020-09-30T02:23:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | cpp | classifier.cpp | #include <ionlang/lexical/classifier.h>
namespace ionlang {
bool Classifier::isSymbol(TokenKind tokenKind) {
return TokenConst::getSymbols().contains(tokenKind);
}
bool Classifier::isNumeric(TokenKind tokenKind) {
// TODO: Need to define numeric group.
return false;
}
bool... |
7101c7db318264c32ca6767d65355d60d978adf1 | e05d5ccfc46bdc20657097ca68cf98d7749fbb0e | /Math/Number Theory/UVA10193 - All You Need Is Love/Code.cpp | 6ea03d3b2509e0e8171fb38be35c521ffd7556be | [
"MIT"
] | permissive | adelnobel/Training-for-ACM-ICPC-problems | 9abef9705e0e15a15fc04c264bc61237262a4a09 | 8030d24ab3ce1f50821b22647bf9195b41f932b1 | refs/heads/master | 2020-05-02T06:10:14.761012 | 2014-10-30T10:49:32 | 2014-10-30T10:49:32 | 10,177,129 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | Code.cpp | #include <vector>
#include <cstdio>
#include <cstring>
#include <queue>
#include <cctype>
#include <cmath>
#include <algorithm>
#include <iostream>
#include <bitset>
#include <map>
#include <complex>
#include <ctime>
#include <numeric>
using namespace std;
typedef long long ll;
char s1[40], s2[40];
int conv(char s[... |
ca2d4300e1dc64569997c30e616039b2b48d78ba | 4bb0da690d5ffdc6d9caf38ae8ff4edfebf435d6 | /uva_260.cpp | 1897785f085ab0ddf719635e933a87182a6dc315 | [] | no_license | RakeshIIITD/Uva | eb509ede9bf3c4e9d993376396ca26426bb719bc | 4eb23439ab1a2d757ad6334ddf49aa48b31f7d52 | refs/heads/master | 2020-07-29T21:09:14.193282 | 2019-12-28T13:44:52 | 2019-12-28T13:44:52 | 209,959,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cpp | uva_260.cpp | // `roCKy FireBirD
#include<stdio.h>
#include<iostream>
#include<sstream>
#include<string>
#include<string.h>
#include<limits.h>
#include<algorithm>
#include<vector>
#include<map>
#include<set>
using namespace std ;
#define FOR(i,a,b) for( int i = int(a) ; i<=int(b) ; i++)
int visited[201][201] ;
int... |
e4b8d1ae646b9bc41f8707a8ad91acf4b74a135f | 7d579dfb059b32e259427440b9fbed690efc9f52 | /Files/SCHEDULE/SCHEDULE-13045916.cpp | 23a5a85964e0b0f364a55f107b93605078b98cc1 | [
"MIT"
] | permissive | nishant-khanorkar/CodeChef-Submissions | d6e571d79b73e8f888d28cfd7ae942c643717fa9 | 4019e859d95bfa7fe763acf330c98f5f54b7b185 | refs/heads/master | 2020-03-19T22:10:49.238701 | 2018-09-19T15:56:47 | 2018-09-19T15:56:47 | 136,958,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | cpp | SCHEDULE-13045916.cpp | #include <bits/stdc++.h>
#include <stdlib.h>
#define ll long long
using namespace std;
typedef struct foo
{
ll len;
ll max;
ll kdis;
ll pre;
}foo;
foo tpl;
int cmp(const void* a,const void* b)
{
foo *k1=(foo *)a;
foo *k2=(foo *)b;
if(k1->pre < k2->pre)
return 1;
... |
b0690e6f80f783c9535cd51ea1ac2549a3ed69ed | bd2c7d8e4728d04115c772f43b878db562e76638 | /lab4/corgi.h | c34e6e7e7982d83b2973c48f052d8886f0dee131 | [] | no_license | billpwchan/COMP-2012-Programs | c86c92d681cf00d9abca431e3fb915dc7afffaab | 726fc3b0695a28187acc548033b452ad4def3f25 | refs/heads/main | 2023-02-05T02:54:20.869804 | 2020-12-27T20:44:02 | 2020-12-27T20:44:02 | 324,845,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | corgi.h | #ifndef CORGI_HPP_
#define CORGI_HPP_
#include "dog.h"
class Corgi : protected Dog {
public:
//Constructor of Corgi
Corgi(int heartbeat, int max_heartbeat, int min_heartbeat, int weight, int speed);
//Destructor of Corgi
~Corgi();
//print the info of the Corgi, this function will call Dog::print... |
c771be471230485779d00b42874622b4da2e178c | 71cae6e39c666be24a1e5c55e110a15a0d65faed | /Stars/main.cpp | 54cf5845ceea2e57b565d4da8d7bc8a66dd37e2e | [] | no_license | crazyjerryh/Practice | 18bb7a885e7652ba867fbbe8cf844d56cf19eb29 | e8862083d37066dac1a395c652e2f36793ab48e3 | refs/heads/master | 2021-01-18T13:57:26.490761 | 2015-10-29T14:08:45 | 2015-10-29T14:08:45 | 33,871,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | main.cpp | #include <stdio.h>
#include <memory.h>
#include <algorithm>
using namespace std;
#define maxn 32010
struct _point{
int x,y;
}a[maxn];
typedef struct _point point;
int n;
int tree[maxn],sum[maxn];
int m;
void update(int x,int num){
while(x<=m){
tree[x]+=num;
x=x+(x&-x);
}
}
int getsum(int x){
int ans=0;
w... |
19c8281c4e989e4634a3a6fd27869dedb6ed85dc | fa1ad2e2ac7e376fc7cb3b3a6e1bb88eed3e80be | /olap/ByConity/src/Functions/uptime.cpp | 02454df4de522079634776023245ac358aaf6298 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | alldatacenter/alldata | 7bc7713c9f1d56ad6b8e59ea03206d1073b7e047 | 8d5f9a2d49ab8f9e85ccf058cb02c2fda287afc6 | refs/heads/master | 2023-08-05T07:32:25.442740 | 2023-08-03T13:17:24 | 2023-08-03T13:17:24 | 213,321,771 | 774 | 250 | Apache-2.0 | 2023-09-06T17:35:32 | 2019-10-07T07:36:18 | null | UTF-8 | C++ | false | false | 1,245 | cpp | uptime.cpp | #include <Functions/IFunction.h>
#include <Functions/FunctionFactory.h>
#include <DataTypes/DataTypesNumber.h>
#include <Interpreters/Context.h>
namespace DB
{
/** Returns server uptime in seconds.
*/
class FunctionUptime : public IFunction
{
public:
static constexpr auto name = "uptime";
static FunctionPt... |
88aa843201f3d5e89c77a9321d8702f3617b0cb8 | cb721728f664341789c372f5f56b6e6852bc33e6 | /test/bindings/wren_bindings.h | bc013d928912b731e5f04cf90517db0dac759e40 | [
"MIT"
] | permissive | darmie/wrenegade | ed9115d63a13bafbc13ddb94030916d776ffa81a | cbe874a6c87be6684e65d8d9d1c4562f3d6b2674 | refs/heads/master | 2020-05-03T09:41:04.785758 | 2019-08-01T19:22:30 | 2019-08-01T19:22:30 | 178,560,768 | 18 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 350 | h | wren_bindings.h | #ifndef _WREN_BINDINGS_
#define _WREN_BINDINGS_
extern "C"
{
#include <wren.h>
}
namespace wrenegade {static const char* BIND_PATH = "bindings/wren";
void bindClass(const char* module, const char* className, WrenForeignClassMethods* methods);
WrenForeignMethodFn bindMethod(const char* module, const char *className, c... |
a0453c9187e2e6adfca11c4b04519c4e9b3c8306 | dc215a163a9a1ca4808be876cf4a7e491886f5eb | /src/raytracing/bvh/SplitBVHBuilder.h | 70ded9b4a6fcaa2ad3f65f5e043840c00660cd30 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | Victorique-GOSICK/EAVL | d30df5dfb425ebf476ad7cf7caf6bcd44179b110 | 114924a92aed4f1adfcf4f751151d9355c593944 | refs/heads/master | 2021-05-14T19:05:13.455171 | 2017-09-26T13:34:08 | 2017-09-26T13:34:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,789 | h | SplitBVHBuilder.h | /*
* Copyright (c) 2009-2011, NVIDIA Corporation
* 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
* ... |
c8863af2a6c2ba44f3ab666a513f10bf02263851 | e10a6d844a286db26ef56469e31dc8488a8c6f0e | /scann/scann/base/single_machine_factory_options.cc | ffc6bb80645e1134e84021d3028fad22835a5463 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | Jimmy-INL/google-research | 54ad5551f97977f01297abddbfc8a99a7900b791 | 5573d9c5822f4e866b6692769963ae819cb3f10d | refs/heads/master | 2023-04-07T19:43:54.483068 | 2023-03-24T16:27:28 | 2023-03-24T16:32:17 | 282,682,170 | 1 | 0 | Apache-2.0 | 2020-07-26T15:50:32 | 2020-07-26T15:50:31 | null | UTF-8 | C++ | false | false | 1,389 | cc | single_machine_factory_options.cc | // Copyright 2022 The Google Research 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... |
602e9cb12ee16fb131bc3670f6919bad52ee6f95 | b2193143b181c2a4f3e9d1aaba73200fe0eb4948 | /ProcessManager/CMyDialogResource.cpp | 9478c8cfce831b38f0cb5c972f6efb3cd63f85ef | [] | no_license | qpal2837/processManage | 57d6fe9da1d4444d8b1d0abffd2ea1bbc9d46bf4 | 2411e58f4f7e624964167f1b878d0ad933e68e6c | refs/heads/main | 2023-03-26T08:13:18.065940 | 2021-03-30T13:14:02 | 2021-03-30T13:14:02 | 353,004,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,256 | cpp | CMyDialogResource.cpp | // CMyDialogResource.cpp: 实现文件
//
#include "pch.h"
#include "ProcessManager.h"
#include "CMyDialogResource.h"
#include "afxdialogex.h"
// CMyDialogResource 对话框
IMPLEMENT_DYNAMIC(CMyDialogResource, CDialogEx)
CMyDialogResource::CMyDialogResource(CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_DIALOG1, p... |
205d53d183d998f3aa8af0e41012e5992572361c | 6709d0dce1df61c44e90befdcfba07b100db1f2c | /libTicTacToe/ManualPlayer.h | 9415c7bbf581f36da138adf0625abc60701b2509 | [] | no_license | oclancy/GTest | 850e0fae41fa9eef383c925cc1bc1d214c4f0789 | 13d59485b266a7374ed37a022e3d540e459018ce | refs/heads/master | 2021-01-10T05:47:53.136346 | 2015-10-09T08:01:14 | 2015-10-09T08:01:14 | 43,941,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | ManualPlayer.h | #pragma once
#include "Player.h"
namespace libTicTacToe
{
/// <summary>
/// Interactive implementation of CPlayer .
/// </summary>
class CManualPlayer : public CPlayer
{
public:
/// <summary>
/// Initializes a new instance of the <see cref="CManualPlayer"/> class.
/// </summary>
/// <param name="token">T... |
d59b6ccb0762199db480b5e33b49815a6a07e91d | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/wmi/wbem/providers/jobobjectprov/factory.cpp | 7bdbf1d6ce735211fcccee03988b23185b84127d | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 6,057 | cpp | factory.cpp | // Copyright (c) 2000-2001 Microsoft Corporation, All Rights Reserved
// Factory.cpp
#include "precomp.h"
#include <iostream.h>
#include <objbase.h>
#include "CUnknown.h"
#include "factory.h"
#include "Registry.h"
// Set static members
LONG CFactory::s_cServerLocks = 0L ; // Count of locks
HMODULE CFact... |
54bea3757a17fe09de80c8d5bc0e76a4fcf627d4 | e6d615cccd0153b15437301374ced513453a7b34 | /header_tupro.h | 7e29292dcbbd45c26adca0827c1d0a586db513bd | [] | no_license | hilaler/breadth-first-search | 03ee2fd14794f3a67ab2556f3631449ed3ccd67e | e2208a2cb14633b3f6c56c7f45c1644809380193 | refs/heads/master | 2022-11-13T12:02:57.773224 | 2020-07-02T15:05:00 | 2020-07-02T15:05:00 | 276,676,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | h | header_tupro.h | #ifndef HEADER_TUPRO_H_INCLUDED
#define HEADER_TUPRO_H_INCLUDED
#include <iostream>
#define info_node(P) P->info_node
#define next_node(P) P->next_node
#define first_edge(P) P->first_edge
#define info_edge(P) P->info_edge
#define next_edge(P) P->next_edge
using namespace std;
typedef struct node *adr_node;
typedef stru... |
e3d0b0d4c77075d4bb2e710c141aff7d2cb065a4 | fc0bd48ab30a93dfefa1eebfb17c2dd808a264c2 | /BOJ_2437_저울.cpp | 663c3ebba8d9bb34b490672e83f33d544c277743 | [] | no_license | IceStove/Algo | 403d12e22974d84480b6ceab3f72774f8983f885 | 6c66dc6c977493ca5b047bcacbbb4f8cd536c90a | refs/heads/master | 2022-12-02T01:44:29.112669 | 2022-11-23T05:46:02 | 2022-11-23T05:46:02 | 213,150,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | BOJ_2437_저울.cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <queue>
#include <vector>
#include <stack>
#define MAX 1002
using namespace std;
int chu[MAX];
int N;
int Answer = -1;
void printChu() {
for (int i = 0; i < N; i++) {
printf("%d ", chu[i]);
}
printf("\n");
}
int main(void) {
scanf("%d", ... |
03e50dbf9d9273419f43e58c93d1811568a73712 | b3adba10b38f27086b856c45f59eefce7ee91c82 | /Demo008/src/AfRegionSelector.h | ac66e9bb253410c737f07ddca62e126c0bd7648b | [] | no_license | DLily0129/QtProjects | 927f750b573df0addee4a3d912004767688c89f9 | f29b86230f850ffede5b9273817302dae3a88080 | refs/heads/master | 2021-01-11T22:16:53.625465 | 2017-02-06T14:56:56 | 2017-02-06T14:56:56 | 78,942,293 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 946 | h | AfRegionSelector.h | #ifndef _REGION_SELECTOR_H
#define _REGION_SELECTOR_H
#include <QDialog>
#include <QtGui>
#include <QtGui/QPixmap>
/* AfRegionSelector
图像区域选择器。加载一个图像,选择一个区域。
作者:邵发
版本: 2016-03-14
官网: http://afanihao.cn
本代码为 C/C++学习指南(实战篇) 官方示例代码,最新版本请到官网下载
*/
class AfRegionSelector : public QDialog
{
Q_OBJECT
public:
Af... |
57da6788a53359218f5ad99f27480601ab54e832 | d924cea389a79904e54c9f3fb77a93569c0b0342 | /lab11/Arduino-master/libraries/Radar/radar.h | 85ac60afb8226dbfc5089b3277b80c545e9211e8 | [
"MIT"
] | permissive | ianchen0119/IoTDevicesPlatforms | 7c33ff33baa889c31928f2092d5d37c8368e9c8c | 9f53f8685c0a27e99f5f7607dc0e8192b2abd2d4 | refs/heads/master | 2023-03-02T14:44:45.622695 | 2021-02-08T15:07:06 | 2021-02-08T15:07:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | h | radar.h | #pragma once
//
// FILE: radar.h
// AUTHOR: Rob Tillaart
// VERSION: see RADAR_LIB_VERSION
// PURPOSE: Arduino library for a pan tilt radar.
// URL: https://github.com/RobTillaart/RADAR
#include "Arduino.h"
#define RADAR_LIB_VERSION "0.1.3"
#ifndef RADAR_POSITIONS
#define RADAR_POSITIONS 10
#endif... |
6032f3077cf63c442424f818662954d66429fd78 | 72852e07bb30adbee608275d6048b2121a5b9d82 | /algorithms/problem_1766/other3.cpp | c86d6f8cccc928959edcea2e26a2015582f40518 | [] | no_license | drlongle/leetcode | e172ae29ea63911ccc3afb815f6dbff041609939 | 8e61ddf06fb3a4fb4a4e3d8466f3367ee1f27e13 | refs/heads/master | 2023-01-08T16:26:12.370098 | 2023-01-03T09:08:24 | 2023-01-03T09:08:24 | 81,335,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp | other3.cpp | class Solution {
public:
int _gcd(int a, int b){
int temp;
while(b){
temp = a%b;
a = b;
b = temp;
}
return a;
}
void find(vector<vector<int>> &data, vector<int>& nums, vector<int>& ans,
vector<bool> &check, vector<vector<int>>... |
5232d2ca0642b40d4a83efafd7cce99ce12e94f9 | 69baadee0f95c51da12530e6db67a1fb993ebe0d | /Engine.cpp | 0d84e829f171e0d08868c719e5477962bd3c7aae | [] | no_license | Dule17/Chess | 9c451f2a0895949827614472b860d9898966c937 | 8eccf4a9c38b5c94b80f69904841a33bdec8fc0a | refs/heads/master | 2023-06-17T01:46:37.405970 | 2021-07-07T06:33:57 | 2021-07-07T06:33:57 | 383,698,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129,852 | cpp | Engine.cpp | #include<GL\glew.h>
#include "Engine.h"
Engine::Engine()
{
tabla_n=8;
igra_u_toku=0;
pocetna_pozicija_i=-1,pocetna_pozicija_j=-1;
tacka_x,tacka_z;
igrac_igra=1;
beli_sah=0;
crni_sah=0;
beli_broj_poteza=0;
crni_broj_poteza=0;
partija_broj=1;
}
void Engine::createFrameBufferObject(int WindowWidth,i... |
3053bc59fecc24064475757e0f41a372fd52b074 | 232406e50d8de38ad18c68a05fba451712e6ed09 | /dp/扑克牌中的顺子.cpp | 2d653c9995402ddf3cd6673f0c50088a71bb2b95 | [] | no_license | fee1ng/Leetcode | 7dbac681d189b90a8c09fd4f191323eaa00529a5 | a90c860cd978909fad8a5a4a3a2533e9540144a1 | refs/heads/main | 2023-06-30T21:04:52.419038 | 2021-07-25T13:54:34 | 2021-07-25T13:54:34 | 362,314,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | 扑克牌中的顺子.cpp | class Solution {
public:
bool isStraight(vector<int>& nums) {
int f1 = 0;
sort(nums.begin(), nums.end());
for (int i = 0;i < 4;i++)
{
if (nums[i] == 0)
{
f1++;
continue;
}
if (nums[i] == nums[i + 1])
... |
b130180957b61c1cabf4568b8cea25bf6cb61765 | fca377708b3aada87d65e1358ec5305a069d48cd | /ConsoleApp_C++/ProjektCPP_PO/Serie.h | 1b8cdab36ea45d97bccfd01409a06613f1e2f5ba | [] | no_license | Simon13ws/Uni_Classes_Projects | d20ab2571e6cd10254609d721689fde609dd90c7 | ddbbe32868c9cb4332dcad1b9ba266f296ad8c86 | refs/heads/master | 2020-05-02T06:00:08.631577 | 2019-05-17T09:27:13 | 2019-05-17T09:27:13 | 177,784,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | Serie.h | #pragma once
#include "Video.h"
class Serie : public Video {
int episodes=0;
int seasons=0;
public:
int IMDB_rank = 0;
Serie(); //Konstruktor, w ktorym uzytkownik jest pytany po kolei o dane do kazdego pola w obiekcie (poza statusem watched, ktory mozna zmienic w edycji)
Serie(char); //Do tworzenia pustego obiektu... |
3b9bdbb3f885423d4340cee5b3bb9d67d25b715d | 583b2b81e0e7ac3c910bc00204f877aa9c48bdae | /Analysis/TagAndProbe/test/TurnOnPlotMacro.cpp | 8316f5d2340c1482cee88fae8d1a56b54764bfc8 | [] | no_license | danielwinterbottom/ICHiggsTauTau | 8c88a3322c8e362114a53c559634a7ecceb266d2 | 69f6b580ec1faa4e5b6ef931be880f939f409979 | refs/heads/master | 2023-09-01T17:49:18.865198 | 2023-02-07T13:14:15 | 2023-02-07T13:14:15 | 10,723,688 | 4 | 12 | null | 2023-09-07T08:41:44 | 2013-06-16T18:08:22 | Python | UTF-8 | C++ | false | false | 3,802 | cpp | TurnOnPlotMacro.cpp | #include "TFile.h"
#include "TCanvas.h"
#include "TH1.h"
#include "TGraphErrors.h"
//#include "triggerEff_mine.C"
#include "TF1.h"
#include "TMath.h"
#include "TLegend.h"
#include "boost/lexical_cast.hpp"
#include <string>
#include "UserCode/ICHiggsTauTau/Analysis/Core/interface/Plot.h"
double efficiency(double m, dou... |
b4473be8b013425de51873c875d27d418ebaa5e3 | 01e21d29af961df02e516e729c26c381ce1d485d | /modules/squarepine_core/text/LanguageHandler.cpp | fa337169a200287d5880c32c2d2a629e9f9f2a68 | [
"ISC"
] | permissive | thinium/squarepine_core | 1f92848d668b9af48124e24891c2e1b85fe74532 | 9d73b0820b8b44129b62a643785e8a7d4a7035b0 | refs/heads/main | 2023-07-16T04:30:09.089866 | 2021-08-06T14:25:10 | 2021-08-06T14:25:10 | 383,528,340 | 0 | 0 | NOASSERTION | 2021-07-06T16:10:59 | 2021-07-06T16:10:58 | null | UTF-8 | C++ | false | false | 7,964 | cpp | LanguageHandler.cpp | namespace
{
const auto languageFileExtension = String (".language");
}
//==============================================================================
LanguageCode getLanguageCodeFromISO6391 (const String& s)
{
if (s.equalsIgnoreCase ("en")) return LanguageCode::eng;
if (s.equalsIgnoreCase ("fr")) return ... |
6f1606a12b2c478cec7865379646cb0a7f20d53e | 79fe90d5c8c3f6abe0c9f11731e729874f832022 | /141_Linked List Cycle/Solution_extraspace_success.cpp | 2b7f3baa1d97b89b4ca46f28cc60db665de6f1c7 | [] | no_license | ChiaYuLin/Leetcode | 59ee806729e32a5cbe09d68ccdb05761a79080cd | 3e36da877581aa5c25c27c87f5854c27ffcc1888 | refs/heads/master | 2021-01-20T05:31:59.064169 | 2018-03-25T04:56:06 | 2018-03-25T04:56:06 | 33,420,672 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | cpp | Solution_extraspace_success.cpp | /*
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
*/
#include <iostream>
#include <cstdlib>
#include <set>
using namespace std;
/*
Put the node into a set.
Compare whether the node is existed in the set.
If it is existed in the set, there is a cir... |
a48ab911add0f16e28b1b6729fc321b35ace6ac9 | ccc746be53b18d9284b60a99fb4f517e58cf4139 | /src/subsystems/chassis_profile_follower.cpp | 6cac19f93ebd443c88439ebb3d7501bf76d084e6 | [] | no_license | 77788J/77788J-TP-Mark-II | 0c4aaf6111dc7d324094534405871737cd1472d4 | 105bb25ef0e836021fae1b9bc6ecdd399c6a293b | refs/heads/master | 2021-10-21T08:39:30.232449 | 2019-03-03T20:43:28 | 2019-03-03T20:43:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,026 | cpp | chassis_profile_follower.cpp | // #include "../../include/subsystems/chassis_profile_follower.hpp"
// namespace chassis_profile_follower {
// // movement statistics
// float accel = 15; // acceleration of motors (mv/ms^2)
// float kp = 12.3; // proportional tuning parameter for feedback control
// float kp_turn = 40.0; // proportional tu... |
9573beb26f12a29dc1660ff45ce559e5a151f457 | 82aed836e7a3f0e8db372d809a7eee221f16a0c4 | /src/stepper-test_arduino/stepper-test.ino | 1b945c6fa9cf9f4abb03639d84cc7c33791bdfdd | [
"MIT"
] | permissive | elomage/santa-test | 525a03058df2d8a73adba9262628dd85333f6e62 | 44e012dd6993f396a147ff59465ab6dbcf71fffd | refs/heads/master | 2020-05-21T14:57:12.380712 | 2017-02-13T13:43:46 | 2017-02-13T13:43:46 | 62,857,667 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | ino | stepper-test.ino | /* LED Blink, Teensyduino Tutorial #1
http://www.pjrc.com/teensy/tutorial.html
This example code is in the public domain.
*/
//===== Prototypes =====
void myDelay();
//===== Data =====
// Comment below to enable the stepper controller all the time
#define LOWPOWER
#define BLINKRATE 200
#define DELAY_STEP 3
... |
ba3d33b593303b37288d1c214bceae64c9f27102 | da7c499625123f5d1a28e3d75b037523df11ccb5 | /devel/coda/src/rc/runControl/Xui/src.s/rcHelpAboutDialog.cc | 805c7a5febc040472769604aad9adaf85265dea2 | [] | no_license | emuikernel/BDXDaq | 84d947b0a4c0c1799a855dbe6c59e9560a8fc4e2 | cf678d3b71bdfb95996e8b7e97ad3657ef98262f | refs/heads/master | 2021-01-18T07:26:38.855967 | 2015-06-08T15:45:58 | 2015-06-08T15:45:58 | 48,211,085 | 3 | 2 | null | 2015-12-18T02:56:53 | 2015-12-18T02:56:52 | null | UTF-8 | C++ | false | false | 5,384 | cc | rcHelpAboutDialog.cc | //-----------------------------------------------------------------------------
// Copyright (c) 1994,1995 Southeastern Universities Research Association,
// Continuous Electron Beam Accelerator Facility
//
// This software was developed under a United States Government license
// described in t... |
2f728f591e09f76f160579dbaed0b40a0c797024 | a9a69d75423576d42cdb995a8a320c1a423e0130 | /2015-CaroloCup/sources/OpenDaVINCI-msv/libopendavinci/include/core/wrapper/WIN32/WIN32UDPReceiver.h | 7ba1e5fd4e97c801c6a5770e39365d950e6959e4 | [
"AFL-3.0"
] | permissive | Pedram87/CaroloCup | df23bd4dd57ff5eab8f8232f0f7e4aa7500c3215 | d97dd565acd4f11412032a9cf5c174d82b2ae285 | refs/heads/master | 2021-03-15T04:19:23.393383 | 2016-03-10T22:49:16 | 2016-03-10T22:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,035 | h | WIN32UDPReceiver.h | /*
* OpenDaVINCI.
*
* This software is open source. Please see COPYING and AUTHORS for further information.
*/
#ifndef OPENDAVINCI_CORE_WRAPPER_WIN32IMPL_WIN32UDPRECEIVER_H_
#define OPENDAVINCI_CORE_WRAPPER_WIN32IMPL_WIN32UDPRECEIVER_H_
// core/platform.h must be included to setup platform-dependent header files ... |
84f683ddfbef352a72adc98ea859c99afcbf2eb7 | fdc5b61ec9341c21086e17eb1497983caf2dc4d7 | /archive/Chapter 1/3N+1/a.cpp | f1585c75c6282c9a779c88454e1200b124071c27 | [] | no_license | madhav1928/ICPC-Programming-Challenges | 316dc0f3fc74a0df805c80b31486dbd2d69d2e0b | 3690d4d1dec4cfa6db3d8e795e5f648592dd2863 | refs/heads/master | 2021-05-29T11:06:14.490712 | 2015-06-18T18:45:12 | 2015-06-18T18:45:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | a.cpp | #include <iostream>
#include <vector>
#include <string>
using namespace std;
#define MAX 1000000
vector<long long> v(MAX);
unsigned long long hail(long long m) {
if(m < MAX && v.at(m) != 0) {
return v.at(m);
}
if(m == 1) {
v.at(m) = 1;
return 1;
}
int temp=0;
if(m%2 == 0) {
temp = 1+hail(m/2);
}else {
... |
05bcfc62313b1ae26053aa9382c770e6fcf2be60 | 64cc2ec70569bd42e37b7e3dab730b29ea913d91 | /constants.hpp | 53a8db891ed370089e673738ded04b5373cbd7a0 | [] | no_license | coryknapp/fourfortyfour | 94340edbfb7f39c9357c1f713c28ab8e4983885a | 515a2a0a8b4e77b988d57038efb221580c574537 | refs/heads/master | 2021-01-12T06:39:13.693329 | 2016-12-26T20:21:37 | 2016-12-26T20:21:37 | 77,405,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,379 | hpp | constants.hpp | /*
* constants.hpp
* Copyright (C) 2016 cknapp <cknapp@mbp.local>
*
* Distributed under terms of the MIT license.
*/
#ifndef CONSTANTS_HPP
#define CONSTANTS_HPP
#include <string>
#include <set>
#include <vector>
const std::set<char> c_separators =
{ 9, //character tabulation
10, //line feed
11, //line tabu... |
0cc5f06fce0a92c46f3c21c8b944a19ee13f415a | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc007/B/3509757.cpp | 19d25f643eff3ece277e67d3e9dfc0ae68e258ca | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | 3509757.cpp | #include <iostream>
#include <vector>
#include <functional>
#include <algorithm>
#include <string>
#include <map>
#include <cmath>
using namespace std;
int main()
{
int N, p;
cin >> N;
int a[20005];
int b[20005];
for (int i = 0; i < N;i++)
{
int p;
ci... |
4df651235c23636d7a68f27040359a0874a5389d | 90e7b9cdf3a26be781cdb016dfd41467aabfe897 | /src/plugins/contrib/wxSmith/wxwidgets/defitems/wxsmenueditor.cpp | 534dc2bff9f48ad7f769b1295f7b1f810d2f12bb | [] | no_license | Akhireddy/test1 | 3d25f8caa90ae231a398e596646583c31f25b5ec | a978e43d9db772617cc871f65967a8a76e33f182 | refs/heads/master | 2021-05-07T14:12:01.554716 | 2017-11-08T14:51:50 | 2017-11-08T14:51:50 | 109,842,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,647 | cpp | wxsmenueditor.cpp | /*
* This file is part of wxSmith plugin for Code::Blocks Studio
* Copyright (C) 2007 Bartlomiej Swiecki
*
* wxSmith is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at y... |
b3aa71443c60c02cb1dcb95dcc0ac8b01aae4d8b | c9e05d02afbb3360a498876a0bc9d68b1394b074 | /EduClient/subteacher/entergradeform.cpp | 4fa2d87a5acdd7d4e67ff688e501682218768d54 | [] | no_license | duier2018/EduMSForNetBase | 971cdb96ae8293f16685620aaa2a537a82b43327 | 7e908b75522e06cf25103c1f855e982ff5094d76 | refs/heads/master | 2020-07-06T08:45:36.584843 | 2019-08-18T04:31:03 | 2019-08-18T04:31:03 | 202,959,860 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | cpp | entergradeform.cpp | #include "entergradeform.h"
#include "ui_entergradeform.h"
#include <QMessageBox>
#include <QDebug>
EnterGradeForm::EnterGradeForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::EnterGradeForm)
{
ui->setupUi(this);
}
EnterGradeForm::~EnterGradeForm()
{
delete ui;
}
void EnterGradeForm::on_pb_sure_cl... |
3bb2d3a914aa735e7655a66b7de9b584936daf18 | 3135407540dd3a8a795a77494492868511edf7ee | /461. 汉明距离 .cpp | b20b7fe309350e57ded62f288af16d9b4a5606bd | [] | no_license | hrz123/algorithm | 93013154720a34aad82fedd88b6ff85340e9c7f1 | 56fc72f895cb16cc619b99b945f055a08422ec83 | refs/heads/master | 2023-02-26T12:45:48.641750 | 2021-02-07T03:42:36 | 2021-02-07T03:42:36 | 296,176,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | 461. 汉明距离 .cpp | //
// Created by Ruizhe Hou on 2020/10/7.
//
#include <bitset>
using namespace std;
class Solution {
public:
int hammingDistance(int x, int y) {
return bitset<32>(x ^ y).count();
}
};
|
3f5fa55d4d601f8ff324fd9381911c793b5ecac5 | 43b13b4717baa5b858ed973a86f0665db56ff237 | /RiseOfDarkness/Classes/SelectScene.cpp | 6697934076facae11feaa03f0eb907d35656081b | [] | no_license | hvduc97/RiseOfDarkness | 2f79fcc918642209ebd10ae2d2ca9f11ffc997b6 | cb1eb6a6c828d527108f42817aa07bf14e43bcd0 | refs/heads/master | 2020-11-30T03:56:08.337512 | 2019-12-26T16:38:19 | 2019-12-26T16:38:19 | 230,294,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,067 | cpp | SelectScene.cpp | #include "SelectScene.h"
#include "ui/CocosGUI.h"
#include "ResourceManager.h"
#include "InputNameScene.h"
USING_NS_CC;
using namespace ui;
Scene* SelectScene::CreateScene()
{
return SelectScene::create();
}
bool SelectScene::init()
{
if (!Scene::init())
{
return false;
}
auto visibleSize = Director::getIns... |
bb0a4092643cdb312b55c851d0ee0c2b9a7a0bee | 3af29124223df5d6a023f6896fd297b537943e9c | /forward_list().cpp | 0f6c86f64885c566957e7c3663845c07e3b1247b | [] | no_license | bashar404/STL | bebf23d5428c027b4e65898c498d93f55497a645 | c1d901338a6782be3a62f7e4effc4b112fcb9639 | refs/heads/master | 2022-12-15T21:26:37.069473 | 2020-09-17T22:19:12 | 2020-09-17T22:19:12 | 276,786,324 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,521 | cpp | forward_list().cpp | //Topic: forward list in STL
//forward list is a single LL, Introduced from C++11
//It differs from list by the fact that forward list keeps track of location of only next element while list keeps track to both next and previous elements,
#include<iostream>
#include<forward_list>
using namespace std;
int main()
{
f... |
c745450a2aec3327e0bd6da01a853b2f5078f74c | 70edeaa90b1e3cef4c1e64307f9e897918244a30 | /models/CpbStoryModel.cpp | fa51ef8cc30fc5bac658a27e145778a87c49a10b | [] | no_license | dmitrylis/CriticalPathBuilder | e42cee6406bf5e7da937028f3911dc1b4950e73c | 821571cb4850b2368706a961f5aff7f66b344e22 | refs/heads/master | 2022-11-06T07:22:17.019843 | 2022-10-28T12:01:06 | 2022-10-28T12:01:06 | 153,790,583 | 0 | 0 | null | 2022-10-28T12:01:07 | 2018-10-19T13:53:26 | C++ | UTF-8 | C++ | false | false | 1,801 | cpp | CpbStoryModel.cpp | #include "CpbStoryModel.h"
using namespace CPB;
StoryModel::StoryModel(QObject *parent)
: EntityModel<Story> (parent)
{
}
StoryModel::~StoryModel()
{
}
QVariant StoryModel::data(const QModelIndex &index, int role) const
{
if (!index.isValid())
{
return QVariant();
}
Story* const story =... |
c61dfa90dbd25e82469c28eb63f0e15b71e7ffdf | 1d08b447a53cf225b23a27fd778bba75ed77fd53 | /NetIO.cpp | 9ed9a2232bbdd6dc344234e2b84c6c142eb37154 | [] | no_license | CyanideTD/ProxyServer | 5d501a42c74b46ac61a1d7e3c65442dbdb307ada | f41651038f178bedb1788523f0fd5c910e479ddf | refs/heads/master | 2020-03-12T19:09:35.363131 | 2018-05-04T02:44:28 | 2018-05-04T02:44:28 | 130,778,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,974 | cpp | NetIO.cpp | #include "NetIO.h"
extern CTaskQueue g_lNodeMgr;
NetIO::NetIO()
{
}
NetIO::~NetIO()
{
if (m_poLongConn != NULL)
{
m_poLongConn->UninitLongConn();
m_poLongConn->Release();
m_poLongConn = NULL;
}
m_poPack->Uninit();
m_poUnpack->Uninit();
}
int NetIO::Init(TCHAR* pszIp,... |
afc3a254e0620e807f9746c923214088048f2e70 | 400857d7bf2a490b253777c5815260025803a728 | /ifopt_core/src/composite.cc | 831aeba7e8b67672e62ec84fa1e06ebc6e6aa411 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ethz-adrl/ifopt | e7565adb52a47c34fb538612ed3d05f9e3588259 | 1082d9d5ab61d2734fc318d61dcfefce6fb19bd3 | refs/heads/master | 2023-08-08T04:34:07.657345 | 2023-08-04T13:38:44 | 2023-08-04T13:39:22 | 114,131,004 | 661 | 157 | BSD-3-Clause | 2023-09-14T13:58:46 | 2017-12-13T14:30:12 | C++ | UTF-8 | C++ | false | false | 5,834 | cc | composite.cc | /******************************************************************************
Copyright (c) 2017, Alexander W Winkler. 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... |
aa85c148acacd2cd7f6e13a855785edbe1b3ffe1 | 54b6f6a641dc6aa82791335d5ee0bd451861e451 | /qmtp/identifiable/qmtpalbum.cpp | d1e7a5d650aee75b92f1235a14afedec91afdbfe | [] | no_license | ssharunas/qmtp | ffd7af6bee693012cc25dee797383de333a54a61 | 098ae2ab4fe56f22a2c0de81307cdb81b2640353 | refs/heads/master | 2016-08-04T02:43:11.834241 | 2010-02-12T14:32:45 | 2010-02-12T14:32:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51 | cpp | qmtpalbum.cpp | #include "qmtpalbum.h"
QMtpAlbum::QMtpAlbum()
{
}
|
ac26e80e5bbfb86160df3ceb9c0bc5e7f7f79f8c | e26a898f8399693f3c2e85828b8fd4969985a84c | /ChanukahChallenge/chanukahChallenge.cpp | 7d4753073bf8e2959c03a596e9afe34c43eca405 | [] | no_license | SKajiwara/Jan2.2021.OneKattisADayChallenge | d3ab6124d527f6716c85a2be289a2637de79dd74 | 8d0cd2f92be0a89f7ad3e319e750040a78e4bef2 | refs/heads/main | 2023-02-22T13:02:35.715815 | 2021-01-25T22:49:58 | 2021-01-25T22:49:58 | 326,895,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | chanukahChallenge.cpp | #include <iostream>
using namespace std;
int main()
{
int num, index, days, candles;
cin >> num;
for (int i = 1; i <= num; i++)
{
candles = 0;
cin >> index >> days;
for (int j = 2; j < (days + 2); j++)
{
candles += j;
}
cout << i << ' ' << ca... |
f3d378b5efdc582857ec2c45ef663c34ac4ac288 | 0c436f330bb6fa217593da614c451d32ecef0a3f | /La_Rochelle/IUT/iOS/Learn_iOS/VariousSequenceMatchingTechniques/VariousSequenceMatchingTechniques/commandlineapplication.h | f7c218548180a6e31cb978bb014354f92350b643 | [
"MIT",
"BSL-1.0"
] | permissive | tanmayGIT/Teaching | 8dc4c8633f1f259fd0b479684a99804b7d9a9fe5 | bd8775090f9e000a1ae2a8045cccf7fb3bff0654 | refs/heads/master | 2021-09-22T16:28:04.040274 | 2021-09-14T09:13:24 | 2021-09-14T09:13:24 | 228,865,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | commandlineapplication.h | /*!
\author Abdourahman Aden Hassan
Bastien Meunier
\date 05/01/2014
20/01/2015
\package commandline
\class CommandeLineApplication
\implements CommandeLine
\brief Class for the basic execution type
*/
#ifndef COMMANDLINEAPPLICATION_H
#define COMMANDLINEAPPLICATION_H
#include "CommandLine... |
a23c3bf229a178f966ce05112f72df0d9845b256 | b830c214c44439b9ab877cd079e094ead0375127 | /Banker's Algorithm.cpp | 90789154bca39b6c2eff368df9833abc51765018 | [] | no_license | SamarNegm/acm | 15251c27edb73031bf71d576602414a38a3cdccc | 0e25172073e178d593d8eb3ca484a868714aefcc | refs/heads/master | 2022-08-21T16:37:23.687751 | 2020-05-30T00:51:25 | 2020-05-30T00:51:25 | 267,983,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | Banker's Algorithm.cpp | #include<bits/stdc++.h>
using namespace std;
int alloc[10000][10000];
int mat[10000][10000];
int need[10000][10000];
int finsh[100000];
int av[100000];
int n,m;
int main()
{
cout<<"Enter n & m\n";
cin>>n>>m;
cout<<"Enter the matrix\n";
for(int i=0; i<n; i++)
{
for(int j=0; j<m; j++)
... |
c39a01f87ee24db88be1290f209694c5135de759 | b8376621d63394958a7e9535fc7741ac8b5c3bdc | /lib/lib_mech/src/base/base/m_FrameRate.h | 7ee4d708f7989c36fdd1b325782d70e2b6e81a1d | [] | no_license | 15831944/job_mobile | 4f1b9dad21cb7866a35a86d2d86e79b080fb8102 | ebdf33d006025a682e9f2dbb670b23d5e3acb285 | refs/heads/master | 2021-12-02T10:58:20.932641 | 2013-01-09T05:20:33 | 2013-01-09T05:20:33 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 1,938 | h | m_FrameRate.h | /*
filename: m_FrameRate.h
coder : Cho Wook Rea (mech12@hanmail.net)
compiler: vc++ 6.0
date : 1999 /
title :
*/
#if !defined(AFX_M_FRAMERATE_H__E47B14E7_E6E0_11D2_8FBA_00A02486A654__INCLUDED_)
#define AFX_M_FRAMERATE_H__E47B14E7_E6E0_11D2_8FBA_00A02486A654__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif /... |
c3741a30e1bb0d278633703a40feb76c6693a653 | e87c19d6694143df66f05bd06b010043a63bfe2f | /stl/string.cc | c61a4b6ad2a14459b3d09a40c348de7f07343a88 | [
"MIT"
] | permissive | Becavalier/playground-cpp | 2c38d016dc66c4293bc17d8945b3fec8983a635b | 0fce453f769111698f813852238f933e326ed441 | refs/heads/master | 2021-04-18T20:27:27.965096 | 2018-10-27T01:29:46 | 2018-10-27T01:29:46 | 94,588,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | cc | string.cc | #include <string>
#include <cctype>
#include <locale>
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
string s1;
string s2 = s1;
// Copy initilization;
string s3 = "hiya";
// Directly initilization;
string s4(10, 'c');
string s5 = string(10, 'c');
/*
* string temp(10, 'c'... |
f28a010a326c1bc8980abf457025f6fb66c6394e | 1ff855f95822a9c0bf8ec296f2219407ee826276 | /src/t_socket.cpp | 869dab868b6d14d88f091277868e246c3357355b | [
"MIT"
] | permissive | Forsteholdet/TinyClient | ab4ec0d4f45a9b24bdceb36712b6d3843814586c | f606f89b6965c15537e17971b70ef768090ded3b | refs/heads/main | 2023-04-07T20:10:57.420979 | 2021-04-13T07:41:49 | 2021-04-13T07:41:49 | 339,339,457 | 0 | 0 | MIT | 2021-07-30T08:05:22 | 2021-02-16T09:02:33 | C++ | UTF-8 | C++ | false | false | 62 | cpp | t_socket.cpp | //
// Created by anders on 2/25/21.
//
#include "t_socket.h"
|
e3e02635a89ac4cdbe64838f9d59b09d3ece79de | 49e20f71157f05c4c895f941ec64db7e286324b1 | /dsp/L2/tests/aie/widget_api_cast/test.cpp | 366dd7da51c5bc4d3ebd08785e6295643b4b6d4b | [
"Apache-2.0",
"OFL-1.1",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"BSD-2-Clause",
"MIT"
] | permissive | mahinlma/Vitis_Libraries | 06095f1e72b4d3eba0980e89852cf188aaec7b07 | af74a0c74377fc3126f1ba846063ed4bf6bd8bb0 | refs/heads/master | 2021-12-02T19:20:42.806076 | 2021-08-17T05:54:45 | 2021-08-17T05:54:45 | 232,494,142 | 0 | 0 | Apache-2.0 | 2020-04-13T04:52:53 | 2020-01-08T06:26:29 | null | UTF-8 | C++ | false | false | 3,869 | cpp | test.cpp | /*
* Copyright 2021 Xilinx, Inc.
* 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 agreed to in... |
25740c86800f375c33ead2c61add31889512cfee | 2b8fb66ed7fe286420b409a09d9cea55e20430da | /qt/cursoQt/apostila/03_gui/03_05_mdi/ui_form2.h | 6078025071fa690fd80b5847d1e2baf0650d9ce7 | [] | no_license | marvinfy/Trainings | 3826c9097210c669cf1298d2bccc86fcfa8ef3a5 | d1caaf8ac972bb2a695c07af4f722fdcb7ef293f | refs/heads/master | 2021-01-01T15:15:55.450954 | 2012-12-15T20:12:23 | 2012-12-15T20:12:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,447 | h | ui_form2.h | /********************************************************************************
** Form generated from reading ui file 'form2.ui'
**
** Created: Fri 30. Oct 21:13:46 2009
** by: Qt User Interface Compiler version 4.5.3
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
***... |
2f9510ac66bfc31fceda7d090d06e896d7ead6e3 | 31f9ebed3a88dbbf21a5d62f32b82da0c4823398 | /ProjectSourceCode/player/ui_win3.h | 80577d19fc10a46a95ae7fe8c7dd7d464cc0ace1 | [] | no_license | LuoShen0/-Qt-Multimedia-player | 7ac6b91cac4898270c1d6c1260dc72dabbfd1020 | 8a2b177d70b2cda54b9124cc2d950601db8ad757 | refs/heads/master | 2022-04-22T02:26:20.883637 | 2020-04-21T05:36:49 | 2020-04-21T05:36:49 | 257,489,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,661 | h | ui_win3.h | /********************************************************************************
** Form generated from reading UI file 'win3.ui'
**
** Created by: Qt User Interface Compiler version 5.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**********************************************... |
81dbc3f7dd91d64963c4571b231da391f9b84ef6 | fef8ff5b42eeb6b562824a87608bb87fb4b638e5 | /usb/usb.cpp | 2e86ad7ba34f231c280ef613052b8dd967cedffb | [] | no_license | Sync1983/avr_common | 52ae0002644404c135e62e5ced6efa6a0d5586ee | f068e76faf8d148bdcee104a84899f0440bd1fa3 | refs/heads/master | 2021-04-28T21:53:57.295364 | 2017-01-01T01:36:05 | 2017-01-01T01:36:05 | 77,761,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,805 | cpp | usb.cpp | /*
* usb.cpp
*
* Created: 23.12.2016 22:42:26
* Author: Sync
*/
#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include "usb.h"
#include "../common/common.h"
#include <string.h>
USB::USB(uint16_t vid, uint16_t pid, float usbVer, bool useString){
this->useStr = useString;
uint8_t h... |
f01e173ba0f6a351fc148e30168a2d0954fabdab | 005c33655b6260cc5e0ff2087471e6e0a2226a01 | /CAssembler/include/tools.h | 2c69429efa64771002b53f3f843160a6b8ec8ad6 | [
"MIT"
] | permissive | zeFresk/CASM | 11c76af18b782961a92dc4d5e313594f5fee9cef | 38cb88ca51799894c5c3e46a26f821b971a40850 | refs/heads/master | 2020-03-30T05:00:47.934265 | 2018-11-03T21:23:54 | 2018-11-03T21:29:31 | 150,774,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | h | tools.h | /*
Collection of usefull standalone functions
*/
#ifndef tools_h
#define tools_h
#include <vector>
#include <string>
#include <iostream>
// Retrieve filename without extension
// If no extension return as it is
// Undefined behaviour if str is empty
std::string get_filename(std::string const& str);
... |
32685398d8bf8f092bded1aa080455409f426768 | 0a5645154953b0a09d3f78753a1711aaa76928ff | /common/c/build/corelib/ncdb/yocto/intel_nuc_64/2.45.1.1000/output/include/AutoPtr.h | 418e0bf1f835a05bfff546c05a3f39a8805eff8c | [] | no_license | GENIVI/navigation-next | 3a6f26063350ac8862b4d0e2e9d3522f6f249328 | cb8f7ec5ec4c78ef57aa573315b75960b2a5dd36 | refs/heads/master | 2023-08-04T17:44:45.239062 | 2023-07-25T19:22:19 | 2023-07-25T19:22:19 | 116,230,587 | 17 | 11 | null | 2018-05-18T20:00:38 | 2018-01-04T07:43:22 | C++ | UTF-8 | C++ | false | false | 6,939 | h | AutoPtr.h | /*
Copyright (c) 2018, TeleCommunication Systems, 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 condi... |
b5da4ac5c9e0a9ce83544f9a6f773f9820fc89b0 | 5f7e901cb2785835c8048d2a2bba44caedefe568 | /大程/Final/Final/Equation.h | 6dbce5ec7b9b6a0146b734c776995ef0fe37b7cd | [] | no_license | Wholanz/OOP | 2a8d0ae33d29c37b251724cacc34a4dfaac6a855 | efdc04194472df8a0b0d2e4939b4fdc1f05cca25 | refs/heads/master | 2016-08-12T09:53:24.577439 | 2015-11-01T03:36:24 | 2015-11-01T03:36:24 | 45,327,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | h | Equation.h | #pragma once
#ifndef _Equation_h_
#define _Equation_h_
#include "Function.h"
class Equation : public Function
{
public :
Equation(){};
virtual ~Equation(){};
virtual void getCoeff() = 0;
virtual double* solve() = 0;
void function(){
this->getCoeff();
this->solve();
}
;
};
#endif //_Equation_h_ |
6f069e53c2305a528870c14d37bc75fbd8901fe8 | 5205378bf9fd382cbb070d9170610a8d5e4b0f7a | /src/HomeAssistant/Components/WaterHeater.hpp | 8052345bbb69ea092c7347f04e8ba38c7e7f7686 | [
"MIT"
] | permissive | RobinSinghNanda/Home-assistant-display | 65d02124f59bb078945271489152eeeba6aa7e41 | 6f59104012c0956b54d4b55e190aa89941c2c1af | refs/heads/main | 2023-01-20T00:00:43.051506 | 2020-11-24T10:39:11 | 2020-11-24T10:39:11 | 306,589,564 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,477 | hpp | WaterHeater.hpp | #ifndef __WATERHEATER_H__
#define __WATERHEATER_H__
#include "Entity.hpp"
namespace HomeAssistant {
class WaterHeater : public Entity {
public:
WaterHeater(const char * entity);
virtual ~WaterHeater();
static constexpr const char * ENTITY_DOMAIN = "water_heater";
... |
7e9c22179a3ad2bb354fc659585bc48bdcde6b97 | 4966b3b6600596681af0d7506a2c0914b296abae | /RenderCore/GeoProc/NascentCommandStream.h | 6351641e5396561ace8b4176ac1deb276855cbc0 | [
"MIT"
] | permissive | djewsbury/XLE | 4200c797e823e683cebb516958ebee5f45a02bf0 | f7f63de2c620ed5d0b1292486eb894016932b74b | refs/heads/master | 2023-07-03T14:26:38.517034 | 2023-06-30T03:22:03 | 2023-06-30T03:22:03 | 32,975,591 | 13 | 6 | null | 2015-03-27T08:35:02 | 2015-03-27T08:35:02 | null | UTF-8 | C++ | false | false | 6,631 | h | NascentCommandStream.h | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#pragma once
#include "NascentSkeletonHelper.h"
#include "../Assets/AnimationScaffoldInternal.h"
#include "../Assets/ModelCompilationConfigur... |
c4ef70af9fa0d575d4aa85835a12e9395a43c59b | ca4f6a8c5fa697a30efae3ae0c0a2d16f02c2921 | /serialStringBlueTooth/serialStringBlueTooth.ino | c2f5cb52acac6de0da7c6ac781288f220c8cf490 | [] | no_license | JunguGuo/SkyLight | 90211788e18b5c856e50463899e39f88e224e038 | 0f4b67d8d7f6ac94e31c52af1c30d817f4e21260 | refs/heads/master | 2020-04-02T10:43:08.618986 | 2018-10-23T15:26:01 | 2018-10-23T15:26:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,988 | ino | serialStringBlueTooth.ino | #include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
#define PIN 6
Adafruit_NeoPixel strip = Adafruit_NeoPixel(12, PIN, NEO_GRB + NEO_KHZ800);
//-----bluetooth----
#include<SoftwareSerial.h>
#define TxD 3
#define RxD 2
//#define LED_PIN 13
SoftwareSerial bluetoothSerial(TxD, RxD);
//--------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.