blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
820cae76ba7cb514f0a8833285427988ecce6119 | 5ef0b4d230dc5243225d149efb44cdcdd2ffea9d | /trunk/cpp-tests/2420-content/examples/int swap 1.cpp | deb1ca0fc7fdbe4d09e209c7cc6207e5db8695f3 | [] | no_license | kai-zhu/the-teaching-machine-and-webwriter | 3d3b3dfdecd61e0fb2146b44c42d6467489fd94f | 67adf8f41bb475108c285eb0894906cb0878849c | refs/heads/master | 2021-01-16T20:47:55.620437 | 2016-05-23T12:38:03 | 2016-05-23T12:38:12 | 61,149,759 | 1 | 0 | null | 2016-06-14T19:22:57 | 2016-06-14T19:22:57 | null | UTF-8 | C++ | false | false | 546 | cpp | #include <iostream> // info from standard library
using namespace std; // cout is in the std namespace
/******* Pass-by-Value Demo ********
We look at a FAULTY swap function
to see how C passes by value
*******************************************/
void swap(int a1, int a2);
void main(){
i... | [
"theodore.norvell@gmail.com"
] | theodore.norvell@gmail.com |
2602b5ccd2a9d1eb990e3c923f825398e2fef03f | 228e00812cc2428c1421565e5be3e04bf3660759 | /ifc/fahrer.h | 12ee117d19463378e30c5dbe07ec2c2380404969 | [
"LicenseRef-scancode-warranty-disclaimer",
"Artistic-1.0",
"MIT"
] | permissive | 4ssfscker/node-sim | dbfbec5d41988a5f4e1562babea89ccc86c04a2f | 2bd3422fd645f415024907c9cf92697057cbc222 | refs/heads/master | 2021-01-24T10:38:14.973367 | 2007-06-09T15:12:10 | 2018-03-04T05:47:05 | 123,057,027 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,001 | h | /* fahrer.h
*
* Interface für Verbindung von Fahrzeugen mit der Route
*
* 15.01.00, Hj. Malthaner
*/
#ifndef fahrer_h
#define fahrer_h
class grund_t;
/**
* Interface für Verbindung von Fahrzeugen mit der Route.
*
* @author Hj. Malthaner, 15.01.00
* @version $Revision: 1.8 $
*/
class fahrer_t
{
public:
v... | [
"noreply@user558903.github.com"
] | noreply@user558903.github.com |
729d61f20cadf26c8254c7a0baa365456b13e909 | 430c6c11d9c6e4d9fda07454dfc84c26f7feccf7 | /MQ5.ino | 5be858430351b0bddba925f8237765af53013dd2 | [] | no_license | GDBhatti/Vyadh | 95a5b5f1234d0065fe8081182639eede8034e788 | 1acd776859975c75e124c7cef6841698f162b74d | refs/heads/master | 2020-04-24T18:17:54.703517 | 2019-02-23T11:08:09 | 2019-02-23T11:08:09 | 172,175,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | ino | float sensor=A0;
float gas_value;
void setup()
{
pinMode(sensor,INPUT);
Serial.begin(9600);
}
void loop()
{
gas_value=analogRead(sensor);
Serial.println(gas_value);
}
| [
"noreply@github.com"
] | noreply@github.com |
4174b74bb014cc9a1c12e66c746aae73474f1dee | 3e5aa39c132608716635aa7cbc905c2399fa84dd | /IGC/WrapperLLVM/include/llvmWrapper/Support/Alignment.h | 5fe1bc9511cae6953c300b8fe2da9922b9029c74 | [
"MIT"
] | permissive | krupenik/intel-graphics-compiler | 04e3da63e1c9e10f3dfbb6455666751f726e23b0 | 8dc771cc827f29ade02b0721e227990162084dbf | refs/heads/master | 2022-10-23T03:39:22.675288 | 2020-06-18T20:31:31 | 2020-06-19T17:01:15 | 273,596,762 | 0 | 0 | MIT | 2020-06-19T22:22:32 | 2020-06-19T22:22:32 | null | UTF-8 | C++ | false | false | 1,915 | h | /*===================== begin_copyright_notice ==================================
Copyright (c) 2017 Intel Corporation
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, includi... | [
"sys_zuul@gerrit-gfx.intel.com"
] | sys_zuul@gerrit-gfx.intel.com |
52dc218c2def62a1be4f58e296bfcddb95cffa70 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc2x3/src/OpenInfraPlatform/Ifc2x3/entity/IfcLogicalOperatorEnum.cpp | 854cf0aebceb0a15126919ae2d107dc447602e61 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,703 | cpp | /*! \verbatim
* \copyright Copyright (c) 2014 Julian Amann. All rights reserved.
* \date 2014-04-26 17:30
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include <ma... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
dccbd514e796373dbd90255608139076a37aec09 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/chromeos/login/screens/terms_of_service_screen.cc | 39b3524d359960af90bd43b45a48c0491c703dfa | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 5,992 | cc | // Copyright (c) 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.
#include "chrome/browser/chromeos/login/screens/terms_of_service_screen.h"
#include <string>
#include <utility>
#include "base/bind.h"
#include "bas... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
fdd3be4e39899ed0cc0ab0293721bec329efcfb9 | 2b8b8034e0e902341a2191f8d14ad1173ad9b0ae | /lib/widgets/KFileTreeDirUp.cpp | aba655fcc8bcf7711a83dd758c44765d990cd97f | [] | no_license | Frizlab/kodisein | 3a4e48d4448ba6290a95394c33adcdf0c3013f04 | 1aece4de5946930936745330ba68d1d7339715bc | refs/heads/master | 2022-06-03T19:52:37.473697 | 2021-03-25T19:43:54 | 2021-03-25T19:43:54 | 92,667,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,647 | cpp | /*
* KFileTreeDirUp.cpp
* kodisein
*/
#include "KFileTreeDirUp.h"
#include "KFileTreeDir.h"
#include "KEventHandler.h"
#include "KTools.h"
KDL_CLASS_INTROSPECTION_1 (KFileTreeDirUp, KFileTreeNode)
// --------------------------------------------------------------------------------------------------------
KFileT... | [
"monsterkodi@users.sourceforge.net"
] | monsterkodi@users.sourceforge.net |
8a0f482456290ef465df6421f5df9a4c46307ac5 | b8d309c77ad95a29ebb856e98c6047fd63bc6cfb | /BattleTanks/Source/BattleTanks/Public/TankTrack.h | da39aaca7cc588462b2e080becd5967e2891cc23 | [] | no_license | FendingTheEnding/BattleTank | 022b6d6233eff97e3e820c4f8f6cd791f3020d75 | 87ada2bcf5e65baa4e29b17b4726a7d87292b255 | refs/heads/master | 2022-07-28T16:54:31.196166 | 2022-07-17T23:38:32 | 2022-07-17T23:38:32 | 251,735,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTrack.generated.h"
/**
* TankTrack is used to set maximum driving force, and to apply forces to the tank
*/
UCLASS(meta = (BlueprintSpawnabl... | [
"km.kratzer@gmail.com"
] | km.kratzer@gmail.com |
2cb915fa74e62b317a8fe1b00788d8a6117a8942 | 5828f68cd5ab4ff48d7420ccdc3e1c4964d8196f | /fem/fe/fe_nd.cpp | 603d1e81fc0778a39f24a21b431a677a5ec577c9 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Zlib"
] | permissive | adrienbernede/mfem | 5bb7a7a143b6812a0781af6713bdfd9bf3e3fd63 | f66ddbc394051a335c4a99da0169962fea69cc0e | refs/heads/master | 2021-11-19T05:17:06.805519 | 2021-09-28T20:49:04 | 2021-09-28T20:49:04 | 263,454,847 | 0 | 0 | BSD-3-Clause | 2021-05-24T05:14:51 | 2020-05-12T21:20:47 | C++ | UTF-8 | C++ | false | false | 34,597 | cpp | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | [
"stowell1@llnl.gov"
] | stowell1@llnl.gov |
ed5f145b4f016ff906377fab2824eccf4e3e927b | cd9313c4dfe06d831016919233e2d2886ddca8a7 | /practice1.cpp | 898ec348d71c966a34d12435275e600f0a9a9074 | [] | no_license | HJPyo/C | b198efa19f7484cc5b13e3e83798cdac99b6cd20 | 47d49f3aea1bc928fec5bcb344197c3dfecf5dd1 | refs/heads/main | 2023-04-12T15:04:44.844842 | 2021-05-11T09:13:07 | 2021-05-11T09:13:07 | 328,389,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include<stdio.h>
int n;
long long int dp[100000001] = {0,1,1};
int main()
{
scanf("%d", &n);
if(n < 3){
printf("%d", dp[n]);
return 0;
}
for(int i = 3; i <= n; i++){
dp[i] = dp[i-1] + dp[i-2];
}
printf("%lld", dp[n]);
}
| [
"bunker12383@gmail.com"
] | bunker12383@gmail.com |
2f8b9373df83f95f38b03f08830eb4fd9d095149 | 60bba31469dcc8d6ec4fb2db76d6dfafcd7f1636 | /CppSourseCode/P45_66_3.cpp | 0b8c6a65c2cd9f9e883eaf1ba1f4c6e48c39a7e3 | [] | no_license | raynaasenova/FMI-PU | df02a5ccc99e94ebd5f3c298b63045627af0d552 | dad61baf121e6c25460aedc434f8446a4b6aa6a7 | refs/heads/master | 2021-01-10T21:20:30.933583 | 2014-10-19T18:02:04 | 2014-10-19T18:02:04 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,130 | cpp | // Да се състави програма, която по въведена шестнадесетъчна цифра извежда съответното десетично число. Решете програмата с помощта на оператор switch и без него.
#include "stdafx.h"
#include<iostream>
#include<windows.h>
using namespace std;
int main()
{
SetConsoleOutputCP(1251);
char c;
cout<<"Въведете 16-ич... | [
"rayna.asenova@gmail.com"
] | rayna.asenova@gmail.com |
3b57852b8333333987ac0b22cc8da387020413c1 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /rum/include/tencentcloud/rum/v20210622/model/CreateWhitelistRequest.h | 79046480de3ab3367e549851f93828097d7ee129 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,164 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
81fb113d16bf64ded0027c4bc546871e109f9112 | 95e6ab1436de9ba5fcf936639b9bbea0ab5282b5 | /src/AI_makeRoomForFriend.h | 2a9293cb063709e564cc716b94ac278fc0f1947d | [] | no_license | Justice-/ia | c46f3536ad8e80d7a24f69d8921aa3a049c8c177 | 78b7e5d063bef5c1defee7366feb2e2f2a409fbf | refs/heads/master | 2021-01-16T22:50:27.890916 | 2013-06-16T14:50:36 | 2013-06-16T14:50:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,072 | h | #ifndef AI_MAKE_ROOM_FOR_FRIEND_H
#define AI_MAKE_ROOM_FOR_FRIEND_H
#include <algorithm>
/*===========================================================================++
Purpose:
Check if monster blocks the path to the player for another monster. If that is
the case, try to move to a coordinate that lets the pal th... | [
"m.tornq@gmail.com"
] | m.tornq@gmail.com |
9b2e7bb84b80eb030c1eaf42e4b544484e2ff015 | b1aef802c0561f2a730ac3125c55325d9c480e45 | /src/ripple/server/impl/Port.cpp | ffc4f29e6ca281ed0680b266f61801538f8c83d9 | [] | no_license | sgy-official/sgy | d3f388cefed7cf20513c14a2a333c839aa0d66c6 | 8c5c356c81b24180d8763d3bbc0763f1046871ac | refs/heads/master | 2021-05-19T07:08:54.121998 | 2020-03-31T11:08:16 | 2020-03-31T11:08:16 | 251,577,856 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 7,175 | cpp |
#include <ripple/basics/safe_cast.h>
#include <ripple/server/Port.h>
#include <ripple/beast/rfc2616.h>
#include <ripple/beast/core/LexicalCast.h>
namespace ripple {
bool
Port::secure() const
{
return protocol.count("peer") > 0 ||
protocol.count("https") > 0 ||
protocol.count("wss") > 0 ||
... | [
"sgy-official@hotmail.com"
] | sgy-official@hotmail.com |
b0e611b6a3ae67ced30423915e879846883e26d8 | 0705f12dbc200f600663908b65c67b2d29a6e7de | /CreateVoca/include/FeatureVector.h | d4839a5e44c818894192cc5b707b2dcda46cf9e5 | [] | no_license | Leerw/SuperPoint2CPP | a34cb7984e430e0442b3a0abfa078dba01877efa | f4083d1added529a79740482b20603f5dcb6a8f8 | refs/heads/master | 2023-07-04T08:09:32.310639 | 2021-08-05T16:31:58 | 2021-08-05T16:31:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | h | /**
* File: FeatureVector.h
* Date: November 2011
* Author: Dorian Galvez-Lopez
* Description: feature vector
* License: see the LICENSE.txt file
*
*/
#ifndef __D_T_FEATURE_VECTOR__
#define __D_T_FEATURE_VECTOR__
#include "BowVector.h"
#include <map>
#include <vector>
#include <iostream>
namespace DBoW2 {
/*... | [
"leechanwoo25@gmail.com"
] | leechanwoo25@gmail.com |
8b3f3f80b8e53d0af066a3aab93fd839f9d8fba8 | 24862dcb99a7da2050768212be89e91b9acb67b5 | /UE_4.21/Engine/Intermediate/Build/Win32/UE4/Inc/Engine/CurveTable.generated.h | fc6f7cdbaa7427880ffed08d21cb62a17e20712f | [] | no_license | dadtaylo/makingchanges | 3f8f1b4b4c7b2605d2736789445fcda693c92eea | 3ea08eab63976feab82561a9355c4fc2d0f76362 | refs/heads/master | 2020-04-22T05:28:01.381983 | 2019-02-25T02:56:07 | 2019-02-25T02:56:07 | 170,160,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,782 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"dadtaylo@iu.edu"
] | dadtaylo@iu.edu |
e9dd5a8174863fba62f3f36b2cb57cbce12531cd | 98628a5eca9efd7ef3a1106e30b3441fe04b8e31 | /chrome/browser/nearby_sharing/certificates/nearby_share_decrypted_public_certificate.h | 77456ba7c77fea455c75d3a419c892876dc3592d | [
"BSD-3-Clause"
] | permissive | blackwhale2020/chromium | 9c012046c8555b6442b04f336c35711a4a139612 | 7a75987d261a5b18f71c49412b98c009237c8274 | refs/heads/master | 2022-11-28T02:23:26.982138 | 2020-08-12T03:56:23 | 2020-08-12T03:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,659 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_NEARBY_SHARING_CERTIFICATES_NEARBY_SHARE_DECRYPTED_PUBLIC_CERTIFICATE_H_
#define CHROME_BROWSER_NEARBY_SHARING_CERTIFICATES_NEARBY_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
29e161cd1b10b017ce9fc5e0e3497d6f33356030 | f8f6877731a71d9ff045ba856f0f20d529e9e666 | /GameSolution/Engine/Particle.inl | 7763e7f0efd57b756e19654318c111abc1d6d086 | [] | no_license | JonECG/Cpp-Game-Engine | f925f10aaaa2f6d053e83ef56c4dee2503ba70de | c11b0ed268057eb17f06edb406f0d69448eb9008 | refs/heads/master | 2021-01-19T07:39:18.108901 | 2015-06-14T14:23:23 | 2015-06-14T14:23:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | inl | void Particle::draw( Core::Graphics& g ) const
{
if( fade )
{
g.SetColor( ColorHelper::quad( color, midColor, RGB(0,0,0), 1 - (life/(float)startLife) ) );
}
else
{
g.SetColor( ColorHelper::lerp( color, RGB(0,0,0), 1 - (life/(float)startLife) ) );
}
for( int i = 0; i < size; i++ )
{
g.DrawLin... | [
"jonathantpearl@gmail.com"
] | jonathantpearl@gmail.com |
a711d6f68aca5a1b8b05fa55d7876e104033be6b | 9f6d0c9e9f0877e0cc954f61e2245c88839918f9 | /v8/gen/32/torque-generated/src/objects/embedder-data-array-tq-csa.cc | fd1377c46ec27e8f72424d6de50c28ff1c4bf856 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | fibjs/fibjs_vender | c2f4fd35b7ed9e9ea06680d75453b3ee81a25d0d | 6aa2431f65e17f9a51b60f12c14a36a8464fad5d | refs/heads/dev | 2023-08-03T18:39:02.369823 | 2023-07-27T14:12:00 | 2023-07-27T14:12:00 | 37,327,960 | 7 | 24 | null | 2022-05-18T15:08:24 | 2015-06-12T14:56:51 | C++ | UTF-8 | C++ | false | false | 12,380 | cc | #include "src/ast/ast.h"
#include "src/builtins/builtins-array-gen.h"
#include "src/builtins/builtins-bigint-gen.h"
#include "src/builtins/builtins-collections-gen.h"
#include "src/builtins/builtins-constructor-gen.h"
#include "src/builtins/builtins-data-view-gen.h"
#include "src/builtins/builtins-iterator-gen.h"
#incl... | [
"lion@9465.net"
] | lion@9465.net |
e19f1a1a1645045abe3f86a5996dabb11f812a8e | 5f382f2c1d881593cc7f1d95701e7d110772dd6b | /bubble_sort.cpp | 444eb94d32c2b942f067179ed11f0f0a3f0ee0d9 | [] | no_license | Shafeequr1999/Arrays-in-cpp | b49d9350ada972488ed31f99afaa1c43464c202f | 969ab49d9bf8885b8800f7c07ca0bb865bf6deda | refs/heads/main | 2023-07-12T07:01:55.942670 | 2021-08-25T17:08:07 | 2021-08-25T17:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int arr[n];
for(int i=0;i<n;i++){
cin>>arr[i];
}
int counter=1; /* for iterations */
while(counter<n){
for(int i=0;i<n-counter;i++){
if(arr[i]>arr[i+1]){
int temp=arr[i... | [
"noreply@github.com"
] | noreply@github.com |
547ab763ea570b0702025c30cf3d90ae02d766a0 | df192b4e12ff9fb349fe9a5bf2ced2bc8e3fee53 | /IntroToProgramming/Car/Car/Car.h | 6695cbf23026fd6a760cd19316109966082981c1 | [] | no_license | matthewguillory65/IntroToProgramming | 1d2c6eba77ffb04b6089c2724686b54b160b333f | b74f9d1980423b6092b44d65504183cabdedafee | refs/heads/master | 2020-04-17T00:35:28.501294 | 2016-09-02T22:36:16 | 2017-03-08T21:19:40 | 66,005,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | #pragma once
class Vehicle
{
private:
char m_Name;
char m_Manufacturer;
int m_Year;
int m_Fuel;
bool m_Run;
public:
Vehicle();
Vehicle(char m_Name, char m_Manufacturer, int m_Year, int m_Fuel, bool m_Run);
Vehicle Camero("Camero, Chevorlet, 2007, 35, true");
};
Vehicle::Vehicle()
{
m_Name Camero;
m_Manufa... | [
"matthew.guillor@ad.aie.edu"
] | matthew.guillor@ad.aie.edu |
f148f8f5034de5c8505b4ea86eacc09214f52163 | 744bdc137a0139b7e2f02efcf67a3fcf1efd8631 | /core/hooks/hooks.hpp | bb7fff621df1f5d079064f1b1d1c94d69fe6dab9 | [] | no_license | ninecents/adderall | 2054ef73e0967d8cd07c7c1393b58a972e29304b | cba5e9990e5ef409a2e4bd7edb404f8527e9330d | refs/heads/master | 2022-11-04T08:28:45.205819 | 2020-06-12T17:07:45 | 2020-06-22T03:41:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | hpp | #pragma once
namespace hooks {
inline vmt_hook client_hook{ };
inline vmt_hook clientmode_hook{ };
inline vmt_hook panel_hook{ };
inline vmt_hook renderview_hook{ };
inline vmt_hook surface_hook{ };
inline WNDPROC wndproc_original{ };
void initialize( );
void shutdown( );
using create_move_fn = bool( __this... | [
"sonic886310@gmail.com"
] | sonic886310@gmail.com |
1fee2b65a3f5d8b34f18723c89472541b8adea80 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir15321/dir17491/file17607.cpp | 03d909720b59b6d3f0c3b0d59697252d257ba2fe | [] | 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 file17607
#error "macro file17607 must be defined"
#endif
static const char* file17607String = "file17607"; | [
"tgeng@google.com"
] | tgeng@google.com |
9ad93f0dd1bb314f702795c7a8edcf27e59c8dbf | d034a5ce6e10c7f5f129ddb739f02ebfcd4ffd71 | /count_sort/count_sort.cpp | e723045484f90cdd8e747cddbf4a5f83b4f6f624 | [] | no_license | RandGor/mpiaa | e778595c9a9a8530315aee4eb0bddc46e24b13de | d27024b48247efd6cd2ce3fa6203faa89d3acd03 | refs/heads/master | 2020-09-25T22:24:09.911104 | 2019-11-21T15:48:38 | 2019-11-21T15:48:38 | 226,100,878 | 0 | 0 | null | 2019-12-05T12:47:45 | 2019-12-05T12:47:44 | null | UTF-8 | C++ | false | false | 286 | cpp | #include "count_sort.h"
// All elements of array are from [start, end] diapason.
// Function must return sorted array.
std::vector<int> count_sort(const std::vector<int> &array, int start, int end) {
std::vector<int> result;
// Your implementation here.
return result;
}
| [
"georgy.schukin@gmail.com"
] | georgy.schukin@gmail.com |
d7b411a141fb0ea3624d3a6bc29ed419dac9f26f | ec11b1888fef669aa595e0e36b9b031a93fd8fcd | /insert.cpp | 1aef17cef4cc88da604a7b7e41d5484802105533 | [] | no_license | pranav2202/linked_list | cff34425a18c1e0e4abe80bd743dc9e84cc13db0 | e599d0a222d004ae5bbca90286ab2b8fb2c536db | refs/heads/master | 2020-08-23T11:27:07.199571 | 2019-10-21T15:51:29 | 2019-10-21T15:51:29 | 216,605,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | #include <iostream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
class node{
public:
int data;
node *next;//store address of next node in linked list
};
node *head;//create a variable that will store address of first member of linked list... | [
"51846272+pranav2202@users.noreply.github.com"
] | 51846272+pranav2202@users.noreply.github.com |
42ce3b73bdfdf0e49e6c6abfe0684033d44b06f6 | e18a493f699ac5248d79a4d210f758b21e455954 | /Unique_Letter/Source.cpp | 199af4cd24f2b4189fc8ffd5fcb94775f0643c2b | [] | no_license | Phurich63010767/Unique_Letter | 41483768760b65018e2c3fcaf7d98429ddce146c | c804752e9b819ef6ae7ad5c07a97981d7630e7d3 | refs/heads/master | 2022-12-09T00:08:02.562799 | 2020-09-09T07:19:52 | 2020-09-09T07:19:52 | 294,034,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include<iostream>
using namespace std;
void unique(int i,int s,string x)
{
while (i < s)
{
char* p1 = &x[i];
if (i == 0)
{
cout << x[0];
}
if (i > 0)
{
if (x[i] != x[i - 1])
{
cout << *p1;
}
}
i++;
}
}
int main()
{
int s, i = 0;
string x;
cout << "Enter letters or numbers: ";
c... | [
"phurich_kung@hotmail.co.th"
] | phurich_kung@hotmail.co.th |
f924e58b6d8022765ce8fcadeda533ed04378ae8 | a96bec16551c66b2ef6dcefef86f9c630dbdcd8b | /src/client/DoubleLaser.cpp | cf723e87bfa86907938772155ca472b40dbae7d0 | [] | no_license | Tmauc/R-Type | 9aeed59104c6fe239e71f120340e4a3b3d730002 | 3622225005cb7ce36d2cefad3151ed9548cb623c | refs/heads/master | 2023-05-22T17:53:53.541282 | 2021-06-10T17:42:52 | 2021-06-10T17:42:52 | 375,781,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include "DoubleLaser.hpp"
DoubleLaser::DoubleLaser() : Projectile("../res/proj/r-typesheet2.gif", sf::Vector2f(0,0), sf::IntRect(36,470,66,32), 10, 5, 1000, false)
{
}
DoubleLaser::~DoubleLaser()
{
}
void DoubleLaser::launch(float angle, sf::Vector2f pos)
{
_pos = pos;
_alive = true;
_angle = angle;
... | [
"tmauccc@gmail.com"
] | tmauccc@gmail.com |
5c1444be9a8ca84ea6fba72e01e1ed87627aa68e | f299358f6bc39d0586887e52a0099b3f15ced70b | /src/gl/program.cpp | c30b5ec5db3927ba80575d85c8754903b5675c72 | [] | no_license | LitEngine/Rendering | 5432feaaf2b9fbefc1540fafaf5b17d271fc7b8b | 94c33a8ca5135294be20aba9edbf14c1563b9d91 | refs/heads/master | 2023-05-03T11:02:26.023893 | 2021-05-15T06:45:06 | 2021-05-15T06:45:06 | 367,560,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | #include <lit/gl/program.hpp>
using namespace lit::gl;
GlProgram::~GlProgram() {
Delete();
}
int GlProgram::GetUniformLocation(const std::string &name) {
return glGetUniformLocation(m_program_id, name.c_str());
}
void GlProgram::Use() {
if (m_program_id) {
glUseProgram(m_program_id);
}
}
vo... | [
"Andrey.Borzyak@gmail.com"
] | Andrey.Borzyak@gmail.com |
5e4ed2fa780a3f6c661e23a0ff5d839917a7a744 | f813e6de1ec4649cd9c35553e6928d331bdccfa4 | /src/chainparams.cpp | 84ddf842b51befde09fcd01f68f63db831f1d624 | [
"MIT"
] | permissive | TaurusNetwork/TaurusNetwork | f93f8ace0291d8244e3a6c1a01268627f91c8a18 | 5abb721b9c60baafac02283b26a6400470fda7d3 | refs/heads/master | 2020-03-22T16:22:54.441113 | 2018-07-09T17:54:29 | 2018-07-09T17:54:29 | 138,114,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,269 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The TaurusNetwork developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or... | [
"1"
] | 1 |
9b48bbadfcb5fa2d595d1492784c4d4577e0c08b | 82d43f28d71f74d6f69cf2f005ace0e3bbb096df | /src/Types.hpp | cb42202f651026e7db9fdde15ef16f11effeff45 | [
"MIT"
] | permissive | nandofioretto/DP_power_flow | 99d34a70e89cb2e500084edcaf1d22f47356de0b | 641e42ae4f1f7d9b82f323256fec86d7aa8f8ac1 | refs/heads/master | 2021-06-19T13:23:07.784900 | 2017-05-20T16:30:08 | 2017-05-20T16:30:08 | 75,733,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | hpp | //
// Created by Ferdinando Fioretto on 11/7/15.
//
#ifndef TYPES_H
#define TYPES_H
#include <limits>
#include "Preferences.hpp"
//typedef long long int power_t; // Bit encoding [1111 1111] [1111 1111] .. [] this can represent loads and generators up to optH=8
typedef double value_t;
//typedef int value_t;
typedef d... | [
"fioretto@umich.edu"
] | fioretto@umich.edu |
07751ac17182ca96e51a64a1a503f8f8ddb00222 | 662aa82d67a190b936abcbe1ea6e694b31d8da03 | /src/point_cloud_io/src/joint_logger.cpp | 5c67befee3fdd35fb83db8c0c826d127ec73d0fa | [] | no_license | joosm/ur5_simulation | 0fb3ea78a02becf83579e63029a24cd5d9863533 | 55573f471513923b8408b3e10d35ac5177ffb2c2 | refs/heads/master | 2020-12-21T11:01:05.516556 | 2017-06-18T17:43:20 | 2017-06-18T17:43:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | /*
* write_node.cpp
*
* Created on: Nov 13, 2015
* Author: Remo Diethelm
* Institute: ETH Zurich, Autonomous Systems Lab
*/
#include <ros/ros.h>
#include <stdio.h>
#include "point_cloud_io/Write.hpp"
//point_cloud_io::RobotState stateMonitor;
int main(int argc, char** argv)
{
std::cout << "whoa..." <... | [
"mmseines@gmail.com"
] | mmseines@gmail.com |
651ea7a8805683c0f5c6380c2d5d5faae9595c43 | 46b17d9d2b075e5f930f2f8d14916a9c88ff9903 | /LA/Langage/TP1/proc.cpp | ed021f5f2ad6b1c08d01812a498e66d2f4335c11 | [] | no_license | Dinty0/Licence-3 | 6aaf14620382b71135e36fc6b53b231e88fc47d8 | 8ee02375520ba86eec87ad7576d3dc130b8249be | refs/heads/master | 2021-01-10T18:03:57.052659 | 2016-01-29T12:27:11 | 2016-01-29T12:27:11 | 50,660,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | #include <string>
#include <iostream>
#include <fstream>
using namespace std;
int main(){
string mot;
int cpt=0;
ifstream f;
f.open("germinal2.txt",ifstream::in);
while(f.good()){
f>>mot;
cpt++;
}
cout<<cpt<<endl;
f.close();
return 0;
}
| [
"E126956W@S040V7pc14.ensinfo.sciences.univ-nantes.prive"
] | E126956W@S040V7pc14.ensinfo.sciences.univ-nantes.prive |
ccf84a693434bd9fa56faf94adb966acd1d02d9f | 34878de1631becc28edf2624c7dee4810449dd54 | /maxi.cpp | fc70d374c02671adf67789ebc81411e0f3648535 | [] | no_license | Divyanshushandilyakiet/cpp | abcbd44f209f7f6e10a1d0e8bd150b0383e4a5dc | 53a2184f857a4877dd1d370c400cdc6d7abdef00 | refs/heads/master | 2023-06-16T17:50:05.973843 | 2021-07-13T16:56:48 | 2021-07-13T16:56:48 | 359,115,552 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | // check maximun and minimum number
#include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int n1, n2;
cout << "Enter two integers==>> ";
cin >> n1 >> n2;
if (n1 > n2)
{
cout << n1 << " is maximum ";
}
else
{
cout << n2 << " is m... | [
"noreply@github.com"
] | noreply@github.com |
3e07189de2bcf47442d7419e3a342db6ce0489a3 | 8903cb76cedac12995249e2e613af65365be7cf2 | /ares/md/vdp/sprite.cpp | 9b59671e42426d62035eafc9f754232df1466085 | [
"ISC"
] | permissive | kirwinia/ares-emu-v121 | 0c1e21e073f291741406cd1ed01acca43acd56d7 | 722aa227caf943a4a64f1678c1bdd07b38b15caa | refs/heads/main | 2023-06-09T15:28:23.665934 | 2021-06-28T06:10:46 | 2021-06-28T06:10:46 | 380,923,321 | 0 | 0 | ISC | 2021-06-28T06:05:04 | 2021-06-28T06:05:04 | null | UTF-8 | C++ | false | false | 5,089 | cpp | auto VDP::Sprite::write(n16 address, n16 data) -> void {
auto baseAddress = nametableAddress;
if(vdp.h40()) baseAddress &= ~0x1ff;
address -= baseAddress;
if(address >= 320) return;
auto& object = cache[address >> 2];
switch(address & 3) {
case 0: object.y = data.bit( 0, 9); break;
case 1: object... | [
"ecallaghan@protonmail.com"
] | ecallaghan@protonmail.com |
46cdaf501058f726d0279eb67912ee18f6855ade | 00e06c903140e33964a0ea406c7c4b7702cb47c0 | /Deleting_Element.cpp | 8b8b9135bd2ba562a098ba89ee53fca0b45ca4c1 | [
"Apache-2.0"
] | permissive | FrancoDAlappat/Cpp-BootCamp | e22c7c2d2b718fcdf9d135b08e056ed4a6dada57 | 556326e7827aa812f22f350e94f257b141ef208b | refs/heads/main | 2022-12-30T06:26:42.336151 | 2020-10-18T12:26:50 | 2020-10-18T12:26:50 | 305,083,068 | 0 | 0 | Apache-2.0 | 2020-10-18T11:11:30 | 2020-10-18T11:11:29 | null | UTF-8 | C++ | false | false | 736 | cpp | #include<iostream.h>
#include<conio.h>
int Lsearch(int[],int,int);
void main()
{
clrscr();
cout<<"\n***DELETION***\n";
int AR[50],ITEM,N,index;
cout<<"\nEnter the array size:";
cin>>N;
cout<<"\nEnter Array elements\n";
for(int i=0;i<N;++i)
{
cin>>AR[i];
}
char ch;
do
{
cout<<"\nEnter Element to be deleted :";
cin>>ITEM... | [
"noreply@github.com"
] | noreply@github.com |
77bf70a6dd78dad82fe90705c55b66db0a220346 | d38b7dd8f362a8f6b75e3ee13f467d6b0e69dcb3 | /Data_Strucures/divisible&prime.cpp | 51ee3b3679fbb58ea8c9c3715c89674501cc4092 | [] | no_license | yatingupta10/Algorithms | 84332e564e5c84dbeb696d924d92b4ad2d49a48a | a9de5ba2e52ca53543b4d4cdbdd018816f25ae15 | refs/heads/master | 2021-01-14T06:22:01.092476 | 2018-10-06T21:13:57 | 2018-10-06T21:13:57 | 50,761,068 | 7 | 3 | null | 2018-10-06T21:13:58 | 2016-01-31T05:55:36 | C | UTF-8 | C++ | false | false | 853 | cpp | #include<iostream.h>
#include<conio.h>
int divide(int a,int b)
{
if((a%b)==0)
return 1;
else
return 0;
}
int divide(int a) {
int j=a/2,flag=1;
for(int i=2;(i<=j)&&(flag);i++) {
if(a%i==0)
flag=0;
}
return flag;
}
int main()
{
clrscr();
int ch,res,a,b;
do {
cout<<"1.Check for divisibility\n";
cout<... | [
"yatingupta12@gmail.com"
] | yatingupta12@gmail.com |
011995af42cdfbce89a1dca68db34a22803a4a17 | 0897560a7ebde50481f950c9a441e2fc3c34ba04 | /10.0.15042.0/winrt/Windows.Security.EnterpriseData.h | 158e7126682f079fe8550832dfe941d396ce3342 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | dngoins/cppwinrt | 338f01171153cbca14a723217129ed36b6ce2c9d | 0bb7a57392673f793ba99978738490100a9684ec | refs/heads/master | 2021-01-19T19:14:59.993078 | 2017-03-01T22:14:18 | 2017-03-01T22:14:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138,592 | h | // C++ for the Windows Runtime v1.0.private
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "base.h"
WINRT_WARNING_PUSH
#include "internal/Windows.Storage.3.h"
#include "internal/Windows.Foundation.3.h"
#include "internal/Windows.Foundation.Collections.3.h"
#include "internal/... | [
"kwelton@microsoft.com"
] | kwelton@microsoft.com |
1227f015fcbdf85b272b9d6847251779c3313f18 | 9e6b687da34c799e006c629aa8a33c3809bf9dee | /src/Driver/BaseControl.cpp | 64dcc60a19aab3422fdb956b2c6d35bc6ea75343 | [] | no_license | Taz7842K/7842K-Highland-New | 54647711a0ff336dd455088fe56f6b2eff2aae28 | 2ac766761ae074d12f534a69330fa4ef1de210eb | refs/heads/master | 2020-04-12T07:16:03.557640 | 2018-12-19T17:49:45 | 2018-12-19T17:49:45 | 162,362,131 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include "main.h"
#include "MainConfig.h"
pros::Controller HIDMain(pros::E_CONTROLLER_MASTER);
double Joystickch2;
double Joystickch4;
void setBasePower(int xPower, int yPower, int zPower)
{
m_frontLeft.move(yPower-xPower-zPower);
m_rearRight.move(yPower+xPower-zPower);
m_frontLeft.move(yPower+xPower+zPower);
... | [
"44256695+Taz7842K@users.noreply.github.com"
] | 44256695+Taz7842K@users.noreply.github.com |
56eb2b51ee2a8ad777753398fbde7f42eccbc56a | 26ad4cc35496d364b31396e43a863aee08ef2636 | /SDK/SoT_BP_cmp_lantern_oos_01_b_ItemDesc_functions.cpp | 83a31619a3c75c659a8281d1e16a78593d7fd531 | [] | no_license | cw100/SoT-SDK | ddb9b19ce6ae623299b2b02dee51c29581537ba1 | 3e6f12384c8e21ed83ef56f00030ca0506d297fb | refs/heads/master | 2020-05-05T12:09:55.938323 | 2019-03-20T14:11:57 | 2019-03-20T14:11:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | // Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_cmp_lantern_oos_01_b_ItemDesc_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
2936e1a76ef63722494d98f1fb8eb3861222e6f1 | f207164511f0dfe3f01f6e0c21fd7548e626397f | /gfx/thebes/gfxTextRun.h | bde5c5fe1f950553e65198b18f01b9a927270655 | [] | no_license | PortableApps/palemoon27 | 24dbac1a4b6fe620611f4fb6800a29ae6f008d37 | 3d7e107cc639bc714906baad262a3492372e05d7 | refs/heads/master | 2023-08-15T12:32:23.822300 | 2021-10-11T01:54:45 | 2021-10-11T01:54:45 | 416,058,642 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,956 | h | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef GFX_TEXTRUN_H
#define GFX_TE... | [
"roytam@gmail.com"
] | roytam@gmail.com |
84bf197e0adec2da4de7f094c42c0057b661db9f | e27d9e460c374473e692f58013ca692934347ef1 | /drafts/quickSpectrogram_2/libraries/liblsl/external/lslboost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp | 2f758bb48e8e06aaaade76cc9dd92d5b83351f2a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | thoughtworksarts/Dual_Brains | 84a0edf69d95299021daf4af9311aed5724a2e84 | a7a6586b91a280950693b427d8269bd68bf8a7ab | refs/heads/master | 2021-09-18T15:50:51.397078 | 2018-07-16T23:20:18 | 2018-07-16T23:20:18 | 119,759,649 | 3 | 0 | null | 2018-07-16T23:14:34 | 2018-02-01T00:09:16 | HTML | UTF-8 | C++ | false | false | 1,031 | hpp |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.lslboost.org/LICENSE_1_0.txt)
//
// *Preprocessed* version of the main "apply_fwd.hpp" header
// -- DO NOT modify by hand!
namespace... | [
"gabriel.ibagon@gmail.com"
] | gabriel.ibagon@gmail.com |
7716a0c33392e49366584de1db59466c15959579 | 4c6d32f5413c8c249f68fcf0104f8379ebeae682 | /PriorityQueue/queue.h | 64009a6536e6e0c62d2dc20b1f250d53b7073392 | [] | no_license | kamilkow1123/algorithms | f91dcc6e4edb784694274676fcff58784d76e994 | fdbaf13d9b07b526be38b487ab826265fe1248ed | refs/heads/main | 2023-06-02T21:50:28.361351 | 2021-06-15T11:38:42 | 2021-06-15T11:38:42 | 365,211,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | #ifndef _QUEUE_H_
#define _QUEUE_H_
struct Edge{
int vertexStart; //starting vertex of the edge
int vertexEnd; //ending vertex of the edge
int weight; //weight of the edge
};
class Queue{
private:
Edge *heap; //heap with the edges
int heapPosition;
public:
Queue(int); //constructor
~Queue(... | [
"22kamil.kow@gmail.com"
] | 22kamil.kow@gmail.com |
22fea79c045d243a6a284efe4c9e10c256de402f | 7c82ece01341a445b10f5cccd1ff7c8614e1c5a2 | /TP1_Concurrency/source/gestionEntree.cpp | bb6d08b75a9e745a888eae76f1b90f869eb6bc73 | [
"MIT"
] | permissive | PaulEmmanuelSotir/TPs_3IF | 87116bcf91d7f871f77bef26e35684f02c5ece87 | 51e1b82837bd2e9e01fe84721f127c469f1f24a7 | refs/heads/master | 2021-06-01T15:55:23.452046 | 2016-05-24T13:54:53 | 2016-05-24T13:54:53 | 43,512,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,427 | cpp | /*************************************************************************
Gestion entree - tache gerant les barrieres d'entree
----------------------------------------------------
debut : 18/03/2016
binome : B3330
*************************************************************************/
/... | [
"paul-emmanuel@outlook.com"
] | paul-emmanuel@outlook.com |
3980cbf4a6718fe44cb23816c5e6d833463b032d | 04a21f3cf123bb04d27291348a4796770f5bd60c | /features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/test/nanostack/unittest/Bootstraps/network_lib/network_libtest.cpp | 2ba544b68805aa2d97f4b683708d56645d7ea434 | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Wenchou01/mbed-os | f946b291aa54cc2356633ac466df5ffed626baa9 | 70e7b40468854d33431889a9cd415364c00a2501 | refs/heads/master | 2021-08-20T09:09:26.038479 | 2017-11-27T16:37:40 | 2017-11-27T16:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | /*
* Copyright (c) 2016, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICEN... | [
"arto.kinnunen@arm.com"
] | arto.kinnunen@arm.com |
fca76263084837507261d4f4b531c4e191e0cb6b | 7d64e03e403eca85248677d8dc72751c93940e48 | /test/leveldb/TestTxn.cpp | e3cab20387ccc8dc0d59b5c78d8aa21bd37dcdb0 | [
"Apache-2.0"
] | permissive | webosce/db8 | a6f6ec64d3cb8653dc522ee7a3e8fad78fcc0203 | 994da8732319c6cafc59778eec5f82186f73b6ab | refs/heads/webosce | 2023-05-13T15:18:39.562208 | 2018-08-23T08:51:14 | 2018-09-14T13:30:43 | 145,513,369 | 0 | 1 | Apache-2.0 | 2023-04-26T02:43:57 | 2018-08-21T05:52:45 | C++ | UTF-8 | C++ | false | false | 3,934 | cpp | // Copyright (c) 2013-2018 LG Electronics, 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 applicable law or... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
0a2ebffbedff46ca3e8a7937b930c6fc35385b49 | bb531c652b5b5b3e7c52931a383e983521903ca6 | /library/src/cpp/jni/jvm_class.hpp | 1247020b5b68bb542a8fb502d26d2646833eab3f | [
"MIT"
] | permissive | little-adam/libgdx-oboe | 589ef888b5fe085d362a11eb98ab3869227a2d02 | 41831ecaf5b329ad5722421196c7b9d34f445def | refs/heads/master | 2023-06-21T07:29:14.470860 | 2021-07-13T12:38:02 | 2021-07-13T12:38:02 | 284,658,057 | 1 | 1 | MIT | 2020-08-03T09:28:38 | 2020-08-03T09:28:38 | null | UTF-8 | C++ | false | false | 8,183 | hpp | #pragma once
#include "jni.h"
#include "jvm_signature.hpp"
#include "jni_context.hpp"
#include "jvm_object.hpp"
#include "../utility/log.hpp"
#include "../utility/hash.hpp"
#include <memory>
#include <string_view>
#include <type_traits>
#include <unordered_map>
class jvm_class {
public:
jvm_class(std::stri... | [
"shtoshich@gmail.com"
] | shtoshich@gmail.com |
270ab8bc626b48648e48e18f9efe2e22d19ee2b3 | 0afe55a089c38ef8e102ca3be18f8d971b2286ff | /main/Nodes.h | 0efeed9cf8a0821b366dd2f942abf00582613ad2 | [] | no_license | alading241/Neural-Network-Development-Kit | 2f349c13d8e5e74861ec087a154bc450b992bcd5 | 8806e784072cf02edd83e403b334e574309e8321 | refs/heads/main | 2023-06-10T14:51:20.731244 | 2021-07-12T10:32:38 | 2021-07-12T10:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,966 | h | #pragma once
#include <cstddef> // for NULL
#include <Eigen/Dense>
#include <Eigen/Core>
#include <math.h>
struct Node {
Eigen::MatrixXd value; //MatrixXd is class and value is an object, different from the python version,(pointer)
Eigen::MatrixXd grad;
Eigen::Matrix... | [
"1327149492@qq.com"
] | 1327149492@qq.com |
670f6204ff36942e4c7bca792c0bec73d7999cc5 | f5d87ed79a91f17cdf2aee7bea7c15f5b5258c05 | /cuts/Application_Task.h | dd5b726924cfd8bffc592e7d9977317c32346301 | [] | no_license | SEDS/CUTS | a4449214a894e2b47bdea42090fa6cfc56befac8 | 0ad462fadcd3adefd91735aef6d87952022db2b7 | refs/heads/master | 2020-04-06T06:57:35.710601 | 2016-08-16T19:37:34 | 2016-08-16T19:37:34 | 25,653,522 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | h | // -*- C++ -*-
//=============================================================================
/**
* @file Application_Task.h
*
* $Id$
*
* @author James H. Hill
*/
//=============================================================================
#ifndef _CUTS_APPLICATION_TASK_H_
#define _CUTS_APPLICAT... | [
"dfeiock@iupui.edu"
] | dfeiock@iupui.edu |
f5d086d8620e4fadde2fb19899aa2b3ff2b56aec | 0c69111b211f81ae559935a00ba6c727c2a0509d | /maxRecSize/maxRecSize/stdafx.cpp | 971fefa7a779db9c24e4b6582133110d6dace274 | [] | no_license | jinghao666/liCodeGit | b2ff5a703e59e357b0b0fed681ce93c2f5d6308e | ee94469bd58d2931fe9749fcd8b6b6962a534085 | refs/heads/master | 2020-06-14T12:09:08.825452 | 2015-12-18T09:32:17 | 2015-12-18T09:32:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 261 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// maxRecSize.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"xixileili@gmail.com"
] | xixileili@gmail.com |
8dea709fe75d22043642ff304c8f663542c7fb2b | 782e8b221d2d106a15a17e60e8620c7fed278429 | /cachelib/navy/bighash/BigHash.h | 7714d461d2b7ba3957a8ab93c855cbb09741e04a | [
"Apache-2.0"
] | permissive | ilkerhalil/CacheLib | d02985bba68af40c036fc12411efe317487c50de | d131b686ac135ea873dc4bb62e9133858eaad238 | refs/heads/main | 2023-08-18T07:39:27.272731 | 2021-09-11T02:49:48 | 2021-09-11T02:50:55 | 405,455,233 | 1 | 0 | Apache-2.0 | 2021-09-11T18:33:55 | 2021-09-11T18:33:54 | null | UTF-8 | C++ | false | false | 7,948 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
6638cafcd0db651cfb01eb6b865f61723269f247 | 8cb3e7bba90795458b1401a3e2f69056730ff8fa | /src/externals/voronota/src/modescommon/sequence_utilities.h | 5c8e112738899ff9c47fd241dd5ac78d0826bc0b | [
"MIT"
] | permissive | merkys/libvoronota-perl | e508c5f219b1a25a38af70f93e8225030391631a | 19fea22db5f4e6dc141d9a28c20c9ad6e9d5d568 | refs/heads/master | 2021-08-07T04:17:28.400440 | 2017-11-07T13:50:03 | 2017-11-07T13:50:03 | 104,230,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,811 | h | #ifndef SEQUENCE_UTILITIES_H_
#define SEQUENCE_UTILITIES_H_
#include <fstream>
#include <sstream>
#include "../auxiliaries/chain_residue_atom_descriptor.h"
#include "../auxiliaries/residue_letters_coding.h"
#include "../auxiliaries/pairwise_sequence_alignment.h"
#include "../auxiliaries/residue_atoms_reference.h"
na... | [
"andrius.merkys@gmail.com"
] | andrius.merkys@gmail.com |
95b97e8202719ad3b8c6787c46d96608e85dccba | 7a310d01d1a4361fd06b40a74a2afc8ddc23b4d3 | /src/SearchDialog.h | f011565544f854f4e61ea27f8c4892f0785ccc58 | [] | no_license | plus7/DonutG | b6fec6111d25b60f9a9ae5798e0ab21bb2fa28f6 | 2d204c36f366d6162eaf02f4b2e1b8bc7b403f6b | refs/heads/master | 2020-06-01T15:30:31.747022 | 2010-08-21T18:51:01 | 2010-08-21T18:51:01 | 767,753 | 1 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,567 | h | /**
* @file SearchDialog.h
* @brief 検索ダイアログ.
*/
#pragma once
#include "resource.h"
#include "MtlWin.h"
class CSearchHistoryDialog : public CDialogImpl<CSearchHistoryDialog> {
int m_nRetCode;
public:
int m_bUseHiFunction;
CString m_strKeyWord;
SYSTEMTIME m_sysTimeStart;
SYSTEMTIME m_s... | [
"ahya365@gmail.com"
] | ahya365@gmail.com |
37cacb0f4a31d7e08b93a03f21864422775ee09e | 06e0aa85d3ec79d8770ba1fb978d681f353b31cd | /code-visualization/mainwindow.cpp | 4fd57ec4cba83dbe9e734b1b807e0cf4d46c9a08 | [] | no_license | karticsubr/FAS2016 | b84e6cf5be4cc9e0e1659859181050db078d87a1 | 521d32f2a811f58c30c72abbdfbfb48b6eb1bcf6 | refs/heads/master | 2021-01-24T11:06:21.663493 | 2017-02-03T02:31:03 | 2017-02-03T02:31:03 | 51,309,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,514 | cpp | /***************************************************************************
** **
** QCustomPlot, an easy to use, modern plotting widget for Qt **
** Copyright (C) 2011, 2012, 2013, 2014 Emanuel Eichhammer **
** ... | [
"gsingh@cs.dartmouth.edu"
] | gsingh@cs.dartmouth.edu |
86ad016b5a5a1e5c8960c3e2478e23dd540d11c4 | 0f23651b08fd5a8ce21b9e78e39e61618996073b | /tools/clang/lib/Sema/SemaOpenMP.cpp | 63ef808b3cc5f756a80bc85a68d1698a916be6f3 | [
"NCSA"
] | permissive | arcosuc3m/clang-contracts | 3983773f15872514f7b6ae72d7fea232864d7e3d | 99446829e2cd96116e4dce9496f88cc7df1dbe80 | refs/heads/master | 2021-07-04T03:24:03.156444 | 2018-12-12T11:41:18 | 2018-12-12T12:56:08 | 118,155,058 | 31 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 497,874 | cpp | //===--- SemaOpenMP.cpp - Semantic Analysis for OpenMP constructs ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"jalopezg@inf.uc3m.es"
] | jalopezg@inf.uc3m.es |
510024fe109197702fdbf45e277eb340f3c88b91 | 6be8bbf7b2758788daa01d4a4e906f4138b85b72 | /inc/systemmanager.hpp | 22a1f917e845e56aed361ae52133cf7e919973fc | [] | no_license | freahs/libtyra | 00620036357ad6f5589de0abeb7be4c6953b662d | 4a21dd5d52dfd92a6f6e8e6b42dd7b7b4a1c2df0 | refs/heads/master | 2021-07-15T12:05:33.227093 | 2021-03-04T07:27:26 | 2021-03-04T07:27:26 | 50,514,456 | 0 | 0 | null | 2018-05-23T08:18:20 | 2016-01-27T14:52:00 | C++ | UTF-8 | C++ | false | false | 1,775 | hpp | /**
* Copyright 2016 Fredrik Åhs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | [
"freahs@kth.se"
] | freahs@kth.se |
174ee8e96bca896ca4a10d8c0a2981d76aa6d9d0 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_5741.cpp | 08044d62a7c7d6d80833237e9a85f310da623fb7 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | cpp | storeAppendPrintf(s, "\tnrequests: %d\n",
conn->nrequests);
storeAppendPrintf(s, "\tdefer: n %d, until %ld\n",
conn->defer.n, (long int)conn->defer.until);
}
storeAppendPrintf(s, "uri %s\n", http->uri);
storeAppendPrintf(s, "log_type %s\n", log_tags[http->log_type]);
storeAppendPrintf(s, "out.offset %... | [
"993273596@qq.com"
] | 993273596@qq.com |
c41bb62707a8442bd7e43e38037a0f613f464933 | 3160cc30e4ca4af1726dd7412e2452c33546ad11 | /chapter-4/strtype1.cpp | e7755cc0b44b100bbe3b30aab56a7c3bbad6ecbd | [] | no_license | jxliu1216/CPP-Primer-Plus | d999224fca5234a251a9186ebe0ef0e212c824e4 | 4184862afd14ce00c76a8b65c037525e6ffce2e9 | refs/heads/master | 2022-04-04T00:23:07.473819 | 2019-12-27T06:44:44 | 2019-12-27T06:44:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | //strtype1.cpp -- using the C++ string class
#include <iostream>
#include <string>
int main(void)
{
using namespace std;
char charr1[20];
char charr2[20] = "jaguar";
string str1;
string str2 = "panther";
cout << "Enter a kind of feline: ";
cin >> charr1;
cout << "Enter another kind of feline: ";
cin >> str1;
... | [
"LiuJinxuepro@163.com"
] | LiuJinxuepro@163.com |
464d130f3b4e9d2aa25bbee0e75b67f99ff30d23 | 8319097d116501d562c0d1cbaafe3fcdebebb119 | /embeddeddialogs/customproxy.cpp | 1f92107e706c739fe939233e46124b74be3b0bea | [] | no_license | GiantClam/jubangktv | e6d596d33b4193e2c891e1f69021142b5078f811 | 51dd618ce38b9628669e5973c75cf3f1344b0bbf | refs/heads/master | 2020-05-20T11:09:02.341186 | 2012-09-16T17:19:42 | 2012-09-16T17:19:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,295 | cpp | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LIC... | [
"liulanggoukk@gmail.com"
] | liulanggoukk@gmail.com |
ba737bf36d1a074e942fdf76ad3eb37cd2135552 | 0bddb4647ce0e42c126fe7748ac95eae4751d02c | /PX4-Autopilot/build/px4_sitl_default/build_gazebo/MotorSpeed.pb.h | 8f2b933bedcc687f6097efce5d57890424ef78a7 | [
"BSD-3-Clause"
] | permissive | cuongchutan/Custom-Robotics-Academy | ec407c83d28ec171bd29ceb71850a248432e7367 | 8501cc5090e67c45609bf774b8779e53e4030144 | refs/heads/main | 2023-03-11T09:40:51.958056 | 2021-03-01T10:01:34 | 2021-03-01T10:06:39 | 343,366,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 7,951 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MotorSpeed.proto
#ifndef PROTOBUF_INCLUDED_MotorSpeed_2eproto
#define PROTOBUF_INCLUDED_MotorSpeed_2eproto
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3006001
#error This file was generated by a newe... | [
"cuongchutan@gmail.com"
] | cuongchutan@gmail.com |
23f95d3243df7ca4468971dca7817ce47ae54902 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-compute-optimizer/source/model/UpdateEnrollmentStatusRequest.cpp | caef5ed12c781c7edbb7d339ba1bcd5d247b1d5e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,232 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/compute-optimizer/model/UpdateEnrollmentStatusRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::ComputeOptimizer::Model;
using namespac... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
acb102f906a8015784ced2f3c8db3a54cde230ca | c591b56220405b715c1aaa08692023fca61f22d4 | /Prachi bansal/Milestone-11/question-37.cpp | 89694e62bc0d830eb22997106932497eb1c57756 | [] | no_license | Girl-Code-It/Beginner-CPP-Submissions | ea99a2bcf8377beecba811d813dafc2593ea0ad9 | f6c80a2e08e2fe46b2af1164189272019759935b | refs/heads/master | 2022-07-24T22:37:18.878256 | 2021-11-16T04:43:08 | 2021-11-16T04:43:08 | 263,825,293 | 37 | 105 | null | 2023-06-05T09:16:10 | 2020-05-14T05:39:40 | C++ | UTF-8 | C++ | false | false | 417 | cpp | //ascending order
#include<iostream>
using namespace std;
int main(){
int a[20],temp,n;
cout<<"Enter the size: ";
cin>>n;
cout<<"Enter the elememts: ";
for(int i=0;i<n;i++){
cin>>a[i];
}
cout<<"Array in ascending order is: ";
for(int i=0;i<n;i++){
for(int j=i+1;j<n;j++){
if(a[i]>a[j]){
temp=a[i];
... | [
"prachibansal2111@gmail.com"
] | prachibansal2111@gmail.com |
7a56f25ec20b2d476187317c07299c82b7b42bbd | 5c134dd6e991661317cfc17a763af002680b1887 | /smallestDistinctWindow-SlidingWindow.cpp | db946e7c0eaa2f75da7734bdf1f92bfc9a10c5c7 | [] | no_license | noob-hu-yaar/CP- | b8442716862dc6171aca238f573bc2c723552d3e | e238c91638eb57af9458a0c6d916847d93bd83d1 | refs/heads/master | 2023-08-12T16:44:22.079749 | 2021-10-02T12:43:22 | 2021-10-02T12:43:22 | 272,474,320 | 1 | 3 | null | 2021-10-02T12:43:23 | 2020-06-15T15:23:23 | C++ | UTF-8 | C++ | false | false | 1,140 | cpp | #include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define mod 1000000007;
typedef long long int ll;
int main(){
fast;
int t;cin>>t;
while(t--){
string s;cin>>s;
set <char> st;
for(ll i=0;i<s.length();i++)st.insert(s[i]);
int dist... | [
"noreply@github.com"
] | noreply@github.com |
7ac4b57a60549d3bc65fe80f43cb1d34806e21e9 | 424d9d65e27cd204cc22e39da3a13710b163f4e7 | /chrome/browser/chromeos/web_applications/connectivity_diagnostics_system_web_app_info.cc | 2d0032554aa8a682750edb58b065c056688ce24a | [
"BSD-3-Clause"
] | permissive | bigben0123/chromium | 7c5f4624ef2dacfaf010203b60f307d4b8e8e76d | 83d9cd5e98b65686d06368f18b4835adbab76d89 | refs/heads/master | 2023-01-10T11:02:26.202776 | 2020-10-30T09:47:16 | 2020-10-30T09:47:16 | 275,543,782 | 0 | 0 | BSD-3-Clause | 2020-10-30T09:47:18 | 2020-06-28T08:45:11 | null | UTF-8 | C++ | false | false | 1,494 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/web_applications/connectivity_diagnostics_system_web_app_info.h"
#include <memory>
#include "chrome/browser/chromeos/w... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
229079062451737ab0ca6f130acde19a1fc6e828 | 62ad25cc8e9905ac4a3372c241afbb9de2cf4bfd | /src/meta_server/ddl_manager.cpp | c465becad4f06739114057f3accabaf84215f205 | [
"Apache-2.0"
] | permissive | junxfl/BaikalDB | 096e77b8985bb1a057324793d0423985e09716a7 | 70c7ff68fb36027339516a90de1c5368fc6ee0d3 | refs/heads/master | 2023-03-30T12:38:41.204797 | 2021-04-02T04:00:57 | 2021-04-02T04:00:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,550 | cpp | // copyright (c) 2018-present baidu, inc. all rights reserved.
//
// licensed under the apache license, version 2.0 (the "license");
// you may not use this file except in compliance with the license.
// you may obtain a copy of the license at
//
// http://www.apache.org/licenses/license-2.0
//
// unless require... | [
"noreply@github.com"
] | noreply@github.com |
0fbc6b411979e99a535bca5f52b4fbb324d679b4 | 8ca1a64788221a76a72b6ce21cb3d0a8fb74d237 | /FormularioExpressaoQuatroVariaveis.cpp | f195054d185fcc75fdb5d046d9ccc49432957d3f | [] | no_license | EltonCustodio/Pratilog | 782f5738f6202b764061d399049ce828df19c877 | 6514e6061baa2fdae910f54dd5740af813ea4af0 | refs/heads/master | 2016-09-06T03:06:42.015347 | 2015-05-13T14:41:17 | 2015-05-13T14:41:17 | 35,554,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "FormularioExpressaoQuatroVariaveis.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TFormExpressaoQuatroVariavei... | [
"elton_custodio@live.com"
] | elton_custodio@live.com |
1ed3dd1e4a083079f0d1c2cd6d5871337b3377bb | 805e83058e2cb1c4042fe31a0c5f2aacf76eca63 | /Glanda/CmdUpdateObj.cpp | 463a894ab0dd31ba13d15ab07702c9826980a3a8 | [] | no_license | progmalover/vc-stgld | 70ee037f3f27857fcdbb344b5ee8533c724b43b9 | 96055b2a2deca44eed5bb2c6e1e3f6cb1aff3a6b | refs/heads/master | 2021-01-12T05:17:05.334966 | 2017-01-12T14:49:44 | 2017-01-12T14:49:44 | 77,895,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | #include "StdAfx.h"
#include "cmdupdateobj.h"
#include "TransAdaptor.h"
#include "gldCharacter.h"
#include "gldMovieClip.h"
#include "gldShape.h"
#include "SWFProxy.h"
#include "gldInstance.h"
CExtractObj::CExtractObj()
: m_pObj(NULL)
{
}
CExtractObj::CExtractObj(const gld_shape &shape)
{
gld_shape... | [
"zhangxiangyang@os-easy.com"
] | zhangxiangyang@os-easy.com |
d686329dc0df11123178ac36d08b80a0964133ce | dbe1ad8c1ae77e80c1f0d613c70334bf911d2f5f | /apps/shaderResearch/alphamask/src/testApp.cpp | 2ddc10715201c4a2b72ab8cfe9c5a7a423830714 | [] | no_license | levky/OF | b239f2337ecdadc2ef72058f7cc6e206167e78f2 | 49acda22ecb8ff2e4e2cf198d7f494c562ab2e89 | refs/heads/master | 2020-05-15T18:28:12.238925 | 2011-09-15T10:15:57 | 2011-09-15T10:16:01 | 1,170,485 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,818 | cpp | /*
* ofxAlphaMaskShader.h
*
* Created by James George, http://www.jamesgeorge.org
* in collaboration with FlightPhase http://www.flightphase.com
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in ... | [
"demiurgeunit33@gmail.com"
] | demiurgeunit33@gmail.com |
825c645a79e7bbe9b94ffe4006035038531529ed | dcc457a45dffc039e197de1251d9a3ed7db2cde2 | /1454E.cpp | 21d39a052c776ab88bc1b698eba6203369d33f49 | [] | no_license | shammo18/Sports-Programming | 53500a0d5036de6ffda0f444814ccfc9710c2fba | 88fc129c6005c379bc489871ab9ad4ba6b1cffaf | refs/heads/master | 2023-01-28T22:59:08.746384 | 2020-12-09T09:42:31 | 2020-12-09T09:42:31 | 266,929,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,817 | cpp | //Bismillahir Rahmanir Rahim
//#pragma GCC optimize("Ofast,unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
#define ll long long
#define ull unsigned long long
#define pii pair<int,int>
#define pll pair<l... | [
"khan1803015cse@gmail.com"
] | khan1803015cse@gmail.com |
f244ca5258cffe0069316cc407126a1bdbd1ccd6 | cec2c23d218596762eccc767c8aa8c1b67532fec | /cimgtest.cpp | 525c9705b13a49f8719c4859fd302c917cb713bc | [] | no_license | suiqingsheng/book | 4e330434fa70529616e12d8049f028c33e3394c7 | 5dcc27354d48205a195771010d67db8aedecf14e | refs/heads/master | 2020-05-19T17:18:07.286805 | 2012-05-02T19:58:23 | 2012-05-02T19:58:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,204 | cpp | /*
* cimgtest.cpp
*
* Created on: Apr 27, 2012
* Author: tobias
*/
#include <algorithm>
#include <vector>
#include <map>
#include <string>
#include "CImg.h"
using namespace cimg_library;
float fabsf(float);
void cluster_search(const CImg<float> & fimage, CImg<unsigned char> & cluster,
int x, int y, flo... | [
"tobias@fu.herzkes.de"
] | tobias@fu.herzkes.de |
3d94ab617b17e0aa55477e5a9e4a2ef95780638e | c9603c7d7f83d8704b5cfabad7a28ec429af6fa0 | /test/unit_test/test_seqence.cpp | 68eddc1ec7fed0d8da44fa00cd70a5567d8512bd | [
"BSL-1.0"
] | permissive | dan-42/spoon | 6bc5bc7bb89df4df28a19abe37828cc1f9aa93e9 | be0a8770b371fcb33fb63e6e934972cb08ace2a6 | refs/heads/master | 2021-01-22T08:02:49.138827 | 2017-09-13T19:30:23 | 2017-09-13T19:30:23 | 92,599,624 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,610 | cpp | /**
* ninja-wooki, is a BACnet stack C++ library
*
* Copyright (C) 2015 Daniel Friedrich
*
* This file is part of ninja-wooki.
*
* ninja-wooki is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation, either versi... | [
"daniel@duerrenbuehl.de"
] | daniel@duerrenbuehl.de |
9d55df722d4c376f1d4effafc364a9cddd764afb | 85a8417c78231eeb2dbfae22fa2a57d1a30207a0 | /chpater7/nullptr.cpp | 6969ebbda0b180e0d20823e9a799d888e32b4ac0 | [] | no_license | lilelr/codes-understanding-of-C-11 | 4298a9a4a581c4aab6b05de5ee611527a7e2ff4d | d1524cb738e8495eeb9c42b80d8c6289ba755877 | refs/heads/master | 2021-01-22T12:57:24.459225 | 2018-04-14T06:51:09 | 2018-04-14T06:51:09 | 102,360,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | #include <climits>
#include <cassert>
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include <type_traits>
#include <typeinfo>
#include <memory>
#include <atomic>
#include <thread>
//#include <cstdatomic>
#include <unistd.h>
#include <cstdlib>
/* at_quick_exit example */
#include <stdio.h> ... | [
"lilelr@163.com"
] | lilelr@163.com |
0607da635100c9ba32178cc1578dc3cd8dc5b2cd | f3a729d3588f6c31975d44b37f1b3a29c01db3cd | /812A.cpp | 96814de62e1022b61057b1990a1e05b8570b026e | [] | no_license | yongwhan/codeforces | 887e7cca0b47aa2ba65b1133300c63a808a15590 | aa8fa27ca1a07fcb7f9dac5b1ce908b7bfcd49e2 | refs/heads/master | 2020-11-28T01:47:52.239077 | 2019-12-23T04:16:29 | 2019-12-23T04:16:29 | 229,671,486 | 0 | 0 | null | 2019-12-23T04:05:28 | 2019-12-23T03:43:38 | C++ | UTF-8 | C++ | false | false | 301 | cpp | #include<iostream>
using namespace std;
int main(){
int l[4],s[4],r[4],p[4];
for (int i=0; i<4; i++) cin>>l[i]>>s[i]>>r[i]>>p[i];
for (int i=0; i<4; i++) if (p[i]&&(l[i]||s[i]||r[i]||r[(i+3)%4]||s[(i+2)%4]||l[(i+1)%4])) {
cout << "YES" << endl;
return 0;
}
cout << "NO" << endl;
return 0;
}
| [
"yongwhan@yongwhan-macbookpro.roam.corp.google.com"
] | yongwhan@yongwhan-macbookpro.roam.corp.google.com |
9c0e1581442e92d830ba0c2d9254f32fad3e93ab | bf7a9ee52c1c1ae00827eea5a71960bd354c2dac | /NVGame.cpp | 49f445a0935792f397418e9cbfb54d031e5b86c2 | [] | no_license | RYAN9528221/FFMPEG-MUX-audio-and-video | cbbf38afb5a40948613b8c51d877fc5b7a56d136 | d0aaf34af3faea4722a3f84386b605ac7082c06c | refs/heads/master | 2021-03-01T04:35:01.789430 | 2020-03-08T05:13:03 | 2020-03-08T05:13:03 | 245,754,297 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 37,634 | cpp | #include<opencv.hpp>
#include<highgui.hpp>
#include"screen_record.h"
#include <SDKDDKVer.h>
#include <stdio.h>
#include <tchar.h>
#include <string>
#include <process.h>
//#define USE_FILTER
// TODO: 婓森揭竘蚚最唗剒猁腔坻芛恅璃
#include <Windows.h>
#pragma comment(lib, "Winmm.lib")
#include <dshow.h>
#pragma comm... | [
"noreply@github.com"
] | noreply@github.com |
8cc021468488fbe7848abc82977f6f4887a8653a | befc46a19f36d531e8ccd01418c01afc4f484f50 | /test/generator/stubtest_generator.cpp | 83ff4fc81ef0a8be61e773570f97da323baa177d | [
"MIT"
] | permissive | llhe/Halide | 10dbb067f97c0045332b102ee1b827ca84d2af27 | 76e4ece926d845faaa3a048d207e402f374c5ac8 | refs/heads/master | 2021-08-08T11:44:39.459001 | 2017-11-09T15:16:55 | 2017-11-09T15:16:55 | 110,220,926 | 1 | 0 | null | 2017-11-10T08:13:41 | 2017-11-10T08:13:41 | null | UTF-8 | C++ | false | false | 3,903 | cpp | #include "Halide.h"
namespace {
enum class BagType { Paper, Plastic };
template<typename Type, int size = 32, int dim = 3>
Halide::Buffer<Type> make_image(int extra) {
Halide::Buffer<Type> im(size, size, dim);
for (int x = 0; x < size; x++) {
for (int y = 0; y < size; y++) {
for (int c = ... | [
"srj@google.com"
] | srj@google.com |
79dc1d70a10a9f63159bf20d28e91b5b9aabbbc1 | b757f878b35baa52d3ffb45d0361d8d08e55511b | /source/repos/The Game of Life 3D/The Game of Life 3D/The Game of Life 3D.cpp | c7eb54fdcdee28448415167d52ad4b4227909ec6 | [] | no_license | IlyaPikin/The-Game-of-Life-3D | cd4f22ef15f8c246e6a0dc40b332a6fe1f886f03 | d410bfe8750368a527028cfb017d5ef667214f78 | refs/heads/master | 2023-05-13T08:33:01.087836 | 2021-05-05T21:46:33 | 2021-05-05T21:46:33 | 364,716,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,271 | cpp | #include <iostream>
#include <vector>
#include <numeric>
#include <algorithm>
#include <random>
#include <Windows.h>
#include <conio.h>
#include <time.h>
using namespace std;
COORD position;
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
struct iGame
{
int n=0, m=0, k=0;
int seed = time(NULL); // случайна... | [
"ilya.p@hotmail.com"
] | ilya.p@hotmail.com |
e65038c4f2d5c3b8e7e0c8d5db0934cc4a60b790 | 134ee61b4ce03695adff227db0804c17f3193a51 | /src/suicide.h | b0b594d744c13d0d37de1bb9c8aee63b3217a27c | [] | no_license | sayarghoshroy/Angry_Paper_Jet | 2b92d3a5949fd48bead1f1450f813267d2465ae3 | 7b9dade0a7d5ec2d912c4b5940149b78da81fdba | refs/heads/master | 2022-09-08T17:20:24.155884 | 2020-05-30T23:34:11 | 2020-05-30T23:34:11 | 267,707,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #include "main.h"
#define GLM_ENABLE_EXPERIMENTAL
#ifndef SUICIDE_H
#define SUICIDE_H
class Suicide
{
public:
Suicide() {}
Suicide(glm::vec3 plane_pos);
void draw(glm::mat4 VP);
void tick(glm::vec3 plane_pos);
glm::vec3 position;
float rotation;
float speed;
float size;
private:
VAO *object;
};
#endif | [
"sayar.1997@gmail.com"
] | sayar.1997@gmail.com |
4c4d3fee3a03a87f92edd47e295fa238b169ac4a | 992503d1528b2c4e0477e571ae4194d5c40d5f9c | /xrtl/port/common/base/posix_debugging.cc | ff7fe40a665b82543f74ef23507582ea543538db | [
"Apache-2.0"
] | permissive | yoshipaulbrophy/xrtl | 098fa002090a02740d338614f4c43238e6d071ca | d2bbabcaa7a3a72b400c0ee79d5d3b463fbddaef | refs/heads/master | 2021-01-20T00:46:11.048372 | 2017-04-21T17:35:45 | 2017-04-21T21:01:46 | 89,184,875 | 1 | 0 | null | 2017-04-24T01:23:41 | 2017-04-24T01:23:41 | null | UTF-8 | C++ | false | false | 969 | cc | // Copyright 2017 Google 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 applicable law or agreed to in... | [
"ben.vanik@gmail.com"
] | ben.vanik@gmail.com |
70ab832fbcaa5114ea021a89c262ab4d34f089f7 | 1fbae920e99bed47582561b5ead7719962ed62e0 | /99_TEMP/Julian/CalibResizing/ui_mainwindow.h | eb21d5b70e4009071780fc7d0ad33fafa0e51a42 | [] | no_license | HassibShaq/VPJW17G5 | 6116f571fe1b8f6a7d061488d6b840655bf1dc4e | 4423fbfd1658969664116162aa3eec5a3849e7b1 | refs/heads/master | 2021-08-31T11:37:24.645440 | 2017-12-21T07:16:07 | 2017-12-21T07:16:07 | 114,781,021 | 0 | 0 | null | 2017-12-19T15:25:05 | 2017-12-19T15:25:05 | null | UTF-8 | C++ | false | false | 4,753 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.1.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... | [
"potti.5er@gmx.de"
] | potti.5er@gmx.de |
8513d7a9fd252f365778cc8955db25452b66e26e | a998bfde47dc0f18382741212edd56e07c035070 | /net/spdy/spdy_framer.h | 99db36a417433fdf0406ff758308c073afa52638 | [
"BSD-3-Clause"
] | permissive | dalecurtis/mojo | 92c8ce2e339ae923d387e2bdab4591f2165a9e25 | e8ee0eb8a26abe43299b95054275939da9defd14 | refs/heads/master | 2021-01-15T11:44:31.238006 | 2014-10-23T18:48:50 | 2014-10-23T18:48:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,252 | 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_SPDY_SPDY_FRAMER_H_
#define NET_SPDY_SPDY_FRAMER_H_
#include <list>
#include <map>
#include <memory>
#include <string>
#include <utility>... | [
"jamesr@chromium.org"
] | jamesr@chromium.org |
1413b551efcaa96a72e9d6f122eae61b501a68c6 | 6fdd9f2cf50457851776a6991b51d9550f644aac | /tests/box.cpp | 73cf44e5a5eb6f91af3e8e5fbd007cb0b6f60bad | [
"BSD-3-Clause"
] | permissive | gouarin/cafes | 62008aa5e0f55d74681b9851d20552ae28a9bada | 5c9abe85a0a6440b47bcd356690c933df5c95988 | refs/heads/master | 2022-07-24T01:59:14.925626 | 2020-03-27T14:11:11 | 2020-03-27T14:11:11 | 62,560,133 | 5 | 2 | NOASSERTION | 2022-03-30T09:20:09 | 2016-07-04T12:22:20 | C | UTF-8 | C++ | false | false | 1,166 | cpp | #include <particle/geometry/box.hpp>
#include <particle/geometry/super_ellipsoid.hpp>
#include <cassert>
#include <iostream>
int main()
{
{
using pt = cafes::geometry::super_ellipsoid<2>::position_type;
using st = cafes::geometry::super_ellipsoid<2>::shapes_type;
cafes::geometry::super_ellipsoid<2> se{ {... | [
"loic.gouarin@math.u-psud.fr"
] | loic.gouarin@math.u-psud.fr |
7daabc26aa7a87bacb40e6af0313ab62ae93a7cb | dcf4162869feab76e0de62971c2f5ae48cd0ba87 | /test/mt_realloc.cpp | a1c4579ffa0eed45928bed71ad37becafe200916 | [] | no_license | YehorDzhurynskyi/ftmalloc | ec032418ae54f270bde6dbb23276589a14e2c07c | 2361b1d695a32c096ba13644919b1db4d82ccd03 | refs/heads/master | 2021-01-01T00:48:40.906466 | 2020-02-19T18:23:28 | 2020-02-19T18:23:28 | 239,104,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,738 | cpp | #include <cstdlib>
#include <ctime>
#include <cassert>
#ifdef WIN32
#include <windows.h>
#include <process.h>
#endif
#include "malloctest.h"
#define SIZE 20000
#define MAXSIZE (1024 * 10)
#define MT
#define DECLARE_PARAMS(prefix)\
\
alloc_params prefix##_alloc_params;\
{\
prefix##_alloc_par... | [
"y.a.dzhurynskyi@gmail.com"
] | y.a.dzhurynskyi@gmail.com |
06d829fa152b270ba4b2ccfd4cce4e38abfdc5d4 | b7359a11eb0b4db687f52cf616a76d8e8c95dfae | /src/core/kext/RemapFunc/RemapFuncBase.hpp | 1a6c386727296e2c5f316aaede129f3c02bc5092 | [
"Unlicense"
] | permissive | ausdruck/Karabiner | aa41bfd54b16f8a4cd892c92b26265121dec14c1 | 116086461fc19dce34434b070ead238ff2e2aa00 | refs/heads/master | 2021-01-15T09:38:14.846272 | 2015-05-10T13:02:26 | 2015-05-10T13:02:26 | 35,535,965 | 1 | 0 | null | 2015-05-13T08:00:23 | 2015-05-13T08:00:22 | null | UTF-8 | C++ | false | false | 2,614 | hpp | #ifndef REMAPFUNCBASE_HPP
#define REMAPFUNCBASE_HPP
#include "bridge.h"
#include "EventOutputQueue.hpp"
#include "FromEvent.hpp"
#include "IOLogWrapper.hpp"
#include "KeyCode.hpp"
#include "ListHookedKeyboard.hpp"
#include "RemapFuncClasses.hpp"
#include "ToEvent.hpp"
#include "WeakPointer.hpp"
namespace org_pqrs_Kar... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
db67980be2855e9dba92a3278776f38ecee89459 | 122287275ec1666cc27a6b6d06bab4f8b1c4ff33 | /z3/src/tactic/arith/lia2pb_tactic.cpp | 8d200c80d3468eba4d4db02319d3fbed21320055 | [
"MIT"
] | permissive | NJUCWL/symbolic_tools | f036691918b147019c99584efb4dcbe1228ae6c0 | 669f549b0a97045de4cd95b1df43de93b1462e45 | refs/heads/main | 2023-05-09T12:00:57.836897 | 2021-06-01T13:34:40 | 2021-06-01T13:34:40 | 370,017,201 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,694 | cpp | /*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
lia2pb_tactic.cpp
Abstract:
Reduce bounded LIA benchmark into 0-1 LIA benchmark.
Author:
Leonardo de Moura (leonardo) 2012-02-07.
Revision History:
--*/
#include"tactical.h"
#include"bound_manager.h"
#include"th_rewriter.h"
#include"for_each... | [
"48467952+NJUCWL@users.noreply.github.com"
] | 48467952+NJUCWL@users.noreply.github.com |
6c4240af646c26fce9c7dedf33b50dc626e21cca | 70378e0d46b1c4a25ba796f7d705096f0ca8b13b | /include/music.cpp | d0d51fd5c3f6808344eb7a939107b9344e221a4e | [] | no_license | jackrobotics/kb-honeylemon | 1056f33cde07d0a9224f0d469eddc62f4ba3a19b | a9edf87a4457d1920da8eb36c2471db4dd2ba414 | refs/heads/master | 2020-12-20T07:51:28.567861 | 2020-01-24T13:41:55 | 2020-01-24T13:41:55 | 236,006,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include "music.h"
void music::begin(void) {
// ledcSetup(0, 5000, 27);
}
void music::tone(unsigned int frequency, unsigned long duration)
{
if (ledcRead(0)) {
log_e("Tone channel %d is already in use", ledcRead(0));
return;
}
ledcAttachPin(27, 0);
ledcWriteTone(0, frequency);
... | [
"sonthaya.jackrobotic@mail.kmutt.ac.th"
] | sonthaya.jackrobotic@mail.kmutt.ac.th |
1c503b2c71d29a1a00123976af4ccb708e5e22f9 | ca56965a4b410ad1e66da520b3a9d859a402fb09 | /gazebo/gazebo/gui/DataLogger_TEST.cc | 5e85e95eb94b10bebc232f4c4e6dd908842d6e6f | [
"Apache-2.0"
] | permissive | UWARG/simSPIKE | 46866b0a33b364e91fc4fda3662a03ae4652e4e5 | 69a5da0f409816e318a16da4e1a2b7b3efab6364 | refs/heads/master | 2021-05-04T10:32:15.667935 | 2016-11-06T04:17:38 | 2016-11-06T04:17:38 | 48,701,706 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,239 | cc | /*
* Copyright (C) 2012-2014 Open Source Robotics Foundation
*
* 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... | [
"mehatfie@gmail.com"
] | mehatfie@gmail.com |
487e1c56a130ece0d240e4092c0a1e4c5e1d9817 | 40e136eccaeb639e0450c4d8cbd40d2769105e62 | /Basics/Lab 02.cpp | d4c07db7c892cd15113e99f1c8a55ed525c67b3b | [] | no_license | patriciom2/LP1 | 357d4c76f505c49be3f9f3547cdab4e0b6e9a2d4 | ff99f14b306f9dc1b6660a9e8cac92d3426dea1c | refs/heads/master | 2020-05-03T06:28:51.400498 | 2019-05-09T17:29:32 | 2019-05-09T17:29:32 | 178,473,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | #include <iostream>
using namespace std;
int main(){
int length =20;
int width=40;
int area=length*width;
length=99;
{int perimerter=(length+width)*2;
}
{int perimeter=length*2+width*2;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
3d1f8008242fe6b73620c216c16a5bd91f005dde | 1d60862290bde068d23bae55971942fa1479787e | /NewTank/Grass.h | b7c80f6599fbfd55fc53f311dd7f5f1956328baf | [] | no_license | NENCAO/TANK | a653855a885d0502beccb57958c9f70593114744 | 1b865a900174014df1e80b03dad903fac97442ae | refs/heads/master | 2020-04-11T12:58:58.228138 | 2018-12-14T15:07:44 | 2018-12-14T15:07:44 | 161,798,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | h | #pragma once
#include "Item.h"
class CGrass :
public CItem
{
public:
CGrass(int x, int y)
{
m_Pos.SetX(x);
m_Pos.SetY(y);
m_bDisapper = false;
m_color = GREEN;
this->CalculateSphere();
};
~CGrass();
};
| [
"56115666@qq.com"
] | 56115666@qq.com |
11be07ea45e9da9d35867d71a06c2f1faa70c009 | 6f811c09de0d2a582edbca26ecc7d054fcc380ed | /cpps/cpps_class.h | dc822c102dae3a82d3047d6cb93396a07554dec1 | [] | no_license | akzi/cpps | 5d80f2402eeea6d8c84a7d37449d2fedcd9719ab | ae577c01b6608ba0eebe882f59b9c7e0732cb7ad | refs/heads/master | 2020-09-06T13:34:40.899864 | 2017-01-14T04:58:28 | 2017-01-14T04:58:28 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,593 | h | #ifndef CPPS_CLASS_CPPS_HEAD_
#define CPPS_CLASS_CPPS_HEAD_
//===================================
//@Author : Johnson
//@Email : jiang_4177@163.com
//@Date : 2015/12/10 (yy/mm/dd)
//@Module : CPPS_CLASS
//@Description : Cpps、C++类注册
//@website : http://cpps.wiki
//==================================
namespace cp... | [
"88481106@qq.com"
] | 88481106@qq.com |
7ce2a2064e201996468622f74a2629b0f665b5c8 | b4e2870e505b3a576115fa9318aabfb971535aef | /zParserExtender/ZenGin/Gothic_II_Addon/API/zRndD3d_Init.h | 518f3c339a5d48a66b03a3ad77cf93b5aa058613 | [] | no_license | Gratt-5r2/zParserExtender | 4289ba2e71748bbac0c929dd1941d151cdde46ff | ecf51966e4d8b4dc27e3bfaff06848fab69ec9f1 | refs/heads/master | 2023-01-07T07:35:15.720162 | 2022-10-08T15:58:41 | 2022-10-08T15:58:41 | 208,900,373 | 6 | 1 | null | 2023-01-02T21:53:03 | 2019-09-16T21:21:28 | C++ | UTF-8 | C++ | false | false | 641 | h | // Supported with union (c) 2018 Union team
#ifndef __ZRND_D3D__INIT_H__VER3__
#define __ZRND_D3D__INIT_H__VER3__
#include "zRndD3d.h"
namespace Gothic_II_Addon {
struct dxDEVICE {
public:
char name[256];
char desc[256];
char DeviceName[256];
unsigned long hardware;
unsigned long number;
... | [
"amax96@yandex.ru"
] | amax96@yandex.ru |
ed18f58fbbdf2f230db781bf34dc3ec992c4adae | 2a420e00748482676374ef995942c2354e38e11c | /src/driver.cpp | 15b76b8677c9f8a8b053bd827df39edb79fa925d | [] | no_license | Rowan-Gudmundsson/webasm-compiler | 95387ec497d9d40a2d5352602c35c37619d0a1b0 | e7810f66d81c1ce516e063ffd694cdbf7140b5a6 | refs/heads/master | 2020-04-14T03:47:07.906392 | 2019-01-05T04:11:02 | 2019-01-05T04:11:02 | 163,616,663 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | #include "driver.h"
int main(int argc, char** argv) {
std::string input, output;
if (argc > 1) {
if (commandLineArgs(argc--, argv++, input, output)) {
yyin = fopen(input.c_str(), "r");
try {
// yydebug = 1;
yyparse();
} catch (const SymbolError& err) {
std::cout << "Symbol error exception thro... | [
"rgudmundsson@nevada.unr.edu"
] | rgudmundsson@nevada.unr.edu |
088253b85934534f613aea12fbd1502ddc065dbd | dd6c7ebd047aa67aa266dfc7ef3f125dcaf9ed3a | /hazelcast/include/hazelcast/util/ConcurrentSet.h | 8fac43f5361ea2b614929746dba9ae5295c5d101 | [
"Apache-2.0"
] | permissive | skyend/hazelcast-cpp-client | e81009fa2b27cb53f33fe188b3205498ea7b5e11 | a62e1ce20e17cf2a69e236918860c467e03babba | refs/heads/master | 2020-04-22T00:17:51.954274 | 2019-02-13T09:17:54 | 2019-02-13T09:17:54 | 169,974,434 | 0 | 0 | Apache-2.0 | 2019-02-10T12:13:36 | 2019-02-10T12:13:36 | null | UTF-8 | C++ | false | false | 4,216 | h | /*
* Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | [
"noreply@github.com"
] | noreply@github.com |
f3fefafe091ea6b0aad988b70dcc3f7da24f3914 | 2863fa5fe44cbf3008583dc44ef3925e6b599df4 | /typedefs.h | 3f94d23ece29ad91a0e446f9c93ab1a8058c45d3 | [] | no_license | lsem/ipcmessaging | 4af20e43119fce3cc7d54fed5eb75fe229457e25 | 15205c3d4aa9f4cb41fdc8789a54ab72a18dd11c | refs/heads/master | 2021-06-07T17:25:12.602098 | 2015-04-21T19:43:13 | 2015-04-21T19:43:13 | 34,348,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | #pragma once
class HandlerBase
{
};
typedef unsigned typeid_t;
template <class TMessage>
class IHandle : public HandlerBase
{
public:
virtual void Handle(const TMessage &message) = 0;
};
template <class TMessage>
struct TypeIdResolver
{
public:
static int constexpr getType();
};
#define DEFINE_TYPE_ID_F... | [
"sli.ukraine@gmail.com"
] | sli.ukraine@gmail.com |
3e929acb723c454c948bc2ed1e2bdc48188c19d0 | ccd1fce7642521ba5e4b5ad5038f23ef2844174b | /src/List.h | 5304bf3551c1ef41efe5248f168a26126681dd2a | [] | no_license | rzepkamichal/Nibbles-Game | a0d72e7f62b431f7540d83b74564c69121d8cd54 | cba96b8e821783c62269ffb49f4c332d884e6916 | refs/heads/master | 2020-04-26T20:37:02.457452 | 2019-03-04T20:28:16 | 2019-03-04T20:28:16 | 173,815,952 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,518 | h | #ifndef NIBBELS_LIST_H
#define NIBBELS_LIST_H
#include "Node.h"
#include <iostream>
using namespace std;
template <class T> class List{
private:
//Wskaźnik na głowę listy typu T
Node<T>* head;
//rozmiar listy
int size;
public:
/*Konstruktor domyślny.
*Ustawia wartość head na nullptr.
... | [
"michrzep@interia.pl"
] | michrzep@interia.pl |
6a2133d2ec7e9cbb7b2c36765f1a906bcfe94288 | e655e6f46cc6d4de96e0d6367469716d824b6063 | /src/SalesDepartmentModule/test/SalesmanTest.cpp | 44b9341dfce2f2dfde20861e600465c192dd8b80 | [
"MIT"
] | permissive | imefisto/catchcmake-modular | 2879159601b9037671e3a9d09c0219d8d9ab15bc | 9bf063d191a00a603aca57d2b87405d77171fcfb | refs/heads/master | 2021-01-17T21:11:58.396264 | 2016-06-30T21:38:13 | 2016-06-30T21:38:13 | 62,343,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | #include "catch.hpp"
#include "SalesDepartmentModule/Salesman.h"
SCENARIO( "Salesman Entity", "[SalesDepartmentModule]" ) {
GIVEN( "A salesman" ) {
WHEN( "it is created" ) {
SalesDepartmentModule::Salesman salesMan;
THEN("getVendorCode should return an empty string") {
REQUIRE(salesMan.g... | [
"imefisto@gmail.com"
] | imefisto@gmail.com |
334ae172ddae48eb42c790907dfc3374dcf708d6 | 989885eef1dbe1fa5cc884dea27a77be123ce3ad | /visual_words.cpp | 4e5eb2efaf0842b2e1bfefbe5f821f96c0fe4792 | [] | no_license | aidiary/visual_words | 777188e9a7aef138ead5e06b17bf41885d31c8a8 | 40caf3b57f399962f4722ade8043b027d29d8173 | refs/heads/master | 2021-01-12T04:07:34.858418 | 2016-12-28T06:07:53 | 2016-12-28T06:07:53 | 77,507,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,669 | cpp | #include <cv.h>
#include <highgui.h>
#include <iostream>
#include <fstream>
#include <dirent.h>
using namespace std;
const char* IMAGE_DIR = "caltech10";
const int DIM = 128;
const int SURF_PARAM = 400;
const int MAX_CLUSTER = 500; // クラスタ数 = Visual Wordsの次元数
/**
* 画像ファイルからSURF特徴量を抽出する
* @param[in] filename ... | [
"f2forest@gmail.com"
] | f2forest@gmail.com |
75fa0311de00f5471dae5381050afd984ef850d6 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/smatsmatmult/DCaMCa.cpp | b4ba12053032c7b262170de935ef0378e9ccf1f5 | [
"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 | 5,152 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatsmatmult/DCaMCa.cpp
// \brief Source file for the DCaMCa sparse matrix/sparse matrix multiplication math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// Th... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
fafcdf912d27504803ce02946ea82bc57befbf0e | 8196646272f1f4ecb0f40da8244e5e939d9e810d | /libs/ledger/include/ledger/dag/dag.hpp | 5fa9237d6005e326ba47df3dcdf82119d271107c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | permissive | cyenyxe/ledger | 8301afb23eec536ca58c68ad5ebe768195ec7861 | 6b42c3a3a5c78d257a02634437f9e00d1439690b | refs/heads/master | 2020-08-03T20:03:57.083802 | 2019-10-09T16:36:53 | 2019-10-09T16:36:53 | 211,869,302 | 0 | 0 | Apache-2.0 | 2019-11-04T11:56:34 | 2019-09-30T13:42:35 | C++ | UTF-8 | C++ | false | false | 8,148 | hpp | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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 Licen... | [
"noreply@github.com"
] | noreply@github.com |
8d6cd426d5a450f176c22d96b20bea6942980172 | 0ac047a44db9e8634568a00876bc66d78e30b404 | /lxc0201/lxc0201/源.cpp | 2e3f9dcd4b80994a5e591724fab742e59cc3c7c5 | [] | no_license | Y1231/test1 | 2a7dd1d2834f0c79349b073acc46412352fbad71 | 9fd0099dc663958525d4d131a6a067af7ee3bdb7 | refs/heads/master | 2022-04-12T16:29:55.787166 | 2020-02-01T07:29:25 | 2020-02-01T07:29:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,300 | cpp | //好久没打码,真是太颓废了,今天决定打个码,熟悉一下生
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#define SUITS 4
#define FACES 13
#define CARDS 52
//prototypes
void shuffle(unsigned int wDeck[][FACES]);
void deal(unsigned int wDeck[][FACES], const char *wFace[],
const char *wSuit[]);
int main(void)
{
unsigned int deck[SUITS][FA... | [
"komorebi_1231@qq.com"
] | komorebi_1231@qq.com |
64619e3c8e4e1a54cf9dba3ad7174a2a0776351c | 1d0abd14aa46816c2cfa81a28efd5a17e359c356 | /dbms/src/Common/ZooKeeper/ZooKeeperImpl.cpp | 0d8bc8de72565a0ddf9ad8c8a0903f5bd11435c9 | [
"Apache-2.0"
] | permissive | hustjieke/ClickHouse | 26cac1ddf3ab59b771a924d0e102a60f5432ef75 | 7f294007cbdc2df819ca1e58c4409eec7926e82f | refs/heads/master | 2020-03-20T03:33:11.260936 | 2018-06-13T00:51:23 | 2018-06-13T00:51:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,848 | cpp | #include <Common/ZooKeeper/ZooKeeperImpl.h>
#include <Common/Exception.h>
#include <Common/ProfileEvents.h>
#include <Common/setThreadName.h>
#include <Common/typeid_cast.h>
#include <IO/WriteHelpers.h>
#include <IO/ReadHelpers.h>
#include <IO/Operators.h>
#include <IO/WriteBufferFromString.h>
#include <Poco/Exceptio... | [
"milovidov@yandex-team.ru"
] | milovidov@yandex-team.ru |
afe491599ed74f494307fffa02ac2999ca5659ba | fd69253efd87de9760cbf572d0e927bbce834421 | /src/walletdb.cpp | 6902fa470d8399c154b5d6f2626c0b689a4c0858 | [
"MIT"
] | permissive | apcplatform/apcc | 4c4f331837180184a5d080876c90a9022cd3af81 | bcbd94748156b74904eac879c153cd113c101959 | refs/heads/master | 2021-05-14T23:07:24.932442 | 2017-10-01T05:33:13 | 2017-10-01T05:33:13 | 98,450,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,341 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "wallet.h"
#include "base58.h"
#include <iostream>... | [
"air@enakee.local"
] | air@enakee.local |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.