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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d652e23784f5cb45b05850e45456f70b0687ec9 | 6675c0b3cccd7cf137033d144aee0e5028328905 | /srytrlrn/main.cpp | b59ec5efc14aa1638efd210cb36c4358d6e9e120 | [] | no_license | hrishi3390/programmingPractices | ced41d9bfade5aa33104d1a38e941937aaa6246a | b2a4584ac2095a1a18f409ffb3561ba1b1ea7e11 | refs/heads/master | 2020-04-27T16:27:39.395374 | 2019-03-08T06:44:52 | 2019-03-08T06:44:52 | 169,952,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | main.cpp | //
// main.cpp
// srytrlrn
//
// Created by Hrishikesh Chaudhari on 19/02/19.
// Copyright © 2019 Hrishikesh Chaudhari. All rights reserved.
//
#include <iostream>
using namespace std;
int mystrlen(char *a){
int len = 0 ;
while(*a != '\0')
{
len++;
*++a;
}
return len;
}
in... |
9fac193ac39c91d8393f352150ce61ff2a56e5b5 | dd9cd50274c4f730cdda4094007393859f294a51 | /marelab-cgi/src/marelab-cgi.cpp | 58e48ea48eb54231a43a69f312a7a732a04e7afe | [] | no_license | zoomx/marelab-solar | 1fb968411d83fa118ad48aaa3ea1aff13a379e3d | e0eba8c608a1ffd30175cba2f9060ba857e8fc89 | refs/heads/master | 2021-06-13T02:14:00.374184 | 2021-05-07T08:45:14 | 2021-05-07T08:45:14 | 34,718,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,123 | cpp | marelab-cgi.cpp | /*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it wi... |
41dc3a1947317e16714057b565c465cc24e26715 | d5509799219240897397c11267f89476b4bda4be | /src/barcodeprocessor.cpp | f09a647926acbe11100d9955457f7e7940c11f77 | [
"MIT"
] | permissive | liuxingnancy/stLFRfastp | e4c84535faeebc1e53eb8d2c43363f907fc71c16 | 6be67034178c71d6c4ae764128feb6389176bec2 | refs/heads/master | 2022-03-29T19:14:04.998986 | 2020-01-20T01:18:32 | 2020-01-20T01:18:32 | 223,295,590 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | cpp | barcodeprocessor.cpp | #include "barcodeprocessor.h"
BarcodeProcessor::BarcodeProcessor(Options* opt) {
mOptions = opt;
barcodeStart = mOptions->barcode.location;
barcodeLength = mOptions->barcode.length;
barcodeSkip = mOptions->barcode.skip;
barcode_map = mOptions->barcode.barcode_map;
}
BarcodeProcessor::~BarcodeProcessor() {
if (m... |
8494611e74031fe395efd0750bc2f2dd21fb2c6d | 548e47893bffdd1bb4e0ec23aad6ff85c74e50a6 | /4.计算摄氏温度.cpp | 1796db8d41ea469b19dcb76d3ded90633cca61ab | [] | no_license | sontallive/LadderRank | 922e9721c377950d71ac46f163c4714bb080014c | 0a3ea1c43a26cf0d2c302f3d5085d8ff27b0cabd | refs/heads/master | 2020-10-01T21:51:22.982183 | 2019-12-12T14:59:25 | 2019-12-12T14:59:25 | 227,632,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | 4.计算摄氏温度.cpp | #include <iostream>
#include <cmath>
int main(){
int f,c;
std::cin >> f;
c = 5 * (f - 32) / 9;
std::cout << "Celsius = " << c << std::endl;
return 0;
} |
b0129b366cabc785df08101b5e241fed84ac9a0b | 715c0d0f509f3ff266257ba72832b29f4fad3fd9 | /src/sketch/sketch.ino | 7a6d50e53b8417b96d9443834b4ea10e22a6e7a7 | [] | no_license | cosimoiaia/felix | 827ceb801297e0152fec6f125726d4de973a13d0 | 563f73fa10b238cf6c76ea0f828fa8cc5b318844 | refs/heads/master | 2020-04-06T06:51:41.040295 | 2015-12-20T13:46:32 | 2015-12-20T13:46:32 | 9,133,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,719 | ino | sketch.ino | /*
FELIX SPINE
Cosimo Iaia <cosimo.iaia@gmail.com> Tue May 28 2013
*/
#include<stdio.h>
#include<adk.h>
/* Motor Shield */
#define CH_A 12 // Motore A Pin
#define CH_B 13 // Motore A Pin
#define BK_A 9 // Freno A
#define BK_B 8 // Freno B
#define SPIN_A 3 // DIREZIONE A
#define SPIN_B 11 // DIREZIONE B
/* EN... |
34cd7fe6a340d2c4064afe57ffad1f5666386542 | 4e82821fba38a14f02fa627ed94dd46d3e289793 | /central/test/mock/MockMotionLoader.h | 8fecb58eb2ee5241478f3ba4f6d2ac07f202cd72 | [] | no_license | syundo0730/vanilla-core | 1e6f159ac4ebe55052d7ef360864d8838e83a254 | f7462d00fe5edba9599abf795a7b7d202dc869c9 | refs/heads/master | 2022-12-17T20:56:57.331389 | 2019-01-19T09:56:34 | 2019-01-19T09:56:34 | 83,117,060 | 0 | 0 | null | 2022-12-07T23:59:06 | 2017-02-25T08:12:03 | C++ | UTF-8 | C++ | false | false | 274 | h | MockMotionLoader.h | #ifndef MOCK_MOTION_LOADER_H
#define MOCK_MOTION_LOADER_H
#include "gmock/gmock.h"
#include "MotionLoader.h"
#include "Motion.h"
#include <string>
class MockMotionLoader : public MotionLoader
{
public:
MOCK_METHOD1(load, std::vector<Motion>(std::string));
};
#endif |
84a293f565f703f4a60d353c06b1b8b3d307be3b | a8c09c77b61241a329c40056cd3a302453c85ce2 | /028_쉼표_연산자_이해하기.cpp | 4be90f831525a844ee9c8b3f5344e2403528d055 | [] | no_license | vector9x4/cstart | 06df023b48ce2f00a6d9a67e0b356d4a03ea7cc1 | 264dc54220b57e1ead1bd81806ba23d3a5f5db30 | refs/heads/master | 2023-02-20T06:33:50.123885 | 2021-01-26T10:07:24 | 2021-01-26T10:07:24 | 324,516,265 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 229 | cpp | 028_쉼표_연산자_이해하기.cpp | #include <stdio.h>
int main()
{
int x = 1, y = 2, max;
max = x > y ? x : y;
printf("max = %d, x = %d, y = %d", max, x, y);
}
/*
- 쉼표 연산자는 변수의 정의 시 또는 함수 등에서 사용한다.
*/ |
76b2f338b37bcc544e47d4cc76b9167dcbab0d78 | d7f0ea6e5629cae7fc4c6dd0e1d54a4d0d33b156 | /GenStack.h | 6e63835cdf71c75eafc5069609d52e189c30b37c | [] | no_license | wyattm14/Delimiter-Checker | af45f83fa6581fb56a88ebf151902d0f669c75ae | 4be7bdf5120197ef5330997824bdd0aeb863a8da | refs/heads/master | 2021-05-21T10:00:12.595602 | 2020-04-03T06:32:09 | 2020-04-03T06:32:09 | 252,646,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | h | GenStack.h | #include <iostream>
#include <cstdlib>
using namespace std;
template <class T>
class GenStack
{
public:
GenStack(); // default constructor
GenStack(int maxSize); //overloaded
~GenStack();//destructor
//functions
void push(T data); //insert
T pop(); //remove
//helper functions
bool isFull();
bool isE... |
1d16c7693bbb5eb372140a7d371c23d47a25f23b | 4272b39d087a7b4cf8542ce7f95de65aaf890b34 | /huffmanCoding.cpp | 92ab25a872399a2e739ab52675846bb049e9dfac | [] | no_license | Miyayes/cs_assignments | 466bc36e908ecbbd5faac687afedc0da46313b01 | 3d5249023aa33fd5b81c9e649c4088ccceb7fd8d | refs/heads/master | 2021-01-20T22:23:21.149619 | 2017-08-30T00:15:41 | 2017-08-30T00:15:41 | 101,818,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,456 | cpp | huffmanCoding.cpp | #include "huffman.h"
#include <iostream>
#include <sstream>
//QUESTION 1 - 0 credit
HuffmanTree::HuffmanHeap::HuffmanHeap(istream &instr) {
// start with an empty map
map<string, unsigned int> associate;
// ----
// use a the input stream with a string to read every word one by one
string g;
/... |
ae1886c2759b560616dbde5eeb36edad65628ad2 | cfeea15c5f9229c9b7f5e1c26311d2bdf727cb8c | /mapping/src/otherProjects/spliceDataBase/intropolis/reformatIntropolisData.cpp | 483fa59fefa1f80431dededf0aebe553c8c3170f | [] | no_license | turnervo23/MapSplice | c943072c0c0017051bb80b995cf070198817e061 | df36f285cca26b3a77cc2762b2320c9b576bb4cc | refs/heads/master | 2020-05-27T03:24:01.394991 | 2019-06-12T18:10:16 | 2019-06-12T18:10:16 | 188,464,331 | 0 | 0 | null | 2019-05-24T17:43:39 | 2019-05-24T17:43:39 | null | UTF-8 | C++ | false | false | 5,970 | cpp | reformatIntropolisData.cpp | // This file is a part of MapSplice3. Please refer to LICENSE.TXT for the LICENSE
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <malloc.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <stack>
#include <vector>
#include <hash_map>
#include <map>
#include <set>
#include "../../... |
c170b229c03b7303db97347b25ef93ac14abc12d | 28a621583e1040202d86f79ab899fa782fccc8ad | /62. Unique Paths/源.cpp | 3927734b2e233d25afe16b86226ca50ff68c01a3 | [] | no_license | liuce-/My-Solution-of-Leetcode-Problems | a015154d62645924e79b038ec6f36f314d0b3a9c | 35a0fa3b93bae1f5cbf3949cb5cade836f02738d | refs/heads/master | 2021-08-17T00:20:36.468689 | 2018-10-15T16:43:56 | 2018-10-15T16:43:56 | 137,900,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | 源.cpp | //A robot is located at the top - left corner of a m x n grid(marked 'Start' in the diagram below).
//
//The robot can only move either down or right at any point in time.The robot is trying to reach the bottom - right corner of the grid(marked 'Finish' in the diagram below).
//
//How many possible unique paths are the... |
ddd384b5c1b21cbccfc9be448a9f5c980266e691 | 2406631cec693b9e410b17bf68214a2a61c4bea0 | /resources/pl0/example.cpp | de4909a806b30348d111b8898caad4d6c37fbe56 | [
"MIT"
] | permissive | Hydex/vecomp | 791fd7c1275c75c88c51c75d54582e097448a9f3 | 5671cade1cf5e4289c9f683f054d3a8b36ab5d0d | refs/heads/master | 2021-01-21T05:59:39.188381 | 2014-06-01T01:21:36 | 2014-06-01T01:21:36 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 36,843 | cpp | example.cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <stack>
#include <sstream>
#include <cstring>
using namespace std;
struct simbolos {
string nom;
string clase;
string tipo;
string dimen1;
string dimen2;
};
struct locales {
string clase;
string tipo;
... |
e37c3e2801620f7dcde6ab02495fb525e13d287a | 45c6f6d5ddf69ebd6d185660c65e9d63429f7406 | /HW10/Color.h | 541939498f6a48162b1e1f36476f276c5a2b74f8 | [] | no_license | HasanAbdullah31/CSCI235 | 26992584850d62710c51535919734b9fc2eaaedb | 6c1030b8991d6cc45458735a917a26360439f5d5 | refs/heads/master | 2021-04-15T17:06:34.155963 | 2018-03-25T00:14:18 | 2018-03-25T00:14:18 | 126,648,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | h | Color.h | /* Color.h - modifies stream output with colors */
#include <ostream>
namespace Color {
enum Color_Code { //ANSI escape codes ("color" codes)
/* http://ascii-table.com/ansi-escape-sequences.php */
RESET = 0,
BOLD = 1,
ITALICS = 3,
UNDERLINE = 4,
INVERSE = 7,
STRIKETHROUGH = 9,
/* F ... |
2beac8f14a3ff1f07d627590579d93edda0db5cc | fab012ce36ad43c9391bf9917256ea0016122a58 | /ws-robot-shieldbot/motor/motor.ino | 6e58652d623ac9d0962d176b5b129eae61861233 | [] | no_license | confster/duino-ws-dev | 9403b5753939499ce61382c7edfb36320a41f51c | 209ed63ae56f883db85f70016aaca670607dc519 | refs/heads/master | 2020-05-07T13:03:54.600180 | 2017-11-08T01:42:15 | 2017-11-08T01:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | ino | motor.ino | /*
* motor.ino
*
* Created on: 2014年7月19日
* Author: caixiaoliang
*/
#include <Arduino.h>
#include "motor.h"
#include "Usb.h" //this there is very important ,这里有包含了avrpins.h,重新写了一个引脚快速定义拉高拉低的函数
Motor motor1;//进行一个类说明
void setup()
{
Serial.begin(9600);
/* Set the motordriver diagnostic pins to inputs *... |
ca674c9c278ad5be3b782bae8b50ac03480013b4 | 0a04adf5d94cce2890382c60062baea4d34b0026 | /zjhj_LRU.cpp | 8b9df98a5f1ec0a770415da49852db78a0df9677 | [] | no_license | steamed-stuffed-bread/Leetcode-calender | a8432e143de30bfb544cf3932ba3d1cdec195d45 | 5c757fac0c95f69078fff414985a904a4632a350 | refs/heads/master | 2021-09-09T20:49:03.135164 | 2021-08-28T02:47:13 | 2021-08-28T02:47:13 | 162,267,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | zjhj_LRU.cpp | #include <iostream>
#include <list>
#include <unordered_map>
using namespace std;
class LRU{
public:
LRU(int c):capacity(c){};
string get(string key) {
if (!m.count(key)) return "";
l.splice(l.begin(), l, m[key]);
m[key] = l.begin();
return m[key]->val;
}
void put(s... |
eba99240ae262e801670b0f5dc1e6bb258ee33ce | b5f61314c96c7bf61fc58fcfdaa1574d256e5f77 | /pirate-man/functions.h | 7153a7bf2a30d6a9f16634ad1035b728ffbb98c1 | [] | no_license | mchill/miscellaneous | ba830dded21c20d3fa351633df1c9db2d6ad25f7 | 53b7e7b93fd055043dead782b0d6db3cf2c125a5 | refs/heads/main | 2023-07-22T05:12:44.572066 | 2023-01-31T05:30:28 | 2023-01-31T05:30:28 | 85,601,613 | 0 | 0 | null | 2023-07-06T20:02:28 | 2017-03-20T16:42:20 | C++ | UTF-8 | C++ | false | false | 18,481 | h | functions.h | void Initialize(player &pacman, enemy &inky, enemy &pinky, enemy &clyde, enemy &blinky, int pellet_array[240][3], int big_pellet_array[4][3]) //Initializes pacman and ghost member variables
{
pacman.PosX = 216;
pacman.PosY = 384;
pacman.cur_dir = LEFT;
pacman.next_dir = LEFT;
inky.ghost_state = BAS... |
dda66878f1e193e225b95d660f7565fa757d63db | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/SEInterfaces/DocSelObj.h | e7c99292e322ad8add966416be41ea11fdf7bd1f | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | h | DocSelObj.h | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... |
dfbf6397fec6d6934ee908df1c597dc50f2894af | cdbbb733fc208bb769049b3c580cd1f85f8f9852 | /Array 1.0/bubble_sort.cpp | 4fc6f3470816421e0dd8af919c668a80eb8b556d | [] | no_license | shubhampal39/Coding-blockk-CPP | 4625bd3ea5747ebdc43c8c56ba16911b279030db | 38fa63400638745ecb31d1ee83f8d8007ccb2651 | refs/heads/master | 2021-01-03T00:06:43.882414 | 2020-04-08T14:06:43 | 2020-04-08T14:06:43 | 239,826,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | bubble_sort.cpp | #include<iostream>
using namespace std;
void bubble_sort(int a[],int n)
{
for (int i = 1; i<n; ++i)
{
//int small=i;
for (int j = 0; j < n-i-1; ++j)
{
if(a[j]>a[j+1])
{
swap(a[j],a[j+1]);
}
}
}
}
int main()
{
int a[]={5,4,3,2,1,10,99,44,33,100};
int n=10;
bubble_sort(a,n);
for (int i = 0; i < n... |
7c6e0eb5862160c878b4e3f7f7e9d6a3a241553d | 1c2e62fd25e7a6b134921dd26d4e134ed85f5c03 | /common/LogClient.cc | b04be7947d6ac56fa18e6c4823a7598f40ba396f | [
"Apache-2.0"
] | permissive | DDaLu/ceph-msg | 01af1cde5d04709605888b6633c500fde312cc0d | 2e5c18c0c72253b283bfd3d0576033c0b515ce55 | refs/heads/main | 2023-08-31T19:27:30.112410 | 2021-11-05T14:08:58 | 2021-11-05T14:08:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,819 | cc | LogClient.cc | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General ... |
750f6fbb787fd3f043bfbed71ee76e6987bb0cfe | 2162ceede2760b54ff8b323ce6dccd735930a80a | /src/506-div1-250/SlimeXSlimesCity.cpp | 235c18c54079485aee1a270c79a81bb18ab468f5 | [] | no_license | kuno4n/TopCoder | 3c3ecc4a883f5fca8d3f410c9752e1e9ba967f59 | 44749cef939854db6c3644a0ae778e59467e431e | refs/heads/master | 2021-01-10T18:44:37.424057 | 2015-02-19T12:04:00 | 2015-02-19T12:04:00 | 6,072,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,234 | cpp | SlimeXSlimesCity.cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <cstring>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <queue>
using namespace std;
#define SZ(x) ((int)x.size())
#define MSET(x,a) memset((x), (a), ... |
944b51089485e9b16a44f5b9f16c2b356cc49e7c | b11615639962ea30a7f211821da9fa681b24a289 | /app/src/main/cpp/player/IPlayerPorxy.cpp | 229c5b09d2cada1354faa011440c87e80634006d | [] | no_license | dzh2333/DMarkPlayer | 40c44cf008b702a15966486f707f061463d19d5f | 40e2b9b032a54a6d6f51541133f1fed19ccf9fdb | refs/heads/master | 2023-07-01T02:38:08.062537 | 2021-08-06T02:34:11 | 2021-08-06T02:34:11 | 330,070,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,675 | cpp | IPlayerPorxy.cpp |
//
// Created by Administrator on 2018-03-07.
//
#include <jni.h>
#include <thread>
#include "IPlayerPorxy.h"
#include "FFPlayerBuilder.h"
#include "XLog.h"
#include "../nativelib.h"
#include "../jnihelper/AndroidHelper.h"
void IPlayerPorxy::Close()
{
mux.lock();
if(player){
player->Close();
}
... |
0a4df6e90e614056fa7fef43ced77982497603f4 | 603cd8585482e26bf23744f5d466ccc699d30cc4 | /SRC/Controller/commands/command.h | 3f74b44537e6afe6f5e49fc974628608c536f52d | [] | no_license | brecher4/DNA-analyzer-system-project | 4c850fe2891f7e8b46d17f0671db408ad5fb3476 | 52359ac625cb7b0acd1cf6bdfd4970bc88c8bc0b | refs/heads/master | 2023-01-10T04:39:17.899877 | 2020-11-05T20:20:58 | 2020-11-05T20:20:58 | 310,415,170 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 221 | h | command.h | #ifndef SRC_COMMAND_H
#define SRC_COMMAND_H
#include "i_command.h"
class Command: public ICommand
{
public:
/* virtual */ ~Command() = 0;
protected:
const ParserParams* m_pParams;
};
#endif //SRC_COMMAND_H
|
37e0fffc72ff37bd52feedcd3917dbaf64343cf6 | 5277e9293cc9077f03c661267951bb81a1a77e4d | /1360E-Polygon.cpp | ab9fb27a2600756bbd13f5375f9ebafc961c1c6e | [] | no_license | abishek983/DSA | 41f9740c85d7a0e894edacd6901d46ec4dfe02ee | fff807823d8c04807cd57d58994e68f077caaef7 | refs/heads/master | 2021-11-24T08:54:11.697191 | 2021-11-04T19:45:05 | 2021-11-04T19:45:05 | 242,084,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | 1360E-Polygon.cpp | //https://codeforces.com/contest/1360/problem/E
#include<bits/stdc++.h>
using namespace std;
const int MAX = 50;
char mat[MAX][MAX];
string solve(int n){
int flag = 1;
for(int i=0;i<n-1;i++){
for(int j=0;j<n-1;j++){
if(mat[i][j]=='1'){
flag = mat[i+1][j]-'0' || mat[i][j+1]-'0';
if(!flag)
return... |
349cdac16bafff8e7620b85e438cb9f8c990b692 | dd6de2549e1ba47627b82cf408fd46072b7856f6 | /MXTrain/Window/RbToolMgr.h | cba76bd2d1ab002c12b9cc15329c8609017ba81b | [] | no_license | mylifecode/SYprojectcode | 36e5459a2527b9d45f2413c9b78f0f9fb9f6d4e2 | 7328a9b7667bc2d1d03204e84f41f8873b5c3680 | refs/heads/master | 2022-04-14T08:10:25.417006 | 2020-04-11T01:33:08 | 2020-04-11T01:33:08 | 195,399,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | h | RbToolMgr.h | #ifndef RBTOOLMGR_H
#define RBTOOLMGR_H
#define TOOL(x) RbToolMgr::INS(x)
struct Tool_Unit
{
Tool_Unit()
:name(""),
picFile(""),
type(""),
subType("")
{
}
QString name;
QString picFile;
QString type;
QString subType;
};
class RbToolMgr
{
public:
static RbToolMgr& GetInstance();
static Tool_Unit ... |
55b20142e068f5ac2ee7cbcb6ecb39aa226a0c90 | 589145a5922edcca9299bb7218ef1e6e8bcc2698 | /POJ/POJ_2502.cpp | daf237a824ff35aba25c5e5067a8347484de86ab | [] | no_license | xyw5vplus1/Algorithm-Contest | 6ced07364c33bc8900ac5d92c67c6c72be5a3a84 | ea26d3460545c5c5c80a1dfc2c9693042b7b911d | refs/heads/master | 2023-03-30T13:29:12.756380 | 2021-03-27T15:05:19 | 2021-03-27T15:05:19 | 255,802,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | cpp | POJ_2502.cpp | #include<cstdio>
#include<algorithm>
#include<cstring>
#include<cmath>
#define rep(i,a,b) for (int i=a;i<b;i++)
#define per(i,a,b) for (int i=a;i>b;i--)
using namespace std;
typedef double db;
const int maxn=200+10;
const db INF=1e9;
struct node
{
int x,y;
}a[maxn];
db g[maxn][maxn];
db dist[maxn];
... |
b88ad680e667f3e4c9c48a0d270f6a2c628b2621 | 593b24f49bbecbc85cacf027be0a3004d8115800 | /simple_control.cpp | 1149aae618441e1b82864428ec46c4eb0f2c0a51 | [] | no_license | guidedparafoilsystem/PCB | 359834add046c2bc63ed7fc9662e86b8613c99e3 | 66e3fb660bb6666a722391b8f14181442860e1a2 | refs/heads/master | 2016-09-11T02:58:28.775093 | 2015-05-11T17:30:29 | 2015-05-11T17:30:29 | 35,438,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,212 | cpp | simple_control.cpp | #include <Servo.h>
//********************************************************************//
//***Debug Code Start -- comment ALL out for Monkey!***
//This feeds fake data to the control routines for compilation, simulation,
//and debugging on a Windows PC
#include <math.h>
#include <stdio.h>
#include "simple_control.h... |
557d14b2fb3116eb1f0fdd4dde45277b91a5d50c | 24887c9174d46b85d34f4c93bf9870487705997a | /Source/Common/Menus/Credit.h | b9bb7aa08481d2cbb4360a50f01e8fe144641d53 | [] | no_license | bouc0277/Assignment-2.1 | 007b8fd81b55e47416dd3b421d7d5f250b1aca1d | fdb41b9bf96ad3a58235d1ad835cae927394e6af | refs/heads/master | 2020-12-24T17:54:29.101856 | 2014-02-14T23:59:38 | 2014-02-14T23:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | h | Credit.h | //
// Student: Eric Bouchard
// Creation Date: october 12, 2013
// Course number: GAM1514
// Professor: Bradley Flood
// Purpose: This class manages the credits screen.
//
#ifndef __GAM_1514_OSX_Game__Credit
#define __GAM_1514_OSX_Game__Credit
#include "../../Common/Screen Manager/Screen.h"
... |
1292fee42065226613301a85e5b7b3fa1ef627fd | d2f13ba48336cdfd7353b22969561016fafac582 | /lesson 1.2.1/baseTypes_symbols.cpp | 5a63658b678ed576c0632f3d4a6055a8d8dca6a7 | [
"Unlicense"
] | permissive | vtalkist/-OTUS-C-for-beginners-programmers | 130ef50d3c9f61c8749e98735f9c07bc62310ae2 | a8b1486746010d3f304b5dca790f04f64e342d9a | refs/heads/master | 2023-02-19T02:52:23.686474 | 2021-01-17T21:54:00 | 2021-01-17T21:54:00 | 330,255,390 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | cpp | baseTypes_symbols.cpp | #include <iostream>
int main(int argc, char* argv[])
{
char symbol = 'A';
std::cout << "symbol = " << symbol << std::endl;
std::cout << "Hello, Wordl!" << std::endl;
return 0;
} |
09945879a48ccea14c5bbc446686b60dbc95850c | 64756e216ca16d49c7d776b73f46132d935f05bb | /common.hpp | 9d05a39df470840e9f61da3f79026c183e41d419 | [] | no_license | sprkrd/mcts_framework | 84b0c6a9a305b845cccd03af222530a2c3813fdb | d68b5d70988c360ee4cbc97faf88a4628537ad0a | refs/heads/master | 2023-01-23T23:14:40.483250 | 2020-11-27T15:25:39 | 2020-11-27T15:25:39 | 315,569,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,017 | hpp | common.hpp | #pragma once
#include <ostream>
#include <utility>
#include <vector>
namespace mcts {
template<class Environment>
using State = typename Environment::State;
template<class Environment>
using Action = typename Environment::Action;
template<class Environment>
using Reward = typename Environment::Reward;
template<cl... |
0aa7e99f4baf8c9c303a99ef4bab5ed86e7e9c4f | 75f81fe64efecd48bfee51ed71518c1ca3e45227 | /happhub/HapphubPublisherBase/src/Log.cpp | b669d990501563944c51985889858c1958f3bdaa | [] | no_license | cpopescu/whispercast-extra | 054ddf58f51cd1b70165a6538d02964f2e04701d | a49f1d4337a5d59100a946bdec8c0eb53d3cf527 | refs/heads/master | 2020-04-11T09:54:21.590571 | 2013-05-24T15:29:18 | 2013-05-24T15:29:18 | 2,916,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | cpp | Log.cpp | #include "Log.h"
#ifdef __WINDOWS
#include <Windows.h>
#include <strsafe.h>
namespace happhub {
static
const char* __windows_log_levels[] = {
"VERBOSE: ",
"DEBUG: ",
"WARNING: ",
"ERROR: "
};
void __windows_log_print(__WINDOWS_LOG_LEVEL level, const char* format, ...) {
va_list ... |
6dbd1a06c6c289c5ce6ba2a6e39667dbef440fae | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/renderer/core/css/abstract_property_set_css_style_declaration.cc | 0ebd4a2efd4db89169bfe880b45dfcde7bcfda13 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | 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 | 11,894 | cc | abstract_property_set_css_style_declaration.cc | /*
* (C) 1999-2003 Lars Knoll (knoll@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All
* rights reserved.
* Copyright (C) 2011 Research In Motion Limited. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the... |
3d5a67c96ca41272871a3299d52fc6529263cc05 | 2f396d9c1cff7136f652f05dd3dea2e780ecc56e | /_studio/shared/umc/codec/jpeg_dec/include/jpegdec_base.h | 69f1194848afe5c4fe409403f8b7247ce4adcb6b | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Intel"
] | permissive | Intel-Media-SDK/MediaSDK | d90c84f37fd93afc9f0a0b98ac20109d322c3337 | 7a72de33a15d6e7cdb842b12b901a003f7154f0a | refs/heads/master | 2023-08-24T09:19:16.315839 | 2023-05-17T16:55:38 | 2023-05-17T16:55:38 | 87,199,173 | 957 | 595 | MIT | 2023-05-17T16:55:40 | 2017-04-04T14:52:06 | C++ | UTF-8 | C++ | false | false | 4,505 | h | jpegdec_base.h | // Copyright (c) 2017 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, pub... |
056279c55a50d6bfac7a6578fc52dcd9e03d8df9 | 5fcc308bbb9828b840bd4d71dd2e8d9efc0da6ec | /cpp/holstein.cpp | 606939572db3e5b94ac46074ff9f3eb2e170e297 | [] | no_license | feipu123/usaco | 8e1d009abd0ff657cec513fb7859c760f6bceebe | 4cb58a67044f77f486469eb9aae4f39620e64e71 | refs/heads/master | 2021-01-25T06:05:50.035050 | 2012-07-19T02:20:06 | 2012-07-19T02:20:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,150 | cpp | holstein.cpp | /*
ID: czpcxfz1
PROG: holstein
LANG: C++
*/
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <utility>
using namespace std;
int n, m, vit[30], feed[20][30], nown, bestn;
bool now[20], ans[20];
bool check()
{
for (int i = 0; i < m; ++i)
if (vit[i] > 0) return f... |
68336176c84a0e9304e1a4f9717152fbfb2555b8 | f5a9c56cd5e44a52b9bfa47eb9fa0351a2a983a4 | /EE2331 Data Structure and Algorithm/Tuts/Tut-06/tutorial_6.cpp | d7ca544af8a35f75fdccbb9c599333cd00cc57fc | [] | no_license | RYY0722/Course-taken-CityU | 36b17cfc54382b499cf10da0071e327c3e76754f | b7c3b2699954e489b8c9480219f4b14b34e6bb73 | refs/heads/master | 2023-03-28T23:23:17.823788 | 2021-04-05T08:07:24 | 2021-04-05T08:07:24 | 354,763,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,087 | cpp | tutorial_6.cpp | // Student name:
// Student ID :
/*
Submission deadline: Friday, 13 March 2020, 12 noon
We shall use the data structure vector<T> in this exercise.
http://www.cplusplus.com/reference/vector/vector/
Study the notes and watch the videos that explain vector, and
recursion and backtracking.
The storage capacit... |
120ad93036a13947eadfe5a480d7eae41ce61fa7 | ad80c85f09a98b1bfc47191c0e99f3d4559b10d4 | /code/src/node/nbumpmeshnode_main.cc | b3db2f5b054ad29e1cf11b86aabf5efea23b3751 | [] | no_license | DSPNerd/m-nebula | 76a4578f5504f6902e054ddd365b42672024de6d | 52a32902773c10cf1c6bc3dabefd2fd1587d83b3 | refs/heads/master | 2021-12-07T18:23:07.272880 | 2009-07-07T09:47:09 | 2009-07-07T09:47:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,295 | cc | nbumpmeshnode_main.cc | #define N_IMPLEMENTS nBumpMeshNode
//------------------------------------------------------------------------------
/* Copyright (c) 2002 Dirk Ulbricht of Insane Software
*
* See the file "nbump_license.txt" for information on usage and
* redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/... |
828d6af621dded5710173046bd3791bbe503946b | 690b60a57f85bdce71e614676c305e2492fb7608 | /QCIFSServer/QCIFSProcessor/cTrans2QueryFileInfo.cpp | d00f8c6c2d701a2bc621853039b501a5eb4e3644 | [
"Apache-2.0"
] | permissive | rodrigomr/VFS | b07886c0a97bf08c2853fa3182e90eba6ff6ff4e | 6b68b00df8cb668106c2d0841cbcd46138298717 | refs/heads/master | 2020-03-30T13:54:59.627030 | 2018-10-02T12:06:43 | 2018-10-02T12:06:43 | 151,293,022 | 0 | 0 | NOASSERTION | 2018-10-02T17:12:38 | 2018-10-02T17:12:46 | null | UTF-8 | C++ | false | false | 9,904 | cpp | cTrans2QueryFileInfo.cpp | // Copyright 2018 Grass Valley, A Belden Brand
// 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 or ag... |
d5e2a72c17cd7a9c48977cf384be2932813a3257 | 7b31de47300a8b052416c044c27aa3ceb4e6f0a1 | /Source/qpop.cpp | f00152dab3c43a607c9894341f23c2de56e09507 | [
"MIT"
] | permissive | nopenoway0/qpopcpp | 89015e1b3d4fd77dcd6d2835cb3ff2a8fe24a1ec | 5a61fbd27f56dec124ca7236303623086ffc5f8d | refs/heads/master | 2021-01-20T13:04:43.354796 | 2017-12-02T01:53:09 | 2017-12-02T01:53:09 | 101,734,020 | 0 | 0 | null | 2017-10-09T22:14:18 | 2017-08-29T07:44:51 | C++ | UTF-8 | C++ | false | false | 4,585 | cpp | qpop.cpp | #define _WINSOCKAPI_
#include <stdio.h>
#include <string>
#include <settings_class.h>
#include <iostream>
#include <windows.h>
#include <qpop_server.h>
#include <gdiplus.h>
#include <thread>
#include <img_processing.h>
#include <screen_capturer.h>
#include <ancillary_functions.h>
#include <shared_access.h... |
de9a1411c7a3761db39d6946c8de2a30c4a12a4c | 8a43cd261901ee3de9cd2cf463f5474851f00491 | /Elevator_qList/elevatorclass.h | ae2d13aa600c693d9fd163cbe02e85c2997caa0e | [] | no_license | VolkanoLiu/ElevatorSimulator | 72e262a7cd58e7e3517a9253f739aae9d20d6282 | e72d4b63c315727ea3afd43230b23b18926222f9 | refs/heads/master | 2020-04-27T17:09:54.807516 | 2019-03-08T09:10:52 | 2019-03-08T09:10:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | h | elevatorclass.h | #ifndef ELEVATORCLASS_H
#define ELEVATORCLASS_H
#include <QObject>
class ElevatorClass : public QObject
{
Q_OBJECT
public:
explicit ElevatorClass(QObject *parent = nullptr);
int getFloor(); //得到电梯楼层
void setFloor(int newFloor); //设置电梯楼层
int getStatus(); //得到电梯状态... |
2ea99eb305706e9cc8dd3f4e40c4e8c503d9dffb | 9b5acc90f8d4bad27bf618bf8605ed68d8e907f9 | /win/clipboard.h | 2ea9680171d8e6f68d923a151c4ecd2549cc38ea | [
"MIT"
] | permissive | BluTree/windows | 2847495ac58ed4fd1b703ada50d400045d8cad52 | 01dbb9cd5098f036771d79c2ed1ea5921f69f759 | refs/heads/master | 2023-03-10T07:41:42.467743 | 2021-02-17T16:09:06 | 2021-02-17T16:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | h | clipboard.h | /*
MIT License
Copyright (c) 2010-2018 Eren Okka
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... |
e410a179b3f9ed70fa37137cc424b4fd3a420fa3 | b21b0b9882ceaba23d6e8a77d895b4c282ef3b41 | /AnnualBonus.cpp | dcb4dae31cc3e16eb67137e04d4f061cd0e281b7 | [] | no_license | liangbin712/Rich_bingo | f85859c4f1917879530bc97fd0a4f53a1297d452 | 756b6855268a2a9d0d3c13c05f7a35bb73195fd9 | refs/heads/master | 2020-04-04T15:56:48.082479 | 2019-08-13T12:44:04 | 2019-08-13T12:44:04 | 156,058,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | AnnualBonus.cpp | #include<iostream>
#include<vector>
using namespace std;
int getMost(vector<vector<int> > board) {
int Max = 0;
for(size_t i = 0;i < board.size();i++ )
{
for(size_t j = 0;j < board[0].size();j++)
{
if(i == 0 && j == 0)
{}
else if(i == 0)
board[i][j] += board[i][j-1];
else i... |
157dc8904517d4c71ab5b6bdc6151caec7b3c286 | 795260ef3542098c6ffd7b7f0908e77c249af0f6 | /312.Burst Balloons.c++ | 6dd9bc31532b329313990bec6c2010f51dbdaf0a | [] | no_license | gillianczj/leetcode | f6819473ddf6ad8fb9d94f96194b47d2a27fbbb1 | c93590cf4e0220d39185d68c9d055f721d7f14e9 | refs/heads/master | 2021-01-19T02:34:58.037260 | 2017-01-19T04:17:11 | 2017-01-19T04:17:11 | 52,185,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | 312.Burst Balloons.c++ | class Solution {
public:
int maxCoins(vector<int>& nums) {
int n = nums.size();
nums.insert(nums.begin(), 1);
nums.insert(nums.end(), 1);
vector<vector<int>> dp(n + 2, vector<int>(n + 2, 0));
for(int k = 1; k <= n; ++k) {
for(int i = 1; i + k <= n + 1; ++i) {
... | |
3c2cc1afae37b44bd79ada3fcac06390c807ddb9 | debfc6e95ebf092effd970fc0afd08e685f81ab7 | /fdbserver/PaxosConfigConsumer.actor.cpp | e6c6e2f2e80652d8c1d785da5415aab15d4b1baa | [
"Apache-2.0"
] | permissive | CyberFlameGO/foundationdb | dbabe8ad962646cc7b5aa3ccb7d572975a44938c | 82603ff7645c7eabba320beb5d22ed6e36bd7f2a | refs/heads/master | 2023-06-29T06:06:56.282291 | 2021-07-28T01:57:22 | 2021-07-28T01:57:22 | 390,196,494 | 0 | 0 | Apache-2.0 | 2021-07-28T03:34:16 | 2021-07-28T03:12:29 | null | UTF-8 | C++ | false | false | 1,367 | cpp | PaxosConfigConsumer.actor.cpp | /*
* PaxosConfigConsumer.actor.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
0b76b0fa9997c7c37ebdfca7d600779738c994f9 | ff0a0def0863e00b4f0d84c227f143e473d4fc21 | /net/addr.cpp | f98a8459814b1f255c6a1425c4c12c30c9f990df | [] | no_license | qqiangwu/code-adventure | 875c179cc536b5310114394e7049f8f2b7c3d50d | fffc074bd122ee847c15dc403c41d4d2a7c87bcd | refs/heads/master | 2021-05-15T04:27:58.092778 | 2018-01-30T07:16:09 | 2018-01-30T07:47:48 | 118,644,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,104 | cpp | addr.cpp | #include <string>
#include <limits>
#include <sstream>
#include <stdexcept>
#include "addr.h"
using namespace Net;
std::string Ip::str() const noexcept
{
const auto uint16_max = std::numeric_limits<std::uint16_t>::max();
std::uint32_t ip = value();
std::uint8_t d = ip % uint16_max;
ip /= uint16_max;
... |
f4540b0b462a976178b31b1f91afc7045efd0e98 | 0496195fdb478945345ef3970006d3497515ad5e | /src/controllers/bluetooth_controller.cpp | 042f74cc1c2b4d94547ba6aebbe0405a4c75f7c2 | [
"MIT"
] | permissive | emilymelzer/flipperServer | a32f4ea5e54964787b3e4215a4ad3d13e01f729c | a65c37368f1c5a8c0a811d4fb200d1683da8b090 | refs/heads/main | 2023-03-20T22:58:46.616824 | 2021-03-19T17:15:30 | 2021-03-19T17:15:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34 | cpp | bluetooth_controller.cpp | #include "bluetooth_controller.h"
|
c835afe9b31812efb4ffaa9700a32c3866020ae3 | d6d6e0d6a9ba585b1eac8c780f8a30ae30dc4aed | /lib/SoapESP32/src/MiniXPath.h | 1869bc9b318125a0bddad64b6ed28f06d2eed7b6 | [
"MIT"
] | permissive | schreibfaul1/ESP32-MiniWebRadio | d18faffe25de15e6a55969a2ce92152ddc80f6f9 | d78a6413a2ba885ef8fd5a7f4aaca62b68957a0f | refs/heads/master | 2023-08-16T22:33:38.962490 | 2023-08-15T12:56:07 | 2023-08-15T12:56:07 | 123,805,672 | 238 | 60 | null | 2023-09-02T06:44:16 | 2018-03-04T16:13:03 | C | UTF-8 | C++ | false | false | 2,167 | h | MiniXPath.h | /*
MiniXPath is part of SoapESP32 library and used for scanning XML streams.
It is based on Thomas Mittets (code@lookout.no) "MicroXPath" but needs
substantially more RAM and the following features have been added:
- extracting attributes
- extracting whole sub trees if requested
- using C++ strings
*/
#if... |
1bfd19011ecdb5f2953b18128952b11ddefcf1fb | 6e5e00bb1a15df80aaf10593855670f153c3a8f8 | /private/tst/plugins/src/IasTestPluginLibrary1.cpp | 43cb1eac4b60bfedd82dcaad016216aaf602f190 | [
"BSD-3-Clause"
] | permissive | intel/SmartXbar | 4cd87917f4d674e67f380b4134fffa81fa446103 | a89ebdb37c90b69fc49f5097bfcd341824c10499 | refs/heads/master | 2023-05-27T14:27:28.455965 | 2023-01-07T00:07:36 | 2023-01-07T00:07:36 | 154,571,939 | 6 | 7 | NOASSERTION | 2019-11-14T07:43:33 | 2018-10-24T21:31:40 | C++ | UTF-8 | C++ | false | false | 1,398 | cpp | IasTestPluginLibrary1.cpp | /*
* Copyright (C) 2018 Intel Corporation.All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file IasTestPluginLibrary1.cpp
* @date 2016
* @brief
*/
#include <iostream>
#include "audio/smartx/rtprocessingfwx/IasAudioPlugin.hpp"
#include "avbaudiomodules/audio/common/IasAudioCommonType... |
9a0148c274644292b1e81fad896c905839f9ef15 | 49c4be7067f288222f7c5009d994da4b78b48b9b | /b_tree/leaf.hpp | a3879e308b5924cebe541823edba5cc09fd3ecd4 | [] | no_license | csalcedo001/draw | ebf08a24164a81655311e1ee134645ed6bb18ce3 | 58bf7524a46ba04365f3d37f2b9201e1433ae638 | refs/heads/main | 2023-06-30T15:15:06.979642 | 2023-06-14T17:48:32 | 2023-06-14T17:48:32 | 301,166,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | hpp | leaf.hpp | #ifndef B_TREE_LEAF_HPP_
#define B_TREE_LEAF_HPP_
#include "node.hpp"
namespace eda {
template <int m, typename T>
class Leaf : public BTree<m, T>::Node {
public:
Leaf();
};
} // namespace eda
#include "impl/leaf.ipp"
#endif // B_TREE_LEAF_HPP_
|
27cfaed85b39ba43c700d87a64cb00f7d52cee72 | 0e01b89e6293542d9b0349958c55967999bb4a2f | /include/yaks/version.hpp | 2c2a3b37ec0ed30341e005601c6ff06cb6f1627d | [] | no_license | yangacer/Yaks | 6eeee2e5fc32849dfe58567af12bcbfa6970df73 | 418ac290d5adb7b726d0454fb01d1df1353507cc | refs/heads/master | 2021-01-01T19:25:49.216073 | 2011-06-10T11:25:56 | 2011-06-10T11:25:56 | 1,743,568 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | hpp | version.hpp | #ifndef _VERSION_HPP_
#define _VERSION_HPP_
#define YAKS_VERSION_ "0.1.0"
#endif
|
af0f48a0adc875fdbbf0fdf1eeb2625eb127bb56 | 6a3a50538c544c9f8d65bcb8f96d4e3b68a4e848 | /Sources/Bomberman/Launch.cpp | 0db9ab998372354f506d730f1a4ffb8a22980edd | [] | no_license | lejard-h/cpp_bomberman | 8f2d7eabebc1b872e189f066caeee78bc2550569 | 3ba7dcbc77ac87fb47be006446c537da7055b2dc | refs/heads/master | 2016-09-06T08:57:09.230787 | 2014-07-11T08:55:12 | 2014-07-11T08:55:12 | 21,691,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,682 | cpp | Launch.cpp | //
// Launch.cpp for in /home/lelabo_m/rendu/cpp_bomberman
//
// Made by Marc Le Labourier
// Login <lelabo_m@epitech.net>
//
// Started on Fri Jun 13 15:52:28 2014 Marc Le Labourier
// Last update Sun Jun 15 13:40:56 2014 Marc Le Labourier
//
#include <exception>
#include <stdio.h>
#include "Engine.hh"
#include "... |
ea01b3c0d3e5cfaa71e848d2d6b833ae664f52a4 | d85303b32c8ed59785f14c7499b1266175b17120 | /src/blobdetectorfloodfill.cpp | f7526c1b343a307ad81ab3086b9320e5197b579d | [] | no_license | KarolHausman/BlobDetection | 17d512b3c1919e10d192f32f0a5e1608e57e6431 | bab162f538a97832467bd55d3d7cd2f87c86af8f | refs/heads/master | 2021-05-27T21:39:26.103948 | 2014-04-11T18:00:56 | 2014-04-11T18:00:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,536 | cpp | blobdetectorfloodfill.cpp | #include "blobdetectorfloodfill.h"
BlobDetectorFloodFill::BlobDetectorFloodFill():
floodfill_lo_diff_(cv::Scalar(0)), floodfill_up_diff_(cv::Scalar(10)), mask_size_distance_transform_(3)
{
}
BlobDetectorFloodFill::~BlobDetectorFloodFill()
{
}
void BlobDetectorFloodFill::setFloodfillLoDiff(const cv::Scalar& flo... |
3d10415b2ed341ea459d20638fbee4046ef58917 | 1d015b1c32ad0540f48f4172a26b13d9df7f31dd | /lib/RenderSystem/host_mesh_tinyobj.cpp | 947022516c0203093460105300aa924ec5b902af | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ICYou/lighthouse2 | 5475ede9a2334b863801aa15c988f9e049d14545 | 44ede1d83d109291ecd102a5f3eaa435612648b9 | refs/heads/master | 2020-09-15T09:29:29.421221 | 2019-11-25T21:42:51 | 2019-11-25T21:42:51 | 223,410,743 | 1 | 0 | Apache-2.0 | 2019-11-25T21:50:29 | 2019-11-22T13:34:19 | C++ | UTF-8 | C++ | false | false | 1,167 | cpp | host_mesh_tinyobj.cpp | /* host_mesh_tinyobj.cpp - Copyright 2019 Utrecht University
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 applicabl... |
3424e32618a5dbec58be2fb323671dcd733a8c71 | 48cbd2570cd8d0eff059b02e6a9b7b49c78b2dc6 | /H0/sorting.cpp | 18646ce0a1e40f87e7bfedeef87a7e6195f404e7 | [] | no_license | UxOri/ProgCPP2sem | 333e699fbeef90392931dff0baf48e6ee9f53430 | 2f22bf0bda279786a0ec870804d17ddca1aa5afb | refs/heads/main | 2023-04-26T16:49:28.264699 | 2021-05-19T21:59:18 | 2021-05-19T21:59:18 | 339,755,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,932 | cpp | sorting.cpp | #include <iostream>
#include <cmath>
#include <iomanip>
using std::cin;
using std::cout;
using std::endl;
void swap (int* data, int a, int b);
void rOR (int* data, const int size);
int findmin (int* data, const int size);
int find_pos (int* data, const int size, int value);
void merge (int* data1, int* data2, const in... |
0b3504bedb02613623981dcd8de64caa5c865357 | ed3bba176334177b83840729a26af3768d87563e | /PA1/2_edge_detection/src/Sobel_edge_detection.cpp | 4b67dbb01070ff087033692c262cb9c4b6fed0a3 | [] | no_license | mwiegant/CS485_Computer_Vision | b9cf3d975a583b354a812af30e04441e887dbe14 | 34b276f1ce7e3402fdf23532d71939b69571684b | refs/heads/master | 2021-06-13T16:55:32.783616 | 2017-04-18T16:23:11 | 2017-04-18T16:23:11 | 82,478,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,492 | cpp | Sobel_edge_detection.cpp | #include <string>
#include <cmath>
#include "ReadImage.cpp"
#include "WriteImage.cpp"
#include "Sobel_masks.cpp"
namespace Sobel_E_D {
/* function prototypes */
void allocate2DArrays(int** &array, int& rows, int& columns);
void applySobelMask(int** dataIn, int** dataOut, int& numRows, int& numColumns, in... |
36d96429cc6662f58e6148bfadd93630ef451c28 | 9d0eb06bf47328ce1f48cbedab81c90942956dd8 | /Prac01a.cpp | e8a6b0f87c6aecbcc75653babcb61e91336f68b3 | [
"MIT"
] | permissive | acrogenesis/Programacion-Orientada-a-Objetos | b93bff71c1f8d7813fbfa6a4ff1d867f39c0d77b | 68cd9e68978d13fef99c7b492680eb0da625b532 | refs/heads/master | 2016-09-10T13:41:42.670208 | 2014-01-26T06:21:29 | 2014-01-26T06:21:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | Prac01a.cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
bool letras[26];
string s, sal;
char letra;
getline(cin,s);
while (s!="FIN"){
sal = "";
for (int j=0; j<26; j++)
letras[j] = false;
for(int i=0; i<s.length(); i++){
letra = s[i];
if (letra == ' ')
sal+= letra;
else if (!... |
c2666dfeb305a028bbdc6145d815c338f2771440 | cad56a952995df02b6927fd24faf6a90559cc2d1 | /arm9/source/libdsp/dsp_fifo.cpp | a7c41e49f1570f94394df92184978dcd27e97d9a | [] | no_license | Gericom/DSiDsp | 4823937ae02db67061c991402f0f2280d1e026e2 | a5bd5afc96765e9668b66b5e01e800b64ddd7bbb | refs/heads/master | 2020-06-24T03:54:28.810528 | 2019-11-11T11:36:07 | 2019-11-11T11:36:07 | 198,840,908 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,342 | cpp | dsp_fifo.cpp | #include <nds.h>
#include <stdio.h>
#include "dsp.h"
#include "dsp_fifo.h"
/**
* @brief Sends data to the dsp memory using the fifo
* @param mem: Destination memory, not DSP_PCFG_MEMSEL_PROG!
* @param src: Source address
* @param fixedSrc: True if the source address is fixed
* @param dst: Destination address... |
13ea48890be09d273131b5cf8be9b550eaf382c7 | b1e5837a7ca2236018d4346436fee792a008bc8b | /Predator.h | 28f7247b283fe9ed5df91e0b7049304c71d158a1 | [] | no_license | max-elliott/bird-flock | 1f670bd5ba2dc78d5f1245ab7b614670285cbc74 | fac7d92b080778e5b993c70d41b0365669aae0c6 | refs/heads/master | 2021-06-19T12:34:21.467414 | 2021-04-03T17:18:32 | 2021-04-03T17:18:32 | 192,762,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | h | Predator.h | /* Predator.h
* Author: Max Elliott 1434717
* Created On: 2017-12-12
*
* Header for Predator objects. Used to represent each predator in the flocking simulation. Essentially a Bird,
* but with different update method, and the behaviour of chasing other birds and eating them. They have a hunger
* indicating ... |
5dae00adb9c45e9cfb49d2b1f623a8d2a3b2fedc | ed36f697e8edd1e2e4cfe488ec1e379994274279 | /Node.h | a20271039d0a3055bec0ea2ae74165596c77ccfe | [] | no_license | otaviobertucini/sorting-homework-v2 | bc3b4dac5440638ca0fe64c8bdecaf1623b7f161 | aba42e16284312773f76cffdef0f075028474d7f | refs/heads/master | 2020-03-30T05:01:11.533797 | 2018-11-01T20:37:17 | 2018-11-01T20:37:17 | 150,775,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | Node.h | #ifndef NODE_H
#define NODE_H
class Node {
public:
Node();
~Node();
void setPrev(Node* prev);
Node* getPrev();
void setNext(Node* next);
Node* getNext();
void setReg(int n);
int getReg();
void setName(char* name);
char* getName();
void setRg(int rg);
int getRg();
voi... |
4f3ed9ed69260a43f66aa3bca0a5471b9032db9f | d19b5b6274756117eb9403e62d11171b6240634e | /C and C++/Competitive/CodeChef/chef_max_walk_val.cpp | 76dfd9ef90c72f55764c50677ab81763e1ac7939 | [] | no_license | Nirav-1999/Small_Programs | ea521e5c5fd6c7d9a9d92379b0833099484dc668 | 5481282c206be099e3870986438dfa1230375448 | refs/heads/master | 2021-07-06T11:39:53.190316 | 2020-12-17T12:41:39 | 2020-12-17T12:41:39 | 183,882,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,070 | cpp | chef_max_walk_val.cpp | #include<bits/stdc++.h>
using namespace std;
int flag = 0;
vector<vector <int>> create_adjacency_matrix(vector<int > arr,int n){
vector<vector <int >> adj_matrix(n, vector<int>(n,0));
for (int i = 0; i < n-1; i++)
{
adj_matrix[arr[i]][i+1] = 1;
adj_matrix[i+1][arr[i]] = 1;
}
// fo... |
95649e3e552b465fd375e520c60ca2090e93deec | 575e05d8cc3bc0d49a3d3985665b0b6eaa3340ce | /T3-code/array.cpp | 1e8246d5f1d0047159416f2b6d3ec544d7a73889 | [] | no_license | lovlyFarhan/os-10 | 5021e453e48a1c5915a3a2546bd9c153fcfeb9ca | 799ab986e8322aacbe3ef88cd038112bc4d3af5b | refs/heads/master | 2021-01-21T23:33:32.515370 | 2012-10-26T19:20:54 | 2012-10-26T19:20:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | array.cpp | /*
* Arrays in C++
* For use in CPSC 457 tutorials
* Instructor: Prof. Mea Wang
*/
#include <iostream>
#define arraySize 10
using namespace std;
int main(void)
{
int array[arraySize]; // static allocation of an array
int i, total = 0;
// Initialize the array
for (i = 0; i < arraySize; i++... |
7b11a68859a13c80f36bd94c1ba707e4d64eea55 | e1333d3f9072c194ba40e21c61701476f79751f5 | /U1908_04_Combat/CEnemy_Arrow.cpp | 9cf810578a6b9a0147528cdeab00362bd7167c95 | [] | no_license | kktek123/UnrealCombat | e25fe0419695fb89091f96b55d7dcad748902c4f | 58701c25807bfb04f3f227a48721b5e397121758 | refs/heads/master | 2023-06-24T09:46:21.045653 | 2021-07-26T04:08:14 | 2021-07-26T04:08:14 | 389,501,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,697 | cpp | CEnemy_Arrow.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "CEnemy_Arrow.h"
#include "Global.h"
#include "Item/CSword.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "CAIController.h"
#include "CCStateManager.h"
#include "CExtendedStamina.h"
#include "RotateComponent.h"
... |
7ff812ac0239e94bfaf14620d489b91cfc4d6151 | 289d7ce33561aaa0cfd47986e8f2c41ec006a258 | /Div3/taskB/main.cpp | 89f406c3ac0ddfdbaaf49ab881989cc1d6b9cd50 | [] | no_license | adanil/CompetitiveProgramming | 625d74c28b2d129c750176a44587169ec037b4a6 | 62b26981c0fd450bedfecc9c63363badb61d293b | refs/heads/main | 2023-07-01T08:54:24.375216 | 2021-07-22T21:08:23 | 2021-07-22T21:08:23 | 334,717,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | cpp | main.cpp | #include <iostream>
#include <string>
using namespace std;
using ll = long long;
int main() {
ll t;
cin >> t;
while(t--){
ll n,a,b;
cin >> n >> a >> b;
string ans;
ll last = -1;
bool needNew = true;
int startN = n;
int uniq = 0;
while(n > 0)... |
f4a17f27e6e88daafa6faddf77fd1c72e4ef016a | b59efcb83a1fbe4b9f8e56c5ead4eef69f14f209 | /718(Div 2)/C_Fillomino_2.cpp | 0be37e976b541bfa94c6f95732be9a146f0f8ced | [] | no_license | vanshaj2000/Codeforces | 847992d6de86f1f7eb624ea4960b8041c444e887 | 7f2786d5ddda096902ca40c2cc85335d9e31d039 | refs/heads/main | 2023-05-31T01:22:51.602481 | 2021-06-30T21:06:53 | 2021-06-30T21:06:53 | 336,232,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | cpp | C_Fillomino_2.cpp | #pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
#define int long long int
#define MOD 1000000007... |
743d98521959af0e98f903a794fbef899714b7e9 | 51fd68fc0d7ebadadeb568950920621b58058af3 | /C++/code/591.cpp | f2e9e1e6345cd8b16ee44f905e5ec9ad01c1af8d | [] | no_license | leafeonia/leetcode | 7b0eded595ed7bf349472ea26fa1128c28ee3767 | f6c0348d694a11011a0544027a720645a5577bad | refs/heads/master | 2021-12-07T00:32:13.517169 | 2021-10-25T07:46:29 | 2021-10-25T07:46:29 | 194,399,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,354 | cpp | 591.cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
bool isValid(string code){
stack<string> tags;
string status = "begin";
string buf;
if(code.empty() || code[0] != '<') return false;
for (int i = 1; i < code.length(); ++i) {
if(status == "beg... |
c14e74b7c952e2ea72cc1091ba38f703d88bf83b | c034aa9bc66b294ef254819348cd07551503163f | /src/brickred/random.cc | 0c45d2c05c4cd72b8230d9adcfa271abc7f56bff | [
"MIT"
] | permissive | kaienkira/brickred-server | 925b6cd9602606cce14885e68df3ebcd8a15f401 | 5df43a6606407e9fbca428b71ecb1781a0bea9d0 | refs/heads/master | 2022-03-18T09:08:34.561132 | 2022-03-02T03:55:13 | 2022-03-02T03:55:13 | 7,324,232 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cc | random.cc | #include <brickred/random.h>
#include <brickred/timestamp.h>
namespace brickred {
Random::Random()
{
Timestamp now;
now.setNow();
seed(now.getSecond() +
((now.getSecond() & 0x1) ? -1 : 1) *
now.getMilliSecond() * 24 * 60 * 60);
}
Random::~Random()
{
}
} // namespace brickred
|
86d8c2d47db6ae4f61dcb0575dd74627552d638a | 4ae73e755761f39698618b1077282471254a44d9 | /FEM/Node.cpp | e27a1486cebc111c2d5be04ac2f2befaaff80d8b | [
"MIT"
] | permissive | karolmorawski-AGH/AGH_FEM | eab7262630a8697acf5b972415195b38d9e4cb45 | 64321bb59ee297185834fa122894dcc828fad390 | refs/heads/master | 2022-04-06T09:57:12.752622 | 2020-01-30T20:31:23 | 2020-01-30T20:31:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | Node.cpp | #include "Node.h"
#include<iomanip>
Node::Node()
{
this->x = this->y = this->t = this->bc = 0;
}
Node::Node(double xc, double yc, double tc, bool bcc)
{
this->x = xc;
this->y = yc;
this->t = tc;
this->bc = bcc;
this->id = 0;
}
void Node::print()
{
std::cout << std::fixed << std::setprecision(PRECISION_LEVEL)... |
17acb7efd74aaa841bd577e928bec33801a54b1b | eb1cb263f6fa66225bdf5e46ae2f39a8ca469e7e | /powerhmi2/SerialCommu8330.h | e29d47ec74a4841fbf693f412d80dac007b2c8ac | [] | no_license | hubingHB/UcanPower | 7d6a2c1d1db9418b33fa84d71971eba70bb26b62 | 21dcbe550006f372f8c1045392527de9a7053a9a | refs/heads/main | 2023-04-20T13:56:07.470826 | 2021-05-09T07:40:06 | 2021-05-09T07:40:06 | 365,696,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | h | SerialCommu8330.h | #ifndef SERIALCOMMU8330_H
#define SERIALCOMMU8330_H
#include "SerialCommuModbus.h"
class SerialCommu8330 : public SerialCommuModbus
{
public:
SerialCommu8330();
INT16U EquipCommuCodeMatchingPackagePrepare(INT32S LogicIndex,INT32S ComPort,INT8U *buffer);
INT32S RecvRemainBytes(INT32U port, INT32U LogicIn... |
fc4d89d1eeef397d7eec1ae8d1c58572d156d506 | c7bb5e750d1429974ddb0172ffd25942773795a1 | /Excepciones.cpp | 3f01b5a15790032574d3aca739bc53be50d0c31f | [] | no_license | alu0100767803/TSP_reading | 7f64b10fa276e0727a12422ffd70e19a91ca24bd | 922790d437fd7ca13b646d5e3962b4088f118a29 | refs/heads/master | 2021-01-13T16:34:34.253463 | 2017-01-10T17:37:55 | 2017-01-10T17:37:55 | 79,149,481 | 2 | 0 | null | 2017-01-16T19:00:56 | 2017-01-16T19:00:56 | null | UTF-8 | C++ | false | false | 639 | cpp | Excepciones.cpp | #include <cstdio>
#include <exception>
using namespace std;
class Excepciones{
public:
virtual const char * excepcion () const throw () = 0;
};
/**
* Clase para manejar los errores a la hora de abrir el fichero
*/
class fichero_erroneo : public Excepciones{
public:
virtual const char * excepcion () const thro... |
994d642b87e77131baa862bd715784a92f9c468f | 68675188df67e74699f588020a9c7d76145fd73a | /source/TUIVIO.cpp | 6746cb227a3a578fef69338beb088609b8977d0f | [
"MIT",
"BSD-3-Clause",
"ISC",
"BSD-2-Clause"
] | permissive | jdebp/nosh | cb91d3fa459adef3fa1cbe88cd4f742ecff5659a | 79b1c0aab9834a09a59e15d47710f355c5c0417a | refs/heads/master | 2023-07-09T11:03:02.750557 | 2019-03-17T17:32:48 | 2019-03-18T19:45:26 | 166,851,610 | 14 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 6,175 | cpp | TUIVIO.cpp | /* COPYING ******************************************************************
For copyright and licensing terms, see the file named COPYING.
// **************************************************************************
*/
#include <cstddef>
#include <cstdarg>
#include <cstdlib>
#include <cstdio>
#include "CharacterCel... |
f9f18789120e3d692ded744729b7955778a06951 | b42e8fae99402454ec567b868cd7c6800f44b739 | /hdu/2660 Accepted Necklace.cpp | 875b339471330cbcec5efa81d7b94867c6e1b3db | [] | no_license | GadyPu/OnlineJudge | a0799a47454f351e94c9ad8ed20fd2d5ed7e40be | 0740f8e5e7d6e923ac51baec783a6b40cd24260e | refs/heads/master | 2021-01-01T05:06:55.238653 | 2016-05-21T12:54:09 | 2016-05-21T12:54:09 | 59,358,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | cpp | 2660 Accepted Necklace.cpp | #include<algorithm>
#include<iostream>
#include<cstdlib>
#include<cstring>
#include<cstdio>
#include<vector>
#include<queue>
#include<set>
using std::max;
using std::sort;
using std::pair;
using std::swap;
using std::queue;
using std::multiset;
#define pb(e) push_back(e)
#define sz(c) (int)(c).size()
#define mp(a, b) m... |
bc04ee897fbf810d7aa42fbd55743d5cc7a9a5d9 | d848bc29fcac23d07851772640bb33f25619d61b | /Headers/Game.h | bb7eb76f7f7f50f0f521b73e99c1eb1d45825227 | [] | no_license | Akaame/Kaminari2D | e86b519333cbc5fcb13814796ec007cc712be038 | 81352ab00323e93e7f9371842db7691670ef5b61 | refs/heads/master | 2020-03-28T13:58:24.659852 | 2018-09-12T08:22:07 | 2018-09-12T08:22:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | Game.h |
#include <iostream>
#include "GameState.h"
#include "GameObject.h"
#include "Components.h"
#include <vector>
class Game
{
private:
int _screen_width;
int _screen_height;
SDL_Window* _window;
SDL_Renderer* _renderer;
GameState _curr_game_state;
std::vector<GameObject> game_objects;
public:
... |
cbefb70a7eec1d68890971e96498de1db97370ac | 058df6f2e4f3139913641c0209bbd25949088e93 | /ACMICPC/graph_algorithm/1956.cpp | aacaa187ff8ffd6e732aeb237fe88aee3bebe8fb | [] | no_license | 201411167/algorithm | 72ee3aa7b1dcc8cdd04c3487c52410372e1f7305 | 9d47688247890f9f4816db40e70e2ce99d8ba732 | refs/heads/master | 2021-06-22T16:39:16.879533 | 2020-11-17T07:38:55 | 2020-11-17T07:38:55 | 137,024,539 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | 1956.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
#define pii pair<int,int>
int n, m;
int dist[401][401];
void init() {
for (int i = 0; i <= n; i++) {
for (int j = 0; j <= n; j++) {
dist[i][j] = 1e9;
}
}
}
void floyd_warshall() {
for (int k = 1; k <= n; k++) {
for (int i = 1... |
2edb1b9c3e8c5cf3142f7a3a0417463429450aa0 | 53b06f529051b22ad3d525d46f71a7c4d8f79945 | /global_planner/src/heuristics_manhatten.cpp | 5114bffef1e80885fa455b2d450f896d6a09b3ae | [
"BSD-3-Clause"
] | permissive | tuw-robotics/tuw_global_planner | 05bbebedfe7ca562cd00f489f3350d6f69729500 | 8b53863d4822ead97ec893376bc286199128b885 | refs/heads/master | 2022-12-07T03:27:23.468252 | 2019-09-30T11:52:27 | 2019-09-30T11:52:27 | 62,638,955 | 12 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | heuristics_manhatten.cpp | #include <global_planner/heuristics_manhatten.h>
namespace global_planner
{
float HeuristicsManhatten::CalcHeuristic(double act_x, double act_y, double start_x, double start_y, double end_x,
double end_y, float neutral_cost)
{
// return ((abs(end_x - act_x) + abs(end_y - ... |
1c5f6fc071af69639610a702dc37e5811b4dd16a | e8936a6f012f7575f3065382777785331ce6dc88 | /examples/CustomSerialPort/CustomSerialPort.ino | 8c963ad3dc78c374227808c7b6990bc9853dcd14 | [
"Apache-2.0"
] | permissive | dominpiano/MCreatorLinkArduino | 71d4b1647c859ea605692104fca9b3fbefdf2501 | 89146dcf73255d4ac2bcb929930c42a598f58331 | refs/heads/master | 2023-08-31T05:07:50.231787 | 2021-09-22T13:36:56 | 2021-09-22T13:36:56 | 403,989,663 | 1 | 0 | Apache-2.0 | 2021-09-07T13:30:57 | 2021-09-07T13:30:56 | null | UTF-8 | C++ | false | false | 186 | ino | CustomSerialPort.ino | #include "MCreatorLink.h"
void setup() {
MCreatorLink.setup(Serial2, "Device Name"); // Any hardware serial port can be used in the setup
}
void loop() {
MCreatorLink.loop();
} |
f4af7fdaaa88d02bf599c072c33ed9d65f9a8021 | b906f38539e8f7fcf6c09f8ace2e8f7be6bad0be | /students/2012/pevzner/bytecode/ASTtoByteCodeTranslator.cpp | 883cd58697c54f43d953622798defcebfc47b235 | [] | no_license | nvmd/spbau-mathvm | e2095341d73de403502e55653438d68c0f6eb711 | b50ce4291fe2e5077c2a2023baf23023db20c827 | refs/heads/master | 2021-01-13T01:27:44.439572 | 2013-02-04T01:22:26 | 2013-02-04T01:22:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,145 | cpp | ASTtoByteCodeTranslator.cpp |
#include "ASTtoByteCodeTranslator.h"
namespace mathvm {
ASTtoByteCodeTranslator::ASTtoByteCodeTranslator(Code* code) : code(code){}
ASTtoByteCodeTranslator::~ASTtoByteCodeTranslator() {}
void ASTtoByteCodeTranslator::performTranslation(AstFunction* top) {
createFunMap(top->scope());
}
void ASTtoByteCodeTranslato... |
80fa1d200c37ef2aae0a946767aade1881ede11a | f5b4c6f0ec312cf4fc3daebc7a306f921793f0cd | /src/ui/slider.cc | f3aa5ac227c9bde743a5187b4ea35b22038509ad | [] | no_license | thinkoid/openspace | 2e88bafa79a8d89d5316f8a7b47d3a0ac4ea659c | c7f42aadf9c872a444766a9af9917356fcfb4a9b | refs/heads/master | 2023-02-02T03:46:14.521442 | 2023-01-23T17:19:51 | 2023-01-23T17:19:51 | 148,841,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,417 | cc | slider.cc | // -*- mode: c++; -*-
#include "defs.hh"
#include "assert/assert.hh"
#include "bmpman/bmpman.hh"
#include "gamesnd/gamesnd.hh"
#include "io/timer.hh"
#include "missionui/missionscreencommon.hh"
#include "shared/alphacolors.hh"
#include "ui/ui.hh"
#include "ui/uidefs.hh"
/// DOT_SLIDER class down here
void UI_DOT_SLI... |
ba1c352c339d1734cfe96a52c7934592f79865b9 | d5b08e789fed86ba8a269656bfd8238115395658 | /game.h | 900c5c77ec9515f4fe312017a09573c02a67916e | [] | no_license | donaldong/tic-tac-toe | fdd91a60ebf8b25f66402a0bd0f89bd6f8d4aebb | 33a4bda7740e60a2dcaba3cd27babadf97669309 | refs/heads/master | 2021-05-13T20:34:52.808304 | 2018-01-10T07:49:48 | 2018-01-10T07:49:48 | 116,915,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | h | game.h | /**
* A Tic-Tac-Toe Game
*
* @author Donald Dong (@donaldong)
* @date 01/09/2018
*/
#ifndef TIC_TAC_TOE_GAME_H_
#define TIC_TAC_TOE_GAME_H_
#include <string>
namespace TicTacToe {
class Game {
public:
/**
* Constructor
*
* @param p1 Symbol to represent `Player 1`. Default value is 'X'... |
3cad4003ecf1333a78bfe270104f84de230e3c9f | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/codeforces/A. Noldbach problem.cpp | 83010b56acd43ade0af032cdaf417221b9e295a4 | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | A. Noldbach problem.cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> vi;
int bilangan[1010];
int n,i,j,k,ans;
bool prima[2020];
void sieve(){
for (i=2;i<=1000;i++){
if (!prima[i]){
j=i;
while (j*i<=1000){
prima[j*i]=true;
j++;
}
}
}
for (i=2;i<=1000;i++){
if (!prima[i]){
vi.push_... |
4c4f0f6b63ff4a5150ba23c89ce1d0799179cfce | c9b02ab1612c8b436c1de94069b139137657899b | /sg5/app/test/Proto.cpp | f0b81cd59c8e415519c26a8f5177f4ce646ab0da | [] | no_license | colinblack/game_server | a7ee95ec4e1def0220ab71f5f4501c9a26ab61ab | a7724f93e0be5c43e323972da30e738e5fbef54f | refs/heads/master | 2020-03-21T19:25:02.879552 | 2020-03-01T08:57:07 | 2020-03-01T08:57:07 | 138,948,382 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,896 | cpp | Proto.cpp | /*
* Proto.cpp
*
* Created on: 2015-12-4
* Author: Ralf
*/
#include "Kernel.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include "DataBase.h"
int main(int argc, char *argv[])
{
if(argc < 2)
{
cout<<"need para [p2c p2s p2j j2p]"<<endl;
return 1;
}
string a1 = ... |
7d23849ed8cccecc20f2f176a6daa4e2bce088d2 | 2b7902e99c3061e87ade46baf727b1c557d6ad7c | /DBLPAnalysisMain.cpp | 94f232e2d2c30a68b675e0180935737cf6267bd6 | [] | no_license | rahmtinr/All | 2d80987483eda922762f18afcac371a371bc235d | c8bb7845011296d0d7e06d1ddecdf07b9c16ea61 | refs/heads/master | 2021-01-01T19:21:16.092446 | 2016-01-08T20:02:45 | 2016-01-08T20:02:45 | 24,109,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,229 | cpp | DBLPAnalysisMain.cpp | /*
* DBLPAnalysisMain.cpp
*
* Created on: Feb 9, 2015
* Author: rahmtin
*/
#include<algorithm>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<ctime>
#include<fstream>
#include<iostream>
#include<iomanip>
#include<map>
#include<set>
#include<sstream>
#include<string>
#include<v... |
552ec5cad86c09df3dd872c326c0e733b4ca480b | 8d886c7b3ecbc475c4ca8958233cc2be965b3a6b | /Projects/RendererDX12/Headers/Level 2/BaseCommandQueue.h | f5e871cfafd3b29279c423da7d552afaa3282dbe | [] | no_license | XeroKimo/DX12-Attempt2 | a29d4e08a004fb1a09579825996cbe85d5df77b2 | 896e47adec29f39d38e2d1925ba5983c38029766 | refs/heads/master | 2020-07-23T10:57:17.587825 | 2019-11-12T22:07:31 | 2019-11-12T22:07:31 | 207,533,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | h | BaseCommandQueue.h | #pragma once
#include "DX12Header.h"
#include "Level 1/Fence.h"
namespace RendererDX12
{
class BaseDevice;
class BaseCommandQueue
{
public:
BaseCommandQueue(BaseDevice* device, D3D12_COMMAND_LIST_TYPE commandListType);
UINT64 Signal();
UINT64 Signal(Fence* fence);
void ... |
f628338799cbbd0db321d9a5a61102c4fd1584f1 | e9b829a401af7ca2eab73420eddd9cb7cd271e37 | /TestProject1/Intermediate/Plugins/NativizedAssets/Android/Game/Source/NativizedAssets/Private/SaveData__pf1234790197.cpp | ec084eced35b9129fca47e6d57c775487278e0f1 | [] | no_license | Jableman19/StutterSpeak | 1246b126f4d864e45853f41d01a5a23f676f7561 | 40c5c009d7169e87e2d3215ee36f6d9184a2cb19 | refs/heads/main | 2023-07-13T16:15:10.277263 | 2021-08-19T16:46:47 | 2021-08-19T16:46:47 | 368,318,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,500 | cpp | SaveData__pf1234790197.cpp | #include "NativizedAssets.h"
#include "SaveData__pf1234790197.h"
#include "GeneratedCodeHelpers.h"
#include "Runtime/CoreUObject/Public/UObject/NoExportTypes.h"
#include "Attempt_Struct__pf3774553483.h"
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable : 4883)
#endif
PRAGMA_DISABLE_DEPRECATION_WARNINGS
... |
73fcfcae8341c0f66c0038d8c642e8c6710044af | 65190668807835616e6ca0f8e9651caea65b2df2 | /entree_sortie.cpp | 92e144b3da5e21ffa397b3fb15438ac87634b9a2 | [] | no_license | nesrinebenamor/QT-ERP | a0e602958e26496b4a89ee8dbecf6d7e7edf1591 | 674f79bed508db522c82dc1a5e56e1642fb00eb3 | refs/heads/master | 2020-07-23T18:52:50.353232 | 2019-09-10T22:59:01 | 2019-09-10T22:59:01 | 207,673,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | entree_sortie.cpp | #include "entree_sortie.h"
#include "ui_entree_sortie.h"
#include "articlehorsstock.h"
#include"affichcommande.h"
#include"int_pass_comm_fou.h"
Entree_Sortie::Entree_Sortie(QWidget *parent) :
QDialog(parent),
ui(new Ui::Entree_Sortie)
{
ui->setupUi(this);
}
Entree_Sortie::~Entree_Sortie()
{
delete ui;... |
692233a5e0a4e9be53ccb7a3480e28d5f4eee3b0 | 6e764aef961ced2cde30ae089acb18dd809a90c1 | /uva/codes/Little masters.cpp | 91862a1b2d7753d360db41a4f9ed119269670815 | [] | no_license | SihabSahariar/competitive-programming | 34ba818d8f65707c3cb1822c0820b96eee54f28f | 946983e0bf7270a2eccfd7ae8d739746aac825da | refs/heads/master | 2020-07-26T01:36:22.157424 | 2015-10-31T09:04:19 | 2015-10-31T09:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | Little masters.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int tc,x,y,r;
double min,max;
cin>>tc;
while(tc--)
{
cin>>x>>y>>r;
if(x==r || y==r)
{
min=0;
max=r*2;
}
else if(x==0 && y==0)
{
min=r;
max=r;
}
else
{
min=r-sqrt((x*x)+(y*y));
max=r+sqrt((x*x)+(y*y));
}
pr... |
ed5d7a49d02aa6b82c8b484290e8e03d0dc2ed38 | 20cf6482b7f5a68bd0029414c02f7ec4747c0c5f | /triton2/server/gateserver/worldlogic/src/mailservice.cpp | 05dccbc861c65d494098303b9aeef2b99f609df6 | [] | no_license | kensniper/triton2 | 732907c76c001b2454e08ca81ad72ace45625f6c | 7ad2a359e85df85be9d87010047a198980c121ae | refs/heads/master | 2023-03-23T02:20:56.487117 | 2017-02-26T00:00:59 | 2017-02-26T00:00:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,265 | cpp | mailservice.cpp | #include "mailservice.h"
#include "gateobj_manager.h"
#include "gatelogic.h"
#include "servermessage_in.h"
#include "nameservice.h"
#include "core_service.h"
using namespace GateServer;
template<> CServiceGateMail* CSingleton< CServiceGateMail >::spSingleton = NULL;
void CServiceGateMail::OnLaunchServer()
{
}
void... |
69c0eb1fe6f5573fa84941e12b80179776e21bd6 | 4e854be4304f1170d6ce002c19a86689068726fb | /Classes/Battle/Player.cpp | 31dbdfc953bedf0e9304f40087782f0cb934b86f | [] | no_license | kerasking/BlackWings | 23900bbc05f2a176fd7f78f4d07740c586ff2bfb | 6ccd2a457900fcada41fc683918d0a0810d5ab7b | refs/heads/master | 2021-05-28T09:17:47.522572 | 2014-07-05T13:36:02 | 2014-07-05T13:36:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | Player.cpp | #include "Player.h"
USING_NS_CC;
Player::Player()
{
_anchorPoint = Point::ANCHOR_MIDDLE;
}
Player::~Player()
{
} |
7f386834d0070d8bc36e19b35bcc23ee8b039805 | cca5d29c6e20746747cb52699db12936f7d3f778 | /Project 4.2.cpp | bc3e15bcb558bddda9fe72a01efb531b1a769fa6 | [] | no_license | NazarKuziv/Lab-4.2 | c13c8199080e7652a643502fad35eaea8bddc87c | 5a77aaab3062453f201cff182f41a1c2ff4275be | refs/heads/main | 2023-01-04T06:23:29.277204 | 2020-10-31T08:40:53 | 2020-10-31T08:40:53 | 308,838,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | cpp | Project 4.2.cpp | // Lab_04_2.cpp
// < Кузів Назар >
// Лабораторна робота № 4.2
// Табуляція функції, заданої формулою: функція однієї змінної
// Варіант 6
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main()
{
double x, xp, xk, dx, A, B, y;
cout << "xp = "; cin >> xp;
cout << "xk = "; cin >... |
8d330f77f3f39c43c7cfd2752a2e2fd9befe80e8 | eb95af611f23b7cc6311035de44475bdcaecc2c5 | /tc/testprograms/RaceApproximator.cpp | 1bb9e9e892b23c8f44a9467dfbbbc4fb28f62265 | [] | no_license | biswanaths/competition | a0f0dc1781a9cf5354f9c26932015bf1d22c8992 | 1a46f12be90c5b6866a9347bb79dc91a240b5b48 | refs/heads/master | 2023-03-07T11:56:55.485722 | 2023-02-24T09:05:44 | 2023-02-24T09:05:44 | 31,366,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,367 | cpp | RaceApproximator.cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cst... |
cb10873e848361c473061e4c875f80652b8e9fed | fba86303de0c371bf0d7dd7f94850653ed0c6848 | /physics/filter_callback.hpp | 2785d2d8b31d8936270410384c1ef1f071dd704b | [] | no_license | pmiddend/insula | 2499ab74305a6f026a2e6543b5c2422016173249 | 84a67f32bc43deb53d240852859dd68bbe95dfe5 | refs/heads/master | 2021-01-25T04:57:52.767077 | 2010-10-23T18:51:04 | 2010-10-23T18:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | hpp | filter_callback.hpp | #ifndef INSULA_PHYSICS_FILTER_CALLBACK_HPP_INCLUDED
#define INSULA_PHYSICS_FILTER_CALLBACK_HPP_INCLUDED
#include <BulletCollision/BroadphaseCollision/btOverlappingPairCache.h>
namespace insula
{
namespace physics
{
class filter_callback
:
public btOverlapFilterCallback
{
public:
explicit
filter_callback(
btOverl... |
b5cb1cc9e555f4b9d7eb8cdb6d2231df187163ea | c28a6f2c8ce8f986b5c22fd602e7349e68af8f9c | /android/device/realtek/proprietary/libs/libRTKExtractor/RTKExtractor/Filters/NavigationFilter/InputHDMV/Common/SysUtils/SonicCounter.h | a8c1212d6f59a64d24140966c45b652f01abf3d6 | [] | no_license | BPI-SINOVOIP/BPI-1296-Android6 | d6ade74367696c644a1b053b308d164ba53d3f8c | 1ba45ab7555440dc3721d6acda3e831e7a3e3ff3 | refs/heads/master | 2023-02-24T18:23:02.110515 | 2019-08-09T04:01:16 | 2019-08-09T04:01:16 | 166,341,197 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | h | SonicCounter.h | //-----------------------------------------------------------------------------
// SonicCounter.h
// Copyright (c) 2004-2006, Sonic Solutions. All rights reserved.
//-----------------------------------------------------------------------------
#ifndef __SonicCounter_h__
#define __SonicCounter_h__
#include "SystemHea... |
e173a83e5fa6e708336888a1ce22358534c39ef2 | ea277515f57126128226d1a2af1bb63ab584fb49 | /src/ppl/common/file_mapping.cc | c8584a2ae7ee9af485280b361e6899e312090f3f | [
"Apache-2.0"
] | permissive | Si-XU/ppl.common | df86ecabf4b4f636d81074954d5c42f577f29768 | b40deef0d189f7e973f744a81f4ccdaaea351e36 | refs/heads/master | 2023-07-28T00:49:05.756733 | 2021-09-15T07:56:19 | 2021-09-15T09:13:02 | 406,662,306 | 0 | 0 | Apache-2.0 | 2021-09-15T07:47:50 | 2021-09-15T07:47:49 | null | UTF-8 | C++ | false | false | 3,683 | cc | file_mapping.cc | // 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... |
61f811b5287e6673a2e94da70274df579299067b | 94db305f0054b598e73e6a7507f4a5ff0222828d | /communication.cpp | 40f240f0eb6b533c121f47585190c1d9ced8c760 | [] | no_license | asmundur31/Kattis | 8489a63b55b9798c8078600d057f3ff1593d0ca0 | 8dbbe6684ac066e5d484a090384b9a889f77b330 | refs/heads/master | 2022-09-11T02:01:07.438522 | 2020-05-30T17:20:28 | 2020-05-30T17:20:28 | 266,174,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | communication.cpp | #include<iostream>
#include<string>
#include<math.h>
using namespace std;
int main(){
int n;
cin>>n;
int dul;
string dulmal="";
string utkoma="";
int veldi;
int len=0;
int fjoldi1=0;
int summa=0;
for(int i=0; i<n; i++){
cin>>dul;
veldi=floor(log2(dul));
while(dul>0){
if(dul>=pow(2,... |
d87fc060269c4a49a793143610994dcdf1ea817f | 22644ff78131c6bb8eda5acaabbc8359c18ab97b | /EV/SimpleFastCalculator.h | 0519a23c8f17778a3e1c45bd93c12abacf00a916 | [
"Apache-2.0"
] | permissive | HenryRLee/Blackjack | 9534d44b376b864664d214f4fb3b9d524db3c87c | afdde953f2d1ea2b00219a4aa9e52e4141bab858 | refs/heads/master | 2021-01-10T17:49:57.334593 | 2016-03-08T05:29:45 | 2016-03-08T05:29:45 | 53,384,512 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,161 | h | SimpleFastCalculator.h | /*
* Copyright 2016 Henry Lee
*
* 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 or agreed... |
a9d96db218ea007db6ad06f6a861ad1370ad7593 | e00da785f779f26451ddb17451b65a837b8a61c3 | /BMI.cpp | a4d7424716a32e3712e8db6d751712ddf25dcb65 | [] | no_license | tshu36/lab2 | 47c1b06d475126f1c243c9d779e5734dc98a0c39 | fd37ef9f140719c0a19c63bc6ed095bab191bfa4 | refs/heads/master | 2021-01-10T03:02:17.959871 | 2016-03-22T06:17:23 | 2016-03-22T06:17:23 | 54,447,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | BMI.cpp | #include"lab2BMI.h"
float BMI::get(float a,float b){
BMI=b/((a/100)*(a/100));
return theirBMI;
}
|
16c65ffab01f28ce9572daf7b6dc81e162271fbb | ea7b371eb51a25ccb693acd9e09238048f19648c | /Game/Source/AirEnemy.h | f24193bb4de0878429e34965e863c1dd4e6d01cc | [
"LicenseRef-scancode-unknown-license-reference",
"CC0-1.0",
"MIT"
] | permissive | KuronoaScarlet/PlatformerGame | ec78a9ae5fe92f6bab128d366812eb965801d1c8 | 94577751f1d029454c9b6c0ec5e1b30f17520188 | refs/heads/master | 2023-02-11T07:30:59.387239 | 2021-01-10T19:26:00 | 2021-01-10T19:26:00 | 301,386,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | AirEnemy.h | #ifndef _AIRENEMY_H_
#define _AIRENEMY_H_
#include "Point.h"
#include "Entity.h"
#include "Animation.h"
#include "DynArray.h"
#include "Timer.h"
struct SDL_Texture;
struct Collider;
class AirEnemy : Entity
{
public:
AirEnemy(Module* listener, fPoint position, SDL_Texture* texture, Type type);
bool Start();
boo... |
cd78ea045f6f4d11101d904ddbb62436d5e4a4f1 | e50ef9e5a7635f7e7a324b4dc1c64d85cbe88202 | /49.cpp | eff987a3c3899ab1e799bb66300b88cdd609ded0 | [] | no_license | kellina/exercicios-c- | a848801d3a9ed2e08067e07f2a8752501920407a | abe2aee8b67b93076b220a13cdea69305fb71f37 | refs/heads/master | 2022-07-11T13:43:05.071684 | 2020-05-13T20:37:05 | 2020-05-13T20:37:05 | 261,876,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | cpp | 49.cpp | #include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "Portuguese");
int num_pes, num_pes_total, audienc_4, audienc_5, audienc_7, audienc_13;
int num_canal;
char tv;
num_pes = num_pes_total = audienc_4 = audienc_5 = audienc_7 = audienc_13 = 0;
do {
cout << "Quantas pessoas há na ca... |
9bdbf3970865c70ecc6d4932fbec3f9f4f0b2e11 | 1b0aadb6dc881bf363cbebbc59ac0c41a956ed5c | /xtk/Samples/Ribbon/RibbonSample/ScrollRichEditView.cpp | 395d16615deacd9d71ca2b1bef7ab22c8c7dedd0 | [] | no_license | chinatiny/OSS | bc60236144d73ab7adcbe52cafbe610221292ba6 | 87b61b075f00b67fd34cfce557abe98ed6f5be70 | refs/heads/master | 2022-09-21T03:11:09.661243 | 2018-01-02T10:12:35 | 2018-01-02T10:12:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,541 | cpp | ScrollRichEditView.cpp | // ScrollRichEditView.cpp : implementation file
//
#include "stdafx.h"
#include "ribbonsample.h"
#include "ScrollRichEditView.h"
#include "WorkspaceView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////... |
c8db67ea6e007aa13a51ec28799fc3d708b2f004 | 270bdeffdce9ff782fe8f8755b049a592d8575b8 | /RayCasting/RayCasting/deps/vecmath/include/Matrix2f.h | c93f156bfa21b3c4993ac3a691066a610488b91d | [] | no_license | OldNew777/PathTracing | cef9140fabaaaa209cd9253a359a654fd4e6196f | c55e92c9fbd5070de247dee63f775a234284c0c9 | refs/heads/master | 2023-07-18T02:04:19.775592 | 2021-08-26T11:40:44 | 2021-08-26T11:40:44 | 357,956,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | h | Matrix2f.h | #ifndef MATRIX2F_H
#define MATRIX2F_H
#include <cstdio>
class Vector2f;
// 2x2 Matrix, stored in column major order (OpenGL style)
class Matrix2f
{
public:
// Fill a 2x2 matrix with "fill", default to 0.
Matrix2f( double fill = 0.f );
Matrix2f( double m00, double m01,
double m10, double m11 );
// setColum... |
453c3d991aae0440d07b170c4b1a805ff43bd2df | ace28e29eaa4ff031fdf7aa4d29bb5d85b46eaa3 | /Visual Mercutio/zModel/PSS_SerializeODMeasure.h | 5b6d0a3d17243738105cbc3315a506ee4431d296 | [
"MIT"
] | permissive | emtee40/Visual-Mercutio | 675ff3d130783247b97d4b0c8760f931fbba68b3 | f079730005b6ce93d5e184bb7c0893ccced3e3ab | refs/heads/master | 2023-07-16T20:30:29.954088 | 2021-08-16T19:19:57 | 2021-08-16T19:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | h | PSS_SerializeODMeasure.h | /****************************************************************************
* ==> PSS_SerializeODMeasure ----------------------------------------------*
****************************************************************************
* Description : Provides an Objective View component measure serializer *
* Devel... |
23dd20e8913a42c0195d17badb3d132383730f25 | 44a3292b4527f730d86aee814188f7a13a318fed | /src/old/modelGravityTimeInfExpCaves.hpp | 396fec608c677c32ce047ac4b5b5817836c7b341 | [] | no_license | nickjmeyer/spatioTemporalDecisions | feac282f03a3891b505fd7b8d8c19deddc68a713 | 2ed0bc9b13abe7de65e4dd05ff7a52ca80fb337b | refs/heads/master | 2021-05-04T03:30:03.645599 | 2018-01-21T16:31:11 | 2018-01-21T18:49:31 | 71,376,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,007 | hpp | modelGravityTimeInfExpCaves.hpp | #ifndef MODEL_GRAVITY_TIME_INF_EXP_CAVES_HPP__
#define MODEL_GRAVITY_TIME_INF_EXP_CAVES_HPP__
#include <armadillo>
#include <cmath>
#include <gsl/gsl_multimin.h>
#include "data.hpp"
#include "timer.hpp"
#include "settings.hpp"
#include "model.hpp"
#include "modelParamGravityTimeInfExpCaves.hpp"
#include "mcmcGravityT... |
6aad094de7ef1546cab6316c975a3c57648892ae | 312f42d4a9ae1e955aaf33d1b5b27fcc43b67ac6 | /Tareas/T3/ArbolB.h | 36d9f2e772771c01f9526ef11147d02d69b4c44e | [] | no_license | Herberth3/EDD20S2-201504464 | 9469e0dacc127de0ffdbb97ad8b39be7861cff2d | d3aaf131c19206b45f0754526225e2584b5a421e | refs/heads/master | 2022-12-25T01:56:32.553001 | 2020-10-05T04:10:37 | 2020-10-05T04:10:37 | 284,610,781 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,193 | h | ArbolB.h | #ifndef ARBOLB_H
#define ARBOLB_H
#include "Pagina.h"
class ArbolB
{
public:
ArbolB()
{
orden = 0;
raiz = 0;
}
ArbolB(int m)
{
orden = m;
raiz = 0;
}
bool arbolBvacio()
{
return raiz == 0;
}
Pagina* Oraiz(){ return raiz;} //Obtener la raiz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.