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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
91f6ac576c01a542a73198e7d7c8772b12bf8570 | 3a78fcd2c9a66789f995513d9beba219c8a45fe8 | /Hardware/krnl_cornertracker.build/link/vivado/vpl/prj/prj.srcs/sources_1/bd/zcu104_base/ip/zcu104_base_auto_us_df_0/sim/zcu104_base_auto_us_df_0.h | 642ef4a0e72616adb2db9f12f2ea1bf070c0cad5 | [] | no_license | msimpsonbbx/test_fast | d25a36e3c067a75c1bae7163ece026879f1cb2aa | 01b00070b2d4165c7796726f5a32be93bfee8482 | refs/heads/main | 2023-03-26T00:04:16.541544 | 2021-03-25T16:15:28 | 2021-03-25T16:15:28 | 351,492,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,750 | h | #ifndef IP_ZCU104_BASE_AUTO_US_DF_0_H_
#define IP_ZCU104_BASE_AUTO_US_DF_0_H_
// (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
// ... | [
"m.simpson@beetlebox.org"
] | m.simpson@beetlebox.org |
fb68cac0243822ecd163a0a108168426b76e6de7 | 8117773d24f922aac3d80d04392f62f74aab1f8c | /node_modules/react-native-windows/Microsoft.ReactNative/Views/DevMenu.h | 707d0ae90b9a695395a6005442d33ab99cf7d729 | [
"MIT"
] | permissive | micarthur/wend | bb7b34c8137ff2cfdad8a22d5e8565497be877b3 | dcf44ba1d5968958d39e69c86367b4ca038aca98 | refs/heads/main | 2023-05-13T19:04:10.169152 | 2021-06-11T19:28:35 | 2021-06-11T19:28:35 | 374,455,909 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | h | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <cxxreact/CxxModule.h>
#include <functional/functor.h>
#include <NativeModules.h>
#include <ReactHost/React.h>
namespace Microsoft::ReactNative {
struct DevMenuManager : public std::enable_shared_from_this<D... | [
"micarthur@utexas.edu"
] | micarthur@utexas.edu |
f01acf90f2b2162b505e22e2c0b9f5355ad996fc | 39ad116dab0ba316a6e7f737a031a0f853685d41 | /838/a.cpp | a761738168fd1f5bd5f6735c736839e19026dd07 | [] | no_license | Abunyawa/contests | e0f9d157ce93d3fc5fbff0e3e576f15286272c98 | 9923df8f167e8091e23f890b01368a3a8f61e452 | refs/heads/master | 2023-05-31T14:20:31.983437 | 2023-05-11T14:19:58 | 2023-05-11T14:19:58 | 251,015,695 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | cpp | // chrono::system_clock::now().time_since_epoch().count()
#include <bits/stdc++.h>
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define rep(i, a, b) for (int i = (a); i < (b); ++i)
#define debug(... | [
"abusaid.manap@gmail.com"
] | abusaid.manap@gmail.com |
f9368354f01adf6f45735662099dfe05e058ba62 | ae840e20b19056a8712844e1331dd3b5cf0937aa | /MiniSlam/MiniSlam/System.cpp | f020f2dbe3fee220990c190680b1aaea8c9094ee | [] | no_license | wchen61/MiniSlam | ed715c2fdcfa0b8504b33e214195479517502276 | 87d03d332fada932e95aebda55c4255b7f74b914 | refs/heads/master | 2021-09-16T21:38:34.874127 | 2018-06-25T11:50:11 | 2018-06-25T11:50:11 | 109,693,084 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | //
// System.cpp
// MiniSlam
//
// Created by weiwu.cww on 2017/11/12.
// Copyright © 2017年 weiwu.cww. All rights reserved.
//
#include "System.hpp"
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv;
namespace MiniSlam {
System::System() : mPubFrame(false), mFirstPubTim... | [
"183351030@qq.com"
] | 183351030@qq.com |
d72619c9462861c40f100c02b6c3399bc8b50d5e | a80f9892194bb0a4e2262e116f6c81df1149ab4d | /Linear_Lights_FastLED_11/Linear_Lights_FastLED_11.ino | b44318ea71304aab0aed51d54ff0c7b5469a83ed | [] | no_license | stevedudek/Arduino | f4bfe975c5da7148d67a20f3103d9de01fec6ae7 | 9025714324190f7b8b352185d3455f8b88636419 | refs/heads/master | 2023-01-08T00:14:57.236175 | 2022-12-27T00:40:37 | 2022-12-27T00:40:37 | 29,985,600 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,338 | ino | #include <FastLED.h>
//
// Linear Lights with FastLED
//
// HSV - got rid of palettes
// Noise
//
// 3/28/2018
//
#define NUM_LEDS 11
#define BRIGHTNESS 255 // (0-255)
#define DELAY_TIME 40 // in milliseconds
#define DATA_PIN 12
#define CLOCK_PIN 11
CRGB leds[NUM_LEDS];
CHSV current_frame[NUM_LEDS]; // frameb... | [
"stephen.dudek@invitae.com"
] | stephen.dudek@invitae.com |
a17d7cbe0b682d12ce4f1351de18557e401496ac | 54a3c75066411580002bc984664883e52932a908 | /Program Assignments/Chapter 10/Calendar/main.cpp | 6b4f1e980c90e852105d9607cc9569887fb62e8d | [] | no_license | tyler-cranmer/Data_Structures | 5287c9b5c22109b621c944d716ad43aa015b3dbc | da855c2c9489e7fffd5972601dffdb4440bf9780 | refs/heads/main | 2023-06-27T12:32:01.304357 | 2021-07-30T22:23:02 | 2021-07-30T22:23:02 | 391,179,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,495 | cpp | /*Chapter 11 Program: George Tyler Cranmer 2.10.2020. This file contains the 'main' function.
This program promps the user to set the month, day and year. This will print out the given date entered,
test to see if the given year is a leap year, calculate how many days have passed this year,
calculate the days left ... | [
"tyler.cranmer@outlook.com"
] | tyler.cranmer@outlook.com |
93f8adb82fbc9acefd95b1752f8fc12acbaccd70 | 44a1382fbb4f566a933ff2ad3a864d6f6f4dcaf2 | /Rotate_List.cpp | fc9cb4a3c201dc2a492b2f9dc0bfe9370009fa84 | [] | no_license | yashparmar15/Cpp-Codes | e3f15c5f6bb626d5b8e8115a14a3a825ed138630 | 7016ef17f03f9d493ee7866785f27e73b09779e7 | refs/heads/master | 2023-04-19T02:39:19.138477 | 2021-05-09T18:12:55 | 2021-05-09T18:12:55 | 276,151,617 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | class Solution {
public:
ListNode* rotateRight(ListNode* head, int k)
{
if(head==NULL|| head->next==NULL)
return head;
ListNode* temp=head;
int n=1;
while(temp->next!=NULL)
{
n++;
temp=temp->next;
}
if(k%n==0)
... | [
"noreply@github.com"
] | noreply@github.com |
55c515a1f2b161dde86838d6171130a18753d8bc | 3fc19c271eca0fbbb423aae28cb0ef53c0c3a291 | /codeforces/1466/D.cpp | 19edfb3348dc851a223ea469613a2717f25995bc | [] | no_license | tstanvir/mySolutionRepo | 09373dccc86ac8a6d1992a6761a81b98035a8977 | 0b635d689424bc8f55f0efd54ed028638d81a0e2 | refs/heads/master | 2023-08-11T01:53:53.320511 | 2021-05-22T18:06:00 | 2021-09-14T15:18:55 | 353,521,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,171 | cpp | /// Bismillahir Rahmanir Rahim
//Author: Tanvir Hussain
//ICE,NSTU
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
const long long MOD = 1000000007;
const double rad=(acos(-1)/180.00);
#define IOS ios::sync_with_stdio... | [
"tanvirshossain0@gmail.com"
] | tanvirshossain0@gmail.com |
6f2d840e9d83125124a4355acd1de22fa629828e | 699f7c7ee5774e8ccbf7bcce5abce9b037770908 | /delta/core/metrics/pairwise.cpp | 0904422ab5715cd725cfd5e5a627b8fffa01fb19 | [
"MIT"
] | permissive | KonstantinosKr/delta | ad0a3e51ffbb210cc3c3f65ec8d1e8d8bc533811 | ed650a59b8723f4aa2d145ef2accc885414d1261 | refs/heads/master | 2022-11-06T20:54:49.124269 | 2022-10-19T09:05:26 | 2022-10-19T09:05:26 | 46,390,503 | 6 | 1 | MIT | 2022-10-19T09:09:06 | 2015-11-18T02:44:00 | C++ | UTF-8 | C++ | false | false | 5,142 | cpp | /*
* pairwise.cpp
*
* Created on: 12 Jun 2018
* Author: konstantinos
*/
#include "pairwise.h"
void delta::metrics::pairwise::pointToMeshDistance(
iREAL xV,
iREAL yV,
iREAL zV,
std::vector<iREAL>& xCoordinates,
std::vector<iREAL>& yCoordinates,
std::vector<iREAL>& zCoordinates,
std::vector<iREAL>& ... | [
"contact@ikonstantinos.com"
] | contact@ikonstantinos.com |
04b3f9c8dce4a4c4ece10bcbe401ec81c23ad69a | 0969a99e1c037421abff66940a3f971cc9706d19 | /core/include/utility.h | 16cf772adb03a3411fc9fdc93adeabcce046e433 | [
"Apache-2.0"
] | permissive | Champii/SourcetrailDB | a651733b7af7dbc9daa39e35e9af8015b9fa5e8d | 2cf447281a2457b0b4755efe3fd9b7b519a12056 | refs/heads/master | 2020-09-13T10:42:32.696442 | 2019-11-20T05:01:27 | 2019-11-20T05:01:27 | 222,746,005 | 1 | 0 | Apache-2.0 | 2019-11-19T16:58:12 | 2019-11-19T16:58:12 | null | UTF-8 | C++ | false | false | 970 | h | /*
* Copyright 2018 Coati Software KG
*
* 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 agreed to in writ... | [
"malte.langkabel@gmail.com"
] | malte.langkabel@gmail.com |
484c63451265e03a9c24bd6bd7b64ccf305f7a6c | 7323076e12015fc40f372cafa8f350f91cbef1eb | /src/shared.cpp | 463afea8959b66e6c66ecce0cdf4a9fd3ae2fea2 | [
"MIT"
] | permissive | JAYRANRAIN/AppImageLauncher | 557b0784319a9190023476fba604f3d87ff0bdca | a7d25e2d0c5ec844e9f46065991fab8e748435cd | refs/heads/master | 2020-03-20T17:09:50.324052 | 2018-06-10T15:26:38 | 2018-06-14T16:00:22 | 137,553,437 | 1 | 0 | null | 2018-06-16T04:42:09 | 2018-06-16T04:42:09 | null | UTF-8 | C++ | false | false | 18,164 | cpp | // system includes
#include <iostream>
#include <sstream>
extern "C" {
#include <appimage/appimage.h>
#include <glib.h>
// #include <libgen.h>
#include <sys/stat.h>
#include <unistd.h>
#include <xdg-basedir.h>
}
// library includes
#include <QDebug>
#include <QDirIterator>
#include <QJsonDocume... | [
"theassassin@assassinate-you.net"
] | theassassin@assassinate-you.net |
509a404eef7a3192988e8e9f00b3bfbd096f79f0 | 11bb2fbebc41cbbdb8c72e2cf21688dae53dbb2f | /ArduinoLibraries/LinearDeltaCom/LinearDeltaCom.h | 62ee9f1b59374bc2381187cc6d10758d97a9d0ed | [] | no_license | RThardware/HorizontalLinearDelta | 02d1fd9db5e21afa8e83f4605ab5ee128d433b29 | 9cd2f9415a3849b1fb0c8631e6fd792ac8dad193 | refs/heads/master | 2020-05-18T09:11:37.173176 | 2014-05-09T14:29:28 | 2014-05-09T14:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,702 | h | // LinearDeltaCom.h
// Written by Michael Pauly
// Version 1.1
// Latest Revision May 4, 2014
// This library contains the functions necessary to map callbacks to the LinearDelta library.
// It uses ASCII communication to parse the following formatted commands:
//
// Input Associated Callbacks
// -------------... | [
"paulyml@rose-hulman.edu"
] | paulyml@rose-hulman.edu |
5f9335045cd7a71d849838c87bab50a52b29117d | 4ab78ac4e1d2bd226ad62ba33ccadc796208786c | /ortools/sat/sat_inprocessing.cc | 50867282ad4eea1dbb18b0701b06f50d7b497d77 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bthomas50/or-tools | 04612ed0b57916ca45801d1d9df62177e5ec861a | cfd6623559de0eb517549202e468fdc481dc1c88 | refs/heads/master | 2021-06-13T00:42:34.265174 | 2021-06-04T22:31:43 | 2021-06-04T22:31:43 | 142,228,918 | 0 | 0 | Apache-2.0 | 2019-01-17T19:19:48 | 2018-07-25T01:01:20 | C++ | UTF-8 | C++ | false | false | 58,239 | cc | // Copyright 2010-2018 Google LLC
// 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 agreed to in... | [
"lperron@google.com"
] | lperron@google.com |
ba058452d1b5d09c247caa93fdcadd3c2476e116 | b97469c73de4198dfcac2f4ce4b263f032b4f7e1 | /glfwApp/glfwApp.cpp | bcddd423c8c05507cfefe65ba2de647eac4d8fa8 | [
"MIT"
] | permissive | jianbinghuang/CppOpenGLWebAssemblyCMake | 8f2b2e57304629c54708bb95f0cc5517eadb5683 | 5a3d7f474a3c1ad5f776bb9a2f51ab4a817f4e6b | refs/heads/master | 2022-04-16T15:10:47.606029 | 2020-02-17T02:28:23 | 2020-02-17T02:28:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,320 | cpp | #include "glfwApp.h"
#include <galaga/Frame.h>
#include <galaga/ScreenDevice.h>
#include <array>
#include <chrono>
#include <iostream>
#include <map>
#include <thread>
#if defined(EMSCRIPTEN)
#include <emscripten.h>
#include <emscripten/bind.h>
#endif
#include "GameStateTracker.h"
#include "galaga/Galaga... | [
"681992+lukka@users.noreply.github.com"
] | 681992+lukka@users.noreply.github.com |
f493af85f6f2733305cdcaa678440b03fdf303ed | 76cda73a0a93febe666d229daaa328060b6c3165 | /GEOUIAppl.cpp | 3f4263340d23b861c76fed5fb39884bba699288a | [] | no_license | VB6Hobbyst7/geo_ui2015 | e2d7b907791e37d4404a211a9940ce4ee473cd72 | 48be755f43bd8a1fdc50c4ef8fe46cdc6f635e6a | refs/heads/master | 2021-10-21T11:54:28.569969 | 2019-03-04T08:50:51 | 2019-03-04T08:50:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,477 | cpp | // GEOUIAppl.cpp: implementation of the GEOUIAppl class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#define INITGUID
#import "msado15.dll" no_namespace rename ("EOF", "EndOfFile") rename ("EOS", "ADOEOS")
#include <stdio.h>
#include <stdlib.h>
#include <i... | [
"noreply@github.com"
] | noreply@github.com |
f5b89a8c2e31d31c2036cbbbf8772dd10fe87e09 | e5358ad1d643e8c73d1c674153af6caa842e6554 | /deque.cpp | ce843fd7177c669e41b5e30ae1080c7caca51b1c | [] | no_license | DeveloperArthur/Programacao-CPP | e5c698b8d6676d2c51f473201139e861d269af5d | 16ad60bc8c7f1ad824e1c328cd10e0517e94b3d0 | refs/heads/master | 2020-05-05T04:15:38.267404 | 2019-05-09T16:59:07 | 2019-05-09T16:59:07 | 179,704,633 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include <iostream>
#include <deque>
using namespace std;
int main(int argc, char *argv[]){
deque<int> fila;
cout << "Antes de inserir os elementos: ";
if(fila.empty()){
cout << "Fila vazia\n";
}else{
cout << "Fila nao vazia\n";
}
fila.push_back(10);
fila.push_back(20);
fila.push_front(... | [
"noreply@github.com"
] | noreply@github.com |
5724ee4b6ef90eedc2d07961824ccb66fc3cffef | 4daa015d45c62feff3808d0bd18b2e16fab02e4f | /examples/print_platform/main.cpp | d9d25af6d9cbe8763a78003c4370af9ab3e66f90 | [
"BSD-3-Clause"
] | permissive | steinwurf/platform | 41b1ff05445858265e324560e8dcf172d7474c20 | 89ee6e96dbfd90b0acd1deb917bbb6ba44023029 | refs/heads/master | 2023-08-31T14:52:49.764298 | 2023-08-23T07:41:17 | 2023-08-23T07:41:17 | 17,145,269 | 19 | 5 | NOASSERTION | 2023-06-22T11:25:48 | 2014-02-24T17:58:48 | C++ | UTF-8 | C++ | false | false | 9,320 | cpp | // Copyright (c) 2013 Steinwurf ApS
// All Rights Reserved
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#include <iostream>
#include <platform/config.hpp>
int main()
{
std::cout << "PLATFORM_LINUX ";
#if defined(PLATFORM_LINUX)
std::cout << "1";
#else
std::cout << "0"... | [
"jpihl08@gmail.com"
] | jpihl08@gmail.com |
a0742dabab2eee3c157ff3c13bede49466f9b5b2 | e6cd763cd6f611f56f338cd06365e0fdf536d4c7 | /sclib/src/SC_BaggenstossEM.h | dfdd4790036703db68fd5fcefb0c56843fb751e3 | [] | no_license | stdm/time_model | 1f732b85d64eeff006ff103d096081da5ae1383d | 0ac567d18b98e636eba3f5b63a27069eea00ee52 | refs/heads/master | 2021-08-22T23:16:22.977678 | 2017-12-01T16:09:44 | 2017-12-01T16:09:44 | 112,759,438 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,209 | h | /**************************************************************************/
/* Derived from: */
/* - */
/* */
/* Responsibility: */
/* - implementations of P.M.Baggenstoss' en... | [
"stdm@zhaw.ch"
] | stdm@zhaw.ch |
18de220601d633229e86fd9cdfc682dfa170e368 | 1b59754b9c26e19626a2498c4f4d0fa5015c1575 | /src/node.h | 60a50b27028b81e1b010b35e4726cee520d7caec | [] | no_license | zephinzer/Graphs-ADT | 05da85a17acae4dbb9e71ba48391f6a311547e8e | 5aaeb3254030c1d5c7bf82d6da66204181d5e13b | refs/heads/master | 2016-09-03T01:11:43.129135 | 2014-04-18T05:42:37 | 2014-04-18T05:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | h | /**
node.h
this file specifies the Node ADT
author: zeph|nzer aka Joseph Matthias Goh
website: http://zephinzer.sg
github: https://github.com/zephinzer
**/
#ifndef Z_NODE_H
#define Z_NODE_H
#include <sstream>
#include <string>
template <class T>
class Node {
T value;
Node* next;
public:
Node();
Node(T valu... | [
"zephinzer@gmail.com"
] | zephinzer@gmail.com |
0afdc40da819fc4c4b5490cabc8251a9d2e9d35b | 8fdd170d3e39fd4eeffea5ec2d61bd0c06eab16f | /1_Manager/xPLduino-Manager/bin/Debug/Firmware/xplduino_controller_RF/eth_com.cpp | 72fb33a53c8ae413cf9b838650dd659099a46ba7 | [] | no_license | TheGrumpy/xPLduinoProject | 6fc07b3cc1ecaa726f07ec7b72eb0c9ef35c1885 | 35a4fa354d9052a79b4f9d2baebe2ea536b890bd | refs/heads/master | 2020-05-30T11:00:21.467230 | 2015-06-30T13:02:03 | 2015-06-30T13:02:03 | 24,757,977 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,044 | cpp | #include <Eth_com.h>
#include <xPL.h>
#include <EtherCard.h>
#include <Arduino.h>
#include <xPL_Message.h>
#include "config.h"
#include "WebServerSD.h"
#ifdef WITH_LIGHTING
#include "lighting_xpl.h"
#endif
#include "shutter_xpl.h"
#include "switch_xpl.h"
#include "temperature_xpl.h"
#define ETH_COM_VERSION 2
// v1... | [
"braveheart87@hotmail.fr"
] | braveheart87@hotmail.fr |
85d83beab128bdb1618df8cf925b2041a628fa34 | d19ec44aeeba2cf891d88c9914a6899dd5bcbcd5 | /Model/GameModel.cpp | cb21e166f9502ab136d065b7a59457bf85729802 | [] | no_license | matthewchiborak/SudsyHD | f06b99add089cca8db4482d79f83e6523ff397ba | e811d33455300a730ecd5d9a8c41aa830ac163e9 | refs/heads/main | 2023-07-16T17:02:42.790226 | 2021-08-29T02:02:23 | 2021-08-29T02:02:23 | 392,882,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | #include "GameModel.h"
GameModel::GameModel(ILevelFactory& levelFactory)
: IGameModel(levelFactory)
{
}
void GameModel::move(const Point direction)
{
this->state.get()->move(direction);
}
void GameModel::interact()
{
this->state.get()->interact();
}
void GameModel::advance()
{
this->state.get()->advance();
}
... | [
"matthewchiborak@hotmail.com"
] | matthewchiborak@hotmail.com |
95cd31f16e5193de309918b35f29a9b994a92061 | 5e7e5ebfc9385b07995bee5654fafd5d91696ef4 | /Pong/include/Ball.h | 69a62307c89342080ebd58d76a69b1468e201465 | [] | no_license | Zephiranos/Pong | 346068ca35b1ea064f2fb2ea901db21f69afbe34 | bab8705e9f100c0e9e12306b03794d61619491aa | refs/heads/master | 2021-01-11T19:18:50.060887 | 2017-01-18T15:18:33 | 2017-01-18T15:18:33 | 79,335,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #pragma once
///
// Ball class header
//
///
#ifndef _BALL_H_
#include "Point.h"
#include "SDL.h"
class Ball
{
private:
int m_resetX;
int m_resetY;
int m_X;
int m_Y;
int m_Width;
int m_Height;
int m_dX;
int m_dY;
int m_speedLaunch;
int m_speedMax;
//Control class copy
Ball(const Ball & ball);
Ball &... | [
"nicolas.z.bordes@gmail.com"
] | nicolas.z.bordes@gmail.com |
681167ff74cee8c91e34751e596166db59018fcd | e679dfd1c7253d385a7e0937c7d2218d78baea5d | /MyCodeSrc/Algorithms/sort/AllSort.cpp | 8ac2ee8227947a8c12fc418c621cef557091ed64 | [] | no_license | TheNhatAT/Data-structures-and-Algorithms-code-in-C | c61e0544cbf7276b55668281c37f7c852fe67fc5 | 3a9509a20191957b7f9ce13648574dca0b5604fb | refs/heads/main | 2023-02-04T09:00:20.147277 | 2020-12-30T15:58:37 | 2020-12-30T15:58:37 | 322,018,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,261 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
void swap(int* a, int* b) {
int c = *a;
*a = *b;
*b = c;
}
void InsertionSort(int a[], int size) {
for (int i = 1; i < size; i++) {
int temp = a[i];
int pos = i;
while (i > 0 && a[i - 1] > temp) {
a... | [
"noreply@github.com"
] | noreply@github.com |
e10ad606745fdeb7ffad791a58aaaf2a2391f78b | 9a3b4683bc7ea44fe4c222861066daf5d96a6ff8 | /final/include/ui/sensor/Sensor.h | 52b4bd80d970d1aa8c1c0232f5b01524da4e40ce | [] | no_license | theo-kim/game-design | fb1b701232173d98c94663a0b768a4387e90e8a5 | 1d33744b1fa9e955724299cc5d39435d24c9d2b5 | refs/heads/master | 2020-07-30T11:29:33.585982 | 2020-01-28T20:24:09 | 2020-01-28T20:24:09 | 210,213,203 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #ifndef SENSOR_DEF
#define SENSOR_DEF
#include "standard.h"
#include "ui/transformation/Transformation.h"
class Sensor {
public:
Sensor(Transformation position);
int Check(Sensor *other);
private:
Transformation position;
};
class SensorState {
};
#endif | [
"tk1931@nyu.edu"
] | tk1931@nyu.edu |
3d700d9545cbb4f6eca543a038eb3e22576c6cf8 | 5b8f110384e866d8d04af48daab3f3ef49946b3e | /Utilities/inputdlg.cpp | d09d213aa2ef037ba78a49530da22d4bfdd000b9 | [] | no_license | towhee/Winnow64 | 1ddc5fdcc860635a297f23a089780443a57e758c | 4976cb60a5cbeb50bf32d0bbd069dad62cd3e309 | refs/heads/master | 2023-08-25T19:36:16.286438 | 2023-08-24T21:04:40 | 2023-08-24T21:04:40 | 48,884,756 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | #include "inputdlg.h"
#include "ui_inputdlg.h"
#include <QDebug>
InputDlg::InputDlg(QString windowTitle,
QString description,
QString &input,
QStringList &doNotUse,
QWidget *parent) :
QDialog(parent),
ui(new Ui::InputDlg),
input(in... | [
"hillrg@hotmail.com"
] | hillrg@hotmail.com |
ccc70fcfc86e565b41534ea435cb5ee9a430ec56 | a30371357857195bc421bb14f55774cf02839783 | /ManuvrOS/XenoSession/Manuvr/XenoManuvrMessage.cpp | f44724b3efa648bd8c0e94f8e76f5cf268911077 | [
"Apache-2.0"
] | permissive | jspark311/ManuvrOS | 4f646867b4334aa4134fabd2eaa667fb2339eda0 | 35f241ed0e1aa1d5abd1211cdee2cc4502303b53 | refs/heads/master | 2021-01-23T19:29:54.196320 | 2017-09-09T05:39:59 | 2017-09-09T05:39:59 | 57,365,724 | 3 | 0 | null | 2016-04-29T07:43:32 | 2016-04-29T07:43:32 | null | UTF-8 | C++ | false | false | 18,423 | cpp | /*
File: XenoManuvrMessage.cpp
Author: J. Ian Lindsay
Date: 2014.11.20
Copyright 2016 Manuvr, 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... | [
"josh.lindsay@gmail.com"
] | josh.lindsay@gmail.com |
6ec4ffaf7d5e1587e4afecdafab924cf5c2793f8 | 2e46458d931aa6be39ecd9712f62a9311106c017 | /exam2/week4/findMedian.cpp | fcf57b1d400dea2bfc79916de31776cfef4ff515 | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | WeiChienHsu/CS165 | 9448fb1731e698b5078e1dd76f62ad51481f2a2c | 65e95efc90415c8acc707e2d544eb384d3982e18 | refs/heads/master | 2020-03-08T12:48:24.158676 | 2019-01-06T22:33:12 | 2019-01-06T22:33:12 | 128,137,823 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | cpp | #include <iostream>
void bubbleSort(int *arr, int size) {
for(int i = 0; i < size; i++) {
for(int j = 0; j < size - 1; j++) {
if(arr[j] > arr[j+1]) {
int temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;
}
}
}
}
double findMedian(int *arr, int size) {
bubbleSort(arr,... | [
"weichien711@gmail.com"
] | weichien711@gmail.com |
b4b76b1e8a68bad9b824c31fe79c8dbe93166ba4 | 08042519aa130c823317bc6c05a6bc04b518e82f | /source/4.4.cpp | 43c74132af6625b95c4048dc8f86bcbc0130802a | [] | no_license | xuyoujun/leetcode | a49ecbae75646c4a942b0e3146b8fcc35c0aeebf | 8dac14f876671d78a3a3155fab719e83a248766c | refs/heads/master | 2021-01-10T01:19:47.131490 | 2016-04-06T06:15:54 | 2016-04-06T06:15:54 | 43,555,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | // 4.4.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<stdio.h>
#include<stdlib.h>
#include<ctype.h>
int Evaluate_Reverse_Polish_Notation(char **, int len);
int main()
{
char *exp[] = { "2","1","+","3","*" };
printf("%d\n", sizeof(exp)/sizeof(char *));
//printf("%d\n", E... | [
"smallpen@mail.ustc.edu.cn"
] | smallpen@mail.ustc.edu.cn |
20004f1fc57e0440c5567f351244157ff5fe7f1a | b9a78610b06b0836b9a2ea796d45587c9c1267d5 | /Aula15/15-01/exercicio1.inl | d6907cb59761617200923013e5c9e77c33100730 | [] | no_license | wilsonsf/TI-LP1 | ecaf6d0f4af63d509e0f665fd409db194de8c988 | 805333df924f851ec4d873d753294163c3b99da9 | refs/heads/master | 2021-01-10T02:19:42.888987 | 2015-11-25T13:35:46 | 2015-11-25T13:35:46 | 43,001,208 | 0 | 0 | null | 2015-11-25T13:35:46 | 2015-09-23T13:03:23 | C++ | UTF-8 | C++ | false | false | 512 | inl | #include <iostream>
template <typename T>
void preencheArranjo(T &arranjo, int tamanho) {
for (int i = 0; i < tamanho; i ++){
std::cout << "Elemento " << i+1 << ": ";
std::cin >> arranjo[i];
}
}
template <typename T>
void imprimeArranjo(T &arranjo, int tamanho) {
for (int i = 0; i < tamanh... | [
"wilsonsf1@gmail.com"
] | wilsonsf1@gmail.com |
a451e91ba45d76007ea2e0df3ee9466b77953e05 | f11743bea2ae62701a28a746d16561313460e880 | /mainwindow.cpp | d2d0f6cb0bca1d2b41218ce52e1bacf70c18f6ae | [] | no_license | z52c/VEXedrTimer | 8dfafaeb9dfae1cc8ed881dd6cfb4ea0e1542cff | afd2d62086a5d038570870299ef0c6f1b33f9867 | refs/heads/master | 2020-04-07T02:19:42.171155 | 2018-12-30T15:05:23 | 2018-12-30T15:05:23 | 157,972,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,061 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
timer1=new QTimer(this);
connect(timer1,SIGNAL(timeout()),this,SLOT(timerOut()));
showLCD(0);
pause=false;
working=fa... | [
"noreply@github.com"
] | noreply@github.com |
e0c304ac58fcf00caee2cba7466167e9b6d02c5d | f3d628043cf15afe9c7074035322f850dfbd836d | /codeforces/1538/b/b.cpp | d21bb31fc2babbc5199397fa5d6caed840aab642 | [
"MIT"
] | permissive | Shahraaz/CP_S5 | 6f812c37700400ea8b5ea07f3eff8dcf21a8f468 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | refs/heads/master | 2021-07-26T13:19:34.205574 | 2021-06-30T07:34:30 | 2021-06-30T07:34:30 | 197,087,890 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "/debug.h"
#else
#define db(...)
#endif
#define all(v) v.begin(), v.end()
#define pb push_back
using ll = long long;
const int NAX = 2e5 + 5, MOD = 1000000007;
void solveCase()
{
int n;
cin >> n;
vector<ll> a(n);
for (auto &x : a)
... | [
"shahraazhussain@gmail.com"
] | shahraazhussain@gmail.com |
e8877149d0ecb5a00af3483fa993ee1c733969a3 | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/SysWOW64/kbdibm02.DLL.cpp | 9c686be64df98d097bf6712aa8dc07627f225b61 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #print comment(linker, "/export:KbdLayerDescriptor=\"C:\\Windows\\SysWOW64\\kbdibm02.DLL\"")
#print comment(linker, "/export:KbdNlsLayerDescriptor=\"C:\\Windows\\SysWOW64\\kbdibm02.DLL\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
a0faea7fd3fdd7fb8d25b432ec6e90ae0b19f9a9 | 087d25fadcd330790dc0254ae74779523d4d182b | /Bomberman/Src/GameObjects/Map.cpp | 6658b840aa6364cd9108298522638284483eec51 | [] | no_license | BenjaminHamon/ClassicBomberman | 1d0932ea5e0b6742fc348c2560fe83bd16c2b783 | f420659f55dd127955880f50a91dc04503abb6c6 | refs/heads/master | 2016-09-15T23:00:14.264797 | 2013-04-10T16:32:04 | 2013-04-10T16:32:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,248 | cpp | #include <Bomberman/Src/GameObjects/Map.h>
#include <Bomberman/Src/Rectangle.h>
#include <Bomberman/Src/Utils.h>
namespace Bomberman
{
Map::Map(const AssetManager& assets)
: GameObject(Rectangle(0, 0, 13 * CellWidth, 13 * CellHeight), 1),
mapWidth_(13),
mapHeight_(13),
cells_()
{
for (int j = 0; j <... | [
"hamon.benjamin@gmail.com"
] | hamon.benjamin@gmail.com |
08ffe1b6386f6f93f2288669ba57d0c33146b219 | 8dde89055d9c161a154f9a1970cd2079b575dff2 | /Sparky/src/maths/vec4.h | 3cdead0c2c35ac0cd555372e42754ccfd421b1a0 | [] | no_license | FrazLaw/GameEngine | 1b2ca248869de0f3aed800c448a533aad2c01d70 | 6133a20f0112f260195c4fcf3010e21a7cfe3e91 | refs/heads/master | 2023-01-21T07:13:11.605255 | 2020-12-01T22:05:05 | 2020-12-01T22:05:05 | 310,074,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | h | #pragma once
#include <iostream>
namespace sparky {
namespace maths {
struct vec4
{
float x, y, z, w;
vec4();
vec4(const float& x, const float& y, const float& z, const float& w);
vec4& add(const vec4& other);
vec4& subtract(const vec4& other);
vec4& multiply(const vec4& other);
vec4& divi... | [
"fraserlaw95@gmail.com"
] | fraserlaw95@gmail.com |
31f4e023a3ca07541eab9b8dcfcb1ee186218653 | 164e709dcf03ce4769c3ba8f874da0666c35bc03 | /include/RtTpsRenderLibrary/tps_rl_antialiased_circle_painter.h | 80ece4b231b1cbdd2a086c7b82dd3130a03bb33d | [] | no_license | liq07lzucn/tps | b343894bcfd59a71be48bd47d6eff6e010464457 | a3be6dc50c5f9a2ff448ecff3f5df1956e26ad4f | refs/heads/master | 2021-06-23T16:35:01.349523 | 2017-08-30T08:09:02 | 2017-08-30T08:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | h | ////////////////////////////////////////////////////////////////
/// Copyright (c) Shanghai United Imaging Healthcare Inc., 2014
/// All rights reserved.
///
/// \author GONG Maoliang maoliang.gong@united-imaging.com
///
/// \file tps_rl_antialiased_circle_painter.h
///
/// \brief class AntialiasedCirclePaint... | [
"genius52@qq.com"
] | genius52@qq.com |
2c065283ee1810f08c132b9d5d25202ef4f2a8cd | c72b312147605e56a05e621cdad8eb59ced763fd | /A7/Q7.cpp | 15d28ac6ef772890287d97dfddab639f871e87ee | [] | no_license | amritpalsingh123/cpp-assignment | 59039bf6b873e6e5c98bc628ca63aec48f73dcec | 2f2a120418797d0cbbff3800fd5733a6a6b9641b | refs/heads/master | 2023-02-06T19:34:19.699312 | 2020-12-07T00:33:20 | 2020-12-07T00:33:20 | 295,268,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,532 | cpp | // Assignment 7.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <string>
#include <iostream>
#include <cstdio>
using namespace std;
class Student
{
protected:
string student_name;
string student_number;
int age;
public:
Student() {}
Student(string name,string num... | [
"noreply@github.com"
] | noreply@github.com |
54dd358da8ce8775407edb1075432c2641ab5092 | bbe0fdc391b325ec0ec6cb899f133a2b7ffacd14 | /cs215s17/Lab12/card.cpp | 97b6c96a9074d4ea8f216455fea84a986fc79d9a | [] | no_license | juanm707/SonomaStateCourseWork | fe9795c0c268628a64aafa4643a89426f13f6b34 | 970123554d5ac692547fc3c09faea52670844d60 | refs/heads/master | 2023-05-25T17:56:33.791972 | 2020-05-13T08:14:24 | 2020-05-13T08:14:24 | 263,552,635 | 2 | 0 | null | 2023-05-22T22:19:27 | 2020-05-13T07:09:04 | Python | UTF-8 | C++ | false | false | 1,622 | cpp | #include "card.h"
card::card ()
{
rank = suit = '?';
sortval = 0;
}
card::card (const card & other)
{
rank = other.rank;
suit = other.suit;
sortval = other.sortval;
}
card::~card ()
{
}
card & card::operator = (const card & other)
{
if (this == &other)
return * this;
rank = other.rank;
suit = other.suit;
... | [
"juanm.jm49@gmail.com"
] | juanm.jm49@gmail.com |
9b4b593a835a6e79c8180a32b816e3f0f3684e54 | 1836b579333725b8b38422e8388aea26f8e60201 | /src/choco/choco_test.cpp | e39ad950a11773ec202e0b89653410195f565a1c | [] | no_license | decster/choco | 9c74260672fd07d3e01c0096bacf738cf74471b6 | 640d3f31848952bf65685181fd3f24decabc25df | refs/heads/master | 2022-04-22T02:02:03.298543 | 2020-04-23T02:43:59 | 2020-04-23T02:43:59 | 257,894,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include "gtest/gtest.h"
#include "common.h"
int main(int argc, char** argv) {
google::InitGoogleLogging(argv[0]);
google::InstallFailureSignalHandler();
google::LogToStderr();
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"decstery@gmail.com"
] | decstery@gmail.com |
efa273b2acfccfb1377ab65ef63b78067d8ff3ea | 58f60306f9f5638fbb23ec8b6ff896c191da48d4 | /3rd_party/asio/src/tests/unit/serial_port_base.cpp | 3949761a02ba3302c5a36c572a239c0d0c30b5be | [
"BSL-1.0",
"MIT"
] | permissive | mojmir-svoboda/BlackBoxTT | 650cd9da608a9909da32dc88a362affe3df50320 | 0c87b989827107695538e1bf1266c08b083dda44 | refs/heads/master | 2021-01-23T22:00:11.999135 | 2018-01-04T20:54:42 | 2018-01-04T20:54:42 | 58,350,784 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | cpp | //
// serial_port_base.cpp
// ~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or cop... | [
"mojmir.svoboda@flogging.berlios.de"
] | mojmir.svoboda@flogging.berlios.de |
b5eeafd345243709d800c74d4533959d9f66445d | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Implementation/2674.cpp | 634c2731b60ae627321b134169c5d735fae85c87 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,406 | cpp | #include <bits/stdc++.h>
using namespace std;
#define clr(x , v) memset(x , v , sizeof(x))
#define debug(x) cerr << "line" << __LINE__ << ": " << #x << " = " << (x) << endl
#define rep(i, begin, end) for (__typeof(end) i = (begin) - ((begin) > (end)); i != (end + 1) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end)))
... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
147a45f1b6c2ad5b6c06f3841ee766e187b2ffb6 | b37d65854f9d0795580d4374dcf98f40a2840b98 | /src/ds/triple.hpp | 26f8ddfef1fe41f6923f827c40c42a104f9c9d9f | [
"BSD-3-Clause"
] | permissive | hmofrad/Graphite | c089389ee88cff3a4ad7fa967b1782cd954fadc1 | eff39ab81d7aa8d718e06be1dffdf234e2834f29 | refs/heads/master | 2021-07-10T20:31:51.228944 | 2020-07-06T01:22:10 | 2020-07-06T01:22:10 | 168,009,534 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | hpp | /*
* triple.hpp: Triple data structure implementation
* (c) Mohammad Hasanzadeh Mofrad, 2019
* (e) m.hasanzadeh.mofrad@gmail.com
*/
#ifndef TRIPLE_HPP
#define TRIPLE_HPP
template <typename Weight, typename Integer_Type = uint32_t>
struct Triple {
Integer_Type row;
Integer_Type col;
Weight ... | [
"m.hasanzadeh.mofrad@gmail.com"
] | m.hasanzadeh.mofrad@gmail.com |
c3a2cf50e25f8d48de2b46b44e4ae11f95fd6354 | be3736d7c5ca549609d9a46b0b01dd1b7f52c04e | /cmake_public_depend.cpp | 42a2a13a358f1868af31e66cc482e68f3f642f62 | [] | no_license | ally3999/CMaizePublicDepend | acade122f6a339cb5cf5d8ab880d094e469fd8ef | 4846af1d8b344b7e17f7bc9a80101f3dd2624032 | refs/heads/master | 2022-12-30T18:33:01.766568 | 2020-10-21T03:52:47 | 2020-10-21T03:52:47 | 286,499,226 | 0 | 0 | null | 2020-08-10T14:34:55 | 2020-08-10T14:34:54 | null | UTF-8 | C++ | false | false | 130 | cpp | #include "cmake_public_depend.hpp"
#include <cmake_public.hpp>
int call_cmake_public_depend(){
return call_cmake_public()+2;
}
| [
"aafinger@iastate.edu"
] | aafinger@iastate.edu |
ddb8f7e7106f3fee8f6a5f442d78f223a968adbd | 58042988f4737b66a4208722edb0c39ac617e33c | /libraries/L3GGyroscope/L3GGyroscope.cpp | f30d4d32ca9f997586fdacfa968a477189cb9e25 | [] | no_license | rcywongaa/FYP_Client | ac29d329d82128f6805019b75dfd55482f5dab86 | d00246ff2de1d122251dfa10cf352a12dbe4e968 | refs/heads/master | 2016-09-11T00:36:18.859564 | 2015-05-08T16:51:39 | 2015-05-08T16:51:39 | 24,409,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | cpp | #include "L3GGyroscope.h"
#define ALPHA 1
Gyroscope::Gyroscope():I2CDevice(){
addr = 0x69;
}
Gyroscope::Gyroscope(uint8_t sdaPin, uint8_t sclPin):I2CDevice(sdaPin, sclPin){
addr = 0x69;
}
void Gyroscope::init(){
ByteWrite(addr, 0x20, 0xFF);
ByteWrite(addr, 0x21, 0x00);
ByteWrite(addr, 0x22, 0x00);
ByteWrite(a... | [
"rcywongaa@gmail.com"
] | rcywongaa@gmail.com |
d051b52e8a797bb3188a411ec2d4aee4be002cad | 8ad84e8c9ff528394cfaa36120a1f8a37a16f558 | /qt/signal_slot/worker.cpp | c9416df7d61c9e7ed69f89322d1913d175f5a6e7 | [] | no_license | cellist/dev | 30378d031cbf2cc4ca23d8bdcd831679d6417786 | 3b59f54cafb2cfe97ff90caf127e165d866b9280 | refs/heads/master | 2023-08-19T03:43:30.494172 | 2023-08-12T14:43:46 | 2023-08-12T14:43:46 | 1,159,225 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | #include <unistd.h>
#include <QDebug>
#include "worker.h"
void Worker::doWork(const QString ¶meter) {
qDebug() << "Worker thread commences work.";
QString result = QString::number(sleep(3));
qDebug() << "Worker thread done, sending result ready signal, result is: "
<< result;
emit resultReady(resu... | [
"cellist@squizzy.de"
] | cellist@squizzy.de |
0143789b15e21d04edc1b9f56d6c2826dd0215df | 9a3f51d2a68d926ac7d69216da9a58fc6f0855cf | /John Welsby Game Lvl Assignment 2009/Lighting UI Skybox Tute starter/zSingleton.h | e8799e2bec1a4aa8fd15d94a38eafb21c13a0d73 | [] | no_license | LogicalUnit/AIE_Portfolio | 7bbe566568cb2f367760da8e846bf1a5ceb9cf9d | 4ee3e431b621f0f8614e2b462b2fba77adc88e39 | refs/heads/master | 2020-06-14T03:23:27.775550 | 2016-12-04T02:47:25 | 2016-12-04T02:47:25 | 75,511,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,589 | h | #pragma once
//! The zSingleton class is a template class for creating singleton objects.
/*!
When the static Instance() method is called for the first time, the singleton
object is created. Every sequential call returns a reference to this instance.
The class instance can be destroyed by calling the Des... | [
"john.welsby@gmail.com"
] | john.welsby@gmail.com |
7499a248b538f9bc3bf43aee56d26e3a3f888e42 | 313709ee499c1440f2e2ba215cd7db45feea8d9a | /Алгоритмы и структуры данных/Лабораторная №6/Unit1.cpp | dfec575c3b7d3f259954119becc3e41a2a3cbaae | [] | no_license | Group2Project/universityLabs | 9c933c62b088d0df2a83945c02ede46c32c16a57 | 0d1a785af937fd0d08750d0725ef8e257ee9fa35 | refs/heads/master | 2021-01-25T04:52:45.092891 | 2015-06-07T13:26:36 | 2015-06-07T13:26:36 | 31,965,191 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,778 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <ctime>
#include <vector.h>
#include <fstream.h>
#include <math.h>
#include "Unit1.h"
vector<int> hash_tab;
vector<int> source_mas;
//-----------------------------------------------------------------... | [
"dolod@bk.ru"
] | dolod@bk.ru |
8c6848a20afe4318b881c37e81daf7668c38a83f | 3de7b6397b754a87a070c24232bd4b12508c1d99 | /arm-cortex_a8-linux-gnueabihf/include/c++/4.8.4/arm-cortex_a8-linux-gnueabihf/bits/c++config.h | 691a9383325f1faf541ac4d0781f0f6a988427bb | [] | no_license | yzr1989/arm-cortex_a8-linux-gnueabihf | c049a3efe3384fcfb81c58cc2a001f1b22a093fc | ff28056a7103633622d31cc1c106e7620eb555f3 | refs/heads/master | 2020-06-16T00:42:54.449360 | 2017-01-17T05:14:55 | 2017-01-17T05:14:55 | 75,255,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,060 | h | // Predefined symbols and macros -*- C++ -*-
// Copyright (C) 1997-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Softwar... | [
"yzr1989@126.com"
] | yzr1989@126.com |
6a8d501c77340a6a38bad3496ed2052174e21d8f | 6634c7674d9ec318d0e3bb709d666d9982b9bb4d | /Word Extractor.cpp | 9b1c51675c9a408100268165c9c740de68ad95ec | [] | no_license | sharma-harshit/String-Manipulation | 6976df613df4ddd1d46bcbbef4a3a46e3d2a4e88 | 32a8f863dd03c35daf1c3f180beee37a4786d272 | refs/heads/master | 2021-08-11T13:09:26.688923 | 2017-11-13T19:05:55 | 2017-11-13T19:05:55 | 109,602,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int T;
cin>>T>>ws;
while(T)
{
cout<<"Enter any String\n";
string s;
getline(cin,s);
vector<string> word;
int start = 0 , length = 0 ;
for( int i = 0 ; i < s.size() ; i++ )
{
if( s[i] == 32 )
{
word.push_back(s.substr... | [
"noreply@github.com"
] | noreply@github.com |
774b97ce5163266bf2172f4144e55d55b6327a8b | 2465d5aac8230436d3a08383a722d6437e97ac40 | /SDK/PUBG_BP_FppWeaponListSlotWidget_parameters.hpp | a645eb41350c79ccbfbed5ddffe7785188efe36d | [] | no_license | xuhao1/PUBG-SDK | 9684baf0471678eaf366de3b3ca5f933ace357ab | 5f0041ef5ad7f16111361316fa8dff1ad4647993 | refs/heads/master | 2021-08-14T13:32:37.783490 | 2017-11-15T20:56:12 | 2017-11-15T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | hpp | #pragma once
// PlayerUnknown's Battlegrounds SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// ... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
26db013b00820261f6d96b5ca08dab834a93b885 | 10c74e341557163d8bab584e079f6f8343c16bf5 | /src/types/std/map.h | 0339f7dba855e861396333e9201ad0b7625e6ede | [
"BSD-2-Clause"
] | permissive | starsnet83/reflect | c2bbbd1ad82c0b3d72167515ecda1b6a136da0ba | af90b130958a884bec071e61a49e1ae1d5b036a2 | refs/heads/master | 2021-01-15T09:52:28.001196 | 2014-05-30T18:28:57 | 2014-05-30T18:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | h | /* map.h -*- C++ -*-
Rémi Attab (remi.attab@gmail.com), 20 Apr 2014
FreeBSD-style copyright and disclaimer apply
std::map reflection.
*/
#pragma once
#include "reflect.h"
#include "dsl/basics.h"
#include "dsl/template.h"
#include "dsl/function.h"
#include "dsl/operators.h"
#... | [
"remi.attab@gmail.com"
] | remi.attab@gmail.com |
f9fda6c646b5702d720e807053eabb459d793d90 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/108/131/CWE590_Free_Memory_Not_on_Heap__free_char_alloca_72a.cpp | 13cc8f26c20083be07f59024edcbdbba7f0a3625 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,176 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__free_char_alloca_72a.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: alloca Data buffer is allocated on... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
426f68c53bced5807552fa86efc0fe899daf3d4e | 3965b2090cee7584aec75aa60183753d5b13b397 | /Random.h | bb102ab13e710372f86b9d59ea941274fde2228e | [] | no_license | kevinyan0619/osb3 | cc622c8a4adf21e8df6c7967aec1ffcd5b1980c4 | 66a2e576e0d8a698a4711041bbe4835d24b866af | refs/heads/master | 2020-03-22T15:51:53.192818 | 2018-07-12T17:44:06 | 2018-07-12T17:44:06 | 140,284,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | h | /*
* Random.h
*
* Created on: Jul 7, 2018
* Author: kevinyan
*/
#ifndef RANDOM_H_
#define RANDOM_H_
#include "pager.h"
#include "string"
#include "random_generator.h"
using namespace std;
class Random: public Pager {
public:
Random_generator grt;
Random(const string&);
FrameTableEntry* get_frame(Fram... | [
"="
] | = |
236dee46f8db9be02e1b97aa463650cb839cc5f0 | 21897e6a8199c0c1c3c2fff8f4e656e40b411699 | /src/gui/UMainWindow_gurt_sklad.cpp | c88dd93acfd9c0837467a7b87c5c2078431b1883 | [] | no_license | utech/ugurtsklad | dd276ba8685d089e16a2a5f59ddab162461ba06e | 4fec8708aec3277a68d51a6f91223f8a2f507edc | refs/heads/master | 2021-01-13T01:55:00.195880 | 2012-09-16T09:01:43 | 2012-09-16T09:01:43 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,182 | cpp | //--------------------------------------------------------------------------------------------------------
//
// Copyright (C) 2005-2007 Utech Company. All rights reserved.
//
// Файл з головною функцією програми обліку товарів на складі
//
// Створений програмістами Компанії "Утех" 15.01.2008р.
// Використані компонен... | [
"m_roman_m@i.ua"
] | m_roman_m@i.ua |
c075007a6136925d0933e1e81bb46a2b94a904fe | f6cf14142621b8c4709c6f2073172f39577b1964 | /common/lib/rec/robotino3/iocom/tag/Bumper.h | ec6cfbfd1917a9366312f86737858fb975eb4c71 | [] | no_license | BusHero/robotino_api2 | f3eef6c1ace2ff5a8b93db691aa779db8a9ce3a1 | 9757814871aa90977c2548a8a558f4b2cb015e5d | refs/heads/master | 2021-06-18T21:32:14.390621 | 2021-02-18T15:21:48 | 2021-02-18T15:21:48 | 165,231,765 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | #ifndef _REC_ROBOTINO3_IOCOM_TAG_Bumper_H_
#define _REC_ROBOTINO3_IOCOM_TAG_Bumper_H_
#include "rec/robotino3/serialio/Tag.h"
#include "rec/robotino3/iocom/tag/BumperFwd.h"
#include "rec/robotino3/iocom/tag/tagenum.h"
namespace rec
{
namespace robotino3
{
namespace iocom
{
namespace tag
{
class Bumper... | [
"petru.cervac@gmail.com"
] | petru.cervac@gmail.com |
fe0af97a5f3f75439a821a9001940dbc5031dfd4 | 38c10c01007624cd2056884f25e0d6ab85442194 | /components/history/core/browser/visit_database_unittest.cc | 936bb24c0daa10aa833c013aa2c54e2a012ba792 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 22,232 | cc | // 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.
#include <set>
#include <vector>
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/strings/string_util.h"
#inc... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
eda95f6676169cf771bc0bcd037f48fe594d0567 | e0171d0ab478799c545016d67ccbc964fd11520a | /ゲッターとセッター/block.cpp | 5355c7a7a2d0bd998451f9a7f16a5799fc1c3105 | [] | no_license | ryou62525/practice_code | 2528ec60c9b90d207ef42d239efe84a3e6c58370 | c48eed5a83e29fa78ec9c334dadf61d7bfa44c25 | refs/heads/master | 2021-01-10T03:54:26.282607 | 2016-01-28T02:06:59 | 2016-01-28T02:06:59 | 43,240,829 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include "block.h"
Block::Block()
{
pos = Vec2f(100, 100);
size = Vec2f(32, 32);
key_color = Color::blue;
}
void Block::update()
{
}
void Block::setColor(Color color)
{
key_color = color;
}
void Block::draw()
{
drawFillBox(pos.x(), pos.y(), size.x(), size.y(), key_color);
}
Vec2f Block::getPos()
{
return po... | [
"rkc_tw_st@yahoo.co.jp"
] | rkc_tw_st@yahoo.co.jp |
5f344d04ee3abdd4064cbeb555d8b767e232645e | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_3740.cpp | 03411b71599aad19052264c2c0af4d05555c9592 | [] | 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 | 221 | cpp | const String host = s.cfg().host;
buf.Printf("Host: " SQUIDSTRINGPH ":%d\r\n", SQUIDSTRINGPRINT(host), s.cfg().port);
buf.append(ICAP::crlf, 2);
}
void Adaptation::Icap::OptXact::handleCommWrote(size_t size)
| [
"993273596@qq.com"
] | 993273596@qq.com |
1114274a2cf5977545d9bb2676dd8796ef3c3212 | 7f30cb109e574560873a5eb8bb398c027f85eeee | /src/wxPacsListBox.h | a1ffcff95788d76dd796669f322eb9882fbaeb6f | [] | no_license | svn2github/MITO | e8fd0e0b6eebf26f2382f62660c06726419a9043 | 71d1269d7666151df52d6b5a98765676d992349a | refs/heads/master | 2021-01-10T03:13:55.083371 | 2011-10-14T15:40:14 | 2011-10-14T15:40:14 | 47,415,786 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | h | /**
* \file wxPacsListBox.h
* \brief File per la gestione di una lista per la memorizzazione di informazioni provenienti dal PACS
* \author ICAR-CNR Napoli
*/
#ifndef _wxPacsListBox_h_
#define _wxPacsListBox_h_
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#includ... | [
"kg_dexterp37@fde90bc1-0431-4138-8110-3f8199bc04de"
] | kg_dexterp37@fde90bc1-0431-4138-8110-3f8199bc04de |
732b298316f9631e151dfba4d819d6fe9672daae | bd28405fc99ddebb04739e4be8f4fa79fb83a94d | /proj05/List.h | 527a06251c4125ba9d4f87f5fac2777eb0582a92 | [] | no_license | aafabiano01/cs112 | 8d2747a5eb1f4328791e4773f38b9dad0a935f87 | 815677e03d68dc72505877c94c8c42e416a8b542 | refs/heads/master | 2021-01-15T03:15:43.428670 | 2020-02-24T22:51:17 | 2020-02-24T22:51:17 | 242,860,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,710 | h | /* List.h declares and defines methods
* Student Names: Benedict Jojo Arthur (TM 1) & ALexander Fabiano (TM 2)
* Date:10/14/2019
* Proj 05
*
*/
#ifndef LIST_H_
#define LIST_H_
#include <iostream>
#include <stdexcept>
#include <cassert>
#include <string>
#include <sstream>
#include <fstream>
#include <cstdlib>
u... | [
"aaf25@maroon21.cs.calvin.edu"
] | aaf25@maroon21.cs.calvin.edu |
7cd4638524f4e9e0948dd55d33c2d56fe2d8c939 | 2ee4cf29eb351be6dbca38a61c1c97269751b44e | /CG_HW4_framework/CG_HW4/CG_HW4/main.cpp | 932d5182287233e1de35031a934a765ce264bdb3 | [] | no_license | clotha87762/Basic-Computer-Graphics | 3071fb87781b0f1b2e785920f24575d87eb5e4e4 | 87b3ab378b19132e251b04767cfc5acb56d8d22b | refs/heads/master | 2020-03-24T09:23:58.928515 | 2018-07-27T22:26:58 | 2018-07-27T22:26:58 | 142,628,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,476 | cpp | /* Computer Graphics 2015
* NTHU CS CGV Lab
* Author: Yi-Hsiang Lo (LF21201@gmail.com)
* Last-modified: 5/21, 2015
*/
#include <stdio.h>
#include <stdlib.h>
#include <GL/glew.h>
#include <freeglut/glut.h>
#include "textfile.h"
#include "GLM.h"
#include "Matrices.h"
#include "Texture.h"
#include "main.h"
#define ... | [
"clotha87762@yahoo.com.tw"
] | clotha87762@yahoo.com.tw |
e7fc029e660988e9a031b2d7b8b93c76b98921c3 | 7ba3ebd1d42084f7733a584c9c54c44c02d1ac0d | /static_object.h | 6612527cfc3466001ef3ada1779f95eda84dadb0 | [
"MIT"
] | permissive | dlardi/mingw_static_test | 3f5a5deb93176f8f79791ef1277a1c95c0440190 | f9440696f83afaf57a072c28be33b44299fea509 | refs/heads/master | 2016-09-05T12:16:24.439199 | 2015-08-04T17:18:09 | 2015-08-04T17:18:09 | 40,180,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | #pragma once
#include <iostream>
#include <typeinfo>
template <class T>
struct StaticObject
{
static T & getInstance()
{
static T t;
std::cout << "static object " << typeid(T).name() << " at " << &t << " = "<< t << std::endl;
return t;
}
};
| [
"dlardibomchs@gmail.com"
] | dlardibomchs@gmail.com |
db534903b8dec592b07192ba0c5d7f3703a90949 | 12c080b81ca5a7aaf87d4199e58dfe08b9670b7f | /230-Kth Smallest Element in a BST.cpp | 81cf5b10f3aaa731b4e2d88d7c86e5224400a495 | [] | no_license | PhoenixDD/LeetCode | 23970d3d5485f0c67ecc46afbf07c296a14f7a4d | 04d78870f56dc7c5057a8b22e5c3ed87ae04a8bf | refs/heads/master | 2021-01-01T19:21:32.795867 | 2020-11-26T05:12:48 | 2020-11-26T05:12:48 | 98,563,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int kth(TreeNode* root, int &k)
{
if(!root)
return INT_MIN;
int... | [
"ddhondiyal@gmail.com"
] | ddhondiyal@gmail.com |
7d56833ffac0044f071b9ac2a7ecd46682df9513 | f359d190dd0fa43dc21772a0faccec89013e0e99 | /export/windows/obj/include/openfl/ui/GameInputDevice.h | 684880b497492b4296887c73d29b09718010ba85 | [] | no_license | pedrohpe/terminal | 0da838959f09c50550e629fa8c592dc364b1fa1f | 49fdf9fd10a075ae083e9b31850788fbb814fea5 | refs/heads/master | 2020-03-25T09:18:50.578453 | 2018-08-05T21:42:33 | 2018-08-05T21:42:33 | 143,659,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,165 | h | // Generated by Haxe 3.4.4
#ifndef INCLUDED_openfl_ui_GameInputDevice
#define INCLUDED_openfl_ui_GameInputDevice
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,ui,Gamepad)
HX_DECLARE_CLASS2(openfl,_Vector... | [
"pedroh.egler@hotmail.com"
] | pedroh.egler@hotmail.com |
c0d09d8353d56c5599daea7b6e30c26f4ea50ca9 | 9df0ffa9989fa11452e306141d12293ed0bcc544 | /PersonDetection/PersonDetection/CvMFCImage.cpp | 9dd287bb6150240edd854c5b520c8e8424ad6965 | [] | no_license | thaibinhco/PedestrianDetection | 5d6161ae2e23c9420af1b81431e5fc426d48e2e8 | 6dd5d01e6572a0dba9b2cf8858a4bea961bbe220 | refs/heads/master | 2020-03-15T08:39:35.752379 | 2018-07-15T05:09:17 | 2018-07-15T05:09:17 | 132,056,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,054 | cpp |
//If using MFC
#include "stdafx.h"
#include <windows.h>
//#include <cxcore.h>
#include <cv.h>
#include <highgui.h>
#include "CvMFCImage.h"
static void FillBitmapInfo(BITMAPINFO* bmi, int width, int height, int bpp, int origin)
{
assert(bmi && width >= 0 && height >= 0 && (bpp == 8 || bpp == 24 || bpp == 32));
BI... | [
"thaibinhco.it@gmail.com"
] | thaibinhco.it@gmail.com |
b4039e1a1658cecbee7e6b71dcb5e9544993ce3f | e30253dd5b8e508d37c680b34740add366f16c73 | /Libraries/xcdriver/Headers/xcdriver/HelpAction.h | dbecfd8c86f1ebc4d2501500f87d3255a504a68e | [
"LicenseRef-scancode-philippe-de-muyter",
"BSD-3-Clause",
"NCSA",
"Zlib",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | darlinghq/xcbuild | e77e8d88ed42f1922afd7abad2a4508c18255a88 | a903c6952fc5617816113cbb7b551ac701dba2ff | refs/heads/master | 2023-08-03T03:18:18.383673 | 2023-07-26T18:15:17 | 2023-07-26T18:15:17 | 131,655,910 | 10 | 2 | null | 2018-04-30T23:15:55 | 2018-04-30T23:15:54 | null | UTF-8 | C++ | false | false | 678 | h | /**
Copyright (c) 2016-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef __xcdriver_Hel... | [
"git@grantpaul.com"
] | git@grantpaul.com |
21ed9a5b1a6ab73338ac5f4aacb61dc6d73a31bb | d93bbc3f9db8b24cbf7fa685c24f15cca3317d61 | /src/components/application_manager/src/commands/hmi/request_to_hmi.cc | aa8c97408dff56cd5fc9813c6295231a2c699014 | [] | no_license | babynewton/smartdevicelink | a98b99eb46219d1f994b19d7833d7d45263acdaa | c6524ea02b098c8474da29baafb9f7191409caf2 | refs/heads/master | 2021-01-20T00:58:27.584658 | 2014-06-17T08:36:08 | 2014-06-17T08:36:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cc | /*
Copyright (c) 2013, Ford Motor Company
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the fol... | [
"jjdickow@gmail.com"
] | jjdickow@gmail.com |
29611e3a1eab60569219f8acda025518b42a4030 | d5d94c992d0596080ba694c518dfdb58d3490847 | /0419/answer.cpp | cdc6b5e078d6b9218e23c1d948aab7e76536b685 | [] | no_license | calgagi/leetcode | 1bf24b750e44c2c893935983e5d88e0f071d9f2d | 431aba979d92e331f2f92a07eb80167a823a49bd | refs/heads/master | 2022-11-17T11:26:01.596496 | 2020-07-19T06:56:04 | 2020-07-19T06:56:04 | 276,207,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | class Solution {
public:
int countBattleships(vector<vector<char>>& board) {
int r = 0;
for (int i = 0; i < board.size(); i++) {
for (int j = 0; j < board[0].size(); j++) {
if (board[i][j] == 'X') {
// BFS
r++;
q... | [
"calgagi@gmail.com"
] | calgagi@gmail.com |
9069759e10c1940e72118a8e54c065cb57bbb262 | 640fdd19626197f2c5b2f08827118ac03f04dc80 | /qtTetris/src/Controll/Controller.cpp | fbae2deb4a093aa20c7d45312201bdaf7b8742c3 | [] | no_license | minddnim/testProject | fd6906413b462ac6726ad9324f9940e812634b3a | 4d9ab2a42a7fcf3a00833715ec08183f19efd2d1 | refs/heads/master | 2021-01-23T13:52:55.550382 | 2016-11-16T15:48:04 | 2016-11-16T15:48:04 | 11,125,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include "Controller.h"
#include "GameManeger.h"
void
Controller::KeyPress_A()
{
GameManeger::GetInstance()->TryMoveLeft();
}
void
Controller::KeyPress_S()
{
GameManeger::GetInstance()->TryMoveDown();
}
void
Controller::KeyPress_D()
{
GameManeger::GetInstance()->TryMoveRight();
}
void
Controller::KeyPre... | [
"minddnim@gmail.com"
] | minddnim@gmail.com |
7daa7b9f5bb69ab06f71646c2c47d286911cd880 | 477c8309420eb102b8073ce067d8df0afc5a79b1 | /VTK/Filtering/vtkHyperOctreeAlgorithm.h | 3df12d05cac30a865af5171af0cbe66955b1be47 | [
"LicenseRef-scancode-paraview-1.2",
"BSD-3-Clause"
] | permissive | aashish24/paraview-climate-3.11.1 | e0058124e9492b7adfcb70fa2a8c96419297fbe6 | c8ea429f56c10059dfa4450238b8f5bac3208d3a | refs/heads/uvcdat-master | 2021-07-03T11:16:20.129505 | 2013-05-10T13:14:30 | 2013-05-10T13:14:30 | 4,238,077 | 1 | 0 | NOASSERTION | 2020-10-12T21:28:23 | 2012-05-06T02:32:44 | C++ | UTF-8 | C++ | false | false | 4,420 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkHyperOctreeAlgorithm.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... | [
"aashish.chaudhary@kitware.com"
] | aashish.chaudhary@kitware.com |
7871fa511c0196d8a7308c4f9b73aca5ef3efb83 | 20169b20a3ad48d6206d7bc6f83cd9da1446280e | /4M-C plus plus/ADTA/Greedy/哈夫曼编码.cpp | 34b1e3814caaa0b1033d1681802828734c3f04e0 | [] | no_license | McFly-byte/Tyro | 57440f150ffe69440c5599bac0bdd2105eb1c405 | b810cb65933370738a507a852af7eb710861dc4f | refs/heads/master | 2023-04-19T14:06:24.632660 | 2021-05-12T02:43:23 | 2021-05-12T02:43:23 | 332,741,678 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,601 | cpp | /**
* author: 919106840423 刘明承
* created: 04.2021
* describ: 哈夫曼编码
**/
#include <bits/stdc++.h>
using namespace std;
struct node {
char data;
int weight;
node * left;
node * right;
node * parent;
bool operator < ( const node & n ) const{
return weight > n.weight;
}
} ;
struct cmp {
bool oper... | [
"mcfly@njust.edu.cn"
] | mcfly@njust.edu.cn |
594dba51bd1f19a352b398430170885c5d6fced9 | a0962c825f9fd6519b2865d8467900ac102a6b45 | /amrex-master/Src/Base/Parser/AMReX_IParser_Exe.cpp | 35a75a03e6ec6ac8995407cf1ed95313bb628cfa | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | msussman42/amrex_implicit_interfaces | ed160cb42e87cb6caa5269efe4c0ae12a79032ad | a91ddbc3ada2883f3ce7db352f25b610c73babd8 | refs/heads/master | 2023-08-31T23:12:49.462517 | 2023-08-31T19:55:58 | 2023-08-31T19:55:58 | 197,830,424 | 13 | 6 | NOASSERTION | 2020-09-01T16:19:43 | 2019-07-19T19:23:55 | Fortran | UTF-8 | C++ | false | false | 29,314 | cpp | #include <AMReX_IParser_Exe.H>
namespace amrex {
static int iparser_local_symbol_index (struct iparser_symbol* sym, Vector<char*>& local_variables)
{
auto r = std::find_if(local_variables.rbegin(), local_variables.rend(),
[=] (char* i) { return std::strcmp(sym->name, i) == 0; });
if ... | [
"sussman@math.fsu.edu"
] | sussman@math.fsu.edu |
3a460b7fd339bd55c4cf627b6b6b2adb2afac7b0 | a5db05a373f489d05a7f2b8e06d2805ee711de17 | /android/frameworks/native/services/surfaceflinger/Layer.cpp | f710413dcfc9805991eebfb1eb67bb0e70ecd3d3 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | BPI-SINOVOIP/BPI-H3-New-Android | 7c0cdd50a23e62a204d4818954357868b4925945 | 5cbaa7ad4f73f615dcc4fbed07b52ae240743504 | refs/heads/master | 2023-02-25T15:43:36.633336 | 2018-07-18T10:56:14 | 2018-07-18T10:56:14 | 69,656,896 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 45,467 | cpp | /*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 app... | [
"justin@justin-ThinkPad-T420.(none)"
] | justin@justin-ThinkPad-T420.(none) |
1c9f8819d418c75e1ad595221147ae565ea47995 | 3aff7156207d7207ae84ff3870487509fa4a7ff5 | /sdasdasdasd 2 2/Classes/Native/Il2CppCompilerCalculateTypeValuesTable.cpp | 624523042a2611c6e2fc8fec1fa80d26963d3bd5 | [] | no_license | huangliliu0917/iOS_wsl_mallbuy_for_vr | 080ea5512fff6ff4665efab1216d8544d621404e | 6f141c8cf255e655db38e1f98dda75a978dfe985 | refs/heads/master | 2020-04-07T10:07:55.773244 | 2017-08-08T12:23:42 | 2017-08-08T12:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284,249 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern const int32_t g_FieldOffse... | [
"284353855@qq.com"
] | 284353855@qq.com |
7849c44f6fa6029a4b415f85a09ba7a4bbf2ce5a | 564dbf5400f2f26a71b74b0bcfeb36b0b1e3dd87 | /src/gfx/SimpleBlockVisual.cpp | d5452885eaf60366a858b7d08ad0fcd773a238a6 | [
"BSD-2-Clause"
] | permissive | matthewbot/Kube | a2818b0caa0ea1b921e4cadeef03a707227d3425 | a2420bcbbeb1f94844b7d9d592b2fc883870820a | refs/heads/master | 2020-05-15T21:54:59.649849 | 2014-03-23T02:02:59 | 2014-03-23T02:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,787 | cpp | #include "SimpleBlockVisual.h"
#include "BlockVisualRegistry.h"
SimpleBlockVisual::SimpleBlockVisual(const SimpleBlockVisualInfo &info,
TextureArrayBuilder &block_tex_builder) {
for (Face f : all_faces) {
face_texes[f] = block_tex_builder.addImage(info.face_tex_filename... | [
"matthewbot@gmail.com"
] | matthewbot@gmail.com |
e3b4443359651db6dc6ca5cbd78ea86c68b52965 | 4e22d261d7dcf5fe2731d77ba3cfb47c5568977c | /Source/ComponentCore/Public/ComponentType.hpp | 68315758044563aa7f61720475eae9af54a22502 | [] | no_license | SeraphinaMJ/Reformed | 2d7424d6d38d1cfaf8d385fade474a27c02103a5 | 8563d35ab2b80ca403b3b57ad80db1173504cf55 | refs/heads/master | 2023-04-06T00:40:34.223840 | 2021-05-06T11:25:51 | 2021-05-06T11:25:51 | 364,884,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,608 | hpp | /*!***************************************************************************************
\file ComponentType.hpp
\author Aaron Damyen
\date 5/17/2018
\copyright All content © 2018-2019 DigiPen (USA) Corporation, all rights reserved.
\par Project: Boomerang
\brief Definition of the componentTy... | [
"minjiserak@gmail.com"
] | minjiserak@gmail.com |
dfc6d095c86c2483b40539631f453d96e09a5260 | 6f07e8bec80afaf0bbab07ef22a9eeaf7192f109 | /Level1_5/1271.cpp | 71b6ae338bef13bbbf5f078499724365cfc38e79 | [] | no_license | face4/yukicoder | e525eb1d7e7ef987d4aaefcd32e9701ea4e41cff | 2a3f9b9fb7ae4fe3ab96f698f1ead117714fe3ee | refs/heads/master | 2021-06-03T03:33:41.935236 | 2020-12-06T06:09:11 | 2020-12-06T06:09:11 | 130,208,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main(){
cout << fixed << setprecision(12);
int k;
cin >> k;
if(k == 0){
const double PI = acos(0.0)*2.0;
cout << PI*PI/6 << endl;
return 0;
}
double d = 0;
for(int i = 1; i <= k; i++) d += ... | [
"s2020583@u.tsukuba.ac.jp"
] | s2020583@u.tsukuba.ac.jp |
f3c0839e207f7eee4cfcb870028bb744009545c2 | 51d2fe10eaf970e69b2bf84731727b259cc39e8e | /CPP VW/CPP VW/Sheep.cpp | e439409b53c3f48b0d5a7538f748b80e5546adfe | [] | no_license | zwojak/Virtual-World | 2b77f8bf77928154be4ac3f9c5810686074cce65 | 4535dbdfce535a36b40485c1808b328dcd6bd3b8 | refs/heads/master | 2023-04-30T01:24:53.022685 | 2021-05-03T22:32:50 | 2021-05-03T22:32:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include "Sheep.h"
#include "World.h"
Sheep::Sheep(World& worldref, int x, int y) :
Animal(worldref, x, y)
{
this->power = 4;
this->initiative = 4;
this->sign = 'S';
}
Sheep::~Sheep() {}
bool Sheep::specialCollision(Organism* other) {
return false;
}
bool Sheep::specialAction() {
return false;
} | [
"kuba.zwolski11@gmail.com"
] | kuba.zwolski11@gmail.com |
bd4c92052fecb71e5032f5aafbaeee460196d280 | e80750e64f5220fca7497d84a2cb116d29ff811f | /Automaton.cpp | 0949cf0ae67a41c475ba8f2c5d5c5e3fae6aec09 | [] | no_license | project4Tmura/project4 | 5519da262dcdc22e53adbc82086d0edbaf0714d5 | bbf6828a7dffa742fc48ee13cc022ad013c1d8a0 | refs/heads/master | 2020-09-19T18:42:43.601787 | 2020-01-28T18:28:07 | 2020-01-28T18:28:07 | 224,266,545 | 0 | 0 | null | 2020-01-28T18:09:14 | 2019-11-26T19:08:48 | C++ | UTF-8 | C++ | false | false | 3,584 | cpp | #include "Automaton.h"
#include <queue>
Automaton::Automaton(char** arr, int length) {
buildAutomat(arr, length);
}
// Builds the outomat.
// arr - array of known errors. The index of each keyword is important:
// "out[state] & (1 << i)" is > 0 if we just found word[i]
// in the text. ... | [
"noreply@github.com"
] | noreply@github.com |
f1ce32293ac5a5c9c145ef72fe51b63b0f30bddb | 182689c6476ac4bb1a56faa20864b787d646f135 | /SpotLists/main.cpp | 365367e9545140cd8c2903cb582536e8d9454612 | [] | no_license | JimAlmeida/SpotLists | e1059a3ab94612da953164676b0551abdfa2c2a9 | 73fd572d30f6e6b4ceae6072a12465588a1db997 | refs/heads/master | 2023-05-01T14:10:31.069715 | 2021-05-18T13:22:31 | 2021-05-18T13:22:31 | 365,307,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | #include "MainWindow.h"
#include <QtWidgets/QApplication>
#include <iostream>
#include <cpr/cpr.h>
#include "CURLDispatcher.h"
#include "CURLRequest.h"
#include "IHTTPRequest.h"
#include "SpotifyAPI.h"
#include "SpotifyFilter.h"
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsondocument.h>
#include "Tests.h"
#inclu... | [
"thiagocdac@gmail.com"
] | thiagocdac@gmail.com |
8aa3de6af052c270fa23f747f470c4802eee828e | 730304a54837bf3db66850f67732426f655cec09 | /src/c/AminoAcidMasses.h | bbad5ace94c7e29ef6688fd16dc5eab61d55bdaa | [] | no_license | wolski/bibliospec2.0 | 594e852dccad921ad9efe9c55c8616c0fd125f7b | c3a9b5d155e9c02fa0b7e9f1dcb15346dd78ee31 | refs/heads/master | 2021-01-10T01:54:58.755873 | 2015-09-28T11:16:59 | 2015-09-28T11:16:59 | 43,296,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | h | /*
Copyright (c) 2011, University of Washington
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of co... | [
"wewolski@gmail.com"
] | wewolski@gmail.com |
70447d3be4982ed9568a8add9dca58b7555d7b46 | 61304bfb26ac0615629ebd44ecfcff2dce803fcb | /mixTheColors.cpp | cd7f5339ba777562b5a279a9d719409f3f917dda | [] | no_license | gokul1998/Codechef | c6109d5ade6c1fcfbb581647ed0ff8c97b441ccc | 253a779a0c669cb2b41d3f1ede1bdf0f7259b40e | refs/heads/master | 2020-06-23T09:48:58.653802 | 2019-07-24T08:11:33 | 2019-07-24T08:14:06 | 198,589,391 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
map<ll,ll> m;
ll n,i,res=0,num;
cin>>n;
ll a[n];
for(i=0;i<n;i++){
cin>>num;
a[i]=num;
m[num]++;
}
map<ll,ll>::iterator p;
for(p=m.begin();p!=m.end();p++){
res+=(p->s... | [
"gokulakrishnan.parir@fireeye.com"
] | gokulakrishnan.parir@fireeye.com |
4cc6c3374d15135e1ebdd011d66b3c75274be6a1 | 18aee5d93a63eab684fe69e3aa0abd1372dd5d08 | /paddle/phi/backends/dynload/flashattn.h | 8948ec6a46988b980142ba2d90da3bb4109e873b | [
"Apache-2.0"
] | permissive | Shixiaowei02/Paddle | 8d049f4f29e281de2fb1ffcd143997c88078eadb | 3d4d995f26c48f7792b325806ec3d110fc59f6fc | refs/heads/develop | 2023-06-26T06:25:48.074273 | 2023-06-14T06:40:21 | 2023-06-14T06:40:21 | 174,320,213 | 2 | 1 | Apache-2.0 | 2022-12-28T05:14:30 | 2019-03-07T10:09:34 | C++ | UTF-8 | C++ | false | false | 2,301 | h | /* Copyright (c) 2023 PaddlePaddle 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... | [
"noreply@github.com"
] | noreply@github.com |
25ab233eb8655259b904912b60d980498be8e722 | 3233cb68829787101a7b6fb15ac4b1a0afd00a7e | /cp/Arithmetic_Square.cpp | eb2d75469b6a7a0270e78464091d2e0d663f4922 | [] | no_license | Pyush146/competitive-programming | ce54997b59639acc9b676ccbcd885c7839723d11 | 6ae7bd7121d870117eb7a9ff32846b1df934c889 | refs/heads/main | 2023-07-29T10:53:16.426692 | 2021-09-12T11:45:02 | 2021-09-12T11:45:02 | 405,625,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long t,r;
cin>>t;
for(r=1;r<=t;r++)
{
long long a[3][3],b[4],i,j,c=0;
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
if(i==1 && j==1)
{
continue;
}
else
... | [
"noreply@github.com"
] | noreply@github.com |
6f110d19e3b6ce59a51269849119ddf138f4d403 | 7bae7dd19f8c36391f9a7688769bb4b401485a67 | /include/cli/model/CardInfo.h | d2e2010159f93da17ea21e18f2d5de4d6f3f06fb | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | vasilinab/virgil-cli | 1c88010589b9b46491f7724a80675ab0e9b58cb7 | 3077f9f8d0c474265a1888cac8dd65a89becff5a | refs/heads/master | 2020-05-03T01:32:46.365995 | 2017-04-12T12:35:08 | 2017-04-12T12:35:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,146 | h | /**
* Copyright (C) 2015-2017 Virgil Security Inc.
*
* Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* (1)... | [
"sergey.seroshtan@gmail.com"
] | sergey.seroshtan@gmail.com |
4d940b710400a600832a7a4aeab06da57a7e9b03 | 0f5c91dc15704a1b45415e7f9cfc6fb13af10ebe | /include/util.h | 0adfbc62c37d807e3377dc13e4fcf484bfd3298f | [
"MIT"
] | permissive | Nixsm/fat16reader | 4fe94fc027ad0a3b34b2095faef4906353c29457 | b115ff02630cd98a67a6c1f1513cd1b6d35a75ce | refs/heads/master | 2021-01-10T15:06:16.079127 | 2015-11-09T02:00:50 | 2015-11-09T02:00:50 | 45,808,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | #ifndef FAT16_UTIL_H__
#define FAT16_UTIL_H__
typedef unsigned char uchar;
/*
* Expects little endian bytes
*/
namespace util {
unsigned short toShort(uchar* bytes);
unsigned short toShort(uchar b1, uchar b2);
void toByte(unsigned short v, uchar* bytes);
unsigned int toInt(uchar* bytes);
void to... | [
"nichsmm@gmail.com"
] | nichsmm@gmail.com |
5ae6b64fc5d56d4cbcc9f287c041ee66a3bb21fa | 6bba5e0ed8aea730de624ce4afc56e8647675278 | /src/xercesc/framework/XMLAttDefList.cpp | c5dde717ebdf2b5c0491f99495541879102196de | [
"Apache-2.0"
] | permissive | ksmyth/xerces-c | 0b3d2b330389db2018f7d820c898be7f0a2f33f0 | 245d0f626041add542ab7deabd6ba9c3e4641f6d | refs/heads/master | 2021-01-17T17:28:41.671391 | 2017-10-12T15:29:24 | 2017-10-12T15:39:21 | 61,400,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,366 | cpp | /*
* 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... | [
"kevin.m.smyth@gmail.com"
] | kevin.m.smyth@gmail.com |
f366262348d3e74fd366e84555547cc184a87c9a | d0eac371071642185fd803e56985b41f2bfb1cc0 | /example/less-than-4k/function/member3.cpp | 219a0c85ecf067b9da336efb8e9abed1fc27c160 | [
"Apache-2.0"
] | permissive | dmilos/reflection | 43ce8e3d3cfce191b8c4fe463c9ecb835f0068a5 | 0d190d4c625f80dab2d0fde10914365695d2bcc7 | refs/heads/master | 2021-12-24T21:47:39.858028 | 2021-10-01T12:53:05 | 2021-10-10T22:06:34 | 55,215,559 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,920 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include "reflection/reflection.hpp"
class MyClassOriginal
{
public:
MyClassOriginal()
{
}
bool writer_int( int const& i )
{
std::cout << __FUNCTION__ << std::endl;
m_int = i;
return ... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
0f0ed9f3489fbfe2f5747782728c3545410f639a | 8cd2ff52c9db38065291337bc6c6670a40b42661 | /jeuEnregistrement.h | da0b511c80fb47730b12c2820e92fe8e21dba5cf | [] | no_license | jouffreautheo/Atlantik | aa2ad670df51094a11513a5b242d89bed9d8a7c6 | f372216aff0a083978a559ea2bd45f12b9c9b0d4 | refs/heads/master | 2020-03-10T11:48:58.379330 | 2018-04-13T07:19:57 | 2018-04-13T07:19:57 | 129,364,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h | #ifndef JEUENREGISTREMENT
#define JEUENREGISTREMENT
#include <iostream>
#include <QVariant>
#include <QSqlQuery>
#include <QString>
class JeuEnregistrement {
private :
QSqlQuery maRequete;
public :
JeuEnregistrement(QString chaineSQL);// Constructeur de la classe. Positionne le curseur sur le premier enr... | [
"you@example.com"
] | you@example.com |
8185144665ffae2ea34d1ef182856d4808b8b657 | 73f88b9d8055c1bc5ed408319ffed9fa72af628b | /include/Pomdog/Application/Timer.hpp | 700eca2ec9a0614221919b54fb6d5b0a8d6dcef4 | [
"MIT"
] | permissive | Mourtz/pomdog | 3841c015012f0bb8f4e45c3524a66ced11abd448 | b3f678033b2b41ec5bbf9c5079810b1082aa293d | refs/heads/master | 2020-12-25T04:01:47.810430 | 2015-09-10T11:57:25 | 2015-09-10T11:57:25 | 38,495,875 | 1 | 0 | null | 2015-07-07T09:48:00 | 2015-07-03T14:12:26 | C++ | UTF-8 | C++ | false | false | 1,496 | hpp | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_TIMER_CAC74AF2_HPP
#define POMDOG_TIMER_CAC74AF2_HPP
#include "Pomdog/Basic/Export.hpp"
#include "Pomdog/Application/Duration.hpp"
#include "Pomdog/Signals/ScopedConnection.hpp"
#include "Pomdog/... | [
"mogemimi@enginetrouble.net"
] | mogemimi@enginetrouble.net |
4b4b7dbe24b22a6f891b863cf9bbbabbd7154e82 | 5f2762a92f90ad66fc5c0788a5ce1dff1c28592c | /3459.cpp | cab9447f07560cfbdc541f59ac9e866251586f9b | [] | no_license | KIMJUHEEEEE/SWEA | 508a64ed11274c389c8ad5cf6d89875822c18866 | 40e6918a464bbf0217ec5c25a6598980caa2954a | refs/heads/master | 2020-07-11T00:44:39.511835 | 2020-05-09T06:03:31 | 2020-05-09T06:03:31 | 204,411,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include<stdio.h>
int main()
{
int tc = 0;
scanf("%d", &tc);
for (int i = 1; i <= tc; i++)
{
unsigned long long n;
scanf("%lld", &n);
int check = 0;
unsigned long long turn = 1;
unsigned long long mul = 1;
while (turn < n)
{
if (!check)
mul *= 4;
turn += mul;
check = !check;
}
printf(... | [
"jhwngml97@naver.com"
] | jhwngml97@naver.com |
097d9679c3c41b9eae44729c40e1b94531d46278 | 06bd829a0b316ff1a8b54b4fc1bb88c73a4fc68f | /动态规划/534.打劫房屋II.cpp | 21f84285f1e45f6f13028f71513b1409155b1f50 | [] | no_license | LiuYu0521/lintcode | 148e763294f478f50858f8053cacf5478b5c60b4 | 97c90a2065c6bf6df76c43211af0db2da528b965 | refs/heads/master | 2021-01-22T21:53:32.924735 | 2017-08-13T02:51:25 | 2017-08-13T02:51:25 | 92,742,383 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | class Solution {
public:
/**
* @param nums: An array of non-negative integers.
* return: The maximum amount of money you can rob tonight
*/
int houseRobber2(vector<int>& nums) {
// write your code here
int len = nums.size();
if(len == 0)
return 0;
if(le... | [
"ly819933137@gmail.com"
] | ly819933137@gmail.com |
3f4ad48218bcc3b287d23747a537113d201437f7 | 1d64af0c2c662ebec47145c3eb9ca92533618d2f | /Framework/MachineLearning/Src/Datasets.cpp | 07c4102bc41ca64348d9624613292dd39456e322 | [] | no_license | Zaelgar/Klink-Engine | df7c2803b5bfbf77d8d3709b6ee4ad6caa4ee831 | ed33381fded540f15e2f217ad20dc02ae4b6ff1c | refs/heads/main | 2023-07-27T20:08:36.486125 | 2021-07-13T22:56:47 | 2021-07-13T22:56:47 | 368,299,861 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,467 | cpp | #include "Precompiled.h"
#include "Datasets.h"
using namespace Klink::ML;
using namespace Klink::JMath::Random;
Dataset Datasets::MakeLinear(size_t samples, float b0, float b1, float minX, float maxX, float noise)
{
DatasetProperties props;
props.Initialize(1, samples, minX, maxX, noise, 2);
Dataset dataset(props... | [
"jaidon.vanherwaarden@gmail.com"
] | jaidon.vanherwaarden@gmail.com |
b262d01d0bea22787611e3fd023519cd40409d8e | 556042e940157fab39715c4ecd63a9278b248298 | /example/vgg16_test/inference_net/max_pool_acc_innerdf.h | 08bff02bd3a54508c313caa96b1cad1b61055e7a | [] | no_license | microideax/FeedforwardNet | 038acc46a0824ae04d72e974c8db395c873e51f3 | ad3eaee45aaf659eb5c1863a759d2846ec272da0 | refs/heads/master | 2020-06-16T22:32:28.500019 | 2019-01-15T12:56:04 | 2019-01-15T12:56:04 | 75,061,642 | 17 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,678 | h | #ifndef _MAX_POOL_ACC_H_
#define _MAX_POOL_ACC_H_
#include <iostream>
#include <fstream>
#include "activation_functions.h"
#if _C_DEBUG_MODE_
#include <algorithm>
#endif
using namespace std;
template <typename T, typename W, typename G, int Tn, int Tr, int Tc, int S_max, int K_max>
class max_pool_acc {
private:
i... | [
"yaochen_nk@hotmail.com"
] | yaochen_nk@hotmail.com |
40555f13157c047a7f2900506ccbe48e25e19e53 | a77cae61867e4fb947f88acb4e11603d9cd0f6d1 | /SJTUOJ/SJTU1307_放球.cpp | ba643845eb53599be92c5a7294cf18008a0c22dd | [] | no_license | CHOcho-quan/OJ-Journey | cbad32f7ab52e59218ce4741097d6fa0ac9b462f | a9618891b5e14790ba65914783e26f8a7aa03497 | refs/heads/master | 2023-06-09T15:35:27.418405 | 2023-06-01T00:57:11 | 2023-06-01T00:57:11 | 166,665,271 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | //
// SJTU1307_放球.cpp
//
//
// Created by 铨 on 2019/3/11.
//
//
#include <iostream>
#include <set>
#include <vector>
#include <string>
#include <stack>
#include <iomanip>
#include <cmath>
using namespace std;
bool isSquare(int n)
{
return (int(sqrt(n)) * int(sqrt(n)) == n);
}
int main() {
int n, now = 1... | [
"574166505@qq.com"
] | 574166505@qq.com |
c9d7522d054d701e69b42601cc29539d318132e9 | 2cb5646fdded8ea162fce7c171eb891d9a9495ac | /exportNF/release/windows/obj/src/__ASSET__flixel_flixel_ui_img_check_box_png.cpp | b25d68e84ee624d2048687622fa5c65d7c2a77ae | [
"BSD-3-Clause"
] | permissive | roythearsonist/NekoFreakMod-FridayNightFunkin | 89b815177c82ef21e09d81268fb8aeff0e8baf01 | 232bcb08234cfe881fd6d52b13e6ae443e105fd1 | refs/heads/main | 2023-04-23T08:22:18.886103 | 2021-05-17T07:13:05 | 2021-05-17T07:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 7,072 | cpp | // Generated by Haxe 4.2.1+bf9ff69
#include <hxcpp.h>
#ifndef INCLUDED___ASSET__flixel_flixel_ui_img_check_box_png
#include <__ASSET__flixel_flixel_ui_img_check_box_png.h>
#endif
#ifndef INCLUDED_haxe_Resource
#include <haxe/Resource.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef IN... | [
"mrzushiofficial@gmail.com"
] | mrzushiofficial@gmail.com |
327e3d5792bbf5b0a5fe390e0b7ec4466fe96650 | e5a75731bf787d83db939eba8b13f859fd7c8cd4 | /cppDay02/ex01/Fixed.hpp | 2df9c6d949834764101001626bd2c124990f0db0 | [] | no_license | ekiriche/cppPool | cf74f15534f82e86ad13e4287910e83f0a14535b | 6ed66d1be410320aaedf420f04f722624fdbecad | refs/heads/master | 2020-07-25T20:22:42.742159 | 2019-11-07T08:23:33 | 2019-11-07T08:23:33 | 208,412,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | hpp | #ifndef FIXED_HPP
#define FIXED_HPP
#include <iostream>
class Fixed {
private:
int _value;
static const int _bitsNum;
public:
Fixed();
Fixed(const Fixed& fixedInstance);
Fixed(int const value);
Fixed(float const value);
~Fixed();
Fixed& operator=(Fixed const & rhs);
int getRawBit... | [
"zheniakk@gmail.com"
] | zheniakk@gmail.com |
9e28db9678f099aa0a206077c00f4264cba6b82f | 50b07ae70fe269dadfd9c433a14ff44182f77ee0 | /Old Contest and Practice Problems/aniaminimizing.cpp | 7b0484a7a31a7b29edda96b687a5d2a953e30aa5 | [] | no_license | PrakharUniyal/CompiArchives | 393d72695dcf393500d7dd95d8980f9005139385 | d89d53ae06f47cd2e144aa1df2a255d4e67218a2 | refs/heads/master | 2022-11-24T15:26:35.536346 | 2020-07-30T16:55:40 | 2020-07-30T16:55:40 | 258,544,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ios std::ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define mo %1000000007
int main()
#define int long long
{
ios;
int n,k;
cin>>n>>k;
string s;
cin>>s;
if(s.size()==1 && k==1){cout<<0<<en... | [
"b18128@students.iitmandi.ac.in"
] | b18128@students.iitmandi.ac.in |
970a354fadea25cc4c706d32c57bdf982e22284e | 1779764841fdbdb680e958bdfad5396b39352726 | /PlaneGame/Enemy.cpp | e5586bc98c7c0e0189ceda5e58eda20722ef590c | [] | no_license | RockMeroll/PlaneGame | 96121511d44328b586a68ebc46be16ffeecf2e18 | a8e87f68159a6569096dc3e09618874ff1c53072 | refs/heads/master | 2020-12-02T22:42:32.835182 | 2017-07-04T02:30:47 | 2017-07-04T02:30:47 | 96,167,408 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,629 | cpp | #include "StdAfx.h"
#include "Enemy.h"
#include "resource.h"
CImageList CEnemy::m_Images;
CImageList CEnemy::m_Images_blood;
CEnemy::CEnemy(void) //构造函数
{
m_blood=5;
//随机确定X位置
m_ptPos.x = rand()%(GAME_WIDTH-ENEMY_HEIGHT)+1;
//随机确定图像索引
//m_nImgIndex = rand()%2;
m_nImgIndex = 0;
//根据图像索引确定方向
m_nMotion=1;
... | [
"rockmeroll@hotmail.com"
] | rockmeroll@hotmail.com |
a492f555fd0cc1a2adada4445ef38c85cc71cf9c | 9e4aaa2a311df0d8ec99d2732d67d1e462c1dbc8 | /tbb/cpp/parallel_for/tachyon/src/parse.cpp | e0e1f4622c7865c6d098e6be7c422685b9609b4f | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | intel-system-studio/samples | 13eb9758f2c784604eddf54ce5fa872ee6b9a3f5 | 17c039aab5cd77ab5f4c3ba86e0664e7208bc537 | refs/heads/iss2019-update4 | 2021-06-21T08:05:39.142335 | 2019-12-16T21:21:04 | 2019-12-16T21:21:04 | 97,175,652 | 22 | 12 | null | 2019-12-17T01:01:56 | 2017-07-14T00:21:51 | C++ | UTF-8 | C++ | false | false | 19,120 | cpp | /*
==============================================================
SAMPLE SOURCE CODE - SUBJECT TO THE TERMS OF SAMPLE CODE LICENSE AGREEMENT,
http://software.intel.com/en-us/articles/intel-sample-source-code-license-agreement/
Copyright (C) Intel Corporation
THIS FILE IS PROVIDED "AS IS" WITH NO ... | [
"sergey.kiselev@intel.com"
] | sergey.kiselev@intel.com |
a90d2649ab875cfc2c94a95c1aff9233a3be2712 | 7641c1ec3178d1dfbd39f91b8f0d692b9cb04d78 | /Tetris_Clover/high_score.h | 742b32228ff74eb107f253d0e750e69de0c4b1ff | [] | no_license | qqqqzift/Tetris_Clover | 5d8d6bb79ab50d5bfb4cdfcb5e3a62d9b946ac4a | 5bd4981a51d89b28ded937f2e89f31cbfa9bf6fc | refs/heads/master | 2020-04-11T06:00:36.629446 | 2014-02-25T13:53:38 | 2014-02-25T13:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | h | #ifndef HIGH_SCORE
#define HIGH_SCORE
#include <list>
using namespace std;
class HighScore{
public:
list<int> m_high_score;
bool LoadHighScore();
void UpdateHighScore(int);
void End(){ m_high_score.clear(); }
};
#endif | [
"qqqqzift@msn.com"
] | qqqqzift@msn.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.