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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
52a861a41a49ba7a50c940ad873b52b413a2e23f | ed3f41c557cd386bbf683b3dd5c404ed27d96f37 | /othello/ui/games/clivalidmovetreeviewer.cpp | c0cd7dbb71734697e8b095f1cd509ce5710473db | [] | no_license | lfgaleota/ECE-Othello | fabef5132e2a9291e69983922113258e096f26a9 | 3bf2e3699ce4f7086e8d823f99bcb114af696a9a | refs/heads/master | 2021-09-17T19:50:56.700174 | 2018-07-04T20:37:54 | 2018-07-04T20:37:54 | 86,936,276 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,117 | cpp | #include "../../inc/ui/games/clivalidmovetreeviewer.hpp"
using namespace std;
using namespace Othello::Board;
using namespace Othello::UI::Games;
CLIValidMoveTreeViewer::CLIValidMoveTreeViewer( Othello::Board::Tree::ValidMoveNode* m_tree, unsigned int depth ) : m_tree( m_tree ) {
if( m_tree != nullptr ) {
m_cursor... | [
"louisfelix@galeota.fr"
] | louisfelix@galeota.fr |
2aeabcd59eeeabae03fc98342c935f1f83d102d6 | e1061ab4409bf51c44981d6053f5e7b3d8ceadf0 | /src/tools/CToolCursor.cpp | 6ba76968ca8c3c5c379a417979ea0dff7d3a379b | [
"BSD-3-Clause"
] | permissive | desmondlr/chai3d | 033e2d86d2d66db7e00fd5f483b58a8469e54c09 | 1306e7cd213a5e838a251e1f2212ee15455f1bb5 | refs/heads/master | 2020-04-28T07:22:56.482259 | 2019-04-23T23:01:33 | 2019-04-23T23:01:33 | 175,090,060 | 1 | 2 | NOASSERTION | 2019-04-23T23:01:34 | 2019-03-11T21:58:01 | C++ | UTF-8 | C++ | false | false | 6,045 | cpp | //==============================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are perm... | [
"grange@forcedimension.com"
] | grange@forcedimension.com |
378f8c6dcf3d072713d93b825836832ce02a509c | a0a3ea710462789503b55e9bb13fa5d7c9f20bcf | /textTest/src/Text.cpp | 0c0b40d7616d510c0e0249e548ece87f0d95df43 | [] | no_license | miroslavavramov/Memory-Game | 2ff7731b7b901b9f03a2b8aadb54bd14ef49710c | 08815e84080a90f3d465e1c1bd60e0e4e58fa062 | refs/heads/master | 2020-05-19T23:07:10.007480 | 2017-03-08T11:55:45 | 2017-03-08T11:55:45 | 24,056,936 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | cpp | /*
* Text.cpp
*
* Created on: Sep 24, 2014
* Author: Todor
*/
#include "Text.h"
Text::Text() {
// TODO Auto-generated constructor stub
}
Text::~Text() {
// TODO Auto-generated destructor stub
}
void Text::Init(SDL_Renderer* a) {
m_textColor.a = 255;
m_textColor.r = 255;
m_textColor.g = 0;
m_textCo... | [
"miroslavavramovster@gmail.com"
] | miroslavavramovster@gmail.com |
e43df1067a5bb08d2ba2527eb761ee6ffd82ce7d | 116bf4d86f67aa5c18037b18bc1589e38400fa0c | /SDK/ZC_GadgetsInfoUnlockedWidget_classes.hpp | c886fb4857dfb9424f55e365e4d237bfe84a8020 | [] | no_license | hinnie123/ZeroCaliber_SDK | 67de4b0469acf273ca8b52450aa4036256ecdaef | 20786d77bb83366d8faa152aad117e8f90872c43 | refs/heads/master | 2020-04-03T03:41:38.590945 | 2018-11-10T14:32:07 | 2018-11-10T14:32:07 | 154,992,910 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,969 | hpp | #pragma once
// ZeroCaliber (0.6.0 EA) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass GadgetsInf... | [
"hindrik-sibma@hotmail.nl"
] | hindrik-sibma@hotmail.nl |
0704cf951aaa118a8876c1084abfc9a643684b96 | 15ec3beb26731df83817bfb9ae78c5373fb28f0a | /devel/.private/mavros_msgs/include/mavros_msgs/FileWriteRequest.h | 71755f5454e2d44bba47ad691355870dbe25cb35 | [] | no_license | jwpleow/PX4_GDP | 8f03619077a18c3bd5e881e36ca9222ea126ec20 | 15bb1614f9aedf3e7d4419cbaff602145a66214a | refs/heads/master | 2022-04-11T01:13:01.804189 | 2019-06-19T21:22:08 | 2020-01-29T22:45:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,222 | h | // Generated by gencpp from file mavros_msgs/FileWriteRequest.msg
// DO NOT EDIT!
#ifndef MAVROS_MSGS_MESSAGE_FILEWRITEREQUEST_H
#define MAVROS_MSGS_MESSAGE_FILEWRITEREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"woeltic@gmail.com"
] | woeltic@gmail.com |
bbb0acb8ba1a5d4b560f34eeef6d50d62cdedd72 | 21f7639aa6bbfc421fed3e28f94c47b5f6dfa39c | /cppLearning/template/explicit_instantation.cpp | e98212d8db6ebebc156af8b35f96d50e2c859ac9 | [] | no_license | hthappiness/codebase | 06d3fe41ed97b791fc53ca1e734fca1234cd82e0 | fb2af5f250d0ac69ba3dc324cbf65c34db39fd5c | refs/heads/master | 2021-07-23T04:09:36.361718 | 2021-07-11T13:41:40 | 2021-07-11T13:41:40 | 233,802,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,911 | cpp | /*
函数模板的隐式实例化和显式实例化
1. 隐式实例化:
1 #include <iostream>
2 #include <typeinfo>
3 using namespace std;
4
5 template <typename T>
6 bool compare(T a,T b)
7 {
8 cout<<typeid(T).name()<<endl;
9 cout<<typeid(a).name()<<endl;
10 cout<<typeid(b).name()<<endl;
11 return a > b;
12 }
13
14 in... | [
"329295821@qq.com"
] | 329295821@qq.com |
281e1f2a999a47bc0c92b99ca8e169c6891746ea | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/net/base/network_delegate.h | 21c8e6530f623cc22bab93a88a04105e47689c6c | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 11,520 | 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 NET_BASE_NETWORK_DELEGATE_H_
#define NET_BASE_NETWORK_DELEGATE_H_
#include <string>
#include "base/callback.h"
#include "base/strings/string... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
a734e3f6e540f6db3776c0a06d52c97f33e69c15 | 237d5f4fac499006369309fc05dd07bb1732ac3f | /lib/AST/ASTContext.cpp | ea266b4600dd0be19390e7c71cc09bd2a4b04f31 | [] | no_license | sysidos/b1c3995fdcf53d46308da57439df06ccbc05fe57 | 054f684f2cdccbb2eb3ad0cacff4afaaed19b134 | d338a5d855055b85dffab72263bcbeb028fdc3bb | refs/heads/master | 2022-11-27T20:50:42.894796 | 2020-08-07T12:28:47 | 2020-08-07T12:28:47 | 285,823,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,985 | cpp | //===--- ASTContext.cpp - ASTContext Implementation -----------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | [
"satish.babariya@gmail.com"
] | satish.babariya@gmail.com |
d749b64a5cde4f6d104d6815724dc1eeb3fc64d2 | 2054446dd26c7b1361e4eee6908e00c72e5b0325 | /src/fortran/qsort_inline.inc | 65b19d2e7de168a552884cd8a3ae6cc7a8f1bf4d | [
"Apache-2.0"
] | permissive | mengruizu/ginan | 65ad2cda89151cfe6e115da95d0c5ef0ea7a6621 | 598cfff85be52c53c4a03bca7c0540a9200b1ee3 | refs/heads/main | 2023-07-28T12:21:40.147648 | 2021-08-06T07:14:32 | 2021-08-06T07:14:32 | 409,628,081 | 1 | 1 | NOASSERTION | 2021-09-23T14:35:45 | 2021-09-23T14:35:45 | null | UTF-8 | C++ | false | false | 5,384 | inc | ! Fast inline QSORT for Fortran.
!
! $Id: qsort_inline.f90,v 1.1 2008/04/15 04:24:34 arjenmarkus Exp $
!
! Sorts a one-dimensional array; normally of a derived-type containing a sort key.
!
! Uses a optimized combination of QSORT and INSERTION sorting.
! The algorithm is based on code used in GLIBC.
!
! Using a multidi... | [
"john.donovan@ga.gov.au"
] | john.donovan@ga.gov.au |
8b848bd30523accb0b08d4537df1837e5cc9c7eb | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/wmi/wbem/winmgmt/esscli/dumbnode.cpp | 18dbb0ee6b23cef292b3a85b46f68e62d4cc6293 | [] | 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 | 32,417 | cpp | /*++
Copyright (C) 1996-1999 Microsoft Corporation
Module Name:
DUMBNODE.CPP
Abstract:
WBEM Dumb Node
History:
--*/
#include "precomp.h"
#include <stdio.h>
#pragma warning(disable:4786)
#include <wbemcomn.h>
#include <genutils.h>
#include "dumbnode.h"
#include "CWbemTime.h"
#inclu... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
ff6856690726b50d82b4fa16b308822fc98c6f90 | c60583df124939d7faf1a01447f1e28e1b2bd9b5 | /스타듀 밸리/image.h | c58f911e92254f2629463e1455019238a89e9b68 | [] | no_license | parkSee/stardewValley | cee55876f9723b71e56fbf711dc40f3ea2603bd3 | 843cd9992b4607fb0cb165ba5dae64ed232e866a | refs/heads/master | 2021-07-16T01:20:15.500751 | 2017-10-23T12:34:01 | 2017-10-23T12:34:01 | 106,686,250 | 2 | 0 | null | null | null | null | UHC | C++ | false | false | 5,379 | h | #pragma once
#include "animation.h"
//=========================================
// ## 2017. 07. 19 ## image Class ##
//=========================================
class image
{
public:
//이미지 불러오는 종류
enum IMAGE_LOAD_KIND
{
LOAD_RESOURCE, //from 리소스파일
LOAD_FILE, //from 파일
LOAD_EMPTY, //빈 이미지파일
LOAD_END
};... | [
"paper3300@naver.com"
] | paper3300@naver.com |
fde14f62aa938da186b192cbd8551c727b1fff2b | 1c0fb3cf5e54360bfd9ee1da54b0a8c1a9d89be2 | /rosaria/RosAria.cpp | ae4dc44d6a3d429498aedcd99e56cc0c6da8937e | [] | no_license | audelianoli/rosaria-hydro-ros-pkg | 1fe02a2e5f2ac64f019640cdab0a5c1a1de1a45c | c1c41fc9644c6ae5b6a989eb3385da8e09d7ebfa | refs/heads/master | 2021-05-30T13:49:10.639180 | 2015-08-20T23:50:32 | 2015-08-20T23:50:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,449 | cpp | #include <stdio.h>
#include <math.h>
#ifdef ADEPT_PKG
#include <Aria.h>
#else
#include <Aria/Aria.h>
#endif
#include "ros/ros.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/Pose.h"
#include "geometry_msgs/PoseStamped.h"
#include <sensor_msgs/PointCloud.h> //for sonar data
#include "nav_msgs/Odometry.h... | [
"audeliano@gmail.com"
] | audeliano@gmail.com |
2c9aaf1ef597a7f4b7f6ad5f4cd33c8aaa8c2a30 | 5dd7bf7ee61eab236890c64433b04c8404c224ad | /Midterm Practise 327/Old Test/q3.cpp | 8d89fa6f7aa31c983e3ed2f91471fd5caa118085 | [] | no_license | bmkuter/EC327 | 862911eb338b864861001556cfc6cfb3d1e95d4a | a3cc13f5066b06c7c023ff8555e8b74ab461a8b9 | refs/heads/master | 2021-02-09T04:00:29.239396 | 2020-03-18T23:01:17 | 2020-03-18T23:01:17 | 244,237,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include <string>
#include <iostream>
using namespace std;
void printEven(int numbers[], int numsize) {
for(int i = 0; i < numsize; i++){
if (numbers[i]%2==0)
{
cout << numbers[i] << endl;
}
}
}
int main(){
int arrayLength = 10;
int testArray[arrayLength] = {1,0... | [
"60325789+bmkuter@users.noreply.github.com"
] | 60325789+bmkuter@users.noreply.github.com |
41c6ce498c496467b2af61cec9ff49e375b01b19 | 6a69d57c782e0b1b993e876ad4ca2927a5f2e863 | /vendor/samsung/common/packages/apps/SBrowser/src/chromeos/dbus/fake_session_manager_client.h | 33a642ebc66432595cfdeb234ae29f3a914ab0c0 | [
"BSD-3-Clause"
] | permissive | duki994/G900H-Platform-XXU1BOA7 | c8411ef51f5f01defa96b3381f15ea741aa5bce2 | 4f9307e6ef21893c9a791c96a500dfad36e3b202 | refs/heads/master | 2020-05-16T20:57:07.585212 | 2015-05-11T11:03:16 | 2015-05-11T11:03:16 | 35,418,464 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,283 | h | // Copyright 2013 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 CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
#define CHROMEOS_DBUS_FAKE_SESSION_MANAGER_CLIENT_H_
#include <map>
#include <string>
#include "bas... | [
"duki994@gmail.com"
] | duki994@gmail.com |
313c0c72125862c5c304fb12940db26bd8bdf5b0 | 26458cd5a4aa8db6bfb42de54f5027e5a5e2d214 | /MongoDB/include/Poco/MongoDB/KillCursorsRequest.h | 1dce98760e914f283cbb8b0325aa6a31fb9f69b8 | [] | no_license | oscommonjs/sandbox | 184be2c648cb077e8cad2556ed615db7ae50d643 | 798c5f5258cb0e8cae02386e050b289a74acd272 | refs/heads/master | 2021-01-25T11:44:10.403338 | 2013-03-24T15:21:21 | 2013-03-24T15:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | h | //
// KillCursorsRequest.h
//
// $Id$
//
// Library: MongoDB
// Package: MongoDB
// Module: KillCursorsRequest
//
// Definition of the KillCursorsRequest class.
//
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge... | [
"fbraem@users.sourceforge.net"
] | fbraem@users.sourceforge.net |
44909a88d1d925486bd83a30655324dd6f4817dc | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/admin/wmi/wbem/providers/snmpprovider/provider/framework/trrtget.cpp | 4fce6e4d47d4d749a8e6cd0f98a962b3503baf82 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,276 | cpp |
//***************************************************************************
//
// MINISERV.CPP
//
// Module: OLE MS Property Provider
//
// Purpose: Implementation for the GetEventObject class.
//
// Copyright (c) 1996-2001 Microsoft Corporation, All Rights Reserved
//
//*******************************... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
ea240e62a26b45b9ab113635023b71bacec42112 | d04827974bbfe5faa46a967af0b7e072ca9e1220 | /hss/include/hssStatsPromClient.h | 02f28daac4a93bdf9b0cf8bb83e2a4ac45e331bf | [
"Apache-2.0"
] | permissive | krsna1729/c3po | b8640eeba51b10dd9873c15aefd952cfafc469c8 | df54425693014cfc0cbe10be897364df00f8523e | refs/heads/master | 2022-03-07T02:06:51.784244 | 2022-02-24T20:37:13 | 2022-02-24T20:37:13 | 172,896,481 | 0 | 0 | Apache-2.0 | 2022-02-25T02:02:39 | 2019-02-27T10:42:59 | C++ | UTF-8 | C++ | false | false | 11,173 | h | /*
* Copyright 2020-present Open Networking Foundation
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _INCLUDE_hssStats_H__
#define _INCLUDE_hssStats_H__
#include <prometheus/gauge.h>
#include <prometheus/counter.h>
#include <prometheus/exposer.h>
#include <prometheus/registry.h>
using namespace prometheus;
... | [
"thakur.ajay@gmail.com"
] | thakur.ajay@gmail.com |
84419e6fd88b142b95d5a9c60e10d5d1717b592b | 0c15e90397dff472343202bc24e8e3291553023e | /coral/io/async/AsyncSSLSocket.h | 00a8b626f0609d0832331a80c46c04a52f147b00 | [
"Apache-2.0"
] | permissive | lamoreauxdy/coral | 9960a7032eeed68bd058db065d45a6f4367b7dd8 | abda63576be594e70a0b7b9be853a541c9f4135e | refs/heads/master | 2021-01-18T13:32:40.620051 | 2015-09-05T07:12:04 | 2015-09-05T07:12:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,067 | h | /*
* Copyright 2015 Yeolar
* Copyright 2015 Facebook, Inc.
*
* 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 ap... | [
"yeolar@gmail.com"
] | yeolar@gmail.com |
9a19695693daef2b189e3c882a0905f042f70db0 | 70b3a6569970d0ae1d3ea4f230c6f13c7a96b917 | /Source/third_party/boost_1_44_0/libs/unordered/test/unordered/rehash_tests.cpp | ea281687c89d6de538d1a49113aebbdd8aee285b | [
"BSL-1.0"
] | permissive | lintaoqm/dreamfarmgdk | b7abce3d49f01f877cb8788d3b0509c6c23f5064 | a24e94f4cdbe3378a026cabf2254e940089eae04 | refs/heads/master | 2020-12-25T20:30:33.408767 | 2012-08-17T15:34:35 | 2012-08-17T15:34:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,025 | cpp |
// Copyright 2006-2009 Daniel James.
// 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)
#include "../helpers/prefix.hpp"
#include <boost/unordered_set.hpp>
#include <boost/unordered_map.hpp>
#include "../he... | [
"reven86@gmail.com"
] | reven86@gmail.com |
15993002a08c9ae06b224990919987ef5cb52274 | f53256b25a8717b18c8b400d19b08720c306aa40 | /_Packages/_Banque/AgenceBancaire/T_AgenceBancaire_A_1.cpp | 5c914761bac485509ffd44e41488a2ed8fc0591a | [
"MIT"
] | permissive | HulinCedric/cpp-course | 0650c6d0ba69817de8fb0e5a78704628758ff084 | 6bf3572208ae77ae8fb4022a40281f34bbbf4724 | refs/heads/main | 2023-05-13T00:22:07.853565 | 2021-06-03T07:51:26 | 2021-06-03T07:51:26 | 372,604,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | //
// IUT de Nice / Departement informatique / Module APO-C++
// Annee 2008_2009 - Package _Banque
//
// Classe CompteBancaire - Tests unitaires des cas d'anomalies
//
// Auteur : A. Thuaire
//
#include "AgenceBancaire.h"
#include "T:\_Tests\Tests\Tests.h"
void main () {
Tests::Begin("_Banque.AgenceBa... | [
"hulin.cedric@gmail.com"
] | hulin.cedric@gmail.com |
9b9589122c8c270b2ffab92c22367dfa9ae3b372 | 9d195ee578eed18af2637f8bdd137e0f0caae193 | /MetroMiniABS2/MetroMiniABS2/libraries/OlcbCommonCAN/PIP.cpp | 453a0753e9c63d860df0e29ccfbb3f4b3b276f40 | [
"CC-BY-4.0"
] | permissive | RobertPHeller/RPi-RRCircuits | 2fb95c73bbeecae4b4752bd3b061f237a7584123 | 6fa701e34990625b82db688b9e106ff3f3864c45 | refs/heads/master | 2023-01-11T07:11:56.560499 | 2022-12-31T18:25:13 | 2022-12-31T18:25:13 | 76,808,345 | 17 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | #include <string.h>
#include "PIP.h"
#include "LinkControl.h"
#include "OpenLcbCanBuffer.h"
#include "OpenLcbCan.h"
static LinkControl* link;
static OpenLcbCanBuffer* buffer;
static uint16_t dest;
static bool queued;
#define MTI_PIP_REQUEST 0x828
#define MTI_PIP_REPLY 0x668
extern "C" {
extern uint8_t protocolId... | [
"heller@deepsoft.com"
] | heller@deepsoft.com |
806b9507c6d0323ec2d70baa74b0739f17ee4f5e | 201c2251a68337ba09c9b993fe1989d595125eb9 | /leetcode/Count Number of Pairs With Absolute Difference K.cpp | 196f8955ea3a7c118242c460e82233e0595d687a | [] | no_license | AhmedKhaledAK/problem-solving-training | 92a928ca383d37abe493145d306e52cb08d5b4ef | 54dd37aef981ab1a8d55e46cf9f57ab1426f6353 | refs/heads/master | 2022-03-16T07:42:28.785189 | 2022-02-12T19:54:54 | 2022-02-12T19:54:54 | 191,613,437 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | class Solution {
public:
int countKDifference(vector<int>& nums, int k) {
int n = nums.size();
int ans = 0;
unordered_map<int, int> mp;
for (int i = 0; i < n; i++) {
if (mp.count(nums[i] - k)) {
ans += mp[nums[i] - k];
}
if (mp.coun... | [
"ahmedkhaledabab@gmail.com"
] | ahmedkhaledabab@gmail.com |
998da2a3cf0ea323dd0be4d9016a8b85299f6ee2 | 5fcacbc63db76625cc60ffc9d6ed58a91f134ea4 | /vxl/vxl-1.13.0/contrib/mul/clsfy/tests/test_k_nearest_neighbour.cxx | 5d4d38c0f869579d047d6d597d9e2875a50fb761 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | EasonZhu/rcc | c809956eb13fb732d1b2c8035db177991e3530aa | d230b542fa97da22271b200e3be7441b56786091 | refs/heads/master | 2021-01-15T20:28:26.541784 | 2013-05-14T07:18:12 | 2013-05-14T07:18:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,302 | cxx | // This is mul/clsfy/tests/test_k_nearest_neighbour.cxx
// Copyright: (C) 2000 British Telecommunications PLC
#include <testlib/testlib_test.h>
//:
// \file
// \brief Test clsfy_random_classifier, clsfy_k_nearest_neighbour and clsfy_rbf_parzen_window
// \author Ian Scott
// Test construction, IO etc.
#include <vcl_vec... | [
"hieuza@gmail.com"
] | hieuza@gmail.com |
693d4b8d9cf42720d1d9c57d36cce4ae2af97fe2 | 9b60ffbf3bb0d057d4cd2e00e8b87faee40fc3c6 | /esp2866/timer/helper.cpp | 7737003b7d8a323c3808e867fabeab4a5d94412f | [] | no_license | npmcdn-to-unpkg-bot/demiot | 18d50c6cb992763c3fccb1ff2e199fa94a03376c | d073d22cf163110334c9f9ddf068a318d8ffb2bf | refs/heads/master | 2021-01-15T13:43:20.237634 | 2016-06-01T17:49:11 | 2016-06-01T17:49:11 | 67,098,544 | 0 | 0 | null | 2016-09-01T04:40:28 | 2016-09-01T04:40:28 | null | UTF-8 | C++ | false | false | 366 | cpp | #include "Arduino.h"
#include "user_interface.h"
void helper_function( void ){
Serial.println( "Called helper_function" );
}
os_timer_t myTimer;
extern bool timerCompleted;
void timerCallback(void *pArg) {
timerCompleted = true;
}
void user_init(void) {
os_timer_setfn(&myTimer, timerCallback, NULL);
os_tim... | [
"mckenna.tim@gmail.com"
] | mckenna.tim@gmail.com |
8b83fd968002333aa998f1c3cdfdbd1126eecf60 | c9a156314b7d1c54b8e5fdfc72dd4adcabdb6575 | /VulkanRave/Engine/Resources/BakedResource.h | b3792ad1b116f765567c3a105fe181e33003b907 | [] | no_license | BullynckVictor/VulkanRave | 96d88734bf792493013dbe48c3c8533ba2198e90 | 28e543a0ce3ad0543f7e0f0be404d9f0ba67adb7 | refs/heads/master | 2023-07-24T03:08:30.624841 | 2021-09-04T13:50:08 | 2021-09-04T13:50:08 | 376,907,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | h | #pragma once
namespace rv
{
struct BakedResource
{
BakedResource() = default;
BakedResource(size_t size, const char* data) : size(size), data(reinterpret_cast<const void*>(data)) {}
template<typename T>
const T& as() const { return *reinterpret_cast<const T*>(data); }
size_t size = 0;
const void* data ... | [
"victor.bullynck@gmail.com"
] | victor.bullynck@gmail.com |
6f83bc933147b6eea0c7a90d824e04bd5c170b12 | a1ed43533a99c3771501652264cb524ec177fa87 | /src/gpu/ccpr/GrCCPathParser.h | 1c09b98024992b08d96bd7097998135b5062d8bb | [
"BSD-3-Clause"
] | permissive | finddit/skia | bf21f99418cfaa005cd2963efa251a9587c99f5c | 7454cbdd159689e52909f6313d10f66846d89ac3 | refs/heads/master | 2020-03-21T10:35:51.847287 | 2018-06-22T19:53:02 | 2018-06-23T02:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,813 | h | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrCCPathParser_DEFINED
#define GrCCPathParser_DEFINED
#include "GrMesh.h"
#include "SkPath.h"
#include "SkPathPriv.h"
#include "SkRect.h"
#include "SkRefCnt.h"
#inclu... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
498866a32c42a0b0ee574744565927604caf6120 | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/DexBuilder.hxx | 744f4897ad644752bac54aac707ae49e25eb369c | [] | no_license | 15831944/PHStart | 068ca6f86b736a9cc857d7db391b2f20d2f52ba9 | f79280bca2ec7e5f344067ead05f98b7d592ae39 | refs/heads/master | 2022-02-20T04:07:46.994182 | 2019-09-29T06:15:37 | 2019-09-29T06:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | hxx | #ifndef NXOpen_DEXBUILDER_HXX_INCLUDED
#define NXOpen_DEXBUILDER_HXX_INCLUDED
//--------------------------------------------------------------------------
// Header for C++ interface to JA API
//--------------------------------------------------------------------------
//
// Source File:
// DexBuilder.ja
//
// G... | [
"1075087594@qq.com"
] | 1075087594@qq.com |
eaf7f1ca5ac96f7d036297f7f8004f554ea0ed61 | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/UnityEngine_UnityEngine_ThreadAndSerializationUnsafe49301693.h | 05566c62b574281bd8e7dd1dcb5bc86b9249581f | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Attribute861562559.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
a4f99b74b6ed53b027675510c149dab968aa6c1b | 28d25f81c33fe772a6d5f740a1b36b8c8ba854b8 | /AtCoder_DP/K/main.cpp | 731d96ad262d16f35ad881f112ff2b06c90e7f4a | [] | no_license | ahmedibrahim404/CompetitiveProgramming | b59dcfef250818fb9f34797e432a75ef1507578e | 7473064433f92ac8cf821b3b1d5cd2810f81c4ad | refs/heads/master | 2021-12-26T01:18:35.882467 | 2021-11-11T20:43:08 | 2021-11-11T20:43:08 | 148,578,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int> vi;
int n, k, no;
const int MAX=1e5+3;
bool dp[MAX];
int main(){
scanf("%d%d",&n,&k);
for(int i=0;i<n;i++){
scanf("%d",&no);
vi.push_back(no);
dp[no]=1;
}
dp[0]=0;
for(int i=1;i<=k;i++){
for(i... | [
"ahmedie20022011@gmail.com"
] | ahmedie20022011@gmail.com |
c949da10ffa3c821bcaf7f427bc15773264320b6 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/hana/fwd/or.hpp | 86531e4058bbe232c889d3dfca70286d5dffd701 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 1,479 | hpp | /*!
@file
Forward declares `boost::hana::or_`.
@copyright Louis Dionne 2013-2016
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_FWD_OR_HPP
#define BOOST_HANA_FWD_OR_HPP
#include <boost/hana/c... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
a006e68af63b55972386da34c128c38cdf159767 | 07fbf3ab32180d94afb1eadd1a8f8ddd657e8656 | /NWNXLib/API/Mac/API/CJoiningRestrictions.cpp | 672d5bc3a3ef5dda604268834867b5da8f16a4e5 | [
"MIT"
] | permissive | ELadner/nwnx-unified | 3b322e8722eab70c9c72a45e71013b89dbbf1e89 | 09f8e8a0c1474e8b16d4746f9cb57ca870a17ce5 | refs/heads/master | 2021-09-04T08:52:06.521478 | 2018-01-17T13:04:29 | 2018-01-17T13:04:29 | 117,771,934 | 0 | 0 | null | 2018-01-17T02:29:14 | 2018-01-17T02:29:14 | null | UTF-8 | C++ | false | false | 149 | cpp | #include "CJoiningRestrictions.hpp"
#include "API/Functions.hpp"
#include "Platform/ASLR.hpp"
namespace NWNXLib {
namespace API {
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
a3265adfa708c4e08559787865eb7986c072f1c7 | b75746d852236a867a72f717efcacb9a3e141250 | /apps/JAWS2/HTTPU/http_response.inl | 15fc586ae4ea9ac64558df3a894558bdcf1e9636 | [] | no_license | longfem/ACE-toolkit | e8c94cc1d75a2930ceba78dac13d1b84c0efecc8 | c1fedd5f2033951eee9ecf898f6f2b75584aaefc | refs/heads/master | 2021-06-01T06:54:56.916537 | 2016-08-17T14:36:01 | 2016-08-17T14:36:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | inl | // -*- c++ -*-
#if !defined (ACE_HAS_INLINED_OSCALLS)
# undef ACE_INLINE
# define ACE_INLINE
#endif /* ACE_HAS_INLINED_OSCALLS */
ACE_INLINE
HTTP_Response::HTTP_Response (void)
{
}
ACE_INLINE
HTTP_Response::~HTTP_Response (void)
{
}
ACE_INLINE Parse_HTTP_Response *
HTTP_Response::response_line (void... | [
"yehonal.azeroth@gmail.com"
] | yehonal.azeroth@gmail.com |
c3f5b3970b6995ee4d0b663565c7c8e46b576676 | 60a15a584b00895e47628c5a485bd1f14cfeebbe | /comps/misc/Classifiers/Classify/Manual.cpp | e4505c06d46e31ff49117d6d9673ec210171435e | [] | no_license | fcccode/vt5 | ce4c1d8fe819715f2580586c8113cfedf2ab44ac | c88049949ebb999304f0fc7648f3d03f6501c65b | refs/heads/master | 2020-09-27T22:56:55.348501 | 2019-06-17T20:39:46 | 2019-06-17T20:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,808 | cpp | #include "stdafx.h"
#include "resource.h"
#include "manual.h"
#include "nameconsts.h"
#include "image5.h"
#include "data5.h"
#include "misc_utils.h"
#include "misc_templ.h"
#include "core5.h"
#include "Classes5.h"
#include "docview5.h"
#include "calibrint.h"
#include "class_utils.h"
#include "stdio.h"
#include "fcntl.h... | [
"videotestc@gmail.com"
] | videotestc@gmail.com |
a81a52daad0a3f98c9105aafeab0967bd60e2fe7 | 2d425892a82a980e4c0bb427a7ba1489fb5713fa | /src/ofxInputField.h | aa4bdbe0be4401cab412df3e815f3e7aa3a49eda | [] | no_license | fx-lange/ofxInputField | 19a5002e5e0dbac4632c4ce5f67c18f94850abe3 | c4f16b64c85bdae91fa157a7866c202488d450c2 | refs/heads/master | 2020-04-14T23:55:26.993023 | 2018-04-21T10:25:58 | 2018-04-21T10:25:58 | 40,554,012 | 14 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | h | #pragma once
#include "ofxBaseGui.h"
template<typename Type>
class ofxInputField : public ofxBaseGui{
friend class ofPanel;
public:
ofxInputField();
~ofxInputField();
ofxInputField(ofParameter<Type> _val, float width = defaultWidth, float height = defaultHeight);
ofxInputField* setup(ofParameter<Type> _val, f... | [
"langefx@gmail.com"
] | langefx@gmail.com |
72e6b3af91e4da132241d3a4a1f091bac5a78ea1 | 2aea549a86cb48d545f1d1273dc770e9ee5cc845 | /Engine/Code/Engine/RHI/RHIInstance.hpp | 4b424f62b62748aeb4a975e53baabd5533d45e60 | [] | no_license | soxymo/EphanovBox | 00dbda3a38f46138fc4ec6471854acf883fb144c | 473c7f01408959f7b9b2981412a019389a790050 | refs/heads/master | 2021-01-22T04:54:20.395695 | 2017-03-01T01:52:49 | 2017-03-01T01:52:49 | 81,597,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | hpp | #pragma once
#include "Engine/RHI/RHIDeviceContext.hpp"
#include "Engine/RHI/RHIOutput.hpp"
#include "Engine/RHI/RHITypes.hpp"
#include "Engine/RHI/RHIDevice.hpp"
class RHIInstance
{
public:
// Constructor is private: Singleton Class
~RHIInstance() {}
bool RHIInstance::create_output(RHIDeviceContext **out_contex... | [
"soxymo@aol.com"
] | soxymo@aol.com |
47680c5457e67e4780c058d57fb127131b05f405 | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-11-12测试1/source/PC07_jason/duplicate.cpp | ea48dc1b78f189b4b544a7bc741abc6635fce33e | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include<bits/stdc++.h>
using namespace std;
unsigned long long hsh[30001],prod[30001];
char s[30001];
int get_hash(int l,int r)
{
return (hsh[r]-hsh[l-1])*prod[30000-l];
}
const int base=29;
vector<int>v[27];
signed main()
{
freopen("duplicate.in","r",stdin);
freopen("duplicate.out","w",stdout);
int T;
scanf("%d"... | [
"506503360@qq.com"
] | 506503360@qq.com |
5d4c70f7349ebfacec2c724311b6e7613b1e6d26 | 02ce8a5d3386aa639ef1c2c2fdd6da8d0de158f9 | /ACE-5.6.1/ACE_wrappers/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp | 68ca873d59cb9b950110477c41c78fb27c4b922f | [] | no_license | azraelly/knetwork | 932e27a22b1ee621742acf57618083ecab23bca1 | 69e30ee08d0c8e66c1cfb00d7ae3ba6983ff935c | refs/heads/master | 2021-01-20T13:48:24.909756 | 2010-07-03T13:59:39 | 2010-07-03T13:59:39 | 39,634,314 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,479 | cpp | // $Id: local_fifo_client_test.cpp 78962 2007-07-20 03:27:14Z sowayaa $
// Send a file through ACE_FIFO communication channel by
// breaking it (the file) into pieces.
#include "ace/OS_main.h"
#include "ace/Mem_Map.h"
#include "ace/FIFO_Send_Msg.h"
#include "ace/Get_Opt.h"
#include "ace/Log_Msg.h"
#include "ace/OS_NS... | [
"yuwuxiong2010@gmail.com"
] | yuwuxiong2010@gmail.com |
1e3994cd5a3d1857f25ee468ab1899f9a692b318 | 7d13ea794029c44f8880373351cd273d737dc416 | /purenessscopeserver/purenessscopeserver/example-Module/AutoTest/AutoTest.cpp | 2315ba65d4ab87254d21128ba730ca30f2f6e190 | [] | no_license | icaas/PSS | af2502e6b771d6bc81c526b215836c40588c37c3 | c85747bb19794579d9189d934fef48db4f544469 | refs/heads/master | 2021-01-22T22:20:50.740885 | 2017-03-16T08:04:48 | 2017-03-16T08:04:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,841 | cpp | //用于PurenessScopeServer的专用测试组件
//add by freeeyes
//2013-12-24
#include "BaseCommand.h"
#include "IObject.h"
#include "ace/svc_export.h"
static const char *g_szDesc = "自动检测模块"; //模块的描述文字
static const char *g_szName = "AutoTest"; //模块的名字
static const char *g_szModuleKey = "AutoTest"; ... | [
"freeeyes@163.com"
] | freeeyes@163.com |
5274fb0230999267c9ed183f633684e80c32820b | f7c9f93a80011976bcd0967b70076b710d6197b2 | /CaptureApp/src/addons/ofxVideoGrabber/ofxVideoGrabberSettings.h | 812605be51e4ea34b234ab8e7d8bfe6b542723aa | [] | no_license | UnforeseenOcean/TheJanusMachine | 5b59fe7139b5547018ca6aca452a6322a58606b5 | e4bfa410daa0a7b004aa95d1323e79026ec1625f | refs/heads/master | 2021-01-18T23:33:07.018388 | 2011-09-06T08:52:37 | 2011-09-06T08:52:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | #ifndef _OFX_VIDEO_GRABBER_SETTINGS_H
#define _OFX_VIDEO_GRABBER_SETTINGS_H
#include "ofxControlPanel.h"
class ofxVideoGrabberFeature;
class ofxVideoGrabberSDK;
class ofxVideoGrabberSettings
{
public:
ofxVideoGrabberSettings();
virtual ~ofxVideoGrabberSettings();
virtual void setupVideoS... | [
"kyle@kylemcdonald.net"
] | kyle@kylemcdonald.net |
950192780abc9af290b0bf3fdd85c839e9bcb408 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/type_traits/nonesuch.hpp | a246d58a46643710dcf2ab2c6a6a3df3ff11ed04 | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | hpp | /*
Copyright 2017 Glen Joseph Fernandes
<glenjofe -at- gmail.com>
Distributed under the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt
or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_TT_NONESUCH_HPP_INCLUDED
#define BOOST_TT_NONESUCH_HPP_INCLUDED
#include <boost/config.... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
d2d4c74e910909f75d059f4a552928d9230303c0 | b42ea6d952d84d35b99058bb73cdeaf278599ec3 | /src/music.cpp | b22e5b03d2d38de6e5e810a74592bd5c6332eda9 | [
"Unlicense"
] | permissive | asdlei99/snaky | cdf86dcbe1b7b60751f12765a36a82d96bc8c7bb | c19988fcc978b00fd85f1b2a045547ecc5e8b998 | refs/heads/master | 2020-09-15T02:35:55.883341 | 2019-01-27T20:39:28 | 2019-01-27T20:39:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | #include "music.h"
#include "exception.h"
Music::Music() : gMusic{nullptr} {}
Music::Music(const std::string& path)
: Music()
{
gMusic = Mix_LoadMUS(path.c_str());
if (gMusic == nullptr) {
throw SnakeException(std::string("Could not load music! SDL_mixer Error: ") + Mix_GetError());
}
}
Music... | [
"phoemur@gmail.com"
] | phoemur@gmail.com |
40fc852079edfdf5b2d217cfd71cd338845f16e2 | 7c42d4faec683be901505d714c88c6e01b41a0d2 | /stereorect.cpp | 8dcf930b6ae82aea5f44cdcbe54c6a7d9c81b771 | [] | no_license | wiali/SLRx64 | dbd554fd507cf89b2c92855fd2445ef6029ad342 | 07a7ebf7d2af443bb2d0f65f683d730ee08c2844 | refs/heads/master | 2021-05-11T18:23:53.170148 | 2015-09-02T12:41:36 | 2015-09-02T12:41:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,034 | cpp | #include "stereorect.h"
stereoRect::stereoRect(QObject *parent, QString projectPath, cv::Size size) :
QObject(parent)
{
ppath = projectPath;
img_size = size;
}
stereoRect::~stereoRect()
{
}
void stereoRect::getParameters()
{
QString path;
path = ppath + "/calib/left/cam_stereo.txt";
loadMatr... | [
"1057703812@qq.com"
] | 1057703812@qq.com |
278173885fc9c14dd2ef504949f216c1c586786d | 31238e33dba5f4f8ec140c2a21c97de7acf0f79c | /chain/include/uosio/chain/block_header.hpp | ead7fab24d8eea608e5181b77e6da3fb1f094899 | [] | no_license | lialvin/ussuite | 461050b224c3485de14308eff26a2a1beee95f42 | c66ee35d539358d83b5538cb9a3833d52c3c7874 | refs/heads/master | 2021-08-16T09:59:33.777530 | 2020-03-31T08:39:00 | 2020-03-31T08:39:00 | 142,666,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,473 | hpp | #pragma once
#include <uosio/chain/block_timestamp.hpp>
#include <uosio/chain/producer_schedule.hpp>
namespace uosio { namespace chain {
struct block_header
{
block_timestamp_type timestamp;
account_name producer;
/**
* By signing this block this produc... | [
"lialvin@qq.com"
] | lialvin@qq.com |
b7f380a5ec292e548819b1e70d57b16f494ef55e | 6bac7de347b7e798e7bf0d317c97498bb3f51c9d | /src/blpwtk2/public/blpwtk2_webviewcreateparams.h | bfe0527afceeb938a6a15f6d1c60157f84cc28f5 | [
"MIT",
"BSD-3-Clause"
] | permissive | aakashusit/chromium.bb | 68357f6fc35f4079df5e6fbef4acc3e2f4531756 | 8b1e0c5518b3134c4c4eb6527e8a651baa2035bb | refs/heads/master | 2020-12-25T11:32:40.594186 | 2015-01-18T21:24:43 | 2015-01-18T21:24:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,911 | h | /*
* Copyright (C) 2013 Bloomberg Finance L.P.
*
* 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, copy, modify, mer... | [
"sbaig1@bloomberg.net"
] | sbaig1@bloomberg.net |
84b63288cddf092a198ff409e7cc3b5d2cb9050e | 9fa41870b7ace521c6c855f58067f9cf73fb115d | /BaseApp/frame.main.hpp | c21c9ef156b3cdaf7929ab4e089fd14d26146873 | [
"MIT"
] | permissive | jklim1253/wxWidgetSamples | 7433dedffc4f8b2dabc3f14dbc2ff936fbc4984f | fcbb5dab052aad50555f72f1fb31e16881311917 | refs/heads/main | 2023-02-28T06:17:02.203720 | 2021-02-08T09:33:34 | 2021-02-08T09:33:34 | 336,993,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | hpp | #ifndef __FRAME_MAIN_HPP__
#define __FRAME_MAIN_HPP__
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
# include <wx/wx.h>
#endif
namespace Frame
{
class Main
: public wxFrame
{
public:
Main(wxString const&, wxSize const&);
};
} // namespace Frame
#endif // __FRAME_MAIN_HPP__ | [
"jklim1253@gmail.com"
] | jklim1253@gmail.com |
3652508b7b613bb396637d920489b40d31201481 | dde8b97eee29cd6af17082cf84773d50bea7ca42 | /WHAnalysis/SimpleCounter/src/SimpleCounter.cc | 3126bf5675bcbc13037a50be3507b00f6cd60b2a | [] | no_license | calabria/WHAnalysis | 557cee96fe1dfe221a3a76f99b92f59c0800a8eb | 6cdcc0b73d94261f5ff7822b8bf5e48bc08268ae | refs/heads/master | 2021-01-23T13:36:11.593683 | 2014-04-12T10:39:44 | 2014-04-12T10:39:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,074 | cc | // -*- C++ -*-
//
// Package: SimpleCounter
// Class: SimpleCounter
//
/**\class SimpleCounter SimpleCounter.cc DTandCSCSegmentsinTracks/SimpleCounter/src/SimpleCounter.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: Cesare Calabria,161 R-0... | [
"cesare.calabria23@gmail.com"
] | cesare.calabria23@gmail.com |
a925c3be508e049a27dc3ecd05942915a2e7ae69 | c72ea3e81a87cb8d7042b87e59ca89c1a80622e4 | /clockseries1.cpp | 1716ddd3ba9f4d05b0142fd8a9c742061fa77d85 | [] | no_license | liuyl110/test_interpolation | 7b0b786d903cf1fec93b1301fa9bea4dace717c2 | a8643a3ce8349ee304948a6f05e25a99a5bc75b7 | refs/heads/master | 2020-03-25T17:45:01.876599 | 2017-05-27T08:34:52 | 2017-05-27T08:34:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,361 | cpp | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "clockseries1.h"
// Dispatch interfaces referenced by thi... | [
"1398215919@qq.com"
] | 1398215919@qq.com |
5903265cb830db08a14a0b8a98404d4c0f82c191 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483488_0/C++/FocusD/main.cpp | 69f28badf08f9ae9a2472c914921b0d9219a7e67 | [] | 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,007 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
char str[150];
char hash[300];
int change(int a) {
if(a < 10)
return 1;
if(a < 100)
return 10;
if(a < 1000)
return 100;
if(a < 10000)
return 1000;
if(a < 100000)
return 10000;
if(a < 1000000... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
05d943cc0ecf90711efee27d95289cccafa52f20 | 8e4a760464918bbae0cc1743e1b7814702405181 | /libliteprof/src/cfi_sanitizer.cpp | 5a19c1b678ed74ff60b0069e748f337c1b2b63d5 | [] | no_license | iu-parfunc/liteinst | 63d8c849a783a683cf8241e6573d7f49d99e03cf | b264b0a0e61cfd94d2a05378956173b2b6b1a124 | refs/heads/master | 2021-03-22T04:45:38.329124 | 2018-04-11T15:58:34 | 2018-04-11T15:58:34 | 82,407,546 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,593 | cpp |
#include "liteinst.hpp"
#include "process.hpp"
#include <assert.h>
#include <pthread.h>
#include <time.h>
#include <string.h>
#include <cstdlib>
using namespace liteinst;
using namespace utils::process;
enum ProfilerType {
SAMPLING,
BACKOFF,
NOPROF,
EMPTY
};
ProfilerType g_liteprof_type = SAMPLING;
int64_t ... | [
"budkahaw@indiana.edu"
] | budkahaw@indiana.edu |
ec857469a6947bfc53ea6dcfeb61155855a46a23 | d6e446a0b579f97d44852d8c8909bad9f428ecee | /src/rtx/rdma_logger_impl.hpp | 2e565b615415ebbbf70b7c1b4c7557ecaa7e3a40 | [] | no_license | spete/drtmh | 81391786af2f019513cb14b889abcfef2eb23c94 | a12faadb81034da7cf110f4c2cd7e48332f192a2 | refs/heads/master | 2020-03-31T15:36:47.151619 | 2018-10-07T13:04:17 | 2018-10-07T13:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | hpp | #pragma once
#include "core/rdma_sched.h"
#include "rdmaio.h"
namespace nocc {
namespace rtx {
using namespace rdmaio;
using namespace oltp;
class RDMALogger : public Logger {
public:
RDMALogger(RdmaCtrl *cm, RScheduler* rdma_sched,int nid,int tid,uint64_t base_off,
RRpc *rpc,int ack_rpc_id,
... | [
"wxdxxt2@gmail.com"
] | wxdxxt2@gmail.com |
936330abf3ee6210b7f3a3e32207fe6e771e4eb4 | 0c5e41068e669b738dcb79bbb43b0df5e8d38a72 | /BattleTank/Source/BattleTank/Private/SpawnPoint.cpp | fee089f6efab51875bf5c94d0a61e1b5e54a2885 | [] | no_license | iamgreggors/UE_BattleTank | a2a19c0b872cc6b8eb097d454b6edf6344fb6053 | fcc4738543056eb6b507a1256ae837c15514f9b3 | refs/heads/master | 2022-11-06T10:16:48.433148 | 2020-06-22T17:24:12 | 2020-06-22T17:24:12 | 268,593,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SpawnPoint.h"
#include "Kismet/GameplayStatics.h"
// Sets default values for this component's properties
USpawnPoint::USpawnPoint()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. ... | [
"gregory.a.mooney@gmail.com"
] | gregory.a.mooney@gmail.com |
c253b8cd891ead597c505d69f7991ce4386da92c | 58c2ce188c728e68e765abac93738a6308a8c12e | /src/qt/qrcodedialog.cpp | 9d5f18248955834535acc9a92e515786fcac3f0d | [
"MIT"
] | permissive | BitcoinRefill/BitcoinRefill-source | 2fd7d886d18cd8a5533e5f2994879edbcba55634 | c31a59e8eff4b2bb734e2745ee42d212aee72c9b | refs/heads/master | 2021-01-19T18:32:51.536591 | 2017-04-15T17:13:10 | 2017-04-15T17:13:10 | 88,363,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,316 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... | [
"BTCRF"
] | BTCRF |
3dcee90f804e76ef06b228617f6bfe94e9d10444 | 378d5285e01ccf7d9fccfd549e1ed7bafdf48d54 | /C&C++/shivam/123.cpp | b9ce34675e92871444103f35dfe7c735b2945f3b | [] | no_license | nixis-institute/practice | 0f59e74d6518a80c35c7d3a5e4281cebf0e266cc | 8d7b3f454e5103a0a5bceee034a604fcc098dbd1 | refs/heads/master | 2023-01-11T20:18:47.259472 | 2022-12-24T13:27:53 | 2022-12-24T13:27:53 | 144,467,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | cpp | #include "iostream"
using namespace std;
int main()
{
int i,j;
for(i=0;i<=10;i++)
{
for(j=0;j<=i;j++)
cout<<" c ";
cout<<"\n";
}
}
| [
"nixis.institute@gmail.com"
] | nixis.institute@gmail.com |
795890edcc65d78e5cd017da420137cd4faa4cf0 | 2fadcc10564afb019b86b3c0295b7f03933f521b | /Q3Radiant/PlugIn.h | 37355c894edd8bf08f3b2f87483e1b4d64ef9354 | [] | no_license | FS-NulL/Q3Radiant | a0288929d8e91e536a915ffb97148affbbe747de | c4e6234d910059dcd71d595ce3ab1eab97846a0f | refs/heads/master | 2021-01-20T12:01:08.686021 | 2018-04-15T17:15:33 | 2018-04-15T17:15:33 | 1,847,088 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | h | // PlugIn.h: interface for the CPlugIn class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PLUGIN_H__B501A832_5755_11D2_B084_00AA00A410FC__INCLUDED_)
#define AFX_PLUGIN_H__B501A832_5755_11D2_B084_00AA00A410FC__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER... | [
"jonathan.norton@gmail.com"
] | jonathan.norton@gmail.com |
8b2cd85f743b7e93e1ddc6b320127683cc244bcc | 5a66d961d5d0542be0fcb3f83961d2f07bab2401 | /PadmeMC/MagneticField/src/MagneticFieldMap.cc | 9202ff044fdd86d9e25ec5b696149b584d866726 | [] | no_license | PADME-Experiment/padme-fw | 1f2b56899e311b958945d0b1c4f934dfeeba761a | bec2a83e3a32b8db38977c404d78f4f36a384f30 | refs/heads/develop | 2023-08-06T11:27:10.402467 | 2023-07-18T10:15:50 | 2023-07-18T10:15:50 | 44,676,186 | 11 | 6 | null | 2023-07-18T10:15:52 | 2015-10-21T12:57:21 | C++ | UTF-8 | C++ | false | false | 2,707 | cc | #include "MagneticFieldMap.hh"
#include "globals.hh"
#include "G4SystemOfUnits.hh"
#include "G4UnitsTable.hh"
MagneticFieldMap::MagneticFieldMap()
{
// Default value: can be changed with set method
// fConstantMagneticField = 0.55*tesla;
fConstantMagneticField = 0.4542*tesla; // new default at 232A 07/03/2019... | [
"emanuele.leonardi@roma1.infn.it"
] | emanuele.leonardi@roma1.infn.it |
8d410a0b1268b4af8ef16998fafb6ad50c47e2de | 4c18fd69acd5da1e5422acf56a01d85a61d927fb | /src/uvw/type_info.hpp | 4acee3a3f9140f6b9671428a70320e1c7bbe16a5 | [
"CC-BY-SA-4.0",
"MIT"
] | permissive | stefanofiorentino/uvw | 372d7a90ca25567edb2c5b82f67ddaba4ae5d0be | 39b6aea2f101bd301877cbb087e558db165d5b4d | refs/heads/master | 2023-07-22T00:36:09.917301 | 2023-01-05T17:00:27 | 2023-01-05T17:00:27 | 186,373,872 | 0 | 1 | MIT | 2022-03-11T14:23:30 | 2019-05-13T08:06:00 | C++ | UTF-8 | C++ | false | false | 1,484 | hpp | #ifndef UVW_TYPE_INFO_INCLUDE_HPP
#define UVW_TYPE_INFO_INCLUDE_HPP
#include <cstddef>
#include <string_view>
namespace uvw {
/**
* @cond TURN_OFF_DOXYGEN
* Internal details not to be documented.
*/
namespace internal {
// Fowler-Noll-Vo hash function v. 1a - the good
[[nodiscard]] static constexpr std::uint32_... | [
"michele.caini@gmail.com"
] | michele.caini@gmail.com |
ae4de1f192503a396f07da0e710c65ece81567b5 | 4ee050c126c4bf29acb8103b153c3ac269c10dd9 | /src/tests/dummy-callback.cpp | df590e6be58acc153b25d9a71b34b2bccd78091d | [] | no_license | mengdilin/Cjango-Unchained | 95e0db859fab96f766b0c2ab3e85da479e0cedcc | 62bb923a2e34e93a9ff1f41a48396291cc1d573d | refs/heads/master | 2021-01-20T10:46:16.207185 | 2017-04-28T03:09:57 | 2017-04-28T03:09:57 | 83,937,221 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | #include <cjango>
extern "C" http::HttpResponse dummy(http::HttpRequest request) {
return http::HttpResponse("dummy");
} | [
"unset@unsert"
] | unset@unsert |
1b738d1d6b68367e0ca665911f3760f82eb6f37a | eba9cd2883a303c191832b5c39e841f26aa5b742 | /YLWQ/YLWQ/Game.cpp | 077ecd87c2099d2b16b66c00dddf27ee3a9cda7f | [] | no_license | tangduoling/ylwq-fishjoy | 8cc7bf51c23986e0ffb8e16a4c33d3b38d8dee07 | 951120a268dd4294ee72da5e70aa9c9f3f96ab5b | refs/heads/master | 2016-09-05T23:16:17.815059 | 2015-01-31T07:11:18 | 2015-01-31T07:11:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,456 | cpp | #include "Game.h"
//控制游戏全局
Game::Game(void)
{
}
Game::Game(HGE*hge)
{
phge=hge;
g_bover=false;
g_playernum=0;
g_effid=1+rand()%4;
m_gamesta=GAME_PLAYING;
g_com=new GCom();//初始化COM1接口
g_com->Init();
g_save=new G_Save();
g_savedata=new SaveData;
g_save->ReadSaveData("save.dat",g_savedata);
g_load=new G_Loadin... | [
"wucy2012@126.com"
] | wucy2012@126.com |
5de574be7fb1ba6351a25067da0d963c0540f45c | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/ui/views/stub/views_touch_selection_controller_factory_stub.cc | c02d507c146176a8f0277fa92b59cf755a3345a9 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/views_touch_selection_controller_factory.h"
#include "ui/base/ui_base_switches_util.h"
//#include "ui/views/touchui/touch_selection_co... | [
"unknown@example.com"
] | unknown@example.com |
64321bd7411effa073e1e8fe48a5911bcfe221f8 | 451977a0f94f393ddc5d786993f0b1dfb8e9ec18 | /src/JuegoC4.cpp | 28bd649398b7dd5fba34d30e30afc144a0149ce9 | [] | no_license | serginator/juegos-reunidos | 45412b0a20e7519e30e1899622a51fbe504f02b3 | f1e5f18a92bd23b425331f88e16424078603e3c1 | refs/heads/master | 2021-01-06T20:45:46.629231 | 2015-03-13T10:32:31 | 2015-03-13T10:32:31 | 32,137,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,902 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "JuegoC4.h"
//---------------------------------------------------------------------------
JuegoC4::JuegoC4():Juego2JTab()
{
if (tablero != NULL)
{
delete t... | [
"serginator@gmail.com"
] | serginator@gmail.com |
24a55c54646a1219c33cc118e081a4fd950081b9 | ba811c35e995751dd127d93b85668f61e18f870c | /post.cpp | 978bcc2175d5fb01bb6099c2b45465985e2decf2 | [] | no_license | jringstad/pbs-experiments | a76e2ce5b556de1fe8a14ab79a6fd888c1c31503 | 9370798eccee16f0abf7551048d3e11d471da0d2 | refs/heads/master | 2020-08-15T15:09:18.577011 | 2014-03-02T18:01:06 | 2014-03-02T18:01:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,214 | cpp | #include "post.hpp"
#include "shader.hpp"
const float data[] = {
1, -1, 0,
1, 1, 0,
-1, 1, 0,
-1, 1, 0,
-1, -1, 0,
1, -1, 0,
};
const int data_length = 18;
Post::Post(GLuint scene_color_args){
shader = new Shader("post.vsh.out", "post.fsh.out");
program = shader->program_id;
scene_color = scen... | [
"jwringstad@gmail.com"
] | jwringstad@gmail.com |
75aaebc8d93d8a4c8f9df8d3131df32cdd3be4b9 | 893b2fb575b4453d41656d7963963f5e9ab0d8b4 | /final-project/Snake/Game/Object/SnakeObject.cpp | 85e03f03ce5ce60840a74c5b309791fb03506892 | [] | no_license | dick20/PAOGD | 1308a4f22c159b3d7d93eb4e41bae3f42975b5dd | d8dd140f427795c17f45a2f3cd42e928589e28ab | refs/heads/master | 2020-04-30T01:33:36.791378 | 2019-07-14T06:52:40 | 2019-07-14T06:52:40 | 176,531,843 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 3,741 | cpp | #include "SnakeObject.h"
SnakeObject::SnakeObject(int x, int z) {
speed = 1.0f;
foodPos = glm::vec2(0.0f);
dead = false;
for (float i = 0.0f; i <= 1.0f; i += 1.0f) {
snake_node node(i+x, z, 3);
//node.x = i;
//node.z = 0.0f;
//node.direction = 3;
nodes.push_front(node);
next_nodes.push_front(node);
}... | [
"806179953@qq.com"
] | 806179953@qq.com |
19a49f7e880a2c13da8f1243bd84e6d83da8afe0 | 45e425ccfed054b2c92b6489f05070b02e25e6ef | /interviewbit/trailing-zeros-in-factorial.cpp | 0867bc543436d09393fd50d033819b91c32ddf88 | [] | no_license | riddhi2000/Competitive-programming | 7d249d6c8f3756b68da738583dca429bab99f661 | 13e1d4fd40add753dedf524bf827b01491b6408c | refs/heads/master | 2021-09-08T08:11:20.594961 | 2018-03-08T14:21:45 | 2018-03-08T14:21:45 | 108,946,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include <bits/stdc++.h>
using namespace std;
//for vectors
#define pb push_back
#define mp make_pair
typedef vector<int> vi;
typedef pair<int,int> ii;
typedef vector<ii> vii;
typedef vector<vi> vvi;
//data types
typedef long long ll;
//loops
#define REP(i,a,b) \
for(int i = int(a);i <= int(b);i++)
#define TR... | [
"riddhi.patel@students.iiit.ac.in"
] | riddhi.patel@students.iiit.ac.in |
306e9289e0033e7f21abf2c72d1c596a1e77e1c8 | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /engine/xray/ui/sources/ui_scroll_view.cpp | 1c852ffc85bdc2f464b24c4a3cdeb932f7cdac27 | [] | no_license | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,062 | cpp | ////////////////////////////////////////////////////////////////////////////
// Created : 30.01.2009
// Author : Andrew Kolomiets
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "ui_scroll_view.h"
#include <xray/input/keyboa... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
e5f82bb5f7316045058ce308a5c04fff97d51309 | 72e8486b1a8b5e6fa0b49d25a2e7ef9784e9490b | /proxy/http_parser/response_pre_body_parser.hpp | 70cec85d569fe95b99d2c23ddaeffa85851890ab | [
"MIT"
] | permissive | plater-inc/proxy | 1848b139d83f20cf7bb0030fa504a7ba771a0981 | f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda | refs/heads/main | 2023-08-07T18:01:10.276892 | 2021-09-27T14:15:35 | 2021-09-27T14:15:35 | 406,120,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | hpp | #ifndef PROXY_HTTP_PARSER_RESPONSE_PRE_BODY_PARSER_HPP
#define PROXY_HTTP_PARSER_RESPONSE_PRE_BODY_PARSER_HPP
#include "proxy/http/response_pre_body.hpp"
#include <boost/logic/tribool.hpp>
#include <boost/tuple/tuple.hpp>
namespace proxy {
namespace http_parser {
/// Parser for incoming responses.
class response_pre... | [
"kulewski@gmail.com"
] | kulewski@gmail.com |
2fbc729efe056e0b81d6b0cf55fda7a143e91943 | 5329f102b74e7ea7cfcd96b8340da93595a8d13c | /SpelfysikJimPer/RopeBall.h | ab0a359c1b83d6e399d8e99e22c7029cd94bb9ed | [] | no_license | JimNilsson/SpelfysikJimPer | 7d6c151ba3f1ecf6ff43ee7f3da9222e464831cc | f99db28b3538bcd1da20477ee15dde4ea6136a05 | refs/heads/master | 2021-01-15T22:29:39.047188 | 2015-10-16T18:03:29 | 2015-10-16T18:03:29 | 42,782,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #ifndef _ROPEBALL_H_
#define _ROPEBALL_H_
#include "PhysEntity.h"
#include "vec3f.h"
#include <SDL.h>
#include <math.h>
#include <Windows.h>
#include "Constants.h"
#include <iostream>
class RopeBall : public PhysEntity
{
public:
RopeBall(float mass, float radius, float ropelength, vec3f anchorpoint);
~RopeBall();
f... | [
"jimnilssonteit3@gmail.com"
] | jimnilssonteit3@gmail.com |
9eaef9e726037836a8bb41bebc1ac820e73a2b37 | 00a9590065a03a486994329bdc4b3ad3e58b3fda | /Stack/DynamicArrayStack_1/DynamicArrayStack.cpp | 76f4be6f3cc5d917b3eaf3fe738f36430c34f987 | [] | no_license | phongth7/DataStructures_AlgorithmAnalysis | 47e5c1bbc6f3277346cf7a43814ff99dd16cccff | 12a43fca55affc0b07ae15bfa4e30b849bf3d4d4 | refs/heads/master | 2021-10-16T13:38:25.451296 | 2019-02-11T10:57:28 | 2019-02-11T10:57:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | cpp | #include "DynamicArrayStack.h"
#include<iostream>
using namespace std;
Stack* create_stack(int capacity)
{
Stack* stack = (Stack*)malloc((int)((Stack*)0)->data + sizeof(stack_type)*capacity);
if (stack == nullptr)
{
cout << "memory out";
return nullptr;
}
for (int i = 0; i < capacity; i++)
stack->data[i] = 0... | [
"lzx1453536003@163.com"
] | lzx1453536003@163.com |
355bf4c3cc8a879ce8a4d1f8f2d52edc91db40a3 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /content/renderer/cache_storage/webserviceworkercachestorage_impl.cc | be2467e14b02570d426c0d9d0be84e77854fb834 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,507 | 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/cache_storage/webserviceworkercachestorage_impl.h"
#include <memory>
#include <utility>
#include "content/child/thread_safe_s... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
1d415019d259e5a9994920eda138a2c1464a44c7 | 462b6cb95f5d37fa26bb7d68207fbcf7cb236c32 | /includes/ETA_2.hpp | 0a036038397fa9abaee9ffa5f0f630c33a34a124 | [] | no_license | Elytum/ft_retro_deposit | 8114c788cf93d5e1b7a40389f3ab7c972e48e299 | b8da780ac9d14ca55e006eb6c7e3c15008d3f3df | refs/heads/master | 2016-08-04T23:03:15.538203 | 2015-07-18T10:45:05 | 2015-07-18T10:45:05 | 39,295,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | hpp | #ifndef ETA_2_HPP
# define ETA_2_HPP
# include <Ship.hpp>
# include <Container.hpp>
# include <PlasmaCanon.hpp>
# include <AMissile.hpp>
# include <Tools.hpp>
class Eta_2 : public Ship
{
public:
Eta_2( void );
Eta_2( float posX, float posY, float vecX, float vecY );
Eta_2 ( Eta_2 const & cpy );
~Eta_2( void ... | [
"achazal@e2r1p12.42.fr"
] | achazal@e2r1p12.42.fr |
82544fcf99f924a500c9c6b432f2a415b98bf02b | 52ffabb4cf82c3735fba1afd8c28b4646de1ebf7 | /NetworkLink.h | 47092e56aa0c61a30d7a60afb865df8b45dbeb5f | [] | no_license | SoonyangZhang/NetSim | 62b687f78647c34ce5c72ecc21c114d07da00986 | ccb4c4d4b19628e82b915699fd4e23424c953857 | refs/heads/master | 2021-05-26T21:17:51.211716 | 2014-03-13T22:56:12 | 2014-03-13T22:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | // Definition of NetworkInterface class
// ECE8893, Final Project, Fall 2012
#ifndef __NETWORK_LINK_H__
#define __NETWORK_LINK_H__
#include "Link.h"
class Node;
class Packet;
class NetworkInterface;
class NetworkLink : public Link
{
public:
NetworkLink(); // Construtor
Netwo... | [
"mckenzieclayton@gmail.com"
] | mckenzieclayton@gmail.com |
6f2d109cdaaffa5510cc3afa6895d55a0a16cc5b | 1614e4130751ceab99ecb0911124e62b5a3764a5 | /srcs/TypingWord.cpp | 1282f8fffafde3fb58649b97dd4d9e776cddd139 | [] | no_license | Iipal/typos | a5c1e5eedb65f922e63d64cf4ad74dba96a9443d | 724d01ea56031460e9fb5a5824f038f2aa502ee3 | refs/heads/master | 2023-04-20T00:26:31.373895 | 2021-05-03T22:19:14 | 2021-05-03T22:19:14 | 358,979,255 | 2 | 0 | null | 2021-04-30T08:55:32 | 2021-04-17T20:48:10 | C | UTF-8 | C++ | false | false | 2,111 | cpp | #include "typos.hpp"
TypingWord::TypingWord() {}
TypingWord::TypingWord(int y, int x, std::string_view str)
: pos(0), length(str.length()), color(COLORIZE_DEFAULT) {
const size_t word_length = str.length();
this->chars = new TypingChar[word_length + 1];
for (size_t i = 0; word_length >= i; ++i) {
this-... | [
"tmaluh@ustork.com.ua"
] | tmaluh@ustork.com.ua |
075d1f46b672ca072fe492e7b0890c765df802bf | 01a44a811cb27eb0c49c67a9846cea941df1d942 | /Projeto/ui_calcpol.h | 63a5dddf4d7072b50814420e1bf380453f6420c6 | [
"MIT"
] | permissive | NathanCortinaz/Cpp-Calculadora_Polonesa | 8c1197e81e75f593f4ed862ffb22de1c2c86f893 | 046518343f282a4f02232a14674a81af3822a639 | refs/heads/master | 2023-03-08T18:49:56.886749 | 2021-02-21T23:28:19 | 2021-02-21T23:28:19 | 341,027,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,828 | h | /********************************************************************************
** Form generated from reading UI file 'calcpol.ui'
**
** Created by: Qt User Interface Compiler version 5.9.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*******************************************... | [
"nathancortinaz@hotmail.com"
] | nathancortinaz@hotmail.com |
319728c894c00eb74713152554a8366b48cfee5a | bb69043c8e8037af7b5f3b01e3ce9e10d8bd2aa3 | /BackJoon/string/3035.cpp | 3ec73edcfc61ffc0979e475926c653dc00811315 | [] | no_license | youlive789/AlgorithmStudy | 30b7ca7b5fcd630d4f2bf7784bb4a31ecb96ecb1 | c61c01d0ded255acf1ace397e138c9b895cfd332 | refs/heads/master | 2022-05-15T19:17:45.128031 | 2022-04-21T00:30:15 | 2022-04-21T00:30:15 | 183,837,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include <iostream>
using namespace std;
char origin[50][50];
char enlarged[250][250];
int main() {
int r, c, zr, zc;
cin >> r >> c >> zr >> zc;
for (int i = 0; i < r; ++i) {
for (int j = 0; j < c; ++j) {
cin >> origin[i][j];
}
}
int lr = r * zr;
... | [
"youlive789@gmail.com"
] | youlive789@gmail.com |
fb5996d0cff74783f3ddeabd5b47247c01341357 | e5ccab843c7c8ebf155c319bce9fd57a30be5503 | /trainning-escom/modified_gcd.cpp | 33f249025b89f61edff556206f048f29aad6090e | [] | no_license | elsypinzonv/cpp_problems | 17532ee7c5e61b409fa84ecabfa3d35ffc8fdee5 | 6f287fb8ec0d997f9e5b58b38fe270253648e23d | refs/heads/master | 2021-01-15T15:45:00.724066 | 2016-09-10T15:48:19 | 2016-09-10T15:48:19 | 55,163,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | #include<iostream>
using namespace std;
#define optimizar_io ios_base::sync_with_stdio(0);cin.tie(0);
long long gcd(long long a, long long b){
if(b==0) return a;
return gcd(b,a%b);
}
void solve(){
long long a,b;
cin>>a>>b;
long long t;
long long l,h;
cin>>t;
for(long long i=0; i<t; i++){
cin>>l>>h;
long ... | [
"espinzonv@MacBook-Air-de-Elsy.local"
] | espinzonv@MacBook-Air-de-Elsy.local |
bf53db86d074a787befa0d46d0a6ab52fe1a0a89 | e70507ceb7c6d5f36b1768bf8dfd210b23c5586b | /data/beer.cpp | 278efee38871c11da416150b43ce8f7fb0c34ac5 | [] | no_license | carloswlkr/SmartKegerator_5Taps | 1e92be98c80034d5750d2a523fc271da6372d96f | 26b75fd1829985ac112bf2e7f349e8873e5b61b1 | refs/heads/master | 2021-01-10T13:27:28.284399 | 2015-10-21T03:59:52 | 2015-10-21T03:59:52 | 44,504,704 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,190 | cpp | #include <data/beer.h>
#include <app.h>
#include <data/settings.h>
#include <string>
#include <iostream>
#include <fstream>
#include <stdexcept>
#include <vector>
#include <map>
#include <QApplication>
using namespace std;
// Statics
map<int, Beer*> Beer::BeersById;
int Beer::NextId;
void Beer::LoadBeers()
{
s... | [
"carloswlkr@hotmail.com"
] | carloswlkr@hotmail.com |
46e7c41755c800fe0bf070c2cdf131afec275877 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_79_httpd-2.2.14.cpp | e7da414ff97aef92918fab2193fee04b05f778db | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,951 | cpp | static void ssl_proceed_handshake(struct connection *c)
{
int do_next = 1;
while (do_next) {
int ret, ecode;
apr_pollfd_t new_pollfd;
ret = SSL_do_handshake(c->ssl);
ecode = SSL_get_error(c->ssl, ret);
switch (ecode) {
case SSL_ERROR_NONE:
if (verbo... | [
"993273596@qq.com"
] | 993273596@qq.com |
e0995591a25c537b944a97a75df89fc3aff17602 | d71c8929b906c275f0e3aa2eff3f02f3a908b6ca | /tests/src/config.cpp | 1b4fd7b785c7c49cf88753766f0c53301089be5a | [] | no_license | olivermharrison/ImageProcessor | e18545ba32a917fc410e0e8789c498295aa4ccc9 | 13d1bcce1b0d93ae9f10655e748debfe0e0b6e91 | refs/heads/master | 2021-01-09T06:23:42.776401 | 2020-02-15T00:01:14 | 2020-02-15T00:01:14 | 80,979,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | #define CATCH_CONFIG_MAIN
//#include <Windows.h>
#include "catch.hpp" | [
"olivermharrison@gmail.com"
] | olivermharrison@gmail.com |
982bfda2b91dd80cfc5927a2ee5270c034f65dfd | 4f4dce5de08b7e5e0523ebb30f6001008b612fab | /Source/ActionRPGGame/Private/UI/HUD/ARHUDPlayerInfo.cpp | 2f9fcd524ec5e285e9deef6058d065fafb8bbdb4 | [] | no_license | Sariohara/ActionRPGGame | 98ec3abfb66cbacaa8414ad3ec5453221afc6290 | 9656224f96ab7195a516021128361530617fa152 | refs/heads/master | 2022-08-24T02:16:03.090127 | 2022-07-07T05:15:31 | 2022-07-07T05:15:31 | 118,512,251 | 0 | 0 | null | 2018-01-22T20:39:10 | 2018-01-22T20:39:09 | null | UTF-8 | C++ | false | false | 292 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ARHUDPlayerInfo.h"
#include "ARPlayerController.h"
void UARHUDPlayerInfo::NativePreConstruct()
{
Super::NativePreConstruct();
}
void UARHUDPlayerInfo::NativeConstruct()
{
Super::NativeConstruct();
} | [
"xeavien@gmail.com"
] | xeavien@gmail.com |
9754138e44b9a44b956d0f18c5503472b1ff7d56 | cb7c0b4287c2dbb8816311a715ce356a2165d9f7 | /WeeklyActivities/Activity12/RandomWalk/RandomWalk_test.cpp | b57b6c30bc71dfcbafa8a8d3fcda4f6dba73c469 | [] | no_license | willou44/PHY480 | 866c6fa4f8c37775acbd771bf04d5d3eebcfacc4 | 5a16fde2a7fa11c5b337bdcc9831b6c6e360add8 | refs/heads/main | 2023-04-21T19:43:02.971082 | 2021-05-04T16:38:56 | 2021-05-04T16:38:56 | 331,023,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | // file: RandomWalk_test.cpp
//
// Test program to for RandomWalk class
//
// Programmer: Dick Furnstahl furnstahl.1@osu.edu
//
// Revision history:
// 05/24/04 Original version
// 02/10/06 Updated and switched names of files
//
//******************************************************************
//... | [
"willou44@msu.edu"
] | willou44@msu.edu |
8f5321298d62d5c95d1d3038ea67de9bc2d219ba | 6477e39130e13f26b6069b541bd34939ff658f55 | /Test/include/Core/TBTK/Test/Index.h | 986cde0a739d89ba938e933960d311f24f4ae4e7 | [
"MIT",
"JSON",
"Apache-2.0"
] | permissive | randolf/TBTK | c220d4f05ecee405a46724da67fb895071a063ab | 4c182c4550d421ecd091e9cb58baf2a9ca149cf9 | refs/heads/master | 2021-04-15T18:16:42.710875 | 2018-03-24T00:09:56 | 2018-03-24T00:09:56 | 126,608,962 | 0 | 0 | null | 2018-03-24T14:45:59 | 2018-03-24T14:45:59 | null | UTF-8 | C++ | false | false | 8,324 | h | #include "TBTK/Index.h"
#include "gtest/gtest.h"
namespace TBTK{
TEST(Index, ConstructorEmpty){
Index index;
EXPECT_EQ(index.getSize(), 0) << "Empty Index does not have size 0.";
}
TEST(Index, ConstructorInitializerList){
Index index({1, 2, 3});
EXPECT_EQ(index.getSize(), 3) << "Index({1, 2, 3}) does not have s... | [
"dafer45@hotmail.com"
] | dafer45@hotmail.com |
b1c165d185dabd0deb7f4a6eacb323bbffa182a9 | f27a283f50ec287cf97b61698197614c5cffe928 | /Labo1/JeuxDeTests/Test2.cpp | f446cca86923b42179b1243f199a9420924b167f | [] | no_license | Delaval-Kevin/CPP_2019-2020 | 805626720457e2ce4005497a120303958a273edd | 4f772b78e590b40160455c607f7a23823a4daec5 | refs/heads/master | 2022-04-08T16:45:50.667008 | 2020-03-11T11:53:16 | 2020-03-11T11:53:16 | 244,902,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,452 | cpp | #include <stdlib.h>
#include <iostream>
using namespace std;
#include "ImageNG.h"
#include "Dimension.h"
int Menu();
void Essai1();
void Essai2();
int main(int argc,char* argv[])
{
int choix;
bool fini = false;
while(!fini)
{
if (argc == 2) { choix = atoi(argv[1]); fini = true; }
else choix = Men... | [
"delaval.k60@gmail.com"
] | delaval.k60@gmail.com |
b02a456785e3b1fd75d1d4f8d6d04eb25049d1b9 | 5694a3e32ffc0ddb83ed03e5e6c81a87940bd101 | /10929.1.cpp | 0bf4609d7024f5377e28200620fda9c3ee6df545 | [] | no_license | maknunlakme/Uva-Solutions | 50bcce1436a002898a826ca61ed22ebb8af441f7 | e4e25ffb0c0e78a0d540307f4118d65b0567709b | refs/heads/master | 2020-04-08T12:04:16.973329 | 2018-11-27T12:53:49 | 2018-11-27T12:53:49 | 159,332,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
string line;
int i,length,total;
while(1)
{
cin>>line;
if(line=="0")
{
break;
}
length=line.length();
total=0;
for(i=0;i<length;i++)
{
if(i%2==0)
... | [
"maknunsmail@gmail.com"
] | maknunsmail@gmail.com |
8b69e0bbb124d7417eebae2caada132bfc601121 | 8a98a3884f8d0ca9e5a4d0d189b6e20a49ab8cad | /13day/B-CPP-300-BER-3-1-CPPD13-karl-erik.stoerzel/ex04/Toy.cpp | 2064c7db5da65964944ce6eeb7fb2c281e1aa15d | [] | no_license | ImCookiieZ/Tek-2-CPPPool | 9bac2892e9540f25d313c9f2700355752cd741e7 | 070d105fe272e0c3df9bfa0d2ab7180c01a6b195 | refs/heads/master | 2023-07-23T08:25:43.221203 | 2021-09-07T07:32:10 | 2021-09-07T07:32:10 | 403,884,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | /*
** EPITECH PROJECT, 2021
** B_CPP_300_BER_3_1_CPPD13_karl_erik_stoerzel
** File description:
** Toy.cpp
*/
#include "Toy.hpp"
Toy::Toy()
{
_type = BASIC_TOY;
_name = "toy";
_picture = new Picture();
}
Toy::Toy(ToyType type, std::string name, std::string filepath)
{
_type = type;
_name = name;
... | [
"karl-erik.stoerzel@epitech.eu"
] | karl-erik.stoerzel@epitech.eu |
72bb8f9d2c00d61c10c53c9e2d034644c3864a1b | bdc05b7faa54d48de8e147cda6eddedd37e88b0a | /include/std_compat/threading/win32/mutex.hpp | d11a8ff5fc4ce096de6bc4b7cadf3a994aefdc10 | [] | no_license | starkmapper/stl_compat | 4e259899416916e5fb302a0720084358876f2357 | 41a053ff5804b6488660fea72d13ea177f9c60af | refs/heads/master | 2021-01-23T05:30:03.701046 | 2020-02-18T10:51:12 | 2020-02-18T10:51:12 | 86,311,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | hpp | #ifndef std_compat_win32_mutexH
#define std_compat_win32_mutexH
#include <Windows.h>
namespace std_compat
{
namespace win32
{
class basic_mutex
{
public:
typedef PCRITICAL_SECTION native_handle_type;
basic_mutex()
{
InitializeCriticalSection(&cs);
}
~basic_mut... | [
"chris.werkmeester@rhmarine.com"
] | chris.werkmeester@rhmarine.com |
11a395fac91a1755de9b3a50293a7bf2bd4c920d | ff27ebfd1236919f4ff951eaf352f26ae02c2f85 | /fundcomp2/lab9/part2/main.cpp | 602f6c659d7ee413de86a6dd84b5578a73467e11 | [] | no_license | ddurks/FundamentalsOfComputing | 5cc35be75372bf44a4741191846a2a7936f4ceb2 | 181e75ad9ff445056a725968b3517d3a8f8b159a | refs/heads/master | 2021-01-12T09:18:09.321674 | 2016-12-19T01:38:55 | 2016-12-19T01:38:55 | 76,817,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | //David Durkin
//main driver function
#include "Node.h"
#include "BinaryTree.h"
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <math.h>
int main(){
BinaryTree binary;
binary.makeNodes();
int j = 0;
binary.buildTree();
binary.postOrder(binary.getRoot());
} | [
"dldurks@gmail.com"
] | dldurks@gmail.com |
a4235355900dc45199640c22e2cba892d23d0288 | c019737868718fab1a2603c5c7ab4bf221946e76 | /work dialog/Alison/sources/main.cpp | e3d98c3389bc64eb36b3f841e169d2eccb0698c6 | [
"MIT"
] | permissive | SecretMG/Flower-Mail | af45c0ccb813a87ebc30bdba8c447c6459beb7b5 | 8f9104b11e2a6380355010ebe7e085a6383dd094 | refs/heads/master | 2023-07-13T17:23:36.852235 | 2021-08-04T08:04:42 | 2021-08-04T08:04:42 | 293,402,516 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include "loginwindow.h"
#include "register.h"
#include "getbackpwd.h"
#include "resetpassword.h"
#include "personinfo.h"
#include "help.h"
/* #include "settings.h"*/ //setting adjust
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
LogInWindow logInWindow;
logInWindo... | [
"reburnming@126.com"
] | reburnming@126.com |
2e6e323e72e3b4c2dbe71243746d682d82e4446b | d6f47656616b48d9241db28b439185edb0883479 | /kernel/Filesystem/Ustar/TarFS.h | 190a1fe54edba4127479c0babede52b2df434599 | [] | no_license | doytsujin/CyanOS | 28e7f2bb7e41ae5f2cb5ed8a0ddcd1983ef1dc0d | bef23f340c119fb234e91287bcb6372609fd7ba3 | refs/heads/master | 2022-12-12T17:26:03.315116 | 2020-08-25T18:38:19 | 2020-08-25T18:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | h | #pragma once
#include "INode.h"
#include "Lib/Stdlib.h"
#include "Utils/Assert.h"
#include "Utils/ErrorCodes.h"
#include "Utils/PathParser.h"
#include "Utils/Result.h"
#include "Utils/Types.h"
#include "Utils/UniquePointer.h"
#define MAX_TAR_FILE_NAME 100
#define TAR_ALIGNMENT 512
#define TAR_OCTAL_SIZE_LEN 12
... | [
"aymen.sekhri@live.fr"
] | aymen.sekhri@live.fr |
469bf35d1a7311ff6b83e9c5176ad2b645df2d7d | 250e5ae1392d4bdccaf3990e6d130c92eee88293 | /.svn/pristine/a1/a1eff85bce1943d55b9dbb0c77523ff0aebb8337.svn-base | df7f34323f368b6cdadc689f5132e7bcad9a79b4 | [] | no_license | ApplicationOfDog/CommonLib | ca57c8dde3cf33cb9a4044635da2f79555b9d293 | 54bd55ffbda7af619c175bc4c4f4af3225c31a2d | refs/heads/master | 2021-05-02T14:30:13.047289 | 2018-02-08T07:49:39 | 2018-02-08T07:49:39 | 120,717,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,620 | #include "stdafx.h"
#include "LogHelper.hpp"
#define LOGFILELEN_MAX 5242880
namespace System
{
namespace IO
{
LogHelper::LogHelper()
{
Init();
InitializeCriticalSection(&_hCritialSec);
}
LogHelper::~LogHelper()
{
DeleteCriticalSection(&_hCritialSec);
}
void LogHelper::Lock()
{
EnterCr... | [
"HFW493820802@163.com"
] | HFW493820802@163.com | |
bc0786a474f5e308d9c45c38e71611a552676653 | 47bb5ab12a769b1ecd69a87c23610846996c11f5 | /common/imageProcess/ImageScalerCore.h | 57a9957cf3612ecf965a8460de8f6d03708304fa | [
"Apache-2.0"
] | permissive | ruihe-rockchip/hardware-rockchip-camera | 136a98c2c41015588ca5e3eb3a2854ef513e368f | 08e95e662bc4b7cc8519b8db96b1df790aa71efd | refs/heads/master | 2023-02-27T07:39:04.131911 | 2021-02-07T02:34:10 | 2021-02-07T02:34:33 | 286,452,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,435 | h | /*
* Copyright (C) 2012-2017 Intel Corporation
* Copyright (c) 2017, Fuzhou Rockchip Electronics Co., Ltd
*
* 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.or... | [
"randy.wang@rock-chips.com"
] | randy.wang@rock-chips.com |
cb0ec75af723641d1e3b05d927f276df41c44a22 | 98240ac7b73262af5195c2046d9e7de411a032d6 | /kernel1/kernel.cc | b509f1c3907b9f107daf53c80fee33616b14ab79 | [] | no_license | Epica-Lolz/felixos | 4af303e26363fb54fe0ced674ab48bd9a8962552 | f1604826b4a16a0e7293d36f1c197b4def7b0385 | refs/heads/master | 2020-04-23T18:33:58.883797 | 2019-02-20T21:14:18 | 2019-02-20T21:14:18 | 171,369,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,336 | cc | /*
Felix OS meme kernel
cursed incomplete c++ kernel stuff
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdarg.h>
//if the compile target is "linux", throw an error
#if defined(__linux__)
#error "You are not using a cross compiler"
#endif
//if the compile target is not i386, throw... | [
"cat.nyane@gmail.com"
] | cat.nyane@gmail.com |
7beed9287f2cdd0ca3eebe03487e8237d0685f54 | 0ab4742eb87367031aa247d43e6a095aba13e7e8 | /ReverseSearchCAlgorithms/main.cpp | 5490890a44a4c09f2f3243ccc3f0d956be486484 | [] | no_license | LeoAlberge/ReverseResearch | 9b0b3dab8cf8433acb920a958f28415ad5c3e584 | 5a9333266824c65ffdd32c2c9c0578ce902bf512 | refs/heads/master | 2021-01-19T17:24:31.438538 | 2017-02-19T11:36:01 | 2017-02-19T11:36:01 | 82,453,616 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,092 | cpp | #define _USE_MATH_DEFINES
#include <cmath>
#include<vector>
#include<string>
#include<map>
#include <dirent.h>
using namespace std;
#include<Imagine/Graphics.h>
#include "descriptor.h"
#include "global.h"
#include "tools.h"
// processing of the database of examples
void process_db_example(const int size, int k, str... | [
"alberge.leo@gmail.com"
] | alberge.leo@gmail.com |
fa671b5c339cbafc0485c17d05d9cff8a681fa87 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/webrtc/test/testsupport/always_passing_unittest.cc | 79a486991885427236e3423e1a5b8c8b08286db9 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-takuya-ooura",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-... | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 682 | cc | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
a961786f8922bc38fd670a20dfb831205532a4f7 | 671482cb497fe19f055e166ebb58ad13c6a4b304 | /LoadPNG/lodepng_util.cpp | b77626c112abc047491578f44df546f048ab5c55 | [] | no_license | VoidStardust/OpenGL-Sandbox | ec15cc7811a4953a3118123429c3fe019df6bad1 | 0ea62ec9d28e61d3e4e703170e3d32065a9d820a | refs/heads/master | 2020-04-10T15:24:09.435228 | 2019-01-06T09:31:02 | 2019-01-06T09:31:02 | 161,108,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,437 | cpp | /*
LodePNG Utils
Copyright (c) 2005-2018 Lode Vandevenne
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including comme... | [
"alexyli0330@gmail.com"
] | alexyli0330@gmail.com |
8a2911970940a9c491a731bae3fdb2f52dd7f34f | 904cffbf0c308a42b010f127b9f83da62df28f27 | /sourcefiles/TreeTransformer.h | 166ff01cec206a37811bae1fff77b02f5e25824d | [] | no_license | suhastc/RPAL-Parser-and-CSE-Machine | a29340922b7b543e74b872aa9645ad6d091de38d | db077cf224b840e87bc6670344d04160237f30b1 | refs/heads/master | 2016-09-13T21:29:16.372691 | 2016-05-04T02:20:03 | 2016-05-04T02:20:03 | 58,015,115 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 795 | h | /****************************************
* TreeTransformer.h
* UFID: 49497535
****************************************/
#ifndef TREETRANSFORMER_H_
#define TREETRANSFORMER_H_
#include "TreeNode.h"
using namespace std;
class TreeTransformer
{
private:
TreeNode* createNewNode(TreeNode* t);
public:
TreeTra... | [
"suhastc@gmail.com"
] | suhastc@gmail.com |
7fc970bbfa42c2e0d74945a4ccf8bccd1ea95181 | b39efc1753e05829ae50f516969efdf088de4e59 | /codeForces/__contests/718div2/test.cpp | b143674276f276313d300a5bd0f0321c3d6b1977 | [] | no_license | iamshm/myCppPractice | cccbf5e13023d98bf06eda957925fdd8369ee4ed | 53afd204c3957e0d1b8c60dcceee493770ee4929 | refs/heads/main | 2023-06-14T06:05:51.029639 | 2021-07-05T18:35:28 | 2021-07-05T18:35:28 | 335,724,940 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
string s;
cin >> n;
cin >> s;
cout << n*n*n<<endl;
cout << s <<endl;
return 0;
}
| [
"krynx9.9@gmail.com"
] | krynx9.9@gmail.com |
7db5ac919a7eb63938fac8e72c8a6adea187b77c | 50bf62fd5cf747db848c01283e535c8ec59a1f9e | /other_version_red7ai/myp8/env.h | d574edcdbd76b294658f7e6c9fcbc2b41b752c0a | [] | no_license | WN1695173791/undergraduate | 19985941ea6ea5fc1cd89c232b228a3a111d0eea | 1261ddd74facbfa7128b05345f6efab7bcb252a0 | refs/heads/master | 2023-03-19T09:41:06.259173 | 2018-06-24T07:57:28 | 2018-06-24T07:57:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | h | #ifndef _ENV_H
#define _ENV_H
#include "const.h"
#include "cards.h"
#include "graph.h"
#include "distr.h"
//#include "sbt.h"
class Envirnment{
Cardsl p[2],s1,p1,p2;
int np,n[2],m[2],n1,pi,n2,r,sc1,sc2,sc[2], fm; // n for the number of cards in hands.
bool fc[M];
Graph graph;
int psc1, psc... | [
"thomaszhao1998@gmail.com"
] | thomaszhao1998@gmail.com |
a58192de43654f61774d686b373488cf0f331e00 | 9fb395db37eca4e19570ee324d7da858dcc61870 | /DMCore/Grounding/GroundingActions/GAWhatCanISay.h | e6046d4a71faf40abecbff3cfeb16daf496a9443 | [] | no_license | dream1202/DM | d6d6dca86c34ddec5007a182ec0daad8592bdfc5 | 3bd1d0ca6902992eb303936a8598403302ff6213 | refs/heads/master | 2020-09-22T20:12:03.362311 | 2017-12-13T07:00:14 | 2017-12-13T07:00:14 | 225,312,968 | 0 | 1 | null | 2019-12-02T07:34:11 | 2019-12-02T07:34:10 | null | UTF-8 | C++ | false | false | 5,522 | h | //=============================================================================
//
// Copyright (c) 2000-2004, Carnegie Mellon University.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condition... | [
"="
] | = |
633179726a26686cf671d789b32077ee27bc3981 | c5193e72c108d144856e1cc5050131e5a1c3f88b | /Chapter18/18_8_OrQuery.h | e23087c8a765935bf1faa757c00f4d4747e764a7 | [] | no_license | mviseu/Cpp_primer | 0fbad7d2671c5906e62119c930a18a839928aa77 | 35ec142bd959e8596be03701e5d43e01276710a1 | refs/heads/master | 2021-01-18T23:21:45.715093 | 2018-08-25T12:12:33 | 2018-08-25T12:12:33 | 87,107,097 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #pragma once
#include "18_8_Query.h"
#include "18_8_TextQuery.h"
#include "18_8_QueryResult.h"
#include "18_8_BinaryQuery.h"
#include <iostream>
namespace chapter18 {
class OrQuery : public BinaryQuery {
friend Query operator|(const Query &lhs, const Query &rhs);
OrQuery(const Query &lhs, const Query &rhs) noexcept... | [
"mariaviseu@gmail.com"
] | mariaviseu@gmail.com |
f786403f92774c4e495cc976a663ee3df4186732 | 079e477895b8e1eb5942750a4958c9c36fee4696 | /include/sampapi/0.3.7-R1/CAudio.h | 80ac35f00dd319d4fa72aab18a8e534daa364863 | [
"MIT"
] | permissive | BlastHackNet/SAMP-API | 34c7f50b2d31143845e2c3965d247cf3512894d2 | 754463d930d04e139d909ad0f9962288f0dd491e | refs/heads/multiver | 2023-08-09T19:46:52.405416 | 2023-07-10T22:20:57 | 2023-07-10T22:20:57 | 186,235,199 | 49 | 37 | MIT | 2023-07-22T17:38:41 | 2019-05-12T09:28:37 | C++ | UTF-8 | C++ | false | false | 665 | h | /*
This is a SAMP (0.3.7-R1) API project file.
Developer: LUCHARE <luchare.dev@gmail.com>
See more here https://github.com/LUCHARE/SAMP-API
Copyright (c) 2018 BlastHack Team <BlastHack.Net>. All rights reserved.
*/
#pragma once
#include "sampapi/sampapi.h"
#include "sampapi/CVector.h"
SAMPAPI_BEGIN_PACKED_V0... | [
"its.fyp@gmail.com"
] | its.fyp@gmail.com |
6bfd9fbab7ee2863404abcc6123bedd36da7cd07 | ab240b143bc6e98efe5dfffd7e2308b6af051d19 | /src/client/interface/slotcontainer/citemslot.cpp | 71eeffa8688cf19039cac8ecd5d5d15eece24779 | [] | no_license | Garnet7/rose-next-classic | 4f23be6b7a8c80a445f9c533e109b9d1db48c5db | 9cc6190fa654957449bc3920a589e53bc6d58d3f | refs/heads/master | 2023-04-04T07:57:53.367306 | 2021-04-13T15:54:57 | 2021-04-13T15:54:57 | 397,771,393 | 1 | 0 | null | 2021-08-19T00:38:10 | 2021-08-19T00:38:10 | null | UHC | C++ | false | false | 7,309 | cpp | #include "stdafx.h"
#include ".\citemslot.h"
#include "CInventory.h"
#include "../../gamecommon/Item.h"
#include "../../gamecommon/itemcommand.h"
#include "../../gamedata/event/cteventitem.h"
#include "../Command/UICommand.h"
#include "../Icon/CIconItem.h"
CItemSlot::CItemSlot(void) {
m_listItems.reserve(INVENTOR... | [
"ralphminderhoud@gmail.com"
] | ralphminderhoud@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.