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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
90adc2873bb8bc9aa197434fd3e11f4e837b1efd | c6380fd22ed0075558202336657f2dd9bce9c336 | /state-machine/StateMachine.cpp | 6e368fd9b212472188707a0af76422c45300024b | [
"MIT"
] | permissive | fivunlm/statemachine | ec51ddbb67d3022690164373c97fe73c85d09974 | 0a00b32499f748ed80d66709b1745d9318231c07 | refs/heads/master | 2021-06-07T20:54:07.061897 | 2016-10-25T14:33:34 | 2016-10-25T14:33:34 | 56,595,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | //
// Created by FernandoDamian on 4/19/2016.
//
#include <assert.h>
#include <cstdio>
#include "StateMachine.h"
#include "EventData.h"
StateMachine::StateMachine(int maxStates, int initialState) :
m_maxStates( maxStates ),
m_currentState(initialState),
m_eventGenerated(0),
m_pEventData... | [
"lopez.fernando.damian@gmail.com"
] | lopez.fernando.damian@gmail.com |
b7e6d80e44efe80ca447b1f0eff791f7872cbcd8 | bddb40149f9028297d9b4f3f6b77514cadac9bca | /Source/Prototypes/filemanagement/filemanagement/FileButton_ShellExecute.cpp | dbc7fabd2a8679e444025bbc9025346f9a5acbe0 | [] | no_license | JamesTerm/GremlinGames | 91d61a50d0926b8e95cad21053ba2cf6c3316003 | fd0366af007bff8cffe4941b4bb5bb16948a8c66 | refs/heads/master | 2021-10-20T21:15:53.121770 | 2019-03-01T15:45:58 | 2019-03-01T15:45:58 | 173,261,435 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,154 | cpp | #include "stdafx.h"
bool FileButton_ShellExecute::Interface_FileClick_Execute //! Return whether you succeeded
( HWND hWnd, //! The control of the (first) window clicked upon
char **FileName) //! The list of filenames that where clicked upon
{
if (ApplicationInstance_TriCaster()) return false... | [
"james@e2c3bcc0-b32a-0410-840c-db224dcf21cb"
] | james@e2c3bcc0-b32a-0410-840c-db224dcf21cb |
bc26e47505adec98492e9866813edb18b0f0f371 | c6389f9b11fd40ee9295f4e88a14a8057e294e4f | /components/asio/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp | 0aa850fde3257b279f7f6c060ff8f1f504000233 | [
"MIT",
"BSL-1.0"
] | permissive | ghsecuritylab/N14 | 987ebb27cfbd7ebf84deadeb09a480aa51be34c7 | 76bc595e3face0903436e48165f31724e4d4532a | refs/heads/master | 2021-02-28T19:46:09.834253 | 2019-11-19T14:36:58 | 2019-11-19T14:36:58 | 245,728,464 | 0 | 0 | MIT | 2020-03-08T00:40:31 | 2020-03-08T00:40:30 | null | UTF-8 | C++ | false | false | 9,639 | hpp | //
// detail/win_iocp_socket_accept_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 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... | [
"qitas@qitas.cn"
] | qitas@qitas.cn |
88efcf6033cddaf529613fd6665179e402d0ce7d | cae9a5e136cf191e3f71b48f70cae2d3f6a52bc8 | /GroupGameDevTeam5/GroupGameDevTeam5/ImGui/imgui_widgets.cpp | 1ace2ae85366c097533d40f694238ac8caa32f67 | [
"MIT"
] | permissive | DevDylans/GroupGameDevTeam5 | 2caf80415e3b8df1163b170b1e19fd197d9891ca | d11d3102e81e39ab41399dc90fbc93c7e8a8575e | refs/heads/master | 2022-10-21T17:08:46.022139 | 2020-06-12T16:37:19 | 2020-06-12T16:37:19 | 259,376,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372,520 | cpp | // dear imgui, v1.77 WIP
// (widgets code)
/*
Index of this file:
// [SECTION] Forward Declarations
// [SECTION] Widgets: Text, etc.
// [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.)
// [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.)
/... | [
"dylanHetherington97@gmail.com"
] | dylanHetherington97@gmail.com |
7ae165034429cebc15102d9059509c82988b4339 | 5f31b04cf297e03f8be4608d258f9fee46c063e8 | /ProjectTest/03_event_driven_programming/testhead.cpp | 0dbea5ce9fb50a03cb219a1522ed4d2dfaa32263 | [] | no_license | cybershuimo/SDL_Experiment | 0c93eaa0a67e359b9bf7e998a2bf4855e4473cb2 | c2684e8a1be0e82300ba52ac6611e16995f3ca2d | refs/heads/master | 2021-09-10T07:34:42.675641 | 2018-01-12T08:05:43 | 2018-01-12T08:05:43 | 114,712,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp |
#include <stdio.h>
#include "testhead.h"
int main(int argc, char const *argv[])
{
int a = 2;
change(a);
printf("a is %i\n", a);
return 0;
}
| [
"27873085+cybershuimo@users.noreply.github.com"
] | 27873085+cybershuimo@users.noreply.github.com |
b2caacb547c190a44baa155dbce19a2c6fd1287f | 28f713d1558fdd2ff1d2f4b0900077af3d4f4d43 | /cs233/satwiks2/Lab12/cacheblock.cpp | 83749842391f291314577efcd70390a1e1a63542 | [] | no_license | itsmesatwik/uiuc_2021 | 10fe39a80c4a1e8a48886d6b89a7d15eaa5048e4 | 55aaacdf33fd84f51cb2f5631ee24ceb98afcd95 | refs/heads/master | 2023-04-11T06:03:35.701127 | 2021-04-26T19:40:42 | 2021-04-26T19:40:42 | 360,992,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include "cacheblock.h"
uint32_t Cache::Block::get_address() const {
auto index = _cache_config.get_num_index_bits();
auto tag = _cache_config.get_num_tag_bits();
auto offset = 32 - tag - index;
return (tag == 32) ? _tag : (_tag << (index + offset)) + (_index << offset);
}
| [
"satwik.illini@gmail.com"
] | satwik.illini@gmail.com |
70d51d0247f9d91f874a7a380f149e7048f302d8 | 36d5bc47dd874e52e8aeb2de56be32c40966d5f6 | /Lab 3/inputValidation.cpp | 4d46b574969a5c5f30c4ff2bc015ef4a0781018f | [] | no_license | esotericwarrior/CS162 | cb95b1d6e65ebcac31b6bf6e9e2379409f5285ff | 91efc8e4fc4ffc486b709991436fef7a080775f2 | refs/heads/master | 2020-03-17T12:27:18.666545 | 2018-11-01T17:15:10 | 2018-11-01T17:15:10 | 133,588,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,199 | cpp | /********************************************************************
** Program name: warGame *
** Author: Tristan Santiago *
** Date: January 28, 2018 *
** Description: lines 13-45 are case validating. *
** lines 47-77 are > 1 and < 91 integer validating. *
***********************... | [
"37146990+esotericwarrior@users.noreply.github.com"
] | 37146990+esotericwarrior@users.noreply.github.com |
cecb50e20ed04f9837a39102d3dc64a3cff03c81 | 960499569a1018c2a8817d21b13e79856ff344ba | /services/catalog/reader.cc | 3ae85d6ecc90831fb1ae034130a20d919c966f63 | [
"BSD-3-Clause"
] | permissive | ollie314/chromium | e0082d960bb3c0b19a38315f8d25dd7645129d04 | 533a1c2a90fe2a3bc74892f66f34d45aef3a8f98 | refs/heads/master | 2022-12-30T17:45:45.833312 | 2016-11-13T22:46:54 | 2016-11-13T22:46:53 | 49,952,784 | 0 | 0 | null | 2016-11-13T22:46:54 | 2016-01-19T12:58:33 | null | UTF-8 | C++ | false | false | 8,695 | cc | // Copyright 2016 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 "services/catalog/reader.h"
#include "base/bind.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/json... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2b8117e3aeb12ec2e43d6c66d3f4849f14a84343 | d98a957583e3d7e1ad822a74d24052c57ab3bbce | /test/compare/test_compare_uint64.cpp | 49306f64d8069d18eca9d89228538ce4b9f7e5c8 | [
"MIT"
] | permissive | VeloPayments/v-portable-runtime | c0cd8cca5f0d68e37783f1cac9d1f075d8e95034 | 0e19f718f40786d44517d8f8fbd341e05a92b649 | refs/heads/master | 2023-09-03T19:16:34.938669 | 2023-08-17T23:08:32 | 2023-08-17T23:08:32 | 249,749,371 | 0 | 1 | MIT | 2023-08-17T23:08:34 | 2020-03-24T15:45:48 | C | UTF-8 | C++ | false | false | 1,074 | cpp | /**
* \file test_compare_uint64.cpp
*
* Unit tests for compare_uint64.
*
* \copyright 2017-2023 Velo-Payments, Inc. All rights reserved.
*/
#include <vpr/compare.h>
#include <minunit/minunit.h>
#include <string.h>
TEST_SUITE(compare_uint64);
/**
* Test that comparing two uint64_t values that are equal result... | [
"nanolith@gmail.com"
] | nanolith@gmail.com |
be3700b7d87cecfe3d582d00f2a9f6314ab5435f | 52c56ac3090eb7bef0b1ae0e310db95bf05bce4d | /incl/domain/alliedcoalition.h | 3d028d282dcf99a04c42272d0d44764479094f6a | [
"Unlicense"
] | permissive | HexTools/one | ea6ce35d502728cdf6a2aa47ce2e6ddb2f73f7a2 | 87af3a4568bda72580accb4db9d4d12654df0293 | refs/heads/master | 2020-06-05T07:44:19.750921 | 2014-08-14T20:29:42 | 2014-08-14T20:29:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | #ifndef ALLIEDCOALITION_H
#define ALLIEDCOALITION_H
class AlliedCoalition
{
public:
enum
{
OTHER = 0,
BRITISH, // 1
FRENCH, // 2
VICHY, // 3
SOVIET, // 4
USA, // 5
GREEKS, // 6
COUNT // 7
};
};
#endif
| [
"moondt@gmail.com"
] | moondt@gmail.com |
d0db69819e838d05939abc27e43e585b40b0a1c3 | c5f4724d927c12f236b9710355c170681d75ebd9 | /Homework/p0/main.cpp | c525393104de8a81cba8b515f3fb34a2b499c29d | [] | no_license | Vin129/Games101_hw | 8b5b5700f412ae4c5bd7319c27d3e0317ebf3ff7 | 0f732658a1537aedbbe6e67260c7e2226045e1f8 | refs/heads/main | 2023-02-09T18:00:57.132379 | 2021-01-02T11:10:21 | 2021-01-02T11:10:21 | 324,705,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp | #include<cmath>
#include<eigen3/Eigen/Core>
#include<eigen3/Eigen/Dense>
#include<iostream>
using namespace std;
#define PI acos(-1)
int main(){
// Basic Example of cpp
clog << "Hello World" << std::endl;
std::cout << "Example of cpp \n";
float a = 1.0, b = 2.0;
std::cout << a << std::endl;
... | [
"515019721@qq.com"
] | 515019721@qq.com |
984382e159ff2793d84240485334c873adeda010 | 1e0be6beadcdd136b1ec714ee3df463a38c559fa | /HDU/2031.cpp | e004bc9e90585d97e8d9c03624921dd982c26ea1 | [] | no_license | yukinoxita/AC_CODE | 8172be6fc170acde67afd3f8101ef620ac4693ec | 36588308831571cb13b4f5b105f92c7a6ffd3a84 | refs/heads/master | 2021-07-25T20:34:45.066631 | 2020-10-09T11:53:33 | 2020-10-09T11:53:33 | 224,656,641 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
using namespace std;
int n,r;
int bit[100];
char alpha[6]={'A','B','C','D','E','F'};
int sit;
bool flag;
void print()
{
int i;
if(flag)printf("-");
for(i=sit;i>=1;i--)
{
if(bit[i]<10)printf("%d",bit[i]);
else printf("%c",alpha[bit[... | [
"m1091057545@163.com"
] | m1091057545@163.com |
5ac429ef741a94ec8dedb20012e6fe33018fcdcb | dd1e9e3796576da599f3981a7abaf2fcd9d6b89a | /BlitzSharp3D/gxruntime/graphics/bgfx/BGFXScene.cpp | f49c59ba1928b56c44fe146bab1a7dfa446995a4 | [
"Zlib",
"BSD-3-Clause"
] | permissive | blitzimagine/BlitzSharp3D | 4ae674cfdd2aba09f6844dce10ad44796c92aad0 | cbf25a5d4ad3e1081e819c0dfaeb3ce40cd57860 | refs/heads/master | 2023-04-13T08:50:40.440863 | 2022-06-08T13:41:12 | 2022-06-08T13:41:12 | 189,093,663 | 9 | 1 | NOASSERTION | 2021-09-04T22:52:21 | 2019-05-28T19:52:11 | C | UTF-8 | C++ | false | false | 13,348 | cpp | #include "BGFXScene.h"
#include <bgfx/bgfx.h>
#include <bx/math.h>
#include "BGFXBase.h"
#include "BGFXLight.h"
#include "BGFXGraphics.h"
#include "BGFXCanvas.h"
#include "BGFXShader.h"
#include "BGFXUtil.h"
static int tex_stages = 1;
static float BLACK[] = { 0,0,0 };
static float WHITE[] = { 1,1,1 };
static float G... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
d60d11fe7f2b6ec30443ca1cd6dfd57e4d227e37 | 02b8e4498a2c3d0b07d5718ab06934c9c812cffc | /pset1/test028.cc | fee5ad3e4ac3eaaa0a9f5916becab5be20f9622d | [] | no_license | Ccolt/cs61 | cbedb856fdc745c167b81adb4b84cf46545dee38 | 8f2076364cb5ad965746d69e64d3b55836cb88c6 | refs/heads/master | 2020-05-16T15:59:24.215495 | 2019-04-24T05:02:59 | 2019-04-24T05:02:59 | 183,148,059 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cc | #include "m61.hh"
#include <stdio.h>
#include <assert.h>
#include <string.h>
// Memory leak report with no leaks.
struct node {
node* next;
};
int main() {
node* list = nullptr;
// create a list
for (int i = 0; i < 400; ++i) {
node* n = (node*) malloc(sizeof(node));
n->next = list;
... | [
"charlie.colt.simonds@gmail.com"
] | charlie.colt.simonds@gmail.com |
217749098f0a598178341df24e6d4514c7d61f1e | 615a8bb951c9f8a6c125548730e00b01566eb384 | /Sandbox/src/Layers/CImguiLayer.h | be5e225ae29e3c4a70b08f9496c5d871fd597d39 | [
"Apache-2.0"
] | permissive | Krais1989/KraisEngine | c176c8e52baddaf3a318a437af3ba46746f99cd1 | b7f79a4cd38cd83c3f9c762fd4d93ebd713ca3cd | refs/heads/master | 2023-08-31T10:15:31.913994 | 2021-03-06T19:37:47 | 2021-03-06T19:37:47 | 283,689,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | h | #pragma once
#include <ke_pch.h>
#include <KraisEngine.h>
class CImguiLayer : public KE::CLayer
{
public:
CImguiLayer();
virtual void OnAttach();
virtual void OnDetach();
virtual void OnUpdate(float dt);
virtual void OnEvent(KE::CEvent& ev);
virtual void OnRender();
protected:
bool m_ShowDemo = true... | [
"krais1989@gmail.com"
] | krais1989@gmail.com |
43e25408894b875c8a8b0c2d59d44858fa9f971b | 51f4106e2a42bf3c9794b85ccb1f103870c4643a | /common/src/physics2/BoundingBox3D.h | 55d20ba707baffd30bb70fd0c21c21885180bac6 | [] | no_license | expokorea/korea | 7eaf84e62ef0dbe63cddd6a6c590e85d78633c24 | d88d3206e66845ee72eda91b72963f43e591045d | refs/heads/master | 2021-01-01T19:15:34.462778 | 2012-04-14T15:16:08 | 2012-04-14T15:16:08 | 3,376,639 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,998 | h | #pragma once
#include "ofMesh.h"
#include "ofGraphics.h"
//----------------------------------------
static void ofBox(ofVec3f size){
static ofMesh vertexData;
ofPushMatrix();
if(ofGetCoordHandedness() == OF_LEFT_HANDED){
ofScale(1, 1, -1);
}
float w = size.x * .5;
float h = size.y * .5;
float d = size.z *... | [
"arturo@openframeworks.cc"
] | arturo@openframeworks.cc |
5729a8aa2d71f43fc1891c32b16998a700694d7e | bd18ae73e6a97f15929d2eeebfed34cb003e4742 | /Source/ImsvGraphVis/IGVLog.cpp | 999e0479b3940711704b60ce486ef139d0ddefb5 | [
"BSD-3-Clause"
] | permissive | kwonoh/ImsvGraphVis | d7faada6b63c40b20ce3962a46804d5f3e2673b8 | a97397818d7d8c6be4d8ea67882ac61093f52fc0 | refs/heads/master | 2022-05-26T23:34:27.332066 | 2022-03-24T02:46:39 | 2022-03-24T02:46:39 | 102,439,015 | 23 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | #include "IGVLog.h"
DEFINE_LOG_CATEGORY(LogIGV);
| [
"kwonoh@me.com"
] | kwonoh@me.com |
3668caf717d549c7f5ac6294f572325c009eaee3 | 35717ca2bb81d2c47d31e4cb9cc9fd8304aef09b | /CNN/layer.h | 2f94956885a354dacf43435c96f791988ea3cf5f | [] | no_license | advancer-debug/DECNN | 05d4164f6999274c25369ad43a0a3a1519e43667 | 491c9af3591285f901adb2479303dce4a93575d1 | refs/heads/master | 2021-06-01T17:51:03.430121 | 2016-01-29T14:30:33 | 2016-01-29T14:30:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,145 | h | /* FileName: layer.h */
#ifndef _LAYER_H_
#define _LAYER_H_
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "util.h"
using namespace std;
enum layer_type {
INPUT = 0,
CONV ,
POOL ,
FULLI,
HIDDEN ,
OUTPUT ,
};
class FeatureMap {
public:
doubl... | [
"aron@aron-Precision-T1700.(none)"
] | aron@aron-Precision-T1700.(none) |
648326531ab4b2366b9b6227b713c5bb0a7b7ceb | 718ef298b4f5983ba5623753d3d63dc56c95ca66 | /iOS/Classes/Native/UnityClassRegistration.cpp | f9d3d0b5f7edb12737d5305229b5bf1fc65b94da | [] | no_license | aditya4812/ZIROInvasion | fab2116a4b46312146ba751fab8bdb171d1f936b | f10b7f8625c94d6640342d16c273c0345fd0761a | refs/heads/master | 2020-12-20T23:23:52.659556 | 2020-05-06T02:21:04 | 2020-05-06T02:21:04 | 236,237,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:953bf89a0206ba57d260e18ef86af892a1a6955c1fbe0ede4d0b59a475672e0e
size 16621
| [
"a7mehta@ucsd.edu"
] | a7mehta@ucsd.edu |
1665b06774a0a4fd88be778c3743372785fc1542 | f88777eea48fa72d26518325d99e2fa022895c70 | /aoj/grl-4-b_topological-sort.cpp | cda196ee30be3d6e190878b3466ed13471756a38 | [] | no_license | komukomo/competitive-programming | c0797e138c592121223676030f81e765b893f378 | 5c7e9462b0e5035c3a8a27007c4bcdfd55bf390c | refs/heads/master | 2021-01-18T15:37:07.313730 | 2017-03-30T05:22:37 | 2017-03-30T05:22:37 | 86,662,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
static const int MAX = 10000;
vector<int> G[MAX];
int indegs[MAX];
bool visited[MAX];
void visit(int x) {
cout << x << endl;
visited[x] = true;
}
void bfs(int start) {
queue<int> q;
q.push(start);
while (!q.emp... | [
"komukomo@users.noreply.github.com"
] | komukomo@users.noreply.github.com |
0da996a5d98940184e06351c5fff0c9965aa8367 | a8e8c56272c284b69f4e0204fa01da8fa7b33703 | /GarageControlSlave/GarageControlSlave.ino | ccf93c3641766b180b48ab8a18678f9e05dc0e6c | [] | no_license | stejsoftware/GarageControlFirmware | ef0c07e41ba3ed1f5c1da3e5b89305d8479f03da | 9469a6bfa1e8fcfd5491312209f8852c70098b73 | refs/heads/master | 2020-02-26T14:05:12.794254 | 2016-11-20T15:52:02 | 2016-11-20T15:52:02 | 19,815,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,575 | ino | #include <DHT.h>
#include <CmdMessenger.h>
#include <GarageControl.h>
#include <Timer.h>
#include <LED.h>
#include <Button.h>
#include <Relay.h>
// door status
Button door_open(11, false);
Button door_closed(10, false);
Timer door_timer;
DS door_status = DS_Unknown;
// relay variables
Relay relay(9);
// temp variabl... | [
"jon@stejsoftware.com"
] | jon@stejsoftware.com |
cd263e105405af307df13bb2eb7d49a65dd86ec9 | 49b878b65e9eb00232490243ccb9aea9760a4a6d | /components/sync/trusted_vault/standalone_trusted_vault_backend.h | dd2df4dc1c484d7178f102a20310bc6096c93637 | [
"BSD-3-Clause"
] | permissive | romanzes/chromium | 5a46f234a233b3e113891a5d643a79667eaf2ffb | 12893215d9efc3b0b4d427fc60f5369c6bf6b938 | refs/heads/master | 2022-12-28T00:20:03.524839 | 2020-10-08T21:01:52 | 2020-10-08T21:01:52 | 302,470,347 | 0 | 0 | BSD-3-Clause | 2020-10-08T22:10:22 | 2020-10-08T21:54:38 | null | UTF-8 | C++ | false | false | 5,838 | 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 COMPONENTS_SYNC_TRUSTED_VAULT_STANDALONE_TRUSTED_VAULT_BACKEND_H_
#define COMPONENTS_SYNC_TRUSTED_VAULT_STANDALONE_TRUSTED_VAULT_BACKEND_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5fd4d6c90dd589a29ee69c9a97fa18ea40be9ec0 | 9adfd7219b271002d0fb08cc7e7419b4960160c1 | /SRC/os.cpp | 7f31bbb6824ecefa9ccd7ad68027b166e466f925 | [
"MIT"
] | permissive | yejeelee94/ChatScript | 0deefec13edefb2638eebc6992805b57f944d9bb | 53337b6ed319403aea2303248e7e62c795085f54 | refs/heads/master | 2020-05-17T22:30:46.592138 | 2019-04-26T21:49:08 | 2019-04-26T21:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,329 | cpp | #include "common.h"
#ifdef SAFETIME // some time routines are not thread safe (not relevant with EVSERVER)
#include <mutex>
static std::mutex mtx;
#endif
int loglimit = 0;
int ide = 0;
bool idestop = false;
bool idekey = false;
bool inputAvailable = false;
static char encryptUser[200];
static char encryptLTM[200];
st... | [
"gowilcox@gmail.com"
] | gowilcox@gmail.com |
7b9e31d8ed8333b04b8d8068bafa38127d014a25 | 8eafb73fdab3e422aa717bac9af338dcba5e3c1e | /bbp/src/irikura/greenscale/saitofilt.cpp | fef83968fbbe625f3dbff73783e7d3c0c9bdcab8 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | LevyForchh/bbp | 6dae4ce3577a73f5cef9b9b5507753a1381ec870 | 3cc389fb956ea14ef827af0f437ce37e8291afac | refs/heads/master | 2020-06-03T05:10:35.751009 | 2019-06-11T21:38:18 | 2019-06-11T21:38:18 | 191,453,945 | 0 | 0 | null | 2019-06-11T21:38:16 | 2019-06-11T21:38:15 | null | UTF-8 | C++ | false | false | 8,092 | cpp | #define PI 3.141593
#define HP 1.570796
#include <math.h>
#include "saitofilt.h"
/*
+ BUTTERWORTH LOW PASS FILTER COEFFICIENT
+
+ ARGUMENTS
+ H : FILTER COEFFICIENTS
+ M : ORDER OF FILTER (M=(N+1)/2)
+ GN : GAIN FACTOR
+ N : ORDER OF BUTTERWORTH... | [
"fsilva@usc.edu"
] | fsilva@usc.edu |
4e4c9c3fee8e3e6a349a8f96074733a8abb54b99 | 5d917e97f825ee26f1e133ea9ea374b277a837d9 | /frameworks/lua-bindings/bindings/auto/lua_cocos2dx_auto.hpp | 76e48d894e97366f97c14be01213e6fcba2b5f51 | [
"MIT"
] | permissive | xiangyuan/cocos2d-lua | fc233a7d64c6aa5a834cc8d45f434c0ca595edfc | 59934c329b58740486cb3dfe9125bfcdfe12d730 | refs/heads/master | 2020-12-26T02:39:16.478848 | 2014-03-03T08:43:39 | 2014-03-03T08:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | hpp | #ifndef __cocos2dx_h__
#define __cocos2dx_h__
#ifdef __cplusplus
extern "C" {
#endif
#include "tolua++.h"
#ifdef __cplusplus
}
#endif
int register_all_cocos2dx(lua_State* tolua_S);
... | [
"jianhua.chen@cocos2d-x.org"
] | jianhua.chen@cocos2d-x.org |
ea8b73956a85463edb3d4fcf1eb398ea8b7cc3da | 4354173cc824119dc4922ebc8157befe188b05e0 | /Cache.h | bb52a610bcd9ba38fdc3415f0a3ca9d4e6376bfd | [
"MIT"
] | permissive | Tarferi/youtubedownloader | 9d5c182179e26ee43a8a0339e714eeb39f013a33 | 70c46a33787b93265254f932cf1c73963716ec28 | refs/heads/master | 2020-09-10T05:17:46.804973 | 2019-11-14T15:09:10 | 2019-11-14T15:09:10 | 221,657,954 | 18 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #pragma once
#include "common.h"
class Cache {
public:
static const unsigned int CACHE_CHECKSUM_LEN = 48;
bool isValid = false;
Cache(char* path, size_t maxSize);
virtual ~Cache();
ReadBuffer* get(char* checksum);
bool put(char* checksum, char* data, unsigned int dataLength);
private:
... | [
"Tom@DESKTOP-OKDR18E"
] | Tom@DESKTOP-OKDR18E |
f1484cd016c1c1d5222ecfa7bd700f4ce39f47ae | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /Engine/Code/Mathematics/Intersection/Intersection2D/StaticFindIntersectorSegment2Arc2.cpp | 3e3028aa786c396ce154a22b51f3edb5a2f25e29 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 942 | cpp | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎版本:0.9.0.11 (2023/06/08 19:23)
#include "Mathematics/MathematicsExport.h"
#ifdef MATHEMATICS_EXPORT_TEMPLATE
#ifndef MATHEMATICS_INCLUDED_STATIC_FIND_INTERSECTOR_SEGMENT2_ARC2_A... | [
"94458936@qq.com"
] | 94458936@qq.com |
4a5f0352f38f1245c786415369af32dd6c4b608b | c140db9d127803a03199db78ff5507b503b316fb | /cpp/includes/cloud/asio_handler/asio_handler.cpp | 184bd9853dc2e44712a003447d9702ccaca437e5 | [
"Apache-2.0"
] | permissive | shangma/rapp-api | dedaf7ed140549568f1e83306b039ae81482a4ae | e842401e1a83754a51874b996646355e627a9b18 | refs/heads/master | 2021-01-23T08:11:23.688892 | 2016-07-01T12:29:01 | 2016-07-01T12:29:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,962 | cpp | #include "asio_handler.hpp"
namespace rapp {
namespace cloud {
void asio_handler::error_handler(const boost::system::error_code & error)
{
std::cerr << "error: " << error.message() << std::endl;
}
void asio_handler::invalid_request(const std::string message)
{
std::cerr << "invalid http request: " << messag... | [
"klpanagi@gmail.com"
] | klpanagi@gmail.com |
bf0fe243336130c1f6633cc4a6aeb5057d993766 | 7f84adc638f0b43442ebcbfa562597fc24cad186 | /Graph/Connected_Components.cpp | 068be9262ea1e11eff5dd0c2365cc63ab5fc717f | [] | no_license | okoge-kaz/cpp-library | c122338e02e63346d83b4e689f8791b85ef9da64 | afdae5ee94b101e1f4b7793f8046652b2e1090e6 | refs/heads/main | 2023-08-24T09:52:15.789845 | 2021-09-18T09:02:00 | 2021-09-18T09:02:00 | 405,311,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const long long INF = 1LL << 60;
const int inf = (1 << 30);
const ll mod = 998244353;
const ll MOD = 1000000007;
const ld PI = acos(-1.0L);
int dy[] = {1, 0, -1, 0}, dx[] = {0, -1, 0, 1};
int dy8[] = {1, 1, 0, -1, -1, -1, 0, 1},... | [
"kaz.tokyo.tech20@gmail.com"
] | kaz.tokyo.tech20@gmail.com |
9a05a0e0f6dae4b45145c6d9b0d7f84dbddbb2e7 | df8cbdbf75e4bf08ddda9fdcc3b2999e98dfc539 | /SU2016/C++/Play/LeetCodeQuestions/LeetCodeQuestions/MajorityElementII229.hpp | 5c0ffb254164fab419c39e3a70beac625cd49cbf | [] | no_license | SiyangJ/Courses | a1a0f3d24002d6f755db2d14a9eb4968e132e524 | b95588c80d25f34f43002af1bd9a3234f7f8bc9b | refs/heads/master | 2020-03-22T17:18:13.351510 | 2019-01-22T15:11:33 | 2019-01-22T15:11:33 | 140,386,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | hpp | //
// MajorityElementII229.hpp
// LeetCodeQuestions
//
// Created by apple on 10/26/17.
// Copyright © 2017 UNC. All rights reserved.
//
#ifndef MajorityElementII229_hpp
#define MajorityElementII229_hpp
#include <stdio.h>
#include <vector>
using namespace std;
class MajorityElementII229 {
public:
// Li... | [
"siyangj@live.unc.edu"
] | siyangj@live.unc.edu |
2446d40670afeb2af92ccf150c6a8688b7658e7e | fe39e4d1bca62d7bff7b6713b8b596d88f8aa354 | /src/plugins/3rdparty/LLVM/tools/clang/lib/AST/VTTBuilder.cpp | 24c1455df0ec1df99af9dba93f2ef6398a41e9c9 | [] | no_license | panpanSun/opencor | a29a806475f43adb0f64047631d4dc044f05e030 | 71449e1ecaa988ea8b6cfea7875d9f3593a8dc26 | refs/heads/master | 2020-12-24T11:53:33.902565 | 2013-04-20T18:59:29 | 2013-04-20T18:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,519 | cpp | //===--- VTTBuilder.cpp - C++ VTT layout builder --------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
16c47725873230e76d03568816cd054e1091f1c0 | 23e7a9c2c98302c0ec79cbf7ef4203106abc5de2 | /Weaver/src/Player.cpp | aa5eb3761a453a7520cfe3769f548577a5ab5c9d | [] | no_license | GeorgeJJCheng/PersonalProjects | 35979eee0ae0c1f0960a3de5a04039be76ccf8e9 | e90f06aa6001add8461b1c9ea9c5813944d51379 | refs/heads/master | 2021-01-20T04:50:31.185470 | 2017-04-28T20:15:39 | 2017-04-28T20:15:39 | 89,740,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | #include "Player.h"
Player::Player()
{
//ctor
}
Player::~Player()
{
//dtor
}
void Player::checkExp()
{
}
| [
"jj5cheng@uwaterloo.ca"
] | jj5cheng@uwaterloo.ca |
a84d354a42e585c6fa4dbc582da1963e4447fc2e | c18e3cba4f445613b2ed7503061cdfe088d46da5 | /docs/parallel/concrt/codesnippet/CPP/asynchronous-agents-library_1.cpp | e0b433c368b08532024cc43d4a608f225f0076cb | [
"CC-BY-4.0",
"MIT"
] | permissive | MicrosoftDocs/cpp-docs | dad03e548e13ca6a6e978df3ba84c4858c77d4bd | 87bacc85d5a1e9118a69122d84c43d70f6893f72 | refs/heads/main | 2023-09-01T00:19:22.423787 | 2023-08-28T17:27:40 | 2023-08-28T17:27:40 | 73,740,405 | 1,354 | 1,213 | CC-BY-4.0 | 2023-09-08T21:27:46 | 2016-11-14T19:38:32 | PowerShell | UTF-8 | C++ | false | false | 2,490 | cpp | // basic-agents.cpp
// compile with: /EHsc
#include <agents.h>
#include <string>
#include <iostream>
#include <sstream>
using namespace concurrency;
using namespace std;
// This agent writes a string to its target and reads an integer
// from its source.
class agent1 : public agent
{
public:
explicit agent1(ISour... | [
"v-zhecai@microsoft.com"
] | v-zhecai@microsoft.com |
c0e8919457ec80760743a5beb7221e7c98dc5c66 | fe106df825705a090f321967a38f9901bf31a4a9 | /cpp/wejscie-wyjscie.cpp | 2c4a6ed8c5a073b13e3dbc520d97f7f22d445fac | [] | no_license | Piter98/gittest | 1388dcea43821b2e345d53175854e7f689c4a4fd | 61a561e73d5033226948a9ab763cee3179942013 | refs/heads/master | 2021-01-20T15:18:52.677693 | 2017-04-12T11:39:55 | 2017-04-12T11:39:55 | 82,804,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | /*
* wejscie-wyjscie.cpp
*
* Copyright 2017 user <user@lap79>
*
*/
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <math.h>
using namespace std;
int main(int argc, char **argv)
{
int lint = 0;
cout << "Podaj liczbę całkowitą: ";
cin >> lint;
cout.setf(ios_base::hex, ios_base:... | [
"piotr.pal98@gmail.com"
] | piotr.pal98@gmail.com |
f3362d3c489e5dc898eb28008af9aa50ef5b2cd6 | 01f9500c4da16d32bf2e655faf4a634a498bcbd2 | /INZERNAL/menu/framework.cpp | fb83e84298089313f59d21da0562a07fff4d918c | [] | no_license | VerXWasTaken/HertZ-inzernal-modified | 63487457e65a7d7c9e0fee91f783a5b8c6508ce4 | 01874ca1509da5543269fe2605f5f8b0a26ef7fa | refs/heads/main | 2023-09-03T10:43:14.959489 | 2021-11-21T17:02:48 | 2021-11-21T17:02:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,454 | cpp | #pragma once
#include <menu/menu.h>
#include <sdk/sdk.h>
#include <proton\VariantDB.h>
void menu::framework_tab() {
imwrap::prep_columns(3);
auto client = sdk::GetClient();
auto logic = sdk::GetGameLogic();
auto local = logic->GetLocalPlayer();
auto world = logic->GetWorld();
auto tilemap = lo... | [
"noreply@github.com"
] | noreply@github.com |
6810cf7d9b64c4bb0149f1053302079ffcd858d4 | 9d2ddf5a04576102e51080fb90a239103eb7f93b | /codechief/SPALNUM1.cpp | 8fabd527af83252900b82bebb539c7c286dd0746 | [] | no_license | sharmayush/Competitive-programming | f02a7b5b8deab07d753d3318e6d30e3b3efda2ba | 466d24709d920dbce645f874ca78d22ee001d262 | refs/heads/master | 2020-03-27T14:05:09.326060 | 2018-08-29T19:40:21 | 2018-08-29T19:40:21 | 146,643,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include<iostream>
using namespace std;
int main()
{
long long int t;
cin>>t;
while(t--)
{
long long int flag=0,temp,i,n,k;
cin>>n>>k;
for (i=n;i<k;i++)
{
long long int reverse = 0;
temp = i;
while(temp!=0)
{
reverse = reverse*10;
reverse = reverse+temp%10;
temp = t... | [
"noreply@github.com"
] | noreply@github.com |
921b3742ca413151f1a3cfe802a0cc894dfcc198 | 783ab8af3c349b1bb5c4a8385e7045f4eb0d4157 | /src/qt/optionsdialog.cpp | 64d876f030814974e1a550a14bf485676fb68e02 | [
"MIT"
] | permissive | qwanmic/jipcoin | 62783fb2313f7d82192809723f87a47fd25274b4 | f8b9d20e292dda80fc735938692ca038ac225eda | refs/heads/master | 2020-03-21T05:43:04.414090 | 2018-06-22T08:56:40 | 2018-06-22T08:56:40 | 136,718,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,332 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include ... | [
"michael@ukm-alumni.org"
] | michael@ukm-alumni.org |
37946f97778410d451ff07d10f6c44977bd54897 | 293279d940b97ad5a2b98f27d2fe8368f7a7f50c | /gammaee/super_hadrons/src/Trkman/Class/TMCurlerMissingThirds.cc | d8605be672a7ebc4bac1da13bb2102813abf21a4 | [] | no_license | jpivarski-talks/1999-2006_gradschool-1 | 51a59a9d262a34d4d613d84bd6a78a0e2675db06 | 11abf09e8dc3b901627e9a7349d9c98bea250647 | refs/heads/master | 2022-11-19T12:16:19.477335 | 2020-07-25T01:18:29 | 2020-07-25T01:18:29 | 282,235,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,480 | cc | // -*- C++ -*-
//
// Package: <package>
// Module: TMCurlerMissingThirds
//
// Description: <one line class summary>
//
// Implementation:
// <Notes on implementation>
//
// Author: Nadia Adam
// Created: Thu Sep 5 10:38:17 EDT 2002
// $Id: TMCurlerMissingThirds.cc,v 1.1 2002/11/04 18:31:30 nea9... | [
"jpivarski@gmail.com"
] | jpivarski@gmail.com |
64e2822abb3ab9366a9067de3121eda2434cad43 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BPF_PlayerCameraBase_parameters.h | f0c65148796302b72c109c0c54d2174a68cf0b24 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | #pragma once
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
86914564f268885a76c49e045786638ed02c2807 | e89efedb81ee399b04d5266cef71fb02074f9008 | /spec/triangle_spec.cpp | e06ee3471d18e230ae3f2eda1a2e7afbaca65c25 | [] | no_license | ChrisLundquist/cs250 | 71cfb1fb57296aadcad66ab20b5103cbac489b59 | 52fe77c763dc2ec8e1e15802ce7120dbedefa71f | refs/heads/master | 2020-05-31T00:40:53.555633 | 2012-09-27T08:56:21 | 2012-09-27T08:56:21 | 5,775,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,127 | cpp | #include <gtest/gtest.h>
#include "../triangle.h"
static Color red() {
return Color(255, 0, 0);
}
static Color green() {
return Color(0, 255, 0);
}
static Color blue() {
return Color(0, 0, 255);
}
static Vertex vertex_a() {
return Vertex(Point(100, 0), red());
}
static Vertex vertex_b() {
retur... | [
"chris.lundquist@bluebox.net"
] | chris.lundquist@bluebox.net |
5e39045dec424513a4a088a741734fe4fea1b6a0 | 7f72c463d8747c05cf964e0ea4f896890b4a8b6c | /out/Release/obj/gen/deps/v8/src/objects/js-array-buffer-tq-csa.h | 78fe041888fcca5ce010845fe20b0e1f4355c5e7 | [
"CC0-1.0",
"LicenseRef-scancode-openssl",
"NTP",
"BSD-3-Clause",
"Artistic-2.0",
"Zlib",
"ICU",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"ISC",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"LicenseRef-sca... | permissive | sdizdarevic/node-v14.15.4 | 5dc95efdd2dc83aa577930c0792755d2e25da238 | ab3716c46ad34da8680ca48c2498e71d77838dfd | refs/heads/master | 2023-03-09T00:46:54.316036 | 2021-02-21T10:19:33 | 2021-02-21T10:19:33 | 340,862,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,415 | h | #ifndef V8_GEN_TORQUE_GENERATED_______DEPS_V8_SRC_OBJECTS_JS_ARRAY_BUFFER_TQ_H_
#define V8_GEN_TORQUE_GENERATED_______DEPS_V8_SRC_OBJECTS_JS_ARRAY_BUFFER_TQ_H_
#include "src/builtins/builtins-promise.h"
#include "src/compiler/code-assembler.h"
#include "src/codegen/code-stub-assembler.h"
#include "src/utils/utils.h"
#... | [
"saudin.dizdarevic@gmail.com"
] | saudin.dizdarevic@gmail.com |
88ccc47b7d060918ffae1682d5bb10a7e75b7616 | b4e9ff1b80ff022aaacdf2f863bc3a668898ce7f | /openfl/Bsvgpath/Export/macos/obj/src/lime/graphics/opengl/ext/QCOM_perfmon_global_mode.cpp | 072e9becd27530a69de26bdfc60f024d5d568d9c | [
"MIT"
] | permissive | TrilateralX/TrilateralSamples | c1aa206495cf6e1f4f249c87e49fa46d62544c24 | 9c9168c5c2fabed9222b47e738c67ec724b52aa6 | refs/heads/master | 2023-04-02T05:10:13.579952 | 2021-04-01T17:41:23 | 2021-04-01T17:41:23 | 272,706,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,818 | cpp | // Generated by Haxe 4.2.0-rc.1+7dc565e63
#include <hxcpp.h>
#ifndef INCLUDED_lime_graphics_opengl_ext_QCOM_perfmon_global_mode
#include <lime/graphics/opengl/ext/QCOM_perfmon_global_mode.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_8723c151069cfd66_6_new,"lime.graphics.opengl.ext.QCOM_perfmon_global_mode","new",0x76e5430... | [
"none"
] | none |
8208a476cfd711417bf5208e534a87716532c1b6 | dcb75b10a352d9cfc0ae31f28679a2d56b10b875 | /Source/Mordhau/MordhauShield.cpp | 69a788ddb70422b80b66a5cc8e76f82a35ba4926 | [] | no_license | Net-Slayer/Mordhau_uSDK | df5a096c21eb43e910c9b90c69ece495384608e0 | c4ff76b5d7462fc6ccad176bd8f1db2efdd2c910 | refs/heads/master | 2023-04-28T02:48:14.072100 | 2021-12-15T16:35:08 | 2021-12-15T16:35:08 | 301,417,546 | 3 | 1 | null | 2021-08-23T13:23:29 | 2020-10-05T13:26:39 | C++ | UTF-8 | C++ | false | false | 111 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MordhauShield.h"
| [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
d506c6c52a76577f7905a0257ad38e3c4fff240c | 597f8a01ba9e6bb53fd8c481a9adbe5f97e8414f | /Assignment3/Client/include/Keyboard.h | d2fe301b463c7b14f1bcc7f532b507091e004e34 | [] | no_license | segevngr/Systems_Programming | 20b6574b0c4fbf3ff7d9b06aa3a6721188705efa | fb54d2218a850538aebf83c7802529feeeebdf7a | refs/heads/master | 2022-11-25T05:51:37.969849 | 2020-08-06T14:31:52 | 2020-08-06T14:31:52 | 285,593,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #ifndef ASSIGNMENT3CLIENT_KEYBOARD_H
#define ASSIGNMENT3CLIENT_KEYBOARD_H
#include "connectionHandler.h"
using namespace std;
class Keyboard {
private:
ConnectionHandler* handler;
User *user;
bool* online;
bool waitForInput;
public:
Keyboard(ConnectionHandler *handler, User *user, bool *online)... | [
"segevngr@gmail.com"
] | segevngr@gmail.com |
25f6e46f6f1bcade8d6699bb9570fecd6997f89b | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /net-im/gloox/files/patch-src_examples_privacylist__example.cpp | 83248b5e7bc7637eace1e53506b1bfc51c4f80ab | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 321 | cpp | --- src/examples/privacylist_example.cpp.orig 2017-08-04 16:26:10 UTC
+++ src/examples/privacylist_example.cpp
@@ -17,8 +17,8 @@
#include "../privacymanager.h"
using namespace gloox;
-#include <stdio.h>
-#include <locale.h>
+#include <ctime>
+#include <clocale>
#include <string>
#include <cstdio> // [s]print[f]... | [
"swills@FreeBSD.org"
] | swills@FreeBSD.org |
3c1dacff7f13b110d6d57ff2e07b3686e4db4808 | f54054008a9ac3c1f7bf1c763f288f516b608f16 | /thidau_BCTHIDAU.cpp | c0065024f91f8bc42a92395481c5016207218df6 | [] | no_license | KhanhKitin/spoj_ptit | f5d1dc6aea83cbe19731024fcaa2dd75fed0c448 | 0b3971db3a2f88b0451482060f0415ceef911dc6 | refs/heads/master | 2022-04-21T04:08:42.266755 | 2020-04-20T16:30:01 | 2020-04-20T16:30:01 | 257,340,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s;
int sobaiMax=-1;
int sodiemphatMin=0;
string nameMax;
int n;
cin>>n;
for(int i=1;i<=n;i++){
int s1,t1,s2,t2,s3,t3,s4,t4;
string k;
cin>>k;
cin>>s1>>t1>>s2>>t2>>s3>>t3>>s4>>t4;
int diem=0;
int d=0;
if(t1>0){
d++;
diem=diem+(s1-... | [
"kitinkhanh@gmail.com"
] | kitinkhanh@gmail.com |
db430cd9166275ac900ae6ac2d9df72601a0d9af | 0d9076293349241af62d00eff4c4107e51426ea5 | /leetcode problems/260. Single Number III.cpp | 1d7925037b15e18366fa80f7972ac03c46d3d592 | [] | no_license | zonasse/Algorithm | f6445616d0cde04e5ef5f475e7f9c8ec68638dd0 | cda4ba606b66040a54c44d95db51220a2df47414 | refs/heads/master | 2020-03-23T12:12:00.525247 | 2019-08-10T03:42:53 | 2019-08-10T03:42:53 | 141,543,243 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | class Solution {
public:
vector<int> singleNumber(vector<int>& nums) {
int eo = 0,eoHasOne = 0;
for(auto &a :nums){
eo ^= a;
}
int rightOne = eo & (~eo + 1);
for(auto &a : nums){
if((a & rightOne) != 0){
eoHasOne ^= a;
}
... | [
"992903713@qq.com"
] | 992903713@qq.com |
29ad458d5f4622f89ac1c256ee66f96b00350d11 | ad0f9b4a69984f2e2cb948e2ed51b9eebc66f34a | /include/RenderBoy/Material.hpp | 2ec75e9b2e06af4fb25fa30b1995d09c07299dc4 | [] | no_license | ukabuer/RenderBoy | 73dd2aa36ead626318016416d113ade55f04121c | d60170c896a630babc77ccb78daa6297fd0a4766 | refs/heads/master | 2022-06-17T23:03:45.647611 | 2020-05-11T07:25:18 | 2020-05-11T07:25:18 | 201,276,619 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | hpp | #pragma once
#include <RenderBoy/Texture.hpp>
#include <array>
#include <memory>
namespace RB {
struct Material {
std::array<float, 4> base_color = {0.0f, 0.0f, 0.0f, 0.0f};
float AlphaCutoff = 1.0f;
float metallic = 1.0f;
float roughness = 1.0f;
std::array<float, 4> emissive = {1.0f, 1.0f, 1.0f, 1.0f};
... | [
"ukabuer@live.com"
] | ukabuer@live.com |
cc468e556ee7fb210f07df74f7e62f764ac6b3b8 | 112752e08475599b53441d1f5c600e129b5932c7 | /modules/monitoring/src/cpu-addon/CPUInfo.cpp | 2b42dc4b3ae705889bb15a5b7788409508871664 | [
"Apache-2.0"
] | permissive | ServantJS/servantjs-agent | 4e017e76db7ed6818290b958c0ffb06b34050aa8 | ac5c56ada1bd49b75d919fe742642faec9000a4e | refs/heads/master | 2020-04-15T13:36:36.657360 | 2016-10-01T20:38:03 | 2016-10-01T20:38:03 | 57,215,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | #include "CPUInfo.hpp"
#ifdef __linux__
#include <fstream>
#endif
#ifdef __APPLE__
#include <mach/mach_host.h>
#include <mach/processor_info.h>
#endif
int CPUInfo::update() {
#ifdef __APPLE__
unsigned int cpu_count;
processor_cpu_load_info_t cpu_load;
mach_msg_type_number_t cpu_msg_count;
int rc = hos... | [
"vitaliuorlov@gmail.com"
] | vitaliuorlov@gmail.com |
fb77aeb8494d9f61f5486e3664617337a29b646e | 1a2577fc9cd16e2d0e9ffc26f0be2f4d6fe27339 | /detection/Main.cpp | e574de624e121ae6e99d978f3e72c2f78982183e | [] | no_license | fusion-research/SensorNetworkSimulator | 52235fe3fcfc8149a531ebccb41c6af37b6a081d | 4e66fc3a924d6a7de25ed740fa82dbb1325632a3 | refs/heads/master | 2021-09-09T11:37:22.821343 | 2018-03-15T18:50:12 | 2018-03-15T18:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,524 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Main.cpp //
// //
// GLUI application to test ellipse-covering algorithm. ... | [
"apeforest@gmail.com"
] | apeforest@gmail.com |
d7bb3a0718ca26cd73ae50633b1a3ae37d403ea8 | c6b483cc2d7bc9eb6dc5c08ae92aa55ff9b3a994 | /hazelcast/generated-sources/src/hazelcast/client/protocol/codec/TransactionalMapRemoveCodec.cpp | d95bb5f9372986a3f3c9e197485109b946f91c54 | [
"Apache-2.0"
] | permissive | oguzdemir/hazelcast-cpp-client | ebffc7137a3a14b9fc5d96e1a1b0eac8aac1e60f | 95c4687634a8ac4886d0a9b9b4c17622225261f0 | refs/heads/master | 2021-01-21T02:53:05.197319 | 2016-08-24T21:08:14 | 2016-08-24T21:08:14 | 63,674,978 | 0 | 0 | null | 2016-07-19T08:16:24 | 2016-07-19T08:16:23 | null | UTF-8 | C++ | false | false | 4,164 | cpp | /*
* Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"ihsan@hazelcast.com"
] | ihsan@hazelcast.com |
50a82443db367a5a23a899827716ce80feb95327 | 0dd9aaaf64ee65f2f8bec4484b1ca8f4517f54c4 | /trunk/ViewController/UIComponent/DummyComponent.h | 92749cb1735bf486c2812bceec0d1ebc9e0fd448 | [] | no_license | dumppool/mazerts | 53c186bcf8f85c5f618f25464a0067f0b23abeb4 | 7ff775fad18111de8c85552e7bd4c0435b0faba8 | refs/heads/master | 2020-09-14T16:57:56.936388 | 2012-07-08T16:36:08 | 2012-07-08T16:36:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | h | /**
* Test-component
*
* $Revision$
* $Date$
* $Id$
*/
#ifndef __DUMMYCOMPONENT_H__
#define __DUMMYCOMPONENT_H__
#include "UIComponent.h"
#include "../App/ID3DApplication.h"
class DummyComponent : public UIComponent
{
public:
DummyComponent(const int posX, const int posY, const unsigned in... | [
"zemm@iki.fi"
] | zemm@iki.fi |
077c20d6d440e69a8e08e57d1e21becc00ea6926 | f6ab96101246c8764dc16073cbea72a188a0dc1a | /volume131/13194 - DPA Numbers II.cpp | 3de11837343867f5fc0d791c97afc178e8cceec0 | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 1,120 | cpp | #include <bits/stdc++.h>
using namespace std;
int P[100000], Pt = 0;
void sieve() {
#define MAXL (1000000>>5)+1
#define GET(x) (mark[x>>5]>>(x&31)&1)
#define SET(x) (mark[x>>5] |= 1<<(x&31))
static int mark[MAXL] = {};
SET(1);
int n = 1000000;
for (int i = 2; i <= n; i++) {
if (!GET(i)) {
... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
9d6dcca6e5e48909b9bf1f0c6ad5afb0f97c7a7e | ec1a4e9bebee30769e871e99dce406f4b4bf23ea | /Opdracht_7/Opdracht_7.ino | 49f7849e3060709aec876c2c7e762a392b189122 | [] | no_license | SanderHeeren/ArduinoOpdrachten | d26b8df6b036bc649da93b578f882604ac4c936a | 2974fff9912a61db0552b400ff2e5a3697680674 | refs/heads/main | 2023-08-26T23:53:53.703454 | 2021-10-21T16:13:19 | 2021-10-21T16:13:19 | 419,792,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | ino | #include<Servo.h> // Incluse Servo module
const int trigPin = 5; // Tringer pin ultrasone
const int echoPin = 4; // Echo pin ultrasone
float time;
float distance;
int position = 0;
Servo servo; // Aanmaken van de servo
void setup()
{
Serial.begin(9600); // Opstarten van de Serial monitor
pinMo... | [
"noreply@github.com"
] | noreply@github.com |
971c663c34647dcf4ee659fbb6fde911ddeaf571 | a4cc0b972c7018a8453665254c7b67520788b34f | /include/NodoCapa.h | 5ef64068995c6702bcdd8e1cca1a8bdf322942c9 | [] | no_license | jeani-rodas97/EDD_2S2019_PY1_201404421 | c4de0da37f8a03e813229b91a98468ae06ece5c3 | 4ad086cd434f0541ea5a49ae0531c6ef09bb4a48 | refs/heads/master | 2022-02-19T02:12:41.091189 | 2019-09-21T02:00:52 | 2019-09-21T02:00:52 | 203,300,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | h | #ifndef NODOCAPA_H
#define NODOCAPA_H
class NodoCapa
{
public:
NodoCapa();
protected:
private:
};
#endif // NODONUMCAPA_H
| [
"jenni1897@gmail.com"
] | jenni1897@gmail.com |
4d4e956df141f0e3a805c239b6d05fe4ebca5bfe | 4af341026c371c8e25d37780c3d2a85063ec60ea | /LeetCode Solution/Medium/Search in rotate array.cpp | 2c15531943e789f7c9ca8cac79260f0c22caeb96 | [] | no_license | i-am-arvinder-singh/CP | 46a32f9235a656e7d777a16ccbce980cb1eb1c63 | e4e79e4ffc636f078f16a25ce81a3095553fc060 | refs/heads/master | 2023-07-12T19:20:41.093734 | 2021-08-29T06:58:55 | 2021-08-29T06:58:55 | 266,883,239 | 1 | 1 | null | 2020-10-04T14:00:29 | 2020-05-25T21:25:39 | C++ | UTF-8 | C++ | false | false | 2,063 | cpp | class Solution {
public:
bool search(vector<int>& nums, int target) {
int n = nums.size();
if(n==0) return false;
int left = 0, right = n-1;
int mid;
while(left<right){
mid = left+(right-left)/2;
if(nums[mid]==target || nums[left]==target || n... | [
"arvinderavy@ymail.com"
] | arvinderavy@ymail.com |
59210229330476347b7628cfc9072cd2865e854c | 81f6419ea475836b1f1b24bcd2de77a316bc46a1 | /codeforces/Aston and Danik.cpp | d0339e7167c90190c7b29590cbf356740f3aa632 | [] | no_license | Pramodjais517/competitive-coding | f4e0f6f238d98c0a39f8a9c940265f886ce70cb3 | 2a8ad013246f2db72a4dd53771090d931ab406cb | refs/heads/master | 2023-02-25T12:09:47.382076 | 2021-01-28T06:57:26 | 2021-01-28T06:57:26 | 208,445,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define rs reserve
#define pb push_back
#define mp make_pair
#define f(i,s,e,inc) for(auto i=s;i<e;i+=inc)
#define itr(i,ar) for(auto &i:ar)
int main()
{
ll n;
cin>>n;
string s;
cin>>s;
ll aston=0,danik=0;
for(int i=0;i<n;i++)
{
if(s[i]=='A')
aston++;... | [
"pramodjaiswal517@gmail.com"
] | pramodjaiswal517@gmail.com |
11e4eeed246dbd97d1460c67b83ad1f8c2993eae | ca7b94c3fc51f8db66ab41b32ee0b7a9ebd9c1ab | /grpc/include/grpc++/impl/server_initializer.h | 014b16077c4a7631e10714d3741085141e91956a | [] | no_license | blockspacer/TronWallet | 9235b933b67de92cd06ca917382de8c69f53ce5a | ffc60e550d1aff5f0f6f1153e0fcde212d37bdc6 | refs/heads/master | 2021-09-15T15:17:47.632925 | 2018-06-05T14:28:16 | 2018-06-05T14:28:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | /*
*
* Copyright 2016 gRPC 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 required by applicable la... | [
"abce@live.cn"
] | abce@live.cn |
752e87eeeb1ac4263dd0b57c49b3da9214e6370c | 2b3850a1b1c48202e5fe735649feabb7ed042cff | /src/vecteur3_test.cpp | 15f75e6d77c43cb1a46636116b06cb970af2d940 | [] | no_license | Petit-Chaperon-Rouge/C-_TP1 | bab66d68e2de27f3f6787aee01dc49d64e19ced2 | 307c6aa1627587aa6fd6c4f57d72b7bc279ebf6a | refs/heads/master | 2021-05-08T18:10:37.495679 | 2018-02-01T08:42:43 | 2018-02-01T08:42:43 | 119,504,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include "vecteur3.hpp"
#include <CppUTest/CommandLineTestRunner.h>
TEST_GROUP(GroupVecteur3) { };
TEST(GroupVecteur3, test_norme) {
vecteur3 v {2, 3, 6};
CHECK_EQUAL(7, v.norme());
}
TEST(GroupVecteur3, test_addition) {
vecteur3 v {2, 3, 6};
vecteur3 res = addition(v, v);
CHECK_EQUAL(0, res.x);
CHECK_EQ... | [
"axel.lecoeuche@sfr.fr"
] | axel.lecoeuche@sfr.fr |
40cbd24c40515a955fcdf5a1bf9ef19090faa676 | 0aae835a7de983505f114b8e52c98765d7fe2cc2 | /common/win32_window.h | ba83c3dfc7f947b4e6c418bafd2a03958b6b0e9b | [
"MIT"
] | permissive | ousttrue/Skeletal | 92c54b3f75060e188a3707040e5f7fddee7e0803 | bfbed4ec87e06787d3c004050d65954d53d0abbd | refs/heads/master | 2023-06-11T06:55:07.037894 | 2019-07-21T15:20:52 | 2019-07-21T15:20:52 | 193,386,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #pragma once
#include "window_state.h"
///
/// Windows API Window
///
/// * window size
/// * mouse inputs
///
class Win32Window
{
class Win32WindowImpl *m_impl = nullptr;
public:
Win32Window();
~Win32Window();
void* Create(int w, int h, const wchar_t *title);
const WindowState *G... | [
"ousttrue@gmail.com"
] | ousttrue@gmail.com |
ab83d668c6c21cdcc74b547cf1ac60f8be05ed92 | 63ca73071cc8300708f5e1374b45646f8c9f206d | /arduino_app/archive/RangeSensor.h | 5e3242794c8c3679c89e84cd502a213cb5e87154 | [] | no_license | bartlettc22/desertviper | 427696b5dc437308cf5dcf93f19e1820eff37411 | a89dc185b2f971046501451931da01770082572f | refs/heads/master | 2021-01-21T04:55:10.722996 | 2015-07-09T02:50:58 | 2015-07-09T02:50:58 | 34,994,918 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #ifndef RangeSensor_h
#define RangeSensor_h
#include <Arduino.h>
class RSensor
{
public:
RSensor(){} ;
void init(unsigned char TRIG, unsigned char _ECHO);
void run();
long getRange();
unsigned long _duration;
double _distance;
private:
unsigned char _TRIG;
unsigned char _ECHO;
};
exter... | [
"bartlettc@gmail.com"
] | bartlettc@gmail.com |
5643b18082b010cbbac0ee390e93fbcabd27929f | 1dbed0f84a670c787d2217d97ae3984401c7edb3 | /cf/27C.cpp | cac17b12833921b08e3df9ff15a593f88bfbb072 | [] | no_license | prprprpony/oj | 311d12a25f06e6c54b88bc2bcd38003f7b6696a9 | 84988be500c06cb62130585333fddd1a278f0aaa | refs/heads/master | 2021-07-13T16:03:54.398841 | 2021-03-27T14:19:52 | 2021-03-27T14:19:52 | 46,796,050 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 1e5 + 87;
int a[N],pomn[N],pomx[N];
int main()
{
ios::sync_with_stdio(0);cin.tie(0);
int n;
cin >> n;
for (int i = 0; i < n; ++i)
cin >> a[i];
pomn[n-1] = pomx[n-1] = n-1;
for (int i = n-2; i >= 0; --i) {
pomn[i] = a[i] <... | [
"3254tg89@gmail.com"
] | 3254tg89@gmail.com |
2510186fbf183f0c285b9a405c1f076ad0c23a44 | 039ea0943dc168cf2e291ea010088a9dde180943 | /chpter6demo/main.cpp | 784d7910a27e9b9dd0107521fc386fff41ba31dc | [] | no_license | dhdljd/ML_by_cpp | 41631e9bb5ca20bf4893f1a9c85d86f9dc116e8d | 04131869883d7584e0bda4a5cb2ce6db30885906 | refs/heads/master | 2021-02-04T18:02:18.994333 | 2020-03-03T02:34:54 | 2020-03-03T02:34:54 | 243,694,944 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,298 | cpp | #include <iostream>
#include "SavingsAccount.h"
//#include "Array.h"
#include <vector>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
struct deleter {
template <class T> void operator () (T* p) { delete p; }
};
class Controller { //控制器,用来储存账户列表和处理命令
... | [
"noreply@github.com"
] | noreply@github.com |
b8f86e153174431afaa4b5c1bd4cf7724c142caf | 37b27d8b23a5637f28aabf067ed578978a9c7b30 | /Point.cpp | f61692bf06adf225beda1717b0a25d801ecd096d | [] | no_license | joebentley/grid-pathfinder | 95ef24f807d44651789c0c81272c0f8d36785d12 | e63f88910bf83909354f2b7b5459fcb3109c57c3 | refs/heads/master | 2021-01-10T09:54:04.935914 | 2016-01-19T13:17:29 | 2016-01-19T13:17:29 | 49,953,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp |
#include <cstdlib>
#include <iostream>
#include "Point.h"
bool Point::operator<(const Point &p2) const {
return (x < p2.x) || (x == p2.x && y < p2.y);
}
int Point::getManhattanDistanceTo(const Point &p2) const {
return std::abs(this->x - p2.x) + std::abs(this->y - p2.y);
}
Point operator+(con... | [
"joebentley10@gmail.com"
] | joebentley10@gmail.com |
8b538f056415864233b288ceb2d7e478359361c6 | e03f5137033a218e476931f40cb3639d56adec70 | /noisysines.cpp | 3c17691e00f013708d140d3271b52f31e88fb480 | [] | no_license | smover/Prodigy | ff7780061908bb31af55bcbadf479e06d82bb49c | deee6f22c7dd9de1be7c38dcbf4332e4e507ebe2 | refs/heads/master | 2020-04-15T06:11:37.258311 | 2019-01-07T14:31:45 | 2019-01-07T14:31:45 | 164,451,840 | 0 | 0 | null | 2019-01-07T15:24:00 | 2019-01-07T15:24:00 | null | UTF-8 | C++ | false | false | 1,829 | cpp | #include <iostream>
#include <armadillo>
void GenerateNoisySines(arma::cube& data,
arma::mat& labels,
const size_t points,
const size_t sequences,
const double noise = 0.3)
{
arma::colvec x = arma::linspace<arma::colvec>... | [
"noreply@github.com"
] | noreply@github.com |
13ae8710b2e818a8ff663b6485bbca8cbad44bf0 | b6ab5a3ff4402ed085557cd5ff354ab2ead6e6f8 | /GFG/distinctOccurences.cpp | 21be183b566eed698acb4befc74990223a4030bf | [] | no_license | sahiljajodia01/Competitive-Programming | e51587110640663aa32f220feddf6ab10f17c445 | 7ae9b45654aff513bceb0fc058a67ca49273a369 | refs/heads/master | 2021-07-17T08:23:24.143156 | 2020-06-05T11:34:14 | 2020-06-05T11:34:14 | 163,054,750 | 0 | 1 | null | 2019-10-31T05:36:35 | 2018-12-25T06:48:39 | C++ | UTF-8 | C++ | false | false | 862 | cpp | #include <bits/stdc++.h>
using namespace std;
int distinct_occurences(int x, int y, string a, string b) {
int sum = 0;
// if(y == 0 && (a[x] == b[y])) {
// return 1;
// }
// else if(x == 0 || (a[x] != b[y])) {
// return 0;
// }
if(y == 0 && x >= 0) {
if(a[x] == b[y]) {... | [
"sahil.jajodia@gmail.com"
] | sahil.jajodia@gmail.com |
006146de7baabe328abe8a58b8a445e7259a486a | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542589207.cpp | 1ddbcb18d1c386a4c73f215cbfd08855ab4a6076 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 856 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
#define ll long long
using namespace std;
char str[10],ch[105][10];
int n;
inline const int... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
ec5156aec1a14bdb2c744be7dad6efce093eaa7f | 287fb8a8bf8bdc5ed6ec468f70ec7df498ea7cd3 | /PLandRI2/Tincan_hackathon/Library/Il2cppBuildCache/WebGL/il2cppOutput/mscorlib.cpp | 8528c62beb2e89aed94086700e9f79fc8c5d71d1 | [] | no_license | Spaceindie/PLandRI2 | bb78bbe73c7283b4d06823e1c4898c8fd514160a | 72652c03a9ea3ad235a91eb937de3dfe36105a6a | refs/heads/main | 2023-04-30T10:24:56.776934 | 2021-03-23T11:20:46 | 2021-03-23T11:20:46 | 345,279,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,244,663 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
#include "icalls/mscorlib/System.Runtime.Remoting.Activation/ActivationServices.h"
#include "icalls/mscorlib/System/AppDomain.h"
#include "icalls/mscorlib/System/Array.h"
#include "i... | [
"77359595+Spaceindie@users.noreply.github.com"
] | 77359595+Spaceindie@users.noreply.github.com |
e2e1c742a312e95035f852eab16a5fcf2e91dff4 | ad934eeba2ac2a3c1d49b02af864790ece137034 | /zufe/2058字符串加密.cpp | d0aa2495cdf67251a406466088233176074e8817 | [] | no_license | xiang578/acm-icpc | 19b3d8c7771b935293749f5ccad0591cde8fc896 | 6f2fdfc62bd689842c80b1caee2d4caf8162d72f | refs/heads/master | 2022-01-12T12:28:43.381927 | 2022-01-12T04:20:44 | 2022-01-12T04:20:44 | 39,777,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
int main()
{
char hu[28]={"VWXYZABCDEFGHIJKLMNOPQRSTU"};
char s[120];
int i,len;
while(gets(s))
{
if(strcmp(s,"ENDOFINPUT")==0) break;
gets(s);
len=strlen(s);
for(i=0;i<len;i++)
{
... | [
"xiang578@foxmail.com"
] | xiang578@foxmail.com |
084d16896b9ba955277be71e7a02f21e579bac07 | 04c45c420d6a0aae7214173b43c2bd637422929a | /Creational/singleton/di.hpp | e8d38c899cb8f31cb52ed0f1a9242a205036eb06 | [] | no_license | vikyslenator/cpp_design_patterns | cc2b713a6ce09e16afcd7fb3a30dec06280a6999 | 6c6f9ccb92f2246234f09e0c41914a60fb472941 | refs/heads/master | 2023-06-07T16:08:15.790427 | 2020-11-03T01:53:41 | 2020-11-03T01:53:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145,693 | hpp | //
// Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net)
//
// 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)
//
#pragma once
#if (__cplusplus < 201305L && _MSC_VER < 1900)
#error ... | [
"matias.pavez.b@gmail.com"
] | matias.pavez.b@gmail.com |
7ed0a9e96ccbd3b0b6555700768028eaa4899e81 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/base/screg/sc/client/scapi.cxx | 2512376a9b2ac0ecc918d919e50115ca2538796e | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79,849 | cxx | /*++
Copyright (c) 1990-1992 Microsoft Corporation
Module Name:
scapi.c
Abstract:
Contains the Service-related API that are implemented solely in
DLL form. These include:
StartServiceCtrlDispatcherA
StartServiceCtrlDispatcherW
RegisterServiceCtrlHandlerW
RegisterServic... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
cec6264cba0eb7352754fe333d2fac697dd1178b | 4775955cc99e1cc089423b1efe1998298bf6ac49 | /include/defines.hpp | 0e20e29f3f5cc0d25131a20e771e18a1a1eaeb04 | [] | no_license | daveod06/Son_Tay_Prison_Raid.Tanoa | 67dd1173fb551181c7b05d612f3e2406207ca5ea | 76e1e48bf2572ce85517c86856d543630bf70eec | refs/heads/master | 2022-12-02T00:05:37.784416 | 2020-08-10T21:58:39 | 2020-08-10T21:58:39 | 104,308,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | hpp | #define VERSION "1.0"
#define MISSIONNAME "Son Tay Raid" // FIXME
#define MISSIONNAMEFULL "Son Tay Raid co30" // FIXME
#define MOD "RHS, ETC" // FIXME
#define ISLAND "Tanoa" // FIXME
#define RELEASE "Mission"
| [
"davidodonnell88@gmail.com"
] | davidodonnell88@gmail.com |
bed571627051ba2cfc64e7eee467dc9cec1757c0 | 8bd1bc402ed240b8adcda8fd15b5695985121125 | /OF/P26/src/testApp.cpp | 4b85f9dfc63773219fb39d38e5bf8bfdf3eb8642 | [
"MIT"
] | permissive | meganeHunter/myApps | 431417b3a096d41e5b333d70e93a259be08bc855 | e6298e30fb0e0b0092bfe5afa3c1ad8565d2e860 | refs/heads/master | 2016-09-06T05:30:33.220828 | 2014-07-02T15:15:40 | 2014-07-02T15:15:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup()
{
ofBackground(0,0,0);
fx = ofGetWidth();
fy = ofGetHeight();
pos = ofPoint(fx/2,fy/2);
speed = ofPoint(0.0,0.0);
sMax = ofPoint(12.0,12.0);
dim = 0.1;
cion = false;
gui.addSlider("Dim",dim,0.0,24.0);
... | [
"meganeHunter"
] | meganeHunter |
7b3671f61c9abb315210c48a2ab105df05c80554 | c2004c9fc40caab79c90db642c76468bd3f0582a | /sEMG_acquisition/sEMG_acquisition.ino | 6423de0431e7c7dd713c42bdded5b1cadcbacaa6 | [
"MIT"
] | permissive | gitUmaru/prosthetic_limb | 00d486f7b95a5e675489ac1f9efc2ede5f7b5355 | c3955d66213092b66c446a2ffd53ef153da3e544 | refs/heads/master | 2020-05-02T04:23:03.658947 | 2020-01-23T19:53:36 | 2020-01-23T19:53:36 | 177,748,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | ino | const int analogInPin = A0;
const int analogOutPin = 9;
unsigned long time;
int sensorValue = 0;
int outputValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(analogInPin);
// map it to digital:
outputValue = map(sensorValue, 0, 1023, 0, 255);
// change the analog out... | [
"umaru.alia@gmail.com"
] | umaru.alia@gmail.com |
2a8fa97a4e76de2f425a166ee9590feb102a3ed9 | 21a73acc341f1a360b2eaefc22126b83b1314f85 | /BattleTank/Source/BattleTank/Public/TankTrack.h | ed3d0a4a2024f9bc56d0bb7d7f9859828ba7ef13 | [] | no_license | SergeiSverlov/S04_BattleTank | 393bc4d90c2d067e4d73dbae8c975c9a3dd0a382 | 7799624e8ffa2a03ebce178d5c58ea4c09a9c2f6 | refs/heads/master | 2022-12-06T20:57:23.906851 | 2020-08-30T10:46:02 | 2020-08-30T10:46:02 | 285,923,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTrack.generated.h"
/**
*
*/
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
class BATTLETANK_API UTankTrack : public US... | [
"sergei360@mail.ru"
] | sergei360@mail.ru |
9fcc575565ce5d97315a7585bcde73dd71ee0ab5 | ed2f0eb893c6234e2c6fd5c5cd72875cca476284 | /GlpkDoubleDiagnosis/LRFGenerateCellsForMutants.cpp | 65fbb647217fc13697f3260f73bb9849d6afac68 | [] | no_license | baozizhenmeixian/DoubleFaultDiagnosis | b14994e9463ed980eeecd12569598d95ba82a2ae | 25cd6e0c973cc4d38b0d185024dcfc7e6e69e4b0 | refs/heads/master | 2021-01-25T14:11:38.222502 | 2018-04-03T16:56:32 | 2018-04-03T16:56:32 | 123,668,376 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,624 | cpp | #pragma once
#include "StdAfx.h"
#include "LIFGenerateCellsForMutants.h"
//运行LRF算法 param为1,只返回validShrink部分 param为2,只返回expand部分 其他值两个都返回
string runWithParameter(
CCommonFuncs commonFuncs,
int param,
vector<int>&literalNum,
string dimensionValuesStr,
bool vOdd,
vector<vector<CCell*>>& matrixCells,
vector<vector... | [
"laitao@pku.edu.cn"
] | laitao@pku.edu.cn |
971fb08f46047b2ee4eb51eac6d9446b95bc76b6 | 0f95206110e0e462cada759b2eb0529dd7e14333 | /test/test_backtest_bootstrap_snp.cpp | 001ffdc8e0640dcb63cf7a72b6f1c88a4fe94979 | [
"MIT"
] | permissive | calvin456/VaR | 80a9547b248b67cbafa70fa2303451b1d30f14a7 | ef70faf930b0dcae1725bca6cc9f205c3099324d | refs/heads/master | 2021-01-13T04:19:34.823672 | 2016-12-27T08:08:50 | 2016-12-27T08:08:50 | 77,436,965 | 6 | 5 | MIT | 2019-11-21T04:09:48 | 2016-12-27T07:56:21 | HTML | UTF-8 | C++ | false | false | 4,811 | cpp | //test_backtest_bootstrap_snp.cpp
// Test computation of VaR using different methods
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include<algorithm>
#include<memory>
#include "compute_returns_eigen.h"
#include "compute_var.h"
using namespace std;
void readCSV(std:... | [
"aljagg@bluewin.ch"
] | aljagg@bluewin.ch |
745323ca11d0f20fc3dfc19a6d873e96f19e3325 | 70b106ea0a9286533fdb6e3ff7157ca82b836d8f | /code/ListBoxHandler.h | 62950dc5f4817cac775d74797b5c9c39039f5d9d | [
"MIT"
] | permissive | Mankua/texlay | c03458ee1577da6f9093acfae132534203528c85 | 8e67db732b525ac2abf6622c926c7b347fc211ec | refs/heads/master | 2021-01-23T19:46:10.384985 | 2014-06-12T13:36:38 | 2014-06-12T13:36:38 | 20,766,708 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 790 | h | #pragma once
// custom drag&drop notification message
// dragged item as WPARAM
// dropped position as LPARAM
#define USER_LB_DRAGDROP WM_USER+1
#define USER_LB_SETSEL WM_USER+2
#define USER_LB_ACTIVATE WM_USER+3
class CListBoxHandler
{
public:
CListBoxHandler();
virtual ~CListBoxHandler();
public:
BOOL SetTar... | [
"diego@mankua.com"
] | diego@mankua.com |
a2c90fad66c21a242e2a61555896527e11841b67 | 5aa27e95265015a51bf97d7436011d9f50c2704f | /stl/os/file.hpp | ae5df529a64aeae3017bfac8b0ff1001495aceac | [] | no_license | RyanLiuF/Public | 6cc9a1c18459a2b1186c1a69435189ff160fe4c1 | c9313535188f16d94d8ac36c4dce10d1f08eb356 | refs/heads/master | 2020-04-28T19:55:36.547609 | 2019-07-02T06:29:57 | 2019-07-02T06:29:57 | 175,526,917 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 368 | hpp | #ifndef __STL_OS_FILE_HPP__
#define __STL_OS_FILE_HPP__
/** @defgroup ofiles stl/os/file
* @brief Implement of file operation.
*
**/
#include <stl/os/file/access.hpp>
#include <stl/os/file/query.hpp>
#include <stl/os/file/name.hpp>
#include <stl/os/file/basename.hpp>
#include <stl/os/file/extension.hpp>
#include <st... | [
"RyanLiuF@126.com"
] | RyanLiuF@126.com |
faed9c002399c6cc96115cfd7e1ea973ec470562 | 814fda3bc42d0b324b33c2cbb57cb4a327f71e96 | /test/2019/Day05PuzzleTests.cpp | 10a27b55f0c5fee7a7dac2d331673cfea2533fe7 | [
"MIT"
] | permissive | MarkRDavison/AdventOfCode | 377591ce341e37ef2bffa563ccd596fdacc83b60 | a415f3311ad29a5ed2703113769b04b9614e7d57 | refs/heads/main | 2022-12-21T10:04:37.032919 | 2022-12-18T05:55:29 | 2022-12-18T05:55:29 | 162,899,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <catch/catch.hpp>
#include <2019/Day05Puzzle.hpp>
namespace TwentyNineteen {
TEST_CASE("2019 Day 5 Part 1 Example work", "[2019][Day05]") {
const std::vector<std::string> input = {};
Day05Puzzle puzzle{};
puzzle.setVerbose(true);
puzzle.setInputLines(input);
auto answers = puzzle.... | [
"markdavison0+github@gmail.com"
] | markdavison0+github@gmail.com |
09446eb6f017a3054418ead27d0c27f47fc848d2 | 11348e739dee821e4bdd6ec0e4c6c041a01b0b59 | /kk/916.股神九.cpp | 80a1dfbe83415ced29265dbc0223485c4bc9e360 | [] | no_license | Spartan859/Noip_Code | 580b1f022ca4b8bf3e77ff8d57d230340715a98d | 8efe9e7cc6f29cd864b9570944932f50115c3089 | refs/heads/master | 2022-11-18T15:09:19.500944 | 2020-07-11T13:36:21 | 2020-07-11T13:36:21 | 163,517,575 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | #include<bits/stdc++.h>
#define N 10005
#define ll long long
using namespace std;
ll f[N][2],n,k,x[N],tmp=0,bf,cnt=1,ans,cntz=0,sumz=0;
const ll zr=0;
int main(){
//freopen("god9.in","r",stdin);
//freopen("god9.out","w",stdout);
scanf("%lld %lld",&n,&k);
for(ll i=1;i<=n;i++){
scanf("%lld",&x[i]);
}
for(ll i=1;i... | [
"36628376+Spartan859@users.noreply.github.com"
] | 36628376+Spartan859@users.noreply.github.com |
2d8bfd8a8daaefea3d758ce0434d5d2151e8ffb1 | 26ab01c731a26b2a1748acf148d2f3f6937b6df4 | /t.cpp | e503e07ff6ce29412579faf0e3e674d96c5fc715 | [] | no_license | prakhs123/standalone-programs | 881ae3e800b8dccc7921121fa7e264cbe71e590e | 1088196779dc4747069aec9bbfa2ee5f35cf0204 | refs/heads/master | 2020-11-27T16:46:22.055231 | 2019-12-22T08:04:55 | 2019-12-22T08:04:55 | 229,533,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
double fact = 1.0;
for (int i = 100; i >= 1; i--)
fact = fact*(double)i;
printf("%.0f\n", fact);
return 0;
} | [
"prakhs123@gmail.com"
] | prakhs123@gmail.com |
46ce0c48d65031c91304ce527f71ed5fd9b3a405 | b146c1380315515ad4c388231325294c5902c70f | /binary.h | edb89132c60955e54cf1da35aa767699e5e895e3 | [] | no_license | edgarshmavonyan/mergeable_heaps | 4eda51f0c8dc30943fee1bd0ce648eff2486eabf | 3422a9ca000fec4437d32f1657bb01e3b85b3f3f | refs/heads/master | 2021-08-30T10:58:03.762295 | 2017-12-17T15:44:42 | 2017-12-17T15:44:42 | 113,308,343 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,497 | h | #include <iostream>
#include "IHeap.h"
#pragma once
template<typename NodeType>
class CBinaryHeap: public IHeap {
NodeType* root_;
explicit CBinaryHeap(NodeType* root) : root_(root) {}
static NodeType* Meld(NodeType* first, NodeType* second) {
if (!first)
return second;
if (... | [
"shmavonyan.eha@phystech.edu"
] | shmavonyan.eha@phystech.edu |
d29b2df26638bb029a429e97d5041f2357e0b087 | e929869ccbcd6142760b7b4acbb52d2d60beb2af | /lib/PID/PID.h | 95e1a28bfbe7e02bdc2cf239b160abee5cc3b056 | [] | no_license | rudra-potlapally/Epsilon-6-2022 | 6481974f406a76bb98f80d0fa1db3f1ea8dd5538 | ce2c152a4d82d4d307c7522f179945734efd0775 | refs/heads/main | 2023-08-17T19:25:33.670674 | 2021-10-11T04:33:16 | 2021-10-11T04:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #ifndef PID_H
#define PID_H
#include <Arduino.h>
class PID {
public:
double kp;
double ki;
double kd;
PID(double p, double i, double d, double absoluteMax = 0.0);
double update(double input, double setpoint, double modulus = 0.0);
private:
unsigned long lastTime;
double absMax;
doub... | [
"27093@bbc.qld.edu.au"
] | 27093@bbc.qld.edu.au |
0fd69a9dcfead279458bb054b40fcb440c90eda0 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /outboundbot/src/model/GetAfterAnswerDelayPlaybackRequest.cc | ed610557a4d3a05edd6b979d3d0c794e0f3731c7 | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cc | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
7edd28d0b1c75bcdea8a4587028eaad9cfde468b | 607c0886ca3e52e99313053e7be77bee60cb41ac | /infantry/rune/tiny_dnn/core/kernels/global_avepool_grad_op.h | dc5b6eed42aed586cae84196e0776f6913f173f7 | [] | no_license | bobbyshashin/RoboMasters | 9620e27c6967a3da35fb7df5f4b853dfde343890 | 589c879ab276d05ddf283adfe5292629fb6dc408 | refs/heads/master | 2021-03-24T09:10:27.787322 | 2017-07-21T18:59:27 | 2017-07-21T18:59:27 | 63,122,244 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,091 | h | /*
Copyright (c) 2017, Taiga Nomi
All rights reserved.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE file.
*/
#pragma once
#include "tiny_dnn/core/framework/op_kernel.h"
#include "tiny_dnn/core/kernels/global_avepool_op_internal.h"
namespace tiny_dnn {
c... | [
"xvjiarui0826@gmail.com"
] | xvjiarui0826@gmail.com |
7c548b77d8d97b24df58a05a88a7daa010da4cd6 | 1990b25fee681bb022861bfd09ee718645338492 | /AFS1200/QMain/curve/PaxHeader/qcustomplot.cpp | 5fe1d77a66cda91186abc612d2da0baacc742620 | [] | no_license | waaaly/try-loveGit | e2db35db4b98df350480b87dd60589dff28cc771 | d2e89fe695a2301237e0a32353d9acbd14b94fa3 | refs/heads/master | 2020-04-23T01:33:06.948645 | 2019-04-17T15:05:13 | 2019-04-17T15:05:13 | 170,816,307 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | 48 path=新UI软件/QMain/curve/qcustomplot.cpp
27 atime=1471514820.023259
| [
"825887013@qq.com"
] | 825887013@qq.com |
5a60a9c962fd632fdf4b28e3f94911de641c36f4 | 9031c25072a81afd99a3ae51974093ef9da0c5e4 | /Prog-Repartie-M4102C/prog-repartie-M4102-master/tp06/client/EnvoiReception.hpp | 928cfd716f1c923ea570c35477c3e222de3f40ca | [] | no_license | Lleiro/TPs | e58ce8cddba25d0a38add4e8c698364f253f4fd9 | 654274f47241090f94ab1f0f459a11de3dd18ed5 | refs/heads/master | 2020-04-08T16:40:58.041000 | 2019-04-15T09:29:23 | 2019-04-15T09:29:23 | 159,529,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36 | hpp | ../../tp05/client/EnvoiReception.hpp | [
"monteile@hostname.iut2.upmf-grenoble.fr"
] | monteile@hostname.iut2.upmf-grenoble.fr |
ccbc12475789a1e02796527619191c2f135fb92a | cd16ff222a92afec319a9e5cdf4bd7dc9efe9ae5 | /main.cpp | 9044658530c4ef21c57a9aa4defe5b333f59b828 | [] | no_license | marcocanzoniere/Progetto_Algortmi | 0aefa0039f79cf0a73b0343ad62e7d8b7c13ac3b | 0b0539d7433eacd56daf60209a6ff0ef2b9883fb | refs/heads/master | 2022-11-06T12:52:43.068924 | 2020-06-13T06:39:29 | 2020-06-13T06:39:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,810 | cpp | #include <iostream>
using namespace std;
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
#include "tabella.h"
#include "commands.h"
int main() {
vector<string> stringa_comandi, elem_stringa;
vector<tabella> table(1);
string comando,comando1;
int i = 0,k=0;
vector<strings... | [
"noreply@github.com"
] | noreply@github.com |
fb7d2c7d4f5d3d497657946419ef7c2447aaae46 | 76dd8343cb5d04fec631c1711a5642e6f83d8ae2 | /oneflow/api/python/framework/parallel_conf_util.cpp | 71de20a7936096f0f4fcac309618a5903c25d5b3 | [
"Apache-2.0"
] | permissive | weinapianyun/oneflow | 56c580ca2d6019f7d3e184a476ee9cb0699eea3e | 748501a5383f50bf9f3a5d3b3da81d4f31b425de | refs/heads/master | 2023-09-03T05:40:03.313826 | 2021-11-22T08:44:34 | 2021-11-22T08:44:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | /*
Copyright 2020 The OneFlow 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/LICENSE-2.0
Unless required by applicable law or agre... | [
"noreply@github.com"
] | noreply@github.com |
cc82e7648d031ee6f0aad43e0df6b4b17cfdffe1 | dd9ce0e1ebbb2dd0e2110eae8246346b5e4e6bb3 | /diamnet-core/src/ledger/LedgerTxnHeader.h | 712cfd5514d86d6781f09a07d670c6237d241b5d | [
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | shanhashcah/diamnet-core15 | f9a4d2b9dd93ac504782df85225e4f924ac8bdc2 | de15c6b197f8c21f269c0b99d90c6b243d1addb0 | refs/heads/master | 2023-08-25T01:45:11.747763 | 2021-10-20T16:09:35 | 2021-10-20T16:09:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | h | #pragma once
// Copyright 2018 Diamnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include <memory>
namespace diamnet
{
class AbstractLedgerTxn;
struct LedgerHea... | [
"ubuntu@ip-172-31-22-243.us-west-1.compute.internal"
] | ubuntu@ip-172-31-22-243.us-west-1.compute.internal |
affb2a4f447d0a26acc0d3a2d36be9f62cb71e6f | 83270d75b1c4fad1c00c53ad5b32a6300d45d59c | /apri-sensor-combi-1/ApriSensorAskReceiver/ApriSensorAskReceiver.ino | d359fb5f2600d7dc17c86d03efb945aecb59cbaf | [] | no_license | openiod/apri-sensor | 29fc03de3ad07516eb32e9d226f317583d568f93 | 8052aa346fc66d41bb669dac9771b533d797b0c3 | refs/heads/master | 2023-07-23T00:42:34.220398 | 2023-07-09T11:15:33 | 2023-07-09T11:15:33 | 79,636,257 | 6 | 1 | null | 2022-11-12T12:11:05 | 2017-01-21T09:27:14 | JavaScript | UTF-8 | C++ | false | false | 1,433 | ino |
/*------------------------------------------------------------------------------
Application for receiving sensor data from one or more sensor units
RF433 ASK receiver RadioHead, Implements a simplex (one-way) receiver with an Rx-B1 module
*/
/*
Copyright 2017 Scapeler
Licensed under the Apache License, V... | [
"awiel@scapeler.com"
] | awiel@scapeler.com |
21d3c5dac9a8fccb1a8f4de7e81df4674e4e79a0 | 80788be5905eee6c573fb310602dfe54143d0fba | /Source/DemoDisc1/EndGame/EndGameUI.h | bb6c83b3782e9d63ba0d87c55470bdb448cacf3e | [] | no_license | bgonz12/DemoDisc1 | 72e49c8601d17b4a019a3546f181825db84a27c1 | 6963d516e7e290330fe9a5aed32849e9dc9aec27 | refs/heads/master | 2021-04-19T03:30:07.701981 | 2020-05-27T18:11:39 | 2020-05-27T18:11:39 | 249,575,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "EndGameUI.generated.h"
/**
*
*/
UCLASS()
class DEMODISC1_API UEndGameUI : public UUserWidget
{
GENERATED_BODY()
public:
virtual bool Initialize() over... | [
"bgonz12@hotmail.com"
] | bgonz12@hotmail.com |
582b0c950c3e9ee0932c8ac16951bf7a6a5c94c3 | bd6726e677dd8ef16856747ce4f7450e5cc9b00b | /src/FelZenSegment/imconv.cpp | b5f38eacc6dc8e6565b4c213eb8515e9b2aa3bc0 | [] | no_license | i-genius/image-segment | 63c05b9227c4dbd9d6dc9527d7d99dfd45086fd2 | 653840e53ef2b31ec2cf09a747628af56efd6b29 | refs/heads/master | 2021-05-02T06:49:26.746806 | 2018-02-09T07:08:04 | 2018-02-09T07:08:04 | 120,864,802 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,863 | cpp | /*
Copyright (C) 2006 Pedro Felzenszwalb
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the ho... | [
"Tx_huntaway1023@163.com"
] | Tx_huntaway1023@163.com |
88536e22f8deffd6ffe4ae2a8d047546e649b1e7 | bb1f45841647f27f6f59b2b1bad6468578e4d156 | /HAPI_Start/Game.cpp | 387e436d77ed188abf5cb8aca5c592a767203994 | [] | no_license | tieran02/HAPI_Engine | f8c6cc3e73317725b140e5ab9f0f84fc1fdcf431 | e4055a30a21d59918af3b4b700614e476042213a | refs/heads/master | 2020-03-31T00:02:25.367109 | 2019-01-10T06:26:10 | 2019-01-10T06:26:10 | 151,722,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include "Game.hpp"
#include <HAPI_lib.h>
#include "Input.hpp"
#include "Time.hpp"
using namespace HAPISPACE;
Game::~Game()
{
}
void Game::Initialise(const Vector2i& screenSize)
{
m_renderer.Intialise(screenSize,m_name);
HAPI.SetShowFPS(true);
}
void Game::Start()
{
while(HAPI.Update())
{
Time::Instance().st... | [
"tieran.wightman@gmail.com"
] | tieran.wightman@gmail.com |
ac2d14f40c5f82b0b2217996a8c3be2f4eecdcee | 419fd17954a388878e8cf5ab66275821eae249ed | /include/visualizer/video_player.h | 252da8bdeda2896320ff5f7ab87065d70dbc13fa | [] | no_license | atharvanaik10/fcax | e579e0970cf9ddcaaad507902d7b77076149c93f | 053a000592467ea667c92ab8057c279cef7c7585 | refs/heads/main | 2023-04-23T16:56:00.191973 | 2021-05-16T17:13:29 | 2021-05-16T17:13:29 | 308,537,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | h | //
// Created by Atharva Naik on 15/11/20.
//
#pragma once
#include <iostream>
#include <fstream>
#include <vector>
#include <filesystem>
#include "../core/engine.h"
#include "cinder/app/App.h"
#include "cinder/app/AppBase.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "../other/CinderOpenCV.... | [
"atharvanaik10@gmail.com"
] | atharvanaik10@gmail.com |
11ee7c334c99893c878810b89233213d22b4e224 | f03cc0f5dd196b1abe9464bf602b7859865df53c | /字符串循环移位包含.cpp | 74d094477b6dffb885f946ba29512bbfb634b92e | [] | no_license | faradayin/jz | 556881452557566b77f16cb4c2bd3b9670f64088 | dce5ec8cd339169ad764867e0bdd2bcc34e0bb2c | refs/heads/master | 2020-08-01T14:21:35.156140 | 2019-09-26T07:02:04 | 2019-09-26T07:02:04 | 211,013,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | /*
给定两个字符串s1,s2,要求判定s2是否能够被s1做循环移位得到的字符串包含。
*/
//C代码
#include <stdio.h>
#include <string.h>
int main()
{
char s1[] = "AABCDEF";
char s2[] = "CDEFA";
int len = strlen(s1);
int i, j;
char temp;
for (i = 0; i < len; i++)
{
temp = s1[0];
for (j = 0; j < len - 1; j++)
{
... | [
"yinfeng.v@gmail.com"
] | yinfeng.v@gmail.com |
ea9d35310cc09482f6ea743a01fa9532975d7496 | 47ebf27cd965269321b5d07beea10aec6da494d9 | /Analysis/ReprocessingTools/ExtractKretchmann/OscillotonPotential.hpp | 0454ef4a6ac48357a24d04885a05a42768293cc5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | JamieBamber/GRChombo | 9220fa67eeaa97eee17bc3c0a8ad17bfd3d02d0e | 4399e51f71618754282049d6f2946b69ad2c12ee | refs/heads/master | 2022-03-21T18:49:41.668222 | 2020-11-24T23:21:14 | 2020-11-24T23:21:14 | 201,951,780 | 0 | 0 | BSD-3-Clause | 2020-03-11T10:19:26 | 2019-08-12T14:55:47 | C++ | UTF-8 | C++ | false | false | 1,268 | hpp | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#ifndef OSCILLOTONPOTENTIAL_HPP_
#define OSCILLOTONPOTENTIAL_HPP_
#include "simd.hpp"
class OscillotonPotential
{
public:
struct params_t
{
double scalar_mass;
double f_axi... | [
"dc-bamb1@login-e-14.data.cluster"
] | dc-bamb1@login-e-14.data.cluster |
3fd298f92410e488e2bc52f253306f73c0c68239 | a7bedf7925ce55e12337d3c6827c1e456c8d4d89 | /BinaryTreePreorderTraversal.cpp | 5cf970ca5581ac5831bfac4a2e6e158f54b18d86 | [] | no_license | denisewu/LeetCode | f9d1e90d8d6e205727426a330d7d32021e8c3445 | cea84d40a79106803f5d0ffdcdd548a96d0e86eb | refs/heads/master | 2021-01-01T15:25:17.356794 | 2015-03-16T14:08:30 | 2015-03-16T14:08:30 | 10,868,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | /*
Given a binary tree, return the preorder traversal of its nodes' values.
*/
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
vector<int> preorderTra... | [
"denisewu.ict@gmail.com"
] | denisewu.ict@gmail.com |
836eb26637f9d8a9fe2ea0bb1277a24c901dc174 | ed033bdd4ded921dc94cc78110507e1e9e8c257c | /GL_Game_Colors/GL_Game_Colors/Painter.cpp | 8ed8e7849b2adb86a13590ff34d035442710c64c | [] | no_license | coint-my/store | cda8f37db9859a02141e1f59aee9c56d79fdc145 | 395d717c8f3053ab3db3084f4261b0344cbbc4ba | refs/heads/master | 2023-04-14T22:52:36.659403 | 2023-04-05T13:48:17 | 2023-04-05T13:48:17 | 245,461,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | #include "Painter.h"
Painter::Painter(void)
{
}
Painter::~Painter(void)
{
}
void Painter::DrawTile(const int _rad, const int _seg, const float _x, const float _y, const Color &_col)
{
glColor3f(_col.r, _col.g, _col.b);
glBegin(GL_POLYGON);
for(int i = 0; i < _seg; i++)
{
float angle = M_PI / _seg;
float p... | [
"vovabelyaev1984@gmail.com"
] | vovabelyaev1984@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.