blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5de6c3e8daf3c398e2b565c30e1236537be0e86f | 95bc37d087ee384a461d9f82348802fc29a44e07 | /casper/src/app.cpp | ad4fb9c6570c4be4e8bb623d756c580e317a0cb2 | [
"Apache-2.0"
] | permissive | karanvivekbhargava/phantom | 272bf42a625197166dc76d93b6361102fb1d8060 | 35accd85cbbfd793b9c2988af27b6cf3a8d0c76f | refs/heads/master | 2020-04-27T20:02:56.461992 | 2019-04-13T19:19:18 | 2019-04-13T19:19:18 | 174,643,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | cpp | #include "phantom/phantom.hpp"
#include "imgui.h"
#include <glm/vec3.hpp> // glm::vec3
#include <glm/vec4.hpp> // glm::vec4
#include <glm/mat4x4.hpp> // glm::mat4
#include <glm/ext/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale
#include <glm/ext/matrix_clip_space.hpp> // glm::perspective
//#include <g... | [
"karanb@umd.edu"
] | karanb@umd.edu |
5730cf31858c8117f1e189694a9ef71a79f4a2a6 | addf488ba98b8d09b0c430779ebd2649d29a3fea | /kdepim/knotes/knotebutton.cpp | 37251001020a6a79a84261cb8789ab3b7900b8d9 | [] | no_license | iegor/kdesktop | 3d014d51a1fafaec18be2826ca3aa17597af9c07 | d5dccbe01eeb7c0e82ac5647cf2bc2d4c7beda0b | refs/heads/master | 2020-05-16T08:17:14.972852 | 2013-02-19T21:47:05 | 2013-02-19T21:47:05 | 9,459,573 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | cpp | /*******************************************************************
KNotes -- Notes for the KDE project
Copyright (c) 2002-2004, The KNotes Developers
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Found... | [
"rmtdev@gmail.com"
] | rmtdev@gmail.com |
37d43d70aa5bb429815f05726fa37106531a33b3 | 56d1226dfefc93768a5f60ce15d1d7ca9bd58a08 | /ddraw/Versions/IDirect3DDevice.h | 9c27612705c14bf3c3af232b417cbdaea02baf7d | [
"Zlib",
"GPL-1.0-or-later"
] | permissive | elishacloud/dxwrapper | ef6e047a6c49b98b74bf0adcff80740e8c0fff42 | 258bc970a72c7a4bd89449527a537e6912acbfb3 | refs/heads/master | 2023-08-17T06:13:06.649077 | 2023-08-16T21:17:18 | 2023-08-16T21:17:18 | 81,271,358 | 968 | 83 | Zlib | 2023-08-22T19:56:05 | 2017-02-08T00:58:26 | C | UTF-8 | C++ | false | false | 1,941 | h | #pragma once
class m_IDirect3DDevice : public IDirect3DDevice, public AddressLookupTableDdrawObject
{
private:
m_IDirect3DDeviceX *ProxyInterface;
IDirect3DDevice *RealInterface;
REFIID WrapperID = IID_IDirect3DDevice;
const DWORD DirectXVersion = 1;
public:
m_IDirect3DDevice(IDirect3DDevice *aOriginal, m_IDirec... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
7cdfa0c841809d54cca0479f31112fd3b0db52c4 | 8f4391979d5a457cd88c249c6c49df98308b636b | /CF-236A.cpp | 1b067c6758cff9e4567d9bb00f61bcfd677d20f9 | [] | no_license | yangyuyi/CodeForces | efedd0307e6efa14280722b915df99d489881cf4 | 047eebc2b87901a7284e332dee4fb167ba5b85c4 | refs/heads/master | 2022-12-14T15:18:34.395410 | 2020-09-07T13:13:15 | 2020-09-07T13:13:15 | 293,265,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | //
// Created by Taro Young on 2020/9/7.
//
#include <iostream>
#include <string>
using namespace std;
int a[30];
int main() {
string s;
cin >> s;
int num = 0;
for (char ch:s) a[ch - 'a']++;
for (int i = 0; i < 26; i++) if (a[i] != 0) num++;
if (num % 2 == 0) cout << "CHAT WITH HER!";
els... | [
"TaroYoung2000@gmail.com"
] | TaroYoung2000@gmail.com |
be7b9277715c525ec91e3bd9d352a6e3400409d9 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/WRW+WR+pooncerelease+poreleaseacquire+Release.c.cbmc.cpp | 84eb738c22803ec448654120ae0cde3d4b051424 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 35,463 | cpp | // Global variabls:
// 0:vars:2
// 2:atom_1_X0_1:1
// 3:atom_2_X1_0:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 4
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define m... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
285ab902323daa435e953e6d2d28a0d762903269 | 758a13f9debcd78cd548cc7cc79843d421d809f3 | /devel/electron12/files/patch-ui_views_controls_label.cc | 5a1e9b7a98be7f864dfc4c5b8683fd8876188588 | [
"BSD-2-Clause"
] | permissive | DentonGentry/FreeBSD-ports | 5fbb8d96afcb47a1d26518bb11cc58dcf61dcfe2 | 8cf43fc967a5ba15ef1177fd62f14ef027e455b1 | refs/heads/main | 2023-08-06T01:43:17.261186 | 2021-08-28T13:08:05 | 2021-08-29T00:26:12 | 400,921,743 | 2 | 2 | NOASSERTION | 2021-08-29T01:01:27 | 2021-08-29T01:01:27 | null | UTF-8 | C++ | false | false | 1,020 | cc | --- ui/views/controls/label.cc.orig 2021-04-14 01:09:40 UTC
+++ ui/views/controls/label.cc
@@ -806,7 +806,7 @@ bool Label::OnMousePressed(const ui::MouseEvent& event
// TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
// of lacros-chrome is complete.
-#if defined(OS_LINUX) || BUILDFLAG(I... | [
"tagattie@FreeBSD.org"
] | tagattie@FreeBSD.org |
0265d99d0809777fb980a81122099f4bc47f043a | 15f0514701a78e12750f68ba09d68095172493ee | /C++/83.cpp | 9057ebff243f1ce1df2d4cc667170d6d7145760a | [
"MIT"
] | permissive | strengthen/LeetCode | 5e38c8c9d3e8f27109b9124ae17ef8a4139a1518 | 3ffa6dcbeb787a6128641402081a4ff70093bb61 | refs/heads/master | 2022-12-04T21:35:17.872212 | 2022-11-30T06:23:24 | 2022-11-30T06:23:24 | 155,958,163 | 936 | 365 | MIT | 2021-11-15T04:02:45 | 2018-11-03T06:47:38 | null | UTF-8 | C++ | false | false | 1,283 | cpp | __________________________________________________________________________________________________
12ms
class Solution {
public:
ListNode* deleteDuplicates(ListNode* head) {
ListNode *cur = head;
while (cur && cur->next) {
if (cur->val == cur->next->val) {
cur->next = cur... | [
"strengthen@users.noreply.github.com"
] | strengthen@users.noreply.github.com |
6e04db9c89197f56fc2ab561645f12f6b8270f3b | e1693e396a7f69b79b3fdbba315535576f332e77 | /ArduinoGameOfLife.ino | 01f46027f7b4340e63b1e94bd875c73f0276ef00 | [] | no_license | ReconditeRose/ArduinoGameOfLife | cb5aca0dfd41f0569cb6c1c315d7346ac4d63649 | 4079ec078389db366744e48e240a9c92476967d2 | refs/heads/master | 2021-01-19T22:29:45.344898 | 2015-04-18T21:04:57 | 2015-04-18T21:04:57 | 34,158,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,355 | ino | #include "Configuration.h"
#include "preDefinedArrays.h"
#include "GameOfLifeExecution.h"
/*
---------------Setup and main loop---------------
Main setup function for initializing input pins and main loop
*/
//Array that holds the current state of the cells
byte cell_Array[504];
void setup(void) {
LCDInit(); //... | [
"wizieldaguy@gmail.com"
] | wizieldaguy@gmail.com |
f7260be52ae7ca17f3c73b1f286a31f0b4ad7bc8 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5709773144064000_0/C++/venco5/B-small.cpp | 2ff2b735e025d222559031eb21ffa30c40305385 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | #include <string>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <cmath>
#include <numeric>
#include <algorithm>
#include <functional>
#include <cctype>
#include <sstream>
#include <cstring>
#include <iostream>
#include <iomanip>
#include <gmp.h>
#ifdef HOME_RUN
# include <debug.hpp>
# include... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
d1eda80f7d1b933068320d61d6a54c972dfcbef0 | 1cd965da612f3f0e4d458935cc60023de942b3a6 | /experiments/cpp/tpch_util/s3utils.cpp | 42665a49f6354f53d91f8dc0fd558732cdb8013e | [
"Apache-2.0"
] | permissive | weld-project/clamor | ad42d001078ceb9e74a4a9389050dc819bf6cdc3 | 72e7a75e608bb3407ab6f7ee47f24f707932b71a | refs/heads/master | 2023-09-03T12:56:48.623120 | 2021-11-04T18:00:46 | 2021-11-04T18:00:46 | 424,517,465 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,894 | cpp | #include <cstdlib>
#include <string>
#include <cstdio>
#include <sstream>
#include "s3utils.h"
#define BUF_SIZE 4096
using namespace std;
bool load_sf(int argc, char** argv, int& SF) {
for (int i=1; i<argc; i++) {
if (i+1 != argc) {
if (strcmp(argv[i], "-sf") == 0) {
SF = atoi(argv[i+1]);
... | [
"ubuntu@ip-172-31-11-211.ec2.internal"
] | ubuntu@ip-172-31-11-211.ec2.internal |
f2d980d347e3f23081dff7534168ab4b3f5238c4 | 62426493025bff2bdd773bcb3c3506c25e3b3af5 | /图和树/二叉树着色.cpp | c8cc6ff71b1cb91bc2df557eb6e9d61b7028d8f9 | [
"Apache-2.0"
] | permissive | nju-rookie/LeetCode | e225d3e682192088914bf8b6427cc51fdbf7892b | 43971db4784384da17610c78eaed149a3a5d574f | refs/heads/master | 2022-06-26T04:54:11.554148 | 2020-05-07T15:08:09 | 2020-05-07T15:08:09 | 240,482,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,389 | cpp | /**
有两位极客玩家参与了一场「二叉树着色」的游戏。游戏中,给出二叉树的根节点 root,树上总共有 n 个节点,且 n 为奇数,其中每个节点上的值从 1 到 n 各不相同。
游戏从「一号」玩家开始(「一号」玩家为红色,「二号」玩家为蓝色),最开始时,
「一号」玩家从 [1, n] 中取一个值 x(1 <= x <= n);
「二号」玩家也从 [1, n] 中取一个值 y(1 <= y <= n)且 y != x。
「一号」玩家给值为 x 的节点染上红色,而「二号」玩家给值为 y 的节点染上蓝色。
之后两位玩家轮流进行操作,每一回合,玩家选择一个他之前涂好颜色的节点,将所选节点一个 未着色 的邻节点(即左右子... | [
"xieyu@promote.cache-dns.local"
] | xieyu@promote.cache-dns.local |
76324692c87e74f91e0f9cad564d91746dd21ac4 | 545d1aa7075c423ac22d5057684d444c72d9a8c2 | /codes/1576-Replace-All 's-to-Avoid-Consecutive-Repeating-Characters/cpp/main1.cpp | 62d660aaa3c16bd13d77a5f24bc6bf02f603f348 | [] | no_license | Stackingrule/LeetCode-Solutions | da9420953b0e56bb76f026f5c1a4a48cd404641d | 3f7d22dd94eef4e47f3c19c436b00c40891dc03b | refs/heads/main | 2023-08-28T00:43:37.871877 | 2021-10-14T02:55:42 | 2021-10-14T02:55:42 | 207,331,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | class Solution
{
public:
string modifyString(string s)
{
for (int i = 0; i < s.size(); ++i)
{
if (s[i] == '?')
{
//前面一个字符 如果当前是第0个的话 字符就为‘ ’
char ahead = i == 0 ? ' ' : s[i - 1];
//后面一个字符 如果当前是最后一个的话 字符就为‘ ’
... | [
"38368554+Stackingrule@users.noreply.github.com"
] | 38368554+Stackingrule@users.noreply.github.com |
782ca1c0a55dcbf1ae68a4aff38d551a94f1a69f | 7d366a6bcf5e1b9b49925f08c0233194d023daea | /ConsoleApplication2/arvore.cpp | fb1f840b807eea808cc32170073b05a2e3e74134 | [] | no_license | GabrielAC17/C-Binary-Tree | ca2e8773ecc23dde5b999caa7c152feedaef954a | 2b8170867443ebd4b29461e333175b8b6f7462e4 | refs/heads/master | 2020-06-15T05:37:27.406382 | 2016-12-01T18:59:36 | 2016-12-01T18:59:36 | 75,322,995 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 8,997 | cpp | #include "arvore.h"
#include <malloc.h>
#include <stdio.h>
#include <stdbool.h>
void iniciar(struct NoArvore **raiz)
{
*raiz = 0;
}
void inserir(int valor, struct NoArvore **raiz)
{
struct NoArvore *aux = (struct NoArvore*)malloc(sizeof(struct NoArvore));
aux->info = valor;
aux->esq = 0;
aux->dir = 0;
if (*raiz... | [
"gabriel.de.ac@hotmail.com"
] | gabriel.de.ac@hotmail.com |
4ea399380bb179b88785f7e9caacfe7da2f2bbd7 | 4612e46be4ccd2c05c67baa6359b7d0281fd5f1a | /platform/atomic_word_test.cpp | 76d9634c3aea580b4d7b167bb5943cb2cda45edc | [
"Apache-2.0"
] | permissive | RedBeard0531/mongo_utils | eed1e06c18cf6ff0e6f076fdfc8a71d5791bb95c | 402c2023df7d67609ce9da8e405bf13cdd270e20 | refs/heads/master | 2021-03-31T01:03:41.719260 | 2018-06-03T11:27:47 | 2018-06-03T11:27:47 | 124,802,061 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,033 | cpp | /* Copyright 2012 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"redbeard0531@gmail.com"
] | redbeard0531@gmail.com |
d4b7d042ece43777f572aba91c0424bf7cfff9d0 | 1a3d5cf11c5c9df4bd58b3dedcebe5c01863bd96 | /Project_2/masses.h | 555f39de173521c66971d144a4ecc8e78af66259 | [] | no_license | sus-calderon/Programming_Projects | 4a88147f5c5d0c32a3f18ea789b07c3d5d07e3eb | 1d0ed6c4b07e36856c5a1b9f35868de4751b4e50 | refs/heads/master | 2023-04-06T23:33:24.974791 | 2021-04-14T05:17:20 | 2021-04-14T05:17:20 | 192,372,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | h | //Rewritten by Susana Calderon on June 11, 2019
//
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
double masses[] = {
0.000000,
1.007825,
4.002603,
7.016003,
9.012183,
11.009305,
12.000000,
14.003074,
15.994914,
18.998403,
19.992440,
19.99244... | [
"scalderon@vt.edu"
] | scalderon@vt.edu |
ece420416f8c5927a597079e20462a824a67770d | c6b920f08a4615a7471d026005c2ecc3267ddd71 | /adapters/Lammps/src/Glue/LammpsLatticeSQ.cpp | 61025a89e7fd2d3aeca4d21a8457259d4ac52c80 | [] | no_license | etomica/legacy-api | bcbb285395f27aa9685f02cc7905ab75f87b017c | defcfb6650960bf6bf0a3e55cb5ffabb40d76d8b | refs/heads/master | 2021-01-20T14:07:57.547442 | 2010-04-22T21:19:19 | 2010-04-22T21:19:19 | 82,740,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | /*
* LammpsLatticeSQ.cpp
* API Glue
*
*/
#include "library.h"
#include "LammpsLatticeSQ.h"
#include "LammpsSimulation.h"
namespace lammpswrappers
{
const char *const LammpsLatticeSQ::LATTICE_NAME = "sq";
LammpsLatticeSQ::LammpsLatticeSQ(IAPISimulation *sim, double sc) :
... | [
"rrassler@buffalo.edu"
] | rrassler@buffalo.edu |
6e9cab6ab4ce823de4870d4fde2a7fb3b6ea00d8 | c3acf1faf34e39e9bf510cab88042625d477fa86 | /recursion/1AscendingAndDescendingRecursion.cpp | 1e1d243c7c1849ded3d60dffc4b6c9f2a0fc588b | [] | no_license | neeraj-satyaki/dsa_daily_dose | 3068bfdf918b0488ca5ceebb362a305e7cbfcc20 | 0058cf2a9e17771b7da5732ad411ec8a5b758bbc | refs/heads/master | 2023-06-04T23:48:56.594764 | 2021-06-26T20:50:02 | 2021-06-26T20:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | //WAP to show ascending, descending recursion
#include <iostream>
using namespace std;
// Recursion in Ascending order
void fun1(int a){
if(a>0){
fun1(a-1);
cout<<a<<" ";
}
}
// Recursion in Descending order
void fun2(int a){
if(a>0){
cout<<a<<" ";
fun1(a-1);
... | [
"56729866+sambit221@users.noreply.github.com"
] | 56729866+sambit221@users.noreply.github.com |
837824c3441d3a69fff14c16395cc31a61c73079 | 5edb43d47325a36ecfe4abcc91b654db2d2db35a | /Wallstedt/patch.cpp | 5c81672c3670e09f879132d984db0583376b6115 | [
"LicenseRef-scancode-public-domain"
] | permissive | hoomanzarreh/simple-mpm | f65414a95759f135bb589146e1267ea3ffb50b45 | fdb059cf45ca0fd7b817b2c4996f036e8367be4d | refs/heads/master | 2021-01-17T22:33:13.831742 | 2013-04-05T04:57:50 | 2013-04-05T04:57:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | // Philip Wallstedt 2004-2009
#include "patch.h"
using namespace std;
// Cycle through each managed array and resize it
void patch::resizeParts(int s){
for(unsigned v=0;v<parts.size();v+=1)parts[v]->resize(s);
numberOfParts=s;
}
// Cycle through each managed array and resize it
void patch::resizeNo... | [
"bryangsmith@gmail.com"
] | bryangsmith@gmail.com |
c481863bada211a5f81706761dc2a04bf36080d0 | d2f30d9fb226185956c3da1e5372664aaa506312 | /synthesis/MeasurementComponents/nPBWProjectFT.h | 80dc3f15d009d2c039942e1d8b715bc275a8ce62 | [] | no_license | radio-astro/casasynthesis | 1e2fdacfcfc4313adde8f7524739a4dfd80d4c8f | 1cb9cd6a346d3ade9a6f563696d225c24654041c | refs/heads/master | 2021-01-17T05:22:01.380405 | 2019-01-08T10:43:34 | 2019-01-08T10:43:34 | 40,664,934 | 1 | 1 | null | 2022-12-16T13:17:36 | 2015-08-13T15:01:41 | C++ | UTF-8 | C++ | false | false | 20,849 | h | //# nPBWProjectFT.h: Definition for nPBWProjectFT
//# Copyright (C) 1996,1997,1998,1999,2000,2002
//# Associated Universities, Inc. Washington DC, USA.
//#
//# 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 Fr... | [
"gijs@pythonic.nl"
] | gijs@pythonic.nl |
e0637b87f2308fb45f553254770c201f84f88078 | 2c8044db6c97ab2e98ba45269ed8d24e0984ae18 | /AlgorithmsandDataStructures/6thLab/H(LcaH).cpp | deeb24a7229cbf1af5167d1d53d4c2df9a2b3b5d | [
"MIT"
] | permissive | Retnirps/ITMO | 1b2f5363b99a69f518d03e03c8d1099e97b1d65f | 29db54d96afef0558550471c58f695c962e1f747 | refs/heads/master | 2023-05-26T23:06:53.533352 | 2021-06-14T21:31:18 | 2021-06-14T21:31:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector < vector <int> > dp, sons;
vector <int> p, lvl, num, last, amount;
vector <bool> came;
int pow = 0;
void log(int n) {while ((1 << pow) < n) ++pow;}
int lca(int x, int y) {
if (lvl[x] < lvl[y]) return lca(y, x);
int dif = lvl[x] - lvl[y]... | [
"mihpihnaty@yandex.com"
] | mihpihnaty@yandex.com |
8eff900a0d9b00032569150c2a38117284c58e7e | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc035/A/2040456.cpp | 0a08462ff3ae57034eeb1d8c55a530411c43fe7c | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | cpp | #include <iostream>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <algorithm>
#include <functional>
#include <vector>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <bitset>
#include <cassert>
#include <exception>
using namespace std;
typedef long long ll;
typ... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
9c07bbf703babfe0559248edcbf055dc989e2664 | de6e4feb306e8db4822b50988c270c28df81b316 | /src/engine/director.cpp | d2b8e06aeca68d7c0a3c0c9709ca340e0eeef04e | [] | no_license | paarm/sfml_playground | d31baa43c04d7ac933991f4fe354c8da62f0fa16 | 4bbbc31a6fcb00e65fd881e0d5dfb2c52444107c | refs/heads/master | 2020-05-20T12:25:32.794985 | 2017-03-11T19:40:15 | 2017-03-11T19:40:15 | 80,448,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,813 | cpp | #include "director.h"
Director::Director() {
std::cout << "Director created" << std::endl;
mRootScene.scheduleUpdate(true);
}
Director::~Director() {
if (mWindowHandle.mSFL_Window) {
delete mWindowHandle.mSFL_Window;
mWindowHandle.mSFL_Window=nullptr;
}
mRootScene.deleteChilds();
std::cout << "Director dest... | [
"martin.paar@gmail.com"
] | martin.paar@gmail.com |
74c85bf31f896f65d7ca2970293b58d747594689 | 367fcc22d70995296920e965a846b3d409c7c9fe | /src/designpattern/Prototype.hpp | a4d1b4a7e53cd9989215222e9d029fb28cf854ae | [
"MIT"
] | permissive | brucexia1/DesignPattern | 1860a777a3eb9fd9bae47b70b1282c6e0329fa5b | 09dab7aaa4e3d72b64467efe3906e4e504e220c4 | refs/heads/master | 2021-01-17T05:02:24.514110 | 2017-07-09T13:16:21 | 2017-07-09T13:16:21 | 68,620,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | hpp | #pragma once
class Prototype
{
public:
virtual ~Prototype(void);
virtual Prototype *Clone() const = 0;
protected:
Prototype(void);
};
//派生自Prototype,实现其接口函数
class ConcretePrototype1:public Prototype
{
public:
ConcretePrototype1();
~ConcretePrototype1();
ConcretePrototype1(const ConcreteP... | [
"bruce_xia@yeah.net"
] | bruce_xia@yeah.net |
335cbf27f04fffe6f1ee49489bc3d9b8cc3fa1fd | 792f2ee67210556f224daf88ef0b9785becadc9b | /atcoder/Other/panasonic2020-C.cpp | 70dfa483dda3c53930b1ee0e0dd684e78f60b20f | [] | no_license | firiexp/contest_log | e5b345286e7d69ebf2a599d4a81bdb19243ca18d | 6474a7127d3a2fed768ebb62031d5ff30eeeef86 | refs/heads/master | 2021-07-20T01:16:47.869936 | 2020-04-30T03:27:51 | 2020-04-30T03:27:51 | 150,196,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include <iostream>
#include <algorithm>
#include <iomanip>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <numeric>
#include <bitset>
#include <cmath>
static const int MOD = 1000000007;
using ll = long long;
using u32 = unsigned;
using u64 = unsigned long long;
using namespace... | [
"firiexp@PC.localdomain"
] | firiexp@PC.localdomain |
3f0f4989a8e31cd2dc258de735e4d6e45b26a2bf | 715e4935e21e02d8f36bebd9413f388d56d686a5 | /no_cd_in.hpp | cd7af5d780d4e1f0a5ea02b250b63b70c1793ed9 | [] | no_license | leonardoraele/oosdl | 0c3566bf0039ad6088de22ac80032ac5aa208679 | 740ec22aaeaa1994ce252fd926719aee65a483b4 | refs/heads/master | 2021-01-20T07:20:31.328718 | 2017-05-02T04:41:50 | 2017-05-02T04:41:50 | 89,991,672 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | hpp | #ifndef OOSDL_no_cd_in_HPP
#define OOSDL_no_cd_in_HPP
#include "exception.hpp"
namespace OOSDL {
class no_cd_in : public exception<> {};
};
#endif
| [
"leonardoraele@gmail.com"
] | leonardoraele@gmail.com |
3648789957f55fe7df0df71f453546ae73372a0d | 6d3c407df83acdf75192c3145ce401f005625560 | /codechef/CKISSHUG/CKISSHUG-1304720.cpp | f8fc98ef18fe5b17cada631bd1e93c11eb56a052 | [] | no_license | premkamal13/my-code-repository | 79928a6892a606a413decb93e6ac85bd10cfdd01 | 1d097b4b782f54953b8a43b2efcd38a95c637e71 | refs/heads/master | 2020-04-15T08:26:08.224633 | 2019-01-08T01:16:44 | 2019-01-08T01:16:44 | 164,520,710 | 0 | 0 | null | 2019-01-08T01:07:58 | 2019-01-08T00:33:36 | null | UTF-8 | C++ | false | false | 577 | cpp | #include<cstdio>
#include<iostream>
using namespace std;
unsigned long long int pw(unsigned long long int);
unsigned long long int temp;
int main()
{
unsigned long long int n,t;
unsigned long long int y;
scanf("%llu",&t);
while(t--)
{
scanf("%llu",&n);
if(n&1) {n=(n+3)/2;y=pw(n)-2;}
else {n=n/2;y=3*pw(n)-2;}
printf("%... | [
"premkamal008@gmail.com"
] | premkamal008@gmail.com |
8cddf4176d40f64ab7187c173089237c3e1ed099 | 097195d38ef281f0b9fbc8895dd1981af92ed7d4 | /src/MentalLogic.cpp | cd1635e29857fb6a3bd58d888a3187b04b862b47 | [] | no_license | envelopegen/Strums_Mental_VCV_Modules | ebf73d5e89d52f1fbec3b87495e05bd6e905450d | f21c96b963694599d7f87808eb49b21727c834b1 | refs/heads/master | 2021-08-15T21:46:29.819350 | 2017-11-18T11:14:06 | 2017-11-18T11:14:06 | 111,190,407 | 1 | 0 | null | 2017-11-18T08:49:50 | 2017-11-18T08:49:50 | null | UTF-8 | C++ | false | false | 7,274 | cpp | ///////////////////////////////////////////////////
//
// Logic Gates VCV Module
//
// Strum 2017
//
///////////////////////////////////////////////////
#include "mental.hpp"
struct MentalLogic : Module {
enum ParamIds {
NUM_PARAMS
};
enum InputIds {
INPUT_A_1,
INPUT_B_1,
INPUT_A_2,
INPUT_B... | [
"strum@softhome.net"
] | strum@softhome.net |
008eff637bee93d61f49067769cfd95ebe55b256 | 19affc1bcce0b9818990e3e7b75dbf0b24d2abc2 | /Sorting and Searching/Stick_Lengths.cpp | 1f6e7aafcd0ff6d90007b6755033f7d4a2f89083 | [] | no_license | nayakashutosh9/CSES-Problemset-Editorial | 7e186d60d8efef7b9135036f6cb3b81396789e96 | 89f01f1e95a9a5d891f619b726a6292f4fb80a82 | refs/heads/master | 2023-02-08T11:51:45.725282 | 2020-12-24T15:03:31 | 2020-12-24T15:03:31 | 295,397,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | cpp | /*****************************************************
* created by: nayakashutosh9
* "Winners Never Quit and Quitters Never Win".
*****************************************************/
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
#pragma GCC optimize("Ofast"... | [
"nayakashutosh99@gmail.com"
] | nayakashutosh99@gmail.com |
6e72e1a855372feb1240c74bee9eda03c9413111 | 7f85422924a88e835eddd0e5fb6f32ad1e55ba04 | /headers/Mesh_Utils.h | 18c393cadd93f401a426ca72c51153b285884981 | [] | no_license | sangiole/Sticky-Branes | 3eb9b2d05d4ca52d12b7d5a04ff1097bbdbdf6f2 | 5bba4b4ee846e979eb0208eaa2d7254eda66134f | refs/heads/master | 2020-06-15T05:44:26.104768 | 2013-01-14T11:35:39 | 2013-01-14T11:35:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | h | // Utilities to calculate curvature and other quantities on a triangular mesh
// Created by Stefano Angioletti-Uberti on 04/11/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
#ifndef MESH__UTILS_H
#define MESH_UTILS_H
#include "headers/3D_Vectors.h"
#include "headers/Simu_variables.h"
#include... | [
"stefano.steno@gmail.com"
] | stefano.steno@gmail.com |
496ff1852ae8f017a6ad6f960dad63f8fe241ba2 | 41645a9ac81a1ac14496e623d33f2ec2cbfd573b | /Speed_Battle.ino | 3bcc863ffcfa4b161fb2b71ed695791f0cfc934a | [] | no_license | aia39/Line-Follower | aa4197913f531c8cdfe68ba1443ff7c82fce03be | 2b1fdcca1c3b895730b869be879ad4bd910fdf25 | refs/heads/master | 2021-06-21T01:37:00.320684 | 2021-02-15T06:23:03 | 2021-02-15T06:23:03 | 158,483,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,473 | ino | #define inA 2
#define inB 3
#define inC 4
#define inD 7
#define enA 5
#define enB 6
int leftBaseSpeed = 130;
int rightBaseSpeed = 130;
int maxSpeed = 255;
// SENSOR PARAMETERS
#define NUM_SENSORS 5
int thresholds[NUM_SENSORS] = {450, 450, 450, ... | [
"noreply@github.com"
] | noreply@github.com |
bcecfee1c29f98fbe5e080cb2e8a03ed58146c36 | 0fd7bfc4effe067c2887e2e29e08e9bfa4446398 | /Source/Plugins/FilterNode/Dsp/ChebyshevII.h | 0ee7d91840c51f4ef93caddec9f33451edcd51ad | [] | no_license | priyanjitdey94/plugin-GUI | baf4c17d9a50a8457fb047375f32672b7fa8d4bc | c1665986aac79888515b75a8a851211b1fb4c516 | refs/heads/master | 2021-01-17T17:54:01.994930 | 2016-04-07T18:28:27 | 2016-04-07T18:28:27 | 53,115,629 | 1 | 0 | null | 2016-03-04T07:17:38 | 2016-03-04T07:17:38 | null | UTF-8 | C++ | false | false | 10,662 | h | /*******************************************************************************
"A Collection of Useful C++ Classes for Digital Signal Processing"
By Vincent Falco
Official project location:
http://code.google.com/p/dspfilterscpp/
See Documentation.cpp for contact information, notes, and bibliography.
-----------... | [
"aacuelo@teleco.upv.es"
] | aacuelo@teleco.upv.es |
fb7647bfca82a56e675726342be654e780f15064 | 4b15331951e5a6bdbc577ac08932b8841464ed73 | /Projects/Cakewalk.cpp | d68873d7ff8011b48f83835d0d4a0172b915c58a | [] | no_license | abhaychandna/Practice | 2d37db548272e836b44b47a77035889f2bd96b5a | 2726564341eed6bdd912c9a7c67fc4f25cdd0c31 | refs/heads/master | 2022-12-26T11:11:21.641702 | 2022-12-17T13:35:44 | 2022-12-17T13:35:44 | 250,537,173 | 0 | 0 | null | 2020-03-27T14:15:32 | 2020-03-27T13:09:00 | C++ | UTF-8 | C++ | false | false | 900 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<map>
#include<stack>
#include<queue>
#include<string>
#include<set>
#include<cmath>
#define ll long long
#define mod 1000000007
#define INT_MAX 2147483647
#define INT_MIN -2147483648
#define vl vector<long long int>
#define vvl vector<vector<long long ... | [
"abhaychandna5@gmail.com"
] | abhaychandna5@gmail.com |
019bbc55626a8fdc8722e3e1acf1d7f0fa847323 | bdde281dae7b5bf7d23cb47339e4e2427388f3c8 | /src/client.cpp | 05921da285e633c4bc483bbaf68fb920e64f639a | [] | no_license | mfreiholz/qbroadcasttransfer | 5a82ba3ab76eeb66720582066f71f37b799d1bbb | a3e19b5b1cda6efaeb0c16978a1a0710ecc12d7c | refs/heads/master | 2016-09-05T17:37:55.584987 | 2014-09-14T20:04:50 | 2014-09-14T20:04:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,858 | cpp | #include <QTcpSocket>
#include <QUdpSocket>
#include <QDataStream>
#include <QTimerEvent>
#include "client.h"
#include "protocol.h"
Client::Client(QObject *parent) :
QObject(parent),
_serverConnection(0)
{
qRegisterMetaType<QHostAddress>("QHostAddress");
_serverConnection = new ClientServerConnec... | [
"manuel@insanefactory.com"
] | manuel@insanefactory.com |
3e827d2e6aca7f8ff605dfbb65c955343d7ad55b | 2f2b53cc5ccebdc44b50cc2bed10a0f77d6b974f | /praticasED/jogo/craps.cpp | ef588029e86c3fc51cd46b4a6eb2787c403f54d8 | [] | no_license | joaovictor3g/estrutura-de-dados | ada00f6819a78113e883f851e7550c96f37d566f | bb8ea7ef99c356b6fcf473deea9d4567aa968b4c | refs/heads/master | 2021-01-07T06:05:37.201580 | 2020-11-29T18:29:55 | 2020-11-29T18:29:55 | 241,600,837 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,813 | cpp | /*Um jogador rola dois dados. Cada dado tem seis faces.
Essas faces contêm 1, 2, 3, 4, 5 e 6 pontos.
Depois que os dados param de rolar, a soma dos pontos nas faces viradas para cima é calculada.
Se a soma é 7 ou 11 na primeira rolagem dos dados, o jogador ganha.
Se a soma é 2, 3 ou 12 na primeira rolagem dos dados... | [
"jvdias79797@gmail.com"
] | jvdias79797@gmail.com |
9ea4323453c81f5b205758cd4256e17ff98dd4a3 | 1fbc9b916cff41d177710596e34f3599f22ac2e2 | /philip.cpp | 9c805f9a70c51baaa9ab5858ecd037b17bb21817 | [] | no_license | PhilipOgweno/HMWORK6 | b471c19f68776b4c4a130d6e4b98679552351579 | 0e3e872b074a681575bf73696d32cf300c13e696 | refs/heads/master | 2016-09-09T17:01:03.069341 | 2015-03-20T03:06:49 | 2015-03-20T03:06:49 | 32,431,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,700 | cpp | /*
* Homework 6 Program, Station Channels
* Goal: Understand how to declare and manipulate a collections of objects
* using a arrays, enumerators, and structures
* Author: Luke Philip Ogweno
* 19 March 2015
* Github account: https://github.com/PhilipOgweno/HMWORK6.git
*/
// libraries
#include <iostream>
#inclu... | [
"ogwenop@gmail.com"
] | ogwenop@gmail.com |
ed12ef21cabcfceaa979c580da0d5df503f02fc5 | d69166c705602e264501b9dbf7b961e63f4cc27c | /11722.cpp | 6fc76f4c1a94c7460f780783f8a863138a6c1153 | [] | no_license | sieunK/Algorithm | 3e98bdacb69abb49086ebe4ff9bbaf14e21d05bd | fc0c8b6c6bb764b0ebdaa4d962becb8d728c2f91 | refs/heads/master | 2020-05-16T05:03:39.681884 | 2019-06-02T05:11:08 | 2019-06-02T05:11:08 | 182,801,844 | 0 | 1 | null | 2019-05-15T16:39:22 | 2019-04-22T14:13:14 | C++ | UTF-8 | C++ | false | false | 578 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int find_max(const vector<int>& vc, const vector<int>& res, int n)
{
int max_i = 0, max_v = 0;
for(int i=0;i<n;++i) {
if(vc[n] < vc[i] && res[i] > max_v) {
max_i = i;
max_v = res[i];
}
}
return max_v;
}
int main(void)
{... | [
"april908@naver.com"
] | april908@naver.com |
3d2e9ad435f02712f5048256db01da55824db779 | 91674ffe2596957dd0409029572c1db6792da299 | /tensorflow/compiler/mlir/tfr/passes/passes.h | f7189c335ca6ec68e9f77ca48f65880318354396 | [
"MIT",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | shinybrar/tensorflow | 7393778eaa2c195a63e92397bb9e620826b96682 | 49bd03e866739b069ab5d3c46f6574609190c517 | refs/heads/master | 2021-07-29T23:07:01.066510 | 2021-07-23T14:07:52 | 2021-07-23T14:07:52 | 184,306,157 | 0 | 0 | Apache-2.0 | 2019-04-30T17:44:02 | 2019-04-30T17:44:01 | null | UTF-8 | C++ | false | false | 1,959 | h | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
6d2062ab6d1f71be3fa62eee98b2a6eabf70c8a5 | 7b21a8a10cce25bf39daf61bd0a4f95bbc99c7c8 | /droidCrypto/ot/TwoChooseOne/KosOtExtReceiver.h | e40c7bd79e3192325e7958e9b26b91cc41de5efe | [
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | oliver-schick/mobile_psi_cpp | ffbed7f5e3a16148d525d24086a9690edb26221b | 4c5f0f56142535ca0d3524c99781cfd0c07b9205 | refs/heads/master | 2023-05-31T00:06:51.998171 | 2021-06-18T14:50:42 | 2021-06-18T14:50:42 | 334,582,054 | 0 | 1 | NOASSERTION | 2021-03-19T14:51:04 | 2021-01-31T05:40:21 | C | UTF-8 | C++ | false | false | 993 | h | #pragma once
// This file and the associated implementation has been placed in the public domain, waiving all copyright. No restrictions are placed on its use.
#include "OTExtInterface.h"
#include <array>
#include <droidCrypto/PRNG.h>
namespace droidCrypto
{
class KosOtExtReceiver :
public Ot... | [
"daniel.kales@tugraz.at"
] | daniel.kales@tugraz.at |
528dc04146790e5ad6f436e6f7ffbf24c32dd0b8 | cbd5049f4cb4113ac40aeba0c20dc47244b60ed3 | /C++ OOP/Laboratoare rezolvate/L5/P22/P22/functii1.cpp | d445a591cbbfc03c1c5ab5565d7759b52d717c08 | [] | no_license | ZavalichiR/Backup | b6989cec8b35534ba9b37bdc79c5e4f296b1dbca | 9a34a136abb5a51c5ea2f18dbf2e33987c18b56a | refs/heads/master | 2020-03-26T05:30:03.268047 | 2018-08-13T11:39:17 | 2018-08-13T11:39:17 | 144,560,065 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,526 | cpp | #include"Header1.h"
Persoana::Persoana()
{
varsta = 0;
gen = '\0';
//nume = new char[100];
//prenume = new char[100];
nume = nullptr;
prenume = nullptr;
}
Persoana::Persoana(int v, char *n, char *p, char g)
{
varsta = v;
this->gen = g;
int len;
len = strlen(n) + 1;
this->nume = new char[len];
strcpy_s(nume... | [
"z.zava96@gmail.com"
] | z.zava96@gmail.com |
048aadb01e88c56a4621b60aa158e815cf4b0445 | 3e2b9e3d1c3c5aeb4a245046edabe943b0739a99 | /Classes_Example/BMI.h | 441ee859e10c62c37ed9d5a7d385986fd7dee5aa | [] | no_license | JasJohn3/BMI | 31fcc4e173f25bed0f56c737c84a8aedbfe299ab | c16eb4d90655dec76dbe8ee125a0a6985776777f | refs/heads/master | 2020-03-29T22:54:15.739161 | 2018-09-26T15:08:37 | 2018-09-26T15:08:37 | 150,446,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #pragma once
#ifndef BMI_H
#define BMI_H
#include <iostream>
#include <string>
using namespace std;
class BMI
{
public:
//Constructor
BMI();
//Deconstructor
~BMI();
//Overload Constructor
BMI(string,int,double);
private:
//MEMBER VARIABLES
string newName;
int newHeight;
double newWeight;
protected:
};
... | [
"JASJOHN3@uat.edu"
] | JASJOHN3@uat.edu |
86d471c12653bd42a80aed800c0672ba8d19a3d1 | ed8528fd21d383ebcd8282cf0816d01493673487 | /Bison Graphics Engine Source/object3D.h | 6cb1b0183bb4941a130b4233b7c2fc6ae69d683e | [
"MIT"
] | permissive | kpatel122/Bison-Graphics-Engine | 27aa91b8c973a26950b06ff085d819ba1bcf4e4a | 5fc9469f1440b2fe3655adfb7313d760aaaee924 | refs/heads/master | 2020-03-27T00:00:37.204599 | 2018-08-21T16:03:34 | 2018-08-21T16:03:34 | 145,586,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | h | //#include "CVector.h"
#define RELEASE(x) { if (x){delete[] x; x = NULL;} }
struct OBJ_VERTEX
{
float x,y,z;
};
struct OBJ_FACE
{
bool drawn[3];
int vertexIndex[3];
int texIndex[3];
short faceNeighbour[3];
};
struct AnimInfo
{
int startFrame;
int endFrame;
char frameName[256];
};
class CObject3d
{
public:... | [
"kunal"
] | kunal |
2a8b8b28f5850dd7b409d5f305f539a486afa161 | 3481f261778ec1c4a22c8cb9b62f7610e4f73464 | /outputs/OscHandler.cpp | df739cce260711dbdfa12f38495ecd5d638e06fc | [] | no_license | ludoviclaffineur/MoOS | db4eba5b62d49c24a65b0d4003b4a5a75834f218 | b917ce6550ed62bcc526ebdb38ad345b48dacef5 | refs/heads/master | 2021-06-07T12:07:38.739091 | 2016-10-31T08:32:14 | 2016-10-31T08:32:14 | 24,750,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,684 | cpp | //
// Osc.cpp
// libpcapTest
//
// Created by Ludovic Laffineur on 29/10/13.
// Copyright (c) 2013 Ludovic Laffineur. All rights reserved.
//
#include "OscHandler.h"
#include <string.h>
#include <algorithm>
#include "AppIncludes.h"
OscHandler::OscHandler(): OutputsHandler("OscNew",0,1){
mDistant = lo_address_n... | [
"ludovic.laffineur@gmail.com"
] | ludovic.laffineur@gmail.com |
3657a70fbc65e03495dd33a8d8c0571e4b75e972 | 0baae10272abfe079aee9bca38affc1c3382ec37 | /src/raft/detail/snapshot.hpp | faa7343fd10768363da5d6e61e93605eebd0efe7 | [] | no_license | tempbottle/raftcpp | 5589af5552eb5409c9e0a045c856ff558a719796 | 20613714153ec745d846be4ac42e857bbcd7ca54 | refs/heads/master | 2021-06-09T20:43:05.003548 | 2016-12-20T09:27:31 | 2016-12-20T09:27:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,916 | hpp | #pragma once
namespace xraft
{
namespace detail
{
struct snapshot_head
{
uint32_t version_ = 1;
uint32_t magic_num_ = 'X'+'R'+'A'+'F'+'T';
int64_t last_included_index_;
int64_t last_included_term_;
};
class snapshot_reader
{
public:
snapshot_reader()
{
}
bool open(const std::strin... | [
"382018309@qq.com"
] | 382018309@qq.com |
07605d32f92555c643bb32a32631b34cc8b64aab | 2b6640d30d261ee751093bde2f83c8473af3d5fc | /src/qt/sendcoinsentry.cpp | 28564ac7cfbb5e61ebb0be886086cc4eb34d03c9 | [
"MIT"
] | permissive | CryptoWolfX/AnimalsCoin | 92fc2e4e915b4a969dd090b433b45c76db77deac | 975be625f0326f79318eb6d5b2ab407570df96f0 | refs/heads/master | 2021-05-10T14:48:52.328267 | 2018-02-11T14:59:21 | 2018-02-11T14:59:21 | 118,532,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,619 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbo... | [
"momocheyenn@gmail.com"
] | momocheyenn@gmail.com |
e2b5255120a3884ad5533fca81c615173c8db15d | 29b838b1680ac9ba0602950e3602e6bb8775b61f | /CONTEST/NEW_TOM_AND_JERRY.cpp | a62dec1ae39fbb9fda1515a0603f45bff76847ae | [] | no_license | sidsrivastavasks/CP-Programs | eeb74e7084679df5a923997a1e201eaf44818626 | da12f5e74f937b94e78ce17642b7d5ebc7760306 | refs/heads/main | 2023-08-03T20:09:59.220248 | 2021-09-16T18:02:40 | 2021-09-16T18:02:40 | 359,374,844 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | #include<iostream>
using namespace std;
long long int power(long long int x, long long int y)
{
if (y == 0)
return 1;
else if (y%2 == 0)
return power(x, y/2)*power(x, y/2);
else
return x*power(x, y/2)*power(x, y/2);
}
int main()
{
long long int t,k,count,r,i,final;
cin>>t;
w... | [
"55981532+sidsrivastavasks@users.noreply.github.com"
] | 55981532+sidsrivastavasks@users.noreply.github.com |
b9cc5c8bf108bc8e6afd7389b0a5e05c4226c6b1 | e743c9e9b9635ec356f1cb76c445a7c81e80a326 | /Labs/Lab4/classDec.h | 2336a5bdf76627a7d5148e4a77076640d0dfdcf4 | [] | no_license | ryanrichter/CS2028 | c0ff6c0434ce556ba4d1885df1228af555530589 | 7e801380112744c1f564899a1e9ff5834b6a00c9 | refs/heads/master | 2020-08-10T06:32:48.095763 | 2019-10-10T21:01:54 | 2019-10-10T21:01:54 | 214,283,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | h | #include <iostream>
#include <string>
using namespace std;
class baseGame{
protected:
string player1;
string playerInput1;
string player2;
string playerInput2;
public:
void getPlayer1(){
cout << "What is player 1's name? ";
cin >> p... | [
"noreply@github.com"
] | noreply@github.com |
b2a01614b9c40efd9f4ead550cf8afa20b49dba2 | e65a7a6dd0597e331d2fc5987b4163b11bf66e53 | /OpenCode/CodeCore.hpp | ee66c31491db5e7b657b83166d51712d04b06593 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | everysh95/OpenCodeLibrary | 5f458a7410d4afa2bccae556eed7f9eb32719d3b | 439ac7c8d12ba7bbeb395bbe5a2677b2bda0bec6 | refs/heads/master | 2020-12-25T14:58:37.711315 | 2016-10-05T14:09:08 | 2016-10-05T14:09:08 | 67,902,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | hpp | #ifndef GF0B3039598B84CDDA20A579ECB483DA1
#define GF0B3039598B84CDDA20A579ECB483DA1
#include<iterator>
namespace OpenCode
{
template<typename LT,typename F>
auto operator|(LT& target,F&& effecter) -> decltype(effecter(target))
{
return effecter(target);
}
template<typename CT>
constexpr CT count_bit(CT tar... | [
"satohiroaki88@gmail.com"
] | satohiroaki88@gmail.com |
82f877f45141308e18b9d9246009b0581522b05c | 01a547cdb1c116981f9a790709f982cf124204c0 | /generators/AliGenMimicPbPb.cxx | 56575dc11fc075d3a839290569954bf2c9e4d672 | [] | no_license | Lucas-NL/GlobalMuonTracking | 302252265245776626080f43ca22bc1dbd7315ce | dc3dab05a705fd37b060e7f4e481035a4e44c49c | refs/heads/master | 2023-08-14T16:56:58.272451 | 2021-06-30T07:14:25 | 2021-07-11T10:28:46 | 337,792,548 | 0 | 0 | null | 2021-03-01T13:53:04 | 2021-02-10T17:01:55 | null | UTF-8 | C++ | false | false | 7,821 | cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contribut... | [
"rafael.pezzi@ufrgs.br"
] | rafael.pezzi@ufrgs.br |
7a48877cd3604ec92a65e4c4865b42332d0c05b6 | 6895d9a7bbfafad93cea9353d12bf61adfd7533a | /quiz/bitcount.cpp | 9c5c88b7887e0355f092ebc6fea5b08220de6541 | [] | no_license | pisces312/AlgorithmInC | d6691d5bbb55012ae6cbe0cb99c2ea4f8abcd348 | e2adce9fdefd7ec8b3dbb094dbbe9f4d5864fc2d | refs/heads/master | 2021-01-17T22:24:16.574995 | 2017-04-21T12:15:36 | 2017-04-21T12:15:36 | 84,197,159 | 0 | 0 | null | 2017-04-21T12:15:37 | 2017-03-07T12:34:59 | C++ | GB18030 | C++ | false | false | 7,718 | cpp | #include"bitcount.h"
#include"../common.h"
#include <nmmintrin.h>
int bitCountByRemainder(unsigned int n) {
unsigned int c = 0 ;
while(n > 0) {
if((n %2) == 1)
++c ;
n/=2;
}
return c ;
}
int bitCountByBitOp(unsigned int n) {
unsigned int c = 0 ; // 计数器
while(n > 0... | [
"lee.ni@emc.com"
] | lee.ni@emc.com |
85b301321219e318229fd329a2035ed3d1ccfe6e | a15950e54e6775e6f7f7004bb90a5585405eade7 | /chromeos/components/proximity_auth/proximity_auth_local_state_pref_manager.cc | 004b6f55678c84694204c2b1f2d6a1cd7686603f | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 4,750 | cc | // 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.
#include "chromeos/components/proximity_auth/proximity_auth_local_state_pref_manager.h"
#include <memory>
#include <vector>
#include "base/logging.h"
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
55d65c829846d87d1b13a36adf5f1f6b5d525d1d | d36f11ac4059d5806348d322cf065a0e30fa6ffe | /ZF/ZFUIWidget/src/ZFUIWidget/ZFUIDialogBasic.h | dd44c422e33718c660beb806746b5bc3fe2235b5 | [] | no_license | hasmorebug/ZFFramework | ea9fa14d375658dd843b1f62ec34fcd2b5b1446f | fa14d0f04ad68cc59457908a3fcba148738ef8c3 | refs/heads/master | 2021-01-15T08:28:09.034834 | 2016-08-04T17:35:36 | 2016-08-04T17:35:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,045 | h | /* ====================================================================== *
* Copyright (c) 2010-2016 ZFFramework
* home page: http://ZFFramework.com
* blog: http://zsaber.com
* contact: master@zsaber.com (Chinese and English only)
* Distributed under MIT license:
* https://github.com/ZFFramework/ZFFramework/bl... | [
"z@zsaber.com"
] | z@zsaber.com |
9d25d51c640445c306fcacae79855ae716048f0d | efa09bded0b7ae305223c98a611dd44995aea37f | /level.h | 4c61370d22c74e8d8e4298fafcf8c1ab89fd84cc | [] | no_license | cioltanandrei/XmasProject | 2fd95b1735c653c6960c4c52b1a19aab44d87305 | d7207e79cb7028868760f72a58f9275263c183ea | refs/heads/master | 2021-08-19T08:40:48.959493 | 2017-11-25T15:11:29 | 2017-11-25T15:11:29 | 109,484,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | h | #ifndef LEVEL_H
#define LEVEL_H
#include "player.h"
#include "map.h"
class Level
{
private:
Player player;
Map map;
SDL_Rect position;
public:
void Load(char *_player_name,int w,int h);
void Clear();
void Print(Texture *_screen);
void Handle_Events();
void Start(char *_player_name,Texture *_screen);
bool ... | [
"pixelretrogames@github.com"
] | pixelretrogames@github.com |
633dcb69719470a9c425acc8c5822bdbf997e226 | 8ee0be0b14ec99858712a5c37df4116a52cb9801 | /Client/Interface/SlotContainer/ClanSkillSlot.cpp | 01e5274eb40a646ae3a5371a79a90e621b0a6a7d | [] | no_license | eRose-DatabaseCleaning/Sources-non-evo | 47968c0a4fd773d6ff8c9eb509ad19caf3f48d59 | 2b152f5dba3bce3c135d98504ebb7be5a6c0660e | refs/heads/master | 2021-01-13T14:31:36.871082 | 2019-05-24T14:46:41 | 2019-05-24T14:46:41 | 72,851,710 | 6 | 3 | null | 2016-11-14T23:30:24 | 2016-11-04T13:47:51 | C++ | UHC | C++ | false | false | 8,700 | cpp | #include "stdafx.h"
#include ".\clanskillslot.h"
#include "../../Common/IO_Skill.h"
#include "../../GameCommon/Skill.h"
//----------------------------------------------------------------------------------------------------
/// @param
/// @brief constructor
//--------------------------------------------------... | [
"hugo.delannoy@hotmail.com"
] | hugo.delannoy@hotmail.com |
85d732f749b9f13fd69830c6a6b9192a35fe800f | 425a40722860acaea7f92d0edcbfbbe4f3881a16 | /volume0/0067.cpp | 935a73e729a3483745c9b57d4c02664868244c71 | [] | no_license | eternity514/AOJ-solved | eb23556826676a204d403625d6890ef3d3002525 | 186d83c4884e0d388837ab58b3083bf195f230e2 | refs/heads/master | 2021-01-19T02:38:52.487975 | 2020-07-30T08:26:44 | 2020-07-30T08:26:44 | 73,489,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include <iostream>
#include <string>
using namespace std;
int a[12][12] = { 0 };
void remove(int y, int x) {
if (y > 11 || x > 11 || y < 0 || x < 0 || a[y][x] == 0) return;
a[y][x] = 0;
remove(y + 1, x);
remove(y - 1, x);
remove(y, x + 1);
remove(y, x - 1);
}
int main() {
string s;
do {
for (int i = 0; i <... | [
"0514eternity@gmail.com"
] | 0514eternity@gmail.com |
ed8a29e70a3441c420ab9776c55ccc2f87bf7eff | bb782ac840a8fde4c8477b5ef7b2825a6ca1e093 | /Simulator/srSimulator/Systems/Humanoid/Humanoid_Dyn_environment.cpp | 1ee4e6d006eaaeb29c414d880d0eb1386dcf95ba | [] | no_license | hchlhwang/DynaCoRE | f689629d0e0a002e56988e43a2b655b5f6b74fd4 | 3876ab25e2220fde0575fc1cfbc3e877229d246f | refs/heads/master | 2022-11-27T03:48:14.865992 | 2020-08-03T19:28:30 | 2020-08-03T19:28:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,063 | cpp | #include "Humanoid_Dyn_environment.h"
#include <iostream>
#include "srDyn/srSpace.h"
#include <stdio.h>
#include "common/utils.h"
#include <DynaController/Humanoid_Controller/Humanoid_interface.hpp>
#include <DynaController/Humanoid_Controller/Humanoid_DynaCtrl_Definition.h>
#include <RobotSystems/Humanoid/Humanoid_D... | [
"alex.d.kim0821@gmail.com"
] | alex.d.kim0821@gmail.com |
e8250e64a44da3cbc53897f1d243c8e8b693e4f7 | 6861ff3f56821b5e263de6ceec117e08d4ac19e8 | /Game/Debugging/DebugCategory.cpp | 13280e87ad9b2a8aed0a83c9007756a0918e7aac | [
"MIT"
] | permissive | Dev-Awesome/Artemis | 8c306be781f31069ef2d63eca50f3233216e9c6c | 1038e66537b491fdb55b2cbe4760bcc6ac08c55b | refs/heads/master | 2023-06-27T18:31:59.297850 | 2021-03-02T19:41:23 | 2021-03-02T19:41:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33 | cpp | #include "DebugCategory.h"
| [
"danieleverland@gmail.com"
] | danieleverland@gmail.com |
d6f242e0a2c935d0774c106e7cb4ab066cf298a0 | 96eaebd467794284f338a56b123bdfa5b98dd4d1 | /core/test/lib/boost/boost/asio/detail/impl/epoll_reactor.ipp | ff9a9982c3bb99d360d4d349482b55849cacc721 | [
"MIT"
] | permissive | KhalilBellakrid/lib-ledger-core | d80dc1fe0c4e3843eabe373f53df210307895364 | 639f89a64958ee642a2fdb0baf22d2f9da091cc3 | refs/heads/develop | 2021-05-14T07:19:17.424487 | 2019-05-20T20:33:05 | 2019-05-20T20:33:05 | 116,260,592 | 0 | 3 | MIT | 2019-06-26T08:07:16 | 2018-01-04T13:01:57 | C++ | UTF-8 | C++ | false | false | 23,161 | ipp | //
// detail/impl/epoll_reactor.ipp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
... | [
"andrii.korol@ledger.fr"
] | andrii.korol@ledger.fr |
7d239ca212b3fea02fb82775506133d884414380 | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/boost/property/rank1_object_property.hpp | 04d1de21229f688023ab2f11de1b2325cab3bd08 | [] | no_license | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 1,038 | hpp | // (C) Copyright 2004: Reece H. Dunn. 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)
#ifndef BOOST_PROPERTY_RANK1_OBJECT_PROPERTY_HPP
#define BOOST_PROPERTY_RANK1_OBJECT_PROPERTY_HPP
#include <boost/property/prop... | [
"msclrhd@hotmail.com"
] | msclrhd@hotmail.com |
678c0cce1a6456791c7f852bd1def5ee2848bd23 | 4e7f736969804451a12bf2a1124b964f15cc15e8 | /AtCoder/ABC/ABC032/C.cpp | 7e830b69aba7ddd24edd7794569d8daaeea80a1f | [] | no_license | hayaten0415/Competitive-programming | bb753303f9d8d1864991eb06fa823a9f74e42a4c | ea8bf51c1570566e631699aa7739cda973133f82 | refs/heads/master | 2022-11-26T07:11:46.953867 | 2022-11-01T16:18:04 | 2022-11-01T16:18:04 | 171,068,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using P = pair<int, int>;
typedef long long ll;
int main() {
int n, k;
cin >> n >> k;
vector<ll> a(n);
rep(i, n){
cin >> a[i];
}
rep(i, n){
if(a[i] == 0){
cout << n << endl;
return 0;
}
... | [
"hayaten415@gmail.com"
] | hayaten415@gmail.com |
50a53393f1a4a63d63648bec3360262529b2570e | 02a5e3091a348d73fed9907f550ee65691b6f057 | /COMP710-2019-S2/teams/JN/Wheelspin/Wheelspin/SplashScreen.cpp | 5ab6bdc7de9a8997099da2ac9e92923f6545fc05 | [] | no_license | Arniox/Game-Programming-Work | 86ef44405246fd3d88bd5eb9979ce42ca5176ce8 | 33473a0be84ea547f8a1316a236cbe272301a65c | refs/heads/master | 2020-06-30T21:57:27.969713 | 2020-02-18T07:19:55 | 2020-02-18T07:19:55 | 200,958,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | #include "SplashScreen.h"
#include "backbuffer.h"
#include "IniParser.h"
#include "InputManager.h"
#include "sprite.h"
#include "SceneManager.h"
#include "game.h"
#include "logmanager.h"
#include <string>
SplashScreen::SplashScreen(const char* logo, SCENES nextScene)
: m_pMaxSplashTime(0.0f)
, m_pScreenTime(0.0f)
, m... | [
"nikkdiehl@gmail.com"
] | nikkdiehl@gmail.com |
429ebe048da8bac26c7bb1a593da0d38c25556c0 | 2dc745549bb886a55f211b0eaa61a47169fc7dd6 | /ESP32_IOT_demo_2/iot_deshboard/iot_deshboard.ino | 4e662d34b6bd6af24a684b7afe01b8eae1194dc3 | [] | no_license | bench2012/IOT-Training | 108c730b905642c1a67159c86108dd3e9fe5c517 | f6e3a2a9051cd5b38206e591e8701a1692255a17 | refs/heads/main | 2023-05-29T15:02:16.736552 | 2021-06-11T14:51:15 | 2021-06-11T14:51:15 | 360,429,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,296 | ino | #include <dataControlsJS.h>
#include <dataGraphJS.h>
#include <dataIndexHTML.h>
#include <dataNormalizeCSS.h>
#include <dataSliderJS.h>
#include <dataStyleCSS.h>
#include <dataTabbedcontentJS.h>
#include <dataZeptoJS.h>
/*********
Complete rewritten (GUi) using ESPUI
*********/
#include <ESPUI.h>
#ifdef ESP32
#in... | [
"bench2004@gmail.com"
] | bench2004@gmail.com |
0221acb74389e02c525abfe84bfdb01a20c84c12 | 77b9933f6ed769b8cfcc9a16031ed7e494d0e023 | /common/TreeFile.hh | c60540132e4055e662d6b916e2714b33cac7c824 | [
"MIT"
] | permissive | m-dupont/TreeOuput | 0066a7966ba171abe1c483fc9fe4b20ec4ab94bc | 4167ec31d898e20676448999cf4b65b3a2b71695 | refs/heads/master | 2023-03-16T12:26:38.289706 | 2020-03-17T16:01:44 | 2020-03-17T16:01:44 | 187,620,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | hh | //
// Created by mdupont on 12/03/18.
//
#pragma once
#include <string>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <iostream>
#include <memory>
#include <fstream>
#include "File.hh"
class Data
{
public:
Data(const void * pointer_to_data,
const std::string _name,
cons... | [
"mdupont@cppm.in2p3.fr"
] | mdupont@cppm.in2p3.fr |
f1f7900be8b92683103e8bc1375d25c421dde34f | 18cd709cad01d13f06051e22a53111b4318a1ce2 | /src/rpcmasternode-vote.cpp | 1637a44f68c683763b25880642d16a9602a09ffb | [
"MIT"
] | permissive | NodeHost/NODECore | 8e0ba2794e6bd23af4e5c2126335c25a9c6e27ac | 527a1eee6f1a9992f0d3f1cb9ffecf67e0211b43 | refs/heads/master | 2020-04-02T09:04:44.575856 | 2019-02-07T05:02:29 | 2019-02-07T05:02:29 | 154,274,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,518 | cpp | // Copyright (c) 2018-2019 The NodeHost developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include "db.h"
#include "init.h"
#include "main.h"
#include "masternode-vote.h"
#include "mast... | [
"konez2k@gmail.com"
] | konez2k@gmail.com |
a5c80f00103ad19def76b9f5793e08e40d24fb2f | afeedc93b8108c18eb58065d3843f69d6fcf6437 | /EUD-Ops/src/EudOpsTrigGen.cpp | b74e160d801ed537ec28647faa8e5f06f84e8420 | [
"MIT"
] | permissive | TheNitesWhoSay/EUD-Ops | 649a5d1f32e275ae5b38f0b1bd5e4874414668f1 | 99846f59bb96b3d90c071b0216fef9d407d82f1c | refs/heads/master | 2022-03-30T11:36:16.470233 | 2018-01-01T13:52:55 | 2018-01-01T13:52:55 | 113,746,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,370 | cpp | #include "EudOpsTrigGen.h"
#include <stdarg.h>
#include <cstdarg>
#include <cmath>
bool EudOpsTrigGen::GenerateNoArg(std::string &output, GenerationData genData, EudOpDef def, EudAddress eudAddress)
{
output = "Generate case for " + def.eudOpName + " not found!";
return false;
}
bool EudOpsTrigGen::GenerateWi... | [
"forwardtojj@gmail.com"
] | forwardtojj@gmail.com |
117203c03f4b5bcffb18b60104ae86af7cd5d395 | d04f89b08c66a493859e81338938b1fdc8155a7d | /Laskari3/Laskari3/Ex2.cpp | 2206e8e50d971b4ed053c9c5d384d6f1858faeca | [] | no_license | AlexeySofiev/MonteCarlo | ee2ce747a26da3eac4380e1173fbdf41226eb82f | 33d876f002f6b7db0583bea60076c45c6340d44f | refs/heads/master | 2021-01-13T05:24:59.846073 | 2017-03-06T07:26:18 | 2017-03-06T07:26:18 | 81,415,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,176 | cpp | #include <iostream>
#include <math.h>
using namespace std;
void init_genrand64(unsigned long long seed);
double genrand64_real3(void);
int Ex2()
{
cout << "Exercise 2" << endl;
init_genrand64(431);
genrand64_real3();
long double R=0.0;
double dMinRatio=double(pow(10,7)), dMaxRatio=0.0, dMeanRati... | [
"sofiev@localhost.localdomain"
] | sofiev@localhost.localdomain |
d721da4733186be3260697e52b36ff18cd79b6c4 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/Rfast2/src/col_row_utilities.cpp | ea8afad50caa9f2875011ac53db50b08fa99b496 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,832 | cpp | #include <RcppArmadillo.h>
#include "templates.h"
using namespace Rcpp;
/*template<class T>
void group_col_vars_h(SEXP& x,SEXP& gr,const int length_unique,Environment& result){
const int ncl=Rf_ncols(x),nrw=Rf_nrows(x);
SEXP f=PROTECT(Rf_allocMatrix(TYPEOF(x),length_unique,ncl));
SEXP f2=PROTECT(Rf_allocM... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
a5861fb1f81a183d87f937a5878a255617df89cb | e04f52ed50f42ad255c66d7b6f87ba642f41e125 | /appseed/aura/graphics/visual/detect_8bit_borders.cpp | d65a88dccdd9c8990594411f46abde55d686b3fc | [] | no_license | ca2/app2018 | 6b5f3cfecaa56b0e8c8ec92ed26e8ce44f9b44c0 | 89e713c36cdfb31329e753ba9d7b9ff5b80fe867 | refs/heads/main | 2023-03-19T08:41:48.729250 | 2018-11-15T16:27:31 | 2018-11-15T16:27:31 | 98,031,531 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,722 | cpp | #include "framework.h"
#define pixel(x, y) (ba[(pointer->m_rect.height() - (y) - 1) * iScan + (x)])
bool detect_8bit_borders(::draw2d::dib * pdibCompose, ::visual::dib_sp::array * pdiba, ::visual::dib_sp::pointer * pointer, int uFrameIndex, byte * ba, int iScan, array < COLORREF > & cra, int transparentIndex)
{
... | [
"camilo@ca2.email"
] | camilo@ca2.email |
bec2d8f2ec62867adf65d15a1a744adae2f3b923 | fc76556b01d2efa1b4f83da4172472cb6efe91ca | /kernel/text_screen.h | 8f76fb88174d4cacb94835168c5c940de0f72bb5 | [
"MIT"
] | permissive | mras0/attos | fda0f798b433f116330f5e7464017d130608fe92 | 43344666108a427799684019f58a4b1cbb08cb91 | refs/heads/master | 2020-05-21T15:00:18.809593 | 2016-09-24T13:31:31 | 2016-09-24T13:31:31 | 62,079,760 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | #ifndef ATTOS_VGA_TEXT_SCREEN_H
#define ATTOS_VGA_TEXT_SCREEN_H
#include <attos/out_stream.h>
namespace attos { namespace vga {
class text_screen : public out_stream {
public:
explicit text_screen();
text_screen(const text_screen&) = delete;
text_screen& operator=(const text_screen&) = delete;
void ... | [
"michaelrasmussen1337@gmail.com"
] | michaelrasmussen1337@gmail.com |
3e5beea90679f7b1f43d3cfe9093bcc5a3c493a4 | fdfc2b3438a8fc210eaec23672ccbe561ce36b07 | /poc/openepos/.svn/pristine/3e/3e5beea90679f7b1f43d3cfe9093bcc5a3c493a4.svn-base | 36512d86e002f1dd0fafb7f3573a24371a2a6875 | [] | no_license | soldi/mestrado | e26dac3dbc5f1ff88f36765a6ef239c9520460bf | e9e3d33ec7f361de4637aeb8f9f8e7996dcf4d56 | refs/heads/master | 2021-01-15T11:28:49.113106 | 2015-10-30T15:31:56 | 2015-10-30T15:31:56 | 16,246,005 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 385 | // EPOS-- ATMega128 Mediator Implementation
#include <mach/atmega128/ic.h>
__BEGIN_SYS
ATMega128_IC::Interrupt_Handler ATMega128_IC::_int_vector[INTS];
__END_SYS
__USING_SYS
extern "C" void __epos_call_handler(char offset);
extern "C" void __epos_call_handler(char offset) {
IC::Interrupt_Handler handler = ... | [
"soldi"
] | soldi | |
ae5039c4dd05ee02c12ab14ce6e15261d0e0eae4 | ab8a81faf0288d9b5ec651bd3f5b758087018390 | /Transform.h | 4dcdc60f3a830e5bf0f27176c55a4fd0d752f67b | [] | no_license | nybblr/cs4496-project-4 | c661b1264fbf79b4a95803a595a738dbcff61591 | 882ea70e274a6bca2841645493c86ead49629c46 | refs/heads/master | 2020-04-09T20:18:44.610863 | 2013-05-01T15:33:12 | 2013-05-01T15:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | h | #ifndef __TRANSFORM_H__
#define __TRANSFORM_H__
#include "vl/VLd.h"
class Dof;
class Transform
{
public:
virtual void Apply() = 0;
virtual ~Transform() {}
virtual Mat4d GetTransform(){Mat4d m=vl_zero;return m;} // return a 4x4 affine transformation evaluated at the current dof
virtual bool IsDo... | [
"me@nybblr.com"
] | me@nybblr.com |
42269a1c82412c9426a94fcb7ce0031bb30419e7 | df61634940f7017cf82fca3a56b6d2cd2f794a54 | /Sample/Sample/HelloLevel2D.h | 456bbb42d88e756eb37000cc061711a10ef5a947 | [] | no_license | Ukun115/CarBOOM | af323a099ca0797b5c82a0622ec4d67450732666 | 70e3ea83897712579f728817b449415706fb6f48 | refs/heads/master | 2023-07-17T21:51:44.939018 | 2021-08-26T02:55:23 | 2021-08-26T02:55:23 | 373,708,624 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 414 | h | #pragma once
#include "level2D/Level2D.h"
/// <summary>
/// レベル2D処理のサンプルクラス。
/// </summary>
class HelloLevel2D : public IGameObject
{
bool Start() override;
void Update() override;
void Render(RenderContext& rc) override;
private:
Level2D m_level2D; //レベル2D。
Sprite m_sprite; //スプライト。
Vector3 m_position; //座標... | [
"kbc18b09@stu.kawahara.ac.jp"
] | kbc18b09@stu.kawahara.ac.jp |
0ab68c8524b43947a04bd58daf1d1ebcfe405ec8 | 51247d7a36526e81d720727d0328ceab2fc4e077 | /RedFogMagic/RedFogMagic/Type.hpp | 146c6d6daa6410018dff9b9599bf4200458e50f1 | [] | no_license | RedFog/RedFogMagic | c6b9ca0380c3a5de0389c7c8c74035a1e07ee568 | 7ce40bb4c8ffda7a1345eb52e8b6897ae4628fdf | refs/heads/master | 2021-03-12T20:38:29.546056 | 2014-10-22T13:09:40 | 2014-10-22T13:09:40 | 25,562,253 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 37,053 | hpp | #pragma once
#include "PMP.hpp"
#include <functional>
#define $lf(item) Types::FunctorType<decltype(item)>::Result
namespace Types{
template<typename...>struct TypeArray;
template<size_t...>struct NumArray;
template<char...>struct TMPString;
template<typename Type, Type...>struct ScalarArray;
//result: <bool> 类... | [
"lunaticecho@gmail.com"
] | lunaticecho@gmail.com |
8c7117e2fe17c761842cac284c3114326114800f | fb9eeef1ce1f67b7d3f5544949d59c5b35dd1428 | /11.container-with-most-water.cpp | 9b184f709e88203630c220f962f28991fdaccf60 | [] | no_license | ZanneZankyo/LeetCodeSandBox | af5b226ad8008f2a091a2ebb7028a2eb55c64fc1 | ed91e4311e5dc654278bfa8e507f7c2f6a26b61c | refs/heads/master | 2022-06-09T01:51:34.314253 | 2022-03-14T01:11:07 | 2022-03-14T01:11:07 | 175,725,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | cpp | /*
* @lc app=leetcode id=11 lang=cpp
*
* [11] Container With Most Water
*
* https://leetcode.com/problems/container-with-most-water/description/
*
* algorithms
* Medium (42.94%)
* Total Accepted: 328K
* Total Submissions: 763.8K
* Testcase Example: '[1,8,6,2,5,4,8,3,7]'
*
* Given n non-negative integer... | [
"zannezankyo@gmail.com"
] | zannezankyo@gmail.com |
d359afea6910b29b78ae51ac2def2479aa93ac10 | f1650097b029bb2446e4d23fc76b53ec971e2a53 | /stm32loader/src/ap/boot/device/stm32_pid_450.cpp | b549ff22d1c37330e04c4e03319722be49969555 | [
"Apache-2.0"
] | permissive | chcbaram/stm32loader | be762407a4d86160cb380eebbddb0a1fc3dfd439 | e8c55a4be92c4b6060153b6717b9cb6b5b505de3 | refs/heads/master | 2023-04-06T06:51:28.192323 | 2023-03-17T19:20:18 | 2023-03-17T19:20:18 | 185,759,217 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | /*
* stm32_pid_449.cpp
*
* Created on: 2019. 5. 10.
* Author: HanCheol Cho
*/
#include "boot/boot.h"
static device_info_t stm32_pid_450[16+2];
device_info_t *stm32_pid_450_info(void)
{
int i;
for (i=0; i<16; i++)
{
stm32_pid_450[i].sector_index = i;
stm32_pid_450[i].sector_addr = 0x080... | [
"chc@robotis.com"
] | chc@robotis.com |
9715dbb0a478eacc7221e6dd27dd166a5ac2b87c | 85e3837c748ecb287e1a0ba8407954741962ffd1 | /Randomly/10035_218.cpp | ebe44debf8554070e1248da9ac64bae43b0f9324 | [] | no_license | infyloop/uva-solns | cc146c1ea1853a834ce324cfd73d470a5a8e252d | df6c94ece4c9f7e552210f6ab901327f14e4ed81 | refs/heads/master | 2021-05-26T22:26:26.198382 | 2013-02-04T05:58:55 | 2013-02-04T05:58:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include<iostream>
using namespace std;
int main()
{
unsigned long n1,n2,c,c0,op = 0;
while(cin>>n1>>n2 &&( n1 != 0 || n2 != 0))
{
c0 = 0;op = 0;
while(n1 > 0 || n2 > 0)
{
c = 0;
c = n1%10 + n2%10 + c0;
if(c... | [
"contact@fruiapps.com"
] | contact@fruiapps.com |
db1a2fbf8b705c9c25d53b56910fc85a0d99bd3d | 9fd0b6465570129c86f4892e54da27d0e9842f9b | /src/runtime/libc++/test/containers/associative/multiset/lower_bound.pass.cpp | 585c341cd23821208533501e1fedb6e5737ab015 | [
"BSL-1.0"
] | permissive | metta-systems/metta | cdbdcda872c5b13ae4047a7ceec6c34fc6184cbf | 170dd91b5653626fb3b9bfab01547612efe531c5 | refs/heads/develop | 2022-04-06T07:25:16.069905 | 2020-02-17T08:22:10 | 2020-02-17T08:22:10 | 6,562,050 | 39 | 11 | BSL-1.0 | 2019-02-22T08:53:20 | 2012-11-06T12:54:03 | C++ | UTF-8 | C++ | false | false | 2,130 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"berkus@exquance.com"
] | berkus@exquance.com |
8a3f8e1f62ee27f95e1880d1e8c1168fe7cb043e | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h | 282615fa63f37171cb90e14978c01070fe081730 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 8,174 | h | // Copyright 2014 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 WebGLImageConversion_h
#define WebGLImageConversion_h
#include "platform/PlatformExport.h"
#include "platform/graphics/Image.h"
#include "third_p... | [
"22249030@qq.com"
] | 22249030@qq.com |
571d71d0c4753ee13154db418eccd465407769f9 | 72a382bb6c092837662e80c11ed00f7034be11e8 | /Design a Simple Automaton (Finite State Machine)/Source.cpp | f3fcf503af17d365db612aeec9605d8e6fe40997 | [] | no_license | Uni-M/CodewarsC | 4dc0887d31d92425ab6f21be72d74a6ca1cbd276 | 29ef82ccfc6ae68e3565d6d4c477f7d5d8335608 | refs/heads/master | 2023-06-26T06:44:07.412333 | 2021-07-26T08:57:02 | 2021-07-26T08:57:02 | 389,310,685 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include "stdafx.h"
#include "AutomatonClass.h"
using namespace std;
int main() {
setlocale(LC_ALL, "ru");
Automaton a;
vector<char> v = { '1', '0', '0', '1', '0' };
cout << a.read_commands(v); // ==> false
system("pause");
} | [
"noreply@github.com"
] | noreply@github.com |
f6e4dd0d48416e04516a68ec9a9ae84781bc21ba | 092e8797ce9a28a5ae4ad9f473dd6612aa80d210 | /compiler/Engines/optimized-engine/specific/include/Initializable.hpp | 1a029bd8fa1976fdb414343cc49ee60ad83d02a1 | [
"LicenseRef-scancode-cecill-b-en"
] | permissive | toandv/IFinder | faf4730e5065ff6bc2c457b432b9bb100b027bba | 7d7c48c87034fb1f66ceb5473f516dd833f49450 | refs/heads/master | 2021-04-19T23:44:27.674959 | 2020-03-24T07:36:33 | 2020-03-24T07:36:33 | 249,641,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,224 | hpp | /**
* Copyright Verimag laboratory.
*
* contributors:
* Jacques Combaz (jacques.combaz@univ-grenoble-alpes.fr)
*
* This software is a computer program whose purpose is to generate
* executable code from BIP models.
*
* This software is governed by the CeCILL-B license under French law and
* abiding by the... | [
"you@example.com"
] | you@example.com |
dc6606cf17681f00a5f60f66d28962299b9e8109 | caff618dd73c0c8cc1c2f8b9e71893385f2d3b8d | /lib/HMC5883L/HMC5883L.cpp | dc6e5d19d650378bed8c580c57b792d745835a95 | [] | no_license | DominicChm/AntennaTracker | 03fc10054ce9142524d7805cf66ddcbd2299e577 | 4f000b98cba8e90676254f2187988cb67a61898b | refs/heads/master | 2022-11-27T18:31:31.155797 | 2020-08-11T19:30:37 | 2020-08-11T19:30:37 | 286,830,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,332 | cpp | //
// Created by Dominic on 8/3/2020.
//
#include "HMC5883L.h"
using namespace HMC5883L_CFG;
bool HMC5883L::begin(int sda, int scl) {
aWire.begin(sda, scl);
if ((readSync8(REGISTERS::IDENT_A) != EXPECTED_IDENT::A) ||
(readSync8(REGISTERS::IDENT_B) != EXPECTED_IDENT::B) ||
(readSync8(REGISTERS... | [
"dominicchm.g@gmail.com"
] | dominicchm.g@gmail.com |
e1a44abc06282ebdf8d09729a62b15f3700d4cc2 | fc71d399c24b9994e19e10d8e9c57eb2a4936cb3 | /io/point_cloud_io.h | 045a63dad3c6c18076c356f755a287b168af95e5 | [
"Apache-2.0"
] | permissive | mctyro/draco | 515e62ee6098c8d044d4e0b90abca2b880932d2d | 259b198fcf55f7b44c60508e92e767f45a56e9e9 | refs/heads/master | 2021-01-11T19:02:51.216001 | 2017-01-18T03:39:02 | 2017-01-18T03:39:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,991 | h | // Copyright 2016 The Draco Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | [
"fgalligan@google.com"
] | fgalligan@google.com |
586da1b421aaceb00bb4abf5d40358c2c3c39c8b | c993b955f1d0e77952c53a2abfe8f582a32a802c | /ref-impl/include/OM/OMWeakReferenceVectorIter.h | cca9392a893fcff429bc924863943dbca6d3fa8d | [] | no_license | christianscheuer/aaf | 6d67e767f439d6f43c3b7fba64336876bcbc0b8d | 0b76dd5bf4f70b0e7b3c33fd6d923ce6f67c71aa | refs/heads/master | 2020-05-01T03:08:19.586353 | 2019-05-01T09:34:40 | 2019-05-01T09:34:40 | 177,238,098 | 0 | 0 | null | 2019-03-23T03:12:02 | 2019-03-23T03:12:02 | null | UTF-8 | C++ | false | false | 9,293 | h | //=---------------------------------------------------------------------=
//
// $Id$ $Name$
//
// The contents of this file are subject to the AAF SDK Public Source
// License Agreement Version 2.0 (the "License"); You may not use this
// file except in compliance with the License. The License is available
// in AAFSD... | [
""
] | |
a273a5982be776085c16f9ae5858cb1cf52a7b8d | a01c6409954dece57baf5193e6b8d1cc6a347efd | /Classes/HelloWorldScene.cpp | 325802b11b88ede463200d6747a8a4657ab3752a | [] | no_license | AidanBrasseur/Asteroid-Dodge | 9e31b917c926184a1eac9adbbc5f5548f3667554 | b909a5c2d292cce87d87fc33cb938405cf5a2b2b | refs/heads/master | 2020-04-18T20:18:40.108317 | 2019-01-26T20:20:45 | 2019-01-26T20:20:45 | 167,734,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,754 | cpp | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... | [
"noreply@github.com"
] | noreply@github.com |
dbdd15fc046105550323e3f2659e8ecb366fad5b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_163_curl-7.51.0.cpp | 9e2d92d0705ff8b0e532f6b7c4435c8d58654625 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | cpp | static void mcode_or_die(const char *where, CURLMcode code) {
if(CURLM_OK != code) {
const char *s;
switch (code) {
case CURLM_BAD_HANDLE: s="CURLM_BAD_HANDLE"; break;
case CURLM_BAD_EASY_HANDLE: s="CURLM_BAD_EASY_HANDLE"; break;
case CURLM_OUT_OF_MEMORY: s="... | [
"993273596@qq.com"
] | 993273596@qq.com |
919a3b4a6e084f0496555594cc417674a1a762a6 | e0387cf8f45d3e2b7ea3788b299f195a621708a8 | /Source/Sable/Graphics/LensFlare/RenderPass.h | e36c569155f4205afe3b28438d99e434433c3edb | [] | no_license | ClementVidal/sable.sable | eea0e822d90739269e35bed20805a2789b5fbc81 | 0ec2cd03867a4673472c1bc7b071a3f16b55fb1b | refs/heads/master | 2021-01-13T01:28:54.070144 | 2013-10-15T15:21:49 | 2013-10-15T15:21:49 | 39,085,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,775 | h | #ifndef _SABLE_GRAPHICS_LENSFLARE_RENDERPASS_
#define _SABLE_GRAPHICS_LENSFLARE_RENDERPASS_
#include <Sable\Core\Common\DataTypes.h>
#include <Sable\Graphics\Geometry\Header.h>
#include <Sable\Graphics\Shader\Header.h>
#include <Sable\Graphics\RenderPass\RenderPass.h>
#include <Sable\Graphics\States\HEader.h>
... | [
"clement.vidal@lam.fr"
] | clement.vidal@lam.fr |
e63b011891167f27bfeb4f6cf3f018f328fa9b0d | 1f27129f4400f633428231f459e15d6f9d48db89 | /TransferList.cpp | 71067296a6e942c0b2e55e4e7e62082e49bf1b49 | [] | no_license | Disky/sdat2img | 7b4947ea47baae5c0201a6b1d297f69e54a38ecf | 9a9b47ccf43f025e7e3b864686f91ec71cbc6e8a | refs/heads/master | 2021-01-12T16:28:46.103874 | 2016-08-31T06:14:41 | 2016-08-31T06:14:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | /* -*- coding: utf-8 -*-
* Filename : TransferList.cpp
* Date : 2016-08-16
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <string>
#include <algorithm>
#include <TransferList.hpp>
TransferList::TransferList(FILE *__fp)
{
Initializer(__fp);
}
void TransferList::Initializer(... | [
"zerozakiGeek@gmail.com"
] | zerozakiGeek@gmail.com |
29f3361ae7502e56fdf02a156fc6119abd4248d6 | e95adb59feacfe95904c3a8e90a4159860b6c26a | /build/Android/Preview/outsideTheBox/app/src/main/include/Uno.ColorHelper.h | 140e424b8bef71153c651ab9d0f8e6bfb8dfb6a1 | [] | no_license | deliloka/bethebox | 837dff20c1ff55db631db1e0f6cb51d935497e91 | f9bc71b8593dd54b8aaf86bc0a654d233432c362 | refs/heads/master | 2021-01-21T08:20:42.970891 | 2016-02-19T10:00:37 | 2016-02-19T10:00:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | h | // This file was generated based on '/usr/local/share/uno/Packages/UnoCore/0.23.4/Source/Uno/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.h>
namespace g{namespace Uno{struct ColorHelper;}}
namespace g{
namespace Uno{
// internal static class ColorHelper :1517
/... | [
"Havard.Halse@nrk.no"
] | Havard.Halse@nrk.no |
f2a4eea9a284b9591b5cb41eddd9e12903daf21a | 4a19d087cf29ea07ac6b19e6f86c416793f89966 | /geom/segment3.hpp | e2f2d9e486704a60c9aea76b4fa8597c5ec2266d | [] | no_license | venkat78/agrid | 17a9e570bd15ae3b76a821e1a726e7a83658798a | 511894fc385c416aad2a113fe5fb5081676ef6a0 | refs/heads/master | 2021-01-01T05:49:49.362889 | 2013-03-30T14:44:29 | 2013-03-30T14:44:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | hpp |
#ifndef _GEOM_SEGMENT3_H_
#define _GEOM_SEGMENT3_H_
namespace geom {
class cBOX3;
class cSEGMENT3
{
public:
cSEGMENT3()
{}
cSEGMENT3(const cSEGMENT3 &segment) : m_endPoints(segment.m_endPoints)
{}
cSEGMENT3(const cPOINT3 &point1,
const cPOINT3 &point2) : m_endPoints(point1, point2)
{}
cBOX3 C... | [
"Bujji@localhost"
] | Bujji@localhost |
abd567cd578dd38248b645c21e5fb78e03890c60 | f712e1363a52e67c50631b3dcc712c361f53a1a2 | /Gold/src/Gold/Renderer/SubTexture2D.cpp | c69dd83cd8aefba7a6eacadbb60fe7d82354a5ec | [
"Apache-2.0"
] | permissive | namolab/Gold | 98de8eacd859ad59ce371d775d886b1feeb6ccc5 | a6f848248efd596887e7b411e84edde3451f8a01 | refs/heads/main | 2023-09-05T09:32:16.963944 | 2021-11-21T07:11:52 | 2021-11-21T07:11:52 | 400,080,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | #include "hzpch.h"
#include "SubTexture2D.h"
namespace Gold {
SubTexture2D::SubTexture2D(const Ref<Texture2D>& texture, const glm::vec2& min, const glm::vec2& max)
:m_Texture(texture)
{
m_TexCoords[0] = { min.x,min.y };
m_TexCoords[1] = { max.x,min.y };
m_TexCoords[2] = { max.x,max.y };
m_TexCoords[3] = ... | [
"namolab108@gmail.com"
] | namolab108@gmail.com |
3894c39e41130c219639491b130d25e864143a87 | 31e23df00ac3c137622fc26ca9b3d158b82197db | /sodium/sodium.cpp | 7189a811f54a40eb6bc3d51848cabdf923505f52 | [] | no_license | indigos33k3r/sodium-cxx | 6fb5c580676b69df959e5a247272d54dd48ea5eb | e25e2884e2543f608de34fb92d719f0724d5a5c7 | refs/heads/master | 2020-04-15T13:41:31.792765 | 2017-08-03T00:26:59 | 2017-08-03T00:26:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,396 | cpp | /**
* Copyright (c) 2012-2014, Stephen Blackheath and Anthony Jones
* Released under a BSD3 licence.
*
* C++ implementation courtesy of International Telematics Ltd.
*/
#include <sodium/sodium.h>
using namespace std;
using namespace boost;
namespace sodium {
namespace impl {
stream_::stream_()
... | [
"docks.cattlemen.stephen@blacksapphire.com"
] | docks.cattlemen.stephen@blacksapphire.com |
a13192faaddca55c24e81645605ac1ca0ec18340 | 4447608a41fcb78243a2394d909f30eb4b6bf85b | /tests/c/test_freeze.cc | 9e3489c86bba898620cf9b1ecb9530babd956d8d | [
"Apache-2.0"
] | permissive | tundra/neutrino | 47c1dcb1d2ead9d976cdc3ba1aeeda3295f6e229 | 69505d3e57c4f14a7a9551963106753af0097e5b | refs/heads/master | 2021-01-21T12:07:30.367937 | 2016-02-17T14:42:42 | 2016-02-17T14:42:42 | 10,573,813 | 6 | 1 | null | 2016-02-18T12:04:59 | 2013-06-08T20:21:32 | C | UTF-8 | C++ | false | false | 3,973 | cc | //- Copyright 2014 the Neutrino authors (see AUTHORS).
//- Licensed under the Apache License, Version 2.0 (see LICENSE).
#include "test.hh"
BEGIN_C_INCLUDES
#include "alloc.h"
#include "freeze.h"
#include "heap.h"
#include "runtime.h"
#include "try-inl.h"
#include "utils/log.h"
#include "value-inl.h"
END_C_INCLUDES
... | [
"c7n@p5r.org"
] | c7n@p5r.org |
53632fcfb87bb4e0d3b261320e8f4941490e8869 | b1bf8e0f506c4be24cc137fbd570c59883d496df | /HW6/HW06.cpp | ca6ff36df6483c747581fa1e4ad82e9d04e50096 | [] | no_license | heathcliffYang/ML_HW_2018 | e9d09c87f6edd0fb6e5c35d6516d1c1fc921b4fb | f0b5cf3224ad8b2f40757eeb56c5d51d79a12979 | refs/heads/master | 2020-04-03T04:49:48.235751 | 2019-03-08T08:32:52 | 2019-03-08T08:32:52 | 155,025,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,207 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <ctime>
#include <cmath>
#include <algorithm>
#include <Eigen/Core>
#include <SymEigsSolver.h>
using namespace Spectra;
using namespace std;
typedef struct data_point
{
double x;
double y;
int cluster;
} data_point;
typed... | [
"ginny0922fc2@gmail.com"
] | ginny0922fc2@gmail.com |
a243977d27a8f85fcd20f2e0071baf2cb1463ac5 | ddc4ddfa57f0cf231bb3e339e64847f2099b74c8 | /03_vectors/dna_consensus.h | ef38f2f48fd4efc6689826dcffd594cba4dfc060 | [
"MIT"
] | permissive | acc-cosc-1337-spring-2019/midterm-spring-2019-AndrewExley | 5a20698599fccf10af369ccb3f3177a44121e2a5 | d7569c16a12a78c8f1b5e7193daec485d8c9fef8 | refs/heads/master | 2020-04-28T13:25:10.283164 | 2019-03-20T19:28:50 | 2019-03-20T19:28:50 | 175,306,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | h | #include <vector>
#include <string>
using std::vector;
using std::string;
string dna_consensus(vector<int> profile_a, vector<int> profile_c, vector<int> profile_g, vector<int> profile_t);
vector<int> profile_matrix_a(vector<string> dna_segments);
vector<int> profile_matrix_c(vector<string> dna_segments);
vector<int> p... | [
"Paul Exley@LT_COM_EXLEY"
] | Paul Exley@LT_COM_EXLEY |
675b4434d02fcd5002d767e6ad2f546dbec19bb6 | a6636a9e0cf225ea4bd60db9237cb9ed91c8a370 | /EE599HW4/4-3/tests/solution_test.cc | 2dd944adefa02fefa82781e6c72a4522d1c72d8c | [
"MIT"
] | permissive | YingnanWang-Ray/EE599 | 0e8299351ae814460fa93101969408899b3cfd5e | 7e870b78b4f61f783077d88d437937e697d7abf0 | refs/heads/main | 2023-03-21T11:19:24.259470 | 2021-03-19T00:14:18 | 2021-03-19T00:14:18 | 349,252,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cc | #include "src/lib/solution.h"
#include "gtest/gtest.h"
#include <vector>
using namespace std;
TEST(Function0, Return0) {
vector<int> input = {3,1,6,4,7,8,10,14,13};
BST bst(input);
int target = 14;
EXPECT_EQ(true, bst.find(target));
EXPECT_EQ(true, bst.erase(target));
EXPECT_EQ(false, bst.find(target)... | [
"347930597@qq.com"
] | 347930597@qq.com |
410246808d74bbae3525fabd0e374fbd6c856f5b | eefd037baf71544d94f19abfdaae59e0af638b02 | /gdal-1.11.2/alg/gdal_tps.cpp | c225852a49e003f5b53a1faeb060e99f7737d3ba | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-info-zip-2005-02",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"SunPro"
] | permissive | avtomaton/gnu-win64 | 7128b677f4b9a9d1424b0ca44cc7c5fb3ce41fe1 | 66f7c3cc224f027300f944059262cf70f3f088e8 | refs/heads/master | 2020-05-17T00:12:03.638953 | 2015-07-29T14:12:44 | 2015-07-29T14:12:44 | 37,531,150 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,105 | cpp | /******************************************************************************
* $Id: gdal_tps.cpp 27729 2014-09-24 00:40:16Z goatbar $
*
* Project: High Performance Image Reprojector
* Purpose: Thin Plate Spline transformer (GDAL wrapper portion)
* Author: Frank Warmerdam, warmerdam@pobox.com
*
***********... | [
"arkhipovsky@aifil.ru"
] | arkhipovsky@aifil.ru |
9924d5f69997681c9f8ecdb344ebc90e208ea526 | 06737a708b51c2ca22ffe2fbc3815d49d2830416 | /librf24-rpi/librf24-bcm/examples/rpi-hub.cpp | 1d4c06e20d6d73c7ef3e90dc69f7f7b6287d1607 | [] | no_license | hallard/RF24 | 42a62231c412311ecf1e4176a830c3c9b0761e6e | decde7848fc23ab335721c1a754f5f77888e9e70 | refs/heads/master | 2021-01-16T06:36:08.674511 | 2013-09-25T22:07:59 | 2013-09-25T22:07:59 | 8,757,483 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,557 | cpp | /*
*
* Filename : rpi-hub.cpp
*
* This program makes the RPi as a hub listening to all six pipes from the remote sensor nodes ( usually Arduino )
* and will return the packet back to the sensor on pipe0 so that the sender can calculate the round trip delays
* when the payload matches.
*
* I encounter th... | [
"hallard04@free.fr"
] | hallard04@free.fr |
d15095a760d0eee407af81e231533defba528185 | 0b2db9b65f3cc4b817ce509f83d5045eb7624ee8 | /source/godot_bindings/include/gen/Position3D.hpp | e7ba1913e141d44d9129120509ff0cfc0235be9a | [] | no_license | Specialsaucewc/HackathonGodot | 00800865c6d3c8073e9dec83b1cf7dd7ae5136af | 0a8be6592906c83c3b648e6f79371b35b76a080d | refs/heads/master | 2023-02-01T18:55:14.195672 | 2020-12-17T05:07:12 | 2020-12-17T05:07:12 | 321,496,228 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 991 | hpp | #ifndef GODOT_CPP_POSITION3D_HPP
#define GODOT_CPP_POSITION3D_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "Spatial.hpp"
namespace godot {
class Position3D : public Spatial {
struct ___method_bindings {
};
static ___method_bindings ... | [
"specialsaucewc@gmail.com"
] | specialsaucewc@gmail.com |
9479b237c3273590dd90ab3296785fdb6b539c56 | ece0df2446dae16ed5ff4891379924484e595f1a | /include/Interfaces/ASNIMessenger.h | 743414d9c219a25f187bb8f997d689b78567ecf3 | [] | no_license | RandomAmbersky/AmberSkyNet | 838376d5426254d8ee76bfaa5ab378d5f40d35a1 | fb7a10c6edd4691a0e65d06f11c32250df3c5707 | refs/heads/master | 2020-04-28T21:57:33.823704 | 2013-06-27T19:22:00 | 2013-06-27T19:22:00 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 419 | h | #ifndef _ASNI_MESSENGER_H
#define _ASNI_MESSENGER_H
#include "ASN_Params.h"
#include "IBaseObject.h"
#include "CVector.h"
#include "INode.h"
#include "ICamera.h"
#include "Interfaces/ASNInterface.h"
//// Интерфейсный класс мира - уровень игровой логики
class ASNIMessenger: public ASNInterface {
public:
con... | [
"RandomAmbersky@gmail.com"
] | RandomAmbersky@gmail.com |
ace9cd988f079df852735fe11be8ff0be2656b25 | c7be52078daa48f8e2efa3102782d3be99bf6478 | /Pixart_PMW3360DM/PMW3360DM_Firmware.h | a267a1a903f27f672d333ed29998da184de8c291 | [] | no_license | ogatatsu/HID-Playground-Lib | db36d447397ce494ca33cc62f7e6bbabd0c4a249 | 22d71b98a35446b4762c4d4a1708377cf268a7b3 | refs/heads/master | 2022-12-07T21:38:55.843618 | 2022-11-27T08:33:01 | 2022-11-30T13:59:26 | 187,300,341 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,830 | h | #pragma once
#include <stdint.h>
namespace hidpg
{
// clang-format off
// Firmware "PMW3360DM_srom_0x04"
constexpr uint8_t PMW3360DM_Firmware[] = {
0x01, 0x04, 0x8e, 0x96, 0x6e, 0x77, 0x3e, 0xfe, 0x7e, 0x5f, 0x1d, 0xb8, 0xf2, 0x66, 0x4e,
0xff, 0x5d, 0x19, 0xb0, 0xc2, 0x04, 0x69, 0x54, 0x2a, 0xd6, 0x2e, 0xbf,... | [
"ogwrtty@gmail.com"
] | ogwrtty@gmail.com |
02e9a2d4d218d98408941a2018a8b21ddc207b49 | 138119641aeef9239f4c7219539203047891a6fb | /arduino_webserver/sketch_oct04a/sketch_oct04a.ino | 2de059dd01239d6c7f90445551818ce6b8a397d6 | [] | no_license | andylang8445/COOP2019 | 383ffccc621a08026d02ed7cdc30680ee956c676 | 0ff829248a2ec682edf7fd6f6236d6de2c033d22 | refs/heads/master | 2022-12-22T16:52:38.001103 | 2021-10-08T22:44:22 | 2021-10-08T22:44:22 | 210,962,108 | 0 | 0 | null | 2022-12-13T19:53:57 | 2019-09-26T00:00:51 | C | UTF-8 | C++ | false | false | 1,640 | ino | /*
Rui Santos
Complete project details at https://RandomNerdTutorials.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all
copies or substantial p... | [
"46326335+andylang8445@users.noreply.github.com"
] | 46326335+andylang8445@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.