blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54b980c8ed992b4bc5065d1fb4588e60d918bd20 | 8c65e16ed25b02cfed0000c50c79754efa044240 | /src/core/transport_virtual_layer_policies/init_packets/ssf_request.h | b7cf6df2c4f6eb74d4b5decd8264d39204325cac | [
"BSD-3-Clause",
"BSL-1.0",
"OpenSSL",
"MIT"
] | permissive | chrisaljoudi/ssf | 00641a6aaa5ddf0e45a6a3db2c2f541c5276f27b | 768576185d902f40bf86b81a6dd2f1e9ae382655 | refs/heads/develop | 2020-04-07T15:24:19.593974 | 2015-10-16T14:41:11 | 2015-10-16T14:41:11 | 52,850,359 | 0 | 1 | null | 2016-03-01T05:23:29 | 2016-03-01T05:23:29 | null | UTF-8 | C++ | false | false | 848 | h | ssf_request.h | #ifndef SSF_CORE_TRANSPORT_VIRTUAL_LAYER_POLICIES_INIT_PACKETS_SSF_REQUEST_H_
#define SSF_CORE_TRANSPORT_VIRTUAL_LAYER_POLICIES_INIT_PACKETS_SSF_REQUEST_H_
#include <cstdint>
#include <array>
#include <memory>
#include <boost/asio/buffer.hpp>
namespace ssf {
class SSFRequest {
public:
typedef uint32_t version_f... |
c19c5fd2192e88be34d272548ab38b343d86ecbe | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_6413.cpp | 63d926dec104bc57ebef4326521b0f35c394d976 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cpp | Kitware_CMake_repos_basic_block_block_6413.cpp | {
len = snprintf(ptr, left, " libidn2/%s", idn2_check_version(NULL));
left -= len;
ptr += len;
} |
b3336451f86d9c030a33fe4279b2d8fef596e8fb | 645d66f2b2c091e270669028d5cd74023ba3bba5 | /sphIncompress.cpp | 6e4a23f9529d51a7456bf3b6fadc760a607e004c | [] | no_license | ZoraSawyer/SPH-DEM | 44eea86a101791dcff0c1af5904fe649798a3f8c | 0ba9973e4ef2e8ffd051d14577ad9d20847d2eb0 | refs/heads/master | 2023-05-28T02:45:48.121880 | 2016-06-06T08:58:48 | 2016-06-06T08:58:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,007 | cpp | sphIncompress.cpp | #include "sphIncompress.h"
void CsphIncompress::start() {
data->traverse<driftRAndKick,ifSphOrSphBoundaryOrImmersedDem>();
#ifdef LIQ_DEM
data->traverse<driftR,ifDem>();
#endif
#ifdef SLK
data->globals.slkIndex0++;
data->globals.slkIndexLast++;
if (data->globals.slkIndex0>=SLK_NUM_TIMESTEPS) data->glo... |
b898d17dcb13a8c28aa52b2217a4d76191853bcf | 565b0a88c0d6f8a71d42f919613a1d166889c8bb | /Code/General/SPOJ INTSUB Interesting Subset.cpp | 7264dd6f2ae3d95d716f1bf08cbef3d9fbf450e5 | [] | no_license | DaDaMrX/ACM | 71d7347640e745ea30518762588f6a698722295b | 603cff542027db7875bfc57d92c9cdaba1f82c80 | refs/heads/master | 2020-04-12T06:23:25.442550 | 2017-07-30T11:01:48 | 2017-07-30T11:01:48 | 62,130,184 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | cpp | SPOJ INTSUB Interesting Subset.cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
typedef long long ll;
const int INF = 0x3f3f3f3f;
const int N = 1e3 + 10;
const int mod = 1e9 + 7;
ll power(ll a, ll n, ll m)
{
ll ans = 1;
while (n)
{
if (n & 1) ans = ans * a % m;
a = a * a % m;
n >>= 1;
}
return ans;
}
int ma... |
c6f453d60573961276a78f3027b23d677145d659 | 9dce8f15578d73602372e9f80e51f5f4f50ad277 | /abc153/a.cpp | 610f1baf73b3e6b3c66aed2387ffd947fd9cb137 | [] | no_license | ikuo-suyama/competitive-programming | f638e682c144884af9672e7d7e6490ce915c1008 | d9be28c169808ac5ef2a7c0ceaa152b51fe69962 | refs/heads/master | 2021-07-07T13:04:25.993455 | 2021-04-04T14:32:26 | 2021-04-04T14:32:26 | 235,354,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | a.cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
typedef long long ll;
int main() {
ifstream in("abc153/a.txt");
cin.rdbuf(in.rdbuf());
int H, A;
cin >> H >> A;
int cnt = ceil(H / (double)A);
cout << cnt << endl;
} |
6b911efa15dc8cc8eeddaa3fb2f6d23895cd5582 | c21ea87df48ecd3f0bcdecfa300d8ac359b265ff | /Game.hpp | 56185d5facbcbb24dd4a096aceac72d726c394a2 | [] | no_license | ShuklaAnsh/GameCpp | 55c29fa71133230cf0598fa3347054ed69daa2b7 | 0e5b3ef874e5a4aae3eddb5cd92b4e5b1e6dbc98 | refs/heads/master | 2022-02-17T19:45:33.277732 | 2019-08-18T04:32:19 | 2019-08-18T04:32:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | hpp | Game.hpp | #ifndef Game_hpp
#define Game_hpp
#include <SDL2/SDL.h>
#include <stdio.h>
class Game
{
// Types
public:
//Screen dimension constants
const static int MAX_SCREEN_WIDTH = 1000;
const static int MAX_SCREEN_HEIGHT = 1000;
protected:
private:
// API
public:
Game(... |
417bd55a2b4c6bb9183208d80d238a0e26a29bd4 | 1bc15933f0da3ba1044f77991e889c5b69d591a0 | /q215.cc | 8fd095d9d608338e9b9d675db7a4d2f1ffe6e87c | [] | no_license | liuxiutao/LeetCode | d7c86358d723bbc291f8144a1c7bd14fe1f3dd80 | eaabefbbe8d0142d0793ec55c7537bf85735b057 | refs/heads/master | 2020-06-05T20:18:59.146263 | 2019-07-06T16:32:12 | 2019-07-06T16:32:12 | 192,536,910 | 0 | 0 | null | 2019-07-06T16:32:13 | 2019-06-18T12:36:31 | C++ | UTF-8 | C++ | false | false | 1,019 | cc | q215.cc | #include<iostream>
#include<vector>
using namespace std;
int partition(vector<int>& a, int start, int end)
{
int pivot = a[start];
int left = start, right = end;
while(left < right)
{
while(left < right && a[right] < pivot)
right--;
a[left] =... |
5e90419decde7b89823c41699ae0bf7d7e3ffa2f | 3da1c543033ab5b20de0398395681011ea2c39b5 | /prime/check_prime.cpp | 4bda1dfe227657f026e248386dfa3363fde76993 | [] | no_license | arnabs542/CP | f2a27d6134c10b60eedc5b61aed98d821a4d6126 | 6f585b2f8c540257c2b3605089e4608b63820d1a | refs/heads/master | 2023-06-27T19:18:31.715213 | 2021-04-27T04:46:58 | 2021-04-27T04:46:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | check_prime.cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
// O(sqrt(n))
bool isPrime(int N) {
int count = 0;
for(int i=2; i*i <=N;++i) {
if( N % i == 0) {
++count;
}
}
return ((count==0) ? 1: 0);
}
int main( )
{
cout << isPrime(15);
}
|
3790d0212a3c557ce5d9fb9abe021936b165fd1e | 6582bd87236b815e4e48ec5be7f472d09ed288a2 | /75.Preprocessing Directive include/library.h | e8f57b97a3b9800a3a421721b76563fa5546e377 | [] | no_license | mridhosaputraad/Documentation-C- | baa6df1badd42f3c9bbe8c2e01a17e0e1533dcaa | 4af2fcb3feb2298dad8a11146e9f2a637969ef9a | refs/heads/main | 2023-06-02T00:01:27.910795 | 2021-06-19T12:55:53 | 2021-06-19T12:55:53 | 378,411,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | h | library.h | #include <string>
#define PI 3.123456789
#define KUADRAT(X) (X * X)
#define MAX(A, B) ((A > B) ? A : B)
std::string data = "STRING" |
d1264ae653b2dd82239565cb8602a04e64ea4a37 | afc8033296af79ee039ad31e69a6dc17cd469645 | /Vector2.h | fa0a40acdf14644bc0b669f1108a96f82838b365 | [] | no_license | Heimish/SoftRenderer | a3d5d59b0661b986e63433fff2d6096c56824f14 | 658d3f01a8667f36a22197d3eecd30198064bbdc | refs/heads/master | 2020-04-05T20:20:09.724083 | 2018-11-12T08:51:07 | 2018-11-12T08:51:07 | 157,175,479 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | Vector2.h | #pragma once
#include "stdafx.h"
#include "Matrix.h"
struct Vector2
{
public:
float X;
float Y;
public:
Vector2() : X(0), Y(0) {}
Vector2(float InX, float InY) : X(InX), Y(InY) {}
static float Dist(const Vector2 &V1, const Vector2 &V2);
static float DistSquared(const Vector2 &V1, const Vector2 &V2);
Vector2 ... |
73e308d34cd13c563ce41b46b0da94e01f85b263 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /eflo-controller/src/model/DescribeTaskResult.cc | ce0887eb6be3fad1099dd0e0ca0a6a320588ac46 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 4,654 | cc | DescribeTaskResult.cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... |
fde1ba78b0b3e01a8ff4f6c39a5f1f7ee049a72f | 9331b1bee90eabef2dd116219a46893b13895ca7 | /Sources/ContactDetection.cpp | 74d3b7c6ef9ff44c51f03fa95e7c82a147909be1 | [] | no_license | francoisludewig/SandPanda | 3275945e20d8861f873257f0ed256b4a561f3592 | 1ecd6a97b19df9a37e858c8a15eb8bab95248d25 | refs/heads/master | 2021-09-06T18:27:58.558628 | 2018-01-01T13:11:54 | 2018-01-01T13:11:54 | 115,919,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,478 | cpp | ContactDetection.cpp | #include "../Includes/ContactDetection.h"
//#include <omp.h>
#include "../Includes/Velocity.h"
#include "../Includes/Gravity.h"
#include "../Includes/Plan.h"
#include "../Includes/PlanR.h"
#include "../Includes/Cone.h"
#include "../Includes/Elbow.h"
#include "../Includes/Sphere.h"
#include "../Includes/Body.h"
#includ... |
539e92ac4f9582cfa6799394855d844cd1c832d0 | b2b6139550f9b8e4b5e2b678e78917990f9d7f5c | /utils.h | eede0a091271e5fe9f98a64db0d35505f9dcefbd | [] | no_license | holdenmc/Moria | 0c4ccacead01ebc4fb134a6765e2e2db4fb7ac5b | 12db2a499f6c1e30a735d69515534a2187a291ca | refs/heads/master | 2021-01-21T07:53:16.275514 | 2014-12-04T03:27:23 | 2014-12-04T03:27:23 | 27,039,678 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,613 | h | utils.h | /*
Conor Ryan
Holden McGinnis
CIS 190 Final Project
utils.h - delcarations for general utility functions to assist in basic game
operation
*/
#ifndef UTILS_H
#define UTILS_H
#define AGE_MIN 1
#define AGE_MAX 99
#define MAX_PLAYER_NAME 11
#define STORE_SEP_1 3
#define STORE_SEP_2 ... |
2b4cad2628cdad2d667aae4f5d72b717357bdd8a | 2089f9c4bec7e93f4f730e36cb425dbd5f1e4f60 | /src/checkbox/CheckBoxObjectEditor.h | 57affacefab92f8eb0210404aa57888e91901a72 | [
"Zlib"
] | permissive | 4ian/Widgets-Extension | 8a527ecd4bcd3a5362802ab7bec74d11bd554adf | 51fdd53231a6008dbbd64b82e8d1b006a2332704 | refs/heads/master | 2020-05-18T19:58:52.293378 | 2012-01-05T20:34:54 | 2012-01-05T20:34:54 | 3,034,288 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,666 | h | CheckBoxObjectEditor.h | /*
Widgets Extension
Extension providing graphical widgets.
Copyright (c) 2011-2012 Victor Levasseur <victorlevasseur01@orange.fr>
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission i... |
39d979299b29ca960fe11b2d6aae427302fef63b | cefe4da3a249091869c08d146ce5a3d44a431621 | /ThriftClient/globals.h | 66613e52657e4986ee04454fbaaed62db14ef54d | [] | no_license | weithw/thrift-qt-sipesc | 90d48e39a4dee53cc48a5468d6e05538c8355401 | 253b218eb755b1bd80b6d7312bb5a0a74c19a37e | refs/heads/master | 2020-06-02T06:48:26.324649 | 2015-07-23T02:18:26 | 2015-07-23T02:18:26 | 38,854,800 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | h | globals.h | #ifndef GLOBALS_H
#define GLOBALS_H
#include <QObject>
#include <iostream>
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/transport/TSocket.h>
#include <thrift/transport/TTransportUtils.h>
#include <thrift/protocol/TMultiplexedProtocol.h>
#include <thrift/protocol/TProtocol.h>
#include "../thrift/gen... |
882105d68d4e5d67907c5a358bfbeaf974cce92f | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/sync/test/integration/single_client_incoming_password_sharing_invitation_test.cc | 0250d85054c2c2665edf61a610805828636398b5 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 1,034 | cc | single_client_incoming_password_sharing_invitation_test.cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test/scoped_feature_list.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "components/password_manager/core/browser/features/password_feat... |
c08268cf65cb18599b893e7d68e599a3a4f1a99d | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/printscan/faxsrv/print/faxprint/prnwzrd/abobj.h | b561591dfc250804fee5359c7656fa52b2467109 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 4,968 | h | abobj.h | /*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
abobj.h
Abstract:
Class definition for CCommonAbObj
Environment:
Fax send wizard
--*/
#ifndef __ABOBJ_H_
#define __ABOBJ_H_
/*
The following pre-processor directives were added so that fxswzrd.dll no longe... |
077e28660a6d07188aa5b01a8a65d0de262f55f0 | 7b2ab3e644b051ef03069ec48125532d695ec1b7 | /easy/FootBall/main.cpp | 0e2868eca0efe4265cee94aadca7a4260ce2e849 | [] | no_license | yao4ming/codeeval | 93f880095abfff42d1b140968ff763887af5361f | c4eb2ecda8356194466ce17725a6ba7d84776c6e | refs/heads/master | 2021-05-04T11:52:08.187142 | 2016-11-27T07:23:22 | 2016-11-27T07:23:22 | 49,847,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | main.cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <sstream>
#include <map>
using namespace std;
string trim(string str) {
string trimmedStr;
int i, j;
//trim left end
for (i= 0; i < str.size(); ++i) {
if (str[i] != ' ')
break;
}
trimmedStr = str.substr(i);
... |
e8978606b887b850afb331339239b23d40736bbb | a181e4c65ccef369d4ab7e182e2818aa622debc1 | /yact/system_dlls/hid_yact/hid.cpp | aa26101ff971ba4be9019037bceaaad34ee14e1f | [] | no_license | c1p31065/Win86emu | 259c32eb5bac1ed9c4f5ceebe2ca0aa07fdf4843 | 71c723fcab44d5aae3b6b3c86c87154ad3c4abb5 | refs/heads/master | 2021-12-02T18:24:51.564748 | 2014-02-06T14:12:11 | 2014-02-06T14:12:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | cpp | hid.cpp | #include "dllyact_def.h"
DEFINE_FUNC1(HidD_FlushQueue)
DEFINE_FUNC1(HidD_FreePreparsedData)
DEFINE_FUNC2(HidD_GetAttributes)
DEFINE_FUNC3(HidD_GetConfiguration)
DEFINE_FUNC3(HidD_GetFeature)
DEFINE_FUNC1(HidD_GetHidGuid)
DEFINE_FUNC4(HidD_GetIndexedString)
DEFINE_FUNC3(HidD_GetInputReport)
DEFINE_FUNC3(HidD_GetManufac... |
a220ca1933710ddb78ae87cb4bf983a1f25a8e63 | 067f633881b210648076cec8089e1068e9a50e6b | /CDMS/Rainman/CFileSystemStore.h | 658c63f71e6ac3b1b065f4a64777c43ed5f44e68 | [] | no_license | IgorTheLight/CorsixsModStudio | f3191b992f017b952992fa332e350f1f03dadc06 | 64acd481887f9f3359466dc51a1bfe0b03ee486b | refs/heads/main | 2023-02-28T01:16:25.790688 | 2021-02-06T09:39:02 | 2021-02-06T09:39:02 | 336,265,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,002 | h | CFileSystemStore.h | /*
Rainman Library
Copyright (C) 2006 Corsix <corsix@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This ... |
ec3c5cad48e61979e35b34ed905f48af5b3d969e | 0c6ad83017727a71da52800e5d648eaaa646f43b | /Src/Engine/Private/World/gaScene.cpp | e6fff7ba3a4083c608e9c288671da957ee71b673 | [] | no_license | macieks/uberengine | 4a7f707d7dad226bed172ecf9173ab72e7c37c71 | 090a5e4cf160da579f2ea46b839ece8e1928c724 | refs/heads/master | 2021-06-06T05:14:16.729673 | 2018-06-20T21:21:43 | 2018-06-20T21:21:43 | 18,791,692 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | gaScene.cpp | #include "World/gaScene.h"
#include "World/gaActor.h"
#include "World/gaEffectComponent.h"
#include "World/gaLightComponent.h"
#include "World/gaModelComponent.h"
ueClassRegistry s_builtinGameplayModule[] =
{
UE_CLASS_REGISTRY(gaActor),
UE_CLASS_REGISTRY(gaComponent),
UE_CLASS_REGISTRY(gaEffectComponent),
UE_CLAS... |
7ffcfe56b68764d8282148a2a554339d4c44798b | a61b99c29abc595f6e9dfe76cf764c5a93b3c9ab | /KarmanVortex/src/MyTime.h | 1b2b121655448f44283113b3c795fd0635f31862 | [] | no_license | meltingrabbit/CFD | 597b5587bdf8c146afb5775083ecbfe261b8cb32 | 2ac0deac95c392fc4bbd6258bb07f4ad14f4e376 | refs/heads/master | 2020-03-18T08:35:34.653910 | 2018-07-05T15:34:27 | 2018-07-05T15:34:27 | 134,518,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | MyTime.h | /*
言語:
C++
OS:
Microsoft Windows 10 Home (64 bit)
コンパイル:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall x86_amd64 & cl /EHsc /O2 /nologo $file_name
日付:
2017/01/12
*/
#ifndef MY_TIME_CLASS_H
#define MY_TIME_CLASS_H
#include <chrono> // 時間計測
using namespace std;
class MyTime {
public:
using ns = c... |
305d45a8344daeefeb33a0c78fdb8f6b38cf03be | 14d5d165add507452bea06dc6f3366089e55e763 | /my-finroc-proj/MLR/utils/display_PCs.cpp | 8c00abc2c8df6338a04c81de8e06830e80b9b3de | [] | no_license | arasdar/Robotics | bed8221e404e0a1e78c30cccbe9f7ee369f4f5f9 | 0a2016dc8ed4a5a28109b893ea3a099dd6abd08d | refs/heads/master | 2021-04-15T05:56:58.822963 | 2018-06-22T22:59:45 | 2018-06-22T22:59:45 | 126,894,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,303 | cpp | display_PCs.cpp | /*
* display_PCs.cpp
*
* Created on: Mar 29, 2016
* Author: aras
*/
#include "projects/stereo_traversability_experiments/mlr/tMLR.h"
using namespace cv;
using namespace finroc::stereo_traversability_experiments::mlr;
// the implementation is there but implt for what? for tMLR
void tMLR::display_PCs(/*INP... |
cd57f4eb866549a58b1954ff3b601d924292e51a | 3fb39f6fd87870f4224742f2242c73ca229c332e | /vsynth/vsynth.buildv010/build_cache/desktop_release_macos/vsynth_vsynth.cpp | 7b309eb59a35d7e1a5510d8a31fbab927325fad0 | [] | no_license | swoolcock/m2 | c22a1f04b71411cac50500a8c0b09b81697657ce | d6206431189935b5ba34e95b7100d8288cd85b64 | refs/heads/master | 2021-01-17T21:26:51.737642 | 2016-07-02T01:42:17 | 2016-07-02T01:42:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,941 | cpp | vsynth_vsynth.cpp |
#include "vsynth_vsynth.h"
// ***** External *****
#include "../../../../../../monkey2/modules/mojo/mojo.buildv010/desktop_release_macos/mojo_app_2app.h"
#include "../../../../../../monkey2/modules/mojo/mojo.buildv010/desktop_release_macos/mojo_app_2event.h"
#include "../../../../../../monkey2/modules/monkey/monkey.... |
f3a668a68121d9c2dba6651c9dbbb185db25f603 | 93f02e5c9c7a01089608ba5f598d0c19b1b6cfd9 | /pgm17.cpp | 54d0bff83cf40aa48e249c39e7e9cececbf08a8a | [] | no_license | Aleeshakurian/CPP | b4cc68cc818e9231656543be9353fcc106dda73f | 3750356c513a0b0051d1d36dc113f4d2d2efa52a | refs/heads/master | 2020-04-07T00:17:50.989115 | 2018-11-17T04:48:59 | 2018-11-17T04:48:59 | 157,897,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | pgm17.cpp | #include<iostream>
#include<strstream>
using namespace std;
main()
{
char iostr[80];
strstream strio(iostr,sizeof(iostr),ios::in|ios::out);
int a,b;
char str[80];
strio<<"10 20 testing";
strio>>a>>b>>str;
cout<<a<<" "<<b<<" "<<str<<endl;
}
|
830301dbe69e2592bedd301b7ab63c6ec0a54013 | 77cde85e8990f22cc61e552bdc40ff20d7555c00 | /test/exec/import_test/import_smoke_test.cpp | 25e258605e4083e59722500d4d208f7ea7d299a2 | [
"BSD-3-Clause"
] | permissive | blockspacer/cmakesl | 823e24102890e6fc8a4072d7cf4e497d04673487 | e53bffed62ae9ca68c0c2de0de8e2a94bfe4d326 | refs/heads/master | 2022-04-10T09:54:02.971963 | 2020-02-15T20:46:27 | 2020-02-15T20:46:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | cpp | import_smoke_test.cpp | #include "test/exec/smoke_test_fixture.hpp"
#include <gmock/gmock.h>
namespace cmsl::exec::test {
using ::testing::Eq;
using ImportSmokeTest = ExecutionSmokeTest;
TEST_F(ImportSmokeTest, VariableImport)
{
const auto source = "import \"import_test/foo.cmsl\";"
""
"int ma... |
c95659abd6e0f3f0dfc82ea08c176ec3b2d2f0a3 | e14153f8052f8856e6471d7d06f2896d04356a41 | /vector3.h | 03a9036ea392c09d026987980f56b89a4118d937 | [] | no_license | DearVa/Minecraft | 7c57dcc1405e7c048fc190d135ebea99875a1d00 | 8ab3f38bb4d4abffc95f09121173ba054f6caf4d | refs/heads/master | 2023-01-31T21:52:46.493090 | 2020-12-16T07:45:44 | 2020-12-16T07:45:44 | 305,026,508 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | h | vector3.h | #pragma once
#include <cmath>
class Vector3 {
public:
double x, y, z;
Vector3() {
x = 0.0;
y = 0.0;
z = 0.0;
}
Vector3(double x, double y, double z) {
this->x = x;
this->y = y;
this->z = z;
}
Vector3(const Vector3 &v) {
x = v.x;
y = v.y;
z = v.z;
}
inline double length();
Vector3 normali... |
dd1cd2284fde9648144443dfe17bf8bcfa649594 | a55cec32c0191f3f99752749f8323a517be46638 | /ProfessionalC++/TypeTraits/is_same.cpp | f1a839911e1bbca6d07273b3db679d6986e51c65 | [
"Apache-2.0"
] | permissive | zzragida/CppExamples | e0b0d1609b2e485cbac22e0878e00cc8ebce6a94 | d627b097efc04209aa4012f7b7f9d82858da3f2d | refs/heads/master | 2021-01-18T15:06:57.286097 | 2016-03-08T00:23:31 | 2016-03-08T00:23:31 | 49,173,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | is_same.cpp | #include <iostream>
#include <string>
#include <type_traits>
using namespace std;
template <typename T1, typename T2>
void same_helper(const T1& t1, const T2& t2, bool b)
{
cout << t1 << " and " << t2 << " ";
cout << (b ? "the same types" : "different type") << endl;
}
template <typename T1, typename T2>
void same... |
b1aa3614a63b8593bd46f3603d8d6e21be1a21c3 | 9dcbccd554c3aa9787eb90dc6dc6610307cb070b | /src/coefficients.cpp | 0d021b041aa4acb19d5c80f0a07eedfdd75a26b9 | [
"MIT"
] | permissive | nestordemeure/asgard | 60a3ae2fa42638f5d8c46b3d59dec448b65aff8d | 97fddc8ff3be2f9b30029cf508f366e58f9b9794 | refs/heads/develop | 2023-07-02T04:16:40.691701 | 2021-04-21T21:54:44 | 2021-04-21T21:54:44 | 360,295,381 | 0 | 0 | MIT | 2021-05-26T12:00:41 | 2021-04-21T20:18:45 | C++ | UTF-8 | C++ | false | false | 15,771 | cpp | coefficients.cpp | #include "coefficients.hpp"
#include "basis.hpp"
#include "fast_math.hpp"
#include "matlab_utilities.hpp"
#include "pde.hpp"
#include "quadrature.hpp"
#include "tensors.hpp"
#include "tools.hpp"
#include "transformations.hpp"
#include <numeric>
// generate coefficient matrices for each 1D term in each dimension and
/... |
9689a0be18dca933cc45de3f230af58d738cf85e | 2210636542ec4c8810fa8c5bc2f90948d8028f40 | /unittests/collection/OrderedSetTest.cpp | f61a7fd433cc9df006774fa8de6ba0d9ca3a4024 | [
"ISC"
] | permissive | GSGroup/stingraykit | 516a251fb64130351cf8617e1f0cf17799db914f | c2be37f3e0108c4a05d387f9117eac0b10a4c094 | refs/heads/master | 2023-08-30T06:27:36.000620 | 2023-08-07T09:16:23 | 2023-08-07T10:00:19 | 31,662,410 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,365 | cpp | OrderedSetTest.cpp | #include <stingraykit/collection/ordered_set.h>
#include <gmock/gmock-matchers.h>
using namespace stingray;
using ::testing::ElementsAre;
namespace
{
using Vector = std::vector<std::string>;
using Set = std::set<std::string>;
using OrderedSet = ordered_set<std::string>;
}
TEST(OrderedSetTest, Construction)
{... |
7caeec6a55955d0e26474cd63945df7a85e8673d | e926bede54cbddf08870036ae478124e0a6cec77 | /src/python/pic_solver.cpp | d848190163cc8b895929aada3e9f0f17bb92e533 | [
"MIT"
] | permissive | doyubkim/fluid-engine-dev | 2d1228c78690191fba8ff2c107af1dd06212ca44 | 94c300ff5ad8a2f588e5e27e8e9746a424b29863 | refs/heads/main | 2023-08-14T08:04:43.513360 | 2022-07-09T06:24:41 | 2022-07-09T06:24:41 | 58,299,041 | 1,725 | 275 | MIT | 2022-07-09T06:24:41 | 2016-05-08T06:05:38 | C++ | UTF-8 | C++ | false | false | 3,447 | cpp | pic_solver.cpp | // Copyright (c) 2018 Doyub Kim
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "pic_solver.h"
#include "pybind11_utils.h"
#include <jet/pic_solver2.h>
#include <jet/pic_solv... |
9a437f5e8f3c8991c35233392e9f6027f0a35835 | accd5545df6c1fe34da58b9aef97e7329c55f9c5 | /吉田学園情報ビジネス専門学校_増澤 未来/04_Air++/02_開発環境/Air++/Air++/lap_ui.h | 020b5d3172c5fd7832543d89f13f8fab8220ad83 | [] | no_license | miraika4400/MiraiMasuzawa | 41fff5ce74c285f230f390bd355530f139dff949 | 4473fc3821a244f9b7270410b178cbad59e3d185 | refs/heads/master | 2023-03-12T01:09:30.264778 | 2021-02-27T20:56:45 | 2021-02-27T20:56:45 | 305,336,083 | 0 | 1 | null | 2020-10-22T01:04:47 | 2020-10-19T09:47:08 | C++ | SHIFT_JIS | C++ | false | false | 1,544 | h | lap_ui.h | //=============================================================================
//
// lap_uiヘッダ [lap_ui.h]
// Author : 増澤 未来
//
//=============================================================================
//二重インクルード防止
#ifndef _LAP_UI_H_
#define _LAP_UI_H_
//*****************************
// インクルード
//**... |
4c7b44adcf40f19ccb71e8eaf214bbe24970cb75 | 58b3d4d6376d0828411f4fc5fe2c17454004296b | /glutils.hh | 49b1aa74f908f798d1c7efafec6e150d3fc4984e | [] | no_license | thaapasa/gpu-fractal | 8a858f0e41a6fca96df5003a7bf0871343ba03f4 | bc6f3cd776fb1e2a71df0efb6f5bf90d114312c9 | refs/heads/master | 2022-11-13T00:43:47.221243 | 2020-06-23T12:06:16 | 2020-06-23T12:06:16 | 274,395,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | hh | glutils.hh | #ifndef GL_UTILS
#define GL_UTILS
class GLUtils {
public:
static void setup2D(int width, int height);
static void drawRectangle(int x1, int y1, int x2, int y2);
};
#endif // GL_UTILS
|
3bf4ac6b6e29471f94194333630226017fb015a0 | 5ca6dcf33a2ba44223c608bd3db519a8e37c93e7 | /MSNServerListener.h | 1b7d50df9c82930ab1130fdeb455d012e27f568b | [] | no_license | tomatoKiller/MSNServer | 4b52b961c579352fabaea99d9cda1716eaa98d4d | 79d6daf152303440c8405eb8fabcce16aa08192a | refs/heads/master | 2021-03-12T20:10:16.304822 | 2014-09-09T14:06:35 | 2014-09-09T14:06:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | h | MSNServerListener.h | #ifndef MSNSERVERLISTENER_H
#define MSNSERVERLISTENER_H
class MSNServerListener{
virtual void serverStarted()=0;
virtual void serverStopping()=0;
};
#endif |
8093380dac3fc8846745148200cf4a737fda388a | 54bcc6bba394e61e1163bac50fab8fb7f4672271 | /sandbox/textgen/textgen.cc | ee919bf2ad96bfcfe67ed5e9d3102f8f4331d737 | [
"MIT"
] | permissive | NeuralNetworkingTechnologies/jik | 4ff548b85d652374d4bcbac2f8c1c223096a10bd | 1d211533e66de96859956aef6c1000db0a2fab22 | refs/heads/master | 2021-04-29T03:48:08.630085 | 2017-06-24T16:31:45 | 2017-06-24T16:31:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,555 | cc | textgen.cc | /*!
The MIT License (MIT)
Copyright (c)2016 Olivier Soares
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 rights
to use, copy, m... |
4c550bce5ae703317d48519bb1b3f5145638d218 | 5b1a8c419efa4c2ec73e1fcc8645b9e99cd49234 | /C++/atomic.cpp | 3422c0ad166451bf9e04ead846926c94cecf3c6b | [] | no_license | Clcanny/Notes | 90b59523800d7d59b87ecb5e0448fb2c87130ee0 | b0490d9d796ccff075a975eef370ff6dd41f50cb | refs/heads/master | 2021-01-25T09:37:30.520162 | 2018-08-07T06:49:52 | 2018-12-22T09:12:17 | 93,859,097 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp | atomic.cpp | #include <atomic>
void atomicFunction()
{
std::atomic<int> a;
a = 0;
a++;
}
int main()
{
}
|
9647034e58ed3e6b28a697b2ffa2343411de9985 | a7d95bf500c71c051b761be24b2f1430601b320a | /main.cpp | 6677bd6409f9b64f693d8e8f3fc1aae0e467ae83 | [] | no_license | fdc227/aero-wing | eb1d23274daf3dba0d7518fa49007e994ab4cea2 | 49d6f862efc2c3f3531bcb16d553747b12bb040b | refs/heads/master | 2022-11-17T23:20:26.342480 | 2020-07-10T09:25:14 | 2020-07-10T09:25:14 | 277,240,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,812 | cpp | main.cpp | #include "main.hpp"
#include <fstream>
#include "mkl_lapacke.h"
#include <vector>
#include <boost/array.hpp>
#include <boost/numeric/odeint.hpp>
#define N 63
#define NRHS 1
#define LDA N
#define LDB NRHS
#define STORAGE_SIZE 64*10000
#define VEC_LEN 64
using namespace std;
using namespace boost::numeri... |
831030bf53c4f923e67aba0c9d9bb904aa03d57b | 3584c950559d06fd08d7aacfdbfd98a42900fef4 | /artdaq/proto/fhicl_test.cc | 9ab38f1bd5e950fda17f8dc6373234c9a603f2bf | [] | no_license | diegoa314/artdaq_lme | 50278f8e93249ce17aa9727fda43efa42cf304c9 | 59ae2822bfed43fa71932511d3048add4c2dec61 | refs/heads/master | 2020-07-02T13:15:09.409266 | 2019-09-18T16:41:29 | 2019-09-18T16:41:29 | 201,527,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cc | fhicl_test.cc | // Show that the string representation of numbers in fhicl is not what you'd expect.
#include "fhiclcpp/ParameterSet.h"
#include <iostream>
#include <iomanip>
#include "artdaq/Application/LoadParameterSet.hh"
namespace bpo = boost::program_options;
int main(int argc, char * argv[])
{
struct Config {};
auto pset... |
a7f1ae5928556bcbe03236e9f426915c4ce10a33 | 53b695844f2978a031ce8c5d435f532cd8c62c80 | /temperature_sensor.ino | 6cb1a3da705998568dda35b00b0dfbf718da751b | [] | no_license | dvreijen/CarElectricalRadiatorFanController | 1ee6116a0f56bcc9627e08d035ecc8876239c99e | 949a5f05c04d90eaf6f7d84ecce218fdad550d98 | refs/heads/master | 2022-01-23T21:06:41.321140 | 2018-08-26T06:38:52 | 2018-08-26T06:38:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,225 | ino | temperature_sensor.ino |
//Include libraries
// https://github.com/espressif/arduino-esp32/issues/755
// Public global paramters related to this module
bool TempSensorFound = false;
//#define MotorTemp_IDX 0
//#define RadiatorTemp_IDX 1
void setup_dallas(void) {
// sensors
sensors.begin();// IC Default 9 bit. If you have trou... |
f5dec2aa6f57eba6661f8c7078c6a404ea69b898 | 5c50acd60fb29fc852a2ecf549a49996eca44a21 | /TextBasedConsole4UPC/Monsters.h | 863fd31f4cc17ccfc682fa7773a44a3b69efcdbc | [
"MIT"
] | permissive | Misarte/Zork | e5d540481a79c00e78b45d6923e4b23ca31dcdc7 | bc16352670d9c56d793c15db2cae942500c02553 | refs/heads/master | 2020-05-31T12:31:04.575681 | 2019-06-04T22:27:42 | 2019-06-04T22:27:42 | 190,282,493 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 656 | h | Monsters.h | #pragma once
#ifndef __MONSTERS_H__
#define __MONSTERS_H__
#define uint unsigned int
#include "Entity.h"
class Monster : public Entity {
public:
String name;
String description;
String current_place;
int position_num;//integer used for accessing the rooms
int damage;
int life;
Monster(const char* item_name... |
bda922e638ab845ad6b1d7d484d7aeb45be24ce2 | 503c589ec087e21e83918440e2c2eebb9537026a | /Source/HoudiniEngineRuntime/Private/HoudiniAttributeObject.cpp | 531608a502ad491eee0f2b2700710aaf06f22e2a | [] | no_license | richmondx/HoudiniEngineForUnreal | d704e59e9da7a3ae5ccad641ecdb4375c47fe1b3 | d8bf704c0f115d92f6d4949b6c73e8fcea905350 | refs/heads/Houdini15.5-Unreal4.12 | 2021-01-15T22:24:00.753466 | 2016-06-29T22:00:46 | 2016-06-29T22:00:46 | 62,433,065 | 1 | 0 | null | 2016-07-02T03:58:50 | 2016-07-02T03:58:50 | null | UTF-8 | C++ | false | false | 17,842 | cpp | HoudiniAttributeObject.cpp | /*
* PROPRIETARY INFORMATION. This software is proprietary to
* Side Effects Software Inc., and is not to be reproduced,
* transmitted, or disclosed in any way without written permission.
*
* Produced by:
* Mykola Konyk
* Side Effects Software Inc
* 123 Front Street West, Suite 1401
* Toronto, Onta... |
1923d09246eb842dc0985ce8d4af69f367f3e6b9 | b46d4f0a7e806b175de55214dfd3909e5bcb6687 | /gui/gui/TEvdCrystal.hh | 49db26d7d82595f561c586ad35299cf96a6f14e7 | [
"Apache-2.0"
] | permissive | Mu2e/Stntuple | 23fa5550288586b0e0909aa3be7439fd41cf9511 | 766b735ae2fabf391e6f935c67f7245995378e87 | refs/heads/main | 2023-08-23T17:52:41.537174 | 2023-08-16T15:01:21 | 2023-08-16T15:01:21 | 218,061,235 | 0 | 9 | Apache-2.0 | 2023-09-14T01:44:36 | 2019-10-28T14:07:19 | C++ | UTF-8 | C++ | false | false | 3,755 | hh | TEvdCrystal.hh | ///////////////////////////////////////////////////////////////////////////////
// vis node displays one wedge
///////////////////////////////////////////////////////////////////////////////
#ifndef TEvdCrystal_hh
#define TEvdCrystal_hh
#include "Gtypes.h"
#include "TClonesArray.h"
#include "TH1.h"
#include "TPad.h"
#... |
7245c64e07e6aefa5372b7c4505360bcc7168bfe | 0a8d05154d373e55691ab946cf5211853911de60 | /tests/adapter-tests/current_thread_name.cpp | 93b1d70492ffcc5e5ce32a8b277c41b7d095d87f | [] | no_license | ubports/repowerd | 52284838c6dd5a40d10b00e4dc3e46f1bf4df567 | 1375dd39d39e2d9de543ff04f61e6b8c3594f109 | refs/heads/xenial | 2023-05-08T06:27:29.458064 | 2021-03-25T00:04:46 | 2021-03-25T00:04:46 | 113,965,269 | 1 | 7 | null | 2021-06-07T09:07:42 | 2017-12-12T08:42:18 | C++ | UTF-8 | C++ | false | false | 1,012 | cpp | current_thread_name.cpp | /*
* Copyright © 2016 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WA... |
b91496929e30c372c00ce8b0c4e5010e0f9dd825 | ccfa879f695f6685801b3ff282c681cdbcb3799d | /Kattis/yoda.cpp | 3c82b9e15e2c58837823677f613dde6e0374a6e0 | [] | no_license | septa97/competitive-programming | ecf9974e6b75e461394e58b5a9a3ee4fdb8880e0 | 605cc2d548fde35a600235999ff7a4b57c4b7976 | refs/heads/master | 2021-04-29T13:11:07.524540 | 2019-05-01T00:50:58 | 2019-05-01T00:50:58 | 121,744,278 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | yoda.cpp | #include <iostream>
#include <vector>
#include <map>
#include <set>
#include <utility>
#include <string>
#include <algorithm>
#include <iterator>
#include <cstdio>
#include <cstring>
#include <cmath>
#define MOD 1000000009
#define debug(x) cout << x << " ";
#define debug_newline(x) cout << x << endl;
#define scan(x) d... |
010c34e2b3a551da1b46848b70c5b4e93eb80f13 | a0b346b88c3c481a829016773e0a6f2b0004d659 | /keyvi/3rdparty/msgpack-c/example/boost/asio_send_recv_zlib.cpp | 885e8807bc142dc92c32fa451610f0a2e432ecff | [
"BSD-3-Clause",
"Zlib",
"Python-2.0",
"Apache-2.0",
"MIT",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | KeyviDev/keyvi | 4c5f512e2e13f5f8e21e82b91c1443c271b70b91 | 3a816037a74da049b01b522f42a6fdfb61f00a4a | refs/heads/master | 2023-01-11T03:44:18.571671 | 2022-12-14T20:20:56 | 2022-12-14T20:20:56 | 109,309,657 | 235 | 42 | Apache-2.0 | 2022-12-29T19:16:08 | 2017-11-02T19:28:41 | C++ | UTF-8 | C++ | false | false | 6,618 | cpp | asio_send_recv_zlib.cpp | // MessagePack for C++ example
//
// Copyright (C) 2017 KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#include <string>
#include <sstream>
#include <iostream>
#include <boost/as... |
37db9f87f62b76818cbe72a7091f6d38a1be2b61 | 20e58a78041a5959d7d892dcc2b984bd82710e88 | /compare/hugefile/test_ntuple.cc | 3e7d96bbdeb0ffc8ad0d755d22c3a9027b98ae18 | [] | no_license | jblomer/iotools | 812c63d90cce173307eda3e8c7a63dc2466f8edf | 817bf4e89d323cb6a137041f8a6978499f4fee48 | refs/heads/master | 2023-08-08T07:50:20.882150 | 2023-06-15T11:13:41 | 2023-06-15T11:13:41 | 85,220,481 | 7 | 7 | null | 2023-06-15T11:13:43 | 2017-03-16T16:53:46 | C++ | UTF-8 | C++ | false | false | 1,978 | cc | test_ntuple.cc | #include <ROOT/RNTuple.hxx>
#include <ROOT/RNTupleModel.hxx>
#include <ROOT/RNTupleOptions.hxx>
#include <TROOT.h>
#include <cstdio>
#include <memory>
#include <string>
#include <type_traits>
using RNTupleModel = ROOT::Experimental::RNTupleModel;
using RNTupleReader = ROOT::Experimental::RNTupleReader;
using RNTupleW... |
6b1c03b71ecf1f9d78a65a3966e5daf2b6cd9b14 | bf0e9de1d26eabe066b405f480b2425fb704b524 | /app/AnalogSensor.cpp | f859b5a3d70b77faaa01fe36b0cdbf9fa89a0a3a | [] | no_license | SamPusegaonkar/Valgrind | ebd739b0ff6cb79e4b39b6c10239113691732405 | f0144d3e69a4b40bc9562c961915ed812b82ab15 | refs/heads/main | 2023-08-27T16:05:43.652117 | 2021-10-09T21:50:05 | 2021-10-09T21:50:05 | 415,170,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | AnalogSensor.cpp | /**
* @file AnalogSensor.cpp
* @author Sameer Pusegaonkar (sameer@umd.edu)
* @brief AnalogSensor to get the average reading
* @version 0.1
* @date 2021-10-09
* @copyright Copyright (c) 2021
*
*/
#include <AnalogSensor.hpp>
#include <numeric>
#include <vector>
AnalogSensor::AnalogSensor(unsigned int samples): ... |
934c0998ab06a11582c2c97ae770a76cccaeb82f | e0bf00dc8ce16e81530d46442cf364668e23bb38 | /CesiumGltfReader/generated/PropertyStatisticsJsonHandler.cpp | b5656db8805797f39779710f534f24b29535ee27 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | Lucas1188/cesium-native | d81ef0915cbd0cffba6f37e5e473b9623a9564b3 | 54cd13b95b8b61d4ad1d1dfd418014a031c0164e | refs/heads/main | 2023-07-08T02:13:46.807782 | 2021-08-05T05:51:52 | 2021-08-05T05:51:52 | 391,251,346 | 0 | 0 | Apache-2.0 | 2021-07-31T04:09:59 | 2021-07-31T04:09:59 | null | UTF-8 | C++ | false | false | 2,018 | cpp | PropertyStatisticsJsonHandler.cpp | // This file was generated by generate-gltf-classes.
// DO NOT EDIT THIS FILE!
#include "PropertyStatisticsJsonHandler.h"
#include "CesiumGltf/PropertyStatistics.h"
#include <cassert>
#include <string>
using namespace CesiumGltf;
PropertyStatisticsJsonHandler::PropertyStatisticsJsonHandler(
const ReaderContext& ... |
c9cc9aa5e1d45b671ac831daf9ab94b27725c07a | 7ed9ddde7aa126433fccaaf724415d08d59caec2 | /TalkingScene/WalaberEngine/Walaber/src/IO/ZipArchive.cpp | 55b470a2d6d09fed0816371333bb8ea6ca1f9ea3 | [] | no_license | DannyTking/TalkingScene | 7b01c92d273d15f0b9c72b2170fdb5a7b95b5e22 | b73828e69b4324ccb8f26648dbb3b5b8cbddeb8f | refs/heads/master | 2020-12-30T10:36:40.516557 | 2013-12-23T01:34:45 | 2013-12-23T01:34:45 | 13,242,667 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,836 | cpp | ZipArchive.cpp | #include "ZipArchive.h"
#include "Logger.h"
#include <fstream>
namespace Walaber
{
// ----====----====----====----====----====----====----====----====----====
// ----====----====----====----====----====----====----====----====----====
ZipArchiveReader::ZipArchiveReader( const std::string& zipFile )
{
// try to... |
675ed435945c0359ead0a9b3b684ba75addd47a2 | 23251b94518a55709e3d1c0e685aba44c240dfa5 | /CppModule08/ex01/main.cpp | 6403359c1f28da5f0df8807198a2f63d2d2b13b6 | [] | no_license | soukainahikma/Piscine-cpp-42- | a8febd8d221ce4cf025891a45428f8af05f35b8e | 5b01426ba1257bb7a3ccc50eb1ce96e297b8bcde | refs/heads/main | 2023-09-05T17:22:47.148176 | 2021-09-28T11:49:17 | 2021-09-28T11:49:17 | 376,921,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | cpp | main.cpp | #include "span.hpp"
int main ()
{
Span sp(6);
Span sp2(5);
Span sp3(1000);
int x;
std::cout << "---------------- testing sp ---------------" << std::endl;
for (size_t i = 0; i < 6; i++)
{
try
{
sp.addNumber(i);
}
catch(std::exception &e)
{
std::cout << "you have achieved the limit" << std::end... |
f389c40ed236f71c050f39b575c93d8575876a00 | 190ab627f77ad18fe63a70a408fc3480c0ccf1a3 | /quick_sort.cpp | 408de9584746f8cf6010b7f178e232db4703ebfb | [] | no_license | sudeepdino008/competitive-programming-solutions | f14d4557405e1165df26c48a54a51c93633c03de | 63d5a928a8bc66250c383da2848a889c6722f162 | refs/heads/master | 2021-12-22T01:42:51.678160 | 2021-12-16T16:04:51 | 2021-12-16T16:04:51 | 25,127,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | quick_sort.cpp | #include <iostream>
#include <cstring>
#include <sstream>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <climits>
#include <ctime>
//#define NDEBUG //when all assert statements have to be disabled
#include <cassert>
#define tr(c,i) for(typeof((c).begin... |
6ebe1b8321e1db13aa7082e6aec306529cc85a33 | 8d8441aae38d587fc753832e48235980d7180f25 | /jogo-21-VERSAO-ATUAL.cpp | f6221699c2cc0d0f182ad57ed32c6b60ef6f646a | [] | no_license | williamkoller/jogo21-C | 2fd77da526be28235d58e8da3ae27e8a0faf14bc | 1dbbcc09774994222d8c7b2e69fd4b68d6f03e10 | refs/heads/master | 2020-04-25T19:47:09.826849 | 2019-02-28T03:17:16 | 2019-02-28T03:17:16 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 15,947 | cpp | jogo-21-VERSAO-ATUAL.cpp | /*
projeto: Jogando 21
desenvolvedores: Jeferson Jacinto, Nilton, Vinicius e William Koller
*/
#include <time.h>
#include <ctype.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
int pts1, pts2, pt1, pt2, partida, jogandoi; // sistema
int smc_p... |
e0085c07b2ea385209817b3aac3b30ef41564d32 | b4c1fba2f585796346492cd56d7c1eb02e821d8a | /greedy/COINCHANGE/solve.cpp | ba949f69c43333bd90ed104ad947e925e6f1e379 | [] | no_license | nqhung291/algorithm | 03161073018a56015c600def0b0889f729cd1ce1 | f64b7083d53dcdd34ab5ca5d9c6b552d3a6e1e75 | refs/heads/master | 2023-02-24T06:28:41.524792 | 2021-02-04T00:57:30 | 2021-02-04T00:57:30 | 304,799,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | solve.cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> ii;
typedef vector<ii> vii; // vector of intege... |
5589c57d325fa6f8720c0046d6282a801827a57e | c4f81131f3209f2d3415201c2d41b51ed9ff88c5 | /querys_quest/Space.cpp | 0163459b70c8caa23faa9447f2779cfa74a515ed | [] | no_license | sgilbo618/Querys_Quest | e9e32aec9ca1f4490e4961b8f3641c6a37312d6e | 3839706a5660485cf64516dae613fa1ec7cd40dc | refs/heads/master | 2022-11-10T14:48:06.748518 | 2020-06-19T19:24:08 | 2020-06-19T19:24:08 | 174,137,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,963 | cpp | Space.cpp | /*********************************************************************
** Program name: Query's Quest
** File:
** Author: Samantha Guilbeault
** Date: 2-26-2019
** Description: Contains the implementation of the class Space which
** is an abstract base case that represents the basic
** tile of the game board for ... |
b5ef2c382c859dc4237839d53e5f7803122a690d | ecb9e52e2e9fed4304e0c6e5ffc0b06ae06766e4 | /src/REXOS/ROS/libraries/rexos_delta_robot/include/rexos_delta_robot/Measures.h | d10cdce044c8073085351a04a32dbaecd1386dd1 | [] | no_license | tommasbakker/HUniversal-Production-Utrecht | 1f6b0f269d3d9088418ee06dce84b77142a248cc | edbd9443adb97d076ee21bf4ceb72de9f7a1a8f7 | refs/heads/master | 2021-01-16T21:25:06.036294 | 2013-10-10T11:31:25 | 2013-10-10T11:32:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,676 | h | Measures.h | /**
* @file Measures.h
* @brief Miscellaneous measures.
*
* @author 1.0 Lukas Vermond
* @author 1.0 Kasper van Nieuwland
* @author 1.1 Daan Veltman
* @author 1.1 Koen Braham
*
* @section LICENSE
* License: newBSD
*
* Copyright © 2012, HU University of Applied Sciences Utrecht.
* All rights reserved.
*
*... |
1f28ff08d8d5f3286a4a7d5af7a6cb693eec940a | 2c2d1fa4f0f8949ff4371eb01a7628355984a369 | /D1L2/FlowerGarden.cpp | 02098422ede935a95dbc801061828bdc95beae00 | [] | no_license | kokizzu/topcoder | 85b439d369e8ff342fed27681e84de148a7ff09a | 9e9b85dc7ceb9872daa3571203ad3d4b1c932187 | refs/heads/master | 2020-06-12T15:35:13.440655 | 2015-05-15T09:58:59 | 2015-05-15T09:58:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | cpp | FlowerGarden.cpp | #include <vector>
#include <algorithm>
#include <functional>
#include <cstring>
using namespace std;
vector<int> a;
int beg[1001], end[1001];
bool block(int x, int y) {
if (beg[x] > end[y] || beg[y] > end[x]) {
return false;
}
return true;
}
vector<int> getOrdering(vector<int> const &height,
... |
0943387849ac4fe1d7c06ad0b6efe54f6438b9a9 | cd470ad61c4dbbd37ff004785fd6d75980987fe9 | /Codeforces/1201E2 Knightmare (hard)/交互,BFS/std.cpp | 70f83ef5c57fd8717c276d78db959c5835230185 | [] | no_license | AutumnKite/Codes | d67c3770687f3d68f17a06775c79285edc59a96d | 31b7fc457bf8858424172bc3580389badab62269 | refs/heads/master | 2023-02-17T21:33:04.604104 | 2023-02-17T05:38:57 | 2023-02-17T05:38:57 | 202,944,952 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,538 | cpp | std.cpp | #include <cstdio>
#include <cctype>
#include <cstdlib>
#include <algorithm>
#include <cstring>
int read(){
register int x = 0;
register char ch = getchar(), f = 1;
for (; !isdigit(ch); ch = getchar()) if (ch == '-') f = !f;
for (; isdigit(ch); ch = getchar()) x = (x << 1) + (x << 3) + (ch ^ '0');
return f ? x : -x... |
4124c5345e8a6ec926ab833d98f8751950197b2f | 87f50d20d4780dcede0b9ac13109ab104bc75449 | /Ch 3 Paradigms/uva-11057.cpp | 3c7c2f55adcb09afd0f71f41e438055d75b72587 | [
"MIT"
] | permissive | sladewinter/CompetitveProgramming | 7721da680a1826ae04c69747abef04b95aacef68 | 3e8003e8ae5452eed1468be44ae5d7bbcc763dd1 | refs/heads/master | 2022-11-08T12:52:27.628385 | 2020-06-19T05:28:59 | 2020-06-19T05:28:59 | 255,092,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | uva-11057.cpp | //UVa - 11057 - Exact Sum
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int book[10000];
int N, M;
while( scanf( "%d", &N ) != EOF )
{
for( int i{0}; i < N; ++i )
scanf( "%d", &book[i] );
scanf( "%d", &M );
sort( book, book + N );
int beg{ 0 };
int end{ N - 1 };
pai... |
b055d6e055f682615e3c3c93b0c0b6f1007736fc | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu2066/8646006.cpp | d802c26ef9f6a4b0abaa1709e2dd422e0552d2b6 | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,487 | cpp | 8646006.cpp | #include <queue>
#include <cstdio>
#include <cstring>
#define N 1005
#define INF 0x7f7f7f7f
using namespace std;
int map[N][N];
int start[N];
int end[N];
int d[N];
int used[N];
int MAX;
int T,S,D;
int SPEA()
{
int i, u, min;
for(i=0; i<=MAX; i++) d[i] = INF;
queue<int> q;
for(i=0; i<S; i++)
{
... |
fc76e310795a0da9ac7bef25437c774828cc6aa6 | 819c996d03a7db4de3507e05b326988b19befe28 | /Apocalypse 2.0.0/Apocalypse/ItemsArray.h | 0e7c0620503b300fa67d5b033cda0800b7b67144 | [] | no_license | GenoMainiero/Apocalypse | efaf0e19be324407218ac2d64249611e2f2bb6bd | 8745fcf602f528fc53b4b3ef52483e1950a4af06 | refs/heads/master | 2022-03-08T15:47:43.722037 | 2019-10-30T15:13:08 | 2019-10-30T15:13:08 | 217,333,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | h | ItemsArray.h | #pragma once
#ifndef ITEMS_ARRAY
#define ITEMS_ARRAY
#include <string>
using namespace std;
class Item
{
private:
string name;
bool possess;
bool possessRoom;
int count;
public:
Item()
{
name = "dummy item";
possess = 0;
count = 0;
}
Item(string na, bool po, int c)
{
name = na; possess = po; count = c... |
bf6d46441027643a2296045fb58d08763f297767 | 8812cddcaa19671817e2b9cc179d3f41f6c620b2 | /Trunk/Client/src/Engine/Include/Engine/NavPathFinder.h | 01e850fee132e18554b8041164a3512e8218127e | [] | no_license | Hengle/airengine | 7e6956a8a649ef0ca07fcf892c55ae2451ce993c | 2f5fbfbfe83eb3f2d1d44af4401b3a48ae75cb24 | refs/heads/master | 2023-03-17T00:17:33.284538 | 2020-02-04T03:25:48 | 2020-02-04T03:25:48 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,810 | h | NavPathFinder.h | // ***************************************************************
// 文件: NavPathFinder.h
// 日期: 2010-7-6
// 作者: huangjunjie
// 说明:
// ***************************************************************
#pragma once
#ifndef __NavPathFinder_H__
#define __NavPathFinder_H__
#include "Navigater.h"
#include "MemoryAllot... |
73f3ef52d995dc89d015eac2e12521b8c10fdcd5 | 6fe68ff36a23f729896941d5b09f22c5760c0165 | /FtcRobotController/src/main/jni/p_Block.h | fab229775f36e2194c05936037be8b385a749668 | [
"BSD-3-Clause"
] | permissive | pszczeszynski/ftc_app | ba4bbde0f0a2f1bbd5c301ad861bb38c7a41db29 | da2c6b29a83d141666d52da34b0aa6e52c75a0b2 | refs/heads/master | 2021-06-21T10:33:05.764157 | 2017-07-27T14:25:53 | 2017-07-27T14:25:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | h | p_Block.h | //
// Created by Administrator on 7/20/2017.
//
#include <jni.h>
#include <stdio.h>
#include <opencv2/opencv.hpp>
#ifndef FTC_2017_2018_P_BLOCK_H
#define FTC_2017_2018_P_BLOCK_H
//#ifdef __cplusplus
//extern "C" {
//#endif
class p_Block {
public:
int x;
int y;
bool open = false;
bool closed = false;
... |
ab0b506482340f35f971f1a862cc7fd382fcfc77 | de40db8b5524c464a47ebfac6fceb738ad5f7ba8 | /fluidSImularion/fsInd3d11/common/D3DApp.h | 4c8ceffa6a456ec4f93a002a5f8d821c12792931 | [] | no_license | nlsysis/fluidSimulation | 400bb24701b933f8eb1742b495d38df8277f0363 | f14b4e7c3865d10b486f8b92162cb5c160400129 | refs/heads/master | 2020-12-28T12:03:50.944679 | 2020-04-04T12:30:18 | 2020-04-04T12:30:18 | 238,325,670 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,666 | h | D3DApp.h | #pragma once
#include "d3dUtil.h"
#include "GameTimer.h"
#include <string>
#include "Mouse.h"
#include "Keyboard.h"
#include "ImguiManager.h"
#pragma comment(lib,"d3d11.lib")
#pragma comment(lib,"d3dx11d.lib")
#pragma comment(lib,"D3DCompiler.lib")
class D3DApp
{
public:
D3DApp(HINSTANCE hInstance);
virtual ~D3DAp... |
efe74c061403e8ef6e40c5df36a02bba3246a4d7 | ac93858e79b7486c0c346a55610c2a1df07ece89 | /AnoDet2012/ANOMALY_DETECTION/RBF/KMeans.cpp | 29653530b289688c9fc677b445257f812e19a3db | [] | no_license | AnomalyDetection2012/AnomalyDetection2012PWR | 4dea822b40c4cd39d9a4ce83a17b89839cb7a8ad | a76217401475baa5ecdf8372b35a18bd44052142 | refs/heads/master | 2016-09-05T17:34:29.432193 | 2012-12-17T23:35:41 | 2012-12-17T23:35:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,081 | cpp | KMeans.cpp | #include "KMeans.h"
#include "time.h"
#include <vector>
#include <iostream>
#include <stdlib.h>
#include <limits>
#include <QDebug>
using namespace std;
KMeans::KMeans(int clustersNumber, double minSigmaSquare, double maxSigmaSquare, int pointSize, int iterations, int quantizationError, std::vector<std::vector<double... |
27ef8b2bfc35e9ef6fb05e7d7454b803a941241b | 7ed3b54477d480ee96fbb17894ef43a067459c03 | /TestIO_Siemens/TestIO_Siemens.ino | 2b2853b1976996a95ff58d7accd64078d4a978bb | [] | no_license | alismont/TestIO_Siemens | d93d3312360f164d096f1b25309912221249f357 | 57c5a2d0eca2098a16405f0e0c6ec27966664e27 | refs/heads/master | 2021-04-29T21:16:36.641589 | 2018-03-06T20:49:41 | 2018-03-06T20:49:41 | 121,611,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,012 | ino | TestIO_Siemens.ino |
/* 15-02-18 Projet Test I/O
* Auteurs: Brahim Boujamaoui
*/
/*========= Virtuino General methods ==============================================================================================================================
* void vDigitalMemoryWrite(int digitalMemoryIndex, int value) write a value to ... |
651dc097b96e687a2c0696c02f547aa1725b6843 | 806410cc83acebed719e5804232821bc83a87f01 | /source/library/render/public/potato/render/shader.h | 4724a184c56649fb018303425b4eb99aef86cb41 | [
"MIT"
] | permissive | blockspacer/potato | e4d37969b791f434826114721455d8dbb642d361 | a52f9712e5251412e14406c54927ab9984ec6f0e | refs/heads/master | 2020-07-05T19:02:41.665477 | 2019-07-19T03:15:09 | 2019-07-19T03:15:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | shader.h | // Copyright (C) 2019 Sean Middleditch, all rights reserverd.
#pragma once
#include "potato/foundation/rc.h"
#include "potato/foundation/vector.h"
#include "potato/foundation/int_types.h"
namespace up {
class RenderContext;
class Shader : public shared<Shader> {
public:
explicit Shader(vector<by... |
cc977aa4994f5f71c2b9ffe4f025efa049bda82e | 06ae40ff7b1de99c2d84d1f22d34d03c1d7c9079 | /src/transforms/rdft.cc | febe6c82acaa4be255cf3238c28be47e0f6939ca | [
"Apache-2.0"
] | permissive | zyh329/veles.sound_feature_extraction | 4270696885613b582e896bf652e1fe0a46704f2c | 56b7c5d3816d092c72a874ca236e889fe843e6cd | refs/heads/master | 2021-01-18T10:23:00.173800 | 2015-08-10T08:27:49 | 2015-08-10T08:27:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,485 | cc | rdft.cc | /*! @file rdft.cc
* @brief Discrete Fourier Transform using FFT.
* @author Markovtsev Vadim <v.markovtsev@samsung.com>
* @version 1.0
*
* @section Notes
* This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>.
*
* @section Copyr... |
0ff81be4244ecbf119a9a05a9d0037293c662dd8 | 0141a8f26284dbfd824d9b054a899f6b6d7510eb | /abc/abc/100-150/abc112/a.cpp | 018fa0f8ce0fd698e49c1556e67d73b36ec5e557 | [] | no_license | yunotama/atcoder | 2da758f479da6aaaa17c88f13995e42554cb0701 | ddb16580416d04abaa6c4d543dc82a62706d283a | refs/heads/master | 2021-03-15T06:20:52.038947 | 2020-03-12T13:19:34 | 2020-03-12T13:19:34 | 246,830,843 | 0 | 0 | null | 2020-03-12T13:19:36 | 2020-03-12T12:39:16 | null | UTF-8 | C++ | false | false | 627 | cpp | a.cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#define ll long long
using namespace std;
int main()
{
int n;
cin >> n;
vector<int> a(3);
rep(i,n){
string str;
cin >> setw(3) >> str;
if(str =="SET"){
int x, y;
cin >> x ... |
3d158531e7db27c774440b2a829d0dc16a4b3fc0 | 74ba533508217abba7de9c7094d6f987f20536c1 | /pcl_try/src/pcl_test/src/pcl_test_core.h | 4d28fe7aea8ba97b0e8bac979b1f9e9efefdfdbc | [] | no_license | Wingooo/piontcloud | 3a63c3ab0e2dfa8e6da75292d795835e84bd5bfe | 8b923646e5cee052e70809bb9417020d87d7aec5 | refs/heads/master | 2022-11-29T19:09:58.257012 | 2020-07-31T02:32:32 | 2020-07-31T02:32:32 | 283,922,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | pcl_test_core.h | #pragma once
#include <pcl/ModelCoefficients.h>
#include <ros/ros.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_types.h>
#include <pcl/conversions.h>
#include <pcl_ros/transforms.h>
#include <std_msgs/Float64MultiArray.h>
//点云下采样
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/extract_in... |
548b3243f0f07ec3df4cd2a1552d5fd78f5479d1 | e8275bb8ab22eb928c9b15b55bde86e301134cca | /과제전/과제전/Ghost.cpp | f1247db09fafcf468661fd7a14c3c28c4806a348 | [] | no_license | sohyunie/StyudyByMyself | 6699033912c43400334e2ef55f989cd43722abce | f6aeb0b5f4d5469f6cdeae0b777fba0fc4b6894c | refs/heads/main | 2023-04-27T02:49:57.105025 | 2021-05-15T19:34:21 | 2021-05-15T19:34:21 | 329,078,479 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,856 | cpp | Ghost.cpp | #include "Standard.h"
#include "Ghost.h"
#include "InGameManager.h"
default_random_engine dreColor((size_t)time(NULL));
normal_distribution <float>uidColor{ 0.0,1.0 };
uniform_int_distribution <int>uidDirection{ 0,3 };
// 생성자
// 헤더랑 따로 한 이유: 헤더에서는 이 클래스가 어떤 역할 하는지 보기 쉽게 만드는 거고 잡다한게 써있으면 복잡하니까 정의들은 cpp에다가 풀어놓는다.
Ghost... |
74dfd853c72cb57cd5996425eb926c88587cf2c3 | e8973643f21585593ef487e52420d221c5ebfa01 | /src/test.cc | a8cc0d57515a8d3cc9b091e6add39cae68e4afbc | [] | no_license | AShocke/TicTacToeNM | 1cbfd3c8d1900bdd41a5a808fde2d63bcd0e37b8 | 28ffdcd40670a2e6755cf461de4b274c9bc605de | refs/heads/master | 2021-09-13T18:19:38.965151 | 2018-05-02T21:50:07 | 2018-05-02T21:50:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cc | test.cc | #include <iostream>
#include "logic.h"
#include "minimax.h"
int main() {
Logic l(3, 3, 3);
l.play(1, 1, 2);
l.play(0, 2, 1);
l.play(2, 0, 1);
l.play(0, 1, 1);
l.play(1, 2, 1);
l.play(0, 0, 1);
l.print();
//Minimax m(l, 2, 5);
//m.play(l);
//m.print_tree();
l.print();
std::cout << l.is_game_over() << " " <<... |
4a70a8a52cf19716d8f2232c3f362b98e3f63bf0 | f81083f27b792a6936c11a2ee74282290200b316 | /lib/pdm/Matrices.cpp | 8c7f6bbe60c4263808df57ce2c34e0b97ad0c0e1 | [] | no_license | chhuang66/csPDM | 056ab2b636ada4823712ba5dcf57e2c4bd76920f | 3449502b420d28bab3c909d26a4a7bed60f205da | refs/heads/master | 2020-04-08T10:18:27.394103 | 2018-11-29T07:05:25 | 2018-11-29T07:05:25 | 159,263,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,985 | cpp | Matrices.cpp | ///////////////////////////////////////////////////////////////////////////////
// Matrice.cpp
// ===========
// NxN Matrix Math classes
//
// The elements of the matrix are stored as column major order.
// | 0 2 | | 0 3 6 | | 0 4 8 12 |
// | 1 3 | | 1 4 7 | | 1 5 9 13 |
// | 2 5 8 ... |
d50698601cb6ce913abb0dbd48f22c4285d0533e | 786de89be635eb21295070a6a3452f3a7fe6712c | /pypdsdata/tags/V01-01-03/pyext/types/usdusb/DataV1.cpp | 3a3d92adc46d8f6bbdee8ecf31a85ef8c655d7ee | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,063 | cpp | DataV1.cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class UsdUsb_DataV1...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
//-----------------------
// This ... |
af077856d5681bba536db0b1675b76bf93fef1da | 71d566418edc633bae8136443ba1a288607d83a2 | /TicTacToeAcceptor.h | 7d163277b26be756ce33c3aa8582518ca941e8a2 | [] | no_license | JusticeShurup/TicTacToe_server | a8881993ffca55d024ae1738292deb1d11d6d85c | b0e608dcc4e4d3f525efbde82ccaeba0281bab24 | refs/heads/master | 2023-08-27T13:56:40.300980 | 2021-09-23T13:55:58 | 2021-09-23T13:55:58 | 399,817,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | h | TicTacToeAcceptor.h | #pragma once
#include "ClientHandler.h"
#include <Poco/Net/StreamSocket.h>
#include <Poco/Net/ServerSocket.h>
#include <Poco/Net/SocketReactor.h>
#include <Poco/Net/SocketAcceptor.h>
class Server;
class TicTacToeAcceptor : public Poco::Net::SocketAcceptor<ClientHandler> {
public:
TicTacToeAcceptor(Poco::Net::Server... |
9c1d883fe073ba8df21258944cd638be4ef4349c | 7c9f0adf1d3f34b6843c435b249fd4281bce29f4 | /lab3/generator.cpp | 3adaac885949a9a907a2874d669acd41be8c426f | [] | no_license | volkserg/PDPlabs | d1c019c0cd4514090157d7659de8e1ca31b9b6a2 | 53dbcf7f9109cd11bf5fd80c8afcc3bee8614fec | refs/heads/master | 2022-03-21T18:51:42.751623 | 2019-12-12T10:05:01 | 2019-12-12T10:05:01 | 206,797,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp | generator.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <thread>
#include <vector>
#include <unistd.h>
using namespace std;
void generator_shift(int n, unsigned long long int seed){
// unsigned long long int * res = new unsigned long long int[n];
unsigned long long int a = 2685821657736338717;
un... |
d145689f050c0e65d0df54e8e04170c680e116ad | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Codes/AC/1555.cpp | ed5af444ee4d7eafb98e28a7e8cecd887c0c0bbe | [] | 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 | 1,257 | cpp | 1555.cpp | #include <algorithm>
#include <cassert>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <iostream>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#... |
9c49fab65f91ee6032e5b033e0a64cb4f89b9345 | e34b29bf766e5458d1426ebe49aa5c7307aeb495 | /src/cpp/test/integration/ClassCast.cpp | 0be8018bd58d88f663a86f4a19dd32edcdee58e2 | [
"MIT"
] | permissive | MichaelRFairhurst/wake-compiler | 3720f02976f4ee23065a90ad34ab47bbbf393347 | 88239594fc8857acfc5635455d3bbc73ad062d13 | refs/heads/master | 2016-09-06T02:01:14.724274 | 2015-08-01T19:17:46 | 2015-08-01T19:17:46 | 13,249,947 | 62 | 5 | null | 2015-05-21T19:08:52 | 2013-10-01T17:00:16 | C++ | UTF-8 | C++ | false | false | 1,002 | cpp | ClassCast.cpp | /**************************************************
* Source Code for the Original Compiler for the
* Programming Language Wake
*
* ClassCast.cpp
*
* Licensed under the MIT license
* See LICENSE.TXT for details
*
* Author: Michael Fairhurst
* Revised By:
*
**************************************************/... |
f4a01c4d66d9e98a18a9951bae19fbcaa2af901e | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /base/fuchsia/process_context.h | 9e21d532240189ae7e72590c8ca0d173cb9103fc | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 1,268 | h | process_context.h | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_FUCHSIA_PROCESS_CONTEXT_H_
#define BASE_FUCHSIA_PROCESS_CONTEXT_H_
#include <fidl/fuchsia.io/cpp/fidl.h>
#include <memory>
#include "base/base_export.h"
namesp... |
3315c8af161f04fc77d60c2bf96a46b10b47fd89 | fd9f5186fa5d19db077dbf302fe9c940cb42e82f | /src/common/expression/RelationalExpression.cpp | 703426581308b507f3526d4a6ea9e84c66511588 | [
"Apache-2.0"
] | permissive | vesoft-inc/nebula | a0b9af548e124e59ecbfb0c5152098a1020b621c | 7c32088dec1891870a24aaa37ee5818e69f5ad6d | refs/heads/master | 2023-08-17T00:00:29.022525 | 2023-08-16T04:02:03 | 2023-08-16T04:02:03 | 146,459,443 | 11,007 | 1,220 | Apache-2.0 | 2023-09-05T05:48:16 | 2018-08-28T14:25:09 | C++ | UTF-8 | C++ | false | false | 8,784 | cpp | RelationalExpression.cpp | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#include "common/expression/RelationalExpression.h"
#include "common/datatypes/List.h"
#include "common/datatypes/Map.h"
#include "common/datatypes/Set.h"
#include "common/expression/ExprVisitor.h"
... |
890c81cee28ced3f0717437df0032b019aa34d65 | 283a455f88b5dd9e92472d400669965706522bd2 | /nRF24/Simple Example/nRF24_recieve.ino | a61bb0dc18d5bda08edd4ed56f8a21c590300bb8 | [] | no_license | mrsoltys/GEEN1400 | d86855a106e208c4fddae7e291d556baffb365f6 | 46d2e39521b1b061d24b850a79a6796218fa3071 | refs/heads/master | 2021-12-01T22:45:44.724110 | 2021-11-17T20:07:46 | 2021-11-17T20:07:46 | 123,316,295 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 562 | ino | nRF24_recieve.ino | // Include Libraries
#include <nRF24L01.h>
#include <printf.h>
#include <RF24.h>
#include <RF24_config.h>
// Define LED pin
#define ledPin 2
// Set Up Radios
RF24 radio(9,10);
const byte address[6]="01100";
void setup() {
pinMode(ledPin,OUTPUT);
Serial.begin(9600);
radio.begin();
radio.setPALevel(RF24_P... |
812d7ce6197092879bd4d69c2e1b3ec806bfa42f | 96df51d812ad28f4c5816102ad450864aa57e608 | /src/NodeAnimation.h | 054a065b2fdbe91c51b950ef6795999faa19431d | [
"MIT"
] | permissive | infinitedescent/Maya2glTF | 26ebf29816d1552e248830adc1eea21ba1cc2f7c | 3da15de118e98a10d2edc49b77ad9e61daee5ff1 | refs/heads/master | 2021-10-20T23:42:41.833140 | 2021-10-16T19:55:13 | 2021-10-16T19:55:13 | 147,889,150 | 0 | 0 | MIT | 2021-09-06T21:23:50 | 2018-09-08T01:07:55 | Mathematica | UTF-8 | C++ | false | false | 2,139 | h | NodeAnimation.h | #pragma once
#include "ExportableNode.h"
#include "PropAnimation.h"
#include "Arguments.h"
class ExportableNode;
class ExportableMesh;
class NodeTransformCache;
class NodeAnimation {
public:
NodeAnimation(const ExportableNode &node, const ExportableFrames &frames, double scaleFactor, const Argument... |
6b8333fa75461bd6ab808350de70124201d17f68 | 60b4b95f8c69541f2948e761ad95f989632c2e7c | /C++/nasleduvanje_2/datum.cpp | c7a1c444324825d7daff114b75e02e5cdba51748 | [] | no_license | VlatkoT994/Vlatko_Tasevski_qtwinsoft | 3d995e55540100544afd8147549a8aa456797e3c | c069e826de872bb11e038832185d396010142b68 | refs/heads/master | 2021-02-17T23:06:37.124828 | 2020-03-22T13:35:46 | 2020-03-22T13:35:46 | 245,134,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | datum.cpp | #include "datum.h"
#include<iostream>
using namespace std;
Datum::Datum()
{
den = 1;
mesec = 1;
godina = 1;
}
Datum::Datum(int day,int month,int year){
godina = year;
mesec = (month>=1&&month<=12)?month:1;
den = (day>=1 && day<=denVoMesec[month-1])?day:1;
}
void Datum::setDay(int day){
if(da... |
0253a615de18a4518ebd8f72f7c678135cf3e17d | 7696821b698f0b7c515175ad330c182c8d83087e | /LeetCode/Convert Sorted Array to Binary Search Tree.cpp | ac14782a25e3b260b97f8e8c1239f44461d7bcbd | [] | no_license | leopeng1995/acplusplus | 6ff140e5fa0556d07386f721e215f6e43df34336 | 3ab7fc51803300486f499c7ff087028717dfb6f3 | refs/heads/master | 2021-06-16T01:00:14.995261 | 2017-05-02T05:49:18 | 2017-05-02T05:49:18 | 68,093,570 | 24 | 9 | null | 2016-11-22T05:16:20 | 2016-09-13T09:18:44 | C++ | UTF-8 | C++ | false | false | 1,242 | cpp | Convert Sorted Array to Binary Search Tree.cpp | #include <iostream>
#include <vector>
#include <queue>
#include <cmath>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode* sortedArrayToBST(vector<int>& nums) {
if (nums.empty()) retu... |
eb121f2eda63e750b008bc3a2c6143a4e9f6c08b | 0fa3f8ff23770e761561307f2b6a438514af87e0 | /shader/Shader.h | 3d574abc62e00f53dd0be65da4a87693fbf281b8 | [] | no_license | ardazishvili/fig | 2cfff7f5314eead3e6a758e93cff1d7420882f16 | e9961bdc5a1c1561f86cd7944474223df21b3f34 | refs/heads/master | 2022-03-12T12:30:10.648896 | 2022-03-11T16:54:31 | 2022-03-11T17:03:20 | 236,101,022 | 1 | 0 | null | 2022-03-10T20:08:43 | 2020-01-24T23:30:42 | C++ | UTF-8 | C++ | false | false | 1,627 | h | Shader.h | #pragma once
#include <GL/glew.h>
#include <fstream>
#include <glm/gtc/matrix_transform.hpp>
#include <sstream>
#include <string>
#include "Camera.h"
namespace fig {
class Light;
class Shader {
public:
static const unsigned int MAX_BONES = 100;
Shader(Light* light, Camera& camera, glm::mat4& view, glm::mat4& p... |
5dca6370d24ca7a7428976a5d88441f7149d89f3 | 592b3b99c881023b83f7f08ff4624db5c20b4dc4 | /hw2/src/hw2.cpp | b13543a1d049872daab160d60e3dff30aa29d8c6 | [] | no_license | CastleOnTheHill/CG_HW | edf56a103f52203845b2fb337ee50ca568fc4f6e | 4a2b3af974319359a0c92745cbbd0734144d3d19 | refs/heads/master | 2020-05-19T19:41:48.889305 | 2019-05-28T12:54:16 | 2019-05-28T12:54:16 | 185,186,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,864 | cpp | hw2.cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "shader.h"
#include "imgui.h"
#include "imgui_impl_opengl3.h"
#include "imgui_impl_glfw.h"
#include <iostream>
using std::cout;
using std::endl;
void framebuffer__size_callback(GLFWwindow* window, int width, int height);
int main() {
int assignment_num = 4;
... |
b21e6588a693346dbbfbe42398505ce9d0b7ec0e | 96d00dc95c65c6e4d0e7a54507a8aaad7cf18d47 | /sources/FG/classes/src/ATriangle.cpp | 24505782c445425e252ab0e83b8a42c7b23294a4 | [] | no_license | eryeden/R8C_FG | 4ff141e9408cabfb5136e05e513024904db6d04b | 585cff8c808d49fc49b6a1e5e34cecb37bfcd55d | refs/heads/master | 2021-01-10T11:50:41.309419 | 2015-09-28T08:08:09 | 2015-09-28T08:08:09 | 43,061,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | ATriangle.cpp | //
//
// Generated by StarUML(tm) C++ Add-In
//
// Project : Function Generator
// @ File Name : ATriangle.cpp
// @ Date : 2015/05/25
// @ Author : Kazuki Kikuchi
//
//
#include "ATriangle.hpp"
#include "Settings.hpp"
#define SCL_TR 10
ATriangle::ATriangle(unsigned int freq, float phase, unsigned int gain)
:A... |
db285d2e52b089a3445ade3fbbff809ac0c63c11 | 2f6c2872118a7b6df295174c2338fcd2afa6a1bc | /src/TriggeredEvent.cpp | 7c10e75fc5bd582488cb3216c9eae27fd9f311f5 | [
"MIT"
] | permissive | matteobarbieri/titan | 2ff020367eb6a000c09de6087b0e8233d42050a4 | e440f921ce165a7b1004a971b55d3ae63b145514 | refs/heads/master | 2021-07-11T19:23:12.792053 | 2020-08-27T15:34:32 | 2020-08-27T15:34:32 | 192,607,869 | 1 | 0 | MIT | 2020-08-20T09:02:52 | 2019-06-18T20:25:40 | C | UTF-8 | C++ | false | false | 1,251 | cpp | TriggeredEvent.cpp | #include "TriggeredEvent.hpp"
#include "GameState.hpp"
#include "Entity.hpp"
#include "map/GameMap.hpp"
#include "components/Interactive.hpp"
#include "GameMessages.hpp"
#include "prefabs/funcs/misc.hpp"
TriggeredEvent::TriggeredEvent(EventTrigger * et): trigger(et)
{
}
bool TriggeredEvent::does_trigger(Entity * ... |
96fe81d8d6abb6d9086502a66aad509a82d4761d | db5e6ed5267950fd745110b301263f23ff88df0d | /ProductInventory/ProductInventory/Account.h | 7b50847586cecfcbbf4ade464b4d79609c0f4ec2 | [] | no_license | abidahmedgwu/C-Practice | fc1d4be6329136393736814b808d84b416ae1a19 | 464e809e98b56d996815d398c91ab3da6f0d9d7d | refs/heads/master | 2021-05-13T18:43:43.377269 | 2018-01-09T22:15:06 | 2018-01-09T22:15:06 | 116,875,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | h | Account.h | #pragma once
#include <string>
class Account
{
private:
std::string username;
std::string password;
public:
Account();
Account(std::string username, std::string password);
~Account();
std::string getUsername() const;
std::string getPassword() const;
};
|
9f65b1ff334af7af49d66012e78bd42347a217e7 | 9a37e0dd62a14c3700e65646eee4c2f64b087fdc | /UCT-project/build-project-Desktop_Qt_5_5_0_GCC_64bit-Debug/ui_mainwindow.h | ade60839a4e87c9e29540a991c2435db9a1f2a12 | [] | no_license | merveyildiz/UCT-project | c01a835a96f0d65fa5d0ed8e08847ab99d813768 | 4e03ce3ad70bc30f0d970202eb5a0e7c60b8b14e | refs/heads/master | 2021-01-10T06:29:51.067695 | 2016-01-25T21:22:35 | 2016-01-25T21:22:35 | 50,379,590 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 171,116 | h | ui_mainwindow.h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.5.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... |
aa83512c2b416869fb46d6f9e32ff85fec435b69 | b005e9144443e08aa7c6b78ad87cdef8e18800b8 | /백준/1058_친구.cpp | 8b4fc69baa48ecd6379b225a84b5f4ad0c1b16c6 | [] | no_license | SiwonLim/Problem-Solving-Practice | 915bee835edcef62412835af8c274fbb179b079a | b859c12d48fa49ef26a28d181097b2540adf3956 | refs/heads/master | 2023-08-31T07:52:34.853306 | 2023-08-27T22:21:22 | 2023-08-27T22:21:22 | 194,262,353 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,153 | cpp | 1058_친구.cpp | #include <iostream>
#include <vector>
#include <string>
#include<algorithm>
using namespace std;
int f_2[51][51];
int findMostFamous(vector<string>& str, int N)
{
int answer = 0;
for (int i = 0; i < str.size(); i++) {
for (int j = 0; j < str[i].size(); j++) {
if (i == j) f_2[i][j] = 0;
else if (str[i][j] ==... |
4b87523ad8f4095e40eef8c63b4c438bcb7cabd1 | d8fbad708fe7720e0c82394165eecdff12628486 | /src/service/plugins/sqlite/StatsPlugin.h | 89bf0614489af437134046d3a51291cf830da64d | [] | no_license | KDE/kactivitymanagerd | f12b6932824b6eecdb166ac3b59d1bb42b60f20c | 71ca0be8585bd6846d2acd6b4b85a526e578af2b | refs/heads/master | 2023-09-04T05:48:28.980215 | 2023-09-03T02:58:16 | 2023-09-03T02:58:16 | 50,918,798 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,906 | h | StatsPlugin.h | /*
* SPDX-FileCopyrightText: 2011, 2012, 2013, 2014 Ivan Cukic <ivan.cukic(at)kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PLUGINS_SQLITE_STATS_PLUGIN_H
#define PLUGINS_SQLITE_STATS_PLUGIN_H
// Qt
#include <QObject>
#include <QRegExp>
#include <QSqlQuery>
#include <QTimer>
// STL
#include... |
a50e51765cb79f6d4bb299668f1c2b48bae1bb0a | 30d166e90d51890d35d39c4ad60d0df1f4c95beb | /thread.cpp | 91f9e1ac6f751dd95168e5fe58ae5ec5172e4cf9 | [] | no_license | 1m2r3a/CPULoadMonitor | e43eddc812d67800f12e2716b421855a55d6ec6c | aabbd23b65648a3cba00425518bcab2230f38dd6 | refs/heads/master | 2020-03-21T16:34:26.560033 | 2018-06-26T18:35:56 | 2018-06-26T18:35:56 | 138,778,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp | thread.cpp | #include "Thread.h"
Thread::Thread() : name(""), load(0), idle(0)
{
}
unsigned char Thread::getLoad()
{
return load;
}
void Thread::setLoad(unsigned char value)
{
load = value;
}
unsigned char Thread::getIdle() const
{
return idle;
}
void Thread::setIdle(unsigned char value)
{
idle = value;
}
std... |
3e001988f1d24bc27a2d8033081022065cdffc6d | b815a9a834b6f3489388f385a00efe23ad837477 | /EcranLCD.cpp | 733a2c417e4cbedfd96662de2f07f60da1b24912 | [] | no_license | hcau/oled_Sloeber | db0efbf14d4c9ca4bf08cfee65855c82b089bb07 | e9ab3081859a7f97761cf096bf1468e3e436d79a | refs/heads/master | 2021-01-04T19:20:33.815827 | 2020-02-16T00:55:42 | 2020-02-16T00:55:42 | 240,726,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,773 | cpp | EcranLCD.cpp | // Do not remove the include below
#include "EcranLCD.h"
#include <HardwareSerial.h>
#include <string.h>
#include <WString.h>
/**************************************************************************
This is an example for our Monochrome OLEDs based on SSD1306 drivers
This example is for a 128x32 pixel display ... |
6af3e35fd0fa8a034df1b80a374611714416beb3 | 05efcf0b6b41768ff82bc03495f107361d64c87a | /practica1/2.cpp | 4902a69b81465dc73b779cc2c6aa782ada3f134f | [] | no_license | Olesya11/practica-mera | 390d032a24d6315ee9ce2f83cdc4bc562c6cf9c5 | 948a8741a72cdfc221a91d44630274e75d331944 | refs/heads/master | 2020-07-07T21:42:20.526630 | 2016-11-30T19:03:37 | 2016-11-30T19:03:37 | 74,032,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | 2.cpp | // 1.2.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "stdio.h"
int main()
{
int hr, mn, sec;
printf ("Enter time, example (hr:mn:sec) \n");
scanf_s("%d:%d:%d", &hr, &mn, &sec);
while ( hr > 24 || mn > 60 || sec > 60)
{
printf ("Wrong time! Enter time again:\n ... |
2982fcc12dba05af9000212da35ee853c51ffc27 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Reconstruction/RecExample/RecExTB/root/InDet_macros/sct/sct_monitor.cc | edd80ffcd2c5f14e1b0296eea82c6deb11bd09c7 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,521 | cc | sct_monitor.cc | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// Offline monitor for the Simulation
void sct_monitor(void) {
printf("\n *************************************\n");
printf(" * *\n");
printf(" * SCT Offline Monitor *\n");
printf(" ... |
2f495d62b64215c82bdd9fa351b0045d294a1b0d | 7f34ac3803d5d7291b30c36e64bb67dd7179ac13 | /p51-100/p70.cpp | cedd21ed2e4e416f8005b6e31dc1c7e604bd45f1 | [] | no_license | hikean/PEcode | a8039b6998cef05a1fc77ba55ddda545940104f2 | 6600594cb8380788fa40c1a5b7f601e31456a1a6 | refs/heads/master | 2016-09-05T22:49:24.151111 | 2015-03-09T13:27:56 | 2015-03-09T13:27:56 | 31,539,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | p70.cpp |
#include<iostream>
using namespace std;
const int limit=10000000;
bool bprime[limit]={0};
long long prime[limit/10],nprime=0;
double p=100;
int ans=12;
int cnt=0;
void inline check(int m,int n)
{
if(double(m)/double(n)> p) return;
int a[10]={0},b[10]={0},c=m,d=n;
while(m)
{
a[m%10]++;
... |
99572f51fa660807680a92590bbd909931311c8d | 3219885d00cea2e9d2c9d0871f9c63ad6ab90666 | /1160 post office.cpp | cf10b6a7ccb06756c96e076cdfbbe102d2c2b9fa | [] | no_license | Tiffanylqc/Online-Judge-Solutions | f6daaf9f9a45b4ec4c3ae83e2cbdaa4cde9a4302 | 883da681a7c4355802a01c44d0bf447f6cce33b2 | refs/heads/master | 2021-03-19T07:49:16.241164 | 2018-05-15T04:12:52 | 2018-05-15T04:12:52 | 117,328,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | 1160 post office.cpp | #include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include <vector>
#include <cmath>
#include <map>
#include <stack>
#include <queue>
using namespace std;
#define INF 0x3f3f3f3f
int Village[303];
int cost[303][303];
int dp[303][303];
int main()
{
int NumOfVillage,NumOfOffice;
cin>>NumO... |
384d4544d9bcdd73f91462918369bb04eea0ddd8 | bab538e9cb1613a7b11b8600f3433df49ab13e89 | /tlb_include/sc_tria_slicer_type_lib.h | cdb4a4426e580c923e055f9ecf4334b2c3a905b9 | [] | no_license | H0RIA/KoLaser | ba1af6cd25e56db7c6fe771bdc17c9e1235959f1 | 71f99d25396a1f36b66cb57cbe01564eb41d471c | refs/heads/master | 2018-12-23T00:37:34.076721 | 2018-10-12T10:27:02 | 2018-10-12T10:27:02 | 115,859,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,808 | h | sc_tria_slicer_type_lib.h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0500 */
/* at Mon Jul 10 13:50:38 2017
*/
/* Compiler settings for d:\scaps\dll_source\triaslicer\com\include\sc_tria_slicer_type_lib.idl:
Oicf, W1, Zp1, env=Win32 (32b run)
protocol ... |
3adcbe1c5d1f961e21424b24fd225464c7cfe69e | b36f34b6a24d019d624d1cc74f5b29062eef2ba4 | /frameworks/cocos2d-x/cocos/platform/win32/CCDevice-win32.cpp | 1a2cb3e42cf45024d9507953cf4fbfb938f0cbea | [
"MIT"
] | permissive | zhongfq/cocos-lua | f49c1639f2c9a2a7678f9ed67e58114986ac882f | c2cf0f36ac0f0c91fb3456b555cacd8e8587be46 | refs/heads/main | 2023-08-17T17:13:05.705639 | 2023-08-17T06:06:36 | 2023-08-17T06:06:36 | 192,316,318 | 165 | 63 | MIT | 2023-08-14T23:59:30 | 2019-06-17T09:27:37 | C | UTF-8 | C++ | false | false | 17,768 | cpp | CCDevice-win32.cpp | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a ... |
a7fe098d302df96f44f95d0457309f35ca3dcab1 | 7db77c9e3bbd079e49535c526b4e47fe538c4e73 | /src/Thresh/genLACHists.cxx | f65cadc3637046cf6419b99f8eb5cb6a22041f9e | [
"BSD-3-Clause"
] | permissive | fermi-lat/calibGenCAL | d451a242c793b6ddb10cb1d523205da6a0b0279b | 9b207d7ba56031f5ecd7aab544e68a6dedc7d776 | refs/heads/master | 2022-02-25T16:05:43.694826 | 2019-08-27T17:29:03 | 2019-08-27T17:29:03 | 103,186,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,393 | cxx | genLACHists.cxx | // $Header: /nfs/slac/g/glast/ground/cvs/calibGenCAL/src/Thresh/genLACHists.cxx,v 1.8 2008/06/04 21:15:57 fewtrell Exp $
/** @file
@author Zachary Fewtrell
Generate LAC threshold histograms for each crystal face from zero suppressed data.
Also save pedestal histograms in case of pedestal drift.
*/
// LO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.