blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eaae88ac2d53aaff5de1c24d1291695f7e56e73b | ad400e173f7307bb18f44550e9809750b6f207e3 | /Interfaces/Info.cpp | 62359cf5e4e5e933a542d0b68594ccc4bdc408df | [] | no_license | officialBell/Barbossa | 6f696f8369d3a968f8f341cacb567b243a57cac0 | 1bbcaa39404a641824a65e44b3f15a950f40b265 | refs/heads/master | 2021-09-10T16:51:08.501849 | 2018-03-29T17:12:27 | 2018-03-29T17:12:27 | 109,428,921 | 0 | 0 | null | 2017-11-03T18:19:36 | 2017-11-03T18:19:35 | null | UTF-8 | C++ | false | false | 975 | cpp | /*
This was on my discord a while ago viking uploaded it to the discord after his site went down i'm grateful viking made this.
PS: around 90% of the code that I added is from aimtux/forks
- Warlauke/sonicrules11
---------------------------------------------------------------------------------------------------... | [
"noreply@github.com"
] | noreply@github.com |
617aed85fb927cfe96710d1be9cfc6c9614e509b | 09b37a937dba38b8dfd21e07066aa9485c15de7c | /overtimeinspection.cpp | 1e4a0eedaff7bd2e95a0a748af66e662877a90b6 | [] | no_license | Juncc19/LMS | 68e069bb3fadab4834122d6bdfebaf1a367937f5 | 55128c8065d16fe6350a9419151f604ff55ff6ee | refs/heads/master | 2022-11-12T02:55:13.043557 | 2020-06-22T08:06:55 | 2020-06-22T08:06:55 | 270,684,118 | 1 | 0 | null | 2020-06-22T06:12:03 | 2020-06-08T13:43:38 | C++ | UTF-8 | C++ | false | false | 3,067 | cpp | #include "overtimeinspection.h"
overtimeInspection::overtimeInspection(QObject *parent) : QObject(parent)
{
recordModel=new QSqlTableModel(this);
recordModel->setTable("record");
overtimeRecordModel=new QSqlTableModel(this);
overtimeRecordModel->setTable("overtimeRecord");
overtimeCheck()... | [
"noreply@github.com"
] | noreply@github.com |
e2e1c20864c1bfd941ef3f9b403f2f5aabfecb00 | 44383fb0ac6070f67386cd105da373ee8a6d4cea | /src/video/ffmpeg/threaded_decoder.cc | 11588373d8472b884c773f175d6a33d62da31515 | [
"Apache-2.0"
] | permissive | bityangke/decord | 1b657c8d55b398d5a644629b5b056b342c428da1 | e02180c844b6c29fd3fb99ad118307c419e86bcd | refs/heads/master | 2020-05-18T23:23:59.390292 | 2019-05-01T18:34:03 | 2019-05-01T18:34:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,859 | cc | /*!
* Copyright (c) 2019 by Contributors if not otherwise specified
* \file threaded_decoder.cc
* \brief FFmpeg threaded decoder Impl
*/
#include "threaded_decoder.h"
#include <dmlc/logging.h>
namespace decord {
namespace ffmpeg {
FFMPEGThreadedDecoder::FFMPEGThreadedDecoder() : frame_count_(0), draining_(fals... | [
"cheungchih@gmail.com"
] | cheungchih@gmail.com |
c2cffe098429e136aba0db297196bda85f5b0b46 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/core/kernels/mlir_generated/gpu_op_complex_abs.cc | 69f45d58b18eac44f019aa12060ae83a812a3a57 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 1,130 | cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
f01eeb55ff44d8aef19ea697fa75fc8f5cec10ea | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/030/Classes/scenes/FavScene.h | 4749b0ce50b538a9405ae51578d131bf057caece | [] | no_license | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | h | //
// FavScene.h
// OreoMaker
//
// Created by wusonglin1 on 14-10-24.
//
//
#ifndef __OreoMaker__FavScene__
#define __OreoMaker__FavScene__
#include <iostream>
#include "cocos2d.h"
#include "../Depends/base/BaseScene.h"
USING_NS_CC;
class FavScene: public BaseScene{
private:
FavScene();
virtual ~FavScene(... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
0f99530316907bba4194a9922d48fabdd747e7ee | db19ea383c96b1a8605bb719efeeae688e2acdb1 | /FirstClass/main.cpp | fd8145b751a0ecc091a6f7ff4ec7da094959191e | [] | no_license | Ryzempt/FirstClass | dcd7c577dbe31bf2fac86f9126a00bd67ad851f1 | f00d0cb02046c30c25ee96def17dd6786af7b859 | refs/heads/master | 2020-04-18T08:16:30.599615 | 2019-01-24T15:31:04 | 2019-01-24T15:31:04 | 167,390,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | //
// main.cpp
// FirstClass
//
// Created by Kaufman, Robert on 1/24/19.
// Copyright © 2019 CTEC. All rights reserved.
//
#include <iostream>
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
| [
"robbiekaufman0504@gmail.com"
] | robbiekaufman0504@gmail.com |
a8d3e9c36ae09338439046f1f722c30b6e6d0603 | 5c6d9585b7620ef39cf9a203e7b709125f1aea3d | /ACPC10A.cpp | b8fd055138603e080fba08d5ad8c4014157d6f1e | [] | no_license | samyhaff/SPOJ | 3c138dfbdb9a8ecb11de04ff476a2118c5fdbd3c | e5304bfaf78f3d4431998da4b31137f3dca18556 | refs/heads/master | 2023-06-30T08:15:05.431715 | 2021-08-03T08:49:38 | 2021-08-03T08:49:38 | 387,133,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a, b, c;
cin >> a >> b >> c;
while (!(!a && !b && !c))
{
if (b - a == c - b) {
cout << "AP " << 2 * c - b << endl;
}
else {
cout << "GP " << c * c / b << endl;
}
cin >> a >>... | [
"haffoudhisamy@gmail.com"
] | haffoudhisamy@gmail.com |
67629d1816aef02660d2b4c88f1797c813b0a1ce | 82f153568b4752c3c1a29c9aa1a650e3e2a39d3a | /Trace/ImGuiRendering.h | 508f9e669d7d584efa37aebc0839a722055ad3d3 | [] | no_license | lujiawen/LOL-Trace | 5aad96d105289bd75783203eceb38f4f1ee7950c | 02283b38e3b387c3f611fab6ed5681da3564467d | refs/heads/master | 2023-01-09T10:04:54.981759 | 2020-11-16T09:11:42 | 2020-11-16T09:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,437 | h | #pragma once
#include "Trace.h"
#include "ImGui/imgui.h"
#include "ImGui/imgui_impl_dx9.h"
#include "ImGui/imgui_impl_win32.h"
#include <string>
#include <map>
class ImGuiRendering
{
private:
DWORD _D3DRS_COLORWRITEENABLE;
ImDrawList* _DrawList;
bool _IsSetup = false;
IDirect3DDevice9* _Device;
ImGuiRendering(... | [
"1263178881@qq.com"
] | 1263178881@qq.com |
934fd98cbc4049b477ddb436ee6c44ca5c543c28 | 44db3381986906baa858e4012a21f20cb6dfe9a6 | /src/intersim2/outputset.cpp | 8a9d2cf10155e25071d7cf26eb532ca888bf1c94 | [
"BSD-3-Clause"
] | permissive | lakshmankollipara/gpu_current | 457da2e5c4e9e1d08d6d1eb520c0d4f45442e1eb | 10889439f3fbbe9f8576f8e8bbb0be2602a6d687 | refs/heads/master | 2021-01-13T08:58:08.992168 | 2016-09-29T19:45:57 | 2016-09-29T19:45:57 | 69,601,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,869 | cpp | // $Id: outputset.cpp 5188 2012-08-30 00:31:31Z dub $
/*
Copyright (c) 2007-2012, Trustees of The Leland Stanford Junior University
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 ... | [
"lakshmankollipara@gmail.com"
] | lakshmankollipara@gmail.com |
b4a2064657b3ade632cff70ed8c387cd2a4ddfe2 | bca6236c6950504749735db6bf0652876a5afde4 | /external/tesseract/classify/mfoutline.cpp | 623d1174f145e5e62de4f681837f0158612c7542 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | XiangGen/galaxy | 3ef02dc84aeb38243284770023d6c7e17bcac3d2 | ffb382e6f7f7786df7ff2324eb3f7f0f870b8048 | refs/heads/master | 2022-10-05T05:52:51.942323 | 2020-06-07T12:48:18 | 2020-06-07T12:48:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,218 | cpp | /******************************************************************************
** Filename: mfoutline.c
** Purpose: Interface to outline struct used for extracting features
** Author: Dan Johnson
** History: Thu May 17 08:14:18 1990, DSJ, Created.
**
** (c) Copyright Hewlett-Packard Company, 1988... | [
"apollopublic@163.com"
] | apollopublic@163.com |
0c6fb22f031020cc96911c76f01331c6f100cf4b | f7a177c84dc08f016ff81fe558ffb1311b2afbf7 | /PolyIntegrator 2.cpp | c8a8f97d12102494f8b077fa261b12d410d5bd6f | [] | no_license | roods29/proj- | 6f949f7ffda244792a6db677530fb3e91e7ab51e | 469bc08b3ec737b4fa6bbaaf24b7eac4b5e14443 | refs/heads/master | 2020-05-16T01:43:59.966193 | 2019-04-22T02:38:13 | 2019-04-22T02:38:13 | 182,609,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,645 | cpp | /*** Gives a string representation of this polynomial in standard
* form where zero terms, coefficients 1 or -1, and exponents 1
* are not displayed.
* @param poly a degree-coefficients array representation of a* polynomial.
* @return a string representation of this polynomial
*/
#include <iostream>
#include <s... | [
"noreply@github.com"
] | noreply@github.com |
3ea9a95f12d06f3b4caf94c03ac048c9b8ba8db0 | 8dedc2459417ca9be0f47d14d517c76e62f008ed | /Volume 002/231 - Testing the CATCHER/231 - Testing the CATCHER.cpp | 6045471fb8051565ceea28a213ad8a307ea2ff0c | [] | no_license | MrGolden1/UVA | 015375ee9e4004097544370cd0a51b04ffb43699 | 6f5cbb1fa68e123251c8943a53919c7e514b0135 | refs/heads/master | 2020-05-22T15:42:41.669232 | 2019-08-16T21:04:15 | 2019-08-16T21:04:15 | 186,413,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include <iostream>
#include <string>
#include <string.h>
#include <algorithm>
#include <stdio.h>
#include <map>
#include <stack>
#include <queue>
#include <math.h>
#include <iomanip>
using namespace std;
#define ull unsigned long long
#define infinite 2147483647
#define md 1000000007
int main()
{
ios::sync_wit... | [
"ali.zarrinzadeh@gmail.com"
] | ali.zarrinzadeh@gmail.com |
ce18e24fa44b888a0de50bc95a7a727a0d107d0e | 32cb04fde0f2c857b6fdbad9ff601b967c588727 | /DS-Foundation/timespacecomplex/012.cpp | ae35671d5312257e4fb88704bccf638d083760cb | [] | no_license | ashutoshsidhar/pepcoding | 9839ff41c866034c07a741014f4804b59af7b21c | 246062e2f6911ae0f0a6cc3d475391627c3cdaa3 | refs/heads/master | 2023-05-27T23:19:30.049337 | 2021-06-20T14:21:23 | 2021-06-20T14:21:23 | 326,162,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include <iostream>
#include <vector>
using namespace std;
void input(vector<int> &arr)
{
for (int i = 0; i < arr.size(); i++)
{
cin >> arr[i];
}
}
void print(vector<int> &arr)
{
for (int i = 0; i < arr.size(); i++)
{
cout << arr[i] << endl;
}
cout << endl;
}
// used for ... | [
"ashutoshsidhar1999@gmail.com"
] | ashutoshsidhar1999@gmail.com |
df1b7be62418a1774597d738a17742f639cb8434 | 7bb1cd3b6ab160eef592e7d7d14120d299b61ee4 | /codeforces/A/501A.cpp | 6b289b94b6d9eb2c891a4531d1332635cd664d6a | [] | no_license | naveenchopra9/cp | d986a3e8c650903b8bec8c4b0665c3ef664e251a | 0f271204b2675a366f0b92081ec67a97efc5883a | refs/heads/master | 2020-05-16T12:38:25.063272 | 2019-04-23T16:12:46 | 2019-04-23T16:12:46 | 183,051,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include "/Users/naveen/stdc++.h"
//#include <bits/stdc++.h>
using namespace std;
#define MAXV 2147483647
#define MINV -2147483647
#define SYC ios_base::sync_with_stdio(0); cin.tie(0)
#define ll unsigned long long int
#define For(i,n) for(int i =0 ; i< n ; i++)
#define M 1000000007
#define FR freopen("/Users/naveen/Doc... | [
"naveenchopra9331@gmail.com"
] | naveenchopra9331@gmail.com |
4c7e07e9ac5824873d6d278a22c30a51c94db70f | 6a11d2e56eda699ff63e56ac87d69934cd48740c | /mstl_eat.hpp | c78b0b9cf87264acd6ddb5363b825e4298722807 | [] | no_license | halsten/my-toolkit | 727152c9aa480a3d989ac97cc29849555d9db54d | 4d37e920ed66f045f2866c98549617de4d9817d3 | refs/heads/master | 2023-03-26T01:33:45.513547 | 2017-07-16T14:40:46 | 2017-07-16T14:40:46 | 351,218,795 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,615 | hpp | #pragma once
#include "mstl_image_dir.hpp"
/*
@Address - pointer to function pointer
@hash_t - djb2 hash of name
*/
using export_t = std::pair<Address, hash_t>;
using exports_t = std::vector<export_t>;
class EAT : public IMAGE_DIR<IMAGE_DIRECTORY_ENTRY_EXPORT> {
private:
exports_t m_exports;... | [
"matty@cock.li"
] | matty@cock.li |
bd9d7f247a7d597761f1ebafce2893606c1142e5 | 4c4135fcb4d33344b5904642e26ebe9393253c64 | /charactersheetwriter.cpp | a0149aa75666c00dc3a5e0da356854b83c19e243 | [] | no_license | mzawislak94/DnDCharacterCreator | 131e64d50dac785817a974cf9fa2a68d09d12ef1 | d25a3df2735ac007721e511b932e07adba6c10d7 | refs/heads/master | 2020-04-13T02:50:52.641551 | 2018-12-23T18:12:33 | 2018-12-23T18:12:33 | 162,913,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 379 | cpp | #include "charactersheetwriter.h"
charactersheetwriter::charactersheetwriter()
{
}
void charactersheetwriter::writeToFile(QFile *file, QStringList options)
{
if (NULL != file->open(QIODevice::Append))
{
QTextStream out(file);
for (int i = 0; i < options.length(); i++)
{
o... | [
"mzawislak94@gmail.com"
] | mzawislak94@gmail.com |
14a55e7680b9ea8f28a7d925049089d87171111a | e07e3f41c9774c9684c4700a9772712bf6ac3533 | /app/Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Collections_Generic_Dictionary_2_T2874325086.h | ada49fe52b40246ad6a1db2105b77f055e8f04f4 | [] | no_license | gdesmarais-gsn/inprocess-mobile-skill-client | 0171a0d4aaed13dbbc9cca248aec646ec5020025 | 2499d8ab5149a306001995064852353c33208fc3 | refs/heads/master | 2020-12-03T09:22:52.530033 | 2017-06-27T22:08:38 | 2017-06-27T22:08:38 | 95,603,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Il2CppObject;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
#include "mscorlib_System_Multi... | [
"gdesmarais@gsngames.com"
] | gdesmarais@gsngames.com |
0f75945ecc44ba757c0b02fde9a256fd522858d5 | a8822501e1a017273abb4638328d7b2be1088baf | /WapMap/states/imageDetails.h | f2896560368f86a25f8376fa3c6e2552c64470ca | [] | no_license | pejti/WapMap | b05748cda08d0c76603bbe28dc2f4f2f3d3e5209 | 19a5d56ff24cae1279e414568bd564ae661b3a44 | refs/heads/master | 2020-12-23T09:50:09.173873 | 2020-01-31T21:15:34 | 2020-01-31T21:15:34 | 237,115,263 | 0 | 0 | null | 2020-01-30T01:12:31 | 2020-01-30T01:12:31 | null | UTF-8 | C++ | false | false | 1,329 | h | #ifndef H_STATE_IMGDETAILS
#define H_STATE_IMGDETAILS
#include "../../shared/cStateMgr.h"
#include "../../shared/gcnWidgets/wWin.h"
#include "../../shared/gcnWidgets/wButton.h"
#include "../../shared/gcnWidgets/wLabel.h"
#include "../../shared/gcnWidgets/wScrollArea.h"
#include "../../shared/gcnWidgets/wSlider.h"
#inc... | [
"c37zax@gmail.com"
] | c37zax@gmail.com |
8f23fe12ea6419e6668d995c63975ed59e2b6943 | 5299049902e3cf75de755eb4e76ee9af194529f8 | /HeapSort.cpp | c5bcf3dcfccf7e09b656a3a26b7bb707ca230f16 | [] | no_license | iPrayerr/Algorithm-Methods | 9d93a000db58a1e6e16bd5bfd98055d12b3374e2 | a0ba94a12b08f57ea624fb373071495e578ad83b | refs/heads/master | 2020-04-24T23:07:56.155261 | 2019-04-23T11:31:13 | 2019-04-23T11:31:13 | 172,333,429 | 0 | 0 | null | 2019-04-22T11:01:05 | 2019-02-24T12:13:35 | C++ | UTF-8 | C++ | false | false | 4,145 | cpp | /*
heap sort:
1. 对数组按照堆的定义建立完全二叉树
2. 将二叉树作一次调整,变成大顶堆
3. 将大顶堆的根和最后一个树叶交换,并剔除交换后的树叶
4. 重复23,直至所有元素被剔除,则得到sorted array
*/
//树的核心:recurrence
//测试数据为n个无序伪随机数,n为人工设定
#include <iostream>
#include <stdlib.h>
#include <time.h>
#include <vector>
using namespace std;
struct BTree{
int value;
struct... | [
"noreply@github.com"
] | noreply@github.com |
d7dfffb495fa5c317267506351d08a8f8a1cb8ff | 41336673d4112c3025546b927cfb279d40ede2f2 | /compilerProject/ST/object.h | f0de2cfa282417250929f581b24ca28a7056f453 | [] | no_license | BlueBrains/compiler-project | 6f5e05f0d908defa941910d165e8592c93dcbec0 | 6d3045621fa21c9b4220bccf98e91d9ba23fd5b4 | refs/heads/master | 2021-01-20T18:54:56.494693 | 2015-01-13T10:11:09 | 2015-01-13T10:11:09 | 65,128,243 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | h | using namespace std;
class object
{
public:
object();
~object();
}; | [
"amer.signinn@gmail.com"
] | amer.signinn@gmail.com |
def8a0b06a653d36ddc99d0b99029e3a4bb0412a | e642d93b39d8dd3892ea3a237cdf941060b25baf | /fire_detector_3.0.ino | 1fb12fb1d301294df97d962e49d6c710aa667afe | [] | no_license | Carlos74520/Fire-Detection | c907ff6495c412acc0f7390aa362bcbcce5cdc1c | 086c82fd0fe9a03539a9efe82f38ac622a9ed45a | refs/heads/master | 2020-12-21T23:44:24.444175 | 2020-02-11T17:21:26 | 2020-02-11T17:21:26 | 236,603,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | ino | #include <Wire.h>
#include <Adafruit_AMG88xx.h>
Adafruit_AMG88xx amg;
float pixels[AMG88xx_PIXEL_ARRAY_SIZE];
int usedPixels[63];
int counter = 0;
int middle = 0;
//int pixels[] = {10, 10, 10, 10, 80, 10, 10, 10, 10, 10, 10, 10, 80, 10, 10, 10, 10, 10, 10, 10, 80, 10, 10, 10, 10, 10, 10, 10, 80, 10, 10, 10, ... | [
"noreply@github.com"
] | noreply@github.com |
04ee77bd12b2b7e85595cc5bc4c9862a6a2e1eaf | 212380b8070b2f4b9a2ee9db88d8ef71301f500b | /Number.cpp | e5378c72dec1a0e8fd3e011ad9ebbba87e746b17 | [] | no_license | SeanTo/My3D | 379976f02434100dcb5e7cf37b06eca1fc20e60c | b2e13e7582d072b70574b5630ae6f1abbda6423d | refs/heads/master | 2020-04-16T11:33:00.343386 | 2019-01-14T17:36:22 | 2019-01-14T17:36:22 | 165,540,600 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,265 | cpp | #include "stdafx.h"
#include "Number.h"
////////////////////////////////////////////////////////////////////////////////
// static member
// 奇偶、大小、质合形态
const CString C3D::strModality[3][8] = {
{ _T("偶偶偶"), _T("偶偶奇"), _T("偶奇偶"), _T("偶奇奇"),
_T("奇偶偶"), _T("奇偶奇"), _T("奇奇偶"), _T("奇奇奇") },
{ _T("小小小"), _T("小小大"), _T... | [
"tuxw2005@gmail.com"
] | tuxw2005@gmail.com |
5232b9a2a12dbfaa52334c8bac040f055a1252fc | dcec9c2353abd339b42ca7b2d2c799dc7135624c | /BinaryGenerator/bgSymbol.h | 83cc589d7145dd9f6eeb75e2062a46220a93a5dd | [] | no_license | gitmesam/BinaryGenerator | 2fe5f878b93aa9ddf36e382c6326719a22cea29e | cec4a2316e368bf052c267be5be9a998f8b3333e | refs/heads/master | 2022-01-20T22:56:44.818991 | 2019-05-10T02:29:40 | 2019-05-10T02:29:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | h | #pragma once
namespace bg {
class SymbolTable
{
public:
using Symbols = std::vector<Symbol>;
public:
SymbolTable(Context *ctx);
SymbolTable(Context *ctx, const SymbolTable& base);
Symbols& getSymbols();
Symbol& addSymbol(const Symbol& sym);
Symbol* getSymbol(size_t i);
Symbol* findSymbol(c... | [
"saint.skr@gmail.com"
] | saint.skr@gmail.com |
427030fa8994144e2db76c609e19052443f368ab | 634f95f90230b0f7e11158dc271cba5a3bc703c7 | /tkEngine/Input/tkKeyInput.h | 968b58afea87d65993e5c2afdfe40c0485c52f15 | [] | no_license | TakayukiKiyohara/Sandbox | 55c7e2051bcb55b7765a9f367c3ee47d33f473de | 99c354eb91c501d8a10d09806aa4acdcf5d26dcb | refs/heads/master | 2021-01-18T01:06:30.462238 | 2016-11-11T13:43:58 | 2016-11-11T13:43:58 | 68,387,195 | 4 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,275 | h | /*!
* @brief キー入力。
*/
#ifndef _TKKEYINPUT_H_
#define _TKKEYINPUT_H_
#include "tkEngine/Input/tkPad.h"
namespace tkEngine{
class CKeyInput{
public:
static const int NUM_PAD = 4; //パッドの数。
enum EnKey {
enKeyUp,
enKeyDown,
enKeyRight,
enKeyLeft,
enKeyA,
enKeyB,
enKeyNum,
};
/*!
* ... | [
"nezumimusume30@gmail.com"
] | nezumimusume30@gmail.com |
7285b0929c8d4ee5545cc690ab65d2fb0cd30ad5 | dc2f794ce06dce6eb1d69a42fd8861b2edaffa97 | /apriluiparticle/src/ParticleBase.cpp | 0dab3c81f09b518ccb4357f5a1a07ac615bf5062 | [] | no_license | Ryex/libaprilparticle | d6500f0d927845d267d53db7776fe42fb1c7b7ae | 7a8556fb0e843ef2f61c8313071f2094a08c2dfd | refs/heads/master | 2021-01-01T05:30:43.116293 | 2014-04-04T07:35:59 | 2014-04-04T07:35:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | cpp | /// @file
/// @author Boris Mikic
/// @version 2.0
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
#include <april/Color.h>
#include <aprilparticle/aprilparticle.h>
#in... | [
"kspes@f2b9c05d-7056-4c2f-abec-aec71e0497c1"
] | kspes@f2b9c05d-7056-4c2f-abec-aec71e0497c1 |
5798c4360a486eb29efa7cbd512695432d3f7a2a | 0d2eab2c7aaf0b78c32c30e7ab484b91e115e8a5 | /nicolas/ch4/trajectoryError/include/trajectoryError.h | b62f89e9b75b043dc1ea439f4f8e88eb924654f4 | [
"MIT"
] | permissive | nicolasrosa-forks/slambook2 | 08275c8680e24f3c473667ca8ee595b425ef0d3d | 9cae572378fc5da758b6404e45d443b0bde71853 | refs/heads/master | 2023-05-15T17:52:06.421885 | 2021-05-12T00:56:31 | 2021-05-12T00:56:31 | 312,411,541 | 0 | 1 | MIT | 2021-04-15T14:55:56 | 2020-11-12T22:31:16 | C++ | UTF-8 | C++ | false | false | 909 | h | /* =========== */
/* Libraries */
/* =========== */
/* System Libraries */
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <iomanip> // std::fixed, std::setprecision
/* Eigen3 Libraries */
#include <eigen3/Eigen/Core>
#include <eigen3/Eigen/Geometry>
/* Sophus Libraries */
#include <sophus/... | [
"nicolas.rosa@hotmail.com"
] | nicolas.rosa@hotmail.com |
495f71e6f10034311d75e3a925a58a18e5c67a24 | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/gin/v8_initializer.cc | 292f4cb2a4d6a1f03c0a0f34c5188037204ce3fd | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,224 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gin/v8_initializer.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include "base/debug/alias.h"
#include "base/debug/crash_logg... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
fbfec0150f387079e4c6bfabf1215be241417d56 | 438089df0a020dc8205a4b0df2a08e510f40fd3c | /extern/renderdoc/util/test/demos/gl/gl_test.h | b7900315cd2b3e4ca12d9376f844a0465014b7b3 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause",
"Apache-2.0",
"CC-BY-3.0"
] | permissive | minh0722/basic-directx11 | 59b5bbcc5de6ccf5f26fa68493d11512b20e5971 | 9e0b24d42497688fd5193327110432ab262234cf | refs/heads/master | 2021-08-16T03:11:48.626639 | 2021-01-20T23:45:33 | 2021-01-20T23:45:33 | 72,579,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | h | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* 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 So... | [
"minh0722@yahoo.com"
] | minh0722@yahoo.com |
c5236df6c142ef8a86120f1c2008fd6bf0de6eae | fe39e4d1bca62d7bff7b6713b8b596d88f8aa354 | /src/plugins/3rdparty/LLVM/tools/clang/include/clang/Basic/ObjCRuntime.h | a805299fd70a35e669b7fb4b17c32060d6acdb90 | [] | no_license | panpanSun/opencor | a29a806475f43adb0f64047631d4dc044f05e030 | 71449e1ecaa988ea8b6cfea7875d9f3593a8dc26 | refs/heads/master | 2020-12-24T11:53:33.902565 | 2013-04-20T18:59:29 | 2013-04-20T18:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,739 | h | //===--- ObjCRuntime.h - Objective-C Runtime Configuration ------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
b59ea7f21ff0f4578505079040dc8e2587012d33 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive/5662f313779a1b2aa3f4cf81f184d232-f674c1a6d04c632b71a62362c0ccfc51/main.cpp | 303372ad92ad06c047a22bb3209ad4dd03976053 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include <iostream>
#include <string>
#include <vector>
template<typename T>
std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec)
{
for (auto& el : vec)
{
os << el << ' ';
}
return os;
}
int main()
{
std::vector<std::string> words = {
"Hello", "from", "GCC", __VE... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
bd77b26109c819eef2b8d0a74087297c1f092ddc | ab7a412d64cc2bf2b2446c0c770f31c50ceb6819 | /BGE/SoundSystem.cpp | 76d945d2d734495f6f64407144a1d1d038d61d61 | [
"MIT"
] | permissive | PocketRocketRoche/GamesEngines1Assignment | 856790e9f171cfa03b21e9f52cc16210de60a75f | 2b402cb45387eb64f34c8a648fd68c3cd1df0118 | refs/heads/master | 2021-01-10T21:46:04.364814 | 2013-12-13T15:26:55 | 2013-12-13T15:26:55 | 13,859,413 | 0 | 0 | MIT | 2020-09-12T11:53:35 | 2013-10-25T12:02:33 | C | UTF-8 | C++ | false | false | 2,958 | cpp | #include "SoundSystem.h"
#include <fmod.hpp>
#include <fmod_errors.h>
#include "Exception.h"
#include "Content.h"
#include "Utils.h"
using namespace BGE;
void CheckFMODResult( FMOD_RESULT res )
{
if (res != FMOD_OK)
{
const char * error = FMOD_ErrorString(res);
throw BGE::Exception(error);
}
}
// Doesnt work..... | [
"skooter500@gmail.com"
] | skooter500@gmail.com |
393172f3df8ccfb8630ffa3220d37dae81d2c57c | 77ff0d5fe2ec8057f465a3dd874d36c31e20b889 | /problems/POJ/POJ3273.cpp | 6d6f177b5e614849f9a99784553332f13f4de290 | [] | no_license | kei1107/algorithm | cc4ff5fe6bc52ccb037966fae5af00c789b217cc | ddf5911d6678d8b110d42957f15852bcd8fef30c | refs/heads/master | 2021-11-23T08:34:48.672024 | 2021-11-06T13:33:29 | 2021-11-06T13:33:29 | 105,986,370 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <bitset>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <list>
#include <numeric>
#include <algorithm>
#include <functional>
#include <... | [
"clavis1107@gmail.com"
] | clavis1107@gmail.com |
dce9419b614563cc4580646630ae00e8f993a7f6 | 6abfbf8d3c934bfb77ce989c46f7ee5c3e3c19a7 | /066. Plus One/Solution.cpp | 98c5fff3337a25f8c3f64eeeb7e3e07b101c1f37 | [] | no_license | AristoChen/LeetCode-AC-Solution | 7be7d09d99f131e06529e4e34e12129729a12efa | d2f988257b1631e79cf13763bf87e826ee834c3b | refs/heads/master | 2020-03-17T20:30:29.879961 | 2018-06-07T13:26:20 | 2018-06-07T13:26:20 | 133,913,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | /*
Submission Detail:{
Difficulty : Easy
Acceptance Rate : 39.84 %
Runtime : 4 ms
Testcase : 108 / 108 passed
Ranking : Your runtime beats 99.68 % of cpp submissions.
}
*/
class Solution {
public:
vector<int> plusOne(vector<int>& digits) {
int carry = 1;
for(int i = digits.size(... | [
"jj251510319013@gmail.com"
] | jj251510319013@gmail.com |
5b573fdcfe5cbdfffcb07574c1225c2ed774ee35 | 92640ec261e7875a5e65e95d6408be2df3cdd9a3 | /temp/1148.cpp | b9991a863a1a255ad37592b1d7cdfcf02401bf7d | [] | no_license | gaolichen/contest | c20c79d1a05ea6c015329bc2068a3bbb946de775 | 4ac5112f150210c6345312922dc96494327cbf55 | refs/heads/master | 2021-01-19T04:45:59.100014 | 2017-04-06T06:46:09 | 2017-04-06T06:46:09 | 87,392,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | cpp | #include<stdio.h>
#include<string.h>
char map[80][80];
int mark[80][80],dis[80][80],w,h;
int sx,sy,ex,ey;
void run()
{
int i,j,find,k;
for(i=0;i<=w+1;i++)
for(j=0;j<=h+1;j++)
mark[i][j]=0;
mark[sx][sy]=1;dis[sx][sy]=0;
do
{
find=0;
for(i=0;i<=w+1;i++)
for(j=0;j<=h+1;j++)
if(mark[i][j])
{
for(k=... | [
"gchen@ufl.edu"
] | gchen@ufl.edu |
7920fcbbc6b4d2ed2817de8454b6d5836d4efd17 | d603ec4bbca216691a886f382d43997f2277b5f5 | /src/iccf.cc | 03c6e2e88eacaa8b1aae8ee61ec66e24d83a4884 | [
"MIT"
] | permissive | argv-minus-one/iconv-corefoundation | 6d843e68472343b066beccb5af5cb037659729b8 | 05394f04940a83431749c1672747eebcc8fae8ac | refs/heads/master | 2023-05-10T17:05:37.184906 | 2021-11-28T22:56:11 | 2021-11-28T22:56:11 | 190,135,783 | 0 | 1 | MIT | 2023-05-01T06:54:15 | 2019-06-04T05:33:32 | C++ | UTF-8 | C++ | false | false | 2,232 | cc | #include "iccf.hh"
#include "StringEncoding.hh"
#include "transcode.hh"
#include "napi.hh"
#include <sstream>
static Napi::Value encodingExists(const Napi::CallbackInfo &info) {
auto jsEncodingName = info[0].As<Napi::String>();
auto encodingName = NapiStringToCFString(jsEncodingName);
auto encoding = CFStringConver... | [
"argv-minus-one@users.noreply.github.com"
] | argv-minus-one@users.noreply.github.com |
05587762221d9f405c6f047aff1fba677658ba03 | b958286bb016a56f5ddff5514f38fbd29f3e9072 | /include/ublox/message/MgaGloEph.h | 731a95cbae3ab84986c3e0854bce4db66f60c74f | [] | no_license | yxw027/cc.ublox.generated | abdda838945777a498f433b0d9624a567ab1ea80 | a8bf468281d2d06e32d3e029c40bc6d38e4a34de | refs/heads/master | 2021-01-14T23:03:20.722801 | 2020-02-20T06:24:46 | 2020-02-20T06:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,098 | h | // Generated by commsdsl2comms v3.3.2
/// @file
/// @brief Contains definition of <b>"MGA-GLO-EPH"</b> message and its fields.
#pragma once
#include <cstdint>
#include <tuple>
#include "comms/MessageBase.h"
#include "comms/field/IntValue.h"
#include "comms/options.h"
#include "ublox/MsgId.h"
#include "ublox/field/Fi... | [
"arobenko@gmail.com"
] | arobenko@gmail.com |
fbd2ffb2db49534893a6794e685c676acf2656a1 | dfd05e8222d71e14db0e121c5ff736b1b834b064 | /Inventory.cpp | 9cea730d8f34fc005334f02ba980351b3294ff9a | [] | no_license | 02bwilson/Car_Headers | 814630d81e8da17e7608b8ac6a83733d6d806ea1 | 40ddf147bc40817117bb79db7c16aed5d591d460 | refs/heads/master | 2023-08-24T03:18:21.128196 | 2021-09-23T23:18:28 | 2021-09-23T23:18:28 | 406,549,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | cpp | #include "Inventory.h"
#include <iostream>
using namespace std;
// Initilizes the inventory
Inventory::Inventory() {
cars = new Car*[MAX_CARS];
carCount = 0;
}
// Inventory return operations to get private attributes
int Inventory::getCount() const {
return carCount;
}
// Determines if car vin is al... | [
"wilsonbryce54@gmail.com"
] | wilsonbryce54@gmail.com |
fbced8bb5452a299470872815793ed2413130372 | 1f8c74d888511275ad769c561cc8d78a6a2a044d | /Audio/Audio.h | d7c0e786990465a904546a45c98ef7153794df09 | [] | no_license | dddgg9511/WavEditor | 616323bea026b6b663b8f635aa7fe89e7f8e3875 | 999acc8e601349f8fbbaa04abbe96ccdc120f8ec | refs/heads/main | 2023-03-01T00:38:10.354998 | 2021-02-10T08:12:48 | 2021-02-10T08:12:48 | 337,657,019 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 681 | h |
// Prototype.h : PROJECT_NAME 응용 프로그램에 대한 주 헤더 파일입니다.
//
#pragma once
#ifndef __AFXWIN_H__
#error "PCH에 대해 이 파일을 포함하기 전에 'stdafx.h'를 포함합니다."
#endif
#include "resource.h" // 주 기호입니다.
// CAudioApp:
// 이 클래스의 구현에 대해서는 Audio.cpp을 참조하십시오.
//
class CAudioApp : public CWinApp
{
public:
CAudioApp();
ULONG_PTR m... | [
"39615281+dddgg9511@users.noreply.github.com"
] | 39615281+dddgg9511@users.noreply.github.com |
b47bcba10189080e95bd734c29e23b2298c136bb | 5fcc718e15e951bb0ef3fae7816ee2f33cfced82 | /bankrobbery.cpp | 3aafc5019b444f8ee9738747701cc21fae8fa579 | [] | no_license | Shubhamsingh147/Codechef-Hackerrank-Hackerearth-etc | 27ec108b05350222829450d9da8f66bfe1ebd085 | 8974aa238d3609a61f0003bee5fb56c3e2b31b01 | refs/heads/master | 2021-01-19T04:24:32.494028 | 2016-06-01T09:21:58 | 2016-06-01T09:21:58 | 60,162,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main(){
int t,m;
double p;
cin>>t;
while(t--){
cin>>m>>p;
if(m%2 == 1)
cout<<"1000000000.0 0.0"<<endl;
else{
double two = 1000000000.0 * p;
cout << setprecision(1) << fixed << 1000000000.0 - two<<" ";
cout << setpreci... | [
"shubhamsingh147@gmail.com"
] | shubhamsingh147@gmail.com |
f83e7fd37d65fa6d967187628152db3797841798 | 663e4aeb088b93a5dfeef7def71154c5b55afa41 | /node_modules/hummus/src/PDFStreamDriver.cpp | 3577a73f9c727629a4360668c6d1a4767fa6a209 | [
"Apache-2.0"
] | permissive | nnradovic/press-cliping-nodejs | 37d44025572eca274e5080cd76500404b1cc9953 | 3db5043ed8d77bcbf3a41d65f359d26492239a80 | refs/heads/master | 2020-04-07T10:26:59.590015 | 2018-11-27T13:13:13 | 2018-11-27T13:13:13 | 158,287,199 | 0 | 0 | null | 2018-11-20T16:15:49 | 2018-11-19T20:40:37 | JavaScript | UTF-8 | C++ | false | false | 2,686 | cpp | /*
Source File : PDFStreamDriver.h
Copyright 2013 Gal Kahana HummusJS
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 re... | [
"nnradovic@gmail.com"
] | nnradovic@gmail.com |
431ff081938c8641e6dae688879a3a241a6cfd83 | 26df6604faf41197c9ced34c3df13839be6e74d4 | /src/org/apache/poi/ss/usermodel/charts/LayoutMode.hpp | f7576880bb2756388e335833b7309e0dcb3648ff | [
"Apache-2.0"
] | permissive | pebble2015/cpoi | 58b4b1e38a7769b13ccfb2973270d15d490de07f | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | refs/heads/master | 2021-07-09T09:02:41.986901 | 2017-10-08T12:12:56 | 2017-10-08T12:12:56 | 105,988,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,582 | hpp | // Generated from /POI/java/org/apache/poi/ss/usermodel/charts/LayoutMode.java
#pragma once
#include <java/io/fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <org/apache/poi/ss/usermodel/charts/fwd-POI.hpp>
#include <java/lang/Enum.hpp>
template<typename ComponentType, typename... Bases> struct SubArray;
name... | [
"zhang.chen.yu@outlook.com"
] | zhang.chen.yu@outlook.com |
47f539eb399e8414e29683a7771c0f51d605b728 | d0f37e29d49d76f15773f7d48fe3fa5f426de8f0 | /cocos2d-x-3.6/cocos/ui/UILayoutComponent.cpp | f33581f2df4aaee6b8b3c9f58b422a57d2cf4160 | [
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Libpng",
"BSD-2-Clause-Views",
"FTL",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | SakuyaPrs/kirikiroid2lite | 6898334ccceb5c911662e8062101daab73e15887 | ee5890cf5b9714a9348cb6dd8fdbb0a7304c2cbe | refs/heads/master | 2022-12-07T08:54:18.618074 | 2020-09-02T04:17:21 | 2020-09-02T04:17:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,599 | cpp | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 th... | [
"weimingtom@163.com"
] | weimingtom@163.com |
d7127e15eed5731c748aa028140f9f0605a1f879 | 3751d5701b0ec5fe8e2fe5e955aa278c3e53e87d | /GLProject_ModelNormalMap/GLProject_model/MyModel.cpp | 4b3532ab1733a75c61b511aff5658d4572595bcb | [] | no_license | liuxuanhai/Cplus_Cplus_OpenGL_test | 72fbe6d3a73fe7d7881490c5d76ae1d052ce0e0e | 441f6d8043920dd44dc68704768ef6f62bae3924 | refs/heads/master | 2020-05-15T18:01:11.891474 | 2016-12-08T07:32:33 | 2016-12-08T07:32:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,117 | cpp | #include "Utility.h"
#include "MyCamera.h"
#include "MyMesh.h"
#include "MyModel.h"
map<string, GLuint> CMyModel::m_textures;
D_LIGHT CMyModel::directLight;
CMyModel::CMyModel()
{
}
CMyModel::~CMyModel()
{
}
CMyModel::CMyModel(GLchar * _path)
:m_dirty(true),
m_matView(nullptr),
m_matProjection(nullptr),
m_scale(1.0... | [
"el-song@foxmail.com"
] | el-song@foxmail.com |
b580f76b808ab439bf920ea1ece279f55fdca944 | 1970e7a25704834502153d0f8b851fe8dd89aae2 | /C Programs/C Programs - 1/Sum of Primes.cpp | 5f6e398e3fbfb603f0c0bb5723236598696b3884 | [] | no_license | MathProgrammer/Hacker-Earth | 6a5eb4e1e15b140ead0105d1a00db505f7334660 | e72d88e72caedffefbdb5c47ef6f447c1a8cbc42 | refs/heads/master | 2023-07-11T05:50:44.382305 | 2023-07-01T10:36:01 | 2023-07-01T10:36:01 | 88,396,435 | 53 | 54 | null | 2022-07-08T14:32:30 | 2017-04-16T06:49:03 | C++ | UTF-8 | C++ | false | false | 880 | cpp | #include <stdio.h>
#include <vector>
using namespace std;
vector <long long> prime_sum(1e6 + 1, 0);
void precompute_prime_sum()
{
vector <int> is_prime(1e6 + 1, true);
is_prime[0] = is_prime[1] = false;
for(int i = 2; i <= 1e6; i++)
{
if(is_prime[i])
{
for... | [
"noreply@github.com"
] | noreply@github.com |
67598b9a309d261a8f0b418b6ae4cc923c326649 | 033c1fe882eb426a21b7b45aefae4f0aa59fe57e | /算法导论/CH02/Problem/pb_2_2__冒泡排序.cpp | 7cb2e752b8c20910387bd5106d54c934618e9de8 | [] | no_license | CN-DXTZ/CLRS | e30b128a8404c0588baf366a06108491a3ee0e5a | dfde7f25766d1cc81c2bc7f9a1d818fcb17d0766 | refs/heads/master | 2023-04-16T02:57:10.703923 | 2023-04-11T01:26:10 | 2023-04-11T01:26:10 | 196,676,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | // 冒泡排序
#include <iostream>
using namespace std;
#define GET_LEN(array) (sizeof(array) / sizeof(array[0]))
void bubble_sort(int A[], int length)
{
for (int i = 0; i < length; i++)
{
for (int j = length-1; j > i; j--)
{
if (A[j] < A[j - 1])
{
int tmp = A[... | [
"2924380441@qq.com"
] | 2924380441@qq.com |
fca5b2ab7b0b4e0c2793a765b5c84fea13e3c3e7 | 6e9b20902f4e232d12e865f192ea5128ae253ba7 | /Fluid/7.4/uniform/time | 815a736038b424044dd1a5297547ac9d34a00257 | [] | no_license | abarcaortega/FSI_3 | 1de5ed06ca7731016e5136820aecdc0a74042723 | 016638757f56e7b8b33af4a1af8e0635b88ffbbc | refs/heads/master | 2020-08-03T22:28:04.707884 | 2019-09-30T16:33:31 | 2019-09-30T16:33:31 | 211,905,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
cfa8e23bd7e65a2a113bf00228380ea04a99a037 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /src/shaders/SkTransformShader.h | 4c6bcd28ab9f81ea7ba32a5ad1c5229767444e21 | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 1,809 | h | /*
* Copyright 2021 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkTextCoordShader_DEFINED
#define SkTextCoordShader_DEFINED
#include "src/core/SkVM.h"
#include "src/shaders/SkShaderBase.h"
// SkTransformShader allows the transform... | [
"NearTox@outlook.com"
] | NearTox@outlook.com |
ebcb3afa4c7c12ef3c872d3237f841e373582f69 | 85d821577aeb6bde7602f69e2f3fe93b53687bdd | /DTiles/osgb23dtile.cpp | eed5284d3af0573d880291fc157048af9aa24774 | [
"Apache-2.0"
] | permissive | sjtuerx/3dtiles | 00251c6eb107731b63a661b41d3a367a1751af29 | ac11fa3481028c58f23f7aa86227736e13428e12 | refs/heads/master | 2023-03-20T07:27:05.608000 | 2021-03-02T06:46:56 | 2021-03-02T06:46:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,267 | cpp | #include <osg/Material>
#include <osg/PagedLOD>
#include <osgDB/ReadFile>
#include <osgDB/ConvertUTF>
#include <osgUtil/Optimizer>
#include <osgUtil/SmoothingVisitor>
#include <set>
#include <cmath>
#include <vector>
#include <string>
#include <cstring>
#include <algorithm>
#define STB_IMAGE_IMPLEMENTATION
#define ST... | [
"chenweiyu233@gmail.com"
] | chenweiyu233@gmail.com |
0d6c1d26c5d7699510a3e323b31e4ccaf06ecb11 | 7a85beaae1b1de6594e595ad047a2c68f6c4971b | /qlo/objects/credit/latentmodels.hpp | 905957039e208a0c91f219d297288e55a1538962 | [] | no_license | benwaldner/QuantLibAddin | ed1acf80de15b000c3729c623dff1e45df21fa9f | bcbd9d1c0e7a4f4ce608470c6576d6e772305980 | refs/heads/master | 2023-03-17T17:05:37.624063 | 2018-03-10T18:23:52 | 2018-03-10T18:23:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | hpp | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2014 Jose Aparicio
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/o... | [
"eric.ehlers@reposit.be"
] | eric.ehlers@reposit.be |
ac61d2aca10a0598fe477cdd2e358a0aa079435c | cf167ca0058324dff74cf35ad3143d169859a3b5 | /chat1/EasyChatRoom/TcpServer/tcpclientsocket.cpp | c60bda4b5c7e1943a0ad91a8656f030e88aa032e | [] | no_license | Evan05300/test | efe70166b82c4871d27bc2af5224616036e4a6b2 | b0db0f0737125fabdfc63c6b1c4e01c3fb03f254 | refs/heads/master | 2023-05-12T11:35:07.389069 | 2021-06-07T07:02:20 | 2021-06-07T07:02:20 | 374,554,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include "tcpclientsocket.h"
TcpClientSocket::TcpClientSocket(QObject *parent)
{
connect(this,SIGNAL(readyRead()),this,SLOT(dataReceived()));//接收信号
connect(this,SIGNAL(disconnected()),this,SLOT(slotDisconnected()));
}
//接收客户端消息
void TcpClientSocket::dataReceived()
{
while(bytesAvailable()>0)
{
... | [
"1744076286@qq.com"
] | 1744076286@qq.com |
e0b6bf91d745ad8690b3f01b99c67e80d180ec11 | 3c997c1f6e46c9b9a809e299a54b58956228d9e6 | /S2Sim/SystemManager.h | 9257a78681b1d991c2fa74efd69e4f1bfdbfa249 | [] | no_license | asakyurek/S2Sim | 8897805034e4202d8d6650dc36d2533d1c36ee64 | 7d8fae8d89d327423847deb40ec7164716e53f66 | refs/heads/master | 2020-05-17T03:33:37.659916 | 2014-07-08T03:55:36 | 2014-07-08T03:55:36 | 17,011,994 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,711 | h | /**
* @file SystemManager.h
* Defines the SystemManager class.
* @date Oct 25, 2013
* @author: Alper Sinan Akyurek
*/
#ifndef SYSTEMMANAGER_H_
#define SYSTEMMANAGER_H_
#include <map>
#include <mutex>
#include <memory>
#include "ClientManager.h"
#include "MatlabManager.h"
#include "ControlManager... | [
"alpersinanakyurek@gmail.com"
] | alpersinanakyurek@gmail.com |
ec1d5dd0100a851fbaab0c99e39e0573ae5b9620 | d44b3e1503b6cb241e2f738188feec91d74b3432 | /src/demux.h | 589d1df172b05a3228fe035e1b9275bcff1c1179 | [] | no_license | notspiff/pvr.mythtv | 4e9399dd8fd660aa8369b84c0b91276aa5787318 | cf6899c4b195a1fa24872f13629eb4221db1e224 | refs/heads/master | 2021-01-01T15:25:14.246232 | 2014-12-07T15:29:50 | 2014-12-07T15:29:50 | 22,757,479 | 0 | 1 | null | 2014-12-07T15:29:50 | 2014-08-08T12:46:37 | C++ | UTF-8 | C++ | false | false | 2,986 | h | #pragma once
/*
* Copyright (C) 2005-2013 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later... | [
"arne.morten.kvarving@sintef.no"
] | arne.morten.kvarving@sintef.no |
4572afe3191a3f42ee577600df794017dd07d198 | cf99281f2660ed447312f5e821abed448e8b4fc3 | /connectedComponents.cpp | 89607f2adbb30e6544b3618df80929d4cb308ce1 | [] | no_license | abhisehekkumr/tree | 69c439ef4ffb6f7055ec52fff31606ee19dc5212 | 67697f5280b728ba16422a385bd84edbfd6971ad | refs/heads/master | 2022-01-04T14:40:13.793257 | 2019-08-17T08:23:06 | 2019-08-17T08:23:06 | 156,063,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
void getDfs(int **edges, int n, bool *visited, vector<int> &k, int start){
k.push_back(start);
visited[start] = true;
for(int i = 0; i < n; i++){
if(i == start)
continue;
if(edges[start][i] &&... | [
"abhishekak98148@gmail.com"
] | abhishekak98148@gmail.com |
f16c675ea62328d3b6048d8b2f33e1756b0a0072 | 001c1c1a1e4044a0061ce8736d272842add9caff | /src/visualization/view/GraphItemFactory.cpp | 92151cb3be4ae0e86f6c93e2c7c95f5e8050293c | [] | no_license | moodah/PRO | c3a2f5c9f66d3549fb41f4fce330915870e309f3 | 5da689ab9a7e6167b4b50b0c100d05e03e91f7d9 | refs/heads/master | 2021-05-01T01:17:07.163039 | 2016-06-06T13:09:55 | 2016-06-06T13:09:55 | 52,285,580 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | /*!
* \brief Graph factory class
*
* \file GraphItemFactory.cpp
* \author Damien Rochat
* \date 23.05.2016
*/
#include "../../graph/graphs/IEdge.h"
#include "GraphItemFactory.h"
#include "EdgeItem.h"
EdgeItem *GraphItemFactory::createEdge(const IEdge *edge,
VertexItem *so... | [
"rochat.damien@gmail.com"
] | rochat.damien@gmail.com |
515772bce22aad18260016de1ba2694f90d85119 | 2b54f128becb618435b1c1eaaae84608ecbcc594 | /剔除A串中B串的字符.cpp | 93d72d2072cb5997b879dd953ff3e51f4c765ad9 | [] | no_license | waten1992/Interview_Questions_Collections | b4790c7da05f78016b60ee4ec1e71058e919ab71 | ccae4a12ae2745b36a4f0def353d0e12bd75b2f3 | refs/heads/master | 2020-05-27T17:40:37.568490 | 2015-03-19T14:25:00 | 2015-03-19T14:25:00 | 25,059,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | cpp | /*
--描述:A 字符串 “hello world” , B 字符串 "er" ,默认都是小写字母 , 要求写一个函数在A中除去B字符,返回A
--INPUT: hello world , er
--OUTPUT:hllowold
--要求空间复杂度为O(1),时间复杂度越低越好;
----方法:1-先对A HASH 到 一个临时int变量check中,相应位置1
----------2-在对B HASH 的相应的位和check相与 ,把A置1的清零
----------3-扫描A串 同时HASH 和check相与,判断是否为零,若是直接跳过. 若不是则赋值给一个临时串保存;
----------4-把A串的指针,指向临时串。同... | [
"waten1992@gmail.com"
] | waten1992@gmail.com |
8e44ecf6b779231c8bdab6a97bff52e9b160b933 | be30e126df12d9ac6087ab8f82101c6b932121c8 | /sdk/CPed.cpp | 19f8ca3cce7ec415bb9aa8654dad04cd6a870235 | [] | no_license | ArnCarveris/gta-sa-plugin-sdk | fc53265bbce06de9276ad2a289e50505aaea2d52 | f64548b0f588856d2da6100cd1c69a5880f89fd2 | refs/heads/master | 2020-05-20T15:46:06.287895 | 2014-02-23T14:07:29 | 2014-02-23T14:07:29 | 34,955,493 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cpp | #include "CPed.h"
NOINLINE CPed::CPed(ePedType type)
{
PREPARE_FOR_REDIRECTION();
//((void (__thiscall *)(CPed *, ePedType))0x5E8030)(this, type);
}
NOINLINE CPed::~CPed()
{
PREPARE_FOR_REDIRECTION();
//((void (__thiscall *)(CPed *))0x5E8620)(this);
}
void *CPed::operator new(unsigned int size)
{
... | [
"dk22_@mail.ru@a08e2604-8956-8f2e-fb63-2a67f058b60e"
] | dk22_@mail.ru@a08e2604-8956-8f2e-fb63-2a67f058b60e |
5c4094a13025c1386e27ef8cd55d813003e90afd | a60ff43808d79e528b76f62ad44598827cb95d60 | /cameronet.h | 6e3b0fc0727e0f8824c42559236e13cce60dc24d | [] | no_license | yyyly/cameronet | 93f1f8ce2f1f29677aa449b2c663ba884aa6d14f | c400cd55a0a0caec83b3d6649180367ff1792bac | refs/heads/master | 2020-12-02T13:07:05.931854 | 2020-08-22T02:27:15 | 2020-08-22T02:27:15 | 231,015,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,190 | h | #ifndef CAMERONET_H
#define CAMERONET_H
#include<QObject>
#include<QWidget>
#include<QMultiMap>
#include<QThread>
#include<QMap>
#include "HCNetSDK.h"
#include "cameronet_global.h"
#include "enums.h"
#include "cameradeviceimf.h"
#include "screen.h"
#include "soundpushbutton.h"
#include "dhnetsdk.h"
#include "dhwork.h"... | [
"1305892681@qq.com"
] | 1305892681@qq.com |
34120f1b774b1d6a25064dd007ed62501b2a1db7 | 9da88ab805303c25bd9654ad45287a62a6c4710f | /Cpp/atcoder/abc/292/D.cpp | 96addbbdd41b3cfb222cb285565917cda88fc5fd | [] | no_license | ms303956362/myexercise | 7bb7be1ac0b8f40aeee8ca2df19255024c6d9bdc | 4730c438354f0c7fc3bce54f8c1ade6e627586c9 | refs/heads/master | 2023-04-13T01:15:01.882780 | 2023-04-03T15:03:22 | 2023-04-03T15:03:22 | 232,984,051 | 2 | 0 | null | 2022-12-02T06:55:19 | 2020-01-10T06:47:00 | C | UTF-8 | C++ | false | false | 1,726 | cpp | // IO
#include <iostream>
#include <iomanip> // std::setprecision
#include <sstream>
// ordered container
#include <vector>
#include <deque>
#include <list>
#include <forward_list>
#include <string>
#include <stack>
#include <queue>
// associative-container
#include <map>
#include <set>
#include <unordered_map>
#i... | [
"ms303956362@163.com"
] | ms303956362@163.com |
a9d39ed32107029a51e97c26996c61ab0c3aea6e | c8e6f194669663e0e2748dbc56a7172b9ea008f7 | /.localhistory/GUI/1472028309$MainForm.h | e52932e83702bc6d660060f023fd277cdffd518f | [] | no_license | itreppert/GUI | 1922e781d804d17cb8008197fdbfa11576077618 | 9ca4ea0531eb45a4462a4d8278aec67f8c2705ef | refs/heads/master | 2020-04-17T20:29:10.965471 | 2016-09-06T13:18:01 | 2016-09-06T13:18:01 | 67,501,677 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 105,891 | h | #pragma once
#include "Test.h"
#include "TeilenDurch0Exception.h"
#include "BlinkinButton.h"
#include "DrawingPanel.h"
#include "RegexTextBox.h"
namespace GUI
{
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
... | [
"Alfa-Dozent@SB-U03-001"
] | Alfa-Dozent@SB-U03-001 |
561fb5d6db284b75fd87e7d55d3a8e486f77f4ad | 5d62cdda6593f2d14957997b4bf2b10e9e9ed717 | /Demo/src/SmokeEffect.hpp | 9d7f4477aa201376afb42d5ad60cdf08549058c2 | [] | no_license | luoxz-ai/KetrazmEngine | d2daf6e66f090133075316c4c43bc14b1fd8d400 | bc02d7627c409da7b06aa0a4d743d0b9d32d94e1 | refs/heads/master | 2021-05-30T21:37:04.887960 | 2015-09-02T21:08:44 | 2015-09-02T21:08:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | hpp | #ifndef SMOKEEFFECT_HEADER
#define SMOKEEFFECT_HEADER
#include <Engine/Audio/Sound.hpp>
#include <Engine/Graphics/ParticlesHandler.hpp>
using namespace Engine;
class SmokeEffect
{
private:
std::shared_ptr<Graphics::ShaderProgram> _physicsProgram;
std::shared_ptr<Graphics::ShaderProgram> _displayProgram;
std::shar... | [
"mzartek@hotmail.fr"
] | mzartek@hotmail.fr |
90aa233639996c0c2ce8796d5e17a73b8cee2a73 | 7b9e0c87230e45db55b6a51c2fad0a46888275b9 | /Astar/NodeList.h | 18cb6ee8ecab296c8b2112586f9ac9734aa3473a | [
"MIT"
] | permissive | willigarneau/astar-pathfinding | 1da41740a3de12e9185f31f711b4a7c1136852a0 | 4bce94d172db389240671d3bfbf4f88434659218 | refs/heads/master | 2023-07-07T06:47:54.690538 | 2018-11-16T15:13:48 | 2018-11-16T15:13:48 | 157,882,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | h | #pragma once
#include <iostream>
#include <vector>
#include "Node.h"
using namespace std; // shouldnt be done
class NodeList
{
public:
NodeList();
~NodeList();
void Add(Node* pNode);
void Remove(Node* pNode);
void Replace(Node* pNode, int pIndex);
bool IsEmpty();
bool Contains(Node* pNode);
Node* LowestS... | [
"noreply@github.com"
] | noreply@github.com |
59f3fb1f681c088aa465cfb3181d42a497331212 | 1de5dbf9d55db225dcea0703c2686c05b5ad6044 | /CLONE_client/CLONE_client/Code/Frustum.cpp | ebfeb1ae8f1c25d5fd5766770ddb6ea6bdbf13cd | [] | no_license | RYUHYEONGSEOK/CLONE | 4e48c8307445402a8fb656b599090513e63786ab | 3a3d3e18e84fe7fea3667ab9f9d2123b8246a2fe | refs/heads/master | 2021-01-15T13:18:40.409938 | 2017-08-17T01:42:46 | 2017-08-17T01:42:46 | 78,752,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,072 | cpp | #include "stdafx.h"
#include "Frustum.h"
//Objact
#include "Camera.h"
IMPLEMENT_SINGLETON(CFrustum)
CFrustum::CFrustum(void)
{
}
CFrustum::~CFrustum(void)
{
}
HRESULT CFrustum::UpdateFrustum(CObj* pCam)
{
D3DXMATRIX viewProjection;
D3DXMatrixMultiply(&viewProjection, &(*((CCamera*)pCam)->GetViewMatrix()), &(*((... | [
"serverpro90@naver.com"
] | serverpro90@naver.com |
14c8acdad973ce34a520e6f44147334b20531bf9 | 4b8fde910bf00294ea21ce4d1aade7dff921498a | /dev/src/builtins.cpp | 071faeb21589f52444ce65a38fd45276dfad4bfe | [
"Apache-2.0"
] | permissive | DawidvC/lobster | f4db968a78e9969ab8c57dc1ed511e8cf4d8abfb | ca6fae4b308664e61ce5d745aec1f610429b297d | refs/heads/master | 2020-04-06T05:32:27.947474 | 2014-09-06T22:15:31 | 2014-09-06T22:15:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,135 | cpp | // Copyright 2014 Wouter van Oortmerssen. 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 b... | [
"aardappel@gmail.com"
] | aardappel@gmail.com |
6e2cd9be1190ed93729bffe4719a50fa05661319 | c4cf06c5b7e8e27d80fe276016efd7da2115b449 | /Light.cpp | 534498139fe8a06fa8a6e11d0977cbe9541c869f | [] | no_license | uans3k/u3krender | 93f94a5ee3b345e6d5efde6ac554a9f6dd9d267b | 2841d81941facd9768174842bb1fb65da921b6a8 | refs/heads/master | 2021-01-10T02:03:59.761353 | 2019-05-10T11:23:29 | 2019-05-10T11:23:29 | 53,245,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,823 | cpp | #include "stdafx.h"
#include "Light.h"
void Light::init(Point4D *pos, Vector4D *dir, Color ambient, Color diffuse, Color specular, float kc, float kl, float kq, float spotInner, float, float pf, int attr)
{
this->ambient = ambient;
this->diffuse = diffuse;
this->specular = specular;
this->kc = kc;
this->kl = kl... | [
"uans3k@163.com"
] | uans3k@163.com |
9a47fd0adfe4fa39086cf6a822d89ce85ebf388f | 5307162e2cb27a7256a2d88ad2f84b33ca5e43e5 | /ball_detection/src/CTrajectory.cpp | df4de177afffbe171161f77c68376a174c0dfdcb | [] | no_license | lengagne/rws2016_pkumars | 01814daaa409b1891a0908ba93b653dd601d9098 | 4d8f861b91be741fe39dd5097627da5a484789b8 | refs/heads/master | 2023-03-22T00:49:56.612961 | 2019-03-07T12:21:03 | 2019-03-07T12:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,366 | cpp | /***********************************************************************************
Name: CTrajectory.cpp
Revision:
Date: 25-02-2013
Author: Paulo Dias
Comments: Class with all info needed for ballistic trajectory estimation
(using simple quadratic: parabolic movement)
images
Revisi... | [
"noreply@github.com"
] | noreply@github.com |
9c7fd64205e8276c5b9640622b0ad8537664886e | ae474c46e47d8e5084bbc2b8aad44a59c5effad7 | /TestCasesInSuits/CaseAndSuitForRayRender.h | 1a07918c69bb04e753ef16528707c0de4e1e2546 | [] | no_license | 181847/LearningFundamentalsOfComputerGraphic | 9bb3bd325dffa1131d3a1743f588b2e91a8c4bde | c4215f710853ebbc7c73f233ddc1df7931ed2f62 | refs/heads/master | 2020-03-23T03:35:33.703762 | 2019-07-26T15:52:38 | 2019-07-26T15:52:38 | 141,038,418 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | h | #pragma once
#include "CommonHeaders.h"
#define CASE_NAME_IN_RAY_RENDER(RestClassName) CaseFor##RestClassName
#define DECLARE_CASE_IN_RAY_RENDER_FOR(RestClassName, CaseName) \
class CASE_NAME_IN_RAY_RENDER(RestClassName) : public CaseForPipline\
{\
public:\
CASE_NAME_IN_RAY_RENDER(RestClassName)() :CaseForPipline... | [
"753090084@qq.com"
] | 753090084@qq.com |
20d49af522c7316cf4e2fadd99d6b65794be1392 | 554e6b73ed500172abe5fdef08fbc7caf4089f78 | /Cpp/Practice/insertionSort.cpp | 25b69261536a3ddcb24e182e10c1893819d54e8e | [] | no_license | Shandilier/Competitive-Programming-1 | e65388adff421398d803b746635597b2fa5a53c2 | c9d66f472aee2fd1fbd3e934e3efb2230dbeebd6 | refs/heads/main | 2023-06-25T09:33:46.317893 | 2021-07-28T03:06:16 | 2021-07-28T03:06:16 | 385,301,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include<bits/stdc++.h>
#define ll long long int
using namespace std;
int main()
{
ll n;
cin>>n;
ll arr[n];
for(ll i=0;i<n;i++)
cin>>arr[i];
ll key;
ll j;
for(ll i=0;i<n;i++)
{
key = arr[i];
j=i-1;
while(j>=0 && arr[j]>=key)
{
arr[j+1] ... | [
"sachin.shandilya@ge.com"
] | sachin.shandilya@ge.com |
b0992e8676f7969b54a97e78e2932b6fda899e65 | e1bc05eee7ee3a46af7661cfe16d49710c683984 | /lib/resourcemanager/textureload.cpp | 8211b480a083f6417c17f45ca8e90aef61675f31 | [] | no_license | TheAks999/Visualizer | 55c706e327c0685f83f0a96a5ea1578e925c866c | 1589aea26eb96ad114fc7287ec67d3d572265e6e | refs/heads/master | 2016-09-06T14:14:32.117880 | 2011-06-16T04:39:33 | 2011-06-16T04:39:33 | 1,651,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,670 | cpp | /**************
*This file may change between projects
* ~Shep
**************/
#ifndef TEXTURELOAD_CPP
#define TEXTURELOAD_CPP
#include "texture.h"
#include <qgl.h>
#include <GL/glu.h>
#include <iostream>
enum IMAGE_TYPE
{
IMG_NONE, IMG_TIFF, IMG_PNG, IMG_TGA, IMG_BMP
};
IMAGE_TYPE getImageType(const QString & pa... | [
"aksfkb@mst.com"
] | aksfkb@mst.com |
34957995c11b2fe45b30ca916ac9c99b8076d1d5 | 28b7078f834d6a16ff0f0bffc2ddad50bbc43536 | /Memory_Management_Header/static_allocator.h | 2352ed6d857eba2b3471a13b71a3745aa72c6c35 | [] | no_license | ccpang96/SGI_STL | 89289b57395d90d9b9a6a63c81243b3feeb7f029 | d63d4630b9d096357aae7a617ccf813220784014 | refs/heads/master | 2020-12-11T23:43:35.979492 | 2020-01-15T08:52:46 | 2020-01-15T08:52:46 | 233,987,129 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 843 | h | #pragma once
#include <string>
namespace static_allocator {
//设计allocator1类去封装malloc和delete
class allocator1 {
private:
struct obj {
struct obj*next; //嵌入式指针 embedded pointer
};
public:
void* allocate(size_t);
void deallocate(void*, size_t);
private:
obj * freeStore = nullptr;
const int CHUNK = 5... | [
"ccpang96@163.com"
] | ccpang96@163.com |
302bc5ab25ac8330a4e74117432545491f959879 | a3a8de60a97adc6279adbac65656f9fec5f2e8e6 | /2017011507-陈昱宏-源代码/SearchOrder.h | 3cb50f4674c961aeed4119f5b545d9e323f8bed2 | [] | no_license | THU-Yu/Hotel-Booking-Application | 5dec346f905848f19fb17f9ba7233d19304f8865 | 3abcc2e7c23a16ab0af94720f7f8a85b0e65549e | refs/heads/master | 2021-05-18T08:18:00.872611 | 2020-03-30T03:44:04 | 2020-03-30T03:44:04 | 251,193,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | h | #ifndef SEARCHORDER_H
#define SEARCHORDER_H
#include "normaluser.h"
#include "hotaluser.h"
#include "platformuser.h"
#include "hotalorder.h"
#include "orderdetail.h"
#include "PinJiaMessage.h"
#include "hotal.h"
#include <QWidget>
class QTableWidget;
class QTableWidgetItem;
class SearchOrder:public QWidget
{
Q_O... | [
"yuhong-c17@mails.tsinghua.edu.cn"
] | yuhong-c17@mails.tsinghua.edu.cn |
c6639cb1eee991788c32993886d3aa13bfd03a3e | 5a6518cf9301fffaea32bc2d8e1adb84bb958f32 | /components/certificate_transparency/ct_policy_manager_unittest.cc | 82573f8dd0f0586857e22195160ab054a0b7eb01 | [
"BSD-3-Clause"
] | permissive | srashtisj/chromium | 0dbfd3f00836723e1f142511279c11dc4f9a2137 | e72eabf20722d616feb232776b95cc7f051a2aa3 | refs/heads/master | 2023-01-06T14:03:40.313390 | 2018-04-05T12:43:54 | 2018-04-05T12:43:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,499 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/certificate_transparency/ct_policy_manager.h"
#include <iterator>
#include "base/memory/ref_counted.h"
#include "base/message_loop/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cec6705e458eb24c34267b6b01a44a90e8b29c02 | 119828e4a5a7bd3cec7360d47765e68a780fe34d | /Framework/Core/D3D11/OMStage/BlendState.cpp | 9ba9fdd85887f311af31d83522d5a3aed346be0d | [] | no_license | JoSungHun/TerrianEditor | 4b5b11cf0d672b114e0ab7d7940f674e232beae2 | fb8c57dfe270df7e52dfd04e9e81c7b00b29f458 | refs/heads/master | 2020-06-05T03:53:00.212549 | 2019-06-17T08:33:19 | 2019-06-17T08:33:19 | 192,304,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,741 | cpp | #include "Framework.h"
#include "BlendState.h"
std::map<Factor, D3D11_BLEND> BlendState::blend_factors
{
std::make_pair(Factor::ZERO , D3D11_BLEND_ZERO),
std::make_pair(Factor::ONE , D3D11_BLEND_ONE),
std::make_pair(Factor::SRC_COLOR , D3D11_BLEND_SRC_COLOR),
std::make_pair(Factor::INV_SRC_COLOR , D3D11_BLE... | [
"41054697+JoSungHun@users.noreply.github.com"
] | 41054697+JoSungHun@users.noreply.github.com |
97777fd74e98e30d2eded7935885abaf559dbfbd | f11ed31357628473e0bfb89902bc9c94157c6c59 | /Vending_machine/Vending_machine/Machine.h | 7c2e10549535b9f92dae842bf8dc3225fe3aaa4d | [] | no_license | ChouJustice/WinForm-Project | 06da737d6e31578b257955c3c8917691c1777e6f | e923d7c1a70e3420664574a9bd3bcee074aa7135 | refs/heads/master | 2020-03-15T19:56:18.445743 | 2018-08-20T06:41:49 | 2018-08-20T06:41:49 | 132,320,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | h | #pragma once
#include "Goods.h"
ref class Machine
{
private:
array<Goods^> ^Sale_goods;
int money;
int balance;
public:
Machine(void);
void setMoney(int);
void setBalance(int);
void plus_100();
void plus_50();
void plus_10();
void machine_initialization(void);
void setName(int,System::String^);
void setSto... | [
"z42442412@gmail.com"
] | z42442412@gmail.com |
4532a0dd142389699a8739a7ab431f4dc63474c2 | 9557a0940de8ee41cb814a4177e419e202ff9188 | /binTree/tree/Tree.cpp | 1999c2d83b0b026f4756bdba2ba1b94b548c416c | [] | no_license | ljt141421/DataStructure | 416a85d1ae28d394a1e4d6fd44ed72969f8cdded | 613de0582bd9a80735f4a7c1a73947e3cf7ac7fb | refs/heads/master | 2022-11-18T02:25:02.145547 | 2022-11-05T15:51:52 | 2022-11-05T15:51:52 | 194,282,918 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | #include"Tree.h"
void initTree(Tree *tree,ElemType ref)
{
tree->root=NULL;
tree->refValue=ref;
}
void createTree(Tree *tree,char *str)
{
createTree(tree,tree->root,str);
}
void createTree(Tree *tree,TreeNode *&t,char *&str)
{
if(*str == tree->refValue)
t=NULL;
else
{
t=(TreeNode*)malloc(sizeof(TreeNode));
... | [
"ljt@aliyun.com"
] | ljt@aliyun.com |
02f1dcd80682763ef6fa7597b9908346867d99bf | b066028fea8c16eb9134bf94024a3962ca14ca97 | /lib/libgsmo/gmb_cols.cc | 2e0952b3ad395048b6a60eb4658e36d67f92cb0c | [
"MIT"
] | permissive | elifesciences-publications/bpps-sipris-code | 9afa7646079f1da44f82539e8b8f472e46286374 | 3c5382489c5e6aeca20c93b7ba2907b19fad3cf7 | refs/heads/master | 2021-05-14T03:59:31.629499 | 2017-10-04T19:12:20 | 2017-10-04T19:12:20 | 116,630,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,460 | cc | /******************************************************************************************
Copyright (C) 1997-2014 Andrew F. Neuwald, Cold Spring Harbor Laboratory
and the University of Maryland School of Medicine.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this s... | [
"aneuwald@bf312fdc-5263-4627-9904-0a588619bb94"
] | aneuwald@bf312fdc-5263-4627-9904-0a588619bb94 |
c71c2e6fb4831bd3611b792147154dbc6ecd989b | 20049d88e2e8f0e1904efc561103c1d84d21507a | /bessonov.alexandr/common/circle.cpp | 3cc59c615221d4b7f7f2fa7b8df6b9fbfd60b722 | [] | no_license | gogun/Labs-for-SPbSPU-C-course-during-2019 | 5442a69152add3e66f02a7541e8dc8dd817f38a1 | 16ade47b859517a48d0fdb2e9704464bce4cc355 | refs/heads/master | 2022-01-09T16:02:54.728830 | 2019-06-06T11:06:33 | 2019-06-06T11:06:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | #define _USE_MATH_DEFINES
#include "circle.hpp"
#include <iostream>
#include <stdexcept>
#include <cmath>
bessonov::Circle::Circle(const bessonov::point_t &newCenter, double radius) :
center_(newCenter),
radius_(radius)
{
if (radius <= 0)
{
throw std::invalid_argument("Problematic radius");
}
}
void bes... | [
"sakryshitel@gmail.com"
] | sakryshitel@gmail.com |
457af226f09b9954407a70c35b4b6c4b688c3255 | 575527ccc679f5c2718bb35eb58a5e4f470b11eb | /include/message_wrap.h | c1b0cd4ddbf7f48df5b4b58a2162bde038d5144e | [] | no_license | wukong2016/wukong | dd4fd9d11b93aea0c7223d26bc513e61ef464a56 | a053391c57863782579db5f25a6f0aa7e02237a3 | refs/heads/master | 2020-12-24T20:32:36.107846 | 2016-05-10T02:07:14 | 2016-05-10T02:07:14 | 58,422,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | h | #pragma once
#include "query_basic_types.h"
#include "network_node.h"
#include "rdma_resource.h"
#include "thread_cfg.h"
#include "global_cfg.h"
void SendR(thread_cfg* cfg,int r_mid,int r_tid,request_or_reply& r);
request_or_reply RecvR(thread_cfg* cfg);
bool TryRecvR(thread_cfg* cfg,request_or_reply& r);
template<... | [
"shijiaxin.cn@gmail.com"
] | shijiaxin.cn@gmail.com |
c9e26336b698723eb09076a6793616a152dd2565 | 6f9d495e097bbfe2ebe1dc01dc2149ec4f8372e0 | /cpp/cpp04/ex03/Character.hpp | 7e8c74f73b9f100d291f083bb74b0bb3a658cfa5 | [] | no_license | nirgoth/nirgoth | abc22e2a4810c979be66a590c142dbd76a5d6fa0 | 4cc2b8e60cfc50d4ca7ee3dff45f1f1603ca7a07 | refs/heads/master | 2021-06-23T07:42:20.373983 | 2021-05-03T13:49:55 | 2021-05-03T13:49:55 | 223,377,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | hpp | #ifndef CHARACTER_HPP
# define CHARACTER_HPP
# include "AMateria.hpp"
class Character
{
private:
std::string _name;
AMateria *_inv[4] = {NULL, NULL, NULL, NULL};
Character();
public:
Character(std::string name);
~Character();
Character(Character const &el);
Character &operator=(Character const &el);
... | [
"maklakovs.p@gmail.com"
] | maklakovs.p@gmail.com |
ed4e1db9cc3e46558fa65a6a20bdaf3b04bff57e | caf6ae544fce3b332b40a03462c0646a32c913e1 | /master/qtcplus/client/SWGStandardInitiateLoginResultData.cpp | 03d47c7c24ee00f55370ce08e15926776b9168db | [
"Apache-2.0"
] | permissive | coinsecure/plugins | 827eb0ce03a6a23b4819a618ee47600161bec1c7 | ad6f08881020c268b530d5242d9deed8d2ec84de | refs/heads/master | 2020-05-30T07:17:56.255709 | 2016-11-27T22:22:23 | 2016-11-27T22:22:23 | 63,496,663 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 4,677 | cpp | /**
* Coinsecure Api Documentation
* To generate an API key, please visit <a href='https://coinsecure.in/api' target='_new' class='homeapi'>https://coinsecure.in/api</a>.<br>Guidelines for use can be accessed at <a href='https://api.coinsecure.in/v1/guidelines'>https://api.coinsecure.in/v1/guidelines</a>.<br>Programm... | [
"vivek0@users.noreply.github.com"
] | vivek0@users.noreply.github.com |
dab92defd11f838f5543c8a92476c4aaa5e02d31 | 09403b9998277567edb91e237ef9a29e5265a279 | /src/openlcb/BroadcastTimeDefs.hxx | f7a9d5be611f701c290dfccc127da0e97813024f | [
"BSD-2-Clause"
] | permissive | bakerstu/openmrn | 9a07d3a72fad1d0447c1e59acfeeff61c9c76c5a | ca333ec4b35e1ffc1323aa62936db0bd043ef6df | refs/heads/master | 2023-08-31T12:11:46.046315 | 2023-08-31T00:53:31 | 2023-08-31T00:54:05 | 6,500,256 | 45 | 42 | BSD-2-Clause | 2023-09-10T10:39:52 | 2012-11-02T02:20:12 | C++ | UTF-8 | C++ | false | false | 15,520 | hxx | /** @copyright
* Copyright (c) 2018, Stuart W. Baker
* 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,
* thi... | [
"noreply@github.com"
] | noreply@github.com |
ab5774960c8f3def583b2bf7bc2097ec6772edeb | 115cd4d9eb0916772fa5622693a367663d5946f4 | /cpp-HSDS/include/hsds/rank-index.hpp | 50e807e9c63a55166eec5350cad54bbac63c4ad0 | [
"MIT"
] | permissive | jasonjin22/BWA177 | 287e8704c5bf1f3edceb3ad8c118531917e155ac | a23542cc03802141f33382eafbd222fa0b219c6d | refs/heads/master | 2020-05-17T10:30:56.696782 | 2019-05-16T15:15:24 | 2019-05-16T15:15:24 | 183,659,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,192 | hpp | /**
* @file rank-index.hpp
* @brief Implementation of RankIndex class
* @author Hideaki Ohno
*/
#if !defined(HSDS_RANK_INDEX_H_)
#define HSDS_RANK_INDEX_H_
#if !defined(_MSC_VER)
#include <stdint.h>
#endif // !defined(_MSC_VER)
/**
* @namespace hsds
*/
namespace hsds {
/**
* @class RankIndex
*
* @brief Ind... | [
"jinjch@shanghaitech.edu.cn"
] | jinjch@shanghaitech.edu.cn |
f08bd1e767445839e33cfa09ba50dd387365848a | da751f6efa8a66f6110673e0a0adfdca1a51387a | /C++/10071 - Trevor Philips Industries.cpp | 5ac27493a83509bdea5e4f81afe1d6bc2909606c | [] | no_license | hi2tamzid/Outsbook | af12c2074c423014ae330a76e53b4a46e03850c8 | cffa383946212e501f2319c33219149e1cfa9474 | refs/heads/main | 2023-01-23T23:32:17.835255 | 2020-11-26T10:45:09 | 2020-11-26T10:45:09 | 316,197,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
long long m, t, n;
cin >> m>> t >> n;
double result = (double)n / (m * 4.0) ;
result = ceil(result) * (double)t;
cout <<fixed << setprecision(0) << result << e... | [
"noreply@github.com"
] | noreply@github.com |
02d1973b51d370b7d2b701461066ff3d31094db9 | 834b551c9e17345d761bc54c6a56c2de9002d6ac | /problems/234. Palindrome Linked List/two_pointer.cpp | 0c72fcee42c8dfdc6135830fd3bb120d76f67216 | [] | no_license | nullscc/leetcode | 15507aecbb256acff0506bbc2bdb4dada113553b | 95fbe47252b6f5e88378719fcdf3ee6200c68de4 | refs/heads/main | 2023-03-20T08:36:22.313209 | 2021-03-02T08:40:20 | 2021-03-02T08:40:20 | 330,892,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
bool isPalindrome(Lis... | [
"jarves@foxmail.com"
] | jarves@foxmail.com |
8fb5f252d6caa80ac889665bf468119687dc17f9 | 1cdf0777a01cc71e78f4482c25609de89eee1b67 | /client_lib.cpp | ef57d5b8d83671e02ff0c6b6bc106b205fd9916f | [] | no_license | ogolosovskiy/speed_test | 9ef3fa5f61e7ec268910c99dce6db0bf40bd6363 | 891c48feecc6c55aff46eddd5ca9cb88be595685 | refs/heads/master | 2020-03-30T23:45:27.246754 | 2018-10-10T10:10:23 | 2018-10-10T10:10:23 | 151,712,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,527 | cpp | //
// Created by Oleg Golosovskiy on 08/10/2018.
//
#include "client_lib.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
to_print_callback* g_logger = 0;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-security"
template<typename ... Args>
static void print_log(char cons... | [
"oleggl@steppechange.com"
] | oleggl@steppechange.com |
41b472878bb0ffe02474a43f939a0f9d14736c31 | b62835c35ededb2d1b4cb0a83db1945f06099479 | /threads/threads/sample.cpp | ffe4901e335165c8ef0d0cd3c87d6567c05e3c12 | [] | no_license | kylerichey/exampleCodeCS360 | b03a584492f8a480af612cf23c85991d82ad5836 | b88805047bacdffb2e8982db1da919ea68bac5b3 | refs/heads/master | 2021-01-24T17:50:44.485337 | 2016-03-28T21:08:15 | 2016-03-28T21:08:15 | 53,171,449 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
void *functionC(void *ptr);
int counter = 0;
main()
{
int rc1, rc2;
pthread_t thread1, thread2;
/* Create independent threads each of which will execute functionC */
if( (rc1=pthread_create( &thread1, NULL, &functionC, NULL... | [
"kylerichey@users.noreply.github.com"
] | kylerichey@users.noreply.github.com |
050df6bcfe398a091ab5348c45947ad92f8822eb | 4441cd8e9c5049016c42f03d5c2da893ac294505 | /include/demons.h | 3ce5e25b0aaeb30b733d51ddbc8576d7e2de2fee | [] | no_license | yourDM-tristan-j/ex08-creatures | 17372e78f6dbcdcd8cdfafd2ee91572226ab3586 | 43abaa3fdc15cd6b825024bcedb18f05775ed0eb | refs/heads/master | 2020-04-10T00:56:00.028114 | 2018-12-06T17:49:12 | 2018-12-06T17:49:12 | 160,700,398 | 0 | 0 | null | 2018-12-06T16:16:49 | 2018-12-06T16:16:48 | null | UTF-8 | C++ | false | false | 1,395 | h | class Demons : public Creature {
private:
}
static const std::string CYBERDEMON_NAME = "CyberDemon";
static const std::string BALROG_NAME = "BALROG";
class Cyberdemon : public Demons{
private:
int type = 1;
int strength = DEFAULT_STRENGTH;
int strength = DEFAULT_HIT_POINTS;
const string &getSpecies() ... | [
"tristan_long1@my.vcccd.edu"
] | tristan_long1@my.vcccd.edu |
6d3c81346d026c98c1674c5cdb92017e83c381af | 5b07de510fd36829ccec2704340d6aa4e2d88bb7 | /src/wallet.cpp | 6793b587ecf98502fd90289521860ba958356be5 | [] | no_license | wyh136/DECENT | b12f8222b4d803b526ebcdf6076891cfd06b4fa1 | 9785af7faab5e834463999959ce85e5287b96ca4 | refs/heads/master | 2021-01-20T11:34:53.214816 | 2016-09-06T17:11:42 | 2016-09-06T17:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94,419 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2013 The Peercoin developers
// Copyright (c) 2015-2015 The Decent developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/... | [
"josef.sevcik@gmail.com"
] | josef.sevcik@gmail.com |
21816a20e0f94d8b0329ba886aa6d1b2c56effd5 | ab570cfbba5d90e73727dca01008e43029a42eae | /bonus6.cpp | 78bf05e380abbe8bf02ab8139a613c6c7f6f5ba7 | [] | no_license | rileym65/Casino | 3adfbdf4501f0c55191c031a0ffe3615b30b8cfc | 6b73002fdfebbda9ca490774b941f561cb73a049 | refs/heads/master | 2020-08-08T22:08:40.508213 | 2019-10-09T13:49:34 | 2019-10-09T13:49:34 | 213,931,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,136 | cpp | #include <stdlib.h>
#include "header.h"
#include "poker.h"
#include "bonus6.h"
#ifdef GRAPHIC
#include "images/bonus6.xpm"
#endif
Bonus6::Bonus6(int decks,int jokers,float minbet):
Poker(decks,jokers,minbet) {
betAmount=1;
}
void Bonus6::clearBets(int p) {
#ifdef GRAPHIC
rcs_GC gc;
gc=rcs_openGC(display,ma... | [
"mikehriley@hotmail.com"
] | mikehriley@hotmail.com |
cf3d8362f23fa1b071612e055f47c7515d2de9b0 | 2348000ede440b3513010c29a154ca70b22eb88e | /src/CPP/src/epi/chapter17/IsPatternContainedInGrid.hpp | e5104c7c368eb4a77f2e4bad62dec24a0a54f491 | [] | no_license | ZhenyingZhu/ClassicAlgorithms | 76438e02ecc813b75646df87f56d9588ffa256df | 86c90c23ea7ed91e8ce5278f334f0ce6e034a38c | refs/heads/master | 2023-08-27T20:34:18.427614 | 2023-08-25T06:08:00 | 2023-08-25T06:08:00 | 24,016,875 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | hpp | #ifndef SRC_EPI_CHAPTER17_ISPATTERNCONTAINEDINGRID_HPP_
#define SRC_EPI_CHAPTER17_ISPATTERNCONTAINEDINGRID_HPP_
#include "../../Solution.h"
#include <vector>
#include <unordered_set>
#include <tuple>
namespace epi {
namespace chapter17 {
class IsPatternContainedInGrid : public myutils::Solution {
public:
... | [
"zz2283@columbia.edu"
] | zz2283@columbia.edu |
0e90d0f6a8ce90f6a76e2bec6ad486a9a4a8046a | fe5e4748939432af1d691f9d5837206fbf6c6c2f | /C++/bfs_4.cpp | ab358cfa89455f1c25507562d4c0817d26161b16 | [] | no_license | soadkhan/My-Code | e0ebe0898d68df983e8c41e56633780d6ac22c39 | 72fc258cdbf08d86f20a565afe371713e8e8bc39 | refs/heads/master | 2021-01-23T03:27:34.181019 | 2017-03-24T14:42:15 | 2017-03-24T14:42:15 | 86,077,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,863 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef unsigned long long int ulld;
typedef long long int lld;
typedef long int ld;
class node{
public:
ld x;
ld y;
node(int a=0, int b=0){
x = a;
y = b;
}
bool operator == (node a){
if(x==a.x&&y==a.y) return tru... | [
"khancse5914@gmail.com"
] | khancse5914@gmail.com |
33917c4c5aa6bca1045854a49a356723b24ca811 | cc7661edca4d5fb2fc226bd6605a533f50a2fb63 | /mscorlib/ImageFileMachine.h | ff2c5c5c2c668938b38d0c533c2e7130ba9c3303 | [
"MIT"
] | permissive | g91/Rust-C-SDK | 698e5b573285d5793250099b59f5453c3c4599eb | d1cce1133191263cba5583c43a8d42d8d65c21b0 | refs/heads/master | 2020-03-27T05:49:01.747456 | 2017-08-23T09:07:35 | 2017-08-23T09:07:35 | 146,053,940 | 1 | 0 | null | 2018-08-25T01:13:44 | 2018-08-25T01:13:44 | null | UTF-8 | C++ | false | false | 195 | h | #pragma once
namespace System
{
namespace Reflection
{
class ImageFileMachine : public Enum // 0x0
{
public:
int value__; // 0x10 (size: 0x4, flags: 0x606, type: 0x8)
}; // size = 0x18
}
| [
"info@cvm-solutions.co.uk"
] | info@cvm-solutions.co.uk |
d7a556185663cc98990de49e3175279a6e05f520 | 37421955fdae8ab64fa65c4fa91a6b2622bc14ef | /common/camera.h | 99fbafcb7fdf33da12cbd11b8b3e59f06dd905d0 | [] | no_license | SasaWakaba/Stelemate | c8ac4f49e4116911c044a9f559437c9b82d464bd | 20c003206ff3ba2b987ef978a98c8fe0514f87ab | refs/heads/master | 2020-09-05T18:52:41.011485 | 2020-03-29T11:53:39 | 2020-03-29T11:53:39 | 220,181,236 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 857 | h | #pragma once
#include "Game_Object.h"
class CCamera:public CGameObject
{
private:
XMMATRIX m_ViewMatrix;
RECT m_Viewport;
static XMFLOAT3 m_Eye; //カメラ座標
static XMFLOAT3 m_at; //見てる場所(注視点)
XMFLOAT3 m_CameraFront; //カメラの正面、長さ1
XMFLOAT3 m_CameraRight; //カメラの右側、長さ1
XMFLOAT3 m_CameraUp; //カメラの上、長さ1
... | [
"sasa.wakaba0405@gmail.com"
] | sasa.wakaba0405@gmail.com |
d22d8a8843200b30a97c610fe6081041957d9b54 | a72916978618f0978974e58be661bb347a28bb10 | /plugins/Project/vlSaveProject.h | d9281e79952cadbc2103fbfdd37a97b0270f159f | [] | no_license | Armida220/drv2.0 | a77523c163ee6887cccb648b833de3bbe1c840fe | 5b2610fd2159ad1408608c35f5d4bef4e64127ba | refs/heads/master | 2020-04-10T10:03:12.552174 | 2018-07-19T02:40:40 | 2018-07-19T02:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
#include "UIPlugins.h"
#include "x3py/module/classmacro.h"
//#include "ProjectObserver.h"
#include "UIPluginsEvents.h"
USING_NAMESPACE_EARTHMATRIX
const char* const clsidvlSaveProject = "00000000-6000-0000-0000-000000000002";
class CvlSaveProject : public IUICommon, public IUICommand, public IAnythingEve... | [
"37830982+hurui09@users.noreply.github.com"
] | 37830982+hurui09@users.noreply.github.com |
39f254028246b96f1f7f1493dd100052b2867c5f | 8de91a1aebb00600a98a69b7b8c783cb6a020720 | /cp/MaxFlow.cpp | 05ef8dbcd14733a3b3738e3a9485ab2cd295f79c | [] | no_license | RenatoBrittoAraujo/Competitive-Programming | 2148d5fc4b0ac4b8fdbadc8de2916b31a549e183 | de641f129a1ce27deffb7bf7c1635d702d05bf3e | refs/heads/master | 2020-05-22T21:17:41.420014 | 2019-05-17T00:39:20 | 2019-05-17T00:39:20 | 186,523,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX_V 1500 //more than this and maxflow takes too long
#define inf 1000000
using vi = vector<int>;
int G[MAX_V][MAX_V];
vi p;
int mf,f,s,t;
void augment(int v,int me){
if(v==s){
f=me;
return;
}else if(p[v]!=-1){
augment(p[v],min(m... | [
"renatomwbbritto@gmail.com"
] | renatomwbbritto@gmail.com |
0b6551bd116eb78cb7b0c5954d975e8fddad538c | 3ffb5a515f1ea50f8c3467af3c9ee63a4b73f706 | /src/qt/qrcodedialog.cpp | d6b86d1caf33d74540bf4e6871a5723059fdc962 | [
"MIT"
] | permissive | sppl/iti | c75db061242c98983e5204fdaf4b68e61f2230fd | 384c67784177ca5eb3d218f4276f00584a8b8743 | refs/heads/master | 2020-04-02T07:32:54.267090 | 2017-07-14T18:38:33 | 2017-07-14T18:38:33 | 61,468,392 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,360 | cpp | #include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "dialogwindowflags.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool... | [
"t0675700395@gmail.com"
] | t0675700395@gmail.com |
7b040c87258aa6fe094d601d6f589386390d4bd5 | 15612c6affbeb98781e19f7de0d3f1db72cf1db9 | /include/utility/relation_node.hpp | 97e5891a725439904d443bf8903a71bbf70d4c53 | [
"Apache-2.0"
] | permissive | federeghe/chronovise | 332ad62ab046a2ff8ed1d03cf7e66a366717b630 | 4b332f10669af73f33e00f8749040eed9601bfb2 | refs/heads/master | 2023-02-24T05:25:51.369574 | 2021-12-08T10:31:26 | 2021-12-08T10:31:26 | 111,384,255 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | hpp | /*
* chronovise - Copyright 2018 Politecnico di Milano
*
* 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... | [
"federico.reghenzani@polimi.it"
] | federico.reghenzani@polimi.it |
47f03ff81ab71217cc3e8ebabdfcf6502f96132f | 78590c60dac38e9b585d0a277ea76944544e9bd8 | /src/pool/pstring.cxx | 4c17513a96aee622eaf9cc3b0170584ad44c15df | [] | no_license | sandeshdevadiga/beng-proxy | 05adedcf28c31ad5fbaa073f85e5d2d420e5b3ca | 436e8de75a28aa8c7b09f6ed97c1a1dfcf0fcfc4 | refs/heads/master | 2023-03-02T09:04:20.466704 | 2021-02-11T17:05:38 | 2021-02-11T17:10:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,133 | cxx | /*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 abo... | [
"mk@cm4all.com"
] | mk@cm4all.com |
bc2bfc8bbf202f7adf914d9b06690c13fe892768 | e58a4f1b096b9544ef56f865afe9f079d3fc89db | /Graphs/breadth_first_search_in_graphs.cc | 92bda9a92f974211793494933103aa3efe7b51ab | [] | no_license | 0APOCALYPSE0/Algorithm-Concepts | c14c27ba967f524202ed9be8a79428bfc01e5dc0 | 587f620dc5b1481790987a86ef34225899d4f35d | refs/heads/master | 2023-06-13T08:05:02.208567 | 2021-07-04T22:32:25 | 2021-07-04T22:32:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | cc | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define endl "\n"
template<typename T>
class Graph{
map<T,list<T>> adjList;
public:
Graph(){}
// Function To add the nodes into the graph.
void addEdge(T src,T des,bool bidir = true){
adjList[src].push_back(des);
if(bidir){
adjList[des]... | [
"ajaysharma388"
] | ajaysharma388 |
c6ae62bae17c0ec324ca0aa0d67cbb08a72dce4d | b08e948c33317a0a67487e497a9afbaf17b0fc4c | /Display/Font.h | 03d4940ce4ff0bfd662810249e01fff5b4dea7da | [] | no_license | 15831944/bastionlandscape | e1acc932f6b5a452a3bd94471748b0436a96de5d | c8008384cf4e790400f9979b5818a5a3806bd1af | refs/heads/master | 2023-03-16T03:28:55.813938 | 2010-05-21T15:00:07 | 2010-05-21T15:00:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,208 | h | #ifndef __FONT_H__
#define __FONT_H__
#include "../Display/Display.h"
namespace ElixirEngine
{
//-----------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------
//-------------... | [
"voodoohaust@97c0069c-804f-11de-81da-11cc53ed4329"
] | voodoohaust@97c0069c-804f-11de-81da-11cc53ed4329 |
75a303642f8bc683a5bbe664f60b731685865ac4 | f0779717341f2c471191a94250f5b83ab3dc20cc | /OpenCV3/CPP-TCP-Client/CPP-TCP-Client/main.cpp | 52ac2624257c173696723642a11704b9222d22cd | [] | no_license | IceArmour/ZSC-2017-ETHEIH | c6de0e143dcf683d436c0dd653423743769ba9d9 | f85f0a64c7b2521bfc8e6a6d58c88980f0027e05 | refs/heads/master | 2020-03-27T08:34:03.460285 | 2018-08-12T23:15:10 | 2018-08-12T23:15:10 | 131,006,600 | 0 | 0 | null | 2018-04-25T12:57:53 | 2018-04-25T12:57:53 | null | UTF-8 | C++ | false | false | 1,343 | cpp | //--------------------------------------【程序说明】-------------------------------------------
// 程序说明:第11次汇报 CPP-TCP-Client
// 程序描述:建立TCP通信协议,作为客户端与VISOR进行通信
// 开发测试所用操作系统:Windows 10 64bit
// 开发测试所用IDE版本:Visual Studio 2017
// 2018年8月9日 Created by @ZHWKnight
// 2018年4月13日 Revised by @ZHWKnight
//----------------------... | [
"china.wenhuang@gmail.com"
] | china.wenhuang@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.