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
0d96e93bddf4c49516b3fc854069e49dd5e5faac
20ec1ffcb2cf45459b6abc81492331014f503878
/tool/packtool/conver/cpps/activity_oddsConfig.pb.h
231134e6c1b89fc9789514798d710c3765e5b745
[]
no_license
love19862003/fly-server
e5dd5bc57ecc9dc7c9f557989d8cfbc1f5ced7c3
02413ef5bb8ced32b7820028817e740272e667ce
refs/heads/master
2021-01-10T08:17:09.052383
2017-01-16T09:35:23
2017-01-16T09:35:23
45,825,761
2
1
null
null
null
null
UTF-8
C++
false
true
11,014
h
activity_oddsConfig.pb.h
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: activity_oddsConfig.proto #ifndef PROTOBUF_activity_5foddsConfig_2eproto__INCLUDED #define PROTOBUF_activity_5foddsConfig_2eproto__INCLUDED #include <string> #include <google/protobuf/stubs/common.h> #if GOOGLE_PROTOBUF_VERSION < 2005000 #error ...
0f59e7854bac089668fd2f03cd33cd3d3459f1d7
a3e1a101673c56e4ced1b5600612b25b145eb472
/beakjoon_algorithm/beakjoon_algorithm/programmers/Level1-서울에서김서방찾기.cpp
0aa08f937771ee960f0022c7eb62e0ef61b252f1
[]
no_license
gwanhyeon/algorithm_study
a95f3f2d559899f734b52d2d6e89d5f0125cebdf
f01af94919946e5adbdd7cb688cc2c1cf54cbbdc
refs/heads/master
2022-01-07T21:34:56.297147
2021-12-29T16:02:02
2021-12-29T16:02:02
162,471,977
0
0
null
null
null
null
UTF-8
C++
false
false
1,111
cpp
Level1-서울에서김서방찾기.cpp
// // Level1-서울에서김서방찾기.cpp // beakjoon_algorithm // // Created by kgh on 05/08/2019. // Copyright © 2019 kgh. All rights reserved. // #include <stdio.h> #include <iostream> #include <string> #include <vector> using namespace std; int main(void){ string str[1001] = {"Jane","kim"}; int siz...
01a257efb7af60bea8d6424528c5c510bdc76a54
b68b9e285b81bc82589f450b371435a27a4db32d
/btrees/btree-base.h
317d548b4decc6b90a0bee9a024189262a96b5c3
[]
no_license
mark-i-m/hot-spots
6cc1b77378a2f0a73232024ed27dc1a3c2ab6686
842d1f76df63e640d582626b9dbebb606353c812
refs/heads/master
2023-01-13T21:40:19.599529
2018-12-18T01:35:18
2018-12-18T01:35:18
153,299,464
1
0
null
null
null
null
UTF-8
C++
false
false
1,263
h
btree-base.h
#ifndef _BTREE_BTREE_BASE_H #define _BTREE_BTREE_BASE_H #include <stdint.h> namespace common { /* * A base class for thread-safe btree maps. * * All implementations should satisfy this interface. This helps with testing * and benchmarking. */ template <class Key, class Value> struct BTreeBase { // Insert th...
947dcaa88d4c98c48141e67f3c38efbdd0548f73
b3d06ec7ded7561b46c31b0d1576896c73552a64
/app/src/main/cpp/media_decoder.cpp
3ed49af860aec5e5bbed081b2709ebd43d7fe884
[]
no_license
ChyengJason/SPlayer
d7021726eacb6734192d7cb7c77abaf379f04e6e
d70e9b152e816cfc36bf519af5e447c16543195f
refs/heads/master
2020-04-01T01:48:48.048827
2018-11-12T14:18:28
2018-11-12T14:18:28
152,753,449
3
0
null
null
null
null
UTF-8
C++
false
false
16,716
cpp
media_decoder.cpp
// // Created by chengjunsen on 2018/10/12. // #include "media_decoder.h" MediaDecoder::MediaDecoder() { mformatContext = NULL; mVideoCodecContext = NULL; mAudioCodecContext = NULL; mVideoCodec = NULL; mAudioCodec = NULL; mVideoFrame = NULL; mYuvFrame = NULL; mAudioFrame = NULL; mSw...
e37d5ca711225f8b0fe31a33a9779435891e1f42
4fc10b326682128ff6a92a927c8ec44d71d08824
/src/devices/board/drivers/vim3/vim3-mali.cc
46def717733255b24befb1f5e263655ab605b3b5
[ "BSD-2-Clause" ]
permissive
dahliaOS/fuchsia-pi4
f93dc1e0da5ed34018653c72ceab0c50e1d0c1e4
5b534fccefd918b5f03205393c1fe5fddf8031d0
refs/heads/main
2023-05-01T22:57:08.443538
2021-05-20T23:53:40
2021-05-20T23:53:40
367,988,554
5
2
null
null
null
null
UTF-8
C++
false
false
2,359
cc
vim3-mali.cc
// Copyright 2018 The Fuchsia 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 <lib/ddk/binding.h> #include <lib/ddk/debug.h> #include <lib/ddk/platform-defs.h> #include <lib/ddk/hw/reg.h> #include <soc/aml-a311d/a311d-hw.h>...
9db9bce1182d4c5cb6606f378e2f1e3ea45d5ccb
7c8847c1e88242f4aa949853da87c957f86239dc
/bin/num_array_den_error_analysis.cpp
b9fff57482594d84b4e8fe4bba835423c7d960c5
[ "MIT" ]
permissive
hshi/thread_mc_data_manipulate_lib_hao_1
f90ee066e89d7fac6f99c31cab3b81ac59d4183c
c7031f4fd2f8fa8747eba3da37aebd5ade242ce7
refs/heads/master
2020-12-09T18:18:59.859456
2016-08-18T14:15:08
2016-08-18T14:15:08
52,981,468
0
0
null
null
null
null
UTF-8
C++
false
false
3,389
cpp
num_array_den_error_analysis.cpp
#include <math.h> #include <algorithm> #include <iomanip> #include <fstream> #include <complex> #include "error_analysis.h" #include "kahan.h" #include "tensor_all.h" #include "read_write_file.h" using namespace std; using namespace tensor_hao; int main(int argc, char** argv) { if( argc<6 ) { cout<<...
c24c2f7974861630ee84371c958672de6153d29e
c870d137d4e86026de017d29f9b8cba784b05027
/Handcard.cpp
d913176d00a773380f2d5052ffea3b8a3aeae84c
[]
no_license
voidism/Big-Two
304402701e882cd9344fe3af237c985e8699cf57
dbe3db0f3ced82666a9b6e89496090e857fd59b5
refs/heads/master
2021-01-25T14:26:43.360562
2019-01-02T11:12:02
2019-01-02T11:12:02
123,697,307
0
1
null
null
null
null
UTF-8
C++
false
false
34,581
cpp
Handcard.cpp
#include <iostream> #include <cstdlib> #include <string> #include "Pair.h" #include "Single.h" #include "Handcard.h" using namespace std; int Handcard::passnum=3; void Handcard::swap(Card& a,Card& b) { Card tmp; tmp=a; a=b; b=tmp; } int Handcard::min(int start) { int m=55,s=...
c4f276fb0c011213debc802807ad011da9edcaef
e3986436061b987c51ff97bfbf2efc21f5600045
/Задание/Zadanie 1.cpp
551398fa2c48bb44b27de52cdc52f282f01c50e0
[]
no_license
Artem22831/informatics_185_2020
20b10660ffe61f5625a1b6dc1c6427796460404a
38129137f28a48ff1f6441d02a6692d26bb7b967
refs/heads/master
2023-02-03T04:03:16.057665
2020-12-22T17:55:04
2020-12-22T17:55:04
306,718,938
0
0
null
2020-12-01T15:09:56
2020-10-23T18:38:39
C++
UTF-8
C++
false
false
906
cpp
Zadanie 1.cpp
#include <iostream> #include <cmath> //dlv-длинна вектора //edx,edy,edz-единицы x,y,z //sp-скалярное произведение //vp-векторное произведение //ev-единичный вектор using namespace std; float edv(float dlv, int a); int main(){ float edx, edy, edz; int x = 1; int y = 5; int z = 3; float dlv = sqrt...
f701d1dd47c65975a332ec9d705e018abad0c82e
702aa7364289f87d16e0fcbd163d648bd9cc4148
/Languages/C++/max_and_min.cpp
0109cdca0b4ea9b0626d2f96adf8ef256c47eb0c
[]
permissive
syyam/Hacktoberfest
f41cc5c1bafafb8fc4b577a4c34f58ca24d60e19
d58c6289d27aca2c728a5095078e6bc623937c5e
refs/heads/master
2022-12-30T23:37:52.748817
2020-10-06T09:21:27
2020-10-06T09:21:27
152,482,182
0
0
MIT
2018-10-10T19:59:15
2018-10-10T19:59:14
null
UTF-8
C++
false
false
550
cpp
max_and_min.cpp
// Program to find maximum and minimum of two numbers without using any loops or conditions #include<bits/stdc++.h> using namespace std; int main () { int first_number , second_number; cout<<"Enter first number : "; cin>> first_number; cout<<"\nEnter second number :"; cin>> second_number; cout<<"\nMaximum ...
4b3df6d675d1aaeb8e8a0ea3cc5ea1e177047339
05a8ec533c49dfbde253ef109546cea17230d831
/rost_summarizer/src/summarizer.hpp
5d5d71e52ad724885c04d6a176700a17c5cffe65
[]
no_license
mvlvrd/rost-ros
f861f60805e049692742d73e0583b8ff118292cb
e4605d4eb73b83575b89f1762410bf2392465d54
refs/heads/master
2022-04-22T08:26:35.960229
2013-06-13T23:40:00
2013-06-13T23:40:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,772
hpp
summarizer.hpp
#ifndef SUMAMRIZER_203920 #define SUMAMRIZER_203920 #include <iostream> #include <vector> #include <map> #include <cassert> #include <set> #include <limits> #include "boost/tuple/tuple.hpp" #include <cmath> #include <numeric> using namespace std; using namespace boost; template <typename T> class KLDistance{ public: ...
70623e26ce345d8dbf13c192eb5b6119de4f941f
1d3083251b43ee018d540dbd707c2d868c12b6b0
/2.7 Arduino Digital Output/2.7_ExerciseLineBlinkArray/2.7_ExerciseLineBlinkArray.ino
12d6c4b9e12da89ea9f2cd09813cb43f6ee6c9b7
[]
no_license
thinklabph/imakewemake2021
70dea8430e6c0f2c87ed185c5c1d05394dbd7170
aeea7c43249917363c0fb308fe8d22f6adf4e977
refs/heads/main
2023-09-06T09:41:13.427158
2021-11-19T10:10:13
2021-11-19T10:10:13
411,258,890
1
0
null
2021-11-19T10:10:13
2021-09-28T11:45:57
C++
UTF-8
C++
false
false
703
ino
2.7_ExerciseLineBlinkArray.ino
// Line Blink Using Arrays, Code by ThinkLab #define PIN_LED_RED 2 #define PIN_LED_GREEN 3 #define PIN_LED_BLUE 4 #define PIN_LED_YELLOW 5 #define PIN_LED_WHITE 6 int pinLedArray[5] = {PIN_LED_RED, PIN_LED_GREEN, PIN_LED_BLUE, PIN_LED_YELLOW, PIN_LED_WHITE}; void setup() { for (int i = 0; i < 5; i++) { ...
262ec11c8067b5fb7fb311da792a3ea4fa74c3a9
a10417092f4e47e98468d8d4f956f73d370e205d
/cs200_intro_to_programming/labs/lab6/task1.cpp
7fbf022f1d48e01b16a14df26b464006b9608b79
[]
no_license
ghanisol/lums
da36e8b052f00104bba35b1eaf51ed0eb2beaf73
0407dbbcf326ee58629de5059eff181ea1ee0f07
refs/heads/master
2020-04-03T09:42:45.386971
2018-10-31T21:59:07
2018-10-31T21:59:07
155,173,951
0
2
null
null
null
null
UTF-8
C++
false
false
1,187
cpp
task1.cpp
#include <iostream> #include <cstdlib> using namespace std; // prototype int* create2DArray(int rows, int columns); void set(int *arr, int rows, int columns, int desired_row, int desired_column, int val); int get(int *arr, int rows, int columns, int desired_row, int desired_column); int main() { int rows = 2, colum...
d4815d7d8be7265b0d013641546727fdb700d912
e7a8ab3898ef331ca11c63808c4d9449794308c2
/Competitve/C++/Professional Network/Professional Network/main.cpp
e0d29cf27696515ad1f077176efbac14f940465d
[ "MIT" ]
permissive
EdwaRen/Competitve-Programming
615695e00b13bda8024055f9634a7de30534977c
e8bffeb457936d28c75ecfefb5a1f316c15a9b6c
refs/heads/master
2021-06-06T11:23:18.758911
2021-05-29T14:27:04
2021-05-29T14:27:04
97,161,907
1
0
null
null
null
null
UTF-8
C++
false
false
1,001
cpp
main.cpp
// // main.cpp // Professional Network // // Created by - on 2017/06/26. // Copyright © 2017 Edward Ren-inc. All rights reserved. // #include <iostream> #include <algorithm> #include <array> using namespace std; int getFree(int arr[][2], int A, int n); int main(int argc, const char * argv[]) { int n = ...
56733187b6b99c8b821cc3d0bf5b2e9dc84b708b
80b10a9a27c4db09ea6659be03e9bf7b12e80255
/图论/tree/非递归后续遍历.cpp
bdab5dd119669a7b86a9b9a40f6922a5e8c904ee
[]
no_license
HhTtLllL/algorithm
e1d777672dc8abdac9207ed7ea4b17a4efcbe9f3
4e331cb6dd15d9a6b8ff6ce6b61fa3887a05f9f8
refs/heads/master
2021-09-06T20:50:24.157469
2021-08-11T11:49:41
2021-08-11T11:49:41
203,563,187
3
0
null
null
null
null
UTF-8
C++
false
false
2,041
cpp
非递归后续遍历.cpp
//################################################################## // File Name: 非递归后续遍历.c // File Effect: // Author: tttt // mail: tttt@xiyoulinux.org // Created Time: 2019年11月25日 星期一 19时15分58秒 //============================================================= //!/usr/bin/python /*二叉树的遍历* 2011.8.25*/ #include <stdio...
8e89a54aaa3af47f12b2a291807a6388bd8a4b88
bed42e15c9acb2cbd8f5fcf700659b4ebaa5791f
/x10abot/x10sions/Thermistor.h
3fb6fe71be441c613a85a6e4beb7e7fc05bf929d
[]
no_license
frazras/mphil-thesis
640c62c101c38b27ecffe270924a2535a25fa936
434ef911f329e2d52ba8e52432a77429de02b1d2
refs/heads/master
2021-06-14T15:34:06.679853
2017-08-30T13:39:13
2017-08-30T13:39:13
38,125,273
2
0
null
null
null
null
UTF-8
C++
false
false
796
h
Thermistor.h
#include "../X10ABOT_MB.h" #include <math.h> class Thermistor: public Sensor { private: byte _db, _port; public: Thermistor(byte db_address, byte port_number):Sensor(_db, _port){ _db = db_address; _port = port_number; } ~Thermistor(){}; double readThermistorCelcius() { //The ...
cda757c847dd1e4ae9aafdd49b93f52ed43290d9
fa1ad2e2ac7e376fc7cb3b3a6e1bb88eed3e80be
/olap/doris/be/src/util/doris_metrics.h
646a4449c0a47fc6928f7afb77117f6dd3e6c456
[ "OpenSSL", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-facebook-patent-rights-2", "PSF-2.0", "dtoa", "MIT", "GPL-2.0-only", "LicenseRef-scancode-public-domain" ]
permissive
alldatacenter/alldata
7bc7713c9f1d56ad6b8e59ea03206d1073b7e047
8d5f9a2d49ab8f9e85ccf058cb02c2fda287afc6
refs/heads/master
2023-08-05T07:32:25.442740
2023-08-03T13:17:24
2023-08-03T13:17:24
213,321,771
774
250
Apache-2.0
2023-09-06T17:35:32
2019-10-07T07:36:18
null
UTF-8
C++
false
false
9,548
h
doris_metrics.h
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
cdfe003bffe898d1bcc7a81e7c764c4195568eff
fe851af0193d8d6dce2d7bf0ef44c1da8f8cc31c
/REMember/inc/member.hpp
4fec92c966d193a4c1103a7c1a3b5235f8380df5
[ "BSD-3-Clause" ]
permissive
AirAKose/REMember
d7a23676ad4cb5a6614519f916198a2f1af55071
1248f63acb3a1a0cb7359c97acbb2f487c2caf84
refs/heads/master
2020-12-15T03:59:30.035732
2020-01-20T01:26:00
2020-01-20T01:26:00
234,987,631
0
0
null
null
null
null
UTF-8
C++
false
false
1,921
hpp
member.hpp
#pragma once #include "type_traits.hpp" template<auto Member, auto ... MemPtrList> constexpr inline auto& member_resolve_all(get_member_owner_t<decltype(Member)>* elem) { constexpr std::size_t remaining = get_count<MemPtrList...>::value; if constexpr (remaining == 0) { return elem->*Member; }...
8f6ba410faa31dadbc419802353cd91ed88df8d5
befe2a127a17398eb6b40bbda6d7e4ba63e37318
/Source/cupcakesinspace/Private/ShipObject.cpp
0d2f6b24ef2c6b454b74d8f36ac0e1cf7dd889af
[]
no_license
ndvalenti/cupcakes-in-space
92ebc2ec20b7c30220e7eccf6f7c6709a163b4ed
93063b6781af04f6ea7c445d26ed504011774fd7
refs/heads/master
2023-09-01T01:37:19.101463
2018-04-19T22:33:21
2018-04-19T22:34:05
109,074,231
0
0
null
null
null
null
UTF-8
C++
false
false
4,820
cpp
ShipObject.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "ShipObject.h" #include "GameStateManager.h" /*--------------------------PROTECTED FUNCTIONS--------------------------*/ UShipObject::UShipObject() : bSpawned(false) { } void UShipObject::InitializeShip(const FString& Type, const...
44fdcef4e7ce914bd9b836ed1b2291d58c0c0771
9d62bcbd0e6f4ce943d19e6ae13b4c2e70fed55d
/xeyes/x_eyes_main.cpp
b3e3c8b9794eaad408054217902ece49ccb28288
[]
no_license
stenniswood/bk_code
87ce26e032c1f1895c1c557c4e2ba4465a61b438
13535863decc23414854c08ebf8fc90c06a92fbd
refs/heads/master
2021-07-05T21:25:37.512024
2021-06-02T08:01:40
2021-06-02T08:01:40
25,167,429
0
0
null
null
null
null
UTF-8
C++
false
false
6,067
cpp
x_eyes_main.cpp
#include <cstdio> #include <string.h> #include <pthread.h> #include <unistd.h> #include <time.h> #include <sys/time.h> #include <sys/stat.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/opencv.hpp> #include <signal.h> #include "x_eyes.hpp" #include "serial.hpp" #inclu...
d6542919c9c8d5ee3ff9f0e10e510e6adbddf5c8
f01336c57bede29b6d51389c0addbab149e527a3
/src/application.h
da894e914785c06d9f1dd801a02d781deeba682f
[]
no_license
evgeny-averin/qmlcomponents
2e985db970f77c95c625605d9bac5c9353ca2e14
e30ab5adbbe2b00ce95553266a958d5a6d361a43
refs/heads/master
2016-09-11T10:26:50.974567
2015-07-03T15:49:31
2015-07-03T15:49:31
30,933,413
1
1
null
null
null
null
UTF-8
C++
false
false
7,115
h
application.h
#pragma once #include <QApplication> #include <QtQuick> #include <QFileSystemWatcher> #include <QDesktopWidget> #include <QResource> #include <QQuickView> #include <QQmlEngine> #include <QQmlContext> #include <QDebug> #include <QEventLoop> #include <QTimer> #include <QOrientationSensor> #include <QOrientationFilter> #...
e713ee267ec40b21117705b834fc8d4ed9207692
f0b7bcc41298354b471a72a7eeafe349aa8655bf
/codebase/libs/Spdb/src/WxHazards/ConvRegionHazard.cc
5ed851faf471b7d13fef092a0331c5b29bcaec5c
[ "BSD-3-Clause" ]
permissive
NCAR/lrose-core
23abeb4e4f1b287725dc659fb566a293aba70069
be0d059240ca442883ae2993b6aa112011755688
refs/heads/master
2023-09-01T04:01:36.030960
2023-08-25T00:41:16
2023-08-25T00:41:16
51,408,988
90
53
NOASSERTION
2023-08-18T21:59:40
2016-02-09T23:36:25
C++
UTF-8
C++
false
false
8,776
cc
ConvRegionHazard.cc
// *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* // ** Copyright UCAR (c) 1990 - 2016 // ** University Corporation for Atmospheric Research (UCAR) // ** National Center for Atmospheric Research (NCAR) // ** Bo...
1580d1b7b230009d7c2ab199a450092d1f54740b
29a2842e6ff3de92e7faf10e87fe634793d4f94e
/lab/assign5/Ass5_8_18CS10067_18CS10062_thread.cpp
2783561da7c1f7c583a3e992bff5b34301c548c1
[]
no_license
rsrkpatwari1234/Operating-System
db1d967dacdd0d48829608194cedf96a1d762e98
e6b4ccd912f0913d1fc94a95cdbc46cdfe78e33b
refs/heads/main
2023-04-04T11:02:58.857512
2021-04-15T05:27:03
2021-04-15T05:27:03
336,598,989
1
0
null
null
null
null
UTF-8
C++
false
false
8,673
cpp
Ass5_8_18CS10067_18CS10062_thread.cpp
// Atharva Naik, 18CS10067 // Radhika Patwari, 18CS10062 // Assignment 5 // Part 2 #include <fcntl.h> #include <unistd.h> #include <sys/ipc.h> #include <sys/shm.h> #include <pthread.h> #include <sys/wait.h> #include <sys/types.h> #include <bits/stdc++.h> // ranges of process variables #define MIN_PRIORITY 1 #define M...
d59d1780163284a2fa4ebe5a248e7e8b662a9dd6
b02cd8b9d9f53f51b4749c0aec90b946699e3a75
/binary_search_tree.cpp
e03fc464666eaea51716de2e4ce45a62b04331c0
[]
no_license
tanvidadu/TextEditor
788b4649494c1529cc0dc06d471ad7d8456bc22d
0693c9e82547f98c0f274f32268bed2e909f08a5
refs/heads/master
2021-07-10T02:24:25.344122
2017-10-08T17:37:30
2017-10-08T17:37:30
106,196,291
1
0
null
null
null
null
UTF-8
C++
false
false
5,250
cpp
binary_search_tree.cpp
#include<bits/stdc++.h> using namespace std; class Treenode { public: int info; Treenode * left; Treenode * right; Treenode(int d) { info = d; left = right = NULL; } }; Treenode* Search ( Treenode * root , int ele , int mode = 0 ); class Tree { public: Treenode * root;...
1e2a689cd8f4fdcb7c9cf8a3971d50603f1e345e
f3852d4af9463caded8289270d329f0e2f4bbd97
/Engine/Point.cpp
79bb020f8a1f6997fc1143cab99cd9a88f26d44d
[]
no_license
arkfil/snake_with_chili
bdac40f2c61a32994b5115a430ad125de1a9165a
36015b8087fbde4165ba64f80abb3f0333259cbd
refs/heads/master
2020-03-07T17:57:06.992290
2018-04-04T07:59:27
2018-04-04T07:59:27
127,625,097
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
Point.cpp
#include "Point.h" Point::Point() { } Point::Point(int p_x, int p_y) : x(p_x), y(p_y) { } Point::~Point() { }
10844ee2254ab469492ec176d40f857c2d6f9462
3f29160a10cb06998657108fc6573ab105927682
/lib/howto_compare_vector_cci.cc
a8ae746490d247a613f5bd68c09807fee9145334
[]
no_license
zitouni/gr_compare_vector
c10302f811f72c7bbe91d1f04b0c5e33dd790dfd
5ee57429c4848ed0fe9da72d2ac7f624dcca7058
refs/heads/master
2020-08-27T05:59:08.590948
2012-12-05T17:14:18
2012-12-05T17:14:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,823
cc
howto_compare_vector_cci.cc
/* -*- c++ -*- */ /* * Copyright 2004,2010 Free Software Foundation, Inc.f * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at your ...
86e4c8e39ed1d7455be212f217f92b135d7bd6d5
4435a0a6110b77060478876a464f6187d635f3a3
/MGEOP_gen/Snap-2.3/glib-core/xdt.cpp
f28f290670eec9d8438141d807281834999cf0df
[]
no_license
vshesh/fractal-graphs
014469f650fd42eb9a3334699a73ef9dbfafca1c
5d294f903458148470216d0bca4723d5c8e3644d
refs/heads/main
2021-06-07T07:55:49.462792
2021-04-03T00:51:51
2021-04-03T00:51:51
75,800,804
0
0
null
null
null
null
UTF-8
C++
false
false
128
cpp
xdt.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:7cf0e55eb8c0d8d51231003434830f33065c67f983abbac70d5320b05ba0a34d size 250
99d2318925e61b813008ec84947dc892e305ca53
ef21d605f07fb9b342f050b0ce4ecfb8dd5f3aab
/Classes/TSStagePlayLayerGamePrepare.h
f27f73df6ce7a3bcd2afcc9a93b4a710614ea431
[]
no_license
timxie2008/TreasuresGleaner
532384b09969408f2545278e41237a8192f92ac8
ba325746c5b66345ab99399b27e235c766a3653f
refs/heads/master
2021-01-22T01:33:14.331450
2012-11-16T05:18:20
2012-11-16T05:18:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,626
h
TSStagePlayLayerGamePrepare.h
#if !defined(_STAGE_PLAY_LAYER_GAME_PREPARE_H_) #define _STAGE_PLAY_LAYER_GAME_PREPARE_H_ #include "AStageLayer.h" #include "TSGroupNumber.h" class TSSpritePlayer; class TSSpriteCommon; class TSSpriteButton; class TSStagePlayLayerGamePrepare : public CAStageLayer //, public CCTargetedTouchDelegate { pr...
29a5c26b41578f9518bb2df38db069d4fcce6b9d
48ebaa4e5091529e9673f4b66d74adbac6ee32d6
/1023/main.cpp
c875d1f6fc7dece223449e1809f8e5c866664b01
[]
no_license
keshego/COJ
4ffa910f44f387574dff05f1d8341123d04ee55a
bb17552864c9b072885f60fe64a4b2e7a947d4ca
refs/heads/master
2021-04-29T07:40:17.355165
2017-01-03T19:52:02
2017-01-03T19:52:02
77,947,717
0
0
null
null
null
null
UTF-8
C++
false
false
165
cpp
main.cpp
#include <iostream> using namespace std; int main() { double S=0,B; for(int j=1;j<=12;j++) { cin>>B; S=S+B; } S=S/double(12); cout<<"$"<<S<<endl; return 0; }
03992be0ca2858e86f07cb3e73948ceb9610f86a
5eb9f43b40ce870764aa65eb646b3532ebdf01f2
/NMGame/AladdinState.cpp
b4655eeb62eb7dfc3959a589a13e88c0d8cbcf79
[]
no_license
anqck/NMGame
911f8cb5ea6142c35bdadbc21339cfb34e614969
3a11e2d7c620dd620dbac07fd27d35ce943b3f26
refs/heads/master
2021-09-15T15:07:10.711772
2017-12-28T08:49:36
2017-12-28T08:49:36
105,494,656
0
0
null
2017-11-25T18:12:53
2017-10-02T03:28:28
C++
UTF-8
C++
false
false
3,611
cpp
AladdinState.cpp
//#include "AladdinState.h" // //AladdinState::AladdinState() //{ // this->mPosition = D3DXVECTOR3(0, 0, 0); // this->mVelocity = D3DXVECTOR2(0, 0); // this->ResetFlag = true; //} // //AladdinState::AladdinState(LPD3DXSPRITE SpriteHandle) //{ // this->mSpriteHandle = SpriteHandle; // this->mPosition = D3DXVECTOR3(0, 0,...
3a175743c1f3abcfc28ae129c3faa8d020ce1799
f83ef53177180ebfeb5a3e230aa29794f52ce1fc
/ACE/ACE_wrappers/tests/Proactor_Test.h
02bd4a407967cfad598cc389870cd2d22218ef9f
[ "Apache-2.0" ]
permissive
msrLi/portingSources
fe7528b3fd08eed4a1b41383c88ee5c09c2294ef
57d561730ab27804a3172b33807f2bffbc9e52ae
refs/heads/master
2021-07-08T01:22:29.604203
2019-07-10T13:07:06
2019-07-10T13:07:06
196,183,165
2
1
Apache-2.0
2020-10-13T14:30:53
2019-07-10T10:16:46
null
UTF-8
C++
false
false
3,992
h
Proactor_Test.h
//============================================================================= /** * @file Proactor_Test.h * * Define class needed for generating templates. IBM C++ requires this to * be in its own file for auto template instantiation. * * @author @author Alexander Libman <alibman@baltimore.com> */ //==...
847938a9bdad6cccb59cc2352aaed6673b07334c
ddef58b04a7b9e37a1ccedd4ae4ac237c636b4ed
/internal/source/engine/action/DelegateAction.cpp
a60017c25b938c03b33f1e32e65b41bc3b0655a9
[]
no_license
ncguy2/Omicron
9f97e7594acd6cbaf9f1be763f34ea6b98ff3a2a
f67b6aa6c103685bba20305aeb25b4ee4e9f469c
refs/heads/master
2021-03-27T19:14:46.482386
2018-02-09T12:49:15
2018-02-09T12:49:15
96,109,868
1
0
null
null
null
null
UTF-8
C++
false
false
344
cpp
DelegateAction.cpp
// // Created by Guy on 18/08/2017. // #include <engine/action/DelegateAction.hpp> namespace Omicron { namespace Actions { DelegateAction::DelegateAction(BaseAction* action) : action(action) {} bool DelegateAction::Act(OmicronEntity* entity, float delta) { return Delegate(entity, de...
28c2c738a707f838635515b3087bb4540c440903
b72890d0e6503b4528bef2b09743f6df72cb01d2
/shared/acsdkManufactory/include/acsdkManufactory/internal/SharedPointerCache.h
361a0105b632776fa78820846029471d54677c92
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-pml-2020", "LicenseRef-.amazon.com.-AmznSL-1.0" ]
permissive
shivasiddharth/avs-device-sdk
b1375db55f204f1baaa9a4825e31f944a6e6d13c
c7ca5a12f65ce95f99d56fc7a1ab79cc96147ed8
refs/heads/master
2021-12-01T17:21:42.067397
2021-11-28T09:34:42
2021-11-28T09:34:42
152,394,898
0
2
Apache-2.0
2021-11-26T09:17:25
2018-10-10T09:09:11
C++
UTF-8
C++
false
false
2,252
h
SharedPointerCache.h
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
af0eebf366c0d6feb1d248b4f244e4a434127fcc
e80a1aeb1160ccb574ed5a90c0a9f15e1710e059
/gserver.h
a6e8d0f499615fba53b23b36c38e6c6405dc08c0
[ "BSD-3-Clause" ]
permissive
maxohm/gserver
a49d21ea826bc8730aa6685b7b596cd86d5c7d2d
82a00f909344066a2dd857e00bc781bc763596a5
refs/heads/master
2020-04-12T11:48:32.991087
2018-12-23T19:03:10
2018-12-23T19:03:10
162,471,817
0
0
null
null
null
null
UTF-8
C++
false
false
575
h
gserver.h
#ifndef GSERVER_H #define GSERVER_H // #include <QMainWindow> #include <QTcpServer> #include <QTcpSocket> // #include "msock.h" namespace Ui { class gserver; } class gserver : public QMainWindow { Q_OBJECT public: explicit gserver(QWidget *parent = 0); ~gserver(); private slots: void cliconnect(); ...
082e496ceb744737106030ed8c61d573ddd11975
60619a8daa4603fb65f4f86f383a6ddde841e326
/2014-05-02/i.cpp
c982d7ded0f5ae8c0ea99e3afbe72b03b4915d35
[]
no_license
MYREarth/secret-weapon
f4b1d4b995951546b2fb1e40190707a805fb88b5
77f3ff1111aafaaae8f56893b78e3be9134437a9
refs/heads/master
2020-05-22T02:29:43.024017
2015-10-03T08:17:46
2015-10-03T08:17:46
186,199,326
3
0
null
2019-05-12T01:46:13
2019-05-12T01:46:13
null
UTF-8
C++
false
false
3,313
cpp
i.cpp
#include <cstdio> #include <cmath> #include <algorithm> using namespace std; const double pi=acos(-1.0); struct point { double x,y; point(){} point(double x,double y):x(x),y(y){} point unit() const { double t=sqrt(x*x+y*y); return(point(x/t,y/t)); } double angle() const {...
77a20c6f2e8ab8eb45cbbf9392566ac399f14b25
1f83f73102d2b3df84f9a1148639ea1fa0f6e372
/DemonSlayer/Source/DemonSlayer/Objective.h
16d336a6ce43ae5bf43d0817f61f04b6bf583afe
[]
no_license
jjjames98/Demon-Slayer
661acf325448dbdf5931a951673226ed1ae58c52
b361a2f57859793c8de376135401067411e2276d
refs/heads/master
2023-03-20T07:54:52.283225
2019-11-11T12:03:34
2019-11-11T12:03:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
797
h
Objective.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "InteractableObject.h" /** * */ class DEMONSLAYER_API Objective { /* Objective details */ int objectiveID; FString description; FString secondaryDescription; bool objectiveCompleted; ...
e8d54d8fe9acb11ca73d4c6ce7b96d146c17f603
323435c570e4a334827c7bfac15128202ad08efc
/Cpp_Practice/Cpp_Practice/Exer01_1_1.cpp
dfc37b9023e563f7087f41806b80ed3628053d45
[]
no_license
Jiwon-Seo/Cpp_Training
f8478a7deee4542c75b1473d279c37c98ec697af
ce8c0f2b81eabd1c2c6ae4885410e6d02062cf2e
refs/heads/master
2023-07-05T11:57:29.266887
2021-09-01T12:19:08
2021-09-01T12:19:08
395,870,119
0
0
null
null
null
null
UHC
C++
false
false
241
cpp
Exer01_1_1.cpp
#include<iostream> #define NUM 5 int main() { int sum = 0; for (int i = 0, in; i < NUM; i++) { std::cout << i + 1 << "번째 정수 입력: "; std::cin >> in; sum += in; } std::cout << "합계: " << sum << std::endl; return 0; }
eef6ed861029f3bdc1d2f013daa50464664b3a81
e9605b49dafd914700f982bc61fee8b9787390e0
/state.h
82312da9460ce7a57354da280e6f7abcbc2bc08b
[]
no_license
cpptutor-coder/brace-parser
afe6c2a1adbceeea5030a174352feec4d7980fe0
5dfaa8cdc8e6a395d8844446b3be3b5d083dcbac
refs/heads/main
2023-01-21T12:27:08.226906
2020-11-22T05:43:20
2020-11-22T05:43:20
314,968,188
0
0
null
null
null
null
UTF-8
C++
false
false
754
h
state.h
#ifndef OKC_ASSIGN_STATE_H #define OKC_ASSIGN_STATE_H #include "finite_state.h" // Abstract base class for Finite State Automata classes class State { public: virtual EState next_state(char c) = 0; virtual ~State() {} // To get around spurious warning }; class StartState : public State { private: ESt...
20b6604acb779168f1117f7120df3bc3e5d7f63e
34f1d13644f01f96ab1f3eb5a68567a2405f7b12
/events/ColorBlock.h
049e0a98d670c2a30f36bea3100a20e21f72f7fa
[]
no_license
antoniovazquezaraujo/8x8
41f49c5dfdc3e7704694a495857943b6f5cb3e4d
2aaf2d0d99404d5274e40ee184189e1e566738fb
refs/heads/master
2021-01-15T12:25:50.803723
2012-06-01T15:18:04
2012-06-01T15:18:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
291
h
ColorBlock.h
#ifndef COLOR_BLOCK #define COLOR_BLOCK #include "ColorSpace.h" class ColorBlock{ public: ColorBlock(int levels, int cols, int rows); const int getNumLevels() const; ColorSpace & operator[](int pos); void addLevel(); void reset(); int cols, rows; vector<ColorSpace> spaces; }; #endif
b20b2663e477047d4a4fbdc2ca55e6eef3ec7c5f
ebe0a443d0751c7318f094c4ab9568288dccfc58
/include/player.h
51f49dbf554ee0a8968b3e498b8dd149cb6932ff
[]
no_license
nackata/geo-engine
3d0ede799a3d3b9eff28a314b2da075f390cc683
960d5569389fbbe79d69d3e7adc73c1e91234708
refs/heads/master
2021-06-26T05:43:01.692673
2020-11-20T07:51:33
2020-11-20T07:51:33
182,409,505
1
0
null
2019-10-29T10:23:12
2019-04-20T13:29:30
C
UTF-8
C++
false
false
1,001
h
player.h
#pragma once #include "fpsCam.h" #include "sceneobject.h" #include "aabb.h" #include <lib/glm/glm.hpp> #include <vector> class Player { FpsCam camera; std::vector<Object *> collisionObj; public: FpsCam * getCameraPtr() { return &camera; } void addObj(Object * obj) { collisionObj.push_back(obj); } ...
fb02bc3a0e1a60a2c00600d879e02a0047ba9cfe
fb46c46f05441285a5106d5f4eb811692148e070
/GpsxProtocal_DL/Protocol/ProtocolMan/GpsJTT808.h
f41c238729a7fc624b391cfd6ba16366b406e758
[]
no_license
github188/GPSGater
3b92366bbba26f4d3172ba9fdd72a8cf522c4e59
e3237e5d728a52275ef5b9b21a877787ec827938
refs/heads/master
2021-01-12T17:15:36.214918
2014-06-24T13:43:39
2014-06-24T13:43:39
null
0
0
null
null
null
null
GB18030
C++
false
false
3,318
h
GpsJTT808.h
#pragma once #include "gpsbase.h" class GpsJTT808 : public GPSClass { public: GpsJTT808(void); ~GpsJTT808(void); virtual BOOL isThisProtocol(char *buf,GPSINFO *pGpsInfo); virtual char* getProtocolName(int &nDevID); /* * 把gps 上来的数据(buf)翻译到 struct gpsInfo 中 */ virtual long getGpsInfo(char *buf,int nbufLen,GP...
4e13ffda7d70058d57e055874533c84af2c3c117
36544b6dffb1fcf9943330004dc1e98699eaebfa
/arrosino.ino
303329dda3379751ee501c2a3495471ace10fc68
[]
no_license
CelineBateauKessler/arrosino
1ee7081a47ee476cbd6fa32df8b325af72fcecca
df408d046a26dd277210a32eb4a19dab8096eafd
refs/heads/master
2016-09-16T17:22:15.579262
2015-12-17T21:02:01
2015-12-17T21:02:01
46,009,493
0
0
null
null
null
null
UTF-8
C++
false
false
4,748
ino
arrosino.ino
/* Grove Temperature and Humidity Sensor * --> DHT library by: http://www.seeedstudio.com */ #include "DHT.h"; #define DHT_PIN A0 // what pin we're connected to #define DHT_TYPE DHT22 DHT dht(DHT_PIN, DHT_TYPE); /* Grove Moisture Sensor */ #define MOISTURE_PIN A1 /* Electrovalve */ #define ELECTROVALVE 4 /* Va...
0723a21d8cd047a79338831076fc13a54887e496
b3a44c8c5319afba2870928b976d4ae543ece143
/mcucpp/ARM/Stm32f37x/clock.h
7b1862f25bf304e6b37e26241cc0ad9e448b9ff0
[ "BSD-3-Clause" ]
permissive
evugar/Mcucpp
58446aedc37746ae89dc2e9c0d0f1dbe30aacbf6
202d98587e8b9584370a32c1bafa2c7315120c9e
refs/heads/master
2021-07-11T19:07:39.871347
2020-07-21T19:01:42
2020-07-21T19:01:42
281,441,055
0
0
NOASSERTION
2020-07-21T15:52:45
2020-07-21T15:52:44
null
UTF-8
C++
false
false
14,119
h
clock.h
#pragma once #include "ioreg.h" #include <stm32f37x.h> #ifndef F_OSC #warning F_OSC is not defined. F_OSC is in its default value 8 MHZ. Verify that external cristal freq is correct. #define F_OSC 8000000u #endif namespace Mcucpp { namespace Clock { class ClockBase { protected: static...
59a4bb9ea7926d8d43bd3806e30ca2d0fdf52390
45716a35c9fa862145b20e68b47a3187bbfbfb81
/src/pks/energy/base/energy_base_physics.cc
89e82d9d5e7f1e52b81081e8931b227cb352151b
[ "BSD-3-Clause" ]
permissive
ddwivedi08/ats
3c5f3e69797ddcd07110a4c80c47581034c28a2f
932aba910b977e86121942cd24f2059f0b6bee65
refs/heads/master
2021-01-19T14:53:40.104447
2017-04-06T01:16:22
2017-04-06T01:16:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,658
cc
energy_base_physics.cc
/* -*- mode++; c-default-style: "google"; indent-tabs-mode: nil -*- */ /* ------------------------------------------------------------------------- ATS License: see $ATS_DIR/COPYRIGHT Author: Ethan Coon Solves: de/dt + q dot grad h = div Ke grad T + S? --------------------------------------------------------------...
a89d8fb8d1042ac24a771f0a3c0a90d2fa008ffe
bcf0c52fa95f9111756a7ab3829d9ccd340a5e95
/src/ckodo/encoder.hpp
ef49a69d9e924df6d3e09cbc3f251f837b3a427b
[]
no_license
msherif4/kodo-c-bindings
fc52caa3c75018ba68d8eb5a909008dc608b66c4
bc54077bed2f10c50e5f5013ce068033a35f864d
refs/heads/master
2020-12-25T06:03:31.775268
2013-07-14T22:30:43
2013-07-14T22:30:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
549
hpp
encoder.hpp
// Copyright Steinwurf ApS 2011-2013. // Distributed under the "STEINWURF RESEARCH LICENSE 1.0". // See accompanying file LICENSE.rst or // http://www.steinwurf.com/licensing #pragma once #include "coder.hpp" namespace kodo { struct encoder : public coder { virtual uint32_t encode(uint8_t *) = 0; ...
476f95587e97a1b3fa4049cf07f38c58a34fae51
b8d457b9ce160911e6eba460e69c72d9d31ed260
/ArxRle/Reactor/ArxRleUiTdcTransientReactors.cpp
c458a069cda13184cc553ee8a05416aa7ab8b113
[]
no_license
inbei/AutoDesk-ArxRle-2018
b91659a34a73727987513356bfcd1bff9fe09ee3
3c8d4a34f586467685c0f9bce7c3693233e43308
refs/heads/master
2023-01-19T08:27:38.231533
2020-11-25T00:52:13
2020-11-25T00:52:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,565
cpp
ArxRleUiTdcTransientReactors.cpp
// ////////////////////////////////////////////////////////////////////////////// // // Copyright 2017 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies th...
3b43971155e4730f3c71b9253cc996efe5c9bf54
cdf49187bd2a6ab73c9aa34e03d1ac9d5c81e348
/src/Particle.cxx
f66b604686b577f1c9538ec7546183777eb29d23
[]
no_license
rdisipio/MAMbo
4770fddbba2700f0ec3cc5970b676c39178d6810
75ac630402b8c8aaa2febf8218b0213a7f2320dd
refs/heads/master
2020-05-04T10:33:00.058916
2017-09-12T09:45:28
2017-09-12T09:45:28
179,089,927
1
0
null
null
null
null
UTF-8
C++
false
false
900
cxx
Particle.cxx
/* * File: Particle.cpp * Author: Michele * * Created on 31 October 2014, 18:22 */ #include "Particle.h" Particle::Particle() { } Particle::Particle(EventData::Reco_t& particle, int index) { pt = particle.pT.at(index); eta = particle.eta.at(index); phi = particle.phi.at(index); E = particle....
c07d0aef4949df7dc0b44c4f20dcd0eb41debdcf
900e9f27338ec229a67e3aa46b9031e3309ca317
/RBE2002code/src/drive.cpp
c78befda085f4568e5160c111025a66d918b07a2
[]
no_license
JosuContrer/RBE2002
68d721302ad79f255b768605d5a420221ecfff11
164e593f120f8cb0ade095a6e53dd8625406d45c
refs/heads/master
2021-09-13T05:52:49.394724
2018-04-25T18:08:39
2018-04-25T18:08:39
125,138,830
0
0
null
null
null
null
UTF-8
C++
false
false
652
cpp
drive.cpp
#include "Motor.h" #include "drive.h" #include "globalPins.h" #include <Ultrasonic.h> #include "PID.h" /** * Constructor for drive class */ drive::drive(): leftMotor(DLEFTMOTOR, ALEFTMOTOR, false), rightMotor(DRIGHTMOTOR, ARIGHTMOTOR, true) { } /** * Initialize drive class by setting motors to be stopped...
01df4d6e15ffec42eddd447867607375e8d79e1f
4228045ad91468ca27b78ebb5d566f6fb2ecdf84
/ProjectGoogle/tictactoe.cpp
d6d400782fb48af09eafc8926e8c70f071a4811b
[]
no_license
vineethkumart/snippet
5bc622c6475bdc68e4ff9d49e6f5e8253dc4c85d
01824f8a39bdfe23ccd51c8e6f1f9e829591905c
refs/heads/master
2023-06-05T05:13:38.711649
2021-06-26T15:56:51
2021-06-26T15:56:51
47,300,923
0
0
null
null
null
null
UTF-8
C++
false
false
1,721
cpp
tictactoe.cpp
#include<iostream> #include <vector> #include <cassert> typedef enum { EMPTY, P1, P2 } mark_t; bool check(std::vector<std::vector<mark_t>>& board, const mark_t p) { const int N = board.size(); assert(board[0].size() == N); // check all rows, colums and 2 diagonals for (int i = 0; i < N; ...
40d7e844fac2a9665f96c12bda68878bc911b279
585fca9077b618c565157935328d131d6db56190
/main.cpp
c8a07058d8043b23f70269302b747f4591799af4
[]
no_license
Junyao16/Polynomial-Calculator-in-Linux
c81820641da4bc32773ddc5ac878eee71fdeb545
87a535bb6234371c00aa816af5fc76452ccc8344
refs/heads/master
2023-01-22T18:12:30.002826
2020-06-03T15:19:27
2020-06-03T15:35:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
103
cpp
main.cpp
#include<iostream> #include"control.h" using namespace std; int main(){ return control(); }
e7838a882cf35ed1de0cb10f37d02fab17f0812e
a079ee9042946248564bb7eed4e6efd61b50a76e
/Josephus_problem.cpp
c0974fcad2ecfa8b554f5221bde1775538356817
[]
no_license
Sreepadashastry/APS
1055fdb7332acd9a780d4dee26d85192cd0342a5
2fafcb72601ef21420db93c268daf3b20fffd7b9
refs/heads/master
2020-12-20T20:04:05.916026
2020-05-17T20:07:48
2020-05-17T20:07:48
236,195,438
0
0
null
null
null
null
UTF-8
C++
false
false
331
cpp
Josephus_problem.cpp
#include <iostream> #include<math.h> #include<bits/stdc++.h> using namespace std; int last_pers(int n) { int l=ceil(log(n)/log(2)); if(n!=1 && (n&(n-1))==0) l=l+1; int diff=n-pow(2,l-1); return 2*diff+1; } int main() { int n; cin>>n; cout<<last_pers(n); ret...
7098a4d16d0a2aa13ba2f5aeed437efcece8a4e7
92d603849f9470804b4eb850e14660bc61181950
/2_7GCD.cpp
e9657a54fb7d75532c62292e368a8a45e2aec832
[]
no_license
Dthird/BOP
9ede1d5561a625c49433e84dac7c2d7c808db7a1
a6e9cb24265eb122d8158711ee6cbf1ae7d5c940
refs/heads/master
2016-09-05T15:28:09.111238
2015-02-03T13:11:38
2015-02-03T13:11:38
29,900,345
0
0
null
null
null
null
UTF-8
C++
false
false
837
cpp
2_7GCD.cpp
#include <iostream> using namespace std; /* Solution 1: k = x / y; b = x % y x = k * y + b gcd(x, y) = gcd(y, b) */ long gcd1(long x, long y){ return y == 0 ? x : gcd1(y, x%y); } /* Solution 2: gcd(x, y) = gcd(x-y, y) */ long gcd2(long x, long y){ if(x < y) return gcd2(y, x); return y == 0 ? x : gcd2(x-y,...
be00c1c49d39704d076431e1ed35bd2c21ad319f
62d0ff2de41f373524c4822570b1ac01e00f0c37
/estrutura de dados/arvore_binaria/main_bst.cpp
2880b233d4a7b1b1ee7e8dd5bc7d1ed532b4d399
[ "MIT" ]
permissive
Lucas-MSF/Cpp
9474c0d5f75f676c9ae4a5c0000a46b3e116d376
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
refs/heads/main
2023-08-18T04:00:31.579081
2021-09-29T01:50:05
2021-09-29T01:50:05
411,490,363
0
0
null
null
null
null
UTF-8
C++
false
false
2,396
cpp
main_bst.cpp
#include <iostream> #include "bst.h" #include <stdlib.h> using namespace std; void menu(int resposta, bst& arvore) { string nome; int ra; bool buscar=false; if(resposta==1) { cout<<"Insira o nome do aluno: "; cin>>nome; cout<<"Insira o RA do aluno: "; cin>> ra...
bf60191fe4537486e047ce6c6071e1c69ea17114
b266b49440414f063a803d3d4287907e1827ef64
/Source/GlobalGameJam2020/RoomDamageController.h
c92f9f679fd478334c17e7d63046b91c59ebc338
[]
no_license
Kylejohn175/ReviveTheHiveRevisited
4fd1981bb956015b5278c61abd2b80eddfedb607
1030f163a0feb1d4dfc9aba077a66162282bfc26
refs/heads/master
2020-12-29T04:51:46.301572
2020-02-26T16:16:10
2020-02-26T16:16:10
238,456,240
1
0
null
2020-02-26T16:16:12
2020-02-05T13:25:48
C++
UTF-8
C++
false
false
1,014
h
RoomDamageController.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "ShipEvent_Actor.h" #include "RoomDamageController.generated.h" UCLASS() class GLOBALGAMEJAM2020_API ARoomDamageController : public AActor { GENERATED_BODY()...
3d63d8fea1f1885b45da061507fd9aac03e9c1c9
6413ca249100812bc84f2a0a948c3173c93d4717
/include/bootinfo.hh
add17a4af89641cbf34feb0f6eb7c5fdff714b5c
[]
no_license
mbrock/jambos
00ee7cb4cdc72e64a82aa04433a95865c2554773
ff85ccaab23d050834337d001c65405f09d10382
refs/heads/master
2020-04-29T11:14:23.748871
2009-06-01T23:18:38
2009-06-01T23:18:38
191,789
7
2
null
2015-06-08T14:05:22
2009-05-03T23:34:47
C++
UTF-8
C++
false
false
317
hh
bootinfo.hh
#ifndef BOOTINFO_HH #define BOOTINFO_HH #include <common.hh> struct MemoryMapEntry { u64_t base; u64_t length; u32_t type; } __attribute__ ((__packed__)); struct BootInfo { u16_t memory_map_entries; MemoryMapEntry memory_map[32]; } __attribute__ ((__packed__)); extern BootInfo bootinfo; #endif
16cc1af2d0efd4508d07aee050c15b829f520af3
534f1bb6a4cc2ac5d337ea0be7b8f00017b8169c
/motors/Navigator.cpp
e77d8b22c3ee25044695c223ca1763a9c94a9408
[]
no_license
KLINKBOT/arduino
96c99cfd5d121fafe66638e1c957b54d56fea2eb
129535e10a8aa05a5b2da6ce7b8a4aee4a635864
refs/heads/master
2021-01-22T14:46:50.881190
2012-03-29T06:57:13
2012-03-29T06:57:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,428
cpp
Navigator.cpp
#include <PID_v1.h> #include "Common.h" #include "Navigator.h" #include "MotorController.h" #include "ESC.h" #include "IMU.h" #include "Eyes.h" #define SPEED 150 #define LOOK_DURATION 2000 #define TURN_DURATION 1200 #define HEADING_CORRECTION_INTERVAL 500 Navigator...
3d8de8bac3d80ed53b64b2e4e0c4638779a7277c
b48cc66bf4f5a173338e42ba02245da043e71ce7
/LuoguCodes/P1020.cpp
6a427b1b5a9a562ef824a63a4172b204e211203c
[ "MIT" ]
permissive
Anguei/OI-Codes
6f79f5c446e87b13c6bffe3cc758c722e8d0d65c
0ef271e9af0619d4c236e314cd6d8708d356536a
refs/heads/master
2020-04-22T22:18:14.531234
2019-02-14T14:24:36
2019-02-14T14:24:36
170,703,285
1
0
null
null
null
null
UTF-8
C++
false
false
840
cpp
P1020.cpp
// luogu-judger-enable-o2 #include <vector> #include <iostream> #include <algorithm> #define dbg(x) std::cout << #x << " = " << (x) << std::endl int main() { std::ios::sync_with_stdio(false); std::cin.tie(nullptr); int tmp, ans; std::vector<int> a{ 0 }; while (std::cin >> tmp) a.emplace_back(tmp); int n ...
f09f214f9fc1c462477e596f0c1a75e4798d9333
2d194e0f39dd2ca7e7fecaf8ab68c89e0617ff7a
/Ladder11/35.cpp
f6f0319b768530be0dbad523890cb48a29e09097
[ "MIT" ]
permissive
vimarsh6739/CP
016f7ce9d2655560f155639422b01f47442f5f76
dfdd6a3c43547d34dcff48dba6dc85662030d10a
refs/heads/master
2022-06-15T06:32:48.140485
2020-05-09T07:24:55
2020-05-09T07:24:55
250,560,882
1
0
null
null
null
null
UTF-8
C++
false
false
425
cpp
35.cpp
#include <bits/stdc++.h> using namespace std; int main(){ #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif int ab,bc,ac; cin>>ab>>bc>>ac; int a,b,c; for(a = 1; a <= ab; ++a) { if(ab%a == 0 && ac%a==0) { b = ab/a; c = ac/a; if(b*c == bc){ ...
75ee3a152c3828158191b3c1322665070f2cbf12
3f4cebcffe9d5beb7d288600ceed2b8448f6afea
/packages/CefSharp.Common.63.0.3/src/CefSharp.Core/RequestContextHandler.h
fa11202fe7d4abb5945b75cd31b611f6d4d88fa4
[ "MIT" ]
permissive
kevinlau2015/CEFSharp.wpf.H.264
7276cbd2bb21533bbed44ed0c536ccd67ac34ca6
dc05d6960f644b331be56dedeb081c02395b55fe
refs/heads/master
2022-09-15T00:44:28.479862
2020-06-04T01:11:44
2020-06-04T01:11:44
269,229,294
0
0
MIT
2020-06-04T01:10:04
2020-06-04T01:10:04
null
WINDOWS-1252
C++
false
false
3,072
h
RequestContextHandler.h
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #pragma once #include "Stdafx.h" #include "CookieManager.h" #include "Internals\ReportUnhandledExceptions.h" #include "Internals\TypeConversion.h...
db6511c5d70c6a1b751e6f57806d6ae80a187542
2480ceee9f28f5e8a69fb6f5ed42fd63c22b4205
/test/Math/QuaternionTest.cpp
4dd72b11b0e5b8c42c29296a12e1cb362715c6a0
[ "MIT" ]
permissive
rokrepo/pomdog
165db7884598c74bd530a4b7a1e83bc1e315c945
b21fd4fef295aaa3e06ca15e5952109cd8e93f00
refs/heads/master
2022-10-25T04:09:09.721827
2020-06-18T05:33:25
2020-06-18T05:33:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
747
cpp
QuaternionTest.cpp
// Copyright (c) 2013-2020 mogemimi. Distributed under the MIT license. #include "Pomdog/Math/Quaternion.hpp" #include "catch.hpp" using Pomdog::Quaternion; TEST_CASE("Quaternion", "[Quaternion]") { SECTION("Quaternion") { Quaternion quaternion{0, 0, 0, 1}; REQUIRE(quaternion.X == 0.0f); ...
fbcb79284866a13046b3c3184b995adbd61e5f1b
b8041c3e36af9797968a441c68c6244763945171
/Prob4.cpp
d9ed28417b8a863d7dcc2ae4394c3df0be561cb5
[]
no_license
brcsomnath/ICPC
21fa304e6830265cd1d504f1c6974cd850f5c8d5
745f00e82fe66954f5a8d67151dc63abecfd9e62
refs/heads/master
2020-04-17T20:22:39.720522
2016-10-02T05:40:18
2016-10-02T05:40:18
66,577,555
0
0
null
null
null
null
UTF-8
C++
false
false
2,216
cpp
Prob4.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned int ul; typedef unsigned long long ull; typedef vector <int> vi; typedef map<string,string> mss; typedef map<int, vector<int> > mvii; typedef map<int, int> mii; typedef queue <int> qi; typedef map <int, vector<string> > mvis; typedef...
d7189bed33db96613f5b673849b6a32a0bd9d1ad
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5695413893988352_0/C++/priyanshu95/2S.cpp
099a2e2f6106a9890efa1311b04863239e1bdda6
[]
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
2,270
cpp
2S.cpp
#include <bits/stdc++.h> #define sf scanf #define pf printf #define pb push_back #define mp make_pair using namespace std; string C, J; int arr[2][4]; int ans1 = 999999, ans2 = 999999; string A1, A2; int min_abs = 9999999; string curr_a, curr_b; void generate(int pos, int val1,int val2) { if(pos == C.size()) { //...
394471d97a6cf6bda5b1310da8edab5a1313d07c
c4a7b9e365e0f060d1e26dc693e61bb620e68082
/DirChangeWatcher.h
178af9917f821cc99317c2a4a9fc043a0eb464c9
[ "Zlib" ]
permissive
Svengali/cblib
85542837f25a9054356b3a067abfd26b7517e180
77ddfd452cff842575750b9e6d792790f5ec5fee
refs/heads/master
2022-05-09T23:08:35.031894
2020-10-15T01:43:37
2020-10-15T01:43:37
122,876,049
3
0
null
null
null
null
UTF-8
C++
false
false
1,254
h
DirChangeWatcher.h
#pragma once #include "Base.h" #include "Sptr.h" #include "vector.h" #include "String.h" START_CB /* #define FILE_ACTION_ADDED 0x00000001 #define FILE_ACTION_REMOVED 0x00000002 #define FILE_ACTION_MODIFIED 0x00000003 #define FILE_ACTION_RENAMED_OLD_NAME ...
b102f33ed19dd0b1bbe78abe023ec941082dd860
18d371db3d537a9c1bb4b1e40d93e03757b19646
/DAL/unitofwork.cpp
2bd9b05a9c062b8ac1c9aeeaf16a27219a41db77
[]
no_license
Lv385/Project
7c9b4499be9d84c4fed55e2d724f1af1e110d5b4
70f558b08dbabd0e4b8339d77d7ab4937763ba18
refs/heads/master
2021-06-11T04:08:43.399470
2019-07-16T10:12:35
2019-07-16T10:12:35
171,315,808
1
3
null
2019-04-18T12:56:18
2019-02-18T16:15:43
C++
UTF-8
C++
false
false
472
cpp
unitofwork.cpp
#include "unitofwork.h" namespace dal { std::atomic<unsigned int> UnitOfWork::connection_number_ = 0; UnitOfWork::UnitOfWork() : connection_(nullptr) {} void UnitOfWork::GenerateUniqueConnection() { connection_ = std::make_shared<Connect>(GenerateNewConnection()); } UnitOfWork::~UnitOfWork() { connection_->Close()...
fbbe7e84350ccb811387a6e3ea573bd8320d2231
19219c7e74facdc253ecbb718f1674172998da8d
/student_management_system/StudentManagementSystem/CString.h
8d32ac24c2f53645c911d0cf0ae9fb1f39450f73
[]
no_license
2254649642/my_project
00d4e2981512412bc32653796c84041d049a7253
d4471e49a05b5fafd00ec40d59a17b5d4da25294
refs/heads/master
2023-06-06T14:35:46.053020
2021-06-25T14:45:12
2021-06-25T14:45:12
null
0
0
null
null
null
null
GB18030
C++
false
false
5,681
h
CString.h
#pragma once #include <iostream> using namespace std; /*======================================================= * o(* ̄▽ ̄*)o * Name:CString * FileName:CString.h * Programmer:ileemi * Start Date:2020/05/12 * Last UpDate:2020/06/11 *=======================================================*/ class CString...
25ce0aac503bcfa40ec0b23a13f9ef2334ca861b
05b0c763ab92086e69a8d00ae6465009c596f6bc
/csrc/cpu/jit/cpu/kernels/LinearSwishCustomized.cpp
05ee33b436d503257a2260315e3b72f26776495f
[ "Apache-2.0" ]
permissive
intel/intel-extension-for-pytorch
60ce2af2ec3a1dacae0d0db13dd51a5b44512e61
7f9266789de7ca9d8bcf55606f3204f1a3640640
refs/heads/master
2023-09-01T09:13:16.866410
2023-08-31T08:00:37
2023-08-31T08:00:37
256,061,008
991
144
Apache-2.0
2023-08-13T13:56:07
2020-04-15T23:35:29
Python
UTF-8
C++
false
false
676
cpp
LinearSwishCustomized.cpp
#include "LinearSwishCustomized.h" #include "aten/AddSwish.h" #include <ATen/Context.h> #include <ATen/InferSize.h> #include <c10/util/Exception.h> #include <c10/util/Logging.h> #include <torch/csrc/autograd/function.h> #include <limits> #include <ideep.hpp> namespace torch_ipex { namespace cpu { at::Tensor dil_li...
55cedde8e0512c09ec72959cdf4af9f345ea9b39
06bed8ad5fd60e5bba6297e9870a264bfa91a71d
/libPr3/Roster/rostermediapane.cpp
91d68d5e6da0574f574cbdaa7980726b2da91b30
[]
no_license
allenck/DecoderPro_app
43aeb9561fe3fe9753684f7d6d76146097d78e88
226c7f245aeb6951528d970f773776d50ae2c1dc
refs/heads/master
2023-05-12T07:36:18.153909
2023-05-10T21:17:40
2023-05-10T21:17:40
61,044,197
4
3
null
null
null
null
UTF-8
C++
false
false
7,129
cpp
rostermediapane.cpp
#include "rostermediapane.h" #include "ui_rostermedia.h" #include "rosterentry.h" #include <QMenu> #include "fileutil.h" #include <QFileInfo> #include <QMessageBox> #include <QFileDialog> #include <QDragEnterEvent> RosterMediaPane::RosterMediaPane(RosterEntry* re, QWidget *parent) : QWidget(parent), ui(new Ui:...
cf22d72890bd091bd956bc044fe34f60fb619f24
709e79dc1b9ed2eb0e255482681e0f8d263158f3
/benchmark/askit_release/rkdtsrc/generator/uniform.cpp
61f45e27c3ac72402e91974602dd7bc98f83e264
[ "GPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
kexinrong/rehashing
ebd935cc30cdbb40dca54f7ef76a08b0c87d8048
401b1f99970d2cc8cb8444f4c7ee5b94f4ebeb7f
refs/heads/master
2021-07-03T10:45:32.498877
2020-10-21T05:42:28
2020-10-21T05:42:28
186,186,245
22
3
MIT
2020-10-09T04:15:15
2019-05-11T22:15:47
C++
UTF-8
C++
false
false
1,064
cpp
uniform.cpp
#include <direct_knn.h> #include <omp.h> #include <mpi.h> #include <cmath> #include <cstdlib> #ifndef __APPLE__ void generateUniform(int n, int d, double *x, MPI_Comm comm) { int rank, size; MPI_Comm_rank(comm, &rank); MPI_Comm_size(comm, &size); struct drand48_data *seeds; #pragma omp parallel ...
40313c9ea020c42163223ed666f6ea2f626dbf44
81cf157e25185df17b78ac09f5686c51198d8db7
/Algorithm/提高/图论/负环/观光奶牛.cpp
6f7c4e305cd000730e67b21085f1920dd5793d8b
[]
no_license
renyajie/Learning
97e3263e6dbe4ccff37ad3fabd9a6490259ab2b7
5174b0e7120ef30c8834fe3d06fcd482240ac2f6
refs/heads/master
2023-03-22T01:28:40.647641
2021-03-23T02:41:20
2021-03-23T02:41:20
349,076,372
0
0
null
null
null
null
UTF-8
C++
false
false
1,631
cpp
观光奶牛.cpp
#include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N = 1010, M = 5010; int h[N], e[M], ne[M], w[M], idx; int f[N]; double dist[N]; int cnt[N], q[N]; bool st[N]; int n, m; void add(int a, int b, int c) { e[idx] = b, w[idx] = c, ne[idx] = h[a], h[a] = idx++; } bool check(doubl...
36c5a96f8822c276bde5c3c965ab5fa3afdcd2d7
0a224bc3e6937a2bffa152406a42633fd942dc4d
/Programas/temp/Particle2D.h
285df6d3f0a916802d27b4457f4c5dd14d6f3778
[]
no_license
fgmaion/IC
1c7870a00590160aebfdda998b44edacf4442b27
6f9eafc63f6420dff327edef608f1bacc565078d
refs/heads/master
2020-12-03T06:30:24.494839
2017-08-09T14:36:20
2017-08-09T14:36:20
95,685,941
0
0
null
null
null
null
UTF-8
C++
false
false
175
h
Particle2D.h
#include <iostream.h> class Particle { public: double mass; double x_t[2]; double velo_t[2]; double a_t[2]; Particle(); ~Particle(); }; Particle::Particle() { }
584f146a2faff1c97195ad275b0daffd531ae72f
aed4af3c5bbfbb90069db34322e255ed25dbfe53
/tinyvm/src/GarbageCollector.cpp
cca6b47c755fe150d1763f16a84c015993af3c24
[]
no_license
murador/tinyvm
083cfbb86f115a3622ce9c07e764eb46f64ab3d0
90d8e85b911c4a073254cb81268f86b4bda02992
refs/heads/master
2020-04-06T03:39:13.675548
2015-09-26T16:33:45
2015-09-26T16:33:45
25,740,874
1
0
null
null
null
null
UTF-8
C++
false
false
338
cpp
GarbageCollector.cpp
/* * GarbageCollector.cpp * * Created on: 26/dic/2014 * Author: glutters */ #include "GarbageCollector.h" namespace vm { namespace runtime { GarbageCollector::GarbageCollector() { // TODO A } GarbageCollector::~GarbageCollector() { // TODO Auto-generated destructor stub } } /* namespace runtime */ } /...
01a6c706d1faca450a073f24b307735af2e5a336
ba90cba096ba4e1a1de31af346e0b769c17ccc9e
/include/Instructions/NOPInstruction.hpp
bf61ad88d072e07772a80d6f9026dcea5ebaddd5
[ "MIT" ]
permissive
KaravolisL/ARM-ISA-Simulator
f5ed222eff2d82c6fdad8ec822fec856570419c9
cc5b927ff40054d912e208a469545089125e6911
refs/heads/master
2023-01-02T03:35:05.483981
2020-10-21T00:35:37
2020-10-21T00:35:37
253,665,149
0
0
MIT
2020-09-11T21:59:09
2020-04-07T02:19:19
C++
UTF-8
C++
false
false
1,070
hpp
NOPInstruction.hpp
///////////////////////////////// /// @file NOPInstruction.hpp /// /// @brief Declaration of NOPInstruction class /// /// @author Luke Karavolis ///////////////////////////////// #ifndef NOP_INSTRUCTION_HPP #define NOP_INSTRUCTION_HPP // SYSTEM INCLUDES // (None) // C PROJECT INCLUDES // (None) // C++ PROJECT INCLUD...
21738f95f1473839eb26748e3694f92fe4f84c93
8f17b34aa5c1ee123302096c279581834ccdf213
/1004.cpp
0ab9bd701aa18c5c3ccacd9fb101ec5941f0082d
[]
no_license
Honlan/poj-org-c-plus-plus
58b005c302e24a7ec765227f0b88956bfafb5bbf
2441a1c92ec6c0753f582ce5e2b79fb4d1d3d3d9
refs/heads/master
2021-01-10T17:52:26.149808
2015-11-05T02:47:54
2015-11-05T02:47:54
45,180,548
0
0
null
null
null
null
UTF-8
C++
false
false
314
cpp
1004.cpp
#include <iostream> using namespace std; int main(){ double fare, average = 0, total = 0; //输出12个月份的开销并求和 for(int i = 0; i < 12; i++){ cin >> fare; total += fare; } //求平均 average = total / 12; cout << "$" << average << endl; return 0; }
aa909ad016a9cdf6b1932fd6a97c39e565b2f051
e9ed46363f3a6f7c6b40ebdc03cac6b476b2b89d
/FigureEx01/FigureEx01/main.cpp
e26e8b019ac9e55ee229d8a6210a993a7f4759d8
[]
no_license
moo1o/CppStudy
2593c9a5fdf498653082d9c9de89b30e595b942a
1abdb57be50173befc3a361e69379cafade2a476
refs/heads/master
2021-07-22T03:41:56.906378
2017-10-30T22:48:38
2017-10-30T22:48:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
753
cpp
main.cpp
#include <iostream> #include "Figure.h" using namespace std; #define FIGURES 10 int main(void) { /*Ellipse ellipse(30, 20, 50, 20); Triangle triangle(10, 10, 20, 30); Rectangle rectangle(20, 30, 10, 20); ellipse.Draw(); triangle.Draw(); rectangle.Draw(); */ Figure *figures[FIGURES] = { new Triangle(10, 10,...
3aafac477cab7cef2c79093345ea63a596210c3f
7f2e7edff293b0277137516a4f0b88021a63f1e3
/UnitTest_PZ/TestDeRham/TPZMatDeRhamHDivL2.cpp
693756cf72cf0c920161254a32e84b5e5da90240
[]
no_license
labmec/neopz
3c8da1844164765606a9d4890597947c1fadbb41
4c6b6d277ce097b97bfc8dea1b6725860f4fe05a
refs/heads/main
2023-08-30T22:35:13.662951
2022-03-18T19:57:30
2022-03-18T19:57:30
33,341,900
48
17
null
2023-09-13T19:46:34
2015-04-03T02:18:47
C++
UTF-8
C++
false
false
2,130
cpp
TPZMatDeRhamHDivL2.cpp
#include "TPZMatDeRhamHDivL2.h" #include "TPZCompElHCurl.h" #include "pzaxestools.h" TPZMatDeRhamHDivL2* TPZMatDeRhamHDivL2::NewMaterial() const{ return new TPZMatDeRhamHDivL2(*this); } void TPZMatDeRhamHDivL2::Contribute( const TPZVec<TPZMaterialDataT<STATE>> &datavec, REAL weight, TPZFMatrix<STATE> &ek, TPZFM...
379606fcbd51d71f5345b40846ee6f215cad4673
120b640cf0c673cd20387cda7b94219eb0b6bc4d
/src/MeshData.h
40909bcb3030d2f8dab8d095121227863648716f
[]
no_license
giseburt/Miracle-Grue
a6ba431477c94e12e6f6cb269f6309895c33157a
e6aaa619d466b05d89f3026f0e694b74379bdfde
refs/heads/master
2021-01-09T06:16:39.836293
2011-11-07T18:27:42
2011-11-07T18:27:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
680
h
MeshData.h
/** MiracleGrue - Model Generator for toolpathing. <http://www.grue.makerbot.com> Copyright (C) 2011 Far McKon <Far@makerbot.com>, Hugo Boyer (hugo@makerbot.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published ...
cdf5f94bfae1d64f6c61a947eca102c66a2a164a
4c380b2c1076051947a8fee7d30359b1c65c5176
/iiitp codes sem2/assignment 1/a.cpp
5d464f70554db750fd7692f2ce37bbac3c5154f1
[]
no_license
blank-27/iiitpcodes_sem1
4a41a2878a6b2d60f4a3b410a54401579dd09d98
ab773d9f40ed7e27ecee9e1e5ec02647f9007fab
refs/heads/master
2020-11-29T13:09:09.808288
2020-10-01T07:01:22
2020-10-01T07:01:22
230,120,080
0
0
null
null
null
null
UTF-8
C++
false
false
84
cpp
a.cpp
#include<iostream> using namespace std; void main() { cout<<"hey world-chan"; }
3c77803186ccd08fa1aa570c45e9c09630d7788b
486b15bc1abf2cda3fcb733b6d31a6b9364020eb
/safety_diagnostics/diagnostics/src/camera_states_manager.cpp
cde9dca9b7458e9df695a11bd4c5ba16701444e2
[]
no_license
xnvst/robotics
376f6a6f6a95cca8ce7606f4e74b4abb94687334
8e12abe1e2d6d618118aadc8d8858df78cd74f08
refs/heads/master
2021-01-16T00:09:33.455018
2019-04-14T19:40:24
2019-04-14T19:40:24
99,957,587
0
0
null
null
null
null
UTF-8
C++
false
false
2,302
cpp
camera_states_manager.cpp
/* * ______ __ __ __ * /\ _ \ __ /\ \/\ \ /\ \__ * \ \ \L\ \ __ __ /\_\ \_\ \ \ \____ ___\ \ ,_\ ____ * \ \ __ \/\ \/\ \\/\ \ /'_` \ \ '__`\ / __`\ \ \/ /',__\ * \ \ \/\ \ \ \_/ |\ \ \/\ \L\ \ \ \L\ \/\ \L\ \ \ \_/\__, `\ * \ \_\ \_\ \_...
c18fac55a4730b01045dc13fec2555810d771cd8
a41ff94559e24cba03f42081ee5452f64063622a
/Easy/Codechef/DIVIDING.CPP
a1b711cd4c536fe37fa30d28d42ec8b8a1db7ee8
[]
no_license
RavenColEvol/competitive-journey
aaff3ebd66bb6fdbbcff33de7516ac401023e1f0
0e5cd2ff7e7c92644a8bee2b016c2eead4cb8370
refs/heads/master
2022-11-23T02:06:10.966813
2020-07-30T13:32:57
2020-07-30T13:32:57
229,191,033
0
0
null
null
null
null
UTF-8
C++
false
false
374
cpp
DIVIDING.CPP
#include<bits/stdc++.h> #define ll long long #define lli long long int #define ull unsigned long long #define test while(t--) #define MOD 1000000007 using namespace std; int main() { ll n; cin >> n; lli sum = 0; for(int i = 0;i<n;i++) { ll temp ; cin >> temp; sum += temp; } if((n*(n+1)/2) == sum) co...
6f892e6550b364325ef8d22aff40f3547367837b
a9ffa5e56f4104e34405ce9592d4c40924ba4a51
/ZipString/main.cpp
a76f773e676971566eccf718bf4dbb3b4d70ed69
[]
no_license
BPLSH/Algorism
6839543502d946cd4527857b435580c9ab48e4f1
5e78706ade0cee203498bd9c9a5e3386cf407b0e
refs/heads/master
2020-04-18T12:42:50.398021
2019-03-09T10:53:14
2019-03-09T10:53:14
167,541,873
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
622
cpp
main.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> #define ASCII 127 char* Zip(const char* ptr) { //Áö¿ªº¯¼ö char * dptr = (char*)malloc(sizeof(char)*ASCII); int i = 0; char *str = (char*)malloc(sizeof(char)*ASCII); for (int i = 0; i < ASCII; i++) { printf("index : %d : %d\n", i,*(dptr + i)); } while...
a429045af52ad9e78d52033ce03c4304e3f362e4
6d1f1166fe96de017f8c54c37c30d56a7f550571
/oggsound/src/OgreOggStaticWavSound.cpp
b94adec20c8712f9ccf59ca677f74f077ac94421
[ "BSD-3-Clause", "MIT" ]
permissive
OGRECave/ogre-audiovideo
d61d09e1cc8b9fa45c7750a09037fe13ff3e03e4
25ea305dd87607d1b83dff401c0c148eff936995
refs/heads/master
2023-08-25T16:28:14.729737
2023-06-10T21:59:46
2023-06-10T21:59:46
135,934,377
10
9
BSD-3-Clause
2022-06-17T23:23:30
2018-06-03T19:34:41
C++
UTF-8
C++
false
false
16,444
cpp
OgreOggStaticWavSound.cpp
/** * @author Ian Stangoe * * LICENSE: * * This source file is part of OgreOggSound, an OpenAL wrapper library for * use with the Ogre Rendering Engine. * * Copyright (c) 2017 Ian Stangoe * * Permission is hereby granted, free of...
42a767f8f374a0119f84e30b16f9bdaca15a9a70
86522141ea662460a348c4c3c2a59ca57ab67fc0
/introductory_problems/problem1.5.cpp
a7d68214e99c37534f8ff176dc33abf238f11757
[]
no_license
pranshulnarang/cses_problems
312359c65fdf461d4294836a12f7027644af2049
41c09843d4992fdce556b84dad88e26e4d3c6d58
refs/heads/master
2022-11-20T19:49:29.855074
2020-07-26T00:46:00
2020-07-26T00:46:00
282,507,604
0
0
null
null
null
null
UTF-8
C++
false
false
622
cpp
problem1.5.cpp
#include <bits/stdc++.h> #include <vector> #include <algorithm> using namespace std; int main(){ long long n; vector<long long> even; vector<long long> odd; cin>>n; if(n==1) cout<<1<<"\n"; else if(n<=3) cout<<"NO SOLUTION\n"; else { for(int i=1;i<=n;i++) { ...
3918140b4e280494849b72d18a6388c1d86aa14f
205b4b45814c7376733e44c8a309685665903f26
/mainwindow.cpp
ba50d47f3d56f4518194e51a6920a583f2bcb5bb
[]
no_license
LeopoldArkham/Etiquette
fa262497ce470735075a814bef87866c1aa75dd9
5434f1e327a52e628878647028691106bc246895
refs/heads/master
2021-08-26T09:13:19.678716
2017-11-22T20:12:04
2017-11-22T20:12:04
111,727,781
0
0
null
null
null
null
UTF-8
C++
false
false
8,102
cpp
mainwindow.cpp
#include <QLabel> #include <QGridLayout> #include <QFormLayout> #include <QPushButton> #include <QMessageBox> #include "outputwindow.h" #include "mainwindow.h" mainWindow::mainWindow() : QWidget() { setWindowTitle("C++ Class Generator"); resize(650, 500); // Create Info section className = ...
9b95e78fdfac40b5cd11eead750b745b029c110c
95ccbdb193f6e9c5c3899d0abfbb7feddd7b52c5
/src/utils/utils_io.cpp
8ab589f329a00538db4caf19024c07afeb3ae7f1
[ "Apache-2.0" ]
permissive
cw1997/verilog-preprocessor
6bf31d8b7673f658a5a523d53dadf4dc809cedd6
be5b2d82e5de6c6468ee085a15185cbdc6c92105
refs/heads/main
2023-06-04T21:17:03.165637
2021-06-25T18:04:43
2021-06-25T18:04:43
377,129,166
0
0
null
null
null
null
UTF-8
C++
false
false
612
cpp
utils_io.cpp
// // Created by 86759 on 2021/6/24. // #include "utils_io.h" #include "utils_string.h" #include <fstream> #include <iostream> #include <sstream> using namespace std; std::vector<std::string> get_file_lines(const std::string& path) { ifstream file_stream(path); // file_stream.open(path); if (!file_stream...
a6b39388496c9f67a7b889465fbd738057d9eb67
eecbafb28fbb52d32e630698f714895dec5af3f4
/build/include/seeta/QualityStructure.h
486c811bdc57a5360d443bf19b5e89ded9f0efc4
[]
no_license
qiujun-shenzhen/SeetaFace6-Lib
bf6e9532f615d8688fdd40116d0ef1005a49d278
eaeec7046150b50b70eeac8d43ec7f4d8ece80c3
refs/heads/master
2023-06-11T05:15:50.503726
2021-07-08T03:16:59
2021-07-08T03:16:59
383,815,866
4
0
null
null
null
null
UTF-8
C++
false
false
1,731
h
QualityStructure.h
// // Created by kier on 19-7-24. // #ifndef SEETA_QULITY_EVALUATOR_QULITY_STRUCTURE_H #define SEETA_QULITY_EVALUATOR_QULITY_STRUCTURE_H #include "Common/Struct.h" namespace seeta { namespace v3 { enum QualityLevel { LOW = 0, MEDIUM = 1, HIGH = 2, }; c...
e8660cc3238c672b63c9a061d000fbf513522556
d7cac5199dd34d396548f96107e63277f0b71e52
/mainwindow.cpp
ccdddc11db80b39d0317be59d72b00d550835b50
[]
no_license
lupl/myzip
6f16fa50bdb71d633f7549a85889b26eae74afc9
7eee9676dafe52ca2deaa83a04f64f42037760f0
refs/heads/master
2021-08-14T14:27:14.301351
2017-11-16T00:53:45
2017-11-16T00:53:45
110,196,002
0
1
null
null
null
null
UTF-8
C++
false
false
439
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); debugBox = new QMessageBox(this); connect(ui->zipBtn, &QPushButton::clicked, this, &MainWindow::zipFile); } MainWindow::~MainWindow() { ...
f0f99cce83e4b21682a4ba0b7041e437e6077967
0115be14e248f6a11ddcfc016605500f168c5ef7
/services/distributeddataservice/libs/distributeddb/common/src/task_queue.cpp
4825fb831c71abc038661ec81263d06a5e49edf1
[ "Apache-2.0" ]
permissive
RobertIndie/distributeddatamgr_datamgr
78900eb56fbadc9eea7252310bd81c31632658e4
cc0a4040f70b3f84d41e18f8ec42197a1f960188
refs/heads/master
2023-09-01T00:44:45.620308
2021-10-20T13:07:35
2021-10-20T13:07:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,773
cpp
task_queue.cpp
/* * Copyright (c) 2021 Huawei Device 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 ...
1c9572e8b3ce3873f389e5033491548d6ce98c17
de4cd6e8abc86d91f851098911597df74f93fb2f
/tp2017/tp09/ex1/tp1.cpp
ddefd5aeaad10d230d8725a477de5d712bfd59b5
[]
no_license
G4bleb/tpcpp
e82b7dcc56d37d498c5e4cc9fca6f2a8d3c19612
2580e935b59c03e32d675284ad18ca21d75ef01a
refs/heads/master
2021-09-15T09:51:16.845955
2018-05-30T08:15:19
2018-05-30T08:15:19
104,993,500
0
1
null
null
null
null
UTF-8
C++
false
false
503
cpp
tp1.cpp
#include <iostream> using namespace std; void affiche(int val){ cout << val << endl; } void affiche(int* tabval, int taille){ for (int i = 0; i < taille; i++) { affiche(tabval[i]); } } int *initTab(int &i){ int *tabval = NULL; for (i = 0; i != 4; i++) { tabval = new int[i+1]; //Le new afface les val...
7f5acd5ada8d6cfb2dbc8289d60ea6a040dbfcd6
9f57194d6a78ffa4d90f30f7553469d240d90326
/Labs/L36/L36/main.cpp
eaf015c900505b38ad7ee309f413a4e99fc459c0
[]
no_license
farnorthgit/CS201
a6726073a76e0710006046583f5b3dc933d0fea8
371a0464cca360fc451feeee77bfe735a51f869a
refs/heads/main
2023-04-18T16:00:50.434774
2021-04-27T17:00:33
2021-04-27T17:00:33
329,751,228
0
0
null
null
null
null
UTF-8
C++
false
false
1,391
cpp
main.cpp
// sandwich.cpp // Glenn G. Chappell // 16 Apr 2018 // // For CS 201 Spring 2018 // Sandwich Toppings - Passing Flags in an int #include <iostream> using std::cout; using std::endl; using std::cin; void testfunction(unsigned number) { if (number == 1) cout << " 1"; else if (number == 3) cout ...
26917073db3432ee0cbaf426df6f81160886f84c
1411c27806cd8f11556478d52e749025ffe931e6
/Software/Embedded/remote control conversion/template/MDK/stm32103c8t6/app/Main.cpp
8533b8cb11050b26d92596a9fb9f6674666e68b8
[]
no_license
dianzhichong/Quadcopter
e70c136003ce875d0f476cd8d92af28c5d24e095
d8135478207629521b16c9681de9ac6026659d04
refs/heads/master
2020-12-26T05:32:11.605852
2016-08-09T07:12:41
2016-08-09T07:12:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,231
cpp
Main.cpp
#include "stm32f10x.h" #include "Configuration.h" #include "TaskManager.h" #include "USART.h" #include "Timer.h" #include "ADC.h" #include "flash.h" #include "RemoteControl.h" #include "LED.h" #include "InputCapture_TIM.h" #include "Communication.h" InputCapture_TIM hunter(TIM4, 400, true, true, true, true); //TIM4 a...
3a5c854253a95d55142aca267f439d7fcb40e3c6
ff443629c167f318d071f62886581167c51690c4
/src/test/fuzz/script_interpreter.cpp
5d59771682f1c9a01bdd4047943d68a25a81e24a
[ "MIT" ]
permissive
bitcoin/bitcoin
a618b2555d9fe5a2b613e5fec0f4b1eca3b4d86f
6f03c45f6bb5a6edaa3051968b6a1ca4f84d2ccb
refs/heads/master
2023-09-05T00:16:48.295861
2023-09-02T17:43:00
2023-09-02T17:46:33
1,181,927
77,104
33,708
MIT
2023-09-14T20:47:31
2010-12-19T15:16:43
C++
UTF-8
C++
false
false
1,980
cpp
script_interpreter.cpp
// Copyright (c) 2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <primitives/transaction.h> #include <script/interpreter.h> #include <test/fuzz/FuzzedDataProvider.h> #include <test/fuzz/...
d9a6ab3a14880c8abb0a46db1c9e5df632bd2110
d624bdea4a62da70209ae1e86edfa38aa6dfe769
/onesp/sketch_esp/sketch_esp.ino
21f2469bd0eae2c6ce3f434a0f0423a0cf15dfbe
[]
no_license
Leystryku/ledstrip_esp8266_and_arduino
e0b63f3be756d6837f0253788751328576891e25
1436bea0ed14679b040a1816ee47d34cfc7d2a23
refs/heads/master
2020-04-08T05:18:36.206264
2018-11-25T17:20:50
2018-11-25T17:20:50
159,055,400
0
0
null
null
null
null
UTF-8
C++
false
false
2,375
ino
sketch_esp.ino
#include <Adafruit_NeoPixel.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> const char* ssid = "ssid"; const char* password = "password"; WiFiServer server(5151); #define PIN 2 #define meters 5 #define num_leds 30*meters Adafruit_NeoPixel strip = Adafruit_NeoPixel(num_leds, PIN, N...
7eaa6a1d8bbc5f1e90be21b5338f1b648abcb40e
0131b66c1169079a944fbac2fcb90280eaa41036
/Ramses/include/RegInstrucao.h
107e9c2eb04d6c97e2cf8d1c97a9e3cfee410344
[]
no_license
gahbdias/SimuladorDeProcessadores
e8b67109ef52498969352fcb4c2c551be55f9a3a
25f60b96481603ab5fa26d04b50979b282ec1bdd
refs/heads/master
2020-05-25T06:37:46.649899
2019-06-02T19:54:43
2019-06-02T19:54:43
187,670,841
0
0
null
null
null
null
UTF-8
C++
false
false
2,221
h
RegInstrucao.h
/** * @file RegInstrucao.h * @authors Karine Piacentini Coelho, Gabriela Carvalho Dias. * @brief Simulador do Ramses * @version 1.00 * @date Jun-2019 * * @copyright Copyright (c) 2019 * */ #ifndef _RegInstrucao_H_ #define _RegInstrucao_H_ #include <iostream> enum operacoes { NOP = 10, STR, LDR, A...
27f8b648d3aaac5d53aa69a83517ccc56784e351
0798201c11dc3df7dba291946d45779ae596e206
/library/comm_smm/src/tsmm.cpp
8ca99bdadeb56f667d8b278d9d52747e46d8326a
[]
no_license
lzw978/IceCodeBase
0602eabb5cd138a35be96b5ac5285a89230a294d
c3336c945438583c606a1327ba743888f030e743
refs/heads/master
2021-01-21T17:06:40.516530
2018-03-21T12:47:10
2018-03-21T12:47:10
91,933,850
0
0
null
null
null
null
UTF-8
C++
false
false
13,203
cpp
tsmm.cpp
/******************************************** ** 模块名称:tsmm.h ** 模块功能: ** 模块简述: 信号量+共享内存+消息队列 ** 编 写 人: ** 日 期: 2017.08.11 ** 修 改 人: ** 修改日期: ** 修改目的: ** 特别说明: ** 问 题: *********************************************/ #include <errno.h> #include <fcntl.h> #include <sys/types.h> #include <sys/time....
c8f3b70148241fc9ea5c8b6f404b2c61d0c4d916
0646b45467033de19d5a64b8a8c8ff4fcb9185f2
/q9.cpp
3f8b53d5af9e05912ff621355c1c813a74346df5
[]
no_license
apratimchoudhury/lab7
4652e891bee0322a35b45178b6b4b1d19baf8954
4db47d4d8b04c37ded280c0a9f77acd7732a5057
refs/heads/master
2020-03-31T03:06:36.994223
2018-10-06T15:33:00
2018-10-06T15:33:00
151,853,062
0
0
null
null
null
null
UTF-8
C++
false
false
567
cpp
q9.cpp
#include<iostream> //include library using namespace std; int fact(int n) //function for calculting factorial of a given number { if(n!=0) //stopping condition { return n*fact(n-1); //return factorial value through recursion } e...
32cf413b51d7a1c3100c1f05549ae44b108c3912
f2fc57911a68ba9c582783b3d851cd08466fc000
/Doodle/includes/Grid.h
a396af189c87e5410d32f4b0369ac13f0892bf16
[]
no_license
Morpheu5/Doodle
636093b74d8db29c163cd3c1fb383bd65f2c3069
fb11d9690bfc3973791b6f3789ae9733637d74e7
refs/heads/master
2021-03-12T22:34:02.995240
2013-07-19T09:17:40
2013-07-19T09:17:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,464
h
Grid.h
/* (C) 2009 by Andrea Franceschini <andrea.franceschini@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version...
4cf8e505592596b513e9481841cd48c7dea677f6
a06eff155ed5aa78441ed527930971acfe60c286
/src/Joypad.cpp
74fc676aa0edddc12904c1bf32a3fd410f6a214a
[]
no_license
Stenodyon/gb
2ea104e21df38e1453d2c4eacc5d0f204956f3cc
0d96ba22c40b70f3525ab842f6b135f69e96bbfb
refs/heads/master
2023-03-20T01:11:49.765748
2021-03-12T10:31:14
2021-03-12T10:31:14
282,471,588
2
0
null
null
null
null
UTF-8
C++
false
false
1,639
cpp
Joypad.cpp
#include "Joypad.hpp" #include "Emulator.hpp" namespace GB { Joypad::Joypad(Emulator& emulator) : m_emulator(emulator) { } void Joypad::cycle() { u8 prev_value = m_joypad_reg; m_joypad_reg &= 0x30; m_joypad_reg |= (buttons_selected() && m_A_pressed) || (directions_selected() && m_ri...
44ff467e930b57b2971271f80c65d6c826260189
d99d922978a174f5132ed98bb1ee7dcbd0cad824
/remote_file_explorer_client/serveraccess.h
3c983a81ebf90e5f69043a29dea223cc27b4c296
[]
no_license
grizlip/remote_file_explorer
03686951ece869a869884cbc2c7e5471ef5efce3
2808d969dee56b91f7638a9562a02ede1712e554
refs/heads/master
2023-08-30T12:32:27.305866
2021-11-05T21:28:58
2021-11-05T21:28:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
630
h
serveraccess.h
#ifndef SERVERACCESS_H #define SERVERACCESS_H #include "servercommunication.h" #include <QObject> #include <QString> #include <QStringList> namespace remote_file_explorer_client { class ServerAccess { public: explicit ServerAccess(ServerCommunication& serverCommunication) : m_serverCommunication(&serverCommunica...
70252dd5f5458cb1a2fc2a7df8a7492bbe508bcd
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/policy/networking/policy_cert_service.cc
909496fed436121c6a3c1ce0ac108226625844ec
[ "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
8,857
cc
policy_cert_service.cc
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/policy/networking/policy_cert_service.h" #include "base/files/file_path.h" #include "base/functional/bind.h" #include "base/functional/callback_helper...
d91ad74d37f63bf0b9660313605d7b47ebcacdfc
890eaf082da0b5c5043156f5984957980394ff1f
/libs/vcdparse/src/libvcdparse/vcd_loader.hpp
62eb8b372ff355e2b16956ab57e3db2feabeb796
[ "MIT" ]
permissive
kmurray/esta
e5c704d4fde160b49dac5d38d26f7f0d9203f43a
4c6833fef137b816c6a399403e9f3bda9e99725a
refs/heads/master
2021-01-17T23:32:01.148702
2017-10-12T21:12:41
2017-10-12T21:12:41
62,819,388
0
0
null
null
null
null
UTF-8
C++
false
false
1,409
hpp
vcd_loader.hpp
#pragma once #include <iosfwd> #include <memory> #include <set> #include "vcd_data.hpp" namespace vcdparse { //Forward delcarations class Lexer; class Parser; class ParseError; //Class for loading an SDF file. // //The vcd file can be parsed using load(), which returns true //if successful - after which the loaded...
5cb7a541e9ccc6c02743623b7160e5c754085e51
15ab9d0f6779932a0179ab018d0577aecd4cb3f3
/models/graph.hpp
fbf6c96126594381f1ae5ef0abde3f361ee85fab
[]
no_license
igmagollo/sudoku-graph-coloring
a17ef394ec38ae43de4da059390737410a9bc05e
7b7f414383d9045632fca1fa280e53d98d9219ff
refs/heads/master
2020-04-07T12:34:38.631839
2018-11-26T02:08:16
2018-11-26T02:08:16
158,372,856
0
0
null
null
null
null
UTF-8
C++
false
false
881
hpp
graph.hpp
#ifndef GRAPH_HPP #define GRAPH_HPP #include <vector> #include <iostream> #include <set> using namespace std; class graph { private: vector<set<int> > v; /** * push back a target vertice in a vertice */ void pushBackEdge(int v_index, int v_target); public: graph() = default; graph(vector<set<int> > vertices)...