blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dcac9257b6c8f557f0b790377f7a39d58d49d44e | 03d83787d0749a0d2bbc6a44aaffd81cc1f2a0e9 | /Beijing_1232_lines/Beijing/Beijing - cpptest/Example39.cpp | a13c4c27b3761c72952a92bac8605bc9ccc02e7e | [] | no_license | dortal/ExampleBeijing | c374cb436b8da22c50aaa4ab1fc31419dad2f503 | 08f453c550c48c0e121c384bcb03a0a41e7a516f | refs/heads/master | 2016-09-06T08:28:08.294655 | 2015-05-12T09:33:24 | 2015-05-12T09:33:24 | 35,479,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | /* The principle here is that incorrectly casting a pointer to a C++
object potentially breaks the abstraction represented by that object,
since the (non-virtual) methods called on that object are determined
at compile-time, while the actual type of the object might not be
known until runtime. In this exa... | [
"annas@Annas-PC.dm.cx"
] | annas@Annas-PC.dm.cx |
09fcff08c91635a82db2a762c486a7a8802c1d4e | 46f95fdf9dec3ace2701d0b11b39da60c018a797 | /src/engines-testing/dram_vcmap.h | 3db4c95819f27fa39161cc61287989fe3315725e | [
"BSD-3-Clause",
"MIT"
] | permissive | skygyh/pmemkv | 39962a3dff0ecbb879a7ecd2cdbe9606847082c8 | f0ee63d2edebb9b74c76edd12c9294764240af23 | refs/heads/master | 2023-03-16T01:11:28.468811 | 2021-03-09T05:21:15 | 2021-03-09T05:21:15 | 268,701,627 | 0 | 0 | NOASSERTION | 2020-06-02T04:35:16 | 2020-06-02T04:35:16 | null | UTF-8 | C++ | false | false | 566 | h | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2021, Intel Corporation */
#pragma once
#include "../engines/basic_vcmap.h"
namespace pmem
{
namespace kv
{
namespace internal
{
template <typename AllocatorT>
class std_allocator_wrapper : public std::allocator<AllocatorT> {
public:
using std::allocator<Allocat... | [
"pawel.karczewski@intel.com"
] | pawel.karczewski@intel.com |
a3674ed9b2d567871c27b1b5f6ad4db6c43571b2 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5631572862566400_1/C++/pedrohlf/C.cpp | d6ab07930f7c524236c6e1ffd2a535bad09d87aa | [] | 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 | 996 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <cstring>
#include <map>
#include <queue>
#include <stdlib.h>
#include <set>
#include <algorithm>
#include <math.h>
#include <stdio.h>
#include <unistd.h>
#include <stack>
#include <sstream>
#include <list>
#include <bitset>
#define ff first
#define ss se... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
0a67cac1294ed5a78eba2d9e7c39b9a7b23080db | 9120a9b17d00f41e5af26b66f5b667c02d870df0 | /EXAMPLES/Classes/Apxrevdv/APXMDDAD.H | ccdd1a7d1a7a90c963c61b6dc43fe112c2f70280 | [] | no_license | pierrebestwork/owl | dd77c095abb214a107f17686e6143907bf809930 | 807aa5ab4df9ee9faa35ba6df9a342a62b9bac76 | refs/heads/master | 2023-02-14T02:12:38.490348 | 2020-03-16T16:41:49 | 2020-03-16T16:41:49 | 326,663,704 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,635 | h | //----------------------------------------------------------------------------
// Project ApxMdiDv
// Borland International
// Copyright © 1996. All Rights Reserved.
//
// SUBSYSTEM: ApxMdiDv Application
// FILE: apxmddad.h
// AUTHOR:
//
// OVERVIEW
// ~~~~~~~~
// Class definition ... | [
"Chris.Driver@taxsystems.com"
] | Chris.Driver@taxsystems.com |
e739bf70f76f8d537e1b055cec6c36ee81a2a87a | 11de11312ac3a34fbf74b204fd401db60eb7d90e | /Data Structures/Binary Tree/binary tree without recursion.cpp | 00dbf92316ec8cd9c37cf27ea7d1a8020beb4817 | [] | no_license | AdityapravaSen/C-Programs | db61458e822bf1cab46eed5dcfffe5fb9409be2c | c52114a2048c02eb882ca2fe0040e28d7a1bfbcc | refs/heads/main | 2023-06-28T11:02:44.785414 | 2021-07-12T15:38:44 | 2021-07-12T15:38:44 | 322,871,888 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,347 | cpp | #include<stdio.h>
#include<conio.h>
#include<stdlib.h>
struct btree{
struct btree *lc;
int root;
struct btree *rc;
};
typedef struct btree bt;
bt *base,*nw,*temp,*tem;
main(){
int no;
void insert(void);
void preorder(void);
void del(int);
//clrscr();
fflush(stdin);
base=NULL;
... | [
"adityapravasen0911@gmail.com"
] | adityapravasen0911@gmail.com |
f6881a0132df2bf66fee74a9f2d9eb78ad942b9d | fd3312e7bea36d855798ea22d6d2a124166967b3 | /protos/language-agent/KeyWithStringValue.grpc.pb.h | 853242e02f189e6e1263ce90c5f70220d046bcab | [] | no_license | lrklx/skywalking-grpc-cpp | 851b398a354d345d5ad3e1d5a20d6e120307fbda | d9dc0979eec0dff191cabf837f837ca7dc6f117d | refs/heads/master | 2021-03-01T04:16:33.517998 | 2019-12-12T02:08:39 | 2019-12-12T02:08:39 | 245,753,048 | 3 | 1 | null | 2020-03-08T04:42:14 | 2020-03-08T04:42:13 | null | UTF-8 | C++ | false | true | 1,952 | h | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: language-agent/KeyWithStringValue.proto
// Original file comments:
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this... | [
"liyanyan@agree.com.cn"
] | liyanyan@agree.com.cn |
e0a8804c29c9095593b291a2b06786e567485f07 | 33d262f6a12e1ca708dfd8ad8e56e6037b92f103 | /Arduino/UnitTests/testParseTest/testParseTest.ino | 3b2abf780eec3514c7e6b7b10221e88ad5112859 | [
"ISC"
] | permissive | PHPirates/SolArduino | cc966549969310eca4639d09b9bc329255db62c7 | d7fee339dd4af896cee267306127a13b160e032b | refs/heads/master | 2022-07-07T12:50:31.415215 | 2022-01-29T21:26:58 | 2022-01-29T21:26:58 | 71,649,988 | 4 | 0 | ISC | 2022-06-24T07:55:16 | 2016-10-22T16:04:57 | C++ | UTF-8 | C++ | false | false | 2,369 | ino | long dates[10];
int angles[10];
int tableLength;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
// parse("HTTP/1.1 200 OK Server: nginx Date: Sun, 04 Sep 2016 11:02:43 GMT Content-Type: text/html; charset=UTF-8 Connection: close Vary: Accept-Encoding _10_1472985855,1472992720,14729... | [
"t.m.schouten@student.tue.nl"
] | t.m.schouten@student.tue.nl |
0ed7923b1d6f2fd696f10be0a51a06121e293967 | d2a2c4c692040b3263af55944bfb9ace9fc3540e | /DirectX12/PngConverter/src/main.cpp | c03cb027c5e33cc4dfc6b2956f7b1c85ba0a18d7 | [] | no_license | SAKI-toki/DirectX12 | 2c77bb678a7f893379346a3b0830ac1dafd01523 | 90f2aaf08f228a48050f71b3f616dc13d1fc286d | refs/heads/master | 2021-10-26T00:45:27.964558 | 2019-04-09T02:10:23 | 2019-04-09T02:10:23 | 174,639,015 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 172 | cpp | #include "png/png.h"
int main()
{
std::cout << "pathを入力してください" << std::endl;
std::string path;
std::cin >> path;
return ConvertPng(path) ? 0 : -1;
} | [
"toki.ryuka.senriyama@gmail.com"
] | toki.ryuka.senriyama@gmail.com |
9b85ea7b40aa818df404ff64cc76cf85dde6fe42 | ce6229f5915f9e6de1238861b4a940d61e56960b | /Sonder/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Collections_Generic_EqualityCompar4142834369.h | 50ac9d26513a1efb8d7f9279041a54f27047ec54 | [
"Apache-2.0"
] | permissive | HackingForGood/GoogleyEyes | d9e36e3dffb4edbd0736ab49a764736a91ecebcf | a92b962ab220686794350560a47e88191e165c05 | refs/heads/master | 2021-04-15T10:03:59.093464 | 2017-06-25T17:32:52 | 2017-06-25T17:32:52 | 94,575,021 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,424 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.Collections.Generic.EqualityComparer`1<UnityEngine.UI.InputField/InputType>
struct EqualityComparer_1_t4142834369;
#ifdef ... | [
"anishdhesikan@gmail.com"
] | anishdhesikan@gmail.com |
9bc9e7c7a0f37332f64068957f70a210f78f1467 | 56b65fbf1880a8323ab7dc15c9694d5975d2cd2c | /src/sync.h | ab8f51dcb7881df3436f8f070a127231f4202fa0 | [
"MIT"
] | permissive | btclambo/BitcoinLambo | 3e4043e9486ea42401f7d38fc5d5ebbbb38b005e | fc823516765338f06bce5ad8c7e3a5d6fe90f22b | refs/heads/master | 2020-03-06T18:31:07.897658 | 2018-03-27T15:34:49 | 2018-03-27T15:34:49 | 127,008,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,456 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOINLAMBO_SYNC_H
#define BITCOINLAMBO_SYNC_H
#include "threadsafety.h... | [
"alfa.alvaro.rodriguez@gmail.com"
] | alfa.alvaro.rodriguez@gmail.com |
d53b7837de5daae6ebaa403b89af7d48af0d90fa | 67ed24f7e68014e3dbe8970ca759301f670dc885 | /win10.19042/SysWOW64/rasppp.dll.cpp | 9c29c8037a41035272d68b790e88268080622951 | [] | no_license | nil-ref/dll-exports | d010bd77a00048e52875d2a739ea6a0576c82839 | 42ccc11589b2eb91b1aa82261455df8ee88fa40c | refs/heads/main | 2023-04-20T21:28:05.295797 | 2021-05-07T14:06:23 | 2021-05-07T14:06:23 | 401,055,938 | 1 | 0 | null | 2021-08-29T14:00:50 | 2021-08-29T14:00:49 | null | UTF-8 | C++ | false | false | 932 | cpp | #pragma comment(linker, "/export:InitializeProtocolEngine=\"C:\\Windows\\SysWOW64\\rasppp.InitializeProtocolEngine\"")
#pragma comment(linker, "/export:InitializeServerProtocolEngine=\"C:\\Windows\\SysWOW64\\rasppp.InitializeServerProtocolEngine\"")
#pragma comment(linker, "/export:PppStop=\"C:\\Windows\\SysWOW64\\ra... | [
"magnus@stubman.eu"
] | magnus@stubman.eu |
403be0800cb615da1e903db9db86a131834169b9 | 98b930ecc859985287b400dcd4e91a43e00232bd | /components/history_clusters/core/history_clusters_service.h | a37c3420803f240e66f63c8619f3ae563bd735ac | [
"BSD-3-Clause"
] | permissive | pick-stars/chromium | 45c7eac217a2cef978fae0a7e793bf3991c1ae61 | e0d87073054b2bc50da303d7f1ac5eeb92ca7f9f | refs/heads/master | 2023-06-18T11:15:59.290987 | 2021-06-25T11:38:29 | 2021-06-25T11:38:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,710 | h | // Copyright 2021 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_HISTORY_CLUSTERS_CORE_HISTORY_CLUSTERS_SERVICE_H_
#define COMPONENTS_HISTORY_CLUSTERS_CORE_HISTORY_CLUSTERS_SERVICE_H_
#include <map>
... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
8bc74ae694e49c93b21bc29ac89071a29be591e5 | e04f52ed50f42ad255c66d7b6f87ba642f41e125 | /appseed/hellobase/hellobase.h | 0e5e5befc8ad502f6c3be531ec2acd1822005b64 | [] | 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 | 720 | h | #pragma once
#include "helloaxis/helloaxis.h"
#include "base/base/base.h"
#ifdef _APP_HELLO_BASE_LIBRARY
#define CLASS_DECL_APP_HELLO_BASE CLASS_DECL_EXPORT
#else
#define CLASS_DECL_APP_HELLO_BASE CLASS_DECL_IMPORT
#endif
namespace user
{
typedef ::user::show < ::user::button > button_view;
} // namespace ... | [
"camilo@ca2.email"
] | camilo@ca2.email |
d2412d4128c38cbecce7a76e6532049d06bc463e | d8114efc4af9b9c629844df67b4a9e8596055525 | /boj/passWithHelp/201123_1978.cpp | 7ef561b2c9d1683401807a04ede7b53a30daa264 | [] | no_license | noeykan/algorithm-study | 631ec33b58726e92b6f2bd16ef18dcec3adc291a | 383bc2a0a99f709740b877a7531ec06c9c39800e | refs/heads/master | 2022-05-06T09:55:28.989748 | 2022-04-25T09:56:04 | 2022-04-25T09:56:04 | 177,935,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | // 소수 찾기
// https://www.acmicpc.net/problem/1978
/*
- 1부터 일일이 나눠가며 소수 찾는 법 밖에 생각 안나서 블로그 보고 풀었음
최적화를 한 것이, n까지 안가고 루트 n 까지만 검사해도 된다고 수학적으로 증명되었다고 함
예를들어 80이면 8 까지만 조사 하고 난 이후에는 어차피 조사 한 값이니까 (8*10)
- 여기서 더 최적화 화려면 이미 검사한 배열 그대로 사용하거나 아니면 가장 큰 값을 먼저
구하고 한번 배열 완성 시킨 후에 그 배열로 모든 숫자 체크하면 된다.
*/
#include <iostream>
#includ... | [
"noeykan@gmail.com"
] | noeykan@gmail.com |
0960951ff4a61e3583a50385d44e66cba18eab4b | 1efee3dd074ffa6820fad5d76d2e126c5b235dbe | /misc/old/hamster/wifi.h | d6a5de8ba0dcb62179eff380c28cd1299a7c1653 | [] | no_license | Julien5/sandbox | c9899371741a02384bde516941638740cfa58597 | 265f5aeb02bcdac0d60b3a5b91c4e2e4aafad2cc | refs/heads/master | 2023-08-04T08:28:00.338175 | 2023-05-13T09:05:35 | 2023-05-13T09:05:35 | 149,029,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | h | #pragma once
#include "parse.h"
#include <stdint.h>
namespace wifi {
class interface {
public:
virtual bool reset() = 0;
virtual bool join() = 0;
virtual bool get(const char* req, char** response) = 0;
virtual int post(const char* req, const u8 * data, const int Ldata, char** response=0) = 0;... | [
"julien_bourgeois@yahoo.fr"
] | julien_bourgeois@yahoo.fr |
36d621dd1e630a7a469168c2ba4eddce1d6f00ef | fe28250f9b9a7eacde867976d43be0b86d64acfc | /9960/coolant/p_rgh | 4bba76d66f087ad808b4501b67296948551d2abd | [] | no_license | vitorvas/teste2 | d179705e27fc070644a5e44d5b2fcef976504200 | 5f8c9ff21d48d6fb5ed7ef503a0601dac1bcf924 | refs/heads/master | 2021-01-09T20:17:09.115079 | 2016-07-21T20:07:21 | 2016-07-21T20:07:21 | 63,899,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895,370 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.x |
... | [
"vitors.vasconcelos@gmail.com"
] | vitors.vasconcelos@gmail.com | |
7b2d45cff3d906783f1e6c1610b10fae72016898 | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/BP_gmp_compass_ash_01_a_ItemInfo_parameters.h | 20889a30c3e878ea7169585ad7fac6f73fd31a6c | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | h | #pragma once
// Name: SoT, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
0591741ce006147fdd57b996831cc9a45f6cc014 | b1cd56bd4445a9a4b6dc1c164a41cc229b968c46 | /CODEFORCES/EDUCATIONAL ROUNDS/ed85/4.cpp | f1e54825158bf6d8cc15bf033b9ce44509b9cac3 | [] | no_license | Manvityagi/Codechef-Codeforces-spoj | ee6668d8dee2c13adc1592ed53f5d1ce10accc46 | 2ea51729061f140086e967d90d5a52c634375676 | refs/heads/master | 2023-04-26T05:34:30.473878 | 2021-06-02T13:09:27 | 2021-06-02T13:09:27 | 201,567,207 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,179 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
void printCircuit(vector<vector<ll>> adj, ll l, ll r)
{
// adj represents the adjacency list of
// the directed graph
// edge_count represents the number of edges
// emerging from a vertex
unordered_map<ll, ll> edge_count;
for ... | [
"manvityagi770@gmail.com"
] | manvityagi770@gmail.com |
bb126fd1086fae720aad4f4dead76ded7c90a58d | 0efc7890f5b2e69721a869fdba6335677dcc5e79 | /src/states/SummaryState.h | a5cd1f05abb6cf173685993afee2a5c3c0df8e97 | [
"MIT"
] | permissive | ashleygwinnell/foh-ld40 | e7be1ca900f020341a681325909fb61205df44f3 | 6ee3ed856c1915177532161cb5de13ad7ce13264 | refs/heads/master | 2020-03-27T17:47:05.292330 | 2018-08-31T10:01:49 | 2018-08-31T10:01:49 | 146,874,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | h |
#ifndef ARK2D_DEFAULTGAME_SUMMARYSTATE_H_
#define ARK2D_DEFAULTGAME_SUMMARYSTATE_H_
#include <ARK2D/Core/State/GameState.h>
class DefaultGame;
class MapLocation {
public:
Image* cityImage;
float x;
float y;
float timer;
float duration;
bool ruined;
static... | [
"info@ashleygwinnell.co.uk"
] | info@ashleygwinnell.co.uk |
d5f33c73105af0cab93db84e97e8f4e565b5387e | a1809f8abdb7d0d5bbf847b076df207400e7b08a | /Simpsons Hit&Run/game/libs/pure3d/tools/commandline/p3dprimgroup/main.cpp | 98cbf61b6356d3cd2e9685bda19fbb4462e5426e | [] | no_license | RolphWoggom/shr.tar | 556cca3ff89fff3ff46a77b32a16bebca85acabf | 147796d55e69f490fb001f8cbdb9bf7de9e556ad | refs/heads/master | 2023-07-03T19:15:13.649803 | 2021-08-27T22:24:13 | 2021-08-27T22:24:13 | 400,380,551 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,418 | cpp | /*===========================================================================
File: main.cpp
This tool manipulates primitive groups in meshes and skins
Copyright (c) Radical Entertainment, Inc. All rights reserved.
===========================================================================*/
... | [
"81568815+RolphWoggom@users.noreply.github.com"
] | 81568815+RolphWoggom@users.noreply.github.com |
5620d18ab4b347ee345c560d41a6038b860d86de | 972ae15c2dcc180f61522484b05d7dfb5b5f7691 | /sketches/playersketch2/.localhistory/src/1488723644$stretchMesh.cpp | e50bd5b2b642bf077b8125329f2dac21489ad306 | [] | no_license | k-may/molino-player | e5edf53d2f153dfb9b989362e7090acaf1567819 | 64dcc5353b8b0ef6d35162c29581d44446135d8a | refs/heads/master | 2021-01-23T22:24:07.876586 | 2017-09-27T14:03:07 | 2017-09-27T14:03:07 | 83,127,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,114 | cpp | #include "stretchMesh.h"
stretchMesh::stretchMesh()
{
headPos.x = ofRandom(ofGetWidth(), ofGetHeight());
body.push_back(headPos);
for (int i = 0; i < 50; i++) {
body.push_back(headPos);
vertices.push_back(ofVec2f(0, 0));
vertices.push_back(ofVec2f(0, 0));
}
}
stretchMesh::~stretchMesh()
{
}
void stre... | [
"kevmayo@gmail.com"
] | kevmayo@gmail.com |
5ff4af61d3959f99b77623c14ac68a9d6d5570a0 | 2262f894227d5abdbb5c2d66dfc49a97128774ec | /cc/resources/shared_bitmap_manager.h | 1dd089758d787bd6a3723ca66258bb8f7e28ecaf | [
"BSD-3-Clause"
] | permissive | willbittner/mojo | 7e3253184351f7fbdde9e5c4b5f91ae1e6887641 | 810682eae832db3f8bc7bce01919b59d6e9538f2 | refs/heads/master | 2020-12-11T01:52:04.546158 | 2016-01-14T23:48:44 | 2016-01-14T23:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_RESOURCES_SHARED_BITMAP_MANAGER_H_
#define CC_RESOURCES_SHARED_BITMAP_MANAGER_H_
#include "base/basictypes.h"
#include "base/memory/scoped_ptr... | [
"viettrungluu@chromium.org"
] | viettrungluu@chromium.org |
a61204bb677cc89e0159f03fd51a392d3c122b38 | f6b11b111740e705a97edfe81af71c8153a9b9cb | /scripts/rimls.cpp | e8ffc179c93f334f1bb17f4270ce2ac09cdedc97 | [] | no_license | adrien-le-franc/Cloud2Surface | c79a2802e2bb20f1c1563399fb9a71ff57b73416 | 1dd8b6cb4284041ad132ecf6a37a370a5b30aabb | refs/heads/master | 2020-03-22T05:12:57.812165 | 2018-07-03T08:53:26 | 2018-07-03T08:53:26 | 139,550,152 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,851 | cpp | #include "rimls.h"
float phi(float t, float h){
return pow(1.0 - t / pow(h, 2), 4);
};
float dphi(float t, float h){
return -4.0 * pow(1.0 - t / pow(h, 2), 3) / pow(h, 2);
};
float rimls_step(const glm::vec3& point, const std::vector<Data>& neighbors, float h, float sigma_r, float sigma_n, int max_iter, int& n){
... | [
"adrien.le-franc@eleves.enpc.fr"
] | adrien.le-franc@eleves.enpc.fr |
e5b2bb8732afc33ae582483c7121c2bad12060c3 | fef7dfe2d318c247be3c30419f6f9f84d55e6712 | /Engine/Math/Transform.cpp | b6fc7a4e93d20cac4377a5d09e364dfcbef5c7b4 | [] | no_license | Alexgreano/GAT150-2021 | ea9fbd07d7bff057736c1194812f90949c1b805f | e86bb840334895a2df66500d6f02ff9186832c57 | refs/heads/master | 2023-07-22T14:19:05.342437 | 2021-08-17T21:31:53 | 2021-08-17T21:31:53 | 392,109,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include "Transform.h"
namespace nc
{
void Transform::Update()
{
Matrix33 mxs;
mxs.Scale(scale);
Matrix33 mxr;
mxr.Rotate(rotation);
Matrix33 mxt;
mxt.Translate(position);
matrix = mxs * mxr * mxt;
}
void Transform::Update(const Matrix33& mx)
{
Matrix33 mxs;
mxs.Scale(localscale);
Matrix... | [
"78039927+Alexgreano@users.noreply.github.com"
] | 78039927+Alexgreano@users.noreply.github.com |
ecd4dc4947a9baa8bc13a94451539a70034d4999 | d77cfa7ea68bc034335f3bb5f1210c02845171bf | /String Algorithm/Hash algorithm/Hash algorithm/code.cpp | 69f6be86dafe0f194ef6c8b75a2f8324a9da9afc | [] | no_license | FForhad/PROGRAMMING- | 85196a6c44be8c0d25c29be43408aeea5a52f398 | 6c28bbe9332d33c64ea932bb2b85a4ab968f8d2d | refs/heads/main | 2023-08-05T02:44:15.422101 | 2021-09-14T15:55:43 | 2021-09-14T15:55:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | #include<bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
#define ordered_set tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update>
#define faster ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0... | [
"noreply@github.com"
] | FForhad.noreply@github.com |
ca05a9d711650b6f7506282beb6b4678ad3f818e | a4e12f7b14bf563b8c6b473268c8087c51c0cc12 | /src/labs/vector_add_lab_xilinx/Emulation-HW/binary_container_1.build/link/vivado/vpl/prj/prj.srcs/sources_1/bd/pfm_dynamic/ip/pfm_dynamic_xbar_5/sim/pfm_dynamic_xbar_5_sc.cpp | e7efe4ff5769ebdaf57beee2d980f9d2eebe8c53 | [] | no_license | BabarZKhan/xilinx_ETH_training_winterschool_2021 | 49054f85dfab1b4b75e3f4f85244bb8428cdf983 | bd2f2f1fc9cf524bee432970d9b10d21c013dda1 | refs/heads/main | 2023-09-02T07:24:15.182179 | 2021-11-22T09:09:28 | 2021-11-22T09:09:28 | 329,877,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,226 | cpp | // (c) Copyright 1995-2021 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | [
"centos@ip-172-31-58-45.ec2.internal"
] | centos@ip-172-31-58-45.ec2.internal |
4b34e91c25dace84227fdebccf27b8f3f40ca970 | 8567438779e6af0754620a25d379c348e4cd5a5d | /content/public/common/content_switches.h | b5cd42b4986e5e2efbbadbab861e811bd5eb1bc2 | [
"BSD-3-Clause"
] | permissive | thngkaiyuan/chromium | c389ac4b50ccba28ee077cbf6115c41b547955ae | dab56a4a71f87f64ecc0044e97b4a8f247787a68 | refs/heads/master | 2022-11-10T02:50:29.326119 | 2017-04-08T12:28:57 | 2017-04-08T12:28:57 | 84,073,924 | 0 | 1 | BSD-3-Clause | 2022-10-25T19:47:15 | 2017-03-06T13:04:15 | null | UTF-8 | C++ | false | false | 17,937 | h | // Copyright (c) 2012 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.
// Defines all the "content" command-line switches.
#ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
#define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_... | [
"hedonist.ky@gmail.com"
] | hedonist.ky@gmail.com |
e198f92ff7a7762d81b040cf2543d71cccb53cf6 | e981242e06f0eb7e2f7cc73df8d82d259a0bb04d | /Hash/Hash/소스.cpp | 484c1b2103bffad58c7071846c58c150d34b6d74 | [] | no_license | hewlett-hwi/Algorithm | a651a8fc71d92c1dc1f100575dd74dc062cd77ea | 784fce906c734b14f89b6766f17cd39fc3ea02cd | refs/heads/master | 2021-07-17T06:36:28.697947 | 2017-10-19T14:24:15 | 2017-10-19T14:24:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | cpp | #include <stdio.h>
#include <string.h>
#include <memory.h>
#define MAX_KEY 64
#define MAX_DATA 128
#define MAX_TABLE 4096
typedef struct
{
char key[MAX_KEY + 1];
char data[MAX_DATA + 1];
}Hash;
Hash tb[MAX_TABLE];
unsigned long hash(const char *str)
{
unsigned long hash = 5381;
int c;
while (c = *str++)
{
hash... | [
"itbrainpost@gmail.com"
] | itbrainpost@gmail.com |
96cf60f0279069f6f46c8be940224f596c64f27f | 776da94a15acdea622b9529c59ef66377db8ab38 | /CocosWidget/ExpandableListView.cpp | d206d0d5c2275d2c2e8bcdf11209fafbfa66c4b6 | [] | no_license | cl0uddajka/cocoswidget | 568b3e33c82930574a785d4063fb3126d692ebfd | 4741ca118ce6259c8d04ef294489b11caeb3ca1b | refs/heads/master | 2021-01-19T14:58:52.591715 | 2014-01-24T15:37:54 | 2014-01-24T15:37:54 | 35,931,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,313 | cpp | /****************************************************************************
Copyright (c) 2014 Lijunlin - Jason lee
Created by Lijunlin - Jason lee on 2014
jason.lee.c@foxmail.com
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and as... | [
"csdn.viva@gmail.com@9160077f-0524-6f16-ce86-95fce02da9f0"
] | csdn.viva@gmail.com@9160077f-0524-6f16-ce86-95fce02da9f0 |
9cbf439a9f8c952f80cde76922adbb53382b07ca | 4b2a1c790afbd6561e8c3a78bed5b71aec574320 | /modules/task_2/rachin_i_mult_mat_by_vec/mult_mat_by_vec.h | d4d3f4c0728146427b8a2853a0c350e87f583d74 | [
"BSD-3-Clause"
] | permissive | BoytsovVA/pp_2020_autumn_engineer | 3deed88861a8e43950e3280e1f1c51e7c5edfd83 | 15d4048d49a5a72036ee488920670535a67a513a | refs/heads/master | 2023-01-25T04:08:16.855429 | 2020-11-22T13:53:06 | 2020-11-22T13:53:06 | 305,137,409 | 1 | 0 | BSD-3-Clause | 2020-11-22T13:53:07 | 2020-10-18T15:47:41 | null | UTF-8 | C++ | false | false | 593 | h | // Copyright 2020 Rachin Igor
#ifndef MODULES_TASK_2_RACHIN_I_MULT_MAT_BY_VEC_MULT_MAT_BY_VEC_H_
#define MODULES_TASK_2_RACHIN_I_MULT_MAT_BY_VEC_MULT_MAT_BY_VEC_H_
#include <vector>
#include <string>
std::vector<int> getRandomMatrix(int rows, int clmns);
std::vector<int> getRandomVector(int vsize);
std::vector<int> g... | [
"kdikasz@mail.ru"
] | kdikasz@mail.ru |
43418021e1e4e1ab1557cbb614db97d13228b697 | 15d64c874329eac5ac609983205ccaf53ffc1f62 | /src/common/thread/signal.h | 9281faf5a473f2fc673c150061b303460e62b665 | [] | no_license | Gancc123/flame | 75fb0f1b91a8f3117a4faf02df16a367d6b2d8b2 | b680dee8bf6a263dd65024e37fb3d8f1017e3b09 | refs/heads/master | 2022-11-30T03:36:54.335864 | 2020-05-09T13:03:37 | 2020-05-09T13:03:37 | 285,832,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | h | #ifndef FLAME_COMMON_THREAD_SIGNAL_H
#define FLAME_COMMON_THREAD_SIGNAL_H
#include <signal.h>
#include <string>
// Returns a string showing the set of blocked signals for the calling thread.
// Other threads may have a different set (this is per-thread thing).
extern std::string signal_mask_to_str();
// Block a list... | [
"zhzane@outlook.com"
] | zhzane@outlook.com |
a3752421026a3075fcbd83c159eed48243bf94c5 | 102beccb4a386876dfeaea493209537c9a0db742 | /LoginScreenModule/LoginWidget.h | e67bb96f0ae197bc15f47884469752f187401333 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | Chiru/naali | cc4150241d37849dde1b9a1df983e41a53bfdab1 | b0fb756f6802ac09a7cd9733e24e4db37d5c1b7e | refs/heads/master | 2020-12-25T05:03:47.606650 | 2010-09-16T14:08:42 | 2010-09-17T08:34:19 | 1,290,932 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | h | /**
* For conditions of distribution and use, see copyright notice in license.txt
*
* @file LoginWidget.h
* @brief Simple full screen login widget for OpenSim and realXend authentication methods.
*/
#ifndef incl_LoginModule_LoginWidget_h
#define incl_LoginModule_LoginWidget_h
#include "ui_LoginWidget.h"
#... | [
"ali.kamarainen@ludocraft.com"
] | ali.kamarainen@ludocraft.com |
67a4c887d00cf1a4fa44684f1be5b2785bc4bf4a | 9f2312092f3cef2eb84f9568e3c645cfa582af00 | /api/smp | 15007750cd519344d692849faad5e09826216edb | [
"Apache-2.0"
] | permissive | justinc1/IncludeOS | eca3635d36aae87696f20380f4f21a54deb35b21 | 2ce07b04e7a35c8d96e773f041db32a4593ca3d0 | refs/heads/master | 2021-04-27T06:16:35.135135 | 2018-02-13T12:12:40 | 2018-02-13T12:12:40 | 122,609,740 | 0 | 0 | Apache-2.0 | 2018-02-23T10:54:19 | 2018-02-23T10:54:19 | null | UTF-8 | C++ | false | false | 3,125 | // -*-C++-*-
// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Licens... | [
"fwsgonzo@hotmail.com"
] | fwsgonzo@hotmail.com | |
1a2f88185abee00d39161e36f34daf12e8551f48 | 74dff4e7eef21966cfbcb48d9db44d1b236787ce | /src/main.cpp | 0ca258fc18538d9a12944cf6577397fb5339cf1e | [
"MIT"
] | permissive | backspacebar/backspacebar | b78b13d9e0aa0aa07e9e77f164790fc8b702d665 | fe476de81707d33dc74a58f7f04b3554d93ad6b7 | refs/heads/master | 2021-07-24T16:37:05.684207 | 2017-11-05T18:46:13 | 2017-11-05T18:46:13 | 104,499,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171,745 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 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 "alert.h"
#include "checkpoints.h"
#include "db.h"
#include "txdb.h"
#inc... | [
"skippagroup19@gmail.com"
] | skippagroup19@gmail.com |
61a1cc5ffe2a33ad1403ce8789a87139d00334f2 | ac594222de9ecbe941b96bed3c045d84d93adfed | /src/include/ELFInfo.hpp | 697c568e01a31c89c2d7f3404c21822bb3478437 | [
"MIT"
] | permissive | s3team/Abacus | 1c7017c917c8321e1b845a1c634e916cbb9fe159 | f35c039796ef77a3eaba2b49ce3df7a27e17cca5 | refs/heads/main | 2023-04-18T06:19:45.291343 | 2022-05-17T04:38:34 | 2022-05-17T04:38:34 | 328,747,019 | 13 | 5 | MIT | 2021-05-09T07:07:27 | 2021-01-11T17:52:32 | C | UTF-8 | C++ | false | false | 1,092 | hpp |
#pragma once
#include <elfio/elfio.hpp>
#include <iostream>
#include <memory>
namespace tana {
namespace ELF {
class Symbol {
public:
std::string name;
ELFIO::Elf64_Addr value;
ELFIO::Elf_Xword size;
unsigned char bind;
unsigned char type;
ELFIO::Elf_Half section_index;
unsigned char other;
Symbol(... | [
"qinkunbao@gmail.com"
] | qinkunbao@gmail.com |
96c80616ed1dce56d9b8893312b07abd5043f5b2 | 3c2f93dac664be520c8536159d05382cdd0903cc | /BullCowGame/FBullCowGame.hpp | 3049eeb4f421a400da327a576f48cc939afade6f | [] | no_license | noahsch19/BullAndCow | e9bf5144ebb95c6df632e99e0cc3c8e6a2e0fa22 | 49f1a891f368655a8dfab0a8709a040f8e524953 | refs/heads/master | 2020-03-28T19:11:02.962032 | 2018-10-26T02:58:39 | 2018-10-26T02:58:39 | 148,952,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | hpp | #pragma once
#include "FBullCowGame.hpp"
#include <string>
using FString = std::string;
using int32 = int;
struct BullCowCount{
int32 Bulls = 0;
int32 Cows = 0;
};
class FBullCowGame {
public:
FBullCowGame(); //constructor
int32 GetMaxTries() const ;
int32 GetCurrentTry() const ;
bool is... | [
"nscheuerman19@gmail.com"
] | nscheuerman19@gmail.com |
fa8c3f6c92c8f8c26660b793813fe6e2c4a409ad | 8436ccff8c4d0632030f74dcf26fedb09504326c | /05/Product.cpp | 413280d37dc336a8fa5abb2764a4ffe2cb03357c | [] | no_license | zoteva/oop-kn-5-2021 | 5e2166cf02494afc438bf003e5cf278b02a55454 | 80097a3acd688e9eac159933c9ea6f56dbe280e4 | refs/heads/main | 2023-05-30T19:13:45.742160 | 2021-06-19T08:19:16 | 2021-06-19T08:19:16 | 340,749,049 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,576 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstring>
#include <fstream>
struct Product
{
double price{ 0 };
int quantity{ 0 };
char* name{ nullptr };
void initializeProduct(const char* name, double price, int quantity);
void freeProduct();
void writeToBinary(std::fstream&) c... | [
"noreply@github.com"
] | zoteva.noreply@github.com |
f1c88fabe70dc2f3c50bcbc8f2809f05eb2626cb | 93a959567493f71eeded8c8eca14458f91500502 | /WinApp/spline.h | ab12e979529423bfa97a24bc51cbace298a8bd92 | [] | no_license | mdepoint/driveline-sim | 2b5a6340c23957f06f2fc5bd1b35b328d1442a0e | a49b5e2277142893a6bf2889f7181452062605ab | refs/heads/master | 2023-03-27T18:10:44.487174 | 2021-03-21T04:03:49 | 2021-03-21T04:03:49 | 308,629,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,476 | h | #pragma once
#include <vector>
const int NUM_OF_SPLINE_POINTS = 100;
class Spline {
private:
std::vector<double> splinePointsX;
std::vector<double> splinePointsY;
double getBezierPoint(double n1, double n2, double perc)
{
double diff = n2 - n1;
return n1 + (diff * perc);
}
publi... | [
"mike.depoint@gmail.com"
] | mike.depoint@gmail.com |
0180f3a54375f60e12b7d913db97b2e5d2301d85 | e0258286b3345c7afc09cc0b31b28b981f1f3ac7 | /Serveur_interaction_sans_contact-master/Serveur_isc/Serveur_isc/DataCalibrageHandler.h | 93fd814c888e66d750baf52ffc1c0d2d24bf1bf4 | [] | no_license | IHMISC2020/ISCServer | 6e3423655ebb97815aaac149915af83d9f862a7f | f3861e81569b8932240e2dbea3a22d7fe2856432 | refs/heads/main | 2023-04-09T16:42:20.783647 | 2021-04-13T17:26:59 | 2021-04-13T17:26:59 | 357,605,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | h | #pragma once
#include <vector>
#include "DataCalibrage.h"
class DataCalibrageHandler
{
private:
static DataCalibrageHandler* mInstance;
std::vector<DataCalibrage> mDataCalibrages;
public:
DataCalibrageHandler();
virtual ~DataCalibrageHandler();
static DataCalibrageHandler& getInstance();
const std::vector<Dat... | [
"noreply@github.com"
] | IHMISC2020.noreply@github.com |
0d2e5f92e70b2d332365ae43f84f0a5bd7a0fa82 | 06d45ede8193bdfaa746b0251b9b8cf772202c6e | /root/opt/qt-4.7.1/examples/tutorials/addressbook/part4/addressbook.cpp | 896a427d3e9dd552371872481b30bfaf36d4e2a7 | [] | no_license | TOPEET-Develop/linux_rootfs | e3a33dbdf5eeda3e7afc79eb3341a6f7f8547c4c | 4264859a4515364dbecce0806e35520920e8fb9f | HEAD | 2016-09-06T10:30:31.965431 | 2015-09-25T08:14:24 | 2015-09-25T08:14:24 | 38,908,398 | 2 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 9,572 | cpp | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You m... | [
"root@ubuntu.(none)"
] | root@ubuntu.(none) |
7af2f092e31cf46eab28614d95e927a9605688b0 | 7901e09d4f0827e0590fa6a7f038e7d9363e903b | /cpp_primer/ch03/vector_add.cc | 86a127215106284b8426359bc84cda87f0d1fc06 | [] | no_license | jiesoul/c_cpp_learn | 32298fa21d159d3fc9a6c0c2711700548db9e4a2 | cd4e411f73222dd26d22c1110ce0af4ecc60f051 | refs/heads/main | 2023-03-16T15:54:54.553175 | 2022-06-14T05:30:51 | 2022-06-14T05:30:51 | 204,853,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cc | #include <iostream>
#include <vector>
using std::cin;
using std::vector;
int main()
{
vector<int> v2;
for (int i = 0; i != 100; ++i) {
v2.push_back(i);
}
string word;
vector<string> text;
while (cin >> word)
text.push_back(word);
return 0;
}
| [
"jiesoul@gmail.com"
] | jiesoul@gmail.com |
c38c66ecebe8117686cfd1351ff1f91531c16daa | d6b4bdf418ae6ab89b721a79f198de812311c783 | /tdid/include/tencentcloud/tdid/v20210519/model/CreateLabelRequest.h | c8544b6b0faba827055d41191ad8f71bd3ad69f8 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,160 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
f34d32d196da654bc98aa8589b26567d5259902c | d7a6744fc52c6ebe54b810dcf33bde4ebfb42208 | /10324 - Zeros and Ones.cpp | 0a03bc8024aeccc734c0837825c72e9830a03931 | [] | no_license | blackbox47/UVA-Problem-Solution-Using-C-or-C-Plus-Plus | c7bea8618edacc47f1be7a0323c83b97941ff587 | 3f75c3f715d5b4eb396dc63f37bbdbd422676177 | refs/heads/master | 2021-01-22T21:22:51.917760 | 2017-03-18T18:34:12 | 2017-03-18T18:34:12 | 85,422,233 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | #include<stdio.h>
#include<string.h>
char str[1000001];
int main(void)
{
int i,len,j,flag,a,b,c,ww,max,min;
char x;
ww=1;
while(scanf("%s", &str)==1)
{
printf("Case %d:\n", ww);
len=strlen(str);
scanf("%d", &a);
for(j=0;j<a;j++)
{
... | [
"noreply@github.com"
] | blackbox47.noreply@github.com |
b7708297ae87e5c7bccd5f6c08ecd676435fb23c | 5848f2680f835da100f40bacffe967e2ec20f077 | /lab7/c.cpp | 61b235d72cebcaa3aab3af1e31b7674b867caa7f | [] | no_license | sashapff/algorithms-and-data-structures | 3881aef4843811e96c66cc6c8ca60b27f04acbdf | a4bb6d8599a5231c782bdb3d44263aa92c9e0ae8 | refs/heads/main | 2023-01-04T06:33:02.546186 | 2020-10-21T11:09:13 | 2020-10-21T11:09:13 | 305,996,743 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,863 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct rectangle {
long long x1, y1, x2, y2;
};
rectangle min(rectangle r1, rectangle r2) {
rectangle r;
r.x1 = max(r1.x1, r2.x1);
r.x2 = min(r1.x2, r2.x2);
if (r.x2 < r.x1) {
r.x2 = r.x1;
}
r.y1 = max... | [
"a.ivanova@niuitmo.ru"
] | a.ivanova@niuitmo.ru |
aa3762d63cf48135325f9396d7b5078eccb3b3ac | fddc9b94cf28978f687c845d8ef13199b1c3abb9 | /unpacked/src-mgen-5.02c/include/mgen.h | 30832896d3a0de909d2bb058e1478a72c0e8def0 | [] | no_license | fortian/protean-packages | f38efcb3d0c105d922a614b1ffed822cb5d749e1 | 44a881f9832853191b7eec7657b3e762b0848c4b | refs/heads/master | 2020-04-13T22:23:35.837207 | 2019-05-30T03:09:39 | 2019-05-30T03:09:39 | 163,477,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,561 | h | #ifndef _MGEN
#define _MGEN
#include "protokit.h"
#include "mgenFlow.h"
#include "mgenGlobals.h"
#include "mgenMsg.h"
class MgenController
{
public:
virtual ~MgenController() {};
virtual void OnMsgReceive(MgenMsg& msg) = 0;
virtual void OnOffEvent(char * buffer,int len) = 0;
virtual void OnStop... | [
"bstern@fortian.com"
] | bstern@fortian.com |
d451f52bbeb76f5c371a63cee662027906cd0363 | e821ffa3ad5a12900ca07028ef4d121b312a5cbb | /LeetCode/icecream.cpp | 815055ee61d25d75c66039baad4fce07fd7ce8d0 | [] | no_license | mave89/CPlusPlus_Random | 82feb8b9afca3e52a1c1397d5e19f4ddd41a2800 | 4069bb685762cdf5f739f660b1d7c9ed0738f50d | refs/heads/master | 2023-03-06T04:23:16.904139 | 2020-04-07T08:27:40 | 2020-04-07T08:27:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | #include <iostream>
#include <vector>
std::string calculate(std::vector<int> array, int money){
std::string ans;
for(int i = 0; i < array.size(); i++){
std::string ans = std::to_string(i);
std::vector<int>::iterator it;
it = std::find(array.begin() + i + 1, array.end(), money - array[i]);
if(it != array.end(... | [
"fabidi89@vt.edu"
] | fabidi89@vt.edu |
bb56170fe75183663a4326351a0130de452ad3f2 | 26142d3dd05db1bfba6063fb316ec7f59d6ce268 | /Compopt/Nouna_PCVRP/qt-project/ver04/nouna_project/hrd/test.h | 09727694bbcabea2c31759ade0c7c8587331d648 | [] | no_license | tikhoncheva/work | f9130e638d44d4418ea0ecec6d29b762b5a7ab86 | 9b1cc41a0e851df1506ffe0c4061087f33c7ba77 | refs/heads/master | 2021-01-21T12:36:04.777282 | 2016-01-13T10:09:35 | 2016-01-13T10:09:35 | 19,025,157 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | #ifndef TEST_H
#define TEST_H
#include <sstream>
#include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
#include <hrd/const.h>
#include <hrd/interviewer.h>
#include <hrd/household.h>
class clTest
{
private:
const std::vector<stInterviewer> interviewer;
const std::vector<stHousehold> hou... | [
"kasiatikhoncheva@gmail.com"
] | kasiatikhoncheva@gmail.com |
5e3e576325f3276a35b11fc5711362406396741c | 87587cc326aa2640516c6987e7d7b93c992a4bb4 | /src/qt/notificator.cpp | 909d7e541e86242ed4b7ade31ca31a46da98ce48 | [
"MIT"
] | permissive | SMRT2/smrt-test | f26164f6b71546d5be3ce29846de02c3b82e3e22 | 017d06ee44e00d627a14626c7fc674a2a2e7041a | refs/heads/master | 2020-03-20T21:29:56.083870 | 2018-06-18T12:09:00 | 2018-06-18T12:09:00 | 137,744,088 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,364 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017 The SMRT developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "notificator.h"
#include <QApplication>
#include <QByteArray>
#include <QI... | [
"james_nirvana@gmx.com"
] | james_nirvana@gmx.com |
19b3d21430d6a14a696a81c2c6a9dc4d8eaa1e8f | 3ea17d03bd4cce4955659c7e5edae0eaf9024cea | /02- Structures/Itemssss.cpp | c365d3336a51df7adf8358ce70e9d7c0a8a6a48c | [] | no_license | kcjavier21/data-structures | aadf845203ca0aefe47bbcc51cc15edf343c4473 | a265e8a40773d8f964694d8cc5d161645e22bbab | refs/heads/master | 2023-03-06T06:12:57.805011 | 2021-02-21T13:43:25 | 2021-02-21T13:43:25 | 326,631,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | cpp | #include<stdio.h>
#include<conio.h>
#include<windows.h>
struct items{
char ItmName[20];
char SrlNo[10];
float Price;
float Qty;
float Total;
};
int main()
{
struct items Purchase[5];
int ctr;
float tempQTY, tempPRI, AllTotal=0;
char temp;
for(ctr=0; ctr<5; ctr++)
{
printf("Item Name : ");
... | [
"kencarlo21@gmail.com"
] | kencarlo21@gmail.com |
59ca4f6e56a056370f5a8366a44ba7fb3cb58111 | 5664ab66deeecea95313faeea037fa832cca34ce | /modules/perception/proto/dst_type_fusion_config.pb.cc | 36532381a9f627fda31d8dbcbb375d41a16e3497 | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | Forrest-Z/t1 | 5d1f8c17dc475394ab4d071a577953289238c9f4 | bdacd5398e7f0613e2463b0c2197ba9354f1d3e3 | refs/heads/master | 2023-08-02T03:58:50.032599 | 2021-10-08T05:38:10 | 2021-10-08T05:38:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 43,070 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: modules/perception/proto/dst_type_fusion_config.proto
#include "modules/perception/proto/dst_type_fusion_config.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/pr... | [
"530872883@qq.com"
] | 530872883@qq.com |
eb91d7cda11cb00d8804022f618aada28d59cc72 | 011cb2831ff99daafa4b5ffc48aa72ebed652463 | /TileDevelopment/Test/3Test.cpp | 3c9ba78a41de4f04ebbcb2032cc63d416821fa89 | [] | no_license | striderssoftware/T2SplatCode | 83171f5927d04f34b0bc20316155f448a188b6f3 | f8499e0946cfcf87d183bfa36d6edb6a30033511 | refs/heads/master | 2021-06-23T15:26:54.328080 | 2021-06-03T16:47:07 | 2021-06-03T16:47:07 | 219,257,577 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | #include <iostream>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <list>
#include <unistd.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
using namespace std;
int main()
{
cout << "running splay" << endl;
static char envvars[][50] =
{
//"SDL_NOMOUSE=1",
//"TSLIB_CONSOLEDEVIC... | [
"strider@shadowsoftware.biz"
] | strider@shadowsoftware.biz |
f8c04aed789c01c76a933b7e1c34b62cc1287564 | 6d0fedb550641ff86c88ef78ee2ea4ae06e88854 | /Game Dev 1/Base to copy to/Copy To - It is not supposed to compile, only info/Motor2D/j1Render.cpp | 00f537b92ad7a5e6e05c05feab513a9f9383d629 | [] | no_license | MarcFly/-Programming-UPC-Year-2-up- | 1e44e2545405bb59362c20e98e9e2f07753170b3 | 96b1da411271dec0827aecff478d25f7223693e1 | refs/heads/master | 2021-08-28T07:03:08.676531 | 2017-12-11T13:43:38 | 2017-12-11T13:43:38 | 72,614,680 | 0 | 0 | null | 2017-10-25T11:48:30 | 2016-11-02T07:25:49 | C | UTF-8 | C++ | false | false | 5,483 | cpp | #include "p2Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Window.h"
#include "j1Render.h"
#define VSYNC true
j1Render::j1Render() : j1Module()
{
name.create("renderer");
background.r = 0;
background.g = 0;
background.b = 0;
background.a = 0;
}
// Destructor
j1Render::~j1Render()
{}
// Called before... | [
"mtorres.form@gmail.com"
] | mtorres.form@gmail.com |
74b5316269e9bd8f957472b82c975843cb2941a0 | bf39a457f635e02b688048d4d67a7de1cc1569a0 | /include/server/Scheduler.h | 10cbd5d517d98f9518e06f80190505c250dd6c96 | [
"MIT"
] | permissive | taroyuyu/KakaKV | a8bdb636dbce356ac53bd243c5ae76ac7a44bf84 | 47d0c36f6a77959d02c30b955ca5fbc8999d24d6 | refs/heads/main | 2023-08-05T21:46:36.878136 | 2021-10-01T11:52:25 | 2021-10-01T11:52:25 | 410,698,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | //
// Created by 凌宇 on 2021/9/21.
//
#ifndef KAKAKV_SCHEDULER_H
#define KAKAKV_SCHEDULER_H
namespace kakakv{
namespace server{
class Scheduler {
};
}
}
#endif //KAKAKV_SCHEDULER_H
| [
"891214416@qq.com"
] | 891214416@qq.com |
740b2de730bd9b20386580e0c7042d3ce522b9c6 | 72a4e4a12d7935fc17b362420a5d479a593d59a8 | /src/ppl/nn/engines/cuda/optimizer/ops/onnx/add_op.h | 4c1e9f366f7849563338a86d87ba7ebc3b4268f0 | [
"Apache-2.0"
] | permissive | rayechen/ppl.nn | 8a387b02c2a7ff31ee23873badd3b3fbd93767c7 | 581b032adc66e899261159ff3a68890b6f0c63aa | refs/heads/master | 2023-08-04T20:17:09.172207 | 2021-09-24T10:11:39 | 2021-09-24T10:11:39 | 383,383,194 | 0 | 0 | Apache-2.0 | 2021-08-17T07:53:42 | 2021-07-06T07:43:07 | C++ | UTF-8 | C++ | false | false | 1,414 | h | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"openppl.ai@hotmail.com"
] | openppl.ai@hotmail.com |
6665b7e96641efffe6ff08c11b2877296a8b5b44 | c917108fc6d5baf26a652d4ae3f2301d4bf5d21e | /test_pid_with_class.cpp | 030f791f391a34ca291233c5dcee947e6b851e57 | [] | no_license | jimenezl/MASLAB-Team-UP | 28d2599da3f1f51cc7c14e4b87dbe0faadff2204 | 8f2ae18a729190c23f421ddd4f4a2f47a41935fc | refs/heads/master | 2021-01-01T20:05:17.229378 | 2015-01-30T23:52:56 | 2015-01-30T23:52:56 | 28,311,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,160 | cpp | // Build with:
// g++ test_pid.cpp -o test_pid -lmraa
// SPI pins are:
// - IO10: SS
// - IO11: MOSI
// - IO12: MISO
// - IO13: SCLK
#include <unistd.h>
#include <stdint.h>
#include <signal.h>
#include <sys/time.h>
#include <cassert>
#include <cmath>
#include <csignal>
#include <iostream>
#include <math.h>
#include ... | [
"jimenezl@mit.edu"
] | jimenezl@mit.edu |
0dc59403f41b8f5c8ca27658877f4e30c08689f5 | 71ff9ea448889fd3279ba7c9ae400912f3bcb268 | /Detection.h | 8f61a5db562ec860b6eaa97112c850f2ec6d10d8 | [] | no_license | kalzium/nodeServer | 6c331ba5675b14a696d009263e5391fa51224c8e | fb3f0f8aa4a8231e6798221c8518970e4096ffa8 | refs/heads/master | 2020-05-15T17:30:58.809208 | 2012-06-18T02:17:24 | 2012-06-18T02:17:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | h | #pragma once
#include "CThread.h"
class Detection :public CThread
{
public:
Detection(void);
~Detection(void);
void operator() ();
void loop();
};
| [
"dextor@qq.com"
] | dextor@qq.com |
2d01781048bc820542e810ac6d494dfef743e961 | 11193bb804b3ca7954b902096baa80a70b2bd154 | /src/declarative/items/qsgloader_p.h | 832d3a6138edef791c8104fc19e7f421df0b03b6 | [] | no_license | richardeigenmann/qtdeclarative | e36347b973cc72619e373a6742ebc9ca38a81480 | c5b56564667194b179ebfcc87608d38e9969fade | refs/heads/master | 2020-07-23T17:02:02.169233 | 2011-08-11T11:58:53 | 2011-08-15T07:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | h | // Commit: 6f78a6080b84cc3ef96b73a4ff58d1b5a72f08f4
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtDeclarative... | [
"qt-info@nokia.com"
] | qt-info@nokia.com |
eb6993bf1902ee3020202889d5c83689e841d4cd | 00d712168ab09a7be4d77b0c2e0639df13fa2854 | /CapsEngine/CAPS/Header/SoundManager/SoundBuffer.hpp | f96324467520091380447630ba146d2746fd0c17 | [] | no_license | Aladin-Saleh/Moteur-Graphique-Physique | 4db381ce18b50aa65de4b05a7c1b72a7c1de513b | dcbc3e69b056c4d5deeff80575dc6cc811627416 | refs/heads/main | 2023-03-16T06:17:54.235711 | 2021-03-16T11:30:37 | 2021-03-16T11:30:37 | 348,312,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | hpp | #ifndef __SOUND_BUFFER__
#define __SOUND_BUFFER__
#include "Debug.hpp"
#include "AL/al.h"
namespace Ge
{
class SoundBuffer
{
private:
ALuint m_bufferID;
//unsigned char* buf;
ALenum m_format;
ALsizei m_frequency;
ALsizei m_sizei;
public:
SoundBuffer();
~SoundBuffer();
void Initialize(ALuint buffer... | [
"Aladin@MSI.localdomain"
] | Aladin@MSI.localdomain |
8913f2317c97bd252b5a8d0a4cf16ac4bcf56e10 | b49236ac61f402697196001eb61d74d485d12684 | /LevelLoader-console-2013/main.cpp | fcb113696e9e0aa47e07bf8ca53f60ff375d08c6 | [] | no_license | Jaymzeh/LevelLoader-console | 5a5dcf5dfaf00f5b9a043eb17d873181290cf033 | e5c36bbbbd51b4d0cbf8da99c0fc7e318de5bb9a | refs/heads/master | 2018-01-08T04:20:24.596867 | 2015-10-28T17:57:59 | 2015-10-28T17:57:59 | 45,131,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | cpp | #include "map.h"
int main() {
Map map;
map.createMap();
cout << endl;
map.saveMap("sampleMap.txt");
map.loadMap("sampleMap.txt");
cout << endl;
map.drawMap();
cin.get();
return 0;
} | [
"james_smith.games@live.co.uk"
] | james_smith.games@live.co.uk |
100c2644130a13aa3e32b8aa7d37d9d7a75555ef | d04ce57fbdc987061ab193cb44e8919699b49cec | /180902/merge-two-sorted-lists.cpp | 2acac73ba546846dc20854d72cf7de5e24a426ad | [] | no_license | fuujiro/DailyCoding | be016f010b3270058b1d23f13d6fddef1b55758f | 8a672edd447815481a3865a23531b0a113c370ca | refs/heads/master | 2020-03-27T20:31:39.626784 | 2018-12-29T08:21:38 | 2018-12-29T08:21:38 | 147,075,485 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) {
ListNode dummy{0};
auto curr = &dummy;
while (l1 && l... | [
"fuujiro1997@gmail.com"
] | fuujiro1997@gmail.com |
823c9f811c3e6e2fe8c7a6fdc391a4078f59a44c | 26548ee2bea9cf274647865aaef0cd5bdc6f63e0 | /base/Condition.hpp | c8d45278cfa4146cfad06ae4bdf445d2d30bb5d1 | [] | no_license | Congrool/chatRoom | 05383c2439bb04674937a49993d9dd1d24af2291 | 51fad967b800e6ae4c1724be6e125570cc0720e6 | refs/heads/master | 2022-12-19T12:05:14.136478 | 2020-09-27T03:59:10 | 2020-09-27T03:59:10 | 255,889,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | hpp | #ifndef CHATROOM_BASE_CONDITION_HPP
#define CHATROOM_BASE_CONDITION_HPP 0
#include "base/noncopyable.hpp"
#include "base/Mutex.hpp"
#include<pthread.h>
#include<assert.h>
namespace chatRoom
{
class Condition : noncopyable
{
public:
Condition(Mutex& mutex) : mutex_(mutex){
int ret = pthread_cond_init(&co... | [
"783928876@qq.com"
] | 783928876@qq.com |
f104871cee3bf29421e5e6578b2cc33e41b8cd54 | 195393a8034505c7501eff4eacba10a972894ec5 | /dp/util/Reflection.h | 75e77ddf4947e5ec5dba490b0c8a4896e1dfce85 | [
"BSD-3-Clause"
] | permissive | hsdk/pipeline | 08f8cc923b20a0e915eb6a261037520490f710e0 | b8fe2f13524e275f236feb9d3c82ee4f491c30c6 | refs/heads/master | 2021-01-17T22:12:55.209289 | 2015-03-05T09:14:10 | 2015-03-06T14:47:02 | 29,969,414 | 0 | 0 | null | 2015-01-28T13:48:48 | 2015-01-28T13:48:47 | null | UTF-8 | C++ | false | false | 67,148 | h | // Copyright NVIDIA Corporation 2009-2011
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the follow... | [
"matavenrath@nvidia.com"
] | matavenrath@nvidia.com |
9100aceacc44ce3fa95cb22f9be6c43fe7dd8579 | 927077b0100ccdd4f6962256330d1d049f74427a | /devel/include/dji_sdk/LocalPositionNavigationActionFeedback.h | deae773023a4fbb7fd4b6734e4a59b48aa9a6399 | [] | no_license | Aswath93/ros | d883474125702d79ca3f21cea4c4b65352c2d718 | 61952bc47542fff33564c367bb83f4e69cbfb18c | refs/heads/master | 2021-01-16T19:57:07.349378 | 2017-08-13T15:51:54 | 2017-08-13T15:51:54 | 100,187,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,312 | h | // Generated by gencpp from file dji_sdk/LocalPositionNavigationActionFeedback.msg
// DO NOT EDIT!
#ifndef DJI_SDK_MESSAGE_LOCALPOSITIONNAVIGATIONACTIONFEEDBACK_H
#define DJI_SDK_MESSAGE_LOCALPOSITIONNAVIGATIONACTIONFEEDBACK_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/... | [
"aswath93@gmail.com"
] | aswath93@gmail.com |
62aca02a2bbce1db859de5e2715faab7c0fca567 | 1017a818e439fdd6591264d4f30e43fbe0fc3bbc | /src/VertexBuffer.h | ded5ce1a89f7e0b3a53c0504b25540618d6668a3 | [] | no_license | thebluespecs/openGL-calculator | e3a365d36076159bcae911312266097571a35beb | d80d114f7c7d43df2484341bbfaff9f76dca6f5d | refs/heads/master | 2021-07-07T19:02:05.570144 | 2020-08-10T10:14:14 | 2020-08-10T10:14:14 | 167,968,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 253 | h | #pragma once
#include <GL/glew.h>
class VertexBuffer
{
private:
/* data */
unsigned int m_RendererID;
public:
VertexBuffer(const void* data, unsigned int size );
~VertexBuffer();
void Bind() const ;
void UnBind() const ;
};
| [
"ayushsara12@gmail.com"
] | ayushsara12@gmail.com |
3c5a75ff275da4516359b2dfcec1d0b283a9e81c | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /media/midi/midi_manager_winrt.h | aee6353f21d2117b47b1e56807411f4dfdf09ed4 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 2,224 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_MIDI_MIDI_MANAGER_WINRT_H_
#define MEDIA_MIDI_MIDI_MANAGER_WINRT_H_
#include <memory>
#include "base/strings/string16.h"
#include "media/m... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
b6d1bf898eb1c17679409fd7f05ae7df65a04fe8 | 3b4e9264514b8f393f11fb13a48b3efb0869eb42 | /chapter5/threshold.cc | d0edd7269eac4666409ce629d05bc447032b7ffc | [] | no_license | Nunocky/Study_OpenCV4Programming | ba59c344dea53480cf81c19706dbd44363761799 | 9a8cc49b698c3f96ed854ed627e6b9fb98a72126 | refs/heads/master | 2020-04-28T09:00:14.148361 | 2019-03-12T06:42:43 | 2019-03-12T06:42:43 | 175,150,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cc | #include <cstdio>
#include <opencv2/opencv.hpp>
int main(int argc, char* argv[])
{
cv::Mat img = cv::imread("../images/Lenna.bmp", cv::IMREAD_GRAYSCALE);
if (img.empty()) {
fprintf(stderr, "read failed\n");
return 0;
}
cv::Mat dst;
int ret;
ret = cv::threshold(img, dst, 10... | [
"masato.nunokawa@gmail.com"
] | masato.nunokawa@gmail.com |
4c51229b3d5099d4bef512cc9aa7c1c553a84bac | c53a170dc32d052aa20f02909c8e44f16d41311a | /model/GameBuilder.h | e2c335fda7ad075f361c661a2f166058df1286e1 | [] | no_license | gabgaudreau/Risk | 16ad0da5e1b8c92690164a5c36388c56130611c8 | c56130e0d37b7b48d6d0125ba2113cdfa9389bf0 | refs/heads/master | 2021-01-19T18:54:22.579594 | 2017-04-24T20:15:41 | 2017-04-24T20:15:41 | 88,387,701 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #pragma once
#include "Builder.h"
#include "RiskGame.h"
class GameBuilder : public Builder {
public:
World* GetWorld(std::string fileName);
std::vector<Player*> GetPlayersFromFile(std::string fileName);
void SaveInProgress(RiskGame* game);
}; | [
"Gabriel Gaudreau"
] | Gabriel Gaudreau |
754f9adbcbfb248372b91957166743da5566216d | ecbd1ada3ca686b846e818c74f7d2c5a8deb6109 | /class1/graph.h | dda2fd4641821cfee12bcf319103f2657cffcc84 | [] | no_license | gmadsen/stanford_mooc | c0739d231fdd4e2668c32f48c3d5a4f733ea6931 | d75f13db1ade2beb92d13597b4d7514c151452be | refs/heads/master | 2020-03-12T01:38:46.364133 | 2018-05-18T01:30:24 | 2018-05-18T01:30:24 | 130,380,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,601 | h | #pragma once
// graph structure and algorithms
#include <fstream>
#include <list>
#include <memory>
#include <utility>
#include <vector>
namespace GraphNS {
typedef std::vector<std::list<int>> adj_t;
class Graph {
private:
adj_t::size_type vertex_count;
adj_t adjlist;
public:
// ctor with size
Graph(adj_t:... | [
"gmadsen@umich.edu"
] | gmadsen@umich.edu |
a2a87e593f12c4e16664911411924192f47d7cd6 | e38d93f032b4d1cc191797ec2a2b2824b799d9aa | /src/frontEnd/symbolPhase/symbolStmt.cpp | 993dd9ccf2722b3803534e747b243f10cd889a94 | [] | no_license | anjiann/GoLite | be45db50209061f0ba3b1a5475e7bab25e94832a | b0774d839375e6abb25d57a257bb111c8c15b860 | refs/heads/master | 2022-07-05T08:24:15.100942 | 2020-05-16T01:01:32 | 2020-05-16T01:01:32 | 264,287,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | cpp | #include "symbolPhase/symbolHelper.hpp"
using std::cerr;
using std::cout;
using std::endl;
void SymbolHelper::dispatch(const NStatement &stmt) {
stmt.accept(*symbolDispatcher);
}
void SymbolHelper::dispatch(const NStmtAssign &assignStmt) {
for(const auto &exp : assignStmt.lhs) {
exp->accept(*symbolDi... | [
"jia.jian@mail.mcgill.ca"
] | jia.jian@mail.mcgill.ca |
1565d4550033a5f6d3949193a4c16331da18f9ee | f0280623b3b6cd80fa3a1102bf911e5cc736cc2b | /accounting.cpp | 92659abbe7bc7673b15a9a093a29a76cdc286987 | [] | no_license | xman199775/jeanscar | 1aea4dd5b35bab07462e2af3dfc98ee7813720fa | 1170c165ad0d6e50829d3d5db618406326a83c51 | refs/heads/master | 2021-05-05T06:09:14.336541 | 2018-06-25T12:49:52 | 2018-06-25T12:49:52 | 113,491,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,294 | cpp | #include "accounting.h"
#include "ui_accounting.h"
#include <QDate>
#include <QtSql>
#include <QDebug>
Accounting::Accounting(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Accounting)
{
ui->setupUi(this);
ui->Acc_date->setDate(QDate::currentDate());
english = english = QLocale(QLocale::English,... | [
"xman199775@gmail.com"
] | xman199775@gmail.com |
8b5ec95050cf8b1ec27005bf3c5c818b4b2c8bad | 2bfa2e8d2e744e28141a5c5c79119f2f97e853c9 | /zen_rtsp/alg-mutilthread/cascade_xml.h | 7be899eebdec9f8e53f25bf12be0ff91957f10e8 | [] | no_license | maxenergy/CPP_2020520 | bed4c2fba0dc96c60b6bb20157d11003b00c6067 | 8453b4426dcb044251eaed38d01ba07557348113 | refs/heads/master | 2023-05-17T05:18:32.703231 | 2021-01-24T15:14:01 | 2021-01-24T15:14:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,171 | h | #ifndef _CASCADE_XML_H
#define _CASCADE_XML_H
#include "cascadedetect.h"
#include "opencv2/opencv.hpp"
using namespace cv;
namespace cascade_xml{
const bool isStumpBased = true;
const int stageType =0;
const int featureType =1;
const Size origWinSize =Size(30,40);
const int ncategories =256;
const int NUM_ST... | [
"yuanyupeng-1989@163.com"
] | yuanyupeng-1989@163.com |
422e55f33ff228a0ecc5f66f15bae33573061aea | 4faa337fb95bdad55fba1445f9b1c7b38525e31e | /src/FSM/CalibrationLoop.cpp | dcca5a78b8b268d7dd76ee51564b29702eaf3007 | [] | no_license | nlurkin/Drone | 61aa54b5c88075fae6855ca46ba71269542257bf | 30cccea57c100855fa496c92b93340c34175ef36 | refs/heads/master | 2021-01-22T02:34:42.881230 | 2018-12-12T10:42:46 | 2018-12-12T10:42:46 | 14,590,043 | 0 | 0 | null | 2013-12-07T21:49:29 | 2013-11-21T14:40:07 | C++ | UTF-8 | C++ | false | false | 9,126 | cpp | /*
* CalibrationLoop.cpp
*
* Created on: 2 Mar 2014
* Author: Nicoas
*/
#include "FSM/CalibrationLoop.h"
#include "Generic/GenericMotor.h"
#include "Generic/GenericSensor.h"
#include <avr/eeprom.h>
#include "Constants.h"
CalibrationLoop::CalibrationLoop() {
fState = kIDLE;
fCurrentPower = 0;
calibHeight... | [
"nicolas.lurkin@gmail.com"
] | nicolas.lurkin@gmail.com |
70a1919686d87c918d0ce211ad2d41a851d9f741 | 25d591b091bcf205456b31a08cfd3157a10c8341 | /ChainOfResponsibility/net.h | b7021dfbdbe8cbbc521710e59bb102c37e01f713 | [] | no_license | IvanAram/TC2004 | 7a0aeab8409915358c87c7fddb58d6867345088e | 84a50b83d9b4f99d33a70e43519721ab0a299882 | refs/heads/master | 2020-05-21T21:00:39.791029 | 2016-11-22T19:46:40 | 2016-11-22T19:46:40 | 65,293,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #pragma once
#include "DNS.h"
#include <iostream>
class net : public DNS{
public:
net(std::string _server = ".net") : DNS(_server){ fillTable(); }
std::string searchName(std::string name);
void fillTable();
};
std::string net::searchName(std::string name){
if(IPtable.count(name) > 0) return IPtable[name];
else{
... | [
"a01022584@itesm.mx"
] | a01022584@itesm.mx |
a0f68bc3955a6a828be0bde83edaab4a0d225229 | 99cf7ed46654fabf55b4bd0a4e16eb512177e5c3 | /Public_Library/Tools/Auto_Diff/DIFF_LAYOUT.h | f3cd28600f56aae9b0d44c8cf5f75272d0bcade9 | [] | no_license | byrantwithyou/PhysBAM | 095d0483673f8ca7cee04390e98b7f5fa8d230ca | 31d8fdc35dbc5ed90d6bd4fd266eb76e7611c4a5 | refs/heads/master | 2022-03-29T06:20:32.128928 | 2020-01-21T15:15:26 | 2020-01-21T15:15:26 | 187,265,883 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 571 | h | //#####################################################################
// Copyright 2015.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
// Class DIFF_LAYOUT
... | [
"snubdodecahedron@gmail.com"
] | snubdodecahedron@gmail.com |
85b09ceb7f3f1d991bdd013d125748702956b9d3 | 11cefa76e3cd8b7dc64b0d797d653e68ad9157fd | /include/zg/private/PZGConstants.h | 83a97bf82ced1097e0b5110f630ea37d66d0c510 | [
"BSD-3-Clause"
] | permissive | jfriesne/zg_choir | 984d38d3a0952c5926818c1587cfc10732534ff9 | 99ffe96c7289fe44244d0062e72b4a62be7d4d38 | refs/heads/master | 2023-08-22T19:30:38.449263 | 2023-08-13T05:23:09 | 2023-08-13T05:23:09 | 95,175,919 | 8 | 4 | BSD-3-Clause | 2021-12-18T21:27:14 | 2017-06-23T02:34:21 | C++ | UTF-8 | C++ | false | false | 1,859 | h | #ifndef PZGConstants_h
#define PZGConstants_h
#include "zg/private/PZGNameSpace.h"
#include "message/Message.h"
#include "util/String.h"
namespace zg_private
{
// Command codes we use internally when sending database-update-requests to the senior peer
enum {
PZG_PEER_COMMAND_RESET_SENIOR_DATABASE = 2053336420, //... | [
"jaf@meyersound.com"
] | jaf@meyersound.com |
a32a5eec436b361e205a68f35256c8507f9acb05 | d928140089ce41dab28a512e5e7618ea77f9cf53 | /2.选择/if最简单的用法_1.cpp | 712e70c07ba7e00c300497ad3753d4efbf2c662b | [] | no_license | fafuduck/C_stu | f912b45795b48db98216b5baa88a5c450edd410c | fb367e03b3c26c6746ebb2d673b016068db47c42 | refs/heads/master | 2020-03-27T23:52:38.778737 | 2018-09-04T13:53:16 | 2018-09-04T13:53:16 | 147,354,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | cpp | # include <stdio.h>
int main(void)
{
if (5 > 3)
printf("SSSS\n");
return 0;
} | [
"q34556789@qq.com"
] | q34556789@qq.com |
843104b24eff650b82f652f8567d140d1a9c49e0 | d61f5cbd7f7ef7d71dad8bd790b4942baef9e315 | /C++/ExtractCsvFromHtml/main.cpp | ca737741551d00bde7a69164c9072bbddf24bf89 | [] | no_license | robert-impey/CodingExperiments | 44b8bf657c46c28c21df9b7640e21a69fe89103f | 8ff27fa008ebee6497c98277d3eb7b23c3acb482 | refs/heads/master | 2023-08-17T18:54:05.125366 | 2023-08-16T00:32:49 | 2023-08-16T00:32:49 | 10,871,414 | 0 | 0 | null | 2023-07-19T08:01:15 | 2013-06-22T19:48:16 | C# | UTF-8 | C++ | false | false | 3,345 | cpp | /*
Extract comma separated values from with a td tag in HTML.
(c) Robert Impey 2016-04-30
*/
#include <iostream>
#include <string>
#include <vector>
#include "TdExtractor.hpp"
using namespace std;
enum TagState
{
OutsideTag,
InTag
};
enum TdTagState
{
OutsideTdTag,
InTOfTag,
InDOfTag,
InSla... | [
"robert@impey.info"
] | robert@impey.info |
ab168a77263994d4ea8e2831e5e66d09d5295391 | 9be16f89ae5f5734cf50dd909d200ae546e1b06f | /iteration.cpp | 486ba3f8e224cc9fbadd2fa7deef8820cfb50fa3 | [] | no_license | rabbi16-04/NumericalMethod_lab | 9302ee94005dc61291dbd0b79c45f4d1ee975954 | 62845988670634151031f02e14294c314797af5e | refs/heads/master | 2020-03-29T01:42:50.954824 | 2018-10-25T06:40:26 | 2018-10-25T06:40:26 | 149,402,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include <bits/stc++.h>
using namespace std;
const double tolerance = 0.001;
double compute(double x) {
return (6*pow(x, 3.0) + exp(2*x) - 1) / 5;
}
int main() {
double x = 1.0, root = 1.5, iter = 5.0, i = 1.0;
while (true) {
x = compute(x);
if ((fabs(x - root)) < tolerance) {
break;
}... | [
"noreply@github.com"
] | rabbi16-04.noreply@github.com |
9b98f4233cd8142966b86166f531aa2e5787e56c | 1872f57c9d68db7e2b38c47580f98a3783e623f3 | /PriceSource120527/AlignmentUngapped.h | 4cb53060a9a7fea9f226ad2a95c326864e98de31 | [
"MIT"
] | permissive | Lijiakuan/sequencing | 60e6d1ba7eb93cd97df36935555c0930dacad425 | 3ff23f6478c99ddc21da7a1fba3cb7642ae9842c | refs/heads/master | 2021-06-12T21:37:26.270625 | 2017-02-28T18:31:43 | 2017-02-28T18:31:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,662 | h | /*
PRICE was written by Graham Ruby.
This file is part of PRICE.
PRICE is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PRICE is distributed... | [
"github@jakewendt.com"
] | github@jakewendt.com |
ae9e2a22750a4ae08a6e3f288cb377b6b45db76b | a39aadfe28c6b857c214d2e40a89c0d264154238 | /src/plugins/azoth/azoth.h | b52ec730dfc457dd71066b2d002c53f4dd1f1b3f | [
"BSL-1.0"
] | permissive | yzhui/leechcraft | 5b88a16ef8a0d30311590cba01b303d631b75b2e | 67bcf06415958e453d8f332208506555f5d4c590 | refs/heads/master | 2020-04-07T13:20:04.612404 | 2018-11-18T23:42:12 | 2018-11-18T23:42:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,020 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
9df272e9927433fad1985670e79ab88b274f02e6 | 1a2244c5b9879492227fec5ac86bf0b8ed8d19b1 | /CS470.skel/IP/header/IPdefs.h | c218be6b0448c090574897053fc630dcaa8e1ce6 | [] | no_license | mhasan004/Image-Processing-Program | 77b58cdb0a0abd5eac327a4759eb3b68a460ca87 | e5b7ee6fc26447306de03fef21024b04e007a621 | refs/heads/master | 2022-03-17T23:53:19.718885 | 2019-12-12T06:00:36 | 2019-12-12T06:00:36 | 211,395,282 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,089 | h | // ======================================================================
// IMPROC: Image Processing Software Package
// Copyright (C) 2016 by George Wolberg
//
// IPdefs.h - Header for IP symbolic constants (#defines) and globals.
//
// Written by: George Wolberg, 2016
// =============================================... | [
"mhasan0047@gmail.com"
] | mhasan0047@gmail.com |
f8b370d0d63cab1d05109ac37e243cee3918d635 | 3c7591ca4ddfb0fa5163beb7570e45ff438b53c7 | /share/test/src/common/AMTest.cc | c489d898120301ec6054df5d9aa09f31047611aa | [
"Apache-2.0"
] | permissive | fairchild/one-mirror | 9d5ad0515455cb73ccfa8f18b9c64fd9fb8c5ef5 | 844f4dc7782177c58312e48974e4176eb87363a4 | refs/heads/master | 2016-09-05T08:55:19.388345 | 2010-05-20T23:43:50 | 2010-08-22T20:39:43 | 533,394 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cc | #include "ActionManager.h"
#include <iostream>
#include <cerrno>
class AMTest : public ActionListener
{
public:
AMTest():am()
{
am.addListener(this);
};
~AMTest(){};
ActionManager am;
private:
void do_action(const string &action, void * arg);
};
void AMTest::do_action(cons... | [
"jfontan@fdi.ucm.es"
] | jfontan@fdi.ucm.es |
7377b62facfaffdca0d6433a0566a065b281c329 | e6b668c5afc2a333a836bd8dc1dce6e04a5ef328 | /codeforces/B. The Queue.cpp | 0b66f5d9c4059f9fc1c2577fbc21bb3525853ced | [] | no_license | mahim007/Online-Judge | 13b48cfe8fe1e8a723ea8e9e2ad40efec266e7ee | f703fe624035a86d7c6433c9111a3e3ee3e43a77 | refs/heads/master | 2020-03-11T21:02:04.724870 | 2018-04-20T11:28:42 | 2018-04-20T11:28:42 | 130,253,727 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,751 | cpp | ///Bismillahir Rahmanir Rahim
#include<cstdio>
#include<iomanip>
#include<cstring>
#include<cmath>
#include<cstdlib>
#include<cctype>
#include<algorithm>
#include<string>
#include<vector>
#include<queue>
#include<map>
#include<set>
#include<sstream>
#include<stack>
#include<list>
#include<iostream>
#include<assert.h>
... | [
"ashrafulmahim@gmail.com"
] | ashrafulmahim@gmail.com |
82e10fdf99d36fcfb44948c156c3cb2c359a3df6 | b1addef38df9a42265857c17ee5330cd41ddb80f | /c++ files/factorial.cpp | 19b3eb0c40785a92ae2736fc490759d57b4ddf71 | [] | no_license | sainitripti/data-structure-problems-c- | d24a159c3659ac0fc94a5eca94959cb74cb3004b | 6bf55959c4acd265d27f06ccf68eafe094bca9f5 | refs/heads/master | 2021-09-04T17:25:23.928465 | 2018-01-20T12:09:56 | 2018-01-20T12:09:56 | 118,239,156 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | #include<iostream>
using namespace std;
class factorial
{
int fact;
int num;
public:
factorial()
{
num=1;
fact=1;
}
int calc(int num);
void input();
void output();
};
void factorial::input()
{
cout<<"\n Enter number: ";
cin>>num;
}
int factorial::calc(int num)
{
if(num<0)
return -1;
else if(num... | [
"noreply@github.com"
] | sainitripti.noreply@github.com |
69b9c269504ee00d1cc45fd69bcb1b44f024fe52 | d7cec1dcc278704683f98d89175e3248149c52d0 | /sockets/v0/SocketAddr.h | 5bf5138f9dee33a30416076c30eb3405ba69c7c0 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dadalang0207/sockets | bc8dfce81826d9318bdaff6fc75662dde2551bfc | 893de0a8a4376bfef7502f20d81c22c7e001c0a8 | refs/heads/master | 2021-01-23T06:55:45.142832 | 2016-12-19T09:18:44 | 2016-12-19T09:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,625 | h | /*
* PackageLicenseDeclared: Apache-2.0
* Copyright (c) 2015 ARM Limited
*
* 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
*
* Unles... | [
"brendan.moran@arm.com"
] | brendan.moran@arm.com |
645fba046d20e37ca4a5e2a70f53bf789993eef8 | 9aa6e2b9737e7069c2f6efd8556625f3b2a87343 | /code/arrays/sets.cpp | 628a97fc338490dc7249e81c5f5aa2ae6a559bf7 | [] | no_license | Tawishi/100DaysOfCode | e04331ca59b5736e2cef4ee64057c86a21d5f0bb | c09e480cc63c77447f81d933d36827a4d6eb9219 | refs/heads/main | 2023-07-18T06:43:14.242501 | 2021-09-01T11:31:52 | 2021-09-01T11:31:52 | 311,371,587 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int> subset;
int n=3;
void search(int k) {
if(k == n+1) {
for(int i=0; i < subset.size(); i++)
cout << subset.at(i) << ' ';
cout<<endl;
return;
}
subset.push_back(k);
search(k+1);
subset.pop_back();
se... | [
"tawishisharma1@gmail.com"
] | tawishisharma1@gmail.com |
46ed82eb32a5735e3cab37a63a1ef15a1af8bb75 | e391808c077683c42f09278a9a98d005de3b561f | /Animation/sitem.cpp | 78a8b0cdfee30e1698546369c85c90f654c3c0b2 | [] | no_license | ShiFengZeng/Qt | feaa7c78d95e98b9e2ee458091e547f3a0cedf65 | ddd6c268203af03f2abd845e6d73c98b638fb065 | refs/heads/master | 2020-03-21T01:54:16.467867 | 2018-06-20T02:17:50 | 2018-06-20T02:17:50 | 137,968,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include "SItem.h"
SItem::SItem()
{
//random start rotation
angle = (qrand() % 60);
setRotation(angle);
//set the speed
speed = 6;
//random start position
int StartX = 0;
int StartY = 0;
if((qrand() % 1))
{
StartX = (qrand() % 200);
StartY = (qrand() % 200);
... | [
"90011551a90011551@yahoo.com.tw"
] | 90011551a90011551@yahoo.com.tw |
040264716fae8943679dde84465ece08173b2a1a | a7b6d524dd1a2836233e2ed3db433de7497bc95d | /day1/split/split.cpp | eadff79a3d90585fcb87714a6932e0e92d740b75 | [] | no_license | horenmar/prusa-workshop-samples | c13daf97fc31c3f183bae5261c4e6327b27b5fe1 | 0b44197424529695ba6146a85c5b44c0d6a7d3d7 | refs/heads/master | 2022-11-20T20:20:09.834742 | 2020-07-21T17:12:14 | 2020-07-21T21:12:28 | 281,414,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22 | cpp | #include "split.hpp"
| [
"martin.horenovsky@gmail.com"
] | martin.horenovsky@gmail.com |
cffa08134ac08da0c8639c5271db2ff03a93c0ea | 34534e192639527d4dd45f5c9ad9273def8e674f | /3DKeypointsGeneration/main.cpp | 3916055919b3cd48d1d0a79d5ac949b60d4f068f | [
"MIT"
] | permissive | linbaowei/3DkeypointsGeneration | 8a4e6e1fab91ab1e96616e53eaaf9e38815aba8f | 894330e2516866423dbe042246a080097142144b | refs/heads/master | 2021-01-01T05:50:29.851365 | 2013-09-20T02:01:09 | 2013-09-20T02:01:09 | 12,241,420 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,925 | cpp | /*
* Copyright (c) 2012 <Baowei Lin> <lin-bao-wei@hotmail.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the right... | [
"lin-bao-wei@hotmail.com"
] | lin-bao-wei@hotmail.com |
8941b110a72b62fd98cdbdb9748c1681b91b981d | f24a0c747d31e3553fdd22c7e8f8ae319cd7a0d5 | /ESP8266 Weather reading program.ino | e4038f6d69116a537030f390562e6ed02aee5ecb | [
"MIT"
] | permissive | heya10/SmartHouse | bc69a697f4a42fbbeba1132acc6367a9e8ee911f | 60bf2224fd9d44442ffe08c28e55a6c9f5916798 | refs/heads/master | 2021-04-30T09:15:12.216352 | 2018-03-13T09:22:26 | 2018-03-13T09:22:26 | 121,301,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | ino | #include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <Adafruit_Sensor.h>
#include "DHT.h"
#define DHTTYPE DHT11 // DHT 11
// Your network data
const char* ssid = "SSID";
const char* password = "PASSWORD";
const int DHTPin = 2;
DHT dht(DHTPin, DHTTYPE);
static char celsiusTemp[7];
static char humidity... | [
"igor.gielzak@gmail.com"
] | igor.gielzak@gmail.com |
8e43f8f3b4958d7ec671cb94ada71f52528d58a8 | 9af705b9e0e51a1f4a53e8a3b6a45ccd08b12341 | /esp8266webservertest/esp8266webservertest.ino | afea27da0976c610b82a5ee93cee4589e1d7dc14 | [] | no_license | biteker/harezmi | 381f528328931ab754fef8be259d466b3c95d819 | 8be6086a91478475c793c4ad45139773c59e4184 | refs/heads/master | 2020-03-16T23:21:46.067654 | 2018-06-05T04:47:37 | 2018-06-05T04:47:37 | 133,074,406 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,018 | ino | /*
Arduino Webserver using ESP8266
Displays temperature in a webpage
Arduino Mega has three Serial communication ports,this code works well with
Arduino Mega.For UNO users,use Softserial library to connect ESP8266 with
Arduino UNO
If you're unsure about your Arduino model or its pin cofigurations,please ... | [
"biteker@gmail.com"
] | biteker@gmail.com |
76a048a543ffa216ee107ba84fba9eabbed3a709 | 6be464ae66cce516d485b535f2f4429ba874cc0f | /StPicoDstMaker/StPicoDstMaker.cxx | d6c8099c8105d4e270372cedce9a3ff099aa623f | [] | no_license | ZWMiller/run14purityOnline | ca4c0c70d17eb339911a3e42b753e5fcf5f7948c | dfd71efb5a39c910bba6fa5c269de69d16588c39 | refs/heads/master | 2021-05-30T18:43:54.265306 | 2016-03-10T16:07:21 | 2016-03-10T16:07:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,683 | cxx |
#include <bitset>
#include "TRegexp.h"
#include "StChain.h"
#include "StPicoDstMaker.h"
#include "StPicoDst.h"
#include "StPicoEvent.h"
#include "StPicoTrack.h"
#include "StPicoV0.h"
#include "StPicoEmcTrigger.h"
#include "StPicoMtdTrigger.h"
#include "StPicoBTOWHit.h"
#include "StPicoBTofHit.h"
#include "StPicoMtdHit... | [
"zamiller@rcas6007.rcf.bnl.gov"
] | zamiller@rcas6007.rcf.bnl.gov |
cf1fe3499d46a2f832c7574452f3f6c2b0abda7c | 04913c00867c4ee73032f6cb04bb98300faeff6b | /src/include/pmdOptions.hpp | e55300b03aa892e80625e828924f041ddb7fde34 | [] | no_license | Apulus/GHDB | a51c971f0f4e592c27502d385e3f58ab88219bbb | 51775c8828903fc4c5d3232ebdb18cc51c8c4845 | refs/heads/master | 2021-05-02T11:04:03.832842 | 2017-03-22T08:10:49 | 2017-03-22T08:10:49 | 53,928,024 | 1 | 1 | null | 2016-03-15T09:35:12 | 2016-03-15T08:39:06 | null | UTF-8 | C++ | false | false | 2,802 | hpp | /**************************************************
Copyright (C) 2016 CHEN Gonghao.
chengonghao@yeah.net
**************************************************/
#ifndef PMDOPTIONS_HPP__
#define PMDOPTIONS_HPP__
#include "core.hpp"
#include <boost/program_options.hpp>
#include <boost/program_options/parsers.hpp>
using ... | [
"chengonghao@yeah.net"
] | chengonghao@yeah.net |
cf694838118b486f6f9719d71629f09b0a793b33 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium/crypto/encryptor_nss.cc | aaa66268341623e15c87ff7e9d63e1ebe4c0e7df | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 3,677 | cc | // Copyright (c) 2011 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 "crypto/encryptor.h"
#include <cryptohi.h>
#include <vector>
#include "base/logging.h"
#include "crypto/nss_util.h"
#include "crypto/symmet... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
874783aebfc751d38268527530f21d5cf4561aff | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_159.cpp | d3c18664c3c1d6daa30899c41ed0efd1c8cb1788 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | cpp | return (struct oid_array *) item->util;
}
struct collect_changed_submodules_cb_data {
struct string_list *changed;
const struct object_id *commit_oid;
};
/*
* this would normally be two functions: default_name_from_path() and
* path_from_default_name(). Since the default name is the same as
* the submodule path... | [
"993273596@qq.com"
] | 993273596@qq.com |
0252a98e5430566fec3b97644f937df3f171df21 | 5b641d7b69ba0d43bd224d19831ab67a5b101582 | /bin/xsandbox/graphics.cpp | 36a22576808e99c1adce493a81ecb9273fdbc2d5 | [] | no_license | jpivarski-talks/1999-2006_gradschool-2 | 9d7a4e91bbde6dc7f472ea21253b32a0eca104e4 | ca889b4d09814a226513e39625ae2f140c97b5d5 | refs/heads/master | 2022-11-19T11:37:55.623868 | 2020-07-25T01:19:32 | 2020-07-25T01:19:32 | 282,235,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,778 | cpp | #include "graphics.h"
#include "sand_water.h"
int width = 400;
int height = 300;
float light_angle = 150. * 3.14 / 180.;
float lightx = cos( light_angle );
float lighty = sin( light_angle );
const float lightz = 5.;
bool contours = true;
unsigned char* buffer = NULL;
float* sand_speckle = NULL;
//// graphics_init(... | [
"jpivarski@gmail.com"
] | jpivarski@gmail.com |
152354b85b893b9bb8f8bc92c853736886dd60c8 | 98b6c7cedf3ab2b09f16b854b70741475e07ab64 | /www.cplusplus.com-20180131/reference/bitset/bitset/to_ullong/to_ullong.cpp | 9aa6ebb64f0fbfcb20556c7c04f254ea11caaa59 | [] | no_license | yull2310/book-code | 71ef42766acb81dde89ce4ae4eb13d1d61b20c65 | 86a3e5bddbc845f33c5f163c44e74966b8bfdde6 | refs/heads/master | 2023-03-17T16:35:40.741611 | 2019-03-05T08:38:51 | 2019-03-05T08:38:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | // bitset::to_ullong
#include <iostream> // std::cout
#include <bitset> // std::bitset
int main ()
{
std::bitset<4> foo; // foo: 0000
foo.set(); // foo: 1111
std::cout << foo << " as an integer is: " << foo.to_ullong() << '\n';
return 0;
}
| [
"zhongtao.chen@yourun.com"
] | zhongtao.chen@yourun.com |
1829aeed104e6a7bc43bcce3ea5d1151835c54b4 | a9aca5fbf458c2799022fad925aaf5066fcad19e | /sources/model/Section.cpp | 96da7ae2d04712564bd28580e84f843d81d8d96a | [
"MIT"
] | permissive | btolfa/aspose-words-cloud-cpp | ce68bce98392220038b3878eb6a1b3cf67a22b11 | 570980f5d1b02725ed792277a1c9923c50f8f8ff | refs/heads/master | 2020-04-07T16:19:28.054962 | 2018-11-21T09:21:54 | 2018-11-21T09:21:54 | 158,524,516 | 0 | 0 | null | 2018-11-21T09:37:52 | 2018-11-21T09:37:51 | null | UTF-8 | C++ | false | false | 11,621 | cpp | /** --------------------------------------------------------------------------------------------------------------------
* <copyright company="Aspose" file="Section.cpp">
* Copyright (c) 2018 Aspose.Words for Cloud
* </copyright>
* <summary>
* Permission is hereby granted, free of charge, to any person obtaining a ... | [
"evgeny.kuleshov@aspose.com"
] | evgeny.kuleshov@aspose.com |
7ec2ff623f4b7c2109e6f35451143854c24feb9a | 397e5b58b968f122fbac156a84392334a237b0f6 | /include/TrackerCsIHit.hh | 60fa64251115526506e144e2e680dbb4697fe0a1 | [] | no_license | aschester/TIP_Coulex_RDM | f0ccdf17c36d470c3ede7f1ec73a02d383a5ef68 | f09c78661cf1ee8c7d42d8b2dc031acda6e48a6a | refs/heads/master | 2021-01-01T18:57:05.616869 | 2017-07-26T21:41:54 | 2017-07-26T21:41:54 | 98,467,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,751 | hh | #ifndef TrackerCsIHit_h
#define TrackerCsIHit_h 1
#include "G4VHit.hh"
#include "G4THitsCollection.hh"
#include "G4Allocator.hh"
#include "G4ThreeVector.hh"
#include "G4UnitsTable.hh"
#include "G4VVisManager.hh"
#include "G4Circle.hh"
#include "G4Colour.hh"
#include "G4VisAttributes.hh"
//....oooOO0OOooo........oooOO... | [
"noreply@github.com"
] | aschester.noreply@github.com |
25beb2e6b421d89f1b40a3446c0bf82c07a2bb93 | 2e8f8aea30c4d5e30d155a815f649cc605759926 | /exemplo_utilizacao_LCD_2/exemplo_utilizacao_LCD_2.ino | 8c624fb5fa13a5a471a0fc69fd81c6e15474f6fa | [] | no_license | wsurkamp/Projects_arduino | 9820bb976882465ee8fcaa09e9536d431cabe486 | 84f6dc9ebb1394743e89ea1d3171317d8a8e4890 | refs/heads/master | 2021-01-10T01:53:30.205191 | 2015-12-11T05:23:32 | 2015-12-11T05:23:32 | 45,489,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | ino | #include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
int incomingByte, x, y;
void setup(){
lcd.begin(16,2);
Serial.begin(9600);
}
void loop(){
if (Serial.available() > 0){
incomingByte = Serial.read();
lcd.print(char(incomingByte));
x++;
y++;
if (x > 15){
lcd.setCursor(0,1);
... | [
"christianwkamp1@gmail.com"
] | christianwkamp1@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.