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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe4feaa3c091e646b9b4058440b95ea055b26b97 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/MonitoringSchedule.h | f55fcd159cfd70059f72b6343f7160c640a99542 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 21,447 | h | MonitoringSchedule.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/sagemaker/model/ScheduleStatus.h>
#include <aws/sagemaker/model/MonitoringType.... |
b8d774d7b5e76331afa979cfd05461a2d63b5006 | 6bc3f5955699fcdac540823c51354bc21919fb06 | /Round-3/INOI 19/F.cpp | d419ce39da7a0ec9444c48204af2c3b74e5f6924 | [] | no_license | soroush-tabesh/Competitive-Programming | e1a265e2224359962088c74191b7dc87bbf314bf | a677578c2a0e21c0510258933548a251970d330d | refs/heads/master | 2021-09-24T06:36:43.037300 | 2018-10-04T14:12:00 | 2018-10-04T14:12:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | F.cpp | //In The Name of God
#include <bits/stdc++.h>
#define Init ios_base::sync_with_stdio(0),cin.tie(0)
#define forar(i,n) for(int i = 0; i < n;i++)
#define fori(i,a,b) for(long long int i = a; i < b;i++)
#define ford(i,a,b) for(long long int i = a; i > b;i--)
#define WFile freopen("in.txt","r",stdin),freopen("out.txt","w"... |
32113b35dfdb68ea5a2a34962de5c38aed8f1629 | 383278dd8528182724ff60e20ef5ce603b3fd0f7 | /AdvancedLevel_C++/1025.cpp | c0190c487203d462ca345c6403f26882f8c913e4 | [] | no_license | YiChong-Liu/PAT | 37df3405083d48255b2894037ab7d8f02603a36e | 2a05c3740344225774d3b2f24cd2b4fd417af5f4 | refs/heads/master | 2022-03-19T18:00:46.110850 | 2022-03-13T19:27:22 | 2022-03-13T19:27:22 | 202,313,025 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | 1025.cpp | /*author:moonlake23
question1025:PAT Ranking*/
/*甲级第一题 噢耶(#^.^#)*/
#include<iostream>
#include<string>
#include<cstring>
#include<algorithm>
using namespace std;
typedef struct {
int location;
char ID[14];
double score;
int local_rank;
}Student;
bool cmp(Student a, Student b) {
if (a.score != b.score)return a... |
f883da23cd83cb50fcc4ed0a21d6f6158acf017d | 621d7a83e3549b0570b2b7dde4ec6a985f1bd22c | /demo2.2_detect_cylinder/detection_rgbd/lib/vision.hpp | 041b12b03badd860a182014a823bffa773f4f9da | [] | no_license | dbddqy/machine_perception | 93270c3b56092e20cd77197fb2aa6c7c2839119b | 6864794806e42923b130052b03f800473f3752d9 | refs/heads/master | 2021-07-07T09:22:53.152889 | 2020-11-30T19:09:14 | 2020-11-30T19:09:14 | 212,831,797 | 2 | 0 | null | 2019-10-04T20:34:27 | 2019-10-04T14:18:16 | Python | UTF-8 | C++ | false | false | 554 | hpp | vision.hpp | //
// Created by yue on 31.01.20.
//
#ifndef VISION_HPP
#define VISION_HPP
#include <opencv2/opencv.hpp>
#include <vector>
#include <stack>
#include <pose.hpp>
using namespace cv;
using namespace std;
class CameraConfig {
public:
Mat M;
Mat distortion;
Mat MInv;
double fx, fy, cx, cy;
CameraCon... |
1228b1ab6af446d1cffce68023484b5a4063f677 | 4754bb5470fbbd608323f468cddf6658b031e090 | /2 семестр/HW5/Задача 1/testingtree.h | 8979aae49df0ed231c779cf05f86a137802d2c19 | [] | no_license | artbez/origin | af86cba1eacfbf85c10047afd84884355aece671 | 7fe1dd71cc3b8312cf3d5713714319bc4f629692 | refs/heads/master | 2016-09-03T06:32:57.485079 | 2015-05-28T20:54:28 | 2015-05-28T20:54:28 | 15,024,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | h | testingtree.h | #pragma once
#include <QObject>
#include <QtTest/QTest>
#include "tree.h"
class TestingTree: public QObject
{
Q_OBJECT
public:
explicit TestingTree(QObject *parent = 0) : QObject(parent){}
private slots:
void simpleSumTest()
{
Tree * tree = new Tree("(+ 1 2)");
QVERIFY(tree->countTre... |
e4a0335537f4b5e7ff5fb938a6e1107aa1379f06 | 7a84597eb5b9281d2b152c6f8061b0bee8660d49 | /tests/dump_files_for_tests/test_it_known_function_sqrt_5.cpp | fa9ba30d389ac7d8dc2dc1a13d2f8f4204d5329e | [
"MIT"
] | permissive | JasonSun623/phriky-units | bedbe8fd68519f54db0379e6c897dad2132856c8 | 16c8cdd91de0899411b139e5a94fcb4ea8104ad2 | refs/heads/master | 2020-05-04T15:10:46.553842 | 2019-02-08T22:36:54 | 2019-02-08T22:36:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | test_it_known_function_sqrt_5.cpp | #include <ros/ros.h>
#include <sensor_msgs/Range.h>
#include <math.h>
int main(int argc, char **argv)
{
sensor_msgs::Range r;
r.range = 0;
float f = r.range * r.range;
using std::sqrt;
float x = sqrt(f); // meters?
return 0;
}
|
8d883ea064abba28497ffb5f68696790a4649a46 | aba70b61f237998779e34b400fb88bf1b7d1a43a | /adhoc_package/adhoc_tests/src/adhoc_r.cpp | d4ed6d6e1b7b8cc466a6db18afbe410476fe1a0e | [] | no_license | Gdislave/running_setup | 46e39931cf5432a083bc84dd07af5453750e90ff | e357a5305d97b23afc6e61d4514fc4d13b962005 | refs/heads/master | 2021-01-19T17:30:50.143579 | 2017-10-14T09:53:36 | 2017-10-14T09:53:36 | 101,065,215 | 0 | 0 | null | 2017-08-29T19:28:23 | 2017-08-22T13:20:41 | C++ | UTF-8 | C++ | false | false | 2,684 | cpp | adhoc_r.cpp | #include "ros/ros.h"
#include "adhoc_customize/include.h"
#include "adhoc_tests/FilenameService.h"
#include <adhoc_tests/sendPing.h>
#include <iostream>
#include <fstream>
ros::NodeHandle* nhp;
std::ofstream outFile;
int recvCounter = 0, linecounter = 0;
void answerCallback(const adhoc_customize::RecvTime::ConstPtr... |
051008483fbcd57122c89ea4f05537dbb8dbbe52 | 189a2a674b8f641c10a5ff3efaacec14846e819b | /hls/src/Compiler/Synthesizer.cpp | 6519645a460e2469b1b12e6c467d910fee6401fd | [] | no_license | rafaelgasperetti/llvm-fpga | 8b9ea965f188291dffce74d9b2d5514751a85ddc | 8c5a9963e4c2337f9b47d56dfa336637513455d8 | refs/heads/master | 2023-02-16T00:02:01.104414 | 2021-01-12T11:23:10 | 2021-01-12T11:23:10 | 328,963,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,947 | cpp | Synthesizer.cpp | #include<iostream>
#include <fstream>
#include<vector>
#include<Tools/MessageLibrary.hpp>
#include<Tools/StringUtils.hpp>
#include<Compiler/Synthesizer.hpp>
#include<FileManager/FileReader.hpp>
#include<FileManager/FileWriter.hpp>
#include<Core/Design.hpp>
#include<Core/Component.hpp>
#include<Core/IOComponent.hpp>
#i... |
e52bf819c7b9259a4ccecb9c362b05ab0411c022 | 7abbbef9590f9c4b9469adcbae5ea8907478bf03 | /chromium_git/chromium/src/out/Debug/gen/blink/core/CSSValueKeywords.h | 695a917403a4bce7d548dccf2d5de184f7e719b5 | [
"BSD-3-Clause"
] | permissive | GiorgiGagnidze/CEF | 845bdc2f54833254b3454ba8f6c61449431c7884 | fbfc30b5d60f1ea7157da449e34dd9ba9c50f360 | refs/heads/master | 2021-01-10T17:32:27.640882 | 2016-03-23T07:43:04 | 2016-03-23T07:43:04 | 54,463,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 24,091 | h | CSSValueKeywords.h |
// Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CSSValueKeywords_h
#define CSSValueKeywords_h
#include "core/css/parser/CSSParserMode.h"
#include <string.h>
namespace blink {
enum CSSVal... |
030e8eccd09a0603dfe20e91ca7518813eb8b654 | 8693b0db0d593347757e3225a485eeb75e6861af | /lib/list.h | ef6cbb909f102448c93616f4af0dbb4eea2fbbeb | [] | no_license | abharga2/Inventory-Project | 3722ab00dc1bf3d6da5dfc01bcdb9945868918dc | 56dfaa0d473728afb3b1a57cddd28de047d8be80 | refs/heads/master | 2021-01-12T08:01:55.033349 | 2017-01-08T04:22:46 | 2017-01-08T04:22:46 | 77,101,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | h | list.h | // Created by Abhishek Bhargava on 1/7/17.
// Copyright © 2017 Abhishek Bhargava. All rights reserved.
#include <iostream>
#include <map>
#include <cstring>
#include <cstdlib>
#include <cstddef>
#include <cstdint>
/*Doubly linked list interface*/
#ifndef _LIST_H
#define _LIST_H
/******************/
/*Client Inte... |
f88587db67c5ed2d41ef92b63fe8d09d73e5f7b8 | e343256bfdb60efd3237b0556fd20e3905f8be21 | /include/reports.hpp | 5a11588f1b894dbf265ecde170908dd5c1ede386 | [] | no_license | wacus99/network_sim | 568843caf265f155cf6dbf4c42f238923241e17b | a1212a65f97faa26c98cf4876b610f17b14f8da2 | refs/heads/main | 2023-01-30T01:52:27.611400 | 2020-12-15T19:21:46 | 2020-12-15T19:21:46 | 321,762,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | hpp | reports.hpp | #ifndef NETWORK_SIM_REPORTS_HPP
#define NETWORK_SIM_REPORTS_HPP
#include "types.hpp"
/* klasy IReportNotifier, SpecificTurnsReportNotifier, IntervalReportNotifier
funkcje generate_structure_report(), generate_simulation_turn_report() */
#endif //NETWORK_SIM_REPORTS_HPP
|
bbcf03196b31a80c263294d9972658054e564c39 | c16963879c47148ec2e6f5a524dc90562075e56d | /monitorBuddyUSB/monitorBuddy.ino | 9f9c21ff9a44be9444feddf508196e0decf5b732 | [] | no_license | kraftboy/monitorBuddy | 5e0837d5f7511bf7ad355e98e3c98a62c0da386e | 98b1f227d73b3c2a7e46163282eb13508e342267 | refs/heads/main | 2023-03-09T01:55:32.008524 | 2021-02-08T01:15:30 | 2021-02-08T01:15:30 | 326,261,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | ino | monitorBuddy.ino | /*
Name: monitorBuddy.ino
Created: 12/23/2020 7:51:59 PM
Author: glocal
*/
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/wdt.h>
#include "MonitorBuddyApp.h"
MonitorBuddyApp myMonitorBuddy;
void setup() {
cli();
myMonitorBuddy.init();
}
void loop()
{
myMonitorBuddy.update();
} |
2587680beb7b5cd60b39bf4fd4ddda54e2feaef4 | 826c2762805e39ac1c080091e7f4f642fb41e19a | /ouniverse_2020_ue4_source_multiplayer_whitebox/App/Game/Include/CompanionRemote.h | 5dd4137c6032d0da0cbc56c80046c861de749d4e | [] | no_license | legendofceo/ouniverse_ue_cpp_source_deprecated_pre2022 | fe625f69210c9c038202b8305495bdf373657ea8 | 729f12569f805ce74e602f8b13bab0ac318358a5 | refs/heads/main | 2023-08-12T19:14:39.216646 | 2021-10-17T16:19:29 | 2021-10-17T16:19:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | CompanionRemote.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Remote.h"
#include "CompanionRemote.generated.h"
class AAppController;
class UPartyMemberHandle;
UCLASS(BlueprintType, Blueprintable)
class APP_API UCompanionRemote : public URemote
{
GEN... |
a015eca869ad9164d3e7aae24bb163ccf30646db | 72e101109c8134d553d1404364d4e4d44ee52ed8 | /Code/source/main.cpp | c383027e4806ff0081d8a4ad3e88220b16afa2a2 | [] | no_license | hippogyz/opengl_project | be6def547c392f0258db4d5fa04f772e10f3e906 | 14f1acab15294e283c53e4ac3f3b1e1c70bb5690 | refs/heads/master | 2023-06-03T17:15:17.519736 | 2021-06-23T06:48:52 | 2021-06-23T06:48:52 | 345,647,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,328 | cpp | main.cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <memory>
#include "stb_image.h"
#include "Shader.h"
#include "TextureManager.h"
#include "Camera.h"
#include "Light.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "... |
831ff458f42c33662b67118159166d95e852448d | ebe1c6c28f879a9a85b1254db3a0090a52a7db1f | /printer.cpp | 66707daaf925fe9ae5eb57f10217979a36a9ca37 | [] | no_license | robinei/old_slang | 33d79dbae74abb7802aac9e6438a4ad92cde6f54 | 250b17f26b190f77f8642bd1ccd57a5378042f56 | refs/heads/master | 2021-06-10T03:21:34.718459 | 2016-10-19T00:39:54 | 2016-10-19T00:39:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,047 | cpp | printer.cpp |
class Printer {
public:
Printer(Context *ctx) : ctx(ctx), module(ctx->module) {}
void print(Any *form) {
last_line = 0;
print_form(form);
}
private:
Context *ctx;
Module *module;
u32 last_line;
void print_form(Any *form) {
switch (form->type->type) {
c... |
2913d5aaf0c759433963d250d3c313d814a14782 | c2338617a02efa35d9b5154ac99fa97bbf739ec1 | /lib/tt_hander.cc | 6257f48da4fb82b5a67afd5defa5b71e849efb1b | [] | no_license | luguocfw/TaskTop | 84f001e60d753e72774e122d308122944ca7fd20 | 89f493cd5529c85a76ba044907cdcdb77e36259c | refs/heads/master | 2021-07-06T18:45:31.033570 | 2020-08-07T08:13:03 | 2020-08-07T08:13:03 | 157,182,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,842 | cc | tt_hander.cc | /*
*
* author: ChenFawang
* tt_hander.cc
* 2018 - 11 - 12
* mail: cfwang_9984@163.com
*
*/
#include "tt_hander.h"
#include "tt_log.h"
#include "tt_global.h"
#include "tt_path.h"
#include <fstream>
#include <sstream>
namespace task_top {
TaskTopHandler::TaskTopHandler(const std::list<int>& pids) {
pids_ = pids;
sy... |
4cbb0a138b522a832bf16322615a3d90adbcabc8 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/Windows-classic-samples/Samples/Win7Samples/multimedia/mediafoundation/protectedplayback/Player.h | 4ed9739ba5ad8dc07a1bf46345a83270d01e8c46 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 3,549 | h | Player.h | //////////////////////////////////////////////////////////////////////////
//
// player.h : Playback helper class.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS F... |
f6096479c4b08f2953b7f3653aa76e90e11f1e07 | b1b3fc3e75508e471e1e1c0077b820fe0d6d431e | /example/src/ofApp.cpp | 1eb3b8e88c808185d656eafe99ab6faa7699163a | [] | no_license | javl/ofxStreetView | dc44fd69ad7d17bd2e7d1e4754eea3ce02e63c9f | 231400fd183d44eb92fddf0a3caaec6ea7b9f90a | refs/heads/master | 2020-03-10T23:05:53.744485 | 2017-11-16T11:37:16 | 2017-11-16T11:37:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,198 | cpp | ofApp.cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetVerticalSync(true);
ofEnableDepthTest();
streetview.setLatLon(40.75732,-73.985951); // Time Sq
//streetview.setLatLon(40.768153,-73.981473); // Columbus Circus
// streetview.setLatLon(4... |
6f3b6dbab3df12a09a9a361aee4670229f4ff3ab | d89cf4037553c61900955c919b190ae229664659 | /algorithms/bidirectional_dijkstra.cpp | 0123cff62b6ed3c3699ffbd0a3fd7c327f94d13e | [] | no_license | ekaterinapluch/dijkstra | 118dcb70a93f63d3178bbb0f5ef8893d4921afc1 | 44c6ec78dd356d6c47eb11cdf46a06526180eead | refs/heads/master | 2023-02-21T00:33:17.254442 | 2021-01-27T15:45:31 | 2021-01-27T15:45:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cpp | bidirectional_dijkstra.cpp | //
// Created by mkspopov on 13.11.2020.
//
#include "bidirectional_dijkstra.h"
|
bdc525b7bbb395ff8a04ef2541655ad536a78169 | 4a18656e5e113c2a684830c8466d4f4ceccc43eb | /EAWebKitSupportPackages/EAIOEAWebKit/local-01/include/EAIO/EAStreamFixedMemory.h | 6afa40a9e26745e7ceefc76d058ace5213eadb41 | [] | no_license | ychin/EAWebKit | a0159b005427946e54b3faf4c4295859f8e4e7d5 | f8b5c9ba619eb80a2a06a073e2aaa08f039a2954 | refs/heads/master | 2023-03-08T14:28:53.888399 | 2023-02-28T23:58:53 | 2023-02-28T23:59:42 | 67,105,099 | 47 | 16 | null | 2019-11-04T03:54:24 | 2016-09-01T06:38:31 | Objective-C | UTF-8 | C++ | false | false | 5,659 | h | EAStreamFixedMemory.h | /*
Copyright (C) 2009-2010 Electronic Arts, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions a... |
2e350894d5323cd896681c13695b8f9a85882608 | b80b4845b10bdce598070aa1e98f7037219a67b5 | /tests/main.cpp | 1d037505ea6de0eba63e58ad42430f0572f25f44 | [] | no_license | mettizik/cpp-test-framework | a2293acb40e6923df03b0398495418d210c59e98 | 75b27b175db4a7e0664161a0e58c072f4d5fc885 | refs/heads/master | 2020-03-30T07:00:00.319994 | 2018-09-30T19:21:16 | 2018-09-30T19:21:16 | 150,906,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | cpp | main.cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <cpptest/cpptest.h>
void print_ruller(size_t length, char filler)
{
if (filler != 0)
{
std::cout << " " << std::string(length, filler) << std::endl;
}
}
template <class T>
void print_row(const std::string &name, T value, char headl... |
ef5d21321a5b185c0ca1b41db443bcc62b103b83 | c08b3bd26be7717c11cfb8456e067f089c546f73 | /MainWindow.cpp | 358ea7cc53ab26704fdd8b968f326ad7616237f7 | [] | no_license | Dagal/QSinJack | 18ece3951d780f681431010318cca9cf78631fb9 | 73a301ee6b43554511825ed2033f7fa8fc166d49 | refs/heads/master | 2021-01-13T02:03:29.233382 | 2014-06-06T06:20:00 | 2014-06-06T06:20:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | MainWindow.cpp | #include "MainWindow.h"
#include "ui_MainWindow.h"
void MainWindow::closeEvent(QCloseEvent* event)
{
m_sinusOnJack->stop();
exit(0);
}
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
m_sinusOnJack = new SinusOnJack(this);
m_sinusOnJack->start();
}
M... |
60f5c064bfd1815465488ed2e3b8cfb948fe0671 | 73a50069f27146c879e6cd04cf8a744bf9a4b32c | /Matchers/main.cpp | 6d4a1c285c40871362d4d08903446559a0bc964e | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hoelzl/CPlusPlus-Tests | 98db4a074467ef43713a74f42f12507f67de88cd | 4b890fa002ed0c4deb0fccb4c47dc3bdb652acb6 | refs/heads/master | 2021-04-03T08:11:36.072804 | 2018-07-10T06:33:17 | 2018-07-10T06:33:17 | 125,044,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | main.cpp | // Copyright 2018 Dr. Matthias Hölzl
// Licensed under the MIT License
//
#include <iostream>
#include "lib.h"
int main() {
std::cout << "Hello, World!" << std::endl;
std::cout << "Pi is approximately " << Approximate(3.141592) << std::endl;
return 0;
} |
d61f807400825138de142842a7efffc826f4aca2 | 75f26c2678a8c16899ae58a07879a7e3c6d2d36a | /Kernel/tConcept.cpp | df95843c173f380279acdce22379cada985af0c3 | [] | no_license | tweag/factplusplus | ce94e4c87e52e9f1353e34043319592bed2d7bb9 | d7f377351d82ea5243262538e43ddc4f0312ecdf | refs/heads/master | 2021-05-01T04:20:52.485504 | 2016-09-16T07:06:52 | 2016-09-16T07:06:52 | 75,384,013 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,368 | cpp | tConcept.cpp | /* This file is part of the FaCT++ DL reasoner
Copyright (C) 2003-2015 Dmitry Tsarkov and The University of Manchester
Copyright (C) 2015-2016 Dmitry Tsarkov
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwar... |
3c117bce2f292fafe6561dbfc16214d33c046e6b | cb4df4e081f71c1bda5d54d9c7760952b20895c7 | /287BaseCode/ExerciseBasicGraphics.cpp | 981b062cbb1f70cb39b7319f6598f2fb78793edf | [] | no_license | FranciKZ/287-Code | b82f698e358246c3ea2e434ba7310cdc79bb0e61 | aa93dc643e68747fdeb2993b4f752b4222249856 | refs/heads/master | 2020-03-28T04:17:51.065934 | 2018-12-05T19:35:07 | 2018-12-05T19:35:07 | 147,705,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,164 | cpp | ExerciseBasicGraphics.cpp | #include <ctime>
#include <vector>
#include "defs.h"
#include "Utilities.h"
#include "FrameBuffer.h"
#include "ColorAndMaterials.h"
#include "Rasterization.h"
FrameBuffer frameBuffer(WINDOW_WIDTH, WINDOW_HEIGHT);
void closed5x5Square(int x, int y, color C) {
drawLine(frameBuffer, x - 2, y - 2, x + 2, y - 2, C);
dra... |
aa1f01143535b56bf34e962cdd1aa5e546c7f915 | 7918b32f641d758d2ea05a3eb22aa1171cea8cd3 | /ui/include/ui/window.hpp | 1ac2932379ec86196237c7f44d9da56fd9cb5897 | [
"BSL-1.0"
] | permissive | dobson156/irc_client | e43553b43bde33b2f8b4e72b40a677fd2f9004cb | 9afc098087a64c88f599e3dae956b7be1407bb96 | refs/heads/master | 2021-01-01T06:45:01.450302 | 2014-11-25T23:51:13 | 2014-11-25T23:51:13 | 8,236,549 | 1 | 0 | null | 2014-01-18T13:18:26 | 2013-02-16T14:11:55 | C++ | UTF-8 | C++ | false | false | 599 | hpp | window.hpp | #ifndef CONS_WINDOW_HPP
#define CONS_WINDOW_HPP
#include <ncurses.h>
#include <memory>
namespace cons {
struct point;
using unique_window_ptr=std::unique_ptr<WINDOW, decltype(&::delwin)>;
//helper
int destroy_parent(WINDOW *win);
//Makes a new parent windows
unique_window_ptr make_window();
//Makes a sub window fr... |
b083fd2fc6b3801a54b1dee8a85536b5e1073974 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5640146288377856_0/C++/ImGonnaWreckIt/1.cpp | 28af3690baa36dbb78f5ad05539dade539df7349 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | 1.cpp | #include <iostream>
#include <iomanip>
#include <cmath>
#include <algorithm>
using namespace std;
int main(){
int i,j,k,l;
int N,T;
int *board;
int R, C, W;
cin>>T;
for(l = 0 ; l < T ; l++){
cin>>R>>C>>W;
cout<<"Case #"<<l+1<<": ";
N = (C - W)/W;
if(C % W == 0)
N = N+W;
else
N = N + W +1;
if(... |
875a8e4e47d91af47035baf315403275ff65a64b | d3f7cbcb205928281ef170a95ff399fad5e5d208 | /TY_PSUO/Inheritance/abstract_class.cpp | 7a184466ac3d010fec0c3e5e435e73140b3f4c87 | [] | no_license | SatvikDandale/TY_SEM1 | 43883fefb31052315f9f00e5dbffbe8a3c28744b | 474790a4d360835ab843f4a083244e5ccaba6c0b | refs/heads/master | 2021-08-08T21:19:30.967009 | 2020-08-05T12:15:54 | 2020-08-05T12:15:54 | 208,415,563 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | abstract_class.cpp | /*
CPP program to demostrate how abstract (do nothing) functions are inherited and the rules for the same.
*/
#include<bits/stdc++.h>
using namespace std;
class A{
public:
// Declaring just one function as virtaul AND do nothing will make the class abstract.
virtual void f1() = 0;
void ... |
53c4b8212fbf8e92ed55981cbb26ac6b953b5fc8 | 5bccf2d2118008c0af6a51a92a042e967e4f2abe | /Support/Modules/UDLib/UDToolBox.hpp | f3b7c200935387823ada7b99f4680ac90fe0f10e | [
"Apache-2.0"
] | permissive | graphisoft-python/DGLib | fa42fadebedcd8daaddde1e6173bd8c33545041d | 66d8717eb4422b968444614ff1c0c6c1bf50d080 | refs/heads/master | 2020-06-13T21:38:18.089834 | 2020-06-12T07:27:54 | 2020-06-12T07:27:54 | 194,795,808 | 3 | 0 | Apache-2.0 | 2020-06-12T07:27:55 | 2019-07-02T05:45:00 | C++ | UTF-8 | C++ | false | false | 11,059 | hpp | UDToolBox.hpp | // *****************************************************************************
// File: UDToolBox.hpp
//
// Description: Toolbox related classes
//
// Project: GRAPHISOFT User Dialog Module (UDLib)
//
// Namespace: UD
//
// Contact person: MD
//
// SG compatible
// **********************************************... |
72c0fbd8e32bb071f7c37b3ff7622198685f85ac | 91e542992f2572e80fdde0cb1d61155e6ee1afcd | /oll/oll_train.cpp | fc9f4d25e0f7fc84a2961f306927778d3a2d701f | [] | no_license | hecomi/HAS-Project | 5eca2cc7c52637f3ed71f1b32a9d62c52fe9b63b | 0bb1b98f2ce12333f36ce343a303a92e12d18816 | refs/heads/master | 2021-01-02T23:08:12.379569 | 2012-05-13T03:06:26 | 2012-05-13T03:06:26 | 3,766,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,280 | cpp | oll_train.cpp | #include <iostream>
#include <string>
#include <stdlib.h>
#include "oll.hpp"
static const char* OLL_PROGNAME = "oll_train";
void usage(){
fprintf(stderr,
"%s (P|AP|PA|PA1|PA2|CW) trainfile modelfile [devfile] -C=FLOAT -b=FLOAT -I=INT\n"
"P : Perceptron\n"
"AP : Averaged Perceptron\n"
"PA : Passive ... |
47e76ad2f088753046ef9c0f0f6d18ad5d75e2c4 | e9c14ecea6b6f349269997ee9fbf75e704d5ffc5 | /include/customUserTracker.h | 4021ecac346d5a499622916713957d7a460483f8 | [] | no_license | heokyunam/GraduateIntegratedProject | d31c34052d80794e001218dc22c1e604cfbc26a9 | 2d51765b7772a7cd61d73c1a2deac9360c43f758 | refs/heads/master | 2020-12-30T10:12:21.780317 | 2017-10-18T05:30:31 | 2017-10-18T05:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,782 | h | customUserTracker.h | #include <openni-nite/NiteCAPI.h>
#include <openni-nite/NiTE.h>
#include <openni-nite/NiteEnums.h>
#include <openni2/OpenNI.h>
#include <iostream>
using namespace nite;
/**
This is the main object of the User Tracker algorithm. It provides access to one half of the
algorithms provided by NiTE. Scene segmentation, s... |
c15b4e6e271402eb81ad0fc2f0b181afde7bad41 | 3cfc3f4cb1572806c153cdb550f7fd41e1943f08 | /_MODEL_FOLDERS_/_modelNameHere TEXTURE NORMALS/crystalBlockShadow_00/crystalBlockShadow_00_shaderInit.cpp | 01427ab901b4e3de91e0c5f607102e9f8135d959 | [] | no_license | marcclintdion/a8a_MATRIX_MATH_MAY_10 | c8d07b3425f8fb04f05104c1baf1b5934fa5b0c4 | d9f9851c20f681929aa0896be4e0b8336c50a4fb | refs/heads/master | 2021-01-10T07:11:59.889363 | 2015-09-30T14:11:41 | 2015-09-30T14:11:41 | 43,436,890 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,756 | cpp | crystalBlockShadow_00_shaderInit.cpp | const char *crystalBlockShadow_00_SHADER_VertexStrings[1];
const char *crystalBlockShadow_00_SHADER_FragmentStrings[1];
crystalBlockShadow_00_SHADER_Vertex = glCreateShaderObjectARB( GL_VERTEX_SHADER_ARB );
unsigned char *crystalBlockShadow_00_SHADER_VertexAssembly = readShaderFile( "_MODEL_FOLDE... |
6db266274dd8aea38c3fb543fc01184b74000546 | 1a8ac76c6f7ba53fa6292f680e664dc084d69cf4 | /src/lib/tools/Typenames.hpp | f67192586de9ec111a627fa68d91a1d232b46ffe | [
"MIT"
] | permissive | Lut99/Rasterizer | eb14ac6f873b54966d559458961e89be986351e0 | 453864506db749a93fb82fb17cc5ee88cc4ada01 | refs/heads/master | 2023-08-24T23:46:21.258199 | 2021-10-01T10:21:14 | 2021-10-01T10:21:14 | 374,108,823 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,609 | hpp | Typenames.hpp | /* TYPENAMES.hpp
* by Lut99
*
* Created:
* 18/07/2021, 12:56:59
* Last edited:
* 18/07/2021, 12:56:59
* Auto updated?
* Yes
*
* Description:
* Provides some templated functions to easily return a sort of
* human-readable name of types. Others can be provided by defining
* template specializat... |
bf1d44d3886f297a53b0ef442dd1224bb8980807 | 6b2a39df2cd6e626ca042b80d98003f9e47a0b02 | /week4/767.ReorganizeString.cpp | 9601547f68665901f9aa7c692277efa4e64f613b | [] | no_license | ShuhengLi/LeetCode | 0b7db0eaee71b13a8c6324cd837324db31560247 | f882fc0fd58857dafdd4b41b1b89c10e56a3f23d | refs/heads/master | 2021-06-07T21:15:54.639277 | 2020-10-20T22:02:46 | 2020-10-20T22:02:46 | 28,899,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | 767.ReorganizeString.cpp | /*767. Reorganize String
* Given a string S, check if the letters can be rearranged so that two characters that are adjacent to each other are not the same.
If possible, output any possible result. If not possible, return the empty string.
Example 1:
Input: S = "aab"
Output: "aba"
Example 2:
Input: S = "aaab"
Out... |
8199a9ea42b29c533fd4a0dde665f4518d57680b | 4d827ed761ca8bbd903d77a248db932629c8d6de | /InputManager.cpp | fd08cf42580d54ff032de423e3542dc6f47abeab | [
"Apache-2.0"
] | permissive | ChrSacher/MyEngine | e0e9067678ad4cbffc9d7ca8e500104e28223dfe | 8fe71fd9e84b9536148e0d4ebb4e53751ab49ce8 | refs/heads/master | 2021-10-22T07:09:25.782032 | 2019-03-09T01:25:28 | 2019-03-09T01:25:28 | 38,216,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,375 | cpp | InputManager.cpp | #include "InputManager.h"
void InputHandler::ScriptCreated(SeScript* SeScript)
{
ChaiScript &script = SeScript->getState();
script.add(user_type<InputHandler>(), "InputHandler");
script.add_global(var(this), "Input");
script.add(fun(&InputHandler::isKeyDownS), "isKeyDown");
script.add(fun(&InputHandler::isKeyPre... |
d87c33d461498fa465b46c7ef3565284e4ae48d8 | c339b53d49d23b788d85d830ba2c50c2a5999509 | /GLOW/32/inside-sphere-view/viewdataviewer.h | f9118f9d20d6afb7781239ba4e7b9d20445bb50e | [] | no_license | ghali/gcb | 68ba7a2b47db2483c8fa710d14a6c1433e5ee70c | 103874c0ca2f88dfac3b069c278470d13f7b9c25 | refs/heads/master | 2020-06-24T01:53:33.999331 | 2019-07-25T11:23:29 | 2019-07-25T11:23:29 | 198,814,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | h | viewdataviewer.h | /* The following code example is described in the book "Introduction
* to Geometric Computing" by Sherif Ghali, Springer-Verlag, 2008.
*
* Copyright (C) 2008 Sherif Ghali. This code may be freely copied,
* modified, or republished electronically or in print provided that
* this copyright notice appears in all... |
56af0621c463e57270f4b360777e7d7fa41359d7 | 5a84cf73fc6771b6a3375824231f3de91f77e1d5 | /load_dump.cpp | 135bbe467a48fc2086426598d7e16bc323eecc18 | [] | no_license | vuniverdevTeam/projectVuniverCgiBin | 4e1ff1e9c79c090512f9b47ca81cd4d1281402bc | 83aaf6847ead28405f4a8bba18c2369dfa87e91a | refs/heads/master | 2021-01-01T05:48:26.159640 | 2015-02-26T12:33:17 | 2015-02-26T12:33:17 | 30,250,759 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,034 | cpp | load_dump.cpp | #include <stdlib.h>
#include <iostream>
#include <string.h>
using namespace std;
char buff[200];
char* name;
char* value;
void read()
{
short i, j = 0;
strcpy(buff, getenv("QUERY_STRING"));
char* ptr=buff;
for(i = 0; ptr[i] != 0; i++)
if(ptr[i] == '='){
ptr[i] = 0;
name = new char[i... |
0a3fdd3133af88ae29399a21196243be1c13c991 | 600dd5e4d37be7014948e54c83f5a31a3fb181ca | /topcoder/srm594/FoxAndGo3.cc | 8f075d977627aad862c94cdac919c40a03a94e60 | [] | no_license | wolf5x/acmcode | daabffac7435ea7c72ed5336475201f846bf5ddc | 6e1ab3678edcab310be6d765c73a2c7339e03c1c | refs/heads/master | 2020-06-04T12:45:01.592103 | 2014-05-17T03:47:59 | 2014-05-17T03:47:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,283 | cc | FoxAndGo3.cc | #include <cstdlib>
#include <cctype>
#include <cstring>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <fstream>
#include <numeric>
#include <iomanip>
#include <bi... |
253a6a462ac381c74dece2c6a7f98a6f9e2550a9 | 927c2b11739dccab27a44d5c1c76bbbc38add8f1 | /Practice/ZUCCACM/Problem : Train Problem II (卡特兰数+高精度)/Problem : Train Problem II (卡特兰数+高精度)/main.cpp | 1dbc1afb24bc1c035cf985b77c446001c114142a | [] | no_license | civinx/ACM_Code | 23034ca3eecb9758c3c00a519f61434a526e89cc | d194ee4e2554a29720ac455e6c6f86b3219724ee | refs/heads/master | 2021-09-15T06:18:09.151529 | 2018-05-27T18:07:25 | 2018-05-27T18:07:25 | 105,544,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,360 | cpp | main.cpp | //
// main.cpp
// Problem : Train Problem II (卡特兰数+高精度)
//
// Created by czf on 16/3/31.
// Copyright © 2016年 czf. All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <cmath>
#include <cstring>
using namespace std;
struct BigInterger{
vector<long long>... |
6a19a56c6ab7a06e040e4c92a31fde6a026120b9 | 1e2cba1a4c0890916e7518f37c8533c82424650d | /test.cpp | f9930810c3de2a0f4fded23db540c39e363486e2 | [] | no_license | KeyLD/RBTree | 6612d018e60f3b7daa6dd580e227ba9b20d9f97e | 76aace26c53babc3c908a764c03a6c13b259ba4e | refs/heads/master | 2021-09-08T22:30:37.886279 | 2018-03-12T14:07:16 | 2018-03-12T14:07:16 | 124,658,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | test.cpp | /* ***********************************************************************
> File Name: test.cpp
> Author: Key
> Mail: keyld777@gmail.com
> Created Time: Tue 06 Mar 2018 05:15:09 PM CST
*********************************************************************** */
#include "kmap.h"
#include <iostream>
usi... |
3a9c35674309b9ca5790734e258a4e2e2a435984 | f5a10483d3cba20abf49d35576afed19af358a52 | /sketch_aug12a.ino | f6e663de6ed6450684af7c7c62a7c742efa1359e | [] | no_license | Tyronezzz/Arduino_getinfo | cf637326d72b9d78fce408c5d2dfbff92cb66060 | 26da678f82180f1d9e761065d997cc144799ebf7 | refs/heads/master | 2021-01-16T20:21:25.438617 | 2017-08-13T20:21:25 | 2017-08-13T20:21:25 | 100,202,429 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | ino | sketch_aug12a.ino | unsigned long last_time = 0;
String comdata = "";
int port = 13;
char isn;
void setup()
{
Serial.begin(115200);
while(Serial.read()>=0){} //清空串口缓存
pinMode(port, OUTPUT);
}
void loop()
{
while(Serial.available()>0)
{
//comdata += char( Serial.read());
isn = char(... |
82763649728cea4257bdc61e19168c72b83b730e | 2304dc468bbe40b2a9f9466df85bfa674e9a123d | /util/test/TestBox.cpp | d936dd401541d233533947de35a5bc9c04b9cd84 | [] | no_license | ab-vm/ab | a330a5ea53537a8c00dc90ecee11a4b2b0a8fcc8 | 173f56d0e1fc93e1cfefe5711c6df91a9552a467 | refs/heads/master | 2021-01-15T19:03:57.673408 | 2019-12-14T15:41:17 | 2019-12-14T15:41:17 | 99,801,785 | 7 | 1 | null | 2019-12-14T15:41:18 | 2017-08-09T11:40:44 | WebAssembly | UTF-8 | C++ | false | false | 561 | cpp | TestBox.cpp | #include <Ab/Box.hpp>
#include <gtest/gtest.h>
using namespace Ab;
class Destructor {};
TEST(TestBox, defaultConstructor) {
Box<int> box{IN_PLACE};
box() = 1;
EXPECT_EQ(box(), 1);
}
TEST(TextBox, copyConstructor) {
Box<int> b{5};
EXPECT_EQ(b(), 5);
}
struct MyStruct {
int x;
};
TEST(TestBox, Constructor) {
... |
ea806dd31a297d7a0464b5aab2636d540449e176 | dbed5e361a7e9ec4c4a20ed0de84b599a1c30f02 | /InternalRepresentations/NibbleState/NibbleState.cpp | 8c9f223ba0cbe9f0410c4df3f07e30b62abc03e9 | [
"MIT"
] | permissive | H3LLB0Y/8PuzzleBenchmark | 00eca5ee455c3c577119a589ff7030f6c297aea7 | 48a2c73963d260022a51da4e56ed43cdc6bc2c7d | refs/heads/master | 2023-05-04T17:34:43.697225 | 2021-05-15T20:38:33 | 2021-05-15T20:38:33 | 367,588,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | cpp | NibbleState.cpp | #include "NibbleState.h"
#include "../InternalRepresentation.h"
#include <stdexcept>
#include <string>
unsigned char characterToNibble(char character) {
switch (character) {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case ... |
e8e787fd26180d3f5a2349b073e0128c75bc84af | 6db54cff6d29bbaa597c5c80e0632dac0eb39a26 | /source/VkRenderer/Enum/VkAttachmentLoadOp.cpp | 6180ab9b87952d0f12bf77ade245b711439cdfc6 | [
"MIT"
] | permissive | Chaanks/Ashes | 62fdcb6aaf558b6b80f18c9961c94f05251362df | e3d2b42b7b3e9aced385e203bbe6badddb2166ec | refs/heads/master | 2020-05-19T07:10:07.618947 | 2019-05-04T10:57:11 | 2019-05-04T10:57:11 | 184,881,467 | 0 | 0 | null | 2019-05-04T10:33:32 | 2019-05-04T10:33:32 | null | UTF-8 | C++ | false | false | 521 | cpp | VkAttachmentLoadOp.cpp | #include "VkRendererPrerequisites.hpp"
namespace vk_renderer
{
VkAttachmentLoadOp convert( ashes::AttachmentLoadOp const & value )
{
switch ( value )
{
case ashes::AttachmentLoadOp::eLoad:
return VK_ATTACHMENT_LOAD_OP_LOAD;
case ashes::AttachmentLoadOp::eClear:
return VK_ATTACHMENT_LOAD_OP_CLEAR;
c... |
75cef18fe33390822d1732831e019ddeb414b73c | f20e965e19b749e84281cb35baea6787f815f777 | /Online/Online/ExampleGaucho/src/GaudiExample.cpp | b21779fea3a5fc973aa6411104e53ab455aa5efb | [] | no_license | marromlam/lhcb-software | f677abc9c6a27aa82a9b68c062eab587e6883906 | f3a80ecab090d9ec1b33e12b987d3d743884dc24 | refs/heads/master | 2020-12-23T15:26:01.606128 | 2016-04-08T15:48:59 | 2016-04-08T15:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,240 | cpp | GaudiExample.cpp | // $Id: GaudiExample.cpp,v 1.17 2010-10-01 13:43:45 frankb Exp $
// Include files
#include "GaudiKernel/AlgFactory.h"
#include "GaudiKernel/DataObject.h"
#include "Gaucho/MonStatEntity.h"
#include "Gaucho/MonVectorI.h"
#include "Gaucho/MonVectorD.h"
#include "GaudiExample.h"
#include "AIDA/IHistogram1D.h"
#include "A... |
7c61021ac87209ddcdc06f699ed9905f7c5a9514 | 711504d90b90c717cf7213822f60aac6eb99ab87 | /133.cpp | 9aea5afbf5ebd1fde8dad0552623d1a04815b5af | [] | no_license | ysc6688/leetcode | b646c2027c41fb677f14186f4d2df612f29e7749 | f9028ac42d0d5db1bf8f6c87c7b2a59046a3856c | refs/heads/master | 2021-01-24T10:36:04.438381 | 2016-09-20T15:38:29 | 2016-09-20T15:38:29 | 53,134,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,341 | cpp | 133.cpp | /**
* Definition for undirected graph.
* struct UndirectedGraphNode {
* int label;
* vector<UndirectedGraphNode *> neighbors;
* UndirectedGraphNode(int x) : label(x) {};
* };
*/
struct hash_func
{
size_t operator()(const UndirectedGraphNode* node) const
{
return node->label... |
320f16452576dd9a2bd0d095e2f1d18f07688c2a | 0d085b4ee7537095ff0d0b1f12cb486329800dce | /Lang/Constructor/main.cpp | 8e0105fd3206184bf32e9db4cf2fe6ec45f484ac | [] | no_license | YongHoonJJo/CPP | f3043e5bca1314fa9954e82fb3b481ef25a56c6f | 1cfdda3fddb86d7f010401bbc9bfc4330e9cd324 | refs/heads/master | 2021-01-02T23:04:51.188049 | 2017-09-03T11:09:31 | 2017-09-03T11:09:31 | 99,462,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | main.cpp | #include <iostream>
#include "cat.h"
using namespace std;
int main(){
cat A;
A.print(); // 이름: , 나이: 0
A.set(3, "Pine");
A.print(); // 이름: Pine, 나이: 3
A.set(5);
A.print(); // 이름: Pine, 나이: 5
A.set("Odd");
A.print(); // 이름: Odd, 나이: 5
cat B(5);
B.print(); // 이름: , 나이: 5
cat C("Hoon");
C.print(); // 이름: ... |
0e02016d2d17190fd09f51163d233f685b6ebf2d | b5f0a4540d122b98e7c11196544e44c597decbe7 | /Ejercicio Resueltos por mi/Punteros.cpp | d968ec1c940088f2d92d24bf92c0886b7fbd84a4 | [] | no_license | joaquinheliop/CPP-Practicas- | 964f604c7429842235cacf8a5a8e0013a3167d53 | ab1276126b17632e54f7dc95cbb41916b5c9a41c | refs/heads/main | 2023-08-14T05:50:55.573323 | 2021-10-07T18:55:11 | 2021-10-07T18:55:11 | 410,961,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | Punteros.cpp | #include<iostream>
#include<conio.h>
using namespace std;
int main() {
int num, *dir_num;
num = 20;
dir_num = #
cout<<"Numero: "<<*dir_num<<endl;
cout<<"Direccion de memoria de mi variable: "<<dir_num<<endl;
getch();
return 0;
}
|
5bf5ef6151722fba113ab3ca7ae5a6ed4992e8ae | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/content/renderer/loader/shared_memory_data_consumer_handle_unittest.cc | 0a99ca6a50b28b475334fc5b7b41be533a6d5144 | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 30,676 | cc | shared_memory_data_consumer_handle_unittest.cc | // Copyright 2015 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 "content/renderer/loader/shared_memory_data_consumer_handle.h"
#include <stddef.h>
#include <string.h>
#include <string>
#include <utility>
#in... |
706807115f5c5cf9d9451ccd71591615d5ca1bd6 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/renderer/modules/webcodecs/audio_encoder.h | 100691161f039810fb293cccccdb33d01d39d4fc | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 3,699 | h | audio_encoder.h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBCODECS_AUDIO_ENCODER_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBCODECS_AUDIO_ENCODER_H_
#include "media/base/audio_codecs.h... |
43e84248b4aef1dd008b756035a0a8b4650a752d | 9b2d7c2a3df6d6e287a176540d4b587aebb187a1 | /Tema2/Object3D.cpp | b4d4b3e7b9d4df13c90233e095b5707a1b92f66a | [] | no_license | RazvanBusuioc/Tema2EGC | a45d6379805c0a83f48e530684a70605951f0f93 | 2b6feb30d2ee4ab3eb44ecb6d0547830ba0b17de | refs/heads/main | 2023-03-06T02:13:29.398979 | 2021-02-18T12:52:33 | 2021-02-18T12:52:33 | 340,048,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,128 | cpp | Object3D.cpp | #include "Object3D.h"
#include <Core/Engine.h>
#include <iostream>
Mesh* Object3D::CreateMesh(std::string name, const std::vector<VertexFormat>& vertices, const std::vector<unsigned short>& indices)
{
unsigned int VAO = 0;
//Create the VAO and bind it
glGenVertexArrays(1, &VAO);
glBindVertexArray(VAO)... |
41d94c01df01efa1e92537a48d0f119c33a51672 | 28f6b5c0ee50c4ff00f0388483e7ecd81943613a | /WebComponents/demos/vui-video/C++Builder/uFormMain.h | 7a897142da92728df57383ea55dd4881a843ee6d | [
"MIT"
] | permissive | cybelesoft/virtualui | 14866c9247d7a0dbd97fcd0073e3bbfcfdbb307b | 7d2ed509b7f8c5c72dda3cfbff9b307cc27c1663 | refs/heads/master | 2023-03-11T09:48:48.763815 | 2022-09-16T14:25:54 | 2022-09-16T14:25:54 | 64,767,401 | 15 | 13 | null | 2023-03-04T09:32:41 | 2016-08-02T15:11:06 | JavaScript | UTF-8 | C++ | false | false | 1,204 | h | uFormMain.h | //---------------------------------------------------------------------------
#ifndef uFormMainH
#define uFormMainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
... |
82798469dae8eb707e1c25d017176b41117476ae | ba5a2c65b5e2845f910d7bc7bf61df33cdec1ee6 | /OOP Practices/OOP Practices/Clock.h | 249f35309e4b3ea3a09cd57bd2960fa7058368be | [] | no_license | kruztev/C-plus-plus | 2469089dcd57195d3bb52618a970b7e382911bea | 61d4671086bf075d9ccc09e486dcc42a31546570 | refs/heads/master | 2021-07-23T04:56:02.025409 | 2020-05-02T21:14:45 | 2020-05-02T21:14:45 | 159,057,172 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h | Clock.h | //
// Clock.h
// OOP Practices
//
#ifndef Clock_h
#define Clock_h
class Clock
{
public:
Clock();
Clock(const unsigned, const unsigned, const unsigned);
Clock(const Clock&);
Clock& operator=(const Clock&);
Clock operator+(const Clock&);
~Clock();
public:
void setHours(unsigned);
... |
acbdc07fd0d363a345dfca1c88a08fa0ff96bf68 | c78d7966f5334564660ec1490429dfdce860b3ea | /Questions/Codeforces/Solutions/Binary Protoco/q.cpp | 9904da721b0ed1568015d27a51e84c92a18ca785 | [] | no_license | felipegetulio/Competitive-Programming-Subjects | 2f886204418fab84432588dc63823d65d4572d9f | fdcdda799c018c2d0bca46692e9c9682a3367025 | refs/heads/master | 2020-03-29T08:19:14.056794 | 2019-02-26T17:40:58 | 2019-02-26T17:40:58 | 149,704,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | q.cpp | using namespace std;
#include<bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);
int main(){_
int n, cont = 0, ans = 0;
string s;
cin >> n >> s;
for(int i=0; i<n; i++){
if(s[i] == '0'){
ans = 10*ans + cont;
cont = 0;
continue;
}
... |
f09706637afe891ea78b8bd0e304c61c6628013c | fd3f8e4383292c15194a97cfa251a3de0882ac3c | /src/replica/duplication/replica_duplicator_manager.cpp | 56ec34a39272dc545c3ed7a9ef7d610433ad2296 | [
"Apache-2.0",
"Zlib",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | apache/incubator-pegasus | 417ea26a150c3bfd6c7f6a0a2148de7770dd291b | be9119e75f27b9f0563acaf33f5c96edf0051307 | refs/heads/master | 2023-08-29T00:35:34.152285 | 2023-08-28T06:45:00 | 2023-08-28T06:45:00 | 41,712,332 | 663 | 97 | Apache-2.0 | 2023-09-14T08:03:29 | 2015-09-01T02:29:37 | C++ | UTF-8 | C++ | false | false | 6,280 | cpp | replica_duplicator_manager.cpp | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
9a781040babf267660f1e6d3aa787cb1e5b82507 | 9aaf6e9a28a521e87285a70ebbfbf2fcf2f202a6 | /src/cell_tracking_flow.cpp | 06fe47163e831b4abd0075254fada3aa7637b2f8 | [] | no_license | pawelswoboda/LP_MP-Cell-tracking | 69971bbb467f790d05ae4627784dda9776459f07 | cb5e2b2625d77c867facefc218a369dd4ce77740 | refs/heads/master | 2021-09-19T18:36:10.783790 | 2018-07-30T14:13:01 | 2018-07-30T14:13:01 | 111,903,270 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | cell_tracking_flow.cpp |
#include "cell_tracking.h"
#include "solver.hxx"
#include "visitors/standard_visitor.hxx"
using namespace LP_MP;
int main(int argc, char** argv) {
Solver<LP<FMC_CELL_TRACKING_FLOW>,StandardVisitor> solver(argc,argv);
auto input = cell_tracking_parser_2d::parse_file(solver.get_input_file());
auto& c = solver.template... |
94eda4c91d39ab8160e9cc02eca5d994ddf13a14 | d0c7b39c0a724d2bceaac7cbf0e35a136e009c50 | /Project6/SDLProject/Entity.cpp | 5ce22f0a6b3079b585ff5375839e3bab504a45c3 | [
"CC-BY-4.0"
] | permissive | jhochrun99/CS3113projects | 041a40793b0a29a5e84d8282b20fcb87d283636b | d7444c91f91a00d76287cce55ffaeac42d8026f6 | refs/heads/master | 2021-01-04T21:23:31.824946 | 2020-05-09T03:38:13 | 2020-05-09T03:38:13 | 240,764,246 | 0 | 0 | null | 2020-05-06T03:54:44 | 2020-02-15T18:11:46 | C++ | UTF-8 | C++ | false | false | 17,456 | cpp | Entity.cpp | #include "Entity.h"
#include "math.h"
#include <stdlib.h>
#include <time.h>
#include "Util.h"
#include "Enemy.h"
Entity::Entity() {
srand(time(NULL));
position = glm::vec3(0);
velocity = glm::vec3(0);
acceleration = glm::vec3(0);
movement = glm::vec3(0);
speed = 1.0f;
health = 3;
wid... |
e14cc9ab14aede68be5cfbcb4a708382b8e7895d | 4382d8e976816ba2be05621b3566df9d5be9c0a6 | /OpenHome/Net/Bindings/Cpp/Device/Providers/DvAvOpenhomeOrgProduct2Std.cpp | b42ab25755c772a69593a1ee249542ad7c0dcdec | [
"MIT"
] | permissive | openhome/ohNetGenerated | f9e9fc591d52c1a2ed69c676046af4e931c22f7c | 05270d36e77f97a2ffd0f9eb44249a908c333d71 | refs/heads/master | 2020-12-13T18:39:35.802161 | 2018-07-12T13:09:23 | 2018-07-12T13:09:23 | 22,726,722 | 1 | 6 | null | 2016-10-17T12:43:53 | 2014-08-07T15:38:18 | C++ | UTF-8 | C++ | false | false | 33,434 | cpp | DvAvOpenhomeOrgProduct2Std.cpp | #include "DvAvOpenhomeOrgProduct2.h"
#include <OpenHome/Types.h>
#include <OpenHome/Net/Private/DviService.h>
#include <OpenHome/Net/Private/Service.h>
#include <OpenHome/Net/Private/FunctorDviInvocation.h>
#include <OpenHome/Net/Cpp/DvInvocation.h>
#include <OpenHome/Net/Private/DviStack.h>
using namespace OpenHome;
... |
4f918adc3986c66a49e26a3bcd5985cf8ff5abec | eb48aad8f83ee1a2647b1c0e7297ef2187bcc3cb | /src/Basic2D/Model.h | 47117e2b56211c8bc826d5e010a77bf5cae941ca | [] | no_license | Thsuva/ProjectCG | cd5328dd9a4a0087dd01b0e581ce4664b5b74631 | def75c5bff19fc1eb554352e97acf2504b34e04c | refs/heads/master | 2022-04-10T21:26:17.756493 | 2020-04-01T08:13:29 | 2020-04-01T08:13:29 | 221,173,592 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 9,163 | h | Model.h | ///////////////////////////////////////////////////////////////////
// A basic skeleton for 2D like game developpers.
//
// model data
///////////////////////////////////////////////////////////////////
// world geometry
// eye (0,0,0)
// center (0,0,-1)
// up (0,1,0)
// left -1, right 1
// top &... |
717377d0d2b39d1cdf0692e3f7ba230cced2f854 | 73110e3a8901a3b597ffcd275e7c5cc900d3d859 | /GroupProj/ScanParser.cpp | 5182e216d636a315225fcc95aed0d8f7c5bde54b | [
"MIT"
] | permissive | NicholasJW/EyeMoveDetector | 5bfa53f757053b8b18d1b1f06fed0a895fd7df1f | 56ae7117d2359782c43a19a411506ab40ac72fd1 | refs/heads/master | 2021-07-20T21:33:23.071384 | 2017-10-24T02:17:08 | 2017-10-24T02:17:08 | 108,065,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,158 | cpp | ScanParser.cpp | /*
* ScanParser.cpp
*
* Created on: Nov 8, 2016
* Author: KWChen
*/
#include "ScanParser.h"
ScanParser::ScanParser(string filename) {
// TODO Auto-generated constructor stub
Scan s;
myFormatCorrect = true;
ifstream in;
in.open(filename.c_str());
if (in.bad()) {
myFormatCorrect = false;
}
e... |
fb75db9ceb22d7c421bee28cbba9b545731a536e | ce0d47673cfdaed48c6b415c4d940a694588a868 | /FastSimulation/CTPPSFastGeometry/interface/CTPPSTrkDetector.h | 5b518449266333bf79a243619e22ae8f5e9b6854 | [] | no_license | sfonsecaUERJ/CTPPSFastSimDev | a59fe09af2c16021a4a7a76e8b4cb85b2d3c048f | 10940a90cab266851483654ced38969a956f0831 | refs/heads/master | 2020-06-14T14:03:29.038164 | 2017-04-18T16:14:08 | 2017-04-18T16:14:08 | 83,049,382 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | CTPPSTrkDetector.h | #ifndef CTPPSTrkDetector_h
#define CTPPSTrkDetector_h
#include <vector>
class CTPPSTrkDetector {
public:
CTPPSTrkDetector(double detw, double deth, double detin);
virtual ~CTPPSTrkDetector() {};
public:
const double DetectorWidth;
const double ... |
ff5ef440671b4ac827f1ed436417551523ad325c | d341408bd1526239440ef8f057db0a2005232a7c | /취업을위한알고리즘문제풀이/나이차이.cpp | 2104140eb6cb5919c5d86eb5d15035f9ac38a8e9 | [] | no_license | juneeda-maker/Algorithm | 28d7a01e3fe4e6bd3226a43e7ec42b1e40bde8cc | 84298bb7118142478c8527dd64642d95d8a31aa4 | refs/heads/master | 2023-07-21T06:24:52.427155 | 2021-09-06T07:29:48 | 2021-09-06T07:29:48 | 320,888,572 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | 나이차이.cpp | #include <iostream>
using namespace std;
int main()
{
//freopen("input.txt", "rt", stdin); //입력할 데이터가 많을경우 input.txt파일 생성해서 입력
int n;
int age;
int max = 0;
int min = 2100000000;
cin >> n;
for(int i = 0; i < n; i++)
{
cin >> age;
if(age > max)
max = ag... |
16d22878c0c6694b7d07b7bc88aa055c1a1b337d | 5464d8f847aecb3cbab7629485a1fdff707f0a3d | /s32v234_sdk/libs/arm/apexcv_base/arithmetic/include/apexcv_arithmetic_func.h | f6f31e1abf336acc49b90752f3a15c8a7670b2d5 | [] | no_license | kernal88/VisionSDK | 73e0d1280ac1574a43f129e0ab8940e8be86000e | 63dfbbb8800c647ac9d23dae08de946e7c1ab6f3 | refs/heads/master | 2021-06-02T14:26:44.838058 | 2016-03-22T00:34:08 | 2016-03-22T00:34:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,908 | h | apexcv_arithmetic_func.h | /*****************************************************************************
*
* Freescale Confidential Proprietary
*
* Copyright (c) 2013 Freescale Semiconductor;
* All Rights Reserved
*
*****************************************************************************
*
* THIS SOFTWARE IS PROVIDED BY FREESCALE "AS IS" A... |
6c38539b40710c23a2b1adef6029686bbe14524d | b16ddbe96352f03c3fa97e4ec224678aa2f87c6e | /Cau truc du lieu giai thuat/7.de quy nhi phan.cpp | c0528ebfdd7b68a08bf2f22ab3b0bffeea735e4c | [] | no_license | DinhTuanAnh2k1/C-plus-plus | 63ba28e5d3795a7311b4e92f6e92e3e56558cc7f | 47ee1ca4006e72eaf5bbdae5872df2c9cf8bdc94 | refs/heads/master | 2023-08-26T19:11:18.247502 | 2021-11-03T09:50:30 | 2021-11-03T09:50:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | 7.de quy nhi phan.cpp | #include<bits/stdc++.h>
using namespace std;
int fb(int n){
if(n<=2){
return 1;
}
return fb(n-1)+fb(n-2);
}
int main(){
int n;
cin>>n;
cout<<fb(n)<<endl;
return 0;
}
|
0bc3a6b9291d45f8d3e3ab302a0c79a2ae42e163 | 565baf0e91d56a39c43fe6c2711b01dd92c189e8 | /Library/DataSys.h | 8495ce3c461d43f90c52ceff72f50dad5a605cfe | [] | no_license | cpp-library/library | 8461c4782ff8fc656335cf16ae31af33eff95902 | ee0f7c830684d0e4b4cf305d7cdd8d9f215286ef | refs/heads/master | 2021-04-06T06:07:03.001271 | 2018-04-20T13:16:33 | 2018-04-20T13:16:33 | 125,381,842 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,873 | h | DataSys.h | #pragma once
#include "Blist.h"
class DataSys
{
public:
static void create(string _name, int _num, int _len[], bool _ifsearch[]); ///新建表(表名,表的列数,格式描述,是否课检索)
static DataSys* getData(string name);///获得数据表指针
static void Sysclose(string name);///关闭指定名称数据表
void close();///关闭数据管理器,请在程序结束前调用该方法以防止数据损失,与上一个方法效果相同
string g... |
b2d1d255a71c5dcd26d86a4b118f54b65a4b51b9 | 8bcd6750765c2dc4a3f545670bedf8db28684e69 | /S_Jord_Row/task.cpp | 2d1a3a63c5655d8b7bb164f33ae2532bbd33501f | [] | no_license | LyakhovIS/matrix_operations | 790f0d30864eb65d886dc2da20d18035e3d64505 | 62bd049cb6773cecb889a357c374e574edf9c2ac | refs/heads/main | 2023-03-06T04:58:12.266549 | 2021-02-21T18:45:19 | 2021-02-21T18:45:19 | 336,499,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | cpp | task.cpp | #include <iostream>
#include <cmath>
#include "func.h"
using namespace std;
const double EPS = 1e-13;
int SolveSystem (int n, int *mass, double *a, double *x, double *answer){
int q, w, j, i, g, temp;
double maxi, numb;
for (q = 0; q < n; ++q){
maxi = abs(a[q * n + q]);
i = q;
... |
7555e0d68bcf72f42b81b3518927e3f8190bd3b7 | 3cbea0497545c00ffc87fe1fa8a74dfe88dc9509 | /1947_MaximumCompatibilityScoreSum.cpp | 8885b7bf700240ac16232c8d523a9f03ff976a19 | [] | no_license | yuhenghuang/Leetcode | 40b954676feb3a2ef350188a6d86dadc44e84d71 | 3c5aafa7969a5a1eb01106676a5b94d404d07d9f | refs/heads/master | 2023-08-30T18:17:16.209053 | 2023-08-25T01:05:49 | 2023-08-25T01:05:49 | 249,166,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,969 | cpp | 1947_MaximumCompatibilityScoreSum.cpp | #include <local_leetcode.hpp>
class Solution {
private:
int m;
int res;
void dfs(int k, int s, vector<bool>& seen_s, vector<bool>& seen_m, vector<vector<int>>& mat) {
if (k == m) {
if (s > res)
res = s;
return;
}
for (int i = 0; i < m; ++i)
if (!seen_... |
ff87c3557edb6f182fe59c3e0b9862fcdf4a4745 | 2d5a42a4718aa112970e91f6b8a46f6deb007798 | /src/Model/BranchAccountModel/Include/BranchAccountModel.h | 515b27fb2d6383912899201185fbca54fe6c49c2 | [
"Apache-2.0"
] | permissive | sidphbot/Bank-Management-System | 9fbfb3e20e6165272f467bf1318c53c14eda313f | 665db860e46e897ab77c7a30145b09e13228614c | refs/heads/master | 2022-07-30T22:04:50.779503 | 2020-05-23T20:08:59 | 2020-05-23T20:08:59 | 260,279,105 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h | BranchAccountModel.h |
#ifndef _BRANCHACCOUNTMODEL_H_
#define _BRANCHACCOUNTMODEL_H_
#include<iostream>
//#include<sqlca.h>
#include"../../AppClass/BranchAccount/Include/BranchAccount.h"
//#include"../../Controller/BranchAccountController/Include/BranchAccountController.h"
#include"../../UI/BranchAccountUI/Include/BranchAccountUI.h"
using n... |
2f017e9128ead2186c53968223078890198f42a0 | ef6bc69f4443c2c65b5928403ad6ba20bc723099 | /week-04/day-5/restaurant/main.cpp | cdccacc8a5709d7053de14533480d2e45a01d5df | [] | no_license | green-fox-academy/plainte | 14a76155f82c6922c4634586153f62f79c86ec05 | 4150b688ac2a48b56f88c5488d8c6dd3bcfaf72e | refs/heads/master | 2020-04-16T18:52:44.457767 | 2019-03-21T14:23:01 | 2019-03-21T14:23:01 | 165,569,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,281 | cpp | main.cpp | #include <iostream>
#include "Employees.h"
#include "Restaurant.h"
int main()
{
Restaurant restaurant;
Chef chef;
Waiter waiter1;
Waiter waiter2;
Waiter waiter3;
Manager manager;
restaurant.hire(&chef);
restaurant.hire(&waiter1);
restaurant.hire(&waiter2);
restaurant.hire(&wai... |
94ff56c709d5abd746a0423c46a5d40abf5c980a | c39db905cab19a0a033ac3a461772d7457c0e2b6 | /include/lsst/afw/image/ImagePca.h | 0b6ffe0d691a855f952de62c78d1deaca642c308 | [] | no_license | RayPlante/DMS.afw | be8f62bd6d1c1286a012fd6b4f40bf12fff7f767 | 30888b34cceb85c3216972d5a26558ac3e76f2f8 | refs/heads/master | 2020-04-06T05:25:48.899481 | 2011-10-28T18:18:43 | 2011-10-28T18:18:43 | 2,667,156 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | h | ImagePca.h | // -*- lsst-c++ -*-
/*
* LSST Data Management System
* Copyright 2008, 2009, 2010 LSST Corporation.
*
* This product includes software developed by the
* LSST Project (http://www.lsst.org/).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publi... |
e030f6b5561ef77e7e9803c2ff62329ad92a66be | 8541b8a4da8d62be416c4205e7e1643b22cbac16 | /include/Memory.h | 522e6cafa87162bcedb51fbef02355a0bcfde72d | [
"MIT"
] | permissive | anerfo/esp32-dimmer | 0585919b7b4edd35607fac1ba166ff78ea12a97d | 38364f8ef45fe571f376be57d0825f247f966670 | refs/heads/main | 2023-03-21T12:24:23.304060 | 2021-03-14T09:00:44 | 2021-03-14T09:00:44 | 332,428,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | h | Memory.h | #include <EEPROM.h>
class Memory
{
private:
struct Storage
{
uint32_t Brightness;
} _Storage, _LastStorage;
bool Equals(const Storage& first, const Storage& second)
{
return first.Brightness == second.Brightness;
}
Memory()
{... |
74612361bc39e8a676aad21dac6533095b3b5569 | 03666e5f961946fc1a0ac67781ac1425562ef0d7 | /src/avt/VisWindow/Colleagues/VisWinRenderingWithoutWindowWithInteractions.h | 195a052e7525fc93e1a8299284b7fa87e6e53b81 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | visit-dav/visit | e9f81b4d4b9b9930a0db9d5282cd1bcabf465e2e | 601ae46e0bef2e18425b482a755d03490ade0493 | refs/heads/develop | 2023-09-06T08:19:38.397058 | 2023-09-05T21:29:32 | 2023-09-05T21:29:32 | 165,565,988 | 335 | 120 | BSD-3-Clause | 2023-09-14T00:53:37 | 2019-01-13T23:27:26 | C | UTF-8 | C++ | false | false | 1,803 | h | VisWinRenderingWithoutWindowWithInteractions.h | // Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
// ************************************************************************* //
// ... |
42df2f68a07cd5caadb15722698abec955dcc37d | 9fb4a0d3aa064c6042578237fa300ba6c197bad0 | /핸드폰 번호 가리기.cpp | ee9f80f0aaaf0b56d3732e28da4636697129f4c8 | [] | no_license | 19sProgrammersStudy/Gyudong | d66f2bf5213e36b378b31073bf14dcc14e15a70d | 338852b2489722e1f10a2ac4c34e1aea2b6cc998 | refs/heads/main | 2023-06-19T23:22:42.872161 | 2021-07-20T13:50:27 | 2021-07-20T13:50:27 | 383,170,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | 핸드폰 번호 가리기.cpp | #include <string>
#include <vector>
#include <iostream>
using namespace std;
string solution(string phone_number) {
string answer = "";
int len = phone_number.length();
for(int i=0;i<len-4;i++){
answer += '*';
}
for(int i=len-4;i<len;i++){
answer += phone_number[i];
}... |
1646e430bde2717317765f53df2f3103f048a71d | e5e37d09d0d96d515279ac9a484ff48616ea4fd8 | /UVa_12086 - Potentiometers.cpp | 6002292276b33935d3f68f86800b655b08688f93 | [] | no_license | code-Night/UVa-Online-judge | 298fe10811ced2350a6cd2f99974926b68186147 | ebe1a83dd2d49312f0b918c18009966f165912ec | refs/heads/master | 2016-08-11T15:57:32.948678 | 2015-12-17T09:18:56 | 2015-12-17T09:18:56 | 46,227,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | cpp | UVa_12086 - Potentiometers.cpp | #include <iostream>
#include <cstring>
#include <cstdio>
using namespace std;
typedef long long int lli;
int n;
lli sumTree [16000000+1] ;
lli value [200000] ;
void build(int i,int l,int r){
if(l == r){
sumTree[i] = value[l] ;
return ;
}
int mid = (l+r)/2 ;
build(i*2+1,l, mid);
... |
37f92ac6e443909691aa28c85a1bf3c91175347e | 1a469959f56cadab86d0ee8dcb4f87af1af64410 | /Qt/FleetGUI/fleetGUI.cpp | 47a2e842f8a30f747aff88af8cde445177557d0b | [] | no_license | denischmielewski/test | 921cf027b2ade01f42c647239859f3f27d451409 | 9fbde28b7171b04bc9982749a51ecb1b91359d2a | refs/heads/master | 2020-05-14T17:33:24.279737 | 2015-07-14T14:29:12 | 2015-07-14T14:29:12 | 32,296,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,647 | cpp | fleetGUI.cpp | #include "fleetGUI.h"
#include <QtDebug>
#include <iostream>
#include <string>
#include <math.h>
MainWindow::MainWindow(QWidget *parent, const config * fleetGUI_configuration,
std::unordered_map<std::string, TrainSession> * trainsSessions,
... |
cf4f123ba273bd004ad49cc8076a8b2bafcdb986 | b6a78c62271b9be421eb43722d500d717dfa1db8 | /sheet/A/CF486-D2.cpp | 8fcdf799ba1c0d3cae3722405d4e8f34a1a1e1d5 | [] | no_license | Zehnun/cp | 474388f44f7e260140335581326ec5788c9b6f21 | 91d5e8517684364ef5e472924affa922da2d708e | refs/heads/main | 2023-01-24T06:39:17.299891 | 2020-12-08T22:09:00 | 2020-12-08T22:09:00 | 267,667,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | CF486-D2.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
long long n; cin >> n;
if(n %2 == 0)
cout << n / 2 << endl;
else
cout << -(n+1)/2 << endl;
return 0;
}
|
bd36a7797a909decd0a2cda102b37253dffa6830 | 8c826d76cb42cc0cf15930424b4817f90db4b964 | /Blinding/RandomLib-1.10/include/RandomLib/DiscreteNormalAlt.hpp | b92e4974097f5d8535756360982202f35ec68075 | [
"MIT"
] | permissive | glukicov/EDMTracking | 79936455e6ab20ac9d8cc7a00df294dd108cfe54 | ed17431bd9071b0aa6a773380d5a0d362fa933c8 | refs/heads/master | 2021-07-15T20:30:37.124456 | 2020-10-22T19:54:09 | 2020-10-22T19:54:09 | 214,927,605 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,256 | hpp | DiscreteNormalAlt.hpp | /**
* \file DiscreteNormalAlt.hpp
* \brief Header for DiscreteNormalAlt
*
* Sample exactly from the discrete normal distribution (alternate version).
*
* Copyright (c) Charles Karney (2013) <charles@karney.com> and licensed
* under the MIT/X11 License. For more information, see
* http://randomlib.sourceforge.n... |
52a5704d190666743881675bc7d7c45a9ec5cdd2 | 5696f7e9bb6cb18e791be3f71e8a72f9a26a0a22 | /src/FundInvest/FundInvest/FundInvestDlg.h | 6217e2436d654a873b2e48212c117a740fb1b5ab | [
"MIT"
] | permissive | xylsxyls/xueyelingshuang | 0fdde992e430bdee38abb7aaf868b320e48dba64 | a646d281c4b2ec3c2b27de29a67860fccce22436 | refs/heads/master | 2023-08-04T01:02:35.112586 | 2023-07-17T09:30:27 | 2023-07-17T09:30:27 | 61,338,042 | 4 | 2 | null | null | null | null | GB18030 | C++ | false | false | 4,161 | h | FundInvestDlg.h |
// FundInvestDlg.h : 头文件
//
#pragma once
#include <string>
#include <map>
#include <vector>
#include "IntDateTime/IntDateTimeAPI.h"
#include "DataNeuron.h"
#include "CSystem/CSystemAPI.h"
#include "afxwin.h"
#define FUND_NUM std::string("161725")//161725
class CDrawDlg;
// CFundInvestDlg 对话框
class ... |
20e138073d1f8a34418d9ff596909ff68f30d83d | 5c98eff3fa528c1ccf384b76a5713f82e6c96fab | /core/src/Systems/BaseRenderSystem.h | ae051fb34a18befa686e906a5b484a30444934e0 | [
"MIT"
] | permissive | kalouantonis/Alpha-To-Beta | a6c3619a56e71262ba9de073da1062d0f0c50531 | 0cd49eb65a645a136696e6b87553cb9cc4ee927a | refs/heads/master | 2021-06-17T03:11:10.934653 | 2017-03-30T09:43:52 | 2017-03-30T09:43:52 | 40,261,726 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | h | BaseRenderSystem.h | #ifndef _BASERENDERSYSTEM_H_
#define _BASERENDERSYSTEM_H_
#include<Artemis/EntitySystem.h>
#include <Graphics/SpriteBatch.h>
#include <unordered_map>
#include <map>
class IRenderable;
class Transform;
template <class T>
class BaseRenderSystem: public artemis::EntitySystem
{
public:
// In the deriving class, its b... |
bb94bc7308b349e8ec62ae6b771cb03476de7e38 | bffc3c917900674f98379e842408a867cf92b558 | /test3.cpp | 60d9f72ead866d2c24ef8d711e5950c90263661f | [] | no_license | firstmanpower/SPScript | 441c7949ebda6340e2b1170b91dc0911a1615e90 | d05be44db287fb0b304421311fe63f19d37aec19 | refs/heads/master | 2021-01-01T11:35:06.626424 | 2020-02-14T23:50:43 | 2020-02-14T23:50:43 | 239,261,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,716 | cpp | test3.cpp | #include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
int SizeOfString(const char* str) {
int value = 0;
for (int i = 0; str[i] != 0; i++) {
value = i;
}
return value + 1;
}
void Copy(char* str, const char* str2, int strsize){
for(int i = 0; i < strsize; i++){
str[i] = str2[i];
}
}
void MemSet... |
8e9a4777d0c388bfb562bc80e9648c162f3dea5f | 45ffd735bca9b753726972791eca1df8e54313d1 | /C-Craft++/Context.cpp | 9697d4634d9f4105158f51e364701361fb063f34 | [] | no_license | Intekin/C-Craftpp | 4302c4ef80b478bd281445aed8fe527a4541bfc9 | 55a92810fa81843a3324392c5408e1177d72e534 | refs/heads/master | 2021-09-06T10:49:05.825805 | 2017-12-04T14:35:09 | 2017-12-04T14:35:09 | 111,219,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | Context.cpp | #include "Context.h"
#include "GlobalInfo.h"
#include <GL\glew.h>
#include <iostream>
sf::RenderWindow* g_window;
Context::Context(const Config& config)
{
sf::ContextSettings settings;
settings.antialiasingLevel = 0;
settings.majorVersion = 3;
settings.minorVersion = 3;
settings.depthBits = 24;
settings.stencil... |
92a42c27000418d4385d09e2815ab944ec308059 | 05e82fe22459b6befc8304bd7e096e7c7727b3ff | /laba5massives/Header.h | a2a62dba2d1307debb414de3bb31f751ceeba7ec | [] | no_license | FOOZBY/laba5massives | f0e84c3f7977971a3f2d2c2da0ef8f9f465efc12 | a54546a25c027e1b0c53d7cbf0b6dcfa2a9aaee1 | refs/heads/master | 2023-04-08T19:03:59.401208 | 2021-04-19T17:21:14 | 2021-04-19T17:21:14 | 349,257,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | Header.h | #include <iostream>
#include <string>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <regex>
using namespace std;
double getnum();
void show_array(double (&arr)[10][10], int n);
void fill_array(double (&arr)[10][10], int n);
void change_array(double(&arr)[10][10], int n); |
bc206ceda42b0e0a058e48a36f5976ba2082108c | f113b7f7695bf2f5c09e5e8afb28cc99ee06c63a | /trrom/matlab/TRROM_MxReducedObjectiveOperators.hpp | 28f5ecf5f8538aa4998e3aa29ba209e8244c278c | [] | no_license | maguilo11/locus | 501a074a12e260e2b9f0940a6eb389ad36aefb89 | cbf926808493c621893cc11f124f813b9e0fcbde | refs/heads/master | 2021-09-24T21:35:27.503003 | 2018-10-15T02:58:38 | 2018-10-15T02:58:38 | 72,475,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,939 | hpp | TRROM_MxReducedObjectiveOperators.hpp | /*
* TRROM_MxReducedObjectiveOperators.hpp
*
* Created on: Dec 1, 2016
* Author: maguilo
*/
#ifndef TRROM_MXREDUCEDOBJECTIVEOPERATORS_HPP_
#define TRROM_MXREDUCEDOBJECTIVEOPERATORS_HPP_
#include <mex.h>
#include "TRROM_ReducedObjectiveOperators.hpp"
namespace trrom
{
template<typename ScalarType>
class V... |
463fa730ec47b16044118a1a3c53baff27d60f1e | 10e48d2b31ad0cbf1f321dc7bd59d800873ddcad | /src/multimedia/qqtwavsoundeffect.cpp | 5dd2cedaeafaafd5d2cb29238db172b78d1ffd1a | [] | no_license | Qt-Widgets/LibQQt-Widgets-Collection | 5393ba76abbf2d152c3c7f0c0ab86d733147d882 | 9db5b678fefd2efa1eb5f2565aad5e48df2bdf18 | refs/heads/master | 2020-11-28T02:57:24.183536 | 2019-11-29T07:30:57 | 2019-11-29T07:30:57 | 229,687,198 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,893 | cpp | qqtwavsoundeffect.cpp | #include "qqtwavsoundeffect.h"
QQtWavSoundEffect* QQtWavSoundEffect::msInstance = NULL;
QQtWavSoundEffect* QQtWavSoundEffect::Instance ( QObject* parent )
{
if ( !msInstance )
msInstance = new QQtWavSoundEffect ( parent );
return msInstance;
}
QQtWavSoundEffect::QQtWavSoundEffect ( QObject* parent... |
627defa4837d53d5f722da5b8145f59944d13e54 | be4952850ad6a8b0abe50de671c495c6add9fae7 | /hdu/1267.cpp | 5cce26fd17811e70cd6e8a83e9d557e8ca65f6a6 | [] | no_license | ss5ssmi/OJ | 296cb936ecf7ef292e91f24178c9c08bd2d241b5 | 267184cef5f1bc1f222950a71fe705bbc5f0bb3e | refs/heads/master | 2022-10-29T18:15:14.290028 | 2022-10-12T04:42:47 | 2022-10-12T04:42:47 | 103,818,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | 1267.cpp | #include<stdio.h>
#include<string.h>
int main(){
__int64 s[21][21];
int i,j,x,y;
memset(s,0,sizeof(s));
for(i=0;i<21;i++){
s[i][0]=1;
}
for(i=1;i<=20;i++){
for(j=i;j<=20;j++){
s[j][i]=s[j-1][i]+s[j][i-1];
}
}
while(scanf("%d %d",&x,&y)!=EOF){
printf("%I64d\n",s[x][y]);
}
return 0;
}
|
1f8321cd645d441f9ee3f4469530e2f2e5955d16 | fafce52a38479e8391173f58d76896afcba07847 | /uppdev/MyDbase/query.cpp | 62351f03eb2b6691c07d9edc52921ef89d6f46c2 | [] | no_license | Sly14/upp-mirror | 253acac2ec86ad3a3f825679a871391810631e61 | ed9bc6028a6eed422b7daa21139a5e7cbb5f1fb7 | refs/heads/master | 2020-05-17T08:25:56.142366 | 2015-08-24T18:08:09 | 2015-08-24T18:08:09 | 41,750,819 | 2 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 8,351 | cpp | query.cpp | #include "dbase.h"
//int dbDatabase::Query(const String &queryString, dbRecordSet &rs1) {
Value dbDatabase::Query(const String &queryString) {
unsigned int i, j, f, h, p, b, n, a;
String tbn, whr;
Array<String> ord, groupBy;
Array<unsigned int> ordStyle;
bool b1, validRecord;
//dbRecordSet rs1;
dbReco... |
2a9e4c161597f71d3206da4c3d9cf7dff9b51046 | a91796ab826878e54d91c32249f45bb919e0c149 | /modules/video/perf/perf_bgfg_mog2.cpp | 610138f85c60d27e127afdd98368ab6b90a4c75e | [
"Apache-2.0"
] | permissive | opencv/opencv | 8f1c8b5a16980f78de7c6e73a4340d302d1211cc | a308dfca9856574d37abe7628b965e29861fb105 | refs/heads/4.x | 2023-09-01T12:37:49.132527 | 2023-08-30T06:53:59 | 2023-08-30T06:53:59 | 5,108,051 | 68,495 | 62,910 | Apache-2.0 | 2023-09-14T17:37:48 | 2012-07-19T09:40:17 | C++ | UTF-8 | C++ | false | false | 2,593 | cpp | perf_bgfg_mog2.cpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "perf_precomp.hpp"
#include "perf_bgfg_utils.hpp"
namespace opencv_test { namespace {
///////////////////////////... |
5f27138a0c3394aaf763688264774b7e88886970 | 1a92eb77a231d6941de0ded7ddd547133ca6fde6 | /src/server/protocol/ServerHttp1.h | 21001a5fb4d420f939a97c4bc0875dfe63a7d645 | [
"MIT"
] | permissive | zminor/Zony_CPP | 5b160c65357a443e0241ed970ba0a635823ff4bd | 311c75a3d6acebb7f4265b63813b19eeaa9d8926 | refs/heads/master | 2020-03-19T12:19:17.989166 | 2018-07-03T07:38:48 | 2018-07-03T07:38:48 | 136,510,601 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | h | ServerHttp1.h | #ifndef __SERVERHTTP1_H__
#define __SERVERHTTP1_H__
#include "ServerProtocol.h"
#include "../../transfer/HttpStatusCode.h"
namespace HttpServer
{
class ServerHttp1 : public ServerProtocol
{
private:
const ServerApplicationSettings *getApplicationSettings(
struct Request &rp,
const bool isSecu... |
1da61a063fa151accd32fe8db7254e5ec05c1d02 | 187bd1fada83ae5888b4822d63abda9856453800 | /include/YourDetectorConstruction.hh | c7e1374ad0a9d7a866783f9e17c6051a8bf73348 | [] | no_license | shiv6510/Geant4 | f1d0078a84ce2948128bc6968cf92fc14037ac72 | e67394a7ff0ff85b872010bf98c432c8eda19ea8 | refs/heads/main | 2023-07-14T13:25:17.757948 | 2021-08-15T21:31:19 | 2021-08-15T21:31:19 | 387,872,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | hh | YourDetectorConstruction.hh | #ifndef YOURDETECTORCONTRUCTION_HH
#define YOURDETECTORCONTRUCTION_HH
#include "G4VUserDetectorConstruction.hh"
#include "MySensitiveDetector.hh"
// forward declarations
//
class G4VPhysicalVolume;
// This class is mandatory: description of the detector
class YourDetectorConstruction : public G4VUserDetectorConstru... |
452a9f998f57602fe59c320ea382bdd9f0660111 | e3729845ea0ec8f7c01acebfdc2217d13bd3cf5a | /BlockParser.h | 9585c6c1be7df6aff411e91afc88006fc51c0c96 | [
"BSD-3-Clause"
] | permissive | mugwort-rc/MarkdownCpp | 8137d9a30824b29308f51a6d92c67a95849190dd | 7b1f4db24ae2b1a0dd4f6e03a9854892ae815508 | refs/heads/master | 2020-06-07T14:03:12.567866 | 2014-01-17T12:52:04 | 2014-01-17T12:52:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,364 | h | BlockParser.h | /*
* BlockParser.h
*
* Created on: 2013/10/27
* Author: mugwort_rc
*/
#ifndef BLOCKPARSER_H_
#define BLOCKPARSER_H_
#include "BlockProcessors.h"
namespace markdown{
class Markdown; //!< forward declaration
/*!
* Track the current and nested state of the parser.
*
* This utility class is used to trac... |
7858c6468c51471cc9d33536a5dc6a461248c846 | 4bc181c8ae76fc87e5a41ecbcfa5b6af77798b5f | /common/shared_conf.hpp | 754e3acdc054eb06ac4b5168718d0e7bfc13ac8e | [] | no_license | computer-network-shenjian/linux-data-link-layer | 5367848b8db81aa956c73e5397cd729e4c51e1e8 | a739243be0a8b9af72f247cf0cbb6109a24aa7bd | refs/heads/master | 2020-04-09T05:08:13.998491 | 2018-12-09T16:26:14 | 2018-12-09T16:26:14 | 160,052,918 | 0 | 0 | null | 2018-12-06T13:41:22 | 2018-12-02T13:58:25 | C++ | UTF-8 | C++ | false | false | 1,704 | hpp | shared_conf.hpp | // Configurations for shared libraries.
#define SIGCKERR SIGRTMIN+1 //cksum_err
#define SIGFRARV SIGRTMIN+2 //frame_arrival
#define SIGNLREADY SIGRTMIN+3 //network_layer_ready
#define SIGENANL SIGRTMIN+4 //enable_network_layer
#define SIGDISNL SIGRTMIN+5 //disble_network_layer
typedef unsigned int seq_nr; //... |
98746bfb3f8ca67c7393f930ae0af3e3cc855de8 | 1e73e280d1af2a77a3bece88f46e753aebd30e34 | /engine/code/sources/Kernel.cpp | 08e8bae3bed6ffac35c4a8078ba38c2ac8a99f59 | [] | no_license | ricky395/LilEngine | 3ac5a545ae1cf4f7d7038fe3f89f4b0ded553924 | 8dad9f8be50f68bb8dbc89e6668ce0c5bea39dc1 | refs/heads/master | 2023-04-25T15:52:25.567358 | 2021-05-06T16:02:46 | 2021-05-06T16:02:46 | 364,956,125 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,351 | cpp | Kernel.cpp |
/// Author: Ricardo Roldán Fernández
/// Date: 26/06/2018
#include "Kernel.hpp"
#include "Task.hpp"
void Kernel::execute()
{
exit = false;
// Se inicializan primero las tareas
init();
// Parámetros iniciales del timer
auto previous_t = Time::now();
auto current_t = Time::now();
// Delta time inicial
d... |
4da3ee4c9bbc16c4e5258c84127a516beb8e40af | 3f301b99e121c1eb2880969fd67df1245a6fd62f | /adlik_serving/runtime/tvm/tvm_model.h | 1fa56d87df01e7a0441b82770a3c4f99b5cc15e7 | [
"Apache-2.0"
] | permissive | ishine/Adlik | 93efcea30f136088600773d3714d93832e18e4ca | fb31f6fb2150e551c582ce4279cf53f9e938a214 | refs/heads/master | 2021-11-23T11:16:34.137970 | 2021-11-09T09:08:18 | 2021-11-09T09:08:18 | 360,808,128 | 0 | 2 | Apache-2.0 | 2021-04-23T08:00:36 | 2021-04-23T08:00:36 | null | UTF-8 | C++ | false | false | 1,184 | h | tvm_model.h | // Copyright 2019 ZTE corporation. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
#ifndef ADLIK_SERVING_RUNTIME_TVM_TVM_MODEL_H
#define ADLIK_SERVING_RUNTIME_TVM_TVM_MODEL_H
#include <memory>
#include "adlik_serving/framework/domain/model_config.h"
#include "adlik_serving/framework/domain/model_id.h"
#i... |
63e3e4bd6d8bf1c1d1596249983cccaf5c2b9f38 | 4c66b4e42b00671e3b74ebb3d361283f69d24ed5 | /WS08/Account.h | 11bdd1afa8ddd4aef4965f632b3020db0a011dff | [] | no_license | hanyd81/OOP-Workshops | eaea7a6436cf126b2d2f21d1605ac6d6aced0e01 | c13ae288cb990d714dde9b1143fc02935a2fd54e | refs/heads/master | 2021-01-25T10:07:50.557146 | 2018-06-11T14:46:59 | 2018-06-11T14:46:59 | 123,341,740 | 0 | 0 | null | 2018-02-28T20:59:01 | 2018-02-28T20:59:00 | null | UTF-8 | C++ | false | false | 592 | h | Account.h | //Name: Yadong Han
//ID: 151799160
//Email: yhan61@myseneca.ca
#ifndef SICT_ACCOUNT_H__
#define SICT_ACCOUNT_H__
#include "iAccount.h"
namespace sict {
class Account:public iAccount {
double m_balance;
protected:
double balance() const;
public:
// TODO: constructor initializes accoun... |
e61a6934f595e6433be9d332da46df1ba25e71e8 | 03e77dd985f601752afd0c159f1b81f2fe24907d | /app/src/main/cpp/tswriter.cpp | ededc23d3d5ffe973cd194e5a124671af1ea5b5a | [] | no_license | msdgwzhy6/M3u8ForTsWrite | 65e18ca7af9286bdac3183f553aaeb646ffe5829 | d602dbc300737c08f2f5eaab9a978f62069b140e | refs/heads/master | 2020-04-11T02:50:00.614733 | 2017-03-29T09:47:55 | 2017-03-29T09:47:55 | 161,457,913 | 1 | 0 | null | 2018-12-12T08:40:46 | 2018-12-12T08:40:46 | null | UTF-8 | C++ | false | false | 19,615 | cpp | tswriter.cpp | //
// tswriter.cpp
// Main
//
// Created by dy on 2/10/17.
// Copyright © 2017 feitian. All rights reserved.
//
#include <string>
#include <assert.h>
#include <string>
#include "tswriter.h"
static uint8_t flv_mpegts_header[] = {
#if 0
/* SDT */
0x47, 0x40, 0x11, 0x10, 0x00, 0x42, 0xF0, 0x25, 0x00, 0... |
c2e16a5aac2b88f454eb46ebd54dd1bc20cd17fe | a67837eae91dbf86671be1bba85432554c545e0d | /Practica1/Mapa.h | 399dcaed55a7dfaa3a9b20c8f008d51c5934d384 | [] | no_license | ignacioperezvelasco/P1_G6_XavierOrtigosa_IgnacioPerez_corregido | c5a7464b1c30a921e39e6b42d12989c4887ddc16 | 2910453ed247c60aa5d89f4c90c8837c48587e84 | refs/heads/master | 2021-01-20T08:43:40.107526 | 2017-05-03T19:33:53 | 2017-05-03T19:33:53 | 90,186,224 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | Mapa.h | #pragma once
class Mapa
{
public:
//atributos
int dificultad;
int numRows;
int numColumns;
char **md;
//
Mapa(int dificultat);
void inicializarmapa();
void printmapa();
void cambiarpunto(int x, int y, char nuevoelemento);
~Mapa();
};
|
e4923b7718dce1653cde74633bf2bb2154be985a | f6ca330b81adb604d0f709169b8f345c2ac2afe0 | /src/Miniseq.cpp | 937af9904645b32b70572f853d1a48d98f82e839 | [] | no_license | ad-synth/AdSynth-VCV | 9b24f8d0b6257cfc59c9000764c85638b61e15ae | 599cc9ebb6f73d714d05ac3c5e8ac27107344d22 | refs/heads/master | 2023-02-10T19:49:49.002227 | 2023-01-25T13:27:28 | 2023-01-25T13:27:28 | 224,710,987 | 1 | 0 | null | 2020-03-17T16:40:11 | 2019-11-28T18:41:48 | C++ | UTF-8 | C++ | false | false | 10,214 | cpp | Miniseq.cpp | #include "plugin.hpp"
struct Adsynth_Miniseq : Module {
enum ParamIds {
ENUMS(SWITCH_PARAM, 8),
ENUMS(KNOB_PARAM, 8),
CLOCK_PARAM,
DIR_PARAM,
STEPS_PARAM,
RUN_PARAM,
LOOP_PARAM,
GATE_PARAM,
NUM_PARAMS
};
enum InputIds {
GATEPW_INPUT,
CLOCK_INPUT,
RESET_INPUT,
RUN_INPUT,
MODE_INPUT,
NU... |
e14e8ee08d47a4fb49570889474ef0871a527578 | 4fcf2967da46f37c831b72b7b97f705d3364306d | /problems/acmicpc_24499.cpp | 03d1014956b7dde645bb1ce71063981ee77b3ba8 | [
"MIT"
] | permissive | qawbecrdtey/BOJ-sol | e2be11e60c3c19e88439665d586cb69234f2e5db | 249b988225a8b4f52d27c5f526d7c8d3f4de557c | refs/heads/master | 2023-08-03T15:04:50.837332 | 2023-07-30T08:25:58 | 2023-07-30T08:25:58 | 205,078,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | acmicpc_24499.cpp | #include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr); cout.tie(nullptr);
int k, n; cin >> n >> k;
auto a = new int[n << 1];
for(int i = 0; i < n; i++) {
cin >> a[i]; a[i + n] = a[i];
}
int res = 0, sum = 0;
for(int i = 0; i < k;... |
d5cf19459993aaa2bf80b20d6950c363a64d0e42 | a9a7d3131e73b79d2e4ecb527f9502303f1023ea | /src/Hermes/DownstreamSerializer.cpp | c359bea8dbb433be0e438709e3a165dbd6e13207 | [] | no_license | emilemesselken/ASM_Hermes | 8dc811d95c090ee791330d3aa19d129c533d6178 | fbd49032aceb69fd42cbfd132c05da63fc5e1424 | refs/heads/master | 2021-08-24T01:22:42.428278 | 2017-12-07T12:27:56 | 2017-12-07T12:27:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,676 | cpp | DownstreamSerializer.cpp | #include "stdafx.h"
#include "DownstreamSerializer.h"
#include "Network.h"
#include "IService.h"
#include "Serializer.h"
#include "StringBuilder.h"
namespace Hermes
{
namespace Downstream
{
struct Serializer : Downstream::ISerializer, ISocketCallback
{
unsigned m_sessionId;
... |
b6de5c35fcb37d7148e4ade5ad7b7175befdd9eb | 91684991bc6ffbe3e4c117fc5064e72dc2d2dea4 | /MainSocket.cpp | 5504a21f6ff37c76f322aec9ac6755bd80a72e71 | [] | no_license | Soraruholic/ReliableUdp_Client | 36a5bedd770350ca9abbdd96a47144e89738ba85 | b69ba89d847ffd738aee5e5f355c74375b952c14 | refs/heads/master | 2023-04-18T21:36:20.492205 | 2017-02-19T12:17:34 | 2017-02-19T12:17:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,139 | cpp | MainSocket.cpp | //
// Created by ahmed on 12/16/16.
//
#include <cstring>
#include "MainSocket.h"
#include "client_config.h"
#include <ProtocolDef.h>
MainSocket::MainSocket(const string &server_addr, const unsigned short server_port)
{
server_info = unique_ptr<AddressInfo>(new AddressInfo(server_addr, server_port));
this->s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.