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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f740e8375fc8e55e1df3777f4de7523685229e8a | bbda96dcd01a672891d0b4adf2ff9ff872f78e28 | /ios/chrome/browser/sync/profile_sync_service_factory.cc | 8d2d3b125b2966db7bd2d6112b9f952abf08e8cd | [
"BSD-3-Clause"
] | permissive | burgessmsl2018/chromium | 5abf66b366a593379c992701741025552a25f10b | a5ebaa53ec06ad256b4b0367e9c50da75b41267a | refs/heads/master | 2023-03-05T04:26:49.401470 | 2019-07-25T17:03:53 | 2019-07-25T17:03:53 | 150,258,425 | 0 | 0 | null | 2018-09-25T12:01:25 | 2018-09-25T12:01:24 | null | UTF-8 | C++ | false | false | 6,883 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/chrome/browser/sync/profile_sync_service_factory.h"
#include <utility>
#include "base/memory/singleton.h"
#include "base/task/post_task.h"... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
fc9f36bfd45ba42d1c05ab14e58b903ba42dee62 | 4d160fabaa20c86c72df956053757e8a6e62fb18 | /def-angle-calc-module/src/def-picture-filter.h | 8a9ca10d9d0e32b4c609b4b4c2e05a401803a055 | [] | no_license | redneckz/vocatch | 2e78d91fb12da23a223d1342ef1d000489019e28 | 0774c854dbe6d74e95225d6891a43089bc72ab94 | refs/heads/master | 2021-01-10T21:25:19.173736 | 2014-08-31T20:34:33 | 2017-05-22T08:55:42 | 23,522,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | h | #ifndef DEFPICTUREFILTER_H_
#define DEFPICTUREFILTER_H_
#include "vocutil/vocutil.h"
using namespace vocutil;
class DefaultPictureFilter : public RadialPictureFilter {
public:
DefaultPictureFilter(Size radius) : RadialPictureFilter(radius) {
}
virtual Pixel FilterPixel(const FilterContext& context, Inde... | [
"Alexander_Alexandrov@epam.com"
] | Alexander_Alexandrov@epam.com |
23209a546ddd7081015757047a75eac2bae429b9 | 08a2e70f85afd89ce06764f95785a3a3b812370e | /services/media_session/public/cpp/media_image_manager.h | be2285e5e536ab3864a8f981d860cd7ab2c1e4a9 | [
"BSD-3-Clause"
] | permissive | RobertPieta/chromium | 014cf3ffb3436793b2e0817874eda946779d7e2d | eda06a0b859a08d15a1ab6a6850e42e667530f0b | refs/heads/master | 2023-01-13T10:57:12.853154 | 2019-02-16T14:07:55 | 2019-02-16T14:07:55 | 171,064,555 | 0 | 0 | NOASSERTION | 2019-02-16T23:55:22 | 2019-02-16T23:55:22 | null | UTF-8 | C++ | false | false | 2,964 | h | // Copyright 2018 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 SERVICES_MEDIA_SESSION_PUBLIC_CPP_MEDIA_IMAGE_MANAGER_H_
#define SERVICES_MEDIA_SESSION_PUBLIC_CPP_MEDIA_IMAGE_MANAGER_H_
#include <vector>
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
64aa1fbb3d9319e5587a696136f7420be39771c0 | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/83.7/U | 3b15e269d6457e3f516d7afdccdbb14668375f30 | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,060 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"henry.rossiter@utexas.edu"
] | henry.rossiter@utexas.edu | |
e2d0408700a2ad1a0b8fe016a0974f09f6d3c9c3 | 15bc23ace840d3441e69b1af61e75079307af8eb | /libgramtools/include/quasimap/coverage/grouped_allele_counts.hpp | 4aab2bcfae52f465da29a39bbe2a8200bbc05f80 | [
"MIT"
] | permissive | ffranr/gramtools | 641fce0fdd93b4f6ffbdc996250ac6d0a76788f0 | b909fff2b759be6ff6c32e8e4c262b51b0902832 | refs/heads/master | 2021-10-10T08:41:51.262314 | 2018-12-31T15:12:07 | 2018-12-31T15:12:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,265 | hpp | #include "search/search_types.hpp"
#include "quasimap/coverage/types.hpp"
#ifndef GRAMTOOLS_GROUPED_ALLELE_COUNTS_HPP
#define GRAMTOOLS_GROUPED_ALLELE_COUNTS_HPP
namespace gram {
namespace coverage {
namespace generate {
SitesGroupedAlleleCounts grouped_allele_counts(const PRG_Info &prg_info)... | [
"rffrancon@gmail.com"
] | rffrancon@gmail.com |
80a8b8ff7aaa8ea45522e4179cbcdad15ff1ee0c | 2c65a4f89304e6888524fec2f1b7687dac3b3017 | /BinaryTrees/build_tree_pre_inorder.cpp | 5fc6c46ec6175867a39e29b85a436326bc79ab94 | [] | no_license | AdityaKG-169/cpp | b51719d223b83658f99b7ff3d28cecbde13aa4b2 | eb18bd18f9ed8fa4064384e126b28d042d00e043 | refs/heads/main | 2023-07-01T15:04:04.559307 | 2021-08-10T17:22:22 | 2021-08-10T17:22:22 | 385,651,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | cpp | #include <bits/stdc++.h>
using namespace std;
class Node
{
public:
int data;
Node *left;
Node *right;
Node(int x)
{
data = x;
left = NULL;
right = NULL;
}
};
int arrSearch(int arr[], int start, int end, int val)
{
for (int i = start; i <= end; i++)
{
if (arr[i] == val)
{
return i;
}
}
retur... | [
"aditya.kg169@gmail.com"
] | aditya.kg169@gmail.com |
c920fa0704de73befce83f6ccdf2df0f48d1139d | ed45b46dd80ce37f82405c867aceb97f5dc5bcf2 | /src/SuplaWebPageLimitSwitch.cpp | 4cdd2f21ea952bc04c991b1b5f27a8b93a055e57 | [] | no_license | scorpion2005/GUI-Generic | 1209e9147f7a3d861f5b158af411a21dacd05d5e | 3b994e9a8ddf5dba9e53a6ba67ebdfd571431250 | refs/heads/master | 2023-05-27T13:11:53.184589 | 2021-06-15T10:57:18 | 2021-06-15T10:57:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | cpp | #include "SuplaWebPageLimitSwitch.h"
#ifdef SUPLA_LIMIT_SWITCH
void createWebPageLimitSwitch() {
WebServer->httpServer->on(getURL(PATH_SWITCH), [&]() {
if (!WebServer->isLoggedIn()) {
return;
}
if (WebServer->httpServer->method() == HTTP_GET)
handleLimitSwitch();
else
handleLimitSw... | [
"krystian.franieczek@gmail.com"
] | krystian.franieczek@gmail.com |
dea521e1c2fffe5bbc5de547ae2deed1a6dfd73f | 00306216906858239223b8bbe999c8fa36e10739 | /aws-cpp-sdk-workdocs/include/aws/workdocs/model/DescribeActivitiesRequest.h | 537d62c4712638f66f80636a370808421688cf5c | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | pcacjr/aws-sdk-cpp | ceea79f54b5656b1e6a7257aa8d37fb6d2609951 | 90eb0ee4be28ac23efc10c8eedf21235f9a37402 | refs/heads/master | 2021-01-19T05:48:16.578394 | 2017-09-25T00:36:13 | 2017-09-25T00:36:13 | 87,451,109 | 0 | 0 | null | 2017-04-06T16:26:57 | 2017-04-06T16:26:57 | null | UTF-8 | C++ | false | false | 13,710 | h | /*
* Copyright 2010-2017 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" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
fdcf501113bff52dd121be806c29c4c614f8783a | c865c8cb71043e1c81435a507a40420e47d08bd9 | /Date_Basic/Date.h | ba289916f7c513a3a5051b362e2504b4d772fe23 | [] | no_license | gleibson/Date_Basic | 28b5adca9361c453f3b3601e9fe4cbd4aa9962db | e8cec2de45bff7a2d4827f8c80e1c2e401877ebc | refs/heads/master | 2021-01-11T01:55:06.053893 | 2016-10-13T18:30:03 | 2016-10-13T18:30:03 | 70,835,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | h |
class Date
{
private:
char m_day;
char m_month;
short m_year;
short m_yearMin, m_yearMax;
int m_idailyroutine;
bool m_OK;
public:
enum {YEAR_MIN_DEF= 1, YEAR_MAX_DEF=9999};
enum { FEBRUARY=2, JULY = 7 };
Date(); /*Date(Date this)*/ //constructor
void Change(char day, char month, short year); /*Ch... | [
"gleibsonglas2@yahoo.com.br"
] | gleibsonglas2@yahoo.com.br |
9da081d2ada04997e2fe2a718d5d0ad2d26ca9c8 | 8cc355e8465211f4384655f55472d50d080ce1ac | /file/async.h | 94030f6e99db4d30de918e5c0034ed38c6fa49b4 | [
"CC0-1.0"
] | permissive | pgrawehr/golgotha | 47fb1e47c9a2e7f24e0ce7dde188f884a5504438 | 94e0b448d7e7224e56c27b029dec80ca710ceb8b | refs/heads/master | 2023-06-29T12:04:11.302599 | 2022-03-19T08:09:59 | 2022-03-19T08:09:59 | 40,831,531 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,680 | h | /********************************************************************** <BR>
This file is part of Crack dot Com's free source code release of
Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
information about compiling & licensing issues visit this URL</a>
<PRE> If that doesn't help, ... | [
"pgrawehr@hotmail.com"
] | pgrawehr@hotmail.com |
4bdf7eb5444687b0223e8b697ee43659fba063bc | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /ash/system/accessibility/floating_accessibility_controller.h | 11b6f74d4d9fb7d8ea5b66091e840047810a5c32 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,991 | h | // Copyright 2020 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 ASH_SYSTEM_ACCESSIBILITY_FLOATING_ACCESSIBILITY_CONTROLLER_H_
#define ASH_SYSTEM_ACCESSIBILITY_FLOATING_ACCESSIBILITY_CONTROLLER_H_
#include "ash... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c7160b33377f5f692247d23d01351a5d1eb1fe1d | 9732270148d744ca01c5d43cbfaddbcaf313fb80 | /vjudge/HDU/5139/10395992_TLE_0ms_0kB.cpp | 40974cc2adf1b2dd7a3b747445a02a12734e297e | [] | no_license | Bocity/ACM | bbb7c414aa8abae6d88e2bb89c4ab1fd105a1c5a | 9ec1ece943a4608e96829b07374c3567edcd6872 | refs/heads/master | 2021-01-04T02:41:42.108269 | 2019-01-18T07:17:01 | 2019-01-18T07:17:01 | 76,115,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,978 | cpp | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#define REP(i, x, n) for (long long i = (x); i < (n); ++i)
#define PER(i, x, n) for (long long i = (n) -1; i >= x; --i)
#define endl "\n"
#define DE(x) cout << "--------\... | [
"haolovej@vip.qq.com"
] | haolovej@vip.qq.com |
993720ba44127d1e561c98c0cc6e9b4a70040cc0 | 88b901475cf85cab913fb44909446a054f3657cd | /Classes/RedEnemy.h | 0523d9790a939bf2f88623d7551866c1ac77c61d | [] | no_license | Jeff0029/MobileTest | 0c017b129673920d90367b1218cc6d4d1264e100 | 48fcc55769e1c9bfbddef2aa8ea09972ba192b99 | refs/heads/master | 2016-09-06T08:10:59.979414 | 2014-10-30T00:55:47 | 2014-10-30T00:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | h | //
// RedEnemy.h
// ArcticTest
//
// Created by Jean-Francois Vienneau on 2014-10-10.
//
//
#ifndef __ArcticTest__RedEnemy__
#define __ArcticTest__RedEnemy__
#include <iostream>
#include "Enemy.h"
#include "OrangeEnemy.h"
namespace ArcticTest
{
class RedEnemy : public OrangeEnemy
{
RedEnemy();
... | [
"jeanfrancoisvienneau@gmail.com"
] | jeanfrancoisvienneau@gmail.com |
74e089d93b545c6326382192c2f716ba015dae0c | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS/TRiAS03/ManageObjectPropertiesDlg.h | 4bf6ccdb06d47958628e0ffbd1ab5813fe4fde6a | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 1,361 | h | // $Header: $
// Copyrightę 1999-2004 Hartmut Kaiser, All rights reserved
// Created: 07.02.2003 11:39:15
//
// @doc
// @module ManageObjectPropertiesDlg.h | Declaration of the <c CManageObjectPropertiesDlg> class
#if !defined(_MANAGEOBJECTPROPERTIESDLG_H__7CA88B2D_3F35_4CEB_8E37_3F3FEC17D3C3__INCLUDED_)
#def... | [
"Windows Live ID\\hkaiser@cct.lsu.edu"
] | Windows Live ID\hkaiser@cct.lsu.edu |
6fea893f96b84859e7839180aea9382862f121ab | 561e985145b1e74fd956ba4f07acd13e8ac11ebc | /IOS Build/TestARKit/Classes/Native/AssemblyU2DCSharp_UnityStandardAssets_CrossPlatform113868641.h | 8f610968799caba70baaf9118a68f358efccfc8d | [] | no_license | thanhitpro/Jump | 04eaaef2dd5afda806d48c5b9d86dbc30bce2feb | 45769ecf15c8496d20b91c493e9389de27bbb367 | refs/heads/master | 2021-01-20T23:09:18.815748 | 2017-09-07T08:14:18 | 2017-09-07T08:14:18 | 101,840,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Enum2459695545.h"
#include "AssemblyU2DCSharp_UnityStandardAssets_CrossPlatform113868641.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang... | [
"thanhit08@msn.com"
] | thanhit08@msn.com |
402309becf19b6e4effd31c61b217a0506ea3a71 | 8d0239cf514b50ac3445c6440da77d16d3d12e91 | /OpenGL/gl3.cpp | 68dead29f09de8384fd56bb645ca53b9941bb785 | [] | no_license | 7hi4g0/Codes | 2857fa832622157e523d9dbbf28ea75269f26b56 | 9ed7d71aaba29ef1fd5c135d06819f898d7f8644 | refs/heads/codes | 2023-02-22T00:43:40.720754 | 2023-02-09T16:00:11 | 2023-02-09T16:00:11 | 8,489,561 | 0 | 0 | null | 2022-06-06T18:52:54 | 2013-02-28T22:29:28 | Python | UTF-8 | C++ | false | false | 8,600 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <GL/gl.h>
#include <GL/glx.h>
#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
typedef GLXContext (*glXCreateContextAttribsARBProc)(... | [
"thiago@thiago-desktop.(none)"
] | thiago@thiago-desktop.(none) |
e02fadffaf0a1e3c2f9188e61e62d805e72d5530 | 4a6eb31b6efd60be0f3d4c32b3a88e02cc1885ac | /jcpp/src/test/cpp/jcpp/lang/JNullPointerExceptionTest.cpp | 14178bf19890040d8729a0a73149ab218a96a8f6 | [] | no_license | jeffedlund/rpc | 3f84389973651ff77ad09b53459778953843e310 | 17cba8f2ab4fce50361693db8f59ccf46c19ae78 | refs/heads/master | 2021-01-10T20:14:04.687475 | 2013-06-10T09:16:29 | 2013-06-10T09:16:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include "JNullPointerExceptionTest.h"
namespace jcpp{
namespace lang{
JNullPointerExceptionTest::JNullPointerExceptionTest():JRuntimeExceptionTest(){
}
JString JNullPointerExceptionTest::getFileName(){
return "NullPointerException.ser";
}
JThrowable* JNullPoin... | [
"cyazbeck@murex.com"
] | cyazbeck@murex.com |
1aeb517a31962f41c0d8c483b88b7a82158db8ae | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatsmatmult/HDbUCa.cpp | f2e40537fbccd0fee23354c9eb1d303fd1dd9851 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,508 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatmult/HDbUCa.cpp
// \brief Source file for the HDbUCa dense matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// Thi... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
9f4677408ff8d91f64071f28ef61647f56cd428e | f31e60bfa6229959c7e32684be96cd7f43dedcc9 | /aaa/n_divides_m/main.cpp | 379255cbd8498860982ae107f2c5f0816ed0c486 | [] | no_license | henriquenunez/trabs_usp | 618efc26f346ac7ff52784a5b08eee7652d8ac79 | 030d713b17091a26cae2801505b4e127b8cda90b | refs/heads/master | 2022-05-10T14:45:40.278343 | 2022-05-05T08:15:30 | 2022-05-05T08:15:30 | 182,876,028 | 0 | 4 | null | 2022-02-22T19:28:50 | 2019-04-22T22:14:30 | C | UTF-8 | C++ | false | false | 3,831 | cpp | #include <cstdio>
#include <vector>
#include <cmath>
#include <cstring>
#include <utility>
#include <cstdlib>
#include <unordered_map>
/* We must only check values up to sqrt(2^31-1)
* Since we're able to say whether it's a prime or not, by the factors.
* */
#define MAX_N 46341
void sieve_of_eratosthenes(int *PRI... | [
"henrique.nunez@yahoo.com"
] | henrique.nunez@yahoo.com |
e4e3bf4f50652b0ae0d07749ef3a9d9446420d67 | 077d186bc928cc74b2ce16490f3835762409ac43 | /Data Structure Alogirtm/19_LongestCommonSubsequence.cpp | 5efc47fc5e4c62f5705df91a322733947900a963 | [] | no_license | suvaw/Datastructure | 52e21ec6d2de4dd113c502b508f453a2aa90ffdb | 648d2c55936b58df3dc96679018ac2dbaceebabf | refs/heads/main | 2022-12-26T02:34:10.045434 | 2020-10-04T19:07:34 | 2020-10-04T19:07:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,348 | cpp | //C Program for Longest Common Subsequence Problem
#include<stdio.h>
#include<string.h>
int i,j,m,n,c[20][20];
char x[20],y[20],b[20][20];
void print(int i,int j)
{
if(i==0 || j==0)
return;
if(b[i][j]=='c')
{
... | [
"suvadipmandal.1995@gmail.com"
] | suvadipmandal.1995@gmail.com |
7bfdc014b7ff9e9ef3451fa2f16f0a1fce367310 | a668c69f776ecf887ceddb29c58a1ad2991703bf | /main.cpp | 3c8b5cd19b00843dc64718730d2a4997f5b42c5d | [] | no_license | Mulperi/mulperi-engine | 1fde0d81c8c9a7592c824f3512694852750c7304 | 7fc3505477a478f405925e40df174d28d01347d2 | refs/heads/main | 2023-06-14T12:58:27.190621 | 2021-07-11T11:26:29 | 2021-07-11T11:26:29 | 382,315,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,563 | cpp | #include "include/SDL2/SDL.h"
#include <stdio.h>
#include "mulperi.hpp"
#include "mulperi_sdl.hpp"
#include <string>
#include "include/box2d/box2d.h"
// Windows compile: g++ main.cpp -o main.exe -I include -L . -lmingw32 -lSDL2 -lSDL2main -lbox2d
// Linux compile: g++ main.cpp -o main I /usr/include -lSDL2 -lbox2d
//... | [
"mikalakanen@gmail.com"
] | mikalakanen@gmail.com |
84c307aa7f2f51ff85c7a66f06f41b9b82f2e32e | 15ea215714d51a582bd65ba4b358bfcc5dcf8495 | /include/UserInterface/simobjectproperties.h | c346b68eae3e0fb5fc8030a2bf153ac2f874031b | [] | no_license | IdrisMiles/masterclass | 40d72103dd9da6a09a0700a5c84754d88abb18dd | 1fa32797deeb3738addb4db1ea0c1bd316c90923 | refs/heads/master | 2021-05-01T01:57:38.941026 | 2017-01-11T21:45:26 | 2017-01-11T21:45:26 | 70,266,235 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | h | #ifndef PHSYICSBODYPROPERTIES_H
#define PHSYICSBODYPROPERTIES_H
#include <glm/glm.hpp>
class OpenGLScene;
enum ConstraintTypes {Fixed, Generic6DOFSpring};
struct SimObjectProperties
{
public:
// Physics
struct PHYSBODY
{
unsigned int numSpheres;
float minSphereRad;
float maxSp... | [
"idris.miles@gmail.com"
] | idris.miles@gmail.com |
68bff94579f7228243ce4dbea89340a33670281d | 18fe661d6b2b85d1ef56dfd84054b18687e86a71 | /Software/Signalgenerator/GUI/color.hpp | c808d647bca96e688d21501a6740dd5971aa60b7 | [] | no_license | jankae/Signalgenerator | 48759b95d6f9139b900aee281b43f6e73dd67691 | d6a2e1b0d0a1e50f169ecdedde816751158b143e | refs/heads/master | 2023-02-02T11:04:07.942520 | 2023-02-01T13:38:07 | 2023-02-01T13:38:07 | 189,094,174 | 23 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 996 | hpp | /*
* color.h
*
* Created on: Mar 14, 2017
* Author: jan
*/
#ifndef COLOR_HPP_
#define COLOR_HPP_
#include <stdint.h>
#define COLOR(r, g, b) (uint16_t)(((r>>3)<<11)|((g>>2)<<5)|(b>>3))
#define COLOR_RED COLOR(255,0,0)
#define COLOR_GREEN COLOR(0,255,0)
#define COLOR_BLUE COLOR(0,0,255)
#define COLOR... | [
"kaeberic@ibr.cs.tu-bs.de"
] | kaeberic@ibr.cs.tu-bs.de |
d591f2f813177823cca7781b8ebce4230adc8c83 | 7ee895037c65022ab61e8547e07251e3ef70bd6c | /Compilers/Project1/main.cpp | b6954a9bd9e301bb795bfcaab0f0387e704e5bd2 | [] | no_license | Shossain97/School | 498fd9fcc56f749a1a9631b57ba6d6d66782408b | 2e6e240f8ffb8fd2a5cfe68b46951670a4451589 | refs/heads/master | 2020-06-02T05:13:28.481926 | 2019-06-09T20:33:44 | 2019-06-09T20:33:44 | 191,048,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,438 | cpp | /*
*Name: Shafeen Hossain
*EECS 665 Compilers Assignment 1
* this is the main file it handles all input, transforms from NFA
* to DFA. And ouputs it to the console
*/
#include <iostream>
#include <string>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <vector>
#include "list.hpp"
... | [
"shafeen.hossain97@gmail.com"
] | shafeen.hossain97@gmail.com |
8e91a3f32c6ff7d5c01df4aeb66b3bb0028e0e77 | 7ffdb6ed8100b6afaf94a778c17aef5469ba5249 | /RoundRobin/upfront/upfront/main.cpp | b4a7477588db9c1233839f0b779f9a320bc27df4 | [] | no_license | mprufer/mprufer | ae79079f5d7f31c2fb17ba0d60a342ac1b85b28f | afbef8b11c3c5ffbb11d0c2cd1266697a6982cdf | refs/heads/master | 2021-05-07T04:55:35.329389 | 2018-03-01T22:41:29 | 2018-03-01T22:41:29 | 111,334,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | //
// main.cpp
// upfront
//
// Created by minnah on 2/8/18.
// Copyright © 2018 minnah. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
765b66028922791c73e66a23e48501e7d34b7188 | cfa91d5f5f258fb89e3f99da71b6b5630cfdbe8e | /google/cloud/bigtable/internal/async_retry_unary_rpc_and_poll_test.cc | 914e3dd86e71ff5046f46e98331fad002dc237c7 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | VPeruS/google-cloud-cpp | 6c712fcbbe051eca5a5a76b2a50f49df5696972a | 727bc4f4676a75a97cec91247bcdd78741cf7204 | refs/heads/master | 2021-07-29T23:27:55.966634 | 2021-07-23T20:25:56 | 2021-07-23T20:25:56 | 193,929,100 | 0 | 0 | Apache-2.0 | 2021-07-25T11:59:56 | 2019-06-26T15:13:45 | C++ | UTF-8 | C++ | false | false | 10,381 | cc | // Copyright 2020 Google LLC.
//
// 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 ... | [
"noreply@github.com"
] | noreply@github.com |
b6290ee7f3da08de279ae1a3ebfe71e31c4ce080 | 19f039b593be9401d479b15f97ecb191ef478f46 | /RSA-SW/PSME/common/agent-framework/include/agent-framework/module/logical_drive.hpp | 1cf78e4ddd5eab1675dacece751ef29511e17dab | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | isabella232/IntelRackScaleArchitecture | 9a28e34a7f7cdc21402791f24dad842ac74d07b6 | 1206d2316e1bd1889b10a1c4f4a39f71bdfa88d3 | refs/heads/master | 2021-06-04T08:33:27.191735 | 2016-09-29T09:18:10 | 2016-09-29T09:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,882 | hpp | /*!
* @copyright
* Copyright (c) 2015 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"chester.kuo@gmail.com"
] | chester.kuo@gmail.com |
93d0eb03fdde86bdb1c9f5a60ddb36abdc76ae45 | 28f23094618fca27f4479b790e3e3f98ddcf3933 | /MeshManipulation/Lab7/Temp/StagingArea/Data/il2cppOutput/mscorlib10.cpp | 16e840f9aae6d7a5cbfeac002a502a4ad96b9694 | [] | no_license | JustinOmariLao/Unity_ThreeJS_Projects | 02e833fa769e03445b6f46ee95cdfc04445afd07 | 9333b2ae1138af93f2ba012aca555d2ab525d7ee | refs/heads/main | 2022-12-30T11:30:53.833737 | 2020-10-09T20:16:07 | 2020-10-09T20:16:07 | 302,735,156 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,918,327 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "icalls/mscorlib/System.Runtime.Remoti... | [
"65569051+jlao3@users.noreply.github.com"
] | 65569051+jlao3@users.noreply.github.com |
9e88a5c08b9968c6866dc633e4d6b221525dad57 | 8855f07db60411f83518a640384dbc1c1dd93ab6 | /offline_2/Rotation.h | d1033046021ab4c71d20c7daa8b7aa639002405b | [] | no_license | marufzaber/Spinnaker-Tower | e81cf6716a991e95ec3f2a239aaf06dd6a6214ec | 340a9571ea8a78aa9ed98229671a11ea24129c2d | refs/heads/master | 2021-01-23T02:35:30.084811 | 2017-03-24T00:20:08 | 2017-03-24T00:20:08 | 86,010,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | h | #pragma once
class Rotation
{
public:
double angle, x,y,z;
Rotation(void);
Rotation(double angle, double x, double y, double z);
~Rotation(void);
};
| [
"mzaber@uci.edu"
] | mzaber@uci.edu |
2570f8270439dac06e3ce5a545847e761827df6f | 5bde31d6164b5896041546e841852360c2617164 | /SM-CompetitionPlusC++/CompPlus_Scenes/General Scenes/DAGarden.h | e23f1f48394b0ffb8bce098d105a65d686574e76 | [] | no_license | CarJem/CompetitionPlusCode | 96cc9e5ee7d93ab8a89fb5f0316d3df82a26aa37 | edcd9e4a6094f37eec2fe9853edf7e907531941e | refs/heads/master | 2023-01-15T20:43:49.657277 | 2020-11-10T01:59:26 | 2020-11-10T01:59:26 | 287,567,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | h | #pragma once
namespace CompPlus_DAGarden_Core
{
extern void OnFrame();
}
namespace CompPlus_DAGarden
{
extern void OnFrame();
extern void Init();
}
namespace CompPlus_DAGarden_Mania
{
extern void OnFrame();
extern void Init();
}
namespace CompPlus_DAGarden_Encore
{
extern void OnFrame();
... | [
"Cwallacecs@Gmail.com"
] | Cwallacecs@Gmail.com |
b7e5ab1fa4dc6431e347dfb4e9e7bc2fe1ae6a34 | 3f29772a6bc754568e77f446b90a83e0da96cede | /midi2qm/MidiLoader.h | 9e9439eab0f03d049169f838d49963cbc71774fa | [] | no_license | grimtraveller/karma | ff9ff417fe93735a53ea64349eb85832a236f41a | e2b9b23928dabb22a06bf8483560d25f799bf4ed | refs/heads/master | 2020-12-25T21:12:36.721080 | 2004-01-01T18:37:03 | 2004-01-01T18:37:03 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 633 | h | /*
* Converts midi-files and fxb-banks into the format used by the Karma synth
*
* $Id: MidiLoader.h,v 1.2 2004/01/01 16:06:19 Fredrik Ehnbom Exp $
* Author : Fredrik Ehnbom
*
* All rights reserved. Reproduction, modification, use or disclosure
* to third parties without express authority is forbidden.
* Copy... | [
"quarnster@gmail.com"
] | quarnster@gmail.com |
d6c1a2d5f902f820ff1321102f0debe7577ce7f2 | ba8ca69abfc64407b60416ab64f930fcbfb4cf30 | /buffer.cpp | 11420c6d126ef6dac176ebcfa8784030f70290f4 | [] | no_license | windseeeker/windnet-game | ed48cf84c68a54eb1de09564fd0963cf51455144 | a5eda47321501049236e8a9d516ee2538236011a | refs/heads/master | 2021-01-01T16:19:18.189523 | 2014-03-20T04:02:05 | 2014-03-20T04:02:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | #include "buffer.h"
#include <assert.h>
#include <memory.h>
#include <iostream>
namespace Windnet {
Buffer::Buffer()
:m_read(0)
,m_write(0) {
}
void Buffer::reset() {
m_write = m_read = 0;
}
void Buffer::copyIn(const char *buf, int size) { // just to move write pos
if (buf != 0) {
memcpy(m_buffer + m_write, ... | [
"root@william.william"
] | root@william.william |
c58f4e1e849dbf20c2fbdd9e83947a2fabc1c4ed | db0a0c040de90b87df05bbd1b5e5a9594c5009b0 | /src/view/subsurface.hpp | c905236592941ee38e1b9972f44911497f8a8ea7 | [
"MIT"
] | permissive | epsilon-0/wayfire | a403c4e769a377b0066e0b32ef8860ac041a9e17 | a1f575701ab3ba41006a38c0a01f39d31fdf2dbb | refs/heads/master | 2023-06-26T08:55:04.925426 | 2023-02-14T11:55:29 | 2023-02-14T11:55:29 | 249,974,159 | 0 | 0 | MIT | 2020-03-25T12:36:13 | 2020-03-25T12:36:13 | null | UTF-8 | C++ | false | false | 1,575 | hpp | #pragma once
#include "wayfire/util.hpp"
#include <memory>
#include <wayfire/scene.hpp>
#include <wayfire/nonstd/wlroots-full.hpp>
namespace wf
{
/**
* A subsurface root node. It applies a translation to its children equal to the offset of the subsurface.
*/
class wlr_subsurface_root_node_t : public wf::scene::floa... | [
"ammen99@gmail.com"
] | ammen99@gmail.com |
8237354ef59824a528c13aeac27fd5fabfd71e3b | b62ceb90bf28536c6aecd114253308a0b68c05cb | /src/main.cpp | ddf87d1e74262c9f8c73e0fa8da42bb1a3f2fc38 | [] | no_license | Folleas/Logic-Gate-Simulator | a6f08863c54fba11f2984ed155fbbd871fbb3024 | 2dd66c26c07ff858db80b655ae6558244ff85218 | refs/heads/master | 2023-04-16T00:44:36.118061 | 2021-01-17T14:23:10 | 2021-01-17T14:23:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | /*
** EPITECH PROJECT, 2020
** OOP
** File description:
** main
*/
#include "Circuit/NanoTekSpice.hpp"
#include "Components/Input.hpp"
#include "Components/Output.hpp"
#include "Components/And.hpp"
#include "Circuit/Pin.hpp"
#include "Circuit/Circuit.hpp"
#include "Shell/Shell.hpp"
#include "Parser/Parser.hpp"
#includ... | [
"rayann.folleas@epitech.eu"
] | rayann.folleas@epitech.eu |
1ef56a1db30ba8c736bedd4adb530415f08d8aee | a758bad12d1d024c95224f1eb6d0f68fba77df80 | /server/DrawOperation/DrawCircle.cc | dbdfcfbc772203307a421e5960ea8e8cf22dd462 | [] | no_license | KingsLanding/OnlineWhiteBoard | 091f728576649cb9e8823e3a7d9bc33678bdd617 | 69a0d072a0f2d402e59a685d5b3136069fa31d7f | refs/heads/master | 2021-01-24T17:20:27.370145 | 2013-06-13T11:55:41 | 2013-06-13T11:55:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cc | /*************************************************************************
** File Name: DrawCircle.cc
** Author: vanvick
** Mail: vanvick@163.com
** Created Time: Wed Apr 10 16:46:51 2013
**Copyright [2013] <Copyright vanvick> [legal/copyright]
***************************************************... | [
"583172506@qq.com"
] | 583172506@qq.com |
83005379d2b9397ee541f8a30a1da6937a832e29 | 4ec84d397a741bef5d390a638046086577461900 | /game/model/chess/actions/chess_game_action_move_outof_board.h | 9bce24a8355c2c64468df05ce144d18a0c3d5ee6 | [] | no_license | luchengbiao/xqs_game | 186934d41b10a085650bf45bc0a496fb52d44582 | ce447bb923188a3ae13710033bcb074529a0d2e4 | refs/heads/master | 2020-04-05T06:17:55.699468 | 2019-03-21T10:40:26 | 2019-03-21T10:40:26 | 156,632,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | #ifndef __GAME_MODEL_CHESS_ACTIONS_CHESS_GAME_ACTION_MOVE_OUTOF_BOARD_H__
#define __GAME_MODEL_CHESS_ACTIONS_CHESS_GAME_ACTION_MOVE_OUTOF_BOARD_H__
#include "chess_game_action.h"
#include "game/model/base/action/game_action_move_base.h"
GAME_NAMESPACE_BEGIN
class ChessActionMoveOutOfBoard : public GameActionMoveBase<... | [
"993925668@qq.com"
] | 993925668@qq.com |
3a9b5a19bcf2c7ff30c96606b33dadb3e1a18a6e | f0bcf9abfbabf371ae6baf1a4d2702ee12bf4a57 | /wheeldesign.h | 721ef4a2b6f409419ef9081103697c5d8c3e3a2e | [] | no_license | CyberSys/track | 4ba35669838e1c35f1b07f535532f0e66c435282 | 299fea07be893bbca9d44603d9632f3437abf332 | refs/heads/master | 2020-08-14T05:13:30.407111 | 2010-01-25T12:54:03 | 2010-01-25T12:54:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | #ifndef __WHEELDESIGN_H__
#define __WHEELDESIGN_H__
#include <ode/ode.h>
#include "design.h"
#include "wheel.h"
class WheelDesign : public Design {
protected:
dReal R;
public:
virtual WheelID create(dWorldID world, dSpaceID space);
void setRadius(dReal _rad) { R = _rad; };
dReal getRadius() { return R; };
};
typ... | [
"alonlevy1@gmail.com"
] | alonlevy1@gmail.com |
65e11c4c90524337ca366028be70b8671b9fd079 | e913a4f71fd3997ca06df223f5eaf1f05f257313 | /sorting shell.cpp | 9b25e067a519c5b72165f30093c162cc14b306ac | [] | no_license | cyan-chatter/Basic-DS | 2381e7f06d74897590efbb6309858fa2508a01b1 | 840d68e2cd719e4cea46d0245856d0d360c8725e | refs/heads/master | 2022-10-11T11:57:19.871968 | 2020-06-15T14:06:58 | 2020-06-15T14:06:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include <stdio.h>
#include<stdlib.h>
void swap(int *x,int *y)
{
int temp=*x;
*x=*y;
*y=temp;
}
void ShellSort(int A[],int n)
{
int gap,i,j,temp;
for(gap=n/2;gap>=1;gap/=2)
{
for(i=gap;i<n;i++)
{
temp=A[i];
j=i-gap;
while(j>=0 && A[j]>temp)
{
A[j+gap]=A[j];
j=j-gap;
}
A[j+gap]=te... | [
"noreply@github.com"
] | noreply@github.com |
c8e86892a856f0cf1981a22addc251dbd862b795 | c7ec332f7e51fc9224ef79ca7dde75bcc317a973 | /src/IO/TransformBase/WriteTransformToFile/Code.cxx | ea3cde38565136555f2a83c1fa56b9061f7fa01e | [
"Apache-2.0"
] | permissive | wilson-ben/ITKExamples | 2c6e4886f53f150ccdd3d976dbf8d126a89ed28d | 17d6c6ffb0b0178d5f584cdec5c863b42c63590d | refs/heads/master | 2020-06-09T20:05:01.483170 | 2019-06-10T00:23:40 | 2019-06-10T15:57:43 | 193,497,909 | 0 | 0 | null | 2019-06-24T12:07:29 | 2019-06-24T12:07:29 | null | UTF-8 | C++ | false | false | 1,607 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | [
"dzenan.zukic@kitware.com"
] | dzenan.zukic@kitware.com |
6cc1c31648f2bf1d95cf9bcf388b40a478ef5dfc | 9463c71701c9690ccb367ea56cdfc735ea7019f6 | /Tildas/Intermediate_Velocity_Predictor_2ND_X.cpp | e7fc0d72d67e3061687de61d9a007c75ebdc1d12 | [] | no_license | huahbo/Working_Turbulent | 7c5eba237e3341e4055ea1e7927d02b729901d4a | 97999ca2a969dbaa6e9aabce28c5f46ef7190a87 | refs/heads/master | 2021-01-18T14:31:24.121296 | 2014-09-12T13:03:46 | 2014-09-12T13:03:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,578 | cpp | /*******************************************
* Author: Michail Georgiou
* Last Modified: Time-stamp: <2014-09-05 16:46:01 mike_georgiou>
*
*
Intermediate_Velocity_X_Proj1_Implicit.cpp -- This function computes
the velocity_x_tilda implicitly over the y-direction. More
specifically, it solves u+d/dy(du/dy) = rhs, w... | [
"mech5560@hotmail.com"
] | mech5560@hotmail.com |
f8742a32bb9e35f1d1d603a61bcff935e9612dda | b062c033ea7ec8a8cce934e72b217d3904791bd5 | /LeetCode/101. Symmetric Tree.cpp | dbaf91412d0278ca9c9848a0d9adf46d354d9bb0 | [] | no_license | NavidMahbub/Competitive-Programming | 2c6f48b37abdedacbae73fc08d62daee67b87f8d | a6ac91a2cbca2baf29fd73d859e110b2de5acaad | refs/heads/master | 2023-03-24T21:15:34.083239 | 2021-03-01T06:31:05 | 2021-03-01T06:31:05 | 339,458,493 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : v... | [
"noreply@github.com"
] | noreply@github.com |
a571f27fd97eaaa0e784d661007737d4689a8e66 | 07c3e4c4f82056e76285c81f14ea0fbb263ed906 | /Re-Abyss/app/components/Actor/Enemy/Schield/ComponentCache.hpp | 052375c2efd12e138fdfa0a792d5d97f1c6b9d18 | [] | no_license | tyanmahou/Re-Abyss | f030841ca395c6b7ca6f9debe4d0de8a8c0036b5 | bd36687ddabad0627941dbe9b299b3c715114240 | refs/heads/master | 2023-08-02T22:23:43.867123 | 2023-08-02T14:20:26 | 2023-08-02T14:20:26 | 199,132,051 | 9 | 1 | null | 2021-11-22T20:46:39 | 2019-07-27T07:28:34 | C++ | UTF-8 | C++ | false | false | 681 | hpp | #pragma once
#include <abyss/modules/Actor/base/ActorObj.hpp>
#include <abyss/components/Actor/Common/Body.hpp>
#include <abyss/components/Common/MotionCtrl.hpp>
#include <abyss/components/Actor/Enemy/Schield/FaceCtrl.hpp>
#include <abyss/views/Actor/Enemy/Schield/Motion.hpp>
namespace abyss::Actor::Enemy::Schield
{
... | [
"tyanmahou@gmail.com"
] | tyanmahou@gmail.com |
771665f2ef6c3ab9bbf09a36093b7eac8cf66da1 | 89d2087816be31d25d0f147384bd02016598d139 | /SpellCasters Dungeon/EarthStone.hpp | 1d1fa5fef174ac224910bd06ef3f2d8e9473e8ba | [] | no_license | mveregge23/Cpp-Projects | fc38dd734c56b1649c6e79e4f3f1b9cbd387ddec | ac5ea877ce83ede92bc34eba094e726b165ba5a6 | refs/heads/master | 2021-02-16T19:52:10.147581 | 2020-04-02T18:52:54 | 2020-04-02T18:52:54 | 245,040,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | hpp | // Program name: EarthStone.hpp
// Date: 12/8/19
// Author: Max Veregge
// Description: EarthStone.hpp contains a specification for the derived
// EarthStone class. EarthStone inherits all of its data members and
// functions from the parent SpellStone class, but defines its own
// constructor to uniquely initialize t... | [
"maxwell.veregge@gmail.com"
] | maxwell.veregge@gmail.com |
8ba150b2140ac1d6f1bc5a0e21cb5c379db29423 | 852b95d17bf467410e309a374eb99547a99dd7af | /src/implementation/ikan.cpp | a86c7631b7120a0aa23368ad12cce4265d82480b | [] | no_license | priagungs/arkavquarium-cpp | 93f6e1ec2b6abe5b3b7358d03fdfecd53027b3a1 | 5a8be209caafadce6eb1a11fa33a7fa187ad3160 | refs/heads/master | 2020-03-08T12:40:53.244012 | 2018-04-11T14:49:06 | 2018-04-11T14:49:06 | 128,133,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | #include "ikan.hpp"
#include <iostream>
using namespace std;
ikan::ikan() {
hunger = 10; //BERAPAAAA? EDIT LAGI INI
tahap = 0;
foodCounter = 0;
mati = false;
}
ikan::ikan(int h, int t, int f, bool m) {
hunger = h;
tahap = t;
foodCounter = 0;
mati = false;
}
//SetterGetter
int ikan::getHunger... | [
"32959030+priagungs@users.noreply.github.com"
] | 32959030+priagungs@users.noreply.github.com |
0782b58a649b94e21a8567d2327eec5f4249349c | 623cecd98c2202126273b0df9cd5a536a229cd00 | /CapENT2/CapENT2.h | 23880a5b40d1c8da373cf526af3c9997bab77990 | [] | no_license | tatsu-kuro/CapENT | c0128f7b55a7813d9649b68ea81d54ff8646bad3 | f60ca0f77028554fb067a597340a494177a6d3c7 | refs/heads/master | 2022-11-06T03:52:15.526503 | 2020-06-22T12:06:55 | 2020-06-22T12:06:55 | 274,124,640 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 679 | h | // CapENT2.h : PROJECT_NAME アプリケーションのメイン ヘッダー ファイルです。
//
#pragma once
#ifndef __AFXWIN_H__
#error "PCH に対してこのファイルをインクルードする前に 'stdafx.h' をインクルードしてください"
#endif
#include "resource.h" // メイン シンボル
#define Vertxt "CapENT(64Bit) Version2.9 - 2019/11/1"
// CCapENT2App:
// このクラスの実装については、CapENT2.cpp を参照してください。
//
class C... | [
"tatsuakikuroda@me.com"
] | tatsuakikuroda@me.com |
bb9f5bf9932f2f9e4b41a78cf6f793d9e0f9076f | 6fe22836ea731f5c1d05c43ca29e55b811c2847c | /IOCPchatting/IOCPServer.h | 25d1fba9bdd31f4e781c146d3c7d76de81b671f2 | [] | no_license | bli423/IOCPchatting | 3089bbf432286d484578e4e2e0b2c10e27cb43d1 | 9ef7ca6e3ae37443a2e5c53eb3023eac6e2aebd2 | refs/heads/master | 2020-04-01T07:25:18.763070 | 2018-11-07T14:39:06 | 2018-11-07T14:39:06 | 152,989,257 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,461 | h | #pragma once
#ifndef IOCPServer_H
#define IOCPServer_H
#pragma comment (lib,"ws2_32.lib")
#include <iostream>
#include <process.h>
#include <winsock2.h>
#include <queue>
#include <mutex>
#include <unordered_map>
#include "Packet.h"
#define PORT 9999
#define BACKLOG 20
class IOCPServer {
public:
IOCPSer... | [
"bli423@naver.com"
] | bli423@naver.com |
e4ba1d19d311de2678938809b6a58ef64dcbc758 | bd893ed31f5a50d5be969625f8c6c233734b60ac | /sprout/algorithm/fit/shuffle_result.hpp | 82c6712dce3dcbf24e293e8ce618d0ccedb41c39 | [
"BSL-1.0"
] | permissive | kennethho/Sprout | 021fb3b7583fcf05e59c6c2916292073cd210981 | dad087cd69627897da31a531c9da989c661866cc | refs/heads/master | 2021-01-22T00:50:54.516815 | 2013-12-12T14:38:33 | 2013-12-12T14:38:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,136 | hpp | /*=============================================================================
Copyright (c) 2011-2013 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
d0b0f8f6d128d0ea81d5765270317dbe8e2cd007 | 09813c9978577c8d4f7e7261c820dfda7ab8dbd1 | /Main.cpp | 41f39f53a775bff1ed2b83b74875ad737a0b130b | [] | no_license | edwinlowxh/Hex | 6d39f100b2d641694be6b4f0d217a00505758a11 | 5e62772b19460785dc7ea4d003a4bc5d66ef9be6 | refs/heads/main | 2023-07-18T22:12:21.951938 | 2021-09-13T03:44:21 | 2021-09-13T03:44:21 | 405,434,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp | #include "HexBoard.h"
#include <iostream>
#include <vector>
#include <stack>
#include <algorithm>
#include <ctime>
#include <cstdlib>
#include <unistd.h>
#include <windows.h>
using namespace std;
int main() {
int size, i, j;
char player_choice;
player p;
player c;
//Get the board size
cout << "Size of Hex... | [
"edwinlowxh@gmail.com"
] | edwinlowxh@gmail.com |
9040716cf6996a09b0c3b6dac54436c1a3884211 | b8314a7629c75946688a8fcd5583af12679fad32 | /tree.h | 908a6c09c80d63674c57529abb2c470c37a0dcca | [] | no_license | andrewjkerr/Species-Tree | 5e49bd9be9cea41678d291c13d25c424b46d8fbb | 40f07f202e674d3d49847026f59f9048c557f74b | refs/heads/master | 2021-01-23T07:20:52.291712 | 2013-05-02T21:26:24 | 2013-05-02T21:26:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | /*
* Author: hasseo
* COP3530 Project #3
* Due Date: Friday March 15, 2013
* ----
* This project does some crazy stuff with XML and something about slime molds...
* ----
* tree.h WAS CREATED IN VERSION 1.1.
* tree.h WAS LAST UPDATED IN VERSION 1.1.
*/
#ifndef TREE_H
#define TREE_H
#include "node.h"
#include ... | [
"andrewjkerr47@gmail.com"
] | andrewjkerr47@gmail.com |
627ba88197076e5888f39bcd4d3a5e3181ef270d | 1f40abf77c33ebb9f276f34421ad98e198427186 | /tools/output/stubs/Lua/LuaMathExtra_stub.cpp | 73c6610d968003e68210aa19793aa89fdba11b62 | [] | no_license | fzn7/rts | ff0f1f17bc01fe247ea9e6b761738f390ece112e | b63d3f8a72329ace0058fa821f8dd9a2ece1300d | refs/heads/master | 2021-09-04T14:09:26.159157 | 2018-01-19T09:25:56 | 2018-01-19T09:25:56 | 103,816,815 | 0 | 2 | null | 2018-05-22T10:37:40 | 2017-09-17T09:17:14 | C++ | UTF-8 | C++ | false | false | 1,889 | cpp | #include <iostream>
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
#include "LuaMathExtra.h"
#include "LuaInclude.h"
#include "LuaUtils.h"
#include "System/myMath.h"
#include "lib/streflop/streflop_cond.h"
static const lua_Number POWERS_OF_TEN[] = { 1.0f, 10.0f, 100.0f,
... | [
"plotnikov@teamidea.ru"
] | plotnikov@teamidea.ru |
c1a22e29742e624f52444b069a48bb622b1b7e74 | bacb98f977ff5908eb3ed36a4aa46c9ffcd1311c | /eu0069.h | 710143c1396851157d181dcc9db3b0555e4f7840 | [] | no_license | nrey/eulerOld | c0f5177bc9a3df4e1118670af166ea0bc2b001ab | a83e7d5dcae0cb56e930c100f7cb1f9cb864c07b | refs/heads/master | 2021-01-22T12:07:33.608340 | 2012-09-28T06:08:57 | 2012-09-28T06:08:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | h | #ifndef eu0069_h
#define eu0069_h
#include"euler.h"
class eu0069 : public euler{
public:
eu0069(){};
~eu0069(){};
void solucion();
void printsolution();
};
#endif | [
"melquiades@vueltiao.(none)"
] | melquiades@vueltiao.(none) |
cd8495bc87eb9ad9a01510810ead3cad81185086 | f36cd2870a5f523d1710608304fac2957438a7c8 | /Data Structures Projects (C++)/P3 BinaryTree/BinaryTree.h | cef658fda9d0e73edf81a379c126f9bf5bbdd477 | [] | no_license | jmaraffi24/Project-Experience | f94ced1c4efa8b0824de61868331c24cadff2c0d | 1e062cf15a5719382d4fd5a20af26f9247d32e3c | refs/heads/master | 2020-06-30T04:01:07.469964 | 2019-08-05T22:49:06 | 2019-08-05T22:49:06 | 200,718,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | h | #ifndef BINARYTREE_H
#define BINARYTREE_H
#include "ItemType.h"
#include<iostream>
class BinaryTree {
public:
struct Node {
ItemType key;
Node * left;
Node * right;
};
BinaryTree();
~BinaryTree();
void insert(ItemType &key);
void deleteItem(ItemType &key);
void retrieve(I... | [
"noreply@github.com"
] | noreply@github.com |
2d2f24b0bee8e05ad047167f5510dfc43eaaa3a4 | 3256f9eafd798d8bfbe1d6448a3ef522bc6bc95e | /Lecture/class7/1.cpp | 376e6f20e2894386a650d25e0aa46c47f773afc2 | [] | no_license | prayaglehana/Coding-Problems | b28fda44385473abacf478aa981f3c398aefe42d | 45e3f2331368701d7bdb5c26dbd2f3dc756eb13b | refs/heads/master | 2020-07-05T08:46:46.432954 | 2019-08-15T20:53:39 | 2019-08-15T20:53:39 | 202,594,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,848 | cpp | #include<iostream>
using namespace std;
class Node{
public:
int data;
Node *next;
Node(int data){
this->data=data;
next=NULL;
}
}*head=NULL;
void insertNewNode(int x){
if(head==NULL){
head = new Node(x);
}
else {
Node *last=hea... | [
"prayag.lehana02@gmail.com"
] | prayag.lehana02@gmail.com |
2df30cb5b2ab360bcc465c423105c941390d481e | 09ac9fa2b0bf77e4b0c31ec20a907513510c1293 | /001-High-Low.cpp | 7f0e8cf4648c10ec964ded4910bd369df686d5d3 | [] | no_license | joshualemmon/Misc-Programming-Challenges | aa64bd14eb860a2a52a3fab992cbee4ba984be27 | 302acd4fb40d7be4d630dadaee2f88affccd3632 | refs/heads/master | 2021-01-10T09:20:30.676753 | 2016-01-25T14:32:08 | 2016-01-25T14:32:08 | 49,588,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | cpp | //001 High/Low Guessing Game
#include <cstdio>
#include <stdlib.h>
#include <iostream>
#include <string>
#include <time.h>
using namespace std;
int genNum();
void guess(int i, int score, int total);
void start();
int main()
{
start();
return 0;
}
void start()
{
srand(time(NULL));
int startNum = genNum();
print... | [
"joshua.lemmon@uoit.net"
] | joshua.lemmon@uoit.net |
257be5964e1d168efa71705a8e0f42e7422dfb8b | 759641082ae619ca5e277adc97e2e36c4bb485fd | /modules/test/src/test.cpp | 7d12e31150caee7ed936af2ce397a6e135e03a07 | [] | no_license | eglrp/NaviX | c5199e92275474fef4d1b745f83f2d530b3ef3c5 | 1181786d9037235d2e64997d8d1c6f1d918bd34b | refs/heads/master | 2020-04-06T18:07:02.488906 | 2018-05-30T01:36:38 | 2018-05-30T01:36:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | #include <ros/ros.h>
#include <vector>
#include <algorithm>
#include <sensor_msgs/LaserScan.h>
const double limit = 0.3;
double rad2ang(double rad)
{
return rad*360.0/3.14;
}
double relu_acc(const double acc, const double limit, double x)
{
/*
* acc : same like k in liner fuction y=kx+b
* limit: y=kx+b which y ... | [
"bailiqun@gmail.com"
] | bailiqun@gmail.com |
54c400f26f792254120a9edb76714f92919ad92f | 094b6da11e1a45b2b9f165fa61e7b031874c5694 | /branch/IntrinsicHandling/Open64IRInterface/SymTab.cpp | d7bb4790f5d064f2bd6159f53b37fe6c8d70d97b | [] | no_license | BackupTheBerlios/useoa-open64-svn | 962752dc5c67ada16cf9c6190aae3e409ee6bd37 | 7d8807c92e05ce7a7484e8cf2f558da6ba317673 | refs/heads/master | 2016-09-05T15:53:59.201772 | 2010-05-13T04:10:51 | 2010-05-13T04:10:51 | 40,747,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,962 | cpp | // -*-Mode: C++;-*-
// $Header: /home/derivs2/mstrout/CVSRepository/UseNewOA-Open64/Open64IRInterface/SymTab.cpp,v 1.2 2006/03/16 03:48:55 mstrout Exp $
// * BeginCopyright *********************************************************
// *********************************************************** EndCopyright *
//*******... | [
"utke@eac892ec-190f-0410-9fdf-bfd8caa68912"
] | utke@eac892ec-190f-0410-9fdf-bfd8caa68912 |
80e58d4a03a1dd05c6f75019cb8c1228f7f7ec3b | feb84a38f82c36da00b6bdbff01f77bb039d366d | /FIEAGameEngine/Source/Library.shared/ActionList.h | 832c0b7a1665150aecaeaa4cd0c91e5143783d1c | [] | no_license | PranksterGD/DataDrivenGameEngine | 3d0910099702ac651f00ad46edd009b8d8121615 | b02c2fd3cc9e8f0517a3836ea62576ba1b35d771 | refs/heads/master | 2021-03-13T04:18:07.611314 | 2017-05-16T22:06:27 | 2017-05-16T22:06:27 | 91,508,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | h | #pragma once
#include <cstdint>
#include <string>
#include "Attributed.h"
#include "WorldState.h"
#include "Factory.h"
#include "Action.h"
namespace FieaGameEngine
{
class ActionList : public Action
{
RTTI_DECLARATIONS(ActionList, Action)
public:
/**Constructor for the ActionList.
* @param: name- The name o... | [
"ssuresh@fiea.local"
] | ssuresh@fiea.local |
5f41add14ba7fd6155f6c4c18ddce0b956f4d42d | 733882805346a6e34156a88bb04e9cdc97ca8ba5 | /sc-memory/sc-memory/utils/sc_signal_handler.hpp | 47bd6556465229eb6425b94a5e825a47afdc8d3f | [
"MIT"
] | permissive | ostis-dev/sc-machine | 21e14d8293378174f9321517c2d7bc3e94f8495c | 84c2b74b06d786bec75c1aa096e3dc95fbfdb3f7 | refs/heads/master | 2021-11-28T01:51:40.819230 | 2021-10-13T10:39:44 | 2021-10-13T10:39:44 | 3,524,603 | 13 | 17 | NOASSERTION | 2023-02-21T09:08:55 | 2012-02-23T11:04:25 | C++ | UTF-8 | C++ | false | false | 619 | hpp | /*
* This source file is part of an OSTIS project. For the latest info, see http://ostis.net
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#include "../sc_defines.hpp"
#include <functional>
namespace utils
{
/* This class used to handle sy... | [
"denis.koronchik@gmail.com"
] | denis.koronchik@gmail.com |
4993ae1c1d047c15861fa65e526717d07daefe78 | 91370b8a678ce7baed25e3c6d607468812a4f4cf | /Workshop2_home/Kingdom.cpp | afd25ef4c4062c4fe8d8d74829a5d2ca39c26147 | [] | no_license | sonechca/OOP244 | ec2bfce2ae8a6130d1b862497952356d28520a2e | a4d4bb280abee0fec47ee02ae927f4f893e59739 | refs/heads/master | 2022-02-08T08:44:10.149131 | 2019-08-17T23:00:08 | 2019-08-17T23:00:08 | 198,145,770 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | cpp | /***********************************************************
// OOP244 Workshop 2: Dynamic Memory
// File: Kingdom.cpp
// Date: May 23, 2019
// Author: Robert Robson
// Name: Mintae Kim
// Reason: Workshop 2 Home
// Student#: 141915181
// E-mail: mkim221@myseneca.ca
********************************************... | [
"noreply@github.com"
] | noreply@github.com |
1e0a1f4dff453c3d255e0c40d0dc1b19a539876e | 50d97e5a13c2184f2e1a076a3972a90cf2f4a8cf | /src/PolyLineProcessor.cpp | d743cdf5f0b47939e4156da52f86192bcaef2ab6 | [] | no_license | MaorG/cin2 | 51bc01a11e11bcc2c458f9ce2670c828e7a4f1dc | 159f634e69be54694444303f198020bd97256484 | refs/heads/master | 2021-01-17T12:30:29.701004 | 2014-12-29T14:50:11 | 2014-12-29T14:50:11 | 26,770,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,115 | cpp | #include "PolyLineProcessor.h"
#include <cinder/PolyLine.h>
#include <cinder/path2d.h>
#include <cinder/BSpline.h>
#include <math.h>
#include <stdio.h>
using namespace ci;
PolyLineProcessor::PolyLineProcessor()
{
}
PolyLineProcessor::~PolyLineProcessor()
{
}
void PolyLineProcessor::chainPolyLines(PolyLineEntity* fir... | [
"maor@slatescience.com"
] | maor@slatescience.com |
0d1d309c58060c0640c44c1c37e9e264e9f29b9c | f2bd29cc215ab26a73ebb132b492171102f80933 | /ModularLib/Filters/MultiStageWaveFolderFilter.h | baee90f0fbe4b374c192891aea4b18c021c43bbd | [] | no_license | djeemie2000/SynthPlayground | f319c1491744ad42bbc3501a2ffecdc44f887391 | daffa8887d568b306fdea071ad2f5b69fbebf074 | refs/heads/master | 2021-01-17T11:01:54.643937 | 2016-03-30T11:14:49 | 2016-03-30T11:14:49 | 18,151,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | h | #ifndef MultiStageWaveFolderFILTER_H
#define MultiStageWaveFolderFILTER_H
#include <cstdint>
#include <string>
#include <vector>
#include "AudioFilterI.h"
#include "WaveFolder2.h"
class CMultiStageWaveFolderFilter : public IAudioFilter
{
public:
CMultiStageWaveFolderFilter();
std::vector<std::string> GetInpu... | [
"peter.jamee@telenet.be"
] | peter.jamee@telenet.be |
ab6ce4a97fb837ae1ddb6bfe5eb901a29029376d | 24c6b6734234dd0c525e19c2b1402a39282ee130 | /J. Let's See!/Alter - reborn++.cc | a57512ffa00d2c5cb1d50d2fe1ce5eb3f7dd5d18 | [] | no_license | rebornplusplus/NGPC2019 | 803f1d8bb735bfb4d4c75b8ae38aca9d0274f195 | f70ccb99b18490498786e879de157cc1ba7442ca | refs/heads/master | 2020-09-17T03:57:29.577673 | 2019-11-27T10:13:30 | 2019-11-27T10:13:30 | 223,980,986 | 13 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cc | #include <bits/stdc++.h>
using namespace std;
int honey_bunny(int x) {
int ret = 0;
for(int i=1; i<=x; ++i) ret += x % i;
return ret;
}
void print_honey(int x) {
cout << x << ":";
for(int i=1; i<=x; ++i) cout << " " << (x % i);
cout << "\n";
}
void precal() {
static const int N = 1000;
for(int i=1; i<=N; +... | [
"noreply@github.com"
] | noreply@github.com |
196d08893323702667b415372f15eb2070010bfd | 3096ad776e7b552011d326a1d450828dfbf883cf | /device/display/layout.h | cd753ab68404292a51cc932dd69612c317832b32 | [
"MIT"
] | permissive | cmdc0de/libesp | 3f7b7a68c2b8a816f3129863767dafd9b8f2056a | 66aa47db98f2051f71c6352364952dfb611ff130 | refs/heads/master | 2023-08-23T07:28:27.349677 | 2023-08-05T22:01:07 | 2023-08-05T22:01:07 | 176,871,017 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,036 | h | #ifndef LIBESP_DEVICE_DISPLAY_LAYOUT_H
#define LIBESP_DEVICE_DISPLAY_LAYOUT_H
#include "../../error_type.h"
#include "../../math/bbox2d.h"
#include "color.h"
#include <memory>
#include "../../event_bus.h"
namespace libesp {
class DisplayDevice;
class RectBBox2D;
class Trait {
public:
class TraitUpdateContext {
pu... | [
"cmdc0dez@gmail.com"
] | cmdc0dez@gmail.com |
8b51b5d6aa9205e213e260e6306ba7aaf9b19a8a | 1f344020098132337eb4867e9fd2b770a3df73fc | /Fractional Knapsack/main.cpp | 59fde7c571f1f5e14d2bf1a24ff885a92bc6ac42 | [] | no_license | manik114/My-All-Programs | cde5ed37f0559a3e75665012aa1bc78f850f0e3d | 1708aeff6fa696158d95e4c49e9d55b180c9f71b | refs/heads/master | 2021-08-07T03:05:44.944964 | 2017-11-07T10:58:41 | 2017-11-07T10:58:41 | 109,823,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | #include <bits/stdc++.h>
using namespace std;
class package
{
int profit,weight;
public:
package(int profit,int weight)
{
this->profit=profit;
this->weight=weight;
}
friend bool cmp(package a,package b);
friend double knapSack(int w,package obj[],int n);
};
bool cmp (packag... | [
"mkmanik557@gmail.com"
] | mkmanik557@gmail.com |
93b3103f4f85e0be8a2aaa728460071b40dc5c11 | 2c97fc62eab1f78c4a5d1a83826a75209ebb6d39 | /绍兴一中集训/7.7做题/[Usaco2005 Dec]Cleaning Shifts 清理牛棚.cpp | 581205dd1a0821e476171fb3190dfeb38231d47d | [] | no_license | GaisaiYuno/My-OI-Code-1 | f32932f1004e593ffee0b0e97cffd25d9e2851bf | c57ec4e2aaa1d770ee9490a42710d1cf71a153f2 | refs/heads/master | 2020-12-31T23:13:46.913582 | 2020-02-08T01:09:46 | 2020-02-08T01:09:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,825 | cpp | //https://www.luogu.org/recordnew/show/20335265
#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#define maxn 100000
#define INF 0x3f3f3f3f3f3f3f3f
using namespace std;
int n,l0,r0;
struct tim{
int t1;
int t2;
int v;
friend bool operator < (tim p,tim q){
return p.t2<q.t2;
}
}a[maxn+5];
... | [
"1980878786@qq.com"
] | 1980878786@qq.com |
b9d9280d4fd0fa8e22df76dbe780e9c07e700d2b | d9580ef5b06b9236e067e233bc7bf307a43df9f9 | /Week_01/189.旋转数组.cpp | 300ff33e1fac1fefaff97491d3d8799c80ee24d6 | [] | no_license | yuanm21/algorithm016 | 7b058c7047fce8eecf144d9925dc7c420a6ead00 | c357a79c45b475870cf67a3297213d14db046bd3 | refs/heads/master | 2023-01-27T17:48:48.120286 | 2020-11-30T15:21:04 | 2020-11-30T15:21:04 | 295,092,013 | 0 | 0 | null | 2020-09-13T06:25:43 | 2020-09-13T06:25:43 | null | UTF-8 | C++ | false | false | 735 | cpp | /*
* @lc app=leetcode.cn id=189 lang=cpp
*
* [189] 旋转数组
*/
// 1. 暴力 否掉,边界判断太麻烦
// 2. 双指针 也就是双索引 交换 不对
// 3. 三次反转
// @lc code=start
class Solution {
public:
void rotate(vector<int>& nums, int k) {
if (k > nums.size())
{
k = k % nums.size();
}
reverse(nums, 0, ... | [
"yuanm21@163.com"
] | yuanm21@163.com |
df173f5eb029bb292d4a387bdc4a3c01c517474b | ffebf339862e2b886fff897c826053eea0cc3718 | /main.cpp | d1fe9197d64de4210072c7f5df0198b417b52016 | [] | no_license | LoganScholz-PING/platformIO_HelloServo | 46a4564739211ac80a692c9e06a38797eef3f654 | 583f180023121a229fb523f1a1a7f0c1c1ec0bde | refs/heads/main | 2023-05-01T04:36:01.725924 | 2021-05-05T17:19:11 | 2021-05-05T17:19:11 | 358,392,839 | 0 | 0 | null | 2021-05-05T17:19:11 | 2021-04-15T21:07:20 | C++ | UTF-8 | C++ | false | false | 10,631 | cpp | /********************************************************************************************
*
* ***DEFINITION OF SERIAL DATA PACKETS:***
* SEND:
* '<1>' - btnMTRSTART_Click()
* Start motor infinitiely spinning until commanded to stop
* '<2>' - btnMTRSTOP_Click()
... | [
"noreply@github.com"
] | noreply@github.com |
368345daa7345bbafdaba5bcbffa1c07e4660e0a | 59544e1476f7c358867ea64101d978d0461180ff | /heightfield_generation/heightfield_generation/math/ray2.h | e858119a2ac2ce612e1b9af87fa03604fdb698be | [] | no_license | ivan-reshetnyak/mountains | 8cdb06d31d2aca3171cceb64629632691e815480 | 37386653fc95563d12c619b1f2230bd37425aa2b | refs/heads/master | 2021-06-01T17:22:25.351788 | 2016-10-06T18:08:05 | 2016-10-06T18:08:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,209 | h | /* Reshetnyak Ivan */
#ifndef __vec2d_h_
#define __vec2d_h_
#include "vec2.h"
template<class type>
/* 2D ray representation type */
class ray2D
{
public:
vec2D<type>
Org, /* Origin */
Dir; /* Direction */
/* Class constructor.
* ARGUMENTS:
* - ray origin and direction.
... | [
"ivan.reshetnyak@gmail.com"
] | ivan.reshetnyak@gmail.com |
b2c113c4bb0e4d4812cd7b4b661b7e8e86da531c | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Debug/include/Fuse.Navigation.RouterPageRoute.h | b45764c9ace8861a47391636031e199828646482 | [] | no_license | epireve/hikr-tute | df0af11d1cfbdf6e874372b019d30ab0541c09b7 | 545501fba7044b4cc927baea2edec0674769e22c | refs/heads/master | 2021-09-02T13:54:05.359975 | 2018-01-03T01:21:31 | 2018-01-03T01:21:31 | 115,536,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Navigation/1.4.2/RouterPage.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h
namespace g{namespace Fuse{namespace Navigation{struct Route;}}}
namespace g{namespace Fuse{namespace Navigation... | [
"i@firdaus.my"
] | i@firdaus.my |
7a7b6d7c41a346a5aaa5a3f3ddd4a1e4872b0fc8 | 07d1480ec994f5f2390545d1443763f8658875b7 | /src/solutions/untexturedobjects/gl/texcoord.h | 6c8e394c11d58802c99dfdea8cbe34f7defb609a | [
"Unlicense"
] | permissive | grahamsellers/apitest | ce0a75210f72a0987bae32fb909f2de175b08852 | 2e683c4e5e674604a9a70dc373c0ccdd7da65eaf | refs/heads/master | 2021-01-17T23:13:19.780145 | 2014-06-19T16:58:46 | 2014-06-19T16:58:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | h | #pragma once
#include "solutions/untexturedobjectssoln.h"
// --------------------------------------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------------------------------------
// -----------------... | [
"jmcdonald@nvidia.com"
] | jmcdonald@nvidia.com |
0de1ac43357f4709a6f53f9ffb47923ad7ea0b9c | 98641c8825d8f01888aef5396a14b8583cef657d | /PrintMatrix/PrintMatrix/main.cpp | 3ceb5a4ba2c000802a981196e7ca0e14f86e9feb | [] | no_license | EvilPluto/Algorithm | b52c781aa62dfd9c0a521af1bd97c938b69611c3 | 1cac79299c672613874af02670bb3fd19ab2f18a | refs/heads/master | 2021-01-23T04:34:19.057906 | 2017-04-30T01:31:20 | 2017-04-30T01:31:20 | 86,210,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | //
// main.cpp
// PrintMatrix
//
// Created by 修海锟 on 2017/3/6.
// Copyright © 2017年 修海锟. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"xhk6870@163.com"
] | xhk6870@163.com |
78ffb61f6660f8e964e9a04f93a54c94b724cfaf | eb1ebe2675578ce6db2f4b85a8efbfd88a0a3f73 | /sbpl_dynamic_env_3D/sbpl_dynamic_planner_3D/src/pathVisualizer (copy).cpp | aa8be1d6778390b6337d9406203f16674d8adc8c | [] | no_license | venkatrn/SBPL_3D_Planners | f635a067242a198013876d4cba124c92c402568c | 859ed6732ab9c6c98cf6b449d9a2ebb944a119cd | refs/heads/master | 2021-01-25T07:40:14.942440 | 2012-08-07T15:52:57 | 2012-08-07T15:52:57 | 5,329,963 | 5 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 13,521 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include "visualization_msgs/Marker.h"
#include <sbpl/headers.h>
#include <vector>
#include <time.h>
#include <tf/tf.h>
#define ENABLE_TIME 0
using namespace std;
/**
* This node takes in a (x,y,z,yaw,time) path from "sol.txt" and publishes a quadrotor mesh for RVIZ... | [
"venkat@venkat.com"
] | venkat@venkat.com |
fb5ec6fefa736aa5b037a0f4c63d531240fb21a0 | de1644ee4099a698e7f3d86f46c789fdf66d0a4d | /Code/Tools/ToolsFoundation/Reflection/ReflectedTypeStorageManager.h | 6389494236f87ae0528186267f95ad88eda26a0d | [
"CC-BY-3.0"
] | permissive | eltld/ezEngine | 5cbe56c0f033763e1c9478c39e5979ac01430ec6 | 3230235249dd2769f166872b753efd6bd8347c98 | refs/heads/master | 2021-01-12T13:22:24.959311 | 2016-03-28T20:41:35 | 2016-03-28T20:41:35 | 72,212,613 | 0 | 1 | null | 2016-10-28T14:05:10 | 2016-10-28T14:05:10 | null | UTF-8 | C++ | false | false | 2,378 | h | #pragma once
#include <ToolsFoundation/Reflection/PhantomRttiManager.h>
#include <Foundation/Containers/Set.h>
class ezReflectedTypeStorageAccessor;
/// \brief Manages all ezReflectedTypeStorageAccessor instances.
///
/// This class takes care of patching all ezReflectedTypeStorageAccessor instances when their
/// e... | [
"jan@krassnigg.de"
] | jan@krassnigg.de |
3f824cd3525fc2add26bdacad23d0e998662cc5d | 81cd7bf5474c1b9ef94a0c31f749e7c9e641aebc | /Connect4_MiniMax/c4board.h | 98c49d54a373d083afe688e68213aec234da525f | [] | no_license | chishaung/CS_570-Artificial-Intelligence- | d0347a81fafe61673b812ec7a2051ed7f644ee68 | 9be761b9ab230b972c4e233a9df2806eea5ca1ef | refs/heads/master | 2020-05-30T11:15:15.433165 | 2015-03-07T00:17:17 | 2015-03-07T00:17:17 | 31,794,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | h | #include <iostream>
#include "rand.h"
#include <algorithm>
#define INFINITY 99999
typedef unsigned long long int Bit64;
using namespace std;
// input/output:
// .......
// .......
// .......
// .......
// .......
// .......
//
// ...O...
// ..XX...
// -
// -- is the end of game signal
//
class Board {
private:
... | [
"wang0162@vandals.uidaho.edu"
] | wang0162@vandals.uidaho.edu |
f98d7ac7c8f68aa8c8f06b9d72781d7f4924dce5 | 7a05ca8c82e2aa10cb7a9338b80b30f31dfa1b1e | /hphp/php7/cfg.h | f44c8b4d9912d6eea03970e47165a0b5adccd366 | [
"PHP-3.01",
"Zend-2.0",
"BSD-3-Clause"
] | permissive | djdagovs/hhvm | 608adb6f11ac8929c578a80fa7a15e48f8194ac7 | e4ac8082f9c8449653e169a35eef7d3251c0ffe2 | refs/heads/master | 2021-01-22T17:34:29.326916 | 2017-09-04T17:52:50 | 2017-09-04T18:11:49 | 102,397,347 | 1 | 0 | null | 2017-09-04T19:56:56 | 2017-09-04T19:56:55 | null | UTF-8 | C++ | false | false | 12,834 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"hhvm-bot@users.noreply.github.com"
] | hhvm-bot@users.noreply.github.com |
76205b0869387d5f2646e6b2b3db268db0fe8eb4 | 3e6da13329b52b1eec7ebb872523ffcec6b9114c | /L08/H8.3/Program.cpp | ec62800181cef7ae6cd44065e349acd144d73946 | [] | no_license | GreenStaradtil/AU-E19-E1OPRG | 45d0d90e184564313a973b71822b73774ce9b888 | 47eed6970c86e0c054655e11fc56c6e69ebb605d | refs/heads/master | 2022-03-11T03:36:30.180320 | 2019-11-20T01:02:03 | 2019-11-20T01:02:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include <stdio.h>
typedef struct {
int age;
int height;
float weight;
} Person ;
int main(void)
{
Person kid = { 10, 145, 35.5 };
Person adult = { 25, 180, 77.4 };
Person elderly = { 80, 166, 48.9 };
printf_s("--- Kid ---\nAge: %d\nHeight: \%d cm\nWeight: %.2f kg\n\n", kid.age, kid.heigh... | [
"kahr.rasmus@gmail.com"
] | kahr.rasmus@gmail.com |
ddddfdffb7702610425ac5f37049b21440ef281b | cf07f9454974e14597e6b01df11cf7ee94a08b4c | /Jacob/Code/GinRummySim.cpp | 844ecab961f6934174578faf791f9b18914029cc | [] | no_license | jsarvis/cop-ginrummy | 4d9b7c3b02fc4590538987b9a2f40a9e6d255adc | f3f68cf70a802d3aa932e518f35f1d19a4cd61cc | refs/heads/master | 2016-09-06T03:38:48.989270 | 2015-04-02T22:22:20 | 2015-04-02T22:22:20 | 33,334,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | #include "GinRummy.h"
using namespace SimModels;
int main() {
// Construct new conversation
try
{
GinRummy simulator;
// Output state of the simulator
simulator.Insert();
// Initialize simulator
simulator.Initialize();
// Output state of the simulator
simulator.Insert();
... | [
"jsarvis@users.noreply.github.com"
] | jsarvis@users.noreply.github.com |
2d9c17b1941891f70ef8aa58c1d1b4b6458aece8 | 999e3892ff400cbb8ecb9551d733b1516ddde557 | /VerkaufsAutomat/src/KassenZustand/WarteAufMuenze.cpp | 789cc9730da4474ff3630bb60910f253d180cec4 | [] | no_license | mgretler/VerkaufsAutomat | 84a0a553575e247cc7c0a9eba3d63d56132666d6 | 553b01afdc2b2eb6d5d919bacd7b406106ebdee8 | refs/heads/master | 2016-09-05T19:22:27.323116 | 2013-12-15T16:40:18 | 2013-12-15T16:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | /*
* WarteAufMuenze.cpp
*
* Created on: 15.12.2013
* Author: Markus
*/
#include "WarteAufMuenze.h"
#include <iostream>
WarteAufMuenze *WarteAufMuenze::pInstance = NULL;
WarteAufMuenze::~WarteAufMuenze() {
// TODO Auto-generated destructor stub
}
WarteAufMuenze::WarteAufMuenze() {
// TODO... | [
"markus.gretler@reishauer.com"
] | markus.gretler@reishauer.com |
26417cbdf44499e891a1f765075395e789e04a50 | 42331d7cf453cebb450bb1291b07e57e98c54016 | /cpp/include/cudf/detail/is_element_valid.hpp | f9f42bdae1dcfe8126b7a5236ada49439b596d4d | [
"Apache-2.0"
] | permissive | madsbk/cudf | c9fcd4026f6e0ace9c7a7ea89807780f288aa167 | acd7fdc3228b2fcc0f8ac98b53223bc113713deb | refs/heads/branch-22.08 | 2023-08-13T02:59:00.023098 | 2022-07-04T10:45:13 | 2022-07-04T10:45:13 | 185,614,031 | 0 | 0 | Apache-2.0 | 2022-07-17T23:38:20 | 2019-05-08T13:43:01 | C++ | UTF-8 | C++ | false | false | 1,530 | hpp | /*
* Copyright (c) 2021-2022, NVIDIA CORPORATION.
*
* 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... | [
"noreply@github.com"
] | noreply@github.com |
b3d87502caf0104a53efac5d7a3f30f771f89e7c | 51635684d03e47ebad12b8872ff469b83f36aa52 | /kernel/sys/readlink.cpp | b52e986d275ba4ccaa58abcf2a9dda5f3f3da3e8 | [
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,048 | cpp | /*-
* SPDX-License-Identifier: Zlib
*
* Copyright (c) 2009-2018 Rink Springer <rink@rink.nu>
* For conditions of distribution and use, see LICENSE file
*/
#include "kernel/types.h"
#include <ananas/errno.h>
#include <ananas/flags.h>
#include "kernel/fd.h"
#include "kernel/process.h"
#include "kernel/result.h"
#inc... | [
"rink@rink.nu"
] | rink@rink.nu |
84a8213a984378b2a2981c8065e83ad78946885b | d96a0bef3739db3ea71d5f85324fb290c57b74a4 | /Contests/Codechef/MAY18/Mpfr_double.cpp | 28dca1c9e854291850b22f03911798fbaac8fb0e | [] | no_license | sankar96/Competitive_Programming | 386b1aa0c9799399878f8190afee8b332da88da0 | 59bef7009a2e971714dddf679ca78a0b478f9bc4 | refs/heads/master | 2020-03-11T08:01:24.880550 | 2018-12-10T07:27:11 | 2018-12-10T07:27:11 | 129,872,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include <chrono>
#include <ctime>
#include <iostream>
#include <mpfr.h>
#include <ratio>
#define ONEMILLION 1000000
using namespace std;
void mpfr_d () {
mpfr_t a;
mpfr_init (a);
mpfr_t b;
mpfr_init (b);
mpfr_set_str (a, "0.5585648756", 0, MPFR_RNDZ);
for (int i = 0; i < ONEMILLION; i++) {
... | [
"sankaranarayanan.g@zohocorp.com"
] | sankaranarayanan.g@zohocorp.com |
702f19ed22af9cfef41e04011b11181edf042787 | 387a5bd6011a74d4c0b9078f4b9f7c33d8351571 | /505/a.cpp | 60d685f0885507d0570408f14fe121bf4a58b8e3 | [] | no_license | caithagoras/codeforces | cb6bd9046b495be5006818f2ede982b711e9efa8 | 06791e94c8e723d24ecab610c0ffa2f911190598 | refs/heads/master | 2021-01-19T22:01:35.526800 | 2015-03-17T19:36:14 | 2015-03-17T19:36:14 | 29,934,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | #include <iostream>
using namespace std;
bool p(string s){
int i = 0;
int j = s.length()-1;
while (i<j) {
if (s[i] != s[j]) return false;
i++;
j--;
}
return true;
}
int main() {
string s;
cin>>s;
for (int i=0;i<=s.length();i++) {
char c;
if (s.length() % 2 == 1) {
if (i <= s... | [
"caithagoras@gmail.com"
] | caithagoras@gmail.com |
4116b42d63af82bc274e87386287b1e9401645df | 33321b4733be80d98dda7b3c3618c2692dea59bb | /AfxHookSource/CampathDrawer.h | 3bf341fb0503fd79f400710bd384d36a502335ae | [] | no_license | netglowlovesyou/advancedfx | 6202862ddcf36c2858fc84295c26a973741bf7be | cb4a5cb30d3c265a26ec31f572900db4511ae05c | refs/heads/master | 2021-01-15T14:36:46.074153 | 2015-12-10T05:29:57 | 2015-12-10T05:29:57 | 47,743,872 | 1 | 0 | null | 2015-12-10T06:57:44 | 2015-12-10T06:57:43 | null | UTF-8 | C++ | false | false | 2,767 | h | #pragma once
// Copyright (c) advancedfx.org
//
// Last changes:
// 2015-08-03 dominik.matrixstorm.com
//
// First changes:
// 2010-04-22 dominik.matrixstorm.com
#include "SourceInterfaces.h"
#include "AfxShaders.h"
#include <shared/CamPath.h>
#include <d3d9.h>
#include <list>
#define CCampathDrawer_... | [
"dominik@matrixstorm.com"
] | dominik@matrixstorm.com |
6c545c808e627d156493c7d20be1791a6aa4f6e9 | f196ad7961e07488fd87b28a151966576f21ef16 | /Clear/kdevelop/Clear/bitboard.cpp | a4b6e8f4fc16cc54b9864c11a36827c4bd11af7e | [] | no_license | Errleng/chess-engine | b8e7991ba18fc8aa490d6b25261d5ff3a11ea886 | 2e08cf552ee97a16f59188e491b049780371aa4d | refs/heads/master | 2023-02-16T02:22:38.047165 | 2019-09-17T23:28:35 | 2019-09-17T23:28:35 | 329,190,928 | 0 | 0 | null | 2021-01-13T04:29:36 | 2021-01-13T04:13:31 | C++ | UTF-8 | C++ | false | false | 702 | cpp | #include "bitboard.h"
#include <iostream>
bool Bitboard::isEmpty() {
return value == 0;
}
void Bitboard::setBit(int square) {
value |= Utils::setMask[square];
}
void Bitboard::clearBit(int square) {
value &= Utils::clearMask[square];
}
int Bitboard::popBit() {
unsigned long long b = ... | [
"dullbland@gmail.com"
] | dullbland@gmail.com |
66fc112c221d1f32e20034815f6c57c0e5b09b4a | 2d5ee110f7397af32613b8c385b5f8930ff891af | /sim/src/main/cc/midasexamples/Risc.h | 25cca9c0bf9f891644ea79427dd8cc3ed32a0b88 | [
"LicenseRef-scancode-bsd-3-clause-jtag"
] | permissive | CSL-KU/firesim-nvdla | 2f99036dba4576c875c348b6971daacb289da72c | c71694c972469013af7c2f9ca1dface9498da73e | refs/heads/nvdla | 2022-01-30T04:35:18.950793 | 2020-03-09T18:21:08 | 2020-03-09T18:21:08 | 166,863,012 | 162 | 36 | NOASSERTION | 2022-01-16T15:40:44 | 2019-01-21T18:46:38 | Python | UTF-8 | C++ | false | false | 3,396 | h | //See LICENSE for license details.
#include "simif.h"
typedef std::vector< uint32_t > app_t;
class Risc_t: public virtual simif_t
{
public:
uint32_t expected = 4;
uint64_t timeout = 10;
Risc_t(int argc, char** argv) {}
void run() {
app_t app;
init_app(app);
target_reset();
wr(0, 0);
for... | [
"david.biancolin@gmail.com"
] | david.biancolin@gmail.com |
ffaac4846720874479d072a1efbfcf086ec4eef5 | 2b5eb175bbae68f9dd129854c118a7390fd0fa97 | /src/System.cpp | 09fd468ca8b6d99739eca3f672be21e594838000 | [] | no_license | ChristopherNugent/particle-sim | 6bf9e9a9ccdc749a7069b9882a7a0bd642cab03b | 20df808ef05168cce07b01ade560052c72471b2e | refs/heads/master | 2021-04-27T16:43:38.012288 | 2018-11-05T20:45:01 | 2018-11-05T20:45:01 | 122,309,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,475 | cpp | // System.cpp
#ifndef SYSTEM
#define SYSTEM
#include "System.h"
// Randomizes the state of the passed particle according
// to the bounds of the systes
void System::randomizeParticle(Particle& p) {
double mass = MAX_MASS * randomFloat();
p.mass = mass;
for (int j = 0; j < Particle::D; ++j) {
p.po... | [
"awedeven+github@gmail.com"
] | awedeven+github@gmail.com |
a127e240eda57a5820ca142fa64e3fbfa2bfe9ec | 32cbb0a1fc652005198d6ed5ed52e25572612057 | /core/src/eti/Cuda/Kokkos_Cuda_ViewCopyETIInst_int64_t_int_LayoutRight_Rank8.cpp | f024fe4aab213f0d6c1066f8b8645f96d89df598 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ORNL-CEES/kokkos | 3874d42a685084f0eb7999939cd9f1da9d42a2a6 | 70d113838b7dade09218a46c1e8aae44b6dbd321 | refs/heads/hip | 2020-05-04T03:32:58.012717 | 2020-01-24T20:43:25 | 2020-01-24T20:43:25 | 178,948,568 | 1 | 1 | NOASSERTION | 2020-03-01T19:21:45 | 2019-04-01T21:19:04 | C++ | UTF-8 | C++ | false | false | 2,581 | cpp | //@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this software... | [
"crtrott@sandia.gov"
] | crtrott@sandia.gov |
29a4c24b63e93ff761aaa085a5c387f48a06f9aa | 8584afff21c31c843f520bd28587a741e6ffd402 | /AtCoder/ABC/186/a.cpp | 2dcf10a67f74c932b094ae7975a5d89182cc57d6 | [] | no_license | YuanzhongLi/CompetitiveProgramming | 237e900f1c906c16cbbe3dd09104a1b7ad53862b | f9a72d507d4dda082a344eb19de22f1011dcee5a | refs/heads/master | 2021-11-20T18:35:35.412146 | 2021-08-25T11:39:32 | 2021-08-25T11:39:32 | 249,442,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,367 | cpp | #define LOCAL
#ifdef LOCAL
#define _GLIBCXX_DEBUG
#endif
#include <bits/stdc++.h>
using namespace std;
#define rep(i,s,n) for (int i = (ll)s; i < (ll)n; i++)
#define rrep(i,n,e) for (int i = (ll)n; i > (ll)e; i--)
#define ll long long
#define ld long double
#define pb push_back
#define eb emplace_back
#define All(x) x... | [
"liyuanzhongutokyos1@gmail.com"
] | liyuanzhongutokyos1@gmail.com |
b1625ebe9cf3a410b23978d689a61e07350c76c3 | b7d3be4b909100b193153d6de98ef5ca784ab37d | /code/GlobalIncs/AlphaColors.cpp | 890fbf5d9017907091bbdc69cfe6fa145792f60c | [] | no_license | RandomTiger/fs2_Unity | a4e5c4ddbb38a875ce58020da5f268573365a0c2 | 570ea0945ee21a0f498d528e0d71e3757a910a25 | refs/heads/master | 2020-12-25T07:22:14.528983 | 2016-06-05T11:16:09 | 2016-06-05T11:16:09 | 60,455,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,370 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#include "2d.h"
#include "AlphaColors.h"
// ----------------------------... | [
"RandomSnowTiger@gmail.com"
] | RandomSnowTiger@gmail.com |
ddad71429420f33ffdc9653c8b1632876fd3ef19 | 6236a210b8f2aa4ef1d611ee76fd0135d82ddb10 | /Myparser/mainwindow.h | 84aa8bf03eaf26fa2869176f19ff966667d73a1c | [] | no_license | linln1/MyParser | a2dc43b755a7582580c36357c4610c93bc6ed3c3 | 2e6a7036b4267b4ee27d8f1566697451e50ea122 | refs/heads/master | 2023-01-14T13:45:37.276636 | 2020-11-20T11:24:23 | 2020-11-20T11:24:23 | 311,681,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonValue>
#include <QJsonParseError>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *par... | [
"19801335167@163.com"
] | 19801335167@163.com |
6f7652bcbd2eb118eeed18eb1f5575343580c31d | 52076d51dfa8f41e0f318caf21221f73ed737b5a | /5.Longest-Palindromic-Substring/manacher.cpp | 40902c682300a6fe409a876528a26c1991f7e4d0 | [] | no_license | kevinkwl/mLeetcode | 2371cbbced3bf29ef0948c3e6eb1f331aa663d10 | a0aa7c87aa1e95bac21467036b92c6adb5977a36 | refs/heads/master | 2020-04-07T10:03:50.381212 | 2018-10-11T11:41:23 | 2018-10-11T11:41:23 | 124,202,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | cpp | class Solution {
public:
string longestPalindrome(string s) {
if (s.size() == 0)
return "";
string t = "^#";
for (char c: s) {
t += c;
t += '#';
}
t += "$";
vector<int> p(t.size(), 0);
int center = 1, right_bound = 1;
... | [
"lingkangwei.kevin@gmail.com"
] | lingkangwei.kevin@gmail.com |
ac627258e0598776b59edcd06f385d62d028a319 | 3e8184db0022f42a75821975904f14935466e21a | /linklistv2.cpp | 806b2657343bdad647d9af3db93282a56f091932 | [] | no_license | priyanka-aggarwal/c- | 899dee237ea48735464c1a1f4f1e9d2ae8365d44 | 06c92d55bde2547b53a12f8e02441eb89cd2e284 | refs/heads/master | 2020-04-27T06:12:11.264409 | 2019-03-06T08:16:10 | 2019-03-06T08:16:10 | 174,101,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,546 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
class node
{
int info;
node *next;
public:
node()
{
info=0;
next=NULL;
}
node(int x=0,node *n=NULL)
{
info=x;
next=n;
}
friend class linklist;
};
class linklist
{
node ... | [
"noreply@github.com"
] | noreply@github.com |
862d6ee20d9f34b29aee5758ea7f91d8e61c89b2 | da1500e0d3040497614d5327d2461a22e934b4d8 | /third_party/woff2/src/woff2_dec.cc | 9d2799e035112c3940e5d27e2e72647ac29f3ced | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LGPL-2.0-or-later"
] | permissive | youtube/cobalt | 34085fc93972ebe05b988b15410e99845efd1968 | acefdaaadd3ef46f10f63d1acae2259e4024d383 | refs/heads/main | 2023-09-01T13:09:47.225174 | 2023-09-01T08:54:54 | 2023-09-01T08:54:54 | 50,049,789 | 169 | 80 | BSD-3-Clause | 2023-09-14T21:50:50 | 2016-01-20T18:11:34 | null | UTF-8 | C++ | false | false | 45,318 | cc | /* Copyright 2014 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* Library for converting WOFF2 format font files to their TTF versions. */
#include <woff2/decode.h>
#include <algorithm>
#include <complex>
#include... | [
"dahlstrom@google.com"
] | dahlstrom@google.com |
59f5a536b4ff7eb65349fcda3ea1d79871780c02 | 69b4f7c49f18fc193f49275a2d32ffbcbe70471d | /SPOJ/MESSAGE.cpp | fb2cd991a082c6504851464ca99d0f86cd8d8c3c | [] | no_license | TD2106/Competitive-Programming | 05f322a14f1e7a1d62633b713f1416ab0c547b3b | 2905c9d5f36909330fc3637f5461aaba8928a154 | refs/heads/master | 2020-04-03T12:59:49.790124 | 2019-09-21T14:51:08 | 2019-09-21T14:51:08 | 155,270,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | #include <bits/stdc++.h>
#define bug(x) cout << #x << " = " << x << endl
#define fr(x) freopen(x,"r",stdin)
#define fw(x) freopen(x,"w",stdout)
#define all(x) x.begin(),x.end()
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define reset(x) memset(x,0,sizeof(x))
#define up(i,l,r) for(int i... | [
"duy.le@ubitec.ch"
] | duy.le@ubitec.ch |
2e5caec5bcba54506385994f9a4c73e3bec33626 | e0654961ba79338e82a0ba03360e97ead4465285 | /include/argot/receiver/graphviz/vertex_property.hpp | 438a73baa2a9a3488ec96ef5ae2337aaa299798c | [
"BSL-1.0"
] | permissive | blockspacer/argot | 68f0e2a56fb4686989b47d0ad0f6127167ea0a9a | 97349baaf27659c9dc4d67cf8963b2e871eaedae | refs/heads/master | 2022-11-25T02:57:08.808025 | 2020-08-04T21:15:00 | 2020-08-04T21:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,468 | hpp | /*==============================================================================
Copyright (c) 2016, 2017, 2018 Matt Calabrese
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=======================================... | [
"matt@boost.org"
] | matt@boost.org |
e4843ee8242f27be62de63e841777815bed22677 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5708921029263360_0/C++/thezodiac/p1.cpp | cb17e964041015edd8be151626fdf2dfb7087761 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | #include <bits/stdc++.h>
#define fore(i,j,k) for(int i = j;i<k;i++)
#define forr(i,j,k) for(int i = j;i>k;i--)
#define LL long long
using namespace std;
int J,P,S,k;
int ans [1001][3],cnt = 0;
void rec (int jp[3][3],int ps[3][3], int js[3][3], int jps[3][3][3]){
fore(j,0,J)
fore(p,0,P)
... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
5afa7369f3602b102df1a638c5afa72226be6e79 | 7984224008c530d19c661b2abe52f750181756c9 | /Assignment_5/Cowboy_Platformer/Cowboy_Platformer/Entity.cpp | 193baf7c4f30e9830a0d1b82a2b87e681972de8d | [] | no_license | taranumesh/CS3113_Projects | 0fdea5a4014b90caa2907dff3e58b4b86720958e | 204b280583ee0f964b6cfbc5c579ab848cf872b2 | refs/heads/master | 2021-01-04T22:59:56.474784 | 2020-05-12T03:48:41 | 2020-05-12T03:51:44 | 240,787,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,121 | cpp | #include "Entity.h"
Entity::Entity()
{
position = glm::vec3(0);
movement = glm::vec3(0);
acceleration = glm::vec3(0);
velocity = glm::vec3(0);
speed = 0;
modelMatrix = glm::mat4(1.0f);
}
void Entity::AIWaitAndGo(Entity *player) {
movement = glm::vec3(-1, 0, 0);
}
void Entity::AIWalke... | [
"tara.umesh@gmail.com"
] | tara.umesh@gmail.com |
aed415076e79794730b066a2ad4dda04bd2549c0 | 93174920412b1f7951330a71843595198ad77cb3 | /src/ArduboyAdvanceCore.cpp | 58b988d00006dcaa94052918a27a5b84dc4244f0 | [] | no_license | t21/ArduboyAdvance | bf1ea05150d178a7b9d2ff9db2845cca6eda2ec4 | ecf4b3a93bac5ca6917a3c81986beacdbc608964 | refs/heads/master | 2021-09-19T23:34:51.636763 | 2018-08-01T11:59:09 | 2018-08-01T11:59:09 | 111,333,882 | 0 | 0 | null | 2018-03-22T18:28:33 | 2017-11-19T21:33:45 | C++ | UTF-8 | C++ | false | false | 33,273 | cpp | /**
* @file Arduboy2Core.cpp
* \brief
* The Arduboy2Core class for Arduboy hardware initilization and control.
*/
#include "ArduboyAdvanceCore.h"
#include "pins_arduino.h"
// #define USE_SPI_LIBRARY
// #define SET_BIT(port, bitMask) digitalWrite(*(port), HIGH);
// #define CLEAR_BIT(port, bitMask) digitalWrite(*(p... | [
"thomas.berg2@gmail.com"
] | thomas.berg2@gmail.com |
ff3face366fadffd7d44ed3d9bef7b926e9bd80e | a190458c32197f554bb66bf4b13b5a855c577566 | /12stackAndQueue/stack.hpp | 73927c579f29efe76be1fa404faa035370349c59 | [] | no_license | YunaLin/cplusplus | 5d162da9e4da2048eb72238ec66c0e2b4fb3a79b | 14c7f26e6c7a6176336ec3dfbb78d4fde48fb8d0 | refs/heads/master | 2020-12-24T10:16:12.089351 | 2016-11-07T15:43:25 | 2016-11-07T15:43:25 | 73,088,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | #ifndef STACK_H_
#define STACK_H_
#define MAX_SIZE 10
class stack {
private:
int * storage;
int max_size;
int top;
public:
stack() {
this->storage = new int[MAX_SIZE]();
this->max_size = MAX_SIZE;
this->top = -1;
}
~stack() {
delete []this->storage;
}
void push(int);
void pop(void);
... | [
"linzy28@mail2.sysu.edu.cn"
] | linzy28@mail2.sysu.edu.cn |
506bfdf812a655874dea498235aa50f7db91a6ff | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest2/0.02/k | 61cd83b42eb260fe5a521dcab2b0debee773e6ba | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321,324 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.