blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a639dd9536c3d4c890328e638e457dff92210560 | 352ada3cf6b62508a383cada0df38e1d63a4b343 | /proposals/1/gal/examples/stream.cpp | b20c27df479e738a70a0114f17e5ec63d2bfd15b | [] | no_license | ssp2018devops/ssp2018 | 2e609b53129fd14b78247219e54f6bd187dd5787 | a4575e31550d6f473001c78e3023041f01fca2dc | refs/heads/master | 2018-10-11T21:18:38.642849 | 2018-09-02T11:09:24 | 2018-09-02T11:09:24 | 121,023,021 | 0 | 0 | null | 2018-09-02T10:28:34 | 2018-02-10T14:37:41 | C++ | UTF-8 | C++ | false | false | 1,616 | cpp | #include <gal/gal.hpp>
#include <vector>
int main()
{
gal::initialize();
gal::Mesh* particle_mesh = gal::create_mesh();
gal::PositionBuffer* position_buffer = gal::create_position_buffer();
gal::NormalBuffer* normal_buffer = gal::create_normal_buffer();
gal::UvBuffer* uv_buffer = gal::create_uv_buffer();
... | [
"mikael.hernvall@gmail.com"
] | mikael.hernvall@gmail.com |
2610dd1f4d8d0ca30b9b8553aaa5752b4957a221 | 80e7fabb18a540b59bef95f01b37dce6dc88b2b4 | /Tree/Q669_Trim_a_Binary_Search_Tree.cpp | 308fb9410046bd878afe2c657963dc0a288d58e4 | [] | no_license | sktzwhj/algorithms | d8fce1fd12e0f46aa0417e0f998892c2273f7950 | 4b51e66a98931d174ee636969dee30cf0f397b00 | refs/heads/master | 2021-06-05T17:27:49.383709 | 2020-01-09T09:05:07 | 2020-01-09T09:05:07 | 102,172,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | //
// Created by wuhuijun on 9/18/18.
//
#include "headers.h"
//due to the leetcode platform, we do not deal with memory leak
class Solution {
public:
TreeNode *trimBST(TreeNode *root, int L, int R) {
if (root->left != NULL) root->left = trimBST(root->left, L, R);
if (root->right != NULL) root->rig... | [
"whj_nudt@foxmail.com"
] | whj_nudt@foxmail.com |
0d032eaced039c3723463a7de39b5fabb4783470 | 0832724be2999f8172df2b5753b56ae019f48c98 | /4_2_LED_PWM/main.cpp | 615dde03106ba24046c128941adf6cb053f1f3d4 | [] | no_license | rogerwu0111/mbed04 | ff6663b5c221adea2cfd82655d278fe5aded4e3c | fedacdf3b60001e2d0ec0620c9e4efd9a01bee13 | refs/heads/master | 2023-03-24T10:59:06.335382 | 2021-03-15T14:06:48 | 2021-03-15T14:06:48 | 346,282,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | #include "mbed.h"
PwmOut PWM1(D6);
AnalogIn Ain(A0);
float ADCdata;
int main(){
while(1){
PWM1.period_ms(500);
PWM1 = Ain;
ADCdata = Ain; //send an opening text message
printf("%f\r\n", ADCdata);
ThisThread::sleep_for(100ms);
}
}
| [
"rogerwu0111@gmail.com"
] | rogerwu0111@gmail.com |
62f0d81c11686d578262d869f208c81b1b95e59c | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-33/android/net/TelephonyNetworkSpecifier.def.hpp | 4f8ffa05761a18a1e463c7b8d03dc96aed8d3174 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 871 | hpp | #pragma once
#include "./NetworkSpecifier.def.hpp"
namespace android::os
{
class Parcel;
}
class JObject;
class JString;
namespace android::net
{
class TelephonyNetworkSpecifier : public android::net::NetworkSpecifier
{
public:
// Fields
static JObject CREATOR();
// QJniObject forward
template<typenam... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
99bf12ef30726c170ad39571031bf467c959d809 | f7b4e2e208d3bc12321924bbcddfa6501cf258ef | /UvaProblems/array reverse.cpp | 852676d68fa631771bc47298bc3c71d3ae8938b3 | [] | no_license | Anik-Modak/OnlineJudgeProblemSolution | b476fecf1d112893bc71ea6012a17e26de75254d | a19076d346b1d6028cd75b4ee90b82c4e01cb9dc | refs/heads/master | 2020-05-04T18:24:37.248578 | 2019-04-26T19:53:13 | 2019-04-26T19:53:13 | 179,351,861 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
int a[n];
for(int i=0; i<n; i++) cin>>a[i];
reverse(a,a+n);
for(int i=0; i<n; i++)
{
if(i==n-1) cout<<a[i]<<endl;
else cout<<a[i]<<" ";
}
return 0;
}
| [
"anikmodak.rucse@gmail.com"
] | anikmodak.rucse@gmail.com |
fcaf36254bd951445c4e7c1a936182c08a1f41f3 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /srm/811-850/830/Jetpack.cpp | 18b5c97472f75b3dbce8618c4911cc78b481a220 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 4,248 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<to;x++)
#define FORR(x,arr) for(auto& x:arr)
#define FORR2(x,y,arr) for(auto& [x,y]:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x+... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
6af99e18ef03bccde5c91803736250ed4118d5a3 | 28d68af73c56375314efd07eaf6a1a9241a51ce3 | /aws-cpp-sdk-swf/include/aws/swf/model/SignalExternalWorkflowExecutionInitiatedEventAttributes.h | 721d8af36d99d48462d494584be6b3401483a98e | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | zeliard/aws-sdk-cpp | 93b560791fa359be25b201e9a6513bc3cb415046 | 14119f1f5bc159ce00a1332f86e117362afd3cb6 | refs/heads/master | 2021-01-16T22:49:18.731977 | 2016-01-04T01:54:38 | 2016-01-04T01:54:38 | 41,892,393 | 0 | 1 | null | 2015-09-04T01:35:43 | 2015-09-04T01:35:43 | null | UTF-8 | C++ | false | false | 10,350 | h | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
9846a0bdaaea8156d5553f5f1c8537c824f47846 | 92f4e04ffb3cb5c0f5d6aab2a5d5beddd604b8b2 | /Chapter 5 Exercise_files/exercise_10.cpp | dd24aa0a3449824a18aeb57fb244b4e79fb0de12 | [] | no_license | KhawarKhalil55/C_Plus_Plus_Solutions | 4d14bc686bf2df1c1304256bc5090eed60c3ca39 | 748c856f8ef23e6aab8993785bdd3e4a244f20f4 | refs/heads/master | 2021-09-15T08:35:52.009901 | 2018-05-29T10:26:33 | 2018-05-29T10:26:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | //exercise_file10
//Exercise problem to demonstrate global variable and local static variable.
#include<iostream>
using namespace std;
int count=0;
void globalVar();
int localstatic();
int main() {
int store;
globalVar();
globalVar();
globalVar();
globalVar();
globalVar();
globalVar();
globalVar();
globalV... | [
"ramanujamgond@gmail.com"
] | ramanujamgond@gmail.com |
9ac341dc16aca25eac7284d8288dc783d18df854 | 136a903f5b46164a28909349fc3908e805807ae3 | /project.cpp | 0f2742c5ac2938e184b858df27cec288455a94a8 | [] | no_license | ClaireCapio/Project_capio_anzano | 655c9596ac43d3d765545a4162583a5c49dc8e8e | 07e3f9007976e354936de93e8cee56563726af57 | refs/heads/master | 2021-01-19T18:35:51.144356 | 2013-03-22T18:57:51 | 2013-03-22T18:57:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,539 | cpp | #include "project.h"
#include <iostream>
#include <string>
#include <cstdlib>
#include <cmath>
#include <stdint.h>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <vector>
#define limit 20
#define MAX 200000
bool composite [MAX+1];
vector <int> primes;
#define LL long long
#define LIMIT 1000
#define... | [
"public.mranzano@gmail.com"
] | public.mranzano@gmail.com |
64d132a7941cf6bba72ea089d3b37489860958e0 | a1aadb13c35f2a3fb27078090e5a582a3ea462f1 | /graphics/gthumb3/patches/patch-extensions_exiv2__tools_exiv2-utils.cpp | 0ca57ecd9818ad8b0b968a83148622c206aaaffd | [] | no_license | fidelix-project/pkgsrc | 702346ca3a74b3dced9de29b07d342154466d1bd | 8a6673aa3e19b8604d2077015dc4673304399afc | refs/heads/master | 2022-11-06T04:48:33.983672 | 2020-06-28T14:06:28 | 2020-06-28T14:06:28 | 273,759,036 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 819 | cpp | $NetBSD: patch-extensions_exiv2__tools_exiv2-utils.cpp,v 1.1 2019/12/21 23:43:27 joerg Exp $
--- extensions/exiv2_tools/exiv2-utils.cpp.orig 2019-12-21 23:03:22.584354769 +0000
+++ extensions/exiv2_tools/exiv2-utils.cpp
@@ -33,7 +33,8 @@
#include <sstream>
#include <vector>
#include <iomanip>
-#include <exiv2/xmp.h... | [
"joerg@pkgsrc.org"
] | joerg@pkgsrc.org |
917fbe393533a7157ebd5eb8146c3891da723c86 | 7ce2c6142c7bc56b2c5e9f1238687e94dd56a1bb | /iterator test/iterator test.cpp | d597816dddd5a6b7e8196b97b8f16ffe74776ff8 | [] | no_license | AntEncarnacion/cpp-playground | fa56735615a34ab992f3e1c7415269c4f33a97ff | 156e2dabb85a5d276de469940f44e467652f5f15 | refs/heads/main | 2023-07-31T19:58:13.409711 | 2021-09-12T19:02:00 | 2021-09-12T19:02:00 | 364,772,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
char ar[] = "1234";
for (char &x : ar)
{
cout << x << " ";
}
} | [
"antho.2999@gmail.com"
] | antho.2999@gmail.com |
90859bf34c7e347f1ec6d13e15fa8126ff02386f | fa9fb33d857538bd27d811a5880f044a55205a59 | /615.cpp | 8b37174fef0c8e899f1380cd7fafd2ea4cbfb0ab | [] | no_license | Mukit09/UVA_Solution | 15b7aa8c60a9aa59a7e11a8a0163bcf437917661 | b2659637fe9ecb1cdbc164f0d1172e86f71a72d7 | refs/heads/master | 2020-12-25T17:29:17.655229 | 2020-03-18T03:56:34 | 2020-03-18T03:56:34 | 28,819,638 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | #include<stdio.h>
#include<vector>
#include<map>
#define si 101010
using namespace std;
vector<long>ve[si];
map<long,long>mp;
long visit[si],indeg[si],mx,fg,x=1,c0,c1,cnt;
void dfs(long node)
{
long i,u;
visit[node]=1;
for(i=0;i<ve[node].size();i++)
{
u=ve[node][i];
if(!visit[u])
{
visit[u]=1;
cnt++;
... | [
"mukitmkbs25@yahoo.com"
] | mukitmkbs25@yahoo.com |
1a3da90e08967253e90aa70d8f9af4c591cda5a0 | e212351b7d29b0631ff980f56faa257ba2ae89da | /m8rscript/GPIO.cpp | 5f2115510a107fa5b0e80d95ae3be3d910166de9 | [] | no_license | drony/m8rscript | a84e9634a0359eaee88a38ecc64cc40f5ddb2fed | 2fc879eea2a89f6bd15f0355b7c941eedc0aec57 | refs/heads/master | 2021-05-08T19:53:29.373888 | 2017-09-01T22:27:49 | 2017-09-01T22:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,123 | cpp | /*-------------------------------------------------------------------------
This source file is a part of m8rscript
For the latest info, see http://www.marrin.org/
Copyright (c) 2016, Chris Marrin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... | [
"chris@marrin.com"
] | chris@marrin.com |
f95c0fb9c3b2858113c6a3133e7f0cf7cba5bc1d | 8d6d12dda0766525c71326b8100569c1686d0347 | /Project/src/micro/micro.ino | 4c4920301548abc87a9712153e7d837d8f903d31 | [
"MIT"
] | permissive | epiccoli/ROBOT | d07bc38fd149841094be25b198c148d2bee1abdf | 731178c571249d359cc30aa8831f68df2723fbba | refs/heads/master | 2021-01-15T16:29:11.679363 | 2018-01-07T15:37:50 | 2018-01-07T15:37:50 | 35,322,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | ino | #include <Arduino.h>
#include "MultiLinearCamera.h"
#include "Localization.h"
// Definitions
void processBuffer();
// Global variables
int reset_request = 0;
Localization localization;
void setup()
{
Serial.begin(115200); //Serial1.begin(9600);
delay(5000);
Serial.println("Start...");
lcam_setup();
// ... | [
"kiki@tsf-436-wpa-6-117.epfl.ch"
] | kiki@tsf-436-wpa-6-117.epfl.ch |
c3ba96291d4ce6f82cb1b363bc6a58fefdedab7d | 9a03dd35642494606db326fa4011ea7df3df7a80 | /plugins/plugin_sample/source/ViewProvider.cpp | f6626328af04fc71ab08511d72e5653168eab4d0 | [
"MIT"
] | permissive | WarfareCode/quartz | d264e998881249cb20e5f5436bc36d67465762db | d350fdde60117607d2e8ad733e51303e993d09af | refs/heads/master | 2020-07-31T22:58:38.397442 | 2019-06-25T14:32:52 | 2019-06-25T14:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp |
#include <QVBoxLayout>
#include <QLabel>
#include <common/iconstore/IconFontStore.h>
#include "ViewProvider.h"
namespace Quartz { namespace Ext { namespace Sample {
const QString SampleView::VIEW_ID{ "qzp.sample.view" };
const QString SampleView::VIEW_NAME("Sample");
const QString SampleView::VIEW_CATERGORY("sampl... | [
"varunamachi@gmail.com"
] | varunamachi@gmail.com |
ea1c3a8ec2502334350488ea893140e4247c0a5c | 96eaebd467794284f338a56b123bdfa5b98dd4d1 | /core/test/lib/boost/boost/asio/windows/basic_object_handle.hpp | d059adbf25cc2bd310374031421e0f44fe9df303 | [
"MIT"
] | permissive | KhalilBellakrid/lib-ledger-core | d80dc1fe0c4e3843eabe373f53df210307895364 | 639f89a64958ee642a2fdb0baf22d2f9da091cc3 | refs/heads/develop | 2021-05-14T07:19:17.424487 | 2019-05-20T20:33:05 | 2019-05-20T20:33:05 | 116,260,592 | 0 | 3 | MIT | 2019-06-26T08:07:16 | 2018-01-04T13:01:57 | C++ | UTF-8 | C++ | false | false | 6,537 | hpp | //
// windows/basic_object_handle.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2011 Boris Schaeling (boris@highscore.de)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE... | [
"andrii.korol@ledger.fr"
] | andrii.korol@ledger.fr |
3ea142ab3fcc4e62f63a5ace8521ace41708156a | 5b34ca9c3572be56f95ed9ffd38e3a308cdb78a1 | /CoreAudio/PublicUtility/CATokenMap.h | f851f15562512765fb524f6f52f857e7bdc4926f | [
"LicenseRef-scancode-apple-excl"
] | permissive | getnexar/AppleCoreAudioUtilityClasses | 20470c59cd27c2e2efdc443544e71d2234889af2 | f213f0be1c88953ae3df0586428f808e4067cf4b | refs/heads/master | 2021-01-18T05:17:57.582406 | 2019-08-05T10:22:01 | 2019-08-05T10:22:01 | 48,943,601 | 0 | 0 | NOASSERTION | 2019-08-05T10:22:03 | 2016-01-03T11:41:08 | C++ | UTF-8 | C++ | false | false | 6,017 | h | /*
File: CATokenMap.h
Abstract: Part of CoreAudio Utility Classes
Version: 1.0.4
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this App... | [
"mark@aufflick.com"
] | mark@aufflick.com |
f9aba166398840314f67c15dd6c22c3a72688700 | 2e2fd94b5354d81f635c184fbf4a213636102c49 | /src/creator/theme.cpp | df2ebc0c6e7fa524bbd5b355f1339efb8529178a | [
"WTFPL"
] | permissive | fd-clara/trance | 9afc922560885110583aadd20abc8afbb0b19239 | 59e6e7b08c85195c9789801d4564f6b0ddc600dc | refs/heads/master | 2021-06-23T22:56:42.198847 | 2017-09-07T19:58:05 | 2017-09-07T19:58:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,760 | cpp | #include "theme.h"
#include <common/common.h>
#include <common/media/image.h>
#include <common/media/streamer.h>
#include <common/session.h>
#include <creator/item_list.h>
#include <creator/main.h>
#include <algorithm>
#include <filesystem>
#include <iomanip>
#include <sstream>
#include <thread>
#pragma warning(push, ... | [
"ohgodhowdidthisgethere"
] | ohgodhowdidthisgethere |
dd677e7b81a2737d052284f10ab5f72553eb237e | 73a9ebc9669cb2edf2be361009dd9f085f9d2e82 | /Samples/Intersection/AllPairsTriangles/TriangleIntersection.cpp | 0e2141984e6032f2436abf405077ba77e1c0aba8 | [] | no_license | zhouxs1023/GTE | 49f82c54891b33460f39a35d74b95c76123482c8 | 6db3ea29eaa612320da603f83ca9b7125cc66546 | refs/heads/master | 2021-07-18T04:22:30.982107 | 2020-09-15T15:16:11 | 2020-09-15T15:16:11 | 202,730,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,672 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2020
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#include "TriangleIntersection.h"
bool Triangl... | [
"zhouxs1023@163.com"
] | zhouxs1023@163.com |
249b5054de0af8f90c52cd4f61ffc7527c6f564b | b75c9dc51f15e43ad0ff441450624c6955cbb322 | /Timus Online Judge/1196 History Exam.cpp | b7e4aeef3966df8f591f402fddb7f317e9be3861 | [] | no_license | panhantao/ACM | ab06119025922a26f092e4102b240d2364e353c6 | cb787e9ac7aa398d57b535a23a2a05a6cebb5ad3 | refs/heads/master | 2016-09-12T05:56:00.486212 | 2016-04-27T14:32:45 | 2016-04-27T14:32:45 | 52,725,484 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
const int MAXN = 15005;
int arr[MAXN],n,m;
bool bsearch(int x)
{
int l=1,r=n,mid;
while(l <= r)
{
mid = (l+r) >> 1;
if(arr[mid] == x) return true;
if(arr[mid] < x) l = mid+1;
else r = mid-1;
}
return false;
}
int main()
{
while(scanf("%d",&n) != ... | [
"panhantao@gmail.com"
] | panhantao@gmail.com |
b58735c3dcd87311eafba58092cae47c75a31787 | 42825b877dbd5ca3f1f1339b65dcd87716dd4d49 | /tests/test_actor.cpp | f7c4fc8f703d11a4a27ef180e5d263b50ac9ed63 | [] | no_license | ictzp/ElasticActor | 3eaf420fff05053286365d4fc9fac349ee758873 | 8348cf626096d0f7025e760993a832cfe2891c56 | refs/heads/master | 2021-01-11T13:37:24.285247 | 2017-01-19T19:08:52 | 2017-01-19T19:08:52 | 95,029,637 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include "mola/module.hpp"
#include "mola/node_manager.hpp"
#include "mola/scheduler.hpp"
using namespace mola;
const char *modules[] = {
"./modules/libmodule_A.so",
"./modules/libmodule_B.so",
"./modules/libmodule_C.so",
};
int main() {
/* init the scheduler */
auto wg = WorkerGroup::initialize();
/* i... | [
"zhaopeng@ict.ac.cn"
] | zhaopeng@ict.ac.cn |
ac9178a9adff2b651fe904248cee3dcba3367519 | c554a6a0bcb80a4a3f08e6f4e9263066f977dc17 | /include/writer.h | 82a542a5a7397e5120defad53f9cdf477015f9f9 | [] | no_license | metakonga/metakonga | b4301338940166cf665843a6017861df73f621b9 | e3cb9fd62ca5101d6fb21c93bf543f3676872523 | refs/heads/master | 2021-01-13T16:40:50.978023 | 2018-12-11T21:33:17 | 2018-12-11T21:33:17 | 78,164,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | h | #ifndef WRITER_H
#define WRITER_H
#include "types.h"
#include "file_system.h"
#include "Simulation.h"
namespace parSIM{
class writer : public file_system
{
public:
writer(std::string _path, std::string _case);
~writer();
void set(Simulation* demSim = 0, Simulation* mbdSim = 0, fileFormat _ftype = BINARY);
... | [
"kangsia@naver.com"
] | kangsia@naver.com |
3e7425e23a7772f08126169bc3c29ac5db0ead09 | 921c689451ff3b6e472cc6ae6a34774c4f57e68b | /llvm-2.8/tools/clang/lib/Sema/SemaChecking.cpp | a0b4b988dbeba4a27cf1ae6ed12eec4d502166e6 | [
"NCSA"
] | permissive | xpic-toolchain/xpic_toolchain | 36cae905bbf675d26481bee19b420283eff90a79 | 9e6d4276cc8145a934c31b0d3292a382fc2e5e92 | refs/heads/master | 2021-01-21T04:37:18.963215 | 2016-05-19T12:34:11 | 2016-05-19T12:34:11 | 29,474,690 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106,844 | cpp | //===--- SemaChecking.cpp - Extra Semantic Checking -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"helmutmanck@5227c84a-046b-4545-895e-fca5577db8e1"
] | helmutmanck@5227c84a-046b-4545-895e-fca5577db8e1 |
c6d190ea5db6e4b7783450513bf5845cb12c962f | c8c5d95ab92252595b27a534c92246b66b9a0ad0 | /server/src/finaltimes.cpp | 9ca5bac0e43b6a2e050a6f2919f89f702224930d | [] | no_license | ronalanto03/algorithms-scheduling-simulator | c63864d66da98bcc18238ffc6aef7050f0ad6bd1 | 878074abf255089501050a4bf7fab905fc78e201 | refs/heads/master | 2021-01-24T11:28:15.485016 | 2016-10-25T23:48:02 | 2016-10-25T23:48:02 | 70,206,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24 | cpp | #include "finaltimes.h"
| [
"ronalanto03@gmail.com"
] | ronalanto03@gmail.com |
e398c1c434cd02113dda05638c639af4ba430478 | 7e4057e6ff093a37957d6aa03eda3406270f5c6a | /CCC/1998/S5.cpp | c0a5ea7fe1cb3bf7c37afcef34a0d2dc250a4b4d | [] | no_license | danwsong/programming-contests | a24dcbd1d428bde21135cca1dbff5a8e0d2d0c87 | 3118a7449e94939314a177781e6b6281a4691c73 | refs/heads/master | 2020-04-24T11:33:47.739620 | 2019-12-29T03:08:03 | 2019-12-29T03:08:03 | 171,929,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,617 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int T;
cin >> T;
while (T) {
int N;
cin >> N;
int elevation[N + 1][N + 1];
for (int i = 1; i <= N; i++)
for (int j = 1; j <= N; j++)
cin >> elevation[i][j];
int ... | [
"44812932+danwsong@users.noreply.github.com"
] | 44812932+danwsong@users.noreply.github.com |
e53e07e372bac552044b70376ecbd733a24e7582 | 9810fe63e4e12802b6f97fb7fa6dfb53a8bff6a8 | /IVT/src/Classification/NearestNeighbor.cpp | 2603df6ee50544ec659a65da3e33bc873ac4bdad | [
"BSD-3-Clause"
] | permissive | asr-ros/asr_ivt | c6b7cefb8602a192b0c3e70bdcf4698f915d0d03 | 0a891ea305cc244b455236f0a175e04a6220396a | refs/heads/master | 2021-01-18T18:07:05.421906 | 2019-12-01T13:17:38 | 2019-12-01T13:17:38 | 73,503,471 | 0 | 1 | BSD-3-Clause | 2019-12-01T13:17:39 | 2016-11-11T18:58:54 | C++ | UTF-8 | C++ | false | false | 7,949 | cpp | // ****************************************************************************
// This file is part of the Integrating Vision Toolkit (IVT).
//
// The IVT is maintained by the Karlsruhe Institute of Technology (KIT)
// (www.kit.edu) in cooperation with the company Keyetech (www.keyetech.de).
//
// Copyright (C) 2014 K... | [
"uncxq@student.kit.edu"
] | uncxq@student.kit.edu |
9f180489ea76cd0847d92422cd8d7197e8495977 | a7a12961d9a1c2180079b9402a7d7d556ef92eaf | /src/srcGPU/SceECM.h | 0dc9fff7c2e8ffa670ae83848ce45cdc1a357606 | [
"MIT"
] | permissive | librastar1985/Episcale_CrossSectionalView | f2c7382d8127f32c8ec4ded03fbce7f72e83f210 | 9889908d2584f36b3e24f7dc5934dcaed699c635 | refs/heads/main | 2023-04-16T11:40:26.481560 | 2022-09-16T21:57:38 | 2022-09-16T21:57:38 | 314,704,785 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 31,752 | h | #ifndef SCEECM_H
#define SCEECM_H
#include "commonData.h"
#include "SceNodes.h"
#include "ConfigParser.h"
#include "Solver.h"
#include <stdexcept>
#include <string>
#include <sstream>
#include <fstream>
#include <algorithm>
typedef thrust ::tuple<int,double,double> IDD ;
typedef thrust ::tuple<int,double,double,i... | [
"noreply@github.com"
] | librastar1985.noreply@github.com |
1bdf752dab8e1d96d796ab453a87e6b88ef3a1cb | c1c7cfa793c1dd913b2a3f7ba35440806731c70d | /examples/gbvi2/gbvi.cpp | eaa1240173a84ca9ada6a6c8afc42f519e5abed5 | [] | no_license | choderalab/gbff-prototypes | 221d41c78aa27b0698eae70a1604ac4d9ffe161f | 50a50baaab951b9f2a51384be75aa814e5de0f87 | refs/heads/master | 2020-12-28T21:39:12.221879 | 2015-04-13T19:49:24 | 2015-04-13T19:49:24 | 17,353,451 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 86,853 | cpp |
/* Portions copyright (c) 2006-2009 Stanford University and Simbios.
* Contributors: Pande Group
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* with... | [
"choderaj@mskcc.org"
] | choderaj@mskcc.org |
039ae1a6280e330d24f414ede7727559466003bf | 8d4deb378e01d186b533af747a51e1b3ab3a02c0 | /src/entity_system/components/camera_component.cpp | dc4a8acb1124634529009db1a9c1d701214a3ea6 | [] | no_license | Phildo/openglexp | 6a9820801f4e0ad5d45da9a9df152500d4f0da3c | f0553730c63dfd07ce55b7f71ea9f3c08746849e | refs/heads/master | 2016-09-06T19:26:17.604830 | 2015-06-02T20:03:23 | 2015-06-02T20:03:23 | 13,711,317 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include "camera_component.h"
#include "spacial_component.h"
#include "../entity.h"
#include <glm/gtc/matrix_transform.hpp>
CameraComponent::CameraComponent()
{
nearPlane = 1.0f;
farPlane = 100.0f;
fov = 45.0f;
aspect = 2.0f;
}
glm::mat4 CameraComponent::projectionMat() const
{
return glm::perspective(fov,... | [
"Phildo211@gmail.com"
] | Phildo211@gmail.com |
3497da1e82c47dd37e41ce135aa9a7765c8892a7 | e9e4a1b6406dae3a37f43d02d20db3b365dbcbeb | /gibbs_cpp/structs.hpp | 191aef827a23a00e2f41081e2208b7e838dfc157 | [] | no_license | travisdesell/dna_at_home | b5368be3477174c3f0b0e254b380741fd8cfae6f | 0e27aa81e3a494512c04cbb455d608b987544b36 | refs/heads/master | 2020-12-24T06:44:12.153138 | 2016-06-15T05:34:30 | 2016-06-15T05:34:30 | 2,426,236 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | hpp | #ifndef STRUCTS_H
#define STRUCTS_H
#include <iostream>
#include <string>
#include <vector>
using namespace std;
#define ALPHABET_LENGTH 4
#define ALPHABET "ACGT"
#define A_POSITION 0
#define C_POSITION 1
#define G_POSITION 2
#define T_POSITION 3
#define A_POSITION_REVERSE 3
#define C_POSITION_REVERSE 2
#define G_... | [
"travis.desell@gmail.com"
] | travis.desell@gmail.com |
4f4119ea5c3bb12dd6842c6f63ac0b0d312eac1a | be7a63a8190db5e36c48b311273b2bbc6d852c3b | /ex7/cpp/src/Navigation/Map.cpp | aef2204d9dfd477d9a5676035e0e6081d6bf2e87 | [] | no_license | orie50/Advance-Programing-1 | 9a6e1fccc0f090ed440680a4772d5b6e59000532 | e96f7f4f3fbc4849126ec0ab5a101e6d77c50e8a | refs/heads/master | 2021-01-22T13:48:14.883275 | 2017-08-18T07:29:00 | 2017-08-18T07:29:00 | 100,684,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,618 | cpp | #include "Map.h"
using namespace std;
/******************************************************************************
* The Function Operation: map ctor, create hash table for obstacles
******************************************************************************/
Map::Map(int width, int length, vector<Point*>* obsta... | [
"noreply@github.com"
] | orie50.noreply@github.com |
d15089f072fe91d9996647d39507086e83f8ab12 | 942b7b337019aa52862bce84a782eab7111010b1 | /xray/xrGame/Actor.h | afb0b2a736770affca9fa1a3f52f8474489ff081 | [] | no_license | galek/xray15 | 338ad7ac5b297e9e497e223e0fc4d050a4a78da8 | 015c654f721e0fbed1ba771d3c398c8fa46448d9 | refs/heads/master | 2021-11-23T12:01:32.800810 | 2020-01-10T15:52:45 | 2020-01-10T15:52:45 | 168,657,320 | 0 | 0 | null | 2019-02-01T07:11:02 | 2019-02-01T07:11:01 | null | WINDOWS-1251 | C++ | false | false | 25,937 | h | #pragma once
#include "../xrEngine/feel_touch.h"
#include "../xrEngine/feel_sound.h"
#include "../xrEngine/iinputreceiver.h"
#include "../Include/xrRender/KinematicsAnimated.h"
#include "actor_flags.h"
#include "actor_defs.h"
#include "fire_disp_controller.h"
#include "entity_alive.h"
#include "PHMovementControl.h"
#i... | [
"abramcumner@yandex.ru"
] | abramcumner@yandex.ru |
53795b8bbe47ee1d66d024a37124a9608ca69964 | 89662b88de010b00e8778b80e0e9e1a0cc2d72fc | /11729.cpp | 0ad52992e3b0575eeeae771cd2f76c2d9af02938 | [
"MIT"
] | permissive | R-penguins/UVa-Online-Judge-Solutions | a19cd042ed0d6886b49ab6697842fd480622d05d | 4bb24ab26c207903ff5b6fea6cfe122ae6578d62 | refs/heads/master | 2021-06-20T08:20:30.392707 | 2021-04-09T04:51:10 | 2021-04-09T04:51:10 | 203,700,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | /**
* Commando War
*/
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n, T = 0;
while ((cin >> n) && n)
{
vector<pair<int, int>> jbs(n);
for (auto &jb : jbs)
cin >> jb.second >> jb.first;
sort(jbs.rbegin(), jbs.rend());
int b = 0, ans = 0;
... | [
"rhou@email.wm.edu"
] | rhou@email.wm.edu |
c716c5df59de0ebbd3691ac5b4150855cfc3d6a8 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DinoColorSet_Allo_parameters.hpp | b4e8d0b08ff16fc217d346efe7872bb8b199f87c | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoColorSet_Allo_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
fa2307f2baac33ae00db6d972d7fa50cda955e53 | 60923c81e7835358e7359b43ee1ad7ddf4cd3f44 | /2/fibonacci/main.cpp | 3d7ca3c9b5c92d0f4bb4cee5c685cafc4b8c074b | [] | no_license | manojsatya/ProjectEuler | 0056346a79b8c55094587f8f7a0d6d861d1da8e1 | bb3fb49968640bb6ce5be503a03994720b0d19a2 | refs/heads/master | 2020-03-18T16:59:13.399471 | 2018-07-11T21:32:27 | 2018-07-11T21:32:27 | 134,998,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int countNew = 1,countOld=0,count= 0,sum=0;
for(int i=1;i<=40;i++){
count = countNew + countOld;
countOld = countNew;
countNew = count;
if(count < 4000000 && count % 2 == 0){
sum = sum +... | [
"manoj.pesit@gmail.com"
] | manoj.pesit@gmail.com |
16da3cb64b9c7de792694d2eb53dc2ee1740b8c4 | dbf490d69ed3318e4eaade31cf6bd47f9b38b666 | /week-04/day-02/flyable/Bird.cpp | 586ba825079bce28257d47269bdd44ba75713969 | [] | no_license | green-fox-academy/Boritse | 138d30c80afc65988f29bd47fbdbc3f816598113 | 95458e3a71bddb865865f4a8ced52ec2da7bb36b | refs/heads/master | 2020-04-16T18:52:02.747715 | 2019-04-09T06:11:38 | 2019-04-09T06:11:38 | 165,837,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | //
// Created by Borbáls on 2019. 02. 06..
//
#include <iostream>
#include "Bird.h"
Bird::Bird() : Flyable(), Animals() {
}
void Bird::fly(){
std::cout << "Im a flying bird, surprise!" << std::endl;
}
void Bird::takeoff(){
std::cout << "Im just trying to take off from the land, dunno if Im gonna succeed" << st... | [
"szakacs.boro@gmail.com"
] | szakacs.boro@gmail.com |
63d3fcf5127455535da58837a4e67ef3ccf82360 | b34cd2fb7a9e361fe1deb0170e3df323ec33259f | /Nexus/Source/OrderExecutionServiceTests/main.cpp | cb263d648fb1ba9405adbc2e11532babc48f10fb | [] | no_license | lineCode/nexus | c4479879dba1fbd11573c129f15b7b3c2156463e | aea7e2cbcf96a113f58eed947138b76e09b8fccb | refs/heads/master | 2022-04-19T01:10:22.139995 | 2020-04-16T23:07:23 | 2020-04-16T23:07:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | #include <cppunit/BriefTestProgressListener.h>
#include <cppunit/CompilerOutputter.h>
#include <cppunit/TestResult.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
#include "Nexus/OrderExecutionServiceTests/BoardLotCheckTester.hpp"
#include "Nexus/OrderExecutionServiceTests... | [
"kamal@eidolonsystems.com"
] | kamal@eidolonsystems.com |
5d96e72a29040f0e5d45d74c9b4b6b2c0718e998 | d8500d64740aef4f5b31e02e1ac0d40b78d59f0c | /openscenegraph/osg_billboardgpu/main.cpp | 414684c86164cce540621bc900e472013324f22a | [
"MIT"
] | permissive | preet/scratch | 6c1ef5c0eabedf4fb69947eba3b526bbfa51872b | db0a90522b130447d46cedab2932ecedd4044363 | refs/heads/master | 2021-01-19T09:32:27.377308 | 2016-04-20T20:49:38 | 2016-04-20T20:49:38 | 4,983,823 | 7 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 13,877 | cpp | #include <osgViewer/Viewer>
#include <osg/MatrixTransform>
#include <osg/ShapeDrawable>
#include <osg/AutoTransform>
#include <osg/PolygonOffset>
#include <osg/Program>
#include <osg/Shader>
#include <osg/Uniform>
#include <osgText/Text>
#include <osg/CullFace>
#include <vector>
#include <iostream>
#include <fstream>
... | [
"preet.desai@gmail.com"
] | preet.desai@gmail.com |
9749b3ad7028a27caf01cbc8f48c8d3b4dba8187 | a53f1eb396b0fc6e201896d770f26d721211165f | /image_coding_project/GUI_frame_decode_B.cpp | 8847a5065a95323a2d0ef576df140dace1fce79c | [] | no_license | MrrrrFox/Hidden-Pictures | beb2a92431132df2909d7cbcc4dc5c0a47ac6762 | 4294776e70994a6709213cdaa21c7b12258174dc | refs/heads/master | 2022-11-05T06:55:35.331966 | 2020-06-22T13:46:37 | 2020-06-22T13:46:37 | 274,148,453 | 0 | 1 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,683 | cpp | #include "GUI_frame_decode_B.h"
GUI_frame_decode_B::GUI_frame_decode_B(wxWindow* parent) : frame_decode_B(parent), _logger(text_info)
{
inputImage1 = std::make_shared<wxImage>(wxNullImage);
inputImage2 = std::make_shared<wxImage>(wxNullImage);
outputImage = std::make_shared<wxImage>(wxNullImage);
gauge_progress->S... | [
"noreply@github.com"
] | MrrrrFox.noreply@github.com |
cf696f119b709c3416db056abc3fc1d8788c2a1f | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/havok/Source/Physics/Vehicle/Steering/Default/hkpVehicleDefaultSteering.h | 1f0a2c692e2a4f3469e44dfaa08c35897bfe124f | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent.This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
6a07f285aac75c98b4d72c78f4f0c863b0f96fdb | 3ca47d048c7b112d7428003fdcd0f9780e11e665 | /Day1_M1L1/Day1Assignment1.cpp | 26feeecd2ef8439fa736cccb9690b0812728d3ff | [] | no_license | MonaNooriWork/Repo | 70e8d1a123cd543c02624b48f9625ad9a1ed3a29 | 69b153234eb3418c038f3b511fdc5d23b0900aa5 | refs/heads/master | 2023-01-20T10:34:10.879659 | 2020-11-24T12:32:52 | 2020-11-24T12:32:52 | 307,979,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | #include <iostream>
int number;
int array [8][9][11];
int main(){
do{
std::cout << "Provide positive number: " << std::endl;
std::cin >> number;
if(number<=0){
std::cout << "Your number is not positive, please try again" << std::endl;
}
}while(number<=0);
fo... | [
"mona.noori@volvocars.com"
] | mona.noori@volvocars.com |
74c909cb1e65a0ddc90702428bd1b46470ccacb2 | 3e40f176ddf66d3def63fa285cc7c643a441dc72 | /examples/BK7/BK7write/BK7write.briko | 94469ad559754c686ceed939abfe1f3fa17a1a0b | [] | no_license | JesusAlexlara/Briko-IDE | 4b3580253c0618a8c4eefe3e1523df5e716d2741 | 08955089708cb2fcdf3263a21fb42d53acf5a488 | refs/heads/master | 2020-04-06T16:19:40.397443 | 2015-08-09T19:11:44 | 2015-08-09T19:11:44 | 40,447,129 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 199 | briko |
//Codigo principal que corre por siempre
code(){
bk7write(" hola"); // Escribe "hola" en el serial
bk7write(" mundo"); // Escribe "mundo" en el serial
delay(3000);
}
| [
"jesus_alexlara@openmailbox.org"
] | jesus_alexlara@openmailbox.org |
eaa4459a52a4bdd92186cb67801fa20f16e8170d | 8fe72464b391d629c20c100a285f7e50f7ad8a60 | /lab6-extended/main_window.cpp | ec2809336188f485ce2da0298efc98ac5253304d | [] | no_license | ehallmark/my-labs | 0c81e8589a4beebcac7b6c4c68ba6fb00a4c08c1 | 95bb0a5c4d3d13924a8d4e846e08f3fcc9a11efa | refs/heads/master | 2016-08-11T08:34:55.131233 | 2015-11-10T21:32:16 | 2015-11-10T21:32:16 | 44,219,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | cpp | #include <QLabel>
#include <QMessageBox>
#include <QApplication>
#include "main_window.h"
MainWindow::MainWindow(Reddit* r) {
reddit = r;
layout = new QVBoxLayout();
layout->addWidget(new QLabel("Welcome to CS104 Reddit!"));
// setup the new posts container widget
postsLayout = new QVBoxLayout();
postsContaine... | [
"arushshankar@gmail.com"
] | arushshankar@gmail.com |
122cf658df1bf032c6e5532d81a11eae8a9c9e31 | 6928bb2d7c1c74e5b6876fa6bf83aa2211e3d44b | /onboard/src/util.h | af385d9b945adaa7f6661736cabb361054320bbc | [] | no_license | LemonPi/Beholder | 3d473e9d1f4977976dbca4b8c78208a8d9fa7510 | f2e7f6f78c377a1e6687cecad8fccbd52ad3f1ba | refs/heads/master | 2021-09-05T08:16:08.024329 | 2017-11-30T02:15:10 | 2017-11-30T02:15:10 | 118,929,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | h | #ifndef UTIL_H
#define UTIL_H
// avoid manually switching between abs and fabs
template <typename T>
T myfabs(T v) {
return (v < 0) ? -v : v;
}
#endif // UTIL_H
| [
"johnson9510@hotmail.com"
] | johnson9510@hotmail.com |
d08549a02458f64056d37be136de9ccbe15aa999 | 8ff5ffa56418507bbe014b256a90099ad090c81b | /assn3/Input.cpp | f930e9f0dd6a4d1a36000b02b47def7b484f3ca5 | [] | no_license | jkevin1/Graphics-Course | 262cd77f17f54b52722d69400dea037f0e9f5dbe | 3812468c630f15d55e36a296c97e7fcf626f7332 | refs/heads/master | 2020-06-05T02:58:51.421208 | 2015-02-17T23:09:52 | 2015-02-17T23:09:52 | 30,941,385 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,430 | cpp | // handle mouse and keyboard input
#include "Input.hpp"
#include "View.hpp"
#include "Geometry.hpp"
#include "Cylinder.hpp"
#include "Xform.hpp"
#include "Mat.inl"
#include "Vec.inl"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#ifndef F_PI
#define F_PI 3.1415926f
#endif
// initialize
Input::Input() {
button = old... | [
"jkevin1@umbc.edu"
] | jkevin1@umbc.edu |
93c7680221c41853862fc1360de91e7754fbdda0 | 298b9ea365d71a6d08141e22db6b5979b13779d1 | /tesseract-4cb38b8cfb051a50ee62fe33bf1cfdcc379f92cc/unittest/normstrngs_test.h | 2961bf613acbada6b32f0e09e758d37fb0f4c4d1 | [
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | pac2020/tesseract.js-core | 9c0d706ecc64ac2a289b20e349334d5d4a1eee76 | b9be51241735d047d1f2152f7a28a96efd4203f8 | refs/heads/master | 2023-02-06T23:31:58.574052 | 2020-01-23T12:16:08 | 2020-01-23T12:16:08 | 235,788,163 | 1 | 0 | Apache-2.0 | 2023-01-25T13:39:49 | 2020-01-23T12:15:22 | C++ | UTF-8 | C++ | false | false | 3,542 | h | // (C) Copyright 2017, Google 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 writing,... | [
"some@email.com"
] | some@email.com |
d1b086a23a9390e456cfa729783ea80b5bc887df | 399b5e377fdd741fe6e7b845b70491b9ce2cccfd | /LLVM_src/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/param_copy.pass.cpp | 9445502ed02794b1e424e0c58c3001b7558fb088 | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | zslwyuan/LLVM-9-for-Light-HLS | 6ebdd03769c6b55e5eec923cb89e4a8efc7dc9ab | ec6973122a0e65d963356e0fb2bff7488150087c | refs/heads/master | 2021-06-30T20:12:46.289053 | 2020-12-07T07:52:19 | 2020-12-07T07:52:19 | 203,967,206 | 1 | 3 | null | 2019-10-29T14:45:36 | 2019-08-23T09:25:42 | C++ | UTF-8 | C++ | false | false | 771 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"tliang@connect.ust.hk"
] | tliang@connect.ust.hk |
dd73dff3bb29158e1f35c74a6f9441596b5719a8 | 1a14cb5753f57591781b8539428302482c9c0234 | /qt/rpcconsole.cpp | 3cee67a1580c30e743f3ab2542865da67c4ace0b | [
"MIT"
] | permissive | cell-vip/wep | 640e91f69414ca95606376e05b69209afac3c91e | 357848be48eb073cf67d89955a17ea20617492a4 | refs/heads/main | 2022-12-29T11:42:40.766753 | 2020-10-15T02:35:34 | 2020-10-15T02:35:34 | 304,182,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,502 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QTimer>
#include <QThread>
#include <QTextEdit>
#include <QKeyEvent>
#include <QUrl>
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: make it possible to filt... | [
"cell-vip@outlook.com"
] | cell-vip@outlook.com |
9be3a12d600c42ed918b22762312f51607db8321 | 41eff316a4c252dbb71441477a7354c9b192ba41 | /src/PhysX/physx/source/lowlevelaabb/src/BpBroadPhaseSapAux.cpp | f7fc3bfad63a5d142ead625cbf4f1a62a196ef16 | [] | no_license | erwincoumans/pybullet_physx | 40615fe8502cf7d7a5e297032fc4af62dbdd0821 | 70f3e11ad7a1e854d4f51992edd1650bbe4ac06a | refs/heads/master | 2021-07-01T08:02:54.367317 | 2020-10-22T21:43:34 | 2020-10-22T21:43:34 | 183,939,616 | 21 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 31,010 | cpp | //
// 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 conditions and the following disclaimer.
// * Redistributions in bin... | [
"erwincoumans@google.com"
] | erwincoumans@google.com |
0c34d4af00f960953e8f8926887d001c3309e6b2 | d10f4924870efa1e0b51431b0da34305d7fa6c1f | /ResourceManager/DrawableTexture.cpp | 596423cd0d4eeba5ae009fe455e45a5b3ae1b6c5 | [] | no_license | mbradber/ResourceManager | 3400435ee33737ad09441c20be32895bbf9e751f | cc2b1b977e676c202770702522582b3a359a3101 | refs/heads/master | 2021-01-10T22:05:52.982666 | 2011-08-14T00:34:59 | 2011-08-14T00:34:59 | 2,024,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,670 | cpp | #include "DrawableTexture.h"
DrawableTexture::DrawableTexture(void):
width(0), height(0), cmFormat(DXGI_FORMAT_UNKNOWN),
pDevice(0), colorMapSRV(0), colorMapRTV(0)
{
ZeroMemory(&viewPort, sizeof(D3D10_VIEWPORT));
}
DrawableTexture::~DrawableTexture(void)
{
colorMapSRV->Release();
colorMapSRV = NULL;
colorMap... | [
"mbradber@mail.usf.edu"
] | mbradber@mail.usf.edu |
6ea0dfb195dccf43ca7449f762ab80377a01d0c3 | b0ca0e7ef4d27243a38ac1e2a51f453018301da8 | /Lab 2/Lab1/Tokenizer.cpp | bbe25250d2a88a77025f9d027b6d2a84b9d33035 | [] | no_license | loganwrightoit/CST320 | fe385269fbd8893f5989efdd820d82882e6d5a5c | fee290294a681531480a8b66123b9fec4851417b | refs/heads/master | 2016-09-06T14:57:53.812178 | 2015-03-06T06:10:14 | 2015-03-06T06:10:14 | 29,047,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,436 | cpp | /***********************************************************
* Author: Logan Wright
* Date Created: 01/16/2015
* Last Modification Date: 01/20/2015
* Lab Number: CST 320 Lab 1
* Filename: Tokenizer.cpp
*
* Overview:
* Tokenizes a code file using C++ token ... | [
"kmartshopper@gmail.com"
] | kmartshopper@gmail.com |
6b54dc2ae44eaccbd1aabe93724e483d178cdf1b | 2c8fdf6b96132c8d84e7d12066f400e96975e1a3 | /ControleGrafico.hpp | ebfbdc25d9a9272d5010ea33a57ae00949cc48d1 | [] | no_license | gabepsilva/Allegro-Tank-Game | c44468e2a8efd4fb5ffcbc53c7df1b4c585ab756 | 74e6cd9ccbf9d8022d9a5279514bad5f4b38c039 | refs/heads/master | 2022-09-20T13:36:33.724368 | 2015-07-02T18:38:59 | 2015-07-02T18:39:14 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 366 | hpp | #ifndef __CONTROLEGRAFICO_HPP__
#define __CONTROLEGRAFICO_HPP__
//a funçao dessa classe é inicializar o aleggro .. só ...
class ControleGrafico {
public:
//-iniciando
int IniciaAllegro();
//-finalizando
void FinalizaAllegro();
};
#endif
//* repare que esta classe nao tem atributos .... | [
"gabrielpe@gmail.com"
] | gabrielpe@gmail.com |
a318bef9adfed9f5d8f1af83c2a9ec5e5c190b5b | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/components/sync_driver/data_type_controller_mock.h | a5274530f5acd8b54e5b4aa5671c84d779215a1b | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 1,076 | h | // Copyright 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 COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__
#define COMPONENTS_SYNC_DRIVER_DATA_TYPE_CONTROLLER_MOCK_H__
#include "components/sync_drive... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
788c6dfad55c8b5413526a39dc13c1f5322b678f | 9dddc2d8ac7912e2b2df789cf6be5d87bbb2e2de | /Traversal.cpp | 126a299dba7ef921227cdb0e0db240fe47b8d8bc | [] | no_license | kkyehit/AlgoPratics | 372733799861f25394174dd9e78436c40ef22776 | 437bf48e8847161b3000193651f11645c20c1e7d | refs/heads/master | 2020-09-02T03:01:24.690540 | 2019-11-02T07:24:41 | 2019-11-02T07:24:41 | 219,118,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,078 | cpp | #include<stdio.h>
#include<iostream>
#include<vector>
#include<algorithm>
#define MAX_N 100
using namespace std;
int N;
int preorder[MAX_N], inorder[MAX_N];
struct treenode{
int num;
treenode *left, *right;
} typedef treenode;
treenode* getTreeNode(int &n,int left, int right){
if(n == N) return NULL;
if(left =... | [
"rp01020113994@gmail.com"
] | rp01020113994@gmail.com |
8626e147a9d8df431032f696779676cbf79d0a36 | 12a42054b156383ebbe3ccc5de4150633c66da5d | /problems/super-pow/solution.cpp | 048cd2e82e6166b9b3032d87a0971fe939515ca6 | [] | no_license | cfoust/leetcode-problems | 93c33029f74f32c64caf8294292226d199d6e272 | f5ad7866906d0a2cf2250e5972ce910bf35ce526 | refs/heads/master | 2020-03-16T23:05:45.123781 | 2018-05-11T16:41:09 | 2018-05-11T16:41:09 | 133,064,772 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 89 | cpp | class Solution {
public:
int superPow(int a, vector<int>& b) {
}
}; | [
"cfoust@sqweebloid.com"
] | cfoust@sqweebloid.com |
d20ce2e1708d868affda90d46509223abaef402c | 3725d3a1155a997c52710d4327259a00f2b4cf49 | /src/qt/askpassphrasedialog.cpp | c36b2a339dad5038406f44d342a792149fd5561f | [
"MIT"
] | permissive | texascoin/TexasCoin | cdd76e7bea4b8ddd76bdb1984f00197dd7921846 | 03b993de8b2e55f5ffaa3be1b3a9af841b7bd543 | refs/heads/master | 2020-06-05T23:08:40.278858 | 2014-06-30T09:58:31 | 2014-06-30T09:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,723 | cpp | #include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::AskPassphraseDialog),
... | [
"blue_w1nter@hotmail.com"
] | blue_w1nter@hotmail.com |
c3c61a22cd6885e90cda122521cb47e5595b2719 | ea5fc703aaf46f17ab9c4dbce53813d2f6860456 | /lua-tests/rx-matchl.cpp | ab460c45440fe100c84da6884f632a8d83b024ba | [
"MIT"
] | permissive | Mogball/rx-cpp | f2f01b471e5084c61bf3656f77b2ffaa2cb3c1ff | 445d704cc818223188168976251b62d299d83274 | refs/heads/master | 2022-11-14T04:55:10.436040 | 2020-07-10T14:26:21 | 2020-07-10T14:26:21 | 278,705,565 | 0 | 0 | NOASSERTION | 2020-07-10T18:25:57 | 2020-07-10T18:25:56 | null | UTF-8 | C++ | false | false | 858 | cpp | #include <iostream>
#include "rx.h"
using namespace std;
using namespace textutil;
int main(int argc, char **argv) {
if (argc > 2) {
Rxl R(argv[1]);
const char *text = argv[2];
Rx::match M(R,text);
if (M.matches()) {
for (int i = 0; i < R.n_matches(); i++) {
... | [
"steve.j.donovan@gmail.com"
] | steve.j.donovan@gmail.com |
f931ca393014edbfb237ef5632763add24107b04 | 8e87cf744303f8b9058c35a13118cee7ceac5fc1 | /hw07/ring_buffer_starter_code/ring_buffer.h | 40185bee43d641a3d7f14e1b077d5fd775ecb893 | [] | no_license | rasmuskozak/starterCode-302 | b75bf2ce0375fc3dcac562ebd7c2b0e276de1d77 | 71df7745a0ebf2c6bc991ccaf16b6cf3c7739698 | refs/heads/main | 2023-08-07T02:32:15.522591 | 2021-09-22T07:03:46 | 2021-09-22T07:03:46 | 409,099,075 | 0 | 0 | null | 2021-09-22T07:05:32 | 2021-09-22T07:05:31 | null | UTF-8 | C++ | false | false | 463 | h | // implement a deque as a ring buffer
#ifndef _RING_BUFFER_H_
#define _RING_BUFFER_H_
#include <memory>
#include <cstdlib>
template <typename T>
class RingBuffer
{
public:
RingBuffer(std::size_t size);
bool enqueue(const T& item);
T dequeue();
long int getCount();
private:
std::size_t queueLength;
... | [
"77019344+azime-dev@users.noreply.github.com"
] | 77019344+azime-dev@users.noreply.github.com |
12fedfc0daf6c2802742b383cc68777f2b57d910 | e2189e79b222669cb431ba97b82862b7c3a5e326 | /cse419/assignment_001/J.cpp | 81f3385c26aa64db575426c1094af887a9a5f239 | [] | no_license | cosmicray001/academic | 5fb310fdcf47bd211c8364e71a8f2807b29069f0 | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | refs/heads/master | 2023-07-16T04:59:13.733656 | 2021-08-25T19:32:37 | 2021-08-25T19:32:37 | 254,766,938 | 3 | 4 | null | 2020-08-05T16:25:16 | 2020-04-11T01:01:55 | C++ | UTF-8 | C++ | false | false | 596 | cpp | #include <bits/stdc++.h>
using namespace std;
set<string> st;
int main(){
//freopen("input.txt", "r", stdin);
//freopen("output.txt", "w", stdout);
string s, a;
while(cin >> s){
a = "";
for(int i = 0; i < s.size(); i++){
if(s[i] >= 'A' && s[i] <= 'Z') s[i] = s[i] - 'A' + 'a';
if(s[i] >= 'a' ... | [
"noreply@github.com"
] | cosmicray001.noreply@github.com |
7c40a9688ec5fe0746bf26bce071979a5ec76321 | 574200859b9e847d517d17227936fb37533de534 | /C++/Trials_or_concepts/private_mem_access.cpp | d51fc6c64923996e7ea48272ddc69a7a907c16c3 | [] | no_license | ComputerMaestro/Programming-Problems | af3dc562dac1a36a589e8e2e0637ec53113052be | b72ff3b54932a864fb788901124a1a1e7ae3d22e | refs/heads/main | 2023-02-24T15:29:35.365203 | 2021-02-01T11:38:36 | 2021-02-01T11:38:36 | 323,541,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include <iostream>
using namespace std;
class Test
{
int first_mem;
int s;
public:
void getdata(int f)
{
first_mem = f;
}
Test(){};
Test(int f){first_mem = f;}
void setdata(Test & t, int & a);
};
void Test::setdata(Test & t, int & a)
{
a = t.first_mem;
}
int main()
{
... | [
"yp270200@gmail.com"
] | yp270200@gmail.com |
7a83f95b4339706e144121730ab2549791d940c1 | 40f47341dc3bfbeeb5663b1436554e61be68fcbb | /src/foo/Bar.cpp | c574183969dd7a2d76ebdfae383cdba63e50e654 | [] | no_license | trueb2/CppTest | 6bec420882b96adcbc49b25a1bae5558044ec9ed | 41451e4fd299500ddfc505a9bf026958d68dd3e1 | refs/heads/master | 2021-01-01T20:46:35.174076 | 2017-07-31T21:14:55 | 2017-07-31T21:15:49 | 98,930,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | //
// Created by jwtrueb on 7/31/17.
//
#include "Bar.h"
int Bar::add(int x, int y) {
return x + y;
}
int Bar::sub(int x, int y) {
return x - y;
} | [
"trueb2@illinois.edu"
] | trueb2@illinois.edu |
c0f6219a96cda75efc86f9d18a1e5c206ca9b112 | c09ecbd69e0bf243adf7069ca52fa31a3dcf1be2 | /Lab 6/WaleedRana_Part2_driver.cpp | 8208a7f07b26bc91e4c5c595f43e87c7cf27224d | [] | no_license | WaleedRanaC/DataStruc | 4768c3553f9ce73895deba7ccd3424f8cf80ef1e | f9de526ded20ed587e42c07ea91f312a6a59bf48 | refs/heads/master | 2021-05-09T10:22:38.783205 | 2018-10-16T18:44:37 | 2018-10-16T18:44:37 | 118,961,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | cpp | //Waleed Rana
//4/24/2015
//
#include <iostream>
#include <cmath>
#include <iomanip>
#include <fstream>
#include <string>
#include <ctime>
#include <string.h>
#include <sstream>
#include <algorithm>
#include "quickSort.cpp"
#include "linearSearch.cpp"
#include "binarySearch.cpp"
using namespace std;
template<class I... | [
"noreply@github.com"
] | WaleedRanaC.noreply@github.com |
dfe7d9f41288c58dfeb6e4029195ed91dc744396 | fa6386f92f5687bdf2a9942b703a40966dd539c0 | /面向对象程序设计基础/review/曹鼎原_2017011417/Problem 2/PublicInheritanceMatch.h | eaf1574e569e194107568affddecc72781eca8a2 | [] | no_license | WalkerDongGithub/undergraduate_projects | 4e5fd2d20cb43f73cb84c6c72cc0efc93e9f87c1 | 791266fab3bd3ed846a19b814149c84335841930 | refs/heads/master | 2023-07-16T15:18:45.041142 | 2021-08-25T19:55:20 | 2021-08-25T19:55:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | h | /*
* @Author: Mockingjay
* @Date: 2018-05-15 21:03:08
* @Last Modified by: Mockingjay
* @Last Modified time: 2018-05-22 09:50:23
*/
#ifndef PUBLIC_INHERITANCE_MACTH_H_
#define PUBLIC_INHERITANCE_MACTH_H_
#include "KMP.h"
#include <string>
#include <vector>
typedef std::vector <int> IntVec;
class P... | [
"740678788@qq.com"
] | 740678788@qq.com |
46654682f9c44a76257de59a53763b5376dc011a | 4ccd7aa493c40619713bd1d118343298b24cd003 | /shootttttt/shootttttt/main.cpp | 099f58c6915dd5aa334c0ab6fc0f0d67ae659409 | [] | no_license | nghiepchinhluu/Spacewar | 91335de6ddcb5149958f72274611c3c81ce045e3 | 65a3f98a0fdfbe348bcf2d07b1dc5d8cf4ba1c41 | refs/heads/master | 2020-08-12T05:45:49.775015 | 2019-10-12T19:12:23 | 2019-10-12T19:12:23 | 214,700,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,290 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "SDL2-2.0.8\include\SDL.h"
#include "SDL2-2.0.8\include\SDL_image.h"
//load libraries
#pragma comment(lib,"SDL2-2.0.8\\lib\\x86\\SDL2.lib")
#pragma comment(lib,"SDL2-2.0.8\\lib\\x86\\SDL2main.lib")
#pragma comment(lib,"SDL2-2.0.8\\li... | [
"51274335+nghiepchinhluu@users.noreply.github.com"
] | 51274335+nghiepchinhluu@users.noreply.github.com |
af8c9b10b3af6074cf2cf81cad82e150fac708e0 | c9fddd56bd7d4737870f312f89e549dbc88baf27 | /Pish/Management/ShaderMng.cpp | 892849e1684651e30586a56de6358d614cba1a98 | [] | no_license | aire39/GameEngine2D | 8e8d944d8d8e90e61de5e6364c1d91c1922df81c | e12d983a383eb8f408a95e4c1b0f54737ae8844d | refs/heads/master | 2016-08-07T21:07:39.767379 | 2015-06-23T03:34:05 | 2015-06-23T03:34:05 | 37,040,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,092 | cpp | #include "ShaderMng.h"
ShaderMng::ShaderMng()
{
nShaders = 0;
}
ShaderMng::~ShaderMng()
{
#ifdef __WXDEBUG__
std::cout << "Deleting shaderManager!" << std::endl;
#endif
ShaderList.clear();
}
void ShaderMng::addShader(Shader * s)
{
ShaderList.push_back(s);
nShaders++;
}
void Shader... | [
"seaxbutler@gmail.com"
] | seaxbutler@gmail.com |
d6e939b72428a95f2f07bd888ca3c3f7375be9b8 | fcba9c921c835373b99740d354cdfc9fddcb4089 | /Employee.h | 26f89bbf05165d523ca3f488efdebcd24d2dcb15 | [] | no_license | diana957/Project-SDP | b2cd549844eca1cad4bd2900f1b7e3467ab66a1b | 8cb8151a158ca7a462d4a7740f2fb0470fbc27f9 | refs/heads/master | 2020-12-03T15:47:05.885082 | 2020-01-02T21:25:55 | 2020-01-02T21:25:55 | 231,378,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | #ifndef _HEADER_EMPLOYEE_INCLUDED_
#define _HEADER_EMPLOYEE_INCLUDED_
#include <string>
using std::string;
class Employee {
public:
Employee(const string& name, unsigned practice, unsigned age);
public:
void set(const string& name, unsigned practice, unsigned age);
const string& getName()const;
unsi... | [
"noreply@github.com"
] | diana957.noreply@github.com |
7f91e7a365e2dd64e032f3a893a97ae4c20ca713 | 6db7f3f67fb15869cf435e7f222da1042140af6c | /src/SimLib/Header/Core/Memory/fixed_pool.hpp | e15e9741146448164b7512c9fff64e2e3e46ce26 | [
"Unlicense"
] | permissive | KonstantinStepanovich/SIM | 17be6f6bb15bada6e358423627f74f7d89134cd9 | 87701601b3d5033f5d6415aca2b845dac4b695a7 | refs/heads/master | 2020-05-18T20:11:40.132922 | 2013-07-28T10:56:54 | 2013-07-28T10:56:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | hpp | #ifndef _POOL_ALLOCATOR_
#define _POOL_ALLOCATOR_
#include <xmemory>
#include <assert.h>
template
<
class T,
std::size_t stack_based_capacity = 256,
class SecondaryAllocator = std::allocator<T>
>
class fixed_pool;
template <std::size_t capacity, class Alloc>
cla... | [
"Konstantin.Stepanovich@gmail.com"
] | Konstantin.Stepanovich@gmail.com |
17a11ce19e7b82653dbfbaa7e285921559ec9345 | acde52b01a43888fbe5ad5179cd3b914207bc916 | /src/prems-office-problems/Test_Preparation/Dynamic_Programming/Smallest_sum_not_in_array.cpp | fb874d5e69f4589e825e3dd177a401ca93277ec7 | [] | no_license | amitverma2/programming | 8b39615ded80f8f86f7fef56416e659b4a18c10c | 1200adb3274c12ca98eda6184797fb34c009d503 | refs/heads/master | 2022-05-04T21:34:51.639987 | 2022-04-05T21:27:43 | 2022-04-05T21:27:43 | 116,874,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,065 | cpp | #include <iostream>
using namespace std;
/*
https://community.topcoder.com/stat?c=problem_statement&pm=13166&rd=15854
Your friend Lucas gave you a sequence S of positive integers.
For a while, you two played a simple game with S: Lucas would pick a number, and you had to select some elements of S such that t... | [
"amit.verma2@gmail.com"
] | amit.verma2@gmail.com |
92b37749404184ee780ed401fe010991f2f372c3 | 081f01fe4387d377cd9989ea066054334d31c1c3 | /task_chosen_lines.h | bbf80df6cf463c1f935f1c0b21f43e273697ab77 | [] | no_license | Vladimirsky555/LogsReader | a77d28eb4abbf49731def3dcb215fe2b0f65ceda | 1538367e0955647990a60505824f0dc323c986f9 | refs/heads/master | 2022-07-03T11:19:40.568168 | 2020-05-07T07:32:14 | 2020-05-07T07:32:14 | 261,980,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | #ifndef TASK_CHOSEN_LINES_H
#define TASK_CHOSEN_LINES_H
#include <QWidget>
namespace Ui {
class Task_Chosen_Lines;
}
class Task_Chosen_Lines : public QWidget
{
Q_OBJECT
qint64 start;
qint64 end;
int task;
public:
explicit Task_Chosen_Lines(QWidget *parent = 0);
~Task_Chosen_Lines();
privat... | [
"vladimir.bervin@gmail.com"
] | vladimir.bervin@gmail.com |
1fcc8b8fcb0c4f062f4ccc7a3830006ba3226222 | b37e08863d49bef4637a9214c8af4709a7876b26 | /Algrorithm/GradientDescent/GradientDescent.cpp | f397b5b1edcc90aa83a0e609b5cd0beafbc435d6 | [] | no_license | raorao1994/C | 3835d470913cbecec1e024ab56f3b0f8dde6e874 | a4f307444b67a6c4360498539ad7e8189980ed4a | refs/heads/master | 2021-09-15T09:06:45.127245 | 2018-05-29T12:56:25 | 2018-05-29T12:56:25 | 112,312,470 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 948 | cpp | // GradientDescent.cpp : 定义控制台应用程序的入口点。
//梯度下降
//沿梯度下降的方向求解极小值(也可以沿梯度上升方向求解极大值),
//算法迭代的终止条件是梯度向量的幅值接近0即可,可以设置个非常小的常数阈值。
#include "stdafx.h"
#include<iostream>
#include<cmath>
#include<ctime>
using namespace std;
//函数
double f(double x)
{
return x*x - 2 * x + 1;
}
//求导数
double g(double x)
{
retu... | [
"lxh9788@qq.com"
] | lxh9788@qq.com |
e1272bb90986127bdd2850247e4fcb2a6543febb | d6b5dae76168027ed1e8ae09478555bdca8eba47 | /Mergesort/auxfunction.h | aac25b18f52e422b50e5f782a728260fe7315ba7 | [] | no_license | nclab/ga.shrinker | c1a287164dcadd654592f5f7905cdd2c3f2791cc | db04dd6fa696d0dad0c78eb025250f230ee5af58 | refs/heads/master | 2021-07-07T14:32:05.659171 | 2020-07-30T02:22:19 | 2020-07-30T02:22:19 | 162,076,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,540 | h | #include <cstdlib>
using namespace std;
int ccount=0;
class CE{
public:
int *list;
int size;
int dup;
CE(){
list=NULL;
size=-1;
dup=-1;
}
void copy(int *A,int s,int d){
list = new int[s];
for(int i=0;i<s;i++) list[i]=A[i];
size=s;
dup=d;
}
void copy(CE *ce){
... | [
"ypchen-tw@users.noreply.github.com"
] | ypchen-tw@users.noreply.github.com |
1f2f6dde34f647839859184220aa30fc0e3ce3cd | 5a1a2c205f75b41ce4cb426752342c4a145550ac | /thirdparty/json_spirit/json_demo/json_demo.cpp | 74003cdd68a03bd57348bfd079255fb85adb85df | [
"MIT"
] | permissive | chenshanghao/nativejson-benchmark | d226789e5bd0202cf4e6d4437e6a4cfd0b05b656 | 9246db3ddb9fc748ff328d4568312009cb33d9b7 | refs/heads/master | 2020-03-07T20:27:21.048021 | 2018-04-02T04:04:01 | 2018-04-02T04:04:01 | 127,698,117 | 0 | 1 | MIT | 2018-04-02T04:04:02 | 2018-04-02T03:29:55 | JavaScript | UTF-8 | C++ | false | false | 3,658 | cpp | // Copyright John W. Wilkinson 2007 - 2014
// Distributed under the MIT License, see accompanying file LICENSE.txt
// json spirit version 4.08
// This demo shows you how to read and write JSON objects and arrays.
// In this demo objects are stored as a vector of name/value pairs.
#include "json_spirit.h"
#i... | [
"miloyip@gmail.com"
] | miloyip@gmail.com |
8695fdaeb506bd6e722dfc7c7f5a50e1ce35bee5 | cb2bd9196e80766d7d1d7d75a9fe7989cf6ba035 | /src/qt/qrcodedialog.cpp | b0f68e79ede402c120aa9de850f6713255c13193 | [
"MIT"
] | permissive | BlockchainEvo/neblio | 06e3466e18c47125d12c0b0e9773339a51411a85 | 28b27d4e495e827259e84c15e6b37f73ebba4adb | refs/heads/master | 2021-04-27T20:08:42.027572 | 2018-02-18T17:54:52 | 2018-02-18T17:54:52 | 122,373,353 | 1 | 0 | MIT | 2018-02-21T18:05:40 | 2018-02-21T18:05:40 | null | UTF-8 | C++ | false | false | 4,309 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | [
"neblioteam@gmail.com"
] | neblioteam@gmail.com |
b39f8f8e95a593727a6eeb15fa20e5c51178e77c | f2f31e58b19031e4433a3c77173072474c570fc2 | /Hmwk/Assignment 5/Gaddis_7thEd_Ch6_Prob1/main.cpp | 11942c20ea76ca9e3366078f79e6994f0d63aecf | [] | no_license | hudam012/hm2531509 | 16d0e29ceebdb18d51561ea9645fef4b6c3c2803 | f8135d7b40f23e982d04f56ca61106c3ed138b58 | refs/heads/master | 2021-01-19T14:10:49.727457 | 2014-07-31T16:50:33 | 2014-07-31T16:50:33 | 21,189,970 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | /*
* File: main.cpp
* Author: Huda Milbes
* Assignment 5
*
* Created on July 21, 2014, 7:38 PM
*/
#include <iostream>
# include <iomanip>
using namespace std;
void calculateRetail()
{
float wholesale, percent, retailprice;
if (wholesale>=0)
cout<<"Whole Sale Price: $";
... | [
"hudam012@yahoo.com"
] | hudam012@yahoo.com |
57c2c0cb6bdf8afb9f448332bec239dc82d4ff9d | 5292b03998384c0d2bb5858058892d7e45c5365b | /ASIS/2020/Finals/minilang++/source/src/table/table.h | 312a9854fa6452e09ae3b2e43b6abe0ed88d303a | [
"MIT"
] | permissive | TheusZer0/ctf-archives | 430ef80d367b44fd81449bcb108e367842cb8e39 | 033ccf8dab0abdbdbbaa4f0092ab589288ddb4bd | refs/heads/main | 2023-09-04T17:56:24.416820 | 2021-11-21T06:51:27 | 2021-11-21T06:51:27 | 430,603,430 | 1 | 0 | MIT | 2021-11-22T07:24:08 | 2021-11-22T07:24:07 | null | UTF-8 | C++ | false | false | 3,726 | h | //
// Taken from https://github.com/haarcuba/cpp-text-table
//
#ifndef MINILANG_TABLE_H
#define MINILANG_TABLE_H
#include <iostream>
#include <map>
#include <iomanip>
#include <vector>
#include <string>
class TextTable {
public:
enum class Alignment { LEFT, RIGHT };
typedef std::vector< std::string > Row;
... | [
"sajjadium@google.com"
] | sajjadium@google.com |
16f0618951b1391040b86a014a7a80dfac5d39c0 | e5f396288c30f2d80bb92ffac606d910e7b9da79 | /Cracking_The_Coding_Interviews/Arrays_strings/ispermutation.cpp | f6b7abcb078df6114afdde0c23da5899deaf09c7 | [] | no_license | rashmimishra/Interview | d67a61b8679d3a5916782b7f5ab105914fc42087 | d1849e4ef1c2be7ed94b95e76cfcb8d2af5f3b05 | refs/heads/master | 2020-12-30T10:23:02.616096 | 2015-04-05T12:52:27 | 2015-04-05T12:52:27 | 31,665,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | /* This program is written to find out whether one string is permutation of
another string or not. The same program can be used to find is one string is
anagram of other string or not. This solution employs dynamic programming
approach.The time complexity of this solution is O(n) . We will use normal
interger array... | [
"nitjsr.rashmi@gmail.com"
] | nitjsr.rashmi@gmail.com |
21648432ba033df76f0e88b7532251e1c5594c93 | 99ada8aea7e94752a3f356c870240834107e0963 | /K_Video_Posts.cpp | c58a4e08b9061f1941a6b3c9875b732a340c6a07 | [] | no_license | OmPr366/Codeforces_Solution | 1f5aa564dc013a04cc3919f4367efe79a88f9846 | 2c210c4eec9e36a9b43c754fd2e4a47bcdb6eae8 | refs/heads/main | 2023-06-03T11:57:20.960869 | 2021-06-21T15:16:45 | 2021-06-21T15:16:45 | 378,934,098 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | cpp | #include <bits/stdc++.h>
#define ll long long
#define ld long double
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n, k, sum = 0, count = 0;
cin >> n >> k;
int a[n];
for (auto &x:a)
{
cin >> x;
sum += x;
}
if (sum % k == 0)
... | [
"71120474+OmPr366@users.noreply.github.com"
] | 71120474+OmPr366@users.noreply.github.com |
668cbd883d77a5adce01925903d349b6b5c9b069 | 0ab72b7740337ec0bcfec102aa7c740ce3e60ca3 | /include/new/pdb/molecule/get-number.h | 285977aeb39e221d6098822e58bf330f0b1e2d77 | [] | no_license | junwang-nju/mysimulator | 1d1af4ad7ddbe114433ebdadd92de8bb3a45c04f | 9c99970173ce87c249d2a2ca6e6df3a29dfc9b86 | refs/heads/master | 2021-01-10T21:43:01.198526 | 2012-12-15T23:22:56 | 2012-12-15T23:22:56 | 3,367,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h |
#ifndef _PDB_Molecule_GetNumber_H_
#define _PDB_Molecule_GetNumber_H_
#include "pdb/parse/line-name.h"
#include "intrinsic-type/string.h"
namespace mysimulator {
unsigned int NumberMolecules(const char* file) {
bool rflag=true;
char* run=const_cast<char*>(file);
unsigned int nl=0, nmol=0;
PDBLineN... | [
"junwang.nju@gmai.com"
] | junwang.nju@gmai.com |
5875c8ea3bad263b681f3e10b71cc7d10ad3b1bd | 7e8655e2c35cd34636b38cc693c20826ab162b43 | /cpu/fimreg/matlab/codegeneration/dstr_jacobian.cpp | c31713af8fede7f23538cbd2432ff9523ab7a430 | [] | no_license | cangshengmo/C6678_1 | 2a4ec0cce38c399f5435c89b5ce1d41834032bb1 | df8c58c38017af685911767c156cbe1db01546a2 | refs/heads/master | 2022-06-07T16:05:20.541947 | 2014-11-03T10:18:44 | 2014-11-03T10:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,211 | cpp | /* =====================================
=== FIMREG - Fast Image Registration ===
========================================
Written by Roelof Berg, Berg Solutions (rberg@berg-solutions.de) with support from
Lars Koenig, Fraunhofer MEVIS (lars.koenig@mevis.fraunhofer.de) Jan Ruehaak, Fraunhofer
MEVIS (jan.ruehaak@... | [
"rberg@berg-solutions.de"
] | rberg@berg-solutions.de |
ece80e6ec8bcce72447cab83803880bafd94d924 | c74065dc1bb28f6c400d78cc906bfb167a5ce6c4 | /User/rosserial/nav_msgs/GetMapAction.h | 593cdb741a64708b3df07773ecf42945bd50c146 | [] | no_license | MrRen-sdhm/arm_robot_controller | 1aa7899df6f7666ce50c0b2fc87b8b91ea4c0773 | 458801c42a27dfac246450cc971a5467c76b5c90 | refs/heads/master | 2020-05-09T13:35:03.856535 | 2019-04-13T11:17:47 | 2019-04-13T11:17:47 | 181,157,697 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | h | #ifndef _ROS_nav_msgs_GetMapAction_h
#define _ROS_nav_msgs_GetMapAction_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "nav_msgs/GetMapActionGoal.h"
#include "nav_msgs/GetMapActionResult.h"
#include "nav_msgs/GetMapActionFeedback.h"
namespace nav_msgs
{
class GetMapActi... | [
"rzy.1996@qq.com"
] | rzy.1996@qq.com |
381dd8fff95c63969976b37fc6ac6545f91c4176 | d939fb99344c9d660f7445c7b2a82cd62685e876 | /thesis/additional/qcdatabase.h | e8a6b7cbcfb63b2b205059ecb5f1f6dd4310d583 | [] | no_license | floreks/Qubic | d2236b90dac1b8925c39153b34068a69cd142b47 | d0f8057b9c0bd8a2eefd1f8163c66e4b88174fd4 | refs/heads/master | 2020-04-13T07:25:59.541236 | 2014-09-24T20:18:39 | 2014-09-24T20:18:39 | 6,854,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | class QcDatabase
{
Q_DECLARE_TR_FUNCTIONS(QcDatabase)
public:
static QcDatabase* getInstance(Properties *properties);
static QcDatabase* getInstance();
bool open();
void close();
private:
static QSharedPointer<QcDatabase> instance;
QcDatabase(Properties *properties);
QcDatabase();
};
| [
"iszopl12@gmail.com"
] | iszopl12@gmail.com |
99e116325426c516ca0f5fcf00b1801dc4140ec6 | 6ddb3aa0b430f8f5726ace5acf70d9b2e58631e6 | /externs/glm/gtx/orthonormalize.hpp | 7dcbda4c4495c2c67a3b17488f3c7fe99bede93b | [] | no_license | jjzhang166/Akanya | 6c717a944efd29b876757aa59f707d0fecd941f5 | bb64e5b128bf6ca8730180bc76c831340357cc42 | refs/heads/master | 2023-03-28T17:07:41.388968 | 2021-03-28T22:10:22 | 2021-03-28T22:10:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | hpp | /// @ref gtx_orthonormalize
/// @file glm/gtx/orthonormalize.hpp
///
/// @see core (dependence)
/// @see gtx_extented_min_max (dependence)
///
/// @defgroup gtx_orthonormalize GLM_GTX_orthonormalize
/// @ingroup gtx
///
/// @brief Orthonormalize matrices.
///
/// <glm/gtx/orthonormalize.hpp> need to be inclu... | [
"evan.loiseau@epitech.eu"
] | evan.loiseau@epitech.eu |
1658573741c84a51e812225a5bfd6d3946e8c943 | 78edca6f7aebfd855117effedd05073c159f92c5 | /GLSL App/Source/Private/Graphics/Model.cpp | 17f3c850f9c79f536966ff170b76f89753cfe8dd | [] | no_license | ALPSquid/glsl-app | f212f1495fc6f7177f3c685171c1f966bcbd076f | 84f17cca70cb4e056d84bd66f4d6312458587727 | refs/heads/master | 2021-07-10T11:22:56.447807 | 2017-10-08T16:42:01 | 2017-10-08T16:42:01 | 106,191,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,505 | cpp | #include "../stdafx.h"
#include "Graphics/Model.h"
#include <iostream>
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include "utils/Utils.h"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
Model::Model() {}
Model::Model(GLchar* path, ImportSettin... | [
"alpsquid@kolabnow.com"
] | alpsquid@kolabnow.com |
635ed71e2e686df17fbf0e8402d384d9d7c6464c | 584fec1704f0f892db1ea89618f36cca92c60979 | /doctest/extensions/doctest_mpi.h | 649e8f507bc1630c989fcf04bf245325d576d758 | [] | no_license | mmeysenburg/ist246 | 814782a32e7c23a91b85395a708acde2fe8d422e | 2740811bc8a5ad20a797bd720db62a05ac8c6372 | refs/heads/main | 2023-08-19T06:49:44.628506 | 2021-10-06T00:03:54 | 2021-10-06T00:03:54 | 414,014,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,258 | h | #pragma once
#ifdef DOCTEST_CONFIG_IMPLEMENT
#include "doctest/doctest.h"
#include "mpi_reporter.h"
#else
#include "mpi.h"
#include <numeric>
#include <vector>
#include "doctest/doctest.h"
#include <cassert>
#include <string>
namespace doctest {
inline
int mpi_world_nb_procs() {
int n;
MP... | [
"noreply@github.com"
] | mmeysenburg.noreply@github.com |
8069f7e09e58e2f7bc01533994ff900d9c5bcd41 | e89fbd2ad53607eb3adcbbd23d78c5c9c6746ef2 | /src/Utils/Utils/Math/BSplines/KnotInserter.cpp | 13acdcc7a03b8a2ce12f1e1180c1fdb16a8589b7 | [
"BSD-3-Clause"
] | permissive | qcscine/utilities | 337f0fbd8bb976c892e53f8e4d286e928da6ac15 | a498b9bd3883b10cb095845a9d50c9815f4b7eef | refs/heads/master | 2023-05-25T03:35:19.995036 | 2023-05-12T06:51:08 | 2023-05-12T06:51:08 | 191,567,823 | 4 | 5 | BSD-3-Clause | 2020-04-27T11:53:38 | 2019-06-12T12:35:11 | C++ | UTF-8 | C++ | false | false | 1,858 | cpp | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#include "KnotInserter.h"
#include "BSpline.h"
#include "BSplineTools.h"
namespace Scine {
namespace U... | [
"scine@phys.chem.ethz.ch"
] | scine@phys.chem.ethz.ch |
f4baac7af3be8b7c07b30488f74568e09eaa3abd | ba55ec08618c962dfded8a12ed297c16c20f8313 | /src/Vehicle.cpp | 97a25b38581b961fb98d198abfab0e4a4fc4257d | [] | no_license | RndBrdG/16Factorial-OPENGL | 3e404727352a24d5ef866275bbbf5afce9f485b2 | e5a6b79056a42f898a5a76de551e62e56493d720 | refs/heads/master | 2021-05-29T04:35:57.115915 | 2015-01-05T02:23:52 | 2015-01-05T02:23:52 | 28,522,246 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | #include "Vehicle.h"
void Vehicle::draw(float textS, float textT) {
draw();
}
void Vehicle::draw() {
}
| [
"ei12109@fe.up.pt"
] | ei12109@fe.up.pt |
31a2cdd6389d1235004a0b70828fc3856982f8c5 | d34960c2d9a84ad0639005b86d79b3a0553292ab | /boost/boost/geometry/io/svg/write_svg_multi.hpp | e8c7b7344fce75d96a96eddfa3fbdffef48dac02 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | tonystone/geofeatures | 413c13ebd47ee6676196399d47f5e23ba5345287 | 25aca530a9140b3f259e9ee0833c93522e83a697 | refs/heads/master | 2020-04-09T12:44:36.472701 | 2019-03-17T01:37:55 | 2019-03-17T01:37:55 | 41,232,751 | 28 | 9 | NOASSERTION | 2019-03-17T01:37:56 | 2015-08-23T02:35:40 | C++ | UTF-8 | C++ | false | false | 1,926 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2009-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
// Use, modification and distribution is... | [
"hatter24@gmail.com"
] | hatter24@gmail.com |
2bd8f7706ef1c3173a2b57a1785c11ee81984bba | 27098f3b9b33eb3947cdf827de8ea78ce9b29938 | /ThreadPool.h | 6c75d046913642af1de6028aea4cc9ec6dbd96cf | [
"Zlib"
] | permissive | chenyu2202863/ThreadPool | 2fa75bff31ce0260f35746b31228c2afd8e6ee02 | 5d0ca72d50d315d7e2a4fce9fc4c89ca34793249 | refs/heads/master | 2021-01-17T10:16:23.436827 | 2013-02-17T10:10:40 | 2013-02-17T10:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,178 | h | #ifndef THREAD_POOL_H
#define THREAD_POOL_H
#include <vector>
#include <queue>
#include <memory>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <future>
#include <functional>
#include <stdexcept>
class ThreadPool;
// our worker thread objects
class Worker {
public:
Worker(ThreadPool &... | [
"jakob@progsch.net"
] | jakob@progsch.net |
b5cc032818a99514b359fa2262ee262c3243dd19 | 7f6372d351cf16eeda21b98c6b938b863e187e4e | /program3.cpp | 0698bb6240eb454ddc16f004541e547d83bfea76 | [] | no_license | mmerali1/LeastCommonStringImplementation | 90991b7ba572735b7c85ba797f0fbef04f35f134 | dacd3897d99ea55e5959d3f7ae7b0958c7fc3cf9 | refs/heads/master | 2021-05-15T19:35:51.679001 | 2017-10-20T17:58:13 | 2017-10-20T17:58:13 | 107,709,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,446 | cpp | #include <fstream>
#include <string>
#include <algorithm>
#include <vector>
#include <chrono>
#include <iostream>
using namespace std;
using namespace std::chrono;
vector <vector<int>> lcs_table;
int init_table(string str_x, string str_y);
int lcs_table_filler(string str_x, string str_y, int i, int j);
int main(int ... | [
"mmerali1@cs.binghamton.edu"
] | mmerali1@cs.binghamton.edu |
1b2bc253749247820a4b0d8aa508acafa4191828 | 768316ed72470715e641fda62a9166b610b27350 | /04-CodeChef-Hard/120--Roads in Stars.cpp | 2ea4207b9bdd9fee6cd3b481d9538b9af526503b | [] | no_license | dhnesh12/codechef-solutions | 41113bb5922156888d9e57fdc35df89246e194f7 | 55bc7a69f76306bc0c3694180195c149cf951fb6 | refs/heads/master | 2023-03-31T15:42:04.649785 | 2021-04-06T05:38:38 | 2021-04-06T05:38:38 | 355,063,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,159 | cpp | #ifndef INFINT_H_
#define INFINT_H_
#include <iostream>
#include <vector>
#include <sstream>
#include <iomanip>
#include <limits.h>
#include <stdlib.h>
//#include "Profiler.h"
#ifdef _WIN32
#define LONG_LONG_MIN LLONG_MIN
#define LONG_LONG_MAX LLONG_MAX
#define ULONG_LONG_MIN ULLONG_MIN
#define ULONG_LONG_MAX ULLON... | [
"dhneshwod@gmail.com"
] | dhneshwod@gmail.com |
14e9c1f0ebf81bd644eae79dce76b2a851e3bb82 | 6de1e4199216517c9247bd5103476c33a7c98c22 | /AdvanceLevel/1081. Rational Sum.cpp | 715f9bf13a0816646f33e72f38c45b6162a719a1 | [] | no_license | Aiden68/PAT | 9da832b5999afc5d55c3f58a39bb07dad76c89f9 | a01df198ff75bc1209b86ced79a34a5155efc11d | refs/heads/master | 2021-01-12T10:08:38.073835 | 2017-03-03T07:46:16 | 2017-03-03T07:46:16 | 76,371,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | #include<iostream>
#include<string>
using namespace std;
long long maxFactor(long long a, long long b)
{
if (a == 0)
return b;
else if (b == 0)
return a;
else
return a > b ? maxFactor(a % b, b) : maxFactor(a, b % a);
}
void add(long long &a, long long &b, long long c, long long d)
{
long long ta = a*d + b*c... | [
"jllsjtu@163.com"
] | jllsjtu@163.com |
66dd20c2ffb17406cba705c07615a92820017a86 | be81f77592404e96e869d157acb6345027802282 | /tunerservice/tunerservice/jni/euinstallertc/installation/comp/hsvdvbcins/CHsvDvbCInstallation_msettings.h | 8c096a2900001fad146ce267622935084de53434 | [] | no_license | GongHuixue/2k15_asta_app | a5f39ca515958ad38a50b6a42a46b3fdb0d86b09 | 99ee7b8795db43374a19b0b439e90c3a63866862 | refs/heads/master | 2021-01-24T20:01:59.468015 | 2018-08-26T03:29:39 | 2018-08-26T03:29:39 | 123,243,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,835 | h | #ifndef _CHSVDVBCINSTALLATION_MSETTINGS_H
#define _CHSVDVBCINSTALLATION_MSETTINGS_H
#include <InfraGlobals.h>
#include <provreq.h>
#include <IHsvDVBSettings.h>
#include <IHsvPower.h>
#include <IHsvSystemSettingsNotifyEx.h>
#include <IAppApiSystemSettings5.h>
#include <IHsvCountryIds.h>
#include <ICesCityI... | [
"huixue.gong@tpv-tech.com"
] | huixue.gong@tpv-tech.com |
7a8265a34b841d51ea19999d175537747e4464cb | 47aa54dfe63bc0ddb0faf975b1fe0be7deceaf62 | /HFO_changes/main_window1.h | cfa13f429484baadfbbaa6b649be6c01365b23e1 | [] | no_license | orrkrup/YODQN | dad0042b0d94c610d0a62820e00ee2e21998ec8e | 56ad4025453329d16b462b1c4aa8ebe80a14bfd0 | refs/heads/master | 2021-06-16T02:21:08.345387 | 2017-04-12T08:09:59 | 2017-04-12T08:09:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,724 | h | // -*-c++-*-
/*!
\file main_window.h
\brief main application window class Header File.
*/
/*
*Copyright:
Copyright (C) Hidehisa AKIYAMA
This code 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... | [
"ok1@campus.technion.ac.il"
] | ok1@campus.technion.ac.il |
3e2b79ce89b7bffaca0092cde11240acb4f6c772 | 59ecbe26de637525d5edfd8446164ce012f3162c | /xpkDemo/xpkDemo/XPKEdit.h | 8544e9c0ed9e7f4a36bec001a5831557e3afa4c9 | [] | no_license | symanli/rdVideoEditSDK-for-Windows | b8618c070d07a9f7f619e2f824f9808eb0252c24 | d27fcbcde8baf448d8ac48368fcf6368c1d781cd | refs/heads/master | 2022-04-06T00:12:24.496518 | 2017-05-26T02:49:21 | 2017-05-26T02:49:21 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,626 | h | #pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "XPKCombobox.h"
// CXPKEdit 对话框
class CXPKEdit : public CPropertyPage
{
DECLARE_DYNAMIC(CXPKEdit)
public:
CXPKEdit();
virtual ~CXPKEdit();
// 对话框数据
enum { IDD = IDD_XPKEDIT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/D... | [
"1334465191@qq.com"
] | 1334465191@qq.com |
8128fce31d2f8210da15043d7fe886f1ed4f5dff | 0a4aed8a75e7fbb28f8248d9177d99348007fbaf | /Game.cpp | f5650338328ebfaf6f6a1e9dfc6a93d974b37829 | [] | no_license | WolfieDavis/Math-Game-for-School | 2843a74ba501d64bc566e9b4d85f14b67935df35 | cecbcc2ec1457d1253b01def491594d6d6a43ecf | refs/heads/master | 2021-06-11T23:45:50.539124 | 2016-10-01T14:54:19 | 2016-10-01T14:54:19 | 69,744,572 | 0 | 1 | null | 2017-02-05T10:27:15 | 2016-10-01T14:53:28 | C++ | UTF-8 | C++ | false | false | 3,988 | cpp | //#include <time.h> // we need this for time(0)
#include <iostream>
#include <cstdlib> // we need this for rand()
#include <string>
using namespace std;
int main()
{
// we need these next 3 lines at the start of
// any program using random!
unsigned seed;
seed = time(0);
srand(seed);
string keep_going;
... | [
"noreply@github.com"
] | WolfieDavis.noreply@github.com |
d054fa502e0c8743282333ed612a3e733025f160 | 248d1b270c3602f1c4dfac0a900c55a6cab2f60e | /self_balancing_arduino2a.ino | 232bcbe2ae85786cb5bf65add2da7cbb20126047 | [] | no_license | tehniq3/SelfBalancingRobot | 6894e5d8ff0c9a9be2849a25e3c1aef8455c929e | 099123690fdf0c484fc524f6da63c62e35cb52de | refs/heads/master | 2022-10-12T23:07:08.940024 | 2020-06-08T11:19:25 | 2020-06-08T11:19:25 | 270,620,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,030 | ino | /*Arduino Self Balancing Robot
* Code by: B.Aswinth Raj
* Build on top of Lib: https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050
* Website: circuitdigest.com
* https://circuitdigest.com/microcontroller-projects/arduino-based-self-balancing-robot
* small schamges by Nicu FLORICA (niq_ro)
*/
... | [
"noreply@github.com"
] | tehniq3.noreply@github.com |
b6dfbb4f7e63d6831df1ef578b1c455d0ba645a5 | 37d4ed432fbb691fabfb5779f1a073c69bba1ded | /Untitled1.cpp | 5d07d01299506ef66665607b6314afac6c26aeed | [] | no_license | Samsovansoukea/Useless-programmer | 8d361ddaa820bdacb18ba3ad3b5ba97b665cc3b4 | 6d5e4303d11c6738d0606091a1553caa76a7af72 | refs/heads/master | 2021-02-19T18:12:55.534619 | 2020-03-06T03:47:08 | 2020-03-06T03:47:08 | 245,317,394 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | #include<iostream>
using namespace std;
int main(){
int n1=5,n2=10;
int *p1,*p2;
p1=&n1;
cout<<*p1<<"\t"<<n1<<endl;
p2=&n2;
cout<<*p2<<"\t"<<n2<<endl;
p2=p1;
cout<<*p2<<"\t"<<*p2<<endl;
return 0;
}
| [
"noreply@github.com"
] | Samsovansoukea.noreply@github.com |
8f0a32e33fad018aa93d07615a95b46b970defbe | 5f3939ab22bca6d2c6fdff0d2233e0c4fbef3c58 | /overload_out_operator.cpp | c6fc09708069c9e0ac36f512a3a96e340d1f6727 | [] | no_license | vaishaligupta97/c- | 65cfae0a835b81c73a58dec915a41d849c172b67 | c8f27cc3ab60ec7072fcc4b2152f19984a85521c | refs/heads/master | 2022-12-12T15:11:01.516797 | 2020-09-11T16:00:54 | 2020-09-11T16:00:54 | 294,739,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,628 | cpp | #include<bits/stdc++.h>
using namespace std;
//Implement the class Box
//l,b,h are integers representing the dimensions of the box
class Box
{
private:
int l,b,h;
public:
Box()
{
l=b=h=0;
}
Box(int lengt... | [
"noreply@github.com"
] | vaishaligupta97.noreply@github.com |
f9055a35df9c5605681a4dd1358a0dd1d83e21c4 | 739ad9c45e72900ec20da41a0f07805e502049f3 | /!markThese/projectsCh8-4_nimOOP/projectsCh8-4/pile.h | f063f41fa00bfffbfee068070a7715894c0f3144 | [] | no_license | MikeSweeny/dailyProjects_C | 994ef57ea1874f6391b8a78aa9db3db4f498e395 | d9fbd17b450ccd2a2876c7edc0bab3e0c0c4ce78 | refs/heads/master | 2020-04-22T16:54:55.398727 | 2019-04-12T15:38:59 | 2019-04-12T15:38:59 | 170,524,075 | 0 | 0 | null | 2019-04-12T16:01:30 | 2019-02-13T14:44:39 | C++ | UTF-8 | C++ | false | false | 629 | h | #ifndef PILE_H
#define PILE_H
#include "pch.h"
#include <string>
#include <iostream>
using namespace std;
// PILE CLASS
class Pile
{
public:
//constructor prototype sets starter stick count to 13
Pile(const int stickStart = 13);
// Function to remove sticks from the pile
void ReceiveMove(int stickRemove);
// F... | [
"44808412+MikeSweeny@users.noreply.github.com"
] | 44808412+MikeSweeny@users.noreply.github.com |
bedc3f556b8f85c3be883246667b8c568fe6a7f8 | e348e15238a40ee50454683a40a3eb09e1582a47 | /mainwindow.h | 2be36787089de1946a9bb076631a3c987ce4a429 | [] | no_license | safwene-ben-aich/partnership-school-apps-qt | d8661f82e82ac339e927fd394190644a8bb8e709 | 6ca00c4ff4c4ad62b1230d37f8a2b199cf38f434 | refs/heads/master | 2021-05-15T19:18:20.810182 | 2017-10-20T13:51:43 | 2017-10-20T13:51:43 | 107,681,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtGui>
#include "iostream"
#include "tabwidget.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::Main... | [
"safwene.benaich@gmail.com"
] | safwene.benaich@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.