blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43e87733b8647bce65bc5da5637b6c6b57038418 | 8bc3a5b243ce9db4c2aa7e05d0df503e81fff2f4 | /F746_controller/Src/Flash.cpp | ef536eca8d407b99e836dbfda7cd234c1057fe0e | [] | no_license | yasuohayashibara/STM_BLDC_Controller_Ixion | 13f8a3ab9dbe002081f7f39395fcbb4e4cbd9e56 | 25c789c2c4d5b689b54fd855debca02c9988fb56 | refs/heads/master | 2020-03-13T14:01:33.438992 | 2018-06-21T04:33:56 | 2018-06-21T04:33:56 | 131,150,255 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,327 | cpp | #include "Flash.h"
typedef struct {
uint32_t base_address;
uint32_t sector_size;
uint32_t sector_count;
} flash_layout_t;
#define FLASH_FLAG_PGSERR FLASH_FLAG_ERSERR
static const flash_layout_t flash_layout[] = {
{ 0x08000000, 0x08000, 4 },
{ 0x08020000, 0x20000, 1 },
{ 0x08040000, 0x40000, 3... | [
"yasuo.hayashibara@it-chiba.ac.jp"
] | yasuo.hayashibara@it-chiba.ac.jp |
b29bc8b4aa5738170232d09844abeca81ee18b95 | 67f988dedfd8ae049d982d1a8213bb83233d90de | /external/chromium/chrome/browser/extensions/extension_sorting_unittest.cc | dfee25dd469238cbf78d681f583e8c873bd962fa | [
"BSD-3-Clause"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 38,340 | cc | // Copyright (c) 2012 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/extensions/extension_sorting.h"
#include <map>
#include "chrome/browser/extensions/extension_prefs_unittest.h"
#include "ch... | [
"rjogrady@google.com"
] | rjogrady@google.com |
f2eb6dadf6d52a0fbbb57287d96d1c4140932eb2 | 88e364025c322b88882efb51f5da16f1274ac15a | /acm/118.cpp | fa1e7e3ee229046e924c7872a7e706b8676d96fa | [] | no_license | koukaipan/problem_solving | b3613db330841e33965b7d621a752a8a96e1e0a9 | c71da70f538401c7282352d84ad63d58db184ae7 | refs/heads/master | 2022-06-22T00:49:07.308185 | 2022-05-15T07:47:21 | 2022-05-15T07:47:21 | 195,614,818 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 1,553 | cpp | #include <stdio.h>
#include <string.h>
#define NORTH 0
#define EAST 1
#define SOUTH 2
#define WEST 3
#define MAX 51
main()
{
int up_bound, right_bound;
bool map[MAX][MAX];
bool lost;
char a, b, i;
int dir;
char command[102];
int x, y; /* current position */
const int move[4][2] = {{0,1}, {1,0}, {0,-1}, {... | [
"yingshiuan.pan@gmail.com"
] | yingshiuan.pan@gmail.com |
1f0b7f7d7cf44c89bfa2c79b3d391bfb2922ddff | 295d1036365e1bc9625c68b633808daec19d9a72 | /Section_4/Sample/src/main.cpp | c4b79d021ca185ed800a3ac1e8f82c502dd03e8d | [] | no_license | Cancain/udemy_CPP | e99a61cf9a52799670584c158623c166fb83110b | eff944ce3810c106e4367f50075d310e08cce56b | refs/heads/master | 2020-12-05T10:12:06.354011 | 2020-06-30T18:17:20 | 2020-06-30T18:17:20 | 232,076,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | #include <iostream>
int main(){
std::cout << "Hello World"<< std::endl;
return 0;
} | [
"eriksson.tomas@gmail.com"
] | eriksson.tomas@gmail.com |
bf44843a478accaa233b2ef33c38a15ca2b383e0 | a8cfc37654d98793bb6c9f8ed4ff1b750791d4d8 | /sofa-pbrpc/perf/client_continuous.cc | 0fbb7ef555dfdf84dd0032c0003b4e452d5e4ee1 | [] | no_license | qinzuoyan/sample | 28ae78492fee7b6da0fb3a5bec8b02387e657c2a | fda2217e6284bfe1b8fec7c9f232ddf1843a3f36 | refs/heads/master | 2021-01-01T20:10:37.708010 | 2015-04-21T13:01:26 | 2015-04-21T13:01:26 | 33,721,235 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,941 | cc | #include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <toft/system/atomic/atomic.h>
#include <toft/system/time/clock.h>
#include <toft/system/threading/this_thread.h>
#include <sofa/pbrpc/rpc_client.h>
#include <sofa/pbrpc/rpc_channel.h>
#include <sofa/pbrpc/rpc_controller.h>
#include <sofa/pbrpc/rpc_erro... | [
"qinzuoyan@gmail.com"
] | qinzuoyan@gmail.com |
93e8bdf17c6cdf537cfdd48b255e3b6d0c76497a | e62436e57c4b7db368cb47b3434ff342a39e6a85 | /Kattis/bees.cpp | e93151097274bdb7eb7df3ca9ae0c8b1b2528de2 | [] | no_license | JuanDiazDev/Solutions | 7bcec667336a73ff6a6926e03490bf73a5f400bd | 6f5224b2d1cefd5f1ed7544e686b07cd46fe7d09 | refs/heads/main | 2023-07-11T19:49:32.651746 | 2021-08-17T05:24:59 | 2021-08-17T05:24:59 | 304,709,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include<iostream>
#include<cmath>
using namespace std;
void bees(float d, int s){
if(d == 0 && s == 0)
return;
float arr[s][2];
short int array[s];
float input;
for(int i=0;i<s;i++)
array[i] = 0;
for(int i=0;i<s;i++){
for(int j=0;j<2;j++){
cin >> input;
arr[i][j] = input;
}
}... | [
"noreply@github.com"
] | noreply@github.com |
dfd4d2a4c3275b1edcfc27bf2c8cb7d53d282cf9 | 3471d77b185b2cbc9f7717388aeb7c42bfb43126 | /libc/misc/mntent.cc | dc326f45fd74c53e04310c76780fb0da697f9ee9 | [
"BSD-3-Clause"
] | permissive | vladzcloudius/osv | fbcfcd016aa6625aa817a7466b3df1865d571781 | d511e6c091b6de11aa3bb6b16a4c41dbbe2e56fc | refs/heads/master | 2021-01-10T21:18:54.769543 | 2014-06-23T12:28:31 | 2014-06-25T07:25:08 | 17,629,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,715 | cc | #include <stdio.h>
#include <string.h>
#include <mntent.h>
#include <errno.h>
#include <osv/mount.h>
FILE *setmntent(const char *name, const char *mode)
{
if (!strcmp(name, "/proc/mounts") || !strcmp(name, "/etc/mnttab") || !strcmp(name, "/etc/mtab")) {
if (strcmp("r", mode)) {
return nullptr;
... | [
"penberg@cloudius-systems.com"
] | penberg@cloudius-systems.com |
ce4b6609196857c02e78c7e23d5c5f665759e74a | 3487f249665f096de6c42eda99bc3da3398bb547 | /old/gfg/print-this-pattern.cpp | 9e2ac0daf37bb4a7433af1b817c183351ceb4a1a | [] | no_license | hthuwal/competitive-programming | 74489181774b4746234a62fe217ac539b2e1704e | 65efdd8b90afd3895f734e204b9a4689de3eb810 | refs/heads/master | 2023-08-31T04:18:37.525826 | 2023-08-30T20:28:10 | 2023-08-30T20:28:10 | 133,988,036 | 5 | 2 | null | 2020-10-15T17:58:15 | 2018-05-18T18:02:05 | C++ | UTF-8 | C++ | false | false | 749 | cpp | /*
https://practice.geeksforgeeks.org/problems/print-this-pattern/0
*/
// Why is pattern printing cumbersome
#include<bits/stdc++.h>
using namespace std;
void print(int i, int n)
{
for(int j=0;j<n;j++)
printf("%d", i);
}
int main()
{
int t,n;
for(scanf("%d", &t); t--;)
{
scanf("%d", &n);
for(int i=0;i<n;... | [
"hthuwal@gmail.com"
] | hthuwal@gmail.com |
ccd91a382c6ba433605b3bd3588cc9d42d73bf93 | 2dc7c04bf11ff5206d9aafc1c22aa657a1d0c72e | /MidiNoteTeensy/MidiNoteTeensy.ino | 50732440c2320e20e7317bd13c00282a4cefc3d6 | [] | no_license | libbyodai7/SoundplayTeensyCode | 4ed323593c25ba5af6faee27b775a0c90e49be10 | 1438036c8425672893d6ff36f17de33aa8677478 | refs/heads/main | 2023-07-09T10:15:00.182568 | 2021-08-20T15:57:22 | 2021-08-20T15:57:22 | 398,262,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | ino | #include <HCSR04.h>
const int channel = 3; // change channel valure here
float data;
float minimumDistance = 2.0; //change minimum distance here (cm)
float maximumDistance = 70.0; //change maximum distance here (cm)
byte current_value;
byte previous_value;
const int controller = 24; // change controlller value here
... | [
"lydiaodai7@gmail.com"
] | lydiaodai7@gmail.com |
cd0870590325d8948b7f2727275b40d24cbb8555 | ea96b94077ca4dee5a15035e91f7a391a77de288 | /src/main/ConstantSpeed.ino | 8421e4f1b77e0982548be7b29e3f1b94d364ac06 | [] | no_license | raejeong/GittyFirmware | 2ebede81ecba4f1951520388ef5b4625baadf2a2 | c6ab4b15875cbcfcb3a535fee09fbb05d18ad6aa | refs/heads/master | 2020-12-03T02:11:17.656097 | 2017-08-09T23:03:17 | 2017-08-09T23:03:17 | 95,914,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | ino | // ConstantSpeed.pde
// -*- mode: C++ -*-
//
// Shows how to run AccelStepper in the simplest,
// fixed speed mode with no accelerations
// Requires the Adafruit_Motorshield v2 library
// https://github.com/adafruit/Adafruit_Motor_Shield_V2_Library
// And AccelStepper with AFMotor support
// https://github.com/ad... | [
"rae.jeong@istuary.com"
] | rae.jeong@istuary.com |
920825dbff3f7b4d987ecb1f95b390dd9d31e4f2 | 162a3db1eb6017a94e9f378d7a20f61e581ecbe9 | /src/chrome/browser/renderer_context_menu/render_view_context_menu.cc | b4340568017d9750a19a40e91743578b4b3b77c8 | [
"BSD-3-Clause"
] | permissive | webosose/chromium84 | 705fbac37c5cfecd36113b41b7a0f4e8adf249d5 | 5decc42bef727dc957683fb5d8fa2fcc78936f15 | refs/heads/master | 2023-05-29T13:53:50.190538 | 2021-06-08T07:56:29 | 2021-06-10T01:19:24 | 330,895,427 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 119,736 | cc | // Copyright 2014 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/renderer_context_menu/render_view_context_menu.h"
#include <stddef.h>
#include <algorithm>
#include <set>
#include <utility>
#... | [
"youngsoo.choi@lge.com"
] | youngsoo.choi@lge.com |
89d65a5e698cd5a59d53b8f51e645fe84b26bfa2 | 37456d03c7dfa4720fde33c239b370a05c5b58e4 | /fherenhite_to_calcious.cpp | 7e5a3810861a2f6bc5cecbb3496b8d17e2e3b95b | [] | no_license | mohibul2000/MY_PROJECTS | d3fc1b9afc8fa1c2d58e9f391a0b8eb16be62d5f | dddb15956e49be51b74ba2f56e1fc8c5f22c79f6 | refs/heads/master | 2023-07-10T03:17:16.254476 | 2021-08-08T03:44:55 | 2021-08-08T03:44:55 | 271,186,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include<stdio.h>
#include<math.h>
int main()
{
int c,f;
printf("enter the celcius temp:...");
scanf("%d",&c);
f=(9*c+160)/5;
printf("changing temparature is:%d",f);
printf("enter the fher temp:...");
scanf("%d",&f);
c=(5*f-160)/9;
printf("changing temparature is:%d",c);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
dee563ad7c20e8cd590123e9df66bda650d56c18 | 31aa0bd1eaad4cd452d0e2c367d8905f8ed44ba3 | /algorithms/numberOfStepsToReduceANumberToZero/numberOfStepsToReduceANumberToZero.cpp | 173dfb58c01b401c363312a0a7ac320defe2726e | [] | no_license | Sean-Lan/leetcode | 0bb0bfaf3a63d483794a0e5213a983db3bbe6ef6 | 1583c1b81c30140df78d188c327413a351d8c0af | refs/heads/master | 2021-04-19T02:49:33.572569 | 2021-01-04T01:40:06 | 2021-01-04T01:40:06 | 33,580,092 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,660 | cpp | /**
*
* Sean
* 2020-03-30
*
* https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/
*
* Given a non-negative integer num, return the number of steps to reduce it to zero. If the current
* number is even, you have to divide it by 2, otherwise, you have to subtract 1 from it.
*
* Example 1:
... | [
"xiang.lan@airbnb.com"
] | xiang.lan@airbnb.com |
99f96787e8ae0bdbee079ada0c3907bc43eff224 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_calloc_61b.cpp | 20fdd05c96be1321d78ffc9e25646394063cac52 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 1,625 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_calloc_61b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-61b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management ... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
ccee03298db69d3b692f8b36bc4921d4b5321346 | 69d7f930b7c19adb564d3f41e584c1d74cf80bd4 | /src/test/rpc_tests.cpp | 89a822dba3c23130ca7e1f7a0771453756dfbd43 | [
"MIT"
] | permissive | markus901/goacoin | 763ffacd8898e4f096f8cc18945b8b9657b1f0f7 | 0f7723dadbaab15d37b9012bc567bb44b891c147 | refs/heads/master | 2021-05-14T16:17:07.164520 | 2017-12-16T13:32:52 | 2017-12-16T13:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,692 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "rpcclient.h"
#include "base58.h"
#include "netbase.h"
#include "test/test_goacoin.h"
#inc... | [
"goacoincore@gmail.com"
] | goacoincore@gmail.com |
be0e5d4c295965d691bee6026e61daa92f6e823f | fb1fc28ddce9e0092ecdce00340bbbc3f66b6ec5 | /d03/ex02/includes/FragTrap.hpp | 0bcf29144b600284e5d546f7a2b909e55573fe6d | [] | no_license | anstadnik/CPP_pool | a20b020433ea317938b3291b313444ca0303b6a3 | 0af45b506764fbadf8856b3562f66f8553d21fd7 | refs/heads/master | 2023-09-05T05:29:34.038747 | 2018-04-17T08:49:33 | 2018-04-17T08:49:33 | 428,276,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | hpp | #ifndef FRAGTRAP_HPP
#define FRAGTRAP_HPP
#include "ClapTrap.hpp"
#include <string>
class FragTrap: public ClapTrap
{
public:
FragTrap();
FragTrap(std::string name);
FragTrap(const FragTrap &src);
~FragTrap();
int vaulthunter_dot_exe(std::string const & target);
};
#endif
| [
"astadnik@student.unit.ua"
] | astadnik@student.unit.ua |
20cee0fcf765ef2e8fce476861f45259180af569 | e2eae3d94491b6c401aea5b7eb1a3d55efa6d650 | /Camera.cpp | 5ee91b8150666e02021603b9d2f8408f029cde43 | [] | no_license | jayong93/3DGameProgramming | 2df4cd865efbc8b78898d5dd48b6928eaf8fbd27 | e68f75ecc8a212991c26e8eedaff27b1a2b76bc6 | refs/heads/master | 2020-12-25T09:47:10.164070 | 2016-06-20T12:53:40 | 2016-06-20T12:53:40 | 60,511,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,288 | cpp | #include "stdafx.h"
#include "Player.h"
#include "Camera.h"
CCamera::CCamera(CCamera* cam) : player(nullptr), cbCamera{ nullptr }
{
if (cam)
{
position = cam->GetPosition();
right = cam->GetRightVector();
look = cam->GetLookVector();
up = cam->GetUpVector();
pitch = cam->GetPitch();
yaw = cam->GetYaw();... | [
"JaeYong Choi"
] | JaeYong Choi |
02647ce7cd0c30bc9770e1b19b902d8a3f2a3329 | c8dfc743c17411d30bbde1309505dd33baaddf7f | /fabrik/inc/fabrik/scene_manager.h | 889b9bcf92c41867f370142beba64089ae6a4313 | [] | no_license | OneManMonkeySquad/AWE | 2ba8d51c4a85f2bf868c895dc5898e980b13ff65 | e8b67f608e46956323a483d04de88de7e27047ff | refs/heads/master | 2021-12-23T16:23:24.826779 | 2021-10-30T13:19:35 | 2021-10-30T13:19:35 | 237,494,665 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h |
#pragma once
#include "scene.h"
class scene_manager {
public:
~scene_manager();
scene& create_scene();
scene& get_first_scene();
private:
std::list<std::unique_ptr<scene>> _scenes;
}; | [
"Oliver.Weitzel@auvesy.de"
] | Oliver.Weitzel@auvesy.de |
10707e593f38bfdb204a18104871db9a9f1aeda5 | e15138f99b5cb3ba82931c4b8db560d06916d1d6 | /Finger/FingerDlg.cpp | 0811f717df6fc6af7760b2685e9a9aa6927c20c1 | [] | no_license | xiaosonghao/fingerprint | 5b8042c782c36cc5fba39e311d67ad278b933023 | dc113da935f29226b578d4b038fcc322ac553b43 | refs/heads/master | 2022-12-20T05:43:53.421085 | 2020-09-12T19:09:59 | 2020-09-12T19:09:59 | 294,771,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84,921 | cpp | #define _CRT_SECURE_NO_DEPRECATE
#pragma warning(disable:4996)
//#define _CRT_SECURE_NO_WARNINGS
// FingerDlg.cpp: 实现文件
//
#include "pch.h"
#include "Resource.h"
#include "framework.h"
#include "Finger.h"
#include "FingerDlg.h"
#include "afxdialogex.h"
#include<io.h>//for filelength()
#include <iomanip>
#include... | [
"717977831@qq.com"
] | 717977831@qq.com |
76f2648cddfbf63264ecc98af30198ed42117c3b | 945bd8adda2ae1ec4b8b4df44dd9b581be75a40e | /Shared/CSuperInt.h | 57917778d814718383c22104fbde88064af3fcca | [] | no_license | Atrix256/SuperComp | 97c908dd3ee3e9471c4f7d0c624fd86548116334 | 3f8e7a73ad9de276be0824251d344a965a26e13b | refs/heads/master | 2021-05-01T01:20:23.661792 | 2016-04-21T03:26:59 | 2016-04-21T03:26:59 | 43,408,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,281 | h | //=================================================================================
//
// CSuperInt
//
// A superpositional integer, made up of a collection of superpositional bits.
// Uses two's complement.
//
//=================================================================================
#pragma once
#includ... | [
"alan.wolfe@gmail.com"
] | alan.wolfe@gmail.com |
0ae8d322647b6f34f1eb875692b946b247a539c4 | 4b40789003643e5875f55791526247e65887bc08 | /include/vulkan/vk_layer_utils.h | 762b0cf09c0f36fa00e2f7deb5b6d899828dda07 | [
"MIT"
] | permissive | Nebula4869/YOLOv5-ncnn-vulkan | 282abdbd21980447d0d8d3ff2996361129b79c29 | d8d637e546bc0f10f00a7c3bd8a44c31478fda8a | refs/heads/master | 2023-09-04T20:35:47.054582 | 2021-11-18T06:11:23 | 2021-11-18T06:11:23 | 302,849,512 | 19 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,152 | h | /* Copyright (c) 2015-2017, 2019 The Khronos Group Inc.
* Copyright (c) 2015-2017, 2019 Valve Corporation
* Copyright (c) 2015-2017, 2019 LunarG, 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 t... | [
"nebula4869@foxmail.com"
] | nebula4869@foxmail.com |
decd1647776cf5779c730b3c12684acc0ed2ba21 | fab4ad6ea1b3da746056422359690824351ba07e | /CODE/public/fileconfig/CService.cpp | 86d1c193dbd8ae87676177ed800e99ccd315373b | [] | no_license | hongdeyongying/lab_of_2012 | 455f55043513135eab556353c1655222e96ba285 | e79007912615cf0f5416255c39c972d4ede24cc4 | refs/heads/master | 2020-05-28T10:22:15.367241 | 2019-07-18T01:42:28 | 2019-07-18T01:42:28 | 188,967,041 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,983 | cpp | // *************************************************
// 创建日期: 2010-5-14
// 作 者:高勇 (gaussgao@tencent.com)
// 主要功能: 实现xml-like配置文件的读取。
// *************************************************
#include "CService.h"
static MyConfig::CVariable varBlank;
static MyConfig::CVariableVector varVectorBl... | [
"gaoyong@wucar.com.cn"
] | gaoyong@wucar.com.cn |
7c8b7593e8816b469099bc0343082f708084bca6 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chromeos/network/firewall_hole_unittest.cc | 66954a49728c5f40892683b7486c6a1cf8edd819 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,469 | 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 "chromeos/network/firewall_hole.h"
#include "base/bind.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "chrome... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
0ffc4b1e52e7dff21526419aeb93a5b6f88713aa | 0de01aa2c12704a893ad0e14db6df5caa774b519 | /5/Fourteens.cpp | b8df35f60e8e694445d85dbfec8a9592768654da | [] | no_license | baifengbai/learningCplusplus | 4fda87351c5400dec92167eafa4db282db666466 | 95a8dd8ea842051d6a631d959030b6e69195d347 | refs/heads/master | 2020-03-20T21:13:48.617533 | 2017-03-01T16:04:28 | 2017-03-01T16:04:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
int main()
{
int counter = 0;
int multiples = 0;
while (true)
{
counter++;
if (counter % 14 == 0)
{
std::cout << counter << " ";
multiples++;
}
if (multiples > 19)
{
break;
}
}
std::cout << "\n";
return 0;
}
| [
"liz@lizbaillie.com"
] | liz@lizbaillie.com |
8a430b53d089cd4fda40c5006c567aa0dbb3800f | 193f6b964b1a030d1e819ca4932fb2b829e2e41c | /DX11_1908/Objects/Particle/Spark.h | 089cc548de37493be35757e4cedcfbb47f368d53 | [] | no_license | fkem79/DX11_Team_HomeSweetHome | cef13f869bee16fb2bbfe401364a2d4293925b2f | 27b5b45ddcaaa407eb7e385f0ac63bdbd75c46e2 | refs/heads/master | 2021-05-18T20:34:29.754175 | 2020-05-10T16:37:20 | 2020-05-10T16:37:20 | 251,392,881 | 1 | 0 | null | 2020-05-08T12:57:25 | 2020-03-30T18:25:32 | C++ | UTF-8 | C++ | false | false | 932 | h | #pragma once
#include "Particle.h"
class Spark : public Particle
{
private:
struct VertexParticle
{
Float3 position;
Float2 size;
Float3 velocity;
};
class SparkBuffer : public ConstBuffer
{
public:
struct Data
{
float duration;
float time;
float gravity;
float padding;
}data;
SparkB... | [
"fkemless79@mju.ac.kr"
] | fkemless79@mju.ac.kr |
67241fbf5181a8b0f1ef63987284aa01ad14bde0 | d5e07d17d0947a3f4e17dbb0fb3574fb022727fe | /Module 6: Binary Trees/06 Challenge: Binary Tree Functions/main.cpp | d67fa0295fec50795a404bb76f298b84dcd3bfc8 | [] | no_license | Bradon-Barfuss/CS-2420-Advance-Data-Structures | c7dc31a05be235a340296e2cd02ae022338baea5 | bc0aa58a3bc0f125543986b1192c2750768c0332 | refs/heads/master | 2022-06-11T04:46:05.513240 | 2020-05-08T00:49:31 | 2020-05-08T00:49:31 | 258,636,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,366 | cpp | #include <iostream>
#include <string>
#include <memory>
#include "BinaryTree.h"
using namespace std;
bool checkTest(string testName, bool condition);
bool checkTest(string testName, int whatItShouldBe, int whatItIs);
void testFindMethod();
void testRightMostNodeSearch();
void deleteTest();
void testHeight();
void test... | [
"noreply@github.com"
] | noreply@github.com |
ad05f22d3bcc9b57e41574cd25b46e96478c84c4 | 748af756401482fffa192316daa9106a64d58c1b | /MOTORES.ino | 58a75d13e1b5fe35fd9a73df930c9d34ef5eb2bd | [] | no_license | AlanAlvarez21/projecto-mano- | 8b50b792dc0f99f55dade18c4952368bc54867cb | 6f5b58995487c47834c2a5103ba837342ab15840 | refs/heads/master | 2023-02-20T20:01:11.260719 | 2021-01-28T06:01:59 | 2021-01-28T06:01:59 | 333,639,260 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,917 | ino | #include <PIDController.h>
#include <EEPROM.h>
volatile long int encoder_pos =0 ,encoder_pos1 = 0;
PIDController pos_pid;
PIDController pos1_pid;
int motor_value = 255;
#define EEPROM_SIZE 1
int lastpost=0,lastpost1=0;
unsigned int integerValue=0; // Max value is 65535
char incomingByte;
void setup() {
Serial.begin... | [
"olin@Olin-Cacas"
] | olin@Olin-Cacas |
cb0b9b22bd97c946ecd02e9baf5959e2cb9d9a91 | 091137901d29704d753d0a493c74e7863cb5ef25 | /src/Evento.hpp | 7cd3441dadcc52978afdded527e92d77a1da36ec | [] | no_license | spimpaov/Simulador-AD | dd5ed0dcfa372f7357b5331965c28f5d8466638a | ea4b5f049c4ec78b7f39b7198c7f6b1cf7a78f23 | refs/heads/master | 2020-08-01T21:17:31.276452 | 2019-07-12T10:34:06 | 2019-07-12T10:34:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | hpp | #ifndef EVENTO
#define EVENTO
#include<iostream>
//Temos dois tipos de eventos: A chegada na fila e a saída da fila
enum class TipoEvento{
CHEGADA, SAIDA
};
class Evento {
public:
//Tempo em que o evento ocorreu
double TempoOcorrencia;
TipoEvento Tipo;
Evento(TipoEvento tipoEve... | [
"lucascmgsds@gmail.com"
] | lucascmgsds@gmail.com |
3f792fd94ce2b30913a9f48d2341f1fe4bf6aa0d | dadb31512584bdd65f4cd4b2810b0775e2e3cfae | /engine/renderers/opengl/OpenGLMaterial.h | e78342727fa7f8510457024682c2994328e704d4 | [
"Apache-2.0"
] | permissive | fromasmtodisasm/AeonEngine | c1796d70bc44a5073c4c4b623ab7db416cbf85c3 | bb872e66ba76de41980d19c70becc8988d5b7490 | refs/heads/master | 2023-03-20T17:00:30.016264 | 2021-03-15T17:55:32 | 2021-03-15T18:03:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,683 | h | /*
Copyright (C) 2016-2019 Rodrigo Jose Hernandez Cordoba
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | [
"kwizatz@aeongames.com"
] | kwizatz@aeongames.com |
78359cff351acbd10a83e950c1cd71d79e696b7d | 3f370809633ba7914212247bd5bb3d6800481949 | /source/common/http/http2/metadata_encoder.h | e1d249c33d8a88504476f4a3d681a9e7e249e0d6 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | aschran/envoy | 166290b4fd7c820ebf53d437b8ccf4b1567521b5 | 40b5f2ec4e202ac7607405e4785b0afe495ca320 | refs/heads/master | 2020-04-02T19:32:35.557115 | 2018-10-25T22:32:44 | 2018-10-25T22:32:44 | 154,737,561 | 1 | 0 | Apache-2.0 | 2018-10-25T21:05:37 | 2018-10-25T21:05:37 | null | UTF-8 | C++ | false | false | 2,747 | h | #pragma once
#include <cstdint>
#include <string>
#include "common/buffer/buffer_impl.h"
#include "common/common/logger.h"
#include "common/http/http2/metadata_interface.h"
#include "nghttp2/nghttp2.h"
namespace Envoy {
namespace Http {
namespace Http2 {
/**
* A class that creates and sends METADATA payload. The ... | [
"mklein@lyft.com"
] | mklein@lyft.com |
33de8e5036b10868963ff5923f5d8e563a5d6851 | f73092776c4481a2a9705eac4ca7d48447d33f77 | /src/getuntil.cpp | 69c2e1dd4f368fbd7309db3f5758c4c6956ef627 | [] | no_license | oki-miyuki/pop3lib | 51348418492b051bb18890a6de4004e31eeb6817 | bbd1d988672754dc08509f93f58b49fa27040b8f | refs/heads/master | 2020-05-23T08:11:00.844145 | 2016-10-08T02:16:36 | 2016-10-08T02:16:36 | 70,296,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | cpp | //
// 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)
//
// Copyright (c) 2007-2009 OKI Miyuki (oki.miyuki at gmail dot com)
//
//---------------------------------------------------------------------------
// sa... | [
"oki.miyuki@gmail.com"
] | oki.miyuki@gmail.com |
e101f870f06ace504e831212bb7a67f15ce37918 | 4059c61ec0d96e66c4bb8ef8b9f5596bf3772ffa | /src/OPSLC/DescriptorSetParser.h | 6f5c7565a7b500f0e91cd1aae2de2f80e5ccf07c | [] | no_license | JeremiahGilbert/OPSLC | 49d5676d705bc1df7d47d4f15e008fac722dce67 | aee3b8ff4fdbaa6cd4baacfbaefdf14494378873 | refs/heads/master | 2023-04-02T13:18:52.474652 | 2021-03-18T23:01:52 | 2021-03-18T23:01:52 | 251,085,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #pragma once
#include <vulkan/vulkan.hpp>
#include "opsl.h"
#include "GLSLTypes.h"
#include "ParserTypes.h"
class DescriptorSetParser {
public:
void operator()(InitDeclaratorList const& init_declarator_list, vk::ShaderStageFlagBits const stage_flags, GLSLTypes const& glsl_types);
void operator()(InterfaceBlock c... | [
"oathtakerpaladin@gmail.com"
] | oathtakerpaladin@gmail.com |
7315d71d9fd09607e80ae3f6e6e239167417715f | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/safe_browsing/incident_reporting/resource_request_detector.h | 219054c07f76c73a65a5e032ed46237ec7d50dd6 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,114 | h | // 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.
#ifndef CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_RESOURCE_REQUEST_DETECTOR_H_
#define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_RESOURCE_REQU... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
ad728b4d87eafed434b5e3881f5a7b6cc58a3fd9 | b5b56ce3eb1dfe324eafbda3e0e5f338c5dd72e2 | /Server/Servers/include/CategoryTreeRegionConfiguration.h | 6a3d62f9154f7a94abeef52bdad2cec912436c1b | [] | no_license | wayfinder/Wayfinder-Server | 5cb91281b33cea6d8f6d74550b6564a71c4be1d7 | a688546589f246ee12a8a167a568a9c4c4ef8151 | refs/heads/master | 2021-01-22T22:39:08.348787 | 2012-03-31T11:34:42 | 2012-03-31T11:34:42 | 727,490 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,481 | h | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... | [
"daniel.n.pettersson@gmail.com"
] | daniel.n.pettersson@gmail.com |
fe58735eb35ce69f883c64bc37fdfcffc8f4e417 | 3055d7ddce40025d1d4d98129c2641fd80f82afb | /dripping/system/decomposeParDict | 41fa2d8ef8e83d5e0b2aeebdd6dd279ede417523 | [] | no_license | ptorres-uom/rheoInterFoam-drippingBUG | 02eb7ab6271579fe9afcb6332d6f84bc820eb58e | b5aecc34319ccefb0bd3c63ee5e82d3d10c3bba8 | refs/heads/main | 2023-05-01T18:08:45.845414 | 2021-05-18T08:00:46 | 2021-05-18T08:00:46 | 367,491,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 6.0 |
| \\ / A nd | Website: https://op... | [
"noreply@github.com"
] | noreply@github.com | |
55bcf9773cc196b3e9f8b64234a03c7fd6ba3246 | 5adbe94b29bfe5015ab9c5e38784ae12ef68e1b5 | /algorithm/merge-sort/merge-sort-unittest.cc | a6eae7d188c7020758442ec189d968d0f6b8cb64 | [] | no_license | kaivenhu/coding-problem | 26c3c77799b286de6bd0c66be276aceec0e4586b | 3966a320ae8a865646c4fd9f3dc6faae609e0ab7 | refs/heads/master | 2022-06-26T19:16:02.341237 | 2022-06-17T10:48:09 | 2022-06-17T10:49:08 | 225,041,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | cc | #include <algorithm>
#include <cstdlib>
#include <ctime>
#include <gtest/gtest.h>
#include <coding/vec.h>
#include "merge-sort.h"
using namespace merge_sort;
using namespace coding::vec;
using std::vector;
TEST(merge_sort, empty)
{
EXPECT_TRUE(IsVectorEqual({}, MergeSort::sort({})));
}
TEST(merge_sort, one)
{
... | [
"kainbd0609@gmail.com"
] | kainbd0609@gmail.com |
f8f2d2a93158c3ed42098d337c5a3b2fcf8494de | 38c10c01007624cd2056884f25e0d6ab85442194 | /chrome/browser/safe_browsing/threat_details.cc | 50d956d93ebb5392b07ea616c6d2b29c56ae7b2d | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 11,911 | cc | // Copyright (c) 2012 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.
//
// Implementation of the MalwareDetails class.
#include "chrome/browser/safe_browsing/threat_details.h"
#include "base/bind.h"
#include "base/lazy... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
d9e4ef8f54af7ce37b966bcbaec98752635de326 | a993b98793857e93de978a6ef55103a37b414bbf | /content/browser/frame_host/navigator_impl_unittest.cc | a956d53b93c79f2d1719d87beadad6fc62eb422c | [
"BSD-3-Clause"
] | permissive | goby/chromium | 339e6894f9fb38cc324baacec8d6f38fe016ec80 | 07aaa7750898bf9bdbff8163959d96a0bc1fe038 | refs/heads/master | 2023-01-10T18:22:31.622284 | 2017-01-09T11:22:55 | 2017-01-09T11:22:55 | 47,946,272 | 1 | 0 | null | 2017-01-09T11:22:56 | 2015-12-14T01:57:57 | null | UTF-8 | C++ | false | false | 53,530 | cc | // Copyright 2014 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 <stdint.h>
#include "base/feature_list.h"
#include "base/macros.h"
#include "base/time/time.h"
#include "build/build_config.h"
#include "content... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
09a5aff49fd710348a7d25fb06c4961c504a6ef3 | de67a0ac6e3b1753c3515436f1d6f30e60a3a4f1 | /ServerConfig.cpp | 7eef1bf9b95136c97b81dd849674bf5f0b114cbe | [] | no_license | dyw934854565/winServer | ea1a395fd2c0d77ec797988c02e027abd6e29a32 | c4a2a390ec53a491b87748edc7f260ee32eb2923 | refs/heads/master | 2021-01-10T12:27:31.492066 | 2016-01-24T12:49:01 | 2016-01-24T12:49:01 | 48,543,595 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | #include "stdafx.h"
#include "ServerConfig.h"
Config::Config(TCHAR* path)
{
DWORD dwRet;
dwRet = GetCurrentDirectory(PATH_SIZE, this->ServerRoot);
if (dwRet == 0)
{
_tprintf(TEXT("GetCurrentDirectory failed (%d)\n"), GetLastError());
}
else if (dwRet > PATH_SIZE)
{
_tprintf(TEXT("GetCurrentDirectory failed (... | [
"duanyuwen@duanyuwen-D2.corp.qihoo.net"
] | duanyuwen@duanyuwen-D2.corp.qihoo.net |
85d3e6a3aa183fff11c7b1be0a7460d9ca9656bd | 5e6943ef0183cc59ab8392060472ccc561700c24 | /src/brick/test/simple_test_tick_clock.cc | 55eeef4ead15866f2c06f2ad7b982a29bd2103e6 | [] | no_license | israel-Liu/brick | 88b7ea62c79fc0fc250a60a482d81543c48ec795 | 9b4e4011df7c0bdede945d98bcd1e0a5ac535773 | refs/heads/master | 2022-04-20T10:00:47.049834 | 2020-04-24T03:32:07 | 2020-04-24T03:32:07 | 96,489,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cc | // Copyright (c) 2012 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 "brick/test/simple_test_tick_clock.h"
#include "brick/logging.h"
namespace base {
SimpleTestTickClock::SimpleTestTickClock() = default;
S... | [
"israel.liu.theForger@gmail.com"
] | israel.liu.theForger@gmail.com |
ec8e9d8bb6afcc31d3a91fc76f7d186c64ef1d0a | 65ab2e28db5d28092c839465c863ba34dd26f5a1 | /demo/activex-demo/server/detectregion.cpp | 57849a51308139fe1c8db8ae98c5e40545bcbbf2 | [] | no_license | ryder1986/VideoDetection | 25e30a8f626f0085e8adc009758deb9bdfff5635 | dbf9bf7a9f46be46c08783606e785778a601daf9 | refs/heads/master | 2020-03-30T06:02:39.159814 | 2018-10-31T09:54:44 | 2018-10-31T09:54:44 | 150,835,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,884 | cpp | #include "detectregion.h"
#include "c4processor.h"
#ifdef WITH_CUDA
#include "pvdprocessor.h"
#include "fvdprocessor.h"
#include "mvdprocessor.h"
#endif
DetectRegion::DetectRegion(DetectRegionInputData pkt):VdData(pkt),p(NULL)
{
lock.lock();
int valid=false;
// p=new PvdMvncProcessor();
if(private_da... | [
"ryder1986@163.com"
] | ryder1986@163.com |
99ad44872be4f9af5eb7d83c4a3e6f4588a8971a | fec109cf07ff31e875a52ecda99fc63ace1b541a | /4Sum II.cpp | 9bef5684257da88fefbd1a646b869d2715b19983 | [] | no_license | ks-kushagra/Leetcode | 6d611f305893903d6e3e363757e616432d0331b7 | 9cdd2a8baa2946400eab6a812e38845917c5a899 | refs/heads/master | 2023-05-11T17:02:29.752708 | 2023-05-03T17:33:30 | 2023-05-03T17:33:30 | 276,583,205 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | cpp | Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero.
To make problem a bit easier, all A, B, C, D have same length of N where 0 ≤ N ≤ 500. All integers are in the range of -228 to 228 - 1 and the result is guaranteed to be at most 23... | [
"noreply@github.com"
] | noreply@github.com |
86f1c13585b8b6ae990f34c923a854c29de93224 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_7_5/src/compiler/node-matchers.h | d81d84eca331bd7d7bafaf7377838e7f34500ad8 | [
"Apache-2.0",
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 26,790 | h | // Copyright 2014 the V8 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.
#ifndef V8_COMPILER_NODE_MATCHERS_H_
#define V8_COMPILER_NODE_MATCHERS_H_
#include <cmath>
#include "src/base/compiler-specific.h"
#include "src/compi... | [
"22249030@qq.com"
] | 22249030@qq.com |
866fea53121ef23b1a50773a0766668075417a27 | 76dd374a5ebe93b6bbeaa61ea2e600ac7f23cf1d | /3rdParty/boost/1.61.0/libs/hana/benchmark/difference/compile.hana.set.erb.cpp | 5764d6ebcad570d21dc3d018698f2e4e912d1a1d | [
"Apache-2.0",
"BSD-3-Clause",
"Zlib",
"ISC",
"LicenseRef-scancode-proprietary-license",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"ICU"
] | permissive | mikestaub/arangodb | 5064eaab8b4587dccc7ea9982e3fea4c926eb620 | 1bdf414de29b31bcaf80769a095933f66f8256ce | refs/heads/devel | 2021-08-10T15:44:03.423137 | 2016-09-23T13:23:03 | 2016-09-23T13:23:03 | 69,112,437 | 1 | 0 | Apache-2.0 | 2021-01-21T15:29:30 | 2016-09-24T16:02:10 | C++ | UTF-8 | C++ | false | false | 659 | cpp | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/difference.hpp>
#include <boost/hana/integral_constant.hpp>
#include <boost/hana/set.hpp>
namespace hana = boost::hana... | [
"frank@arangodb.com"
] | frank@arangodb.com |
a75856803864da07ac9ca4d08508016b1d7ed6f2 | 5ab8589e28cf9b24a62a466437fdb124b27e05c6 | /PaintAndSend/TextLabel.cpp | a278fea4d128321493e53da989a2553f034ef9a0 | [] | no_license | pavelseps/PaintAndSend | 0cd2e6e29dcc182d2ea32fdab408a0e14055c1ac | 672c55b346a3f38838f72a31a8440d999694c052 | refs/heads/master | 2021-01-01T15:28:29.264599 | 2017-07-24T19:03:17 | 2017-07-24T19:03:17 | 97,625,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | #include "stdafx.h"
#include "TextLabel.h"
TextLabel::TextLabel(sf::Vector2f &coords, sf::Vector2f &size, sf::Font &font)
{
input.setFont(font);
input.setFillColor(sf::Color::Black);
input.setCharacterSize(size.y - (padding * 2));
input.setPosition(sf::Vector2f(coords.x + padding, coords.y + padding - 2));
input... | [
"pavel.seps@layoutmaschine.de"
] | pavel.seps@layoutmaschine.de |
eabaf91ac5c55d9d3bd5149ea15aa1b183550d53 | 78414d72fd2f8db9cd82e41a5d48267e52f01368 | /HedgeGI/HedgeGI/Bitmap.cpp | 3cc3db717481d130b3deae99a12e0db78926ba2c | [] | no_license | iulian204/HedgeGI | 16be98a4f0230ee3d1d3a42ce9eee137ff50f93c | 9989c0950ba1b6cc3ee8baa8d56721565af9517e | refs/heads/master | 2022-10-11T16:05:45.847776 | 2020-06-09T23:57:35 | 2020-06-09T23:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,559 | cpp | #include "Bitmap.h"
Bitmap::Bitmap() = default;
Bitmap::Bitmap(const uint32_t width, const uint32_t height, const uint32_t arraySize)
: width(width), height(height), arraySize(arraySize), data(std::make_unique<Eigen::Array4f[]>(width * height * arraySize))
{
for (size_t i = 0; i < width * height * arraySize;... | [
"19259897+blueskythlikesclouds@users.noreply.github.com"
] | 19259897+blueskythlikesclouds@users.noreply.github.com |
1ea406ec6ce46ece9986e34ce3b3f1b6523d5e9a | fd75230595e07ac4aff7bb3b206f260937fcfeba | /complex_crawler/crawler/task/GeneralCrawlTask.cpp | e8913cb3b61e0d14b0a4bf7a0a020f2824a1a870 | [
"Apache-2.0",
"MIT"
] | permissive | AlaoPrado/search_engine | 09a53cfe47c8bbb50c8f41b559021cceee6be71f | 6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1 | refs/heads/main | 2023-03-12T15:25:32.777171 | 2021-02-25T15:57:26 | 2021-02-25T15:57:26 | 319,131,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,611 | cpp | /* Copyright 2021 Alan Prado Araújo
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, s... | [
"alanpradoaraujo@gmail.com"
] | alanpradoaraujo@gmail.com |
5fc552f851d81bf796fabbb95e6c51cf18ff1fd5 | 15fa4009e4087a9270b857b4fa155d929c81cb37 | /MANA3DEngine/MANA3DEngine/Math3D.h | 0d04d3d0c3f807d453c90a2e56385dc6a415a74c | [] | no_license | MANA3DGames/mana-3d-game-engine-public | 1464f52ae99a2912b57db57578882aa8793f7b09 | ae1430c8369e7cca1f84b1cc42927ec009565c1f | refs/heads/master | 2022-12-11T04:39:03.460071 | 2020-09-02T13:47:11 | 2020-09-02T13:47:11 | 292,292,187 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,165 | h | #ifndef MATH3D_H
#define MATH3D_H
#include <glm\glm.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/matrix_decompose.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <assimp/matrix4x4.h>
//# define M_PI 3.14159265358979323846
namespace MANA3D
{
class Math3D
... | [
"46005019+MANA3DGames@users.noreply.github.com"
] | 46005019+MANA3DGames@users.noreply.github.com |
bcc27d7c26e7c919a2baebce39e0744be8bdea33 | 0290bcc4423caa821eb86a189799747e28dc5ec0 | /293. Flip Game.cpp | 56a5768f3f7cccacfd80feab9ab944710bc60ddd | [] | no_license | lunlun1992/LeetCode | 36f783ecd83e482c60506a328277b344aea270a0 | 72dcd0857431816348573cb9f4337d411b58ac17 | refs/heads/master | 2021-01-11T20:26:54.724918 | 2017-08-18T10:43:50 | 2017-08-18T10:43:50 | 79,117,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | class Solution {
public:
vector<string> generatePossibleNextMoves(string s)
{
vector<string> ret;
int len = s.size();
for(int i = 0; i < len - 1; i++)
{
if(s[i] == '+' && s[i + 1] == '+')
{
string now = s;
now[i] = '-';
... | [
"lunlun1992@163.com"
] | lunlun1992@163.com |
e085c7000468603f6f318b0e47939e1ea0e56a30 | a214a4562dcf5297e5cc6a0f9aac2c4c76ca96a1 | /ffs/source/wearleveling/ddi/data_drive/ddi_nand_nssm_get_entry.cpp | 427cd17b7c87e2a0b92c4e9ac246d833002b5eb4 | [] | no_license | zhouglu/K60F120M | 7f5ff41f5d2755a49607f578eda5f684d5886281 | fc202886dccb00ad52cbe99406c412163e66f1d4 | refs/heads/master | 2020-04-23T08:17:56.341993 | 2013-12-27T08:58:34 | 2013-12-27T08:58:34 | 14,609,537 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,754 | cpp | /*HEADER**********************************************************************
*
* Copyright 2013 Freescale Semiconductor, Inc.
*
* Freescale Confidential and Proprietary - use of this software is
* governed by the Freescale MQX RTOS License distributed with this
* material. See the MQX_RTOS_LICENSE file distribu... | [
"zhouglu@gmail.com"
] | zhouglu@gmail.com |
0d24b7ea97bdbf1d12eff34bef11d246bd2d9031 | 4cb3450b11e46b36a62f53f30a76b7b21deb61da | /CSCI_375/Lab7/Matrix4.cpp | 6ab1b92c11f160a4a9c508ab5b6cc4964bceb223 | [] | no_license | zrzuch/Various-Projects | b1ba001be04b33196e819faaa5fff025ffab9b72 | 8cdc8d43ac0a15950ccb013fa6bbf048bb0b2b9f | refs/heads/master | 2020-06-23T18:27:10.509606 | 2019-07-24T22:52:59 | 2019-07-24T22:52:59 | 198,714,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,925 | cpp | #include <cmath>
#include "Math.h"
#include "Matrix4.h"
// Initialize to identity.
Matrix4::Matrix4 ()
: m_right (1,0,0,0)
, m_up (0,1,0,0)
, m_back (0,0,1,0)
, m_translation(0,0,0,1)
{ }
Matrix4::Matrix4(const Vector4& right, const Vector4& up,
const Vector4& back, const Vector4& translatio... | [
"noreply@github.com"
] | noreply@github.com |
181773d80579ae8949c1d1c514ac0e1af40b6b66 | 12e8a2763c0279f60a2bb3de89bb94e4ea68f69b | /Pegasus/inc/DomainListMachines.cpp | cf0992dde2e3d90d205343f21fb9847fd637b232 | [] | no_license | s3cj0y/maybe-carbanak-group_ib_smart_boys | 618d361d4ddec57eb783c8819b46f9106d4137e7 | cf183a258aca3dbd2098c5c818fd97faf688b71d | refs/heads/master | 2020-03-22T21:55:10.593309 | 2018-07-12T14:33:50 | 2018-07-12T14:33:50 | 140,721,629 | 14 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 7,229 | cpp | /*
DomainListMachines.cpp
Enums visible machines in current or any specified domain
NB: keep in mind need of local disks scan for *.rdp to get addresses and credentials from there
*/
#include <windows.h>
#include "..\inc\dbg.h"
#include "DomainListMachines.h"
#ifdef ROUTINES_BY_PTR
DomainListMachines_ptrs Domain... | [
"ic3sk9@gmail.com"
] | ic3sk9@gmail.com |
01405f977919e83d2d75fa28510fd01a83f5d418 | 72aa7fd11d2f0d8a3667a25a169abc58f69af71e | /HANGMAN/Funtions/RandomizeWord/main.cpp | 2e72e632c497f5c4d24497f2d35de6b4e1b40c34 | [] | no_license | AldCls3322/HANGMAN_game | b62937bdac972eb9b8e040735d3dfb2dad58285c | aedb058af6ae823dd0670e860c089dd5c8f43ee6 | refs/heads/master | 2022-12-17T17:55:06.487184 | 2020-09-23T02:53:51 | 2020-09-23T02:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | #include <iostream>
#include <fstream>
using namespace std;
int Random()
{
int num;
int con=-1;
char c;
ifstream file;
file.open("HangManWords.txt");
while (!file.eof())
{
c=file.get();
if (c=='.')
{
con++;
}
}
cout <<... | [
"noreply@github.com"
] | noreply@github.com |
46f52ef1ce2a0ee3c7f2e1d50ebc7d36474199f4 | ce8bd73a9cda2d65d0610f2442847bf4ee647da5 | /ext/stub/java/lang/ClassCastException-stub.cpp | 7914c70a629cce744deefd9942db6f930083ffb6 | [] | no_license | cprice404/j2c-ts-config | 5fec505bd0a9d3b7c968e5d60e7f66db323d9cc4 | 4fe6cc64c7035b92251ef645cace6898344551de | refs/heads/master | 2020-12-24T13:29:05.975373 | 2015-07-08T06:00:04 | 2015-07-08T06:00:04 | 38,735,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | cpp | // Generated from /home/cprice/software/java/jdk1.8.0_45/jre/lib/rt.jar
#include <java/lang/ClassCastException.hpp>
extern void unimplemented_(const char16_t* name);
java::lang::ClassCastException::ClassCastException(const ::default_init_tag&)
: super(*static_cast< ::default_init_tag* >(0))
{
clinit();
}
java... | [
"chris@puppetlabs.com"
] | chris@puppetlabs.com |
5add837fb123e5b35f9e5518287a8242ec043f4a | b20761ef074a58d88ab178c54dde7117fd5a7ea4 | /LedNumber.cpp | b84e8c5467b5536664bf3d97d74c82852a303809 | [] | no_license | Cyelliott/lab3-source_code | f2c6eba18f60033e1f63632cad25bc9527bd3f45 | f525e21d235ca52f7cb8af035ad49ca744a8a87c | refs/heads/master | 2020-12-29T09:18:48.230700 | 2020-02-06T22:02:53 | 2020-02-06T22:02:53 | 238,552,623 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,762 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
using namespace std;
void Write1Led(char *pBase, int ledNum, int state);
int Read1Switch(char *pBase, int switchNum);
int ReadAllSwitches(char *pBase);
void WriteAllLeds(char *pBase, int val... | [
"noreply@github.com"
] | noreply@github.com |
dd1fdf0074253169f1d1001d9dab885c56097964 | a26aa08a21c299f0a5725b0c46f0321a88d2593d | /GRender/GRender/Render/Core/Image.h | f724b4cb07932f71c9302c268d2e5c39548a6d75 | [] | no_license | GavinZL/GRender | 387c856ffa20cfd076111385740284574b8bbfa3 | 46b84801e867c446e3b8b6b7be235bc6d2f82380 | refs/heads/master | 2021-08-29T23:30:49.341942 | 2017-12-15T08:51:50 | 2017-12-15T08:51:50 | 113,120,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,150 | h | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation file... | [
"junee1122@163.com"
] | junee1122@163.com |
04fb22c56be4baafc89c6b7f198298c163df49c3 | e2aa5b125a9c36a81536fdd390dccb68830f120e | /project/midterm/3. check/main.cpp | c30a732f5c3505684596c75cf070967091cfc9e2 | [] | no_license | cw2744101/winter-cis-5-course-40626 | 98e5667f6aac5552a8e2a0b46909c17a7550aac9 | 75e7b8d2f072ceaee08b822b348066614851abd0 | refs/heads/master | 2021-05-04T17:09:48.605484 | 2018-02-12T07:26:47 | 2018-02-12T07:26:47 | 120,265,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,877 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: chenl
*
* Created on 2018年1月27日, 下午7:36
*/
#include <iostream>
using namespace std;
/*
*
*... | [
"chenlinwcl@gmail.com"
] | chenlinwcl@gmail.com |
aeac4b4236163783630d9b39c06ee457a5665a5f | 2e5c7683142042f86e0380a3cac0ef5adcb61d3d | /source/ev3way2/unit/device/GyroDriver.cpp | dfca746b26b7b2d12eee62d98831772ab414b37c | [] | no_license | kuromido/ET_RoboCon_2017 | 15d975d54ce60fdbff0a62fbc18b2190200df727 | cd154bec4b448d4242a29aade1e6a659d5c61428 | refs/heads/master | 2019-08-05T01:36:21.784159 | 2017-09-19T13:29:28 | 2017-09-19T13:29:28 | 83,324,557 | 0 | 0 | null | 2017-02-27T15:18:47 | 2017-02-27T15:18:47 | null | UTF-8 | C++ | false | false | 657 | cpp | #include "GyroDriver.h"
namespace unit
{
const int GYRO_OFFSET = 0;
GyroDriver::GyroDriver()
{
mGyroOffset = GYRO_OFFSET;
mGyroSensor = nullptr;
}
GyroDriver::GyroDriver(const ePortS port)
{
mGyroOffset = GYRO_OFFSET;
mGyroSensor = new ev3api::GyroSensor(port);
}
GyroDriver::~GyroDriver()
{
if(mG... | [
"kuromido@users.noreply.github.com"
] | kuromido@users.noreply.github.com |
31335186459b0cd3abbc497fbce3825fe91d90dd | 04a540847c1333c987a1957fd8d31197c594f6bb | /SWEA/3431.cpp | 66358fb7cd8d8452310656f0cefc84c1f35bce50 | [] | no_license | k8440009/Algorithm | fd148269b264b580876c7426e19dbe2425ddc1ab | a48eba0ac5c9f2e10f3c509ce9d349c8a1dc3f0c | refs/heads/master | 2023-04-02T16:06:10.260768 | 2023-04-02T11:04:32 | 2023-04-02T11:04:32 | 200,506,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | // 3431. 준환이의 운동관리
#include <iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int tc;
cin >> tc;
for (int i = 1; i <= tc; i++)
{
int l, u, x;
cin >> l >> u >> x;
cout << "#" << i << ' ';
// 필요한 운동량 보다 많은 운동
... | [
"lucas0730@naver.com"
] | lucas0730@naver.com |
3d6205cb688f86c7871a9fe9ca8fc971d26d6aa2 | ace546fbf1dcb410f07c07b36e2f3e6330c9fe26 | /Practice/div1_plus_div2_505/Q2.cpp | 1a39f1b1721c6822d54850190dc99cb1183edb88 | [] | no_license | rahulsingh24/datastructures | a0b7497e1efede1490580bf6d027ad59453b3a03 | a8a0b5181b9eb86e4fb23a2a2f6a68be789b62bf | refs/heads/master | 2020-04-02T07:34:38.929558 | 2018-10-22T20:12:20 | 2018-10-22T20:12:20 | 154,203,752 | 0 | 1 | null | 2018-10-22T20:12:21 | 2018-10-22T19:29:44 | C++ | UTF-8 | C++ | false | false | 2,847 | cpp | #include <bits/stdc++.h>
#include <algorithm>
#include <math.h>
#include <list>
#include <map>
#include <utility>
#include <vector>
#include <set>
#include <string>
#include <queue>
using namespace std;
#define ll long long int
#define INF 1000000007
#define INFLL 1000000000000000011LL
#define pb(x) push_back(x)
#defi... | [
"sahudhanraj123@gmail.com"
] | sahudhanraj123@gmail.com |
5678ddfd068793da1ee2f7ae418e4497440891de | ac8e27210d8ae1c79e7d0d9db1bcf4e31c737718 | /tools/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h | e85ca3b7a9250e5346b16e246316ecc6ffd5b4bd | [
"NCSA",
"Apache-2.0",
"LLVM-exception"
] | permissive | steleman/flang9 | d583d619bfb67d27a995274e30c8c1a642696ec1 | 4ad7c213b30422e1e0fcb3ac826640d576977d04 | refs/heads/master | 2020-11-27T09:50:18.644313 | 2020-03-07T14:37:32 | 2020-03-07T14:37:32 | 229,387,867 | 0 | 0 | Apache-2.0 | 2019-12-21T06:35:35 | 2019-12-21T06:35:34 | null | UTF-8 | C++ | false | false | 3,967 | h | //===-- NativeProcessNetBSD.h --------------------------------- -*- 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
//
//===---------------------------... | [
"stefan.teleman@cavium.com"
] | stefan.teleman@cavium.com |
5e7e9832670b4b04db9e13f8fddea55903b4dcab | cf9b1d2a722fbfe90fea8043290d73e4597a0b8b | /C/tests/crypto/hash/csum/main.cpp | 84c582d57f9071a80b3f3b229b43d7ef131a50c7 | [] | no_license | cang-mang/TrueMan | 965846a2c0df778b59f15f7fafba77e065073f3d | 990b0aed45a9bacf15404077a8fa8cdafea5079a | refs/heads/main | 2023-01-19T06:49:34.486102 | 2020-11-30T13:13:03 | 2020-11-30T13:13:03 | 311,609,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,368 | cpp | #include <trueman/crypto/hash.h>
#include <iostream>
#define TST_assert_eq(x, y) do { \
if((x) != (y)) { \
std::cout << "failure:" << std::endl; \
std::cout << "\t---- " << __FILE__ << ':' << __LINE__; \
std::cout << " (" << __FUNCTION__ << ") ----" << std::endl; \
std::cout << "\t ... | [
"cang.mang@foxmail.com"
] | cang.mang@foxmail.com |
662f66dd087c55d6cc673258b7568bc8df74fd8f | 8050bbeaf86021d5e89c7d81eedfd5ce0b391bb3 | /Wolf.h | 9aeba6bd2d7939c0b7d2e46023a66e22e18d12a3 | [] | no_license | disneyyy/Wolf0828 | fcf5fa57ff0ee3e3400e96fedf04ee924daa3813 | a490e0f45ffa2c8e7289f22cef6f9b2547992a05 | refs/heads/main | 2023-08-01T01:02:14.280758 | 2021-09-23T03:45:18 | 2021-09-23T03:45:18 | 409,438,059 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 692 | h | #ifndef WOLF_H
#define WOLF_H
#include "Character.h"
#include <iostream>
using namespace std;
class Wolf: public Character{
public:
Wolf(int m=10):Character(m){
}
void skill(char *name){
cout<<"天黑請閉眼"<<endl;
system("pause");
system("cls");
//狼人 殺掉的人要讓預言家這輪還能測
while(true){
system... | [
"noreply@github.com"
] | noreply@github.com |
5d66baffab2c4b775d4de4c4f1845993e4e4e64e | 8fd7669d4735ce43e3a81914a6a789c871865585 | /concurrency_queue/scsp_list.h | 1564fa3b35bddcf2c5366eedffb071cb458aae3a | [] | no_license | wsnk/concur | 64148195b8da7b9c934d8ae4e3c86e37297be5cb | 90a6373ccbcf3056d33c8e6747d88b6b7e3ef015 | refs/heads/master | 2021-05-11T18:10:03.012899 | 2018-01-17T10:00:25 | 2018-01-17T10:00:25 | 117,817,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,422 | h | #ifndef SCSP_LIST_H__
#define SCSP_LIST_H__
//------------------------------------------------------------------------------
#include <atomic>
#include <memory>
#include <new>
//------------------------------------------------------------------------------
template < typename T >
struct SCSPListItem {
typedef std::at... | [
"m.samokhin@3atelecom.ru"
] | m.samokhin@3atelecom.ru |
8b15d017728bd3cba4f0e85a6c7ac10af96a3ed5 | 3d07ae0b0ea8061af97e067c61fc26c63f21927f | /oneflow/core/framework/tensor.cpp | bfc23a043b1e06b32b7fb0096cf7f2842f248ccf | [
"Apache-2.0"
] | permissive | maybemind/oneflow | 2a64843feb2c1169d9a2c4230f2e786f1f9cd4a0 | 95767e1e28b666e59d7b31018ffbcf30ab5b8db9 | refs/heads/master | 2023-04-06T04:45:54.957527 | 2021-04-12T11:29:43 | 2021-04-12T11:29:43 | 309,308,152 | 0 | 0 | Apache-2.0 | 2021-04-12T11:29:44 | 2020-11-02T08:43:47 | null | UTF-8 | C++ | false | false | 3,978 | cpp | /*
Copyright 2020 The OneFlow 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 agre... | [
"noreply@github.com"
] | noreply@github.com |
7220b31474c2794e835af31d6eaa1156be0be76d | e2d944669d9935ec25aac1920a613b4d3edf1713 | /kasten/controllers/view/print/printcontrollerfactory.hpp | 04098eece738106940bba074eea7ba2ac510364f | [] | no_license | wushangshikongyonghengdazizai/okteta | 6e87cfec2585a2a763b33dcda02d8b4a33a2b0af | 4172a54a982d38c90878fb48cdf0f9174a19aa98 | refs/heads/master | 2023-02-05T01:09:42.305518 | 2020-12-26T14:38:54 | 2020-12-26T14:38:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | hpp | /*
This file is part of the Okteta Kasten module, made within the KDE community.
SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau <kossebau@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KASTEN_PRINTCONTROLLERFACTORY_HPP
#define KASTEN_PRI... | [
"kossebau@kde.org"
] | kossebau@kde.org |
0fe2afbfc8cec3f770f7159d1ca17f99340fce6f | 7f00bfe45e7117c831b0b3cb4a2f1b869e6a0129 | /convert/main.cpp | 2032df0a5dff17ad2a889bf84c4b1b238ace7e51 | [] | no_license | tenmachow/cameratest | c973ace4681ede19e895454ff9f83d0a5af614a7 | 6d5a0d49f9e7508de784655efc9081f3524486bb | refs/heads/master | 2021-01-19T00:14:28.050822 | 2012-09-14T01:28:33 | 2012-09-14T01:28:33 | 5,684,302 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string>
#include <iostream>
#include <linux/videodev2.h>
#include "convertor.h"
#include "convertor_registry.h"
/**
* Prints a failure message and exists
*
* @param fmt C format string followed by additional arguments
*/
void failure(const char *... | [
"tenmachow@gmail.com"
] | tenmachow@gmail.com |
16252a006821deaf03a268a3392fd5d0766cd80b | e50b5f066628ef65fd7f79078b4b1088f9d11e87 | /llvm/tools/clang/include/clang/AST/ASTConsumer.h | adcf6d719dda0994a231c895658cf1133ae5633c | [
"NCSA"
] | permissive | uzleo/coast | 1471e03b2a1ffc9883392bf80711e6159917dca1 | 04bd688ac9a18d2327c59ea0c90f72e9b49df0f4 | refs/heads/master | 2020-05-16T11:46:24.870750 | 2019-04-23T13:57:53 | 2019-04-23T13:57:53 | 183,025,687 | 0 | 0 | null | 2019-04-23T13:52:28 | 2019-04-23T13:52:27 | null | UTF-8 | C++ | false | false | 6,122 | h | //===--- ASTConsumer.h - Abstract interface for reading ASTs ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"jeffrey.goeders@gmail.com"
] | jeffrey.goeders@gmail.com |
12ba12795fdd208cd48cb5b86270d7d9bf8f78ca | 16807220b95bf9a559b97ec0de16665ff31823cb | /serial/seriald/device_list.h | c0cf6aeeac7db3191235ec7e6ff825f2126a800e | [
"BSD-3-Clause"
] | permissive | cuauv/software | 7263df296e01710cb414d340d8807d773c3d8e23 | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | refs/heads/master | 2021-12-22T07:54:02.002091 | 2021-11-18T01:26:12 | 2021-11-18T02:37:55 | 46,245,987 | 76 | 34 | null | 2016-08-03T05:31:00 | 2015-11-16T02:02:36 | C++ | UTF-8 | C++ | false | false | 1,247 | h | #pragma once
#include <memory>
#include <unordered_set>
#include <unordered_map>
#include <mutex>
#include <thread>
#include "config.h"
#include "sub_status.h"
#include "device.h"
class DeviceList {
public:
DeviceList(const std::shared_ptr<Config> config, std::shared_ptr<SubStatus> subStatus);
~DeviceList();
... | [
"leader@cuauv.org"
] | leader@cuauv.org |
a3f35b3bfaf42dc8061296f336ee8500a9c9da9f | 8b56aa7a8deb23315a6ad687c902e43031f9bdc9 | /PrettyShore_Source/AI/BehaviourTree/Tasks/BTTask_AIBeach_FailedToExecuteTask.cpp | 2c95f1af61871199cfeb1f9c3dda61523f5e9f9f | [] | no_license | Tarfax/PortfolioProjects | 6a02b388cfedf51102f94047d52f77235a0242d0 | 2cd4b373f396aec8d56db71cabc04de9c47df9e5 | refs/heads/master | 2023-08-21T17:19:34.532945 | 2021-10-14T07:55:52 | 2021-10-14T07:55:52 | 20,998,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | #include "BTTask_AIBeach_FailedToExecuteTask.h"
#include "Team9Assemble/AI/AIVisitor/AIVisitor_Controller.h"
#include "Team9Assemble/AI/AILifeguard//AILifeGuard_Controller.h"
UBTTask_AIBeach_FailedToExecuteTask::UBTTask_AIBeach_FailedToExecuteTask() {
NodeName = "AIBeach Failed To Execute Task";
}
void UBTTask_A... | [
"lostmike@gmail.com"
] | lostmike@gmail.com |
2a8e7ec3498d732856b076bef0ca87f7d77aea12 | 66862c422fda8b0de8c4a6f9d24eced028805283 | /cmake-3.17.5/Source/cmInstallTargetGenerator.h | e21001f888a89ca1072c6bd8e577d6ebf16090a9 | [
"MIT",
"BSD-3-Clause"
] | permissive | zhh2005757/slambook2_in_Docker | 57ed4af958b730e6f767cd202717e28144107cdb | f0e71327d196cdad3b3c10d96eacdf95240d528b | refs/heads/main | 2023-09-01T03:26:37.542232 | 2021-10-27T11:45:47 | 2021-10-27T11:45:47 | 416,666,234 | 17 | 6 | MIT | 2021-10-13T09:51:00 | 2021-10-13T09:12:15 | null | UTF-8 | C++ | false | false | 4,581 | h | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmInstallTargetGenerator_h
#define cmInstallTargetGenerator_h
#include "cmConfigure.h" // IWYU pragma: keep
#include <iosfwd>
#include <string>
#include <vector>
... | [
"594353397@qq.com"
] | 594353397@qq.com |
5610395a20322db410cc984bf8c84cc60d8862aa | c402fbb9dac63736403567ab5f63c37cdf15f217 | /QT_Core_Intermediate/QTAssignment1/test.cpp | 5edf7f7aa046cbca5974a188ee110c6c3ca10aa6 | [] | no_license | ChrisTayl2018/Qt_tutorials | 311d1c5f79d20541dcc372f11718a69ef5fe40cf | 6a41b27c734fef16757b961da9006ffe2e811c92 | refs/heads/master | 2022-10-09T23:45:09.260279 | 2020-06-10T07:14:17 | 2020-06-10T07:14:17 | 268,945,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | #include "test.h"
#include <QDebug>
test::test(QObject *parent) : QObject(parent)
{
qInfo() << "Constructed object" << this;
}
test::~test()
{
qInfo() << "Deconstructed object" << this;
}
| [
"ctaylor1991@live.com.au"
] | ctaylor1991@live.com.au |
6bdbcaef6ff380b150162bfdf202b12b070e3295 | 32afec3a4b4c226573593fb7701f9e412e4f9596 | /openikcape/uom/uom.cpp | c398a84c24f813c823084390c12e24df4f96cda7 | [
"MIT"
] | permissive | E452003/openikcape | 00d144438e014c2512c07960ef5ce16bbd315d19 | 7612a7c68237920373c11f137130d74f7ad134eb | refs/heads/master | 2023-01-21T20:02:18.831553 | 2020-12-03T21:45:08 | 2020-12-03T21:45:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | cpp | #include <string>
#include <vector>
#include <stdexcept>
#include <math.h>
#include <map>
#include "uom.h"
using namespace std;
namespace Thermodynamics
{
namespace UOM
{
double Unit::get_conversion_factor(Unit other)
{
return this->factor / other.factor;
}
... | [
"jochen.steimel@googlemail.com"
] | jochen.steimel@googlemail.com |
1f4e426683b060eb65a3b81f763b70c06d698b9d | 3a9dd58f5b1b5e1f54c74b76543e0405faac9804 | /block_world(完成)/block_world.cpp | 4e5702f9c159f23b5420f5f4d75acc04638e58cc | [] | no_license | FrostKong/- | c0a4483f15a210a1b00d855814da239bb82a3e5a | 1db36728fcaa7564afbcc5a3a598ebd406cd8064 | refs/heads/master | 2020-05-07T11:46:14.923314 | 2019-04-10T01:16:40 | 2019-04-10T01:16:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,728 | cpp | // block_world.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
#include <string>
#include <cstring>
#include <vector>
#define maxn 25
using namespace std;
vector<int> pile[maxn]; //全局
int n; //全局 n=pile number
void find_num( int a,int &temp_i,int &temp_j) { //
for (t... | [
"noreply@github.com"
] | noreply@github.com |
50d29826e651aae5064bc616a5f8ce5502ecc276 | 1019e8d5e5c775ae6e6eeea07814701358b2b339 | /contest1/passwords/main.cpp | 103c302bf3cf1c63b9cbd4637198f6a8c3d334b1 | [] | no_license | tomasmor42/olya_learns_cpp | 62ffa81065731a8b4919331fccdf244f6819e697 | dbd51c1a80c5ace01a19eef914c3195fef6d3fb2 | refs/heads/main | 2023-04-12T15:45:34.029812 | 2021-05-13T18:24:15 | 2021-05-13T18:24:15 | 359,925,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,783 | cpp | #include <iostream>
int hasCapitalLetters(std::string pwd){
if (true)
{
int count = 0;
for(int i = 65; i <= 90; i++)
{
char c = (char)i;
std::string str1(1, c);
if (pwd.find(str1) !=
std::string::npos)
count = 1;
... | [
"tomasmor42@gmail.com"
] | tomasmor42@gmail.com |
6f84ec333b286102cfccf51bc6876c281b9ab464 | 15727e99c9f596a9d7829e819593a3204eeca152 | /Firmware/firmware_tests/stubs/widgets_stub_pages_creator.cpp | 31e3caca0dbd7ad965ba8b65f597effaee1433ec | [
"MIT"
] | permissive | ValentiWorkLearning/GradWork | c6b899988000bdef9b167ed18326cd1623ce5985 | 801f99277986aba1f3930cf73d7f1bdf372cd37e | refs/heads/master | 2023-04-08T10:43:56.522352 | 2021-12-31T01:40:46 | 2021-12-31T01:40:46 | 210,127,142 | 47 | 8 | MIT | 2022-11-19T23:41:37 | 2019-09-22T10:13:59 | C | UTF-8 | C++ | false | false | 1,062 | cpp | #include "widgets_stub_pages_creator.hpp"
#include "battery_widget_fake.hpp"
#include "bluetooth_widget_fake.hpp"
#include "pages_switch_widget_fake.hpp"
namespace Graphics::StubWidgets
{
StubWidgetsCreator::~StubWidgetsCreator() = default;
std::unique_ptr<Graphics::Widgets::IBluetoothWidget> StubWidgetsCreator::cre... | [
"kornienko-vr@rambler.ru"
] | kornienko-vr@rambler.ru |
0cfbbd95396e15fedfb51c388011746efd8e2577 | 0ff3961fab3d7aac799c9555853ef141ffe38eb1 | /Dev/Segmentation/SegmentationCore/MRF/src/ICM.cpp | 724cc1bcb148cc4547eb4d6034cb0735debced5e | [] | no_license | liupeng625/DevBundle | d8f8ff5a78730645e91a1a2a9c328c426f9deaa6 | daee1ace1fc929f629d2c916aee2922a02b41493 | refs/heads/master | 2021-03-12T01:55:17.966697 | 2018-09-13T10:04:38 | 2018-09-13T10:04:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,668 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "MRF/include/ICM.h"
#define m_D(pix,l) m_D[(pix)*m_nLabels+(l)]
#define m_V(l1,l2) m_V[(l1)*m_nLabels+(l2)]
ICM::ICM(int width, int height, int nLabels,EnergyFunction *eng):MRF(width,height,nLabels,eng)
{
m_needToFreeV = 0;
... | [
"hsy19891228@yeah.net"
] | hsy19891228@yeah.net |
af81250867e38ca6f49aeba340c6102efb44fdf2 | c502986e2904379c3b221506ea61ada9eac79b7b | /Valid Perfect Square.cpp | f7686f168d8f5345a2d56818341090be2ee87730 | [] | no_license | hardik20sharma/LeetCode_Solutions | 4d7252b4d134b9431b6c863cc3805eaa77d4c7c5 | 3ca4f52502764d76219b60e05b4180e29883e05d | refs/heads/master | 2023-07-21T15:42:58.864998 | 2021-09-02T04:54:36 | 2021-09-02T04:54:36 | 287,471,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | class Solution {
public:
bool isPerfectSquare(int num)
{
long long int n = 1;
for( ; n * n < num; n++);
return (n * n == num);
}
};
| [
"noreply@github.com"
] | noreply@github.com |
4ce36ba9639d891696b42fe4e24f23065117c1a0 | 73a8f3c9c640af08acbefe657bff62e3d1751fc2 | /Dependencies/Qt-5.4.1/include/QtPlatformSupport/5.4.1/QtPlatformSupport/private/qevdevtouch_p.h | 4bb68de5f4fd56f1856a74be94ffb6a81f4d915f | [] | no_license | knight666/pitstop | 8d5ad076a71055803df1601e1df1640430ad56ca | 4e541d90507f38f36274e50b0d702a284d648e27 | refs/heads/master | 2020-07-10T00:51:28.141786 | 2019-08-24T20:08:02 | 2019-08-24T20:08:02 | 204,123,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,999 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
... | [
"knight666+github@gmail.com"
] | knight666+github@gmail.com |
015e68ccd49fe98db355e62112dc25533fcf1aec | 6cecdbbe6eb721a0e43c07ed2b31bdcc9e553c55 | /Sail2D/Runs/first_flatplate_150_12/case/1000/nuTilda | 7e099e7339135e879aa7eb1d799540690c1f2f2d | [] | no_license | kiranhegde/Gmsh | 799d8cbefb7dd3f3d35ded15b40292fd3ede6468 | fefa906dabfddd9b87cc1f0256df81b4735420e1 | refs/heads/master | 2021-01-19T23:21:57.414954 | 2015-01-21T02:02:37 | 2015-01-21T02:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149,412 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
5c76b0819646b683a1cb8b0e394492be3113f719 | 53337a542cdacc0d3a1b6480f4fabdcdce274b21 | /src/lib/gfx/Texture.cpp | 0659e35a45a06264511a6fa2e7d0e129f37d827b | [] | no_license | kalineh/tiger | 7bd4026c6c6bdb17aa17f198f140e839aa53ec92 | 211f41744132b6ed3c49a595945934bebed83449 | refs/heads/master | 2016-09-06T05:13:16.043459 | 2013-01-27T04:35:24 | 2013-01-27T04:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,254 | cpp | #include "Texture.h"
#include <gm/gmBind.h>
#include <gm/gmBindFuncGen.h>
#include <common/Debug.h>
#include <gl/glew.h>
#include <il/il.h>
#include <il/ilu.h>
#include "TextureManager.h"
namespace funk
{
Texture::Texture(): m_id(0), m_texSlot(-1), m_bManaged(true), m_bound(false)
{;}
Texture::Texture( int width, ... | [
"kalin.eh@gmail.com"
] | kalin.eh@gmail.com |
f14250161105ab25be4bcc64e6e91ff0a6e5351e | dcb85b9b6c093c93bca2a1d1549702c69d47a23e | /app/rdo_studio/src/tracer/tracer_result.cpp | 7d1593f61617a5085f29bf923185a8ca8c91f58f | [
"MIT"
] | permissive | MachinaDeusEx/rdo_studio | c7c2657187099da9c2c15104df6735a337f01a0b | 9c9c5df518a83ef8554b0bc1dc30a9e83ad40a4a | refs/heads/master | 2020-08-04T14:38:35.726548 | 2015-12-06T17:40:02 | 2016-04-15T08:14:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | cpp | // ---------------------------------------------------------------------------- PCH
#include "app/rdo_studio/pch/tracer_pch.h"
// ----------------------------------------------------------------------- INCLUDES
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
// ----------------------------------... | [
"drobus@gmail.com"
] | drobus@gmail.com |
e9e495f9343246e413c775bf5b705776e4fe0a4f | efedfc9e45a2d8752dab16fe1768c296b7bbe6c2 | /Engine/Source/script_logger/scriptlogger.cpp | 6ee738c42414562b1f787967597d04e705c0f2d3 | [
"MIT"
] | permissive | NuLL3rr0r/udk-native-logger | 0f2e8db55c332839231267bf0d2731e0ed51d242 | 91dba58f0761b9cb98814b4dce461fbe58853948 | refs/heads/master | 2021-01-10T15:02:00.928801 | 2012-09-30T20:30:00 | 2012-09-30T20:30:00 | 47,872,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | cpp | #include "scriptlogger.hpp"
#include "log.hpp"
using namespace UScriptLogger;
ScriptLogger::ScriptLogger()
{
Log::Initialize("ScriptLogger");
NOTICE("ScriptLogger Initialized");
}
ScriptLogger::~ScriptLogger()
{
}
void ScriptLogger::Assert(const std::string &condition, const std::string &message, const std::stri... | [
"info@babaei.net"
] | info@babaei.net |
dc38737e26a5356384ed2a0fb77bb323b35aef5c | 3273254d14110fc3c050cbbb9a3ac98d9b198c22 | /CarRx/Output.ino | 71cf8022b53b3e7fb9f59c203bacca1417774047 | [] | no_license | mactep8/RC_Car | d411f6d51a163075b8899f1bfddf0b7aada6e140 | 6d0411ab62a345d93909adcbc5819ae57068f666 | refs/heads/master | 2021-01-13T01:40:04.880459 | 2015-01-20T10:24:09 | 2015-01-20T10:24:09 | 26,306,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,184 | ino | #include "Output.h"
volatile uint8_t cnt = 0;
volatile uint8_t curr_chA=1;
void Timers_Init()
{
TCCR1B = 0; //stop timer
TCCR1A = 0;
TCNT1 = 0; //setup
TCCR1A = 0;
TCCR1B = 0<<CS12 | 1<<CS11 | 0<<CS10;
TIMSK1 = (1<<OCIE1A) | (1<<OCIE1B); // Разрешить прерывание по совпадению
OCR1... | [
"mactep8@users.noreply.github.com"
] | mactep8@users.noreply.github.com |
cccfb6c92b3e8f3a05cd2fbb0d867a0983a99071 | 8e966c3ac3bdee2412b40685dd4a0fc055e0b97e | /src/dxvk/dxvk_buffer.h | 9e8923879ce07db8ca6d8aedfb25c6d28e5e14aa | [
"LicenseRef-scancode-warranty-disclaimer",
"Zlib"
] | permissive | shaunstanislauslau/dxvk | 8796c519a3ea1d0f79cb21d2c6359e9f22e7c60f | 1da23755b71f948b3cb6350fe180c0762ff48073 | refs/heads/master | 2021-05-10T13:13:53.734659 | 2018-01-22T13:31:53 | 2018-01-22T13:31:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,664 | h | #pragma once
#include "dxvk_buffer_res.h"
namespace dxvk {
/**
* \brief Virtual buffer resource
*
* A simple buffer resource that stores linear,
* unformatted data. Can be accessed by the host
* if allocated on an appropriate memory type.
*/
class DxvkBuffer : public RcObject {
public... | [
"philip.rebohle@tu-dortmund.de"
] | philip.rebohle@tu-dortmund.de |
a0b0aeaf3fdc17048501058cc7d0fd4fc770e60a | 83ceea39302102c1cca4634267d7b0dc56c8624c | /Log.h | 7663202f2148d51786ec0fc692b1ce6e61c412d8 | [] | no_license | jrz371/SDL-3D-Renderer | e553a0f24ae585793755a5daa3a5eb47e8e43c02 | ae7428bc4cedb3b062ada68012536c73f124b2b1 | refs/heads/master | 2021-09-27T07:53:23.662338 | 2017-08-20T15:08:13 | 2017-08-20T15:08:13 | 100,865,162 | 3 | 3 | null | 2021-09-14T12:29:05 | 2017-08-20T13:59:01 | C++ | UTF-8 | C++ | false | false | 389 | h | #pragma once
#include <fstream>
#include <string>
using namespace std;
enum LOG_TYPE
{
ERROR = 0,
WARNING = 1,
MESSAGE = 2
};
//simple logger for putting messages in a debug txt file
class Log
{
public:
//opens the file
static void Init();
//adds text to file
static void SendMessage(string message, LOG_TYPE l... | [
"joshuakennedy102@gmail.com"
] | joshuakennedy102@gmail.com |
b8af8cfbb7c3b9092b80f9282f71975eee0ef242 | 271cbe3a1c79ad1286e330493ad97b62e100c681 | /engine/apps/util.h | f7428737dbd6049ef7debe2958c0ec6647216355 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nilsoberg2/rvrmeander | 61695e669bf4602d5e9bf6f5ed92d9120f2ce6b3 | 9732129e223eb25e9555298bc285f7daff7b6bc2 | refs/heads/master | 2021-05-31T17:21:11.202511 | 2016-04-25T16:12:54 | 2016-04-25T16:12:54 | 56,606,302 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 242 | h | #ifndef __UTIL_H____________________________20101003223535__
#define __UTIL_H____________________________20101003223535__
#include <string>
std::string ToLower(std::string in);
#endif//__UTIL_H____________________________20101003223535__
| [
"nilsoberg@gmail.com"
] | nilsoberg@gmail.com |
1fbaff9b3706e072e346522f36b91168dc5417fd | 8e6353fc1f7f2b186964417c7173e62fd435c0cb | /CL11-2/T31MANDW/COMPL.H | 27575d8ffc5b43d341d3ff91e6d96272436c38a0 | [] | no_license | Sleeping-Monkey/School | 1fefc34082ad3d43ebd40c355212906d5ed7cd89 | 28cd2e0e41e0b5fbaafb8a3b7c60e2dbbe8f1b68 | refs/heads/master | 2021-06-09T20:21:47.479289 | 2021-05-24T09:02:49 | 2021-05-24T09:02:49 | 168,291,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,535 | h | /*Romanova Polina 11-2 25.09.2014*/
#include <glut.h>
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <time.h>
#define byte unsigned char
#define ys 2.0
#define xs 2.0
#define H 500
#define W 500
using namespace std;
double SyncTime;
void Timer(void)
{
long t;
static long StartTime = -1;
t ... | [
"appa.romanova@yandex.ru"
] | appa.romanova@yandex.ru |
35e0b29a1b7a653ddc8680155d7e191918579136 | 3ca76cceaad27d8e6e8cd2da2f6c1ebd781df4ab | /src/humanoids/humanoids.hpp | 954ad94003c1772f2a948ed085435ca99f6d6721 | [] | no_license | ibrahima/trajopt | fc81e2c97a5c5121b66a433c791bace2ee9d52c6 | b4e023b6a11ec1a0531862b4ae5f2329a2d5ef87 | refs/heads/master | 2021-01-18T14:36:15.821428 | 2013-01-16T03:38:36 | 2013-01-16T03:38:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | hpp | #pragma once
#include <Eigen/Core>
#include <trajopt/common.hpp>
namespace trajopt {
using Eigen::MatrixX2d;
struct ZMP: public Constraint, public Plotter {
RobotAndDOFPtr m_rad;
VarVector m_vars;
MatrixX2d m_ab, m_pts;
VectorXd m_c;
ZMP(RobotAndDOFPtr rad, const MatrixX2d& hullpts, const VarVector& vars);
... | [
"john.d.schulman@gmail.com"
] | john.d.schulman@gmail.com |
57f7f8c43155a6229c1eafb86600629b573fd04c | 06aacff15fee2fad470876f4d4bf6fac1d9c6d60 | /src/compiler/serializer-for-background-compilation.h | 549d538d89d82eb22f758b1e7578cabfb786e300 | [
"BSD-3-Clause",
"SunPro",
"bzip2-1.0.6",
"Apache-2.0"
] | permissive | zanywhale/v8 | 64dea619a28b4de8f35228a815c1b7ef1c9ec615 | 878ccb33bd3cf0e6dc018ff8d15843f585ac07be | refs/heads/master | 2020-05-26T10:04:34.573077 | 2019-05-23T07:47:44 | 2019-05-23T07:52:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,613 | h | // Copyright 2018 the V8 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.
#ifndef V8_COMPILER_SERIALIZER_FOR_BACKGROUND_COMPILATION_H_
#define V8_COMPILER_SERIALIZER_FOR_BACKGROUND_COMPILATION_H_
#include "src/base/optional.h... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
455f82e5555680b0bbea9a902b298a224f5b46bc | 2feb7b99e4b0c9d74a8ac7d365b7f7d7722c58cc | /Introduccion/mayor menor 3 numeros.cpp | c7a06af19da6d3645ad5f9e6c3ea23ec1e9bc02e | [] | no_license | AlexeiVazquez/Funciones | ff289c2f43c22f3fffc12ad3a7536917f19f004b | 9beaf150785b8fe2b3775d16d01c7bf3ae20c551 | refs/heads/main | 2023-03-07T19:31:02.699340 | 2021-02-26T22:14:25 | 2021-02-26T22:14:25 | 342,694,254 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include<iostream>
int max(int,int);
using namespace std;
int main(){
int a,b,d;
cout<<"Introduzca el valor del primer numero: "<<endl;
cin>>a;
cout<<"Introduzca el valor del segundo numero: "<<endl;
cin>>b;
cout<<"Introduzca el valor del tercer numero: "<<endl;
cin>>d;
int max1=max(a,b);
int max2=... | [
"noreply@github.com"
] | noreply@github.com |
2c915e6fdd43c26249e381c822ce1ba18e9cc5e4 | 64ddbe223960a7b054e124741314e6bc8a8ccd5a | /Prácticas/Práctica 3/19082019/pro2_3.cpp | 81232ec8c2d54496710cdf7265499ee1311150ab | [] | no_license | eerick1997/Sistemas-distribuidos | 04b35613a40d2a70d7867c47ddfd4ddb8fac88a7 | 23a940ad0eaf5f618f5cf9450f40f18950a2e746 | refs/heads/master | 2020-06-30T06:38:28.762451 | 2019-11-25T17:55:57 | 2019-11-25T17:55:57 | 200,757,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | #include "Fecha.h"
#include <iostream>
using namespace std;
int main(){
Fecha a(19, 8, 2019);
cout << a.convierte() << endl;
}
| [
"noreply@github.com"
] | noreply@github.com |
7042960a72608091371702368fa9a7c64c50df39 | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/C_Human2CarWrapper.h | 45507becd61011b2b9276ebfcef1c47fbc17f3e2 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 372 | h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <I_Human2WrapperBase.h>
/** C_Human2CarWrapper (VTable=0x01E74960) */
class C_Human2CarWrapper : public I_Human2WrapperBase
{
public:
virtual void vfn_0001_192B64D9() = 0;
virtual void vfn_0002_192B64D9() = 0;
virtual void vfn_0003_192B64... | [
"hopk1nz@gmail.com"
] | hopk1nz@gmail.com |
7a0833a3505ef5507933ac9b0a71e7be6f4cae6e | 0d4e28f7e9d961e45d32a4735ad7c1f76bbda34a | /ocs2_ocs2/include/ocs2_ocs2/upper_level_op/UpperLevelConstraints.h | 6ed98b737d50dc0bc8e9a440f2febadf14d9a647 | [
"BSD-3-Clause"
] | permissive | RoboMark9/ocs2 | a4fc0c215ccb3a86afeffe93b6a67fb0d9dd9450 | b037d819c9a02a674de9badb628b32646ce11d6a | refs/heads/main | 2023-08-29T15:20:07.117885 | 2021-10-20T13:09:37 | 2021-10-20T13:09:37 | 453,286,119 | 1 | 0 | BSD-3-Clause | 2022-01-29T03:30:28 | 2022-01-29T03:30:27 | null | UTF-8 | C++ | false | false | 4,106 | h | /******************************************************************************
Copyright (c) 2017, Farbod Farshidian. 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 mu... | [
"farbod.farshidian@gmail.com"
] | farbod.farshidian@gmail.com |
8c5f5721354939902418c730c63d03a15a20af5e | 7bf9f6a72e0af4cf53b8a644a0104f19250fae8e | /core_test/inifile_test.cpp | 4f36729581771f5fb12809f4a08b72be72c789e7 | [] | no_license | dylancarlson/wwiv | 2fcbbad872bd8f9f071f8fd1e004afc0c00efba7 | 981f86ef636fe6ec36848719de1fd58cf611f364 | refs/heads/master | 2021-01-25T05:34:22.011234 | 2014-07-28T05:56:07 | 2014-07-28T05:56:07 | 22,399,478 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,620 | cpp | /**************************************************************************/
/* */
/* WWIV Version 5.0x */
/* Copyright (C) 2014, WWIV Software Services */
/* ... | [
"rushfan@efe8ed7e-8846-41e4-9041-cb610019eb92"
] | rushfan@efe8ed7e-8846-41e4-9041-cb610019eb92 |
cb166f32d3980dfb65a35619d01aa07c1970d6e9 | 8faeab92fe4cc5f7bf177776154fe4dd246389aa | /repetition-structure/exer 04/exer 04.cpp | b06f64b01a888736b5ce4b59233924fee23725b3 | [] | no_license | LuannMateus/c-exercises | 1bea73f3ca969a30c3cb6264082a08b81dede9dd | 6d0ea36395019f8c658f1335a54f28e459396607 | refs/heads/master | 2022-11-13T13:40:52.166974 | 2020-07-01T19:34:01 | 2020-07-01T19:34:01 | 273,738,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <iostream>
#include <stdlib.h>
// 4
using namespace std;
int main(){
int num, c, soma;
cout << "Digite um número que voce queira multiplicar: ";
cin >> num;
soma = 0;
for (c = 1 ; c <= 10; c++){
soma = num * c;
cout << num << " * " << c << " = " << soma << "\n";
}... | [
"luanmateuslima34@gmail.com"
] | luanmateuslima34@gmail.com |
d8ea4b56190270244b31f8b991c5d719f2b9e510 | aa7eca0eeccc7c71678a90fc04c02dce9f47ec46 | /Codes_13TeV/LimitTool_HiggsCombine/ExcitedQuarks/RootTreeAnalyzer/scripts/SoverB.cc | 987e7163d9d11b3b91ebcb9c5a2102398d21c3a3 | [] | no_license | rockybala/Analyses_codes | 86c055ebe45b8ec96ed7bcddc5dd9c559d643523 | cc727a3414bef37d2e2110b66a4cbab8ba2bacf2 | refs/heads/master | 2021-09-15T10:25:33.040778 | 2018-05-30T11:50:42 | 2018-05-30T11:50:42 | 133,632,693 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,508 | cc | #include "TCanvas.h"
#include "TDirectory.h"
#include "TF1.h"
#include "TFile.h"
//#include "TFitResult.h"
#include "TGraph.h"
#include "TGraphErrors.h"
#include "TGraphAsymmErrors.h"
#include "TH1D.h"
#include "TH2D.h"
#include "THStack.h"
#include "TLegend.h"
//#include "TMinuit.h"
#includ... | [
"rgarg@cern.ch"
] | rgarg@cern.ch |
ee97a55adc71db766e4a7c3b41c0b0cfc0840236 | 05f7573db159e870fb26c847991c4cb8c407ed4c | /VBF/Source/VBF_CORE4.0/VBF_Public/VBF_Engine/VBF_SceneGraph/VBFO_StateAttrLogicOp.h | 522592d4badf5898259702820eee992434c718ca | [] | no_license | riyue625/OneGIS.ModelingTool | e126ef43429ce58d22c65832d96dbd113eacbf85 | daf3dc91584df7ecfed6a51130ecdf6671614ac4 | refs/heads/master | 2020-05-28T12:12:43.543730 | 2018-09-06T07:42:00 | 2018-09-06T07:42:00 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,691 | h | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with ... | [
"robertsam@126.com"
] | robertsam@126.com |
9f6c4057caf0d969f61fddcd6a386ba8f2126ea9 | a071d07770b2bc654fec15d916df5966c19ec377 | /src/io/model_importers/CompositeFileImporter.cpp | 8a86a988ed2c7eef7067abb4823190e8e9bf311a | [] | no_license | joshi1983/UAVSim | 8381ab53713a17e63fdb7b9222dfd3e0ce2a396c | 6ca74fb85158c2ef8b342cca38720a370fefb2e7 | refs/heads/master | 2023-07-06T04:58:16.386970 | 2021-08-06T19:16:19 | 2021-08-13T03:36:42 | 359,058,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | cpp | #include "CompositeFileImporter.hpp"
#include "OBJFileImporter.hpp"
#include "OFFFileImporter.hpp"
#include "OSMFileImporter.hpp"
#include "PLYFileImporter.hpp"
#include "STLFileImporter.hpp"
#include "TRIFileImporter.hpp"
#include "UAVSimBinaryFileImporter.hpp"
#include "WRLFileImporter.hpp"
#include "X3DFileImporter.... | [
"josh.greig@gmail.com"
] | josh.greig@gmail.com |
f72fcf0217ae56413ecc84eb27826d1d38d57b62 | 8d3f7af580e9c2c335bf8ca01954521258af730a | /Codechef Dec 2020/VACCINE2.cpp | fce41bbf3fb0295f5f131af209a3a012c1f61973 | [] | no_license | mr-kotresh-gb/Codechef-Long-Challenges | 632b3d918b681cdb79c0a5d7163eeac9da0bcc0e | 17ea1252b94ded3626e35055868edcfb27086991 | refs/heads/main | 2023-02-09T11:56:04.051898 | 2021-01-04T03:12:45 | 2021-01-04T03:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | /*
Question link -> https://www.codechef.com/DEC20B/problems/VACCINE2
Code By -> Kotresh G B
Date -> 04/12/2020
*/
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll t;
cin >> t;
while(t--)
{
ll n, d;
cin >> n >> d;
ll a[n], ris... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.