blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
85e5c82ef875ed2257b64511cca848fe39f91441 | 430c6c11d9c6e4d9fda07454dfc84c26f7feccf7 | /MagnetometerWorking.ino | 30453f83dc5a2e7ae42b751dc0837d40a8e45f91 | [] | no_license | GDBhatti/Vyadh | 95a5b5f1234d0065fe8081182639eede8034e788 | 1acd776859975c75e124c7cef6841698f162b74d | refs/heads/master | 2020-04-24T18:17:54.703517 | 2019-02-23T11:08:09 | 2019-02-23T11:08:09 | 172,175,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | ino | #include <QMC5883L.h>
#include <Wire.h>
QMC5883L compass;
void setup()
{
Wire.begin();
compass.init();
compass.setSamplingRate(50);
Serial.begin(9600);
Serial.println("QMC5883L Compass Demo");
Serial.println("Turn compass in all directions to calibrate....");
}
void loop()
{
int heading = c... | [
"noreply@github.com"
] | GDBhatti.noreply@github.com |
bc317a3ad410b3b3a09610374e419b706d1cab89 | 2eb3b66b421a1f4a18bcb72b69023a3166273ca1 | /HackerRank/june-world-codesprint/equal-stacks/main.cc | 06689b348b2861d57f09580ced00f4aca4690807 | [] | no_license | johnathan79717/competitive-programming | e1d62016e8b25d8bcb3d003bba6b1d4dc858a62f | 3c8471b7ebb516147705bbbc4316a511f0fe4dc0 | refs/heads/master | 2022-05-07T20:34:21.959511 | 2022-03-31T15:20:28 | 2022-03-31T15:20:28 | 55,674,796 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,321 | cc | #include <functional>
#include <list>
#include <string>
#include <vector>
#include <climits>
#include <cstring>
#include <map>
#include <queue>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <set>
#include <deque>
#include <stack>
#include <cassert>
using namespace std;
#define FOR... | [
"johnathan79717@gmail.com"
] | johnathan79717@gmail.com |
440357e016f584b21f4571d74fa6cdc66e93bec5 | e1af8595dd988696877baee8b9b72e745dce28c7 | /src/controller/include/controller/example_controller.h | fc953875db50b99d3ea8ec84264ec3a72b391712 | [] | no_license | zhaojt17/ROS_sonata8 | 04087f0dd272d52f359ec82aa0374e0917b74d4f | 71198d5baa3ac7043dcb1a7d417a7b2f2ee064d2 | refs/heads/master | 2020-07-19T14:35:17.697136 | 2019-09-16T03:36:07 | 2019-09-16T03:36:07 | 206,466,010 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | h | #ifndef _EXAMPLE_CONTROLLER_H_
#define _EXAMPLE_CONTROLLER_H_
#include "controller/controller.h"
class example_controller :public controller{
public:
private:
};
#endif | [
"zhaojt17@mails.tsinghua.edu.cn"
] | zhaojt17@mails.tsinghua.edu.cn |
b0fad5e2fbe920585156901fcf8c08670ac8443a | b12bcb039791d3523a410522403230f5404fd8de | /Training/E策略模式/HealthCalcFunc.h | 4a42c98f4c95fbe2ef38a898556170fbcabe3fff | [] | no_license | cool-cola/leetcode | dee3bde66661d467c5a9bed4d59f765f83e9ad77 | a8b9eb879a2e88d1ce7dce71baccee1ad772a797 | refs/heads/master | 2021-01-11T03:05:27.480822 | 2017-03-09T07:54:11 | 2017-03-09T07:54:11 | 71,098,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | h | #pragma once
#include "GameCharacter.h"
class CGameCharacter;
class CHealthCalcFunc
{
public:
virtual int calc(const CGameCharacter& gc) const
{
int retVal = 1;
return retVal;
}
}; | [
"1173573041@qq.com"
] | 1173573041@qq.com |
0db0d34757635085eeae3333d7874e017d226370 | ecf9ec6452867ddc284284f8415fcc597f93568a | /linked_list/19_Remove_Nth_Node_From_End_of_List/Solution.h | 22336495f13b06a61c42e96bd8747105126242ab | [
"Apache-2.0"
] | permissive | IncludeLau/leetcode | 5552c828e23d1a52321479aa86a89b04d5446f34 | f10fbdd3fca1b869fea8af55077cee5468e4ad1d | refs/heads/master | 2020-03-22T18:16:50.722196 | 2018-07-31T05:15:01 | 2018-07-31T05:15:01 | 140,448,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | h | /*
给定一个链表,删除链表的倒数第 n 个节点,并且返回链表的头结点。
示例:
给定一个链表: 1->2->3->4->5, 和 n = 2.
当删除了倒数第二个节点后,链表变为 1->2->3->5.
说明:
给定的 n 保证是有效的。
进阶:
你能尝试使用一趟扫描实现吗?
*/
#ifndef LEETCODE_SOLUTION_H
#define LEETCODE_SOLUTION_H
#include "../ListNode.h"
class Solution {
public:
/**
* 两遍扫描
* @param head
* @param n
*... | [
"liuxjb@jiedaibao.com"
] | liuxjb@jiedaibao.com |
fdaae4a0e3b467a6823b8d084305c887fad228ea | d864aee02bc9e3588d8e70c708448374fb2387aa | /HDU/FinIsh/p2099.cpp | 8a330ec10cd68c2b2a92c7e9497406e5be4cd3e0 | [] | no_license | BanSheeGun/Gun | 075ebf62891a0ab4db6ff5ca13e1ae0644248119 | 8a046a9c3eb56fb5e87897343f383253b1736694 | refs/heads/master | 2021-01-17T00:18:41.834830 | 2018-03-18T06:32:04 | 2018-03-18T06:32:04 | 44,953,535 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include<iostream>
#include<memory.h>
using namespace std;
int main(){
int a,b,i,top;
scanf("%d%d",&a,&b);
bool p[100];
while (!((a==0)&&(b==0))){
memset(p,0,sizeof(p));
top=0;
for (i=0;i<=99;++i){
if ((a*100+i)%b ==0){
p[i]=1;
top=top+1;
}
}
for (i=0;i<=99;++i){
if... | [
"ccp750707@126.com"
] | ccp750707@126.com |
33791a49587cba1c3ceee61588ee39ba465c9858 | a411a55762de11dc2c9d913ff33d2f1477ac02cf | /lte/gateway/c/core/oai/tasks/nas5g/src/ies/M5GQosFlowParam.cpp | 4cc355b2ecaeada7a2cf3e1ecc26e1cad9a965e7 | [
"BSD-3-Clause"
] | permissive | magma/magma | 0dc48c1513d9968bd05fb7589f302c192b7c0f94 | 0e1d895dfe625681229e181fbc2dbad83e13c5cb | refs/heads/master | 2023-09-04T09:31:56.140395 | 2023-08-29T13:54:49 | 2023-08-29T13:54:49 | 170,803,235 | 1,219 | 525 | NOASSERTION | 2023-09-07T17:45:42 | 2019-02-15T04:46:24 | C++ | UTF-8 | C++ | false | false | 9,971 | cpp | /*
Copyright 2022 The Magma Authors.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHO... | [
"noreply@github.com"
] | magma.noreply@github.com |
fa21c0917010478fb798b7d2ad0e48bd0068cefc | 8cd1360b1b51912feed056c50596f59a0acbcbac | /BOJ_10420.cpp | 98f590375a1893d95834b647b8c644519eee19eb | [] | no_license | evga7/Practice_Algorithm_01 | 9b3ea1c48594cda7242c85036abed6621c2825b7 | c6bf370926f517b4454f5990671df6c1abc03414 | refs/heads/master | 2021-09-24T09:53:30.729444 | 2021-09-16T10:51:49 | 2021-09-16T10:51:49 | 201,005,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <set>
#include <map>
using namespace std;
int days[13] = { 0,31,28,31,30,31,30,31,31,30,31,30,31 };
int main()
{
int N;
int year = 2014;
int month = 4;
int day = 1;
scanf("%d", &N);
while (1)
{
if (N == 0)
break;
if ((year % 4 == 0 && year %... | [
"evga7@naver.com"
] | evga7@naver.com |
d8eb43b234844a39e4e19fbed560cd3c12c481ef | 3a45d5885b40b7d48051362f1983b55073a042e1 | /src/Pokemon.cpp | 9b6837cfc5c7d1952a7e2d2d93aded064cf4bdd9 | [
"MIT"
] | permissive | THancock810/PokeBlue | 6f9283bf47b92c73d17b411e434a0cdffc19ca6e | 677d4fe611f3b132018980db307b7e3ef7932048 | refs/heads/master | 2023-08-07T04:47:33.684086 | 2021-10-08T21:57:27 | 2021-10-08T21:57:27 | 413,972,515 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,645 | cpp | #include "Pokemon.h";
#include <stdlib.h>
#include <time.h>
#pragma once
Pokemon::Pokemon(short _dexNum, short _level, string _nickname) {
srand(time(0));
switch (_dexNum) {
case 1:
//bulbasaur
this->name = "Bulbasaur";
this->baseStats = { 45, 49, 49, 65, 65, 45 };
this->yieldEVs = { 0, 0, 0, 1, 0 , ... | [
"tommoocow@gmail.com"
] | tommoocow@gmail.com |
fc062101c173c49fc5dcd731c7047e89146576e9 | 091afb7001e86146209397ea362da70ffd63a916 | /inst/include/nt2/constant/constants/fact_4.hpp | dd37c7f83bcec261a61d5c00b937be737290261f | [] | no_license | RcppCore/RcppNT2 | f156b58c08863243f259d1e609c9a7a8cf669990 | cd7e548daa2d679b6ccebe19744b9a36f1e9139c | refs/heads/master | 2021-01-10T16:15:16.861239 | 2016-02-02T22:18:25 | 2016-02-02T22:18:25 | 50,460,545 | 15 | 1 | null | 2019-11-15T22:08:50 | 2016-01-26T21:29:34 | C++ | UTF-8 | C++ | false | false | 1,140 | hpp | //==============================================================================
// Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | [
"kevinushey@gmail.com"
] | kevinushey@gmail.com |
b0851dfc80b707c0b933d769689387d19ac02bbf | 948e7147f1bb9b3443674f58f376345999e23229 | /Evidencia 5.2 Hash/Evidencia 5.2 Hash/Hash.h | 6bde96f6e2535766160d57a4b8f0a321af4f50d2 | [] | no_license | JSebastianNeira/EstructuraDeDatos | 703a72c4f951eb213a8fd9c2d41bdab35fcec2fd | 7875a839df28e491e091342b3bc5b31df6c5aed8 | refs/heads/main | 2023-01-23T19:35:59.298296 | 2020-12-07T01:08:27 | 2020-12-07T01:08:27 | 319,166,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,931 | h | //
// Hash.h
// Evidencia 5.2 Hash
//
// Created by Sebas Neira Gzz on 06/12/20.
// Copyright © 2020 Sebas Neira Gzz. All rights reserved.
//
#ifndef Hash_h
#define Hash_h
#include <vector>
#include <string>
#include <math.h>
using namespace std;
class Hash{
private:
vector<string> table;
vector<int> sta... | [
"noreply@github.com"
] | JSebastianNeira.noreply@github.com |
1d2a393ec9cbcc3fcbc78c2471bc154213c4611d | a28db477f72c68d4419839d0048bf617e3631074 | /Problems/322_Coins change/dp.cpp | d74a0d16d1fe05b0a8adc14829ff8ab8da905653 | [] | no_license | wolvestotem/LeetCode | 20f2eceeb1622367417ba278f885407b1dd8214b | 0d58dac8916ac86fd1160823a109cf1b95e48949 | refs/heads/master | 2023-08-10T19:34:19.328932 | 2021-01-18T06:58:49 | 2021-01-18T06:58:49 | 217,658,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | #include"../leetcode.h"
class Solution {
public:
int coinChange(vector<int>& coins, int amount) {
if(coins.empty()) return -1;
vector<int> table(amount+1,INT_MAX);
table[0]=0;
for(int i=1;i<=amount;i++){
int min_ = INT_MAX;
for(auto c:coins){
... | [
"hazechen36@gmail.com"
] | hazechen36@gmail.com |
efa5e6d2fdf58b0bd41b8b53a213292eeacefde3 | d3b25341d274ce4e1d8144ffa0bea0af583afd4e | /cyaSSDK/GMSSDK/include/GMSdkSession.h | 799828404141c028b51410df4ab0a462ee098f07 | [] | no_license | zwong91/cyaServer | c0a383a44cb0267c8983c9e8426c3e614bda3531 | 721e91268ac7db86bc606534c78b1eca74a222e5 | refs/heads/master | 2020-04-26T05:20:22.916718 | 2017-12-08T03:20:38 | 2017-12-08T03:20:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,106 | h | #ifndef __GM_SDK_SESSION_H__
#define __GM_SDK_SESSION_H__
#include "cyaTcp.h"
#include "GMProtocal.h"
class CGMSdkHelper;
class GMSdkSesssionMaker : public ICyaTcpSessionMaker
{
public:
GMSdkSesssionMaker();
~GMSdkSesssionMaker();
virtual int GetSessionObjSize();
virtual void MakeSessionObj(void* session);
};
c... | [
"haiyhe1991@163.com"
] | haiyhe1991@163.com |
c63364e36b469dd02e6bfa39dbc39543c451e37f | 34f1d5efff40e88b1ea7ad2d1ae336cdad1d2d93 | /cpp/study/circumference.cpp | 9c2d182ddc020fc25c8f7e077bc6c6d9c2604aa3 | [] | no_license | jacques-twizeyimana/codes | 228e8e3dd5cf135a294cf72553fabb9f69d8de55 | d47a4294d2e0d711b02bd631dae0c7e0ee34c6f3 | refs/heads/main | 2023-06-09T21:31:08.818584 | 2021-06-30T18:00:28 | 2021-06-30T18:00:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | #include<iostream>
using namespace std;
int main(int argc, char const *argv[])
{
const double PI=3.14159265;
float circ,r,area;
cout<<"Enter the radius of the circle\n";
cin >> r;
circ = r * 2* PI;
area = r * r * PI;
cout << "The circumference of circle with radius of " << r << " is " << c... | [
"="
] | = |
675bd094f6d3ea88c435dc22613f76a093ade1f2 | 8b61485e21700c4579650e0736c1fba07173d614 | /MovieDataFetcher/NotImplementedException.h | b08752f9efd2a74008f82940d44e3c1f94f0763c | [] | no_license | angelvmx/movie-manager | 8868141fa8b94b02cc1cf6130881e89b80b62aa4 | b2078f67eb1284a61ed13153a889254d115eeabb | refs/heads/master | 2020-07-27T18:25:42.547144 | 2019-10-13T17:15:42 | 2019-10-13T17:15:42 | 209,185,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | h | #pragma once
#include <stdexcept>
class NotImplementedException : public std::logic_error
{
public:
NotImplementedException() : std::logic_error("Function not yet implemented") {};
}; | [
"vargas.angel.112@gmail.com"
] | vargas.angel.112@gmail.com |
8e89583145ba108ee61ecb33309aa17123479b45 | b27a0ef18ffe42f4e601da55e1ba6b61cc0deccf | /intersection/IntersectionUI.cpp | 501acf7dd5763011ef4c7593b21fa53f72891497 | [] | no_license | cogle/Computer-Graphics-CSE_452- | 8c8b0782f2e413b8c5f7fd472f1158262da92b76 | 8555d8ca92fec60bf2b46b145b995cb62cbd8270 | refs/heads/master | 2021-01-01T05:41:30.953004 | 2015-04-20T04:03:21 | 2015-04-20T04:03:21 | 29,278,761 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,397 | cpp | #include "../cse452.h"
#include "IntersectionInterface.h"
#include "HitRecord.h"
#include "../shapes/ShapesUI.h"
#include <FL/Fl.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Check_Button.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Slider.H>
#include <FL/Fl_Value_Input.H>
#include <FL/gl.h>
#incl... | [
"thecogle@gmail.com"
] | thecogle@gmail.com |
dcaf6ec1e894d4037332982effe2921232f53b8a | c8b22b02e6a6c88c5b03cd869839f24beda4c2e3 | /dm06_链表_从尾到头打印链表.h | bd6274431576b7634a777240a906f00727736b99 | [] | no_license | czopg/SwordToOffer | 881b5b129652c2840250af1ec97cdbc3f1d30afb | a463b06ebdbc618b411393a943733d8a763c2ea3 | refs/heads/master | 2020-07-31T04:42:50.531126 | 2019-09-24T02:24:07 | 2019-09-24T02:24:07 | 210,487,893 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 697 | h | #pragma once
#include <stack>
// 单链表
struct ListNode
{
int m_nKey;
ListNode* m_pNext;
};
// 后进先出 使用栈
void printListReversingly(ListNode* pHead)
{
std::stack<ListNode*> nodes;
ListNode* pNode = pHead;
while (pNode != nullptr)
{
nodes.push(pNode);
pNode = pNode->m_pNext;
}
while (!nodes.empty())
{
pNo... | [
"zhangsan@gmail.com"
] | zhangsan@gmail.com |
6b452e9d4a96d7a6af0dc43bfe2e55b6790be593 | 1890f03be2d6515fcc8da5deebb40c06c564f3e5 | /src/System/TcpStream.cpp | 3bb3b66ff116497c359e4129921a083494a9be51 | [
"MIT"
] | permissive | sunnymiesta/mask-cata | a78c2ed47251b12fde72ca27fa2cd228419f2d6e | 70d57a383dc67f7f875369bf0421e312caa68488 | refs/heads/master | 2020-03-19T12:52:59.289279 | 2018-06-09T03:05:13 | 2018-06-09T03:05:13 | 136,547,109 | 0 | 0 | null | 2018-06-08T00:51:34 | 2018-06-08T00:51:34 | null | UTF-8 | C++ | false | false | 2,556 | cpp | // Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2014-2017 XDN developers
// Copyright (c) 2016-2017 BXC developers
// Copyright (c) 2017 Royalties developers
// Copyright (c) 2018 [ ] developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http:/... | [
"root@nur1abs.nur1labshq.net"
] | root@nur1abs.nur1labshq.net |
a1ba69e1956f51982d88eb3b1046a90a11e43670 | 0d122b5520608327421349d1c9d1164b0c753d62 | /tinhsnbang1den1phann.cpp | f85ce3a09a44957b143d5c07d715bb95e11b7d25 | [] | no_license | jthanh8144/CPlusPlus | 91d292e7e9ba8af676976187a272df4acd081c0f | 658206048c63f1ec6b25251a486d29b546271ffa | refs/heads/main | 2023-08-18T15:18:30.021203 | 2021-09-13T11:07:14 | 2021-09-13T11:07:14 | 400,983,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include <stdio.h>
main(){
int n,i;
float s=0;
printf("Nhap so nguyen duong n = ");
scanf("%d",&n);
for (i=1;i<=n;i++) s+=1.0/i;
printf("Ket qua: %0.2f",s);
}
| [
"thanhvo618@gmail.com"
] | thanhvo618@gmail.com |
0db69a7c22c00b59c6b427428a983e9a3bd0954c | 425d2c5b9b92a7108c669aa0c3112cd3a363bdb2 | /libmlp/MLP_Network_SGD.h | 18f3ad1bd1e0cc279ba30bb9f127216483016367 | [] | no_license | AntonIT99/Software-of-Numerical-Analysis | a8373322b9094d9c04379bdadc0b703f1da7db00 | 6d464117e5f2c2246deff81fa98d7ca1b48299ea | refs/heads/master | 2022-12-06T18:19:39.551386 | 2020-08-28T15:12:49 | 2020-08-28T15:12:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,301 | h | ///////////////////////////////////////////////////////////
// DO NOT MODIFY THIS FILE //
///////////////////////////////////////////////////////////
#ifndef MLP_Network_SGD_H
#define MLP_Network_SGD_H
#include <iostream>
#include <ctime>
#include <cmath>
#include <vector>
#include <fstr... | [
"43090912+Wolffe99@users.noreply.github.com"
] | 43090912+Wolffe99@users.noreply.github.com |
bff2915a13b356e603a6d0ba1f859734f3dc67c2 | 7d558e68292c1b6345e6f0af1f14927a60367718 | /RadarStructDataProvider/ProductStructDraw_EVP.cpp | 7f2f6efa32c270be2fbd0de2ed93ab3ad776381e | [] | no_license | veinyyxy/IDP_OLD2 | e8c15c8cc0d0be62ea7c359b46b5285616ba2da1 | 4dbd439f5d01a78eb10a3da5792d609d0950ae2b | refs/heads/master | 2022-12-19T19:19:31.823314 | 2020-09-28T05:24:17 | 2020-09-28T05:24:17 | 299,151,464 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,082 | cpp | #include "RadProjTransform.h"
#include "goLineString.h"
#include "goQuadrilateral.h"
#include <osgText/Text>
#include <osg/Point>
#include <math.h>
#include <vector>
#include <QtCore/QCoreApplication>
#include "QtXml/QXmlStreamReader"
#include <QtCore/QFile>
#include <QDir>
#include <QDate>
#include "Struct_285_EVP... | [
"veiny_yxy@163.com"
] | veiny_yxy@163.com |
4a35056525c0e752335d2114627bceecb24f76a0 | 24a5c5a32b8d5afe1b65233d8ff43cf85b604ebe | /tensorpipe/channel/channel.h | 65b58f921472f7f166e9fd7f7141fec8ce679b0a | [
"BSD-3-Clause"
] | permissive | pytorch/tensorpipe | 52cc56f1c3b4be12fcee8d7dae1b45090401cb1a | bb1473a4b38b18268e8693044afdb8635bc8351b | refs/heads/main | 2023-06-12T05:10:56.398500 | 2022-05-13T15:10:04 | 2022-05-13T15:10:04 | 219,778,184 | 235 | 78 | NOASSERTION | 2022-11-23T08:06:49 | 2019-11-05T15:27:14 | C++ | UTF-8 | C++ | false | false | 2,915 | h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <string>
#include <tensorpipe/channel/context.h>
#inc... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
13c0a786f07135eaaafd883e99c9e2aa713597d8 | 0795b456eb8343c3663c71d8219086e9fbe21078 | /程序员面试金典/normal-面试题_05.02-二进制数转字符串/面试题_05.02-二进制数转字符串.cpp | 9a7950224f9ecbd21967913f5bda71992ede5307 | [] | no_license | burningDown/my_leetcode | ae5521c2233ef86d3e48fd175952ec81f6ae3ca1 | 02be289989b9bbda198578e88f004dc83842d40f | refs/heads/master | 2021-07-06T15:07:45.904592 | 2020-09-07T13:36:40 | 2020-09-07T13:36:40 | 177,900,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | class Solution {
public:
string printBin(double num) {
if(num < 0.)
return "ERROR";
string result("0.");
int count = 1;
result.reserve(40);
while(num > 0.)
{
num *= 2;
if(num >= 1.)
{
num -= 1;
... | [
"734556742@qq.com"
] | 734556742@qq.com |
f795938364ac62107908b0c6c37434737fc3de54 | dbf82955a09226709ef94e2024c8017b7aa4bcf3 | /200911~ Mario Game/200911~ Mario Game/Core.cpp | 3efee35db2ec4716ab81d3dd8e9f90fee99b3219 | [] | no_license | nagi0101/cpp_game_programming_assortrock | 2ef872e3d4d9334043189a33143046e379622e41 | ba4f6825b76bc477d6071223255fb293368f1b8b | refs/heads/master | 2023-04-06T16:12:34.545376 | 2021-04-16T05:45:39 | 2021-04-16T05:45:39 | 358,488,224 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 564 | cpp | #include "Core.h"
#include "MapManager.h"
CCore* CCore::m_pInst = NULL;
// cpp 파일에는 클래스의 구현부분이 있다.
CCore::CCore()
{
}
CCore::~CCore()
{
CMapManager::DestroyInst();
}
CCore* CCore::GetInst()
{
if (!m_pInst)
m_pInst = new CCore;
return m_pInst;
}
void CCore::DestroyInst()
{
SAFE_DELET... | [
"demon0315@naver.com"
] | demon0315@naver.com |
da116cecf8a1bffa0e719e457df85a7195b6cd96 | ed7f6c319832eea157538da4df093686b328ddb6 | /Programmation de Jeux Vidéos III/Exemples/TeamFortress2_ForwardDeclaration/TeamFortress2/Main.cpp | d54a23aa8aa89b0e1dae966b20c13591b48f114d | [] | no_license | smasson99/Session-03 | 47013a02d5640513b09cb2d097680d50bf085890 | eeeb3b81eb41055e57ba8c12acc3c5d437e1224e | refs/heads/master | 2021-01-19T18:20:41.198880 | 2017-10-30T03:56:13 | 2017-10-30T03:56:13 | 101,121,137 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,052 | cpp | #ifndef _DEBUG
#define NDEBUG
#endif
#include <iostream>
#include <typeinfo>
#include <cassert>
#include "TF2Pyro.h"
#include "TF2Scout.h"
#include "TF2Sniper.h"
#include "TF2Medic.h"
#include "TF2Heavy.h"
using namespace TF2;
using std::cout;
using std::cin;
int main()
{
setlocale(LC_ALL, "");
//assert(false &... | [
"smasson99@gmail.com"
] | smasson99@gmail.com |
3bb5e7a661c4c30f8cd6893cc19eb87c05eb85e2 | ae716f70009a8e1433f11c07ffbc7f9578eaaf81 | /museum/include/game/gupdate.h | 43a82b4200e20e8a806b5697a2ab824cd63e84a7 | [
"Apache-2.0"
] | permissive | michalslonina/cpgf | b4aefab1fd3371ef41593be87bae37b0c8ecf779 | 5231b3e650af4b2b0bb63bdeb0a7f25dd82cdaf3 | refs/heads/develop | 2021-01-18T05:30:33.465421 | 2015-11-29T09:59:19 | 2015-11-29T09:59:19 | 47,057,611 | 0 | 0 | null | 2015-11-29T09:29:26 | 2015-11-29T09:29:26 | null | UTF-8 | C++ | false | false | 1,830 | h | #ifndef __GUPDATE_H
#define __GUPDATE_H
#include "cpgf/game/gutility.h"
namespace cpgf {
class GRenderEngine;
class GInput;
class GUpdateContext
{
public:
int durationTime; // millisecond
GRenderEngine * renderEngine;
GInput * input;
};
struct IUpdatable : public IGInterface
{
virtual... | [
"wqking@outlook.com"
] | wqking@outlook.com |
4b683ab51ac5424c38e0752bae4350c77897c76a | 0059d31b43e0d1358c754e1c50f5d6f01425e5b0 | /opencv/videocapture_image_sequence.cpp | e7cf67e0299846621f8ab28fc02f41b490d6739a | [] | no_license | rsenn/plot-cv | 8821a6a2107967b3c26e1e0d59931bd8845af39d | 50d16ba536bc8d4215c4eaf0513a8f635283490a | refs/heads/main | 2023-09-01T22:59:56.858042 | 2023-08-19T22:37:12 | 2023-08-19T22:37:12 | 207,785,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | #include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
// using namespace cv;
using namespace std;
static void
help(char** argv) {
cout << "\nThis sample shows you how to cv::read a sequence of images using the cv::VideoCapture "
"interface.\n"
... | [
"roman.l.senn@gmail.com"
] | roman.l.senn@gmail.com |
d1e3ac476380575abe2e5c2d322299cc893639d2 | 84e9683f25037e508a4d64e657fb7406c3fa384d | /nienazwany/mainwindow.cpp | b4bfcdbec24f63dc7d43f250b9f4008fd258dc5e | [] | no_license | mdrabicki/zaliczenie-c-gra | b0217bcf3bc203d72b0a84b2c48b98b42fcdaf53 | 5050723f8c672760e06592feaf1692c8a987858c | refs/heads/master | 2020-06-14T10:12:42.390944 | 2016-11-30T15:17:23 | 2016-11-30T15:17:23 | 75,198,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,137 | cpp | #include<mainwindow.h>
#include<mybutton.h>
#include<optionswindow.h>
#include <QPushButton>
#include <QStyle>
#include <QDesktopWidget>
#include<QCoreApplication>
#include<QMouseEvent>
#include<QBoxLayout>
#include<QFile>
#include<QList>
#include<QLayout>
#include<QSpacerItem>
#include<QTextStream>
MainWindow::Mai... | [
"mdrabicki@outlook.com"
] | mdrabicki@outlook.com |
dc0404d1b47a6e0f7079e3d95037db55f059a32d | 33abefebe2e5f8a77607c863ef7fd35ceec6eb07 | /Week4/Tasks/Solutions/task3_solution.cpp | c9c4bd436e58286468242133c0463f4f03437d11 | [] | no_license | TsHristov/Introduction-To-Programming-FMI-2017 | f45298186983f12d8a47f6aa37dcc4e50af4f401 | dd1a39d57116c07cc95776f9589ab9aec1d30e36 | refs/heads/master | 2021-09-03T16:16:43.259069 | 2018-01-10T10:35:23 | 2018-01-10T10:35:23 | 106,418,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | // УП-практикум, спец.Информатика, 6-та група, Седмица 4
#include <iostream>
using namespace std;
int main(){
int number;
cout << "number=";
cin >> number;
cout << "number`s digits (reversed): ";
while(number){
cout << number % 10 << " ";
number /= 10;
}
cout << "\n";
return 0;
}
| [
"tsvetanhristov@yahoo.com"
] | tsvetanhristov@yahoo.com |
0774e17b7e397af413ad86b1cf16444e3719cfc3 | 82ecb0f8be4632fa1b1bb4ee5b72e1510d45d648 | /src/objectfactory.h | 3a302a9a7bfb12d72b3ad97627def11e9719300c | [] | no_license | jheise/grid | 4c50592792e4d45e84decb6ccd917eb2af4d58d0 | f76b452812c37eae816c30c8d05557e6b4b84691 | refs/heads/master | 2021-01-09T05:58:25.823315 | 2016-04-09T17:16:30 | 2016-04-09T17:16:30 | 19,263,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | h | #pragma once
//C++ libs
#include <stdio.h>
#include <stdlib.h>
#include <stdexcept>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <vector>
//grid headers
#include "shader.h"
#include "gridobject.h"
class ObjectFactory {
public:
/*ObjectFactory(Shader*);*/
Obj... | [
"j.heise@gmail.com"
] | j.heise@gmail.com |
b2c1344c0bc787df9bf60a216b4dad592ede1361 | 828ef027ebb1da770ce2aa3c11f2aa698e53c621 | /145.cpp | 474d0663c76c240e91d75acada802f616985844c | [] | no_license | 719400737/LeetCode | 7773a1d99413c35dff48ced0506c6aea972b398d | 3c7df4253368b70e7c829bdf00dbf0aa24f339ba | refs/heads/master | 2021-02-08T03:39:51.317522 | 2020-08-25T08:54:06 | 2020-08-25T08:54:06 | 244,104,955 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | #include<bits/stdc++.h>
using namespace std;
struct TreeNode
{
/* data */
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x):val(x),left(NULL),right(NULL){}
};
class Solution {
vector<int> res;
/*void helper(TreeNode* root){//递归实现
if(root==NULL)
return;
hel... | [
"719400737@qq.com"
] | 719400737@qq.com |
4011534ba94b6e605f71e10f43e78204a2e714c9 | 2ed9c50b7d06180efecee5f60445d606eb6242ea | /rendering/common/include/fixedcamera.h | c88f2dc58ea04719bbc459b57a9094ee888b4b80 | [] | no_license | rsouthern/Examples | 5cc769a1ad00a4638efcb0b7d3f498536d8ffbf2 | a39f80efc6b901c4888e1e57d73eb70d96110cee | refs/heads/master | 2021-01-10T04:31:22.730035 | 2018-01-04T15:11:36 | 2018-01-04T15:11:36 | 55,044,362 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef FIXEDCAMERA_H
#define FIXEDCAMERA_H
#include "camera.h"
/**
* @brief The FixedCamera class
*/
class FixedCamera : public Camera {
public:
/// Construct the camera
FixedCamera();
/// Call this before you need to retrieve the matrices from the camera
void update();
/// Set the direction ... | [
"rsouthern@bournemouth.ac.uk"
] | rsouthern@bournemouth.ac.uk |
e9894a9885117cdcb6f2a505318c18cd2820327d | 7f60b8fd70e47eaae0773fd47cf0b26d22cbc31f | /MedV4D/src/Imaging/interpolators/src/linear.tcc | ad684562a46fb605283c8ad6987b18979144af1c | [] | no_license | JanKolomaznik/MedV4D | c621140e33777613f9c801d9ee5ac7cfcb2d5638 | 15675e6b31c63be6ef0762345cae7a30ba259762 | refs/heads/master | 2021-05-16T03:18:37.411467 | 2013-07-16T22:24:38 | 2013-07-16T22:24:38 | 11,281,219 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,358 | tcc |
#ifndef LINEAR_H_
#error File trilinear.tcc cannot be included directly!
#else
namespace M4D
{
namespace Imaging
{
///////////////////////////////////////////////////////////////////////////////
template< typename ImageType >
typename ImageType::Element
LinearInterpolator<ImageType>
::Get(CoordType &coords)
{
ty... | [
"szabig@3d4a5eb8-1416-4ba0-ad07-9ae941af739f"
] | szabig@3d4a5eb8-1416-4ba0-ad07-9ae941af739f |
ce805285edb16f37ea0502d8dfef449c382da10f | bb6ebff7a7f6140903d37905c350954ff6599091 | /mojo/services/native_viewport/native_viewport_android.cc | 1763f170ad307617f906427f3cf0f6ec931f0880 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 4,925 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/services/native_viewport/native_viewport_android.h"
#include <android/input.h>
#include <android/native_window_jni.h>
#include "base/andr... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
678b7ffee4f4fb0eee038587a60f3ada98bc740e | afaf58bfe495edc9da224d597912763df1b5a410 | /src/embree-1.1/rtcore/triangle/triangle1.h | 6282641d2aaa227a7cbd714ed42f416c3d844475 | [] | no_license | tian0ti/sketch | 1c5ee62a6411e478f292cfbaa98760d98f62288e | 3ef958dfc69a32a822c6ce71c2d3b4839e1592a0 | refs/heads/master | 2016-09-06T13:40:57.836963 | 2015-04-13T08:46:58 | 2015-04-13T08:46:58 | 33,857,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,868 | h | // ======================================================================== //
// Copyright 2009-2012 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | [
"sjulin@gmail.com"
] | sjulin@gmail.com |
ca1277741245a025f56b78d4ac9bd6396d598842 | d40aeef0702f5f98cb45b24f651af4fc56f2fbc2 | /Source/StoneDefence/Data/Save/GameSaveSlotList.cpp | f6dc37b7b8e4a3ee778cf5e1e68dda5800497a4b | [] | no_license | advocaite/StoneDefence | a990c4e1c4d2de984915271f6d42af3aa960c92f | ed18dc2000b804bc65c28e2b98878a07dde85645 | refs/heads/master | 2022-10-22T06:46:40.121717 | 2020-06-07T14:25:26 | 2020-06-07T14:25:26 | 281,575,583 | 0 | 2 | null | 2020-07-22T04:36:46 | 2020-07-22T04:36:46 | null | UTF-8 | C++ | false | false | 345 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "GameSaveSlotList.h"
void UGameSaveSlotList::InitSaveGame(UWorld *InWorld)
{
SlotList.InitSlot();
}
void UGameSaveSlotList::InitSaveGameFromArchives(UWorld *InWorld)
{
for (auto &Tmp : SlotList.Slots)
{
Tmp.Value.GameThumbn... | [
"563412673@qq.com"
] | 563412673@qq.com |
f173ef7892954e3e970690b3a2eca6355cc8e95e | 71fe18842f9d20eaa393bb1a92137346ed8f9ca9 | /src/base/interface/snrinterface.cpp | 8f2ec5aa6190946645093691c1939ded9f846617 | [] | no_license | Chukak/imageproc | 913daa6df6f25a9b6e2c47c803b65c9233b43098 | c373f64d4826aea22c8e20a8d6654c2c92c8f853 | refs/heads/master | 2022-04-09T12:58:34.405589 | 2020-02-28T22:00:02 | 2020-02-28T22:00:02 | 197,039,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include "base/interface/snrinterface.h"
void SNRInterface::snr_set(int32_t snr) noexcept
{
snr_value = snr;
}
void SNRInterface::snr_set_radius(int16_t r) noexcept
{
radius = r;
}
| [
"chukak12@gmail.com"
] | chukak12@gmail.com |
a54772cd156b8d14f8814e71830fb14c667de204 | 7d3899df1c054cb3e04b2de271efb25d71685c19 | /BubuJumpClient/Classes/GamePlay/Obstruction/Effect/ParticleBaseEffect.h | 947104b7b8283979f914489fd45e61ccdede3fbd | [] | no_license | waleywen/BubuJump | b630ff9a1fb433a878552472e3558bf3865c836f | 602e12045d53271b621a76b6ea8759d9da5f9309 | refs/heads/master | 2020-05-18T19:40:11.546605 | 2015-04-16T07:47:38 | 2015-04-16T07:47:38 | 30,002,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | #ifndef _ParticleBaseEffect_H_
#define _ParticleBaseEffect_H_
#include "cocos2d.h"
#include "BaseEffect.h"
class ParticleBaseEffect : public BaseEffect
{
public:
ParticleBaseEffect(EffectType type, int grade) : BaseEffect(type, grade), _particleSystemQuad(nullptr) {};
virtual ~ParticleBaseEffect();
... | [
"waleywen@hotmail.com"
] | waleywen@hotmail.com |
4da20c84db9d5363edcc99f915edbcc650d35e67 | 9917abf7bb0a49de44cfcab19ec3902d3d04eb8f | /插入排序1/第八次上机/直接插入排序.cpp | 77fff3e0896a0321d4429535202d32ee71518c8a | [] | no_license | lczstarry/myVSprojects | cb1598c7c1d1bef72502935974f4074f12961284 | 6029867dd604d392946949aa2a238690514d95f0 | refs/heads/master | 2021-01-18T20:27:50.246185 | 2017-04-01T21:42:21 | 2017-04-01T21:42:21 | 86,965,874 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 744 | cpp | #include<iostream>
using namespace std;
void input(int data[])
{
int i;
cout << "任意输入6个数:";
for (i = 0; i<6; i++)
cin >> data[i];
cout << endl;
cout << "原始数据为:";
for (i = 0; i<6; i++)
cout << data[i] << " ";
cout << endl;
}
void InsertSort(int data[], int n)
{
int p, i;
for (p = 1; p<n; p++)
{
int temp... | [
"851060832@qq.com"
] | 851060832@qq.com |
78ad43d91af26a3f734e113678c11849f6e0be1a | 06f1f3417ab05fe5d9d2e7eb8b6f189b7ed4fd84 | /Classes/BabyWars/Utilities/XMLToUnitStateTypeCode.cpp | ac8652db55be34a9d5fd06272eb6b438af4060c1 | [
"MIT"
] | permissive | sangdev90/BabyWarsInCpp | b6af491092d02fe93c49cc5c69994ee09940c9ae | 36b3cd29cd240cb2eaa41d8b914765cf2cdaee03 | refs/heads/master | 2021-01-15T22:04:10.929610 | 2015-12-29T09:27:39 | 2015-12-29T09:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | #include <cassert>
#include "../cocos2d/external/tinyxml2/tinyxml2.h"
#include "UnitStateTypeCode.h"
#include "XMLToUnitStateTypeCode.h"
UnitStateTypeCode utilities::XMLToUnitStateTypeCode(const tinyxml2::XMLElement * xmlElement)
{
assert(xmlElement && "utilities::XMLToUnitStateTypeCode() the xml element is nullptr... | [
"101599838@qq.com"
] | 101599838@qq.com |
8d5d22e6f3d756412d77a8dec61449a5d3b2966c | 297b86c2d3da6f6dbbb214193c9738c0520a71fa | /counterFlowFlame2D/system/blockMeshDict | 9e2d030a5acdd5b77b74a6544e9f3e99e0c0bf1b | [] | no_license | wjj31767/thermo_dnn | cdb77e234255fc989a77b9f2607f48d39770d890 | 01bf2b56b8d50d7464b578b8a46f441e40fb7e4a | refs/heads/master | 2023-07-18T01:52:57.375849 | 2021-08-27T07:51:52 | 2021-08-27T07:51:52 | 329,052,697 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
... | [
"noreply@github.com"
] | wjj31767.noreply@github.com | |
64aca4fe2a1b06fd195174ceae058d22373e0844 | ad9a49a6d9073c41847cdebbc0a095b4f6a9048c | /devel/include/gazebo_msgs/DeleteLightRequest.h | d76dd7aebeabfeb9ef2c1f6e0711ce73a36a16bc | [] | no_license | the-hk/ros_test_pub_sub_msg | cfa7aa5098bde81b26e18c6ef8b8978c306e4766 | 3ee1ffce923325c3333dcaac84c533f78418e7eb | refs/heads/main | 2023-05-19T01:42:57.316091 | 2021-04-01T18:33:37 | 2021-04-01T18:33:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,572 | h | // Generated by gencpp from file gazebo_msgs/DeleteLightRequest.msg
// DO NOT EDIT!
#ifndef GAZEBO_MSGS_MESSAGE_DELETELIGHTREQUEST_H
#define GAZEBO_MSGS_MESSAGE_DELETELIGHTREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"conjointchill@gmail.com"
] | conjointchill@gmail.com |
50aefd2ec01e6451a2a0718f31855cd252e5ed8a | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/Z6.3+fencembonceonce+poreleaserelease+fencembonceonce.c.cbmc_out.cpp | bde99ce1909625c9f021000d12a074762a74c192 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 41,985 | cpp | // 0:vars:3
// 3:atom_2_X0_1:1
// 4:atom_2_X2_0:1
// 5:thr0:1
// 6:thr1:1
// 7:thr2:1
#define ADDRSIZE 8
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
d19fcdde06233d98d4eb5b1c73d95f08ea4c246d | c84d04a8f29c7e33cede9465e7dfc47e00825449 | /SMO_project/SMO/mainwindow.cpp | a7689bd9bf2097407e658156f79ee7e4edd67fc1 | [] | no_license | d0ctr/SMO | c24612667aca1c2bcdde3e9b82a8a4864ee28b19 | a25effcd5d05be4e517d6c40837a87246a442edb | refs/heads/master | 2020-08-03T11:11:48.804418 | 2020-04-02T02:43:24 | 2020-04-02T02:43:24 | 211,730,579 | 0 | 0 | null | 2019-12-18T19:01:32 | 2019-09-29T21:48:39 | C++ | UTF-8 | C++ | false | false | 2,600 | cpp |
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "work.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_buttonStart_clicked()
{
QString srcNumStr = ui->lineNumOf... | [
"mail@vasilev.ml"
] | mail@vasilev.ml |
ff38ac3c29ac3c2ac327b39defda67913cf14b09 | 24ae4e437a4e0a5e187e03b84e3327ad0e572b3f | /PSME/agent/pnc/src/port_monitor_thread.cpp | fe6eaf24e936620c633c902875339a60ddfcde69 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | abrother94/IntelRSD2.4 | 68d5160a3a15a533f2a568b64de8984a334e209b | 4be407d8828c2b400e354b516580dcac023e9d09 | refs/heads/master | 2020-05-13T21:30:30.725135 | 2019-05-20T09:23:12 | 2019-05-20T09:23:12 | 181,663,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,754 | cpp | /*!
* @section LICENSE
*
* @copyright
* Copyright (c) 2015-2019 Intel Corporation
*
* @copyright
* 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
*
* @copyright
* http://www.apach... | [
"abrother94@gmail.com"
] | abrother94@gmail.com |
bbcf04bcfe158ddba44eaa613cc7527bac6938ac | e3505cfd86c57b1869c2885a3a44550af552d483 | /source/plugins/org.custusx.core.tracking/testing/cxtestTrackingPlugin.cpp | d1fe48eb5e9f93e08e715a82ba8d6fb102bd6df2 | [
"BSD-3-Clause"
] | permissive | leettran/CustusX | afb6a3bc6607bf28fa1c94f94b66cf9979728cd5 | b4e64e0db364da189ee9eafa54ce0ab258f5105a | refs/heads/master | 2021-07-14T03:33:55.038281 | 2017-02-09T09:29:57 | 2017-02-09T09:29:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | /*=========================================================================
This file is part of CustusX, an Image Guided Therapy Application.
Copyright (c) 2008-2014, SINTEF Department of Medical Technology
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are per... | [
"ole.v.solberg@sintef.no"
] | ole.v.solberg@sintef.no |
f733c7d8cad946e62ec74d2f1fb946a61e86f3f5 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/VCSamples/VC2008Samples/ATL/Advanced/ActiveDoc/ActiveCtl.h | 08b303a07cb2e102cafbbae98b9424781a36eccd | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 14,098 | h | // ActiveCtl.h : Declaration of the CActiveDoc class
//
// This is a part of the Active Template Library.
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Active Template Library Reference and related
// electronic documentation provided wi... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
109c15c674b4b436b054f9405ddd617d808e394d | 25f6e4f516506d806f349dc0c4d0106fe476b576 | /AboutDemo/AboutClient/AllJoynContainer.cpp | 94a873e52a43a92dbca40fa7f099daa59c96b2f9 | [] | no_license | renweizhukov/AllJoyn | b1e70a4905462c46916acfcfa363006e4d3f0a3d | 10b27931d99999c004acff7b0adf6cce5071778c | refs/heads/master | 2021-01-10T05:06:06.699080 | 2016-12-14T00:25:26 | 2016-12-14T00:25:26 | 43,532,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,402 | cpp | /******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and th... | [
"renwei@nane.cn"
] | renwei@nane.cn |
5de8d1ead246823544c021778573dde5f0a162b9 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/blink/renderer/modules/webgl/webgl_shared_object.h | 6f00f9f8591eb791c94b769b35b8255d6e51dccf | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 3,012 | h | /*
* Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
5d18e9b1f138497d340a23cb7ea48749d5b0b159 | fc4a8a4bbafa24c80c2df79671b23546e134c35a | /graphic/init.cpp | 56712f6023cb791ba446ea45324373c4c5e051d2 | [
"BSL-1.0"
] | permissive | huangtao/MiHaJong | 306ccb02c1a1be79ba4977baf9a762ae1a8689b1 | 204d502885a28ca4f9c11d2511ae10cb21fa2075 | refs/heads/master | 2021-01-18T01:44:16.782556 | 2014-10-07T11:47:40 | 2014-10-07T11:47:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,126 | cpp | #include "init.h"
#include "event.h"
#if defined(_WIN32) && !defined(WITH_DIRECTX)
#include <gdiplus.h>
using namespace Gdiplus;
#endif
#ifndef _WIN32
#include <iostream>
#endif
namespace mihajong_graphic {
#ifdef _WIN32
HINSTANCE GraphicDLL = nullptr;
#endif /*_WIN32*/
MainWindow* myMainWindow = nullptr;
#if defin... | [
"mihailjp@gmail.com"
] | mihailjp@gmail.com |
8c19117a56a83817fba5cddd935fc9e44672b2dc | bb6088cd1339bba63bc742fffcb2ac05eac4d5e8 | /Source03.cpp | bd2b36910feca823873ff46f7a42f12198753880 | [] | no_license | PradeepkumarPatil/Data-Structures | 8056273081f1079e22ced6e3196603e0317b7ac9 | a5a9600017dad649bfbd87297998677366a3aa84 | refs/heads/master | 2020-07-24T09:37:42.590705 | 2019-09-11T18:57:03 | 2019-09-11T18:57:03 | 207,884,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include<iostream>
#include<string>
#include<set>
using namespace std;
bool Pangram(string s)
{
set<int>t;
for (int i = 0; i < s.size(); i++)
{
if (('a' <= s[i]) && ('z' >= s[i]))
t.insert(s[i]);
else if (('A' <= s[i]) && ('Z' >= s[i]))
{
t.insert((s[i]-'A')+'a');
}
}
return (t.size... | [
"noreply@github.com"
] | PradeepkumarPatil.noreply@github.com |
ea2855229909dbf5a234c96ceb953fc69d4f9bac | 2f22d67dfc8ea29ceb1ea67bcafa5ceaf5274f2b | /ArduinoCode/Other/GyverMotor/examples/motor_control/motor_control.ino | 0b42be572cde3d5092879043c2f7c4256d6ddebb | [
"MIT"
] | permissive | Mogreine/CarProject | c5f9ac9c7b4a86b09b56b53c5bfc07a8af76e423 | f672e29fcf886676e9dd9f32c8f847e8c539d062 | refs/heads/master | 2020-09-13T19:05:55.751046 | 2020-07-27T15:01:14 | 2020-07-27T15:01:14 | 222,877,173 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | ino | /*
Пример управления мотором при помощи драйвера полного моста
и потенциометра. На всём диапазоне потенциометра:
от 0 до мёртвой зоны (512 - deadzone) крутим в одну сторону
в мёртвой зоне не крутим вообще
от мёртвой зоны (512 + deadzone) до 1023 крутим в другую сторону
Управление производится хардварным ШИМ пином... | [
"cornelius.weling@gmail.com"
] | cornelius.weling@gmail.com |
11149823e350d3f27edc2c8384f3f70881a3c383 | 786fa81c0330373a39a1bc91958cf4a7de93351e | /ShapeApp/ShapeApp.cpp | b85d5696ad1e87fb1e9e04771fac86fe0d3638c9 | [] | no_license | ngoctran24/Shape-App | 336a4cf13d92e8367a2438ee1e49f697339f19bd | 1e0d450337959d1a4ad2d6abc2f150b7a8477974 | refs/heads/master | 2022-12-09T23:36:21.578094 | 2020-09-08T13:52:45 | 2020-09-08T13:52:45 | 276,171,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,303 | cpp | // ShapeApp.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "ShapeApp.h"
#include "Shape.h"
#include "Point.h"
#include "Ellipse.h"
#include "Rect.h"
#include "Poly.h"
#include <windowsx.h>
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instanc... | [
"ngoctran20499@gmail.com"
] | ngoctran20499@gmail.com |
239bdd44c32f301c9349f5a39aeff91a77a9a0de | e54c2408209f91b99b26d81995130c995e0fb9e6 | /LoadPng.h | 10d265bc353ca64e5c3e4701275de208b3a4a181 | [] | no_license | leejunguk/2D-Network-Dodge | 92211371b8432aacffd8573861fd6b062d513af1 | b23beb70cfdbd785dc209ae6d379f50534da9878 | refs/heads/master | 2020-04-19T16:36:19.819972 | 2019-01-30T09:11:32 | 2019-01-30T09:11:32 | 168,309,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83,659 | h | #pragma once
/*
LodePNG version 20170917
Copyright (c) 2005-2017 Lode Vandevenne
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this softwar... | [
"noreply@github.com"
] | leejunguk.noreply@github.com |
6c36293404980a116a43db25bf71404946410bde | 3af5d650419cfbc5129357203004cb7fd2330e7b | /Programming Assignment 4/Shipbuilding_101/Temp/StagingArea/Data/il2cppOutput/Bulk_mscorlib_0.cpp | 71cc52dfbacc15bf7e2dfba3b6ad88466666d048 | [] | no_license | baylakmongush/Introduction-to-Unity | c7293661a717e25dcb1548baefdb2be5bc499ff0 | 9a3e52ad9ef09fc261fa8a9feeca8ce63f4d29ed | refs/heads/master | 2023-04-30T12:19:22.024049 | 2020-05-15T16:17:57 | 2020-05-15T16:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,630,823 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen... | [
"baylak@MacBook-Pro.local"
] | baylak@MacBook-Pro.local |
5213d2ec32ad4f5c2e1ea34a38673260be77a629 | c468e92537943498f95186e9e51806d96b24b1e1 | /accelerometercheck.ino | 44cf304067a92e5c6833ccaf8e3028a638402df4 | [] | no_license | pandiaaman/arduino-codes | 8367fdb7c1cf784bc28230dc0693b617ab804684 | bc3a0f1c0688331980a14252c9c62a1b0fbc703a | refs/heads/master | 2020-03-19T19:03:19.719896 | 2018-06-10T19:33:18 | 2018-06-10T19:33:18 | 136,837,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | ino | #include <Wire.h> // Including the wire library
#include <MPU6050.h> // Including the MPU6050 library
MPU6050 accelerometer; // Initializing a variable name accelerometer of type MPU6050
void setup()
{
Serial.begin(115200); // Starting the serial communication at 115200 baud rate.
Serial.prin... | [
"noreply@github.com"
] | pandiaaman.noreply@github.com |
7a9e865786603e4eff30e6518c7e4679d2fd6742 | 35a4dd20196ea50b2678c1ca203857242d5a2faf | /rpn_calculator.h | ca2d0ba64452610ae69dda7ffff2341d2b563f43 | [] | no_license | krogalev386/RPN-Based-Calculator | a971691e2cf5f54b05e7609fea1a2e985850f5d4 | 903d7a44b0f54b0f7cdf9c691066652d6726cf3d | refs/heads/main | 2023-02-28T05:07:04.344626 | 2021-02-02T17:44:07 | 2021-02-02T17:44:07 | 335,349,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | h | #include <stack>
#include <string>
#include "math_object.h"
#include <memory>
class RPN_calculator {
std::stack<std::unique_ptr<math_object>> left_stack;
std::stack<std::unique_ptr<math_object>> right_stack;
std::unique_ptr<math_object> get_item_right();
std::unique_ptr<math_object> get_item_lef... | [
"noreply@github.com"
] | krogalev386.noreply@github.com |
ad70ea7cb4013ed059ac1f34dd55d2d396ac0d03 | c9b9d9e93505e1e42adb61597c885b58c153894f | /source/flashplayer/brflashrgba.h | 05355a31087b973b67d180c9e3d29f0c5fda72b0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | Olde-Skuul/burgerlib | a3b860bf00bdbc699086a32a1d4756848866d3dc | 4d9dfa0cd5586d23688978e7ec0fd5881bf75912 | refs/heads/master | 2023-08-30T17:13:52.487215 | 2023-08-18T21:56:27 | 2023-08-18T21:56:27 | 18,419,163 | 163 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 1,558 | h | /***************************************
Flash player data stream reader
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anythi... | [
"becky@burgerbecky.com"
] | becky@burgerbecky.com |
ba418a82517cc0cac3c696ddc7acfb324a2df36c | d0889089b86bc407b154879cb294e703f9303989 | /Lumos/Source/Lumos/Platform/MacOS/MacOSOS.h | 5b4c4bd25158d920e2d69291b1df54b2a9df702a | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | jmorton06/Lumos | 9ab96420c619d9baac07e4561d0a7e83645d54c8 | e5f0ebfa9049d3515caaad056fda082a1e9d74ae | refs/heads/main | 2023-09-01T02:48:00.496623 | 2023-07-06T07:31:44 | 2023-07-06T07:31:44 | 164,933,352 | 1,052 | 126 | MIT | 2023-09-06T08:08:18 | 2019-01-09T20:32:10 | C++ | UTF-8 | C++ | false | false | 496 | h | #pragma once
#include "Platform/Unix/UnixOS.h"
namespace Lumos
{
class MacOSOS : public UnixOS
{
public:
MacOSOS()
{
}
~MacOSOS()
{
}
void Init();
void Run() override;
std::string GetExecutablePath() override;
... | [
"jmorton06@live.co.uk"
] | jmorton06@live.co.uk |
79c307cc171f001458a13bb991d2d109ab0f0e69 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /leetcode/101-150/108/932.cpp | 726ea04c5abc9fa9d201c42050ae7776d283fc79 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 746 | cpp | typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#define ZERO(a) memset(a,0,sizeof(a))
#define MI... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
d147fddd491184706a26a0a8fe5d62ec747c5729 | c2a06ac916e3693068a6c2546c65e9758c00236c | /Plugins/Wwise/Source/AkAudio/Private/Platforms/AkUEPlatform.cpp | fc4b591579665b4c5d431364f47daa4af1183117 | [] | no_license | GodwinA/RuneAge | 3396002afc39c2dd1efc50cf9a740adfd27a9c93 | 88bc7a6ef87cbfb55e7fa0c045a0701607675323 | refs/heads/master | 2021-03-21T05:15:38.112936 | 2021-02-13T22:14:06 | 2021-02-13T22:14:06 | 247,266,101 | 1 | 0 | null | 2020-03-18T12:46:42 | 2020-03-14T11:46:00 | C++ | UTF-8 | C++ | false | false | 2,712 | cpp | // Copyright (c) 2006-2019 Audiokinetic Inc. / All Rights Reserved
#include "Platforms/AkUEPlatform.h"
#include "AkAudioDevice.h"
#include "Interfaces/IProjectManager.h"
#include "ProjectDescriptor.h"
#if WITH_EDITOR
#include "PlatformInfo.h"
TSet<FString> AkUnrealPlatformHelper::GetAllSupportedUnrealPlatforms()
{
... | [
"50031430+Numbox@users.noreply.github.com"
] | 50031430+Numbox@users.noreply.github.com |
675412e4eb45b4713332eee146e2f171f2c11016 | 311525f7de84975434f55c00b545ccf7fe3dcce6 | /online/cf/524/matrix.cpp | 472771307fb04b5c73c8b7ffa407ebb91f3f7185 | [] | no_license | fishy15/competitive_programming | 60f485bc4022e41efb0b7d2e12d094213d074f07 | d9bca2e6bea704f2bfe5a30e08aa0788be6a8022 | refs/heads/master | 2023-08-16T02:05:08.270992 | 2023-08-06T01:00:21 | 2023-08-06T01:00:21 | 171,861,737 | 29 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,943 | cpp | /*
* For each pair of a left bound and a right bound for the submatrix, we can create an array of arrays. Each
* subarray contains 26 elements that stores the counts for each character. If two elements have an odd count
* in a subarray, then that subarray is invalid. Now, we can use Manacher's to find the number of ... | [
"aaryan.prakash3.14@gmail.com"
] | aaryan.prakash3.14@gmail.com |
d65be460dc7ebcce098fbea4e250dd8ee1cee3de | 2e9bd5190ea62014007a2bd9ace03af9c77ad41b | /p1428.cpp | d4630c7e80bd6b6fcfb06f9e57619686a59dcbb0 | [] | no_license | langleYang/01 | 0c523ae2a03feb170e326fb7f240cd7c67576ff0 | 1c114d62b22fb32cc9b720589556cfa517edb850 | refs/heads/master | 2020-03-18T01:57:15.625945 | 2019-09-25T15:16:05 | 2019-09-25T15:16:05 | 134,167,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main(){
int n;
int a[100],b[100];
cin>>n;
memset(b,0,sizeof(int)*100);
for(int i=0;i<n;i++){
cin>>a[i];
for(int j=0;j<i;j++){
if(a[j]<a[i]) b[i]++;
}
}
for(int k=0;k<n-1;k++) cout<<b[k]<<' ';
cout<<b[n-1]<<endl;
return 0;
} | [
"yangzw_@outlook.com"
] | yangzw_@outlook.com |
1dd78a32a6bc9c45a865f4fd879dc5db2b0df806 | 657a0a5e3a77d928a6f31a0a9a071f9760e45015 | /src/world/Background.cpp | 95b4acf2b9fd3a4c1aaf60713278584074d44a6e | [] | no_license | TomMinor/Survival-Horror-Clone | 446c0e499d5729d29721d1f0297138f578a5c23f | 2bc946c9aac93eab7a0720df684e946635ae74fd | refs/heads/master | 2021-01-19T11:02:20.926300 | 2015-04-13T10:37:15 | 2015-04-13T10:37:15 | 17,779,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | cpp | #include "Background.h"
#include <iostream>
#include "GLFunctions.h"
bool Background::touchesTrigger(const BBox& _actor)
{
return m_triggerVolume.checkIntersectOrTouch(_actor);
}
void Background::loadBackgroundTexture()
{
delete m_bgTexture;
m_bgTexture = new Texture(FileSystem().roomPath(m_bgPath));
}
void ... | [
"tornronim@gmail.com"
] | tornronim@gmail.com |
6a5b2e6be5f81b35865ae42976014f2e5cb67f74 | 0b684a79c5da0b1593505535e4d2d5030825c3b5 | /Task.h | 8ecfaeb4a54e67282c81c8cf0912b1cea36ab451 | [] | no_license | jeremycostanzo/Task_Manager_Cpp | 6d05497d95b65b42c9abf04836f6648ec7e9cd10 | f2031c064572659a9e9a7904adbee6001c9524bc | refs/heads/master | 2022-04-21T16:39:24.722991 | 2020-03-30T19:03:08 | 2020-03-30T19:03:08 | 251,343,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | h | /*Ce fichier contient la classe Task qui
représente... UNE pisTACHE!*/
#ifndef TASK
#define TASK
#include <chrono>
#include <ctime>
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include "vector_string.h"
using namespace std;
bool is_int(string s... | [
"jeremy.costanzo@mines-paristech.fr"
] | jeremy.costanzo@mines-paristech.fr |
d828b4a5a960eeaf04805a4d236d85fbcc8556c8 | 1fcf32178d813855d804293a961c61dd51fb6b14 | /src/test/main.cpp | 9acbc7aaa94e474901fe7b068b16ab32e751fe68 | [
"WTFPL"
] | permissive | kurtjcu/pedalevite | d33248538a62d7e0dee3c66122abb9aad075634e | 61ec6f9b5dd7667c620ebc8d3b4ca7944ed8760d | refs/heads/master | 2023-07-26T03:49:10.209241 | 2021-09-04T08:34:32 | 2021-09-04T08:34:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,062 | cpp |
#include "fstb/msg/MsgRet.h"
#include "fstb/msg/QueueRetMgr.h"
#include "fstb/AllocAlign.h"
#include "fstb/DataAlign.h"
#include "fstb/fnc.h"
#include "hiir/Upsampler2xFpu.h"
#include "hiir/PolyphaseIir2Designer.h"
#include "mfx/doc/SerRText.h"
#include "mfx/doc/SerWText.h"
#include "mfx/doc/Setup.h"
#include "mfx/dsp... | [
"fuck@fuck.fuck"
] | fuck@fuck.fuck |
8c57540873d3a03112a8237195b7ae4226b83737 | 0327ee82307542b781cf213e9b826aaf1e440e1c | /apps/colib/Column.cpp | 4f522d9858ce1cfd669e33166f9fef2460e661b7 | [] | no_license | hsaturn/Vrp | 37cdb7d9fbc64b7a5e49572301da1c790c7255ae | d4cd1a0eec31d04c669df8cd4688ae2474d9927a | refs/heads/master | 2023-06-22T21:18:12.510715 | 2023-06-15T00:44:50 | 2023-06-15T00:44:50 | 77,689,083 | 1 | 1 | null | 2019-08-17T08:08:06 | 2016-12-30T13:53:48 | C++ | UTF-8 | C++ | false | false | 3,923 | cpp | #include "Column.hpp"
#include "ColibApp.hpp"
class Model;
namespace Colib
{
Column::Column(ColibApp* colib, int width)
:
mwidth_z(width),
pcolib(colib)
{
}
Column::Column(ColibApp* colib, istream& in, int center_x)
: pcolib(colib)
{
string s;
in >> s;
if (s == "width")
in >> mwidth_z;
els... | [
"hsaturn@gmail.com"
] | hsaturn@gmail.com |
c5699d504f61fb2545da4e128483300af3807859 | c063f8955af1d3c3a2125b11fc9ccede257ef367 | /CodeForces/268A - Games.cpp | c3eb3db4e77cb5ba1b54ed6ec46ac35413499816 | [
"MIT"
] | permissive | XarusKX/problem-solving | 4fef12591491d203ab991c2fcf2102b9994f3438 | 5d084767daecc28ea588ca0b4ee883800a1b6622 | refs/heads/master | 2023-03-21T07:16:33.575916 | 2022-12-18T15:55:28 | 2022-12-18T15:55:28 | 572,791,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | #include <bits/stdc++.h>
using namespace std;
int main () {
int n;
scanf("%d", &n);
int team[n][2];
for (int i = 0; i < n; i++) {
scanf("%d %d", &team[i][0], &team[i][1]);
}
int hostInGuest = 0;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
... | [
"belzeharkxarus@ymail.com"
] | belzeharkxarus@ymail.com |
9e2090daffff50087b74f8897f10526941203a56 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /third_party/WebKit/Source/core/dom/MutationRecord.cpp | 1b1829906d946bb92074e7331f7ae715d592c427 | [
"BSD-3-Clause",
"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",
"MIT",
"Apache-2.0"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 7,184 | cpp | /*
* Copyright (C) 2011 Google Inc. 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 conditio... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
9de2003ea57961bf82849525486fd11de1568e36 | 7613ea5da51b6926e87961613943758bc2a9567a | /LitetSpelprojekt/ShadowMapShader.cpp | e579f7ffeda3804619be3ce6dafc168494e3f755 | [] | no_license | PhilipBerglund/LitetSpelprojekt | a78ead1f4a768d043e70f377713b6b36489aa6ae | 246d5533d89d48b5db2b70f090a1d154c7508daf | refs/heads/master | 2023-05-08T21:28:37.067879 | 2021-06-02T20:35:53 | 2021-06-02T20:35:53 | 353,623,998 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,182 | cpp | #include "ShadowMapShader.h"
#include "Scene.h"
void ShadowMapShader::SetShadowMapShader(ShaderData& data)
{
Graphics::GetDeviceContext().IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
Graphics::GetDeviceContext().IASetInputLayout(data.regularLayout.Get());
Graphics::GetDeviceContext().VSSetShader(d... | [
"62310221+Ppaaoo@users.noreply.github.com"
] | 62310221+Ppaaoo@users.noreply.github.com |
6416a75f129fa90dc1d80d220324be97485a5d36 | 7fb3d724b38f956ea549fd9c250eb2fd5b2b8a23 | /src/tiled/minimap.cpp | 9fc170c22601b962f3ad1644a4c6e8fe2aa108eb | [] | no_license | chenzujiang/tiled-map-editor | b355bdde79d836f1af669891612a9b5275ecb3bd | 28dc164c625bbfdb0e39f6e6b4bdc5aac70ae3dc | refs/heads/master | 2021-04-14T07:46:58.014886 | 2020-03-22T15:50:12 | 2020-03-22T15:50:12 | 249,216,650 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,221 | cpp | /*
* minimap.cpp
* Copyright 2012, Christoph Schnackenberg <bluechs@gmx.de>
* Copyright 2012, Thorbj酶rn Lindeijer <thorbjorn@lindeijer.nl>
*
* This file is part of Tiled.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published ... | [
"atk_develop@163.com"
] | atk_develop@163.com |
9ad524eba8fee66a7aa5d9b185632a4666b498fe | 74d2aeec218b276db01c966f1bcef68341c9450a | /KYTools_c3.0/KYTools/Utils/Buffer/YHByteArray.h | c1bbbed78175038d41190fc49998a60b229bd375 | [] | no_license | bontey/cocos2d-x-tools | 64d7366ddef2880f4439dd73ebcf89359135f8b0 | 8b9e92a40e82361cd19a1cf9746b79cdbaa97218 | refs/heads/master | 2020-12-28T20:30:44.019517 | 2014-05-13T01:37:04 | 2014-05-13T01:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,189 | h | //
// YHByteArray.h
// BSD Socket Client
//
// Created by Zhenyu Yao on 13-7-2.
// Copyright (c) 2013年 Zhenyu Yao. All rights reserved.
//
#ifndef __BSD_Socket_Client__YHByteArray__
#define __BSD_Socket_Client__YHByteArray__
#include <KYTools/Utils/Buffer/YHIByteBuffer.h>
#include <KYTools/Utils/Common/YHAllocato... | [
"qingkaka@gmail.com"
] | qingkaka@gmail.com |
a86a9939fc957d5baf69243066501d44488b7622 | 2ee806123f38941dae94e8fdaa0e9109e4d7436d | /derivativeCalculator/CCalcExpression.cpp | 3e79df3b3166948cfe2af9d7957eadf5d9c0c327 | [] | no_license | kabbi/derivativeCalculator | 2c48f0c8c20342302bee149c04162d19ccd89f89 | c8f319ad91bdf73489c049d47527f2f331771182 | refs/heads/master | 2021-01-23T11:48:01.155404 | 2011-12-14T20:14:44 | 2011-12-14T20:14:44 | 2,982,624 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp |
#include "CCalcExpression.h" | [
"userdima@gmail.com"
] | userdima@gmail.com |
a668c09ce814b8f5e0f55274f4aa80198b7c7272 | 42a1862be32c1ef9ff9b8defe10dde0c3a4ea727 | /cuda/2D/D2Q5/LB_D2Q5.h | 78d3eebbaa90caaf337e5370b7813f4bf5b428d4 | [] | no_license | jpvanegasc/LB | c049af107ea1e3cffa6058c97e4b259649a569c1 | 99ee4cc18860a8e83450f137ac1834dbaa084a23 | refs/heads/master | 2023-03-06T00:11:34.697729 | 2021-02-17T02:31:01 | 2021-02-17T02:31:01 | 219,019,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,934 | h | /**
* 2D Lattice Boltzmann module.
*
* This module requires a constants.h file, where geometry, relaxation time (tau), LB type and
* evolution algorithm are specified. Everything you would need to modify should be there.
*
* constants.h requirements:
* - Lx, Ly: Integers defining number of nodes in x and y, r... | [
"juan.vanegas@tektontech.com"
] | juan.vanegas@tektontech.com |
66924becceb3a880d265593bc74f1f9cae27b1da | bc56aa80d0417b002cb1381e3911ff1d0df40d06 | /TrkBase/TrkHelixUtils.cc | 85bf8a18ece5d93908eca593f2111ebef75e7c54 | [
"Apache-2.0"
] | permissive | brownd1978/FastSim | 177d79e8ce7bbd71df6f24295b157a8651962981 | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | refs/heads/master | 2023-01-08T07:48:49.843154 | 2020-11-04T00:52:23 | 2020-11-04T00:52:23 | 284,155,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,580 | cc | //--------------------------------------------------------------------------
// File and Version Information:
// $Id: TrkHelixUtils.cc,v 1.6 2008/04/28 06:01:53 brownd Exp $
//
// Description:
//
//
// Environment:
// Software developed for the BaBar Detector at the SLAC B-Factory.
//
// Author(s): Steve... | [
"dave_brown@lbl.gov"
] | dave_brown@lbl.gov |
4982f982af3f613c182ab357969c907522825fc7 | 1f2cdcaee54da2327aaa66e8eea37231bb38598b | /CrackingTheCode/Sorting.cpp | 54c78f28aa07d40c68ea55014c447ac6b9b06554 | [] | no_license | dawesome/InterviewPractice | 56a120b56f4de4cd070c5141455933d61a9639ab | c62bf91be89c8b45748a99c5cfb194b4c549b627 | refs/heads/master | 2021-01-12T09:54:38.108355 | 2017-01-13T01:58:33 | 2017-01-13T01:58:33 | 76,295,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | cpp | //
// Sorting.cpp
// CrackingTheCode
//
// Created by Michael Dawe on 12/31/16.
//
//
#include "Sorting.hpp"
| [
"mdawe@gsn.com"
] | mdawe@gsn.com |
31d83774036f29cab6b1396a5f3009335cd36824 | 51ef1aa15f36be7521d81e8164ab1ad0450a76a6 | /Content/Physics2dPlugin/Gjk.cpp | 23b6fc4c12143b4213d6c680bd5f447984397320 | [] | no_license | jodavis42/Physics2d | 3291438f018be16a8c907d57da0d9bd1561e29c0 | 67ee7133a94de57ee98032f6a1134d5b827db7e1 | refs/heads/master | 2020-03-15T06:12:07.271161 | 2018-07-18T15:10:04 | 2018-07-18T15:10:04 | 132,002,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,711 | cpp | #include "Physics2dPluginPrecompiled.hpp"
#include "VoronoiRegions.hpp"
Gjk::Gjk()
{
mSize = 0;
mProgressEpsilon = 0.001f;
mMaxIterations = 100;
mSkin = 0;
}
bool Gjk::Intersect(const SupportShape* shapeA, const SupportShape* shapeB)
{
Real2 q = Real2::cZero;
mSearchDirection = Intialize(sha... | [
"22943955+jodavis42@users.noreply.github.com"
] | 22943955+jodavis42@users.noreply.github.com |
eb77114b142fdf1f6b62f47a62a5b47be732c447 | db04ecf258aef8a187823b8e47f4a1ae908e5897 | /Cplus/LinkedListCycle.cpp | ee4bb05dd8723db2c0140e02d1316397b7dc264f | [
"MIT"
] | permissive | JumHorn/leetcode | 9612a26e531ceae7f25e2a749600632da6882075 | abf145686dcfac860b0f6b26a04e3edd133b238c | refs/heads/master | 2023-08-03T21:12:13.945602 | 2023-07-30T07:00:50 | 2023-07-30T07:00:50 | 74,735,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | cpp |
//Definition for singly-linked list.
struct ListNode
{
int val;
ListNode *next;
ListNode(int x) : val(x), next(nullptr) {}
};
class Solution
{
public:
bool hasCycle(ListNode *head)
{
if (head == nullptr)
return false;
ListNode *tortoise = head, *hare = head->next;
while (hare && hare->next)
{
torto... | [
"JumHorn@gmail.com"
] | JumHorn@gmail.com |
3fcdfd85f4cad6dc8fabe0b9ba1f61d0eff30e23 | 14a246f531a0619153d55f604688613077de08e7 | /BattleshipGameAlgo/ShipDetailsBoard.cpp | 7409c394add36ebc0ed06da662d9963529ac6da2 | [] | no_license | michaelozeri/BattleshipGameAlgo | 543ef6e50149e4476e5d47e7c970bd466ca47b27 | 8e05504fbbdda73cb3b11277053bc4af87ebd220 | refs/heads/master | 2021-01-23T06:35:24.457578 | 2017-05-05T22:48:21 | 2017-05-05T22:48:21 | 86,380,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,215 | cpp | #include "ShipDetailsBoard.h"
ShipDetailsBoard::ShipDetailsBoard(char** board, int playerID) : playerID(playerID), mainboard(board), RubberBoatCells(0), RocketShipCells(0), SubmarineCells(0), DestroyeCells(0), negativeScore(0)
{
for (size_t i = 0; i < ROWS; i++)
{
for (size_t j = 0; j < COLS; j++)
{
char cell... | [
"ozeri.mich@gmail.com"
] | ozeri.mich@gmail.com |
d65b9ea5d383b16f843671755fa3da4520ec1620 | 1cac1d4de0a9ea7f9f58407ef16d2eace44e0893 | /VSPROJ-test/test/04.DerivedCantCallBasePrivate.hxx | 74a5ff9050a55b35021592b103a65163b3ceded9 | [] | no_license | oowuag/LittleProgram | ec64000b1c89ebfddd701db58d9111b1c9e09a50 | 5c8982e6e6ce997ab1821b83f33418ae5638b435 | refs/heads/master | 2020-06-15T17:16:35.725484 | 2017-03-13T09:59:57 | 2017-03-13T09:59:57 | 75,276,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | hxx | #include <iostream>
using namespace std;
class A
{
public:
virtual void foobar(int &a);
private:
int m_a;
};
void A::foobar(int &a)
{
cout << a << endl;
}
class B : public A
{
public:
void foobarB()
{
cout << m_a << endl; //error
}
};
int main()
{
B b;
b.foobarB();
return 0;
} | [
"wuqingyin@pset.suntec.net"
] | wuqingyin@pset.suntec.net |
63a3b06f59f30fa908c45c61044c307cd5dcaa49 | d3c4d07986bfc71cae99c896a29538be089b6f5e | /ttl/PredicateTest.cpp | ae11439952439e38e602722dcb6d5f1156ec6102 | [
"MIT"
] | permissive | skyformat99/ttl | 144b159fbce43300feccb4850b5273d387367506 | 0751d7db35759ef6741982ac8c67196a5c81eaab | refs/heads/master | 2020-12-08T12:05:56.980369 | 2019-12-18T20:14:20 | 2019-12-18T20:14:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,490 | cpp | #include <gtest/gtest.h>
#include "include/ttl/predicate.h"
#include "include/ttl/linq.h"
using namespace ttl::predicate;
using ttl::linq;
TEST(PredicateTest, BasicPredicates) {
auto peq = equals(10);
auto pne = not_equals(10);
auto plt = less(10);
auto ple = less_equals(10);
auto pgt = greater(10);
auto pge =... | [
"dominik@thalhammer.it"
] | dominik@thalhammer.it |
6aed0ad0cf07d28582fc500c52983cc888b721d1 | fcfb9c3d1a71a6e53e4d7508a957108d05557ad0 | /lab_02/main.cpp | ef72f5501b724769b2e92f8574c723a2d68ddd30 | [] | no_license | anastasialavrova/bmstu_AA | d73b742e095136792ed0632d2a7178ea1b8aa912 | d4c31aeab43d0b9a951323c0d78c8a8caa9e2fc2 | refs/heads/master | 2020-08-08T06:40:02.213171 | 2019-12-10T19:51:19 | 2019-12-10T19:51:19 | 213,760,593 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,362 | cpp | #include<iostream>
#include<stdio.h>
#include<string>
#include <cmath>
#include <ctime>
#include <algorithm>
#include <intrin.h>
#pragma intrinsic(__rdtsc)
using namespace std;
/*
static inline unsigned long long int tick()
{
unsigned long long int d;
__asm__ __volatile__("rdtsc" : "=A" (d));
return d;
}
*/
int... | [
"44167571+anastasialavrova@users.noreply.github.com"
] | 44167571+anastasialavrova@users.noreply.github.com |
e990a533b189f11af7caa31eabae3340b5163398 | 9a6f784edf67c9b277e923118d73ec2af4233b90 | /include/boost/concept/policy/selector/boost_map.hpp | f91e4674168af510b64075faa3c511d2eb6b3999 | [] | no_license | CromwellEnage/concept | de0df29866f18c11f4cb3064573ebd6dff63b9a1 | 28860fdab4fc541ae86bde0504014fa6529fbb6d | refs/heads/master | 2020-03-17T03:14:29.580839 | 2018-05-13T10:27:25 | 2018-05-13T10:27:25 | 133,226,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,125 | hpp | // Copyright (C) 2011-2017 Cromwell D. Enage
// 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)
#ifndef BOOST_CONCEPT_POLICY_SELECTOR_BOOST_MAP_HPP
#define BOOST_CONCEPT_POLICY_SELECTOR_BOOST_MAP_HPP
#include <boo... | [
"32967088+CromwellEnage@users.noreply.github.com"
] | 32967088+CromwellEnage@users.noreply.github.com |
7f265928f0b2e6262904fed9a04dd6c9db7b9b93 | b4925f354c0236406d07cdab4e47667f12f58067 | /club/Buddies.cpp | 00442f8c6dc14b08bd5235d7212b36bfe8048418 | [] | no_license | MauricioCerv10/schoolhistory | 93be0e0adc57a79e5feea4665cac92d925edd9d8 | 7e5ef296909cc1e6daa54846e595b299e4be4e6e | refs/heads/master | 2023-07-01T16:14:25.918824 | 2021-07-30T03:12:15 | 2021-07-30T03:12:15 | 390,902,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | #include <bits/stdc++.h>
using namespace std;
#define optimizar_io ios_base::sync_with_stdio(0); cin.tie(0);
int main(){
int s, b, l, r;
vector<int> left(110000), right(110000);
while (cin>>s>>b, (s || b)) {
for (int i = 0; i <= s; i++) {
left[i] = i - 1;
right[i] = i ... | [
"mauriciocervantesdelgadillo10@gmail.com"
] | mauriciocervantesdelgadillo10@gmail.com |
2943955f987928b4aadd8f2a44e8382e4d4eefb1 | 183a76c96ce888f5e0671cebb278ed88c7d990b5 | /main.cpp | 1ec553ca547e4f7c6fdb7bdb2ddb2cf4792333db | [] | no_license | q814094917/basenet | a292523a6ae1916a0108f24ac7913b2649d446d3 | 298eb122273f9ab0ef27033450775c25799499ef | refs/heads/master | 2021-01-17T19:19:42.252364 | 2016-07-27T14:52:15 | 2016-07-27T14:52:15 | 64,011,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | //
// main.cpp
// reactor
//
// Created by 高聪 on 16/7/19.
// Copyright (c) 2016年 高聪. All rights reserved.
//
#include <iostream>
#include "TcpConnection.h"
#include "Poller.h"
#include "EventLoop.h"
#include "Encode.h"
#include "Decode.h"
#include "TcpAcceptor.h"
#include "ServerLoop.h"
#include "TcpConnector.h"
... | [
"noreply@github.com"
] | q814094917.noreply@github.com |
5bc7a576d65b236cbbb07bad2c472b2556151e5e | c0b5e34e001efa13ccefa8bb6c496c584d1cbae9 | /square_functor.h | f1e924d0a2118923bbb552552e0a6fffa8715486 | [] | no_license | darglein/ceres_codegen | 4169986757fa6befd0ec9b09264d8e1a3debe138 | 9cb48cf8ac569e688f0f62ee78123d48562d7dd9 | refs/heads/master | 2020-11-24T23:57:05.491858 | 2019-12-16T14:13:46 | 2019-12-16T14:13:46 | 228,397,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,086 | h | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2019 Google Inc. All rights reserved.
// http://code.google.com/p/ceres-solver/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistr... | [
"darius.rueckert@fau.de"
] | darius.rueckert@fau.de |
5712f53cc39e97948388871294c2850b5961b6d2 | 6e665dcd74541d40647ebb64e30aa60bc71e610c | /600/Pbx/op/OpTimeOver.hxx | 83e1cbfbeeb47ca97ebad5a9f449add3e49fea36 | [] | no_license | jacklee032016/pbx | b27871251a6d49285eaade2d0a9ec02032c3ec62 | 554149c134e50db8ea27de6a092934a51e156eb6 | refs/heads/master | 2020-03-24T21:52:18.653518 | 2018-08-04T20:01:15 | 2018-08-04T20:01:15 | 143,054,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | hxx | #ifndef OpTimeOver_HXX
#define OpTimeOver_HXX
/*
* $Id: OpTimeOver.hxx,v 1.2 2007/03/02 04:19:28 lizhijie Exp $
*/
#include <SipProxyEvent.hxx>
#include "UaOperator.hxx"
namespace Vocal
{
class OpTimeOver : public UaOperator
{
public:
///
OpTimeOver();
///
virtual ~OpTimeOver... | [
"jacklee032016@gmail.com"
] | jacklee032016@gmail.com |
7bd0ed50c2bf459850e23fa6f088e4a12ae8f8df | 1f1f9c12c9a08385ee4b536e5e91459571cd207e | /ZPG Project/Renderer.h | 392f1dafe7161c0637c16fc1d035a7fbbeb82e2e | [] | no_license | Anim64/ZPGProject | 663cc222541a9a915866a6009301664fe0a4458d | 5698d9b9e40b70f0f3d4a8085668d2dba9b2bf5f | refs/heads/master | 2021-08-31T00:21:47.764153 | 2017-12-19T23:35:04 | 2017-12-19T23:35:04 | 114,820,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | #pragma once
#include "Scene.h"
#include "Application.h"
class Renderer
{
public:
Renderer(GLFWwindow&);
void renderScene(Scene&);
private:
GLFWwindow* window;
void renderSkyBox(Scene& scene);
void renderObjects(Scene&);
void activateObjectTexture(Scene&, int);
}; | [
"tomas.anlauf@seznam.cz"
] | tomas.anlauf@seznam.cz |
1247b1f90194cc43a648d27fedf094b3dec5a512 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/smatsvecmult/MCbVCa.cpp | 765e3356d35114950dfeada3a63fda6e27302ec3 | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,417 | cpp | //=================================================================================================
/*!
// \file src/mathtest/smatsvecmult/MCbVCa.cpp
// \brief Source file for the MCbVCa sparse matrix/sparse vector multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Th... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
acc4d080fe58fa1f5cbc3ef31b48fed9dbd2f582 | 6f6aedccd67a00c097a6cea8d7c16fd4cc2176b1 | /CudaKeySearchDevice/CudaKeySearchDevice.cpp | aad1fd317ca0f4cbafb145b29e6eab0235fd5725 | [
"MIT"
] | permissive | avrum/BitCrack | 0483f62a272baed2481cc208b342baaf15e5346d | 77794b2b5e1f6b5a19147d1f668d714b415368f6 | refs/heads/master | 2021-07-08T04:55:05.501668 | 2020-12-29T13:04:28 | 2020-12-29T13:04:28 | 219,997,716 | 3 | 0 | MIT | 2019-11-06T13:00:29 | 2019-11-06T13:00:28 | null | UTF-8 | C++ | false | false | 8,631 | cpp | #include "CudaKeySearchDevice.h"
#include "Logger.h"
#include "util.h"
#include "cudabridge.h"
#include "AddressUtil.h"
void CudaKeySearchDevice::cudaCall(cudaError_t err)
{
if(err) {
std::string errStr = cudaGetErrorString(err);
throw KeySearchException(errStr);
}
}
CudaKeySearchDevice::Cuda... | [
"brichard19@users.noreply.github.com"
] | brichard19@users.noreply.github.com |
66332531d56ee337314fc8bfd32fad61371e0e83 | f4ea85e5cafbd47df33ec0810e8f7d22806fccc3 | /permutations_ii.cpp | f958d2cfe6fe340e4d14533f35ca10a0b701bcd3 | [] | no_license | Syhawk/LeetCode | e998698d1b62e508fdcb6baf72e7234ce9ddd32f | 6b521b3b7575fd8cc2557f46c34d6597edb6495b | refs/heads/master | 2021-01-21T04:40:30.139610 | 2016-06-18T08:07:40 | 2016-06-18T08:07:40 | 47,879,902 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | //uri: https://leetcode.com/problems/permutations-ii/
/*
* 求出所有唯一的排列。那么,为了保证每次得出的排列都是唯一的,
* 可以调用next_permutation函数,这个函数就是在原来排列的基础上求得下一个排列。
* 其原理实现是根据排列的特性:排列每次都是从尾后变化开始的,从尾后开始一定存在
* 某个非递减子序列,然后到某个位置终止(否则就是最大排列,就不再需要寻找下一
* 个排列),从这个终止位置开始到尾后这一段就需要重新排列,其他位置则不会变化。
* 就是相当于从尾后开始寻找第一个出现的大于终止位置元素值的元素,然后交换位置。
* 最后再把终止位置... | [
"805782175@qq.com"
] | 805782175@qq.com |
f20d42de72167078ec83727f8d0231441551435e | a03638f349d4b70bff21367487b561298c1131f5 | /HW/HW02.5_ArrayList/HW02/arraylist.hpp | e9817dc8ee5725b4da7a04217271af68f0e435e7 | [] | no_license | bgjehu/CS153 | 59fa41be2e93328e37a1818e5eccdc2d4f1bba7f | 26dbe4966c4ffd696531714a40316b2f6a44b25b | refs/heads/master | 2021-06-28T06:05:05.691737 | 2017-09-18T05:31:09 | 2017-09-18T05:31:09 | 103,895,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,511 | hpp | //Jieyi Hu
using namespace std;
//**************************Destructor**************************
template <typename T>
ArrayList<T>::~ArrayList()
{
delete []m_data;
}
//**************************Operator=**************************
template <typename T>
ArrayList<T>& ArrayList<T>::operator=(const ArrayList<T>& rhs... | [
"bgjehu@me.com"
] | bgjehu@me.com |
99ea3b545638e5929a3c484dc63a1c47fdcc3595 | aa1592130ed8c3df2241d4c252bde7dbc21ecf51 | /Code/Gameflow/GameflowPhase.h | f3c3aebf1d75c456bb2639333cc2ed2124c36f57 | [] | no_license | blockspacer/Cry_FirstPerson | fb227b282d69f612b63d1ebed873c4664e44cd43 | 840295a92ca6ed2bc97639bb1e66c4ea8aa97578 | refs/heads/master | 2022-03-09T15:38:13.702944 | 2019-08-31T22:57:28 | 2019-08-31T22:57:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | h | #pragma once
#include <DefaultComponents\Input\InputComponent.h>
#include "Types\Flags.h"
/*////////////////////////////////////////////////////////////////
When making GameflowPhase:
TAGGAMEFLOWPHASE(Combat, PLAYER, 1)
static constexpr int PHASEID = Gameflow::CombatGameflow::Phases::PLAYER;
static constexpr char*... | [
"lofieloomis@gmail.com"
] | lofieloomis@gmail.com |
68d1e0acafe2f591c9ee7cd1d73e14d8fd22e149 | a533d4198ee1237df55c94ee8ae3df4aefdc55bd | /dp/HeadFirstDesignPatterns/c_plusplus/Bronze/Factory/Pizzaaf/Mushroom.hpp | b08397ecf9e6e3fa9c5d832ca9603de946cbc090 | [] | no_license | jufenghua596/book | c15aeb9b96e5fbb2e998286ef50bc5f569fa31a5 | 8b7d2db6b91268b3dcca39da4b067630768afdb6 | refs/heads/master | 2021-05-06T16:44:30.339828 | 2017-12-10T06:57:50 | 2017-12-10T06:57:50 | 113,723,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | hpp | #ifndef _HEAD_FIRST_DESIGN_PATTERNS_FACTORY_ABSTRACT_MUSHROOM_HPP_
#define _HEAD_FIRST_DESIGN_PATTERNS_FACTORY_ABSTRACT_MUSHROOM_HPP_
#include "Pizzaaf.hpp"
namespace HeadFirstDesignPatterns {
namespace Factory {
namespace Abstract {
class Mushroom : public Veggies {
public: virtual std::string toString() {
retur... | [
"jufenghua596@163.com"
] | jufenghua596@163.com |
ebb98fc559812aec1208e14fea1976fb7507c3af | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/libwebm/source/webm_parser/tests/recursive_parser_test.cc | 8965a3e5b49a5d996a696183de5b0012d7f84b3a | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 2,332 | cc | // Copyright (c) 2016 The WebM project authors. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing projec... | [
"jengelh@inai.de"
] | jengelh@inai.de |
446c9c21ebb34c886bb60003b0390ab4de2af2c1 | 589a3a769cfbabee1212dd69c09f9451b97aa0f1 | /StockAnalysis/MovingAverageMetric.cpp | 7228bb405a6927ed082e49b90cb7d05f473caf01 | [] | no_license | henriqueof/StockAnalysis | 10f087957fe47239baa72ba0b4d85618fbee7d64 | 89baebfa81b4d938916c3c6bf13db15423bd18a1 | refs/heads/master | 2020-09-23T04:15:18.535266 | 2019-12-02T14:54:25 | 2019-12-02T14:54:25 | 225,399,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,616 | cpp | #include "stdafx.h"
#include "MovingAverageMetric.h"
MovingAverageMetric::MovingAverageMetric(StockData^ _stockData)
{
stockData = _stockData;
}
void MovingAverageMetric::performSuggestion()
{
Console::WriteLine("Performing Suggestions Based On Moving Average Metric");
// Reference http://www.investopedia.com/ar... | [
"henrique@seatelecom.com.br"
] | henrique@seatelecom.com.br |
0a5790f1a87fc9a1f03ff828eefd7fa5b29cce3e | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/webrtc/modules/audio_mixer/frame_combiner_unittest.cc | b78e9813be1dd375f7c0ca5342486c1cd1c4ee8e | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
... | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 8,808 | cc | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
b235dce2dac1a393a1d310a68e69791ed686d1e4 | 76e0cffe33ceff86dfcb524cb78be3b107d804cf | /NOR3.cpp | ae24e4a206d1245a441927ce9f8264d7707525f4 | [] | no_license | SaraAmir/logic-sim | c01c52fc9ae528e49dfec3cc24fa9bc922fd5660 | f7c23fb8013b0e4c34949cfaca41f73d95737814 | refs/heads/master | 2021-01-10T18:30:11.750049 | 2016-05-20T20:12:00 | 2016-05-20T20:12:00 | 59,300,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | cpp | #include "NOR3.h"
NOR3::NOR3(const GraphicsInfo &r_GfxInfo, int r_FanOut) :Gate(3, r_FanOut)
{
m_GfxInfo.x1 = r_GfxInfo.x1;
m_GfxInfo.y1 = r_GfxInfo.y1;
m_GfxInfo.x2 = r_GfxInfo.x2;
m_GfxInfo.y2 = r_GfxInfo.y2;
}
//void NOR3::Operate()
//{
// //caclulate the output status as the ANDing of the two input pins
//
/... | [
"Sara Amir"
] | Sara Amir |
8286712acd9d9bf0a83cac284058682c5b7a9831 | d6e3150e58f78ef0c2c08f5ef4493b9951c8bb7d | /Review/Chapter11/RootDll/CalculateRoot.cpp | 3a1a4176d47526687454933d8a313adfc32e93b3 | [] | no_license | SuperNova911/MFC-Class | fdba15bc6c456322bd6b758de397cebd4f305f7c | 02d53bc34626f6991ea89ce4eb6c341574a5498a | refs/heads/master | 2021-04-15T15:37:15.289858 | 2018-06-15T03:29:58 | 2018-06-15T03:29:58 | 126,199,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include "stdafx.h"
#include "CalculateRoot.h"
CCalculateRoot::CCalculateRoot()
{
}
CCalculateRoot::~CCalculateRoot()
{
}
int CCalculateRoot::Determinant(double a, double b, double c, double* det)
{
*det = (b * b) - (4 * a * c);
if (*det > 0)
return 2;
else if (*det == 0)
return 1;
else
return 0;
}
d... | [
"suwhan77@naver.com"
] | suwhan77@naver.com |
1978ef981242f9b9260da1bc2c650467c10aa9e1 | 25c05562269dff248858ec4dcdc082df1b0acff1 | /gtest/Digraph_SanityCheckTests.cpp | 49548c9126e5926364834be41f7a58327c3b0bde | [] | no_license | phillipad7/RockRollStopsTheTraffic | df0281566e476c1ca3adf9684202f9b2c222705a | 8dd907e0a470aabac14b0b7a79d0a6eb247ca6c7 | refs/heads/master | 2021-05-08T09:41:30.043239 | 2017-10-17T00:28:53 | 2017-10-17T00:28:53 | 107,197,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,433 | cpp | // Digraph_SanityCheckTests.cpp
//
// ICS 46 Spring 2017
// Project #4: Rock and Roll Stops the Traffic
//
// This is a set of "sanity checking" unit tests for your Digraph
// implementation, provided primarily as a mechanism for ensuring
// that your implementation is compatible with the unit tests we'll
// be using ... | [
"noreply@github.com"
] | phillipad7.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.