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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4042825835ca95e0c7920fc6f006d7ed14108600 | 053af9930d8f70bfa317c9df07a379b3e410c182 | /LiteraTask/DocumentParser.cpp | 8e0b7e417c03b3dfe6ba3495845ce656a058f8a5 | [] | no_license | Leshii17/LiteraTask | 514f2e12439f87c3c74a6ce444c7c46b0d7e5cdd | 4c2ebcb146dd78ef37d351efa3d8f0396cc9520c | refs/heads/master | 2023-07-08T19:47:22.088944 | 2021-08-09T15:09:48 | 2021-08-09T15:09:48 | 394,337,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,312 | cpp | #include "DocumentParser.h"
#include "CharacterTypeRecogniser.h"
#include <ppl.h>
#include <sstream>
DocumentParser::DocumentParser()
{
}
bool DocumentParser::StartExtracting(Document& doc) const
{
return doc.ExtractContent();
}
void DocumentParser::SplitIntoWords(const Document& doc)
{
for (size_t i = 0; i < doc... | [
"v.alekseenko17@gmail.com"
] | v.alekseenko17@gmail.com |
19130fb3286a8eaca97691c5cef388d24cba4ed6 | 8eeb4dc93d55619b20eba6b4fede07294240a856 | /src/ocean/libocean/hashTable.h | d42e543f22eac8c88dbc6dcad056086fafb508a4 | [
"ISC"
] | permissive | space-tudelft/cacd | d7863c84e461726efeb0f5b52066eb70d02e6699 | 8837293bb2c97edad986cf36ad8efe75387d9171 | refs/heads/master | 2020-08-03T20:37:02.033704 | 2019-10-16T09:34:49 | 2019-10-16T09:34:49 | 211,876,836 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,173 | h | /*
* ISC License
*
* Copyright (C) 1991-2018 by
* Ireneusz Karkowski
* Simon de Graaf
* Delft University of Technology
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission no... | [
"S.deGraaf@tudelft.nl"
] | S.deGraaf@tudelft.nl |
62036a589fb0f0b00738d533f84745c0a9e8c29d | de9b31ea7ef336ba4798d1c02bb0217be854a408 | /URM/reasoning_aux.cpp | 2105f4643754f69480c32f4dfc4e9030e0dbca9b | [] | no_license | legalian/urm | c195afa047b0c0af572928478f5844902ad3c255 | fe09f069672907031e5e4f6f12f5132eae0fb736 | refs/heads/master | 2021-06-10T06:29:57.791178 | 2021-04-18T20:06:17 | 2021-04-18T20:06:17 | 176,930,472 | 0 | 0 | null | 2021-04-18T20:06:18 | 2019-03-21T11:23:51 | C++ | UTF-8 | C++ | false | false | 5,534 | cpp | //
// reasoning_aux.cpp
// URM
//
// Created by Parker on 5/11/18.
// Copyright © 2018 Parker. All rights reserved.
//
#include <stdio.h>
#include "reasoning_core.hpp"
Binding::~Binding() {
for (int j=0;j<ara;j++) localtypes[j].cleanup();
if (ara) delete[] localtypes;
for (int u=0;u<binds.size();u++) ... | [
"liverspleenkidney@gmail.com"
] | liverspleenkidney@gmail.com |
d02845bb9e853a24c8cc81b61f7d9ef4bb40dbc5 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /zircon/kernel/dev/uart/mt8167/uart.cc | ab2f9e4cc2cbc344252ac0d89dd691ca7e38614d | [
"BSD-3-Clause",
"MIT"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 9,583 | cc | // Copyright 2018 The Fuchsia Authors
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <lib/cbuf.h>
#include <lib/debuglog.h>
#include <reg.h>
#include <stdio.h>
#include <trace.h>
#include <zircon/boot/driver-c... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c5d4586177dda8f959ad8a086083ef92dab8e8fd | ec0cfba32a5473c5ce21ed11d4879f149092157e | /system/threading/spinlock_test.cpp | 43c02887388c06223df4bd84e3072adf36e63b04 | [] | no_license | OpenSourceX/toft | 80e89d51f685d0fb8463e3da457d6d490d18ddeb | 05f2b8c9d10c78990d417612c7f291a3c968ebd8 | refs/heads/master | 2021-01-15T16:35:53.146155 | 2013-04-30T15:34:48 | 2013-04-30T15:34:48 | 9,865,821 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | // Copyright (c) 2013, The Toft Authors.
// All rights reserved.
//
// Author: CHEN Feng <chen3feng@gmail.com>
#include "toft/system/threading/mutex.h"
#include "toft/system/threading/spinlock.h"
#include "toft/system/threading/thread_group.h"
#include "thirdparty/gtest/gtest.h"
namespace toft {
const int kLoopCoun... | [
"phongchen@cf-VirtualBox.(none)"
] | phongchen@cf-VirtualBox.(none) |
690e490792c1a53c3e60a683d2ab50973cab6932 | 20eac06db9b4bd396c0be5ba1babeb51341f593d | /leetcode448.cpp | ed20637d76ba9a96e659b14d355916388830b48c | [] | no_license | CarolineZhu/Leetcode | 213c6e32a8879b236433c74907fae1caed6f7abd | f091fdb1c95837317ba50ad2771b43c659b1c2ff | refs/heads/master | 2020-03-22T15:28:28.151965 | 2019-07-09T07:25:04 | 2019-07-09T07:25:04 | 140,255,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> findDisappearedNumbers(vector<int>& nums) {
vector<int> ret;
int cur, next;
for (int i = 0; i < nums.size(); i++) {
if (nums[i]) {
cur = i;
next = nums[cur] - 1;
while (nums[next]) {
... | [
"14307130373@fudan.edu.cn"
] | 14307130373@fudan.edu.cn |
1db906f914a1847468f0bf80f993d1f064308f6b | a9c7812475a00c38f882b5d759b2e11a8f9817c8 | /Module_04/ex01/main.cpp | 0fb17ed7753e5c153be8e7a96dbd3933a32e330b | [] | no_license | Toka-toka/C_2plus_piscine | 03bbb849c6bde5affbc8846130e0edde88dae4b9 | 921798c3f0483d0a6b38abc1db83ed7300c00ea7 | refs/heads/master | 2023-05-09T07:10:09.309770 | 2021-06-06T15:44:43 | 2021-06-06T15:44:43 | 362,103,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | #include "AWeapon.hpp"
#include "PlasmaRifle.hpp"
#include "PowerFist.hpp"
#include "Enemy.hpp"
#include "SuperMutant.hpp"
#include "RadScorpion.hpp"
#include "Character.hpp"
int main()
{
Character* me = new Character("me");
std::cout << *me;
Enemy* b = new RadScorpion();
AWeapon* pr = new PlasmaRifle();
AWeapon*... | [
"sedric@student.21-school.ru"
] | sedric@student.21-school.ru |
d6a19bde69de8c906422caefd66da68e40589d32 | d49427ed92be32e05e07f6153270c6a47b78a4ac | /Reverse String.cpp | a2de60051bf18f95bc173e86153e134defd7088b | [] | no_license | kontactguddu/CPP-Programs- | 43c5b182e0f8898acc02f0d78d1b8af6c5999752 | 2b45ef94b37a73e2f15b4f6fd507dab5a5a5d931 | refs/heads/master | 2023-08-24T07:04:29.883637 | 2021-10-23T20:14:24 | 2021-10-23T20:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | /*
Leetcode: Reverse String
Write a function that reverses a string. The input string is given as an array of characters s.
Example 1:
Input: s = ["h","e","l","l","o"]
Output: ["o","l","l","e","h"]
Example 2:
Input: s = ["H","a","n","n","a","h"]
Output: ["h","a","n","n","a","H"]
Constraints:
1 <= s.length <= 105... | [
"sambit28saha@gmail.com"
] | sambit28saha@gmail.com |
03d0a20b1312bb7a2dc85bd0f3c887cfe44cd31e | 969ad0ccfef250abed8d6cdb421c1d682c00b2a8 | /HackerEarth/abc.cpp | 77fee57185c11dd6f7cb305513479efe42d142f9 | [] | no_license | mayankgrwl97/Competitive-Coding | 82d42e6a5a468006a849820fbfc0ab7df88496b8 | c62fcbaf0216974bc726f88cc672dbabccfd7a32 | refs/heads/master | 2020-05-22T02:48:08.456797 | 2016-10-21T08:56:41 | 2016-10-21T08:56:41 | 65,143,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
return 0;
} | [
"mayankgrwl97@gmail.com"
] | mayankgrwl97@gmail.com |
40f4ef5b317594ff162171c48b991ae2224d804d | e13b5813aed62b2bf64ee96143bb8fbc5d14ce27 | /render/Context.cpp | cbddbfc5864be93fefd95e050f6b67166cc85dec | [] | no_license | willianrschuck/cg-opengl | ad808dc381c3e234f690e6bb957fa4fa120e82e8 | 8eaa34752a8176d2f371de54e64a492c3a8da565 | refs/heads/master | 2023-04-29T17:06:10.828860 | 2021-05-03T03:13:41 | 2021-05-03T03:13:41 | 361,266,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,967 | cpp | #include "Context.h"
Context::Context() = default;
int Context::init() {
glfwInit();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
window = glfwCreateWindow(800, 600, "LearnOpenGL", nu... | [
"willianrschuck@gmail.com"
] | willianrschuck@gmail.com |
726f85d649bf149bbf7df08437723b7f9c78fb80 | 1945d6a94eac953229784c18b34f57539a4868e3 | /src/plugins/robots/loot-bot/simulator/lootbot_gripper_default_actuator.h | c55eb151349b609d9f6fb1abaa0810fb9d7cc1d4 | [] | no_license | mircoAlt/argos3-lootbot | ce76cbf992cce50d2720e1f8a078f22a003969cd | ae8ad48a5987688a617564d85e0ecbc17d4d6287 | refs/heads/master | 2021-01-01T14:14:56.920592 | 2020-02-09T14:49:19 | 2020-02-09T14:49:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,078 | h | /**
* @file "../simulator/lootbot_gripper_default_actuator.h"
*
* @author Carlo Pinciroli - <ilpincy@gmail.com>
*/
#ifndef LOOTBOT_GRIPPER_DEFAULT_ACTUATOR_H
#define LOOTBOT_GRIPPER_DEFAULT_ACTUATOR_H
#include <string>
#include <map>
namespace argos {
class CLootBotGripperDefaultActuator;
}
#include "../cont... | [
"mircoaltenbernd@me.com"
] | mircoaltenbernd@me.com |
82c3ce2286a05af3c86d815e38a541f22d3ccff5 | 4823af663d7b706fdb017c9d0b2f920f7c83cdcc | /komputer_trudny.cpp | 4718693d4abcba86ce28c897a069a653deedbf20 | [] | no_license | wojciechklosinski/TicTacToe | 0a10f779d6172d94399773921f6813edcf4d8100 | ffbed52b8c5c6478f128878f8f11bff325b720d8 | refs/heads/master | 2022-04-16T20:50:56.329250 | 2020-03-26T18:50:08 | 2020-03-26T18:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,213 | cpp | #include "komputer_trudny.h"
using namespace std;
/** \brief Rozgrywka z komputerem (poziom trudny).
*
* Funkcja umozliwia rozgrywke z komputerem na poziomie trudnym - komputer potrafi wykonac zwycieski ruch, bronic sie, wykonuje rozwniez ruchy prowadzace do zwyciestwa.
* Funkcja tworzy tablice; odsyla do posz... | [
"noreply@github.com"
] | noreply@github.com |
fe02b0107b877eb3466164a15e2aee0fe1e4f2cb | 6f7a9da07955d7e9a6f9a57d65917b3c11a282c8 | /4.Sorting/3.bubble_sort.cpp | 3178071206a9400fb1ae0012bad2f3c953cb87e8 | [] | no_license | jaguar-paw33/CODE_AAI | 3465014b0c87494dbbbaa957427c9b8a2652a27d | c10912b512e69b45e7d24d449d2e0cc4480df518 | refs/heads/master | 2023-06-29T05:37:44.487972 | 2021-08-13T07:47:55 | 2021-08-13T07:47:55 | 351,182,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp |
// Time Complexity - O(n^2)
// Space Complexity - O(1)
#include<iostream>
using namespace std;
void bubble_sort(int * arr, int n) {
bool swapped = false;
for (int i = n - 1; i >= 1; i--) {
for (int j = 0; j < i; j++) {
if (arr[i] < arr[j]) {
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
... | [
"mr.priyankmishra@gmail.com"
] | mr.priyankmishra@gmail.com |
078c6dbdaffc851001a4698631443cd6a81879b0 | c258ecfc7fd11507da15e25bfcf5c6548c6f5874 | /rhul.cpp | 0aff9993846b0f25d55ac05a154581fea11a002d | [] | no_license | sagarsingla14/Codechef | 724ae9b8563deed5cb6c8648cbc39603f0283c57 | 74384679a2eec984b2fbb762e0a8a8e8f60cc103 | refs/heads/master | 2021-07-13T17:17:34.026783 | 2020-09-27T14:07:27 | 2020-09-27T14:07:27 | 208,868,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | cpp | #include<bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
#define ll long long
//#define bint int1024_t
#define ld long double
#define vect vector<ll>
#define pb push_back
#define F first
#define pll pair<ll,ll>
#define S sec... | [
"sagarrock1499@gmail.com"
] | sagarrock1499@gmail.com |
94e859cd30a3e6a52c3d8442e3f3ab86fdee78b4 | a98aa4203886915c5f4bdd3549d13886efdf7b33 | /graphsearch/dijkstra/cpp/dijkstra.cc | 6fd07c2cf46be82111d3b46c8c585bad63dd4941 | [
"MIT"
] | permissive | aayusharma/al-go-rithms | 034432a06c06d0375c25e95987e1e630a1df5386 | 1ce49e415509eb75ce18c8b421820cbb501e40eb | refs/heads/master | 2021-07-14T08:49:11.057520 | 2017-10-11T18:36:01 | 2017-10-11T18:36:01 | 106,591,134 | 1 | 1 | null | 2017-10-11T18:09:04 | 2017-10-11T18:09:04 | null | UTF-8 | C++ | false | false | 920 | cc | #include <iostream>
#include <utility>
#include <list>
#include <vector>
#include <queue>
using namespace std;
#define INF 999999
typedef pair<int, int> pii;
list<pii> adj[INF];
int V;
void dijkstra(int src) {
priority_queue<pii, vector<pii>, greater<pii> > pq;
vector<int> dist(V, INF);
pq.push(make_pair(0, sr... | [
"noreply@github.com"
] | noreply@github.com |
8fb0c9f8d5e2a81f862df939e05b8ffbf6d5da21 | b9fccefb37e5b293e30a6ca3071c2b23f4cb7351 | /Game/ComponentSet.h | f690724841fd02cc20a0571ce65e4bba05320218 | [] | no_license | qavenger97/Automaton-Assault | bb60fe07b52bd78521410a3e874f02a20290fa72 | 616c1dedabfe649f31b064c5024d4bad6c2b0876 | refs/heads/master | 2020-12-31T07:11:33.554420 | 2017-01-31T22:04:42 | 2017-01-31T22:04:42 | 80,561,820 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,790 | h | #pragma once
#include "PlayerComp.h"
#include "ThirdPersonCameraComponent.h"
#include "Projectile.h"
#include "EntitySpawner.h"
#include "LevelExit.h"
#include "GunLogic.h"
#include "HealthModule.h"
#include "MainMenu.h"
#include "SpinMotor.h"
#include "RadialGravity.h"
#include "ShiftingPlatform.h"
#include "Grappler... | [
"xque@fullsail.edu"
] | xque@fullsail.edu |
abcef814eb0c1ea9a01e015deba0d9a3e3b75ad6 | ba67254986a5c071b227e6722a80f681deddf946 | /Desktop/git/ULife3.5/NetSDK/NetSDK/example/TestNetSDK/TestNetSDK/TestNetSDK.cpp | 75614c922e79147f31992534626c117dc4c3c6af | [] | no_license | wzq0227/SDK_NEW | c5f6c2f0c562868d5a59389baeb1ad46efb7800f | 8f6d0ed84fc18251431b3c6e59f46314bd0e6ff2 | refs/heads/master | 2020-05-07T08:42:38.862415 | 2019-04-09T10:10:09 | 2019-04-09T10:10:09 | 180,339,243 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,004 | cpp |
// TestNetSDK.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "TestNetSDK.h"
#include "TestNetSDKDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CTestNetSDKApp
BEGIN_MESSAGE_MAP(CTestNetSDKApp, CWinAppEx)
ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END_MESSAGE_MAP()
// CTestNetSDKApp 构造
... | [
"fly_zqw@sina.com"
] | fly_zqw@sina.com |
a14fb8a84f46de2551671b426549a6f74825d955 | c9de5d4c5168d5cb863744010dbcebc073b6ea8f | /RomeCityGame/rcPathFinder.h | 44e83eeecd35ea30283ff80c502ee1dfc0b384ac | [] | no_license | ADFLin/GameProject | b869e246a4ec7beb37c278c4d23a0004543a688a | 56b622371271beb95becbf381534f3332ef870d5 | refs/heads/master | 2023-08-22T06:29:44.852204 | 2023-08-15T15:56:17 | 2023-08-15T15:56:17 | 47,371,197 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | h | #ifndef rcPathFinder_h__
#define rcPathFinder_h__
#include "rcBase.h"
#include <vector>
class rcLevelMap;
class rcBuilding;
class rcPath;
class rcPathFinder
{
public:
virtual ~rcPathFinder(){}
virtual rcPath* sreachPath( Vec2i const& from ) = 0;
void setLevelMap( rcLevelMap* levelMap ){ mLevelMap = levelM... | [
"HiggsLin@gmail.com"
] | HiggsLin@gmail.com |
9d47ab6aede9e84588d6d49911e98fcc45599e30 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /ui/gfx/overlay_transform_utils.h | c0c38eec154276a7116bd3fee87f47764d5db514 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 738 | h | // Copyright 2019 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 UI_GFX_OVERLAY_TRANSFORM_UTILS_H_
#define UI_GFX_OVERLAY_TRANSFORM_UTILS_H_
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
#... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
695acaf42421199534e8d23d5668c9be974cca48 | 302a9615b43899cfcbe9ff7cc0f51c7a4c8285bd | /components/mcp23017/mcp23017.cpp | e4ae510ed733f26f612c4802f798b307676ddb79 | [
"MIT"
] | permissive | cnc4less/esp32-mcp23017-1 | 514b570aa3e927cc503544fcd0d96833311a0988 | 98d6d26326fb19c72691385cf868f2f9ae8d3ed0 | refs/heads/master | 2022-06-12T16:13:16.880500 | 2020-05-07T10:55:15 | 2020-05-07T10:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,329 | cpp |
#include "mcp23017.h"
#include "sdkconfig.h"
using namespace std;
char tag[] = "MCP23017";
/**
* @brief Construct a new MCP23017::MCP23017 object
*
* @param i2cPort The I2C port of the ESP32.
* @param sdaPin The GPIO pin connected to SDA.
* @param sclPin The GPIO pin connected to SCL.
* @param addr The I2C a... | [
"marknotgeorge@googlemail.com"
] | marknotgeorge@googlemail.com |
c0b89a8f1726cf7246bf16dae8f54935c074de17 | 092d638d7e00daeac2b08a448c78dabb3030c5a9 | /gcj/gcj/188266/Tinnus/190103/0/extracted/card.cpp | 17d0d2cb0b00ab1f720d821a8496d1287603b790 | [] | no_license | Yash-YC/Source-Code-Plagiarism-Detection | 23d2034696cda13462d1f7596718a908ddb3d34e | 97cfdd458e851899b6ec6802a10343db68824b8b | refs/heads/main | 2023-08-03T01:43:59.185877 | 2021-10-04T15:00:25 | 2021-10-04T15:00:25 | 399,349,460 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <algorithm>
using namespace std;
//
int main(void)
{
int a, b;
int nc, ca;
scanf("%d", &nc);
for(ca=1; ca<=nc; ca++)
{
sca... | [
"54931238+yash-YC@users.noreply.github.com"
] | 54931238+yash-YC@users.noreply.github.com |
f9412fa229ee620497b613a8d4475ed8910947e0 | 76369dba56fa9d3b265486b9ab10279cd16de5e9 | /cpp/temperatura.cpp | 7774a77fd0f46ff5f9d02d741789b74f8bd8d7bc | [] | no_license | acenelio/curso-algoritmos | 29f24e49865a9a2626af7b67fa453c183ec060dc | 71a46ddc6e7871e999cec529637b0e199a87b716 | refs/heads/master | 2023-01-13T06:43:17.099401 | 2023-01-03T23:55:37 | 2023-01-03T23:55:37 | 220,841,002 | 403 | 191 | null | 2022-12-13T01:59:29 | 2019-11-10T19:40:30 | Java | UTF-8 | C++ | false | false | 732 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main(){
char escala;
double celsius, fahrenheit;
cout << "Voce vai digitar a temperatura em qual escala (C/F)? ";
cin >> escala;
cout << fixed << setprecision(2);
if (escala == 'F') {
cout << "Digite a temperatura em Fa... | [
"acenelio@gmail.com"
] | acenelio@gmail.com |
19829a2e89efcd6bc2db0a1bd7a2261bc8040a78 | 5ebddfedbd00caa6b47926b72b31bb9f076de9a2 | /Calc/GameSim.h | 24887ab381aca33fd25c885945881eb966a4d96e | [] | no_license | Zeblar/pok | 6d70439ff79e458d7736d2730c367c4296e57ebd | 3c5abfac96d578a6884975bab7063aee7d1f3713 | refs/heads/master | 2020-04-01T15:06:41.726214 | 2015-10-20T09:50:22 | 2015-10-20T09:50:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | h | #pragma once
#include "IGameSim.h"
class GameSim :
public IGameSim
{
private:
int numberOfPlayers = 10;
public:
virtual void setNumberOfPlayers(int);
virtual void setStartHand(Card*);
virtual void setOpenCards(Card*, int nCards);
//virtual void setNumberOfPlayers(int) = 0;
virtual void setNumberOfFolds(int);
v... | [
"kg222dy@student.lnu.se"
] | kg222dy@student.lnu.se |
8be1e3e2d2e2e7221841ac3a94bc929c566b6e0b | 61d7867698f9d8add85b226bc16b18bba1086832 | /src/qt/askpassphrasedialog.cpp | bceea79730508c0d66cf54a8ddabf2366c3f335a | [
"MIT"
] | permissive | fartcoin-project/fartcoin | 20ef1830f4209fad31fc8df19398ff402196460e | a09d31391050d030980906d33e80f40321fedbd0 | refs/heads/master | 2023-06-07T11:31:08.952555 | 2022-08-23T19:10:18 | 2022-08-23T19:10:18 | 121,985,000 | 2 | 0 | MIT | 2022-08-23T19:12:07 | 2018-02-18T19:51:45 | C++ | UTF-8 | C++ | false | false | 10,158 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#in... | [
"fartcoinproject@gmail.com"
] | fartcoinproject@gmail.com |
364448f3146993ca31df1963c4564bebf4910367 | 4ba7ac0f46dd8b543dfce84aa0da94930b76652d | /cplusplus/Core/VectVert.h | 205f47edc3e0dd6266aba1d14b930ae86f7032fb | [
"MIT"
] | permissive | MozAntonio/MatrixKalQ_OOP-Project | 9ab902a7a3c77b3d355e54876641c034c505b234 | 38b3621e765d07607b5351049277724c56b1a285 | refs/heads/master | 2020-04-09T14:15:49.423832 | 2018-12-04T18:18:39 | 2018-12-04T18:18:39 | 160,392,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | h | /* VectVert.h */
#ifndef VECTVERT_H
#define VECTVERT_H
#include "Vect.h"
#include "VectHor.h"
class VectHor;
class VectVert: public Vect {
public:
//Costruttori:
explicit VectVert(unsigned int =0);
VectVert(unsigned int, double);
//virtual ~VectVert();
//Metodi 'concretizzati':
virtual VectVert* clone()... | [
"antonio.moz94@gmail.com"
] | antonio.moz94@gmail.com |
2d529befebbf75694b0f36dcc39c7242b796cdcc | 27edb47cfe80857d78eea4ef05f1c58bcb66ed94 | /menu.cpp | 60bd776b06283099d16868c75f76e2af61785a32 | [] | no_license | epixelse/l4d2hack | 894a4e6fff1392d91f9bb1659f5cba69634e1855 | c86202c3057aed46a793a29ef77182f8a086ebf2 | refs/heads/main | 2023-06-26T17:16:05.469808 | 2021-07-26T13:04:39 | 2021-07-26T13:04:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,437 | cpp | #include "hooks.h"
cMenu g_Menu(400,200,290,253);
bool bSliderFix[50];
int iSliderIndex = -1;
int iCurrSlider;
DWORD dwWait;
#define COLOR1 60, 60, 60, 255
#define COLOR2 85, 85, 85, 255
#define COLOR3 0, 0, 0, 255
#define COLOR4 35, 35, 35, 255
#define COLOR5 50, 50, 50, 255
#define COLOR6 100, ... | [
"noreply@github.com"
] | noreply@github.com |
4b7201ef0e29748b26a20a3ea801536f89845f38 | 0dec1c78c7e55d92b586f7b87f9dbee90a1322d1 | /csrc/plugins/DecodePlugin.h | 2c001d0a4db29fb281e33f1fe374098564f0c15d | [] | permissive | florischabert/retinanet | 77fc0e677d966fe5aa5cacdbe97448bd2b628128 | 68d9c37f7ce9bf8dfe61c5703d925f3ba9573171 | refs/heads/master | 2020-04-29T19:21:22.992727 | 2019-06-18T19:31:03 | 2019-06-18T19:31:03 | 176,351,463 | 2 | 1 | BSD-3-Clause | 2019-04-17T14:20:17 | 2019-03-18T18:59:49 | Python | UTF-8 | C++ | false | false | 6,544 | h | /*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 to use... | [
"fchabert@nvidia.com"
] | fchabert@nvidia.com |
bb853edea9315d6695c9d222556d20a76dd016bb | 721d70011e3b9447113b0f62d5e6bb00c54b7008 | /windows/mingw/i686-w64-mingw32/lib/gcc/mingw32/4.6.2/include/c++/parallel/base.h | 11c68f5f5e66a2556a41734f3eb5db9b417a86fe | [] | no_license | mrmoss/parrot_kinect | d8f3dd477dc6206d54f17266fc618e5e5705fde3 | 5e118c7b5a31bfa999cd3eb8777677f923fa80b0 | refs/heads/master | 2021-01-10T21:06:29.716162 | 2015-11-11T22:11:50 | 2015-11-11T22:11:50 | 8,966,232 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,689 | h | // -*- C++ -*-
// Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Software
// Fo... | [
"mrmoss@alaska.edu"
] | mrmoss@alaska.edu |
f0a63b284f1f5a31315f42d8ec53642c931c97f0 | 744ece29007843cd2557d975a6217a4672aaf58c | /ConsoleTable.h | cae1411e75d8935bb84778af2e5f8280d7b0981e | [
"BSD-2-Clause"
] | permissive | StevyZheng/Console-Table | e8840b3341babfff60c9f81cfd00a67cc8e14081 | f2cfd3fb689a6d2f7b2cbf9ec1d262520036202e | refs/heads/master | 2020-03-23T10:23:59.007963 | 2018-03-11T13:07:31 | 2018-03-11T13:07:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #ifndef CONSOLE_TABLE_H
#define CONSOLE_TABLE_H
#include <iostream>
#include <vector>
#include <iterator>
#include <iomanip>
#include <numeric>
#include <algorithm>
#include <memory>
#include <sstream>
#include <forward_list>
enum class Align {Left, Right, Center};
typedef std::forward_list<std::string>... | [
"kerteszadam23@gmail.com"
] | kerteszadam23@gmail.com |
1aff13ba2c666b2ee14ffbc09484c6493dd03cfe | d478b03564bb8f58b6ce5f0ce96a005e7d7a80f1 | /workhandle.h | a1a3fba63423d91ca19be23c8bfc64b00af768b2 | [] | no_license | lpnsjl/Sensor | d8590e64a919a4710a420975129320408dcd36fc | 8e019fe456ab48731151d43458251d883492a3e9 | refs/heads/master | 2020-03-21T20:35:28.116072 | 2018-06-28T13:00:31 | 2018-06-28T13:00:31 | 139,016,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #ifndef WORKHANDLE_H
#define WORKHANDLE_H
#include <QObject>
#include <QThread>
class WorkHandle : public QThread
{
public:
virtual void run();
// explicit WorkHandle(QObject *parent = 0);
};
#endif // WORKHANDLE_H
| [
"1752128872@qq.com"
] | 1752128872@qq.com |
81cdec94e1ede17589e0996abc76bf2aaca8b60b | 3c5c1e3836edf3e9627a64600785503d1814df51 | /build/Android/Debug/app/src/main/include/Fuse.Navigation.Activ-5bc1c951.h | 231bd9cd7d870d2f847f6d7f002db7244b8549e7 | [] | no_license | fypwyt/wytcarpool | 70a0c9ca12d0f2981187f2ea21a8a02ee4cbcbd4 | 4fbdeedf261ee8ecd563260816991741ec701432 | refs/heads/master | 2021-09-08T10:32:17.612628 | 2018-03-09T05:24:54 | 2018-03-09T05:24:54 | 124,490,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | h | // This file was generated based on C:/Users/Brian/AppData/Local/Fusetools/Packages/Fuse.Navigation/1.6.0/NavigationAnimations.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IBase-d3bd6f2e.h>
#include <Fuse.Animations.IUnwr-594abe9.h>
#include <Fuse.Bindin... | [
"s1141120@studentdmn.ouhk.edu.hk"
] | s1141120@studentdmn.ouhk.edu.hk |
efc238c8986dfd84a08681081188d20b29c82a32 | 8edf4243cd2dd4daaa9d7b81b6f1725148442f01 | /include/coin/magic_timer.hpp | 065b6fa488ec2146a5f1edf9f18801c9b7881e98 | [
"MIT"
] | permissive | coin-au-carre/cointools | 9c0e2c2ed772340701168969410a788a835b537d | a7c8634fa404f87d2884bf60cdea65cdaa0d93fa | refs/heads/master | 2020-12-24T05:30:37.981690 | 2016-11-15T12:28:42 | 2016-11-15T12:28:42 | 38,960,636 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,210 | hpp | #pragma once
#include <chrono>
#include <iostream>
#include <string>
#include "logger.hpp"
namespace coin {
namespace _detail_timer {
template<typename TimeT>
std::string suffix_duration();
// explicit full template specializations
template<> inline std::string suffix_duration<std::chrono::hours>() { retur... | [
"florian.dang@qhedgetech.com"
] | florian.dang@qhedgetech.com |
c85e8c2e07f1eebc9381d19e8e8090f537518aca | 0f92a5d10e0cfb4bab572c84e98c9138a6b3786a | /uva.onlinejudge.org/UbiquitousReligions.cpp | 64f2c40d18404f909c4c39dc56d39213b4576fa4 | [
"Apache-2.0"
] | permissive | ulises-jeremias/Solutions | 0202758b1ffeefabcd4c468f34a71e25669641ca | 5989fc94e689dfacdf2649a43e22f5616f6350d7 | refs/heads/master | 2021-01-23T18:45:03.915610 | 2017-12-05T18:23:53 | 2017-12-05T18:23:53 | 102,806,511 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,131 | cpp | /*
* By: ulises-jeremias
* From: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1524
* Name: Ubiquitous Religions
* Date: 22/11/2017
*/
#include <iostream>
#include <string>
#include <vector>
#include <utility>
#include <algorithm>
#define INF 1 << 30
using names... | [
"ulisescf.24@gmail.com"
] | ulisescf.24@gmail.com |
e15444b4f71589809728eef3b8b5a39b4f82a170 | 19a8e1af3d5afa820c010d3d0628806768cf65ff | /PhysicsBodyUtils/PhysicsBodyUtils.cpp | a547d2c15441b57f60e56a1998609c52f3fd8ac9 | [] | no_license | EdCornejo/Cocos2dUtils | 1c6fdac7127937f8f510fd8cf1650fcdbf7e7ffe | d5ce712e30cf4dac8ad8b7c1b72a25a5e39ef15d | refs/heads/master | 2021-05-16T20:42:03.377445 | 2017-07-23T11:42:19 | 2017-07-23T11:42:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | #include "PhysicsBodyUtils.h"
std::string PhysicsBodyUtils::err_create_pb = "ERROR: Can not create PhysicsBody";
PhysicsBodyUtils::PhysicsBodyUtils()
{}
PhysicsBodyUtils::~PhysicsBodyUtils()
{}
PhysicsBody *PhysicsBodyUtils::createBox(const Size &size, int bitmask,
bool id_d... | [
"ya.zubarevanton@yandex.ru"
] | ya.zubarevanton@yandex.ru |
e300f940bb81786613f825daa01f81823a0be488 | ad96ea3809bf3eac61785618e79174a17a364787 | /programs/kmeans1.cpp | e88c87db94f6b6e9a012f80c1dd643b1c0825c43 | [] | no_license | poojithumeshrao/poojith | 9b2e6e0cec0a3fba5a75aadc83b57f741c7fb1a9 | 317600a74fcd0dfcdda1e977f4287b5a877814bf | refs/heads/master | 2021-01-11T23:33:27.349174 | 2017-07-28T17:12:15 | 2017-07-28T17:12:15 | 78,601,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,733 | cpp | #include<iostream>
#include<math.h>
#include<stdlib.h>
#define con 10
#define num 3
using namespace std;
struct point
{
float x;
float y;
int z;
}p[con],centroid[num],initial[num];
void add(int , int);
void assign(int);
void calc_centroid();
int main()
{
int i,j;
//pick random points.
for(i=0;i<con;i++)
{
p[i... | [
"poojithumeshrao@gmail.com"
] | poojithumeshrao@gmail.com |
04a3cd5bbbf309bf1f14a0c69080c434115b96ac | 908100c4e9deeefda850fa2187b4093ecfb84739 | /keyboard-kid/src/environment.cpp | e110812c59bfd1263b8fc42591854adb26dfb4df | [] | no_license | ebitikofer/keyboard-kid | 0ca7d92bb45622e4a3723ab8f0ab4b4f4017d331 | 4298bbaf857a9c6a70cdf6c957494b82d17fb6de | refs/heads/master | 2020-06-12T16:14:09.857110 | 2019-06-29T05:31:07 | 2019-06-29T05:31:07 | 194,354,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,519 | cpp | #include "environment.h"
int environment::run() {
//Start up SDL and create window
if (!init())
{
printf("Failed to initialize!\n");
}
else
{
//Main loop flag
bool exit = false;
int current = 0, next = 1;
while (!exit) {
current = next;
next = 0;
//Load media
... | [
"e.bitikofer@gmail.com"
] | e.bitikofer@gmail.com |
30843481d570346d72c033344dd28a74d10a33dd | f6f323c895e18433159627bd61efccf63a5fe12f | /stock_buy_sell.cpp | d8adb797ea0dbf843b6644814d1e9722836b19bf | [] | no_license | Adarsh-kumar/Competitive_coding_practice | 200d869d072b97daa5e900b0c35b91e1da128247 | 88bb368b107b35eb5e9c40a683a3e41fbe16b469 | refs/heads/master | 2020-03-30T14:03:30.177798 | 2018-10-02T18:09:40 | 2018-10-02T18:09:40 | 151,299,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include<iostream>
using namespace std;
int max_profit_finder(int arr[],int n)
{
if(n==1)
return 0;
else
{
int i=1;
int prev=arr[0];
while(arr[i]>arr[0])
{
prev=arr[i];
i++;
}
cout<<"sell the stock at "<<i-1;
int main ()
{
| [
"adarsh.kumar.phe15@itbhu.ac.in"
] | adarsh.kumar.phe15@itbhu.ac.in |
51a6d7da3e05b4dbd05446cac86a064b100843f8 | 45d300db6d241ecc7ee0bda2d73afd011e97cf28 | /OTCDerivativesCalculatorModule/Project_Cpp/lib_static/calculationModule/src/Engine/MonteCarlo/variableInfo/nullVariableEventInfo.cpp | 674d686358df79893aa97a589e3c1c1d3d3d8cb5 | [] | no_license | fagan2888/OTCDerivativesCalculatorModule | 50076076f5634ffc3b88c52ef68329415725e22d | e698e12660c0c2c0d6899eae55204d618d315532 | refs/heads/master | 2021-05-30T03:52:28.667409 | 2015-11-27T06:57:45 | 2015-11-27T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include "NullVariableEventInfo.hpp"
namespace QuantLib {
NullVariableEventInfo::NullVariableEventInfo()
:VariableEventInfo("","",false)
{
}
void NullVariableEventInfo::initialize(const boost::shared_ptr<PathGeneratorFactory>& pathGenFactory)
{
}
bool NullVariableEventInfo::execute(bool tf)
{
return tf;
}
} | [
"math.ansang@gmail.com"
] | math.ansang@gmail.com |
58185080aa73c5defd2285bc16f1adbf01a1babd | bc16acb391067e074a10dc390e9ba8d16bb6e99a | /INPUTSCRIPT/INPUTSCRIPT/INPUTSCRIPT.ino | 09bb433d55a95eff9f9f60191900b7cb0aa662b7 | [] | no_license | jack-maber/comp140-gam160-game | 4e0bf630d894c5b8baba7fff7a432160be0a22cf | 26bb31c74e9551f8b5282e185b3e08c89983dbee | refs/heads/master | 2021-01-13T17:12:19.361545 | 2017-04-29T11:55:03 | 2017-04-29T11:55:03 | 81,747,790 | 0 | 0 | null | 2017-02-12T18:38:03 | 2017-02-12T18:38:03 | null | UTF-8 | C++ | false | false | 2,555 | ino | #define SERIAL_BUFFER_SIZE 256
//ASSIGNS INPUTS TO PINS ON THE BOARD
int xPinL = A1;
int yPinL = A0;
int yPinR = A3;
int xPinR = A2;
int tSwitch = 9;
int keypad1 = 2;
int keypad2 = 3;
int keypad3 = 4;
int keypad4 = 5;
int fire = 7;
//CREATES VARIABLES FOR THE INPUTS TO USE
int xPositionL = 0;
int yPositionL = 0;
i... | [
"jack-maber@live.co.uk"
] | jack-maber@live.co.uk |
33ac90ec52d0e4525f5f578f2961a92aa8aeb6dd | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /dataworks-public/src/model/GetDISyncTaskRequest.cc | 4b15842f50581a695dbd8f78a4b46d2b7fde2ebd | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,682 | 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 by... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
96ec36fa26ac621de394ee9e7ef368f77157d502 | 779b7874ec854574fd9432b5b7e13acff8ba3b5b | /dp/11055 가장 큰 증가 부분 수열 백업.cpp | a0f239e46ef976044fc8ea9f399ade57d6bd3056 | [] | no_license | sunovivid/AlgorithmStudy-2019winterVacation | ef49a35abade49cede8c067bcba89ceab0e0ec1e | 2614ccd8a6d7601d15af224a0b5c096226a35714 | refs/heads/master | 2020-12-04T01:33:54.118802 | 2020-02-02T09:24:59 | 2020-02-02T09:24:59 | 231,554,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int dp[1000][1000];
int arr[1000];
int f(int i, int j) {
if (i == 0)
return j <= arr[0] ? arr[0] : -INT32_MAX;
if (dp[i][j] != 0)
return dp[i][j];
int result = 0;
for (int k = 0; k < j; k++) {
result = max(result, f(... | [
"suno.vivid@gmail.com"
] | suno.vivid@gmail.com |
2e761b8984c095e5a806fffce7fd97f9d1889d68 | 0a21f21541d06596a4b5bb8a17c9d588dffd7ee9 | /Truffles/src/OI.h~ | 64f1d39069d000179de2c3c8472a0b0db0a5a14f | [] | no_license | jasonnn/truffles | 3c5f8064ad982019b12a9ca9a3b120fcfa66f33e | 808d5718469510c0f3247b997bc1addbe6cee23e | refs/heads/master | 2021-01-11T15:52:26.074266 | 2017-01-24T18:52:48 | 2017-01-24T18:52:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the blocks ... | [
"jasonmarkham@gmail.com"
] | jasonmarkham@gmail.com | |
f7c5578cace90951ae96f1d653ff122a30e9628e | e72524812f31d956668d69e11e5ef4a7e2fdfc8f | /ping.ino | 5850f5a10189e273065fb75f7f71adfc9d01165d | [] | no_license | omnius45467/simple_robot | 0b0f486ad3a6e5aa98ea427fd1ee37b067b7da65 | 37747f74aa46651bc7a1d7e7b0afe29ec5613c9d | refs/heads/master | 2021-01-17T12:03:52.050553 | 2015-06-24T04:50:13 | 2015-06-24T04:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,695 | ino | /* Ping))) Sensor
This sketch reads a PING))) ultrasonic rangefinder and returns the
distance to the closest object in range. To do this, it sends a pulse
to the sensor to initiate a reading, then listens for a pulse
to return. The length of the returning pulse is proportional to
the distance of th... | [
"jeremy.robles56@gmail.com"
] | jeremy.robles56@gmail.com |
1430687ecc77449b4e30bfaf0a1e56ff280b4aec | 483c728a5580dd74c1f7486d9420f27bea7c70d0 | /CatalogManager/CatalogManager.h | a3de4352375f399961f190c7e38e05573153dabd | [] | no_license | PepcyCh/MiniSQL | d5e1a4ae7ee472050d85ad043830b8b27e862869 | 2c0f2d91593e04aa794eb32d58aee5b991ce09b4 | refs/heads/master | 2022-10-21T06:44:21.610890 | 2020-06-03T02:27:50 | 2020-06-03T02:27:50 | 272,966,359 | 1 | 0 | null | 2020-06-17T12:18:54 | 2020-06-17T12:18:53 | null | UTF-8 | C++ | false | false | 967 | h | #pragma once
#include <unordered_map>
#include "Table.h"
#include "Index.h"
class CatalogManager {
public:
void NewTable(const std::string &name, const std::vector<Attribute> &attrbs);
void NewIndex(const std::string &name, const std::string &table_name,
const std::string &attrb_name);
... | [
"pepsich86@163.com"
] | pepsich86@163.com |
5a2677be9d183a15f21c9db839b480384ebf3249 | dea8378f83fbebd399cac8177d704bcd147e6c5d | /PolyDataExtractNormals/main.cpp | 7b1e3ab48d02f18416efdf098500ec4186e33f83 | [] | no_license | GitHubforXiaoming/VTKDemo | aafb640d773c950aa5c1c165fb9f6b61d1064631 | d60531734989eced6df4c982296587c5c0b70882 | refs/heads/master | 2021-01-11T06:33:20.520152 | 2017-09-08T07:00:39 | 2017-09-08T07:00:39 | 69,548,137 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,899 | cpp | #include <vtkVersion.h>
#include <vtkCellData.h>
#include <vtkDoubleArray.h>
#include <vtkFloatArray.h>
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include <vtkPolyDataNormals.h>
#include <vtkPointData.h>
#include <vtkSmartPointer.h>
#include <vtkSphereSource.h>
#include <vtkSTLReader.h>
#include <vtkXMLPolyDataRe... | [
"amazedwang@163.com"
] | amazedwang@163.com |
d48740f2dceeeff371d3cda78a3955c4844d27e6 | 8e8add97eb70f1cc014cfd1d538bd68eb06161e5 | /Practica_03/Codigos/puerto_v1.cpp | 51620730ae65310c97778d43ef99a93ad7e116ac | [] | no_license | renegeizu/UGR-SS | a39e0904da01758dbda3860449f49e2a8ea56041 | 3f78448eeaf0e23fc0f268a3edaa6f0975313ae3 | refs/heads/master | 2021-08-03T20:57:12.913816 | 2019-01-20T15:06:19 | 2019-01-20T15:06:19 | 153,526,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,747 | cpp | #include <list>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
using namespace std;
#define SUCESO_LLEGADA_BARCO 0
#define SUCESO_FIN_ATRAQUE 1
#define SUCESO_FIN_CARGA 2
#define SUCESO_FIN_DESATRAQUE 3
#define SUCESO_FIN_VIAJE_AT_BO 4
#define SUCESO_FIN_VIAJE_BO_AT 5
#define SUCESO_COMIEN... | [
"renegeizu@gmail.com"
] | renegeizu@gmail.com |
1fc1eddc25173ee891adebf98d9acabc8b4d47ca | e39fa3fe7c0490f012d366f0a12d24a09ee3ba58 | /include/HashTest.hpp | 92665b2412c2ac1a2ffddaaf791089b4eb07369d | [
"Zlib"
] | permissive | jimmiebergmann/Bit-Test | bfdd2fc50e1496318abd8632e01681ab84bd3550 | 50830e8f6052f8d36184af523cc85b4eba80c563 | refs/heads/master | 2020-04-05T22:53:37.402288 | 2014-06-11T21:53:51 | 2014-06-11T21:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | hpp | ///////////////////////////////////////////////////////////////////////////
// Copyright (C) 2013 Jimmie Bergmann - jimmiebergmann@gmail.com
//
// 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 so... | [
"jimmiebergmann@gmail.com"
] | jimmiebergmann@gmail.com |
e3c1c77e496b8d4fba99b853319d24f85582b15f | 2b6144aeefe48a5a9244c3560ffc91ed202f2fb6 | /volna_init/external/boost/fusion/mpl/size.hpp | 2c724281a9f00113583b077659dae23e0cf63d4f | [
"BSL-1.0",
"BSD-2-Clause"
] | permissive | reguly/volna | b867a63c3bd09fa234264cb2d01b8d8dd353ae27 | 6656d994c75f93d0f29673a8fc0da10926fa8d4a | refs/heads/master | 2023-08-19T07:19:35.315350 | 2022-11-05T19:46:49 | 2022-11-05T19:46:49 | 40,645,334 | 4 | 8 | BSD-2-Clause | 2021-11-15T13:16:52 | 2015-08-13T07:36:57 | C++ | UTF-8 | C++ | false | false | 792 | hpp | /*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
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)
========================================... | [
"regulyistvan@gmail.com"
] | regulyistvan@gmail.com |
35497d9c2a9cc775a0c16437248cbd60653c7e62 | f574b5a7dec6b6df031174e43fbae65bf3119f76 | /ISYN/isyn_ws/devel/include/bebop_msgs/CommonMavlinkStateMissionItemExecuted.h | db7ae79e3e275eba500cae75af0bb45f5ae435e7 | [] | no_license | sinsinsin00/I_SYN_Project | 02f6ae86798d09c3df4393f24457d19677a8ffb7 | 6a7dd44c53eaa1cd85a7638e93274ca67cd4de20 | refs/heads/master | 2020-12-03T13:35:20.155187 | 2020-01-02T09:46:29 | 2020-01-02T09:46:29 | 231,337,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,307 | h | // Generated by gencpp from file bebop_msgs/CommonMavlinkStateMissionItemExecuted.msg
// DO NOT EDIT!
#ifndef BEBOP_MSGS_MESSAGE_COMMONMAVLINKSTATEMISSIONITEMEXECUTED_H
#define BEBOP_MSGS_MESSAGE_COMMONMAVLINKSTATEMISSIONITEMEXECUTED_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#incl... | [
"sinsinsin01@gmail.com"
] | sinsinsin01@gmail.com |
efc26da2b90a6eea21c9e671560d8adb7c35def8 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/Windows-classic-samples/Samples/Win7Samples/winui/WindowsSearch/WSOleDB/WSOleDB.h | 47f1bec34cad4c26374b7ec1c02665fbf4be828b | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 211 | h | #include <stdio.h>
#include <tchar.h>
#include <windows.h>
#include <searchapi.h>
#include <iostream>
#include <atlbase.h>
#include <atldbcli.h>
#include <strsafe.h>
#include <propsys.h>
#include <propkey.h>
| [
"126.org@gmail.com"
] | 126.org@gmail.com |
a8732ed15813130cbb9ad66246a827f32a8045b2 | de6e9dcb37d94300c6a170de9de3847c21e73906 | /content/renderer/input/render_widget_input_handler.cc | 74de31a5f0ddaf3eea3e0cef3c6b0fdd0a6d89d1 | [
"BSD-3-Clause"
] | permissive | Jubata/Cheetah-browser | cadc8770eb74c79083a77ffe9f04f2c316ca71a4 | f8f5e873250e4413161cc36950ff20b1ff73ef6a | refs/heads/master | 2023-01-09T03:03:08.233816 | 2017-12-25T16:41:35 | 2017-12-25T16:41:35 | 109,480,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,412 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/input/render_widget_input_handler.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include "base/auto_reset.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
badc9a93c883ab301caae360762a2736980c7d48 | 163bad17c2ba0aeeb05e29d1a7f870e675ee28eb | /hikyuu_cpp/hikyuu/trade_sys/allocatefunds/crt/AF_FixedWeight.h | 019b22e5372022ce268bfbfbf009656049857050 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | fasiondog/hikyuu | 8b7bc4fd99ff915c621586a480c3663ef3fae464 | 86b0fa5b0e847d9a04905bca93660a7a33fc9fc2 | refs/heads/master | 2023-09-03T15:04:33.983389 | 2023-09-03T11:17:46 | 2023-09-03T11:17:46 | 5,103,141 | 1,884 | 547 | MIT | 2023-09-06T16:53:51 | 2012-07-18T23:21:42 | C++ | UTF-8 | C++ | false | false | 599 | h | /*
* Copyright (c) 2019 hikyuu.org
*
* Created on: 2018年2月8日
* Author: fasiondog
*/
#pragma once
#ifndef TRADE_SYS_ALLOCATEFUNDS_CRT_AF_FIXEDWEIGHT_H_
#define TRADE_SYS_ALLOCATEFUNDS_CRT_AF_FIXEDWEIGHT_H_
#include "../AllocateFundsBase.h"
namespace hku {
/**
* @brief 固定比例资产分配,每个选中的资产都只占总资产固定的比例
* @para... | [
"fasiondog@163.com"
] | fasiondog@163.com |
b575597af162fbec67a48cdd595412fa74e0ac2b | fca4c9c8597f9e90f7f634edc56d471a5ff25471 | /src/include/sneeze/multipart_reader.hpp | 3cb678c0daa2c08cf8638bf92469b2d9de99f245 | [] | no_license | fredia/back_end_share | c65c718899ad69d849ac48f9c1c3858d01abb385 | 00516656054263ffff79ee6dc04600300900e285 | refs/heads/master | 2020-05-07T22:30:48.501237 | 2019-05-10T14:55:53 | 2019-05-10T14:55:53 | 180,947,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,734 | hpp | //
// Created by fredia on 19-3-29.
//
#ifndef SNEEZE_MULTIPART_READER_HPP
#define SNEEZE_MULTIPART_READER_HPP
#include <map>
#include <utility>
#include <string_view>
#include <functional>
#include "multipart_parser.hpp"
namespace sneeze {
using multipart_headers = std::multimap<std::string_view, std::string_vi... | [
"fredialee@163.com"
] | fredialee@163.com |
e7fb9c82c5b4910eb6e86639f70eced5177e73b3 | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/Target/X86/X86ExpandPseudo.cpp | 337b2b93b68459f2a1c2fa193dd56c45b7b8ed6c | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 27,929 | cpp | //===------- X86ExpandPseudo.cpp - Expand pseudo instructions -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
341ab9b2a3339c67d54a71c3051778a8fc0408cb | b011489e22155f054a6a149325d1ce6048fb09ba | /3rdparty/mml/mml/src/mml/window/video_mode_impl.hpp | 39a3c37df603cb6b1a416e86556318a98dfc173f | [
"MIT"
] | permissive | volcoma/ospp | 0f626b8d869204d1c2c5485c69b541149baae5c4 | f5264992ca3254ad5946a226a3fa2cc66bb939ba | refs/heads/master | 2023-06-20T21:55:57.577576 | 2023-06-09T16:40:42 | 2023-06-09T16:40:42 | 165,601,423 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | hpp | #ifndef MML_VIDEOMODEIMPL_HPP
#define MML_VIDEOMODEIMPL_HPP
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <mml/window/video_mode.hpp>
namespace mml
{
namespace priv
{
//////////////////////////////////////////////////////... | [
"nikolai.p.ivanov@gmail.com"
] | nikolai.p.ivanov@gmail.com |
b5ee6a1bb9cbc16599e67522f88e762d07fa6f5d | 9004aa41dd5c3648e2aff125c71c0dc71ccfe3c8 | /generation/list/examples/ex8.cpp | 18496ef5fafe2cbf0dd8b632c66b12c1be4f5ba8 | [] | no_license | mcpanic/evomap | 82f7e11d891228924bf2601ac9cde24e599cf1b6 | 4449d1984105efed99063257783e65641d825c4d | refs/heads/master | 2016-09-05T09:54:47.195804 | 2009-03-25T05:43:38 | 2009-03-25T05:43:38 | 32,127,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,589 | cpp | /* ----------------------------------------------------------------------------
ex8.C
mbwall 14jan95
Copyright 1995-1996 Massachusetts Institute of Technology
DESCRIPTION:
Example program for the list genome. This example contains
the code to run a genetic algorithm with a list genome.
This program illus... | [
"jradoo@49258776-dd40-11dd-8561-ef618b9164eb"
] | jradoo@49258776-dd40-11dd-8561-ef618b9164eb |
11451fdf5a838f3f395cbebbb41204ab90317a6f | c97bf74a046f83724464fecb156dc5bfb3c3ad8d | /Project_Datacom/PC2_old/PC2.ino | 13b24a451701218efbf28219596dcc3867677328 | [] | no_license | fairickoo/DatacomProject | 1c6f88fa9b6ba7bfff66f29e36469775ccb5c2e5 | 6fab95c930d00c2e86e6d4f3c2404a75eddad755 | refs/heads/master | 2021-11-21T03:16:33.159216 | 2021-10-14T14:52:34 | 2021-10-14T14:52:34 | 224,175,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,364 | ino | #ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif
#include <Wire.h>
#include <Adafruit_MCP4725.h>
#include <Adafruit_ADS1015.h>
Adafruit_MCP4725 dac;
#include <Servo.h>
Servo myservo;
//int incomingByte;
/*********************... | [
"61010656@kmitl.ac.th"
] | 61010656@kmitl.ac.th |
e7d647ad1fefb7cf54f3f61332c1dd01a73d0121 | 2cd06e44dd79b45708ddf010c31289458d850b94 | /src/wallet/coinselection.h | 2e5bae84e7029f4002d173a126f0550e7da92d53 | [
"MIT"
] | permissive | adymoloca/flocoin | bc66233e5b3b1af294ca6719b4a26f8829d682e4 | d9244577577dede975c852f6fcfe1afba4d71a57 | refs/heads/master | 2023-08-21T23:51:28.266695 | 2021-10-06T01:40:10 | 2021-10-06T01:40:10 | 408,609,250 | 0 | 0 | MIT | 2021-09-30T10:11:53 | 2021-09-20T21:45:28 | C++ | UTF-8 | C++ | false | false | 8,410 | h | // Copyright (c) 2017-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef FLOCOIN_WALLET_COINSELECTION_H
#define FLOCOIN_WALLET_COINSELECTION_H
#include <amount.h>
#include <policy/feerate.h... | [
"adymoloca91@gmail.com"
] | adymoloca91@gmail.com |
67c9c773abf56d649a2a5b23ddde165d7b79caf2 | 13726de7883e87a67757740bb9417e8fbdf1c1a3 | /modules/dnn/inference/dnn_semantic_segmentation.h | ef7fe49fba5658aa9f2bc80fb61b29ea148418c3 | [
"Apache-2.0"
] | permissive | intel/libxcam | 1a816ec797871f1a3254b86995763753b4321aa4 | 97c90b05775d0b7cb78a35e966c51ec92fdd7525 | refs/heads/master | 2023-09-04T10:25:29.965048 | 2023-08-07T06:44:29 | 2023-08-07T09:04:55 | 29,286,224 | 493 | 186 | NOASSERTION | 2023-08-07T09:04:56 | 2015-01-15T07:37:41 | C++ | UTF-8 | C++ | false | false | 1,803 | h | /*
* dnn_semantic_segmentation.h - semantic segmentation
*
* Copyright (c) 2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... | [
"wei.zong@intel.com"
] | wei.zong@intel.com |
ab4a755fde540b062ba98cc4b069ba5450bbc2c8 | d639bd839fb42614eaf0b54e1be50536558cc608 | /ANN_NeuralNetwork.hpp | 8fa3c2333da9a5a515ba7cb90d2e2bdc5028ce77 | [] | no_license | thassyopinto/Standard-ANN | 5c4dc8643b7d8278fbaea99f3da8995a56a6d9d6 | 4b09adee9ca24d6a03a2e06fe1464ac8611bc64a | refs/heads/master | 2023-08-02T07:18:12.089768 | 2021-09-28T14:34:33 | 2021-09-28T14:34:33 | 409,359,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,794 | hpp | /*
* ANN_NeuralNetwork.hpp
*
* Revision: October 2018
* Author: Thassyo Pinto - thassyo@ieee.org
*/
#ifndef ANN_NEURALNETWORK_HPP_
#define ANN_NEURALNETWORK_HPP_
// Standard libraries
#include <vector>
#include <fstream>
// Local libraries
#include "Misc_Random.hpp"
#include "ANN_Neuron.hpp"
#include "ANN_Conne... | [
"thassyo.pinto@gmail.com"
] | thassyo.pinto@gmail.com |
43b21ac3d3a9ea227c17aa73394a06bc97bd4480 | 0d51e44e1e19cf125c50a040865388819ab6c479 | /poj_1077/poj_1077_cantorAstarHeap.cc | b309ec376a4d869e240958c5f13858ae99852701 | [] | no_license | kresle/poj | 32892b3198342cdd7044bc70b8553495fc47d1e4 | 14908f754a7bca30f2f25e196e78172c63f8ec22 | refs/heads/master | 2020-05-15T11:13:14.756797 | 2019-04-19T06:51:28 | 2019-04-19T06:51:28 | 182,216,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,195 | cc | #include <iostream>
#include <bitset>
#include <set>
#include <queue>
#include <vector>
#include <numeric>
#include <algorithm>
using namespace std;
const int permCnt = 362880; //9!
vector<int> fact(10, 1); // fact[ii] = ii!
struct octNode
{
int parent = -1;
int xp = -1;
char move = 0;
int fVal;
... | [
"kmusoy@gmail.com"
] | kmusoy@gmail.com |
7d97bc0eb2e0609885944afac0ab83ad4ac5755d | e9a8d66b5a134a52dc6cbb1be0b699352cd155a3 | /1 semester/hw2/2.4.cpp | ba5c9738039be574176a315e63194c1f0c2ed9a9 | [
"Apache-2.0"
] | permissive | ZaicevDima/HW-144.math.spbu | aa623f070b936ab5effc4256cc45c487a8d8d941 | 04b90500d31848629c76f531c2fdd722cc253fd7 | refs/heads/master | 2018-09-27T03:28:00.649018 | 2018-06-13T09:28:57 | 2018-06-13T09:28:57 | 110,724,142 | 0 | 0 | Apache-2.0 | 2018-06-13T14:53:07 | 2017-11-14T17:44:01 | Java | UTF-8 | C++ | false | false | 1,389 | cpp | #include <iostream>
using namespace std;
bool isMutual(int a, int b)
{
for (int i = 2; i <= min(a, b); i++)
if ((a % i == 0) && (b % i == 0))
return false;
return true;
}
void qsort(int n, int* a, int* b)
{
int m = n / 2;
int i = 0;
int j = n;
while (i < j... | [
"zaicevdmitiy@gmail.com"
] | zaicevdmitiy@gmail.com |
dcbc8f88cfb1bf3dde04434172a19c990650fb48 | 2bd0d1d23dfe02b8cdd08c3392b7cdc4d6125c61 | /range_queries/sparse_table.cpp | 0c34277cf21223dd2f6a3be015b4265290e80420 | [] | no_license | vishal-mourya/CP-Assist | f41437bb0f0bf3faa72260a8b7ef3ebfaab951b6 | 3be91e4a297ecf16fd223a2a50ebb5bbc753760f | refs/heads/main | 2023-08-16T03:10:40.528049 | 2021-10-23T06:13:09 | 2021-10-23T06:13:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,890 | cpp | //Classic
//g++ -std=c++17 -O2 -Wall a.cpp -o test
// #pragma GCC optimize("Ofast")
// #pragma GCC target("avx,avx2,fma")
// #pragma GCC optimization ("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define vll vector<ll>
#define vi vector<int>
#define vb vector<... | [
"smit3355mistry@gmail.com"
] | smit3355mistry@gmail.com |
284d0b35a0e6750f2b74c20847aaad17d6cc714c | f30e15e2b7da0f71498e4b8cca1cac80f7a77df6 | /11953/main.cpp | f73a8e0cc3aff5e78a0f886ecf1a14cf744790ad | [] | no_license | TheRiseOfDavid/Uva | c5b0c4929052bf43d9342a82e5ac0f65cd0ecfe8 | 72b6003acc2a4b0a698e3f5947799cde4100f90b | refs/heads/master | 2021-09-29T11:43:16.248412 | 2021-09-10T07:04:22 | 2021-09-10T07:04:22 | 242,308,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include <iostream>
#include <bits/stdc++.h>
#define MAXN 120
#define LOCAL
using namespace std;
int T, N, kase = 0;
char graph[MAXN][MAXN];
string s;
int dfs(int x, int y){
if(x < 0 || y < 0 || x >= N || y >= N) return 0;
if(graph[x][y] == '.') return 0;
int cnt = 0;
if(graph[x][y] == 'x') cnt += 1;
... | [
"david53133@gmail.com"
] | david53133@gmail.com |
e5755baf681bff2ff5032c064e88b2615c25f787 | 295de345a0226ac1b3a294561064e6b3839ec0cd | /src/storage/blobfs/allocator/allocator.cc | 3f1fe17f3b70fa179b7134b5b319b4dce6b78037 | [
"BSD-2-Clause"
] | permissive | shangzuoyan/fuchsia | bac4f07748ebf7c1c67007771455e6b34cdc9e6b | 2e5c3d22baa3a8f1e4b2bc48f664c75b51fe04a8 | refs/heads/master | 2023-02-19T04:26:39.678678 | 2021-01-22T09:21:00 | 2021-01-22T09:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,398 | cc | // Copyright 2018 The Fuchsia 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 "src/storage/blobfs/allocator/allocator.h"
#include <inttypes.h>
#include <lib/fzl/resizeable-vmo-mapper.h>
#include <lib/syslog/cpp/macros.h>
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f89d65d2ee508857033652c13c212302204a1b60 | 7771130ea6eb1f076a7d18e672d3d82d5996e957 | /src/qt/gdrcoingui.cpp | 65c47041f209919afd5985832c3f5625a9383da1 | [
"MIT"
] | permissive | gdrcoin/gdrcoin | 49707508dfc1b14ace3817854416355a925539df | f9f2137b3d9069bfc8e3c69c90a684a061dfb6aa | refs/heads/master | 2020-03-10T18:01:49.563615 | 2018-04-14T12:36:52 | 2018-04-14T12:36:52 | 129,511,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,304 | cpp | // Copyright (c) 2011-2016 The Gdrcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/gdrcoin-config.h"
#endif
#include "gdrcoingui.h"
#include "gdrcoinunits.h"
#inc... | [
"37983255+spineinhalb@users.noreply.github.com"
] | 37983255+spineinhalb@users.noreply.github.com |
59afb2375c9550a131825cf1a73fff86eb73b762 | 7e2c7bdfdab942cf24740f276dc7d50f3f21dd49 | /Project1_Linux/Client/Client.cpp | ad8f2436fad363e965783167bac8e76860881ac6 | [] | no_license | yaguuwang/Text-Search-Component | 2fe456ed2e1f3490cebbadbb2e9835d03a6f3460 | 629c124a2fc57c5dff19c9b2df40f4b113f24be8 | refs/heads/master | 2020-04-05T06:47:33.612428 | 2018-11-08T04:51:01 | 2018-11-08T04:51:01 | 156,651,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,874 | cpp | ///////////////////////////////////////////////////////////////
// Client.cpp - The Client of the TextSearchTool //
// ver 1.0 //
// Haoyu Wang, CSE775 - Distributed Object, Spring 2018 //
///////////////////////////////////////////////////////////////
... | [
"yaguuwang@gmail.com"
] | yaguuwang@gmail.com |
4633978f5ff2380ef37865c8bcd6143e35c61d7f | ef3fa8e089c53422db4a5bbff9721268976bae53 | /cases/Ypipe/constant/polyMesh/faceZones | f1ee7244bdbe9bc5efad63b891a67c392d3270a3 | [] | no_license | will214/CFDcourse | 6b22f00a86f5ac83378e059074eb907e288693f2 | 37bd665013d77095f85ea4e6bc464caa11f91db1 | refs/heads/master | 2021-05-09T18:51:12.192394 | 2016-11-20T10:02:50 | 2016-11-20T10:02:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
... | [
"victormavi_1995@hotmail.com"
] | victormavi_1995@hotmail.com | |
5a7fef327c2c4f967b5fa6bd514a23aaa2e555f8 | 76f0efb245ff0013e0428ee7636e72dc288832ab | /out/Default/gen/blink/bindings/modules/v8/V8AudioListener.cpp | 3276ed006abe54f972d429e2cee4eb70f67d01f1 | [] | no_license | dckristiono/chromium | e8845d2a8754f39e0ca1d3d3d44d01231957367c | 8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9 | refs/heads/master | 2020-04-22T02:34:41.775069 | 2016-08-24T14:05:09 | 2016-08-24T14:05:09 | 66,465,243 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 22,277 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "V8AudioListener.h"
#include "bindings/core/v8/ExceptionState.h"
#... | [
"dckristiono@gmail.com"
] | dckristiono@gmail.com |
56b6df6a9335faba90cd196637b6651b5aef4238 | 0efb71923c02367a1194a9b47779e8def49a7b9f | /tOblig-1/0.42/phi | 27f4f9b44a211156af03b7c33ee25e135dd0657c | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97,883 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"g.svenn@online.no"
] | g.svenn@online.no | |
25f465ba5d54c6e7d539be83a939e316d7627940 | 30f1ea99942ebeca2d91eb83b338f6bb0f8cda8a | /fsm/boost/mpl/aux_/preprocessor/token_equal.hpp | ee013e4dd49ca2ad00c2ad5a054f5eb65e6c33ba | [] | no_license | thinkincforeveryone/putty-nd6x | 8d085839b72ad07092eb1b194e0a9b397a8c8ffd | e3efbcdf22bd5323004dccccafd81ce11a359a2f | refs/heads/master | 2020-09-26T18:04:11.415969 | 2019-12-06T10:50:35 | 2019-12-06T10:50:35 | 226,306,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,005 | hpp |
#ifndef BOOST_MPL_AUX_PREPROCESSOR_TOKEN_EQUAL_HPP_INCLUDED
#define BOOST_MPL_AUX_PREPROCESSOR_TOKEN_EQUAL_HPP_INCLUDED
// Copyright Paul Mensonides 2003
// Copyright Aleksey Gurtovoy 2003-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// htt... | [
"thinkinc@163.com"
] | thinkinc@163.com |
dba0dacb6f9e378ffd7b8ef06df3329e919c51ca | b5ccc82cee5e84cae1a68b12c5f6247ec1e99046 | /Ch7/lec7-2.cpp | 5c60523dd7f8d7ffff6f709e85b3359c70298f2e | [] | no_license | jack20951948/NCTU--OOP-C- | e2d9e57f4cb0fb85e9f6b4422ccac53c14abc55c | bcbcab97d9c2d256aa116c9675a1ae24b394a23c | refs/heads/main | 2023-06-17T01:30:53.901934 | 2021-07-18T07:40:17 | 2021-07-18T07:40:17 | 387,111,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | #include <iostream>
#include <cstdlib>
#include <cstring>
using namespace std;
class CPoint //base class
{
double x, y;
public:
CPoint(double a=0, double b=0):
x(a), y(b) {}
void SetPoint(double a=0, double b=0) {
x=a; y=b;
}
void MovePoint(double dx, double dy) {
x += dx; y += dy;
}
do... | [
"j20951948@gmail.com"
] | j20951948@gmail.com |
ff788a34949dce79f05d0d8be4680e8a3acad8ba | 8ad743ff0948c7792bebc685c4236b283510b4fa | /Testbed/src/cache/evictionStrategies/segment/RANDCacheSegment.cc | 963a79714201bbfadca18369cf985a247ec353f7 | [
"Apache-2.0"
] | permissive | christiannkoch/Proactive-Caching-ACDC | e06f8b88cb19a03b4658aab5438d26bca5add88e | 83d3d685110c754857a27851e047591698397ab9 | refs/heads/master | 2021-04-12T09:41:07.363744 | 2020-04-19T15:56:23 | 2020-04-19T15:56:23 | 126,532,119 | 10 | 2 | Apache-2.0 | 2020-04-19T15:56:25 | 2018-03-23T19:46:17 | Python | UTF-8 | C++ | false | false | 7,729 | cc | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... | [
"johannes.pfannmueller@googlemail.com"
] | johannes.pfannmueller@googlemail.com |
eea494f5cf987cb5369ec06fd721db432b14ede1 | 753d47547e78da443cc964241e9b8c72556c8217 | /SYCL/Complex/sycl_complex_stream_test.cpp | 9aa10c6db60c5377ccddd0f4706b3806de09633e | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | intel/llvm-test-suite | d52de8f95b3f2500ed70cf3f3461cc346bea01a8 | 2e687fcd57149112d7b29e9e85bf74ce85f1119c | refs/heads/intel | 2023-05-28T08:59:07.287800 | 2023-03-27T23:53:19 | 2023-03-27T23:53:19 | 272,825,916 | 22 | 156 | NOASSERTION | 2023-09-08T11:41:32 | 2020-06-16T22:36:38 | Logos | UTF-8 | C++ | false | false | 2,870 | cpp | // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-device-code-split=per_kernel %s -o %t.out
// RUN: %CPU_RUN_PLACEHOLDER %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// RUN: %ACC_RUN_PLACEHOLDER %t.out
#include "sycl_complex_helper.hpp"
template <typename T> struct test_sycl_stream_operator {
bool operator()... | [
"noreply@github.com"
] | noreply@github.com |
ed70fd017617386267254c567b27ee3ad5ac9673 | 7fcff8928aa898ec99747cf92212d8d0476e11cb | /Clone Graph.cpp | b361be92b84f254b934fd545164c0eee184ad4ca | [] | no_license | PoeLoren/Leetcode | c3a23ed8bd7e1d212f0f1eb0e4bdb6c6bd421f60 | 2850215ea337a5dd8b5c552841de860b9e058de1 | refs/heads/master | 2021-01-10T18:06:55.429402 | 2016-05-16T12:23:55 | 2016-05-16T12:23:55 | 25,291,596 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | /**
* Definition for undirected graph.
* struct UndirectedGraphNode {
* int label;
* vector<UndirectedGraphNode *> neighbors;
* UndirectedGraphNode(int x) : label(x) {};
* };
*/
class Solution {
public:
UndirectedGraphNode *cloneGraph(UndirectedGraphNode *node) {
if(node == NULL)
... | [
"yxluozengbo@gmail.com"
] | yxluozengbo@gmail.com |
19ffb11953bfb75298fe9aba950a8af4ef19eefc | e2d9c10aaf5ae8454521b38e032c099850eec9f1 | /src/engine/scripting/angel-script/addons/scriptarray.cpp | fd44041a05e47eea961ed017cc882fcbbb29e8b2 | [
"BSD-3-Clause"
] | permissive | blockspacer/lambda-lilac | fefa57e85b7be489b177cf6d2e481539c5f0a13b | f3072cdeea7180346c7215c0ab704eac22300bfa | refs/heads/master | 2023-04-02T21:06:59.998433 | 2023-03-29T08:48:40 | 2023-03-29T08:48:40 | 537,906,130 | 0 | 0 | null | 2022-09-17T19:07:26 | 2022-09-17T19:07:26 | null | UTF-8 | C++ | false | false | 67,830 | cpp | #include <new>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h> // sprintf
#include "scripting/angel-script/addons/scriptarray.h"
#include <containers/containers.h>
using namespace lambda;
#ifdef AS_USE_STLNAMES
#undef AS_USE_STLNAMES
#endif
#define AS_USE_STLNAMES 1
BEGIN_AS_NAMESPACE
/... | [
"cibuildbot@cibuildbot.com"
] | cibuildbot@cibuildbot.com |
4039ad138bc657acc537da7a6b454ec11f6278f9 | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zBaseLib/PSS_PLFNRadioBtn.h | d2e98728b5f511f14e16bad55dcbf1b29a8f43b3 | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,469 | h | /****************************************************************************
* ==> PSS_PLFNRadioBtn ----------------------------------------------------*
****************************************************************************
* Description : Provides a financial plan radio button object *
* Devel... | [
"jean_milost@hotmail.com"
] | jean_milost@hotmail.com |
a005b32b8341db5d29ef36b337698fd851621d48 | 8089be715a10455b50edb5a282cde86e15713f28 | /src/PlayerController.cpp | fdded8e6113c2eae9fc0f9727cf7af92f794ad23 | [] | no_license | WoodenBrickProductions/RTGBcpp | 7cfa3c7ddf71fb366c9cfbf1a9f81c4d66c00eb2 | 2d4e668f179d3177c60fbb9fb2105958355e863f | refs/heads/main | 2023-08-26T00:43:53.819685 | 2021-10-28T12:48:42 | 2021-10-28T12:48:42 | 396,448,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,248 | cpp | #include "PlayerController.hpp"
#include "CustomLogger.hpp"
#include "State.hpp"
#include "Data/DamageSource.hpp"
class Player_IdleState : public State
{
public:
PlayerController* player;
Direction input;
Blackboard* blackboard;
Player_IdleState(PlayerController* player)
{
this->player = p... | [
"tautvisceponis@gmail.com"
] | tautvisceponis@gmail.com |
6c477e5220d740c6add6e20bb643bd40c1504c41 | f5ab00cd3d9bdcb0380288a49921360ef5e437af | /05_normalize/stdafx.cpp | 3f31d6edfeeeb887aca1ccb946e185d75eb962d6 | [] | no_license | c437yuyang/Demos_OpenCV | 1511989a36ed23a41f9a5863c5acb1ceb5a131c9 | 17a93d26d7e7f90a71c66794384cfb9067cc6266 | refs/heads/master | 2021-01-01T16:29:32.190355 | 2019-01-28T09:06:22 | 2019-01-28T09:06:22 | 97,844,013 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 263 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// 05_normalize.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"954222619@qq.com"
] | 954222619@qq.com |
ea2596c58a05184c46c044efe7f8635b1f45724e | 2b210288fb83c773c7a2afa4d874d35f6a000699 | /chromium-webcl/src/chrome/browser/ui/webui/options/managed_user_settings_handler.h | eede222d89a600f55fbe3500ce6ab5c26dba5804 | [
"BSD-3-Clause"
] | permissive | mychangle123/Chromium-WebCL | 3462ff60a6ef3144729763167be6308921e4195d | 2b25f42a0a239127ed39a159c377be58b3102b17 | HEAD | 2016-09-16T10:47:58.247722 | 2013-10-31T05:48:50 | 2013-10-31T05:48:50 | 14,553,669 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | h | // 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.
#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
#in... | [
"ZhangPeiXuan.CN@Gmail.COM"
] | ZhangPeiXuan.CN@Gmail.COM |
fbea912a0c2bddfc066ed73a57b34f234145954d | a27e939e7d5db9f4bc6ca9afdc1c2b9f8a3e5c2e | /infra/kqueuereactor.h | 4f9689c37566493ba03804657011ec1f22f330fd | [] | no_license | ecilaz/ecila | 116004a5541913d06e86f4c3c38b66a6ffd58115 | 230e1efcec476c9b09e78094fcea1f50b23b4f12 | refs/heads/master | 2021-01-10T20:26:17.114891 | 2019-11-24T02:22:01 | 2019-11-24T02:22:01 | 223,353,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | #pragma once
#include "idemultiplexer.h"
#ifdef USE_DEMULTIPLEXER_KQUEUE
NS_ECILA_START
class DECL_SPEC_DLL KqueueReactor
: public IDemultiplexer
{
public:
KqueueReactor();
virtual ~KqueueReactor();
virtual bool_t HandleEvents (int32_t timeout_msec);
virtual bool_t RegisterHandler (IEventHandler *h,... | [
"jsji79@gmail.com"
] | jsji79@gmail.com |
7787a94820cf10780c2364c580c0950b0424f512 | 55e23e76b58aa34a27b13cb74c23eddf9f3426e8 | /docker/fwidbmgr/include/ctlgen.hpp | 2cdd8155683dc3d39638417f15f0938c0dc9393a | [] | no_license | ARPASMR/AIB | cd81886c56b23bb1a40c1898b996e457b62285d6 | 7b6ab275d030f395239005678f905264c50790dd | refs/heads/master | 2021-01-19T17:21:40.054261 | 2020-12-02T16:01:15 | 2020-12-02T16:01:15 | 101,053,372 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,759 | hpp | /*
* ctlgen.h
*
* Created on: 26/mag/2012
* Author: buck
*/
#ifndef CTLGEN_H_
#define CTLGEN_H_
/**
* \file ctlgen.hpp CTL file generator
* \brief Grads control file generator using spirit.karma from boost libraries
*
* This generator produces the .ctl file content about the coupled .dat file like
* f... | [
"pag@softechweb.it"
] | pag@softechweb.it |
79e235967db942f64e9dc1ee3edf78055aa0c838 | e818c0622be54e8f503fc50b2d8749671b04d675 | /ironbeepp/tests/test_memory_pool.cpp | c4f482d58e54fb8c7674522df1dfc63a46a8fc89 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | nickleroy/ironbee | d9ff6f5eaa0b52d522699cd17cd5ebe641f6ab84 | b9f9a46c9b587f30ea5040c2728ed47ee6b41430 | refs/heads/master | 2020-12-24T16:35:26.625340 | 2012-05-02T19:00:37 | 2012-05-02T19:00:37 | 2,751,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,694 | cpp | /*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... | [
"calfeld@qualys.com"
] | calfeld@qualys.com |
c96396d6b93cad61c4a54273f8f667081c0ebe40 | 4c88477f18547df725150a5c29371f99af2a2acb | /CAMP/CF/p.cpp | a31e3a08836f62be860d4d42cc5e154e17f945ba | [] | no_license | SEETHAMRAJU/Competitive_Programming | 912b1e81d3cc07b5eeaebbf0086520700867df4e | b456a35766697363c9b77552a50db2ae1cc42ffd | refs/heads/master | 2020-03-26T09:15:23.047626 | 2019-10-06T05:06:42 | 2019-10-06T05:06:42 | 144,742,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
set<int>q;
for(int i=1;i<=9;i++)
q.insert(i);
set<int>::iterator itr = q.find(4);
set<int>::iterator itr1;
for(;itr!=q.end();)
{cout << *itr << endl;itr1 = q.find(*(++itr));q.erase(itr);itr = itr1;}//itr = q.find()}
return 0;
}
| [
"spurvaj@gmail.com"
] | spurvaj@gmail.com |
f9e7b7fc4e813b7a2d7c6e2eeb3c639e24f03136 | fa86514684c0f66b78f72130eaa5b97d535c32c5 | /srcs/vector_test.cpp | b28375aa2442c83316323122dd43b0614b089ba3 | [] | no_license | auhoris/ft_containers | 8deabbc43a0f10a3ce7e7ab40ccdf98e82fa7a1d | c44dec1be07d689bd7d2414146140d18692e4cbd | refs/heads/main | 2023-08-03T03:17:38.921351 | 2021-09-18T15:31:43 | 2021-09-18T15:31:43 | 402,439,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86,644 | cpp | #include "vector_test.hpp"
#include <ctime>
#include <iostream>
#include <vector>
#include "map_test.hpp"
#include "utils.hpp"
void push_back() {
int start;
int end;
int std_ticks;
int ft_ticks;
std::vector<int> std_vec;
ft::vector<int> ft_vec;
test_title("PUSH BACK");
start = clock... | [
"vlados_paperos@MacBook-Pro-Vladislav.local"
] | vlados_paperos@MacBook-Pro-Vladislav.local |
b980b92c2b795c4b19c67f3cb0618d32f415448c | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/001/Classes/Scenes/TwistRubDoughScene.cpp | 49af584b86eb371bbe266793af6d481cf7daeb30 | [
"MIT"
] | permissive | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,577 | cpp |
#include "TwistRubDoughScene.h"
#include "KnifeNode.h"
#include "SceneManager.h"
TwistRubDoughScene::TwistRubDoughScene()
{
m_pBowl = nullptr;
m_nRollCount = 0;
m_nRollStep = 0;
m_bRollToolReady = false;
m_pDoughGrid = nullptr;
m_nCutCount = 0;
m_pCurDough = nullptr;
m_nRubCount =... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
e5ef99541513e9d4a4c775ed9e77ef49f947b1d2 | 4a1b388fc7254e7f8fa2b72df9d61999bf7df341 | /ThirdParty/ros/include/example_interfaces/msg/detail/int32_multi_array__rosidl_typesupport_fastrtps_cpp.hpp | 78b9737cfe8b9749dd54fed435e01a878c9754bf | [
"Apache-2.0"
] | permissive | rapyuta-robotics/rclUE | a2055cf772d7ca4d7c36e991ee9c8920e0475fd2 | 7613773cd4c1226957603d705d68a2d2b4a69166 | refs/heads/devel | 2023-08-19T04:06:31.306109 | 2023-07-24T15:23:29 | 2023-07-24T15:23:29 | 334,819,367 | 75 | 17 | Apache-2.0 | 2023-09-06T02:34:56 | 2021-02-01T03:29:17 | C++ | UTF-8 | C++ | false | false | 2,274 | hpp | // generated from rosidl_typesupport_fastrtps_cpp/resource/idl__rosidl_typesupport_fastrtps_cpp.hpp.em
// with input from example_interfaces:msg/Int32MultiArray.idl
// generated code does not contain a copyright notice
#ifndef EXAMPLE_INTERFACES__MSG__DETAIL__INT32_MULTI_ARRAY__ROSIDL_TYPESUPPORT_FASTRTPS_CPP_HPP_
#de... | [
"yuokamoto1988@gmail.com"
] | yuokamoto1988@gmail.com |
2f7da5d797622e1af576bd670d6ba8468c9dd48b | c23a278bbb99015ebb996ae32fd0abc54b49628f | /1_C++Programming FeedForward/4_Fully Connected Nueral Network/NeuralNetwork.cpp | 9d4fc915b987e7ea871ccca6e97539ba2cecd677 | [] | no_license | tada20001/DeepLearning_C_style | 23ebfb62c82b29047f99e556717391c52c5ae352 | bf5dcbdc2c05bdde7c9b4fac5343c0c853ede3cb | refs/heads/master | 2020-06-18T22:46:09.330786 | 2019-07-14T09:18:19 | 2019-07-14T09:18:19 | 196,480,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,088 | cpp | #include "NeuralNetwork.h"
NeuralNetwork::NeuralNetwork()
{}
void NeuralNetwork::initialize(const int& _num_input, const int& _num_output, const int& _num_hidden_layers)
{
num_layer_acts_.initialize(_num_hidden_layers + 2);
num_layer_acts_[0] = _num_input + 1; // layer 0 is input layer, +1 is for bias
for (int ... | [
"tada20001@gmail.com"
] | tada20001@gmail.com |
22753534adcec979dfd3511f182ffa5b7f4ebfa7 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/WebKit/Source/core/paint/TablePainter.cpp | 0beb002faec1c26056f8a66581faddee09d52456 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 3,733 | cpp | // 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 "core/paint/TablePainter.h"
#include "core/layout/LayoutTable.h"
#include "core/layout/LayoutTableSection.h"
#include "core/style/CollapsedBorde... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
370754c3b5da62ce0360c6cfef68bd80ac6f60bc | 8abfd25615e03337f6579cdce628da5ce3837185 | /src/qt/addressbookpage.cpp | 7db3408d7e229ef053d152ed538ad97928575aa7 | [
"MIT"
] | permissive | landuncoin/LDB | 21bd51cf80f3afeb2ce9c2df05db96ef8c067d65 | cc80cb331c8768cbc4b161083218573a6cb15d3a | refs/heads/master | 2020-06-11T07:13:14.207178 | 2019-06-26T11:22:58 | 2019-06-26T11:22:58 | 193,886,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,508 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018-2019 The ldbcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/lice... | [
"173167404@qq.com"
] | 173167404@qq.com |
c487922d172daaaac70d7fdfb98b0cea597f3a5b | 0901228c957273d9f5e6bad175b5d4bea295eaaf | /src/bebop_keyboard_controller/test/test_bebop_controller.cpp | 739aa66b12469545d7038d249b9119828f09f13a | [] | no_license | renn0xtek9/bebop_drone | 4ff7857c212eaac9f0da7b9c36f60db728ec7f61 | c4e7474554b7d501ae24652aed9c529df3f16497 | refs/heads/master | 2023-06-28T02:53:19.533930 | 2021-07-19T21:32:45 | 2021-07-19T21:32:45 | 385,197,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | cpp | #include <bebop_controller.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "test_utils.h"
namespace bebop_keyboard_controller {
using namespace ::testing;
TEST(TakeOffAndLanding, NoLandingAtStart) {
CallbackMock callback_mock{};
BebopController unit(callback_mock());
unit.land();
EXPECT_EQ(ca... | [
"renn0xtek9@laposte.net"
] | renn0xtek9@laposte.net |
f54d35abe1e874ee8ea4fa368ecc5270e3aeb221 | 59b69f1614554b6d12932edcb9ee67638597ab66 | /include/htool/wrappers/wrapper_blas.hpp | af9e90332f598c4b8b25d5ca6c644c218cceca12 | [
"MIT"
] | permissive | mancellin/htool | 56fac8059c779abb1162d420525530b290383186 | b25c7aece949beb09bad0169209cbc1356a17510 | refs/heads/master | 2021-08-16T21:29:49.172181 | 2020-06-05T07:42:08 | 2020-06-05T07:42:08 | 219,790,747 | 0 | 0 | MIT | 2019-11-05T16:57:00 | 2019-11-05T16:23:53 | null | UTF-8 | C++ | false | false | 8,275 | hpp | #ifndef HTOOL_BLAS_HPP
#define HTOOL_BLAS_HPP
#include <complex>
#if defined(__powerpc__) || defined(INTEL_MKL_VERSION)
# define HTOOL_BLAS_F77(func) func
#else
# define HTOOL_BLAS_F77(func) func ## _
#endif
#define HTOOL_GENERATE_EXTERN_BLAS(C,T) ... | [
"pierre.jimthefrench@gmail.com"
] | pierre.jimthefrench@gmail.com |
ef3f310fe197a80b7451e6ad1e1775cc808948a3 | 3c0118011869b2cf44ff6260ae89d62da8ecf64e | /Passing Variables Program/Passing Variables Program/stdafx.cpp | a1b6ca286f3286450e411fb077bbb7a1a14d8b3d | [] | no_license | mirshahzad/C-basic | 618030572a77fc129a23cf0b05d310db009008c5 | 9817bf128797d0c80fbe2f125cd8824d11216977 | refs/heads/master | 2021-01-01T01:31:10.793485 | 2020-03-29T21:36:17 | 2020-03-29T21:36:17 | 239,116,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Passing Variables Program.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"noreply@github.com"
] | noreply@github.com |
29368bd66d4c9d7a8f0fada138c3c02429eaaa97 | 55e1a5f476893b5c86885bb362cffb393dbbfb5c | /payoffMatrix.cpp | d9ab8df4e26aa8ddeff146f7ebed2c705142e802 | [] | no_license | lhoang29/GameTheorySolver | 42fb624008d8d42fc4ec87a57375bdf3e4c4fc55 | 2c0116feacbc0b5086c652f46f62cf2d0c2154b4 | refs/heads/master | 2020-12-24T17:17:58.761998 | 2012-11-14T03:05:40 | 2012-11-14T03:05:40 | 6,681,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,753 | cpp | #include "payoffMatrix.h"
#include "LineCollection.h"
#include <iostream>
#include <string>
using namespace std;
payoffMatrix::payoffMatrix(double **m, int nr, int nc)
{
matrix = m;
numRows = nr;
numCols = nc;
ZeroSum = true;
}
payoffMatrix::payoffMatrix(payoffEntryN ***m, int nr, int nc)
{
matrixNzs ... | [
"neverthelimit@outlook.com"
] | neverthelimit@outlook.com |
2a3d51af5f2eac1029b10eb206085329263e2d72 | de7e771699065ec21a340ada1060a3cf0bec3091 | /core/src/java/org/apache/lucene/util/graph/GraphTokenStreamFiniteStrings.h | 7770d57be9448715f5b2e9fb512be4d221aad06f | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,619 | h | #pragma once
#include "exceptionhelper.h"
#include "stringhelper.h"
#include <algorithm>
#include <memory>
#include <string>
#include <unordered_map>
#include <deque>
// C++ NOTE: Forward class declarations:
#include "core/src/java/org/apache/lucene/util/BytesRef.h"
#include "core/src/java/org/apache/lucene/util/au... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
c55aa52658bfee07478d8833ab285608aceda35a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1673486_0/C++/billynyh/a.cpp | 5a23cb05f49615f964fef2134821182471e518c6 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,191 | cpp | #include <stdio.h>
#include <string.h>
#include <algorithm>
#include <math.h>
#include <vector>
#include <string>
#include <queue>
#include <iostream>
using namespace std;
bool fless(double a,double b){ return b-a>1e-6; }
bool fequal(double a,double b){ return fabs(b-a)<=1e-6; }
int main(){
int tt; scanf("%d",&tt);
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
0fab106e64dde93ccd6f45c19eb94da0a4c0c281 | 44f92cce41162d54e8064d29769cfce3b38b739a | /preorder_moriss_traversal.cpp | 4f98c26fbef9b0a4fccde492d992dfbc240b62e6 | [] | no_license | ravibajpai001/data_structure_and_algo | 669061b3443e2f3a528c4712b3a8a02c4e13762f | bc0077b28ccf07253a71315d8e898cbe453b7fce | refs/heads/master | 2021-01-10T04:59:35.663896 | 2015-09-26T11:35:32 | 2015-09-26T11:35:32 | 43,201,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | #include <iostream>
#include<cstdio>
#include <stack>
#include<malloc.h>
#define MAX_Q_SIZE 500
using namespace std;
// Binary Tree node
struct node
{
int data;
struct node *left, *right;
};
void moris_inorder(struct node *root)
{
struct node *curr=root;
while(curr!=NULL)
{
struct node*temp;
if((curr->left)... | [
"ravibajpai001@gmail.com"
] | ravibajpai001@gmail.com |
ab22c34e4e964856c67cead3f46d2caa573e93f6 | 7a9daf56789d1c8f46cb87822c867d5f5ca45785 | /XOXO_maze_game.cpp | a33946a448c6a1424f62747aede10afd98fabae2 | [] | no_license | uday31072001/Minor-Projects | a42be7e18ae6071ee2356e832001fd1f99a96cde | 7786ab48029d775b0215e6683359171a017a5dc6 | refs/heads/main | 2023-07-10T21:48:59.094353 | 2021-08-20T04:56:29 | 2021-08-20T04:56:29 | 365,694,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,181 | cpp | #include<bits/stdc++.h>
#define l 18
#define b 9
using namespace std;
int li,lj;
char matrix[b][l]={
{'+','-','+','-','-','-','-','-','-','-','-','-','-','-','-','-','-','+'},
{' ',' ','|','X',' ',' ',' ','+','-','-','-','-','-','-','-','-','-','|'},
{'+',' ','|','-','-','+',' ',' ','+',' ',' ',' ',... | [
"noreply@github.com"
] | noreply@github.com |
ef2785123d331a1ec366ea5d8f7c272110f84002 | 08ed6011ce6870aaddccd61b205fa8d7d154143b | /tass/part1/lect04/main_cimg.cpp | 949901f7b826f96bbaa2ad97787629a44cf65a1d | [] | no_license | tarstars/prog_course_2014 | d74791e46824e551d22eda51bbde2003a1f1d426 | d9a460e5c0b8c6b2ce4da01ab80434781f78ac38 | refs/heads/master | 2020-03-30T23:53:24.622365 | 2014-06-05T00:21:17 | 2014-06-05T00:21:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | #include "CImg.h"
using namespace cimg_library;
int main() {
CImg<unsigned char> image("lena.jpg"), visu(500,400,1,3,0);
const unsigned char red[] = { 255,0,0 }, green[] = { 0,255,0 }, blue[] = { 0,0,255 };
image.blur(2.5);
CImgDisplay main_disp(image,"Click a point"), draw_disp(visu,"Intensity profile");
whi... | [
"142857@mail.ru"
] | 142857@mail.ru |
36db754050669093f0ed5b2d0bdd9efec1cec19f | 222bc22cb0330b694d2c3b0f4b866d726fd29c72 | /src/cgcw/inilib/attr_attr_comp.h | 31aed70a4dd278ea14a5693882132c8e090d0561 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | darwin/inferno | 02acd3d05ca4c092aa4006b028a843ac04b551b1 | e87017763abae0cfe09d47987f5f6ac37c4f073d | refs/heads/master | 2021-03-12T22:15:47.889580 | 2009-04-17T13:29:39 | 2009-04-17T13:29:39 | 178,477 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,187 | h | //
// This software may only be used by you under license from the
// University of Notre Dame. A copy of the University of Notre Dame's
// Source Code Agreement is available at the inilib Internet website
// having the URL: <http://inilib.sourceforge.net/license/> If you
// received this software without first enteri... | [
"antonin@hildebrand.cz"
] | antonin@hildebrand.cz |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.