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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5fc53d627e3c27e7be19bd8cd4634a9baadbbae5 | 761175d8c1dad09a7c0fa326c6bde3999be5d778 | /corrector.cpp | d6fbb55cc6797a9af972d08218ec84d77cdc3239 | [] | no_license | DiegoBriaares/Spelling-Corrector | 5459d460e6775ac16e86acfb07c18aa19c8a5dc2 | 3f916f7d45f6c8db2f842a23ae6dbfe26ff471c0 | refs/heads/master | 2020-04-05T03:04:39.147500 | 2018-11-07T06:38:44 | 2018-11-07T06:38:44 | 156,500,516 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,766 | cpp | #include <bits/stdc++.h>
using namespace std;
const long long INF = 999999999;
bool corrected;
vector<string> candidates;
vector<string> new_candidates;
map<string, bool> in_set;
map<string, int> word_ocurrences;
map<pair<string, string>, int> contiguous_words_ocurrences;
string generalize(string s) ... | [
"noreply@github.com"
] | noreply@github.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 |
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 |
bee0e26e3a4e4694701fa34d52a65b760c85c8e7 | 37d6909e8d5d50c9672064cbf9e3b921fab94741 | /백준/11497번 통나무 건너뛰기/11497.cpp | 5f44550732b8adce67f80c64b2321a4c25a2446f | [] | no_license | lee-jisung/Algorithm-study | 97e795c6cb47d1f4f716719f490031479d0578ca | d42470cd24b3984dc15992089d34dbe2ae6bb70d | refs/heads/master | 2021-06-28T05:49:12.417367 | 2021-04-01T13:53:43 | 2021-04-01T13:53:43 | 225,784,579 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cpp | #include <iostream>
#include <algorithm>
#include <queue>
using namespace std;
/*
정규분포 => 가운데부터 큰 숫자를 넣고, 양 옆에 차례대로 숫자들을 분포시킴
*/
int T;
int level;
int main(void) {
ios_base::sync_with_stdio(0);
cin.tie(0);
cin >> T;
while (T--) {
level = 1e9;
priority_queue<int, vector<int>, greater<int>> pq;
int n,... | [
"noreply@github.com"
] | noreply@github.com |
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 |
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 |
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 |
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 |
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 |
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) |
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 |
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 |
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 |
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 |
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 |
d8b2f741fbb626787fd10c3f6b95e6c0da0033d7 | 54d6f751947050ef6af93524901b2d2c84a9397d | /AnnService/inc/SSDServing/SelectHead_BKT/ParameterDefinitionList.h | 63884a2f5e2f9fd46b2965bfa005860b72027464 | [
"MIT"
] | permissive | raychorn/SPTAG | d3cae939bd9294dd4c68a6d37aefbcea4acc8a1d | c0354f0d743ff92bbeaeaa310b014212999c348f | refs/heads/master | 2023-09-05T11:08:33.238527 | 2021-11-16T07:33:34 | 2021-11-16T07:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifdef DefineSelectHeadParameter
// DefineSelectHeadParameter(VarName, VarType, DefaultValue, RepresentStr)
DefineSelectHeadParameter(m_execute, bool, false, "isExecute")
DefineSelectHeadParameter(m_iTreeNumber, int, 1, "T... | [
"noreply@github.com"
] | noreply@github.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 |
aab973c0ab2e66dc98f2a15c25e86367777216ce | 2292b0a79bbe8b37c244f3fe244e061fc85f9881 | /threadsafe_deque.hpp | 404f8ee6f6f86d0042cee537035b8d3b787dc5db | [] | no_license | kinglezhuang/threadsafe-stl-container | 5701627893c9907a461be96bbd314f7cc7f1f9c4 | 942ac39a631f6a79e18deebfbe0ea699ecbf8c9d | refs/heads/master | 2020-09-15T11:09:29.218556 | 2020-03-08T09:06:37 | 2020-03-08T09:06:37 | 223,429,368 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,491 | hpp | //
// threadsafe_stack.hpp
// stl_extension
//
// Created by Kingle Zhuang on 11/20/19.
// Copyright © 2019 RingCentral. All rights reserved.
//
#pragma once
#include <mutex>
#include <deque>
#include <memory>
#include <utility>
#include <algorithm>
#include <functional>
#include <shared_mutex>
namespace std
{
... | [
"noreply@github.com"
] | noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
b13b8c01ccc269f59e50bd95957cc9848e63e41c | 737db09fabf1a6255d80e2c6d42f1c84ac6bc5ff | /test.cpp | c8ee0b2a6a04204614486ecdbf56481dd8c6b9b5 | [] | no_license | hyunoklee/pcsetting | b6de82958a6193dac6b1623164af2c1660c65468 | 6621f9bf2b362138e5fab7f32a5548fdd1f825b3 | refs/heads/master | 2020-04-06T21:58:43.110027 | 2019-11-02T01:09:10 | 2019-11-02T01:09:10 | 157,820,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,345 | cpp | /*
* YoloObjectDetector.cpp
*
* Created on: Dec 19, 2016
* Author: Marko Bjelonic
* Institute: ETH Zurich, Robotic Systems Lab
*/
// yolo object detector
#include "darknet_ros/YoloObjectDetector.hpp"
// Check for xServer
#include <X11/Xlib.h>
#ifdef DARKNET_FILE_PATH
std::string darknetFilePath_ = DARK... | [
"noreply@github.com"
] | noreply@github.com |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
62f1b127b61498593059938a240331d6209360e5 | a8fc2294c93177a938e1f026b09e6c8cb24a8512 | /SnakeGame.cpp | 616e9ee77e2696a5ca1bd4e9e76e5f19132d7ae6 | [] | no_license | vedant1771/Hacktober2k21 | 9b425e5b12a0f9f1676edbcd07f2901b84701c54 | 61943d6b5ecaf6093a481bc5914a3c9e536567a4 | refs/heads/main | 2023-08-29T17:41:05.695844 | 2021-10-29T16:55:49 | 2021-10-29T16:55:49 | 412,986,205 | 0 | 1 | null | 2021-10-05T16:01:50 | 2021-10-03T05:35:43 | null | UTF-8 | C++ | false | false | 2,188 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
bool gameover;
const int width = 20;
const int height = 17;
int x, y, fruitX, fruitY, score;
int tailX[100], tailY[100]; //snake coordinates
int nTail;
enum eDirecton {STOP = 0, LEFT,RIGHT, UP, DOWN}; // Controls
eDirecton dir;
void Setup() {
gameover... | [
"noreply@github.com"
] | noreply@github.com |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
621e390438ec4b413b35773fb8684221149a8747 | 2bf81ffecf07f0d52bcc7adf64605d0fafdc9117 | /ThreadContextSwitchScript.cpp | 851cdc1233fc53c0709be80cd3022551d1776ad9 | [] | no_license | sumitdhoble/OSProject | a08d1ca4dcc9e80e3f16232b101af61908930c67 | 47ba190204de8d1c17e7bf2f8af1a4b1acc42844 | refs/heads/master | 2021-01-02T22:57:54.071103 | 2012-12-12T22:12:45 | 2012-12-12T22:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include<iostream>
#include<cstdlib>
#include<sys/time.h>
#include<unistd.h>
#include<sys/wait.h>
int main(){
int i = 0, iterations = 100;
system("g++ -pthread ThreadContextSwitch.cpp -o ThreadContextSwitch");
for(i = 0; i < iterations; i++){
system("./ThreadContextSwitch");
usleep(100);
}
return 0;
}
| [
"sumit@vdeshpan-XPS-8300.(none)"
] | sumit@vdeshpan-XPS-8300.(none) |
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 |
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) |
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) |
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 |
6f7086c09ff33638bfa90d058efb7f50396a5350 | e02fa80eef98834bf8a042a09d7cb7fe6bf768ba | /TEST_MyGUI_Source/MyGUIEngine/include/MyGUI_Instance.h | 9d50505893548012b5efd58c18987888bca84ee0 | [] | no_license | MyGUI/mygui-historical | fcd3edede9f6cb694c544b402149abb68c538673 | 4886073fd4813de80c22eded0b2033a5ba7f425f | refs/heads/master | 2021-01-23T16:40:19.477150 | 2008-03-06T22:19:12 | 2008-03-06T22:19:12 | 22,805,225 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | h | /*!
@file
@author Albert Semenov
@date 11/2007
@module
*/
#ifndef __MYGUI_INSTANCE_H__
#define __MYGUI_INSTANCE_H__
#define INSTANCE_HEADER(type) \
private: \
static type* msInstance; \
bool mIsInitialise; \
public: \
type();\
~type();\
static type& getInstance(void); \
static type* getI... | [
"my.name.post@gmail.com"
] | my.name.post@gmail.com |
2605b2a54d343f47f8a3eeeb8ff69f468c10a9a0 | eeca0485de2fee42f63e902b2412b014ea949126 | /fro_duo.ino | 941bd61604a13229f052b1f5f1d64f164315e575 | [] | no_license | anuejn/ledArdu | fb149cde292e0906e913c2c250e823c2432f45f2 | a560d3351c6b1a7f2860b40aeeab4639f9c3e891 | refs/heads/master | 2021-05-29T09:55:36.159789 | 2015-04-30T21:14:57 | 2015-04-30T21:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | ino | #include <Adafruit_NeoPixel.h>
#include <avr/power.h>
#include <math.h>
#define PIN A0
#define NUMPIXELS 20
#define GOALTIME 20000.0
#define PI 3.1415936
#define MOTORPIN 2
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
float proces = 0;
int starttime = 0;
long vcc = 0;
void setu... | [
"jaro.habiger@googlemail.com"
] | jaro.habiger@googlemail.com |
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 |
5622f1be6e9b10f5500233c7c86720a1a6e9b0c9 | 43efb8c60d19d37c2f42805754086f910348a5ae | /Coding/Rough Codes/problm3.cpp | 4faaf872bec0a646a4ddd0344bafa989bfdb3626 | [] | no_license | akshay2742/Coding-Problems | 961399752b30b6a17b72b2c1b2afada9e839a326 | 838be77b707cc82a9453c964ff8cedce1646dfe8 | refs/heads/master | 2021-06-26T14:08:39.292052 | 2020-10-08T18:34:19 | 2020-10-08T18:34:19 | 151,247,129 | 0 | 1 | null | 2020-10-08T18:34:21 | 2018-10-02T11:59:38 | C++ | UTF-8 | C++ | false | false | 552 | cpp | #include<iostream>
#include<math.h>
#include<cstdio>
using namespace std;
#define int long long
int checkSquare(int a)
{ int x,valid=1;
while(a!=0){
x=a%10;
a=a/10;
if(x==9||x==4||x==1||x==0) continue;
else
return 0;
}
return valid;
}
main(){
int t,a... | [
"prateekrishu@yahoo.com"
] | prateekrishu@yahoo.com |
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 |
5ac9603976964a5058f4cb7f26a721232979ebac | dcb345e6ec38d85f82f5557a3054df3f58d6fd40 | /iq/temperature_monitor_uc_client.hpp | d13fceaa82d80b814cabaac66ab7d0af68e70504 | [
"BSD-3-Clause"
] | permissive | bunnie/iqmotor-c | c4fd76367cb83460adae615b0d16c5bbcb3181fb | 18efc6e8d2251456b167712556ad9e2c96917e6a | refs/heads/master | 2021-04-06T20:30:22.913439 | 2020-01-15T23:33:51 | 2020-01-15T23:33:51 | 125,386,841 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,747 | hpp | /*
Copyright 2019 IQinetics Technologies, Inc support@iq-control.com
This file is part of the IQ C++ API.
IQ C++ API is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the Licen... | [
"bunnie@kosagi.com"
] | bunnie@kosagi.com |
5466f9d70ac7b3ba70643682dbc0d5b0d0de0f53 | 5c2addf99fb73b7a95897eb0486e28e9929fdd08 | /Cospro연습문제/Cospro7.cpp | 0b6c5f4bdc16abde3c0ca6e7b252be722ed13a55 | [] | no_license | UmJaeJeong/Algorithm-DataStruct | 902bc7b86dc4b74b8334984a78c0159bd2bc3e5d | 51cdd53a7cf815eb20801215d8147fb537d67e59 | refs/heads/master | 2020-04-03T15:28:36.084262 | 2019-02-15T01:14:08 | 2019-02-15T01:14:08 | 155,363,765 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,684 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
/*문제7 Cospro
오름차순으로 정렬되어있는 두 배열 arrA, arrB를 하나의 배열로 합치려 합니다. 단, 합친 후의 배열도 오름차순으로 정렬
되어 있어야 합니다.
예를 들어 arrA = [-2, 3, 5, 9], arrB = [0, 1, 5]인 경우 두 배열을 오름차순으로 정렬된 하나의 배열로 합치면 [-2, 0, 1, 3,
5, 5, 9]가 됩니다.
오름차순으로 정렬된 두 배열 arrA와 arrB가 주어졌을 때, 두 ... | [
"39511137+UmJaeJeong@users.noreply.github.com"
] | 39511137+UmJaeJeong@users.noreply.github.com |
9c08e9151ad6598ab7102a2fe683e80d0a5e2323 | 5e24b93c2eb4e2f4642eb8e1a8a80fb76e3e48c7 | /LED_as_sensor.ino | 96f1fec9933dbe7df2d9cc136cc7e6fe4a82f50b | [] | no_license | giantsquidaxon/LED_as_light_sensor_attiny85 | 7c0455ac61d615e0a7118d9bcaef6611e4f1ede7 | 2243ee2bb37660a2c4b33f63f90ccbe24edfac00 | refs/heads/master | 2022-12-09T16:49:33.135151 | 2020-09-07T10:28:16 | 2020-09-07T10:28:16 | 293,476,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,375 | ino | #define ANODE_PIN_A 3
#define CATHODE_PIN_A 4
#define ANODE_PIN_B 1
#define CATHODE_PIN_B 2
#define MONITOR 0
#define LED_TIMEOUT 100000
#define SAMPLES_TO_AVERAGE 5
void setup() {
// put your setup code here, to run once:
#ifdef LOGGING
Serial.begin(9600);
#endif
}
/** Perform a single on off cycle with the spec... | [
"dasnarrenschiff@gmail.com"
] | dasnarrenschiff@gmail.com |
45f532d4213b6e77002b4b54345993e36943367a | 6ca0e27edfb1243e31fbca299cbfbe4f902edb65 | /src/KinectBasePanel.h | 5a241435c069de4b8a73af0c3e68f2f882483bf9 | [
"Apache-2.0"
] | permissive | fusefactory/ofxDepthKinectV2Streaming | 5a22a496c241c5b4cef1e7aaa148288009c7b300 | 9a479f10cc81e90d638ed9e014fe8d3ce2bcffc9 | refs/heads/master | 2020-05-01T00:28:09.645213 | 2020-02-18T10:37:10 | 2020-02-18T10:37:10 | 177,168,661 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | h | //
// KinectBasePanel.hpp
// Apologue2047
//
// Created by Matteo on 22/03/2019.
//
#ifndef KinectBasePanel_h
#define KinectBasePanel_h
#include <stdio.h>
#include "ofxGui.h"
#include "KinectDevice.h"
#include "KinectSettings.h"
class KinectBasePanel : public ofxPanel{
public:
void addGuiComponent... | [
"matteo@fusefactory.it"
] | matteo@fusefactory.it |
e7fa7ef5ade90f4a858558d1d48581938460615b | 0b3e67b06db9ef00f2d60815ae7a4709b4359dd7 | /gitTest/Source.cpp | d2fa2cafe73a67a46d4266db0e22f381e97ab750 | [] | no_license | Nilawyr/gitTest | 0284bfb0f8bbdfcd03a07e6a073e49b8ed0c7abd | ed47e49713d44acf284a78653874b6f41bf45fa7 | refs/heads/master | 2021-01-22T17:33:27.099298 | 2016-07-11T16:32:39 | 2016-07-11T16:32:39 | 63,083,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | #include<iostream>
using namespace std;
int main(int argc, char** argv)
{
cout << "cristian" << end;
return 0;
}
| [
"cristiancarriond@gmail.com"
] | cristiancarriond@gmail.com |
af2130c4063ffe474f0bc033eab3c2ceef646bc1 | 3b116faba2ffd8ecce218fb8f4540b1cd36b39c1 | /Array Manipulation.cpp | 211a00efd9f9e45cc70bad4bdd05d14be12af7dd | [
"BSD-2-Clause"
] | permissive | SangeethaPrabhu2021/Algorithms-For-Software-Developers | 8b2e6defab179004a8924bc246b7e6e98a6410d3 | 8ed9f55fb84ca1b7037871ccd0f24ff61e011bdc | refs/heads/main | 2023-09-03T05:04:55.500118 | 2021-10-15T13:50:58 | 2021-10-15T13:50:58 | 417,706,411 | 0 | 0 | BSD-2-Clause | 2021-10-16T03:42:38 | 2021-10-16T03:42:38 | null | UTF-8 | C++ | false | false | 2,102 | cpp | #include <bits/stdc++.h>
using namespace std;
string ltrim(const string &);
string rtrim(const string &);
vector<string> split(const string &);
long arrayManipulation(int n, vector<vector<int>> queries) {
long a[n];
for(long i=0;i<n;i++)
a[i]=0;
for(long i=0;i<queries.size();i++){
for(long j=... | [
"noreply@github.com"
] | noreply@github.com |
9f590011574582e179475b9900200e58b7cd8ab4 | 713c31f3e32b6dd56b6f2a46419f60b102acb87a | /src/bench/bench_bitcoin.cpp | c79428c9d365077cb5b137ae7acb6423432f9a0c | [
"MIT"
] | permissive | bitcoinwallet-project/bitcoinwallet | 58e434d8887f8a884cf5ece00751da2c4d000a34 | a6daf932f38ca410d03e9d05f9d25afaa490fa2b | refs/heads/master | 2022-04-23T04:33:06.310826 | 2020-04-23T02:44:41 | 2020-04-23T02:44:41 | 258,060,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,237 | cpp | // Copyright (c) 2015-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/bench.h>
#include <crypto/sha256.h>
#include <key.h>
#include <random.h>
#include <util.h>
#include <utilstr... | [
"leoped.rgs@gmail.com"
] | leoped.rgs@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 |
01c50f45e49357c8599de3708098b6ddbfd4be84 | e06a59d5659a6c4cfd783badf02e662eb3faa633 | /matrix.h | 8a997b13591879741a17e503ba641aa1fd55d0a9 | [] | no_license | lllwwwbbb/MatrixCaculator | 543510cd68d64b6b3628dae2972371ae82e65930 | 61947017510ba58745718bf0d7dd6cd284c65188 | refs/heads/master | 2020-03-17T17:25:40.269647 | 2018-05-17T09:07:32 | 2018-05-17T09:07:32 | 133,787,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | #ifndef MATRIX_H
#define MATRIX_H
#include <vector>
#include <string>
using namespace std;
//Matrix
typedef vector<double> Array;
typedef vector<Array> Matrix;
//MatrixVariable
struct MatrixVar
{
string varName;
Matrix value;
bool operator ==(string right)
{
return this->varName == right;
... | [
"151220068@smail.nju.edu.cn"
] | 151220068@smail.nju.edu.cn |
bb3af3e0628bd6708de6f8cf0be9189d4624019d | 3552d35a4408055635807b4d3351570be7a5dafa | /System Course/swapknodes/swapknodes/swapknodes.cpp | b40e58eb68eaf736579eaec3940fa34015b569dc | [] | no_license | ramyasree0299/summer2019_GNITS_ramyasree | 0d54f65b8a752091df03e8f3faa3208e88036a07 | bd408c0caf86bd9116acf6b85d7bb8fd062ae0f5 | refs/heads/master | 2020-06-01T23:16:56.196222 | 2019-06-23T13:04:08 | 2019-06-23T13:04:08 | 190,962,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | cpp | #include "stdafx.h"
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
struct node
{
int data;
struct node *next;
};
int n, n1;
typedef struct node Node;
Node *reverse(Node *head)
{
Node *temp = head;
Node *prev = NULL;
Node *next;
while (temp != NULL)
{
next = temp->next;
temp->next = prev;
prev = te... | [
"ramyasree0299@gmail.com"
] | ramyasree0299@gmail.com |
7fa4d6a91110d35f2a5e36b3a302287631e06e5a | 85696df622aab676e2b21982ef0940f3b9d49d9d | /sources/crystax/vfs/getdents.cpp | 05b4879e7c48d3f2581632e2707808b11bb8cf04 | [
"BSD-2-Clause-Views"
] | permissive | Liryna/android-platform-ndk | e6acbdd5b02eae1250fab458c9c83bbcf7225161 | c0414a70629341b965f82bd00e27fbad5563f7de | refs/heads/master | 2021-01-13T03:46:55.760089 | 2016-12-23T14:45:41 | 2016-12-23T14:45:41 | 77,230,446 | 1 | 0 | null | 2016-12-23T14:28:49 | 2016-12-23T14:28:49 | null | UTF-8 | C++ | false | false | 2,142 | cpp | /*
* Copyright (c) 2011-2015 CrystaX.
* 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 above copyright notice, this list of
* ... | [
"dm@crystax.net"
] | dm@crystax.net |
58a0a488fc925af7badb0627c089e67ef2bac3ea | 6f46ce977ba07a401a976f4dea4ddcec0b577cb6 | /Creative/game/particle_generator.cpp | af7b7aec631a1decd1c6c8887249f3d2593ae8c5 | [] | no_license | LOOK2001/Physically-Based-Animation-GLFW | 7c1c9eeb1b32f9c7630d97f5db6fab6fa2b63999 | a06399b0f4c5809720f0ef69bf6ab6f1689d3a70 | refs/heads/master | 2020-09-21T20:52:42.301089 | 2019-12-02T06:38:19 | 2019-12-02T06:38:19 | 224,924,854 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,933 | cpp | #include "particle_generator.h"
#include "../common.h"
#include "../Renderer.h"
#include "../pba/core/PbaViewer.h"
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <iostream>
ParticleGenerator::ParticleGenerator(unsigned int num, DynamicalState& pq)
:PQ(pq), amount(num)
{
}
void ParticleGenerator::OnUpdate(... | [
"shengwang1996@126.com"
] | shengwang1996@126.com |
3545859e1f035c969b05a3eb4ec448bcf6009e58 | 0400ac52a20058bf13a064b838872473212765ca | /Unity_Code/DinoRun_Final/Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_13Table.cpp | 54218c2c04a1ea80c40af6e980759da4580eabdb | [
"Apache-2.0"
] | permissive | BPenzar/SuperDinoBros. | b7e6be07bfc4278d85eeb986f4740c9a91e01689 | f46b866c5a1119c6753dbd8e963212f17a4a31d5 | refs/heads/master | 2021-01-20T04:29:24.503356 | 2017-07-25T14:58:12 | 2017-07-25T14:58:12 | 89,697,299 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43,103 | 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 "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "UnityEngine_UnityEngine_Sprit... | [
"bruno.penzar@posteo.de"
] | bruno.penzar@posteo.de |
1f9deac17fdab8d672ee708b8352274db4fc665b | e9ade5ea33cf3382f8ab3ad980e7f6d8cb76faf8 | /solved/use_fenwick_tree.cpp | 22ff270c2786db56d52db40a095f855e8f83afa4 | [] | no_license | Creamy1137689/kyopro | 75bc3f92edb7bff2cbf27dc79d384b422a0a4702 | dcacbf27defe840ea7998e06a5f3fb78718e7d53 | refs/heads/master | 2023-05-10T19:28:56.447493 | 2021-06-03T12:54:11 | 2021-06-03T12:54:11 | 266,143,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | #include <iostream>
#include <iomanip>
#include <utility>
#include <cmath>
#include <random>
#include <vector>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <algorithm>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
#define rep(i,n) fo... | [
"exception031noexist@gmail.com"
] | exception031noexist@gmail.com |
0273861ca1686e80408d458ae92cd7016e364dc0 | 6451521aff7056b83db5864cb0027eb67c125599 | /effort/synchronize_keys.h | 7e637a129456f0f2a3f5e8890a9494ad591420c6 | [] | no_license | tgamblin/libra | 0d740484f23542a017b07b7b86f51566c34ad4e5 | 2acedbe2f8a487a13b01c3d0e7cb2573e1ca6d09 | refs/heads/master | 2020-12-24T16:31:54.327600 | 2013-11-03T00:55:50 | 2013-11-03T01:04:44 | 763,175 | 3 | 2 | null | 2016-05-23T17:59:36 | 2010-07-08T03:21:51 | C++ | UTF-8 | C++ | false | false | 3,171 | h | /////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory
// Written by Todd Gamblin, tgamblin@llnl.gov.
// LLNL-CODE-417602
// All rights reserved.
/... | [
"tgamblin@llnl.gov"
] | tgamblin@llnl.gov |
0d34501dd71ca848258a11619737c5571c03619a | b6e90a0e63a10e3091d5476e0bbf738d1aa412ef | /source/lec7/mon/ttp2-user.cpp | 8308a7aef121e3b2f923a5291eb41efd81f7a899 | [
"BSL-1.0"
] | permissive | Cypher1/Cpp_Tuts | 53909bc6210b11ceda43d08a7c948f9fc99986f9 | e67e8be04ff6e29e620c8245762c05cd27dda974 | refs/heads/master | 2020-06-28T20:04:18.421631 | 2017-10-20T03:10:11 | 2017-10-20T03:10:11 | 98,940,645 | 2 | 0 | null | 2017-09-16T06:56:31 | 2017-08-01T00:08:53 | C++ | UTF-8 | C++ | false | false | 156 | cpp | #include <vector>
#include "ttpStack.hpp"
int main(void) {
Stack<int, std::vector > s1;
s1.push(1);
s1.push(2);
std::cout << s1 << std::endl;
}
| [
"mattstark75@gmail.com"
] | mattstark75@gmail.com |
b35d2488ca04ea0ef2f1ad8e27003d5383d02fbc | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/StepToGeom_MakeVectorWithMagnitude2d.hxx | ad4c7f35f0dd06b5cd48408f2b934a5b520e504b | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,476 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _StepToGeom_MakeVectorWithMagnitude2d_Heade... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
8df1ec527a8a0d5b27ab36658b1919417b79f265 | 8e4015f2e768f8b8edf2b22912c9fcb23db121ee | /jsbridge/jsctx.h | f07571931078b20a4c5d3f9393c0d66f30724050 | [] | no_license | JaatSoft/NetOptimist | 298f0a4aacecad19ef9da07b27fb9b97b1f253b2 | 1dd2a421ad1418666605035565e53cc0434c154c | refs/heads/master | 2021-09-28T11:34:00.868956 | 2013-07-20T17:34:02 | 2013-07-20T17:34:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | #if !defined(JSBRIDGE_CTX_H)
#define JSBRIDGE_CTX_H
struct JsData;
class DocFormater;
class HTMLWindow;
class JsCtx {
JsData *m_jsdata;
public:
JsCtx();
~JsCtx();
void Init(DocFormater *doc);
void SetWindow(HTMLWindow *window);
void Execute(const char *jscode);
void ExecuteStip(const char *jscode);
void Sourc... | [
""
] | |
511ef3cc508c06c5667bfa50c3b164a18facdc5c | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-17183.cpp | 7c20722a0c8ffa6116a03898a1fa7e7e3bd503fb | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,677 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : virtual... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
3411088244be6e1f210a5abd6bc86418ec63795f | bf437a984f4176f99ff1a8c6a7f60a64259b2415 | /src/inet/physicallayer/analogmodel/packetlevel/ScalarReception.cc | 9492c0e8f17f81a388496b5bc0115292206a1842 | [] | no_license | kvetak/ANSA | b8bcd25c9c04a09d5764177e7929f6d2de304e57 | fa0f011b248eacf25f97987172d99b39663e44ce | refs/heads/ansainet-3.3.0 | 2021-04-09T16:36:26.173317 | 2017-02-16T12:43:17 | 2017-02-16T12:43:17 | 3,823,817 | 10 | 16 | null | 2017-02-16T12:43:17 | 2012-03-25T11:25:51 | C++ | UTF-8 | C++ | false | false | 1,625 | cc | //
// Copyright (C) 2013 OpenSim Ltd.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program i... | [
"ivesely@fit.vutbr.cz"
] | ivesely@fit.vutbr.cz |
ca57be6f6f8c17353a3ad6995239a5c957d79a47 | e4b9850a094570da68a3d4160922b4d91bf50aff | /activity_selection_problem.cpp | 9fd3ef90fc798effd7bdd3ff3a6972c66101a63f | [] | no_license | mosiur-csevu/algolab | 8beb85123e2ed6c22ea5f0ccaf8c572edcb4f786 | d671664c570ffa510f8d000bead97c3c8ab303f5 | refs/heads/master | 2022-12-19T21:23:20.021730 | 2020-09-14T07:31:27 | 2020-09-14T07:31:27 | 281,621,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
int start[n], temp;
multimap<int,int>finish;
map<int,int>::iterator it;
for(int i=0;i<n;i++) {
cin >> start[i] >> temp;
finish.insert(make_pair(temp,i));
}
int currentTime=0,a... | [
"noreply@github.com"
] | noreply@github.com |
ea8d725f5a66ac7afe3f7ddff11302c4294645a2 | 1504b15a66e14c960b9b7db7a9ddfcba281bc4e0 | /apm_phase5/catkin_ws/src/apm_autonomous/src/local_driver.cpp | 6986e8e88bb26b8cf2f84d143059b1bb230de23a | [] | no_license | Kennya-42/Deep-SLAM | 62c046501a14a1a01c4d33004865bcbb57a84e8e | b0a1c09ca1b39f99fb5adf0a8f6fd30136ff0049 | refs/heads/master | 2023-03-15T15:14:54.931547 | 2018-04-17T15:08:00 | 2018-04-17T15:08:00 | 119,864,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,875 | cpp | /**
* pilot.cpp
* Pioneer robot driver - this node takes a set of waypoints
* and drives the robot through them
* Alex Avery
* 2/6/16
*/
#include "ros/ros.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/Point.h"
#include "geometry_msgs/Quaternion.h"
#include "std_msgs/Float64MultiArray.h"
#include "nav_ms... | [
"ksa6262@rit.edu"
] | ksa6262@rit.edu |
74644224b9c9d2718a6380f8b98f373ceff9b984 | f4efea04aca50b20dcdbce803b2fee6a0d3614b2 | /BPS/BLE.ino | ac87773340fe24c386398298665547db990ccdf9 | [
"MIT"
] | permissive | JohnMacrae/ESP32-BPS-24 | ea214a296b07f671d54b2f2ba8eae878be9e04c5 | 00f7539714845b4bc119299a9b19c3fb8b0fbf43 | refs/heads/master | 2023-04-07T05:01:42.268759 | 2021-04-10T05:30:08 | 2021-04-10T05:30:08 | 356,477,825 | 2 | 0 | null | 2021-04-10T05:17:29 | 2021-04-10T05:12:53 | null | UTF-8 | C++ | false | false | 2,455 | ino | /*
BLE Code
*/
/*class MyServerCallbacks: public BLEServerCallbacks {
void onConnect(BLEServer* pServer) {
deviceConnected = true;
BLEDevice::startAdvertising();
};
void onDisconnect(BLEServer* pServer) {
deviceConnected = false;
}
};
void BLEInit(void)
{
BLEDevice::init("ESP32... | [
"jramacrae@gmail.com"
] | jramacrae@gmail.com |
65553866a1d9b03aef3a74bd4909ec8f23e6a2f7 | d4c720f93631097ee048940d669e0859e85eabcf | /chrome/browser/ash/web_applications/face_ml_system_web_app_info.cc | b8e9aac25036d59a3b34fc987e72e3bf1c38e6c3 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 3b920d87437d9293f654de1f22d3ea341e7a8b55 | refs/heads/webnn | 2023-03-21T03:20:15.377034 | 2023-01-25T21:19:44 | 2023-01-25T21:19:44 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 3,251 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/web_applications/face_ml_system_web_app_info.h"
#include <memory>
#include "ash/constants/ash_features.h"
#include "ash/webui/face_ml_app_ui/url_... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
2bcb3b1abf1f8478fbd9564acc68cc2d30ff82b5 | fe5aa6ffd43d5b417a09d9e4788a1ce0fa7c2623 | /cmake/Tests/Qt4And5Automoc/main_qt4.cpp | a84ce897fda2a7c6223c2dda366423ed07adc08f | [
"BSD-3-Clause"
] | permissive | soegaard/racket-osx-libs | 5356e39d17ff208cb582912307e79e5baa540930 | 6341cc182c2645ebe9f175f56e7ba0b557eef893 | refs/heads/master | 2021-01-23T03:58:57.549738 | 2019-04-28T12:12:14 | 2019-04-28T12:12:14 | 14,662,966 | 5 | 2 | null | 2019-04-28T12:12:15 | 2013-11-24T14:50:34 | C | UTF-8 | C++ | false | false | 46 | cpp |
#include "main.cpp"
#include "main_qt4.moc"
| [
"jensaxel@soegaard.net"
] | jensaxel@soegaard.net |
997ae853ff481ba40e24fd12ec14a6d0e7a50089 | 12d9e3ed40f1d5706932a3e44e8a08ca185b52cf | /Sphere Online Judge/PT07Z - Longest path in a tree.cc | 9d1d74ff8cd765aafb0582addfe9c5933dd27ea9 | [] | no_license | SebastianJM/Competitive-Programming | 25f83ceb607fcc3d95fa35c5f06cb7894413b857 | 5cd9de9485ae3f882a7c85292a77e5d662fce08f | refs/heads/master | 2020-03-23T21:25:42.970408 | 2018-11-20T05:06:46 | 2018-11-20T05:06:46 | 142,105,914 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,036 | cc | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> Pii;
typedef vector<int> Vi;
typedef vector<Pii> VPii;
typedef vector<Vi> VVi;
typedef vector<VPii> VVPii;
#define pb(x) push_back(x)
#define MAX 10004
VVi g;
bool visit[MAX];
Pii bfs(int x)
{
queue<Pii> q;
q.push(Pii(x,0));... | [
"sebastianjmdlc@gmail.com"
] | sebastianjmdlc@gmail.com |
80682ac602cda6612e3f24f5427b5003d81d4a15 | e557ce74c9fe34aa2b68441254b7def699067501 | /src/libtsduck/dtv/descriptors/tsAudioComponentDescriptor.h | f60dca5c61128c292f50a23108cdcbaa15c1e8cc | [
"BSD-2-Clause"
] | permissive | cedinu/tsduck-mod | 53d9b4061d0eab9864d40b1d47b34f5908f99d8a | 6c97507b63e7882a146eee3613d4184b7e535101 | refs/heads/master | 2023-05-10T12:56:33.185589 | 2023-05-02T09:00:57 | 2023-05-02T09:00:57 | 236,732,523 | 0 | 0 | BSD-2-Clause | 2021-09-23T08:36:08 | 2020-01-28T12:41:10 | C++ | UTF-8 | C++ | false | false | 3,692 | h | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2023, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"thierry@lelegard.fr"
] | thierry@lelegard.fr |
bb12e3671d9af83ec46047f1636dfb65132479c8 | 4a48e01886c76b4067bfac67f547f0daac904da0 | /singleLDA/lda.h | 83aaa36bc2c5b40cf2bca86bfea415b1b7c94128 | [
"Apache-2.0"
] | permissive | guzhaki/lda | 6c2c52b1c0c573b3ae6c6cf179128f33b67b446f | 74ec742481f5209828c8f937324d4f2a1487affb | refs/heads/master | 2021-01-18T03:17:09.101220 | 2015-05-18T06:28:52 | 2015-05-18T06:28:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | h | #ifndef _LDA_H
#define _LDA_H
#include <iostream>
#include <thread>
#include <chrono>
#include <vector>
#include <queue>
#include "model.h"
#include "utils.h"
#include "vose.h"
#include "fTree.h"
#include "forest.h"
class simpleLDA : public model
{
public:
// estimate LDA model using Gibbs sampling
int specific_ini... | [
"manzilzaheer@gmail.com"
] | manzilzaheer@gmail.com |
dbd3c260ea3694f3989ae6088165989d8d91c62f | 260e5dec446d12a7dd3f32e331c1fde8157e5cea | /Indi/SDK/Indi_Default_functions.cpp | 97ef1a5bb7291880cfbbab717d7f1f07a0e5d5e7 | [] | no_license | jfmherokiller/TheOuterWorldsSdkDump | 6e140fde4fcd1cade94ce0d7ea69f8a3f769e1c0 | 18a8c6b1f5d87bb1ad4334be4a9f22c52897f640 | refs/heads/main | 2023-08-30T09:27:17.723265 | 2021-09-17T00:24:52 | 2021-09-17T00:24:52 | 407,437,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | // TheOuterWorlds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "Indi_Default_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
}
#ifdef _MSC_VER
#pr... | [
"peterpan0413@live.com"
] | peterpan0413@live.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.