blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a66b8340352f5eca3f0d3e9623b4b5fb5fd0bad | 2fba17950598a31cf85dd054bc5c978e5af2e74f | /include/agz-utils/graphics_api/d3d12/commandList.h | 857d22446f04c7da827511a8856170f0d71837ab | [] | no_license | AirGuanZ/agz-utils | dfa934a7a278eb9a2b2bf964952977c8a11e49cc | a08e6d39bc6640c3f266cb7483133725d5083206 | refs/heads/master | 2022-01-24T06:28:09.748409 | 2022-01-15T07:55:06 | 2022-01-15T07:55:06 | 186,757,951 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 892 | h | commandList.h | #pragma once
#include <agz-utils/graphics_api/d3d12/common.h>
AGZ_D3D12_BEGIN
class CommandList : public misc::uncopyable_t
{
public:
CommandList() = default;
CommandList(ID3D12Device *device, D3D12_COMMAND_LIST_TYPE type);
CommandList(CommandList &&other) noexcept;
CommandList &operator=(Command... |
22b5e71899fcd92b941967f4bc7c5dd866db3150 | 09b95cbd823d274de2a7f9e8ef483cb908cb1ebc | /Assegnamento 1/simple/simple.cpp | 75ba7ed50747db0416e50bc651333c5d1d84c58b | [] | no_license | cavallo5/Visione_Artificiale | 07454a6b9604e547fc2d61f6c03b99f6a9147063 | 2693001dbfa5918b95aa3c40e3e8276c3906c1b7 | refs/heads/master | 2022-12-04T03:45:30.194454 | 2020-08-12T07:59:41 | 2020-08-12T07:59:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,010 | cpp | simple.cpp | /*
Visione Artificiale
Assegnamento 1
*/
// OpenCV
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
using namespace cv;
struct ArgumentList {
std::string image_name; //!< image... |
215463b264babcc50d873a0725cc8deb60578bc1 | b6351ef45b35e8b648e0fa9056e23f676b757878 | /Client/headers/Interpreter.hpp | 0d7c5622a0488f6b3b263789d93fdf351a3a1334 | [] | no_license | BGCX261/zprproject-jspw-hg-to-git | 921de82731d3df6ba52b8dc3d15d14fce82de02a | ad1bebb1b98f5ec9e7f5f9ce74c22f57273a2aee | refs/heads/master | 2021-01-23T13:49:59.320262 | 2011-09-04T14:25:57 | 2011-09-04T14:25:57 | 42,317,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | hpp | Interpreter.hpp | /*
* File: Interpreter.hpp
* Author: Pawel
*
* Zawiera deklaracje klasy Interpreter
* Created on 30 listopad 2010, 15:50
*/
#ifndef INTERPRETER_HPP
#define INTERPRETER_HPP
#include <boost/shared_ptr.hpp>
#include "Visitor.hpp"
#include "Command.hpp"
namespace Client
{
/*
* Odpowiedzialna za interpr... |
d07e3c48e7684acab7b5a579d026b253ef9fd01f | 5b90c88a281ed3299a5eb26125f245bc97a259ba | /source/core/property-slider.cpp | 8ed5867eacfd6fd08d01be6cd2900ac288fdd8d6 | [
"MIT"
] | permissive | kollya/fluid-simulator | 5d3a22635af6e94de07243bc7e3f5a0a17dd2720 | 629301987fff9e82cf1f1cc99b010b5f8619136b | refs/heads/main | 2023-07-25T05:52:38.202414 | 2021-08-27T06:53:19 | 2021-08-27T06:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | cpp | property-slider.cpp | #include "application.hpp"
#include <iomanip>
using namespace nanogui;
Application::PropertySlider::PropertySlider(Widget* window, Config::Property* p, const std::string &name, const std::string &unit, size_t precision)
: prop(p), last_value(*p), precision(precision)
{
Widget* panel = new Widget(window);
... |
ac50ec9c3c984a392a38a76d37f3454e5c7ffdb1 | 6fe3afaf390277ccf0702723d26c27938e816d3c | /strStr2.cpp | 67d6f4e73178c0d588a20d12a7eb38314e36a2cf | [] | no_license | coderwyc/hello-world | f93640b592b9d372b6d51651b415cbc34e3b4a8c | 552523748f89958ed954fd6e031f0148d7c3c46c | refs/heads/master | 2020-05-17T10:46:45.624621 | 2015-07-23T14:06:53 | 2015-07-23T14:06:53 | 28,033,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | cpp | strStr2.cpp | /*************
Implement strStr().
Returns the index of the first occurrence of needle in haystack,
or -1 if needle is not part of haystack.
**************/
class Solution {
public:
int strStr(char *haystack, char *needle) {
int len_hay = strlen(haystack);
int len_nee = strlen(needle);
... |
d8618975dde4c6b2bcd82f56f82f8367d6a30a3b | b703cb4f590af7b5f138f4a383b2f6f31209993b | /mef02-c07/carac01.h | 852296604b30dd0073edde2f5c545c315d5305aa | [] | no_license | Beasalman/mef | 9d5e28a77d1dd25542174cd2e8a2289ec1167548 | cd08c3b3cf7050fb76c38b7cd74c7e553faca025 | refs/heads/master | 2020-05-29T21:50:22.841664 | 2019-05-31T12:20:08 | 2019-05-31T12:20:08 | 189,392,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | carac01.h | #include <iostream>
using std::cout;
using std::endl;
#include <vector>
using std::vector;
#include <map>
using std::map;
#ifndef cnodo2d_h_
#include "cnodo2d.h"
#endif
/* --------------------------------------------------------------------------- */
#ifndef carac01_h_
#define carac01_h_
cnodo2... |
8f2d1d45007217f5c4e5563eecc9c114a61b22ea | e2368b4672189a195ba5d31dcd5707b9d711feb2 | /Coding Blocks Course/Recursion & backtracking/01Knapsack.cpp | 1ae77b6783f9661dcdaf9c228164f95fb694251b | [] | no_license | MdAkdas/My_Codes | bd073b82bc35ac506f6fbe15c5b9f34fa75212a5 | 8cd202e4f4b31820f59577c9983d7e42b3f5c5e4 | refs/heads/master | 2022-11-29T08:27:21.454738 | 2020-07-31T18:02:51 | 2020-07-31T18:02:51 | 255,170,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | 01Knapsack.cpp | #include <iostream>
using namespace std;
int profit(int item,int Capacity,int *weight,int *price)
{
if(item==0 || Capacity==0)
return 0;
int inc,exc;
inc=exc=0;
//including current item
if(Capacity>=weight[item-1])
inc = price[item-1] + profit(item-1,Capacity-weight[item-1],weight,price);
/... |
99348755e94fe1db83ce4cd7e38c05962a92b9f6 | 91a0f6893bfa017c3a17a1c17d24902ef1d72a82 | /GuessBoard.cpp | 3d1907b4fd295007e33ce907fd5436c26765a638 | [] | no_license | glmontuya/Battle_Ship_Game | d1694eac72a4b796a19bedf53948be9c586aa2ca | e2ff0150fbb996915f90331e4f72e61659b2c7e6 | refs/heads/master | 2020-05-26T04:47:04.339980 | 2019-02-28T00:40:41 | 2019-02-28T00:40:41 | 188,110,348 | 0 | 0 | null | 2019-05-22T20:38:41 | 2019-05-22T20:38:41 | null | UTF-8 | C++ | false | false | 950 | cpp | GuessBoard.cpp | //
// Created by kerne on 2/27/2019.
//
#include "GuessBoard.h"
using std::vector;
using std::ostream;
using std::endl;
using std::cout;
#include <string>
using std::string;
GuessBoard::GuessBoard(){
for(int i = 0; i < _GuessboardSize; i++){
_guide.push_back(vector<string>());
for(int k = 0; k < ... |
9b37729e428bfd8c8708751b0ed4d6c5fe2e230a | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8304/Altukhov_Alexander/lab1/CrossbowmanLvl2.cpp | 542ca16dcc907aae5dd527775749a4ece1ee35eb | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 29 | cpp | CrossbowmanLvl2.cpp | #include "CrossbowmanLvl2.h"
|
fc4e0a202848f9c91e9d098315d1cbfbeb9eea94 | 1c0ec16578f2951f64442f1577b83a4c78194924 | /cpp/OpenGL/Vis_03_Particle/Flowfield.cpp | 184b5b4c101d2f73c3c3eaab17b61aaa5836fd49 | [] | no_license | sdraeger/lnc | 5e8381325caf01667597a0e3ed6d5e9b2df22dc8 | dc5762d58449b1b5a98c914fd41bd300190dc2c4 | refs/heads/master | 2023-03-10T10:14:58.728940 | 2021-02-22T21:53:43 | 2021-02-22T21:53:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,106 | cpp | Flowfield.cpp | #include <cmath>
#include "Flowfield.h"
Flowfield Flowfield::genDemo(size_t size, DemoType d) {
Flowfield f{size,size,size};
switch (d) {
case DemoType::DRAIN :
{
for (size_t z = 0;z<size;++z) {
const float localZ = float(z)/size;
for (size_t y = 0;y<size;++y) {
... |
f75fb448ea37958b0babd0f93cf0a7e5f910b0d6 | 9825dc853f1db04e318118cf8bb7d232a9e8d722 | /rmvmath/matrix/matrix2x3/func/TMatrix2x3_func.hpp | 4134db47d1ee9be13af644250878dc28e5aaeb45 | [
"MIT"
] | permissive | vitali-kurlovich/RMMath | 5f862c49847a788d7794f71c7df486a49a19aa63 | a982b89e5db08e9cd16cb08e92839a315b6198dc | refs/heads/master | 2021-01-17T10:45:10.432565 | 2016-09-14T19:22:14 | 2016-09-14T19:22:14 | 53,895,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | hpp | TMatrix2x3_func.hpp | //
// Created by Vitali Kurlovich on 1/7/16.
//
#ifndef RMVECTORMATH_TMATRIX2X3_FUNC_HPP
#define RMVECTORMATH_TMATRIX2X3_FUNC_HPP
#include "../TMatrix2x3_def.hpp"
#include "../../matrix3x2/TMatrix3x2_def.hpp"
namespace rmmath {
namespace matrix {
template<typename T>
inline TMatrix3x2 <T> t... |
26ffa8fc0e496a242b2e75960fe0a7c2782cb4b3 | 807285158038bf1f9c7b7d1666ce8c8f90ef7581 | /examples/tile_integration/PhysicalTileApply.cpp | a428d34902c3e5b2a9ed810e0195f5cfd2aebc2b | [] | no_license | jonghunDB/SciDB19.3 | 177ccc421175977d45b679bd61841218c8ea8b17 | e413d086b715112b37b0ae9a2882e0fff3b4cfe6 | refs/heads/master | 2020-05-23T11:42:23.435694 | 2019-07-03T11:12:42 | 2019-07-03T11:12:42 | 186,736,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,564 | cpp | PhysicalTileApply.cpp | /*
**
* BEGIN_COPYRIGHT
*
* Copyright (C) 2008-2019 SciDB, Inc.
* All Rights Reserved.
*
* SciDB is free software: you can redistribute it and/or modify
* it under the terms of the AFFERO GNU General Public License as published by
* the Free Software Foundation.
*
* SciDB is distributed "AS-IS" AND WITHOUT ANY WARRANTY... |
e1a247ccd3a5031cb57129cec00e7ff1df3e4557 | 0c150d83570afd033a51461ffcbe9169bf0db07a | /workspace/ejecucion/enteros.hpp | 3ae39cd35d0b5d4e51291add56e447c7842e9e61 | [] | no_license | alu0100819182/aedaprct03 | d6902e63aad81c3f16a50951183955a7b209cb8a | ee78ab613f4cc71593e0a25178dea1f3d35609a0 | refs/heads/master | 2021-01-10T13:45:36.750627 | 2016-03-30T13:17:36 | 2016-03-30T13:17:36 | 55,064,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | hpp | enteros.hpp | #include <cstdio>
#include <iostream>
#include "numero.h"
#pragma once
using namespace std;
class entero_t: public numero{
public:
int valor;
entero_t();
entero_t(int num);
~entero_t (void);
friend entero_t operator+(const entero_t& n1, const entero_t& n2);
friend entero_t operator-(const entero_t& n1, con... |
7e17c7aaecc8f6c70561b0ee4582e15e926a7f3e | fe6360bf697243c6c318836a3c64a9c1984b610b | /deprecated/alter/pluginSource/entityHelpers/EntityHelpers.cpp | 6c365b190b7be9783b2a747f30ffa0812c91edf6 | [] | no_license | davidmueller13/vexx | 366cec96f4abac2e814176cd5d2ae75393561c0d | 9194877951c78cd3fde3e7fbe6d511e40c24f8eb | refs/heads/master | 2021-01-10T11:51:19.124071 | 2015-09-26T15:30:05 | 2015-09-26T15:30:05 | 43,210,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | EntityHelpers.cpp | #include "APlugin"
#include "EntityHelpers.h"
#include "propertiesDock.h"
#include "explorerDock.h"
ALTER_SDK_INITIALISE( Q_DECL_EXPORT )
{
sdk->addDockedItem( "Explorer", new explorerDock( ) );
sdk->addDockedItem( "Properties", new propertiesDock( ) );
return APlugin::Success;
}
ALTER_SDK_UNINI... |
5b10ed097d166d0d72b4fa9cbb3e8c74abdcf1d0 | 029462827b95625e0b72f1dada384c49106ac409 | /dellve_cudnn_benchmark/include/CuDNN/PoolingMode.hpp | 85f1e5caca1d9e42912b643c6a9a8cc5cab23ba3 | [
"MIT"
] | permissive | dellve/dellve_cudnn | c05c993bacfe721f6a34e3ec83aaa9d7e09ec11c | 61491953f3f3953539e6060ccf18c303e7a3c1fd | refs/heads/master | 2021-01-22T23:15:58.258731 | 2017-05-02T16:45:49 | 2017-05-02T16:45:49 | 89,177,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | hpp | PoolingMode.hpp | #ifndef PYCUDNN_POOLING_MODE_HPP
#define PYCUDNN_POOLING_MODE_HPP
#include <cudnn.h>
namespace CuDNN {
typedef cudnnPoolingMode_t PoolingMode;
} // PyCuDNN
#endif // PYCUDNN_POOLING_MODE_HPP |
5620a0903bf978c4b44ca57d792e29ef1f5a754c | 235f766d0edadf581ff6bec0d8fffa181655207b | /data/maps/NewMap6/scripts.inc | 71320e02cfcf531332af3af07d1fa20016bcae36 | [] | no_license | lassellie/pokeemeraldexceptglitched | ff0f179048bf11cf653c4567b97c31d748a8102e | 39d0bedabe7f4d42dac1b5297c6961ca39a6763a | refs/heads/master | 2023-06-07T19:29:46.645077 | 2021-06-30T04:30:47 | 2021-06-30T04:30:47 | 267,154,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | inc | scripts.inc | NewMap6_MapScripts::
.byte 0
|
4c8643280e3696f366019e8ab595c1b58c2702ae | c11c70fedf6576850a82ddfdb2ccefe857a242d8 | /mote/brew/brewmotewrite/brewmotewrite.ino | ec953bb7d208d1a3a17bcd9514104333fdb26b73 | [
"Apache-2.0"
] | permissive | iinnovations/iicontrollibs | edf43e7f22d90d5143602a07a545e64c1e071a09 | 94af26a61405f1ad928d36e36602ebb859a2e44f | refs/heads/master | 2021-12-14T12:32:29.698267 | 2021-12-01T01:09:44 | 2021-12-01T01:09:44 | 14,500,841 | 11 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 17,478 | ino | brewmotewrite.ino | #define DEBUG 1
// Colin Reese, CuPID Controls, Interface Innovations
// UniMote sketch, based on the great example by lowpowerlab
// RFM69 and SPIFlash Library by Felix Rusu - felix@lowpowerlab.com
// Get the RFM69 and SPIFlash library at: https://github.com/LowPowerLab/
#include <RFM69.h>
//#include <RFM69registers... |
9f17c0bf84a6fcc3ebdd9dc0aa6bf801f16b1d17 | 715cf2089f8882c3a5f9ab0cb64bbdbc1466ce02 | /cc/stablemarket.cpp | 6d4d6aabc2d0ee49901ac3645797cd44fea58032 | [] | no_license | ShriBatman/myCodes | def9de8b72b5d406d2fb2a0c07cd8e7294679019 | 72798e04f8b504ddc7ae2ae2295dea13a94156ff | refs/heads/master | 2021-01-17T19:23:15.520349 | 2019-04-20T12:25:43 | 2019-04-20T12:25:43 | 95,568,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | stablemarket.cpp | //i am vengence i am the night i am Batman
//ios_base::sync_with_stdio(false);cin.tie(NULL);
#include<bits/stdc++.h>
using namespace std;
int main()
{
long long int q,i,j,k,l,m,n,r,t,x,y,z;
cin>>t;
for(i=0;i<t;i++)
{
cin>>n>>q;
vector< int > a;
for(j=0;j<n;j++)
{
cin>>l;
a.push_back(l);
}
... |
7ef81980a234cdf194ce0db7cea14d84708ca2df | 5743077502c2ab293905c7533fe9774576773ebe | /src/common/beast/beast/unit_test/reporter.h | e9952058e8579087998659e839c5dd2a97d4b01f | [
"ISC",
"BSL-1.0",
"MIT"
] | permissive | hawx1993/truechain-testnet-core | 3056b07dc1d39dc9277d1d2960c7c23db39bbf9c | a75edfe83562b3764fb3140144bc41943ebb995a | refs/heads/master | 2021-01-24T19:08:55.033847 | 2018-02-28T06:31:48 | 2018-02-28T06:31:48 | 123,239,490 | 1 | 0 | MIT | 2018-02-28T06:21:53 | 2018-02-28T06:21:53 | null | UTF-8 | C++ | false | false | 7,552 | h | reporter.h | //------------------------------------------------------------------------------
/*
This file is part of Beast: https://github.com/vinniefalco/Beast
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without f... |
2900667ad37ddd7dae407873f8a59e6e6ccfef25 | 6e27e7c74c43cd2407024878dffba81a4422e6c9 | /source/CIO.cpp | 579d6126a90d2be69f789423b77af16a0cafbb13 | [] | no_license | mbatc/PiProject | b6aae775fe538f34b181a05bd7be4023d5fa95df | fdafc8dbfc6406c5c4497a8a0e70be9739e8a4d8 | refs/heads/master | 2021-01-20T00:21:32.274169 | 2017-05-11T13:14:07 | 2017-05-11T13:14:07 | 89,117,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | CIO.cpp | #include "CIO.h"
#include "CLog.h"
#include <stdarg.h>
#include <iostream>
#include <fstream>
using namespace std;
CIO::CIO()
{}
CIO::~CIO()
{}
void CIO::Print(string format, ...)
{
va_list args;
va_start(args,format);
_out.Print(format, args);
va_end(args);
}
void CIO::PrintF(string file, string format, .... |
7ea258ad9628d9d864cc40ee78a0643de0156912 | 3045fb40b0eb9124d339f4bf377c7a98a9f25884 | /addons/cirkit-addon-reversible/src/reversible/utils/reversible_program_options.hpp | ec94115bd473caa9fd45b2449cb987c405eaf280 | [] | no_license | chuzhufei/cirkit | 43828a97ab0aec3deaf2234eb087b9794f873e45 | 907a36ea1c82321b730a62c744f7b5c4ef3e8c61 | refs/heads/master | 2020-12-28T04:51:39.472139 | 2016-07-13T07:40:07 | 2016-07-13T07:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,319 | hpp | reversible_program_options.hpp | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2016 EPFL
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the Licen... |
41fe119d41ff6af4442fecc10f9270af5b54e96a | 875ac20866cdbb9937ddff7686f2d59c56eb8a94 | /include/callable_traits/detail/function_object.hpp | 17291a2c216fd832671b4f2704399ce5d7c3de1c | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hersoncr/callable_traits | cb779fe4e73eba5db329d3dd72a307a353726ca7 | 9e7e288417e2a42710a82b10380eec0c3ac19fcb | refs/heads/master | 2020-12-31T02:01:37.717866 | 2016-04-02T01:58:28 | 2016-04-02T01:58:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,176 | hpp | function_object.hpp | /*!
@file
@copyright Barrett Adair 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef CALLABLE_TRAITS_DETAIL_FUNCTION_OBJECT_HPP
#define CALLABLE_TRAITS_DETAIL_FUNCTION_OBJECT_HPP
#include <callable_traits/detail/... |
ea7fba9f919766ff90d8de8753d1cdee1b871038 | 9203098742b294f80bdf45bbfbf5c313e0fdf1f8 | /qt-creator-plugin/hemeraprojectnodes.h | 25f74aca478b49b7a47b3dee2ff2113400f7b891 | [
"Apache-2.0"
] | permissive | hemeraos/hemera-developer-mode-client | 44e1faea07d64ba6d706792c0cfaef71610c0494 | 5f3133c754853a4e1ad3b1d60791c5b38f656e7e | refs/heads/master | 2023-03-02T12:00:25.120926 | 2021-02-11T12:05:30 | 2021-02-11T12:07:10 | 338,017,821 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | h | hemeraprojectnodes.h | #ifndef HEMERAPROJECTNODE_H
#define HEMERAPROJECTNODE_H
#include <projectexplorer/projectnodes.h>
namespace Hemera {
namespace DeveloperMode {
class HaManager;
}
namespace Internal {
class HemeraProjectNode : public ProjectExplorer::ProjectNode
{
Q_OBJECT
friend class HemeraProject;
public:
HemeraProject... |
0f5b87922063773f3153a83dbaff249301d0e851 | 89dbd1560f8a5703e7ce2d6ae8dd01cac280172f | /blur_image/main.cpp | 73216329e2eb05469678d7b6a9a637a4c8ee0f8b | [] | no_license | caffeine-coder25/blur_image | 71ca5630e4d746743313a06c6e9e683473a11d53 | 4e0ef1357bcd01a7d6ef7f627738b433a0de502a | refs/heads/main | 2023-03-01T12:09:53.944337 | 2021-02-05T12:32:01 | 2021-02-05T12:32:01 | 336,264,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | main.cpp | //
// main.cpp
// blur_image
//
// Created by shubham saxena on 05/02/21.
//
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main(int argc, char** argv)
{
Mat image = imread("/Users/caffeine_coder25/Desktop/just_code_it/coders_packet_internship/blur_image/rose.... |
d7d1a926e10244c945869444d7c776c9489cb56d | df5c61d5939a32986fd52a04e74f2198761016cf | /biliFansESP/biliFansESP.ino | 0b84b9399a7c8394d5b789ca8136ad0232ebd797 | [
"Unlicense"
] | permissive | errere/WuLiao_de_Arduino | 5eb4ecdd122e478eb08d14ef4cb98348e5d818da | 55963e640daffb53e61dbaae2bd9716058ab7f73 | refs/heads/master | 2022-11-25T10:45:55.759103 | 2020-08-04T15:50:30 | 2020-08-04T15:50:30 | 285,026,525 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,140 | ino | biliFansESP.ino | #include <WiFi.h>
#include <HTTPClient.h>
#include <ArduinoJson.h>
const char *ssid = "HONOR_9X";
const char *password = "1234567890";
const char APIAdress[] = "http://api.bilibili.com/x/relation/stat?vmid=94898339&jsonp=jsonp";
HTTPClient http;
void setup()
{
Serial.begin(115200);
// put your setup code... |
0d481046cc63214b812076b803405aa3d5588ba5 | 7e4b1e0cac67cb1de8ac8b258b7b0a917c816a17 | /lobatto.hpp | 2380d373dbcf9ba578c95ecdbf298a81f4541108 | [] | no_license | eluator/dipvlom | d0009bf3ce60540ed2db4b8f340f187f4d2acf84 | 39f9eabc500bac30e62bd7dfffd6d5c971d8765d | refs/heads/master | 2022-01-06T08:50:09.492504 | 2019-05-18T15:04:01 | 2019-05-18T15:04:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,698 | hpp | lobatto.hpp | #include<array>
#include<algorithm>
#include<cmath>
#include<limits>
#include<type_traits>
template<class Vector,int N=4>
class Lobatto3a
{
using vector_t = std::array<long double,N>;
using matrix_t = std::array<vector_t,N>;
using ks_t = std::array<Vector,N>;
vector_t a,sigma;
matrix_t... |
463aa9d3320e1b020537817749acb81d4d8b5297 | 47ddd7437347c4853f60863d58779c6b14e3b012 | /Proyecto1/Flower.h | 298024ab70ecb7be4abb0f47dbb54fe0937c732f | [] | no_license | ndiaz9/CVI_Proyecto1 | d84ed6c7de8f4ae9bec4c57b6575e6c46d79e5eb | 1b02ca9ed1a2fd792aa257dbb219b03ef13feae1 | refs/heads/main | 2023-03-11T06:53:04.722104 | 2021-02-28T02:06:07 | 2021-02-28T02:06:07 | 337,946,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | h | Flower.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Flower.generated.h"
UCLASS()
class PROYECTO1_API AFlower : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
... |
cee1bccf96b4b4c95b0f3720b645e74fc1184e6a | b602bcfe7629fa0bbd53d7136a71ea115a37eba0 | /hittable.hxx | cd5f33ae488b169750e36a2793e622fa9448a7ee | [] | no_license | bunbun205/basicRayTracer | b3043066773f2e000e106344b532c5412fe3fca6 | 67718ec5c1a68d8aa0e7ef7414e3be33bd36b2c9 | refs/heads/master | 2023-08-01T14:22:27.523722 | 2021-09-12T15:05:03 | 2021-09-12T15:05:03 | 405,673,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | hxx | hittable.hxx | #pragma once
#include "ray.hxx"
struct hitRecord {
point3 p;
vec3 normal;
double t;
bool frontFace;
inline void setFaceNormal(const ray &r, const vec3 &outwardNormal) {
frontFace = dot(r.direction(), outwardNormal) < 0;
normal = frontFace ? ou... |
b505e3f81377c5d90d50b79e26be4a1a19cc3564 | 64a59d609c6302d71e89df473798906d1fd9d6a5 | /src/FinchI/potential_field/src/potential_field.cpp | 5dc4137936adb28713bbeb7cf8b141580e0640b1 | [] | no_license | ianwfinch/catkin_ws | 48eb62b09a381517a962831308690962b75ddf87 | f1c24b2d7d0283943741ef82bca5cfff9adea618 | refs/heads/master | 2020-03-30T14:10:53.639210 | 2018-10-30T17:00:19 | 2018-10-30T17:00:19 | 151,304,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,856 | cpp | potential_field.cpp | #include "ros/ros.h"
#include "nav_msgs/Odometry.h"
#include "geometry_msgs/Twist.h"
#include "sensor_msgs/LaserScan.h"
#include <vector>
#include <cstdlib> // Needed for rand()
#include <ctime> // Needed to seed random number generator with a time value
#include <LinearMath/btQuaternion.h> // Needed to convert rotatio... |
a1ba9650d0b0a4f707a5f03234a3336db4e477b8 | 2b31b6a58a6677f23422a07b9aebbc0ae89e8cb0 | /libvis/src/libvis/render_window_qt_opengl.h | 9eff672173ca5613b6102f55ddee44ea9f0bb88e | [
"BSD-3-Clause"
] | permissive | SnowCarter/surfelmeshing | eef27c8d8797432f0706502e8507e45adee7323b | 5b1c8d160c1d64f5144b58309b725812d8e6e3ab | refs/heads/master | 2020-04-03T06:25:35.202401 | 2018-10-02T12:31:55 | 2018-10-02T12:31:55 | 155,074,298 | 1 | 0 | BSD-3-Clause | 2018-10-28T13:30:43 | 2018-10-28T13:30:42 | null | UTF-8 | C++ | false | false | 2,974 | h | render_window_qt_opengl.h | // Copyright 2018 ETH Zürich, Thomas Schöps
//
// 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 and the follow... |
01ae9a26aeba818f72f995b457feaee6c1b47e7c | 9b38b6b08084ce2f3b45c9c1248e9bfeeab56221 | /FIT2096 - Week 4 Base/FIT2049 - Week 4/Game.cpp | 640d7a24cb921f46da91e0cce7fb8857b98c65b8 | [] | no_license | Billy-Bricknall/FIT2096-A2b | b544d506b55d63fe13fe3d30408bbc6ed5c4b8de | eacd1b54b0b579fb3244f83f211c7f6a6ef05283 | refs/heads/master | 2021-09-15T06:15:28.482681 | 2018-05-27T13:53:13 | 2018-05-27T13:53:13 | 131,710,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,601 | cpp | Game.cpp | /* FIT2049 - Example Code
* Game.cpp
* Created by Elliott Wilson & Mike Yeates - 2016 - Monash University
*/
#include "Game.h"
#include "TexturedShader.h"
#include <iostream>
#include "DirectXTK/CommonStates.h"
#include <sstream>
Game::Game()
{
m_renderer = NULL;
m_currentCam = NULL;
m_input = NULL;
m_meshManager... |
a4ffd8020900244539fc70af17574843c3ab4b5e | 6f6f5093effaef2f991ed8fbe087e1680eec7bd2 | /src/automaton/core/smartproto/smart_protocol.h | 24fff9bed92c7e3cd8be2d229811b7fcfe9593eb | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sept-en/automaton | 1006d35d711315fc304a4bf304284061864bdca9 | b7448dfe578cf52df37ec7c86536d1e51017c548 | refs/heads/master | 2021-04-12T15:18:48.886428 | 2020-03-22T00:49:28 | 2020-03-22T00:49:28 | 249,087,538 | 0 | 0 | MIT | 2020-03-22T00:48:51 | 2020-03-22T00:48:51 | null | UTF-8 | C++ | false | false | 2,100 | h | smart_protocol.h | #ifndef AUTOMATON_CORE_SMARTPROTO_SMART_PROTOCOL_H_
#define AUTOMATON_CORE_SMARTPROTO_SMART_PROTOCOL_H_
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "automaton/core/data/factory.h"
#include "automaton/core/data/schema.h"
namespace automaton {
namespace core {
namespace smar... |
dcbccfe769ec1574c23ca4de639087e7d1276101 | a1b67e600f66f8c6c306b2179e5e9b908359c42f | /chapter7/examples/7_1.cpp | d8c36727388d6a62ba7baabbd73d2f6665445fb1 | [] | no_license | Shreevathsa99/cpp-programs | 56041753ee4236cb8ba896d43da649ee78576912 | 8ec6b2a7b7ecb7e61c33a08c8b277887ecdef0ea | refs/heads/master | 2020-04-17T11:26:18.030415 | 2019-04-20T15:11:18 | 2019-04-20T15:11:18 | 166,540,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | 7_1.cpp | /* Test for open and close errors.
* Written by: Shreevathsa.
* Date: 19/01/2019.
*/
#include<iostream>
#include<fstream>
#include<cstdlib>
using namespace std;
int main(){
cout << "Start open/close error test\n";
ifstream fsDailyTemps;
fsDailyTemps.open("ch7TEMPS.DAT");
if(!fsDailyTemps){
cout << "\aError 10... |
9c27f9f11eb5678c7ea7b885d55bec11f1bd0a17 | ca5d37bfe3a9ed372c6f9b2d0057bc07ee7b79d8 | /prio4/Main.cpp | e8956a7ede6751924d583687514461a5e5fa83e5 | [] | no_license | chenubal/Scratch1 | 1f1d07e5b2f405e329a99b6442de5101fda2aaea | 7f474bbafd11c990eb72e98e4c8140460d06769b | refs/heads/master | 2023-08-07T10:40:40.111700 | 2023-01-01T14:24:03 | 2023-01-01T14:24:03 | 95,187,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | Main.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <tuple>
struct Cmd
{
Cmd( const char* c) : cmd(c) {}
Cmd(std::string const&c) : cmd(c) {}
Cmd(std::string &&c) : cmd(std::move(c)) {}
std::string cmd;
void operator()(int p) const { std::cout << "run " << cmd << "(" << p << ")\n... |
0ac2200840043c377a00f2035d1e820a6a42d495 | 1334014eaeffdde4886da49ce5f387c46a5cc23a | /2021-1/baekjoon/2644_촌수계산.cpp | d3c41bbead4dcd14c881390686ecaf274364016c | [] | no_license | gusah009/Algorithm | a85b1a4526a885b1f809c23c55565f453a5294c4 | 5da952e16a6f90f663706675812f042707aa7280 | refs/heads/main | 2023-07-31T17:28:20.404630 | 2021-09-05T06:14:00 | 2021-09-05T06:14:00 | 357,753,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | 2644_촌수계산.cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... |
312db1f00f522b06148c46c912d4915144ef78ed | 2a73aed02d013defdaeaccb27b494c4b1e9fa943 | /Control_Suhu_Ruangan.ino | 462ce8bfc7f03f015e1bb122da46232b0ffe3ab0 | [] | no_license | Ulfisri/Proyek-Arduino-Control-Sensor-Suhu-pada-Ruangan- | 390bb24524249824734c2ca48e9ea953153bbd1e | 24855e448c998c960e0efd14237cfee91d432cf5 | refs/heads/main | 2023-05-21T21:26:54.155491 | 2021-06-10T14:28:47 | 2021-06-10T14:28:47 | 375,724,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | ino | Control_Suhu_Ruangan.ino | #include <DHT.h>
#include <DHT_U.h>
#include <Adafruit_Sensor.h>
#define DHTPIN 2 // pin yang digunakan untuk input data dari sensor dht 11
#define DHTTYPE DHT11 // kalian bisa mengganti DHT11 dengan DHT 22 /DHT 21 tergantung sensor yang kalian gunakan
DHT dht(DHTPIN, DHTTYPE);
void setup()
{
Serial.begi... |
68ac9f2cfee3f45868988ede146ec51ab60d9bf7 | e173e8fd6d50f0c3191c9395a8c342516f651ebd | /include/Tools/Algo/PRNG/PRNG_MT19937_simd.hpp | eb94d083f1fea984bb000a49e4be610f1e8cf107 | [
"MIT"
] | permissive | aff3ct/aff3ct | e11e0ac440b96849f73348dc6fb4a15611f807ec | 8fa65a3ca9b0dcdd3d544363bc692d4f85f6f718 | refs/heads/master | 2023-07-19T06:59:41.908384 | 2022-04-21T08:34:08 | 2022-04-21T08:34:08 | 60,615,913 | 417 | 150 | MIT | 2022-09-14T11:09:54 | 2016-06-07T13:37:47 | C++ | UTF-8 | C++ | false | false | 2,150 | hpp | PRNG_MT19937_simd.hpp | /*!
* \file
* \brief The Mersenne Twister pseudo-random number generator (PRNG) with fast SIMD instructions.
*
* This is an implementation of fast PRNG called MT19937,
* meaning it has a period of 2^19937-1, which is a Mersenne
* prime.
*
* This PRNG is fast and suitable for non-cryptographic code.
* For insta... |
30c750b49ec714233a722b1fd88430c4929498b1 | 21cab7d193e6d74be36afc052906217443651fac | /Codeforces/A_382.cpp | 25b9d05a16fdc9c1072a7af806e483b7954bed0d | [
"MIT"
] | permissive | ahakouz17/Competitive-Programming-Practice | 2d3e7887129298b850e5bfd7341b6cd103eb5766 | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | refs/heads/master | 2020-09-28T02:59:36.450414 | 2020-01-01T11:33:07 | 2020-01-01T11:33:07 | 226,672,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | A_382.cpp | // solved: 2014-01-17 19:54:58
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main()
{
int en = 0;
string w, re;
cin >> w >> re;
vector<char> l;
vector<char> r;
for (int i = 0; i < w.length(); i++)
{
if (w[i] != '|')
l.push_back(w[i]);
... |
28c992aed4387d323f0921401c041d78011a35b7 | c785b9f58e3e6ab2998b2923ad0df3ba5e64fbb2 | /Classes/Client/Tutorials/TutorialsManager.h | 5a2163e49b4973b0086dff5adcd355537660492d | [] | no_license | kylinda/xcode_jifengyongzhezhuan | d4673c4be036b0b79197271d2cca211541f15e0c | d914d59259bc1412f281193aadd6ad1c1f0b4ac0 | refs/heads/master | 2021-01-21T16:18:43.402867 | 2014-11-11T05:26:26 | 2014-11-11T05:26:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,717 | h | TutorialsManager.h | #pragma once
#include "cocos2d.h"
#include "TutorialsDataCenter.h"
#include "TutorialBase.h"
#include "vector"
#include "TaskData.h"
USING_NS_CC;
class TutorialsManager
{
public :
TutorialsManager();
~TutorialsManager();
static TutorialsManager* Get();
static void Destroy();
void LoadData();
/**
* Instructio... |
c6f8f7aaa3320f637883402229c54a281842861a | ebd585fdafb22d31fcd6d04b209f81e88d1a2083 | /modem_proc/modem/datamodem/interface/dssock/inc/ds_Sock_Utils.h | 31194579972cf9410c172aa7111c1abec0921250 | [
"Apache-2.0"
] | permissive | xusl/android-wilhelm | fd28144253cd9d7de0646f96ff27a1f4a9bec6e3 | 13c59cb5b0913252fe0b5c672d8dc2bf938bb720 | refs/heads/master | 2018-04-03T21:46:10.195170 | 2017-04-20T10:17:49 | 2017-04-20T10:17:49 | 88,847,837 | 11 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 5,276 | h | ds_Sock_Utils.h | #ifndef DS_SOCK_UTILS_H
#define DS_SOCK_UTILS_H
/*==========================================================================*/
/*!
@file
ds_Sock_Utils.h
@brief
This files provides common utility functions and macros used by the DSSOCK
module.
Copyright (c) 2009 Qualcomm Technologies Incorporated.
... |
0a52b2a86a1d8c5c9359cb8f6f6ce6d71184e824 | 56b02c68cd34f553ba276749d8c7a2797586fc01 | /carManage/mainwindow.cpp | 58713a02ea8590e42299e5c65373d430b1f37af8 | [] | no_license | Liao-lin/qt_project | 569059259a26194b4fcd3664696176df68b4e695 | 934aeeb6c342cfd194e64cdd81444f45e3adc487 | refs/heads/master | 2020-05-24T01:21:50.524215 | 2019-05-16T13:29:12 | 2019-05-16T13:29:12 | 187,033,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,590 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "domxml.h"
#include<QSqlDatabase>
#include<QSqlError>
#include<QMessageBox>
#include<QSqlQueryModel>
#include<QSqlQuery>
#include<QString>
#include<QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui... |
321e7cde52a47c23090beb12ef1cd7a8402cc0d2 | 3dda05a9931cd3da5b125d5db883317649c2a294 | /cpp/uniform_experiment.cpp | 86128642c367e47de1dec81b91a965e65ad99d20 | [] | no_license | npetrenko/curse_dim | 50e11af1890a683ed40fa1d409f28336a400352a | 188e8899fca52407d49d926e8cc272a5e15411f4 | refs/heads/master | 2020-05-27T08:45:22.506882 | 2019-08-09T13:05:01 | 2019-08-09T13:05:01 | 188,552,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | cpp | uniform_experiment.cpp | #include <curse_dim/pendulum.hpp>
#include <curse_dim/experiment.hpp>
#include <curse_dim/uniform_experiment.hpp>
#include <bellman/bellman_operators/uniform_operator.hpp>
#include <glog/logging.h>
class UniformExperimentImpl final : public AbstractExperiment {
public:
UniformExperimentImpl(AbstractExperiment::Bui... |
f49cb74f6e7b64af0e50a9447eaf46a05df55d78 | 5330918e825f8d373d3907962ba28215182389c3 | /FWCore/Framework/src/GenericObjectOwner.cc | bb6b3c6743db5162910ffe16c71cc0ad15563e23 | [] | no_license | perrozzi/cmg-cmssw | 31103a7179222c7aa94f65e83d090a5cf2748e27 | 1f4cfd936da3a6ca78f25959a41620925c4907ca | refs/heads/CMG_PAT_V5_18_from-CMSSW_5_3_22 | 2021-01-16T23:15:58.556441 | 2017-05-11T22:43:15 | 2017-05-11T22:43:15 | 13,272,641 | 1 | 0 | null | 2017-05-11T22:43:16 | 2013-10-02T14:05:21 | C++ | UTF-8 | C++ | false | false | 3,898 | cc | GenericObjectOwner.cc | // -*- C++ -*-
//
// Package: Framework
// Class : GenericObjectOwner
//
// Implementation:
// <Notes on implementation>
//
// Original Author: Chris Jones
// Created: Thu Feb 7 17:21:22 EST 2008
//
// system include files
// user include files
#include "FWCore/Framework/interface/GenericObje... |
34f892a6a1a9d96f6672acf2674561b971df2afa | 7ba61f38646acb3c5cd0d879b716d36f2bfdcd7b | /BST_IDE/ui/bk/uipageview.cpp | 22ad75bafb7fb8d8444cbdbc3cdeba16cff8fda7 | [] | no_license | HensonLi/Elevator-BST-V1 | 3f774303e8ebc67fca1c66c8750fcc44ff229907 | 2e27edcd0bbe54ef03378f4508bf36937bd80f4c | refs/heads/master | 2021-05-11T09:56:11.990511 | 2018-01-19T07:41:10 | 2018-01-19T07:41:10 | 118,089,237 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,586 | cpp | uipageview.cpp | #include "uipageview.h"
uiPageView::uiPageView(QWidget *parent) :
QGraphicsView(parent)
{
scene = 0;
setRenderHint(QPainter::Antialiasing);
setBackgroundBrush(QBrush(Qt::gray));
//setBackgroundBrush(QPixmap(":/Page/rc/Page/background.png"));
setCacheMode(QGraphicsView::CacheBackground)... |
f07498484fadd9ddcaeaf56c05eb963b6b59ec6f | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/webrtc/modules/utility/source/jvm_android.cc | ee9930bcaa660ab1652bf47b81810c2a299524e8 | [
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | 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 | 9,003 | cc | jvm_android.cc | /*
* Copyright (c) 2015 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... |
0c3a57958ea9176f38357d388d7a05ebf970ae24 | ec10d4320fdbad0bab61b5fa00c0bf27e50ce6f1 | /code/benchmarker/sources/viinterpolatorbatcher.cpp | a09ca703a721829d7b0a82ea72a4eabab46465e3 | [] | no_license | dualword/Visore | d9e97c5a53cdd0c812c41a52ce169bd7c04b765d | db402f0bb69b25fccbca7500f275fac8a629b1f9 | refs/heads/master | 2023-03-17T12:38:02.901936 | 2015-01-29T06:06:32 | 2015-01-29T06:06:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,769 | cpp | viinterpolatorbatcher.cpp | #include <viinterpolatorbatcher.h>
#include <viaudiodata.h>
#include <vinoisecreator.h>
#include <QTextStream>
#include <QDir>
#include <iomanip>
#include <vinearestneighbourinterpolator.h>
#include <viprimitiveinterpolator.h>
#include <vipolynomialinterpolator.h>
#include <vifourierinterpolator.h>
#include <vilagrang... |
8fe432f1a9376fde710ce9c98fb614176a4b2964 | 564c21649799b8b59f47d6282865f0cf745b1f87 | /chrome/browser/ui/search/search_ipc_router.cc | 2dcba5b33f323cc35d6a805463fd113e78a82cdc | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | pablosalazar7/WebARonARCore | e41f6277dd321c60084abad635819e0f70f2e9ff | 43c5db480e89b59e4ae6349e36d8f375ee12cc0d | refs/heads/webarcore_57.0.2987.5 | 2023-02-23T04:58:12.756320 | 2018-01-17T17:40:20 | 2018-01-24T04:14:02 | 454,492,900 | 1 | 0 | NOASSERTION | 2022-02-01T17:56:03 | 2022-02-01T17:56:02 | null | UTF-8 | C++ | false | false | 10,158 | cc | search_ipc_router.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/search/search_ipc_router.h"
#include <utility>
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search/... |
ba4a6d4a04aef07bd61d6b7833dc19b484152998 | 31589435071cbff4c5e95b357d8f3fa258f43269 | /PPTVForWin8/ppbox_1.2.0/src/p2p/server_mod/supernode/LocalDiskCache/SmallFileMode/SmallFileLocalDisk.h | c9cbec601eef0419662a04a803a1fd29dd4484a5 | [] | no_license | huangyt/MyProjects | 8d94656f41f6fac9ae30f089230f7c4bfb5448ac | cd17f4b0092d19bc752d949737c6ed3a3ef00a86 | refs/heads/master | 2021-01-17T20:19:35.691882 | 2013-05-03T07:19:31 | 2013-05-03T07:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,545 | h | SmallFileLocalDisk.h | #ifndef SUPER_NODE_SMALL_FILE_LOCAL_DISK_H
#define SUPER_NODE_SMALL_FILE_LOCAL_DISK_H
#include "../LocalDisk.h"
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include "../../PriorityTasksQueue.h"
// #include "../LocalDiskCache.h"
#include "DiskTask.h"
#include "../../ServiceHealthMonitor/Serv... |
ee6795ff6d456dab5f3858ca3fbf6b1321c81c23 | 538e1bad9045aeb4f6fbf93453d20c2c2a874d2b | /10.iterator/vector_randomiterANDlist_bothiter.cpp | c3ac447c7c7bff3766bd7d0741d878637ca4a99b | [] | no_license | rim0621/Cpp-study | 849b7d2719e3d4765b85ed7d503b99d4472e1610 | 383a1c3845d8066421b96b4d488cf46c9e1b47bb | refs/heads/master | 2021-09-19T23:34:35.310590 | 2018-08-01T11:32:59 | 2018-08-01T11:32:59 | 95,458,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp | vector_randomiterANDlist_bothiter.cpp | #include<iostream>
#include<vector>
#include<list>
using namespace std;
class Point
{
int x;
int y;
public:
explicit Point(int _x=0, int _y=0):x(_x),y(_y){}
void Print() const { cout<<x<<" , "<<y<<endl;}
};
int main()
{
vector<int> v;
v.push_back(10);
v.push_back(20);
v.push_back(30);
list<int> lt;
lt.... |
87a0406772544f124efd82c82786fe78f8398377 | 2b384cad54b5037edd9e4f18b4c67f38148e510d | /Database.cpp | ce958cd2dc0b705b32a7548e36b464e17636bddc | [] | no_license | atripathy86/srn | 3801988636fa3098fca010c5ec8f86219085c016 | 592d56d0d566156f65b198b4507d9a7f282453b5 | refs/heads/master | 2016-09-06T19:58:54.252263 | 2013-02-23T03:28:32 | 2013-02-23T03:28:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,512 | cpp | Database.cpp | #include "ForwardDeclaration.hpp"
#include "Database.hpp"
#include "Input.hpp"
//#include <cmath>
#include "ForwardDeclaration.hpp" //Got from hpp
#include "Input.hpp" //Got from hpp
#include "Infrastructure.hpp" //Added , troubleshooot circular hpp depepndency if this one gives problem
Database::Database... |
c921cb9a31930e22b5bb7370cc06f3377e377292 | 80bd05d46731a7e21d5e3ba17d4d86aef8ab2694 | /Antario/Hooks.h | 57c70ff91f6b9c85e7c963d77cf07e0b55c40c1f | [
"MIT"
] | permissive | qq1091192337/censoredwin | e2943bf9f5bf5223e78325d31eb9df639da70c7c | 43544438b0930711d2cf9cd879fbba75ebf6da80 | refs/heads/master | 2020-04-12T13:56:17.491874 | 2018-12-19T20:23:27 | 2018-12-19T20:23:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,921 | h | Hooks.h | #pragma once
#include "Utils\DrawManager.h"
#include "Utils\Interfaces.h"
#include "SDK\IClientMode.h"
#include "SDK\ISurface.h"
#include "EventListener.h"
#include "SDK\CInput.h"
#include "GUI\GUI.h"
#include "SDK/IVModelRender.h"
namespace vtable_indexes
{
constexpr auto reset = 16;
constexpr auto present = 17;
... |
39e8fe304e8b5e2a18120263188726e5b5d35a60 | f3fc8bb9d386dbda07bd3ef4becd6a91abc8cbf5 | /src/nebula/test/NebulaInstanceTest.cpp | 333ff17f3a93da0fb6f77bddf7165e25f3dc0eae | [] | no_license | bright-starry-sky/nebula-chaos | abc492e48e25141df50ed4920c39204022cb1fbe | 9046fd1afd588e5610828d76f309ec5c4d6acb1d | refs/heads/master | 2022-12-14T23:01:28.412872 | 2020-09-01T07:00:06 | 2020-09-01T07:00:06 | 290,383,427 | 1 | 0 | null | 2020-08-26T03:17:37 | 2020-08-26T03:17:36 | null | UTF-8 | C++ | false | false | 1,204 | cpp | NebulaInstanceTest.cpp | #include "common/Base.h"
#include <gtest/gtest.h>
#include <glog/logging.h>
#include <folly/init/Init.h>
#include "nebula/NebulaInstance.h"
namespace nebula_chaos {
namespace nebula {
TEST(NebulaInstanceTest, DateTest) {
auto installPath = folly::stringPrintf("%s/mock/nebula",
... |
402929b99d63a2473f5fb6d99053e853f9e90478 | 6d11dc6099e6679eb35428d6117c4955c1ff8861 | /CarBluetooth/CarBluetooth.ino | abd6d8a3666eb8e59d0a49a0b0d925b8d58862e7 | [] | no_license | lopdam/Arduino | 11453df017625c1079dda97a1706c253e2e8bb1e | ec01ccb1c14e561e5ee392c04483703c010514c3 | refs/heads/master | 2020-04-21T23:03:18.682735 | 2019-03-22T16:47:01 | 2019-03-22T16:47:01 | 169,933,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,300 | ino | CarBluetooth.ino | #include <SoftwareSerial.h>
#include <Servo.h>
//Declaracion de las variables
//Motor 1 Derecho
const int M11=8;
const int M12=7;
//Motor 2 Izquierdo
const int M22=4;
const int M21=2;
//Control de velocidad de los motores
const int M1PWM=3;
const int M2PWM=5;
//Buzzer
const int Buzzer=6;
//Control del servo
con... |
8de238f888b1ff4b04a1418437e352b7a368d4ac | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /SDK/include/WildMagic4/SampleGraphics/Refraction/RefractionEffect.inl | bab982a75cdd8fa46ce007c2125c1e523303cd10 | [
"BSL-1.0"
] | permissive | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | inl | RefractionEffect.inl | // Geometric Tools, LLC
// Copyright (c) 1998-2010
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 4.10.0 (2009/11/18)
//-------------------------------------------------------------... |
ac6379bbb37b33512dca237190ffc02e5cba35dd | 2725cbc61c571e59846fabf309ea331631b00295 | /ui_talkw.h | 0bb5e976eea0c197922b0a39884885c511fc252a | [] | no_license | bunny1985/detoks | 40c21dee66f479625698b5acb8024d4d969c8f38 | 55fd4b154117d328c8962850a39246f542a02513 | refs/heads/master | 2018-12-28T09:31:33.763688 | 2010-07-16T05:48:44 | 2010-07-16T05:48:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,029 | h | ui_talkw.h | /********************************************************************************
** Form generated from reading UI file 'talkw.ui'
**
** Created: Sat 26. Jun 01:03:24 2010
** by: Qt User Interface Compiler version 4.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***... |
08a1e717faac668899c9011b589a50893c5a648a | ae6f83a1c625cd2a4ce164e76b1519d65cdfe8fa | /include/list.hpp | c18120ecefe96b1bc8f5fbbbc3cab766219bde78 | [] | no_license | westefns-souza/trabalhoedb | acb8d6bd264c076d909e3d032af2b562e17b4ba5 | 25cbc643ee6f53c0f1ab2882a482503172affcd6 | refs/heads/main | 2023-01-24T17:14:11.525447 | 2020-11-30T02:08:12 | 2020-11-30T02:08:12 | 317,086,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | hpp | list.hpp | #pragma once
#include <iostream>
#include "node.hpp"
//Lista duplamente encadeada
template<typename T>
class List
{
public:
List();
~List();
size_t size();
void insertAt(T value, size_t position); // insere o elemento value na posição position. Complexidade: O(n).
void re... |
a25cc6991c8074fd18d8be5dac27d6bfb5657c2c | 635c529d802e2d75073a76c2fe4f861f208d8948 | /dsaC++/sorting/tempCodeRunnerFile.cpp | ee390f50585b921ebcb3d52e8a35f051af5a3f2a | [] | no_license | parduman/lovebabbar450 | bca6c7c03ffc7c704b84e5c5971a80e16c8e897f | 4b7bf64274fe77b3f398a782fb3fd234c138d697 | refs/heads/master | 2023-08-04T23:38:55.065388 | 2021-09-09T07:28:29 | 2021-09-09T07:28:29 | 369,904,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | tempCodeRunnerFile.cpp | for(int i=0;i<arr.size();i++){
// cout <<arr[i] <<" ";
// } |
6417a56d5e0ad19b5b26b358b02d06a16d86d214 | f3fa6e988b5f32dec3dcddff4021f992dfa5b908 | /CContainer.cpp | dcf9ff30ae495cfed69763cadd43f05304bd6c0b | [] | no_license | stefankloepfer/labDevXGroupElitekh25 | 68ce57e34101be3dbb98b3a8b6696b0cd76952c3 | 6fabbfb803930edadeb6d1ba1ad9f4fab3c10fcd | refs/heads/master | 2021-01-21T08:01:59.940095 | 2017-02-27T16:07:35 | 2017-02-27T16:07:35 | 83,329,372 | 0 | 0 | null | 2017-02-27T16:06:17 | 2017-02-27T16:06:17 | null | UTF-8 | C++ | false | false | 609 | cpp | CContainer.cpp | /*
* CContainer.cpp
*
* Created on: Feb 27, 2017
* Author: vmuser
*/
#include "CContainer.h"
CContainer::CContainer()
{
id_ = 0;
this->container_.empty();
fathymutex_ = new pthread_mutex_t();
}
CContainer::~CContainer()
{
delete fathymutex_;
};
CContainer::fillMyContainer(int& para)
{
container_.push_b... |
5e5c6f8d76851572987559b33c620c07283f6427 | b9bc15f1f02f0b83c954dc5576604438d890770d | /Source/S05_TestingGrounds/NPC/PatrolRoute.cpp | 3d8dee1f50f7a9c771547339eebd7631573a2a08 | [] | no_license | zedhqx4/05_TestingGrounds | 48495ba2819bfc35d1e6095dd8564f1f957b31cb | 5b1fb73b1fae4c44954d42555f71dff7dafc37b0 | refs/heads/master | 2021-01-20T15:30:43.889955 | 2017-06-30T16:53:45 | 2017-06-30T16:53:45 | 90,666,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | PatrolRoute.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "S05_TestingGrounds.h"
#include "PatrolRoute.h"
TArray<AActor*> UPatrolRoute::GetPatrolPoints() const // This is a Getter (GET): Get Patrol points from TArray OF AActor
{
return PatrolPoints;
}
|
1b72404d58ab1a72afe2182d124bd18deef94fe0 | 5a0dc429c8d2dfd7af8e9ab470a583f1145bf84b | /include/Helpers.h | 75b7aa35cbb642317110fefb861b9fc4c8926173 | [
"Apache-2.0"
] | permissive | calinrc/urtoy | fd9b413aabed48511684120674c98c6c6de12354 | 71103d4915da870c2e5335e0d9fe1eaece2b47b0 | refs/heads/master | 2020-09-22T02:38:50.573962 | 2015-03-06T10:20:25 | 2015-03-06T10:20:25 | 21,162,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | h | Helpers.h | /*
* Helpers.h file written and maintained by Calin Cocan
* Created on: Jul 7, 2014
*
* This work is free: you can redistribute it and/or modify it under the terms of Apache License Version 2.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the imp... |
49608e7ca1549e9e253f0a26314ae63dee2e43eb | e28f2a1e39f48015f5ec62b71c3ec5a93ad5573e | /oj/hdoj/hdoj_4891.cpp | 011ce4366f1a62025d0c4d69fe8f4b3849f0459e | [] | no_license | james47/acm | 22678d314bcdc3058f235443281a5b4abab2660d | 09ad1bfc10cdd0af2d56169a0bdb8e0f22cba1cb | refs/heads/master | 2020-12-24T16:07:28.284304 | 2016-03-13T15:16:48 | 2016-03-13T15:16:48 | 38,529,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | hdoj_4891.cpp | #include<cstdio>
#include<iostream>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<cstdlib>
#include<set>
#include<map>
#include<queue>
#include<ctime>
#include<string>
using namespace std;
const long long inf = int(1e5);
int n;
char ch;
int main()
{
while(scanf("%d", &n) != EOF)
{
getchar();
lon... |
5d6d51bb62842e062a175987844dbd4f08c4dd64 | 93d9819473a1043f7fbc6712aff55610765fc92c | /frmMain.cpp | bdec1257ba42960ace26b98509b4dc8cea1271a1 | [] | no_license | cckui/Borland_C_Lamp | fb9d4a94869722984e23a7dc719816bfbc25cebe | afe29e0808a450118784692e7eee971f3cb67af2 | refs/heads/master | 2021-01-21T18:18:16.846635 | 2017-05-22T08:57:56 | 2017-05-22T08:57:56 | 92,031,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,331 | cpp | frmMain.cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "frmMain.h"
#include "Tme.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
int flag=0;
int count_R... |
0b735f04a645cc52e402aa45ef7bb7535e6d4490 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/TileCalorimeter/TileG4/TileGeoG4SD/src/components/TileGeoG4SD_entries.cxx | d8c63c5cd42facd000cd6d4e20fb8f7481c0fc3c | [] | 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 | 311 | cxx | TileGeoG4SD_entries.cxx | #include "GaudiKernel/DeclareFactoryEntries.h"
#include "../TileGeoG4SDTool.h"
#include "../TileGeoG4SDCalc.hh"
DECLARE_TOOL_FACTORY( TileGeoG4SDTool )
DECLARE_SERVICE_FACTORY( TileGeoG4SDCalc )
DECLARE_FACTORY_ENTRIES( TileGeoG4SD ) {
DECLARE_TOOL( TileGeoG4SDTool )
DECLARE_SERVICE( TileGeoG4SDCalc )
}
|
d88abd72f9d3d30d7a1fd08ab558766af493e0ef | 03d8bf96b2aae39be2f0632aab5e63fef651ff84 | /swea_3142.cpp | 85c9bc1907641aca8321af4f373fe5fd771e9728 | [] | no_license | HanB2/SWEA_Prac | 6a28ca36ca26d78e7b29a1d990e0822825fd8c02 | 9a8e58cd8ec5cf28e62d8f401b0eec563b582b15 | refs/heads/master | 2020-07-20T19:36:16.013356 | 2019-12-26T01:41:15 | 2019-12-26T01:41:15 | 206,699,395 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | swea_3142.cpp | #include <iostream>
using namespace std;
int N,M;
int Uni;
int twinHorn;
// N = Uni + 2 * TwinHorn
// M = Uni + TwinHorn
// N -M = TwinHorn
int HowMany(){
twinHorn = N-M;
Uni = M - twinHorn;
}
int main(){
int T;
cin >> T;
for (int t_case = 0; t_case < T; t_case++)
{
Uni =0; twinHo... |
223e78db0eaf954a0bfdb82bc2c7b8856842f23f | 85412c3b43165b8860e6416b5a5f2c013e808f03 | /preprocess.h | 64649ba3646e55c06a34b3b6d8173edd71274979 | [] | no_license | ashraf-kx/Arabic-OCR | 038e67bcf8b30e48190d734a9840f240ccf17900 | 8a64d5affeb6c5beed3b4cec580b0126035fd35c | refs/heads/main | 2022-03-04T02:13:20.702698 | 2022-02-16T23:07:36 | 2022-02-16T23:07:36 | 55,866,111 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | preprocess.h | #ifndef PREPROCESS_H
#define PREPROCESS_H
#include <QObject>
#include <QDebug>
#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
class Preprocess : public QObject
{
Q_OBJECT
private:
struct pos
{
int x;
int y;
};
public:
explicit Preproce... |
b35db1968009919efc9118e7a2ba70b90c95b59a | ca9770f3afce46c796a21ef4be4950c333375d5a | /test/unit/cyt_unit_event_socket.cpp | 101dbd72b0e3e4f623d55d2c601111c9a645b90d | [] | no_license | thejinchao/cyclone | 25a57db09c4bcef32a773201acbb367a61816aba | 40162e2ecd069ab2769c78ffdc2e0007cc9900dd | refs/heads/master | 2023-05-26T09:10:06.152747 | 2023-05-23T01:31:29 | 2023-05-23T01:31:29 | 31,857,199 | 47 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 9,275 | cpp | cyt_unit_event_socket.cpp | #include <cy_event.h>
#include <cy_crypt.h>
#include "cyt_event_fortest.h"
#include <gtest/gtest.h>
using namespace cyclone;
namespace {
//-------------------------------------------------------------------------------------
class SocketPair
{
public:
socket_t m_fd[2];
RingBuf rb;
Looper::event_id_t event_id;
v... |
354977ad308c07cf58bc6e6175d2ad47a25c9cf4 | bd96459164b7f3f500d4cf2ad6dc79a8673f4b23 | /datatype/main.cpp | 342153446f3ab6952284347c2d47bf9735814187 | [] | no_license | QQBoxy/2018vc | 6c0b28b9aa2230907b280244cbc91b826ebe28c5 | c92f76a079c4d2359fa4cd8fcbebd5eb6c2ac70e | refs/heads/master | 2020-03-23T19:01:59.078412 | 2018-08-07T07:03:43 | 2018-08-07T07:03:43 | 141,949,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | main.cpp | //Example 2 - datatype
#include <iostream>
using namespace std;
int main(void)
{
cout << "type\tbyte" << endl;
//整數
cout << "short\t" << sizeof(short) << endl; //2
cout << "int\t" << sizeof(int) << endl; //4
cout << "long\t" << sizeof(long) << "\n" << endl; //4
//浮點數
cout << "float\t" << sizeof(float) << endl... |
4c84a6731a52756904f36cb23ed4e5329385fc9f | 43d5b851932ca564bd26a4e96212797ae0e2cd21 | /Source/Entity/NPC.cpp | ab600477aa1910ef372c4651b23e06f686b9daa9 | [] | no_license | HexColors60/GoblinCamp | 8c427bd04beba022b0c6df980eccfe93ac5770af | 80b2ee98dc20ea10a9f5731338f548f0cb2197a5 | refs/heads/main | 2023-03-21T05:31:29.831316 | 2021-03-20T02:41:03 | 2021-03-20T02:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110,831 | cpp | NPC.cpp | /* Copyright 2010-2011 Ilkka Halila
This file is part of Goblin Camp.
Goblin Camp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Goblin Ca... |
6be1b06056d6f196b6d6859e2accec5a919e2854 | 79cd409b4b12f8ab76a31130750753e147c5dd4e | /wiselib.testing/algorithms/cluster/modules/chd/prob_chd.h | 5e249ef9f5638c7c6668049560b569de25ed500e | [] | no_license | bjoerke/wiselib | d28eb39e9095c9bfcec6b4c635b773f5fcaf87fa | 183726cbf744be9d65f12dd01bece0f7fd842541 | refs/heads/master | 2020-12-28T20:30:40.829538 | 2014-08-18T14:10:42 | 2014-08-18T14:10:42 | 19,933,324 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,090 | h | prob_chd.h | /***************************************************************************
** This file is part of the generic algorithm library Wiselib. **
** Copyright (C) 2008,2009 by the Wisebed (www.wisebed.eu) project. **
** **
** The Wise... |
977346d4f37a9d9fc283f89c20ef3d67cdf22b21 | e577d913747e591d38bbbe3d773ce6cde7ebd4b7 | /include/Triangle.h | 8bb9b6d310d7e157135b18d5a52806f57f205ce1 | [] | no_license | rohan166/raytracer | 44b0ef6f35874fa05a7f525fbd0424ebc00c2dbc | 6a7ddc3afbd0ab94d3f5762cbadb0cdca444f074 | refs/heads/master | 2020-12-27T01:46:16.146655 | 2016-03-30T08:04:52 | 2016-03-30T08:04:52 | 38,178,320 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 387 | h | Triangle.h | #ifndef RAYTRACER_TRIANGLE_H
#define RAYTRACER_TRIANGLE_H
#include "Prop.h"
#include "Intersection.h"
#include "Plane.h"
#include "Vector3.h"
#include "Plane.h"
class Intersection;
class Triangle : public Plane {
public:
Vector3 a, b;
Triangle(Point3 n, Point3 e, Point3 f, Material& m);
Intersection in... |
ba092d6a0df815bbce97f0c524e23020609bf3fb | 1ea60c0d3a971ec425fab89d82fd291d3fd4d6a1 | /filterfalse.hpp | 0f07f0afb7c5e7cbccbc0b779b4913fcb73e543d | [
"MIT"
] | permissive | itamar600/c-assignment-5 | 35ebf819dd079266c388409ac96d25ee5c4af7d5 | e8dac2e42cb868de370a8054c01f378682fc63a2 | refs/heads/master | 2022-11-07T05:54:24.982128 | 2020-06-21T09:22:57 | 2020-06-21T09:22:57 | 272,504,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,339 | hpp | filterfalse.hpp | #include <iostream>
#include <vector>
namespace itertools{
template<typename FUNCTION, class T>
struct filterfalse{
const T& con;
const FUNCTION& f;
filterfalse(const FUNCTION& f, const T& con):
con(con),f(f) {
// this->con=&con;
// this->f=&f;
}
... |
1d571290fcd212359b2f99a8d8aefc3c72f0936c | 980a7323eeeaff50fc272c1680af9649acaae305 | /Game/CarControllerSystem.cpp | 556043d03d2ae8498d37a3b66eb73576b9779b6d | [] | no_license | Mrp1Dev/CookieEngine | 29d59e082153bc9d73d9ac4081f567ce8550c62c | 548bd7aa4e0e1f0e4737e08d2bb6dd8d3d86395b | refs/heads/main | 2023-06-23T02:03:02.008300 | 2021-07-09T15:29:13 | 2021-07-09T15:29:13 | 353,698,357 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,334 | cpp | CarControllerSystem.cpp | #include "CarControllerSystem.h"
#include <ckMath.h>
#include <Resources.h>
#include <PhysicsComponents.h>
#include <RenderingComponents.h>
#include "CarControllerData.h"
using namespace ck;
using namespace ck::math;
using namespace ck::physics;
using namespace physx;
void CarControllerSystem::FixedUpdate(World* world... |
655cf8b5a257ca4a87593ad66ea9ba9cd1938c89 | 5b41e312db8aeb5532ba59498c93e2ec1dccd4ff | /Tools/Simulator/tlggen/CExpInvalidTlg.h | ec5ac9b9b3221fd4206dedaf4b003fdde776873e | [] | no_license | frankilfrancis/KPO_HMI_vs17 | 10d96c6cb4aebffb83254e6ca38fe6d1033eba79 | de49aa55eccd8a7abc165f6057088a28426a1ceb | refs/heads/master | 2020-04-15T16:40:14.366351 | 2019-11-14T15:33:25 | 2019-11-14T15:33:25 | 164,845,188 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 646 | h | CExpInvalidTlg.h | // Copyright 2006 SMS - Demag AG
#ifndef _CExpInvalidTlg_H_
#define _CExpInvalidTlg_H_
#include "CBaseExp.h"
//------------------------------------------------------
// Name: CExpInvalidTlg.h
// Descr: Mit dieser Klasse werden Fehlern, die waehrend
// der Bildung eines Telegramms entstehen, behandelt.
// Date... |
caae59f94622f2ce503476148c3b7b9a226b367e | 522a1f8533c93accabe956a36e5daa329feb1d39 | /SPOJ/cipo.cpp | cf616e22e129e662a69e744ff491e9588e50761d | [] | no_license | p-freire/CompProg | b69f6e6a6649f8c9bb72fe8027d7a1c917da3a30 | 5c58a187f776a3ad23dbfbb9a39c810210a191ec | refs/heads/master | 2021-07-05T22:34:53.303011 | 2016-12-05T13:35:44 | 2016-12-05T13:35:44 | 58,413,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | cpp | cipo.cpp | #include <iostream>
#include <queue>
#define tamMax 1010
#define BIGINT 9999999
using namespace std;
int matAdj[tamMax][tamMax];
int distancias[tamMax];
bool foiVisitado[tamMax];
void Prim(int vInicial, int tamanho)
{
int i;
priority_queue< pair<int, int> > filaVertices;
pair<int, int> tmp... |
2aee721d440df66a616c4f2e8c016e1befde513c | 19cc1ba930e2b391b5c41b6c24fb55fee824ef33 | /kyotocabinet-sys/kyotocabinet-1.2.76/kctextdb.h | 324af3d8f12f16c072c8981b96198788cb9b1bd0 | [
"GPL-3.0-only",
"GPL-1.0-or-later",
"MIT"
] | permissive | rinatz/casket | a1c1b8588f4c8b9228ac5c5526fdcac59d2ac4ee | 3d8f933b0260a4e988bbb956a20a51326ed7d858 | refs/heads/master | 2021-07-01T21:21:13.738437 | 2020-10-01T15:19:24 | 2020-10-01T15:19:24 | 162,697,524 | 0 | 1 | MIT | 2019-03-28T06:32:58 | 2018-12-21T09:56:42 | Rust | UTF-8 | C++ | false | false | 43,542 | h | kctextdb.h | /*************************************************************************************************
* Plain text database
* Copyright (C) 2009-2012 FAL Labs
* This file is part of Kyoto Cabinet.
* This program is free software: you can redistribute it and... |
bd5c3a189d41228472cc48d1737f750dc3e6827d | f3378277b0b5b9cf9e04c8edef13469e0c70ee74 | /Household_Power_Manager/Household_Power_Manager.ino | 3e62b85e7aef5d264ac3c062e1ee3ebc64bc91f2 | [] | no_license | BRBussy/Household-Power-Manager | 05a1fca019bb42fdec353cd89468d5ce9b98a3fe | f4b93c0e5f77c6ff94075f6aa8cbffb5e4f0098e | refs/heads/master | 2016-09-01T07:50:05.682846 | 2016-04-08T06:59:26 | 2016-04-08T06:59:26 | 55,757,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,596 | ino | Household_Power_Manager.ino | /*
Name: Household_Power_Manager.ino
Created: 3/23/2016 3:01:35 PM
Author: Bernard
*/
#include <Arduino.h>
#include <Wire.h>
#include <RtcUtility.h>
#include <RtcDS3231.h>
#include <RtcDateTime.h>
#include "Ticker.h"
#include "WiFiServer.h"
#include "WiFiClientSecure.h"
#include "WiFiClient.h"
#include "ESP8266WiF... |
a23acbb012617abc2d0b5cbbb013e17fe9d60aec | e35dd506083ad5119d035f517f8487bd0d0090bb | /WI/2008/rownanie.cpp | 118d1483e539b696525c686569f901bc9a2de184 | [] | no_license | Neverous/xivlo08-11 | 95088ded4aa7aeebc28da7c22b255446e4a43bda | 7daa4f5125aece228fc2f067a455e24ff20eb3f4 | refs/heads/master | 2016-08-12T15:59:21.258466 | 2016-03-22T14:41:25 | 2016-03-22T14:41:25 | 54,478,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | rownanie.cpp | #include<cstdio>
#include<string>
float a,b,c;
int main(void)
{
while(scanf("%f %f %f", &a,&b,&c)!=-1)
{
b*=b;
a *= 4*c;
if(b>a)
printf("2\n");
else if(b<a)
printf("0\n");
else
printf("1\n");
}
return 0;
}
|
cd48f6b4bba209f1ffb08a923781bbdac971d3f6 | 2deb33c50107a7efc916d38f12c38c88ac61ef19 | /video_capture/video_bridge.h | 4c595021d2f970db83b4907781aac3e3f00e1dd5 | [] | no_license | SoonyangZhang/webrtc-learn | 54c3bf4aa9714fc63a2409893615e8c717883c16 | 2c8b45480403223fdd65e20133450ccf5b1e1628 | refs/heads/master | 2020-06-29T09:26:46.151698 | 2019-12-01T07:36:10 | 2019-12-01T07:36:10 | 200,498,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | h | video_bridge.h | #pragma once
#include "video_header.h"
#include <list>
#include <iostream>
namespace zsy{
class VideoCaptureCallback:
public rtc::VideoSinkInterface<webrtc::VideoFrame> {
public:
bool AddSink(rtc::VideoSinkInterface<webrtc::VideoFrame>* sink){
bool success=false;
bool exist=false;
... |
016d9406ac58a76e847d90b2488438f8d23993a4 | d84852c821600c3836952b78108df724f90e1096 | /exams/2559/02204111/1/midterm/3_2_712_5920500841.cpp | e331969b360fc7acef36cea367776ff5689a7327 | [
"MIT"
] | permissive | btcup/sb-admin | 4a16b380bbccd03f51f6cc5751f33acda2a36b43 | c2c71dce1cd683f8eff8e3c557f9b5c9cc5e168f | refs/heads/master | 2020-03-08T05:17:16.343572 | 2018-05-07T17:21:22 | 2018-05-07T17:21:22 | 127,944,367 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | 3_2_712_5920500841.cpp | //5920500841 wuttipon butchum
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
float a,b,c,x1,x2,x3;
cout<<"Enter coeffcients a, b andc : ";cin>>a>>b>>c;
cout<<endl;
cout<<"Root are real and different."<<endl;
if(pow(b,2)-4*a*c>0)
{
cout<<"X1 = "<<x1<<e... |
7381ac3f6c6430a6d809a11c8ba021f91024e502 | 6e93a043f3cd198cfa37470f06396d8709d98090 | /c-plus-plus-fundamentals/module_07/ClassesAndObjects/ClassesAndObjects/Person.h | e52f318b9693d0484f2a8a2a60182b90fc41a539 | [
"Apache-2.0"
] | permissive | codearchive/c-plus-plus-path | cc1980b2cf74786fbd07d58c3acd3c53969e2ad7 | 529283ffc450b73eca53c02b6523819e446fe3ca | refs/heads/master | 2020-07-27T05:33:37.482531 | 2019-09-21T20:49:24 | 2019-09-21T20:49:24 | 208,887,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | Person.h | #pragma once
#include <string>
class Person
{
private:
std::string first_name_;
std::string last_name_;
int arbitrary_number_;
public:
Person(std::string first, std::string last, int arbitrary);
Person();
~Person();
std::string get_name() const;
int get_number() const { return arbitrary_number_; }
void set_n... |
666d1ffa2fe5a59e4475772493621d8186f3f507 | e75c8e1fbffb8d62ab5c7ea22317a8c561385956 | /112.h | 9679aec7c720d06da72ab7be89f2bc631a2933d0 | [] | no_license | fltflt/LeetCode-Solution | aa5a4e5b445e04400d10200d67af5afaee5d5da6 | 102569885d5d3793fefa1d0f10ebb031707aa1f0 | refs/heads/master | 2020-09-11T03:43:00.860909 | 2020-06-19T01:53:08 | 2020-06-19T01:53:08 | 221,926,755 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,494 | h | 112.h | #pragma once
#include <iostream>
using namespace std;
#include <vector>
class ListNode
{
public:
int val;
ListNode *next;
};
class Solution
{
public:
ListNode *vector2lianbiao(vector<int> nums)
{
ListNode *head, *p,*rear;
head = rear = new class ListNode;
head->val = nums[0];
rear->next = NULL;
for (i... |
afacb0e097d0de621b608bea17b79c005082fed2 | 2464c0320c1d9ddaa0a9727a914e1887f9265134 | /Data_Structures/Project_3/Graph.hpp | b2947fbd4071c26f6712b1d90072830823a37beb | [] | no_license | josephmoreno/Coursework | 7866abbe766fa418193e5869aa334669384e92ad | 21ce075c85ad96838a6c7601adb8c3bce52a65d1 | refs/heads/master | 2022-10-29T07:08:18.576187 | 2020-10-08T17:31:13 | 2020-10-08T17:31:13 | 236,175,028 | 0 | 0 | null | 2022-06-22T16:39:09 | 2020-01-25T13:40:21 | VHDL | UTF-8 | C++ | false | false | 1,831 | hpp | Graph.hpp | #include <iostream>
#include <algorithm>
#include <map>
#include "GraphBase.hpp"
class Vertex {
private:
std::string vLabel = "\0";
std::vector<Vertex*> adjacencies;
public:
// Constructor
Vertex() {}
Vertex(std::string l) { vLabel = l; }
// Getters
std::string getLabel() { return vLabel; }
std::vector<Vertex... |
ed360d5f5e224dcc31304c71e58b144bad00b1d0 | 5af277b5819d74e61374d1d78c303ac93c831cf5 | /automl_zero/memory.h | 0858bbaa657d81492f8e352527e329676cc98939 | [
"Apache-2.0"
] | permissive | Ayoob7/google-research | a2d215afb31513bd59bc989e09f54667fe45704e | 727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7 | refs/heads/master | 2022-11-11T03:10:53.216693 | 2020-06-26T17:13:45 | 2020-06-26T17:13:45 | 275,205,856 | 2 | 0 | Apache-2.0 | 2020-06-26T16:58:19 | 2020-06-26T16:58:18 | null | UTF-8 | C++ | false | false | 1,978 | h | memory.h | // Copyright 2020 The Google Research 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... |
c89c630e459808112341f8fe78c65fc42184a982 | 3d74f759ee48d383aa82eeff0a55864a93a001ba | /third_party/tonic/dart_list.h | 57c5347a8e2540227a05e3c0f5053ba13e15bfb9 | [
"BSD-3-Clause"
] | permissive | flutter/engine | 78be5418a9b2f7730dda9ca9fcb25b7055f3da85 | 902ece7f89d7730cc69f35e098b223cbbf4e25f1 | refs/heads/main | 2023-09-04T06:12:34.462953 | 2023-09-04T05:33:32 | 2023-09-04T05:33:32 | 39,211,337 | 7,090 | 6,862 | BSD-3-Clause | 2023-09-14T21:58:17 | 2015-07-16T17:39:56 | C++ | UTF-8 | C++ | false | false | 1,398 | h | dart_list.h | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIB_TONIC_DART_LIST_H_
#define LIB_TONIC_DART_LIST_H_
#include <cstddef>
#include "third_party/dart/runtime/include/dart_api.h"
#include "tonic/c... |
ef080c7162e85549743ad5be89519f9f7e19f277 | 27a0bed279d4525d42d65d8c11c4416a07f532c1 | /TextAdventureEngine/TextAdventureEngine/Codebase/NeuroEngine/Framework/UI/Views/ViewColour.cpp | c7ea02e9467b3911bd307c19921287fdcdcc9f47 | [] | no_license | Neuroticcheeze/TAE | 2b623b16c798a017b4045696425b5819f00d4a2b | dd032c1e5ca2409c62c2e3843e9b302a1127c4af | refs/heads/master | 2020-03-15T19:26:23.556598 | 2018-12-27T11:35:21 | 2018-12-27T11:35:21 | 132,308,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | cpp | ViewColour.cpp | #include "ViewColour.hpp"
#include <Framework/Input/InputManager.hpp>
#include <Framework/Graphics/GraphicsManager.hpp>
//=====================================================================================
ViewColour::ViewColour( const char * a_Name, Page * a_ContainerPage, View * a_Parent )
: View( a_Name, a_Conta... |
b4c7821d7365cf064c9f5b7f604367d5e3349b3d | c0282037ad9255c5519ebd88b17b141b22efca08 | /src/MPC.cpp | 3fe870d8fb4cda1cbeb6b9079f925e1e1356a158 | [
"MIT"
] | permissive | colinmccormick/CarND-MPC-Project | f093d183fc6121c825936c9bff0bcab69a8cc154 | 809fcba7fc9b469f07d210828d27f258ef272159 | refs/heads/master | 2020-04-01T03:07:01.886151 | 2018-10-13T23:59:43 | 2018-10-13T23:59:43 | 152,810,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,596 | cpp | MPC.cpp | #include "MPC.h"
#include <cppad/cppad.hpp>
#include <cppad/ipopt/solve.hpp>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
using CppAD::AD;
// TODO: Set N and dt
size_t N = 10;
double dt = 0.1;
// This is the length from front to CoG that has a similar radius.
const double Lf = 2.67;
// Set some ref... |
56344bd7041bf1fb9ca719392c6615dfd5b3e40f | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/3506/E | 01c04a87b5f5bcab4d6baa88c6ecc574d42c4e3a | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,889 | E | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | |
6b7b4eb3772ccb4e77a703687ca3358b92adc06b | e6543fadda0b18b7c0418766dfbbbdf424a7c259 | /NetComm/db/DbOperate.cpp | ba321f965d3532eaabfdaa19dda3cbbe48581ac2 | [] | no_license | katiya-cw/NetCommon | 7de8cf1dad259d080eb09d519647041ff8947aed | 27c3f98329dd2e7b696238fd9a384db2ba380a67 | refs/heads/master | 2020-06-22T09:51:24.235578 | 2019-04-16T14:27:46 | 2019-04-16T14:27:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 34,499 | cpp | DbOperate.cpp | #include "stdafx.h"
#include "afxdb.h"
#include "DbOperate.h"
#include "../../MyDefine.h"
int MyEmpID = 0;
CDbOperate::CDbOperate()
{ //用IP=127.0.0.1链接有时候连接不上
//m_sqlAddr = "Provider=SQLOLEDB.1;Server=127.0.0.1;DATABASE=WXData;UID=sa;PWD=123;";//自己测试电脑上的配置
// m_sqlAddr = "Provider=SQLOLEDB.1;Server=127.0.0.1;DATABA... |
fcfc6ada121862fa684a2f49c2ee1dadd03407e3 | 267b8fd21e612aa17109110deb799456e2189ca2 | /SwordingForOffer/32_NumberOf1.cpp | a4b39908873d12701caa09a31e935671de082d2a | [] | no_license | abumaster/CplusplusCode | abc48292ba0ef8125a89e5cf94336304ce7c4018 | c546e44a597b7c096e6a44292098b3070d1c508e | refs/heads/master | 2021-01-19T22:02:12.337869 | 2018-03-28T09:00:49 | 2018-03-28T09:00:49 | 88,744,141 | 0 | 0 | null | 2019-03-06T14:36:34 | 2017-04-19T12:46:11 | C++ | UTF-8 | C++ | false | false | 1,006 | cpp | 32_NumberOf1.cpp | #include <iostream>
#include <string.h>
using namespace std;
int PowerBase10(int n)
{
int result = 1;
for(int i=0; i<n; ++i)
result *= 10;
return result;
}
int NumberOf1(const char* strN)
{
if(!strN || *strN < '0' || *strN > '9' || *strN == '\0')
return 0;
int first = *strN - '0';
int length = strlen(strN)... |
9aaca10beb6b359ede18848f71fac08e4a286f23 | 63a926588ed0e5decc2633d88c01e30b96c884d3 | /cppersist/mongo.hpp | 3c7ff520e337e51fbb8089976218d9c73d223930 | [] | no_license | tallalnparis4ev/cppersist | e3b774bedf627be0536481fad823b1a35d46c5c4 | 6801cbeab3057fe79aefebb42b3336783b43a6ae | refs/heads/master | 2023-04-02T00:39:49.682010 | 2021-04-18T17:40:54 | 2021-04-18T17:40:54 | 298,915,201 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,141 | hpp | mongo.hpp | #ifndef MONGO_H_FILE
#define MONGO_H_FILE
#include "crypto/sha256.h"
#include "memoization/persistent/memoizer.hpp"
namespace cpst {
/**
* \defgroup PersistMongo Persist MongoDB
* @{
*/
/**
* Creates an object that has persistent memoization applied
* to T's solve function. Here, the storage medium for persiste... |
6a0b2dea75809a56b5b6ddcc420d4b2599967e2e | 232dc3461e2244a139fb59a0e2063cb35c7d6235 | /src/Frame.h | d467cd96512eeb7fa709ea449e7bbfca0ef563e7 | [
"MIT"
] | permissive | VictorQueiroz/ffmpegcpp | 96cda6b82fd8e7c8f9c85799a1e7d4fc9ed956a7 | 56719d097b09f573bf695a392b13f4919b4c81f0 | refs/heads/master | 2020-04-09T00:53:49.526820 | 2018-11-30T23:45:38 | 2018-11-30T23:45:38 | 159,885,106 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | Frame.h | #ifndef FFMPEG_CPP_FRAME_H
#define FFMPEG_CPP_FRAME_H
#include "av.h"
extern "C" {
#include <libavcodec/avcodec.h>
}
namespace av {
class Frame {
private:
AVFrame* frame;
public:
Frame();
~Frame();
AVFrame* c_frame();
void getBuffer(int align);
};
}
#endif //F... |
f4ac8291dccda55d55d827e3df7ac1b3e7746962 | 71700213aa9121306b7a4ed4b391e3a49df6ddc4 | /src/mcv/camshift.cpp | 1821e0027a47bfdc7ea53a9687d5d94fcf772fa0 | [
"MIT"
] | permissive | mmalicki2/QOczko | 9f394dc04eb9cf2f045b3a364f111d119446a32d | 838a6cd39d30de07ec972045650e3527a2b18ae6 | refs/heads/master | 2020-04-08T08:00:01.195835 | 2015-07-16T19:51:56 | 2015-07-16T19:51:56 | 39,217,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | camshift.cpp | #include "camshift.h"
#include <cv.h>
#include <QtGui/QTransform>
using namespace mcv;
CamShift::CamShift(QObject* parent) : QObject(parent)
{
m_criteria = cv::TermCriteria(cv::TermCriteria::MAX_ITER , 10, 1);
}
CamShift::~CamShift()
{
}
void CamShift::imageRecived(const cv::Mat& image)
{
cv::Rect l_rect = (m_... |
d942a6cfc98748d05524db947e2dd74e28fa57ea | b20d1ec3751dd85bd9238a997080758f08048863 | /ukTests/compMagSen/compensatedMagSense2/compensatedMagSense2.ino | 842faf2e74fffd466de1527fa238091eb7fb4dfe | [] | no_license | ajayvarghese2000/Maze-Solver | b15bf11185fb0c9496cfdd75bfa289bdcd633162 | f1d06e713fdbe1afda72b8bc0b762bc0d55c7a49 | refs/heads/main | 2023-04-23T11:11:06.532424 | 2021-04-28T13:18:30 | 2021-04-28T13:18:30 | 338,583,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,663 | ino | compensatedMagSense2.ino | #include <Adafruit_LSM303_Accel.h>
#include <Adafruit_LSM303DLH_Mag.h>
#include <Adafruit_Sensor.h>
#include <Wire.h>
#include <math.h>
Adafruit_LSM303_Accel_Unified accel = Adafruit_LSM303_Accel_Unified(51234);
Adafruit_LSM303DLH_Mag_Unified mag = Adafruit_LSM303DLH_Mag_Unified(12345);
const float alpha = 0.4;
floa... |
a877b9d225c5277152265eb3616b685b4bca3cfb | 7d5593b9bbaf6bb8eaacca88449d90c9c305c36e | /problems/1005-maximize-sum-of-array-after-k-negations/1005.hh | 65dca59fc370baab667580949c9ac856a4dd95fb | [] | no_license | yottacto/leetcode | fc98052ed9d643be8a79116d28540596bcc7c26b | 9a41e41c0982c1a313803d1d8288d086fbdbd5b6 | refs/heads/master | 2021-04-25T12:05:55.671066 | 2019-12-15T03:07:31 | 2019-12-15T03:07:31 | 111,814,868 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | hh | 1005.hh | #pragma once
#include <vector>
#include <algorithm>
struct Solution
{
int largestSumAfterKNegations(std::vector<int>& a, int k)
{
std::sort(a.begin(), a.end());
for (auto& i : a)
if (i < 0 && k) {
i = -i;
k--;
}
if (k > 0 && k & 1)... |
51a884dd08c4a1ecee877138162a2474a2e8d88b | 7d64e03e403eca85248677d8dc72751c93940e48 | /test/db/MojDbWatchTest.h | a5ed4e678b80d8e114d026a7592181e30b381e2d | [
"Apache-2.0"
] | permissive | webosce/db8 | a6f6ec64d3cb8653dc522ee7a3e8fad78fcc0203 | 994da8732319c6cafc59778eec5f82186f73b6ab | refs/heads/webosce | 2023-05-13T15:18:39.562208 | 2018-08-23T08:51:14 | 2018-09-14T13:30:43 | 145,513,369 | 0 | 1 | Apache-2.0 | 2023-04-26T02:43:57 | 2018-08-21T05:52:45 | C++ | UTF-8 | C++ | false | false | 1,296 | h | MojDbWatchTest.h | // Copyright (c) 2009-2018 LG Electronics, Inc.
//
// 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... |
8094aec910a716b020e983535463c91558e854f1 | 6663fe683509c3211d821f702522447df099fcc5 | /main.cpp | cf44cd06a61fdb82ac730807445b7cfd35b2ae41 | [] | no_license | Damiankk-dev/new-XML-adventure | c9ca13d71ecf93618cf9b32737ba88fa25ea1ca0 | ee8321dd34a351002e5c43ea2e28101498b8175e | refs/heads/master | 2023-03-28T22:28:19.056727 | 2021-04-06T19:00:21 | 2021-04-06T19:00:21 | 353,412,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,073 | cpp | main.cpp | #include <iostream>
#include<vector>
#include <sstream>
#include "Markup.h"
using namespace std;
struct User {
int id = 0;
string username = "";
string password = "";
};
struct UsersIncome {
int userId = 0;
int incomeId = 0;
string incomeLabel = "";
float incomeValue = 0.0;
};
string conv... |
cca9d446d4bf0cbb2e503f7ec66572158eb0a56e | 092655ae75ce99f4a01815d669086b1359a4b9cf | /C++/Persiapan Gemastik 10/ganjilgenap.cpp | 2aeb06a0dc9e1b5f1daa6feef320b65b4c0293a8 | [] | no_license | vitorizkiimanda/CodingMixed | f9bf6e078b9e4b9da07106dfe076f4419b027293 | d312bac862c098508e170c2e46b24a86d713d26d | refs/heads/master | 2020-04-18T21:35:23.201217 | 2019-01-27T05:05:53 | 2019-01-27T05:05:53 | 167,768,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | ganjilgenap.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int genap,ganjil;
scanf("%d %d", &genap,&ganjil);
if(genap==ganjil || abs(genap-ganjil)==1) printf("YES\n");
else printf("NO\n");
return 0;
}
|
732066adfd5b2ae13c549edf4eb07e5669c0ea38 | ee243a638c7a3923cd874dbdeba5a9fa68e4947b | /Classes/MidiReader.h | ec22593e1a3ce0768d09db2716f7899780412f02 | [] | no_license | Allegro-Learning/Allegro-Learning | 1f9f65419050703fa97cb5d7e22be41928672b1f | 0dd3ff9df62360d8fe654f529e88b782b64b22e2 | refs/heads/develop | 2021-01-03T03:02:24.732069 | 2020-03-03T06:48:57 | 2020-03-03T06:48:57 | 239,893,472 | 2 | 0 | null | 2020-07-21T22:14:38 | 2020-02-12T00:27:00 | C++ | UTF-8 | C++ | false | false | 193 | h | MidiReader.h |
#ifndef __MIDIREADER_H__
#define __MIDIREADER_H__
#include "cocos2d.h"
#include "MidiStream.h"
class MidiReader : public MidiStream {
private:
public:
virtual bool init();
}
#endif |
03912264f5a3151649188231df11bab26791301f | b0b8168720256f01baf5f843da6e8d07c49e7744 | /WebMonitor/GeneratedFiles/qrc_window.cpp | fc06fdac9f804886efbb607a2603a5b4009973b0 | [] | no_license | treejames/WebMonitor | d4bb8997d2f82fecb9848f7c602707a0e4d59014 | 1ab84df1260b432d2f6215d7822c4204365633cd | refs/heads/master | 2018-03-23T15:14:13.076626 | 2014-06-11T15:44:58 | 2014-06-11T15:44:58 | 21,890,592 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | qrc_window.cpp | /****************************************************************************
** Resource object code
**
** Created: Sat May 3 08:47:29 2014
** by: The Resource Compiler for Qt version 4.7.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************... |
d71c76de1b97b41f10596dd537a455dd71a45df7 | e63c918268d0365ed40868694da7402d42780010 | /LinkedList.cpp | d074f568184b7a4b44efc95ba48d501ce8b62b52 | [] | no_license | sourabhKondal/LinkedListImplementation | 28bcdb413bb4d9cf724891f13a0847bf34721c67 | 8da48046a47d88dde8ec1cccb2d8b6a0ca4b8a29 | refs/heads/master | 2020-03-22T09:39:06.544386 | 2018-06-25T12:13:36 | 2018-06-25T12:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,772 | cpp | LinkedList.cpp | #include<iostream>
using namespace std;
class Node
{
public:
int data;
class Node *next;
};
class Node *start=NULL;
class Node* createNode()
{
int element;
class Node *temp=new Node;
cout<<"Enter an integer\n";
cin>>element;
temp->data=element;
temp->next=NULL;
return temp;
}
void insertNodeFirst()
{
class N... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.