blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce4bff36e9ac36a982fedb7185c19573fa87df38 | 00fe410ea9e57dfd09c5406d76ad0c700de936b3 | /AnalyzerExamples/LinAnalyzer/LINAnalyzerResults.h | ffc46097824a5cbcecb524bd77de1d2f0175bad1 | [] | no_license | mitnad/RFFEAnalyzer | 56f0436b9e67b53cfea38fa25c434631955b8e90 | a05a4905a7cb2a06d4339b020afbc48b64a0a43c | refs/heads/master | 2021-05-29T11:08:24.505774 | 2015-07-31T20:40:57 | 2015-07-31T20:40:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | h | #ifndef LIN_ANALYZER_RESULTS
#define LIN_ANALYZER_RESULTS
#include <AnalyzerResults.h>
class LINAnalyzer;
class LINAnalyzerSettings;
class LINAnalyzerResults : public AnalyzerResults
{
public:
typedef enum
{
NoFrame=0, // no frame recognized.
// LIN Header
headerBreak, // expecting brea... | [
"SeanOBoyle@users.noreply.github.com"
] | SeanOBoyle@users.noreply.github.com |
73e659be7e320be989e5b76c2092f3f615da72d3 | f6c0bf17557a4e69d8bfcd52ce91afca05c87073 | /bass/core/evaluate.cpp | 5a9546b49fd75038bf89d069f4698fca4314cf4f | [] | no_license | jordanbarkley/bass | c3f72c29599a321018a5f0292e072667053d47a0 | b974760968b206281f65075e4bae0dbefe6001b1 | refs/heads/master | 2020-07-02T23:25:55.398964 | 2019-08-11T02:14:36 | 2019-08-11T02:14:36 | 201,705,445 | 0 | 1 | null | 2019-08-11T02:10:34 | 2019-08-11T02:10:34 | null | UTF-8 | C++ | false | false | 4,060 | cpp | int64_t Bass::evaluate(const string& expression, Evaluation mode) {
maybe<string> name;
if(expression == "--") name = {"lastLabel#", lastLabelCounter - 2};
if(expression == "-" ) name = {"lastLabel#", lastLabelCounter - 1};
if(expression == "+" ) name = {"nextLabel#", nextLabelCounter + 0};
if(expression == "... | [
"toast.dslua@gmail.com"
] | toast.dslua@gmail.com |
d335e05749952249616d43ff1b682b035a9379c8 | ba6ba4d2afb3a611dda7e4c717f1dc7fa5890035 | /main.cpp | 531932a78438b4c2065fe1006392514ba3fc68ce | [] | no_license | fiveseven-lambda/pinball | e02be7a471d770e0dd267fc7533ab0a0b613ee22 | d4a6cfd11884b107f7beff30acbc109502f11530 | refs/heads/master | 2021-01-16T06:16:47.680489 | 2020-02-26T00:48:27 | 2020-02-26T00:48:27 | 243,005,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,329 | cpp | #include <stdio.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <sys/time.h>
#include <cfloat>
#include <vector>
#include <memory>
#include "ball.h"
#include "pin.h"
const int Width = 500, Height = 700;
int main(void){
Display *display = XOpenDisplay(NULL);
if(display == NULL){
fputs("error: XOpenDisplay ... | [
"fiveseven.lambda@gmail.com"
] | fiveseven.lambda@gmail.com |
f7f2fef9f0257a5cd3e42d24f01334652218ab47 | 123f455e784424dd036f0c07e9e88c87e7ba8515 | /SfSocket.cpp | b8e9aafe8f5bd8f1c61511542dad95dba8b104b5 | [] | no_license | stevensoftware52/SFMLClientServerTCP | 62d3990054842a0d4e506a17a9ef0d99db64bd8c | 1199a25e5939f5fce08e18911e31db76e7728018 | refs/heads/master | 2021-06-28T23:10:30.371265 | 2020-09-03T17:06:36 | 2020-09-03T17:06:36 | 144,808,294 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,030 | cpp | #include "SfSocket.h"
#include "TcpDefines.h"
SfSocket::SfSocket(shared_ptr<sf::TcpSocket> socket) :
m_socket(socket),
m_connected(true),
m_nextPacketSize(0),
m_transferRateTallyUp(0),
m_transferRateTallyDown(0),
m_transferRateTimer(0),
m_transferRateUp(0),
m_transferRateDown(0),
m_transferRateTal... | [
"stevensoftware52@gmail.com"
] | stevensoftware52@gmail.com |
5d33b9f028226a5d1c3d81631b58394ea2c56727 | 1836bb5088ee280860f31e8e7527f57a4c5a7ee8 | /apps/intro_runtime/inc/CheckMacros.h | 650f46f7c740d82f54404055e3b488227ab08078 | [] | no_license | zhing2006/OptiX_Apps | b9c25fb404a230ccec60e52e399c2cbe8f7ac159 | bf4db5fcd0cf69ee341ca5af32a9a722ef579f7e | refs/heads/master | 2022-11-21T10:44:08.179090 | 2020-07-23T06:32:02 | 2020-07-23T06:32:02 | 281,870,261 | 0 | 0 | null | 2020-07-23T06:31:12 | 2020-07-23T06:31:12 | null | UTF-8 | C++ | false | false | 2,281 | h | /*
* Copyright (c) 2013-2020, NVIDIA CORPORATION. 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... | [
"droettger@nvidia.com"
] | droettger@nvidia.com |
4439ef5854c75dbce702b2633e9b20d4de845cf3 | 112021b2aab61cd24847b72aeb856e887c028d25 | /Assignments/Solutions/Ajit Kumar/Assignment No. 1/Question-04.cpp | cd23531883c7388e7b5f24ae5ebed7b11fe35dfe | [] | no_license | amanraj-iit/DSA_Uplift_Project | 0ad8b82da3ebfe7ebd6ab245e3c9fa0179bfbef1 | 11cf887fdbad4b98b0dfe317f625eedd15460c57 | refs/heads/master | 2023-07-28T06:37:36.313839 | 2021-09-15T11:29:34 | 2021-09-15T11:29:34 | 406,765,764 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | /*
Question4.
*
* *
* * *
* *
*
*/
#include <iostream>
using namespace std;
int main()
{
int i, j, n=3;
//cin >> n;
//symmetric at row 3
for (i = 0; i <= n; i++)
{
// Print spaces in decreasing order
for (j = 1; j <= n - i; j++)
cout << " ";
... | [
"krajito77@gmail.com"
] | krajito77@gmail.com |
d042c3a65fc14db585714bc804c55d6ad6675aad | 31d58491db4a84f07325a09604401e5fd302de8b | /Cpp_Prac/nvidia_prac/src/bitstream.cpp | ce30ce5512ab0bfbf8bc2a1bfa892ceba6631a1c | [] | no_license | Swathi-vyas/SimulatorProject | 2156f9333e0e22d14358ec13127b0cc763bd0ab4 | 70c0b8f4bba6b6ba691bc21054d1ac91da6b8f2a | refs/heads/main | 2023-06-17T07:54:31.405155 | 2021-07-09T07:09:25 | 2021-07-09T07:09:25 | 384,340,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | #include<iostream>
using namespace std;
int main(){
int x=0xabababab;
int y=0x0000ee00;
x&=0xffff00ff;
x|=y;
cout << hex << x << endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
97724425845d988166e5eac6afc6edc10db203dc | 8390cc8990562b75c10f36890f9325edc970c55e | /王子超的hdoj/hdoj1059(多重背包问题.二进制优化版).cpp | a1a94f07f444bfe1c45bd7f3210ca51d5749cf78 | [] | no_license | StandNotAlone/ACM | 598c4361710167b8dd9a7f2876cbc63658b2b1e0 | c0302788a0fb0d45aff199011ca50ef16524400b | refs/heads/master | 2023-05-03T16:05:14.317580 | 2021-05-25T13:09:33 | 2021-05-25T13:09:33 | 262,744,367 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,602 | cpp | #include<stdio.h>
#include<string.h>
int sum,a[7],b[107],len;//sum为所有任务的天数综合,a[i]代表需要i天的任务有几件
bool dp[60001];
//b[]保存二进制优化的01背包
//dp[i]代表花费i天的分配方案是否存在
void get()
{
sum=0;
for(int i=1;i<=6;i++)
{
scanf("%d",&a[i]);
sum=sum+i*a[i];
}
}
void change()//二进制优化
{
len=0;
for(int i=1;i<... | [
"wzcnew@icloud.com"
] | wzcnew@icloud.com |
a7102f056223582f1e744b409235b8d6f610f661 | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/sailslivery_goldhoarders_01_v01_CustomizationDesc_classes.h | d9ca2907d532353b14c3f8eb5bb516c9bca4f538 | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | h | #pragma once
// Name: SeaOfThieves, Version: 2.0.23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
8672061354bd7c9cf838f0659c21eeefcb230169 | b02eeeeef39a55e89c4cb0abfd19df903f3bd41a | /gen/pb-cpp/flyteidl/plugins/presto.grpc.pb.cc | 04dda26e33f595ef10824c09ee562bf7bee9399f | [
"Apache-2.0"
] | permissive | nuclyde-io/flyteidl | af0b81c621c45c05120468ccdfdbcac8e776b5e6 | 376cfc2990f610dfc9f7a63e5bef84785241fb6b | refs/heads/master | 2023-07-16T19:02:34.683059 | 2021-02-03T03:07:16 | 2021-02-03T03:07:16 | 336,040,693 | 0 | 0 | Apache-2.0 | 2021-08-20T05:16:37 | 2021-02-04T18:06:03 | null | UTF-8 | C++ | false | true | 823 | cc | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: flyteidl/plugins/presto.proto
#include "flyteidl/plugins/presto.pb.h"
#include "flyteidl/plugins/presto.grpc.pb.h"
#include <functional>
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async... | [
"noreply@github.com"
] | noreply@github.com |
5cbaea9fd9bfbdc5ccd61579b36d092f5bf5875f | b4f56f2da2d8762517822dd54d7b34d204071d70 | /zoo.cpp | de2729a4b652070f02ffedf358ec51ad8e84b2ce | [] | no_license | ValentinValeanu/CompetitiveProgramming | 7e49e5a4ff4cef41c20bc406ea150384563201f8 | 5c03a70aff951b4ab6be9f963b40479c91a8b23f | refs/heads/main | 2022-12-26T02:49:40.191804 | 2020-10-07T07:55:08 | 2020-10-07T07:55:08 | 301,964,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,747 | cpp | #include <stdio.h>
#include <vector>
#include <algorithm>
#define nmax 16010
using namespace std;
struct point { int x,y; };
int n,m,x11,y11,x22,y22,sol;
point t[nmax];
vector <point> arb[3*nmax];
bool cmp(const point &a,const point &b)
{
if (a.x==b.x) return (a.y<b.y); else
return (a.x<b.x);
}
int bin... | [
"valentin.valeanu.xd@gmail.com"
] | valentin.valeanu.xd@gmail.com |
4b1fb209da7ce18de6f6e1d39de9ff88d1c265b3 | d3f3f90fec5c13ece6bd6604918172e3c9ac118a | /LocationManager/Extension/project/include/LocationManager.h | ac5fb85003764b03a9341fdb3826bbb960d8cdfc | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | emibap/nmeXtensions | a3a118090fea30ac6f4ea689e9799d9bb19a87ac | eaf9b8ba4f696c368c8c4de979685515babc696f | refs/heads/master | 2016-09-10T23:20:28.819500 | 2012-10-31T19:58:20 | 2012-10-31T19:58:20 | 4,011,185 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 595 | h | #ifndef LocationManager
#define LocationManager
#include "Location.h"
namespace locationManager {
typedef void (*LocationUpdateCallback)(Location, Location);
typedef void (*FinishedUpdatingCallback)(const char *);
typedef void (*LocationErrorCallback)(const char *);
void setCallBacks(LocationUpdateCallback on... | [
"emilianoangelini@Emilianos-MacBook-Pro.local"
] | emilianoangelini@Emilianos-MacBook-Pro.local |
29fd22dc1fd6bae89df6648923d47bbaf2449b63 | f23fea7b41150cc5037ddf86cd7a83a4a225b68b | /SDK/BP_eye_col_blue_03_Desc_classes.h | da4f26ba4927393f0eb64098ad424f1bdb23bd27 | [] | no_license | zH4x/SoT-SDK-2.2.0.1 | 36e1cf7f23ece6e6b45e5885f01ec7e9cd50625e | f2464e2e733637b9fa0075cde6adb5ed2be8cdbd | refs/heads/main | 2023-06-06T04:21:06.057614 | 2021-06-27T22:12:34 | 2021-06-27T22:12:34 | 380,845,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | #pragma once
// Name: SoT, Version: 2.2.0b
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
32fc700f23edab2f8a6a7602c108eff2b8110a71 | f05755d8e8ec97721661017cdb7590b10f358949 | /class10/stock1/stock10.cpp | 842337fdd493b8f842bc48b9f0a4edf7918865a1 | [] | no_license | EdisonCheng1/C- | 42ad92d7526887ace2ffeeed4510936a5927edda | 221db49fe9e2fed5e39b08e448e29ed22cd3c58d | refs/heads/master | 2021-01-24T11:45:17.739703 | 2018-04-18T01:18:56 | 2018-04-18T01:18:56 | 123,099,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,099 | cpp | //stock10.cpp --Stock class constructors ,destructor added
//version 01
#include <iostream>
#include "stock10.h"
//constructors(verbose versions)
Stock::Stock() //default constructor
{
std::cout << "Default constructor called\n";
company = "no name";
shares = 0;
share_val = 0.0;
total_val = 0.0... | [
"554877340@qq.com"
] | 554877340@qq.com |
a1bf7044275f7f7d8cb9d2b18f78e23dea23f3f3 | 1827aa6a848ec97207f0547542225aaef4321e22 | /Obstacle.cpp | 5be9d16237a636b611b8f7bfa95784e121f22587 | [] | no_license | detuks/ChristmasCrush | 7d1a42b4cc32f103cdd403544e7132db50ef33d8 | f1badfa32b8d1340823c6defa89a07c1ecaf567e | refs/heads/master | 2021-01-01T17:36:22.609293 | 2014-04-14T20:43:22 | 2014-04-14T20:43:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,441 | cpp | #include "Obstacle.h"
Obstacle::Obstacle()
{
updateColVec();
}
void Obstacle::updateColVec()
{
///ok look
c1.x=pos.x+(width/2)*cos(pitch-PI)-(height/2)*sin(pitch-PI);
c1.y=pos.y+(width/2)*sin(pitch-PI)+(height/2)*cos(pitch-PI);
c2.x=pos.x+(width/2)*cos(pitch-PI)+(height/2)*sin(pitch-PI);
c2.... | [
"raimen12@gmail.com"
] | raimen12@gmail.com |
ff1d09fc950ba2b2c28582fa03e971f7e1efd5f6 | 4137e27c5ed73c71f77421dfeb3c1949127fe61f | /dev02/green_red/green_red.ino | 4a492bd77b9b53289f0fa59f9dc11c6974d0014f | [] | no_license | rwmatt/rpi | 559b34fcdff5437134741b78f9da872e9c8e5419 | 76d3c7b1569bedcd2393d4c3eb52a77df5fa6b73 | refs/heads/master | 2020-09-17T08:44:20.963683 | 2019-11-21T17:42:50 | 2019-11-21T17:42:50 | 224,057,901 | 1 | 0 | null | 2019-11-25T23:02:39 | 2019-11-25T23:02:38 | null | UTF-8 | C++ | false | false | 1,583 | ino | /* 20-Jan-2018 created
*
* Compatable with DEV02 board
*
* Provides a variety of patterns
*
*/
#define ATTINY85 1
constexpr int GREEN_LED = ATTINY85 ? 1 : 6; // tiny pin 6
constexpr int RED_LED = ATTINY85 ? 0 : 5; // tiny pin 5
constexpr int BUTTON = ATTINY85 ? 4 : A3; // tiny pin 3
// convenience funct... | [
"alt.mcarter@gmail.com"
] | alt.mcarter@gmail.com |
499c0a84eb0f549465b5c148ce276033dd1c615a | 26a98d525b0ce11bab718fe11a1f3c22e6d823f5 | /Source/Samples/05_AnimatingScene/Rotator.cpp | f41ded619ea2469cd16ae57b1835c016a514bc27 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"Zlib",
"LicenseRef-scancode-khronos",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | pyzhangxiang/Urho3D | dfd1128bb4ebe3eeae07ff49625473002789ba75 | dbb8d077dae00a3b96f9740cfb47c0ab084d19a1 | refs/heads/master | 2021-01-21T05:05:09.383038 | 2014-01-10T09:41:52 | 2014-01-10T09:41:52 | 15,806,907 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,588 | cpp | //
// Copyright (c) 2008-2013 the Urho3D project.
//
// 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, m... | [
"loorni@gmail.com"
] | loorni@gmail.com |
b62350c6bfa762b7e5f2350968b8757a558bc6b5 | 785f542387f302225a8a95af820eaccb50d39467 | /codeforces/604-B/604-B-14591193.cpp | 45d3d7792c43b8b015873d6f6d950c161db10115 | [] | no_license | anveshi/Competitive-Programming | ce33b3f0356beda80b50fee48b0c7b0f42c44b0c | 9a719ea3a631320dfa84c60300f45e370694b378 | refs/heads/master | 2016-08-12T04:27:13.078738 | 2015-01-19T17:30:00 | 2016-03-08T17:44:36 | 51,570,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | // Anve$hi $hukla
// Until the lion learns how to write, every story will glorify the hunter.
#include <bits/stdc++.h>
using namespace std;
#define TRACE
#ifdef TRACE
#define trace1(x) cerr<< #x <<": "<<x<<endl;
#define trace2(x, y) cerr<< #x <<": "<<x<<" | "<< #y <<": "<<y<< endl;
#define trace3(x, y, z) ce... | [
"anveshishukla@gmail.com"
] | anveshishukla@gmail.com |
5c56a7bf0de5055bf03e64c4dcd5bb18e7a98158 | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazetest/src/mathtest/dmatdvecmult/LDaVDa.cpp | c78ce39c710ba5c29d4b2aacdf926a5a26a642f9 | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 4,168 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdvecmult/LDaVDa.cpp
// \brief Source file for the LDaVDa dense matrix/dense vector multiplication math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
9baf86930670e1bfabe7b7b9a0da28f565673752 | 36a59d835eef613ff3637acbbf50dbcdf259c86c | /a4/a4.p2/Creature.cpp | e9276adf6f2aff40382328489a62765a74852402 | [] | no_license | dragikamov/Programming_in_Cpp_I | 680a7640a86a78a898e44f5e971fb1994312d12e | 9c61700a1047cc41a8fa4a82e3caba6478c34c65 | refs/heads/master | 2020-04-26T17:49:14.837413 | 2019-03-04T10:38:46 | 2019-03-04T10:38:46 | 173,725,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | cpp | /*
CH08-320142
a4 p2.cpp
Dragi Kamov
d.kamov@jacobs-university.de
*/
#include <iostream>
using namespace std;
class Creature
{
public:
Creature();
void run() const;
protected:
int distance;
};
Creature::Creature(): distance(10)
{}
void Creature::run() const
{
cout << "run... | [
"dragikamov@gmail.com"
] | dragikamov@gmail.com |
6a3be1e60bb6dd182b7877bb86fd5b02c6fe3749 | 063c0493c423272bec0896170d72338b89ff5cb5 | /example/NEW_rk4projectionFoam/constant/polyMesh/neighbour | 9d1d0e355d0f3f270a6540f56f2976daeba0edfb | [] | no_license | magnushaese/rk4projectionFoam | 2d3533ecc0cfe4f984545ae23083a0907ae9c362 | dc6a7447c7f554234810e1411e1630ad9c3bd416 | refs/heads/master | 2022-12-12T20:25:18.691802 | 2022-11-22T13:55:59 | 2022-11-22T13:55:59 | 210,851,257 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 408,250 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | [
"magnus.haese@protonmail.com"
] | magnus.haese@protonmail.com | |
3904ffdf47d1537add859bcf78022f4396db7968 | 2e62efd4f8a176c1bee1ee5240e8a925bbaeee93 | /Root/TFit.cxx | d8d56c784661e77773882ec5b688e5f77bb09468 | [] | no_license | Gongzi-Zhang/Code | 8ff1b30a373817eb1aa440ec2f2348b0aa792fd6 | 20c11d7acbaf017b286a10a232f1eb29b62d1ac4 | refs/heads/master | 2021-12-28T12:05:56.754735 | 2020-04-10T14:07:04 | 2020-04-10T14:07:04 | 120,005,998 | 0 | 0 | null | 2018-02-02T16:53:29 | 2018-02-02T16:41:49 | null | UTF-8 | C++ | false | false | 2,622 | cxx | #include "TF1.h"
#include "TF2.h"
#include "TROOT.h"
#include "TRandom3.h"
#include "TCanvas.h"
// For pre-defined functions, there is no need to set initial values. ROOT
// will do it automatically for you.
double minf=0.0, maxf=100.;
TF1 *gfit = new TF1("Gaussian","gaus",minf,maxf); // Create the fit function
h->Fi... | [
"weibin.zhang@stonybrook.edu"
] | weibin.zhang@stonybrook.edu |
0839c39854aa5cd3db37c5a267ade3dac1f05d81 | b231bd2f8936bf04ecc85e8357462be30ce67009 | /src/TableStatus.cc | 7d53ed047aec181a1701c12227866b559a469aea | [] | no_license | alainseys/checkmk | 5dd36cbad10c0a00b3edfce22be8ac213f574468 | 676d70ed04cd999a5455faa3186454aef44c48e9 | refs/heads/master | 2021-06-20T04:23:30.097976 | 2020-12-21T15:12:05 | 2020-12-21T15:12:05 | 147,353,540 | 0 | 1 | null | 2020-12-21T15:12:06 | 2018-09-04T13:49:08 | C++ | UTF-8 | C++ | false | false | 12,130 | cc | // +------------------------------------------------------------------+
// | ____ _ _ __ __ _ __ |
// | / ___| |__ ___ ___| | __ | \/ | |/ / |
// | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
// | | |___| | | | __... | [
"alain@biopack.be"
] | alain@biopack.be |
17391ff254a3a01b368e357b101cd42784904429 | 3481f261778ec1c4a22c8cb9b62f7610e4f73464 | /outputs/Midi/MidiNoteDurationHandler.cpp | 826221bb8a87883b4a6704632a55457df5248558 | [] | no_license | ludoviclaffineur/MoOS | db4eba5b62d49c24a65b0d4003b4a5a75834f218 | b917ce6550ed62bcc526ebdb38ad345b48dacef5 | refs/heads/master | 2021-06-07T12:07:38.739091 | 2016-10-31T08:32:14 | 2016-10-31T08:32:14 | 24,750,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cpp | //
// MidiNoteDurationHandler.cpp
// LibLoAndCap
//
// Created by Ludovic Laffineur on 20/01/15.
// Copyright (c) 2015 Ludovic Laffineur. All rights reserved.
//
#include "MidiNoteDurationHandler.h"
MidiNoteDurationHandler::MidiNoteDurationHandler(MidiNoteHandler* mh):
OutputsHandler("Duration"){
mOut... | [
"ludovic.laffineur@gmail.com"
] | ludovic.laffineur@gmail.com |
8af012bd0f81407664303e015a01a293d113b43a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_67.cpp | fa540750d597fee44cef3dcc6ec3330d76559b08 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,743 | cpp | SecureProtoInfo.iSecurityScheme = SECURITY_PROTOCOL_SSL;
s = WSASocket(AF_INET, SOCK_STREAM, IPPROTO_TCP,
(LPWSAPROTOCOL_INFO)&SecureProtoInfo, 0, 0);
if (s == INVALID_SOCKET) {
errno = WSAGetLastError();
ap_log_error(APLOG_MARK, APLOG_CRIT, errno, server_conf,
... | [
"993273596@qq.com"
] | 993273596@qq.com |
8a64243ee5771185eea9324cf61ea84c5347d90d | 078927a49a6c5f7e3de1a99cc9b13aad233c0a7d | /Eudora_W_source/Sandbox/DirectoryServices/DirectoryServicesUI/src/DSUtilsImpl.cpp | bd2b8833233b03ec051af526d042bf3b6462b3d4 | [] | no_license | avar/rhqben | ac74c3893bf965eaf8911579f68fe7557f907dcc | 966db0f6a3c7d78cc9ddcab1709f9ac38fdcdd5b | refs/heads/master | 2020-03-18T07:45:21.766714 | 2018-05-22T20:15:44 | 2018-05-22T20:16:47 | 134,471,376 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,204 | cpp | //////////////////////////////////////////////////////////////////////////////
// DSUtilsImpl.cpp
//
//
// Created: 09/13/97 smohanty
//
//////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#define __DS_UTILS_INTERFACE_IMPLEMENTATION_
#include "DSUtilsImpl.h"
LPARAM
GetL... | [
"avarab@gmail.com"
] | avarab@gmail.com |
4f12dd8141b0e74e4953a427b5f702e5567cde2e | 46c16696daf8c53d7fe75a8790fdeaaae4b31684 | /filesystem/filesystem_extension.h | 81ee83dfbdcb9bd17c4b2b8c511bfb7155506801 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | rzr/tizen-extensions-crosswalk | 197a3276e2ae437b061441f855e2fc4153a7ac87 | c3a578b8c5e578f62c70f15fb565fe411c6db5e4 | refs/heads/master | 2021-01-24T22:35:57.633007 | 2014-10-30T12:27:09 | 2014-10-30T14:33:11 | 25,969,698 | 0 | 0 | NOASSERTION | 2019-08-07T21:52:59 | 2014-10-30T12:26:19 | C++ | UTF-8 | C++ | false | false | 554 | h | // Copyright (c) 2014 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FILESYSTEM_FILESYSTEM_EXTENSION_H_
#define FILESYSTEM_FILESYSTEM_EXTENSION_H_
#include "common/extension.h"
class FilesystemExtension : public ... | [
"alexander.shalamov@gmail.com"
] | alexander.shalamov@gmail.com |
59cb4aa9e3fd6444a6679ffcf9d72c68ab6f7f04 | 61b93659e39f338dcec8e58479d601ae7ec21c8d | /src/dilate.cpp | ca3d4453423a5b3dc734fd4db0a8db5eac46cc08 | [] | no_license | lianNice/fastcv_api | bc5ee777ed04c5cca95ae1e1a86eb8f1997a5578 | 0dd0ac9e100b6509671757c36899d5518b5cb906 | refs/heads/master | 2021-06-02T15:26:46.720182 | 2016-09-02T15:06:15 | 2016-09-02T15:06:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,605 | cpp | #include <fastcv.hpp>
#include <image.h>
#include<stdio.h>
namespace HPC { namespace fastcv {
template<typename T, int ncSrc, int ncDst, int nc, EcoEnv_t type>
HPCStatus_t dilate(const Mat<T, ncSrc, type>& src, const Mat<uchar, 1, type>& element, Mat<T, ncDst, type> *dst)
{
if(NULL =... | [
"fuleying@gmail.com"
] | fuleying@gmail.com |
17d42d3a8e8c5984fab3af879a4f95d822ec88d1 | e7b70383798da2be030c7d0ca7e22883bc3a8547 | /allocator/Alloc.h | 4068331831a100a05d606234122cfacf9770c877 | [] | no_license | scottdwdwdw/STL | bf3b319b899c5b50d6f836b35f5047529e02d7a3 | c991e57a3299b65ed4699fc238a9ab85a88fa4ef | refs/heads/master | 2021-01-24T15:24:19.572246 | 2016-04-19T08:56:12 | 2016-04-19T08:56:12 | 46,557,758 | 10 | 3 | null | null | null | null | GB18030 | C++ | false | false | 9,534 | h | #ifndef ALLOC_H
#define ALLOC_H
/*
* Alloc 负责对象构造前的内存分配、对象析构后的内存回收
* allocate: 内存分配
* deallocate: 内存释放
*/
#if 0
# include<new>
# define __THROW_BAD_ALLOC throw bad_alloc //不抛出bad_alloc
#elif !defined(__THROW_BAD_ALLOC)
# include<iostream>
# define __THROW_BAD_ALLOC std::cerr<<"out of memory"<<std::endl;e... | [
"dengwei201020@163.com"
] | dengwei201020@163.com |
b7bf01a62c5627c709682ede4fb4c5e930bb2b8d | 0ff55084d6245dd2e5123f5d96ad38e8cbf5eb59 | /sources/core/viewport.cpp | 6e03dcb550fd196c64c1a045ecc749b7c65eca6d | [] | no_license | Spontz/Legacy | cb2a5fc4c31074b3d82bdad2f5073841f3ffaefb | f4a82f39b0a936a9496d7a18c2f23862c242c7b5 | refs/heads/master | 2021-05-27T20:03:50.631422 | 2013-05-05T20:49:16 | 2013-05-05T20:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include "viewport.h"
#ifdef __cplusplus
extern "C" {
#endif
void spzViewport(GLint x, GLint y, GLsizei width, GLsizei height, const char* pFile, int line)
{
// dkernel_trace("%s(%d) : glViewport(%d, %d, %d, %d)", pFile, line, x, y, width, height);
glViewport(x, y, width, height);
}
#ifdef __cplusplus
}
#endif
| [
"ifernandez@redsauce.net"
] | ifernandez@redsauce.net |
5ee489078c3347bdb6bd69cc884c0219bc3cc618 | 32ab95a7880167d7af478cf8c7b69332c1a012be | /src/caffe/layers/base_wino_layer.cpp | af4ef3794901a5d6092027319bcf49ea4b9486b6 | [
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | Swas99/caffe | 0e920ee3fb87116c0412360187aa4b5f393f2c1f | 07dc14eafa0041a29685bd8cd6d1d6ca7915f786 | refs/heads/master | 2020-06-14T17:45:15.079806 | 2019-08-16T16:17:54 | 2019-08-16T16:17:54 | 193,890,296 | 0 | 0 | null | 2019-06-26T11:21:11 | 2019-06-26T11:21:10 | null | UTF-8 | C++ | false | false | 34,715 | cpp | #include <algorithm>
#include <vector>
#include <stdio.h>
#include "caffe/filler.hpp"
#include "caffe/layers/base_wino_layer.hpp"
#include "caffe/util/im2col.hpp"
#include "caffe/util/math_functions.hpp"
// #include "tensorflow/core/framework/op.h"
// #include "tensorflow/core/framework/op_kernel.h"
// #include "ten... | [
"swas.rishi@gmail.com"
] | swas.rishi@gmail.com |
bc6d328f50ff796f0be2122a5bf8563bb7a168a2 | 359c8f346dc634010905080cfa3c8754403d8432 | /covidm_for_fitting/model_v2/convenience.h | fceb5caa2055ce5e3caef1119fa4439cdd23645f | [
"MIT"
] | permissive | rosannaclairebarnard/covidm-mtd-Omi | b954e10895c7286ee9c8233305714a77760bc837 | 5458524d213b6590156ef0b5cc5e89cd7e22ea7b | refs/heads/main | 2023-04-15T04:18:54.867356 | 2022-08-31T11:57:09 | 2022-08-31T11:57:09 | 511,480,146 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | h | // convenience.h
#ifndef CONVENIENCE_H
#define CONVENIENCE_H
#include <vector>
struct Parameters;
class Reporter;
// TODO perform rigorous error checking on inputs
// Helper functions for user code
std::vector<double> seq(double x0, double x1, double by = 1);
// binomial log density
double binom(double x, double ... | [
"rosannabarnardresearch@gmail.com"
] | rosannabarnardresearch@gmail.com |
0839662c30ab86f7305a7e8ccc6108f44b8d9e5e | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /src/lib/cobalt/cpp/testing/mock_cobalt_logger.h | d7d32a71430885f7ff727b96ae5660b00a2911eb | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 2,302 | h | // Copyright 2019 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.
#ifndef SRC_LIB_COBALT_CPP_TESTING_MOCK_COBALT_LOGGER_H_
#define SRC_LIB_COBALT_CPP_TESTING_MOCK_COBALT_LOGGER_H_
#include <unordered_map>
#include "src/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
903fe8442fe90ede5889870bf5a644885958e710 | ae0c1bad603948d4f21d5e901080c892fcacf60a | /Light OJ/1082 - Array Queries.cpp | a124010e2a6056fb103c1c85d43919ab762a7a03 | [] | no_license | gmehedi/Online-judge-solve-problem-and-note | d002d7dd8f9cfcfc1e59030d057015404d943e55 | 519e4e2c640947adcd101be847eaf7ab2cb0e1b5 | refs/heads/master | 2021-07-11T13:14:09.751627 | 2020-06-11T04:23:33 | 2020-06-11T04:23:33 | 136,757,235 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | cpp | #include<bits/stdc++.h>
#define N 100010
using namespace std;
int t,n,q;
int a[N];
int64_t tree[N*3];
int Build(int node, int s, int e)
{
if(s==e)
{
return tree[node]=a[s];
}
int mid = (s+e)/2;
int left=2*node,right=2*node+1;
Build(left,s,mid);
Build(right,mid+1,e);
... | [
"noreply@github.com"
] | noreply@github.com |
6fe809e2716dc8a30acdfa2b02bf927b5a91069e | cc05e351bbb01f59d73b40e8d77be660a82bf826 | /tempCodeRunnerFile.cpp | b259d67c78640e0c2523ac8d99bb3dc8d3bba18b | [
"MIT"
] | permissive | TakSeBiegam/SimplePrograms | 82ee0385b9e038a7c5ed4c01c6c45c53380a3c07 | 90d3034044f453dde3342a596be61dac55a7005f | refs/heads/main | 2023-04-01T22:41:41.889167 | 2021-04-14T08:55:21 | 2021-04-14T08:55:21 | 327,275,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,953 | cpp | #include <iostream>
#include <stdlib.h>
#include <time.h>
#include <windows.h>
using namespace std;
int set_password_lenght(){
int pass_len = 0;
cout << "Password lenght: ";
cin >> pass_len;
cin.ignore();
while(pass_len < 0 || pass_len > 20){
cout << endl;
cout << "Password must be... | [
"darkarek1@gmail.com"
] | darkarek1@gmail.com |
09e63371f7de02e9c9c4ab3c48702f8be4a49b6f | e574856fa1918efc1da887c14b8ef31230a3eb4f | /3_1/Prog3_1.cpp | e598dde6712665687e8a3a3f0d39709e51efcc61 | [] | no_license | marchenkoiv/lab3-1- | c4bc6e08fcccd332025d9ba09601580ed2433675 | 4a9f11163ba5c6590c31ee5b4584c0fc37ece658 | refs/heads/master | 2020-09-07T16:45:32.394640 | 2019-11-10T21:08:20 | 2019-11-10T21:08:20 | 220,849,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,150 | cpp | #include "Hex_S_1.h"
using namespace Prog3_1;
int main()
{
int b = 1;
int k;
Hex st, sum;
bool n;
do
{
switch (b)
{
case 1:
std::cout << "Enter new hex number: ";
try
{
st.input(std::cin);
}
catch (const std::exception &ex)
{
std::cout << ex.what() << std::endl;
}
std::co... | [
"umeaire@gmail.com"
] | umeaire@gmail.com |
8b38ae1f1a39c4c80b8f05078722e45866f5a02e | 8a1ab43a7179929fc55fcb2d5d15adb3c5e2eaed | /src/configuration/xercesstringdeleter.cpp | d56ce235b7d152adfa73bbc027a9abe7c2c300d2 | [] | no_license | freesurfer-rge/sbexperimental | 61a7546f00d144a97729bf76d2efbf47efaf5b77 | 1c80f145b07965ac803f1ad3f9cc67128d22dcd6 | refs/heads/master | 2020-04-07T06:06:40.439568 | 2019-06-16T20:17:07 | 2019-06-16T20:17:07 | 158,122,656 | 0 | 0 | null | 2019-06-16T00:26:58 | 2018-11-18T20:11:48 | C++ | UTF-8 | C++ | false | false | 320 | cpp | #include "configuration/xercesstringdeleter.hpp"
namespace Signalbox {
namespace Configuration {
void xercesstringdeleter::operator()( char* str ) {
xercesc::XMLString::release( &str );
}
void xercesstringdeleter::operator()( XMLCh* str ) {
xercesc::XMLString::release( &str );
}
}
}
| [
"noreply@github.com"
] | noreply@github.com |
600d368ffcb9ff32ffeb7c2b30317f028ce97f8d | c7be6578af8cb4ece21bda6e231b7fa0467d8338 | /src/GUI/JuceLibraryCode/src/gui/components/mouse/juce_DragAndDropTarget.h | 9db85de8f2f126490c901a49650e7b8907834ac7 | [] | no_license | hpenagos/arte-ephys-backup-May-24-2012 | 1345e4a068c07f7866b9f1c1cf7783f254ddac17 | 0ab26c03b1dc09570f9f03e60084a06f359f3bd8 | refs/heads/master | 2021-01-20T17:46:14.334183 | 2016-06-30T20:09:00 | 2016-06-30T20:09:00 | 62,339,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,834 | h | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-10 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | [
"penagos@mit.edu"
] | penagos@mit.edu |
27d2fefbfcab130f49188245fdcc8c8cf5748e5b | 6e9e14744f8a4a3a7d8b9369a82c31cb3f0e55c0 | /Other/ecs/Elements/Elements.hpp | ba63ffdecaae145d3672344e22f94fd041c3b970 | [
"AFL-3.0",
"AFL-2.1",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | laiyierjiangsu/cppcon2015 | 0f20f97be77534f4f2845b14c09c1f742a8c41b5 | 870f600af729af1400b06f64eeabfb9f9d30a19e | refs/heads/master | 2021-01-23T14:15:56.653940 | 2017-09-07T02:50:59 | 2017-09-07T02:50:59 | 102,681,861 | 0 | 0 | null | 2017-09-07T02:31:56 | 2017-09-07T02:31:56 | null | UTF-8 | C++ | false | false | 221 | hpp | #pragma once
#include "../../ecs/Elements/Tag.hpp"
#include "../../ecs/Elements/Component.hpp"
#include "../../ecs/Elements/System.hpp"
#include "../../ecs/Elements/Clause.hpp"
#include "../../ecs/Elements/Signature.hpp" | [
"vittorio.romeo@outlook.com"
] | vittorio.romeo@outlook.com |
7d7fc8913d53307331646072ee30edc737a5d0b1 | 0dffbe309507e491d3ed4570780bfd36bee0b7d9 | /Doom/src/Doom/Rays/Ray2D.h | f0c3b76122212806aead9531b1d7199e554fb4b5 | [
"MIT"
] | permissive | southdy/OpenGL_Engine | ff84840cff9b3320ef9e4dbd6c9815a86f1be8b2 | 3adaab249538a709cfd57507af502fb4e4e2d9ae | refs/heads/master | 2023-04-17T18:45:02.044095 | 2021-04-22T22:01:58 | 2021-04-22T22:01:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
namespace Doom {
class DOOM_API Ray2D {
public:
struct Hit {
glm::vec3 m_Point;
RectangleCollider2D* m_Object;
};
std::vector<std::string> m_IgnoreMask;
float m_Length;
glm::vec2 m_Dir;
glm::vec2 m_Start;
glm::vec2 m_End = glm::vec2(0.f);
bool Doom::Ray2D::RayCastObjects(Hit & ... | [
"turlak01@mail.ru"
] | turlak01@mail.ru |
256885463cbccdd4342b9bb9e594a7ee50ef2e32 | 58503d57a364304767a30fe467c21c770f063ede | /src/ofxViveTrackerOSC.h | 1f7ded9d0d8c174356692eee2977b12578428668 | [
"MIT"
] | permissive | micuat/ofxViveTracker-OSC | 33bed25ed3909f65bd780ddbb28a7098955e716c | 694a1f8f418e5773a3bee6e51295c44885966076 | refs/heads/master | 2023-02-21T02:33:38.467507 | 2020-09-28T10:52:58 | 2020-09-28T10:52:58 | 332,906,749 | 0 | 0 | MIT | 2021-01-25T22:53:17 | 2021-01-25T22:52:37 | null | UTF-8 | C++ | false | false | 1,339 | h | //
// ofxViveTrackerOSC
//
// Created by Yuya Hanai on 2017/06/02
//
#pragma once
#include "ofxOsc.h"
namespace ofxViveTracker
{
// from OpenVR SDK
// https://github.com/ValveSoftware/openvr
enum ETrackedDeviceClass
{
TrackedDeviceClass_Invalid = 0, // the ID was not valid.
TrackedDeviceClass_HMD = 1, ... | [
"hanasan.hanasan@gmail.com"
] | hanasan.hanasan@gmail.com |
2a0f456619073c01b18dadb06b28a880ca0aeaed | 48540a443c5ce65379d9439cade1cc47f6c360f5 | /main.cc | 146091295b9f087b8182f80d29d15edd10544420 | [] | no_license | yang-su2000/Game-of-Chess | dbdb8f276dfbb73e39ea5934484c52422c851110 | 0a3602d327040254df9fbe3b79a1e1a3d8f7b5ca | refs/heads/main | 2023-05-25T11:18:30.717857 | 2021-06-08T13:54:41 | 2021-06-08T13:54:41 | 375,012,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,278 | cc | #include <iostream>
#include <sstream>
#include <string>
#include "game.h"
using namespace std;
//A Player can be one of typeOfPlayers, otherwise the input is invalid
bool checkValidPlayers(string playerOne, string playerTwo){
string typeOfPlayers[5] = {"human", "computer[1]", "computer[2]", "computer[3]", "computer[4... | [
"y242su@uwaterloo.ca"
] | y242su@uwaterloo.ca |
05dd204e37f32a05f30d882bbba8dfb3a1b1418a | 08b3f234d56e71e80e4cd973c25f85ab354268e8 | /OOP1-Lab5/Source3.cpp | 2bc91dadfe4cc9f2650503a82e921ef988e8ec58 | [] | no_license | Anurag22022/cpp-projects | 2044b8962e9e7bf3344b99631d2e9b4670c42e0e | 9ef3d35773da4dfdc9ed37c8cdade623cbf86ca5 | refs/heads/master | 2023-06-10T18:57:10.009551 | 2021-06-29T07:00:21 | 2021-06-29T07:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | //Practical Lab Assignment-7(Week 9)
//ID:U1910049 Name:Rustam Zokirov
//Program to sum the series up to n
#include <iostream>
#include <math.h>
using namespace std;
double qwerty(double n, double sum, double fact) {
for (int i = 1; i <= n; i++) {
fact = fact * i;//calculating the factorial of the numbers
sum += ... | [
"zokirovrustam202@gmail.com"
] | zokirovrustam202@gmail.com |
64fda3ee96cc0c9d33d48dca85af3d9440e553b8 | 27bb5ed9eb1011c581cdb76d96979a7a9acd63ba | /aws-cpp-sdk-opsworks/source/model/DescribeDeploymentsRequest.cpp | ae9e3085de81800e671988cdfb406ae246ad8a6c | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | exoscale/aws-sdk-cpp | 5394055f0876a0dafe3c49bf8e804d3ddf3ccc54 | 0876431920136cf638e1748d504d604c909bb596 | refs/heads/master | 2023-08-25T11:55:20.271984 | 2017-05-05T17:32:25 | 2017-05-05T17:32:25 | 90,744,509 | 0 | 0 | null | 2017-05-09T12:43:30 | 2017-05-09T12:43:30 | null | UTF-8 | C++ | false | false | 1,923 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
186ad51cba1170b16fbda17e27aeaa670ef35fda | a43d5044f5dbb991604fa7dddc17d863e1713cf5 | /Lab18/Lab18_13/Time.cpp | 7cc594c5886c2adeb036f7b5917bb581842d21d6 | [] | no_license | alexuglav/Labs | 5c7b25acfebbc294ceaa7a4a33e58c0d3fb4be70 | 6902678453280b248c41752503bb635d03da9dff | refs/heads/main | 2023-05-31T02:18:44.698424 | 2021-06-18T19:48:31 | 2021-06-18T19:48:31 | 321,436,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | #include "Time.h"
int SafeInput(bool strict)
{
int result;
while (!(cin >> result) || (cin.peek() != '\n') || (strict && result <= 0) || (result > 60)) {
cin.clear();
while (cin.get() != '\n');
cout << "Введите корректное время!" << endl;
}
cin.get();
return result;
}
Time::Time() {
mins = 0; secs = 0;
}
Ti... | [
"noreply@github.com"
] | noreply@github.com |
25f3a1d1df8dc58d9d92cbd41d260ce7e0ae5b14 | 289981ad5c77890b2663a6a03e93ac36c114d741 | /LeetCode/174. Dungeon Game.cpp | e52509608c1422b2bfc85d9d1bc8863305503694 | [] | no_license | YuThrones/PrivateCode | 87455dc7e950d07f24aaafb6914ef870c0d16b8c | cac0cee2a00e8e13ca6a234768d67b7f3df59bc6 | refs/heads/master | 2023-04-02T10:17:19.757436 | 2023-04-01T05:57:50 | 2023-04-01T05:57:50 | 177,959,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,971 | cpp | // 动态规划问题,用一个矩阵存储每个各自需要的最小值,从右下角开始,往左上角填
// 每个位置只依赖自己右边和下边的各自,从中选出需求更小的那一个作为下一步
// 每个位置有两种情况,如果这个位置的值是负数,那么需要负担绝对值的代价,以及下一步的代价(注意如果是下一步代价最小为1,因为数值为0即为死亡)
// 如果这个位置的数是非负数,那么就要看看当前位置提供的值是否足以覆盖下一步的代价,如果足够,那就不需要付出额外代价,否则则对前一步剩下的值有要求,最小为1
class Solution {
public:
int calculateMinimumHP(vector<vector<int>>& dungeon) {
... | [
"YuThrones@users.noreply.github.com"
] | YuThrones@users.noreply.github.com |
52608bb0fac13340fc2deb4e78c2bd9778d115c5 | 307b4b653c88b10a3ec491c76c7b820d5631cb2a | /include/path.manager.h | 9db36c6bc59184930cf853d955c6a7e1c3f88c24 | [] | no_license | OlivierSohn/cpp.managers | 2bd4dfe59988e4c25fff435321f5872d4c7b4599 | b17c8f56479f5db0a6fa9450718ed7fca65c74e0 | refs/heads/master | 2020-03-12T17:00:44.203845 | 2018-06-19T08:14:57 | 2018-06-19T08:14:57 | 130,727,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,247 | h |
namespace imajuscule
{
// when first created, if a path is passed to the PathManager it becomes the current directory
template <>
class ReferentiableManager<PathSuite> : public ReferentiableManagerBase
{
friend class Globals;
public:
static ReferentiableManager * getInstance();
... | [
"olivier.sohn@gmail.com"
] | olivier.sohn@gmail.com |
85e51028b607148b5d17ea044dea14672517aac8 | 82fd4112895ffcb93004c1f83f2ad1204ed81657 | /get start/floatcom.cpp | 39fc3fe08b41f137f5c5836ecbcda5f5810a4aae | [] | no_license | hirokishingu/learnCpp | 6097162760ed16e8671d2ee5e470ae82304f0118 | bb5a78e61b3cf55998a4698775ab15406beba4d7 | refs/heads/master | 2021-01-21T10:09:21.060365 | 2017-03-03T06:56:28 | 2017-03-03T06:56:28 | 83,391,017 | 0 | 0 | null | 2017-03-03T06:56:29 | 2017-02-28T04:53:27 | C++ | UTF-8 | C++ | false | false | 253 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main(){
float value1 = 1.1;
if(value1 == 1.1){
cout << "equals" << endl;
}else{
cout << "not equals" << endl;
}
cout << setprecision(10) << value1 << endl;
return 0;
} | [
"hrksng@hrksng-no-MacBook-Pro.local"
] | hrksng@hrksng-no-MacBook-Pro.local |
2e2c020c89a42db2f808859930a07bedd60a4d14 | 0a0b2d02c194f5a0eaf89fb2b03f6e2ab312342a | /pageFault.cpp | 4d1b90856b08345ed9af4a383471e57bd25443ef | [
"MIT"
] | permissive | Ni-Chang/Operating-System | e0b5f46780b96a18768d0e2e6e11c455515e18dc | 3764e36d7650e4f9d5d7eec0b87a53286619a9ef | refs/heads/master | 2020-03-30T18:13:00.125168 | 2018-10-03T22:37:14 | 2018-10-03T22:37:14 | 151,489,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | cpp | //
// main.cpp
// PageFault
//
// Created by xiaonizi on 2018/4/16.
// Copyright © 2018年 xiaonizi. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
bool find_int(vector<int> arr, int x){
int i;
for(i=0; i<arr.size(); i++){
if(arr[i]==x){
return true;
... | [
"changni@buaa.edu.cn"
] | changni@buaa.edu.cn |
351571f06669a3f5e4d910a441d95454c3f87402 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/08/53/18.cpp | 18a7f09eed9a0bee8716187d522acdddfa1b72fa | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | cpp | #include <cstdio>
#include <vector>
using namespace std;
#define forn(i, n) for (int i = 0; i < (int)(n); i++)
#define m 110
#define mm (m * m)
int w, h, nt, u[mm], ma[mm], ok[mm];
char a[m][m];
vector <int> c[mm];
int dfs( int v )
{
u[v] = 1;
forn (i, c[v].size())
if (ma[c[v][i]] == -1 || (!u[ma[c[v][i]]]... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
fd9f04b5e997e7881a327e9492e14b78ba05c7bf | c8f54f8d26c25e43742738d70d43fb7eebc85f63 | /DisjointSet.cpp | c126084b084556a76a6763958455bdd7a726dde3 | [] | no_license | monk1108/data_structure | aa1467281677da2ae3a25ca50512b8db3e527812 | 025363ecaf2ffa5717fc79edd18606c10401369b | refs/heads/master | 2022-11-11T16:42:18.458509 | 2020-06-29T04:32:00 | 2020-06-29T04:32:00 | 275,729,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,101 | cpp | //不相交集
#include <iostream>
using namespace std;
class DisjointSet
{
private:
int size;
int *parent;
public:
DisjointSet(int s);
~DisjointSet(){delete []parent;}
void Union(int root1, int root2);
int Find(int x);
};
DisjointSet::DisjointSet(int s)
{
size = s;
parent = new int [size];
... | [
"61319274+monk1108@users.noreply.github.com"
] | 61319274+monk1108@users.noreply.github.com |
289b0c915e7ead4407a73cd57aba74f03618845b | 9712d539375691cd8abf71ab607e755e9f0486ac | /vcvrack/Beat707/src/plugin.cpp | 8ae3da7a94228adc28143d8ac94783c47909e0e9 | [] | no_license | FrankBuss/beat707 | 187c3a4818f9ac3546a6e7e6bf78a6bfe5c92ce5 | 2c0e2c3467e491b536756fc72fd0ff67bb8d99ae | refs/heads/master | 2023-06-02T04:34:49.748440 | 2023-05-15T00:04:38 | 2023-05-15T00:04:38 | 170,667,845 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include "plugin.hpp"
Plugin* pluginInstance;
void init(Plugin* p) {
pluginInstance = p;
// Add modules here
p->addModel(modelBeat707Simulation);
// Any other plugin initialization may go here.
// As an alternative, consider lazy-loading assets and lookup tables when your module is created to reduce startup ... | [
"fb@frank-buss.de"
] | fb@frank-buss.de |
72177dca452b57a7f3395bc3d85845568e5cbcae | a1c96cafec784cc1c930dd5427ecd92115cb1d23 | /QuickGUI/include/QuickGUITimerManager.h | 6ac7e5e39dc1374ad68043f0778af13a0c4d797c | [
"MIT"
] | permissive | gearcity/VENT-QuickGUI | 238f9bd1291e7cc6206a859b54f8c3448a47921a | 7c687193001bcf914bd4a9947644915091ea8723 | refs/heads/master | 2021-05-29T23:39:16.651413 | 2015-12-09T20:11:59 | 2015-12-09T20:11:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | h | #ifndef QUICKGUITIMERMANAGER_H
#define QUICKGUITIMERMANAGER_H
#include "QuickGUIExportDLL.h"
#include "QuickGUITimer.h"
#include "OgreFrameListener.h"
#include "OgreRoot.h"
#include "OgreSingleton.h"
#include <vector>
namespace QuickGUI
{
class _QuickGUIExport TimerManager :
public Ogre::Singleton... | [
"admin@ventdev.com"
] | admin@ventdev.com |
322d0675092ca61b0c05e6e60e51d954043ec885 | 64534a2cfb924e1804859797f9858b79132131b5 | /src/gep/src/gep/globalmanager.cpp | 7312e82de23e62d7b6ff6b80eaee630b8612cc94 | [] | no_license | marijnz/bouncingballs | 5b098aaa4890b35d74d75feb9997971f44de2cf2 | 5083307b4045a3304326998d88eac147b9d927d7 | refs/heads/master | 2020-07-20T11:57:18.650249 | 2015-01-28T18:11:51 | 2015-01-28T18:11:51 | 29,972,843 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,355 | cpp | #include "stdafx.h"
#include "gep/globalManager.h"
#include "gepimpl/subsystems/renderer/renderer.h"
#include "gepimpl/subsystems/renderer/extractor.h"
#include "gepimpl/settings.h"
#include "gepimpl/subsystems/updateFramework.h"
#include "gepimpl/subsystems/logging.h"
#include "gepimpl/subsystems/memoryManager.h"
#in... | [
"me@arcomul.nl"
] | me@arcomul.nl |
db9e8e40c5c74777a6da05835f0ecbd49ba75a94 | e3007f1c87c734f576bcbd7083dce72ec9f59e4b | /src/RcppExports.cpp | 4fe95eb439702d46475828fa5256d11d5a1af207 | [] | no_license | bjmt/universalmotif | 99b0dfe9c9afea6f9a5a0db596c88c264aa194b3 | ca0445479eda1043758a62aeb3b6239fbfa144ac | refs/heads/master | 2023-07-20T05:51:55.219814 | 2023-07-11T14:17:23 | 2023-07-11T14:17:23 | 82,811,804 | 17 | 16 | null | 2022-05-30T09:27:26 | 2017-02-22T14:10:28 | R | UTF-8 | C++ | false | false | 63,101 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppThread.h>
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcer... | [
"benjmtremblay@gmail.com"
] | benjmtremblay@gmail.com |
fc93e252d55e6071c139b587cbdb3535ea8677e4 | f93fa38f4a124887a4db9a7cb1a25b1e246888ba | /src/hello_imgui/internal/image_gl.cpp | 21e89febe0e6b2263991c234946b931c505b0111 | [
"MIT"
] | permissive | zertyz/hello_imgui_rpi | 7fd3b6f5984448c733e32d49856bd582722de9e3 | 3a49449585211bfc28e0904be84ce47a511d5d0c | refs/heads/master | 2022-12-01T01:05:41.232513 | 2020-07-29T23:19:15 | 2020-07-29T23:19:15 | 283,616,547 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,343 | cpp | #ifdef HELLOIMGUI_HAS_OPENGL
#include "hello_imgui/hello_imgui_include_opengl.h"
#define STB_IMAGE_IMPLEMENTATION
#include "hello_imgui/internal/stb_image.h"
#include "hello_imgui/hello_imgui_assets.h"
#include "hello_imgui/image_gl.h"
namespace HelloImGui
{
ImageGl::ImageGl(const char *assetPath)
{
auto assetDa... | [
"pthomet@gmail.com"
] | pthomet@gmail.com |
373bbad52e140ef803a283565ffa313acae7274b | 4c1709664e1fe973f41d435502b47b074c041b28 | /alg_1.cpp | 7e1381bbf8ebabbea46f036307cee9553897dffb | [] | no_license | elxON/AlogrithmTest | cc1a449e0643f1c492f1dc9500c5a678130867df | 367c228dc1ec101ff2df5a67384f6d32031aa6f9 | refs/heads/master | 2016-09-06T10:48:02.699694 | 2014-09-02T12:53:16 | 2014-09-02T12:53:16 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,058 | cpp | //微软面试一百题系列
//NO.001
// 把二元查找树变成排序的双向链表
/* 10
head NULL tail NULL
->l 6 head lt
->l 4 head lt ->4
->r 8 rh tail(lt) ->8
-> 6 4=6=8 head->4 lt->8
->r 14 rh tail
->l 12 head(rh) lt ->12
->r 18 rh tail->18
-> 14 12=14=18 rh->12 tail->18 */
//树的节点结构
struct BSTreeNode
{
int m_nValue;
BSTreeNode *m_pLeft;
BSTreeN... | [
"vhile@sina.com"
] | vhile@sina.com |
a8b77e8051d995a36455231e022e711024b091c2 | 4a0fd82303018bec991ec938b90b776a089893fc | /hw2_task1.cpp | 53ed265821d3097565622f596a594fbb24583215 | [] | no_license | RKeynes/OOP_homework | d1d7cc91556816c27156ff1721a0b111f7338066 | 0db1ef289b9a0ca8c34a54894cad237f4f31545d | refs/heads/main | 2023-03-26T20:55:00.740102 | 2021-03-25T12:29:37 | 2021-03-25T12:29:37 | 345,076,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include <iostream>
#include <string>
class Person
{
public:
std::string m_name;
double m_age;
char m_sex;
double m_weight;
};
class Student : public Person
{
public:
int m_year_of_study;
//static int counter = 0;
//Student()
//{
// counter++;
//}
void set(std::string name, doubl... | [
"noreply@github.com"
] | noreply@github.com |
4beaf71f360de0d97f90942929de070dbfa0f7b6 | cc2ddb1220f185658b58e7ac705b794576e1ecc1 | /traineeAprendizado/devel/.private/aprendizado/include/aprendizado/Num.h | 02393af1e1a22e9f2fbd945c3b835cb5c335b6ff | [] | no_license | BielLopes/myROSTeaching | cfc23c2986bf4fe162720ac5899a48b8aef37e6b | bd89f573461397d3d8ebd6f76aaa3e419a7cfd54 | refs/heads/master | 2023-02-28T20:07:23.435810 | 2021-02-07T17:40:56 | 2021-02-07T17:40:56 | 336,846,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,332 | h | // Generated by gencpp from file aprendizado/Num.msg
// DO NOT EDIT!
#ifndef APRENDIZADO_MESSAGE_NUM_H
#define APRENDIZADO_MESSAGE_NUM_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.... | [
"gabriel.galoma@gmail.com"
] | gabriel.galoma@gmail.com |
5416855c57804ae56bb2ba185b3823015df13e15 | dbb483e797fd686138049c21bb63fb632331f7f0 | /ccdrtableviewext.h | c494d2f20f6c7e1893c9cb1bdce012ff29df876f | [] | no_license | eriwoon/QtCdr | 8cf90eaa48edb1ff862fddb3015ffec39d89dc6c | b25619f8882f418c10eb5f9fdb7b84a1f250718b | refs/heads/master | 2020-05-19T07:58:13.204480 | 2016-01-18T06:12:52 | 2016-01-18T06:12:52 | 11,137,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | h | #ifndef CCDRTABLEVIEWEXT_H
#define CCDRTABLEVIEWEXT_H
#include <QTableView>
#include "ccdrdata.h"
class CCDRTableViewExt : public QTableView
{
Q_OBJECT
public:
CCDRTableViewExt();
signals:
void clicked(QString s);
private slots:
void onHearingClicked(QModelIndex);
public:
void setModel(CCdrData... | [
"x00194181@szxy8x001941811.china.huawei.com"
] | x00194181@szxy8x001941811.china.huawei.com |
b88f0a10f91a2f83b2b0cf72bc935105262ed103 | 76498c63a2fa1de8b6419bbd8783f05ee4f409eb | /_studio/mfx_lib/encode_hw/hevc/agnostic/g9/hevcehw_g9_packer.h | 94ce3debf90b3a6f0f5be3a1525bb011ce174197 | [
"MIT",
"Intel",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | egorovdanil/MediaSDK | c14ac1835d5cc9dcd34f0961b5dab08220e132f4 | 782f0b90179997c96a69e8ea772fe3eb27bccd6e | refs/heads/master | 2021-11-29T16:55:51.446553 | 2020-04-27T15:09:06 | 2020-05-13T14:27:10 | 205,826,557 | 1 | 0 | MIT | 2019-09-02T09:48:54 | 2019-09-02T09:48:53 | null | UTF-8 | C++ | false | false | 8,921 | h | // Copyright (c) 2019 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... | [
"oleg.nabiullin@intel.com"
] | oleg.nabiullin@intel.com |
d08dc04dbe0824196b52e1caf42acedb9bb12e95 | 0a54b4d9bb839fbbb0441063f95d75c33585e2e0 | /buildcc/lib/target/src/target/source.cpp | 4b0be3875a988c35a0522e064b8037ffff924966 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | d-winsor/build_in_cpp | 586fa76fbe57935a234976fcf432be1c9227545f | 581c827fd8c69a7258175e360847676861a5c7b0 | refs/heads/main | 2023-09-02T17:24:52.316406 | 2021-10-25T04:55:20 | 2021-10-25T04:55:20 | 421,925,758 | 0 | 0 | Apache-2.0 | 2021-10-29T18:00:30 | 2021-10-27T18:10:35 | null | UTF-8 | C++ | false | false | 4,390 | cpp | /*
* Copyright 2021 Niket Naidu. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | [
"noreply@github.com"
] | noreply@github.com |
2642ea2dd6c24d0098956dd1498ed2852e43e047 | 9b6506075cd5bd8220189aa536c29ba0b60d953d | /src/node/users.h | 990235b521f9c7c53a9fd0d25789af7cd29e4c29 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | julienmaffre/CCF | 5ba38d796137d7aedef544c9241a49590ac7cd41 | b571047136017a43ff548ed728c72efa550a4592 | refs/heads/master | 2020-09-08T04:57:44.258790 | 2019-11-11T16:28:43 | 2019-11-11T16:28:43 | 221,022,339 | 0 | 0 | Apache-2.0 | 2019-11-11T16:26:32 | 2019-11-11T16:26:31 | null | UTF-8 | C++ | false | false | 368 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#pragma once
#include "entities.h"
namespace ccf
{
struct UserInfo
{
std::vector<uint8_t> cert;
MSGPACK_DEFINE(cert);
};
DECLARE_JSON_TYPE(UserInfo);
DECLARE_JSON_REQUIRED_FIELDS(UserInfo, cert);
... | [
"noreply@github.com"
] | noreply@github.com |
16739207f83317e2eb3fc3c29c168326a9636573 | 4207610c48cbb9021f4420791a9c9d07550b72d9 | /JuceLibraryCode/include_juce_audio_plugin_client_VST2.cpp | c35394b418a63b92adc5a57c77bfb276ab64f3b6 | [
"GPL-2.0-only",
"BSD-3-Clause"
] | permissive | RomanKubiak/ctrlr | d98a910eb46f6cf4324da3fc3ae664cc7dd5aec9 | 8aa00d82127acda42ad9ac9b7b479461e9436aa4 | refs/heads/master | 2023-02-13T00:21:04.546585 | 2022-06-24T10:53:16 | 2022-06-24T10:53:16 | 14,671,067 | 435 | 82 | BSD-3-Clause | 2022-05-31T18:18:23 | 2013-11-24T22:53:11 | C++ | UTF-8 | C++ | false | false | 252 | cpp | /*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
*/
#include "AppConfig.h"
#include <juce_audio_plugin_client/juce_audio_plugin_client_VST2.cpp>
| [
"kubiak.roman@gmail.com"
] | kubiak.roman@gmail.com |
77bfc427625d5ea58960f28d68fe06f9ba3ce0ce | bfd9fac05797c214e6187c3254587432393911d5 | /molecule_methane.cpp | e76cb5c55181d72207d6728900aaae6549516e53 | [
"WTFPL"
] | permissive | emvivre/Chirality-game | 4bccd0a72b96b04a25018885a45dce18db0b0c40 | b538bec3f6cf7aa5b39d28125f63c207273af22b | refs/heads/master | 2021-01-19T08:58:31.120809 | 2017-04-09T11:50:45 | 2017-04-09T11:50:45 | 87,702,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472,927 | cpp | /**
* Copyright: (c) 2014 François Lozes <emvivre@urdn.com.ua>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Do What The Fuck You Want To
* Public License, Version 2, as published by Sam Hocevar. See
* http://www.wtfpl.net/ for more details.
*/
#include "... | [
"emvivre@urdn.com.ua"
] | emvivre@urdn.com.ua |
7f911a2fd507e971d2b404d3eef83cf57edce5d4 | 5fa6dbd0f9ae7e8c6dbb22f0350de5f1936b8d69 | /Drill/Ch12_Drill/drill.cpp | 94e6958f6a2728aaab8c383b0c456d4482ae67e7 | [] | no_license | venkateshpappu/Prog1 | 6ce539126de644a517799e3a260cc3d1b25293fa | f8d08048d55405b3c0cdd8db5a92ff8e47f99cd5 | refs/heads/master | 2023-05-05T09:54:23.951486 | 2021-05-26T10:07:35 | 2021-05-26T10:07:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,712 | cpp | #include "../../week02-06/GUI/Simple_window.h"
#include "../../week02-06/GUI/Graph.h"
//g++ drill.cpp ../../week02-06/GUI/Graph.cpp ../../week02-06/GUI/Window.cpp ../../week02-06/GUI/GUI.cpp ../../week02-06/GUI/Simple_window.cpp -o main `fltk-config --ldflags --use-images`
int main()
{
Point tl {100,100}; // to beco... | [
"heavymarcy98@gmail.com"
] | heavymarcy98@gmail.com |
0f58dcb7c65cde034ba25bccc7cb82477ea25c66 | fa10f39cd2dbffebd863cd7f1d8b28c5177ee1c5 | /mySketch/chair_2015_5_11/src/ofApp.cpp | 079a820d0e2ed61bb47bbb99114388430cf8e208 | [
"MIT"
] | permissive | Samasamata/idd_medilab15 | dd2895c207449e77ab02ae0ebf1dc630272c6e98 | dbb0b27a40c9b8dc57bffc531ab3ae69030a015c | refs/heads/master | 2021-01-22T15:43:15.840269 | 2015-07-14T05:53:21 | 2015-07-14T05:53:21 | 34,304,686 | 0 | 0 | null | 2015-04-21T04:43:58 | 2015-04-21T04:43:58 | null | UTF-8 | C++ | false | false | 1,367 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofBackground(20, 100, 200);
}
//--------------------------------------------------------------
void ofApp::update(){
}
//--------------------------------------------------------------
void ofApp::... | [
"k.b.66kg@gmail.com"
] | k.b.66kg@gmail.com |
ba807a6839800cfa8d977268f95e22b4cdc4a7ce | e190cd4b66b914b6f777ba965bddd16db2e98543 | /clock.cpp | 1158cfa3f7a50d7b752564e95fe24cb6154f5fcd | [] | no_license | RitzyDatta/Graphics | ead6c784a6242706a6863b9ad9b2b44a8cb1fa8d | a6c6dba2a4ed97200002d9323235a54d6ca8b9d6 | refs/heads/master | 2020-03-08T04:36:21.199942 | 2018-04-03T15:23:12 | 2018-04-03T15:23:12 | 127,926,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | #include<stdio.h>
#include<conio.h>
#include<math.h>
#include<graphics.h>
#define fx(x) ((getmaxx()/2)+x)
#define fy(y) ((getmaxy()/2)-y)
#define pi 3.1414
int main()
{
initwindow(400,400);
int x, y, i;
float x1,y1,x2,y2,a,b,x3,y3,c,d,x4,y4;
x=0;y=0;
/*outtextxy(110,310,"TUE");
outtextxy(16... | [
"noreply@github.com"
] | noreply@github.com |
9b673e826be04af036a5598c669bf5c154cf3198 | 4e349b6cd99953a3aa4a4bf2429ab90f7ddd9dac | /aggr_workers/date.cpp | f361cd768f5746795d3f1b93ce74f70a92178cf0 | [] | no_license | ZapDos7/syspro3 | 0cef93ee7681c2f6cf3f22c8d3a06f5b77f7e2d1 | 9b6e70ad9c329691fb6df16e1113e16580bdd53e | refs/heads/master | 2022-12-08T04:12:15.571961 | 2020-08-25T15:59:53 | 2020-08-25T15:59:53 | 269,070,089 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,815 | cpp | #include "date.h"
using namespace std;
date::date() {
day = 0;
month = 0;
year = 0;
set = false;
}
date::date(string str)
{
if (str == "-")
{
this->set = false;
this->day = this->month = this->year = -1;
}
else
{
char *cstr = new char[str.length() + 1]; //a... | [
"ioanna.zapalidi@gmail.com"
] | ioanna.zapalidi@gmail.com |
25d0c9bec8d36ddd54889942d72a77aef805b034 | 0039e70ff8c8f2ebe0c61ed7daaf3473d02b0952 | /ssmapp自营/OIDCardReader.h | e250d1bd439199b4e6314a068bb21a68ad2285ce | [] | no_license | liyshou/ibox | 3caef8b8940839dbfa38154d8212b5c8a531e946 | 47483d8776ecb799d80c60b978a0b01a8e57bce6 | refs/heads/master | 2016-08-08T04:10:57.612984 | 2015-11-05T07:51:53 | 2015-11-05T07:51:53 | 42,940,087 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | h | #include "stdafx.h"
#pragma once
class CIDCardData
{
public:
CString name;
CString sex;
CString nation;
CString birthday;
CString address;
CString idcode;
CString department;
CString start;
CString end;
void ClearData()
{
name.Empty();
sex.Empty();
nation.Empty();
birthday.Empty();
address.Empty... | [
"lyswwr@126.com"
] | lyswwr@126.com |
03b95191e5eedb191f0797144a152ae402bf579d | 43234eec58339bf0846ed3406d5d32bd7f7e7dd2 | /vm-support/windows/uxenkmdod/perfcnt.cxx | 8815c4401a2837840e3c61171420d4d75786189a | [] | no_license | vkkevin/uxen | d7cf62e4f2b670d33c416e71033cb4987c2b46f6 | 9bc774601c6ea9f3c78a5f6ee50db37b4a8315f2 | refs/heads/master | 2023-06-15T07:26:46.089999 | 2018-07-19T10:04:01 | 2018-07-19T10:04:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cxx | #include "bdd.hxx"
#include "perfcnt.h"
#undef PERFCNT
#define PERFCNT(id) {# id},
static struct {
const char *name;
} perfcnt_desc[PERFCNT_MAX] = {
#include "perfcnt_defs.h"
};
__int64 perfcnt[PERFCNT_MAX];
void perfcnt_dump()
{
int i;
for (i = 0; i < ARRAYSIZE(perfcnt_desc); i++)
... | [
"hudson@trmm.net"
] | hudson@trmm.net |
a1931078fe758b398cdec850f29184333a305ce3 | f8510a612de4bdd233a5272dd01a45f3b052e5f6 | /Assignment 5/180010027.cpp | 9cd51cd3ba94151fa8c07b9320a5827fb4f6bd89 | [] | no_license | rishitsaiya/CS211-DSA-Lab | 51d70e125e6bec9ff4a66ff678af773eb1fc93cf | 26428d864fbc95f7df138e99a2eda4b2891895f5 | refs/heads/master | 2022-12-19T23:57:05.745999 | 2020-09-22T12:54:44 | 2020-09-22T12:54:44 | 223,901,068 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,766 | cpp | #include<bits/stdc++.h>
using namespace std;
ofstream fout("radix.txt"); //Output File pointer declared
int max(int arr[], int n) { //Function to extract the maximum element in the array
int maximum = arr[0]; //Intial assumption for max element
for (int i = 1; i < n; i++) //For loop to check all the el... | [
"noreply@github.com"
] | noreply@github.com |
6f4473271d8b398c1f49e39725b6c405bb11207c | e68c1f9134b44ddea144f7efa7523076f3f12d3a | /FinalCode/Monk_Male_DW_SF_Lightning_01.h | b734f4919ecc0168a89d28e49be26b97f0e16612 | [] | no_license | iso5930/Direct-3D-Team-Portfolio | 4ac710ede0c9176702595cba5579af42887611cf | 84e64eb4e91c7e5b4aed77212cd08cfee038fcd3 | refs/heads/master | 2021-08-23T08:15:00.128591 | 2017-12-04T06:14:39 | 2017-12-04T06:14:39 | 112,998,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | h | #pragma once
#include "playerstate.h"
class CMonk_Male_DW_SF_Lightning_01 : public CPlayerState
{
private:
int m_iMode;
int m_iSlotNum;
public:
virtual void Initialize();
virtual CPlayerState* Action();
public:
CPlayerState* Mode0();
CPlayerState* Mode1();
CPlayerState* Mode2();
public:
explicit CMonk_Male_... | [
"iso5930@naver.com"
] | iso5930@naver.com |
4d2c73101fd3aaf1b8dc48a0853cdb80fde82918 | dc618283c5c2ea57f15c4301d118ad9bd56547c0 | /500/U | e02226e2786bfdbf61304b80ae7327a71237b67e | [] | no_license | fbob/PyVista_OpenFOAM_Tutorial | 2e07b20fe856b8513b8d6d336236ce397d1193ea | 955b515f280166b69d01b21659df4959d5514509 | refs/heads/main | 2023-06-16T19:02:27.487732 | 2021-07-13T12:34:48 | 2021-07-13T12:34:48 | 384,151,602 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340,436 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"noreply@github.com"
] | noreply@github.com | |
8e1e6258f6b5d06487cbb4ecd2a71d7221b5247d | 5224369ad26f81382ccea7dc18beb78199252b96 | /Project 5/Graph.cpp | 9cc23087a94e985e41f8e84130fe9735e04966e3 | [] | no_license | AnthonyCLong/Data-Structures-Projects | 72512b3f5a89a81ff9e3ec5683cc1d672ace5320 | 1714e5daa04b5cd4435048e5df0f7ddf64acd647 | refs/heads/main | 2023-02-11T20:24:20.126405 | 2021-01-11T05:47:13 | 2021-01-11T05:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,144 | cpp | #include "Graph.hpp"
#include <iostream>
#include <map>
#include <vector>
#include <climits>
void Graph::addVertex(std::string label)
{
//edge is an empty map of destination verticies and weights
edge ed;
if (verticies.find(label)==verticies.end())
verticies.insert(std::p... | [
"noreply@github.com"
] | noreply@github.com |
c5eedda27276b6cd6f82c761dcedab7b83e99319 | 558dece528927a181dcf8afdc6b6c85edaaeb584 | /Data Structure/Square Root Decomposition/CF - 13E with sqrt decomposition.cpp | 6d92b79a32d664ef8e18869fa9505252dd064ad5 | [] | no_license | rohannstu/Algorithms | dd5e9bc8d57ba512ad2b1d27bb761eda7d3ed1a9 | b121d952d01687dd52279b91ef19d9533ba05be5 | refs/heads/master | 2023-04-09T12:30:21.547535 | 2021-04-08T11:23:54 | 2021-04-08T11:23:54 | 569,421,358 | 1 | 0 | null | 2022-11-22T19:40:43 | 2022-11-22T19:40:41 | null | UTF-8 | C++ | false | false | 8,221 | cpp | ///****In the name of ALLAH, most Gracious, most Compassionate****//
#include<bits/stdc++.h>
#define Input freopen("in.txt","r",stdin)
#define Output freopen("out.txt","w",stdout)
#define ll long long int
#define ull unsigned long long i... | [
"noreply@github.com"
] | noreply@github.com |
988001f21365b9dce576adabb6aa6e2fd3e4d20f | 9872b27ffbc07d35fc2e3f0cb9b8316d2bd70091 | /hw7/search.cpp | 2a04a29f273c8399142411f77d476c63a3f04b1d | [] | no_license | 6rayWa1cher/cpp-study | df937241c3ae54f3b2de9fba1a879532800be385 | bbee4898c233ebd72c2dc55cd57cb38d75a7e78e | refs/heads/master | 2022-07-11T15:59:30.172557 | 2020-05-15T14:45:16 | 2020-05-15T14:45:16 | 212,641,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | //
// Created by 6rayWa1cher on 04.02.2020.
//
#include "search.h"
#include <cmath>
#include <limits>
bool approxEquals(double a, double b) {
return abs(a - b) < 0.0000001;
}
double searchNearest(std::vector<double>::iterator start, std::vector<double>::iterator end, double r) {
double currentReturn = std::numeric... | [
"info@a6raywa1cher.com"
] | info@a6raywa1cher.com |
ccc8bc8da29c530593648fa712e4458ee23686d8 | 03c1325893b502b7855f83287e02e7f14af4f1c7 | /projects/cpp/chapter4/recursion-part-iii.cpp | 094c44b32e0bcc8ca16952fb0b5060c6ab522eea | [] | no_license | elgeish/Computing-with-Data | 8562a15a74df6f379296b84e393a358eebf3d3fc | 5547dc28c027e023783238be78eab216ec5204f4 | refs/heads/master | 2023-07-29T06:00:26.625191 | 2023-07-16T00:32:38 | 2023-07-16T00:32:38 | 145,339,359 | 15 | 24 | null | 2023-07-16T00:32:40 | 2018-08-19T21:38:09 | Java | UTF-8 | C++ | false | false | 210 | cpp | #include <iostream>
using namespace std;
int factorial(int n) {
if (n == 1) {
return 1;
}
return n * factorial(n - 1);
}
int main() {
cout << factorial(3) << endl; // prints 6
return 0;
}
| [
"elgeish@gmail.com"
] | elgeish@gmail.com |
0ca00bfe7e61739bbcf1db4fb56e5647638a9322 | 284fe9edecd6ac358f7c08b93b18637199619c5d | /calculate.cpp | ccf146bc85f1eeb22e1f3a5c6977a1c233635f7e | [] | no_license | Din-Avrunin/cpp4b | 70a72fcfce0470223d4196131abee588eb77422d | 660d42b00fdca032690a46249330af193b10e0f2 | refs/heads/master | 2022-01-30T16:54:25.494104 | 2019-05-07T20:06:58 | 2019-05-07T20:06:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | #include "calculate.hpp"
#include <string>
using namespace bullpgia;
using std::string, std::to_string;
const string bullpgia::calculateBullAndPgia(const string chosen, const string guess){
int size=chosen.size();
int bull=0;
int pgia=0;
int arr[size];
for(size_t i = 0; i < size; i++)
{
arr[i]=0... | [
"noreply@github.com"
] | noreply@github.com |
7857fc6efbfacd7c8eff5aa885866b7ca0d92e75 | 126abe475f4abea140058a6ef0851db20ba56928 | /LiliumFbx/FBXVertex.h | e3b9a0b81c83738e4d22f12dc372c52ba9f68cb1 | [] | no_license | woncomp/LiliumLab | 9a9905b3b6655f37f0033def040300917ba469a3 | a927672b37c435c4aeaa740c23814118ebd8d181 | refs/heads/master | 2022-07-10T15:39:17.221229 | 2019-07-15T14:45:25 | 2019-07-15T14:45:25 | 46,462,903 | 1 | 0 | null | 2022-06-22T17:47:14 | 2015-11-19T02:46:55 | C++ | UTF-8 | C++ | false | false | 381 | h | #pragma once
#include "FBXVector3.h"
namespace LiliumFbx {
public value struct FBXBoneWeight
{
public:
int Index;
float Weight;
};
public value struct FBXVertex
{
public:
FBXVector3 Position;
FBXVector3 Normal;
FBXVector3 Tangent;
FBXVector3 TexCoord0;
FBXBoneWeight Weight0;
FBXBoneWeight Wei... | [
"woncomp@gmail.com"
] | woncomp@gmail.com |
cba6559d8a54d5f599dfcd7e9e351011b74284f2 | 0f5344e784fd927ce516a52c886eecda1ea2cd70 | /Courses/CSharpAdv/Lesson5/Lesson5/Module7/Code/Slide61/StorageExample/StorageExample/stdafx.cpp | 6c8756d1123ec9b093933efc8eda90b24c70ca4c | [] | no_license | Tomerder/Csharp | 947272c48d2899f98129a2db85abf01c3a2a5bb5 | e51233ea8ed306889f0aca043bcf6cff69869412 | refs/heads/master | 2020-04-13T21:37:18.070201 | 2019-01-18T15:43:47 | 2019-01-18T15:43:47 | 163,460,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | // stdafx.cpp : source file that includes just the standard includes
// StorageExample.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"tomerder@gmail.com"
] | tomerder@gmail.com |
55721074cadde178aa51f35e9178a8f028472a4d | c6eaad09db0ffa798e66d6486b0a9dc46e8a9256 | /FileTypes/AI/Conditions/StatSufficientCondition.cpp | 53181eb23638cef45ef52f7d128f2eda1e98ca0a | [] | no_license | DerBasti/JBROSE_World | 8afbb0d8ce8cad611ccb716f30146ed5913c40f2 | f63aca7518377e4c72b29baabb9d1e053dd4db6a | refs/heads/master | 2022-02-06T11:02:05.277912 | 2022-01-24T21:23:06 | 2022-01-24T21:23:06 | 138,166,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | #include "StatSufficientCondition.h"
#include "../../../Entities/NPC.h"
StatSufficientCondition::StatSufficientCondition(std::shared_ptr<char>& rawData) : AICondition(rawData) {
LoadedDataReader interpreter(rawData.get());
interpreter.skipBytes(AIDataBlock::DEFAULT_HEADER_LENGTH);
abilityType = OperationHandler::... | [
"seb.nickel@googlemail.com"
] | seb.nickel@googlemail.com |
ddd0fbf066b8d433555a62bc359ae0ec29283f71 | adba93157daccb869ba22caffb142e633f4a8afc | /src/engine/core/lua/LuaReference.cpp | 1729340433afd3e90761804ee45c3402a3416422 | [
"Apache-2.0"
] | permissive | Cosmin-B/Sealed | 333cb80e3eeaddaf16db724c8ef0353db5e697b4 | 637946ccb1c8af2e95033533cb2a84dd3b5e22af | refs/heads/master | 2022-01-07T09:35:16.621365 | 2019-05-18T20:08:29 | 2019-05-18T20:08:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | cpp | //
// Created by xCocoDev on 2019-01-31.
//
#include "LuaReference.h"
#include <cassert>
#include <iostream>
using namespace lua;
LuaReference::LuaReference() {}
LuaReference::LuaReference(lua_State* L) : L(L), m_ref(luaL_ref(L, LUA_REGISTRYINDEX)) {
//std::cout << "LuaReference: create ref: " << m_ref << std::e... | [
"c.biti12@gmail.com"
] | c.biti12@gmail.com |
4dab86aaadc765eb7fd0e0339ed6ce9534071b42 | f9f1282c7d15966389bdf049b42a0452398cfd79 | /src/rpc_helpers.cpp | 79cb263ebbb9b2de73db706494e44e38ecf5ba50 | [] | no_license | KennyZeng/gcheapstat | 715a8aa3fdf6c1052be90b7256699c22749de473 | d04c6c98da0bb299b235f06464caf8c25ae2683e | refs/heads/master | 2023-01-30T00:07:21.192548 | 2020-12-10T20:26:59 | 2020-12-10T20:26:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include "rpc_helpers.h"
#include "rpc_h.h"
HRESULT RpcInitializeClient(PWSTR pipename, RPC_BINDING_HANDLE *hbinding) {
// https://docs.microsoft.com/en-us/windows/win32/rpc/the-client-application
WCHAR protseq[] = L"ncacn_np";
wil::unique_rpc_wstr string_binding;
auto status = RpcStringBindingComposeW(nullpt... | [
"malpinskiy@gmail.com"
] | malpinskiy@gmail.com |
33cd6dfe9ac1315702d9c95d74401d7d86fd19c7 | 0160490319cac0dfbe37834d0468aed63f2cd0c0 | /src/document/typedproperty/SgfcGameTypeProperty.h | 6bca5dd67285eb63e4a0932b4ae9747cb8b252b5 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | herzbube/libsgfcplusplus | a6c9c11b05a13ca1f422b15e220efb84aeefb875 | cd93b76c9044952a0067240cbebac7c535e0275a | refs/heads/develop | 2021-07-14T20:04:24.516039 | 2021-02-23T19:16:12 | 2021-02-23T19:16:12 | 238,560,277 | 8 | 1 | Apache-2.0 | 2021-02-13T16:53:57 | 2020-02-05T22:21:31 | C++ | UTF-8 | C++ | false | false | 2,090 | h | // -----------------------------------------------------------------------------
// Copyright 2020 Patrick Näf (herzbube@herzbube.ch)
//
// 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
//
//... | [
"herzbube@herzbube.ch"
] | herzbube@herzbube.ch |
b7b059824f243c40030501d022675f2545748dd8 | 27858142e5947ac7a519e0cfd5f79275e6496d35 | /graphlabapi/demoapps/gabp/gabp.hpp | d3fd3b038fa26cdb143e7fcd0b146d1d37e02f30 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | greeness/graphlab_CMU | 97c4d74a967619ba803eb4f28fdd3458f29746b1 | 90f6565d45e6aa2ad7507e9d7c9528cab95c8a40 | refs/heads/master | 2021-01-21T19:28:16.403305 | 2011-11-08T20:19:07 | 2011-11-08T20:19:07 | 2,736,580 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,847 | hpp | /**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... | [
"greeness@gmail.com"
] | greeness@gmail.com |
a163eeaf57c7d380824e2d0fe84286ff0f727f1c | 9ba5e98ec0c66b175fb591504c76e1f9b8f6ddec | /SDK/FN_TopBar_functions.cpp | 3181504fcd9909a6a231240cc47043e96bda3a6f | [] | no_license | kanekikun420/fortnite-better-aim | 8628b2ec2353065628106fb5ee6bf3203adbf32f | 0eb5deba253fce0cef8671d9312bbb688ed717b4 | refs/heads/master | 2021-07-09T12:57:19.031209 | 2017-10-04T18:25:08 | 2017-10-04T18:25:08 | 105,819,962 | 1 | 0 | null | 2017-10-04T21:24:19 | 2017-10-04T21:24:19 | null | UTF-8 | C++ | false | false | 22,785 | cpp | // Fortnite SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function TopBar.TopBar_C.ConfigureVisibleIt... | [
"vadash@gmail.com"
] | vadash@gmail.com |
c5e189a0356c76ce012841b37bde4d0186e3198a | 5fc629a4a7256c28814bf60858905a0800d52de9 | /CP/Leetcode/Medium/Maximum_product_of_subarray.cpp | 9387a8a9bb4f72161eaa82fdb4186baafb4310cb | [
"Apache-2.0"
] | permissive | ManthanChoudhury/Mastering_DSA | 8e1ead30b32716b2a4123d55d16617bcdfcbf3b6 | 918de473aed63a1b15b3e96f467e27744d6d894a | refs/heads/master | 2023-08-21T23:37:12.451398 | 2021-09-29T06:18:19 | 2021-09-29T06:18:19 | 300,270,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | class Solution {
public:
int maxProduct(vector<int>& nums) {
int max_ending = 1;
int min_ending = 1;
int max_so_far = 0;
int n = nums.size();
for(int i = 0; i<n;i++){
if(nums[i]>0){
max_ending = max_ending * nums[i];
min_ending = mi... | [
"noreply@github.com"
] | noreply@github.com |
04041ecb461a812d4fc363fa16524fe896236c97 | 8dbbcdc463f915e53632de5a3ebcbb315b0f3b6c | /src/client/Client/Tools/Particle Universe/Plugins/ParticleUniverse/include/ParticleEmitters/ParticleUniverseVertexEmitterTokens.h | 701ba6e5873d559410513df46e022038687f2258 | [] | no_license | atom-chen/project_EQGame | 75030023ccb1d244b9ca722daead72c90b178c62 | 5fb9d4af79cbaa78ce89075c35aa2a488440cf6e | refs/heads/master | 2020-06-17T03:29:37.641027 | 2017-10-06T12:56:20 | 2017-10-06T12:56:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | h | /*
-----------------------------------------------------------------------------------------------
This source file is part of the Particle Universe product.
Copyright (c) 2009 Henry van Merode
Usage of this program is licensed under the terms of the Particle Universe Commercial License.
You can find a copy of the Co... | [
"892134825@qq.com"
] | 892134825@qq.com |
e71dce7a03d7e0365c066da7ca25de6ce7f87291 | a6ba0ab32653dcd2306f855fb0e2c23120c4eff9 | /src/Subsystems/Elbow.h | c0a6207074e270d5fbba4b2ddd8f1731fec60e24 | [] | no_license | frbaker/MarinerBot2018Vs1 | 5a04349d3bb8a980a29e19163ad90ec5efc651ee | 6549a233413df7a3f8ac19eab100cef1715fd290 | refs/heads/master | 2021-05-12T03:43:13.890150 | 2018-01-19T01:23:24 | 2018-01-19T01:23:24 | 117,625,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | h | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the b... | [
"noreply@github.com"
] | noreply@github.com |
d5985510de8e58d76412b57da5b579e3c38053bd | a2dd6f9a34223ff66d4fb0eac6154eaaca892947 | /LCM_GCD_6.cpp | 6db7aebb850b5a24b556101310bfaeb734dce427 | [] | no_license | phongnq-ptit/CPP_PTIT_2021 | 8485fff806c3fa63a098430581fe7a8fa76e5752 | 670b416e1337d1638ddaf6f6a71e5a78bdf010ec | refs/heads/master | 2023-05-12T13:25:02.764995 | 2021-06-05T07:37:54 | 2021-06-05T07:37:54 | 365,691,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include<bits/stdc++.h>
using namespace std;
void lcm_gcd_6(long long n, long long m){
long long tong = ((n + 1) * n) / 2;
long long x = (tong + m)/2;
long long y = tong - x;
if(tong < m){
cout<<"No"<<endl;
return;
}
if(x + y == tong && x - y == m) {
if(__gcd(x, y) == 1... | [
"phongnq@users.noreply.github.com"
] | phongnq@users.noreply.github.com |
63d3b196de019f3e1fcbff1714ccc31e06d475ae | 2d9f1a9a2e80b86eb06cd5b14644e897ee3e9286 | /api.cpp | 2613be310e6bb45182fae5b418a63557ef62d967 | [] | no_license | mashuiping/MSP_PaperAssistantV2_0 | e0572e37f8d9ff469e6b28d72a3dba8b8efe0712 | 93c83419b2118400476faad6ef82b796507dd150 | refs/heads/master | 2020-06-09T14:01:28.249156 | 2016-12-11T01:43:49 | 2016-12-11T01:43:49 | 76,035,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,817 | cpp | #include "api.h"
#include "ui_api.h"
#include "externalvar.h"
#include "databaseforapi.h"
#include "QMap"
#include "QMessageBox"
#include "addapi.h"
api::api(QWidget *parent) :
QDialog(parent),
ui(new Ui::api)
{
ui->setupUi(this);
ui->key->setText(key);
ui->keyfrom->setText(keyfro... | [
"1647934940@qq.com"
] | 1647934940@qq.com |
e4b80e53a15906595007e4d4e12a5abc8afe758b | f9cacdcc39b3131b82ffd8d058f2aca71aeee3ee | /test/unit-tests/telemetry/telemetry_client/telemetry_client_test.cpp | 941025455f4dccefa9846d06368c0451b3bfea91 | [
"BSD-3-Clause"
] | permissive | shuk-ori/poseidonos | 1e7df42aa697bab6f556759eec07ad6f81c3bec7 | 6264542a6cabdb0e4984a830b115c048becfbda1 | refs/heads/main | 2023-08-17T04:58:21.913294 | 2021-09-17T07:00:29 | 2021-09-17T07:00:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,131 | cpp | #include "src/telemetry/telemetry_client/telemetry_client.h"
#include <gtest/gtest.h>
#include "src/telemetry/telemetry_client/telemetry_publisher.h"
#include "test/unit-tests/telemetry/telemetry_client/telemetry_publisher_mock.h"
using ::testing::_;
using ::testing::AtLeast;
using testing::NiceMock;
using ::testing... | [
"jh.ma@samsung.com"
] | jh.ma@samsung.com |
cca0e8954a4cc7f8ecde18dd2f165b9b0d6a1318 | b9816d2c1b1a33f091e6e2f90d068aae204b29cc | /node.cpp | 2a2b96670eee93cfb49c5c2775304a578c357845 | [] | no_license | stormvolt/Connect4 | df1934ad6e7b545583da228ee73612c66e44a8c1 | 60d77e7f3f31ff302280c68231bfcf4ce6e6df40 | refs/heads/master | 2021-01-10T03:31:36.306017 | 2015-12-03T14:39:36 | 2015-12-03T14:39:36 | 47,143,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | template<typename T>
Node<T>::Node()
{
data = NULL;
next = NULL;
}
template<typename T>
Node<T>::Node(T data_)
{
data = data_;
next = NULL;
}
// Eliminar todos los Nodos
template<typename T>
void Node<T>::delete_all()
{
if (next)
{
next->delete_all();
}
delete this;
}
// Imprimir un Nodo
template<typ... | [
"luisnu97@hotmail.com"
] | luisnu97@hotmail.com |
6f9dad842b58b35188671da92a6643efc9d07ffa | d50847012635bb10171f0719b117f9438587a2a0 | /plugins/channelrx/demoddatv/leansdr/hdlc.h | 7c8dc9f663d065cb1def4ec257dd81b6333b6666 | [] | no_license | jigpu/sdrangel | e8457d24d4527395dc65c51f4c1ac73f2d85809f | ac041ca1ca40b1ba6d150e098b2634e69833c06d | refs/heads/master | 2020-03-12T08:20:47.634497 | 2018-05-22T20:43:41 | 2018-05-22T20:43:41 | 130,525,858 | 1 | 0 | null | 2018-04-22T01:40:13 | 2018-04-22T01:40:13 | null | UTF-8 | C++ | false | false | 12,614 | h | #ifndef LEANSDR_HDLC_H
#define LEANSDR_HDLC_H
#include "leansdr/framework.h"
namespace leansdr
{
// HDLC deframer
struct hdlc_dec
{
hdlc_dec(int _minframesize, // Including CRC, excluding HDLC flags.
int _maxframesize, bool _invert) :
minframesize(_minframesize), maxframesize(_maxframe... | [
"f4exb06@gmail.com"
] | f4exb06@gmail.com |
ee45460cf0ed7c840dd4226b16632c6f7b4f163a | faa268a594309da61d584a66a74672fcaec24fea | /Raylib/MyHelperLib.h | 2957515e010ae9b027555f211986144c18639c04 | [] | no_license | Maltmana/Raylib | 56e2221d67d68540de199b506d56e4149a7f2cd6 | 43464c729e1dd5f115ed39b2090dadce6fe4b31c | refs/heads/master | 2020-04-02T14:57:37.626824 | 2018-10-31T03:02:09 | 2018-10-31T03:02:09 | 154,545,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | h | #pragma once
namespace MyHelperLib
{
void floatToString(char * p_buffer, float p_float);
bool approx(float a, float b, float ish);
}
| [
"Maltmana@users.noreply.github.com"
] | Maltmana@users.noreply.github.com |
de7784d3bfe7fbae46a2aeb271444a79108dba63 | c1731aded3cfac78f50dd809b1a6d2b1b1b1a9a1 | /src/hdchain.h | c3d79182eebe8a413ba178a3135e8b6e3d2bdde3 | [
"MIT"
] | permissive | 13683172439/safe | 177cf7f7ef75a9e306c736cc4ce9952cb4a78c4c | adbb01d6d82a81e9943c1ded89bb50109741dcde | refs/heads/master | 2020-05-28T08:40:25.355965 | 2018-11-29T08:27:11 | 2018-11-29T08:27:11 | 188,943,010 | 1 | 0 | null | 2019-05-28T02:54:24 | 2019-05-28T02:54:23 | null | UTF-8 | C++ | false | false | 4,515 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2018-2018 The Safe Core developers
// Distributed under the MIT software license, see the accompanying
#ifndef SAFE_HDCHAIN_H
#define SAFE_HDCHAIN_H
#include "key.h"
#include "sync.h"
/* hd account data model */
class CHDAccount
{
public:
uint32... | [
"50705646@qq.com"
] | 50705646@qq.com |
baff15dd221d5517cf60d0db3c5a0997ca6ab64d | 73b0bed36d14a8fe9b668ce53f8f5c69a94e957a | /include/experimental/fundamental/v3/value_or_error/apply_or.hpp | d8f7f1093b95af4a49c827d72f26b93160f8fd1c | [
"BSL-1.0"
] | permissive | fzylx/std-make | b8adbb2a1d1112396d29486eba7d2753c14f1c5b | b498cd1c9468445781afdd3a9eafad9cb2efb96c | refs/heads/master | 2022-04-12T21:19:30.132226 | 2019-05-06T05:50:07 | 2019-05-06T05:50:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Vicente J. Botet Escriba 2017.
// 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)
//
///////////////////////////////... | [
"vicente.botet@wanadoo.fr"
] | vicente.botet@wanadoo.fr |
24fb4a142057df650306421312f58685b1665189 | a78913b96b8f0cb6345a909b62090c4d542cd807 | /Common/Message.cpp | 804176a8d4ea54b895ab3c86111d2dcbe8e1e173 | [] | no_license | td1tfx/TCPserver_test | f74cffb3768faddb33f189bd4df3ecb99b569320 | c6459a7062d749e4946db8a63cf3c7ea4c234931 | refs/heads/master | 2020-03-30T16:15:04.418230 | 2018-10-10T06:45:40 | 2018-10-10T06:45:40 | 151,400,323 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include "stdafx.h"
#include "Message.h"
Message::Message() : body_length_(0)
{
}
Message::~Message()
{
}
char* Message::data() {
return data_;
}
void Message::setBodyLength(std::size_t new_length) {
body_length_ = new_length;
if (body_length_ > max_body_length)
body_length_ = max_body_length;
}
std::size_... | [
"td1tfx@163.com"
] | td1tfx@163.com |
6b1a54f95d1124d76e74de206ef47a1554d81db4 | bfc8f46605e2f01350754820063d19e39dd4eaf8 | /src/turtlebot3/turtlebot3_simulations/turtlebot3_gazebo/src/turtlebot3_drive.cpp | d788d9c54b94c8aa141799179b8e02ef3da30184 | [
"Apache-2.0"
] | permissive | shirokunet/ros2_turtlebot3_open_manipulator_ws | 928d059361da623cb3602b42f2b06e23b4504b40 | 8b374539498782949d0b46a46293a5fa6446d02f | refs/heads/master | 2021-02-06T08:06:17.558442 | 2020-02-29T04:22:49 | 2020-02-29T04:22:49 | 243,896,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,563 | cpp | /*******************************************************************************
* Copyright 2019 ROBOTIS CO., LTD.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | [
"shirokunet@gmail.com"
] | shirokunet@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.