blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
49ccec0668a24b58aa28bd840ed198af1a84b08b | 29eb3d1bd7a8d2905faf1eef532f20baddfcb259 | /Public/SDDFileTree.h | ee52011c5df0639815de03fabeca2e661d4eb791 | [] | no_license | alexanderyyg/load | 836b811b5fde30bb6163483ee936fb7714dd3c12 | 94b3a2d38b89c36ac8ee66ac63c8f7535436c6c7 | refs/heads/master | 2020-04-17T21:43:06.320042 | 2019-01-25T07:58:27 | 2019-01-25T07:58:27 | 166,963,024 | 3 | 2 | null | null | null | null | GB18030 | C++ | false | false | 3,103 | h | #pragma once
/* <节点数据结构 */
#include "Widgets/SCompoundWidget.h"
#include "Runtime/Slate/Public/Widgets/Images/SThrobber.h"
#include "Widgets/Views/STreeView.h"
#include "DDFileTreeItem.h"
typedef STreeView<FDDFileTreeItemPtr> SDDFileTreeView;
/**
* <目录树Slate
*/
class strPath
{
public:
strPath()
{
};
FText In... | [
"alexandayyg@hotmail.com"
] | alexandayyg@hotmail.com |
e4d2fc474e12aa5dddb9aa4334a75f57f6b0289c | a7d30caa0ac74c5a77c80be677e115c76dc5027b | /torchvision/csrc/ops/cpu/interpolate_aa_kernels.cpp | 62fec0468500cab6f9b26eebb4603a77ed74d381 | [
"BSD-3-Clause"
] | permissive | testdolphin/vision | e9d9f8d407df70f26f3df990e466e62079a6340d | e35793a1a4000db1f9f99673437c514e24e65451 | refs/heads/master | 2023-04-23T18:13:22.112040 | 2021-05-12T15:58:09 | 2021-05-12T15:58:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,627 | cpp | #include <ATen/TypeDefault.h>
#include <ATen/native/IndexingUtils.h>
#include <ATen/native/TensorIterator.h>
#include <ATen/native/UpSample.h>
#include <cmath>
#include <vector>
#include <torch/library.h>
// Code temporary is in torchvision before merging it to PyTorch
namespace at {
namespace native {
namespace inte... | [
"noreply@github.com"
] | noreply@github.com |
6a6c8cfe9642f19283319b31f1729b34527559a1 | 7a3583cb83f885dbba1db7d6caf395111492936e | /0x06_2D矩阵变换/Andorid/app/src/cpp/GLTriangleRender.hpp | d0fdc92c98dce8813bfb8b3b4d68985df571c689 | [] | no_license | jjzhang166/NDK_Openl_Book | a691211c6e495eb0a0adbb681ea5d11da053d78c | 82fffd0762ea998de7c6cd1d9234dbb2eabd6e30 | refs/heads/master | 2023-03-22T18:35:54.103077 | 2019-04-06T06:45:27 | 2019-04-06T06:45:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | hpp | //
// Created by David.Dai on 2018/10/26.
//
#ifndef ANDORID_GLTRIANGLERENDER_HPP
#define ANDORID_GLTRIANGLERENDER_HPP
#include "GLRender.hpp"
namespace GLDemo {
class GLTriangleRender : public GLRender {
private:
void updateAnimation();
protected:
GLuint mVBO;
public:
GLTri... | [
"dlm@meitu.com"
] | dlm@meitu.com |
0e30951d6087fb745a6716f92b166bb0b49cb7b0 | 93dd7a515053dd3800cc816e08ddbb600bd2f45e | /art/runtime/mem_map_test.cc | b26f56374e432134739cd4343c3e60d81711e596 | [
"Apache-2.0"
] | permissive | linuxandroidmcu/android | 416d69bd68e3e1b4133718ae344cf951a070a079 | 6ebfac58721e49cb0a6e143b32cfc3ad84801999 | refs/heads/master | 2016-09-06T19:13:21.504892 | 2014-05-21T11:04:37 | 2014-05-21T11:04:37 | 19,928,595 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,817 | cc | /*
* Copyright (C) 2013 The Android Open Source Project
*
* 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 app... | [
"linuxandroidmcu@163.com"
] | linuxandroidmcu@163.com |
17d19550c6cffc383240d32117af11f33e9790d8 | 52796ac2c97fc78402dbe8479741ed19265506de | /src/data/stream_reader.h | cce2f5508905d6a33a8cdef4f2134d082abc614f | [
"Apache-2.0"
] | permissive | 4T-Shirt/parameter_server | 0bb88d40c11c10760ec008223989e9f59847835f | ee4e4e5f5d5b724cbf05507dffb4dd1d5f6b7bc7 | refs/heads/master | 2021-01-18T06:22:31.469116 | 2014-11-21T21:02:29 | 2014-11-21T21:02:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,081 | h | #pragma once
#include "data/common.h"
#include "base/shared_array_inl.h"
#include "proto/example.pb.h"
#include "proto/matrix.pb.h"
#include "data/example_parser.h"
#include "util/filelinereader.h"
#include "base/matrix_io_inl.h"
#include "util/recordio.h"
namespace PS {
template<typename V>
class StreamReader {
publ... | [
"muli@cs.cmu.edu"
] | muli@cs.cmu.edu |
f41c242b9b2e98baafd011f0fb67c079306066e4 | 18f1fe434c7582045b2452a3c5ec16f1d6537faf | /exceptions/Source/Exceptions/efi.cpp | 334cebae69c39252c64de8bc911a77e299ddcaac | [] | no_license | DymOK93/machineries | 66907af79889c1858cd375902c7b6b45c5f38f4f | afcf3730491d88996c1d488233143d79e40cb4c1 | refs/heads/master | 2021-12-11T08:05:02.129685 | 2016-11-04T08:00:22 | 2016-11-04T08:00:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,722 | cpp | #include "basic\basic.h"
#include "efi.h"
#include "pe\pe.h"
#include "exc\exc.h"
#pragma warning( push )
#pragma warning( disable : 4100 )
/***************************************************************************************\
| Intrinsic functions |
\*********************************... | [
"anatolymik@gmail.com"
] | anatolymik@gmail.com |
94722db3a55070ee165886ef87e4599010fc8c0a | f53e10c64c47a2d9fdcae010ccdadacc6ce7b03d | /j02/ex01/main.cpp | 8b2b66134256d25d81c3c4a384341a3362684502 | [] | no_license | Elytum/PISCINE_CPP | 81c1fe1cb45834e22ecb60c47848eb96d0188866 | aed8098c08e64ef68b086ced09fb16f656fdb5df | refs/heads/master | 2021-01-18T09:32:36.854884 | 2015-06-26T10:48:20 | 2015-06-26T10:48:20 | 37,461,209 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include <iostream>
#include "Fixed.hpp"
#include <iostream>
int main( void ) {
Fixed a;
Fixed const b( 10 );
Fixed const c( 42.42f );
Fixed const d( b );
a = Fixed( 1234.4321f );
std::cout << "a is " << a << std::endl;
std::cout << "b is " << b << std::endl;
std::cout << "c is " << c << std::endl;
std::cout << "d is "... | [
"achazal@e2r9p13.42.fr"
] | achazal@e2r9p13.42.fr |
0fda7d4f2566a57692f4255158eec4874bc4de79 | f14953ff63ef2322a3aef8d152e8c55bcdc02d8e | /OOP_laba4/OpenStack.h | 14a79c11503b04deb78608c87c7b0f60171f395a | [] | no_license | ivn64/OOP_laba4 | 66ec8281fa1c89917b65ebca972b92d5d671d734 | 6eab5ba3194bc2fc9aad83ed610b056bb32f314d | refs/heads/master | 2021-05-12T18:56:44.514715 | 2018-01-15T07:34:06 | 2018-01-15T07:34:06 | 114,713,800 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 919 | h | #pragma once
using namespace std;
template <class T>
class OpenStack
{
T *shapeStack;
int length, top; // длина и текущий элемент
public:
OpenStack(int);
~OpenStack();
void Push(const T&);
void Pop();
void Print(HDC);
void Print();
};
template <class T>
OpenStack<T>::OpenStack(int n)
{
top = 0;
length = n... | [
"ivn64@yandex.ru"
] | ivn64@yandex.ru |
0ac19a73cb7c117db07254210517c0bf85ca35c8 | 89f9114739f87615cb04573b54be68662bbf3ff5 | /MsgQueue/basic.cpp | d80df40df4091bfd3620de7b65ea322099470086 | [] | no_license | shreyagarg31/Computer-Networks | 7e6f7df992267cda71c00b54b5698ea2b43e6eb0 | b198067fa2926efbf14c39b97b1046b2dc951044 | refs/heads/main | 2023-04-05T16:13:03.450686 | 2021-04-14T12:21:59 | 2021-04-14T12:21:59 | 335,177,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | cpp | #include <stdio.h>
//#include <sys/ipc.h>
#include <sys/msg.h>
#include<string.h>
#include<stdlib.h>
#include<iostream>
#include<linux/msg.h>
using namespace std;
struct mymsg{
long type;
char mdata[512];
};
struct msg {
struct msg* msg_next;
long msg_type;
char msg_spot;
s... | [
"gargshreya757@gmail.com"
] | gargshreya757@gmail.com |
da45e911c89ab6e465b8d4f072e8fc72a1151094 | 7af47ada045a49bce6e907e5b732685efc974b04 | /chromecast/graphics/accessibility/partial_magnification_controller.cc | 10097d18249d31d101c7c0ced0f3a1fab8f03235 | [
"BSD-3-Clause"
] | permissive | Kamahl19/chromium | cef0208a761bfacad99b38a19a06feff923b1f26 | f0afa5b23a63383fd7f2dda88b9005481b70e8c4 | refs/heads/master | 2023-04-14T14:58:06.422054 | 2021-02-16T15:35:54 | 2021-02-16T15:35:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,135 | cc | // Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/graphics/accessibility/partial_magnification_controller.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
991fb5d327b1f42ba14ba2e2c9a1a88263302df8 | 7b8b90aa24b5eb77127a47fe7b9e4d2b2b6a7a58 | /Graphs/Strongly Connected Components (SSCs)/Advanced example.cpp | 86eac45c446743c956794f5bc36c6151079048ba | [
"MIT"
] | permissive | lrussell21/ICPC_Template_Code | 5c4fb9958c23d6e65309178abd87b9b93dba90ff | 0aa5f202c17e2fd8101821685c9ce459a15e2f96 | refs/heads/master | 2023-03-13T01:07:48.604525 | 2021-03-06T17:16:10 | 2021-03-06T17:16:10 | 345,142,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | cpp | // Create a new graph by merging all nodes in a SCC into a single node, then DP
// Problem link: https://cses.fi/problemset/task/1686/
#include <bits/stdc++.h>
using namespace std;
#define ar array
#define ll long long
const int MAX_N = 1e5 + 1;
const int MOD = 1e9 + 7;
const int INF = 1e9;
const ll LINF = 1e18;... | [
"lrussell21@my.whitworth.edu"
] | lrussell21@my.whitworth.edu |
9e83e43456923f28f2fe1bf5766133f096d39597 | 6dc1ba9326e601a413b3420114eaaadef6965a7b | /source/circle3.cpp | c48d613a4a1fad67a60a33d7d51c631939597eb3 | [] | no_license | qkoqhh/ACM-template | f3913cb673f3681d4f8cad899321a11280dd1246 | 906bf641c3fefee2dd71649a05d4a189b64c0641 | refs/heads/master | 2022-05-18T17:40:41.231598 | 2020-04-28T03:13:18 | 2020-04-28T03:13:18 | 259,408,942 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | struct edge{int x,t;edge*next;}e[nm],*h[NM];
int n,m,s,b[NM],v[NM];
int main(){
int _=read();while(_--){
inc(i,1,n)v[i]=0,h[i]=0,b[i]=0;
s=0;
n=read();m=read();
inc(i,1,m)
e[i].x=read(),e[i].t=read(),b[e[i].x]++,b[e[i].t]++;
inc(i,1,m){
if(b[e[i].x]>b[e[i].t]||(b[e[i].x]==b[e[i].t]&&e[i].x>e[i].t))s... | [
"qkoqhh@163.com"
] | qkoqhh@163.com |
0d034a985f2ec4b578349c086a3c589ef24a11a6 | c8c7ca86d2adc1598829fe50ce3814128f8f79c6 | /apps/DeviceTestApp/jni-mt6605/DtaFlowT3T.cpp | 4edf60ed7a2dbb52b1c6b587bd9196b5ccbf08cd | [] | no_license | l33tnoob/p201-packages | c816103e74a8e4a63b1cf721d43285d4db065614 | 61d8160bfaf28eea07a59651aace1f941dc82a4c | refs/heads/master | 2021-05-29T18:51:59.509697 | 2015-07-06T10:40:47 | 2015-07-06T10:40:47 | 39,950,383 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,447 | cpp |
#include "com_mediatek_nfc_dta.h"
#include "DtaFlow.h"
#include "DtaApi.h"
namespace android {
static const unsigned char DTA_T3T_UPDATE_REQ[] =
{
0x08,
0x02,0xFE,0x00,0x01,0x02,0x03,0x04,0x05, //'(NFCID2)
0x01,
0x09,0x00,
0x01,
0x80,0x01,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF... | [
"lihaijiang@infocomiot.com"
] | lihaijiang@infocomiot.com |
f74f22e015364fad34222156a2c9484ab185177b | 42a072d3c53cd78c1ce82b974442d998298284cc | /libalgo/source/structures/projection/ProjectionAzimuthal.h | 0e4f0ccf3e3ac723839ae1129ead5d7c14389368 | [] | no_license | bayertom/detectproj | b359991e2457aa91cb8adf22b585215f768ccf12 | 1ba138ae9a1541ab504e000d5961a4ca3c5cec51 | refs/heads/master | 2021-01-23T03:05:33.525489 | 2017-01-02T00:06:41 | 2017-01-02T00:06:41 | 19,872,193 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,725 | h | // Description: Azimuthal projection, derived from Projection
// Copyright (c) 2010 - 2015
// Tomas Bayer
// Charles University in Prague, Faculty of Science
// bayertom@natur.cuni.cz
// This library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License... | [
"bayertom@natur.cuni.cz"
] | bayertom@natur.cuni.cz |
8fc04e9b96f69265f9f4924f388818667b036dd1 | 5921a87a150a9b3441975a6eac906beff4fe172e | /Triangle.h | e03f8dca25c3c6b3014f0d357c856772084db282 | [] | no_license | GreateChivalrous/Add3 | 62a3009777c8c1fe057350ef0830bf2878cb8ee1 | 012626cc6ce445b6e70b87f2fccd74a423a63513 | refs/heads/master | 2020-05-24T16:19:14.091848 | 2019-05-18T12:24:25 | 2019-05-18T12:24:25 | 187,354,526 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 176 | h | #pragma once
#include "Surface3.h"
class Triangle ://三角形(基类:平面)
public Surface3
{
public:
Vector3 GetGravity();
Triangle();
~Triangle();
};
| [
"noreply@github.com"
] | noreply@github.com |
7480bdb1fb71a0a3e3a448acbca198e376eb553c | 4aeff77cfb37d7152bee3e276c0cf49f3cbd7058 | /project1-old/parse.h | 7f5b28628f173d118de882b3ad8be89f83cc99af | [] | no_license | jace-kline/eecs-678 | f319907be009e917dcec888e636140d268817527 | b884cabdff4a1a24f9b22b3c2ba84adf0b03bf99 | refs/heads/master | 2022-04-26T11:07:50.149052 | 2020-05-01T17:04:59 | 2020-05-01T17:04:59 | 235,698,439 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | h | #ifndef PARSE_H
#define PARSE_H
#define LOGFILE ""
#include <bits/stdc++.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <regex>
class ParseError {
private:
std::string msg;
publ... | [
"jace_kline@ku.edu"
] | jace_kline@ku.edu |
d921f57c91eb0696f46b9751946a56317a31ec8a | 7c90e082badfafed579ee7a6f09fcd49253d7a38 | /TP3_Prog_SpaceSim/laser.cpp | 90c9dc3863be0de3bdc98be3fc7501bd5b1573d8 | [
"MIT"
] | permissive | Arganancer/SpaceSimulation | 81b5fe37e300f280d8653d281c9f1c24ea41efcf | 43364f6613ad690f81c94f8a027ee3708fa58d3d | refs/heads/master | 2020-03-07T15:58:50.397592 | 2018-03-31T20:41:04 | 2018-03-31T20:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | #include "laser.h"
laser::laser(const Vector2f& position, Vector2f direction, float angle):
projectile(position, 4, direction, angle)
{
projectile_damage_ = 25;
max_force_ = 1000;
velocity_ = direction * max_force_;
max_time_ = 1.0f;
set_shape_points(shape_projectile_, 5, 2);
rotation_angle_ = angle;
laser_c... | [
"Arganancer@gmail.com"
] | Arganancer@gmail.com |
7a5662e90f52afbde8f46c184ba85f07b92fb603 | 572024902ee45d7246bceff508f1035f8c464693 | /ui/accessibility/platform/ax_platform_node_win.cc | c331cce7cb059dfd46b23f55e7867af8dce540b6 | [
"MIT",
"BSD-3-Clause"
] | permissive | mediabuff/Prelude | 539a275a52d65e1bf84dc218772ea24fff384391 | 601507c6dc8cf27999ceffc0fef97afba2bd764d | refs/heads/master | 2020-03-12T16:31:18.951711 | 2018-03-27T13:36:22 | 2018-04-05T19:31:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134,024 | cc | // Copyright 2015 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 "ui/accessibility/platform/ax_platform_node_win.h"
#include <wrl/client.h>
#include <algorithm>
#include <vector>
#include "base/containers/ha... | [
"xzwang2005@gmail.com"
] | xzwang2005@gmail.com |
e34a84240bb8b7cc783410179082b0c1c4d4d1c7 | 621a72cd259873a05bb3c2b3471ce84f263e2c73 | /src/qt/editaddressdialog.cpp | df3314d3bed1f679769c8ee0707f5acfa56459fd | [
"MIT"
] | permissive | escherba/SyndicateQT | 64a5d81ea01946f9f95271af651babbb10784aaf | ead166dd04dde98babbe9dea13f3e0ca12dcff27 | refs/heads/master | 2021-01-01T19:48:20.810832 | 2017-07-28T22:09:29 | 2017-07-28T22:09:29 | 98,691,482 | 0 | 1 | null | 2017-07-28T22:09:29 | 2017-07-28T22:03:56 | C++ | UTF-8 | C++ | false | false | 4,278 | cpp | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mo... | [
"hardyahrhar11"
] | hardyahrhar11 |
6ce86df1d114cf3e9710f422db48330c1f45b506 | 40920e760f1e4a995fea25b486c05d1be430bbb7 | /src/closure.cpp | de69d67ba4bc31ef0806235d8648cc1f5f40be32 | [
"MIT"
] | permissive | Place1/node-gir | e2c0f7be9d8fb4160aa8aa0b85a56a1772600a1f | 5920f0014a6ffc5242aa411004a3f7b5a05e0f22 | refs/heads/master | 2021-07-04T22:43:24.269487 | 2019-01-12T07:26:13 | 2019-01-12T07:26:13 | 107,854,543 | 31 | 9 | MIT | 2018-07-09T09:33:23 | 2017-10-22T09:58:05 | C++ | UTF-8 | C++ | false | false | 8,655 | cpp | #include "closure.h"
#include <sstream>
#include "arguments.h"
#include "exceptions.h"
#include "values.h"
namespace gir {
/**
* returns NULL if the signal doesn't exist
* Perhaps we should throw a JS exception instead?
* Perhaps we should throw a c++ exception instead?
* Perhaps we should redesign this function ... | [
"getjamesbatt@gmail.com"
] | getjamesbatt@gmail.com |
3381ffdce06c74235d5880d7ec634859ae9abcac | 40949dec6f7fe389ec7c50086a4b64c7ff7bbc1b | /stringFind.cc | 547fc3a866f0f3f7e13c5b3b9b583e9ed4c5b627 | [] | no_license | yf8848/vscode | 0a554a01c53b307568aaf4207bf374f841975d7a | d48c3acf4f86666408b4fb9a9cbf72566a470e3a | refs/heads/master | 2021-04-12T08:30:00.892280 | 2017-06-16T07:37:24 | 2017-06-16T07:37:24 | 94,519,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cc | #include <iostream>
#include <string>
using namespace std;
int main(int argc, char** argv)
{
string strDot = "hi, didn't you find Mr Brbroun,";
if(strDot.find_first_of(',') == strDot.find_last_of(','))
{
cout<<"just one dot at "<<strDot.find_first_of(',')<<endl;
}
else
{
cout<... | [
"gaofeng4280@163.com"
] | gaofeng4280@163.com |
ab8d72048ca3f0dbc10501f1fcd35844957e35a4 | 4d74537ea00803f6042776b8c7d78e5488371fe3 | /src/IntrospectionXML/tmp/org.allseen.helloworld/helloworldProducer.h | 60ab63c06a2217dd79282f219479dd25edba9680 | [
"MIT"
] | permissive | matchboxmobile/Spectrum | 0a310448e91cdde5576e39ed120de03d3b29d64a | 6f0cd4ebee8aef3a567ea7a4c14f6c8ee8323be9 | refs/heads/master | 2021-01-10T07:17:52.546386 | 2016-02-25T15:24:54 | 2016-02-25T15:24:54 | 52,533,456 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,589 | h | //-----------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// Tool: AllJoynCodeGenerator.exe
//
// This tool is located... | [
"giulio.ladu@matchboxmobile.com"
] | giulio.ladu@matchboxmobile.com |
557aaf76def2434bb296eed333cbc454bd73c2d1 | 5ff21517210837d1a80e818ff34da36a58b34b88 | /src/dataset/dataset.h | eaefd4701354595e65e8b626f7856fd90366beb8 | [] | no_license | gilbo/mnist-active-experiments | ec1b469fa7cbda6becd92f5a87698c05282566b1 | 36897691252fa18d3a5c188a6869a0a327032837 | refs/heads/master | 2021-01-18T13:58:55.534241 | 2012-07-22T00:45:57 | 2012-07-22T00:45:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | h |
#pragma once
#include "getData.h"
#include "features.h"
#include "lottery.h"
#include <vector>
using namespace std;
struct DataRow
{
Image image;
vector<double> features;
int label;
int uid; // unique id
double density;
// used for query s... | [
"gilbert@gilbertbernstein.com"
] | gilbert@gilbertbernstein.com |
8df2aaa1396b200bdb6a75a6d2473d9effece57f | 0d38c8031ea505c656995964fcafc8a0784910d3 | /numbers/nextGreaterElem2.cpp | 890092b0e675fbe8d323256e71e08614e60ae32f | [] | no_license | tang415a/algorithms | ee070d9e4483869133b3ee3c689d916b0fddc358 | 264f8b151d3488e7a7886941bcf7ea84f38534e7 | refs/heads/master | 2023-05-03T00:21:40.456312 | 2023-04-19T01:28:10 | 2023-04-19T01:28:10 | 157,671,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,581 | cpp | /*
Given a positive integer n, find the smallest integer which has exactly the same
digits existing in the integer n and is greater in value than n. If no such
positive integer exists, return -1.
Note that the returned integer should fit in 32-bit integer, if there is a valid
answer but it does not fit in 32-bit integ... | [
"tang415a@163.com"
] | tang415a@163.com |
95eb681c06fcd5a5c1601958cb4e652f702a6bf7 | 46d7d222dc54c63228fd62bcac449b48cdaf9797 | /butano/src/bn_sprite_tiles_manager.cpp | 2647e156fcd5713039442561cc0f82065e5f8bdb | [
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | GValiente/butano | 020fff504c2c4cfde3395855c2b53525549bc3ff | 2e39a999c3547f9f1a1839e1f89d3999f96b31f3 | refs/heads/master | 2023-08-30T15:05:46.091915 | 2023-08-30T03:42:21 | 2023-08-30T03:42:21 | 231,556,327 | 886 | 57 | Zlib | 2023-05-13T20:23:19 | 2020-01-03T09:35:05 | C++ | UTF-8 | C++ | false | false | 34,629 | cpp | /*
* Copyright (c) 2020-2023 Gustavo Valiente gustavo.valiente@protonmail.com
* zlib License, see LICENSE file.
*/
#include "bn_sprite_tiles_manager.h"
#include "bn_vector.h"
#include "bn_string_view.h"
#include "bn_unordered_map.h"
#include "bn_config_sprite_tiles.h"
#include "../hw/include/bn_hw_sprite_tiles.h"
... | [
"gustavo.valiente@protonmail.com"
] | gustavo.valiente@protonmail.com |
1428534997adf7be5abcae822ad7b122774d4f78 | 982a0a0da8450a98e6ae9c92cf9a7667b332ab43 | /db/silkworm/db/stages.hpp | 406ad460b538c250829da5b1f7c1a935f8717d4b | [
"Apache-2.0"
] | permissive | manifoldx/silkworm | 0231aa9849923e80428f99dbb4e69cd64e9e11c5 | 1d454b11c9efba66ac81eb3b39c7c9ed67aefc36 | refs/heads/master | 2023-03-22T05:01:21.372630 | 2021-03-12T17:12:22 | 2021-03-12T17:12:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,868 | hpp | /*
Copyright 2020-2021 The Silkworm Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | [
"noreply@github.com"
] | noreply@github.com |
98eba2fd188b27d7eb25fd335e1189f2d02478a0 | 8fe70a1524ff15932be48a6db935ae850fe5d986 | /arduino/work/asw/display_ift/DisplayInterface.cpp | b65312c67cb5db482ce751fe6808077adea54390 | [] | no_license | nicls67/arduino | 40dfc9c9f975e4371b58ce902d3d88aa7f0e5178 | e5613c85912fb758cb3dd4819945219599133303 | refs/heads/master | 2021-04-03T10:30:07.458177 | 2019-08-19T15:37:10 | 2019-08-19T15:37:10 | 124,957,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,405 | cpp | /*!
* @file DisplayInterface.cpp
*
* @brief Source code file for display services
*
* @date 23 avr. 2019
* @author nicls67
*/
#include <stdlib.h>
#include <avr/io.h>
#include <util/delay.h>
#include "../../lib/String/String.h"
#include "../../lib/LinkedList/LinkedList.h"
#include "../../schedu... | [
"nicolas.simon6790@gmail.com"
] | nicolas.simon6790@gmail.com |
125ffd434b22fad8d3c72e4f71aa89b0fb36f0ea | 716ef048f7e51ae9ab1e7528486c4f4a56f6756f | /examples/ImGui_Example/Renderer/src/Renderer/Font.cpp | f6993dbbc31347425c85e4ae11c9741e04f9c2e0 | [] | no_license | SimoAngelov/K9 | 329323cd969d202e5da77f33181e67763c0331c0 | b84365a86a4089b23f208363b63a4a23f3403072 | refs/heads/main | 2023-05-24T09:59:59.309803 | 2021-06-19T08:58:39 | 2021-06-19T08:58:39 | 364,599,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,939 | cpp | #include "Font.h"
#include <iostream>
namespace K9
{
Font::Font()
: m_mapFontData{}, m_strFont{""}
{
}
Font::~Font()
{
}
bool Font::Load(const std::string& strFileName)
{
m_mapFontData.clear();
m_strFont = strFileName;
/* Support these font sizes */
std::vector<int> vecFontSizes =
{
8, 9, 10, ... | [
"simo.g.angelov@gmail.com"
] | simo.g.angelov@gmail.com |
475c50f36cbd6ecca6f66edce60d3fd8f643ee4b | 1405b5e0077f15e3c5c979a079821363b62642f4 | /sphereTriangles/src/ofApp.h | 8d5b29243ab51ee18b6e6c6fc88c668e4caeb92f | [] | no_license | paigederaedt/OpenFrameworks | b56bee4c27ad198cde3f6312c23e9da9541a826b | f57a53c7eb4514850d4facc1b719a062b6b5d01d | refs/heads/master | 2021-01-19T03:16:51.029308 | 2014-12-06T03:07:55 | 2014-12-06T03:07:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | h | #pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y,... | [
"paigederaedt@gmail.com"
] | paigederaedt@gmail.com |
b855984cbb5c5360d036ae433534946710073cde | c11bd2546e18ed977acdebb5cab76ba76bcaed96 | /src/masternodeconfig.h | fe4096b38ec121028afaa63e1239968ca44625c7 | [
"MIT"
] | permissive | MPHosting/Xrevolution | bf562abf3eda729418212d3a263e2f29b0bbbd12 | 98a1bcd40bcbb24913a1ad9ebaf76bd251be18e8 | refs/heads/master | 2021-01-20T01:19:27.359374 | 2017-04-24T11:11:20 | 2017-04-24T11:11:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,303 | h |
// Copyright (c) 2014-2017 The Xrev Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SRC_MASTERNODECONFIG_H_
#define SRC_MASTERNODECONFIG_H_
class CMasternodeConfig;
extern CMasternodeConfig masterno... | [
"noreply@github.com"
] | noreply@github.com |
d2a8b79358b180b25823b747d551d091921c0a69 | 4b4a3ed2682768aaed2dd0ad4f7b072f4575937f | /main.cpp | 86f44e21be04f0283f62d853bd0f468bd1b0c070 | [] | no_license | sa2304/tree-next-right-pointers | 73a23fb40f4b1c33619b7d4182678edd0f283647 | a0c4db7a009872bec5f4e6256b3ce4a5dfbe6ceb | refs/heads/master | 2023-02-03T20:12:21.752163 | 2020-12-23T05:57:25 | 2020-12-23T05:57:25 | 323,816,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include <iostream>
#include <map>
#include <vector>
using namespace std;
// Definition for a Node.
class Node {
public:
int val;
Node* left;
Node* right;
Node* next;
Node() : val(0), left(NULL), right(NULL), next(NULL) {}
Node(int _val) : val(_val), left(NULL), right(NULL), next(NULL) {}
... | [
"schmidt.ajax@gmail.com"
] | schmidt.ajax@gmail.com |
75d1573d79500de3f963a94a028b8e5d91439b43 | 3c09d1c279c8578791dae535852c06e09efad4a1 | /Projects/Денислав Валериев Данчов/Data Structures/10/ListNode.h | f5750edf8382ef8ec3a8380171c051ade7886c2d | [] | no_license | rosen90/GitHub | f00653f8a65cdffc479b70d2d7ca8f9e103d3eeb | 851d210f2f6073d818e0984fa9daab96e833b066 | refs/heads/master | 2016-09-12T23:57:19.530896 | 2016-05-04T22:09:03 | 2016-05-04T22:09:03 | 58,085,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | h | #ifndef LISTNODE_H
#define LISTNODE_H
template< typename T > class List;
template< typename NODETYPE >
class ListNode
{
friend class List< NODETYPE >;
public:
ListNode( const NODETYPE & );
NODETYPE getData() const;
void setNextPtr( ListNode *nPtr )
{
nextPtr = nPtr;
}
ListNode *getNex... | [
"karadinev@gmail.com"
] | karadinev@gmail.com |
4098df2f0e641210e9dfa45c350d1950aae34f53 | 611c433772e15d08f2445ccf3daab798714c9851 | /吉田学園情報ビジネス専門学校 内山聡/制作作品/2年生制作_2Dシューティング/ソース/sound.cpp | cf514f7a6d9dbb7ae5e66abf3e656807df4c59b7 | [] | no_license | SatoruUchiyama/game | 0be632f05ed6e95bba9f29bcc2497ecc29177946 | 004947983e540e96f7aab3579b48c7d0b4be33a5 | refs/heads/master | 2020-05-21T05:52:23.008849 | 2019-07-12T06:39:28 | 2019-07-12T06:39:28 | 185,923,273 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 10,320 | cpp | //=============================================================================
//
// サウンド処理 [sound.cpp]
// Author : SATORU UTIYAMA
//
//=============================================================================
#include "sound.h"
//*****************************************************************************
// プロ... | [
"jb2017006@stu.yoshida-g.ac.jp"
] | jb2017006@stu.yoshida-g.ac.jp |
869d74e6d2dd0694e6d31cd6dba772ed11ca6108 | 23977c48e5570106e8dc2fa789dfc872e110c5e6 | /ch11/1658.cpp | 7113b10da5105a862cb5829afe2804776a99a58b | [] | no_license | WangQiuc/aoapc-bac2nd | ff4c9e7e803a398cb6ac67f489e73dd6451efdf4 | 53b3ad21296a6d884ac45895d08c5031193ebcc3 | refs/heads/master | 2022-11-28T14:44:14.854103 | 2020-08-03T20:54:27 | 2020-08-03T20:54:27 | 254,982,716 | 0 | 1 | null | 2020-04-12T00:48:59 | 2020-04-12T00:48:58 | null | UTF-8 | C++ | false | false | 2,785 | cpp | // UVa 1658 Admiral
// wangqc
#include<iostream>
#include<cstring>
#include<queue>
#include<vector>
using namespace std;
const int maxn = 2005, inf = 0x3f3f3f3f;
struct Edge
{
int src, dst, cap, flow, cost;
Edge(int s, int d, int k, int f, int w): src(s), dst(d), cap(k), flow(f), cost(w) {}
};
struct MCMF ... | [
"qiuchew1@uci.edu"
] | qiuchew1@uci.edu |
31a2ea5248afa717ecbaf7d0d63e83dc2915e4e8 | 6b5b8f594bd769645514fe41c79413bdd1e1be17 | /Day10.cpp | 0ffd7e6096871375083fd138b987bf0113ad41d9 | [] | no_license | nakru03/30-Days-of-Code | 9ba6dfc1b1a135ab4b7496bdcba83e8d6a297af1 | 2c4ea51b3ed3f5feee570f1a67f1e299cc2284c3 | refs/heads/master | 2020-03-23T01:32:36.204410 | 2018-08-21T12:14:28 | 2018-08-21T12:14:28 | 140,923,439 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include <bits/stdc++.h>
#include <vector>
using namespace std;
int main()
{
int n;
vector<int> arr;
int count =0;
int max =0;
cin >> n;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
for(int i=2; n>0;)
{
arr.push_back(n%2);
n=n/2;
}
reverse(arr.be... | [
"nakru03@gmail.com"
] | nakru03@gmail.com |
144a552ca293b7f4ac5758c03a9e07ec95211e09 | 81b9b8ae0e9cc6cf320a95cf373594599d81fe12 | /Tests/TestPropertyGrid/sampleprops.cpp | e0cc8842fe376fe8f391b759293efb28877492d9 | [] | no_license | mouchtaris/delta-linux | 1041b9dcc549bda2858dcedbc61087bb73817415 | cca8bd3c1646957cb3203191bb03e80d52f30631 | HEAD | 2016-09-01T19:28:43.257785 | 2014-09-02T05:00:54 | 2014-09-02T05:00:54 | 23,297,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,237 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: sampleprops.cpp
// Purpose: wxPropertyGrid Sample Properties
// Author: Jaakko Salli
// Modified by:
// Created: Mar-05-2006
// RCS-ID: $Id:
// Copyright: (c) Jaakko Salli
// Licence: wxWindows ... | [
"lilis@09f5c9fd-6ff0-f344-b9e4-4de1b5e69ea1"
] | lilis@09f5c9fd-6ff0-f344-b9e4-4de1b5e69ea1 |
f7b558abd2200867849a59f1c9bbd6c631c71057 | e098aaff42d46db101037b9e77383c97fc6dbc6d | /assn1 with qt/src/curvea.cpp | f97ef44e757d3804da4c6dfd35ecbd6045dfe709 | [] | no_license | chopinic/MIT-6.836-assignment | 74c455d6e417cfa8ded25f63df3dab6f5571632c | fbf2e1cb0ccb1fce58f0b418b05f7e8ddac73382 | refs/heads/master | 2021-05-23T11:12:53.611143 | 2020-04-28T09:53:59 | 2020-04-28T09:53:59 | 253,260,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,122 | cpp | #include "curve.h"
#include "vertexrecorder.h"
#include <cassert>
using namespace std;
const float c_pi = 3.14159265358979323846f;
namespace
{
// Approximately equal to. We don't want to use == because of
// precision issues with floating point.
inline bool approx(const Vector3f &lhs, const Vector3f &rhs... | [
"yangguangbus@163.com"
] | yangguangbus@163.com |
a15c08481e972bf6bde9ac53c59c3494169d3703 | 4c0328c7fa7805cdd196cf890695ec1a8a438a5f | /devel/include/pal_visual_localization_msgs/VisualLocAddPlaceActionGoal.h | 61cd9f35234db5ce282eb13caf8109baf5396930 | [] | no_license | SebsBarbas/iRob_KTH | d98dfce8692bdd4d32ce3a4d72daa8d022976c0a | c164c9d12efcab56b4871fc5bb5538df5849a42e | refs/heads/main | 2023-01-23T10:49:59.073113 | 2020-12-04T18:49:53 | 2020-12-04T18:49:53 | 318,595,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,601 | h | // Generated by gencpp from file pal_visual_localization_msgs/VisualLocAddPlaceActionGoal.msg
// DO NOT EDIT!
#ifndef PAL_VISUAL_LOCALIZATION_MSGS_MESSAGE_VISUALLOCADDPLACEACTIONGOAL_H
#define PAL_VISUAL_LOCALIZATION_MSGS_MESSAGE_VISUALLOCADDPLACEACTIONGOAL_H
#include <string>
#include <vector>
#include <map>
#inc... | [
"ssbl@kth.se"
] | ssbl@kth.se |
b10b5dc189cbd1abfd905117243af64cfed99d21 | df0100a6031ef3cea1c6e3d9f189bafe095ebc91 | /tests/catch/unit/stream/hipStreamAddCallback.cc | b03aede98b2315d2310b125958943644ba36a578 | [
"MIT"
] | permissive | lthakur007/HIP | d67efd1747676071754edb933af3b790901eb8c4 | 25daff781e9f0bceeb98f9c4349f88392c9e6471 | refs/heads/develop | 2022-03-06T20:59:56.252538 | 2021-12-23T07:44:13 | 2022-02-14T07:36:41 | 409,521,053 | 0 | 0 | MIT | 2021-09-23T09:04:29 | 2021-09-23T09:04:29 | null | UTF-8 | C++ | false | false | 7,910 | cc | /*
Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
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, mo... | [
"noreply@github.com"
] | noreply@github.com |
a3c594eed0da2bc954cac0f2c4d5d3d8664b661a | 295f63009c42b5650d164e47bc48c90f28e4371c | /src/dsnotificationinterface.cpp | 6d46bced07ccca93beb65fdb28da11e609427f7f | [
"MIT"
] | permissive | Hawkkit/HawkkitCore | 648310a232256c3941df6314e025a228165599d6 | a7eac11a706259088c60bb1b9cfc16b20d6ee17c | refs/heads/master | 2020-11-25T11:57:39.307751 | 2019-12-17T15:30:11 | 2019-12-17T15:30:11 | 220,800,053 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,433 | cpp | // Copyright (c) 2014-2019 The Dash Core developers
// Copyright (c) 2019 The Hawkkit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "dsnotificationinterface.h"
#include "instan... | [
"hawkkithub@gmail.com"
] | hawkkithub@gmail.com |
b140815904bfeec375b64dd07a1d93c3fec6690f | 26437a540e7a84ee30cd7a1707ed9002aa7c5d2c | /Attribute.cpp | 8b29fac3b8d7f8172b11a8a06b24f24adb7dad58 | [] | no_license | kageiger/Project4 | 5ad13ac5487f8e92a270e2e6abc7ac929e2dc997 | f68235a1408b22a1f5ac2e8305e07604506cb152 | refs/heads/master | 2021-01-18T02:09:34.951525 | 2015-11-13T03:33:25 | 2015-11-13T03:33:25 | 46,144,401 | 0 | 0 | null | 2015-11-13T20:04:04 | 2015-11-13T20:04:04 | null | UTF-8 | C++ | false | false | 1,543 | cpp | /**
* Attribute.cpp
*
* <#Names#>
* <#Uniqnames#>
*
* EECS 183: Project 4
*
* <#description#>
*/
#include "Attribute.h"
//Sets index and points to 0
Attribute::Attribute() {
index = 0;
points = 0;
}
// gets the value(index) into range so it doesnt go out of bound
int Attribute::getValueWit... | [
"keyariaw@umich.edu"
] | keyariaw@umich.edu |
a363571f597c3d27d03e25762ac2ba03c9669e08 | 736f28aaade32529adfcd67dfd0b5a0ebf63fae7 | /TheCalculator/CalculatorParams.h | 98084f882cda242313945d9720d06d8f52ef81ab | [] | no_license | ShaunMitchell98/TheCalculator | c229ca8979244922cd61be0f3239b5be7b00bbfb | 814c73aca4e1c7f83d88d78846741b0202a32dd8 | refs/heads/master | 2020-05-31T20:05:48.057280 | 2019-09-18T20:42:01 | 2019-09-18T20:42:01 | 190,468,336 | 0 | 0 | null | 2019-09-02T21:35:36 | 2019-06-05T21:03:46 | C++ | UTF-8 | C++ | false | false | 269 | h | #pragma once
#include <vector>
enum AngleUnit {
Degrees,
Radians
};
struct CalculatorParams {
bool EditingNumber = false;
bool Mod = false;
Platform::String^ DisplayOutput = "0";
std::vector<Platform::String^> Tokens;
AngleUnit Unit = Radians;
}; | [
"noreply@github.com"
] | noreply@github.com |
4185dc25321c927ce67ebb971d1f18a69be4b392 | 1468fc3f81a83fbe0444d773ef90ff8dc90c3d12 | /src/test/util_tests.cpp | ea9ce9fffa5687b1b03cd4f4c0e298d2e4aace70 | [
"MIT"
] | permissive | DigitSF/Digit | 52c439f42e572389a74111546e68fd21edde63e2 | 14c070a28107666a78d0e28306d5f54ced5646c3 | refs/heads/master | 2020-04-22T01:43:17.833862 | 2014-07-16T19:44:38 | 2014-07-16T19:44:38 | 20,303,654 | 0 | 2 | null | 2014-06-25T14:10:27 | 2014-05-29T18:19:34 | TypeScript | UTF-8 | C++ | false | false | 11,689 | cpp | #include <vector>
#include <boost/test/unit_test.hpp>
#include <boost/foreach.hpp>
#include "main.h"
#include "wallet.h"
#include "util.h"
using namespace std;
BOOST_AUTO_TEST_SUITE(util_tests)
BOOST_AUTO_TEST_CASE(util_criticalsection)
{
CCriticalSection cs;
do {
LOCK(cs);
break;
... | [
"dsf.noreply@github.com"
] | dsf.noreply@github.com |
c3fff81238a14a6fcd5489ddbe201374289eacdd | ebf1bb0e33c3a3748ae8e2e4ad5ad0faf2abde21 | /ch13/Fig13_06/fig13_06.cpp | e1282fcfb203421e0d88b2d9d08216172c5a5e89 | [] | no_license | salehi/deitel-and-deitel-c-persian | d6cdb963f9e6f64f37ca0d346f198dda0e1153c5 | a25c2e530ea9fefffd6740247c70e9ec465cc188 | refs/heads/master | 2022-11-23T14:29:08.811553 | 2020-07-27T09:15:30 | 2020-07-27T09:15:30 | 282,849,119 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,635 | cpp | // Fig. 13.6: fig13_06.cpp
// Aiming a derived-class pointer at a base-class object.
#include "CommissionEmployee.h"
#include "BasePlusCommissionEmployee.h"
int main()
{
CommissionEmployee commissionEmployee(
"Sue", "Jones", "222-22-2222", 10000, .06 );
BasePlusCommissionEmployee *basePlusCommiss... | [
"salehi1994@gmail.com"
] | salehi1994@gmail.com |
84613e7e5a4df5e25db9140f36302a15cd025101 | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/Liv_Makeup_ShopClothingCategory_functions.cpp | 8099d97b335c15dbd020caf665b8dd922168924c | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
39067943a07e9d73b0a41bc22d55ad76e5934564 | 93de7999d11432b7ecaa8383df63310afa9f62b3 | /OS2/PM/Server/drivers/PMWindow/Fs_PMdev.cpp | 17f3e003d610daf6f0a2c9494f9164ffffd60b1d | [
"BSD-3-Clause"
] | permissive | haizzus/SYSTEM-OS-OSFree | bc5745cf4192f3d8d8a59c7369c9a029fd071f3f | 20d79864a58cb7f1abe1622dfb259b99750dbeff | refs/heads/master | 2023-07-25T00:57:10.812543 | 2015-04-15T17:19:54 | 2015-04-15T17:24:07 | null | 0 | 0 | null | null | null | null | IBM866 | C++ | false | false | 17,410 | cpp | /*
$Id: Fs_PMdev.cpp,v 1.5 2002/11/18 13:24:53 evgen2 Exp $
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
//Things marked as 'temporary' need to resolve. For now no messages from
//hardware.
#define POKA 0
/* Includes to use OS/2 PM. */
#define INCL_DOSERRORS
#define INCL_DOSPROCESS
#define INCL_... | [
"miturbide@nextstep.com.ec"
] | miturbide@nextstep.com.ec |
e0e2985c4b603e4dd703c105e6aa9bf5648841b6 | 2db6ccfa9fbba541eab74738940b39f7ffcfdaf0 | /C语言/函数/作业4二维数组的最小值.cpp | 0b3271e81354e7f1549b3042d57d3ea13d0ebdcc | [] | no_license | 420xincheng/c | 5852a2878486dc6676a8fad7a13690af230c8823 | 4a097f5a0ffe733c98beece1ec1850c5ae611b25 | refs/heads/main | 2023-06-14T18:06:21.741291 | 2021-07-03T10:49:08 | 2021-07-03T10:49:08 | 342,118,709 | 0 | 0 | null | 2021-02-26T07:01:41 | 2021-02-25T04:08:11 | C++ | GB18030 | C++ | false | false | 449 | cpp | /* 求二维数组的最小值
*/
#define N 3
#define M 4
#include <stdio.h>
void main ()
{
int min(int x[M][N],int a,int b);
int m,n;
int i,j,a[M][N];
scanf ("%d %d",&m,&n);
for (i=0;i<m;i++)
for (j=0;j<n;j++)
scanf ("%d",&a[i][j]);
printf ("min=%d\n",min(a,m,n));
}
int min(int x[M][N],int m,int n)
{
int a=0,b=0;
int i,j;
... | [
"1844733921@qq.com"
] | 1844733921@qq.com |
f338169690a3f6930902fedeb8e6690b7e79bdb4 | 82101cfb8e27d8ec45f11eba9d9b345bb60849e1 | /(C-C++) Lap_Trinh_Dev/Test_thu/bai_3/bai3_2.cpp | 49c3cd2246a5b677e1062a55f29b45cba4222313 | [] | no_license | Iamthankyou/Dev | 3437c29fd501fd9e6726fdc7f33027d9ba3bd753 | 40dc8f928f87cd47935aa80507e9d6094f39055f | refs/heads/master | 2023-01-24T02:08:55.178932 | 2020-12-04T15:20:37 | 2020-12-04T15:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef struct{
char ht[100];
int N,K;
}DangL[100],D;
void nhap(FILE *f,int *n,DangL *a)
{
fscanf(f,"%d\n",n);
for(int i=1;i<=*n;i++)
{
fscanf(f,"%[^\n]s",&(*a)[i].ht);
fscanf(f,"%d %d\n",&(*a)[i].N,&(*a)[i].K);
}
}
void phan1(FILE *f,int n,DangL a)
{
for(int i=1... | [
"54834124+LeQuangTho@users.noreply.github.com"
] | 54834124+LeQuangTho@users.noreply.github.com |
9f9fb95794e5a9a913295239694460ca810c1dc8 | ffdde4e5ad650d47fd4b4ec2ba30b7b0e66f18af | /剑指offer/06树的子结构.cpp | 7555701fbe6b37dfb95dbee3364460a334ef3eb8 | [] | no_license | Isanti2016/Offers | 2dac85984ad0a4d13e78af10c46b0704d990d369 | 33af8b5a2c352cca9adae6a629cea21af22b1a2c | refs/heads/master | 2020-12-30T13:38:25.702138 | 2017-08-07T09:35:27 | 2017-08-07T09:35:27 | 91,228,646 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,490 | cpp | #include <iostream>
using namespace std;
struct TreeNode
{
int val;
TreeNode* left, *right;
};
void CreateTree(TreeNode* *T);//前序遍历创建二叉树,用char字符串创建,char必须是全局遍历,不能作为参数,不然递归str会回退
void CreateBitTree(TreeNode* *T);//书上的创建二叉树,用控制台输入
void PreOrderTraverse(TreeNode* T);//前序遍历二叉树
bool IsSubTree(TreeNode* pRoot1, TreeNode... | [
"wangbeibei2015@gmail.com"
] | wangbeibei2015@gmail.com |
04b4c132ac13e75de441215ba0f434318d5045a8 | 72fbf601c07acf08f3e59e4987c3d6b2c3d5fa1a | /2D Platformer/Library/Il2cppBuildCache/WebGL/il2cppOutput/Generics1.cpp | dea60fb21ab3c0e15475ce24831abd08b7897305 | [] | no_license | VuongAlexander/Unity-2D-Platformer | 4e702e40cf62578d642599068360f4ff1ebe625a | 2e422f2a27546267c097705576234cf6c06bb4b9 | refs/heads/main | 2023-04-21T13:40:54.178674 | 2021-05-07T08:44:11 | 2021-05-07T08:44:11 | 497,757,026 | 1 | 0 | null | 2022-05-30T01:58:11 | 2022-05-30T01:58:10 | null | UTF-8 | C++ | false | false | 1,727,731 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"nguyenkevin1162@gmail.com"
] | nguyenkevin1162@gmail.com |
2be3810260e15986921c1cee7c577e45c09d2f53 | b46cdad0c8b41d55485751f9c92a8eda183487a9 | /content/browser/android/overscroll_controller_android_unittest.cc | a48d6e49c1b3071765dc31890077e6b5f3642a96 | [
"BSD-3-Clause"
] | permissive | keyyangxie/chromium-1 | 8d0e1fd0b7086cf5601a0e3817a3f7355b53d041 | bc3b62e68ffca69fa4b78198241ec50a4ce7ec55 | refs/heads/master | 2023-02-23T14:23:17.212426 | 2017-08-31T22:34:01 | 2017-08-31T22:34:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,149 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/android/overscroll_controller_android.h"
#include <memory>
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
79c8639f646a134681be6705e2e4066b4b54bc2e | ea6722e43c1a17ece2a69110f7b17765e1e35a61 | /Empleado.cpp | 018c27eb3c6f082610e6a3775214955f1d743df3 | [] | no_license | danielsosa117/Gymnasio-de-Doraemon | 82727c4e3c76d84ca6efce085713a82d68ef585e | 2d570e4e951b9bda8afb3a1b83b557bd2b5905a3 | refs/heads/master | 2020-03-29T15:01:27.448905 | 2018-10-31T21:43:24 | 2018-10-31T21:43:24 | 150,041,108 | 1 | 0 | null | 2018-10-15T05:47:13 | 2018-09-24T01:26:23 | C++ | UTF-8 | C++ | false | false | 3,412 | cpp | /*
IMPLEMENTACION DE LOS ATRIBUTOS
*/
#include <string>
#include "Empleado.h"
#include <iostream>
using namespace std;
/*
Nombres: Juan Sebastian Reyes Layton
Daniel Sosa
Carlos Andres Angel
Fecha: Septiembre 15 de 2018
Descripci�n General: En este archivo estan todas la implentaciones de los m�todos
declarad... | [
"danielsosa117@javerianacali.edu.co"
] | danielsosa117@javerianacali.edu.co |
c2bc1c30f2c671a958b646359c325066f3aa328c | e51d009c6c6a1633c2c11ea4e89f289ea294ec7e | /xr2-dsgn/sources/xray/math_permutations.h | dc99394b0a18f980f489e4eb69ca4909218e4ad1 | [] | no_license | avmal0-Cor/xr2-dsgn | a0c726a4d54a2ac8147a36549bc79620fead0090 | 14e9203ee26be7a3cb5ca5da7056ecb53c558c72 | refs/heads/master | 2023-07-03T02:05:00.566892 | 2021-08-06T03:10:53 | 2021-08-06T03:10:53 | 389,939,196 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 13.07.2011
// Author : Sergey Chechin
// Copyright (C) GSC Game World - 2011
////////////////////////////////////////////////////////////////////////////
#ifndef MATH_PERMUTATIONS_H_INCLUDED
#define MATH_PERMUTATIONS_H_INCLUDED... | [
"youalexandrov@icloud.com"
] | youalexandrov@icloud.com |
0b55f7c0e506e693ac48a3e1048148493104298a | 0666caf761729b08b723ff1ff7388a383f20b1aa | /OS Codes/EnhancedSecondChance/SecondChance.cpp | 81cce34683a7cb1806714583a3cf72aa74e820cf | [] | no_license | Shreyans121/OS-Codes | 57d508a9f5ced9183b7b924313d9de92d3d7e62a | 8269c0c08438eee7562be3cdb95c4fd8c76b3939 | refs/heads/master | 2023-05-28T08:18:40.308033 | 2021-05-26T13:46:57 | 2021-05-26T13:46:57 | 354,494,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | cpp | #include<iostream>
#include<cstring>
#include<sstream>
using namespace std;
static bool findAndUpdate(int x,int arr[],
bool second_chance[],int frames)
{
int i;
for(i = 0; i < frames; i++)
{
if(arr[i] == x)
{
second_chance[i] = true;
return true;
}
}
return false;
}
static int replaceAndUpdate(... | [
"jainshreyans121@gmail.com"
] | jainshreyans121@gmail.com |
eb6916d1233cd374234bd43c476edb52ec136b51 | cb3e816a281e49aff1b7a72e71db21eb64a3fe77 | /indeednow-finalb-open/c.cpp | 86e0844f809172ff5c4d667bb7562d0bc5d8fbbe | [] | no_license | noy72/atcoder | 2a8cf4f7ad085e0e48cb1b3b71db055fa8b4a893 | 6b601f7631a9a61d3c5bcdd9e6ab1e4932134293 | refs/heads/master | 2018-12-27T11:33:54.285973 | 2018-10-24T07:44:56 | 2018-10-24T07:44:56 | 115,201,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | cpp | #include<bits/stdc++.h>
#define range(i,a,b) for(int i = (a); i < (b); i++)
#define rep(i,b) for(int i = 0; i < (b); i++)
#define all(a) (a).begin(), (a).end()
#define show(x) cerr << #x << " = " << (x) << endl;
using namespace std;
#define int long long
const int INF = (1LL << 60);
signed main(){
int n;
string s;... | [
"kuma.tola3@gmail.com"
] | kuma.tola3@gmail.com |
85cc6a4297fee0b3977d46bb000ca6d72d6cac4d | c6bddd88916e6c8697a9e02485bd22c58d76bcec | /GeneratedPlaceholders/Engine/MaterialExpressionViewSize.cpp | f5a6b5905eca9d1047b5a9f0dea9fcef6f695f5c | [] | no_license | GIRU-GIRU/Mordhau-Unofficial-SDK | 18d13d62d746a838820e387907d13b0a37aed654 | f831d7355cf553b81fb6e82468b3abf68f7955aa | refs/heads/master | 2020-07-06T03:36:48.908227 | 2020-04-22T13:54:00 | 2020-04-22T13:54:00 | 202,872,898 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 41 | cpp | #include "MaterialExpressionViewSize.h"
| [
"45307738+crypdos@users.noreply.github.com"
] | 45307738+crypdos@users.noreply.github.com |
24def06d9ababecb27f3412872909262d8a0e0f8 | 5b2f2a8e083b117fecb26dcc693968a7d8470b08 | /PointerSample/main.cpp | a8ed5c79790a7e45b786050b8376ecee1df6a10b | [] | no_license | Lacty/C-Sample | 53516d72b7c8ac76312fa28dd5fd376a3178ca19 | 5ca7704e2b0afac42251b0e00b1f7e3aaae9ca74 | refs/heads/master | 2020-05-30T21:51:13.423944 | 2015-07-01T18:04:46 | 2015-07-01T18:04:46 | 30,820,781 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp |
#include <iostream>
class Test01 {
private:
float x[10];
public:
Test01() {
for (int i = 0; i < 10; ++i)
{
x[i] = i;
}
}
float* getX() {
return x;
}
};
class Test02 {
public:
void Show(float* x) {
std::cout << x[0] << std::endl;
}
};
int main()... | [
"akira206@gmail.com"
] | akira206@gmail.com |
e39e96a244862629861a13f47e64c705f2fda91b | 6bdeefa16065fcad160c47c188c3de44ecaea6aa | /XJOI/1020/A/mk.cpp | 9509e58d88e3d83b72902c4d77893f08d4455466 | [] | no_license | DolaBMOon/CodeerStf | 6fdbe830cab3d4e23035537ce0cbb6ef8d3a89cb | 3ee7b66e1c28c48fae72a5f65a9b8270c41127da | refs/heads/master | 2021-09-25T16:27:51.952473 | 2018-10-24T06:35:20 | 2018-10-24T06:35:20 | 146,592,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | cpp | #include<cstdio>
#include<cstring>
#include<cassert>
#include<algorithm>
#include<iostream>
#include<vector>
using namespace std;
#define Whats(x) cout<<#x<<" is "<<x<<endl
#define Oops() cout<<"!!!!!!!!!"<<endl
#define Divhim() cout<<">>>>>>>>>"<<endl
#define Divher() cout<<"<<<<<<<<<"<<endl
template<typename T> bo... | [
"dolabmoon@gmail.com"
] | dolabmoon@gmail.com |
ce43392ecb2864e1f8f6968eacc47f972024310a | 20c4ebb00cdbc9c62bedbac07d7f87dd3c787e5e | /Units.hpp | 3b725c037f5672651340c86a903865071cb9add5 | [] | no_license | ohmesdaddy2/Garden-gnomes-game | 1bb2225d1d871125b907af5212ff899e4e1103de | dd28262dd3dc49a2fab24589367729f6dfd8f519 | refs/heads/master | 2020-04-27T05:13:06.464286 | 2013-02-26T20:43:04 | 2013-02-26T20:43:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | hpp | /*
* File: Units.hpp
* Author: garys
*
* Created on February 21, 2013, 8:56 PM
*/
#ifndef UNITS_HPP
#define UNITS_HPP
#include "enemy.hpp"
#include "wrapper.hpp"
#include "directions.hpp"
#include "ranging.hpp"
template <class T> class units{
float x, y;
short damage;
short health;
bool speci... | [
"garys@garys-desktop"
] | garys@garys-desktop |
5ed87ab38996e67123d24675a929d0516ac54d97 | 7e094a7827ea5b2b9766380a926307563955e781 | /stoch_optimization/src/xnes_math.cpp | 70704a15c84c6a02688ccec91d22d1bca66cd8f9 | [] | no_license | Alisa-Shabalina/example | 8fe680b12a30a47a731950f153f73be7e03b9922 | debd591cbdbcf6567b780a34b72212d4f68f1dfb | refs/heads/master | 2021-01-02T19:40:15.785084 | 2020-02-12T12:44:19 | 2020-02-12T12:44:19 | 239,769,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,476 | cpp | #include "..\include\xnes_math.h"
Matrix::CmpIndex::CmpIndex(const Matrix& lambda, std::vector<unsigned int>& index)
: m_lambda(lambda)
, m_index(index)
{
}
bool Matrix::CmpIndex::operator ()(unsigned int i1, unsigned int i2) const
{
return (m_lambda(i1) > m_lambda(i2));
}
//////////////////////////////////////... | [
"43152085+Alisa-Shabalina@users.noreply.github.com"
] | 43152085+Alisa-Shabalina@users.noreply.github.com |
1610cd373d87e803544c9d622f57bdfa05b75836 | 758277d98a90c1596da6d81bf43c878555048cd9 | /Src/MirageEngine/Core/Framework/Parallel/TaskManager.cpp | c77053d15fd46252e9b807f3b3d255ac1b15fa57 | [] | no_license | MirageAmazing/MirageEngine | e6bc637c010a911c9bebe4010d48f65a8fbe195d | 8063cbfd4157491303c6d07de88ba06c55c0082a | refs/heads/master | 2020-12-03T00:41:20.905435 | 2018-08-27T13:28:38 | 2018-08-27T13:28:38 | 96,056,559 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include "TaskManager.h"
namespace Mirage {
namespace Framework {
namespace Parallel {
atomic_bool TaskManager::isShutdown;
}
}
} | [
"yangkangxierong@gmail.com"
] | yangkangxierong@gmail.com |
fdd522de27c4641fb93b4f0a092da774d3413ebd | 68f820f7b34c51f0c9a3c34dd8c47cb3e4835c21 | /src/jsonv/array.hpp | 9af5789dac458a191c5a56c82183ee548f33c2c4 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | respu/json-voorhees | 4a1fceced566de19fd384ad757c2749cb45c1c28 | bc47276aa4ab7d87dadc147e04380e83cdc1e3e9 | refs/heads/master | 2021-01-17T08:56:20.421215 | 2015-08-18T13:56:18 | 2015-08-18T13:56:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | hpp | /** \file
* Internal-only header for array-related values.
*
* Copyright (c) 2014 by Travis Gockel. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it under the terms of the Apache License
* as published by the Apache Software Foundation, either version 2 of the... | [
"travis@gockelhut.com"
] | travis@gockelhut.com |
fe72ad37e8969e3a854447593aef4f4b7d5dd144 | 25530bb0da97911d147a6d29ae9bc332566cbe55 | /FluidEngine/Test/Test/GridFluidSolver3_test.cpp | a9e06b3190ffabcaf3508a1c1946ef4bd486205c | [] | no_license | LCM1999/FluidEngine | 579a84702dce2a33ed2803a5acb701750389b916 | 0814ef8e4f740a170351ae4c3b90f23856020104 | refs/heads/master | 2022-05-05T05:12:56.179735 | 2019-10-31T03:38:27 | 2019-10-31T03:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | cpp | #include <gtest/gtest.h>
#include "Engine/Simulation/GridFluidSolver3.h"
using namespace Engine;
TEST(GridFluidSolver3, Constructor) {
GridFluidSolver3 solver;
// Check if the sub-step solvers are present
EXPECT_TRUE(solver.advectionSolver() != nullptr);
EXPECT_TRUE(solver.diffusionSolver() != nullptr)... | [
"1579148717@qq.com"
] | 1579148717@qq.com |
9378c56ff2bc8212128a376b4d4966f61050292a | 8413273bab84228dad6ff5247f6d581b7796d142 | /sample/sdl/pacman/SDLSingleton.cpp | f73796b6eaa5c2d4858ec27bd2fbc6542868bc8d | [] | no_license | pdpdds/yuzaos | 91b6f5bb51583da3827594489fc700821bc5cd6a | ce3b6d0907f7be470fcbc408382a20e2b75e9ef2 | refs/heads/master | 2023-05-01T09:51:21.007740 | 2023-04-27T08:37:42 | 2023-04-27T08:37:42 | 289,303,507 | 28 | 5 | null | 2021-03-20T14:58:37 | 2020-08-21T15:30:10 | C | UTF-8 | C++ | false | false | 1,731 | cpp | #include "SDLSingleton.h"
SDLSingleton* SDLSingleton::m_pInstance = 0;
SDLSingleton::SDLSingleton()
{
m_pInstance = 0;
}
SDLSingleton::~SDLSingleton()
{
SDL_DestroyTexture(m_pGameTexture);
SDL_DestroyRenderer(m_pRenderer);
SDL_DestroyWindow(m_pWindow);
SDL_Quit();
}
bool SDLSingleton::Init... | [
"juhang3@daum.net"
] | juhang3@daum.net |
0fe7ecbb1b75b35631756b8a202286d515ed6fa2 | d7e41f16df202fe917d0d6398cb7a0185db0bbac | /include/wise.kernel/dbc/dbc.hpp | ffc5cf72caca53165920903a1b0fd193e8e684ca | [
"MIT"
] | permissive | npangunion/wise.kernel | 77a60d4e7fcecd69721d9bd106d41f0e5370282a | a44f852f5e7ade2c5f95f5d615daaf154bc69468 | refs/heads/master | 2020-12-28T16:17:29.077050 | 2020-05-18T15:42:30 | 2020-05-18T15:42:30 | 238,401,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | hpp | #pragma once
//! odbc implementation is based on dbc under MIT license.
//!
//! Copyright (C) 2013 lexicalunit <lexicalunit@lexicalunit.com>
//!
//! The MIT License
//!
//! Permission is hereby granted, free of charge, to any person obtaining a copy
//! of this software and associated documentation files (the "Softwa... | [
"npangunion@gmail.com"
] | npangunion@gmail.com |
5851036ca7d5211ee082ab11f2c401942d9309fe | eb2ae59fff2677a23542bc1758b646411f2d07b3 | /LeetCode/0083_Remove-Duplicates-from-Sorted-List.cpp | 6e0b7206a63815e44c0883bde3d5bcb2843505b4 | [] | no_license | yakode/CandCPP-practice | 8719c9d1c4fe72d7600fbbe6044fecc9c35d1ee3 | c3bdd7d3f5c758073ae4e469cd60cc413fa29173 | refs/heads/master | 2023-08-20T22:27:46.944395 | 2023-08-18T12:40:29 | 2023-08-18T12:40:29 | 216,139,303 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | class Solution{
public:
ListNode* deleteDuplicates(ListNode *head){
if(!head) return head;
ListNode *cur = head;
while(cur->next){
if(cur->val == cur->next->val){
cur->next = cur->next->next;
}else{
cur = cur->next;
}
... | [
"y8976c@gmail.com"
] | y8976c@gmail.com |
922b838b9977f51a48040c02af6170f9fa6c40d8 | f78ce68c2ebf6f69313b1df47d0bc1d52f441290 | /qt/widgets/BinaryFileHeaderViewer.cpp | 98c2df67b4eaf3ec69c8a55229f40752593381f4 | [] | no_license | alalazo/seismictraces | 745b2a4be4984cde080aa09a8c448fc2346cf811 | 72434c8e800404046d16927cb6f37db2729aa706 | refs/heads/master | 2016-08-12T07:00:37.765155 | 2015-04-04T08:27:34 | 2015-04-04T08:27:34 | 53,086,814 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include "BinaryFileHeaderViewer.h"
#include "ui_BinaryFileHeaderViewer.h"
BinaryFileHeaderViewer::BinaryFileHeaderViewer(QWidget *parent) :
QWidget(parent),
m_ui(new Ui::BinaryFileHeaderViewer)
{
m_ui->setupUi(this);
m_ui->tableWidget->setRowCount(10);
m_ui->tableWidget->setColumnCount(2);
m_u... | [
"alalazo@users.noreply.github.com"
] | alalazo@users.noreply.github.com |
e4d3853eeb2c69932e1d4ad0510716ca41f3af43 | 221ad05902f966f85104c473afb33a84f21fccae | /GFG/G4G-Solutions/postorder_traversal_recursive.cpp | d239668267ab2f50c9b0b10dbbf1ed79142fea29 | [
"MIT"
] | permissive | vijay-jaisankar/Competitive-programming | ca698d3c697ba84ffdc3a611c72120e0b067f65f | 729903b3b0ec8495177f4c6f71863c4aecf47046 | refs/heads/master | 2022-12-27T13:03:14.325486 | 2020-09-30T16:28:01 | 2020-09-30T16:28:01 | 299,981,004 | 0 | 0 | MIT | 2020-09-30T16:24:03 | 2020-09-30T16:24:02 | null | UTF-8 | C++ | false | false | 2,842 | cpp | // https://practice.geeksforgeeks.org/problems/postorder-traversal/1
//Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
// Tree Node
struct Node
{
int data;
Node* left;
Node* right;
};
// Utility function to create a new Tree Node
Node* newNode(int val)
{
Node* temp = new Node;... | [
"vijayjaisankar.vj@gmail.com"
] | vijayjaisankar.vj@gmail.com |
97f3258dd1d7f14f2047fbfeb7466a4273bf15e4 | 2922f5512a4741f1cc084a0857704fa2c88fcce9 | /engqtest/u_s_poly_sym.cpp | 143683e17fc1c977f9e542e6bde94ce5fae11f5d | [] | no_license | RickKoenig/engq | 3544a7c01ff6b05c732a19607ee5424e0086e7f3 | 87ea08727bc0aea508221f0210e1f8f52ef066b9 | refs/heads/master | 2023-07-26T06:35:31.377976 | 2022-04-05T05:52:53 | 2022-04-05T05:52:53 | 242,048,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,494 | cpp | // simple tests and one time utils
#include <m_eng.h>
#include <l_misclibm.h>
#include "u_states.h"
#if 0
(a+bw+cw2)3+(a+bw2+cw)3 ==
+ 2a^3
+ 2b^3
+ 2c^3
- 3a^2b
- 3ab^2
- 3a^2c
- 3b^2c
- 3ac^2
- 3bc^2
+ 12abc
and is a symmetrical polynomial
((a+bw+cw2)3-(a+bw2+cw)3)2 ==
- 27a^4b^2
- 27a^2b^4
- 27a^4c^2
- 27b^4c^2
... | [
"mkoeni@sbcglobal.net"
] | mkoeni@sbcglobal.net |
8aa3f6b2b46d33a2619dadba81aad480c041961c | f1413abb8aeba69c40893e20fd06dc7de6a54d64 | /util/uniquestringpair.cpp | cf52c0087046be61d02b54ef4457bf739683a46e | [] | no_license | datalurkur/Bushido-Mongers | 5ae91e1e738a8dd501f50ff6af96e9ecd5482877 | e3cad44fc8e019373c73f8bb77a0a9d58ce83915 | refs/heads/master | 2016-09-09T22:51:05.839055 | 2014-12-19T00:27:46 | 2014-12-19T00:27:46 | 6,514,450 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include "util/uniquestringpair.h"
UniqueStringPair::UniqueStringPair(const string& a, const string& b) {
_pair = (a > b) ? make_pair(a, b) : make_pair(b, a);
}
const string& UniqueStringPair::first() const { return _pair.first; }
const string& UniqueStringPair::second() const { return _pair.second; }
bool Unique... | [
"datalurkur@gmail.com"
] | datalurkur@gmail.com |
d799aaea5c8d3c0ca4770e7c43b3a8fb5d55196f | 8bb55b66cfb6b3bf8bbe594bffc5ce1cc47114c7 | /Altair101/development/clockLedDisplay/clockLedDisplay.ino | eccc291ed5ef470be2a46dc5ae0be0e8f60df5cb | [] | no_license | tigerfarm/arduino | bdc2400da3edcf9567d77808b57aaa5600ec8f69 | b7a37084300e57f0b53956d4619c1f3bca599e2d | refs/heads/master | 2023-05-12T10:06:46.847359 | 2023-05-02T17:39:46 | 2023-05-02T17:39:46 | 163,708,504 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 7,082 | ino | // -----------------------------------------------------------------------------
/*
Clock with LED lights for diplay.
12 lights, one for each hour.
3 lights for the tens part of the minutes.
4 lights for the ones part of the minutes.
Example, 23 minutes is: 010 0011.
+ 2, binary 010, for the tens.
+ 3, b... | [
"tigerfarm@gmail.com"
] | tigerfarm@gmail.com |
ff915ae7dd24cd3a56af17bac1f2001baf3bcdfb | c97098b838ef5968431c716bd13f4f063412002e | /old.good/hotengine/OeSO/htmlHello/htmlHelloView.cpp | 88232a97ea3079d36815e02fe8b7e3a9a22615b8 | [] | no_license | hackerlank/usnap | 9cc6f2969639c529cd81a4f4662e81850dd80465 | 2ab43c81c85ddb3d3aa23a15905d965d14710c2b | refs/heads/master | 2020-06-11T00:14:53.268772 | 2012-10-15T09:51:46 | 2012-10-15T09:51:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,876 | cpp | // htmlHelloView.cpp : implementation of the CHtmlHelloView class
//
#include "stdafx.h"
#include "htmlHello.h"
#include "htmlHelloDoc.h"
#include "htmlHelloView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////... | [
"pub.lenik@bodz.net"
] | pub.lenik@bodz.net |
7e668d700f4b14bbfbbb946d0741f852902820a7 | 50e3bd467497cce6bff0d647b9d9a906a640b938 | /tensor_computing/src/matmul.cpp | b66b8e8203d7016fe3f48017589b4c433365518a | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | nihui/bolt | fca328c996d7cd0bbda72231ac28b8d2c4cdeef2 | 4d841aa34cb3be0a3bdc3ebf574a168ec5aa18ac | refs/heads/master | 2020-09-23T19:46:18.725282 | 2019-12-03T01:31:05 | 2019-12-03T01:31:05 | 225,571,403 | 6 | 0 | MIT | 2019-12-03T08:44:22 | 2019-12-03T08:44:21 | null | UTF-8 | C++ | false | false | 4,141 | cpp | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// 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 ... | [
"jianfeifeng@outlook.com"
] | jianfeifeng@outlook.com |
ab755d3636b3bb54820a231c4b61b3c12e7765e9 | e21aca8dc10ae2b291450d66ca670c517f1a1759 | /devel/include/gazebo_msgs/SetModelState.h | c70517022519a95c2f7950a4dd7489191ffcda9e | [] | no_license | zhusj/grasp | 9b618ce86c29b6d39490396ee8910c7cc44d6700 | 9871c74bbf314d956e11eade770ddeffd4e584e0 | refs/heads/master | 2020-04-10T14:56:55.480589 | 2015-05-07T01:08:54 | 2015-05-07T01:08:54 | 32,035,695 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,497 | h | /* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, 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... | [
"vincentzhu122@gmail.com"
] | vincentzhu122@gmail.com |
a569f79a55836b895c8570bb7b02f84f95654229 | e8f0cd7b263b3c2f8a46eaa45a9639ead5eabb61 | /Solve-By-Topic/DataStructures/SegmentTree/K-Query Online-SPOJ.cpp | 1cb7ffd9b1598ea5cf6d12f6f7bb4c25af960af9 | [] | no_license | aburifat/ProblemSolving | 11a80cd58fb4e4a3955fa60732e53814c4485a06 | 1f743dd4dbc4faf185383e3e81da8625ca57723c | refs/heads/master | 2022-11-13T18:08:49.872205 | 2020-07-04T08:26:44 | 2020-07-04T08:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,240 | cpp | /*******Bismillahir-Rahmanir-Rahim**********/
/*
Name : Abu Rifat Muhammed Al Hasib
Institution : University of Barisal, Bangladesh
Github : abu-rifat
Codeforces : AbuRifatMuhammed
AtCoder : aburifat
codechef : aburifat
SPOJ : abu_rifat
UvaOJ : aburifat
DevSkill : abu_rifa... | [
"rifat.cse4.bu@gmail.com"
] | rifat.cse4.bu@gmail.com |
6c9491f7bf3026404ec838c1016ef662fbdc45a6 | 4caa769bb07810857dd4120758bf78d25ab519a8 | /ProMage2/Code/Game/GameStatePlay.cpp | a5507fbc485f96df5d9ae11966197ea4199d5ca2 | [] | no_license | ddurio/ProMage2 | d70572c80fa6012a652762e0cd7abac40c67be4f | 6a485c5d675a4c840b2e879658e9bdb234e5ba20 | refs/heads/master | 2022-05-18T05:57:37.943201 | 2020-04-29T20:19:01 | 2020-04-29T20:19:01 | 205,727,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,381 | cpp | #include "Game/GameStatePlay.hpp"
#include "Engine/Core/EventSystem.hpp"
#include "Engine/Core/Time.hpp"
#include "Engine/Core/Timer.hpp"
#include "Engine/Core/WindowContext.hpp"
#include "Engine/Debug/DebugDraw.hpp"
#include "Engine/Debug/Profiler.hpp"
#include "Engine/DevConsole/DevConsole.hpp"
#include "Engine/Math... | [
"ddurio3@gmail.com"
] | ddurio3@gmail.com |
96d0b69ae708b1f250aceec8791b5c4388f53628 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dvecsveccross/V3bVCb.cpp | 889fa4b144da63df517eb1363841b9544b634f67 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,738 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecsveccross/V3bVCb.cpp
// \brief Source file for the V3bVCb dense vector/sparse vector cross product math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// Thi... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
85b0c776c9cb9b66f1c56cc3dd0d60cc2cefb4ea | 149489e12a2f209e33a82684518785540b3508b8 | /src/arch/arm/isa/templates/mult.isa | 87d96f7438b28b1abf707890a21620b7e1da5688 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"MIT"
] | permissive | FPSG-UIUC/SPT | 8dac03b54e42df285d774bfc2c08be3123ea0dbb | 34ec7b2911078e36284fa0d35ae1b5551b48ba1b | refs/heads/master | 2023-04-15T07:11:36.092504 | 2022-05-28T21:34:30 | 2022-05-28T21:34:30 | 405,761,413 | 4 | 1 | BSD-3-Clause | 2023-04-11T11:44:49 | 2021-09-12T21:54:08 | C++ | UTF-8 | C++ | false | false | 4,127 | isa | // -*- mode:c++ -*-
// Copyright (c) 2010 ARM Limited
// All rights reserved
//
// The license below extends only to copyright in the software and shall
// not be construed as granting a license to any other intellectual
// property including but not limited to intellectual property relating
// to a hardware implement... | [
"rutvikc2@midgar.cs.illinois.edu"
] | rutvikc2@midgar.cs.illinois.edu |
bcbb85b1da9d02a35eae09f408a8281a0ec03a88 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/ui/views/tabs/tab_strip_observer.cc | 718d3bf8eeeb072c06784955c4e5721356befd33 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | 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 "chrome/browser/ui/views/tabs/tab_strip_observer.h"
void TabStripObserver::TabStripAddedTabAt(TabStrip* tab_strip, int index) {
}
void... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
42faa562f5f8291d96e28f1903a9d81b2dc304a0 | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/tools/modeleditor/App/me_app.hpp | c49068a24b70a167f8f67b300e8cede8d416a050 | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | hpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
77cc47360ace023b4f69e9abeab18f862e581b07 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Event/xAOD/xAODTrigL1Calo/Root/CPMTower_v1.cxx | af65301c464836f41832523e40179be06d77b3c3 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,213 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// $Id: CPMTower_v1.cxx 638578 2015-01-09 17:00:15Z morrisj $
// System include(s):
#include <cmath>
// EDM includes(s):
#include "xAODCore/AuxStoreAccessorMacros.h"
// Local include(s):
#include "xAODTrigL1Calo/versions/CPMTower_v1.h"
... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
296e2d634ee4c9e4fa2ff7719ec396955528304b | adf3c8bb78d77d626d1d97b49152036f22c3bf6d | /Main.cpp | 0f13edcab1d436a198c113ba89ae02c8c4e5e7c2 | [] | no_license | Adam713/comand-kali-and-not | 83e7e17a7d3abb1f4322902e0027e238bd1b59a5 | 0dddc9f5d81b5ce41e0f0d7db03c24de2ef006a6 | refs/heads/master | 2023-06-17T11:51:55.179622 | 2021-07-06T21:46:59 | 2021-07-06T21:46:59 | 290,620,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include<iostream>
using namespace std;
int main() {
cout <<"Hello world"<< end1;
return 0;
}
| [
"Adamalwan55@gmail.com"
] | Adamalwan55@gmail.com |
1a1f07033629e766f6c36e10c6a63924e76bf0bb | b8d0860061bc34059a6096e8f966faac2f67e851 | /TCPlatform/TCPlatform/src/TCBaseLogEvent.cpp | 7af1a173833d076a1172eb3c0e5e3119a4e21b9c | [] | no_license | JamesChenGithub/TCPlatform | ab75c896f509589350797631977503fc1ee37aae | 8d47880bcd8196e5ffb49bc6bf08d10da8a929e1 | refs/heads/master | 2021-01-19T11:09:05.119646 | 2017-05-05T06:04:50 | 2017-05-05T06:04:50 | 87,932,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | //
// TCBaseLogEvent.cpp
// TCPlatform
//
// Created by AlexiChen on 2017/4/12.
// Copyright © 2017年 AlexiChen. All rights reserved.
//
#include "TCBaseLogEvent.hpp"
| [
"alexichen@alexichen-mc0.tencent.com"
] | alexichen@alexichen-mc0.tencent.com |
87fefe16c64a5846bd0435aff307ebd91e825111 | 73d639b0e8afa3c99fd2a52c8aba9d634c9600c6 | /source/ship.cpp | ebef930a88fba01bb5ae8e5df9f7e3c62fd261c3 | [] | no_license | theolouvet/spaceinvaders_cpp | 77830b07df724a7f622f991d98f53a1bb1eed66e | 93dc423b300bd7189ba3c4f95b65d9f2b48190e1 | refs/heads/master | 2020-09-12T13:49:13.929812 | 2019-11-18T12:34:45 | 2019-11-18T12:34:45 | 222,444,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | #include "../header/ship.h"
//on construit l'objet avec sa position initial et son nombre de vies
Ship::Ship(float x, float y, int v):Drawable_Object(x,y),vie(v),theme(1)
{
}
//permet de modifier la vie
void Ship::set_vie(int v){
vie = v;
}
//retourne le nombre de vie du vaisseau
int Ship::get_vie(){
return ... | [
"theolouvetsuys@gmail.com"
] | theolouvetsuys@gmail.com |
3eb9f430a75ad213533a7af05a2ad0accc542dfb | d766203f49613ed78e4a607c124d21073507a0f8 | /backends/skype/main.cpp | 838d9231d1bea354b681332ab961cc6d4ca1b5ea | [] | no_license | mdonoughe/libtransport | 22fac71199d0ae10ad717d73457228d0b1192d76 | c7e2635dde99a7b461c370ac87994059fcc12dd4 | refs/heads/master | 2021-01-15T19:39:37.438367 | 2012-08-10T12:29:13 | 2012-08-10T12:29:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,859 | cpp | #include "glib.h"
#include <iostream>
#include "transport/config.h"
#include "transport/logging.h"
#include "transport/transport.h"
#include "transport/usermanager.h"
#include "transport/memoryusage.h"
#include "transport/logger.h"
#include "transport/sqlite3backend.h"
#include "transport/userregistration.h"
#include ... | [
"hanzz.k@gmail.com"
] | hanzz.k@gmail.com |
e67a5f2c8d389c267ba3929e71307189168a47a9 | 76b7aad73ae59b8c274ce4aa802396297237d77e | /libs/openFrameworks/graphics/ofPixels.cpp | 2df8d44e9fbba53a79fa897e77d678259af1404a | [
"MIT"
] | permissive | ongaeshi/rubykokuban-osx | 3baf2f6da8653955774d12d7563c64ab53e1daef | 1f3e44e42615ec1a8322d754112cfeecdb0e2841 | refs/heads/master | 2021-01-10T21:27:46.580866 | 2013-10-07T15:10:37 | 2013-10-07T15:10:37 | 11,407,355 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,284 | cpp | #include "ofPixels.h"
#include "ofMath.h"
static ofImageType getImageTypeFromChannels(int channels){
switch(channels){
case 1:
return OF_IMAGE_GRAYSCALE;
case 3:
return OF_IMAGE_COLOR;
case 4:
return OF_IMAGE_COLOR_ALPHA;
default:
return OF_IMAGE_UNDEFINED;
}
}
template<typename PixelType>
ofPixels_<Pi... | [
"ongaeshi0621@gmail.com"
] | ongaeshi0621@gmail.com |
e316eefa5eaf731e6d4d5d41695fc6602d1ec7a2 | d324d147e8c414de852b94119bdb130df64096b8 | /sb_jaus/JAUS++/src/jaus/environment/digitalvideo/QueryDigitalVideoSensorCapabilities.cpp | 1c3e06332c6449796c7234ab8b7827891fc12075 | [] | no_license | UBC-Snowbots/IGVC2015 | af6ca169e2e4e11b07fa8982d3e6e9ce41a49040 | 18d5274f9b65079ec176e951fdbc6292e1b535f8 | refs/heads/master | 2020-05-15T15:15:24.135949 | 2016-01-09T19:53:43 | 2016-01-09T19:53:43 | 24,005,303 | 1 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 4,662 | cpp | ////////////////////////////////////////////////////////////////////////////////////
///
/// \file QueryDigitalVideoSensorCapabilities.cpp
/// \brief This file contains the implementation of a JAUS message.
///
/// <br>Author(s): Daniel Barber, Jonathan Harris
/// <br>Created: 21 March 2013
/// <br>Copyrigh... | [
"SimonJinaphant@users.noreply.github.com"
] | SimonJinaphant@users.noreply.github.com |
e1ac66d6968e126b3f0be55680607189103c7e8c | 678612850f04ef1cba2c7646ea9fe1aa21545933 | /PowerMonitor/HAL/inc/GpioInput.hpp | c71c3b2dbde05cb0eb2b11bdf0230598d42d6b87 | [] | no_license | amitandgithub/IAR_Projects | 5d38ab082a670f9dab7cf03f8ae3a2c0da9124c6 | 5d117157513955aba64c14615953290234addcc7 | refs/heads/master | 2021-06-30T13:31:36.473102 | 2019-03-31T16:15:00 | 2019-03-31T16:15:00 | 115,230,279 | 0 | 0 | null | 2017-12-27T06:52:23 | 2017-12-24T00:33:00 | C | UTF-8 | C++ | false | false | 1,682 | hpp | /*
* GpioInput.hpp
*
* Created on: 08-Oct-2017
* Author: Amit Chaudhary
*/
#ifndef APP_INC_GPIOINPUT_HPP_
#define APP_INC_GPIOINPUT_HPP_
#include "stm32f10x.h"
#include "stm32f10x_gpio.h"
#include "Gpio.hpp"
#include "InterruptManager.hpp"
#include "ClockManager.hpp"
namespace Bsp
{
class GpioInput: publ... | [
"34563851+amitandgithub@users.noreply.github.com"
] | 34563851+amitandgithub@users.noreply.github.com |
983267a20dd56b3c7c6782915529a455be8336a1 | 55687e96566978987fdc75fca96fe1dedb41b12f | /Lab6-12/Lab11-Exercise1/Lab11-Exercise1.cpp | 491e443b204c8cc70832071d4c40e9f4cab02c08 | [] | no_license | NorahAlShaikhMubarak/DSExercise | 1137b619509259ca673914fe81d7d6d11569a472 | 4a4dcc4fa01d548b7077b7835a1cb46a33399e64 | refs/heads/master | 2022-08-30T18:17:30.989749 | 2020-05-20T00:54:25 | 2020-05-20T00:54:25 | 265,407,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
struct Node {
int Data;
struct Node* Left;
struct Node* Right;
};
void InsertRec(Node *root, Node *p);
void Inorder(struct Node *r);
void Preorder(struct Node *r);
void Postorder(struct Node *r);
struct Node* Create... | [
"norahalshaikhmubarak@Norahs-MacBook-Pro.local"
] | norahalshaikhmubarak@Norahs-MacBook-Pro.local |
984965e340338b1fdf8c280bed5182aba703db10 | 1cafbca31b1a74dcc963804fee206e638cde41f8 | /lab08/lab08/colors.h | f528402d26f811dec1ab0cdbca1f82ea84f7a7ce | [] | no_license | nksazonov/labs_1_term | 4151317beba8fe023c65de8dcbc972c33bd86910 | ea86cf01db3bc430addb4955cf0da24f2398ab2e | refs/heads/master | 2022-04-08T22:06:16.846850 | 2020-01-25T17:25:56 | 2020-01-25T17:25:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | h | #include <iostream>
#include <string>
#include <stdio.h> //
#include <stdlib.h> // For setting
#include <windows.h> // some pretty colors
#include <dos.h>
using namespace std;
void SetColor(int ForgC);
void printc(string text, int color, string afterStr = "");
void printc(int times, char sym, int color, string a... | [
"actpohabt.ns@gmail.com"
] | actpohabt.ns@gmail.com |
9fe08f3029d703e10eaa01842dd6aaa7a3e7a91a | 017678106b0c4c484254d3006c87189acfa45413 | /MFCApplicationTestMode/BtnST.h | b08479f2dcf1ac1bf1ed7b8266701f992750b4e1 | [] | no_license | kysssh2/MFCApplicationTestMode | 022c4cca2b4bb06f27378f15d0e56d71a0a829f3 | cad92660dd36bd271ef1a48c6e7ee8e3c5d0e3f3 | refs/heads/master | 2023-06-14T07:08:41.676309 | 2021-07-11T13:27:05 | 2021-07-11T13:27:05 | 384,382,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,472 | h | //
// Class: CButtonST
//
// Compiler: Visual C++
// Tested on: Visual C++ 5.0
// Visual C++ 6.0
//
// Version: See GetVersionC() or GetVersionI()
//
// Created: xx/xxxx/1998
// Updated: 03/March/2003
//
// Author: Davide Calabro' davide_calabro@yahoo.com
// http://www.softechsoftware.it
//
// Note: Code... | [
"tmdflwndtn@gmail.com"
] | tmdflwndtn@gmail.com |
3d18ea3236965cc964dbbf6e8b16382a5cdc0848 | 5d2d04c255a45c615b223c84640a0256aa4ba91f | /Assignments/Assignment_04/Menu_Assignment_4/date.cpp | f1f62c1b5eb4cc2e41978d9a3f8133034ee93b65 | [] | no_license | javierborja95/JB_CSC17a | dee213063855177fb4f855f8032b707af055a9b9 | a86a56a300d2f98ebef0c7b5742d82d7f2be5532 | refs/heads/master | 2021-07-11T10:45:38.415640 | 2016-12-10T07:14:35 | 2016-12-10T07:14:35 | 66,890,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | /*
* File: date.h
* Author: Javier B
*
* Created on November 7, 2016, 3:50 PM
* Purpose: Date class implementation
*/
//Class location
#include "date.h"
void Date::setDay(int n,int m){
//Make sure day is greater than 1 and less than month max
if(n<1)exit(1);
if(isLpYr()){ //If leap ye... | [
"javierborja95@gmail.com"
] | javierborja95@gmail.com |
2f53d07793a654df8ae438baaec69feeaafa4b1e | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_long_calloc_54d.cpp | 8451931985c07f1ff74fc6dd79db5fecbce0a5d0 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,352 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_long_calloc_54d.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-54d.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Rou... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
76ca5a3beb1314fd99b5cdd89ba1ebefc06a93f1 | b7f223ef8a1b69b642b4c95784271a966e68c72c | /include/deconz/node_event.h | 477fc49f6fa2aa9c970fa3a5498bb52b9d7f1064 | [
"BSD-3-Clause"
] | permissive | tylercasper/deconz-grpc-plugin | 3c05411d77fec2c4ad40010f1232c89ed675e0d2 | cb145c5c3d367ec2b7082113c1545ccb7cff3a2f | refs/heads/master | 2023-08-01T01:02:27.245046 | 2021-09-16T02:23:32 | 2021-09-16T02:23:32 | 403,812,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,022 | h | #ifndef DECONZ_NODE_EVENT_H
#define DECONZ_NODE_EVENT_H
/*
* \author dresden elektronik ingenieurtechnik gmbh: http://www.dresden-elektronik.de
* \author Support email: wireless@dresden-elektronik.de
*
* Copyright (c) 2016, dresden elektronik ingenieurtechnik gmbh. All rights reserved.
*
* Licensed under d... | [
"tyler.casper.sb@gmail.com"
] | tyler.casper.sb@gmail.com |
7725e547a2f76ce78f65a722b2c3bb8ee2d0d648 | d0caca052d132de9f99bdfe0964ee139de191281 | /Source/TTanks/Components/HealthComponent.h | 245f4ff991787fe8acada61df603061ca148deb5 | [] | no_license | GolubtsovMaxim/TTanks | 41e6f9392d448263714860853c806905a0b163dc | 6caeaad2be7678396efa22a35628457943ed9492 | refs/heads/main | 2023-03-31T11:38:27.181154 | 2021-04-02T12:07:24 | 2021-04-02T12:07:24 | 351,098,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "HealthComponent.generated.h"
class ATankGameModeBase;
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class TTANKS_API UHealthCompon... | [
"maxim.alexandrovich.0409@gmail.com"
] | maxim.alexandrovich.0409@gmail.com |
024cf42eadc1801c7d113a3d763a69a7b4d45500 | fb0b70403b111059a01609fab8b12cd7b25b4ac0 | /Source/DattorroPlateReverb.h | 3f078420562e2403f9943ed2dba49de961a00c82 | [] | no_license | stefvenmans/Spazer | 62389dc3874da58806fc501e599226494b5a9c44 | e0956983e20fa89b724f0588cbcd2fc789c33723 | refs/heads/master | 2023-07-16T16:16:31.230006 | 2021-08-26T15:08:46 | 2021-08-26T15:08:46 | 260,680,496 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | h | /*
==============================================================================
DattorroPlateReverb.h
Created: 16 May 2020 9:25:36pm
Author: Stef
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "Filters.h... | [
"stef.venmans@student.kuleuven.be"
] | stef.venmans@student.kuleuven.be |
0e51179a822c8c00ae3acfe61b3c3c5e1c3aa90e | b4879875d0e7b932b33cd7af62d621eaf2071c82 | /online_judges/codeforces/A/832A.cpp | 9dd646f34ff81b3e29f782865b3f1c80dabce925 | [] | no_license | ayoubc/competitive-programming | 9b57dcec5dab00d9f3ff4016286d66d16d7565e4 | 5ccc8d873825954116c945baf4d2ebefd76bd63e | refs/heads/master | 2023-08-16T20:48:58.399708 | 2023-08-02T20:44:31 | 2023-08-02T20:44:31 | 164,316,604 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | //slowly but surly!
#include <bits/stdc++.h>
using namespace std;
int main(){
long long n,k;
scanf("%I64d %I64d",&n,&k);
long long cnt = n/k;
if(cnt%2!=0) printf("YES\n");
else printf("NO\n");
return 0;
}
| [
"ayoubch807@gmail.com"
] | ayoubch807@gmail.com |
d61e20a09b10847e2cd5da30b13a74e7f0d0a621 | efc9f7ce45fd208d6ed43c41ea9a6ed8b4664feb | /src/libs/dxf/include/entities/dxf/Dxf_mtext_entity.hpp | f1271d5100148e3b05588310197ef0597e5628bc | [] | no_license | efifogel/sgal | 312d604e879240baae60e82faa87acc637a38542 | bb3ebcb1c06aff311f3ea095f50e02cc6bd2983e | refs/heads/master | 2020-03-27T22:15:31.407935 | 2018-09-03T13:38:10 | 2018-09-03T13:38:10 | 147,217,311 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,482 | hpp | // Copyright (c) 2018 Israel.
// All rights reserved.
//
// This file is part of SGAL; 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; version 2.1 of the
// License. See the file LICENSE.LGPL distributed with SGAL.
//
... | [
"efifogel@gmail.com"
] | efifogel@gmail.com |
a4af419ae47d34dd10de0943ad0ee4ec26b2e146 | cc266d07cc67a48b1122df5e19362a4d3cc2504f | /hphp/runtime/ext/FBSerialize.h | d9fce26a7c2b7150ec9d5881644fbba587a74cad | [
"PHP-3.01",
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla"
] | permissive | dolfly/hhvm | 917a2d0cf2f87cfd6c3fa712ac5bbf58b45a46a4 | 2153ed0f4a010e412902388341435a9d517cf3e3 | refs/heads/master | 2021-01-16T00:21:12.499865 | 2014-01-02T08:43:39 | 2014-01-02T08:43:39 | 5,200,461 | 0 | 0 | NOASSERTION | 2020-06-16T05:25:08 | 2012-07-27T04:12:59 | C++ | UTF-8 | C++ | false | false | 5,177 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
b3ba2e6d5b6aea1a919c6e885c93e87100cffd89 | 1e17f6f0f9756d6043eb2a2d71dfd0e6c09590b2 | /périmé/scripts/pycsw/geos-3.3.3/include/geos/geom/Coordinate.inl | 469c982f977f5cd889720dcd95474ee9f5730d7c | [
"MIT",
"LGPL-2.1-only"
] | permissive | federal-geospatial-platform/fgp-metadata-proxy | 20e300b68eedfb29eed3e1cd24a69cf3c52898c3 | 82368614a2658260c0f09a1b5d341918310626e5 | refs/heads/master | 2023-08-09T14:03:35.522230 | 2023-08-03T15:10:11 | 2023-08-03T15:10:11 | 160,414,397 | 10 | 7 | MIT | 2023-05-01T23:16:00 | 2018-12-04T20:24:01 | C++ | UTF-8 | C++ | false | false | 2,776 | inl | /**********************************************************************
* $Id: Coordinate.inl 3367 2011-05-17 16:50:03Z strk $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2005-2006 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify ... | [
"keballan@nrn.nrcan.gc.ca"
] | keballan@nrn.nrcan.gc.ca |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.