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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a29425f4fed01f571ce839d1c863888917bc8b39 | 426 | cpp | C++ | Input/Source/XWindowsGamePadInput.cpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | Input/Source/XWindowsGamePadInput.cpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | Input/Source/XWindowsGamePadInput.cpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | #include "../Include/XWindowsGamePadInput.hpp"
#include <cstring>
using namespace Fnd::Input;
XWindowsGamePadInput::XWindowsGamePadInput()
{
}
bool XWindowsGamePadInput::Initialise()
{
return true;
}
GamePadInputBase::GamePadState XWindowsGamePadInput::GetNextState()
{
GamePadState state;
memset( &stat... | 15.777778 | 67 | 0.739437 | jordanlittlefair |
a294e9b9cde94552aadcee03ad3ec94e9c6c03ec | 726 | cpp | C++ | data_structure/sparse_table.cpp | lincolncpp/competitive-programming | ee5a3762eb41825b13d3aa607f8dc3f4b0ad21f3 | [
"MIT"
] | 6 | 2020-04-08T00:25:44.000Z | 2021-09-04T20:39:15.000Z | data_structure/sparse_table.cpp | lincolncpp/competitive-programming | ee5a3762eb41825b13d3aa607f8dc3f4b0ad21f3 | [
"MIT"
] | 2 | 2020-04-09T06:59:12.000Z | 2020-04-09T14:56:32.000Z | data_structure/sparse_table.cpp | lincolncpp/competitive-programming | ee5a3762eb41825b13d3aa607f8dc3f4b0ad21f3 | [
"MIT"
] | 6 | 2020-04-16T03:47:06.000Z | 2021-09-07T10:21:32.000Z | #include <bits/stdc++.h>
using namespace std;
/*
Build: O(nlogn)
Query: O(1)
*/
#define lg2(x) 31-__builtin_clz(x)
const int maxn = 1e5;
const int logmaxn = lg2(maxn);
int st[maxn+7][logmaxn+3] = {};
void build(const vector<int>&v){
int n = (int)v.size();
for(int i = 0;i < n;i++) st[i][0] = v[i];... | 16.5 | 62 | 0.487603 | lincolncpp |
a296b35be2337b4352431af89274aefbefe74de7 | 1,211 | cpp | C++ | src/SMLMat1x4.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | 1 | 2020-10-08T09:31:54.000Z | 2020-10-08T09:31:54.000Z | src/SMLMat1x4.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | null | null | null | src/SMLMat1x4.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | null | null | null | #include "SMLMat1x4.h"
#include "SMLMat4x1.h"
#include "SMLMat4x4.h"
SML::Mat1x4::Mat1x4(const float& A, const float& B, const float& C, const float& D)
{
a = A;
b = B;
c = C;
d = D;
}
SML::Mat1x4::Mat1x4(const Vector& v)
{
a = v.x;
b = v.y;
c = v.z;
}
SML::Mat1x4::Mat1x4(const Point& v)
{
a = v.x;
b = v.y;... | 19.222222 | 83 | 0.521883 | aceoyale |
a297219cbe163c44a8b0530da2bb77340dfa16f2 | 942 | cpp | C++ | AOAPC I Beginning Algorithm Contests (Rujia Liu)/Volume 1/String/UVA644.cpp | C9-LinkRs/UVa-online-judges | 4fec09f98752e3663bc863ff9808c5fdef6b4e8d | [
"MIT"
] | 2 | 2018-02-01T05:12:09.000Z | 2020-06-29T02:42:09.000Z | AOAPC I Beginning Algorithm Contests (Rujia Liu)/Volume 1/String/UVA644.cpp | C9-LinkRs/UVa-online-judges | 4fec09f98752e3663bc863ff9808c5fdef6b4e8d | [
"MIT"
] | null | null | null | AOAPC I Beginning Algorithm Contests (Rujia Liu)/Volume 1/String/UVA644.cpp | C9-LinkRs/UVa-online-judges | 4fec09f98752e3663bc863ff9808c5fdef6b4e8d | [
"MIT"
] | 1 | 2018-08-22T14:27:22.000Z | 2018-08-22T14:27:22.000Z | #include <stdio.h>
#include <iostream>
#include <cstring>
#include <vector>
#include <algorithm>
using namespace std;
int main(){
vector<string> binary;
char line[20];
bool prefix;
int set = 0;
while(scanf("%s", &line) != EOF){
if(strcmp(line, "9") != 0) binary.push_back(line... | 28.545455 | 77 | 0.43949 | C9-LinkRs |
a29787ec9e004ced64d1d9853a224deb3bed19c7 | 10,922 | hpp | C++ | test/gemm/device/mma_sync_multi_lds.hpp | dlangbe/rocWMMA | 8dd5c1cd4de202e556e338223e17071daac65987 | [
"MIT"
] | null | null | null | test/gemm/device/mma_sync_multi_lds.hpp | dlangbe/rocWMMA | 8dd5c1cd4de202e556e338223e17071daac65987 | [
"MIT"
] | null | null | null | test/gemm/device/mma_sync_multi_lds.hpp | dlangbe/rocWMMA | 8dd5c1cd4de202e556e338223e17071daac65987 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* MIT License
*
* Copyright 2021-2022 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 42.664063 | 95 | 0.53113 | dlangbe |
a297f34621582815afd49a1334691ef4307559b4 | 751 | hpp | C++ | inc/rand_source.hpp | jimmycao/libga_mpi | 39f223891b1474b1b190a0033576f30723051f17 | [
"MIT"
] | 1 | 2020-06-14T08:28:01.000Z | 2020-06-14T08:28:01.000Z | inc/rand_source.hpp | jimmycao/libga_mpi | 39f223891b1474b1b190a0033576f30723051f17 | [
"MIT"
] | null | null | null | inc/rand_source.hpp | jimmycao/libga_mpi | 39f223891b1474b1b190a0033576f30723051f17 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// rand_source.hpp
//------------------------------------------------------------------------------
#pragma once
#include <cassert>
#include <type_traits>
#include <random>
#include <ctime>
namespace libga_mpi
{
namespace detail
{
t... | 19.25641 | 80 | 0.527297 | jimmycao |
a29a8036d696db7977bd698afbf7398d40a98d4a | 1,395 | cpp | C++ | 04.MinimumCut/main.cpp | shunjilin/AlgorithmsSpecialization | 554996a0ce131139917dd02604ce0660ad6d2c2d | [
"MIT"
] | 1 | 2019-05-08T04:20:58.000Z | 2019-05-08T04:20:58.000Z | 04.MinimumCut/main.cpp | shunjilin/AlgorithmsSpecialization | 554996a0ce131139917dd02604ce0660ad6d2c2d | [
"MIT"
] | null | null | null | 04.MinimumCut/main.cpp | shunjilin/AlgorithmsSpecialization | 554996a0ce131139917dd02604ce0660ad6d2c2d | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <random>
#include <cmath>
#include <limits>
#include "KargersMinCut.hpp"
#include "SteadyClockTimer.hpp"
int main(int argc, char *argv[])
{
Kargers::Edgelist edge_list;
unsigned n_nodes = 0;
if (argc > 1) {
std::if... | 27.9 | 73 | 0.510394 | shunjilin |
a29a8ff45ace148b29571e145d144309dd91bcc6 | 207 | hpp | C++ | projects/codility/min_avg_two_slice/include/MinAvgTwoSlice.hpp | antaljanosbenjamin/miscellaneous | 56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747 | [
"MIT"
] | 2 | 2021-06-24T21:46:56.000Z | 2021-09-24T07:51:04.000Z | projects/codility/min_avg_two_slice/include/MinAvgTwoSlice.hpp | antaljanosbenjamin/miscellaneous | 56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747 | [
"MIT"
] | null | null | null | projects/codility/min_avg_two_slice/include/MinAvgTwoSlice.hpp | antaljanosbenjamin/miscellaneous | 56d2f0030d1d8ff0dd6dd077c3d1ec981f6c2747 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
namespace MinAvgTwoSlice {
// https://app.codility.com/programmers/lessons/5-prefix_sums/min_avg_two_slice/
int solution(std::vector<int> &A);
} // namespace MinAvgTwoSlice | 20.7 | 80 | 0.768116 | antaljanosbenjamin |
94704ab3c83cf4f5bbeae0ff067feb7ffc04163d | 239 | cpp | C++ | tests/test_point.cpp | a20r/Dodger | 6e2525f4701031d4e946fcd04c508655fa67c8ea | [
"Apache-2.0"
] | 1 | 2021-11-30T11:19:56.000Z | 2021-11-30T11:19:56.000Z | tests/test_point.cpp | a20r/Dodger | 6e2525f4701031d4e946fcd04c508655fa67c8ea | [
"Apache-2.0"
] | null | null | null | tests/test_point.cpp | a20r/Dodger | 6e2525f4701031d4e946fcd04c508655fa67c8ea | [
"Apache-2.0"
] | null | null | null |
#include "point.hpp"
#include <iostream>
int main() {
Dodger::Point p1 = Dodger::Point::get_random_point_2d(5, 5);
Dodger::Point p2 = Dodger::Point::get_random_point_2d(5, 5);
std::cout << p1.euclid_dist(p2);
return 0;
}
| 21.727273 | 64 | 0.65272 | a20r |
947366579f8e575361d723df4c08819b6eae506b | 1,545 | hpp | C++ | redemption/src/utils/scaled_image24.hpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | redemption/src/utils/scaled_image24.hpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | redemption/src/utils/scaled_image24.hpp | DianaAssistant/DIANA | 6a4c51c1861f6a936941b21c2c905fc291c229d7 | [
"MIT"
] | null | null | null | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be... | 29.711538 | 88 | 0.734628 | DianaAssistant |
9474b938ab14e3beb37b98564070198025883f3c | 50,375 | cpp | C++ | src/solvers/solver.cpp | dyna-mis/geoWordle | f49dd0500e2ad2c14b244b0f8e316b676a967fde | [
"MIT"
] | 3 | 2021-11-03T18:32:27.000Z | 2021-11-08T05:10:09.000Z | src/solvers/solver.cpp | dyna-mis/geoWordle | f49dd0500e2ad2c14b244b0f8e316b676a967fde | [
"MIT"
] | null | null | null | src/solvers/solver.cpp | dyna-mis/geoWordle | f49dd0500e2ad2c14b244b0f8e316b676a967fde | [
"MIT"
] | null | null | null |
#include "solver.h"
SolveStatus solver::test(problem& P, jsonM& measures) {
SolveStatus solved = solve(P, measures);
if (solved == SolveStatus::Unsolved) {
return solved;
}
#ifndef NDEBUG
//debugSetting(P);
//debug(P);
#endif
#ifdef GEOWORDLE_PRINT
//printSolution();
#endif
#ifdef GEOWORDLE_DRAW
assert(cr !=... | 27.422428 | 121 | 0.704496 | dyna-mis |
94755399e711e0cf86cb40caf8a22492dd6ae8d6 | 9,279 | cpp | C++ | projects/abuild/cache/cache_impl.cpp | agnesoft/adev-alt | 3df0329939e3048bbf5db252efb5f74de9c0f061 | [
"Apache-2.0"
] | null | null | null | projects/abuild/cache/cache_impl.cpp | agnesoft/adev-alt | 3df0329939e3048bbf5db252efb5f74de9c0f061 | [
"Apache-2.0"
] | null | null | null | projects/abuild/cache/cache_impl.cpp | agnesoft/adev-alt | 3df0329939e3048bbf5db252efb5f74de9c0f061 | [
"Apache-2.0"
] | null | null | null | #ifndef __clang__
export module abuild.cache:cache_impl;
export import :cache_data;
import :cache_index;
#endif
namespace abuild
{
export class CacheImpl;
//! \private
auto read_cache(const std::filesystem::path &path, CacheImpl &cache) -> void;
//! \private
auto write_cache(const CacheData &data) -> void;
//! The C... | 30.323529 | 121 | 0.621942 | agnesoft |
94783a178f5c202c66619b636e25d0b7a814158e | 7,377 | cpp | C++ | landmass/src/Render.cpp | DATX02-16-86/Code | 70cf4537cf30633a3ab538d3bf0df1d374c88860 | [
"MIT"
] | 1 | 2016-05-01T22:54:25.000Z | 2016-05-01T22:54:25.000Z | landmass/src/Render.cpp | DATX02-16-86/Code | 70cf4537cf30633a3ab538d3bf0df1d374c88860 | [
"MIT"
] | 10 | 2016-01-26T10:39:45.000Z | 2016-02-29T13:34:21.000Z | landmass/src/Render.cpp | DATX02-16-86/Code | 70cf4537cf30633a3ab538d3bf0df1d374c88860 | [
"MIT"
] | null | null | null |
#include <GLUT/glut.h>
#include <iostream>
#include "Voronoi.h"
#include "../../noise/Simplex/simplex.h"
#include "Generate.h"
ChunkMap hexChunks;
void color(double clr) {
glColor3d(clr, clr, clr);
}
void render() {
glClear(GL_COLOR_BUFFER_BIT);
std::cout << "render cells!\n";
for (auto& kv : hexC... | 30.7375 | 114 | 0.516335 | DATX02-16-86 |
947c535572ad10db57a759c9434d4704fa498648 | 2,775 | cpp | C++ | c/lib/nshl/nshl.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | 2 | 2020-05-06T21:45:13.000Z | 2020-06-14T11:48:03.000Z | c/lib/nshl/nshl.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | null | null | null | c/lib/nshl/nshl.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | 3 | 2017-09-18T14:46:03.000Z | 2021-09-26T17:10:36.000Z | ////////////////////////////////////////////////////////////////////////
//
// NSHL.CPP
//
// nSpace shell utilities
//
////////////////////////////////////////////////////////////////////////
#define INITGUID
#include "nshl_.h"
HRESULT strToVal ( const adtString &str, ADTVALUE &v )
{
////////////////... | 23.125 | 73 | 0.509189 | knowm |
948138c559e8319caf2aefbc3f4fe206512f2518 | 9,828 | hpp | C++ | externals/numeric_bindings/boost/numeric/bindings/lapack/auxiliary/latrs.hpp | ljktest/siconos | 85b60e62beca46e6bf06bfbd65670089e86607c7 | [
"Apache-2.0"
] | 137 | 2015-06-16T15:55:28.000Z | 2022-03-26T06:01:59.000Z | externals/numeric_bindings/boost/numeric/bindings/lapack/auxiliary/latrs.hpp | ljktest/siconos | 85b60e62beca46e6bf06bfbd65670089e86607c7 | [
"Apache-2.0"
] | 381 | 2015-09-22T15:31:08.000Z | 2022-02-14T09:05:23.000Z | externals/numeric_bindings/boost/numeric/bindings/lapack/auxiliary/latrs.hpp | ljktest/siconos | 85b60e62beca46e6bf06bfbd65670089e86607c7 | [
"Apache-2.0"
] | 30 | 2015-08-06T22:57:51.000Z | 2022-03-02T20:30:20.000Z | //
// Copyright (c) 2002--2010
// Toon Knapen, Karl Meerbergen, Kresimir Fresl,
// Thomas Klimpel and Rutger ter Borg
//
// 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)
//
// THIS FILE IS AUTOMATICALLY GENERATED
... | 40.114286 | 84 | 0.673891 | ljktest |
948431601275979953aa154018c8c483d900bcaf | 1,480 | hpp | C++ | extlibs/cpp-utils/include/utils/thread.hpp | Krozark/SFML-book | 397dd3dc0c73b694d4b5c117e974c7ebdb885572 | [
"BSD-2-Clause"
] | 75 | 2015-01-18T21:29:03.000Z | 2022-02-09T14:11:05.000Z | extlibs/cpp-utils/include/utils/thread.hpp | Krozark/SFML-book | 397dd3dc0c73b694d4b5c117e974c7ebdb885572 | [
"BSD-2-Clause"
] | 7 | 2015-03-12T10:41:55.000Z | 2020-11-23T11:15:58.000Z | extlibs/cpp-utils/include/utils/thread.hpp | Krozark/SFML-book | 397dd3dc0c73b694d4b5c117e974c7ebdb885572 | [
"BSD-2-Clause"
] | 33 | 2015-12-01T07:34:46.000Z | 2022-03-23T03:37:42.000Z | #ifndef UTILS_THREAD_HPP
#define UTILS_THREAD_HPP
#include <thread>
#include <mutex>
#include <condition_variable>
#include <chrono>
#include <atomic>
#include <vector>
#include <deque>
namespace utils
{
/**
* \brief namespace for thread classes
*/
namespace thread
{
/**
* \brie... | 25.084746 | 122 | 0.494595 | Krozark |
94857c70d11429b50807f78b330c01aa5153c1a4 | 2,903 | hpp | C++ | app/signal_current_candle_trigger/include/offcenter/trading/signalcurrentcandletrigger/SignalCurrentCandleTriggerOptions.hpp | CodeRancher/offcenter_trading | 68526fdc0f27d611f748b2fa20f49e743d3ee5eb | [
"Apache-2.0"
] | null | null | null | app/signal_current_candle_trigger/include/offcenter/trading/signalcurrentcandletrigger/SignalCurrentCandleTriggerOptions.hpp | CodeRancher/offcenter_trading | 68526fdc0f27d611f748b2fa20f49e743d3ee5eb | [
"Apache-2.0"
] | 4 | 2021-12-27T17:56:21.000Z | 2022-01-05T00:05:01.000Z | app/signal_current_candle_trigger/include/offcenter/trading/signalcurrentcandletrigger/SignalCurrentCandleTriggerOptions.hpp | CodeRancher/offcenter_trading | 68526fdc0f27d611f748b2fa20f49e743d3ee5eb | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Scott Brauer
*
* 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 t... | 33.367816 | 109 | 0.766793 | CodeRancher |
9487378dfe3d61009dac8db974a6b78dcce1529b | 2,469 | cpp | C++ | test/training_data/plag_original_codes/arc093_b_12283183_536_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | 13 | 2021-01-20T19:53:16.000Z | 2021-11-14T16:30:32.000Z | test/training_data/plag_original_codes/arc093_b_12283183_536_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | test/training_data/plag_original_codes/arc093_b_12283183_536_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | /*
引用元:https://atcoder.jp/contests/arc093/tasks/arc093_b
D - Grid ComponentsEditorial
// ソースコードの引用元 :
https://atcoder.jp/contests/arc093/submissions/12283183
// 提出ID : 12283183
// 問題ID : arc093_b
// コンテストID : arc093
// ユーザID : xryuseix
// コード長 : 2967
// 実行時間 : 2
*/
#include <algorithm>
#include <bitset>
#include <ca... | 24.69 | 80 | 0.536655 | xryuseix |
9487cb7830fa96662a96efade4191446a51a794d | 1,371 | cpp | C++ | src/functions/functionreplace.cpp | IngwiePhoenix/IceTea_old | 8a49b7c77bde123da2f4bae830362b0e791f03f4 | [
"BSD-3-Clause"
] | 1 | 2015-01-16T05:00:53.000Z | 2015-01-16T05:00:53.000Z | src/functions/functionreplace.cpp | IngwiePhoenix/IceTea_old | 8a49b7c77bde123da2f4bae830362b0e791f03f4 | [
"BSD-3-Clause"
] | null | null | null | src/functions/functionreplace.cpp | IngwiePhoenix/IceTea_old | 8a49b7c77bde123da2f4bae830362b0e791f03f4 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2007-2014 Xagasoft, All rights reserved.
*
* This file is part of the Xagasoft Build and is released under the
* terms of the license contained in the file LICENSE.
*/
#include "functionreplace.h"
#include <bu/plugger.h>
PluginInterface3( pluginFunctionReplace, replace, FunctionReplace, Functi... | 23.237288 | 76 | 0.560175 | IngwiePhoenix |
94885731deaa372f39e71c178678f7b8bc153374 | 11,775 | cpp | C++ | implementation/cpl_guisystem/cpl_controller/cpl_controllermanager.cpp | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | implementation/cpl_guisystem/cpl_controller/cpl_controllermanager.cpp | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | implementation/cpl_guisystem/cpl_controller/cpl_controllermanager.cpp | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | #include "cpl_controllerframeincludes.h"
//local includes.
#include <cpl_guiengine/cpl_guiengineframe/cpl_guiengineframeincludes.h>
#include "cpl_controller_items/cpl_scriptproxy.h"
#include "cpl_controller_items/cpl_plugintreeproxy.h"
#include "cpl_controller_items/cpl_fileioproxy.h"
#include "cpl_controller_items/cp... | 34.632353 | 94 | 0.594395 | cayprogram |
949bfc103304f85c9960f1e26b6d03f5dd748bdd | 1,271 | cc | C++ | HDU/1532_Drainage Ditches/1532.cc | pdszhh/ACM | 956b3d03a5d3f070ef24c940b7459f5cccb11d6c | [
"MIT"
] | 1 | 2019-05-05T03:51:20.000Z | 2019-05-05T03:51:20.000Z | HDU/1532_Drainage Ditches/1532.cc | pdszhh/ACM | 956b3d03a5d3f070ef24c940b7459f5cccb11d6c | [
"MIT"
] | null | null | null | HDU/1532_Drainage Ditches/1532.cc | pdszhh/ACM | 956b3d03a5d3f070ef24c940b7459f5cccb11d6c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
struct Edge {
int v, cap, rev;
Edge (int _v, int _c, int _r) : v(_v), cap(_c), rev(_r) {}
};
const int MAXN = 210;
const int INF = 1e8;
vector<Edge> E[MAXN];
bool used[MAXN];
int dfs(int s, int t, int f) {
if (s == t)
return f;
used[s] = true;
... | 21.542373 | 67 | 0.402832 | pdszhh |
94ab6ed9e914585f85c1ed5efa48fb6d11c08486 | 11,738 | hxx | C++ | opencascade/gp_Cone.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/gp_Cone.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | opencascade/gp_Cone.hxx | mgreminger/OCP | 92eacb99497cd52b419c8a4a8ab0abab2330ed42 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 1991-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 terms of the GNU Lesser General Public License version 2.1 as published
... | 36.006135 | 130 | 0.635457 | mgreminger |
94b05095f020c09ed466e871062eb8f8aff90a12 | 8,425 | cpp | C++ | src/win32/oaPixelFormat.cpp | GPUOpen-Tools/common-src-AMDTOSAPIWrappers | 7bef652893dde91ccacaa88c17f4940ed5ebf28a | [
"MIT"
] | 1 | 2017-01-28T14:13:25.000Z | 2017-01-28T14:13:25.000Z | src/win32/oaPixelFormat.cpp | GPUOpen-Tools/common-src-AMDTOSAPIWrappers | 7bef652893dde91ccacaa88c17f4940ed5ebf28a | [
"MIT"
] | null | null | null | src/win32/oaPixelFormat.cpp | GPUOpen-Tools/common-src-AMDTOSAPIWrappers | 7bef652893dde91ccacaa88c17f4940ed5ebf28a | [
"MIT"
] | 1 | 2019-11-01T23:07:22.000Z | 2019-11-01T23:07:22.000Z | //=====================================================================
// Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file oaPixelFormat.cpp
///
//=====================================================================
//----------------------------... | 42.125 | 181 | 0.609496 | GPUOpen-Tools |
94b1598339c66d4afa9c5d327b1dbf6c0ca7539f | 4,718 | cpp | C++ | Engine/Core/Clock.cpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | Engine/Core/Clock.cpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | Engine/Core/Clock.cpp | achen889/Warlockery_Engine | 160a14e85009057f4505ff5380a8c17258698f3e | [
"MIT"
] | null | null | null | //==============================================================================================================
//Clock.cpp
//by Albert Chen Oct-20-2015.
//==============================================================================================================
#include "Clock.hpp"
//===========================... | 27.91716 | 131 | 0.453794 | achen889 |
94b20db29f04d01d4b3f2cd7335442263d35514b | 6,613 | hpp | C++ | include/siplasplas/utility/staticif.hpp | roscopecoltran/siplasplas | 9fae7559f87087cf8ef34f04bd1e774b84b2ea9c | [
"MIT"
] | 182 | 2016-07-19T19:31:47.000Z | 2022-02-22T13:54:25.000Z | include/siplasplas/utility/staticif.hpp | roscopecoltran/siplasplas | 9fae7559f87087cf8ef34f04bd1e774b84b2ea9c | [
"MIT"
] | 50 | 2016-07-13T16:49:31.000Z | 2018-06-15T13:39:49.000Z | include/siplasplas/utility/staticif.hpp | GueimUCM/ceplusplus | 9fae7559f87087cf8ef34f04bd1e774b84b2ea9c | [
"MIT"
] | 26 | 2015-12-14T11:35:41.000Z | 2022-02-22T19:13:48.000Z | #ifndef SIPLASPLAS_UTILITY_STATICIF_HPP
#define SIPLASPLAS_UTILITY_STATICIF_HPP
#include "meta.hpp"
#include "identity.hpp"
#include <utility>
namespace cpp
{
namespace detail
{
/**
* \brief Implements the then branch of an static conditional.
*
* The cpp::detail::If template implements the internals of an `stat... | 26.035433 | 98 | 0.603962 | roscopecoltran |
94b25ae2677f24918a3c8ddb8e680ea1027174e6 | 17,141 | cpp | C++ | Source/WebCore/contentextensions/ContentExtensionParser.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/contentextensions/ContentExtensionParser.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/contentextensions/ContentExtensionParser.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2014-2019 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 conditi... | 44.638021 | 161 | 0.724228 | jacadcaps |
94b3bc32aed040e4244eff2656868bc46f9c1ff9 | 5,874 | cpp | C++ | src/Components.cpp | leiradel/lrcpp | 17e5d833886e642ca4af16e255a5ca58b170a324 | [
"MIT"
] | 8 | 2021-01-10T00:44:34.000Z | 2021-11-26T02:03:43.000Z | src/Components.cpp | leiradel/lrcpp | 17e5d833886e642ca4af16e255a5ca58b170a324 | [
"MIT"
] | null | null | null | src/Components.cpp | leiradel/lrcpp | 17e5d833886e642ca4af16e255a5ca58b170a324 | [
"MIT"
] | null | null | null | #include <lrcpp/Components.h>
#include <string.h>
#include <stdlib.h>
void lrcpp::Logger::debug(char const* format, ...) {
va_list args;
va_start(args, format);
vprintf(RETRO_LOG_DEBUG, format, args);
va_end(args);
}
void lrcpp::Logger::info(char const* format, ...) {
va_list args;
va_start(a... | 24.995745 | 114 | 0.524345 | leiradel |
94b5668affd22cd4696cbeef739a2c6a6adab12d | 213 | cpp | C++ | 014.cpp | Jalanjii/Algorithms | 6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b | [
"MIT"
] | 1 | 2021-02-01T03:44:33.000Z | 2021-02-01T03:44:33.000Z | 014.cpp | Jalanjii/Algorithms | 6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b | [
"MIT"
] | null | null | null | 014.cpp | Jalanjii/Algorithms | 6b6b01e18c5c6c4bcfa122a269fdab8a47f09b7b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
int n1, n2;
cin >> n1 >> n2;
if ((n1 % 2) != 0)
cout << n1;
else
cout << n2;
} | 15.214286 | 36 | 0.558685 | Jalanjii |
94b804fb2886ffa4591ceacdc3fd0a90626c8ea3 | 7,275 | cpp | C++ | util/processinfo_osx.cpp | RedBeard0531/mongo_utils | 402c2023df7d67609ce9da8e405bf13cdd270e20 | [
"Apache-2.0"
] | 1 | 2018-03-14T21:48:43.000Z | 2018-03-14T21:48:43.000Z | util/processinfo_osx.cpp | RedBeard0531/mongo_utils | 402c2023df7d67609ce9da8e405bf13cdd270e20 | [
"Apache-2.0"
] | null | null | null | util/processinfo_osx.cpp | RedBeard0531/mongo_utils | 402c2023df7d67609ce9da8e405bf13cdd270e20 | [
"Apache-2.0"
] | null | null | null | // processinfo_darwin.cpp
/* Copyright 2009 10gen Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 31.223176 | 99 | 0.663368 | RedBeard0531 |
94b82c58694b5425ff49653f6dc49f7d7933b862 | 3,066 | cpp | C++ | netvid_slice.cpp | trylle/netvid | ae3f6a54a195b43777654fecc44b431668274da2 | [
"MIT"
] | null | null | null | netvid_slice.cpp | trylle/netvid | ae3f6a54a195b43777654fecc44b431668274da2 | [
"MIT"
] | null | null | null | netvid_slice.cpp | trylle/netvid | ae3f6a54a195b43777654fecc44b431668274da2 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <chrono>
#include <boost/program_options.hpp>
#include <boost/asio/steady_timer.hpp>
#include "check.h"
#include "protocol.h"
#include "net.h"
using namespace boost;
using namespace boost::asio;
using namespace boost::asio::ip;
namespace po=boost::program_options;
typ... | 21.9 | 210 | 0.667645 | trylle |
94bd4f3685478255ef7e686c8701cb6030b395d3 | 1,030 | cpp | C++ | src/caesarify.cpp | urlordjames/caesargui | 0a382f7887365adab07016ff3f26d5cb10343d1e | [
"MIT"
] | null | null | null | src/caesarify.cpp | urlordjames/caesargui | 0a382f7887365adab07016ff3f26d5cb10343d1e | [
"MIT"
] | null | null | null | src/caesarify.cpp | urlordjames/caesargui | 0a382f7887365adab07016ff3f26d5cb10343d1e | [
"MIT"
] | null | null | null | #include <iostream>
#include "caesarify.h"
Caesar::Caesar() {
auto build_error = program.build();
if (build_error != 0) {
std::cout << "BUILD ERROR: " << build_error << std::endl;
std::string log;
program.getBuildInfo(device, CL_PROGRAM_BUILD_LOG, &log);
std::cout << log << std::endl;
}
}
std::... | 27.837838 | 93 | 0.68835 | urlordjames |
94bfc43209acc9d7e4aa16a87436fee814725559 | 607 | hpp | C++ | GoPokemon/Entitites/Pokeball.hpp | jesusmartinoza/GoPokemon | 99985cd87414d4232698231a08a909e630fc4b9b | [
"MIT"
] | 1 | 2021-01-28T19:46:05.000Z | 2021-01-28T19:46:05.000Z | GoPokemon/Entitites/Pokeball.hpp | jesusmartinoza/GoPokemon | 99985cd87414d4232698231a08a909e630fc4b9b | [
"MIT"
] | null | null | null | GoPokemon/Entitites/Pokeball.hpp | jesusmartinoza/GoPokemon | 99985cd87414d4232698231a08a909e630fc4b9b | [
"MIT"
] | null | null | null | //
// Pokeball.hpp
// GoPokemon
//
// Created by Jesús Martínez on 23/03/17.
// Copyright © 2017 Jesús Alberto Martínez Mendoza. All rights reserved.
//
#ifndef Pokeball_hpp
#define Pokeball_hpp
#include <stdio.h>
#include "ObjModel.hpp"
class Pokeball: public ObjModel {
private:
vector<ObjVertex> pathPoints... | 18.96875 | 73 | 0.678748 | jesusmartinoza |
94c91e002d67e4a69f6248b6a86806eee688b682 | 1,711 | cc | C++ | flare/net/cos/ops/object/get_object.cc | AriCheng/flare | b2c84588fe4ac52f0875791d22284d7e063fd057 | [
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 868 | 2021-05-28T04:00:22.000Z | 2022-03-31T08:57:14.000Z | flare/net/cos/ops/object/get_object.cc | AriCheng/flare | b2c84588fe4ac52f0875791d22284d7e063fd057 | [
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 33 | 2021-05-28T08:44:47.000Z | 2021-09-26T13:09:21.000Z | flare/net/cos/ops/object/get_object.cc | AriCheng/flare | b2c84588fe4ac52f0875791d22284d7e063fd057 | [
"CC-BY-3.0",
"BSD-2-Clause",
"BSD-3-Clause"
] | 122 | 2021-05-28T08:22:23.000Z | 2022-03-29T09:52:09.000Z | // Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of the
// License at
//
// https://opensource.org/licenses/BSD-3-Clause
//
// Unless req... | 34.22 | 80 | 0.674459 | AriCheng |
94cb665e80a605f1e6e9fea914d172887e566ec7 | 13,629 | cpp | C++ | clients/cpp-tizen/generated/src/MultibranchPipeline.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | 23 | 2017-08-01T12:25:26.000Z | 2022-01-25T03:44:11.000Z | clients/cpp-tizen/generated/src/MultibranchPipeline.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | 35 | 2017-06-14T03:28:15.000Z | 2022-02-14T10:25:54.000Z | clients/cpp-tizen/generated/src/MultibranchPipeline.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | 11 | 2017-08-31T19:00:20.000Z | 2021-12-19T12:04:12.000Z | #include <map>
#include <cstdlib>
#include <glib-object.h>
#include <json-glib/json-glib.h>
#include "Helpers.h"
#include "MultibranchPipeline.h"
using namespace std;
using namespace Tizen::ArtikCloud;
MultibranchPipeline::MultibranchPipeline()
{
//__init();
}
MultibranchPipeline::~MultibranchPipeline()
{
//__cl... | 22.37931 | 91 | 0.720302 | cliffano |
94cc962dc74aebe17516fab6d75c3adaf343ea50 | 2,199 | hpp | C++ | kfr/include/kfr/graphics/scaled.hpp | yekm/gate_recorder | e76fda4a6d67672c0c2d7802417116ac3c1a1896 | [
"MIT"
] | null | null | null | kfr/include/kfr/graphics/scaled.hpp | yekm/gate_recorder | e76fda4a6d67672c0c2d7802417116ac3c1a1896 | [
"MIT"
] | 1 | 2021-02-25T14:20:19.000Z | 2021-02-25T14:24:03.000Z | kfr/include/kfr/graphics/scaled.hpp | For-The-Birds/gate_recorder | e76fda4a6d67672c0c2d7802417116ac3c1a1896 | [
"MIT"
] | null | null | null | /** @addtogroup basic_math
* @{
*/
/*
Copyright (C) 2016 D Levin (https://www.kfrlib.com)
This file is part of KFR
KFR is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License,... | 37.913793 | 102 | 0.702137 | yekm |
94d14cfc34bac6738838e924021fd68708994cff | 2,873 | cpp | C++ | tests/test-time-precise.cpp | Lord-KA/Matrix | eedb363b98e9bcb1a993802d214c9708bafe1842 | [
"MIT"
] | 1 | 2021-07-03T19:04:41.000Z | 2021-07-03T19:04:41.000Z | tests/test-time-precise.cpp | Lord-KA/Matrix | eedb363b98e9bcb1a993802d214c9708bafe1842 | [
"MIT"
] | null | null | null | tests/test-time-precise.cpp | Lord-KA/Matrix | eedb363b98e9bcb1a993802d214c9708bafe1842 | [
"MIT"
] | null | null | null | #include "../Matrix.hpp"
#include <chrono>
#include <vector>
#include <iostream>
static size_t counter = -1;
static constexpr size_t basicSize = 1e4;
static constexpr size_t passes = 1e1;
void test_0()
{
Matrix<int> M1(basicSize, basicSize), M2(basicSize, basicSize), M3;
M1.FillMatrixRandom();
M2... | 24.347458 | 133 | 0.584058 | Lord-KA |
94d1a776cb829eb0e66fefdbc619e409cbe2eb7a | 3,072 | cpp | C++ | src/core/cpp/resource/SoundHolder.cpp | NeroGames/Nero-Game-Engine | 8543b8bb142738aa28bc20e929b342d3e6df066e | [
"MIT"
] | 26 | 2020-09-02T18:14:36.000Z | 2022-02-08T18:28:36.000Z | src/core/cpp/resource/SoundHolder.cpp | sk-landry/Nero-Game-Engine | 8543b8bb142738aa28bc20e929b342d3e6df066e | [
"MIT"
] | 14 | 2020-08-30T01:37:04.000Z | 2021-07-19T20:47:29.000Z | src/core/cpp/resource/SoundHolder.cpp | sk-landry/Nero-Game-Engine | 8543b8bb142738aa28bc20e929b342d3e6df066e | [
"MIT"
] | 6 | 2020-09-02T18:14:57.000Z | 2021-12-31T00:32:09.000Z | ////////////////////////////////////////////////////////////
// Nero Game Engine
// Copyright (c) 2016-2020 Sanou A. K. Landry
////////////////////////////////////////////////////////////
///////////////////////////HEADERS///////////////////////////
//NERO
#include <Nero/core/cpp/resource/SoundHolder.h>
#include <Nero/... | 22.925373 | 99 | 0.607747 | NeroGames |
94d6f024749ea890d1e1511710cf05dbd2cb389c | 885 | cpp | C++ | tests/Catch2_Tests/integrations/catch/Catch2QtStringMakerTests.cpp | approvals/ApprovalTests.cpp.Qt | 46aa622b547521dc0e42c7e87ba4a00d15695f60 | [
"Apache-2.0"
] | 11 | 2020-01-13T16:17:17.000Z | 2021-01-13T22:35:25.000Z | tests/Catch2_Tests/integrations/catch/Catch2QtStringMakerTests.cpp | claremacrae/ApprovalTests.cpp.Qt | 6e46ccbf7ec6152328bb7ac3d1504be4364e075c | [
"Apache-2.0"
] | 6 | 2019-10-24T07:56:44.000Z | 2021-09-08T19:15:41.000Z | tests/Catch2_Tests/integrations/catch/Catch2QtStringMakerTests.cpp | claremacrae/ApprovalTests.cpp.Qt | 6e46ccbf7ec6152328bb7ac3d1504be4364e075c | [
"Apache-2.0"
] | 1 | 2019-10-23T07:31:17.000Z | 2019-10-23T07:31:17.000Z | #include <QColor>
#include <QDate>
#include <QPoint>
#include <catch2/catch.hpp>
#include "ApprovalTestsQt/integrations/catch/Catch2QtStringMaker.h"
TEST_CASE("StringMaker pretty-prints QColor")
{
QColor red("red");
REQUIRE(Catch::StringMaker<QColor>::convert(red) == "(1, 0, 0), alpha = 1");
}
TEST_CASE("Stri... | 27.65625 | 80 | 0.696045 | approvals |
94d8e4121cf6801cd4280ba102d7fafd35ec0115 | 13,314 | cpp | C++ | driver/umd/src/job_base.cpp | dejsha01/armchina-zhouyi | 5de86bbdb5dc4184df4348d64cd152db0dbf9a96 | [
"MIT"
] | null | null | null | driver/umd/src/job_base.cpp | dejsha01/armchina-zhouyi | 5de86bbdb5dc4184df4348d64cd152db0dbf9a96 | [
"MIT"
] | null | null | null | driver/umd/src/job_base.cpp | dejsha01/armchina-zhouyi | 5de86bbdb5dc4184df4348d64cd152db0dbf9a96 | [
"MIT"
] | null | null | null | /**********************************************************************************
* This file is CONFIDENTIAL and any use by you is subject to the terms of the
* agreement between you and Arm China or the terms of the agreement between you
* and the party authorised by Arm China to disclose this file to you.
* Th... | 28.943478 | 103 | 0.614842 | dejsha01 |
94dd9e840b5fa259bc99a63f5aa06f9894a5fe09 | 652 | hpp | C++ | src/standard/bits/DD_GetPackBack.hpp | iDingDong/libDDCPP-old | 841260fecc84330ff3bfffba7263f5318f0b4655 | [
"BSD-3-Clause"
] | 1 | 2018-06-01T03:29:34.000Z | 2018-06-01T03:29:34.000Z | src/standard/bits/DD_GetPackBack.hpp | iDingDong/libDDCPP-old | 841260fecc84330ff3bfffba7263f5318f0b4655 | [
"BSD-3-Clause"
] | null | null | null | src/standard/bits/DD_GetPackBack.hpp | iDingDong/libDDCPP-old | 841260fecc84330ff3bfffba7263f5318f0b4655 | [
"BSD-3-Clause"
] | null | null | null | // DDCPP/standard/bits/DD_GetPackBack.hpp
#ifndef DD_GET_PACK_BACK_HPP_INCLUDED_
# define DD_GET_PACK_BACK_HPP_INCLUDED_ 1
# if __cplusplus < 201103L
# error ISO/IEC 14882:2011 or a later version support is required for'DD::GetPackBack'.
# endif
# include "DD_global_definitions.hpp"
DD_BEGIN_
template <typena... | 15.162791 | 88 | 0.76227 | iDingDong |
94de103ab215f5bd98846c02496034e16e52e1d8 | 3,134 | cpp | C++ | src/GdfEdit2/MainFrm.cpp | hogsy/xtread | 9d4eaf2778b8b687256788c7617b19542986bf32 | [
"MIT"
] | 1 | 2019-07-20T12:10:20.000Z | 2019-07-20T12:10:20.000Z | src/GdfEdit2/MainFrm.cpp | hogsy/xtread | 9d4eaf2778b8b687256788c7617b19542986bf32 | [
"MIT"
] | null | null | null | src/GdfEdit2/MainFrm.cpp | hogsy/xtread | 9d4eaf2778b8b687256788c7617b19542986bf32 | [
"MIT"
] | null | null | null | // MainFrm.cpp : implementation of the CMainFrame class
//
#include "stdafx.h"
#include "GdfEdit2.h"
#include "MainFrm.h"
#include "Splash.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
... | 23.214815 | 88 | 0.666879 | hogsy |
94df6c344a2432c341014a2c7f64b934443d35cb | 2,541 | cc | C++ | file/util/linux_fileops.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 1,145 | 2015-01-01T22:07:47.000Z | 2022-03-30T19:19:23.000Z | file/util/linux_fileops.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 9 | 2015-01-09T08:50:27.000Z | 2020-02-11T09:16:20.000Z | file/util/linux_fileops.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 123 | 2015-01-02T12:10:08.000Z | 2021-10-12T02:49:48.000Z | // Copyright 2013 Google Inc. 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... | 28.233333 | 78 | 0.608422 | claytonbrown |
94dffeab13fe3f118ad3cb894df08fa3013e49be | 1,758 | cpp | C++ | gcd_lcm/gcd_sum/abc162_e.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | gcd_lcm/gcd_sum/abc162_e.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | gcd_lcm/gcd_sum/abc162_e.cpp | Takumi1122/data-structure-algorithm | 6b9f26e4dbba981f034518a972ecfc698b86d837 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
/*
参考リンク
ABC 162 E - Sum of gcd of Tuples (Hard)
https://atcoder.jp/contests/abc162/tasks/abc162_e
*/
const int mod = 1000000007;
struct mint {
ll x; // typede... | 25.114286 | 69 | 0.527304 | Takumi1122 |
94e330d769414b4ae0bc6c718f2abfaa2d008f04 | 379,983 | cxx | C++ | PWGHF/vertexingHF/TMVA/LHC19c2a_TMVAClassification_BDT_2_4_noPCts.class.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWGHF/vertexingHF/TMVA/LHC19c2a_TMVAClassification_BDT_2_4_noPCts.class.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWGHF/vertexingHF/TMVA/LHC19c2a_TMVAClassification_BDT_2_4_noPCts.class.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | #include "LHC19c2a_TMVAClassification_BDT_2_4_noPCts.class.h"
double ReadBDT_LHC19c2a_2_4_noPCts::GetMvaValue__( const std::vector<double>& inputValues ) const
{
double myMVA = 0;
double norm = 0;
for (unsigned int itree=0; itree<fForest.size(); itree++){
BDTNode *current = fForest[itree];
while ... | 14.789359 | 105 | 0.492885 | maroozm |
94ea6e1c076b3cfabe2cf829081f5c4f547f1615 | 8,424 | cc | C++ | dependencies/fplutil/libfplutil/unit_tests/test_variable_size/test_variable_size.cc | niu2x/gxm | cf5ebb39dc6cfae268249fdf801bd431a146bfe1 | [
"MIT"
] | 244 | 2015-01-01T22:00:48.000Z | 2021-12-18T06:03:35.000Z | libfplutil/unit_tests/test_variable_size/test_variable_size.cc | google/fplutil | ac0118ad7fedf054c2645efdb13f52788c183d12 | [
"Apache-2.0"
] | 10 | 2015-09-17T18:49:53.000Z | 2018-07-30T19:54:39.000Z | dependencies/fplutil/libfplutil/unit_tests/test_variable_size/test_variable_size.cc | niu2x/gxm | cf5ebb39dc6cfae268249fdf801bd431a146bfe1 | [
"MIT"
] | 55 | 2015-01-05T09:22:24.000Z | 2021-12-18T06:03:37.000Z | // Copyright 2016 Google Inc. 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... | 36.947368 | 120 | 0.699074 | niu2x |
94eae3b4d50e2696f4c8a78637329bcde007b08c | 1,333 | cpp | C++ | OverlordEditor/Materials/Deferred/DiffuseMaterial_Deferred.cpp | Ruvah/Overlord-Editor | 3193b4986b10edb0fa8fdbc493ee3b05fdea217d | [
"Apache-2.0"
] | 1 | 2018-11-28T12:30:13.000Z | 2018-11-28T12:30:13.000Z | OverlordEditor/Materials/Deferred/DiffuseMaterial_Deferred.cpp | Ruvah/Overlord-Editor | 3193b4986b10edb0fa8fdbc493ee3b05fdea217d | [
"Apache-2.0"
] | null | null | null | OverlordEditor/Materials/Deferred/DiffuseMaterial_Deferred.cpp | Ruvah/Overlord-Editor | 3193b4986b10edb0fa8fdbc493ee3b05fdea217d | [
"Apache-2.0"
] | 2 | 2019-12-28T12:34:51.000Z | 2021-03-08T08:37:33.000Z |
#include "stdafx.h"
#include "DiffuseMaterial_Deferred.h"
#include "..\OverlordEngine\ContentManager.h"
#include "..\OverlordEngine\TextureData.h"
ID3DX11EffectShaderResourceVariable* DiffuseMaterial_Deferred::m_pDiffuseSRVvariable = nullptr;
DiffuseMaterial_Deferred::DiffuseMaterial_Deferred() :
Material(L"./Re... | 26.66 | 117 | 0.80045 | Ruvah |
94f3ba473730811015577416bf21dacacd118bec | 2,724 | hpp | C++ | src/location.hpp | rljacobson/Elsix | e4e508f2a09bb2cddd6d928bfa69a901a3feb74c | [
"MIT"
] | 2 | 2021-03-21T04:53:22.000Z | 2021-07-21T00:55:30.000Z | src/location.hpp | rljacobson/Elsix | e4e508f2a09bb2cddd6d928bfa69a901a3feb74c | [
"MIT"
] | null | null | null | src/location.hpp | rljacobson/Elsix | e4e508f2a09bb2cddd6d928bfa69a901a3feb74c | [
"MIT"
] | null | null | null | /*
Created by Robert Jacobson on 10 September 2019.
Elsix
Description: An implementation of the Bell Telephone Laboratories'
Low-Level Linked List Language L6.
Copyright (c) 2019 Robert Jacobson.
The MIT License
Permission is hereby granted, free of charge, to any person ... | 34.05 | 98 | 0.693833 | rljacobson |
94f66dbf8aed330a17508647a1740f8b220076e0 | 4,597 | cpp | C++ | host/run.cpp | Zottel/opencl_scad_experiment | 9226de57b05958f0299de5c2b7a8c197590f1500 | [
"Apache-2.0"
] | null | null | null | host/run.cpp | Zottel/opencl_scad_experiment | 9226de57b05958f0299de5c2b7a8c197590f1500 | [
"Apache-2.0"
] | null | null | null | host/run.cpp | Zottel/opencl_scad_experiment | 9226de57b05958f0299de5c2b7a8c197590f1500 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Julius Roob <julius@juliusroob.de>
//
// 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... | 30.443709 | 88 | 0.693061 | Zottel |
94fbaaecd6a4dbcdb9e558a66739349c6ca93de7 | 18 | cpp | C++ | test/ImgShow/img.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 1 | 2020-10-01T14:52:45.000Z | 2020-10-01T14:52:45.000Z | test/ImgShow/img.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | 3 | 2020-06-19T01:24:51.000Z | 2020-07-16T14:00:30.000Z | test/ImgShow/img.cpp | 6923403/C | d365021759e6d9078254b4b7b6455e0408e4b691 | [
"MIT"
] | null | null | null | #include "img.h"
| 6 | 16 | 0.611111 | 6923403 |
94fbde35b52820a84c9cf9ae1cf170b361c1b524 | 3,266 | cpp | C++ | source/unit_tests/regex_crossword_solver_exception.unit_tests.cpp | antoine-trux/regex-crossword-solver | 3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7 | [
"MIT"
] | 6 | 2016-10-28T10:24:47.000Z | 2021-02-23T00:44:02.000Z | source/unit_tests/regex_crossword_solver_exception.unit_tests.cpp | antoine-trux/regex-crossword-solver | 3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7 | [
"MIT"
] | null | null | null | source/unit_tests/regex_crossword_solver_exception.unit_tests.cpp | antoine-trux/regex-crossword-solver | 3d4cfe3b973e44f5250f5438ce6b4b696ecd3cd7 | [
"MIT"
] | 2 | 2017-03-09T09:19:29.000Z | 2021-02-23T00:44:13.000Z | // Copyright (c) 2016 Antoine Trux
//
// The original version is available at
// http://solving-regular-expression-crosswords.blogspot.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 Softwar... | 34.378947 | 80 | 0.687385 | antoine-trux |
94fe68fb560050eadd38c624aa3e1cc23bc01ec3 | 9,644 | cc | C++ | fuzzers/tint_regex_fuzzer/regex_fuzzer_tests.cc | haocxy/mirror-googlesource-dawn-tint | 44a0adf9b47c22a7b2f392f30aaf59811f56d6ee | [
"Apache-2.0"
] | null | null | null | fuzzers/tint_regex_fuzzer/regex_fuzzer_tests.cc | haocxy/mirror-googlesource-dawn-tint | 44a0adf9b47c22a7b2f392f30aaf59811f56d6ee | [
"Apache-2.0"
] | null | null | null | fuzzers/tint_regex_fuzzer/regex_fuzzer_tests.cc | haocxy/mirror-googlesource-dawn-tint | 44a0adf9b47c22a7b2f392f30aaf59811f56d6ee | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 36.11985 | 80 | 0.607735 | haocxy |
94fee021c5db08375ed9717e0bfcf13702b3f5fc | 2,365 | cpp | C++ | game/client/sdk/ios_pitchtextureproxy.cpp | IOSoccer/IOS | f572c993c8c551cb87facfc68388f3dd368d1d9f | [
"MIT"
] | 6 | 2015-02-24T04:25:14.000Z | 2016-06-26T16:04:57.000Z | game/client/sdk/ios_pitchtextureproxy.cpp | IOSoccer/IOS | f572c993c8c551cb87facfc68388f3dd368d1d9f | [
"MIT"
] | 184 | 2015-01-01T09:40:16.000Z | 2016-06-26T14:18:33.000Z | game/client/sdk/ios_pitchtextureproxy.cpp | IOSoccer/IOS | f572c993c8c551cb87facfc68388f3dd368d1d9f | [
"MIT"
] | 5 | 2015-07-26T10:09:33.000Z | 2015-12-29T23:25:35.000Z | #include "cbase.h"
#include "BaseAnimatedTextureProxy.h"
#include "materialsystem/IMaterial.h"
#include "materialsystem/IMaterialVar.h"
#include "materialsystem/ITexture.h"
#include "tier1/KeyValues.h"
#include "toolframework_client.h"
#include "sdk_gamerules.h"
#include "ProxyEntity.h"
#include "materialsystem/IMateri... | 25.706522 | 113 | 0.770402 | IOSoccer |
94ff40e7bcef2432d0e98ec66026833cb84bf53a | 1,060 | hpp | C++ | game/code/common/engine/audio/format/iaudiostreamformat.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/audio/format/iaudiostreamformat.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | null | null | null | game/code/common/engine/audio/format/iaudiostreamformat.hpp | justinctlam/MarbleStrike | 64fe36a5a4db2b299983b0e2556ab1cd8126259b | [
"MIT"
] | 2 | 2019-03-08T03:02:45.000Z | 2019-05-14T08:41:26.000Z | #ifndef AUDIO_STREAM_FORMAT_HPP
#define AUDIO_STREAM_FORMAT_HPP
//////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////
#include "common/engine/audio/format/iaudioformat.hpp"
//////////////////////////////////////////////////////
// FORWARD DECLARATIO... | 22.553191 | 55 | 0.351887 | justinctlam |
a2000b23b7e72954683d774af2745d9516d0a567 | 971 | cpp | C++ | test/test_auto_buffer.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 29 | 2016-01-29T09:31:09.000Z | 2021-07-11T12:00:31.000Z | test/test_auto_buffer.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 2 | 2015-03-30T09:59:51.000Z | 2017-03-13T09:35:18.000Z | test/test_auto_buffer.cpp | yiyuanzhong/flinter | c52655ea5f8e48244fdb59bdf34b915faee57a6e | [
"Apache-2.0"
] | 17 | 2015-03-28T09:24:53.000Z | 2021-08-07T10:09:10.000Z | #include <gtest/gtest.h>
#include <stdio.h>
#include <vector>
#include <flinter/types/auto_buffer.h>
#include <flinter/logger.h>
TEST(AutoBufferTest, TestCompileWithType)
{
LOG(INFO) << "BEGIN";
flinter::AutoBuffer<char> buffer(128 * 1024 * 1024);
char *p = buffer.get();
printf("%p\n", p);
buffe... | 21.577778 | 56 | 0.563337 | yiyuanzhong |
a20180f2b4b3f7834b8bc0b47dce6d3be0f3138f | 21,756 | cpp | C++ | DT3Android/HAL.cpp | 9heart/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 3 | 2016-01-27T13:17:18.000Z | 2019-03-19T09:18:25.000Z | DT3Android/HAL.cpp | pakoito/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 1 | 2016-01-28T14:39:49.000Z | 2016-01-28T22:12:07.000Z | DT3Android/HAL.cpp | adderly/DT3 | e2605be091ec903d3582e182313837cbaf790857 | [
"MIT"
] | 3 | 2016-01-25T16:44:51.000Z | 2021-01-29T19:59:45.000Z | //==============================================================================
///
/// File: HAL.cpp
///
/// Copyright (C) 2000-2013 by Smells Like Donkey, Inc. All rights reserved.
///
/// This file is subject to the terms and conditions defined in
/// file 'LICENSE.txt', which is part of this source code package.... | 32.375 | 153 | 0.579564 | 9heart |
a202a4715242d8824e3e6804a5926eb92aeb3388 | 7,545 | cpp | C++ | src/main.cpp | YuseqYaseq/ML-framework | d7830132ced6f874a774f86ce85345ef4dc630d9 | [
"MIT"
] | null | null | null | src/main.cpp | YuseqYaseq/ML-framework | d7830132ced6f874a774f86ce85345ef4dc630d9 | [
"MIT"
] | null | null | null | src/main.cpp | YuseqYaseq/ML-framework | d7830132ced6f874a774f86ce85345ef4dc630d9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <experimental/filesystem>
#include <algorithm>
#include "SigmoidLayer.h"
#include "ActualConvSigmoidLayer.h"
#include "SoftMaxLayer.h"
#include "LogisticRegressor.h"
#include "MaxPoolLayer.h"
#include "../test/assert.h"
using namespace AGH_NN;
namespace fs = std::experi... | 28.471698 | 100 | 0.656329 | YuseqYaseq |
a205c22aed8585f1f228c1ebb0be6a9815b423b6 | 1,868 | hpp | C++ | src/mfx/pi/param/MapPseudoLog.hpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 69 | 2017-01-17T13:17:31.000Z | 2022-03-01T14:56:32.000Z | src/mfx/pi/param/MapPseudoLog.hpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 1 | 2020-11-03T14:52:45.000Z | 2020-12-01T20:31:15.000Z | src/mfx/pi/param/MapPseudoLog.hpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | 8 | 2017-02-08T13:30:42.000Z | 2021-12-09T08:43:09.000Z | /*****************************************************************************
MapPseudoLog.hpp
Author: Laurent de Soras, 2016
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under th... | 17.961538 | 78 | 0.518201 | mikelange49 |
a2067596101a56b51688434b9cb6947939177bec | 35,317 | cpp | C++ | build/linux-build/Sources/src/zpp_nape/geom/ZPP_PartitionVertex.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/zpp_nape/geom/ZPP_PartitionVertex.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/zpp_nape/geom/ZPP_PartitionVertex.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.0-preview.5
#include <hxcpp.h>
#ifndef INCLUDED_zpp_nape_geom_ZPP_GeomVert
#include <hxinc/zpp_nape/geom/ZPP_GeomVert.h>
#endif
#ifndef INCLUDED_zpp_nape_geom_ZPP_PartitionVertex
#include <hxinc/zpp_nape/geom/ZPP_PartitionVertex.h>
#endif
#ifndef INCLUDED_zpp_nape_util_ZNPList_ZPP_PartitionVer... | 38.346363 | 227 | 0.588838 | HedgehogFog |
a20887c0f0817c9eff6cad1a40075c4e768633a6 | 1,277 | cpp | C++ | sources/Application/Model/Phrase.cpp | haiko21/LittleGPTracker | 0f137aa67dfd86379b830cc51ba900b9423127ce | [
"BSD-3-Clause"
] | 66 | 2015-01-29T09:12:51.000Z | 2022-03-23T19:20:49.000Z | sources/Application/Model/Phrase.cpp | haiko21/LittleGPTracker | 0f137aa67dfd86379b830cc51ba900b9423127ce | [
"BSD-3-Clause"
] | 18 | 2015-08-19T19:50:31.000Z | 2021-10-12T02:33:09.000Z | sources/Application/Model/Phrase.cpp | haiko21/LittleGPTracker | 0f137aa67dfd86379b830cc51ba900b9423127ce | [
"BSD-3-Clause"
] | 20 | 2015-08-19T00:46:57.000Z | 2022-03-14T13:44:49.000Z | #include "Phrase.h"
#include "System/System/System.h"
#include <stdlib.h>
#include <string.h>
Phrase::Phrase() {
int size=PHRASE_COUNT*16 ; // PHRASE_COUNT phrases of 0x10 steps
note_=(unsigned char *)SYS_MALLOC(size) ;
memset(note_,0xFF,size) ;
instr_=(unsigned char *)SYS_MALLOC(size) ;
memset(instr_,0xFF,size)... | 22.017241 | 65 | 0.670321 | haiko21 |
a20db2b15be5a51a85167c4bb1c948c5cc45ade1 | 10,192 | cpp | C++ | tests/kfdtest/src/KFDDBGTest.cpp | candrews/ROCT-Thunk-Interface | 4872523c79daaaf6f2c117ebe2e79629d51357da | [
"AMDPLPA"
] | null | null | null | tests/kfdtest/src/KFDDBGTest.cpp | candrews/ROCT-Thunk-Interface | 4872523c79daaaf6f2c117ebe2e79629d51357da | [
"AMDPLPA"
] | null | null | null | tests/kfdtest/src/KFDDBGTest.cpp | candrews/ROCT-Thunk-Interface | 4872523c79daaaf6f2c117ebe2e79629d51357da | [
"AMDPLPA"
] | null | null | null | /*
* Copyright (C) 2016-2018 Advanced Micro Devices, Inc. All Rights Reserved.
*
* 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 ... | 34.90411 | 130 | 0.624019 | candrews |
a20e4206d1460a1181d51f220ce7b6efb5e01f4d | 2,610 | cpp | C++ | frameworks/core/components/svg/svg_component.cpp | openharmony-gitee-mirror/ace_ace_engine | 78013960cdce81348d1910e466a3292605442a5e | [
"Apache-2.0"
] | null | null | null | frameworks/core/components/svg/svg_component.cpp | openharmony-gitee-mirror/ace_ace_engine | 78013960cdce81348d1910e466a3292605442a5e | [
"Apache-2.0"
] | null | null | null | frameworks/core/components/svg/svg_component.cpp | openharmony-gitee-mirror/ace_ace_engine | 78013960cdce81348d1910e466a3292605442a5e | [
"Apache-2.0"
] | 1 | 2021-09-13T11:17:50.000Z | 2021-09-13T11:17:50.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | 21.75 | 99 | 0.724138 | openharmony-gitee-mirror |
a20ec08e2ed2f6f95bc0caf5d1a16ed4471af97a | 6,834 | cpp | C++ | src/ReadProvider.cpp | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 239 | 2017-01-18T15:14:34.000Z | 2022-03-09T10:44:08.000Z | src/ReadProvider.cpp | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 96 | 2017-01-13T15:03:29.000Z | 2022-02-07T14:27:18.000Z | src/ReadProvider.cpp | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 44 | 2017-03-17T20:31:08.000Z | 2021-12-02T07:27:09.000Z | /**
* Contact: philipp.rescheneder@gmail.com
*/
#include "ReadProvider.h"
#include <zlib.h>
#include <stdio.h>
#include <algorithm>
#include <cmath>
#include <limits.h>
#include "IConfig.h"
#include "Log.h"
#include "Timing.h"
#include "CS.h"
#include "MappedRead.h"
#include "FastxParser.h"
//#include "BamParser.h... | 24.494624 | 111 | 0.635353 | monsanto-pinheiro |
a212e753f20bf6942a9cc485bc2089fb7effceea | 189 | cpp | C++ | src/analysis/util/find_roots.cpp | dequis/in-formant | 129b9b399c75cdbd834b68f04dabcb1d406af250 | [
"Apache-2.0"
] | null | null | null | src/analysis/util/find_roots.cpp | dequis/in-formant | 129b9b399c75cdbd834b68f04dabcb1d406af250 | [
"Apache-2.0"
] | null | null | null | src/analysis/util/find_roots.cpp | dequis/in-formant | 129b9b399c75cdbd834b68f04dabcb1d406af250 | [
"Apache-2.0"
] | null | null | null | #include "util.h"
#include "laguerre.h"
#include <iostream>
std::vector<std::complex<double>> Analysis::findRoots(const std::vector<double>& p)
{
return Analysis::laguerreSolve(p);
}
| 18.9 | 83 | 0.708995 | dequis |
a2194dc212cac9393c009ba3a6d09d5ce07b0c01 | 2,858 | cpp | C++ | SRM628/CircuitsConstruction.cpp | CanoeFZH/SRM | 02e3eeaa6044b14640e450725f68684e392009cb | [
"MIT"
] | null | null | null | SRM628/CircuitsConstruction.cpp | CanoeFZH/SRM | 02e3eeaa6044b14640e450725f68684e392009cb | [
"MIT"
] | null | null | null | SRM628/CircuitsConstruction.cpp | CanoeFZH/SRM | 02e3eeaa6044b14640e450725f68684e392009cb | [
"MIT"
] | null | null | null | // BEGIN CUT HERE
// END CUT HERE
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <vector>
#include <map>
#include <string>
#include <set>
#include <algorithm>
using namespace std;
class CircuitsConstruction
{
public:
... | 41.42029 | 308 | 0.557383 | CanoeFZH |
a220bc9d80f5a2f0f33cdda67aeb0805afa598df | 3,812 | cpp | C++ | Past_Work/antimicro/src/inputdevicebitarraystatus.cpp | jessecha/OPCAS | 2b51543b4ad1ee37dba2e45a0c7d0b872309d418 | [
"MIT"
] | 1 | 2021-02-28T05:58:50.000Z | 2021-02-28T05:58:50.000Z | Past_Work/antimicro/src/inputdevicebitarraystatus.cpp | jessecha/OPCAS | 2b51543b4ad1ee37dba2e45a0c7d0b872309d418 | [
"MIT"
] | null | null | null | Past_Work/antimicro/src/inputdevicebitarraystatus.cpp | jessecha/OPCAS | 2b51543b4ad1ee37dba2e45a0c7d0b872309d418 | [
"MIT"
] | null | null | null | /* antimicro Gamepad to KB+M event mapper
* Copyright (C) 2015 Travis Nickles <nickles.travis@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, o... | 28.661654 | 110 | 0.647429 | jessecha |
b8c4b1fc318ac457e0fe04dd1953fa207f50517b | 584 | hpp | C++ | src/traderlib/core/bom/currenciesparameters.hpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | null | null | null | src/traderlib/core/bom/currenciesparameters.hpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | 1 | 2019-11-06T23:15:30.000Z | 2019-11-11T10:04:32.000Z | src/traderlib/core/bom/currenciesparameters.hpp | AndreaCitrolo/Trader | 5ebaff6d5661471357cb827d3b0c61adafc24b50 | [
"MIT"
] | 1 | 2019-11-10T00:01:07.000Z | 2019-11-10T00:01:07.000Z | #ifndef CURRENCIESPARAMETERS_HPP
#define CURRENCIESPARAMETERS_HPP
#include <QMetaType>
#include <boost/optional.hpp>
#include "basictypes.h"
namespace bitinvest {
namespace core {
namespace bom {
struct CurrenciesParameters
{
CurrenciesParameters():
mId("")
{}
CurrenciesParameters(const Currenc... | 15.783784 | 62 | 0.702055 | AndreaCitrolo |
b8c4e3c791c62d32c08131fce8004b3201f97611 | 907 | cpp | C++ | Extensions/ImGui/ImGui.cpp | LinkClinton/MinesweeperVersus | fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308 | [
"MIT"
] | 1 | 2019-11-30T07:12:32.000Z | 2019-11-30T07:12:32.000Z | Extensions/ImGui/ImGui.cpp | LinkClinton/MinesweeperVersus | fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308 | [
"MIT"
] | null | null | null | Extensions/ImGui/ImGui.cpp | LinkClinton/MinesweeperVersus | fc5d4fa8aa7e2b6d4fd798d52a1614c243f4e308 | [
"MIT"
] | null | null | null | #include "ImGui.hpp"
void ImGui::BeginPropertyTable(const char* name)
{
Columns(2, name);
Separator();
}
void ImGui::Property(const char* name, const std::function<void()>& contentCall)
{
AlignTextToFramePadding();
Text(name); NextColumn();
AlignTextToFramePadding();
contentCall(); NextColumn();
}
void ImGu... | 17.784314 | 80 | 0.647189 | LinkClinton |
b8c672a3c45e3adc9548893af7c5003f8fc78eee | 295 | cpp | C++ | Source/Core/GL_Classes/UBO.cpp | swr06/Glide3D | f37ba0365b8a6131996d966f0472f7d50d4f303f | [
"MIT"
] | 37 | 2020-09-10T17:45:10.000Z | 2022-02-16T10:59:41.000Z | Source/Core/GL_Classes/UBO.cpp | swr06/Glide3D | f37ba0365b8a6131996d966f0472f7d50d4f303f | [
"MIT"
] | 1 | 2022-02-16T11:00:46.000Z | 2022-02-16T11:00:46.000Z | Source/Core/GL_Classes/UBO.cpp | swr06/Glide3D | f37ba0365b8a6131996d966f0472f7d50d4f303f | [
"MIT"
] | 1 | 2022-02-28T01:42:42.000Z | 2022-02-28T01:42:42.000Z | #include "UBO.h"
namespace Glide3D
{
UBO::UBO(GLsizeiptr size)
{
glGenBuffers(1, &m_UBO);
glBindBuffer(GL_UNIFORM_BUFFER, m_UBO);
glBufferData(GL_UNIFORM_BUFFER, size, nullptr, GL_STATIC_DRAW);
glBindBuffer(GL_UNIFORM_BUFFER, 0);
}
UBO::~UBO()
{
glDeleteBuffers(1, &m_UBO);
}
} | 17.352941 | 65 | 0.711864 | swr06 |
b8ca5c4d434abc40847e9f55d90373f4fdcfaa3c | 9,773 | hpp | C++ | Sources/epoch_config/Configs/CfgMissions/CfgmissionMilitary.hpp | Schalldampfer/Epoch | 9c222bb556c704e4640daba6a5195e2e55df36e1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2018-07-05T22:14:29.000Z | 2018-07-05T22:14:29.000Z | Sources/epoch_config/Configs/CfgMissions/CfgmissionMilitary.hpp | Schalldampfer/Epoch | 9c222bb556c704e4640daba6a5195e2e55df36e1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | Sources/epoch_config/Configs/CfgMissions/CfgmissionMilitary.hpp | Schalldampfer/Epoch | 9c222bb556c704e4640daba6a5195e2e55df36e1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | class milMissionAccepted{
author = "axeman";
title = "Military Crash Site";
desc = "";
img = "";
simpleTask = 0;
triggerCondition = "";
taskLimit = 3;
taskCheckTime = 16;
triggerDelay = 3;
items[] = {""};
itemSpawn = 0;
markerType = 0;
markerRadius = 250;
markerText = "";
initfsm = "";
initsqf = "";
in... | 32.905724 | 275 | 0.657935 | Schalldampfer |
b8cac45d6ebb93700e518a743d05ed66389eb4fa | 12,097 | cpp | C++ | src/pipeline/pipelineBuilder.cpp | haddenkim/hush | c003fa327874cf3890da50e8914730974c648f3f | [
"MIT"
] | 2 | 2019-04-28T19:49:15.000Z | 2020-06-29T06:04:51.000Z | src/pipeline/pipelineBuilder.cpp | haddenkim/hush | c003fa327874cf3890da50e8914730974c648f3f | [
"MIT"
] | 5 | 2020-03-15T20:17:58.000Z | 2020-03-15T21:05:31.000Z | src/pipeline/pipelineBuilder.cpp | haddenkim/hush | c003fa327874cf3890da50e8914730974c648f3f | [
"MIT"
] | null | null | null | #include "pipelineBuilder.h"
#include "pipeline/pipeline.h"
#include "pipelineBuffer/buffer.h"
#include "renderPass/denoise/atrousDenoiserPass.h"
#include "renderPass/post/toneMapPass.h"
#include "renderPass/raster/rasterGBufferPass.h"
#include "renderPass/raster/ssAmbientPass.h"
#include "renderPass/raster/ssLightPas... | 30.703046 | 135 | 0.716872 | haddenkim |
b8cb1096593540f81318f48107261c0a807baa91 | 4,697 | cc | C++ | Diagnostic/mdsd/mdsd/ProtocolHandlerBond.cc | shridpant/azure-linux-extensions | 4b5e66f33d5b93b15b427a9438931f0414f12a6e | [
"Apache-2.0"
] | 266 | 2015-01-05T04:13:15.000Z | 2022-03-24T17:52:51.000Z | Diagnostic/mdsd/mdsd/ProtocolHandlerBond.cc | shridpant/azure-linux-extensions | 4b5e66f33d5b93b15b427a9438931f0414f12a6e | [
"Apache-2.0"
] | 703 | 2015-01-27T07:16:57.000Z | 2022-03-29T09:01:23.000Z | Diagnostic/mdsd/mdsd/ProtocolHandlerBond.cc | shridpant/azure-linux-extensions | 4b5e66f33d5b93b15b427a9438931f0414f12a6e | [
"Apache-2.0"
] | 276 | 2015-01-20T11:11:15.000Z | 2022-03-24T12:40:49.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include "ProtocolHandlerBond.hh"
#include <cassert>
#include "Logger.hh"
#include "MdsValue.hh"
#include "CanonicalEntity.hh"
#include "Trace.hh"
#include "LocalSink.hh"
#include "Utility.hh"
extern "C" {
#include <unis... | 29.727848 | 158 | 0.624867 | shridpant |
b8d15c0ce897fe66b1d39428c9b5985a540ac8e5 | 2,430 | cpp | C++ | earth_enterprise/src/fusion/gst/gstGLUtils.cpp | ezeeyahoo/earthenterprise | b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9 | [
"Apache-2.0"
] | 2,661 | 2017-03-20T22:12:50.000Z | 2022-03-30T09:43:19.000Z | earth_enterprise/src/fusion/gst/gstGLUtils.cpp | ezeeyahoo/earthenterprise | b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9 | [
"Apache-2.0"
] | 1,531 | 2017-03-24T17:20:32.000Z | 2022-03-16T18:11:14.000Z | earth_enterprise/src/fusion/gst/gstGLUtils.cpp | ezeeyahoo/earthenterprise | b6cac9e6228946f2f17d1edb75e118aeb3e8e8c9 | [
"Apache-2.0"
] | 990 | 2017-03-24T11:54:28.000Z | 2022-03-22T11:51:47.000Z | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 22.924528 | 75 | 0.623868 | ezeeyahoo |
b8d2dd013a617ba1d952baf69de99106d1898f42 | 553 | cpp | C++ | Codeforces/616A.cpp | Alipashaimani/Competitive-programming | 5d55567b71ea61e69a6450cda7323c41956d3cb9 | [
"MIT"
] | null | null | null | Codeforces/616A.cpp | Alipashaimani/Competitive-programming | 5d55567b71ea61e69a6450cda7323c41956d3cb9 | [
"MIT"
] | null | null | null | Codeforces/616A.cpp | Alipashaimani/Competitive-programming | 5d55567b71ea61e69a6450cda7323c41956d3cb9 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(){
string s,s2;
cin>>s>>s2;
if ( s.size()>s2.size()){
reverse ( s2.begin(),s2.end());
while ( s.size()>s2.size())
s2.push_back('0');
reverse ( s2.begin(),s2.end());
}
else if ( s2.size()>s.size()){
reverse ( s.begin(),s.end());
while ( s2.size()>... | 19.068966 | 38 | 0.490054 | Alipashaimani |
b8d2e6db63e230045d63e9812d70e66896c672b1 | 433 | hpp | C++ | graph/ir.hpp | jitMatrix/xiuxian | ba52d11f39957dd14ca34b51ccb5fadb422e6833 | [
"Apache-2.0"
] | 3 | 2021-03-08T06:17:55.000Z | 2021-04-09T12:50:21.000Z | graph/ir.hpp | jitMatrix/xiuxian | ba52d11f39957dd14ca34b51ccb5fadb422e6833 | [
"Apache-2.0"
] | null | null | null | graph/ir.hpp | jitMatrix/xiuxian | ba52d11f39957dd14ca34b51ccb5fadb422e6833 | [
"Apache-2.0"
] | null | null | null | #ifndef IR_HPP
#define IR_HPP
#include <vector>
using namespace std;
class node {
public:
int val;
vector<node*> neighbors;
node() {
val = 0;
neighbors = vector<node*>();
}
node(int _val) {
val = _val;
neighbors = vector<node*>();
}
node(int ... | 14.433333 | 46 | 0.52194 | jitMatrix |
b8d6ab0b5539d6896931b13f0a83ff2b6d16c523 | 669 | cpp | C++ | graphics/cgal/Mesh_3/demo/Mesh_3/src/CGAL_demo/Scene_item.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | 4 | 2016-03-30T14:31:52.000Z | 2019-02-02T05:01:32.000Z | graphics/cgal/Mesh_3/demo/Mesh_3/src/CGAL_demo/Scene_item.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | graphics/cgal/Mesh_3/demo/Mesh_3/src/CGAL_demo/Scene_item.cpp | hlzz/dotfiles | 0591f71230c919c827ba569099eb3b75897e163e | [
"BSD-3-Clause"
] | null | null | null | #include <CGAL_demo/Scene_item.h>
const QColor Scene_item::defaultColor = QColor(100, 100, 255);
Scene_item::~Scene_item() {}
void Scene_item::itemAboutToBeDestroyed(Scene_item* item) {
if(this == item)
Q_EMIT aboutToBeDestroyed();
}
// Rendering mode as a human readable string
QString Scene_item::renderingMo... | 20.90625 | 62 | 0.651719 | hlzz |
b8dec2a6cde299904c3ffe36c107788161cf69da | 1,416 | cpp | C++ | middleware/common/unittest/isolated/source/test_signal.cpp | tompis/casual | d838716c7052a906af8a19e945a496acdc7899a2 | [
"MIT"
] | null | null | null | middleware/common/unittest/isolated/source/test_signal.cpp | tompis/casual | d838716c7052a906af8a19e945a496acdc7899a2 | [
"MIT"
] | null | null | null | middleware/common/unittest/isolated/source/test_signal.cpp | tompis/casual | d838716c7052a906af8a19e945a496acdc7899a2 | [
"MIT"
] | null | null | null | //!
//! test_signal.cpp
//!
//! Created on: Aug 10, 2013
//! Author: Lazan
//!
#include <gtest/gtest.h>
#include "common/signal.h"
#include "common/process.h"
#include "common/exception.h"
namespace casual
{
namespace common
{
TEST( casual_common_signal, scope_timeout)
{
//
/... | 19.666667 | 73 | 0.516949 | tompis |
b8e2ca8edde474dea2540be789f6d2e6e98c256e | 868 | cpp | C++ | test/son_functional_test.cpp | pdebus/MTVMTL | 65a7754b34d1f6a1e86d15e3c2d4346b9418414f | [
"MIT"
] | 3 | 2017-05-08T12:40:46.000Z | 2019-06-02T05:11:01.000Z | test/son_functional_test.cpp | pdebus/MTVMTL | 65a7754b34d1f6a1e86d15e3c2d4346b9418414f | [
"MIT"
] | null | null | null | test/son_functional_test.cpp | pdebus/MTVMTL | 65a7754b34d1f6a1e86d15e3c2d4346b9418414f | [
"MIT"
] | null | null | null | #include <iostream>
#define TV_DATA_DEBUG
#define TV_FUNC_DEBUG_VERBOSE
#define TVMTL_TVMIN_DEBUG_VERBOSE
#include <mtvmtl/core/algo_traits.hpp>
#include <mtvmtl/core/data.hpp>
#include <mtvmtl/core/functional.hpp>
int main(int argc, const char *argv[])
{
using namespace tvmtl;
/*
if (argc != 2){
std::cerr <<... | 19.727273 | 65 | 0.698157 | pdebus |
b8e5606f8bf3de9743323739af0b762f1169319d | 747 | cpp | C++ | plugins/matchmaker/clientsrc/matchmaker_client.cpp | pretty-wise/link | 16a4241c4978136d8c4bd1caab20bdf37df9caaf | [
"Unlicense"
] | null | null | null | plugins/matchmaker/clientsrc/matchmaker_client.cpp | pretty-wise/link | 16a4241c4978136d8c4bd1caab20bdf37df9caaf | [
"Unlicense"
] | 5 | 2019-12-27T05:51:10.000Z | 2022-02-12T02:24:58.000Z | plugins/matchmaker/clientsrc/matchmaker_client.cpp | pretty-wise/link | 16a4241c4978136d8c4bd1caab20bdf37df9caaf | [
"Unlicense"
] | null | null | null | /*
* Copywrite 2014-2015 Krzysztof Stasik. All rights reserved.
*/
#include "plugin/matchmaker/matchmaker_client.h"
#include "base/core/macro.h"
#include "common/protobuf_stream.h"
//#include "protocol/gate.pb.h"
namespace Link {
namespace Matchmaker {
static const Base::LogChannel kMatchLog("match_client");
struc... | 19.657895 | 61 | 0.717537 | pretty-wise |
b8e5bc86d88a238786c4eb8bbed4545ee7363d36 | 336 | cpp | C++ | GLTFSDK/Source/Extension.cpp | ninerdelta/glTF-SDK | db5c8dfd02f1a027cea63194a6472574cfe8d723 | [
"MIT"
] | 243 | 2019-05-22T04:35:22.000Z | 2022-03-30T21:04:37.000Z | GLTFSDK/Source/Extension.cpp | ninerdelta/glTF-SDK | db5c8dfd02f1a027cea63194a6472574cfe8d723 | [
"MIT"
] | 43 | 2019-05-07T17:37:13.000Z | 2022-03-17T12:47:30.000Z | GLTFSDK/Source/Extension.cpp | ninerdelta/glTF-SDK | db5c8dfd02f1a027cea63194a6472574cfe8d723 | [
"MIT"
] | 64 | 2019-05-24T14:09:28.000Z | 2022-03-13T02:24:27.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <GLTFSDK/Extension.h>
using namespace Microsoft::glTF;
bool Extension::operator==(const Extension& rhs) const
{
return IsEqual(rhs);
}
bool Extension::operator!=(const Extension& rhs) const
{
return !ope... | 19.764706 | 60 | 0.723214 | ninerdelta |
b8e63b16977d0b2045bb61a09d27080c0688a224 | 1,879 | cpp | C++ | UIFrameWork2.6/msgbox.cpp | zlj9328/emokit | 113e4841278a4bc970aaea08bc89e0a6d14ec2e4 | [
"MIT"
] | null | null | null | UIFrameWork2.6/msgbox.cpp | zlj9328/emokit | 113e4841278a4bc970aaea08bc89e0a6d14ec2e4 | [
"MIT"
] | null | null | null | UIFrameWork2.6/msgbox.cpp | zlj9328/emokit | 113e4841278a4bc970aaea08bc89e0a6d14ec2e4 | [
"MIT"
] | null | null | null | #include "msgbox.h"
#include "ui_msgbox.h"
#include <QFile>
#include "IcoHelper/iconhelper.h"
MsgBox::MsgBox(QWidget *parent) :
QDialog(parent),
ui(new Ui::MsgBox)
{
ui->setupUi(this);
this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowMinMaxButtonsHint);
ui->titleWidget->titleInit(tr("Messa... | 19.989362 | 80 | 0.656732 | zlj9328 |
b8e69be951f5164208d9d02ebaacb268b706ac8d | 15,235 | cpp | C++ | XivAlexander/DllMain.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 345 | 2021-02-08T18:11:24.000Z | 2022-03-25T04:01:23.000Z | XivAlexander/DllMain.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 376 | 2021-02-12T07:23:57.000Z | 2022-03-31T00:05:35.000Z | XivAlexander/DllMain.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 65 | 2021-02-12T05:47:14.000Z | 2022-03-25T03:08:23.000Z | #include "pch.h"
#include "DllMain.h"
#include <XivAlexander/XivAlexander.h>
#include <XivAlexanderCommon/Sqex_CommandLine.h>
#include <XivAlexanderCommon/Utils_Win32_Resource.h>
#include "App_ConfigRepository.h"
#include "App_Misc_CrashMessageBoxHandler.h"
#include "App_Misc_Hooks.h"
#include "resource.h"
#include ... | 34.468326 | 155 | 0.732786 | retaker |
b8ef53d018ada334c7544a312ed605acf81a60f1 | 754 | cpp | C++ | Ch 6 Strings/AdHoc/uva-644-StringComparision.cpp | sladewinter/UVa-Online-Judge | 3e8003e8ae5452eed1468be44ae5d7bbcc763dd1 | [
"MIT"
] | null | null | null | Ch 6 Strings/AdHoc/uva-644-StringComparision.cpp | sladewinter/UVa-Online-Judge | 3e8003e8ae5452eed1468be44ae5d7bbcc763dd1 | [
"MIT"
] | null | null | null | Ch 6 Strings/AdHoc/uva-644-StringComparision.cpp | sladewinter/UVa-Online-Judge | 3e8003e8ae5452eed1468be44ae5d7bbcc763dd1 | [
"MIT"
] | null | null | null | //UVa - 644 - Immediate Decodability
//String Comparison
#include <iostream>
#include <string>
#include <vector>
#include <cstring>
using namespace std;
int main()
{
string record;
vector<string> records;
int setNo{0};
while( cin >> record )
{
if( record == "9" )
{
bool dec{ true };
int len{ (int)reco... | 17.952381 | 52 | 0.539788 | sladewinter |
b8f056be97f012eb1f4490952eacc12645284e97 | 1,996 | cpp | C++ | libs/numeric/odeint/test/split.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | libs/numeric/odeint/test/split.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | libs/numeric/odeint/test/split.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /*
[auto_generated]
libs/numeric/odeint/test/split.cpp
[begin_description]
Test the range split.
[end_description]
Copyright 2013 Karsten Ahnert
Copyright 2013 Mario Mulansky
Copyright 2013 Pascal Germroth
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or
... | 28.927536 | 100 | 0.666333 | cpp-pm |
b8f068d080010d962eff273b1335cce790668fb8 | 9,027 | cpp | C++ | libOTe/Tools/LinearCode.cpp | namasikanam/MultipartyPSI | 57fed04b6cb86b88eeede6f7fb50e9ccd3f84528 | [
"Unlicense"
] | 44 | 2017-10-18T07:46:17.000Z | 2022-02-22T08:14:57.000Z | libOTe/Tools/LinearCode.cpp | namasikanam/MultipartyPSI | 57fed04b6cb86b88eeede6f7fb50e9ccd3f84528 | [
"Unlicense"
] | 8 | 2019-01-22T14:31:06.000Z | 2021-11-08T09:54:33.000Z | libOTe/Tools/LinearCode.cpp | namasikanam/MultipartyPSI | 57fed04b6cb86b88eeede6f7fb50e9ccd3f84528 | [
"Unlicense"
] | 20 | 2017-09-25T03:04:58.000Z | 2022-03-30T11:55:55.000Z | #include "LinearCode.h"
#include <fstream>
#include "Common/BitVector.h"
#include "Common/Log.h"
#define BITSET
#include <bitset>
#include "Common/MatrixView.h"
namespace osuCrypto
{
LinearCode::LinearCode()
{
}
LinearCode::~LinearCode()
{
}
LinearCode::LinearCode(const LinearCode &cp)
... | 27.690184 | 103 | 0.453528 | namasikanam |
b8f651086911fc788a2ca38c79f4f049ca22a645 | 14,426 | cc | C++ | src/groupservice/group_server.cc | epfl-labos/paris | 1578b970b2486dab8f41222da1a53d12de32a50d | [
"Apache-2.0"
] | 2 | 2020-08-06T12:37:04.000Z | 2021-12-04T08:25:50.000Z | src/groupservice/group_server.cc | epfl-labos/paris | 1578b970b2486dab8f41222da1a53d12de32a50d | [
"Apache-2.0"
] | null | null | null | src/groupservice/group_server.cc | epfl-labos/paris | 1578b970b2486dab8f41222da1a53d12de32a50d | [
"Apache-2.0"
] | null | null | null | #include "groupservice/group_server.h"
#include "common/exceptions.h"
#include "common/sys_logger.h"
#include "rpc/rpc_server.h"
#include "rpc/rpc_id.h"
#include <unistd.h>
namespace scc {
GroupServer::GroupServer(unsigned short port, int numPartitions, int numDCs, int replicationFactor)
: _serverPort... | 40.63662 | 120 | 0.481422 | epfl-labos |
b8f7e5fa5d687eac4bfceca514391ac8b42c9151 | 671 | hpp | C++ | include/experimental/fundamental/v3/strong/initializer_tags.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 105 | 2015-01-24T13:26:41.000Z | 2022-02-18T15:36:53.000Z | include/experimental/fundamental/v3/strong/initializer_tags.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 37 | 2015-09-04T06:57:10.000Z | 2021-09-09T18:01:44.000Z | include/experimental/fundamental/v3/strong/initializer_tags.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 23 | 2015-01-27T11:09:18.000Z | 2021-10-04T02:23:30.000Z | // Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Copyright (C) 2017 Vicente J. Botet Escriba
#error
#ifndef JASEL_FUNDAMENTAL_V3_STRONG_INITIALIZER_TAGS_HPP
#define JASEL_FUNDAMENTAL_V3_STRONG_INITIALIZER_TA... | 20.96875 | 66 | 0.76304 | jwakely |
b8f8496b15af8546ec2b37abb675962d90aefdad | 190 | cpp | C++ | main.cpp | CrafterKolyan/sandbox | ebcec01bf71afddc13a96cd34714bae227731941 | [
"MIT"
] | null | null | null | main.cpp | CrafterKolyan/sandbox | ebcec01bf71afddc13a96cd34714bae227731941 | [
"MIT"
] | null | null | null | main.cpp | CrafterKolyan/sandbox | ebcec01bf71afddc13a96cd34714bae227731941 | [
"MIT"
] | null | null | null | #include <unistd.h>
#include <sys/syscall.h>
const char message[] = "Hello CrafterKolyan!\n";
int main() {
syscall(SYS_write, STDOUT_FILENO, message, sizeof(message) - 1);
return 0;
}
| 19 | 66 | 0.689474 | CrafterKolyan |
b8f892c9c1e8a7f65b27ccc016ae05e581cd3968 | 225 | cpp | C++ | src/ol/events/EventTarget.cpp | yyk99/olqt | 9efbee3c4169a4429dc5c0939cd5c65f52ea6028 | [
"Apache-2.0"
] | null | null | null | src/ol/events/EventTarget.cpp | yyk99/olqt | 9efbee3c4169a4429dc5c0939cd5c65f52ea6028 | [
"Apache-2.0"
] | null | null | null | src/ol/events/EventTarget.cpp | yyk99/olqt | 9efbee3c4169a4429dc5c0939cd5c65f52ea6028 | [
"Apache-2.0"
] | null | null | null | //
//
//
#include <ol/events/EventTarget.h>
ol::events::EventTarget::EventTarget()
{
}
ol::events::EventTarget::~EventTarget()
{
dispose();
}
void ol::events::EventTarget::disposeInternal()
{
// TODO: implement
}
| 11.25 | 47 | 0.644444 | yyk99 |
b8fde86455501b8a86505c5124412573369c7132 | 10,314 | cpp | C++ | OpenGL-Laboratory/Src/GLCore/Core/TestsLayerManager.cpp | ishanshLal-tRED/OpenGL-TestSite | 6887725e0c268f9949050547578509e06be83eae | [
"Apache-2.0"
] | null | null | null | OpenGL-Laboratory/Src/GLCore/Core/TestsLayerManager.cpp | ishanshLal-tRED/OpenGL-TestSite | 6887725e0c268f9949050547578509e06be83eae | [
"Apache-2.0"
] | null | null | null | OpenGL-Laboratory/Src/GLCore/Core/TestsLayerManager.cpp | ishanshLal-tRED/OpenGL-TestSite | 6887725e0c268f9949050547578509e06be83eae | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "GLCore/Core/TestBase.h"
#include "GLCore/Util/Core/Framebuffer.h"
#include "TestsLayerManager.h"
#include "GLCore/Core/Application.h"
#include "imgui/imgui.h"
#include "imgui/imgui_internal.h"
namespace GLCore
{
TestsLayerManager::~TestsLayerManager ()
{
for (uint16_t i = 0; i < g_MaxN... | 33.927632 | 269 | 0.69013 | ishanshLal-tRED |
77010dc7ba5e807ff564fa50011c17027bffae8c | 15,701 | cpp | C++ | U-SPRING/solver_heur.cpp | CN-UPB/SPRING | 1cb74919689e832987cb2c9b490eec7f09a64f52 | [
"Apache-2.0"
] | 3 | 2019-09-27T08:07:11.000Z | 2021-11-19T11:27:39.000Z | U-SPRING/solver_heur.cpp | CN-UPB/SPRING | 1cb74919689e832987cb2c9b490eec7f09a64f52 | [
"Apache-2.0"
] | null | null | null | U-SPRING/solver_heur.cpp | CN-UPB/SPRING | 1cb74919689e832987cb2c9b490eec7f09a64f52 | [
"Apache-2.0"
] | null | null | null | #include <queue>
//#include <limits>
#include <algorithm>
#include "solver_heur.h"
#include "state.h"
#include "util.h"
#include "substrate.h"
#include "log.h"
#include "statistics.h"
namespace SolverHeur
{
std::map<Link*,double> used_bw;
std::map<Node*,double> used_cpu;
std::map<Node*,double> used_mem;
void comput... | 27.449301 | 224 | 0.661678 | CN-UPB |
770384cb1e9a934299b71b68f4a4acd0af3e0a2c | 9,170 | cpp | C++ | SOURCES/sim/aircraft/ins.cpp | IsraelyFlightSimulator/Negev-Storm | 86de63e195577339f6e4a94198bedd31833a8be8 | [
"Unlicense"
] | 1 | 2021-02-19T06:06:31.000Z | 2021-02-19T06:06:31.000Z | src/sim/aircraft/ins.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | null | null | null | src/sim/aircraft/ins.cpp | markbb1957/FFalconSource | 07b12e2c41a93fa3a95b912a2433a8056de5bc4d | [
"BSD-2-Clause"
] | 2 | 2019-08-20T13:35:13.000Z | 2021-04-24T07:32:04.000Z | #include "stdhdr.h"
#include "aircrft.h"
#include "fack.h"
#include "airframe.h"
#include "otwdrive.h"
#include "cpmanager.h"
#include "phyconst.h"
#include "flightData.h"
#include "navsystem.h"
void AircraftClass::RunINS(void)
{
if(INSAlign && INSState(INS_AlignNorm) || INSState(INS_AlignFlight))
{
if((OnGroun... | 26.57971 | 136 | 0.726718 | IsraelyFlightSimulator |
7705dedcc564861937bf04728ac1ba619966db65 | 4,386 | cpp | C++ | Source/Framework/Core/Material/TeShaderVariation.cpp | GameDevery/TweedeFrameworkRedux | 69a28fe171db33d00066b97b9b6bf89f6ef3e3a4 | [
"MIT"
] | 14 | 2022-02-25T15:52:35.000Z | 2022-03-30T18:44:29.000Z | Source/Framework/Core/Material/TeShaderVariation.cpp | GameDevery/TweedeFrameworkRedux | 69a28fe171db33d00066b97b9b6bf89f6ef3e3a4 | [
"MIT"
] | null | null | null | Source/Framework/Core/Material/TeShaderVariation.cpp | GameDevery/TweedeFrameworkRedux | 69a28fe171db33d00066b97b9b6bf89f6ef3e3a4 | [
"MIT"
] | 1 | 2022-02-28T09:24:05.000Z | 2022-02-28T09:24:05.000Z | #include "TeShaderVariation.h"
namespace te
{
void ShaderDefines::Set(const String& name, float value)
{
_defines[name] = ToString(value);
}
void ShaderDefines::Set(const String& name, INT32 value)
{
_defines[name] = ToString(value);
}
void ShaderDefines::Set(const String&... | 24.366667 | 81 | 0.544688 | GameDevery |
7706c54d3abcbe4973f64b5b51e748082c0c17d3 | 1,402 | cpp | C++ | References/Competitive Programming 3/ch8/UVa11065.cpp | eashwaranRaghu/Data-Structures-and-Algorithms | 3aad0f1da3d95b572fbb1950c770198bd042a80f | [
"MIT"
] | 6 | 2020-01-29T14:05:56.000Z | 2021-04-24T04:37:27.000Z | References/Competitive Programming 3/ch8/UVa11065.cpp | eashwaranRaghu/Data-Structures-and-Algorithms | 3aad0f1da3d95b572fbb1950c770198bd042a80f | [
"MIT"
] | null | null | null | References/Competitive Programming 3/ch8/UVa11065.cpp | eashwaranRaghu/Data-Structures-and-Algorithms | 3aad0f1da3d95b572fbb1950c770198bd042a80f | [
"MIT"
] | 1 | 2020-05-22T06:37:20.000Z | 2020-05-22T06:37:20.000Z | // Gentlemen Agreement
#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for (int i=(a),_b=(b); i<=_b; i++)
#define FORD(i,a,b) for (int i=(a),_b=(b); i>=_b; i--)
#define REP(i,n) for (int i=0,_n=(n); i<_n; i++)
#define MAXI 62
long long AM[MAXI], dpcon[MAXI];
int V, E, nS, mxS;
void backtracking(int... | 28.04 | 75 | 0.470756 | eashwaranRaghu |
7708fee21b6b49a14aac39450166e5a14736cfd9 | 6,472 | cpp | C++ | hikyuu_cpp/hikyuu/data_driver/kdata/mysql/MySQLKDataDriver.cpp | scanfyu/hikyuu | 55265de4d8d4773391f2dcd1211acec9fe901f53 | [
"MIT"
] | null | null | null | hikyuu_cpp/hikyuu/data_driver/kdata/mysql/MySQLKDataDriver.cpp | scanfyu/hikyuu | 55265de4d8d4773391f2dcd1211acec9fe901f53 | [
"MIT"
] | null | null | null | hikyuu_cpp/hikyuu/data_driver/kdata/mysql/MySQLKDataDriver.cpp | scanfyu/hikyuu | 55265de4d8d4773391f2dcd1211acec9fe901f53 | [
"MIT"
] | null | null | null | /*
* MySQLKDataDriverImp.cpp
*
* Created on: 2014年9月3日
* Author: fasiondog
*/
#include <boost/lexical_cast.hpp>
#include "../../../Log.h"
#include "MySQLKDataDriver.h"
#include "KRecordTable.h"
namespace hku {
MySQLKDataDriver::MySQLKDataDriver() : KDataDriver("mysql"), m_pool(nullptr) {}
MySQLKDataDrive... | 35.173913 | 100 | 0.557942 | scanfyu |
7709c68620d96fa7b37301a97c8354df9a6573a2 | 373 | cpp | C++ | Lecture_Learning/3/1_divisible.cpp | Swapnil-Singh-99/CPP-DSA-Apni-Kaksha | e31d2b4926a3fba7ebeff07419e1ded68c8c73f7 | [
"MIT"
] | 1 | 2021-10-11T02:55:05.000Z | 2021-10-11T02:55:05.000Z | Lecture_Learning/3/1_divisible.cpp | Swapnil-Singh-99/CPP-DSA-Apni-Kaksha | e31d2b4926a3fba7ebeff07419e1ded68c8c73f7 | [
"MIT"
] | null | null | null | Lecture_Learning/3/1_divisible.cpp | Swapnil-Singh-99/CPP-DSA-Apni-Kaksha | e31d2b4926a3fba7ebeff07419e1ded68c8c73f7 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
// continue - it is used to go to the next iteration of the loop
// break - it is used to break the loop means stop the loop and get out of it
int main(){
// here the numbers divisible by 3 will not get printed
for(int i = 0 ; i<=100 ; i++){
if(i%3==0){
... | 26.642857 | 77 | 0.589812 | Swapnil-Singh-99 |
77114e5446845b4defbd35281398a6c0621021ee | 1,704 | cpp | C++ | src/interfaces/tui-napalm/main.cpp | Helios-vmg/napalm | 15f61c742a4488304583865f35cb286e777112fe | [
"BSD-2-Clause"
] | null | null | null | src/interfaces/tui-napalm/main.cpp | Helios-vmg/napalm | 15f61c742a4488304583865f35cb286e777112fe | [
"BSD-2-Clause"
] | null | null | null | src/interfaces/tui-napalm/main.cpp | Helios-vmg/napalm | 15f61c742a4488304583865f35cb286e777112fe | [
"BSD-2-Clause"
] | null | null | null | #include <curses.h>
#include <Player.h>
class Curses{
public:
Curses(){
initscr();
start_color();
use_default_colors();
keypad(stdscr, true);
noecho();
}
~Curses(){
endwin();
}
} curses;
const short selected = 2;
const short unselected = 1;
void f(){
auto window = newwin(10, 20,... | 19.586207 | 44 | 0.555751 | Helios-vmg |
77154f70b779066afdeef02acd84a4fde2a44736 | 462 | cc | C++ | stapl_release/benchmarks/kripke/stapled/Cell.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/benchmarks/kripke/stapled/Cell.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/benchmarks/kripke/stapled/Cell.cc | 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... | 25.666667 | 74 | 0.74026 | parasol-ppl |
7716712cd240d04a5ca444d2f67c6a09e6404c58 | 13,834 | cpp | C++ | cwhttp/HttpClient.cpp | hssaaannnn/cwhttp | 8faedb45971ab85279987f7fbb0db5ce63d9b401 | [
"MIT"
] | null | null | null | cwhttp/HttpClient.cpp | hssaaannnn/cwhttp | 8faedb45971ab85279987f7fbb0db5ce63d9b401 | [
"MIT"
] | null | null | null | cwhttp/HttpClient.cpp | hssaaannnn/cwhttp | 8faedb45971ab85279987f7fbb0db5ce63d9b401 | [
"MIT"
] | 1 | 2019-04-16T12:58:35.000Z | 2019-04-16T12:58:35.000Z |
#include <curl/curl.h>
#include "HttpClient.h"
#include "ScopedCurl.h"
#include "Method.h"
#include "Request.h"
#include "Response.h"
#include "ScopedSList.h"
#include "StringUtils.h"
#include "Header.h"
#include "Logger.h"
#include "Cookie.h"
#include "CookieJar.h"
#include "HeaderContainer.h"
#include "ResponseBody.... | 34.846348 | 116 | 0.579876 | hssaaannnn |
77174de038c23acc56803595107cf040975399fe | 1,471 | hpp | C++ | lib/heif/Srcs/common/avcconfigurationbox.hpp | anzksdk/tifig-by | 17a306b27e6e2dd2992e1c0896312047541f4be0 | [
"Apache-2.0"
] | null | null | null | lib/heif/Srcs/common/avcconfigurationbox.hpp | anzksdk/tifig-by | 17a306b27e6e2dd2992e1c0896312047541f4be0 | [
"Apache-2.0"
] | null | null | null | lib/heif/Srcs/common/avcconfigurationbox.hpp | anzksdk/tifig-by | 17a306b27e6e2dd2992e1c0896312047541f4be0 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2017, Nokia Technologies Ltd.
* All rights reserved.
*
* Licensed under the Nokia High-Efficiency Image File Format (HEIF) License (the "License").
*
* You may not use the High-Efficiency Image File Format except in compliance with the License.
* The License accompanies the software and can be fo... | 31.978261 | 115 | 0.742352 | anzksdk |
7718dd845ba35459ee42529b261dd9df55e2a0cf | 3,162 | hpp | C++ | rusql/mysql/error_checked.hpp | Wassasin/librusql | 207919e5da1e9e49d4c575c81699fcb1d8cd6204 | [
"BSD-3-Clause"
] | 2 | 2018-01-16T18:05:21.000Z | 2021-02-02T05:04:51.000Z | rusql/mysql/error_checked.hpp | Wassasin/librusql | 207919e5da1e9e49d4c575c81699fcb1d8cd6204 | [
"BSD-3-Clause"
] | null | null | null | rusql/mysql/error_checked.hpp | Wassasin/librusql | 207919e5da1e9e49d4c575c81699fcb1d8cd6204 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <stdexcept>
#include <mysql.h>
#include <boost/optional.hpp>
namespace rusql { namespace mysql {
struct SQLError : std::runtime_error {
SQLError(std::string msg)
: std::runtime_error(msg)
{}
SQLError(std::string const & function, std::string const & s)
: std::runtime_error(functi... | 27.025641 | 108 | 0.751423 | Wassasin |