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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5b90021e674edfb92c5685866df4fef9f0018ff | ed649693468835126ae0bc56a9a9745cbbe02750 | /alljoyn_core/src/winrt/binding/inc/BusAttachment.h | d10773c05e3ffc95056df943f3e2f37ec0618d24 | [] | no_license | tkellogg/alljoyn-core | 982304d78da73f07f888c7cbd56731342585d9a5 | 931ed98b3f5e5dbd40ffb529a78825f28cc59037 | refs/heads/master | 2020-12-25T18:22:32.166135 | 2014-07-17T13:56:18 | 2014-07-17T13:58:56 | 21,984,205 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 55,397 | h | BusAttachment.h | /******************************************************************************
*
* Copyright (c) 2011-2012, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyr... |
578e8a2fb0654ef049e193441cdd11d1bdc278d5 | 327463f358281558482dfc52661e7b21ccf6b495 | /lab4/main.cpp | 7bac1e0c1bd87e0135a1df318196586882f27847 | [
"MIT"
] | permissive | maliozer/cse211_ds | 9cd55b3bb0041c0bd40a66a04972eb19b46b25c7 | feb60c7ccc845530490d36f7f17834d023460a1a | refs/heads/main | 2023-01-24T01:04:14.906419 | 2020-12-03T18:15:42 | 2020-12-03T18:15:42 | 302,323,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | main.cpp | //============================================================================
// Name : main.cpp
// Author : maliozer
// Copyright : MIT
// Description : Yeditepe CSE211 Data Structures Lab2-Q2 PhoneBook
//============================================================================
#include <iostream>
#... |
6f7dbf6e9d4e0b28bb9d550eac381773fb4fe19f | 5f83f82503835f30b1e5782991eac4de1267e650 | /Sarry/Algorithm/LinearAlgebra/LinearAlgebra.cpp | 911d04aa22202afda489d69a8b319a45495ecf81 | [] | no_license | ncrookston/startal | a08f0e5d07a6001ed128fb855427b9025639494c | 8c1cf418e73bf67444b25dfa46a5364c53c97ae5 | refs/heads/master | 2021-01-10T21:25:10.595969 | 2013-11-09T16:43:31 | 2013-11-09T16:43:31 | 4,199,164 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | LinearAlgebra.cpp | #include "LinearAlgebra.hpp"
#include "Algorithm/getRegionParams.hpp"
#include "Algorithm/LinearAlgebra/Doi.hpp"
#include "Algorithm/LinearAlgebra/Roi.hpp"
#include "Algorithm/writeKmz.hpp"
#include "Antenna/Antenna.hpp"
#include "Antenna/getPulsesOfInterest.hpp"
#include "Antenna/PerPulseInfoLoader.hpp"
#include "Geo/... |
df168d3b8366c2ab57481ee6458c4d7ecd8585b9 | 3f9044992587e1d068c6f20992d564fcf16b2cbc | /263B.cpp | b5c9022750c36d5bbb07c4795e019b12c93bbab9 | [] | no_license | HrPhoeniX/CPisNotFun | 782abd8178342604514fa7f2a806e8c27d684628 | c1109a9e3acfc2a74c2c71383b58e64ea9b3580d | refs/heads/main | 2023-08-23T22:14:14.493689 | 2021-10-27T10:06:55 | 2021-10-27T10:06:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | 263B.cpp | #include <bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr)
#define ll long long
int main()
{
fast;
int n, k;
cin >> n >> k;
vector<int> v(n);
for (int i = 0; i < n; i++)
{
cin>>v[i];
}
i... |
37b8f66bded234b340ef0c9bb8023355b76aba79 | e822759a9f164782edefa41e0a430b836c39a237 | /monad.cxx | f91a9511b154720b99a83602207ffab2cfbc5716 | [
"MIT"
] | permissive | b1f6c1c4/wicky-monads | 209cbf5552d9e00f319a6ee9828710215b2c169b | f1106d361602d2c9efcdb3021138b1c76adee50d | refs/heads/master | 2023-07-12T17:39:57.988029 | 2021-08-30T21:35:55 | 2021-08-30T21:35:55 | 361,520,280 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,252 | cxx | monad.cxx | #include <chrono>
#include <csignal>
#include <deque>
#include <fcntl.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <nlohmann/json.hpp>
#include <string>
#include <sys/resource.h>
#include <sys/wait.h>
#include <unistd.h>
#include "common.h"
#include "config.h"
using json = nlohmann::json;
usin... |
70101e2c40b293e4e3fe70b431ef98ef9fc9813f | 6e4aa50e275048cdedef07b79f5d51bd29a7bef1 | /IPST_2016/o59_mar_c1_atleast.cpp | bc2f1506ea18dc14f557f27623e0f3c14c76cf29 | [] | no_license | KorlaMarch/competitive-programming | 4b0790b8aed4286cdd65cf6e4584e61376a2615e | fa8d650938ad5f158c8299199a3d3c370f298a32 | refs/heads/master | 2021-03-27T12:31:10.145264 | 2019-03-03T02:30:51 | 2019-03-03T02:30:51 | 34,978,427 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,960 | cpp | o59_mar_c1_atleast.cpp | #include "stdio.h"
#include "vector"
#include "algorithm"
typedef std::pair<int,int> PII;
typedef std::pair<int, long long> PILL;
struct Node{
int nc;
long long sum;
struct Node* left;
struct Node* right;
Node(int _nc = 0, long long _sum = 0) : nc(_nc), sum(_sum) {
left = nullptr;
right = nullptr;
}
};
int ... |
8e17ba6cfaade88a1f95d33a7c30c450aa9f1918 | 38db4bce417c9fa501ef0cbcedea52924766c572 | /trajectory_generation/src/taskspaceonline3.cpp | 5bfe170f5d71f7993c65c96c699d978635977766 | [] | no_license | Kassra-sinaei/SurenaIVTestsCodes | d0fc97d3160fccea8937d4fc61ec4310f54d0154 | 8c9edd4c608788d565c094ef19ecd9233a67f3c3 | refs/heads/main | 2023-07-03T11:50:58.899995 | 2021-08-11T12:22:44 | 2021-08-11T12:22:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,891 | cpp | taskspaceonline3.cpp | #include "taskspaceonline3.h"
TaskSpaceOnline3::TaskSpaceOnline3(int N_s, double Ds)
{
_timeStep=.005;
NStride=N_s;
LeftHipRollModification= 2;3.2;3.1;2.7;2;
RightHipRollModification=2;3.2;3.1;2.7;2;
FirstHipRollModification=2;3.2;3.1;2.7;2;
HipPitchModification=1;//2;
beta_toe=7*M_PI/18*0;
... |
916046020c25e8dabc7d5177c6292e975ab004d2 | 7fc161bd29ab037e9cd8b3295f39c8cd6123d4fd | /src/board/usb/usb.hpp | d995638b9af0637e4215d1500cbf1bc9370031cc | [] | no_license | Sleuek/Korchega | b7702cfebedf4e2b2bf5ec7bda7689b1e0089f6f | 84a4c55dc7861ab655459d89e49028b79a902995 | refs/heads/main | 2023-03-08T23:03:50.359061 | 2021-02-18T13:04:45 | 2021-02-18T13:04:45 | 339,686,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | hpp | usb.hpp | /**
* Copyright (c) 2016-2017 Zubax Robotics <info@zubax.com>
*/
#pragma once
#include <hal.h>
#include <array>
#include <cstdint>
namespace board
{
namespace usb
{
/**
* Takes about one second to complete!
*/
void init();
SerialUSBDriver* getSerialUSBDriver();
enum class State
{
Disconnected,
Connec... |
90a783e2541a4ac04557503a0f5f4906f6706966 | 0bac4cdcbc9bbd304cdb7aa6dc89375874b8fc2d | /DPGAnalysis/HGCalNanoAOD/plugins/ObjectIndexFromAssociationProducer.cc | 2f1fae58686744a9fc6aa503bbf37ebd3fe2222f | [
"Apache-2.0"
] | permissive | cms-pepr/cmssw | 8c6f60b07328ad8534ffd93c579ca60ba10e1c42 | 9e78f7d5c471221cb37e926882a09ec8f6150765 | refs/heads/pepr_CMSSW_12_6_0_pre2 | 2023-02-04T22:25:16.955809 | 2023-01-22T11:53:50 | 2023-01-22T11:53:50 | 228,587,122 | 1 | 0 | Apache-2.0 | 2023-01-22T11:53:51 | 2019-12-17T10:01:56 | C++ | UTF-8 | C++ | false | false | 878 | cc | ObjectIndexFromAssociationProducer.cc | #include "PhysicsTools/NanoAOD/interface/ObjectIndexFromAssociationProducer.h"
#include "SimDataFormats/PFAnalysis/interface/PFTruthParticle.h"
#include "SimDataFormats/PFAnalysis/interface/PFTruthParticleFwd.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
#include "DataFormats/ParticleFlowCandidate/interfa... |
92f6db7c8172b24c22dd4be465e338ef56da8946 | 6a30e6a0548ee99109da995fe2cee6a4317d39ff | /ControllerEdit.cpp | b59a4b1794bd36efb52d57f8dccecb20c920979a | [] | no_license | daniuu/YJS-PIS-2018 | 9f9206bd9a1dcd6af3463ffd54423d00353d94f6 | 1f5c2f1a5d68915bb316e62cafc4630118b80921 | refs/heads/master | 2020-06-02T00:43:57.247679 | 2019-06-09T08:45:47 | 2019-06-09T08:45:47 | 190,982,640 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,304 | cpp | ControllerEdit.cpp | //==============================================================================================
// FILE : ControllerEdit.cpp
// ABSTRACT : Binds a MipParameter to an edit box
// HISTORY : 2005.11.04 Nikon Corp. - Created
//
// Copyright (c) 2005, Nikon Corp. All rights reserved.
//============================... |
0a940eb16efdcb38aac781e02211aeb60fdf8f52 | a7899e791b99948bbda5ce281e278f573fab8f3e | /SineWave/source.cpp | e762be473b23d8c304e9bfe8c380f461bfa1e4e3 | [] | no_license | PratikBingewar/Win32-SDK-2020---Astromedicomp | 5e19febc2b1278734adde47be667846f983c2932 | 560a0fc4a697f971a9ca89b7e1f5a6867f093606 | refs/heads/master | 2022-12-06T02:45:22.689279 | 2020-09-01T11:36:07 | 2020-09-01T11:36:07 | 291,980,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | source.cpp | #include<windows.h>
#include<math.h>
#define NUM 1000
#define TWOPI (2 * 3.14159)
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int iCmdShow) {
WNDCLASSEX wndClass;
MSG msg;
TCHAR szAppName[] = TEXT("SineWaveProgram");
HWND hw... |
1a60bfb31d4a206b20b62d1b866416af5172ee78 | 9e038c38e3baa58e65368946920c0c1c4a9f8380 | /gym/pushup/mirror-tree.cpp | 0247f7d088a1c4e48544e15ad290bb243cdb4704 | [] | no_license | switchkiller/sandbox | 2707bafd7cae2e069b4602432738bb6c381a0c0f | 0cf8c99f13c35377c2bcdab0420574febb88f693 | refs/heads/master | 2021-01-25T15:52:18.030476 | 2020-04-14T03:04:21 | 2020-04-14T03:04:21 | 38,898,148 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | mirror-tree.cpp | //function Template for C++
/* A binary tree node has data, pointer to left child
and a pointer to right child /
struct Node
{
int data;
Node* left;
Node* right;
}; */
/* Should convert tree to its mirror */
void rotate(Node *node){
if (node->left != NULL && node->right != NULL){
Node *temp ... |
8eece8ef55cbb30039e8135d40e1a981db00f572 | f14471ad6993834266bf3328b4126d921c959c3b | /kokkos-kernels/src/batched/dense/impl/KokkosBatched_Vector_SIMD_Arith.hpp | 90bf2e4dc619dc725f921a1b9bd79aea17e4e022 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sandialabs/compadre | 07b06f095ed0f171aba66839e8e01e619b7403ea | bf4cd8db7104a2102ee9af5fbc8962f43c6df876 | refs/heads/master | 2023-08-31T11:47:01.409672 | 2023-05-03T15:13:07 | 2023-05-03T15:13:07 | 165,897,408 | 8 | 1 | NOASSERTION | 2023-05-03T15:13:09 | 2019-01-15T17:52:40 | C++ | UTF-8 | C++ | false | false | 28,337 | hpp | KokkosBatched_Vector_SIMD_Arith.hpp | #ifndef __KOKKOSBATCHED_VECTOR_SIMD_ARITH_HPP__
#define __KOKKOSBATCHED_VECTOR_SIMD_ARITH_HPP__
/// \author Kyungjoo Kim (kyukim@sandia.gov)
#include "Kokkos_Complex.hpp"
#include "KokkosKernels_Macros.hpp"
namespace KokkosBatched {
#define KOKKOSKERNELS_SIMD_ARITH_RETURN_TYPE(T, l) Vector<SIMD<T>, l>
#define KOKKO... |
e33e6710b23e963dba96f1157d33f151a977a636 | 3873700b758996625fe4249d9cfdd1a7f2866227 | /hdu2222.cpp | daa4b8ec1899b96e2ac9f0145b5cb4a448de9381 | [] | no_license | termonitor/ACM | 4d4354a0af47fbfb3a40b52a1eb38217383c9eae | 36962a860523bd5e77903ca23c2fe27325a13e80 | refs/heads/master | 2020-12-24T16:16:22.925602 | 2017-04-30T11:12:06 | 2017-04-30T11:12:06 | 23,687,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | cpp | hdu2222.cpp | #include<iostream>
#include<algorithm>
#include<cstring>
#include<queue>
#include<string>
using namespace std;
char str[1000000+100];
struct node
{
int count;
struct node *next[26];
struct node *fail;
void init()
{
int i;
for(i=0; i<26; i++)
next[i] = NULL;
count = 0;
fail = NUL... |
83fea6b0612cb402a972259301cdcd732dc4c834 | a64a8d76aac2c9a9cba574f7361f055472488557 | /Semester 1/Praktikum/Pertemuan 6 Function/Exe1.cpp | 1fa7401fe2e94fadeb76be3a8350b4b535950899 | [] | no_license | danielsitepu36/Cpp-as-the-first | 10ea28beff8557afecea15e4db5d677ac08e4ee2 | d94b8b7cfe8c3bdb3fbd55fb3cea11ee72534bd6 | refs/heads/master | 2020-07-06T12:49:53.446105 | 2019-08-28T12:29:16 | 2019-08-28T12:29:16 | 203,023,073 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | Exe1.cpp | #include<iostream>
using namespace std;
double triangle(double a, double t){
return (a*t)/2;
}
double circle(double r){
return r*r*3.14;
}
double square(double r){
return r*r;
}
int main(){
int x,a,t,r,L;
cout<<"CALCULATE AREA"<<endl;
cout<<"Menu :"<<endl;
cout<<"1) Triangle"<<endl;
cout<<"2) Circle"<<endl;... |
096f0ef7432ca6d1bb3ca54ff3f8501bbec59bfe | 0ca9dc2f82b7b24141ca27b391e649916073c3e3 | /Homework/Hackerrank/Pointer Challenge/main.cpp | 690bbf3f4245ba0eb939b54418e93fa7c73e42cf | [] | no_license | Jadiepie-658/CSC17A-47827 | 627319b6e87c60268057665742140f6155f4acd6 | 7a15274b2c119f6c228cd32d44412a5c0a5c1a4b | refs/heads/master | 2020-07-23T18:07:49.709653 | 2019-10-30T04:37:24 | 2019-10-30T04:37:24 | 207,661,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | main.cpp | #include <stdio.h>
void update(int *a,int *b) {
// Complete this function
int val1 = *a;
int val2 = *b;
*a = val1 + val2;
if(val1 > val2) //to create an absolute value marker over b
{
*b = val1 - val2;
}//if b is greater than val it subtracts b with val
else
... |
42c57507c30c40a6034d108e3fb3972bbd99a139 | 39ff97eed9cbaba710bccde1f8e2f7e806a733f2 | /wii/briickout/source/Player.cpp | f3aaba18629be47238eda321187a48ae56582e3d | [
"BSD-3-Clause"
] | permissive | BHSPitMonkey/bhspitmonkey-code | a6070c51bb8b5fd5a1e717b4ea88c79cdc4f0a45 | 5e76784f0ff8ccd5970eb99e1a7753d02bd6623b | refs/heads/master | 2020-08-23T18:44:23.763173 | 2009-10-18T23:06:16 | 2009-10-18T23:06:16 | 309,178 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | Player.cpp | /*
* Player.cpp
*
* Copyright 2009 Stephen Eisenhauer <mail@stepheneisenhauer.com>
*
* Class for Player objects.
*/
#include <wiisprite.h>
#include "Player.h"
using namespace wsp;
// Default constructor
Player::Player() {
// Player width and height
theRect.width = 64;
theRect.height = 20... |
a0adb868e1adba5dbeeb59850ca5dab89a008ea0 | 656fb1a231d169f5316888b682da970d99cf4b35 | /src/Alternate Sort.cpp | 214f2f1c1471b39e51541b9102ff134a598dd01c | [] | no_license | ayush-artist07/CipherSchools_Assignment | 41ef053da6c0a92dc347dde9e831523c8329c23b | 9330214bb23392e1750780b01e21cced4b02d3b1 | refs/heads/main | 2023-03-07T03:07:40.744489 | 2021-02-23T06:19:54 | 2021-02-23T06:19:54 | 338,588,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | Alternate Sort.cpp | /*
Given an array of integers, print the array in such a way that the
first element is first maximum and second element is first minimum and so on.
*/
#include<bits/stdc++.h>
using namespace std;
void alternateSort(int arr[],int n){
sort(arr,arr+n);
int i=0,j=n-1;
int flag=1;
while(i<=j){
... |
31dd98398182cfc50cb564439c31f504404d7e01 | bed3ac926beac0f4e0293303d7b2a6031ee476c9 | /Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx | 10ac23cca4b134b83429498a1b3bcb8b0465c43e | [
"IJG",
"Zlib",
"LicenseRef-scancode-proprietary-license",
"SMLNJ",
"BSD-3-Clause",
"BSD-4.3TAHOE",
"LicenseRef-scancode-free-unknown",
"Spencer-86",
"LicenseRef-scancode-llnl",
"FSFUL",
"Libpng",
"libtiff",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive",
... | permissive | InsightSoftwareConsortium/ITK | ed9dbbc5b8b3f7511f007c0fc0eebb3ad37b88eb | 3eb8fd7cdfbc5ac2d0c2e5e776848a4cbab3d7e1 | refs/heads/master | 2023-08-31T17:21:47.754304 | 2023-08-31T00:58:51 | 2023-08-31T14:12:21 | 800,928 | 1,229 | 656 | Apache-2.0 | 2023-09-14T17:54:00 | 2010-07-27T15:48:04 | C++ | UTF-8 | C++ | false | false | 53,685 | cxx | gdcmJPEG2000Codec.cxx | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... |
12dc7fe8623d6774f3b2fe8948fd2d79679811f9 | a57d8437088ac1eb627169ed82c4bbc8e8f3447a | /Kernel_Linux/ss/src/include/ICenterClient.h | 90e0cde6b53db311d72c0bf99c9580e0cc3236bd | [] | no_license | linchendev/kernel | 7a74ac4ab5fddaede0f7eb94527fd2e60ba147cc | 3f5e76dbb15bef9a57dcbd1e924e38ac3bf1a15b | refs/heads/master | 2021-05-26T17:27:43.499709 | 2013-08-21T09:22:54 | 2013-08-21T09:22:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,844 | h | ICenterClient.h | //
// Copyright(C) 2011-2012 Loogia, All rights reserved.
//
// $Rev: 7062 $
// $Author: than $
// $Date: 2012-04-28 11:08:42 +0800 (鍛ㄥ叚, 2012-04-28) $
//
// Define interface ICenterClient.
//
#ifndef __ICENTER__CLIENT__H
#define __ICENTER__CLIENT__H
#include "include/GameSys.h"
#include "include/IOsApi.h"
#include "... |
23e120ecd232071db34c50517ba91c753ca613a3 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /3WeekTutorial/day1/elbow_tri/56/phi | 2fd1e2e4a85fabbbc6bb5c4d6cb403d2dafd230f | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,690 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
c809598a98f402f1ec1b43f7fb267bb5d35dcd2d | 109bd8e1774bf490558a771742ed6fff7ac8d813 | /src/game_api/fmod.hpp | 048a978c4a23310ac0172291cb5e8f4b6d9e4020 | [
"MIT",
"Unlicense"
] | permissive | evannoahrp/overlunky | d3f5e4bb4ccb616b0a49a82d836f13037d73d2d7 | d0498347efc0ff8dcba11dafd5bbc61912204f23 | refs/heads/main | 2023-08-26T10:37:36.059514 | 2021-10-18T15:25:25 | 2021-10-18T15:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,014 | hpp | fmod.hpp | #pragma once
#define FMOD_CHECK_CALL(x) \
[](auto err) { \
if (err != FMOD::FMOD_RESULT::OK) \
{ \
DEBUG("{}: {}", #x, FMOD::ErrStr(err)); \
return false; ... |
beea7396a264dc92c6ecf11dc7f6493fdb485c7e | a83913ffec0267d35b003597a186733c26df89a9 | /kernel/util/string.cpp | 1de5ffa051c5fe969516c45267bb3fa886d5e7dd | [] | no_license | zuban32/proj | 8aa61c15b1095c4fb4fcae13e6de6bccf3a493f9 | 8dbb63bb494706e06dc6d75d222c305473a686fd | refs/heads/master | 2020-05-21T04:42:09.026668 | 2017-10-01T22:10:48 | 2017-10-01T22:10:48 | 24,896,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | string.cpp | #include <util/string.h>
#include <console.h>
#include <util/port.h>
int kisspace(const char c)
{
return (c == ' ' || c == '\n');
}
int kisdigit(const char c)
{
return (c >= '0' && c <= '9');
}
int kisletter(const char c)
{
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
}
int kstrlen(const char *s)
{
... |
27bcb4ebba38f44735777f419fb917c51dada87e | d8279850a32ee519717876051d73ce1a935bb2b5 | /CppMultiThreadCourse/CppMultiThreadCourse/CppMultiThreadCourse3.cpp | f992792366c801ead2d512b05f629dc95e1eddb9 | [] | no_license | GitGaryHuang/CppLearning | 994d9458b2af92da6c6e1e00b8c477cedfc57c10 | 64b9cc66c194b9f4626a5a5ef2795ccf1dad6e02 | refs/heads/master | 2020-05-03T19:38:31.137640 | 2019-05-01T06:14:01 | 2019-05-01T06:14:01 | 178,787,866 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,713 | cpp | CppMultiThreadCourse3.cpp | #include "stdafx.h"
#include<iostream>
#include<vector>
#include<map>
#include<string>
#include<thread>
using namespace std;
//
//void myprint(const int &i, char *pmybuf)
//{
// cout << i << endl; //分析认为,此处i并非主线程中的mvar引用,实际是值传递,但即便主线程detach了子线程,那么子线程的i值仍然是安全的。
// cout << pmybuf << endl;//指针在detach子线程时绝对会有问题
// return;... |
02ac7dbd204195fa2690eaa00e6f8407d1730296 | d444e71bfde74e160a5b032f716f5784f232fa71 | /SimpleDCTParallelCodec/SimpleDCTParallelCodec/SimpleDCTDec.h | 8a1377ad3313230672e6e43ffd5e351b21173187 | [] | no_license | thejasper/Parallel-DXT-Compressor | 44e52601eb442ffeb4419f9e8eeac628dbe2c96a | 698a01d7b7fb916299721fde1bd1b08c1c25a773 | refs/heads/master | 2020-05-30T14:40:45.411886 | 2013-01-04T11:02:50 | 2013-01-04T11:02:50 | 6,825,017 | 1 | 2 | null | 2012-11-29T16:00:48 | 2012-11-23T09:25:14 | C++ | UTF-8 | C++ | false | false | 3,432 | h | SimpleDCTDec.h | /**
*
* This software module was originally developed for research purposes,
* by Multimedia Lab at Ghent University (Belgium).
* Its performance may not be optimized for specific applications.
*
* Those intending to use this software module in hardware or software products
* are advized that its use may in... |
3c138b4c1e536c432e38be83a39f7780895a3107 | 4f5691998e1e55451b17fe6c0d35f294cc38c405 | /LinkedRawList.hpp | 6900c4e437912fd5bb4295ea183346114e65b922 | [
"BSD-3-Clause"
] | permissive | PankeyCR/aMonkeyEngine | 9bb3c3f89ec9cab2a181f3cfd43d89f379a39124 | a5fb3f7f73f51b17cfe90f6fc26c529b7e8e6c2d | refs/heads/master | 2023-06-22T01:36:55.745033 | 2023-06-15T22:03:09 | 2023-06-15T22:03:09 | 198,529,019 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,603 | hpp | LinkedRawList.hpp |
#ifndef LinkedRawList_hpp
#define LinkedRawList_hpp
#define LinkedRawList_AVAILABLE
#include "RawList.hpp"
#include "LinkedRawPointerList.hpp"
#include "LinkedListNode.hpp"
#include "LinkedIterator.hpp"
#ifdef LinkedRawList_LogApp
#include "ame_Logger_config.hpp"
#include "ame_Logger.hpp"
#define LinkedRawListLo... |
8af1f35e01732136849fd81dfedd0a48851aceb0 | c094d381422c2788d67a3402cff047b464bf207b | /c++_primer_plus/c++_primer_plus/p048cout.put().cpp | a192c0c83415cda5d80617a5104af5a83b24d210 | [] | no_license | liuxuanhai/C-code | cba822c099fd4541f31001f73ccda0f75c6d9734 | 8bfeab60ee2f8133593e6aabfeefaf048357a897 | refs/heads/master | 2020-04-18T04:26:33.246444 | 2016-09-05T08:32:33 | 2016-09-05T08:32:33 | 67,192,848 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,055 | cpp | p048cout.put().cpp | // 程序清单 3.6
// cout.put();和cout对字符的识别输出
#include <iostream>
int main()
{
using namespace std;
char ch = 'M';
int i = ch;
cout << ch << "的ascll编码为: " << i << endl;
cout << "加上一以后:" << endl;
ch = ch + 1;
i = ch;
cout << ch << "的ascll编码为: " << i << endl;
cout << "使用cout.put()函数输出字符:" << endl;
cout.put(ch); // 句... |
e32730186cd24b5efc6bbb41a271ddcf13399e6a | 98a28d1727be1ad2cdc60aa08e6c1a48c42c950b | /source/utilities/thread_pool.hpp | 0720fdce0c8c399872109a5d3795d1f4f3150939 | [
"BSD-3-Clause"
] | permissive | coder0xff/Plange | 154b926fa9be2bf52d3575272548cedd7e3cb9f3 | 26535f6c72d7ab0aaf753218ddbf3f4ad16283f7 | refs/heads/master | 2021-01-24T06:02:47.900282 | 2020-06-08T16:02:34 | 2020-06-08T16:02:34 | 45,961,377 | 16 | 5 | BSD-3-Clause | 2018-11-06T00:40:22 | 2015-11-11T05:17:50 | C++ | UTF-8 | C++ | false | false | 1,200 | hpp | thread_pool.hpp | #ifndef INCLUDED_UTILITIES_THREAD_POOL_HPP
#define INCLUDED_UTILITIES_THREAD_POOL_HPP
#include <atomic>
#include <condition_variable>
#include <functional>
#include <mutex>
#include <queue>
#include <thread>
#include <vector>
#include "wait_flag.hpp"
class thread_pool {
public:
static thread_pool & default_pool();
... |
cb2c6465c97a6bc722f149e920b6768f2742e22d | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/Basic-Dynamic-Mesh-Tutorial-OpenFoam/TUT16rotating/2.82/epsilon | e398a9316cb8aa87af1ed2e2c77f4012456d3766 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,104 | epsilon | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
f2848045c87ffca337540bdd2eb0aaed49b4dbc8 | 34ee115a5b12ee92e67943346ba2d99668373401 | /modfile/records/obwrldrecord.cpp | b4417ebdf9aced8e0d90422cda30e9d444bbdefd | [
"MIT"
] | permissive | uesp/tes4lib | 5745493180c16a3b89ba30a721c9bcd4de610489 | 7b426c9209ff7996d3d763e6d4e217abfefae406 | refs/heads/master | 2021-05-21T03:57:53.664107 | 2020-04-02T18:20:23 | 2020-04-02T18:20:23 | 252,532,347 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,993 | cpp | obwrldrecord.cpp | /*===========================================================================
*
* File: ObWlrdRecord.CPP
* Author: Dave Humphrey (uesp@sympatico.ca)
* Created On: April 12, 2006
*
* Implements the CObWrldRecord class for worldspace records.
*
*============================================================... |
0b758adc5e32e24b12d7b01f5e50d4f7b2fc5a7c | 4060dfd3ee62b32ecf287944ebbc38ef889f5fca | /Array/442. Find All Duplicates in an Array.cpp | b3fd37092187aa40a32883db436856bd4a68430d | [] | no_license | Sensrdt/Leet-Code-Sol | e5cd6b25a6aa9628f1d311d02ad03c4a435fe47c | 893d0614849b2416d920929e0ee1156b6218c6b9 | refs/heads/master | 2020-07-01T15:12:07.546062 | 2020-06-07T13:34:55 | 2020-06-07T13:34:55 | 201,206,677 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | 442. Find All Duplicates in an Array.cpp | class Solution {
public:
vector<int> findDuplicates(vector<int>& nums) {
int n = nums.size();
map<int, int> mp;
vector<int> a;
for (int i=0; i<n; i++)
{
if (mp[nums[i]] == 0)
{
mp[nums[i]]++;
}else{
... |
6e678b5faae8fd465162e4574d631334a9feb88a | 010aa4175ee4f08b73baf60d1546bd101edf97ce | /LibDomoticPi/srcs/DomoticNode.cpp | df8a8cfd93551494327c8c5bbed252d2d2217c63 | [] | no_license | Ansaya/DomoticPi | 5e5ffabde718722642e525afc2ed6b0d42cea0ac | 77fae3bcf4dab8b1d0793ebdb6250ebdecb0a64e | refs/heads/master | 2020-03-15T08:38:48.830037 | 2018-11-04T07:54:54 | 2018-11-04T07:54:54 | 132,056,010 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,390 | cpp | DomoticNode.cpp | #include <DomoticNode.h>
#include <domoticPi.h>
#include <exceptions.h>
#include <IInput.h>
#include <InputFactory.h>
#include <IOutput.h>
#include <OutputFactory.h>
#include <SerialInterface.h>
#include <algorithm>
#ifdef DOMOTIC_PI_APPLE_HOMEKIT
#include <hap/libHAP.h>
#endif // DOMOTIC_PI_APPLE_HOMEKIT
using name... |
4f77d0529f7611820f0474d090070d0d36f2dd12 | 7ca235ddecbbc97a5e7ba2993769cda9363c4930 | /Project0/Animation.cpp | 501480eea39d688119cf30778c7bc3a8ccd639d7 | [] | no_license | syonker/KeyframeAnimation | 1cfb541b4698752771fc5d3844ee1cac95ba4bbc | c86a81ab2777d63143101205d90aacd91ca66e8c | refs/heads/master | 2021-03-22T02:55:50.796542 | 2018-04-03T05:19:15 | 2018-04-03T05:19:15 | 120,973,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cpp | Animation.cpp |
#include "Animation.h"
Animation::Animation() {
}
Animation::~Animation() {
}
bool Animation::Load(const char *file) {
if (file == "") {
file = "../animations/wasp2_walk.anim";
}
std::cerr << "file: " << file << std::endl;
Tokenizer* token = new Tokenizer();
token->Open(file);
//get initial params
t... |
ae023b1cf03c07b66a425695f09b503000cc3c5b | 0b067d0fbdec4c91f11d58834b41648d587e4ae8 | /teensy-sketch.ino | 95ad75a0ce8857aeca30f4c072da903b74339eea | [] | no_license | jotamjr/3dof_imu_tracking | f1acf3b3a158ea90c520a9ad6911f819e4cd284a | ee0f9cf3cdc5e4e32262fffecd3934df4c54baae | refs/heads/master | 2020-12-30T23:35:38.114480 | 2017-04-16T22:47:00 | 2017-04-16T22:47:00 | 86,605,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,871 | ino | teensy-sketch.ino | //
// Description: Simple 3 axis joystick using the LSM9DS1 sensor
//
#include <Wire.h>
#include <SPI.h>
#include <SparkFunLSM9DS1.h>
#include <math.h>
// LSM9DS1 setup
LSM9DS1 imu;
#define LSM9DS1_M 0x1E
#define LSM9DS1_AG 0x6B
#define PRINT_CALCULATED
#define REFRESH_RATE 20
// Enable debug on serial
#define ON_... |
f7a2dff22e12b487f878c3b98db73020935cd528 | 32e8da727732ffc5ba6de149daf2a4ca0b57b292 | /Duskfall/Source/Duskfall/Characters/DuskfallCharacter.h | 9ea3f3adce9f628b8e8851c888f417b21f54b735 | [] | no_license | RoseBush1404/Duskfall | 3f8160c4f6c5bdff675d372eacee646c7bb5782a | 94532c78fd52872c9d681c3c25ec4311d866f661 | refs/heads/master | 2020-08-06T14:19:25.540441 | 2020-07-01T21:13:46 | 2020-07-01T21:13:46 | 213,003,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,788 | h | DuskfallCharacter.h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "Characters/CharacterControls.h"
#include "Characters/HealthSystem.h"
#include "Characters/CharacterGetters.h"
#include "Camera/CameraShake.h"
#include "DuskfallCharacter.ge... |
f8b9d0a80b04c1dc35a60632ccc67a4a75ebe304 | cbdaec7d7ff7e0d72a49b4338aadcfe58678a094 | /YJ/20200904/Graph/가장 먼 노드.cpp | 2eb4952e25b464e8ede2ef53f93cff6cd87c5efd | [] | no_license | peterhyun1234/Algorithm_team_BOJ | e17bda47d1080d5a289c9a59973a245d83fa4690 | 30efb9d0627e4143f4d887e833c4b2f77aab00e6 | refs/heads/master | 2022-12-10T16:11:43.995299 | 2020-09-16T14:43:18 | 2020-09-16T14:43:18 | 278,537,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | 가장 먼 노드.cpp | #include <string>
#include <vector>
#include <queue>
using namespace std;
int solution(int n, vector<vector<int>> edge) {
int answer = 0, max_val = -2147000000;
queue<pair<int, int>> Q;
vector<int> graph[n + 1];
vector<int> chk(n + 1, 0);
for (int i = 0; i < edge.size(); i ++) {
graph... |
41cfd98071629a03fdb9797790465cc603a60548 | cdbce8b09cf43bf2e66e5e3437ae591262a55270 | /(4360) Software Engineering/ConsoleApplication1/ConsoleApplication1/Source.cpp | af9ce5eaecab0509761e9b7cc8d57eccf87c1403 | [] | no_license | tokenok/Visual-Studio-Projects | b82a53f141eff01eef69f119f55dabd8b52e803e | c3947dda48fdccdba01a21b0e5052b12a18fe2a6 | refs/heads/master | 2022-05-02T11:06:46.201991 | 2018-10-28T22:07:24 | 2018-10-28T22:07:24 | 89,531,738 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 628 | cpp | Source.cpp | #include <iostream>
#include <sstream>
#include <string>
#include <sapi.h>
#include <fstream>
ISpVoice *Voice = NULL;
HRESULT hRes;
std::wstring str_to_wstr(std::string s) {
std::wstring w(s.begin(), s.end());
return w;
}
void init_voice_com() {
CoInitialize(0);
hRes = CoCreateInstance(CLSID_SpVoice, NULL, CLSCT... |
16d38ad02f40611e839636b8d264c893f3306f77 | 90689ab567acedb0b8ac606eceb2a8b49ffb6b0f | /RecordStore/Trade.cpp | 41461fda9f79638989596917bf5a386cadf3fa68 | [] | no_license | AndrewTVK/Programming_Projects | a07fbd5083277373e4c727a28cba07eb67408f15 | a841d3745cbc370fa87f5521dd2f3fb15e98eb08 | refs/heads/master | 2021-01-24T17:48:01.198518 | 2017-12-15T21:00:48 | 2017-12-15T21:00:48 | 50,820,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | Trade.cpp | //Trade.cpp
//Author: Andrew VanKooten
//Description: Derived class that derives from Transaction that stores a trade transaction
//Assumptions: Appropiate files are included
#include "Trade.h"
Trade::Trade()
{
}
//Overloaded Constructor
//Description: the info in descriptions will be added to the protected members i... |
c4e5646e942770e28c4d259e455a15a741d4f3fd | 5ddca05617a40ff1f20832c5f50916cbe850c61f | /sch/Scheduler.h | 963e80ae48a999f60108bcf96f318114f10a9695 | [] | no_license | arikolsh/sch | faf09e3d3b4f025e60a1fa0ac1a2f25fc066dbe0 | 7d538850c4ffd8b492e858dfa240b845ce3e1587 | refs/heads/final | 2021-01-23T04:30:11.308756 | 2017-06-11T14:32:03 | 2017-06-11T14:32:03 | 92,930,702 | 0 | 0 | null | 2017-06-11T09:34:06 | 2017-05-31T09:43:11 | C++ | UTF-8 | C++ | false | false | 1,395 | h | Scheduler.h | #pragma once
#include "SchedulerData.h"
#include <fstream>
class Scheduler
{
public:
explicit Scheduler(std::string schedulerType, int weight, int quantum);
~Scheduler();
bool init(const std::string& inPath, const std::string& outPath);
void run();
/* Get packet from file and put in appropriate queue in dataStruc... |
87166c3040dadfbce45843f757d32e6b35eb3dc5 | 3eaf76b85f0109a422d301fe431c5601fad007cd | /cookoff_1.cpp | 6aade82845d57754fda8ebdf9f3269eecd930014 | [] | no_license | apsc/Competitive_Programming | 7dda3eb61a1fbb9b84a7b22f758d856cb61cfc9f | fce9cac47a0e3d97d1d1c7c9332bcd1e1fba2ee1 | refs/heads/master | 2021-01-20T21:53:16.948844 | 2013-05-04T17:59:03 | 2013-05-04T17:59:03 | 7,189,483 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | cookoff_1.cpp | #include<stdio.h>
int main(){
int t,a,b,c[110],sum,temp,flag;
scanf("%d",&t);
while(t--){
int i;flag=0;
for(i=0;i<=109;i++)c[i]=0;
sum=0;
scanf("%d%d",&a,&b);
i=a;
while(a--){
scanf("%d",&temp... |
99f1105b0959fa552f96a942277ce77cf0b39df9 | 0bff4b1aecddd53ab393c9787228483cb2a556aa | /src/utils/ServoDiagnostics.cpp | bf77cddacc003e541892e9f5542cee23a8346161 | [
"MIT"
] | permissive | PEQUI-MEC/HUMANOID-MBED | 9e8486de79d7f205247f6f4bd5fdbcdbd6252307 | ba5eef581315aa04b171fbc27c7fb0d2475985fc | refs/heads/master | 2021-08-07T18:38:31.660626 | 2019-01-08T19:40:11 | 2019-01-08T19:40:11 | 132,956,472 | 1 | 0 | MIT | 2019-01-08T19:35:22 | 2018-05-10T21:32:01 | C | UTF-8 | C++ | false | false | 2,314 | cpp | ServoDiagnostics.cpp | #include "ServoDiagnostics.h"
#ifdef CFG_X
// TODO: Ler a posição de vários motores
// TODO: Controlar a posição do motor atraves da serial do pc
ServoDiagnostics::ServoDiagnostics(PinName tx, PinName rx, int baud) {
this->tx = tx;
this->rx = rx;
this->baudRate = baud;
this->serial = new BufferSerial(tx, rx... |
448abaeb5bf0155ea894f48cdb2a8356f016f9b5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_1853_httpd-2.0.58.cpp | fde6c0fbdc55761cf45fa03fe88597346478e8a7 | [] | 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 | 747 | cpp | httpd_repos_function_1853_httpd-2.0.58.cpp | const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips)
{
char *host, *scope_id;
apr_port_t port;
apr_status_t rv;
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
if (err != NULL) {
return err;
}
rv = apr_parse_addr_port(&host, &scope_id, &port, ips, cmd... |
76c01bcfc5223ede63d8168116dd0dea6d8120fc | 1c25c11c16492e9f9202b797203a6ac75ebef6e5 | /src/Camera.cpp | fabcbb10bdae4fba842045389d38fd0b4b02b48e | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | bernhardmgruber/hlbsp | 2fabd9d66ca69ae1f04f73fe393efa7a33897c27 | a2144818fb6e747409dcd93cab97cea7f055dbfd | refs/heads/master | 2021-07-19T03:15:25.849155 | 2020-04-27T23:34:13 | 2020-04-27T23:35:50 | 144,419,170 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | Camera.cpp | #include "Camera.h"
#include "global.h"
#include "mathlib.h"
Camera::Camera(PlayerMove& pmove) : pmove(pmove) {}
auto Camera::viewVector() const -> glm::vec3 {
return pmove.forward;
}
auto Camera::viewMatrix() const -> glm::mat4 {
auto& pitch = pmove.angles.x;
auto& yaw = pmove.angles.y;
auto& pos... |
9c1427b8aee2f07378e80bc28c4df31b95a2f762 | fdf08b05ff4c660e183739dbc18009d0a9b8a49a | /OpenTESArena/src/Audio/AudioManager.h | 904dc3d54e591fed13867720d90225df48e0ed63 | [
"MIT"
] | permissive | afritz1/OpenTESArena | f67c4f6ee8981ef3bffbfe5894e2b48d67554475 | 7e91599157e2b9268237b6689f691d29e89b1d74 | refs/heads/main | 2023-08-31T09:25:21.908575 | 2023-08-27T01:24:29 | 2023-08-27T01:24:29 | 50,629,945 | 942 | 100 | MIT | 2023-08-21T03:42:36 | 2016-01-29T02:07:08 | C++ | UTF-8 | C++ | false | false | 4,741 | h | AudioManager.h | #ifndef AUDIO_MANAGER_H
#define AUDIO_MANAGER_H
#include <deque>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include "al.h"
#include "Midi.h"
#include "../Math/Vector3.h"
// This class manages what sounds and music are played by OpenAL Soft.
class MusicDefin... |
cc6a09ae5346c31c12ae18b34fe96758631084f0 | fa640678cd5d8a4e65798300da94d02c795b137a | /src/track.cpp | 77a7fe5271854a585124ed4af0ddea26ebf6a2f3 | [] | no_license | cjquinn/rollercoaster | e5917bfdc4d3245c88a5b457a5675fe34c2e435d | 401213a3fc3f82ee5fa8b967f6b19c4bc597b6ee | refs/heads/master | 2021-04-11T16:55:47.042356 | 2020-03-23T02:37:30 | 2020-03-23T02:37:30 | 249,038,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,922 | cpp | track.cpp | #include "track.h"
#include <iostream>
#include <fstream>
#include "canvas.h"
#include "circle.h"
#include "frame.h"
#include "lighting.h"
#include "matrixstack.h"
#include "mesh.h"
#include "shaderprogram.h"
#include "spline.h"
#include "support.h"
#include "texture.h"
#include "vertex.h"
Track::Track() : mesh_(NUL... |
388774765e1ce359f37548786eb3d1f320835a2c | 42a2966d8e8a75c615f2171502932611f9d7fd96 | /Lab4/Student_Code/ORDeque.h | c6151fc0d1d32806e914e3759b1f361f9d24d069 | [] | no_license | tebbsja/cs235 | 7d68d12709b0ba328c54acad2f6acb783f32aefd | 4d92a877cf07c6784185231c72d0b69606571437 | refs/heads/master | 2021-01-10T21:55:10.728618 | 2015-12-10T10:20:54 | 2015-12-10T10:20:54 | 42,635,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | ORDeque.h | //
// ORDeque.hpp
// Lab4
//
// Created by Austin Tebbs on 10/20/15.
// Copyright © 2015 Austin Tebbs. All rights reserved.
//
#ifndef ORDeque_h
#define ORDeque_h
#include "LinkedList.h"
#include <stdio.h>
class ORDeque
{
private:
LinkedList <int> my_ordeque;
public:
bool exists(int car);
bool ... |
8c4085412e7413d7d54aa4477daeee28041d7e2a | a5bd3c4316afcf2c3e347bf76ffa4fd3d00322ed | /Person.h | 5356f1f8a861f6a4fa729dcc4a6fdb03d0deec01 | [] | no_license | eif-courses/searchingTechniques | 7e4ddd16f4fc0cbf16738abc6e39c717ce963add | 27c0f2af987745ede108545c471ae0b4191f4516 | refs/heads/master | 2021-05-18T12:15:04.802231 | 2020-03-30T08:05:24 | 2020-03-30T08:05:24 | 251,240,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | Person.h | //
// Created by Marius on 3/28/2020.
//
#ifndef SEARCHINGTECHNIQUES_PERSON_H
#define SEARCHINGTECHNIQUES_PERSON_H
#include <iostream>
class Person {
private:
std::string name;
std::string address;
std::string skills;
int age;
int id;
public:
Person(const std::string &name, const std::string &address, co... |
1fd3b44fbf0f4e8c9da97b6c09e9420d3a07047a | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /ash/assistant/util/assistant_util.cc | 8875bcacfb89eb36ba52d58dcf45ff080612b194 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 3,144 | cc | assistant_util.cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/assistant/util/assistant_util.h"
#include <string>
#include "ash/assistant/model/assistant_ui_model.h"
#include "base/strings/string_util.... |
4756278c06edee14a3782d1abc8f55bc04145a1c | f1847ef548e507e5ee4b5bfd65e5d521b15f2b5c | /DX11_Framework_custom/GameView.cpp | d27e373d3f5964f492ac891ffe7b22781ddcb3dc | [
"Artistic-2.0"
] | permissive | mister51213/EscapeNY | 0c98425935c896125505d6bea8326d3caf9ca825 | f537728012a2d9d310d98e8ecbcf7886d2c4755d | refs/heads/master | 2020-04-15T12:47:38.343623 | 2016-12-06T12:33:47 | 2016-12-06T12:33:47 | 63,054,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,389 | cpp | GameView.cpp | #include "GameView.h"
#include "D3DGraphics.h"
#include "Camera.h"
#include "Graphics.h"
#include "Model_TexturedNM.h"
using namespace DirectX;
using std::vector;
GameView::GameView()
:
m_pGfx( nullptr ),
m_pD3D( nullptr ),
m_pCam( nullptr )
{}
GameView::GameView( Graphics * pGfx, D3DGraphics * pD3D, Camera* pCa... |
c76bf7a44b3432d073126448aaedcc5825c183b0 | 43d70c3eac5af55e68628c01b3d442c1bda6fb4c | /Main.cpp | 6796340a625e6f0f79e03768e64e515035634973 | [] | no_license | AlixDeMitchell/OOT3 | e5b3d7ed7be8ef07e569ea5b1211e15147967312 | 60434a17f54b233584af9c48466e16731b6978e4 | refs/heads/master | 2021-01-18T16:42:50.336514 | 2017-04-02T15:12:21 | 2017-04-02T15:12:21 | 86,758,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | Main.cpp | #include <iostream>
#include <SDL.h>
#include <time.h>
#include "Application.h"
int main( int argc, char* argv[] )
{
srand( time( 0 ) );
Application app;
app.Run();
system("PAUSE");
return 0;
}
|
ca4cf181b823e300aec0345c2acea6d24885bfea | c6b920f08a4615a7471d026005c2ecc3267ddd71 | /adapters/Lammps/src/Glue/LammpsSimulationAtomTypeEvent.cpp | 16801a246bb504f928c986d3c3ca294f3db7d026 | [] | no_license | etomica/legacy-api | bcbb285395f27aa9685f02cc7905ab75f87b017c | defcfb6650960bf6bf0a3e55cb5ffabb40d76d8b | refs/heads/master | 2021-01-20T14:07:57.547442 | 2010-04-22T21:19:19 | 2010-04-22T21:19:19 | 82,740,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | LammpsSimulationAtomTypeEvent.cpp | /*
* LammpsSimulationAtomTypeEvent.cpp
* API Glue
*
*/
#include "stdio.h"
#include "LammpsSimulationAtomTypeEvent.h"
namespace lammpswrappers
{
LammpsSimulationAtomTypeEvent::LammpsSimulationAtomTypeEvent(IAPISimulation *sim, IAPIAtomType *atomType) :
... |
905489ab6f348b1abde9900f9dd1b866087413ba | a3633c36af37b55d6edc3c350214bd73ecced955 | /src/main.cpp | 3f19abbd3d9e23441364d6803327d9081c09d323 | [] | no_license | rblack42/cosc1337.LinkedList | 306935ffd5f5206368010e59be6dcfdd2d37351e | 84db7a455e86daced40f2e01d2b6e12a29d1ed19 | refs/heads/master | 2021-01-10T05:40:40.036654 | 2018-11-27T00:17:08 | 2018-11-27T00:17:08 | 46,250,221 | 1 | 4 | null | 2015-11-29T06:49:28 | 2015-11-16T03:38:15 | C++ | UTF-8 | C++ | false | false | 213 | cpp | main.cpp | #include <iostream>
using namespace std;
#include "List.h"
int main( int argc, char *argv[] ) {
cout << "I-35 Simulator" << endl;
List list;
list.addItem(1);
list.addItem(2);
list.print();
}
|
6560ef7c4242c886376b4f4bf59f0bc2b74626c6 | f902d377709a401d6f60e8d31ea4208d553bbaab | /kesimoLinear.cpp | 0a154773741c6072de41d3b9ae4dfddcf22ea6c3 | [] | no_license | brunoolivieri/paa_pph | 5453dc66378579d810878f3beedba8609152d6cc | f36bda5feca6a49975d972ff7c9b9dc54039de19 | refs/heads/master | 2021-05-15T02:12:42.788207 | 2020-04-10T20:27:32 | 2020-04-10T20:27:32 | 10,551,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | kesimoLinear.cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include "PPH.hpp"
using namespace std;
vector<parOrdenado> partition(vector<parOrdenado> &val, float chave){
vector<parOrdenado> lDireito; //Lado Direito da chave
unsigned i;
for(i=0; i<val.size();i++){
if(val[i].razao>chave){
... |
a7f1e7dd4f4e179397180adb1e8ccd309021ca7f | 332ed17335021d727419a0baf7f1e0c4566af3f7 | /examples/kaleidoscope/src/AST.cpp | f17b5e61261604194262b80e62a38285fdcc10b1 | [
"BSL-1.0"
] | permissive | Ef55/tfl | 65b96b246ce276c2aaee5ba36a02368d2fd1e105 | b670c1552181477e61d5e8b1d76263120e836e80 | refs/heads/main | 2023-07-27T18:51:18.696409 | 2021-09-12T17:13:47 | 2021-09-12T17:13:47 | 392,842,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | cpp | AST.cpp | #include "AST.hpp"
ExprAST::ExprAST(internal::ExprASTImpl* ptr): _ast(ptr) {}
ExprAST ExprAST::number(double v) { return ExprAST(new internal::NumberExprAST(v)); }
ExprAST ExprAST::variable(std::string const& name) { return ExprAST(new internal::VariableExprAST(name)); }
ExprAST ExprAST::op(char op, ExprAST const& lef... |
3c82055407f661977782d71cc1907256d2a44252 | d5ed8054e51064609d7419f2a5c353aae9c05a3d | /drzewa_binarne/treap.cpp | 097bfaa5a01abb7f732192afe3913287ef860562 | [] | no_license | sytranvn/contest_library | fb78656275e8796c6cabda0e59bdc383ca2d7922 | 8366247f7061d3b960a8dff030a69ed066efd734 | refs/heads/master | 2021-12-13T19:08:19.878001 | 2017-01-23T13:16:34 | 2017-01-23T13:16:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | cpp | treap.cpp | #include<cstdio>
#include<vector>
#include<cstdlib>
#include<algorithm>
using namespace std;
struct node
{
int val, weight,sz;
node *left, * right;
node(){}
node(int val):val(val)
{
weight = rand();
sz=0;
}
};
void update(node * u)
{
if(u==NULL)
return;
u->sz = (... |
c392ec74f02ee24af33e20052e912ce9142c55b0 | 9c43ff060585179340f7473288c584d50bbdc8e6 | /GenposBackOffice/DialogCashier.h | b6fff31066d31fa4ecaeb32649b9fe857623cd68 | [] | no_license | RichardChambers/genposbackoffice | 5d28af21cfaae173e7327a1e7629610c3f3f51d7 | ae009cfa7a9a80a409504f665433a8b118e77146 | refs/heads/master | 2023-02-18T14:59:04.752696 | 2023-02-08T22:31:39 | 2023-02-08T22:31:39 | 35,338,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 647 | h | DialogCashier.h | #pragma once
#include "afxwin.h"
#include "ListerCashier.h"
// CDialogCashier dialog
class CDialogCashier : public CDialog
{
DECLARE_DYNAMIC(CDialogCashier)
public:
CDialogCashier(CWnd* pParent = NULL); // standard constructor
virtual ~CDialogCashier();
CListerCashier *SetListCashier (CListerCashier *p) { CL... |
3675676349244363a323c5d8eae6f9253189d694 | 3e757627e7d26c7acc02cd0cbba9d4b7d65e2fcb | /codes/MexConv3D-master/MexConv3D-master/src/maxpool3d.h | f4b3474c40d1580b79ce53f488c6b5419334971c | [] | no_license | MalindaVania/Deep-Learning | 865c3a3c49658bbeff62dde7b2d531c0cdc3bff6 | 234bf7bbe57d70483df4e32507cd5d0f16c3e0e0 | refs/heads/master | 2022-12-06T21:25:31.534760 | 2022-11-26T17:42:56 | 2022-11-26T17:42:56 | 88,481,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | h | maxpool3d.h | #pragma once
#include "wrapperMx.h"
#include <stdexcept>
//// the transformer
struct maxpool3d {
enum CALL_TYPE {FPROP, BPROP}; // way of calling
maxpool3d ();
virtual ~maxpool3d ();
// options
CALL_TYPE ct;
mwSize pad[6];
mwSize pool[3];
mwSize stride[3];
// intermediate data: max elements index
... |
64b99a5cbae4d343c247b8fd65b84fb7642b426e | 287379f12f30c6ebc687c8313966492be11d6750 | /Source/Rendering/VulkanRenderer.cpp | 2f57eeaf3049988d7762ff67d031de395cf316e9 | [] | no_license | kyapp69/Joe-Engine | 31f6a78354fa27d3ce4b02b90cbd742a6cab354c | 23ca970bc124bac31598d47bcf383eb445c276d7 | refs/heads/master | 2022-03-29T04:24:16.898432 | 2020-01-06T17:28:56 | 2020-01-06T17:28:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123,118 | cpp | VulkanRenderer.cpp | #include <map>
#include <vector>
#include <iostream>
#include "JoeEngineConfig.h"
#include "../EngineInstance.h"
#include "../Utils/ScopedTimer.h"
#include "../Containers/PackedArray.h"
#include "VulkanRenderer.h"
#include "../Scene/SceneManager.h"
#include "../EngineInstance.h"
namespace JoeEngine {
static void ... |
c767d369c17ff20adc16524db9d11f5421a60f1e | f2b3698dee07b64c5625a4c36958ec15f02efbeb | /hw/hw9_12019/12019.cpp | 5cbe658b7054355562212039ec733202cbd9c0f2 | [] | no_license | sally11131114/1092_AdvancedPrograming | c8736457787be03cfb4b02c72b4c6a1bed485150 | b35c1ec3a6e0404450542440c386b4d9548be752 | refs/heads/main | 2023-05-27T22:36:01.820925 | 2021-06-09T13:11:16 | 2021-06-09T13:11:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp | 12019.cpp | #include<iostream>
using namespace std;
int main(){
int n;
string A[7]={"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};
cin >> n;
while(n--){
int m, d;
int sum=0;
cin >> m >> d;
switch(m){
case 1:
sum=((d+5)%7);
... |
c0824e4312be94f6431c628de43037f5f779db4b | 53f9ff59695c108db968c9540646d5093d46bbd2 | /src/http/api_request_handler.cpp | 1229ab49b3b4a090f54385d2e97f33253e5c0bbf | [
"MIT"
] | permissive | hadouken/hadouken | a752fbf7cff875c9b1c959eb7fe4053eb7bf3ed1 | bb89164f324bb6a2c4a17c0d39a28f7a7f40bea9 | refs/heads/develop | 2023-08-22T11:09:48.046030 | 2018-09-24T14:38:11 | 2018-09-24T14:38:11 | 3,600,587 | 345 | 76 | MIT | 2022-10-10T15:38:29 | 2012-03-02T08:52:02 | C++ | UTF-8 | C++ | false | false | 1,250 | cpp | api_request_handler.cpp | #include <hadouken/http/api_request_handler.hpp>
#include <hadouken/http/connection_handler.hpp>
using namespace hadouken::http;
api_request_handler::api_request_handler(boost::function<std::string(std::string)> const& rpc_callback)
: rpc_callback_(rpc_callback)
{
}
void api_request_handler::execute(... |
46138cbe86ded5304e13abf1ccc2ea08c01e44af | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /vpc/include/tencentcloud/vpc/v20170312/model/VpcIpv6Address.h | dd3afff9e2fdd57c0d6932646b72f169d32a0bc7 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 5,621 | h | VpcIpv6Address.h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
40c4d72e7b7bb7b73ed8385f4ac68624fc4dc652 | a5a128d1e9b8540fcb89c624d67acd78fa7d5566 | /Client Base/Other/Module.cpp | f714cba5b227c2cf7af8ec249390a37d695d2786 | [] | no_license | xxAROX/Client-Base | 950b084a3e7c1174488714296e9f365fd2f4f86a | e9d0c9d6e44b1e7f6737051389aa8cfd8a6bae1a | refs/heads/main | 2023-02-05T06:11:41.503651 | 2020-12-27T07:06:52 | 2020-12-27T07:06:52 | 333,624,582 | 5 | 0 | null | 2021-01-28T02:38:52 | 2021-01-28T02:38:52 | null | UTF-8 | C++ | false | false | 414 | cpp | Module.cpp | #include "Module.h"
Module::Module(std::string name, std::string category, std::string description, uint64_t key) {
this->name = name;
this->category = category;
this->description = description;
this->key = key;
}
void Module::onBaseTick() {
onLoop();
if (wasEnabled != isEnabled) {
if (isEnabled) {
onEnabl... |
af52a07c6a3cbba72ae11847dc14916714c6d5e9 | 2f1c11174a361f444584bd084d9b4631318aa478 | /Core/FileRelation.h | 514ab27b1ffd8a38a7138640946103ec3e83e86e | [
"MIT"
] | permissive | jjzhang166/CZPlayer4 | 528a40dd3afbf41c04fb40dcc63d1746ce635128 | 4b290c95f718da1622a18b5aa02a3170b2467982 | refs/heads/master | 2021-01-22T20:50:21.532065 | 2016-06-14T14:43:02 | 2016-06-14T14:43:02 | 100,691,706 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,176 | h | FileRelation.h | /***************************************************************************
* Copyright (C) 2012-2015 Highway-9 Studio. *
* 787280310@qq.com *
* *
* This program is free software; you ca... |
1dcdf495e32b75263d5f9546cdd3e96e6bdbeaa0 | da1500e0d3040497614d5327d2461a22e934b4d8 | /net/base/hex_utils.cc | f6efcbefe16b9ac682cbe833ae4da1a8d7319e4e | [
"BSD-3-Clause"
] | permissive | youtube/cobalt | 34085fc93972ebe05b988b15410e99845efd1968 | acefdaaadd3ef46f10f63d1acae2259e4024d383 | refs/heads/main | 2023-09-01T13:09:47.225174 | 2023-09-01T08:54:54 | 2023-09-01T08:54:54 | 50,049,789 | 169 | 80 | BSD-3-Clause | 2023-09-14T21:50:50 | 2016-01-20T18:11:34 | null | UTF-8 | C++ | false | false | 1,616 | cc | hex_utils.cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/hex_utils.h"
#include <algorithm>
#include <cstdint>
#include <vector>
#include "base/strings/string_number_conversions.h"
#include "... |
f20f29b52aca243cb16790ca30f56a61a93e45dd | 6dffe04d4e5ef8737b81acee23515dc4a8d0946d | /DirectX9_Base/Source/Direct3D/sprite.h | 2185be16f8e7197789018d90e1e5eb3a023589e6 | [] | no_license | konkon317/DirectX9_Base | 7a43121184dd1f1d8fa971c457fddcd7d3a8ab2a | 45c1a99480e15789173f895117093b4caf590eb5 | refs/heads/master | 2021-01-20T02:47:11.710244 | 2018-02-01T17:44:10 | 2018-02-01T17:44:24 | 89,454,198 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | sprite.h | #pragma once
#include "Direct3D.h"
struct AnimationNum
{
unsigned int numU;
unsigned int numV;
};
//板ポリゴン頂点情報
//MSDN頂点フォーマットを参照 FVFの設定によって型、数、順番が決まる
struct SpriteVertex
{
float x, y, z; //3次元座標
float rhw; //2D変換済みフラグ スクリーン座標
DWORD colorDefuse;
float u, v; //UV座標
};
class Sprite
{
friend class Direct3D... |
6b3699012e4a4ab9273cff175a8d1f39d53b5834 | c9b0dcab4bcffe4315be0df4cd9055819dc469a8 | /document/program/C or C++/base/C++/C++_pro/╣╣╘ь║п╩¤/main.cpp | 1ab70698d65bf31fb5a7b7d14595c4caef32c4e8 | [] | no_license | exuuwen/study | 83250f1cde1afff937963912fdd026df2cf48bd0 | c92b937351c2084759cf0a11cc535f5fb97488a3 | refs/heads/master | 2023-04-09T21:34:31.042551 | 2023-03-27T09:28:00 | 2023-03-27T09:28:00 | 61,179,598 | 6 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | main.cpp | #include<iostream.h>
#include"Tdate.h"
void main()
{
Tutorpair tutorpair;
Tutorpair newone(12,3.7);
cout<<"back in main"<<endl;
} |
c07ad1270f1e04e4aeb57b48654ff3b37833dda5 | 7cd1c18ff71e7e2d4f63dd48a543ff9469281cf0 | /src/timer.cc | 058b50be474f2e2064e501cd4fe37880bb45f56e | [
"MIT"
] | permissive | jl2922/hci | 84eba44ca1209d3139f26f5ac94001cbb8aeef98 | 2806ad1f2cc0e100632eaaaf491670f928c9feec | refs/heads/master | 2021-01-11T16:10:59.773475 | 2017-12-22T18:26:31 | 2017-12-22T18:26:31 | 105,282,813 | 1 | 0 | MIT | 2017-12-22T18:26:33 | 2017-09-29T14:39:36 | C++ | UTF-8 | C++ | false | false | 3,366 | cc | timer.cc | #include "timer.h"
#include <chrono>
#include <cstdio>
#include <ctime>
#include <thread>
#include "injector.h"
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"
#define ANSI_COLOR_YELLOW "\x1b[33m"
#define ANSI_COLOR_BLUE "\x1b[34m"
#define ANSI_COLOR_MAGENTA "\x1b[35m"
#define ANSI_COLOR_CYAN "\... |
387f1d8d9ec9273b3f4bf7009fc7d4ff36460383 | b77217e0eee439f4d29d3937055853d6256b48e1 | /Source/SamsAdventure/TotemTrap.cpp | ee6a1f7cf7cf812ce5559ba3e8941ef1f941b3e0 | [] | no_license | AppliedOnce/SamsAdventure | af92428bb177beb2f3e5ed9e52c840c6ecfd3ebb | 969355b19d4ca0f1722f73947cd04f0895f3c288 | refs/heads/main | 2023-05-04T17:07:28.924701 | 2021-05-21T07:11:22 | 2021-05-21T07:11:22 | 347,060,113 | 1 | 0 | null | 2021-05-21T07:11:23 | 2021-03-12T12:33:51 | C++ | UTF-8 | C++ | false | false | 2,383 | cpp | TotemTrap.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TotemTrap.h"
#include "AIController.h"
#include "MainCharacter.h"
#include "Components/SphereComponent.h"
#include "EnemyBullet.h"
ATotemTrap::ATotemTrap()
{
// Set this pawn to call Tick() every frame. You can turn this off... |
1fcefb5e0d326480987e220d21d41265c8a3fc42 | 10ccd1db2028f183aa8faff25058405731cdfd47 | /src/programs/SingleColorSweepEndToStart.h | 6c2b86af386d3de76c68ee0538ffbbf3f6dbcce7 | [] | no_license | KevinVanthuyne/arduino-rgb-led-tubes-controller | 41b945df4efd196d59ea455ec08fabfd2c3cc8af | bf0e83bfd8a89a8aa2bb6adb1e71a75f62854771 | refs/heads/master | 2020-09-21T02:09:05.464369 | 2019-12-06T21:25:38 | 2019-12-06T21:25:38 | 224,649,353 | 1 | 0 | null | 2019-12-06T21:25:40 | 2019-11-28T12:32:27 | C++ | UTF-8 | C++ | false | false | 2,088 | h | SingleColorSweepEndToStart.h | #pragma once
#include "Globals.h"
#include "Program.h"
#include "../Utils.h"
class SingleColorSweepEndToStart : public Program
{
public:
SingleColorSweepEndToStart() : Program(),
currentCycle(0),
currentColor(getRandomNumber(0, amountOfColors())),
... |
b305fbfb46ad93b199f0dd7034bbf9aca693845a | 04721d03a4bf0bdefcdd527d2d1c845af7850a14 | /Codeforces/514/C.cpp | 173f33e019198ce5dcdbe3e3d38d0c3ef3c0c4fd | [] | no_license | ArielGarciaM/CompetitiveProgramming | 81e3808fdb14372f14e54d1e69c582be9ba44893 | c7115c38b988b6bc053850f1024a8005eb24fcee | refs/heads/master | 2020-03-28T15:19:55.788844 | 2019-08-09T20:54:25 | 2019-08-09T20:54:25 | 148,581,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | C.cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> solve(int n, int f = 1)
{
if(n == 1)
{
vector<int> v = {f};
return v;
}
if(n == 3)
{
vector<int> v = {f, f, 3*f};
return v;
}
vector<int> res;
for(int i = 1; i <= (n + 1)/2; i++)
res.push_b... |
3118f1a1a6361af648edf9d88eec8c35a47aae62 | cd7ac6bed7dd48522bbea7e9b2fd54b11f930bc7 | /treap.h | 7f79194a76867b38373b74c91b787a9f18042053 | [
"Unlicense"
] | permissive | elsantodel90/treap | 0397c3d48cfd4d071722829317c759a3160e1378 | 20503c0575dc8914e25d7c836442d3b63f6ebe48 | refs/heads/master | 2021-01-10T12:35:40.138209 | 2015-10-26T02:52:14 | 2015-10-26T02:52:14 | 43,730,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,182 | h | treap.h | #include <iostream>
#include <cassert>
#include <cstdlib>
using namespace std;
// Convencion: esta la funcion foo(const T&), y su amiguita fooPointer(Nodo<T>*), que en general es llamada por la otra (y se puede usar de una perfectamente)
// Antes las sobrecargaba ambas como foo, pero en c++ un literal int... |
061f01f36f18e1c05c1f55e630d31ace0360a361 | f5ca6974e6686b20518073befdb3234ed062e82c | /plugins/zling/squash-zling.cpp | 23194cd3c57dd8f84451124c49e2d97948b753f5 | [
"MIT"
] | permissive | Dead2/squash | dff96c557cd6121e29ae723842a600a6d716d0db | 249c109b2afe39f7d529179b6a057821a3823447 | refs/heads/master | 2020-04-16T23:56:37.552138 | 2019-01-16T14:03:59 | 2019-01-16T14:03:59 | 166,031,371 | 0 | 1 | null | 2019-01-16T11:47:55 | 2019-01-16T11:47:54 | null | UTF-8 | C++ | false | false | 6,132 | cpp | squash-zling.cpp | /* Copyright (c) 2013-2016 The Squash Authors
*
* 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,
* modify, me... |
8568dd567cf0246569a87288c4dbad70ce375906 | f082493a8cbf47dc9f44b390f3a96df850123e25 | /maxQOriginalCode/release/lib/table.h | e462fa7032fa5f28352b8df6ad10190055d58bbe | [] | no_license | nakulgopalan/amdpTestRepo | 37d18372112378d85387537228137020e0518a3c | a4cc0d93943c8979b59439ef18027d5906dc7ba0 | refs/heads/master | 2020-02-26T15:27:36.730210 | 2016-07-21T16:18:58 | 2016-07-21T16:18:58 | 63,868,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,904 | h | table.h | //======================================================================
// File: table.h
// Author: Timothy A. Budd
// Description: This file contains the interface and implementation
// of the dictionary and table template classes.
//
// Copyright (c) 1992 by Timothy A. Budd. All Rights... |
f5da47f3b9826a4cd5f14851566fafa313baf242 | 067a54a335d900fbcb01c77205d1d45eb38fe7dd | /LightOJ/1421.cxx | aaae166a334203ca4a77ff973eab2ab87e54c7e3 | [] | no_license | pallab-gain/LightOJ | 997cf858d5af79f8de34fb8237a79e54f7f706f4 | 867186dcfcf9501797f8467c7ffa8cab87a7b197 | refs/heads/master | 2020-04-07T05:20:46.855100 | 2013-01-25T07:57:45 | 2013-01-25T07:57:45 | 3,844,699 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,584 | cxx | 1421.cxx | /*
* Author : Pallab
* Program : 1421.cxx
*
* 2012-03-05 23:23:34
* I have not failed, I have just found 10000 ways that won't work.
*
*/
#include <iostream>
#include <algorithm>
#include <vector>
#include <sstream>
#include <fstream>
#include <string>
#include <list>
#include <map>
#include <set>
#include <que... |
378f78eb8c80df6f35264b4f249c45d4b949aa9c | d13f4cf44fd53377a851198c9af825fbcf9197f9 | /adrival/utility/Optional.h | b8c5f7c127f7dd888ee21ccc03017fab388a2514 | [] | no_license | EndofDeath/Adrival | 5f311dec92a42df715b192e2087155cafcf627d5 | 38ad73f55bc54b66bf93f8b0aa845b03de60811b | refs/heads/master | 2020-06-08T12:30:01.380174 | 2019-10-13T09:23:20 | 2019-10-13T09:23:20 | 193,228,336 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,404 | h | Optional.h | #ifndef ADRIVAL_OPTIONAL_H
#define ADRIVAL_OPTIONAL_H
#pragma once
#include <type_traits>
#include <exception>
namespace adrival {
template<typename T>
class optional
{
using data_t = typename std::aligned_storage<sizeof(T), std::alignment_of<T>::value>::type;
public:
optional() : has_value_(false) {}
optional(co... |
1023a332c32b226eec9b939464a3fd309faa538f | 552c39141dab7cbc0c34245000291a46cdb41495 | /lte_enb/src/tenb_commonplatform/software/libs/common/mib-common/ValidatorT304ExpWaitTmr.cpp | b4030e8f18d03374e9987867fbccdf250a4b876a | [] | no_license | cmjeong/rashmi_oai_epc | a0d6c19d12b292e4da5d34b409c63e3dec28bd20 | 6ec1784eb786ab6faa4f7c4f1c76cc23438c5b90 | refs/heads/master | 2021-04-06T01:48:10.060300 | 2017-08-10T02:04:34 | 2017-08-10T02:04:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | cpp | ValidatorT304ExpWaitTmr.cpp | ///////////////////////////////////////////////////////////////////////////////
//
// ValidatorT304ExpWaitTmr.cpp
//
// See header file for documentation.
//
// Copyright Radisys Limited
//
///////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////... |
3f4596d9ee969132134aae2f3d6aaec1da285008 | 8e08d5352668b8c425f2d59c0ff31107307e7c91 | /dashp2p/deprecated/AdaptationMultihomed.h | 67661a00e1e1adc50776aedcadf80a6506dca652 | [] | no_license | konstantinmiller/dashp2p | 8d31bc5e0c1426b63dc3951cc6796451f8a209ae | 756e482478deaddaa1161c2afc6af76f7dd776dc | refs/heads/master | 2020-12-24T16:32:52.906072 | 2017-11-08T13:45:19 | 2017-11-08T13:45:19 | 6,349,015 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,566 | h | AdaptationMultihomed.h | /****************************************************************************
* AdaptationMultihomed.h *
****************************************************************************
* Copyright (C) 2012 Technische Universitaet Berlin *
* ... |
dfa56563b745dfa9f40dd31815346a31b4be577d | 737406e92b4ea6d6249c54f7e1854d806bb04c12 | /Image360/include/image360/StereoSphere.h | f64dec3e4f9f4902da29159744686a54587548dd | [] | no_license | sushilmiitb/coresdk | 0cd022821f74e959562f9b9ba35303d7db504f15 | 0a97a222408d58f33d5fd1c88af89c68d2c230fb | refs/heads/master | 2020-04-09T10:58:43.635289 | 2017-08-04T07:35:50 | 2017-08-04T07:35:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | h | StereoSphere.h | #ifndef IMAGE360_STEREOSPHERE_H
#define IMAGE360_STEREOSPHERE_H
/*
* This class is responsible to creating two spheres with 360 equirectangular
* stereo image texture mapped to it. These two image textures correspond to the
* left and right eye and are either Computer Generated or Captured with a
* stereo camera
*/
/... |
3b411b75ed62e71cee10f9c14e7f94154c099d26 | d998c866dc5e16d7c63dbcaf38cea7ad99354fd0 | /Enemy.cpp | 632fd7babf63a19e0374ef730d1f08d310b0fe3d | [] | no_license | valnica/MyReository | 6dc9e9e890fbfa8165a87554ae967a1a0bac7193 | 760595509ef5c18a2192a160a80c8eddcf446edd | refs/heads/master | 2021-01-12T07:05:48.187326 | 2017-01-10T16:22:26 | 2017-01-10T16:22:26 | 76,908,994 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,570 | cpp | Enemy.cpp | //////////////////////////////////////////////
// Name : Enemy
//
// Author : 山田 聖弥
//
// Date : 2017/1/10
//////////////////////////////////////////////
#include "Enemy.h"
#include "GameManager.h"
#include "Player.h"
#include "CollisionManager.h"
#include "Debug.h"
#define new new(_NORMAL_BLOCK, __FILE__, __LINE__)
... |
b54018201ed165016719fe1a814996b0c0a8222b | fb0f9abad373cd635c2635bbdf491ea0f32da5ff | /src/coreclr/pal/src/locale/unicodedata.cpp | 74ae79819bb6641a7b68ecc7f9b2bcef7eb20c93 | [
"MIT"
] | permissive | dotnet/runtime | f6fd23936752e202f8e4d6d94f3a4f3b0e77f58f | 47bb554d298e1e34c4e3895d7731e18ad1c47d02 | refs/heads/main | 2023-09-03T15:35:46.493337 | 2023-09-03T08:13:23 | 2023-09-03T08:13:23 | 210,716,005 | 13,765 | 5,179 | MIT | 2023-09-14T21:58:52 | 2019-09-24T23:36:39 | C# | UTF-8 | C++ | false | false | 78,525 | cpp | unicodedata.cpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "pal/unicodedata.h"
//
// THIS FILE IS GENERATED. DO NOT HAND EDIT.
// IF YOU NEED TO UPDATE UNICODE VERSION FOLLOW THE GUIDE AT src/libraries/System.Private.CoreLib/Tools/... |
507eb226ef145fc60e176d79aa13f4c24c71632f | 18f4fd21430bce43ab76503d8743d8c9a3123823 | /Beginners Problems/1387 - Setu.cpp | a70b1691a698a01d679d91454b62de836f19f574 | [] | no_license | tiny656/LightOJ | 1318fc258657f791c9fa386887ea19d101f803e4 | a712f943de1d9530a0ec7620cce2c50ad2653667 | refs/heads/master | 2021-05-05T05:55:54.548943 | 2019-10-07T02:58:30 | 2019-10-07T02:58:30 | 118,726,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | cpp | 1387 - Setu.cpp | 1387 - Setu
#define _CRT_SECURE_NO_DEPRECATE
#define _SECURE_SCL 0
#pragma comment(linker, "/STACK:66777216")
#define _USE_MATH_DEFINES
#include <algorithm>
#include <string>
#include <complex>
#include <cassert>
#include <memory>
#include <set>
#include <stack>
#include <map>
#include <list>
#include <deque>
#include ... |
3ec443f4d456c27817102e79559393ac28a51208 | 9d303fa2c0b486620fa02aa9cd581eab12c59550 | /pointerAndArrDiff/main.cpp | c548c09beb4a033045ddbb16e41a7113fc77484c | [] | no_license | coolkyo0/CPP_STUDY | e56cfb24d45bcfaa61e86fe3ef8e5009a1c4f9ca | a32566230c6bcfd0c5d69a26ea0149e6ef37b2df | refs/heads/master | 2021-06-20T11:40:38.074932 | 2017-07-22T02:37:13 | 2017-07-22T02:37:13 | 98,001,784 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,176 | cpp | main.cpp | /**
* 本例主要是为了比较指针与数组的区别,以及不同定义方式的数组是指针还是数组
*
*/
#include <iostream>
#include <stdlib.h>
using namespace std;
void charArrPointerDiff()
{
char arr1[] = "Hello World";
char arr2[20] = "Hello World";
char* parr1 = arr1;
char* parr2 = arr2;
char* parr1Incre = arr1 + 4;
char* parr2Incre = arr2 + 4;
cout << "pa... |
d94cb03e3aabe9e44df2677b804cc00721160dc5 | e016b0b04a6db80b0218a4f095e6aa4ea6fcd01c | /Classes/Native/System_Xml_System_Xml_XmlParserInput_XmlParserInputS25800784.h | aa5b4f4488650ac1a01708087af33dfa84287f07 | [
"MIT"
] | permissive | rockarts/MountainTopo3D | 5a39905c66da87db42f1d94afa0ec20576ea68de | 2994b28dabb4e4f61189274a030b0710075306ea | refs/heads/master | 2021-01-13T06:03:01.054404 | 2017-06-22T01:12:52 | 2017-06-22T01:12:52 | 95,056,244 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,344 | h | System_Xml_System_Xml_XmlParserInput_XmlParserInputS25800784.h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object2689449295.h"
// System.String
struct String_t;
// System.IO.TextReader
struct TextReader_t1561828458;
#ifdef __clang__
#pragma clang diagnostic p... |
ce4d880e28dee921f52b7e9d72a9e686c10263c6 | c97f0fce14725df8be7c15684d21eeecbf714d4f | /iDom_server_OOP/src/iDomTools/test/testJSON.h | f4267bedce4bada566a11e2c1295679315fcd975 | [] | no_license | cyniu88/malina | c806114b366ea7838bd878918c8ba90fa821f0e3 | 0d12dce8cadda1226bf78f6b9581b3ee68b89da6 | refs/heads/master | 2023-07-22T01:09:15.681678 | 2023-07-18T14:44:08 | 2023-07-18T14:44:08 | 42,704,120 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,756 | h | testJSON.h | #include "json.hpp"
class TEST_JSON
{
public:
nlohmann::json jj_noLightning = nlohmann::json::parse(R"({"success":true,"error":{"code":"warn_no_data","description":"No data was returned for the request."},"response":[]})");
nlohmann::json jj_lightning = nlohmann::json::parse(R"({"success":true,"error":null,"r... |
84171b7a03ae65dbc85aa8eead37913bacf24071 | 67f690395fa1023cb834bfe8b87d013900dbadf2 | /ZYBO/zybo_vivado_proj/zybo_vivado_proj.sdk/zyboApp/src/Screen/ScrSweepSettings.cpp | 08deb2fba792fb982765395734c0caf13cae4d17 | [] | no_license | eusebiuburlacu/WWS | a835f3fcba64e48d4d40afe0f52288cce3b1b1b9 | fe3fc4313021109937f2c5a2ebcf6df0c77ffee5 | refs/heads/master | 2021-01-10T12:06:55.445683 | 2016-05-03T19:02:46 | 2016-05-03T19:02:46 | 50,795,847 | 1 | 4 | null | 2016-02-19T11:58:09 | 2016-01-31T21:18:57 | C++ | UTF-8 | C++ | false | false | 936 | cpp | ScrSweepSettings.cpp | /*
* ScrSweepSettings.h
*
* Created on: 12.03.2016
* Author: Sebi
*/
#include "Screen/ScrSweepSettings.h"
#include "stdio.h"
#include "RF/mrf24j.h"
extern int arrayIdx;
extern Mrf24j RF;
extern unsigned long measuringFreq;
unsigned long freqSet = 5000;
ScrSweepSettings::ScrSweepSettings()
{
}
ScrSweepS... |
0b0da5376c4cd5774dc3a74cc1c82c65fcef75c0 | bda2f1a7b6db60444047c6930720440c2ed59599 | /C++_Base/src/showBits2.cpp | 255b42c66098f2f56ed1654525680a2b7fd7cbc5 | [] | no_license | Ansonjo/cpp | c9c7322c485d0b901762bd150f847c116639dc01 | 823d3f4acd5c702f557b0baf21130133f043e0f0 | refs/heads/master | 2021-06-14T06:30:05.667068 | 2020-06-09T07:50:54 | 2020-06-09T07:50:54 | 90,263,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | showBits2.cpp | #include <iostream>
using namespace std;
void showbits(int var)
{
typedef unsigned char uc;
uc* p = (uc*)&var;//得到第一个字节
for(int j = 0;j < 4;j++,p++)
{
uc byte = *p;
for(int i = 0;i < 8;i++)
{
cout << (0x80 & byte ? '1' : '0');
byte = byte << 1;
}
cout << ' ';
}
}//打印出来的是0x64 0x63 0x62 0x61,这就是小端系统... |
375cbd480a2ef1f64c2aedf92e5e222f3681e919 | fc56d34ba1cbf28fe55c7a20c9895d580fc91418 | /metaengine.cpp | f615568070cbce709ea79adabe322398dc37a72f | [] | no_license | Deledrius/scummvm-asylum | a2d842ebac7536264e09b8dd210d24a7feb26387 | ccff8974a87a9a6116393dbf1c295b9c2ed0c7a5 | refs/heads/master | 2021-07-17T14:19:24.988585 | 2021-03-22T12:00:56 | 2021-03-22T12:00:56 | 102,463,478 | 8 | 3 | null | 2021-02-12T12:35:46 | 2017-09-05T09:41:21 | C++ | UTF-8 | C++ | false | false | 2,892 | cpp | metaengine.cpp | /* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... |
bde4a7447e0924fdccf7bc67033efc64461ee87c | 5e50fcdef7ac87b11e61c27613b73b2e9891271e | /Iterator for Lsll/Iterator for Lsll/Node.h | e50f0b456622cc345ffb50a641bb0955bb891331 | [] | no_license | BilalAli181999/Data-Structures-in-C_Plus_Plus | 70dfd4b8d7dc72a69ff1d797f584517b3e4f80a1 | bbe6dad9763cd863c53086791f8b6bc4be09eaa7 | refs/heads/master | 2020-07-16T05:02:04.436346 | 2019-09-01T20:03:11 | 2019-09-01T20:03:11 | 205,724,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | h | Node.h | #ifndef NODE_H
#define NODE_H
template <typename T>
class Node
{
public:
T info;
Node<T> *next;
Node()
{
next = 0;
}
Node(T val)
{
info = val;
next = 0;
}
};
#endif
|
60e6eb3cb897f39c94452cc242340aa79512f267 | 4fd97ff64e457d41820348aebaea704ca4abc48b | /src/layers/legacy/medCoreLegacy/gui/commonWidgets/medComboBox.h | de336394c02114e53999a274037bf748b2ff0824 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Florent2305/medInria-public | c075b2064b2fe96081197ce300777be5be18a339 | 595a2ce62c8864c4ecb8acbf0d50e32aa734ed8f | refs/heads/master | 2023-08-08T00:41:51.671245 | 2023-04-12T07:46:33 | 2023-04-12T07:46:33 | 98,999,842 | 1 | 1 | BSD-4-Clause | 2021-05-31T08:38:28 | 2017-08-01T12:39:01 | C++ | UTF-8 | C++ | false | false | 886 | h | medComboBox.h | #pragma once
/*=========================================================================
medInria
Copyright (c) INRIA 2013 - 2020. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICU... |
cbf348bfe80ec1f4804a97c8b53dbd6d953632db | 00add89b1c9712db1a29a73f34864854a7738686 | /packages/utility/distribution/src/Utility_NormalDistribution_def.hpp | 16c4e65300201412211c219c82320675044351c1 | [
"BSD-3-Clause"
] | permissive | FRENSIE/FRENSIE | a4f533faa02e456ec641815886bc530a53f525f9 | 1735b1c8841f23d415a4998743515c56f980f654 | refs/heads/master | 2021-11-19T02:37:26.311426 | 2021-09-08T11:51:24 | 2021-09-08T11:51:24 | 7,826,404 | 11 | 6 | NOASSERTION | 2021-09-08T11:51:25 | 2013-01-25T19:03:09 | C++ | UTF-8 | C++ | false | false | 18,439 | hpp | Utility_NormalDistribution_def.hpp | //---------------------------------------------------------------------------//
//!
//! \file Utility_NormalDistribution_def.hpp
//! \author Alex Robinson
//! \brief Normal distribution class declaration.
//!
//---------------------------------------------------------------------------//
#ifndef UTILITY_NORMAL_DIST... |
2065098c9d97501084dcd475ca3ffb94ceaf37aa | 27168267643fa2e7b1ac347ed2b4d5cc9de8bdbf | /Libraries/ObjectItems/cObject_Channel.cpp | a9809485b17bdb55a665bbcfe66ce97eb9466567 | [] | no_license | hvanhorik-GDP/Master | f8c2b74c862963f78ee7ab987eec1e0a5b7860bd | 0ec2e27c306959ff19d0358cbe40878a8564f0dc | refs/heads/master | 2020-07-20T20:54:43.031754 | 2019-11-10T04:15:37 | 2019-11-10T04:15:37 | 206,706,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | cpp | cObject_Channel.cpp | #include "cObject_Channel.h"
#include "AudioEngine/cAudio_System.h"
#include "AudioEngine/cAudio_System_FMOD.h"
#include "AssetItems/cItem_Audio.h"
#include <iostream>
cObject_Channel::cObject_Channel()
: cObject_Common() // Need common items
, cObject_ChannelControl() // Full channel control
, cObject_3d... |
ef29241395c8d44fb76cc62074487e2d7dfd5992 | 81028f0cf4e470303c95f94be1189c59e416f95f | /URI/1552b.cpp | 143d20c62197d3dab828ea0325495e7f6be89a80 | [] | no_license | vandersonmr/ProgrammingContest | d82a1a429abd58773eebc83bc238430c649004f2 | 10936bd030c16efdc7cb59b3eb961287f6102cc0 | refs/heads/master | 2021-01-18T07:51:50.419599 | 2015-08-03T01:34:55 | 2015-08-03T01:34:55 | 12,670,094 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | 1552b.cpp | #include <iostream>
#include <stdio.h>
#include <math.h>
#include <set>
#define MAX 505
using namespace std;
typedef pair<int,int> ii;
typedef pair<double,double> dd;
typedef pair<double,ii> dii;
int pai[MAX], ranking[MAX];
set<dii> adj;
void unir(int a, int b){
if(ranking[a] >= ranking[b]){
pai[b] = a;
... |
5c9527bed162facf723382786b6843d669330dc0 | 2ab096890572411dad2c21db0ba4f18784f9b93a | /Arduino/Env_Sensor.ino | ae7286e666d7ad4356fd40b670bfaa71e99e554c | [] | no_license | YangBH-0/semina2020_2 | f77b8299c0808f3a675dc12e8771e551e31173ac | 9abce8f090258e52f1a701a0d91d435b52ba0231 | refs/heads/master | 2022-12-18T07:01:18.643110 | 2020-09-28T09:29:05 | 2020-09-28T09:29:05 | 290,708,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | ino | Env_Sensor.ino | #include <SoftwareSerial.h>
#include "DHT.h"
#define DHTPIN 2 // 디지털 2번핀 사용
#define DHTTYPE DHT11 // DHT 11 모델사용
DHT dht(DHTPIN, DHTTYPE);
int cds=0;
String arduino_num = "01";
SoftwareSerial BTSerial(4,5); // Rx, Tx
void setup() {
Serial.begin(9600); // 시리얼 모니터
BTSerial.begin(9600); // 블루투스... |
58bbc8281e80a12921aa3d03ce0586f6a315c5fd | 97cfb46f5088f24e459328d5581fe582889fbf74 | /Cell.cpp | 52d7d3622df32dcca2c9c75f4bbe2e7b7d8a77e5 | [] | no_license | rostislavts/OOP-project-FMI | e20c376becfb224634aad88817c49181ad2fd8a4 | 9d693eea6a8ab7d0d30b558d11fb3831406466cd | refs/heads/master | 2022-11-16T13:32:34.419300 | 2020-07-16T10:38:56 | 2020-07-16T10:38:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | Cell.cpp | #include "Cell.h"
Cell::Cell() { // invalid numbers
setIndexOfRow(-1);
setIndexOfCol(-1);
}
Cell::Cell(int indexOfRow, int indexOfCol) {
setIndexOfRow(indexOfRow);
setIndexOfCol(indexOfCol);
}
void Cell::setIndexOfRow(int row) {
this->indexOfRow = row;
}
void Cell::setIndexOfCol(int col) {
this->indexOfCol ... |
8a5758aa58316fe32562708fa35ab7f01f7b880b | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/ue/sys/gui/C_UniObjectCreator_1_TPL_E3497490.h | 75701bc32e8355e69350ad6f4ee877ed1e1973e8 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 590 | h | C_UniObjectCreator_1_TPL_E3497490.h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <ue/sys/gui/C_UniFunctor_1_TPL_978C1783.h>
namespace ue
{
namespace sys
{
namespace gui
{
/** ue::sys::gui::C_UniObjectCreator_1<ue::sys::gui::widgets::controllers::C_ComboBoxKey> (VTable=0x01E8A440) */
class C_UniObjectCreator_1_TPL_E349... |
8d33d50955ee3fb84402d2ab2d149be28218e97c | ffe43a8c5c4e79252eb7c36ccfd392343b22e69f | /kdecoration/breezeexceptionlist.cpp | 4e5bd6b26349ca1efb8eb0f4fbf58afe57908343 | [] | no_license | KDE/breeze | 3bed9e37c8081c888f6017120ad3a9200d71aea3 | 750ca9475c51eed769ed25042d0e8080f254b804 | refs/heads/master | 2023-08-19T20:31:36.200871 | 2023-08-18T11:31:22 | 2023-08-18T11:31:22 | 42,735,405 | 223 | 133 | null | 2022-08-09T15:46:43 | 2015-09-18T17:01:14 | C++ | UTF-8 | C++ | false | false | 3,447 | cpp | breezeexceptionlist.cpp | //////////////////////////////////////////////////////////////////////////////
// breezeexceptionlist.cpp
// window decoration exceptions
// -------------------
//
// SPDX-FileCopyrightText: 2009 Hugo Pereira Da Costa <hugo.pereira@free.fr>
//
// SPDX-License-Identifier: MIT
////////////////////////////////////////////... |
9bd8b49e655bf4f58c34f75242552ea1b6781c04 | b5a93fa4f4383bee43c7909f40773639d4302cfe | /ProjectImmunity/Editor/MapEditor.h | 304c2dbe67ff4e11e297de1b55659f63bc4a6601 | [] | no_license | rupee990/ProjectImmunity | 1150efc76382681550e188b9d04515ccc99c5050 | 6e58083956abfaa207b9e35573ef2f763776e6c1 | refs/heads/master | 2021-07-08T09:00:29.860946 | 2020-10-02T00:58:01 | 2020-10-02T00:58:01 | 185,951,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,579 | h | MapEditor.h | #pragma once
#include <vector>
#include <string>
namespace ru
{
class Map;
class Room;
class ResourceManager;
}
class Editor;
#define ButtonWidth 100
#define ButtonHeight 100
enum EditorTabs
{
TILEMAP = 0,
OBJVIEWER,
GENERATION
};
enum ToolStates
{
SELECT,
ROOM,
BRUSH,
ERASE,... |
09359bbc6bc826a4ee14161abed681056f3ec810 | 7c5d7fb6a64df1a118a64bdf6087ecf395a3a722 | /data/russia-team-h/sources/502-h-1.cpp | 5add010917e6ff5784a5c9860bc994a68446b082 | [] | no_license | alexhein189/code-plagiarism-detector | e66df71c46cc5043b6825ef76a940b658c0e5015 | 68d21639d4b37bb2c801befe6f7ce0007d7eccc5 | refs/heads/master | 2023-03-18T06:02:45.508614 | 2016-05-04T14:29:57 | 2016-05-04T14:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | cpp | 502-h-1.cpp | #include <iostream>
#include <cstdio>
#include <map>
#include <set>
#include <vector>
#include <string>
#include <cmath>
#include <algorithm>
using namespace std;
const int INF=1000000000;
int getint() {
int x;
scanf("%d",&x);
return x;
}
const int MAXN=5005;
const long long LINF=1... |
555e592abb2d99f6a0a4b34b8399b655d18f8806 | 92c6aab59941637526d7280220ca12660b11e8e0 | /GCPtr/GCPtr/main.cpp | 62b14af52f0a39a9ee66ae00083392f5016a0edb | [] | no_license | JodeZer/GarbageCollenction4CPP | aa569ce98a3483412adea96d7c112acb92b03a57 | 97e42c3daf6ab5d309512e4f6f58574521f19a39 | refs/heads/master | 2021-01-01T06:27:54.381109 | 2015-03-29T15:39:47 | 2015-03-29T15:39:47 | 33,021,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | main.cpp | #include <iostream>
#include "GCPtr.h"
#include "GCPInfo.h"
using namespace std;
void main(void)
{
list<int> l;
list<int>::iterator it;
it=l.begin();
/*int *p=new int(2);
int *p2=p;
GCPInfo<int> a(p,0);
GCPInfo<int> b(p2);
cout<<(int)(a==b);
p2=new int(2);
GCPInfo<int> c(p2);
cout<<(int)(a==c);*/
return... |
92c99d00a72aae9c07f7cc9b38361ecec33b4909 | 046f161cf8966b81bec442315f7e26e25d99c1ac | /SUB2.CPP | ea0ab1541ab8a1cf47df77c9ad9674394150366d | [] | no_license | Balaji4/LetUsCPlusPlus | 759a9e7a73462b90539d7305cabe3d95d77cd7e9 | 4da78b2f20f0575c13e21d7a1d1257da46e75cb8 | refs/heads/main | 2023-01-21T03:06:04.713810 | 2020-11-26T21:15:43 | 2020-11-26T21:15:43 | 316,336,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | SUB2.CPP | 79
89
78
99
67
87
66
77
55
76
67
85
92
86
97
88
76
66
57
76
80
75
64
76
73
82
91
88
90
74
83
72
95
88
99
66
78
98
56
74
71
92
85
71
74
79
80
90
83
69
95
88
87
86
84
90
93
91
80
90
80
98
65
75
69
95
88
87
86
84
90
93
91
80
90
90
74
83
72
95
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.