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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c0aebc571192c72dd895877947cdb99b1442138d | 0e4588356dee61903e34a8eef6033852dd0f656d | /microbit-max7219-display-driver/Max7219Display.h | de3aa9dae5da27419df4e399713b45df15a7bf27 | [] | no_license | rolandjkay/microbit-max7219-display-driver | 8bbc28fbeeb0ce37268b7db525fb28980699a1f2 | 0bd859fa17de26e9f4a0e4b61b2ee0c7976ed4bd | refs/heads/master | 2020-04-02T07:34:27.852790 | 2018-10-28T14:36:01 | 2018-10-28T14:36:01 | 154,203,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | h | Max7219Display.h | #ifndef _MAX7291_DISPLAY_H
#define _MAX7291_DISPLAY_H
#ifdef TARGET_LIKE_OSX // Substitute SDL implementation on OS X.
# include "Max7219Display_SDL.h"
#else
#include <mbed.h>
#include <MicroBitPin.h>
class Max7219Display {
const size_t* display_indices;
size_t display_width;
size_t display_height;
size_t... |
06ef142bb7db3b132fbf67add4fdd0a8e4060b79 | 55b8fe6bb73f62d1bba6ca42c8fdd26adffb5de4 | /pointer basics harry.cpp | 3d8a7b84a838b63713ae73cc64303372ec3d0fef | [] | no_license | ROS22202-git/roshan-c-code | 775b5f79a999176f50ab3699e74bb96c0a6b17dc | bbe1d8443d6e204b79bf6eee33cf1312ec4daf97 | refs/heads/master | 2023-08-22T12:21:42.272151 | 2021-10-07T04:06:46 | 2021-10-07T04:06:46 | 414,455,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | pointer basics harry.cpp | #include<stdio.h>
int main()
{
int *j,i=5;
j=&i;
printf("the adresss of i=%d\n",&i);
printf("the adresss of i=%d\n",j);
printf("the adress of j=%d\n",&j);
printf("the value of i=%d\n",i);
printf("the value of i=%d\n",*(&i));
printf("thevalue of i=%d\n",*j);
return 0;
}
|
45f03ab7afe3cfead8a87e23f469fdc646b98c52 | 0740a8ce7ae68092bf84fe008bc58dc39a67fe8d | /src/core/infer.cc | 3950065279e427e6494b4d1486554201568c6845 | [
"BSD-3-Clause"
] | permissive | seewoo79/tensorrt-inference-server | 8da0120c2a4730377bc6224f7d590451db77572a | 297c972b272fe8ec2bd7c9d29a9e0acdace91291 | refs/heads/master | 2020-04-10T20:07:51.959835 | 2018-12-04T22:30:06 | 2018-12-04T22:30:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,226 | cc | infer.cc | // Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of condi... |
fb610eb5a6f786a0e678df1350b0db60396cd94e | ffb46db8f35ea6f3646eaf0be91adcfbf8d652b1 | /ESP-NETPIE/writeSDcard.ino | a7c2c1f96a1a06d000155cdd5b9d7477a32026cf | [] | no_license | bavensky/RoyalProject | 55c3db12278e5cf8671bf105261e1586de4ff2b0 | 00061c3339b19b1b8b3f6a6e5feeec0c9790732b | refs/heads/master | 2021-05-09T18:35:37.303579 | 2018-04-06T11:36:34 | 2018-04-06T11:36:34 | 119,169,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | ino | writeSDcard.ino | void firstSave() {
myFile = SD.open("data.csv", FILE_WRITE);
if (myFile) {
myFile.println("Date, Time, Temperature, Humidity, Raindrop, WindSpeed, WindDirection, LightLevel, Voltage");
myFile.close();
Serial.println("Write done.");
} else {
Serial.println("Error opening sd card");
}
}
void data... |
886959bfd6d1c6e3a0cb48204df49ad45496c861 | 5fda5639d83b4ed9b56efadf865d9a9915c1b84b | /FeaturesC++11Learning/auto.cpp | 5116ca395707cb3b73d3158904f6557312178f93 | [] | no_license | tosone/cplusplus | 1607830d05f70d3129da9e87d5a67a6174fbde1f | bee6ef51325c6a8180d25f020b1e04522417141a | refs/heads/master | 2021-01-13T06:05:57.889317 | 2018-10-06T03:44:52 | 2018-10-06T03:44:52 | 95,119,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | auto.cpp | #include <iostream>
#include <typeinfo>
using namespace std;
int main(int argc, char *argv[]) {
// pointer of induced type
auto *i = new auto(1);
cout << *i << endl;
// i should be of type int*
cout << typeid(i).name() << " as expected? " << ((typeid(i) == typeid(int *)) ? "yes" : "no") << endl;
delete ... |
2d53155654763a11606abd05cc467916dbf82adb | b3ed6180a27f195a0660b97259a3bf29f3fd8c56 | /etkxx/etk/interface/Theme.cpp | 34e94d84a3a836ae50967e16c64f561c3a3774d1 | [
"MIT"
] | permissive | D-os/EasyToolkitAndExtension | cdb6cd7c44bbf030f92b5f31ad2f834a47ea8933 | 367df2f30aabb7ca38dd1b92e2eb2d983b571a94 | refs/heads/master | 2021-01-18T02:49:24.340718 | 2013-08-18T18:07:20 | 2013-08-18T18:07:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,563 | cpp | Theme.cpp | /* --------------------------------------------------------------------------
*
* ETK++ --- The Easy Toolkit for C++ programing
* Copyright (C) 2004-2006, Anthony Lee, All Rights Reserved
*
* ETK++ library is a freeware; it may be used and distributed according to
* the terms of The MIT License.
*
* Permission ... |
72910179f355f0d6a586cb1f9c4e3fb446b4ef20 | e9fc1afea29b76352869921e479376c7f1287a3f | /5.Resources/Hall_Implementation_openFOAM/Z1flatanalytical/387/p | 926b7bfef28b9d1ec33ec80c167d6bf84cfdff89 | [] | no_license | mtlatour/Thesis_MarcLatour | bc29f1d89e94b35b965815796ad0fd30637e041c | 60f0299e8888ff4b196c58b9c77ae62579fb5761 | refs/heads/master | 2020-12-22T12:17:52.142749 | 2020-03-31T16:05:44 | 2020-03-31T16:05:44 | 236,769,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,597 | p | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
172ac9b5eac2de1aef7e96f40cb7294a09da6738 | ad47765daaea0021b6a8d8f07cef262aa87f894b | /Titresim_ve_Gaz.ino | 58d2e89e1141e2df86480b322d87d6cf2ad4c5ea | [] | no_license | aycakiremitci/DetecteurDeCatastrophe | df0dc395371eacc9ed9ed849271d54c62ab19072 | 049dd999c9974cd744ca98176fbc6a5412e0f43c | refs/heads/master | 2020-12-09T11:34:06.202998 | 2020-01-11T21:32:30 | 2020-01-11T21:32:30 | 233,292,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | ino | Titresim_ve_Gaz.ino | #define led 13
#define buton 12
#define titresim 7
#define buzzer 4
#define gaz A0
#define onisisuresi 4000
#define esikdeger 240
void setup() {
pinMode(titresim,INPUT);
pinMode(buton,INPUT);
pinMode(buzzer,OUTPUT);
pinMode(led,OUTPUT);
Serial.begin(9600);
delay(onisisuresi);
}
void l... |
cbe239b53a06741154b86c919d48d4ec48a3af43 | c4f3bd0928099080eae6bf979ea080d0d1c48b5c | /src/main.cpp | 0c55638510a89c23ea1692e1601803b1d228fe18 | [
"BSD-3-Clause"
] | permissive | cvlian/TLSniff | e08de87405e1ab55c152e58212cbc4e33836bafa | 14db5261c21eb7dd86432939d9dd0fc62583a03f | refs/heads/master | 2023-03-26T05:48:59.183406 | 2021-03-27T13:25:11 | 2021-03-27T13:25:11 | 312,205,131 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,566 | cpp | main.cpp | /* main.cpp
*
* routines for capturing a series of SSL/TLS record data from TCP data streams
*
* TLSniff - a fast and simple tool to analyze SSL/TLS records
*/
#include <stdio.h>
#include <getopt.h>
#include <unistd.h>
#include <sys/stat.h>
#include "utils.h"
#include "reader.h"
#include "handler.h"
#includ... |
e989778ca510963a728da27613e4377d1e857477 | ba64c33c80e3cb8241fd21ba4ebe0514f5dbb54c | /research/carls/kbs_server_helper_pybind.cc | 7ad2704da55a76eafa9a04e24f97509afb65e2f7 | [
"Apache-2.0"
] | permissive | Saiprasad16/neural-structured-learning | b921df66fb9f23bbbddc46eaa2d121c39e4092cd | bde9105b12b2797c909a0fe20ef74bb7fff6100b | refs/heads/master | 2023-04-26T19:57:36.302861 | 2021-05-08T02:14:40 | 2021-05-08T02:15:25 | 366,008,715 | 1 | 0 | Apache-2.0 | 2021-05-10T10:52:42 | 2021-05-10T10:46:53 | null | UTF-8 | C++ | false | false | 1,666 | cc | kbs_server_helper_pybind.cc | /*Copyright 2020 Google LLC
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... |
fca83b7ab796a66c5b44bfbf182845fd8accbcb2 | a7e1049623bed0123452228cf6e0157adf0eddb3 | /Baraja.h | cf794f684fb12b60d0550b773a08185ff1308c6e | [] | no_license | davidelvir/DavidNunez-Examen2 | f00fcc03526289a71326cd0f80943e12c4b05a6c | 0b85a4be29f9d5410de271381e661164ea9b8bc7 | refs/heads/master | 2021-01-21T23:29:03.890670 | 2017-06-24T02:45:40 | 2017-06-24T02:45:40 | 95,248,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | Baraja.h | #include "Carta.h"
#include <vector>
#ifndef BARAJA_H
#define BARAJA_H
class Baraja{
public:
vector<Carta*>cartas;
Baraja();
int getSize();
Carta* getCarta(int);
void setCarta(Carta*);
void shuffle();
vector<Carta*>& getCartas();
};
#endif |
c46536f1677d79d3b178a59d0305ec51fc7c6513 | 7bd04744acf23fcef4163904d76250cef795412d | /src/base_model.Dispatcher.h | acc9b09df3287c05269d276e9c7b20b4efebbb75 | [
"MIT"
] | permissive | mrc-ide/covfefe | ee7b123fe6b0cab1f0b0af89b858c244fc8334ea | bf4d7c2b8a359b5389c7578a9e234ad33c8ab6c0 | refs/heads/master | 2020-03-16T15:19:11.120471 | 2018-12-11T16:36:12 | 2018-12-11T16:36:12 | 132,738,177 | 4 | 0 | null | 2018-05-09T10:11:47 | 2018-05-09T10:04:49 | R | UTF-8 | C++ | false | false | 3,482 | h | base_model.Dispatcher.h |
#pragma once
#include "misc.h"
#include "base_model.Parameters.h"
#include "base_model.Host.h"
#include "base_model.Mosquito.h"
#include "base_model.Sampler.h"
#ifdef RCPP_ACTIVE
#include <Rcpp.h>
#endif
#include <set>
#include <map>
//------------------------------------------------
// class defining individual-... |
03bc0365e14c1c43e251ce40b0c934abc6206131 | 58dbd83bc3142b23d7f6b20212a592ded62f49fa | /Algorithm/Baekjoon/1041.cpp | 931992b67c32d639547cd0c91d3e033ec9abf6d7 | [] | no_license | kkminseok/Git_Tutorial | 56cbaededfed52dc093cdf343ace98f59ba57b18 | 1be681f240de067f9aee17a08620e04f9fc49441 | refs/heads/master | 2022-08-13T13:24:32.886304 | 2022-07-24T09:20:56 | 2022-07-24T09:20:56 | 204,464,357 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | 1041.cpp | #define _CRT_SECURE_NO_WARNINGS
#include<cstdio>
#include<algorithm>
using namespace std;
int main()
{
long long n;
scanf("%lld", &n);
int arr[6] = { 0, };
long long result = 0;
long long n1, n2;
for (int i = 0; i < 6; ++i)
{
scanf("%d", &arr[i]);
}
if (n == 1)
{
sort(arr, arr + 6);
result = arr[0] + ar... |
0381a3b48fd3fd358c45e79a98342d9dff22c4b7 | 92f64d930fadf2c23e78fb190ae2d7936ca308e6 | /ClapperTV_PlatformIO/include/Hardware/Modules.hpp | 1c20c05a7bd4e0c9fd2d259bb69823079542d4d6 | [] | no_license | LordSyFo/ClapperTV | 1ad0e17f0ee34f49342c82e6e71413ce5879b501 | 26be46ec8287ef27d63ad41bc31c4d4de48fccc4 | refs/heads/master | 2023-08-13T19:31:32.341591 | 2021-09-24T15:11:46 | 2021-09-24T15:11:46 | 333,460,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | hpp | Modules.hpp | /*
* Modules.h
*
* Created: 07/02/2021 17.14.19
* Author: hejmi
*/
#ifndef MODULES_H_
#define MODULES_H_
#include <Hardware/Register.hpp>
#include <Hardware/GPIO.hpp>
namespace Hardware {
namespace Module {
/* Constant modules (like timers, adc, etc.. ) */
struct TIMER0 {
constexpr TIMER0() {
}
/* R... |
56b2403f7c89cdfa7c3cd1e5c7372921f8abbde8 | fbd1ce8deef8a606d5afff0ed115572b0261fd16 | /src/RcppExports.cpp | f6382a9c4cddc97146847246e532e042d00d903c | [] | no_license | lamfo-unb/RMCriteria | 84e2201ccd736753513292bdd53910ef36986d22 | 73238d435a5fcf5990d4d4fa77d6eb9e066a6d26 | refs/heads/master | 2021-03-19T14:25:23.224700 | 2019-09-16T23:36:17 | 2019-09-16T23:36:17 | 75,019,700 | 2 | 0 | null | 2018-04-08T21:26:41 | 2016-11-28T22:25:37 | R | UTF-8 | C++ | false | false | 7,792 | cpp | RcppExports.cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppEigen.h>
#include <Rcpp.h>
using namespace Rcpp;
// matPrometheeI
Eigen::MatrixXd matPrometheeI(Eigen::VectorXd datVec, int prefFunction, Eigen::VectorXd parms);
RcppExport SE... |
900476cbb5e5d0f1325a9125a8e6c62cb1f81bb8 | e7a1a974fe647574483af63e40cd33c092e4d011 | /Tools/Installers/LinuxBootstrapper/InstallationSetup.cpp | 5dded69fa6dd3de7cac5606b634a85a154f9c67b | [] | no_license | blockspacer/Unity2018ShaderCompiler | cddc3d1fdab0c18bfd563a30888bbc18f914a809 | 4a3517261506550a7d8325f0335792e634ce0ba4 | refs/heads/main | 2023-04-16T13:53:13.812665 | 2021-03-19T12:27:39 | 2021-03-19T12:27:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,225 | cpp | InstallationSetup.cpp | #include "InstallationSetup.h"
#include "main.h"
#include <sys/vfs.h>
#include <sys/stat.h>
#include <cstdlib>
#include <cstring>
#include <cerrno>
#include "artifacts/generated/Configuration/UnityConfigureVersion.gen.h"
extern gboolean g_Unattended;
extern char* g_DownloadLocation;
static InstallationSettings s_In... |
9d94f3497c9e09df2dd4eca455584f3e30795cf0 | 7df5e1aa0aac432da761ba67a9dc255d315d8bac | /src/concat/ccSegment.cpp | 9e6551b7eff69500875c685b53daf70e782330de | [] | no_license | thoughtworksarts/concat | 268c4e0ee0dfa091452e49f755459158c0b28b68 | 62bcb7cb72cb2ef9887327f1be09fa320fc07174 | refs/heads/master | 2021-06-19T15:35:11.318649 | 2019-08-15T20:08:31 | 2019-08-15T20:08:31 | 145,134,101 | 5 | 3 | null | 2019-08-15T20:08:32 | 2018-08-17T15:00:34 | C++ | UTF-8 | C++ | false | false | 2,814 | cpp | ccSegment.cpp | #include "ccSegment.h"
void ccSegment::setup(ofMaterial& _material) {
segmentMaterial = _material;
showWireframes = false;
setCylinderSize(1, 1);
setJointRadius(1);
segmentIsMoving = false;
gradientDiff = 0;
gradientSlope = true;
}
void ccSegment::translateToRotationCenter() {
ofTranslate(0, joint... |
d323424dfe7ee7aef1fa9c62456cd2f4e097c63e | c47daa06fa41b1c54fea53b24073ce6253170833 | /Rogue_BackUpThisFolder_ButDontShipItWithYourGame/il2cppOutput/Sirenix.Serialization2.cpp | c40b4e4530ece756f824f56060f4318bc2629621 | [] | no_license | MrResistance/ShippyMcRoomRoom | bd33a0e3bcc11759bd20e0c1fdcc081ec5aa6206 | 98085cbb6aa1021378f7f3bb249deab51746f0a8 | refs/heads/master | 2022-12-24T14:10:45.618208 | 2020-10-07T21:33:13 | 2020-10-07T21:33:13 | 282,239,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,291,868 | cpp | Sirenix.Serialization2.cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... |
3b7d295e05f2b3ac1a4469235bda12e3ca392587 | 9af4d26e7e1ae54f5337311da3a39f3531ff2f46 | /src/tester.cc | 217d6b836cf78f8fc4e0c275a864a7105021b9df | [] | no_license | AndiLi99/catan | 80beff0cfa8f75dc5a4e3e8c6a89f136bdc72cd0 | 8f22ec6dddd6aeff31d48ceaa11cd1ca3688504a | refs/heads/master | 2020-06-16T11:46:46.590007 | 2020-05-08T06:24:18 | 2020-05-08T06:24:18 | 195,561,636 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,718 | cc | tester.cc | #include <iostream>
#include "hexagonGrid/edge.h"
#include "hexagonGrid/hexagon.h"
#include "hexagonGrid/vertex.h"
#include "hexagonGrid.h"
#include "gameState.h"
#include "textDisplayObserver.h"
#include "hexagonGridBuilder.h"
#include "commandParser.h"
#include "defaultGridBuilder.h"
#include "randomGridBuilder.h"
v... |
e90441a81152cc4f9c1e46800a2a7029aa719f44 | a4df9119111b4fbb7607b8fe208721b4caa8cf47 | /AtS Project/AtS Project/SpriteRenderer.h | 5b86a7e8870c766b6750eade6a6d3a52b371d96f | [] | no_license | StillOP/Ats-Engine | 9d1cf1ebffc69f3c8c4b5461d73db4270226e47e | 9f1128782e212fc774ef441869300e483db02d44 | refs/heads/master | 2023-02-01T12:25:36.064522 | 2020-12-21T14:13:54 | 2020-12-21T14:13:54 | 199,670,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | h | SpriteRenderer.h | #pragma once
#include <d2d1.h>
#include "Component.h"
#include "Transform.h"
#include "Math.h"
class SpriteRenderer : public Component
{
public:
SpriteRenderer();
~SpriteRenderer();
void bitmap(ID2D1Bitmap** bitmap);
void bitmap(ID2D1Bitmap** bitmap, Rect& sourceRect);
void bitmap(ID2D1Bitmap** bitmap, Rect&& so... |
d3003946049908b55f5541d06eb49bd9e4e59620 | 0ee14f34e00344c1baba75be93c8725272e5cef5 | /Unit-Tests/Test-CFPP-Object.cpp | 9548c2a7ef7871d0f27e3cb73a5f447de4a42e23 | [
"MIT"
] | permissive | DigiDNA/CFPP | 08bf8ba362e8f1bf5a2f269405bfb388431a21f4 | bf8b2e6d67431007ebd165f0d075ff7b113a91c6 | refs/heads/main | 2023-04-27T19:27:11.592809 | 2023-04-14T19:48:54 | 2023-04-14T19:48:54 | 17,489,452 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,969 | cpp | Test-CFPP-Object.cpp | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Jean-David Gadina - www.xs-labs.com / www.digidna.net
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation f... |
6855225577705c5f0f695db2cfeb8566fa613512 | 480e33f95eec2e471c563d4c0661784c92396368 | /Alignment/MuonAlignment/interface/MuonAlignmentInputDB.h | c6ad85431d7b3c53979595cc126b57dac8e3e3b0 | [
"Apache-2.0"
] | permissive | cms-nanoAOD/cmssw | 4d836e5b76ae5075c232de5e062d286e2026e8bd | 4eccb8a758b605875003124dd55ea58552b86af1 | refs/heads/master-cmsswmaster | 2021-01-23T21:19:52.295420 | 2020-08-27T08:01:20 | 2020-08-27T08:01:20 | 102,867,729 | 7 | 14 | Apache-2.0 | 2022-05-23T07:58:09 | 2017-09-08T14:03:57 | C++ | UTF-8 | C++ | false | false | 1,525 | h | MuonAlignmentInputDB.h | #ifndef Alignment_MuonAlignment_MuonAlignmentInputDB_h
#define Alignment_MuonAlignment_MuonAlignmentInputDB_h
// -*- C++ -*-
//
// Package: MuonAlignment
// Class : MuonAlignmentInputDB
//
/**\class MuonAlignmentInputDB MuonAlignmentInputDB.h Alignment/MuonAlignment/interface/MuonAlignmentInputDB.h
Descripti... |
500af241adff37b6fcf777aefc973d506d26a17e | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /TrackingTools/MeasurementDet/interface/LayerMeasurements.h | 9e5d49471d16fa1d21d6dfee20aadf8c283b6b34 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 1,884 | h | LayerMeasurements.h | #ifndef LayerMeasurements_H
#define LayerMeasurements_H
#include "TrackingTools/MeasurementDet/interface/MeasurementDetSystem.h"
#include "DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h"
#include <vector>
class TrajectoryStateOnSurface;
class Propagator;
class MeasurementEstimator;
class TrajectoryMeasure... |
6460745828424b04cdd9dfcb4d6b70e500ffd9e6 | b6f38c6bc4626db2422477a03c2616fe4f94427a | /unittests/system/UnixFake.cpp | 3b37a2a5b527f47133d029b6da58e149b9afa282 | [
"BSD-3-Clause"
] | permissive | chyla/OutputMatchTestingTool | ae0b6f5bd833aef497d665d29e52065051948cb6 | d45fe3433e15e0dc396f62577c49d2673a531359 | refs/heads/master | 2023-08-11T13:34:59.332006 | 2023-07-29T09:02:27 | 2023-07-29T09:02:27 | 209,099,990 | 5 | 0 | BSD-3-Clause | 2021-07-18T17:30:43 | 2019-09-17T16:10:44 | C++ | UTF-8 | C++ | false | false | 1,649 | cpp | UnixFake.cpp | /*
* Copyright (c) 2019-2023, Adam Chyła <adam@chyla.org>.
* All rights reserved.
*
* Distributed under the terms of the BSD 3-Clause License.
*/
#include "unittests/system/UnixFake.hpp"
namespace omtt::system::unix
{
const Pipe
MakePipe(const PipeOptions option)
{
return GlobalFake().MakePipeAction(option... |
fd9dfcffb551300141e70c67d5ab325d62a82460 | cde370fb119bd2495b39f5b4e46201f35d86cd0b | /common/qtEventAndThread.h | fe2419c48a564e4bb1f12f04475570eb18e649a4 | [] | no_license | channyHuang/baseProject | 7d7f0ab228d3aafdb3d25b3bc2b41498a810d2bb | 658fe58e1b5c7783a63b7f2a35d03a0b6e1ad0e5 | refs/heads/master | 2023-01-30T08:22:07.602255 | 2023-01-20T13:49:55 | 2023-01-20T13:49:55 | 186,633,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | h | qtEventAndThread.h | #ifndef QTEVENTANDTHREAD_H
#define QTEVENTANDTHREAD_H
#include <QCoreApplication>
#include <QThread>
class QtEvent
{
public:
QtEvent() {
if(NULL == QCoreApplication::instance())
{
int argc=1;
QString name = "demoDll";
char *argv = (char*)name.toStd... |
086a823c14d3c5d8ec17d35286a683e5baeb7de3 | 4867ab9a788e01032e89de504dfdfbd2e0b9db31 | /PPC_Equivalency_Test/main.cpp | 9410ff67d4abe03e021464284d623f33bf21d13b | [] | no_license | Nakeymonkey/Periodic_Crystal_Structures_Project | 2372f9d8c9c1ef2df1181411e093e41aa9358933 | 3bd2e8c6456b9a0adca77fbe70232e654046c8bc | refs/heads/master | 2020-03-22T04:01:12.088011 | 2018-06-21T16:18:49 | 2018-06-21T16:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,286 | cpp | main.cpp | #include <gemmi/cif.hpp>
#include <fstream>
#include "Read_Cell_Shape.h"
#include "Read_Atom_Coords.h"
#include "Obtain_Cloud_Of_T2_Centres.h"
#include "Min_Dist_Within_Cell.h"
#include "Extend_Cell_And_Cloud.h"
#include "Min_Dist_Within_Nbhd_Cells.h"
#include "Print_Summary.h"
const int num_distances = 2;
const in... |
55f23199f769b7eb86933ac0c1cbe4d694f2c63d | 6ef2bc4962cb8093e34022dd956553e43a0d737e | /Source/Models/DialogueTree.cpp | 15250a686846f772edb93646b75c698341a848fc | [] | no_license | marciodrosa/sc-game-2 | 19d6b214ab09e5c3074636adde99f82f77de2ef3 | bd15ff3300c14fa6d891ad9fed0baa37db9ae2b9 | refs/heads/master | 2022-11-23T03:49:52.022563 | 2020-07-26T00:16:31 | 2020-07-26T00:16:31 | 277,205,775 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,718 | cpp | DialogueTree.cpp | #include "DialogueTree.h"
using namespace sc;
using namespace std;
DialogueLine::DialogueLine()
{
Character = CharacterId::UNKNOW;
}
DialogueLine::DialogueLine(CharacterId character, std::string text)
{
this->Character = character;
this->Text = text;
}
DialogueLine::DialogueLine(CharacterId character, std::strin... |
5e00beb27f17de282d9c61ff337ba759a6070156 | 02fec111191ecede92d844422125ac8482171bde | /Contests/Seletiva2020/e.cpp | f1f5fdaa9a6da42103376673d15b0539921f0320 | [] | no_license | Lucas3H/Maratona | 475825b249659e376a1f63a6b3b6a1e15c0d4287 | 97a2e2a91fb60243124fc2ffb4193e1b72924c3c | refs/heads/master | 2020-11-24T18:35:24.456960 | 2020-11-06T14:00:56 | 2020-11-06T14:00:56 | 228,292,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | cpp | e.cpp | #include<bits/stdc++.h>
using namespace std;
#define fr(i, n) for(int i = 0; i < n; i++)
#define frr(i, n) for(int i = 1; i <= n; i++)
#define frm(i, n) for(int i = n-1; i >= 0; i--)
#define pb push_back
#define f first
#define s second
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<double, double> p... |
84f5cdc054e9d0a70c62cf2a3d0d209bc59b47e1 | fa6dad74043bbbe609f41789e43ccae6537ebda4 | /boxGenerator/coord.h | 97c0c1168f39ad2c7e097c12290addbbcce2b07e | [] | no_license | imacross/cppProject | ec40b73406f6084a44c44da2ec2aec2a7235679e | 4dc370c4bdaeca688580462649e477be129590ef | refs/heads/master | 2020-04-29T05:41:09.479389 | 2019-03-15T21:23:55 | 2019-03-15T21:23:55 | 175,891,420 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | coord.h | //başlangıç coord.h
#ifndef COORD_H_INCLUDED
#define COORD_H_INCLUDED
class coord{
public:
coord();
coord(double,double);
double getCoordX();
double getCoordY();
void setCoordX(double);
void setCoordY(double);
private:
double x;
double y;
};
#endif // COORD_H_INCLUDED
//bitiş coord... |
971cd72021bc41e7737ed42a96fbd32965b836f4 | fb8c24e8e2849f6df6782d44f13815e7fb5689b4 | /ActionDetectionSoftware/Project1.0/words_svm.cpp | 33fbdd8918543165d0c458ee5d29867fbbeffb46 | [] | no_license | grantlj/MyCode | e690149cd47c290f70d30bcf89db8ca65309eece | bdc7a1199776fbf98ae7b4d273c10a24281c7d3a | refs/heads/master | 2020-04-06T06:48:07.869561 | 2015-05-26T14:02:32 | 2015-05-26T14:02:32 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,047 | cpp | words_svm.cpp | #include"words_svm.h"
#include<iostream>
#include<fstream>
using namespace std;
Words_SVM::Words_SVM(const char * WordsFile, const char * ModelFile, const char *MapFile)
{
ifstream FileInStream;
FileInStream.open(WordsFile);
FileInStream >> WordsNum;
FileInStream >> WordsLength;
WordsData = new float[WordsNum*W... |
791adc75fc58bd8e85f708bb44578cacf00dca69 | f492f7e81eb06f75ebab7b316df946c26cedbb84 | /change_freq_timer1/change_freq_timer1.ino | 8d336a8efa304d54eca235db3c3f8bc86a1ee2d3 | [] | no_license | killahbeez/arduino | dca07cf3e4f6f55ea9b210ce4c9548d65b75be36 | 8115e7f0c44e340290ddf2283b9cb9fe2ba7cee3 | refs/heads/master | 2021-06-03T21:42:51.037888 | 2021-02-15T07:37:31 | 2021-02-15T07:37:31 | 101,776,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | ino | change_freq_timer1.ino | void setup() {
DDRB |= 1<<PB1 | 1<<PB2;
TCCR1A = 1<<COM1A0 | 1<<COM1B1 | 1<<WGM11 | 1<<WGM10;
TCCR1B = 1<<WGM13 | 1<<WGM12 | 1<<CS12 ;
OCR1A = 6250;
OCR1B = OCR1A/4;
}
void loop() {
// put your main code here, to run repeatedly:
}
|
3fba5175859dbcb40e1614280695d98d98b2f81d | 35facc085dee29c7d9a1a3f036c403bbef89fa9c | /Tree/4. Height of Binary tree.cpp | 2e9a549da4a0ef86ff02b92a213d2fa11df26175 | [] | no_license | riya-bindra/Data-Structures-and-Algorithms | 2a39ea9fd4f312b809a407d22f00822fd3910e9c | 8790b68b36ba658b30e380a7dc74878417265929 | refs/heads/main | 2023-07-17T12:40:16.978599 | 2021-08-28T12:14:41 | 2021-08-28T12:14:41 | 370,926,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | 4. Height of Binary tree.cpp | #include <iostream>
using namespace std;
struct Node
{
int key;
Node* left;
Node* right;
Node(int k)
{
key=k;
left=NULL;
right=NULL;
}
};
int height(Node* root)
{
if(root==NULL)
return 0;
else
{
return (max(height(root->left),height(root->right))+1);
}
}
int main()
{
... |
667b032ede80bd4945affc4ac4cac64a9077d331 | 6bcdb9e8836cd60e972be865beb50fbfefdfa650 | /libs/core/include/fcppt/either/success_opt.hpp | 261dbacbb8d90979bba41c10d1a6e01d15726dbc | [
"BSL-1.0"
] | permissive | pmiddend/fcppt | 4dbba03f7386c1e0d35c21aa0e88e96ed824957f | 9f437acbb10258e6df6982a550213a05815eb2be | refs/heads/master | 2020-09-22T08:54:49.438518 | 2019-11-30T14:14:04 | 2019-11-30T14:14:04 | 225,129,546 | 0 | 0 | BSL-1.0 | 2019-12-01T08:31:12 | 2019-12-01T08:31:11 | null | UTF-8 | C++ | false | false | 1,304 | hpp | success_opt.hpp | // Copyright Carl Philipp Reh 2009 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_EITHER_SUCCESS_OPT_HPP_INCLUDED
#define FCPPT_EITHER_SUCCESS_OPT_HPP_INCLUDED
#incl... |
317e3a444930d0d92c4e3ad72bd909e4ee99d32e | de7e771699065ec21a340ada1060a3cf0bec3091 | /core/src/java/org/apache/lucene/index/DocumentsWriterFlushControl.cpp | c3e815dd13508d02c978b93fdc32e930b9087c0f | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,734 | cpp | DocumentsWriterFlushControl.cpp | using namespace std;
#include "DocumentsWriterFlushControl.h"
namespace org::apache::lucene::index
{
using ThreadState =
org::apache::lucene::index::DocumentsWriterPerThreadPool::ThreadState;
using Accountable = org::apache::lucene::util::Accountable;
using InfoStream = org::apache::lucene::util::InfoStream;
usin... |
0efaea5a13f86e870a5538746635211326005eb9 | a34ac1d315fb5916752d0c3e3bdde0fbf876c08d | /testpack/wen/2018.1.4/src/杨欣烨/bst.cpp | 67535991e73276466504210c60315d77827b9065 | [] | no_license | RiverHamster/OI-Works | ae9f7543bb75501552042dc3d4346ff83dfd47df | 7828a21183c49dde173e355a8d20ca7cebb4cd56 | refs/heads/master | 2021-05-14T11:46:57.198588 | 2018-01-06T09:29:35 | 2018-01-06T09:29:35 | 116,372,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | bst.cpp | #include <stdio.h>
int main(){
freopen("bst.in","r",stdin);
freopen("bst.out","w",stdout);
int DataC;
long long x,tmp;
scanf("%d",&DataC);
while(DataC--){
scanf("%lld",&x);
tmp=x&(-x);
printf("%lld %lld\n",x-tmp+1,x+tmp-1);
}
return 0;
}
|
8019e965b0b5dc35fc7e5e9ba4179f66e51ca8b9 | a68797b068d427dd6b016eb1485340edaf871cdf | /Ch4Test/sec4_7-1.cpp | 77712ac06e9773a3b8f1d4e9968e23f64166a0e1 | [] | no_license | FranzEricSchneider/learncpp | 0411c4d0b8cf5101d91fd6477e63d3668a1875c4 | 85eb1df23a7bf4d7ea368ac946ddccd94dd35f86 | refs/heads/master | 2021-05-30T06:34:33.786953 | 2016-01-15T20:19:25 | 2016-01-15T20:19:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | cpp | sec4_7-1.cpp | #include <iostream>
struct Advertising
{
int ads_shown_to_users = 0;
double percentage_users_click = 0.0;
double profit_per_click = 0.0;
};
Advertising captureAdData()
{
Advertising adInfo;
std::cout << "Enter ads shown to users (int): ";
std::cin >> adInfo.ads_shown_to_users;
std::cout <<... |
c182525f7cdf04402b67ec398883bd0527d742b5 | e6b20b3c26216d4c0652fd753a24e7372bf707c4 | /include/smooth/internal/so2.hpp | 1522574c6f66291428433989dba00eebddf2368e | [
"MIT"
] | permissive | chengwei920412/smooth-lie-groups | b90e1cd9536665984ff1144b57cd7e7000a5bc96 | d1c916f95397acc879b4e778cf33a394c8af06e7 | refs/heads/master | 2023-06-12T23:02:15.413442 | 2021-07-08T14:47:30 | 2021-07-08T14:57:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,432 | hpp | so2.hpp | // smooth: Lie Theory for Robotics
// https://github.com/pettni/smooth
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
//
// Copyright (c) 2021 Petter Nilsson
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation fi... |
a866c54dd5c9d2351b2f8785204bb101f1ff3fcf | 2ed49b4402963f307ec929fb05313a6ef3520d63 | /Assignment2/primenumber.cpp | 629217176827a718158634395ce481e66b66bcc2 | [] | no_license | iyers16/COEN243Concordia | 103bee2395fd3f330c222daf676855ae7d19da2b | 0a737df728c134895c7acacaf1cbd72f962442b8 | refs/heads/main | 2023-04-22T17:58:08.881487 | 2021-05-10T02:26:50 | 2021-05-10T02:26:50 | 361,180,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | primenumber.cpp | #include <iostream>
#include <cmath>
using namespace std;
int main() {
//Declare user input variable and internal counter variable
int userNumber, i;
//Declare boolean variable to test condition of primality
bool primality = true;
//Recieve user input integer
cout << "Enter a positive integer: ";
cin ... |
a58c1e8355b62cd9eb957a053e8195b6b576cb62 | ec65189850a31bbf352bd6569c83e2da9496e857 | /main.cpp | c25b4b19b3875db0ba49cc7057a8cb77bc0daa6e | [] | no_license | Azokah/TTS-Vengine | 1e10c886737f7b3c4290db2bb3fc9ce85f25b90b | 6321a3abb0b066166f67ed262ffebc53128a3574 | refs/heads/master | 2021-01-15T17:09:54.280697 | 2017-10-09T06:01:11 | 2017-10-09T06:01:11 | 99,735,686 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | main.cpp |
#include <iostream>
#include "Game.h"
int main(int argc, char * argv[]){
std::cout<<"Iniciando V-Engine..."<<std::endl;
Game * game = &game->getInstance();
game->run();
return 0;
}; |
0fa02d79fa8452685f9c12d3fed106427f698fbf | a6f7828a6030d8af6db5468916b05b8359d33e8f | /II-PARCIAL/Extras/Ordenamiento_Mezcla_Natural/Ordenamiento_Mezcla_Natural/mystring.h | 8d8b3c97e83e4af061244e97d472fca54aeb5e12 | [] | no_license | M4t3B4rriga/Team5-DataStructure-3688 | f485f83cb56790aa0bd9af42b14c24d3f486b735 | 55770225e1d54281c469c5538f28c98954ca800c | refs/heads/main | 2023-08-14T19:11:11.664816 | 2021-09-06T15:51:51 | 2021-09-06T15:51:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | mystring.h | #pragma once
#include <string>
using namespace std;
class mystring
{
public:
char to_lower( char);
char to_upper(char);
string capitalize(string);
string minusculize(string);
int find_character(string, char, int);
int find(string, string, int);
int length(string);
string substract(string, int, int);
bool is_eq... |
40bce725bf1be59cdac2776edb8bc504c83d1f56 | bae4d234b9e842abc121d4b5e139b3b3eb7cd735 | /Game/Source/Game/BulletManager.cpp | 78712a1f7251b575e571e3c061eea42e64774286 | [] | no_license | F1xx/2DBoshy | 8ebf213ef21b5934d844c722e27f74c49fe44fbe | 8e643013508ea4181861462571e395fcbb3a2840 | refs/heads/master | 2022-02-27T04:08:03.003172 | 2019-07-20T00:40:41 | 2019-07-20T00:40:41 | 197,859,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,241 | cpp | BulletManager.cpp | #include "GamePCH.h"
#include "BulletManager.h"
#undef new //defined as new(__FILE__, __LINE__) by MyMemory.h
BulletManager::BulletManager()
{
///-----initialization_start-----
///collision configuration contains default setup for memory, collision setup. Advanced users can create their own configuration.
collisi... |
a2f91f9bd5d9b46ee1ad7e2141e3384a04eebd36 | 1f577c4b33e1516b63cae6df827d5298696c5d64 | /Bioinformatics-Algorithms/Project_1/complementary_seq.cpp | 8ae79e16abaf96203865f5e0fdc44e0956fa9fcc | [] | no_license | Tasari/University_things | 825c0bbcbdd1e60b0fcff30958ba53ee5a1179a0 | 7da0ddc1bbb841c1052eb6f6cd1e4d1f2ea16032 | refs/heads/master | 2021-07-08T07:56:41.723826 | 2021-01-26T14:03:40 | 2021-01-26T14:03:40 | 227,456,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | complementary_seq.cpp | #include "complementary_seq.h"
void complementary_sequence(string starting_sequence, string &complementary_sequence){
for(int i=starting_sequence.size();i>=0;i--){
if(int(starting_sequence[i]) == 65){
complementary_sequence.append("T");
}
else if(int(starting_sequence[i]) == 84){... |
1eac515857f2313ded56c58be686d8433f42d85c | bfd0e0c98f9eb7885de7739d7a914679ced0f8fd | /Arduino/house/user-libraries/COA/ButtonComponent.cpp | 262d823d5e398024b1327bb1326db6664f7cf91a | [] | no_license | DonLuigi/Homino | c063dc360b9ee2b330e441a906f7e30d5d4cacbe | c299ea1b75e798954cb90255ee0dbc4dfe23f8b3 | refs/heads/master | 2020-04-12T06:37:19.876594 | 2018-02-22T21:45:28 | 2018-02-22T21:45:28 | 65,416,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | ButtonComponent.cpp | #include <Command.h>
#include "ButtonComponent.h"
///////////////////
//
// Component
//
///////////////////
ButtonComponent::ButtonComponent (uint8_t pin, uint16_t intervalMillis, const char* name) :
Component (name)
{
pinMode (pin, INPUT_PULLUP);
bounce.attach (pin);
bounce.interval (intervalMillis);... |
143a5180af12c83b54e371e2370a65ee4bec23d7 | 8cef651d56b0dc30a4deadeda480faf626698898 | /Other Projects/WIX/3.0/src/src/ca/wixca/dll/CloseApps.cpp | 982189e7a32e6a995f26409530ab0d593277aa88 | [] | no_license | cpamoth/Projects | f6a005797095ce17bab57c6477145c247cbfe77c | d9addfc7b3218cb51f66d800da1959414e416601 | refs/heads/master | 2023-03-07T16:08:59.986612 | 2022-11-20T16:38:34 | 2022-11-20T16:38:34 | 38,752,439 | 3 | 1 | null | 2023-03-02T23:10:11 | 2015-07-08T12:24:44 | C# | UTF-8 | C++ | false | false | 7,876 | cpp | CloseApps.cpp | //-------------------------------------------------------------------------------------------------
// <copyright file="CloseApps.cpp" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// <summary>
// Code to close applications via custom actions when the insta... |
f113b4ec0fb4dc4f09f1032155b85c67eef3b56f | fc35f8872f8960e90c765231022a410b528d09c6 | /trunk/other/tiago/pong/ball.h | 612b619df40e9abb7d6071980e8cc7a88b94829c | [] | no_license | BGCX261/z-one-svn-to-git | 576b2b958a783238d11159ca175a54d79c988a64 | bc8bfbcb0267e27ce637844f762032ae6f49a9ee | refs/heads/master | 2021-01-25T09:59:22.856790 | 2015-08-25T15:46:24 | 2015-08-25T15:46:24 | 42,317,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h | ball.h | #include <SDL/SDL.h>
#include <SDL/SDL_mixer.h>
#ifndef BALL_H
#define BALL_H
class ball{
//int x, y; //coordenadas da posição // não precisa pois o box tem x e y
int xvel, yvel; //velocidades de movimento
SDL_Surface* image; //imagem da bola
SDL_Rect box; //representa a bola (colisões e tals)
bool collision(SDL_... |
df78cbde7abf99fda17a9c2d41592142d4fa4c1d | 6a089ffb69a7805ab163746a560c195e371bfe32 | /InverseKinematics/input.cpp | b836f04097a3a721bb4b96171546d37e72e24b33 | [] | no_license | kaandemiroz/InverseKinematics | b3f052adc86a4c6ff0f792bed7b9e4538a2e470d | 298440fcd8dae1965209b5f123cfe5b1496dc993 | refs/heads/master | 2020-03-11T08:34:36.371575 | 2018-04-19T07:14:14 | 2018-04-19T07:14:14 | 129,887,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | cpp | input.cpp | #include "ik.h"
#include "input.h"
/* Write a screenshot, in the PPM format, to the specified filename, in PPM format */
void saveScreenshot(int windowWidth, int windowHeight, char *filename)
{
if (filename == NULL)
return;
// Allocate a picture buffer
Pic * in = pic_alloc(windowWidth, windowHeight, 3, NULL);
... |
1cf6cad5f934b6ea4b44ff01dbfe75d01a881916 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/callable_traits/add_member_volatile.hpp | d7bbf34073c3415ab4499bbb778861b9d31836c2 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | add_member_volatile.hpp | version https://git-lfs.github.com/spec/v1
oid sha256:2e62297b61116930ae638578051d997a6b3fe6a6fc665d1fb6f1f82bb9aaf6da
size 3152
|
eaed8f3eca2e8c09c55b43a7bc8ec35634ba20e5 | 0abdd78697aa5f09fcd3e8bb8c2c79866f98004b | /craft_work02Ver.0.0.0/src/scene/result.cpp | 238d221ef76e216590c51dc03047de31c532f1c1 | [] | no_license | ryou62525/GameStorage | f8069e9aad6040a900708d1e160ca9dedb24e6f6 | 1cc01d9287566d5557e6319426681aa0f83b91ea | refs/heads/master | 2021-01-10T03:54:28.047200 | 2016-01-14T13:34:47 | 2016-01-14T13:34:47 | 49,485,386 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 394 | cpp | result.cpp | #include "result.h"
Result::Result()
{
isEnd = FALSE;
}
Result::~Result()
{
}
void Result::Update()
{
if (isPresskey(KEY_INPUT_SPACE))
{
isEnd = TRUE;
}
}
void Result::Draw()
{
DrawString(pos.u, pos.v, "ƒŠƒUƒ‹ƒg", fontColor);
}
int Result::SceneEnd()
{
if (isEnd == TRUE)
{
... |
d2a2a10b3a93183b47b87a85a03c24e0c5a24bf1 | 134108a93f19afeeb91cf95e9246f8dc05954cfe | /include/tao/config/internal/forward.hpp | 57c066db37bdaf2df95552a97243b9f9ba2d17ae | [
"MIT"
] | permissive | uilianries/config | 7376a2b742b5d89c39b7dacd8e071424922a77a5 | 5b1c793b666afce56a8508a44a7a3508d66ff7e8 | refs/heads/master | 2021-03-31T02:57:58.134396 | 2020-03-15T20:25:36 | 2020-03-15T20:25:36 | 248,070,050 | 1 | 0 | MIT | 2020-03-17T20:47:48 | 2020-03-17T20:47:47 | null | UTF-8 | C++ | false | false | 770 | hpp | forward.hpp | // Copyright (c) 2019-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/config/
#ifndef TAO_CONFIG_INTERNAL_FORWARD_HPP
#define TAO_CONFIG_INTERNAL_FORWARD_HPP
namespace tao::config::schema
{
struct builtin;
struct validator;
namespace internal
{
... |
faf269304a51808e1bfc2bbaf05333ee78e1f96e | 0efb71923c02367a1194a9b47779e8def49a7b9f | /Oblig1/les/0.26/phi | 3d9530571e7b8cca9944123d7855dd0405eefae3 | [] | no_license | andergsv/blandet | bbff505e8663c7547b5412700f51e3f42f088d78 | f648b164ea066c918e297001a8049dd5e6f786f9 | refs/heads/master | 2021-01-17T13:23:44.372215 | 2016-06-14T21:32:00 | 2016-06-14T21:32:00 | 41,495,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214,085 | phi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | |
977e3ed6e5c443709581670957d56655aa68233b | 02fbc0487972fbdedcd4cdb48cc553e62bb0dbfa | /C++/bitmask/BOJ_2098.cpp | 7cea281bc8cd0e572c69915ffd1afe21e8810b8c | [] | no_license | sckimynwa/ProblemSolving | e93d02bd44e89ac6fbb1e274d173b3f8a0569848 | ed1cb624135b962adaddf10b977c14ad3e943ad1 | refs/heads/master | 2020-09-16T06:58:20.658828 | 2020-07-07T14:19:57 | 2020-07-07T14:19:57 | 223,690,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | BOJ_2098.cpp | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
const static int INF = 99999999;
int n;
int map[16][16];
int memo[16][1<<16]; // bitmask
int tsp(int cur, int visited) {
int& ret = memo[cur][visited];
if(ret!=-1) return ret;
// visited all cities
if(visited == (1<<n)-... |
ccfca632158135256424ce1b5fdf5d1bdb68ad05 | fb7c30623a203faef64c6d408def1258b39c2154 | /src/DiskFile.h | 3f1c7d7c83524720a320b6b67c17a4139e5ede15 | [] | no_license | gmargari/keyvaluestore | c8c70267cf43868c0035d4e19ebc51a13e4d9440 | 24771700c3d928f797681fc7524478fd57e37400 | refs/heads/master | 2023-04-02T12:40:53.096689 | 2021-04-03T08:14:38 | 2021-04-03T08:14:38 | 9,856,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,157 | h | DiskFile.h | // Copyright (c) 2011 Giorgos Margaritis. All rights reserved.
#ifndef SRC_DISKFILE_H_
#define SRC_DISKFILE_H_
#include <stdint.h>
#include <sys/types.h>
#include "./Global.h"
#include "./leveldb/slice.h"
class VFile;
class VFileIndex;
class Buffer;
class DiskFile {
public:
/**
* constructor
*/
... |
545c1b8829e71884ccb0ffdcdf029be40a77b2b9 | bc84c328d1cc2a318160d42ed1faa1961bdf1e87 | /C++/base_4/oct2dec.cpp | 83ffa91a0614936de1de3b2cf7e42ff76571f7ee | [
"MIT"
] | permissive | liangjisheng/C-Cpp | 25d07580b5dd1ff364087c3cf8e13cebdc9280a5 | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | refs/heads/master | 2021-07-10T14:40:20.006051 | 2019-01-26T09:24:04 | 2019-01-26T09:24:04 | 136,299,205 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | oct2dec.cpp | //八进制转换为十进制
//C++版本
/*#include"iostream"
using namespace std;
int main(int argc,char *argv[])
{
int num;
cout<<"input a number(oct):";
cin>>oct>>num;
cout<<dec<<num<<endl;
return 0;
}*/
//C版本
#include"stdio.h"
int main(int argc,char *argv[])
{
int num;
printf("input a number(oct):");
scanf("%o",&num);
printf("... |
711d7a62e861e018f714cb3bd2773d9a0ffb7e62 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/xgboost/xgboost-gumtree/dmlc_xgboost_new_hunk_440.cpp | 912972996ee33c03dc43564e359ed59393c611b0 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,271 | cpp | dmlc_xgboost_new_hunk_440.cpp | inline void Listen(int backlog = 16) {
listen(sockfd, backlog);
}
/*! \brief get a new connection */
TCPSocket Accept(void) {
int newfd = accept(sockfd, NULL, NULL);
if (newfd == -1) {
SockError("Accept", errno);
}
return TCPSocket(newfd);
}
/*!
* \brief bind the socket to an a... |
d091487a05efcd27ecd460c4f46b87c945845222 | 3ed65d78b28a224ce4b0db304d9260d2bc99c519 | /libraries/LEDMatrix/LEDMatrix.h | a83f9af3936bbf3a3ed243c839464794b8ce3bb6 | [] | no_license | tmcls/ButscoLedDisplay | c99d9f1e17dc236bf676305dbaf84e8aefb7d8fd | abf8dcc73869218fba93c6b61b6c337e9657639a | refs/heads/master | 2021-06-20T08:33:41.393013 | 2017-08-03T12:29:34 | 2017-08-03T12:29:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | h | LEDMatrix.h | #ifndef LEDMatrix_h
#define LEDMatrix_h
enum MatrixType_t { HORIZONTAL_MATRIX,
VERTICAL_MATRIX,
HORIZONTAL_ZIGZAG_MATRIX,
VERTICAL_ZIGZAG_MATRIX };
class cLEDMatrixBase
{
protected:
int16_t m_Width, m_Height;
MatrixType_t m_Type;
struct CRGB *m_LED;
... |
5589a4b6934257505b5c53b2b1c23a109f755a6d | d1e081b57f8a63452a581c6185bd0f873abd34c7 | /502-IPO.cpp | 93142dc147226619b92e26950a463d9b9d317de0 | [] | no_license | zixuan-chen/LeetCode-OJ | dbc5069db4a34d751634dc9b4424856e48244f9d | d78d3ef91e52e79bcfc85c81950be8b55741bd3b | refs/heads/master | 2022-01-12T13:52:54.176505 | 2019-05-23T00:18:23 | 2019-05-23T00:18:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | 502-IPO.cpp | #include <iostream>
#include <vector>
#include <map>
using namespace std;
void swap(int &a, int &b)
{int tmp = a; a = b; b = tmp;}
int findMaximizedCapital(int k, int W, vector<int>& Profits, vector<int>& Capital) {
bool flag = true;
const int N = Profits.size();
if(N == 0) return W;
bool vis[N] = {fal... |
1a77f4745930a3270259f5e17b171bcb2a6282f6 | 88416cf743dbda0630e60ff618cfe485be349c8e | /source/vgraphics/vix_glcamera3d.cpp | e7487d067cf6a536c32587a63bb291888da663e4 | [
"MIT"
] | permissive | pbuttler/Vixen | a56dc36a228099a794534536eb65607ed8a199cf | 72563e3989ba7ccfa54f2988d5a901fee5210338 | refs/heads/master | 2021-01-18T01:43:06.300597 | 2015-03-03T22:27:44 | 2015-03-03T22:27:44 | 31,687,372 | 1 | 0 | null | 2015-03-05T00:26:32 | 2015-03-05T00:26:32 | null | UTF-8 | C++ | false | false | 1,231 | cpp | vix_glcamera3d.cpp | #include <vix_glcamera3d.h>
namespace Vixen {
GLCamera3D::GLCamera3D()
: m_aspect(0.0f),
m_fov(0.0f),
m_znear(1.0f),
m_zfar(1000.0f),
m_position(0.0f),
m_target(0.0f, 0.0f, -1.0f),
m_up(0.0f, 1.0f, 0.0f)
{
}
void GLCamera3D::SetPerspective(float aspect, float fov, float znear, float ... |
d9e99ebc766f4c9968efc691902f5abe51855c66 | 3ac79de991b07748b2c5d5e19c20327ec5235b00 | /src/lib/kh/math/kh_intrin.cpp | 420dac22dc730e76b7ded4d68e9e212ac16b15a7 | [
"WTFPL"
] | permissive | khujara/practice | 1270c2d52a32d6d7ab5eff4d50fe90b7ed48b02e | 50880b5e05ba8c0b295867ba624fa0f6ee6513d4 | refs/heads/master | 2020-12-30T16:46:42.355997 | 2018-03-13T16:32:41 | 2018-03-13T16:32:41 | 91,030,902 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | cpp | kh_intrin.cpp | /*
---------------------------
NOTE: INTRINSICS IMPLEMENTATION
---------------------------
*/
inline u32
kh_shift_left(u32 data, u32 shift) {
u32 res = data << shift;
return(res);
}
inline u32
kh_shift_right(u32 data, u32 shift) {
u32 res = data >> shift;
return(res);
}
inline u32
kh_rot_left(u32 val, i32 shift... |
85f3810026412fb7f0022b6741d5947d704715e1 | 08ca77ec37c3634305c9bf4ee30ea85e856b26da | /TeamKTextTwist/Player.cpp | 117df7db3b4354379e149ff2db3ace9906e4c995 | [] | no_license | Joeaculberson/TextTwist | d10e298ae4ea4da34300421f5d26a29455b3875c | bea156a92da95d34da3cee2958f312186b72ae35 | refs/heads/master | 2021-01-13T16:26:56.571497 | 2016-09-27T09:04:18 | 2016-09-27T09:04:18 | 69,336,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,552 | cpp | Player.cpp | #include "Player.h"
namespace model {
/// <summary>
/// Default constructer for the player class.
/// </summary>
/// <pre>None.</pre>
Player::Player() {
this->name = "";
this->score = 0;
}
/// <summary>
/// Creates a player object with assigned values.
/// </summary>
/// <pre>name != nullptr</pre>
... |
bdf084359941c439c85c5db0b017dfbeaa7117d2 | dcb7dae56932f62292fd0d607e32dc2f238d5551 | /514-B/main.cpp | 683f024cbd450ce96380ec883151e861b51cd1f2 | [] | no_license | alielrafeiFCIH/Problem_Solving | b5f330d115d3ca1c34613eb2639226c271f0052b | 15863cd43012831867fa2035fc92733a059dcfbf | refs/heads/master | 2020-06-27T03:33:15.668655 | 2019-09-03T09:49:26 | 2019-09-03T09:49:26 | 199,831,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cpp | main.cpp | #include <bits/stdc++.h>
using namespace std;
map<pair<double,double>,int>mp;
pair<double,double>p;
double cal_slope(int x1,int y1,int x2,int y2){
return (double)(y2-y1)/(double)(x2-x1);
}
int main()
{
int n;
scanf("%d",&n);
int x,y,x1,y1;
scanf("%d%d",&x,&y);
double slope=0.0;
int count=... |
764551a8a7dde8b70a55a15aa6cd9ae75a0629c9 | a223dc9035a90b6d2183099f9ab08a20d8a4d861 | /sketchbook/AnalogInOut/AnalogInOut.ino | d3bd258ade130e6b0bd8ce5c91336850bb854551 | [] | no_license | labodejuguete/gamelin | 19cf71b12ac4526ac3fb7d858e75c88ebb08a6c0 | f5b7cded109086a4a749ee0fa33b0fc476efbd72 | refs/heads/master | 2021-07-17T22:05:19.100545 | 2017-10-23T15:08:03 | 2017-10-23T15:08:03 | 94,558,026 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | ino | AnalogInOut.ino | /*
Analog input, analog output.
Leo el pin analógico donde tengo conectado el potenciómetro (pin D)
escalo el valor y lo escribo como PWM en el pin C para controlar la velocidad
de un motor o el brillo de una tira de leds. El pin C integra un transistor por
lo que no es necesario sumar componentes (conectar el ca... |
e95da7eda7bbb711be5c97f72b15c9f326f0f946 | 9eef5fe8ee6e840c98b936eedc904c1acc6bd91e | /UsagiTest/Input/ShipController.cpp | e663d66c13e9a6159c695f38788271e3dd0d93ea | [
"MIT"
] | permissive | vitei/UsagiTest | d0418a25d8f9b2793ec5da0e0c6517e17aee0bdf | 2b5e7a530dad3dc38be695403837fe050c95edd3 | refs/heads/master | 2021-07-06T11:13:56.346530 | 2020-07-12T13:51:53 | 2020-07-12T13:51:53 | 130,922,324 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | cpp | ShipController.cpp | #include "Engine/Common/Common.h"
#include "Engine/Framework/SystemCoordinator.h"
#include "ShipController.h"
using namespace usg;
ShipController::ShipController(uint32 uPadId)
: Controller(uPadId)
{
MemSet(m_buttons, 0, sizeof(usg::Controller::MappingOutput) * SHIP_BOOL_COUNT);
MemSet(m_axes, 0, sizeof(usg::Cont... |
728fc9ee6db85a103b9b812821bddae2e5f9c763 | c5892750253cb6cd0bcc0ea118ea4e56d7e50259 | /ATCommand.h | 19559c1788e1b1cf01c7fc8d97a68cce125fcd87 | [] | no_license | BotBallARDroneAPI/KIPR-Copter | 2391d2841f42c32f24c3d12bfd30a13dc90e42fc | ffe99372148ec6c783147c6d35d6a1e3e605dcef | refs/heads/master | 2020-12-24T13:52:23.310817 | 2012-12-02T20:46:29 | 2012-12-02T20:46:29 | 6,237,544 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | ATCommand.h | /// ATCommand.h
#ifndef ATCOMMANND_H
#define ATCOMMANND_H
#include <string>
namespace ARDrone
{
/**
@brief This structure defines structure of a ARDrone ATCommand
**/
struct ATCommand
{
std::string strCommandHeader;
std::string strCommandData;
};
}//namespace ARDrone
#endif |
26775e4edee228f4419fc02517f81a4b203b9b2a | 20cb62d1ae0fa72d22a65022e06c46d35d4c0750 | /exeinject/src/PeParser.cpp | de3ae241c08fdc43d5bc674fa9b6cffb35408331 | [] | no_license | andrascii/exeinject | 58661da80554077f77531e1dad78ba06b4fc6241 | e2bbf8791fc9c0ddf78e3342755c002e78453d08 | refs/heads/master | 2023-03-17T04:48:53.303686 | 2021-03-05T18:06:02 | 2021-03-05T18:06:02 | 342,956,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,722 | cpp | PeParser.cpp | #include "PeParser.h"
#include "ImageDosHeader.h"
#include "ImageSectionHeader.h"
#include "OptionalHeaderMagicValues.h"
#include "ImageImportDescriptor.h"
#include "ImageThunkData.h"
namespace exe_inject {
auto PeParser::Parse(const std::filesystem::path& path) const -> Info {
auto file = std::fstream{ p... |
0997b38f2d58533d03e32855d8c68598905d978d | 09d28b91c7f024af9857b766fc1569193150ffff | /queue/node.hpp | bd1d351330b55f5670c7a72f66fcdf508fbdfff5 | [] | no_license | a1exwang/concurrency_in_action | 96ec3369a3bbee38c0a1ad713dccb5cd3573e50c | 8663cee6b65a6ddcb669e0da054149783bc9e1ed | refs/heads/master | 2021-03-10T09:19:33.070718 | 2020-07-16T00:48:55 | 2020-07-16T00:48:55 | 246,442,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | hpp | node.hpp | #pragma once
#include "concurrent_queue.hpp"
#include <memory>
/**
* Owning pointer for Node<T>. Performs better than raw unique_ptr when destructing linked-list.
* @tparam T
*/
template <typename T>
class Node;
template <typename T>
using DeleterType = void(*)(Node<T>*);
template <typename T>
class NodePtr : pu... |
bdf148143ffdcaec6af7bd25e77298fe952ed08c | c25fa228e19f6ef4d63dc11d59baaae4981101c0 | /src_smartcontract_db/scan_select/scan_columns/scan_columns_exp/FunctionCallScanColumnTarget.cpp | f23d63d0ca9b8180ab98caf83593c428b186849b | [
"MIT"
] | permissive | alinous-core/codablecash | b994e710144af3f6b69bda2f3d1dff080b2fd2b0 | 030fa9ee2e79ae2cade33aa80e80fb532c5b66ee | refs/heads/master | 2023-08-31T04:30:14.333123 | 2023-08-12T11:33:06 | 2023-08-12T11:33:06 | 129,185,961 | 11 | 4 | MIT | 2023-08-13T14:10:25 | 2018-04-12T03:14:00 | C++ | UTF-8 | C++ | false | false | 2,423 | cpp | FunctionCallScanColumnTarget.cpp | /*
* FunctionCallScanColumn.cpp
*
* Created on: 2020/08/20
* Author: iizuka
*/
#include "scan_select/scan_columns/scan_columns_exp/FunctionCallScanColumnTarget.h"
#include "base/UnicodeString.h"
#include "base/StackRelease.h"
#include "scan_select/scan_condition/exp/FunctionCallScanCondition.h"
#include ... |
5cb227637c410286452871240c664360fd314061 | dad8d118e5a19112e96318dc93a0a623fc9fae73 | /src/kadane2d.cpp | ec733eef97097c5b5552648f1f2eaaf62510a49a | [
"MIT"
] | permissive | MaratonaAtUFSCar/notebook | 2571d832a86703d52800471a93d7af1cebf2fc65 | d485e9507f9c203a18c733f2d2b88c02f4f2d20a | refs/heads/master | 2021-01-01T06:23:41.177077 | 2017-07-17T00:55:04 | 2017-07-17T00:55:04 | 97,419,713 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | kadane2d.cpp | #define MAX -1
int v[MAX][MAX];
int n;
int solve() {
int max_all = 0;
int max_elem = -500;
for (int i = 0; i < n*n; ++i) max_elem = max(max_elem, v[i/n][i%n]);
if (max_elem < 0) return max_elem;
for (int i = 0; i < n; ++i) {
int sum[n]; memset(sum, 0, sizeof sum);
// kadane:
for (int j = i; j < n; ++j) {... |
18410259a2d0a0eab07736fa7f758557056ac012 | bddb40149f9028297d9b4f3f6b77514cadac9bca | /Source/James/SmartDashboard/networktables2/type/NetworkTableEntryTypeManager.h | 4474f915330c2da2526b058a4b108ae5813680c1 | [] | no_license | JamesTerm/GremlinGames | 91d61a50d0926b8e95cad21053ba2cf6c3316003 | fd0366af007bff8cffe4941b4bb5bb16948a8c66 | refs/heads/master | 2021-10-20T21:15:53.121770 | 2019-03-01T15:45:58 | 2019-03-01T15:45:58 | 173,261,435 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h | NetworkTableEntryTypeManager.h | /*
* NetworkTableEntryTypeManager.h
*
* Created on: Sep 16, 2012
* Author: Mitchell Wills
*/
#ifndef NETWORKTABLEENTRYTYPEMANAGER_H_
#define NETWORKTABLEENTRYTYPEMANAGER_H_
class NetworkTableEntryTypeManager;
#include "NetworkTableEntryType.h"
class NetworkTableEntryTypeManager
{
private:... |
b101751b8f3a3d0e6ab5b1a28105c13636f0a820 | 51cc9b73921bd44c99d4e228d9b61bec507e2f50 | /graph/ex53_4.cpp | d311788c3a622d33a0674da6250ecfc667144a55 | [] | no_license | PingAnZi/data_structure | d528f88046f3c0d5ec68c61c719986aaa9b3129d | 18250fc363a07a7e1ce828ebd9ee646cec449a03 | refs/heads/master | 2020-04-09T11:11:20.038107 | 2014-08-04T13:50:25 | 2014-08-04T13:50:25 | 22,604,832 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | ex53_4.cpp | #include <stdio.h>
#include <stdlib.h>
#include "graph.h"
int visited[MaxVertexNum] = {0};
//深度优先搜索 路径
int Exist_Path_DFS(ALGraph G, int i, int j) {
int p;
if(i==j) {
return 1;
}else {
visited[i] = 1;
for(p=FirstNeighbor(G, i); p>=0; p=NextNeighbor(G, i, p)) {
if(!visited[p] && Exist_Path_... |
ab4c268793e1e9b76b387ddbf549cba619eb12b2 | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/2.68/U | faf59278545f3331b4d7d05efb8d0717a87461b8 | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468,326 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | |
38db114bc8e4fb675675ce9970d2f1c2116e3a71 | ef243e14ec6931257cc49d1546a94bf8ba218927 | /Principios-Da-Mecatronica-2020-2/Pratica07/prog_03.ino | 08fe982bd21671045e9d6f818e3d1170b974b1c3 | [] | no_license | Murilo-ZC/FATEC-MECATRONICA-MURILO | 32315bdc3b072ef49d9d0f20d866eec13407064b | 4c8902f66a427551c6c9e390446163a42d9c9554 | refs/heads/master | 2023-08-18T12:22:52.191741 | 2021-09-28T12:23:14 | 2021-09-28T12:23:14 | 288,732,068 | 4 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | ino | prog_03.ino | const int ENTRADA_1 = 3;
const int LED_1 = 13;
const int LED_2 = 12;
const int LED_3 = 11;
const int LED_4 = 10;
const int LED_5 = 9;
const int LIGADO = HIGH;
const int DESLIGADO = LOW;
//Variável global
int quantidade_de_acionamentos = 0;
void setup() {
//Configurar as entradas
pinMode(ENTRADA_1, INPUT);
//Con... |
fafe29bd5956f1d4cb29d15af1bb9a05a58b1f72 | 0ddab72dd0ddb5fc7cc0c1bfe85071d63bc5758e | /tsi.h | 7e3d9be9af178f11d9cd9959fb40e31739c33b64 | [] | no_license | dhrinch/LexAnalyser | bb6485ae78aa7a6dfaff0b863cee395720d82484 | 99f6c9aa51e0ffe437a3d3bb5e32ba4758f28088 | refs/heads/master | 2022-11-20T10:01:36.034509 | 2020-07-07T13:42:42 | 2020-07-07T13:42:42 | 277,206,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | tsi.h | #ifndef TSI_H
#define TSI_H
#include <string>
#include <vector>
using namespace std;
class TSI
{
vector<string>names;
public:
TSI();
void addLex(string lex){names.push_back(lex);}
int getSize() const{return names.size();}
string getLexByIdx(int idx) const;
int indexOf(string lex) const;
vo... |
b756dcf5027b4afeb03a2ab54e0f8407153ce429 | c8683218ba532188d0f42324c6da019468c43c11 | /practice/aoj/ALDS/1-8-B.cpp | 88d839f9eb0ec295c6245ec78c181546397f85aa | [] | no_license | minszszsz/algorithm | 0c91a3c0afbd385d8db59999ac67e948448ac7cc | 41ca7e1cea1272076900adb21fa03adc7da4b8a8 | refs/heads/master | 2022-04-17T19:58:51.347012 | 2020-04-12T10:33:11 | 2020-04-12T10:33:11 | 250,272,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,814 | cpp | 1-8-B.cpp | #include<iostream>
#include<cstdlib>
#include<cstdio>
#include<string>
#include<vector>
using namespace std;
struct Node{
int value;
Node *left;
Node *right;
};
struct Node *NIL;
class BinarySearchTree{
private:
Node *root;
public:
BinarySearchTree(){
root=NIL;
}
void insert(int value... |
b0279d1f945eaa93c66397f02263e9d952518aba | faad51c181c1ea6107b732a36ecd18b4b5fc5c32 | /thesis_skeleton_face/src/readDataSet.h | 7b7d74b6e79f9e99d4bccbe522a85b23d1078ede | [] | no_license | gharghabi/MEng_thesis | 35e2cdf0f4a90a7e4cb2d8dcbb2dd8492fa318d2 | 1eb1f0055f438946c6787b0e0c2e3beeb34b13bb | refs/heads/master | 2016-09-10T18:00:53.688684 | 2014-11-12T18:22:47 | 2014-11-12T18:22:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | h | readDataSet.h | #include "calc_features.h"
#include <boost/filesystem.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <boost/filesystem.hpp>
#include <pcl/io/pcd_io.h>
struct frameData{
cv::Mat RGBImage;
cv::Mat depthImage;
upperbodycore_msgs::Sk... |
be8bf9f223b7843c0213bddffea9e05d4997d3d0 | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/fluid/operators/gru_unit_op.cc | 3c8b2947e5fce846b3815adb1a3faead0b034631 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 13,083 | cc | gru_unit_op.cc | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
48090a8e66a2378c04bc15b6828bbf9da22d9bd3 | dd9b5bdca831aa90b6572a59d15a314230cd4e45 | /MaximumvalueofdifferenceofpairofelementsandtheirIndex.cpp | 8964d3cb2feeaaee22e826de008a10491d3c81f4 | [] | no_license | kishankr7979/CP | 62fdea662b391a132cdb2b55dc2a845e44790d53 | 150e304eea519a964d34e4e9ffd49cac5dad5198 | refs/heads/main | 2023-06-18T06:47:52.908559 | 2021-07-17T14:26:25 | 2021-07-17T14:26:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cpp | MaximumvalueofdifferenceofpairofelementsandtheirIndex.cpp | //Maximum value of difference of a pair of elements and their Index//Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function Template for C++
class Solution {
public:
int maxValue(int arr[], int N) {
// code here
int ans = 0;
for (int i = 0; i < N; i++)
{... |
1e5a98e087fd2a70b2f741fc10035c99c14db789 | 1a77e7343291fc894fc93a76132fb40b89210b2c | /src/symmetries.hh | 1a9f86144d5f6a3383b9ba60cf2aaa509a19249c | [
"MIT"
] | permissive | vincarlet/glasgow-subgraph-solver | d71af9f1f0025207fa1b74aeb51ca15f694ccb45 | 901e53f3be3bd1553430ada359d2628dbfdae790 | refs/heads/master | 2020-08-07T22:49:16.920252 | 2019-10-08T10:26:53 | 2019-10-08T10:26:53 | 213,611,647 | 1 | 0 | MIT | 2019-10-08T10:18:52 | 2019-10-08T10:18:51 | null | UTF-8 | C++ | false | false | 650 | hh | symmetries.hh | /* vim: set sw=4 sts=4 et foldmethod=syntax : */
#ifndef GLASGOW_SUBGRAPH_SOLVER_GUARD_SRC_SYMMETRIES_HH
#define GLASGOW_SUBGRAPH_SOLVER_GUARD_SRC_SYMMETRIES_HH 1
#include "formats/input_graph.hh"
#include <exception>
#include <list>
#include <string>
class GapFailedUs :
public std::exception
{
private:
... |
4a8cce9824084349ea07ce13b871f6abeb69c8aa | e18f125f6281c24ad302ef522f4092ca846d75e3 | /pickteam-c++/PickTeam.h | 6522ae14e87d3227bda48d812508cd110a082cf4 | [] | no_license | syed/tc | 0ac16cf95ee77bf2cfd873abe88cbe230ce5633c | 6bf1ef0ec865e3eb5fcd33c9fef12ade2fc00bf4 | refs/heads/master | 2020-04-08T06:19:39.349515 | 2013-12-29T07:17:52 | 2013-12-29T07:17:52 | 3,890,080 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | h | PickTeam.h | #include <algorithm>
#include <iostream>
#include <map>
#include <numeric>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <cstdio>
#include <cstring>
using namespace std;
#define FOR(i,s,e) for (int i = int(s); i != int(e); i++)
#define FORIT(i,c) for (typeof((c).begin()) i = (c).begin(... |
e98db81a2dfdb3efc8a80b409ec15f5554878bc6 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/snapin/framewrk/inc/stddtobj.cpp | 5ec9225f9f21ac54c272eeab384ffa1c4ea5f99c | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 729 | cpp | stddtobj.cpp | // StdDtObj.cpp : Implementation of DataObject base classe
#include "stddtobj.h"
CDataObject::~CDataObject()
{
}
// Register the clipboard formats
CLIPFORMAT CDataObject::m_CFNodeType =
(CLIPFORMAT)RegisterClipboardFormat(CCF_NODETYPE);
CLIPFORMAT CDataObject::m_CFNodeTypeString =
(CLIPFORMAT)RegisterC... |
4cb85fe1ae1cf8edc2fc6111bce0d35515fb9f49 | 2358915cdf73f332bacf1096e88205163fdcc40d | /footballTest/FibTest.cpp | 1d9bd363b62a6a0a2278dc2f4e6077088099a069 | [] | no_license | richfox/Dortmund | e4fe55d4a10f50de4af9f2999549941d2b93cfd2 | cfc15a4b47adea7b3b4e5523fcc6fc34cc626467 | refs/heads/master | 2023-09-01T17:28:27.387610 | 2023-08-23T13:43:27 | 2023-08-23T13:43:27 | 92,736,298 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | cpp | FibTest.cpp | //########################################################
//## ##
//## Author: xfu ##
//## E-Mail: tech@zhongwenshu.de ##
//## ##
//#######################... |
a1b0b1ef381ce7ee6133573e5368495c14e09e5e | 5c93333a71b27cfd5e5a017f29f74b25e3dd17fd | /TopCoder/Div 2/SquareOfDigits.cpp | 94195ef477e992b11452c59dd2e68ee581dcc0e6 | [] | no_license | sktheboss/ProblemSolving | 7bcd7e8c2de1f4b1d251093c88754e2b1015684b | 5aff87cc10036a0e6ff255ae47e68a5d71cb7e9d | refs/heads/master | 2021-05-29T03:29:28.980054 | 2015-03-11T10:06:00 | 2015-03-11T10:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cpp | SquareOfDigits.cpp | // TC SRM 439-D2-1 Points=117.3 of 250
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
using namespace std;
class SquareOfDigits {
public:
int getMax(vector <string> data){
int Max =1;
string cur;
int diff=0;
for(int i=0; i<data.size(); i++){
cur = data[i];
... |
14765a78972a44c8e176fcdb5f525c080855efdc | 993cdbf580320ee6801154102f1f7952f79e195d | /hprose/writer.h | 52ed0029be67e14614f20004cf4548223be6bcc7 | [
"MIT"
] | permissive | hprose/hprose-phpcpp | 0dc1f40fd54561789e1ab2adacce8b6f1a8a7f0e | c53c4f71ac5d4f3f2b165f708a9e624d937a7c8f | refs/heads/master | 2023-05-30T03:32:00.625220 | 2015-03-21T05:48:21 | 2015-03-21T05:48:21 | 21,139,935 | 15 | 4 | null | 2014-10-20T12:47:35 | 2014-06-23T19:47:55 | C++ | UTF-8 | C++ | false | false | 21,520 | h | writer.h | /**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... |
7de84ab2c4ccaa56f08c30d23d51cd7a6e6f9db5 | c977b63a9284bae21ff70f4015881fc78b0752c9 | /chapter5/liurujia-solution/chapter5/printer-queue/main.cpp | 808a89e67a54513bdde33ba62dc6ab241f847c83 | [] | no_license | fogsail/solution-to-ICPC | 32e7946371f2ec80a1787d46b74e30b2fc648f31 | 20680db9d0c23ce33a9e76970b982cfa3b0ea8b2 | refs/heads/master | 2021-07-16T20:01:51.880864 | 2020-07-18T12:44:45 | 2020-07-18T12:44:45 | 188,792,479 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | main.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cstdlib>
#include <queue>
using namespace std;
int readint(){
int x; scanf("%d",&x); return x;
}
const int maxn = 130;
const int maxp = 10;
int priority[maxn],pcnt[maxp];
queue<int> q;
int n,m;
void init(){
while(!q.empty... |
56a503243c7abbc815cb2de9daaaaf61d86a4ee9 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/chrome/browser/interests/interests_fetcher_unittest.cc | f015810e3fb03e78e6c65b27e93e658ca88d22a3 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 6,441 | cc | interests_fetcher_unittest.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 "chrome/browser/interests/interests_fetcher.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "ba... |
4af60e3ed7cdf6bb59f3a3968777ef4405346786 | 41d772203dee3172340749995bfbb12d7564d348 | /include/inversion/ToleranceChoice.h | 39f57e458b83671dfe1370f6ad2737a62fa77e82 | [] | no_license | thiesgerken/wavepi | d394ae3b1156e4b50afa7ac6226897b945377a42 | 5af37946dcc1910ad1cccdc76d2e2f546eeafec4 | refs/heads/master | 2023-03-21T06:45:25.333474 | 2021-03-10T21:37:37 | 2021-03-10T21:37:37 | 346,441,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | ToleranceChoice.h | /*
* ToleranceChoice.h
*
* Created on: 26.07.2017
* Author: thies
*/
#ifndef INCLUDE_INVERSION_TOLERANCECHOICE_H_
#define INCLUDE_INVERSION_TOLERANCECHOICE_H_
#include <deal.II/base/parameter_handler.h>
#include <vector>
namespace wavepi {
namespace inversion {
using namespace dealii;
class ToleranceCho... |
c461c271f1ace0b039c839b654e7d538532e2758 | 3813f47d927fb0c7c6f2d56308eaad0549a698eb | /V3 - Big Numbers - Operators + Extra/POO- Proiect 2- Numere mari- Clase/Addition + Substraction.h | fb26dc2078d1b9428b460d21cb13513966d19bee | [] | no_license | IoanaToma/BasicCalculator-BigNumbers | c117355a598540ad274173066d5376a4d15dad7a | b8b2caa2739456a795156cd33e77430b3be406f5 | refs/heads/master | 2021-01-01T04:05:07.227490 | 2016-04-30T17:04:45 | 2016-04-30T17:04:45 | 57,452,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,609 | h | Addition + Substraction.h | //
// Addition + Substraction.h
// POO- Proiect 2- Numere mari- Clase
//
// Created by Ioana Toma on 24/03/14.
// Copyright (c) 2014 Ioana Toma. All rights reserved.
//
#include <iostream>
#include <fstream>
using namespace std;
//suma se face plecand de la cifra unitatilor
void BigNumber::sum (BigNumber FirstNr... |
8ed0def4f77778ed2d38fe88224e5141e8a5db71 | 10742a27296b2c886ff447826858852da758a857 | /src/reranker/candidate-set.H | c1ec2d4ba74742c93cb0164d6198705dd148287a | [
"BSD-3-Clause"
] | permissive | alshamiri5/refr | cfb6a5a19112eccf8faa786d6a72e833edd00123 | 1db7e8cc53f9f245d0e24144c33599e980fa5d4c | refs/heads/master | 2020-09-07T15:17:40.335609 | 2015-04-22T00:37:17 | 2015-04-22T00:37:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,625 | h | candidate-set.H | // Copyright 2012, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditi... |
19d5c92ee84b846b9c544fd50b4e4ec8be9f8475 | 7b216079d6a97057f072f50dfea528a3162572c0 | /ED1I3/ex18-09-20.cpp | ef225ce044b693940334bbd5ddf75c730683c77b | [] | no_license | PedroPaulo-Faria/IFSP | 39a0b0eb29aa3b2d0d5c674d801e13ecba8b0b38 | 43efbfee3a5a98b10422a85b9c07c1e5c68ed000 | refs/heads/master | 2023-01-09T04:26:56.469635 | 2020-11-12T20:23:13 | 2020-11-12T20:23:13 | 291,893,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,939 | cpp | ex18-09-20.cpp | #include <iostream>
using namespace std;
struct Funcionario
{
int prontuario;
string nome;
double salario;
struct Funcionario *prox;
};
Funcionario* init(){
return NULL;
};
int isEmpty(Funcionario* lista)
{
return (lista== NULL);
}
Funcionario* insert(Funcionario* lista,int p,str... |
9a7a00ea567a5bd54e84f80aa2939827e18c4c53 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/math/special_functions/sqrt1pm1.hpp | f61407f649c6d44848095f523119146c48bb14ef | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 77 | hpp | sqrt1pm1.hpp | #include "thirdparty/boost_1_58_0/boost/math/special_functions/sqrt1pm1.hpp"
|
4fb9014242ba419c21796f958f5f9b7f09f6ef43 | b6e8488c1fe0c0978f77dfebcd79c8c7779815bd | /os_Nitros/nitros/core/sem.hpp | 17c1d84db86efd2a8c41cbfd0c0497d6372d2ab9 | [
"MIT"
] | permissive | wolfram77/todo-avr-os | 2b1e121b212208d83f4702cd116e81ae71b11506 | 88fb0f8eb849cbe8f5b4d81216ea5cdfdc299a3c | refs/heads/master | 2023-06-08T16:16:15.715322 | 2020-05-02T19:37:25 | 2020-05-02T19:37:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | hpp | sem.hpp | #ifndef _CORE_SEM_HPP_
#define _CORE_SEM_HPP_
// Define
typedef word sempahore;
// Wait
void sem_WaitF(sempahore* sem)
{
task_Now->Block = sem;
task_Blk.Add((uint) task_Now);
}
#define sem_Wait(sem, ...) \
macro_Begin \
(sem)--; \
if((sem) < 0) \
{ \
sem_WaitF(&sem); \
task_Save(__VA_ARGS__); \
task_Block(); ... |
6f31da171ff2cd94b6be2ff5582710d028e32a70 | 37fd355d5d0b9a60e6c5799b029ef95eac749afe | /src/ldk/tools/InSequenceChecker.hpp | c3a06234623301e4b32798bb4e77731723f472e2 | [] | no_license | freiheitsnetz/openwns-library | 7a903aff2ad9d120d53195076d900bd020367980 | eb98600df8b0baca1d90907b5dd2c80c64ab9ffa | refs/heads/master | 2021-01-18T05:07:32.803956 | 2014-03-26T16:16:19 | 2014-03-26T16:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | hpp | InSequenceChecker.hpp | /******************************************************************************
* WNS (Wireless Network Simulator) *
* __________________________________________________________________________ *
* *
... |
cdd14d09372b5031dfdffce8106886842e8ebeff | 56a77194fc0cd6087b0c2ca1fb6dc0de64b8a58a | /applications/PfemFluidDynamicsApplication/pfem_fluid_dynamics_application.cpp | 647542fa32f4daa70b7d46bbdb82e63bbb77041a | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | KratosMultiphysics/Kratos | 82b902a2266625b25f17239b42da958611a4b9c5 | 366949ec4e3651702edc6ac3061d2988f10dd271 | refs/heads/master | 2023-08-30T20:31:37.818693 | 2023-08-30T18:01:01 | 2023-08-30T18:01:01 | 81,815,495 | 994 | 285 | NOASSERTION | 2023-09-14T13:22:43 | 2017-02-13T10:58:24 | C++ | UTF-8 | C++ | false | false | 29,824 | cpp | pfem_fluid_dynamics_application.cpp | //
// Project Name: KratosPfemFluidDynamicsApplication $
// Created by: $Author: JMCarbonell $
// Last modified by: $Co-Author: $
// Date: $Date: February 2016 $
// Revision: $Revision: 0.0 $
//... |
4fb6a7f1b7230907f9ba02de02aa059f558bd5a4 | d705efe198924c605d31e079dcaab483140c5e56 | /IT 111 - Programming 1/letter grade.cpp | d9ebbce23569a9827089104d72198bc5e9be0706 | [] | no_license | rjxircgz/programming | 5ccc6dbf76ea1199c7981ae94cc48a833c111fee | b761d3e9788c26127c4bbb7673b065f5fab0d416 | refs/heads/master | 2021-01-10T05:13:09.535360 | 2016-03-22T00:56:22 | 2016-03-22T00:56:22 | 54,433,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | letter grade.cpp | #include <stdio.h>
void main()
{
int grade;
printf("enter grade\n");
scanf("%d",&grade);
if (grade<=100 || grade>=90)
{
printf("letter grade is A\n");
}
if (grade<=89 || grade>=80)
{
printf("letter grade is B\n");
}
if (grade<80)
{
printf("the student bogo\n");
}
} |
71a4b874fe1eef33909779e5d78dac89a404471c | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/DIALineNumber.cpp | 3af02ea36c7ba44d711965046d885d7266e189a1 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 2,297 | cpp | DIALineNumber.cpp | //===- DIALineNumber.cpp - DIA implementation of IPDBLineNumber -*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
7cec02234d04259c76a0df5975f2c2419c2a51d8 | 7dc3648dca4bd22c3ac5a59c96687fc8baf72d02 | /APro4/examples/cbuilder/exanswe0.cpp | 9609ae1178e0598c4e1686d5bdf742f105405b90 | [] | no_license | bravesoftdz/work | 53fd5aa2baa79751b32645557352a0af262e8c76 | c9d1bc8645dced6db136b50fe0ec80743a1adb3c | refs/heads/master | 2020-03-25T10:21:18.478804 | 2018-08-04T18:12:56 | 2018-08-04T18:12:56 | 143,691,114 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,703 | cpp | exanswe0.cpp | // ***** BEGIN LICENSE BLOCK *****
// * Version: MPL 1.1
// *
// * The contents of this file are subject to the Mozilla Public License Version
// * 1.1 (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.mozilla.org/MPL/
// *
// ... |
e00cab21f54735c3580443115d3b17a34966a389 | 0adc8fff0bf3051144687bff4abaa319f631c027 | /examples/LoRaDumpRegisters/LoRaDumpRegisters.ino | fe1aa63f79d821151591514e97c58490c82e3f51 | [
"MIT"
] | permissive | f4goh/arduino-LoRa | 3cc6495b56821d88cb68a2d902335f4abb64dacc | 5178191991e81ed18fa4daa2bcad6e0d7cc00e28 | refs/heads/master | 2020-03-07T14:46:25.665775 | 2018-03-31T14:50:59 | 2018-03-31T14:50:59 | 127,535,267 | 1 | 0 | MIT | 2018-03-31T13:39:17 | 2018-03-31T13:39:17 | null | UTF-8 | C++ | false | false | 1,308 | ino | LoRaDumpRegisters.ino | /*
LoRa register dump
This examples shows how to inspect and output the LoRa radio's
registers on the Serial interface
*/
#define RADIO_RESET_PORT PC_0
#define RADIO_MOSI_PORT PA_7
#define RADIO_MISO_PORT PA_6
#define RADIO_SCLK_PORT PB_3
#define RADIO_NSS_PORT PA_15
#de... |
3d98f44ff9ebd8a52a5ac88c9d48dae3364dac14 | e922f9dd851d17057a208fd45570cc4849c2c1cc | /Set 8/A8/Bubble.cpp | 6df121fc1b1777dfa225659134a25ad2d0535737 | [] | no_license | rocketminer24/CSCI-261 | 86c7ce33c9a94cda8f16e5c2860eb05a79058c88 | 59d22422b39087a885339ac5e3e45207d85e747f | refs/heads/master | 2020-05-31T03:14:21.441654 | 2019-06-04T02:05:34 | 2019-06-04T02:05:34 | 190,078,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,025 | cpp | Bubble.cpp | //
// Created by Jarod Spencer1 on 2019-04-27.
//
#include "Bubble.h"
using namespace std;
//default constructor
Bubble::Bubble() {
myBubble.setRadius(radius);
myBubble.setPosition(xPos,yPos);
myBubble.setFillColor(Color::White);
xDir = 0.1;
yDir = 0.2;
}
//function initializes a Bubble objec... |
09fe7fa9c2d960a61dd7fd6f5a37ecc013bf45be | 1ed046feef46d52738a8c9a987f7daf5e0af997a | /sdk/storage/azure-storage-queues/test/ut/queue_client_test.cpp | 86a598fc2315928fa52285c37751d7fb40d870b6 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"BSD-3-Clause",
"curl",
"LGPL-2.1-or-later",
"Apache-2.0"
] | permissive | Azure/azure-sdk-for-cpp | 72809cf59d2a6f262a6dd01d6f78661f81e70b93 | dd236311193c6a3debf3b12c47f14e49a20c72c7 | refs/heads/main | 2023-08-25T11:57:56.773041 | 2023-08-23T23:33:32 | 2023-08-23T23:33:32 | 233,147,271 | 159 | 134 | MIT | 2023-09-14T21:25:14 | 2020-01-10T23:29:08 | C++ | UTF-8 | C++ | false | false | 8,598 | cpp | queue_client_test.cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "queue_client_test.hpp"
#include <chrono>
#include <thread>
namespace Azure { namespace Storage { namespace Queues { namespace Models {
bool operator==(const SignedIdentifier& lhs, const SignedIdentifier& rhs)
{
return lhs.I... |
3cbb8ab9d8e763318e62fd7cbc9f1bd3bc919434 | 360835b2f5963d0ced8725eee09b08680bd44217 | /Examen _1/mainwindow.cpp | 6170219eff5184e22f71347aa832fc25f8e1cc8a | [] | no_license | jorvasquez/Examen-1-Estructuras | 808ff3cb8cd6f2b327760845d32a401b5adaaba8 | 44becbd7c6055f886f9b438b7f51ec5cfc3f14f5 | refs/heads/master | 2020-03-31T20:38:33.829357 | 2018-10-11T14:28:59 | 2018-10-11T14:28:59 | 152,548,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,718 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->lineEdit->setText(intToQString(getPresicion()));
}
MainWindow::~MainWindow()
{
delete ui;
}
int MainWindow::getPresicion(){
return ... |
457d12b2945c1e4df16de273b69c8f7beabf2f0c | 2d9d555c3369cca1be12432dddb1db734ff326e3 | /HeapMin.cpp | 862e8550c420a97c42e82c022a2c3bb7d28a8709 | [] | no_license | mmatuk/Minimum_Spanning_Tree | 98f32672ae60bbe8851e3ffcccb5455f2d571f7a | b0925caedeca82036f8e6786395fbb2e65d83f5e | refs/heads/master | 2021-09-09T09:49:12.211999 | 2018-03-14T21:43:37 | 2018-03-14T21:43:37 | 116,510,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,268 | cpp | HeapMin.cpp | //*******************************************************
//Author: Matt Matuk
//Created: 09/07/2017
//Source File: Heap.cpp
//Description:
//
//Editor: Emacs
//*******************************************************
#include <iostrea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.