blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c90cbd00f44d8cfd5b54ea795b1693342b20223 | 770b7ad3c4e294e9c60d7c0e4f5d90f62daf3de0 | /ComponentPTUServer/smartsoft/src/ComponentPTUServerCore.hh | 78b7bfcedbcbcbd06d89a3062865580d12c2ade5 | [] | no_license | Servicerobotics-Ulm/ComponentRepository | b1b73ea8871366f05846aedc4ca4df4024b8fe39 | 0c958e9dd9263b525b404bb9581f33c15cfbb3d8 | refs/heads/master | 2022-12-15T07:54:19.437434 | 2022-12-06T14:30:05 | 2022-12-06T14:30:05 | 122,948,164 | 2 | 11 | null | 2021-02-10T12:03:13 | 2018-02-26T09:46:20 | C++ | UTF-8 | C++ | false | false | 2,223 | hh | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | [
"matthias@mlutz.de"
] | matthias@mlutz.de |
205e2d9d4ff017056e8d2b3d6a12b0493657e76f | 349fe789ab1e4e46aae6812cf60ada9423c0b632 | /FIB_DataModule/ART_DMSprInfBlock/UART_DMSprInfBlockSostav.h | 1c3f19a330d486b4b6c9c2530b68c91ba8501113 | [] | no_license | presscad/ERP | a6acdaeb97b3a53f776677c3a585ca860d4de980 | 18ecc6c8664ed7fc3f01397d587cce91fc3ac78b | refs/heads/master | 2020-08-22T05:24:15.449666 | 2019-07-12T12:59:13 | 2019-07-12T12:59:13 | 216,326,440 | 1 | 0 | null | 2019-10-20T07:52:26 | 2019-10-20T07:52:26 | null | WINDOWS-1251 | C++ | false | false | 3,394 | h | //---------------------------------------------------------------------------
#ifndef UART_DMSprInfBlockSostavH
#define UART_DMSprInfBlockSostavH
//---------------------------------------------------------------------------
#include "IDMFibConnection.h"
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrl... | [
"sasha@kaserv.ru"
] | sasha@kaserv.ru |
1b2bd2a8581b32e9c18d6c14e4c47420a1346a6c | 1d05ea0d765edd3c1074041a24be6561771243f1 | /gpmp2/obstacle/ObstaclePlanarSDFFactorArm.h | 931282fecd52fe87d3774a8809618dcea9429e09 | [
"BSD-3-Clause"
] | permissive | BoltzmannBrain/gpmp2 | 9f2e76ad51cc7ca23a351290e98717a4271285a8 | 9b8d202db19f7ef5a2b8157704fb3dbcef5b5bd2 | refs/heads/master | 2021-01-25T13:11:12.259259 | 2018-08-21T20:02:21 | 2018-08-21T20:02:21 | 123,536,419 | 0 | 0 | BSD-3-Clause | 2018-03-02T05:50:25 | 2018-03-02T05:50:24 | null | UTF-8 | C++ | false | false | 421 | h | /**
* @file ObstaclePlanarSDFFactorArm.h
* @brief Obstacle avoidance cost factor, using Arm planar and signed distance field
* @author Jing Dong
* @date May 29, 2016
**/
#pragma once
#include <gpmp2/kinematics/ArmModel.h>
#include <gpmp2/obstacle/ObstaclePlanarSDFFactor.h>
namespace gpmp2 {
// template u... | [
"jdong@gatech.edu"
] | jdong@gatech.edu |
592b5798dbdb508f220b87ea96bc4a0e9e0bc1ad | e98f3fc79d7e2d75eb37c1685e65a3ed1c6dc8e4 | /the-jumping-game/Menu.h | 7a02c71c6515185c3eb26c2c16e3fbb6e0398754 | [] | no_license | baocvcv/jumping-game | f833735bb21fa8592587e952835947a9fdb08683 | 9cb3a079d29835c17a6c5ad6fb27eff644593663 | refs/heads/master | 2020-04-08T01:52:48.066249 | 2020-03-25T03:46:12 | 2020-03-25T03:46:12 | 158,912,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | h | #pragma once
#include "the-jumping-game.h"
#include "Button.h"
#include <vector>
#define BUTTON_ANIMATION_LEN 10
/*
menu info:
menu id, num of buttons; each line is a button
*/
extern int MENU_INFO[NO_OF_MENUS][MAX_BUTTONS_PER_MENU + 1][3];
class Menu
{
public:
Menu();
Menu(HBITMAP _bmp_Background, int menuInfo... | [
"baocvcv@gmail.com"
] | baocvcv@gmail.com |
e1b65049882faec947c4da8ab5775712137b3b49 | 979e2b52c768d0fd031812c0c9787be24476b693 | /OpenGLESApp/OpenGLESApp.Shared/Cube.cpp | 5d336b27912be4b676077a299ed7a658b77aa328 | [] | no_license | JPMMaia/mythology-legacy | cf54215a6fb435d13b56985ea836b0d203b19c21 | f34ac9e6b2c1c407d48ee942d5aba8204d2604aa | refs/heads/master | 2021-03-30T16:12:46.015866 | 2017-12-29T16:39:10 | 2017-12-29T16:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | #include "Cube.h"
#include "Geometry/MeshData.h"
float _rotation;
std::vector<tue::fvec3> c_vertices;
std::vector<tue::fvec4> c_colors;
std::vector<std::uint8_t> c_indices;
void Cube_setupGL(double width, double height)
{
// Initialize GL state.
glDisable(GL_DITHER);
glHint(GL_PERSPECTIVE_CORRECTION_HIN... | [
"jpmmaia@gmail.com"
] | jpmmaia@gmail.com |
3e09939cb6856379576bd3e7bee97815cbfa3550 | 00d915eb08da05557b149daa272ad30f77ca4d9a | /src/platforms/qurt/fc_addon/mpu_spi/mpu9x50_main.cpp | 804c0e1a30cfefde7b7dc0e7cf2e77fc33bae79b | [
"BSD-3-Clause"
] | permissive | airmind/OpenMindPX | 4d187a88810907c1338356bdfa451ebd048cff58 | ee16c248270e1fc4e9ab7f71ec3699ee1df565c3 | refs/heads/master | 2021-01-15T10:19:53.627390 | 2018-11-06T07:29:18 | 2018-11-06T07:29:18 | 56,114,887 | 5 | 5 | BSD-3-Clause | 2018-09-20T02:04:13 | 2016-04-13T02:39:10 | C++ | UTF-8 | C++ | false | false | 19,182 | cpp | /****************************************************************************
*
* Copyright (C) 2015 Mark Charlebois. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... | [
"lm@inf.ethz.ch"
] | lm@inf.ethz.ch |
7951901e94a886689226dc696d5d91f2bb42687d | 8018f269727b5d698afe0b9dc5eb1680b2eaf1e4 | /Codeforces/4/D.cpp | 3e577c5646ce61ddbc2ddb5f367f8c50b3d3bf28 | [
"MIT"
] | permissive | Mindjolt2406/Competitive-Programming | 1c68a911669f4abb7ca124f84b2b75355795651a | 54e8efafe426585ef0937637da18b7aaf0fef5e5 | refs/heads/master | 2022-03-20T14:43:37.791926 | 2022-01-29T11:34:45 | 2022-01-29T11:34:45 | 157,658,857 | 2 | 0 | null | 2019-02-10T08:48:25 | 2018-11-15T05:50:05 | C++ | UTF-8 | C++ | false | false | 1,878 | cpp | #include<bits/stdc++.h>
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 1000000001
#define MOD 1000000007
#define ll long long int
#define ld long double
#define vi vector<int>
#define vll vector<long long int>
#define sc(n) scanf("%d",&n);
#define scll(n) scanf("%lld",&n);
#define scld(n) s... | [
"rathin7@gmail.com"
] | rathin7@gmail.com |
1312eff0720491e144edd3237eff20d5623dbd28 | 01f16f7004f5c1f344ed83d811f82f5cb7ed54a9 | /algorithmSolution/leetCode/035_Search Insert Position.cpp | 4874dbd07ca3c6a640bd4fd77376518f1381ac05 | [] | no_license | DwyaneTalk/AlgorithmsAndDataSturctures | 7fa4ef063c8371bba3d9bea0952cbdcadda61668 | 279e7cbf6507e3ef9af354a9a9d51027e90756a5 | refs/heads/master | 2020-05-29T09:12:35.321555 | 2016-11-13T07:45:34 | 2016-11-13T07:45:34 | 70,229,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cpp | /* DwyaneTalk@gmail.com
* by lutao
* hihocoder : Search Insert Position
* : https://leetcode.com/problems/search-insert-position/
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
int searchInsert(int* nums, int numsSize, int target) {
int lo = 0, hi = numsSize - 1... | [
"DwyaneTalk@163.com"
] | DwyaneTalk@163.com |
6ff5c246d1779ecf4077981fa2066fbc0120af59 | 19737f8f0e8325d345ff7ba3ce6a0a21322d4b99 | /libWetHair/RoundCornerBox.h | 99b66dffdd77e3a8ef1eb80b581a51afc6aa2cf7 | [
"Apache-2.0"
] | permissive | nyue/libWetHair | a0c2d1787d70448f7fddaf148b93ddd66f6fa977 | 517e835682f29b03b3e6cc9230706bd77d7c91cb | refs/heads/master | 2021-01-20T04:00:37.466184 | 2017-04-26T19:37:23 | 2017-04-26T19:37:23 | 89,621,525 | 1 | 1 | null | 2017-04-27T17:05:50 | 2017-04-27T17:05:50 | null | UTF-8 | C++ | false | false | 15,358 | h | //
// This file is part of the libWetHair open source project
//
// Copyright 2017 Yun (Raymond) Fei, Henrique Teles Maia, Christopher Batty,
// Changxi Zheng, and Eitan Grinspun
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... | [
"fyun@acm.org"
] | fyun@acm.org |
2bfcfdda16c35192cd922eba3d674d44c0e084c4 | 4bdfe6dfb34b927bc6749f28468d645b8ab1c962 | /disposer.cpp | 09c63f8d54f14351e0fe1edd08bd0dc256570439 | [] | no_license | retorillo/photoshop-uss | 2b293bafac027ec54028af64a5af76af4694bd6a | e6a319064d643ea30befa81f0601154a8e37e4ab | refs/heads/master | 2020-03-10T19:44:36.204158 | 2018-04-15T21:12:59 | 2018-04-15T21:12:59 | 129,554,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include "disposer.h"
disposer::disposer() {
stack.reserve(DISPOSER_INITIAL_CAPACITY);
}
disposer::~disposer() {
for (auto& a : stack) a();
}
void disposer::push(ACTION f) {
stack.push_back(f);
}
| [
"retorillo@outlook.com"
] | retorillo@outlook.com |
f18b7cc78fcfb412e1b05566128d88e710d13a94 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /ecs/include/alibabacloud/ecs/model/DescribeDiagnosticReportAttributesResult.h | cfd34585f8069b7f2c1a66730238ae1fef69569f | [
"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 | 2,619 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
7091375bb80735ff935f0b04f28e0fe9c5f95840 | 4dcdd3ca519462b09b4af8896014202b61e7bfd3 | /chess-master/zo/ZoGlobal.cpp | 45f79a214e32922e6c593c29290cc5438be686ff | [] | no_license | pope88/ChessSvr | 2b2f2d5a1563f309f6176e9ced890548d318241b | 21ed3f5ab7ac0858e56fbd2da3125a2e9a84affd | refs/heads/master | 2020-12-30T18:02:16.822182 | 2017-06-07T10:33:18 | 2017-06-07T10:33:18 | 90,940,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include "Config.h"
#include "ZoGlobal.h"
ZoGlobal zoGlobal;
void ZoGlobal::init()
{
_serverVer = "1.1.0";
_roomNum = 6;
_tableNum = 100;
_playerNum = 4;
_readyMode = 0;
_gameType = 0;
_gameMoneyLimit = 10000;
} | [
"aoshi_pope@gmail.com"
] | aoshi_pope@gmail.com |
d17116168bc85f7b76f4568a60598e505ed18b3f | f49de836452ed545b35d85a9695ede6df294a919 | /Source/Particles/Collision/BinaryCollision/NuclearFusion/BoschHaleFusionCrossSection.H | e2a4fca25189810d6d8175bd589a5bb29d541434 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause-LBNL"
] | permissive | WeiqunZhang/WarpX | 7162a191f520e1d0aba817c08211b5bb133f12de | 4ef28deda80a2a51896ee5fccb71b013ceddd8a0 | refs/heads/development | 2023-08-31T10:29:10.432163 | 2023-04-07T22:06:32 | 2023-04-07T22:06:32 | 190,414,385 | 0 | 0 | NOASSERTION | 2023-04-10T22:41:54 | 2019-06-05T14:50:35 | C++ | UTF-8 | C++ | false | false | 4,053 | h | /* Copyright 2022 Remi Lehe
*
* This file is part of WarpX.
*
* License: BSD-3-Clause-LBNL
*/
#ifndef BOSCH_HALE_FUSION_CROSS_SECTION_H
#define BOSCH_HALE_FUSION_CROSS_SECTION_H
#include "Particles/Collision/BinaryCollision/BinaryCollisionUtils.H"
#include "Utils/WarpXConst.H"
#include <AMReX_REAL.H>
#include ... | [
"noreply@github.com"
] | WeiqunZhang.noreply@github.com |
1e72ffbdd0af058a0daddf7814e696f8168653df | 7b6939c937499bacbf8bcd12415e4efc27a3546b | /Display Size.cpp | 510f8ca249f423c9bb2cefffcb5d9482fc3d2dca | [] | no_license | tasneemria/Codeforces_Solved | 0c2f18c5e3b3a17a532066df535abcd9221184a8 | fd54a828b14cf1d1c84d3a95d5726956caf3bc50 | refs/heads/master | 2021-07-18T02:01:13.848335 | 2017-10-19T06:52:54 | 2017-10-19T06:52:54 | 107,508,992 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int miN = n-1,a,b;
int geta,getb;
for(int i=1;i<=n;i++)
{
if(n%i==0)
{
a = i;
b = n/i;
if(a>b)
break;
if(miN>=(b-a))
... | [
"tasneem81496@gmail.com"
] | tasneem81496@gmail.com |
267f83e686d6c251d786895170e5c0d609d0715e | add16900a969741c9e7570d3b7b47b76e22ccd04 | /c10/util/math_compat.h | 9a7ee1899d1cf4dfcf65cd009316e2f18c647b45 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | talemache/pytorch | 55143c60b927a73f6392f7dde1f4fc8ef7ee76e6 | a4da326621418dcccba50d2e827e6644e7f03ed1 | refs/heads/master | 2023-05-09T06:02:30.990411 | 2021-05-30T04:37:41 | 2021-05-30T04:37:41 | 318,314,852 | 2 | 0 | NOASSERTION | 2021-05-30T04:37:41 | 2020-12-03T20:43:29 | null | UTF-8 | C++ | false | false | 6,896 | h | #pragma once
#include <cmath>
// Android NDK platform < 21 with libstdc++ has spotty C++11 support.
// Various hacks in this header allow the rest of the codebase to use
// standard APIs.
#if defined(__ANDROID__) && __ANDROID_API__ < 21 && defined(__GLIBCXX__)
#include <stdexcept>
namespace std {
// Import double ve... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
412f4cecae2e39a776379c0830c01d91bab26e3c | 4cd7f9447801592739d8b05c4f41f9f210fdb784 | /src/cc/test/animation_test_common.h | 5d0d4b5dacfa61e4465190a772c0a330f48060fb | [
"BSD-3-Clause"
] | permissive | crash0verrid3/Firework-Browser | 15fbcdcdf521f1b1a1f609310fba9a5ab520b92a | 9f2e99135fa4230581bde1806ca51e484372be50 | refs/heads/master | 2021-01-10T13:18:41.267236 | 2015-10-18T23:04:10 | 2015-10-18T23:04:10 | 44,147,842 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,080 | h | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_TEST_ANIMATION_TEST_COMMON_H_
#define CC_TEST_ANIMATION_TEST_COMMON_H_
#include "cc/animation/animation.h"
#include "cc/animation/animation_cu... | [
"sasha@sasha-kaidalov"
] | sasha@sasha-kaidalov |
8e6dbea101b4e54e548e43ad1f512f28dba08f79 | ab92a801a47fdd3da79f401f14580a35738c08a2 | /src/userland/sh/main.cc | e6b754447fd028868e02bd256ded763dcaa6e68d | [
"Apache-2.0"
] | permissive | qhl722/How-to-Make-a-Computer-Operating-System | cbc1edae380017647fd66c3801874a86261c91e7 | 74fac5c98ab40e124b6fef3a584ac088f8d9b9e4 | refs/heads/master | 2021-01-12T19:32:06.036050 | 2016-04-23T15:07:15 | 2016-04-23T15:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cc | #include "Shell.h"
int main(int argc,char **argv)
{
Shell sh;
/* Load config files, if any. */
/* Run command loop. */
sh.loop();
/* Perform any shutdown/cleanup. */
return 0;
}
| [
"hycwuy@gmail.com"
] | hycwuy@gmail.com |
ed827dfb0b96fdb1a472eb330aa295b351a9a476 | 3a62ee74a1aa799d1c1d5914065b61105b13a12c | /Leetcode/ARRAY/EASY/HammingDistance.cc | e164accb7f06bca9c19eaefd12e58ef5218dc13f | [] | no_license | HCMY/UnCategoticalableAlgorithm | 88a62650c951748e4761330721255b694be590d2 | 7cbcc9093cd8e81fa492daaf0388867bd10f66a2 | refs/heads/master | 2021-06-23T11:20:28.184713 | 2019-09-05T04:28:30 | 2019-09-05T04:28:30 | 132,120,074 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cc | #include <iostream>
using namespace std;
/**
本质上是异或运算,先按位与,取出两数对应位置的二进制,再进行异或
*/
class Solution {
public:
int hammingDistance(int x, int y) {
int res = 0;
for (int i = 0; i < 32; ++i) {
if ((x & (1 << i)) ^ (y & (1 << i))) {
++res;
}
}
retu... | [
"noreply@github.com"
] | HCMY.noreply@github.com |
3ac69d07ca2bc6a40c2284d53201c222f878016c | 7f74c236881176d673fd5b8bed6e18283232deca | /modules/ieee/unit/simd/saturate.cpp | 6d22ff6ec34b9bb3c3c9789b167d3f80398e8375 | [
"BSL-1.0"
] | permissive | pesterie/nt2 | 57a3cbe4e3631d5eacbd1703b79af769f40b13f1 | 94e4062794466136987bf0afd9a94d43275b13cf | refs/heads/master | 2021-01-18T06:52:52.070291 | 2011-08-31T12:04:16 | 2011-08-31T12:04:16 | 1,566,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,458 | cpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"mathias@gaunard.com"
] | mathias@gaunard.com |
07b346ecf52b1cffc83c0be5efedfefcccc9f3a8 | 882238b7118ba2f7c2f8eb36212508203d0466a4 | /runtimes/cc/runtime/org/labcrypto/hottentot/runtime/protocol_v1.cc | f40d02b094c1792b127147962f68b76b276147fd | [
"MIT"
] | permissive | alisharifi01/hottentot | 32c0184c9aa2248047eb03ca13d68dc8557b962b | e578a2185c473301076ece5634113ab663996a3e | refs/heads/master | 2020-03-27T10:19:17.074850 | 2016-11-13T07:58:08 | 2016-11-13T07:58:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,218 | cc | /* The MIT License (MIT)
*
* Copyright (c) 2015 LabCrypto Org.
*
* 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
... | [
"kam.cpp@gmail.com"
] | kam.cpp@gmail.com |
f224b4826c76b24974264ce7a92b0ac6e67284e5 | 450ed975eb5a8c8087559155073e630ab3524137 | /src/main.cpp | 397bb39932b025101154325e3c399f2ccde992ca | [] | no_license | moosewoler/onyx-a2container | cc22788a4a20c95971b8636f8826c755a6ee7123 | 155b4954ae5ea7706b14bc127b4ffc9a3f7cec0d | refs/heads/master | 2021-01-21T12:39:48.812065 | 2013-04-07T17:24:48 | 2013-04-07T17:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include "onyx/sys/sys_status.h"
#include "mwo_application.h" // 应用
#include "mwo_logger.h" // 日志
int main(int argc, char * argv[])
{
logger.log("ENTER main()");
sys::SysStatus::instance().setSystemBusy(false); // notify system is not busy via D-BUS. see onyx/sys/service.h
MwoAp... | [
"wangjun.cumtb@ieee.org"
] | wangjun.cumtb@ieee.org |
fade0421d41b79371a905eb493a6cce025e86748 | d4c74a8001451840f3efb87f15856cdb9d5e9eb6 | /rtos/mbed-os/features/mbedtls/platform/TARGET_PSA/COMPONENT_PSA_SRV_IMPL/src/default_random_seed.cpp | 22a58f72f3cede50fc2feadf7fcc7f3c2e81a9a2 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | danieldennett/gap_sdk | 3e4b4d187f03a28a761b08aed36a5e6a06f48e8d | 5667c899025a3a152dbf91e5c18e5b3e422d4ea6 | refs/heads/master | 2020-12-19T19:17:40.083131 | 2020-02-27T14:51:48 | 2020-02-27T14:51:48 | 235,814,026 | 1 | 0 | Apache-2.0 | 2020-01-23T14:39:59 | 2020-01-23T14:39:58 | null | UTF-8 | C++ | false | false | 457 | cpp | #include "mbed.h"
#include "crypto.h"
#include "default_random_seed.h"
#include "psa/internal_trusted_storage.h"
int mbed_default_seed_read(unsigned char *buf, size_t buf_len)
{
psa_status_t rc = psa_its_get(PSA_CRYPTO_ITS_RANDOM_SEED_UID, 0, buf_len, buf);
return ( rc );
}
int mbed_default_seed_write(unsigne... | [
"noreply@github.com"
] | danieldennett.noreply@github.com |
b0df00d7afa2d8e4d90d38b662f562ef47fd2ada | be08c05e8de4b6f06fa5544e11112b4d2b7a6ed9 | /Experiment12/Exp 12.cpp | 18c74505067fc2b44667930d8a9da611e50f6d08 | [] | no_license | ganshul34/Data-Structures | 24040eed14193fb8e5c6550a2c79d7a5138e4174 | 7d7ef0f0227b28ae49335150623bd0d48e367671 | refs/heads/master | 2020-04-06T11:37:30.061723 | 2018-11-29T20:11:47 | 2018-11-29T20:11:47 | 157,424,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | #include<iostream>
#include<algorithm>
#include<stack>
using namespace std;
class heaps
{
int *arr;
int n,left,right,largest;
public:
heaps()
{
n=0,left=0,right=0,largest=0;
cout<<"Enter the no of elements\n";
cin>>n;
arr=new int[n];
cout<<"Enter the elements\n";
for(int i=1;i<=n;i++)
{
... | [
"ganshul34@gmail.com"
] | ganshul34@gmail.com |
b25b92bff8632765e126b6de9f3cabb5218cdaa5 | e165b8b02aeb085db2bf18c3cd2667c8b991dfdf | /StreamsReadFileV3/main.cpp | 71a00b905080ea199139d43edf8ff67033418452 | [] | no_license | AGistinger/Udemy_Beginning_CPP_Programming | 2e5f141955be45f6a4dbdab425f5564a713b814b | 2a933c8f739dcabc1b350cbf0a943439c24a7c36 | refs/heads/master | 2022-05-08T03:28:28.616794 | 2022-04-29T16:42:05 | 2022-04-29T16:42:05 | 253,580,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | // I/O and Streams - Reading from a Text File - Part 3
#include <iostream>
#include <fstream>
#include <iomanip>
int main()
{
std::cout << std::setw(70) << std::left << std::setfill('-') << "-Read and display Shakespeare Sonnet 18 Poem, Unformatted using getline" << std::setfill(' ') << std::endl;
std::cou... | [
"noreply@github.com"
] | AGistinger.noreply@github.com |
67884ba4b080b6f7873103fd5b39d7e5c6a29391 | d406f6a768fca18fd91fdba654eb3c52d7aa2468 | /zoomsrc.h | 65f335aad8ee7cb6e2e13f9358be6bfbfeb1b435 | [] | no_license | dctucker/ZoomSrc | 83701adea4bce03d2c7178d66e3330628f49ef1e | e1f2d3c11051c96427befd8f7af7bb0c21de5951 | refs/heads/main | 2022-10-13T19:56:13.911035 | 2017-09-29T00:54:33 | 2017-09-29T00:54:33 | 105,213,021 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,225 | h | // For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// for all others, include the necessary headers (this file is usually all you
// need because it includes almost all <standard< wxWidgets headers
#ifndef WX_PRECOMP
#include "wx... | [
"dcaseytucker@gmail.com"
] | dcaseytucker@gmail.com |
ff8e75f0a442235fdbfad86dcca4e842c49d9c0c | 13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab | /home--tommy--mypy/mypy/lib/python2.7/site-packages/pystan/stan/lib/stan_math/stan/math/prim/scal/fun/F32.hpp | 63185236e06802dd766b847287e93c18922773d1 | [
"Unlicense",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tommybutler/mlearnpy2 | 8ec52bcd03208c9771d8d02ede8eaa91a95bda30 | 9e5d377d0242ac5eb1e82a357e6701095a8ca1ff | refs/heads/master | 2022-10-24T23:30:18.705329 | 2022-10-17T15:41:37 | 2022-10-17T15:41:37 | 118,529,175 | 0 | 2 | Unlicense | 2022-10-15T23:32:18 | 2018-01-22T23:27:10 | Python | UTF-8 | C++ | false | false | 3,166 | hpp | #ifndef STAN_MATH_PRIM_SCAL_FUN_F32_HPP
#define STAN_MATH_PRIM_SCAL_FUN_F32_HPP
#include <stan/math/prim/scal/fun/sign.hpp>
#include <stan/math/prim/scal/err/domain_error.hpp>
#include <stan/math/prim/scal/fun/is_inf.hpp>
#include <stan/math/prim/scal/err/check_3F2_converges.hpp>
#include <cmath>
namespace stan {
n... | [
"tbutler.github@internetalias.net"
] | tbutler.github@internetalias.net |
cabe5bb7de3c4dcfe3306f16bb861dc9b691b772 | f313c6df81673cfb79c478359d00aad4a38d4c54 | /sb-movie-demo-ps2/SB04_Multi_Sku/Engine/Core/x/xEntMotion.cpp | 129cbe89099f774be0c31f020be544d476c15122 | [] | no_license | seilweiss/dwarfdb | 2ee1a1d748d83f6d14413bd58312c99059af99bc | 9afc2132cd69f11ed6e69bd4b2b67805bc1828b9 | refs/heads/main | 2023-08-14T23:48:48.254038 | 2021-10-07T05:40:50 | 2021-10-07T05:40:50 | 414,475,004 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,041 | cpp |
void xEntMotionTranslate(xEntMotion* motion, xVec3* dpos, xMat4x3* dmat);
void xEntMechReverse(xEntMotion* motion);
void xEntMechForward(xEntMotion* motion);
uint32 xEntRotMove(xEntMotion* motion, float32 dt, xEntFrame* frame);
uint32 xEntSldMove(xEntMotion* motion, float32 dt, xEntFrame* frame);
uint32 xEntScale(x... | [
"32021834+seilweiss@users.noreply.github.com"
] | 32021834+seilweiss@users.noreply.github.com |
0ab772c8c7e6b6155e9b81ad1f23f581e4031af2 | afad9e64b19d21d91d1144e81ef4793a54476d84 | /ScratchPad/src/Traits.h | 6a8fd0c0c095ee6064d189c6101f5e3e533f0456 | [] | no_license | deepakranganathan/ScratchPad | 9deadcdc1aa3701ba064813579e0f42718c5aca4 | 90eba8081afbdf807749458deed2c0a6d64d5e4a | refs/heads/master | 2021-06-09T14:22:53.730039 | 2021-04-04T02:10:07 | 2021-04-04T02:10:07 | 61,317,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | h | #pragma once
#include <iostream>
using namespace std;
template <typename T>
class Base
{
public:
//CRTP user function
T& getD()
{
return *static_cast<T*>(this);
}
void interface();
};
class DerivedA : public Base<DerivedA>
{
public:
void implementation();
};
class DerivedB : public Ba... | [
"deepak.ranganathan@gmail.com"
] | deepak.ranganathan@gmail.com |
6088faf7b24491b968f55aee3c924a6225de5261 | cdf92aa3a8a49dc044306c125356cca26910dbda | /incoming/BitBucket-INDI1/trunk186/INDI2/apps/IfSearch5/FeatureSet.cpp | ff05c02275196d330edfe0f719327865a7d13621 | [
"MIT"
] | permissive | eirTony/INDI1 | b7c5d2ba0922a509b32d9d411938ecdc0f725109 | 07fe9eff4fb88c6c2d636c94267ea8734d295223 | refs/heads/master | 2020-01-23T21:22:49.833055 | 2016-11-26T07:43:06 | 2016-11-26T07:43:06 | 74,568,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,932 | cpp | /** @file FeatureSet.cpp
* Definition of FeatureSet class for DDT image library
*
* @author Dynamic DeZigns Technology
*
*/
#include <FeatureSet.h>
#include <QQRect.h>
#include <NamedArray.h>
#include <QDateTime>
#include <QLine>
#include <QPoint>
#include <QRect>
#include <QtDebug>
#include <math... | [
"totto@eclipseir.com"
] | totto@eclipseir.com |
ccf2051c946569d0437ed3aedc59bc4438183f2b | ab3248d6e684d0412d509bff971cbb5b57fa7aed | /Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp | 828d0c04f8d1596ae2a1499b82d1779f9652221a | [] | no_license | wapm-packages/jsc | 1a86ee90d1f9bef683c5953eff42749c238b6199 | 6990dc591e5979747ea4ff652527d0c415e034d4 | refs/heads/master | 2021-11-11T09:49:29.089852 | 2019-05-07T23:06:24 | 2019-05-07T23:06:24 | 184,309,103 | 19 | 0 | null | 2021-11-06T06:22:13 | 2019-04-30T18:05:52 | C++ | UTF-8 | C++ | false | false | 23,934 | cpp | /*
* Copyright (C) 2013, 2015-2016 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of c... | [
"mbbill@gmail.com"
] | mbbill@gmail.com |
af1928113e749b67d182d4a25e1a9fb0bcc4683a | 8a5e76e9e3d91f20984188796a446b2db7c08c1b | /BinaryTree.cpp | 7998a9b46ab011100f8996df9c232db957c55764 | [] | no_license | daviddavenport9/Data-Structures-Binary-Search-Tree | 565ac93d6f93eb2ac6920cc95b24f434e721a41a | 7ed53cdb5603ab4b1011dd2a95a9afff711eb30d | refs/heads/master | 2021-01-04T13:22:44.059270 | 2020-02-14T18:19:17 | 2020-02-14T18:19:17 | 240,571,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | cpp | #include <iostream>
#include "BinaryTree.h"
using namespace std;
BinaryTree::BinaryTree() {
root = NULL;
}
BinaryTree::~BinaryTree() {
destroy(root);
}
void BinaryTree::destroy(Node* tree) {
if (tree != NULL) { // if tree is created, delete all nodes in postorder
destroy(tree->left);
destroy(tree->right);
d... | [
"noreply@github.com"
] | daviddavenport9.noreply@github.com |
021e466b9f643365bb39fcaea403757ee3ec6453 | be8d5d06cd893e713a0784196c5cc0bd8a0fa528 | /chapter18/loadcalculate/calculate/calculate.cpp | 1124cb627d630b4ed03825ce154fa4afb3948e92 | [] | no_license | maxcp21/QT_Sample | 2220165d0332f515e2ba16a1729898adac3347a6 | f7cfb63ea1c1180ea54fc3e3114bc96b3fc2069b | refs/heads/master | 2021-05-04T19:33:54.698122 | 2017-10-13T04:48:24 | 2017-10-13T04:48:24 | 106,778,760 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp |
#include <math.h>
#include <QDebug>
#include "calculate.h"
Calculate::Calculate()
{
}
void Calculate::initInput(double price,double area,int percent,double interest,int year)
{
m_price =price;
m_area = area;
m_percent = percent;
m_interest = interest;
m_year = year;
}
double Calculate::housePrice()
{
double ... | [
"gitea@fake.local"
] | gitea@fake.local |
165985b44f219e6445702e9765a82f782224d065 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch.test-test-test/eulerVortex.cyclic.twitch.moving/3.52/polyMesh/points | 502baf730876cf6caff4fb6ad1e18826b33456d6 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422,544 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
7589fa4694c83290a6bcc3ca47dcff2ecfa6a39d | e95644d6bc2c02660a05e4a10b21814bd2200b2c | /main.cpp | 78951612f3cc1e4a9e0187dba539291266b8453c | [] | no_license | Yurij-Bugaychuck/KrystallBuild | f65c2281582cac270ac20aff71514846217b899a | 9be09bd70eb41ee389ae471e7f4544870bfb4281 | refs/heads/master | 2020-09-11T18:49:28.273396 | 2019-11-16T20:52:19 | 2019-11-16T20:52:19 | 222,157,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | #include <QApplication>
#include <QQmlApplicationEngine>
#include<QQmlContext>
#include <QQuickStyle>
#include<mainwindow.h>
#include <QtOpenGL>
#include "glWindow/globjwin.h"
#include "glWindow/glbox.h"
#include <QAxFactory>
QAXFACTORY_BEGIN(
"{2c3c183a-eeda-41a4-896e-3d9c12c3577d}", // type librar... | [
"bugaychuck@gmail.com"
] | bugaychuck@gmail.com |
29ed2750d4979c52c17139ed6a16afd70e2c12fb | 012d3cbff982eefd122313f010fafe68dca10aa4 | /Less Then Dungeon 0.3/Use_Potion.cpp | 85ac57bcc3510c6991e0483f76460a8a7d49da73 | [] | no_license | lobi112/Less_Than_Dungeon_0.3 | 19eb320bed20e75a92b55ed9f480d81306ecffc9 | 9e888a41b25e6bca8cd148610211827bbaa48558 | refs/heads/master | 2022-04-13T00:38:07.206861 | 2020-04-11T11:16:15 | 2020-04-11T11:16:15 | 254,850,740 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 519 | cpp | #include "Header.h"
void ActUsePotion(MyHero& Hero)
{
if (Hero.poition > 0)
{
int chance = 15 + rand() % 21;
Hero.Change_HP(chance);
Hero.poition--;
cout << Hero.name << ": Пора подлечиться." << endl;
cout << "Вы восстановили : " << chance << " здоровья." << endl << endl;
system("pause");
system("cls")... | [
"dimon.tuleninov@mail.ru"
] | dimon.tuleninov@mail.ru |
ca2540c3729d07c2971e4fa10ddc485944e86ceb | 9b11f561510070d40be43addeccc743f91025cfa | /codeforces/1269/B.cpp | 93e303f892a4c157a0389623447afec2dbed696c | [] | no_license | MasterMind90/cppractice | a5a1774fc87047c9c9f18ed6df2a58af4a027256 | ce1b74d9e682e5d369df62f3ad9494798dceda85 | refs/heads/master | 2023-02-21T04:58:50.101142 | 2019-05-08T14:41:00 | 2021-01-14T21:11:38 | 328,998,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | #ifndef LOCAL
#pragma GCC optimize("O3")
#endif
#include "bits/stdc++.h"
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > r... | [
"amjadm2008@gmail.com"
] | amjadm2008@gmail.com |
24905f551724c26c2f4d487d89fedbca8979a900 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/msmq/src/qm/pktlist.h | 7ad64c938e76dc95642096eb7f10a72172c61aa2 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 2,510 | h | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
recovery.cpp
Abstract:
Packet & Transaction Recovery
Author:
Erez Haba (erezh) 3-Jul-96
Revision History:
--*/
#ifndef __PKTLIST_H
#define __PKTLIST_H
template <class T>
inline T* value_type(const T*) { return (T... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
b04ebd99bec92acf75ceee81dc8312371e3b6b70 | a218c46d3bb4fcb5e5f048717437679d48d663be | /Stats/stats.cpp | 9b7e5ba63d764a486e6799bb29effd1515f9e815 | [] | no_license | shaomeng/utilities | dfb355601a17d4eeb50e02b9ce7b3eb0024a173c | 2f5ad31294542c0b4585827aefa02cf02e02b438 | refs/heads/master | 2016-09-05T21:00:53.912193 | 2015-12-15T06:12:11 | 2015-12-15T06:12:11 | 38,325,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,235 | cpp | #ifndef STATS
#include "stats.h"
#include <iostream>
#endif
void
Stats::GetMinMax( const float *array, float *results, long int n)
{
float max = array[0];
float min = array[0];
for( long int i = 1; i < n; i++) {
if( array[i] > max) max = array[i];
if( array[i] < min) min = array[i]... | [
"shaomenglee@gmail.com"
] | shaomenglee@gmail.com |
b8c161d223fb436c69412271df95b3e9cf4a04ee | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazemark/blazemark/eigen/init/SparseMatrix.h | 64ee536b954bfd698b7d7ae2cbfeb5c7e3cefe46 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,671 | h | //=================================================================================================
/*!
// \file blazemark/eigen/init/SparseMatrix.h
// \brief Header file for the Eigen sparse matrix initialization functions
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part ... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
ab7db48bfcd5990bb12858dc95e62074af8768a3 | cb94f516af62a0297e763cee16f274e89913de6f | /srm439div2's500.cpp | b5c95aa4479c374a9667f26310f0fa9effe3b268 | [] | no_license | Coder-12/topcoder-solutions | d91f035d903ee662a6b9b1a090201bef09aa08c2 | 997d188010cdb8df385451a8d0955e22a65d5682 | refs/heads/master | 2023-08-03T23:49:31.489874 | 2021-09-18T05:16:11 | 2021-09-18T05:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <c... | [
"coderboysatya@gmail.com"
] | coderboysatya@gmail.com |
5f3b9454988a449f59c2b29ec3c40b43c0c201ad | 2891c0ed3c140036ec80840a20f7ef6cceee5cd0 | /Gravity_Shooter/mainwindow.h | 7d818cd58222d9816fa2beb0f78bc393863ead14 | [] | no_license | XuKaFy/Oxkary_Projects | 8617d4dc6dd58725e4eef77df531fe038744b467 | adbb6b5f5a6ba3eaf2ea21572e7b437c5548d503 | refs/heads/master | 2020-03-27T06:14:58.366873 | 2018-08-29T03:26:01 | 2018-08-29T03:26:01 | 146,092,296 | 2 | 0 | null | 2018-08-29T03:26:02 | 2018-08-25T12:10:05 | C++ | UTF-8 | C++ | false | false | 649 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QPushButton>
#include <QDoubleSpinBox>
#include <QSlider>
#include <QLabel>
#include "widget.h"
#include "selecter.h"
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWin... | [
"36410093+XuKaFy@users.noreply.github.com"
] | 36410093+XuKaFy@users.noreply.github.com |
7f80b12c4fc677a54c0a19fcf8d5f3252b3320c7 | 06e4db0fd47b18c35ab4f7c0f3f8239f7bf086a8 | /Team_Contests/RCP3_2020/E/main.cpp | adc39aaf5efedb50ce5096a62025b9a2e4eb4d37 | [] | no_license | StevenMaMei/Competitive-Programming | 4ad6dce42a67ff8077a1142d0cc5ef2b0ceafe96 | 463f9fe91e3e2d900f6def24920012a1b8ffa431 | refs/heads/master | 2022-12-04T17:38:30.012751 | 2020-08-25T00:20:52 | 2020-08-25T00:20:52 | 216,122,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,145 | cpp | #include <bits/stdc++.h>
#define ff first
#define ss second
#define fore(i,a,b) for(int i=a,colchin=b;i<colchin;++i)
#define pb push_back
#define ALL(s) s.begin(),s.end()
#define FIN ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define sz(s) int(s.size())
using namespace std;
const int MAXN= 1e6+10;
string a,b;... | [
"33093117+StevenMaMei@users.noreply.github.com"
] | 33093117+StevenMaMei@users.noreply.github.com |
2ecd9127a4ab43e69da2cda50401107afeecd7b2 | 487f8831b17f773b526d12f97d499d568e39cc35 | /maximum-product-subarray/Kadane-solution.cpp | 9678b973de96a0a83cc1ce12e370d8449067206a | [] | no_license | gengyouchen/leetcode | 83879ca8163ab9527765dacb5165e622d0bf3f60 | e4fdcbe858e0996f1f80034f640dbe2c0f536592 | refs/heads/master | 2021-06-28T16:13:31.670311 | 2020-09-08T14:36:32 | 2020-09-08T14:36:32 | 142,698,749 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | class Solution {
public:
/* time: O(n), space: O(1) */
int maxProduct(const vector<int>& nums) {
/* This is a variant of LeetCode 53 - Maximum Subarray */
int _maxProd[2], _minProd[2];
auto maxProd = [&](int i) -> int& { return _maxProd[i % 2]; };
auto minProd = [&](int i) -> int& { return _minProd[i % 2]; };... | [
"gengyouchen@gmail.com"
] | gengyouchen@gmail.com |
2ed2086cba374eb58a98686c243a8e203af87ec9 | 4a8e122797b9a300edfbb6da6f01ca144105fc7b | /Source/Misc/Plotter/Plot.cpp | 1a5b1c1bfb9a4888164410a96f3fc9f3f49cf986 | [
"MIT"
] | permissive | Travis990/WavUtils | e788f9594a2634be0406c5192862b4042e1b634d | 57e28758d36e6e5708a47c8fd1f9d9bb431461c4 | refs/heads/master | 2022-09-15T15:49:29.124284 | 2020-05-24T01:45:42 | 2020-05-24T01:45:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | //Plot.cpp
#include <iostream>
void int16PrintToPlot(const int16_t int16Samples[], //Interleaved; numSamples * nunChannels long
int32_t numSamples,
int32_t numSamplesToPrint,
int32_t numChannels) {
printf("\n\nimport numpy as np\n");
prin... | [
"kleydon@users.noreply.github.com"
] | kleydon@users.noreply.github.com |
acc298ce110f8548824955b3ad23437572dd13f6 | 23226279555273fea3b2084be1d5523183e51b61 | /941.cpp | 9ffad4ac0d892941355bd2bf5e018f7c4b6d91a8 | [] | no_license | YashavikaSingh/leetcodegrind | 9d3540b75a445db2baa2f9c09f4c22a1670a6c68 | dddb0c8734297eb0c13b38d7c8e12f182080e255 | refs/heads/main | 2023-01-03T15:27:06.272602 | 2020-10-29T04:28:53 | 2020-10-29T04:28:53 | 304,925,467 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #include <vector>
#include <iostream>
using namespace std;
bool validMountainArray(vector<int> &A)
{
if(A.size()==0)
return false;
if(A.size()==1)
return true;
bool hastodecrease = false;
bool hastoincreased = false;
for (int i = 0; i < A.size(); i++)
{
if (A[i] < A[i + 1])
br... | [
"you@example.com"
] | you@example.com |
bfd29e37051373eeff2c2c4bfad0c3a44b856b03 | e08e664d8653c22c983a4ccc80598035219bbb3f | /DFS/Easy/lc111-minimum-depth-of-binary-tree-dfs.cpp | 60b1db34c464e11a260bd133db32478a2dd85939 | [
"MIT"
] | permissive | ssolaric/leetcode-patterns | 40eb775ecf1db41dc0cea893a4e7dfd782e8e780 | 17da9a3e53802a48984894c00b30c940d12731bc | refs/heads/master | 2023-05-10T23:53:31.515953 | 2023-04-28T03:49:11 | 2023-04-28T03:49:11 | 271,845,477 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 890 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"35378033+ssolaric@users.noreply.github.com"
] | 35378033+ssolaric@users.noreply.github.com |
a03444a964ddd6ea1ef6fe4af69b79e8b473c864 | d60410f513c2e45698f04d97ecae45adf325816d | /bassline-junkie/src/synth/dsp/PolyBLEP/PolyBLEP.h | 8d440eb6fdffb803b856749532042b29e8dce22a | [] | no_license | lohisynths/bassline-junkie | d092fd8960f9e4ac21ace722d7f62f6becec4cf9 | 06fde124c584d3b50b223c6dce3a5814aebdd037 | refs/heads/master | 2021-01-11T20:37:58.966360 | 2019-10-06T18:38:03 | 2019-10-06T18:38:03 | 78,051,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,716 | h | #ifndef POLY_BLEP_H_INCLUDED
#define POLY_BLEP_H_INCLUDED
// https://github.com/martinfinke/PolyBLEP
/*
PolyBLEP Waveform generator ported from the Jesusonic code by Tale
http://www.taletn.com/reaper/mono_synth/
Permission has been granted to release this port under the WDL/IPlug license:
This softwa... | [
"lohisynths@gmail.com"
] | lohisynths@gmail.com |
55261f18cdd649242eece7238ed57100b710289f | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/08_11450_50.cpp | 2b69144ae53960824199b390fad2f71d41e031ad | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,612 | cpp | #include<iostream>
#include<fstream>
#include<string>
#include <vector>
#include <cctype>
#include <algorithm>
using namespace std;
char ch;
int ta=0;
int na,nb;
char c[20];
void main(){
// Read input from this file
ifstream inp("B-small.in",ios::in);
// write output to this file
ofstream out("An... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
906e163ff574583f204e754a59f27ca08eac96a0 | 02c9051c80c5349d7a9c84977ab76cede44dad17 | /src/tune.cpp | b038d31184710bf260ee9bc741621bc164432df2 | [] | no_license | nmrcardoso/LatticeU1 | 6994308eefeeeee530c8975f11ea89ab43c6539f | 515952a0bb7fa77935c2780401cde8c689c29c68 | refs/heads/main | 2023-03-23T15:45:51.438851 | 2021-02-04T03:10:44 | 2021-02-04T03:10:44 | 328,049,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,598 | cpp |
//#include <stdio.h>
//#include <string.h>
#include <iostream>
#include <fstream>
#include <cstring>
#include <sstream>
#include <cstdlib>
#include <string>
#include <iomanip>
#include <sys/stat.h> // for stat()
#include <fcntl.h>
#include <cfloat> // for FLT_MAX
#include <ctime>
#include <fstream>
... | [
"noreply@github.com"
] | nmrcardoso.noreply@github.com |
f54194c9bb6de5c31d10d1717e8601fbc12b1b4d | e2c3e7e823940e05b40a4086bbb1bcdf354ad445 | /mafTimeSpace/mafModuleRegistrator.h | d532ca35a0251180838711f4981312e18a496c86 | [] | no_license | gdoglz/MAF | ecb6d6321b5d21ce53bec4c9cc490f503ec08ea9 | bf267cc70bb117eb90696b8ae40465040ea5684d | refs/heads/master | 2020-03-29T10:26:03.239111 | 2011-01-24T11:06:12 | 2011-01-24T11:06:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | h | /*
* mafModuleRegistration.h
* mafTimeSpace
*
* Created by Daniele Giunchi on 27/03/09.
* Copyright 2009 B3C. All rights reserved.
*
* See Licence at: http://tiny.cc/QXJ4D
*
*/
#ifndef MAFMODULEREGISTRATOR_H
#define MAFMODULEREGISTRATOR_H
#include "mafTimeManager.h"
namespace mafTimeSpace {
extern "C"... | [
"paolo.quadrani@gmail.com"
] | paolo.quadrani@gmail.com |
6dd4c406247ed8ac1c9927288810668cd634c9f4 | 15a4fdf4c5b7736e8ae442b74284b8c233b03f62 | /Carpeta/USART_Peer_02_SOLO.ino | 6be7ff0a39b26e10a6d5afcecfa079ac317550d0 | [] | no_license | jablancocheca/souliss | cd29efa6f76ef289df08666d2acf2aa9cd68bb7f | 72b6ab922ed24e3251537b28808f129147174cf0 | refs/heads/master | 2021-01-01T19:03:06.588021 | 2017-07-27T04:35:22 | 2017-07-27T04:35:22 | 98,491,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | ino |
// Let the IDE point to the Souliss framework
#include "SoulissFramework.h"
// Configure the framework
#include "bconf/StandardArduino.h" // Use a standard Arduino
#include "conf/usart.h" // USART
// Include framework code and libraries
#include <SPI.h>
#include "Souliss.h"
// This i... | [
"noreply@github.com"
] | jablancocheca.noreply@github.com |
ffd740e219ff9264696b1faedbbfda694154de1a | 8d06ce05eff8933a4546f86fdbbad5d2ec6efc8f | /simple-toilet-gateway/simple-toilet-gateway.ino | 99579b1c47c3676926a286237625de5d91abfe0b | [] | no_license | stremlau/ToiletStatus2 | 41e6e1501fd48ec247cc4c971e4aead797dd059c | 31aa0ff10b7e6f13ba2533d5d3f49e767d02679a | refs/heads/master | 2021-09-01T10:36:43.068088 | 2017-12-26T14:21:16 | 2017-12-26T14:21:16 | 115,420,010 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | ino | #include <SPI.h>
#include "RF24.h"
RF24 radio(4, 15); // CS, CS
// same address across all nodes, can be random, max 5 chars
byte address[6] = {"CjTS2"}; // Campusjaeger Toilet-Sensor 2
void setup() {
Serial.begin(9600);
radio.begin();
radio.setPALevel(RF24_PA_LOW);
radio.openReadingPipe(1, address);
r... | [
"tilman@stremlau.net"
] | tilman@stremlau.net |
9ee4cc438f57d90d5083fd7e972b2e20f1bda6cb | 24546d8c0892447a32a3c697294ea7c34a465e47 | /moving_head/moving_head_event_dispatcher.hpp | cfa3040356dc4049c22ce18e1d785a25a123139c | [
"MIT"
] | permissive | hoelzl/clean_rpg | 1219701737bc4317d779ba2db7294d459f405ec9 | 0e9c77068de187382d92eeabe69ed7bfd7321fec | refs/heads/master | 2023-05-01T22:03:37.519506 | 2021-05-17T13:37:00 | 2021-05-17T13:37:00 | 365,612,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,487 | hpp | // Copyright (c) 2021 Dr. Matthias Hölzl. See file LICENSE.md.
#ifndef MOVING_HEAD_MOVING_HEAD_EVENT_DISPATCHER_HPP
#define MOVING_HEAD_MOVING_HEAD_EVENT_DISPATCHER_HPP
#include "app/event_dispatcher.hpp"
#include "moving_head_app.hpp"
#include "util/random_number_generator.hpp"
namespace mh {
class MovingHeadEventD... | [
"tc@xantira.com"
] | tc@xantira.com |
2119f48b73ddbce4b1019848e88e2848b5463b29 | 7208837d6c1f0ac3ff623060fe0b64dfd4e541a1 | /components/browsing_data/core/counters/browsing_data_counter.h | bb180b46c0423a1cde1818b04e691f1dba767b09 | [
"BSD-3-Clause"
] | permissive | isoundy000/chromium | b2ee07ebc5ce85e5d635292f6a37dbb7c2135a93 | 62580345c78c08c977ba504d789ed92c1ff18525 | refs/heads/master | 2023-03-17T17:29:40.945889 | 2017-06-29T22:29:10 | 2017-06-29T22:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,720 | h | // 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.
#ifndef COMPONENTS_BROWSING_DATA_CORE_COUNTERS_BROWSING_DATA_COUNTER_H_
#define COMPONENTS_BROWSING_DATA_CORE_COUNTERS_BROWSING_DATA_COUNTER_H_
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1edcbf493747932559c14f9a36db2c3b946c3525 | 08d53d80cc8c984eaaaf96bb96e62db92493e646 | /TP3/src/veterinario.cpp | c92b7863e9c3832e9b2f2169115b8d8376f5a375 | [] | no_license | SALajes/FEUP_AEDA | 03beaa5e6c4e2d6eae77cff7f0f59c781136c0e5 | 7387b83c414b260f4d7d0c377fcafa3e014d5b29 | refs/heads/master | 2022-12-04T13:21:59.703101 | 2020-08-18T21:31:05 | 2020-08-18T21:31:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp |
#include "veterinario.h"
Veterinario::Veterinario(string nome, int cod)
{
this->nome = nome;
codOrdem = cod;
}
string Veterinario::getNome() const {
return nome;
}
| [
"up201704066@fe.up.pt"
] | up201704066@fe.up.pt |
401ed35aa2a26f3634788d41b5cc2e6a49c6243f | 525e0bacc4c5abe5a0b58680c3ee59e918dd1811 | /drogon_ctl/main.cc | 46383adfdb7b75cc8e441fd01833f610e929c243 | [
"MIT"
] | permissive | willishz/drogon | c94a82190b63b2468f5005ef4c0aaba57d576b94 | dfffae224329b589afad022293a2aefe2f438db2 | refs/heads/master | 2020-03-27T12:42:55.284697 | 2018-08-29T03:30:04 | 2018-08-29T03:30:04 | 146,563,969 | 4 | 0 | null | 2018-08-29T07:43:59 | 2018-08-29T07:43:59 | null | UTF-8 | C++ | false | false | 695 | cc | /**
*
* @file
* @author An Tao
* @section LICENSE
*
* Copyright 2018, An Tao. All rights reserved.
* Use of this source code is governed by a MIT license
* that can be found in the License file.
*
* @section DESCRIPTION
* this is a drogon lib tool program
* run drogon_ctl help to get usage
*/
#i... | [
"20741618@qq.com"
] | 20741618@qq.com |
80df0d232f42ba3434d7917cdaef2a0721e2404a | 41399e1aae3167208a438f34323bd30da4167108 | /cartridge.cpp | d927b901321f9cc66acaa6136db40a748a439e85 | [] | no_license | ModernHermeticist/cnesnes | ded96a6ca7098803d1993bb03fe8b4e9d12b973b | 2bceb4b3fa3856b29d2d90516a362f446eb7e19f | refs/heads/master | 2022-11-10T05:23:48.331901 | 2020-07-01T13:41:34 | 2020-07-01T13:41:34 | 164,347,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #pragma once
#include "main.h"
Cartridge::Cartridge(std::string romName)
{
name = romName;
}
Cartridge::~Cartridge()
{
}
bool Cartridge::loadRomFile()
{
file.open(name, std::ios::binary);
if (!file.is_open())
{
std::cout << "ROM File failed to open! Exiting.\n";
return false;
}
std::cout << "ROM File ope... | [
"34329481+ModernHermeticist@users.noreply.github.com"
] | 34329481+ModernHermeticist@users.noreply.github.com |
7c40e4d488d8b0014377f065516dd70b59f08168 | 812125f1d67ab7cb468a06171fb6ef86c8ef1483 | /param/i.cpp | d08d45e4e4e56923f569fdd8ba40e947f1c9c72d | [] | no_license | sxw106106/cpp-learning | 861e8d67ed29ce0ceac78acb900e4756667adad6 | 7cd2817699e816acd6725137e6f7254b9fcbe1a0 | refs/heads/master | 2021-01-21T06:46:47.779675 | 2014-03-24T16:20:28 | 2014-03-24T16:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | #include <stdio.h>
void func(const int *a, int size1,int size2)
{
for(int i=0; i< size1;i++ )
{
for(int j=0; j < size2; j++ )
{
printf("%d\t",a[i*size2 + j]);
}
printf("\n");
}
}
int main(void)
{
int a[2][3]={{1,2,3}, {4,5,6}};
// char *b = &a[0][0];
func( &a[0][0], 2,3);
}
| [
"no7david@gmail.com"
] | no7david@gmail.com |
04fe3d19e2cfbe7a92d65385d50331f864273cf0 | a063a4138dca1621784facf9b01e74054ce177be | /players/player.h | e35f6ffb5c3dcb8bf26245833bb1f4d3b0ea63dc | [] | no_license | SamCrispin/BattleshipsV2 | ccd730b920280d515e1def125150a0a6b4c7729e | 2786493069890b1bf5f6fcc923ca2979f45ded6f | refs/heads/master | 2020-12-15T13:33:10.277946 | 2020-01-20T14:18:53 | 2020-01-20T14:18:53 | 235,118,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h | #ifndef PLAYER_H
#define PLAYER_H
#include "../helper.h"
class Controller;
class Player {
protected:
std::string _name;
int _order;
int _score;
std::vector<std::vector<Cell> > board;
int target;
virtual Pos genShotLocation() {Pos pos; return pos;};
virtual... | [
"samuel.crispin@ada.ac.uk"
] | samuel.crispin@ada.ac.uk |
2fbced379dcbb757a647252a656fac72b4f8936d | 0f40e36dc65b58cc3c04022cf215c77ae31965a8 | /src/apps/vis/properties/int/vis_property_constant_int.h | 8a734ab07d524d81a77d2ed0e01cdd15f5b0d0ab | [
"MIT",
"BSD-3-Clause"
] | permissive | venkatarajasekhar/shawn-1 | 08e6cd4cf9f39a8962c1514aa17b294565e849f8 | d36c90dd88f8460e89731c873bb71fb97da85e82 | refs/heads/master | 2020-06-26T18:19:01.247491 | 2010-10-26T17:40:48 | 2010-10-26T17:40:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | h | /************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004,2005 by SwarmNet (www.swarmnet.de) **
** and SWARMS (www.swarms.de) **
** Shawn is free so... | [
"csinger08@users.sourceforge.net"
] | csinger08@users.sourceforge.net |
e212db28258fdac2ebd935d6441734ff839cacc7 | 460f981dfe1a05f14d2a4cdc6cc71e9ad798b785 | /3/amd64/envs/navigator/include/qt/QtQuickTemplates2/5.9.7/QtQuickTemplates2/private/qquickscrollbar_p_p.h | 431bb38398a417ac5c56ebf1de4a744c5832a0b0 | [
"GPL-2.0-only",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"LicenseRef-scancode-mit-old-style",
"dtoa",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain-disclaimer",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"MIT",
"BSD-2-Clause",
"LicenseR... | permissive | DFO-Ocean-Navigator/navigator-toolchain | d8c7351b477e66d674b50da54ec6ddc0f3a325ee | 930d26886fdf8591b51da9d53e2aca743bf128ba | refs/heads/master | 2022-11-05T18:57:30.938372 | 2021-04-22T02:02:45 | 2021-04-22T02:02:45 | 234,445,230 | 0 | 1 | BSD-3-Clause | 2022-10-25T06:46:23 | 2020-01-17T01:26:49 | C++ | UTF-8 | C++ | false | false | 4,290 | h | /****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Quick Templates 2 module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding... | [
"dwayne.hart@gmail.com"
] | dwayne.hart@gmail.com |
8ab266d89eeb127420a3e9c814d53231ec524899 | ccbf524a6c7e085f0611fe069fbde6761761bd4e | /1312B.cpp | da420578050d839f2f47d4ac7d07a8716fcf9688 | [] | no_license | SARPAINe/Codeforces | 73e1d561123cfeca7cb99e5d60e9186762be0936 | 4e3234dc9ff12b5115f8e638847b3c0bd418c08c | refs/heads/master | 2023-02-02T21:53:53.118298 | 2020-12-12T08:05:32 | 2020-12-12T08:05:32 | 256,408,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | //#include<bits/stdc++.h>
#include<cstdio>
#include<cmath>
#include<cctype>
#include<cstdlib>
#include<iostream>
#include<algorithm>
#include<string.h>
#include<vector>
#include<list>
#include<set>
#include<utility>
#include<map>
#include<queue>
#include<deque>
#include<stack>
#include <iterator> //iterators
#include<... | [
"ahmedshaharin7589@gmail.com"
] | ahmedshaharin7589@gmail.com |
ec4b6e92a2768b98e39d5d2c411a05ec144a855d | ee33d5dbecc9057527385c40740b705c78f588b6 | /Binary_Trees/binary_search_tree.cpp | 8c5ef79b2ed39002c93c4d0c8758082d3e52a4fb | [] | no_license | Aryaman2912/DSA | 6d46ba80a3996b6918a866405263a4211c56ef4a | c3b4aeb92b7f47cefe0ab731d3492b7ddea6e0dc | refs/heads/master | 2023-02-13T00:28:58.268720 | 2021-01-16T13:28:31 | 2021-01-16T13:28:31 | 298,221,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,724 | cpp | // This program contains an implementation of binary search tree
// and some of its basic functions
#include<bits/stdc++.h>
using namespace std;
// Node declaration
struct BstNode{
int data;
BstNode* left;
BstNode* right;
};
// This variable keeps a check of the depth of the value being searched for in Search f... | [
"aryavnps@gmail.com"
] | aryavnps@gmail.com |
4f991a3ce74d4fe41bce9b5504468d32f7b891b8 | 39ee805e40b43ca3238b588e622367d6ae81b028 | /Version2/src/Chromosome.cpp | a63ec49d9c71c295262488e218accab6b832b81c | [] | no_license | Willbtsg/CS-307--Mendelian-Genetics | 40f21cce2ccf8872f3d718627cc167ddc40a229e | 74badbc0ae7efb4da467f9ce75c5010cca848961 | refs/heads/master | 2022-11-28T00:19:47.870185 | 2020-06-26T18:48:30 | 2020-06-26T18:48:30 | 275,182,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,813 | cpp | /*******************************************************************
* CS 307 Programming Assignment 2
* File: Chromosome.cpp
* Author: Will Thomason
* Desc: This program attempts to recreate a model of genetic
reproduction using chromosomes with linked traits.
* Date: 11/21/19
*
* I attest that this progr... | [
"willbtsg@gmail.com"
] | willbtsg@gmail.com |
aab5be0bf503922f89ffee4a9e264da238ddcc08 | d06cab7833202fbd36c72371afdb52fa6428df1a | /code/c++/search_facets.cc | 68696629a7bb4858b85e5e48c3cd7bc5bd684907 | [
"MIT"
] | permissive | Harshalc14/xapian-docsprint | 48e909fe089edf2271702aa8eaeeb6448f60ff7a | fa259ac0144f53b923cb56c91f8cfc431193fbd1 | refs/heads/master | 2022-12-17T22:58:32.399875 | 2020-10-01T07:07:46 | 2020-10-01T07:07:46 | 300,180,764 | 0 | 0 | NOASSERTION | 2020-10-01T07:07:47 | 2020-10-01T07:05:03 | Python | UTF-8 | C++ | false | false | 2,443 | cc | #include <xapian.h>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <string>
#include "support.h"
using namespace std;
static void
search(const string & dbpath, const string & querystring,
Xapian::doccount offset = 0, Xapian::doccount pagesize = 10)
{
// offset - defines starting point ... | [
"olly@survex.com"
] | olly@survex.com |
8a9adeacc21211ef4d592422fd24f1bf47fc272f | d91e62d3f3147f23a2d23cbec8cc781c6766324e | /JSGFKit/main.cpp | f9e57c7976898618ee9699f787bf1a3cdea1d6b5 | [] | no_license | 350740378/JSGFKit | 0b906e748a9c6a037e47ebd1fea9050a2e95e1c8 | 34e2b2fab6c36e269fd25f3c5f08d53bca7c9954 | refs/heads/master | 2020-09-25T17:25:01.001983 | 2019-12-05T09:16:31 | 2019-12-05T09:16:31 | 226,053,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,848 | cpp | // JSGFKit.cpp : 定义控制台应用程序的入口点。
//
#include "grammar.h"
#include <iostream>
#include <string>
#include <time.h>
#include <locale>
using namespace std;
/**
* \file
* An example that shows how to match test string against Rules and extract the tags that the input matched.
* Functions used: Grammar::matchesRule(), Gra... | [
"710190752@qq.com"
] | 710190752@qq.com |
ff7dc024b9f73321143afed885340a49f5ade0c4 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir35435/dir35536/dir35859/dir38267/file38405.cpp | 197d740d048acc72c6a5894978fbba9bab3dac1a | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file38405
#error "macro file38405 must be defined"
#endif
static const char* file38405String = "file38405"; | [
"tgeng@google.com"
] | tgeng@google.com |
c234ee752d0304da38db00d6ad18b52f6dcfc6c6 | 4b250da9813bd51979b7211778f720c0757eb82e | /codeforces/div2/697/A/A.cpp | 945fcb883f638edc964e7afa82423b41e972cc4e | [
"MIT"
] | permissive | mathemage/CompetitiveProgramming | 07f7d4c269cca0b89955518131b01d037a5a1597 | 11a1a57c6ed144201b58eaeb34248f560f18d250 | refs/heads/master | 2023-04-16T17:55:24.948628 | 2023-04-14T19:16:54 | 2023-04-14T19:16:54 | 26,391,626 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp |
/* ========================================
* File Name : A.cpp
* Creation Date : 30-11-2020
* Last Modified : Po 30. listopadu 2020, 00:27:19
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://codeforces.com/problemset/problem/697/A
* Points Gained (in case of online contest) : AC
... | [
"mathemage@gmail.com"
] | mathemage@gmail.com |
ace4735fc31b7430490b0fa3ec8d13636e7f9dc8 | f45b12581e62ad8995da7e1122d3f6c3673ae92d | /src/idcIDL.cpp | 881935f9522ce62bc85d367f68b22d809706d2a9 | [] | no_license | Society-for-Internet-Blaseball-Research/crisp | dfa1dd139d70f415ef531674b3da0bb82e086f9c | f284d6ee06ad041ca5fdf834099cf5cb0834db51 | refs/heads/main | 2023-04-14T08:08:44.096291 | 2021-04-23T21:19:28 | 2021-04-23T21:19:28 | 361,008,232 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | cpp | #include "idcIDL.h"
void idcIDL::ApplyCache(){
RWBinaryTreeIterator iterate(bt);
RWCollectable *rc;
datStockIDL *dat;
while(rc = iterate()){
dat = (datStockIDL *)rc;
for(int y=0;y<Chronographer->nyears();y++){
dat = (datStockIDL *)rc;
::Stocks[dat->getInt(0)].gui_set_idl(y,dat->getDouble(y));
}
}... | [
"allie@yuri.cafe"
] | allie@yuri.cafe |
e6ecc851770c5fa76dc4c49ba6fdedc102252023 | 527421f3589e943db64c476656927c62829d1524 | /system/ulib/svc/outgoing.cpp | afb79abd98233de84cc9f5cc235cac49edf16bfd | [] | no_license | wahwahwinner/smartnix | 5e0d0248ed8eaeb38d51a4b44c41eaa21d9c9b59 | f3aa1cc8873ec08f3ea7d66713843d3fdbebd7b5 | refs/heads/master | 2020-04-28T21:01:49.414154 | 2019-03-04T03:58:26 | 2019-03-04T03:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | cpp |
#include <lib/svc/outgoing.h>
#include <zircon/process.h>
#include <zircon/processargs.h>
namespace svc {
Outgoing::Outgoing(async_dispatcher_t* dispatcher)
: vfs_(dispatcher),
root_dir_(fbl::MakeRefCounted<fs::PseudoDir>()),
public_dir_(fbl::MakeRefCounted<fs::PseudoDir>()) {
root_dir_->AddEntry... | [
"376305680@qq.com"
] | 376305680@qq.com |
a75fcf44957c435592a8cc7f04d5e5eeac49e444 | a5dbcd47a9409d56f74387e618da235f06c54025 | /my-leetcode-master/111.cpp | 5c0d362b4f62dcc58c7fcbe8fc4d1a56f0e97e78 | [] | no_license | cajet/Leetcode | 29ae3e0d17b37b267fb1487e93c785d9a0cd3990 | 91c743d5c0c87ea3e81c1e19d00600ec59246c32 | refs/heads/master | 2020-05-22T19:33:54.509545 | 2017-12-19T03:37:36 | 2017-12-19T03:37:36 | 84,718,285 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int inline min(int a, int b) {
if (a < b)
return a;
else
return b;... | [
"824160883@qq.com"
] | 824160883@qq.com |
d814f3299ae7483ccb01ed243813fd0d23e74d5e | 96a72e0b2c2dae850d67019bc26b73864e680baa | /Study/DirectX/DirectX 11 Terrain Tutorials/Tutorial 16 Small Body Water/tersrc16/source/skyplaneclass.cpp | 4927006251d6ccb5de06efed2805d474266440e7 | [] | no_license | SeaCanFly/CODE | 7c06a81ef04d14f064e2ac9737428da88f0957c7 | edf9423eb074861daf5063310a894d7870fa7b84 | refs/heads/master | 2021-04-12T12:15:58.237501 | 2019-07-15T05:02:09 | 2019-07-15T05:02:09 | 126,703,006 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,725 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Filename: skyplaneclass.cpp
////////////////////////////////////////////////////////////////////////////////
#include "skyplaneclass.h"
SkyPlaneClass::SkyPlaneClass()
{
m_skyPlane = 0;
m_vertexBuffer = 0;
m_indexBuffer = 0;
m_Clou... | [
"SeaCanFly@gmail.com"
] | SeaCanFly@gmail.com |
5b4c61101cba8bbd418db517a6d7ad527a8190d5 | 03ee754445d2dc6abbb3c1f2a57a35519f8acc96 | /Object Oriented Code/obj.cpp | 250ca752c56b0e814763235130dd7b80c2bf67fc | [] | no_license | mizan-cs/Practise-Code | d34a67d1f3ea7a9a81e8096020227b705ca5ec13 | 74b21d810c242af249a17ec8fef683fdb3c0d1b0 | refs/heads/master | 2021-01-19T21:19:25.831029 | 2017-09-09T03:23:47 | 2017-09-09T03:23:47 | 101,249,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | #include<iostream>
#include<stdio.h>
class SortedLargest{
private:
int i,j,temp,getlarge,a[5];
public:
/*Class Constructor*/
SortedLargest(void){
cout<<"Enter Five Integer(press ENTER after each value): \n"<<endl;
for(i=0;i<5;i++){
for{j=i+1;j<5;j++}{
if(a[i]>a[j]){
... | [
"mysalfe02@gmail.com"
] | mysalfe02@gmail.com |
15e538da64273f9a9e2948f470e872b2e460ea68 | 1f4d05ccd0d7826d24461c10f0afa8909c3f9a88 | /cm_server.cpp | d4afe25969fa28006da516c65be2020b21ccd0d3 | [
"MIT"
] | permissive | veerkumar/Distributed_key_value_store | 6f36c71d82b3e186424e57ce9401b65492492cca | 548df2070bc32567ef7e083e717966b66bf23fec | refs/heads/main | 2023-01-31T09:50:14.490315 | 2020-12-15T07:45:49 | 2020-12-15T07:45:49 | 310,702,584 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,443 | cpp | #include "cm.h"
#include "utils.h"
using grpc::Server;
using grpc::ServerBuilder;
using grpc::ServerContext;
using grpc::Status;
void
print_vec_clk(int *vecclk, uint32_t size){
//int *int_vecclk = new int[size/4];
//memcpy(int_vecclk, vecclk, size);
cout<<"Vector clock: ";
for (uint32_t i=0; i< size; i++) {
c... | [
"pramodkumar5878@gmai.com"
] | pramodkumar5878@gmai.com |
5d06be815b5ee01b1e5c12b3b8437ce2e245c587 | 2b6cbe01dca6f4f97ae8b560e69c7cc44086cecc | /src/Radar/Radar.h | 0b6e4c998a51e006af6ebd671007c285e86015ce | [
"MIT"
] | permissive | HulinCedric/trafalgar-simulator | cf0cc6a67b3a12b7d203fe6be22a874fc896e71e | c383887cfaf4dfbb4a3afb268c7a8b5a9f8e13b6 | refs/heads/master | 2022-05-28T12:08:42.866518 | 2020-05-03T09:45:48 | 2020-05-03T09:50:07 | 260,871,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,234 | h | //
// IUT de Nice / Departement informatique / Module APO-C++
// Annee 2008_2009 - Package _Trafalgar
//
// Classe Radar : modelisation d'un equipement radar
//
// Edition A : TD_15
// + Version 1.0.0 : version initiale
// + Version 1.1.0 : introduction de la memorisation des echos radar
// ... | [
"hulin.cedric@gmail.com"
] | hulin.cedric@gmail.com |
413a367ad7a53b4165c85122cb1a2a7bdc31822f | bb6fd4f85cab2e52a76475cf48caa0793203d9d5 | /kyrs/Functions.h | fa644a66a7aae637031703a0edb06253ccf980af | [] | no_license | Unlucky-Buddy/FMwork | 47a15ce2fcda171fef0e62acd3ee071625e5bf0b | 524fa805eca9bf70dde61aaffc6e8fb3c6c65761 | refs/heads/main | 2023-05-17T13:48:15.148950 | 2021-06-08T11:22:47 | 2021-06-08T11:22:47 | 370,811,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <fstream>
#include <string>
#include <Windows.h>
#include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
struct edge
{
int x;
int y;
int w;
};
vector <int> leader;
vector <edge> e;
bool comparator(const edge &a, const edg... | [
"ad2610200@gmail.com"
] | ad2610200@gmail.com |
cb490882832c5c0e9a41aa834155af4d0a5d1dd2 | 335376915bcfcbbe45ba64eb2360700af4a5c108 | /chapter 3/chapter3Test.cpp | 967204aab63265fca79ffa11390da69a84d1a574 | [] | no_license | joelfelipe94/cracking-the-code-intreview-solved | 468634d201b5a04fcd1f7bba2abd390075cfdc62 | d8312b6f1d3d0909ddf157850ff56942d814f3ef | refs/heads/master | 2021-06-23T20:39:36.457905 | 2020-11-02T02:17:35 | 2020-11-02T02:20:59 | 142,895,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,805 | cpp | #include <gtest/gtest.h>
#include <vector>
#include "exercise1.hpp"
#include "exercise2.hpp"
#include "exercise3.hpp"
#include "exercise4.hpp"
#include "exercise5.hpp"
#include "exercise6.hpp"
#include "exercise7.hpp"
// Exercise 1
TEST(exercise1, Insert0)
{
ThreeStacks<int> stacks(9);
stacks.push(10, 0);
... | [
"joelfelipe94@gmail.com"
] | joelfelipe94@gmail.com |
8c17521468a8c08a74de2362a1ce496f038f5b59 | 90006f400332e961dc0137477a487d3c03c15de4 | /amira/wheelwright_git/src/matteoutils_git/test/missingmath/missingmathtests.cpp | f9e7be26be2693a7241c97ac4f888467fde41a1e | [
"Apache-2.0"
] | permissive | leonardopellegrina/SPuManTE | 98d8bc500352f941a53b128bc4068b87cd92547f | 0337b546c88e83d61abb6f11a0087cb173831781 | refs/heads/master | 2022-05-06T14:58:40.611965 | 2020-10-03T08:41:20 | 2020-10-03T08:41:20 | 187,865,430 | 1 | 0 | null | 2019-05-21T15:28:08 | 2019-05-21T15:28:07 | null | UTF-8 | C++ | false | false | 3,161 | cpp | /** @file missingmathtests.cpp
* Tests for the functions in MissingMath.h and NumericTools.h
*
* @author Matteo Riondato
* @date 2017 07 27
*
* @copyright
*
* Copyright 2017 Matteo Riondato <riondato@acm.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... | [
"leonardo.pellegrina@gmail.com"
] | leonardo.pellegrina@gmail.com |
43950ddedf97ad3089b590c3822c0575fbc5d695 | 8851801e08333dea65734eac5fce3ce1b0d0bb30 | /tests/hc05_data/hc05_data.ino | f7dbbe29f83b16f9505e5aadb8f5cbd0f35f40f4 | [
"MIT"
] | permissive | ukayzm/dwr | ff9496fb4a63fa198fd3f111359ef341ab530d1c | 7342883d9c84e39b90dd6d8e6c41462849525220 | refs/heads/master | 2023-02-08T15:59:57.452000 | 2023-01-28T01:47:52 | 2023-01-28T01:51:53 | 253,133,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,214 | ino | #include <SoftwareSerial.h>
SoftwareSerial BTserial(A0, A1); // RX | TX
const long baudRate = 115200;
#define MAX_CHAR 128
char line_buf[MAX_CHAR];
int buf_len = 0;
void setup()
{
Serial.begin(115200);
Serial.print("Sketch: "); Serial.println(__FILE__);
Serial.print("Uploaded: "); Serial.println(__DATE__);... | [
"kijong.uhm@gmail.com"
] | kijong.uhm@gmail.com |
2129a0a7782abc46096db61914e0075267be77ec | 190c2dc8dd46fa83060794b7941f83e83bd6c90c | /Euler/Problem16.cc | a9056efa638c2b80c56056a2c6c0d01b8188cee7 | [] | no_license | yku/Competition | 85ce169342e12c28e6d8dca8b78e00be1786403f | 892046f3e80fe3d30fa12ca77f5cbba2d0c764fa | refs/heads/master | 2020-05-20T08:14:01.912818 | 2014-04-13T05:28:26 | 2014-04-13T05:28:26 | 2,637,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cc | #include <iostream>
#include <algorithm>
#include <vector>
#include <cstring>
using namespace std;
int solve(void)
{
int ret = 0;
string digit = "1";
for(int i = 0; i < 1000; i++) {
int carry = 0;
for(int j = 0; j < digit.length(); j++) {
int t = (digit[j] - '0') * 2;
... | [
"kz2yz4@gmail.com"
] | kz2yz4@gmail.com |
a351834a39cb619d1c3a378666c84469b461e99e | db758e671b7de9579a4fa578449e985a075e5383 | /modules/ocl/cl_tonemapping_handler.h | 02f327a2e61e25b0a4e1a17ce88e87c35cfbc091 | [
"Apache-2.0"
] | permissive | DejunLiu/libxcam | 2436e2ebd45791ccf1a1a1dbee4eb06d1cf8f771 | 196b28224daabe223a4e1377885865eeac3eda4a | refs/heads/master | 2021-06-27T18:15:13.084597 | 2017-09-08T13:34:59 | 2017-09-12T11:49:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,033 | h | /*
* cl_tonemapping_handler.h - CL tonemapping handler
*
* Copyright (c) 2015 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/licens... | [
"feng.yuan@intel.com"
] | feng.yuan@intel.com |
eee038d3d4a53db7173d97fd0183deea7be9e25a | b55bec3dbf2abd507534cd46a86f49e7f539fc2a | /WOMAudioComponent/AudioController.h | 8c6b8e37a99f456f69b54672f7709e5932bf3fa4 | [] | no_license | igolopolosov/whofmusic | be7c27445d92581d145bd42acd07bf0696e969c7 | 5590916e0a2462d1d1bea5fe9a8878abac9bc84d | refs/heads/master | 2021-09-26T20:07:28.718452 | 2018-11-01T22:18:30 | 2018-11-01T22:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | h | #pragma once
#include <pch.h>
// Most important components
#include "SynthVoice.h"
#include "Patch.h"
// Plain old data structures
#include "DynamicSynthVoiceParameters.h"
#include "DynamicFilterParameters.h"
#include "KeyPressedArgs.h"
namespace WomAudioComponent
{
public ref class AudioController sealed
{
pri... | [
"igolopolosov@gmail.com"
] | igolopolosov@gmail.com |
91b13c5f521e0d43d95fbb28e02451990c0905ef | ea658fac119b77892bb4ac316364edf4d2102bbe | /APL/Kruskal/src/Kruskal.h | c0bb1a4f5b09d1872240b8c7202fdd5584182072 | [
"MIT"
] | permissive | abilng/MTech-Assignments | fc9aef4a3b410062d5b7e7344a7b3c97a410f6c5 | edb7a468eef6d8364551e8b6c04acf7c79831138 | refs/heads/master | 2020-04-17T11:34:34.714564 | 2014-05-03T17:14:58 | 2014-05-03T17:14:58 | 18,207,633 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | h |
#ifndef KRUSKAL_H_
#define KRUSKAL_H_
#include <stddef.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include "UnionFind.h"
#include "Sort.h"
#include "Graph.h"
using namespace std;
class Kruskal
{
private:
struct GraphNode* nodeSet;
struct GraphNode* lastGraphNode;
struct ... | [
"its.dipanjan.das@gmail.com"
] | its.dipanjan.das@gmail.com |
0a68d32ffc5597f5e2fa124758e22980a14e6f53 | 93b1fdf0435aff555de5e248018b18e5ca4de883 | /src/lab3pkg/src/lab3func.cpp | 5a084b1a394a8d3a3e0dd15c1219723c5f705ae4 | [] | no_license | alex-faustino/catkin_afausti2 | 7175d92296b29a0b8c89dfcaceff442361f80a21 | cbc0e37c236193569347f7e78cb9c1b3d485f5ca | refs/heads/master | 2021-08-30T17:51:39.911031 | 2017-12-18T22:09:08 | 2017-12-18T22:09:08 | 105,599,527 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | cpp | #include "lab3pkg/lab3.h"
/** translate DH parameters to Homogeneous Transformation Matrix
* Matrix4f is a type of 4x4 float numbered matrix.
* angles are in radian.
* distance are in meters.
*/
Matrix4f DH2HT(float a, float alpha, float d, float theta)
{
Matrix4f HT;
//you will need to write the... | [
"lyg1597@gmail.com"
] | lyg1597@gmail.com |
a2f0eac0e177cd09893cc2857abb3607ea7e288a | 6608d53f007b26c5d7516944df7ae7d2657559ea | /EnumSerial.cpp | 8bce7c53d738a05a5e232ce9fa89ff454048f320 | [] | no_license | shliu1/case1 | d178004f51e74a3f549c2f27775aed4f676e0cf9 | 570d18099949254bc58568c1cd8f6e9b273cb940 | refs/heads/main | 2023-01-05T09:09:38.406344 | 2020-10-29T02:35:26 | 2020-10-29T02:35:26 | 308,192,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,068 | cpp | /*************************************************************************
* Serial port enumeration routines
*
* The EnumSerialPort function will populate an array of SSerInfo structs,
* each of which contains information about one serial port present in
* the system. Note that this code must be linked with setupapi.... | [
"shliu1@nuvoton.com"
] | shliu1@nuvoton.com |
e46e99576a4ea438c755608e160a5518ad9bae93 | 33cd0cdcd092f38174d53a33669d08260ed8351b | /main-gtest.cpp | f284b6494f2d2a945ec290616f3f5e4a3f4f2565 | [] | no_license | josephalam1/csce240_f21_p3 | edd3431f3ad0740a64ee9a48a08e3cfdea125e1a | 133c209556523cb993b7fd42f897c1a8ea814ea4 | refs/heads/main | 2023-08-22T02:14:09.057816 | 2021-10-27T16:41:53 | 2021-10-27T16:41:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,508 | cpp | // Copyright 2021 Coleca24
#include <gtest/gtest.h>
#include <iostream>
#include "./ArrayList.cpp"
// DO NOT MODIFY THIS FILE
// Testing bool operator!=(const ArrayList<T> &) const;
TEST(Project3, test_operator_notEqual) {
ArrayList<int> a(2,1), b(3,1);
bool test = (a != a);
EXPECT_EQ(test,... | [
"jaalam@email.sc.edu"
] | jaalam@email.sc.edu |
5101b40a9c9a7ae04941626ff85eb1d722254d27 | 80ed2cf2156b7842d9c939e8d45c880149df8951 | /gui/src/physicsListGui.cc | f5c35ea90604cb898552e7c0e3a2b04b06b203af | [] | no_license | gemc/source | 6035b127d8bc647fb3334560d902efa9d669d65a | f8b293fa9e179ad2cca5894df1d3313887985101 | refs/heads/main | 2023-09-01T21:45:54.079663 | 2023-08-10T15:57:05 | 2023-08-10T15:57:05 | 39,267,814 | 13 | 137 | null | 2023-08-18T19:02:39 | 2015-07-17T17:59:38 | C | UTF-8 | C++ | false | false | 1,284 | cc | // Qt headers
#include <QtWidgets>
// gemc headers
#include "physicsListGui.h"
// G4 headers
#include "G4UIcommandTree.hh"
physicsList::physicsList(QWidget *parent, goptions *Opts) : QWidget(parent)
{
gemcOpt = Opts;
UImanager = G4UImanager::GetUIpointer();
// Layout:
//
// + +----------------------------+... | [
"maurizio.ungaro@cnu.edu"
] | maurizio.ungaro@cnu.edu |
0bbab3a756e69039f6882691b4810a23deb84fce | 1ad76b8cf215e4d10ba034ff4dfe124d170106df | /src/argon/osal/osal.hpp | c07cda6e96d9fcce314e911fd7553d1bf2f5532e | [] | no_license | OutOfTheVoid/Argon | a75d38975fa6d5bb1477cd055fd39d47867edffe | 7e430b5c099539a22776adbdd03df3c153eb84d8 | refs/heads/master | 2020-03-12T20:11:17.737516 | 2018-06-21T21:09:43 | 2018-06-21T21:09:43 | 130,800,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | hpp | #ifndef ARGON_OSAL_OSAL_HPP
#define ARGON_OSAL_OSAL_HPP
#include <argon/osal/targets.h>
#include <argon/osal/platforms/macosx/macosx.hpp>
#include <argon/osal/platforms/windows/windows.hpp>
#include <argon/osal/platforms/linux/linux.hpp>
namespace Argon::OSAL
{
};
#endif
| [
"liam.tab@gmail.com"
] | liam.tab@gmail.com |
22f75329f906cdb328843f2e1d53b90ca19b3f48 | ef15a4a77b6e1fbb3220a5047885ba7568a80b74 | /src/datafacades/DataFacades/StrAccess/SpecialMapKeys.hpp | 4ec5a52dec4533ca52a230791cf83a61c513f1b2 | [] | no_license | el-bart/ACARM-ng | 22ad5a40dc90a2239206f18dacbd4329ff8377de | de277af4b1c54e52ad96cbe4e1f574bae01b507d | refs/heads/master | 2020-12-27T09:24:14.591095 | 2014-01-28T19:24:34 | 2014-01-28T19:24:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | hpp | /*
* SpecialMapKeys.hpp
*
*/
#ifndef INCLUDE_DATAFACADES_STRACCESS_SPECIALMAPKEYS_HPP_FILE
#define INCLUDE_DATAFACADES_STRACCESS_SPECIALMAPKEYS_HPP_FILE
/* public header */
#include "System/NoInstance.hpp"
namespace DataFacades
{
namespace StrAccess
{
/** \brief type indicating handle of non-terms in handle map.... | [
"bartosz.szurgot@pwr.wroc.pl"
] | bartosz.szurgot@pwr.wroc.pl |
ddaa694dafaae333ba612663d53d01f5cb221d37 | 44f14cd8b4ab97e2a8f4af778338b571c95a44c6 | /CPP/ErrorMessage.h | ba9eac94e06e1bf68403b69a19a56693e478057d | [
"MIT"
] | permissive | jpdhernandez/academicProjects | f20df7ff4358e42ef0ef66f9ad980fd73f5650ca | 0506abdfa5ef41d12e6c01566c5fbb4df672d71f | refs/heads/master | 2021-01-12T14:08:12.115792 | 2017-02-16T01:53:56 | 2017-02-16T01:53:56 | 69,754,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | h | // Final Project Milestone 2
// File ErrorMessage.h
// Version 1.0
// Date 10/Mar/2016
// Author Fardad Soleimanloo
// Student Julian Philip Hernandez; 036054120; jphernandez2
// Description
// This is the header file for the ErrorMessage Class
#ifndef SICT_ERRORMESSAGE_H__
#define SICT_ERRORMESSAGE_H__
#include <iost... | [
"noreply@github.com"
] | jpdhernandez.noreply@github.com |
e9c44a4a78c850c90f60512d430513b595a20afa | 299e906b3c7c373b9f26522cc3832e383c8589c1 | /OldExams/S2014/Task2.cpp | cb42a03d82643123a0f0b5f7bdf1f47e65290d11 | [] | no_license | alexaoh/procAndOOP | e8067b33a865146b1d6bcc7a6a473bf019245c4e | af6c34811ccc5ad4c39a8ba539c519956c43661f | refs/heads/master | 2022-08-23T23:26:58.756948 | 2020-05-23T11:22:29 | 2020-05-23T11:22:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | cpp | #include "Task2.h"
ostream& operator<<(ostream& o, Tile t){
if (static_cast<int>(t) == 0) o << "*";
else if (static_cast<int>(t) == 1) o << "R";
else if (static_cast<int>(t) == 2) o << "Y";
return o;
}
ostream& operator<<(ostream& o, Board b){
for (int y = 0; y<ROWS; ++y){
for (int x = 0; ... | [
"alex.andunge@gmail.com"
] | alex.andunge@gmail.com |
bf4e0358ce3bfa2391231d02810cf00810b9354d | a251045e9e9987da89ad6f548ac45ce3e6b23ccf | /tam/src/ui/views/blueprintrenderer.h | 999534df7ec97499e9116d5addfc29816cfd0b86 | [] | no_license | andres-arana/degree-7542-tp | af75a656db0973489b220d09197dbe970750a8a0 | 29db4a9f1c2962a936cf860786cb30858cca65b5 | refs/heads/master | 2021-01-19T08:33:50.128079 | 2012-08-05T15:35:59 | 2012-08-05T15:35:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | #ifndef __UI_VIEWS__BLUEPRINTRENDERER_H_INCLUDED__
#define __UI_VIEWS__BLUEPRINTRENDERER_H_INCLUDED__
#include "renderer.h"
namespace ui {
namespace views {
/**
* Implementacion de Renderer que dibuja un fondo
* de un colo azul homogeneo
*/
class BlueprintRenderer : public Renderer {
public:
/**
... | [
"andres.arana@braintag.com.ar"
] | andres.arana@braintag.com.ar |
47bcb87678b10d9760fb395b25295b02a1491085 | 61c6ac40bd43d5494454d05e1076073f8c8d08d0 | /Blatt02/01_mitternachtsformel.cc | 1cd89bfad5eb227799f2c16bd1db94c5210ddd7b | [] | no_license | Adis560/ipk-exercises | 1b2ee49affc3a97a8ce55552c4ac799d3ed3863d | bb9db7bd76439b263d99de81c44ac8bb9bd779b7 | refs/heads/master | 2023-02-20T20:28:14.963689 | 2021-01-27T17:31:10 | 2021-01-27T17:31:10 | 315,983,477 | 0 | 0 | null | 2021-01-27T17:31:11 | 2020-11-25T15:42:26 | C++ | UTF-8 | C++ | false | false | 2,670 | cc | /* pk-exercises:2020-ws-8-g546f313
Uni-Heidelberg - Programmierkurs (IPK) WS20/21
Abgabe: 2020-11-20 | Aufgabenblatt 2 - Aufgabe 1: Mitternachtsformel
Alexandru Stefan Iov, Adis Klopic, Johannes Kolbe
*/
#include <iostream>
#include <cmath>
void mFormel(double a, double b, double square)
{
/* Berec... | [
"adis@klopic.com"
] | adis@klopic.com |
a0fbe6cdcd726493ec98afa6aabf579e90f43abb | d6564258ddcf0552c09ef86ae2751b51495c7ed3 | /Trees/BinaryTrees/constructTreeFromInOrderAndLevelOrderTraversal.cpp | 03a42009ad166303d6c578ee39ca60dcdfe4bc65 | [] | no_license | patiwwb/placementPreparation | f2c4ea38c5b4670b0b4d9e2c2c9d3bbfb40344ef | 22229e50dca7bb033edca2c4eef8d573603ca277 | refs/heads/master | 2021-06-18T17:54:18.313729 | 2017-07-09T15:49:15 | 2017-07-09T15:49:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | #include<bits/stdc++.h>
using namespace std;
struct Node{
int data;
Node*left,*right;
Node(int x){
data=x;
left=right=NULL;
}
};
int search(int arr[],int start,int end,int value){
for(int i=start;i<=end;i++)
if(arr[i]==value)
return i;
return -1;
}
int *extractKeys(int in[],int level[],int m,int n){
... | [
"Chirag"
] | Chirag |
dce592c16c175baf3077d48fb49974c5e13e9cbe | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /media/gpu/windows/media_foundation_video_encode_accelerator_win.cc | 0bb9512404459c6e8c4307e0fe2111a99be6b6d1 | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 28,754 | 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 "media/gpu/windows/media_foundation_video_encode_accelerator_win.h"
#pragma warning(push)
#pragma warning(disable : 4800) // Disable warning fo... | [
"279687673@qq.com"
] | 279687673@qq.com |
2c6930552b38954680209231c28d72a56201a83a | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /XtreamToolkit/v16.4.0/Source/Chart/Styles/Area/XTPChartRangeAreaSeriesLabel.h | 5630fd0dbc67860434fe517348c05af2f219ee86 | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 4,293 | h | // XTPChartRangeAreaSeriesLabel.h
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2013 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// ... | [
"kwkang@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | kwkang@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
0739527fe11e930d12456e644f435703ce7b64cb | 1f9ff37c2383ea01758a486eeb9d46185c28520f | /Solved Problems/Lucky_Numbers.cpp | d0ef75a43ecbea766657266b4cf3421ff010c50f | [] | no_license | Manii-M/InterviewBit | 992a9fbca290052d2386536443e57f62818bdc12 | b5d735d9c22edebfbcbd2ee06532cba28f18f64d | refs/heads/master | 2022-12-15T10:31:55.391785 | 2020-09-07T13:56:44 | 2020-09-07T13:56:44 | 263,404,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | /*
Approach - calculate SPF or each number till A.
taking that PSF calculate all the distinct prime factrs of that number.
Time Complexity - O(sqrt(n)log log n)
*/
int Solution::solve(int A)
{
vector<bool> prime(A + 1, true);
prime[0] = prime[1] = false;
int ans = 0;
vector<int> spf(A + 1, 0);
... | [
"manii.nitc@gmail.com"
] | manii.nitc@gmail.com |
a5e7cb59c5c51f6786d8c04f7dbbf87488f4c0b8 | 64d3491bdd2416af3212ba6512de8dedacd12a64 | /googletest/samples/sample7_unittest.cc | a5885116fb7f65906fc5fd36743120d71f272fab | [] | no_license | SimpleAuto/code-demo | aebeba83ee5fe95e3d6c3edd51a000176253bb05 | 8bef9c55b51970471c32765e018de1490131f1bc | refs/heads/master | 2020-03-08T13:48:45.231862 | 2019-07-30T13:47:06 | 2019-07-30T13:47:06 | 128,167,666 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,665 | cc | // Copyright 2008 Google Inc.
// All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions a... | [
"982737593@qq.com"
] | 982737593@qq.com |
8de15cf820928867be4034e3d6b4a9e0a4ad69fa | bba21a9bbd9a136ef7f38cad3233bf7a8e80f153 | /Backup/GameDevelopmentKit/Branches/Old/GDK/Content/ContentOSX/TextureResource.h | 10ffd8556e6448ee9317297c90a116d7204deabf | [] | no_license | rezanour/randomoldstuff | da95141b3eb7698a55c27b788b2bf3315462545c | f78ccc05e5b86909325f7f2140b18d6134de5904 | refs/heads/master | 2021-01-19T18:02:40.190735 | 2014-12-15T05:27:17 | 2014-12-15T05:28:41 | 27,686,761 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | #pragma once
namespace GDK {
namespace Content {
class TextureResource : public RuntimeObject<ITextureResource>
{
public:
explicit TextureResource(_In_ std::istream* stream);
// ITextureResource
virtual HRESULT GDKAPI GetName(_Out_ const wchar_t** name);
virtual HRESULT GD... | [
"rezanour@hotmail.com"
] | rezanour@hotmail.com |
851d8bf1508335e136e9b728b47c7cb7b426426c | bc0c6baf3e07e0188b949dae9f6dc2d9a2af04c5 | /TGA2Dfresh/Source/DX2DEngine/source/filewatcher/file_watcher.cpp | 68246d5c443ba49c96ee9d004862ec6d2a4529e2 | [] | no_license | IlliusFrost/Cool-game | 6a59122983f75b291fddf499ef2601557e3a16a2 | 2a4c5a5e892790491c5d6a04985d425534d7a395 | refs/heads/master | 2020-04-05T14:15:49.850346 | 2018-11-11T09:36:21 | 2018-11-11T09:36:21 | 156,921,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,339 | cpp | #include "stdafx.h"
#include "filewatcher/file_watcher.h"
#include <fstream>
#include <algorithm>
using namespace Tga2D;
namespace fs = std::experimental::filesystem;
CFileWatcher::CFileWatcher()
: myThread(nullptr)
, myShouldEndThread(false)
, myThreadIsDone(false)
{
}
CFileWatcher::~CFileWatcher()
{
myShouldE... | [
"illiusssm@gmail.com"
] | illiusssm@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.