blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd7ba8597209563de38c009d59c5c3b6c07727c4 | 2ee949a4acaf752d1484ace8b4db4df1eef3efa9 | /ass4/server/Server.cpp | 140b097bc4f2d39c9f3b720bcad25b17f1bfecb9 | [] | no_license | afekaoh/Anomaly-Detector-AP1 | ade0f1fab782f79dcaa64b5eb14893ab953f049d | ebc2ac9f14145035d39e9db9e1026116d68986eb | refs/heads/master | 2023-04-07T00:32:31.978682 | 2021-04-17T19:19:00 | 2021-04-17T19:19:00 | 304,866,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | cpp | /*
* Author: Adam Shapira; 3160044809
*/
#include "Server.h"
#include <thread>
#include <netdb.h>
Server::Server(int port) noexcept(false): socket_fd(-1) {
// setting up the server socket
struct sockaddr_in serverAdress{};
socket_fd = socket(AF_INET, SOCK_STREAM, 0);
if (socket_fd < 0) {
throw ("socket\n");
}
... | [
"50743751+afekaoh@users.noreply.github.com"
] | 50743751+afekaoh@users.noreply.github.com |
92a22f7be396fe88e37e1364e85918126aa7e497 | 99441588c7d6159064d9ce2b94d3743a37f85d33 | /xsens_ros_mti_driver/lib/xspublic/xscontroller/xsscanner.h | 0dead4fe10b69c345aca79ae1a27df2b0e09da96 | [
"BSD-2-Clause"
] | permissive | YZT1997/robolab_project | 2786f8983c4b02040da316cdd2c8f9bb73e2dd4c | a7edb588d3145356566e9dcc37b03f7429bcb7d6 | refs/heads/master | 2023-09-02T21:28:01.280464 | 2021-10-14T02:06:35 | 2021-10-14T02:06:35 | 369,128,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,692 | h |
// Copyright (c) 2003-2021 Xsens Technologies B.V. or subsidiaries worldwide.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the ... | [
"yangzt_0943@163.com"
] | yangzt_0943@163.com |
a0b2162a30a468ca1cf81448e8cf23bc6918f69c | 872095f6ca1d7f252a1a3cb90ad73e84f01345a2 | /mediatek/proprietary/hardware/mtkcam/middleware/common/include/v3/utils/streaminfo/IStreamInfoSetControl.h | c9c9ec50e3fc219616abcf99783ba9e1564d49d3 | [] | no_license | colinovski/mt8163-vendor | 724c49a47e1fa64540efe210d26e72c883ee591d | 2006b5183be2fac6a82eff7d9ed09c2633acafcc | refs/heads/master | 2020-07-04T12:39:09.679221 | 2018-01-20T09:11:52 | 2018-01-20T09:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,078 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | [
"peishengguo@yydrobot.com"
] | peishengguo@yydrobot.com |
af61b662e334a89d8cf1a3998d9cfb5493379851 | 338f43cebbc5876dbb0fb97f2fae0cd4445ac956 | /c++程序设计作业11/concrete_subject3.h | 8bd39b68b9507e4ebe012b1dc17c3a86941d0003 | [] | no_license | LongJinhe-coder/cplusplus | 09fa92b53598d071bde28f9ad73b2f146395061c | 87e636b69c776cdae219fd0520eedede46021327 | refs/heads/master | 2020-09-22T01:49:18.064270 | 2020-08-02T08:28:51 | 2020-08-02T08:28:51 | 225,007,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #pragma once
#include"subject.h"
#include"concreteState3.h"
#include<string>
using std::string;
class concreteSubject3 :public subject {
public:
concreteSubject3(const string & name,const concreteState3 s=NULL) :subject(name) {}
state* getState() const {
return _state;
}
void setState(state *s) { _state = s;
}
}; | [
"[909642437@qq.com]"
] | [909642437@qq.com] |
b22e5480efddcbdfe3e8e9b75e9acf09b2a2e69a | a4fb3c4abaa5f774ae222dc7ede7f57cc1fb3b70 | /iOS/SMarket/Unity/Classes/Native/Il2CppCompilerCalculateTypeValues_3Table.cpp | 87c99bbc862c735b4dd7806d92aa0d23755e9bb2 | [] | no_license | vanessaaleung/SMarket | dbffe7a04f821f788fedda4e0f788e4e8cf95126 | fa139dc7d370824ad7a86fe902a474e6f1205731 | refs/heads/master | 2022-11-01T08:47:20.022983 | 2020-06-21T23:33:34 | 2020-06-21T23:33:34 | 205,718,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333,146 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"leungkachiiiii@gmail.com"
] | leungkachiiiii@gmail.com |
98c52b8e605ccf1d5c4173847ef2fec5f804ea0e | ab2c6c1488074011d42a144e5c68fa8c6ad43bcf | /cforces/631B.cc | e33d3f1c371ef1e531517d562441ceb806859a96 | [] | no_license | mtszkw/contests | 491883aa9f596e6dbd213049baee3a5c58d4a492 | 5b66d26be114fe12e5c1bc102ae4c3bafbc764e9 | refs/heads/master | 2021-07-09T07:55:05.221632 | 2017-10-08T20:11:24 | 2017-10-08T20:11:24 | 101,620,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cc | #include <bits/stdc++.h>
using namespace std;
#define iosync ios_base::sync_with_stdio(0)
struct Cell {
int layer, colour;
Cell() { layer=0; colour=0; }
};
int main() {
iosync;
Cell rows[5001], cols[5001];
int n, m, queries, q_type, q_cells, q_colour;
cin >> n >> m >> queries;
for(int query=1; query<=queries... | [
"kwasniak.mateusz@gmail.com"
] | kwasniak.mateusz@gmail.com |
20ffccd87e36baed4935962d63866943700ddcf8 | de6128d5e4221677aef571a876df8b53a08b5cd3 | /windows/pp/04-trianglePerspective/trianglePerspective.cpp | 620e9a404096f3956e64936e2794e6bee7035bd0 | [] | no_license | ssijonson/realTimeRendering | 2d97fa7a20d94aae460a8496283247c1c5ad962f | d0a37138dbf8a618976ac292ee35e67382499601 | refs/heads/master | 2023-03-16T19:48:29.889647 | 2018-10-16T19:35:58 | 2018-10-16T19:35:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,885 | cpp | #include <windows.h>
#include <stdio.h>
#include <gl/glew.h>
#include <gl/gl.h>
#include "resources/resource.h"
#include "vmath.h"
HWND hWnd = NULL;
HDC hdc = NULL;
HGLRC hrc = NULL;
DWORD dwStyle;
WINDOWPLACEMENT wpPrev = { sizeof(WINDOWPLACEMENT) };
RECT windowRect = {0, 0, 800, 600};
bool isFullscreen = false;
b... | [
"projectchetan07@gmail.com"
] | projectchetan07@gmail.com |
31445175d9276ad79aa652d8b9470ea07bea8e5a | d1166bb82217de1cd9a6d3d26db0a5c9943ba443 | /src/main.cpp | ada71638bc0ff8c86767ec4db85b0e6cc6460b93 | [] | no_license | Kuba-Wi/Szablon-uklad-rownan | 9da48770ea2fb91ecc4be6fbbc2bf4192a9e9db7 | 89b7dd011203bcac9ae25a3859068c1dfb633983 | refs/heads/master | 2022-06-08T03:29:16.535588 | 2020-05-07T17:49:35 | 2020-05-07T17:49:35 | 257,581,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <iostream>
#include "SWektor.hh"
#include "SMacierz.hh"
#include "SUkladRownanLiniowych.hh"
#include "LZespolona.hh"
#include "rozmiar.h"
using namespace std;
template<typename Typ, int Rozmiar>
void uklad_rownan() {
SMacierz<Typ, Rozmiar> A;
SWektor<Typ, Rozmiar> b;
SWektor<Typ, Rozmiar> Wynik;
... | [
"winczukjakub@gmail.com"
] | winczukjakub@gmail.com |
c316695368aabf5ebe7eec5b137c151a49550ee7 | 3fa1397b95e38fb04dac5e009d70c292deff09a9 | /BaiTap_KTLT_0081_08/BaiTap_KTLT_0081_08.h | 80b2683e901394a1f07d4d2ff0e94c38d03804d0 | [] | no_license | nguyennhattruong96/BiboTraining_BaiTap_KTLT_Thay_NTTMKhang | 61b396de5dc88cdad0021036c7db332eec26b5f3 | 1cac487672de9d3c881a8afdc410434a5042c128 | refs/heads/master | 2021-01-16T18:47:05.754323 | 2017-10-13T11:15:01 | 2017-10-13T11:15:01 | 100,113,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | #ifndef __BaiTap_KTLT_0081_08_H__
#define __BaiTap_KTLT_0081_08_H__
#include <iostream>
#include <string>
using namespace std;
#pragma once
int Input(string sMessage);
void Sum(int x);
#endif // !__BaiTap_KTLT_0081_08_H__
| [
"nguyennhattruong96@outlook.com.vn"
] | nguyennhattruong96@outlook.com.vn |
dadf9d3cdde723a05b32aebbb5e4e148cdbebfd7 | 974389431527e451ce83049b11cd3dc42780108d | /phase_1/example/montague/variants/unpatched/src/mtl.cpp | 99edd1ad9d1482002978e8a61e24b534e807af86 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | cromulencellc/chess-aces | 21d8e70c8d9853a922ca0c90ffdd2c79ba390fb0 | 8ea5b0d75ddbf45fd74a7b8c5ca03fc4955eba8b | refs/heads/main | 2023-05-24T01:13:07.917910 | 2022-11-02T00:56:52 | 2022-11-02T00:56:52 | 351,277,450 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | cpp | #include "logger.hpp"
#include "mtl.hpp"
using namespace mtl;
using hpt = std::shared_ptr<context::Hash>;
using spt = std::shared_ptr<context::Scalar>;
hpt hhh() { return std::make_shared<context::Hash>(); }
spt sss(std::string v) { return std::make_shared<context::Scalar>(v); }
std::shared_ptr<Context> mtl::make_conte... | [
"bk@cromulence.com"
] | bk@cromulence.com |
966e150cb7e7551bb5c655dd5159784d1b9da6b4 | fb6d70a911d49440a056019acccd0434e7779eea | /Shake_Engine/src/Platform/OpenGL/OpenGLShader.cpp | 8c566eb1d9eb470f2086ee5703202bc5b95c9486 | [] | no_license | PizzaCutter/Shake_Engine_CPP | b29b566df369fa4eaad3cdbe08da916ff50caef1 | 9d479fd9ec600e4b271489c82ae4dd38b1666a34 | refs/heads/master | 2022-12-25T10:58:05.192374 | 2020-10-11T11:47:57 | 2020-10-11T11:47:57 | 268,881,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,809 | cpp | #include "sepch.h"
#include "OpenGLShader.h"
#include <fstream>
#include <vector>
#include "glad/glad.h"
#include "glm/gtc/type_ptr.hpp"
namespace Shake
{
OpenGLShader::OpenGLShader(const SString& filePath)
{
const SString fileAsString = ReadFile(filePath);
const std::unordered_map<GLenum, S... | [
"robin.smekens.930@gmail.com"
] | robin.smekens.930@gmail.com |
ef5aa19bb57b0e99c1ca8291579368778456229f | 7a0cf4e53c690f092c94f4c711919d70f0c03630 | /src/armed/DocumentContainer.cpp | bf4e71fbad89ccccda5d93b29764d3f09231132e | [
"MIT"
] | permissive | retrodump/wme | d4d6718eabd285bc59473c0911055d83e8a9052d | 54cf8905091736aef0a35fe6d3e05b818441f3c8 | refs/heads/master | 2021-09-21T02:19:06.317073 | 2012-07-08T16:09:56 | 2012-07-08T16:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,605 | cpp | // This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
#include "StdAfx.h"
#include "DocumentContainer.h"
#include "MainWindow.h"
#include "Navigator.h"
#include "PropWindow.h"
#include "WmeWidget.h"
#include "DocumentView.h"
#include "ActionM... | [
"Jan Nedoma@JNML.cust.nbox.cz"
] | Jan Nedoma@JNML.cust.nbox.cz |
1371fd5fade49f3fec4110fc543dc977595fca2e | 55ea2dcfa28691a058bf6e9b40dabc4cc7b895a8 | /library/tree/treeCentroidDecompositionSolverDivideAndConquer_XorDistance.h | 494ab63784741923bacccf8b4f6bc40aaf660257 | [
"Unlicense"
] | permissive | yoonki-song/algorithm_study | 02dba9904dec9b15b0cf78440d0b3add93da2380 | ff98b083f8b4468afabc7dfe0a415c6e7c556f93 | refs/heads/master | 2023-02-06T11:55:16.945032 | 2020-12-15T13:33:12 | 2020-12-15T13:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,516 | h | #pragma once
// https://www.codechef.com/problems/MOVCOIN2
struct TreeCentroidDecompositionSolverDivideAndConquer_XorDistance {
struct BitSetSimple64 {
static int ctz(unsigned long long x) {
#if defined(_M_X64)
return int(_tzcnt_u64(x));
#elif defined(__GNUC__)
return __builtin_ctz... | [
"youngman.ro@gmail.com"
] | youngman.ro@gmail.com |
954499c20a5c34e0e24febfebb2dbe1109dc9452 | 0bc4186fee113a3c9e740f47a82ddb79b8dbe7ad | /Weekly Assignments/Week3/Angry Birds Progress/src/SlingShot.h | fd68aa7b648be6046283300b32f15df8bfdd1c6c | [] | no_license | uhhgoat/AngryBirdsPrototype | 8080db3f2115eff777c9a93b81c13c47dc9934ba | 4c7ba585386da70a0fe3f6f2ceb9589828f5e184 | refs/heads/master | 2020-12-28T14:41:41.463088 | 2020-02-05T05:33:51 | 2020-02-05T05:33:51 | 238,374,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #pragma once
#include "Includes.h"
class SlingShot : public MultiFixtureObject
{
private:
GameObject2D * slingRight;
GameObject2D* slingLeft;
public:
SlingShot(float x, float y, float rot, b2World &world, bool showDebugShape = false);
~SlingShot() = default;
void Update();
void UpdateRubber(GameObject2D* go);
}; | [
"matyas@fenyves.net"
] | matyas@fenyves.net |
5318b72a7012b3aa62d5bf03ab56cefc6fa61b10 | 475e044ac657779d4a76f83ec7f7b6a73c589f2b | /level.h | 5e100c093d3a25877362b75e19e1de5473c06aab | [] | no_license | 1nikhil9/mage | 6d87a93a7f616037b67073abcdad650f3b5711b2 | a429a3cd93dd82c05281d142e2c29741305519d1 | refs/heads/master | 2021-01-19T00:52:40.005918 | 2020-09-21T04:44:01 | 2020-09-21T04:44:01 | 73,276,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | #ifndef LEVEL_H
#define LEVEL_H
#include <vector>
#include <glad/glad.h>
#include <glm/glm.hpp>
#include "entity.h"
#include "sprite_renderer.h"
#include "resource_manager.h"
class Level
{
public:
std::vector<Entity> Destructible, Enchanted;
GLuint Cleared, Remaining, Tries;
Level() { }
void Load(... | [
"1nikhil9@gmail.com"
] | 1nikhil9@gmail.com |
f472ce617416b8873ec71429471dfc93d4070f24 | 94d91fcfdc8e8726dd1014d55b72a14b7b641413 | /Sensitivity Study/AA10 LP-102 PIE1/headers/Model.h | 6168815982c1f8dd009a6c6dfecc510ca5bd76ed | [] | no_license | nicriz/dose-model-root | aeb510800d27e4bafc6215dfcfa6dd197f561daa | 3e6f986a1b23ac21106bf801840776dfa263a3c3 | refs/heads/master | 2022-03-22T17:06:32.665394 | 2019-12-02T10:07:10 | 2019-12-02T10:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | #ifndef MODEL_H
#define MODEL_H
#include "Dispersion.h"
#include <vector>
class Model{
public:
Model( vector<double> , bool = false);
double getFinal_dose();
private:
vector<double> par;
double final_dose;
};
#endif
| [
"nrizzi95@gmail.com"
] | nrizzi95@gmail.com |
4fd9bc30e2d78da208beae2b50985800a5a6f86f | 6ac8f056ab6efaf854b8d7798e6a44e07b061dcc | /CvGameCoreDLL/CvTacticalAnalysisMap.cpp | 6f73898c1f9e8b1b11728695393eb4e951076d5d | [] | no_license | DelnarErsike/Civ5-Artificial-Unintelligence-DLL | b8587deb33735c38104aa0d7b9f38b2f57a3db32 | 1add515c01838e743e94c1c1c0cb1cfbe569e097 | refs/heads/master | 2020-06-04T23:05:06.522287 | 2015-01-09T06:53:57 | 2015-01-09T06:53:57 | 25,795,041 | 25 | 10 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 35,208 | cpp | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"delnar.ersike@gmail.com"
] | delnar.ersike@gmail.com |
c49d8af418d00a8bb71ba1ac7703af326aa98e3b | 74b5d3fa626c83846a5d2890671859bcbe9c3947 | /MathWiz/source/Bootloader.cxx | e11d32edc957ad8faa5a63d52de29556050a39aa | [] | no_license | yash101/MathWiz | fc4181f72cd9680cc1b24643b0e5bd26ac2988fa | 0ad35166c7043f6410be7942058e5caa4837a103 | refs/heads/master | 2021-01-10T21:11:58.746629 | 2015-04-30T03:45:56 | 2015-04-30T03:45:56 | 25,278,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cxx | #include "../include/Bootloader.hxx"
void boot::generate_file_list()
{
if(!ramfs::stat_file(FILECACHE_LOCATION))
{
if(DETAILED_DEBUG)
{
std::cout << "Warning: Unable to stat filecache.dat!" << std::endl;
}
}
std::stringstream str;
str << ramfs::read_file(FILECACH... | [
"dlodha@pvlearners.net"
] | dlodha@pvlearners.net |
3afdd21aab3c52577df1163a5807da47421e48fd | bd3013a1d6612a5e11ee75db70d65b394d87bbf0 | /src/ukf.cpp | 5f7b2db4fd109917d4221251f4b2f47abeaaa04d | [
"MIT"
] | permissive | jtwolak/CarND-Unscented-Kalman-Filter | 9fac3e1dec49365ea391b5b48a980401e2209e5a | 2bb63b3bc69bbe78ca4bdf705680eb8bb2d4ddc9 | refs/heads/master | 2020-03-25T19:12:56.369976 | 2018-08-08T21:57:25 | 2018-08-08T21:57:25 | 144,070,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,620 | cpp | #include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
// if this is false, laser measurements will be ignored (except during i... | [
"jtwolak@yahoo.com"
] | jtwolak@yahoo.com |
72bb61e96126f9beffb90b0dd14fcbff5d30e6d3 | 3fa73b42bbac046eece9ce395eefd0a6d0c02779 | /HackerRank/cpp/stl/vector-sort/main.cpp | c0cb8c32aae60115f7688b34069d29d9df66c58f | [] | no_license | edwinkepler/beats-and-pieces | 6589387e881a1ac38fb908d5256bcf9e03b0e9e1 | 1649e569f51901b74f7f49e7e3288ef84b8879a8 | refs/heads/master | 2021-01-15T10:58:09.156069 | 2018-07-23T17:22:00 | 2018-07-23T17:22:00 | 99,605,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int size;
vector<int> v;
cin >> size;
for(int i = 0; i < size; i++) {
int number;
cin >> number;
v.push_back(number);
}
sort(v.begin(), ... | [
"edwinkepler@protonmail.com"
] | edwinkepler@protonmail.com |
5416d43407c85209f8215aa4933637db22abbc3e | 9ff35738af78a2a93741f33eeb639d22db461c5f | /.build/Android-Debug/include/app/Experimental.Http.Internal.DateUtil.h | 0f79fe8e211c7fcde3d8be9b61439e0216e70bac | [] | no_license | shingyho4/FuseProject-Minerals | aca37fbeb733974c1f97b1b0c954f4f660399154 | 643b15996e0fa540efca271b1d56cfd8736e7456 | refs/heads/master | 2016-09-06T11:19:06.904784 | 2015-06-15T09:28:09 | 2015-06-15T09:28:09 | 37,452,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | // This file was generated based on 'C:\ProgramData\Uno\Packages\Experimental.Http\0.1.0\Internal\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_EXPERIMENTAL_HTTP_INTERNAL_DATE_UTIL_H__
#define __APP_EXPERIMENTAL_HTTP_INTERNAL_DATE_UTIL_H__
#include <Uno/Uno.h>
namespace app ... | [
"hyl.hsy@gmail.com"
] | hyl.hsy@gmail.com |
6cfea740f4c51474f6f11f08413e3699aa90b916 | b8d457b9ce160911e6eba460e69c72d9d31ed260 | /ArxRle/Snoop/ArxRleUiTdmIdMap.cpp | 3c536bb8e70b4beb45d0c0c0e0589ba2084ff5e5 | [] | no_license | inbei/AutoDesk-ArxRle-2018 | b91659a34a73727987513356bfcd1bff9fe09ee3 | 3c8d4a34f586467685c0f9bce7c3693233e43308 | refs/heads/master | 2023-01-19T08:27:38.231533 | 2020-11-25T00:52:13 | 2020-11-25T00:52:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,789 | cpp | //
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies th... | [
"fb19801101@126.com"
] | fb19801101@126.com |
227820ffb8de0967fa1d187ff9f3803907b8abcb | ec8ad01c26cdb5218ad70e8c73d139856b4753b7 | /include/raptor-lite/utils/status.h | e1e745a6d20875704a55ab644692f51297b4e4d2 | [
"Apache-2.0"
] | permissive | shadow-yuan/raptor-lite | 6458a78bdcdec7ed4eaaba0629c496e21d75e47d | b5e3c558b8ff4657ecdf298ff7ffe39ff5be7822 | refs/heads/master | 2023-03-26T21:38:57.092999 | 2021-03-23T02:32:26 | 2021-03-23T02:32:26 | 333,269,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,010 | h | /*
*
* Copyright (c) 2020 The Raptor 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 requ... | [
"1092421495@qq.com"
] | 1092421495@qq.com |
eb4ecd85060a960bb03d9da036655e9bba307904 | 387549ab27d89668e656771a19c09637612d57ed | /DRGLib UE project/Source/FSDEngine/Private/CSGSDFInstanceComponent.cpp | 03f7c9f27d92d98ea9b85001bcb3c91bf8b130c9 | [
"MIT"
] | permissive | SamsDRGMods/DRGLib | 3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a | 76f17bc76dd376f0d0aa09400ac8cb4daad34ade | refs/heads/main | 2023-07-03T10:37:47.196444 | 2023-04-07T23:18:54 | 2023-04-07T23:18:54 | 383,509,787 | 16 | 5 | MIT | 2023-04-07T23:18:55 | 2021-07-06T15:08:14 | C++ | UTF-8 | C++ | false | false | 96 | cpp | #include "CSGSDFInstanceComponent.h"
UCSGSDFInstanceComponent::UCSGSDFInstanceComponent() {
}
| [
"samamstar@gmail.com"
] | samamstar@gmail.com |
1db9dae1185e687c5d1dc4815d0036a21c2a8785 | c8d8d5335803d36549cafd55bb7c691e0bcf51fb | /2do-cuatrimestre/ejercicios/archivos-binarios/ej1/ej1/main.cpp | 2a56dab6701e962015df4b2c84d08fbc6033c907 | [] | no_license | NicoAcosta/utn-ayed | fb7b7f9a065b37b40fac543f3cc2d09ac9362917 | d38dc7e64e4e8aed837dfdd4e191f950b8b4c925 | refs/heads/main | 2023-02-19T01:03:01.808002 | 2021-01-19T22:24:08 | 2021-01-19T22:24:08 | 306,265,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
FILE *f;
int nVal;
float val;
f = fopen("archivo1.jaja", "wb");
if (f) {
cout << "Ingrese cantidad de valores: " << endl;
cin >> nVal;
for (int i = ... | [
"nicacosta@est.frba.utn.edu.ar"
] | nicacosta@est.frba.utn.edu.ar |
33e556bff44b58bff3d3234e3f16c57b13dd1d7d | ba3abe659d1939b7425693f1c59c34e193987973 | /src/applicationui.cpp | 32bd356dca303ce8d0dddd5d1a63a87f299be0d0 | [] | no_license | rileyBloomfield/Pokedex | 8ad284ea0c78dcb76f6bfff986f979580327f2fe | 10f48129d59358e03d5fefc447c9ed1519d141f2 | refs/heads/master | 2016-09-06T15:33:09.293066 | 2014-09-21T17:52:30 | 2014-09-21T17:52:30 | 24,298,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,131 | cpp | #include "applicationui.h"
#include <bb/cascades/Application>
#include <bb/cascades/QmlDocument>
#include <bb/cascades/AbstractPane>
#include <bb/cascades/DropDown>
#include <bb/cascades/RadioGroup>
#include <bb/cascades/Label>
#include <bb/cascades/ListView>
#include <iostream>
#include "pokemonlist.h"
... | [
"riley.bloomfield@gmail.com"
] | riley.bloomfield@gmail.com |
d32158b890cdd74768e12d5a020fa14339133169 | ea91bffc446ca53e5942a571c2f7090310376c9d | /src/utils/Compression.cpp | a1b5333e8680303f4e6bc3b3bac85e42749d1712 | [] | no_license | macro-l/polarphp | f7b1dc4b609f1aae23b4618fc1176b8c26531722 | f6608c4dc26add94e61684ed0edd3d5c7e86e768 | refs/heads/master | 2022-07-21T23:37:02.237733 | 2019-08-15T10:32:06 | 2019-08-15T10:32:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | cpp | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2019 polarphp software foundation
// Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
5ca440bb1f1b765d6a90d0a8743a60c14e240e60 | 5cd42fee97a2aa76f9d1ab1d1e69739efaff4257 | /2.4.1/c.h | efdc6f60432d59249bb2d841bf824e2be5a1ddd0 | [] | no_license | dgholz/dragon | f8c6dc7827639c4559f0c6be1ca1c23756cd69c3 | 2ccca119565a12f15f220cb284d98810b93add31 | refs/heads/master | 2021-01-19T06:10:57.820804 | 2014-11-04T07:27:22 | 2014-11-04T07:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | #ifndef C_H
#define C_H
#include "icharstream.h"
struct c {
c(icharstream& ics) : _ics(ics) {};
void S();
void operator() () { S(); };
private:
c();
icharstream _ics;
};
#endif
| [
"dgholz@gmail.com"
] | dgholz@gmail.com |
1b5a61b940db274e64dfcb2524ffd992c34470c8 | 3b69a62bebfa385549dd245e85a32ca64be35288 | /src/pipe_linux.cpp | 51705bb4d4f2eeec30bd22f1f26f70e51d5e01ee | [
"BSD-2-Clause"
] | permissive | ricky26/netlib | 29c045c78da48e153ce330f19d61d323cd924e93 | f4d86475220ae32f0ab25e83fb8dc004f5f1af60 | refs/heads/master | 2016-09-06T06:52:00.990375 | 2012-10-19T20:21:43 | 2012-10-19T20:21:43 | 4,078,861 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,413 | cpp | #include "netlib/pipe.h"
#include "netlib/socket.h"
#include "netlib_linux.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <iostream>
#include <cstring>
namespace netlib
{
//
// pipe_internal
//
struct pipe_internal: public ref_counted
{
int fd;
aio_struct ... | [
"rickytaylor26@gmail.com"
] | rickytaylor26@gmail.com |
ed91dc9743fd6060b9aa112070f571b4c4f0569b | 8ec65a759d3efc75fe770cb380427c2e496c8581 | /common.hpp | f4994bafbf7791f65b16738d50b82ba8439f9e2a | [] | no_license | kamindustries/branchbits | c769343ed8a0d322cb94b27b4b5d617ac0d3a948 | 19499181cb3f36d149f03b580d56d5db55796dec | refs/heads/master | 2021-01-22T14:46:54.806290 | 2016-02-02T05:59:38 | 2016-02-02T05:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | hpp | #pragma once
#include "allocore/io/al_App.hpp"
using namespace al;
using namespace std;
// #define LEAF_COUNT 2200 // number of leaves
#define LEAF_COUNT 6000 // number of leaves
#define STEPS 30 // number of iterations
#define NUM_VTX 200000 // max number of verts in tree mesh
#define MAX_LEAVES 2... | [
"younkeehong@gmail.com"
] | younkeehong@gmail.com |
32a03cc2ce0efbcbbc3cf81b0de3446d46aa2c92 | d786675f274b98fd3fbf88e90748f50967374fce | /RayTracer/Disk.cpp | b61c08a3a3a28bbbb2ee0ec754a463d9e3f05ebc | [] | no_license | sufian-latif/raytracer | e9235b8ad625c73fba87783e8c6dee9de77195b6 | 5e18c78acfc50e06eb2cdf9940fa1a9f382d718f | refs/heads/master | 2021-05-30T19:19:28.804462 | 2014-03-07T20:05:11 | 2014-03-07T20:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | //
// Disk.cpp
// RayTracing
//
// Created by Sufian Latif on 1/24/14.
//
//
#include "Disk.h"
Disk::Disk(Vector c, Vector normal, double r) : Plane(c, normal)
{
radius = r;
}
double Disk::getIntersection(Ray ray)
{
double t = Plane::getIntersection(ray);
Vector p = ray.origin + t * ray.dir;
retur... | [
"sufianlatif@Sufians-Macbook-Pro.local"
] | sufianlatif@Sufians-Macbook-Pro.local |
3438d324de2cf33a2337ce2d6bf4917116c10859 | 190e25c81214b329a131ecf4df7bf1d54c455466 | /src/serversocketutil.cc | 1d18ff98055f30d3ef2c2687c1741ccd21bac4fc | [
"MIT"
] | permissive | connectiblutz/bcLib | a5fa1c0da063f6616a76aef42445318386275003 | 2227677b165809940d51977c34e4745f64217c6a | refs/heads/main | 2022-11-26T01:44:51.695266 | 2020-07-03T15:47:48 | 2020-07-03T15:47:48 | 273,704,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | cc | #include "bcl/serversocketutil.h"
#include "bcl/logutil.h"
#include "bcl/stringutil.h"
#ifdef _WIN32
#include "winsock2.h"
#include "ws2tcpip.h"
#else
#include <arpa/inet.h>
#include <unistd.h>
#define closesocket ::close
#endif
namespace bcl {
#ifdef _WIN32
#define inet_pton InetPtonA
ServerSocket::WSAInit::WSAInit(... | [
"blutz@connectify.me"
] | blutz@connectify.me |
21c5f0f1ca564d82ce26119de16608d0c659dee8 | acf95a387c72d857bfd4a34f1d3d3a3da7ad1c60 | /src/decoder/fec.h | 1b4e1f76613121fcc5a96052bf99cee004dc52a8 | [] | no_license | chemeris/wimax-scanner | dbe88d62dd2cdb4878abcd3afe10ce649784ec46 | 4511153da9b6d3293f79a4f02e9e43cd02d3d030 | refs/heads/master | 2021-01-25T00:16:08.989294 | 2012-04-13T18:34:52 | 2012-04-13T18:34:52 | 32,218,510 | 4 | 3 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 7,876 | h | /****************************************************************************/
/*! \file fec.h
\brief FEC decoder
\author Iliya Voronov, iliya.voronov@gmail.com
\version 0.1
FEC decoder of convolutional code, convolutional turbo code, LDPC code etc.
implements IEEE Std 802.16-2009, 8.4.9.2 Encoding
*... | [
"iliya.voronov@gmail.com"
] | iliya.voronov@gmail.com |
a17995455d7c644d5553fabc2ccc1843aab2f074 | 397f89a526c77c5e565e428076ec3c268e8e815d | /bildmischer/src/testApp.h | 9272fb76bfc8c954ff702fde0df690d152e783d3 | [] | no_license | fiezi/hfsTools | 1b05ccee8cd3c8c9eb676ad196f0c66a4bbe9560 | 497797a66566c53161f63101e82d160f2a77896b | refs/heads/master | 2021-01-23T03:53:31.845493 | 2014-05-11T01:42:21 | 2014-05-11T01:42:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | h | #ifndef _TEST_APP
#define _TEST_APP
#include "ofxOpenCv.h"
#include "ofMain.h"
#include "msbOFCore.h"
#include "actor.h"
#include "basicButton.h"
#include "textInputButton.h"
#include "assignButton.h"
#include "sliderButton.h"
#define SCREENRESX 1366+1280
#define SCREENRESY 768
struct actorID;
struct memberID;
... | [
"friedrich@moviesandbox.net"
] | friedrich@moviesandbox.net |
5ac4765777c778525e8754681c0bc9efb57fc931 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/WebCore/svg/SVGEllipseElement.h | a3c8e435a6ba60b7415c317bfc73c81d368ceefb | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 2,300 | h | /*
* Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Fou... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
e2c02fe03755ac463b5257b979b3702d7336ae24 | d14ffa7a58ac5f6661ba8dc9503ed7340aad017f | /jetpack/src/codegen/NodeTraverser.h | ebfd48c2b52dc6d9ecf1c8afd5a1ec4b00385dd8 | [
"MIT"
] | permissive | prpr2012/jetpack.js | 59e4dd510f743d3a100b27b4ad0b514bd63217d4 | 3ec5fdf9e423539ec57217753735423e5ac23666 | refs/heads/master | 2023-09-02T17:56:40.316795 | 2021-11-23T02:46:24 | 2021-11-23T02:48:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,333 | h | /* Generated by Ruby Script! */
#pragma once
#include "parser/SyntaxNodes.h"
namespace jetpack {
class NodeTraverser {
public:
NodeTraverser() = default;
void TraverseNode(SyntaxNode& node);
virtual void Traverse(ArrayExpression& node) {}
virtual void Traverse(ArrayPatter... | [
"okcdz@diverse.space"
] | okcdz@diverse.space |
3553222a4ae49a1232cc82c9881d5029f22f9f51 | 0d9f235cf7f4829214d9379711381e5de2db216f | /src/map.h | 41ad06311cb095f4e7d829f3dfe944bbba2c74ad | [] | no_license | bentglasstube/ld35 | c27d179c87a9ba792ec3f3ac8042af0e94e4132b | a41648a46ec631feca5a2af824e505c1f6488ba7 | refs/heads/master | 2016-09-14T04:30:38.758580 | 2016-05-03T14:23:36 | 2016-05-03T14:23:36 | 56,364,447 | 0 | 1 | null | 2016-04-24T15:51:59 | 2016-04-16T03:53:32 | C++ | UTF-8 | C++ | false | false | 1,227 | h | #pragma once
#include <memory>
#include <vector>
#include "graphics.h"
#include "rect.h"
#include "sign.h"
#include "spritemap.h"
#include "text.h"
class Map {
public:
struct Tile {
char c;
bool obstruction;
float friction;
float top, left, right, bottom;
};
Map();
void l... | [
"alan@eatabrick.org"
] | alan@eatabrick.org |
48fef59eafa0f95c149b4f60025dc9b6301f898c | dc0208a9963e2bb76517b92b1f35029f07c249e0 | /Model code/bfs_nhp.cpp | f2466be315f1c0db5b45be1cce228ae77bbbc971 | [] | no_license | basvanopheusden/fourinarow | fc39ff1e921a63c0a109519f9b26161e179578bc | d276900ccee7890e9195db592b7fef7c1d39ae54 | refs/heads/master | 2023-01-11T13:30:52.542395 | 2023-01-02T16:13:15 | 2023-01-02T16:13:15 | 242,221,537 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include "bfs_nhp.h"
#define BLACK_WINS 4*BOARD_WIDTH
#define WHITE_WINS -4*BOARD_WIDTH
#define DRAW 0
using namespace bfs;
nhp_node::nhp_node(board bstart,double v,bool p,int d){
b=bstart;
depth=d;
player=p;
child=NULL;
parent=NULL;
best=NULL;
Nchildren=0;
iteration=-1;
m=0;
if... | [
"svo@PSY-19BY1941A6.pu.win.princeton.edu"
] | svo@PSY-19BY1941A6.pu.win.princeton.edu |
d9e9e827a4164e2d5ac805a228fbb34717f417f7 | ab10d257aa2bbdbced58fded27cb0acb694376e5 | /Personal projects/p009.cpp | 5dc6927248961cf32e1ca5bb9fa5b88c5fa5fdb5 | [] | no_license | DuniPls/DanielCastello | 1d8d9d96f5bb7c1c926b43d8e29e08935a463d1b | 8dec02041b9e545a22568773f48eea681504e1d9 | refs/heads/master | 2021-01-24T13:19:11.723621 | 2019-09-12T17:07:51 | 2019-09-12T17:07:51 | 123,167,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"dcastello@enti.cat"
] | dcastello@enti.cat |
f64cdb2666d36bc5c66c0b49618c49907c1d6d49 | f32b14aeac2969ac99ea65703d5b98ebd0a4684f | /mihttp/timewrap.h | caa17e7743fd04683f14f7ac36e3d06ccd63674d | [] | no_license | Justxu/micode | 64dfe6c3b5313c1406c3f766643805b784f2010f | 4dd761c231ff37a8020ca32195749f036eb5e53b | refs/heads/master | 2020-04-01T08:09:12.690137 | 2014-12-30T08:57:49 | 2014-12-30T08:57:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | h | #pragma once
#include <sys/types.h>
#include <time.h>
#include <sys/time.h>
#include "safe_time.h"
class timee
{
// _msecs:
timeval _tv;
public:
timee() { _tv.tv_sec = 0; _tv.tv_usec = 0; }
timee &operator=(const timee &rhs) { _tv = rhs._tv; }
long long operator -(const timee &rhs)
{
return (_tv.tv_sec - rhs.... | [
"wanfei@localhost.localdomain"
] | wanfei@localhost.localdomain |
ac55be0fcd43d049f628e05dbf448e2dbc7c6a05 | 41b4adb10cc86338d85db6636900168f55e7ff18 | /aws-cpp-sdk-config/source/model/Evaluation.cpp | 03a1e8c10dd92acb93f47448051508fb37a77b9d | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | totalkyos/AWS | 1c9ac30206ef6cf8ca38d2c3d1496fa9c15e5e80 | 7cb444814e938f3df59530ea4ebe8e19b9418793 | refs/heads/master | 2021-01-20T20:42:09.978428 | 2016-07-16T00:03:49 | 2016-07-16T00:03:49 | 63,465,708 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,073 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
1d9bfb169e1d7a53fb8dee47b5933e5c6deed3f3 | 70668b85b4946bb23e918db1b4a68a54910d9b36 | /codingblocks/Divid and Conquer/EKO.cpp | 556080f13aeb7f149f89ff32fee31e475a9886d4 | [] | no_license | Ishaan29/fuzzy-chainsaw-algo | 397e9feddca2a25902081a9d9316923c151779f1 | b4fa1f69721f5fe53745303879f9c8ff2c1a8e79 | refs/heads/master | 2021-06-25T00:26:34.720087 | 2021-02-28T08:24:52 | 2021-02-28T08:24:52 | 201,107,127 | 3 | 0 | null | 2021-02-28T08:24:52 | 2019-08-07T18:34:25 | C++ | UTF-8 | C++ | false | false | 1,188 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define lli long long int
void c_p_c()
{
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("/Users/ishan/Desktop/fuzzy-chainsaw-algo/input.txt", "r", stdin);
freopen("/Users/ishan/Desktop/fuzzy-chainsaw-alg... | [
"bajpaiishan@yahoo.in"
] | bajpaiishan@yahoo.in |
b7273eb3f0b33b01339f584e15ad96a9e602b51f | e20907553af94eb08b4422ac876c5862c214954c | /2 knapsack/cpp/solvers/greedy.hpp | 3a3e4519ca30dc995f58ccf3419a8bf2afcd1a2c | [] | no_license | pooyad359/discrete-optim | 74756e9fe923698716e95f4e4c4cbb12e8a38e30 | cf848fde53951c651c12882ece3d1bb8146403bf | refs/heads/master | 2023-07-08T18:01:16.668841 | 2021-08-15T09:27:37 | 2021-08-15T09:27:37 | 297,077,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | hpp | #ifndef _GREEDY
#define _GREEDY
#include <vector>
#include <algorithm>
#include <iterator>
#include <string>
#include <sstream>
#include <iostream>
#include "../utils/utils.hpp"
#include <stdlib.h>
#include <random>
#include <ctime>
#include "../knapsack.hpp"
using std::cout;
using std::endl;
std::vector<bool> greedyS... | [
"pooya.darvehei@gmail.com"
] | pooya.darvehei@gmail.com |
a5c435919ca25cb1126785b5139d98899c9a9887 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /Advanced MFC Programming/Chap3/3.4/Spw/MainFrm.h | f418c5e7270ad63d67b2a36979303556fe9e97bb | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | #if !defined(AFX_MAINFRM_H__D3F202D6_FC3A_11D0_9C9A_444553540000__INCLUDED_)
#define AFX_MAINFRM_H__D3F202D6_FC3A_11D0_9C9A_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif
#include "SpWnd.h"
class CMainFrame : public CFrameWnd
{
protected:
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
protected:
M... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
705c8c74b2ed612dfc5b282dfdd813ef54b1094a | aac6dfe8cb2e289b85aa2bbed56a47b29da59738 | /src/SporadicServer.cpp | ca8ef2512504e0432fda4c1c5fe43342369295e3 | [
"BSD-4-Clause-UC"
] | permissive | saulopz/rtsim | dfc589d173ed3b0edcb03a1b17b05f184dbcbd7c | fe506cf6015db40daf7c63b9d03883b491c4fb06 | refs/heads/master | 2023-05-23T09:04:42.977258 | 2021-06-08T21:53:03 | 2021-06-08T21:53:03 | 375,132,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include "SporadicServer.h"
SporadicServer::SporadicServer()
{
ThState = IDLE;
TState = IDLE;
state = SUSPENDED;
BEGIN = 0;
END = 0;
tr = 0;
tf = -1;
te = 0;
tb = 0;
}
SporadicServer::~SporadicServer()
{
}
| [
"saulopz@gmail.com"
] | saulopz@gmail.com |
edc38ccb935f6ce1e7f9350d388514807583e65e | fce86a5cb364e3c46a8a8009b1bc4f3441038156 | /student.cpp | c6204a13fb4d66dd2a904e9d8b8b9250f13f8c21 | [] | no_license | chenqing-xin/studentObject | ff1cfd97b769a80f8f41ae5f7f6a7b7c0fd089b1 | 86d6dc99c024ac118a5d45c236e0faa5721e5ecb | refs/heads/master | 2023-05-22T19:14:46.958464 | 2021-06-02T16:11:15 | 2021-06-02T16:11:15 | 373,228,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #ifndef Student_H_
#define Student_H_
#include<string>
class Student
{
private :
String name;
int age;
int GPA;
public :
student();
Student(string n,int a,int G);
~Student();
string getName();
int getAge();
int getGPA();
}
| [
"1506322647@qq.com"
] | 1506322647@qq.com |
a03fa8627844de5c80f4b02aea05260c88fed54f | fd6ba461ff7746a5d152576930add08ebfcbb975 | /tests/ErrorTests.cc | f1ae1fbf41abc4a91ac286c518c1a3f1329807ec | [
"Zlib"
] | permissive | rbdl/rbdl | 658d3b07e420642dd9c9b1106daff24fd43e526f | cbd9371ce822eeea1f0a880d57f71a4c60bc9b8a | refs/heads/master | 2023-07-06T02:54:35.529726 | 2023-06-25T11:11:42 | 2023-06-25T11:11:42 | 208,891,294 | 449 | 141 | NOASSERTION | 2023-09-13T16:09:26 | 2019-09-16T20:24:46 | C++ | UTF-8 | C++ | false | false | 3,179 | cc | #include "rbdl/Logging.h"
#include "rbdl/rbdl_errors.h"
#include <iostream>
#include <exception>
#include "rbdl_tests.h"
using namespace RigidBodyDynamics::Errors;
// Test if each error type can be catched by Base Class
TEST_CASE ( __FILE__"_BaseClassCatch", "" )
{
//RBDLError
try {
throw RBDLError("Test RBD... | [
"judge@felixrichter.tech"
] | judge@felixrichter.tech |
02321d0a6256c2f555951d0c03842bdc5f02d85a | e0f583d286706699da99bc631a31e3f4f2078965 | /solutions/0773. Sliding Puzzle/0773.cpp | f079a0a0f87cfe05dc2b4a079c420c560c659029 | [] | no_license | T353007/LeetCode-1 | 4f002d1885358e8beec0c3d59a1549c4c9f0e06d | 026713cb8fa25f52851e1432cd71a5518504e3e0 | refs/heads/main | 2023-02-15T17:03:49.726291 | 2021-01-12T10:12:25 | 2021-01-12T10:12:25 | 328,920,320 | 0 | 0 | null | 2021-01-12T08:29:55 | 2021-01-12T08:29:55 | null | UTF-8 | C++ | false | false | 1,264 | cpp | class Solution {
public:
int slidingPuzzle(vector<vector<int>>& board) {
constexpr int m = 2;
constexpr int n = 3;
const vector<int> dirs{0, 1, 0, -1, 0};
const string goal = "123450";
int steps = 0;
string start;
// hash 2D vector to string
for (int i = 0; i < m; ++i)
for (in... | [
"walkccray@gmail.com"
] | walkccray@gmail.com |
5e812e8328b957ed1443d544b977bad1f58494da | 657b85a8e705b49c67a7cda9776beaa2e649f6a4 | /capter6/ex6.5.4/ex6.5.4/main.cpp | d153a323fdf3f591ec700f7b1c4323bb5525f985 | [] | no_license | longjiezhong/leaning_openCV3 | cce94604c692dbaf9c5202843653829337a1f75b | 906661ba1b7ef7cb30c4c2ca626de805ac893e2d | refs/heads/master | 2021-01-02T08:12:36.910312 | 2017-08-31T12:56:49 | 2017-08-31T12:56:49 | 98,952,364 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,071 | cpp | #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
using namespace cv;
using namespace std;
Mat g_srcImage, g_dstImage, g_grayImage, g_maskImage;
int g_nFillMode = 1;
int g_nLowDifference = 20, g_nUpDifference = 20;
int g_nConnectivity = 4;
int g_bIsColor = true;
bool g_... | [
"30586750+longjiezhong@users.noreply.github.com"
] | 30586750+longjiezhong@users.noreply.github.com |
0ea5fdd771e04fa0d24d8dee4e4d570f130e2667 | 0014fb5ce4aa3a6f460128bb646a3c3cfe81eb9e | /testdata/15/10/src/node7.cpp | 8d9a2e2f638fda566113954b7b7688ccbe109029 | [] | no_license | yps158/randomGraph | c1fa9c531b11bb935d112d1c9e510b5c02921df2 | 68f9e2e5b0bed1f04095642ee6924a68c0768f0c | refs/heads/master | 2021-09-05T05:32:45.210171 | 2018-01-24T11:23:06 | 2018-01-24T11:23:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,428 | cpp |
#include "ros/ros.h"
#include "std_msgs/String.h"
#include "unistd.h"
#include <sstream>
#include <random>
std::random_device rd;
std::mt19937 gen(rd());
std::normal_distribution<> d(0.028334, 0.005);
class Node7{
public:
Node7(){
sub_2_7_flag = 0;
sub_2_7 = n.subscribe("topic_2_7", 1,... | [
"sasaki@thinkingreed.co.jp"
] | sasaki@thinkingreed.co.jp |
805772a50fe73e2a29788c2b33618ccc4c4b2fb1 | a8dead89e139e09733d559175293a5d3b2aef56c | /external/include/ogremain/OgreRenderQueueSortingGrouping.h | 62c84abb1eff3924b9b65f7c7e3a8e35091622bb | [
"MIT"
] | permissive | riyanhax/Demi3D | 4f3a48e6d76462a998b1b08935b37d8019815474 | 73e684168bd39b894f448779d41fab600ba9b150 | refs/heads/master | 2021-12-04T06:24:26.642316 | 2015-01-29T22:06:00 | 2015-01-29T22:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,347 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | [
"demiwangya@gmail.com"
] | demiwangya@gmail.com |
4c75a64c9a7e1efe791b20d23c72c3981f5f78f6 | 0428c3b8086f12ebbc6de7967ee4437934e2146d | /device/src/tsc2046_interface.cpp | ed7ea5e343a462c7e1332980e4a6aa4fa133fcd1 | [] | no_license | cornway/stm32f4-dcmi-probe | e5cf112f83b09ea0d4af23660c12e78b101504e6 | 9cc677bdb092949d1212ec1fc831b7db3e485fbd | refs/heads/master | 2020-04-28T03:16:52.112141 | 2019-03-11T05:23:51 | 2019-03-11T05:23:51 | 174,930,315 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,530 | cpp | #include "tsc2046.h"
#include "main.h"
#include "gpio.h"
gpio::gpio_dsc tsc_busy_pin_dsc = {GPIOD, GPIO_PIN_3};
gpio::gpio_dsc tsc_pen_pin_dsc = {GPIOD, GPIO_PIN_2};
gpio::gpio_dsc tsc_sel_pin_dsc = {GPIOG, GPIO_PIN_15};
void tsc2046Drv::ll_init (bool it_ena)
{
__GPIOD_CLK_ENABLE();
__GPIOG_CLK... | [
"romanpustobayev@gmail.com"
] | romanpustobayev@gmail.com |
f045c87f6cb90bf1927b4fb8bc1098ed7edc851d | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Geometry/Grids_RLE_Interpolation_Collidable/LINEAR_INTERPOLATION_COLLIDABLE_CELL_RLE.h | 246f100b03147f88d06ac65cb8a4068a65ef6ae4 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 5,502 | h | //#####################################################################
// Copyright 2004-2005, Ron Fedkiw, Geoffrey Irving, Frank Losasso, Andrew Selle, Tamar Shinar.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//##############... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
d5abc0db8e03c630bea178123ab0013434141f2c | 98157b3124db71ca0ffe4e77060f25503aa7617f | /codechef/sept16/chmtdv.cpp | dd718764d7fa3d37f947ab499b4264c3684933dc | [] | no_license | wiwitrifai/competitive-programming | c4130004cd32ae857a7a1e8d670484e236073741 | f4b0044182f1d9280841c01e7eca4ad882875bca | refs/heads/master | 2022-10-24T05:31:46.176752 | 2022-09-02T07:08:05 | 2022-09-02T07:08:35 | 59,357,984 | 37 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,399 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 505;
const long long inf = 1e9 * N * N + 5;
int a[N][N], n, p;
int h[N], v[N], ansh[N], ansv[N];
long long ans;
long long sumh[N][N], sumv[N][N];
long long sum[N];
int main() {
ans = 1e17;
int t = 17;
scanf("%d %d", &n, &p);
p--;
for (int i = 0; ... | [
"wiwitrifai@gmail.com"
] | wiwitrifai@gmail.com |
85d9242ca1dcf96409fabdb2c8110d62fd786032 | 90d253b075c47054ab1d6bf6206f37e810330068 | /CALICO/2022_fall/3/3.cpp | a5b2dde8de7ea39a02e8b1aca015251f4123283f | [
"MIT"
] | permissive | eyangch/competitive-programming | 45684aa804cbcde1999010332627228ac1ac4ef8 | de9bb192c604a3dfbdd4c2757e478e7265516c9c | refs/heads/master | 2023-07-10T08:59:25.674500 | 2023-06-25T09:30:43 | 2023-06-25T09:30:43 | 178,763,969 | 22 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | #include <bits/stdc++.h>
#define endl '\n'
#define eat cin
#define moo cout
#define int long long
using namespace std;
int T, W, O, B, OW, BO, BW;
int cost(int x, int y, int a, int b){
return x * a + y * b;
}
int32_t main(){
eat.tie(0) -> sync_with_stdio(0);
eat >> T;
while(T--){
eat >> W >> O >> B >> OW >> B... | [
"eyangch@gmail.com"
] | eyangch@gmail.com |
cc46adbbddc0d30f0d9c0ac6541108aafee955fb | a6f42311df3830117e9590e446b105db78fdbd3a | /src/framework/gui/Window.hpp | 4386fce6b57184b359ba1899e1e22aac488d6762 | [] | no_license | wellsoftware/temporal-lightfield-reconstruction | a4009b9da01b93d6d77a4d0d6830c49e0d4e225f | 8d0988b5660ba0e53d65e887a51e220dcbc985ca | refs/heads/master | 2021-01-17T23:49:05.544012 | 2011-09-25T10:47:49 | 2011-09-25T10:47:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,902 | hpp | /*
* Copyright (c) 2009-2011, NVIDIA Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... | [
"jiawen@csail.mit.edu"
] | jiawen@csail.mit.edu |
31403548c56ba7ae4b56d75895189671d3844327 | 6526a8b50dd4914678ced85d01feb7223f59825a | /application/filesystem/linux-fs-wrapper/source/llist.cpp | 935c87352799a7cf7e4ccf0756819eb6822be07d | [] | no_license | jcyuan78/filesystem_model_checking | e43cde33ba50a85c15da09a93aa99a698bd663e3 | 3665701e652c7e174f319d8e20000298c980caec | refs/heads/master | 2023-04-09T12:35:38.000062 | 2023-03-19T04:46:05 | 2023-03-19T04:46:05 | 200,018,811 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,868 | cpp | ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "pch.h"
// SPDX-License-Identifier: GPL-2.0-only
/*
* Lock-less NULL terminated single linked list
*
* The basic atomic operation of this list is cmpxchg on long. On
* architectures tha... | [
"bytekiller1978@hotmail.com"
] | bytekiller1978@hotmail.com |
0e1125153b5c40b9fd4710301bdbcd6d9e9192a9 | bc6c37cf0469c6b2778707b76227558b3a040718 | /UVA/UVA-Q11413-Fill_the_Containers.cpp | 67b137e4fadbb2e6c2823a879f9dc47d9fa3bb0a | [] | no_license | zeroplusone/AlgorithmPractice | 241530a5c989f6321543f7bd07a393c405cdf2e6 | 7fe9182d943bc2066f7fd31cc05096be79dc12cb | refs/heads/master | 2022-01-28T21:57:04.393943 | 2022-01-26T13:46:43 | 2022-01-26T13:46:43 | 84,074,414 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include<iostream>
#include<cstdlib>
#include<cstdio>
using namespace std;
#define MAX 1010
long long int milk[MAX];
int n,m;
bool canbe(int num)
{
long long int sum=0;
int c=0;
for(int i=0;i<n;++i)
{
if(sum<=num)
sum+=milk[i];
else
{
sum=0;
c++;
}
}
if(c<=m)
return tr... | [
"a711186@gmail.com"
] | a711186@gmail.com |
ae0a07a12d5b477a2b6feb9f0dc2a56a8ea2fc18 | 986959b15d763745518085bdb5106daeb4e0b41d | /Volume - 4 (400 - 434)/419 - Middle Number(s).cpp | 963611096ff74fd426bebf739c3d0889a698aa91 | [] | no_license | Md-Sabbir-Ahmed/Outsbook | a19d314b481d5f2e57478c98b0fe50d08781310c | e3b2c54517de3badff96f96d99d1592db7286513 | refs/heads/master | 2022-11-07T06:43:37.955730 | 2020-06-26T20:32:03 | 2020-06-26T20:32:03 | 267,264,610 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long n;
while(cin>>n)
{
if(n%2==1)
{
cout<<(n/2)+1<<"\n";
}
else
{
cout<<(n/2)<<" "<<(n/2)+1<<"\n";
}
}
return 0;
}
| [
"sabbir106706@gmail.com"
] | sabbir106706@gmail.com |
54d1379e178a242636fd23d2a3a0419b5b00a2af | 20698f2460bc8a4d21442cc5d4eac8cca15c105a | /ElDorito/Source/Patches/Hf2pExperimental.cpp | 38c7bf183c8bbde557efa491181538a5b311ebe2 | [] | no_license | num0005/ElDorito | 957318d00dba4c92c2696256700f4acfe48481ec | 5c00f797b557dbe112472a20f236bbf5fcc16371 | refs/heads/master | 2020-12-02T08:09:35.602887 | 2017-07-08T19:52:56 | 2017-07-08T19:54:47 | 96,777,515 | 3 | 0 | null | 2017-07-10T12:56:59 | 2017-07-10T12:56:59 | null | UTF-8 | C++ | false | false | 7,094 | cpp | #pragma once
#include "Hf2pExperimental.hpp"
#include "../Blam/BlamInput.hpp"
#include "../Modules/ModuleSettings.hpp"
#include "../Modules/ModuleServer.hpp"
#include "../ElDorito.hpp"
#include "../Patches/Ui.hpp"
#include "../Patches/Core.hpp"
#include "../Patches/Armor.hpp"
#include "../Web/Ui/ScreenLayer.hpp"
#inclu... | [
"unk0x4@gmail.com"
] | unk0x4@gmail.com |
bd7fd36186b469d971926691f6e6e02c581cb4c6 | 584ca4da32b0e70a2702b5b16222d3d9475cd63a | /src/netfulfilledman.h | ada8bc07c78d28d517e5f9e0c30fc0a15060d869 | [
"MIT"
] | permissive | IluminumProject/iluminum | d87e14cbeb0873fc7b1e42968cb039ecf2b4e03d | 9685edf64161c66205c89ee72d711b0144733735 | refs/heads/master | 2020-03-10T08:55:36.095447 | 2018-04-21T15:56:18 | 2018-04-21T15:56:18 | 128,815,453 | 0 | 0 | MIT | 2018-04-12T07:00:53 | 2018-04-09T18:19:59 | C++ | UTF-8 | C++ | false | false | 1,536 | h | // Copyright (c) 2014-2017 The Iluminum Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef NETFULFILLEDMAN_H
#define NETFULFILLEDMAN_H
#include "netbase.h"
#include "protocol.h"
#include "serialize.h"
#... | [
"4mindsmine@gmail.com"
] | 4mindsmine@gmail.com |
aa9b1555fbe4b3079b3499e5409c00a1c27e1c41 | d607fa153791e1c37e22e5ae4f3732cc329327ff | /src/CCondition.cpp | 99ebe751c746444501a97575404360afe4d703c2 | [] | no_license | qiubin2016/ThreadPool | e611c0b11d442e8b918178bdd75ca65ec9fc47a6 | 4ecb6960d2d29a30270259ae89a5720543a905a2 | refs/heads/master | 2020-03-21T00:34:26.061601 | 2018-06-19T17:17:43 | 2018-06-19T17:17:43 | 137,899,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | /*
* CCondition.cpp
*
* Created on: 2017年2月16日
* Author: qb
*/
#include "CCondition.h"
CCondition::CCondition()
{
CondCreate(&m_Cond);
}
CCondition::~CCondition()
{
CondDestroy(&m_Cond);
}
void CCondition::Wait(CMutex &Mutex)
{
CondWait(&m_Cond, &Mutex.GetMutex());
}
void CCondition::Wait(CMutex &Mu... | [
"cust@custVBOX.(none)"
] | cust@custVBOX.(none) |
701c91da7b4a6c3351b8b092935358885cab2d0b | 1ae9432cbb3a2ddf1327eb75c60cf87ab19b7a8f | /HYPlayer/video_player/demux/DemuxLooper.cpp | b17e36089ec09ec4df00d5f908055c7db7df1b6c | [] | no_license | chongbo2013/IOS_HYPlayer | 4652e93866d63e385c85866daf3da7aeb165d290 | 027787c2e21c1e086e4fe0eecedc9346da1054ce | refs/heads/master | 2022-04-04T06:35:24.587702 | 2020-03-01T07:58:42 | 2020-03-01T07:58:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | //
// DemuxLooper.cpp
// HYPlayer
//
// Created by templechen on 2020/2/21.
// Copyright © 2020 templechen. All rights reserved.
//
#include "DemuxLooper.hpp"
#include "FFVideoDemux.h"
DemuxLooper::DemuxLooper(circle_av_packet_queue *queue, bool isAudio) {
this->queue = queue;
this->isAudio = isAudio;
}
... | [
"weichen@narvii.com"
] | weichen@narvii.com |
7cf91c0ca889bc477bb4303982479d57c50146a9 | c238d370c8259897b8c3b95a12c81e4d8691de64 | /src/rx/material/loader.h | 4b3ea393f1bd9bfa0e8926497e7d11ff1c70b162 | [
"MIT"
] | permissive | ttvd/rex | 4f66966166c422b7c7c356e764bdff3fcf11e800 | bfe49a11e255e7be9e739641924adad2fd82a861 | refs/heads/main | 2022-11-25T23:04:23.994615 | 2020-08-04T13:55:55 | 2020-08-04T13:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | h | #ifndef RX_MATERIAL_LOADER_H
#define RX_MATERIAL_LOADER_H
#include "rx/core/vector.h"
#include "rx/core/map.h"
#include "rx/math/transform.h"
#include "rx/material/texture.h"
namespace Rx {
struct JSON;
struct Stream;
}
namespace Rx::Material {
struct Loader {
RX_MARK_NO_COPY(Loader);
Loader(Memory::Alloc... | [
"weilercdale@gmail.com"
] | weilercdale@gmail.com |
c69ec2b6a19738255961cb7e94cb9b3d5a333362 | cf95c635a115d2c5f0f8b2c15ea3cc8061a34887 | /TwilveQt/twqcell.h | fde2bbf12fe60edd177548605b1f356b907caaaa | [
"CC-BY-3.0"
] | permissive | degarashi/TwilveQt | 49c9cc7247e32cec15e6764f2298a09c3d5e383d | bb98c29487f1088cce71063a4cafc7cd8ab58610 | refs/heads/master | 2020-12-24T12:01:57.598744 | 2013-03-14T12:00:25 | 2013-04-04T01:43:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | h | #ifndef TWQCELL_H
#define TWQCELL_H
#include <QString>
#include <QLabel>
#include <cstdint>
#include <memory>
#include "common.h"
class QFrame;
class QPixmap;
class QMouseEvent;
class QHBoxLayout;
class QVBoxLayout;
// QLabelにクリック検知を追加
class CLabel : public QLabel {
Q_OBJECT
uint64_t _id; //!< TweetID 又は UserID
p... | [
"slice013@gmail.com"
] | slice013@gmail.com |
d47f91d2fef49bc32288a1a8c03ea07ccd455bdf | 4b73a36745e969cf9d222c111d1baa39cb3d254a | /test/autogen/smp@list@pop_front.cpp | 48566830624f309dec745af16159adca7697bfa0 | [
"MIT"
] | permissive | Ornito/jln.mp | f3cc94e7b34523d40777171c5d38fdb2c817287e | 9553e3d3bc6424f8cfc4e550fdab5ec94d97594e | refs/heads/master | 2023-05-05T02:51:29.101364 | 2021-05-22T22:40:31 | 2021-05-22T22:40:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41 | cpp | #include "jln/mp/smp/list/pop_front.hpp"
| [
"jonathan.poelen@gmail.com"
] | jonathan.poelen@gmail.com |
1a756112dae5c81756c6b2af2024c894ef4fdf51 | efe782244cba07b683c4ac92df3fd029d538fe5f | /src/pow.cpp | 8a6e01178d3c3136518ccaf5f70109819d05838a | [
"MIT"
] | permissive | Kimax89/wallet-unofficial | 9fc248f40156e5f49f6cc14cb7e862149883909b | 70dfb876366eba4cb5d38d5274f7f1617ae742db | refs/heads/master | 2023-02-19T08:16:55.213287 | 2021-01-24T14:08:27 | 2021-01-24T14:08:27 | 332,015,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,003 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2017 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "pow.h"
#include "arith_ui... | [
"klauskirkeby@hotmail.com"
] | klauskirkeby@hotmail.com |
0e63998fb56cf1e0c322a7022ce80906fbac61af | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-quicksight/include/aws/quicksight/model/UpdateDataSetPermissionsResult.h | 004dff739191eaad0064de88293354ed59b78780 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 5,572 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceRe... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
5a66f045efaca9f00d4706d5f1c6ab050aefbdf2 | 13a39681376455c8f47d40084a64265c6bc71d65 | /动态规划+/矩阵连乘问题/1.cpp | 2e64eba5036128c7d774d776d433b518452031eb | [] | no_license | Jonathan-Jiang/Algorithm | f85bbef96c82861f26d0383ef069761f40b125de | 5dc6af8d7854d3ea2ad60237bcc1f21652c728fa | refs/heads/master | 2021-05-28T11:40:19.002992 | 2015-01-07T06:34:34 | 2015-01-07T06:34:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,762 | cpp | #include <iostream>
using namespace std;
const int cnt = 5;
// A1 A2 A3 A4 A5
// 30 * 15
// 15 * 25
// 25 * 5
// 5 * 10
// 10 * 20
// p0 p1 p2 p3 p4 p5
int p[cnt + 1] = { 30, 15, 25, 5, 10, 20 };
// 递归实现
int less(int i, int j) {
if (i == j) return 0;
int min = less(i, i) + less(i + 1, j) + p[i - 1] * p[i] * p[j];
... | [
"daishengdong@gmail.com"
] | daishengdong@gmail.com |
0eac78e3a9d4e85cada41bac8bdb334540061c6b | 15417ed67cfdfa56e30c53031305d0fc0e01e838 | /mango/math/vector128_int16x8.hpp | a87464a38f0fd588ffa9a8e4b40a1376c1b37e3b | [] | no_license | atkurtul/VulkanSample | 84bbfe37655139fe7d8076fb4fa491fda6a7c254 | f320ed7863f48564669f5415f4f4f0e57c576ae2 | refs/heads/master | 2023-02-24T03:13:08.369897 | 2020-07-14T07:55:21 | 2020-07-14T07:55:21 | 279,509,861 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,913 | hpp | /*
MANGO Multimedia Development Platform
Copyright (C) 2012-2020 Twilight Finland 3D Oy Ltd. All rights reserved.
*/
#pragma once
#include "vector.hpp"
namespace mango
{
template <>
struct Vector<s16, 8>
{
using VectorType = simd::s16x8;
using ScalarType = s16;
enum { Vect... | [
"atilkurtulmus@gmail.com"
] | atilkurtulmus@gmail.com |
433f644cbb125c01b117cfe36956fa5ab6d18b85 | a4e65095b88e3d7765d56e37923954bc41c4fc43 | /tomita/config/clearnames.cxx | a46e0d66b8fe42f898ba293200032cb4363f9e58 | [] | no_license | Rosdex/rest-category-classificator | 8ffd61dadccd50c6ae846aa06779f8b4923c98fe | 32d23c57ec11970d867935a414f97d4d312c161e | refs/heads/master | 2021-04-15T16:51:32.235505 | 2018-04-02T10:01:31 | 2018-04-02T10:01:31 | 126,369,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cxx | #encoding "utf-8"
#GRAMMAR_ROOT S
S -> Adj interp (ProductName.AdjForName) Noun interp (ProductName.Name);
S -> Noun interp (ProductName.Name) Adj interp (ProductName.AdjForName);
S -> Noun interp (ProductName.Name);
| [
"azheleznov88@gmail.com"
] | azheleznov88@gmail.com |
c89a22d2587ef8a5715cd30a8e5cabd40e9cceba | 8075a04ad4d2e8119da438394978c50259b856c2 | /src/kernel.cpp | 342e228da8dc65214979d87afa64839cad6c0e65 | [
"MIT"
] | permissive | coriumplatform/corium | 56c29109118708a8cd3cf36b9aa2deb49ef4ee06 | 4b1faabdcde7383221af51d7655c0ebdc8b17f77 | refs/heads/master | 2020-03-22T15:50:17.789212 | 2018-07-10T12:41:24 | 2018-07-10T12:41:24 | 140,282,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,606 | cpp | /* @flow */
// Copyright (c) 2012-2013 The PPCoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Corium developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/l... | [
"coriumplatform@gmail.com"
] | coriumplatform@gmail.com |
3fdf59cf801d57f6d94fd89ef79e10a2f46ca2d5 | eaf5c173ec669b26c95f7babad40306f2c7ea459 | /abc092/arc093_b.cpp | 47154d74ddd515c941a3824cbc5dcc20314cbc9d | [] | no_license | rikuTanide/atcoder_endeavor | 657cc3ba7fbf361355376a014e3e49317fe96def | 6b5dc43474d5183d8eecb8cb13bf45087c7ed195 | refs/heads/master | 2023-02-02T11:49:06.679743 | 2020-12-21T04:51:10 | 2020-12-21T04:51:10 | 318,676,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,026 | cpp | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
#define rep(i, n) for (ll i = 0; i < (n); ++i)
//#define rep(i, n) for (int i = 0; i < (n); ++i)
#define sz(x) ll(x.size())
typedef long long ll;
//typedef pair<int, int> P;
typedef pair<ll, ll> P;
//const double INF = 1e10;
const ll INF = 10e15;
const ll ... | [
"riku@tanide.net"
] | riku@tanide.net |
345f7235edb1008869df8d5f597889e93e53934a | 8aa4728c495add431d18af6cca44450fd0e4b6cf | /2d ball game/PhysicsAspect.h | 96ca41788f64d60cd1bb0b8d1a5bf36c607e6bcc | [
"MIT"
] | permissive | DennisWandschura/GravBall | bf315ab1ad56dddd9e298cb1976b2d9693ff8d45 | f140e304368ce1bfb9a8750c5a5c68ceac4c24bd | refs/heads/master | 2021-01-10T18:05:13.938902 | 2016-01-05T20:20:52 | 2016-01-05T20:20:52 | 49,087,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,638 | h | #pragma once
struct Manifold;
struct Circle128C;
struct GravityWell;
class LevelFile;
namespace Physics
{
struct DynamicCircle;
}
#include <gamelib/PhysicsAspectBase.h>
#include <vxLib/Container/array.h>
#include <vxLib/Allocator/LinearAllocator.h>
#include <gamelib/DebugAllocator.h>
#include <gamelib/AABB.h>
stru... | [
"dennis.wandschura@gmx.de"
] | dennis.wandschura@gmx.de |
a279eb3245152b0511b126dc1904bbf229ed6d31 | 49e125a9e43d22706cea8f304e88c96dd20197ae | /Codeforces/equalizing by division.cpp | 34bfa5236880ba240919255301d5587cffd167ba | [] | no_license | tahsinsoha/Problem-solving- | b0382b7afa539715dafb1fbc40666e4051b5f7db | 7049dcc7ab9e4a59977787c2e9052055bff560a8 | refs/heads/master | 2023-01-06T02:35:56.822736 | 2020-11-04T12:15:43 | 2020-11-04T12:15:43 | 280,789,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n,k,a,cnt;
vector<int>v;
cin>>n>>k;
for(int i=0;i<n;i++){
cin>>a;
v.push_back(a);
}
sort(v.begin(),v.end());
long long ans = 2e9;
for(int x=0;x<200001;x++){
cnt = 0;
long long now =0;
// long long int st=0;
for(int i=0;i<n && cnt<... | [
"soha97368@gmail.com"
] | soha97368@gmail.com |
3f88760e8246435d2068e4dc9092b3ed9091b662 | a81c07a5663d967c432a61d0b4a09de5187be87b | /components/viz/common/features.h | 337dd335e4387c52960d1339bbd58dd85e824780 | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 1,085 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_VIZ_COMMON_FEATURES_H_
#define COMPONENTS_VIZ_COMMON_FEATURES_H_
#include "components/viz/common/viz_common_export.h"
#include "base/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d0d21b70fb50eee3236a0a62ed0a435365987373 | 7850eebcf9cf39c3ad05a3a09ea849a8a47e36a7 | /Hardware/Node/ID/ID.ino | 109c65dd8120d3d714e4551b4c4a2a0117b540b6 | [] | no_license | a84926601/Smart-Keeper | 440c3dbec39b28042dc5e4aa76b742ae88b25086 | e296597a3bda27484b36f4f4ec2d8431b030592d | refs/heads/master | 2020-03-22T01:31:21.671560 | 2018-09-15T07:29:33 | 2018-09-15T07:29:33 | 139,310,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | ino | void setup() {
// put your setup code here, to run once:
uint32_t checksum = 0;
for(uint16_t u = 0; u < 2048; u++)
{
checksum += * ( (byte *) u );//checksum += the byte number u in the ram
}
Serial.begin(115200);
Serial.println(checksum , HEX);
}
void loop() {
// put your main code here, to run rep... | [
"jojo.5653@gmail.com"
] | jojo.5653@gmail.com |
19be914743febea00dcac1f24d1787910de0f8a0 | 0961819a5fe995ba0265d4a050f82551e2bf0663 | /Projects/proj4/card.cpp | 6f4879c564c8dafb185207670d6b61da104cf6a3 | [] | no_license | marinnaricke/CMSC202 | 2a98be3fccc2edcad587b55cf8ab0943134c9ed2 | b538e5fad266c940738a56f61f1b453c9555ae61 | refs/heads/master | 2021-05-05T05:06:52.177654 | 2018-01-24T22:01:12 | 2018-01-24T22:01:12 | 118,662,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,376 | cpp | /* File: card.cpp
Project: CMSC 202 Project 4, Spring 2016
Author: Marinna Ricketts-Uy
Date: 4/21/16
Section: 17
E-mail: pd12778@umbc.edu
CMSC 202 Computer Science II
Spring 2016 Project 4
This file has the implemenation of the Card class.
*/
#include <iostream>
#include <sstream... | [
"pd12778@umbc.edu"
] | pd12778@umbc.edu |
aee43a25137bc556ef9ca6129a17ca6f60064846 | aedb5d78cbe6acaf9becea0ea7b43c46a9584f5e | /framework/base/selfwidget/treemode/rtreemodel.h | c62cdb90c0428d84a5b06053729844ad379e9743 | [] | no_license | wey580231/Framewrok | 60a922d4cc868b0d0b7f87a529eab2724ca3c18f | 1050b079997a975dcc7b64e1bfa5eb8acb72d8c4 | refs/heads/develop | 2023-03-15T04:36:18.608430 | 2021-03-23T14:30:51 | 2021-03-23T14:30:51 | 326,935,482 | 0 | 1 | null | 2021-03-23T14:30:52 | 2021-01-05T08:31:30 | C++ | UTF-8 | C++ | false | false | 2,519 | h | /*!
* @brief 通用树据模型
* @details
* @author wey
* @version 1.0
* @date 2018.12.25
* @warning
* @copyright NanJing RenGu.
* @note
*/
#ifndef NAVIGATEMODEL_H
#define NAVIGATEMODEL_H
#include <QAbstractItemModel>
#include "../../base_global.h"
namespace Base {
/*!
* @brief 单个树节点
* @war... | [
"407859345@qq.com"
] | 407859345@qq.com |
cb7fbe3c44d888eb3570bb9f5b31049e30138ea6 | 39c1673b3bb230861d2b42bad8d0fbd899d3f4fa | /Contest3/Bai4.cpp | faea58304069a5af5162fe433cb8df406df3f68e | [] | no_license | trickstarcandina/CTDL | 69b9b205f1b792cce9db894520d4b1a4c0ad9a4a | 5ab3e7e8be6f1a6e2f26e9de880495383d95dd84 | refs/heads/master | 2022-12-28T05:36:00.146268 | 2020-10-17T08:51:39 | 2020-10-17T08:51:39 | 304,835,997 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,700 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MOD=1000000007;
void nhap(int n,int a[]){
for(int i=0;i<n;i++){
cin>>a[i];
}
}
long long xuly(int n, int a[]) {
sort(a, a + n);
long long x = 0, y = 0;
for (int i = 0; i < n; i++) {
if (i%2==1)
x = x*10 + a[i];
else
y = y*10 + a[... | [
"61593963+rinnegan101220@users.noreply.github.com"
] | 61593963+rinnegan101220@users.noreply.github.com |
514ed427753c5ee8efbbc7131fa0e9af0c9a0ad9 | 2be43a52f811e7e225acc81bfa0b922c8bfacc6d | /src/Constraints.cpp | c1ef44b7827fb615e646c0ef0b8ea85dd5fe87e8 | [] | no_license | mxgrey/RobotKin | bf790c32b263588b7c276f97fa80b620d3de161c | 19cfa0d3e2cd0d01fa75b455f7a7bbe99bdbe39a | refs/heads/master | 2021-01-20T23:27:00.997256 | 2017-03-27T20:49:59 | 2017-03-27T20:49:59 | 10,727,792 | 0 | 0 | null | 2013-07-20T05:17:57 | 2013-06-17T00:59:31 | C++ | UTF-8 | C++ | false | false | 2,574 | cpp |
#include "Robot.h"
#include "Constraints.h"
#include <time.h>
using namespace RobotKin;
using namespace Eigen;
using namespace std;
Constraints::Constraints()
: performNullSpaceTask(false),
hasRestingValues(false),
maxIterations(500),
dampingConstant(0.05),
finalTransform(TRANSFORM::Id... | [
"mxgrey@gatech.edu"
] | mxgrey@gatech.edu |
a8934f0f54d27d0984b686ba16009058584516ff | e9f0138f349251bdb17ada746ca37726ecc6e29b | /geometry.h | 3411d805ad2e8d4ab0e0b5225af5ea817e23bbd1 | [] | no_license | sylwiaZon/raytracer | 753c0b1cc9c9817b7882f600fe35ad3ac869195f | eaf5bbcf7250b8e8c57982e845535eb0b8ddff74 | refs/heads/master | 2020-03-19T16:58:03.845081 | 2018-07-10T22:35:16 | 2018-07-10T22:35:16 | 136,738,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,654 | h | #ifndef __GEOMETRY_H
#define __GEOMETRY_H
#include <iostream>
#include <cmath>
using namespace std;
class Point{
public:
float x,y,z;
Point();
Point(float _x, float _y, float _z);
};
class Vector{
public:
float x,y,z;
Vector();
Vector(float _x, float _y, float _z);
Vector(Point start, ... | [
"sylwia.zon@gmail.com"
] | sylwia.zon@gmail.com |
a2ce31d7483c3c0c72b486f3ff373bd98d942fef | c6edda04814ffb23df750ce23b81169ec35c0057 | /GameEditor/DefaultShaders.h | e7224169680d34d7e4f16fd7bfd5adcadcc15e07 | [] | no_license | wlodarczykbart/SunEngine | 91d755cca91ca04ef91879ccfd11500f884e5066 | 04200f084653e88ba332bb260b6964996f35f5a0 | refs/heads/master | 2023-06-07T02:33:20.668913 | 2021-07-03T17:31:38 | 2021-07-03T17:31:38 | 315,081,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58 | h | #pragma once
#include "Types.h"
namespace SunEngine
{
} | [
"bartwlodarczyk92@gmail.com"
] | bartwlodarczyk92@gmail.com |
499e15d2a484da02ff68d7a22c7a5a0d2962abc6 | 0ba2ebb2042fae43162c246888ec666bbfe0fb6f | /Digital_simulation/Generators.cpp | b31e2591501a917fee98a3e64a101d48c60219fc | [] | no_license | PawelKozminskiPoznan/Digital_simulation | b8f063d668e869621dbcfec444b7d2ddd56b6f80 | a79ec1837178d451a840a61c0e32a0ee2ca4058f | refs/heads/master | 2022-06-04T08:21:05.467486 | 2020-04-27T14:33:59 | 2020-04-27T14:33:59 | 258,534,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | cpp | #include "pch.h"
#include "Generators.h"
#include <iostream>
using namespace std;
double Generators::generateGrain()
{
int h =abs(grain / q);
grain = a * (grain - q * h) - r * h;
if (grain < 0)
grain = grain + m;
return grain;
}
double Generators::uniform()
{
grain = grain * a % m;
return abs(static_cast<d... | [
"pawel.kozminski.poznan@gmai.com"
] | pawel.kozminski.poznan@gmai.com |
1aa689eed40c534f035c430b3ee9a2b3e47b9e8f | 7980a127f0591ee1dc9a3fc00cf775eac1c4923a | /layers/Sequential.cpp | 55594ce388d984d0b10fa1c3855cc023230cceea | [] | no_license | ValenYamamoto/DeepLearningFramework | 90de76aa10d523bf9d48e85cde11e1c122ba648d | 242076f429d5dc31d522b22e2bb958103d3a77f8 | refs/heads/master | 2023-02-01T10:37:42.592837 | 2020-12-21T22:34:55 | 2020-12-21T22:34:55 | 316,268,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | #include "../Tensor.hpp"
#include "Layer.hpp"
#include "Sequential.hpp"
Sequential::Sequential( int numLayers, Layer** layers ) : numLayers{numLayers}, layers{new Layer*[numLayers]}, intermediates{new Tensor[ numLayers ]} {
int i;
for( i=0; i<numLayers; i++ ) {
this->layers[i] = layers[i];
}
parameters = new Ten... | [
"valenryamamoto@gmail.com"
] | valenryamamoto@gmail.com |
e199a87e1361c92d076d95693bdaca056a455d9c | b5648642fd2e05589cab760a909ce1dc38556d5d | /touchGFX/TGFX-Framework-include/touchgfx/Bitmap.hpp | 10cea0476bce70fe8cf349f5227eede8c34227fd | [] | no_license | sunklCoin/MCU | 862c8f8ee48872b3fc703d54c2d76bbb74cca1a4 | 9cc7a45fae3b18821c722f78d901034086ccc98c | refs/heads/master | 2021-07-14T00:58:51.259827 | 2017-10-16T14:12:55 | 2017-10-16T14:12:55 | 105,020,651 | 0 | 0 | null | 2017-10-16T14:12:56 | 2017-09-27T13:19:03 | C++ | UTF-8 | C++ | false | false | 19,329 | hpp | /******************************************************************************
*
* @brief This file is part of the TouchGFX 4.8.0 evaluation distribution.
*
* @author Draupner Graphics A/S <http://www.touchgfx.com>
*
******************************************************************************
*
* @sec... | [
"sunkl.coin@gmail.com"
] | sunkl.coin@gmail.com |
0610ff251dd4e3630fd3b8c2c434352716dec069 | 9332137e23a3dcb56804371cf1580f1fd988c1aa | /stk/stk/random/wells512_generator.hpp | 8cef569497b70e0373090ec002759a19a77fad41 | [
"BSL-1.0"
] | permissive | brandon-kohn/simulation_toolkit | 5c590030a6b46b1722d3e1417505118e04f4f1c6 | 8a772f336701d0cdc66d386c4e0927325089b10a | refs/heads/master | 2023-09-01T15:37:02.517027 | 2023-08-16T15:17:55 | 2023-08-16T15:17:55 | 85,863,362 | 0 | 1 | null | 2018-05-09T15:45:58 | 2017-03-22T18:37:51 | C++ | UTF-8 | C++ | false | false | 2,055 | hpp | //
//! Copyright © 2018
// Chris Lomont (Public Domain)
//! Brandon Kohn (Wrapper and interfaces).
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Implementation from Chris Lomont: Lomont_PRNG_2008.p... | [
"blkohn@hotmail.com"
] | blkohn@hotmail.com |
c08db44d8285af28c4c596c0dc89d4ca82b07c9f | 32a78ca8eb756114b38032b74a4e3a2f74a757a0 | /src/gpu/shader_lsq.hh | cfe4cc5a69eb33eb8d3255378b9a40f2947a58fa | [] | no_license | DesignSpaceExplore/gem5-gpu | b0e45b2f5164b7ec0afd837b3f3f3ecd4de9832f | 1960a6488d9671110b53184fc64051f7fe755bde | refs/heads/master | 2020-12-25T22:48:12.319776 | 2014-04-28T02:26:46 | 2014-04-28T02:26:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16 | hh | shader_lsq_lf.hh | [
"vinay@Blackpearl.(none)"
] | vinay@Blackpearl.(none) |
6963aec4d277dc5c3b4de4930f508207da54c008 | 4a2224e862e7d3325c2437e023290d317b686636 | /security/permission-utils/src/main/cpp/ezbake_serialization.cpp | 6f8c4337d28ad3a2e479614ca4d2dcfcb5ef501b | [
"Apache-2.0"
] | permissive | ezbake/ezbake-common-cpp | b5b0ea1021e307db3e68e747b8dd8e06514d7fbd | 871e3947b1279a249607e71e05c2d31b6ef4079c | refs/heads/master | 2021-01-01T20:01:21.718923 | 2015-03-03T21:18:25 | 2015-03-03T21:19:03 | 31,560,584 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,026 | cpp | /* Copyright (C) 2013-2015 Computer Sciences Corporation
*
* 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 ap... | [
"jhastings@42six.com"
] | jhastings@42six.com |
63754e1282a4af915b5b0dd8a31a13cb7d01a774 | db48761fc3cb0f8c702c5e66dbd4b683172e53cc | /euler40.cpp | 84d8865fe758f2d806670a3b3a1ad064ec7ce084 | [] | no_license | subrataduttauit/Project_Euler | 15e0e6e1dd3182c35fd1833d6ece826c96a2db98 | 9e9b17d6a7d07db23cb7749689bfdfeb0836e09d | refs/heads/master | 2020-04-21T00:37:00.450263 | 2015-08-24T18:59:45 | 2015-08-24T18:59:45 | 40,826,511 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | /*
* Solution to Project Euler problem 40
* by Subrata Dutta
*
* University Institute of Technology, Burdwan University
* Dept. of Information Technology
* https://github.com/subrataduttauit
* https://in.linkedin.com/in/subrataduttauit
*/
#include <stdio.h>
#include <math.h>
int main(void)
{
int nth = 1;... | [
"subrataduttauit@gmail.com"
] | subrataduttauit@gmail.com |
1c38da3804637a7fccdc558037369ea3416c9496 | 8c540a482bdf6217c3f72aebf8a13966a6b48dbe | /containers/_tuple.cpp | aac69ee69b1c4327203d92aaad37bb1d9ecda5bd | [] | no_license | eyupgurel/workbench | 6633d131fac470ed981bcd193684b28948af1af6 | 4af3e71444f96a8ccff6bf594867daca48f2119e | refs/heads/master | 2020-04-21T16:17:29.864851 | 2019-10-16T19:45:30 | 2019-10-16T19:45:30 | 169,695,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,747 | cpp | //
// Created by egl on 6/13/19.
//
#include "_tuple.h"
using namespace containers;
std::tuple<int,int,int> rotate(std::tuple<int,int,int> t)
{
return tuple{std::get<2>(t),std::get<0>(t),std::get<1>(t)};
}
void drive_tuple() {
int i =1;
int j=2;
double d=1.2;
_tuple<int,int,double> _t1{i,j,d};
... | [
"eyupgurel@gmail.com"
] | eyupgurel@gmail.com |
ccc04ae9bdab9b918a746dcc593fbcdceae1198e | b932134deff2e82f984c267c26b47ce74c521ef5 | /leetcode/1462. Course Schedule IV.cpp | 815a7da74838c438371a5fd20195b7bf483ec816 | [
"MIT"
] | permissive | chamow97/Interview-Prep | db234e0df0bfa6b3358d73ac187d6a132fa14595 | 9ce13afef6090b1604f72bf5f80a6e1df65be24f | refs/heads/master | 2022-11-06T07:06:54.705258 | 2020-06-21T07:29:14 | 2020-06-21T07:29:14 | 112,472,858 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | class Solution {
public:
void dfs(int u, int v, vector< vector<int> > &adj, bool &possible, vector<bool> &visited) {
visited[u] = true;
if(u == v) {
possible = true;
}
for(auto i : adj[u]) {
if(!visited[i]) {
dfs(i, v, adj, possible, visit... | [
"16441513+chamow97@users.noreply.github.com"
] | 16441513+chamow97@users.noreply.github.com |
be46126bb0292b53b23f46210c558a3b5edc7a92 | 3c3b480709b13db0603465de9f6ae0b1e9e46a91 | /D3D11_App/D3D11_App/Chapter13_Instancing and Culling/RenderStates.h | cfab003a77072ecaed04ddedf563903e16480803 | [] | no_license | skyvoid123/D3D11 | 6aa6aad03f79519390e855c16b9a2e0853b9beb1 | 5cee13cfb7612cb31f93e9c3787c12e5fe6cfbbd | refs/heads/master | 2020-12-07T11:49:17.747309 | 2017-04-28T02:20:30 | 2017-04-28T02:20:30 | 66,762,534 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #pragma once
#include "d3dUtil.h"
class RenderStates
{
public:
static void InitAll(ID3D11Device* device);
static void DestroyAll();
// Rasterizer states
static ID3D11RasterizerState* WireframeRS;
static ID3D11RasterizerState* NoCullRS;
static ID3D11RasterizerState* CullClockwiseRS;
// Blend states
static ID... | [
"skyvoid@qq.com"
] | skyvoid@qq.com |
e3272df82eec09c1101ed967e9363894dd0bcc29 | ff92645b83f7e344cbf6f1938e0750634c234484 | /src/sensor_data/loop_pose.cpp | 5508a407a15f1dd8abe6f49ad52619789b1bb6bd | [] | no_license | leidali/lidar_localization | c8507109cc288e11a5bce96d0d0c05cbef8660cf | d7589bed13e85cdc09fbe36597432239c7b01ff7 | refs/heads/master | 2023-04-08T21:43:36.206233 | 2021-04-22T08:18:06 | 2021-04-22T08:18:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | //
// Created by zlc on 2021/4/20.
//
#include "lidar_localization/sensor_data/loop_pose.hpp"
namespace lidar_localization
{
Eigen::Quaternionf LoopPose::GetQuaternion()
{
Eigen::Quaternionf q;
q = pose.block<3,3>(0,0); // 使用旋转矩阵直接给四元数赋值
return q;
}
}
| [
"2731275645@qq.com"
] | 2731275645@qq.com |
9af9cb94715cf7a36cd969bf492a57804027aca7 | 16240579ec9afe943ef9888ed6a161700e69b47e | /main.cpp | 13012b271ea635b7da6ad043c85e96a1a4e0c4df | [] | no_license | Artjxm/CppProjects | 876cae3c7c304db75daba4921701218a43e84e07 | 42365877ffc562caf3c7bc852b246fd72ff941e9 | refs/heads/master | 2022-12-22T02:13:32.275931 | 2020-09-22T09:08:42 | 2020-09-22T09:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,833 | cpp | #include <iostream>
#include <stack>
#include <algorithm>
#include <cmath>
bool isOperator(char c) {
return c == '+' || c == '-' || c == '*' || c == '/' || c == '^';
}
bool isOperand(char c) {
return isdigit(c);
}
int precedence (char c) {
if (c == '^')
return 3;
else if (c == '*' || c == '/')
return 2;
els... | [
"Shadonspass1"
] | Shadonspass1 |
ae2710955e94e72f6edca7295e96e49a7808aa59 | cadb83f173998f3221cca0aee713fbb722fb7822 | /urg_timelapse_4/src/urgTimelapse.cpp | 2170edadf1faa4cbfcfe53869b8fa6f55c948d8c | [] | no_license | bensnell/urg-videography | b6d58be10cd2ee52e0ebf44e74fd7b677b89ff07 | 79611f9109497c00753261dd2c1ba72e914f317d | refs/heads/master | 2016-08-11T21:31:46.843383 | 2016-01-30T16:44:06 | 2016-01-30T16:44:06 | 50,728,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,313 | cpp | //
// urgTimelapse.cpp
// urg_timelapse_3
//
// Created by Ben Snell on 1/17/16.
//
//
// repeated scans are typically within 15 ms (but make this interval a little bigger)
#include "urgTimelapse.h"
urgTimelapse::urgTimelapse() {
timelapseControls.setName("Timelapse Setup");
timelapseControls.add(ali... | [
"bensnellstudio@gmail.com"
] | bensnellstudio@gmail.com |
0f4b9001ab469ce5954dfee5527c28cd842c65b2 | da64f2caeedea6c2889621c4c4bbb9ec812b6ba7 | /include/MemoryMap.hpp | 1589a2d24c9bee5c4abbe59ddff4b3f60d89f7cf | [] | no_license | FelixWeichselgartner/GameBoy-Classic-Emulator | cce53440844eeee098b3b5c31f5a8a71487c500e | 495a00f8389af39700dd7d3e436b151921210ff8 | refs/heads/master | 2021-07-13T07:19:32.846441 | 2020-06-23T17:18:29 | 2020-06-23T17:18:29 | 173,909,929 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | hpp | #ifndef MEMORYMAP_HPP_
#define MEMORYMAP_HPP_
//----------------------------------------------------------------------------------------------
// Memory Map:
#define ADDR_ROM_0 0x0000 // 16KB ROM Bank 00 (in cartridge, fixed at bank 00)
#define ADDR_ROM_1 0x4000 // 16KB ROM Bank 01...NN (in cartridge, witchable ... | [
"felix.weichselgartner@t-online.de"
] | felix.weichselgartner@t-online.de |
bac7d413b69ea52afdfdb46d988f20d34df1befc | 21a7244cc28c301bb38e40208ed0ca70f77c604b | /TJU/1131 - The Circumference of the Circle.cpp | 5d6618efaeed6f905967e1c6d300b11a358b0c66 | [] | no_license | jhtan/Online-Judge-Solutions | fc18efb8d8310bd06edb96c4b2ea0ac0dc79aae5 | 7c2d870affda103d57ecd6f0820b9e6fe5c58928 | refs/heads/master | 2020-12-03T05:10:33.420297 | 2013-09-10T20:21:03 | 2013-09-10T20:21:03 | 15,348,130 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
#define PI 3.141592653589793
using namespace std;
int main(){
freopen("in.txt","r",stdin);
freopen("out.txt","w",stdout);
double x1,y1,x2,y2,x3,y3;
double a,b,c,S,R;
while(cin>>x1>>y1>>x2>>y2>>x3>>y3){
a=sqrt((x... | [
"marioyc@marioyc-laptop.(none)"
] | marioyc@marioyc-laptop.(none) |
fb8a216ef702f2c85e3126ef8f79eb8b934b9af5 | bc90e70ee2139b034c65a5755395ff55faac87d0 | /libs/algorithm/test/pop_heap.cpp | 52f0ee211adbf01b6ecfcee2b0e028a7746ec030 | [
"BSL-1.0"
] | permissive | Manu343726/Sprout | 0a8e2d090dbede6f469f6b875d217716d0200bf7 | feac3f52c785deb0e5e6cd70c8b4960095b064be | refs/heads/master | 2021-01-21T07:20:16.742204 | 2015-05-28T04:11:39 | 2015-05-28T04:11:39 | 37,670,169 | 0 | 1 | null | 2015-06-18T16:09:41 | 2015-06-18T16:09:41 | null | UTF-8 | C++ | false | false | 2,286 | cpp | /*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
74261dfff6080f2f42a2eb66226059a098b1228e | e54b9ff5eaf41ab13d156430554077f133b1be06 | /leetcode2134/leetcode2134_2.cpp | 6b64f3bbc855501f464e127bfa517ff62dd0dce8 | [] | no_license | allpasscool/leetcodes | bb0bd1391d5201baad214e5b4f8089dfe9c782b0 | 4fd81b4cf9382890cadc6bf8def721cc25eb9949 | refs/heads/master | 2022-05-21T11:34:06.958063 | 2022-03-24T08:57:41 | 2022-03-24T08:57:41 | 163,725,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | cpp | class Solution
{
public:
int minSwaps(vector<int> &nums)
{
int totalOnes = 0, curOnesInWindow = 0, onesInWindow = 0, n = nums.size();
for (int i = 0; i < n; i++)
if (nums[i] == 1)
totalOnes++;
int left = 0;
for (int right = 0; right < n * 2 && left < ... | [
"a82012844013@yahoo.com.tw"
] | a82012844013@yahoo.com.tw |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.