blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c59cbf0147cf14b5008bf568c0823726293fa688 | e1b8c362dc9f8d09b056eff59bbe4c33cc418fd1 | /common/include/MemoryPool.hxx | 6b9d703d768ed0def763ca019abdb08e0302b8ee | [
"MIT"
] | permissive | zhaoyaogit/matching-engine | ab36fe75bb5076e0c17b29d1096db1c3b50a118a | 090a7e7414f478f1424a50668e3f5c2417646ba7 | refs/heads/master | 2022-01-05T06:06:37.152603 | 2018-09-29T14:08:43 | 2018-09-29T14:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,787 | hxx | /*-
* Copyright (c) 2013 Cosku Acay, http://www.coskuacay.com
*
* 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, co... | [
"faulaire@pc-ubuntu.home"
] | faulaire@pc-ubuntu.home |
293fb0b8c85cc4c985ab43c176fdd1fc9be7f543 | d1f11d6a04b115e57dc0a2e517b9bb81c7a0a31b | /K_引用和拷贝构造函数/B_C++中的引用/B_Reference.cpp | a2eb46b2e2013dc08c69a35122736dcce4ee49bc | [] | no_license | syzwdong/ThinkingInCppNote | 36973cd20a167d845128a2b6b6e9aed0f187d86c | 7cd23b72c0e2253773df57bc19d32f5a29278192 | refs/heads/master | 2023-03-19T23:31:49.422074 | 2018-02-14T17:44:55 | 2018-02-14T17:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | //
// Created by 何时夕 on 2018/1/1.
//
int *f(int *x) {
(*x)++;
return x;
}
int &g(int &x) {
x++;
return x;
}
int &h() {
int q;
// return q; q的内存在函数结束的时候 就被回收了 所以引用就不知道指向那一块内存
static int x;
return x;// 安全 因为static的 内存在程序结束的时候才回收
}
int main() {
int a = 0;
f(&a);
g(a);
}
/**
... | [
"a1018998632@gmail.com"
] | a1018998632@gmail.com |
43e6ec4e1f0241081fba36f331a9ed6bc19c2416 | 648522d1909a6120cb6018ba832e16980797288e | /src/yappari-application/Gui/profilepicturewindow.cpp | 5bd4821d91f9abc7170cd5d771a503ff0454425f | [] | no_license | agamez/yappari | 169b64a6dd227feef5fb4fb7baee24b35f5346cf | 8880b5f77112351852d19a86462b082b2b3ffca3 | refs/heads/master | 2021-01-17T09:00:49.990383 | 2016-04-15T09:12:36 | 2016-04-15T09:12:36 | 26,725,930 | 21 | 9 | null | 2015-03-30T08:26:58 | 2014-11-16T19:53:06 | C++ | UTF-8 | C++ | false | false | 8,260 | cpp | /* Copyright 2013 Naikel Aparicio. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions an... | [
"alvaro.gamez@hazent.com"
] | alvaro.gamez@hazent.com |
5a2755d72cfd6fa313268e684106389776c81adb | d4d5a0bc519294e4b3f312048dd52cf9264b7e29 | /HDU/6180/18974911_WA_0ms_0kB.cpp | 119f2d5869210d34bec037b2cf502eb632d8d859 | [] | no_license | imhdx/My-all-code-of-Vjudge-Judge | fc625f83befbaeda7a033fd271fd4f61d295e807 | b0db5247db09837be9866f39b183409f0a02c290 | refs/heads/master | 2020-04-29T08:16:24.607167 | 2019-07-24T01:17:15 | 2019-07-24T01:17:15 | 175,981,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | #include<bits/stdc++.h>
using namespace std;
struct ac
{
int x,y;
}que[100005];
bool cmp(ac q,ac p)
{
if (q.y==p.y) return q.x<p.x;
return q.y<p.y;
}
multiset<int> s;
int main()
{
int T;
scanf("%d",&T);
while (T--)
{
s.clear();
int n;
scanf("%d",&n);
for (int ... | [
"mhdxacmer@126.com"
] | mhdxacmer@126.com |
654b69a6e07287446162df5fdcf7a83c417c0840 | 1d8c4bcdb559d46b9fc8d01facdb80a93bf6727d | /src/third_party/zlib-1.2.11/contrib/iostream2/zstream_test.cpp | aed0154a20654d9787603d3a4e389f8570ce24a6 | [
"Zlib",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | lxy0xff/OpenArkCompiler | b7ca2986c38f38a14a105ce3ffcece7b4e02fe9e | ed0e189d61154f7d057184e0c16ebd4c250413d9 | refs/heads/master | 2020-07-15T01:49:10.870511 | 2019-08-30T20:57:49 | 2019-08-30T20:57:49 | 205,452,468 | 0 | 0 | null | 2019-08-30T20:28:07 | 2019-08-30T20:28:07 | null | UTF-8 | C++ | false | false | 1,289 | cpp | /*
* Copyright (c) [2019] Huawei Technologies Co.,Ltd.All rights reverved.
*
* OpenArkCompiler is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*
* http://license.coscl.org.cn/MulanPSL
*
* T... | [
"himself65@outlook.com"
] | himself65@outlook.com |
8ef5a203656a7056354fc28f8e70b4b23795ff63 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2716_last_repos.cpp | 4fa3a5b4d5da6230b0ccf028f41268f882485fdb | [] | 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 | 317 | cpp | static void ev_pre_close(h2_proxy_session *session, int arg, const char *msg)
{
switch (session->state) {
case H2_PROXYS_ST_DONE:
case H2_PROXYS_ST_LOCAL_SHUTDOWN:
/* nop */
break;
default:
session_shutdown(session, arg, msg);
break;
}
} | [
"993273596@qq.com"
] | 993273596@qq.com |
fabca5af02e564273e084b7ab671dbceaf11e666 | 87aba51b1f708b47d78b5c4180baf731d752e26d | /Replication/DataFileSystem/PRODUCT_SOURCE_CODE/chromium/webkit/plugins/npapi/plugin_list_posix.cc | 28fe5a93577c7203302e7567adb08b893956d2a5 | [] | no_license | jstavr/Architecture-Relation-Evaluator | 12c225941e9a4942e83eb6d78f778c3cf5275363 | c63c056ee6737a3d90fac628f2bc50b85c6bd0dc | refs/heads/master | 2020-12-31T05:10:08.774893 | 2016-05-14T16:09:40 | 2016-05-14T16:09:40 | 58,766,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,217 | cc | // Copyright (c) 2011 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 "webkit/plugins/npapi/plugin_list.h"
#include <algorithm>
#include "base/cpu.h"
#include "base/file_util.h"
#include "base/path_service.h"
... | [
"jstavr2@gmail.com"
] | jstavr2@gmail.com |
9c3d36e44c0426215866d7215a9bfd035b1ce706 | d415331f79554c3384ed5e31b82b3f06722f7c3c | /LongRmDir.cpp | 8cd951f5687608d4a6b0081189f9a2ded817dc91 | [
"MIT"
] | permissive | chentiangemalc/LongRmDir | 74d360b4d00a436c2f72d10041e79f9c7cb5e994 | 4a870688f10620b7368a528af761a58e3430f29a | refs/heads/main | 2023-02-28T01:54:56.511930 | 2021-02-04T11:25:04 | 2021-02-04T11:25:04 | 335,884,790 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,587 | cpp | // LongRmDir.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#define _WIN32_WINNT 0x0501
#include <iostream>
#include <Windows.h>
#include <accctrl.h>
#include <aclapi.h>
#pragma comment (lib,"Advapi32.lib")
#define IsDirectory(a) ((a) & FILE_ATTRIBUTE_... | [
"noreply@github.com"
] | chentiangemalc.noreply@github.com |
8582636588b1989d294802fb7f700cef1bdbb1d2 | 0f41a3350f5267b25b1757142b430fe7b838a124 | /SRC/game/pacman/Pacman.cpp | 0ece95e298ca57ca2d791251f360f6f5d16a0dd0 | [] | no_license | imadKimouche/Arcade | d99d4f98de819b5ff5479f8549107a0acd118d51 | 13f0d6037d5eb9e665bd95286388981f93e0bf5d | refs/heads/master | 2020-03-24T08:44:56.558623 | 2018-07-27T17:49:17 | 2018-07-27T17:49:17 | 142,606,210 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,327 | cpp | /*
** EPITECH PROJECT, 2018
** Arcade - Pacman
** File description:
** PacmanPlayer.cpp
*/
#include "Pacman.hpp"
Pacman::Pacman(Data *data, PacBoard *board, PacGame *game)
{
setCoordImg({1 * 32, 4 * 32});
setSize({32, 32});
setFont(PFont_t{255, 255, 0, 255, 1, ""});
setTermpic("C");
_life = 3;
_game = gam... | [
"imad.kimouche@epitech.eu"
] | imad.kimouche@epitech.eu |
aa20b7b8da181c375f63c7600c46751604769ba6 | 88f6c3cb02a0d7ddbc391d659d662dda5c5f0ba3 | /List/Last.h | 1c9d480c917c14ed086c6fed9e26014fa8680488 | [] | no_license | LYN088286/Data_Structure_Algorithm_Cpp | 4677e11a69f2ce2143a796bc7dc581544c91aaf4 | 0a598589bcb86d6e06fe4838b70213370ebfce34 | refs/heads/main | 2023-07-16T19:17:26.335917 | 2021-08-28T09:23:10 | 2021-08-28T09:23:10 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 111 | h | #pragma once
template <typename T>
listnode<T>* List<T>::Last()
{
return tailer->pred; //·µ»ØÎ²²¿
} | [
"1306014226@qq.com"
] | 1306014226@qq.com |
b24e4a190d5e292ae205027b91f44190a7999303 | d6f9c24876b4856cf8b696fac435b4a573e21888 | /display.hpp | 00082f4cd62c92e56d10be32577f44fdbe6090e4 | [] | no_license | antonyalkmim/Thermometer | d1d508f0336d968094dd36cdb6eeef59d40e45b9 | 7313f61cad13aff76d1e89d1cf0df2447c8a4dcf | refs/heads/master | 2021-01-20T20:11:01.653856 | 2016-06-29T22:14:06 | 2016-06-29T22:14:06 | 61,497,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | hpp | /**
* Biblioteca DISPLAY
*/
#include <avr/pgmspace.h>
#define LCD_COMMAND 0
#define LCD_DATA 1
#define LCD_CLEAR 0x01 //limpa o display
//cursor commands
#define LCD_CURSOR_RESET 0x02 //volta o cursor para primeira coluna e primeira linha
#define LCD_CURSOR_ON 0x0E; //liga cursor
#define LCD_CURSOR_OFF 0x0C; //des... | [
"antony-alkmim@hotmail.com"
] | antony-alkmim@hotmail.com |
b3e0c0e7c349c169ef09c676359119fe28950e0e | 6e59bf5c3f287024ac3eaa4e1e45bb703f3ce545 | /QtCreator/FindCrap/main.cpp | 4e13df21d6b0be3a51c532955e3a60de2e2353cf | [] | no_license | N0683858/Code_files | 47062ed1f0ef43a113da2641d27fab5e622681ee | 7d4e25dfa5a609c464ae4c61a46315deb37b3857 | refs/heads/master | 2022-09-21T20:58:37.049220 | 2019-10-21T23:12:18 | 2019-10-21T23:12:18 | 128,095,939 | 0 | 0 | null | 2022-08-31T22:22:20 | 2018-04-04T17:20:31 | CSS | UTF-8 | C++ | false | false | 1,687 | cpp | #include "findcrap.h"
#include <QApplication>
#include <QFile>
#include <QTextStream>
#include <QDebug>
#include <iostream>
#include <vector>
void Write(QString fileName);
void Read(QString fileName);
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
// FindCrap w;
// w.show();
Write("Te... | [
"N0683858@my.ntu.ac.uk"
] | N0683858@my.ntu.ac.uk |
a244d92d62507395dc6ea0b99029978cc116aca5 | 364e5cd1ce6948183e6ebb38bd8f555511b54495 | /LIWorks/vernal/server/include/LIWorksServer.h | 7cbe1206d613f451475d6044b3c0d70858cc8417 | [] | no_license | danelumax/CPP_study | c38e37f0d2cebe4adccc65ad1064aa338913f044 | 22124f8d83d59e5b351f16983d638a821197b7ae | refs/heads/master | 2021-01-22T21:41:11.867311 | 2017-03-19T09:01:11 | 2017-03-19T09:01:11 | 85,462,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | /*
* LIWorksServer.h
*
* Created on: 2016年1月31日
* Author: root
*/
#ifndef LIWORKSSERVER_H_
#define LIWORKSSERVER_H_
#include <iostream>
#include <string>
#include "EPCWorker.h"
#include "MessageQ.h"
#include "TcpServerSocket.h"
#include "XMLParse.h"
#include "WorkEngine.h"
#include <WorkEngineManager.h>
#... | [
"474198699@qq.com"
] | 474198699@qq.com |
6919c05a76f103e8d95257c2b6123e0fa5770027 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_hunk_2862.cpp | 02c3649d6888910f7ddf098ffbab56cebf8e63eb | [] | 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 | 482 | cpp | */
refresh_cache(REFRESH_QUIET);
if (allow_trivial && fast_forward != FF_ONLY) {
/* See if it is really trivial. */
git_committer_info(IDENT_STRICT);
printf(_("Trying really trivial in-index merge...\n"));
if (!read_tree_trivial(common->item->object.oid.hash,
head_commit->object.oid.hash,... | [
"993273596@qq.com"
] | 993273596@qq.com |
8c2278b729f7248091467daf6fe263751a5ac2e0 | c0d88ca5fb78d9ce2b0162bf7967466f8eefacb6 | /stc_embed_c.cpp | 94742f33118babf6872213e0fbd4d80a50aafdc8 | [] | no_license | zhangling48/pySTC | cfaa84786a9657d9bfbcd83341009fe479745a8f | 5bec5e97bf3a8556b7554a1638ee50df4c271f4d | refs/heads/master | 2022-04-18T05:15:21.219843 | 2019-03-18T12:04:00 | 2019-03-18T12:04:00 | 255,926,495 | 0 | 0 | null | 2020-04-15T13:33:20 | 2020-04-15T13:33:19 | null | UTF-8 | C++ | false | false | 18,149 | cpp | #include <cstdlib>
#include <cstring>
#include <cmath>
#include <cfloat>
#include <limits>
#include <emmintrin.h>
#include <cstdio>
#include <sstream>
#include "stc_embed_c.h"
void *aligned_malloc( unsigned int bytes, int align ) {
int shift;
char *temp = (char *) malloc( bytes + align );
if... | [
"dlerch@gmail.com"
] | dlerch@gmail.com |
0e52232a5f0c78b952c52a84b326d6bf062c7e08 | 1106985164494c361c6ef017189cd6f53f6009d4 | /06 Array/Source Files/Z_others/FindtheSmallestPositiveNoinUnsortedArraywithNegativeNums.cpp | e8f4bffd6281ea6f73a873a6a5e41fa40d429dda | [] | no_license | SlickHackz/famous-problems-cpp-solutions | b7f0066a03404a20c1a4b483acffda021595c530 | f954b4a8ca856cc749e232bd9d8894a672637ae2 | refs/heads/master | 2022-08-25T23:14:11.975270 | 2022-07-17T22:07:03 | 2022-07-17T22:07:03 | 71,126,427 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | #include<iostream>
using namespace std;
void Swap(int *a,int *b)
{
if(a!=b)
{
int temp = *a;
*a = *b;
*b = temp;
}
}
int segregatePosNeg(int arr[],int n)
{
int i=0,j=n-1;
while(i<j)
{
if(arr[i] < 0)
{
Swap(&arr[i],&arr[j]);
j--;
}
else
i++;
}
return j;
}
int getSmallestPositiveNum(int... | [
"prasath17101990@gmail.com"
] | prasath17101990@gmail.com |
5ac93a73bff1a24f971cab8d009a8a123c9f7ab1 | 47e1c788b47ca546fb19367c44204bdc9763d3ad | /include/pbj/sw/resource_id.inl | 36b4c8e391be17cb0ef40ab98a3c42b1897a20be | [
"MIT"
] | permissive | bcrist/PBJgame | 9a1bb00d9690a647e30a9ebc89e99926820c066b | 74682c061a96e90a41ae3c54f21da6f7cee17db5 | refs/heads/master | 2021-01-25T05:16:09.284707 | 2013-07-22T22:38:03 | 2013-07-22T22:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,348 | inl | // Copyright (c) 2013 PBJ^2 Productions
//
// 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, pub... | [
"ben@magicmoremagic.com"
] | ben@magicmoremagic.com |
f1735b747247563086256b7494dea19faccd1e56 | d3c777fffba101d399459f389d2bdf7ee47315f8 | /LinkedList/Remove_Duplicates_FromSortedListII.cpp | 869593a23237581c937ac8c0eb0f8ac5fe22cc64 | [] | no_license | zhangkeplus/LeetCode | db54601217c71fea86336cffcbe66eba33c299d5 | 389e268d143490ce03707291007a34263ccdd810 | refs/heads/master | 2021-01-01T15:30:24.895147 | 2014-12-11T07:29:01 | 2014-12-11T07:29:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode *deleteDuplicates(ListNode *head) {
ListNode *first = deleteSameHead(head);
if (first == NULL){
... | [
"zhangkeplus@gmail.com"
] | zhangkeplus@gmail.com |
612d17766cc98299a0cf9b3fec07d9001a7d7024 | 59672651deb4521a866bed9ce4648a1448c602c6 | /c++ programs/structured c++/pages of book read/main.cpp | 94a4fa54a2213d63c881359de12588bda8469244 | [] | no_license | muhammadahmadazhar/my-whole-programing | 46b4bbdc2091a192089a302f6520987351115fa4 | 5ffcbd9999085f1795a12e419845c9a3ec4397b4 | refs/heads/master | 2020-09-06T00:17:59.437892 | 2020-03-24T19:49:49 | 2020-03-24T19:49:49 | 220,252,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include <iostream>
#include<conio.h>
using namespace std;
int main()
{
int tp,rp,remp,days;
cout<<"input total number of pages of a book ,no of pages read a person output no of pages read and no of pages remaining"<<endl;
cout<<"total pages=";
cin>>tp;
cout<<"read pages=";
cin>>rp;
cout<<"... | [
"muhammadahmadazhar16@gmail.com"
] | muhammadahmadazhar16@gmail.com |
1dd77f5de96fb582a8c3cca1b68404932fd7fc4f | 3fc856fb394f76bb1b58401abde83d13b8ac8df1 | /testing/JSBatteryLevel/Unit1.cpp | bcc3e0c368179d3f3677cbf54cf09038855381b8 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSL-1.0"
] | permissive | TotteKarlsson/ArrayBot | 69d9ad26f7614ce36eb0aee919fd4868daef953c | d0e11186abd5b380ebba6e432f642d04a947e5aa | refs/heads/master | 2022-11-18T17:33:35.411944 | 2018-12-18T17:41:08 | 2018-12-18T17:41:08 | 57,317,749 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,653 | cpp | #include <vcl.h>
#pragma hdrstop
#include <XInput.h>
#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm... | [
"v-matsk@alleninstitute.org"
] | v-matsk@alleninstitute.org |
46237cc0ee730087a6ba53f253b0aa2b37899d7b | 6d2170b2e4413bd8a6e64472d679e04a4b7083d9 | /Labs/Lab15/Human.h | 4c44507ac31f5ef3799d2eea896e3ad8488ecd60 | [] | no_license | clbx/CS222 | ba817059401a1cc4d4defa3f9a24bbd031ce537e | c9663c9a084f044bf15ba0128cc4e05ad39ddd01 | refs/heads/master | 2021-03-24T10:01:59.397469 | 2018-05-08T17:24:21 | 2018-05-08T17:24:21 | 118,042,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | #ifndef HUMAN_H
#define HUMAN_H
#include <string>
using namespace std;
#define HUMAN_DEFAULT_STRENGTH 50
class Human
{
public:
/* Constructors */
Human(void);
Human(const string &name, int strength);
/* Destructor */
virtual ~Human(void);
string getName();
int getStrength();
int hurt(int damage);
int ma... | [
"clay@clbx.io"
] | clay@clbx.io |
ef63154bf61fa78adb437462a9d3bb69fb950228 | 42ff9c702e19ecc8f6b6905eb51f2f4832e2ba9f | /src/qt/forms/ui_blockexplorer.h | 1d777903bfa67be45ebfdc54d7d332c326b95939 | [
"MIT"
] | permissive | jgeofil/stakinglab-coin | 1abb409c0bba5c43ce3a58983441a4ae2d619c9f | 7f7c70590e85882deef15ad4c26940f24953d385 | refs/heads/master | 2022-11-05T16:11:01.140229 | 2020-06-29T18:29:45 | 2020-06-29T18:29:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,726 | h | /********************************************************************************
** Form generated from reading UI file 'blockexplorer.ui'
**
** Created by: Qt User Interface Compiler version 5.9.7
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*************************************... | [
"codemaster@stakinglab.io"
] | codemaster@stakinglab.io |
451ca51b0dd9909f96ee200d970f046b5cc108c3 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/106/249/CWE590_Free_Memory_Not_on_Heap__delete_array_char_static_67b.cpp | 585e6b1d2f8e18d1a1f49ff11e71546844a02018 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,306 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_char_static_67b.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-67b.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: static Data buffer... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
7ee5c2c3eb3190fc8546f418ba3294a24989d80a | 39b003b15d9cdf42483f43ee59293a935cd26ef1 | /RemoteV/RTSA_Remote/RemoteGuiPlugin/RtsaRemoteView/rtsa_dialog_tracesetup.cpp | 8f8467538bb3229a44b1cfa659ab53bd99e6c7f9 | [] | no_license | hanqianjin/kang | f16fb3835ecd850a3a86bb93f0679c878c82acab | cc40e6be18287a7a3269e50371f2850cd03bfb5d | refs/heads/master | 2021-06-25T23:47:54.108574 | 2020-11-20T02:46:25 | 2020-11-20T02:46:25 | 142,751,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,497 | cpp | #include "rtsa_dialog_tracesetup.h"
#include "ui_rtsa_dialog_tracesetup.h"
#include <QListView>
RtSa_Dialog_TraceSetup::RtSa_Dialog_TraceSetup(Rtsa_Remote_Interface *RtsaRemoteInterface,RtSa_Dialog_Digitinput *Input, QWidget *parent) :
QWidget(parent),
ui(new Ui::RtSa_Dialog_TraceSetup),
RemoteInterfaceObj... | [
"41859296+hanqianjin@users.noreply.github.com"
] | 41859296+hanqianjin@users.noreply.github.com |
2662098b2e6afc92996323f9aaf720bc69c5d345 | 10d33b9b5af6883568b293d0a81a79f3f422998f | /C++/模板方法模式/模板方法模式/main.cpp | 8facd560d5060081f2d5552607f35a6faed54ec3 | [] | no_license | wovert/CTutorials | 25d4f713e3be760838ce31c518413f4009b0f224 | a897587f111490d63b1c901ee4beab98c9a0b4bf | refs/heads/master | 2023-05-25T22:09:59.046479 | 2023-05-15T01:57:28 | 2023-05-15T01:57:28 | 127,814,474 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,566 | cpp | #include <iostream>
using namespace std;
class Drink {
public:
Drink() {
cout << "Drink 构造函数" << endl;
}
~Drink() {
cout << "Drink 析构函数" << endl;
}
virtual void Boil() = 0; // 煮水
virtual void Brew() = 0; // 冲泡
virtual void PourInCup() = 0; // 导入杯中
virtual void AddSonm() = 0; // 加点辅料
// 模板方法
void func(... | [
"wovert@126.com"
] | wovert@126.com |
d6620ef1ca64729d1429e367ebc09540890c458d | 7bb0e220876aa343b93d264f74059a5582c42581 | /assignment2/referee.h | db3fc2ca7c42b61a2c2f247bc2a7f37a2bfa0b6f | [] | no_license | hansenAdds/Algorithm-Design-and-Data-Structures | 84b04f28e70ef1234d56bb7fe5dc2c484f8145c7 | 5611ad4bbad1fff836078bf1e0ca377108be6d9b | refs/heads/master | 2022-12-06T06:13:29.378372 | 2020-08-04T01:11:48 | 2020-08-04T01:11:48 | 271,754,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | h | #ifndef referee_H
#define referee_H
#include "human.h"
#include "computer.h"
#include <string>
class referee{
std::string u;
public:
referee();
referee(std::string uu);
std::string compare(std::string n1,std::string n2);
~referee();
};
#endif | [
"noreply@github.com"
] | hansenAdds.noreply@github.com |
0c10d98624197482363eb049f7d2526cb4aa2887 | 2672edf16ce85ddaa63e9b2b2fc3d3eededa0736 | /driver/driver/MAIN.cpp | 22622430c0d545a59a5664d03df4cd417edbcec9 | [] | no_license | 2103962345/driver | 75d0e2546b2286c011289ce565413326698bb688 | 86aa327229a6cc6d6cc702b1ac5f7a41b2cab809 | refs/heads/master | 2020-03-22T19:40:52.414038 | 2018-07-11T08:27:31 | 2018-07-11T08:27:31 | 140,543,691 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 11,811 | cpp | //Использование классов
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <string>
#include <Windows.h>
#include <iomanip>
using namespace std;
#include "Auto.hpp"
#include "Person.hpp"
#include "Driver.hpp"
#include "B.hpp"
#inc... | [
"noreply@github.com"
] | 2103962345.noreply@github.com |
ebd6a113e872728f9c0afa90a31c2f55f055967c | 1d9df1156e49f768ed2633641075f4c307d24ad2 | /third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h | ecfc3a6c504b81c48daab5105e0921d71a7a6830 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | GSIL-Monitor/platform.framework.web.chromium-efl | 8056d94301c67a8524f6106482087fd683c889ce | e156100b0c5cfc84c19de612dbdb0987cddf8867 | refs/heads/master | 2022-10-26T00:23:44.061873 | 2018-10-30T03:41:51 | 2018-10-30T03:41:51 | 161,171,104 | 0 | 1 | BSD-3-Clause | 2022-10-20T23:50:20 | 2018-12-10T12:24:06 | C++ | UTF-8 | C++ | false | false | 5,574 | h | /*
* Copyright (C) 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | [
"RetZero@desktop"
] | RetZero@desktop |
4231304aeae6bf605711ad4033a49cd729a5a46a | 52a547a4e848896b88a3d466030439893d7ae69a | /ranges.hpp | 259dc039e7e97b4d2ba541a32ccb6f0d4e3e10b3 | [
"MIT"
] | permissive | ralphtandetzky/cpp_utils | b65ffb046332553aab0b4a601431c46cb8d360a2 | 3adfed125db6fccd7478385544b96ceecdf435e7 | refs/heads/master | 2018-12-06T06:42:47.783623 | 2018-10-30T18:05:31 | 2018-10-30T18:05:31 | 12,114,277 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,856 | hpp | #pragma once
#include "c++17_features.hpp"
#include "meta_programming.hpp"
#include "rank.hpp"
#include <algorithm>
#include <cassert>
namespace cu
{
/**********************
* Generic put method *
**********************/
namespace detail
{
template <typename OutputRange,
typename Value>
auto put... | [
"ralph.tandetzky@optimeas.de"
] | ralph.tandetzky@optimeas.de |
21f94018c7476145ef9a004c2595de40412e863f | a80e2a43286325005f47cd5751ac19f251ff8d6f | /blockdecoder/blockdecoder.cpp | 01817b7182237009e1b46d78b8f6ec3a78a317ae | [] | no_license | SuperCipher/cpp_slp_graph_search | 195c5a98ec80b016e9db89b1874322ee694047c2 | b5972918a622743c3d498d3397f3698aa18ed467 | refs/heads/master | 2023-07-24T07:09:59.740857 | 2021-08-06T23:57:26 | 2021-08-06T23:57:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <gs++/block.hpp>
int main(int argc, char * argv[])
{
if (argc < 2) {
std::cerr << "you must pass blockdata" << std::endl;
return 1;
}
const std::vector<std::uint8_t> blockhex = gs::util::unhex(std::string(... | [
"hello@blockparty.sh"
] | hello@blockparty.sh |
7cc212fde6c73256761ed77a9906b4d93ef46df9 | 63f4fa95ea42720cd48ff462c15442311d14fe88 | /minimum_distance_plugin.cpp | 43c8630257bcf71b6f5a9f0ffa6cee53986886f0 | [
"Apache-2.0",
"MIT"
] | permissive | sloretz/minimum_distance_plugin | d5eafcafeeaf08e8370be2257a5fd3863e5874ff | 288e114e2c80c638169247adc9a26b66be68760c | refs/heads/master | 2020-03-17T15:14:19.697445 | 2018-04-18T00:10:56 | 2018-04-18T00:10:56 | 133,703,259 | 0 | 0 | null | 2018-05-16T17:44:28 | 2018-05-16T17:44:28 | null | UTF-8 | C++ | false | false | 17,796 | cpp | /*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* 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 appl... | [
"grey@osrfoundation.org"
] | grey@osrfoundation.org |
f109588875226bba0b38a0e25b78c6cdff5f4aec | e51d009c6c6a1633c2c11ea4e89f289ea294ec7e | /xr2-dsgn/sources/WildMagic/SDK/Include/Wm4DistTriangle3Triangle3.h | 74d713c5bc67ac102f136010ebd016ad4234b343 | [] | no_license | avmal0-Cor/xr2-dsgn | a0c726a4d54a2ac8147a36549bc79620fead0090 | 14e9203ee26be7a3cb5ca5da7056ecb53c558c72 | refs/heads/master | 2023-07-03T02:05:00.566892 | 2021-08-06T03:10:53 | 2021-08-06T03:10:53 | 389,939,196 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,164 | h | // Wild Magic Source Code
// David Eberly
// http://www.geometrictools.com
// Copyright (c) 1998-2009
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 of the Licen... | [
"youalexandrov@icloud.com"
] | youalexandrov@icloud.com |
272732f9d6f1b6affdac5dc772fa9c0a205d64ed | 683dad6ccac9b0dadcab0e4b777991d9aee283fd | /Demo/Demo/Map.h | 2e7f0a57e049ff24f7cfab7e25c7c3e21c745150 | [] | no_license | AStoimenovGit/Median | a3cd7a420925db376acae057fc70451785421945 | b1b2ffb0eb40c43047b2611464e61b20671b9725 | refs/heads/master | 2020-04-05T17:26:27.043071 | 2018-11-13T09:55:46 | 2018-11-13T09:55:46 | 157,058,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | h | #ifndef _Map_h_
#define _Map_h_
#include <map>
#include "Median.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Map of values and number of their occurances
*/
template <class T, class Compare = std::less<T>>
class Map
: pu... | [
"alexander.stoimenov@gmail.com"
] | alexander.stoimenov@gmail.com |
d9a475ab81184ec53e822dc99737d3a06e9fa472 | 6cc96bf75229c8e2cd979af1cda272b5d9ad419c | /Con Nguoi/SV.cpp | 7edf44183ac6855dcd6793c716e27d490d43f003 | [] | no_license | vanhao051212/OOP | 6ad2cbbbc95ac4b44c3613b126c2b3e0e3c9c82f | 9067cd1ac0b185de5620d814277626fb1a60184e | refs/heads/master | 2020-04-07T11:41:38.992462 | 2018-11-28T02:30:23 | 2018-11-28T02:30:23 | 158,336,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | #include "SV.h"
SV::SV()
{
}
SV::SV(char HoTen[40], char DiaChi[100], char NgaySinh[20], bool GioiTinh) {
Person(HoTen, DiaChi, NgaySinh, GioiTinh);
}
void SV::SetInfo() {
std::cin.ignore();
std::cout << "Sv Truong: ";
gets_s(m_Truong);
std::cout << "Sv Nganh: ";
gets_s(m_Nganh);
std:: cout<< "N... | [
"noreply@github.com"
] | vanhao051212.noreply@github.com |
df9a05e7c94ccd7632c30999ccc80d054d9ca7f2 | cb0e53fdeb45451ead4fdf05cd7c2301fae22e42 | /C++Appna College/tut152_Graph_06.cpp | b6a9cb5d2b5b5a66f81d07e2b18ca5aac2a303cb | [] | no_license | Ritikkumar992/DSA-Fundamental- | 86909c4474abc2db873ceee15b5a4f4e3ac90bbe | 2f06995efb90a1b69f11bd05e8808b59f5e652d4 | refs/heads/master | 2023-07-14T13:52:28.010478 | 2021-08-27T17:57:59 | 2021-08-27T17:57:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | //Graph Topological Sort.
#include<bits/stdc++.h>
using namespace std;
int32_t main(){
int n,m; cin>>n>>m;
int cnt = 0;
vector<vector< int>> adj(n);
vector<int> indeg(n,0);
for(int i =0;i<m;i++){
int u,v;
cin>>u>>v;
//u---->v;
adj[u].push_back(v);
indeg[v]++... | [
"ritik151112@gmail.com"
] | ritik151112@gmail.com |
d62c110c7778ca9f99ac4e139a2d7ed10c52a6bf | 6388460fad6cc9236993cb34c77a08d677145b6a | /Loops/simpleForLoop.cpp | ec2f169a0a454f6603ae84e9bcdc893055c13b1c | [] | no_license | AlexHahnPublic/CPP_Practice | fe55b5600ea68a612ed8f006268fa35e57b0e6b5 | 47116984680cc54330d66bf55dc4efe9933316df | refs/heads/master | 2021-05-03T22:31:50.916435 | 2016-10-22T04:57:47 | 2016-10-22T04:57:47 | 71,617,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include <iostream>
using namespace std; // program needs to see cout and endl
int main()
{
// The loop goes while x<10, and x increases by 1 every loop
for ( int x=0; x <10; x++ ) {
cout<< x <<endl;
}
cin.get();
}
| [
"afh53@physics.cornell.edu"
] | afh53@physics.cornell.edu |
699e18e7b27713b1e76f54f0db84ad3bb0c34b41 | fc559e7f7b1e1d0aaf65407d14bd59b67ad1930f | /DAY06/ex04/koaladoctor.cpp | 8b9bd15695f5d45acbed8a9f5560c02ebdf60095 | [] | no_license | SarraDIF/CPP_POOL | 6d02d5c8dc66d5ced5f89d7408a9d379f2a8fed1 | fbdec8d5b70fa6212599345de82aaad96ab14610 | refs/heads/master | 2021-01-22T17:38:48.578691 | 2017-08-18T17:08:34 | 2017-08-18T17:08:34 | 100,729,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | //
// Created by BlueSocket on 17/08/2017.
//
#include "koaladoctor.h"
KoalaDoctor::KoalaDoctor(std::string name)
{
this->name = name;
this->work = false;
this->speak(std::string("Je suis le Dr.") + this->name + " ! Comment Kreoggez-vous ?");
}
KoalaDoctor::~KoalaDoctor()
{
}
std::string KoalaDoctor::getName... | [
"sarra.dif@epitech.eu"
] | sarra.dif@epitech.eu |
436cd0194a3bcb76227724fbd10ebb2792ff4ab6 | 333e04b95bf1439153a579adcbd9a52e066fb23e | /Cylinder detection/voxelgrid.cpp | 3ebea1ec3286434a4368b7ab81722662213baccc | [] | no_license | mtodosovska/RobotOfTheRings | 5a91fa0c21d695fdf2967605872b92d7b52f59c2 | 5c480b6604f8106601908ab730827e51956803b1 | refs/heads/master | 2023-01-23T18:03:28.180202 | 2020-11-21T21:09:29 | 2020-11-21T21:09:29 | 85,943,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | #include <ros/ros.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/filters/voxel_grid.h>
ros::Publisher pub;
void callback(const pcl::PCLPointCloud2ConstPtr& cloud_blob) {
pcl::PCLPointCloud2 cloud_filtered;
pcl::VoxelGrid<pcl::PCLPointCloud... | [
"Marija.Todosovska@netcetera.com"
] | Marija.Todosovska@netcetera.com |
5e3ed1a8cf759e26bb0a6ed9d532e262c712b9a9 | 3e6a239b08f498e9118a3dbe58531cdb92c3562c | /src/errors.hpp | 45e854edc1afa311040316a76bbacbbe55b5178f | [
"MIT"
] | permissive | Lythenas/json-query | eade66f0890565976e136e75bfb7df5c73551ec9 | 3614deade41d66dd0e99442e53ac5a76dd5ef5fc | refs/heads/master | 2022-12-03T09:12:31.847008 | 2020-08-14T08:56:27 | 2020-08-14T08:56:27 | 275,400,195 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | hpp | #pragma once
#include <boost/spirit/home/support/info.hpp>
#include <exception>
#include <string>
namespace errors {
class AppException : public std::exception {};
class InputFileException : public AppException {
public:
const char* what() const noexcept override {
return "error reading input file";
... | [
"matthias-seiffert@hotmail.de"
] | matthias-seiffert@hotmail.de |
65e032085ef2bff7b7e7d5bdb80442fd9fd6ecaf | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /media/gpu/decode_surface_handler.h | 4952ee5ab62711542b2611510ad2ef9f40be3b9f | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,682 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_GPU_DECODE_SURFACE_HANDLER_H_
#define MEDIA_GPU_DECODE_SURFACE_HANDLER_H_
#include "base/memory/scoped_refptr.h"
namespace gfx {
class Rec... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
99a52ad8dc7d402b04b3f201472da940178b6ff9 | e0229448c5c919578e4846a241ba35a0713fe3e8 | /Filters/Filters/Mask.h | e36fccf811e3cdd7faebdbf0451005fcb4963891 | [] | no_license | AlibekovMurad5202/cg-practice | 0ea1c8049e775815bc6544d06c6f6fc244eea39c | e78f62d81443f28194c38bb62c958e0ecc47ad90 | refs/heads/master | 2022-08-01T18:26:08.258309 | 2020-05-29T13:08:44 | 2020-05-29T13:08:44 | 241,704,647 | 0 | 1 | null | 2020-05-29T13:08:45 | 2020-02-19T19:19:21 | C++ | UTF-8 | C++ | false | false | 307 | h | #pragma once
#include "fstream"
class TMask {
private:
int width;
int height;
int* weights;
public:
TMask(const std::string& _filename);
TMask(const TMask& _mask);
~TMask();
int getHeight();
int getWidth();
int operator[] (int _index);
const int operator[] (int _index) const;
};
| [
"muradalibekov2000@gmail.com"
] | muradalibekov2000@gmail.com |
6da4efb11a5975d3f8ce256f3b99f974f89e4c77 | cc5730e4bc12df0e35e9bcbf208ef27f8b149238 | /programs/multilevel inhertiance.cpp | 3897a955a01fb16fcb753f199d5d24de9eddbc19 | [] | no_license | RAzaALy/Cpp_Programming | 4ff601f018c135b801a30dc5601e3f13ab6924d5 | a55bbb3e8681e57e07a33cf7cf183241b06fae70 | refs/heads/main | 2023-06-14T20:30:30.671126 | 2021-06-23T07:08:35 | 2021-06-23T07:08:35 | 378,995,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
class A
{
private:
int a;
public:
void input()
{
cout<<"ENTER VLAUE OF a:";
cin>>a;
}
void output()
{
cout<<"VALUE OF a="<<a<<endl;
}
};
class B:public A
{
private:
int b;
public... | [
"007razajutt@gmail.com"
] | 007razajutt@gmail.com |
d672c3f2fa3877f61e657c41889b38ea653ac40d | 7042a230c730c4fae3e336cbf7c2a58a2dc6027e | /src/Scale.h | 6461193e008ba64f8d59647008fe312d5d5dc890 | [] | no_license | yuferovalex/MDM500M | 0d47a3212a89f84e3988ca3512a3c93b0d81ae47 | 8f3b57cd4d1f6edef8f5215a7ca49ed8615793a8 | refs/heads/master | 2020-03-26T01:30:52.462091 | 2018-09-17T08:07:15 | 2018-09-17T08:07:15 | 113,840,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | h | #pragma once
#include <QWidget>
class Scale : public QWidget
{
Q_OBJECT
public:
Scale(QWidget *parent = nullptr);
public slots:
void setEmpty(bool value);
void setSignalLevel(int value);
protected:
void paintEvent(QPaintEvent *) override;
private:
static const int kUnitsCount = 10;
sta... | [
"yuferov.alex@gmail.com"
] | yuferov.alex@gmail.com |
433b69461a186ad6a01a99c13514567fab93e0bf | 734e9e9c93cb4d3c2cd212e38f8105a81fd5e5fd | /higan/sfc/cartridge/cartridge.cpp | 0e4c6826625cd99614232ee9d4739282ead895e2 | [] | no_license | joncampbell123/higan-x | 570747fe7f6a6b54ac9b07b3e6c993da61369129 | 6e8406291c91f914f3cd1f2030e453ace3fb2607 | refs/heads/master | 2020-06-19T05:13:57.784225 | 2017-06-13T01:42:31 | 2017-06-13T01:42:31 | 94,178,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,936 | cpp | #include <sfc/sfc.hpp>
namespace SuperFamicom {
#include "load.cpp"
#include "save.cpp"
#include "serialization.cpp"
Cartridge cartridge;
auto Cartridge::manifest() const -> string {
string manifest = information.manifest.cartridge;
if(information.manifest.gameBoy) manifest.append("\n[[Game Boy]]\n\n", informati... | [
"screwtape@froup.com"
] | screwtape@froup.com |
c2afbb8ce97274cf1aca116454550f1150375975 | af1159b123597de9c5ff2b6f5417de439b76a370 | /drv/global.cpp | ffd14914d59a9431f129d9b0a70fd29275cb235f | [] | no_license | felixqin/pfw | d86306def7e07cf779d706b888f535afa5477f95 | b48bb7a643bc83914940d50012314da84c911e31 | refs/heads/master | 2021-01-12T07:26:29.548066 | 2016-12-20T14:19:07 | 2016-12-20T14:19:07 | 76,961,718 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,047 | cpp | #include "precomp.h"
#include "global.h"
//===========================================================================
//有关设备的全局变量
PDRIVER_OBJECT g_DriverObject = NULL; //驱动对象
PDEVICE_OBJECT g_ControlDevice = NULL; //控制对象
PDEVICE_OBJECT g_TcpDevice = NULL; //TCP 设备对象
PDEVICE_OBJECT g_UdpDevice = NULL; //UDP 设备对象
PDE... | [
"qfl2000@gmail.com"
] | qfl2000@gmail.com |
3472f04efc39d2632c1021b2ea9dbcc16d5028c9 | 3a05fdc30f3966ffc87f015322d0b69191c691ca | /b143-matrix4.cpp | 2feb7fed13a350084a88063f83fece3d43253acd | [] | no_license | GibOreh/CPP | 1c9cecc1776560de4b2bdf30641ed94cb214877f | d81ca1288331f19ef316ee13c8c1589d20622e0d | refs/heads/master | 2023-06-15T00:11:41.793119 | 2021-07-11T21:04:58 | 2021-07-11T21:04:58 | 385,046,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | #include<bits/stdc++.h>
using namespace std;
int n;
int m;
int a[101][101];
int visit[101][101];
bool check(int x,int y){
if(x>=1 && x<=n && y>=1 && y<=m){
return true;
}
return false;
}
void bfs(pair<int,int> x){
queue<pair<int,int>> q;
q.push(x);
visit[x.first][x.second]= 1;
int X[]= {-1,-1,-1,0,0,1,1,1};... | [
"tr2hung99@gmail.com"
] | tr2hung99@gmail.com |
9f2cf64925a6557cf90ad188610433f247e59a8f | adc0a33f20e8c09a09a2492f8c3f210c94b05ec7 | /src/server/ObjectHandle.cpp | 6c640e0a3f58bd208332749c3daae9b67d8fc4e3 | [
"MIT"
] | permissive | farmanp/terminal | 01a4fee63d4103a4d031b3f48ce71795ffea0d7f | d766c9bfebbbae9c5a9c3d4a2bd046c829dc8ed0 | refs/heads/master | 2020-05-24T02:07:13.854359 | 2019-09-15T15:15:07 | 2019-09-15T15:15:07 | 187,047,668 | 1 | 0 | MIT | 2019-05-16T14:48:40 | 2019-05-16T14:48:40 | null | UTF-8 | C++ | false | false | 8,564 | cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "precomp.h"
#include "ObjectHandle.h"
#include "..\host\globals.h"
#include "..\host\inputReadHandleData.h"
#include "..\host\input.h"
#include "..\host\screenInfo.hpp"
#include "..\interactivity\inc\ServiceLocator.hpp"
... | [
"duhowett@microsoft.com"
] | duhowett@microsoft.com |
95fa10bc1b4c9bf204b2f4a6aa8ade493c77d692 | fa40a93ca9d851909aeea182c49c07eb9a0e88d1 | /tests/vector.cpp | 794ff4ed09513ca05273d57d80206811543b2672 | [
"Apache-2.0"
] | permissive | pniekamp/leap | 43d5f0e7e4498e2ceaff7f081b397732bae713ad | fe66c5aae1f4a676718806198677731a0f0d19e2 | refs/heads/master | 2021-06-15T19:58:59.067329 | 2021-03-14T12:00:49 | 2021-03-14T12:00:49 | 53,132,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,997 | cpp | //
// vector.cpp
//
// Copyright (C) Peter Niekamp
//
// This code remains the property of the copyright holder.
// The code contained herein is licensed for use without limitation
//
#include <iostream>
#include <sstream>
#include <leap/lml/vector.h>
#include <leap/lml/io.h>
#include <leap/util.h>
using namespace st... | [
"pniekamp@gmail.com"
] | pniekamp@gmail.com |
6b2a80a0e397b87780ca9c51e0e402f50fa05cad | 374b802c9287391ccf515220ecab074c4b847960 | /First-Dlg-Project/stdafx.cpp | a03eb9033a8b5297bf2d6b2e9b68e55a1659af20 | [] | no_license | walleri18/Programming-under-Windows-OS | f4e815c35a6976108f65d9b88efa8ae0e5551665 | 3f37d151e4478bdcf12237d4e028251c50d6585b | refs/heads/master | 2021-01-10T01:33:53.945166 | 2016-03-22T17:06:20 | 2016-03-22T17:06:20 | 51,696,190 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 384 | cpp |
// stdafx.cpp: исходный файл, содержащий стандарт, включающий
// First-Dlg-Project.pch будет предварительно откомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
| [
"walleri18@yandex.ru"
] | walleri18@yandex.ru |
0ebefcd43c08391a1a4105d777027be834752584 | 7e6503c5b354bc20593022278e459a8e62047879 | /PicoloWindowsImageServer/PicoloRead/PicoloImageServer.h | 7a43013d6cc7ac5c81cde5c7621e67bdccb4e6d8 | [] | no_license | jaejunlee0538/ImageSending | 0d343cb450625dfc493548e66af497f8e0ffc0f2 | 7da636384d2bc3925f65e2b4e0a0c476a4bbb0a8 | refs/heads/master | 2020-09-17T02:53:41.577967 | 2016-08-31T19:42:55 | 2016-08-31T19:42:55 | 66,149,935 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,430 | h | #ifndef PICOLO_IMAGE_SERVER_H_
#define PICOLO_IMAGE_SERVER_H_
#include "PicoloImageRead.h"
#include <opencv2/opencv.hpp>
#include "ImageServer.h"
#include "ImagePacket.h"
#include "PreciseClock.h"
namespace MC = Euresys::MultiCam;
/*
setServer와 init 메서드는 setActive 메서드를 호출하여 이미지를 수집하기 전에
반드시 호출하여야 한다.
*/
class Picolo... | [
"jaejun0201@gmail.com"
] | jaejun0201@gmail.com |
35875c8121b19d3e043ddd608ba938b614a731b6 | 2d7085400926aa37e400fd00716df7305987e8d5 | /src/uiobjects/Traza.cpp | fe597961d8f4909acf5bd9b574e447be140bc076 | [] | no_license | damarbo33/crosslib | 3fdd3c20e7516c6529bd4c393131ea58cb46fc01 | 5daca258df974c1c10e3fa338700072bb385f317 | refs/heads/master | 2022-11-04T09:35:15.144396 | 2022-10-27T08:55:08 | 2022-10-27T08:55:08 | 82,192,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,224 | cpp | // Class automatically generated by Dev-C++ New Class wizard
#include "Traza.h" // class's header file
ofstream *Traza::fout;
bool Traza::pintarTrazas;
/**
* Constructor
*/
Traza::Traza(const char *ruta){
strcpy(this->ruta,ruta);
iniFile();
}
/**
* Constructor
*/
Traza::Traza(){
strcpy(this->ruta,RUTA_T... | [
"damarbo33@gmail.com"
] | damarbo33@gmail.com |
dd0f90a10aa4195ed5dce623a14d53fad447271c | 70ad0a06c54b68b7d817131f4b139b76739e2e20 | /GUI/BScope/PlayerWindow.h | 58aeb525bd699f7f49d79ee784747c74698f42c7 | [
"MIT"
] | permissive | SherlockThang/sidecar | 391b08ffb8a91644cbc86cdcb976993386aca70c | 2d09dfaebee3c9b030db4d8503b765862e634068 | refs/heads/master | 2022-12-09T14:57:08.727181 | 2020-09-01T10:31:12 | 2020-09-01T10:31:12 | 313,326,062 | 1 | 0 | MIT | 2020-11-16T14:21:59 | 2020-11-16T14:21:58 | null | UTF-8 | C++ | false | false | 2,390 | h | #ifndef SIDECAR_GUI_BSCOPE_PLAYERWINDOW_H // -*- C++ -*-
#define SIDECAR_GUI_BSCOPE_PLAYERWINDOW_H
#include "QtCore/QBasicTimer"
#include "QtCore/QList"
#include "QtGui/QImage"
#include "QtWidgets/QWidget"
#include "GUI/MainWindowBase.h"
class QScrollArea;
namespace Logger {
class Log;
}
namespace SideCar {
namespa... | [
"bradhowes@mac.com"
] | bradhowes@mac.com |
b7b31a0bc338b2d3e7173c859320c64131414217 | 1d3a99aef7a8683dee5f834923ca831861311f78 | /library/include/memory.hh | 7a9b9597ad2ec79db7e5f7f96ab9d513fc9ab0d3 | [] | no_license | daanhenke/scareware | 35f732757fbbddbccc3229f3a8572cba18304643 | a2e05fdede71f4572ff085b5a74b09714a6810eb | refs/heads/master | 2023-04-01T20:44:23.291249 | 2021-04-12T22:08:05 | 2021-04-12T22:08:05 | 324,032,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | hh | #pragma once
#include <Windows.h>
#include <string>
#include "iface/IViewRenderBeams.hh"
#include "iface/IMoveHelper.hh"
#include "iface/CMoveData.hh"
#include <d3d9.h>
namespace sw::iface
{
class KeyValues;
}
namespace sw::memory
{
template<typename T>
constexpr T ToAbsolute(uintptr_t address)
{
... | [
"daan@daan.vodka"
] | daan@daan.vodka |
71f34842bef03e11b4fcc68e8963f5cb62377275 | 7550795ab145607efaaf562a7f25be86b39cb9e9 | /0583.cpp | 04204b9ec751a9ad1f60e724a0a35d0efefb15b3 | [] | no_license | shiba090/aoj | 8dd97e678076a71848ad3dc4b2ecb6aa7728e9af | 20e4f5418fffc2065494c6e589a6aac49d331055 | refs/heads/master | 2016-09-06T07:49:40.458614 | 2015-06-28T13:38:11 | 2015-06-28T13:38:11 | 38,198,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp | #include <functional>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <iomanip>
#include <utility>
#include <cstdlib>
#include <sstream>
#include <bitset>
#include <vector>
#include <cstdio>
#include <ctime>
#include <queue>
#include <deque>
#include <cmath>
#include <stack>
#include <list>
#includ... | [
"m2914711979@deapink.pink"
] | m2914711979@deapink.pink |
39aa9a7f2613711c56922907bd54c055bcf49143 | a19e7a3c448588e3be7fd789c48f8d0c9521e945 | /Source/S05__TestingGrounds/NPC/ChooseNextWaypoint.h | efbbf42cd8a69e66d0a55bc8943980f12be9a243 | [] | no_license | AlbertMontagutCasero/TestingGrounds | e0234e3f221ffef07e65d2dea338438946085c81 | 74a2fa43914cbe7da4126b805b592906459bd5c2 | refs/heads/master | 2021-09-06T22:57:46.135955 | 2018-02-13T01:24:44 | 2018-02-13T01:24:44 | 112,645,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/BTTaskNode.h"
#include "ChooseNextWaypoint.generated.h"
/**
*
*/
UCLASS()
class S05__TESTINGGROUNDS_API UChooseNextWaypoint : public UBTTaskNode
{
GENERATED_BODY()
virtua... | [
"albert.montagut.casero@gmail.com"
] | albert.montagut.casero@gmail.com |
349d0395c61ad6c3b0c1ecf9a5b4a0fbcea38f54 | a5e5aff33259dfbb637cf000874f2c16d747503c | /src/gdgem/tests/HitGenerator.cpp | a9ad8e7f67c46ed253206be975b78ba027f60f84 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | moneytech/event-formation-unit | c85365183f3446421eedac3a919e552738149b71 | 4ef64fb72a199e408209a6c19cc4ca69811be538 | refs/heads/master | 2022-04-17T17:35:38.807249 | 2020-04-02T14:09:45 | 2020-04-02T14:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,697 | cpp | /** Copyright (C) 2019 European Spallation Source ERIC */
#include <gdgem/tests/HitGenerator.h>
#include <fmt/format.h>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <vector>
#include <cassert>
/// \todo Should not belong to gdgem but to common, reduction?
namespace Gem {
//
void HitGenerator::pr... | [
"morten.christensen@esss.se"
] | morten.christensen@esss.se |
e96995444a80bcc923838f7f0f340b4efb2456a6 | 4e38faaa2dc1d03375010fd90ad1d24322ed60a7 | /include/RED4ext/Scripting/Natives/Generated/game/data/RoachRaceLevelList_Record.hpp | 08d06f3defe22e7b7656ae5fbcde59161370740a | [
"MIT"
] | permissive | WopsS/RED4ext.SDK | 0a1caef8a4f957417ce8fb2fdbd821d24b3b9255 | 3a41c61f6d6f050545ab62681fb72f1efd276536 | refs/heads/master | 2023-08-31T08:21:07.310498 | 2023-08-18T20:51:18 | 2023-08-18T20:51:18 | 324,193,986 | 68 | 25 | MIT | 2023-08-18T20:51:20 | 2020-12-24T16:17:20 | C++ | UTF-8 | C++ | false | false | 791 | hpp | #pragma once
// clang-format off
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/game/data/TweakDBRecord.hpp>
namespace RED4ext
{
namespace game::data
{
struct RoachRaceLevelList_Record : game::data::TweakDBReco... | [
"3403191+WopsS@users.noreply.github.com"
] | 3403191+WopsS@users.noreply.github.com |
853ac31cd498f6e766ef72fce7c0451a53cb43a7 | d778525e7823854ee35d92164d1e2f8c8a689f07 | /LOOP/11_FIR&L.CPP | 120219ea0289486d6544898ba9af55a81084b4a2 | [] | no_license | manojmansukh/C | b695afeb55b56839cb2ea30a056dae4dcd4f5ce1 | bfce00c64df084557f4dad864928116d2c69ed69 | refs/heads/master | 2020-09-04T16:25:22.817196 | 2019-11-05T17:17:51 | 2019-11-05T17:17:51 | 219,801,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include<stdio.h>
#include<conio.h>
int main()
{
long long no,first,last,sum=0;
clrscr();
printf("enter the no :");
scanf("%lld",&no);
last=no%10;
// first=no;
while(no>=10)
{
no=no/10;
}
first=no;
printf("first no: %lld\n",first);
printf("last no: %lld\n",last);
getch();
}
| [
"manojmansukh7@gmail.com"
] | manojmansukh7@gmail.com |
2f81aa9754548816298c41a1f6be736cb554802d | ef2e6bfd2f9c1a7e246c5a2251e0c3c72bf2f5fb | /BullCowGame/FBullCowGame.cpp | 3611de7ef7426a0cbf50e097d369ba382a46eda2 | [] | no_license | timdhoffmann/Section_02 | 4f4ca6d98adca9efd824b6465b5ac0a11b5aa0ce | c9b09cdea9c4c356a805511eb2580a5f6f5c047a | refs/heads/master | 2021-09-06T21:22:13.730742 | 2018-02-11T17:03:38 | 2018-02-11T17:03:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,457 | cpp | #pragma once
#include "FBullCowGame.h"
#include <map>
// To make syntax Unreal friendly.
#define TMap std::map
FBullCowGame::FBullCowGame()
{
Reset();
}
int32 FBullCowGame::GetMaxTries() const
{
TMap <int32, int32> WordLengthToMaxTries
{
{ 3,4 },{ 4,7 },{ 5,10 },{ 6,15 },{ 7,20 }
};
return WordLengthToMaxTri... | [
"tim@hoffmannprojects.com"
] | tim@hoffmannprojects.com |
6112a1e4255070ab18addfb391e569000c25b8ca | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/ui/t48/wifiui/src/modwifiui.cpp | d41de977e08d05bb6031d74a989b7eb5f7ecb10e | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 587 | cpp | #include "wifi_inc.h"
/************************************************************************/
/* 接口 : WifiUI_EnterBaseView() */
/* 功能 : 进入wifi列表界面 */
/* 参数说明 :无 */
/* 返回值 : 无 ... | [
"rongxx@yealink.com"
] | rongxx@yealink.com |
b91860ebf407535481d68d8e624715eba966f1a4 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /gaap/include/tencentcloud/gaap/v20180529/model/CreateDomainResponse.h | c2592f0391e428c47335632c7bbe978f541d6ace | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 1,538 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
f5d5475fc021c542b0456416a648bb0480fcbb9b | 54320ef64dd0548a5b5016feed14c606a5fd1e76 | /Araksya_Hambaryan/Homework/C++/Homework_30_10_2015/Covapnya_Tner.cpp | 96fa4543aeb5454b9b92e2134d156e61f4fce341 | [] | no_license | ITC-Vanadzor/ITC-7 | 9859ebbd0d824d3a480ea281bbdb14edbb6a374e | d2bfcdc3a1faea4cdc1d7e555404445ac8768c66 | refs/heads/master | 2021-01-17T15:43:29.646485 | 2019-02-17T19:07:36 | 2019-02-17T19:07:36 | 44,699,731 | 0 | 4 | null | 2017-04-13T18:45:36 | 2015-10-21T19:38:34 | JavaScript | UTF-8 | C++ | false | false | 648 | cpp | #include <iostream>
#include <string>
#include <cmath>
// Voroshel te qani tun e gtnvum Armeni ev Ashoti tneri mijev, ete Ashoti tnic aj gtnvum e N tun, dzax M tun, isk Armeni tnic aj ev dzax gtnvum en havasar qanakutyamb tner
int Nermucum (std::string Koxm) {
int M=-1;
while ((M < 0) || (M > 100)) {
std::cou... | [
"araksyahambaryan@mail.ru"
] | araksyahambaryan@mail.ru |
61ee5d90851bd65348143b768f217fc39d6587e2 | d558f0774efbaefb198c4dc8287634f4550a1ae4 | /Other test/Working_sensor_ping_with_LED_light_which_doesnt_timeout/Working_sensor_ping_with_LED_light_which_doesnt_timeout.ino | 570eddfa1f8d62f6ab8340146bba9e66d8087e84 | [] | no_license | grantstewart/Drawbot4000 | 7736add183167e6035c6b645255c0052886dadae | 72b67a69421359c94a9f0accf085776758604a25 | refs/heads/master | 2021-01-10T10:57:21.863945 | 2016-01-11T09:37:59 | 2016-01-11T09:37:59 | 49,197,104 | 0 | 1 | null | 2016-01-11T09:37:59 | 2016-01-07T10:09:01 | Arduino | UTF-8 | C++ | false | false | 1,259 | ino | // ---------------------------------------------------------------------------
// Example NewPing library sketch that does a ping about 20 times per second.
// ---------------------------------------------------------------------------
#include <NewPing.h>
#define TRIGGER_PIN A4 // Arduino pin tied to trigger pin o... | [
"grant.c.stewart@gmail.com"
] | grant.c.stewart@gmail.com |
2dddedaede40c7d5c0af0d1f68ef0ea3449c6889 | d52c9def5290aecb8b3eb20d0d7a71fc9df57cdc | /lintcode/LRU Cache.cpp | e9d77e94b5d4abaae57941af8f40319c4c9866bc | [] | no_license | glc12125/Algo | 26091b8af6cd25029958fa794280ac15fb9e06e2 | 8b1649893ef4aefadcc1c312f38359464d3b7a18 | refs/heads/master | 2022-11-19T06:02:05.851206 | 2022-11-04T12:34:43 | 2022-11-04T12:34:43 | 73,620,928 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,409 | cpp | class LRUCache {
private:
struct Node {
int m_key;
int m_value;
Node * m_prev;
Node * m_next;
Node(int key, int value) :
m_key(key), m_value(value),
m_prev(nullptr), m_next(nullptr) {
}
};
Node * m_recent;
Node * m_stale;
int m... | [
"Liangchuan Gu"
] | Liangchuan Gu |
0105152918275b0bb801ac492da589f300649220 | 8a093bd321895877ffcb8aedc4ac13488bb4962e | /and_operator.cpp | f9a906d1b5edc0f4cbc67ff1ef04154aae5cd1d2 | [] | no_license | FreemanKCST/CS101-Week1 | 22c861cb8fc5ef856bb55f6f6c034114afcbb12c | 7965193da44f21de572abcdd8697e9e75114359b | refs/heads/master | 2020-06-04T15:47:56.101934 | 2019-06-16T10:13:49 | 2019-06-16T10:13:49 | 192,089,466 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | // This program demonstrates the && logical operator.
#include <iostream>
using namespace std;
int main()
{
char employed, // Currently employed, Y or N
recentGrad; // Recent graduate, Y or N
// Is the user employed and a recent graduate?
cout << "Answer the following questions\n";
cout << "with eithe... | [
"noreply@github.com"
] | FreemanKCST.noreply@github.com |
00bfeb64e8a5ee94fbbd3d6e7ef316cc08576a60 | f59dbe7f59c9090f347306f34c8c013d4efa0ba9 | /WhateverGreen/kern_con.hpp | 1de136f4f7cc2f42bf1a9d54f114b7a197127263 | [
"BSD-3-Clause"
] | permissive | acidanthera/WhateverGreen | 3657ac8ddc3c287dca119394b011a9a2a88f803b | 1541f13a5f8c0e80b1f0869ef7e687319d092fa6 | refs/heads/master | 2023-08-16T12:10:57.253062 | 2023-08-13T10:08:45 | 2023-08-13T10:08:45 | 98,471,367 | 3,357 | 837 | BSD-3-Clause | 2023-07-15T12:29:28 | 2017-07-26T22:40:14 | C++ | UTF-8 | C++ | false | false | 4,932 | hpp | //
// kern_con.hpp
// WhateverGreen
//
// Copyright © 2017 vit9696. All rights reserved.
//
#ifndef kern_con_hpp
#define kern_con_hpp
#include <Headers/kern_util.hpp>
#include <libkern/libkern.h>
namespace RADConnectors {
/**
* Connectors from AMDSupport before 10.12
*/
struct LegacyConnector {
uint32_t... | [
"vit9696@users.noreply.github.com"
] | vit9696@users.noreply.github.com |
a8cc91d35b262e32eab3f7ad34e9e7ca9cde3822 | 898ea9483d57867eaeaed098e8c4788fd58bdb8f | /src/Parser.hpp | 6a0051c3a9b7657bb034866dcd650d0a75a33344 | [] | no_license | pavlovandy/Abstract_VM | 0e0412cc49278c889116888396171cfcb7bc9303 | d9085b6d63dbee9764b79e666804301ba79af016 | refs/heads/master | 2020-08-20T19:25:20.771197 | 2019-11-03T13:20:14 | 2019-11-03T13:20:14 | 216,058,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Parser.hpp :+: :+: :+: ... | [
"andrij0pawlov@gmail.com"
] | andrij0pawlov@gmail.com |
ceee816ce1d9a6dedcdac4432b95a0c7e3cb3f8b | 3fa5ce936093f7e1afabbb5c1bfce98385ca1206 | /main/lsp/LSPPreprocessor.cc | 099e6213e474133422408530092e3cec7bcfd7fa | [
"Apache-2.0"
] | permissive | landovsky/sorbet | ed67d501d9219dee49013b2910b9b1b6d3a4ec37 | 29a967a22cc8cfcccb3d6a502b9ccb99cace0f5c | refs/heads/master | 2021-01-15T01:53:36.611535 | 2020-02-22T01:55:07 | 2020-02-22T01:55:07 | 242,838,884 | 0 | 0 | Apache-2.0 | 2020-02-24T20:42:00 | 2020-02-24T20:41:59 | null | UTF-8 | C++ | false | false | 16,763 | cc | #include "main/lsp/LSPPreprocessor.h"
#include "absl/strings/match.h"
#include "absl/strings/str_replace.h"
#include "main/lsp/LSPOutput.h"
#include "main/lsp/lsp.h"
#include "main/lsp/notifications/notifications.h"
#include "main/lsp/requests/requests.h"
using namespace std;
namespace sorbet::realmain::lsp {
namesp... | [
"noreply@github.com"
] | landovsky.noreply@github.com |
b7d35281d44166be0e2f1d51f7fd9abb5c0e285c | c56a7c342ef0ddd318104201acd5f4ed2a3f9c58 | /src/Native/Unix/System.Security.Cryptography.Native.Apple/pal_digest.cpp | 54354b21fe331a4609c16f4f5a2616c4adea6988 | [
"MIT"
] | permissive | ivandrofly/corefx | 4ce40dc55add785e3e7b3c29b3c94ae2f5ad40d8 | 2f6d756400385df488132f2cb99d83c553baf2ab | refs/heads/master | 2021-01-13T10:29:26.571458 | 2016-10-28T12:43:46 | 2016-10-28T12:43:46 | 72,207,236 | 0 | 0 | NOASSERTION | 2019-08-30T10:09:14 | 2016-10-28T12:55:06 | C# | UTF-8 | C++ | false | false | 4,132 | cpp | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "pal_digest.h"
#include <CommonCrypto/CommonCrypto.h>
#include <CommonCrypto/CommonDigest.h>
#include <ass... | [
"jbarton@microsoft.com"
] | jbarton@microsoft.com |
c0e86139145da8b3239b31d372922d4c38894187 | 2c81b2159d5b6d1c3234df031b8055eb7f5f30a2 | /src/application/app_yolo.cpp | 6857d8ce324972de1faaa17188733802c50133f4 | [] | no_license | zsffuture/tensorRT_Pro | f0fa73052e83974f0555f06fd7163eac0a8bd1ec | 806ec11b7065dc3e3d8f33dd56016c65e32a74c1 | refs/heads/main | 2023-09-05T19:01:34.413991 | 2021-11-22T03:16:21 | 2021-11-22T03:16:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,901 | cpp |
#include <builder/trt_builder.hpp>
#include <infer/trt_infer.hpp>
#include <common/ilogger.hpp>
#include "app_yolo/yolo.hpp"
#include "app_yolo/multi_gpu.hpp"
using namespace std;
static const char* cocolabels[] = {
"person", "bicycle", "car", "motorcycle", "airplane",
"bus", "train", "truck", "boat", "traff... | [
"dujw@deepblueai.com"
] | dujw@deepblueai.com |
3950d4abb5f57c315055439a26ab9a2519190049 | a679dba6ef0364962b94ed65d0caad1a88da6c43 | /OrginalServerCode/OrginalCode/labixiaoxin/ACE_wrappers/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.inl | c07f7f2ef35e04b444f95334f314280d3e285ed4 | [] | no_license | w5762847/Learn | 7f84933fe664e6cf52089a9f4b9140fca8b9a783 | a5494181ea791fd712283fa8e78ca0287bf05318 | refs/heads/master | 2020-08-27T05:43:35.496579 | 2016-12-02T12:16:12 | 2016-12-02T12:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | inl | /* -*- C++ -*- */
// $Id: Handle_L_FIFO.inl 91813 2010-09-17 07:52:52Z johnnyw $
#include "ace/Get_Opt.h"
#include "ace/Truncate.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stropts.h"
#include "ace/OS_NS_unistd.h"
ACE_INLINE
Handle_L_FIFO::Handle_L_FIFO (void)
{
}
... | [
"flyer_son@126.com"
] | flyer_son@126.com |
666e9e3dbf1023a0a2bd322b9c6a9897c4f7341c | e8f97f496935d90f841f40a6292a0a24f0877aa5 | /include/shader.h | 24780db3e1eedf27d0be2ad8c11ae037212c4b94 | [
"MIT"
] | permissive | johnfredcee/meistravimas | 65d81609bc798c732748f6f6e9db38341063d5ec | 4ee3168518525db0d3eddde5008115fc874dc249 | refs/heads/master | 2021-05-25T09:44:38.453184 | 2020-08-02T13:42:27 | 2020-08-02T13:42:27 | 31,008,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | h | #ifndef SHADER_H
#define SHADER_H
namespace venk
{
class Program;
class Shader {
friend class Program;
private:
Sint32 shaderOk;
Uint32 shader;
public:
Shader(GLenum type, const std::string& filename);
~Shader();
bool isValid() const;
};
}
#endif
| [
"johnc@yagc.ndo.co.uk"
] | johnc@yagc.ndo.co.uk |
de97ff7eb8216606acceb135203a53b9690b8764 | ad54adee9a3300a34d8704c1f5d21f92260e2b9a | /src/IntelligentMaze/comparelabel.cpp | f1708f489480e067b63b731f44d686d03a052f01 | [] | no_license | bigchestnut/IntelligentMaze | 04bb8846ce7289414f3a177560799694759a8c0f | 30c1ab1271efd23afb26f8574688ddc98baa1748 | refs/heads/master | 2021-01-11T20:19:23.734073 | 2017-06-04T15:00:03 | 2017-06-04T15:00:03 | 79,089,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | #include "comparelabel.h"
CompareLabel::CompareLabel(QWidget *parent) : QWidget(parent)
,mainLayout(new QVBoxLayout())
,m_sliderLayout(new QHBoxLayout())
,m_sliderLabel(new QLabel(tr("单步速度:")))
,m_slowLabel(new QLabel(tr("慢")))
,m_fastLabel(new QLabel(tr("快")))
,m_slider(new QSlider(Qt::Horizontal))
{
... | [
"lqq604350132@outlook.com"
] | lqq604350132@outlook.com |
6c2d660584303c5a88aaeadbed805da451d94b1f | ce3f8464ef9eca19f27b9548b74f710b1b5ec0ca | /src/shaders/shadow_shader.cc | a812c3a518dcbc8efa427984a726d4ea855c7fcb | [] | no_license | marla396/CubeExplorer | e1ac69df657dd64569ee371f4052104297b47ccd | 4279b3fa9d6b38848617893fa62fce98a88558bf | refs/heads/master | 2020-04-04T11:00:03.110169 | 2018-12-13T16:07:22 | 2018-12-13T16:07:22 | 155,875,154 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | cc | #include <string>
#include "shaders/shadow_shader.h"
ShadowShader::ShadowShader(Shader* parent) : ExtensionShader(parent){
}
ShadowShader::~ShadowShader() {
}
void ShadowShader::upload_shadow_maps(int first) const {
for (int i = 0; i < SHADOW_CASCADES; i++) {
m_parent->upload_uniform(m_shadow_map_locations[i]... | [
"martino_7878@hotmail.com"
] | martino_7878@hotmail.com |
878c3a94e927ac9e9e7fa4568b80ab71bcef213b | d59dc968b8eebea1fb13e87f04aec569f8761aaa | /src/slVector.cpp | c3dc77ed70fb2c83038660687d46bb8e7982a0b7 | [] | no_license | haimasree/particleskinner | ab27074d262a862ca98cd09a662231518dc0a946 | 4e0451814e3d9c81017303e644129c7baad8176e | refs/heads/master | 2021-01-24T08:49:32.765783 | 2018-04-11T12:53:28 | 2018-04-11T12:53:28 | 122,997,192 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | // Copyright (c) 2011, Regents of the University of Utah
// Copyright (c) 2003-2005, Regents of the University of California.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redist... | [
"noreply@github.com"
] | haimasree.noreply@github.com |
cd28c1eb1ce0d5344c2ad432876d8979b88cb71e | 60eb36f75ba90e10563d55b734f5e5a820ac8e9b | /include/ugdk/action/animationframe.h | 635c8674e63363d49f596e9bd434bc87a143d44e | [] | no_license | uspgamedev/roguelike | 4a72775c1751b02051b0b9d9510fc354506371af | 592d6c65442497c197528d4491b56d271d66e6e4 | refs/heads/master | 2021-01-17T16:52:48.464947 | 2014-11-15T22:01:22 | 2014-11-15T22:01:22 | 6,002,318 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701 | h | #ifndef UGDK_ACTION_ANIMATIONFRAME_H_
#define UGDK_ACTION_ANIMATIONFRAME_H_
#include <vector>
#include <string>
#include <ugdk/graphic/modifier.h>
#define DEFAULT_PERIOD 0.1
namespace ugdk {
namespace action {
class Observer;
class AnimationSet;
/*
* Represents the visual behavior information of a sprite in a si... | [
"julio.angelini@gmail.com"
] | julio.angelini@gmail.com |
df269833ec6bc803190ed1766134763e2b81b0ab | 696f9da2cf71d81063408f9b78b3d43cb772c2f2 | /UserFaceSignUp/pch.h | a7621b95ca5a902a64ae367c24c98e04f3b2807c | [] | no_license | 0xliko/faceLoginCredential | 43a08d7c5960e78c851e58872254e2e15bb94937 | 2ac7e318e7ec019573433dd4856cd47a031a1afb | refs/heads/master | 2023-04-21T19:04:34.449042 | 2021-04-19T14:42:18 | 2021-04-19T14:42:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | h | // pch.h: This is a precompiled header file.
// Files listed below are compiled only once, improving build performance for future builds.
// This also affects IntelliSense performance, including code completion and many code browsing features.
// However, files listed here are ALL re-compiled if any one of them is upda... | [
"moonshot191@gmail.com"
] | moonshot191@gmail.com |
458e7a2e5c994dd79cbb0e813048f99e07592eba | dbcad4cb68a0777d3b74d821e467b1399b041d8c | /optbinstr.cpp | 399204aecce5e1ea1002543cb0b242546ccf5696 | [] | no_license | jatin196/CP | ec5724708b8b1a27abd6104d43f7ddb5d20549a4 | 35db7443b512d04e825ed445e301ef9eeea0b3a4 | refs/heads/master | 2023-04-19T02:48:11.828578 | 2021-05-07T18:47:58 | 2021-05-07T18:47:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <bits/stdc++.h>
using namespace std;
int ct(int n)
{
if (n == 0)
return 1;
if (n == 1)
return 2;
else
{
int a = ct(n - 1);
int b = ct(n - 2);
cout<<a<<" "<<b<<endl;
return a+b;
}
}
int main()
{
int n;
cin >> n;
cout << ct(n);
} | [
"jatinpopli196@gmail.com"
] | jatinpopli196@gmail.com |
21d1b9dbd47c8af24f940a8b7cfe39a04997a89e | 1460d98ad578dde9fb39d7a6605589743b3997ed | /chrome/browser/flag_descriptions.h | 0b52151760a4689aaa44037eea3a228c7e94708a | [
"BSD-3-Clause"
] | permissive | ShaheedLegion/chromium | 101016488b9027ade8bb47b0d9ca829da920bfa0 | efa942217548a45b1f6a5120dd66b9e8ba9ea24e | refs/heads/master | 2023-03-17T02:48:57.403495 | 2019-01-24T20:12:15 | 2019-01-24T20:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83,632 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_FLAG_DESCRIPTIONS_H_
#define CHROME_BROWSER_FLAG_DESCRIPTIONS_H_
// Includes needed for macros allowing conditional compilation of... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
92d7b1167d4c0f75e8b3ff544376cb5864aa0f42 | 0e79b11e100c78e1d0b7159cb6ae369a2942d6d0 | /dcmap/dcmapsys/utils.h | 3214281e7a94340c416bfa8c52410425b3c53909 | [] | no_license | JlblC/dcmap | e3be11c4c9da9ac4f0be693fee3b4fb2cf8af6ec | e2cbfa43dfe04125d19b4bae34e9a552db307198 | refs/heads/master | 2021-07-04T01:47:45.249683 | 2014-06-08T17:46:32 | 2014-06-08T17:46:32 | 20,622,342 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,045 | h | #pragma once
#include <boost/format.hpp>
#include "../dcmapsyslib.h"
#include "g_file_util.h"
template<class T> dcmap::string ToStr8(T const& d)
{
return gsys::to_str(d);
}
#define ToStr ToStr8
string WideToString(wstring wstr,int Codepage=-1);
wstring ToWide(string str,int Codepage=-1);
#if DCMAP_WCHAR_T_SIZE ==... | [
"jlblc@ya.ru"
] | jlblc@ya.ru |
f25a096db0d6c2992ce89d14a563552feb21f764 | 02695b31daa88d8104956cbc00bce0d38af4499f | /armory/Projectile_Bolt.cpp | c9ad6e508ea734f480d2fc571449c286695cc521 | [] | no_license | WeHaveCookie/Raven | c2770aa2e977172ed530e4fd84bf622bbe2feeb3 | ac83b30e5651242f1c796e2a2475fb4777a00286 | refs/heads/master | 2021-01-19T02:35:58.527423 | 2016-11-30T15:02:24 | 2016-11-30T15:02:24 | 73,505,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,074 | cpp | #include "Projectile_Bolt.h"
#include "../lua/Raven_Scriptor.h"
#include "misc/cgdi.h"
#include "../Raven_Bot.h"
#include "../Raven_Game.h"
#include "../constants.h"
#include "2d/WallIntersectionTests.h"
#include "../Raven_Map.h"
#include "../Raven_Messages.h"
#include "Messaging/MessageDispatcher.h"
//-------------... | [
"quentin.gerry@gmail.com"
] | quentin.gerry@gmail.com |
ee81283b034dc523f85a3f83b501929963cf4f5c | a97a75e570ea1e21e85e8bf7c75aac6b7bd7df26 | /Srishti1/Srishti1.ino | 5c77df13d43e1e5fb1b83e490b83c2081001992b | [] | no_license | shawnalexsony/Srishti-projects | d77e8772022f701431f5d76ebef92c978df29393 | be888cd49238af1de342b841b43c79ee2594eb91 | refs/heads/master | 2020-03-23T09:15:25.767349 | 2018-07-18T03:40:14 | 2018-07-18T03:40:14 | 141,376,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | ino | /*LED sequence display with active low switch*/
void setup() {
// put your setup code here, to run once:
pinMode(5,INPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
digitalWrite(5,HIGH);
}
void loop() {
// put your main code here, to run repeatedly:
if(digit... | [
"noreply@github.com"
] | shawnalexsony.noreply@github.com |
7fe0b843c680ec709989ae3f8d15f5997f6f2768 | 29b39d766420b0993e30d9895fdfe1b3a08c3074 | /TypeInfo.h | 10c0c320d2c8ddd949a9518ff1d4949cfc832a11 | [
"MIT"
] | permissive | seunggu/ECMA-C-Compiler | 65beeeac9c313d3e2b99d0adefd050a1f0d00d7e | 4482515f2ad46dc8029af26582193cee891406d7 | refs/heads/master | 2020-06-13T01:32:12.794471 | 2016-12-22T14:38:04 | 2016-12-22T14:38:04 | 75,468,721 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | h | //
// Created by seunggu on 2016. 12. 22..
//
#ifndef CPLUS_PRACTICE_TYPEINFO_H
#define CPLUS_PRACTICE_TYPEINFO_H
#include <iostream>
#include <vector>
// NONE: 아직 정해지지 않음
enum typeKind {NONE, ID, INT, DOUBLE, BOOL, STRING, LIST, FUNCTION};
using namespace std;
class TypeInfo {
public:
typeKind type;
};
// I... | [
"imaster0209@naver.com"
] | imaster0209@naver.com |
13e4a5d2875c4121b75214368652b5ad1955df34 | 9813b37706567312356aa0e3a6a014709a135942 | /ch10/ch10_ir_send/ch10_ir_send.ino | 2138991a3e6b8a606cafa760a46b860bb4b37014 | [] | no_license | bjepson/Arduino-Cookbook-3ed-INO | 3476f987b55ba8bfb4eb52e299f223b28dc5cd80 | 12148225ee774643a879d8f51e310917cb47ed8d | refs/heads/master | 2022-02-02T22:15:12.097700 | 2022-01-29T15:12:32 | 2022-01-29T15:12:32 | 204,302,305 | 30 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | ino | /*
* irSend sketch
* this code needs an IR LED connected to pin 3
* and 5 switches connected to pins 6 - 10
*/
#include <IRremote.h> // IR remote control library
const int numberOfKeys = 5;
const int firstKey = 6; // the first pin of the 5 sequential pins connected
// ... | [
"bjepson@gmail.com"
] | bjepson@gmail.com |
cdc1aa965275e654189ebf2c450c2d48f51c157c | 9fca389094aebaefa63692e76d3dde6d7272cec2 | /Render/src/debug.h | 2e96a0734be8eae9dcee1a1389a14f6223e9fbf6 | [] | no_license | klinchuh/Graphic-Render | 3c380ecc8aa35561ef4c870df57d04cd1c3e855a | d51fff14852b021cd630ce34eefed4776404875f | refs/heads/master | 2020-03-27T13:25:14.189633 | 2018-11-23T16:58:25 | 2018-11-23T16:58:25 | 146,365,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | h | #ifndef DEBUG_H
#define DEBUG_H
//full debug output log
#define DEBUG_LOG
#ifdef DEBUG_LOG
#include <iostream>
#include <fstream>
extern std::ofstream __debug_s;
#define ERROR_FLT(x) __debug_s << __FILE__ << ":" << __LINE__ << "\nError:" << x << std::endl;
#define DEBUG_S(x) __debug_s << x << std::endl;
#endif... | [
"klinchuh@gmail.com"
] | klinchuh@gmail.com |
4b52811992b359e6bfcd536e019631b630c478bd | 64ba1fb68e1bdab4f31ab3c03a1dfe238431da56 | /include/column.inl | b96b66af1f2f2a671647c172485d2e3dbe82d3d2 | [
"MIT"
] | permissive | XXGF/wiredtiger | 2665cc639b7347920674a3d75928be25d5e68ac1 | cf4ba57d68dd25620c9c0f0762e8e52f0b2ba4a2 | refs/heads/master | 2021-12-12T05:47:11.994310 | 2016-12-13T02:14:17 | 2016-12-13T02:14:17 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,026 | inl | /***************************************************
* column存储方式的检索实现
**************************************************/
/*在inshead skip list中定位到一个刚好大于recno的记录位置*/
static inline WT_INSERT* __col_insert_search_gt(WT_INSERT_HEAD* inshead, uint64_t recno)
{
WT_INSERT *ins, **insp;
int i;
/* inshead不包含recno所在的范围,不... | [
"rongxi.yuan@wenba100.com"
] | rongxi.yuan@wenba100.com |
4d316f58027298ecd84c5d9bccd23133b1bc9102 | 90a5e5288f080e82382e13f2026e5bd51e3bfe11 | /CG4/CG4/mainwindow.h | ffe70dd102aa7d2232fae6411bc337eb126cb3d6 | [] | no_license | MikeGus/CG | 53855bfb0536c3655fbd1a49a3a41731dbbe397d | 02f5c4bd2b732b74547e5ecfcd739ef90502c395 | refs/heads/master | 2021-01-19T09:03:25.269152 | 2017-05-23T09:21:37 | 2017-05-23T09:21:37 | 87,717,197 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 968 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QGraphicsView>
#include <QGraphicsScene>
#include <QColor>
#include <QPixmap>
#include "drawdata.h"
#include "draw.h"
#include "draw_circle.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
... | [
"="
] | = |
dddf346b4edb48b71540d30306abaa9fad2079ba | 8ea07b9697a0014ad89ae13b90e71fe644aef9c7 | /src/resource_file.hpp | 48d7122a7b38f2c83e8515904dea6b2c68144447 | [] | no_license | snailbaron/buzz-legacy | 4d620e5159f5cb9e8025639ebd175f74a827106a | 80926da842a7260c12bd98c2577e8c6859b17168 | refs/heads/master | 2022-09-28T06:01:15.448177 | 2016-01-29T14:33:24 | 2016-01-29T14:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | hpp | #ifndef _RESOURCE_FILE_HPP_
#define _RESOURCE_FILE_HPP_
#include "resource.hpp"
class ResourceFile
{
public:
virtual bool Open() = 0;
virtual int GetResourceSize(const Resource &r) = 0;
virtual int GetResource(const Resource &r, char *buffer) = 0;
virtual ~ResourceFile() {}
};
#endif
| [
"murbidodrus@gmail.com"
] | murbidodrus@gmail.com |
2f6b71063ca761d56914f85118480a389e74fbf0 | 398f682da5d2c271fdd7b5f232647da21018e40e | /macchina/sam/libraries/due_wire/due_wire.h | a018c4a6f824344ba3fb631f1ce21c32b6180fad | [] | no_license | DanielOved/M2 | 87bb0c233ad04ce3bf1f327c5227a1996f43b40b | ce590aa4bd792fcd9fbc9f2b97df0e39cd3ce61d | refs/heads/master | 2021-09-11T15:05:53.616442 | 2018-04-01T20:46:26 | 2018-04-01T20:46:26 | 126,085,513 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,302 | h | /*
* TwoWire.h - TWI/I2C library for Arduino Due
* Copyright (c) 2011 Cristian Maglie <c.maglie@bug.st>.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ei... | [
"daniel.oved@outlook.com"
] | daniel.oved@outlook.com |
73bd0d933401aa20cd306040d6d393002df7434a | a8b937985a2a245195a039192be6b4334fe8a349 | /tests/minkowski_error_test.h | 0594b8171d6021ee21ef22ab72f36d9eddfeaff8 | [] | no_license | Quanteek/OpenNN-CMake | f7e460758f6dd62a39fedfc148726a5e9fb64f50 | 1cecec74764ef70f1caa10fc76272673c9eb3b40 | refs/heads/master | 2021-01-01T05:40:41.148486 | 2014-06-26T11:49:59 | 2014-06-26T11:49:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,329 | h | /****************************************************************************************************************/
/* */
/* OpenNN: Open Neural Networks Library ... | [
"benoitbayol@dhcp-23-78.wifi-auth.ecp.fr"
] | benoitbayol@dhcp-23-78.wifi-auth.ecp.fr |
533826117bee6a42a045935f6d73be20c789ea93 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/pdfium/fpdfsdk/javascript/cjs_runtime.h | 2668367c1b2fb2095a19ba016deba9f956592f60 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | 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 | 2,817 | h | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef FPDFSDK_JAVASCRIPT_CJS_RUNTIME_H_
#define FPDFSDK_JAVASCRIPT_CJS_RUNTI... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
87280af077ade7725d266eaa244b36db7ce6962f | 675799331c7b3812ec286ec6786a3020d9bdac3d | /CPP/AtCoder/arc/027/a.cpp | 2945eec9c57e162164d104d07bccc79456eb8ef6 | [] | no_license | kkisic/Procon | 07436574c12ebb01347b92d98c7aebb31404085a | 30f394c237369a7d706fe46b53dc9d0313ce053e | refs/heads/master | 2021-10-24T17:29:13.390016 | 2021-10-04T14:03:51 | 2021-10-04T14:03:51 | 112,325,136 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include <cmath>
#include <iostream>
#include <vector>
#include <queue>
#include <algorithm>
#include <utility>
#include <iomanip>
#define int long long int
#define rep(i, n) for(int i = 0; i < (n); ++i)
using namespace std;
typedef pair<int, int> P;
const int INF = 1e15;
const int MOD = 1e9+7;
signed main(){
... | [
"amareamo.pxhxc@gmail.com"
] | amareamo.pxhxc@gmail.com |
644656c30cfb791bc7d2d91b51bc2f9b77c471e6 | 8a6aa8798436d8b256099fa163249fcab9f86d89 | /C++/Airplane/Airplane/main.cpp | 2549e667f273bf169c57713842e679bc71cef66b | [] | no_license | 12330072/C-learning | 39f2399c4c5413ef80bd62b90a4688555606dc96 | 94b92bcd5bdfe99627b46eb4f6f46d379b0b67fe | refs/heads/master | 2021-01-14T13:21:22.999905 | 2016-05-12T23:58:24 | 2016-05-12T23:58:24 | 58,739,535 | 0 | 1 | null | 2016-05-13T12:43:31 | 2016-05-13T12:43:31 | null | UTF-8 | C++ | false | false | 327 | cpp | #include "airplane.h"
using namespace std;
int main() {
int flag;
string dest;
cin >> flag >> dest;
Airplane* p = NULL;
if (flag < 2) {
p = new ModelA;
} else if (flag < 4) {
p = new ModelB;
} else {
p = new ModelC;
}
p->fly(dest);
delete p;
retu... | [
"“mgsweet@126.com”"
] | “mgsweet@126.com” |
32329eac83fb67c8916660164188dc7d5641ec76 | aae79375bee5bbcaff765fc319a799f843b75bac | /srm_5xx/srm_559/HyperKnight.cpp | bf8e6edd2431ec3cc89328465ef1b98cec9d97e0 | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,320 | cpp | // BEGIN CUT HERE
/*
// SRM 559 Div1 Easy (250)
問題
チェス盤の大きさと(±a,±b)で動けるナイトが与えられる。
移動可能な先がちょうどk箇所ある升目の総数を求める。
*/
// END CUT HERE
#include <algorithm>
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
using namespace std;
typedef long long LL;
class HyperKnight {
public:
long long countCe... | [
"karamaki@gmail.com"
] | karamaki@gmail.com |
de3ed251c08f23fe9162cff22b3237e140dae0d9 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/type_erasure/concept_interface.hpp | cc31173e5b38ece3c831b00b4f42de3523e8a99b | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,876 | hpp | // Boost.TypeErasure library
//
// Copyright 2011 Steven Watanabe
//
// 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)
//
// $Id$
#ifndef BOOST_TYPE_ERASURE_CONCEPT_INTERFACE_HPP_INCLUDED
#define BOOST_TYPE_ERASURE... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
3c20ee73470edabd9c28793460e7ed45b1e2fd09 | 6aba29da570f3c20937e3a6bae97a90639dc3b88 | /src/Tests/.svn/text-base/Inizializzazione_LS.cpp.svn-base | 9741c08d2a938348e92d0828a8aaa475fa187538 | [] | no_license | Splinter83/ndimp | 0484af4a629d4372b69330686aa59d1dc344b3f3 | d8a785cc2f75b785bbf327eebe4b30054cf66c26 | refs/heads/master | 2020-04-30T13:42:03.866798 | 2013-06-03T09:40:59 | 2013-06-03T09:40:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | /*
* Inizializzazione_LS.cpp
*
* Created on: 07/set/2012
* Author: grande
*/
#include <unistd.h>
#include <stdarg.h>
#include "Inizializzazione_LS.h"
#include "external_vars.h"
#include "Logger.h"
#include "VmeAbstractionDevice.h"
#include "GlobalTypes.h"
Inizializzazione_LS::Inizializza... | [
"gabriele.fabiani05@fastwebnet.it"
] | gabriele.fabiani05@fastwebnet.it | |
4fc1bff7dd6abcd079e1dfec7bb8fcd45a1ab3fd | 3ee11c65b0be69ec0fad51b930c8714fedcdddf0 | /src/ChrCopyNumber.cpp | 0298bc62bbe47c666dcf43cde3a4e51f9de8d0bc | [] | no_license | johanneskoester/FREEC | 0a74ee436c6bbb4be4cfd613d0543ee4574b9ef8 | fea52d306d1053df11335e70af87d794c54b82ee | refs/heads/master | 2021-01-19T23:40:59.715779 | 2017-04-20T14:01:23 | 2017-04-20T14:01:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,197 | cpp | /*************************************************************************
Copyright (c) 2010-2011, Valentina BOEVA.
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation (www.fsf.org... | [
"valentina.boeva@gmail.com"
] | valentina.boeva@gmail.com |
85ae2b4f34673aa25e1cd8ba8723f2ef6cf74397 | 6ef4a73fc1ea09e7de7465eaef001f47b8dfa893 | /Fontes/TopologiaDMS/TEqptoTopologia.cpp | 610a0f85ec3112b70d3234d5028639c0344a20d5 | [] | no_license | danilodesouzapereira/ProjetoEDPDMS | aa8ca3cdada9b1f7506c0a8e33cfb37e82479cab | d87c5603b0ac368f58e597b24576c384113b75c7 | refs/heads/master | 2020-09-26T19:53:55.301750 | 2020-01-22T12:12:20 | 2020-01-22T12:12:20 | 226,331,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | //---------------------------------------------------------------------------
#pragma hdrstop
//---------------------------------------------------------------------------
#include "TEqptoTopologia.h"
#include <PlataformaSinap\Fontes\Apl\VTApl.h>
//-----------------------------------------------------------------------... | [
"danilodesouzapereira@gmail.com"
] | danilodesouzapereira@gmail.com |
a6a11158d45e3b4e6005aa9f2c9da28f8c050a43 | 83ba2247eb65387eef544ef235c5aa28fe117119 | /Connecter.h | b02f7ae216ea1e628bded911cff3b2c0070c85e1 | [] | no_license | kspine/window-network-IOCP | 03ff2629974c5a8d2c3ece7dca57b9dc3980f606 | d18030ce4f0c7e3be64d89eb5b764577515b35f5 | refs/heads/master | 2021-01-20T05:44:08.384390 | 2015-06-03T16:20:00 | 2015-06-03T16:20:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | h |
#ifndef CONNECTER_H__
#define CONNECTER_H__
#include "NetObject.h"
class Connecter : public NetObject
{
public:
Connecter(void);
~Connecter(void);
bool Connect_To_Server(const std::string strIP,unsigned short nPort);
private:
SOCKET _socket;
std::string _strIP;
unsigned short _nPort;
};
... | [
"freexleisure@126.com"
] | freexleisure@126.com |
864262fb09bf30229d80da42229f2bf4310f8d3c | 0cda2dcf353c9dbb42e7b820861929948b9942ea | /fileedit/2009/SyllableSorting.cpp | 54438fd16b16fea8d23863ecfd13e23d1e098f45 | [] | no_license | naoyat/topcoder | 618853a31fa339ac6aa8e7099ceedcdd1eb67c64 | ec1a691cd0f56359f3de899b03eada9efa01f31d | refs/heads/master | 2020-05-30T23:14:10.356754 | 2010-01-17T04:03:52 | 2010-01-17T04:03:52 | 176,567 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,352 | cpp | // BEGIN CUT HERE
/*
// PROBLEM STATEMENT
// Syllable sorting is a method of sorting words based on their syllabic decompositions. The first step is to decompose each word into syllables. A syllable is defined as a maximal non-empty substring of consonants followed by a maximal non-empty substring of vowels. The onl... | [
"naoya_t@users.sourceforge.jp"
] | naoya_t@users.sourceforge.jp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.