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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d7c92142604f62e5fd6bd3eef052833313fcabe | 1,575 | cpp | C++ | hackerrank/30.days.of.code.2016.01/18/main.cpp | seirion/code | 3b8bf79764107255185061cec33decbc2235d03a | [
"Apache-2.0"
] | 13 | 2015-06-07T09:26:26.000Z | 2019-05-01T13:23:38.000Z | hackerrank/30.days.of.code.2016.01/18/main.cpp | seirion/code | 3b8bf79764107255185061cec33decbc2235d03a | [
"Apache-2.0"
] | null | null | null | hackerrank/30.days.of.code.2016.01/18/main.cpp | seirion/code | 3b8bf79764107255185061cec33decbc2235d03a | [
"Apache-2.0"
] | 4 | 2016-03-05T06:21:05.000Z | 2017-02-17T15:34:18.000Z | // hackerrank 30 Days of Code
// https://www.hackerrank.com/contests/30-days-of-code/challenges/day-18-queues-stacks
// Day 18: Queues & Stacks!
#include <iostream>
#include <string>
#include <stack>
#include <queue>
using namespace std;
class Palindrome {
public:
Palindrome() {}
void pushCharacter(char c) {... | 21.283784 | 86 | 0.545397 | seirion |
6d80f76dc0278e4c0b9eb70de9b7aac5878be607 | 2,044 | cc | C++ | src/Core/Datatypes/Datatype.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | 2 | 2021-12-17T05:50:44.000Z | 2021-12-22T21:37:32.000Z | src/Core/Datatypes/Datatype.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | null | null | null | src/Core/Datatypes/Datatype.cc | damu1000/Uintah | 0c768664c1fe0a80eff2bbbd9b837e27f281f0a5 | [
"MIT"
] | 1 | 2020-11-30T04:46:05.000Z | 2020-11-30T04:46:05.000Z | /*
* The MIT License
*
* Copyright (c) 1997-2020 The University of Utah
*
* 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
* right... | 24.926829 | 79 | 0.734834 | damu1000 |
6d830ba010e89992cb4c6d7857cc90443639665c | 6,091 | cpp | C++ | src/lang/VisualBlocks.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | null | null | null | src/lang/VisualBlocks.cpp | raptoravis/two | 4366fcf8b3072d0233eb8e1e91ac1105194f60f5 | [
"Zlib"
] | null | null | null | src/lang/VisualBlocks.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.
#include <infra/Cpp20.h>
#ifdef TWO_MODULES
module two.lang;
#else
#include <ty... | 33.103261 | 154 | 0.732885 | raptoravis |
6d841ced44f8ed4ce512ffca9d898fc30825bf86 | 676 | cpp | C++ | samples/01_programming 101/2016/nestedcycles/nestedcycles.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 32 | 2016-11-24T01:40:21.000Z | 2021-11-01T19:24:22.000Z | samples/01_programming 101/2016/nestedcycles/nestedcycles.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 6 | 2016-10-15T05:57:00.000Z | 2021-08-13T12:29:24.000Z | samples/01_programming 101/2016/nestedcycles/nestedcycles.cpp | code-hunger/lecture-notes | 0200c57a4c2539b4d8b7cb172c2b6e4f5c689268 | [
"MIT"
] | 49 | 2016-01-26T13:36:02.000Z | 2022-03-16T10:24:41.000Z | #include <iostream>
using namespace std;
int main ()
{
double doubleM[5][5]={-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1};
cin >> doubleM[0][0];
cin >> doubleM[1][1];
cin >> doubleM[2][2];
cin >> doubleM[3][3];
cin >> doubleM[4][4]... | 17.789474 | 46 | 0.519231 | code-hunger |
6d84c3ce7fb3a332a742716b8b567c901e1e67b3 | 1,848 | hpp | C++ | Nacro/SDK/FN_LobbyTimer_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_LobbyTimer_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_LobbyTimer_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function LobbyTimer.Lo... | 28 | 152 | 0.577922 | Milxnor |
6d880ca248ef03ca9c0d66f9a6da3673c418e3a6 | 2,220 | cpp | C++ | Test_YouTubeVideoEncoderIPC/src/testApp.cpp | HellicarAndLewis/ProjectTimeCone | 8074c202d943c156168b0e550f8615cd350a6d98 | [
"MIT"
] | 3 | 2015-01-17T11:57:10.000Z | 2019-10-25T08:01:28.000Z | Test_YouTubeVideoEncoderIPC/src/testApp.cpp | HellicarAndLewis/ProjectTimeCone | 8074c202d943c156168b0e550f8615cd350a6d98 | [
"MIT"
] | null | null | null | Test_YouTubeVideoEncoderIPC/src/testApp.cpp | HellicarAndLewis/ProjectTimeCone | 8074c202d943c156168b0e550f8615cd350a6d98 | [
"MIT"
] | 1 | 2018-10-19T04:57:29.000Z | 2018-10-19T04:57:29.000Z | #include "testApp.h"
#include <roxlu/core/Log.h>
//--------------------------------------------------------------
void on_video_encoded(VideoEncoderEncodeTask task, void *user) {
testApp* app = static_cast<testApp*>(user);
app->yt.removeInputFrames(task);
}
void on_video_uploaded(YouTubeVideo video, void* user)... | 24.130435 | 64 | 0.414865 | HellicarAndLewis |
6d8812af0739605ea62261bb41987247af800d9c | 6,742 | cc | C++ | chrome/browser/ui/app_list/search/omnibox_result.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/ui/app_list/search/omnibox_result.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/ui/app_list/search/omnibox_result.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.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 "chrome/browser/ui/app_list/search/omnibox_result.h"
#include <stddef.h>
#include "base/strings/string_split.h"
#include "base/strings/utf_stri... | 35.114583 | 79 | 0.722634 | google-ar |
6d89a10fcd8756b6c37a65374296790657a488d3 | 64,107 | cpp | C++ | 0.55.402/graysvr/CChar.cpp | Jhobean/Source-Archive | ab24ba44ffd34c329accedb980699e94c196fceb | [
"Apache-2.0"
] | 2 | 2020-12-22T17:03:14.000Z | 2021-07-31T23:59:05.000Z | 0.55.402/graysvr/CChar.cpp | Jhobean/Source-Archive | ab24ba44ffd34c329accedb980699e94c196fceb | [
"Apache-2.0"
] | null | null | null | 0.55.402/graysvr/CChar.cpp | Jhobean/Source-Archive | ab24ba44ffd34c329accedb980699e94c196fceb | [
"Apache-2.0"
] | 4 | 2021-04-21T19:43:48.000Z | 2021-10-07T00:38:23.000Z | //
// CChar.cpp
// Copyright Menace Software (www.menasoft.com).
// CChar is either an NPC or a Player.
//
#include "graysvr.h" // predef header.
#include "CClient.h"
LPCTSTR const CChar::sm_szTrigName[CTRIG_QTY+1] = // static
{
_TEXT("@AAAUNUSED"),
_TEXT("@Attack"), // I am attacking someone (SRC)
_TEXT("@Call... | 22.541139 | 199 | 0.640944 | Jhobean |
6d8a765baa7362b2798093330359711daa77da74 | 2,630 | cpp | C++ | list/138 CopyListwithRandomPointer.cpp | CoderQuinnYoung/leetcode | 6ea15c68124b16824bab9ed2e0e5a40c72eb3db1 | [
"BSD-3-Clause"
] | null | null | null | list/138 CopyListwithRandomPointer.cpp | CoderQuinnYoung/leetcode | 6ea15c68124b16824bab9ed2e0e5a40c72eb3db1 | [
"BSD-3-Clause"
] | null | null | null | list/138 CopyListwithRandomPointer.cpp | CoderQuinnYoung/leetcode | 6ea15c68124b16824bab9ed2e0e5a40c72eb3db1 | [
"BSD-3-Clause"
] | null | null | null | //
// Copy List with Random Pointer.cpp
// Leetcode
//
// Created by Quinn on 2020/7/15.
// Copyright © 2020 Quinn. All rights reserved.
//
#include <stdio.h>
#include <map>
#include <unordered_map>
using namespace std;
// Definition for a Node.
class Node {
public:
int val;
Node* next;
Node* random;
... | 21.735537 | 64 | 0.490875 | CoderQuinnYoung |
6d8a7ab11f9bbc57117082186a83c06a20cb15cf | 3,481 | cpp | C++ | xcore/worker.cpp | DennissimOS/platform_external_libxcam | 97f8476916e67917026de4c6e43c12d2fa1d68c7 | [
"Apache-2.0"
] | 1 | 2022-02-14T09:32:03.000Z | 2022-02-14T09:32:03.000Z | xcore/worker.cpp | DennissimOS/platform_external_libxcam | 97f8476916e67917026de4c6e43c12d2fa1d68c7 | [
"Apache-2.0"
] | null | null | null | xcore/worker.cpp | DennissimOS/platform_external_libxcam | 97f8476916e67917026de4c6e43c12d2fa1d68c7 | [
"Apache-2.0"
] | null | null | null | /*
* worker.cpp - worker implementation
*
* Copyright (c) 2017 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://www.apache.org/licenses/LICENSE-2.0
... | 25.224638 | 103 | 0.669348 | DennissimOS |
6d8b4261bd7dc7fb9d4598f984fa2b17c6d5ff19 | 4,850 | cpp | C++ | 07. Raytracing */Old_version/main.cpp | Hollbrok/Ilab-2020-21 | 819a30dc4485ad874c273e9a01ca4adcf8bb2ea0 | [
"MIT"
] | 3 | 2021-12-06T20:39:29.000Z | 2022-02-04T14:59:33.000Z | 07. Raytracing */Old_version/main.cpp | Hollbrok/Ilab-2020-21 | 819a30dc4485ad874c273e9a01ca4adcf8bb2ea0 | [
"MIT"
] | null | null | null | 07. Raytracing */Old_version/main.cpp | Hollbrok/Ilab-2020-21 | 819a30dc4485ad874c273e9a01ca4adcf8bb2ea0 | [
"MIT"
] | null | null | null | #include "vector.h"
#include "Header.h"
bool UseTxPixel = false;
int main()
{
Vector vec1(1, 1, 1);
Vector vec2(23, -1, 0);
Vector vec3 = vec1 ^ vec2;
Vector vec4 = vec1 - vec2;
PRINT_VEC(vec3);
PRINT_VEC(vec4);
vec1.print();
vec1 += vec2;
vec1.print();
double r = 200;
txCreateWindow(800, 600);
txT... | 24.744898 | 108 | 0.539175 | Hollbrok |
6d8cbb3da1ff9ba3a65716615dfbcc921685175d | 1,492 | cpp | C++ | test/ut/TestCompactionState.cpp | ArkaprabhaChakraborty/milvus-sdk-cpp | 0d8b64fa7680888c4a2baba7363d5370a7195ad2 | [
"Apache-2.0"
] | 9 | 2021-11-11T07:17:51.000Z | 2022-03-22T04:56:24.000Z | test/ut/TestCompactionState.cpp | ArkaprabhaChakraborty/milvus-sdk-cpp | 0d8b64fa7680888c4a2baba7363d5370a7195ad2 | [
"Apache-2.0"
] | 172 | 2021-11-12T03:42:39.000Z | 2022-03-31T07:24:43.000Z | test/ut/TestCompactionState.cpp | ArkaprabhaChakraborty/milvus-sdk-cpp | 0d8b64fa7680888c4a2baba7363d5370a7195ad2 | [
"Apache-2.0"
] | 3 | 2021-11-12T03:50:18.000Z | 2022-03-22T04:56:31.000Z | // Licensed to the LF AI & Data foundation 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 you under the Apache License, Version 2.0 (the
// "License"); you may not use th... | 37.3 | 84 | 0.747989 | ArkaprabhaChakraborty |
6d8cf26ac748bb3c66e42d84333505eeac6836e3 | 1,067 | cpp | C++ | test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/SplineC2XAdoptor.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 55 | 2015-07-28T01:32:58.000Z | 2022-02-27T16:27:46.000Z | test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/SplineC2XAdoptor.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 66 | 2015-06-15T20:38:19.000Z | 2020-08-26T00:11:43.000Z | test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/SplineC2XAdoptor.cpp | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 26 | 2015-10-26T22:11:51.000Z | 2021-03-02T22:09:15.000Z | //////////////////////////////////////////////////////////////////
// (c) Copyright 2012- by Jeongnim Kim and Ken Esler //
//////////////////////////////////////////////////////////////////
/** @file SplineC2XAdoptor.cpp
* instantiate C2X adoptor and its reader.
*/
#include <Configuration.h>
#include <Nume... | 36.793103 | 76 | 0.700094 | JKChenFZ |
6d8e89c686387fcf2dcceae129fe11fc3de109d9 | 3,245 | cpp | C++ | Sources/simdlib/SimdNeonStretchGray2x2.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | 6 | 2017-10-13T04:29:38.000Z | 2018-05-10T13:52:20.000Z | Sources/simdlib/SimdNeonStretchGray2x2.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | Sources/simdlib/SimdNeonStretchGray2x2.cpp | aestesis/Csimd | b333a8bb7e7f2707ed6167badb8002cfe3504bbc | [
"Apache-2.0"
] | null | null | null | /*
* Simd Library (http://ermig1979.github.io/Simd).
*
* Copyright (c) 2011-2017 Yermalayeu Ihar.
*
* 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 with... | 43.266667 | 113 | 0.634206 | aestesis |
6d902353e7eb14530215ac2d514319281e8a8c5c | 2,846 | cpp | C++ | server/src/streams/tests/ServerTestsWriter.cpp | PolyProgrammist/UTBotCpp | 4886622f21c92e3b73daa553008e541be9d82f21 | [
"Apache-2.0"
] | null | null | null | server/src/streams/tests/ServerTestsWriter.cpp | PolyProgrammist/UTBotCpp | 4886622f21c92e3b73daa553008e541be9d82f21 | [
"Apache-2.0"
] | null | null | null | server/src/streams/tests/ServerTestsWriter.cpp | PolyProgrammist/UTBotCpp | 4886622f21c92e3b73daa553008e541be9d82f21 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved.
*/
#include "ServerTestsWriter.h"
#include <utils/FileSystemUtils.h>
void ServerTestsWriter::writeTestsWithProgress(tests::TestsMap &testMap,
std::string const &message,
... | 37.946667 | 95 | 0.601546 | PolyProgrammist |
6d911bd875438a78292b7ffe359707dcd261121b | 2,069 | cpp | C++ | algorithms/0091_decode_ways/solution.cpp | GambuzX/LeetCode | 8cd60debb906579ccb6936a69aaa3cc13d2dce8d | [
"MIT"
] | null | null | null | algorithms/0091_decode_ways/solution.cpp | GambuzX/LeetCode | 8cd60debb906579ccb6936a69aaa3cc13d2dce8d | [
"MIT"
] | null | null | null | algorithms/0091_decode_ways/solution.cpp | GambuzX/LeetCode | 8cd60debb906579ccb6936a69aaa3cc13d2dce8d | [
"MIT"
] | null | null | null | class Solution {
public:
int numDecodings(string s) {
int single = 0;
int mixed = 0;
char prev = s[0];
for (int i = 0; i < s.length(); i++) {
char & c = s[i];
if (i == 0 && c != '0') {
single++;
}
... | 28.342466 | 98 | 0.39101 | GambuzX |
6d9139e3c5860296da18e7907059fbfc9d0aef8c | 6,965 | cpp | C++ | Algorithms on Strings/Suffix tree/non_shared_substring.cpp | OssamaEls/Data-Structures-and-Algorithms | b6affc28a792f577010e666d565ec6cc7f0ecbfa | [
"MIT"
] | null | null | null | Algorithms on Strings/Suffix tree/non_shared_substring.cpp | OssamaEls/Data-Structures-and-Algorithms | b6affc28a792f577010e666d565ec6cc7f0ecbfa | [
"MIT"
] | null | null | null | Algorithms on Strings/Suffix tree/non_shared_substring.cpp | OssamaEls/Data-Structures-and-Algorithms | b6affc28a792f577010e666d565ec6cc7f0ecbfa | [
"MIT"
] | null | null | null | //Input Format.Strings Text1and Text2.
//Constraints. 1 ≤ | Text1 | , | Text2 | ≤ 2 000; strings have equal length(| Text1 | = | Text2 | ), are not equal
//(Text1 ̸ = Text2), and contain symbols A, C, G, T only.
//Output Format.The shortest(non - empty) substring of Text1 that does not appear in Text2. (Multiple
/... | 30.151515 | 115 | 0.429146 | OssamaEls |
6d9263159da41a4bfccf4fcbab5872d4d55df2ff | 1,753 | cpp | C++ | DMOPC/dmopc19c2p3.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | DMOPC/dmopc19c2p3.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | DMOPC/dmopc19c2p3.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define gc getchar_unlocked()
#define pc(x) putchar_unlocked(x)
template<typename T> void scan(T &x){x = 0;register bool _=0;register T c=gc;_=c==45;c=_?gc:c;while(c<48||c>57)c=gc;for(;c<48||c>57;c=gc);for(;c>47&&c<58;c=gc)x=(x<<3)+(x<<1)+(c&15);x=_?-x:x;}
template<typename T> void printn(T... | 28.274194 | 193 | 0.449515 | crackersamdjam |
6d96dd94513c582a06b3c37f57833b675d376547 | 1,849 | hxx | C++ | inetsrv/query/apps/cxxflt/fstrm.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/query/apps/cxxflt/fstrm.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/query/apps/cxxflt/fstrm.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Copyright (C) 1992 - 1994, Microsoft Corporation.
//
// File: fstrm.hxx
//
// Contents: Stream for taking text from IFilter and transporting it to
// the word breaker
//
// Classes: CFilterTextStrea... | 25.680556 | 79 | 0.40941 | npocmaka |
6d96fd64eef0f17ec0bc79358e68bedba427122a | 3,574 | cpp | C++ | ext/objloader.cpp | ChinYing-Li/CUDA-kdtree | aa0aa9d416aa714b0659747156490e8107a07b1a | [
"MIT"
] | 7 | 2021-06-02T03:34:36.000Z | 2022-03-31T06:21:13.000Z | ext/objloader.cpp | ChinYing-Li/CUDA-kdtree | aa0aa9d416aa714b0659747156490e8107a07b1a | [
"MIT"
] | null | null | null | ext/objloader.cpp | ChinYing-Li/CUDA-kdtree | aa0aa9d416aa714b0659747156490e8107a07b1a | [
"MIT"
] | 2 | 2022-02-16T03:18:02.000Z | 2022-03-31T06:22:15.000Z | //OBJCORE- A Obj Mesh Library by Yining Karl Li
//This file is part of OBJCORE, Coyright (c) 2012 Yining Karl Li
#include <iomanip>
#include <sstream>
#include <iostream>
#include <fstream>
#include <string.h>
#include <glm/glm.hpp>
#include "objloader.h"
using namespace std;
objLoader::objLoader(string filename, ... | 27.075758 | 138 | 0.549524 | ChinYing-Li |
6d9910522fcdbf0f304c6ca4f90acf9eb509d99e | 676 | hpp | C++ | tests/relacy/relacy/relacy/relacy_java.hpp | habbyge/concurrentqueue | afb85b755a84246b1690bc81bbb7ab3934dcfb31 | [
"BSD-2-Clause"
] | null | null | null | tests/relacy/relacy/relacy/relacy_java.hpp | habbyge/concurrentqueue | afb85b755a84246b1690bc81bbb7ab3934dcfb31 | [
"BSD-2-Clause"
] | null | null | null | tests/relacy/relacy/relacy/relacy_java.hpp | habbyge/concurrentqueue | afb85b755a84246b1690bc81bbb7ab3934dcfb31 | [
"BSD-2-Clause"
] | null | null | null | /* Relacy Race Detector
* Copyright (c) 2008-2013, Dmitry S. Vyukov
* All rights reserved.
* This software is provided AS-IS with no warranty, either express or implied.
* This software is distributed under a license and may not be copied,
* modified or distributed except as expressly authorized under t... | 24.142857 | 81 | 0.724852 | habbyge |
6d9924a06208b34422676369dbb5715a16f0e7d0 | 830 | hpp | C++ | projects/engine/extern/rendering/opengl/ri_opengl4.hpp | zCubed3/Tilt | e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af | [
"MIT"
] | null | null | null | projects/engine/extern/rendering/opengl/ri_opengl4.hpp | zCubed3/Tilt | e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af | [
"MIT"
] | null | null | null | projects/engine/extern/rendering/opengl/ri_opengl4.hpp | zCubed3/Tilt | e9c68b96eb8dea47b70ba734bc2ef4cffc30a2af | [
"MIT"
] | null | null | null | #ifndef TILT_OPENGL_INTERFACE_HPP
#define TILT_OPENGL_INTERFACE_HPP
#include "../render_interface.hpp"
class RI_OpenGL4 : public RI_Impl {
public:
//
// Metadata
//
const char * get_ApiName() override;
const char * get_Signature() override;
//
// Setup
//
void setup_Initial() over... | 20.75 | 62 | 0.678313 | zCubed3 |
6d9abe0bf8bd4827fc3a7d53cbd28ec73702d748 | 310 | cpp | C++ | src/JumpGameII.cpp | harborn/LeetCode | 8488c0bcf306b8672492fd6220e496e335e2b9fe | [
"MIT"
] | null | null | null | src/JumpGameII.cpp | harborn/LeetCode | 8488c0bcf306b8672492fd6220e496e335e2b9fe | [
"MIT"
] | 1 | 2021-12-14T15:56:11.000Z | 2021-12-14T15:56:11.000Z | src/JumpGameII.cpp | harborn/LeetCode | 8488c0bcf306b8672492fd6220e496e335e2b9fe | [
"MIT"
] | null | null | null |
#include <iostream>
using namespace std;
int jump(int A[], int n) {
int maxPos = 0, lastMaxPos = 0;
int res = 0;
for (int i = 0; i < n; i++) {
if (i > lastMaxPos) {
res++;
lastMaxPos = maxPos;
}
if (i + A[i] > maxPos)
maxPos = i + A[i];
}
return res;
}
int main(void) {
return 0;
}
| 11.923077 | 32 | 0.532258 | harborn |
6d9b5206c1ca53bcdb0d51e417b69f5fd8ecf432 | 8,528 | cpp | C++ | src/Core/Input/InputXML.cpp | tgcy210/cyclus | b9402710be94403d33aa5a9b9aa546cdcca1cb86 | [
"Unlicense"
] | 1 | 2018-07-29T16:10:02.000Z | 2018-07-29T16:10:02.000Z | src/Core/Input/InputXML.cpp | tgcy210/cyclus | b9402710be94403d33aa5a9b9aa546cdcca1cb86 | [
"Unlicense"
] | null | null | null | src/Core/Input/InputXML.cpp | tgcy210/cyclus | b9402710be94403d33aa5a9b9aa546cdcca1cb86 | [
"Unlicense"
] | null | null | null | // InputXML.cpp
// Implements XML input handling class
#include <iostream>
#include <string>
#include <sys/stat.h>
#include "InputXML.h"
#include "Timer.h"
#include "Env.h"
#include "RecipeLibrary.h"
#include "CycException.h"
#include "Model.h"
//#include "Material.h"
#include "Logger.h"
InputXML* InputXML::instance... | 29.006803 | 91 | 0.576923 | tgcy210 |
6d9da3bc285ea7c86bd981949c817d65a5b6c9e5 | 7,980 | cpp | C++ | TerraFighterDev/2DFont.cpp | cjburchell/terrafighter | debc9b7563de05263d9159fbff15407a2dcb0fe9 | [
"Apache-2.0"
] | null | null | null | TerraFighterDev/2DFont.cpp | cjburchell/terrafighter | debc9b7563de05263d9159fbff15407a2dcb0fe9 | [
"Apache-2.0"
] | null | null | null | TerraFighterDev/2DFont.cpp | cjburchell/terrafighter | debc9b7563de05263d9159fbff15407a2dcb0fe9 | [
"Apache-2.0"
] | null | null | null | // 2DFont.cpp: implementation of the C2DFont class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "2DFont.h"
#include "dxutil.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
/////////////////////////////////... | 31.666667 | 168 | 0.629699 | cjburchell |
6d9e9ae225f903da0f3266f456b0ad7c1f3ee6b2 | 7,532 | tcc | C++ | include/DataFrame/Vectors/HeteroPtrView.tcc | wtom76/DataFrame | 5302254fab329310b09d1efcb2e860c71e25b5c3 | [
"BSD-3-Clause"
] | null | null | null | include/DataFrame/Vectors/HeteroPtrView.tcc | wtom76/DataFrame | 5302254fab329310b09d1efcb2e860c71e25b5c3 | [
"BSD-3-Clause"
] | null | null | null | include/DataFrame/Vectors/HeteroPtrView.tcc | wtom76/DataFrame | 5302254fab329310b09d1efcb2e860c71e25b5c3 | [
"BSD-3-Clause"
] | null | null | null | // Hossein Moein
// June 24, 2019
// Copyright (C) 2018-2019 Hossein Moein
// Distributed under the BSD Software License (see file License)
#include <algorithm>
// ----------------------------------------------------------------------------
namespace hmdf
{
template<typename T>
HeteroPtrView::HeteroPtrView(T *begin... | 30.742857 | 79 | 0.471588 | wtom76 |
6d9f26ee8019c57b125422ac1b63b6e590d607e9 | 19,869 | cpp | C++ | third_party/omr/ddr/lib/ddr-ir/Macro.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/ddr/lib/ddr-ir/Macro.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/ddr/lib/ddr-ir/Macro.cpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2015, 2018 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at http://ec... | 22.299663 | 135 | 0.609442 | xiacijie |
6da02d37893ff3aa0535cfe25955cb53af692d44 | 11,794 | hpp | C++ | include/caffe/data_layers.hpp | xiaomi646/caffe_2d_mlabel | 912c92d6f3ba530e1abea79fb1ab2cb34aa5bd65 | [
"BSD-2-Clause"
] | 1 | 2015-07-08T15:30:06.000Z | 2015-07-08T15:30:06.000Z | include/caffe/data_layers.hpp | xiaomi646/caffe_2d_mlabel | 912c92d6f3ba530e1abea79fb1ab2cb34aa5bd65 | [
"BSD-2-Clause"
] | null | null | null | include/caffe/data_layers.hpp | xiaomi646/caffe_2d_mlabel | 912c92d6f3ba530e1abea79fb1ab2cb34aa5bd65 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2014 BVLC and contributors.
#ifndef CAFFE_DATA_LAYERS_HPP_
#define CAFFE_DATA_LAYERS_HPP_
#include <string>
#include <utility>
#include <vector>
#include "leveldb/db.h"
#include "lmdb.h"
#include "pthread.h"
#include "hdf5.h"
#include "boost/scoped_ptr.hpp"
#include "caffe/blob.hpp"
#include "caffe/com... | 33.410765 | 77 | 0.731643 | xiaomi646 |
6da046dd148af47a3beb758c2deddce6f13d940c | 815 | cpp | C++ | libs/core/src/constexpr_for_unittest.cpp | ros2-gbp/mrpt2-release | ca80124f0c9bfccceab425bfd6c36e1ae29c254b | [
"BSD-3-Clause"
] | null | null | null | libs/core/src/constexpr_for_unittest.cpp | ros2-gbp/mrpt2-release | ca80124f0c9bfccceab425bfd6c36e1ae29c254b | [
"BSD-3-Clause"
] | null | null | null | libs/core/src/constexpr_for_unittest.cpp | ros2-gbp/mrpt2-release | ca80124f0c9bfccceab425bfd6c36e1ae29c254b | [
"BSD-3-Clause"
] | 1 | 2020-12-30T14:06:37.000Z | 2020-12-30T14:06:37.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | 42.894737 | 80 | 0.377914 | ros2-gbp |
6da09a04593bd6e18afd7ad1b3f79b8d5d0e9e27 | 3,261 | hpp | C++ | xlib/include/Host/Classes/impl/Collection.i.hpp | divyegala/hornet | 7c4cbc3b9a56ce208e35d7733aeeda18d0c9ff93 | [
"BSD-3-Clause"
] | 61 | 2017-10-09T01:26:35.000Z | 2022-03-18T12:39:18.000Z | xlib/include/Host/Classes/impl/Collection.i.hpp | divyegala/hornet | 7c4cbc3b9a56ce208e35d7733aeeda18d0c9ff93 | [
"BSD-3-Clause"
] | 37 | 2017-10-18T14:01:57.000Z | 2022-02-18T18:23:30.000Z | xlib/include/Host/Classes/impl/Collection.i.hpp | divyegala/hornet | 7c4cbc3b9a56ce208e35d7733aeeda18d0c9ff93 | [
"BSD-3-Clause"
] | 32 | 2017-10-11T15:33:01.000Z | 2020-12-11T17:41:19.000Z | /*------------------------------------------------------------------------------
Copyright © 2016 by Nicola Bombieri
XLib is provided under the terms of 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 "Softwar... | 32.287129 | 80 | 0.681079 | divyegala |
6da5cde680606e912901fc8ffe79da6cba576d61 | 12,225 | cpp | C++ | 3rdparty/opencl-miner/ufoStratum.cpp | XziimP/ufochain | d6cda5b6df82c7ef662a780dc8b918c1ca7f9d4c | [
"MIT"
] | 38 | 2020-02-16T02:06:50.000Z | 2021-07-14T04:49:10.000Z | 3rdparty/opencl-miner/ufoStratum.cpp | XziimP/ufochain | d6cda5b6df82c7ef662a780dc8b918c1ca7f9d4c | [
"MIT"
] | 21 | 2020-03-02T08:33:12.000Z | 2020-05-26T04:07:25.000Z | 3rdparty/opencl-miner/ufoStratum.cpp | XziimP/ufochain | d6cda5b6df82c7ef662a780dc8b918c1ca7f9d4c | [
"MIT"
] | 12 | 2020-01-16T09:32:53.000Z | 2021-04-16T15:54:18.000Z | // UFO OpenCL Miner
// Stratum interface class
// Copyright 2018 The Ufo Team
// Copyright 2018 Wilke Trei
#include "ufoStratum.h"
#include "crypto/sha256.c"
namespace ufoMiner {
// This one ensures that the calling thread can work on immediately
void ufoStratum::queueDataSend(string data) {
io_service.post(boost... | 30.5625 | 148 | 0.657505 | XziimP |
6da6c0786a858908f202e2121dbade02ba7e3d99 | 9,683 | cxx | C++ | panda/src/particlesystem/pointParticleRenderer.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/particlesystem/pointParticleRenderer.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/particlesystem/pointParticleRenderer.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: pointParticleRenderer.cxx
// Created by: charles (20Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license... | 29.793846 | 86 | 0.553031 | kestred |
6da7e37985d3e5963e1d08df117678e856e26180 | 40,587 | cc | C++ | ppapi/tests/test_url_loader.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ppapi/tests/test_url_loader.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | ppapi/tests/test_url_loader.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ppapi/tests/test_url_loader.h"
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <string>
#include "ppapi/c/pp_errors.h"... | 37.476454 | 80 | 0.717865 | zealoussnow |
6da8e81c069b82cab547e818fb4212f135ae64d6 | 436 | cpp | C++ | strings/redundantBraces.cpp | archit-1997/InterviewB | 6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7 | [
"MIT"
] | 1 | 2021-01-27T16:37:38.000Z | 2021-01-27T16:37:38.000Z | strings/redundantBraces.cpp | archit-1997/InterviewBit | 6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7 | [
"MIT"
] | null | null | null | strings/redundantBraces.cpp | archit-1997/InterviewBit | 6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7 | [
"MIT"
] | null | null | null | int Solution::braces(string A) {
stack<char> s;
auto size = A.length();
int i = 0;
while (i < size) {
char c = A[i];
if (c == '(' || c == '+' || c == '*' || c == '-' || c == '/') {
s.push(c);
} else if (c == ')') {
if (s.top() == '(') {
return 1;
} else {
while (!s.... | 18.956522 | 67 | 0.318807 | archit-1997 |
6daa4405b73dd27f6ee58ee2fe4f85eec3d77061 | 4,284 | hh | C++ | src/util/logging.hh | evanacox/cascade | 3b337c465bff91e4987fb6f738a03a82d07b97cc | [
"Apache-2.0"
] | null | null | null | src/util/logging.hh | evanacox/cascade | 3b337c465bff91e4987fb6f738a03a82d07b97cc | [
"Apache-2.0"
] | null | null | null | src/util/logging.hh | evanacox/cascade | 3b337c465bff91e4987fb6f738a03a82d07b97cc | [
"Apache-2.0"
] | null | null | null | /*---------------------------------------------------------------------------*
*
* Copyright 2020 Evan Cox
*
* 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/... | 28.184211 | 100 | 0.598039 | evanacox |
6dabebaa89d1fef8048aa64ac96b4ae0cf2435f6 | 1,332 | cpp | C++ | Soomla/domain/CCVirtualItem.cpp | asmodehn/cocos2dx-store | fd5fad59e61d45991a64cd38f18671e2221f7457 | [
"MIT"
] | null | null | null | Soomla/domain/CCVirtualItem.cpp | asmodehn/cocos2dx-store | fd5fad59e61d45991a64cd38f18671e2221f7457 | [
"MIT"
] | null | null | null | Soomla/domain/CCVirtualItem.cpp | asmodehn/cocos2dx-store | fd5fad59e61d45991a64cd38f18671e2221f7457 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2012-2014 Soomla 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 writing... | 28.956522 | 126 | 0.688438 | asmodehn |
6dac5ff82bf4b37b5e025115550f72ef1ea12dbd | 878 | cpp | C++ | source/gameplay/Character.cpp | erwan-simon/Zappy-server | 5c1aa08112aec82242417dc22192964904a03ce4 | [
"MIT"
] | null | null | null | source/gameplay/Character.cpp | erwan-simon/Zappy-server | 5c1aa08112aec82242417dc22192964904a03ce4 | [
"MIT"
] | null | null | null | source/gameplay/Character.cpp | erwan-simon/Zappy-server | 5c1aa08112aec82242417dc22192964904a03ce4 | [
"MIT"
] | null | null | null | #include "Map.h"
#include "Character.h"
Character::Character(int id, Map &map) :
id(id), map(map)
{
}
int Character::GetId() const
{
return (this->id);
}
const int* Character::GetLocation() const
{
return (this->location);
}
void Character::Setlocation(int x, int y)
{
location[0] = x;
location[... | 15.137931 | 56 | 0.609339 | erwan-simon |
6dae3a9d521893b398723a9468e31178c9611df7 | 3,187 | hpp | C++ | ext/include/range/v3/utility/semiregular.hpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | 11 | 2018-01-12T18:29:59.000Z | 2022-01-22T21:50:56.000Z | ext/include/range/v3/utility/semiregular.hpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | 15 | 2017-12-19T11:10:41.000Z | 2018-02-13T10:46:13.000Z | ext/include/range/v3/utility/semiregular.hpp | eletesta/cirkit | 6d0939798ea25cecf92306ce796be154139b94f5 | [
"MIT"
] | 1 | 2021-01-08T13:17:16.000Z | 2021-01-08T13:17:16.000Z | /// \file
// Range v3 library
//
// Copyright Eric Niebler 2013-2014
//
// Use, modification and distribution is subject to 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)
//
// Project home: https://github.com/ericniebler/ra... | 26.338843 | 94 | 0.465955 | eletesta |
6daf53c4d1fa945024104b68a735f7768bd3c413 | 9,286 | cc | C++ | src/envoy/tcp/sni_verifier/sni_verifier_test.cc | jwendell/proxy-1 | f08992a94f84cb34cc70d62033f618083ba2a267 | [
"Apache-2.0"
] | 1 | 2021-03-02T17:18:11.000Z | 2021-03-02T17:18:11.000Z | src/envoy/tcp/sni_verifier/sni_verifier_test.cc | jwendell/proxy-1 | f08992a94f84cb34cc70d62033f618083ba2a267 | [
"Apache-2.0"
] | null | null | null | src/envoy/tcp/sni_verifier/sni_verifier_test.cc | jwendell/proxy-1 | f08992a94f84cb34cc70d62033f618083ba2a267 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2018 Istio 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 applicab... | 39.514894 | 79 | 0.712147 | jwendell |
6daf5f6f42a2749c5d7f78cc9186486563fb7282 | 4,356 | cpp | C++ | src/managers/keys.cpp | BerilBBJ/beryldb | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 206 | 2021-04-27T21:44:24.000Z | 2022-02-23T12:01:20.000Z | src/managers/keys.cpp | BerilBBJ/beryldb | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 10 | 2021-05-04T19:46:59.000Z | 2021-10-01T23:43:07.000Z | src/managers/keys.cpp | berylcorp/beryl | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 7 | 2021-04-28T16:17:56.000Z | 2021-12-10T01:14:42.000Z | /*
* BerylDB - A lightweight database.
* http://www.beryldb.com
*
* Copyright (C) 2021 - Carlos F. Ferry <cferry@beryldb.com>
*
* This file is part of BerylDB. BerylDB is free software: you can
* redistribute it and/or modify it under the terms of the BSD License
* version 3.
*
* More information about our l... | 32.029412 | 173 | 0.652893 | BerilBBJ |
6db098004a6bfc479175022e182c8676d3d42ba8 | 2,662 | hpp | C++ | ScrPlayer/Decoder.hpp | darrennong/scrcpy | 1f205369d8af6133f6787c7c9314f8885c353c6f | [
"Apache-2.0"
] | null | null | null | ScrPlayer/Decoder.hpp | darrennong/scrcpy | 1f205369d8af6133f6787c7c9314f8885c353c6f | [
"Apache-2.0"
] | null | null | null | ScrPlayer/Decoder.hpp | darrennong/scrcpy | 1f205369d8af6133f6787c7c9314f8885c353c6f | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "ScrPlayer.h"
#include <libavformat/avformat.h>
#include <libavutil/time.h>
#include "compat.h"
#include "events.h"
#include "videoBuffer.hpp"
#include "util/buffer_util.h"
#include "util/log.h"
#define EVENT_NEW_SESSION SDL_USEREVENT
#define EVENT_NEW_FRAME (SDL_USEREVENT + 1)
#define ... | 28.623656 | 107 | 0.581142 | darrennong |
6db36bf248c4e9af168fdd1ffd4894219327bc1c | 1,303 | cpp | C++ | equalize.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | equalize.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | equalize.cpp | mtctr/ufrn-pdi | 55c2de9d6ad574d50d05b864b85acf253c4048cf | [
"MIT"
] | null | null | null | #include <iostream>
#include <opencv2/opencv.hpp>
using namespace cv;
using namespace std;
int main(int argc, char** argv){
Mat image, equalized;
int width, height;
vector<Mat> planes;
Mat hist;
int nbins = 256;
float range[] = {0, 256};
const float *histrange = { range };
bool uniform = true;
bool ... | 22.465517 | 82 | 0.61627 | mtctr |
6db525b75faa030be158a6e8ac0243339407d5ab | 867 | cc | C++ | gpu/demos/gles2_book/demo_simple_texture_cubemap.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | gpu/demos/gles2_book/demo_simple_texture_cubemap.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | gpu/demos/gles2_book/demo_simple_texture_cubemap.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2010 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.
// This is a simple example that draws a sphere with a cubemap image applied.
#include "gpu/demos/framework/demo_factory.h"
#include "gpu/demos/gles2... | 26.272727 | 89 | 0.748558 | Scopetta197 |
6db58c6305fe9f380f7ab588f0a7d771fadab903 | 5,964 | cpp | C++ | vbox/src/VBox/Runtime/r3/win/alloc-win.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Runtime/r3/win/alloc-win.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Runtime/r3/win/alloc-win.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | /* $Id: alloc-win.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */
/** @file
* IPRT - Memory Allocation, Windows.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can red... | 28.535885 | 130 | 0.598424 | Nurzamal |
6db690ee60364436c175690f01d1ec4ccfb8d611 | 61,738 | cpp | C++ | Source/CQOR/math.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/CQOR/math.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/CQOR/math.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | //math.cpp
// Copyright Querysoft Limited 2013
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to use, reproduce, display, distribute,
// execute, and transmit the Software, ... | 22.450182 | 89 | 0.462632 | mfaithfull |
6db98c69314e0e13ee71fbced033b38e07882615 | 1,147 | cpp | C++ | legion/engine/physics/physx/data/physx_wrapper_container.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 2 | 2022-03-08T09:46:17.000Z | 2022-03-28T08:07:05.000Z | legion/engine/physics/physx/data/physx_wrapper_container.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 3 | 2022-03-02T13:49:10.000Z | 2022-03-22T11:54:06.000Z | legion/engine/physics/physx/data/physx_wrapper_container.cpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | null | null | null | #include "physx_wrapper_container.hpp"
namespace legion::physics
{
PhysxInternalWrapper& PhysxWrapperContainer::createPhysxWrapper(physics_component& unregisteredPhysXWrapper)
{
unregisteredPhysXWrapper.physicsComponentID = nextID;
m_wrapperIDSet.insert(nextID);
m_physxWrappers.emplace... | 29.410256 | 112 | 0.665214 | Rythe-Interactive |
6dbae9f7c2946d9c02138867a02ad2e8d9c507d1 | 3,972 | cpp | C++ | rviz_common/src/rviz_common/viewport_mouse_event.cpp | romi2002/rviz | 8b2fcc1838e079d0e365894abd7cfd7b255b8d8b | [
"BSD-3-Clause-Clear"
] | 5 | 2020-01-14T06:45:59.000Z | 2021-03-11T11:22:35.000Z | rviz_common/src/rviz_common/viewport_mouse_event.cpp | romi2002/rviz | 8b2fcc1838e079d0e365894abd7cfd7b255b8d8b | [
"BSD-3-Clause-Clear"
] | 2 | 2019-02-12T21:55:08.000Z | 2019-02-20T01:01:24.000Z | rviz_common/src/rviz_common/viewport_mouse_event.cpp | romi2002/rviz | 8b2fcc1838e079d0e365894abd7cfd7b255b8d8b | [
"BSD-3-Clause-Clear"
] | 9 | 2018-09-09T20:48:17.000Z | 2021-03-11T11:22:52.000Z | /*
* Copyright (c) 2017, Open Source Robotics Foundation, 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
* ... | 30.090909 | 88 | 0.737412 | romi2002 |
6dbd530d2a9f0ff0d8cffedc83ce98938b186dec | 5,488 | cpp | C++ | c++/xml_basics.cpp | jrrpanix/reference | 2d6774ca5aefee8d215279ee552a684a1d6a3906 | [
"MIT"
] | 1 | 2022-01-27T16:21:49.000Z | 2022-01-27T16:21:49.000Z | c++/xml_basics.cpp | jrrpanix/reference | 2d6774ca5aefee8d215279ee552a684a1d6a3906 | [
"MIT"
] | null | null | null | c++/xml_basics.cpp | jrrpanix/reference | 2d6774ca5aefee8d215279ee552a684a1d6a3906 | [
"MIT"
] | null | null | null |
//
// this file shows how to use the basic features of libxml2
//
//
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xinclude.h>
#include <libxml/xpath.h>
#include <libxml/xmlIO.h>
#include <iostream>
#include <vector>
#include <map>
#include <sstream>
#include <string.h>
//--------------------... | 27.857868 | 106 | 0.573251 | jrrpanix |
6dc069553b2ec014238cd034b25e4cd880111ff0 | 1,904 | cpp | C++ | third_party/skia_m76/third_party/externals/angle2/src/tests/compiler_tests/RegenerateStructNames_test.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | 6 | 2018-10-20T10:53:55.000Z | 2021-12-25T07:58:57.000Z | third_party/skia_m76/third_party/externals/angle2/src/tests/compiler_tests/RegenerateStructNames_test.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m76/third_party/externals/angle2/src/tests/compiler_tests/RegenerateStructNames_test.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | 9 | 2018-10-31T03:07:11.000Z | 2021-08-06T08:53:21.000Z | //
// Copyright (c) 2017 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RegenerateStructNames_test.cpp:
// Tests for regenerating struct names.
//
#include "GLSLANG/ShaderLang.h"
#include "angle_gl.h"
#incl... | 25.72973 | 96 | 0.625 | kniefliu |
6dc4289fb1add4053539f99633fd24b5d42fb484 | 392 | cpp | C++ | lintcode/String/145. Lowercase to Uppercase.cpp | yanshengjia/algorithm | 0608d286be9c93d51768d47f21e569c6b0be9cda | [
"MIT"
] | 23 | 2019-08-02T12:02:47.000Z | 2022-03-09T15:24:16.000Z | lintcode/String/145. Lowercase to Uppercase.cpp | yanshengjia/algorithm | 0608d286be9c93d51768d47f21e569c6b0be9cda | [
"MIT"
] | null | null | null | lintcode/String/145. Lowercase to Uppercase.cpp | yanshengjia/algorithm | 0608d286be9c93d51768d47f21e569c6b0be9cda | [
"MIT"
] | 21 | 2019-12-22T04:47:32.000Z | 2021-09-12T14:29:35.000Z | // Author: Shengjia Yan
// Date: 2018-04-08 Sunday
// Email: i@yanshengjia.com
// Time Complexity: O(1)
// Space Complexity: O(1)
class Solution {
public:
/**
* @param character: a character
* @return: a character
*/
char lowercaseToUppercase(char character) {
// write your code here
... | 20.631579 | 47 | 0.591837 | yanshengjia |
6dc4a97c1fae289eba081b444e8f22d9cb96b016 | 7,923 | cpp | C++ | mailbox_base_station/src/RadioManager.cpp | mattheweshleman/mailbox-event-driven-demo | 68775613f7af22d52600b258680ba265578242b8 | [
"Unlicense"
] | 3 | 2018-02-21T18:36:48.000Z | 2020-04-04T04:51:56.000Z | mailbox_base_station/src/RadioManager.cpp | mattheweshleman/mailbox-event-driven-demo | 68775613f7af22d52600b258680ba265578242b8 | [
"Unlicense"
] | null | null | null | mailbox_base_station/src/RadioManager.cpp | mattheweshleman/mailbox-event-driven-demo | 68775613f7af22d52600b258680ba265578242b8 | [
"Unlicense"
] | null | null | null | /*
* RadioManager.cpp
*
* Created on: May 28, 2016
* Author: Matthew Eshleman
*/
#include "RadioManager.h"
#include <cstdint>
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "mbed.h"
#include "sx1276-inAir.h"
#include "myDebug.h"
#include "app_config_data_types.hpp"
#include "radio_setti... | 21.471545 | 85 | 0.654424 | mattheweshleman |
6dc8ac55ddb5fe23723513bc353533eb8a6986e4 | 13,817 | cpp | C++ | thirdparty/physx/PhysXSDK/Source/LowLevelCloth/src/windows/CuFactory.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | thirdparty/physx/PhysXSDK/Source/LowLevelCloth/src/windows/CuFactory.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | thirdparty/physx/PhysXSDK/Source/LowLevelCloth/src/windows/CuFactory.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | 34.370647 | 113 | 0.755084 | johndpope |
6dcb3bb53104e64282fa2155530d08e125384b60 | 2,776 | cc | C++ | server/core/test/test_utils.cc | seibert-media/MaxScale | 6c1dc21ca4e3c8dc1828812afeff87894eab817d | [
"MIT"
] | null | null | null | server/core/test/test_utils.cc | seibert-media/MaxScale | 6c1dc21ca4e3c8dc1828812afeff87894eab817d | [
"MIT"
] | null | null | null | server/core/test/test_utils.cc | seibert-media/MaxScale | 6c1dc21ca4e3c8dc1828812afeff87894eab817d | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2016 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2019-07-01
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 21.19084 | 107 | 0.591859 | seibert-media |
6dccbc262e75f989db0c896a1d55e5904751c069 | 4,382 | cpp | C++ | src/GafferScene/PointsType.cpp | danieldresser-ie/gaffer | 78c22487156a5800fcca49a24f52451a8ac0c559 | [
"BSD-3-Clause"
] | 1 | 2016-07-31T09:55:09.000Z | 2016-07-31T09:55:09.000Z | src/GafferScene/PointsType.cpp | Kthulhu/gaffer | 8995d579d07231988abc92c3ac2788c15c8bc75c | [
"BSD-3-Clause"
] | null | null | null | src/GafferScene/PointsType.cpp | Kthulhu/gaffer | 8995d579d07231988abc92c3ac2788c15c8bc75c | [
"BSD-3-Clause"
] | 1 | 2020-02-15T16:15:54.000Z | 2020-02-15T16:15:54.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Image Engine Design 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:
//
// * R... | 30.643357 | 156 | 0.704701 | danieldresser-ie |
6dd15b3fcf648fd857cb5a70bd4dff49e1cb3465 | 1,330 | hpp | C++ | tlib/include/tlib/print.hpp | osstudy/thor-os | 9b5793da647a27d7a6de2e48f6dd39dca0313d2b | [
"BSL-1.0"
] | null | null | null | tlib/include/tlib/print.hpp | osstudy/thor-os | 9b5793da647a27d7a6de2e48f6dd39dca0313d2b | [
"BSL-1.0"
] | null | null | null | tlib/include/tlib/print.hpp | osstudy/thor-os | 9b5793da647a27d7a6de2e48f6dd39dca0313d2b | [
"BSL-1.0"
] | 1 | 2020-02-04T16:36:51.000Z | 2020-02-04T16:36:51.000Z | //=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// 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)
//================================================... | 20.78125 | 73 | 0.658647 | osstudy |
6dd3142759f66b0b5eb6af52307768fab1a3d002 | 113 | hxx | C++ | src/Providers/UNIXProviders/Directory/UNIX_Directory_STUB.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/Directory/UNIX_Directory_STUB.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/Directory/UNIX_Directory_STUB.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_STUB
#ifndef __UNIX_DIRECTORY_PRIVATE_H
#define __UNIX_DIRECTORY_PRIVATE_H
#endif
#endif
| 9.416667 | 34 | 0.831858 | brunolauze |
6dd54260043d8016f283e6e1487c35b4c634129e | 661 | hpp | C++ | src/background/RoadGenerator.hpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | 10 | 2021-08-06T13:07:01.000Z | 2022-02-03T20:28:11.000Z | src/background/RoadGenerator.hpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | 29 | 2021-08-06T12:47:25.000Z | 2022-03-01T13:35:41.000Z | src/background/RoadGenerator.hpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | 10 | 2021-08-06T13:07:03.000Z | 2022-02-09T12:26:52.000Z | #pragma once
#include <SFML/Graphics.hpp>
#include <background/Ground.hpp>
class TextureStore;
class RoadGenerator {
public:
using RoadVec = std::vector<std::vector<bool>>;
using GroundTypeVec = std::vector<std::vector<GroundType>>;
static RoadVec generate();
};
namespace RoadPattern {
enum Pattern {
/* * ... | 15.022727 | 61 | 0.429652 | AgaBuu |
6dd67b7706bb01e6cf2a651e17a06faecc4838f8 | 13,722 | cpp | C++ | dependencies/TinyTest/TinyLib.cpp | bmharper/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | 7 | 2015-12-18T04:17:29.000Z | 2020-03-13T15:38:54.000Z | dependencies/TinyTest/TinyLib.cpp | benharper123/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | null | null | null | dependencies/TinyTest/TinyLib.cpp | benharper123/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | 4 | 2016-09-18T13:16:02.000Z | 2022-03-23T11:33:53.000Z | /*
This file contains the utility functions that are used by testing code.
*/
#ifdef _WIN32
#include <direct.h>
#include <VersionHelpers.h>
#include <tchar.h>
#pragma warning(push) // TinyLib-TOP
#pragma warning(disable: 6387)
#pragma warning(disable: 28204)
#include "StackWalker.h"
#else
#include <unistd.h>
#includ... | 23.781629 | 153 | 0.683865 | bmharper |
6dd704aef7d847fa4387f612abd9ce17ce995973 | 2,848 | cpp | C++ | liblava-extras/liblava-extras/fbx/fbx_loader.cpp | Cons-Cat/lava-fbx | 266a52bc5616abd38a1b72086809521caff41971 | [
"MIT"
] | null | null | null | liblava-extras/liblava-extras/fbx/fbx_loader.cpp | Cons-Cat/lava-fbx | 266a52bc5616abd38a1b72086809521caff41971 | [
"MIT"
] | null | null | null | liblava-extras/liblava-extras/fbx/fbx_loader.cpp | Cons-Cat/lava-fbx | 266a52bc5616abd38a1b72086809521caff41971 | [
"MIT"
] | null | null | null | #include <liblava-extras/fbx/fbx_glm.hpp>
#include <liblava-extras/fbx/fbx_loader.hpp>
namespace lava::extras {
auto load_fbx_scene(lava::name filename) -> ofbx::IScene* {
std::string target_file = filename;
// lava::cdata const file_data = lava::file_data(filename);
// TODO(conscat): Modernize C-style casts.
... | 37.973333 | 79 | 0.625351 | Cons-Cat |
6dd7daf4d05eeb318b118dbd48418e4b4ad53d2b | 10,005 | cc | C++ | mindspore/lite/src/delegate/tensorrt/op/scale_tensorrt.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/tensorrt/op/scale_tensorrt.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/delegate/tensorrt/op/scale_tensorrt.cc | Greatpanc/mindspore_zhb | c2511f7d6815b9232ac4427e27e2c132ed03e0d9 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2021 Huawei Technologies 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... | 42.037815 | 117 | 0.703048 | Greatpanc |
6ddf3846141ca95dfae952ad117e869f3c49bf94 | 1,326 | cpp | C++ | vbox/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | /* $Id: UIDefs.cpp 71428 2018-03-21 13:01:35Z vboxsync $ */
/** @file
* VBox Qt GUI - Global definitions.
*/
/*
* Copyright (C) 2006-2018 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistr... | 34.894737 | 76 | 0.727753 | Nurzamal |
6ddf6156d6075b439a93ac137a6c23e8da335f9b | 1,028 | hpp | C++ | src/ida_cnv_utils.hpp | obaby/ida_key_checker | f31315e0d29d1e02362c3f870245d2d8873271bb | [
"MIT"
] | 1 | 2021-11-19T13:11:56.000Z | 2021-11-19T13:11:56.000Z | src/ida_cnv_utils.hpp | obaby/ida_key_checker | f31315e0d29d1e02362c3f870245d2d8873271bb | [
"MIT"
] | null | null | null | src/ida_cnv_utils.hpp | obaby/ida_key_checker | f31315e0d29d1e02362c3f870245d2d8873271bb | [
"MIT"
] | 1 | 2021-11-19T13:12:00.000Z | 2021-11-19T13:12:00.000Z | /*
* Some conversion utils header
*
* RnD, 2021
*/
#ifdef _MSC_VER
#pragma once
#endif
#ifndef _IDA_CONVERSION_UTILS_HPP_
#define _IDA_CONVERSION_UTILS_HPP_
#include <cstdint>
#include <iostream>
#include <iomanip>
#include <sstream>
#include "ida_license.hpp"
#include "ida_key.hpp"
using namespace std;
namespace... | 20.56 | 69 | 0.724708 | obaby |
6de0021626771d7b428cf23078f5bcf3a5838a0e | 7,072 | cpp | C++ | JEngine/src/Platform/OpenGL/OpenGLShader.cpp | peter-819/JEngine | f4362cdaa5e781e3a973cf84b604bd055b1b3880 | [
"Apache-2.0"
] | 1 | 2020-06-01T05:24:16.000Z | 2020-06-01T05:24:16.000Z | JEngine/src/Platform/OpenGL/OpenGLShader.cpp | peter-819/JEngine | f4362cdaa5e781e3a973cf84b604bd055b1b3880 | [
"Apache-2.0"
] | null | null | null | JEngine/src/Platform/OpenGL/OpenGLShader.cpp | peter-819/JEngine | f4362cdaa5e781e3a973cf84b604bd055b1b3880 | [
"Apache-2.0"
] | null | null | null | #include "JEpch.h"
#include "OpenGLShader.h"
#include "glad/glad.h"
#include "gtc/type_ptr.hpp"
namespace JEngine {
static GLenum ShaderTypeFromString(const std::string& type) {
if (type == "vertex")
return GL_VERTEX_SHADER;
if (type == "fragment" || type == "pixel")
return GL_FRAGMENT_SHADER;
JE_CORE_A... | 33.67619 | 150 | 0.711538 | peter-819 |
6de0a964aa479015f01f1facb00db4ca2b058f26 | 2,136 | cpp | C++ | tbaas/src/v20180416/model/PeerDetailForUser.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | tbaas/src/v20180416/model/PeerDetailForUser.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | tbaas/src/v20180416/model/PeerDetailForUser.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 27.74026 | 138 | 0.718633 | sinjoywong |
6de5309dfc4af096cacd3d440b8c4eace7e9c3d1 | 1,303 | hpp | C++ | external/glm-0.9.7.1/test/external/gli/gtx/fetch.hpp | BonJovi1/Bullet-the-Blue-Sky | 9ebf41fc85ccf9f8e2880acdafc6dfffd8a0268f | [
"WTFPL"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | external/glm-0.9.7.1/test/external/gli/gtx/fetch.hpp | BonJovi1/Bullet-the-Blue-Sky | 9ebf41fc85ccf9f8e2880acdafc6dfffd8a0268f | [
"WTFPL"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | external/glm-0.9.7.1/test/external/gli/gtx/fetch.hpp | BonJovi1/Bullet-the-Blue-Sky | 9ebf41fc85ccf9f8e2880acdafc6dfffd8a0268f | [
"WTFPL"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Image Copyright (c) 2008 - 2011 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2008-12-19
// Updated : 2010-09-... | 27.723404 | 99 | 0.57099 | BonJovi1 |
6de56421c8e677f857ef2ed30b996838c97996bf | 891 | cpp | C++ | Havtorn/Source/Engine/Core/MathTypes/Curve.cpp | AxelSavage/NewEngine | cd86b4ff19d97f69b0f2ffb16343722885898424 | [
"MIT"
] | null | null | null | Havtorn/Source/Engine/Core/MathTypes/Curve.cpp | AxelSavage/NewEngine | cd86b4ff19d97f69b0f2ffb16343722885898424 | [
"MIT"
] | null | null | null | Havtorn/Source/Engine/Core/MathTypes/Curve.cpp | AxelSavage/NewEngine | cd86b4ff19d97f69b0f2ffb16343722885898424 | [
"MIT"
] | 1 | 2022-01-09T12:01:24.000Z | 2022-01-09T12:01:24.000Z | // Copyright 2022 Team Havtorn. All Rights Reserved.
#include "hvpch.h"
#include "Curve.h"
namespace Havtorn
{
SVector SCatmullRom::GetPoint(F32 t)
{
F32 tt = t * t;
F32 ttt = t * t * t;
return
(P3 * (-tt + ttt)
+ P2 * (t + 4.0f * tt - 3.0f * ttt)
+ P1 * (2.0f - 5.0f * tt + 3.0f * ttt)
+ P0 * ... | 20.25 | 101 | 0.542088 | AxelSavage |
6de660aa4d47fbee24ea72d3a4c40bd782b45bec | 3,485 | cpp | C++ | libnaucrates/src/parser/CParseHandlerScalarPartBoundOpen.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 466 | 2016-01-26T18:07:03.000Z | 2022-03-30T06:08:55.000Z | libnaucrates/src/parser/CParseHandlerScalarPartBoundOpen.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 463 | 2016-01-26T19:13:02.000Z | 2022-03-24T03:08:13.000Z | libnaucrates/src/parser/CParseHandlerScalarPartBoundOpen.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 203 | 2016-01-26T13:46:35.000Z | 2022-03-22T03:17:06.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2014 Pivotal, Inc.
//
// @filename:
// CParseHandlerScalarPartBoundOpen.cpp
//
// @doc:
// Implementation of the SAX parse handler class for parsing part bound openness
//------------------------------... | 32.570093 | 81 | 0.643042 | hsyuan |
6de86a264b061aa4bff632604fd136e78c3cfdb7 | 2,498 | cc | C++ | source/extensions/access_loggers/http_grpc/config.cc | rishabhkumar296/envoy | 1b040ff0e029059c7aaa6816fccb2419c02675b1 | [
"Apache-2.0"
] | 91 | 2018-11-24T05:33:58.000Z | 2022-03-16T05:58:05.000Z | source/extensions/access_loggers/http_grpc/config.cc | rishabhkumar296/envoy | 1b040ff0e029059c7aaa6816fccb2419c02675b1 | [
"Apache-2.0"
] | 14 | 2018-02-16T20:47:38.000Z | 2019-01-19T23:03:01.000Z | source/extensions/access_loggers/http_grpc/config.cc | rishabhkumar296/envoy | 1b040ff0e029059c7aaa6816fccb2419c02675b1 | [
"Apache-2.0"
] | 18 | 2018-11-24T10:35:29.000Z | 2021-04-22T07:22:10.000Z | #include "extensions/access_loggers/http_grpc/config.h"
#include "envoy/config/accesslog/v2/als.pb.validate.h"
#include "envoy/config/filter/accesslog/v2/accesslog.pb.validate.h"
#include "envoy/registry/registry.h"
#include "envoy/server/filter_config.h"
#include "common/common/macros.h"
#include "common/grpc/async_... | 41.633333 | 99 | 0.719776 | rishabhkumar296 |
6dec8c11754671c8687d9b4e5fc95fd121d8e2bd | 8,460 | cpp | C++ | thirdparty/GeometricTools/WildMagic5/SampleMathematics/NonlocalBlowup/DisplacementEffect.cpp | SoMa-Project/vision | ea8199d98edc363b2be79baa7c691da3a5a6cc86 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2020-07-24T23:40:01.000Z | 2020-07-24T23:40:01.000Z | thirdparty/GeometricTools/WildMagic5/SampleMathematics/NonlocalBlowup/DisplacementEffect.cpp | SoMa-Project/vision | ea8199d98edc363b2be79baa7c691da3a5a6cc86 | [
"BSD-2-Clause-FreeBSD"
] | 4 | 2020-05-19T18:14:33.000Z | 2021-03-19T15:53:43.000Z | thirdparty/GeometricTools/WildMagic5/SampleMathematics/NonlocalBlowup/DisplacementEffect.cpp | SoMa-Project/vision | ea8199d98edc363b2be79baa7c691da3a5a6cc86 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.3.0 (2010/09/07)
#include "DisplacementEffect.h"
#include "Wm5PVWMatrixC... | 33.046875 | 79 | 0.553073 | SoMa-Project |
6defac9905099b7a3efcd5d76df224fc197bfd64 | 9,501 | cpp | C++ | lib/mayaUsd/render/pxrUsdMayaGL/usdProxyShapeAdapter.cpp | goodbyekansas/maya-usd | 648df109398e2f82b4be3def4dad241ad74fe961 | [
"Apache-2.0"
] | null | null | null | lib/mayaUsd/render/pxrUsdMayaGL/usdProxyShapeAdapter.cpp | goodbyekansas/maya-usd | 648df109398e2f82b4be3def4dad241ad74fe961 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:38:00.000Z | 2019-11-22T14:38:00.000Z | lib/mayaUsd/render/pxrUsdMayaGL/usdProxyShapeAdapter.cpp | goodbyekansas/maya-usd | 648df109398e2f82b4be3def4dad241ad74fe961 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2018 Pixar
//
// 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 wri... | 32.426621 | 91 | 0.666351 | goodbyekansas |
6df03fb545e337ff07d06e36ec8ed24e62c3b79b | 7,480 | cpp | C++ | SSW/main.cpp | qq456cvb/SSW | 65c5d4d782330e6d87531dab759baff9d4d7104b | [
"MIT"
] | null | null | null | SSW/main.cpp | qq456cvb/SSW | 65c5d4d782330e6d87531dab759baff9d4d7104b | [
"MIT"
] | null | null | null | SSW/main.cpp | qq456cvb/SSW | 65c5d4d782330e6d87531dab759baff9d4d7104b | [
"MIT"
] | null | null | null | //
// main.cpp
// SSW
//
// Created by Neil on 16/05/2018.
// Copyright © 2018 Neil. All rights reserved.
//
#include <iostream>
#include <opencv2/opencv.hpp>
#include <vector>
#include <algorithm>
#include <unordered_map>
#include <unordered_set>
#include <cmath>
#include "unionset.hpp"
using namespace cv;
using ... | 34 | 141 | 0.504011 | qq456cvb |
6df4642fad4bd0d1a0539e5584fc6111a57541aa | 2,658 | cpp | C++ | modules/gin_network/3rdparty/liboauthcpp/src/urlencode.cpp | christofmuc/Gin | 8bedff1fd4db8452c56e220dcfae17dfae8825ac | [
"BSD-3-Clause"
] | 112 | 2018-01-29T09:36:00.000Z | 2022-03-30T21:27:56.000Z | modules/gin_network/3rdparty/liboauthcpp/src/urlencode.cpp | christofmuc/Gin | 8bedff1fd4db8452c56e220dcfae17dfae8825ac | [
"BSD-3-Clause"
] | 19 | 2018-02-09T22:27:50.000Z | 2022-01-31T22:43:53.000Z | modules/gin_network/3rdparty/liboauthcpp/src/urlencode.cpp | christofmuc/Gin | 8bedff1fd4db8452c56e220dcfae17dfae8825ac | [
"BSD-3-Clause"
] | 20 | 2018-05-03T03:10:00.000Z | 2022-03-24T12:12:36.000Z | #include "urlencode.h"
#include <cassert>
#include <sstream>
#include <iomanip>
inline bool isUnreserved(char c)
{
switch (c)
{
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
case 'A': case 'B': case 'C': case 'D': case 'E':
... | 25.557692 | 72 | 0.455606 | christofmuc |
6df671e56c8baae87672e11c7ab22669fbbc1897 | 837 | cpp | C++ | Granite/tools/build_smaa_luts.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | 1 | 2018-03-27T03:06:13.000Z | 2018-03-27T03:06:13.000Z | Granite/tools/build_smaa_luts.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | Granite/tools/build_smaa_luts.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | #include "smaa/AreaTex.h"
#include "smaa/SearchTex.h"
#include "util.hpp"
#include "memory_mapped_texture.hpp"
#include <string.h>
using namespace Granite;
using namespace Granite::SceneFormats;
int main(int argc, char *argv[])
{
if (argc != 3)
{
LOGE("Usage: %s <AreaTex.gtx> <SearchTex.gtx>\n", argv[0]);
retur... | 22.621622 | 70 | 0.718041 | dmrlawson |
6df79c99a5a5b748cfee99a1a127d7dc24fbd7e7 | 886 | cpp | C++ | src/remove-duplicates-from-sorted-list.cpp | Liuchang0812/leetcode | d71f87b0035e661d0009f4382b39c4787c355f89 | [
"MIT"
] | 9 | 2015-09-09T20:28:31.000Z | 2019-05-15T09:13:07.000Z | src/remove-duplicates-from-sorted-list.cpp | liuchang0812/leetcode | d71f87b0035e661d0009f4382b39c4787c355f89 | [
"MIT"
] | 1 | 2015-02-25T13:10:09.000Z | 2015-02-25T13:10:09.000Z | src/remove-duplicates-from-sorted-list.cpp | liuchang0812/leetcode | d71f87b0035e661d0009f4382b39c4787c355f89 | [
"MIT"
] | 1 | 2016-08-31T19:14:52.000Z | 2016-08-31T19:14:52.000Z | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void deleteNode(ListNode* &front, ListNode* &rear) {
if (front && rear)
{
front->next = rear->next;
rear = fro... | 21.095238 | 56 | 0.454853 | Liuchang0812 |
6df9fc911a91003d2720ec935028cb47bc9fba9e | 473 | cpp | C++ | problem_solving/CodeForces/274A/18761704_AC_124ms_3968kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | 2 | 2020-09-02T12:07:47.000Z | 2020-11-17T11:17:16.000Z | problem_solving/CodeForces/274A/18761704_AC_124ms_3968kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | null | null | null | problem_solving/CodeForces/274A/18761704_AC_124ms_3968kB.cpp | cosmicray001/academic | 6aa142baeba4bb1ad73b8669e37305ca0b5102a7 | [
"MIT"
] | 4 | 2020-08-11T14:23:34.000Z | 2020-11-17T10:52:31.000Z | #include <bits/stdc++.h>
#define le 100005
#define ll long long int
using namespace std;
set<ll> st;
ll n[le];
int main(){
//freopen("input.txt", "r", stdin);
int len, a, b;
ll m;
scanf("%lld %lld", &len, &m);
for(int i = 0; i < len; scanf("%lld", &n[i]), i++);
sort(n, n + len);
for(int i = 0; i < len; i+... | 20.565217 | 53 | 0.5074 | cosmicray001 |
6dfa1181b5633ff696666e546e5b3a656999bb16 | 1,496 | cpp | C++ | binauralSynthesis/DiscreteFourierTransform.cpp | amurzeau/waveplay | e0fc097137138c4a6985998db502468074bf739f | [
"MIT"
] | 5 | 2021-10-02T03:01:56.000Z | 2022-01-24T20:59:19.000Z | binauralSynthesis/DiscreteFourierTransform.cpp | amurzeau/waveplay | e0fc097137138c4a6985998db502468074bf739f | [
"MIT"
] | null | null | null | binauralSynthesis/DiscreteFourierTransform.cpp | amurzeau/waveplay | e0fc097137138c4a6985998db502468074bf739f | [
"MIT"
] | null | null | null | #include "DiscreteFourierTransform.h"
#include <complex>
#include <math.h>
#include "fftw3.h"
void DiscreteFourierTransform::dft(size_t n, const float* timeDomain, std::complex<float>* freqDomain) {
fftwf_plan plan;
fftwf_complex* out = reinterpret_cast<fftwf_complex*>(freqDomain);
static_assert(sizeof(freqDomain... | 34 | 108 | 0.667112 | amurzeau |
6dfb3a3e58e9b5e84c9dc6f47961247b841a6870 | 19,466 | cpp | C++ | tools/Vitis-AI-Library/math/test/test_softmax_my.cpp | hito0512/Vitis-AI | 996459fb96cb077ed2f7e789d515893b1cccbc95 | [
"Apache-2.0"
] | 848 | 2019-12-03T00:16:17.000Z | 2022-03-31T22:53:17.000Z | tools/Vitis-AI-Library/math/test/test_softmax_my.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 656 | 2019-12-03T00:48:46.000Z | 2022-03-31T18:41:54.000Z | tools/Vitis-AI-Library/math/test/test_softmax_my.cpp | wangyifan778/Vitis-AI | f61061eef7550d98bf02a171604c9a9f283a7c47 | [
"Apache-2.0"
] | 506 | 2019-12-03T00:46:26.000Z | 2022-03-30T10:34:56.000Z | /*
* Copyright 2019 Xilinx 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 ... | 29.09716 | 80 | 0.57639 | hito0512 |
a302f908ae638211ad933252152e4ecc29f1316b | 15,085 | hpp | C++ | System.Core/include/Switch/System/Threading/ThreadPool.hpp | kkptm/CppLikeCSharp | b2d8d9da9973c733205aa945c9ba734de0c734bc | [
"MIT"
] | 4 | 2021-10-14T01:43:00.000Z | 2022-03-13T02:16:08.000Z | System.Core/include/Switch/System/Threading/ThreadPool.hpp | kkptm/CppLikeCSharp | b2d8d9da9973c733205aa945c9ba734de0c734bc | [
"MIT"
] | null | null | null | System.Core/include/Switch/System/Threading/ThreadPool.hpp | kkptm/CppLikeCSharp | b2d8d9da9973c733205aa945c9ba734de0c734bc | [
"MIT"
] | 2 | 2022-03-13T02:16:06.000Z | 2022-03-14T14:32:57.000Z | /// @file
/// @brief Contains Switch::System::Threading::ThreadPool class.
#pragma once
#include "../../Types.hpp"
#include "../../RefPtr.hpp"
#include "../../Static.hpp"
#include "../TimeSpan.hpp"
#include "../Collections/Generic/List.hpp"
#include "Thread.hpp"
#include "RegisteredWaitHandle.hpp"
#include "WaitCallba... | 80.239362 | 349 | 0.742459 | kkptm |
a305a169228eceeac7bc4f8c8c6835624d5246d8 | 717 | cpp | C++ | Library/Private/Pegasus/Public/Pegasus/IndexBase.cpp | KonstantinTomashevich/Emergence | 83b1d52bb62bf619f9402e3081dd9de6b0cb232c | [
"Apache-2.0"
] | 3 | 2021-06-02T05:06:48.000Z | 2022-01-26T09:39:44.000Z | Library/Private/Pegasus/Public/Pegasus/IndexBase.cpp | KonstantinTomashevich/Emergence | 83b1d52bb62bf619f9402e3081dd9de6b0cb232c | [
"Apache-2.0"
] | null | null | null | Library/Private/Pegasus/Public/Pegasus/IndexBase.cpp | KonstantinTomashevich/Emergence | 83b1d52bb62bf619f9402e3081dd9de6b0cb232c | [
"Apache-2.0"
] | null | null | null | #include <Pegasus/IndexBase.hpp>
#include <Pegasus/Storage.hpp>
namespace Emergence::Pegasus
{
bool IndexBase::CanBeDropped () const noexcept
{
// Self reference is always here.
return GetReferenceCount () <= 1u && activeCursors == 0u;
}
const StandardLayout::Mapping &IndexBase::GetRecordMapping () const noex... | 28.68 | 96 | 0.730823 | KonstantinTomashevich |
a30603b4366b3bfc95c141e92c7c77e522876a63 | 345 | cpp | C++ | move_object.cpp | goujonpa/maisonsteph | 97285cc0fd9ba486307fc62c00c943a5864e929b | [
"MIT"
] | null | null | null | move_object.cpp | goujonpa/maisonsteph | 97285cc0fd9ba486307fc62c00c943a5864e929b | [
"MIT"
] | null | null | null | move_object.cpp | goujonpa/maisonsteph | 97285cc0fd9ba486307fc62c00c943a5864e929b | [
"MIT"
] | null | null | null | #include "move_object.h"
void rotate_cube(int direction) {
printf("callback rotate cube");
ROTATE_CUBE = (GLdouble) direction;
printf("RCUBE : %f", ROTATE_CUBE);
}
void rotate_pyramid(int direction) {
printf("callback rotate pyramid");
ROTATE_PYRAMID = (GLdouble) direction;
printf("RPYRAMID :... | 23 | 44 | 0.689855 | goujonpa |
a309a6f52f6e4d572f21ef3410ba2f33ac1c40b5 | 7,620 | cpp | C++ | src/widgets/numformatter.cpp | Evropa1/audacity | 3be57fce49d293bd64cb0904b3883c885503ab2e | [
"CC-BY-3.0"
] | 21 | 2015-08-02T20:43:37.000Z | 2022-02-06T04:19:16.000Z | src/widgets/numformatter.cpp | Evropa1/audacity | 3be57fce49d293bd64cb0904b3883c885503ab2e | [
"CC-BY-3.0"
] | null | null | null | src/widgets/numformatter.cpp | Evropa1/audacity | 3be57fce49d293bd64cb0904b3883c885503ab2e | [
"CC-BY-3.0"
] | 3 | 2016-05-15T05:35:57.000Z | 2018-09-21T20:50:11.000Z | /////////////////////////////////////////////////////////////////////////////
//
// Backport from wxWidgets-3.0-rc1
//
/////////////////////////////////////////////////////////////////////////////
// Name: src/common/numformatter.cpp
// Purpose: NumberFormatter
// Author: Fulvio Senore, Vadim Zeitlin
//... | 28.539326 | 87 | 0.55315 | Evropa1 |
a30c60ff2aeca437a3aacc432563da53b1e9924d | 520 | cpp | C++ | libs/opencl/src/opencl/memory_object/create_image_format.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/opencl/src/opencl/memory_object/create_image_format.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/opencl/src/opencl/memory_object/create_image_format.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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)
#include <sge/opencl/memory_object/create_image_format.hpp>
cl_image_format
sge::opencl::memory_ob... | 32.5 | 100 | 0.753846 | cpreh |
a30ce9b012f026f96c1079ea812176a112c255cb | 13,351 | cc | C++ | caffe2/video/video_decoder.cc | fxlambda-twickly5/caffe-lambda | 30fad32c8fb97e46c4af0f827a16a0e4f5d55271 | [
"MIT"
] | null | null | null | caffe2/video/video_decoder.cc | fxlambda-twickly5/caffe-lambda | 30fad32c8fb97e46c4af0f827a16a0e4f5d55271 | [
"MIT"
] | null | null | null | caffe2/video/video_decoder.cc | fxlambda-twickly5/caffe-lambda | 30fad32c8fb97e46c4af0f827a16a0e4f5d55271 | [
"MIT"
] | null | null | null | #include "caffe2/video/video_decoder.h"
#include "caffe2/core/logging.h"
#include <stdio.h>
#include <mutex>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/log.h>
#include <libswresample/swresample.h>
#include <libswscale/swscale.h>
}
namespace caffe2 {
VideoDecod... | 32.643032 | 80 | 0.601004 | fxlambda-twickly5 |
a30e556ebcec8d7c157e382026ea7a89ee2b8df8 | 6,074 | cpp | C++ | src/APPSEvalMgr.cpp | jnnccc/Dakota-orb | 96488e723be9c67f0f85be8162b7af52c312b770 | [
"MIT"
] | null | null | null | src/APPSEvalMgr.cpp | jnnccc/Dakota-orb | 96488e723be9c67f0f85be8162b7af52c312b770 | [
"MIT"
] | null | null | null | src/APPSEvalMgr.cpp | jnnccc/Dakota-orb | 96488e723be9c67f0f85be8162b7af52c312b770 | [
"MIT"
] | null | null | null | /* _______________________________________________________________________
DAKOTA: Design Analysis Kit for Optimization and Terascale Applications
Copyright 2014 Sandia Corporation.
This software is distributed under the GNU Lesser General Public License.
For more information, see the README file in t... | 33.191257 | 99 | 0.712875 | jnnccc |
a30f41fabd942b546abb29c9023c42d10fc333bb | 1,389 | cpp | C++ | uHunt series 2015/Session 1 (Warming Up - Ad Hoc Problems)/1586 - Molar mass.cpp | Sohieeb/competitive-programming | fe3fca0d4d2a242053d097c7ae71667a135cfc45 | [
"MIT"
] | 1 | 2020-01-30T20:08:24.000Z | 2020-01-30T20:08:24.000Z | uHunt series 2015/Session 1 (Warming Up - Ad Hoc Problems)/1586 - Molar mass.cpp | Sohieb/competitive-programming | fe3fca0d4d2a242053d097c7ae71667a135cfc45 | [
"MIT"
] | null | null | null | uHunt series 2015/Session 1 (Warming Up - Ad Hoc Problems)/1586 - Molar mass.cpp | Sohieb/competitive-programming | fe3fca0d4d2a242053d097c7ae71667a135cfc45 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using namespace __gnu_cxx;
typedef double db;
typedef long long ll;
typedef pair<db, db> pdd;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
typedef unsigned long long ull;
#define F first
#define S second
#define pnl printf("\n")
#define ... | 21.045455 | 45 | 0.465803 | Sohieeb |
a30f9a1197ed08756ef282821eb18f79c63c19d1 | 1,214 | cpp | C++ | GameEngineCore/AnimationControllerActor.cpp | csyonghe/spire-engine | 9c98b277a6643688365f9ce308e8621d90af9c97 | [
"MIT"
] | 60 | 2016-12-02T17:12:51.000Z | 2022-01-23T09:23:19.000Z | GameEngineCore/AnimationControllerActor.cpp | csyonghe/spire-engine | 9c98b277a6643688365f9ce308e8621d90af9c97 | [
"MIT"
] | 5 | 2016-11-14T21:18:57.000Z | 2019-07-12T04:01:12.000Z | GameEngineCore/AnimationControllerActor.cpp | csyonghe/spire-engine | 9c98b277a6643688365f9ce308e8621d90af9c97 | [
"MIT"
] | 11 | 2016-11-14T21:11:46.000Z | 2020-09-10T07:29:01.000Z | #include "AnimationControllerActor.h"
#include "Engine.h"
#include "MeshBuilder.h"
namespace GameEngine
{
void AnimationControllerActor::TimeChanged()
{
EvalAnimation(Time.GetValue());
}
void AnimationControllerActor::IsPlayingChanged()
{
}
SkeletalMeshActor * AnimationControllerAct... | 26.977778 | 84 | 0.60626 | csyonghe |
a3119a8b7f42d797c689503b0844664b1bd87f0e | 319 | hpp | C++ | Cpp/55.hpp | FlyAndNotDown/LeetCode | 889819ff7f64819e966fc6f9dd80110cf2bf6d3c | [
"MIT"
] | 4 | 2018-06-18T05:39:25.000Z | 2022-01-04T07:35:52.000Z | Cpp/55.hpp | FlyAndNotDown/LeetCode | 889819ff7f64819e966fc6f9dd80110cf2bf6d3c | [
"MIT"
] | 20 | 2019-11-30T03:42:40.000Z | 2020-05-17T03:25:43.000Z | Cpp/55.hpp | FlyAndNotDown/LeetCode | 889819ff7f64819e966fc6f9dd80110cf2bf6d3c | [
"MIT"
] | 2 | 2020-02-08T14:10:42.000Z | 2021-09-23T13:51:36.000Z | /**
* @no 55
* @name Jump Game
*/
class Solution {
public:
static bool canJump(vector<int>& nums) {
int last = nums.size() - 1;
for (int i = nums.size() - 1; i > -1; i--) {
if (i + nums[i] >= last) {
last = i;
}
}
return last == 0;
}
}; | 19.9375 | 52 | 0.401254 | FlyAndNotDown |
a3157729ea3c31aae125b8ac154501d669f47077 | 7,286 | cpp | C++ | timing/timeGaussianFactorGraph.cpp | ashariati/gtsam-3.2.1 | f880365c259eb7532b9c1d20979ecad2eb04779c | [
"BSD-3-Clause"
] | 75 | 2015-04-02T08:58:57.000Z | 2022-03-18T08:01:42.000Z | timing/timeGaussianFactorGraph.cpp | ashariati/gtsam-3.2.1 | f880365c259eb7532b9c1d20979ecad2eb04779c | [
"BSD-3-Clause"
] | 5 | 2016-07-05T16:21:08.000Z | 2020-05-13T16:50:42.000Z | timing/timeGaussianFactorGraph.cpp | ashariati/gtsam-3.2.1 | f880365c259eb7532b9c1d20979ecad2eb04779c | [
"BSD-3-Clause"
] | 66 | 2015-06-01T11:22:38.000Z | 2022-02-18T11:03:57.000Z | /* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ---... | 33.422018 | 87 | 0.543508 | ashariati |
a3184b440d91969cf3dbb7c101ce800dbc4ba915 | 25,445 | cpp | C++ | dbbrain/src/v20210527/model/SlowLogTopSqlItem.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | dbbrain/src/v20210527/model/SlowLogTopSqlItem.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | dbbrain/src/v20210527/model/SlowLogTopSqlItem.cpp | sinjoywong/tencentcloud-sdk-cpp | 1b931d20956a90b15a6720f924e5c69f8786f9f4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.849206 | 155 | 0.695972 | sinjoywong |
a31aa12af5dc2ef9e0082d77174be0a120578d62 | 5,380 | cxx | C++ | Qt/Core/pq3DWidgetFactory.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | Qt/Core/pq3DWidgetFactory.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | Qt/Core/pq3DWidgetFactory.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView lice... | 33.625 | 93 | 0.645725 | matthb2 |
a31e845b50b3df7345502861c9d0473c2b0dbbbf | 292 | cc | C++ | utility/std_stubs.cc | natersoz/nrf | f5fd98275e291f02ad53818aee857278ac23d7df | [
"Apache-2.0"
] | 3 | 2018-03-04T19:21:11.000Z | 2021-01-15T09:17:53.000Z | utility/std_stubs.cc | natersoz/nrf | f5fd98275e291f02ad53818aee857278ac23d7df | [
"Apache-2.0"
] | 37 | 2018-10-09T04:28:51.000Z | 2019-06-07T03:48:39.000Z | utility/std_stubs.cc | natersoz/nrf | f5fd98275e291f02ad53818aee857278ac23d7df | [
"Apache-2.0"
] | null | null | null | /**
* @file std_stubs.cc
* @copyright (c) 2018, natersoz. Distributed under the Apache 2.0 license.
*/
#include <cstddef>
// Under gcc using virtual destructors, even when no malloc is involved,
// requires a delete operator to satisy the linker.
void operator delete(void*, size_t)
{}
| 22.461538 | 75 | 0.719178 | natersoz |
a31fc36016b98df647024beed8393c8c5ff47e60 | 695 | cpp | C++ | CCDSAP/DYNAMIC PROGRAMMING/AMSGAME2/main.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CCDSAP/DYNAMIC PROGRAMMING/AMSGAME2/main.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CCDSAP/DYNAMIC PROGRAMMING/AMSGAME2/main.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int arr[61];
long long int dp[61][10001];
int ans = 0;
int n;
ll solve(int pos,int gcd){
if(pos==n){
if(gcd==1)
return 1;
else
return 0;
}
if(dp[pos][gcd]!=-1)
return dp[pos][gcd];
... | 17.820513 | 71 | 0.479137 | Ashwanigupta9125 |
a31fcd74a6c27295393d7b3d65e64fc5c15a39b4 | 656 | cpp | C++ | Engine/Source/Runtime/ApplicationCore/Private/Windows/WindowsFeedbackContext.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/ApplicationCore/Private/Windows/WindowsFeedbackContext.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/ApplicationCore/Private/Windows/WindowsFeedbackContext.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "WindowsFeedbackContext.h"
#include "WindowsHWrapper.h"
#include "ThreadHeartBeat.h"
#include "Internationalization/Internationalization.h"
#include "Misc/App.h"
#include "WindowsHWrapper.h"
bool FWindowsFeedbackContext::YesNof(const FText& Questio... | 29.818182 | 164 | 0.730183 | windystrife |
a320e1eb3779489ae992f2a29d6b4e436bdc5aa1 | 7,011 | cc | C++ | usr_local/src/speech_tools/utils/est_file.cc | parnurzeal/tts-tutorial | db11aed2adc5101cc6d06d1138f74d5f5afe666f | [
"Apache-2.0"
] | 30 | 2016-09-23T06:38:08.000Z | 2022-02-14T02:02:14.000Z | usr_local/src/speech_tools/utils/est_file.cc | xbsdsongnan/docker-festival | 1e1c50c8bbd92d47ecb7edc7a464aadad5b9a0d6 | [
"Apache-2.0"
] | 3 | 2020-06-05T18:09:02.000Z | 2021-06-10T20:06:02.000Z | usr_local/src/speech_tools/utils/est_file.cc | xbsdsongnan/docker-festival | 1e1c50c8bbd92d47ecb7edc7a464aadad5b9a0d6 | [
"Apache-2.0"
] | 13 | 2016-11-06T05:52:23.000Z | 2020-08-26T18:38:00.000Z | /*************************************************************************/
/* */
/* Centre for Speech Technology Research */
/* University of Edinburgh, UK */
/* ... | 36.326425 | 75 | 0.548567 | parnurzeal |
a3214d4df67035d03af1d7c9eca7700408b9e19c | 3,671 | cpp | C++ | libopenfpga/libarchopenfpga/src/write_xml_tile_annotation.cpp | antmicro/OpenFPGA | b78803a6bb4c07aaa5946fd7f579a49d8a3022f6 | [
"MIT"
] | 1 | 2021-01-30T07:47:08.000Z | 2021-01-30T07:47:08.000Z | libopenfpga/libarchopenfpga/src/write_xml_tile_annotation.cpp | lukefahr/OpenFPGA | dd92129cfff868ebd0554dc01c390fa14ae1c977 | [
"MIT"
] | null | null | null | libopenfpga/libarchopenfpga/src/write_xml_tile_annotation.cpp | lukefahr/OpenFPGA | dd92129cfff868ebd0554dc01c390fa14ae1c977 | [
"MIT"
] | null | null | null | /********************************************************************
* This file includes functions that outputs tile annotations to XML format
*******************************************************************/
/* Headers from system goes first */
#include <string>
#include <algorithm>
/* Headers from vtr util li... | 38.642105 | 110 | 0.574775 | antmicro |
a3216796b291da88a868b848bbb35ac4b32c75c4 | 2,184 | cpp | C++ | src/Engine/EngineSettings.cpp | Mac1512/engge | 50c203c09b57c0fbbcdf6284c60886c8db471e07 | [
"MIT"
] | null | null | null | src/Engine/EngineSettings.cpp | Mac1512/engge | 50c203c09b57c0fbbcdf6284c60886c8db471e07 | [
"MIT"
] | null | null | null | src/Engine/EngineSettings.cpp | Mac1512/engge | 50c203c09b57c0fbbcdf6284c60886c8db471e07 | [
"MIT"
] | null | null | null | #include <sstream>
#include <filesystem>
#include "System/Locator.hpp"
#include "Engine/Preferences.hpp"
#include "Engine/EngineSettings.hpp"
#include "../System/_Util.hpp"
namespace fs = std::filesystem;
namespace ng {
EngineSettings::EngineSettings() = default;
void EngineSettings::loadPacks() {
auto devPath = ng... | 28.736842 | 105 | 0.624542 | Mac1512 |
a321c313fdbc1d18d9ff11bd7aed31a2b4491599 | 1,276 | cpp | C++ | src/battery.cpp | underscoredotspace/watchy-revolution | 9403314a47e53565e36172c37a75d9622657c51f | [
"MIT"
] | null | null | null | src/battery.cpp | underscoredotspace/watchy-revolution | 9403314a47e53565e36172c37a75d9622657c51f | [
"MIT"
] | null | null | null | src/battery.cpp | underscoredotspace/watchy-revolution | 9403314a47e53565e36172c37a75d9622657c51f | [
"MIT"
] | null | null | null | #include "battery.h"
#include <esp_adc_cal.h>
#include "Watchy.h" // for logging macros
namespace Watchy {
esp_adc_cal_characteristics_t *getADCCharacteristics() {
static esp_adc_cal_characteristics_t *adc_chars; // default is nullptr
if (!adc_chars) {
// only initialize it if we're actually go... | 35.444444 | 79 | 0.719436 | underscoredotspace |
a324632ff8f265c48f23dc594f631de7a5a1641b | 2,904 | cc | C++ | cpp/Max_submatrix_rectangle.cc | iskhanba/epicode | fda752e5e016ab64011083450be91bec9ee8358a | [
"MIT"
] | null | null | null | cpp/Max_submatrix_rectangle.cc | iskhanba/epicode | fda752e5e016ab64011083450be91bec9ee8358a | [
"MIT"
] | null | null | null | cpp/Max_submatrix_rectangle.cc | iskhanba/epicode | fda752e5e016ab64011083450be91bec9ee8358a | [
"MIT"
] | null | null | null | // Copyright (c) 2013 Elements of Programming Interviews. All rights reserved.
#include <algorithm>
#include <cassert>
#include <deque>
#include <iostream>
#include <limits>
#include <random>
#include <vector>
#include "./Max_submatrix_rectangle_brute_force.h"
using std::cout;
using std::default_random_engine;
using... | 31.225806 | 82 | 0.495179 | iskhanba |
a324f1bda29d90dcd548e38aea6e6b9892e893d3 | 819 | cpp | C++ | src/IntaRNA/RnaSequence.cpp | simonbray/IntaRNA | 65825d76e7f4bcac9839ab912c2957f0f604b532 | [
"MIT"
] | 37 | 2016-03-31T11:47:36.000Z | 2022-03-07T00:48:16.000Z | src/IntaRNA/RnaSequence.cpp | simonbray/IntaRNA | 65825d76e7f4bcac9839ab912c2957f0f604b532 | [
"MIT"
] | 136 | 2016-09-28T12:11:23.000Z | 2022-03-28T09:13:05.000Z | src/IntaRNA/RnaSequence.cpp | BackofenLab/IntaRNA | 8a9937bc928242e46bb7ff512c66873ec078fdc0 | [
"MIT"
] | 25 | 2016-11-25T13:40:49.000Z | 2022-01-19T10:51:11.000Z |
#include "IntaRNA/RnaSequence.h"
#include <stdexcept>
namespace IntaRNA {
// setup static members
std::locale RnaSequence::codeLocale = std::locale();
// setup allowed alphabet in lower and upper case
const std::string RnaSequence::SequenceAlphabet = "ACGUN";
const std::string RnaSequence::SequenceAlphabetIUPAC = ... | 29.25 | 108 | 0.610501 | simonbray |
a325b3ab4f22f8e883e3edf77e2400740cac78ca | 2,795 | hpp | C++ | streams/file_data_provider.hpp | aamshukov/compression | 3dd06242601798469145feddcd7441f295608454 | [
"MIT"
] | 1 | 2019-07-08T17:33:26.000Z | 2019-07-08T17:33:26.000Z | streams/file_data_provider.hpp | aamshukov/compression | 3dd06242601798469145feddcd7441f295608454 | [
"MIT"
] | null | null | null | streams/file_data_provider.hpp | aamshukov/compression | 3dd06242601798469145feddcd7441f295608454 | [
"MIT"
] | null | null | null | //..............................
// UI Lab Inc. Arthur Amshukov .
//..............................
#ifndef __COMPRESSION_FILE_DATA_PROVIDER_H__
#define __COMPRESSION_FILE_DATA_PROVIDER_H__
#pragma once
BEGIN_NAMESPACE(compression)
class file_data_provider : public data_provider<byte>
{
public:
... | 21.666667 | 97 | 0.561002 | aamshukov |