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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
596f4aee6b0a0e4b665313db01db32c154ffc951 | d4d24f8a54bee6e76610f274d98ae165e461b133 | /packet_testing/Full_packet_test_MPU/full_packet_test/full_packet_test.ino | b8154762afa9ce80a21b5d115b941d2e1c404b0d | [] | no_license | crazymach/Arduino-Projects | f3733d4b014d5ff31ed65149d2dd6d8aa6d04aa2 | fc32b67371ed2cd060b93bb4f10e687e0c0167ef | refs/heads/master | 2020-09-24T05:41:37.257992 | 2017-01-08T01:37:51 | 2017-01-08T01:37:51 | 66,501,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,307 | ino | #include <ArduinoJson.h>
#include<Wire.h>
const int MPU_addr=0x68; // I2C address of the MPU-6050
int16_t AcX,AcY,AcZ,Tmp,GyX,GyY,GyZ;
String incomingByte;
float loadvalue;
float average;
int load_sensor;
int xcoord = 1;
int ycoord = 2;
int zcoord = 3;
int led = 13;
//1.Read 2. Parse 3. Do Work 4. Generate 5. Print
... | [
"benhyee@gmail.com"
] | benhyee@gmail.com |
3e3618922a5a116b786e415ad7b4583f6fa9ab93 | c8eb28a643230de0564db51829ed8d2e7a9a574e | /Virutal.cpp | 173fb9c878e7cc6eb69134c4d4cb81ea983fa2c8 | [] | no_license | michaelsad10/cpp | 6af6dfc4964e4b67e636cddc70e90facae98d7f7 | e707168be77cdb18910dfd56c12a776784ca8dc0 | refs/heads/master | 2020-03-30T18:58:39.443876 | 2018-10-18T15:28:15 | 2018-10-18T15:28:15 | 151,522,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include <iostream>
using namespace std;
class Animal{
public:
void getFamily(){cout << "We are animals" << endl;}
virtual void getClass(){cout << "I'm an Animal" << endl;}
};
class Dog : public Animal{
public:
void getClass(){cout <<"I'm a dog" << endl; }
};
class GermanShepard : p... | [
"sadag004@umn.edu"
] | sadag004@umn.edu |
4b62fcfd5231c13cbc2632ecaea7b438a254372a | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/40/6f8e91f06ac7a1/main.cpp | b224ad7c6354f5ba92baa57fe4c70f32a4642b62 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | #include <iostream>
#include <string>
#include <typeinfo>
struct Base {}; // non-polymorphic
struct Derived : Base {};
struct Base2 { virtual void foo() {} }; // polymorphic
struct Derived2 : Base2 {};
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
} | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
3ed2fc4b14092e8063abdd3239b3c6156701175d | a7b670687a192cffcc9355691549478ff22d1fa3 | /frc-cpp-sim/WPILib-2013/GearTooth.cpp | 58cfb869b32ada551981897019f044ea029702eb | [] | no_license | anidev/frc-simulator | f226d9af0bcb4fc25f33ad3a28dceb0fbadac109 | 3c60daa84acbabdcde5aa9de6935e1950b48e4c3 | refs/heads/master | 2020-12-24T17:35:21.255684 | 2014-02-04T04:45:21 | 2014-02-04T04:45:21 | 7,597,042 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,389 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*----------... | [
"anidev.aelico@gmail.com"
] | anidev.aelico@gmail.com |
38d02f2a61e74fd3ab76bd97890d24020681eb99 | dc5c9ff6dbf84558e15a778dd6a3d91058b82c54 | /toolkit/SequenceMethods.cc | a15d3837efda882d960a0d4e3a821e48609b0e04 | [
"MIT"
] | permissive | rdeforest/ColdStore | a8138c2543fd22dcb6ded30e49dd93144047b2c0 | 07d673de64d9536ca9225fd98d2ff038d07cf9b8 | refs/heads/master | 2021-01-16T17:47:11.562347 | 2015-06-27T16:15:20 | 2015-06-27T16:15:20 | 38,057,961 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | cc | // SequenceMethods.cc: builds the $list data object
// Copyright (C) 2001 Ryan Daum
// see LICENSE (MD5 f5220f8f599e5e926f37cf32efe3ab68) for terms
#include <Data.hh>
#include <Tuple.hh>
#include <Object.hh>
#include <Store.hh>
#include <List.hh>
#include <Frame.hh>
#include <Frob.hh>
#include <Error.hh>
#include <St... | [
"guitar.robot@gmail.com"
] | guitar.robot@gmail.com |
e2dc6bde960c6c3836bc11056fea3d10c504737a | d1a18053ff3db569686e7b7e74c45a669f23c81f | /src/generator/genFunctions.cpp | d02fcd90e90283e907bd08ff84ca0503d995998c | [
"MIT"
] | permissive | ThermalSpan/cpp-knapsack | 73efccdf6c16029cda7dd190810ad61102fc37cb | dcc577a3ef9f9da1f2a85400465f488d91fdd8cf | refs/heads/master | 2021-01-10T15:15:50.324353 | 2016-02-03T21:35:19 | 2016-02-03T21:35:19 | 50,005,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,021 | cpp | //
// genFunctions.cpp
// knapsack
//
// Created by Russell Wilhelm Bentley on 1/21/16.
// Copyright (c) 2016 Russell Wilhelm Bentley
// Distributed under the MIT License
//
#include "genFunctions.h"
using namespace std;
void genUnCor (int itemCount, int range, ofstream &outputFile) {
for (int i = 1; i <= itemCo... | [
"russell.bentley@Uconn.edu"
] | russell.bentley@Uconn.edu |
4cfc85bb1569831d5c45b85df37804b97539404c | 1310ca784c1b0b9238f2407eb59d0704b8ae5a08 | /NextGen/arduino/Noncurrent/z_WeightSensorTests/HX711.ino | 685f14da5661ce75bc7da8606ccbb8c0fef4bc36 | [] | no_license | RyannDaGreat/LightWave | 6b89838bfd48dba010eb5229b84b206be4e8ccbb | d055b0c01b01b3795d9e6c28b6b70f969893ed97 | refs/heads/master | 2023-07-20T08:23:47.526629 | 2023-07-18T00:25:02 | 2023-07-18T00:25:02 | 123,113,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,318 | ino | /**
*
* HX711 library for Arduino
* https://github.com/bogde/HX711
*
* MIT License
* (c) 2018 Bogdan Necula
*
**/
#ifndef HX711_h
#define HX711_h
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
class HX711
{
private:
byte PD_SCK; // Power Down and Serial Clock Input Pin
by... | [
"sqrtryan@gmail.com"
] | sqrtryan@gmail.com |
281fc722314ed908a48c661c7b575d8ae5224596 | 1bf6613e21a5695582a8e6d9aaa643af4a1a5fa8 | /src/net/quic/test_tools/.svn/text-base/mock_random.h.svn-base | b583182a6b09e7a5846815919a1200604580e9ac | [
"BSD-3-Clause"
] | permissive | pqrkchqps/MusicBrowser | ef5c9603105b4f4508a430d285334667ec3c1445 | 03216439d1cc3dae160f440417fcb557bb72f8e4 | refs/heads/master | 2020-05-20T05:12:14.141094 | 2013-05-31T02:21:07 | 2013-05-31T02:21:07 | 10,395,498 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 832 | // 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_QUIC_TEST_TOOLS_MOCK_RANDOM_H_
#define NET_QUIC_TEST_TOOLS_MOCK_RANDOM_H_
#include "base/compiler_specific.h"
#include "net/quic/crypto/q... | [
"creps002@umn.edu"
] | creps002@umn.edu | |
625436d24bccb87d154c89174b264b9b8151529c | 04b5b56a9ed37dac7525131f2653beb38888c54e | /c/猴子偷桃.cpp | 27f1887c30a4ffb14d863cbe96f07042f3ed6a3c | [] | no_license | Wild-pointers/pratice | 597ef5e2ea5747a2d17e3c2ca882124540d097a9 | 3d69731e325c0d7e07d63a56b0048b6c0ca05333 | refs/heads/master | 2022-12-21T22:08:26.942611 | 2020-08-09T11:21:28 | 2020-08-09T11:21:28 | 222,474,079 | 0 | 0 | null | 2022-12-16T00:37:14 | 2019-11-18T14:53:45 | Java | UTF-8 | C++ | false | false | 103 | cpp | #include <stdio.h>
int main()
{
int i,n=0;
for(i=0;i<7;i++)
{
n=(n+1)*2;
printf("%d\n",n);
}
}
| [
"1416170632@qq.com"
] | 1416170632@qq.com |
9c45ae66fffebdefc4881d2d1366737c207e5c81 | d4e9f4dac826b08f3427f58541976abefd72c0d3 | /solution.cpp | 37ec03d9121e83432626c280a75bfa4885dd749f | [] | no_license | froycard/ProjectEuler-12 | 2f76fdda470b0408739fa3a5dd24656efb189d29 | 946050c3fabddff6414d8d867c71b3aa0be9b0e8 | refs/heads/master | 2022-07-08T05:11:21.384124 | 2020-05-17T18:55:22 | 2020-05-17T18:55:22 | 264,734,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include<iostream>
#include<cmath>
#include<vector>
#include<set>
using namespace std;
set<unsigned> divisor(unsigned n)
{
set <unsigned> divs = {1,n};
for(auto i=2; i<int(sqrt(n))+1;++i)
if(n%i == 0)
{
divs.insert(i);
divs.insert(n/i);
}
return divs;
}
int main()
{
unsigned ... | [
"noreply@github.com"
] | noreply@github.com |
fa37047a1981e7ce6198d225fb741665f1b08a97 | 6b698df1c15b492b21b923c3c2384d71a32e1de4 | /src/data_structures/tree/t_tree.h | c209f5c71d46b401d83a62223dbb75392efd03fc | [] | no_license | eric-therond/accassias | 7929c85bf5163afde23467bd9decf74826873c87 | dd602d598ded18a13dd8f674dcbe23b43a97b336 | refs/heads/master | 2021-01-15T18:58:17.187136 | 2017-06-20T19:21:49 | 2017-06-20T19:21:49 | 32,142,493 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #ifndef T_TREE_H
#define T_TREE_H
#include "data_structures/graph/t_graph.h"
template <typename T>
class t_tree: public t_graph<T>
{
public:
t_tree(){
this->root = NULL;
this->istree = true;
};
};
#endif
| [
"eric.therond.fr@gmail.com"
] | eric.therond.fr@gmail.com |
fd2fa986fee90de3b08aed169b0955e8e8b18034 | 2cfa657fd119a23de2a5c2ae6d55e6d2516bae2d | /src/wallet/test/wallet_crypto_tests.cpp | e3eb8a6f3970b99e684bc49af64e52a9600b46d2 | [
"MIT"
] | permissive | vivuscoin/vivuscoin | 640b10ae3a72c03b501e03b07caae09ce6c87c81 | ba0db89712234bf68b2d6b63ef2c420d65c7c25d | refs/heads/master | 2023-05-07T06:26:26.241247 | 2021-05-25T03:54:32 | 2021-05-25T03:54:32 | 362,198,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,844 | cpp | // Copyright (c) 2014-2018 The Bitcoin Core developers
// Copyright (c) 2021 The Vivuscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/test_vivuscoin.h>
#include <util/strencodings.h>
#include ... | [
"support@vivuscoin.com"
] | support@vivuscoin.com |
d06975fda18b32b9a1c092f46a80e4eda75a0c5c | a6900da7d9fea94acf4b4f87492f93c9f43d99c9 | /game/testapp/inputcontroller.cpp | 5121de80ab9584b2991bd55e2c36f77bb13b934e | [] | no_license | akin666/bolt | a2433ac7f883db44f6f16de46a32a0fe93065364 | 84785c73d94dfb0a9106e3ac38c35e1a4fcfd5da | refs/heads/master | 2022-11-04T21:53:40.143858 | 2012-05-27T14:08:08 | 2012-05-27T14:08:08 | 276,093,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | /*
* inputcontroller.cpp
*
* Created on: 9.2.2012
* Author: akin
*/
#include "inputcontroller.hpp"
#include <log>
InputController::InputController()
: bolt::Controller("inputcontroller" , false )
{
}
InputController::~InputController()
{
}
void InputController::initialize()
{
LOG_OU... | [
"akin@localhost"
] | akin@localhost |
5f7fc905d9dca572c2704177ea150a34eaecb30a | e7473a998bb761b8e653abb94ae593bb0c0086e5 | /android/android_42/display/libgralloc/alloc_controller.cpp | e4d1d689dc19ce63c0d1cb4d6c0f829eeb8b94a2 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yakuizhao/intel-vaapi-driver | 27353904d4483d80d961b90e0cd9864168dd245f | b2bb0383352694941826543a171b557efac2219b | refs/heads/master | 2021-01-22T02:44:19.263890 | 2020-12-01T02:25:48 | 2020-12-01T02:26:50 | 81,062,952 | 0 | 0 | NOASSERTION | 2019-02-22T03:28:11 | 2017-02-06T08:05:28 | C | UTF-8 | C++ | false | false | 9,466 | cpp | /*
* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list o... | [
"yakuizhao@tencent.com"
] | yakuizhao@tencent.com |
4d1a56ca5e1f17e1b69e4c83e29c10852ceaf3c7 | 4df1038d6511e221ac090f7113ca9cf741837edb | /week_07/day_4_RPG_GAME_2_refactor/Skeleton.cpp | 39b9bddbd81af914007ffce44c4ba5edf37169e0 | [] | no_license | greenfox-zerda-sparta/juliabaki | 86af6ef89b290cc968247e5dbe1dc7f57c8d357c | 82998e8105914375ed2927426d6b04f8fa280b38 | refs/heads/master | 2021-01-17T18:21:25.037633 | 2017-02-07T11:27:59 | 2017-02-07T11:27:59 | 71,350,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include "Skeleton.h"
Skeleton::Skeleton() {
set_coordinates();
}
Skeleton::~Skeleton() {
}
void Skeleton::draw(GameContext& context) {
context.draw_sprite("skeleton.bmp", coordinate_x * 72, coordinate_y * 72);
}
void Skeleton::move(GameContext&) {
}
| [
"bakijulia@gmail.com"
] | bakijulia@gmail.com |
1c8eb9d656bbd953c03eb02483eb074fb79035bd | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/chooser_controller/chooser_controller.cc | 45390379754de4b1aebe2da556905c6ee7f93b03 | [
"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,784 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chooser_controller/chooser_controller.h"
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "co... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
71235dda3cd9f27dd2821c43635a8d5ba5b0f0cf | 7e7037ec077e786c48aab7578405119560233e2f | /C++ small tasks/find HCF (GCD) of two numbers.cpp | f6b322970e9ffb70c5596511ae80900a671a9f3a | [] | no_license | MubarizKhan/CS217-Object-Oriented-Programming | 84f4de2f443a88c4e04cd2aa0b45f6ad9811f854 | ed23929adbade51ca8e82cc221322db14f827fcf | refs/heads/master | 2020-06-16T16:20:29.857100 | 2019-11-16T17:14:15 | 2019-11-16T17:14:15 | 195,634,475 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | cpp | #include <iostream>
using namespace std;
int main(){
}
| [
"noreply@github.com"
] | noreply@github.com |
6473320889ab2419a0630b0fe378c687d56d865d | d5514a7253720c93062e75c5307ab78ec6a17c47 | /cartArduino/read_server_parameters/read_server_parameters.ino | da7edfd848cf721cb4bf67e5051b672fefe23dbe | [] | no_license | seanxyuan/Arduino | 9b14b84660b97b85c5da4d6c3ad15001169f73c7 | 454f64c553448d3664ee1b1ef181257460bab373 | refs/heads/master | 2021-01-06T05:01:51.657972 | 2020-02-20T22:24:25 | 2020-02-20T22:24:25 | 241,218,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,837 | ino | //include ros packages
#include <ros.h>
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BNO055.h>
#include <utility/imumaths.h>
#include "Adafruit_HTU21DF.h"
#include <ros_essentials_cpp/Arduino_I.h>
#include <ros_essentials_cpp/Arduino_O.h>
#include <SoftwareSerial.h>
#include "RoboClaw.h"
SoftwareSe... | [
"seanxyuan@gmail.com"
] | seanxyuan@gmail.com |
35c728166e95ec8309d69edfa82718496fff8c1b | c48e0bbf12e7528f4f188fd27f26d5e12acb6157 | /src/s390/code-stubs-s390.cc | 18af0387d5287140bc9fcb5294652986f216ce6c | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | theharithsa/v8 | b4576a8b26a00fc146ef3dba086c28b982c00b83 | 6ebf9fbb93d31f9be41156a3325d58704ed4933d | refs/heads/master | 2021-05-31T17:39:45.678975 | 2016-04-08T15:29:42 | 2016-04-08T15:31:15 | 55,805,573 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207,218 | cc | // Copyright 2014 the V8 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.
#if V8_TARGET_ARCH_S390
#include "src/code-stubs.h"
#include "src/api-arguments.h"
#include "src/base/bits.h"
#include "src/bootstrapper.h"
#include "s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b356ce5f3da2f0a159eb4604380693b44b1debf1 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_Codeforces/Intel Final Round/D/main.cpp | e0845649c759df8153c204562ee27d86728aae36 | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 1,474 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
#define mp make_pair
#define pb push_back
#define ll long long
#define maxN 100011
#define sigma 26
int n, m, i, step;
char s[maxN];
int cnt[sigma + 11];
vector<char> ans;
int sol;
... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
102a6bd6f9fdb6462ef2f6b23d0c88f7b856f408 | 91e3d3494819be1f5f04239c8aaf93989e6b2f34 | /crypto/hmac_sha512.h | d0ee7d99fbffadf98dc98b6f2e57ac76a7b8c874 | [] | no_license | filecoinwallet/ebzz_public | 1c5e38d64b26da77cb4a50002c94ac65e63e5e4a | 708fbb8e498f58b03921517d0fa3489ff8b2d861 | refs/heads/main | 2023-06-21T22:18:04.861369 | 2021-07-22T20:08:19 | 2021-07-22T20:08:19 | 385,140,291 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | h | // Copyright (c) 2014 The _ebzz_ebzz developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef _ebzz_ebzz_CRYPTO_HMAC_SHA512_H
#define _ebzz_ebzz_CRYPTO_HMAC_SHA512_H
#include "crypto/sha512.h"
#include <stdint.h>
#in... | [
"86972302+bzzio@users.noreply.github.com"
] | 86972302+bzzio@users.noreply.github.com |
fb46d6d423bb2335d2680434e3dd144db0d9293f | 7fb149b31b9321fc14396dad040fabf7e6e6eb52 | /build/tmp/expandedArchives/wpilibc-cpp-2019.2.1-sources.zip_d2c10ca9fef4a09e287ef5192d19cdb5/AnalogTrigger.cpp | aeb58dfbee2832de8b6f1cf296730e6e881b5fb2 | [
"BSD-3-Clause"
] | permissive | FRCTeam5458DigitalMinds/Axon | 4feb4e7cc1a50d93d77c204dbf6cca863850ba3f | af571142de3f9d6589252c89537210015a1a26a0 | refs/heads/master | 2020-04-18T20:14:50.004225 | 2019-10-30T03:05:29 | 2019-10-30T03:05:29 | 167,732,922 | 3 | 0 | BSD-3-Clause | 2019-03-11T01:25:14 | 2019-01-26T20:00:28 | C++ | UTF-8 | C++ | false | false | 4,076 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"maximo43873@gmail.com"
] | maximo43873@gmail.com |
81585da4d5cb9d37fe20155bcd545cdbedc627fa | 5595c911796d316d6a1da3c28f257a8cb433b524 | /(1.2) Tumbuhan/mTumbuhan.cpp | 88a653b41a1c224bebe07f478d71bad815f62396 | [] | no_license | cmrudi/Tubes-OOP | be3121a80a034e9af0adb176c77ee34bb836eb86 | 62fde0eb89a9f038f67f7be4b3072cec8cd05b88 | refs/heads/master | 2016-08-11T16:17:37.540764 | 2016-03-11T08:16:11 | 2016-03-11T08:16:11 | 53,005,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | #include <iostream>
#include "mahkluk.h"
#include "tumbuhan.h"
using namespace std;
int main () {
tumbuhan plant;
plant.muncul();
plant.makan();
plant.regenerasi_shield();
return 0;
}
| [
"cutmeurahrudi@gmail.com"
] | cutmeurahrudi@gmail.com |
c1ec035b6c04973847bba01aedc8f3e50a3d0086 | 40f608d1961960345da32c52a143269fe615ee01 | /StepMotor_17HS3430_accel/StepMotor_17HS3430_accel.ino | 3dc7ef9f53313281fbc73fb410c7b33e56fc8bf0 | [] | no_license | awk6873/arduino-elevator-model | c608d27fd2ba2db28baadc4d058d39da1a093398 | 280cea5cc4090e9a10d879e1d3a6df6087f55109 | refs/heads/main | 2023-04-20T16:10:08.529325 | 2021-05-05T16:42:12 | 2021-05-05T16:42:12 | 363,899,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,355 | ino | //#define DEBUG
const int motorEnablePin = 2;
const int motorDirPin = 3;
const int motorStepPin = 4;
const int motorDirUp = 0; // сигнал DIR драйвера ШД для подъема/спуска кабины
const int motorDirDown = 1;
const int motorEnable = 0; // сигнал Enable ШД
const int motorDisable = 1;
const... | [
"akabaev@beeline.ru"
] | akabaev@beeline.ru |
8761657cd93481796e42872c68435a7b952b8b3b | 0a4a6e6aa13c1e08983725bac007b9daf5ffe18c | /Transformaçoes 2d/transform3..cpp | 2c69e15a2a6a496297c7d0f83a717c9899bf195b | [] | no_license | Mateevee/ImplementacoesCG | f3289fa53d902d490497c1a5a415bf2a3d9ff234 | f2967c5fbd10ae9c458bdbf7eb5ad822b0ae2d97 | refs/heads/master | 2020-04-10T13:18:27.402209 | 2018-12-10T18:10:04 | 2018-12-10T18:10:04 | 161,046,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | cpp |
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>
using namespace std;
float angle = 0, scale = 1.0;
float xtrans = 0, ytrans = 0, ztrans = 0;
int enableMenu = 0;
void fillVector();
void display(void);
void init(void);
void desenhaEixos();
void mouse(... | [
"noreply@github.com"
] | noreply@github.com |
5ad5d42cf704a8c879cd3d31af24bac6ccb6f75f | 89ff92342a0bf80f6853cfad8d9f42142bee99a5 | /station.cpp | ccd89ba34065de6cb523eae5d8ca991c0dc7310f | [] | no_license | khademul/homework-7 | e6aeeb9e0088d0d94fe54b0d49068f87be09174b | 70cd16a95ed5afcf322754330dae83d7e123249f | refs/heads/master | 2020-03-28T01:03:29.810289 | 2015-03-28T00:38:34 | 2015-03-28T00:38:34 | 32,766,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | cpp | /*
* station.cpp
*
*
* Khademul Haque
*/
#include "station.h"
NetworkCode Station::getNetworkCode() const {
return networkCode;
}
const char *Station::getNetworkCodeString() const {
switch(networkCode) {
case CE:
return "CE";
case CI:
return "CI";
case FA:
return "FA";
case NP:
return "NP";
case WR:
return "WR... | [
"khademul144@gmail.com"
] | khademul144@gmail.com |
69740f9661dcf1fd172ca0d09300769202afb59a | a2151e6936b591f1c6c3c1a8f3bea00577d4c9ad | /一顆星/UVA11005_Cheapest_Base.cpp | 4eed462239b8196fef9aaa2963cb1fadcbc205d3 | [] | no_license | 410621229/dsccpp | 6f74349248b1b4032c688344f6812971a4759d60 | 5f70aed6939cf647c9bc1353838da509869da6c7 | refs/heads/master | 2020-06-08T10:22:12.313116 | 2019-12-04T15:33:19 | 2019-12-04T15:33:19 | 193,212,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | #include <cstdio>
#include <cstdlib>
#define oo 2147483647
void CalCost(int num, int bas, int a[], int base[]){
int k = num;
while(k){
base[bas - 1] += a[k % bas];
k /= bas;
}
}
int main(){
int a[36]; //存輸入的36個數字
int base[36]; // 存計算完的所有花費
int T, Case = 1;
scanf("%d", &T);... | [
"noreply@github.com"
] | noreply@github.com |
1e19f641388382f32447c64fdfc7366c96d02e74 | 03ea882f1f247db8a73f99d4c8ef0ac41cfcffda | /src/CImageGC.h | 6e81842ef2652cbf02b767d364ec6ed69573b1ff | [
"MIT"
] | permissive | colinw7/Cwm | b44a02ef3cdc4884c19b84732f4a54fbde1d7fef | dc68c207b5b15f24d81fce0e3c04e9c0c580212a | refs/heads/master | 2023-01-24T12:20:05.703709 | 2023-01-16T14:45:34 | 2023-01-16T14:45:34 | 10,445,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | h | #ifndef CIMAGE_GC_H
#define CIMAGE_GC_H
#include <CRGBA.h>
class CImageGC {
private:
CRGBA fg_rgba_;
int fg_ind_;
CRGBA bg_rgba_;
int bg_ind_;
public:
CImageGC();
~CImageGC() { }
void getForeground(CRGBA &rgba) const { rgba = fg_rgba_; }
void getForeground(int &ind ) const { ind = fg_ind_ ; ... | [
"colinw7@gmail.com"
] | colinw7@gmail.com |
08a53a41ffa7c8c4bd72cd9f85d4fbfc4a006750 | 4b02aa96b41c7852678e7c9b3361830b2d1a1a09 | /LeetCode-solution/problems/next_permutation/solution.cpp | aa29cb40a8ca09c84b70f0d8e425dd1435e88557 | [] | no_license | arifkhan1990/LeetCode-solution | 4a4124d6b41dc516b673d1b1adc693054a00509f | 85e1a3a285ee059dce091621b79312ba96024eed | refs/heads/master | 2023-01-13T17:26:13.720649 | 2023-01-12T17:35:39 | 2023-01-12T17:35:39 | 243,922,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | class Solution {
public:
void nextPermutation(vector<int>& nums) {
// sort(nums.begin(),nums.end());
while(next_permutation(nums.begin(),nums.end())){
cout << "[";
for(int i = 0; i < nums.size() ; i++){
cout << nums[i];
if(i != nums.siz... | [
"arifkhanshubro@gmail.com"
] | arifkhanshubro@gmail.com |
3ca5742de5f22db7ba37cd6f3936805f3c41f026 | db079ec2b7a66ecb7f7bc7908e5d417f61cc15d4 | /apg4b/086a.cpp | eabaacb498b04328c04526614729616e86720110 | [] | no_license | Hayabusa1601/Atcoder-codes | 045cc92648311d3b2d6cb88f1295bc4a3149aca3 | 1911bd84ba2baeede3ca973ff2a642562f89768c | refs/heads/master | 2023-09-01T20:57:29.824441 | 2021-09-26T13:56:07 | 2021-09-26T13:56:07 | 272,010,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | #include<iostream>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
if(a*b){
cout << "Odd" << endl;
}else{
cout << "Even" << endl;
}
return 0;
} | [
"1601hayabusa@gmail.com"
] | 1601hayabusa@gmail.com |
99384234424ff51e32036469556182e103a2817c | 9eb6451bc703c9bf1d7c5867a6214afe7f8bcb82 | /Cellar/blast/2.8.1/include/ncbi-tools++/objtools/edit/text_object_description.hpp | 737c18fcc5b25f91ba62137999b1818f9ee3ea7f | [] | no_license | SteveZhangSZ/CSE180_script | 6d057c0f37593b48c001d17c75ec8ba4a81f0fc7 | f81b3b88249ec458fa194b3f1af178e69ce4a1ef | refs/heads/master | 2022-11-30T04:54:36.124252 | 2020-08-18T15:29:14 | 2020-08-18T15:29:14 | 288,036,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,045 | hpp | /* $Id: text_object_description.hpp 575170 2018-11-26 13:17:25Z ivanov $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States ... | [
"sz.stevezhang.sz@gmail.com"
] | sz.stevezhang.sz@gmail.com |
bd3d27033fb398f16aa35ff65c919f401f555bad | 32008c385f0f676714133fcddc8904b180b379ae | /code_book/Thinking C++/master/C07/PriorityQueue6.cpp | c4681bf90c044bfcce073880da13f309ce002df5 | [] | no_license | dracohan/code | d92dca0a4ee6e0b3c10ea3c4f381cb1068a10a6e | 378b6fe945ec2e859cc84bf50375ec44463f23bb | refs/heads/master | 2023-08-18T23:32:30.565886 | 2023-08-17T17:16:29 | 2023-08-17T17:16:29 | 48,644,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cpp | //: C07:PriorityQueue6.cpp
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <iterator>
#include <queue>
using namespace std;
template<class T, class Compare>
class PQV : public vector<T> {
Compare comp;
bool sorted;
void assureHeap() {
if(sorted) {
//... | [
"13240943@qq.com"
] | 13240943@qq.com |
a558a007ee9c96e069986f9c82a4def8eec3e623 | 1e58ee167a1d2b03931a908ff18a11bd4b4005b4 | /groups/btl/btlso/btlso_defaulteventmanager_epoll.t.cpp | 311665c0b2e3515b7973eb3d9f203e382d1033ca | [
"Apache-2.0"
] | permissive | dhbaird/bde | 23a2592b753bc8f7139d7c94bc56a2d6c9a8a360 | a84bc84258ccdd77b45c41a277632394ebc032d7 | refs/heads/master | 2021-01-19T16:34:04.040918 | 2017-06-06T14:35:05 | 2017-06-08T11:27:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66,430 | cpp | // btlso_defaulteventmanager_epoll.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
94ee8ca033175ab009b83f66d6900569a880e8fa | b885748c915658d167317b37928c5fef3d27441d | /framework/volume_loader_raw.cpp | fe312da5c210c67d5e19c7e3e7d4d1c968339ac9 | [] | no_license | xaf-cv/AnSciVis | 9eaf7bfc86ba5d8f0df4e3c671f6bb39e6dff59c | 24bd1b2899d8083407c9f4336a8909b54c953949 | refs/heads/master | 2021-06-25T05:36:53.015626 | 2017-09-08T14:53:31 | 2017-09-08T14:53:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | cpp | #include "volume_loader_raw.hpp"
#include <fstream>
#include <iostream>
volume_data_type Volume_loader_raw::load_volume(std::string filepath)
{
std::ifstream volume_file;
volume_file.open(filepath, std::ios::in | std::ios::binary);
volume_data_type data;
if(volume_file.is_open())
{
glm::... | [
"antonf.vit@gmail.com"
] | antonf.vit@gmail.com |
c4495d62f7c042f05cd2c861b26d52ea95e108f1 | a3effde3c27c072090f0021bdae3306961eb2d92 | /Codeforces/1285/B.cpp | 50eb8a951970102a9ab9a56c96099be9cd2acd8d | [] | no_license | anmolgup/Competitive-programming-code | f4837522bf648c90847d971481f830a47722da29 | 329101c4e45be68192715c9a0718f148e541b58b | refs/heads/master | 2022-12-03T19:00:40.261727 | 2020-08-08T09:21:58 | 2020-08-08T09:21:58 | 286,011,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,746 | cpp | #include<bits/stdc++.h>
using namespace std;
//Optimisations
#pragma GCC target ("avx2")
#pragma GCC optimization ("unroll-loops")
#pragma GCC optimize("O2")
//shortcuts for functions
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define endl "\n"
#define all(v) v.begin(),v.end()
#define... | [
"anmolgupta9557@gmail.com"
] | anmolgupta9557@gmail.com |
0a4322c40e046b94356fde9e836bb40a459f833d | b8a473d5dd86d4839b17f5ec67430f8e1c2f7ac0 | /StdAfx.h | 4728f18eadb841c6c75be27c5a875c7f7bd5329d | [] | no_license | huyixi95/PowerfulClient | 60fa5f29d352ac5c3486942cb3dd107839d5d781 | 57ab8fb628a12e44e131b80f93456a3897b121ba | refs/heads/master | 2023-07-06T19:31:01.984981 | 2021-08-11T15:49:43 | 2021-08-11T15:49:43 | 394,892,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | h |
#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
#define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_
#pragma once
//#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <objbase.h>
#include <zmouse.h>
#include "DuiLibHeaders\UIlib.... | [
"wb-hyx706096@alibaba-inc.c"
] | wb-hyx706096@alibaba-inc.c |
3ee3aa34de782cd94412eb49c0d2ed3770f8cbd8 | 2057737709101c527e6b76991b71e0e70b8b5582 | /basics/references.cpp | be494610a6b944c99254669dc5c2556ce2883152 | [] | no_license | Prkizir/c-dev | 76851ba7e0c47bddee88858f9b9556617e8d3840 | 9795b41eeb554e33fc0eaffcf94fdad1bb22b3a4 | refs/heads/master | 2023-06-05T16:23:13.101297 | 2021-06-22T05:00:11 | 2021-06-22T05:00:11 | 369,870,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[]) {
/*
* Section 1
*/
//
// int a = 10;
// int &r = a; // Reference must be initialised when declared
// // "r" becomes an alias of "a"
//
// cout << a << endl; // 10
// r++;
// cout << r ... | [
"mercado.sergio.382@gmail.com"
] | mercado.sergio.382@gmail.com |
b655f0db7ae3d2a5dbd8eca2983be012caf0e8b8 | 5a32832b598a2506e042b7d8635b2657654c7e98 | /src/qt/guiutil.cpp | 01e37c3dc1b8180a74458b3d6fc816e97770c4c8 | [
"MIT"
] | permissive | sdcoin/consumption | 0798a5dfbe5dce61d587acd2184e0199e02be091 | 81afd4e49b2a9730f74f13cf64352e9e0b9fb926 | refs/heads/master | 2021-01-20T13:13:20.522351 | 2017-08-29T08:44:04 | 2017-08-29T08:44:04 | 101,739,443 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,250 | cpp | #include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "util.h"
#include "init.h"
#include <QString>
#include <QDateTime>
#include <QDoubleValidator>
#include <QFont>
#include <QLineEdit>
#include <QUrl>
#include <QTextDocument> // For Qt::escape
#include ... | [
"sdcion@163.com"
] | sdcion@163.com |
7ae1a6cf76548884373f5cfd143b520eab625b4d | 4dbaea97b6b6ba4f94f8996b60734888b163f69a | /LeetCode/81.cpp | 2c291725a2a751d7b249f0fc499fda512cbccbd5 | [] | no_license | Ph0en1xGSeek/ACM | 099954dedfccd6e87767acb5d39780d04932fc63 | b6730843ab0455ac72b857c0dff1094df0ae40f5 | refs/heads/master | 2022-10-25T09:15:41.614817 | 2022-10-04T12:17:11 | 2022-10-04T12:17:11 | 63,936,497 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | class Solution {
public:
bool search(vector<int>& nums, int target) {
if(nums.size() == 0){
return false;
}
int left = 0, right = nums.size() - 1;
while(left <= right){
int mid = (left + right) >> 1;
if(nums[mid] == target) {
... | [
"54panguosheng@gmail.com"
] | 54panguosheng@gmail.com |
875782d535ed5caf254077f0986ae164e676dae8 | 1dc9449da8c131431c168998119141ca4c5b0c4b | /config.h | cc5fba1e12bd7be8500199bc8da720873277fc7c | [] | no_license | k7jto/kismet | f06dc21ed5138ded9c6c8098d0e4943330e580c9 | 751b09291e7ddc42e60f137c513e079b75d186cf | refs/heads/master | 2020-05-18T12:53:54.595681 | 2014-12-29T15:55:44 | 2014-12-29T15:55:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,780 | h | /* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* system binary directory */
#define BIN_LOC "/usr/local/bin"
/* system data directory */
#defin... | [
"k7jto_john@gmail.com"
] | k7jto_john@gmail.com |
c17bd507504cf617f1c42974ed993267472067b7 | 0c6bec29bbeea5c6a8d88514dd271fd1a5dc1745 | /MS5/Date.h | df6ca118b88541d869b52305218a1963993166d6 | [] | no_license | chevashiIP/OOP244 | 8f9b1be2f049451d19b829b3bd7828c3addd4daf | e8edfbf32691aefbcf7c125cd0d9dffd5e55fbcf | refs/heads/main | 2023-03-13T18:50:11.350329 | 2021-03-05T20:37:26 | 2021-03-05T20:37:26 | 344,265,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | h | // Final Project Milestone 1
//
// Version 1.0
// Date
// Author
// Description
//
//
//
//
// Revision History
// -----------------------------------------------------------
// Name Date Reason
/////////////////////////////////////////////////////////////////
#ifndef AMA_DATE_H
#define AM... | [
"32250543+SomeRandomDude456@users.noreply.github.com"
] | 32250543+SomeRandomDude456@users.noreply.github.com |
bb01241ed6b3eb97e52caf3e1a438b3b70b5971e | 9b8591c5f2a54cc74c73a30472f97909e35f2ecf | /source/QtDataVisualization/QCustom3DItemSlots.h | b4ce2a271eef51b8e7eb96a16a1dae92f6a1bb54 | [
"MIT"
] | permissive | tnsr1/Qt5xHb | d3a9396a6ad5047010acd5d8459688e6e07e49c2 | 04b6bd5d8fb08903621003fa5e9b61b831c36fb3 | refs/heads/master | 2021-05-17T11:15:52.567808 | 2020-03-26T06:52:17 | 2020-03-26T06:52:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | h | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#ifndef QCUSTOM3DITEMSLOTS_H
#define QCUSTOM3DITEMSLOTS_H
... | [
"5998677+marcosgambeta@users.noreply.github.com"
] | 5998677+marcosgambeta@users.noreply.github.com |
14930d92e456b0ec1b2b6ab1dee5b7f9f7ac0c18 | 697551aa9d680478d19faa52df1aaf42a51e3201 | /sdk/protobuf/include/google/protobuf/util/internal/testdata/books.pb.h | eff1a64b841ed79428137ec9705e2f2c6db370da | [] | no_license | siddhugit/dev_app | bf7505759b79c3a0d6b7132b424dbcb5d1434da3 | 7cb7d492c32b39783180c9d7257833043803ed52 | refs/heads/main | 2023-02-06T01:13:59.360675 | 2020-12-25T15:35:40 | 2020-12-25T15:35:40 | 308,992,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 361,659 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/util/internal/testdata/books.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fbooks_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fbooks_2eproto
#inc... | [
"siddharth.sng@gmail.com"
] | siddharth.sng@gmail.com |
a46dee37eb2122644ecc8f64d99b665b56b81d93 | d01b150a730f4f941c541bb400bbda23edc9d8b1 | /Beginner/strng.cpp | d227a1c55222005fc1d6ca8e557f69f806b50e5d | [] | no_license | limina12/codekata | f763987f15e57a582ee0614597dbee0ce39fe527 | 05636114b7f764afbfef5bac5b92b464f99449d8 | refs/heads/master | 2021-09-10T23:21:02.898060 | 2018-04-04T06:48:01 | 2018-04-04T06:48:01 | 114,728,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include <iostream>
#include<string.h>
using namespace std;
int main() {
char str[15];
int len,n,i;
cin>>str;
cin>>n;
len=strlen(str);
for(i=n;i<=len;i++)
{
cout<<str[i];
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
1d1a89c1bb1f046eaa6cf3bfdbb1c4e70aa8c51c | 1093b8a3dce579a3d9a1773d668134852a8a1113 | /Main.cpp | e145a25a46bce4ed54c6b7ac0b55e6b19b3eb827 | [] | no_license | guivmc/CPP_Ex_4 | 2f90bd083b8c26fa68f5a18fff7b54889a086e10 | b9b5f5749b11b2fb0f53b6914d282af4f14e0f43 | refs/heads/master | 2020-04-11T01:22:22.519065 | 2018-12-12T11:17:44 | 2018-12-12T11:17:44 | 161,413,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | // ExDeSexta4.cpp : Este arquivo contém a função 'main'. A execução do programa começa e termina ali.
//
#include "pch.h"
#include <iostream>
#include <stdio.h>
#include <string>
#include <vector>
#include <map>
#include <algorithm>
int findSmallestInVector(int num, int pos, std::vector<int> vec)
{
if (pos >= vec.si... | [
"noreply@github.com"
] | noreply@github.com |
021bfed473b5099f5d94bcbd044e0a87cde5c1b4 | 6dc0ab4ee026c952680a2fc7d37fc2646b360864 | /src/APFELgrid/APFELgrid.h | 37625e9a3d6844f5d9af7abe0b40287395b6e95f | [
"MIT"
] | permissive | nhartland/APFELgrid | c3c6dd4498af8b93b5840892fccda8b4be4358e0 | 3ca47aab85b76a5e1e677f7e39bfcf8152f01800 | refs/heads/master | 2021-01-14T08:22:03.840847 | 2020-05-11T13:38:55 | 2020-05-11T13:38:55 | 50,047,730 | 1 | 2 | NOASSERTION | 2023-06-03T10:25:19 | 2016-01-20T17:37:25 | C++ | UTF-8 | C++ | false | false | 3,703 | h | // The MIT License (MIT)
// Copyright (c) 2016 Nathan Hartland
// 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, cop... | [
"nathan.hartland@physics.ox.ac.uk"
] | nathan.hartland@physics.ox.ac.uk |
96f39800e12974d91f9ba0a57a7e14233be12b5a | 1e31dd6bb149e64ae236ea16e76269cfbea25314 | /standalone/PointMerger/gui/main.cpp | 8a22743a868a6b72321c56758741b516db5318ed | [] | no_license | Geoany/ttk | 2bbe1df9565916b3af0149bd11dadcd14824905a | 6a78e7e558f13fafa8e49d0ad3e4e4a7b3343de5 | refs/heads/master | 2020-03-10T00:52:04.694684 | 2018-04-05T18:44:52 | 2018-04-05T18:44:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | cpp | /// \author Julien Tierny <julien.tierny@lip6.fr>.
/// \date February 2018.
///
/// \brief point merger program.
// include the local headers
#include <ttkPointMerger.h>
#include <ttkUserInterfaceBase.h>
vtkUserInterface<ttkPointMerger> program;
class myKeyHandler : public ttkKeyHan... | [
"julien.tierny@gmail.com"
] | julien.tierny@gmail.com |
95d511432fbfb0a995257ffaa5b14d06cff85ba6 | 7c3118cd363f1e8208294436932a15aaed22be14 | /Dice Game/Game.hpp | b08455c312703f57dcb46a126a21ea4a80911bb4 | [] | no_license | djbauman/Cpp-Projects | 1cc9fa44168e5d4c473d83edca8d8911b06d58cf | 9132544f10c5cb0006bd83dc25f7ecf9ab391ef1 | refs/heads/master | 2023-01-23T17:40:34.728808 | 2018-05-28T22:50:13 | 2018-05-28T22:50:13 | 135,215,851 | 3 | 1 | null | 2023-02-01T15:12:33 | 2018-05-28T22:46:32 | C++ | UTF-8 | C++ | false | false | 997 | hpp | /*********************************************************************
* Author: Daniel Bauman
* Date: 7/11/2017
* Description: This header file contains the class declaration for
* the Game class.
*********************************************************************/
#ifndef GAME_HPP
#define GAME_HPP
#include "Loaded... | [
"danieljbauman@gmail.com"
] | danieljbauman@gmail.com |
be70bdac265ad755e2b8bcbc304bf3716796e48e | eda611194fa0cf6b016252e12aca65acde0f0a61 | /ZMPO_Lista3/CMenuItem.h | a6c6d76b0593bcc6a73b76d1a24d4b9088c6b90b | [] | no_license | Loreth/Menu-project | 7ec002ba3095c21453767dc5ff6bf0d1ccdc25de | d51d8c9ad8161695aadb602c300832010a91eedb | refs/heads/master | 2020-04-24T05:40:57.711636 | 2019-02-20T19:41:44 | 2019-02-20T19:41:44 | 171,737,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | h | #pragma once
#include <string>
using namespace std;
#define TEXT_INDICATOR '\''
#define TEXT_SEPARATOR ','
#define CHILD_SEPARATOR ';'
#define FAILURE_AT_POSITION "Blad odczytu na pozycji "
#define FAILURE_EXPECTED ", oczekiwano: "
class CMenuItem
{
public:
CMenuItem();
CMenuItem(string name, string command);
virt... | [
"kamil.przenioslo@gazeta.pl"
] | kamil.przenioslo@gazeta.pl |
254259642e56567090d5e5c1e82d30fa71944078 | 5214c82f7aa7382c51332ae6a3794ca6bfc3a42e | /kythe/cxx/common/kzip_writer.h | 3c375806c0e0c6250fc558ec71eab0cd6772bcd7 | [
"Apache-2.0",
"NCSA"
] | permissive | moul/kythe | 7eac3c108cb59d496d538683a5ef0843a35e194c | f9d97b299d6a5b2ebd224560b2ec506064dc4ace | refs/heads/master | 2023-08-31T12:54:34.642235 | 2023-08-30T20:46:58 | 2023-08-30T20:46:58 | 58,826,593 | 1 | 0 | Apache-2.0 | 2023-09-14T21:16:14 | 2016-05-14T19:37:49 | C++ | UTF-8 | C++ | false | false | 3,442 | h | /*
* Copyright 2018 The Kythe Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | [
"noreply@github.com"
] | noreply@github.com |
774f16bf8d67bdfb6eecf2591a18a83f5ab2d082 | 712723501b60b49575d0ceebc39c6a3205fbf1ba | /Software/Tests/TestMotion/TestMotion.ino | 0b74036f42582f17a56a05a6db247d966515ea42 | [
"MIT"
] | permissive | robdobsn/MugBot | 6c16fa26df84f5c282b30b20ebb25b44eb343e98 | e13842d1fbab652fbc255123b1c34f259e519f7a | refs/heads/master | 2021-01-19T00:36:19.510900 | 2019-10-20T08:50:47 | 2019-10-20T08:50:47 | 87,188,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,454 | ino | #include "application.h"
SYSTEM_MODE(MANUAL);
SYSTEM_THREAD(ENABLED);
#include <AccelStepper.h>
// Define the steppers and the pins they will use
AccelStepper cylinderStepper(1, A7, A6);
AccelStepper penStepper(1, A5, A4);
void setup()
{
// LED to blink
pinMode(D7, OUTPUT);
// Stepper Enable
pinMode... | [
"rob@dobson.com"
] | rob@dobson.com |
8dcd4ecef104ab7ddb3f2bbfbe315f03f5097492 | f955b71bc89bdf8da84c9807394f096d444684b4 | /re2c/src/ir/regexp/regexp_match.h | 4905994141d0f1e5ab3423d61cdc180bf83aebdc | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | otaran/re2c | 0d8ae1f6bd855e5ae2c003b96fbfbe4a22516f63 | df19195968a158acf78eb4723c60925fbf1f6e04 | refs/heads/master | 2021-01-22T16:10:15.677837 | 2015-12-02T12:11:01 | 2015-12-02T12:11:01 | 47,002,105 | 1 | 0 | null | 2015-11-27T22:46:43 | 2015-11-27T22:46:43 | null | UTF-8 | C++ | false | false | 525 | h | #ifndef _RE2C_IR_REGEXP_REGEXP_MATCH_
#define _RE2C_IR_REGEXP_REGEXP_MATCH_
#include "src/ir/regexp/regexp.h"
#include "src/util/range.h"
namespace re2c
{
class MatchOp: public RegExp
{
public:
Range * match;
inline MatchOp (Range * m)
: match (m)
{}
void split (CharSet &);
void calcSize (Char *);
uint32_t ... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
6fbd43cccc19f354185742decc991e8f9836703c | ce56a2124f75c6172dfde643aa49c1773571b19b | /question46.cpp | 4509bb74c70ca04a9bb8e0a820d0550cab293c5d | [] | no_license | Electromagnetism-dog-technology/jianzhioffer | 91c3204d516e855ed4410aad631b87e96552bf3c | c5f20178bb9bb766e15aede7b2bc7dcc435db03e | refs/heads/main | 2023-06-18T15:06:11.584122 | 2021-07-17T07:49:17 | 2021-07-17T07:49:17 | 343,697,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | #include<iostream>
#include<vector>
#include<string>
using namespace std;
class Solution {
public:
int translateNum(int num) {
string nums = to_string(num);
int len = nums.size();
vector<int>dp(len + 1);
dp[0] = 1;
dp[1] = 1;
for (int i = 2; i < len + 1; i++)
{
if (nums[i - 2] == '1' || (nums[i - 2]... | [
"346322521@qq.com"
] | 346322521@qq.com |
8042b3a67a463cf50f7dc434826e267e382b53b1 | 216311623344fee7dd8088380b4f9149f088ce10 | /algorithm/codes/fig07_15.cpp | 75b6530ccf71a94929cae32b6f80b920448b4136 | [] | no_license | hhraymond/apple | 2ecedbe0d4d47d9a639a096dc7a55e25eea066c6 | 6349e10a09fff6b75d5382eac1d372ab28d3e06b | refs/heads/master | 2020-04-09T05:52:05.036173 | 2015-06-08T01:58:31 | 2015-06-08T01:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | cpp | /**
* Return median of left, center, and right.
* Order these and hide the pivot.
*/
template <typename Comparable>
const Comparable & median3( vector<Comparable> & a, int left, int right )
{
int center = ( left + right ) / 2;
if( a[ center ] < a[ left ] )
swap( a[ left ], a[ center ] );
... | [
"skyhuang007@163.com"
] | skyhuang007@163.com |
28eb4a8bf074833a2a5b1a1d8f3fd6c1d2dc59fa | 52505166e409b44caf7a0b144ef0c453b586fcee | /performance-eval/FlexNLP/s3/ac_include/mc_testbench_util.h | c32f3954f01cc6658123da87439278df0e465f72 | [] | no_license | yuex1994/ASPDAC-tandem | fb090975c65edbdda68c19a8d7e7a5f0ff96bcb8 | decdabc5743c2116d1fc0e339e434b9e13c430a8 | refs/heads/master | 2023-08-28T04:37:30.011721 | 2021-08-07T13:19:23 | 2021-08-07T13:19:30 | 419,089,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | h |
#ifndef _INCLUDED_MC_TESTBENCH_UTIL_H_
#define _INCLUDED_MC_TESTBENCH_UTIL_H_
namespace mc_testbench_util {
static void process_wait_ctrl(
const sc_string &var, // variable name
mc_wait_ctrl &var_wait_ctrl, // new control variable
tlm::tlm_fifo_put_if< mc_wait_ctrl > *ccs_wait_ctrl_fifo_if, // FIFO for wait... | [
"anonymizeddac2020submission@gmail.com"
] | anonymizeddac2020submission@gmail.com |
4dfc15d937f0ee89b74654a47ea81a356c51429b | c85b97ac269baf6d8a28fc7a7e7de554a56be7b6 | /src/EPLProxyContextMenuParams.cpp | b553f1b8c8e248076c11af98bd9b402ad558cae5 | [
"BSD-3-Clause"
] | permissive | Memorie6/ecef | 044afba923c9a157f60c89735dfdca42b2d50cd8 | b9214aec0462db26718fca1cdcc9add200fabfb8 | refs/heads/master | 2023-03-17T09:44:13.093857 | 2020-11-13T13:49:00 | 2020-11-13T13:49:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,596 | cpp | #include "stdafx.h"
#include "EPLProxyContextMenuParams.h"
#include <proxy/ProxyBrowser.h>
#include <proxy/ProxyFrame.h>
#include <proxy/ProxyRequest.h>
#include <proxy/ProxyResponse.h>
#include <proxy/proxyValue.h>
#include <proxy/proxyListValue.h>
#include <proxy/ProxyDictionaryValue.h>
#include <proxy/ProxyDOMNode.h... | [
"kirino17@hotmail.com"
] | kirino17@hotmail.com |
c6572787e5b6081a5b9bed2c6b231f14c564eca0 | 7484053d1a8f7cb85850525db91cb0514a328a13 | /Ch11_Algorithms/partition1.cpp | f65cc7a412eb84ab7db57b5345e51facba057096 | [] | no_license | olcayatabey/Cpp-Standard-Library-Tutorial | 2a56b1806cee6c284832a80a7efd98633a1df338 | 325198b1652ccf4f9e5c338f3ef54ba8c83962d8 | refs/heads/master | 2021-08-29T10:27:09.129597 | 2017-12-13T17:44:08 | 2017-12-13T17:44:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | // Chapter 11 Algorithms -- partition
#include "algostuff.hpp"
using namespace std;
int main()
{
vector<int> coll1;
vector<int> coll2;
INSERT_ELEMENTS(coll1,1,9);
INSERT_ELEMENTS(coll2,1,9);
PRINT_ELEMENTS(coll1,"coll1: ");
PRINT_ELEMENTS(coll2,"coll2: ");
cout << endl;
... | [
"rockpaperbanan@gmail.com"
] | rockpaperbanan@gmail.com |
076a413575a5288bd92c1233c73695d87f0d5a00 | 289fe1cb18116556fd957141fb1d9def14b9f312 | /telnet_client/main.cpp | bbdfa179cb47fed0bd67f1814d3a63287a7720f3 | [] | no_license | dendergunov/mtosdadp | c59f78920425507be60c4274cd4329cda0368553 | 1c527bc04505fe2128e227a47cde3f518ffbd21d | refs/heads/master | 2022-11-13T08:09:59.236711 | 2020-06-28T22:05:39 | 2020-06-28T22:05:39 | 240,233,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,669 | cpp | #include "event_wrappers.hpp"
#include "filter_utils.hpp"
#include <event2/event.h>
#include <event2/bufferevent.h>
#include <event2/buffer.h>
#include <event2/thread.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <iostream>
#include <sstream>
#include <charconv>
#include <optional... | [
"dan.dergunow@gmail.com"
] | dan.dergunow@gmail.com |
88fa9ce82a67f19c8cd5d3444926e10e7ed33291 | bc3e9b27585473f2ccbbc1406693a55d1ec086a0 | /Bulk Club Project/member.cpp | afd68726f6f29df8077336daa43a441a805349a3 | [] | no_license | eddierayo156/CS1C-Bulk-Club | ccb512163b8af2eae4e68029b4bbf320f91a064b | a04518112edb80393a2f725f8ae36bd5a31878c0 | refs/heads/master | 2020-03-08T00:02:49.652630 | 2018-04-02T20:26:21 | 2018-04-02T20:26:21 | 127,795,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49 | cpp | #include "member.h"
Member::Member()
{
}
| [
"noreply@github.com"
] | noreply@github.com |
0e5c3965c02c8715c6813549ca49e3039b99fa8d | 4b74fd95834ad40e173f2a2e370e39ca62f2a0f5 | /SELECT/MULTISERVICE/MSS.cpp | 65b88c579365467494069896e3541c51d1a02203 | [] | no_license | basushibam/Computer_Networks | 45817afe8e3aca9717ae94b035f35d673e2fc1ab | a3d1fd6cf210f0d758a98ae6c1c93bd2b734cf03 | refs/heads/master | 2020-12-21T05:34:50.146634 | 2020-01-26T15:00:44 | 2020-01-26T15:00:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,236 | cpp | #include <bits/stdc++.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <signal.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#define BUFFER_SIZE 100
#define MAX_SERVICES 30
using namespace std;
char mainFIFO[] = "./mainFIFO";
char t1FIFO[] = "./t... | [
"noreply@github.com"
] | noreply@github.com |
fbe874e14b7a9638b167d5100089ebb32ae616e0 | 1ffbffe9aead619e659a5787b877d86976d16c96 | /Cube Transformations using Vertex Buffers/Quaternion.cpp | 98a0ea767dec5394bf8b11fb5a0f47beac1ed0ff | [] | no_license | CastBart/All-Projects | 602c669a1900a992bd3ef91c67caba2aac0154b9 | 5d3c27e7c67fdc5f9423f765848563d9116b3165 | refs/heads/master | 2021-09-06T10:21:13.164192 | 2018-02-05T13:32:16 | 2018-02-05T13:32:16 | 76,813,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | cpp | #pragma once
#include "Quaternion.h"
Quaternion::Quaternion():
m_w(0),
m_x(0),
m_y(0),
m_z(0)
{
}
Quaternion::Quaternion(double w, double x, double y, double z):
m_w(w),
m_x(x),
m_y(y),
m_z(z)
{
}
Quaternion::Quaternion(float w, float x , float y, float z):
m_w(w),
m_x(x),
m_y(y),
m_z(z)
{
}
Quaternion... | [
"C00205464@itcarlow.ie"
] | C00205464@itcarlow.ie |
ed2d3de07b86acb5250e12dd08c6dfe73726c385 | 421f68125425e881444c9ea387449ba6e4a0ec8c | /blib/ResourceManager.cpp | c9428fa7fdea2be47684c3cf61e939068b380e6f | [] | no_license | sdbezerra/blib | 6453445c25703112a53644a760477e4b53794e94 | 26f965f232448e414caff0f137f46fad33aaa557 | refs/heads/master | 2020-04-06T04:19:34.852828 | 2015-12-17T13:26:55 | 2015-12-17T13:26:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | #include "ResourceManager.h"
#include <blib/Resource.h>
#include <blib/util/Log.h>
#include <assert.h>
using blib::util::Log;
namespace blib
{
ResourceManager* ResourceManager::manager = nullptr;
ResourceManager::ResourceManager()
{
manager = this;
}
ResourceManager::~ResourceManager()
{
... | [
"borfje@gmail.com"
] | borfje@gmail.com |
01b352d8496b26eb641372a8a9129c6db3ab4c7e | 2f45db01f5836b68f4fe207c5aa8719ab8ea29a5 | /Direct3DEngine/Include/Component/UserComponent.cpp | 66d4fe1e1606a3fa3f21d9f1a4c076fd4e4a1ac2 | [] | no_license | KkyuCone/Direct3D_RPGPortfolio | 8cbce767321580b9802847a6574bd4ccabac2532 | 6e3ffdf681f84e453f5810164ad1ff93571fa882 | refs/heads/master | 2020-05-31T16:10:15.320999 | 2019-06-12T14:18:58 | 2019-06-12T14:18:58 | 190,375,094 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,036 | cpp | #include "UserComponent.h"
ENGINE_USING
UserComponent::UserComponent()
{
m_eComponentType = CT_USERCOMPONENT;
}
UserComponent::UserComponent(const UserComponent & _Component) : Component(_Component)
{
// 복사생성자로.. Clone역할을 맡는데
// 복사본이니까 ReferenceCount를 1로 고정시킨다.
// 그렇지 않으면 원본에 이어 증가되기 때문에 프로그램 종료시 소멸자에서 삭제되지 않아 릭... | [
"praesentia05@naver.com"
] | praesentia05@naver.com |
e724746bb20c186d11e245c393e29465c3627c63 | 29807cf867a816930f087a24fbf3f421ec04a5aa | /examples/google-code-jam/JeffreyHui/C-small-2-attempt0.cpp | 397114a5368cdb970a29de2e4d472aa25f71f639 | [
"MIT"
] | permissive | rbenic-fer/progauthfp | d1c02be7083482ca1d525146477e535d4f23350d | d0fd96c31ab0aab1a9acdcb7c75f2b430f51c675 | refs/heads/master | 2022-10-19T15:47:13.531190 | 2020-06-12T21:38:09 | 2020-06-12T21:38:09 | 267,689,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include <cstdio>
int cnt[1000001];
int T, N, K;
int main (){
freopen ("C-small-2-attempt0.in", "r", stdin);
freopen ("C-small-2-attempt0.out", "w", stdout);
scanf("%d", &T);
for (int i = 1; i <= T; i++){
scanf("%d %d", &N, &K);
for (int j = 0; j <= N; j++)
cnt[j] = 0;
cnt[N] = 1;
while (cnt[... | [
"robert.benic@fer.hr"
] | robert.benic@fer.hr |
6b59c1a9ec4d4b0c6147aded7d5aebc4d2b86d49 | c53475be4728b07d8185c3885cb2f8c7668d9d76 | /9.cpp | 2260e77f169a03658d6dfe85a72d0baeda79114a | [] | no_license | JiangMingchen/PAT-Advanced-Level-Problems-using-Cpp | 9a8d27169ad600764643785831849610f87e3a63 | 9424f96a30d2e5d7ea1c1c32793f830066f28bc0 | refs/heads/master | 2022-04-17T22:48:04.723958 | 2020-04-17T05:41:18 | 2020-04-17T05:41:18 | 239,486,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
class item
{
public:
int exp;
float coe;
item(int e = 0, float c = 0) { exp = e; coe = c; }
item operator *(const item& b)
{
item t;
t.exp = this->exp + b.exp;
t.coe = this->coe * b.coe;
return t;
}
};
bool cmp(item a, item b)
{
... | [
"jiangmingchen@live.com"
] | jiangmingchen@live.com |
f70f64d1f6589c920ff7d20330a789cf801d440b | 3a54bd04f0ba813076fcee820c20eab93297d8e2 | /OS/pwdCommand.cpp | c7a478335e7cb78220192f55c3fb7f58b887da64 | [] | no_license | aivus/os-emulator | c2e809553428046fe2794807979195f3f3164f0f | 154dac6ea3913165a835c64fe06d349f01829cd4 | refs/heads/master | 2020-06-01T16:05:58.208035 | 2017-03-07T13:41:38 | 2017-03-07T13:41:38 | 21,008,196 | 1 | 1 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 644 | cpp | #include <iostream>
#include <vector>
#include <string>
#include "pwdCommand.h"
#include "VFS.h"
#include "retCodes.h"
using namespace std;
std::vector<std::string> pwdCommand::path;
// Конструктор
pwdCommand::pwdCommand()
{
//
}
// Деструктор
pwdCommand::~pwdCommand()
{
//
}
int pwdComman... | [
"aivus@aivus.name"
] | aivus@aivus.name |
b3b559e39db6fb97758d4ba533bb4797df863ff7 | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/Ceiling_Doorway_Stone_classes.h | bfe0c730085efd836205dd273ab5118233b70591 | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | #pragma once
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Ceiling_Do... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
3fe4df441d8f5dae78bd2c972132e3a7adc1b340 | 0c384a65fb670fbc0a2dde7d33054cb18429634e | /SocketAnnotator/source/SocketAnnotator.cpp | f9794c2c74a77bcf1c979eb0a9701c7695eb7224 | [] | no_license | DURAARK/elecdetect | c204347a24ecb025a3f712d5f31ed845d0385516 | fb711de94893905e1e26be65924600ff4b188895 | refs/heads/master | 2016-09-03T07:09:09.205956 | 2015-04-24T13:00:23 | 2015-04-24T13:00:23 | 34,518,807 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,873 | cpp | #include <iostream>
#include <vector>
#include <dirent.h>
#include <opencv2/opencv.hpp>
#include "CAnnotation.h"
#include "Utils.h"
#include "tinyxml2.h"
using namespace std;
using namespace cv;
using namespace tinyxml2;
int main(int argc, char* argv[])
{
//------------------------------------------------
// Re... | [
"robert.viehauser@student.tugraz.at"
] | robert.viehauser@student.tugraz.at |
e8fd9a7286b5109af42ccaa8eeec0cd4adc8f826 | e1a4acf1d41b152a0f811e82c27ad261315399cc | /algorithms/kernel/neural_networks/layers/tanh_layer/forward/tanh_layer_forward_dense_default_batch_fpt_dispatcher.cpp | 4f2007a37ae956ed02b5b48fd6ba1d3c98be9cec | [
"Apache-2.0",
"Intel"
] | permissive | ValeryiE/daal | e7572f16e692785db1e17bed23b6ab709db4e705 | d326bdc5291612bc9e090d95da65aa579588b81e | refs/heads/master | 2020-08-29T11:37:16.157315 | 2019-10-25T13:11:01 | 2019-10-25T13:11:01 | 218,020,419 | 0 | 0 | Apache-2.0 | 2019-10-28T10:22:19 | 2019-10-28T10:22:19 | null | UTF-8 | C++ | false | false | 1,284 | cpp | /* file: tanh_layer_forward_dense_default_batch_fpt_dispatcher.cpp */
/*******************************************************************************
* Copyright 2014-2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lic... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
92b0056b3d83365cfc665b6a7dcb8fe8284393c2 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-eventbridge/include/aws/eventbridge/model/CreateConnectionRequest.h | 386379f17cc39eb65085211347bfbf9926804ed1 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 7,580 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/eventbridge/EventBridge_EXPORTS.h>
#include <aws/eventbridge/EventBridgeRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/eventbridge/model/Connectio... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
9d824dad4898ce2e2c48de037d006577d7505810 | cc6f69541a77b227f0f122105ab73863cf443f0b | /Recipent.cpp | 130828c5828a797e1941f1d360cd97c494bcdfb7 | [] | no_license | sennar23a/NewAddressBook | 87cfc91366a3a9a6d2173cc0133fc16a7f243a47 | e64127b3d56212d291860961089fb44be18ec860 | refs/heads/master | 2020-04-18T09:17:22.971147 | 2019-01-24T20:05:25 | 2019-01-24T20:05:25 | 167,428,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | #include "Recipent.h"
using namespace std;
Recipent::Recipent() {
individualNumberOfEachFriend = 0;
userId = 0;
name = "";
surname = "";
phoneNumber = "";
email = "";
address = "";
}
Recipent::~Recipent() {;}
int Recipent::getIndividualNumberOfEachFriend() {
retu... | [
"noreply@github.com"
] | noreply@github.com |
8fc7c432914d46e6160269ac62eb6bdc58c5d2ce | 3c79edef27fe742f146e01a886a350ff13064058 | /Receiver_v1.01/Receiver_v1.01.ino | 5524753109f3e345ad8986e3df272627591896d9 | [] | no_license | amarotica/Remote-Operated-Vehicle | 0b5939ff1436f912c0325c899fd10e6b06aa9489 | a18da4a57404e12ed76368559d86e21a88f997e1 | refs/heads/master | 2020-03-23T20:40:53.443458 | 2019-02-20T18:26:21 | 2019-02-20T18:26:21 | 142,055,280 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,200 | ino | //-------Written by Taylor Amarotico-------//
// Remote Operated Vehicle Receiver //
char SoftwareVersion = "v1.02";
// transmissionArray Variable Inputs Declaration //
int transmissionArray[12];
int Rmotorvalue = transmissionArray[1];
int Lmotorvalue = transmissionArray[2];
int Rdirectionvalue = transmiss... | [
"noreply@github.com"
] | noreply@github.com |
e068170d3d755519b65a75c5a78eb29940de0135 | 53635c70f08969fe29da4bda242ffa117a39d850 | /OpenGL_Tuto/gameplay/modes/gamemode_editor.h | e6bc1d3c803476f8d08f8c6b2d766842e5fe59dc | [] | no_license | theDoubi125/OpenGL_Tuto | 161adc246d0e883fbf1fb251a582279336811a88 | 72ad6864fbee2736dc68b91b857cbd147688cbab | refs/heads/master | 2020-04-22T09:21:46.437016 | 2019-07-20T23:32:42 | 2019-07-20T23:32:42 | 170,269,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61 | h | #pragma once
#include "transform.h"
namespace gamemode
{
} | [
"julien.revel@telecomnancy.net"
] | julien.revel@telecomnancy.net |
144f8ffcc9251672aab82e517bc16719df4c2fac | b7c929c578e3f8bdb3757ecb6585c33c0005a99a | /asg5/code_generator.h | 52b543b3e46b8197989eead7e4144ff44363eb93 | [] | no_license | VisionsOfDrifting/CMPS_104a | 09c19812029cbd8639f4f644d5dee757e18e9988 | 528a73421980d97cc49c001e3fc22697548f1e95 | refs/heads/master | 2021-01-01T20:43:56.464641 | 2017-07-31T19:35:31 | 2017-07-31T19:35:31 | 98,919,067 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 681 | h | //*****************************************************
//* Nicholas Pappas
//* Riley Honbo
//* nhpappas@ucsc.edu
//* rhonbo@ucsc.edu
//* CMPS 104a w/ Mackey
//* Assignment: Project 5
//*****************************************************
#ifndef __CODE_GENERATOR_H__
#define __CODE_GENERATOR_H__
#include <iost... | [
"nhpappas@ucsc.edu"
] | nhpappas@ucsc.edu |
e10afa012487b023cec7d5a49d1ddbc1da659d15 | 6fee31ef3f6c3707de20a5956b2d96575fdf0aac | /znd/dev/src/gui/hmi/libs/scripttools/debugging/qscriptdebuggeragent_p_p.h | 0b0c4a5b4d377ae8a37bfd81fba99c75c245cbfe | [] | no_license | hilockman/cim2ddl | 605b05e5c67acde1f9b0c93e6b0a227dd27519a6 | 78ec9a3b4136710ac659fa40e3da28c9bb57c10f | refs/heads/master | 2021-01-01T17:50:55.311126 | 2019-01-03T05:35:47 | 2019-01-03T05:35:47 | 98,163,859 | 3 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | h | #ifndef QSCRIPTDEBUGGERAGENT_P_P_H
#define QSCRIPTDEBUGGERAGENT_P_P_H
#include <QtScript/qscriptvalue.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qhash.h>
#include <QtCore/qmap.h>
#include <QtCore/qlist.h>
#include "qscriptscriptdata_p.h"
#include "qscriptbreakpointdata_p.h"
QT_BEGIN_NAMESPACE
class QScriptDe... | [
"43579183@qq.com"
] | 43579183@qq.com |
2529204e38cc2b8b580fbb0b4a77863bc6a6fa24 | ff9cbe1103c9a11d6731c7291f149a9befa30def | /Fursanov/2.1.5/lab2t1.cpp | 4c283aa9afcb60c2ad684d2283a2baf9a01f1473 | [] | no_license | PashaKlybik/prog-053506 | d5ed7f9cfe23883fa660abfc976f8a3146dd74ff | a4b0433aa72bc3acdd26733ef0312cc7426f1668 | refs/heads/main | 2023-06-09T20:13:28.642365 | 2021-06-25T07:07:28 | 2021-06-25T07:07:28 | 345,938,870 | 0 | 41 | null | 2021-06-25T07:07:28 | 2021-03-09T08:42:31 | C | UTF-8 | C++ | false | false | 4,073 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <locale.h>
#include <malloc.h>
void sell(int Veg, float* mas, int* prise, float* cost)
{
if (Veg == 0)
printf("Цена/кг картофеля 500р\n");
if (Veg == 1)
printf("Цена/кг моркови 1000р\n");
if (Veg == 2)
printf("Цена/кг свёклы 700р\n");
... | [
"noreply@github.com"
] | noreply@github.com |
4c99bbca5f1367f7775541ebf5acfa8251f0737e | c04b8a415b957dc3afae4d911f6ac18285ef03ed | /apex_guest/Client/Client/overlay.h | 6f519f18ecc63b4537d674448c117f5488079491 | [] | no_license | Nandotama14/NandoDev-ApexEepAimBot | 1bdfacc7d519fa6c316a109e9332954e4931174f | 238cd72bd3837d191f472a6e3115a7c1ca7f9553 | refs/heads/main | 2023-04-14T23:55:29.284200 | 2021-04-17T17:01:01 | 2021-04-17T17:01:01 | 358,933,808 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | h | #pragma once
#include <Windows.h>
#include <WinUser.h>
#include <Dwmapi.h>
#pragma comment(lib, "dwmapi.lib")
#include <stdlib.h>
#include <vector>
#include <chrono>
#include <cwchar>
#include <thread>
#include <string>
#include "XorString.h"
#include "imgui/imgui.h"
#include "imgui/imgui_impl_dx9.h"
#include "imgui... | [
"noreply@github.com"
] | noreply@github.com |
089645ba0a927fde1da46c0bb5d564fa6cd12762 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Cal30-06_functions.cpp | f863f84f23d86d3233fc6f17b8b048de74457d75 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,726 | cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.AmmunitionIt... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
74c417ddcaacb3cc973b45a886315794b667ed15 | 72742d4ee57fb66cfe3f10290ccb596dcde1e59e | /codeforces/a.cpp | 2a4834122f48e690ab161c0d4fb8997fddcaf5b3 | [] | no_license | mertsaner/Algorithms | cd5cf84548ea10aafb13b4a3df07c67c1a007aef | f7aecb7e8aadff1e9cf49cc279530bc956d54260 | refs/heads/master | 2023-03-18T03:18:26.122361 | 2016-02-14T22:48:31 | 2016-02-14T22:48:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | cpp | #include <iostream>
using namespace std;
int l[10];
int main()
{
int t,c=0,leg;
for(int i=0;i<6;i++)
{
cin >> t;
if(l[t]==0)
c++;
l[t]++;
}
bool legs=false;
for(int i=0;i<10;i++)
if(l[i]>=4)
{
legs=true;
leg=i;
break;
}
if(c>3 || !legs)
cout << "Alien" << endl;
else
{
for(int ... | [
"kadircetinkaya.06.tr@gmail.com"
] | kadircetinkaya.06.tr@gmail.com |
a34cf153c0f1580f18bceeb93f60eceff7614efc | 6330e1c103730921b6f1ab2e4b6f68714dfaa14d | /series1_handout/fvm_scalar_1d/tests/test_numerical_flux.cpp | 6be5fc11c32f6446118d21d9e34423aefd852cd8 | [] | no_license | ochsnerd/numpde | 6e8b2d86fbb4720d29bcc36d4ced83b76c56996a | ed01111e4ca1f8987b5f7f80bd0c3630b99b9326 | refs/heads/master | 2020-07-28T17:55:41.899177 | 2019-12-08T12:19:36 | 2019-12-08T12:19:36 | 209,485,411 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | #include <gtest/gtest.h>
#include <ancse/numerical_flux.hpp>
template <class NumericalFlux>
void check_consistency(const NumericalFlux &nf) {
auto model = make_dummy_model();
auto to_check = std::vector<double>{1.0, 2.0, 3.3251, -1.332};
for (auto u : to_check) {
ASSERT_DOUBLE_EQ(model.flux(u), nf(... | [
"ochsnerd@student.ethz.ch"
] | ochsnerd@student.ethz.ch |
534cc647941f062c88697f6a3002e6dc493ca8c4 | ebbffe57767907f6e6fb5c74d4f0d62117f955c2 | /LAB6_P1.cpp | 50b2ba7c57ca2600e0cbc8703cf16c69263e389c | [] | no_license | SuRiTrA/PDSL-2 | c470d22c24c36b48f906043c9b666dcbe08e9a2e | 0d7b3dff1f357552b1df6b97094239c26810eb5e | refs/heads/master | 2021-05-12T12:05:19.866474 | 2018-04-27T03:58:08 | 2018-04-27T03:58:08 | 117,403,284 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,108 | cpp |
#include <iostream>
using namespace std;
//1711140
/*
Implement Binary search function. Include:
1. Function that takes in array, size of array and element to be searched. Returns the index of the array where the element is found or -1 if the element is not found.
2. Function that takes in linked list and element t... | [
"noreply@github.com"
] | noreply@github.com |
c532264b7c052af65cda4b87c74b969449c74ff9 | 47ff8543c73dab22c7854d9571dfc8d5f467ee8c | /BOJ/1010/1010.cpp | b7949feaa482c96242de4760de19db0acaf42ff6 | [] | no_license | eldsg/BOJ | 4bb0c93dc60783da151e685530fa9a511df3a141 | 6bd15e36d69ce1fcf208d193d5e9067de9bb405e | refs/heads/master | 2020-04-16T02:18:55.808362 | 2017-11-28T11:02:37 | 2017-11-28T11:02:37 | 55,879,791 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
int testcase;
cin >> testcase;
while (testcase != 0){
int a, b,c,d;
unsigned long long int result1 = 1, result2 = 1 ,result3=1;
cin >> a >> b;
if (a == b){
cout << 1 << endl;
testcase--;
continue;
}
c = b - a;
d = b - c;
... | [
"kgm0219@gmail.com"
] | kgm0219@gmail.com |
46484404f9efa9d8a9d39fa7bcc8454401838a19 | d48a833da418be56e9878379705332881e2abd02 | /emaxx/Codeforces/727/A/A.cpp | 218ccb9d817b3d8255de70c61369ad00d938225c | [] | no_license | convict-git/sport_coding | 21a5fc9e0348e44eafaefe822cb749dfa4f7e53b | ae288a9930fac74ceb63dc8cc7250c854e364056 | refs/heads/master | 2021-07-05T21:35:14.348029 | 2021-01-01T17:53:34 | 2021-01-01T17:53:34 | 215,317,175 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | #pragma GCC optimize ("Ofast")
#include <bits/stdc++.h>
#define IOS ios_base::sync_with_stdio(false); cin.tie (nullptr)
#define PREC cout.precision (10); cout << fixed
template<class T> bool nax(T& a, T b){return a < b ? (a = b, 1) : 0;}
template<class T> bool nix(T& a, T b){return a > b ? (a = b,... | [
"official.mr.convict@gmail.com"
] | official.mr.convict@gmail.com |
f433a459f75f18795e9dd02b7d5c24f32152ab06 | 068ae775a3cb50c7f1847242c1a8e35712d96d80 | /gpsd_client/src/gps_dumper.cpp | 4c2a8fc69a5f6362c3eb30111d41949da3609940 | [] | no_license | swri-robotics/gps_umd | 9a874a41d9ac4b1e7a756685f54d0eb59b22dda5 | 99130b95cda595f776cff20893fe4a7158a96f1b | refs/heads/master | 2023-07-11T14:56:55.026530 | 2023-06-14T15:20:04 | 2023-06-14T15:20:04 | 72,451,421 | 84 | 96 | null | 2023-09-06T13:03:52 | 2016-10-31T15:43:11 | C++ | UTF-8 | C++ | false | false | 521 | cpp | #include <ros/ros.h>
#include <nav_msgs/Odometry.h>
#include <stdio.h>
void gpsCallback(const nav_msgs::Odometry::ConstPtr& msg)
{
// printf("Got msg!\n");
printf("%lf,%lf,0\n",msg->pose.pose.position.y,msg->pose.pose.position.x,msg->pose.pose.position.z);
//printf(" VEL:[%lf] ANG:[%lf]\n",msg->linear.x,msg->ang... | [
"ken@tossell.net"
] | ken@tossell.net |
4e3eed8acc00f0660503b88d5a6aa192346d929a | 6e665dcd74541d40647ebb64e30aa60bc71e610c | /800/VPBX/pbx/base/AudioThread.cxx | 163f466ca2391b9ee109e40104c8712c0df30a95 | [] | no_license | jacklee032016/pbx | b27871251a6d49285eaade2d0a9ec02032c3ec62 | 554149c134e50db8ea27de6a092934a51e156eb6 | refs/heads/master | 2020-03-24T21:52:18.653518 | 2018-08-04T20:01:15 | 2018-08-04T20:01:15 | 143,054,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | cxx | /*
* $Id: AudioThread.cxx,v 1.1.1.1 2006/11/30 16:26:29 lizhijie Exp $
*/
#include "global.h"
#include "cpLog.h"
#include <cassert>
#include "GatewayMgr.hxx"
#include "AudioThread.hxx"
using namespace Assist;
AudioThread::AudioThread( const Sptr <GatewayMgr> gateway )
{
myGatewayMgr = gateway;
}
AudioThread::~... | [
"jacklee032016@gmail.com"
] | jacklee032016@gmail.com |
df886b0da44fd6edb385900034639e4da15c56e3 | b8fd41a7061702027866e09748e9c5d0a4876317 | /Week3/maze/src/CoordinateStack.cpp | 4ebed43cb3f1af58417c3c58afcde1a5dd0a588e | [] | no_license | AyaanaPS/ProgrammingMethods | 6b458410325dde470241d5b8984fce4276c281b3 | 0a8fb243dae7f61c11f0442a3d64466401e1065f | refs/heads/master | 2021-01-11T04:18:02.487805 | 2016-10-18T05:47:40 | 2016-10-18T05:47:40 | 71,212,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,232 | cpp | /**
* @file CoordinateStack.cpp
* @author Ellen Price <<eprice@caltech.edu>>
* @version 2.0
* @date 2014-2015
* @copyright see License section
*
* @brief Functions for stack class that stores Coordinate objects.
*
* @section License
* Copyright (c) 2014-2015 California Institute of Technology.
* All rights r... | [
"noreply@github.com"
] | noreply@github.com |
6060798636c37d8c9d2e39b6e9e762ef87689bb4 | 3665d78b31d27b86207f92944f7984818ec687c6 | /List-question/String/8-Longest_pallindromic_substring-63.cpp | e8e6d2a4ba0c58fd0cc059f9f83c1d0b7e70300a | [] | no_license | Stenardt-9002/CODECHEF-Datastructure-and-algo | 120b0c956e764d7fd10c2256430ce2d0a5975d46 | bca909265b9dca6d9dd93f50d68f86f71c3b6bdc | refs/heads/master | 2023-07-10T08:37:35.099195 | 2023-06-28T02:06:00 | 2023-06-28T02:06:00 | 190,029,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | cpp | #include <bits/stdc++.h>
#include<ext/pb_ds/tree_policy.hpp>
#include<ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds ;
typedef long long ll1d;
const int mod1 = (1e9+7);
string longestPalindrome(string S)
{
int n = S.length();
int start_indx=0,length_max=1;
vector<vect... | [
"esd17i014@iiitdm.ac.in"
] | esd17i014@iiitdm.ac.in |
d0c2b9b25d02704a48befb3e272d771ed832079f | 3a73ec62701adfd8596f1d36de19850bf202a064 | /src/source/shader/PhotonMapProjectionTextureShader.cpp | e7f1c19eb473ef34337bfa9cfd49207bb4ff88fc | [
"MIT"
] | permissive | rodrigobmg/3D-Graphics-Engine | 3df237d06019d3ddcc5faf5e6458559db32c77d2 | c8a2c98f3f9b810df18c49956e723a2df9b27a40 | refs/heads/master | 2020-06-01T20:21:53.571366 | 2018-03-23T22:00:35 | 2018-03-23T22:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,467 | cpp | #include "shader/PhotonMapProjectionTextureShader.h"
PhotonMapProjectionTextureShader::PhotonMapProjectionTextureShader()
{
shaderType = SHADER_TYPE_PHOTON_MAP_PROJECTION_TEXTURE;
addMain(SHADER_SOURCE_PHOTON_MAP_PROJECTION_TEXTURE_VERT, __shaderLinesVert);
include(SHADER_MATERIAL_UTILS, __shaderLinesVert);... | [
"gregjksmith@gmail.com"
] | gregjksmith@gmail.com |
7d11d657599f52dd41539d9a900d2b3549d492f4 | ab7cc19ae7fe52b533bd49d694be9358d19ef4c5 | /stdafx.cpp | 26e6c7b7676b5d49db614a8196bdfdbec0cd82e4 | [
"MIT"
] | permissive | berk-canc/CLT | 283bf764fad1652562ced6df2261e09e1fda8b23 | 8f5802e9593ba9bebb436d58fdd2d7d4dcb00220 | refs/heads/master | 2021-01-18T18:09:08.436839 | 2016-10-06T16:00:28 | 2016-10-06T16:00:28 | 70,168,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | cpp | // stdafx.cpp : source file that includes just the standard includes
// CentralLimit.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"noreply@github.com"
] | noreply@github.com |
7eff388a800a70e91a99e7d2ec73440914d01c75 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /third_party/blink/renderer/core/html/fenced_frame/fence_test.cc | fedb080d1516a59ea81e063da51f9ec8dad48de1 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 2,563 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/html/fenced_frame/fence.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_... | [
"roger@nwjs.io"
] | roger@nwjs.io |
ef4cbedc6731d4e153b99195ce6a026c828ab13f | 79406addafa8d09ffdd209aa3b64d97b0f2483a8 | /src/main.cpp | 145f570a51dcd938aa7109058c325991e2e0bd1e | [
"MIT"
] | permissive | citrixrep/Pylon-Segwit | faa9e46e9ba7251a174440d83ef8215c4c1cb76b | 395e71d5be0fde8a1cf6e2b49b1ff75f5d19f75f | refs/heads/master | 2020-03-22T22:17:28.691076 | 2018-07-17T13:38:35 | 2018-07-17T13:38:35 | 140,743,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300,571 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <blockfactory.h>
#include "main.h"
#include "addrman.h"
#include "alert... | [
"maxtvstream@live.com"
] | maxtvstream@live.com |
60adaf079559383dd57e437b107969667a8ca23a | f2339e85157027dada17fadd67c163ecb8627909 | /Framework/Framework/src/WorkThread.h | adf5a8f399c3d8be9d075a0f5bb1162bf340696d | [] | no_license | fynbntl/Titan | 7ed8869377676b4c5b96df953570d9b4c4b9b102 | b069b7a2d90f4d67c072e7c96fe341a18fedcfe7 | refs/heads/master | 2021-09-01T22:52:37.516407 | 2017-12-29T01:59:29 | 2017-12-29T01:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,541 | h | /*******************************************************************
** 文件名: WorkThread.h
** 版 权: (C) 深圳冰川网络技术有限公司 2008 - All Rights Reserved
** 创建人: 陈涛 (Carl Chen)
** 日 期: 11/10/2014
** 版 本: 1.0
** 描 述: 工作线程
********************************************************************/
#pragma once
#include "Thread... | [
"85789685@qq.com"
] | 85789685@qq.com |
8089089bae13124239a87541340655543b862b25 | beaef70fffb6668549da7191ebea16ab4e5ba4f0 | /Olympiad/POI/POI 09-Walk.cpp | 35275416a489d6aef6b0339f73c0151d68098b36 | [] | no_license | QuickSorting/CompetitiveProgramming | fe57922f1ab3d8ee3e066ff8b68fd217eacf6f3c | 9120d7971425f263ba7bd2eb75f86c479a913839 | refs/heads/master | 2021-12-27T19:38:03.477901 | 2021-12-13T17:55:36 | 2021-12-13T17:55:36 | 202,154,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,613 | cpp | /*
Used the tutorial
*/
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 407;
const int MAX_M = 60007;
const int MAX_A = 27;
const int MAX_NODES = MAX_N * MAX_N * MAX_A;
int n, m;
inline int to_idx(int u, int v, int c){
return (u - 1) * MAX_N * MAX_A + (v - 1) * MAX_A + c;
}
pair<int, int> from_i... | [
""
] | |
4650f20ca5723310f3a3b7929fd77d941248bc60 | 8567438779e6af0754620a25d379c348e4cd5a5d | /cc/output/renderer_pixeltest.cc | 93aa2d84caf86890232568f0d8d4a88c3716fc8a | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 137,890 | cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/message_loop/message_loop.h"
#include "cc/base/math_util.h"
#include "cc/output/... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
36430a32ad03c823d411e692a7719e528b03b733 | 8f02939917edda1e714ffc26f305ac6778986e2d | /competitions/ICPC/2021/seoul-regional/F.cc | 54cb85245f40f6e3384b7863b98b2e43bedf5b47 | [] | no_license | queuedq/ps | fd6ee880d67484d666970e7ef85459683fa5b106 | d45bd3037a389495d9937afa47cf0f74cd3f09cf | refs/heads/master | 2023-08-18T16:45:18.970261 | 2023-08-17T17:04:19 | 2023-08-17T17:04:19 | 134,966,734 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cc | #include <bits/stdc++.h>
#define endl "\n"
#define all(x) (x).begin(), (x).end()
using namespace std;
using lld = long long;
using pii = pair<int, int>;
using pll = pair<lld, lld>;
////////////////////////////////////////////////////////////////
const int MN = 1e6+5;
const int INF = 2e9;
int N, A[MN], B[MN], P[MN], S[... | [
"queuedq@gmail.com"
] | queuedq@gmail.com |
e798633b013ebce1327ade78cd7f9605bd1513b4 | 9593f022f5eafdc26dfa6a4a7acbe0a27fb9a196 | /outsourcing_security_system/outsourcing_system_test.cpp | 795cffc8ddf55890de30f39833130f3f2a74ac2a | [] | no_license | zhengyunhai/outsourcing_security_sys | 2da09144f84f48adad6c5b1f945d042d24184d78 | 04fc2b0f4c113b5d5ff8cd95db1004a3d2bf9a06 | refs/heads/master | 2020-09-11T22:14:34.558539 | 2019-11-17T06:40:52 | 2019-11-17T06:40:52 | 222,207,394 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,871 | cpp | /*基于NTL库的模指数外包的加密处理程序 just for fun*/
#include<NTL/ZZ.h>
#include<NTL/tools.h>
#include<NTL/LLL.h>
#include<time.h>
#include<iostream>
#include<fstream>
#include<sys/time.h>
#include<windows.h>
#include <cstdlib>
#include <cmath>
#include <NTL/config.h>
#include <NTL/mach_desc.h>
#include<NTL/matrix.h>
... | [
"noreply@github.com"
] | noreply@github.com |
80527ea333a433e28602724e89cb7c331f4bb47a | c67a90d8aba17b6740da7b0112c06eb73e359300 | /test/dioptre/math/triangle.cpp | d034bc70c3f0357ab6a6a406f6a84c35fd7412be | [
"MIT"
] | permissive | tobscher/rts | ec717c536f0ae2fcec7a962e7f8e63088863a42d | 7f30faf6a13d309e4db828be8be3c05d28c05364 | refs/heads/master | 2016-09-06T17:16:37.615725 | 2015-10-03T11:25:35 | 2015-10-03T11:25:35 | 32,095,728 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include <gtest/gtest.h>
#include "glm/glm.hpp"
#include "dioptre/math/triangle.h"
TEST(Triangle, Initialization) {
glm::vec3 a(0.1, 0.2, 0.3);
glm::vec3 b(0.4, 0.5, 0.6);
glm::vec3 c(0.7, 0.8, 0.9);
dioptre::math::Triangle triangle(a, b, c);
EXPECT_EQ(a, triangle.a());
EXPECT_EQ(b, triangle.b());
EXPE... | [
"tobias.haar@gmail.com"
] | tobias.haar@gmail.com |
7f86fd42f1c966bec4335c8c6d0d2f2c943fe612 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/IKERule/UNIX_IKERule_VMS.hpp | e4638c4f042ec662468fe179534cb99d4905b02b | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,282 | hpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
bc7084b2cde8e43cd86182d169e2c9a43569d99c | 50217ceede2d6a0c10ed5e3a45854cd69f4ae05f | /dsa/XVDPU-TRD/vck190_platform/overlays/Vitis_Libraries/vision/L2/examples/sobelfilter/xf_sobel_tb.cpp | cb213df8e3eec9a41ce936ccdb58fafd015177db | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | poldni/Vitis-AI | ddf79938629d4a8c20e1e4997f6445ec42ec7fed | 981f85e04d9b4b8fc2f97e92c0cf28206fde0716 | refs/heads/master | 2022-05-18T06:39:13.094061 | 2022-03-28T19:39:26 | 2022-03-28T19:39:26 | 455,650,766 | 0 | 0 | Apache-2.0 | 2022-02-04T18:14:19 | 2022-02-04T18:14:18 | null | UTF-8 | C++ | false | false | 6,194 | cpp | /*
* Copyright 2019 Xilinx, 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... | [
"do-not-reply@gitenterprise.xilinx.com"
] | do-not-reply@gitenterprise.xilinx.com |
643e80f7ce0afbdb7321bcd719ce040b661403a1 | bcc2f8e226d0cfb54c2f8b50c98aa4691fe96900 | /source/cpp/rest/requests/tasksrequest.cpp | a840851469ff0222ab6e83ddbba37a6380de9955 | [] | no_license | ImageMonkey/imagemonkey-thegame | a5872aebf943010e3c5ef6a4189572a85057ac06 | 59a0472709c90c10d9d7baddec0635b5e304eea6 | refs/heads/master | 2020-04-14T09:34:06.634000 | 2019-11-29T13:52:15 | 2019-11-29T13:52:15 | 163,763,067 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | #include "tasksrequest.h"
#include <QFile>
#include <QUrlQuery>
#include <QUuid>
GetTasksRequest::GetTasksRequest()
: BasicRequest (),
m_username("")
{
}
void GetTasksRequest::setUsername(const QString& username) {
QUrl url(m_baseUrl + "user/" + username + "/games/imagehunt/tasks");
m_request->setUr... | [
"schluchti@gmail.com"
] | schluchti@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.