blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
97c8f3230bc277aec38f469215a7caf4b56ecdb0 | ce288466a274ada7bbbb4a916fd57ea72117b412 | /rt/include/entities.h | 18bf5eee8e60a69899451e0f2cb91204a8e413ef | [
"Apache-2.0"
] | permissive | JBamberger/global-illumination | b59d1e09bdf6c9a361f0d2792999a2beac77b944 | ab4a5bc8463f59a6ae7d724bd290790a1cef294b | refs/heads/master | 2022-04-02T16:17:45.664418 | 2020-02-18T17:07:04 | 2020-02-18T17:07:04 | 219,213,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,965 | h | /**
* Copyright 2020 Jannik Bamberger
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"dev.jbamberger@gmail.com"
] | dev.jbamberger@gmail.com |
b605a8fd999af55f0d69eb6e004b331097aa2180 | 9a096042345a861b52d4f9bbc847811d3b02b43e | /create_response/ErrorPage.cpp | 1843ebb5f2c9b8264ec8821653bbf89968aaf1c2 | [] | no_license | Onofriychuk-Marat/Webserver | 752af9b40b2412a7e29d887ac5b7c9010cb013f7 | 8b7b82b7e52ef3d1004087f318867f5f63f9fc40 | refs/heads/master | 2023-05-27T21:39:13.180482 | 2021-06-16T22:08:56 | 2021-06-16T22:08:56 | 377,638,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,096 | cpp | #include "ErrorPage.hpp"
ErrorPage::ErrorPage() {
_errors_page_config = std::vector<t_error_page>();
_root_error_page = std::string();
_code_error = int();
}
ErrorPage::~ErrorPage() {
}
ErrorPage::ErrorPage(ErrorPage const &x) {
*this = x;
}
ErrorPage &ErrorPage::operator=(ErrorPage const &x) {
... | [
"danilpetrovone.com"
] | danilpetrovone.com |
d0499fa1918ecaf2f266665b5fd7a0b2aeffaf3f | 6d3a70abecb8d5f706673ba7068bcd2b941fc84d | /Libraries/Validation/ACSE_ab_reason.cpp | f1f006ca5982d5106ca7f0daa180873740cbd30b | [] | no_license | MarcoTestDVTk/TestDVTk | 352ab93c0d1ed154985fbad83ed6982029da66d1 | c9202041090d6f68f5cdfd23db904592440fb365 | refs/heads/master | 2021-01-09T20:30:38.405636 | 2016-06-15T08:52:41 | 2016-06-15T08:52:41 | 61,128,764 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,713 | cpp | // ------------------------------------------------------
// DVTk - The Healthcare Validation Toolkit (www.dvtk.org)
// Copyright © 2009 DVTk
// ------------------------------------------------------
// This file is part of DVTk.
//
// DVTk is free software; you can redistribute it and/or modify it under the term... | [
"marco.kemper@dvtk.org"
] | marco.kemper@dvtk.org |
ebdb79d7a547f6c4e8eaa8b26cb7a2e42286f4e1 | d5d84b720d2f731c6bb8a63d58adc5e980496640 | /include/procedure_geometry.h | f71252b5828a5935429727ebafa827f928c46fe4 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | rdelfin/cs354project3 | 3794830a9c236038dd2b735335dd564eeb72e6f9 | 87089c8bbb4058e74393dbfa2bb4b573acd4a72a | refs/heads/master | 2021-04-30T15:57:31.274808 | 2017-07-10T19:59:47 | 2017-07-10T19:59:47 | 71,482,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | #ifndef PROCEDURE_GEOMETRY_H
#define PROCEDURE_GEOMETRY_H
#include <vector>
#include <glm/glm.hpp>
#include <skeleton.h>
void create_floor(std::vector<glm::vec4>& floor_vertices, std::vector<glm::uvec3>& floor_faces);
void create_bone_mesh(Skeleton* skeleton);
void create_lattice(std::vector<glm::vec4> &vertices, s... | [
"ricardo.delfin.garcia@gmail.com"
] | ricardo.delfin.garcia@gmail.com |
c888bde60b86ed22cc0fb7f2ec5b98f2343b9cd0 | 90047daeb462598a924d76ddf4288e832e86417c | /ios/chrome/browser/sync/sync_setup_service.h | a8d14064a1ce20339daf9acf4960628f576ea698 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 4,279 | h | // Copyright 2012 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 IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_
#define IOS_CHROME_BROWSER_SYNC_SYNC_SETUP_SERVICE_H_
#include <map>
#include <memory>
#include "b... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
3de991c49b27e90e9aaf9fe57c38931a84b3b516 | 61255bb7724c45ff555497114fdd12941e5df6c9 | /Ejercicios/SPOJ/TKDPRIME.cpp | 0cb17e84c3157dfb995e239c42c6b18eb3f56089 | [] | no_license | eerick1997/Club | ddcc0a9d3706bb43723718079441fa227b61ea42 | 5ea13c3a22fafa82751fab25be5cb7f472fa5856 | refs/heads/master | 2021-11-24T00:17:42.270738 | 2021-10-28T02:12:40 | 2021-10-28T02:12:40 | 164,712,369 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include <bits/stdc++.h>
#define LIM 100000002
using namespace std;
typedef long long int lli;
vector<lli> primes;
vector<bool> isPrime;
void primesSieve(){
lli n = LIM;
isPrime.resize(n + 1, true);
isPrime[0] = isPrime[1] = false;
primes.push_back(2);
for(lli i = 4; i <= n; i += 2) isPrime[i] = f... | [
"vargas.erick030997@gmail.com"
] | vargas.erick030997@gmail.com |
13f5b02b558494328803749245598c3e41892698 | fc214bfc7caf6050eec8ec5201e7f7eb568e3a17 | /Windows/Qt/Qt5.12-msvc2019_static_64/5.12/msvc2019_static_64/include/QtQuick/5.12.12/QtQuick/private/qquicktextcontrol_p.h | 6f5b365b99f01a0b56683dd957255dfffdadf12f | [] | no_license | MediaArea/MediaArea-Utils-Binaries | 44402a1dacb43e19ef6857da46a48289b106137d | 5cde31480dba6092e195dfae96478c261018bf32 | refs/heads/master | 2023-09-01T04:54:34.216269 | 2023-04-11T08:44:15 | 2023-04-11T08:44:15 | 57,366,211 | 4 | 1 | null | 2023-04-11T08:44:16 | 2016-04-29T07:51:36 | C++ | UTF-8 | C++ | false | false | 6,794 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid... | [
"gervais.maxime@gmail.com"
] | gervais.maxime@gmail.com |
c84e581522f68444c75b9c2a097b951c4216e861 | de6e12cfd3d8206659bcf12b3cf5824a456365e8 | /codeforces/1058E.cpp | 4cb5ff930e86899fea8e2c3b2e2d33976d678d2d | [] | no_license | NitinSundar/Comp | 15d443f1f9d16f230f43af677c14d973eae81b25 | 639f35a7a58ae045964e4090246f363ed6d33a05 | refs/heads/master | 2020-06-13T09:28:47.579817 | 2019-07-24T16:12:07 | 2019-07-24T16:12:07 | 194,613,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int lli;
#define pb push_back
#define mod 1000000007
#define inf 10000000007
#define ff first
#define ss second
#define endl "\n"
#define IOS ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
int f(lli x)
{
int c= 0;
while(x>0)
{
c =... | [
"ch.parasara@gmail.com"
] | ch.parasara@gmail.com |
ef36afbfcdc5e826dc77af7d35e508277dc70946 | abb86bcbb8c2fb843fc1cd03f1538dde3b28e1da | /src/gl.cc | e5c6eae7709237511bb92bda33b103ce2e036236 | [
"MIT"
] | permissive | ncb000gt/node-ogl | 912fc83b782bed6ba60e2f731411bb4502fc77c3 | 3c7425ae4943b4a847d32456ada3ac52e1307aec | refs/heads/master | 2021-01-18T10:31:49.869675 | 2010-06-11T02:28:36 | 2010-06-11T02:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346,312 | cc | #include <node.h>
#include "common.h"
// Includes
#include "gl.h"
using namespace v8;
namespace node {
/**
* glClearIndex
*
* @param GLfloat c
* @return void
*/
Handle<Value> gl_glClearIndex(const Arguments& args) {
HandleScope scope;
GLfloat _c = (GLfloat)args[0]->NumberValue();
glCle... | [
"tmpvar@gmail.com"
] | tmpvar@gmail.com |
84930e459c1f9409a43efc4a2dc664112125fa4f | 28dcee16e7ed1ce20c470ddd3f30117babd14447 | /OOP/20201023Overloading/LAB2/LAB2/employeeTest.cpp | 35dd5df6122dd6a2d8f4504973d60c637843bce8 | [] | no_license | realTranQuocBao/GTS | ffda6c3c09608fb8f302acc27c063fe8a5e80977 | fc050db227caa2261af101b74773f724c2071a71 | refs/heads/master | 2021-04-12T13:39:18.989550 | 2020-10-24T18:46:13 | 2020-10-24T18:46:13 | 249,457,722 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 633 | cpp | // Demonstrating composition--an object with member objects.
#include <iostream>
using std::cout;
using std::endl;
#include "Employee.h" // Employee class definition
int main()
{
//Date birth(7, 24, 1949);
//Date hire(3, 12, 1988);
//Employee manager("Bob", "Blue", birth, hire);
//cout << endl;
//manager.print();
... | [
"micaetranquocbao2001@gmail.com"
] | micaetranquocbao2001@gmail.com |
b2aae8e75a9195da1e68db64f132cc987296e3f7 | af46a6b5ad55d208c86cba215be3dfd60b9b1c65 | /q/src/scene/Model.cpp | f25c0719889b7da5b36037d955410019a7ec0ca6 | [
"BSD-3-Clause"
] | permissive | FlyTheThings/silkopter | ffa04918e3ad6a8a90802523fab75418fe78ca67 | 721b7450f9f2017bfce2baaea4f95ea0bb849fb7 | refs/heads/master | 2021-01-11T16:32:05.085188 | 2017-01-25T09:35:23 | 2017-01-25T09:35:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,596 | cpp | #include "QStdAfx.h"
#include "scene/Model.h"
#include "scene/Model_Base.h"
#include "draw/Painter.h"
#include "anim/Animation_Node.h"
using namespace q;
using namespace scene;
Model::Model(Model_Base_ptr const& base)
: m_base(base)
{
m_this_ptr = Model_ptr(this, noop_deleter<Model>);
m_skeleton = m... | [
"catalin.vasile@gmail.com"
] | catalin.vasile@gmail.com |
d9f6ae382542fea7c406c1e791ead3dfd99adb1b | 5094936c205f30d04742c2c16b5ce3042697100b | /llvm/build/tools/llvm-config/Release+Asserts/BuildVariables.inc | 75954938c9c6877392eddcf290e875bbbb5f353e | [
"NCSA"
] | permissive | mfkiwl/cml-cgra | f5d666e59e9d733b8b069c0b2e7bd8d6783af135 | 21c16963f26baa1fe373a6bde5bed8a0a0e91cbd | refs/heads/master | 2021-06-10T10:08:05.413128 | 2016-11-16T22:19:20 | 2016-11-16T22:19:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,582 | inc | //===-- BuildVariables.inc.in - llvm-config build variables -*- C++ -*-----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"mbalasu2@asu.edu"
] | mbalasu2@asu.edu |
cb0102f3136446c26bb810af43432fd4d56285d0 | 379679bc0d7a3a99a1bf3409214571ffc70dd7d2 | /quicksort.cpp | 9ec38add2e8065785ac46f25ae6aa3c095def26f | [] | no_license | suparna-ghanvatkar/Quicksort_openMP | be8c456435387d1fd89ec19d9f6fe5bec7690480 | 7b5c8f7e58434d039a96f932812c9431f2a6bb21 | refs/heads/master | 2020-04-06T07:08:39.118842 | 2016-09-05T18:21:35 | 2016-09-05T18:21:35 | 39,064,852 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | #include<iostream>
using namespace std;
void quicksort(int *a,int beg, int end);
int partition(int *a, int p, int r);//returns the element to partition from
void swap(int *a,int i, int j);
int main()
{
int A[15],len;
cout<<"Enter the number of elements to sort:";
cin>>len;
cout<<"Enter the array to sort:"<<endl;
f... | [
"suparna-ghanvatkar@users.noreply.github.com"
] | suparna-ghanvatkar@users.noreply.github.com |
069fc0143e598a0a93196664d75cc0c57f1e36d3 | 74f853c42ba68a13f020d75f92929a85e3c6df47 | /src/tests/gtest/ThreadProfileTest.cpp | 6264dae979c0e6e3c57add37825a97a9f8ce8c56 | [] | no_license | bgirard/GeckoProfiler | 5fc3a977ae76730b2e3f1e94adfbbe602bb22da2 | 956809947d7a08a0b67288789505ba958a776b7a | refs/heads/master | 2021-01-10T14:12:27.525453 | 2015-06-10T18:25:09 | 2015-06-19T19:01:51 | 36,989,692 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,682 | cpp | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gtest/gtest.h"
#include... | [
"b56girard@gmail.com"
] | b56girard@gmail.com |
08ada8702d3c0d8834d76efc65992f848062825a | 554e5c61ed8c14cc40af034f567f4d652913384e | /IB Academy/minimum cost connect cities/problem.cpp | 189029c846461a28193365e115e061003d2b757a | [] | no_license | sraman915/Comptetive-Programming | 1a1e098a720fa6394f08b62f173e1ef6b801d5c3 | 0c1e739a2c76ecfe20b43aba333365894833e7cf | refs/heads/master | 2022-07-22T20:52:38.341265 | 2020-05-14T14:34:50 | 2020-05-14T14:34:50 | 263,874,572 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
#define sp ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
#define cps CLOCKS_PER_SEC
#define mod (long long)1000000007
#define f first
#define s second
#define debug1(x) cerr<<x<<"\n"
#define debug2(x,y) cerr<<x<<" "<<y<<"\n"
#define deb... | [
"sraman915@gmail.com"
] | sraman915@gmail.com |
364f1592d254586a2df6c6cc86c964ef1f4d0dc9 | dacdc533b89d281b9c56c8641f0c226a45aad839 | /BigGamePoint.h | da2670d3df7757c567cafb5c0ccfd754e91157d7 | [] | no_license | PGralka/Pac-Man | 3c05fbddff67a67e43cc121dde8f5237fa1fc5ad | a8e791e760b8170ed07794bc8ffa1800f27bda51 | refs/heads/main | 2023-03-06T12:23:59.130296 | 2021-02-15T10:04:17 | 2021-02-15T10:04:17 | 338,635,762 | 0 | 0 | null | 2021-02-14T19:57:04 | 2021-02-13T18:00:59 | C++ | UTF-8 | C++ | false | false | 279 | h | #pragma once
#include "GamePoint.h"
class BigGamePoint : public GamePoint {
Q_OBJECT
private:
const int VALUE = 100;
public:
BigGamePoint(qreal x, qreal y, Scoreboard* scoreboard,
QGraphicsScene* scene);
void getEaten() override;
signals:
void bigEaten(int);
};
| [
"noreply@github.com"
] | noreply@github.com |
c1d8172050e112dc4151bc1d07fb76614d557373 | 49f22d5dda2b9f169f7da083ad886b4411e0321d | /inventory.cpp | a7455f5e8b375fb2b6ad2945ad9aa41d9ddb8fd0 | [] | no_license | devon-wilson/array-based-library | 57eb8d3439ff8a438db474862c83fab9e2598c49 | 7a960e64a6b69a5790d6ee91efcd2a3c4452b572 | refs/heads/main | 2023-02-25T12:50:58.986032 | 2021-01-24T07:37:33 | 2021-01-24T07:37:33 | 332,392,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,933 | cpp | #include "inventory.h"
Inventory::Inventory()
{
count = 0;
}
void Inventory::printAll()
{
for(int i = 0; i < count; i++)
{
book[i].print();
}
}
void Inventory::readIn()
{
char tempTitle[MAX_STR] = {'\0'};
char tempAuthor[MAX_STR] = {'\0'};
char tempPublisher[MAX_STR] = {'\0'};
int tempISBN = 0;
int tempIn... | [
"54726842+devon-wilson@users.noreply.github.com"
] | 54726842+devon-wilson@users.noreply.github.com |
6d1c760cffc0eccb002e80ba7dfacdcaa236d7d1 | 73c23ae07428adec118a68e1961680a9eeb3c28c | /merge_sort.cpp | 2370bc1edaf04346472b4a3c24f8bb1720a7e614 | [] | no_license | shoukna/MyTest | 22f48d49db99febad54a9cd427a5b6c05054ad47 | bdbc93b8fa0d0c6032fb8ad584970b0cf39a2523 | refs/heads/master | 2020-03-15T19:38:33.852412 | 2018-09-15T12:34:19 | 2018-09-15T12:34:19 | 132,313,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
using namespace std;
const int maxn=100;
int A[maxn];
int T[maxn];
void merge_sort(int *A,int x,int y,int *T){
if(y-x>1){
int m=x+(y-x)/2;
int p=x,q=m,i=x;
merge_sort(A,x,m,T);
merge_sort(A,m,y,T);
while(p<m||q<y){
if(((p<m)&&(A[p]<=A[q]))||(q>=y)... | [
"704331356@163.com"
] | 704331356@163.com |
9b16a26983d8336a3cf8fff481b98d52131d6bde | 8215937321f0eb6333d8a10694eea0d8c1db68a7 | /TypeConversionBaseToClassConversion.cpp | e34dd2fd3d3671a1896b59b9a07e0cfc83b9c1bb | [] | no_license | vikrant462/CPP-Revision | 3bd99b8066431102d481f220903113ca84a948e7 | 2ff777a2aaded2d984322f8fdc10aa3ee64e011b | refs/heads/master | 2020-04-09T16:14:38.921712 | 2018-12-05T02:27:35 | 2018-12-05T02:27:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include<iostream>
using namespace std;
class complex
{
int x,y;
public:
complex()
{
}
complex(int r)
{
x=r,y=0;
}
showdata()
{
cout<<"x="<<x<<endl<<"y="<<y;
}
};
main()
{
complex c;
int p=5;
c=p;
c.showdata();
}
| [
"cvikrant462@gmail.com"
] | cvikrant462@gmail.com |
5a453994cc34ab3322777b23317d2d32423b4d3e | 250290db3aa6cd7a699dfce9d712224563938dcc | /try_lru.h | 2287325c5d49d0ee996fc9b63184ceea51e6b518 | [] | no_license | rockbean/tryLRU | 14315d84979e5bfcbb68c5f53ecc162af169af15 | f02646b7655d0ec410870a61732ecb505c32cb34 | refs/heads/master | 2022-12-01T00:24:50.125268 | 2020-08-17T09:26:33 | 2020-08-17T09:26:33 | 288,136,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #ifndef _TRY_LRU_H_
#define _TRY_LRU_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <semaphore.h>
#include "lru_list.h"
#define TRY_LRU_KEY_SIZE 10
#define TRY_LRU_VALUE_SIZE 32
typedef struct try_lru_entry
{
char key[TRY_LRU_KEY_SIZE + 1];
char value[TRY_LRU_VALUE_SIZE ... | [
"rockbean3000@gmail.com"
] | rockbean3000@gmail.com |
63ab396054a0f244bac30e311964e186942b5723 | ee7aaa2fe68584b57c7c5e6178806eb9e9c1b93e | /Find Path in BST.cpp | 1ecb1f24769845f577f60e820c12fb00896e7891 | [] | no_license | mayankwatts/Binary-Search-Tree-BST- | 47a37348f58b0c52f894293e9f1f23aa1aa69db6 | a0fa914414a5209447b3939eb0d2b55ac1c0079c | refs/heads/master | 2020-06-08T23:21:51.408405 | 2019-07-02T13:17:26 | 2019-07-02T13:17:26 | 193,325,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp | #include <iostream>
#include <queue>
template <typename T>
class BinaryTreeNode {
public :
T data;
BinaryTreeNode<T> *left;
BinaryTreeNode<T> *right;
BinaryTreeNode(T data) {
this -> data = data;
left = NULL;
right = NULL;
}
~BinaryTreeNode() {
if(left)
... | [
"noreply@github.com"
] | noreply@github.com |
7af6398d322ec1752ce21406dbf93a96a8e40791 | 3b9a242f2d7df732f5f7dc29027f73bd8773e71d | /sandboxes/nb/no_stl_examples/tree_node_rec_func.h | 75126c0cd3228ac167cefc99ba7d4c25fea19b6a | [] | no_license | skubliy/scratches | 8d0c15b30d7f60cf7f82382148d6a18f658609b4 | 813be4487bb82e76c4e26b85f357e6d1b0910a34 | refs/heads/master | 2021-01-16T23:21:33.071813 | 2016-07-13T19:31:58 | 2016-07-13T19:31:58 | 59,788,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | h | #ifndef TREE_NODE_REC_FUNC_H
#define TREE_NODE_REC_FUNC_H
#include <queue>
using namespace std;
typedef struct treenode_t {
int data;
treenode_t *parent;
treenode_t *left;
treenode_t *right;
} TreeNode;
void treat(TreeNode* cn) {
cout << cn->data << " ";
};
void in_order(TreeNode* cn) {
if ... | [
"skubliy@gmail.com"
] | skubliy@gmail.com |
ad45cb81e04e9cde3ae3d25ecd9dbae73a64215c | 49f88ff91aa582e1a9d5ae5a7014f5c07eab7503 | /gen/third_party/blink/renderer/bindings/modules/v8/v8_lock_options.cc | 8e59f5c8235471ac34cde4e39a6e9b8a6fc2731d | [] | no_license | AoEiuV020/kiwibrowser-arm64 | b6c719b5f35d65906ae08503ec32f6775c9bb048 | ae7383776e0978b945e85e54242b4e3f7b930284 | refs/heads/main | 2023-06-01T21:09:33.928929 | 2021-06-22T15:56:53 | 2021-06-22T15:56:53 | 379,186,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,531 | cc | // 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/dictionary_v8.cpp.tmpl
// by the script cod... | [
"aoeiuv020@gmail.com"
] | aoeiuv020@gmail.com |
d9746fc2e55e429f6998cacd940be7c689bf2d0a | c8a676b6d2419976a55c83dc9464d93de0832db6 | /point.cpp | 873f13bd37191eeab608bbfbf41be3a44b0cc61e | [] | no_license | chomiestyle/Transport_models_simulation | e3fc1a5a87c0ee022970983f7b6748dfb9a7abd0 | b6df3e6fb921cafd7534203b7da3db883c8ef513 | refs/heads/main | 2023-02-25T13:27:34.658121 | 2021-01-24T15:01:37 | 2021-01-24T15:01:37 | 332,473,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include "point.h"
namespace Model{
point::point(double _t,double _x,double _v,double _a,int _lane){
t=_t;
x=_x;
a=_a;
v=_v;
lane=_lane;
};
double point::T(){
return t;
};
double point::X(){
return x;
};
double point::A(){
return a;
};
void point::set_accel(double _a){
a=... | [
"noreply@github.com"
] | noreply@github.com |
e5cb172256626c5f55206930a92db129326b6444 | 3e8367a9ab12e6d546f26c2654c0ce1902eeeee4 | /src/exception/ExceptionTest.cpp | 12aa30fcdc98bac32c42cc0addb9d86d77e92ef6 | [] | no_license | darbitman/ExtendedInteger | ea2a82934dcb1554d52d6487b51344f6de9db85d | 55e36d189c268eedd2d2b884ddc4154875383884 | refs/heads/master | 2021-09-14T06:52:49.636022 | 2018-05-09T03:29:03 | 2018-05-09T03:29:03 | 117,782,590 | 0 | 0 | null | 2018-05-01T03:15:50 | 2018-01-17T04:12:00 | C++ | UTF-8 | C++ | false | false | 147 | cpp | #include "Exception.h"
int main() {
try {
throw DivideByZeroException();
}
catch (Exception& e) {
e.printError();
}
return 0;
} | [
"d.arbitman@gmail.com"
] | d.arbitman@gmail.com |
340668bbb1bb6e8dd2b0e7e85739a2ca55b2e8f7 | 43d8f41ad7909784d15b624321659c28fe4b5b2c | /CARVANS.cpp | 8602ec4adeb66774499901da42214a2718faaaeb | [] | no_license | anujbajpai/challengeProblems | 781755c6ee6432930f511ae39ec0076ac230fa9b | 0614219601f1c1947b6e40c6ed0d7ed930c8e0c6 | refs/heads/master | 2021-06-26T23:58:57.786962 | 2017-09-15T08:56:44 | 2017-09-15T08:56:44 | 103,635,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main () {
int test;
scanf("%d", &test);
while(test--) {
int cars[10001],Count = 1, len, hold;
scanf("%d", &len);
for(int i = 0; i < len; i++)
scanf("%d", &cars[i]);
for (int i = 1; i < len; i++) {
... | [
"Anuj Bajpai"
] | Anuj Bajpai |
e3afb463390a592fe3b1841683d62e7e0284a4c2 | 6d4fb0867be0afabae4fc5231b0d08b1d5fe510f | /MSU_4_SEMESTR/string_language_programming/nums.h | 47ecb1dd8d5f68e37c2bf1bb56616da38b810315 | [] | no_license | BogChamp/MSU_PRAK | 918ed798fc63807fd6b72f45e0bd611dfbac52a4 | fbe3fd1fbc0a96a907b670aca1283dbd204c4477 | refs/heads/master | 2023-05-13T02:13:55.233722 | 2021-05-28T16:48:39 | 2021-05-28T16:48:39 | 371,760,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | h | #include <iostream>
#include "mString.h"
class nums
{
public:
int get_num(const mString& arg);
mString get_mString(int arg);
}; | [
"bogdan_aleksandrov_2014@mail.ru"
] | bogdan_aleksandrov_2014@mail.ru |
720ac592f69408e4fd6bea4ff6812dfea1814fc9 | 453e37485317a61e3d7b1e0bf3a220c580d91596 | /Source/WebKit2/UIProcess/ApplePay/WebPaymentCoordinatorProxy.cpp | adbfdb165ff762c4536346d6762068c59f8d9117 | [] | no_license | bhanug/webkit | a15db8f1b3ab4b5f07aeafeaf4e29791814558e4 | 8f6244dae6d17b9af80aa4fabb546e8105aa04b1 | refs/heads/master | 2023-03-03T22:26:13.549610 | 2016-07-10T08:24:18 | 2016-07-10T08:24:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,653 | cpp | /*
* Copyright (C) 2015, 2016 Apple 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 condit... | [
"andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc"
] | andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc |
b4c06ac1808f10a38ba839775145048aca75b84a | 22cd81da6823cea10793214fedd24cbbdeab1b2c | /2.8猫狗收容所.cpp | f01a936130683cde25cd354dd223795d9be75aec | [] | no_license | liangsonghua/algorithm | b9c53bb3d32756cb047b86339c41a9280a405062 | 4983b9ffaba6ce3f2acd8450483b064356bb6b54 | refs/heads/master | 2021-01-17T22:36:22.108591 | 2019-10-17T13:51:40 | 2019-10-17T13:51:40 | 53,766,214 | 31 | 15 | null | null | null | null | GB18030 | C++ | false | false | 2,357 | cpp | #include<iostream>
#include<vector>
#include<queue>
using namespace std;
class CatDogAsylum {
public:
vector<int> asylum(vector<vector<int> > ope) {
// write code here
queue<int> dog;
queue<int> cat;
vector<int> vec;//收养的序列
int index = 0;//用于标记所有动物进入的顺序
for(int i=0;i... | [
"1411008034@qq.com"
] | 1411008034@qq.com |
92e4fdecb5d7a17fc0206b3444bfb940dfb30e88 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /components/web_package/signed_web_bundles/signed_web_bundle_signature_stack_unittest.cc | da3633d4ffda93bfe33ff1cdf376bb8ae2847a6f | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 6,348 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/web_package/signed_web_bundles/signed_web_bundle_signature_stack.h"
#include <array>
#include "base/containers/span.h"
#include "components/web_package/m... | [
"roger@nwjs.io"
] | roger@nwjs.io |
63eaf9eba139fe8c98c770ff81bdc754636597ce | 284280393cd4af204030d4ac7b715ca3d2549b7b | /酸奶(BFS).cpp | 9a9b7a287fcfa9e697eb158678234439a5f32d90 | [] | no_license | lighingyang/Algorithm | cb60d633847ed0d64bc289698777921499a98bd1 | 23f888766132b4c9ea88a5c0cdd8c7e2072fcb25 | refs/heads/master | 2020-05-05T10:42:33.195995 | 2019-04-21T05:24:42 | 2019-04-21T05:24:42 | 179,956,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,300 | cpp | /*
问题 C: 调酒壶里的酸奶
时间限制: 1 Sec 内存限制: 128 MB
提交: 461 解决: 186
[提交] [状态] [命题人:外部导入]
题目描述
最近小w学了一手调酒的技巧,这么帅的操作,说不定能靠这个俘获女神的芳心,为了在女神面前露一手,他想在学校里建一个"pub",但是显然学校不可能让他真的建一个"pub",那么他退而求次,想建一个"Yogurt shop",不能用酒,那用酸奶也行啊!
今天女神终于来光顾小w的酸奶店了!兴奋的小w拿出自己准备已久每天都仔细擦干净的装备——调酒壶、果汁机、隔冰器和计量杯、砧板、小刀....准备露一手给女神看看
但是女神却没有那么多耐心,女神只是觉得,自己买一瓶大酸奶喝不完... | [
"noreply@github.com"
] | noreply@github.com |
d7f7a301c181e6e995976865960a8eba79f99d68 | 1e506578383a9c018ccf992340f556090cf5cb87 | /IMU/VTK-6.2.0/Rendering/Label/vtkLabeledDataMapper.cxx | 0ad9d47872dd7904f4be4afa3fda2b5a82ae50e1 | [
"MIT",
"BSD-3-Clause"
] | permissive | timkrentz/SunTracker | 387c69f4080441822c490fdccf5c850e64cb0ea7 | 9a189cc38f45e5fbc4e4c700d7295a871d022795 | refs/heads/master | 2020-12-14T09:50:34.216912 | 2015-07-17T17:06:36 | 2015-07-17T17:06:36 | 37,494,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,465 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkLabeledDataMapper.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"tskrentz@gmail.com"
] | tskrentz@gmail.com |
136a7a5032f4ba35cfdb37b2fbef9c0855910602 | ff508de5156a46237b632f97f2c6896265ab2df8 | /tags/3.0.1/AStyleWxTest/src/AStyleIFace_Test.cpp | 1f131cdf71cd8436a5f976acd1f4666356ef9574 | [
"MIT"
] | permissive | fengfeng0328/AStyle | 9728af0360a89bcdc9beab16d9514a7235d7d781 | cab16caba823cc3eee5506a8567a29758d6db393 | refs/heads/master | 2022-10-05T09:45:58.185735 | 2020-06-06T02:55:35 | 2020-06-06T02:55:35 | 269,841,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83,799 | cpp | // AStyleIFace_Test.cpp
// Copyright (c) 2017 by Jim Pattee <jimp03@email.com>.
// This code is licensed under the MIT License.
// License.md describes the conditions under which this software may be distributed.
//----------------------------------------------------------------------------
// headers
//--------------... | [
"m18819838082@163.com"
] | m18819838082@163.com |
a86302bcf47ed08c85bb460b764054f29bc924b0 | 2f2584567f9cdb471423d742bca8f12860199ac1 | /libpurple/poller.cpp | c310ccdf288c42b110ea0aee43742f927a070e07 | [
"MIT"
] | permissive | yukpiz/purple-line | dfd947b72d6fc282faa7821f2ec832478bf96b47 | 9509845570ca183f3239afbdf36c0cfd5956021e | refs/heads/master | 2020-05-18T13:33:28.770884 | 2015-07-13T11:14:41 | 2015-07-13T11:14:41 | 38,249,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,530 | cpp | #include <time.h>
#include <debug.h>
#include "constants.hpp"
#include "poller.hpp"
#include "purpleline.hpp"
Poller::Poller(PurpleLine &parent)
: parent(parent)
{
client = boost::make_shared<ThriftClient>(parent.acct, parent.conn, LINE_POLL_PATH);
client->set_auto_reconnect(true);
}
Poller::~Poller() {... | [
"mvirkkunen@gmail.com"
] | mvirkkunen@gmail.com |
9e7d936d040b22d8bcb9a3310b64569f336e6ae9 | 9bf952de762c04c84ba1fc7f1499aa711d338364 | /hw3/hw3.cpp | eda2992d47c7cc70564576be0a3a352f7e3e3d77 | [] | no_license | Computational-Physics-Research/Computational-Physics-3 | 50447fc0c7c2d38915906fec538d7fa90a57714f | a2aba8b60d21ab3934986c1201aa4e688c07014f | refs/heads/master | 2021-12-11T06:45:39.236755 | 2016-10-31T04:12:24 | 2016-10-31T04:12:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,557 | cpp | /*
AEP 4380 HW #3
Dan Girshovich
2/14/13
Generates plot data and root info related to Bessel functions.
Compile with: g++ -std=c++0x -O2 -o gen_data hw3.cpp
Tested on OSX 10.8.2 with a Intel Core 2 Duo
*/
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <vector>
#include "nr3.h"
#include "bessel.h"
usin... | [
"dan.girsh@gmail.com"
] | dan.girsh@gmail.com |
3768e7c8dd1d47a882d7b8b67aa3e426951d4ea3 | e00047d43784e64cf31d15b0c3a6dd65ba771cb7 | /CTCI/1-Data-Structures/2-Linked-Lists/Gunjan/2-3-Delete-Middle-Node.cpp | 9a332a3bc80ab4e136f1723c828646a05a322ef4 | [] | no_license | swayamxd/noobmaster69 | e49510f7c02c5323c0ac78d76bad2f31124f3b72 | f549c365c4623e2ea17ca120d72c8488bfcfd8de | refs/heads/master | 2022-01-16T13:04:14.666901 | 2022-01-12T11:55:06 | 2022-01-12T11:55:06 | 199,595,424 | 3 | 2 | null | 2020-12-01T04:18:11 | 2019-07-30T07:07:52 | C++ | UTF-8 | C++ | false | false | 1,043 | cpp | #include<iostream>
using namespace std;
struct Node{
int data;
Node *next;
};
void display(Node* head){
while(head){
cout << head << "->" << head->data << " | ";
head = head->next;
}
cout << endl;
return;
}
// O(1) solution by swapping current with next element
void deleteMidd... | [
"gunjan.nandy1@gmail.com"
] | gunjan.nandy1@gmail.com |
bdeb48983ffc075d99714a8d4ff5351ab55f6f26 | 413080a6c649bb0679558fee60465a08f7ec06c6 | /alg_primer_classic/nowcoder/recursion/str_expression_eval.cc | fc6b5b31ab7efb2707ef622f8403644216a47ee0 | [] | no_license | wizzhangquan/algorithm | 5f1623fc1c6c3cceecac60b49c983aca93db26ee | fbe9bb101c1c4b5cced152870fea45fdab2ceba6 | refs/heads/master | 2021-01-17T19:10:18.828554 | 2017-05-31T12:52:08 | 2017-05-31T12:52:08 | 64,207,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,104 | cc | #include <iostream>
#include <string>
#include <deque>
#include <sstream>
/*
* 给定一个字符串str,str表示一个表达式,其中只可能有整数、加减乘除符号和
* 左右括号,返回公式的计算结果。
*
* 【举例】
* str="48*((70-65)-43)+8*1",返回-1816。
* str="3+1*4",返回7。
* str="3+(1*4)",返回7。
*
* 【说明】
* 1.可以认为给定的字符串一定是正确的表达式,即不需要对str做公式有效性检查。
* 2.如果是负数,就需要用括号括起来,比如"4*(-3)"。但如果... | [
"wizzhangquan@gmail.com"
] | wizzhangquan@gmail.com |
ee6d083b80b3c53472511c66628b6e026dd9595c | 81abd9c91edbf93595ed315873018e350aee4f2d | /fallout4_test/src/patches/CKF4/TESForm_CK.h | 275656ace012914f10914e43878afa5f1e74b933 | [] | no_license | mscheetham/Fallout4Test | eea0d132ae85f982c93bd04fc1d9e03a82b79738 | 0e47d80e353ddabe984e151b4464132aa8fabb64 | refs/heads/master | 2023-01-06T20:10:04.405516 | 2020-06-15T01:16:46 | 2020-06-15T01:16:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | h | #pragma once
#include "../TES/BSTArray.h"
class TESForm_CK
{
public:
using Array = BSTArray<TESForm_CK *>;
virtual ~TESForm_CK();
static TESForm_CK *GetFormByNumericID(uint32_t SearchID);
}; | [
"Nukem@outlook.com"
] | Nukem@outlook.com |
b99fb94a17eb616230b33fecddb80cf4155510af | 39f2053028f0e8abdd0f78fc11ae57d8c6f9b1f9 | /Assignment1/XMLTranscoder.h | 5be70a1de1f4f834d4ea8391a932a7ad3f86408e | [] | no_license | brl2002/SoftwareEngineering | 8126ae21adbcd4a20ccae5f22243ab1db2553312 | ea67236235b6ca1b332bd1caa7022165fcc531ea | refs/heads/master | 2020-04-08T13:28:41.130191 | 2014-04-14T13:31:14 | 2014-04-14T13:31:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | #include "tinyxml2.h"
#include "Animation.h"
#include <string>
#include <stdlib.h>
#include <assert.h>
#include <vector>
#ifndef XMLTRANSCODER_H
#define XMLTRANSCODER_H
class XMLTranscoder
{
public:
XMLTranscoder();
~XMLTranscoder();
XMLTranscoder(const XMLTranscoder& copy);
XMLTranscoder& operator=(const XMLTr... | [
"06leemin@gmail.com"
] | 06leemin@gmail.com |
0a8498d5e22e9b2e1f840a6d163b6093cb69f80c | 25cfeb9c97b05fbb024007efa16775a215a7f5d1 | /110-119/113/B/B.cpp | fb7d81d4991897735d9cbcd14dd72b1ed92dbf25 | [] | no_license | edamame8888/edamame-s_ABC | 626dde1b8f1ac61071cfe166cd6c08cc31371e72 | 41ce3164f20069f1e3a659a673350c76e36da04f | refs/heads/master | 2020-03-24T03:49:04.644221 | 2019-06-28T04:53:53 | 2019-06-28T04:53:53 | 142,433,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | #include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;}
int main(){
double n,t,a;
cin >> n;
cin >> t >> a;
double... | [
"edamame_8888@yahoo.com.jp"
] | edamame_8888@yahoo.com.jp |
1958e0768e351af879b2867186a5d6a0106672ef | d3b591f6293b187033b1e7fdcab480851eb49012 | /src/calc_parity_main.cpp | 949a36449706c1b673de997bb2b0bd8b7f5171cc | [
"MIT",
"FSFAP"
] | permissive | MSaito/dSFMTSearchParam | eb2a5a8d437753044975b1314aab5e032400c6ff | b0f5d02de7ff91a807f78fe79e9df1fd9c6e257a | refs/heads/master | 2020-04-30T13:39:14.409347 | 2019-03-24T02:23:42 | 2019-03-24T02:23:42 | 176,864,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,921 | cpp | #include "dSFMTsearch.hpp"
#include "Annihilate.h"
#include <errno.h>
#include <stdlib.h>
#include <getopt.h>
#include <errno.h>
#include <NTL/GF2X.h>
#include <NTL/GF2XFactoring.h>
#include <NTL/vector.h>
#include <MTToolBox/period.hpp>
#include <MTToolBox/AlgorithmReducibleRecursionSearch.hpp>
#include <MTToolBox/Alg... | [
"sutagiro@qanzoo.sakura.ne.jp"
] | sutagiro@qanzoo.sakura.ne.jp |
177705e9df6cb9e2f3bd27ede98eb407a7bf67cd | 9ca3af416c8c6cb6c7f3658bbfa0ec9062b8a593 | /Bit Magic/7. Reverse_the_bit.cpp | 1e8d3995b8a552e370e982a1e6e36dc6c7aa0182 | [] | no_license | parthgoyal123/GeeksForGeeks | 31940debe7de36aba11fe1d2f20a39cff74a5b80 | 17b0e464ab8474b52d5737fac446c407033b13bb | refs/heads/master | 2020-06-13T12:47:05.701558 | 2019-09-20T11:42:32 | 2019-09-20T11:42:32 | 194,659,113 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define md 1000000007
#define loop(i,a,b) for(int i=a; i<b; i++)
#define lloop(i,a,b) for (long long i=a; i<b; i++)
#define loopr(i, a, b) for(int i =a ; i>=b; i--)
#define iterate(it, v) for (auto it = v.begin(); it!= v.end(); it++)
#define mk make_p... | [
"goyal.parth99@gmail.com"
] | goyal.parth99@gmail.com |
134d4973086061dd78af10030822fe1b12bc997e | d86ae63a30b5dad9f277d089483a48d61c07188e | /E_Knapsack_2.cpp | ad14f03c20f807dfdcc1bd3c5eb11594ce3e1c3b | [] | no_license | pandaZGV2/Codeforces-Attempts | ff7fa5e3f95937763f9b09f68ac9dd5db7c9c708 | 12504cc128825a9b761bf7e048bbbbb7acb3db7b | refs/heads/main | 2023-03-12T02:02:14.206013 | 2021-03-06T08:58:07 | 2021-03-06T08:58:07 | 322,703,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,713 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long int ull;
typedef long int li;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define modint int(1e9 + 7)
#define mod 1e9 + 7
#define Inf (ll) I... | [
"aaronmonis22@gmail.com"
] | aaronmonis22@gmail.com |
ea7bea438c7754087a5ab362314b9d625f63dbb6 | 388711a996dc3d6eef7d44d14de156aeaf430522 | /src/plugins/simulator/physics_engines/pointmass3d/pointmass3d_quadrotor_model.cpp | 965db1291645c0339c68e3bf64693f6101b519af | [
"MIT"
] | permissive | hoelzl/argos3 | 36a926451170f596c51446cb99eea764019edf81 | 05e2b8a0a2a94139a0753ebfac4d4c51cdea8e1c | refs/heads/master | 2021-01-20T21:59:58.021026 | 2015-02-27T17:31:06 | 2015-02-27T17:31:06 | 8,182,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,781 | cpp | /**
* @file <argos3/plugins/rorotors/foot-rotor/simulator/pointmass3d_quadrotor_model.h>
*
* @author Carlo Pinciroli - <cpinciro@ulb.ac.be>
*/
#include "pointmass3d_quadrotor_model.h"
#include <argos3/core/utility/logging/argos_log.h>
#include <argos3/core/utility/math/cylinder.h>
#include <argos3/core/simulator/s... | [
"cpinciro@ulb.ac.be"
] | cpinciro@ulb.ac.be |
1b75a895a583778181436f621cb39fbe22285e32 | 028604ca92c1cd80aaf22e5a200b93a5632f44b9 | /IO/ARGUMENTS/argumentstring.cpp | 9d248cfed2107b389d5f41bb84f88d2975fcbc1e | [
"MIT"
] | permissive | gitter-badger/QC_Tools | cfbf6f019ea878fa9a7aab94e12f6f1eaf405dd4 | 5ce3ec665d5a11c93257309b016f5a5458709005 | refs/heads/master | 2020-03-21T13:49:24.733840 | 2018-06-21T00:21:08 | 2018-06-21T00:21:08 | 138,627,147 | 0 | 0 | MIT | 2018-06-25T17:19:51 | 2018-06-25T17:19:50 | null | UTF-8 | C++ | false | false | 503 | cpp |
#include "argumentstring.hpp"
#include "PROPERTIES/propertystring.hpp"
#include "PROPERTIES/propertystringchoice.hpp"
#include <iostream>
using namespace std;
ArgumentString::ArgumentString(void){
registerProperties_();
}
void ArgumentString::registerProperties_(void){
PropertyString * prop_string = new Propert... | [
"joshbro42867@yahoo.com"
] | joshbro42867@yahoo.com |
357edc098fd29e1e6a6fc55260048866f90e4443 | 11ee9273eb5e220551129bf34627dcc868101fe8 | /findAngle.h | 8f18735c5cefd80dbb1e127bf969fed8c1b9a763 | [] | no_license | jamesjylin/2D-Collision-Simulator | c49bb9c13e8a23d7ec5ec9244d6f93546041f66b | ad3d72412c390cdcdeca61e8ade9e7274aa19f3b | refs/heads/master | 2020-04-17T15:52:39.645248 | 2019-01-21T06:13:24 | 2019-01-21T06:13:24 | 166,717,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h |
#include <iostream>
#include <math.h>
float findAngle(float sx1, float sy1, float sx2, float sy2){ //this program takes 2 sets of coordinates
float y = sy2 - sy1; //delta y
float x = sx2 - sx1; //delta x
float angle = 0;
if (x == 0) { //if x = 0, atan doesn't work normally as denominator = 0. Hence, we mu... | [
"noreply@github.com"
] | noreply@github.com |
ce54591015eeabe56c22f22f58a1d39cf195e9a2 | 5dc0123b8ee938d5e9bceaa0986c469b267fd9b6 | /Chapter3/ex3_45.cc | f4809910e01d995dfa0e7e60adb9243b2adf850f | [] | no_license | RenzoWang/CPlusPlusPrimer.github.io | e40adbbd18eaf1b9b83ef2e32b6d966cbfb25719 | 6321bdf4e5054bf5570e92a765185f3d3241bdaf | refs/heads/master | 2023-05-09T22:39:55.618515 | 2021-05-31T14:17:59 | 2021-05-31T14:17:59 | 358,492,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cc | // use `auto`
#include <iostream>
using std::cout; using std::endl;
int main()
{
int arr[3][4] =
{
{ 0, 1, 2, 3 },
{ 4, 5, 6, 7 },
{ 8, 9, 10, 11 }
};
//range for block
for(auto &row : arr)
for(int col : row) cout << col <<" ";
cout<<endl;
// for loop
... | [
"wrzeternal@163.com"
] | wrzeternal@163.com |
16c4926947a645edd41ba9c794cf17e8d91d88b5 | 8d2c8dba71e4d94117e4f325d5ef4a09d7a0fc04 | /pmupIHM/pmupFirstPage/pmupSubjectsPage.h | 06a2b8a28ca692aef6ae4451a91bf14fbd2b8931 | [] | no_license | BusyCode/pmup | 89412101a1d643abb7d1c67a3f9ef4cb9be40628 | 85a1c3dcfac6a7192cf9cfa8d7c828e9d5272cff | refs/heads/master | 2020-12-26T04:55:43.268856 | 2016-03-19T15:13:01 | 2016-03-19T15:13:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | h | #ifndef PMUPSUBJECTSPAGE_H
#define PMUPSUBJECTSPAGE_H
#include <QWidget>
#include <QVBoxLayout>
#include <QLabel>
#include <QGridLayout>
#include <QPushButton>
class pmupSubjectsPage : public QWidget
{
Q_OBJECT
private:
QVBoxLayout *subjectsPageLayout;
QLabel *textAdvertisementLabel;
QLabel *subject... | [
"cheng.wang@siat.ac.cn"
] | cheng.wang@siat.ac.cn |
544ea2d5d1b10d8a47ed8a86d2a3c334af00c4c2 | 512d26f946a2251eae82409c77de69e6ec2ff2af | /BR/jni/application/high_scores.h | 9d6f1ca0272bb32ab628d23d8b8d482d49927f6a | [] | no_license | dlees/Balloon-Room | 7f741f0e06d5c38e72c061176b32fc5f03cff265 | eb0cc410e5c1586c92caf362e7c83a1d271ba00d | refs/heads/master | 2021-01-19T14:07:34.156400 | 2012-11-03T14:56:26 | 2012-11-03T14:56:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | h | #pragma once
#include <set>
#include <fstream>
typedef int Score_t;
void get_HS(std::multiset<Score_t> &high_scores, const char *path);
void save_HS(const std::multiset<Score_t> &hs, std::ofstream &fout);
| [
"dlees@umich.edu"
] | dlees@umich.edu |
5c1ef5acb445e9e16228b716c0f9abced3f73f34 | cbd0828085aef90573bcc156dd2896a072a31e19 | /src/qt/recentrequeststablemodel.cpp | 701d28527fb0430bf46722a8238644d43dfeef0b | [
"Apache-2.0",
"MIT"
] | permissive | cruzezy/newbitcoin | 77be346a907c4d7c73b628830c142b5be5f0e016 | 7767d558c5047e9f11e2e5eb9bf3f885a03adb08 | refs/heads/master | 2020-05-31T14:41:21.555143 | 2019-06-08T11:53:28 | 2019-06-08T11:53:28 | 190,334,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,355 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "recentrequeststablemodel.h"
#include "netgoldunits.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include "cl... | [
"20241460@qq.com"
] | 20241460@qq.com |
3da9a592b20c8b8e9fd4694c35e5049eccb8857d | bbed243e5f6e120b01d0294e2cb35a8208798922 | /Robots/Robots/Battlefield.h | 7f86f5a22ff56fb3bbdc57fdf8e89e10d8d30b1f | [] | no_license | yoki0805/graphics | bc1ac689fba1dbef8f16762040e96a5c6377e9d2 | aa4de0eb4515193d2c9ca8b74a29a860446a72ce | refs/heads/master | 2016-08-08T19:24:59.812707 | 2016-03-14T14:08:30 | 2016-03-14T14:08:30 | 53,849,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | #pragma once
#include <list>
#include <vector>
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/rotate_vector.hpp>
#include <gl/freeglut.h>
#include "GeneticAlgorithm.h"
#include "SceneRendering.h"
#include "AutoTurret.h"
#include "Font.h"
class Battlefield
{
private:
int mapHalfSize;
int nu... | [
"archi.crow@gmail.com"
] | archi.crow@gmail.com |
b5717eaa5c5bd87026d318ebc04ca046cc9a9f7f | 7c57845c70cfbcec740ed3dbafbdfb9b0b1bf92f | /torch/csrc/autograd/VariableTypeUtils.h | 1550783a3ecc87bc0f6bd0919d435895213fe76c | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Eng-Nazim/pytorch | a54e23eb80485d3b2cf2265b6fbbe0d5504f3bea | f1f7c16c9037b817f41d7b166d669aa226dc8220 | refs/heads/master | 2020-04-11T10:02:26.532025 | 2018-12-13T21:33:13 | 2018-12-13T21:39:56 | 161,700,795 | 2 | 0 | NOASSERTION | 2018-12-13T22:13:22 | 2018-12-13T22:13:22 | null | UTF-8 | C++ | false | false | 6,131 | h | #include <torch/csrc/autograd/generated/VariableType.h>
#include <torch/csrc/autograd/variable.h>
#include <torch/csrc/autograd/function.h>
#include <torch/csrc/autograd/edge.h>
#include <torch/csrc/autograd/grad_mode.h>
#include <torch/csrc/autograd/saved_variable.h>
#include <torch/csrc/autograd/generated/Functions.... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
4c51a42bc2b6634b522fe21b6abe9465d71836c7 | d50de60d19f8a1ca07c35247183af7c2f40b4463 | /lib/member_ref.h | ccc2640f2293c19a214763554c22c1253294972a | [
"BSD-3-Clause"
] | permissive | timmah/CoARCT | fc1ab2fc4407cc0cf17c81bdf81d2fda7fcdb2bc | 66fa50187c611583e193a4a357a4ccd0895978fa | refs/heads/clang-4.0 | 2021-01-20T08:54:11.992731 | 2017-05-03T23:02:09 | 2017-05-03T23:02:09 | 90,198,512 | 1 | 0 | null | 2017-05-03T22:25:44 | 2017-05-03T22:25:44 | null | UTF-8 | C++ | false | false | 3,616 | h | // member_ref.h
// Dec 06, 2016
// (c) Copyright 2016 LANSLLC, all rights reserved
#ifndef MEMBER_REF_H
#define MEMBER_REF_H
#include "dump_things.h"
#include "make_replacement.h"
#include "types.h"
#include "utilities.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#incl... | [
"tkelley@lanl.gov"
] | tkelley@lanl.gov |
bf4f6d1cdf6a92c4f0c324c5e5f7e3c48cb2d907 | 000a7af455ed3f5f534b28b18be0b5997ddbdefa | /TServer/TControlSvr/TControlSvr.cpp | deef1be3d1447f0e50c2a734fe27207fd463a12e | [] | no_license | boyfromhell/4Ever | 6f58182c07182f9569201dbc0f9116cc6644d296 | 8bd1d638f9ae23c3b97a56bd04f00061f39fbe61 | refs/heads/master | 2020-04-15T14:21:14.071423 | 2018-07-22T17:07:17 | 2018-07-22T17:07:17 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 48,359 | cpp | // TControlSvr.cpp : WinMain의 구현입니다.
#include "stdafx.h"
#include "TControlSvr.h"
#include "TControlSvrModule.h"
CTControlSvrModule _AtlModule;
//extern "C" int WINAPI _tWinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/,
// LPTSTR /*lpCmdLine*/, int nShowCmd)
//{
// ret... | [
"pierre.bouffier05@gmail.com"
] | pierre.bouffier05@gmail.com |
6b26a254b69eb1c161e89c328fc5f731ade49e17 | 42f67949274b91eb2b75fba7a012c40b8a73e9ec | /main.cpp | 3661686aab022f423370bae2474e8106cbfbf802 | [] | no_license | aw88/vulkan-glfw | e99384b34910f58e11acd56fbaee16ddda66f286 | b549cf45acda1994ea15d511e7e5cfca9bf0c650 | refs/heads/main | 2023-06-07T13:20:42.040959 | 2021-07-03T18:07:06 | 2021-07-03T18:07:06 | 382,389,973 | 0 | 0 | null | 2021-07-03T18:07:07 | 2021-07-02T15:35:17 | C++ | UTF-8 | C++ | false | false | 43,049 | cpp | #include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <iostream>
#include <optional>
#include <set>
#include <vector>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
const uint32_t SCREEN_WIDTH = 800;
const uint32_t SCREEN_HEIGHT = 480;
con... | [
"alex.w.walton@gmail.com"
] | alex.w.walton@gmail.com |
00d796ebcb24ec53e6af643da3b5c2dce93b64b5 | 4cba7d9500acbf3bb93d56c0f974a0150ebbcbba | /src/tracking.cpp | c3745e0951b28660f5e441fcd40833f30ff73973 | [] | no_license | Roger-Mei/KF_Demo | 343f035891064b9c91b73e82aae692a3fd96428d | 654bd4388fe13e5518def31a39320ba1bc84eff7 | refs/heads/main | 2023-03-31T07:00:47.240107 | 2021-03-22T21:02:04 | 2021-03-22T21:02:04 | 350,408,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,540 | cpp | #include "tracking.h"
#include <iostream>
#include <eigen3/Eigen/Dense>
#include <math.h>
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::cout;
using std::endl;
using std::vector;
Tracking::Tracking() {
is_initialized_ = false;
previous_timestamp_ = 0;
// create a 4D state vector, we don't know yet th... | [
"rogermei@umich.edu"
] | rogermei@umich.edu |
ee689a034c396053e94a72fe8937b6b026d680bd | ff104c7eb90b8177648e6bb6443a9538ebc0c48a | /libquic/src/base/threading/post_task_and_reply_impl.h | cf865bc93e8dbcc7f253378f644ae5e6412318f7 | [
"BSD-3-Clause"
] | permissive | renwotao/quic | 4a76a2e559379ca1a84461f0767e7eadf7bb4d1e | 59e5bf1afe0949e9698c3aecb8af378065678b62 | refs/heads/master | 2020-12-01T02:57:14.688110 | 2017-03-27T18:09:40 | 2017-03-27T18:09:40 | 85,148,484 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | h | // Copyright (c) 2011 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.
// This file contains the implementation shared by
// TaskRunner::PostTaskAndReply and WorkerPool::PostTaskAndReply.
#ifndef BASE_THREADING_PO... | [
"852443964@qq.com"
] | 852443964@qq.com |
b0d8efea027d675a3377c3fdb93bcbb331e13cb8 | 7e842cb1ce671d56e10132069b5bbe6709142529 | /src/ServingContext.h | 220208855fbe2b454a02279c4724f85af2634f3a | [] | no_license | surehb/MyTest | 3674b2dc2045b5560dd599d754cde89cd342bc75 | 392d1168f4e01017c7422761eb73f977d7d5c9ed | refs/heads/master | 2022-07-27T17:45:56.579224 | 2020-05-13T08:08:57 | 2020-05-13T08:08:57 | 263,217,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | #ifndef SERVINGCONTEXT_H
#define SERVINGCONTEXT_H
#include <atomic>
#include "MyTest.grpc.pb.h"
class ServingContext {
public:
static grpc::Status HelloWorld(const MyTestPB::HelloWorldRequest *pRequest,
MyTestPB::HelloWorldResponse *pResponse) {
pResponse->se... | [
"shuoch@microsoft.com"
] | shuoch@microsoft.com |
2a157c2d3db1ceed3066d3510d62903424ac7576 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/Frameworks/Droid/Base/Core/inc/preference/SeekBarPreference.h | 4cd19691a1687374cea9908c16fd926aafebe0c7 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 2,482 | h |
#ifndef __SEEKBARPREFERENCE_H__
#define __SEEKBARPREFERENCE_H__
#include "Preference.h"
using Elastos::Droid::Widget::ISeekBar;
using Elastos::Droid::Widget::ISeekBarOnSeekBarChangeListener;
namespace Elastos {
namespace Droid {
namespace Preference {
/**
* @hide
*/
class SeekBarPreference
: public Preferenc... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
2ab5d922fe0a8b80ef6a96198830a4af20409363 | cffc460605febc80e8bb7c417266bde1bd1988eb | /before2020/UVa_ACM/104 - Volume CIV/UVa 10499(1.0, Ad-hoc).cpp | 1433dea44c0124c1ded4c7268a7a5cc6a357c762 | [] | no_license | m80126colin/Judge | f79b2077f2bf67a3b176d073fcdf68a8583d5a2c | 56258ea977733e992b11f9e0cb74d630799ba274 | refs/heads/master | 2021-06-11T04:25:27.786735 | 2020-05-21T08:55:03 | 2020-05-21T08:55:03 | 19,424,030 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | /**
* @judge UVa
* @id 10499
* @tag 1.0, Ad-hoc
*/
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
long long n;
while (scanf("%lld", &n), n > 0)
printf("%lld%%\n", (n > 1) * n * 25);
} | [
"m80126colin@gmail.com"
] | m80126colin@gmail.com |
9bd7e0bc2e189ba5b324ae80465873d662ded0d0 | 0c1ec32ae285febb28c0aa481eb7b3bf81d25ad0 | /vine/src/EntityManager.cpp | 1528dec263f50eb16869f1fdeecee8af6abd5b5f | [] | no_license | rezaa91/vine | b0cd86fec3c60c35b0015fcc028f832eb29bb445 | b3a1fa30387c975656022aeab292d83480541c38 | refs/heads/master | 2022-11-30T08:13:24.099219 | 2020-08-13T19:25:02 | 2020-08-13T19:25:02 | 283,296,597 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | #include "EntityManager.h"
#include <iostream>
const std::vector<Vine::Entity*>& Vine::EntityManager::getEntities() const
{
return _entities;
}
bool Vine::EntityManager::hasEntities() const
{
return _entities.size() > 0;
}
void Vine::EntityManager::listEntities() const
{
for (auto& entity ... | [
"rezaa91@hotmail.co.uk"
] | rezaa91@hotmail.co.uk |
ec7ed7ae3cccc9131ca80cad73e617804b71db4c | 3590d45ec6566c44204c98af39b2b3b65edfd7a6 | /src/threadinterrupt.cpp | 35f3ffb63b0c90bfa2554a10e5273b5234e6e89c | [
"MIT"
] | permissive | californium252/californium252 | 5fd77b7816e94b132b29054741146cc4ecf38742 | 21425c0ffbd9fc31dedfd197901ce7063f1164e1 | refs/heads/master | 2023-02-15T23:55:43.399441 | 2021-01-16T16:58:50 | 2021-01-16T16:58:50 | 330,174,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Californium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <threadinterrupt.h>
#include <sync.h>
CThreadInterrupt::CThreadInt... | [
"overlord@DESKTOP-6D6I1IM.localdomain"
] | overlord@DESKTOP-6D6I1IM.localdomain |
52266dd14ef8c85435cabb9e53cfa483190a3670 | ba01b0723ac487cb303b1fbc526dee0245d83d09 | /Arduino/LightNode-ESP/Button.h | 273ebe6633cedfef866d3372d4130c1ca2b16a08 | [] | no_license | EricMiddleton1/LightNode-ESP-Arduino | 298ca52f4ac43776cb33e4924d7b7bccb99b66bb | 191579b8b88e4702320d456238dad5ae16c75e45 | refs/heads/master | 2021-10-08T17:05:50.804467 | 2018-12-15T07:00:19 | 2018-12-15T07:00:19 | 103,354,125 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | h | #pragma once
#include <Arduino.h>
class EffectManager;
class Button {
public:
Button(EffectManager& effectManager, const String& effect);
virtual ~Button();
virtual void run();
void toggle();
private:
EffectManager& effectManager_;
int effect_;
};
| [
"ericm@iastate.edu"
] | ericm@iastate.edu |
14f8a748dfa91c0c6d021463f71c72959b0d9c1d | 7c0e94dcd26b97bc79e007ccd6506df855a6869c | /ValueLabsAssignment/TChartfiles/bevelfilter.h | 7fa35113a5a3f2c85d2f35b880f44feb6f31bcb3 | [] | no_license | syedmobashir/SalesReportSample | 065f959e65c87bb1f67a9f9510911b738c30ee92 | 24c4561024cb6ffd984f69c4a0b9a47d5984f28d | refs/heads/master | 2020-06-06T14:15:00.574299 | 2019-06-19T17:25:37 | 2019-06-19T17:25:37 | 192,759,993 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 770 | h | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CBevelF... | [
"mobashir123@gmail.com"
] | mobashir123@gmail.com |
471bc47ed59395d327c3b70382ae11fcd210b442 | 02987503becabd24aa359d6ceabcb332ad8c6302 | /sgpp-1.1.0/datadriven/src/sgpp/datadriven/operation/hash/simple/OperationDensityRejectionSamplingLinear.cpp | 60668c7db295e115c77f992ba7faad53c6b7ef94 | [] | no_license | HappyTiger1/Sparse-Grids | a9c07527481ee28fe24abed6dad378ca9fc6d466 | 2832b262c1aeaa25312a3f7e48c5a67c90d183a5 | refs/heads/master | 2020-05-07T14:06:20.673900 | 2016-08-08T17:57:12 | 2016-08-08T17:57:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,625 | cpp | // Copyright (C) 2008-today The SG++ project
// This file is part of the SG++ project. For conditions of distribution and
// use, please see the copyright notice provided with SG++ or at
// sgpp.sparsegrids.org
#include <sgpp/datadriven/operation/hash/simple/OperationDensityRejectionSamplingLinear.hpp>
#include <sgpp/... | [
"alexander.atanasov@yale.edu"
] | alexander.atanasov@yale.edu |
61c0dd1167def2f49bf2d1c610c6f5cca20cd383 | 41b37482f054a05896974221e457226bb874a117 | /module-06/ex00/main.cpp | b401b08953210494b279e1678f35c20c93e7dc6a | [] | no_license | hekang42/cpp-modules | 6104ff9e7490b82d1d073c41b1c1862f61243876 | 7ed0d0092ec3b9ff4f4347f3c396ab40c3bcde5c | refs/heads/master | 2023-08-19T15:38:39.113445 | 2021-09-25T06:18:44 | 2021-09-25T06:18:44 | 404,001,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | cpp | #include <iostream>
#include <string>
#include <iomanip>
void to_char(char *&str)
{
try
{
int n = std::stoi(str);
if (isprint(n))
std::cout << "char: '" << (char)n << "'" << std::endl;
else
std::cout << "char: " << "Non displayable" << std::endl;
} catch (const std::exception& expn)
{
std::cout << "c... | [
"hekang@student.42seoul.kr"
] | hekang@student.42seoul.kr |
054ae2f6e721407c7cc2b95f7117e4bc79de7846 | 2e0cb5bd9a4d56de069d2343df0a0ebf9a880f7c | /source/NetworkCollection.cpp | 64eb69dac6f0b110109f77fe979f66cdde07fde9 | [] | no_license | LacobusVentura/MLM-Network | 3d796148d503aecf5c1dc4872780bfc20eb20604 | d24acb08af5a27b0bfd0249b611c62cc5824124c | refs/heads/master | 2021-01-20T18:30:16.417814 | 2017-05-11T00:18:24 | 2017-05-11T00:18:24 | 90,919,337 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | /*!
\file NetworkCollection.cpp
\brief Network Collection Object Implementation
\author Tiago Ventura (tiago.ventura@gmail.com)
*/
#include <vector>
#include "Exception.hpp"
#include "DebugLogger.hpp"
#include "Serializable.hpp"
#include "Network.hpp"
#include "NetworkCollection.hpp"
namespace MLM
{
NetworkColl... | [
"noreply@github.com"
] | noreply@github.com |
3aa0fbf0a859582484d4b3574896894923e4c060 | c1ff870879152fba2b54eddfb7591ec322eb3061 | /plugins/game/waterGame/BubbleManager.h | a81ba489b5aa8382678e76b83920896aa5c60ab8 | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 1,984 | h | /*MIT License
Copyright (c) 2018 MTA SZTAKI
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 without limitation the rights
to use, copy, modify, merge, publish, dist... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
38b9397594de89754a0ae097a397d826988215d5 | 65c555734a7b61bfb1dc8993188c7365a98aa6d7 | /Common/PublicUtility/CAAutoDisposer.h | 8072c52c314f271bd7aca62503707246bb624678 | [
"MIT"
] | permissive | eddyc/CsoundAU | 4636d9568a7faebfba8d4f4f01bdbd88bcca0988 | 5faa8f63d7222c5a8ca07e43992c61ccdbd227b3 | refs/heads/master | 2020-06-09T16:59:26.483241 | 2015-08-06T19:05:10 | 2015-08-06T19:05:10 | 39,026,385 | 8 | 2 | null | 2015-08-06T19:05:12 | 2015-07-13T17:17:49 | C++ | UTF-8 | C++ | false | false | 12,189 | h | /*
File: CAAutoDisposer.h
Abstract: Part of CoreAudio Utility Classes
Version: 1.0.1
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 Apple so... | [
"phasereset@gmail.com"
] | phasereset@gmail.com |
9fcf9c05a09759ce9308e93d3b542f5f03806a25 | 8558b2d50d4ee4aadf158b3f25c6d715919ebd6a | /avprg/drumstick/Debug/moc_midiinput.cpp | 12c2d90ebe21705931824cd8669bffb35c0d22aa | [] | no_license | marvsGit/AVPRG_Sequencer | 71a581e78c20a24a9f9a50090058cef62587f5c9 | 236aff158bdf93dd159f9fa7a3a35b3eafa5f148 | refs/heads/master | 2021-05-30T16:52:59.349193 | 2016-01-11T21:02:59 | 2016-01-11T21:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,316 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'midiinput.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
***********************************************************... | [
"timlukas.doering@haw-hamburg.de"
] | timlukas.doering@haw-hamburg.de |
7b473b89fce62153f1a73dc8bcffe4f0777697ab | 910b708f965e576019ccd7ab8313864796a5f65b | /tools/toolchain-gccarmnoneeabi/arm-none-eabi/include/c++/5.4.1/ext/pb_ds/detail/cc_hash_table_map_/entry_list_fn_imps.hpp | 44acfce7b135250c51dcf596f1886636803577cb | [
"MIT"
] | permissive | dakejahl/TeensyFlight36 | f569a5936c9a056f828b126b20268b85492195d5 | da334100eaa42f82bf7f83f14bf5042397433ebd | refs/heads/develop | 2020-07-05T09:38:12.634386 | 2019-09-24T00:52:59 | 2019-09-24T01:11:21 | 202,611,114 | 26 | 5 | MIT | 2019-09-01T08:05:27 | 2019-08-15T21:02:43 | C++ | UTF-8 | C++ | false | false | 2,954 | hpp | // -*- C++ -*-
// Copyright (C) 2005-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Software
// Foundation; either version 3... | [
"dahl.jakejacob@gmail.com"
] | dahl.jakejacob@gmail.com |
eee0a0a78aaae8cb783b02e010002861e477924f | 688a51f4072cc7816ab1beba6252f037cff1bf55 | /Overload/SSSObjectTool/Include/ClientComponent/LetterBox.cpp | 850af1f5b0140f11fe9269179832e6bbab7e1dd6 | [] | no_license | wognl0439/D3D_Overload | f0c19c2c7a4ab2c950d3a97adb6195738c67280a | 7af41388591f2f60aa124d215084c72e9797eb86 | refs/heads/master | 2023-07-17T17:29:25.754980 | 2021-09-01T10:07:27 | 2021-09-01T10:07:27 | 401,966,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,798 | cpp | #include "LetterBox.h"
#include "Transform.h"
#include "Component/SpriteRenderer.h"
#include "Core.h"
#include "Device.h"
#include "Layer.h"
#include "Scene.h"
#include "Material.h"
CLetterBox::CLetterBox() :
pBlackBoad_High(NULL),
pBlackBoad_Low(NULL),
bVisible(false),
fVisibleTime(0.f),
bStart(false)
{
}
CLett... | [
"wognl0439@gmail.com"
] | wognl0439@gmail.com |
3a23fa5857289351e126252882d03c59c3ad3e71 | e0f08f8cc9f0547a55b2263bd8b9ee17dcb6ed8c | /CODEFORCES/474B.cpp | 753e9ecf0fee751a6d4b97e6497208c3b1e77c35 | [
"MIT"
] | permissive | aqfaridi/Competitve-Programming-Codes | 437756101f45d431e4b4a14f4d461e407a7df1e9 | d055de2f42d3d6bc36e03e67804a1dd6b212241f | refs/heads/master | 2021-01-10T13:56:04.424041 | 2016-02-15T08:03:51 | 2016-02-15T08:03:51 | 51,711,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include <iomanip>
#include <cmath>
#include <set>
#include <map>
#include <queue>
#include <climits>
#include <cassert>
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
#define pb ... | [
"aqfaridi@gmail.com"
] | aqfaridi@gmail.com |
db05d581ae9e6530d6da5fab024d34e31081e729 | ea9f636f2516fc97b44ed0736dace3512760570f | /Filtering/ByBrand/ByBrand/backup.cpp | bd568821abc70cb0f99fa0b785b2f1c0d3495b0b | [] | no_license | israelfloresdga/Wintempla-Information-System | da4942791c9fb4e1c088b58737e6d35e728e0f80 | ba94f4a9e0218efb8bde6d5dc943aac67dedb4cf | refs/heads/master | 2021-01-10T10:19:57.415860 | 2016-04-21T06:02:44 | 2016-04-21T06:02:44 | 36,786,208 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp | #include "stdafx.h" //________________________________________ ByBrand.cpp
#include "ByBrand.h"
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE , LPTSTR cmdLine, int cmdShow){
ByBrand app;
return app.BeginDialog(IDI_BYBRAND, hInstance);
}
void ByBrand::Window_Open(Win::Event& e)
{
//_________________________... | [
"israel0104@gmail.com"
] | israel0104@gmail.com |
deaf7b101e4e0631317363a78b522fbceacfcb06 | 3ab2a005c86919319557245c780e095d01ce0a2a | /Implementacion/movimientos.h | 2953d1715647c4b5e9f4e12ffca7f494d638e555 | [] | no_license | adrianpabloguerrero/THE-TOWER-OF-HANOI | f46a66223a301aa4864b0285ce15076d2a707be9 | 44055e7dc33fe7aa97152007ba8103ea2db5debf | refs/heads/master | 2020-03-31T11:28:49.392670 | 2018-10-09T02:55:55 | 2018-10-09T02:55:55 | 152,178,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | /* CLASE DEFINIDA PARA LA INSERCION DE ELEMENTOS
* EN LA LISTA */
#ifndef MOVIMIENTOS_H
#define MOVIMIENTOS_H
#include <pila.h>
class Movimientos
{
public:
Movimientos();
void AsignarOrigen(Pila<int>*OrigenA);
void AsignarDestino (Pila<int>*DestinoA);
void AsignarNumero (int NumeroDiscoA);
Pila ... | [
"adrianpabloguerrero@gmail.com"
] | adrianpabloguerrero@gmail.com |
50189a80c242ef6028fb19fc8a9e9322619a5ad8 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /foas/include/alibabacloud/foas/model/UpdateProjectConfigRequest.h | 8ff9f26e08055f335cc2db4e7758f02d4a7686fd | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,466 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
094934003d7d9f1c8dacd15fef47233983325a08 | 7f7f57ea6a716e82298f2eb1dcfb741b1842122f | /LD43/Door.h | 6123983cfc3572af8acf40f27353fc4c5a3280a5 | [] | no_license | sysfce2/SFML_Ludum-Dare-43.ben-humphries | ede368b7ade1983e53b6b32499ead3c564ab69a7 | 8d1dfd7d6e457dfce705dd36fd58001af025a0cd | refs/heads/master | 2023-03-17T12:09:24.193005 | 2018-12-02T01:24:55 | 2018-12-02T01:24:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | h | #pragma once
#include "InteractingGameObject.h"
#ifndef DOOR_H
#define DOOR_H
class Door :
public InteractingGameObject
{
public:
Door(std::string tag);
~Door();
sf::Texture texture;
bool interactWithPlayer();
void open();
void update(float dt);
bool isOpen = false;
Animation * openAnimation;
Animation... | [
"ben_humphries@caryacademy.org"
] | ben_humphries@caryacademy.org |
d1567a3ab5bc84052366163970b4e95b9da29a9a | 46add70116ce28c9111e1af1f0b57d0a8d374909 | /projects/groupSave.cc | 2f908fe4bd4447f131b8461e1116dd5b68c90e36 | [] | no_license | jeche/Algorithms | 32b4763e42b5d22bfba277dc0773cac737f28319 | 249013c195cde6622f315195f363a5744f7e5057 | refs/heads/master | 2021-01-20T16:30:46.355688 | 2014-01-23T15:19:58 | 2014-01-23T15:19:58 | 16,175,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,262 | cc | #include "group.h"
#include <iostream>
#include <fstream>
using namespace std;
/**JESSICA CHEN
* Constructor when passed the const
*/
GroupOfNumbers::GroupOfNumbers(long defaultLimit):
_LIMIT(defaultLimit), _total(0){
if(defaultLimit < default_LIMIT){
_LIMIT = default_LIMIT;
} //end if
try{
_... | [
"jlchen@email.wm.edu"
] | jlchen@email.wm.edu |
88442309c513824f4a9c57df50806ae83d6c039e | 09a73ad1a3c69ea61db7a07a1adc137b790a78b9 | /test.cpp | bd8d6cbe16a661668b8fc124bf4c8d969a287792 | [] | no_license | gaoye0302/hello | 550f16a7c2178ed26fc93e57bc1587b6b155b4df | a56aa7047259451450991926428c80318a8ff1e0 | refs/heads/master | 2021-01-02T22:34:15.106948 | 2017-08-04T13:36:50 | 2017-08-04T13:36:50 | 99,342,423 | 0 | 0 | null | 2017-08-04T13:36:50 | 2017-08-04T12:51:11 | C++ | UTF-8 | C++ | false | false | 101 | cpp | #include <iostram>
using namespce std;
int main ()
{
cout<<"hello"<<endl;
return 0;
23333333
}
| [
"noreply@github.com"
] | noreply@github.com |
3d01e112904cd6fd00b273ac80a31e1e74c7d55c | c45272f53ee681a6f7a928662e5b0870f7c13295 | /Source/Core/Graphics/Shader.hpp | 1e01d08362cdba303c4d00026a2e060e46be9f7c | [] | no_license | sravankaruturi/kodi-windows | 123faa06380dd50b38859033bf5a75dbe98d45ac | 7d774d67444d3d8f827a2a567396e7c30d2fc03d | refs/heads/master | 2020-03-07T19:12:49.970210 | 2018-04-16T22:56:15 | 2018-04-16T22:56:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,333 | hpp | //
// Shader.hpp
// Kodi
//
// Created by Sravan Karuturi on 03-04-18.
// Copyright © 2018 Sravan Karuturi. All rights reserved.
//
#pragma once
#ifndef GLEW_STATIC
#define GLEW_STATIC
#include <GL/glew.h>
#endif
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <glm/matrix.hp... | [
"Sravan Karuturi@Home"
] | Sravan Karuturi@Home |
12dde35d28e693c0d21a0e90e0da64c95b30e95f | 6118beee7f0af648d630000d830a3d239565d4ed | /src/qt/guiutil.cpp | a1541e3b00520a7d14e75fe5affb73621bc343a3 | [
"MIT"
] | permissive | LightBurdenOfficial/tohelpcoin | 974b9195172d12ce2b89e2372a93cce022856819 | f0f8972c46f0c61186f5e43e2670a50cbf4915b6 | refs/heads/master | 2023-08-27T08:34:30.764194 | 2021-09-28T13:46:33 | 2021-09-28T13:46:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,364 | cpp | #include <QApplication>
#include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "util.h"
#include "init.h"
#include <QDateTime>
#include <QDoubleValidator>
#include <QFont>
#include <QLineEdit>
#include <QUrl>
#include <QTextDocument> // For Qt::escape
#... | [
"32315718+DigitalCoin1@users.noreply.github.com"
] | 32315718+DigitalCoin1@users.noreply.github.com |
11a31e4c23126612644c255694056c251e22fdeb | b7b2926227d88eaa382c800e5f47eafc4bacd0ba | /metersToFeet.h | a68d7d8e40ae2f1c8427fbb617f8e560af424ace | [] | no_license | dmccoystephenson/Meters-To-Feet | 8866f28fb4e104e0190e6a3a8196aae594b31b56 | ea44296e5b766818c737ca212342f0e8550cae08 | refs/heads/master | 2020-12-22T19:57:25.475028 | 2020-01-29T06:31:02 | 2020-01-29T06:31:02 | 236,915,400 | 0 | 0 | null | 2020-01-29T06:31:03 | 2020-01-29T06:05:59 | C++ | UTF-8 | C++ | false | false | 468 | h | #include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include <iostream>
#include <string>
#include "Text.h"
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
SDL_Window* gWindow = NULL;
SDL_Renderer* gRenderer = NULL;
TTF_Font* gFont = NULL;
// text
Text prompt;
Text input;
... | [
"noreply@github.com"
] | noreply@github.com |
6fd68323ad5ce323c67220dde43e4e18edf95b9d | aaaeee615ea2216dc85d939585e6a3e5ccbbf351 | /source/utils/CarlaLibCounter.hpp | 49c27fa70e25b022c950c5beab91d6e9f3a9f8ba | [] | no_license | xuanvu/Carla | 6bbc405dfcc54625c960775be14d33f2d787c1de | d3d15471faea0a5cc28dce6bb3db224ac8de1803 | refs/heads/master | 2021-01-17T06:26:37.561337 | 2014-07-26T11:36:51 | 2014-07-26T11:36:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,554 | hpp | /*
* Carla library counter
* Copyright (C) 2013-2014 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or any later ve... | [
"falktx@gmail.com"
] | falktx@gmail.com |
d027d86b1e70705d8f01734d80b20d6c40182197 | 525151cb13ebdf025be7df3cd3d838ee6cd91cdb | /include/init.h | f72a9bf397520b1d70d048c01d122d4d1d1985ce | [] | no_license | marsaud/oqdisplay | f7c9d11725134df21fa31ff84fbdb44d66e221b0 | f0826035d9bff69d5ac790e0927f6578126188bc | refs/heads/master | 2020-04-05T10:27:13.836493 | 2014-12-22T22:11:10 | 2014-12-22T22:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | #ifndef INIT_H_INCLUDED
#define INIT_H_INCLUDED
#include <iostream>
#include <string>
#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
int initVideo(int screenWidth, int screenHeight, std::string const& fontPath, int fontSize, SDL_Surface* & screen, TTF_Font* & font);
void quitVideo(SDL_Surface* screen, TTF_Font* font... | [
"marsaud.fabrice@neuf.fr"
] | marsaud.fabrice@neuf.fr |
58d584807b7299af52046406a6906c8eccab4102 | 9b7713da1bf8b57c6a5921b35c44cadadca057e6 | /MonitorSwitch/LogWnd.cpp | 4e47b5a6948692ca9e05d63fa69fbaef3d5b1132 | [] | no_license | tcsjzdnlh/TryQt5.4VersionOne | e829f057315119e6914c58ea889524735c06e20a | 02575721c9629b33d3c6e53e1f13caf1e7f16d72 | refs/heads/master | 2021-01-10T02:55:20.621671 | 2016-04-04T15:25:25 | 2016-04-04T15:25:25 | 55,422,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | #include "LogWnd.h"
#include <Windows.h>
#include <Physicalmonitorenumerationapi.h>
#pragma comment(lib, "user32.lib")
BOOL CALLBACK XfsMonitorEnumProc(
HMONITOR hMonitor,
HDC hdcMonitor,
LPRECT lprcMonitor,
LPARAM dwData
)
{
DWORD num = 0;
if( GetNumberOfPhysicalMo... | [
"fybh2015tx27@qq.com"
] | fybh2015tx27@qq.com |
01920fd16a8ef55bf44d5c331b34f74bd1466479 | 4bcb82009b11d6c6e05d9e0411fb7d98281d9693 | /include/Npe/System/Diagnostics/Log.hpp | 54674973401f1c7775a1da275a321aae77a87f20 | [] | no_license | tivtag/nperplex | 56f49caee6bf5c1f605742b758a8b7d57aedd42b | c77f9612ca547632aa6b658a02fac076394b5643 | refs/heads/master | 2016-09-05T08:53:38.731663 | 2012-06-19T22:11:10 | 2012-06-19T22:11:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,307 | hpp | #pragma once
#include <sstream>
#include <vector>
#include <boost/noncopyable.hpp>
#include <boost/current_function.hpp>
#include <Npe/System/Pointer.hpp>
#include <Npe/System/ToString.hpp>
#include "ILogListener.hpp"
namespace npe
{
/*
Func: add_log_listener
Tells the given <ILogListener> to liste... | [
"tick@federrot.at"
] | tick@federrot.at |
a7611b34e4d50efa3c4f100fc7389efe778e3385 | c1d89ce276ccf3d2eeba4ab64d4dc2b049fbac85 | /rdf3x/src/rts/Selection.cpp | 3a8634759d4394fda982c45d3b83dafdd406ecc5 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | jrbn/trident | c2720988411761d3986039c52a93cc869d04b7b1 | e56a4977054eea01cb3f716db92bde5d6a49bfb7 | refs/heads/master | 2021-01-13T03:58:39.973847 | 2017-11-12T19:23:03 | 2017-11-12T19:23:03 | 78,136,282 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,612 | cpp | #include "rts/operator/Selection.hpp"
#include "rts/operator/PlanPrinter.hpp"
#include "rts/operator/ResultsPrinter.hpp"
#include "rts/runtime/Runtime.hpp"
#include "cts/codegen/CodeGen.hpp"
#include "cts/plangen/PlanGen.hpp"
//#include "rts/segment/DictionarySegment.hpp"
#include <sstream>
#include <cassert>
#include ... | [
"jacopo@cs.vu.nl"
] | jacopo@cs.vu.nl |
63db31a518425561a3013bb70db90196fbf5a304 | f69952838dce315744191abea3232e80c4da309f | /spaceAdventure/src/Game.cpp | 17e33db2a8315df5a9eaf4cf99cf111134ad9571 | [] | no_license | krolitzer/space-journey | 5f9ad6e21a60d9dcf1da756b8dccb8dba21face4 | 738d9420bd4b27c17807502fb95af449d3b8eec0 | refs/heads/master | 2021-01-17T20:37:37.991908 | 2014-04-06T17:39:46 | 2014-04-06T17:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | /*
* Game.cpp
*
* Created on: Apr 6, 2014
* Author: user
*/
#include "Game.h"
Game::Game() {
// TODO Auto-generated constructor stub
}
Game::~Game() {
// TODO Auto-generated destructor stub
}
| [
"cdcostello@colorado.edu"
] | cdcostello@colorado.edu |
c7e6f7e3e96d8f65e69103d0df6799f5b83bf081 | 07c595ae5f74787a637f4ad28820047d8bcc854e | /src/Vertex.cpp | d24f66ce21aadba95166f9f11e4c15fab654443e | [] | no_license | mehoggan/Scorch3dEarth | 95ccc543793fb5668c7426d75c64203d544972de | 9dd9cef88dcfeb27814315c324e7814fe54bec1c | refs/heads/master | 2020-12-24T17:17:18.618322 | 2014-01-18T02:18:10 | 2014-01-18T02:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include "Vertex.h"
#include "macro_crtdbg.h"
Vertex::Vertex(){
}
Vertex::Vertex(GLfloat x, GLfloat y, GLfloat z){
this->coordX = x;
this->coordY = y;
this->coordZ = z;
}
Vertex::~Vertex(){
} | [
"mehoggan@gmail.com"
] | mehoggan@gmail.com |
d31439f8199aeebb454248910952aa1f7479e376 | 258d9398eb5168f897deb9297349a58d580b999b | /old/train.usaco.org/USACO Training/Submit a solution:/main.cc | 7c9c6da226a5ee308175100d6e4e6818632e3fcf | [] | no_license | psucodervn/oj | 6bf63ee854e6a53ba075a5d7cebfaf521f794f97 | 4f6a48c29631b737db22a26aecc7787e45941d5a | refs/heads/master | 2020-03-18T05:44:25.772353 | 2018-06-14T12:43:04 | 2018-06-14T12:43:04 | 134,359,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | cc |
/*
Task: Submit a solution:
Link: http://train.usaco.org/usacoprob2?a=kM4tl5pUOjq&S=gift1
*/
#include <bits/stdc++.h>
using namespace std;
void err(istream_iterator<string> it) { cerr << endl; }
template<typename T, typename... Args> void err(istream_iterator<string> it, T a, Args... args) { cerr << *it << " = " ... | [
"hunglm@vzota.com.vn"
] | hunglm@vzota.com.vn |
ca41e5636ddea592941fcaa88f8b67aa9b5f1a99 | 7ec9222114fee1574a1841e2250ce16b03b0bf72 | /CF493/B.cpp | 659e33aced91a16612fd4102cd8f89f7826d6868 | [] | no_license | AKarunakaran/CodeForces | 8d9d02aa814acca0c41f2d401e2cc84fcaa46610 | fcd19a9734ec002d23f34378e25ee45b305950ae | refs/heads/master | 2022-11-09T04:15:13.041820 | 2020-06-25T20:06:28 | 2020-06-25T20:06:28 | 104,012,824 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | cpp | #include <iostream>
#include <iomanip>
#include <sstream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <cctype>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <algorithm>
#include <cstdio>
#include <functional>
#include <num... | [
"amankarunakaran@Amans-MBP.home"
] | amankarunakaran@Amans-MBP.home |
4c3b6fb152d338112870c6bb84319667d5e06cc1 | be405dd6078a431c993e06bce056ffd0758e5b25 | /includes/eOperation.hpp | 3d2873a0d299d7b129b2188d0ccac6e25ef6704a | [] | no_license | AlexLazarev/Abstract-VM | 54754783f56821174ed238053100212a56607991 | ffb8cc9f0825a76213b8ea56cd4dfaa2e4075c02 | refs/heads/master | 2020-04-07T21:34:14.859935 | 2018-11-22T17:31:36 | 2018-11-22T17:31:36 | 158,732,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | hpp | //
// Created by Alex LAZAREV on 8/12/18.
//
#ifndef VM_EOPERATION_HPP
#define VM_EOPERATION_HPP
enum eOperation { Push, Pop, Dump, Assert, Add, Sub, Mul, Div, Mod, Pow, Min, Max, Size, Print, Clear, Exit };
#endif //VM_EOPERATION_HPP
| [
"alazarev@e3r5p2.unit.ua"
] | alazarev@e3r5p2.unit.ua |
8a1da9a6a4cf6eb3000505f694fbdbd44a5a95ee | cdd6500598b1d41d0652b7442e70ad465573655f | /Leetcode/AprilChallange/Day2/solution.cpp | 1f6ece9d8db2bd934a131743ccadc5a757824f5b | [] | no_license | svaderia/Competitive-Coding | c491ad12d95eded97fb6287f5c16a5320f3574a7 | f42eb61c880c3c04e71e20eb0a0f1258e81629b1 | refs/heads/master | 2021-06-26T10:36:54.581095 | 2021-01-05T21:00:17 | 2021-01-05T21:00:17 | 185,184,785 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | cpp | #define rep(i, n) for(int i = 0; i < (n); ++i)
class Solution {
int first = true;
int dp[811];
bool visited[811];
private:
int recur(int t){
// cout << t << endl;
if(dp[t] == -1){
if(visited[t]){
dp[t] = 0;
}else{
int t2 = ... | [
"vaderiashyamal@gmail.com"
] | vaderiashyamal@gmail.com |
6740c40507b96ae58af0d750dd78ff08c86c26aa | 3ec3489ce7e1bd668ed85af1e254efc9cd13b2d3 | /2-algorithms/06-lab-flow/src/E.2/decomposition.cpp | 238316bd4cea6a117b65f87815e0e538a3345b2e | [] | no_license | andrey-komarov/labs | 3142724f06b31ba2d21ab42e42cf3f27d1989578 | 63ae3180ffb987985bde09bf77213e6f45d1341f | refs/heads/master | 2021-01-10T20:48:10.816184 | 2013-05-22T10:44:57 | 2013-05-22T10:44:57 | 4,024,729 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,525 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <queue>
#include <limits>
#include <algorithm>
using namespace std;
static const long long INF = 2000000000;
struct edge
{
int from, to;
long long c, f;
edge* rev;
int id;
edge(int from, int to, long long c, long long f, int id) :
from(from),... | [
"taukus@gmail.com"
] | taukus@gmail.com |
26b08cd421903de3c5c2cfde8fc36212547918c0 | aa6e3e638aa0c6aca22fcae192d017af7b72726c | /roborobo3/include/core/Utilities/ExtendedProperties.h | 60e2cea2efef8c47588fdde368eb7ccd8575e74a | [] | no_license | dtbinh/roborobo3 | 79fd3918ea6a1297000c351b32043e8492246de1 | 7cfe56545f94799a7af55eb2b1e5256615249cd3 | refs/heads/master | 2021-01-15T09:14:21.243349 | 2016-02-09T15:09:56 | 2016-02-09T15:09:56 | 56,166,073 | 1 | 0 | null | 2016-04-13T15:57:53 | 2016-04-13T15:57:53 | null | UTF-8 | C++ | false | false | 724 | h |
#ifndef EXTENDED_PROPERTIES_H
#define EXTENDED_PROPERTIES_H
//#include <iostream>
//#include <map>
//#include <vector>
//#include <string>
#include <zsu/Properties.h>
using namespace zsu;
class ExtendedProperties : public Properties {
public:
ExtendedProperties();
// check and get property. Critical erro... | [
"nicolas.bredeche@upmc.fr"
] | nicolas.bredeche@upmc.fr |
f3839240d70e12d81d1f30f3a8dd758d2002cffe | 069ae2b98061dc48c381748387ac6c6606d059f3 | /main.cpp | b8ab38968334cfb2bf0ee928e06673fe8ca8b457 | [] | no_license | Natalia0311/Punto1 | 8c31b9e8931af2e6ebd8a066c4de138e661de7b9 | ba876683b8ded37f75e550eab3a155e9d1e77d88 | refs/heads/master | 2021-04-19T13:05:16.129603 | 2020-03-24T03:45:41 | 2020-03-24T03:45:41 | 249,606,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,540 | cpp | #include <iostream>
#include "Circulo.h"
#include "Cuadrado.h"
#include "Triangulo.h"
#include "Pentagono.h"
#include <vector>
using namespace std;
int main(int argc, char *argv[])
{
vector<Geometrica*> Data;
int fig = 0;
float r=0, l=0, b=0, h=0, x=0, y=0;
char Acep;
Acep= 's';
Geometrica* g=... | [
"noreply@github.com"
] | noreply@github.com |
69c80cab0fce08e975ea35959c1c53bfe8753d53 | c7a28a72e12c593ac50bc38aad8438d920f0fb9e | /ledtots/ledtots.ino | 28a08cad3ae71508685f7aef4b644de00cb62747 | [] | no_license | jcastella/arduino | 84000bd11cf571507476a4c45bdb5c17b6171f05 | ffc0c77dd979235a0a3005ae090fd7a50086ce62 | refs/heads/master | 2021-01-11T04:57:28.834735 | 2016-02-02T18:28:48 | 2016-02-02T18:28:48 | 25,735,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | ino | /*****************************************************
** leds tots
** encen 8 leds
*****************************************************/
// ********* Includes *******
// ********* Variables *******
const int led0 =6;
const int led1 = 7;
const int led2= 8;
const int led3= 9;
const int led4= 10;
con... | [
"jcastella@iesmigmon.org"
] | jcastella@iesmigmon.org |
05f01113c59b0031d8f2b22e1cca2cedf0333dea | 5545162111584724880cdad0607b0f6e1f6f008f | /Tree Transformation.cpp | be85348df5b6a3b6114a4ee4b77cecc9094d5fe8 | [] | no_license | r06921037zwh/2017-FALL-Data-Structure-and-Algorithms | 127659c660e499bf26d06b9c125d7c78f87c4af1 | b24c89a0b70d0ef0a68fbe8b99624be38d4b480f | refs/heads/master | 2020-03-20T18:21:34.921136 | 2018-06-16T14:02:32 | 2018-06-16T14:02:32 | 137,584,441 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 3,739 | cpp | #include <iostream>
#include <algorithm>
#include <cmath>
#include <unordered_map>
#include <vector>
#include <string>
#include <queue>
using namespace std;
class GeneralTree;
class TreeNode {
public:
int ID;
int pos;
TreeNode *parent;
vector<TreeNode*> children;
TreeNode() :parent(0), ID(0) {};
... | [
"zhewei@DESKTOP-R6OQAT8.localdomain"
] | zhewei@DESKTOP-R6OQAT8.localdomain |
2f852a3a7cc91f53d469554d4019b5a99efe66ce | 907f33a9223356c626f851da91e6b873e88bd7f8 | /070_Climbing Stairs.cpp | 4f6a0fdf1a64684d91674f2cdbb2c73a45a965bc | [] | no_license | wei-han/LeetCode | fb371722886b248f96fb42941f8f731f7b6e1175 | 39c3433061dc49a52fce7ca189dbf214e96f3a75 | refs/heads/master | 2023-08-30T10:03:52.313495 | 2023-08-30T00:42:38 | 2023-08-30T00:42:38 | 91,193,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | class Solution {
public:
int climbStairs(int n) {
int num1 = 1, num2 = 2, num3;
if(n == 1) return 1;
if(n == 2) return 2;
while(n > 2)
{
num3 = num2 + num1;
num1 = num2;
num2 = num3;
n--;
}
return num3;
... | [
"noreply@github.com"
] | noreply@github.com |
7dcf48527a3d0044b70f49fd9f5a5268e2046938 | 4793f8cb4eba50278351ae5c0a5451ddf7fd8d85 | /src/GameObject/AnimatedGraphic.h | 2c3a360e522369363227d4333965aa0a5b4692a4 | [] | no_license | beer119/simpleStuff | f438814b96bd02c161cfccebd7fd43f7f35c0a6c | df71bab6afa6d4eb53c946b60470f7722a526de5 | refs/heads/master | 2021-05-13T13:47:17.834584 | 2018-01-25T19:04:18 | 2018-01-25T19:04:18 | 116,718,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | h | /*
* AnimatedGraphic.h
*
* Created on: Jan 20, 2018
* Author: beer
*/
#ifndef ANIMATEDGRAPHIC_H_
#define ANIMATEDGRAPHIC_H_
#include "SDLGameObject.h"
class AnimatedGraphic : public SDLGameObject // inherit from GameObject
{
public:
AnimatedGraphic(const LoaderParams* pParams,int m_animSpeed);
virtua... | [
"you@example.com"
] | you@example.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.