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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bd5aece6fd26943b44f25aefd8dd465ab7187e7c | af278a0a4521a1b7373d27cfc81f26c1c41d8b44 | /framework/common/QEScaling.h | 45b1f31ed66d0dbb23601ba43bebddc039d33841 | [] | no_license | TDControlsGroup/CLARA_RGA | 0cb90a130c5d64d75a263ae517b5f43f4ff6d06f | 31c92e97e3037f60f7bd1551979ca1771c3ee437 | refs/heads/master | 2021-01-13T05:20:24.894596 | 2017-03-27T16:42:42 | 2017-03-27T16:42:42 | 81,346,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,800 | h | QEScaling.h | /* QEScaling.h
*
* This file is part of the EPICS QT Framework, initially developed at the Australian Synchrotron.
*
* The EPICS QT Framework 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, e... |
e03bcf915cfae876268d25f2adb68c5d59370910 | 9935f02e0ba72a6f8d66016a93a98e7a1eb4aa47 | /src/TownCenter.h | eadf0f07f1aa64a7bf5cb1b4a10dd9c9932ed161 | [] | no_license | MegaR/ARiseofWar | 373cd3136c29e436af75ddfc41d4cce62e10b0c0 | ed5d49fef9e9f2ef35f738faaea71a1409be82e3 | refs/heads/master | 2021-04-24T17:50:47.852788 | 2014-01-29T12:57:43 | 2014-01-29T12:57:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | TownCenter.h | #pragma once
#include "building.h"
#include "button.h"
#define defaultincome -5,-5,-5,-5
class TownCenter :
public Building
{
public:
TownCenter(int tileX, int tileY, int player, Scene* scene);
~TownCenter(void);
void update();
void createUnit();
void addtoqueue();
void selected();
void deselected();
void s... |
7095738358eb4c8f7a8f5173e16d13a891e77e4d | e48a40b19ebe1ca64d877885f9f19e9a78b192c3 | /Utilities/tkcon/vtkKWTkconInit.cxx | 8e437a608e4d0b99c4f632f475c6c5cce8c1edd7 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | SIVICLab/KWWidgets | dbe2034caf065c30eafed92d73e9df9ff60a6565 | f5a3e16063db773eaf79736ec31314d392fa934d | refs/heads/master | 2021-01-18T20:08:02.372034 | 2017-04-01T20:57:19 | 2017-04-01T20:57:19 | 86,941,196 | 1 | 0 | null | 2017-04-01T20:34:24 | 2017-04-01T20:34:23 | null | UTF-8 | C++ | false | false | 1,987 | cxx | vtkKWTkconInit.cxx | /*=========================================================================
Module: $RCSfile: vtkKWTkconInit.cxx,v $
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
... |
d7d9c01d60f03887e81a5e1d2d08e13a0c01c710 | 02c903559fa3fb525b12572e2c63896d50f7e3d0 | /protobuf_defs.pb.cc | b8aa20d7643248ac79dfaca6f8ebd609692b0280 | [] | no_license | fkdbyEE/matlab-bridge | 50842b9e26bae35024785e232cb39fdbf74e9764 | 8fac80115e832275c9e2ddd5d5765366bd4f28c4 | refs/heads/master | 2020-05-17T04:20:36.356491 | 2015-02-28T01:46:16 | 2015-02-28T01:46:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 165,082 | cc | protobuf_defs.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "algorithms/matlab_bridge/protobuf_defs.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_... |
2b859adfd68efad56962cfe4603b723247825e8d | 65f9576021285bc1f9e52cc21e2d49547ba77376 | /adsp_proc/avs/main/aud/algorithms/audencdec/mp3/Allgo/enc/CMp3EncoderLib/inc/CMp3EncoderLib.h | adc11e9ac6f9f98bea565ffe7a360f6ff479aede | [] | no_license | AVCHD/qcs605_root_qcom | 183d7a16e2f9fddc9df94df9532cbce661fbf6eb | 44af08aa9a60c6ca724c8d7abf04af54d4136ccb | refs/heads/main | 2023-03-18T21:54:11.234776 | 2021-02-26T11:03:59 | 2021-02-26T11:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,965 | h | CMp3EncoderLib.h | #ifndef C_MP3_ENCODER_LIB_H
#define C_MP3_ENCODER_LIB_H
/* ========================================================================
Mp3 encoder library wrapper header file
*//** @file CMp3EncoderLib.h
This is a wrapper code for Mp3 Core encoder library.
Copyright (c) 2013-2014 Qualcomm Technologies, Inc. All... |
5ca2bd5bbb03006e027c54dc368322a922937b68 | a995eadf4e0a4ff1b376b0b4d710a94eaeb10653 | /List.hpp | 0751c297354c0b91efb412aa75e62d3a9d2edfc8 | [] | no_license | raflyalk/ArkavQuarium | 1383556d77de21d45b45d6ee85abac1cc3fdb7c8 | 75036292876400a537ff5cc4cf2fc4ec4df7c5c2 | refs/heads/master | 2021-09-08T21:11:04.549955 | 2018-03-12T08:07:19 | 2018-03-12T08:07:19 | 124,846,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,874 | hpp | List.hpp | #include <iostream>
using namespace std;
//Compiler version g++ 6.3.0
#ifndef _LIST_
#define _LIST_
template <typename T>
class List{
protected:
T value;
int num;
List* next;
public:
List(){
next = NULL;
num = 0 ;
}
List(T val){
next = new List();
value = val;
num = 1;
}
bool isEmpty... |
f2b606ddfddcaf0fac9afc3d816ab52833ea3f1d | 3acf7fd2de0dab516d457f177abb6cda2f85b9fc | /impl/src/impl/model/gameobjects/pongball/PongBall.cpp | a63fb98de4a80f32e16b74337c248aaba3adb269 | [
"Apache-2.0"
] | permissive | oribabky/pong | 929fcf7cd63f422c7cd1ffe22d40432270079935 | 34000cdd3f98d68ff07776f5e01d9cb9e12f40cb | refs/heads/master | 2021-07-10T05:24:01.655931 | 2020-10-02T09:05:41 | 2020-10-02T09:05:41 | 193,318,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,814 | cpp | PongBall.cpp | //
// Created by Tobias Axelsson on 2019-08-06.
//
#include "PongBall.h"
#include "RandomUtil.h"
#include "IntersectionUtil.h"
#include <cmath>
#include <iostream>
PongBall::PongBall(const float &gameWindowArea, const float& xPos, const float& yPos) :
sf::CircleShape{determineBallDiameter(gameWindowArea)},
... |
fb548e219ecd92a50870aedc3e1c03027db84f86 | 95408fb1eaabd01f1fce72d1fe44e5baaafc6577 | /app/src/main/jni/DexFileParser.cpp | c2e02955184b1759a9953ebf010c8f03e8a4106e | [] | no_license | heartbee/codeTamper | f61ff1185a3fb76d2795215852dd6a48c5c9d18a | a8d42d628b6e88fe342e192498ebcd5fbb0272e7 | refs/heads/master | 2021-05-29T16:24:09.171919 | 2015-05-09T04:06:24 | 2015-05-09T04:06:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,467 | cpp | DexFileParser.cpp | #include <jni.h>
#include <android/log.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>
#include "DexFile.h"
#include "DexClass.h"
#define TAG "DexFileParser"
#define ALOG(...) __android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__);
#define CLASS_NAME "Lcom/example/hellojni/Render;... |
2864a2d888e920964c3b342837f4e5505d3930c8 | 18113e5c6af12306c17a0832de74b186439c34bd | /particle_system/main.cc | 536db329934935f45a6534185c17141a8a5fb92f | [
"MIT"
] | permissive | PFedorovMsk/learn_opengl | 0411c4fe90b45b65814cdc7c1a542052d3fbfe29 | 7b57b286b8b53c4800b9ba2903aa2194eb21ad7a | refs/heads/master | 2021-06-11T15:01:13.156000 | 2016-12-26T10:09:56 | 2016-12-26T10:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | cc | main.cc | #include "smoke_scene.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
SmokeScene s;
s.show();
return a.exec();
}
|
df98513c11dc8602aedc1f47e5e04dfb580fd4bb | b1ec31f5854ee53f371332129ab053a845857aa5 | /C++/Solved/053_MaximumSubarray.h | 7055efec1bc80494e969e8b074c055325d6e1398 | [] | no_license | bubbercn/LeetCode | e9c1ec2e6f9260b69f64e63fbd2bf97cf65e3ad7 | 42c19adba8d360059e8159564d7384d662c24e8d | refs/heads/master | 2023-08-31T10:40:06.288845 | 2023-08-26T13:55:55 | 2023-08-26T13:55:55 | 56,971,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | 053_MaximumSubarray.h | #pragma once
#include "Common.h"
class Solution {
public:
int maxSubArray(vector<int>& nums)
{
int sum = *nums.begin();
int max = sum;
if (sum < 0)
{
sum = 0;
}
for (auto i = ++nums.begin(); i < nums.end(); i++)
{
... |
1b4fc7f2e1e3a2019ac2b357dc7e36379d54b0c2 | 13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab | /home--tommy--mypy/mypy/lib/python2.7/site-packages/pystan/stan/src/stan/lang/generator/generate_function_functor.hpp | 390c9f6ebdcc8564721fc3b7912a2b7592ca4ec0 | [
"Unlicense"
] | permissive | tommybutler/mlearnpy2 | 8ec52bcd03208c9771d8d02ede8eaa91a95bda30 | 9e5d377d0242ac5eb1e82a357e6701095a8ca1ff | refs/heads/master | 2022-10-24T23:30:18.705329 | 2022-10-17T15:41:37 | 2022-10-17T15:41:37 | 118,529,175 | 0 | 2 | Unlicense | 2022-10-15T23:32:18 | 2018-01-22T23:27:10 | Python | UTF-8 | C++ | false | false | 2,047 | hpp | generate_function_functor.hpp | #ifndef STAN_LANG_GENERATOR_GENERATE_FUNCTION_FUNCTOR_HPP
#define STAN_LANG_GENERATOR_GENERATE_FUNCTION_FUNCTOR_HPP
#include <stan/lang/ast.hpp>
#include <stan/lang/generator/constants.hpp>
#include <stan/lang/generator/fun_scalar_type.hpp>
#include <stan/lang/generator/generate_function_arguments.hpp>
#include <stan/... |
3be381b70ea50459c60a96d028f781e83546a63f | f323895c7d347fd0f51054d8342a1223c084f614 | /ipic3d/include/Larray.h | 2efeda988c841ccdf95b9df25838484050ad8e5c | [
"Apache-2.0"
] | permissive | EPCCed/MPI_OpenMP_tasks_OmpSs | a7f44663f4c33899337774109c4e7e7179cfef16 | 3c02f940c22e4be5a3a2187e476810ffe87e2fda | refs/heads/master | 2021-05-08T02:07:01.248796 | 2018-11-13T13:54:37 | 2018-11-13T13:54:37 | 107,958,643 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,883 | h | Larray.h | /* This release was prepared by Dana Akhmetova <danaak@kth.se>/<danieka@gmail.com> on behalf of the INTERTWinE European Exascale Project <http://www.intertwine-project.eu> */
/* iPIC3D was originally developed by Stefano Markidis and Giovanni Lapenta.
* This release was contributed by Alec Johnson and Ivy Bo Peng.
*... |
ec8a940b4ff670892f41ad29c6d4048fe05e89e0 | f5a5a3a593dcd7f2c70f977528f764ac1d4a1b35 | /Setup-environment/Cluster_enviroment/Dashboard_Test/can_processing.cpp | 1fbca1a8fc20900d419ef0625febfabbab8cff4b | [] | no_license | PhamNguyen0106/Device-Driver | f51da709afc416ce57f7adb927ec0d5cf083d3f0 | ee946c34b8bcfd986194913cc87cedc31b833510 | refs/heads/master | 2020-12-29T16:13:29.014698 | 2020-05-12T02:58:59 | 2020-05-12T02:58:59 | 238,665,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | cpp | can_processing.cpp | #include "can_define.h"
#include "shared_memory.h"
CanProcess::CanProcess(QObject *parent)
: QObject{parent}
{
}
#define PEDAL_ACCEL 0x109
#define STEERING_WHEEL 0x103
#define CRUISE_CONTROL 0x107
#define LIGHT_SYSTEM 0x200
#define LANE_DETECT 0x106
void CanProcess::process(quint16 pid, quint32 value... |
6ec350844c22b918c086be103cc2cb058690d177 | 4972197e6b613a1c0a031a29727ca89a4188d16b | /src/common/constants.h | eb399f129463fa732a191344895a8770675c77ff | [] | no_license | enterpriseih/cyprestore | 1947eaa639173d2c1f69b104c5d53bfc823d0e09 | d93790494b8794441a979569c8a1fcdf30db5ea9 | refs/heads/master | 2023-08-19T00:47:35.191413 | 2021-06-16T07:38:42 | 2021-06-16T07:38:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | h | constants.h | /*
* Copyright (c) 2020 The Cyprestore Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. See the AUTHORS file for names of contributors.
*/
#ifndef CYPRESTORE_COMMON_CONSTANTS_H_
#define CYPRESTORE_COMMON_CONSTANTS_H_
#include <stri... |
89b973066693d5fab91149f03f58a9c0ff033227 | ca3177af4e0bf896c821c9ac785f84646b710fc9 | /examen1.cpp | d6e3b1c27a393d29efc9736cda18968e22bce8af | [] | no_license | alegalvez/Codigos | 57b2802b31b1baee01a854f376e3d2e233222620 | 383f36f8421ee0794d05d1dc8ec6dbce18dcfc14 | refs/heads/master | 2021-08-26T09:27:08.918996 | 2017-11-23T00:37:07 | 2017-11-23T00:37:07 | 104,091,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | examen1.cpp | #include <iostream>
using namespace std;
{
float n1, n2;
cout << " Enter your first number " << '\n';
cin >> n1;
cout << " Enter your second number " << '\n';
cin >> n2;
if (n1>n2)
{cout << n2 << '\n';}
else
{cout << n1 << '\n';}
return 0;
}
|
2facd48a5fa0c9964cb9f2376ade311e1e7db7e7 | e457d8cdc374db9bf888abcc33cea3c3b86615bb | /algorithm/distinctSubsequence.cpp | cab7546f96bf2636085453c9b799a043b9aafc3d | [] | no_license | shaoguangcheng/structure-algorithm | a0748219fa36ff6da6713f3361c90487924c53cf | 83190813440b4ca70de6b6577e8536fae4d85c68 | refs/heads/master | 2016-09-05T23:12:53.849594 | 2015-04-13T12:43:07 | 2015-04-13T12:43:07 | 27,029,072 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | distinctSubsequence.cpp |
#include <iostream>
#include <string>
using namespace std;
int numDistinct(string& S, string & T)
{
int N = S.size(), M = T.size();
if(0 == N)
return 0;
int **d = new int* [N+1];
for(int i = 0; i < N+1; ++i)
d[i] = new int [M+1];
for(int i = 0; i < N+1; ++i)
for(int j = 0; j < M+1; ++j)
d[i][j] = 0;... |
b9bb1719db6ba8c1b990da11edab690570dfe17d | e0db831d847e00ccb577df3a758151b072405e1b | /Remove-Duplicates-from-Sorted-Array-II/Remove-Duplicates-from-Sorted-Array-II.h | a782932395656a734d940e94483fdcdf0dd4c606 | [] | no_license | dariuskylin/leetcode | dc5c187f6e68bd3b97af68d5dfbec869721b237c | f6b005663de7045294930b49e66789ca75a36d46 | refs/heads/master | 2016-09-06T11:43:57.938963 | 2015-05-30T04:52:01 | 2015-05-30T04:52:01 | 13,622,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | h | Remove-Duplicates-from-Sorted-Array-II.h | /*Copyright 2012 NDSL. All Rights Reserved.
* =====================================================================================
* Filename: Remove-Duplicates-from-Sorted-Array-II.h
* Description:
* Version: 1.0
* Created: 11/20/2013 01:48:12 AM
* Author: dongyuchi (dongyuc... |
6e2b6217d134254e84068ddce02e5a3073e3fb28 | 30f82f6696dafd83b5c50da63817571695361c01 | /rendering/source/Camera.h | d981877d9e477c29aa2e114cd0130f6f3c6c008c | [] | no_license | Joppeloppe/3D-rendering | cd16d30ea48265e21f0c6ff47faca6db42eedd14 | a58473c7d466a9699a10e5394e156f454f4daf9b | refs/heads/master | 2021-01-23T05:10:11.308825 | 2017-05-31T14:56:51 | 2017-05-31T14:56:51 | 92,957,709 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,739 | h | Camera.h | //
// Camera.h
//
// Basic camera class
//
#pragma once
#ifndef CAMERA_H
#define CAMERA_H
#include "vec\vec.h"
#include "vec\mat.h"
using namespace linalg;
class camera_t
{
float vfov, aspect; // aperture attributes
float zNear, zFar; // clip planes
vec3f position;
float roll, pitch, yaw;
public:
//Const... |
b579b6569bf993d459f12147602e6bbc2c379c1b | 9cad4b1cfb16fee8b8d39b73f46cccb2bc27f851 | /src/main.cpp | 21b0da9aaa488043a877efe5a6dff2a89d5ea0d0 | [] | no_license | priyachaudhari/smart-class-iot | 2e37cf209ab02dbe2985ee2b1f3c65faecd852fe | 64a8f7f29692c86ce1d97f93a2e81df091737461 | refs/heads/master | 2020-07-09T18:35:02.419248 | 2019-08-23T18:27:48 | 2019-08-23T18:27:48 | 204,049,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,595 | cpp | main.cpp | #include <Arduino.h>
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEScan.h>
#include <BLEAdvertisedDevice.h>
#include <string>
#include <vector>
#include <set>
#include <iterator>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include <WiFiUdp.h>
#include "pins_arduino.h"
#... |
046cb9498daedcc3875e4f99385a6012b6e4d85f | 4048dc505f87f5dc27fd8a8c920e51cd72e44aa2 | /applications/digedag/src/util/uid.cpp | 76e3fa34930394919f647574d4bf09c515e4d9bf | [] | no_license | saga-project/saga-cpp-legacy-projects | 007af3860994a3f10c7163b4b271cccd7eb10eb8 | 2874ff6714776ee721a46f5b68f317e0d1dbfbf9 | refs/heads/master | 2023-04-05T00:47:38.636238 | 2023-03-31T14:47:42 | 2023-03-31T14:47:42 | 5,780,249 | 0 | 3 | null | 2023-03-31T14:47:43 | 2012-09-12T13:38:02 | TeX | UTF-8 | C++ | false | false | 579 | cpp | uid.cpp |
#include <iostream>
#include "util/uid.hpp"
namespace digedag
{
namespace util
{
// the 'uid generator' - this int is getting increased on each uid instance
// creation, so that a new instance gets a new id.
static unsigned int uid_cnt_ = 1;
uid::uid (void)
: id_ (uid_cnt_++)
{
}
... |
5739e17e638486f6801cfb2042dfffc979be50ac | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/OriginGroupMember.h | 76548294cf7383fc086a42061459c18535c62f6d | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 2,467 | h | OriginGroupMember.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/cloudfront/CloudFront_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} //... |
4c42bf5afbdb9aba7d7f05d934256e0ce9877a23 | 8d39f509abf62a0947f3e9dd11a1bc02665b609e | /comp2012h/csd_only/assignments/PA3-PtrClass/Sol/zwangbm/Matrix.h | 87e40962c9a279c901ebe3a1a730a5add33bf9c7 | [] | no_license | clcheungac/clcheungac.github.io | c77c8a0c5b2261cf37602ce644c143e266184277 | 815885f2af89ef3ac32fad607786c6e8fa47c6e0 | refs/heads/master | 2021-01-10T13:08:37.959427 | 2018-12-30T13:44:20 | 2018-12-30T13:44:20 | 48,602,655 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,662 | h | Matrix.h | /*
* Matrix.h
*
* Created on: 2015Äê10ÔÂ1ÈÕ
* Author: ThinkPad
*/
#ifndef MATRIX_H_
#define MATRIX_H_
class Matrix { //Matrix class
public:
explicit Matrix (int rows = 0, int cols = 0);
//constructor
Matrix (const Matrix & mt); //copy constructor
~Matrix(); //destructor
int rows() ... |
2ec1cc5170120e3bba5fcf3f06bc1a247e50abfa | 8c1dbeb23cb2bcf0fe44b62f703486dcc99f79a4 | /v3/Architect/src/common/thread/ConditionVariableException.h | e764b9f98e2a37cc21b879feff404550a6566b6b | [] | no_license | JefGrailet/treenet | 0e2bf104ea347ec0efd221e3b91f738d69ca90e8 | 10cfdcd7e94d73ab29c129ccffb07c4ba6dbcadd | refs/heads/master | 2020-12-24T06:42:31.569006 | 2019-10-14T10:06:17 | 2019-10-14T10:06:17 | 34,863,160 | 10 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 495 | h | ConditionVariableException.h | /*
* ConditionVariableException.h
*
* Created on: Jul 9, 2008
* Author: root
*/
#ifndef CONDITIONVARIABLEEXCEPTION_H_
#define CONDITIONVARIABLEEXCEPTION_H_
#include <string>
using std::string;
#include "../exception/NTmapException.h"
class ConditionVariableException: public NTmapException {
public:
Cond... |
5fef4b00a92d668318c07782661762f0cbdbd470 | f4cc29ec4b2456349a92a2df010e100d61cbc549 | /gmlib/src/PathManager/CPathManager.h | 743155c9e1ca27aafc13f81a2016e4039493020b | [] | no_license | YosukeNitta/blackright_ | 16bcd6598a3b128b1b9f892922bbf344895fa3c1 | d02f6201c157fc055dcd22272b72be15d23a671f | refs/heads/master | 2023-07-19T10:48:08.908168 | 2021-09-16T10:18:03 | 2021-09-16T10:18:03 | 407,120,122 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,041 | h | CPathManager.h |
#pragma once
#include "IPathManager.h"
#include <vector>
#include <string>
namespace gmlib
{
class CPathManager : public IPathManager
{
std::vector<std::wstring> m_paths;
public:
/**
スタックにパスを登録する.
絶対パスを登録した場合は、カレントパスは絶対パスとなる.
相対パスを登録した場合は、カレントパスは登録前のカレントパスに相対パスを適用したパスとなる.
@param path 登録するパス.
@return エラーコー... |
539485192439c6036670fd95352fcb2502ac2314 | 96917fe56a6aec58a6ba83d320efda16716a014a | /cocos2d-x-2.2.0/projects/lenonle/Classes/MainViewScene.cpp | f119a0bc912f5142ec6ab33a3f884b17ac2099c0 | [
"MIT"
] | permissive | miaomiaoling/aalgnaqjrp317 | db2bd575c27ea46269a983a6aa3e3c387f141421 | ec9f77f41d3adb19b191db8347eb178f76d829a0 | refs/heads/master | 2020-06-05T03:36:09.726500 | 2014-01-08T05:43:56 | 2014-01-08T05:43:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,885 | cpp | MainViewScene.cpp | #include "MainViewScene.h"
#include "CustomerCenterScene.h"
#include "HotelCenterScene.h"
#include "cocos-ext.h"
#include "../extensions/network/HttpClient.h"
#include "../extensions/network/HttpRequest.h"
USING_NS_CC_EXT;
USING_NS_CC;
using namespace CSJson;
using namespace std;
// on "init" you need to initialize... |
e8d3a2f170d2aab1c61059ea1f053712a6c8b1a9 | 02b804e5db4915147a4af828e610f8ed3110e1bb | /src/not_suspicious/NtDll.h | 066ebafae164858b06b2f1e11ae374fe41e30090 | [
"MIT"
] | permissive | cpkt9762/showstopper | 82558315deabcebc950e58c7f5e88c6c645d3517 | 26c1b7e4859ebc024b51db5530cc6f87a5919e6f | refs/heads/master | 2022-11-12T01:57:33.083622 | 2020-07-09T07:04:24 | 2020-07-09T07:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,351 | h | NtDll.h | #ifndef _NTDLL_H_
#define _NTDLL_H_
namespace ntdll
{
//
// Macro
//
#define NtCurrentThread ((HANDLE)-2)
#define STATUS_INFO_LENGTH_MISMATCH 0xC0000004
#define PDI_MODULES 0x01
#define PDI_BACKTRACE 0x02
#define PDI_HEAPS 0x04
#define PDI_HEAP_TAGS... |
00cb9ca93772e3a704e84e3e2ba14a559899fa1f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5634697451274240_0/C++/wwt15/B.cpp | 052ece845058badd76fbf95533d63b9a3ec56d2f | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | B.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double db;
typedef pair<int,int> pii;
#define eprintf(...) fprintf(stderr,__VA_ARGS__)
int n;
char s[105];
int Main(){
scanf("%s",s);
n=strlen(s);
while(n&&s[n-1]=='+') n--;
if(n==0) return 0;
int ans=0;
if(s[0]=='-'){
... |
bc1039f8e43118a708e99ab4e45ec7cfa23c51b0 | dd628b52d512d354ef34f5a1a18c7be3656dc3a6 | /ExtIndexList.h | 9c4c4292ca05e5d49d34309e1abdefc2627bf6b0 | [] | no_license | Marioandres717/CS-115 | c741293bed8b21bc8361fb6130884896c9f76875 | c36c06561966c41045665050b883078468a2b00a | refs/heads/master | 2021-01-19T07:58:02.691724 | 2017-04-07T21:11:50 | 2017-04-07T21:11:50 | 87,587,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | ExtIndexList.h | #pragma once
#include <iostream>
#include <string>
#include "IndexList.h"
using namespace std;
#ifndef EXTINDEXLIST_H
#define EXTINDEXLIST_H
template<class T, int maxsize>
class ExtList : public indexList<T, maxsize> {
public:
ExtList();
bool append(const indexList&, const indexList&);
void selSort();
int Binary(... |
2f4bf767a50cd15757965a373af8f689a2ad09c6 | 1443759dd6c44db7e6fff26f28c91b1eba9c383f | /Spike12_Announcements_Blackboard/Components/Open.h | c00576c05c9fee843ca97a4121a5d02d09406632 | [] | no_license | jessicavilaysak/GamesProgramming_7646895 | 303cb6c4806e75d63f6e1c0e2948a91b5732a432 | dd00f39568d25c6a3df2fe7ada8eb030df9e2ec1 | refs/heads/master | 2021-06-05T11:11:24.012688 | 2016-11-02T11:19:26 | 2016-11-02T11:19:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | Open.h | //
// Created by Jessica Vilaysak on 9/10/2016.
//
#pragma once
#include "Component.h"
#ifndef COMPONENTPATTERN_OPEN_H
#define COMPONENTPATTERN_OPEN_H
class Open : public Component
{
private:
vector<string> _canOpenWith;
bool _open;
public:
Open();
void setCanOpenWith(vector<string> openwith);
vo... |
45b9fa0c47345c9d7549fd38bba4d79f54d00685 | 8e4f92d3589ff22d74c748d6fe3a9b50ce14fe4a | /cpp/src2/incremental.cpp | b7d623006a2a2b4292ece01a8b736eeaf46c04e6 | [] | no_license | mishun/tangles-legacy | dd1b132317bc03abb2f952de51e84cae770fbc91 | e392e235a5aac689a0ab31969e170a5e07d96981 | refs/heads/master | 2021-01-15T21:01:58.566732 | 2013-10-28T12:25:11 | 2013-10-28T12:25:11 | 31,887,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,884 | cpp | incremental.cpp | #include <ctime>
#include <iostream>
#include <Tangles/IncrementalTangleBase.h>
#include <Tangles/IncrementalTangleProjection.h>
#include <Tangles/IncrementalTangleTemplate.h>
#include <Tangles/IncrementalProjectionsGenerator.h>
#include <Tangles/IncrementalReducedGenerator.h>
#include <Tangles/IncrementalTemplatesGene... |
e3446f4987b39f275d88ea7810a9ebba3781e843 | c8a8b1b2739ff50c3565cdc1497e6abf4492b3dd | /src/csapex_core/src/param/parameter_factory.cpp | e6d2e3cdf0de83913ed55fc06ccb18f50d0759d8 | [] | permissive | betwo/csapex | 645eadced88e65d6e78aae4049a2cda5f0d54b4b | dd8e24f14cdeef59bedb8f974ebdc0b0c656ab4c | refs/heads/master | 2022-06-13T06:15:10.306698 | 2022-06-01T08:50:51 | 2022-06-01T09:03:05 | 73,413,991 | 0 | 0 | BSD-3-Clause | 2020-01-02T14:01:01 | 2016-11-10T19:26:29 | C++ | UTF-8 | C++ | false | false | 14,182 | cpp | parameter_factory.cpp | /// HEADER
#include <csapex/param/parameter_factory.h>
/// COMPONENT
#include <csapex/param/color_parameter.h>
#include <csapex/param/path_parameter.h>
#include <csapex/param/interval_parameter.h>
#include <csapex/param/trigger_parameter.h>
#include <csapex/param/bitset_parameter.h>
#include <csapex/param/range_parame... |
699611ea5bb71303073e0489c40c3bf4e695dbf4 | b5c22e5167552adab871c3b74cc4a8f6f955b842 | /vst/Source/plugins/compressor/CompressorAudioProcessor.h | 88e84c1ea8d0a923dac29c9e3e627a0192f148d2 | [] | no_license | vincent23/blankenhain | 8c1b6403ab0817bffc010bb5b0f71fe3d26a1510 | ccc64228148daa325efa9c590da20a46142668af | refs/heads/master | 2023-04-28T23:30:23.730587 | 2016-04-05T21:47:20 | 2016-04-05T21:47:20 | 41,966,748 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | CompressorAudioProcessor.h | #pragma once
#include <juce>
#include "BlankenhainAudioProcessor.h"
#include "FloatParameter.h"
#include "BoolParameter.h"
class CompressorAudioProcessor : public BlankenhainAudioProcessor
{
public:
CompressorAudioProcessor();
void prepareToPlay(double sampleRate, int samplesPerBlock) override;
void release... |
accbddb50f583327f91e7ada34a66b6b4a3b014d | 27d238755d54237a4c682f74e4e97675e28dd2b6 | /classes/Donor.cpp | 3c3b7bc05d62e127d09c712c655f6d1962e421a0 | [] | no_license | lucasdepaula/sbvbproject | 1144e95303ed8c6be426b8b41092d6cddc515ee3 | 6b6f6154e522fcaf002d856fa2e88544099f18f6 | refs/heads/master | 2016-09-08T16:29:58.034829 | 2014-12-02T15:45:33 | 2014-12-02T15:45:33 | 24,475,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp | Donor.cpp | #include "Donor.h"
void Donor::create()
// don't delete the following line as it's needed to preserve source code of this autogenerated element
// section 127-0-1-1--32cefa1:149bf256bc4:-8000:0000000000000A78 begin
{
}
// section 127-0-1-1--32cefa1:149bf256bc4:-8000:0000000000000A78 end
// don't delete the previous... |
057abc32b4a9abb97448b8770efc8b5f7b090fe0 | d02f11c90994842470d4dade05e3bea392b2a829 | /GameDev2D/Source/Framework/Collision/CollisionFilter.h | cacc1198c1ac7edcb632623ff1a175990479b647 | [] | no_license | Algonquin-GameDev/GAM1547-GameDev2D | 004901623f2510535f024ff14d13617feea34b5a | 60e4155aea60cd093c72d3fce208759eea65c607 | refs/heads/master | 2020-12-03T20:19:16.100389 | 2020-03-19T14:12:25 | 2020-03-19T14:12:25 | 231,472,864 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | CollisionFilter.h | #pragma once
namespace GameDev2D
{
struct CollisionFilter
{
CollisionFilter(unsigned short categoryBits, unsigned short maskBits);
CollisionFilter();
//Returns wether another CollisionFilter can collide with it
bool CanCollide(const CollisionFilter& filter);
//The collision filter bits
unsigned short ... |
71bfe6fe25e1a7de6c661ea6ee2e1994ff6a6474 | bef042b1b93e0d77b2cff02cc5fdfa555803cd5c | /Source/FlavoredNeutrinoContainer.cpp | ee050e2d9ffb0677d36a5bfb2891bd8104997bda | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | AMReX-Astro/Emu | 581c1c20af23c25bcb173a37af2924127608351a | d25f5bb69eff0ddd247e3b43445a91519382eb5c | refs/heads/release | 2023-08-08T08:10:02.514384 | 2021-09-17T16:35:58 | 2021-09-17T16:35:58 | 228,717,670 | 11 | 4 | NOASSERTION | 2023-09-14T18:18:43 | 2019-12-17T23:13:37 | C++ | UTF-8 | C++ | false | false | 3,591 | cpp | FlavoredNeutrinoContainer.cpp | #include "FlavoredNeutrinoContainer.H"
#include "Constants.H"
#include <sstream>
#include <string>
using namespace amrex;
void FlavoredNeutrinoContainer::
SyncLocation(int type)
{
BL_PROFILE("FlavoredNeutrinoContainer::SyncLocation");
AMREX_ASSERT(type==Sync::CoordinateToPosition || type==Sync::PositionToCoo... |
2e7faf01358778a1b8ecc63190deb969bcb4d0dc | c488fd8142c35258d682620717c288ccf50c68ea | /Heros/Timmy.cc | 437939117caddd7df41c8bc1a457522f4c462732 | [] | no_license | nathanembaye/journey-to-dragons-hollow | 929cf5c389c70a41db0787475b2aa066368d9d84 | fc18073f427b0411d03ea95a68e481fdf092f02c | refs/heads/master | 2022-07-01T14:29:43.561302 | 2020-05-13T03:28:59 | 2020-05-13T03:28:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cc | Timmy.cc | #include "Timmy.h"//include hear
#include <iostream>
using namespace std;
#include <string>
// hero Timmy that is 1 of 2 heros from Creature class and 1 of 9 quest players from create
//collision does nothing but has his own move function moving rightwards towards emerals
int random(int);//for random num generator
... |
ddbb29f03a3dd22a1ae0748313c79808800f9592 | 05a982529e5a40ecc186cb3f18f752d5dcd8224c | /mainBrackets.cpp | 7038161ec779f4272ea3e6c24fe37cdf69756e81 | [] | no_license | Kuber-code/coding | 37a52e5eec9ad9055d5e5d54f25401bee6380431 | 4bb83a629661bca02260fd14681c4f60c34d2114 | refs/heads/main | 2023-02-11T03:43:03.227806 | 2021-01-16T15:36:49 | 2021-01-16T15:36:49 | 324,036,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | mainBrackets.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <stack>
#include <string>
using namespace std;
int BalancedBrackets(string S){
int result = 0;
stack <char> bracketsStack;
for (const char &bracket: S){
if (bracketsStack.size() > 0){
if((bracketsStack.top() == '(' ) ... |
dcdbda9a3f9ea3f54c6fe9698f1050b584aa2a42 | cacfb48180ab52b4493b4fb244f8a213580bf0fd | /BruteForse.cpp | 6e12aafff3899e6fb04fdc700d40cfb43846bc44 | [] | no_license | denshap/brute-force-attack | 81c25b65030542511aa586b849c707cbc2be6b39 | fffe66feb8ef9d7d3f2858c197a882f76c1daad1 | refs/heads/main | 2023-06-27T03:12:59.126951 | 2021-07-28T16:41:06 | 2021-07-28T16:41:06 | 390,483,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,567 | cpp | BruteForse.cpp | #include <vector>
#include <fstream>
#include <iostream>
#include "BruteForce.h"
#include "openssl/sha.h"
# define MAX_PASS_LENGTH 4
Timer::Timer() {
m_start = std::chrono::high_resolution_clock::now();
}
Timer::~Timer() {
m_end = std::chrono::high_resolution_clock::now();
std::chrono::duration<float> ... |
e232cf6dc82c0de8e9880c73ab01ca2fde72a35a | ffdc77394c5b5532b243cf3c33bd584cbdc65cb7 | /mindspore/lite/tools/converter/parser/onnx/onnx_pad_adjust.cc | 5b77f4b3687ac5b9982557803d83bd0fb81553a1 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"MPL-1.0",
"OpenSSL",
"LGPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause-Open-MPI",
"MIT",
"MPL-2.0-no-copyleft-exception",
"NTP",
"BSD-3-Clause",
"GPL-1.0-or-later",
"0BSD",
"MPL-2.0",
"LicenseRef-scancode-f... | permissive | mindspore-ai/mindspore | ca7d5bb51a3451c2705ff2e583a740589d80393b | 54acb15d435533c815ee1bd9f6dc0b56b4d4cf83 | refs/heads/master | 2023-07-29T09:17:11.051569 | 2023-07-17T13:14:15 | 2023-07-17T13:14:15 | 239,714,835 | 4,178 | 768 | Apache-2.0 | 2023-07-26T22:31:11 | 2020-02-11T08:43:48 | C++ | UTF-8 | C++ | false | false | 5,804 | cc | onnx_pad_adjust.cc | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
6170b6f95fbfcbe03d924f9828d55ef851c89175 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta/65.8/alpha.water | fa709017f5d77786bdae822980b499c20ad8723e | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158,938 | water | alpha.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... |
deef06b6205048d39f30c78acddb26550dd009c2 | ca715cd87f563e69177f762b05960a029ab6a775 | /inven,itemImageRecource/아이템_인벤_만들기/spaceShip.h | a623ef23881da99d13646fca15017291696c9cc2 | [] | no_license | RecetteLemon/Disgaea | 8f17f045b320ec860ea35924c1ad953e3af60e40 | f8e38fe4d1c7066c89bf976f2c0998a1aad59c93 | refs/heads/master | 2021-01-01T06:09:22.775218 | 2017-07-26T05:56:26 | 2017-07-26T05:56:26 | 97,367,173 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 793 | h | spaceShip.h | #pragma once
#include "gameNode.h"
#include "bullets.h"
#include "progressBar.h"
//상호참조하게되었을 떄 무한루프를 빠져나오기 위한 전방선언
class enemyManager;
class spaceShip : public gameNode
{
private:
image* _ship;
missile* _missile;
thaadMissile* _thaad;
enemyManager* _em;
progressBar* _hpBar;
float _maxHP, _currentHP;
int _a... |
9e43dd1e91091633e6f0b789eb821597996da034 | fdec1e0e9e5eb339c7c08eb12001a780203eb374 | /C++/Parser_qq/analyzer.h | 7c26e3c25939ee3b58191b0e19ec3bbe369b78cb | [] | no_license | alonakorzhnev/sqlink | 8b681c55124418abcb441e5d96d8ec4a576c94fd | 110d22350c79b22843cab61fba02c2445b93b4a8 | refs/heads/master | 2020-06-30T14:05:46.841909 | 2019-12-12T13:39:15 | 2019-12-12T13:39:15 | 200,849,808 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | h | analyzer.h | #pragma once
#include <queue>
#include <set>
#include <string>
class Analyzer
{
public:
virtual ~Analyzer() {}
Analyzer();
void analyze(std::queue<std::string>& tokens, size_t lineNum);
virtual void analyzeEnd();
private:
void analyzeToken(const std::string& token, siz... |
93e057e3bc321aeaa9956ac4cdf35ada13bea92d | ade27bf8c49da2ef982036e5a1a64881ca42dbe5 | /ggo2d/src/2d/io/ggo_tga.h | aa8f65b14ea14e1f2664f9c1f543f2592087306c | [] | no_license | gourdi/ggp | 1cafb02719422f64f9eb346691abb3f2cb4de5ce | 4ac58ec2937907617adac24473c9a7314a9e9b16 | refs/heads/master | 2021-06-25T12:23:25.407944 | 2020-12-03T15:47:30 | 2020-12-03T15:47:30 | 47,816,211 | 0 | 0 | null | 2016-01-06T14:38:21 | 2015-12-11T09:06:38 | C++ | UTF-8 | C++ | false | false | 238 | h | ggo_tga.h | #pragma once
#include <2d/ggo_image.h>
namespace ggo
{
image load_tga(const std::string & filename);
bool save_tga(const std::string & filename, const void * buffer, ggo::pixel_type pixel_type, const memory_layout & mem_layout);
}
|
47575bd87731c2df119feefe919d1f02598a3ead | 96df46515663aee49a753171fb3b07d74c8ef72f | /bindgen-tests/tests/headers/eval-variadic-template-parameter.hpp | 0a9e51c1e3d983e811248b3c4bffe59d9be4b611 | [
"BSD-3-Clause"
] | permissive | rust-lang/rust-bindgen | 05273ad4d385ce0b5a2315859f8c7c453c150db6 | 820ca42982fe77d5504f7a0534a3de6db6a1d703 | refs/heads/main | 2023-08-30T19:59:33.017994 | 2023-08-15T18:01:02 | 2023-08-15T18:01:02 | 61,728,459 | 2,874 | 391 | BSD-3-Clause | 2023-09-12T20:32:46 | 2016-06-22T15:05:51 | Rust | UTF-8 | C++ | false | false | 231 | hpp | eval-variadic-template-parameter.hpp | // bindgen-flags: -- -std=c++11
template <typename... T>
struct B {
// Can't generate anything meaningful in Rust for this, but we shouldn't
// trigger an assertion inside Clang.
static const long c = sizeof...(T);
};
|
4186ffef81f7957364bc604a6e37a8d868b0cbf6 | d4240a19b3a97e8c4a39a7925e8046ead6642d19 | /2016/Enceladus/Temp/StagingArea/Data/il2cppOutput/Bulk_Generics_0.cpp | 48669ae0177cad4c02d5aaae72230c3996af485b | [] | no_license | mgoadric/csci370 | 05561a24a8a6c3ace4d9ab673b20c03fc40686e9 | 9ffd5d0e373c8a415cd23799fc29a6f6d83c08af | refs/heads/master | 2023-03-17T18:51:45.095212 | 2023-03-13T19:45:59 | 2023-03-13T19:45:59 | 81,270,581 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 718,135 | cpp | Bulk_Generics_0.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>
// System.Action`1<System.Boolean>
struct Action_1_t3627374100;
// System.Object
struct Il2CppObject;
//... |
629715118abd0f8c4489d29b69bc82dfc8768f97 | 413e22f3ac4d806ce95178fc5688b00874ce0207 | /LIS.cpp | 823dcdf38e070a93e24b9e51dd40857ae282ce22 | [] | no_license | Navidda/algorithms | 1a0f966c038c471f890957890588869c48204170 | 27e0b48fe5d20a355079a36969ce36b25cf2470a | refs/heads/master | 2021-01-17T07:59:41.099874 | 2015-12-16T09:32:17 | 2015-12-16T09:32:17 | 48,100,655 | 1 | 0 | null | 2015-12-16T09:30:18 | 2015-12-16T09:30:18 | null | UTF-8 | C++ | false | false | 804 | cpp | LIS.cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define ll long long
#define pii pair<int, int>
#define CLR(x, a) memset(x, a, sizeof x)
#define ALL(x) (x).begin(),(x).end()
#define SZ(x) ((int)x.size())
#define VAL(x) #x << " = " << x << " "
#define X first
#define Y second
... |
a3ecf491be10180c687fb7d78433f62f4bbc472a | 6ffd23679939f59f0a09c9507a126ba056b239d7 | /dnn/src/fallback/pooling/gi/kern_fp32_pooling_nchw44.h | 472aebe9b43a93e2fdf1262337f1d4ef0649b8e1 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | MegEngine/MegEngine | 74c1c9b6022c858962caf7f27e6f65220739999f | 66b79160d35b2710c00befede0c3fd729109e474 | refs/heads/master | 2023-08-23T20:01:32.476848 | 2023-08-01T07:12:01 | 2023-08-11T06:04:12 | 248,175,118 | 5,697 | 585 | Apache-2.0 | 2023-07-19T05:11:07 | 2020-03-18T08:21:58 | C++ | UTF-8 | C++ | false | false | 14,429 | h | kern_fp32_pooling_nchw44.h | #pragma once
#include <limits>
#include "megdnn/opr_param_defs.h"
#include "src/common/unroll_macro.h"
#include "src/fallback/general_intrinsic/gi_float.h"
#include "src/fallback/gi_intrinsic_helper.h"
namespace megdnn {
namespace fallback {
namespace {
template <
int filter, int stride, int ow_step, PoolingB... |
5334b32d60a97a0b568e7103e8dc9b95304f1f8e | e7b5ca38f4d5b0e1ea8f8c5c7b7a280f99175ac8 | /a01_Ficha1/p02_ExpressoesAritmeticas/2.11b.cpp | fdf9a089d74931ae6be8a5a2ac1a00722c6288e6 | [
"MIT"
] | permissive | FEUP-MIEIC/PROG | 18e62cb73bc7de4deeb03779f51eaf6dedce7be2 | 06976fde1ae93867b3189f0259ddab1228e846d5 | refs/heads/master | 2021-01-11T14:28:01.062647 | 2017-03-22T09:33:41 | 2017-03-22T09:33:41 | 81,431,682 | 2 | 2 | null | 2017-02-16T20:51:26 | 2017-02-09T09:13:52 | C++ | UTF-8 | C++ | false | false | 295 | cpp | 2.11b.cpp | #include <iostream>
#define N_TERMOS 8
using namespace std;
int main()
{
int i, fatorial = 1;
double neper = 1;
cout << "hey\n";
for(i = 1; i <= N_TERMOS; i++)
{
fatorial *= i;
neper += 1.0/fatorial;
}
cout << "Número Neper : " << neper << endl;
} |
b3a54db1a76e7cd8731066072e4681b07ee99107 | bc93833a9a2606dd051738dd06d6d17c18cbdcae | /3rdparty/metaioar_clv2/metaioSDK/include/metaioSDK/STLCompatibility.h | f2fc397d4d8b75ec249dea525cf48496c0678217 | [
"MIT"
] | permissive | Wizapply/OvrvisionPro | f0552626f22d6fe96824034310a4f08ab874b62e | 41680a1f9cfd617a9d33f1df9d9a91e8ffd4dc4b | refs/heads/master | 2021-11-11T02:37:23.840617 | 2021-05-06T03:00:48 | 2021-05-06T03:00:48 | 43,277,465 | 30 | 32 | NOASSERTION | 2019-12-25T14:07:27 | 2015-09-28T03:17:23 | C | UTF-8 | C++ | false | false | 8,163 | h | STLCompatibility.h | // Copyright 2007-2013 metaio GmbH. All rights reserved.
#ifndef __AS_STLCOMPATIBILITY_H_INCLUDED__
#define __AS_STLCOMPATIBILITY_H_INCLUDED__
#include <metaioSDK/Dll.h>
#include <metaioSDK/BackwardCompatibility.h>
#include <cassert>
#include <climits>
#include <sstream>
#include <string.h>
#include <vector>
namesp... |
855701118fc34bd3196e563dc78e89fd54df5511 | ac24190ab29a4b99bd5fd2797b72b847b9c914de | /BLAZARK/Code Files/StaticRenderer.h | 7df1849ed371b9966df111b2f3d4edb0249b7202 | [] | no_license | Baby-Phoenix/BLAZARK | 00516d8f2efafe04d00736b31b8c62b52e182242 | 1d0d02c69046464710f8f8413c771d6298b60504 | refs/heads/main | 2023-04-08T22:12:13.395574 | 2021-04-09T19:27:53 | 2021-04-09T19:27:53 | 323,492,404 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | StaticRenderer.h | #pragma once
#include "ECS.h"
#include "Vertex.h"
#include "Shader.h"
#include "Texture.h"
#include "Camera.h"
#include "GLTFLoader.h"
#include "FrameBuffer.h"
class StaticRenderer {
public:
StaticRenderer() = default;
StaticRenderer(entt::entity camera, entt::entity entity, const Mesh& mesh,Texture* t... |
f2c3be430bc81fe21f0bff0a8eb140b9549ff1ff | b53b378cddbb9ae7f6147eb730d31bdfd7f836f4 | /geometryLib/puzzle/twist.h | b80840b08768316069f807be05a15e8c9d01dbd1 | [
"MIT"
] | permissive | roice3/Magic120Cell | 64b50ec1a8e43a7f9d1f8be1562d46c30e50427b | 3be08a69ec3a57017302364fc3853cb715b71c62 | refs/heads/master | 2023-08-22T15:13:42.818312 | 2023-08-04T20:14:42 | 2023-08-04T20:14:42 | 37,169,339 | 2 | 2 | MIT | 2023-08-04T20:14:43 | 2015-06-10T01:51:45 | C++ | UTF-8 | C++ | false | false | 3,824 | h | twist.h | #pragma once
#include "../matrix4d.h"
#include "../vectorND.h"
#include <assert.h>
#include <string>
#include <vector>
// Slicemask defines.
#define SLICEMASK_1 0x0001
#define SLICEMASK_2 0x0002
#define SLICEMASK_3 0x0004
#define SLICEMASK_4 0x0008
#define SLICEMASK_5 0x0010
#define SLICEMASK_6 0x0020
#define SLICEMA... |
a3e141d3f0c1c18e78a4680682882ea4f5c37086 | b3a205489a61ebd31c0b375ee6f5d743c6cf1ec5 | /LTorrent/MetaDataDownloadWaiter.h | eb5a9271f3693b44ae15f76b1bef47472b31f129 | [] | no_license | swklzr/CuteTorrent | ba2ee9e0a3d46b571b61f90d6624b80c28bc0d4e | 5462b275e9e49efe7c44fcc6d3368448b58d38c5 | refs/heads/master | 2021-05-27T22:53:16.449158 | 2013-09-04T13:54:37 | 2013-09-04T13:54:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | MetaDataDownloadWaiter.h | #include <QThread>
#include "TorrentManager.h"
class MetaDataDownloadWaiter : public QThread
{
Q_OBJECT
signals:
void DownloadCompleted(openmagnet_info ti);
public:
MetaDataDownloadWaiter(QString metaLink,QObject* parrent=NULL, bool autoAdd=false);
~MetaDataDownloadWaiter();
private:
bool _autoAdd;
QString MetaLi... |
a6c2928face1a5f2681e2c163adf3bba93d9ca4a | 0b14b706ac99c3bde2a1373bf8c100285d44bfb3 | /include/fw-coll-env/BarrierGammaStraight.h | 8fadb357b0d9489d6dd6aad2c9b0d675d5c9af7e | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | esquires/fw-coll-env | e2c3e6a8f9d59c521c66a2882c2390f46ca1f66f | abc38624adf65e87bee2090a915530035c01165a | refs/heads/master | 2023-04-19T16:10:58.324775 | 2021-05-14T17:26:47 | 2021-05-14T17:27:28 | 367,435,135 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 660 | h | BarrierGammaStraight.h | #ifndef INCLUDE_FW_COLL_ENV_BARRIERGAMMASTRAIGHT_H_
#define INCLUDE_FW_COLL_ENV_BARRIERGAMMASTRAIGHT_H_
#include <fw-coll-env/FwAvailActions.h>
#include <fw-coll-env/BarrierGammaTurn.h>
#include <string>
#include <vector>
#include <tuple>
namespace fw_coll_env {
class BarrierGammaStraight : public BarrierGammaTurn ... |
f4cdb89bb1f3b3d718675ddb3d91ac5f9e8b3ce3 | bf26bc5e520fb90960fba329cbe492b22889007e | /multineat/sensors/pieslicesensor.cpp | 30e58e7f0bd2f30b614e36270d7b92572fe19289 | [
"BSD-3-Clause"
] | permissive | CKqq/stneatexperiment | 7bf7dc226c440657a3252180a32c52be525e81e9 | ca754fb679658072f4dacc4354a319db3faf660b | refs/heads/master | 2022-05-16T00:32:16.353145 | 2019-03-28T00:05:13 | 2019-03-28T00:05:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | pieslicesensor.cpp | #include "pieslicesensor.hpp"
#include <math.h>
#include "../parameters.hpp"
PieSliceSensor::PieSliceSensor(double angle1, double angle2) : Sensor(0, 0),
angle1(angle1 < 0 ? angle1 + 2 * M_PI : angle1),
angle2(angle2 < 0 ? angle2 + 2 * M_PI : angle2)
{
offset = rotate_point(Vector(ExperimentParameters::RADIUS_PIES... |
a7329c32baf0e25cc30353caebfb37096d001ec4 | 817cc371e2eb56f37c400b7f96d658d0683476b1 | /202003_practice/1324/c.cpp | 5a6f20192dd39fd621112d11593fa5ec7b388dbc | [] | no_license | KanadeSiina/PracticeCode | c696495bd71395648ac62a41d0a41869f50c5eb4 | 146c8d5889eee7917a355feb8b03d1415a29ae9d | refs/heads/master | 2020-09-05T00:49:29.165600 | 2020-06-30T12:48:15 | 2020-06-30T12:48:15 | 219,937,221 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | cpp | c.cpp | #include<bits/stdc++.h>
using namespace std;
#ifndef ONLINE_JUDGE
#define dbg(x...) do { cout << "\033[32;1m " << #x << " -> "; err(x); } while (0)
void err() { cout << "\033[39;0m" << endl; }
template<template<typename...> class T, typename t, typename... A>
void err(T<t> a, A... x) { for (auto v: a) cout << v <... |
27f8cfaa5dfd378560f9393a0155637317f4e7b5 | 21270ff03130a1dc1d5483f2a7a0d0aa5a393371 | /Buf.h | d320f817a58bebe6371cb05626a8036d343131e6 | [] | no_license | danila0606/Matrix | 148a37320a0550f532f40fdce43ee357995ec480 | c4ae0924d262497d0695a1a4889030fcf51db1b0 | refs/heads/master | 2023-02-15T14:31:09.529296 | 2021-01-14T11:00:39 | 2021-01-14T11:00:39 | 313,724,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,124 | h | Buf.h | #pragma once
#include <iostream>
void* operator new[] (size_t size);
void operator delete[] (void* p) noexcept;
namespace linal {
template<typename T>
class Buf {
protected:
Buf(size_t size) :
data_((size == 0) ? nullptr : static_cast< T* >(::operator new[](sizeof(T) * size... |
6710d5778df4699e86c89a1ad88811b7befd1f80 | 66fe278f0846f46736830ddb384beb096335eba4 | /src/include/globals.hpp | e8f6ac95ac37ba7056bb22d7deb9276b6f5fbdfa | [] | no_license | Theboys619/ImpalaRedo | 238d018fa1afb2c39c91574141e375008d3d7e8b | 36ee5f7200736ee7efcc33a5694797d3a20a0e62 | refs/heads/master | 2023-04-01T15:27:20.207189 | 2021-04-10T01:03:13 | 2021-04-10T01:03:13 | 322,733,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | hpp | globals.hpp | using namespace Impala;
Value* fileReadImp(Value* self, std::vector<Value*> args, std::string file) {
std::string fileName = args[0]->ToString();
fs::path fullfile = fs::path(file).remove_filename() / fs::absolute(fs::path(fileName)).filename();
return new Value(readFile(fullfile.string()));
}
Value* write(V... |
ff24c6d38cbdd5d9df80ba781c866c60a70032b2 | 7ff5674fa49051ba0d8e452f22a54abea1d733e0 | /Oop Programz/Oop programs/Clock/Clock/Time.cpp | 680da8596336ccb645b3adf755df3d59928c046a | [] | no_license | Tayyibah/OOP | abb7cca8718def051f58a9aa418f95e01412fd1a | c5c499cd43a6bc6807f4f53dd90dbadc7d36c2d0 | refs/heads/master | 2021-01-22T08:53:12.332018 | 2018-02-13T03:29:57 | 2018-02-13T03:29:57 | 92,641,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | cpp | Time.cpp | #include<iostream>
using namespace std;
#include"CString.h"
#include"Date.h"
#include"Time.h"
Time::Time()
{
hour=0;
minute=0;
second=0;
}
Time::~Time()
{
hour=0;
minute=0;
second=0;
}
Time::Time(int hr,int min,int sec )
{
setHour (hr);
setMinute ( min );
setSecond ( sec );
}
void Time::setHour ( int h )
{
... |
9be7611147ed5298e3b6308ef3f8287187d019a7 | 629f7423b91988b6c735a417b72f6fd886198d16 | /JOI2005-2006/1.cpp | 43b445f440070d135ace4c205da4f26980730f2a | [
"MIT"
] | permissive | yu1k/competitive-programming | 6af576f51255ee6edc77f0e6d5b24bac0f65596f | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | refs/heads/master | 2021-12-11T15:14:19.201721 | 2021-12-01T14:49:29 | 2021-12-01T14:49:29 | 192,532,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | 1.cpp | #include <iostream>
using namespace std;
int main(){
int n;
int a;
int b;
int a_result = 0;
int b_result = 0;
cin >> n;
for(int i = 0; i < n; i++){
cin >> a >> b;
if(a > b){
a_result = a_result + a + b;
}
else if(a < b){
b_result = b_... |
03a55fef023b99dcf484f1a7f65b90648322de0d | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/activec/samples/pdc/step4/about.cpp | 58dc6522c266d919231bfef29addb044dd74d77c | [] | 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 | 2,158 | cpp | about.cpp | // This is a part of the Microsoft Management Console.
// Copyright (C) Microsoft Corporation, 1995 - 1999
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Management Console and related
// electronic documentation provided with the interfaces.
#include <stdaf... |
a8c65dac3e6743d1b8859207e054deff2290549d | 8a46c8b1ed8b14789e66fe862b2210da2478f7a5 | /200311boj/1006.cpp | cecb87467f8387dbe81ead3183995c398501a429 | [] | no_license | peter9378/algorithm_study | 627b4c817f9a0c70b94920708548844c6dbcff92 | ff4eedf8a693d00d62414fb41dc8c4d2cd7e42af | refs/heads/master | 2021-12-23T13:03:20.295990 | 2021-10-13T14:44:55 | 2021-10-13T14:44:55 | 125,086,792 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 2,044 | cpp | 1006.cpp | /**
* BOJ
* No.1006 습격자 초라기
* @author peter9378
* @date 2020.03.11
*/
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <set>
#include <cmath>
#include <map>
#include <queue>
#include <stack>
#include <unordered_set>
#include <cstring>
#include <iterator>
#include <numeric>
using na... |
4b529be38164ba25f9852449118c65dd8d7a9e6a | 1acc5667ae930ae4a3d4e61fdc0300fc6588809a | /18 DP and Bitmasking/Recusrsive n job nn person.cpp | ed667ed94789e72a994e20e95311fd9b76d7c127 | [] | no_license | sheikh-haji/CODING-NINJAS | 0a878519e275f3fbd6766d6e286f61ea90e01a90 | 3f25038fa28eff936f4a0199acc324b31c7af85a | refs/heads/master | 2022-12-30T00:40:09.156778 | 2020-10-18T05:49:26 | 2020-10-18T05:49:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | Recusrsive n job nn person.cpp | //DP with Bitmasking
//min cost n jobs n persons
#include<bits/stdc++.h>
using namespace std;
int mincost(int cost[4][4],int n,int person ,int mask,vector<int> &dp){
if(person>=n)return 0;
if(dp[mask]!=-1)return dp[mask];
int ans=INT_MAX;
for(int i=0;i<n;i++){
if(!((1<<i)&mask)){
an... |
8f3c6e3fe24977a34f11709197afafd66b551173 | 0c9c35d5733c25b0a88e34e3a99f6a770f3048b9 | /src/common/numeric/long/multiplication.h | b06c7cbb7f7f78f8494687667133b90198a0eca9 | [
"BSD-3-Clause"
] | permissive | evilmucedin/icfpc2020 | db44d7ca9d9cb8e2a312b55d8a9c655abb2ff3a8 | f8d26125116af6f5e6310010214a57815ecddb04 | refs/heads/master | 2022-11-19T22:48:37.682436 | 2020-07-24T05:37:43 | 2020-07-24T05:37:43 | 281,195,051 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,380 | h | multiplication.h | #pragma once
#include "common/modular.h"
#include "common/modular/static/fft.h"
#include "common/modular/utils/merge_remainders.h"
#include "common/numeric/long/unsigned.h"
#include <algorithm>
#include <vector>
namespace numeric {
namespace nlong {
Unsigned MultBase(const Unsigned& a, const Unsigned& b) {
Unsigne... |
df6aca168dfbe76d1c0cb55e942de06cbf32fe0a | 31b68b1851c12b48e1e83a16a572b57af8197153 | /Graph_Theory1/largest_piece.cpp | 59d8518156e2ffa1d8f61fbb184dc859f5ffa2b5 | [] | no_license | Rohan7546/Coding_Ninjas_Competitive_Programming | 40e77fba03e6cbb20e8d0679cb00a033bb839aaf | 2506a9b8c32629b7610c66a32446e255a42e9e20 | refs/heads/main | 2023-06-27T02:36:59.564187 | 2021-07-21T08:45:25 | 2021-07-21T08:45:25 | 383,400,568 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | cpp | largest_piece.cpp | /*
Largest Piece
Send Feedback
Its Gary's birthday today and he has ordered his favourite square cake consisting of '0's and '1's . But Gary wants the biggest piece of '1's and no '0's . A piece of cake is defined as a part which consist of only '1's, and all '1's share an edge with eachother on the cake. Given the ... |
5fd5397a7e43227d0bc834e6d9aff605a27d3d72 | 71c17ebecd0e570c371c8f637119b6df48bc2eac | /Prototypes/src/Prototype02.h | 05f4e1d5ff14a93cbf44f7390577afb9b4a224d9 | [] | no_license | jtpils/Skylines01 | deb558ea6a98480dd5439c5e22653710b817a2d0 | 7a89803a0d30d03be8505edc61453717c99bc083 | refs/heads/master | 2020-05-14T18:29:39.237905 | 2014-08-08T21:20:23 | 2014-08-08T21:20:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,706 | h | Prototype02.h | //
// Prototype02.h
//
// Created by Patricio Gonzalez Vivo on 9/12/13.
//
//
#pragma once
#include "UIProject.h"
#include "UIMapBackground.h"
#include "UIvPlotter.h"
struct Star {
ofPoint pos;
ofPolyline trail;
};
class Prototype02 : public UI3DProject {
public:
string getSystemName(){return "P... |
8ccaded3eb83c88498a0442fadbe4f8cb158426c | 21593969b6a1fb3e765f43d258326fc90b659d41 | /Source/ServiceLogic/SL/CDR_Writer/TrData/TrData.cpp | c70108efad53ca342a5e5923376c6bf41f7ed151 | [] | no_license | abdullahdhiab/DRA | bb78d72a8fb68407919875873b457b5207b82432 | f62470e3f33db3f50b5cc3bef45f829af12178f5 | refs/heads/master | 2023-03-19T07:17:31.789443 | 2020-07-30T17:05:50 | 2020-07-30T17:05:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | TrData.cpp | #include <TCM/ServiceLogic/SL/CDR_Writer/TrData/TrData.h>
Tm_TrData::Tm_TrData()
{
Clear();
}
void Tm_TrData::Clear()
{
m_sSessionID.clear();
m_nAppID = -1;
m_nResultCode = -1;
m_nCommandCode = -1;
m_nFinalStatus = -1;
m_sDstHost.clear();
m_nRequestType = -1;
m_sUserName.clear();
m_s... |
485e2bf2a0f3d1e0f9f5cb29e133fc445e5cf6eb | 502b116267112877ab02f3cc7e54ee5e5d09b551 | /Triangle.cpp | 03a2e52c059dc54b3f54668712929697b8b8c10b | [] | no_license | Jessicahust/Leetcode | 9ee5632f7d265a08f8579f89444e6eb7822d18cc | 95c924af7d020339c4fc236cd919ca8cd53ec9a7 | refs/heads/master | 2021-01-01T06:26:18.301176 | 2015-01-09T05:26:21 | 2015-01-09T05:26:21 | 28,226,244 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | Triangle.cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
vector<int> getRow(int rowIndex) {
if(rowIndex==0)
return {1};
vector<int> vec1(rowIndex);
vector<int> vec2(rowIndex+1);
vec1=getRow(rowIndex-1);
vec2[0]=1;
for... |
11bf9df356346bfa2db7ef5abbc4e0feeff6c85c | 4749b64b52965942f785b4e592392d3ab4fa3cda | /mojo/public/cpp/system/message_pipe.h | 76ba300ae0c85ca757318912bfdbb962c8f6efb9 | [
"BSD-3-Clause"
] | permissive | crosswalk-project/chromium-crosswalk-efl | 763f6062679727802adeef009f2fe72905ad5622 | ff1451d8c66df23cdce579e4c6f0065c6cae2729 | refs/heads/efl/crosswalk-10/39.0.2171.19 | 2023-03-23T12:34:43.905665 | 2014-12-23T13:44:34 | 2014-12-23T13:44:34 | 27,142,234 | 2 | 8 | null | 2014-12-23T06:02:24 | 2014-11-25T19:27:37 | C++ | UTF-8 | C++ | false | false | 3,669 | h | message_pipe.h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MOJO_PUBLIC_CPP_SYSTEM_MESSAGE_PIPE_H_
#define MOJO_PUBLIC_CPP_SYSTEM_MESSAGE_PIPE_H_
#include <assert.h>
#include "mojo/public/c/system/message... |
646551b0d57777e533595f14a33f834e1e072e4c | 4fd54769d7d924257633ed59b7f9668d1502ebc7 | /src/TApplication.h | ee3915267ccf5bd89a1da4692dc175a85bc06aba | [
"MIT"
] | permissive | paule32/memtest | 410ded25314ee53bb710c5b2c5a605c32ab2b66b | 6d7a697f04a7913a1b333f87af598ce68b232713 | refs/heads/master | 2021-01-19T07:30:36.110667 | 2017-04-07T13:52:24 | 2017-04-07T13:52:24 | 87,548,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | TApplication.h | #ifndef TAPPLICATION_H_
#define TAPPLICATION_H_
#include <TObject.h>
#include <TDesktop.h>
#include <TString.h>
class TApplication: public TObject
{
friend std::ostream& operator << (std::ostream &out, TApplication &obj);
friend std::istream& operator >> (std::istream &out, TApplication &obj);
public:
... |
cc51ea820a8277284152a9e0b0019a354901e976 | f64792d79167313fcb4a04c6c448d1e6efe1057b | /duoren2/Source/duoren1/duoren1GameMode.h | 9e9d590aeeca2d67082f26ce1723f72605b99f02 | [] | no_license | Des504Mixt/Des504Mixt | f8d3adda3dd0e87be38050465aed153d5c9e3e7b | 7a3071e364b05fe5a77e9b1d0651e74409f677bd | refs/heads/main | 2023-08-11T00:47:55.222491 | 2021-09-19T15:45:29 | 2021-09-19T15:45:29 | 376,068,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | duoren1GameMode.h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "duoren1GameMode.generated.h"
UCLASS(minimalapi)
class Aduoren1GameMode : public AGameModeBase
{
GENERATED_BODY()
public:
Aduoren1GameMode();
};
|
d75af140b7656502972f4fbf1b61146147c69332 | 2cefc2862d946a90773ce159bae2704e89a4ee09 | /Validation/MuonGEMHits/interface/GEMSimTrackMatch.h | 80dd7060c03392ada5e54d4a76e9dceec07e38f2 | [] | no_license | cha63506/GEMCSCSegmentCode | c776e6ccfd521a427aaecd46eb90d41f8482f660 | 439dc06572286f4f0808d5084773282aed9080bf | refs/heads/master | 2018-03-23T03:40:23.015444 | 2014-02-25T15:48:41 | 2014-02-25T15:48:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,755 | h | GEMSimTrackMatch.h | #ifndef GEMSimTrackMatch_H
#define GEMSimTrackMatch_H
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCo... |
10caffab2c11a9df6d75b7b4e938445a37b41660 | 6197740e6297da2f3d0c8ffd2a1d7ef5d8b3d2cb | /DotNet/ProVisualC++CLI/Chapter07/DequeEx.cpp | 22ad2fd067ffef5aff272b35b39f8af2e380cd9a | [] | no_license | ssh352/cppcode | 1159d4137b68ada253678718b3d416639d3849ba | 5b7c28963286295dfc9af087bed51ac35cd79ce6 | refs/heads/master | 2020-11-24T18:07:17.587795 | 2016-07-15T13:13:05 | 2016-07-15T13:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,153 | cpp | DequeEx.cpp | #include <cliext/deque>
#include <cliext/adapter>
using namespace System;
using namespace cliext;
using namespace System::Collections::Generic;
ref class Pet
{
public:
String^ Name;
// default public constructor.
Pet() : Name(String::Empty) { }
// Okay not needed but makes example eas... |
fbe6273632004421cfc0ac03ed67e131d2ebb695 | 1662cd859416acb91ccd4ee42b7ab89641256d28 | /src/ui/HSVRangeControlPanel/hsvrangecontrolpanel.h | b5de125705671220d67efef203f52e07aa35d230 | [] | no_license | somabuggy2020/ONGAProject | cc34bf9928046e5d2f6affc7f3b9104dc581e758 | 89be4e826ffd369fd1f3892e5e7fefc40ac54f85 | refs/heads/master | 2023-01-04T06:06:06.272653 | 2020-11-04T12:14:50 | 2020-11-04T12:14:50 | 300,178,684 | 0 | 1 | null | 2020-10-01T07:08:51 | 2020-10-01T06:57:01 | null | UTF-8 | C++ | false | false | 970 | h | hsvrangecontrolpanel.h | #ifndef HSVRANGECONTROLPANEL_H
#define HSVRANGECONTROLPANEL_H
#include <QWidget>
#include <QString>
#include <QDebug>
namespace Range
{
const int Min = 0;
const int Max = 255;
}
struct Range_t
{
int min, max;
Range_t():min(Range::Min),max(Range::Max) {}
};
struct HSVRange_t
{
Range_t H, S, V;
};
namespace U... |
5fa1ee30f6fee478384c96de87d04707f4e5634f | a44477d357f3c395100666b96cd325d9575cfc66 | /c10/10.33.cpp | e19f717b7170458fde17a36b9aa676fecc0579dc | [] | no_license | syllcs/primer | 13b9900107fac430def722d12ffe5a9e5e77e3bf | b99e47b5a6388aa292fb839fa585eb0dd35594ba | refs/heads/master | 2020-03-15T07:00:19.451257 | 2019-04-19T19:49:43 | 2019-04-19T19:49:43 | 132,020,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | 10.33.cpp | #include <iostream>
#include <fstream>
#include <iterator>
#include <string>
#include <algorithm>
using namespace std;
void even_odd_into_files(string sin, string sout1, string sout2) {
ifstream ifs(sin);
ofstream ofs1(sout1);
ofstream ofs2(sout2);
istream_iterator<int> iter_in(ifs), eof_in;
ostream_iterator<int>... |
fea3eb38102e91bc6e173e5d88faf4cc5b5cd92b | 1b9b9dc1efb36b7fa846953b8ee835cb517a3a5b | /solved problems/One Way Roads.cpp | 984364faa9c539bb0d346790f9c16fa40a833456 | [] | no_license | sohelarman1100/Graph-Theory | 25f70e132f8b9eeed4390f24118fd914e7b4b572 | 8bed2091dacd4039359e504afe0e4bc8afdb168e | refs/heads/master | 2023-03-12T04:33:43.173927 | 2021-03-02T10:10:33 | 2021-03-02T10:10:33 | 343,703,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,929 | cpp | One Way Roads.cpp | #include<bits/stdc++.h>
using namespace std;
int sz,m,mx=0,p;
vector<int>graph[105];
int vis[105];
vector<int>dis[105];
int cst[101][3];
int node[101][3];
int cnt1=0,cnt2=1,cnt3=1,cost=0;
void DFS(int start)
{
if(vis[start])
return;
vis[start]=1;
for(int i=0; i<graph[start].size();... |
0440c0807ef2c523d196c5574fa5841941f12e8e | 07983ad8feee84b052a66702354293c9c423c57d | /CWP47.cpp | f52682fc040bafcce3a514ed95f90a834f21a78a | [] | no_license | 0ashu0/CProgramming | b9ce616eb73e6b23128de52ab09ea778c8ca7b3e | a64fe47f02deeda4e30495f57991c50b91c2ca9e | refs/heads/master | 2021-01-10T19:28:39.658995 | 2015-06-19T14:12:47 | 2015-06-19T14:12:47 | 37,415,505 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | CWP47.cpp | #include <iostream>
using namespace std;
int main() {
int n=10;
int a = 0;
int b = 1;
int ans = 0;
int total = 0;
for(int i=1;i<=10;i++)
{
ans = a + b;
total = total + ans;
a = b;
b = ans;
}
cout<<ans<<"\n";
cout<<total;
}
|
8570706d3c5ad64eaeb45b52a0cdfd8d9d80b37c | 313e37460514c75e24d775c3876c715a4c8e3168 | /src/virt/AudioSystem.cpp | e2ae01c050bb460b50cca51dfd75d62765d01d67 | [] | no_license | devin-dominguez/SND-Virt | 3a4df5a61bbc1788d5845b4a080eef7acf3a0bb2 | 4ebc012081257bf8a7e0f1ec92bda4ce34f0ce63 | refs/heads/master | 2020-12-25T19:03:29.147920 | 2015-05-19T01:55:01 | 2015-05-19T01:55:01 | 35,852,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | AudioSystem.cpp | #include "AudioSystem.h"
ofxOscSender AudioSystem::oscOut;
vector<ofxOscMessage> AudioSystem::messages;
void AudioSystem::setup(string hostname, unsigned int port) {
oscOut.setup(hostname, port);
}
void AudioSystem::addMessage(unsigned int voiceNumber, string destination, string parameter, double value) {
string a... |
45463aaf4310f9538bb18d240dbb51ad0b808fb9 | 9267651f4a673770bd9389ba3fe34354e6a69137 | /Lab3/mipop.cpp | 773c55d05ee4cef7e794c0271ac447cb3612481b | [] | no_license | Xinrea/ParallelProgramming | aeb28a8c08041e0944501aa6813c814c95faf159 | e5a0a6b3f96360422e5fc32bbb8aeedd321f4352 | refs/heads/master | 2020-03-22T08:50:17.844682 | 2018-07-10T15:18:05 | 2018-07-10T15:18:05 | 139,794,773 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | mipop.cpp | //Author: Xinrea
//Date: 2018/7/8
#include "mipop.h"
#include <omp.h>
#include <cstdio>
#include <cstring>
int *MIPerosion(int *img, int *se, int img_width, int img_height, int se_width, int se_height){
if(se_width%2 == 0|| se_height%2 == 0)return img; // SE is not standard
if(se_width > img_width|| se_height... |
a7285e95319bdb1ecaf40462de77bf491556f98f | 429c7c9911d1d474085610a4a9623c116ab0b50e | /NeuArch/NaPNFill.h | ca66d379261a871c3f2610616737d69517b84a70 | [] | no_license | evlad/nnacs | 932f575056da33e8d8b8a3b3f98b60b9713a575f | fea3f054b695c97b08b2e2584f2b56bc45b17e0b | refs/heads/master | 2023-04-27T00:38:55.261142 | 2019-10-06T16:20:55 | 2019-10-06T16:20:55 | 13,727,160 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | h | NaPNFill.h | //-*-C++-*-
/* NaPNFill.h */
/* $Id$ */
//---------------------------------------------------------------------------
#ifndef NaPNFillH
#define NaPNFillH
#include <NaPetri.h>
//---------------------------------------------------------------------------
// Applied Petri net node: fill some samples in input stream.
// ... |
dab3d49ce2cf7b2bf0181f442cad60739654d545 | 9007ab07c9f1e8928eeda34af7254481ff997195 | /sdl2/win32/misc/tty.cpp | 621a6e4f05428a2e1ffd5abab745394074a7d8e6 | [
"MIT"
] | permissive | libretro/libretro-meowPC98 | deed8e63602cee23eaa6a65b78e10b3f7d02daa6 | bee2e243b0c68f787d0d360c2d4c289e581620ef | refs/heads/master | 2023-06-17T08:28:08.583126 | 2023-05-28T12:17:16 | 2023-05-28T12:17:16 | 87,991,058 | 11 | 17 | MIT | 2023-05-28T12:17:17 | 2017-04-12T00:18:46 | C | SHIFT_JIS | C++ | false | false | 3,966 | cpp | tty.cpp | /**
* @file ttyl.cpp
* @brief シリアル通信クラスの動作の定義を行います
*/
#include "compiler.h"
#include "tty.h"
#include <algorithm>
#include <setupapi.h>
#include <tchar.h>
#pragma comment(lib, "setupapi.lib")
/**
* コンストラクタ
*/
CTty::CTty()
: m_hFile(INVALID_HANDLE_VALUE)
{
}
/**
* デストラクタ
*/
CTty::~CTty()
{
Close();
}
/**
... |
71663e8f30de777e40051b8993e7f2258c1dbc42 | 3f8d9837b86fc6ad2b4787062c2e80ac977a6af2 | /QSharedPointerQml/src/MyModel.cpp | c330170d9f3122a0c68d6eb66124669f3317e779 | [] | no_license | FreakyTeddy/QSharedPointer-QObject | a698eb8027d73488f4cf4ae65ea41f7b78babd20 | 6bb4064e1eae0522d7d83365914a82938a4a8e18 | refs/heads/master | 2018-12-31T20:32:02.093229 | 2014-03-12T14:11:15 | 2014-03-12T14:11:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp | MyModel.cpp | /*
* MyModel.cpp
*
* Created on: 12/03/2014
* Author: vidueirof
*/
#include "MyModel.h"
|
bf9d96446e363bbf992736991c37e90ced9499db | d88032504eb8f502102f40e4e3e0ac17fc50d2c3 | /DMPG/DMPG17G2.cpp | afa44319d4fa8673b9cb2aa066b16997746957b3 | [] | no_license | jessicazhang236/Competitive | 8f19d903e72927679bc9821f5794052a69b1abc2 | f54e177e9eaf7053f1864b5f209827ffaf898cfb | refs/heads/master | 2021-07-06T09:38:37.440076 | 2020-08-12T04:58:56 | 2020-08-12T04:58:56 | 150,030,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,710 | cpp | DMPG17G2.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAXN=1e5+4;
int N, Q;
ll num[MAXN];
char cmd;
struct node{
int l, r;
ll pre, suf, sum, tot;
node(){l=r=0;pre=suf=sum=tot=0;}
node(int a, int b, ll c, ll d, ll e, ll f){l=a; r=b; pre=c; suf=d; sum=e; tot=f;}
}st[MAX... |
67bef568ac9ff5c911438b4e6aed36558379b669 | c507b259841a43910e94c20e58073eaa8937288b | /deform_control/external_libs/osgBullet-2.0/osgbDynamics/RigidBody.h | c5ba805ca69be11f509fd0d3e1b93acfef630a21 | [
"BSD-2-Clause"
] | permissive | UM-ARM-Lab/mab_ms | 5024c4d696cb35bc69fce71e85e1be1da66a30b5 | f199f05b88060182cfbb47706bd1ff3479032c43 | refs/heads/master | 2020-03-07T11:18:25.199893 | 2018-03-30T23:47:39 | 2018-03-30T23:47:39 | 127,452,258 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,490 | h | RigidBody.h | /*************** <auto-copyright.pl BEGIN do not edit this line> **************
*
* osgBullet is (C) Copyright 2009-2011 by Kenneth Mark Bryden
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by the F... |
21813c4d27c581c19844054218b97eb542fb4b78 | 92ef3ab9f5aa4f8dc7dce5b54aa2ecfe9bb2b79a | /ACM/LG/LG-1003-TLE.cpp | 1c6f5cffcc8fd539ee1bc66d25102fbb58ab2352 | [] | no_license | Fyy10/ENIAC | 4c845c04d571a888ddd6630fd196a5baab1e3139 | ce034918cb575ec6bb71c07901b66f6f0f8cda7f | refs/heads/master | 2020-03-25T09:53:14.517682 | 2019-08-19T03:24:04 | 2019-08-19T03:24:04 | 143,677,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | LG-1003-TLE.cpp | #include<stdio.h>
#include<string.h>
using namespace std;
int an[1000][1000];
int main()
{
int n,a,b,g,k,x,y,i,j,l;
memset(an,0,sizeof(an));
scanf("%d",&n);
for(l=1;l<=n;++l)
{
scanf("%d %d %d %d",&a,&b,&g,&k);
for(i=a;i<=g;++i)
for(j=b;j<=k;++j)
an[i][j]=l;
}
scanf("%d %d",&x,&y);
if(an[x][y]==0)
... |
1a043ede6057b543cf77bb196f194eec4b0632b4 | 9e17c2758137516079701aaa908a818e8c7e92e7 | /LinkedList/deleteLLrecursive.cpp | 8f68149073230da15e3448a3b6b5276030b665ad | [] | no_license | amitozs999/practice-cpp | c574170bd8680680f7f03586a08c1f8917982477 | 1e0e85348bfc56253653ae9ecad8b326c289059a | refs/heads/master | 2022-12-20T08:29:02.439106 | 2020-09-23T20:40:35 | 2020-09-23T20:40:35 | 297,013,730 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,767 | cpp | deleteLLrecursive.cpp | #include<bits/stdc++.h>
using namespace std;
struct node{
int data;
node *next;
};
class LinkedList{
node *head;
node *tail;
public :
LinkedList(){
head=NULL;
tail=NULL;
}
void insert(int x){
node *newnode=new node;
newnode... |
6f4fc5e11feda3629fdc6768fb4edb4dc04fabef | 07f462f118f0a41b4ac6990563800b573ed53535 | /jjba/jotaro.h | 10bef60879f16cebd6a4be41ea847747ff873bd9 | [] | no_license | Alecajuice/jjba | 145828aec173c2567ba0f1a67c3014b7e8b3818a | 9009f343052f195ccb76fb0e1a22dd5976c1db3e | refs/heads/master | 2020-04-06T11:55:15.663385 | 2019-06-06T03:29:00 | 2019-06-06T03:29:00 | 157,436,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | jotaro.h | //
// Created by aleca on 11/17/2018.
//
#ifndef JJBA_JOTARO_H
#define JJBA_JOTARO_H
#include "standUser.h"
class Jotaro : public StandUser {
public:
//Constructor
Jotaro();
//Member functions
void loadMedia(SDL_Renderer* renderer) override;
void render(SDL_Renderer* renderer) override;
con... |
2af2e0a3d71ad2e657edcd9dd79a82b034d18442 | 96f48e8df6af1e063e417d294684cedf5e14ed93 | /WinApiFramework/event.h | 525f8922f5780fa2c63c2cf8d8b186afdf96ee9e | [
"Unlicense"
] | permissive | Greketrotny/WinApiFramework | 6000527f2cbff757a3d6fc3c44ec856f1959db49 | 7d5d24f621d2b3bd220feb4e5517fb322538dc0c | refs/heads/master | 2023-04-18T16:06:16.113949 | 2021-05-15T13:40:59 | 2021-05-15T13:40:59 | 367,447,762 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,871 | h | event.h | #ifndef EVENT_H
#define EVENT_H
#include <typeinfo>
#include <unordered_map>
#include <vector>
namespace WinapiFramework
{
// ~~~~~~~~ [STRUCT] BaseAction ~~~~~~~~
struct BaseAction
{
public:
BaseAction() = default;
virtual ~BaseAction() = default;
public:
virtual void Invoke() = 0;
};
// ~~~~~~~~~~~~~~~... |
d7861e9abceea93a18631b1ce55e487003d4a1dd | 4e64e05878cc1f6b4275728770aaf51fbc694163 | /Project1/board.h | 7595efb09450bfd7fe97ccd11cf5adad69005390 | [] | no_license | CoDeBloo-D/Block_breaker | a6364e595793863d8c5005210015275d67bfd2cb | 4ed8e30b6432897cf2773f23f8087201dbd3b58e | refs/heads/master | 2022-02-04T12:55:05.217921 | 2019-05-10T08:17:08 | 2019-05-10T08:17:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | h | board.h | #pragma once
#include <utility>
#include "common.h"
extern class Ball;
extern class Block;
class Board {
private:
std::pair<int, int> pos;
int len;
char *p_len;
public:
Board();
~Board();
void board_Move();
friend bool ball_Move(Ball * ball, Board * board, Block * block);
}; |
cd947a44e1a5ab31564504dd93c5a78a3b3b348e | 1f515c64253d340a22436628623d68fd13ec3513 | /blingfirecompile.library/src/FATestMorph_w2t.cpp | 42c2be8a2bcf75f59fa46b3de42129a9d33d177a | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/BlingFire | 92467240018cdbed9a3288b7f8d33f04bc9b28c5 | 5dad17aa31dd87c9992d9570ab0dd20e84246fa6 | refs/heads/master | 2023-08-20T23:43:13.448077 | 2023-06-27T13:00:11 | 2023-06-27T13:00:11 | 175,482,543 | 574 | 81 | MIT | 2023-06-27T13:00:13 | 2019-03-13T19:04:41 | C++ | UTF-8 | C++ | false | false | 4,635 | cpp | FATestMorph_w2t.cpp | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#include "blingfire-compile_src_pch.h"
#include "FAConfig.h"
#include "FATestMorph_w2t.h"
#include "FAUtils.h"
#include "FAPrintUtils.h"
#include "FAUtf32Utils.h"
#include "FAStringTokenizer.h"
#includ... |
e095477b753632167f9dcf12f0155368f3a0bcff | c614b694607dc5c3271c29aff2f9f8b8e200e68e | /include/trans-dsl/sched/concepts/SchedActionConcept.h | efd883fe64567b7f744b031588bb99643312704d | [
"MIT"
] | permissive | gettogetto/trans-dsl-2 | f3bd6e91ddf5578bd9af0084c77537deefa1453a | 49f235166cea5f511c2c41c56abe554e60c60e86 | refs/heads/master | 2023-06-28T19:23:47.773849 | 2021-07-27T08:07:59 | 2021-07-27T08:07:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | SchedActionConcept.h | //
// Created by godsme on 6/19/20.
//
#ifndef TRANS_DSL_2_SCHEDACTIONCONCEPT_H
#define TRANS_DSL_2_SCHEDACTIONCONCEPT_H
#include <trans-dsl/tsl_config.h>
#include <trans-dsl/sched/domain/SchedAction.h>
#include <type_traits>
#include <trans-dsl/sched/concepts/ConceptHelper.h>
#if __has_include(<concepts>)
#include <... |
b75ae2c92e03e97ddca0b885effe83ce42df367e | f9bdf0531491615cb788a8b5e91ce04d99138b31 | /Final/EmptyRoom.hpp | 31366f0fa9edb26defc331c0f4ddcafe845b8ac4 | [] | no_license | Hazama/CS162 | 0f276b3c502daa8f10f9141d47f8e5750caa5131 | 555015125ef7fb61b7435314ddffcfc9a8e6892f | refs/heads/master | 2020-04-18T18:44:02.923170 | 2016-08-30T13:56:20 | 2016-08-30T13:56:20 | 66,945,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | hpp | EmptyRoom.hpp | /*********************************************************************
** Author: Jeffery Goss
** Date: 03/10/16
** Description: EmptyRoom.hpp file
*********************************************************************/
#ifndef EMPTY_HPP
#define EMPTY_HPP
#include "Room.hpp"
#include <cstdlib>
class EmptyRoom... |
af42c313a94282ef7e33ea2a14ff44c870e0a674 | 9eb1e519380666c166f2f2007a1eecfa3e61fe29 | /CompuScope_Linux_v5.04.36/gati-linux-driver/Boards/CsSpDev/Common/CsSpDevice.h | 397e87deb54a27f51d9d7a2c098b6ae659158d74 | [] | no_license | theFREElaker/CompuScopeDriver | fd5cfaaf98d01a40f575806cadc8c00b627b625d | ce5f2a5bb0c69e1bd0ad061fb629b8a17ed7ba9b | refs/heads/master | 2023-07-25T19:15:00.576880 | 2021-08-22T22:13:27 | 2021-08-22T22:13:27 | 398,911,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,507 | h | CsSpDevice.h | #pragma once
#include "CsTypes.h"
#include "CsStruct.h"
#include "CsErrors.h"
#include "CsThreadLock.h"
#include "CsSpDevFuncTypes.h"
#include "CsiHeader.h"
#include <map>
using namespace std;
#define SPD_INIT_DELAY 4000//2000 //2 sec
#define USB_PARAMS_KEY _T("SYSTEM\\CurrentControlSet\\Services\\CsUsb\\Confi... |
0f831665f1023ff7925f231e43f74fe2968e42d4 | e0fc6f42436363606f978a4a63146ab3cdb9aa4b | /request.h | 860573b8d8d747f0103f20b30fa057b89cb639cc | [] | no_license | valehorv/Threads | 57d5a9453d1c4c8a5069be2cf91d1fa5e384981a | b95df7c0c31bedaeeb24c04bae5aff2a1468a65f | refs/heads/master | 2020-03-15T22:30:37.341559 | 2019-02-01T11:06:04 | 2019-02-01T11:06:04 | 132,375,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | request.h | #ifndef REQUEST_H
#define REQUEST_H
#include <string>
#include"abstract_request.h"
using namespace std;
typedef void (*log_function)(string text);
class Request : public AbstractRequest
{
int value;
log_function out_func;
public:
void set_value(int value){this->value = value;}
void set_output(log_fu... |
ff284678b288a052838e10b84c9d4c84b4e730ca | 4f75d4ea48d1f667e621515e9660fdd2dae14d5b | /src/core/Lot.cpp | 8db5d4bb0622b9114cef9577d36ec4e91a015c1f | [] | no_license | vitorgil/gescoice | c6e8b52b504c4fa65bde01db474a65b5a7164785 | 5b24995bad2b7c0ca3c8fdf9bcabf7863ae72330 | refs/heads/master | 2020-05-19T09:39:52.479321 | 2019-05-11T23:09:05 | 2019-05-11T23:09:05 | 184,953,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,787 | cpp | Lot.cpp | #include "Lot.h"
#include "Containers.h"
#include "Ingredients.h"
#include "IO.h"
#include <QJsonDocument>
#include <QJsonObject>
void Lot::addContainer(const QString& recipientName, const double quantity)
{
if (quantity > 0)
{
m_containers[recipientName] = quantity;
}
else
{
m_co... |
c179d361f413c1af5a2b688695225901027a28b2 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/com/netfx/src/clr/vm/jumptargettable.h | 476b09b05be664985cd85db23ac08347f6accff2 | [] | 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 | 5,515 | h | jumptargettable.h | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
#ifndef JUMPTARGETTABLE_H_
#define JUMPTARGETTABLE_H_
#include <WinWrap.h>
#include <windows.h>
#include <stdlib.h>
#include <objbase.h>
#include <stddef.h>
#include <float.h>
#include <limits.h>
//
// An Ju... |
5c324cf171575f8ef67882d7a80a12de9d0df5c2 | cc460f2d2b869f3f389809230caa0e11178d393d | /src/set3/22.cpp | baa3657efb6f573ec49d00d28d43f2a6151e6e7f | [] | no_license | pdogr/cryptopals-cpp | d70e0125b3626d90365a04571280bca06ef129b2 | 6d4a8c0c0d745f72f8dc53a2c2fa9769dc246249 | refs/heads/master | 2023-03-29T13:40:23.976578 | 2021-04-14T22:35:04 | 2021-04-14T22:35:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | 22.cpp | #include "../../include/disp.h"
#include "../../include/mt19937.h"
#include "../../include/utils.h"
#include <random>
int
main ()
{
uint32_t cur_time = time (0);
uint32_t wait1 = random_long (10, 1000);
MT19937 m (cur_time + wait1);
cout << cur_time + wait1 << "\n";
uint32_t val = m ();
uint32_t wait2 = ra... |
09cf4dc35409c09459f4e965b973ed6a9b122d6f | 14538cd33199f19a6f7bbe1c78897b6698b878e3 | /MH/macros/src/HiEvtPlaneList.h | c2b199205ff9772281585ecda70c65115e42fed0 | [] | no_license | ssanders50/PbPb_2015 | bf3b3158a633316e7748ee38d9c3bd6e108d9d48 | 7c33631d5b26b70872bfe35ea2685da22a587e3f | refs/heads/master | 2021-05-14T13:44:31.397770 | 2020-02-25T18:12:38 | 2020-02-25T18:12:38 | 74,303,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,424 | h | HiEvtPlaneList.h | #ifndef __HiEvtPlaneList__
#define __HiEvtPlaneList__
/*
Index Name Detector Order hmin1 hmax1 hmin2 hmax2 minpt maxpt nsub mcw rmate1 rmate2
0 HFm1 HF 1 -5.00 -3.00 0.00 0.00 0.01 30.00 3sub no HFp1 trackmid1
1 HFp1 HF 1 3.00 5.00 0.00 0.00 0.01 30.00 3... |
098b77c09ef94df6d3d6d35a950ca9d597fc3953 | aaa60b19f500fc49dbaac1ec87e9c535a66b4ff5 | /1-Offer/15.二进制中1的个数.cc | 56f174bca1ce9f73af3e2d84ea4a29f9c2155e89 | [] | no_license | younger-1/leetcode-younger | c24e4a2a77c2f226c064c4eaf61e7f47d7e98d74 | a6dc92bbb90c5a095ac405476aeae6690e204b6b | refs/heads/master | 2023-07-25T02:31:42.430740 | 2021-09-09T08:06:05 | 2021-09-09T08:06:05 | 334,441,040 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cc | 15.二进制中1的个数.cc | // 剑指 Offer 15. 二进制中1的个数
// https://leetcode-cn.com/problems/er-jin-zhi-zhong-1de-ge-shu-lcof/
// 注意:本题与主站 191 题相同:https://leetcode-cn.com/problems/number-of-1-bits/
|
699755a61b5ff1ed3c85aeaa8c51b0d50828986d | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /cc/test/render_pass_test_utils.h | 41a0f384b5f30da90c7b350f9661542e2f2edd3a | [
"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 | 5,260 | h | render_pass_test_utils.h | // Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_TEST_RENDER_PASS_TEST_UTILS_H_
#define CC_TEST_RENDER_PASS_TEST_UTILS_H_
#include <stdint.h>
#include <vector>
#include "cc/paint/filter_operations.h"
#include "c... |
9aeb1e50863b5c0174d1ce73e42f1525ed92d261 | 3d1bd15de9f5fa146717e19a69b82dcc01e9eb64 | /cs141/Projects/Project6/coinSwap.cpp | 5e92ebc24730d90bb9f6dfeb095b2c5c615b8197 | [] | no_license | TonyMakis/cs-academia | 75b88813cd76190a8c36a806975675983f31f1c2 | 5ce97ddaee0a6d0cda608df2660d00a13cee2c90 | refs/heads/master | 2023-04-16T17:26:43.833717 | 2021-04-15T19:53:00 | 2021-04-15T19:53:00 | 285,456,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,456 | cpp | coinSwap.cpp | #include <iostream>
#include <string>
using namespace std;
// Global constants
const int BOARD_SIZE = 5;
/* Struct to layout a game move
* - moveNum => The number of this move when displayed
* - movePiece => The piece used to make this move
* - nextMove => Pointer to the next move made after this one
* - ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.