hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80414079621538b5fd8948bf0a13bfa4c5831ccc | 3,705 | cpp | C++ | fastflow/tests/test_ofarm.cpp | robzan8/prefixsum | 5be9ae17473a3dd06406f614e6515c31ac68a219 | [
"MIT"
] | 2 | 2017-11-09T11:32:14.000Z | 2021-09-12T20:26:36.000Z | fastflow/tests/test_ofarm.cpp | robzan8/prefixsum | 5be9ae17473a3dd06406f614e6515c31ac68a219 | [
"MIT"
] | null | null | null | fastflow/tests/test_ofarm.cpp | robzan8/prefixsum | 5be9ae17473a3dd06406f614e6515c31ac68a219 | [
"MIT"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* ***************************************************************************
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by ... | 27.043796 | 98 | 0.546289 | robzan8 |
804365d54585c9a92d463429a3c62c48c159a0bd | 119 | cpp | C++ | src/csapex_core/src/core/bootstrap_plugin.cpp | ICRA-2018/csapex | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | [
"BSD-3-Clause"
] | 21 | 2016-09-02T15:33:25.000Z | 2021-06-10T06:34:39.000Z | src/csapex_core/src/core/bootstrap_plugin.cpp | ICRA-2018/csapex | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | [
"BSD-3-Clause"
] | null | null | null | src/csapex_core/src/core/bootstrap_plugin.cpp | ICRA-2018/csapex | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | [
"BSD-3-Clause"
] | 10 | 2016-10-12T00:55:17.000Z | 2020-04-24T19:59:02.000Z | /// HEADER
#include <csapex/core/bootstrap_plugin.h>
using namespace csapex;
BootstrapPlugin::~BootstrapPlugin()
{
}
| 13.222222 | 41 | 0.756303 | ICRA-2018 |
8046d814225032655eff98b65bd7c499539e10af | 2,290 | hh | C++ | src/device/timer.hh | othieno/invaders | 89cb19d8d305943897530e636e0ba69b8c2ad8d6 | [
"MIT"
] | null | null | null | src/device/timer.hh | othieno/invaders | 89cb19d8d305943897530e636e0ba69b8c2ad8d6 | [
"MIT"
] | null | null | null | src/device/timer.hh | othieno/invaders | 89cb19d8d305943897530e636e0ba69b8c2ad8d6 | [
"MIT"
] | null | null | null | /*
* This file is part of the Space Invaders clone project.
* https://github.com/othieno/invaders
*
* Copyright (c) 2016 Jeremy Othieno.
*
* The MIT License (MIT)
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | 32.253521 | 98 | 0.734934 | othieno |
804b121ad12829fbba57c3e308e56c1521d1276b | 39,649 | cc | C++ | centreon-engine/modules/external_commands/src/processing.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 8 | 2020-07-26T09:12:02.000Z | 2022-03-30T17:24:29.000Z | centreon-engine/modules/external_commands/src/processing.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 47 | 2020-06-18T12:11:37.000Z | 2022-03-16T10:28:56.000Z | centreon-engine/modules/external_commands/src/processing.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 5 | 2020-06-29T14:22:02.000Z | 2022-03-17T10:34:10.000Z | /*
** Copyright 2011-2013,2015-2016 Centreon
**
** This file is part of Centreon Engine.
**
** Centreon Engine is free software: you can redistribute it and/or
** modify it under the terms of the GNU General Public License version 2
** as published by the Free Software Foundation.
**
** Centreon Engine is distributed i... | 47.540767 | 80 | 0.642488 | centreon |
804d793560b541fcb2452448b6cd1e33c00042f5 | 6,032 | cc | C++ | iree/base/dynamic_library_win32.cc | 3alireza32109/iree | fd32e47b1695f105d20c06b8b20a29ef65c5e54c | [
"Apache-2.0"
] | 2 | 2021-10-03T15:58:09.000Z | 2021-11-17T10:34:35.000Z | iree/base/dynamic_library_win32.cc | 3alireza32109/iree | fd32e47b1695f105d20c06b8b20a29ef65c5e54c | [
"Apache-2.0"
] | null | null | null | iree/base/dynamic_library_win32.cc | 3alireza32109/iree | fd32e47b1695f105d20c06b8b20a29ef65c5e54c | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 37.465839 | 80 | 0.706233 | 3alireza32109 |
804e1d28dc4634b129850c1120594c76640aa6f9 | 770 | hpp | C++ | Deitel/Chapter13/exercises/13.16/SavingsAccount.hpp | SebastianTirado/Cpp-Learning-Archive | fb83379d0cc3f9b2390cef00119464ec946753f4 | [
"MIT"
] | 19 | 2019-09-15T12:23:51.000Z | 2020-06-18T08:31:26.000Z | Deitel/Chapter13/exercises/13.16/SavingsAccount.hpp | eirichan/CppLearingArchive | 07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac | [
"MIT"
] | 15 | 2021-12-07T06:46:03.000Z | 2022-01-31T07:55:32.000Z | Deitel/Chapter13/exercises/13.16/SavingsAccount.hpp | eirichan/CppLearingArchive | 07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac | [
"MIT"
] | 13 | 2019-06-29T02:58:27.000Z | 2020-05-07T08:52:22.000Z | /*
* =====================================================================================
*
* Filename: SavingsAccount.hpp
*
* Description: Exercise 12.10 - Account Inheritance Hierarchy
*
* Version: 1.0
* Created: 24/07/16 20:27:54
* Revision: none
* Compiler: gcc
*... | 22.647059 | 88 | 0.480519 | SebastianTirado |
804f874a6c67bc61047e95b341f9589d0da4ff42 | 5,699 | cpp | C++ | framework/src/minko/component/Camera.cpp | aerys/minko | edc3806a4e01570c5cb21f3402223ca695d08d22 | [
"BSD-3-Clause"
] | 478 | 2015-01-04T16:59:53.000Z | 2022-03-07T20:28:07.000Z | framework/src/minko/component/Camera.cpp | aerys/minko | edc3806a4e01570c5cb21f3402223ca695d08d22 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T21:45:06.000Z | 2021-11-08T11:01:48.000Z | framework/src/minko/component/Camera.cpp | aerys/minko | edc3806a4e01570c5cb21f3402223ca695d08d22 | [
"BSD-3-Clause"
] | 175 | 2015-01-04T03:30:39.000Z | 2020-01-27T17:08:14.000Z | /*
Copyright (c) 2014 Aerys
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,
sublicens... | 29.994737 | 111 | 0.689244 | aerys |
8052e1cb116b2c86e01367c2ead20ace8cb3dd5e | 1,057 | cpp | C++ | lintcode/165_merge_two_sorted_lists.cpp | code-master5/CP-Personal | 2f40cc6c0f7fcee47085959dac8f37ad66318aaa | [
"MIT"
] | null | null | null | lintcode/165_merge_two_sorted_lists.cpp | code-master5/CP-Personal | 2f40cc6c0f7fcee47085959dac8f37ad66318aaa | [
"MIT"
] | null | null | null | lintcode/165_merge_two_sorted_lists.cpp | code-master5/CP-Personal | 2f40cc6c0f7fcee47085959dac8f37ad66318aaa | [
"MIT"
] | null | null | null | /**
* Definition of singly-linked-list:
* class ListNode {
* public:
* int val;
* ListNode *next;
* ListNode(int val) {
* this->val = val;
* this->next = NULL;
* }
* }
*/
class Solution {
public:
/**
* @param l1: ListNode l1 is the head of the linked list
* @param... | 23.488889 | 60 | 0.456954 | code-master5 |
805515743fe5be5e0f0d06a47b0c056c0c6e7e1f | 1,483 | cpp | C++ | src/Dimmer.cpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | 1 | 2016-05-17T03:36:52.000Z | 2016-05-17T03:36:52.000Z | src/Dimmer.cpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | src/Dimmer.cpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "color.h"
#include "Dimmer.h"
float Dimmer::alphaBlur = 1.0f;
Dimmer::Dimmer() {}
void Dimmer::draw() const {
if (alphaBlur < FLT_EPSILON) {
alphaBlur = 0.0f;
return;
}
glPushAttrib(GL_ALL_ATTRIB_BITS);
glColor4f(0, 0, 0, alphaBlur);
glDisable(GL_LIGHTING);
glDisable(GL_COL... | 20.887324 | 51 | 0.700607 | foxostro |
8056f7a227e5adb5c357004ba1b2c4bc92866c89 | 1,025 | cpp | C++ | leetcode.com/0393 UTF-8 Validation/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2020-08-20T11:02:49.000Z | 2020-08-20T11:02:49.000Z | leetcode.com/0393 UTF-8 Validation/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | null | null | null | leetcode.com/0393 UTF-8 Validation/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2022-01-01T23:23:13.000Z | 2022-01-01T23:23:13.000Z | #include <iostream>
#include <vector>
using namespace std;
class Solution {
private:
int count_bytes(int first_byte) {
int mask = 1 << 7;
int res = 0;
for (int i = 0; i < 4; ++i) {
if (first_byte & mask) {
++res;
} else {
break;
}
mask >>= 1;
}
// res co... | 21.354167 | 60 | 0.513171 | sky-bro |
8059f8cdd9388e4674d4c42704c862bf4f3528aa | 46,477 | cc | C++ | test_atp.cc | wwmfdb/ATP-Engine | 00eaf0f551907c9d6e2db446d5e78364364531d4 | [
"BSD-3-Clause-Clear"
] | 16 | 2020-05-19T16:13:10.000Z | 2022-02-05T19:22:37.000Z | test_atp.cc | wwmfdb/ATP-Engine | 00eaf0f551907c9d6e2db446d5e78364364531d4 | [
"BSD-3-Clause-Clear"
] | 6 | 2020-07-16T14:30:02.000Z | 2021-11-08T22:10:18.000Z | test_atp.cc | wwmfdb/ATP-Engine | 00eaf0f551907c9d6e2db446d5e78364364531d4 | [
"BSD-3-Clause-Clear"
] | 12 | 2020-05-21T17:56:34.000Z | 2022-01-19T02:07:15.000Z | /*
* SPDX-License-Identifier: BSD-3-Clause-Clear
*
* Copyright (c) 2015, 2017 ARM Limited
* All rights reserved
* Created on: Oct 19, 2015
* Author: Matteo Andreozzi
* Riken Gohil
*/
#include "test_atp.hh"
#include "event.hh"
#include "stats.hh"
#include "fifo.hh"
#include "packet_desc.hh"
#... | 34.892643 | 121 | 0.63823 | wwmfdb |
805e6bc7723f90f790ec29fb614e1b636c31e5f5 | 2,365 | cpp | C++ | Receiver/src/main.cpp | rhymu8354/SocketTutorial | 9f6b6c243da6ac0b7e6754d5b2edc8f803d8c1ef | [
"MIT"
] | 28 | 2020-06-25T03:19:26.000Z | 2021-12-08T04:27:09.000Z | Receiver/src/main.cpp | rhymu8354/SocketTutorial | 9f6b6c243da6ac0b7e6754d5b2edc8f803d8c1ef | [
"MIT"
] | 1 | 2021-09-21T06:32:29.000Z | 2021-09-21T06:32:29.000Z | Receiver/src/main.cpp | rhymu8354/SocketTutorial | 9f6b6c243da6ac0b7e6754d5b2edc8f803d8c1ef | [
"MIT"
] | 5 | 2020-11-26T23:38:52.000Z | 2022-01-13T13:02:20.000Z | #include <inttypes.h>
#include <signal.h>
#include <Sockets/DatagramSocket.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <thread>
namespace {
// This is the UDP port number at which we will receive messages.
constexpr uint16_t port = 8000;
// This flag is set by our SIGINT signal handler in order ... | 34.779412 | 79 | 0.660888 | rhymu8354 |
805f1f34a091be632afc6ce698d2a72ea9be4b6d | 1,691 | cpp | C++ | p3.cpp | mihaimusat/PA-Tema1-2019 | 60b959ca1665db8614be54ef1ca71849aeeee4ba | [
"MIT"
] | null | null | null | p3.cpp | mihaimusat/PA-Tema1-2019 | 60b959ca1665db8614be54ef1ca71849aeeee4ba | [
"MIT"
] | null | null | null | p3.cpp | mihaimusat/PA-Tema1-2019 | 60b959ca1665db8614be54ef1ca71849aeeee4ba | [
"MIT"
] | null | null | null | /*Musat Mihai-Robert
*Grupa 323CB
*/
#include <bits/stdc++.h>
const int NMAX = 1e3 + 5, TUZGU = 0, RITZA = 1;
using namespace std;
int main()
{
ifstream fin("p3.in");
ofstream fout("p3.out");
int n, v[NMAX];
long long dp[NMAX][NMAX];
//citire date de intrare
fin >> n;
for(int i = 1; ... | 29.155172 | 109 | 0.564755 | mihaimusat |
8067fbf9ccdc6bffb693b8ea482f3205352d6a6c | 3,101 | tpp | C++ | code/source/ui/hid/actionlistener.tpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | 12 | 2015-01-12T00:19:20.000Z | 2021-08-05T10:47:20.000Z | code/source/ui/hid/actionlistener.tpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | code/source/ui/hid/actionlistener.tpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null |
template <nodes::SignalType S>
ActionListener<S>::ActionListener( const ContextChannel::Name& channel_name,
const Context::Tag& context_tag,
const Action::Name& action_name,
Callback on_action){
startListening(channel_name, context_tag, action_name,
createTypeSafeCallback(on_action));
}
... | 29.254717 | 168 | 0.750726 | crafn |
80754a668bb28675bc4251228b13ef9225016b78 | 1,170 | cc | C++ | config/tests/iconv.cc | henkdemarie/dicom-dimse-native | a2a5042de8c5de04831baf3de7182ea2eb7b78f8 | [
"MIT"
] | 29 | 2020-02-13T17:40:16.000Z | 2022-03-12T14:58:22.000Z | config/tests/iconv.cc | henkdemarie/dicom-dimse-native | a2a5042de8c5de04831baf3de7182ea2eb7b78f8 | [
"MIT"
] | 20 | 2020-03-20T18:06:31.000Z | 2022-02-25T08:38:08.000Z | config/tests/iconv.cc | henkdemarie/dicom-dimse-native | a2a5042de8c5de04831baf3de7182ea2eb7b78f8 | [
"MIT"
] | 9 | 2020-03-20T17:29:55.000Z | 2022-02-14T10:15:33.000Z | /*
* Copyright (C) 2018, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: config
*
* Author: Jan Schlamelcher
... | 22.075472 | 65 | 0.538462 | henkdemarie |
807a53f7c05dbaaf2ba29c8924fd6bf94ef1a31e | 850 | cpp | C++ | docs/examples/stroke_closed_degenerate_path.cpp | mohad12211/skia | 042a53aa094715e031ebad4da072524ace316744 | [
"BSD-3-Clause"
] | 6,304 | 2015-01-05T23:45:12.000Z | 2022-03-31T09:48:13.000Z | docs/examples/stroke_closed_degenerate_path.cpp | mohad12211/skia | 042a53aa094715e031ebad4da072524ace316744 | [
"BSD-3-Clause"
] | 67 | 2016-04-18T13:30:02.000Z | 2022-03-31T23:06:55.000Z | docs/examples/stroke_closed_degenerate_path.cpp | mohad12211/skia | 042a53aa094715e031ebad4da072524ace316744 | [
"BSD-3-Clause"
] | 1,231 | 2015-01-05T03:17:39.000Z | 2022-03-31T22:54:58.000Z | // Copyright 2020 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
REG_FIDDLE(stroke_closed_degenerate_path, 256, 256, false, 0) {
void draw(SkCanvas* canvas) {
SkPath path;
path.addRect({50.f, 50.f, 50.f, 50.f});... | 32.692308 | 100 | 0.723529 | mohad12211 |
807e6fab3e5a7a819f3ad2a1877cb1240b1a4b1d | 818 | cpp | C++ | examples/example_as_list.cpp | alipha/streamer | 5ce6e19ea517dd201a946bd83ba1732b769c84d3 | [
"MIT"
] | null | null | null | examples/example_as_list.cpp | alipha/streamer | 5ce6e19ea517dd201a946bd83ba1732b769c84d3 | [
"MIT"
] | null | null | null | examples/example_as_list.cpp | alipha/streamer | 5ce6e19ea517dd201a946bd83ba1732b769c84d3 | [
"MIT"
] | null | null | null | #include "../streamer/generate.hpp"
#include "../streamer/list.hpp"
#include <array>
#include <cassert>
/*
* as_list and as_list() move the elements in the stream into a std::list and returns the std::list.
* as_list and as_list() force the steps of the stream to be executed.
* as_list and as_list() cannot be used ... | 25.5625 | 100 | 0.621027 | alipha |
8081e2164b2e6afc7d999f573f34ec1a4131ccef | 910 | cpp | C++ | Number of Coins - GFG/number-of-coins.cpp | Jatin-Shihora/LeetCode-Solutions | 8e6fc84971ec96ec1263ba5ba2a8ae09e6404398 | [
"MIT"
] | 1 | 2022-01-02T10:29:32.000Z | 2022-01-02T10:29:32.000Z | Number of Coins - GFG/number-of-coins.cpp | Jatin-Shihora/LeetCode-Solutions | 8e6fc84971ec96ec1263ba5ba2a8ae09e6404398 | [
"MIT"
] | null | null | null | Number of Coins - GFG/number-of-coins.cpp | Jatin-Shihora/LeetCode-Solutions | 8e6fc84971ec96ec1263ba5ba2a8ae09e6404398 | [
"MIT"
] | 1 | 2022-03-04T12:44:14.000Z | 2022-03-04T12:44:14.000Z | // { Driver Code Starts
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution{
public:
int minCoins(int coins[], int M, int V)
{
// Your code goes here
int dp[V+1];
dp[0] = 0 ;
for(int i=1;i<=V;i++) dp[i] = INT_MAX;
for(int i=1;i<=V;i++){
for(i... | 17.169811 | 46 | 0.414286 | Jatin-Shihora |
8081f77ad22462c18d1483e12413ea11fff88d8a | 46 | cpp | C++ | src/libs/ocMath/Point2d.cpp | TO85/OttoCODE | 48f0ea1be3c55cf63f508db93a2794b10bc346c8 | [
"MIT"
] | 2 | 2021-08-15T17:21:27.000Z | 2021-08-20T21:41:16.000Z | src/libs/ocMath/Point2d.cpp | TO85/OttoCODE | 48f0ea1be3c55cf63f508db93a2794b10bc346c8 | [
"MIT"
] | 8 | 2022-01-19T08:18:51.000Z | 2022-03-13T14:45:03.000Z | src/libs/ocMath/Point2d.cpp | TO85/torc | fb21aa272192023fec9d5e1018c291e26462fd36 | [
"MIT"
] | null | null | null | #include "Point2d.h"
Point2d::Point2d()
{
}
| 6.571429 | 20 | 0.630435 | TO85 |
8092684d8aeb7d29e32f21e1371ca51c03fba9b8 | 1,417 | hpp | C++ | cpp/godot-cpp/include/gen/Shader.hpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/include/gen/Shader.hpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/include/gen/Shader.hpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #ifndef GODOT_CPP_SHADER_HPP
#define GODOT_CPP_SHADER_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "Shader.hpp"
#include "Resource.hpp"
namespace godot {
class Texture;
class Shader : public Resource {
struct ___method_bindings {
go... | 24.431034 | 245 | 0.768525 | GDNative-Gradle |
80937a3344b282b72997fbe04f38d7d1554b3e03 | 1,303 | hpp | C++ | third_party/boost/simd/function/refine_rsqrt.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/function/refine_rsqrt.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/function/refine_rsqrt.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//=========================... | 24.584906 | 100 | 0.606293 | SylvainCorlay |
8093b98e1aadbae41453d92eb6af47bcff31e12b | 4,704 | cpp | C++ | test/src/tc/es/gtest/src/helper/enrollee/ESEnrolleeHelper.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 301 | 2015-01-20T16:11:32.000Z | 2021-11-25T04:29:36.000Z | test/src/tc/es/gtest/src/helper/enrollee/ESEnrolleeHelper.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 13 | 2015-06-04T09:55:15.000Z | 2020-09-23T00:38:07.000Z | test/src/tc/es/gtest/src/helper/enrollee/ESEnrolleeHelper.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 233 | 2015-01-26T03:41:59.000Z | 2022-03-18T23:54:04.000Z | /******************************************************************
*
* Copyright 2016 Samsung Electronics 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
*
... | 27.348837 | 85 | 0.635629 | jonghenhan |
809777ad73d752c8f0b59c3145993b57bebcfe5d | 4,963 | cxx | C++ | ds/security/protocols/kerberos/parser/asn1base.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/protocols/kerberos/parser/asn1base.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/protocols/kerberos/parser/asn1base.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //=============================================================================
//
// MODULE: ASN1Base.cxx
//
// Description:
//
// Implementation of the ASN1ParserBase class
//
// Modification History
//
// Mark Pustilnik Date: 06/09/02 - created
//
//=====================================... | 22.057778 | 81 | 0.480959 | npocmaka |
8098e862feb929b40a73d442ae17e8e9596eeccb | 478 | cpp | C++ | src/snap/undirected.cpp | jrbn/trident | e56a4977054eea01cb3f716db92bde5d6a49bfb7 | [
"Apache-2.0"
] | null | null | null | src/snap/undirected.cpp | jrbn/trident | e56a4977054eea01cb3f716db92bde5d6a49bfb7 | [
"Apache-2.0"
] | null | null | null | src/snap/undirected.cpp | jrbn/trident | e56a4977054eea01cb3f716db92bde5d6a49bfb7 | [
"Apache-2.0"
] | null | null | null | #include <snap/directed.h>
#include <snap/undirected.h>
Trident_UTNGraph::Trident_UTNGraph(KB *kb) {
this->kb = kb;
this->q = kb->query();
SnapReaders::loadAllFiles(kb);
string path = kb->getPath() + string("/tree/flat");
mapping = bip::file_mapping(path.c_str(), bip::read_only);
mapped_rgn = b... | 34.142857 | 62 | 0.67364 | jrbn |
809ebd14915c0890cc407b1c94923460312d5c72 | 115 | cpp | C++ | examples/implementation/greeter.cpp | dwd31415/emscripten-build-tool | 0e8d1ec10f0fc899d07873ee1bed8e61b48d31c0 | [
"MIT"
] | null | null | null | examples/implementation/greeter.cpp | dwd31415/emscripten-build-tool | 0e8d1ec10f0fc899d07873ee1bed8e61b48d31c0 | [
"MIT"
] | null | null | null | examples/implementation/greeter.cpp | dwd31415/emscripten-build-tool | 0e8d1ec10f0fc899d07873ee1bed8e61b48d31c0 | [
"MIT"
] | null | null | null | #include "greeter.h"
void Greeter::greet(std::string name)
{
std::cout << this->greeting << name << std::endl;
}
| 16.428571 | 50 | 0.643478 | dwd31415 |
80a082797bce020722e5a80eef379cc17550980b | 3,423 | cpp | C++ | Chaos-Engine/Material.cpp | MrAbnox/Chaos-Engine | cad124526f416d661f110ac1fcc7070f4ae9fedf | [
"MIT"
] | 1 | 2020-02-10T13:30:44.000Z | 2020-02-10T13:30:44.000Z | Chaos-Engine/Material.cpp | MrAbnox/Chaos-Engine | cad124526f416d661f110ac1fcc7070f4ae9fedf | [
"MIT"
] | null | null | null | Chaos-Engine/Material.cpp | MrAbnox/Chaos-Engine | cad124526f416d661f110ac1fcc7070f4ae9fedf | [
"MIT"
] | null | null | null | #include "Material.h"
#include "TheShader.h"
#include "TheDebug.h"
//-------------------------------------------------------------------------------
//Constructor
//-------------------------------------------------------------------------------
Material::Material()
{
name = "Material";
shininess = 0;
amb... | 28.057377 | 82 | 0.322232 | MrAbnox |
80a1accc0ac9c2b7d6fbcf56cf38871659f33407 | 2,193 | cpp | C++ | 13.cpp | malkiewiczm/adventofcode2020 | 8491a5a0be11fa8cfa61d67c97401797c0e7cf6b | [
"Apache-2.0"
] | null | null | null | 13.cpp | malkiewiczm/adventofcode2020 | 8491a5a0be11fa8cfa61d67c97401797c0e7cf6b | [
"Apache-2.0"
] | null | null | null | 13.cpp | malkiewiczm/adventofcode2020 | 8491a5a0be11fa8cfa61d67c97401797c0e7cf6b | [
"Apache-2.0"
] | null | null | null | //#define PARTONE
#include "template.hpp"
#define INF(T) std::numeric_limits<T>::max()
#ifndef PARTONE
struct BusPair {
I64 line;
I64 order;
};
static inline std::ostream &operator<< (std::ostream &o, const BusPair &pair)
{
o << "{ line: " << pair.line << ", order: " << pair.order << " }";
return o;
}
#endif
i... | 21.712871 | 77 | 0.588235 | malkiewiczm |
80a1d9ad5e474a1350b805d04546a7092717587d | 227 | cpp | C++ | NgineApp/src/NgineApplication.cpp | nak1411/Ngine | 1f8d0784c43780f8a53149dc176f877aa12e6d7d | [
"Apache-2.0"
] | 1 | 2022-02-26T08:43:14.000Z | 2022-02-26T08:43:14.000Z | NgineApp/src/NgineApplication.cpp | nak1411/Ngine | 1f8d0784c43780f8a53149dc176f877aa12e6d7d | [
"Apache-2.0"
] | null | null | null | NgineApp/src/NgineApplication.cpp | nak1411/Ngine | 1f8d0784c43780f8a53149dc176f877aa12e6d7d | [
"Apache-2.0"
] | null | null | null | #include <Ngine.h>
#include"Ngine/Core/EntryPoint.h"
class NgineApp : public Ngine::Application
{
public:
NgineApp()
{
}
~NgineApp()
{
}
};
Ngine::Application* Ngine::CreateApplication()
{
return new NgineApp();
} | 9.869565 | 46 | 0.669604 | nak1411 |
80a1f117850185069dcd0ec18217efebeae81d40 | 905 | cpp | C++ | 119. Pascal's Triangle II.cpp | NeoYY/Leetcode-Solution | 0f067973d3c296ac7f2fa85a89dbdd5295b0b037 | [
"MIT"
] | null | null | null | 119. Pascal's Triangle II.cpp | NeoYY/Leetcode-Solution | 0f067973d3c296ac7f2fa85a89dbdd5295b0b037 | [
"MIT"
] | null | null | null | 119. Pascal's Triangle II.cpp | NeoYY/Leetcode-Solution | 0f067973d3c296ac7f2fa85a89dbdd5295b0b037 | [
"MIT"
] | null | null | null | /*
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle.
Note that the row index starts from 0.
In Pascal's triangle, each number is the sum of the two numbers directly above it.
Example:
Input: 3
Output: [1,3,3,1]
Follow up:
Could you optimize your algorithm to use only O(... | 22.625 | 111 | 0.569061 | NeoYY |
80a444cc11798aac7491f9109473930eb6c479d5 | 72,268 | cxx | C++ | windows/core/ntgdi/gre/rle4blt.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/core/ntgdi/gre/rle4blt.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/core/ntgdi/gre/rle4blt.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /******************************Module*Header*******************************\
* Module Name: rleblt4.cxx
*
* This contains the bitmap simulation functions that blt from a 4 bit
* Run-Length Encoded (RLE) source to a DIB surface. The DIB surface can be
* 1, 4, 8, 16, 24, or 32 bits/pel.
*
* The code is based on f... | 31.230769 | 93 | 0.418747 | npocmaka |
80a78fa4dec4e5bec73431063b8f66aa778de0c0 | 5,354 | cpp | C++ | src/Exciton/PaintingSecrets/PaintingSecretSurface.cpp | Vladimir-Lin/QtExciton | ac5bc82f22ac3cdcdccb90526f7dd79060535b5a | [
"MIT"
] | null | null | null | src/Exciton/PaintingSecrets/PaintingSecretSurface.cpp | Vladimir-Lin/QtExciton | ac5bc82f22ac3cdcdccb90526f7dd79060535b5a | [
"MIT"
] | null | null | null | src/Exciton/PaintingSecrets/PaintingSecretSurface.cpp | Vladimir-Lin/QtExciton | ac5bc82f22ac3cdcdccb90526f7dd79060535b5a | [
"MIT"
] | null | null | null | #include <exciton.h>
N::PaintingSecretSurface:: PaintingSecretSurface (QWidget * parent)
: QWidget ( parent)
, progress (NULL )
, indicator (NULL )
{
}
N::PaintingSecretSurf... | 35.932886 | 67 | 0.341053 | Vladimir-Lin |
80aaba02c630ecb4f4a1ba82e2af72719c13d5ee | 1,243 | hpp | C++ | src/org/apache/poi/ss/formula/ptg/BoolPtg.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/formula/ptg/BoolPtg.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/ss/formula/ptg/BoolPtg.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/ss/formula/ptg/BoolPtg.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <org/apache/poi/ss/formula/ptg/fwd-POI.hpp>
#include <org/apache/poi/util/fwd-POI.hpp>
#include <org/apache/poi/ss/formula/ptg/ScalarConstantPtg.hpp>
struct default_ini... | 23.018519 | 70 | 0.687852 | pebble2015 |
80abe069b989bb06b09778fbbd321e50e8fe82ab | 349 | cpp | C++ | RedProgramacionCompetitiva/Actividad 14-2018/M14-2018.cpp | raulcr98/ProgrammingTeamBookScoobyDoo | 0fcb98e012e0f2db2dda68cbf01b96f567a12578 | [
"MIT"
] | 1 | 2020-03-17T01:44:09.000Z | 2020-03-17T01:44:09.000Z | RedProgramacionCompetitiva/Actividad 14-2018/M14-2018.cpp | raulcr98/teambook-scooby-doo | 0fcb98e012e0f2db2dda68cbf01b96f567a12578 | [
"MIT"
] | null | null | null | RedProgramacionCompetitiva/Actividad 14-2018/M14-2018.cpp | raulcr98/teambook-scooby-doo | 0fcb98e012e0f2db2dda68cbf01b96f567a12578 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int N, mx, f, l;
bool ok(int a){
while(a > 0){
if(a % 10 == 0) return 0;
a /= 10;
}
return 1;
}
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> N;
do{
N++;
}while(!ok(N));
cout <... | 12.464286 | 33 | 0.444126 | raulcr98 |
80ad77e44e131e11e30f500e0ef91e5fd717e4b3 | 26,894 | cxx | C++ | ds/adsi/winnt/cextmgr.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/adsi/winnt/cextmgr.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/adsi/winnt/cextmgr.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1996
//
// File: cextmgr.cxx
//
// Contents: LDAP ExtMgr Object
//
//
// History: 06-15-96 yihsins Created.
//
//-----------------------------... | 25.181648 | 81 | 0.487469 | npocmaka |
80ad8da62fd529299af03efce787f0cab86330a3 | 1,395 | cpp | C++ | contest/1406/c/c.cpp | GoatGirl98/cf | 4077ca8e0fe29dc2bbb7b60166989857cc062e17 | [
"MIT"
] | null | null | null | contest/1406/c/c.cpp | GoatGirl98/cf | 4077ca8e0fe29dc2bbb7b60166989857cc062e17 | [
"MIT"
] | null | null | null | contest/1406/c/c.cpp | GoatGirl98/cf | 4077ca8e0fe29dc2bbb7b60166989857cc062e17 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define watch(x) std::cout << (#x) << " is " << (x) << std::endl
#define print(x) std::cout << (x) << std::endl
using LL = long long;
int main() {
//freopen("in", "r", stdin);
std::cin.tie(nullptr)->sync_with_stdio(false);
int cas;
std::cin >> cas;
while (cas--) {
int n;
std::cin >> ... | 23.25 | 64 | 0.461649 | GoatGirl98 |
80ade0f65db7d720e9f16b50b80455393a7e66ba | 645 | hpp | C++ | source/symbol/h2_cxa.hpp | lingjf/h2unit | 5a55c718bc22ba52bd4500997b2df18939996efa | [
"Apache-2.0"
] | 5 | 2015-03-02T22:29:00.000Z | 2020-06-28T08:52:00.000Z | source/symbol/h2_cxa.hpp | lingjf/h2unit | 5a55c718bc22ba52bd4500997b2df18939996efa | [
"Apache-2.0"
] | 5 | 2019-05-10T02:28:00.000Z | 2021-07-17T00:53:18.000Z | source/symbol/h2_cxa.hpp | lingjf/h2unit | 5a55c718bc22ba52bd4500997b2df18939996efa | [
"Apache-2.0"
] | 5 | 2016-05-25T07:31:16.000Z | 2021-08-29T04:25:18.000Z | struct h2_cxa {
static char* demangle(const char* mangle_name, char* demangle_name = (char*)alloca(1024), size_t length = 1024);
static void* follow_jmp(void* fp, int n = 32);
template <typename T, typename U = typename std::remove_reference<T>::type>
static const char* type_name(char* name = (char*)alloca... | 40.3125 | 115 | 0.63876 | lingjf |
80ae4e6762d35c93cec69126f5d23ffe4cf5170a | 1,653 | cc | C++ | src/package.cc | Kronuz/Xapiand | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 370 | 2016-03-14T12:19:08.000Z | 2022-03-25T02:07:29.000Z | src/package.cc | puer99miss/Xapiand | 480f312709d40e2b1deb244ff0761b79846ed608 | [
"MIT"
] | 34 | 2015-11-30T19:06:40.000Z | 2022-02-26T03:46:58.000Z | src/package.cc | puer99miss/Xapiand | 480f312709d40e2b1deb244ff0761b79846ed608 | [
"MIT"
] | 31 | 2015-02-13T22:27:34.000Z | 2022-03-25T02:07:34.000Z | /*
* Copyright (c) 2015-2019 Dubalu LLC
*
* 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... | 39.357143 | 80 | 0.76709 | Kronuz |
80b8ac5e22a102766b78ccf8658ea2edd8f09d70 | 369 | cpp | C++ | tools/pathanalyzer/tests/rv_same_var.cpp | tjschweizer/pharos | 4c5cea68c4489d798e341319d1d5e0d2fee71422 | [
"RSA-MD"
] | 1,247 | 2015-06-15T17:51:31.000Z | 2022-03-31T10:24:47.000Z | tools/pathanalyzer/tests/rv_same_var.cpp | tjschweizer/pharos | 4c5cea68c4489d798e341319d1d5e0d2fee71422 | [
"RSA-MD"
] | 191 | 2017-07-05T19:06:28.000Z | 2022-03-20T14:31:10.000Z | tools/pathanalyzer/tests/rv_same_var.cpp | tjschweizer/pharos | 4c5cea68c4489d798e341319d1d5e0d2fee71422 | [
"RSA-MD"
] | 180 | 2015-06-25T21:34:54.000Z | 2022-03-21T04:25:04.000Z | // Copyright 2019 Carnegie Mellon University. See LICENSE file for terms.
#include "test.hpp"
int func(int n) {
return n + 1;
}
int main() {
path_start();
int n = SMALL_POSITIVE_RAND;
n = func(n + 3);
volatile int t = n; // volatile to prevent optimization of nongoal
if (func(n + 4) < t) {
path_nongo... | 18.45 | 74 | 0.607046 | tjschweizer |
80b8fdde5e5fa6d1e9963a1efd0790a65a47d240 | 10,855 | cc | C++ | stimulus/EmotionalImages.cc | Bearzeng/x-amber | 351e5e9b4f66d5d4099c7ad92072b3ceaf7b11a4 | [
"Apache-2.0"
] | 156 | 2020-11-02T06:18:55.000Z | 2022-03-18T10:05:01.000Z | stimulus/EmotionalImages.cc | dryxia/x-amber | 351e5e9b4f66d5d4099c7ad92072b3ceaf7b11a4 | [
"Apache-2.0"
] | 1 | 2021-08-23T05:38:56.000Z | 2021-08-23T05:38:56.000Z | stimulus/EmotionalImages.cc | dryxia/x-amber | 351e5e9b4f66d5d4099c7ad92072b3ceaf7b11a4 | [
"Apache-2.0"
] | 31 | 2020-11-03T02:05:25.000Z | 2022-01-06T06:04:39.000Z | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 34.351266 | 120 | 0.727683 | Bearzeng |
01e93875b238b49b9f788cd0160ce72b73090d80 | 5,923 | cpp | C++ | Data Structures/Permutation Tree.cpp | bazzyadb/all-code | cf3039641b5aa84b1c5b184a95d69bd4091974c9 | [
"MIT"
] | 1,639 | 2021-09-15T09:12:06.000Z | 2022-03-31T22:58:57.000Z | Data Structures/Permutation Tree.cpp | bazzyadb/all-code | cf3039641b5aa84b1c5b184a95d69bd4091974c9 | [
"MIT"
] | 16 | 2022-01-15T17:50:08.000Z | 2022-01-28T12:55:21.000Z | Data Structures/Permutation Tree.cpp | bazzyadb/all-code | cf3039641b5aa84b1c5b184a95d69bd4091974c9 | [
"MIT"
] | 444 | 2021-09-15T09:17:41.000Z | 2022-03-29T18:21:46.000Z | #include<bits/stdc++.h>
using namespace std;
const int N = 1e5 + 9, inf = 1e9 + 7, LG = 19;
struct ST {
#define lc (n << 1)
#define rc ((n << 1) | 1)
int t[4 * N], lazy[4 * N];
ST() {}
inline void push(int n, int b, int e) {
if (lazy[n] == 0) return;
t[n] = t[n] + lazy[n];
if (b != e) {... | 28.204762 | 101 | 0.449097 | bazzyadb |
01ea332bf6507cb176300a84298d943e3eff4bb8 | 4,300 | cpp | C++ | 2D/src/Pyromania/Util.cpp | Squareys/pyromania | 88cbc4f3474e8407c3be09df497dd4be47a587ba | [
"Unlicense",
"MIT"
] | 1 | 2018-06-19T10:19:23.000Z | 2018-06-19T10:19:23.000Z | 2D/src/Pyromania/Util.cpp | Squareys/pyromania | 88cbc4f3474e8407c3be09df497dd4be47a587ba | [
"Unlicense",
"MIT"
] | null | null | null | 2D/src/Pyromania/Util.cpp | Squareys/pyromania | 88cbc4f3474e8407c3be09df497dd4be47a587ba | [
"Unlicense",
"MIT"
] | null | null | null | #include "util.h"
#include <cstring>
// Double Buffer
BITMAP *screenAlias = NULL;
BITMAP *doubleBuffer = NULL;
// Die Timer Variablen und FUnktionen
// -------------------------------------------------------
volatile int ticks = 0;
volatile int gameTime = 0;
static void tick() {
ticks++;
}
END_OF_STATI... | 27.564103 | 81 | 0.523721 | Squareys |
01edb7810392521a86c9c0676e0f0a0b77741cd9 | 837 | cpp | C++ | software/zynq/SoundComponents/src/mulsc/MultiplyControl.cpp | EPiCS/soundgates | a6014d6a68fa209703d749ffe21a1e58b9279d30 | [
"MIT"
] | null | null | null | software/zynq/SoundComponents/src/mulsc/MultiplyControl.cpp | EPiCS/soundgates | a6014d6a68fa209703d749ffe21a1e58b9279d30 | [
"MIT"
] | 1 | 2017-04-10T10:57:53.000Z | 2017-04-10T10:57:53.000Z | software/zynq/SoundComponents/src/mulsc/MultiplyControl.cpp | EPiCS/soundgates | a6014d6a68fa209703d749ffe21a1e58b9279d30 | [
"MIT"
] | 3 | 2016-09-12T14:08:20.000Z | 2021-03-22T20:07:34.000Z | /*
* MultiplyControl.cpp
*
* Created on: Jan 17, 2014
* Author: lukas
*/
#include "MultiplyControl.h"
#include "impl/MultiplyControlSW.h"
DEFINE_COMPONENTNAME(MultiplyControl, "mulsc")
EXPORT_SOUNDCOMPONENT_SW_ONLY(MultiplyControl);
MultiplyControl::MultiplyControl(std::vector<std::string> params) : Sou... | 22.621622 | 121 | 0.761051 | EPiCS |
01ee616b752ac087d4a25ae15bf4812570950439 | 6,442 | cpp | C++ | forwarder/ci/src/route_table_test.cpp | kamaboko123/salacia-forwarder | 756c504e49fce5b8ff35f6671f7d2117660ae10b | [
"MIT"
] | 2 | 2019-09-10T12:35:27.000Z | 2022-03-24T02:41:23.000Z | forwarder/ci/src/route_table_test.cpp | kamaboko123/salacia-forwarder | 756c504e49fce5b8ff35f6671f7d2117660ae10b | [
"MIT"
] | 8 | 2017-12-12T14:36:57.000Z | 2018-11-06T15:10:05.000Z | forwarder/ci/src/route_table_test.cpp | kamaboko123/salacia-forwarder | 756c504e49fce5b8ff35f6671f7d2117660ae10b | [
"MIT"
] | null | null | null | #include <cstring>
#include <cppunit/extensions/HelperMacros.h>
#include "RouteTable.hpp"
#ifdef FIXTURE_NAME
#undef FIXTURE_NAME
#endif
#define FIXTURE_NAME RouteTableTest
class FIXTURE_NAME : public CPPUNIT_NS::TestFixture {
CPPUNIT_TEST_SUITE(FIXTURE_NAME);
CPPUNIT_TEST(test_route_constructor);
CPPUNI... | 38.57485 | 106 | 0.712512 | kamaboko123 |
01ee629ad4389705dc86e11cf0843797e189b348 | 21,301 | cpp | C++ | emulator/src/devices/video/crtc_ega.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/devices/video/crtc_ega.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/video/crtc_ega.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Wilbert Pol
/**********************************************************************
IBM EGA CRT Controller emulation
This controller is very loosely based on the mc6845.
**********************************************************************/
#include "emu.h"
#inc... | 28.630376 | 189 | 0.698465 | rjw57 |
01f0f92c693e278ef12940fe1e794e25c7bc05bb | 1,518 | cpp | C++ | epcforedge/lte/backend/utils/framework/PostRequestDispatcher.cpp | Rajpratik71/native-on-prem | aebaf74c8a54e8d0c24c53c1126e97971dd84e9f | [
"Apache-2.0"
] | 14 | 2019-09-25T14:20:35.000Z | 2021-09-20T13:34:21.000Z | epcforedge/lte/backend/utils/framework/PostRequestDispatcher.cpp | Rajpratik71/native-on-prem | aebaf74c8a54e8d0c24c53c1126e97971dd84e9f | [
"Apache-2.0"
] | 4 | 2019-09-27T16:34:00.000Z | 2020-09-30T18:24:08.000Z | epcforedge/lte/backend/utils/framework/PostRequestDispatcher.cpp | Rajpratik71/native-on-prem | aebaf74c8a54e8d0c24c53c1126e97971dd84e9f | [
"Apache-2.0"
] | 14 | 2019-09-26T02:13:39.000Z | 2021-09-08T09:36:21.000Z | /* SPDX-License-Identifier: Apache-2.0
* Copyright (c) 2019 Intel Corporation
*/
/**
* @file PostRequestDispatcher.cpp
* @brief POST method and JSON formatted request dispatcher.
********************************************************************/
#include "PostRequestDispatcher.h"
#include "Exception.h"
#incl... | 37.95 | 113 | 0.601449 | Rajpratik71 |
01f1e2131441fd254cd167fc079ad21c51e617d4 | 2,874 | hpp | C++ | stapl_release/stapl/containers/graph/generators/watts_strogatz_stable.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/containers/graph/generators/watts_strogatz_stable.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/containers/graph/generators/watts_strogatz_stable.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 29.628866 | 74 | 0.59325 | parasol-ppl |
01f4535fe1ba18c4e6e9a9c39a8e769992b73dc8 | 1,796 | cpp | C++ | source/ff.graphics/source/sprite_data.cpp | spadapet/ff_game_library | f1bf00f90adde66c2c2aa35b109fe61b8d2c6352 | [
"MIT"
] | null | null | null | source/ff.graphics/source/sprite_data.cpp | spadapet/ff_game_library | f1bf00f90adde66c2c2aa35b109fe61b8d2c6352 | [
"MIT"
] | null | null | null | source/ff.graphics/source/sprite_data.cpp | spadapet/ff_game_library | f1bf00f90adde66c2c2aa35b109fe61b8d2c6352 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "sprite_data.h"
#include "sprite_type.h"
#include "texture.h"
#include "texture_view_base.h"
ff::sprite_data::sprite_data()
: view_(nullptr)
, texture_uv_(0, 0, 0, 0)
, world_(0, 0, 0, 0)
, type_(ff::sprite_type::unknown)
{}
ff::sprite_data::sprite_data(
ff::texture_view_... | 23.631579 | 100 | 0.6598 | spadapet |
01f632d1d57e41207b8bb8076ddfbf3aa306bd4f | 1,564 | cpp | C++ | bark/src/JSObject.cpp | Daivuk/onut | b02c5969b36897813de9c574a26d9437b67f189e | [
"MIT"
] | 50 | 2015-06-01T19:23:24.000Z | 2021-12-22T02:14:23.000Z | bark/src/JSObject.cpp | Daivuk/onut | b02c5969b36897813de9c574a26d9437b67f189e | [
"MIT"
] | 109 | 2015-07-20T07:43:03.000Z | 2021-01-31T21:52:36.000Z | bark/src/JSObject.cpp | Daivuk/onut | b02c5969b36897813de9c574a26d9437b67f189e | [
"MIT"
] | 9 | 2015-07-02T21:36:20.000Z | 2019-10-19T04:18:02.000Z | #include "JSObject.h"
#include <JSBindings_Macros.h>
namespace onut
{
namespace js
{
extern duk_context* pContext; // Haxor. This context already contains all standard onut bindings
void newUI(duk_context* ctx, const OUIControlRef& pUIControl);
}
}
using namespace onut::js;
void* JSObjec... | 22.666667 | 104 | 0.679668 | Daivuk |
bf082e2a8eed1927b58ebabfbe16d6f45ddb8ac9 | 51,313 | cpp | C++ | src/CGL.cpp | colinw7/CGL | 8cc10d66173364bd7b54f3412aecd8c22d1bea30 | [
"MIT"
] | null | null | null | src/CGL.cpp | colinw7/CGL | 8cc10d66173364bd7b54f3412aecd8c22d1bea30 | [
"MIT"
] | null | null | null | src/CGL.cpp | colinw7/CGL | 8cc10d66173364bd7b54f3412aecd8c22d1bea30 | [
"MIT"
] | null | null | null | #include <CGL.h>
#include <CGLDisplayList.h>
#include <CGLWind.h>
#include <CFuncs.h>
#include <COSTimer.h>
#include <CMathGen.h>
#include <CPoint3D.h>
#include <CTriangle3D.h>
#include <CXMachine.h>
#include <CXLibPixelRenderer.h>
#include <CImagePixelRenderer.h>
#include <CGeomUtil3D.h>
#include <CMathRound.h>
#inclu... | 22.041667 | 96 | 0.616413 | colinw7 |
bf0a28c1c6cf3ebcef4fb261bed0728fe7020cf9 | 11,299 | cpp | C++ | gpk/gpk_framework.cpp | Gorbylord/gpk | 89ad121d3946b41f802a0bc260ff07e658cbd26e | [
"MIT"
] | null | null | null | gpk/gpk_framework.cpp | Gorbylord/gpk | 89ad121d3946b41f802a0bc260ff07e658cbd26e | [
"MIT"
] | null | null | null | gpk/gpk_framework.cpp | Gorbylord/gpk | 89ad121d3946b41f802a0bc260ff07e658cbd26e | [
"MIT"
] | null | null | null | // Tip: Best viewed with zoom level at 81%.
// Tip: Hold Left ALT + SHIFT while tapping or holding the arrow keys in order to select multiple columns and write on them at once.
// Also useful for copy & paste operations in which you need to copy a bunch of variable or function names and you can't afford the time of c... | 58.848958 | 177 | 0.637048 | Gorbylord |
bf0a4dc3e816eef27a28a44d2baffaabc59559b2 | 145 | cpp | C++ | WhileFalsePhysics/Source/WhileFalsePhysics/Private/Physics/WhileFalsePhysicsStatics.cpp | WhileFalseStudios/unreal-wfs | d11ae208f939b994771dd8653c17aac762382a1f | [
"MIT"
] | null | null | null | WhileFalsePhysics/Source/WhileFalsePhysics/Private/Physics/WhileFalsePhysicsStatics.cpp | WhileFalseStudios/unreal-wfs | d11ae208f939b994771dd8653c17aac762382a1f | [
"MIT"
] | null | null | null | WhileFalsePhysics/Source/WhileFalsePhysics/Private/Physics/WhileFalsePhysicsStatics.cpp | WhileFalseStudios/unreal-wfs | d11ae208f939b994771dd8653c17aac762382a1f | [
"MIT"
] | null | null | null | // Copyright (c) While False Studios 2019. Released under the MIT license. See LICENSE for more details.
#include "WhileFalsePhysicsStatics.h"
| 29 | 104 | 0.77931 | WhileFalseStudios |
bf0beb8df1bbf9ddae3eb03d7882cb51bc51df58 | 8,966 | tcc | C++ | Code/Components/Synthesis/synthesis/current/measurementequation/ImageConvolver.tcc | rtobar/askapsoft | 6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 1 | 2020-06-18T08:37:43.000Z | 2020-06-18T08:37:43.000Z | Code/Components/Synthesis/synthesis/current/measurementequation/ImageConvolver.tcc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | Code/Components/Synthesis/synthesis/current/measurementequation/ImageConvolver.tcc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | /// @copyright (c) 1995,1996,1997,1998,1999,2000,2001,2002
/// Associated Universities, Inc. Washington DC, USA.
/// @copyright (c) 2012 CSIRO
///
/// This file is part of the ASKAP software distribution.
///
/// The ASKAP software distribution is free software: you can redistribute it
/// and/or modify it under the te... | 37.672269 | 108 | 0.650457 | rtobar |
bf0f5eb1c7ceb56cc73f7d64be764b1a5029d332 | 3,595 | cc | C++ | components/offline_pages/core/offline_page_metadata_store_test_util.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | components/offline_pages/core/offline_page_metadata_store_test_util.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | components/offline_pages/core/offline_page_metadata_store_test_util.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/offline_pages/core/offline_page_metadata_store_test_util.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "b... | 30.210084 | 80 | 0.728234 | iridium-browser |
bf0fadf1596579574ca4ca32f0b406c13ebe9e66 | 1,912 | cpp | C++ | src/prefetch_static.cpp | realead/prefetchstudy | 6da174ea7bd193baa982a7f1b29b23fcd1157095 | [
"MIT"
] | null | null | null | src/prefetch_static.cpp | realead/prefetchstudy | 6da174ea7bd193baa982a7f1b29b23fcd1157095 | [
"MIT"
] | null | null | null | src/prefetch_static.cpp | realead/prefetchstudy | 6da174ea7bd193baa982a7f1b29b23fcd1157095 | [
"MIT"
] | null | null | null |
#include <vector>
#include <iostream>
#include <iomanip>
#include <timeitmagic.h>
const int BLOCK_SIZE=8;
template<bool prefetch>
struct Worker{
double *mem;
int n;
int times;
double result;
void operator()(){
int cnt=0;
for(int i=0;i<n;i+=BLOCK_SIZE){
//prefetch memory... | 25.157895 | 88 | 0.567992 | realead |
bf10aed3ac07abbaf02639a13dce4e78e1f9492c | 80,912 | cpp | C++ | generate/JavaScriptLexer.cpp | yanmingsohu/Polydeuces | 93dbe99d37e8724babc3593314da1ca2df114bfa | [
"MIT"
] | 1 | 2021-06-15T02:56:18.000Z | 2021-06-15T02:56:18.000Z | generate/JavaScriptLexer.cpp | yanmingsohu/Polydeuces | 93dbe99d37e8724babc3593314da1ca2df114bfa | [
"MIT"
] | null | null | null | generate/JavaScriptLexer.cpp | yanmingsohu/Polydeuces | 93dbe99d37e8724babc3593314da1ca2df114bfa | [
"MIT"
] | null | null | null |
// Auto generated by 'pitch-garammars'/'generate-src' script
#include "gcomm.h"
#include "JavaScriptBaseLexer.h"
#include "JavaScriptBaseParser.h"
// Generated from D:\Polydeuces\generate\JavaScriptLexer.g4 by ANTLR 4.7.2
#include "JavaScriptLexer.h"
using namespace antlr4;
using namespace PolydeucesEngine;
Ja... | 63.911532 | 120 | 0.624605 | yanmingsohu |
bf11d151cc062acf4a50af10b01d70ae95416436 | 4,461 | cc | C++ | content/renderer/media/video_frame_compositor.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-16T03:57:28.000Z | 2021-01-23T15:29:45.000Z | content/renderer/media/video_frame_compositor.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/renderer/media/video_frame_compositor.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-03-15T13:21:38.000Z | 2017-03-15T13:21:38.000Z | // 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 "content/renderer/media/video_frame_compositor.h"
#include "base/bind.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
... | 30.979167 | 80 | 0.76104 | shaochangbin |
bf1296436738a914e9cb747ed217a116c7550157 | 5,599 | hpp | C++ | include/codegen/include/System/Net/Sockets/SocketAsyncResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Net/Sockets/SocketAsyncResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Net/Sockets/SocketAsyncResult.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:19 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.IOAsyncResult
#include "System/IOAsyncResult.hpp"
// ... | 37.326667 | 182 | 0.70459 | Futuremappermydud |
bf15716907ea6a670d26933ec56758c47cb32398 | 2,949 | hpp | C++ | include/codegen/include/UnityEngine/Analytics/AnalyticsSessionInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/Analytics/AnalyticsSessionInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/Analytics/AnalyticsSessionInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:39 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
#include "utils/i... | 56.711538 | 195 | 0.785351 | Futuremappermydud |
bf198bf97214ba22eed83bfd25ee9608a5ed65a8 | 2,770 | cpp | C++ | Quad2/Main/Quad_FlightCommand/flightCommand.cpp | rhockenbury/Quad2 | 1d2d6fe3902ab4a58869e06539553d0cd4bb3d21 | [
"MIT"
] | null | null | null | Quad2/Main/Quad_FlightCommand/flightCommand.cpp | rhockenbury/Quad2 | 1d2d6fe3902ab4a58869e06539553d0cd4bb3d21 | [
"MIT"
] | null | null | null | Quad2/Main/Quad_FlightCommand/flightCommand.cpp | rhockenbury/Quad2 | 1d2d6fe3902ab4a58869e06539553d0cd4bb3d21 | [
"MIT"
] | null | null | null | /*
* flightCommand.cpp
*
* Created on: August 18, 2013
* Author: Ryler Hockenbury
*/
#include "flightCommand.h"
#include "globals.h"
#include "receiver.h"
#include "LED.h"
#include "conf.h"
bool controlMode = 0;
bool auxMode = 0;
/*
* Distribute stick commands to system components
*/
... | 30.108696 | 101 | 0.675812 | rhockenbury |
bf1bb9bc82e16a1965e5fc84c965887338a3a597 | 3,498 | cc | C++ | src/asp/IceBridge/correct_icebridge_l3_dem.cc | AndrewAnnex/StereoPipeline | 084c3293c3a5382b052177c74388d9beeb79cf0b | [
"Apache-2.0"
] | 323 | 2015-01-10T12:34:24.000Z | 2022-03-24T03:52:22.000Z | src/asp/IceBridge/correct_icebridge_l3_dem.cc | AndrewAnnex/StereoPipeline | 084c3293c3a5382b052177c74388d9beeb79cf0b | [
"Apache-2.0"
] | 252 | 2015-07-27T16:36:31.000Z | 2022-03-31T02:34:28.000Z | src/asp/IceBridge/correct_icebridge_l3_dem.cc | AndrewAnnex/StereoPipeline | 084c3293c3a5382b052177c74388d9beeb79cf0b | [
"Apache-2.0"
] | 105 | 2015-02-28T02:37:27.000Z | 2022-03-14T09:17:30.000Z | // __BEGIN_LICENSE__
// Copyright (c) 2009-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file excep... | 39.303371 | 118 | 0.701258 | AndrewAnnex |
bf1de1f33de276b5922e99c2cba4facb969b9efb | 11,420 | cxx | C++ | src/Tools/mialsrtkCropImageUsingMask.cxx | sebastientourbier/mialsuperresolutiontoolkit-1 | dd4f8db5bd4aa8a2e95fe6a2912b0a0a1e9f73c5 | [
"BSD-3-Clause"
] | 13 | 2020-06-17T04:21:27.000Z | 2022-03-10T01:47:21.000Z | src/Tools/mialsrtkCropImageUsingMask.cxx | sebastientourbier/mialsuperresolutiontoolkit-1 | dd4f8db5bd4aa8a2e95fe6a2912b0a0a1e9f73c5 | [
"BSD-3-Clause"
] | 76 | 2019-10-24T14:08:07.000Z | 2022-03-24T09:46:52.000Z | src/Tools/mialsrtkCropImageUsingMask.cxx | sebastientourbier/mialsuperresolutiontoolkit-1 | dd4f8db5bd4aa8a2e95fe6a2912b0a0a1e9f73c5 | [
"BSD-3-Clause"
] | 2 | 2020-12-11T14:42:20.000Z | 2022-01-21T12:47:22.000Z | /*==========================================================================
©
Date: 01/05/2015
Author(s): Sebastien Tourbier (sebastien.tourbier@unil.ch)
==========================================================================*/
/* ITK */
#include "itkImage.h"
#include "itkMaskImageFilter.h"
#include "itkIma... | 39.109589 | 224 | 0.594308 | sebastientourbier |
bf2089b4c966d2012adedefce8f0c9d5414b6341 | 24,252 | cpp | C++ | test/math/uint256.cpp | ccccbjcn/nuls-v2-cplusplus-sdk | 3d5a76452fe0673eba490b26e5a95fea3d5788df | [
"MIT"
] | 1 | 2020-04-26T07:32:52.000Z | 2020-04-26T07:32:52.000Z | test/math/uint256.cpp | CCC-NULS/nuls-cplusplus-sdk | 3d5a76452fe0673eba490b26e5a95fea3d5788df | [
"MIT"
] | null | null | null | test/math/uint256.cpp | CCC-NULS/nuls-cplusplus-sdk | 3d5a76452fe0673eba490b26e5a95fea3d5788df | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2020 libnuls developers (see AUTHORS)
*
* This file is part of libnuls.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
*... | 31.172237 | 125 | 0.744186 | ccccbjcn |
bf20ba66b9122b37906ef811543dea5d87f63b8f | 1,157 | cpp | C++ | src/classwork/03_assign/decision.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-aaronvonkreisler | 6733dcd999d378149dc7c2755d6b693f2924a03f | [
"MIT"
] | 1 | 2021-02-03T00:59:22.000Z | 2021-02-03T00:59:22.000Z | src/classwork/03_assign/decision.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-aaronvonkreisler | 6733dcd999d378149dc7c2755d6b693f2924a03f | [
"MIT"
] | 1 | 2021-02-10T00:25:08.000Z | 2021-02-10T00:25:08.000Z | src/classwork/03_assign/decision.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-aaronvonkreisler | 6733dcd999d378149dc7c2755d6b693f2924a03f | [
"MIT"
] | null | null | null | //cpp
#include "decision.h"
#include <iostream>
#include <string>
using std::string;
string get_letter_grade_using_if(int grade)
{
bool gradeA = grade >= 90 && grade <= 100;
bool gradeB = grade >= 80 && grade <= 89;
bool gradeC = grade >= 70 && grade <= 79;
bool gradeD = grade >= 60 && grade <= 69;
... | 18.967213 | 47 | 0.532411 | acc-cosc-1337-spring-2021 |
bf24c251a6b2c07477cacc43489a91bc63d244e6 | 1,686 | cpp | C++ | test/HelperMethodTest.cpp | yfurukawa/Library | 7fd61038e8eebc9f4dd678e2a203c1de182b1991 | [
"Unlicense"
] | null | null | null | test/HelperMethodTest.cpp | yfurukawa/Library | 7fd61038e8eebc9f4dd678e2a203c1de182b1991 | [
"Unlicense"
] | null | null | null | test/HelperMethodTest.cpp | yfurukawa/Library | 7fd61038e8eebc9f4dd678e2a203c1de182b1991 | [
"Unlicense"
] | null | null | null | /*
* HelperMethodTest.cpp
*
* Created on: 2015/07/30
* Author: CE122548
*/
#include "HelperMethodTest.h"
void HelperMethodTest::SetUp() {
}
void HelperMethodTest::TearDown() {
}
HelperMethodTest::HelperMethodTest() {
}
HelperMethodTest::~HelperMethodTest() {
}
/**
* \test ポインタがNU... | 22.783784 | 71 | 0.698695 | yfurukawa |
bf25d954d6efcfccb2c3da744211fcfc1bde374e | 884 | cpp | C++ | tests/YstringTest/Utf/test_Utf8StringCpp11.cpp | wvffle/Ystring | a1ee9da1e433a2e74e432da6834638d547265126 | [
"BSD-2-Clause"
] | null | null | null | tests/YstringTest/Utf/test_Utf8StringCpp11.cpp | wvffle/Ystring | a1ee9da1e433a2e74e432da6834638d547265126 | [
"BSD-2-Clause"
] | 1 | 2021-02-28T12:46:55.000Z | 2021-03-03T20:58:14.000Z | tests/YstringTest/Utf/test_Utf8StringCpp11.cpp | wvffle/Ystring | a1ee9da1e433a2e74e432da6834638d547265126 | [
"BSD-2-Clause"
] | 1 | 2021-02-28T13:02:43.000Z | 2021-02-28T13:02:43.000Z | //****************************************************************************
// Copyright © 2015 Jan Erik Breimo. All rights reserved.
// Created by Jan Erik Breimo on 2015-07-29
//
// This file is distributed under the Simplified BSD License.
// License text is included with the source distribution.
//**************... | 28.516129 | 78 | 0.529412 | wvffle |
bf296ab9cf1435b8ace5f9da4ee4794d117c3303 | 2,591 | cpp | C++ | src/infra/ToString.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | null | null | null | src/infra/ToString.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | null | null | null | src/infra/ToString.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | null | null | null | // Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net
// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.
// This notice and the license may not be removed or altered from any source distribution.
#ifdef TWO_MODULES
module two.infra;
#else
#include <infra/ToString.h>
#endif
#... | 83.580645 | 148 | 0.646083 | raptoravis |
bf3276ac151283d36a74c2cd1305505804d0242a | 2,223 | hxx | C++ | opencascade/StepBasic_UncertaintyMeasureWithUnit.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/StepBasic_UncertaintyMeasureWithUnit.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/StepBasic_UncertaintyMeasureWithUnit.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Created on: 1995-12-01
// Created by: EXPRESS->CDL V0.2 Translator
// Copyright (c) 1995-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the te... | 28.5 | 229 | 0.818713 | valgur |
bf32a2f40f41ef754bdedf167eee5899de8be7ac | 1,935 | cpp | C++ | Implementations/Luogu/P4568.cpp | VecTest/code-library | 00e9e881acece02c7dbeac3a139cb55e0b439cee | [
"MIT"
] | 1 | 2022-03-05T00:34:14.000Z | 2022-03-05T00:34:14.000Z | Implementations/Luogu/P4568.cpp | VecTest/code-library | 00e9e881acece02c7dbeac3a139cb55e0b439cee | [
"MIT"
] | null | null | null | Implementations/Luogu/P4568.cpp | VecTest/code-library | 00e9e881acece02c7dbeac3a139cb55e0b439cee | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
/*
大致思路:
分层图最短路
提交地址:
https://www.luogu.com.cn/problem/P4568
https://www.acwing.com/problem/content/2956/
*/
const int INF = 1e9;
struct Edge {
int v, w;
};
using Edges = std::vector<std::vector<Edge>>;
struct Vertex {
int d, p;
bool operator < (const Vertex &x) const {
... | 18.970588 | 53 | 0.407235 | VecTest |
bf352539e50aa927796667d0265e4999ffcdaf1b | 43,655 | hpp | C++ | fprime-sphinx-drivers/NORFlashManager/test/ut/GTestBase.hpp | Joshua-Anderson/fprime-sphinx-drivers | 28334b667c31a796c69e0f7005e4a9c0545e65fe | [
"Apache-2.0"
] | 1 | 2021-02-22T12:34:25.000Z | 2021-02-22T12:34:25.000Z | fprime-sphinx-drivers/NORFlashManager/test/ut/GTestBase.hpp | Joshua-Anderson/fprime-sphinx-drivers | 28334b667c31a796c69e0f7005e4a9c0545e65fe | [
"Apache-2.0"
] | 2 | 2021-08-11T17:14:54.000Z | 2021-09-09T22:31:19.000Z | fprime-sphinx-drivers/NORFlashManager/test/ut/GTestBase.hpp | Joshua-Anderson/fprime-sphinx-drivers | 28334b667c31a796c69e0f7005e4a9c0545e65fe | [
"Apache-2.0"
] | 1 | 2021-05-19T02:04:10.000Z | 2021-05-19T02:04:10.000Z | // ======================================================================
// \title NORFlashManager/test/ut/GTestBase.hpp
// \author Auto-generated
// \brief hpp file for NORFlashManager component Google Test harness base class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL... | 41.975962 | 138 | 0.52876 | Joshua-Anderson |
bf3811fe55009c277d36d4d3204576c8526d5198 | 28,229 | cpp | C++ | PopcornTime_Desktop-src/Import/QtAV/src/codec/video/VideoDecoderD3D.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/Import/QtAV/src/codec/video/VideoDecoderD3D.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/Import/QtAV/src/codec/video/VideoDecoderD3D.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | /******************************************************************************
QtAV: Media play library based on Qt and FFmpeg
Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com>
* This file is part of QtAV (from 2016)
This library is free software; you can redistribute it and/or
modify it under ... | 54.813592 | 173 | 0.5878 | officialrafsan |
bf3a86e73fa188e47dd02228543cf2c407f5b2b9 | 1,173 | cpp | C++ | HDU/HDU-1009-FatMouse_Trade.cpp | ZubinGou/leetcode | 25ac47a5406af04adbc69482afe0acc2abba25ca | [
"Apache-2.0"
] | 1 | 2021-08-04T00:52:30.000Z | 2021-08-04T00:52:30.000Z | HDU/HDU-1009-FatMouse_Trade.cpp | ZubinGou/leetcode | 25ac47a5406af04adbc69482afe0acc2abba25ca | [
"Apache-2.0"
] | null | null | null | HDU/HDU-1009-FatMouse_Trade.cpp | ZubinGou/leetcode | 25ac47a5406af04adbc69482afe0acc2abba25ca | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <stack>
#include <queue>
#include <map>
// #include <unordered_map> // can't compile on poj
#include <algorithm>
#include <cstring>
#include <climits>
using namespace std;
typedef pair<double, double> JK;
vector<JK> room;
bool cmp(JK a, JK b)
{
return a.first / a.... | 20.946429 | 65 | 0.456948 | ZubinGou |
bf3b8ab62f69b53fc82fac1f5648f17b75332d14 | 27,400 | cpp | C++ | src/font/ttf.cpp | jjbandit/bonsai | f6073484c14178aff6925eaf8caddf349174b27d | [
"WTFPL"
] | 13 | 2017-04-12T16:26:46.000Z | 2022-03-01T22:04:34.000Z | src/font/ttf.cpp | jjbandit/bonsai | f6073484c14178aff6925eaf8caddf349174b27d | [
"WTFPL"
] | null | null | null | src/font/ttf.cpp | jjbandit/bonsai | f6073484c14178aff6925eaf8caddf349174b27d | [
"WTFPL"
] | null | null | null |
#include <bonsai_types.h>
global_variable v4 White = V4(1,1,1,0);
global_variable v4 Black = {};
global_variable v4 Red = V4(1,0,0,0);
global_variable v4 Blue = V4(0,0,1,0);
global_variable v4 Pink = V4(1,0,1,0);
global_variable v4 Green = V4(0,1,0,0);
global_variable u32 PackedWhite = PackRGBALinearTo255(White... | 26.145038 | 201 | 0.61062 | jjbandit |
bf3fdb6deda0b4dadbb0a86d8f14c1c554d5b643 | 10,758 | cpp | C++ | src/tools/loop_invariant_code_motion/src/LastLiveOutPeeler.cpp | SusanTan/noelle | 33c9e10a20bc59590c13bf29fb661fc406a9e687 | [
"MIT"
] | 43 | 2020-09-04T15:21:40.000Z | 2022-03-23T03:53:02.000Z | src/tools/loop_invariant_code_motion/src/LastLiveOutPeeler.cpp | SusanTan/noelle | 33c9e10a20bc59590c13bf29fb661fc406a9e687 | [
"MIT"
] | 15 | 2020-09-17T18:06:15.000Z | 2022-01-24T17:14:36.000Z | src/tools/loop_invariant_code_motion/src/LastLiveOutPeeler.cpp | SusanTan/noelle | 33c9e10a20bc59590c13bf29fb661fc406a9e687 | [
"MIT"
] | 23 | 2020-09-04T15:50:09.000Z | 2022-03-25T13:38:25.000Z | /*
* Copyright 2019 - 2020 Simone Campanoni
*
* 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... | 40.141791 | 435 | 0.697249 | SusanTan |
bf44879009ab56c3d65c75fc831aea9b5d5a386a | 15,583 | hxx | C++ | main/cppuhelper/inc/cppuhelper/stdidlclass.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/cppuhelper/inc/cppuhelper/stdidlclass.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/cppuhelper/inc/cppuhelper/stdidlclass.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 40.162371 | 116 | 0.663094 | Grosskopf |
bf4697f76aafea71af2955d6209b0bb7054cddfb | 5,690 | cpp | C++ | webkit/WebCore/platform/graphics/chromium/FontPlatformDataLinux.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/platform/graphics/chromium/FontPlatformDataLinux.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/platform/graphics/chromium/FontPlatformDataLinux.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (c) 2006, 2007, 2008, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this l... | 30.265957 | 127 | 0.735852 | s1rcheese |
bf4c0c6e8831f0dabcb22e015a74ad33e893483d | 1,076 | hh | C++ | pathtracer/src/datastruct/box/BoundingBox.hh | bjorn-grape/bidirectional-pathtracer | 6fbbf5fc6cee39f595533494d779726658d646e1 | [
"MIT"
] | null | null | null | pathtracer/src/datastruct/box/BoundingBox.hh | bjorn-grape/bidirectional-pathtracer | 6fbbf5fc6cee39f595533494d779726658d646e1 | [
"MIT"
] | null | null | null | pathtracer/src/datastruct/box/BoundingBox.hh | bjorn-grape/bidirectional-pathtracer | 6fbbf5fc6cee39f595533494d779726658d646e1 | [
"MIT"
] | null | null | null | #pragma once
#include "Vector3D.hh"
#include "SplitAxis.hh"
#include "Ray.hh"
class BoundingBox {
public:
BoundingBox(const Vector3D<float> &mini, const Vector3D<float> &maxi);
BoundingBox();
inline SplitAxis::Axis GetLargestDimension() const;
inline SplitAxis::Axis GetSmallestDimension() const;
... | 22.893617 | 81 | 0.697955 | bjorn-grape |
bf5034669064e87d1da109095bf6599898933a3a | 28,832 | cpp | C++ | src/agile_grasp2/plot.cpp | pyni/agile_grasp2 | bbe64572f08f5f8b78f9f361da3fd5d3032cdbdf | [
"BSD-2-Clause"
] | null | null | null | src/agile_grasp2/plot.cpp | pyni/agile_grasp2 | bbe64572f08f5f8b78f9f361da3fd5d3032cdbdf | [
"BSD-2-Clause"
] | null | null | null | src/agile_grasp2/plot.cpp | pyni/agile_grasp2 | bbe64572f08f5f8b78f9f361da3fd5d3032cdbdf | [
"BSD-2-Clause"
] | 1 | 2021-06-24T01:33:05.000Z | 2021-06-24T01:33:05.000Z | #include <agile_grasp2/plot.h>
void Plot::plotFingers(const std::vector<GraspHypothesis>& hand_list, const PointCloudRGBA::Ptr& cloud,
std::string str, double outer_diameter)
{
const int WIDTH = pcl::visualization::PCL_VISUALIZER_LINE_WIDTH;
boost::shared_ptr<pcl::visualization::PCLVisualizer> viewer = createV... | 41.30659 | 122 | 0.695581 | pyni |
bf53850616ef00ac2520e6faa9d5d6443781ea9e | 1,464 | hpp | C++ | include/lattice_model_impl/update_dynamics/lattice_update_dynamics/lattice_update_formalisms/global_lattice_update.hpp | statphysandml/LatticeModelSimulationLib | 37900336a35d81d28f3477c44da64e692212973a | [
"MIT"
] | null | null | null | include/lattice_model_impl/update_dynamics/lattice_update_dynamics/lattice_update_formalisms/global_lattice_update.hpp | statphysandml/LatticeModelSimulationLib | 37900336a35d81d28f3477c44da64e692212973a | [
"MIT"
] | 3 | 2021-02-24T16:34:35.000Z | 2021-11-30T13:14:24.000Z | include/lattice_model_impl/update_dynamics/lattice_update_dynamics/lattice_update_formalisms/global_lattice_update.hpp | statphysandml/LatticeModelSimulationLib | 37900336a35d81d28f3477c44da64e692212973a | [
"MIT"
] | null | null | null | //
// Created by lukas on 06.08.20.
//
#ifndef LATTICEMODELIMPLEMENTATIONS_SIMPLE_UPDATE_HPP
#define LATTICEMODELIMPLEMENTATIONS_SIMPLE_UPDATE_HPP
#include "../../update_dynamics_base.hpp"
namespace lm_impl {
namespace update_dynamics {
struct GlobalLatticeUpdate;
struct GlobalLatticeUpdatePa... | 29.877551 | 113 | 0.664617 | statphysandml |
bf53c6161aff43cfc043d24ff41f55a02b8dd89a | 4,204 | cpp | C++ | sketches/handwriting_recognizer/arduino_imu_handler.cpp | metanav/Handwriting_Recognition_IMU | 8d874ced4a7c97f14733719805cbc54262c07673 | [
"Apache-2.0"
] | 6 | 2020-04-09T14:28:44.000Z | 2022-01-08T21:48:21.000Z | sketches/handwriting_recognizer/arduino_imu_handler.cpp | metanav/Handwriting_Recognition_IMU | 8d874ced4a7c97f14733719805cbc54262c07673 | [
"Apache-2.0"
] | 1 | 2021-03-19T04:12:02.000Z | 2021-03-22T02:58:32.000Z | sketches/handwriting_recognizer/arduino_imu_handler.cpp | metanav/Handwriting_Recognition_IMU | 8d874ced4a7c97f14733719805cbc54262c07673 | [
"Apache-2.0"
] | 1 | 2021-04-21T04:57:06.000Z | 2021-04-21T04:57:06.000Z | /* Copyright 2019 The TensorFlow 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 ... | 26.77707 | 98 | 0.653901 | metanav |
bf55043ca9bfdd1e54352dba0388a0742ceead73 | 3,168 | hpp | C++ | ngraph/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder_seq_len.hpp | tkrupa-intel/openvino | 8c0ff5d9065486d23901a9c27debd303661f465f | [
"Apache-2.0"
] | 1 | 2021-05-30T18:25:07.000Z | 2021-05-30T18:25:07.000Z | ngraph/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder_seq_len.hpp | tkrupa-intel/openvino | 8c0ff5d9065486d23901a9c27debd303661f465f | [
"Apache-2.0"
] | null | null | null | ngraph/core/reference/include/ngraph/runtime/reference/ctc_greedy_decoder_seq_len.hpp | tkrupa-intel/openvino | 8c0ff5d9065486d23901a9c27debd303661f465f | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2021 Intel Corporation
//
// 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://w... | 45.257143 | 97 | 0.493687 | tkrupa-intel |
bf55cd40ed03718d7c1815f8ba8c7d3ee3880fad | 1,823 | cpp | C++ | examples/DCGAN/src/ofApp.cpp | rystylee/ofxTFC | 43c53ba706bd16619d78da7d8fc2ad01963663e3 | [
"MIT"
] | 4 | 2019-02-25T04:25:19.000Z | 2020-12-04T15:22:27.000Z | examples/DCGAN/src/ofApp.cpp | rystylee/ofxTFC | 43c53ba706bd16619d78da7d8fc2ad01963663e3 | [
"MIT"
] | 1 | 2021-09-11T23:06:16.000Z | 2021-09-13T14:30:25.000Z | examples/DCGAN/src/ofApp.cpp | rystylee/ofxTFC | 43c53ba706bd16619d78da7d8fc2ad01963663e3 | [
"MIT"
] | 3 | 2019-10-02T21:54:36.000Z | 2021-05-30T23:09:18.000Z | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup()
{
ofSetBackgroundColor(0);
ofSetVerticalSync(false);
mGraphPath.listDir("models");
mModel.init(ofFilePath::getAbsolutePath(mGraphPath.getPath(0)), mInputOpName, mOutputOpName, mBatchSize, m... | 29.885246 | 159 | 0.47943 | rystylee |
bf571a0b4858aef6b574178caf4800422f874682 | 765 | cpp | C++ | cpp/euler368.cpp | t-highfill/project-euler | f92ad1092f2529994e7b2d023180a60a5c8194ee | [
"MIT"
] | null | null | null | cpp/euler368.cpp | t-highfill/project-euler | f92ad1092f2529994e7b2d023180a60a5c8194ee | [
"MIT"
] | null | null | null | cpp/euler368.cpp | t-highfill/project-euler | f92ad1092f2529994e7b2d023180a60a5c8194ee | [
"MIT"
] | null | null | null |
#include <cstdint>
#include <iostream>
#include <map>
typedef uint32_t denom_t;
typedef std::map<denom_t, bool> known_map;
bool validate(denom_t d, known_map& known){
while(d >= 111){
// auto itr = known.find(d);
// if(itr != known.end())
// return itr->second;
if((d % 1000) % 111 == 0){
return false;
... | 20.675676 | 85 | 0.576471 | t-highfill |
bf5818f3dfc705cde77970b054c3324be7d2bdb5 | 6,340 | cpp | C++ | cell_based/src/simulation/RK4NumericalMethodTimestepper.cpp | ktunya/ChasteMod | 88ac65b00473cd730d348c783bd74b2b39de5f69 | [
"Apache-2.0"
] | null | null | null | cell_based/src/simulation/RK4NumericalMethodTimestepper.cpp | ktunya/ChasteMod | 88ac65b00473cd730d348c783bd74b2b39de5f69 | [
"Apache-2.0"
] | null | null | null | cell_based/src/simulation/RK4NumericalMethodTimestepper.cpp | ktunya/ChasteMod | 88ac65b00473cd730d348c783bd74b2b39de5f69 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2005-2015, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 48.769231 | 145 | 0.728707 | ktunya |
bf5b35c1e38c9a8572cc8351073b386341fa4e82 | 33,978 | cc | C++ | Validation/SiTrackerPhase2V/plugins/Phase2OTValidateRecHit.cc | ryanm124/cmssw | 9c955a497467f8cc57a7cc1eefc39d41d2d3d89e | [
"Apache-2.0"
] | null | null | null | Validation/SiTrackerPhase2V/plugins/Phase2OTValidateRecHit.cc | ryanm124/cmssw | 9c955a497467f8cc57a7cc1eefc39d41d2d3d89e | [
"Apache-2.0"
] | null | null | null | Validation/SiTrackerPhase2V/plugins/Phase2OTValidateRecHit.cc | ryanm124/cmssw | 9c955a497467f8cc57a7cc1eefc39d41d2d3d89e | [
"Apache-2.0"
] | null | null | null | // Package: Phase2OTValidateRecHit
// Class: Phase2OTValidateRecHit
//
/**\class Phase2OTValidateRecHit Phase2OTValidateRecHit.cc
Description: Standalone Plugin for Phase2 RecHit validation
*/
//
// Author: Suvankar Roy Chowdhury
// Date: March 2021
//
// system include files
#include <memory>
#include <map... | 44.707895 | 120 | 0.669816 | ryanm124 |
bf5d9e4c55fac0759c8e0b9d735edec920d831a4 | 4,180 | hxx | C++ | main/vcl/inc/graphite_adaptors.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/vcl/inc/graphite_adaptors.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/vcl/inc/graphite_adaptors.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 28.053691 | 113 | 0.690191 | Grosskopf |
bf5f4749627c0f3b5018ad6c17a7d8aea109c664 | 739 | hpp | C++ | include/RED4ext/Types/generated/quest/SetLootInteractionAccess_NodeType.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/quest/SetLootInteractionAccess_NodeType.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/quest/SetLootInteractionAccess_NodeType.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Types/generated/game/EntityReference.hpp>
#include <RED4ext/Types/generated/quest/IItemManagerNodeType.hpp>
namespace RED4ext
{
namespace quest {
s... | 28.423077 | 81 | 0.769959 | Cyberpunk-Extended-Development-Team |
bf62028f5ba64a4d5d5cdffa15d5147cc22e285d | 585 | cpp | C++ | 0041 First Missing Positive/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | 1 | 2019-12-19T04:13:15.000Z | 2019-12-19T04:13:15.000Z | 0041 First Missing Positive/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | null | null | null | 0041 First Missing Positive/solution.cpp | Aden-Tao/LeetCode | c34019520b5808c4251cb76f69ca2befa820401d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
class Solution {
public:
int firstMissingPositive(std::vector<int>& nums) {
int n = nums.size();
for (int i = 0; i < n; i ++)
{
while (nums[i] > 0 && nums[i] <= n && nums[nums[i] - 1] != nums[i])
std::swap(nums[i], nums[nums[i] - 1]);
... | 24.375 | 79 | 0.444444 | Aden-Tao |
bf6209c733bc6973e4b29b5c02b57d7401f66e2b | 1,502 | cpp | C++ | packages/velocityControl/src/algorithms/CalculateAccelerating.cpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | 2 | 2021-01-15T13:27:19.000Z | 2021-08-04T08:40:52.000Z | packages/velocityControl/src/algorithms/CalculateAccelerating.cpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | null | null | null | packages/velocityControl/src/algorithms/CalculateAccelerating.cpp | Falcons-Robocup/code | 2281a8569e7f11cbd3238b7cc7341c09e2e16249 | [
"Apache-2.0"
] | 5 | 2018-05-01T10:39:31.000Z | 2022-03-25T03:02:35.000Z | // Copyright 2020 Erik Kouters (Falcons)
// SPDX-License-Identifier: Apache-2.0
/*
* CalculateAccelerating.cpp
*
* Created on: December, 2019
* Author: Jan Feitsma
*/
#include "int/VelocityControlAlgorithms.hpp"
void CalculateAccelerating::execute(VelocityControlData &data)
{
TRACE_FUNCTION("");
... | 40.594595 | 132 | 0.721704 | Falcons-Robocup |
bf621f5ae967b5a70786a3f0788abddf728ba3f3 | 224 | cpp | C++ | sudoku/config.cpp | Trinkle23897/sudoku-qt5 | fe615dac0ce0a44f493a0c1a2ae57a42e40a941e | [
"MIT"
] | 10 | 2017-09-04T03:03:38.000Z | 2021-11-06T10:19:03.000Z | sudoku/config.cpp | Trinkle23897/sudoku-qt5 | fe615dac0ce0a44f493a0c1a2ae57a42e40a941e | [
"MIT"
] | 1 | 2018-07-20T05:18:32.000Z | 2018-07-20T08:16:06.000Z | sudoku/config.cpp | Trinkle23897/sudoku-qt5 | fe615dac0ce0a44f493a0c1a2ae57a42e40a941e | [
"MIT"
] | 4 | 2019-04-25T11:43:20.000Z | 2021-11-06T10:19:06.000Z | #include "config.h"
const int pos[9][9]={{0,0,0,1,1,1,2,2,2},{0,0,0,1,1,1,2,2,2},{0,0,0,1,1,1,2,2,2},{3,3,3,4,4,4,5,5,5},{3,3,3,4,4,4,5,5,5},{3,3,3,4,4,4,5,5,5},{6,6,6,7,7,7,8,8,8},{6,6,6,7,7,7,8,8,8},{6,6,6,7,7,7,8,8,8}};
| 56 | 202 | 0.482143 | Trinkle23897 |
bf65f4e84a4b44ee7f9b53884ac2de4e31a0483e | 4,794 | cc | C++ | src/storage/fs_test/full.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/storage/fs_test/full.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | src/storage/fs_test/full.cc | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2022 The Fuchsia 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 <dirent.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fbl/unique_fd.h>
#include "src/storage/fs_test/fs_test_fixtur... | 28.706587 | 99 | 0.665207 | allansrc |
bf67beeea3376a30354343c172eae1d467326b35 | 3,641 | cpp | C++ | graph/minCostMaxFlow_inet_chinese_dijkstra.cpp | fersarr/algo | a6ed2b53be8e748d9c0e488dc5fad075fa7cbb53 | [
"MIT"
] | null | null | null | graph/minCostMaxFlow_inet_chinese_dijkstra.cpp | fersarr/algo | a6ed2b53be8e748d9c0e488dc5fad075fa7cbb53 | [
"MIT"
] | null | null | null | graph/minCostMaxFlow_inet_chinese_dijkstra.cpp | fersarr/algo | a6ed2b53be8e748d9c0e488dc5fad075fa7cbb53 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <queue>
#include <set>
#include <stack>
#include <map>
#include <list>
#define MAX 1l << 62
//too slow, TLE (time limit exceeded)
using namespace std;
typedef pair<int,int> ... | 27.171642 | 109 | 0.449327 | fersarr |
bf6ad18739722e9b812277069f15dba5087b0159 | 379 | hpp | C++ | worker/fuzzer/include/RTC/RTCP/FuzzerFeedbackPsVbcm.hpp | kcking/mediasoup | f385349d0f06fe14a4e38d50f0212b48d588fa32 | [
"ISC"
] | 4,465 | 2017-04-05T20:00:24.000Z | 2022-03-31T13:27:43.000Z | worker/fuzzer/include/RTC/RTCP/FuzzerFeedbackPsVbcm.hpp | kcking/mediasoup | f385349d0f06fe14a4e38d50f0212b48d588fa32 | [
"ISC"
] | 617 | 2017-04-05T21:24:27.000Z | 2022-03-31T06:17:25.000Z | worker/fuzzer/include/RTC/RTCP/FuzzerFeedbackPsVbcm.hpp | kcking/mediasoup | f385349d0f06fe14a4e38d50f0212b48d588fa32 | [
"ISC"
] | 900 | 2017-04-11T09:25:27.000Z | 2022-03-30T21:37:00.000Z | #ifndef MS_FUZZER_RTC_RTCP_FEEDBACK_PS_VBCM
#define MS_FUZZER_RTC_RTCP_FEEDBACK_PS_VBCM
#include "common.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.hpp"
namespace Fuzzer
{
namespace RTC
{
namespace RTCP
{
namespace FeedbackPsVbcm
{
void Fuzz(::RTC::RTCP::FeedbackPsVbcmPacket* packet);
}
} // namespac... | 17.227273 | 57 | 0.733509 | kcking |
bf717470c7e839ac026538b6fa53e0969f833a16 | 8,295 | cc | C++ | cc/scheduler/begin_frame_source.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | cc/scheduler/begin_frame_source.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | cc/scheduler/begin_frame_source.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | // 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 "cc/scheduler/begin_frame_source.h"
#include <stddef.h>
#include "base/auto_reset.h"
#include "base/location.h"
#include "base/logging.h"
#incl... | 34.852941 | 80 | 0.728632 | maidiHaitai |
bf7399b676a69ff827aea7a40f59051c106fc069 | 3,414 | cpp | C++ | software/CmsServerMain.cpp | haggaie/nica | b43de25be1549805340c5da37bdc451ff09cd936 | [
"BSD-2-Clause"
] | 22 | 2019-06-20T20:24:03.000Z | 2022-03-10T08:18:45.000Z | software/CmsServerMain.cpp | haggaie/nica | b43de25be1549805340c5da37bdc451ff09cd936 | [
"BSD-2-Clause"
] | 3 | 2019-08-13T12:11:43.000Z | 2022-03-18T00:52:51.000Z | software/CmsServerMain.cpp | haggaie/nica | b43de25be1549805340c5da37bdc451ff09cd936 | [
"BSD-2-Clause"
] | 8 | 2019-07-11T18:35:34.000Z | 2021-11-11T04:45:29.000Z | //
// Copyright (c) 2016-2017 Haggai Eran, Gabi Malka, Lior Zeno, Maroun Tork
// 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 copy... | 34.14 | 95 | 0.644112 | haggaie |
bf73abea85ea8cc77f6889a4a6f141ad3e576d3a | 371 | cpp | C++ | leetcode/contest-228/1758. Minimum Changes To Make Alternating Binary String.cpp | upupming/algorithm | 44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1 | [
"MIT"
] | 107 | 2019-10-25T07:46:59.000Z | 2022-03-29T11:10:56.000Z | leetcode/contest-228/1758. Minimum Changes To Make Alternating Binary String.cpp | upupming/algorithm | 44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1 | [
"MIT"
] | 1 | 2021-08-13T05:42:27.000Z | 2021-08-13T05:42:27.000Z | leetcode/contest-228/1758. Minimum Changes To Make Alternating Binary String.cpp | upupming/algorithm | 44edcffe886eaf4ce8c7b27a8db50d7ed5d29ef1 | [
"MIT"
] | 18 | 2020-12-09T14:24:22.000Z | 2022-03-30T06:56:01.000Z | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
int calc(string s, int f) {
int ans = 0;
for (int i = 0; i < s.length(); i++) {
char d = (f + i) % 2 + '0';
if (s[i] != d) ans++;
}
return ans;
}
int minOperations(string s) {
... | 21.823529 | 46 | 0.442049 | upupming |
bf7de81fa0b557e97b39233802a7992d585f4d92 | 888 | cpp | C++ | c++/trick/defer.cpp | dannypsnl/languages-learn | 2351a235bd55e720394111237d41f65482eb89ec | [
"MIT"
] | 2 | 2018-01-04T00:47:25.000Z | 2018-01-12T08:07:50.000Z | c++/trick/defer.cpp | dannypsnl/languages-learn | 2351a235bd55e720394111237d41f65482eb89ec | [
"MIT"
] | 1 | 2018-01-08T14:45:55.000Z | 2018-01-09T05:02:09.000Z | c++/trick/defer.cpp | dannypsnl/languages-learn | 2351a235bd55e720394111237d41f65482eb89ec | [
"MIT"
] | null | null | null | #include <functional>
#include <iostream>
#include <stack>
class deferer {
std::stack<std::function<void()>> defers;
void callAll() {
while (!this->defers.empty()) {
this->defers.top()();
this->defers.pop();
}
}
public:
deferer() {}
void add(std::function<void()> &&f) {
this->defers... | 24 | 80 | 0.471847 | dannypsnl |
bf7f2c1264d0259118ee97d3248ca5037ecd94f0 | 1,194 | cpp | C++ | 2018.3.27/a.cpp | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | 2018.3.27/a.cpp | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | 2018.3.27/a.cpp | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null |
#include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<string>
#include<vector>
#include<stack>
#include<set>
#include<map>
#include<queue>
#include<algorithm>
#define ll long long
const int maxn=1005;
const int inf=999999999;
using namespace std;
int main(){
freopen("test.... | 16.583333 | 42 | 0.537688 | 1980744819 |
bf823130af8ed770bcf8e1e3f75db8d8285bdfe5 | 5,641 | cpp | C++ | common/ImageCoder.cpp | victorliu/vklBoards | 253d94047993c7cf8952754fc26029245821e987 | [
"MIT"
] | null | null | null | common/ImageCoder.cpp | victorliu/vklBoards | 253d94047993c7cf8952754fc26029245821e987 | [
"MIT"
] | null | null | null | common/ImageCoder.cpp | victorliu/vklBoards | 253d94047993c7cf8952754fc26029245821e987 | [
"MIT"
] | 1 | 2020-04-22T00:40:25.000Z | 2020-04-22T00:40:25.000Z | #include "ImageCoder.h"
#include <cstring>
#include <cstdio>
#include "fastlz.h"
typedef int (*encoderproc)(
const unsigned char *rgb, unsigned stride, unsigned w, unsigned h,
std::vector<unsigned char> &buffer
);
typedef int (*decoderproc)(
const unsigned char *buffer, unsigned buflen,
unsigned char *r... | 24.2103 | 68 | 0.605744 | victorliu |
bf84672103e6788d434bb4d59160a266b7a0ebd4 | 1,274 | cpp | C++ | src/CarouselApplication.cpp | sunjinbo/Carousel | a358cce1b7a1cda531b3943899aa4b70fa68e370 | [
"MIT"
] | null | null | null | src/CarouselApplication.cpp | sunjinbo/Carousel | a358cce1b7a1cda531b3943899aa4b70fa68e370 | [
"MIT"
] | null | null | null | src/CarouselApplication.cpp | sunjinbo/Carousel | a358cce1b7a1cda531b3943899aa4b70fa68e370 | [
"MIT"
] | null | null | null | /*
============================================================================
Name : CarouselApplication.cpp
Author : Sun Jinbo
Copyright : Your copyright notice
Description : Main application class
============================================================================
*/
// INCLUDE FILES
#include ... | 31.85 | 80 | 0.418367 | sunjinbo |
bf86cea7a753b36c67dbec0fac4c50eef47b6be8 | 8,043 | cxx | C++ | Charts/vtkDataElement.cxx | jcfr/VTK | a6e753dfa791153bdf79c052956197ce612ed0f9 | [
"BSD-3-Clause"
] | 1 | 2017-06-04T03:58:36.000Z | 2017-06-04T03:58:36.000Z | Charts/vtkDataElement.cxx | naucoin/VTKSlicerWidgets | 105cadce86576ea433f91347078a7815852c21c6 | [
"BSD-3-Clause"
] | null | null | null | Charts/vtkDataElement.cxx | naucoin/VTKSlicerWidgets | 105cadce86576ea433f91347078a7815852c21c6 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkDataElement.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... | 25.696486 | 128 | 0.521074 | jcfr |