blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M โ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4cb9363d30b29fecde20a972098d2be0894e9613 | 1fc630a1974f0f8ff4a9fb8740f468e416619a1c | /src/glux_engine/BoundingSphere.cpp | 97af615a26d2e5142a2c215d1f4a48f6eb18fda2 | [] | no_license | inavratil/fit-renderer-sandbox | 8b322c4b3c56a54cb2f16e49b81c22e6976b2748 | abf555578f914f8f0fabaf6616a09e65de73559d | refs/heads/master | 2020-05-16T21:43:46.240345 | 2012-11-30T08:13:43 | 2012-11-30T08:13:43 | 30,955,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | #include "BoundingSphere.h"
BoundingSphere::BoundingSphere(void)
{
radius = 0.0f;
center = glm::vec3(0.0f, 0.0f, 0.0f);
}
BoundingSphere::~BoundingSphere(void)
{
}
| [
"nmanjofo@pretaktovanie.sk"
] | nmanjofo@pretaktovanie.sk |
3fb010d5c1fe067e286aafe52acc8ca6b9060e2d | 6a6193dc6dc8a49cf92846d8011c1f37c7c1fb48 | /test/correctness/tracing_broadcast.cpp | 2bba2370cd6ec98229bd4a895ad7178c555f214e | [
"MIT"
] | permissive | StanfordAHA/Halide-to-Hardware | ac10c68fea5a295a8556284bec67dbd1ab8feffc | 135c5da2587e6f6b17b2e9352a456a645367ad4e | refs/heads/master | 2023-08-31T07:00:40.869746 | 2021-10-20T19:16:51 | 2021-10-20T19:17:08 | 167,240,813 | 76 | 14 | NOASSERTION | 2023-09-06T00:09:25 | 2019-01-23T19:25:20 | C++ | UTF-8 | C++ | false | false | 761 | cpp | #include "Halide.h"
#include <stdio.h>
using namespace Halide;
int my_trace(void *user_context, const halide_trace_event_t *e) {
if (e->event == halide_trace_store) {
for (int i = 0; i < e->type.lanes; ++i) {
int val = ((const int *)(e->value))[i];
if (val != 1234567890) {
... | [
"psuriana@google.com"
] | psuriana@google.com |
23da82116054ccd29853916c41a55a2af76c0785 | 71ea10c6e495914524f83d70f663313ec85575b9 | /Engine/Engine/InitDirect3DApp.cpp | ffb79ae616513dd1e1f8a00b76422944af3ebd4f | [] | no_license | dastyk/Engine | 1f05593d0cd686ba62c5bd76eb3177a8478f6d8c | 994fca58dafe421e287ee849694890138dfe8dc9 | refs/heads/master | 2020-04-19T08:44:47.299984 | 2018-08-08T09:06:18 | 2018-08-08T09:06:18 | 27,827,631 | 1 | 0 | null | 2014-12-12T14:09:10 | 2014-12-10T16:07:56 | C++ | UTF-8 | C++ | false | false | 16,058 | cpp | #include "InitDirect3DApp.h"
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow)
{
#if defined(DEBUG) | defined(_DEBUG)
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
#endif
InitDirect3DApp app(hInstance);
if (!app.Init())
return 0;
return app.Run()... | [
"dastykill@gmail.com"
] | dastykill@gmail.com |
e2bb35982082bb4a289859d2d792e88714bcc258 | 62dab2a898c65b47b1eb22bc2a9ce329574d2db9 | /src/ECS/entity_system.cpp | 000839e0dc46e040bfb8d2cf96a235d86c4b40b5 | [
"MIT"
] | permissive | kevin-jugg/project42 | 9649a2fcc97d189ecf296ae3e85b0888e0e55630 | 6b4ee7310e4cbb334983658adfcf5ad6b2b2de4d | refs/heads/master | 2022-04-23T12:02:12.493951 | 2020-04-17T16:46:15 | 2020-04-17T16:46:15 | 256,208,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include "ECS/entity_system.hpp"
#include <memory>
using namespace std;
void EntitySystem::setup(shared_ptr<EntityManager> em, shared_ptr<EventManager> ev, bool can_be_paused)
{
entity_manager = em;
event_manager = ev;
this->can_be_paused = can_be_paused;
init();
}
void EntitySystem::add_query(share... | [
"55257311+kevin-jugg@users.noreply.github.com"
] | 55257311+kevin-jugg@users.noreply.github.com |
3673f5db492033de0fef8bcc2021f2fffc99afc9 | 74de112379518b6eae6dac989b5e76b968a9d1de | /dscode/chapter9/vertical.cxx | 9c6fe99676db66ff8bad95ac92f0edea11c3f1ab | [] | no_license | Bolwing/COD-CIS2541-2542 | 7de5e23430d404df708a1ca21d4e695eff0061d3 | 0c0005fb05d2110e4ac74b8fefd11cb8e577579d | refs/heads/main | 2023-08-10T09:13:56.300631 | 2021-09-21T17:27:29 | 2021-09-21T17:27:29 | 408,911,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,234 | cxx | // FILE: vertical.cxx
// Examples of two recursive functions that write the digits of a number
// vertically.
#include <iostream> // Provides cin, cout
#include <cstdlib> // Provides EXIT_SUCCESS
using namespace std;
// PROTOTYPES of the functions used in this demonstration:
void write_vertical(unsigned int... | [
"noreply@github.com"
] | Bolwing.noreply@github.com |
541c9f0812d0805506b57fd4681b308846d1bfb2 | 40aaf3d9ac27dcbfd51d3988d8a9497ec9f2651a | /proyectos/basureo_inteligente/codigo_arduino/codigo_modulos_separados/compresor/compresor_v2.ino | 9ec21dc0921ad7cebd3b6c9422be4a4cf67c531c | [] | no_license | randyma01/SOA4ID-RANDY | 5f007282cf39af8867edcdcebd6dbfc049c57174 | 38b3524c96eb1f60c00ac52cb18e1d4bc88305a9 | refs/heads/master | 2020-04-21T12:53:35.217819 | 2019-04-08T22:47:36 | 2019-04-08T22:47:36 | 169,579,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,624 | ino | /*
* Estudiantes: Randy Martรญnez y Gustavo Fallas
* Carnets: 2014047395 y 2014035394
* Proyecto #1: IoT - Basurero Inteligente
* Descripciรณn: El siguiente cรณdigo forma parte del mรณdulo del
motor DC que acciona el movimiento del compresor de basura.
* Nota: El cรณdigo original es propiedad de Adrรฌa Garcรญa... | [
"randyma01@gmail.com"
] | randyma01@gmail.com |
949074c4cc21c42ad610882273617dba6c0ae1f4 | 9499246f32adf51c8b5a327f56be402a9b59abbc | /tests/07-Materials/main.cpp | 87e55edad94babee4643344988918a553d420c7e | [] | no_license | atoxiam/Graphics_Library | af83a7480c638b31cb5889ad4f060a03b67ebf8b | 8d83211bedf54fb4be2b9dd6dbd26780acc29585 | refs/heads/master | 2021-01-18T20:11:47.513868 | 2017-10-26T21:57:39 | 2017-10-26T21:57:39 | 100,545,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,747 | cpp | #include "graphics\Context.h"
#include "graphics\draw.h"
#include "graphics\Gameobjects.h"
#include "graphics\Load.h"
#include "graphics\RenderObjects.h"
#include "graphics\Vertex.h"
#include "glm\ext.hpp"
int main()
{
Context context;
context.init(1280, 720);
Vertex vquad[] = {
{ { -1,-1,0,1 },{},{ 0,0 },{ 0,0... | [
"melton.xavier98@gmail.com"
] | melton.xavier98@gmail.com |
6fbbe942487555a1a4729360352ce2656b878d69 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/extensions/extension_error_ui_default.cc | 42adc7fcb944c8d7824866a8251de30232f18931 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,469 | cc | // Copyright (c) 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.
#include "chrome/browser/extensions/extension_error_ui_default.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "c... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
02f6644c19fa588a4b7aaafd8861c433431224d0 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc | d7a27b21958554a3848d796789ff30832f2a5153 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | 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.
#include "chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h"
#include <utility>
#include "chrome/browser/renderer_context_menu/render_... | [
"dummas@163.com"
] | dummas@163.com |
5b53f72d7a4f9b16fa5ee12c267d040bb12d5bd3 | 65d2bb047bad2a308a4b3ad955a7a18383b9091a | /xunit-test/TransactionTest/TransactionTest.h | 4b2ed04bbb73349933a4b57c97e5a6b40101208b | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | infinispan/cpp-client | 6bf9cdcedaa795bea1f0751fefe6c4bd73ef4111 | 0d7f6b7bc2190ec1ece399c1b5d97e1d2770081b | refs/heads/main | 2023-09-06T00:05:18.273183 | 2023-04-18T16:01:43 | 2023-04-18T16:01:43 | 9,675,051 | 7 | 11 | NOASSERTION | 2023-04-06T08:00:59 | 2013-04-25T15:33:11 | C++ | UTF-8 | C++ | false | false | 981 | h | #include "gtest/gtest.h"
#include <memory>
namespace infinispan {
namespace hotrod
{
class RemoteCacheManager;
}
}
// The fixture for testing class Foo.
class TransactionTest : public ::testing::Test {
public:
static std::unique_ptr<infinispan::hotrod::RemoteCacheManager> remoteCacheManager;
static std::unique_... | [
"afield@redhat.com"
] | afield@redhat.com |
6df3132de1df5f5a60dac5d28d6060f3a9eaf0a6 | 76dc9901e663f42e8968fc4093bc4914b1fdbaa8 | /contrib/classlib_impl/ParallelImp.cpp | e131b2592d2b8b91d89489047ac3632a3bd8a893 | [
"Apache-2.0"
] | permissive | mballance/psi | 0d0390c527c7bb1f064f07e81c01914f38429712 | 7f71df1c29ff36a4f6dfab46cccf38d10bd70902 | refs/heads/master | 2020-04-03T20:54:26.897465 | 2017-02-15T01:58:38 | 2017-02-15T01:58:38 | 57,248,329 | 2 | 3 | null | 2016-08-04T18:37:37 | 2016-04-27T21:11:50 | C++ | UTF-8 | C++ | false | false | 1,267 | cpp | /*
* parallel.cpp
*
* Copyright 2016 Mentor Graphics Corporation
* All Rights Reserved Worldwide
*
* 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/li... | [
"matt.ballance@gmail.com"
] | matt.ballance@gmail.com |
9907861a9f80a39bbf86cae0fb5f4a656a0037fe | f4542854fd7a1fdea4f7f1c0aebabf0eddb93f15 | /src/include/imgUtils.hxx | 81104a6225b49e81575cd390e884b4ac5204a6c9 | [] | no_license | Hdbcoding/sdl_tutorials | 609faab777f27ecdfac8b6a0ccedd687c3dd899c | f778942e66b01d4b7b9dcf1a5e6a28881b3e7bbf | refs/heads/main | 2023-02-05T09:15:21.858190 | 2020-12-22T02:10:10 | 2020-12-22T02:10:10 | 310,889,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | hxx | #pragma once
#include <string>
#include "SDL.h"
#include "SDL_image.h"
bool initIMGPng(Uint32 flags = IMG_INIT_PNG);
SDL_Surface *loadImage(const std::string &filename);
SDL_Surface *loadImageOptimized(const std::string &filename, const SDL_Surface *source);
SDL_Texture *loadImageTexture(const std::string &filename, ... | [
"henry.byrd@claricode.com"
] | henry.byrd@claricode.com |
5d401fb3f6c3f5efcdadbd1936c57e7bd7a44cfc | 831d8c82fb203aa798f996abd79fff7bb93eea5b | /src/ArduinoSerialServer.ino | a98d98b98f4f5c40e3019d15319043bf56cbecdc | [] | no_license | ChildrensMuseumOfSouthernMinnesota/ARSandboxMods | 64a8a3585e1f6cf4f364278b4ab4a081cd0bb290 | 971020fdbcf0ecd10cccfc3831fd1a8cc8b428f4 | refs/heads/master | 2016-09-13T13:49:29.519811 | 2016-05-14T20:57:18 | 2016-05-14T20:57:18 | 58,334,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | ino | bool sent = false;
void setup() {
Serial.begin(9600);
pinMode(2, INPUT_PULLUP);
pinMode(3, INPUT_PULLUP);
pinMode(4, INPUT_PULLUP);
pinMode(5, INPUT_PULLUP);
pinMode(6, INPUT_PULLUP);
pinMode(7, INPUT_PULLUP);
pinMode(8, INPUT_PULLUP);
}
void loop() {
if (!digitalRead(2)) {
if (!sent) {
Serial.println... | [
"hejohnson@wpi.edu"
] | hejohnson@wpi.edu |
877c5d9af7faad8d90d1a5c7d5d99ddecb1801db | d3dc696122e13deef94ed66a4423765afb27da70 | /TroyCrypt/src/stage/BlockCipherStage.cpp | c4dcc0edd961a1bc11d12a7f7cd59e0147589565 | [] | no_license | TroyNeubauer/TroyCrypt | 09b022017639ed6e5c60d5ae2ee030dce34a2309 | 21efe6976fb266dd4832251584caf9d69ca3c30b | refs/heads/master | 2022-02-12T15:27:20.710742 | 2019-07-25T02:11:47 | 2019-07-25T02:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp |
#include "BlockCipherStage.h"
#include <string>
namespace TroyCrypt {
void BlockCipherStage::operate(TroyContext* context) {
BlockContext* c = dynamic_cast<BlockContext*>(context);
if (c == nullptr) {
throw std::string("Invalid context type in ").append(__FILE__).append("::").append(__func__).append(" line ").ap... | [
"troyneubauer@gmail.com"
] | troyneubauer@gmail.com |
60341881138af6fba37ebdae44e320d6fe63707b | 96e7347db30d3ae35f2df119a18472cf5b251fa2 | /Classes/Native/System_System_Text_RegularExpressions_Syntax_Parse2484350393.h | b8fed871395ebd074f9c0774673e879fd3b96571 | [] | no_license | Henry0285/abcwriting | 04b111887489d9255fd2697a4ea8d9971dc17d89 | ed2e4da72fbbad85d9e0e9d912e73ddd33bc91ec | refs/heads/master | 2021-01-20T14:16:48.025648 | 2017-05-08T06:00:06 | 2017-05-08T06:00:06 | 90,583,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,460 | h | ๏ปฟ#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.String
struct String_t;
// System.Collections.ArrayList
struct ArrayList_t1468494371;
// System.Collections.Hashtable
struct Hashtable_t1312997718;
#includ... | [
"phamnguyentruc@yahoo.com"
] | phamnguyentruc@yahoo.com |
83c6d0442b003cdd4c84129f2448794c4ae4013d | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/096/233/CWE36_Absolute_Path_Traversal__char_environment_w32CreateFile_34.cpp | e2c112a48c26ada1a200eefc4254c19f5ec93411 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,143 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_environment_w32CreateFile_34.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-34.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: environment Read input from an ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
eb110b2c6f65c62bf5d3084959f9abba00cade0d | 0b63b7b9afc7272044d9fb53b65c1a5800b2b136 | /framework/src/framework/utility/algebrahelpers.cpp | 697db6e5165fb8f632ff63dffd38bb93283d580b | [] | no_license | Kibande/zombie-framework | edb99c875289674815314d06636c63082b93c033 | 2517d2a5c5243e17a69c85f9f6d04cf827880c8c | refs/heads/master | 2020-04-14T22:10:49.527378 | 2018-11-08T22:10:38 | 2018-11-08T22:10:38 | 164,153,682 | 1 | 0 | null | 2019-01-04T20:53:03 | 2019-01-04T20:53:02 | null | UTF-8 | C++ | false | false | 1,098 | cpp |
#include <framework/utility/algebrahelpers.hpp>
namespace zfw
{
Float3 AlgebraHelpers::TransformVec(const Float4& v, const glm::mat4x4& m)
{
const float w_scale = 1.0f / (m[0][3] * v.x + m[1][3] * v.y + m[2][3] * v.z + m[3][3] * v.w);
return Float3(
m[0][0] * v.x + m[1][0] * v... | [
"minexew@gmail.com"
] | minexew@gmail.com |
762517686414e07a7936feacdf0d74cf768c8ac2 | 6cebaa003ed783df5f2650260d9f6b0255e3ced7 | /Visual Styles/PresentationTheme.Aero/Source/UxThemeEx/UxThemeFile.cpp | 4d104a1a6aaf5f8318049dd5d10922f9acab7aa3 | [
"MIT",
"MS-PL"
] | permissive | alexdesign001/UX | ed0ec39affd8b75837cd3e1dfd6785056ff65742 | 1709446a82a8f2c01c0e6d95a29ac512439df1b2 | refs/heads/master | 2022-04-09T17:04:25.271357 | 2020-02-08T17:06:58 | 2020-02-08T17:06:58 | 255,529,224 | 2 | 0 | NOASSERTION | 2020-04-14T06:33:03 | 2020-04-14T06:33:02 | null | UTF-8 | C++ | false | false | 5,407 | cpp | #include "UxThemeFile.h"
#include "Sections.h"
#include "Utils.h"
#include <cassert>
#include <strsafe.h>
#include <winternl.h>
#include <memoryapi.h>
namespace uxtheme
{
CUxThemeFile::CUxThemeFile()
: _pbSharableData(nullptr)
, _hSharableSection(nullptr)
, _pbNonSharableData(nullptr)
, _hNonSharable... | [
"jdm7dv@gmail.com"
] | jdm7dv@gmail.com |
f03e49a29e3d299cf5f1280bf32f2ea764e9f9c4 | 4e3cc0c7eb14676334ffd0f797f6b005fb361c60 | /uva10141.cpp | 12b751c541f6f3ce122449cbffcef3721dc0bc00 | [] | no_license | mostafamt/Uva_Problems | 117598aaa1bf849067ff20385decf9d63ff20339 | 984300264df05f00aaa391b1a7ffb0a6b52e05cf | refs/heads/master | 2021-07-01T23:54:21.209867 | 2019-02-09T02:11:45 | 2019-02-09T02:11:45 | 103,315,480 | 1 | 0 | null | 2018-02-22T17:02:37 | 2017-09-12T20:06:21 | Java | UTF-8 | C++ | false | false | 787 | cpp | #include <iostream>
#include <string>
#define rep(i,n) for(int i = 0 ; i < n ; ++i)
using namespace std ;
int rs , ps , i , j , cur_req , best_req ;
double cur_price , best_price ;
string str , p_name , ans ;
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
int c = 1 ;
while(1)
{
cin>>rs>>ps ;
best_req = -1 ,... | [
"noreply@github.com"
] | mostafamt.noreply@github.com |
619fd837af2a06061fa095086137ed57536bff97 | bd8c93a13a3e56a84d24144dce4e57a0adbec131 | /sorting.h | 0f30cdfb81c5d34aa3f0da27a29f7c4fa70d497f | [] | no_license | shivam2146/Algorithms | c08b11a24492e80d2cf1bf31eb7d3209b0de4949 | 97e8e8df09f4b3b1979ce5aece66276e970f497f | refs/heads/master | 2021-05-06T01:55:31.282874 | 2018-08-04T07:18:56 | 2018-08-04T07:18:56 | 114,432,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | h | #include "basic.h"
namespace sor{
template <typename T>
void bubbleSort(T arr[],int size){
for(int i = 0 ;i < size-1; i++){
bool flag = false;
for(int j=0 ;j < size-i-1 ;j++){
if(arr[j] > arr[j+1]){
bas :: swap <T> (arr[j],arr[j+1]);
flag = true;
}
}
i... | [
"noreply@github.com"
] | shivam2146.noreply@github.com |
e885ebf559eace8d1269712c0bf3909d41aede0c | cb7b1d3ffbf4941063aafbb89d5155df9106db4d | /LibreSTR/gui/MultiSelectionPanel.cpp | 541b4b1286bddf7df0b14d89f84c53dd271e1033 | [
"MIT"
] | permissive | jordsti/LibreSTR | 153cd44fac93612691399a4fac1b2018c597fba6 | f3ad913d333663211aa55379494aac6c898e079e | refs/heads/master | 2020-06-05T00:54:11.197107 | 2015-05-15T20:49:46 | 2015-05-15T20:49:46 | 24,216,449 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | #include "MultiSelectionPanel.h"
#include "GamePath.h"
using namespace StiGame;
using namespace Gui;
MultiSelectionPanel::MultiSelectionPanel() : Item("MultiSelectionPanel")
{
height = 120;
width = 200;
assets = nullptr;
}
MultiSelectionPanel::~MultiSelectionPanel()
{
}
StiGame::Surface* MultiSelectionP... | [
"jord52@gmail.com"
] | jord52@gmail.com |
ecacb1c0430bfa227ff53f9f0be7a6816d81e429 | e0fc2acf7097d47370f6962270c87849415b933e | /Recursion/Tower_of_hanoi.cpp | d963e753860dac0e0938f8a432d9ddfa42a26186 | [] | no_license | HarshitSati/Design_And_Analysis | 4242cd1cc9e2600a535bcde459524a2ec38991d5 | d88665225862ad2508757e0718cd2ad66d8ca09b | refs/heads/main | 2023-07-12T17:11:37.080851 | 2021-08-21T18:08:26 | 2021-08-21T18:08:26 | 383,514,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | // all the weights should be in B in an order where source is A and dest is B
#include<iostream>
using namespace std;
void TOH(int n, char source, char dest, char spare){
if(n==0){
return;
}
TOH(n-1,source, spare, dest);
cout<<n<<" "<<source<<"-> "<<dest<<"\n";
TOH(n-1,spare, dest, source);
}
i... | [
"noreply@github.com"
] | HarshitSati.noreply@github.com |
96fb1bfbff9943abe7367cc0f8257a9f463b5a92 | 171339d3be07a40f906cf1096a99c5e4704d6465 | /Visualization/Source/Turtle.cpp | 9743c283c099542436c68d07444c3985d7b0da85 | [] | no_license | ArnoldNunez/ArduinoCar | e3bba24268a0c4388604f727f116dab2aac2810f | 157762f2e20d54ec5cfed5c4674ee70c2bbf846d | refs/heads/master | 2023-02-11T18:06:12.329360 | 2021-01-10T00:03:20 | 2021-01-10T00:03:20 | 286,122,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cpp | #include "..\Header\Turtle.h"
using namespace ArduinoCar_Visualization;
Turtle::Turtle()
{
}
Turtle::~Turtle()
{
}
void Turtle::Draw(SpriteRenderer& renderer)
{
} | [
"nunezarn@msu.edu"
] | nunezarn@msu.edu |
203bdab2c6ff2834f9509ca84968b9f367b1f0d6 | 71428f7dafeb6ea3722b2fff76645e66fa7a2920 | /src/cpp/runtime/provider/predicate/EqualityPredicateProvider.h | 76c187f6cb69a4b4e5c63158f84166dc8cec3a68 | [
"Apache-2.0",
"BSL-1.0"
] | permissive | codeaudit/myriad-toolkit | 586928d3c698f61c1c69d547ae8eb02bc88da78b | 5f7610e10b11e05591d6e2dc030c3ca5dc2a90b4 | refs/heads/master | 2021-01-18T11:01:34.068795 | 2014-10-28T15:12:41 | 2014-10-28T15:12:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,487 | h | /*
* Copyright 2010-2013 DIMA Research Group, TU Berlin
*
* 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 appl... | [
"alexander.s.alexandrov@gmail.com"
] | alexander.s.alexandrov@gmail.com |
865a9a56575bb63bc64154003f9456be40ca0385 | a7dbcd6b5e8006c10394cdde9617e502596635fd | /src/board/board.h | 83d109d149ed219350a00a730d8d62139d228e5e | [] | no_license | VladKk/queen_move | 1e66f29389099fdf9970dcaffc7deb68e2d66857 | 0cd1f351092031ade465fa5e366c7d38990be48b | refs/heads/master | 2023-02-07T09:10:13.961903 | 2020-12-28T10:20:53 | 2020-12-28T10:20:53 | 324,595,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | h | #ifndef QUEEN_MOVE_BOARD_H
#define QUEEN_MOVE_BOARD_H
#include <QString>
#include <QGenericMatrix>
#define BOARD_SIZE 8
class Board {
public:
Board();
~Board() = default;
static QPair<uint8_t, uint8_t> parseSquareNameToMatrixPos(QString squareName);
static QString parseMatrixPosToSquareName(QPair<... | [
"mrvlad008@gmail.com"
] | mrvlad008@gmail.com |
0a2df7fb5abf1ab1977d7e8b9edb69e654a381e4 | 49a6a01ca6db3590d6a6f07af3e5572023082ff9 | /GameProperties.h | 381a9cdedbd44d34183c005f78ab6537895051ce | [] | no_license | RaduSoare/Skyroads | 4c7f845116bb7c6786cbaf40e09125b87a10f23f | 875c785334748ccdf6e9515d0fa7ffb59d14f207 | refs/heads/main | 2023-01-22T20:43:23.557814 | 2020-12-06T18:30:33 | 2020-12-06T18:30:33 | 317,346,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | h | #pragma once
#include "Platform.h"
using namespace std;
bool endGame = false;
float endGameGravity = 0;
float cameraSpeed = 2.0f;
float jumpSpeed = 1.5f;
float airTime = 0;
glm::vec3 redColor = glm::vec3(1, 0, 0);
glm::vec3 orangeColor = glm::vec3(1, 0.65f, 0);
glm::vec3 yellowColor = glm::vec3(1, 1, 0);
glm::vec3 ... | [
"radu.soare23@yahoo.com"
] | radu.soare23@yahoo.com |
254500f4925013c183ab8b91b04fa3a7c645067a | e8d6f4d176ef1a041b47409436a2e62f4a16f403 | /enciption/enciption/enciption.cpp | d3269bee4c95fa8f394f08c47017577cca5a0886 | [] | no_license | tianxiao/learn-opencv | ff5b1d966ffe7c2dc13c164a32f283f9b9dff24e | 6dd50101e0824f2dfaeceec54f97f5b87bced32d | refs/heads/master | 2020-04-06T07:03:01.454498 | 2013-07-17T11:48:40 | 2013-07-17T11:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | // enciption.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <opencv2/opencv.hpp>
#include "xtCreateImageViewer.h"
#include "xtCharHelp.h"
int _tmain(int argc, _TCHAR* argv[])
{
char **charargv = new char*[argc];
for ( int i=0; i<argc; ++i ) {
charargv[i] = xtCharHelp::W... | [
"tianxiao987@gmail.com"
] | tianxiao987@gmail.com |
4bba37086abe6df7c931581f74ad0fa52e62c20c | 62875284d29806edb7beb27190b373d37d9a5722 | /src/archive/types/binary.cpp | 1deda519cb1c19f996f4078a92ea3c81d4799fe5 | [] | no_license | AyoubOuarrak/Kairos | 826d397384130f0dda1712bc7fe7db0f63a9567b | a1b52bef7de03a8d20b809a4d68e06685ad7910f | refs/heads/master | 2020-05-29T18:49:25.330393 | 2016-10-25T16:02:03 | 2016-10-25T16:02:03 | 53,171,474 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | cpp | #include "../../../include/floating_point.h"
#include <iostream>
#include <archive.h>
#include <types/binary.h>
namespace kairos {
namespace archive {
/**
* Default construct of the text archive
*/
BinaryArchive::BinaryArchive() : Archive() {
}
/**
* Constructor that open an input archive with the given fileNam... | [
"andreyvondorcon@gmail.com"
] | andreyvondorcon@gmail.com |
398f70514465dad7f815d4fd2432814d32ab1807 | 5475a1ebbd3b385628750091c3306cd2c85ea013 | /CENG213/the3/Sample_Mains/inp7.cpp | ace32dbeb168154d690872ec921e72081bc1d07a | [
"MIT"
] | permissive | rabiavarol/METU-CENG | 098f553fc3b60955df3c56f6f41ef0ada27d70be | 940392eec1df39248248722bdf26ca0195feb5de | refs/heads/master | 2022-12-07T13:33:04.471206 | 2022-12-06T21:20:12 | 2022-12-06T21:20:12 | 291,152,729 | 0 | 0 | MIT | 2021-02-12T19:01:01 | 2020-08-28T21:52:20 | C++ | UTF-8 | C++ | false | false | 1,500 | cpp | #include "hw3.h"
using namespace std;
/*
This input file tests the basic working
pipeline of the expanding.
Need to expand table 2 times.
Also checks the addUser function.
*/
int main()
{
AccessControl ac(3, 3);
// register users
std::cout << "User Add: Sarah " << ac.addUser("Sarah", "Sarah... | [
"noreply@github.com"
] | rabiavarol.noreply@github.com |
e6638abb9aa36f2cb8133904b238160fd76a83fd | b63fcd7729cd5862fcab9d715cfb7e5f09e4c82d | /code/00.cpp | 786ab12e014c8bc1032e0f6e6cfdbda244bf6a9c | [
"MIT"
] | permissive | devendra-ghate/cpp | a1c441acb8adf0849782339cac652415cb68ac29 | 3faff2fc3e8df0f56550c6376a3cfa85b1da6f2b | refs/heads/master | 2020-09-24T21:48:11.900936 | 2019-12-04T16:50:55 | 2019-12-04T16:50:55 | 225,850,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | #include<iostream>
int main(){
std::cout<<"Hello World"<<std::endl;
}
| [
"devendra.ghate@gmail.com"
] | devendra.ghate@gmail.com |
a33186ade4c93b1af06b347bbc1ba8684ff210c5 | 0c4756c6fdf1ae2b515725b8f5e411e005613987 | /gittest/gittest.cpp | 38b53e452c66400b69f3c564d856a9ff7ba097a2 | [] | no_license | guivi01/gittest | 7da082edb42f0f4ef8d3fef7efec4468dff06c8f | e18767b1022a0b0acb885efdde951a4ff668d244 | refs/heads/master | 2016-09-14T11:02:36.997878 | 2016-04-29T15:41:52 | 2016-04-29T15:41:52 | 57,395,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,654 | cpp |
// gittest.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "gittest.h"
#include "MainFrm.h"
#include "ChildFrm.h"
#include "gittestDoc.h"
#include "gittestView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CgittestApp
BEG... | [
"guivi01@gmail.com"
] | guivi01@gmail.com |
0e75df01d303d72d7a2a2d77c406b793bbe11e7c | b2eb2ceace262fd81d648a910ce57be3d2fa2b9e | /thirdparties/fastdo/include/fcgiplus.hpp | f5aa7fc6f07402274d983983683233e0da27ad2d | [] | no_license | cbugking/cassette | bc85c5e653710b4200dc268f3e202231a2f459a7 | 4d121a75d6aae2153d9496b5f74218cd30c1065c | refs/heads/master | 2023-04-23T23:40:22.197531 | 2021-05-11T06:52:21 | 2021-05-11T06:52:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,156 | hpp | ๏ปฟ#ifndef __FCGIPLUS_HPP__
#define __FCGIPLUS_HPP__
#if _MSC_VER > 0
#pragma warning( disable: 4244 )
#endif
#include "http.hpp"
struct FCGX_Stream;
struct FcgiServerData;
/** \brief FastCGI็ธๅ
ณๅฐ่ฃ
*/
namespace fcgi
{
#ifdef FCGIPLUS_DLL_USE
#if defined(_MSC_VER) || defined(WIN32)
#pragma warning( disable... | [
"zth555@qq.com"
] | zth555@qq.com |
acd774c1e4bb228faee0d64848a4f6f40fd4e1bf | 54b9e39a6b4b412223f234e9791a208a1368be9e | /Sagnik De/ConvertTimeTo_Hour-Min-Sec_Format.cpp | fa7fb79d5f11310bc2f3af5ce91b901d99699465 | [] | no_license | RKMVCC-BSc-Comp-Sci-2020-21/Programming-C-Cpp-Sem1 | 90272d55002c7beec1e2d542c5fe3446cd0c4719 | 6cda8177e95f5d368881ed52c499cc4e1a2bb680 | refs/heads/main | 2023-03-31T02:57:04.662744 | 2021-03-30T14:52:44 | 2021-03-30T14:52:44 | 315,950,354 | 9 | 35 | null | 2021-03-22T15:31:14 | 2020-11-25T13:38:49 | C++ | UTF-8 | C++ | false | false | 420 | cpp | //WAP to convert seconds into Hours:Minutes:Seconds format
#include <iostream>
using namespace std;
int main()
{
int val, hrs, mins, sec, rem;
cout<<"Enter the value in seconds --> ";
cin>>val;
hrs = val/3600;
rem = val%3600;
mins = rem/60;
sec = rem%60;
cout<<"\n\t"<<val<<" seconds... | [
"noreply@github.com"
] | RKMVCC-BSc-Comp-Sci-2020-21.noreply@github.com |
d99f78024cfc0dd20613f24ba09a66264cd2c6f8 | 8f9a6ca8f37eb4a85e4a0519bc76d6a4525493cc | /interviewbit/linked-list/remove-duplicates-from-sorted-list-ii.cpp | 3e5fa00864958d805958b09ea5cc06cd4c6626cd | [] | no_license | shivam04/codes | 58057cc7c79171fdad6b597f744448573f581ea0 | 46f7c0f0f81304b2169a1a25ed7e95835d63e92c | refs/heads/master | 2023-07-19T17:17:21.414147 | 2023-07-09T17:41:07 | 2023-07-09T17:41:07 | 75,619,021 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
ListNode* Solution::deleteDuplicates(ListNode* A) {
ListNode *temp = (struct ListNode*) malloc(sizeof(struct ListNode));;
temp->val = 0;
t... | [
"sinhashivam04@gmail.com"
] | sinhashivam04@gmail.com |
cd7015d691cc236c63e396150896952fda9664a9 | c7507cf81fb6fea27f36f9ec08962d4f7778a6d1 | /KNR_20200726/Lena01View.h | bf55ed9b7624a1315e8e5cbe8d1230a1a3219899 | [] | no_license | SeongHwan-Lim/MFC_ImageProcessing | e4ac291926763785e000b8f68774f656fe21df3e | 05718d7e101c08a28f1d9477eba8ddfad2989703 | refs/heads/master | 2022-11-29T15:21:41.293041 | 2020-08-07T23:56:08 | 2020-08-07T23:56:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | h | ๏ปฟ
// Lena01View.h: CLena01View ํด๋์ค์ ์ธํฐํ์ด์ค
//
#pragma once
class CLena01View : public CView
{
protected: // serialization์์๋ง ๋ง๋ค์ด์ง๋๋ค.
CLena01View() noexcept;
DECLARE_DYNCREATE(CLena01View)
// ํน์ฑ์
๋๋ค.
public:
CLena01Doc* GetDocument() const;
// ์์
์
๋๋ค.
public:
// ์ฌ์ ์์
๋๋ค.
public:
virtual void OnDraw(CDC* pDC); // ... | [
"knr64640@gmail.com"
] | knr64640@gmail.com |
3d9e6afa7d30ced9af0a4c7ba4acaade7693904b | efde52f6b19fca5374d84bde19905495a4c292ce | /ะะพะทะดะฝัะบะพะฒะฐ/task8.cpp | 6eb144ca138ca52f93fffbf5ecd931fb715fc73e | [] | no_license | tapoton/AMM_4_group | 40d135ef46e70c98e9298d95b9fe6e70c40e0767 | 9962f2d9e1cc5557a5816a516c7a3efeec97b1ab | refs/heads/master | 2021-01-10T02:53:14.698341 | 2016-03-24T18:09:04 | 2016-03-24T18:09:04 | 51,981,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | #include <iostream>
#include <math.h>
using namespace std;
double Func (double x)
{
double f= x + pow(x, 1/2) + pow(x, 1/3) - 2.5;
return f;
}
int main ()
{
const double E = pow(10, -5);
double left, right, middle;
left = 0.4;
right = 1;
while (fabs(left - right) > E)
{
middle... | [
"dawningdrop@gmail.com"
] | dawningdrop@gmail.com |
a98686fe23d70fe4e5c4979f17a7df9281d5135e | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /CondFormats/SiPixelObjects/interface/SiPixelFEDChannelContainer.h | 3389b94009a3e42ea70f904af4d36e74622be688 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 1,986 | h | #ifndef CondFormats_SiPixelObjects_SiPixelFEDChannelContainer_h
#define CondFormats_SiPixelObjects_SiPixelFEDChannelContainer_h
#include "CondFormats/Serialization/interface/Serializable.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiPixelDetId/interface/PixelFEDChannel.h" // N.B. a DataF... | [
"marco.musich@cern.ch"
] | marco.musich@cern.ch |
26d8b1a3a8c4486ba31126c5767585d6308a3cba | af87b330e08a6bef230824bc384a20762a302ee5 | /cpp/template_meta_programming/compile_time_recursion.cpp | d5c35d3187eca70ccdce68d9a743021b3b0fc00d | [] | no_license | nalreddy/code | d9684845d555733444c7e6b6b4ce45ae861cfc42 | 8fffb2534fec265174c11aebd8ce1d63cb2e3532 | refs/heads/master | 2023-08-31T16:16:10.770116 | 2023-08-23T09:39:04 | 2023-08-23T09:39:04 | 95,104,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | cpp | #include<iostream>
//https://en.wikibooks.org/wiki/C%2B%2B_Programming/Templates/Template_Meta-Programming
using namespace std;
#if 0
template<int N> void f1()
{
f1<N-1>();
cout << N << '\n';
}
template<> void f1<1>()
{
cout << 1 << '\n';
}
int main()
{
f1<1000>();
}
#endif
... | [
"vvs@hpe.com"
] | vvs@hpe.com |
c3ea6b628ee45c1bc6db2b65013293ce785f568f | fe2836176ca940977734312801f647c12e32a297 | /LeetCode/G2019/167.cpp | ae733dd326b8da067bb078ede7ee0754fa1b9b59 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | class Solution
{
public:
vector<int> twoSum(vector<int> &numbers, int target)
{
int n = numbers.size();
vector<int> ans;
for (int i = 0; i < n; i++) {
int lookFor = target - numbers[i];
// lowerbound
// auto lb = lower_bound(numbers.begin() + i + 1, ... | [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
810bc8ed92a252c85c546d87427b5fbc7f008304 | e0b9399bd664d1d2508b523f6a1dd09d1db832f6 | /test/BulletTest/src/BulletTestApp.cpp | e0af266c9ed3ca22ae7ebebf2074fc3d0d86a0a1 | [] | no_license | BanTheRewind/Cinder-Bullet | a04a1b7e7e1d34072d5e81fc34e2786075e4f017 | 1fdc39e096b6599203209457f19b3123d260513c | refs/heads/master | 2020-12-24T15:13:51.545011 | 2013-07-08T22:57:39 | 2013-07-08T22:57:39 | 3,497,384 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,592 | cpp | /*
* CinderBullet originally created by Peter Holzkorn on 2/16/10
*
* Copyright (c) 2013, Ban the Rewind
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* Redistributions of sou... | [
"bantherewind@gmail.com"
] | bantherewind@gmail.com |
73a51edd16a1a8ad7437b03609bcf66ba06ff5a6 | 35f575c997f226e4662ae214735e29186e93d1bf | /dependencies/bullet/src/examples/TinyRenderer/geometry.cpp | f4e0ee8f67f849b130ee182c3d60e19735c35821 | [
"Zlib",
"Apache-2.0"
] | permissive | PTSD-3D/PTSD-Engine | b227aa52b9f948a7794c0075295e70d4a71c4353 | 2f523b8a7fd768c8e3cfd634e53d8c34b3b359ef | refs/heads/main | 2023-05-04T03:25:26.093194 | 2021-05-27T21:10:25 | 2021-05-27T21:10:25 | 345,047,719 | 3 | 0 | Apache-2.0 | 2021-05-27T21:10:26 | 2021-03-06T08:50:35 | C++ | UTF-8 | C++ | false | false | 462 | cpp | #include "geometry.h"
namespace TinyRender
{
template <>
template <>
vec<3, int>::vec(const vec<3, float> &v) : x(int(v.x + .5f)), y(int(v.y + .5f)), z(int(v.z + .5f))
{
}
template <>
template <>
vec<3, float>::vec(const vec<3, int> &v) : x(v.x), y(v.y), z(v.z)
{
}
template <>
template <>
vec<2, int>::vec(const vec<2,... | [
"noreply@github.com"
] | PTSD-3D.noreply@github.com |
7c6314bb7886236f05eb86e9b07867b1e31d2d8e | a11aa0a45ffd68ba87e9381c2615d08fc31b3f51 | /Atlas Engine/Source/Shared/S_Vendor/S_Bullet/BulletCollision/CollisionDispatch/btCollisionObject.h | 4406a200f3f934f97ab69db1a37339cf3c5a328c | [] | no_license | YanniSperon/Atlas-Engine | 7e2c17ddd84cdb0800054ec24f64e3cd67fd62d4 | b6f12e445e8342c2c5625d023a7fca8e253d78a5 | refs/heads/master | 2023-01-31T01:40:34.648755 | 2020-12-07T10:58:57 | 2020-12-07T10:58:57 | 277,727,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,456 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | [
"yannisperon@gmail.com"
] | yannisperon@gmail.com |
7d0b8586c13109a4a2a2947d20080b86186859de | 246885319bb1745653492e41c37fe97de7183090 | /APLClient/src/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp | 34530622d2d0a943e05ec57e4976d6119b2623f7 | [
"Apache-2.0"
] | permissive | rcoleworld/apl-client-library | d80073d5b3ecfe16f701a2e6e0849b81e431642b | cd92f388e5a3ddc9700f0364f72f8f1b2b575a7e | refs/heads/main | 2023-08-23T17:49:11.872641 | 2021-10-30T02:23:42 | 2021-10-30T02:23:42 | 422,764,564 | 1 | 0 | Apache-2.0 | 2021-10-30T02:32:02 | 2021-10-30T02:32:01 | null | UTF-8 | C++ | false | false | 3,604 | cpp | /*
* Copyright 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" f... | [
"whaidong@amazon.com"
] | whaidong@amazon.com |
7984cc219b38be3e717ce0f709195e8b80706024 | 157f19396f2040cf19f4b45e08af13c622cd3d9d | /firmware/src/main.cpp | 9d9241f1218e14c5d5f2c11971032212599131a7 | [] | no_license | tealord/wifi-led-stripes | de159794be062d4db1bc0013a82c88beb94405fd | 65dcf6bcdbc6a7ad26ed08e8fff98da6acb3c267 | refs/heads/master | 2022-12-29T08:00:13.284366 | 2020-09-29T16:42:26 | 2020-09-29T16:42:26 | 259,670,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,265 | cpp | #include <Arduino.h>
#include <SPI.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266mDNS.h>
#include <ESP8266WebServer.h>
#define MODE_OFF 0
#define MODE_COLOR 1
#define MODE_SPOT 2
#define MODE_FADE_COLOR 3
#define FADE_UP 0
#define FADE_DOWN 1
//
// change this
//
#define LEDS 100
const char *... | [
"mail@sezi.eu"
] | mail@sezi.eu |
2ff672eb8345939e2ee5667177422596b432769d | 2e83a34664cbf86467bf3a03d559bf5017531824 | /deps/boost-1.50.0/boost/asio/detail/win_iocp_io_service_fwd.hpp | 0ffe5fba2469c3b76516959681e161009408092f | [
"BSL-1.0"
] | permissive | argv0/riak-cxx | 34c85e87de5fe3e026d650f85cac9139f9dadb1c | 7ade8b30a5ba86511b5dc10ab6989804bde8f86d | refs/heads/master | 2020-05-17T20:19:25.076003 | 2012-08-15T23:23:47 | 2012-08-15T23:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 896 | hpp | //
// detail/win_iocp_io_service_fwd.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
... | [
"andy@andygross.org"
] | andy@andygross.org |
c386e3b053a911b66f2da4cc70487e4a594b6ff9 | 25aa3563f57ef8d32c2989d0ed239edbbb841228 | /BZOJ/bzoj1500.cpp | e6b06bd9585b0c64345d7f8d8dca4d837502f1f0 | [] | no_license | tonglin0/Algorithm-Problems | 491e809b1d874cb6339cebde6f87ca7382af9b5a | 22d6ee385d67ac54dcf070f891f1e6053401e83f | refs/heads/master | 2020-04-08T19:24:24.304575 | 2018-11-24T17:00:15 | 2018-11-24T17:00:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,767 | cpp | #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
#define MN 801000
#define INF (int)1e9
#define size sz
#define val key
#define lx lm
#define rx rm
#define mx mn
#define K ch[ch[root][1]][0]
using namespace std;
int pre[MN],ch[MN][2],sz[MN],key[MN],rev[MN],sum[MN],set[MN],lm[MN],mn[MN],rm[MN];
... | [
"392377379@qq.com"
] | 392377379@qq.com |
1a9150c1f4e51d154f2d9dbcc04b35c190155e78 | 8a6aa8798436d8b256099fa163249fcab9f86d89 | /C++/Alipay System 2 User Controller/(15 C++ Homework) Alipay System 2 User Controller/main.cpp | d76c09a6344d4dda37718295a8b977aa153207e8 | [] | no_license | 12330072/C-learning | 39f2399c4c5413ef80bd62b90a4688555606dc96 | 94b92bcd5bdfe99627b46eb4f6f46d379b0b67fe | refs/heads/master | 2021-01-14T13:21:22.999905 | 2016-05-12T23:58:24 | 2016-05-12T23:58:24 | 58,739,535 | 0 | 1 | null | 2016-05-13T12:43:31 | 2016-05-13T12:43:31 | null | UTF-8 | C++ | false | false | 4,725 | cpp | #include "userController.hpp"
#include <iostream>
#include <string>
using std::cin;
using std::cout;
using std::endl;
using std::string;
void help() {
cout << "Welcome to Alipay Managament System" << endl;
cout << "Please select your service using the number:" << endl;
cout << "[1] Create an user" << endl... | [
"โmgsweet@126.comโ"
] | โmgsweet@126.comโ |
2f298a1e74c0f3f732e940ac981ea844120d7490 | 2eed2e1195ba0da0127a7291136c3200d4e071b7 | /sources/B/Rendering/Transformable.hpp | 6886ec8e18cb4066a4fda7c7ad804a7b47253202 | [] | no_license | benit8/B3d | c868d92b0230b68eb6bab6aae5ca556f79587485 | 0cda0ac59669448fad3a7901bba646f8c051c932 | refs/heads/master | 2022-09-13T18:17:47.395576 | 2020-05-30T23:12:21 | 2020-05-30T23:12:21 | 225,698,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | hpp | /*
** B, 2019
** Rendering / Transformable.hpp
*/
#pragma once
////////////////////////////////////////////////////////////////////////////////
namespace B {
class Transformable;
}
////////////////////////////////////////////////////////////////////////////////
#include "B/Math/Matrix.hpp"
#include "B/Math/Vector... | [
"swimaster61@live.fr"
] | swimaster61@live.fr |
e112515ca71c8a8fd77ce31a1803fc3274445552 | 224e9182868c02172628c354111a1aa117b4d04d | /assignment-2/part-1/visualisation/src/main.cpp | 86931ca8382fdd6356397da682b101d6575479b5 | [] | no_license | Loxstomper/3802ICT-Modelling-and-Visualisation | 739d850a56e9b7e5ec09af54bd09dd74838cd3bf | 15966edfbadaf4c1122b18fb3d1ad457690e6e38 | refs/heads/master | 2020-06-20T15:55:01.409534 | 2019-09-29T08:51:16 | 2019-09-29T08:51:16 | 197,169,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,510 | cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glx.h>
#include <GL/glext.h>
#include "headers/Terrain.hpp"
#define SCREEN_HEIGHT_DEFAULT 800
#define SCREEN_WIDTH_DEFAULT 800
#define FOV 60
#defin... | [
"lox.ash@hotmail.com"
] | lox.ash@hotmail.com |
282407691af7595b4e2dc4cc25b0136f3b09bf25 | 1c5c4051e51a6d4a704d8541d810c2a353bc52b0 | /x11-wm/blackbox/files/patch-src_Configmenu.cc | e150e6d0dc9b73e8458582b5bbd9a51b0c9a37a2 | [] | no_license | cbrst/redports | 40b08021b389e7be0ed847cffafaaf1669983527 | bbb219ab92bfbafae598ad77cf845497055f22c7 | refs/heads/master | 2021-05-27T16:44:01.828991 | 2012-11-05T06:32:46 | 2012-11-05T06:32:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,630 | cc | --- src/Configmenu.cc.orig 2012-08-30 01:24:39.208840400 +0800
+++ src/Configmenu.cc 2012-08-30 01:28:02.626918885 +0800
@@ -86,6 +86,7 @@
FocusNewWindows,
FocusLastWindowOnWorkspace,
ChangeWorkspaceWithMouseWheel,
+ ReverseMouseWheelDirection,
ShadeWindowWithMouseWheel,
ToolbarActionsWithMouseWheel,
... | [
"crshd@mail.com"
] | crshd@mail.com |
6365a0425cde472517b9f7de69a81e9721c068fd | 4b331a18682865c4d1d3c1b30aa3e1465c66d910 | /reverse_nodes_in_k_group.cpp | f45fd3533a3229f9c87787006343bbd0d8ef20dc | [] | no_license | aiiilii/cpp_code | 92c99df274f4ce059b54e2977303ce6eec8b0f06 | 5ef8f36a753097935d51b30523bca5ea3138fbc6 | refs/heads/master | 2022-11-08T21:20:03.551328 | 2020-06-27T18:20:04 | 2020-06-27T18:20:04 | 267,682,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | using namespace std;
struct ListNode {
int val;
ListNode* next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode* next) :val(x), next(next) {}
};
class ReverseK {
public:
ListNode* reverse_k_group(ListNode* head, int k) {
if (hea... | [
"aili.hgong@gmail.com"
] | aili.hgong@gmail.com |
76d56420ed604ec526b0c482a2a9f615ed1bca7d | e1a483ceb7e4ded910dfba27b1435bf743667dee | /undicht/core/implementation/graphics/opengl_33/src/gl33_renderer.h | 6bd3b2cc8216a39a72e81bc7c2be1f617392fd54 | [] | no_license | ebanjo-2/undicht_0.36 | e320485cad496d2f4b72a5450ead7a9d983e732f | d2b1cfc76aed717e9c41de97fcb5d0490c7cb7aa | refs/heads/master | 2020-12-29T08:17:40.032732 | 2020-02-27T16:49:46 | 2020-02-27T16:49:46 | 238,531,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,633 | h | #ifndef GL33_RENDERER_H
#define GL33_RENDERER_H
#include <graphics/renderer.h>
#include "gl33_vertex_buffer.h"
#include "gl33_shader.h"
#include "gl33_frame_buffer.h"
namespace undicht {
namespace graphics {
namespace gl33 {
class Renderer : public implementation::Renderer {
... | [
"eike.thed@gmail.com"
] | eike.thed@gmail.com |
5bb1b687943e0d0fabbb0e10fe9d6199aed47f51 | aee666b16c39bdf673de1066c7d9a7636202c70a | /lib/Platform/Android/System/Timer.h | 1cad617dcbdbbc02a000d6b1120ad6c0dc4d0950 | [
"MIT",
"GPL-3.0-only"
] | permissive | qwertycoin-org/qwertycoin-testnet | b17da71729f4465ff588dd7a9709029061a77bb0 | 9b984432397e5a2234a18125eba4212d4386e069 | refs/heads/master | 2021-01-13T23:36:29.653992 | 2020-08-11T15:28:00 | 2020-08-11T15:28:00 | 242,529,568 | 6 | 4 | MIT | 2020-09-22T00:00:00 | 2020-02-23T14:16:39 | C++ | UTF-8 | C++ | false | false | 1,293 | h | // Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2018-2020, The Qwertycoin Group.
//
// This file is part of Qwertycoin.
//
// Qwertycoin is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
... | [
"alexnnian@protonmail.com"
] | alexnnian@protonmail.com |
1e9d14e7304ac5e69b33b51bb9902f7364f2dce7 | 0093f09780783dc78f9ec5937c14fded6b2f996a | /src/app/MessageDef/SubscribeResponseMessage.h | b7651a7af38fb23297baffb3ffed2e0f6804e736 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | nrfconnect/sdk-connectedhomeip | ce49cccb4e8c05d7bb44723f964b8adc32e20cec | eeb7280620fff1e16a75cfa41338186fd952c432 | refs/heads/master | 2023-09-03T02:40:14.967648 | 2023-08-25T09:24:08 | 2023-08-30T06:51:00 | 319,609,059 | 49 | 42 | Apache-2.0 | 2023-09-13T12:00:20 | 2020-12-08T10:50:54 | C++ | UTF-8 | C++ | false | false | 2,480 | h | /**
*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | [
"noreply@github.com"
] | nrfconnect.noreply@github.com |
30410ca5870c5872be39eb8796f93c7415a6acab | caa2c6ef42ff0345b1736c8c0f145378f3a98c39 | /Project_2019_06_26/Arduino/19_06_26.ino | a6adb342d57b007dc93fc7d92bcb4352f2cc1664 | [
"MIT"
] | permissive | charon25/KPU-Projects | d0dcdbf699949eb311bb8927e3892264fca501f5 | 9b7bd957408f1249bedd54544410317ccf203846 | refs/heads/master | 2023-06-12T01:55:50.663711 | 2021-06-21T21:01:30 | 2021-06-21T21:01:30 | 379,060,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | ino | int flameSensorPin = 0;
int lightSensorPin = 2;
int N = 25;
void setup() {
Serial.begin(9600);
}
void loop() {
double somme = 0;
for (int i = 0 ; i < N ; i++) {
somme += analogRead(flameSensorPin);
}
somme = somme / (double)N;
double somme2 = 0;
for (int i = 0 ; i < N ; i++) {
somme2 += analogR... | [
"paul.kern@insa-strasbourg.fr"
] | paul.kern@insa-strasbourg.fr |
9a32579205048741b463a20a8318efbad752cdfd | df0100a6031ef3cea1c6e3d9f189bafe095ebc91 | /tests/catch/unit/memory/hipMemset2DAsyncMultiThreadAndKernel.cc | 479e163c26886e86ed0ce4288b780236b82f73e0 | [
"MIT"
] | permissive | lthakur007/HIP | d67efd1747676071754edb933af3b790901eb8c4 | 25daff781e9f0bceeb98f9c4349f88392c9e6471 | refs/heads/develop | 2022-03-06T20:59:56.252538 | 2021-12-23T07:44:13 | 2022-02-14T07:36:41 | 409,521,053 | 0 | 0 | MIT | 2021-09-23T09:04:29 | 2021-09-23T09:04:29 | null | UTF-8 | C++ | false | false | 6,417 | cc | /*
* Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
* 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
* t... | [
"noreply@github.com"
] | lthakur007.noreply@github.com |
26c18a44cb656242c9ee9502b3377790e96e8b81 | 3a1bf3ff4a2c9f67ae6200f53ee622ff627b3d02 | /fboss/agent/hw/test/dataplane_tests/HwProdInvariantTests.cpp | 64f5d2d486cfe6824c2447a8df57426fb7e28173 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | isabella232/fboss | 4fef5e86fb65203b0971d35ff62d84e536e8c8ee | e552180def2131b2827cbcdc4e6248765f0b96ce | refs/heads/master | 2023-04-11T05:00:33.974290 | 2021-04-16T10:35:00 | 2021-04-16T10:36:19 | 358,584,211 | 0 | 0 | NOASSERTION | 2021-04-16T12:11:45 | 2021-04-16T11:58:34 | null | UTF-8 | C++ | false | false | 1,659 | cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
371793abf121fa4d5d1eebfedb9643bbfb2d6878 | 51ea90619a4754faaf5ade355b5191dfd2d696a4 | /Labyrint kopio/labyball/Classes/Native/Bulk_UnityEngine.UI_0.cpp | 722259b0bae4ae8bdf1d69fdeeda3f4a4081d5f1 | [] | no_license | mimietti/MySandbox- | 0baecb7bbd9fa9cd642b1f080a26a62b18ba1dff | 2600b9ab03979b4dd5a37bc81c4c818de8d1c6d3 | refs/heads/master | 2021-01-22T17:34:03.440543 | 2016-12-20T13:16:27 | 2016-12-20T13:16:27 | 63,416,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,650,937 | 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>
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t3053238937;
// UnityEngine.... | [
"michaelmiettinen@Michael-MacBook-Pro.local"
] | michaelmiettinen@Michael-MacBook-Pro.local |
59c313d03e180a03f8fb7aa659a254f9f774ec87 | d21782fdb588232eb3dd41e36507db76dafe36e1 | /windows/subcontrollers/tests/model_controller_test/model_controller_test.cpp | 0d644abfd064518bc2af0dd2afc548aab8fe4a3c | [] | no_license | Erucolindo96/Native-Speaker | dddd474dec94e235bf3a5f7749ade6dce667dc9f | f82607f1e2a848a7dd0ec4e429365cd7b149b5a4 | refs/heads/master | 2020-03-30T13:32:07.003962 | 2019-09-09T08:26:33 | 2019-09-09T08:26:33 | 151,276,432 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,647 | cpp | ๏ปฟ#include "model_controller_test.hpp"
BOOST_AUTO_TEST_SUITE( ModelControllerTest )
BOOST_AUTO_TEST_CASE( incrementActPageAtInvoceNextPageIfModelCntIsMoreThanModelsAtPage )
{
QToolBox box;
const uint32_t MODELS_CNT = 4, MODELS_AT_PAGE =1;
ModelController controller(&box, MODELS_AT_PAGE);
ConfigManager conf;
... | [
"erucolindo96@gmail.com"
] | erucolindo96@gmail.com |
a6b437c8281e9d1918c242761b279122d53882d3 | cdff79240be45d4f701248152ea54ffb8f1c3a07 | /debugfs/android50/bionic/libc/bionic/pthread_internals.cpp | 05f9ad5d66c18f47cc028d753758a94c50b7ce7a | [] | no_license | wanggong/self_code | 693fed815c0ad79cacc0376eed53a1c2db7fd02c | d4f3d1221d521b6bd4f4e52a45622eb54a4217cb | refs/heads/master | 2020-04-06T02:38:50.807665 | 2020-02-22T07:22:30 | 2020-02-22T07:22:30 | 12,781,553 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,203 | cpp | /*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | [
"wanggongzhen@wanggongzhen.wingtech.com"
] | wanggongzhen@wanggongzhen.wingtech.com |
3a548381d5ffe4d594c4db5d2f792d038677c97c | 3aa87ef356718879b10de8e0e96d171f58a5a06e | /CompilationTech/gtkTest.cpp | 0d0bd83f95b97aaea854e48becd60b15c84b6a44 | [] | no_license | mayk93/College | 4f7d6c666d878b97c12c73a45464f0ac15ca2645 | 9049ade988610ba68df37679b8484029071770dd | refs/heads/master | 2020-05-17T08:01:28.147454 | 2015-04-30T20:55:14 | 2015-04-30T20:55:14 | 17,863,332 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | cpp | #include <gtk/gtk.h>
static void onClick(GtkWidget *widget, gpointer data)
{
g_print("%s\n",gtk_entry_get_text(GTK_ENTRY(data)));
}
int main(int argc, char*argv[])
{
gtk_init(&argc,&argv);
GtkWidget *window, *table, *label, *button , *entry, *hbox;
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_s... | [
"michael@michael-PC.(none)"
] | michael@michael-PC.(none) |
958f16d1b2ab0f77781f6a1ec7a5d197c3b5c04c | 6f726597c05899a5fd0dde5bc718ed402b14c2de | /sniffing.h | fc3ab2bcd5eb7d97ad6dd84c4eef5e3f2ce18dd5 | [] | no_license | motazreda/BlackHunter | f6b949518883cc1b6b227eba4e02d291729001ac | 3db998924610da1539ce36f2f5de4b5340e7a82f | refs/heads/master | 2021-01-12T17:47:16.286089 | 2016-10-06T08:01:06 | 2016-10-06T08:01:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | h | #ifndef SNIFFING_H
#define SNIFFING_H
#include "mainwindow.h"
class Sniffing
{
public:
Sniffing();
std::string *interfaces();
};
#endif // SNIFFING_H
| [
"motazkhodair@gmail.com"
] | motazkhodair@gmail.com |
116968c4cdd6499553b9835f60c6a8f33fd47a3f | 4bc2e0f101d4830df60f4a8c184085c620a9c64b | /OOP4/main.cpp | bffd64cb0c34ce8cb77b37930cd954b8a9b064bd | [] | no_license | kkkirill/OOP | 6b8f81fcebeb21159c5956a6c2dd4a094c5c9454 | 4ebf43848dee1ffbd9bae7ac438f55106a4a94f6 | refs/heads/master | 2020-07-30T10:16:12.948677 | 2019-09-22T18:56:27 | 2019-09-22T18:56:27 | 210,189,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | #include "include/Bank.h"
int main() {
std::deque<Person> clients{
Person("Egor", 2000, "Minsk, Kjsmonavtov 110-12", Gender::MALE, "BY"),
Person("Dasha", 1996, "Mogilev, Artileriyskaya 123-1", Gender::FEMALE, "BY"),
Person("Sergey", 1995, "Vitebskiy region, Orhsa, Stalina 23-2", Gender::MAL... | [
"kkg.410@mail.ru"
] | kkg.410@mail.ru |
b2cb558ef6e22f954cc703ffc163e3332c12f21f | 278b11ce5a07144907795f94e0f150dc176d20ed | /Lib/2020-3A-IBD-MLDLL/Kmeans.cpp | 225a5b3b2edb823d80db898e4b891c7f73a0ebe0 | [] | no_license | idrissrhe/Projet-Ann | eb0d7b62c681f90eb1c1f88338b891359f251f48 | 8a76cb47fb373e57c6e6223a49a13cfc7de30c8a | refs/heads/master | 2022-12-08T14:24:39.452441 | 2020-09-02T23:05:10 | 2020-09-02T23:05:10 | 291,531,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,869 | cpp | #include "Kmeans.h"
extern "C" {
double get_distanceK(double* Xpredict, double* Xn, int inputsSize) {
// l2-norm
double accum = 0.;
for (int i = 0; i < inputsSize; ++i) {
double res = Xpredict[i] - Xn[i];
accum += res * res;
}
double norm = sqrt(accum);
return norm;
}
doub... | [
"idriss.rher123@gmail.com"
] | idriss.rher123@gmail.com |
22e69d2c9c06ad30376359ed1f31582e7c25c5df | 63a345a814273a8c3fb40a45efd0c7255b96091c | /sum-root-to-leaf-numbers-4.cpp | babfd93006032a9273eca40cdb8878a7789b3e7f | [] | no_license | mamunhpath/leet-code | ed3f4aebcca850c2c7defbc6972acbedde57e7d3 | 7e2fc8f03dd5a637cf374e092f4626f10af15250 | refs/heads/master | 2022-02-01T22:07:52.115410 | 2019-03-17T21:48:54 | 2019-03-17T21:48:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | // https://leetcode.com/problems/sum-root-to-leaf-numbers/description/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
#define mp(A, B) make_pair(A, B)
typedef pair<int, ... | [
"noreply@github.com"
] | mamunhpath.noreply@github.com |
f701670910600480930e0abd92c4187ea3801ba6 | dec09c2be03945633e6af5872c1d91a3d2192afa | /Network/UdpClient.cpp | 35840eacb5aee6a3512724cf2ae243b500fbd572 | [] | no_license | DreamOfFootPrints/Linux | 794bc6a5ca666a615df6080b3f5be72c066adcd4 | 36180f1354281b0f8cf7596f0e916480b653fce3 | refs/heads/master | 2020-09-20T07:44:41.258382 | 2016-08-22T13:51:14 | 2016-08-22T13:51:14 | 66,004,009 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 650 | cpp | #include"linux.h"
int main(int argc,char* argv[])
{
if (argc != 3)
{
printf("%s [ip][port]", argv[0]);
exit(1);
}
int client_sock = socket(AF_INET, SOCK_DGRAM, 0);//gramยฟรยตรรรขรยผ
if (client_sock == -1)
{
perror("socket");
exit(2);
}
struct sockaddr_in remote;
remote.sin_family = AF_INET;
remote.sin_ad... | [
"2822850867@qq.com"
] | 2822850867@qq.com |
e38bb46a97b22797c3702d8d6be27cd8558ee7d4 | 1db5ea1580dfa95512b8bfa211c63bafd3928ec5 | /PlanAssigner.h | d917cfc045d750f47b6f4372867b5d7b0f0ffa21 | [] | no_license | armontoubman/scbatbot | 3b9dd4532fbb78406b41dd0d8f08926bd710ad7b | bee2b0bf0281b8c2bd6edc4c10a597041ea4be9b | refs/heads/master | 2023-04-18T12:08:13.655631 | 2010-09-17T23:03:26 | 2010-09-17T23:03:26 | 361,411,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | h | #pragma once
#include <BWAPI.h>
#include "HighCommand.h"
#include "TaskManager.h"
#include "EigenUnitGroupManager.h"
#include "EnemyUnitDataManager.h"
#include "MicroManager.h"
#include "UnitGroup.h"
#include "Task.h"
#include <map>
class HighCommand;
class TaskManager;
class EigenUnitGroupManager;
class E... | [
"armontoubman@a850bb65-3c1a-43af-a1ba-18f3eb5da290"
] | armontoubman@a850bb65-3c1a-43af-a1ba-18f3eb5da290 |
abb9f5d06d27132b7ca278b682e659f8fc76e741 | 9e1fb87d6aa5084c850d3165ea749da67d0add59 | /AOJ/AOJ0218.cpp | 2e69b907addaa80285ceb26a9d3e8f1776bebec7 | [] | no_license | Yang-33/competitive-programming | 673d57bc95efb559f8e2905bad758cd576505761 | f85ef9f1a5763334e4d26f9206154e4f7c0a85ac | refs/heads/master | 2021-01-12T03:19:17.961860 | 2019-10-06T15:35:48 | 2019-10-06T15:35:48 | 78,174,818 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include <bits/stdc++.h>
using namespace std;
using VS = vector<string>; using LL = long long;
using VI = vector<int>; using VVI = vector<VI>;
using PII = pair<int, int>; using PLL = pair<LL, LL>;
using VL = vector<LL>; using VVL = vector<VL>;
#define ALL(a) begin((a)),end((a))
#define RALL(a) (a).... | [
"kasai.yuta0810@gmail.com"
] | kasai.yuta0810@gmail.com |
10bc63a4e2ac49ac382cc056fdee93ab5bdf8470 | 7a90eabd633658652c7d530a096df7742640f0b3 | /lib/Target/AArch64/.svn/text-base/AArch64InstrInfo.cpp.svn-base | 8cec4a148070007cf0eeb0c25f75809c53ceef01 | [
"NCSA"
] | permissive | rigelgjomemo/csfv | 46bf61cecfebe127e13ecf79527187bccb1a0f69 | 888d71272d2674b1e6c3f5d71c3399f654c0b1e2 | refs/heads/master | 2016-09-05T19:21:48.773153 | 2014-12-05T20:08:05 | 2014-12-05T20:08:05 | 21,575,975 | 2 | 0 | null | 2014-08-20T16:50:37 | 2014-07-07T15:35:14 | C++ | UTF-8 | C++ | false | false | 70,069 | //===- AArch64InstrInfo.cpp - AArch64 Instruction Information -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rgjome1@uic.edu"
] | rgjome1@uic.edu | |
4f31353b02d37b3ae2d21ac14cd4802f201914db | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/eulerVortex.twitch/eulerVortex.cyclic.twitch/3.56/rho | e5804c74fd20d2306893da9a040f71b80c39b7b2 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,758 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
a61ad4cf6afe4dd5a51b2e4cac11a2fe51fcf649 | ce60c268c1a68368312f8db794a501d153fed68d | /RebornProject/main.cpp | 74ddafffd27d04e7eef2e1812b4bdba716c6ae43 | [] | no_license | chapeq/RebornProject | b1813975543cbc61d073ff27ae56f13f11afcdbd | c9bffcc6adea3c5a543b02f9f129f84931c55564 | refs/heads/master | 2023-04-19T09:09:25.193912 | 2021-05-07T16:01:45 | 2021-05-07T16:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include <iostream>
#include <stdafx.h>
#include "Game.h"
int main()
{
Game game{};
srand((unsigned)time(NULL));
game.RunGameLoop();
return EXIT_SUCCESS;
}
| [
"pequignotcharlotte@gmail.com"
] | pequignotcharlotte@gmail.com |
aeb14a6e7b75d6592e44ffc5165f193793b7aed4 | 744857a9557e1b3cf92699da9d73258ab6d35d7d | /windows/c็จๅบ/linux/linux/seq.cpp | db2332f3aea871c063df2a72df80a94bac7539a2 | [] | no_license | wengduo/item | e5461041f6869621f5a61176180b4d10a25971f4 | 5cf69cefbc0e0bfcf4d8c0269b87c052d5a69b35 | refs/heads/master | 2021-01-09T20:29:42.802163 | 2016-08-11T07:49:07 | 2016-08-11T07:49:07 | 65,426,030 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,081 | cpp | #include"seq.h"
bool list_init(NODE **phead)
{
if (phead == NULL)
{
return false;
}
NODE *tmp = (NODE *)malloc(sizeof(NODE));
*phead = tmp;
tmp->next = NULL;
tmp->prev = NULL;
return true;
}
bool list_add(NODE *phead, char *p)
{
if (phead == NULL)
{
return false;
}
NODE *tmp = (NODE *)malloc(sizeof(NO... | [
"2292466904@qq.com"
] | 2292466904@qq.com |
48724d2f7cd9c8f82ca9f25712f47c5bc9302021 | 462ea939f5b905fa2b23d622027d9ba55a1b4272 | /examples/uuid_example.cpp | 22b942a31c5b633c4609aedaa5041e43a35b4267 | [
"MIT"
] | permissive | nvoronetskiy/nstd | 973ca807ac7f9939a33d8daa29f88eeae6424d93 | 85812f782b019ebbecb5a2d43ccfa86f88836451 | refs/heads/master | 2020-12-02T08:00:18.243013 | 2017-07-07T23:04:42 | 2017-07-07T23:04:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,026 | cpp | /*
MIT License
Copyright (c) 2017 Arlen Keshabyan (arlen.albert@gmail.com)
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,... | [
"arlen.albert@gmail.com"
] | arlen.albert@gmail.com |
2d093efc95b87a08d56377408c5f32379cafed69 | 48755fcf307f631ce7d4a5bdbcd584e8508c5473 | /Source/RMC_Examples/Actors/AnimatedTerrain.h | 6f03bc1040929a769232b551950e56dcec683e26 | [] | no_license | UDKMan/UnrealSpringMassNetwork | df6da1237e33123679d5bd5b6cdcf00599bc7275 | 4c8b6bb2f92d85166d29f5d1d76149371c12780c | refs/heads/master | 2020-05-14T13:51:18.070152 | 2017-03-28T16:18:00 | 2017-03-28T16:18:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | h | // Copyright 2016 Chris Conway (Koderz). All Rights Reserved.
#pragma once
#include "GameFramework/Actor.h"
#include "RuntimeMeshObjectBase.h"
#include "AnimatedTerrain.generated.h"
UCLASS()
class RMC_EXAMPLES_API AAnimatedTerrain : public ARuntimeMeshObjectBase
{
GENERATED_BODY()
public:
bool bGenerated;
... | [
"sendra.alexandre@gmail.com"
] | sendra.alexandre@gmail.com |
0b814cfa3d2338e91aa618fc8042af5033bc2d73 | 5194b65327710d41f7fe57e4458f630aa2e08153 | /C++/YourDuino/MD_AButton/examples/LCD_Keypad/LCD_Keypad.ino | 5659992ba8674ee8269ab4333b73de6e8f6801b5 | [] | no_license | Gerst20051/ArduinoExamples | be3741a8c9a6ee6531aea378cc67b77cf22c39c4 | b372b9ad890dcd5650daec373e6e22e2d39e2ce3 | refs/heads/master | 2021-01-17T13:46:18.835218 | 2016-06-28T04:12:32 | 2016-06-28T04:12:32 | 40,215,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | ino | // Print the key selection
#include <LiquidCrystal.h>
#include <MD_AButton.h>
// LCD display definitions
#define LCD_ROWS 2
#define LCD_COLS 16
// LCD pin definitions
#define LCD_RS 8
#define LCD_ENA 9
#define LCD_D4 4
#define LCD_D5 LCD_D4+1
#define LCD_D6 LCD_D4+2
#define LCD_D... | [
"gerst20051@gmail.com"
] | gerst20051@gmail.com |
16af4124e02973619b32796613c04966b2ea0f7b | 806664e3132d5dac5e2e2bd3c43c1aa666c3b629 | /Interface/Application/SplashScreen.h | 69f27d010332371ab551b62c749a572ffc700ae4 | [] | no_license | huangmxsysu/seg3d2 | 723099a1aa3ee8c741d0c2ff7d710482e516bdcd | 1e18c46847e0391d177290d41fa2c031cc007cdf | refs/heads/master | 2020-04-27T06:17:54.290762 | 2013-05-06T11:52:09 | 2013-05-06T11:52:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Softwa... | [
"mario.ceresa@alma3d.com"
] | mario.ceresa@alma3d.com |
094fc12797f7deb0af410e603705fa9c2f1adcd8 | f43634a4a8338ad965e17445d2bb7fe9c0f8dbdb | /ChatProgram/src/include/lobby.h | 3f013535a14a502d6e13dd6d00e96868908288fd | [] | no_license | knsdev/chatprogram | 2ddedd9a5864d7264b27e03ae2b7a83e2e711c88 | cc57df72f078e4a25c5b090824c4c5ce60c23663 | refs/heads/master | 2021-01-19T23:32:23.049589 | 2017-04-21T13:51:45 | 2017-04-21T13:51:45 | 88,988,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,316 | h | #pragma once
#include "stdafx.h"
#include "lobbyDef.h"
#include "constants.h"
#include "packets.h"
#include "chat.h"
#include "socket.h"
namespace chatprogram
{
class CLobby
{
private:
static CLobby* m_instance;
CChat m_chat;
std::vector<SLobbyInfo> m_lobbyList;
SLobbyData m_data;
ELobbyS... | [
"kimniklas.schlueter@gmail.com"
] | kimniklas.schlueter@gmail.com |
507a6fbb071660f1233c8b46adf48c68a6bdee74 | 7428c4de05c4987d672eac5c25759dd262ea4642 | /Source/Renderer/Public/RenderQueue/Renderable.cpp | 70fc2fd74c1fa646e93fe0c173bca3bfa1d7658f | [
"MIT"
] | permissive | aalekhm/unrimp | e56e366ce255502f2fd18b9c6f4f72446c526299 | 13380b2df90e3be3512c5accdef7c00511d17d30 | refs/heads/master | 2022-08-26T17:18:08.800044 | 2020-05-24T07:53:57 | 2020-05-24T07:53:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,465 | cpp | /*********************************************************\
* Copyright (c) 2012-2020 The Unrimp Team
*
* 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 wit... | [
"cofenberg@gmail.com"
] | cofenberg@gmail.com |
e16aa40f2e7bbd1cd93e7434f8b17ec4fbb72498 | 32f3befacb387118c4d9859210323ce6448094ee | /Contest/PSTC2016PetrMitrichev/J.cpp | 6aa80527b7a513c876d69ee07dd5fb2a41bbab90 | [] | no_license | chmnchiang/bcw_codebook | 4e447e7d06538f3893e54a50fa5c1d6dcdcd0e01 | e09d704ea17bb602ff1661b76d47ef52d81e8072 | refs/heads/master | 2023-04-11T08:29:05.463394 | 2021-04-19T09:16:31 | 2021-04-19T09:16:31 | 20,440,425 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 12,446 | cpp | #pragma GCC optimize ("O2")
#include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define FZ(n) memset((n),0,sizeof(n))
#define FMO(n) memset((n),-1,sizeof(n))
#define F first
#define S second
#define PB push_back
#define ALL(x) begin(x),end(x)
#define SZ(x) ((int)(x).size())
#define IOS ios_base::sync_with_s... | [
"hanhan0912@gmail.com"
] | hanhan0912@gmail.com |
2824e048d214963b9108ac086e8e2d9f750bc66c | 8ec9f36206e847371ddd9f6e53316fce4f9d49ea | /source/NeuralNetwork.h | 71b5944d178ed5ead6c97cf13cc45d7484f3c104 | [] | no_license | justinm1093/Ecosim | c388f62ee9a450acefa1705853dba5b7858b121b | 095e761aea44a94c3fb4379b877f966299d19903 | refs/heads/master | 2020-03-18T13:24:02.148555 | 2018-05-25T00:04:52 | 2018-05-25T00:04:52 | 134,780,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | h |
#pragma once
#include "ISimComponent.h"
#include "Genome.h"
#include "Neuron.h"
namespace Ecosim
{
/** Manages an ordered map of interconnected
* Neurons that produce outputs that affect
* Agent steering behaviors.
*/
class NeuralNetwork final : public ISimComponent
{
public:
NeuralNetwork(const Neural... | [
"justinm1093@gmail.com"
] | justinm1093@gmail.com |
dd913316575136a20d668a9992aa1ecaad053bb4 | 4b5a6c207886eb664889b8d28bef8724dd26fa63 | /ROOT/bin/OSLSMTMethodAllElectrons.cc | d462407fe95845b1a5e9da063117f9bff86e2c1b | [] | no_license | iross/UWAnalysis | 2b5d2ada9cfdc28e2c00f97a04767b4e283a04f1 | 5b3d21ddf2cb8557fd87b7e4f449496fb1f41479 | refs/heads/master | 2021-01-23T07:15:38.950859 | 2013-07-24T20:55:03 | 2013-07-24T20:55:03 | 4,274,658 | 1 | 0 | null | 2013-03-01T19:46:28 | 2012-05-09T17:51:09 | Python | UTF-8 | C++ | false | false | 18,001 | cc | #include "RooRealVar.h"
#include "RooGaussian.h"
#include "RooBifurGauss.h"
#include "RooExponential.h"
#include "RooAddPdf.h"
#include "RooHistPdf.h"
#include "RooDataSet.h"
#include "RooDataHist.h"
#include "RooGlobalFunc.h"
#include "RooChi2Var.h"
#include "RooRealVar.h"
#include "RooLandau.h"
#include "RooGaussian... | [
"iross@login06.hep.wisc.edu"
] | iross@login06.hep.wisc.edu |
5fbd7cb72d07ce71f111a91f06b8c42901c5a75f | d41a12992bbdd7b2b9626bf1bb1466b4b793840e | /gdal/09_registration/exception/MatricesException.h | 2b7cd4b999e9635460678b538638b99f1d251f83 | [] | no_license | FrankBlues/c-cpp-study | e81975f97a0b0bcdcaff68b9a108241732340b76 | a49971365a506e06405a7fc51494cbe6ea282eed | refs/heads/master | 2023-01-23T10:53:26.420934 | 2023-01-19T03:10:14 | 2023-01-19T03:10:14 | 179,606,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | h | /*
* MatricesException.h
* _LIB
*
* Created by Pete Bunting on 02/06/2008.
* Copyright 2008 Lib.
*
* Lib is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | [
"dream_15320@163.com"
] | dream_15320@163.com |
db21d27f9c8d50f65a2f6e98b209a0eddb0f0784 | 78e66bac02019d418a37d5a58cfe9b754e2994f9 | /Dev/ida5sdk/module/xa/ins.hpp | fb6c92644779e8c5b1220fda0704c1d3b2577f8c | [] | no_license | raimundojimenez/usefulres | 1db49c36bc08d409eec7253367d054e3b85489be | 1121a7b280cc95002b5d901b7e151741fffcafd3 | refs/heads/master | 2021-05-29T12:44:47.694847 | 2015-05-27T04:14:15 | 2015-05-27T04:14:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,006 | hpp | /*
* Interactive disassembler (IDA).
* Copyright (c) 1990-98 by Ilfak Guilfanov.
* ALL RIGHTS RESERVED.
* E-mail: ig@estar.msk.su, ig@datarescue.com
* FIDO: 2:5020/209
*
*/
#ifndef __INSTRS_HPP
#define __INSTRS_HPP
extern in... | [
"WellKnownSoft@3eee2735-b65a-edde-9f56-9c96bd66f7d7"
] | WellKnownSoft@3eee2735-b65a-edde-9f56-9c96bd66f7d7 |
8a1c5a11e5b65ab9490d84bb2407a69125eac89a | 573b7f2b79b6fb8b21b40985f7639bc003b60f7e | /SDK/BP_murder_sandbag_classes.h | 93e0fcbc8e41933f66a076395b7457e1a69e6972 | [] | no_license | AlexzDK/SquadSDK2021 | 8d4c29486922fed3ba8451680d823a04a7b7fc44 | cdce732ad4713b6d7f668f8b9c39e160035efb34 | refs/heads/main | 2023-02-21T02:52:15.634663 | 2021-01-23T23:28:57 | 2021-01-23T23:28:57 | 332,328,796 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | #pragma once
// Name: Squad, Version: 13-01-2021
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------... | [
"39485681+AlexzDK@users.noreply.github.com"
] | 39485681+AlexzDK@users.noreply.github.com |
e37d38ae0639e3c3fcf3471c8d1b10c4e2543cf4 | 7c7eefd0052835eda9e4959052654a5547df4288 | /midisynth.cpp | b6c5bc94b7b0c181e5c952d6eb6098565eca820d | [
"BSD-3-Clause"
] | permissive | supercatexpert/fmmidi | 40377ff4f9f695c1131fc99c13022139bfc5ef51 | 52dbbe5cb697f89528b2c5abda4e9cac38cf2dbc | refs/heads/master | 2020-04-09T09:15:52.168513 | 2018-12-03T17:41:07 | 2018-12-03T17:41:07 | 160,226,774 | 8 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 57,095 | cpp | // ใฝใใใฆใงใขMIDIใทใณใปใตใคใถใ
// Copyright(c)2003-2005 yuno
#include "midisynth.hpp"
#include <cassert>
#include <cmath>
#include <cstring>
#include <utility>
#ifdef __BORLANDC__
#include <fastmath.h>
namespace std{
using ::_fm_sin;
using ::_fm_cos;
using ::_fm_log10;
}
#endif
#ifndef M_PI
#def... | [
"supercatexpert@gmail.com"
] | supercatexpert@gmail.com |
64daee8dfb154c4e130d817f50dbebcb886c2c49 | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Debug/include/Fuse.Resources.SystemFileSource.h | 530371cb3a5c8a19f6b5520564ac362f430d5df0 | [] | 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 | 938 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Common/1.4.2/Resources/SystemFileSource.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.UX.FileSource.h
namespace g{namespace Fuse{namespace Resources{struct SystemFileSource;}}}
namespace g{namesp... | [
"i@firdaus.my"
] | i@firdaus.my |
473a9a74c606d8d8b6ecca5ef820e5228e5e2681 | acb2a37ab61249963412121f4b86745ac9041629 | /src/controller/CHIPDevice.h | b9a256f959810ad4607ec4ba59a55dfc7c7ba857 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chenliuyang1989/connectedhomeip | 9bdc116fb938255345119a247c60a46096f47cdf | 77a9f6a17a0db781e131595ea2b864178ea242c6 | refs/heads/master | 2023-08-06T01:11:10.836766 | 2021-09-28T23:30:16 | 2021-09-28T23:30:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,385 | h | /*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* 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/LI... | [
"noreply@github.com"
] | chenliuyang1989.noreply@github.com |
87e43124e2b3ea4ebc411891fdc33f4d344c3309 | 36f26e40b665fd513321ba7783f0ef305ba28f36 | /expression/expression.cpp | fe4a6f82adc619353960ca285d0c1a06e8222f7c | [] | no_license | wy91092/code | 7473a2550e6cfbcf2d7178011b59a7df907bb7ef | d4fa976f9dc6002b701062e15f8bf0e31c978e2e | refs/heads/master | 2016-09-06T16:24:45.617735 | 2014-05-16T11:33:28 | 2014-05-16T11:33:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,298 | cpp | /*************************************************************************
> File Name: expression.cpp
> Author: crooked
> Mail:812665244@qq.com
> Created Time: Thu 24 Apr 2014 08:37:31 PM CST
************************************************************************/
#include"expression.h"
using namespace std;
st... | [
"crooked@localhost.localdomain"
] | crooked@localhost.localdomain |
fd551fd5e4ad5f6997be6f554a72f940cc844728 | 4a3326ad1564a89b2a6f222c30a74a33d2e8f9e1 | /StudentManagementSystem_Qt/mainwidget.cpp | 520784892ea0e1127f5347cdeec5e1df24643e1c | [] | no_license | qweasdzxf/Test | 1eb79fe1f452922a761751098e0dab7b5197efb4 | edebc2a1b306e32ae901f9176f61bbdad44a4ce2 | refs/heads/master | 2022-08-02T13:12:24.162017 | 2020-05-30T16:50:46 | 2020-05-30T16:50:46 | 268,119,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,693 | cpp | #include "mainwidget.h"
#include "ui_mainwidget.h"
#include<QFrame>
#include<QtCore>
MainWidget::MainWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::MainWidget)
{
ui->setupUi(this);
menuwidget = new MenuWidget;
addstudentwidget = new AddStudentWidget;
selectwidget = new SelectWidget;... | [
"1179792106@qq.com"
] | 1179792106@qq.com |
9e12b114ddf4ff44c5469054820d593d38c623b3 | 992dc008c45c2a7c9181564fce5e0fb9b096786c | /instructions/BranchInstruction.cpp | f50fd457b2e9495421904eb85a9d5993a19f168e | [] | no_license | dusek/army | 31136e3264d3745a72eeefc4119581f96ff9ffe7 | d1d09ba6c52732395273a5fcb9b9b6d028f35dcf | refs/heads/master | 2016-09-09T21:28:57.016834 | 2014-10-04T17:23:39 | 2014-10-04T18:27:49 | 5,245,156 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | cpp | #include <bitset>
#include <memory>
#include "instructions/BranchInstruction.h"
#include "instructions/ImmedArg.h"
#include "instructions/RegArg.h"
namespace arm {
BranchInstruction::BranchInstruction(Arg *target, bool link, bool exchange, Cond cond)
:
CondInstruction(cond),
tgt_(target),
link_(link),... | [
"boris.dusek@gmail.com"
] | boris.dusek@gmail.com |
7a024704bd375b46e03109067116c355188ebbf5 | 9ffa8571281e82eeb6e5cd3eb04bba4c3bda76a3 | /Algorithms/Greedy/Beautiful_Pairs.cpp | cde238e4272dc5ddc5a672d90fa52012f9209e7c | [] | no_license | ashuy280/hackerrank | e0151c3dc62201e13356f341e0c71b0d0a20e0b9 | 1dd811719296b122576ed3983a92c1870363573a | refs/heads/master | 2020-04-24T15:10:03.717560 | 2019-03-30T09:47:39 | 2019-03-30T09:47:39 | 172,054,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | int beautifulPairs(vector<int> a, vector<int> b) {
int i,j=0,r=0,m=0,count=0,n=a.size();
int v1[n]={0},v2[n]={0};
for(i=0;i<n;i++){
for(j=0;j<n;j++){
if(a[i]==b[j]&&v1[i]==0&&v2[j]==0){
count++;
//v[j]=1;
v1[i]=1;
v2[j]=1;
... | [
"noreply@github.com"
] | ashuy280.noreply@github.com |
9aadc248419a06804021e68534b6a501742ca80b | ffe0ef08a8d3271ef6dde9d19d3f45fc895c78c8 | /hardware/rockchip/camera/CameraHal/CameraHal_Module.cpp | 2c5553d9b1801a5c31f9f0ffddf4947fd828bd0d | [] | no_license | isliulin/rp3288-21-5inch | 8403ec36ccfd6bc322b6e08329ca5943560ee21d | bccb0026f79f4034a3f74e8b299fb72caf9173c9 | refs/heads/main | 2023-05-25T19:35:48.290730 | 2021-01-06T02:11:05 | 2021-01-06T02:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,579 | cpp | /*
* Copyright (C) Texas Instruments - http://www.ti.com/
*
* 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 a... | [
"macian@foxmail.com"
] | macian@foxmail.com |
adb88d635ef233694ed9c4260c49d8bf494071dd | 7598faccaa6a30f05d98590fc3874435e32f54a2 | /src/NNDepParser/model/ActionedNodes.h | 9c2bcc2913dba8a39c39de27615fb82eeb68690c | [] | no_license | XrosLiang/NNDepParser | 2ca875f6f622e0f687f4501901ef817300ff603b | af49a428e5ceb785358ef360993ed46cb100dc95 | refs/heads/master | 2021-08-16T21:26:26.123024 | 2017-11-20T10:35:07 | 2017-11-20T10:35:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,260 | h | #ifndef ACTIONED_NODES_H
#define ACTIONED_NODES_H
#include "ModelParams.h"
#include "AtomFeature.h"
// score the action one by one
class ActionedNodes {
public:
LookupNode pre_action_input;
LookupNode pre_pre_action_input;
ConcatNode action_concat;
IncLSTM1Builder action_lstm;
vector<LookupNode> current_action... | [
"yunan.hlju@gmail.com"
] | yunan.hlju@gmail.com |
6ce6dd6923a3c0c397ea9a5a67a9303cf35a74ea | 5b30dc8638b31b4921ac1611950d48065319ad42 | /JNU/็บฟๆฎตๆ +็ฆปๆฃๅๆฑ้ๅบๅฏน.cpp | 1ddc7e45b914ecb7a27968962b2f0190b7190195 | [
"Apache-2.0"
] | permissive | taisuishen/code | 041916ac14973d24f669efd0f6c2606ad9cb554b | b959ffcd9f401fa7c6362d6d7cf745e48acfca89 | refs/heads/main | 2023-02-02T21:31:27.448785 | 2020-12-21T16:25:16 | 2020-12-21T16:25:16 | 303,955,660 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,366 | cpp | #include<bits/stdc++.h>
#define lson l,m,rt*2
#define rson m+1,r,rt*2+1
#define maxn 100000+10
using namespace std;
int n,now[maxn],tree[4*maxn],sign=0,ans=0;
const int mod=99999997;
struct node{
int v,w;
}a[maxn],b[maxn];
bool cmp(node a,node b)
{
return a.v<b.v;
}
void pushup(int rt)
... | [
"1037381963@qq.com"
] | 1037381963@qq.com |
73195176f7fb275194b8f9e66033132175b2af7b | 9861baf0aff68fc9c4e13479b9accbb93dcb5428 | /src/effects/videoStreamEffect.h | d3ddd4ae8b58a743423207abdf4773fc0435f5a0 | [] | no_license | Daandelange/karmaMapper | 9b36c0bd7244e6f1cb2feee07968eb11feff0d23 | 274b694f61d1a09e2e58c219d4232344ffceb49e | refs/heads/master | 2022-12-27T11:36:29.204878 | 2020-10-10T11:51:19 | 2020-10-10T11:51:19 | 18,294,275 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 648 | h | //
// videoStreamEffect.h
// karmaMapper
//
// Created by Daan de Lange on 12/3/14.
//
//
// tmp disabled
#ifdef KM_PLEASESKIPME
#pragma once
#include "ofMain.h"
#include "basicEffect.h"
#include "ofxAbletonLiveSet.h"
class videoStreamEffect : public basicEffect {
public:
videoStreamEffect();
~videoStreamEff... | [
"idaany@gmail.com"
] | idaany@gmail.com |
7e7764b86e14186dfc480456de4ac86263dfbd93 | 60712a0c58becf528e4a8790810bb5c8adc48183 | /src/lobject.cpp | a8e665f60dc9b2a29d976862841eb18951aef3e9 | [] | no_license | wuwx/lua_arduino | d112115e07275159b9704a08badcfde0b3346292 | 6e647b173b5069748d26a470c8806ffa95b9337e | refs/heads/master | 2021-01-19T06:20:31.583687 | 2016-12-05T01:25:34 | 2016-12-05T01:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,175 | cpp | /*
** $Id: lobject.c,v 2.22.1.1 2007/12/27 13:02:25 roberto Exp $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define lobject_c
#define LUA_CORE
#define LUAC_CROSS_FILE
#include "lua.... | [
"iboris@free.fr"
] | iboris@free.fr |
4a5ae4116c80def4daccd40261d29159a14ec3fe | 3ffcc0bc7d59ba2fa5f7d7e721d0ed80fe203363 | /Medium/159_LongestSubstringWithAtMostTwoDistinctCharacters.cpp | fe2e3e50ad17e7c1f379642df9270876a9cc61f5 | [] | no_license | davidwang318/LeetCode | 325f69894c86da376c5799101246ce1d4deaac54 | efc04f32b334ffd2bfbd8e902ffe40ea6a7ed272 | refs/heads/master | 2021-07-09T15:30:02.491489 | 2021-04-01T01:01:16 | 2021-04-01T01:01:16 | 234,077,651 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | class Solution {
public:
int lengthOfLongestSubstringTwoDistinct(string s) {
if (s.size() <= 2) return s.size();
int cnt = 0, l = 0, r = 0, res = 0;
unordered_map<char, int> m;
while (r != s.size()) {
if (cnt > 2) {
if (--m[s[l++]] == 0) --cnt;
... | [
"davidwang106@gmail.com"
] | davidwang106@gmail.com |
a9c9d4adf8ae0e4f78a7c4a87c4f8420955ef691 | 8b1cedbca5f5a967e5c37c280f53dfdbff00ff19 | /cocos/170704/170704_Lesson_Swap_Refrence/170704_Lesson_Swap_Refrence/170704_Lesson_Swap_Refrence.cpp | ae034aa75534e5f7a7c7ac2fb8b90cbe09d0cd97 | [] | no_license | kcwzzz/KCW | ef552641c77d1971ad4536d37a70eb9a59f4d4e6 | 34973e5fae0a4095418ac0bd99637ffa24f525be | refs/heads/master | 2020-12-03T05:11:38.828978 | 2017-09-29T08:10:59 | 2017-09-29T08:10:59 | 95,736,720 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 621 | cpp | // 170704_Lesson_Swap_Refrence.cpp : ์ฝ์ ์์ฉ ํ๋ก๊ทธ๋จ์ ๋ํ ์ง์
์ ์ ์ ์ํฉ๋๋ค.
//
#include "stdafx.h"
#include <iostream>
void Swap(int &tA, int &tB);
using namespace std;
int main()
{
int tAA = 777;
int &tBB = tAA; //tAA๋ผ๋ ๋ณ์์ tBB๋ผ๋ ์ด๋ฆ์ ์๋ก ๋ถ์๋ค.
cout << "tAA [" << &tAA << "] : " << tAA << endl;
cout << "tBB [" << &tBB << ... | [
"kcwzzz@naver.com"
] | kcwzzz@naver.com |
02be11ce6db0682a0fe1d564adcad0acb32efc49 | 94aae1906960a888c56773a8a450b4d8dd2538c7 | /lab5/src/main.cpp | 541f30c9050ba91332157a9eab5df805378c3c27 | [] | no_license | 226323/PAMSI | 3c951a96d1af7b928f9b94f2b1d9e5b39423db4d | 165702ebb5c24c32e3b3053a5aa2cbbc18142e82 | refs/heads/master | 2020-02-26T16:26:52.134312 | 2017-06-22T14:25:39 | 2017-06-22T14:25:39 | 83,697,798 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,679 | cpp | #include <iostream>
#include <cstdlib>
#include "klasa.hh"
#include "plus1.hh"
#include "razy2.hh"
#include "ilist.hh"
#include "list.hh"
#include "istack.hh"
#include "iclock.hh"
#include "stack.hh"
#include "node.hh"
#include "iqueue.hh"
#include "queue.hh"
#include "irunnable.hh"
#include "mergesort.hh"
int main()... | [
"noreply@github.com"
] | 226323.noreply@github.com |
945821b9be7a429b7bca8543d79ec053de149819 | 9546b2c00eaefbe9eb57f4f14711214b2009dc3b | /ChronoEngineWrapper/ChronoEngineWrapper/FunctionSine.cpp | 796ba71af7486631365b2645787338d93df2f939 | [] | no_license | globus000/cew | 671096366385805a8f4dbe2d2f8c185edb4163cb | 13d2a3c007239c8caccab2c5198ef5e8147369e1 | refs/heads/master | 2016-09-05T09:18:55.011986 | 2015-04-26T16:45:00 | 2015-04-26T16:45:00 | 34,566,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp |
#include "stdafx.h"
#include "Functionsine.h"
namespace cew
{
FunctionSine::FunctionSine() : Function( new chrono::ChFunction_Sine() )
{
}
FunctionSine::~FunctionSine()
{
}
double FunctionSine::Amp::get()
{
return SharedPtr->DynamicCastTo<chrono::ChFunction_Sine>()->Get_amp();
}
void FunctionSine::Amp:... | [
"zr_contact@mail.ru"
] | zr_contact@mail.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.