blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e856cd879fd40d0c6a6442543da396a16957bfc5 | 9aff82391d50b373e7209423460606b7f8dc83db | /Funciones/Random/cambio_justo.cpp | 700666f4ccfd9504096f137c025d9550581d6aaa | [] | no_license | undefinedfceia/guardian-tortuga | 2f0630f842904c3b81afe76b0d56a1ecb35c52c3 | 200e3a3302e8384301d6c3cee23e1b545526a17a | refs/heads/master | 2021-07-04T01:33:34.166916 | 2021-07-03T18:47:11 | 2021-07-03T18:47:11 | 203,363,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | int solution(int n, int coins[], int i) {
if (n == 0)
return 0;
if (coins[i] > n)
return solution(n, coins, i - 1);
return 1 + solution(n - coins[i], coins, i);
} | [
"undefined.fceia@gmail.com"
] | undefined.fceia@gmail.com |
beaefe0d88400c666fc3b296fddb4530637d0dba | 245b3fdec9d7778c2d5322548db64421be6d9b2e | /Config.ino | 8850a11268395cd4789fb2e1430ce85b59c36dba | [] | no_license | choopk/irblaster | c67256f739cefe708be4380685c2bc071cd11fed | 7d270e728dc5ed3ebf32accffd90b1a084ab5a28 | refs/heads/master | 2020-03-29T02:07:26.096997 | 2018-09-19T08:55:18 | 2018-09-19T08:55:18 | 149,421,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,202 | ino | #include "Config.h"
//Loading client file
void Config::loadClientID(){
if (SPIFFS.exists("/clientID.json")) {
//file exists, reading and loading
Serial.println("reading clientID file");
File clientIDFile = SPIFFS.open("/clientID.json", "r");
if (clientIDFile) {
Serial.println("opened clientID f... | [
"choopk1994@gmail.com"
] | choopk1994@gmail.com |
b51559e85161609becd0ee4c67876779939ed24b | 41e21884c745697d472d29da596c5c0e9abf438e | /proj05/proj05_functions.cpp | 513e4aeb4b421f405097a382d01b3ae0dec0e208 | [] | no_license | himsangseung/C-Projects | 8c543c3f795143dac52827f1b2a014e059c9a07b | bd76748f92ffdc2ca0347ff3f7365c02acfc19fa | refs/heads/master | 2020-05-31T21:33:39.526206 | 2019-06-06T02:30:48 | 2019-06-06T02:30:48 | 190,500,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,299 | cpp | /*
proj05 : THe Playfair Algorithm
section 3
10/15/2018
using five functions with keyword and the plain text,
it is to obtain encrypted keyword printed out
*/
#include "proj05_functions.h" //was used to reference header to test functions
string prepare_plaintext(const string &s){
/*
takes in a string, and p... | [
"himsangseung@hotmail.com"
] | himsangseung@hotmail.com |
bee2a2f6f070865825ed74ce5c5bf9ccd203926b | b05ea37f8f51d377aee08f73485e06c4ebe941fe | /include/wee/core/tee.hpp | b1505be53d73714fd23ed23d42cbdc12dc07313f | [
"MIT"
] | permissive | emdagh/wee | 41314e23ba1d40bf4e362f505fab218d997c1349 | b224740c66231e8ce5e82a79451f7ad1f2f87646 | refs/heads/master | 2023-05-02T13:13:16.427737 | 2023-04-25T11:22:37 | 2023-04-25T11:22:37 | 144,500,976 | 1 | 1 | MIT | 2021-11-11T07:28:49 | 2018-08-12T21:09:33 | C++ | UTF-8 | C++ | false | false | 1,236 | hpp | #pragma once
template <typename T, typename Traits = std::char_traits<T> >
class basic_teebuf : public std::basic_streambuf<T, Traits> {
typedef typename Traits::int_type int_type;
typedef std::basic_streambuf<T, Traits> streambuf_type;
streambuf_type* _s0;
streambuf_type* _s1;
protected:
virt... | [
"emiel.van.dam@hetconsultancyhuis.nl"
] | emiel.van.dam@hetconsultancyhuis.nl |
925259bf47bf48eafec27c4d6e0dcb87b3886ceb | 10d62a9843ff91d8df37de50c8d0ba3a4d636711 | /cXmlParser.cpp | 481cd29ea562714b7040741153c9a46283dfb6e7 | [] | no_license | JimyRFP/XMLParseCPP | 4fd9e9364022e9f0ed655f109773c64a77fe4b8d | f52a5662adbf2daf53ca15fac5904bd4017d7706 | refs/heads/main | 2023-02-23T07:42:07.511869 | 2021-01-26T18:50:20 | 2021-01-26T18:50:20 | 325,151,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,422 | cpp | #ifndef CXMLPARSER_CPP
#define CXMLPARSER_CPP
#include "cXmlParser.h"
void cXmlParser::zeroMemory(xml_StructInfo* structToZero){
structToZero->attributes=NULL;
structToZero->attributesValue=NULL;
structToZero->father=NULL;
structToZero->name=NULL;
structToZero->nAttributes=0;
structToZero->next=NULL;
structToZe... | [
"rafaelflorianipinto@gmail.com"
] | rafaelflorianipinto@gmail.com |
9385ffb05771638b30e211d81f5f295cec08f6a6 | f05bde6d5bdee3e9a07e34af1ce18259919dd9bd | /algorithms/kernel/low_order_moments/low_order_moments_csr_sum_online_fpt_dispatcher.cpp | 0626b30e8471568ad0eb00d527a1fb8ad063ee29 | [
"Intel",
"Apache-2.0"
] | permissive | HFTrader/daal | f827c83b75cf5884ecfb6249a664ce6f091bfc57 | b18624d2202a29548008711ec2abc93d017bd605 | refs/heads/daal_2017_beta | 2020-12-28T19:08:39.038346 | 2016-04-15T17:02:24 | 2016-04-15T17:02:24 | 56,404,044 | 0 | 1 | null | 2016-04-16T20:26:14 | 2016-04-16T20:26:14 | null | UTF-8 | C++ | false | false | 1,130 | cpp | /* file: low_order_moments_csr_sum_online_fpt_dispatcher.cpp */
/*******************************************************************************
* Copyright 2014-2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
add7c52b90657d83cd3f9a99ae0e4f382f0cd746 | 2fcee87709417717620d2ca4131f96e29c0bc320 | /Codeforces/codeforcs_304_A.cpp | d4f96d6ca408959c1fc7ca965726baf31d1a8f17 | [] | no_license | Jaminur-Rashid/Problem-Solving | 7b502b03c5eea180282adcaad1b74ab526c92f12 | c651c9e810dba6a8f4b1ece6a3c27554d4a49ac0 | refs/heads/master | 2023-07-27T15:22:14.744541 | 2021-09-09T12:13:13 | 2021-09-09T12:13:13 | 404,700,331 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include<bits/stdc++.h>
#include<cstdio>
using namespace std;
int main(){
long long int k,n,m,sum,borrow;
int i;
scanf("%lld %lld %lld",&k,&n,&m);
sum=0;
for( i=1;i<=m;i++){
sum=sum+k*i;
}
borrow=sum-n;
if(sum<=n){
printf("0\n");
}
else{
printf("%lld\n",borrow);
}
return 0;
}
| [
"jaminurrashid21@gmail.com"
] | jaminurrashid21@gmail.com |
1290dbfd7821b1ac20259d5ec056d22c49d20163 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/07/71c2925db509c4/main.cpp | bf3163ffead991abcdf24832e21b2876bee66c95 | [] | 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 | 2,672 | cpp | #include <iostream>
#include <vector>
#include <deque>
#include <type_traits>
namespace detail
{
template<class>
struct sfinae_true : std::true_type{};
template<class T, class A0>
static auto test_reserve(int)
->sfinae_true<decltype(std::declval<T>().reserve(std::declval<A0>()))>;
templat... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
9cd7404325c75813ccaa3862a8219bfcd7791a60 | 031009bf00a8d7cd564e0f768ff3649907bd5b65 | /TorrentBuild_CPPApp.cpp | 2a3edb79ce5a5898c1c7b18e03a5913e28b1b597 | [] | no_license | usertex/autov | 237ab3b655be2dffcb7292cd212fe2b6d95907a7 | b470a96072484afe73ab0ae6ab7096970e34d973 | refs/heads/master | 2020-04-19T02:45:34.548955 | 2006-07-03T01:37:24 | 2006-07-03T01:37:24 | 67,372,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | //---------------------------------------------------------------------------
//
// Name: TorrentBuild_CPPApp.cpp
// Author: Harold Feit
// Created: 5/19/2006 11:09:52 AM
// Description:
//
//---------------------------------------------------------------------------
#include "TorrentBuild_CP... | [
"DreadWingKnight@users.noreply.github.com"
] | DreadWingKnight@users.noreply.github.com |
ecd3969133227a7f1f46f4aef653bf1a7fa745f5 | 799f7938856a320423625c6a6a3881eacdd0e039 | /mlir/include/mlir/Dialect/PDL/IR/PDLTypes.h | a9028f3d597208abb2a99147bbe67ace2923aae0 | [
"LLVM-exception",
"Apache-2.0"
] | permissive | shabalind/llvm-project | 3b90d1d8f140efe1b4f32390f68218c02c95d474 | d06e94031bcdfa43512bf7b0cdfd4b4bad3ca4e1 | refs/heads/main | 2022-10-18T04:13:17.818838 | 2021-02-04T13:06:43 | 2021-02-04T14:23:33 | 237,532,515 | 0 | 0 | Apache-2.0 | 2020-01-31T23:17:24 | 2020-01-31T23:17:23 | null | UTF-8 | C++ | false | false | 946 | h | //===- PDLTypes.h - Pattern Descriptor Language Types -----------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"riddleriver@gmail.com"
] | riddleriver@gmail.com |
64fc762f8510fbed031701fed23a7b4bafcbc161 | cc8ba0ab3dbc3fb63b6279418b51eae4c76e1b63 | /arm_o/djournaljobavp.cpp | 5a46ee3ff30e2eced9eb6601a7bc99e363cb492f | [] | no_license | levdikandrey/DataCollector | 2c08e34277787fee53d407b8b401f14e58a974da | 7a79029c7936c26c2d2a4d1396a0d996de9ee2ea | refs/heads/master | 2021-06-26T12:37:02.206691 | 2021-06-10T11:03:54 | 2021-06-10T11:03:54 | 229,206,596 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,112 | cpp | #include "djournaljobavp.h"
#include "ui_d_journaljobavp.h"
#include "mainwindow.h"
#include <QSqlDatabase>
#include <QSqlError>
#include <QTableWidget>
#include <QDebug>
#include <QMessageBox>
extern QSqlDatabase db;
//=========================================================
DJournalJobAVP::DJournalJobAVP(QWidget *... | [
"a.levdik@grfc.ru"
] | a.levdik@grfc.ru |
eeb090df6436d903914faed5195003bd9805a9b8 | 8b682b91b3d06afc403de23bf2c93c9ceacbeab7 | /pol-core/clib/dirfunc.h | 6cdac86977cbae1ad7675c87d14548bde1853a8f | [] | no_license | jagarop/POL_099b | 1803f3e369c2c1500f601f736059fe2908da3711 | 6a5df8893b6f38ff57a42412420813f3a3b83227 | refs/heads/master | 2021-07-16T16:33:19.905934 | 2015-01-08T01:44:03 | 2015-01-08T01:44:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | h | #ifndef __DIRFUNC_H
#define __DIRFUNC_H
#ifdef _MSC_VER
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#define MAXDRIVE _MAX_DRIVE
#define MAXDIR _MAX_DIR
#define MAXFILE _MAX_FNAME
#define MAXPATH _MAX_PATH
#define MAXEXT _MAX_EXT
#else
#ifndef __DIR_H
#include <dir.h>
#endif
#endif
name... | [
"necr0potenc3@users.noreply.github.com"
] | necr0potenc3@users.noreply.github.com |
968049e25a9f5f91e97bae12e952b808f32d03a4 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /vpc/include/tencentcloud/vpc/v20170312/model/Route.h | 1c4e09b248945601713f53ee7da24cba8a13a54e | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 19,260 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
fe35aa90acc61eed7e2906408de1fc323602f7f9 | 6d5767fba2bc0d74ca2d7f5efecef86a07705453 | /tests/ordenar_3_numeros_v3.cc | 90fc8f08d2cdd84467b663e59d94f89bf610f94d | [] | no_license | pauek/ccjs | d4a4798a062e53506df8f257fdf91ff1bd19b9f2 | 8f2bb31c72463ef700864f9349ceecc3217a65e3 | refs/heads/master | 2020-06-02T11:50:59.824402 | 2011-10-26T21:20:42 | 2011-10-26T21:20:42 | 2,606,216 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cc | //
// Escribe de mayor a menor tres números entrados
// por el teclado
//
#include <iostream>
using namespace std;
int main() {
int a, b, c, tmp;
cin >> a >> b >> c;
if (a < b) {
tmp = a;
a = b;
b = tmp;
}
if (a < c) {
tmp = a;
a = c;
c = tmp;
}
if (b < c) {
tmp = b;
... | [
"pau.fernandez@upc.edu"
] | pau.fernandez@upc.edu |
175621d95a4d86bedc405cdd397855321956e97b | db7148c33aabad259c9e1acafdf6e5c49b627d46 | /Tests/Armory/build_test_game/osx-build/Sources/include/kha/audio2/AudioChannel.h | 2df801adcee113804dd857cc60da3fd1a52d418a | [] | no_license | templeblock/Animations | 18472430af796d32e3f0c9dd2df1058fdb241846 | e986fa2249b998889fad78cac6ff3cc70ad196f0 | refs/heads/master | 2020-04-23T01:23:44.200377 | 2018-06-07T14:33:43 | 2018-06-07T14:33:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,561 | h | // Generated by Haxe 3.4.4
#ifndef INCLUDED_kha_audio2_AudioChannel
#define INCLUDED_kha_audio2_AudioChannel
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_kha_audio1_AudioChannel
#include <kha/audio1/AudioChannel.h>
#endif
HX_DECLARE_CLASS2(kha,arrays,Float32ArrayPrivate)
HX_DECLARE_CLASS2(kha,audio1,Aud... | [
"neverliberty@gmail.com"
] | neverliberty@gmail.com |
56b0b100590bb26c21557bc88608772a8024a59a | 54e6cdf04c19da9815c3d939be2fea408cc82cc7 | /game_logic_test/src/frenzy_spell_test_suite.cpp | de83e0547a2214c5ede1f35492b9fddc2cbf1f2d | [] | no_license | andyprowl/snake-overflow | 0ef73f799e6c2ade25af7c9936da94ea3fa36b29 | 027b64ccb2562b5253e89df29bd42b61185b9145 | refs/heads/master | 2021-01-13T02:08:34.352229 | 2015-04-15T21:28:21 | 2015-04-15T21:28:21 | 32,992,332 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,532 | cpp | #include "stdafx.hpp"
#include "snake_overflow/frenzy_spell.hpp"
#include "snake_overflow/testing/cube_terrain_game_fixture.hpp"
#include "util/repeat.hpp"
namespace snake_overflow { namespace testing
{
using ::testing::Eq;
class FrenzySpell : public CubeTerrainGameFixture
{
protected:
virtual void SetUp(... | [
"andy.prowl@gmail.com"
] | andy.prowl@gmail.com |
e61d1b70ebe7ef465e0ad883c18c3b5ef4c1c504 | ee3b729491915834f69ea4f1e06b0221b81a4c14 | /libraries/DHT_sensor_library/examples/DHT_Unified_Sensor/Programa_ejemplo_esp_8266_STA.ino.ino | 426fe6f62a98ce6b8a5b5eac3b8a6cde117f20d4 | [] | no_license | LopLuAl/Arduino-Clase | 64fa01d31f236d69b76fe102809609205aba177a | ed96b004114cf52f9f39e19195edb1ebf827253b | refs/heads/master | 2023-03-31T08:57:06.360551 | 2021-04-06T00:48:32 | 2021-04-06T00:48:32 | 346,533,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | ino | #include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
const char *ssid_STA = "Fibertel WiFi017 2.4GHz";
const char *password_STA = "0102017365";
ESP8266WebServer server(80);
void setup() {
Serial.begin(115200);
delay(10);
Serial.println();
WiFi.mode(WIFI_STA);
WiFi.begin(ssid_STA, password_STA);
while (WiFi.status() !... | [
"lucianlopez@frba.utn.edu.ar"
] | lucianlopez@frba.utn.edu.ar |
4c8f2f7fb4cd1d524bf00c1fac2c87bc1d55191c | f1dcd8cf35663b3affd3e19d32ea27355ad93fd2 | /libthread_safe/include/thread_safe/gnu/c++/9/tr1/hashtable.h | 82862edbc9d7ecbfc22a8f7b6427c5149bc36e01 | [] | no_license | mgood7123/greenThreads | eb65665b9403cfc51c68dfd95e1ebac87eed96cd | 891ac222fa6eb6bcbd44d51d370ac1d059d6a50d | refs/heads/master | 2020-08-28T21:59:45.993320 | 2019-11-27T12:31:56 | 2019-11-27T12:31:56 | 217,831,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,562 | h | // TR1 hashtable.h header -*- C++ -*-
// Copyright (C) 2007-2019 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Found... | [
"smallville7123"
] | smallville7123 |
3c5012918a8971218428dedafeec6eee08a52c64 | fb9072766af958a8f977f9368bfed536fab2d681 | /Upper/Upper/ParaSetDlg.h | eaa45417b51319958e0ce8d13d7a45beb451c5de | [] | no_license | MaJLhdkj/HD3025 | 63def956b8f6f0e529146354e0d12b98ce05bc88 | 24c8041c0d91202bde21115cd43575c5528d8509 | refs/heads/master | 2021-01-25T10:16:16.280906 | 2014-01-21T04:16:57 | 2014-01-21T04:16:57 | 16,092,472 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 517 | h | #pragma once
#include "SizeAdjust.h"
// CParaSetDlg 对话框
class CParaSetDlg : public CDialogEx
{
DECLARE_DYNAMIC(CParaSetDlg)
public:
CParaSetDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CParaSetDlg();
// 对话框数据
enum { IDD = IDD_DLG_PARASET };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // ... | [
"yunxiangtju@163.com"
] | yunxiangtju@163.com |
232043d7c8c149c26d8fd0f2d0f30b251df5d3a0 | 9e2dbb3f8205f8bd0b3b5d79261182e9fb4c32c4 | /C++ codes/Examples and Labs/products.cpp | 2fdb67625f47abad4a6e84f30dc270078baa0214 | [] | no_license | melody40/monorepo | 87129f934066cd1e162d578f8e4950e12b0fa54d | fc5b7c8da70534e69d55770adebf308fd41c02b7 | refs/heads/master | 2022-12-22T22:49:01.277092 | 2020-09-21T17:20:43 | 2020-09-21T18:35:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
int main ()
{
int a[100];
int b;
cin>> b;
int i;
int j=0;
for ( i=1;i<=b;i++ )
{
if ( b%i==0 )
{
a[j] = i;
j++;
}
}
for ( i=0;i<j;... | [
"torshobuet@gmail.com"
] | torshobuet@gmail.com |
4332373ca62a361a61b07e191562e9119a943486 | a843cc668ce1b67a7b88a6dd257567741804165a | /lv3/path/std/works/differtest.cpp | 8a3740f98d9d80a7f4deb25bccea99ee0b4bdfe9 | [] | no_license | yuxaij/noip_ro | 53aff24527550ae432d1eaf5c41238f7149a070a | 661636f5b829255b5d2019225b9fb28d0fde7b51 | refs/heads/master | 2022-03-06T15:05:06.137717 | 2019-11-06T02:14:12 | 2019-11-06T02:14:12 | 218,312,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include <cstdio>
#include <cstdlib>
#include <iostream>
#include <algorithm>
using namespace std;
int a[5000010];
int cnt = 0;
int main() {
int x;
while(scanf("%d", &x) != EOF)
a[++cnt] = x;
sort(a + 1, a + cnt + 1);
int diffs = unique(a + 1, a + cnt + 1) - a - 1;
cout << diffs << endl;... | [
"yuxaij@gmail.com"
] | yuxaij@gmail.com |
26052ed065c5987ba65cebbc3635136ff27ace70 | df88fe7229c70e2fdc7f1a138545eca51930d813 | /src/gemm/cblas.cpp | 76b20a6b5f4406800a688d4810e8ed6397ef4cae | [] | no_license | simongdg/microbench | 5a3a3436ac7b5d17448f2fee7b56040a28f358a1 | 135c6a89a53c3697a929c96d53686f88b8487370 | refs/heads/master | 2020-03-19T21:31:58.834979 | 2018-06-06T21:33:37 | 2018-06-06T21:33:37 | 112,533,314 | 0 | 0 | null | 2017-11-29T22:06:00 | 2017-11-29T22:05:59 | null | UTF-8 | C++ | false | false | 4,753 | cpp | #include <benchmark/benchmark.h>
#include <complex>
#include <iostream>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <cblas.h>
#include "utils/utils.hpp"
#include "gemm/args.hpp"
#include "gemm/utils.hpp"
template <typename T>
static void cblas_gemm(const CBLAS_TRANSPOSE Tra... | [
"abduld@wolfram.com"
] | abduld@wolfram.com |
b499bc262329d1a20a5da457a90cd44243ebfa67 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/bridge/jsc/BridgeJSC.h | d397f87375f9d33e55ecd3086bea64cd5102032c | [
"BSL-1.0",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 4,590 | h | /*
* Copyright (C) 2003, 2008, 2009 Apple Inc. All rights reserved.
* Copyright 2010, The Android Open Source Project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must ret... | [
"adzhou@hp.com"
] | adzhou@hp.com |
24e824284ca717431d0418e5c2f679af43cedbd1 | 07d1ac2af08007d940a108b15c3fdf5413141864 | /test.cpp | f7341f88709852096ce9a88e29674a74de3cb0c4 | [] | no_license | a798447431/Practice-Code | 16edaac0abb2294282c8aeccc7204e8d4a1fda83 | 24b78c99117f700fc5860e28552914d10f89b03c | refs/heads/master | 2020-12-27T10:17:08.148925 | 2020-02-03T01:58:39 | 2020-02-03T01:58:39 | 237,865,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | /*************************************************************************
> File Name: test.cpp
> Author: suziteng
> Mail: 253604653@qq.com
> Created Time: 2019年05月18日 星期六 16时44分33秒
************************************************************************/
#include<gtest/gtest.h>
int add(int a,int b){
return a... | [
"253604653@qq.com"
] | 253604653@qq.com |
30ce8b489e27c285d3dbbde3bd8657d50549a4a7 | 7ebf122cf52f0412cd41b738382d7f7ebe8d1653 | /ObjectLearn/src/Visualisation/GraphicsBase.cpp | 6174cf1fa483f0019675a341e85633932b5b73d0 | [] | no_license | osushkov/phd_src | bcb5e75ab839575dea07ef70a7d308dc3e649d04 | 1eb49671977442df4b17b332f8d345e751e4df99 | refs/heads/master | 2020-12-04T11:19:56.108003 | 2016-08-23T11:31:47 | 2016-08-23T11:31:47 | 66,361,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,928 | cpp | /*
* GraphicsBase.cpp
*
* Created on: 22/06/2009
* Author: osushkov
*/
#include "GraphicsBase.h"
#include <iostream>
#include <GL/gl.h>
#include <GL/glu.h>
#include <SDL/SDL.h>
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480
GraphicsBase& GraphicsBase::instance(void){
static GraphicsBase graphic... | [
"osushkov@gmail.com"
] | osushkov@gmail.com |
4f26ebc665fb9f99dbe94ee5d13f93c69a351adb | 4144b8166e8563278d8144244da2dc16338a9d1d | /testing/sleeper/main.cpp | b2b5cd373d5b7e1fbb558eb0edc04414a47ac0f5 | [
"Apache-2.0"
] | permissive | wikipedia2008/roofline | ed37815ca2bb453b112ac69f27ec37172cd4dfe8 | ad6c63c021d82891b7ac159c4a0b97f25e59bbe3 | refs/heads/master | 2023-08-08T15:09:37.938010 | 2020-10-26T14:24:32 | 2020-10-26T14:24:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include<iostream>
#include<chrono>
#include<thread>
int main(int argc, char* argv[]){
std::cout << "Hello, I'm feeling sleepy" << std::endl;
std::cout << "Yahwn" << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(5000));
std::cout << "I'm awake!" << std::endl;
return 0;
}
| [
"agrant@arm.com"
] | agrant@arm.com |
59325fc680c8e1a1b4226a21f2256e0742157896 | 6b59885c4a69f2d40f0148e9793636a45428f23b | /DungeonCrawler/Graphics/AnimatedEmitter.h | fbbad68289fd3905a15df3be231da0fc8234141a | [] | no_license | StevenCederrand/Dungeon-Crawler | cbc8e215e8e7756a9a931be47a7fa3203383dd9e | 5340a5843d38356cb00064c5e2a5f1f246977b48 | refs/heads/master | 2022-01-08T17:23:20.429813 | 2019-05-28T11:47:50 | 2019-05-28T11:47:50 | 178,849,264 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,469 | h | #ifndef _ANIMATEDEMITTER_H
#define _ANIMATEDEMITTER_H
#include<GLM/glm.hpp>
#include <vector>
#include <Graphics/GLinit.h>
#define MAX_PARTICLES 120
class GameObject;
class AnimatedEmitter {
public:
AnimatedEmitter(GLinit* glInit, const std::string& spritesheet, unsigned pxWidth, unsigned pxHeight, unsigned fra... | [
"AlexanderAlsvold@hotmail.se"
] | AlexanderAlsvold@hotmail.se |
4ed12bcce4175fb51cdf8366a1e3686cd76b138c | 4a522703055877dc7e3df2db0507410d44c0f86b | /src/c/phonescope/gui.h | f516fd9bb53e19aa18f599afe427f0a1451be97d | [] | no_license | sbarman/PhoneSensor | ed98a6668e0d4f4af9c7604358328e7a0a0b14c2 | 657b2803f3a5ba1f37150f68ec6296eaa9202e12 | refs/heads/master | 2016-09-06T14:39:23.830086 | 2010-05-15T22:10:20 | 2010-05-15T22:10:20 | 596,459 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | h | #ifndef GUI
#define GUI
#include <gtk/gtk.h>
#include "scope.h"
#include "datastream.h"
// variables for drawing area
class DrawingAreaVars {
public:
DrawingAreaVars(short *v, int vc, int ts, int as, int o);
short* values;
int values_count;
int time_scale;
int ampl_scale;
int cur_position;
int offset;
pthread... | [
"sbarman@eecs.berkeley.edu"
] | sbarman@eecs.berkeley.edu |
7ebc2013c8ebc5c26504f8cd86a34106f4b7c2d2 | c93f6ad566a66c0b16c9974b2cbfc44a27f713c4 | /Rogy/Engine/shading/texture.h | 877c2fc6e982782fadf4b8450dfa055b1843d774 | [
"Apache-2.0"
] | permissive | Tekh-ops/Rogy-Engine- | 3152ebb79b1a1a6270d46c3d130945ba16129f4a | fa85d501b813c6492046e15dce50521f817a244d | refs/heads/main | 2023-07-19T19:09:55.707860 | 2021-09-05T20:55:47 | 2021-09-05T20:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | h | #ifndef TEXTURE_H
#define TEXTURE_H
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
#include <GL\glew.h>
class Texture
{
public:
GLuint texID, texWidth, texHeight, texComponents;
GLfloat anisoFilterLevel;
GLenum texType, texInternalFormat, te... | [
"43178999+FOLOME@users.noreply.github.com"
] | 43178999+FOLOME@users.noreply.github.com |
0ab01138e40a5c13ea6645c33d79d9b1eb4ec9c5 | 7b49d69735eee6602ce328cfcb719024446fe2bb | /exnerFoam/varianceTransfers/risingBubbleOneD/oneFluid/init_0/theta.stable | 13be33ff399366bb4e04ac1a5f7b38cabe3f906c | [] | no_license | statisdisc/partitionedShallowWater | 7ced6febdae948b222e18039ad622b5d7f0813a4 | 52422a24a9e3cdbe7c0f8f28c2e8d3f3e1257ca7 | refs/heads/master | 2021-06-22T16:33:21.060529 | 2020-08-21T08:39:11 | 2020-08-21T08:39:11 | 101,410,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,259 | stable | /*--------------------------------*- C++ -*----------------------------------*| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: dev |
| ... | [
"will.a.m@hotmail.co.uk"
] | will.a.m@hotmail.co.uk |
fc5cfb9109051b933bbda44f0bed16a10dc5b8bb | 7b46f4140b078c5cb7954b6735fff6a31e2e7751 | /torch/csrc/api/include/torch/data/dataloader.h | 006ca19e29a858770f4c8993551f501512ff5fea | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | jcjohnson/pytorch | f704a5a602f54f6074f6b49d1696f30e05dea429 | ab253c2bf17747a396c12929eaee9d379bb116c4 | refs/heads/master | 2020-04-02T15:36:09.877841 | 2018-10-24T21:57:42 | 2018-10-24T22:02:40 | 101,438,891 | 8 | 2 | NOASSERTION | 2018-10-24T21:55:49 | 2017-08-25T20:13:19 | Python | UTF-8 | C++ | false | false | 10,027 | h | #pragma once
#include <torch/data/dataloader_options.h>
#include <torch/data/detail/data_shuttle.h>
#include <torch/data/detail/sequencers.h>
#include <torch/data/iterator.h>
#include <torch/data/samplers/random.h>
#include <torch/data/worker_exception.h>
#include <torch/tensor.h>
#include <torch/csrc/utils/memory.h>... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
fd6acde6e055ad132d5c1432866b20a63ec3b78f | 387a3b2d6b3e70d520d6cb4acf773469d743f88b | /estructuras.h | 65721768ea2d26960848c23595cf93bd05b82f63 | [] | no_license | mau-arrieta244/Proyecto_ED_BabiesFactory | 1d92c5e152642b6b5e7ada3f8f07e9d25338077a | 348473e1afa9ad5f49fed05aed68f6f167b49214 | refs/heads/main | 2023-05-05T17:55:23.271547 | 2021-05-05T04:23:02 | 2021-05-05T04:23:02 | 363,554,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | h | #include <cstdlib>
#include <iostream>
#include <algorithm>
#include <iostream>
#include <ctime>
#include <unistd.h>
#include <Windows.h>
#include <unistd.h>
using namespace std;
//Prototipos de estructuras
struct Sentimiento;
struct FabricaSentimiento;
struct Nodo;
struct Cola;
// estructura nodo par... | [
"gabrielfallas0803@gmail.com"
] | gabrielfallas0803@gmail.com |
412fd8147284e74a34c54433df11af19a38e1913 | 7d58aebdb27071c04f7e26265bb12138b2583f2b | /src/csv2maropu.cpp | bcc1edbf1cb7bbdca69ad47c030ffc24c1de77fb | [
"Apache-2.0"
] | permissive | dcrankshaw/FastPFor | 02053f3911ee901691c38b23de9d43c465ef10f4 | 8b536c5ff66fac919d49af46f6dfe906f65b85cf | refs/heads/master | 2020-12-24T10:53:33.287125 | 2013-01-10T15:27:22 | 2013-01-10T15:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,648 | cpp | /**
* This is code is released under the
* Apache License Version 2.0 http://www.apache.org/licenses/.
*
* (c) Daniel Lemire, http://lemire.me/en/
*/
#include "csv.h"
#include "externalvector.h"
#include "util.h"
void print(externalvector &ev) {
for (size_t i = 0; i < ev.size(); ++i) {
vector < uint3... | [
"lemire@gmail.com"
] | lemire@gmail.com |
fcc9f5d31b82739262401e4e0416901b5c031aca | 99293a5098087565587e5b6904c240837f1aa33a | /17-7-22/b.cpp | 013c45c2d6dc3e37c72b51e367f16a25fbbe283a | [] | no_license | 3013216006/ACM | 1a97b571a0d464c27733ed6660438e55c7085d6a | bd37587e9a079a0ade0c6fc29b8d522eb39f8973 | refs/heads/master | 2020-05-21T14:32:43.810301 | 2017-08-24T13:23:03 | 2017-08-24T13:23:03 | 84,624,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | cpp | #include <iostream>
#include <algorithm>
#include <stdio.h>
#include <string.h>
using namespace std;
struct Node{
long long x,y;
}a[3],b[3];
long long xmul(Node a,Node b,Node c){
return (b.x-a.x)*(c.y-a.y)-(c.x-a.x)*(b.y-a.y);
}
long long myabs(long long x){
if(x<0) return -x;
return x;
}
void swap(){
for(int i... | [
"fuxuzhoude@126.com"
] | fuxuzhoude@126.com |
323b01474beb3d0d0c0e8026f9f44b077d22130e | b85ef32050f35569f89678b9a93fb95a4f1fc30d | /common/protobuf2.5.0/PROTOBUF-2.5.0RC1/src/google/protobuf/compiler/cpp/cpp_enum.h | c04669b591ca266b8af963a0c0c4da6d15816753 | [
"LicenseRef-scancode-protobuf"
] | permissive | zjutjsj1004/star | 46e4d7d9dc6fe695aabc258e134172e64e6003a6 | 2ed3401841da816d081446c52697fc9a40a799c6 | refs/heads/master | 2021-01-10T01:50:40.981295 | 2016-01-11T05:43:32 | 2016-01-11T05:43:32 | 45,163,605 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,828 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * ... | [
"18767122273@163.com"
] | 18767122273@163.com |
94d7607e67093d1c122048468c25fb1452e20a84 | 5902fa0857cd4f722a9663bbd61aa0895b9f8dea | /BMIG-5101-SequencesAsBioInformation/Blast/ncbi-blast-2.10.0+-src/c++/include/util/range_coll.hpp | 605da6d159abbca972f23d50f7da26e9280b849a | [] | no_license | thegrapesofwrath/spring-2020 | 1b38d45fa44fcdc78dcecfb3b221107b97ceff9c | f90fcde64d83c04e55f9b421d20f274427cbe1c8 | refs/heads/main | 2023-01-23T13:35:05.394076 | 2020-12-08T21:40:42 | 2020-12-08T21:40:42 | 319,763,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:0a2ea745aaf9cc0ea44343db5fc91ef57af30c458ff000d9d60a5d2f6e7c8e27
size 13854
| [
"shawn-hartley@sbcglobal.net"
] | shawn-hartley@sbcglobal.net |
1ef5a762746f5c549615a777b9525d1295bf3259 | fb49ea78ff9dab6bcb2ecf5ffd55392e040d804a | /VECTOR2.h | 8878f3d4c50c32990c794286442748c859e07a68 | [] | no_license | senrixMOMO/tetris | e8a6993831e1d03efd430b07841a55b207b12e35 | aa2cd26dcc5070253ffc890d81f2628155c3aa9f | refs/heads/master | 2020-05-20T02:34:23.382448 | 2019-05-07T06:33:14 | 2019-05-07T06:33:14 | 185,335,890 | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 968 | h | #pragma once
class VECTOR2
{
public:
VECTOR2();
VECTOR2(int x, int y);
~VECTOR2();
int x;
int y;
//γόZq
VECTOR2& operator = (const VECTOR2& vec);
//Y¦Zq
int& operator[](int i);
//δrZq
bool operator==(const VECTOR2& vec) const;
bool operator!=(const VECTOR2& vec) const;
//PZq
... | [
"senri990102@icloud.com"
] | senri990102@icloud.com |
d4ec3d7d4bb7923a1ca802555e69ffc94a84ae3c | dd0c733f8da13fc34303e3a8fba7f1811bbca4c4 | /P10-1-3.cpp | 157083ca9afcfe735ba96c7327130576e3970891 | [] | no_license | byh1321/CppExamplesandProblems | e43706e55e43935f9e4237775ff509a6410090a8 | fe98f81f545101a41d8402ea07390924293c1caa | refs/heads/master | 2021-01-11T08:23:45.294541 | 2016-12-18T07:27:06 | 2016-12-18T07:27:06 | 76,769,036 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include<iostream>
using namespace std;
class Point
{
private:
int xpos, ypos;
public:
Point(int x = 0, int y = 0) : xpos(x), ypos(y)
{
//empty
}
void ShowPosition() const
{
cout << '[' << xpos << "," << ypos << ']' << endl;
}
friend bool operator==(const Point &ref1, const Point &ref2)
{
if (ref1.xpos ... | [
"byh1321@naver.com"
] | byh1321@naver.com |
847fcc6409999ff283d1d8e9e4a2a796b2dd2de4 | 1259dcae8bcadf78d30d83976860510dd407502d | /lib/utils/macros.hpp | cdba4cb91b01867c657855a55bd502b4fcd476be | [
"MIT"
] | permissive | ccrisrober/monkeybrushplusplus | de83c6fc7719d9adb8cf42867da15560462c0b3f | 2bccca097402ff1f5344e356f06de19c8c70065b | refs/heads/master | 2021-06-13T23:15:59.424708 | 2017-02-11T13:06:26 | 2017-02-11T13:06:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,008 | hpp | /*
* Copyright (c) 2016 maldicion069
*
* Authors: Cristian Rodríguez Bernal <ccrisrober@gmail.com>
*
* This file is part of MonkeyBrushPlusPlus
* <https://github.com/maldicion069/monkeybrushplusplus>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser... | [
"ccrisrober@gmail.com"
] | ccrisrober@gmail.com |
0e50c5f197c88f75546102c937fae1f712031c08 | 4f32a78f56dd0bb9a16239782ed28074a2ff66ec | /Algorithmic Toolbox/Week2/01_introduction_starter_files/fibonacci/Solution/fibonacci.cpp | 9b1c3237eb3b902869c983fbc48e01613d1512a9 | [] | no_license | drumilmahajan/Data-Structures-and-Algorithms---Coursera | 98d2151c1ff67404270d8e28bf411fcef3e5cce4 | 7c11f16e1c4b03dc6a1dfc8aeef11d042705c9fb | refs/heads/master | 2020-05-29T08:47:58.561716 | 2016-11-18T18:34:20 | 2016-11-18T18:34:20 | 70,198,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include <iostream>
long calc_fib(int n) {
long a=0;
long b=1;
long c =0;
if(n==0)
return 0;
if(n==1)
return 1;
else{
for(int i = 2 ; i<=n ; i++)
{
c=a+b;
a=b;
b=c;
}
return c;
}
}
int main() {
int n = 0;
std::cin >> n;
std:... | [
"dm3804@nyu.edu"
] | dm3804@nyu.edu |
da157ade55b1853be0ef5a9d057a82edafb36b48 | c45aec0456060e4bec9dafaee1146535112ccc18 | /twochannelaltimeter.h | bf3a8ec6eb2b80d585d076fc77af3955d4c9fc0f | [] | no_license | henrich14/RadioAltimeter | 16fc70b03a839e6a605b4c61445701abede2ea3c | ee7a0bfd387978d5a1dd43fdbfa9c693e4103c77 | refs/heads/master | 2016-08-11T00:39:33.365126 | 2016-01-07T16:01:39 | 2016-01-07T16:01:39 | 49,213,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | h | #ifndef TWOCHANNELALTIMETER_H
#define TWOCHANNELALTIMETER_H
#include <QWidget>
#include <QtCore>
#include <QtGui>
#include <qwt_plot.h>
#include <qwt_plot_canvas.h>
#include <qwt_plot_curve.h>
#include <qwt_legend.h>
#include <qwt_plot_grid.h>
#include <muParser.h>
namespace Ui {
class TwoChannelAltimeter;
}
class T... | [
"h.glaseropitz@gmail.com"
] | h.glaseropitz@gmail.com |
2d8ef011a9b1f685b88d9fa70cb9f924668622c7 | 01de657b2ff7f2d37806c58299e3356ee140545a | /src/material/material.cpp | 34e53b13c5286e558f1cd1b4031c0c39ab168daa | [] | no_license | Throbbing/lsrender | 75bb26b74917bf9bd860da709c5b34ab1af8d9c0 | 03f58652be97abba0f947064bace00a70c48a4f9 | refs/heads/master | 2020-04-04T00:15:37.082032 | 2020-01-18T08:06:53 | 2020-01-18T08:06:53 | 155,646,511 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include<material/material.h>
#include<record/record.h>
#include<spectrum/spectrum.h>
#include<scatter/scatter.h>
ls::Spectrum ls::Material::scatteringFactor(ls_Param_In const ScatteringRecord & sr, ls_Param_In const IntersectionRecord & ir)
{
if (sr.scatterFlag & EScattering_Reflection)
return reflectance(ir);
els... | [
"1015640199@qq.com"
] | 1015640199@qq.com |
804f4e07624e8aaed38bef5898ee12363516dcf5 | c54a93c3356de22f32bf5c6e92f051391046734a | /platform_release/windows/adobe/future/widgets/headers/platform_optional_panel.hpp | 74955c1996ebf452aaa3e9cd313aaf1281b46021 | [] | no_license | tfiner/adobe_asl | 8d2eb6ae715b29217e411001b946914ff23b5f59 | d7d1c2af5e0cf15fa8a170bb8d725dc935796c8a | refs/heads/master | 2020-12-24T15:49:13.250941 | 2012-07-23T05:49:27 | 2012-07-23T05:49:27 | 4,744,424 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | hpp | /*
Copyright 2005-2007 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html)
*/
/****************************************************************************************************/
#ifndef ADOBE_WIDGET_OPT... | [
"github@tfiner.fastmail.fm"
] | github@tfiner.fastmail.fm |
ee838ba76c28d9c85197a4154cacbf3120c0a86f | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/21gbd4mgnulhm130/2013-04-12T09-24-52.259+0200/sandbox/olfrik/apps/t5Graphs/t5Graphs.cpp | 66e24a6c8145c683aeb59c3add70a39b25229289 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,168 | cpp | // ==========================================================================
// t5Graphs
// ==========================================================================
// Copyright (c) 2006-2012, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and use in source and ... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
09d0828feff1fa348b9937c79cc3956a283aa5d0 | 57918b8f0558a69f93b28612f7cb1c8851ad90a3 | /diablo/Events.h | f456f2bc0ce9c79d335a58042924ecf51b625dfe | [] | no_license | brucelevis/diabloraid | db6cf0ad41bbd7189ef9f2a6bb109f710ac0aff9 | bcf2f08818a8e63eeff29b747e38e01f03d72635 | refs/heads/master | 2021-01-02T09:34:12.926381 | 2013-11-30T10:21:39 | 2013-11-30T10:21:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | //
// Events.h
// diablo
//
// Created by Kosuke Takami on 2013/09/30.
//
//
#ifndef __diablo__Events__
#define __diablo__Events__
#include <iostream>
#include "cocos2d.h"
#include "EventBase.h"
using namespace cocos2d;
class EventBase;
class Events : public CCArray{
bool _handling;
public:
static CCArray... | [
"takami.kosuke@dena.com"
] | takami.kosuke@dena.com |
aabbd6eeed16c6a1e97723157ac160942ff6d4a6 | 8c1068ceb38f9d26c95bf9d797d80280322a106b | /coding.cpp | de26fab3dd498c3150b04a38cb4906a05c74d9fa | [
"MIT"
] | permissive | ardacihaner/huffman_coder | 4ae3b651d69f79a9634fa12de16688f12173be52 | dd04a4591a27dba326d2fd4a9bce61a5ebf5ba16 | refs/heads/master | 2023-03-14T09:04:50.574756 | 2021-03-06T18:21:21 | 2021-03-06T18:21:21 | 345,160,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | cpp | #include <iostream>
#include "binary_tree.cpp"
using std::string;
/**
* decode() function takes two arguments, the first one is the encoding tree that is going to be used
* The second one is the encoded data.
*/
string decode(BinaryTree &tree, string input_string)
{
string ret_str = "";
treeNode *const roo... | [
"arda.cihaner@gmail.com"
] | arda.cihaner@gmail.com |
8d9263202c75b84738f5f73fd2df9f7741fb551c | 4a36e8a7f598bb910a1cef0732702828106d98ca | /Dragon/modules/python/py_operator.h | e5c3195de52c9db970f06e9b41f64527fef10548 | [
"BSD-2-Clause"
] | permissive | awesome-archive/Dragon | d5a5e737d63f71ba8b73306051aa9960d48e7447 | b35f9320909d07d138c2f6b345a4c24911f7c521 | refs/heads/master | 2023-08-21T09:07:58.238769 | 2019-03-20T09:01:37 | 2019-03-20T09:01:37 | 177,972,970 | 0 | 0 | BSD-2-Clause | 2020-01-13T03:40:54 | 2019-03-27T10:41:13 | C++ | UTF-8 | C++ | false | false | 1,764 | h | /*!
* Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
*
* Licensed under the BSD 2-Clause License.
* You should have received a copy of the BSD 2-Clause License
* along with the software. If not, See,
*
* <https://opensource.org/licenses/BSD-2-Clause>
*
* --------------------------------------------------... | [
"ting.pan@seetatech.com"
] | ting.pan@seetatech.com |
4176bd5beeef374bc125f457110b6beec9e1d666 | 2a789b765c29f1b4fbf7197356317c4704c9a4b7 | /arduino/Marlin_main.cpp | 8cd4acc2eef5c321406baa0e6d3191c8e6c404f1 | [] | no_license | zhou-peter/Q4maker | 968ed50abe3a1beeb305125e4d933a34cbc349db | f5cd7ba038a7c3085c801d2e704309ceebff24ee | refs/heads/master | 2022-02-14T14:49:56.137497 | 2019-07-29T10:24:58 | 2019-07-29T10:24:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277,024 | cpp | /**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*/
#include "Marlin.h"
#include "ultralcd.h" //display
#include "planner.h"
#include "stepper.h"
#include "endstops.h"
#include "temperature.h"
#include "cardreader.h"
#include "configuration_store.h"... | [
"tangqi@yuenjee.com"
] | tangqi@yuenjee.com |
2da9da095a7804e4f4b630b3f93ef30a99db88fb | fd6b7aa209a8ba367e1749f22a0cf3d9ee0a5b8f | /enkov_example.ino | 1de55f9af5e4d53862cba86b103ccddc08d1b351 | [] | no_license | claytonjeanette/enikovGui | 7227e6e90f3e4b4b115b53899668e7f8a097bcf1 | 115c669f5afa24651fbe697b0531a54bdfa3ae76 | refs/heads/master | 2016-09-12T22:39:53.501313 | 2016-05-19T01:40:10 | 2016-05-19T01:40:10 | 57,937,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,675 | ino | #include <SparkFunAutoDriver.h>
#include <SPI.h>
#include "SparkFunnotes.h"
// Test sketch for the L6470 AutoDriver library. This program instantiates three
// AutoDriver boards and uses them to play Jonathon Coulton's "Want You Gone" from
// the Portal 2 soundtrack. In a more general sense, it adds support for play... | [
"cjeanette@email.arizona.edu"
] | cjeanette@email.arizona.edu |
b95da96b345daf39e2fde2514327d5aae260dece | 83f0b29cbd5ac6a207da7e8831a7771f5bf9a659 | /RaTGL/PropertiesView.cpp | cdadad56f91e1d2ea181a7b48d4dbe27fc6e4d5e | [] | no_license | edikoz/RaTGL | da322b3134e27de8afb5b5814291ac52cfdd6287 | 9550c81887a2a29a2cb08b8482e38b8e7d76508a | refs/heads/master | 2020-06-12T21:16:38.024819 | 2020-02-20T19:53:12 | 2020-02-20T19:53:12 | 194,420,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,677 | cpp | #include "stdafx.h"
#include "PropertiesView.h"
#include "resource.h"
#include "ShaderText.h"
#include "PropertyView.h"
PropertiesView *PropertiesView::propertiesView = nullptr;
LRESULT CALLBACK PropertiesView::handleMessage(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
tagSCROLLINFO si;
switch (message)... | [
"drawwww@rambler.ru"
] | drawwww@rambler.ru |
3d030f1839e9cb6768d7863eb30ab099c7b3840b | c6d7421fbbf10b33ecc20c0824e7fde819ba76cc | /src/esp/scene/SceneGraph.cpp | 0fb2428886e004f059fda43faef55eb0fe4b510c | [
"MIT"
] | permissive | rakeshshrestha31/habitat-sim | f56f2156fae74c6f9ea8f0bd53871ccd12220044 | 5a304163319053ce47e9e31026323df3262f2f64 | refs/heads/master | 2020-04-29T02:10:38.320884 | 2019-07-23T00:04:00 | 2019-07-23T00:04:00 | 175,755,977 | 0 | 0 | MIT | 2019-03-15T05:41:01 | 2019-03-15T05:41:00 | null | UTF-8 | C++ | false | false | 1,589 | cpp | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "SceneGraph.h"
#include <Magnum/Math/Algorithms/GramSchmidt.h>
namespace esp {
namespace scene {
SceneGraph::SceneGraph()
: ro... | [
"msavva@fb.com"
] | msavva@fb.com |
a334e315f3137aac66b14391969531daa898f6a4 | 00e580809ee65edb00e6c75da8b3c558ba42833d | /seePlusia/Road.hpp | 388e875bc78fd001ae00e6398943ad367b1f891a | [] | no_license | barkotefuye/CS056 | dc0d9215795759b94bfe1ec3302e25530f359ccd | e4b35ad3a690271bc039b1b758b6d17c4409fa1f | refs/heads/master | 2020-04-21T04:25:07.316284 | 2019-03-04T11:29:15 | 2019-03-04T11:29:15 | 169,312,389 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | hpp | class Road {
private:
Location *m_a, *m_b; // endpoints of this road.
int m_days; // the number of days to travel this road.
public:
Road(Location*, Location*); // initialize attributes.
Location* get_end(Location*); // get the other end of this road.
int get_days(); // get the number of days to travel... | [
"barkotefuye@seattleacademy.org"
] | barkotefuye@seattleacademy.org |
50adb2f63442e675d66c1d7aad92701530f2522b | 04b95d4f9c4d2503d19685c548953c7ca6c7cdf0 | /include/Ogre/OgreEdgeListBuilder.h | 012410bcd709cc26f7649b4923d7adb608075f73 | [
"MIT"
] | permissive | Kanma/Ogre | f3fa67cedab75f30ab6f03d77d12c727a553397f | 21bf1fbbfd8ade12d8009c00940e136d78f21bea | refs/heads/master | 2021-01-25T06:37:10.501303 | 2014-05-08T13:07:32 | 2014-05-08T13:07:32 | 526,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,161 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | [
"philip.abbet@gmail.com"
] | philip.abbet@gmail.com |
d34ecc3ecaca3d7eee27641bc6f258c01bdec5ea | 962d13134dd48d6261e56828c8f69bfb575ff3e7 | /kernel/lib/crypto/global_prng.cpp | c9cef94aaa3effb8a88140e245bedb9f0a8fbc14 | [] | no_license | saltstar/smartnix | a61295a49450087a7640c76774f15fb38f07e950 | 8cb77436763db43f70dbe49ea035f5f7e29becac | refs/heads/master | 2021-01-17T21:23:58.604835 | 2019-12-27T01:21:38 | 2019-12-27T01:21:38 | 35,830,495 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,123 | cpp |
#include <lib/crypto/global_prng.h>
#include <assert.h>
#include <ctype.h>
#include <err.h>
#include <explicit-memory/bytes.h>
#include <fbl/algorithm.h>
#include <kernel/auto_lock.h>
#include <kernel/cmdline.h>
#include <kernel/mutex.h>
#include <lib/crypto/cryptolib.h>
#include <lib/crypto/entropy/collector.h>
#inc... | [
"376305680@qq.com"
] | 376305680@qq.com |
4fdd38a8975b99697b7862d7930fa069cbc5d8ca | 52532e524ea325b9938fe3766018d01d8cc79863 | /protobuf_gen/include/file_trans.pb.h | e942b1879b63e24adb479c37592cfd13e08220cd | [] | no_license | whiteJadeSoup/MsgSvr | 94e660bca66f96e92e5ff646cd1470c661b13b2a | 5af0587d22d8ea5f23367f6ca966d48db7c72615 | refs/heads/master | 2021-05-30T21:33:11.439565 | 2016-05-02T09:09:46 | 2016-05-02T09:09:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 9,593 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: file_trans.proto
#ifndef PROTOBUF_file_5ftrans_2eproto__INCLUDED
#define PROTOBUF_file_5ftrans_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3000000
#error This file was generated by ... | [
"dzshubin@live.com"
] | dzshubin@live.com |
947dd8040df0df76aeff5c70cd9f6390bef2032a | 4f8e66ebd1bc845ba011907c9fc7c6400dd7a6be | /SDL_Core/src/components/JSONHandler/src/RPC2ObjectsImpl/NsRPC2Communication/BasicCommunication/OnAppDeactivatedMarshaller.cpp | 89a0d842356ea47d01c6a9ff2c296dd23faeed6d | [] | no_license | zhanzhengxiang/smartdevicelink | 0145c304f28fdcebb67d36138a3a34249723ae28 | fbf304e5c3b0b269cf37d3ab22ee14166e7a110b | refs/heads/master | 2020-05-18T11:54:10.005784 | 2014-05-18T09:46:33 | 2014-05-18T09:46:33 | 20,008,961 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,563 | cpp | //
// Copyright (c) 2013, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... | [
"kburdet1@ford.com"
] | kburdet1@ford.com |
137fcd1570d972feecd2f6f47059cc226b108a7d | 06df3293d43fd2dc5241ac9c89db2c39565193c3 | /src/dronecontrol/src/VERSAO_28_SET.cpp | efda71c5a3a5968d90f5c300a761011a9576b91e | [] | no_license | JoseColombini/catkin_ws | 10db102db1486b496742b863e389043f928bdf32 | a73931eb8a7c5cc3e188d73a5745938feb8da46c | refs/heads/master | 2020-08-02T23:49:03.412606 | 2019-11-29T21:25:04 | 2019-11-29T21:25:04 | 211,551,992 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,174 | cpp | #include <stdlib.h>
#include "math.h"
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <std_msgs/Bool.h>
#include <geometry_msgs/PoseStamped.h>
#include <mavros_msgs/CommandBool.h>
#include <mavros_msgs/SetMode.h>
#include <mavros_msgs/State.h>
#include <geometry_msgs/TwistStamped.h>
#include <mavros_msgs/Glo... | [
"gorinorr@gmail.com"
] | gorinorr@gmail.com |
3dffb09ca0f26fc8610636a10674c910db0c24ec | d4a2c50a90792600c4d864fffe9c1a9d1ebd6acc | /mmlib/MMLib/FindView.cpp | f537086c122b6c3c24f6262e9be5290387761215 | [] | no_license | iwasen/MyProg | 3080316c3444e98d013587e92c066e278e796041 | a0755a21d77647261df271ce301404a4e0294a7b | refs/heads/master | 2022-12-30T00:28:07.539183 | 2020-10-25T06:36:27 | 2020-10-25T06:36:27 | 307,039,466 | 0 | 4 | null | null | null | null | SHIFT_JIS | C++ | false | false | 6,727 | cpp | // FindView.cpp : インプリメンテーション ファイル
//
#include "stdafx.h"
#include "mmlib.h"
#include "MMLibDoc.h"
#include "FindDoc.h"
#include "FindFrame.h"
#include "FindView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////... | [
"git@iwasen.jp"
] | git@iwasen.jp |
cdbff612f04e490f690e5caff430b6995d9be8b9 | d327e106285776f28ef1d6c8a7f561b7f05763a6 | /SDL/RPGGame2/StateParser.h | 405f75d5b4e43d0ae3f9cf62a5129426b561f342 | [] | no_license | sky94520/old-code | a4bb7b6826906ffa02f57151af2dc21471cf2106 | 6b37cc7a9338d283a330b4afae2c7fbd8aa63683 | refs/heads/master | 2020-05-03T12:37:48.443045 | 2019-07-23T00:38:16 | 2019-07-23T00:38:16 | 178,631,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | h | #pragma once
#include<iostream>
#include<vector>
#include "tinyxml.h"
#include "LoaderParams.h"
#include "GameObjectFactory.h"
#include "TextureManager.h"
#include "GameObject.h"
//class GameObject;
class StateParser
{
private:
void parseObjects(TiXmlElement*pStateRoot,std::vector<GameObject*> *pObjects);
... | [
"541052067@qq.com"
] | 541052067@qq.com |
b0a28ffd826f46bac2330feda256a5af8666bfa4 | 55ebdde4755ef69c365c21d9cd5d46c3e5bda7de | /Shooter.h | 1c891e9598405bf3dc25cc46f7a5f08ebbff9fa6 | [] | no_license | niuguangxue/toys | 9aa1ebb9cabe6e0a4f65be8b18dfd9e8edf13b08 | 639cb6e3d0d9cdaccbaf98b441f88a093f52a7c2 | refs/heads/master | 2022-04-04T21:34:24.680016 | 2019-12-29T13:56:20 | 2019-12-29T13:56:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | h | #pragma once
#include "IDrawable.h"
#include "IMouseAction.h"
class CShooter: public IDrawable, public IMouseAction
{
public:
CShooter();
virtual ~CShooter();
};
| [
"niu91@qq.com"
] | niu91@qq.com |
a0cb9a60c865a0907bdfb5e00266e2403ab8c72f | a2ac955d67fc1382bfb64f54059cdefe165928f4 | /code/mathematics/primitive_root.cpp | 067b139212da940b80e510b2b62bdbc2e762b782 | [
"MIT"
] | permissive | sahedsohel/CompetitiveProgramming | 4e12b5d2d3933598590278c8077bc2f2201b449d | 5e05e8ae40a065b0f3baae85bc6b10414ada0c67 | refs/heads/master | 2020-07-16T19:49:40.424939 | 2016-08-05T13:59:42 | 2016-08-05T13:59:42 | 73,941,688 | 1 | 0 | null | 2016-11-16T17:00:33 | 2016-11-16T17:00:32 | null | UTF-8 | C++ | false | false | 390 | cpp | #include "mod_pow.cpp"
ll primitive_root(ll m) {
vector<ll> div;
for (ll i = 1; i*i <= m-1; i++) {
if ((m-1) % i == 0) {
if (i < m) div.push_back(i);
if (m/i < m) div.push_back(m/i); } }
rep(x,2,m) {
bool ok = true;
iter(it,div) if (mod_pow<ll>(x, *it, m) == 1... | [
"suprdewd@gmail.com"
] | suprdewd@gmail.com |
b67d4dbba86ff56ffbab2064e2e195b9bdb17d6a | 234f4e8bb5ed49526aed2b9f0c18de135056c310 | /NeatEngine/DefaultCamera.h | d71d95989e8cd2a009e02289c321b0b6f145f682 | [] | no_license | peersmg/NeatEngine | b2ded034a7c7d746917a2e0a2f95bdd5d2ebf04a | 1b86d587cfdbc673a6b3df02c95c21b71443219f | refs/heads/master | 2020-05-21T20:28:06.841540 | 2017-04-29T20:45:50 | 2017-04-29T20:45:50 | 64,606,851 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | h | #pragma once
#include "GameObject.h"
class CCamera;
class Window;
class DefaultCamera : public GameObject
{
public:
DefaultCamera();
~DefaultCamera();
};
| [
"peersmg@gmail.com"
] | peersmg@gmail.com |
b7f79931100fd3892b547a4a870b16d25d5539c6 | 4e7f71fa1a458c68629ba8c134931835594b8174 | /Scene.h | 989288b8375529b562f6d7cf6d0dc8b5c7a5e869 | [
"Apache-2.0"
] | permissive | mahaupt/SimpleRay | a4388f942f80b4dea1512c7d5b59e48b26b93d82 | c617ead954cf9d6c638554d404125c853120bac8 | refs/heads/master | 2023-04-04T11:07:10.806180 | 2021-04-09T17:09:45 | 2021-04-09T17:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | // Copyright 2016 Marcel Haupt
//
// 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 ... | [
"subcortexx@gmail.com"
] | subcortexx@gmail.com |
ca27e3660e2b58617b7c361452a9a7afb14a428f | dc34bcf7232e79324eb865ef0018c0f9acd44c53 | /programming/hash-table/146.lru缓存机制.cpp | ba0234923c35787eae917c976f0122b69fd10a15 | [] | no_license | yqtaowhu/DataStructureAndAlgorithm | a36173387e4c9b233f9095b7adbe492500a4c2ab | b7fbda40dd30d7e66dd3469d92be59988fe72783 | refs/heads/master | 2021-06-09T07:47:34.496426 | 2021-05-24T13:11:32 | 2021-05-24T13:11:32 | 63,948,564 | 26 | 35 | null | null | null | null | UTF-8 | C++ | false | false | 2,039 | cpp | /*
* @lc app=leetcode.cn id=146 lang=cpp
*
* [146] LRU缓存机制
*/
// @lc code=start
// https://leetcode-cn.com/problems/lru-cache/solution/lru-ce-lue-xiang-jie-he-shi-xian-by-labuladong/
class LRUCache {
private:
int cap;
// 双链表:装着 (key, value) 元组
list<pair<int, int>> cache;
// 哈希表:key 映射到 (key, value)... | [
"yqtao@whu.edu.cn"
] | yqtao@whu.edu.cn |
6ca8ed9e16ba68306f856f61a24545efc9559b38 | 1a747b63129a60390005837279778d821cf3837d | /Memory/AutoPtrTest.cpp | 39d56496059def75bbf8f919a5185ab1954924d3 | [] | no_license | zgglj2/PocoStudy | 53b3b2bd40b12da7f3f71bbd729022fdc168e882 | 05b9fc08e4a3fb0dc0a1069aa66f71d1ad4bacbb | refs/heads/master | 2021-06-24T07:37:09.188997 | 2020-12-26T14:44:28 | 2020-12-26T14:44:28 | 84,742,840 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | #include <iostream>
#include "Poco/AutoPtr.h"
class RC0 {
public:
RC0() : _rc(1) {
std::cout << __FUNCTION__ << " : Count=" << _rc << std::endl;
}
void duplicate() {
++_rc;
std::cout << __FUNCTION__ << " : Count:" << _rc << std::endl;
}
void release() {
--_rc;
... | [
"7909213@qq.com"
] | 7909213@qq.com |
10aa2cabc1ba6e452fee9c18708dbbef413b9c86 | 1ae598933a5636746552f6db2a306f41f10b00f7 | /src/crc32.cpp | f0d39223cf7053ada31d7adcdbbcd56ac0bb0d7c | [] | no_license | libretro/uae4arm-libretro | 37beaf95bf25fe249ae8c04f1c0780576f663d4c | 5cbf44464507ff9262c2403c9f8d5bc5957afd1a | refs/heads/master | 2022-06-26T00:42:36.990108 | 2022-06-18T16:41:42 | 2022-06-18T16:41:42 | 66,605,446 | 7 | 14 | null | 2022-04-12T08:26:51 | 2016-08-26T01:18:01 | C++ | UTF-8 | C++ | false | false | 9,427 | cpp |
#include "sysconfig.h"
#include "sysdeps.h"
#include "crc32.h"
static unsigned long crc_table32[256];
static unsigned short crc_table16[256];
static void make_crc_table (void)
{
unsigned long c;
unsigned short w;
int n, k;
for (n = 0; n < 256; n++) {
c = (unsigned long)n;
w = n << 8;... | [
"darcelf@gmail.com"
] | darcelf@gmail.com |
f8a04d9ee63753af82ed201f707ba3a920989f17 | 6ad53ab7d4fda7b64e0f40ad0965ba08af1a8f56 | /Hub08_LedMatrix/Hub08_LedMatrix.ino | ce966234cda65ffdd51446e116da94c23d1b5649 | [] | no_license | parker123123/Arduino-projects | 9f13754a7e2befa25361ce5390eb3865c70b533d | 84444a6ec8088f426a6104123679f214e58b0358 | refs/heads/master | 2023-07-02T05:42:47.254393 | 2020-07-19T11:01:21 | 2020-07-19T11:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,632 | ino | /**
* LED Matrix library for http://www.seeedstudio.com/depot/ultrathin-16x32-red-led-matrix-panel-p-1582.html
* The LED Matrix panel has 32x16 pixels. Several panel can be combined together as a large screen.
*
* Coordinate & Connection (Arduino -> panel 0 -> panel 1 -> ...)
* (0, 0) ... | [
"dpavlin@rot13.org"
] | dpavlin@rot13.org |
6358f63933333b5f476aacd9572dd814fcb2bb68 | e6fcdcf4f7e85a7ab3e2f83dde44df34f7e1cbd5 | /src/inet/tls/tlsclient.hpp | 6bcc7f7200099607aab2c1534adbe41e3632812a | [] | no_license | rubenmrk/network | 57df1256dfd274e92e0aae90159f217c8bdc2247 | c2f82208c48b053bc86e636a483b18f86de75a50 | refs/heads/master | 2020-05-16T11:00:47.595740 | 2019-04-23T11:45:20 | 2019-04-23T11:45:20 | 183,002,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | hpp | #pragma once
#include "../tcp/tcpclient.hpp"
#include <openssl/ssl.h>
// If for some inane reason you don't want to use exception handling or want to use standard library exceptions
//#define INET_TLS_DISABLE_CUSTOM_EXCEPTION
namespace inet::tls
{
enum class except_e { PRNG, TLS_VER, CIPHER, CERT_LOAD, CONNECT, ... | [
"paradoxnl@openmailbox.org"
] | paradoxnl@openmailbox.org |
454d10aea09bd5598bcd94c40fea896067942f69 | 4ccf73a7282b56a47b9211e6b759a3d1c0d95463 | /src/objects/fixed-array.h | 7bb7b79e0411a3413e71a1423a1a6db5754a1e6b | [
"BSD-3-Clause",
"Apache-2.0",
"SunPro"
] | permissive | RekGRpth/v8 | a83c039904e042d447f6c787a3698482d02987c3 | eec34b405e7718657d0ecc2058a8945bf3a5af01 | refs/heads/master | 2023-08-21T14:00:15.598843 | 2020-09-17T03:09:31 | 2020-09-17T04:08:12 | 296,223,125 | 1 | 0 | NOASSERTION | 2023-07-20T10:26:53 | 2020-09-17T04:55:50 | null | UTF-8 | C++ | false | false | 22,361 | h | // Copyright 2017 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.
#ifndef V8_OBJECTS_FIXED_ARRAY_H_
#define V8_OBJECTS_FIXED_ARRAY_H_
#include "src/handles/maybe-handles.h"
#include "src/objects/instance-type.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0efa5c9758b8bf3ccd9151e92d8d71d4a3414fe8 | d2abe514518a3093bfa4e4f6693e02a31ca9aa46 | /Physics for Students - VS12 LEAN/Game/SDKs/GeomUtils/src/GuConvexHull.h | b2c99f5459aee2ab4b22c57d39b8af423b4696d0 | [] | no_license | stef52/Game-Dev-Class | a9a745019412dcb040cc9300c8c32a84e186e107 | cc963f13adc1f6016c8a07036ef7709ce4445962 | refs/heads/master | 2020-05-27T21:57:51.113035 | 2015-04-08T19:17:25 | 2015-04-08T19:17:25 | 32,340,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,754 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... | [
"stephenbakalian@gmail.com"
] | stephenbakalian@gmail.com |
b43e2ccebc3cf748f0cb7685be748e460826e7f6 | 466b6cc80d7496018369c1eb3d2796f506c37099 | /table/Cell.h | 0a3051b46e906f2ea7ee1bc31a02e87d64701afb | [] | no_license | CyanoFresh/oop-coursework-s3 | 7959da5c3f954a4c112f8287721885481f6c4464 | a7bdaf31f291a9a5c8902861434cd4ae68c00d5a | refs/heads/master | 2020-09-26T07:40:43.510968 | 2020-01-06T01:10:22 | 2020-01-06T01:10:22 | 210,690,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | #ifndef COURSEWORK_CELL_H
#define COURSEWORK_CELL_H
#include "Object.h"
#include <string>
#include <iostream>
namespace ATable {
class Cell : public Object {
private:
unsigned int width;
public:
Cell();
~Cell();
virtual string output() = 0;
void print(ostream &... | [
"cyanofresh@gmail.com"
] | cyanofresh@gmail.com |
9b35ac95aa44b47706e04a2070e0b2cbe6e1c385 | 4158d1aff880a2949ab032e5107773f4736d46f3 | /Zappin' Kraken v1.0.6/src/main/include/Commands/Looped/FlipIntake.h | b6a21c068935e4d71f30302cfb30c5424056c24d | [] | no_license | FRC1410/infiniterecharge2020 | 37023c2af913ed1c6ecc9fa1c76310b589de35a2 | 00e0bf970debda2e1e232ff2261f6b489ba3a51c | refs/heads/master | 2021-01-02T13:08:01.256723 | 2020-03-11T06:02:14 | 2020-03-11T06:02:14 | 239,635,589 | 5 | 4 | null | 2020-02-17T17:27:54 | 2020-02-10T23:32:11 | C++ | UTF-8 | C++ | false | false | 265 | h | #pragma once
#include "Util/Libraries.h"
class FlipIntake : public frc::Command {
public:
FlipIntake();
void Initialize() override;
void Execute() override;
bool IsFinished() override;
void End() override;
void Interrupted() override;
}; | [
"35178937+RandyNgo02@users.noreply.github.com"
] | 35178937+RandyNgo02@users.noreply.github.com |
89b56a27d163bbb2bff181e337297d5f2c54769a | 019b1b4fc4a0c8bf0f65f5bec2431599e5de5300 | /chrome/browser/ui/views/location_bar/content_setting_image_view.h | e6cc0d949eb7b53ece4770337b8ba3549c416418 | [
"BSD-3-Clause"
] | permissive | wyrover/downloader | bd61b858d82ad437df36fbbaaf58d293f2f77445 | a2239a4de6b8b545d6d88f6beccaad2b0c831e07 | refs/heads/master | 2020-12-30T14:45:13.193034 | 2017-04-23T07:39:04 | 2017-04-23T07:39:04 | 91,083,169 | 1 | 2 | null | 2017-05-12T11:06:42 | 2017-05-12T11:06:42 | null | UTF-8 | C++ | false | false | 4,012 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_CONTENT_SETTING_IMAGE_VIEW_H_
... | [
"wangpp_os@sari.ac.cn"
] | wangpp_os@sari.ac.cn |
51baa83fc2dc91d99a73b3ecbf00fc365b8a0f8a | 9e0bc34d83ad3b4ea98163a209216d11c7860db6 | /lshkit/trunk/3rd-party/boost/boost/throw_exception.hpp | 69cdad0ccc54c21d25952fc1b3ff2b5b4080aa0c | [
"GPL-3.0-only",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-boost-original",
"BSL-1.0",
"LicenseRef-scancode-stlport-4.5"
] | permissive | wzj1695224/BinClone | 07a00584f7b04bc1e6739cdc99d9fa0f4c812f8d | 3b6dedb9a1f08be6dbcdce8f3278351ef5530ed8 | refs/heads/master | 2020-04-27T17:17:42.556516 | 2019-03-13T07:53:23 | 2019-03-13T07:53:23 | 174,512,239 | 0 | 0 | Apache-2.0 | 2019-03-08T09:55:55 | 2019-03-08T09:55:55 | null | UTF-8 | C++ | false | false | 2,085 | hpp | #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
#define BOOST_THROW_EXCEPTION_HPP_INCLUDED
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
//
// boost/throw_exception.hpp
//
// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
// Copyright (c) 2008 Emi... | [
"befung@gmail.com"
] | befung@gmail.com |
5773171a4988c214d4bd066269fa21d6409c5896 | 7bba965199a6c44f26e283432b47ceae0f98ddef | /src/tests/render_formats.cpp | fe339c9e5c700d4a9a7fdc2d0278bba0ffcdccbc | [] | no_license | ameerj/nxgpucatch | d2f82c48e0bc9afc00305b1fdfec18221c6884e2 | 3198485217d74d48c655efd11117c3ba715f0dc8 | refs/heads/master | 2023-06-27T16:48:03.139706 | 2021-07-04T22:38:07 | 2021-07-04T22:38:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,424 | cpp | #include <catch2/catch_test_macros.hpp>
#include <deko3d.hpp>
#include "cmd_util.h"
#include "compare.h"
#include "device.h"
#include "resource.h"
template <typename ClearInput, typename RefType>
static bool Test(DkImageFormat format, const ClearInput& clear, const RefType& ref,
typename RefType::va... | [
"reinuseslisp@airmail.cc"
] | reinuseslisp@airmail.cc |
62c15d7d8146171719101b921c8390e690790668 | ac8e1fdf095656b31ebc6b5eb5e8e6f2c7688408 | /TestCases/avrcppext/Actuators/RCServos/RCServoTest.h | 648a97e73f73fece8118f7db1ae145702ca7d514 | [
"MIT"
] | permissive | maxlem/AVRCpp | df7ed5328d41bff04bc2c40b052eea212003b699 | 63349326c7e326da2309d92857dd14735ef4f51d | refs/heads/main | 2023-05-01T03:45:37.962711 | 2021-05-15T21:50:16 | 2021-05-15T22:25:01 | 367,734,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | h | /*
Copyright (c) 2007-2021 Maxime Lemonnier
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distr... | [
"maxime.lemonnier@gmail.com"
] | maxime.lemonnier@gmail.com |
43e6efc80f14c1acdf78fcd4129bfd053fd61f01 | ae22c23f30161b23be7f5568e89efbb94b7e5cca | /src/circuit/task/builder/StoreTask.cpp | fe4ff49f7eed400fe92d99a85a153da9372fdc76 | [] | no_license | cleanrock/CircuitAI | 9c68d906c02d3dd0a7173178a6b7f6d9aefc7da5 | d4d7fd5f147cd557f7083a232446ba5329aa478c | refs/heads/master | 2020-04-07T23:59:45.940002 | 2016-02-26T19:43:39 | 2016-02-26T19:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | /*
* StoreTask.cpp
*
* Created on: Jan 30, 2015
* Author: rlcevg
*/
#include "task/builder/StoreTask.h"
#include "util/utils.h"
namespace circuit {
using namespace springai;
CBStoreTask::CBStoreTask(ITaskManager* mgr, Priority priority,
CCircuitDef* buildDef, const AIFloat3& position,
float... | [
"rlcevg@gmail.com"
] | rlcevg@gmail.com |
71d28f423c3f325f72343f17eac00d96b0e3a9ae | 0150d34d5ced4266b6606c87fbc389f23ed19a45 | /Cpp/SDK/UMG_Scoreboard_parameters.h | 602e0ec8a0fc2eeb65b94613ed58896ecf1e042e | [
"Apache-2.0"
] | permissive | joey00186/Squad-SDK | 9aa1b6424d4e5b0a743e105407934edea87cbfeb | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | refs/heads/master | 2023-02-05T19:00:05.452463 | 2021-01-03T19:03:34 | 2021-01-03T19:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,212 | h | #pragma once
// Name: S, Version: b
#include "../SDK.h"
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Parameters
//-----------------------------------------------------------------... | [
"tahmaniak@gmail.com"
] | tahmaniak@gmail.com |
5babebe2770abff17a070dfa3ac7c32bf63b580b | 83f68c623b2163fc33c88be63d93a51c0c902b80 | /C++/bullet3-2.83.5/bullet3-2.83.5/src/BulletCollision/CollisionShapes/btTriangleMeshShape.h | 903decf45092ffd7f6f0f3adf93db9931886f964 | [
"Zlib"
] | permissive | AlexStopar/SnowyFogSample | e2673a67b69e4e6cd04b39bee81f55ca0ef2ca9e | 9844426c3485a042ff7322a62e2a4970c7ac6490 | refs/heads/master | 2021-01-10T19:17:19.912203 | 2015-08-23T20:55:29 | 2015-08-23T20:55:29 | 41,267,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is grant... | [
"stopar.2@osu.edu"
] | stopar.2@osu.edu |
b9400d5f81f84283a29adc4e3fb6141b5c5c6f0e | ad62d5a6236c35d71a647802cf4d6d2ead2558a8 | /tests/UnitTests/TestBlockchainExplorer.cpp | 5287d2b242468b54e136d55895e1d67e47c844af | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | cycere/quid | 7af570e6d2fd6a8e4cbd5c5253060c76c488bd72 | 889b5bd36339d4e632c07a037db9ba38bf89ea30 | refs/heads/master | 2023-01-21T22:13:08.580206 | 2020-12-01T00:00:40 | 2020-12-01T00:00:40 | 316,043,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,130 | cpp | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2017-2021 The Cycere developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "gtest/gtest.h"
#include <system_error>
#include <boost/range/c... | [
"cycereorg@gmail.com"
] | cycereorg@gmail.com |
6b0511946e1a1aec189275ad37f95e5e2be2d7a0 | ded7b6d79b14eee45f78ef4cd5418d4c59071dac | /machine.cpp | 34603a91eb9f9448a3fd9375ffad5f1113571671 | [] | no_license | shamkeev/godfather | 2f25dc5aeba6d0198106abc81a437ef9b4ef3b89 | 39cbc504ca44754d393664bd4e28856fa50fa6bd | refs/heads/master | 2021-03-12T21:28:45.612215 | 2013-03-15T16:07:16 | 2013-03-15T16:07:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include "machine.h"
namespace vm
{
Machine::Machine()
: memory(), pic(), cpu(memory, pic){}
Machine::~Machine() {}
void Machine::Start()
{
for(;;)
{
cpu.Step();
pic.irq_0();
//General the Timer Interrupt
}
}
} | [
"shamkeyev@mail.ru"
] | shamkeyev@mail.ru |
89daa23f4638ed857079cb356de527556406cc25 | 1d04a44976a0d0effd12b9f1bc18db7bc4c8f96d | /be/src/runtime/string-search-test.cc | a7804cc58f07a4fe433bbd1d779c5ce5eea7df34 | [
"OpenSSL",
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"MIT",
"PSF-2.0",
"LicenseRef-scancode-mit-modification-obligations",
"bzip2-1.0.6",
"LicenseRef-scancode-unknown-license-reference",
"Minpack",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
... | permissive | Pandinosaurus/Impala | d2d189e9efd93196d4fac36f91e926cca041f023 | 7dd2c8100f6d810bde13a0c9f8fb8449344cdcef | refs/heads/cdh5-trunk | 2023-03-13T00:09:43.104849 | 2019-07-25T00:12:06 | 2019-08-14T21:51:53 | 149,855,108 | 1 | 0 | Apache-2.0 | 2019-08-15T22:47:12 | 2018-09-22T07:24:05 | C++ | UTF-8 | C++ | false | false | 5,371 | cc | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"aphadke@cloudera.com"
] | aphadke@cloudera.com |
09099025499e98b86f41e19baa7fecfdad387d7f | eaae3bc291b9b8455e3f56650271655089fff997 | /EFE Engine/sources/resources/MeshLoaderHandler.cpp | 22734a52282127bee9bb917d35ab7293b752774f | [] | no_license | mifozski/EFE-Engine | 59b6274830b68fa2e7f21b5d91de9d222297cbcb | 32521a8f534e3ff863617bfb42360f8f568bacd0 | refs/heads/master | 2021-05-28T07:35:55.934515 | 2015-01-02T20:08:55 | 2015-01-02T20:08:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,135 | cpp | #include "resources/MeshLoaderHandler.h"
#include "resources/MeshLoader.h"
#include "system/String.h"
#include "system/LowLevelSystem.h"
#include "resources/Resources.h"
#include "scene/Scene.h"
namespace efe
{
bool iMeshLoader::m_bRestricStaticLightToSector = false;
bool iMeshLoader::m_bUseFastMaterial = false;
t... | [
"efa34@yahoo.com"
] | efa34@yahoo.com |
c9ddd198a653d17cff923e69e320c87544d48dc0 | faacd0003e0c749daea18398b064e16363ea8340 | /modules/default_home/default_home.h | 6c8fe015e856157267065e562389d7d7250054ca | [] | no_license | yjfcool/lyxcar | 355f7a4df7e4f19fea733d2cd4fee968ffdf65af | 750be6c984de694d7c60b5a515c4eb02c3e8c723 | refs/heads/master | 2016-09-10T10:18:56.638922 | 2009-09-29T06:03:19 | 2009-09-29T06:03:19 | 42,575,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,406 | h | /*
* Copyright (C) 2008 Pavlov Denis
*
* Default main home module.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or any later version.
*
*/
#ifnd... | [
"futurelink.vl@9e60f810-e830-11dd-9b7c-bbba4c9295f9"
] | futurelink.vl@9e60f810-e830-11dd-9b7c-bbba4c9295f9 |
13f59f8bf9d86f7db75502f61a8bd3c9abebe38e | 066e8c5ec1f9f1794cdecf15113b22bcb2e8979a | /src/sim_log.cpp | 769e735185812c7adf527425c9bea78049b81b0d | [] | no_license | DXD0706/simulator | 64a9a4ee18257f045cac2e18d6fc677643f83909 | 27d05c95e9ab13dc8f4c09d25306cde857d354b1 | refs/heads/master | 2021-08-16T19:20:07.239850 | 2017-11-20T07:57:33 | 2017-11-20T07:57:33 | 94,093,625 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,244 | cpp | #include <sys/stat.h>
#include <string.h>
#include <strings.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <dirent.h>
#include "sim_log.h"
#include "sim_para.h"
FILE *fp_log = NULL;
FILE *fp_net = NULL;
FILE *fp_poi = NULL;
FILE *fp_ana = NULL;
const char *SYS_PATH = ".";
co... | [
"dxd0706@gmail.com"
] | dxd0706@gmail.com |
43633b8cb1cceefced574aed24823ca4bac3c723 | 6e8681a0d9195923130f6aaaec592086e9a784f9 | /Trunk/2017_fall/Resources/CppBook-SourceCode/Chap11/cmdlineargs.cpp | 4958515a3db872ca53231ae6064b1fb9071ae10f | [] | no_license | rugbyprof/1063-Data-Structures | a7faa4b855f3ae18f62c654703234e786d5d7f68 | e41697c60e2ad113105634348d5211c454bcd900 | refs/heads/master | 2021-10-23T02:25:32.756031 | 2021-10-15T16:22:23 | 2021-10-15T16:22:23 | 17,293,996 | 24 | 42 | null | 2019-10-01T16:23:48 | 2014-02-28T17:30:57 | C++ | UTF-8 | C++ | false | false | 146 | cpp | #include <iostream>
int main(int argc, char *argv[]) {
for (int i = 0; i < argc; i++)
std::cout << '[' << argv[i] << "]\n";
}
| [
"griffin@Terrys-MBP.att.net"
] | griffin@Terrys-MBP.att.net |
d1ecf41d3edc8bc95c13ce0249e5a4e2539bf9ce | 1e976ee65d326c2d9ed11c3235a9f4e2693557cf | /CommonSources/FileNameParser.h | 668210e2dca720fdae0415faefcbe80ad94aa658 | [] | no_license | outcast1000/Jaangle | 062c7d8d06e058186cb65bdade68a2ad8d5e7e65 | 18feb537068f1f3be6ecaa8a4b663b917c429e3d | refs/heads/master | 2020-04-08T20:04:56.875651 | 2010-12-25T10:44:38 | 2010-12-25T10:44:38 | 19,334,292 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | h | // /*
// *
// * Copyright (C) 2003-2010 Alexandros Economou
// *
// * This file is part of Jaangle (http://www.jaangle.com)
// *
// * This Program is free software; you can redistribute it and/or modify
// * it under the terms of the GNU General Public License as published by
// * the Free Software Found... | [
"outcast1000@dc1b949e-fa36-4f9e-8e5c-de004ec35678"
] | outcast1000@dc1b949e-fa36-4f9e-8e5c-de004ec35678 |
727387c50898430584539bc1e1b5133eedbaef89 | c62611d69408397e3326464390e28a0e0ee84ad7 | /moc/ast.cc | 9d4294293d0f977cc0df51a85903359f8e21038d | [] | no_license | marcellfischbach/CobaltSKY | 80f5c202c5387f9e450510f31c245226e9d9eb65 | a4e8c1d59285276ca2a0b42009ef15518355578e | refs/heads/master | 2021-01-10T20:59:20.920563 | 2019-05-23T14:53:11 | 2019-05-23T14:53:11 | 94,755,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,783 | cc |
#include <ast.hh>
#include <algorithm>
namespace cs::moc
{
ASTNode::ASTNode(ASTNodeType type)
: m_type(type)
, m_parent(nullptr)
{
}
ASTNodeType ASTNode::GetType() const
{
return m_type;
}
ASTNode* ASTNode::FindChildNode(ASTNodeType type)
{
for (auto child : m_children)
{
if (child->GetType() == t... | [
"marcell.fischbach@amova.eu"
] | marcell.fischbach@amova.eu |
4cbf5a1ffc1a028636cc7154e54dd8f64efeb583 | d5b6d9a9263cef8111e8835e92763b8922bb3155 | /chapter.06/MyLib.02.h | 588a95ee66e5492f887d746c9df08059eee27e5b | [] | no_license | goodpaperman/guide | df01b7271535c5906a54b95f3fd1a26b9647ba2b | 40fecd13a40b1c3327e2a630b03a8de8ff57762e | refs/heads/master | 2020-05-30T11:01:14.247642 | 2019-06-01T03:49:17 | 2019-06-01T03:49:17 | 189,687,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40 | h |
namespace MyLib
{
int a;
int c;
}
| [
"haihai107@126.com"
] | haihai107@126.com |
a491afe949d588b9f1e48c74cd67fb516461ae9a | 9e4cc0c5deacf467141b8bbbf9931cdf9c62786c | /CaptureServer/src/CaptureStreamServerNew/Log.h | 0f79c37ccef77381ba5b0b3fb703fddb1e3854b9 | [] | no_license | XTJ21/CloudGamePlatform | 57ab4cca09526af57a06130fe7e583b470c8361f | 341d2d46cd7688fdb093be6b877bb02e1a89d058 | refs/heads/master | 2022-12-02T16:03:02.408027 | 2020-08-16T08:48:03 | 2020-08-16T08:48:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | h | #pragma once
#include <string>
using std::string;
#define ALARM_SERVER_LOG "CaputureServer"
int LogInit(string strUnitId); | [
"huqibin@linhansoft.com"
] | huqibin@linhansoft.com |
d50b9d0f2870ae195a6643804a6c2ecdbfcdbbbd | 975142ac6ec86cebb53de5e6e070fd8596379eaa | /MyFPSCamera.h | c2d7fe2c0b1d60c3ab09255ed53c03aaaa79fa3b | [] | no_license | ivandro/Nightmare-s-lair | 9d66527c56a62c045a1ad2d64451ef2bdc37ea71 | 33a474be5ef5f476a29a7487fad0e4ed07be48cb | refs/heads/master | 2016-09-06T07:00:29.032471 | 2011-12-05T19:39:55 | 2011-12-05T19:39:55 | 2,674,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,864 | h | // This file is an example for CGLib.
//
// CGLib is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// CGLib is distributed in the ... | [
"ivandro_cm@hotmail.com"
] | ivandro_cm@hotmail.com |
9b96cba045f64b83d333de70b8f1357d248d7396 | 5e840fac5f2af50f5a5f2df558385ee54fbed3f3 | /src/DebugOut.h | d55f976d5c0c9da9e6106e58d2e6f23a4e4f4792 | [] | no_license | nschorer/FruitNinja-minigame | 13353bee897f5ee0abe5b75e6d478b0e0932b205 | d3f1920c7c9815d006751ad13423f89d644bec50 | refs/heads/main | 2023-07-02T13:48:01.543605 | 2021-08-03T21:09:58 | 2021-08-03T21:09:58 | 392,453,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #ifndef DEBUG_OUT_H
#define DEBUG_OUT_H
#include <Windows.h>
#include <stdio.h>
#include <stdarg.h>
class DebugMsg
{
private:
static char DebugBuff[256];
public:
static void out(char* A, ...)
{
va_list args;
va_start(args, A);
vsprintf_s(DebugBuff, A, args);
OutputDebugString(DebugBuff);
};
};
#endif | [
"nrschorer@gmail.com"
] | nrschorer@gmail.com |
754aed2c340ff9dade1c2e1e78f26d3ce568744d | dee6f6d8ce0dba5c803e042203389d09075a604c | /timus/1036.cpp | 718c89ce5415f41c3e72e89fa1b8b28473882ac4 | [] | no_license | redcapital/algo | d197a92a43833462034f232f4fd78612c4261422 | 0cba5a9c3e628755e9a22b3a1b5eb19a0dfe7aad | refs/heads/master | 2022-12-25T07:56:19.059333 | 2022-12-19T15:50:35 | 2022-12-19T15:50:35 | 4,259,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | cpp | // Uses: dynamic programming, bignum arithmetic
// Let d[N][K] be the number of N-digit sequences that sum up to K
// The recurrence relation:
// d[N + 1][K] = d[N][K] + d[N][K - 1] + d[N][K - 2] ... d[N][K - 9], K - 9 >= 0
//
// Obviously d[1][K] = 1 if 0<=K<=9, and 0 otherwise
// Answer then would be (d[N][K] ^ 2) s... | [
"kozhayev@gmail.com"
] | kozhayev@gmail.com |
27225de1b4aaf3f953504d396a6528d3d802939a | 2a8826a62b0a19a8929aaea2059537af9958f699 | /fonction/src/test_fonction.cpp | c714a7125694fcae366c7e88f5aa394ea61cb3db | [] | no_license | ArnaudParan/TP-MOPSI | 1f51bc7a7faa3b0287b4a9319690898068b033e6 | c59ecc33b514eb6c2867012e73679ea39cab127a | refs/heads/master | 2021-01-13T00:55:25.244734 | 2015-11-16T09:08:19 | 2015-11-16T09:08:19 | 43,055,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include "test_fonction.hpp"
#define ABS(val) ((val >= 0) ? val : -val)
void Test_Fonction::setUp()
{
this->foncTest = NULL;
this->foncTest = new FonctionCarre;
}
void Test_Fonction::tearDown()
{
delete this->foncTest;
this->foncTest = NULL;
}
void Test_Fonction::test_inverse()
{
double image = 2.;
double ant... | [
"paran.arnaud@gmail.com"
] | paran.arnaud@gmail.com |
c7ddaceb3ade4abc70f9f0e8eaf2072322279c1d | 1af49694004c6fbc31deada5618dae37255ce978 | /third_party/blink/renderer/modules/content_index/content_index.h | f159dd7c586429e346c315c87e1bd8ff9e33257a | [
"BSD-3-Clause",
"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",
"MIT",
"Apache-2.0"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 3,203 | h | // Copyright 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_CONTENT_INDEX_CONTENT_INDEX_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_CONTENT_INDEX_CONTENT_INDEX_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
76e3b3d03ff71a0a2cebd2d53cb2151a225b52a2 | 3e002355d10972485fb1979aa6e98aaa29f1dacb | /Camerun(NewVersion)/FontSprite3D.cpp | d1ca3fe6e7e9ed6e46025e497727509317c5217f | [] | no_license | Taka03/Camerun2 | 9f6289d0230d193d146d1209c7f1056819caa9f7 | c4dfde2b86c60503284a59f3716913f991ee6e56 | refs/heads/master | 2020-06-04T21:17:50.490601 | 2013-05-07T12:26:22 | 2013-05-07T12:26:22 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,827 | cpp | //*============================================================================
//FontSprite3D.cpp
//*============================================================================
//=============================================================================
//include
//================================================... | [
"luigemansion@yahoo.co.jp"
] | luigemansion@yahoo.co.jp |
daf322f38b32747e57c6b81fb88ad4da9c249faf | ea00e619d7504f2346b2fd437b3d1d77b918ff7c | /lib/gram.cpp | e4352abb6793da5d0498d78f0e39d9f6ea91fb0d | [] | no_license | nishiokozo/hv | 1e93aa25138b22eb09ffa76a9ddb68ad92d74ae5 | 1b30678f82adb926dd6eb23119a12bd074ae16c3 | refs/heads/master | 2020-03-28T16:12:31.798659 | 2019-04-15T16:39:56 | 2019-04-15T16:39:56 | 148,669,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,963 | cpp | #include <iostream>
using namespace std;
#include <string>
#include <stdio.h>
#include <math.h>
#include <ctype.h>
#include <windows.h>
#undef APIENTRY
#include <GL/glew.h>
#undef GLEWAPI
#include <GL/wglew.h>
//#include "vec.h"
//#include "gl.h"
#include "bmp.h"
//--
//#include "texture.h"
#include "gram.h"
//-----... | [
"nishiokozo@gmail.com"
] | nishiokozo@gmail.com |
3192117a057760c50418cec23374c3a75dd07cb5 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE191_Integer_Underflow/s02/CWE191_Integer_Underflow__int_fgets_sub_43.cpp | 1ffff0bf26ce7d2f6a2ab371d3552a8c103999ec | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,803 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_fgets_sub_43.cpp
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-43.tmpl.cpp
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fgets Read data from the console using fgets()
... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
c58f72157388edda401e1d84b6637985dc49e4f0 | e8b97d2503ab3c8939cd6cad946355dcbc0c67b9 | /sensors/cameras/flycapture/flycapture.cpp | 2f28640adc00bad17967e283fd9225a3e86ef02d | [
"BSD-2-Clause"
] | permissive | wangfei-824/snark | a5c600c70f3fedb87fe9ba4b1a01b1b999862ee6 | f4f50a95a2a7dbccc82ee6f2e5026e9ab7c7f8b4 | refs/heads/master | 2021-06-08T03:06:14.910744 | 2016-06-10T07:41:28 | 2016-06-10T07:41:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,138 | cpp | // This file is part of snark, a generic and flexible library for robotics research
// Copyright (c) 2011 The University of Sydney
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistr... | [
"a.zyner@acfr.usyd.edu.au"
] | a.zyner@acfr.usyd.edu.au |
898c303c4f53ae42c16e77d215aea52ed28b644a | 4a2a1fc89bc9f812af2188dc7e345de129ea7583 | /completesetup.ino | 07198f7fed10338afb4da4ae0d42fa3b918851fa | [] | no_license | kkhetarpal/aumoro | 8e901b96a95c0d61f8906c5e7358c4bbfcd78e3c | 89c86ee5f6d2dbed1068017191a154ef1472778a | refs/heads/master | 2021-01-19T08:14:13.131324 | 2014-12-08T20:02:47 | 2014-12-08T20:02:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,371 | ino | /*
Motor Control.
*/
//User Input
char c, l, r;
int speed = 0;
int max_speed = 250, reduced_speed = 180;
//sensor input variables and pins
int sensor1 = A0, sensor2 = A1, sensor3 = A2;
float sensor1Value = 0, sensor2Value = 0, sensor3Value = 0;
float new_sensor1Value = 0, new_sensor2Value = 0, new_sensor3Value = 0... | [
"you@example.com"
] | you@example.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.