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
f084bd6a0786b996d2cd58d9fc26d5e49f5eae7e
aa1fa6c9ef063ea2fbfc7ca712470b1d38357460
/binarySearch.cpp
c3d321b7483ab2dedf6790e5fdd8fdc81ab532c3
[]
no_license
shengcode/CplusforC
b3951dce0cd2109857f3c7547919904a810b7657
a3f6d6199cbb72521035a08463b8e105497a6f20
refs/heads/master
2020-03-19T10:25:42.297867
2018-06-07T17:34:02
2018-06-07T17:34:02
136,369,047
0
0
null
null
null
null
UTF-8
C++
false
false
1,062
cpp
binarySearch.cpp
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <vector> using namespace std; const int N=100; int binarySearch(unsigned int element, unsigned int startIndex, unsigned int endIndex,vector<unsigned int> &myarray){ if(startIndex>endIndex) return -1; unsigned int middleIndex = (startIndex+e...
5179464d49c3f64b22ec469090f3c0d4f35ab628
44230c9b980cb94dbafa8ab7afc8859c74668a6a
/ConcurrentQ.hpp
f23f5ef6ae4924242dfae5ab220aaa623aa64a6c
[]
no_license
evilone79/QuickLogger
5e6a5dbb8ac94e4d84d7e21a8dd4046175eb4240
50efa9811a7d905db6ec3522ad9dfa27da891496
refs/heads/master
2021-01-24T08:51:22.732167
2018-04-11T11:42:58
2018-04-11T11:42:58
93,391,476
0
0
null
null
null
null
UTF-8
C++
false
false
837
hpp
ConcurrentQ.hpp
#pragma once #include <mutex> #include <deque> namespace qlog { template<class T> class ConcurrentQ { public: void enqueue(T&& item) { std::lock_guard<std::mutex> lock(m_mtx); m_q.push_back(std::forward<T>(item)); } void enqueue(const T& item) { std::lock_guard<std::mutex> lock(m_mtx); m_q....
f38c40313f874a710edc4b3c9138654224c62dff
c8f5645b30296b11a797b853490573c869b99f19
/physicalmouse.h
4a1d4897df4870db90951011c25523c46bdfd819
[]
no_license
JorjBauer/aiie
f61e7c8f06765794741b1b6a5c7a16db1382e3a4
26a0a2abd516ae0d7a8b5e6bc6a1dc85ca983fbb
refs/heads/master
2022-02-12T05:01:45.850578
2022-02-10T21:10:56
2022-02-10T21:10:56
82,481,453
63
7
null
null
null
null
UTF-8
C++
false
false
660
h
physicalmouse.h
#ifndef __PHYSICALMOUSE_H #define __PHYSICALMOUSE_H #include <stdint.h> enum { XCLAMP = 0, YCLAMP = 1 }; class PhysicalMouse { public: PhysicalMouse() { lowClamp[XCLAMP] = lowClamp[YCLAMP] = 0; highClamp[XCLAMP] = highClamp[YCLAMP] = 1023; } virtual ~PhysicalMouse() {}; virtual void maintainMouse() = 0; ...
6b485ac35b033a7d63a060108657d06735069d46
a4e6b839115d5c25f09003b6ea812931de491b7b
/main/solution198.h
d7cf420e503cd637d2441b42fcecb4f3a33e97b8
[]
no_license
tianyamignyue/LeetCode
be8f9e8107255b69a5ec093919b742457863ff0b
264e39af721ed958b9f5599f123272d430be169e
refs/heads/master
2019-08-28T16:56:42.265828
2016-09-15T15:22:34
2016-09-15T15:22:34
40,079,208
0
0
null
null
null
null
UTF-8
C++
false
false
1,060
h
solution198.h
#pragma once #include <iostream> #include <vector> using namespace std; class Solution { vector<int> gotMoney; bool useNew; public: vector<int> rob(vector<int>& nums) { if (nums.size() == 0) { //return 0; } else if (nums.size() == 1) { //return nums[0]; } gotMoney.push_back(nums[0]); if (nums[1] >...
50f9c4d4215d4351343a3fa000565973b1cf68e5
5133aeed6832aae9bf85fd39d4719357ffd3cbb7
/main.cpp
1175fe2d90aa0fefec0456889f0d4c14797e50e9
[]
no_license
tomisqi/spfcurvegl
e74b82d893fd518b86d6192965b8f62f8efd1c06
2a4c3d1e984e61e008cf3a9ff18740b2640fcd36
refs/heads/master
2020-05-15T14:30:16.825272
2019-04-19T23:57:58
2019-04-19T23:57:58
182,338,270
0
0
null
null
null
null
UTF-8
C++
false
false
3,872
cpp
main.cpp
#include <stdio.h> #include <stdlib.h> #include <GLFW/glfw3.h> #include "color.h" #include "vector.h" #include "curve.h" #include "string.h" #define WINDOW_SIZE 900 static void GlfwErrorCallback(int error, const char* description) { fprintf(stderr, "Glfw Error %d: %s\n", error, description); } static void DrawRect(...
ca74a56afcbcdc1e93c28762f5cbe4df1c3962b8
9dc808a1bee9f599deccec477b72c0354fb9d858
/leecode80.cpp
44ecb661f4cbe16a2bb00f2d4cfe44f7cb6e1f54
[]
no_license
juliazhuzhu/cplusplus_study
739705c084a6a22f752b5e0be6c20971c271b0d8
a173a27eed79f903e20c9604969cbaf11d7725df
refs/heads/master
2021-05-12T11:33:16.119304
2020-02-13T04:02:53
2020-02-13T04:02:53
117,391,081
0
0
null
null
null
null
UTF-8
C++
false
false
1,770
cpp
leecode80.cpp
#include <vector> using namespace std; class Solution { public: int removeDuplicates(vector<int>& nums) { int k = 0; int index = 0; int len = 0; while (len < nums.size()){ printf("nums[%d] = %d\n",index,nums[index]); nums[k++] = nums[index]; ...
d34df206ee2ce5bfc61a9deac280f3e19a85610c
468fa3b06d5034f4ff5191cc59cd329603bff01f
/src/invoke.cpp
14a1af7056a9e9bcde4aff919e343b7c6350e839
[ "MIT" ]
permissive
to-miz/tg
ef10d03a1e85818771ac22e6dfd11d862484c64f
84950c00dc62418d1c82ac05489ce0df18ebd4db
refs/heads/master
2021-06-24T20:34:05.409491
2020-12-05T11:32:46
2020-12-05T11:32:46
179,829,965
0
0
null
null
null
null
UTF-8
C++
false
false
19,256
cpp
invoke.cpp
// 16 * 4 spaces, 16 indentations using space. static const std::string_view indent_spaces_string = " "; void output_newlines(std::string& stream, int newlines_count) { // Output multiple newlines at once. assert(newlines_count >= 0); std::stri...
a29bc517279c09b7b660978783852f675281456a
ad44bc3cc51bc247361222c641e026017b500049
/test/Fit/Fit.hh
1b940649b0e22fa642bfb74bf503ccdb5b7e26f5
[]
no_license
jec429/cms-WR
126305ea2fb157ad5b533c83123b72b50b29bf4a
53c61b66b6b29d63b08cebf59bc72e792c791527
refs/heads/master
2020-12-28T12:17:11.721001
2016-01-28T08:05:37
2016-01-28T08:05:37
33,197,787
0
0
null
2015-03-31T16:52:52
2015-03-31T16:52:52
null
UTF-8
C++
false
false
718
hh
Fit.hh
#include "TH1F.h" #include "TH2F.h" #include "TFile.h" #include "TTree.h" #include <vector> #include <iostream> #include <string> void betterFit(TH1F* h1, TF1* f1, TString fitpars){ TCanvas *c1 = new TCanvas("c1","",200,10,700,500); c1->SetLogy(); gStyle->SetOptFit(1111); h1->Fit(f1,fitpars); TCanvas *c2 = n...
7ddaac8d0bac4cb4d58988d40c856250980829e7
61238af0f36478f95d0f573656fd16e39b13814c
/hw73/hw732_playsine/hw732_playsine.cpp
f96063199b6d5d517851661b577577344b48f0e0
[]
no_license
stritzelm/cs312
05b7307d1aa541dd83af97feaf9051b8545cdbae
fb2171ae85e71342c239defc6cf39cdf2d27cdfd
refs/heads/master
2022-04-08T16:51:39.865387
2020-03-21T02:35:33
2020-03-21T02:35:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,476
cpp
hw732_playsine.cpp
// REPLACE ABOVE with /******************************************/ /* playsaw.cpp by Gary P. Scavone, 2006 Modified for hw732_playsine.cpp John Ellinger CS312 */ /******************************************/ #include "RtAudio.h" #include <iostream> #include <cmath> // for M_PI // EITHER/OR typedef float MY_TYPE; #de...
af5929a2916938db5db047ab45e89542f9771929
d36b3b0091fff4a514f841ed0013a20e631f1b42
/src/interpolation/base/Vector.cc
64841ff3b0e30d501467e418bada9e109df48d96
[]
no_license
t-karatsu/ASPA
5ba025ba4b68ed12909a9177865fd143da1cfac2
64634d0e4d1043f423b811d2cc55f340c18b6cf7
refs/heads/master
2020-11-29T19:35:43.998786
2014-09-23T12:22:11
2014-09-23T12:22:11
230,200,932
0
0
null
2019-12-26T05:31:08
2019-12-26T05:31:08
null
UTF-8
C++
false
false
3,022
cc
Vector.cc
// DO-NOT-DELETE revisionify.begin() /* Copyright (c) 2007-2008 Lawrence Livermore National Security LLC This file is part of the mdef package (version 0.1) and is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Founda...
6325ff3bc89c131d3a70a632f1bc2304b937fa88
deeb6e3447bd4ea238c71ee8e0e7d3b6ab4863f2
/main.cpp
9050f0eecfcc9c7f5c67fa4b3432626bbaefdd63
[]
no_license
raal4953/CSCI2270Project
8c1c34e7ea25bdbf9b9ec10ed18fc2453aa44121
5f7f87ce1f8bf504df1e5839903b290bf6f985b5
refs/heads/master
2020-03-22T12:06:54.785984
2016-04-27T19:16:32
2016-04-27T19:16:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,228
cpp
main.cpp
#include <iostream> #include "Graph.h" #include <fstream> //allows istream/ostream #include <string> #include <sstream> // std::stringstream, std::stringbuf using namespace std; void readFileIntoGraph(Graph & g, char* fileName); int main(int argc, char*argv[]) { // Create a graph Graph g; // Read ...
5f03ebceebf4e62764a6bbd7b7e1ff805fcfd2ec
7ac2939e6d53f9979fec936e0e13286095c952cf
/src/crypto/include/cryptoImplementation.hpp
66fdbbb06d2b1ed15a788b42a08771c7530f81f3
[]
no_license
tttapa/EAGLE-ZYBO-Linux
3ce1f8481eee1eb32bd8928d97a341f00fae5e34
c4cdb4bd7200ef4174305a451382e61fb3364f52
refs/heads/master
2020-05-15T14:25:14.788527
2019-07-09T14:03:47
2019-07-09T14:03:47
182,319,556
0
0
null
2019-05-16T12:12:57
2019-04-19T20:06:43
C++
UTF-8
C++
false
false
408
hpp
cryptoImplementation.hpp
#pragma once #include <bitString.hpp> class CryptoImplementation { public: virtual BitString hash(const BitString &message) const = 0; virtual BitString decrypt(const BitString &key, const BitString &nonce, const BitString &associatedData, const ...
8fb4c3f4c8d42cf922fb13b1d184e5563a5d4245
66e77de99b6a3f23ce7cdc711ccebfd735321047
/perf/test_fsb.hh
cbaca92515c3908f7b2999e1bacdd92dbe2f2a5e
[]
no_license
arneg/GJAlloc
932ee1cb0017672e858fbd3c3ead0d13dc759a3d
8f36a4503c13933d89e68681fc01cb6acf9a1d7c
refs/heads/master
2018-12-27T23:15:37.789990
2015-08-29T09:43:45
2015-08-29T09:43:45
3,362,450
22
6
null
2015-03-15T08:06:30
2012-02-05T21:48:30
C
UTF-8
C++
false
false
319
hh
test_fsb.hh
#include "FSBAllocator.hh" #define TEST_CLASS(t) FSBAllocator<t> #define TEST_INIT(t) TEST_CLASS(t) * a #define DYNAMIC_INIT(t) a = new TEST_CLASS(t) #define TEST_ALLOC(t) a->allocate(1) #define TEST_FREE(t, p) a->deallocate((t*)p, 1) #define TEST_DEINIT(t) delete a #define TEST_NUM_PAGES(t, v) do { v = 0; } while(0)
ca9ca6b78323001dd0715f01988da474e821550c
2b5d030b4feff51eac6801030966d0fea3fe29cb
/algoritmos/geometry/inpoly.cpp
fac0825a397c5f98b5edc612de2db3228f7f04b7
[]
no_license
luizribeiro/manual
eca6784852f0766497af6e8b4ccffbb2faab7feb
25b1a9a904249b4e47d2ad85ee130bf29ca5fd9c
refs/heads/master
2016-09-05T17:07:59.513377
2011-09-16T22:26:45
2011-09-16T22:26:45
2,363,902
0
0
null
null
null
null
UTF-8
C++
false
false
397
cpp
inpoly.cpp
bool inpoly(polygon q, point p) { bool in = false; point a, b; int i, j, t; for(i = 0; i < q.n; i++) { j = (i+1) % q.n; if(q.p[j].x > q.p[i].x) { a = q.p[i]; b = q.p[j]; } else { a = q.p[j]; b = q.p[i]; } t = cross(a, b, p); if(t == 0 && on_segment(a, b, p)) return true; /* LADO! */ if((q...
7fa29fb65d50bf019bc642070ef1b908dbfc5d40
66dc80f6d97420fcb31236b50f7de7392b913eb0
/old/cppcon-2017-web-service/example/server/beast/lib/beast/test/extras/include/boost/beast/test/stream.hpp
c1228228d7602730c4a5f81575f7c2dee8c04ebc
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Voultapher/Presentations
78ad21eefac85781001abca244836c9209da9af1
a78ba6d5f2df3d7ef18c1461f25131fc122092da
refs/heads/master
2023-02-22T01:26:35.270711
2023-02-03T13:54:11
2023-02-03T13:54:11
78,875,034
7
1
Apache-2.0
2019-11-13T09:36:22
2017-01-13T18:26:58
C++
UTF-8
C++
false
false
19,496
hpp
stream.hpp
// // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/beast // #ifndef BOOST_BEAST_...
47757a96bf2773a6a0c98fe61e304debb2b97cf9
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/3rdParty/V8/v7.9.317/test/cctest/test-symbols.cc
006bca9f1fab9594a6f6b65a6337357a9d6abc4a
[ "bzip2-1.0.6", "BSD-3-Clause", "Apache-2.0", "SunPro", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "BSL-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
3,061
cc
test-symbols.cc
// Copyright 2013 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
e6f429143edfec2e322128af7703b6e1720a036b
4740d1f44b1369ac9d80099ef6fd958d6a666e87
/Intro to Binary Search Tree's/bst.h
b7b78a5bd2821d5c46e3ae1d02fd0cc92cd4a612
[]
no_license
MatthewFilo/School-Programming-Assignments
5936c193657f1376821b41e477804c6f493a4deb
ffaa811cfbba583e25111acca197531f7fdf2f37
refs/heads/master
2022-11-13T11:23:12.239464
2020-07-02T23:42:42
2020-07-02T23:42:42
276,764,641
0
0
null
null
null
null
UTF-8
C++
false
false
1,471
h
bst.h
#include <iostream> #include <cstdlib> #ifndef bst #define bst using namespace std; class binarysearchtree { private: // Creating a node structure that will be used in the BST for each individual data piece. struct node { node* left; node* right; char data; }; node* root; // Dec...
f44b1c36edd2a1f9ea7ee785fd0f08ded3fd4a32
1ac03cfe6bb000bd7751546de16435cbdeb08687
/articulatepoints.cpp
d9d75d731512c72b3f26711f989f486e884f5b57
[]
no_license
TILhub/LeetCodePractise
9a9c54830d658bdce5d7b8978a40cf11cf883a09
9fd1ade4da377f99e7d927b5d11358f94df54abc
refs/heads/master
2023-08-21T20:51:57.289740
2021-10-16T08:53:16
2021-10-16T08:53:16
259,756,658
0
1
null
2020-10-03T18:43:14
2020-04-28T21:35:02
C++
UTF-8
C++
false
false
1,615
cpp
articulatepoints.cpp
class Solution { public: int id=0; void dfs(int at, int parent, vector<int>& bridge,vector<bool>& visited,vector<int>& ids,vector<int>& low,vector<vector<int> >& adj){ visited[at]=true; low[at]=ids[at]=id++; for(int to: adj[at]){ if(to==parent) continue; ...
b2f4c3c189f2c7e3b0c5973bb3a5e1e26e39c8d4
a809cd70ef136d7e2fcf70a207880f186d019207
/modules/io/include/lagrange/io/internal/load_assimp.h
9a54078cb296dc9a9c6a2d8fce0d5611fceece91
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license", "MPL-2.0", "BSD-3-Clause", "MIT", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
adobe/lagrange
ea9d4c700ed70003ee9c9ecef55fecd6b9d77ba7
2f78a647ecb867619c73489a5e3ea752f26353ef
refs/heads/main
2023-08-10T05:18:14.852199
2023-06-28T18:29:31
2023-06-28T18:29:31
319,374,542
229
23
Apache-2.0
2023-08-30T23:21:30
2020-12-07T16:14:06
C++
UTF-8
C++
false
false
2,075
h
load_assimp.h
/* * Copyright 2023 Adobe. All rights reserved. * This file is licensed to you 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 appli...
f7b15f922d2a1a6257eca4dd731121f6ac2a0259
75f6cf8d7cbe1220c9a9fd5df80c28b3a4c2d774
/Chapter7/noopt_src/pipel.cpp
a9c2e7cd8bbe3011ae803dc38212b9cad1270e47
[]
no_license
hjmjohnson/XEParallelProg
0b60161338160deec85979a79b361411992eb906
658bb28cd7ab295a0c3d93f7954adfc7072bc893
refs/heads/master
2021-01-10T10:02:14.569670
2015-06-02T22:27:08
2015-06-02T22:27:08
36,508,311
0
0
null
null
null
null
UTF-8
C++
false
false
1,408
cpp
pipel.cpp
#include <stdio.h> #include <stdlib.h> #include <iostream> #include "StopWatch.h" #define LINE_LENGTH 8000 #define NUM_LINES 100 #define NUM_ENTRIES LINE_LENGTH * NUM_LINES int LineIn[LINE_LENGTH]; float LineOut[LINE_LENGTH]; float sqroot(int n) { float i = 0; float x1, x2; while( i*i<= n ) ...
16e4b93ccdcb66d391228135b90c3277d1afe84c
be8b9231c92e6c184f0692c92df9667be3770cb1
/Musical_Instruments_2017_2018/Musical_Glove/OLD CODE/gloves/Gloves_R/teensy/avr/libraries/Audio/examples/Tutorial/Part_3_01_Peak_Detection/Part_3_01_Peak_Detection.ino
6e350d3e357578d29088746339927f574a071731
[ "MIT" ]
permissive
Pocketart/typhoonclawvex
def0f4a607c90b1bafb180466dfa12ddd8a480c1
eb4b523c13541b2b9136d32259bd0399b46a289e
refs/heads/master
2021-09-15T07:26:07.218099
2018-05-07T02:20:15
2018-05-07T02:20:15
105,268,399
4
3
MIT
2018-05-04T17:30:49
2017-09-29T12:12:32
C++
UTF-8
C++
false
false
2,252
ino
Part_3_01_Peak_Detection.ino
// Advanced Microcontroller-based Audio Workshop // // http://www.pjrc.com/store/audio_tutorial_kit.html // https://hackaday.io/project/8292-microcontroller-audio-workshop-had-supercon-2015 // // Part 3-1: Peak Detection /////////////////////////////////// // copy the Design Tool code here //////////////////////////...
d7afdff35c950139304101c5c4ac4821a28bb1c7
0713eb020fbddf2db7bcbded2f6b0e256277d6a7
/PTIT127I.cpp
f2557b4776510bbcac23f3727e270460fbbad36b
[]
no_license
fry1999/Spoj-ptit
28ea7ff6858e42dc70b2652b6b4684dd097fd81e
6e2a59e5fd52295149733195765402850e6e57cd
refs/heads/master
2020-03-31T13:30:37.184316
2018-10-09T13:46:56
2018-10-09T13:46:56
152,258,865
0
0
null
null
null
null
UTF-8
C++
false
false
517
cpp
PTIT127I.cpp
#include<iostream> #include<string.h> using namespace std; int main(){ long long n, x; bool veSo[200]; while(1){ cin>>n; if(n==0) break; memset(veSo, false, sizeof(veSo)); for(int i=0; i<n; i++) { for(int j=0; j<6; j++){ cin>>x; if(x>=1&&x<=49) veSo[x]=true; ...
38279599ee23eeb47678bb2e8b252e61be8fb27c
a13158a23232c771f86230d555a6d01de504bcfe
/jiffle/src/jiffle/data.h
6526a75ab828b8c557e97431e906d0429309ac1c
[ "MIT" ]
permissive
ketdev/Jiffle
090b1e7b630423299ad35bf69e041458b0e27c58
729c8cec77eb0c1510492dcf5ae85c86752a25f7
refs/heads/master
2021-06-17T03:42:10.160873
2017-05-27T06:46:06
2017-05-27T06:46:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,236
h
data.h
#pragma once #include <cstdint> #include <memory> namespace jiffle { namespace data { // types -------------------------------------------------------------------- typedef uint8_t byte; typedef bool bool_t; typedef int64_t integer_t; typedef long double real_t; enum type { Void, Bool, Integ...
17fedab220b24dfededf0642619cc2ec2184a27c
5c3b06802c84c2a8e130ef60da6e873359a2f294
/BigData.h
d19c9f3102ec0a3ee917380dc9b3e70d2e7ef814
[]
no_license
Nico-Lee/BigData
61a734c2343fe2123bc4f88700acd0cf95a5e699
252c788d8847943e5408a79b8a7b6bac0c295373
refs/heads/master
2021-01-01T03:41:54.780001
2016-04-25T10:35:13
2016-04-25T10:35:13
57,032,866
0
0
null
null
null
null
UTF-8
C++
false
false
1,091
h
BigData.h
#ifndef BIGDATA1_H #define BIGDATA1_H #include<iostream> #include<string> #include<assert.h> #define Max_INT64 9223372036854775807 #define Min_INT64 (-9223372036854775808) //不能直接用-9223372036854775808,当编译器看到9223372036854775808时直接判定 //9223372036854775808>INT64_MAX,直接用unsigned int64表示。当编译器看到负号时, //直接对9223372036854775808取反...
6b4d5c3d256dfd23b673a80b161a98c2edd9b449
724a59669a89edfb00fb8bb8c4ddb8a4fafc02f1
/Leetcode/C++/198打家劫舍.cpp
263a9654ab8cb479fc3522378c27374e9a2e6c2e
[]
no_license
Ysoretarted/LeetCode
64bae80c537a0715e04ae54238447ffaa5cdd388
b41f7137b7b7d96b595509d41de44d43440a6da2
refs/heads/master
2020-08-27T23:24:14.422113
2019-12-25T14:46:51
2019-12-25T14:46:51
217,518,942
0
0
null
null
null
null
GB18030
C++
false
false
643
cpp
198打家劫舍.cpp
class Solution { public: int rob(vector<int>& nums) { int len = nums.size(); if(len == 0) return 0; vector<vector<int>>dp(len, vector<int>(2,0)); dp[0][0] = 0; dp[0][1] = nums[0]; if(len == 1) return nums[0]; dp[1][0] = dp[0][1]; ...
676dbaf380d215a15a30d7b977f737c6a9d721ae
c955730b68bd4ba2d9255183cfef092bd1ef2524
/CPP/repl.cpp
c0ccf2a9c8783ca570d60099f4970e6c05fd3012
[]
no_license
Manvi07/Competitive-programming
b6e95c2e8bc9673d9e23e784c460d50ed3754ab1
7b59d89988667b115500482691b3ae89c397d753
refs/heads/master
2020-05-19T06:12:07.019076
2020-05-08T09:22:16
2020-05-08T09:22:16
184,867,764
1
0
null
null
null
null
UTF-8
C++
false
false
625
cpp
repl.cpp
#include<bits/stdc++.h> using namespace std; struct data { long long int d; int c; }; int main() { int t; cin>>t; while(t--) { int n,k; cin>>n>>k; long long int sum=0; struct data p[n]; long long int a[n]; for(int i=0;i<n;i++) {cin>>a[i];p[i].c=0;} int j=-1; for(int i=0;...
ec457de5bedf45bf558e6f5a10837e9f73ec2360
a69042cde9531714459b2e2608f2e1a7ef809039
/cd3/정보올림피아드관련/정보올림피아드관련/문제들/문제/ACM/4월20/3.DIR/Source.rgm/안일규_spy.cpp
147639d9cb8b65c553dfed3f140b456d1e134327
[]
no_license
almoreir/algorithm
7ebb8b79cfd92208df6db4425f5cb49ee06a50be
af74200d33cf89b038016311efd3487c58132bb3
refs/heads/master
2020-09-03T07:13:53.305987
2016-11-02T10:09:45
2016-11-02T10:09:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
684
cpp
안일규_spy.cpp
#include<fstream.h> #include<math.h> int X1[100],Y1[100],X2[100],Y2[100]; int N; void init() { int i; ifstream in("spy.in"); in >> N; for(i=0; i<N; i++){ in >> X1[i] >> Y1[i] >> X2[i] >> Y2[i]; } } int turn1(int x1, int y1, int x2, int y2) { int num; float sum; ...
07e1db9f4d8ed384508985cbc0ddd0802c39c29a
29f2549998b45a046930f3b1c5e3024791b1be16
/include/llvm/Support/Streams.h
445ab98c476d7711a325eb10851944a80d2f59d1
[ "NCSA" ]
permissive
fanfuqiang/iec-61131_new
eda210bd30a6a32e3d14c3d3e87f51b179124c72
fde56fdefd60e33facaa07661e388ed6c916c763
refs/heads/master
2016-09-05T14:59:12.678870
2015-02-06T23:55:09
2015-02-06T23:55:09
30,048,552
2
0
null
null
null
null
UTF-8
C++
false
false
2,641
h
Streams.h
//===- llvm/Support/Streams.h - Wrappers for iostreams ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
169f5b5c2ba60a3f6d2922050065d8ab826c1dca
ba1281ee51787922197a9c2032e0e50256274321
/er_perception/src/er_pointcloud_to_2d_node.cpp
6943def6537d4e60570dae158468d619dce6fcd3
[ "MIT" ]
permissive
RAS18G3/everything_robot
5d6cabdea99a4483abe2a4571a0f3fcee86a936a
56b6462cdd2ea36b30ec7dadd436decb5b0e341c
refs/heads/master
2023-04-16T10:34:50.426893
2023-03-19T14:46:31
2023-03-19T14:46:31
150,440,015
0
0
MIT
2018-11-23T15:38:25
2018-09-26T14:30:11
C++
UTF-8
C++
false
false
3,361
cpp
er_pointcloud_to_2d_node.cpp
#include "er_pointcloud_to_2d_node.h" PointCloudTo2DNode::PointCloudTo2DNode() : nh_() { } PointCloudTo2DNode::~PointCloudTo2DNode() { } void PointCloudTo2DNode::pointcloud_cb(const PointCloud::ConstPtr& msg) { PointCloud transformed_pointcloud; PointCloud modified_pointcloud; PointCloud map_pointcloud; /...
71b8d3fe6dbc909939606ad553ad4669d71f6642
47fff4638b7570d4df8fb2fe1093902609648397
/src/Base.hpp
d2c88427dd574931b3c945ef690f0d8f01bb76a2
[]
no_license
huiwenliuge/DDM
93d001a1bbaf569484ea94dec4aa48ffdade6f5e
b924ffe0d8602663171dd82aedb77ee359b3c319
refs/heads/master
2021-01-12T04:35:22.425414
2016-12-31T13:29:28
2016-12-31T13:29:28
77,683,405
0
0
null
null
null
null
UTF-8
C++
false
false
493
hpp
Base.hpp
#ifndef BASE_INC #define BASE_INC #include <iostream> #include <fstream> #include <stdlib.h> #include <cstring> struct self{ char* cellname; float factor; self* next; self* prev; }; typedef self* Self; void freeSelf(Self sl); float readInparm(const char* path); float readOutparm(const char* path); ...
0da0ce19e3a851e4318f85663ce6d9b28abd708e
0d0b743fd6ecdd1df9d2594ee1863038ef5fd4be
/StRoot/StarGenerator/FILT/FastJetFilter.h
c91bb8a87dd0f4ef99b22f6fec7e3143b1978b1d
[]
no_license
plexoos/star-sw
2383646442dcfeaa17dcb1256224e95c0e1fd3a8
92e8ad4bd6e9f93d7c2ba2d6f6b93c408995b2f6
refs/heads/main
2023-09-05T17:07:19.037320
2023-08-15T14:51:28
2023-08-15T14:51:28
212,152,557
0
0
null
2019-10-01T17:04:09
2019-10-01T17:04:09
null
UTF-8
C++
false
false
2,213
h
FastJetFilter.h
#ifndef __FastJetFilter_h__ #define __FastJetFilter_h__ #include <vector> /*! \class FastJetFilter \brief Filter which requires one or more particles in the final state of the event record */ #include "StarGenerator/FILT/StarFilterMaker.h" #ifndef __CINT__ #include <fastjet/PseudoJet.hh> #include <fastjet/Clus...
18f0887d4c8fb0dd3cd05442aa31e463ae554501
d40ae474c1bebac45ec33f1d8f52eb76e3aefd3d
/submissions/Rahul Goel.cpp
8b8b72971c9952bf562b8eede7621f3c2ba1b1ed
[]
no_license
tejas-1111/botomania-felicity-2020
2fdc57267d3f0ab9d36879198cbf6bf903fadb8f
0e6f11babab3e9f4a29c107e8aaa2aa7073717d1
refs/heads/master
2021-01-03T19:21:09.957733
2020-02-08T14:33:51
2020-02-08T14:33:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,784
cpp
Rahul Goel.cpp
/* Created by Rahul Goel. */ #include <iostream> #include <vector> #include <cstring> #include <string> #include <queue> #include <deque> #include <stack> #include <algorithm> #include <cmath> using namespace std; typedef long long ll; ll mod = 1000000007; const int INF = 1000000000; #define pii pair<int, int> #def...
ececd7bc88882d2d20073c0ae0727ac8bcd2ac04
8239562e9d1620ae942db148f7a5775874fa1b55
/1002.cpp
01703d802d064d9509adf475bfd6e683ee2a2c8e
[]
no_license
Higumabear/POJ
1510d3dde88c3595d869cbd88fb12e138411c0c2
e5d0823f00e5e1a0cc16b8652abb37ea823cb23a
refs/heads/master
2020-04-01T19:25:04.098270
2017-11-22T02:18:56
2017-11-22T02:18:56
16,761,319
0
0
null
null
null
null
UTF-8
C++
false
false
1,218
cpp
1002.cpp
#include <iostream> #include <string> #include <vector> #include <map> using namespace std; string decode(string a){ string b; int N = a.length(); for(int i = 0; i < N; i++){ if('A' <= a[i] && a[i] <= 'C') b += '2'; else if('D' <= a[i] && a[i] <= 'F') b += '3'; else if('G' <= a[i] && a[i] <= 'I') b +...
12c9d16cf146a9737883b529466f27b68087b5c4
888ff1ff4f76c61e0a2cff281f3fae2c9a4dcb7b
/C/C200/C240/C245/2.cpp
2259a5056334ce9d182beeaadc322e94c75276a3
[]
no_license
sanjusss/leetcode-cpp
59e243fa41cd5a1e59fc1f0c6ec13161fae9a85b
8bdf45a26f343b221caaf5be9d052c9819f29258
refs/heads/master
2023-08-18T01:02:47.798498
2023-08-15T00:30:51
2023-08-15T00:30:51
179,413,256
0
0
null
null
null
null
UTF-8
C++
false
false
1,143
cpp
2.cpp
/* * @Author: sanjusss * @Date: 2021-06-13 10:25:41 * @LastEditors: sanjusss * @LastEditTime: 2021-06-13 10:48:08 * @FilePath: \C\C200\C240\C245\2.cpp */ #include "leetcode.h" class Solution { public: int maximumRemovals(string s, string p, vector<int>& removable) { int left = 0; int right = ...
b0388f5e1f65aa7a0a22b6146c0d9f3e797387ba
b0cc51e718f6993d7bc803572cb7839b783ebfbc
/CProblem.cpp
82b0491076549fd722f3b28fc66e585264068497
[]
no_license
tialdari/genetic_algorithm
8c65eb051452d4c7fd0065eded18a16528d81bb6
af4420a1387fc3c32ff0025310dac38fbc8ccdb6
refs/heads/master
2020-04-06T19:34:16.517230
2019-01-16T09:29:30
2019-01-16T09:29:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,176
cpp
CProblem.cpp
#include <iostream> #include <string> #include <sstream> #include "CProblem.h" using namespace std; template<class T> CProblem<T>::CProblem(){ if(DEBUG) cout << "+ New cProblem object" << endl; } template<class T> CProblem<T>::~CProblem(){ if(DEBUG) cout << "- Deleting a CProblem object" << endl; } template<cl...
dd25d24cd284821cfb053d209253f2e4e3d319ba
e5f41d5b528cdb68d5a636c10f7522c4a22c58f5
/C++编程实例100篇/实例41/BALL.CPP
2b9bb820dfe0817143c31db16b3c2a9316cc32c4
[]
no_license
paraler/bashrc
4a0979fceada25ce65539c737f8cc9eea200f351
abd7dbe5a3766631b255b05dc00417a62ccb948f
refs/heads/master
2021-01-21T13:33:34.827061
2016-05-18T10:12:23
2016-05-18T10:12:23
59,104,629
2
3
null
null
null
null
UTF-8
C++
false
false
948
cpp
BALL.CPP
/*----------------------------PICTURE-----------------------------*/ /* NAME: A BEAUTIFUL BALL */ /*----------------------------PIICTURE-----------------------------*/ #include<graphics.h> #include<dos.h> #include<conio.h> void main() { int driver=DETECT,mode; int X1=250,Y1=244,R1=50, ...
b46c1f63bf1f1d7a862a94c1d38eb22bcc471e84
bb07339ee7681b850fdee35717fd48b0bef8c088
/FactoryManager.h
55f24028ab1f3d2ffb2253dcdddfbffd724dd020
[]
no_license
Redbassist/AI-Project
6e9a0b0f8a85162dc92e7424064a8f240b090332
2f99d025584d9c45de644d3adaef1bc78e929be0
refs/heads/master
2021-01-10T16:13:00.777196
2016-01-22T16:52:04
2016-01-22T16:52:04
47,400,626
0
0
null
null
null
null
UTF-8
C++
false
false
389
h
FactoryManager.h
#pragma once #ifndef FACTORYMANANAGER_H #define FACTORYMANANAGER_H #include <SFML/Graphics.hpp> #include "stdafx.h" #include "Factory.h" #include "Globals.h" class Factory; class FactoryManager { private: public: FactoryManager(); static FactoryManager* GetInstance(); void AddFactory(Factory*); void Update(); v...
39876ef366bcba19c26a5721576daf700f9390de
8bbccf3e5ea2cb1af75c2993f2c78bec63a03ec4
/bdd/include/value.h
b23e715f3d4f22b7ba1abc74a098b38dbadbb257
[]
no_license
insequor/esintiler
db6e24d775f0a4dddd7fdc7788fcd7231618f704
f624eec36496c5e13d5b147e77f9cd75666771ef
refs/heads/master
2021-01-10T21:11:28.308797
2013-06-29T14:55:14
2013-06-29T14:55:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,856
h
value.h
/** * Ozgur Yuksel, June, 2010 * A simple natural language imitation for value testing * Highly influenced by igloo * * Usage Example * DECLARE_TESTER(int, IntTester) { //tester method without any input parameter TESTER_METHOD(check, ()) { return result(true); ...
57c7b5f6d69a29dbf369e2069b083a8ffdf122f5
8471c94f7d6ae5ec931c38cd35e3983ebc20ef19
/includes/CommandHelp.h
614872974dba7347558c3c4f88d93d4cb7b5630e
[]
no_license
Steven-Hart/TextAdventure
0ce2c55bd2a22f6cd001ca3316fd751108161413
eeea60d0e41f822556c32bc92f2b5c7e9c8b662f
refs/heads/main
2023-01-06T11:02:09.208343
2020-11-02T08:46:32
2020-11-02T08:46:32
309,302,637
0
0
null
null
null
null
UTF-8
C++
false
false
346
h
CommandHelp.h
// // Created by Mereslann on 17/10/2019. // #ifndef COMMANDHELP_H #define COMMANDHELP_H #include "Command.h" class CommandHelp: public Command { public: CommandHelp( World* world, map<string , Command*>* commands); virtual string Execute(vector<string> args); private: map<string , Command*>* commands; ...
50f6620ee428f20e2eb6ac2f7ffdaa7696cc857e
34556379b56b17b365efcfe46d3f5c82de5954a6
/DX11Tutorial/DX11Tutorial/Sample/FrontTestSample.cpp
3213c73e2b4be7fdc4109e80ab6098b239e41fe0
[]
no_license
mshandle/DX11Tutorial
c4ecdf55eaff4fa25c8e90344a4fa8d6649ec03f
96333379614abf4f55340b27eccd1a25b433eb31
refs/heads/master
2021-05-29T12:41:59.465928
2015-03-17T04:36:18
2015-03-17T04:36:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
606
cpp
FrontTestSample.cpp
#include "FrontTestSample.h" #include "UILib/FrontLable.h" #include "UILib/UISystem.h" bool FrontTestSample::init() { /*pLable = new EVAUI::FrontLable(std::string("Eva UI Font !"), EVAUI::UISystem::instance().TopLeft()); EVAUI::UISystem::instance().Root()->addchild(pLable);*/ return true; } void Fro...
db826214119a6dd6b52e30f715870c8672aa6c7e
b89a6a122a7b82e4fd0872f1ec935bc45633c9eb
/src/GdbServer.h
ae58b5dafbe1c5392bea9acd1243f566f6dbba8b
[ "BSD-2-Clause", "MIT" ]
permissive
rogerwang/rr
545f87ed75a00c8bf97ec31df1a826792f3cbd5b
619b8951d392b46c6f62b2bad7c0861a05d9f32e
refs/heads/master
2020-04-28T22:17:36.253926
2015-02-19T11:38:52
2015-02-25T04:49:44
31,494,918
3
0
null
null
null
null
UTF-8
C++
false
false
6,228
h
GdbServer.h
/* -*- Mode: C++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #ifndef RR_GDB_SERVER_H_ #define RR_GDB_SERVER_H_ #include <map> #include <memory> #include <string> #include "DiversionSession.h" #include "GdbConnection.h" #include "ReplaySession.h" #include "ReplayTimeline.h" #include "ScopedFd.h" #...
7f7107444e3be19e22f32985bc5dc818f682e843
971cecba2339e0354c53fd8e4ef4748b5c452ecf
/src/OptimizationCollection.cpp
225617d5722eaef59cdf60ed40a62eb2569a32ab
[ "BSD-2-Clause-Views" ]
permissive
brianwgoldman/Parameter-less_Population_Pyramid
c87e4f0244f8e7719fa652390807f01cef9e0d5e
67c5855327f6f3e4aaab8aae9bd43535ecc8bbfe
refs/heads/master
2020-04-15T20:27:19.252850
2016-07-26T19:32:15
2016-07-26T19:32:15
17,711,316
7
1
null
null
null
null
UTF-8
C++
false
false
330
cpp
OptimizationCollection.cpp
// Brian Goldman // Configurable optimization methods #include "OptimizationCollection.h" // Template specialization allowing strings to be converted // directly to the functions which create optimizer objects. template<> optimize::pointer Configuration::get(const string key) { return optimize::lookup[get<string>(...
14856606bed240c0951e5e4369233afa120bc9f6
b65a3d528a1c57e8209c5328173d4cc6ac8034ed
/window.cpp
15939f846959d118b27aea2563dd63133f9e2d88
[]
no_license
Eduar2TC/Juego-de-la-Vida
5eb14724be6f7c99879567d01b80fc0afff0103f
c305d7e7a3435cf71192e5c7bbdac14cf0311aac
refs/heads/master
2023-06-03T06:40:01.272750
2021-06-16T10:20:06
2021-06-16T10:20:06
377,455,769
0
0
null
null
null
null
UTF-8
C++
false
false
1,060
cpp
window.cpp
#include <iostream> #include <windows.h> #include <conio.h> using namespace std; class Ventana{ public: void situaCoordenada(int a, int b){ HANDLE mueve; mueve = GetStdHandle(STD_OUTPUT_HANDLE); COORD Posicion; Posicion.X = a; Posicion.Y = b; SetConsoleCursorPositio...
54a7c1d5f792c9ea63d44f546445d80f84a9c5e7
3a6567fdfb226b0fd7383492401266a126559e43
/lib/StreamingRecorder.cpp
f0d5d8a005abefa7a8d3ee7fdb24b33c651a75b0
[]
no_license
khiav223577/log-analysis
6243aa667cc5b0b8aa744a388aa341620a926c52
32b9f20a766614c5284dac5b6786afb3bd56052f
refs/heads/master
2021-01-18T10:52:50.557504
2016-06-27T08:12:58
2016-06-27T08:12:58
23,039,264
0
0
null
null
null
null
UTF-8
C++
false
false
5,845
cpp
StreamingRecorder.cpp
#ifndef ___StreamingRecorder_cpp__ #define ___StreamingRecorder_cpp__ #include "FlexibleInt.cpp" template<typename XXXXX> class StreamingRecorder{ private: bool initialized, increasingFuncFlag, decreasingFuncFlag; XXXXX record_min, record_max, prev_value; inline void Perror(const char *str){ printf...
e1f64d0a24caf3a031da6e835deaab93853bdff6
ce38a4cbffd5a83e6a7d342b5e7fd9a7c8bd7c3d
/Dynasty Engine/src/Dynasty Engine/Scene/CommandAlarmDeregistration.h
d595750d0e8906f311548a9b27933cdb36428900
[]
no_license
dcheng9/dynasty-engine
02644ea5952cccea14702d359a9af4011c24f49c
b3ca8bcfb94a73d1ec4e5fbe531f31eaae64e2f5
refs/heads/master
2020-09-29T08:20:00.722675
2019-12-10T00:54:31
2019-12-10T00:54:31
226,997,946
0
0
null
null
null
null
UTF-8
C++
false
false
627
h
CommandAlarmDeregistration.h
#ifndef _CommandAlarmDeregistration #define _CommandAlarmDeregistration #include "CommandBase.h" #include "..\Managers\AlarmableManager.h" class CommandAlarmDeregistration : public CommandBase { public: AlarmableManager* ptrMgr; AlarmMarker* ptrAm; CommandAlarmDeregistration() = delete; ~CommandAlarmDeregistrati...
ac19386136792c9a8040fde69d9fd3e071ce1b75
b5b26ef51f513c52db8a5cbb5f2e1302376a1a53
/src/database/ChartDataWorker.hpp
bbfdf4cc008ba3df83a361883cb1aaad0973e1aa
[]
no_license
dmarc0001/spx42Control
e1a99f8416add2955183e80fca354ab5f09ec6e2
55dc266f05388793bb29b54233b6684508db712c
refs/heads/master
2021-07-08T00:30:03.577217
2021-03-25T08:40:58
2021-03-25T08:40:58
67,631,728
0
1
null
null
null
null
UTF-8
C++
false
false
2,330
hpp
ChartDataWorker.hpp
#ifndef CHARTDATAWORKER_HPP #define CHARTDATAWORKER_HPP #include <QAreaSeries> #include <QCategoryAxis> #include <QChart> #include <QDateTimeAxis> #include <QPair> #include <QSplineSeries> #include <QValueAxis> #include <QtCore/QObject> #include <cmath> #include <memory> #include "database/SPX42Database.hpp" #include...
a34e899682911b4fd305422bc50653ee5873b570
df90ed23a49dba79f61e5a28366424f0ecec60de
/src/collide/rectangular.cpp
e3d18eb52c6dfdb7c0ff0b70b7a6565270d19099
[ "BSD-2-Clause" ]
permissive
Damdoshi/LibLapin
306e8ae8be70be9e4de93db60913c4f092a714a7
41491d3d3926b8e42e3aec8d1621340501841aae
refs/heads/master
2023-09-03T10:11:06.743172
2023-08-25T08:03:33
2023-08-25T08:03:33
64,509,332
39
12
NOASSERTION
2021-02-03T17:18:22
2016-07-29T20:43:25
C++
UTF-8
C++
false
false
807
cpp
rectangular.cpp
// Jason Brillante "Damdoshi" // Hanged Bunny Studio 2014-2018 // // Bibliothèque Lapin #include "lapin_private.h" bool bunny_rectangular_collision_dot(const t_bunny_accurate_area *elem, const t_bunny_accurate_position *pos) { bool res; res = pos->x >= elem->x && pos->x < elem->x + elem->w && pos...
f8175c9cf4d566693bdbeaa12e04e3dfcec4d8eb
2f821dbb719b732d22b59e71009df46a71af9a13
/src/output.cpp
28e1a7295a24a406f10899f73f264e9dee5a633b
[]
no_license
maleadt/inkpad
fc3e6c8f50669fc278d7d8dcbb48c8aadac7b14c
ba3efc0fca307f06eeb7e2bfc791d4332c785c4d
refs/heads/master
2016-09-05T18:02:33.103520
2010-09-01T07:38:33
2010-09-01T07:38:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,556
cpp
output.cpp
/* * output.cpp * Inkpad output handling. * * Copyright (c) 2009 Tim Besard <tim.besard@gmail.com> * All rights reserved. * * 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 versio...
91e45768b79aca03e1b29c7e039cef4b426f4541
f3846be4ae21c5e678d143eb60fefc99ed585bf3
/partydb/Main.cpp
7aca5a1760f1b3502086d5106b52cf7d87aac3c6
[]
no_license
mtso/partydb
1beb2ced5035a3a20b35ccc9e0fbf02f33c2fafd
ded7715d785b53984f3eafac020c1a63e00bd471
refs/heads/master
2020-07-05T22:03:56.046986
2016-11-28T09:04:23
2016-11-28T09:04:23
73,978,480
0
0
null
null
null
null
UTF-8
C++
false
false
4,736
cpp
Main.cpp
// Main.cpp // Lab 4: partydb // CIS 22C F2016: Matthew Tso #include <iostream> #include <fstream> using namespace std; #include "BirthdayManager.h" // Main's helper functions int firstOccurrenceOf(const char& character, const string& in_string); Birthdate parseBirthdate(const string& raw_birthday); // Entry point ...
ba3d0f996f6703d295481f76299bef824a6f3867
da1500e0d3040497614d5327d2461a22e934b4d8
/cobalt/dom/mutation_reporter.cc
9af9794d22f608c9bd10b1094b6f3b3883a52078
[ "Apache-2.0", "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
8,775
cc
mutation_reporter.cc
// Copyright 2017 The Cobalt Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
2b077bf9922df5ca831bb05b9649c65a1abb15a2
bc84c328d1cc2a318160d42ed1faa1961bdf1e87
/windows/VC++/OCX/ActiveX_Interface/0602Active1/0602Active1Ctrl.h
988cb37fd3a36aae3cddc96628a3551630b5d29e
[ "MIT" ]
permissive
liangjisheng/C-Cpp
25d07580b5dd1ff364087c3cf8e13cebdc9280a5
8b33ba1f43580a7bdded8bb4ce3d92983ccedb81
refs/heads/master
2021-07-10T14:40:20.006051
2019-01-26T09:24:04
2019-01-26T09:24:04
136,299,205
7
2
null
null
null
null
UTF-8
C++
false
false
1,111
h
0602Active1Ctrl.h
#pragma once // 0602Active1Ctrl.h : Declaration of the CMy0602Active1Ctrl ActiveX Control class. // CMy0602Active1Ctrl : See 0602Active1Ctrl.cpp for implementation. class CMy0602Active1Ctrl : public COleControl { DECLARE_DYNCREATE(CMy0602Active1Ctrl) // Constructor public: CMy0602Active1Ctrl(); // Overrides pub...
bc41751d3a6b3ea2569e874a7e617fb8774bfe99
a5df2fdfaa1b44038b0bf9aa36a6b471279381d2
/analysis/GEMHit.h
8ce579941a73ee7658b93b2239e9cd8e9acee2cd
[]
no_license
Jiansiyu/ROOT_GUI
4e001958b10fe7276625e74a6e3a110b886f66cd
cf58e918f6127f5d73dc15f3ee096ab645203f25
refs/heads/master
2021-07-25T12:21:46.095922
2020-07-01T19:28:47
2020-07-01T19:28:47
80,581,487
2
2
null
2018-05-24T01:51:07
2017-02-01T01:59:33
C++
UTF-8
C++
false
false
1,969
h
GEMHit.h
/******************************************** Xinzhan: v1, This class defines strip hit v2, added a vector to store adcs in different TS'es removed Double_t pos; Double_t charge added a function Double_t Charge() to return the total charge Usage: Before you use timing infom...
da37c984cd3a6854986537ddadc95c15f603a366
22cc57cfcc7292a0d67d9e2cffa424216e932eb1
/Cviceni_04/Time.cpp
f4086d6b3e423a16369e80145a97813464764943
[]
no_license
st58229/CPP
0d713312b280747436158baf476c6ebe022cd5c7
dd788164b483c4fbaece5ed760796ffba71adcc3
refs/heads/main
2023-02-21T00:29:09.270960
2021-01-28T18:18:26
2021-01-28T18:18:26
300,943,631
0
0
null
null
null
null
UTF-8
C++
false
false
968
cpp
Time.cpp
#include "IComparable.h" #include "Time.h" #include "IObject.h" #include <string> using namespace std; Time::Time(int _hours, int _minutes, int _seconds) { this->_hours = _hours; this->_minutes = _minutes; this->_seconds = _seconds; } string Time::toString() const { return to_string(this->_hours) +...
bfe0dfc3b4c1e237fb0ff650925c61528881ac57
1de6d566b24dfccc6a7cc3e634b45b18c58e4787
/模板/线段树双标记.cpp
57d68e89a836fecd885a2a660566cf0b65722145
[]
no_license
ysj1173886760/data-structure
eca0ede3a52b7498d616754ed0b849a41bb167fe
8f57bc3aa80d15fe796f0fb6d6c9a4791381d387
refs/heads/master
2021-06-09T04:36:36.985177
2019-12-29T10:03:20
2019-12-29T10:03:20
143,282,553
2
0
null
null
null
null
UTF-8
C++
false
false
2,043
cpp
线段树双标记.cpp
#include<iostream> #define mid (l+r)/2 using namespace std; const int maxn=1000000; long long inc[maxn],mut[maxn],size[maxn],sum[maxn]; int n,m,x,y,z,a[maxn],mod; void build(int t,int l,int r) { size[t]=r-l+1; mut[t]=1; if(l==r) { sum[t]=a[l]%mod; return; } build(t*2,l,mid); ...
ced03d12ea685bb2ada8d9d81c1b658df5417f5e
eb24d2f7d1cf68343794d4f23a0d0e53fcc2ebc2
/codeforces/cfr201/fixpoint.cpp
9c0acaceb475916ade3334f348040752e9faa4da
[]
no_license
harshil93/Competitive-Programming
39322172132df935b5a57974057fd4eacba80587
2d247b953ecc41f4fd546ec957b38da8506238df
refs/heads/master
2021-01-23T14:52:26.736076
2014-12-15T16:10:06
2014-12-15T16:10:06
10,969,448
1
1
null
null
null
null
UTF-8
C++
false
false
605
cpp
fixpoint.cpp
#include <iostream> #include <string> #include <cstdio> #include <cstdlib> #include <cmath> #include <vector> #include <algorithm> #include <utility> #include <queue> #include <stack> #include <map> #include <set> using namespace std; #define PR(x) cout << #x " = " << x << "\n"; int main(){ int n; cin>>n; int a[10...
472dd8592d067aad015aeafb34b3bbb9ca5cf820
0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8
/Prague/Core/Loader/scheck_list.cpp
95c7303b3863aa4ca31382995ffb1197a0428a81
[]
no_license
seth1002/antivirus-1
9dfbadc68e16e51f141ac8b3bb283c1d25792572
3752a3b20e1a8390f0889f6192ee6b851e99e8a4
refs/heads/master
2020-07-15T00:30:19.131934
2016-07-21T13:59:11
2016-07-21T13:59:11
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
22,161
cpp
scheck_list.cpp
// -------------------------------------------------------------------------------- // AVP Prague stamp begin( Interface header, ) // -------- ANSI C++ Code Generator 1.0 -------- // -------- Wednesday, 26 October 2005, 13:08 -------- // ------------------------------------------- // Copyright © Kaspersky Lab 1...
293fe097a311261683fab013893719bfcb6129e3
f2b6c790f18baa137c00e7c809d966e6c7b5733f
/Material.h
cec083d53a37a1939deca61f2e8354b8bd20ba3b
[ "Unlicense" ]
permissive
linobatistacf/PDSII_Grupo7
b8991ede35148238392df1328ad1429eea59f1c0
a743b0490de88f25dd938418b9fddc08932464bd
refs/heads/master
2020-04-10T15:11:41.848361
2018-12-10T00:58:40
2018-12-10T00:58:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
931
h
Material.h
#ifndef MATERIAL_H #define MATERIAL_H #include <string> class Material { public: Material(); virtual ~Material(); int EscolherTipoResiduo();//Esse metodo deve ser chamado para que o usuario escolha um tipo de residuo que vai doar ou receber. So existem 4 possibilidades: retorna 1 para metal,2 para pape...
0fac9620d6010ff073063e8c04e59e241783ce46
a823d48f9c18a308d389492471f205365bb4e578
/leetcode/1405-Longest-Happy-String/cpp-1405/main2.cpp
c43dcd57578e54654c2c8757769ddba6b3845e66
[]
no_license
liuawen/Learning-Algorithms
3e145915ceecb93e88ca92df5dc1d0bf623db429
983c93a96ce0807534285782a55b22bb31252078
refs/heads/master
2023-07-19T17:04:39.723755
2023-07-14T14:59:03
2023-07-14T14:59:03
200,856,810
16
6
null
2023-04-17T19:13:20
2019-08-06T13:26:41
Java
UTF-8
C++
false
false
2,145
cpp
main2.cpp
/// Source : https://leetcode.com/problems/longest-happy-string/ /// Author : liuyubobobo /// Time : 2020-04-08 #include <iostream> #include <vector> #include <cassert> #include <queue> using namespace std; /// Greedy with a priority queue /// Time Complexity: O(a + b + c) /// Space Complexity: O(1) class Solutio...
a85fd5c39c4e331ce40ca1ba1716c686c4ede8c2
fa5a9fb69d4ca435db27dd96b7636ebe88b7b73b
/src/system/System.hpp
5a1d58ac719c9d8628cb998adedf0c6f6e781291
[]
no_license
cesarl/Water-simulation-2D
4027ab53a136acb157c519b26e12450dd9016ab2
51125937711d4a3738274c77e43223b01cf6f799
refs/heads/master
2021-01-19T10:11:18.180063
2013-08-06T15:51:20
2013-08-06T15:51:20
11,928,120
0
1
null
null
null
null
UTF-8
C++
false
false
816
hpp
System.hpp
#ifndef __SYSTEM_HPP__ #define __SYSTEM_HPP__ class System { public: virtual ~System(){}; virtual void update(unsigned int, float, const ALLEGRO_EVENT &) = 0; virtual void updateBegin(float, const ALLEGRO_EVENT &){}; virtual void updateEnd(float, const ALLEGRO_EVENT &){}; virtual void init()...
44e908987f1266f21a3622398f5db5bd93f4fbec
4433c23517a0b16fd17ae192e8cd8f46058814f6
/CodeForces/248/A[ Cupboards ].cpp
820c1e9ba6ae651f44521de48de2b1a4208d6668
[]
no_license
navidkpr/Competitive-Programming
103ca6c40a41658b053be86bd7a27a73e3d64d24
e47400cf59dea3b224fe7f1007aded347e9320d1
refs/heads/master
2023-08-27T22:19:40.019391
2019-02-16T21:14:36
2019-02-16T21:14:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
307
cpp
A[ Cupboards ].cpp
#include <iostream> using namespace std; int32_t main() { int n; cin >> n; int cnt_1 = 0, cnt_2 = 0; for (int i = 0; i < n; i++) { int num1, num2; cin >> num1 >> num2; if (num1) cnt_1++; if (num2) cnt_2++; } cout << min(cnt_1, n - cnt_1) + min(cnt_2, n - cnt_2) << endl; return 0; }
454596a9e4864111205ae1447f3fe697a95bcb56
04904c58080f35d7720dfc06799c5af38e092b9c
/question68/tree.h
5b582bf19d2997ac43021e2fc68cc6d22c9e5de2
[]
no_license
hear-snow/SomeBasicQuestion
e0c626d59bfe10211890fb466325d18b0c10a222
8fff9e5831216e39e088ef77c043a442331d487c
refs/heads/master
2021-05-21T13:33:14.906174
2020-05-10T03:53:12
2020-05-10T03:53:12
252,668,248
0
0
null
null
null
null
UTF-8
C++
false
false
383
h
tree.h
#ifndef TREE_H_ #define TREE_H_ #include<vector> using namespace std; struct BinaryTreeNode; typedef BinaryTreeNode* Position; struct BinaryTreeNode { int m_nValue; vector< Position > m_vChildren; }; Position CreateNewBinaryTreeNode( int ItemValue ); void ConnectBinaryTreeNode( Position TreeRoot, vector< Position...
c3205c638d7f48c32cc02cf93ba7add80925ab92
66d74424ce2c0b769b8b6bdf71b8b7652ae2112a
/Questao31-DeterminarOSomatorioFracionadoDeH/main.cpp
fefb036c7f7ba79d054811bd7ef42a21ba7683f8
[]
no_license
andersonf007/ExerciciosEmC
e967e8789dd26518eca3dbc306dcf79cdb6e2822
bb9791226b9428c33475c8923387d79a3da2f40b
refs/heads/master
2020-03-28T00:41:20.041154
2019-02-12T13:53:50
2019-02-12T13:53:50
147,440,611
0
0
null
null
null
null
UTF-8
C++
false
false
208
cpp
main.cpp
#include<stdio.h> main(){ float soma = 0, numero = 1; for(int i = 1; i<= 99; i += 2){ soma = soma + ( i/numero); numero ++; } printf("%f", soma); }
12cb02e00ebf8767a505410b14fd2f8ac3c047bf
0b840cf2c48d1e471fdec3a94a12447149f41607
/WaterFinal/WaterFinal.ino
f552e0972651eed86c4764d22d5974fcdb01a4ec
[]
no_license
wady101/Tryst_2017
fc159660f528169efa7bc4b3adc9fbfdc086c152
cc8b88d2e2ad27bff8ea9a3857db11ca780b7f78
refs/heads/master
2020-04-17T12:02:43.535475
2017-02-19T21:19:19
2017-02-19T21:19:19
166,565,150
0
0
null
null
null
null
UTF-8
C++
false
false
2,822
ino
WaterFinal.ino
/* This is the code for running a Car with an Arm. Used in IIT-D: Save The Drowning Made by: Eashan Wadhwa Dated: 19th Feburary 2017 */ // Variables: #include<Servo.h> Servo cl; Servo sh; const int mot1r=4; const int mot1b=7; co...
5d5193ef3b4324c8e36b1f5b60f610cdbdd49fcd
e5ed7d8a15e0e95047bf4bc4a95d1862b4023ba6
/Teaching/TeachingUtil.cpp
8a24d6974b23cac68e22ffa8fd162cb2cb75ea12
[ "MIT", "BSD-3-Clause" ]
permissive
ryhanai/teachingplugin
77f4bcf5bd2672867cc949f144ea9350dd353f8c
a495885899eaa36ea00ba8ab89057cd4d3f36350
refs/heads/master
2020-07-06T19:19:29.865425
2019-08-21T07:53:47
2019-08-21T07:53:47
203,114,760
2
0
null
null
null
null
UTF-8
C++
false
false
10,972
cpp
TeachingUtil.cpp
#include <fstream> #include <iostream> #include "TeachingUtil.h" // #include <cnoid/YAMLReader> #include <cnoid/YAMLWriter> #include "PythonWrapper.h" #include "Calculator.h" #include "LoggerUtil.h" #include "gettext.h" using namespace std; using namespace cnoid; typedef boost::array<boost::uint8_t, 20> hash_data_t...
8717bba9de1298bebfc6ee1613455c2f283015e5
17e8b775ec28c774857919b8df957145adf2e606
/spoj/will it ever stop.cpp
245f1eaba6be2019387733a1f23fe09eceff544f
[]
no_license
chamow97/Competitive-Coding
30b5acc77d51207c55eca91b8da161d80a3fbfab
8f2d8a1ca6881dbde9c75735240d4e4f681e0138
refs/heads/master
2021-04-28T21:40:05.294842
2019-09-15T13:25:59
2019-09-15T13:25:59
77,766,905
5
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
will it ever stop.cpp
#include<bits/stdc++.h> using namespace std; int main() { long long n,flag=0; cin>>n; while(n) { if(n%2!=0 && n>1) { flag=1; break; } else flag=0; n/=2; } if(flag==0) cout<<"TAK\n"; else ...
f1f6a06692f0d7301987c4151b2a23e5d699aa21
711d7074da3939f11b7f56e359ed37ec42795133
/VSidoCommand/cpp/VSidoConnect.hpp
14d0ea7314d9c8ca97d50089047c44e68bc2224c
[ "BSD-3-Clause" ]
permissive
Asratec/VSidoConnServer
6ff9ad346721d6fd9e22fb3b9fe9947bea5241c6
a465b87e1843b8945b14440c9bd407c562bb3439
refs/heads/master
2020-04-25T18:12:34.037523
2016-08-12T03:00:57
2016-08-12T03:00:57
31,400,816
4
1
null
null
null
null
UTF-8
C++
false
false
38,408
hpp
VSidoConnect.hpp
/* Copyright (c) 2015, Asratec Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the fo...
924bbeadd5043c984e4e64f28b21013f5eb75a16
2bdc85da8ec860be41ad14fceecedef1a8efc269
/TestCode/source/TestTuple.cpp
5f2bb9849ba03f751e0e943643fd20a5236b36b9
[]
no_license
BackupTheBerlios/pythonwrapper-svn
5c41a03b23690c62693c7b29e81b240ee24f1a7f
42879461c7302755f3c803cd1314e8da5a202c68
refs/heads/master
2016-09-05T09:53:14.554795
2005-12-26T07:52:41
2005-12-26T07:52:41
40,751,088
0
0
null
null
null
null
UTF-8
C++
false
false
4,795
cpp
TestTuple.cpp
#include "TestTuple.h" #include "PWTuple.h" #include "PWHandler.h" #include "PWBuild.h" CPPUNIT_TEST_SUITE_REGISTRATION(TestTuple); void TestTuple::testConstructor() { PyObject *py_o0 = PyString_FromString("Test"); PyObject *py_o1 = PyString_FromString("Test"); PyObject *py_o2 = PyString_From...
7c67606fa16c3f14fb158021cc924e70b6a3e38d
6343becde6901e0fcf3a791e719b9d2a08966be8
/src/animation/keyframe.cpp
3f764715b7a2926d7685ea0fa209d68fff437169
[ "MIT" ]
permissive
xiu810/rive-cpp
1bfd591eed9c80ec27a984d8b805ddb88754ee17
bfb16907447239687ef6dee918eda9b87beffb6e
refs/heads/master
2023-07-16T12:03:22.676575
2021-08-21T11:13:32
2021-08-31T23:14:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
990
cpp
keyframe.cpp
#include "rive/animation/keyframe.hpp" #include "rive/animation/cubic_interpolator.hpp" #include "rive/animation/keyed_property.hpp" #include "rive/core_context.hpp" #include "rive/importers/import_stack.hpp" #include "rive/importers/keyed_property_importer.hpp" using namespace rive; StatusCode KeyFrame::onAddedDirty...
8c8a0c74b56412606f0fef95f7317d3c5e729452
b68e2f020ba7ff85fa1ff9627ee7aa99ca301cea
/jumpState.cpp
06288ef89cb768cd98ec8f6f936fc2be54e85281
[]
no_license
tsubaki4242/RiverCityGirl
0b01047eab15f3f13ce9d2109134adaa3c11a4d6
70765759dfe57abce797ba564f7b7c6278f29db1
refs/heads/main
2023-08-06T09:26:00.539706
2021-09-28T11:21:12
2021-09-28T11:21:12
411,229,976
0
0
null
null
null
null
UHC
C++
false
false
4,018
cpp
jumpState.cpp
#include "stdafx.h" #include "jumpState.h" #include "jumpAttackState.h" #include "jumpStrongAttackState.h" #include "player.h" #include "idleState.h" #include "walkState.h" #include "runState.h" state * jumpState::inputHandle(player * player) { if (PLAYERDATA->isRide) { if (_vLeftRight.size() == 0 && ...
4b44568787e0a8b158e9f7fc86df2207ea0e6daa
7bfd71bc3abba35cdfd21db7f1c3099f173b5505
/src/BinaryGap.cpp
8fe61182cf758f62c9b11ada62e6ffed5f9c41d4
[]
no_license
curiousTauseef/codility-3
201b4735b73ce92826c4773f37344702cfb2c680
4b4c8e5fac1f76a35ef9e51d450c0e70b87f5e97
refs/heads/master
2022-03-26T09:42:54.260996
2019-12-07T14:46:32
2019-12-07T14:46:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
496
cpp
BinaryGap.cpp
// Accessible from https://app.codility.com/programmers/lessons/1-iterations/binary_gap/ // // Task Score: 100% // Correctness: 100% // int solution(int N) { while (N && !(N & 1u)) N >>= 1; int answer = 0; while (true) { while (N & 1) { N >>= 1; } if (!N) return answer; ...
aee1fe417672cd68b79e3c265cc284ca1f35d5dc
2b1b459706bbac83dad951426927b5798e1786fc
/src/devices/usb/drivers/dwc3/dwc3.h
36b97205b37af5ce55c2c907c9f2070be489606d
[ "BSD-2-Clause" ]
permissive
gnoliyil/fuchsia
bc205e4b77417acd4513fd35d7f83abd3f43eb8d
bc81409a0527580432923c30fbbb44aba677b57d
refs/heads/main
2022-12-12T11:53:01.714113
2022-01-08T17:01:14
2022-12-08T01:29:53
445,866,010
4
3
BSD-2-Clause
2022-10-11T05:44:30
2022-01-08T16:09:33
C++
UTF-8
C++
false
false
12,418
h
dwc3.h
// Copyright 2017 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. #ifndef SRC_DEVICES_USB_DRIVERS_DWC3_DWC3_H_ #define SRC_DEVICES_USB_DRIVERS_DWC3_DWC3_H_ #include <lib/ddk/io-buffer.h> #include <lib/device-protocol/pde...
f5f4fcc1280a30c76fd89a56c76f49d30c42636b
adead8984391a61296b741634587ec8d904c9325
/8addIncrementCommentOutSerialPrints.ino
83c8e9f9eae63a370757a779c3a42d2d9c5e4006
[]
no_license
goomysmash/ArduinoClass4
2bbc9a4cac4c4f5313a904b7c126d7046bfac05b
aa85fa294a0fe63ea7bd7e16397a2eb03ab60d68
refs/heads/master
2020-06-15T04:48:32.587897
2019-07-05T04:31:12
2019-07-05T04:31:12
195,207,144
0
0
null
null
null
null
UTF-8
C++
false
false
3,101
ino
8addIncrementCommentOutSerialPrints.ino
int buttonSwitchState = 0; //Declare a variable for switching the state for the state machine long timerStart = 0; //variable for the start of the timer bool buttonState = true; //declaring the boolean variable buttonState and setting it to true bool prevButtonState = true; //declaring the boolean variable for the...
9c95a5b85b60ec277766b3959d567e3937be9f8a
4dc102a1c16d629fdb439f2f1e21c2ef9b0ccb48
/library.cpp
6f18d0e6e98e08f5ef1f27c1fc794732481ca4f4
[]
no_license
bruno-cap/library-app
0493ae72dd5654fdf0dd8e825b3be35f85f46168
da9e3dbc90fda7e06aa07700a3031517470c9bc9
refs/heads/main
2023-01-31T12:16:23.376273
2020-12-16T02:50:55
2020-12-16T02:50:55
321,846,414
0
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
library.cpp
/********************************************************************************************************* // Date: 2019/12/01 // Name: Seneca College Teacher *********************************************************************************************************/ #include "PubApp.h" int main(void) { sdds::PubApp l...
6e1717e4d8cee87180c1819563a95cbf0e47859c
a0dfde6e93e079946741223e6c9b84eec84c1611
/MINERPG/装备/普通.cpp
b3fccd5562ad04b262bf6f90a835396af0928187
[]
no_license
Eyizoha/MINERPG
0b3ee5cb52818e9ae08a7cc7df6ceef933a044b6
43295833c70188caa1a7eac8041f30942e343ce4
refs/heads/master
2021-12-02T03:39:11.806055
2021-11-02T08:04:54
2021-11-02T08:04:54
203,354,141
17
16
null
2021-11-02T08:04:55
2019-08-20T10:32:17
C++
UTF-8
C++
false
false
122,722
cpp
普通.cpp
char r_0[24256] = { 0x52,0x49,0x46,0x46,0xa4,0x5e,0x00,0x00,0x57,0x41,0x56,0x45,0x66,0x6d,0x74,0x20, 0x10,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x22,0x56,0x00,0x00,0x44,0xac,0x00,0x00, 0x02,0x00,0x10,0x00,0x64,0x61,0x74,0x61,0x80,0x5e,0x00,0x00,0xe7,0xff,0x83,0xfe, 0xec,0xfe,0xa3,0xff,0x76,0xff,0x13,0xfe,0x93,0xfd,0x01,0x...
f90a918b8766ff7ada1e60be3afb7cdc3cbfe064
3e434b7d66e3e181cf90390e36f14b1afb5ea77e
/Project1/main.cpp
e365909db0832d7ba807ca717714ccacb0312be2
[]
no_license
limoneren/Model-Animation-with-Shader-based-OpenGL
b5ac40177f7fa20e84e3cb6e9c769e43859701e1
7baa303f9c1a4043a0ea094f7d40e805322722dd
refs/heads/master
2020-03-27T23:44:56.785714
2018-09-04T13:02:00
2018-09-04T13:02:00
147,342,908
0
0
null
null
null
null
UTF-8
C++
false
false
34,390
cpp
main.cpp
//--------------------------------------------------------------------------// // // // Project Assignment 1 - Eren Limon - 0054129 // // // //--...
0ccfb897365e8fe67cd2f62a5ad4a69a171895b0
671bb17c3c7d5b75d4aaa07836fd3d396040b149
/SPOJ/PALIN.cpp
ab258998d7cbaf600018a1977aff6244edf0733f
[]
no_license
pz1971/Online-Judge-Solutions
31144ca10b5d501c91a3d817348c075272ab4f77
d3ee4bae47c3ebc08d234288f794b96d0b6beeef
refs/heads/master
2022-11-09T15:55:55.731337
2022-10-26T12:53:16
2022-10-26T12:53:16
205,677,062
0
0
null
null
null
null
UTF-8
C++
false
false
1,629
cpp
PALIN.cpp
#include <bits/stdc++.h> #define vi vector<int> typedef unsigned int ui; typedef long int li; typedef unsigned long lu; typedef long long ll; typedef unsigned long long llu; using namespace std; int main() { int t{}; cin>> t; getchar(); while(t--) { vi d; char ch{}; while(...
e93e730ea816e3a4a9fe15312ea9d90df88c8cae
b5046a369882993adceb94845d8122c54aef15a6
/main.cpp
5267b061a8c9eeeee33e8fd3ceffd055275ecae9
[]
no_license
valeas/Threading
0a087f14617e180671c90693d37061b338243806
2b3b4f439e60f39cf055a5930149acffbce9308c
refs/heads/master
2020-03-18T20:21:15.318157
2018-05-28T21:30:02
2018-05-28T21:30:02
135,210,017
0
0
null
null
null
null
UTF-8
C++
false
false
5,833
cpp
main.cpp
#include <iostream> #include <lock_guard.h> #include <thread> #include <vector> #include <condition_variable> #include <stdexcept> // std::logic_error #include <chrono> #include <stdlib.h> #include <mutex> //already in lock_guard.h, but why not. Usefull as a contingency. using namespace std; mutex mtx; // pro...
f3dc120863d2606338ceefb1d3a4eff488cbfdd3
15b5470c5b421c34fd9f747ea74b7a1db40efa3d
/SampleTestProject/GridEntry.h
14554eb00920eacc22d4d9874483d4ddaaae1808
[]
no_license
V1aD1/SpaceInvadersCPP
6e9a6d0bac8ea6bfaad9975b955c226e0dd49a16
5d342a944fe421018f4e878501cff6f0ae345165
refs/heads/master
2021-07-10T15:07:45.686002
2017-10-12T19:47:04
2017-10-12T19:47:04
106,738,231
0
0
null
null
null
null
UTF-8
C++
false
false
573
h
GridEntry.h
#pragma once #ifndef GRID_ENTRY_H #define GRID_ENTRY_H #include <list> #include "..\MovingActor.h" //Object that represents a "section" of the grid. //The Enemies and Projectiles lists are checked by // respective actors for collisions. //For example, the rocket class only checks //the Enemies list to determine if i...
957980c40916d8f2e4331d37191790d4a43d79ea
93097eb7b5573b99a4128c68f343a0f609354f4d
/stones_on_the_table.cpp
49354d7ed1966eda3090af6f19fe9a2a78c6c06c
[]
no_license
AnwarMohamed/MyACMSolutions
dd30aff29aa821f76a67ad19937dde9b10e020b8
35da80bbe965945d521cb4e8c04cfeaec0d70711
refs/heads/master
2020-05-18T07:01:07.491427
2013-02-06T23:08:16
2013-02-06T23:08:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
291
cpp
stones_on_the_table.cpp
#include <stdio.h> #include <iostream> #include <cstring> using namespace std; int main() { int n, tmp = 0; cin >> n; string s; cin >> s; for (int i=1; i<n; i++) { if (s.c_str()[i] == s.c_str()[i-1]) tmp++; } cout << tmp << endl; return 0; }
e82cbf4de0e8b6447a9e7d44de2a0731a914e635
b6528c791c4796f9aebfd4ae778c49d6534645f7
/GK3D/Scene.h
6bb1a58ff63e9b53eca6ec641644ffc48806c67c
[]
no_license
macdeluck/GK3D
59844b7670521051fec732e6f58fa4a94dc2c687
9ad3138e8a28b36ccaac6117e44eed83d26c949b
refs/heads/master
2021-06-08T00:18:42.957096
2015-12-09T10:12:03
2015-12-09T10:12:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,463
h
Scene.h
#ifndef _GK_SCENE #define _GK_SCENE #include "Common.h" namespace GK { class Drawable; class Camera; class PointLightInstance; class SpotLightInstance; class SkyBox; struct DirLight; typedef std::vector<std::shared_ptr<PointLightInstance> > PointLightsArray; typedef std::vector<std::shared_ptr<SpotLightInsta...
ac5b1d26e330c7a7f7d5009ac7e2258f2844a2b7
c9adbcde25e0e418789eee22799dc5b2321cccba
/POJ/POJ_1328.cpp
e9b1b764040d67cee13de2361059c0eff79536e5
[]
no_license
ailyanlu/ACM_Code
a7ee80b14d48fe998d721d3d0c79893d7ee99de2
ec5951822df6604c06c37c69aca76eb92c28ce12
refs/heads/master
2018-02-20T14:34:02.256693
2014-12-27T15:19:35
2014-12-27T15:19:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,156
cpp
POJ_1328.cpp
/** * @file POJ_1328.cpp * @brief 贪心问题,每个点可以允许的雷达位置构成一个区间,从左到右寻找区间重叠就可以了。 * 这题如果扩大规模的话,可能需要上线段树离散化插入区间。 * 思路很清晰,但是一开始一直WA,各种郁闷人啊。 * @author FinalTheory * @version 0.1 * @date 2013-06-01 */ #include <iostream> #include <algorithm> #include <cstdio> #include <cstdlib> #include <cmath> #include <cs...
7a10d1b2b1663477dd413b007e863c7baae6e803
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir22441/dir22442/dir22443/dir22444/dir22869/dir22870/file23410.cpp
8b89eb0c6be126c299385563cba9f561e2e71134
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file23410.cpp
#ifndef file23410 #error "macro file23410 must be defined" #endif static const char* file23410String = "file23410";
570626d7843afe9a6b71819e1d400cafbad3fdd4
7ee1a4625d259a8a0e0c98c42271c4d4d3c84a5f
/src/groups/mwc/mwcma/mwcma_countingallocatorutil.cpp
bc98827867f9f6eaa634296781c941ad5d8f054a
[ "Apache-2.0" ]
permissive
bloomberg/blazingmq
c78323ff0246d69177b619c54fa85c15968e4d25
1a0588ca8049230421e75760e110bff3711e79e8
refs/heads/main
2023-09-01T01:06:02.672367
2023-08-29T21:57:39
2023-08-30T17:39:25
665,300,681
2,199
84
Apache-2.0
2023-09-14T21:01:30
2023-07-11T22:49:38
C++
UTF-8
C++
false
false
4,667
cpp
mwcma_countingallocatorutil.cpp
// Copyright 2017-2023 Bloomberg Finance L.P. // SPDX-License-Identifier: Apache-2.0 // // 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 /...
10c9043121e052484dc6238aa3496c514cc18879
30aa76c15f71851baa872a1ac379e119a0516647
/torando/src/structures/target/RobotInfo.h
ac7b930a2df6fa47aac658542ba321b5283a3ec3
[]
no_license
brunogouveia/lia-soccer
11c55533966b95b21f26f384119d1691132ce9be
07110b0f9a6ffff3af89ab6e69067cd6c5883e17
refs/heads/master
2016-09-06T09:31:46.483598
2013-07-08T19:10:43
2013-07-08T19:10:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
794
h
RobotInfo.h
/* * RobotInfo.h * * Created on: Apr 11, 2013 * Author: bruno */ #ifndef ROBOTINFO_H_ #define ROBOTINFO_H_ #include <Target.h> #include "messages_robocup_ssl_detection.pb.h" class RobotInfo: public Target { public: RobotInfo(); virtual ~RobotInfo(); float x() const { return _x; } float y()...
0826bb4ab2aedfa6882313b20463dd7ef56fdbfc
aca27dd1410bd6a993fff4cb1a7c92d7970ac779
/aula08_2018_03_13_funcao-constante/aula08_ex02_produto-escalar.cpp
b5f0e5b94f78718e08533794d346c29216e86189
[ "MIT" ]
permissive
WesGtoX/Programming-Lab-II
ed9898263b1d9318b2bf11da37d34a3e30162388
12df92f19c41f7a9a110d946ef5ec588a99e4316
refs/heads/master
2020-03-21T16:53:56.081544
2019-02-08T17:48:09
2019-02-08T17:48:09
138,800,783
0
0
null
null
null
null
ISO-8859-1
C++
false
false
997
cpp
aula08_ex02_produto-escalar.cpp
/* Produto escalar - função binária que devolve a relação entre dois vetores por meio de um número real. Equação: produto escalar = E(soma)vetor1[i] * vetor2[i] Implementar função para retornar o produto escalar de dois vetores */ //libraries #include <stdio.h> #include <stdlib.h> //constant #define MAX 3 //decla...
4c0e28f88a7ab826566e23268c8d6fca4b030a76
487815d3a4280a9b3204ca74986ceeb456fad65f
/src/app/util/af-main-common.cpp
f252c7b8b342225d0d5a0ba6e84ab72d23458cb6
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
rwalker-apple/connectedhomeip
328334862f1f5ed20811496b01468df3dc3e31c4
2c820d0f6e2efd044c08de235392e2408328302f
refs/heads/master
2023-02-22T21:53:37.328817
2021-01-14T21:47:26
2021-01-14T21:47:26
276,458,160
0
1
Apache-2.0
2020-10-08T03:19:18
2020-07-01T18:53:00
C++
UTF-8
C++
false
false
25,511
cpp
af-main-common.cpp
/** * * Copyright (c) 2020 Project CHIP Authors * * 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 requi...
b45e3aa3fdd36096e3c2240941fd6d43033c7c8c
b677894966f2ae2d0585a31f163a362e41a3eae0
/ns3/ns-3.26/src/test/ns3tcp/ns3tcp-loss-test-suite.cc
c079862316f98f2ff4032038f6103834f043d7c3
[ "LicenseRef-scancode-free-unknown", "GPL-2.0-only", "Apache-2.0" ]
permissive
cyliustack/clusim
667a9eef2e1ea8dad1511fd405f3191d150a04a8
cbedcf671ba19fded26e4776c0e068f81f068dfd
refs/heads/master
2022-10-06T20:14:43.052930
2022-10-01T19:42:19
2022-10-01T19:42:19
99,692,344
7
3
Apache-2.0
2018-07-04T10:09:24
2017-08-08T12:51:33
Python
UTF-8
C++
false
false
16,714
cc
ns3tcp-loss-test-suite.cc
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This pro...
c27389b90e4e7a02c0576622b8a04d35c16a3d9a
f0215bfaf4c7ef5ff91b190b658c7caa00d89d9b
/smart_fusion_sensor/src/publish_mesh.cpp
716a9399b2dcafeacd620f5d7d7ded5766b1fc19
[]
no_license
PeteBlackerThe3rd/FlatBot_Driver
ecf7abc6a9f089915d1b585cb5404ebb5b250059
42aeaebfcd683913dd1f584fb7469b9c5afc2e77
refs/heads/master
2021-07-13T04:01:17.126526
2019-01-15T00:40:12
2019-01-15T00:40:12
146,658,890
0
2
null
2018-11-26T10:02:35
2018-08-29T21:10:07
CMake
UTF-8
C++
false
false
1,388
cpp
publish_mesh.cpp
#include <ros/ros.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <cv_bridge/cv_bridge.h> #include <visualization_msgs/Marker.h> #include <gncTK.h> #include "gnc_tool_kit/FusedSurface.h" int main(int argc, char** argv) { if (argc < 2) { printf("Not enough parameters giv...
8e972edab448fac2197e0738096167816f9d107a
163e4be8085de90a1a4f97aa5fa913e88c40d946
/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp
92dbeb9daf88c7374e95343b3d02270323e7b243
[ "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
KhronosGroup/LLVM-SPIRV-Backend
d524d11088b346a70a4797e1533e7bc6f8a4ed01
12b70ad68ccf3e9415cb6c42f8eb73e883f159ae
refs/heads/feature/spirv-backend-llvm16_0_2
2023-08-24T14:49:23.428625
2023-04-17T10:05:14
2023-04-27T08:40:06
200,876,311
94
26
NOASSERTION
2023-08-11T20:29:45
2019-08-06T15:16:48
null
UTF-8
C++
false
false
2,206
cpp
ElimAvailExtern.cpp
//===- ElimAvailExtern.cpp - DCE unreachable internal functions -----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
6febaac70f76b04c6bb36bddc81c1bf233ab0ab7
c0978d638ccbe51a1907bf9bb832287d880ba8f4
/GenGein/GenGein/Source/Maths/Vec3.cpp
d38938bcd3acc26fccaa35f473d9f9200e40e313
[]
no_license
Jackson-Luff/GenGein-Graphics-Engine
9189025ce7476b8828cd31d8ca51736dea8ef3f3
2b653dff4a4cd1cc72315263e7845fef615c5108
refs/heads/master
2021-01-01T05:29:14.658129
2017-01-25T23:13:29
2017-01-25T23:13:29
58,130,865
0
0
null
null
null
null
UTF-8
C++
false
false
65
cpp
Vec3.cpp
#include "GenGeinMaths.h" Vec3::Vec3() { } Vec3::~Vec3() { }
3ebb0421aa97c6d94742fb6d1774553f8957923c
39fc7c94088a4487dc907f3e9f0f315072ab8487
/test/ipmi_writemeta_unittest.cpp
bc8669d71dcb11f3d2e9f163d65b6503de330c3a
[ "Apache-2.0" ]
permissive
openbmc/phosphor-ipmi-blobs
de099099777cf8e993b2fb3b307c890500ef8b0f
7509f4e12067e825f348ad7084b1118e2191a54d
refs/heads/master
2023-08-31T09:02:04.980089
2023-08-23T05:32:04
2023-08-23T05:35:03
148,496,614
1
2
null
null
null
null
UTF-8
C++
false
false
1,882
cpp
ipmi_writemeta_unittest.cpp
#include "ipmi.hpp" #include "manager_mock.hpp" #include <cstring> #include <gtest/gtest.h> namespace blobs { using ::testing::ElementsAreArray; using ::testing::Return; // ipmid.hpp isn't installed where we can grab it and this value is per BMC // SoC. #define MAX_IPMI_BUFFER 64 TEST(BlobWriteMetaTest, ManagerRet...
53f6b04ed6b7ef2f4317d35ffa7009a1414f391f
167cc24e3f5225553071a6c05a048ae5964c5685
/MantidQt/CustomInterfaces/src/DynamicPDF/DPDFDisplayControl.cpp
1faa2edac0c89e90f2339cf885da11a60e438857
[]
no_license
mcvine/mantid
b5e5410ecb236357eb522aa6bd26154595d0c7b7
802187f44f44fa1617f4bf9ca33459599e34054c
refs/heads/master
2021-01-20T16:44:35.622599
2016-06-06T14:04:07
2016-06-06T14:04:07
59,444,548
0
0
null
2016-05-23T01:52:34
2016-05-23T01:52:33
null
UTF-8
C++
false
false
6,468
cpp
DPDFDisplayControl.cpp
// Mantid Coding standars <http://www.mantidproject.org/Coding_Standards> // Main Module Header #include "MantidQtCustomInterfaces/DynamicPDF/DPDFDisplayControl.h" // Mantid Headers from the same project #include "MantidQtCustomInterfaces/DynamicPDF/DPDFInputDataControl.h" // Mantid headers from other projects #include...
ff87b991a18b3a2fb134b81adec58bbf406016bd
2274aa4ef2e0069aa770d7f5f28aa3dd0c6e275b
/TwoSum.cpp
770beb94983a693ae8644a72e309f7767faddd69
[]
no_license
zhaoxiaohui/LeetCode
0b68349aac6431df5f06baea9202c520cab5a01f
13a2be605070f7d4e7f8798b8d312e91de78fd45
refs/heads/master
2021-01-10T01:45:55.062641
2016-01-25T03:51:11
2016-01-25T03:51:11
45,035,293
0
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
TwoSum.cpp
/** * Description: * Author: zhaoxiaohui * Site: zhaoxiaohui.sinaapp.com * Date: 2014 */ struct NUM_MAP{ int num; int ind; NUM_MAP(){} NUM_MAP(int n, int i):num(n), ind(i){} }; bool cmp(NUM_MAP a, NUM_MAP b){ return a.num < b.num; } class Solution { public: vector<int> twoSum(vector<...
6495bece058da522daefe6977585cc1f81f77195
9611b84aa1dbd619b017c9ee1d58ac2b44f042ff
/Project/Riaju1/Plugins/SpriteStudio5/Intermediate/Build/Win64/UE4/Shipping/SpriteStudio5/PCH.SpriteStudio5PrivatePCH.h.cpp
8995bfad72be62a28dc3a7732af377e6a6d6b705
[ "MIT" ]
permissive
SpriteStudio/RiaJuSniper_UnrealEngine4Project
efc25be9e617b776d38da69c17090cc8fb7fec6f
5b7ffb0e4161eaa9249c164c0dfeb16b636ff6ae
refs/heads/master
2021-10-10T00:48:17.442114
2021-10-04T06:36:07
2021-10-04T06:36:07
52,417,881
3
6
null
null
null
null
UTF-8
C++
false
false
142
cpp
PCH.SpriteStudio5PrivatePCH.h.cpp
#include "C:\Users\Diginnos\Desktop\UnrealProject\Project\RiaJu\Plugins\SpriteStudio5\Source\SpriteStudio5\Private\SpriteStudio5PrivatePCH.h"
01807dbc955ef039fe9c31fe75d98cb9b28e1ebf
9ccf85d08700f7f232b1466531ac31bfb4116ddd
/4_trees_and_graphs/5_validate_bst.cpp
f3e12fc01dbf1addd866f39a03b1696148099026
[]
no_license
mbiggio/ctci
7493f1287a8a7a2d6b90a6ddad2b6a4d6eca3d0e
ecb5b38eb5f4cc235862f63f42db74e3a5e9ac3f
refs/heads/master
2020-03-27T03:34:33.661167
2018-09-18T21:54:27
2018-09-18T21:54:27
145,872,972
0
0
null
null
null
null
UTF-8
C++
false
false
1,539
cpp
5_validate_bst.cpp
#include <iostream> #include <list> #include <queue> #include <gtest/gtest.h> #include <gmock/gmock.h> #include "tree.h" using namespace std; struct result { result (bool is_bst, int min_val, int max_val) : is_bst(is_bst), min_val(min_val), max_val(max_val) {}; bool is_bst; int min_val; int max_val; }; r...
d09b9959c0a065c5fd6058fa1116ef0d21de3f9b
e0feac125fb92c3d1834f9c9c89baf4ab9428fc6
/ipdf/public/ipdf/Simple/SimplePEHit.h
e64c769cb54958bbdc675b0fde31d74ac26fb0da
[]
no_license
AlexHarn/bfrv1_icetray
e6b04d04694376488cec93bb4b2d649734ae8344
91f939afecf4a9297999b022cea807dea407abe9
refs/heads/master
2022-12-04T13:35:02.495569
2020-08-27T22:14:40
2020-08-27T22:14:40
275,841,407
0
0
null
null
null
null
UTF-8
C++
false
false
1,971
h
SimplePEHit.h
#ifndef IPDF_SimplePEHit_H #define IPDF_SimplePEHit_H /** copyright (C) 2004 the icecube collaboration $Id$ @file SimplePEHit.h @version $Revision: 1.3 $ @date $Date$ @author S Robbins <robbins@physik.uni-wuppertal.de> */ #include <iosfwd> namespace IPDF { class SimpleOmReceiver; /** ...
269ac704ebab0142f936e8e48786fe8332815c6c
a3af266d326124d8ba3f256a51a999f64c2040d1
/Module7/sample code/recursion/hanoi.cpp
94af7284fd2c6fc53182bc280ba4495b3af8bdc3
[]
no_license
wjshku/COMP2113
e0c64ed1b67c4b19a0aa494a91edb16e8f04c2d5
73af2ce5e25fe1922ed6fc15d49f64f9d79b4daa
refs/heads/master
2023-01-24T10:41:57.429562
2020-11-30T10:02:28
2020-11-30T10:02:28
296,045,333
0
0
null
null
null
null
UTF-8
C++
false
false
466
cpp
hanoi.cpp
#include <iostream> using namespace std; void move(int n, char src, char des, char tmp) { if (n == 1) cout << "Move disk from " << src << " to " << des << endl; else { move( n-1, src, tmp, des); move( 1, src, des, tmp); move( n-1, tmp, des, src); } } in...
ee10a9e82d3c65ee7eb1891a45ca6b6119883855
bf1f40886a54ff8ae25ac612cceee6d8701100f0
/product_of_array_except_self.cc
295de9c780e47588113e6e9350f97562b5c77e43
[]
no_license
gqqh/leetcodes
be57941888c61fec51fa9b86f5f94f9e4c77cd2d
9ff1709820b5d17544fc8d6c84e0335cdb49f940
refs/heads/master
2021-01-25T08:49:06.612971
2016-12-07T03:53:08
2016-12-07T03:53:08
40,632,656
0
0
null
null
null
null
UTF-8
C++
false
false
1,880
cc
product_of_array_except_self.cc
//给定一个数组,返回这个数组中除了第i位之外,其他值的乘积 // For example, given [1,2,3,4], return [24,12,8,6]. //不让用除法,时间复杂度为O(n) #include <vector> #include <iostream> using namespace std; class Solution { public: /* //使用两个数组f、p,分别表示从前往后和从后往前的乘积,然后求第i个值时,直接 // f[i]*p[i] vector<int> productExceptSelf(vector<int>& nums) { ...
366762d1b8ebd0a6461ea71af0c64a26c1921393
a91796ab826878e54d91c32249f45bb919e0c149
/3rdparty/flatbuffers/include/flatbuffers/vector.h
7d836362e8b57f1b90b32c5f3c97d4f948c912f0
[ "Apache-2.0", "IJG", "Zlib", "BSD-3-Clause", "Libpng", "LicenseRef-scancode-unknown-license-reference" ]
permissive
opencv/opencv
8f1c8b5a16980f78de7c6e73a4340d302d1211cc
a308dfca9856574d37abe7628b965e29861fb105
refs/heads/4.x
2023-09-01T12:37:49.132527
2023-08-30T06:53:59
2023-08-30T06:53:59
5,108,051
68,495
62,910
Apache-2.0
2023-09-14T17:37:48
2012-07-19T09:40:17
C++
UTF-8
C++
false
false
13,097
h
vector.h
/* * Copyright 2021 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
f24567edb79e34ef266c9ddbdfb96d9e23f8e3b4
a945579c62279c9e0a03e428fe130777b01c4de2
/c++/meiriyiti/day_12.cpp
524932c0fca05905ff1d9dd3f210f60c71dec9f0
[]
no_license
yongchaoyongjie/learngit
b87d4c480ff1202e79204763a6526bd6fc97afa9
ad3521465b443e24fb00e3bc547e8bd1bd956a2c
refs/heads/master
2020-04-10T16:38:09.162188
2019-08-01T19:12:46
2019-08-01T19:12:46
161,151,123
1
0
null
null
null
null
UTF-8
C++
false
false
2,610
cpp
day_12.cpp
#include<iostream> #include<algorithm> #include<vector> #include<math.h> using namespace std; //跳石板跳的目的为k每次只能跳k的约数步但是不能是1和它自身 //求公约数除了1和它自己,然后将公约数存到容器中 void gongyueshu(int n,vector<int>&gongyue){ int i=2; for(;i<sqrt(n);++i){ if(n%i==0){ gongyue.push_back(n/i); } } } //如何跳初始n=1,跳到m的位置 int jump(int n...