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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f0b4382a1efdd94c140559eb9576cd0942fc7154 | 0ec9df3bb8b86216e18fe4cb66b6612297245aea | /Sources/CXXBoost/include/boost/local_function/detail/preprocessor/keyword/facility/is.hpp | 3386e36604193b720a18f4e980f5df552c007c8a | [] | no_license | jprescott/BoostTestWithLib | 78ae59d1ee801201883cf07ab76b8267fadf7daa | 8650523cab467c41be60f3a1c144f556e9a7f25c | refs/heads/master | 2022-11-18T14:49:00.664753 | 2020-07-18T21:45:17 | 2020-07-18T21:45:17 | 280,749,418 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | hpp |
// Copyright (C) 2009-2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/local_function
#ifndef BOOST_LOCAL_FUNCTION_DETAIL_PP_KEYWORD_FACILITY_IS_HPP_
#... | [
"jprescott12@icloud.com"
] | jprescott12@icloud.com |
6e962721b38dd15b2d6dd8393f0a77be5cc53067 | 87b194db1b0e0ebbb5867f52bde6ab20b2d34e46 | /gcd_and_lcm.cpp | 32db2f5ade148a6f7048117a9c005013f25d6176 | [] | no_license | harshit1111/git_intro | 5022420bc9437db7e5f61f18e4f30b204b9fdb1a | 993d8e92bb852df5b160dacbace84d43ce3e8da3 | refs/heads/master | 2020-04-13T16:24:55.504555 | 2019-10-20T12:21:33 | 2019-10-20T12:21:33 | 163,320,472 | 0 | 1 | null | 2019-10-20T12:21:34 | 2018-12-27T17:29:46 | C++ | UTF-8 | C++ | false | false | 273 | cpp | #include <bits/stdc++.h>
using namespace std;
int lcm(int a, int b)
{
return (a*b)/__gcd(a, b);
}
} ;
int main()
{
int a = 15, b = 20;
cout<<"GCD of "<<a<<" and "<<b<<" is "<<__gcd(a, b);
cout<<"LCM of "<<a<<" and "<<b<<" is "<<lcm(a, b);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
ae9956ca793977df50d2285bfe581881ff4e9214 | c3ae5eb84aa9059494ac15b17144fafc578d0ee4 | /thread/try.cpp | 0c567b6617a81bc02450bea599dfee3cb1dacd4b | [] | no_license | Live4dreamCH/cpp | 9e11ad8e1f9e89388b10956db165689685d1783f | 1b88ef0ceb16fc97d989a63c90bc86f87a07e9e8 | refs/heads/master | 2022-09-10T11:39:39.306063 | 2020-05-27T15:55:52 | 2020-05-27T15:55:52 | 243,248,223 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | #include <iostream>
#include <thread>
using namespace std;
void fun(int i)
{
cout << i << endl;
}
int main()
{
system("D:/documents/Sources/c++/build/CalculatingMachine.exe");
for (int i = 0; i < 10;i++)
{
thread t(fun, i);
cout << "进程" << t.get_id() << "启动" << endl;
t.join();
... | [
"live4dream@stu.xjtu.edu.cn"
] | live4dream@stu.xjtu.edu.cn |
76554f54cc78a892d9f79b9cefa8b26efb8f3c53 | e3635499eb1a19e75ade2dbd343e165c11331475 | /DuiLib_c/Core/UIDefine.h | cc91430a5aeac636ea5ef07bc46d95e5941aee13 | [] | no_license | qiuyangsoft/DuiLib_c | 1cd8d2ddf7a9caee5ff72a5d960f2612efd4e37f | 5a03e127e1b50a8d808926f400c1020a7e971513 | refs/heads/master | 2020-03-06T14:44:02.401343 | 2016-10-13T03:53:22 | 2016-10-13T03:53:22 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 11,286 | h | #pragma once
//////////////BEGIN消息映射宏定义////////////////////////////////////////////////////
///
namespace DuiLib
{
enum DuiSig
{
DuiSig_end = 0, // [marks end of message map]
DuiSig_lwl, // LRESULT (WPARAM, LPARAM)
DuiSig_vn, // void (TNotifyUI)
};
class CControlUI;
// Structure for notification... | [
"15303606867@163.com"
] | 15303606867@163.com |
34bf6df6fc6595f807e251b49ab957c488e811c3 | 5a47846b08e0c3fa34e2d4a320e5fbc47f1ebe91 | /Ran32/Ran32.hpp | 9ba5bb98af525928f842f57919c8a7546ad63f6f | [] | no_license | frferrara/RandomNumberGenerator | 2f5c1bf693113b3918ea6d3fad2cdab62ff7e007 | c1f3cf6bbb15e063da1391231cc9734eeda16c11 | refs/heads/master | 2021-01-10T20:54:44.763764 | 2012-05-03T16:03:56 | 2012-05-03T16:03:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | hpp | /*
* RanLim32.hpp
*
* Created on: Apr 13, 2012
* Author: frferrara
*/
#ifndef RAN32_HPP_
#define RAN32_HPP_
#include <iostream>
#include <stdexcept>
#include "RNGInterface.hpp"
class Ran32 : public RNGInterface {
public:
Ran32();
Ran32( unsigned int i );
virtual ~Ran32() {}
virtual double uniGen(... | [
"fr.ferrara@gmail.com"
] | fr.ferrara@gmail.com |
79ef7770d3ba5dd42efb7aa711d70a0226485e11 | b62c5636ca3955e9b2bb8631e7dc351e41d14912 | /public/include/XMPCore/Interfaces/INode.h | 516a94401abbe1909f9e1edfd8c6dce88beeaec0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kranack/XMP-Toolkit-SDK | 1a05aa5ebf10d2bec8f504784714a6f20b8cfdb2 | 0872e35a30457d2ecf746a1bebdb7d94636d0e2f | refs/heads/master | 2022-02-24T03:30:23.767797 | 2020-01-29T05:03:16 | 2020-01-29T05:03:16 | 237,179,960 | 2 | 0 | NOASSERTION | 2020-04-06T02:54:13 | 2020-01-30T09:30:42 | null | UTF-8 | C++ | false | false | 30,183 | h | #ifndef __INode_h__
#define __INode_h__ 1
// =================================================================================================
// Copyright Adobe
// Copyright 2014 Adobe
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of t... | [
"gupta66priyanka@gmail.com"
] | gupta66priyanka@gmail.com |
ab5e3d4c0fe5e76ef4f671b5a4ff6a3bac1b8e0c | 11809b11cc43480356904024e9a8ab571550ab7a | /obse/obse/Utilities.cpp | 97cba0f66cf0415b22bef9bc546a7b5f7c3f1a03 | [] | no_license | clayne/Discord-Rich-Presence-OBSE | 97a6d7717f8f622d7969c474abcd32f7207929fa | 214023e4a891f385afff899af69b2b3bc1c68fb1 | refs/heads/master | 2023-03-17T06:32:42.515602 | 2020-07-12T13:14:54 | 2020-07-12T13:14:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,543 | cpp | #include "Utilities.h"
#include <algorithm>
#ifdef OBLIVION
#include "GameAPI.h"
#include "Script.h"
#include "GameOSDepend.h"
void PrintItemType(TESForm * form)
{
Console_Print("%s (%s)", GetFullName(form), GetObjectClassName(form));
}
const char GetSeparatorChar(Script* script)
{
if (IsConsoleMode())
{
if (sc... | [
"lorenzofer@live.it"
] | lorenzofer@live.it |
a59efd1229751d029d3e79444db9466727163f75 | 323788cf746237167c70f38117d3fbd26e92c041 | /sandbox/thang/src/nnetbin/nnet-concat.cc | 6d5e4526e06cbda4ce4fc743fb0b5b59ada7a9c2 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | zweiein/kaldi | 3cfc5d1fc66c1ca32c74f71171d4af2e2512f15c | 708448c693272af0d68c8e178c7b4ff836125acf | refs/heads/master | 2020-12-26T00:45:36.907011 | 2015-10-23T21:17:02 | 2015-10-23T21:17:02 | 46,313,562 | 0 | 1 | null | 2015-11-17T00:57:57 | 2015-11-17T00:57:57 | null | UTF-8 | C++ | false | false | 2,527 | cc | // nnetbin/nnet-copy.cc
// Copyright 2012 Karel Vesely
// 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
//
// THIS CODE IS PROVIDED *AS IS... | [
"danielpovey@5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8"
] | danielpovey@5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8 |
07e8e8ec6b127dc4fa62943c031fec1c106c0a66 | d324b3d4ce953574c5945cda64e179f33c36c71b | /php/php-sky/grpc/third_party/protobuf/src/google/protobuf/proto3_lite_unittest.inc | bc1ddab5f5e6c9f6bc895921f430d6d7e1edc381 | [
"Apache-2.0",
"LicenseRef-scancode-protobuf"
] | permissive | Denticle/docker-base | decc36cc8eb01be1157d0c0417958c2c80ac0d2f | 232115202594f4ea334d512dffb03f34451eb147 | refs/heads/main | 2023-04-21T10:08:29.582031 | 2021-05-13T07:27:52 | 2021-05-13T07:27:52 | 320,431,033 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,393 | inc | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
67632a0208e4bd46ffb795d488666aa196ac0e7a | 53f3f38eac3ed44f23f8f58d34aa8bd89555eaef | /src/msvc/include/AutoGemmKernelSources/zgemm_Col_CC_B0_ML032_NX032_KX01_src.cpp | 10a120e655c60bb3570a8101186fa35d72d2c531 | [
"Apache-2.0"
] | permissive | gajgeospatial/clBLAS-1.10 | 16039ddfad67b6c26a00767f33911e7c6fe374dc | 2f5f1347e814e23b93262cd6fa92ec1d228963ac | refs/heads/master | 2022-06-27T09:08:34.399452 | 2020-05-12T16:50:46 | 2020-05-12T16:50:46 | 263,172,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,178 | cpp | /*******************************************************************************
* This file was auto-generated using the AutoGemm.py python script.
* DO NOT modify this file! Instead, make changes to scripts in
* clBLAS/src/library/blas/AutoGemm/ then re-generate files
* (otherwise local changes will be lost a... | [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
f35c0ce66d97b0f68f7c264bf0300b04d79d718e | 866558f94b9b0d841e8ef68715273a8671511a84 | /inc/simple/stringify_lua.cpp | 8d1cb2a5b61765208c36b1f394dffc1f9fb4976b | [
"MIT"
] | permissive | ximenpo/simple-cpp | 66a1de295fafaf911051889fbf21fc3f368eb9ac | 0779674dbea5cd8f4081140cad90edeaa31da7c8 | refs/heads/master | 2021-01-19T01:02:12.640957 | 2016-11-15T06:30:28 | 2016-11-15T06:30:28 | 32,370,140 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp |
#include <cassert>
#include <deque>
#include "string.h"
#include "stringify.h"
struct stringify_data_lua_visitor : public stringify_data_visitor {
virtual bool visit_begin() {
seqs_.clear();
seqs_.push_back(0);
return os_.good();
}
virtual bool visit_value(const std::string& val... | [
"ximenpo@jiandan.ren"
] | ximenpo@jiandan.ren |
cb68246de8aafb0b7bca2318728a49c60591b769 | fa53830aa4e6b1b7400b9c8a072702633d461f74 | /Game/Source/Utility/Vector_Easing.h | 8b7df2e7d13c86b9fcfcbe439c807ade24904a31 | [] | no_license | thaotram/uit.game | 6cfb0c9a82ad9a0a620859e23816fd32e9672bb1 | b7448ff2e96083fc60356fc22460f16acfc783a1 | refs/heads/master | 2021-09-01T18:25:08.814276 | 2017-12-28T07:36:27 | 2017-12-28T07:36:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | #pragma once
#include <d3d9.h>
#include <d3dx9.h>
#include "Vector.h"
#include "../../Define.h"
#include "Float_Easing.h"
class Vector_Easing {
protected:public:
Vector_Easing() {}
Float_Easing x, y;
void operator+=(V2 pDelta);
void operator-=(V2 pDelta);
void operator=(V2 pLast);
void operator<<(V2 pVector);... | [
"phamhongphuc.info@gmail.com"
] | phamhongphuc.info@gmail.com |
86e5a30dbe677ef721d194dc060e7b0058019c4f | 3b50bde6167e3e3d1c019207191069ee9243570b | /Semester 2/progdas 1/project netbeans/CppApplication_1/main.cpp | b79b65204bcec6c44df9bee1f0d962affd4619f7 | [
"MIT"
] | permissive | bijancot/materikuliah | ccc10478b79b3749e201e5e5720c41e31f0831b8 | 119c26238e08487dda9b0c4f700e393e581f59f8 | refs/heads/master | 2021-07-13T09:49:23.532698 | 2020-06-19T13:34:40 | 2020-06-19T13:34:40 | 150,867,585 | 0 | 0 | MIT | 2018-12-06T23:02:35 | 2018-09-29T13:39:16 | Java | UTF-8 | C++ | false | false | 401 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: bijan
*
* Created on May 6, 2018, 10:07 AM
*/
#include <cstdlib>
using namespac... | [
"panjidia995@gmail.com"
] | panjidia995@gmail.com |
6fdcb051a8dc4a4899973e927b8554c5d76af9fa | 8bc9def7ec0385ae37d1b7668cf67dec0f11368d | /cg_2/invisibledeleter.cpp | f4ed75896f74467c76b670539046cf44cbdf619b | [] | no_license | ilya89099/cg_labs | 4b5a07c40d48dce925dcc99efeb2579ee05d9dd9 | 6a56e2b11c035ba90ce05ef4e6c3f2b108f8217b | refs/heads/main | 2023-02-02T03:45:30.793690 | 2020-12-19T08:17:13 | 2020-12-19T08:17:13 | 321,464,462 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | cpp | #include "invisibledeleter.h"
InvisibleDeleter::InvisibleDeleter(QObject* parent)
: QObject(parent) {}
InvisibleDeleter::InvisibleDeleter(QVector4D _position)
: position(_position){}
void InvisibleDeleter::setViewPoint(QVector4D _position) {
position = _position;
}
QVector<Polygon> InvisibleDeleter:... | [
"ilya.semenov89099@yandex.ru"
] | ilya.semenov89099@yandex.ru |
deaa0d566a0d7d68516bd31bccdefe915ee5a2cb | f88da6e4c6b4e0ba14cd7e49546c8c54530108e8 | /Algorithm/code/Merge Sort.cpp | 99bd4eafd7155850e055dcbed8fba72f070ff170 | [] | no_license | algoribi/computer-science | 375c96c6c19aa37100d1150009e8eeaee04ee688 | 7850a431e8ad884357c2ae64364067f4f7e314a2 | refs/heads/master | 2023-07-15T06:56:54.466432 | 2021-08-21T13:37:01 | 2021-08-21T13:37:01 | 267,052,964 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | cpp | #include <iostream>
#define size 8
using namespace std;
int sorted[size];
void merge(int a[], int start, int mid, int end) {
int i = start;
int j = mid + 1;
int k = start;
while (i <= mid && j <= end) {
if (a[i] <= a[j]) {
sorted[k] = a[i];
i++;
} else {
... | [
"algoribi36@gmail.com"
] | algoribi36@gmail.com |
2ecc1b10c31aeedd344041dae4af0eaec40f05c8 | ca99957a8f3cd3da308a70ea58ad04da6a2a2d1a | /base_plot.h | 88ed57760f9ff7a253b4decdf8734e33c5263f71 | [] | no_license | jingli90/simpleBP | 2feb72be32dce20d49443c58ec230a141cb23702 | fd33ce42edc202026aad4c6944d708c0648d57dd | refs/heads/master | 2021-01-20T15:07:38.576067 | 2017-03-08T15:03:21 | 2017-03-08T15:03:21 | 82,797,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,102 | h | // From Nicolas
#include <iostream>
using namespace std;
#include <string>
#include <sstream>
#include <TH1.h>
#include <TGraph.h>
#include <TTree.h>
#include <TDirectory.h>
#ifdef simpleBP_cxx
TH1D* GetHistoWeight(TTree* t, string variable, int nbins, double xmin, double xmax, string cut, string weight, string nam... | [
"crystalli.pku@gmail.com"
] | crystalli.pku@gmail.com |
c403f639f26c39b6bdc5847c3b57e475a388eadb | 49cd18e27ffa44f9b658763a6a60b3555585a002 | /src/TestFiniteElementShape.cpp | 488a4209c29dd70fee795c8c8ccf1933cceeb98c | [] | no_license | YvanMokwinski/WFLOW | 72e136634e38a34b687446f1415cc7c8503de927 | 8f9c36c53bbf19e0956b6a2ccf13cf7f493a9573 | refs/heads/master | 2022-09-09T23:08:53.986782 | 2019-12-24T07:41:22 | 2019-12-24T07:41:22 | 229,709,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp |
#include "Shape.hpp"
int main(int argc,
const char** argv)
{
for (FiniteElementFamily::ValueType finiteElementFamily = FiniteElementFamily::begin;finiteElementFamily <= FiniteElementFamily::last;++finiteElementFamily)
{
std::cout << finiteElementFamily << std::endl;
}
for (int i=0;i<FiniteE... | [
"yvan.mokwinski@gmail.com"
] | yvan.mokwinski@gmail.com |
efe5cf855b3e31211740e86b4f3ac67693ef0d27 | 0d8a758fb4f8d64b6f67cdbc0d3f7956dc85882b | /InterviewBit/Graph/Floyd Warshall Algorithm.cpp | 04b61fa529fc3fce1c20cec8fd8a5da75bff4bf9 | [] | no_license | manu05X/ProgramFiles | dbc6079c9bd34c63630a60bc38fd53f61be1d85d | c76130ea1815c9fb9db738b531b498e4859ad874 | refs/heads/master | 2022-05-05T10:29:16.774437 | 2022-04-12T02:32:20 | 2022-04-12T02:32:20 | 212,744,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,503 | cpp | /*
Floyd Warshall Algorithm
Problem Description
Given a matrix of integers A of size N x N, where A[i][j] represents the weight of directed edge from i to j (i ---> j).
If i == j, A[i][j] = 0, and if there is no directed edge from vertex i to vertex j, A[i][j] = -1.
Return a matrix B of size N x N where B[i][j] = sh... | [
"36466808+manu05X@users.noreply.github.com"
] | 36466808+manu05X@users.noreply.github.com |
291430b735caa0f85741a5c93d3f2262a1331acc | cab2cb3d576b5012a01620403f49d4fc92727e83 | /4. SY/Game/Source/Game/MyHUD.cpp | d7baa17f390018754f10efe617a5fd348851f8a6 | [] | no_license | khskosu/-Tutorial-UE4- | 861b6b8b0f460e72b7cbce6402dc7b32f57850b7 | 39e30fb778c3fb29164a1347a289d943dd57928f | refs/heads/master | 2021-01-18T16:48:16.624366 | 2017-03-23T08:48:10 | 2017-03-23T08:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Game.h"
#include "MyHUD.h"
#include "GameGameModeBase.h"
#include "MyCharacter.h"
#include "Monster.h"
AMyHUD::AMyHUD()
{
PrimaryActorTick.bCanEverTick = true;
}
void AMyHUD::DrawHUD()
{
Super::DrawHUD();
AGameGameModeBase* ... | [
"christian404@naver.com"
] | christian404@naver.com |
4844eae32d61834483a11b6e2a25b757b4a46ba5 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/harfbuzz-ng/src/hb-common.cc | 0483816d37b727655cb6819e38a3161caea4d12d | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-other-permissive",
"MIT-Modern-Variant",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"Apache-2.0"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 21,988 | cc | /*
* Copyright © 2009,2010 Red Hat, Inc.
* Copyright © 2011,2012 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
9971bce13f8aba07a19b67e7e7f1c606a134257e | c48cd2190f4f86d6926e4bdc9b77a0db5032e630 | /Algorithms/Sorting/merge_sort.cpp | 57869114bc604127b997a8ad36db42ba3330ffba | [
"Apache-2.0"
] | permissive | WajahatSiddiqui/Datastructures-and-Algorithms | 73e01f33cd5a9dd6401da02aed4fd297ba5dd405 | 7c6172a76d7cd178ea0c0cb9767ceaaed783545a | refs/heads/master | 2021-06-16T21:53:51.535494 | 2017-05-20T06:46:48 | 2017-05-20T06:46:48 | 32,274,096 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp |
#include<iostream>
using namespace std;
void merge_sort(int A[], int low, int high);
void merge(int A[], int low, int mid, int high);
int main() {
int A[] = {5, 6, 8, 1, -1, 0, 11, 100, -5, 0, 1, 0, 6, 1, 2, 3, 5, 10000};
int size = sizeof(A)/sizeof(int);
cout<<"Size = "<<size<<endl;
cout<<"Input Array: \n";
fo... | [
"wajahatmeister@gmail.com"
] | wajahatmeister@gmail.com |
d5c993c05061a1f18a532683254a5557b8d5d7a6 | 055b14863886654ca9662e6211851400a2805454 | /src/chainparams.cpp | 2007e7b9d15c64f7105617f7d4c75a79711940fc | [
"MIT"
] | permissive | commatalk/commapluscoin | e48dfa6e18ffaf9f437103f92b5dbc41621083ca | 099e915b99bbfecddb395feb1f8c6b3e71074a0c | refs/heads/master | 2020-12-22T17:53:30.068369 | 2020-02-05T09:04:23 | 2020-02-05T09:04:23 | 236,880,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,414 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The CommaPlusCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or... | [
"hotranlinh@gmail.com"
] | hotranlinh@gmail.com |
9a3c5669e6ebcf8893bb947fdd2626ad4bd9580c | 6e53aa8836638c5f1c070225f39731020eba7091 | /sdrdis/solution/cpp/robonaut-build-Desktop_Qt_5_0_1_clang_64bit-Debug/moc_imagewindow.cpp | c1af383ed09971833dde158f389de1131a34bbec | [
"Apache-2.0"
] | permissive | baymax84/NTL-ISS-Robonaut-2-Vision-Algorithm-Challenge | 47592b68a4e526ff3ed6bc98c8e1490641553d3f | e7523c837d3cd4895537b3750d5b31ad7e8b8f59 | refs/heads/master | 2020-12-25T21:34:42.596852 | 2014-01-09T18:02:42 | 2014-01-09T18:02:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,358 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'imagewindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.0.1)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"allison.thackston@ratchet"
] | allison.thackston@ratchet |
f49fef2a5cb3480460e0163583613cfd88dd3472 | 6c862c123645e595471323b6c45d449d71896109 | /LeetCode/C++/0382._Linked_List_Random_Node/example.cpp | 348db0523d79a69dcd4d3a3554e20058fccada7f | [
"MIT"
] | permissive | icgw/practice | 72083fc2e99b20aed937358d26e0ac0cfefd00ea | cb70ca87aa4604d1aec83d4224b3489eacebba75 | refs/heads/master | 2021-11-15T05:09:48.930754 | 2021-11-13T02:04:57 | 2021-11-13T02:04:57 | 144,442,645 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | /*
* example.cpp
* Copyright (C) 2021 Guowei Chen <icgw@outlook.com>
*
* Distributed under terms of the Apache license.
*/
#include "solution.h"
void run_example()
{
ListNode* head = stringToListNode("[1, 2, 3]");
Solution sln(head);
for (int i = 0; i < 30; ++i) {
std::cout << sln.getRandom() << "\n";
... | [
"icgw@outlook.com"
] | icgw@outlook.com |
8cb89ede73a5ef26e1d761188135c0eda29580ae | 2c1eb4bc621eae30f93544b53a0d4e163d94233d | /Problems/Leetcode/containsDuplicate.cpp | f0de2f5554ce23798058655ca647c012ee88b6b9 | [
"MIT"
] | permissive | pedrotorreao/DSA | 28c5f7cec0a259285d2dcad17db889e03d8e5b63 | c0474bd64e40c3187a81b8719039ff04948579e3 | refs/heads/master | 2023-09-03T18:50:39.222678 | 2023-08-19T02:30:28 | 2023-08-19T02:30:28 | 251,261,122 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | cpp | /*********************************************************************************************/
/* Problem: Contains Duplicate (LC) ********/
/*********************************************************************************************/
/*
--Problem statement:
Given an integer array 'nums', return true if any value... | [
"pedrobarrostorreaogaiao@gmail.com"
] | pedrobarrostorreaogaiao@gmail.com |
5e92046f8918162bddc96ef2b9b3066de37f6401 | 04f5ed9dc24c5d4ae43fe3e8c30946f3027d7e4c | /test/routevalidate.cpp | c50b26264e87e05187ff4bde9280efa7dfd89740 | [] | no_license | faizilham/POICrowdSim | 5de363c7aacf50aaee6bd6ba902cf33556af80d5 | f42b40ccd4dc2b84ff22119b562890c9ca98e454 | refs/heads/master | 2021-01-15T15:32:07.394930 | 2016-07-28T17:28:34 | 2016-07-28T17:28:34 | 48,676,446 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,732 | cpp | #include "navmesh.h"
#include "planmanager.h"
#include "simulator.h"
#include <iostream>
#include <iomanip>
#include <sstream>
#include <exception>
#include <cstdlib>
#include <cstring>
#include <string>
#include <memory>
#include <cmath>
#include "rng.h"
using namespace POICS;
using namespace std;
double scorefunc(c... | [
"mail@faizilham.com"
] | mail@faizilham.com |
03a577bcc4431b8c30cb9d26537fd099daa85e46 | b92926c85b8d4f44dd4941a48045b345f75e2c56 | /Trunk/src/chrono-scripts/src/WorldPvPScripts/Setup.cpp | cbe85207f2bd53f5b0ad9ff97ade43b2a579c2c5 | [] | no_license | Swater96/ChronoEmu | a3a5f14df9fdc4e66d1fc36a710720d628424f0f | e0d52ff033c9cc031215aa28d8bfbf25076f51f9 | refs/heads/master | 2020-06-13T20:00:08.799176 | 2018-02-09T07:12:17 | 2018-02-09T07:12:17 | 75,558,836 | 6 | 4 | null | 2016-12-04T19:24:08 | 2016-12-04T19:24:08 | null | UTF-8 | C++ | false | false | 459 | cpp | #include "StdAfx.h"
#define SKIP_ALLOCATOR_SHARING 1
#include <ScriptSetup.h>
void SetupPvPSilithus(ScriptMgr *mgr);
extern "C" SCRIPT_DECL uint32 _exp_get_script_type()
{
return SCRIPT_TYPE_MISC;
}
extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr) // Comment any script to disable it
{
SetupPvPSilit... | [
"colbyjameslopez@gmail.com"
] | colbyjameslopez@gmail.com |
b5f1a96ecae3e10d23118d0fd99dd39d8f70be91 | a9cf4a100843634718462c52dcbbab0a2d3cca9d | /CodingInterviews/字符串的排列/solution.cpp | 1440a5c5a68b014f12c0ee6c69f7ddd205ff3f3f | [] | no_license | fja0kl/LeetCode-Path | e0b3c9339ba20dd42a1ab94524ec5d41a5c2c1fa | 2a03e53e7fa5e8214337e1322ebfe5e75dd92c14 | refs/heads/master | 2020-03-16T17:38:50.576357 | 2019-04-05T10:00:19 | 2019-04-05T10:00:19 | 132,841,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | class Solution {
public:
vector<string> Permutation(string str) {
vector<string> result;
if (str.empty()) return result;
permutation(str, 0, result);
sort(result.begin(), result.end());
return result;
}
void permutation(string str, int begin, vector<string>& res){
... | [
"gaoexplicit@163.com"
] | gaoexplicit@163.com |
29c6a972c46cbb8dd5e040197df436ec637eaa7f | d7b84a31cafb72a3cb71b3a3cc724a68119ba18e | /Tyr/1.86/Ma | 6d0d20c3c47d8fa14c7cce73408335698199689a | [] | no_license | benroque/Ragnorak | 6cc7c68db801f9281a4ac241da754bce88ef6caf | a1bfc2430cccb207192792acebdd1530f1388a4c | refs/heads/master | 2021-01-14T08:13:18.774988 | 2017-02-20T08:32:53 | 2017-02-20T08:32:53 | 82,008,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418,385 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"benroque94@gmail.com"
] | benroque94@gmail.com | |
5f4a6b1e2701cd945fb7ba4af8cdfe2b5923db3c | f769e4df3e80746adadf5ef3c843dda5212809cf | /chuck-norris-joke-part2/HoundCpp/HoundJSON/UserCurrentLocationIntentJSON.cpp | 21513ad9dc1ae9cb0a516d2adfe4af6b25845544 | [] | no_license | jiintonic/weekend-task | 0758296644780e172a07b2308ed91d7e5a51b77d | 07ec0ba5a0f809d424d134d33e0635376d290c69 | refs/heads/master | 2020-03-30T09:07:29.518881 | 2018-10-03T15:13:58 | 2018-10-03T15:13:58 | 151,061,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,556 | cpp | /* file "UserCurrentLocationIntentJSON.cpp" */
/* Generated automatically by Classy JSON. */
#pragma implementation "UserCurrentLocationIntentJSON.h"
#include "UserCurrentLocationIntentJSON.h"
UserCurrentLocationIntentJSON::UserCurrentLocationIntentJSON(const UserCurrentLocationIntentJSON &)
{
assert(false)... | [
"ching-chuan.yang@daimler.com"
] | ching-chuan.yang@daimler.com |
a367aa18cfe367dd86721f8602c1e46a2a61c288 | e870caab3e7590d0621772ffd479f610edb4e948 | /include/GafferScene/ScenePath.h | 0238e97826a1123992e6c29849547c4625010cdd | [
"BSD-3-Clause"
] | permissive | robpieke/gaffer | 39524051d42f10de7cc5efc5a532705fdae0826f | 931622c92bda8c7a37bf1566379189b26bd7b3e0 | refs/heads/master | 2020-06-12T01:38:17.624402 | 2019-06-17T13:53:24 | 2019-06-17T13:53:24 | 194,153,681 | 1 | 0 | NOASSERTION | 2019-06-27T19:42:47 | 2019-06-27T19:42:46 | null | UTF-8 | C++ | false | false | 3,745 | h | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, John Haddon. All rights reserved.
// Copyright (c) 2013-2014, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... | [
"thehaddonyoof@gmail.com"
] | thehaddonyoof@gmail.com |
a457ce686bf01b3978e3d3968c680d3271b007a3 | 64b70d3dcd5047e1c948a8f4260ea0f4ff7ee0b4 | /HarmEmuCoreAES.hpp | 3a4dfe4810d14d55dbe5770bc947fcb362b8803a | [] | no_license | brett19/younasdecrypt | a586874aabb9b5903430ac8250f3036710c43432 | ca09ae9cc822340591fd0a16d5d1ba9df0fcdde2 | refs/heads/master | 2021-01-10T14:21:49.298785 | 2015-09-30T14:21:36 | 2015-09-30T14:21:36 | 43,437,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | hpp | #ifndef HarmEmuCoreAES_h__
#define HarmEmuCoreAES_h__
#include "aes.h"
#include "HarmEmu_Base.hpp"
namespace HarmEmu
{
namespace Core
{
namespace AES
{
void* __fastcall Constructor( void* pObject )
{
//HarmEmu::LogMsg( "-::Core::AES[%08x]::AES( )\n", pObject );
*((::AES**)pObject) = new ::AES( );... | [
"brett19@gmail.com"
] | brett19@gmail.com |
ebad03a793d7f8d230e809af0dc7624ffed9dfb0 | 8bca585b865ab4673f6a91da755a109b2b992c57 | /207-course-schedule/course-schedule.cpp | a10fbac8d84f98e93059a2efe760360ea44cacf8 | [] | no_license | lsaejn/leetcode | 8d0998395ad7e5467ec4bf97cb3100cff844874d | cef02eaef8f70f92c247fd0a24a3c1ef1ad60dac | refs/heads/master | 2020-04-02T01:52:35.011566 | 2018-12-06T15:04:35 | 2018-12-06T15:04:35 | 153,879,243 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,921 | cpp | // There are a total of n courses you have to take, labeled from 0 to n-1.
//
// Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pair: [0,1]
//
// Given the total number of courses and a list of prerequisite pairs, is it possible for you to fini... | [
"2899340@qq.com"
] | 2899340@qq.com |
fb389ae3aa53007b0d9148375e44bc1dd87819ae | c6735c5825991f6421b09e8997dac0397ea581c9 | /include/swift/SwiftRemoteMirror/SwiftRemoteMirrorLegacyInterop.h | 5871d75dd3df7124abb452add1ad6d0a7bd9cc36 | [
"Apache-2.0",
"Swift-exception"
] | permissive | TAIPANBOX/swift | 6b5ff6a9e8032bef746579914c4999c8ff31540c | 48e48f22fe59b0aa7a782b01d8df4e4414e12a52 | refs/heads/master | 2020-04-20T22:08:36.980111 | 2019-02-04T18:32:55 | 2019-02-04T18:32:55 | 169,129,762 | 3 | 0 | Apache-2.0 | 2019-02-04T18:49:44 | 2019-02-04T18:49:43 | null | UTF-8 | C++ | false | false | 37,001 | h | //===--- SwiftRemoteMirrorLegacyInterop.h - Interop with legacy libs. -*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift... | [
"mikeash@apple.com"
] | mikeash@apple.com |
175f83c1fdd1730ee9c1dc6d89acba11de6491c0 | c2445b8329c7d6e912cc29ca838f41e4c6df6988 | /modules/standard/bench/scalar/atan.cpp | 0a28bc157343ee05d754e23bac4e2900d6e52ad5 | [
"BSL-1.0"
] | permissive | francescog/nt2 | b88548a8fb26f905e8b237148effe7a41d00fca8 | 1930097285539d3a3a758ec44061ba3a2f7281d9 | refs/heads/master | 2021-01-18T05:54:29.136634 | 2011-06-18T14:59:32 | 2011-06-18T14:59:32 | 1,914,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
2f1ef1bd60c212e2bdf3022675dc5fdeb59ed84c | 57126f65a47d4b8ccd8932425178c6717639c989 | /external/glbinding-2.0.0/source/glbinding/include/glbinding/gl21/boolean.h | 61f8689e00d5f1e730afd8770b287f46d6da4b78 | [
"MIT"
] | permissive | 3d-scan/rgbd-recon | 4c435e06ecee867fd7bd365363eff92ef7513a39 | c4a5614eaa55dd93c74da70d6fb3d813d74f2903 | refs/heads/master | 2020-03-22T16:09:56.569088 | 2018-04-28T10:58:51 | 2018-04-28T10:58:51 | 140,307,666 | 1 | 0 | MIT | 2018-07-09T15:47:26 | 2018-07-09T15:47:26 | null | UTF-8 | C++ | false | false | 192 | h | #pragma once
#include <glbinding/nogl.h>
#include <glbinding/gl/boolean.h>
namespace gl21
{
// import booleans to namespace
using gl::GL_FALSE;
using gl::GL_TRUE;
} // namespace gl21
| [
"jakob.wagner@uni-weimar.de"
] | jakob.wagner@uni-weimar.de |
321fda9838a053da8c54075769a7b99fc818664d | 01bcef56ade123623725ca78d233ac8653a91ece | /game/client/cstrike15/gameui/optionssubmouse.cpp | 144fd13dae663e1766dafc04fd5cdcfcebeadb38 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | WINDOWS-1252 | C++ | false | false | 8,454 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "optionssubmouse.h"
//#include "CommandCheckButton.h"
#include "keytogglecheckbutton.h"
#include "c... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
e18089ec78f7bd7fd60ac72ea17bdbd119b1a0ef | dc87a9197be51e582a2a9bc6fd20208a526e55b6 | /src/image.h | 10054cd0e5e75cfa975c5ed3fd14113f0224593e | [] | no_license | kachkov98/PathTracing | 7fd7c3ef383ceb028af3b03ae4aeaa9d2ccb1178 | 82d3ab25f7cbaa172ee55a9726263ee61a7fe0ce | refs/heads/master | 2020-12-31T04:55:44.161963 | 2016-04-28T21:24:26 | 2016-04-28T21:24:26 | 57,333,305 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | h | #pragma once
#include "3dmath.h"
class Image
{
public:
unsigned int width, height;
unsigned char *image;
Image (unsigned int Width, unsigned int Height);
~Image ();
void WriteToTga (const char *filename);
};
| [
"kachkov98@gmail.com"
] | kachkov98@gmail.com |
65bc227184016dcb00b6b81bcf7eeafed45f35bf | 98ad0b807c5be370e2c764d1226e3182f88de969 | /src/main/include/commands/ClimbCylinderExtendCommand.h | 2bfe7c0687f364aedd3e8c0bf4a4b8eabac84c0b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | PhyXTGears-programming/2020-RobotCode | dff03fb7d79e442e95851f780b90a329065ed8cf | 87804cb4f476d35d9d304d425a1cbe1345b7f3ab | refs/heads/release | 2023-03-30T16:34:43.067036 | 2020-03-06T18:12:03 | 2020-03-06T18:12:03 | 232,945,111 | 0 | 1 | MIT | 2020-05-25T04:43:43 | 2020-01-10T02:04:34 | C++ | UTF-8 | C++ | false | false | 492 | h | #pragma once
#include <frc2/command/CommandBase.h>
#include <frc2/command/CommandHelper.h>
#include "subsystems/Climb.h"
class ClimbCylinderExtendCommand : public frc2::CommandHelper<frc2::CommandBase, ClimbCylinderExtendCommand> {
public:
explicit ClimbCylinderExtendCommand (Climb* climb) { AddRequireme... | [
"phyxtgearspro@gmail.com"
] | phyxtgearspro@gmail.com |
d5abbcea4cac9ad908ff1135d19d289feae29a63 | 32741dc3c39ccc9936605cb1dd61f7dd7d630a82 | /include/april/MasterShader.h | a7168d505c0516ab53345a08e41aab5cf4d36db2 | [
"BSD-3-Clause"
] | permissive | borisblizzard/april | 5d1b3bb77b1a0746a3ec920414dc723fcf88fc9e | f9b175089d91d169b7cd5e1d597a54c3df4163c1 | refs/heads/master | 2023-08-18T09:35:11.600829 | 2023-08-16T12:25:35 | 2023-08-16T12:25:35 | 219,540,445 | 0 | 0 | null | 2019-11-04T16:00:37 | 2019-11-04T16:00:36 | null | UTF-8 | C++ | false | false | 1,982 | h | /// @file
/// @version 6.0
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Defines a generic master shader.
#ifndef APRIL_MASTER_SHADER_H... | [
"boris.blizzard@gmail.com"
] | boris.blizzard@gmail.com |
e88c0f4d5f687f3d72cbb4d76e04ccb84c7c0990 | f2219d906b65dd3c701b5df9d829217bf2f1ad1a | /Aula01/Mesh.cpp | 109a7b1de97b02141c007cf0ae91e48f59db6ab6 | [] | no_license | fabiovarisco/CG_GA | 3343404f4eb8258783f834a68ddc5db886c15a66 | 63f08769759db7f50cbc90b973c081efb6c2b3d1 | refs/heads/master | 2020-03-31T14:16:42.066544 | 2018-10-10T01:51:08 | 2018-10-10T01:51:08 | 152,287,670 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | cpp | #include "Mesh.h"
Mesh::Mesh()
{
}
Mesh::~Mesh()
{
}
std::vector<glm::vec2> &Mesh::getMappings() {
return mappings;
}
std::vector<glm::vec3> &Mesh::getVertexes() {
return vertexes;
}
std::vector<glm::vec3> &Mesh::getNormals() {
return normals;
}
std::vector<Group*> &Mesh::getGroups() {
return groups;
}
vo... | [
"fabio.varisco@sap.com"
] | fabio.varisco@sap.com |
b1b91086294422d7ddce663215f70f285970cc3b | d55d2a1134d843521ff9b345afb904b70e9f3043 | /base_maths.h | d41f91086f2fc344666fa38df67dd06b5444b223 | [
"MIT"
] | permissive | codemonkey-uk/geometry | 70898eb98cc23e564adfe3140eab84e50f9e433c | 3420c2de74211e350d19796cedf8a5f9fa6e481e | refs/heads/master | 2023-01-23T11:12:04.303741 | 2023-01-12T22:28:09 | 2023-01-12T22:28:09 | 17,033,076 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,890 | h | #ifndef BASIC_MATHS_HEADER_INCLUDED
#define BASIC_MATHS_HEADER_INCLUDED
#include <limits>
#include <cmath>
namespace Geometry
{
inline float Sqrt( float f )
{
return sqrtf( f );
}
inline double Sqrt( double f )
{
return sqrt( f );
}
inline float Fabs( float f )
{
re... | [
"codemonkey.uk@gmail.com"
] | codemonkey.uk@gmail.com |
dfb4b9fef6a483bbc2056bd82de1e62f033b3e89 | e396ca3e9140c8a1f43c2505af6f318d40a7db1d | /unittest/internal_test/HA943_PreviousModifier_IsOn.cpp | e9fe0d84e400ec1217399f0d168bf9bd96a503d5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kenji-hosokawa/rba | 4fb2c8ef84c5b8bf2d80785986abd299c9e76203 | 52a88df64dcfec8165aea32cb3052e7e74a3a709 | refs/heads/master | 2022-12-17T10:23:05.558421 | 2020-07-29T11:03:27 | 2020-07-29T11:03:27 | 274,852,993 | 0 | 0 | null | 2020-06-25T07:19:19 | 2020-06-25T07:19:19 | null | UTF-8 | C++ | false | false | 15,132 | cpp | // Copyright (c) 2019 DENSO CORPORATION. All rights reserved.
/**
* HA943_PreviousModifier_IsOn.cpp
*/
#include <vector>
#include <string>
#include "RBAJsonParser.hpp"
#include "TestCommon.hpp"
#include "HA943_PreviousModifier_IsOn.hpp"
namespace {
using namespace rba;
HA943_PreviousModifier_IsOn::HA943_PreviousM... | [
"nnishiguchi@jp.adit-jv.com"
] | nnishiguchi@jp.adit-jv.com |
a30e3bb4ebedbdbe2db114f4808a371b9bc480ce | c9b5a2cd00764ee4a0b889b5b602eb28fd08e989 | /cpp/268. Missing Number.cpp | d7cfa2539bb3a0d17eff751d151fce699e4133e3 | [] | no_license | cwza/leetcode | 39799a6730185fa06913e3beebebd3e7b2e5d31a | 72136e3487d239f5b37e2d6393e034262a6bf599 | refs/heads/master | 2023-04-05T16:19:08.243139 | 2021-04-22T04:46:45 | 2021-04-22T04:46:45 | 344,026,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
typedef pair<int, int> pi;
class Solution {
// Math, Time: O(n), Space: O(1)
public:
int missingNumber(vector<int>& nums) {
int n = nums.size();
int expected = (0+n)*(n+1) / ... | [
"cwz0205a@gmail.com"
] | cwz0205a@gmail.com |
76a4cdc2ee4cd189128f93b9f86f26869cfef44c | 7c1103cc5cad2b0dcfcba76469d8dcf4cd31683c | /kaon/old_code/typeIII_D1_fixed_tK/typeIII_D1.cc | a393f9b04f1894f169f078dae8c4c62673d66a53 | [] | no_license | ydiz/decays | 17040322194a255df01d56b7e365ac01b1ed5761 | b1f7ce546983dee8f0a4c550145c3e430fd15a88 | refs/heads/master | 2021-12-28T23:08:59.640065 | 2021-12-08T19:53:34 | 2021-12-08T19:53:34 | 209,191,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,939 | cc |
// the result is the form factor except for the coefficient C1, C2 and the coefficient of each individual diagram
#include "../kaon.h"
#include "amplitude/form_factor.h"
using namespace std;
using namespace Grid;
using namespace Grid::QCD;
LatticeKGG calc_leptonic_with_coef(double M_K, const std::vector<int> &v... | [
"zyd2117@gmail.com"
] | zyd2117@gmail.com |
4b65b5d071cca6d708f1d00becb9692755bb4348 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_MissionType_Race_classes.hpp | 07caf1057562ff1b093b095792526932826f7b65 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 113,272 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_MissionType_Race_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
7ce746a4ab5b4c3a673d059532d3585ecba1c0b3 | e5e671b4326aa95141c9497f85f6f950c98c086c | /Sem Título1.cpp | eb9f83da1cca957460c50fb50903752c93422ecb | [] | no_license | MacielMjose/Linguagem-C | 16ffeeeb8aeefb131e7d169b4c37270099590beb | 993646ba8ab1353f79f644175e2bc6a36c755414 | refs/heads/master | 2020-04-25T01:38:54.885902 | 2019-05-09T00:29:09 | 2019-05-09T00:29:09 | 172,414,758 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 31,996 | cpp | /***********************************************/
/* Lista Encadeada */
/* objetivo: cadastro de pessoas */
/* programador: Daniela Bagatini */
/* criado em: 01/04/2016 */
/* data da ultima alteracao: 01/03/2018 */
/************... | [
"noreply@github.com"
] | noreply@github.com |
31b1f592a5aabe6d1bbf04e36853c3e482f38232 | 8a4cce357b067a23f4dada0985dc0a5afed265db | /Paperworks/src/Platform/OpenGL/OpenGLFramebuffer.h | 45bf4b8400a8f0394999f72d3d660d9292bb720a | [
"MIT"
] | permissive | codenobacon4u/paperworks | 1184e497e1babc5046f5e06b1ba9567fd311783f | 0e96cd2fb6070a2387ddd36aaa327b04733234fa | refs/heads/master | 2022-05-17T04:34:02.351502 | 2021-12-14T22:52:27 | 2021-12-14T22:52:27 | 163,015,001 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | h | #pragma once
#include "Paperworks/Graphics/API/Framebuffer.h"
namespace Paperworks {
class OpenGLFramebuffer : public Framebuffer
{
public:
OpenGLFramebuffer(const FramebufferSpec& spec);
virtual ~OpenGLFramebuffer();
virtual void Resize(uint32_t width, uint32_t height) override;
virtual void Bind() over... | [
"kralcmit@gmail.com"
] | kralcmit@gmail.com |
aa5a72ec14f9c53c5f793e12ff4f3bc21c74a1c2 | b85ef32050f35569f89678b9a93fb95a4f1fc30d | /starSvr/starSvr/starSvr/main.cpp | 8dd7a458033305445ef9abc6d506b35cc1a0002a | [] | no_license | 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,481 | cpp | #include <stdio.h>
#include "event2/event.h"
#include "event2/util.h"
#include "common.h"
#include "starPB.h"
#ifdef WIN32
#include <WinSock2.h>
#pragma comment(lib, "ws2_32.lib")
#else
#include <netinet/tcp.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#endif
#define... | [
"18767122273@163.com"
] | 18767122273@163.com |
3f959b906232fd1e570c448ed251032da3c86792 | 1b7daae23b2bd3baa72cf9711be00699dc387db3 | /src/leveldb/db/version_set_test.cc | eeb75cbddd3ec850ff1cbe96f7ec952833964a11 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | hotion/BitCoinCppChinese | f48894beff6e652031f18b58181592af1168ed40 | 76f64ad8cee5b6c5671b3629f39e7ae4ef84be0a | refs/heads/master | 2020-04-18T06:33:11.575445 | 2019-01-24T02:02:27 | 2019-01-24T02:02:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,641 | cc |
//此源码被清华学神尹成大魔王专业翻译分析并修改
//尹成QQ77025077
//尹成微信18510341407
//尹成所在QQ群721929980
//尹成邮箱 yinc13@mails.tsinghua.edu.cn
//尹成毕业于清华大学,微软区块链领域全球最有价值专家
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
//版权所有(c)2011 LevelDB作者。版权所有。
//此源代码的使用受可以
//在许可证文件中找到。有关参与者的名称,请参阅作者文件。
#include "db/version_set.h"
#include "util/loggi... | [
"openaichain"
] | openaichain |
5c26865e58d78f4235c3bd5e93d40ef968a2db48 | 330459f4025e5397f7933aac2d4c8dd87e4c2ef8 | /extend.cpp | b643c2c5cabc898e4b102918630b75f29f713c30 | [] | no_license | pigglehyun/2021 | 8495853cc9456061bf20d5e9c2aa184e631d6496 | a79a2cbc164656cfb84b907b518c644391113a21 | refs/heads/main | 2023-04-05T01:01:52.663784 | 2021-04-11T15:17:55 | 2021-04-11T15:17:55 | 349,937,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | #include <cstdio>
using namespace std;
void main(){
int sum= 0 ;
int h, num ,n , i = 0;
int a[] = {0};
scanf("%d", &num);
while(scanf("%d" , &n) == 1){
a[i] = n;
i++;
}
for(int p = 0 ; p < i ; p++){
printf("a[%d]:%d ",p, a[p]);
}
i = i-1;
printf("num : %d\n",num);
printf... | [
"noreply@github.com"
] | noreply@github.com |
c24ebf364e4cb79e2f583f2a0fdafa9a11351230 | eec3e0344a877532956a79749f54b225f3b72a38 | /ContactList.h | d8278ecee6a93e224704cd9e3dc29fed95011dc3 | [] | no_license | crmmvio/wabwrap | 6319716a5270a114c405de8c9e15c3ebf9e885f0 | 5e603c43e670147f1f181777132ce4ae28e42a5a | refs/heads/master | 2021-01-16T23:00:45.468612 | 2012-02-23T22:04:57 | 2012-02-23T22:04:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h | // ContactList.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
// CContactListApp:
// See ContactList.cpp for the implementation of this class
//
class CContactLis... | [
"marcinje@gmail.com"
] | marcinje@gmail.com |
3090c07fa91fb0867ad61dbff0ccd15ccb45219e | 421d6c5ce0a38ea9bd43eb259512928e93171bff | /workspace/hqyj/c++/day8/include/test.cpp | 09bbf7b46302b504cc59bc8101bd0396d14668bf | [] | no_license | LM1107/mygit | 3a1f75f37b14af22fcb7fa7b418ea3f216f83393 | 418c56c5bbeaea660987db4ca5c4b38387c466cc | refs/heads/master | 2022-11-06T22:32:50.876863 | 2020-07-31T12:12:25 | 2020-07-31T12:12:25 | 279,747,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include <iostream>
using namespace std;
#include "myexception.h"
int func(int x,int y) throw(myException)
{
if(y != 0)
return x/y;
throw(myException("err y == 0"));
}
int main()
{
int a;
int b;
cin >> a >> b;
try{
cout << func(a,b) << endl;
}
catch(myException &e)
... | [
"cdwjlm@163.com"
] | cdwjlm@163.com |
d0ab9515ee9abc416700adc3bfc649fc009fdbb0 | dc4f5529cb97a9b7d1d5ab361ef8c3e9b7f45c69 | /ALGORYTHMS/task1/myqueue.h | 338f0948740bc4fcbb968f189d9db84e03d741f2 | [] | no_license | aashikhmin82/test | ed3c2bba50c0bd6709b6bf8b414932a390b0c678 | 703c1cbac97997d00fcb22fa566a302ffd5eed70 | refs/heads/master | 2021-01-24T09:27:14.180502 | 2017-03-26T20:26:02 | 2017-03-26T20:26:02 | 29,897,380 | 0 | 19 | null | 2016-08-29T13:53:11 | 2015-01-27T04:33:04 | C++ | UTF-8 | C++ | false | false | 689 | h | #pragma once
#include <vector>
#include <iostream>
#include "stack.h"
template <typename data_t>
class myqueue
{
private:
mystack <data_t> stack_in, stack_out;
public:
void push_back(const data_t& data_string)
{
stack_in.push_back(data_string);
}
data_t p... | [
"aashikhmin82@gmail.com"
] | aashikhmin82@gmail.com |
b7cae481f966afa088fffd3a9e28245c8bad5ae2 | b4bbfa169bca53f44dcf5e0ac9cf2414c3ff6726 | /src/ConfigDialog.cpp | 1e1c7f14de70c667883da408076f38e4a58ed71e | [] | no_license | marco-toli/drs-5.0.5-CUSTOMIZED | e2a4bc21b58c582dd59ef7a25511dbd428d12c58 | 681dd5a4f679b782cff3bd02cfd8e265703f6491 | refs/heads/master | 2021-05-04T05:28:14.539477 | 2018-02-28T15:56:34 | 2018-02-28T15:56:34 | 120,337,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,247 | cpp | /*
* ConfigDialog.cpp
* Modeless Configuration Dialog class
* $Id: ConfigDialog.cpp 22290 2016-04-27 14:51:37Z ritt $
*/
#include "DRSOscInc.h"
ConfigDialog::ConfigDialog( wxWindow* parent )
:
ConfigDialog_fb( parent )
{
m_frame = (DOFrame *)parent;
m_osci = m_frame->GetOsci();
fCalMode = 0;
m... | [
"cambusecritiche.ricette@gmail.com"
] | cambusecritiche.ricette@gmail.com |
0c0a8b7d2267bff0b69c353c3523a1bc3634993e | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_WoodTable_parameters.hpp | d46b371d411ff6247f92d2663bc38f7f3161f4ea | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 769 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_WoodTable_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//------------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
c040083d11e69ab381159eb7ea85b9536a781f55 | 7818d70f4d93f50c860ca8a03b56700ba3e1399b | /src/qt/optionsmodel.h | 1332141e2996200cfd2292caf7515dc179262be4 | [
"MIT"
] | permissive | IndiumDev/Indium | 5245778142bee33800d9d99ceb36eae8c3665d39 | b87131b3d2e40678f418f4eabef049e5a963681e | refs/heads/master | 2020-03-18T03:47:35.013051 | 2018-05-21T10:51:20 | 2018-05-21T10:51:20 | 134,256,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,679 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2018 The INDIUM developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OPTIONSMODEL_H
#define BITCOIN_QT_OPTIONSMODEL_H
#include... | [
"Admin@DESKTOP-01MJO1I.(none)"
] | Admin@DESKTOP-01MJO1I.(none) |
d63963ee472067a5744069aacebfe7fc2048538d | 9357b06b1187806a79335b3bd9d890c7a9fd2318 | /vision/blackItem/image_converter.cpp | 511332f46a0bd1748692293e95e74f37e88a30a0 | [] | no_license | eithwa/AvoidChallange | 03be23c9191b055583af3512010e464f580cd8f7 | fe13da472916d4032ea9afe69509b26f4d00bb66 | refs/heads/master | 2020-06-14T13:25:04.218953 | 2019-07-10T13:23:37 | 2019-07-10T13:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,479 | cpp | #include "image_converter.hpp"
#include "math.h"
#include "omp.h"
using namespace std;
using namespace cv;
const double ALPHA = 0.5;
ImageConverter::ImageConverter():
it_(nh),
FrameRate(0.0),
obj_filter_size(500)
{
get_Camera();
get_center();
get_distance();
get_whitedata();
image_sub... | [
"mich841012@gmail.com"
] | mich841012@gmail.com |
c90003fc2595223b7d562d9eb560e4ef74515c04 | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/rm_anim_bp_parameters.h | 2dfd567911bfc1fea13242367e1072ff0fc26cef | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | h | #pragma once
// Name: Torchlight3, Version: 1.0.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
c6741192cd576cf9705e0099eb870fd93438ed49 | d7d61b4d927084d3545d33ca31768fb4ed0ed8d7 | /src/ecs/components/CJumpTimer.hpp | 503ce15df048d7dc9b1304f76ab43edb1e76338e | [] | no_license | brucelevis/ecs-sandbox | 0b381e35031b53308d78f1ecf918714d4dc5930b | 217f152f74d8e3edaa0d0733ebe51c66f4dc87b0 | refs/heads/master | 2023-06-29T03:00:05.113993 | 2020-07-10T22:59:05 | 2020-07-10T22:59:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | hpp | #pragma once
struct CJumpTimer {
int timeUntilJump;
CJumpTimer(int time = -1) : timeUntilJump(time) {}
};
| [
"christian@tuta.io"
] | christian@tuta.io |
64faf6465203d9a685fce702f7ad4f9f56afeeb0 | e5f844218d5ee969fde0e847c11c0d6e9ac526fe | /TransportCompany.h | 3dad0e689e9ea972f0a263023e07dd080479036b | [] | no_license | CatoLos/sppo_lab_1 | 6327f3b503807bb39306ff705fdd78cb18b62d17 | 396c2c7fb1b4df60dfaf11a35165dbf5d3c28d27 | refs/heads/main | 2023-04-04T09:24:38.161950 | 2021-03-29T09:00:38 | 2021-03-29T09:00:38 | 346,427,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef TRANSPORTCOMPANY_H
#define TRANSPORTCOMPANY_H
#include "Company.h"
class TransportCompany : public Company
{
public:
TransportCompany();
Type getType() override;
double getTax() override;
};
#endif // TRANSPORTCOMPANY_H
| [
"catrin2510@yandex.ru"
] | catrin2510@yandex.ru |
5997f25ffe813573326d3a786c787e9650b74234 | 439d113f6f0f02d4b73b143f8d87ff0ff19d45e4 | /src/radius/dictionary.cpp | 2d0a171bb1672446da9f52c99e2a18bce8f34895 | [] | no_license | huliangX/ISG-Cache-daemon | d9bb9cca3ffc116999861824c2faf3b1616bec7c | 74bab62dbcf5033733f0b96506f4228237ffd52a | refs/heads/master | 2020-12-25T12:17:26.088192 | 2010-09-16T07:48:10 | 2010-09-16T07:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,774 | cpp | #include <iostream>
#include <fstream>
#include <libgen.h>
#include <cstring>
#include <cstdlib>
#include "dictionary.h"
using namespace std;
RadiusDictionary::RadiusDictionary()
{
}
void RadiusDictionary::parse(string file)
{
unsigned short len = file.length()+1;
char *temp = new char[len];
strncp... | [
"omever@gmail.com"
] | omever@gmail.com |
bfe83fbc9824ea432b11fc2c4b5ee67dac83b93d | 6755668883b0fcbad6ed7e41609943e6a8fe75f4 | /LeetCode/Contests/Biweekly Contest 30/ReformatDate.cpp | 812c2f1037468014e6fae10111f7b63c1c21c9bf | [] | no_license | kaneki-ken01/problem-solving | 860d3bac883698ee37f2aa0f345bce01507db9da | 2403980eee44b602328c76085030c4db8f1c7373 | refs/heads/master | 2023-08-18T17:34:58.957207 | 2021-10-03T19:59:45 | 2021-10-03T19:59:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | cpp | class Solution {
public:
string reformatDate(string date) {
string a,b,c;
int p = 0;
while(date[p] != ' ' && p < date.size()) a += date[p++];
p++;
while(date[p] != ' ' && p < date.size()) b += date[p++];
p++;
while(date[p] != ' ' && p < date.size()) c += date[... | [
"ubiratanneto37@gmail.com"
] | ubiratanneto37@gmail.com |
6ae639c5bb0d50051bddc3114d05121af1fad18c | 719331520fa134bfb97ed30dd4a6901a5fd3e2a1 | /.gitignore/ofApp.cpp | bdb979e8564ac3b3070e89d4c1ba6e7313429b46 | [] | no_license | alyalqarni/ofxGUI_drawings | 7f2b685bf05b67bbd7bfd5e0e7e1ccfba55062c0 | 852a6ec53d43aa8c58763a476cdd0916e3010dff | refs/heads/master | 2021-08-24T09:58:37.736519 | 2017-12-09T04:38:38 | 2017-12-09T04:38:38 | 113,641,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,084 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// make the background black
ofBackground(255);
// don't automatically black out the window each frame
ofSetBackgroundAuto(false);
// make 350 FireworkParticles and put them in an array
... | [
"noreply@github.com"
] | noreply@github.com |
0b3015c77d32b458d4e8ff2b6e5b8eb6a2dcdee0 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/ntdll/sxsquerycpp.cpp | a17bb1e43d17c401e2c88804a89d2fca99f5701e | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 265 | cpp | /*++
Copyright (c) Corporation
Module Name:
sxsquerycpp.cpp
Abstract:
C++ wrapper source file for sxsquery.c
Author:
Jay Krell
Revision History:
March 2002 - Jay Krell
--*/
#include "pch.cxx"
#include "sxsquery.c"
| [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
65f0dc5d3f80fc06da6be26d96b7067c8af2e792 | 4aa6d0073d3d7c6ed3298f75f451d2e3a613c26b | /MyFuncs.cpp | 0f9c0ac99509b12f42b6d2c6939d474edf7e80c4 | [] | no_license | danielsnider/OCR-only-highlighted | a2af6931d431aeae2a9bca3ed9ad82fc79579d8f | 0e1ed96eea3b8f7fec1d158fbdda55dfeb98d3fd | refs/heads/master | 2020-04-23T00:04:48.846816 | 2013-02-02T16:32:57 | 2013-02-02T16:32:57 | 7,976,980 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,384 | cpp | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <string>
#include "MyFuncs.h"
using namespace std;
using namespace cv;
Mat KeepHighlightsOnly(Mat img, int r, int g, int b)
// the order of r, g, b is incorrect, reality is that... | [
"danielsnider12@gmail.com"
] | danielsnider12@gmail.com |
dafc6787d9b2fe01093966faeda610c20fd5b0da | e89ceed89cb60c834d1b35f25dcf1ca43221f3c9 | /src/qt/bitcoin.cpp | f23e35397f1c0bddfdcb7bc4fae0890e541b2192 | [
"MIT"
] | permissive | NEWQTM/Quantum | 857d2a2d87be6822cee8b779b4c8b5b1cedb004e | df2b7b4fb7dd9738a1e1c5010562fa043a15fb08 | refs/heads/master | 2021-01-21T21:15:19.186721 | 2017-06-19T16:51:14 | 2017-06-19T16:51:14 | 94,799,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,069 | cpp | /*
* W.J. van der Laan 2011-2012
*/
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "ui_interface.h"
#include "qtipcserver.h"
#include <QApplication>
#include <QMessageBox>
#include <QTextCo... | [
"jtx2010@hotmail.com"
] | jtx2010@hotmail.com |
99bd9bf177b537119ad528e1c286c42900c7aa08 | 4450cd8b5a0753079f4dab0e5982188f279dd303 | /Scanner/Scanner.ino | 77c15a6cea212e0e373f805d0c7425aa2a63fbff | [] | no_license | XelaLord/TWFingerprintLogin | 5182cd38ed18bce84304d334d046b3dd7bfd97c4 | 761fefa96d388b12c600e6670e46b2c113702a87 | refs/heads/master | 2020-03-28T04:57:21.367792 | 2019-04-19T00:33:20 | 2019-04-19T00:33:20 | 147,747,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,472 | ino | #include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3);
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
int Green = 8;
int White = 9;
int Red = 10;
int Button = 12;
int Mode = -1;
void setup()
{
pinMode(Green, OUTPUT);
pinMode(Red, OUTPUT);
pinMode(White, OU... | [
"alex.m.boyer@gmail.com"
] | alex.m.boyer@gmail.com |
aa43525524f0d237d0ce0bd032302a0684984e63 | 6135c88826f13c6e907562dba9d67a1029cc5b97 | /hw7/hw7/hw7/solar.cc | ec1230b43f6d187edeb93aa53449ccd75ce28f6d | [] | no_license | zhao20/Opengl | 3a5716bebff180e11dcc217a7b99e7b45deceb3a | 50f0e23707c92f9cf5cdbb3b853f330853bef148 | refs/heads/master | 2021-01-20T14:54:25.113865 | 2017-05-09T01:33:24 | 2017-05-09T01:33:24 | 90,687,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,477 | cc | /*************************************************************************
FILE: solar.cc
A program displaying the solar system composed of the sun and
the earth.
Author: Dana Vrajitoru, IUSB
Class: C481 B581 Computer Graphics
*************************************************************... | [
"xingguo.zhao@gmail.com"
] | xingguo.zhao@gmail.com |
b72db579ea7caea8b454fe54685d7ba398512629 | 27b7d2ecfeefcf7731ae34c122cf3d7551cddfe2 | /hackerrank/data_structures/stacks/poisonous-plants.cc | 5e183a3bea7a6977d05c0fedb460c5fb9332db41 | [] | no_license | mberlanda/oa-golf-code | 822ab897f52ef4f0f774288d01325d0bfa997cb3 | 7f8868ab2293c25dd79028971dbe5cb26ca924eb | refs/heads/master | 2020-08-26T19:53:47.820170 | 2019-12-05T10:04:10 | 2019-12-05T10:04:10 | 217,128,268 | 1 | 0 | null | 2019-11-24T10:58:18 | 2019-10-23T18:37:49 | C | UTF-8 | C++ | false | false | 1,920 | cc | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the poisonousPlants function below.
// https://www.hackerrank.com/challenges/poisonous-plants/problem
// https://www.hackerrank.com/challenges/poisonous-plants/forum/comments/132237
int poisonousPlants(vector<int> p)
{
i... | [
"mauro.berlanda@gmail.com"
] | mauro.berlanda@gmail.com |
75462918372186cc18d9c725e51159fcb0b3e365 | 6b738bd0081ad09b12965ea77be58253e783b442 | /bro/src/Manager.cc | 8a17324352c379af1c0b6b16d791c7c8f1e35321 | [
"BSD-2-Clause"
] | permissive | FrozenCaribou/hilti | 1f9b4d94aea500dfa50b3f54a9a079cf9e067506 | 10d3653b13268d7c2d1a19e0f675f43c9598a7b5 | refs/heads/master | 2021-01-18T02:59:12.841005 | 2016-05-31T14:02:15 | 2016-05-31T14:02:15 | 40,124,420 | 1 | 0 | null | 2015-08-03T12:49:21 | 2015-08-03T12:49:20 | null | UTF-8 | C++ | false | false | 83,773 | cc |
// TODO: This is getting very messy. The Manager needs a refactoring
// to split out the BinPAC++ part and get rid of the PIMPLing.
#include <memory>
#include <glob.h>
extern "C" {
#include <libbinpac/libbinpac++.h>
}
#undef DBG_LOG
// Bro includes.
#include <Desc.h>
#include <Func.h>
#include <ID.h>
#include <Ne... | [
"robin@icir.org"
] | robin@icir.org |
a19afbf05abe528c4f58e81ca8c9a53214cdc441 | 7aa0db9b8bdafe14adfd48abf4ca3d8fcdbfcfe7 | /Dfs.cpp | f8bc3dd145d9acc8b1e48bcf818e640bce127d18 | [] | no_license | MonikaDjordjevic/Bubbles-game- | 78e3040912682684af6dafd8bdee9974db300f62 | 5dd39e8c2fd75fa56df0ecc8d699bbe67886da4b | refs/heads/master | 2020-12-02T21:24:07.011919 | 2017-07-05T11:20:28 | 2017-07-05T11:20:28 | 96,310,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | cpp |
#include "Dfs.hpp"
Dfs::Dfs(GameState* gameState) {
this->gameState = gameState;
int x = gameState->getWidth();
int y = gameState->getHeight();
for(int i = 0; i < x; i++) {
visited.push_back(std::vector<bool>());
for(int j = 0; j < y; j++) {
visited.back().push_back(false)... | [
"noreply@github.com"
] | noreply@github.com |
438fac877ff9eddf1d8d4af909621c8c885039a2 | 84c27c13a035593be9a3196e5ad455047ba5019d | /Source/Bomber/FindWayPointQueryContext.cpp | 4aaf700ebf9e824248d346688ac5f78456b72c67 | [] | no_license | GinoSahagun/Unreal-Engine-Bomberman | 6964aa92ae92525ab80e2be103f0b33b3291483e | cc0860ac8d3de78c6cc925cfdde536cfd494720d | refs/heads/master | 2021-01-09T09:36:17.207890 | 2017-03-22T21:13:47 | 2017-03-22T21:13:47 | 81,166,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Bomber.h"
#include "FindWayPointQueryContext.h"
#include "SmartAI.h"
#include "EnemyAIController.h"
#include "SBotWayPoint.h"
/*AI INcludes*/
#include "EnvironmentQuery/EnvQueryTypes.h"
#include "EnvironmentQuery/Items/EnvQueryIte... | [
"sahagun.gino@gmail.com"
] | sahagun.gino@gmail.com |
a59a84d47996b10753b1b8c9677540542507bd36 | 22729f0eb84230e5becbca11fb86707f61f81516 | /src/ivcam/sr300-fw-update-device.cpp | 4632907cb3336ae2d080cf5a66646b564420d353 | [
"GPL-1.0-or-later",
"OFL-1.1",
"GPL-2.0-only",
"GPL-3.0-only",
"BSL-1.0",
"MIT",
"Apache-2.0",
"LGPL-2.1-only",
"LicenseRef-scancode-public-domain",
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause",
"BSD-1-Clause",
"Unlicense"
] | permissive | lips-hci/ae400-realsense-sdk | 742cc375d421ee41c04d1934b5bec23d607f39ed | 2554f30bdcbf71b5b7279fef494176f3fbd6c6c7 | refs/heads/master | 2023-04-27T01:57:34.504808 | 2023-03-21T09:21:34 | 2023-04-13T06:11:17 | 227,797,796 | 9 | 4 | Apache-2.0 | 2023-08-25T07:42:36 | 2019-12-13T08:59:00 | C++ | UTF-8 | C++ | false | false | 1,438 | cpp | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
#include "sr300-fw-update-device.h"
#include "ivcam-private.h"
#include <chrono>
#include <thread>
namespace librealsense
{
sr300_update_device::sr300_update_device(std::shared_ptr<context> ctx... | [
"timcheng@lips-hci.com"
] | timcheng@lips-hci.com |
90f40fbb7b205a5bbf4872888459afa8e43de070 | 4a560ee9d60c7b0e0956b7c990f6c3a510ac4643 | /dijskhtras.cpp | 0ea4ab9238eb2cac452a8fe2086658d7e8289c3b | [] | no_license | navjot888/Dijsktras | cd066a063bbffe4ce9dfeaca968b555552325577 | 2ae763d62349f4c601c37f22936d84fd801e0481 | refs/heads/master | 2022-12-07T13:32:32.017719 | 2020-08-20T02:56:26 | 2020-08-20T02:56:26 | 288,237,367 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,869 | cpp | #include<iostream>
#include<set>
#include<list>
#include<algorithm>
using namespace std;
typedef struct nodes
{
int DEST;
int COST;
}node;
class Graph
{
int N;
list<node> *adjList;
private:
void showList(int src, list<node> lt)
{
list<node> :: iterator i;
node tempNode;
... | [
"noreply@github.com"
] | noreply@github.com |
ea872b127cad3ed48c33cb77fbea0666c5f5487b | 00dc94032f9471ec209f768917d5657b656df753 | /Proj_Aula/ClassAbstract/FiguraGeometrica.h | 28c8a56912088dc00cc5b43300a77a75ef222b21 | [] | no_license | ninjanazal/P3D_Lessons | 7e0b8396849308021bb10f3fbb314bd9270a8d91 | ed3f3cc4e98d5b132a0269449e337fcfbdbbc2f0 | refs/heads/master | 2021-03-18T09:28:59.431114 | 2020-05-15T14:56:41 | 2020-05-15T14:56:41 | 247,063,052 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 444 | h | #pragma once
#include <iostream>
namespace ClassAbstract
{
class FiguraGeometrica
{
public:
//FiguraGeometrica(); // construtor
virtual ~FiguraGeometrica() { std::cout << "\nForma Destruida!\n"; } //destrutor
virtual float Perimetro() = 0; // definišao do metodo de calculo do perimetro
virtual float Area() ... | [
"euricomartinss@gmail.com"
] | euricomartinss@gmail.com |
2a88f31720fad017b55fbcb77a13b0ed786683ca | 3ed23524a9e6c732a2d9b4261245ba2f00398f24 | /tiny_collada_parser/tiny_collada_parser.cpp | 4df994d2e30245b4e17635d51613803dbd176b7f | [
"Zlib"
] | permissive | doscoy/tiny_collada_parser | c5fee01198a31a621ee6baf2e38d756ef7b7d1d8 | abb655071e8f04649b664aa969414e61c7af28bd | refs/heads/master | 2016-08-05T10:35:01.873505 | 2014-01-13T06:28:57 | 2014-01-13T06:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,599 | cpp | // mcp_parser.cpp
#include "tiny_collada_parser.hpp"
#include "third_party_libs/tinyxml2/tinyxml2.h"
#include <cassert>
#if 1
#define TINY_COLLADA_DEBUG 1
#else
#define TYNE_COLLADA_DEBUG 0
#endif
#if TINY_COLLADA_DEBUG
#define TINY_COLLADA_TRACE(...) ::std::printf(__VA_ARGS__)
#define TI... | [
"doscoy.t@gmail.com"
] | doscoy.t@gmail.com |
2571f74e836ed29e33eafde273d3eff5959adec9 | 32f00c7cf80914434e6c771a6400810497148700 | /src/Up.h | b59e6221fa17780f64a559b8132379668c4def6b | [
"MIT"
] | permissive | hgu-sit22005/telloproject-NaGyungMin15 | 753a10fbcc38ab3b0cfecbc160b0d443b15c202c | 30429e7cc922cf811db4c85d1aa266029c6c29b6 | refs/heads/master | 2020-09-14T09:55:17.936531 | 2019-11-24T10:30:38 | 2019-11-24T10:30:38 | 223,096,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 140 | h | #pragma once
#include "TelloPro.h"
class Up: public TelloPro
{
public:
Up();
Up(int _val);
public:
double get_delay();
};
| [
"21500219@handong.edu"
] | 21500219@handong.edu |
98558d7120e0c7cbd5cc8b36241d5c98e5a8dde0 | b35b6032868edc7ca74ce927676205aa217480cd | /Abstract Pattern/src/ConcreteProductB1.cpp | a143222a62f5f24bb8c093835593df8239e78fa6 | [] | no_license | drewProgram/design-patterns-cpp | c59bab39e8ce8a04d6fa91c1312892bad0a8422b | cb556374d7692f632dc7cee63c4f70e94380da9a | refs/heads/main | 2023-06-25T05:04:52.211887 | 2021-07-29T17:26:59 | 2021-07-29T17:26:59 | 375,843,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | #include "ConcreteProductB1.h"
std::string ConcreteProductB1::UsefulFunctionB() const
{
return "The result of the product B1.";
}
std::string ConcreteProductB1::AnotherUsefulFunctionB(const AbstractProductA& collaborator) const
{
const std::string result = collaborator.UsefulFunctionA();
return "The result of the ... | [
"andrew.lascasas@gmail.com"
] | andrew.lascasas@gmail.com |
78373223e2ae410da7a4f6aa67290582b46ab086 | a56252fda5c9e42eff04792c6e16e413ad51ba1a | /resources/home/dnanexus/root/include/TVirtualDragManager.h | 874943fcbb5edc8cb737d2a121d1df7d51599f59 | [
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"Apache-2.0"
] | permissive | edawson/parliament2 | 4231e692565dbecf99d09148e75c00750e6797c4 | 2632aa3484ef64c9539c4885026b705b737f6d1e | refs/heads/master | 2021-06-21T23:13:29.482239 | 2020-12-07T21:10:08 | 2020-12-07T21:10:08 | 150,246,745 | 0 | 0 | Apache-2.0 | 2019-09-11T03:22:55 | 2018-09-25T10:21:03 | Python | UTF-8 | C++ | false | false | 3,528 | h | // $Id: TVirtualDragManager.h,v 1.1 2004/09/08 16:03:57 brun Exp $
// Author: Valeriy Onuchin 12/08/04
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
* All rights reserved. ... | [
"slzarate96@gmail.com"
] | slzarate96@gmail.com |
bf2563557aa76c90ae419fb521ea8cac218fdb68 | 413df0c83cdd3021f58d8abf01fd81f8290d2c28 | /sketch_oct15a/sketch_oct15a.ino | d971b2870794ad3430beef67f153b5ffbde29f26 | [] | no_license | RimantasSmitas/Arduino | 6d7328633b0fb7f9e0c83fa8c15924e67830854b | 1c9da217471d7426207780ca1fb1e139f69f4016 | refs/heads/master | 2020-03-11T23:40:36.056105 | 2019-06-24T07:34:00 | 2019-06-24T07:34:00 | 130,327,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | ino | #define YELLOW 0
#define GREEN 1
#define RED 2
#define BLUE 3
#define BUTTON1 13
#define BUTTON2 12
#define BUTTON3 11
#define BUTTON4 10
#define SPEAKER 9
int numTones = 10;
int tones[] = {261, 277, 294, 311, 330, 349, 370, 392, 415, 440};
// mid C C# D D# E F F# G G# A
int nrOfLight... | [
"Rimantas.smitas@gmail.com"
] | Rimantas.smitas@gmail.com |
ded9d8da18bd0b2e2a419e2b2043903644447435 | 7800d0b537e9a66482ae19ee3fa3447c72d0afe1 | /GPCWGame/Studentmain.cpp | 61c31f7038c0c6522ef892a2c71cc868d3d50edc | [] | no_license | euanmcmen/GPCWGame | 8f8f6b7fdc7953a829cb31a2347c8d94c316521c | 9a351040fe6031936ade14d5034ade6b15a3b648 | refs/heads/master | 2016-08-11T07:08:43.401351 | 2015-12-07T03:07:39 | 2015-12-07T03:07:39 | 45,419,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,309 | cpp | #define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#define GLX_GLXEXT_LEGACY //Must be declared so that our local glxext.h is picked up, rather than the system one
//#include <windows.h>
#include "GameConstants.h"
#include "windowOGL.h"
#include "cWNDManager.h"
#include "cShapes.h"
#include "cSphere.h"
#include "cM... | [
"euanmcmen@hotmail.com"
] | euanmcmen@hotmail.com |
3ae85d5465af3af97d6e8940f5fea0650e18de18 | a2c38656a7006eea093e3cf9af71860784c71a0f | /src/data_alignment_padding.cpp | b917c85728db661702e7868de17e8e5b3b136dc5 | [] | no_license | kaifastromai/Data-Structures | 3bf4702a5f1244d42c89117b23575f66e75bc854 | c6bc38ccb36a40df821dcf5f3d7a888015b1b406 | refs/heads/master | 2022-12-19T05:31:04.937974 | 2020-09-30T06:08:34 | 2020-09-30T06:08:34 | 299,823,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | #include <string>
#include <iostream>
using namespace std;
struct Foo
{
string first_name;
char middle_initial;
string last_name;
};
int main()
{
Foo f;
f.first_name = "Frank";
f.middle_initial = 'C';
f.last_name = "Clerkson";
cout << "Foo size: " << sizeof(f) << " Siz... | [
"cephastorm@outlook.com"
] | cephastorm@outlook.com |
c4c0cd927ca1e2464a7d2052b26664865cbd2448 | fe2836176ca940977734312801f647c12e32a297 | /UVa/Graph/Minimum Spanning Tree/11631 Dark roads/main.cpp | 5274fa0294349fb902dacf701522a6f51240be12 | [] | no_license | henrybear327/Sandbox | ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064 | d77627dd713035ab89c755a515da95ecb1b1121b | refs/heads/master | 2022-12-25T16:11:03.363028 | 2022-12-10T21:08:41 | 2022-12-10T21:08:41 | 53,817,848 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair< int, int > ii;
#define N 200100
struct UFDS {
int par[N];
void init() {
memset(par, -1, sizeof(par));
}
int root(int x) {
return par[x] < 0 ? x : par[x] = root(par[x]);
}
void merge(int x, int y) {
x = root(x);
y = root(y);
if(x == y)
... | [
"henrybear327@gmail.com"
] | henrybear327@gmail.com |
970764f2a53a08af4680adbde356c19260256be9 | 748ae5463007deeeadb37a0cab797e251fc7b41f | /aadcUser/frAIburg_LightController/light_controller.h | 280ec198df456112daac2aef70003da854b971d2 | [
"BSD-3-Clause"
] | permissive | PhilJd/frAIburg | 30682c866728a6b64545b5194b753fad62674f18 | 7585999953486bceb945f1eb7a96cbe94ea72186 | refs/heads/master | 2021-04-25T12:47:24.859040 | 2019-03-23T10:29:02 | 2019-03-23T10:29:02 | 110,755,031 | 10 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,825 | h | /**********************************************************************
Copyright (c) 2017, team frAIburg
Licensed under BSD-3.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistribution... | [
"jundp@informatik.uni-freiburg.de"
] | jundp@informatik.uni-freiburg.de |
eab16cfac9ac5173cb77e0b91fd27946051bcf91 | dc4f4c16c4aa230b4141a5ddfeada215b0451e5a | /.localhistory/C/Users/Martin Samsonstuen/Dropbox/bildebehandlingsprosjekt/bildebehandling/Bildebehandling/Bildebehandling/1537863730$Source.cpp | 0326eee0a30adefc321417665c6076887321ea68 | [] | no_license | zeathd/Bildebehandling | ea2317121cdccc82f8ed757c438254f5f79b4c83 | 84367e0d4e1a9fbd7d845b4b086ec509834be436 | refs/heads/master | 2020-03-29T18:34:08.444584 | 2018-09-25T08:52:15 | 2018-09-25T08:52:15 | 150,220,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include <iostream>
using namespace std;
#include "Bilde.h"
int main() {
Bilde *testbilde = new Bilde;
testbilde->lesBitmapFil("tester.bmp");
delete testbilde;
testbilde = 0;
return 0;
} | [
"Martin.Samsonstuen@hotmail.com"
] | Martin.Samsonstuen@hotmail.com |
ff006b4c9e868160b5817ae2f74fa5f128be4c87 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /Ifc4/src/OpenInfraPlatform/Ifc4/entity/IfcCoolingTowerType.cpp | 1264728f6903d78cc0ded235b429efe51494f00f | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 4,969 | cpp | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#include <sstream>
#include <limits>
#include "OpenInfraPlatform/Ifc4/mo... | [
"julian.amann@tum.de"
] | julian.amann@tum.de |
1ddf5e5263604140d6b181feef5893297b1972ae | 05ee2e3ef095e61d8dfa359112359704a6d33c69 | /Project2/Project2/ElementMultime.h | dc3b98cc8c6dea56d420f082c8b0b2d68cff8d70 | [] | no_license | Daniela02/Tema-2-POO | 1808f238736b76e3dcd38d02ca4de5ec7656f5bf | 96935f7e24dc404b6a061144d7187d7680867626 | refs/heads/master | 2020-03-12T17:38:59.535812 | 2018-05-03T08:54:22 | 2018-05-03T08:54:22 | 130,741,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | h | #pragma once
#include "ElementMultime.h"
#include <iostream>
using namespace std;
class ElementMultime
{
public:
int x;
ElementMultime();
ElementMultime(int);
ElementMultime(ElementMultime &);
virtual ~ElementMultime(){}
ElementMultime & operator = (const ElementMultime &);
friend istream &operato... | [
"noreply@github.com"
] | noreply@github.com |
e6cf36a22a1a6d89a83b7f666d8856a4b04657f4 | c764fb0ff4193f97e29b3178d776b8ae7e9fd677 | /project/lezhi/可执行文件/moc_GroupBox.cpp | bd1c56d3f740e1683a19a8867215ad43f8a21ef9 | [] | no_license | ooshell/qtCode | 0ea0293c6c7daccfb2d43378431c8f20b2c6e940 | 738056da71c5e8601337a911ed9e3064db5433d4 | refs/heads/master | 2020-09-04T23:36:25.411840 | 2019-11-06T06:15:09 | 2019-11-06T06:15:09 | 219,923,818 | 0 | 0 | null | 2019-11-06T06:05:47 | 2019-11-06T06:05:47 | null | UTF-8 | C++ | false | false | 4,415 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'GroupBox.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
************************************************************... | [
"523090538@qq.com"
] | 523090538@qq.com |
1901366b6ae673a0790210be63bd9af215321247 | c2dce5941201390ee01abc300f62fd4e4d3281e0 | /include/cetty/util/SecureRandom.h | d83c31442a70367774049daf6ddb127f47572e1e | [
"Apache-2.0"
] | permissive | justding/cetty2 | 1cf2b7b5808fe0ca9dd5221679ba44fcbba2b8dc | 62ac0cd1438275097e47a9ba471e72efd2746ded | refs/heads/master | 2020-12-14T09:01:47.987777 | 2015-11-08T10:38:59 | 2015-11-08T10:38:59 | 66,538,583 | 1 | 0 | null | 2016-08-25T08:11:20 | 2016-08-25T08:11:20 | null | UTF-8 | C++ | false | false | 1,112 | h | /* Copyright 2012 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | [
"frankee.zhou@gmail.com"
] | frankee.zhou@gmail.com |
1a8114a7e2207753052cbb1b73482bf2e6b511f6 | aa4f95b04a683f06577d3c2035594ae6bf7bcc49 | /GameEngineTK/FollowCamera.cpp | 440171ffcf3e863c8b0c2c76073a6a6ed705debe | [] | no_license | HimetyanSamaruha/GameEngineTK | d05b0c766fdc13d5bdede7e9919ce48ee6bc8246 | 86c72a91d1470dede97886e505c485d4b3d2a919 | refs/heads/master | 2021-01-19T13:49:49.494629 | 2017-06-02T09:04:40 | 2017-06-02T09:04:40 | 88,112,267 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,648 | cpp | #include "FollowCamera.h"
using namespace DirectX;
using namespace DirectX::SimpleMath;
const float FollowCamera::CAMERA_DISTANCE = 5.0f;
const float FollowCamera::CAMERA_DISTANCE_FPS = 0.01f;
FollowCamera::FollowCamera(int w, int h)
:Camera(w, h)
{
m_target_pos = Vector3::Zero;
m_target_rot = 0.0f;
maincamera... | [
"himetyansamaruha@gmail.com"
] | himetyansamaruha@gmail.com |
4f49454fc2ec1d7ce4c254c6bae4ed64a93eb77e | 592640e3420f7ac3814fe7f8c4f755e8fe046ca2 | /Asteroids/src/PingPong/GameCtrlSystem.cpp | 4d4f976c69d377359cd27b8152c54fbe7484d63f | [] | no_license | nestcmartin/SDL2-Projects | 9e3a233b29c3b171623d0868928bb1d76689c41c | 58929acb94ca3df723d4999d03564b9b107c590c | refs/heads/master | 2022-11-14T07:12:17.828667 | 2020-07-06T16:07:36 | 2020-07-06T16:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,039 | cpp | #include "GameCtrlSystem.h"
#include "Manager.h"
#include "Score.h"
#include "GameState.h"
#include "messages.h"
#include "PhysicsSystem.h"
GameCtrlSystem::GameCtrlSystem() :
System(ecs::_sys_GameCtrl) {
}
void GameCtrlSystem::recieve(const msg::Message &msg) {
switch (msg.id) {
case msg::_PLAYER_INFO: {
auto ... | [
"nestorcmartin@gmail.com"
] | nestorcmartin@gmail.com |
4bd85872bef594b5b41df4505130ecc049b1c759 | 09d9b50726c2e5cdc768c57930a84edc984d2a6e | /LIGHT OJ/Greedy/1166 - Old Sorting.cpp | 077d8b174996405b2f02926328906e9deb4035cf | [] | no_license | omar-sharif03/Competitive-Programming | 86b4e99f16a6711131d503eb8e99889daa92b53d | c8bc015af372eeb328c572d16038d0d0aac6bb6a | refs/heads/master | 2022-11-15T08:22:08.474648 | 2020-07-15T12:30:53 | 2020-07-15T12:30:53 | 279,789,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | #include<bits/stdc++.h>
using namespace std;
int ara[110],n;
int func(int i)
{
if(ara[i]==i)return 0;
else{
for(int j=i+1;j<=n;j++){
if(ara[j]==i){
swap(ara[j],ara[i]);
return 1;
}
}
}
}
int main()
{
int t,cas=0;
cin>>t;
wh... | [
"omar.sharif1303@gmail.com"
] | omar.sharif1303@gmail.com |
7b5e06ec76500c4425e0ec9082543244a79a2a88 | 9ded61896225dbb9ea63a5f45ff56702954ffaae | /codeforces/1765a.cpp | 1590df6fe2d5798a73f0e71e22ea4945a15eb6ac | [
"MIT"
] | permissive | djulcac/competitive-programming | 03c2c7c1b046da62dbdffa8bd1a6e7ca4a6364d7 | bbe8b8035f2ead3bced803c735adc297f78fb647 | refs/heads/master | 2023-04-30T11:28:21.532380 | 2023-02-01T19:07:31 | 2023-02-01T19:07:31 | 170,201,379 | 0 | 0 | MIT | 2023-02-01T19:07:32 | 2019-02-11T20:59:03 | C++ | UTF-8 | C++ | false | false | 381 | cpp | // 2022-11-27T05:36:29.498002
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define _int int
#define F(i,a,b) for(_int i=a,_=a<b;(_&&i<b)||(!_&&i>b);_?i++:i--)
#define f(i,n) for(_int i=0;i<n;i++)
ll solve(){
ll n,k,m,t,nn;
cin>>n;
return 0;
}
int main(){
ll T = 1;
// cin>>T;
// while(T--) ... | [
"djulcac@uni.pe"
] | djulcac@uni.pe |
ec587008f4c18fe8dd90bb49d5ac4810f4c346cb | aa8c872ca975de05b97d166c8b774e1fb1bc9cdc | /src/main_oper.hpp | 108bd6c9b1a0a90ded35bac7de30b24795141700 | [
"MIT"
] | permissive | flisboac/ukoct | f9254f9be58c37fa6eae8d1f7b623725b283409d | 221c33b5e3f0ff9d3eb25fa90a081cfa327dad11 | refs/heads/master | 2020-05-16T03:10:23.621161 | 2014-10-19T08:00:02 | 2014-10-19T08:00:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163 | hpp | #ifndef MAIN_OPER_HPP_
#define MAIN_OPER_HPP_
#include "main.hpp"
extern const IOptionGroupCallback* const oper_operationCallback;
#endif /* MAIN_OPER_HPP_ */
| [
"flisboa.costa@gmail.com"
] | flisboa.costa@gmail.com |
ce7de4fa68f04ad1720fb0c4df94503d1deb85c0 | 77780f9ccc465ae847c92c3a35c8933b0c63fa4e | /剑指offer题解/翻转单词顺序.cpp | 662ebdc2f00d8a0d39f07fc2e66aaf203a8215a2 | [] | no_license | changmu/StructureAndAlgorithm | 0e41cf43efba6136849193a0d45dfa9eb7c9c832 | d421179dece969bc1cd4e478e514f2de968c591a | refs/heads/master | 2021-07-18T04:04:46.512455 | 2020-05-17T11:50:26 | 2020-05-17T11:50:26 | 30,492,355 | 1 | 0 | null | null | null | null | WINDOWS-1253 | C++ | false | false | 813 | cpp | /*************************************************************
* ΐύΘηΚδΘλΧΦ·ϋ΄®"I am a student."£¬ΤςΚδ³φ"student. a am I"΅£
*************************************************************/
void Reverse(char *pBegin, char *pEnd)
{
if (pBegin == NULL || pEnd == NULL)
return;
for (; pBegin < pEnd; ++pBegin, --pEnd)... | [
"2276479303@qq.com"
] | 2276479303@qq.com |
0a78c0cb7f9d41fe196b7c50779526d3eed5e0e4 | fc25601d60cfbd408a816f93edfac5859c4bd649 | /MyBenechia/TextBrick.cpp | fd05a35599556a2bea678bd6277b3b5ca0cd15e6 | [] | no_license | SKMBOSS/WINDOW_API | b5d458d8b2ff2627cdbb31932ae5109c34989c53 | 4fc9b8c319ef22f3268f4011e6a8791890c3ac41 | refs/heads/master | 2020-07-12T12:51:47.478359 | 2019-10-24T05:02:08 | 2019-10-24T05:02:08 | 204,821,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include "TextBrick.h"
TextBrick::TextBrick()
{
}
TextBrick::~TextBrick()
{
}
TextBrick::TextBrick(int rtPos, int _speed, string _targetText)
{
SetSpeed(_speed);
targetText = _targetText;
SetRtCollider(rtPos);
}
void TextBrick::Update()
{
DownBrick();
}
void TextBrick::Render(HDC hdc)
{
RenderBrick(hdc);
}
v... | [
"zzangjungsu@gmail.com"
] | zzangjungsu@gmail.com |
f159271bd77abb3fc0e40c337422b4acf0e81c16 | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/2765/E | 3bb083caed7904dc0105ad6ea725a98ed69f9de4 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,868 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
2dd1c216a84a8edd33573cc2b7835d4908c8df39 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE78_OS_Command_Injection/s07/CWE78_OS_Command_Injection__wchar_t_environment_system_74a.cpp | 09423faeb9f5195999a95d8025bbc8c62485aa25 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 3,220 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_system_74a.cpp
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input ... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
b8a92e8324f7ae859672ea1257bde4f2daa6f805 | bef2bdbfa41d617dbddca554ce7bfe9ceb474261 | /src/Explosion.hpp | 54e0d5869d8b76128b3f876bebc0d7858721e03f | [] | no_license | rooooooooob/fathom | 0495cb3312f8103f2e7b4524c0ea2d083dc22976 | 9216c1e10b0b3869207613931b0bacbdaab76c91 | refs/heads/master | 2021-01-19T19:32:20.670799 | 2015-09-27T15:46:30 | 2015-09-27T15:46:30 | 42,344,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | hpp | #ifndef FATHOM_EXPLOSION_HPP
#define FATHOM_EXPLOSION_HPP
#include "jam-engine/Core/Entity.hpp"
#include "jam-engine/Graphics/Animation.hpp"
namespace fathom
{
class Explosion : public je::Entity
{
public:
Explosion(je::Level *level, const sf::Vector2f& pos);
private:
void draw(sf::RenderTarget& target, const sf:... | [
"raftias@gmail.com"
] | raftias@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.