blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fad73d750e0bbafaf7fcc2f6db6b0a78f80fd49 | ea14e5771af1f099aac4011e680f67acf622f0f8 | /regen/Parser.hpp | d0b4b2ca9ea05f20430791ebbeddff05379000b8 | [
"MIT"
] | permissive | nobody0702/libRegen | 4c57e96bcbe2694802afe29e7d9a998807903334 | 8037fcefffe6d511065cba81c1e050aaab07ccf4 | refs/heads/master | 2021-05-22T18:11:34.480790 | 2018-04-18T00:01:47 | 2018-04-18T00:01:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,825 | hpp | /**
* MIT License
*
* Copyright (c) 2018 Sébastien Débia
*
* 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... | [
"sebastien.debia@æmail.com"
] | sebastien.debia@æmail.com |
c81d4d376b21a2e958ab18c28f710e4024969cd0 | 114287fa3fdcebef15694c44abd110be2217c5aa | /Even(cpp)/349. Odd/main.cpp | ec31fe99fa87e0f6ebf7c260a9b9d8ce26656dd4 | [
"MIT"
] | permissive | touir1/ProblemSolving_Stuff | 6bcd7f84ba7927944f90d0c76db806823488e9ce | 231b5581818edb3309d88520b5a7649403052376 | refs/heads/master | 2020-03-26T19:21:38.218991 | 2018-09-04T20:46:30 | 2018-09-04T20:46:30 | 145,261,231 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include <iostream>
using namespace std;
int main()
{
int x;
cin >> x;
string rep=(x%2==0)?"Even":"Odd";
cout << rep << endl;
return 0;
}
| [
"touir.mat@gmail.com"
] | touir.mat@gmail.com |
8975cab5c19d96804d9e8950bdae038eda1504a3 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/SidewalkDevice.h | 72898bcdcee520b7a1c61eb36a8fc9e60a394f03 | [
"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 | 6,185 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotwireless/IoTWireless_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotwireless/model/Certific... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
5f49a8e46c4b5b2dce3a01c3b86195f6dd577899 | 10d57ce051ca936f6822724a4e996d35f7cd269c | /ash/shelf/login_shelf_view.cc | 44b10082b681f684384627b1c3efbd5b2298bf00 | [
"BSD-3-Clause"
] | permissive | billti/chromium | aea73afa192266460538df692e80dd3f749d2751 | 94fde1ddc4a9db7488fd646443688a88c178c158 | refs/heads/master | 2023-02-02T05:00:23.474800 | 2020-09-24T16:57:28 | 2020-09-24T16:57:28 | 298,350,654 | 0 | 0 | BSD-3-Clause | 2020-09-24T17:37:58 | 2020-09-24T17:37:57 | null | UTF-8 | C++ | false | false | 34,399 | cc | // Copyright 2017 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 "ash/shelf/login_shelf_view.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "ash/focus_cycler.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
aee6b02c401f01084e2be746ec2dbee39333d264 | 424d9d65e27cd204cc22e39da3a13710b163f4e7 | /ash/system/unified/feature_pod_button.cc | a2dba2594c47d2319f42a7f48f63a0d56231dd87 | [
"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 | 15,162 | cc | // Copyright 2018 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 "ash/system/unified/feature_pod_button.h"
#include "ash/resources/vector_icons/vector_icons.h"
#include "ash/strings/grit/ash_strings.h"
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b8b4b676f8624eb7899169865636b169c0383892 | ef284a36d7ec9474e462cdb82d80dc705a83379a | /src/alert.cpp | fbf2ae9296d2d69faaa88da32b61a09968c8c5c4 | [
"MIT"
] | permissive | bctscoin/SHOP | 4cb32c1e888bcab360695b710a2776ac61875a4e | 94715c1167d4711affddcc1a9a32dd944f7e47e5 | refs/heads/master | 2020-04-27T09:01:22.062069 | 2014-05-28T19:54:24 | 2014-05-28T19:54:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,011 | cpp | //
// Alert system
//
#include <algorithm>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/foreach.hpp>
#include <map>
#include "alert.h"
#include "key.h"
#include "net.h"
#include "sync.h"
#include "ui_interface.h"
using namespace std;
map<uint256,... | [
"josh.eaker@gmail.com"
] | josh.eaker@gmail.com |
826591d5a3ff3b4fcb77b06f0e23eabc235dd3ce | 7e5be101928eb7ea43bc1a335d3475536f8a5bb2 | /2016 Training/10.1 (弱校联萌)/Taiwan2016/J.cpp | b94cdaa3700d972251c230b5462718c50366ceef | [] | no_license | TaoSama/ICPC-Code-Library | f94d4df0786a8a1c175da02de0a3033f9bd103ec | ec80ec66a94a5ea1d560c54fe08be0ecfcfc025e | refs/heads/master | 2020-04-04T06:19:21.023777 | 2018-11-05T18:22:32 | 2018-11-05T18:22:32 | 54,618,194 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | cpp | //
// Created by TaoSama on 2016-10-05
// Copyright (c) 2016 TaoSama. All rights reserved.
//
#pragma comment(linker, "/STACK:102400000,102400000")
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <iomanip>
#include <iostream>
#i... | [
"lwt1367@gmail.com"
] | lwt1367@gmail.com |
b4754606a78b64cb9eb20e0425b0a2640fb142fa | 501feca3b6f4ea1e21f97103deea006d16c5cf1b | /pluginapp/dependence/halcon/include/halconcpp/HSystem.h | 6b5bc5b51eccf9e0e1a9f0708d687b40f16b8f25 | [] | no_license | wondron/frameTest | 86b35b403ed46f27a7308e109a23f7a79f61080a | 4b3471493965eabaabfd1212df1ec4cd9d2a77a4 | refs/heads/master | 2023-06-06T11:57:19.632024 | 2021-06-25T14:25:18 | 2021-06-25T14:25:18 | 358,648,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,928 | h | /***********************************************************
* File generated by the HALCON-Compiler hcomp version 18.05
* Usage: Interface to C++
*
* Software by: MVTec Software GmbH, www.mvtec.com
***********************************************************/
#ifndef HCPP_HSYSTEM
#define HCPP_HSYSTEM
namespace ... | [
"472024264@qq.com"
] | 472024264@qq.com |
b522afb7c18188fd0d18c510491aacd59f6d45be | 48ebb9aa139b70ed9d8411168c9bd073741393f5 | /Classes/Native/mscorlib_System_Predicate_1_gen552504511.h | b5bb717a18c0ada6a7dc1b2d69ee0765dcd53ba5 | [] | no_license | JasonRy/0.9.1 | 36cae42b24faa025659252293d8c7f8bfa8ee529 | b72ec7b76d3e26eb055574712a5150b1123beaa5 | refs/heads/master | 2021-07-22T12:25:04.214322 | 2017-11-02T07:42:18 | 2017-11-02T07:42:18 | 109,232,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_MulticastDelegate3201952435.h"
// ConsoleApplication.Program/departureData
struct departureData_t2109534396;
// System.IAsyncResult
struct IAsyncResult_t199... | [
"renxiaoyi@me.com"
] | renxiaoyi@me.com |
3ad0230577b00a9509f14afa83dd91a7b10584ec | 84283cea46b67170bb50f22dcafef2ca6ddaedff | /Algorithm/树链剖分/template.cpp | 5c018fdca39cfe9daee13cd208ffcf1ca08ebc98 | [] | no_license | ssyze/Codes | b36fedf103c18118fd7375ce7a40e864dbef7928 | 1376c40318fb67a7912f12765844f5eefb055c13 | refs/heads/master | 2023-01-09T18:36:05.417233 | 2020-11-03T15:45:45 | 2020-11-03T15:45:45 | 282,236,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,428 | cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 5;
const int inf = 0x3f3f3f3f;
int fa[maxn], dep[maxn], maxson[maxn], son[maxn], siz[maxn]; // dfs数组
int top[maxn], dfn[maxn], tot, has[maxn]; // link数组
int a[maxn], Sum[maxn << 2], lazy[maxn << 2];
int head[maxn], cnt, val[maxn];
struct e {
int t... | [
"46869158+shu-ssyze@users.noreply.github.com"
] | 46869158+shu-ssyze@users.noreply.github.com |
87e50117866dfb7cf53ad5944bd0ab8780f33ec0 | bcd7dbd328302b983ad6a8b9245be570a5a740ec | /turf/impl/Affinity_Linux.h | 4ba557767c9dd459c07f87acd16ee6a2ff35c042 | [
"BSD-2-Clause"
] | permissive | tycho/turf | 59e59a0c191e7248d29df13a88b39b4d43a2eca9 | 8bdbf44028db9f7d4ad9ee3b0fe60e9a4df51282 | refs/heads/master | 2021-01-18T07:58:55.841503 | 2016-03-16T14:52:16 | 2016-03-16T14:52:16 | 54,028,337 | 1 | 0 | null | 2016-03-16T12:04:11 | 2016-03-16T12:04:11 | null | UTF-8 | C++ | false | false | 1,406 | h | /*------------------------------------------------------------------------
Turf: Configurable C++ platform adapter
Copyright (c) 2016 Jeff Preshing
Distributed under the Simplified BSD License.
Original location: https://github.com/preshing/turf
This software is distributed WITHOUT ANY WARRANTY; without eve... | [
"filter-github@preshing.com"
] | filter-github@preshing.com |
890c7be179adb946cb54bbef4d1a4a584c4dfe7e | 12b15a6f8f99b8b4259e537af73075995b7d04bf | /lab/lab2_structure/struct.cpp | eb6b6180896f230d7f0112b62b951183770673e7 | [] | no_license | PraveshPandey23/cpp_project | 48cdfee60e9537a3d0cc7552d6e4f30e47f34ace | f08ded410d984d5906a8e8aceed96c4b1e332b2b | refs/heads/main | 2023-06-05T22:04:35.318902 | 2021-06-24T11:44:34 | 2021-06-24T11:44:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
struct student{
char name[20];
char address[20];
int roll;
};
int main()
{
student s;
cout<<"enter name"<<endl;
gets(s.name);
cout<<"enter roll"<<endl;
cin>>s.roll;
cout<<"enter address"<<endl;
cin>>s.address;
co... | [
"nitishrocker220@gmailcom"
] | nitishrocker220@gmailcom |
edc9a8b7b7f7b93ff290dd5be19c98d5b38b7e8e | a54188c3302fce4372c30c9fa973394614c2ca33 | /include/objtools/data_loaders/genbank/pubseq2/reader_pubseq2.hpp | 3c34f78178a2a53c1179844791cc90d384f2767d | [] | no_license | DmitrySigaev/ncbi | 5747f36076a80bf4080c09315ab3e95a4ea0dc58 | 088aa1b09693e1b6241582f017f859b8e5600e8a | refs/heads/master | 2021-01-01T05:07:57.992119 | 2016-05-10T18:23:57 | 2016-05-10T18:23:57 | 58,489,985 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,728 | hpp | #ifndef READER_PUBSEQ2__HPP_INCLUDED
#define READER_PUBSEQ2__HPP_INCLUDED
/* $Id$
* ===========================================================================
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United State... | [
"vasilche@112efe8e-fc92-43c6-89b6-d25c299ce97b"
] | vasilche@112efe8e-fc92-43c6-89b6-d25c299ce97b |
11e997e33ee4228fa1d0dd073f4b7ac1872794e1 | 5c02f0b981ea8545d164ae67027b6003b80b042b | /OLD/Source/clock4pins/clock4pins.ino | 60fbc8987e4b4b926a34a6a1be9ab9ced1a54f00 | [] | no_license | alexma7/Z_arduino | 8ee86af378ab734e762f5db7f30e9b9e66696c55 | a5b08e92fa846c2aedc5c17015beef9fd9cbd757 | refs/heads/master | 2023-03-21T20:58:44.293341 | 2021-03-10T08:14:04 | 2021-03-10T08:14:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,131 | ino |
#include <Wire.h>
#include <Time.h>
#include <DS1307RTC.h>
void setup()
{
Serial.begin(9600);
while (!Serial) ; // ожидаем ответа порта
delay(200);
Serial.println("DS1307RTC Read Test");
Serial.println("-------------------");
}
void loop()
{
tmElements_t tm;
if (RTC.read(tm))
{
Serial.print("Ok, Ti... | [
"alexma7@rambler.ru"
] | alexma7@rambler.ru |
abef8fae2b6dbbd969e5697f8681aff5ab210983 | f1aaed1e27416025659317d1f679f7b3b14d654e | /Office/Source/Connections.cpp | cecbd2afdeecfbc37f83f785102eb7d11e4e3445 | [] | no_license | radtek/Pos | cee37166f89a7fcac61de9febb3760d12b823ce5 | f117845e83b41d65f18a4635a98659144d66f435 | refs/heads/master | 2020-11-25T19:49:37.755286 | 2016-09-16T14:55:17 | 2016-09-16T14:55:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,270 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Connections.h"
#include "Consts.h"
#include "MMRegistry.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
//------------------------------... | [
"ravish.sharma@menumate.com"
] | ravish.sharma@menumate.com |
93b3074deb4b76562dadac7ced7df0fb57fa0627 | 8c31a1fbb0653f2b7a1af5a098ba2961510764e0 | /chrome/browser/safe_browsing/cloud_content_scanning/deep_scanning_dialog_delegate.cc | d4fd1214719e4012a4d3f54b4b23550f1392b76a | [
"BSD-3-Clause"
] | permissive | tahini/chromium | 282892abfbf6889a13e3fc41aed85a222d4cb837 | 88fd72c512fcd2dccca0f47d9bdb5af1bf754f98 | refs/heads/master | 2023-03-10T09:04:27.252094 | 2020-01-27T21:08:40 | 2020-01-27T21:08:40 | 236,600,353 | 0 | 0 | BSD-3-Clause | 2020-01-27T21:35:33 | 2020-01-27T21:35:33 | null | UTF-8 | C++ | false | false | 25,591 | cc | // Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/safe_browsing/cloud_content_scanning/deep_scanning_dialog_delegate.h"
#include <algorithm>
#include <numeric>
#include <stri... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
dfcc1d52ce46e564a408e97c0bc882ae73151283 | 48895fe9628b4a21a122242d31ab8099884a973b | /trunk/RacingCenter/libDataCore/src/cCar.cpp | 5d50cbf1279a03cb7105c565b02a9f269830960d | [] | no_license | blue5555/RacingCenter | b28f89d8fdb7666712512e660f0fd51dc1690711 | 4ca170423b8506ce35ca2c089769b9633c2d68df | refs/heads/master | 2021-01-21T17:29:16.226827 | 2017-07-02T17:15:16 | 2017-07-02T17:15:16 | 91,955,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | cpp | #include <cCar.h>
#include "libDatabase/cDatabase.h"
#define BLICK_LEVEL 10
#define BLINK_TIME 2000
#define _FILENAME_ "cCar: "
using namespace RacingCenter;
cCar::cCar(const std::string& i_strName) :
cDatabaseCar(cDatabase::instance()->GetCar(i_strName))
,m_nLastFuelTimeStamp(0)
,m_nLastSendFlashLight(0)
,m_opC... | [
"xx@xx.de"
] | xx@xx.de |
415455728c583af1d9f3fe02e5c582c6285b01dc | 0d9076293349241af62d00eff4c4107e51426ea5 | /normal problems/tree/rebuild_tree.cpp | eab849f1d7e8fde433fbb97a90fb1b61c5b0d645 | [] | no_license | zonasse/Algorithm | f6445616d0cde04e5ef5f475e7f9c8ec68638dd0 | cda4ba606b66040a54c44d95db51220a2df47414 | refs/heads/master | 2020-03-23T12:12:00.525247 | 2019-08-10T03:42:53 | 2019-08-10T03:42:53 | 141,543,243 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,763 | cpp | #include <bits/stdc++.h>
using namespace std;
struct tNode{
int data;
tNode *left;
tNode *right;
tNode(int x):data(x),left(NULL),right(NULL){}
};
class Solution{
public:
//由先序遍历和中序遍历序列重建二叉树
tNode* rebuild_tree(vector<int> &preorder,vector<int> &inorder){
if(inorder.empty() || preorder.... | [
"992903713@qq.com"
] | 992903713@qq.com |
e6f73337e4e3bc1619528a9e591d89a6bc14d165 | 4af428b2e0812ed4a56454952e365ac66e5166d0 | /Paparazzi_Gennady.cpp | c8a19681885ff5b45a4ff6fc17d6e9c3398eb1a3 | [] | no_license | harshit774/cpp | fb18f10290e13dae512e15b8e476db9e877343dc | c6a77d6a8329be33c2b2973c6855a61ae4810f1a | refs/heads/master | 2023-08-16T00:13:17.133627 | 2021-10-14T12:19:50 | 2021-10-14T12:19:50 | 367,886,289 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,220 | cpp | #include<bits/stdc++.h>
#include<cmath>
#define ll long long int
using namespace std;
int main()
{
ll t;cin>>t;
while(t--)
{
ll n;cin>>n;
//ll h[n];
vector<pair<ll,ll>> v;
vector<pair<ll,ll>> p;
for(int i=0;i<n;i++)
{
int s;cin>>s;
v.pu... | [
"harshitvarshney774@gmail.com"
] | harshitvarshney774@gmail.com |
6bb7dc51fdab02a2a850b7a96522d113faf1ad52 | 1901bdbaf57584e7c5ec21643db340f9d98d6807 | /training/src/compiler/training/base/loss/MSELoss.cpp | 4c22de7e9c5bac93a6d023d54d0a1acdaed891fc | [
"MIT"
] | permissive | huawei-noah/bolt | 2a4febe5f5cce64e3589c2782c489d59975eb6a3 | cf4ca8f8646a8e30ddf91c29a18743d75ac1c172 | refs/heads/master | 2023-08-28T13:36:34.815244 | 2023-06-12T01:24:41 | 2023-06-12T01:24:41 | 225,365,905 | 889 | 168 | MIT | 2023-06-12T01:24:42 | 2019-12-02T12:06:12 | C++ | UTF-8 | C++ | false | false | 3,516 | cpp | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... | [
"jianfeifeng@outlook.com"
] | jianfeifeng@outlook.com |
983689b537d7d61f4fac3c13ff1af526d1884c5f | f31de1a567b462dbefd658c1f9823c80b7637511 | /clients/sos-tests/reduce_in_place.cpp | a5a804f9c1d5c7c16d620695ca0f3b54e40e9d7b | [
"MIT"
] | permissive | jrmadsen/ROC_SHMEM | 505ad6fc927b1a7949b58cace9508b263aba7e30 | d83bc49f37b266576ce9775af9ce8c66e51ee85d | refs/heads/master | 2023-08-01T03:46:25.321511 | 2021-09-21T14:34:32 | 2021-09-21T14:34:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,367 | cpp | /*
* Copyright (c) 2017 Intel Corporation. All rights reserved.
* This software is available to you under the BSD license below:
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redi... | [
"Khaled.Hamidouche@amd.com"
] | Khaled.Hamidouche@amd.com |
41892212d342265a0a707f4acfde43705e01f0b4 | 9f63112ccc5c1a2083b7a90a5ab0c88be539f291 | /src/parser.cpp | c022049eec3cb9ff388c7a058352dcaeb0c78d94 | [] | no_license | JelixLi/Calculator | e41da26cea4db7f60c64d8743719c684ef7e72d5 | 235cca667d07723feb9b201ca96f23a4e03ed008 | refs/heads/master | 2020-03-27T11:24:22.069636 | 2018-08-28T17:50:09 | 2018-08-28T17:50:09 | 146,484,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | cpp | #include <iostream>
#include <assert.h>
#include <ctype.h>
#include <cstdlib>
#include "parser.h"
using std::cin;
using std::cout;
using std::endl;
// Parser::Parser(Scanner &scanner,SymbolTable &symTab):_scanner(scanner),_symTab(symTab) {
// cout<<"Parser Created"<<endl;
// }
// Parser::~Parser() {
// cout<<"Dest... | [
"1512510237@qq.com"
] | 1512510237@qq.com |
072a49fc107df59e2d891d98252427dc2b213abc | 1e415bc27eee0e78cd659c4cd319a61cff793da5 | /src/traderlib/apiclient/HitBTC/tickersdependenciesfactory.cpp | 7bbdecc2453c9352ad45d8f64998ba841dae42e9 | [
"MIT"
] | permissive | The-Software-Academy/Trader | c618852080d328276784e405f4b83e00d7672174 | 6a1dffe3fbbf3c7d6c89a517d1f3f1b995a20723 | refs/heads/master | 2020-09-05T12:38:39.850438 | 2019-11-11T10:04:30 | 2019-11-11T10:04:30 | 220,107,246 | 0 | 1 | MIT | 2019-11-11T10:04:31 | 2019-11-06T23:07:04 | null | UTF-8 | C++ | false | false | 839 | cpp | #include "tickersdependenciesfactory.hpp"
#include "tickersrequestbuilder.hpp"
#include "tickersresponsebuilder.hpp"
#include <core/apiclient/apirequestbuilder.hpp>
#include <core/apiclient/apiresponsebuilder.hpp>
namespace bitinvest {
namespace apiclient {
namespace hitbtc {
TickersDependenciesFactory::TickersDepen... | [
"andrea.citrolo@disco.unimib.it"
] | andrea.citrolo@disco.unimib.it |
50150889dcd6f6c6af7f09ecf1983b529423ad37 | 259f2bc205bb1e1f4485ec42117f03cdcb085c6f | /acwing/矩阵连乘.cpp | b268eb08e5c389116265b29dd233078c832579f9 | [] | no_license | czjczj/Leetcode_Cplus | 346bf0a77b1481f4d1bc301ba21293488270da4e | 9fa8b5c7c27fb6b350d8859c51608c54fc6347f3 | refs/heads/master | 2020-07-04T16:33:48.542349 | 2019-12-30T06:21:08 | 2019-12-30T06:21:08 | 202,341,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | /*
* Author:czj
* Time :2019/12/19 08:59
* Email :zj_cheng@csu.edu.cn
*/
#include <iostream>
#include <algorithm>
using namespace std;
int N = 4;
int a[] = {3,4,5,6,7};
int dp[N][N];
int dfs(int l, int r){
if(l==r)
return 0;
if(dp[l][r] != 0)
return dp[l][r];
for(int i=l; i<r; ++i){
... | [
"2838588360@qq.com"
] | 2838588360@qq.com |
c1c76b80962f40d7d5712559058c5a3e269f2bbd | 7b5ce257b59af8b6c9c971103e242579b4bd1544 | /juliakernel/sandbox/qt_webkit/qt-qtwebkit-examples/examples/webkitwidgets/framecapture/framecapture.cpp | 0b3441c1470d3479c05de23bb2f01a710347b869 | [
"BSD-3-Clause"
] | permissive | ruslancheb/juliakernel | c6221deba7ce33072ea2383dfccca4da7895b6e4 | f458f21d8e6e533a21b0612fda340b692d610ae2 | refs/heads/master | 2021-03-12T23:34:21.469877 | 2014-08-11T17:44:08 | 2014-08-11T17:44:08 | 17,984,214 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,161 | cpp | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of th... | [
"kuzminruslan@mail.ru"
] | kuzminruslan@mail.ru |
2325f9fe915e24300a08163a423c5c548e48ef59 | 3e69cf84f66b759301471c2adb2efd5290cf7ac3 | /DynamicProgramming/2_EditDistance.cpp | f9867256b934817be9cf56990293f44db0340d6e | [] | no_license | mayank-tripathik/Geeksforgeeks | 37c5f09ce1f4a5be380df70b3b770bbc9fe64ec5 | 4079aaa94b9c08960160a0bff61db81f0cd651fa | refs/heads/master | 2021-01-17T07:35:55.606124 | 2019-06-13T17:50:33 | 2019-06-13T17:50:33 | 83,764,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,238 | cpp | /*
* Given two strings str1 and str2 and below operations that can performed on str2. Find minimum number of edits (operations)
* required to convert one string to another. Three operations that are allowed are: Insert, Remove, Replace.
* All of the above operations are of equal cost.
* Example:
Input: str1... | [
"noreply@github.com"
] | mayank-tripathik.noreply@github.com |
c9b1b011bf307c297ad65f3e71be5fea88e19436 | 859785282e385c49c7a6ad11a233e7f5a9d0c9e7 | /c++/Inorder-Successor-in-BST.cpp | 938a33cbc15b0599f26bd0eb7b25ac978c2af999 | [] | no_license | tejeswinegi/DSA-Solved-Problems | eaacfd939ef08208f73854c2bae2b4e739d6c4c5 | 9c4947fecea1f8b66ee2405c2d537961465ea479 | refs/heads/master | 2023-08-30T19:49:06.935389 | 2021-10-06T02:07:47 | 2021-10-06T02:07:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | Node * inOrderSuccessor(Node *root, Node *x) {
if(root== NULL || x==NULL) return NULL;
Node* suc = NULL;
while(root != NULL) {
if(root->data > x->data) {
suc = root;
root = root->left;
}
else {
root = root->right;
}
}
... | [
"nkits9@gmail.com"
] | nkits9@gmail.com |
e19d5e6fc5323fa724a6d4b3ef4b2ac059d02e64 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /01_Develop/libXMCocos2D-v3/Source/gui/UIWidgets/UILabelBMFont.cpp | 59b72210c08dba765a3355d6ad3ffd05eae4b1a8 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,688 | cpp | /* -----------------------------------------------------------------------------------
*
* File UILabelBMFont.cpp
* Ported By Young-Hwan Mun
* Contact xmsoft77@gmail.com
*
* -----------------------------------------------------------------------------------
*
* ... | [
"mcodegeeks@gmail.com"
] | mcodegeeks@gmail.com |
40bf0500bad0480a04eb94dad7efabd4b9e752d9 | 6c00103d9e292a79511771d3b3790c3bb0676df7 | /Greedy/Greedy.Florist.cpp | 5b419b3c89bb610a6788b30b628766edfadb6cd0 | [] | no_license | avinashw50w/Coding-problems | 8410388a2808d032617b6087de6422c87af6d524 | 9e6948cdf5de4d59483545562b3a536f13f5bbc6 | refs/heads/master | 2021-01-12T09:10:28.960488 | 2016-12-18T13:58:35 | 2016-12-18T13:58:35 | 76,782,911 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,217 | cpp | /* You and K-1K-1 friends want to buy NN flowers. Each flower fifi has some cost cici. The florist is greedy and wants to maximize his number of new customers, so he increases the sale price of flowers for repeat customers; more precisely, if a customer has already purchased xx flowers, price PP for fifi is Pfi=(x+1)×c... | [
"avinashw50w@gmail.com"
] | avinashw50w@gmail.com |
a0145ea14ce1afb14cfdc19e63465d635e14e80c | add9e7e72ca98aa21817ebe25d856cb7e2d6888e | /lab5/src/DLoad/Vector.hpp | b6e6b2ad768344d0b89cda4be1b1e15e1d27a161 | [] | no_license | AlexN1ght/sem3os | 195e04c2d0c78620dc29227114fe8c17d42d8e37 | e6598878993903cc37a4efa6e1f0f72816a93599 | refs/heads/master | 2020-08-05T06:49:51.693592 | 2019-12-30T10:04:29 | 2019-12-30T10:04:29 | 212,436,561 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 764 | hpp | #ifndef __vector_h__
#define __vector_h__
#include <iostream>
#include <algorithm>
#include <cassert>
using value_type = int;
using iterator = value_type*;
typedef struct vector {
int already_used_;
int storage_size_;
value_type* storage_;
} vector;
extern "C" vector* vector_create... | [
"alexiscom@icloud.com"
] | alexiscom@icloud.com |
d6558d01c77e9e1155eb29bf9464bf8ab79e8046 | c0f7050daec2fea7592d418498e8d2cb69aa8074 | /src/test/DemoEchoClient.cpp | c1fabf487136e00f25e085d2a502fe303d259eab | [] | no_license | bdgong/netsimul | b4cefe45938144aede9b2e62939d92ddb078b59b | 52d7994c986dbb06c8a448382fabba7eed185b0e | refs/heads/master | 2022-04-18T13:34:37.019713 | 2018-06-21T02:58:00 | 2018-06-21T02:58:00 | 258,258,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,355 | cpp |
/*
* DemoEchoClient - TCP Demo
*
* Send something like "hello" to echo server, print the reply.
* */
#include <cstdio>
#include <cstring>
#include <string>
#include "Socket.h"
const char * const cDstAddrStr = "211.67.27.254";
const unsigned short cDstPort = 2333;
void usage(const char *appName)
{
printf(... | [
"bardongong@163.com"
] | bardongong@163.com |
0984afce1f8175ca41acdd11b20bbb91a402db44 | d450535426fa0ee9c1616d76a2268dae065b70a0 | /src/YarnBall.cpp | f9c7d503257db01d6f8fbc3b912856541b37b0b8 | [] | no_license | pestalella/yarnball | 0dd14a797a49a12dc7319a753d1e5d38d0b198c7 | fcffda18a9be98a85a92930dab92c21327617cd8 | refs/heads/main | 2023-03-26T00:52:31.700760 | 2021-03-16T20:53:57 | 2021-03-16T20:53:57 | 330,376,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,742 | cpp | #ifdef _WIN32
#include <Windows.h>
#endif
#include "Point.h"
#include "YarnBall.h"
#include <GL/gl.h>
#include <fstream>
#include <iostream>
#include <cmath>
#include <sstream>
YarnBall::YarnBall() :
lineWidth(1)
{
}
void YarnBall::setupRender()
{
std::vector<float>().swap(interleavedVe... | [
"pau.estalella@gmail.com"
] | pau.estalella@gmail.com |
6a4a540cbcd642d9e9d016cfcdca57c9c7f25ed8 | 73c02a45f06bf472dc8debad2b5ab56caeb7c38a | /Common/include/Vector3.h | 47ceecf2781b025c2dd7014362e030879ba765ba | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mrkline/Core-Game-Engine | df814ba03091a1ca2d8ebf1a152a9426d3ee295d | 9c8fcb4c01f3f86a63fb6f3dbcbe6648d5fb11f1 | refs/heads/master | 2021-01-20T02:16:23.988882 | 2020-07-02T05:05:17 | 2020-07-02T05:05:51 | 2,075,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,606 | h | #pragma once
#include <string>
#include "CoreMath.h"
namespace Core
{
//! A three-dimensional vector using floats for each dimension
class Vector3
{
public:
float X;
float Y;
float Z;
//! Initializes vector to zero
Vector3() : X(0.0f), Y(0.0f), Z(0.0f) {}
//! Initializes vector to provided x, y, a... | [
"slavik262@gmail.com"
] | slavik262@gmail.com |
6ad6398023b56214a4c92aa5c4ed6381351ecbc5 | c92f0b0f950c59cd6f7e9b008f3d526934facd30 | /src/core/camera.cpp | 1c75d34835a999d3cffcc316d79513c582bddb6e | [] | no_license | polygoncz/raytracer | 39ed8119987aec7ecaa103d274986673dafb42d9 | c41b24f531d05c8258b8f23fe8e0d127b76b6424 | refs/heads/master | 2021-01-19T19:37:55.660515 | 2014-04-04T12:21:30 | 2014-04-04T12:21:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include "camera.h"
Camera::Camera(void)
: exposure(0.f)
{
}
/**
* Provede výpočet ortonormální báze.
*/
Camera::Camera(const Point& eye, const Point& target, const Vector& up,
float exposure /* = 1.f */)
: eye(eye), target(target), up(up), exposure(exposure)
{
ComputeUVW();
}
Camera::~Camera... | [
"polygoncz@gmail.com"
] | polygoncz@gmail.com |
90e6f4db02d170df33668572b0a215b2c63b5d9a | dc020629418694e2d018b3de052951cf975f954a | /GameStartScene.h | 3c1d787b0efafbb988f2ccf4ea856610babf7aea | [] | no_license | mingi332/TeamProjYeil_Kim | 4292027a953fa853eef80bc68ce763250a21ef9f | 2d7ca2e83cb234e2154b755c1dfc5189b81bcd06 | refs/heads/master | 2022-12-16T15:38:40.295656 | 2020-08-27T07:53:08 | 2020-08-27T07:53:08 | 289,877,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | h | #pragma once
#include<cocos2d.h>
USING_NS_CC;
#include <ui/CocosGUI.h>
using namespace ui;
class GameStartScene :public Scene
{
public:
CREATE_FUNC(GameStartScene);
bool init();
void h2pClick(Ref* ref, Button::TouchEventType type);
void rdyClick(Ref* ref, Button::TouchEventType type);
}; | [
"noreply@github.com"
] | mingi332.noreply@github.com |
e4f7bd89a0ca812d42ed0472e45e9ad47be2e817 | 9dee323b659246c2dca86e165555a88f5f30f923 | /M7HW_Hewin/room.h | ed1b3cfba7405091730de3984d66227b05016002 | [] | no_license | jamesAustinHewin/CSC134 | 6342efc456278b5abaaa57bd571d26df3b0d2dc2 | 0d68eb8c8c902176ea0bc45585da70508a067b44 | refs/heads/master | 2020-04-16T20:50:28.551490 | 2019-05-15T03:49:35 | 2019-05-15T03:49:35 | 165,907,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | #ifndef ROOM_H_INCLUDED
#define ROOM_H_INCLUDED
#include <string>
using namespace std;
/*
The Room class describes individual rooms in the game.
A room has a name, a description, a location ID,
and a series of exits which point to other rooms.
*/
class Room
{
public:
Room(); // defa... | [
"noreply@github.com"
] | jamesAustinHewin.noreply@github.com |
fa4a24c59e76597963d4b79c99d7419a63f16cf1 | c82354cdbaa03ddc3779cf4fc4da78647067f35e | /AlgosGraph/include/FirstTask.h | 619a2bae8a8b425b5f99974e444b226a07450dda | [] | no_license | madxmarks/Graph_Algorithms | 5f817583bac290a1831fd8595692343baac06c97 | 64fc8f6a1d65738a1d5c073a08f48f0c395a5eee | refs/heads/master | 2020-12-29T08:26:44.241306 | 2020-02-05T19:45:24 | 2020-02-05T19:45:24 | 238,534,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | h | #ifndef FIRSTTASK_H
#define FIRSTTASK_H
#include <vector>
#include <stack>
#include <iostream>
#include <list>
#include <queue>
using namespace std;
/// BFS
struct Node
{
int pt; // The cordinates of a cell
Node *prev;
};
class BFS
{
int n;
public:
BFS(int n)
{
this->n = n;
adj ... | [
"60475881+madxmarks@users.noreply.github.com"
] | 60475881+madxmarks@users.noreply.github.com |
77414017a2c48ecc4c62697f9bcb37ea3a610380 | 503d2f8f5f5f547acb82f7299d86886691966ca5 | /atcoder/abc150_d_lcm.cpp | 827fe6b7e273b6798ba574db7e6d66abb7cf6ac6 | [] | no_license | Hironobu-Kawaguchi/atcoder | 3fcb649cb920dd837a1ced6713bbb939ecc090a9 | df4b55cc7d557bf61607ffde8bda8655cf129017 | refs/heads/master | 2023-08-21T14:13:13.856604 | 2023-08-12T14:53:03 | 2023-08-12T14:53:03 | 197,216,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,593 | cpp | // https://atcoder.jp/contests/abc150/tasks/abc150_d
#include<iostream>
// #include<algorithm>
// #include<string>
// #include<numeric>
// #include<vector>
// #include<map>
// #include<tuple>
// #include<set>
// #include<queue>
// #include<deque>
// #include<regex>
// #include<bitset>
// #include<iomanip>
... | [
"hironobukawaguchi3@gmail.com"
] | hironobukawaguchi3@gmail.com |
61d327cb4a908133c92fe394cf5f21fcea3b6ac2 | ef94267c9e9f9be67a68e107e978c42c812965cb | /Source/FPSSimulator/GS_CTF.h | bab6bff4a34bb4e9c9d8457feb0328f9e27b4165 | [] | no_license | stevenlwk/LAGCOM | 3df1f0940584877033096c97b271bb4540549bc4 | f82e8183abafb1d512a1d28face7d986d67d05ec | refs/heads/master | 2021-01-20T02:33:59.495835 | 2017-08-24T22:04:38 | 2017-08-24T22:04:38 | 101,326,126 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | h | #pragma once
#include "FPSSimulatorGameState.h"
#include "CTF_Flag.h"
#include "GS_CTF.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FFlagSpawnedDelegate, ACTF_Flag*, Flag);
UCLASS()
class FPSSIMULATOR_API AGS_CTF : public AFPSSimulatorGameState {
GENERATED_BODY()
public:
void BeginPlay() override;
UF... | [
"leewaikiu@gmail.com"
] | leewaikiu@gmail.com |
66ceec8afd2d9f27609fd1a23a9d3749182a7e5a | 5275c0920fa67ce3d5db5e0a08d80f61d3b28041 | /code/reverse_linked_list-2.cpp | 58f8a4ab0a2442f9e788e6b9d6885d131d31bb03 | [] | no_license | Yyaw/Leetcode | 7c4253bd3fa0a471fff7489b07602f010f252ea1 | 0eb52e521f26dd19a7e0b73dcb18a165309326b8 | refs/heads/master | 2021-03-16T08:48:14.275790 | 2019-01-13T17:54:27 | 2019-01-13T17:54:27 | 102,196,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | #include <iostream>
#include "data.h"
using namespace std;
class Solution {
public:
ListNode *reverseBetween(ListNode*head, int m, int n)
{
ListNode *f = new ListNode(0);
f->next = head;
ListNode *first = f;
for (int i=1; i<m-1; i++)
first = first->next;
Lis... | [
"1947302673@qq.com"
] | 1947302673@qq.com |
5cec730a4edfd3cd8a4eb2e4eedd4eb15f0caa5a | a97c07f891ec71d81cc43d25234231680971a744 | /test/src/UriTests.cpp | be106494f11efee9e5010f3d2807eb0d0a48d364 | [
"MIT"
] | permissive | shaqsnake/uriparser | 99e7c3115378545f51aa3bca91d57b7ca0ea4fa8 | 76e74e5f2ceae67079e0dca76dd381be6a21978c | refs/heads/master | 2020-06-11T06:10:52.770764 | 2019-07-26T03:30:27 | 2019-07-26T03:30:27 | 193,872,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,069 | cpp | // Copyright (c) 2019 shaqsnake. All rights reserved.
/**
* @Author: shaqsnake
* @Email: shaqsnake@gmail.com
* @Date: 2019-06-27 09:17:12
* @LastEditTime: 2019-07-26 11:28:36
* @Description: Unittests of class uri::Uri.
*/
#include <gtest/gtest.h>
#include <uriparser/Uri.hpp>
TEST(UriTests, ParseFromCommonUri) {
... | [
"shaqsnake@gmail.com"
] | shaqsnake@gmail.com |
62815ac035c5bfb8a234f622c1de6c74f059707d | a0f37fb7b728721a81020c87f8b1d1bd15cd61ee | /ShareLibACM/acmSuperDefs.cpp | 812aa0efd963dfe70409958cca71dc90e1a9a148 | [
"MIT"
] | permissive | chrishoen/Dev_ACM | d60fe5b3eff054a32d7bde7680193b8a5fd50758 | ddfd29c1abecb035872a916f553edd9461107364 | refs/heads/master | 2022-12-14T08:19:27.456446 | 2020-09-25T17:33:09 | 2020-09-25T17:33:09 | 285,373,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cpp | //******************************************************************************
//******************************************************************************
//******************************************************************************
#include "stdafx.h"
#include "acmSuperDefs.h"
//**************************... | [
"chris123hoen@gmail.com"
] | chris123hoen@gmail.com |
ee6067fe75a993410c4e953e7d69450c6beca1fa | 6492844c7a51701ae6fe2a735e0ed307823ee81a | /video_source/video_source_event_handler.cpp | ba0d64aa43a4b4be221ba1f196097821133ed00e | [
"MIT"
] | permissive | KICKdesigns/agora_electron | 9ee87b214bae7a410ee494b15ee42dc37b90347e | 118e978aa9ca3404012618023393308bb054ec7f | refs/heads/master | 2020-03-19T03:43:05.408482 | 2018-06-01T19:26:02 | 2018-06-01T19:26:02 | 135,755,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,194 | cpp | /*
* Copyright (c) 2018 Agora.io
* All rights reserved.
* Proprietry and Confidential -- Agora.io
*/
/*
* Created by Wang Yongli, 2018
*/
#include "video_source_event_handler.h"
#include "node_log.h"
AgoraVideoSourceEventHandler::AgoraVideoSourceEventHandler(AgoraVideoSource& videoSource)
: m_videoSource(videoS... | [
"jwang@KICKdesigns.com"
] | jwang@KICKdesigns.com |
fee655b8b31297a336d5c447d0d982faf4370d3a | 950406578c21d7ebe5a4b28abba4de8733991bf2 | /doc/examples/CppApiExamples/HelloWorldExample.cpp | 66622b0d933f9193472b81358e498bdd1a24a9c0 | [] | no_license | LucasNatoli/eaglemode | b0014b1e3b59b72d628062d37772de8761a00e8e | c794886afe0c34b0f73d0ffc0cb89e81fad2d7ea | refs/heads/master | 2020-04-14T18:49:18.779639 | 2019-01-04T00:28:42 | 2019-01-04T00:28:42 | 164,034,142 | 1 | 0 | null | 2019-01-03T23:38:17 | 2019-01-03T23:38:17 | null | UTF-8 | C++ | false | false | 979 | cpp | #include <emCore/emGUIFramework.h>
#include <emCore/emPanel.h>
class MyPanel : public emPanel {
public:
MyPanel(ParentArg parent, const emString & name);
virtual emString GetTitle();
protected:
virtual void Paint(const emPainter & painter, emColor canvasColor);
};
MyPanel::MyPanel(ParentArg parent, const emString... | [
"a.c.kalker@gmail.com"
] | a.c.kalker@gmail.com |
e54cb6bcf8e0fe24be52c9b47c9ba39a17f09a3c | 142f6f29a6bba53b048bb4189387dc9c887672ea | /UnitTest/testRectangle.cpp | a36d06bdaeaba4256e7091717ffa2cadd09b9434 | [] | no_license | jckhoa/ShapeCalculator2013 | 2a3886c0e79e41a663f32dd6c63956be07b23113 | 6977a87dfd167aa2c5739877372a7eefc35f2341 | refs/heads/master | 2020-08-05T15:33:39.754298 | 2019-10-07T07:30:30 | 2019-10-07T07:30:30 | 212,596,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,741 | cpp | #include "stdafx.h"
#include "CppUnitTest.h"
#include "Rectangle.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace UnitTest
{
TEST_CLASS(UnitTestRectangle)
{
public:
//Test empty constructor
TEST_METHOD(TestRectangle_Constructor0)
{
Rectangle rec;
Assert::AreEqual(0., rec.get... | [
"jckhoa@yahoo.com"
] | jckhoa@yahoo.com |
aa2a6b9ed6118edb0b8aeb1df84c3603422a9ad3 | c973e9cc070d77b3bc1ee36ab303be05b5828d45 | /Country.cpp | 70e18cadc85fd39de525551e1b664b164928e860 | [] | no_license | houssen-kassir/COMP-345 | f2f991ba5d325f6b48b6f4ed354b1bba9aa97287 | e37674200f1427ba8da9f028040ece9ab54b89bf | refs/heads/master | 2020-09-02T12:20:01.927643 | 2019-10-31T19:42:18 | 2019-10-31T19:42:18 | 219,219,843 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,226 | cpp | #include <iostream>
#include <string>
#include "Country.h"
#include "Player.h"
Country::Country(std::string name) {
country_name = name; // string representing country name
continent_name = "";
//Initialized to NULL as when the country is created, it does not have an owner.
owner = NU... | [
"noreply@github.com"
] | houssen-kassir.noreply@github.com |
9709ded8e7cc433659b89f1e13ef87e126f4d780 | 84d99cf96e02161c25c6617af715b1789cd0fc65 | /Seance8/E8/Amphibie.cpp | 14072a5789018ef1e77dab57d3cb551cdcae25d2 | [] | no_license | HunterKruger/learnCPP | f6e03926f060e903346c1a508907c4bfe2d7a1dd | e34aa7873fdabf048be1e59b3cc7b6c9f08a215d | refs/heads/master | 2020-07-03T11:38:29.669362 | 2019-10-27T12:02:06 | 2019-10-27T12:02:06 | 201,893,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | // Amphibie.cpp
#include <iostream>
#include "Terrestre.h"
#include "Marin.h"
#include "Amphibie.h"
using namespace std;
Amphibie::Amphibie (int vmaxTer, int vmaxMar, int nbr, int tir)
: Terrestre(vmaxTer, nbr), Marin(vmaxMar, tir)
{
}
void Amphibie::afficher () const
{
Terrestre::afficher();
Marin::... | [
"793264282@qq.com"
] | 793264282@qq.com |
9cb02bbe1617bd6d7fc73951d1dcb58655a2e999 | a75bea5ee718e00b7ea381bb32a7296a92f29bd8 | /AES_CMAC/AES_CMAC/crypto_test.cpp | e81dbf75a26a0a3a22b872141475d6e6acdb6e07 | [] | no_license | Ryan311/LeSecurity | bab42b1ce1e56becb7f73099f49f7414257752ba | 0db3397baefb651db2dde85d629fa8b8587ccd17 | refs/heads/master | 2021-01-10T15:27:40.315527 | 2016-03-28T08:29:28 | 2016-03-28T08:29:28 | 54,878,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | cpp | #include "stdafx.h"
#include "aes_encrypt.h"
#include "aes_cmac.h"
#include "aes_encrypt.h"
#include "ble_smp_crypto.h"
void print_help(void)
{
printf("/*********************************************/\n");
printf("LE SMP crypto functions tester:\n");
printf(" BLECryptoFuncs.exe [test number]\n");
printf(" [test nu... | [
"persnail311@gmail.com"
] | persnail311@gmail.com |
d6f10ef971433d10478f1a220a563198863b1dd2 | 4297ad692ad0388fd8a9f548764073e9747376d2 | /thirdparty/spirv-cross/spirv_glsl.cpp | c8bf7e0e764833f0d5a7d9e0967f521187017b2a | [
"Apache-2.0",
"MIT"
] | permissive | frank-lesser/abstract-gpu | b666e62a78b6c5b2e79baf30b123cd25ede0894e | a50fab26b398eff116a66f8eb37ebebc63c19824 | refs/heads/master | 2022-10-09T16:36:43.447174 | 2020-06-11T22:41:42 | 2020-06-11T22:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355,606 | cpp | /*
* Copyright 2015-2019 Arm 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | [
"roniesalg@gmail.com"
] | roniesalg@gmail.com |
0479a939d9b04818b70ed93492104c4c9072e91d | 3525be850c8065e292a1770f19a89730a7095d0d | /ra_cpp/src/raysphere.cpp | 4a6cec0e95ced969590ae05d989c6d2dd14bc5d0 | [] | no_license | pokjnb/ra | a0e323fa0165e27eb2d36641a40d6cf19343582a | 345be1496d2c3f59f0aaa3594977f495c80f50e3 | refs/heads/master | 2022-04-21T08:09:24.325333 | 2020-04-17T19:04:32 | 2020-04-17T19:04:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 968 | cpp | #include "raysphere.h"
double raysphere(Eigen::Ref<Eigen::RowVector3f> ray_origin,
Eigen::Ref<Eigen::RowVector3f> v_dir,
Eigen::Ref<Eigen::RowVector3f> rec_coord,
double rec_radius,
double c0,
double dist_travel){
// Initialize timecross
double time_cross = 0.0;
// Calculate the roots f... | [
"ericbacustica@gmail.com"
] | ericbacustica@gmail.com |
a8da28872efc2858230ab89a84abd056692ac413 | 0aa925ab0109f9b5bf0b47a93ca0b196c634dc75 | /base-case/airfoil-test/constant/polyMesh/owner | dc44ce9d37c7392262bb949b5b57cde6d3b90644 | [] | no_license | david-moravec/airfoil-tests | cca7fd7fa7fb99eb606f2f36b5df77ac3c54a8f9 | 845efa5f9eb88321f321cddc7c3cd68521f126cc | refs/heads/main | 2023-04-15T02:22:53.219871 | 2021-04-14T10:51:40 | 2021-04-14T10:51:40 | 302,572,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301,766 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"david.moravec@cfdsupport.com"
] | david.moravec@cfdsupport.com | |
268b53674eafa9f7f8df9979d2d40b1e66b30436 | 14818097e81239f6326fdeaa72a839cb7c77dd36 | /src/Core/Algorithms/Legacy/Inverse/SolveInverseProblemWithTikhonovTSVD_impl.h | 18fe4133be88257013d6bb6b4b857229bba1056b | [
"MIT"
] | permissive | lmccane/SCIRun | 33a626a7919d800acf3b8ac0105e0fbabad885b0 | 8d19fb86f8ea3922bdcee9b8556abe19b9239a6c | refs/heads/master | 2021-04-28T03:21:41.961509 | 2018-02-15T23:59:22 | 2018-02-15T23:59:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,651 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the... | [
"jcollfont@gmail.com"
] | jcollfont@gmail.com |
55635138247157103d9cb8c4d020fbc8b02d260b | dcdd5fe5fa3db4c2455359b34e494df53de88dc3 | /Difficulty1000/1245A.cpp | 1c0be2ab7e9bf84232d3598650d21120619a0b29 | [] | no_license | tetat/Codeforces-Problems-Sol | 8a0dbf68f2d8b4a5ce56db2fa7a2b3ff14b5ecb1 | a66d40d84a2842fc6bab83e9c5aa6875b096f767 | refs/heads/main | 2023-06-06T05:19:54.311565 | 2021-06-25T03:05:32 | 2021-06-25T03:05:32 | 369,604,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cpp | /// Problem Name: Good ol' Numbers Coloring
/// Problem Link: https://codeforces.com/problemset/problem/1245/A
/**
* winners never quit
**/
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define II int, int
#define IS int, string
#define SI s... | [
"noreply@github.com"
] | tetat.noreply@github.com |
a644175da0d470481361bfc52abf64e1efe272db | 1653acd0b8a476b55128b9af60c74366cc730568 | /2018-1/msgs/p4tags.cc | e40ea03df8bcd3768a563adcdc50c78f986b29dd | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | sgtest/p4test | 5c6ab62098e99413af8ee12b5911ad9cf7fc081e | 0b065a1f4aad902f5860d03fa44d14e00ee980a4 | refs/heads/master | 2020-04-27T16:46:05.018649 | 2019-02-07T10:04:05 | 2019-02-07T10:04:05 | 174,492,667 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,403 | cc | /*
* Copyright 1995, 2000 Perforce Software. All rights reserved.
*
* This file is part of Perforce - the FAST SCM System.
*/
/*
* P4Tags.cc - definition of rpc variable names
*/
# include <p4tags.h>
const char P4Tag::c_Ack[] = "client-Ack";
const char P4Tag::c_AckMatch[] = "client-AckMatch";
const char P4Ta... | [
"nickpoole@black-sphere.co.uk"
] | nickpoole@black-sphere.co.uk |
075fdf44adb51335a225c1fa3475743aea37d29e | 61b3f1b5512e4f09cda4e2a9aa85bc90cbea2f34 | /1-getting-started/lessons/4-connect-internet/code-telemetry/wio-terminal/nightlight/src/main.cpp | 5bf64b3ed76fbeafebf261d6f1620c0dcb11c193 | [
"MIT"
] | permissive | erickarugu/IoT-For-Beginners | 027f91eaf3b21dea36740f13ea63cfc4a9234470 | ba7100d0a0a88a54bb9b54ba4ae22b348fdc737a | refs/heads/main | 2023-06-20T14:27:53.073058 | 2021-07-22T15:13:39 | 2021-07-22T15:13:39 | 388,538,972 | 1 | 0 | MIT | 2021-07-22T17:54:57 | 2021-07-22T17:05:56 | null | UTF-8 | C++ | false | false | 1,567 | cpp | #include <Arduino.h>
#include <ArduinoJSON.h>
#include <PubSubClient.h>
#include <rpcWiFi.h>
#include <SPI.h>
#include "config.h"
void connectWiFi()
{
while (WiFi.status() != WL_CONNECTED)
{
Serial.println("Connecting to WiFi..");
WiFi.begin(SSID, PASSWORD);
delay(500);
}
Seri... | [
"noreply@github.com"
] | erickarugu.noreply@github.com |
6e66ef8515f89235541de463c6a6d858f7879caa | e7f19f64d1523e701dd4fa9f09d09b018d93a8dd | /TouchGFX/gui/include/gui/climate_screen_screen/Climate_screenPresenter.hpp | de770ad226bcc41514d549083ae618882213daae | [] | no_license | EmbeddedSystemClass/STM32F7_Meteo_TouchGFX | 45c19700fb05730f7ba0dd03f1c51e850d8ce3f9 | 597919b0fa9ff15e8cd43d32f58ac638c5230e4c | refs/heads/master | 2022-04-05T21:45:48.828978 | 2020-03-04T05:45:29 | 2020-03-04T05:45:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | hpp | #ifndef CLIMATE_SCREENPRESENTER_HPP
#define CLIMATE_SCREENPRESENTER_HPP
#include <gui/model/ModelListener.hpp>
#include <mvp/Presenter.hpp>
using namespace touchgfx;
class Climate_screenView;
class Climate_screenPresenter : public touchgfx::Presenter, public ModelListener
{
public:
Climate_screenPr... | [
"ALSCode@home"
] | ALSCode@home |
71f6575934e7acc7799113690fc623d4b9d17527 | 8b7abc4a71a4bfa488aa0f78b181f05bf0e2ca39 | /DS/Lab4/SELECTIO.CPP | 7ff24bfc045e0e344a98b2d5293b14ff2b720a96 | [] | no_license | itsnavneetk/sem3 | d9a7f37d0466bcd5037f0e81947fe4c53d6270ac | fdef1c43a487660172c3b684e7123c2fe328c3e4 | refs/heads/master | 2021-01-25T07:44:18.047946 | 2017-08-03T05:18:08 | 2017-08-03T05:18:08 | 93,657,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | #include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int n,i,j,a[10],small,temp=0,pos=0;
cout<<"Enter n "<<endl;
cin>>n;
for(i=0;i<n;i++){
cin>>a[i];
}
for(i=0;i<n;i++){
small = a[i];
pos =i;
for(j=i+1;j<n;j++){
if(small>a[j]){
pos = j;
temp = a[i];
a[i] = a[j];
a[j] = temp;
... | [
"itsnavneetk@gmail.com"
] | itsnavneetk@gmail.com |
06d1dd62cf8dad880f14887f3b2191468bacceb3 | f1b64a5f59155bc291f8cf0f53fb741b069f3234 | /final_pkg/src/bumper.cpp | aa4d01089270eefff12e4778463b7a148bbb69e6 | [] | no_license | Matchr19/p1_repository | c9731372db3f44db7b68fd670daf368c435a826d | b7c8d6396d24597cbb3cc754935c3359c4401a7a | refs/heads/master | 2020-08-10T18:10:32.996148 | 2019-12-10T08:25:30 | 2019-12-10T08:25:30 | 214,392,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | #include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <kobuki_msgs/BumperEvent.h>
#include <kobuki_msgs/Led.h>
#include <iostream>
#include <string>
kobuki_msgs::Led LEDmsg;
kobuki_msgs::BumperEvent bumpMsg;
ros::Publisher cmd_vel_pub;
ros::Publisher LED1_pub;
ros::Publisher LED2_pub;
ros::Subscriber bumper... | [
"kgrant19@student.aau.dk"
] | kgrant19@student.aau.dk |
84cab0c68ba7b7d4674dc70f379e948938873eae | acb29e5ca1a28f1a0510d6ea7e299fe684ba9ea9 | /SampleGame/Disgaea2/Code/battlemap.h | 229dfe01a62bc383b6acf4a56deb9e53925c27ee | [] | no_license | ZTZEROS/Portfolio | 579aced98885803e1f7d158ecde6db64c4115cff | c65d4d375cdfa7a746d83a81dfa27006e8240ea0 | refs/heads/main | 2023-03-28T11:39:55.575872 | 2021-04-02T00:00:03 | 2021-04-02T00:00:03 | 347,345,688 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | h | #pragma once
#include "gameNode.h"
#include "tileNode.h"
class battlemap : public gameNode
{
private:
tagTile _tiles[TILENUMX][TILENUMY];
tagTile _temp[TILENUMX][TILENUMY];
tagTile tempTile;
POINT _currentTile;
POINT _start;
image* _tileGraass;
image* _tileRock;
image* _tileStones;
image* _tileGraassTop;
i... | [
"zt00000@naver.com"
] | zt00000@naver.com |
92c0325d2b6c3e5db31bc2a82e208fe44257fac8 | 8d8fa72f7a43266add4446cb86116e62ba23f839 | /test/fixtures/observers.hpp | f17ffb164e51fbf804e348d77848c429fb3fbd8c | [] | no_license | asmr-hex/grid | f82fd8d0584d6f4cdb0a1936507160b4d5644285 | eeb0dbfcab203000c08da11ba9c7fb36b05652df | refs/heads/master | 2023-06-30T05:41:03.009915 | 2021-07-14T21:14:06 | 2021-07-14T21:14:06 | 217,150,100 | 0 | 0 | null | 2021-07-14T21:14:07 | 2019-10-23T20:43:52 | C++ | UTF-8 | C++ | false | false | 1,152 | hpp | #ifndef TEST_FIXTURES_OBSERVERS_H
#define TEST_FIXTURES_OBSERVERS_H
#include <string>
#include <vector>
#include "anemone/io/observer.hpp"
#include "anemone/io/grid/event.hpp"
#include "anemone/io/grid/device/events.hpp"
#include "anemone/rx/observer.hpp"
#include "fixtures/state/composite_state.hpp"
class TestSt... | [
"c@polygon.pizza"
] | c@polygon.pizza |
8293bcaf4320d007f268be4874c27c8299365757 | ddf551357f2f718fbb07ef8843facd38eccde027 | /Lab_5.1/Source.cpp | f4d9d55afdab395399ed22eebdd76a7230621a34 | [] | no_license | Perkhun/Lab_5.0 | 620c5fe8e7be46d527822b0292ca9bdeaa0030c3 | f8af7f11a970dd2f06ea3f2a38b4d15df2b9d063 | refs/heads/master | 2023-08-24T15:15:52.429192 | 2021-10-19T17:52:39 | 2021-10-19T17:52:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | #include <iostream>
#include <cmath>
using namespace std;
double h(const double x, const double y, const double z);
int main()
{
double a, b;
cout << "a= "; cin >> a;
cout << "b= "; cin >> b;
double c = (h (a, b, 1) + h (1, a, b)) / 1 + h (a * a + b * b, 1, 0);
cout << "c = " << c << endl;
return 0;
}
do... | [
"Iryna.Perkhun.IT.2021@lpnu.ua"
] | Iryna.Perkhun.IT.2021@lpnu.ua |
85868c34fcb97161f1c90b14883aed6c617338b0 | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/Elastos/Frameworks/Droid/Base/Packages/SystemUI/src/elastos/droid/systemui/statusbar/policy/AccessibilityController.cpp | 88d388d9070a32df949bf30b294b92d5d595194c | [
"Apache-2.0"
] | permissive | warrenween/Elastos | a6ef68d8fb699fd67234f376b171c1b57235ed02 | 5618eede26d464bdf739f9244344e3e87118d7fe | refs/heads/master | 2021-01-01T04:07:12.833674 | 2017-06-17T15:34:33 | 2017-06-17T15:34:33 | 97,120,576 | 2 | 1 | null | 2017-07-13T12:33:20 | 2017-07-13T12:33:20 | null | UTF-8 | C++ | false | false | 4,268 | cpp | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
4c93e7c683ede3aedcc8ffae75d41259935f64be | 89c3868b6228cb9c3d9ccb31721f9b879641a545 | /entities/functions.h | 64cba5e93032fe64c1fe35fe7a3e42852815afd0 | [] | no_license | dronperminov/ModelLang | b118209ff5b0d28a5b2d8fe18bd43ec756c3266a | 256b614f0dc79806ea4dc41932d4e6c3ca3b4218 | refs/heads/master | 2021-09-12T23:10:21.623513 | 2018-04-22T10:53:59 | 2018-04-22T10:53:59 | 109,563,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | h | #ifndef FUNCTIONS_H
#define FUNCTIONS_H
#include <iostream>
#include <ostream>
#include <string>
#include "../colors.h"
int realLength(std::string s);
void printCenter(std::string msg, int count, const std::string& color = "");
void printCenter(std::ostream &stream, std::string msg, int count, const std::string& co... | [
"dronperminov@gmail.com"
] | dronperminov@gmail.com |
974fe277f151749e330fbd40c067a35f43dedbff | fd081a9a4621f0964099883b234e32d5ee36c4ff | /Record.h | ca82225dc97d98bb2ba4ef8c73165078cdebdd8e | [] | no_license | srobbins511/Database | f3d968b9a560d936189900efe66b406d89407cf3 | 8843a635ee003495145fce5af3f04f57126877e2 | refs/heads/master | 2020-09-09T00:05:37.111982 | 2019-11-28T06:45:55 | 2019-11-28T06:45:55 | 221,283,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | h | #ifndef RECORD_H
#define RECORD_H
#include <iostream>
using namespace std;
class Record
{
public:
bool originStudent;
bool opInsert;
int ID;
std::string info;
Record();
Record(bool student, bool op, int id, std::string information);
~Recor... | [
"srobbins@chapman.edu"
] | srobbins@chapman.edu |
3fd6ceddd1ff3aef6f6d2d4ced89ffa1204fb50a | 04251e142abab46720229970dab4f7060456d361 | /lib/rosetta/source/src/basic/TracerImpl.cc | afda5e73092442f23a0f873d5f0286455bd94084 | [] | no_license | sailfish009/binding_affinity_calculator | 216257449a627d196709f9743ca58d8764043f12 | 7af9ce221519e373aa823dadc2005de7a377670d | refs/heads/master | 2022-12-29T11:15:45.164881 | 2020-10-22T09:35:32 | 2020-10-22T09:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,836 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"lzhangbk@connect.ust.hk"
] | lzhangbk@connect.ust.hk |
98e183b981b772c8361e882a120e0d39d71cdd97 | f950882940764ace71e51a1512c16a5ac3bc47bc | /src/EmbDB/Tests/TestSpatialTree/TestSpatialTree.cpp | f1371ebc5f15e886e76b060e7903ee82a144404a | [] | no_license | ViacheslavN/GIS | 3291a5685b171dc98f6e82595dccc9f235e67bdf | e81b964b866954de9db6ee6977bbdf6635e79200 | refs/heads/master | 2021-01-23T19:45:24.548502 | 2018-03-12T09:55:02 | 2018-03-12T09:55:02 | 22,220,159 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | // TestSpatialTree.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "CommonLibrary/SpatialKey.h"
#include "../../EmbDB/SpatialPointQuery.h"
#include <iostream>
void testZPoint();
void testZPoint1();
void testZRect1();
void TestPointSpatialTree();
void TestRectSpatialTree()... | [
"nk.viacheslav@gmail.com"
] | nk.viacheslav@gmail.com |
927ab3439e937c8818f268e6621c9b70ddc94b39 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-databrew/source/model/CreateRulesetRequest.cpp | f15410208e7ac419f13a63fd076636146ceaf837 | [
"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,481 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/databrew/model/CreateRulesetRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::GlueDataBrew::Model;
using namespace Aws::Utils::Json;
us... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
fd5024e95a845abc7dae622141e05d8f0937ba43 | cd50eac7166505a8d2a9ef35a1e2992072abac92 | /solutions/codeforces/sgu404.cpp | a4bdb97aaec221e67dde28390f1295b6c0247d84 | [] | no_license | AvaLovelace1/competitive-programming | 8cc8e6c8de13cfdfca9a63e125e648ec60d1e0f7 | a0e37442fb7e9bf1dba4b87210f02ef8a134e463 | refs/heads/master | 2022-06-17T04:01:08.461081 | 2022-04-28T00:08:16 | 2022-04-28T00:08:16 | 123,814,632 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | /*
Solution to Fortune-telling with camomile by Ava Pun
Key concepts: implementation, simple math
*/
#include <bits/stdc++.h>
using namespace std;
#define f first
#define s second
#define pb push_back
#define FILL(a, b) memset(a, b, sizeof(a))
typedef long long int ll;
typedef pair<ll, ll> pii;
typedef pair<int,... | [
"noreply@github.com"
] | AvaLovelace1.noreply@github.com |
df138942d19cb8e104f78a8e8240246921d2eb76 | 4ba0b403637e7aa3e18c9bafae32034e3c394fe4 | /cplusplus/loxpp-learn/src13/callable.h | 06d251158644c771fefd78f786534f9d85811d7d | [] | no_license | ASMlover/study | 3767868ddae63ac996e91b73700d40595dd1450f | 1331c8861fcefbef2813a2bdd1ee09c1f1ee46d6 | refs/heads/master | 2023-09-06T06:45:45.596981 | 2023-09-01T08:19:49 | 2023-09-01T08:19:49 | 7,519,677 | 23 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,640 | h | // Copyright (c) 2019 ASMlover. 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 ofconditions and... | [
"asmlover@126.com"
] | asmlover@126.com |
d48cce54cf67f245e0ce79090059d0b02425d460 | ddd30393b9abab40d0607db4f6e75123ba6257c0 | /CPP-Pool/d01/ex03/main.cpp | 66760b403aef4510b6a637a6dd90117b24cfe274 | [] | no_license | kuenane/42_Projects | 9db8e49725f791af26c064abed71ad3b2b2407d2 | 52038ee97265d75aaef44e62beb015c77633d0dd | refs/heads/master | 2021-08-26T08:36:58.022274 | 2017-11-22T15:45:42 | 2017-11-22T15:45:42 | 113,833,003 | 0 | 1 | null | 2017-12-11T08:32:17 | 2017-12-11T08:32:16 | null | UTF-8 | C++ | false | false | 1,019 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// main.cpp :+: :+: :+: ... | [
"wide-aze@student.42.fr"
] | wide-aze@student.42.fr |
86818330eddc899cc098aebfc08f202f04a1ac41 | b6fc83d4bf6a207f3a412f048a2c3cc8e8750775 | /src/primitives/block.cpp | 30361bf3bafc932d5c5267cc2f827231247ff4e6 | [
"MIT"
] | permissive | Aryacoin/Aryacoin | 053211bfcb3efcb3e95eb0299413048de7981cbf | ff8af6d1ff3ce9aa227270f06a75066ed531626c | refs/heads/master | 2023-06-24T10:44:38.498741 | 2023-06-13T14:53:37 | 2023-06-13T14:53:37 | 173,964,186 | 22 | 6 | MIT | 2023-06-13T14:53:38 | 2019-03-05T14:42:14 | C++ | UTF-8 | C++ | false | false | 1,081 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 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 <primitives/block.h>
#include <hash.h>
#include <tinyformat.h>
#include... | [
"34451068+sillyghost@users.noreply.github.com"
] | 34451068+sillyghost@users.noreply.github.com |
5877cf806630251ad4e5653c3a7f96b09aaa2175 | 9c7da1343719aa3f7c5324d385cf66cd114626dd | /quickSort.cpp | 4ad5eb9b7863dd9b518e83b704c9944a0eca694c | [] | no_license | Ting0887/sort_algorithm | af43068c3017b1eeb7f049fd197a09e0fb7bd7d7 | c20f29926de147b626bc825923883e8b47e85f7e | refs/heads/main | 2023-08-31T06:20:07.776571 | 2021-10-28T15:08:59 | 2021-10-28T15:08:59 | 419,614,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | #include<iostream>
using namespace std;
void swap(int *a,int *b){
int temp = *a;
*a = *b;
*b = temp;
}
int Partition(int *arr, int front, int end){
int pivot = arr[end];
int i = front -1;
for(int j= front; j < end; j++){
if (arr[j]< pivot){
i++;
swap(&arr[i],&arr[j]);
}
}
i++... | [
"noreply@github.com"
] | Ting0887.noreply@github.com |
c70f6c9924fbf01acdf1f35410ac3fde6f0cf4e1 | 0d87d119aa8aa2cc4d486f49b553116b9650da50 | /src/scheduler.h | 11369133c239c8579a6284413066787adc0d070e | [
"MIT"
] | permissive | KingricharVD/Nests | af330cad884745cc68feb460d8b5547d3182e169 | 7b2ff6d27ccf19c94028973b7da20bdadef134a7 | refs/heads/main | 2023-07-07T12:21:09.232244 | 2021-08-05T01:25:23 | 2021-08-05T01:25:23 | 386,196,221 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,877 | h | // Copyright (c) 2015 The Bitcoin Core developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2020-2021 The NestEgg Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SCHEDULER_H
... | [
"northerncommunity1@gmail.com"
] | northerncommunity1@gmail.com |
3b4f4e5a073faa339f518498640e200c1dd1e33b | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_6158.cpp | 9a6e2ba8ecc1667ff64e04c8c75326c90fef85a5 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37 | cpp | void f(){double x; scanf("%lf", &x);} | [
"github@pauldreik.se"
] | github@pauldreik.se |
a3f4a54da69873e4e938d0c5eb498c28ca3c76ee | e1e641d29a48cf5c96b63857c5dc783ebe1cbd7b | /Labs/Lab1/ProcessB.cpp | d5604da7fd97ccd28ddc52caff1fe134a3129d06 | [] | no_license | BSUIR450503/450503_korotkina | e6819257eb454a17ca51f9a1394339c885845a2f | 7ed17fc2ab7ccb3ee6e32b06a65368772b7b1abc | refs/heads/master | 2021-01-17T07:10:01.854837 | 2016-06-19T23:18:18 | 2016-06-19T23:18:18 | 52,334,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include <fstream>
#include <iostream>
#ifdef _WIN32
#include <string>
#include <math.h>
#include <conio.h>
#endif
#ifdef _linux
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#endif
using namespace std;
int main(int argc, char* argv[])
{
int out;
int in;
fstream inFile;
inFile.open("mFile.bin", io... | [
"juliakorotkina@gmail.com"
] | juliakorotkina@gmail.com |
662eaa4eb4089da280291a8610a6fea8388c7e44 | bc0945070d150c8af7cc56bf6e045a8c2cc7873d | /1014/2053304_RE.cpp | 8af48c17c1905d71d95b4cb422184562720be46e | [] | no_license | fengrenchang86/PKU | ab889d88cd62b3c0b3e00cde5d5c3a652a16221a | 0c4adf6b740d2186b7f23124673cd56520d1c818 | refs/heads/master | 2021-01-10T12:12:18.100884 | 2016-03-07T14:14:33 | 2016-03-07T14:14:33 | 53,328,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,767 | cpp | #include <iostream>
using namespace std;
const int MAX = 1200;
int a[MAX];
int h[6];
bool l[MAX]={0};
int flag = 0;
void dfs ( int t, int sum, int position, int num )
{
if ( t == sum )
{
flag = 1;
return;
}
while ( t+a[position] > sum || l[position] == 1 )
{
if ( position > num )
break;
position++;
}
... | [
"fengrenchang86@gmail.com"
] | fengrenchang86@gmail.com |
1629bf90da04347b767d3b5f91d97a3da82d4b24 | e4d688f22075ba0dea975b681aeb5a86cb36ec4e | /src/mplfe/common/include/fe_file_type.h | 93d3e419f7f541def56f71c0c55885236d943530 | [
"LicenseRef-scancode-mulanpsl-2.0-en"
] | permissive | MapleSystem/OpenArkCompiler | e265822f08358ad316597dc3be2ff730035c21eb | 06a1511e6c1db559bc058717677d2714fc2c3c09 | refs/heads/master | 2023-08-25T11:29:58.461311 | 2021-09-27T05:54:08 | 2021-09-27T05:54:08 | 250,312,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | h | /*
* Copyright (c) [2020-2021] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
... | [
"fuzhou@huawei.com"
] | fuzhou@huawei.com |
63591157afb7c78f0008cf13e337d8ed6519a15f | 7f3e9c3c64c7666b89de9f1ce9f0aaff5137ff7b | /rdf/NTriplesReader.cpp | fade34c6ee153d4547b06139f1c30145f9d684b2 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | jrweave/jrweave | 5b5b01ba6bea08c00336693a64a62fd48daab3c4 | fe2ca3d694e16fb9c627e031eaae58110df793be | refs/heads/master | 2021-01-13T01:55:18.361610 | 2012-09-10T20:17:39 | 2012-09-10T20:17:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,718 | cpp | /* Copyright 2012 Jesse Weaver
*
* 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 l... | [
"jrweave@gmail.com"
] | jrweave@gmail.com |
dbf44397ed95171459eba71796f8045adc5a02db | 1c23ceebe81db4105252727d2c7d2232cc191aac | /proj/detail/transform.hpp | abbddea0825c1bc35badbac38bfb0412bd3fcc90 | [
"MIT"
] | permissive | MAPSWorks/bark-NanoGIS-Qt-GIS | 07f317f1f7dbba1d8130687df5e01c22d74ac397 | fc201e844498bbba068abbe714ceac5d6967513f | refs/heads/master | 2020-09-22T12:56:03.514237 | 2019-11-17T17:35:46 | 2019-11-17T17:35:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | hpp | // Andrew Naplavkov
#ifndef BARK_PROJ_TRANSFORM_HPP
#define BARK_PROJ_TRANSFORM_HPP
#include <algorithm>
#include <bark/detail/grid.hpp>
#include <bark/geometry/geometry.hpp>
#include <cmath>
#include <iterator>
#include <proj_api.h>
#include <stdexcept>
#include <vector>
namespace bark::proj {
inline void transfor... | [
"andrew.naplavkov@gmail.com"
] | andrew.naplavkov@gmail.com |
2f8227f3a3bf315cfaff7e2cc03da7787c1aec87 | 0078a70d4cde0ab5f9d00bbe7b19e82d8c760f27 | /examen/controller.h | 85ca08a905dfbc51f6ae575b2a9e3b121d077fe7 | [] | no_license | denisaungur/projects | 68362221d891b756a8bab8bb7124598597b18d71 | 020755320815b150266bd96b16879c58d69cb436 | refs/heads/master | 2020-06-26T21:17:09.729467 | 2017-07-12T16:30:42 | 2017-07-12T16:30:42 | 97,029,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef CONTROLLER_H
#define CONTROLLER_H
#include "domain.h"
#include "filerepo.h"
#include <vector>
using namespace std;
class Controller{
private:
FileRepo repo;
public:
Controller(FileRepo r){repo=r;};
vector<Product> get_all(){
return repo.get_all_records();
}
void add(Product p){
... | [
"denisaungur@yahoo.com"
] | denisaungur@yahoo.com |
0b5a9bc4080bd3fcd83cdaaf612abc9ca1e68c98 | f5690d05b3156379c85f0e5b27240a609c540bf8 | /qt5/ftpupload/mainwindow.h | b188ddfdc2b55e36b5e1cde0d8af15efd81cf420 | [] | no_license | aeternu/qt-1 | 01c71253c8e56ac1e73606e0e029e43057e5aa56 | b1c6cb162947d0766c54b9efa9062b1481fdf334 | refs/heads/master | 2021-05-26T19:31:11.564047 | 2014-01-05T14:28:19 | 2014-01-05T14:28:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_btnBrowse_clicked();
void on_btnInsertImg_clicked();
priva... | [
"steewsc@gmail.com"
] | steewsc@gmail.com |
a4cc2854a27d500abb25ef7ba8de15be2871dcfd | 4e8f53a51ac928556adce378b42a9e3baed6415e | /BST.hpp | ff52e10ab0dd5c12205c6010fc7a6c8b9610081b | [] | no_license | oliviamaciejewska/hash_tables | ef436c1e44a35bf6287a6f41461059e026f2602b | 151264682f6f815475edb0049b49693af5113b11 | refs/heads/master | 2020-12-01T04:26:02.607319 | 2019-12-28T04:14:00 | 2019-12-28T04:14:00 | 230,556,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | hpp | #ifndef BST_HPP
#define BST_HPP
#include <iostream>
#include <vector>
#include <fstream>
#include <string>
#include <sstream>
#include <time.h>
#include <windows.h>
#include <iomanip>
#include <algorithm>
#include <random>
#define TABLE_SIZE 10009
using namespace std;
struct HashNode
{
int key;
HashNode *left=NUL... | [
"oliviamaciejewska@gmail.com"
] | oliviamaciejewska@gmail.com |
432cba6275523f17e070aa76f7e728916d85a077 | c4617bb18dee000848aee5593e8668c3d1516b97 | /Experiment_Controller_V6/Addon/sectionediter.cpp | 4ed3c69eee0769c15d9d4e82a2a471d079cd9c7e | [] | no_license | liangqibox/Lithium6_ATI | 469f688dbea6a128b53e159cc4b9e9562f0a9640 | b81cea8895ed15db941019a8c00101499317b731 | refs/heads/master | 2020-12-26T10:32:39.611130 | 2020-01-31T18:26:17 | 2020-01-31T18:26:17 | 237,481,429 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,401 | cpp | #include "sectionediter.h"
#include "ui_sectionediter.h"
Sectionediter::Sectionediter(QWidget *parent, int AO, int DiO) :
QDialog(parent),
ui(new Ui::Sectionediter)
{
ui->setupUi(this);
this->installEventFilter(this);
connect(ui->Scroll_maina->verticalScrollBar(),SIGNAL(valueChanged(int)),ui->Scro... | [
"60519181+liangqibox@users.noreply.github.com"
] | 60519181+liangqibox@users.noreply.github.com |
c422f2d747f09ee75b708106c6ea62bf1ba0c38e | 428d2b6a65b96db964525b6d4148deb3a67dd3d6 | /include/system/NetworkNamespace.h | 4f41c8ad36451d1cfee73926fb59a8a37e27f4c3 | [
"Apache-2.0"
] | permissive | dgoltzsche/faasm | eb0f54ebeee6461d31d7359ba6985d06ca97fda1 | 017df7caadb847d9876a3673ee8943c5ce9dbd1c | refs/heads/master | 2023-06-05T10:20:03.973198 | 2021-03-23T08:31:28 | 2021-03-23T08:31:28 | 312,252,415 | 0 | 0 | Apache-2.0 | 2021-06-22T05:27:17 | 2020-11-12T11:11:34 | C++ | UTF-8 | C++ | false | false | 444 | h | #pragma once
#include <string>
#define BASE_NETNS_NAME "faasmns"
namespace isolation {
enum NetworkIsolationMode
{
ns_off,
ns_on
};
class NetworkNamespace
{
public:
explicit NetworkNamespace(const std::string& name);
void addCurrentThread();
void removeCurrentThread();
const std::string ... | [
"noreply@github.com"
] | dgoltzsche.noreply@github.com |
4a7d8c247ab89e4f8f095c09f5f2fc3bb4cf0449 | 6fb66c4e503d24ab0e52d538da4edf7d0841cecc | /src/test/net_tests.cpp | df4691c644b68352478b551da77f772a0c39bfe2 | [
"MIT"
] | permissive | EnzoNodes/ENZO | 936b0e35a25d3a7f9efbd8b75669c6469cc58e4e | 3f607ab55261ec22a02f3eba4b32699eed187620 | refs/heads/master | 2023-08-12T04:06:36.428514 | 2021-10-12T06:47:57 | 2021-10-12T06:47:57 | 413,684,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,341 | cpp | // Copyright (c) 2012-2016 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 "addrman.h"
#include "chainparams.h"
#include "hash.h"
#include "net.h"
#include "netbase.h"
#include "serialize.h"
... | [
"82832566+EnzoNodes@users.noreply.github.com"
] | 82832566+EnzoNodes@users.noreply.github.com |
460637cbfb52d750b8671cd64b33aae9d08fcb9f | 9ac887713ffc194682d6f088b690b76b8525b260 | /books/pc_data_structure/appendix/boat_travel.cpp | 1cf6e679b971982f7d2231cdbc275b4ca340e3b9 | [] | no_license | ganmacs/playground | 27b3e0625796f6ee5324a70b06d3d3e5c77e1511 | a007f9fabc337561784b2a6040b5be77361460f8 | refs/heads/master | 2022-05-25T05:52:49.583453 | 2022-05-09T03:39:12 | 2022-05-09T04:06:15 | 36,348,909 | 6 | 0 | null | 2019-06-18T07:23:16 | 2015-05-27T06:50:59 | C++ | UTF-8 | C++ | false | false | 1,327 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <cstdio>
#include <cmath>
#include <queue>
#include <map>
#include <set>
using namespace std;
typedef pair<int, int> P;
static const int MAX = 110;
static const int INF = 1000010;
int n;
int main() {
int n, m, a... | [
"ganmacs@gmail.com"
] | ganmacs@gmail.com |
c08b9be8234e559fd1cf352960787f96a621df2d | 16044e3f6f48f33a270867eef13d41b6a0617186 | /boost/library/boost/asio/ip/basic_resolver.hpp | 56d5ed918656574effbeb1ee54c343fe553b4079 | [] | no_license | esoobservatory/fitsliberator | 47350be9b99ff7ba3c16bae9766621d1f324d2ef | 02e11d9bd718dfb68b3d729cafc49915c8962b8e | refs/heads/master | 2021-01-18T16:30:10.922487 | 2015-08-19T15:14:58 | 2015-08-19T15:14:58 | 41,041,169 | 38 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 8,401 | hpp | //
// basic_resolver.hpp
// ~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_IP_BASIC_RES... | [
"kaspar@localhost"
] | kaspar@localhost |
d288698bf33d3271c0498e9679f2e839f8e42a19 | 5b7f5229df3e1f61eb264df8aa9c67fbcccb6ba0 | /cocos2d/extensions/Particle3D/PU/CCPUScaleVelocityAffector.cpp | cf3612684645f9173977dbd285102d7572d573cd | [
"MIT"
] | permissive | IoriKobayashi/BluetoothChecker | cac73371b264522210b181b13e6a9ea555e9f4e8 | fb0127d756a2794be89e5a98b031109cdabfc977 | refs/heads/main | 2023-03-29T21:16:08.104908 | 2021-04-06T13:19:22 | 2021-04-06T13:19:22 | 354,246,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,411 | cpp | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of ... | [
"iori.kobayashi.mail@gmail.com"
] | iori.kobayashi.mail@gmail.com |
f8086b23337551f2996f4d7fcf25fb6346b8e96a | 5d262c088ed241cdefde532dd12a2b0040348bcf | /6.Haizei_oj/83.cpp | 6b3fc1dd9f140c356e5083e1b1af8f4a3834c43a | [] | no_license | loveskycloud/LeetCode | a6acd0a41cb0adb6543a42cee213ea51d99d30a9 | 40aa34f177fa639d8d05bc6b4629fc9e32d0b53a | refs/heads/master | 2021-12-14T23:16:58.126192 | 2021-12-13T02:43:55 | 2021-12-13T02:43:55 | 242,975,740 | 1 | 1 | null | 2021-12-13T02:43:56 | 2020-02-25T10:45:41 | C++ | UTF-8 | C++ | false | false | 394 | cpp | #include <iostream>
using namespace std;
int func(int s, int left, int cnt) {
if (left == 0) {
if (cnt == 0) {
return 1;
}
return 0;
}
int ans = 0;
for (int i = s; i <= left; i++) {
ans += func(i, left - i, cnt - 1);
}
return ans;
}
int main()
{
... | [
"896275569@qq.com"
] | 896275569@qq.com |
a7c3fde2a0fd7d831cd77547a99b639cb5f214b7 | c238d370c8259897b8c3b95a12c81e4d8691de64 | /src/rx/render/backend/gl3.cpp | b7958b642fcb35324527b425c9468effb9daf012 | [
"MIT"
] | permissive | ttvd/rex | 4f66966166c422b7c7c356e764bdff3fcf11e800 | bfe49a11e255e7be9e739641924adad2fd82a861 | refs/heads/main | 2022-11-25T23:04:23.994615 | 2020-08-04T13:55:55 | 2020-08-04T13:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75,798 | cpp | #include "rx/render/backend/gl.h"
#include "rx/render/backend/gl3.h"
#include "rx/render/frontend/target.h"
#include "rx/render/frontend/program.h"
#include "rx/core/algorithm/max.h"
#include "rx/core/math/log2.h"
#include "rx/core/profiler.h"
#include "rx/core/log.h"
#include "rx/core/abort.h"
namespace Rx::Render... | [
"weilercdale@gmail.com"
] | weilercdale@gmail.com |
8d29269c8b67d4548f59b66d94f76f8728fdcf89 | 71b61cc453db28c0e3c9c0a4a0408baf9b6ed3e6 | /FigureZ.h | d22e143715ca1455de5dbec858cace5d69620109 | [] | no_license | liretta/Tetris | 0de00b848da750a09c1659770a47589a6806ca64 | e41cd8c29d34551d301db7f19e31aa4bd012cc22 | refs/heads/master | 2020-03-25T19:45:30.223222 | 2018-08-11T08:13:29 | 2018-08-11T08:13:29 | 144,098,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | h | #pragma once
#include "stdafx.h"
#include "defines.h"
#include "Figure.h"
class FigureZ : public Figure
{
public:
FigureZ();
virtual ~FigureZ();
};
| [
"liretta26@gmail.com"
] | liretta26@gmail.com |
fbd0009dfab742083f32717dad99527268129797 | a74af4b480bf2962dc8ec6e4bca793fed7c7a2ab | /Metin2-Loading-Tip-Info-master/1.Svn/Client/UserInterface/PythonBackground.cpp | 09039342a00473f9171fd5fa7fc51a4934c00540 | [] | no_license | Bobo199/Metin2 | 50c372d0f99fe37741e1c8826342898451f10ae7 | 43e90898df54ad201011b3bd8a6fec63cdb6a842 | refs/heads/master | 2022-11-14T21:20:04.196159 | 2020-06-28T15:39:14 | 2020-06-28T15:39:14 | 275,601,572 | 2 | 0 | null | 2020-06-28T15:34:35 | 2020-06-28T14:27:03 | C++ | UTF-8 | C++ | false | false | 90 | cpp | //Find
m_strMapName="";
///Add
#if defined(__LOADING_TIP__)
l_WarpMapIndex = 0;
#endif | [
"noreply@github.com"
] | Bobo199.noreply@github.com |
05cdfd7c401458f65ff25b2418bf4d56e7e211c9 | 02c43cda5f67158c01edbef30866bb5b03206663 | /RiverCityGirls_DontSleep_pt/playerWait.h | f7fe5c9621f71dc686b18d1ffddeeb1a578fb802 | [] | no_license | RKJH-jin/RK_Projects | 81c102a208f2a1a31428154067e67b26ce82c2fe | e568ca59b0a5335805f307aa46c397b8c890117a | refs/heads/master | 2023-03-09T05:59:36.021119 | 2021-02-23T02:51:45 | 2021-02-23T02:51:45 | 341,404,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | h | #pragma once
#include "IPlayerState.h"
class playerWait :public IPlayerState
{
public:
virtual void EnterState();
virtual void UpdateState();
virtual void ExitState();
};
| [
"rk.jh.jin@gmail.com"
] | rk.jh.jin@gmail.com |
2f24b7fe3df97bd845881421d5a59b5e25d79601 | 073e34174c9b566337ceda7693672b03579e7b12 | /aStarScene.h | 4232ac2b1b362c6d8a6c8fe9309c56ffe0c1ea92 | [
"MIT"
] | permissive | ArrowManga/first_project | a578347fbb1f9d1392637b7693303dc6237f94a9 | 39352a8d93ff7da6c71bf9743d09ed91dcae1511 | refs/heads/master | 2020-03-28T18:38:01.694450 | 2018-09-15T12:16:16 | 2018-09-15T12:16:16 | 148,897,008 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | h | #pragma once
#include "gameNode.h"
#include "aStarTest.h"
class aStarScene : public gameNode
{
private:
aStarTest* _ast;
public:
aStarScene();
~aStarScene();
HRESULT init();
void release();
void update();
void render();
};
| [
"43293922+ArrowManga@users.noreply.github.com"
] | 43293922+ArrowManga@users.noreply.github.com |
57f3d6aeb1a4f164b0c369cf6582e601258aa9c0 | c78aa600facc3b05e79519565493a89c550d6c61 | /zadacha6-8/zadacha3/Fraction.cpp | 20561cf6b5c44b0171d499973a1e1a6210ef68a5 | [] | no_license | VVMig/labs-prog | baf6eaa80f942113a6ad2504480abb25dbcda39c | f7c5c26f596b86633b8f1379aacd9ae9908ab17c | refs/heads/master | 2023-02-03T08:47:09.280199 | 2020-12-19T08:19:18 | 2020-12-19T08:19:18 | 322,797,654 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | #include "Fraction.h"
#include <string>
#include <cmath>
using namespace std;
double toDouble(const char* a) {
string cc = "", dd = "";
double c = 0.0, d = 0.0;
bool cel = true;
for (int i = 0;a[i]; i++)
{
if (a[i] == '.') cel = false;
if (a[i] >= '0' && a[i] <= '9') {
if (cel)
cc += a[i];
els... | [
"vova.migay123@gmail.com"
] | vova.migay123@gmail.com |
66021326fbaa9fc195626df827234412e556a6a7 | 2c642ac5e22d15055ebf54936898a8f542e24f14 | /Example/Pods/Headers/Public/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp | 2e31a89487c197338570249f3a278eedf5c7ffb4 | [
"Apache-2.0"
] | permissive | TheClimateCorporation/geofeatures-ios | 488d95084806f69fb6e42d7d0da73bb2f818f19e | cf6a5c4eb2918bb5f3dcd0898501d52d92de7b1f | refs/heads/master | 2020-04-15T05:34:06.491186 | 2015-08-14T20:28:31 | 2015-08-14T20:28:31 | 40,622,132 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 90 | hpp | ../../../../../../../../boost/Pod/Classes/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp | [
"tony@mobilegridinc.com"
] | tony@mobilegridinc.com |
a1148e86b57b3d1b6ee929fc71d30ace952e5432 | c995761406386ebd0aaeae62998bc43029d66045 | /employeeform.h | e340c9b7eab62ee07b314cf7615a38fb66fde4f3 | [] | no_license | zhongming2013/dynamicLocation | 1589fba7a381899ae32fbafe8504dfd8c09676ac | 72837c34cb6ddfc3d92e199e2917c09b3887b17a | refs/heads/master | 2016-09-03T00:30:42.667422 | 2013-03-17T12:36:25 | 2013-03-17T12:36:25 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,291 | h | #ifndef EMPLOYEEFORM_H
#define EMPLOYEEFORM_H
#include <QDialog>
#include <QSqlTableModel>
#include <QDataWidgetMapper>
#include <QLabel>
#include <QLineEdit>
#include <QDateEdit>
#include <QPushButton>
#include <QDialogButtonBox>
class EmployeeForm : public QDialog
{
Q_OBJECT
public:
EmployeeForm(int id, QW... | [
"zhongming_sysu@qq.com"
] | zhongming_sysu@qq.com |
2620516fd4c3fffc5925676ebd0a26c5d4006921 | 6f0f1096542beb4e299af24136cbe9d8079e3c90 | /edge/src/TCPclient/TCPclient.cpp | 8e63271808383eebe3a0da183bdf73983763ef3b | [
"MIT"
] | permissive | yanboyang713/Radio-Telescope | f4bf87433830674a405cc615feff849e1bb39861 | 6dace01f6ad8b9361d52fa8405b0ee787cfc37d8 | refs/heads/master | 2023-08-28T05:52:55.733649 | 2021-10-12T03:22:08 | 2021-10-12T03:22:08 | 416,167,343 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,057 | cpp | /*************************************************************
* Name: Boyang Yan
* Email Address: boyyan@microsoft.com
* Last modification: 17/07/2020
* Function: TCP Client
************************************************************/
#include "TCPclient.h"
TCPclient::TCPclient(){
valread = 0;
sock = ... | [
"yanboyang713@gmail.com"
] | yanboyang713@gmail.com |
84cccc3dd0038099f827056fcee93cc6d466cdc4 | 9334e57592c643aa98a01e78683243fd2b420560 | /3Cats/Graph-visitor/visitor.h | 188f8c1fb43dd6b1fd7af5ebec465de4ca755a46 | [] | no_license | tikhonow/cpp-programming | bae0cb7d7f55fbf1e41a21073ffbced924d8c651 | 65c86042a1ee668b0d15e267fdebe07027bb204f | refs/heads/master | 2023-02-02T21:15:53.835876 | 2020-12-15T08:21:40 | 2020-12-15T08:21:40 | 298,247,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | h | #pragma once
#include <memory>
template<class Vertex>
class BfsVisitor {
public:
BfsVisitor() {
a = std::make_shared<Grag>();
a->v = 222222222 ;
}
void ExamineVertex(const Vertex& vertex) {
if (a->v == 222222222) {
a->v = Vertex(vertex);
return;
}
... | [
"tihoo99@icloud.com"
] | tihoo99@icloud.com |
4a213034d5635a22a4fd78f86fad6798a4b94474 | 95cc023556e96743b1b47f4459181a81bf592be7 | /drivers/bluetooth/lib/gap/bredr_connection_manager.cc | 1c9d868def2f4ee71b3e1e6f01c906b89d72d1ed | [
"BSD-3-Clause"
] | permissive | return/garnet | 5034ae8b8083455aa66da10040098c908f3de532 | f14e7e50a1b6b55eaa8013755201a25fc83bd389 | refs/heads/master | 2020-03-23T16:13:28.763852 | 2018-07-21T07:24:31 | 2018-07-21T07:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,682 | cc | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "bredr_connection_manager.h"
#include "garnet/drivers/bluetooth/lib/gap/remote_device_cache.h"
#include "garnet/drivers/bluetooth/lib/hci/connect... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.