hexsha stringlengths 40 40 | size int64 22 2.4M | ext stringclasses 5
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 260 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 3 260 | max_issues_repo_name stringlengths 5 109 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 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 3 260 | max_forks_repo_name stringlengths 5 109 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 22 2.4M | avg_line_length float64 5 169k | max_line_length int64 5 786k | alphanum_fraction float64 0.06 0.95 | matches listlengths 1 11 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f311ed22c713c9ebc1363867fa292b3fa39fadf2 | 2,917 | h | C | self-lang/lang1/snippet.h | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 22 | 2015-05-18T07:04:36.000Z | 2021-08-02T03:01:43.000Z | self-lang/lang1/snippet.h | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 1 | 2017-08-31T22:13:57.000Z | 2017-09-05T15:00:25.000Z | self-lang/lang1/snippet.h | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 6 | 2015-06-06T07:16:12.000Z | 2021-07-06T13:45:56.000Z | // Copyright (c) 2014 ASMlover. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list ofconditions and... | 33.528736 | 71 | 0.697635 | [
"vector"
] |
f317eb5dff8f4e8eaccb86580b7230c961a8d410 | 1,302 | h | C | library/lib/functions/function.h | emilienaufauvre/Neural-Network-CUDA-Library | 5a4faf5ef6b20d7626806d249d867cdedf81d08a | [
"Unlicense"
] | null | null | null | library/lib/functions/function.h | emilienaufauvre/Neural-Network-CUDA-Library | 5a4faf5ef6b20d7626806d249d867cdedf81d08a | [
"Unlicense"
] | null | null | null | library/lib/functions/function.h | emilienaufauvre/Neural-Network-CUDA-Library | 5a4faf5ef6b20d7626806d249d867cdedf81d08a | [
"Unlicense"
] | null | null | null | //
// Created by Emilien Aufauvre on 11/01/2022.
//
#ifndef CUDANN_FUNCTION_H
#define CUDANN_FUNCTION_H
#include "lib/data_structures/matrix/matrix.h"
#include <vector>
namespace cudaNN
{
typedef void (*function_t)(std::vector<matrix *>);
/**
* Abstract wrapper to execute a function or its derivativ... | 25.038462 | 82 | 0.593702 | [
"vector"
] |
f3184e1d806eb9d900466574d07637ee4d43a187 | 448 | h | C | inc/OverlayManager.h | scudzey/UniversalVROverlay | 716cb46a5993e9c25d0bf69e963405d963c80a07 | [
"MIT"
] | 5 | 2016-09-06T12:49:45.000Z | 2019-09-11T04:27:54.000Z | inc/OverlayManager.h | scudzey/UniversalVROverlay | 716cb46a5993e9c25d0bf69e963405d963c80a07 | [
"MIT"
] | 2 | 2018-11-15T07:52:34.000Z | 2018-11-19T03:13:37.000Z | inc/OverlayManager.h | scudzey/UniversalVROverlay | 716cb46a5993e9c25d0bf69e963405d963c80a07 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include "Overlay.h"
class OverlayManager
{
public:
OverlayManager();
OverlayManager(const std::vector<std::shared_ptr<Overlay>>& overlayList);
virtual ~OverlayManager();
void addOverlay(Overlay* overlayObj);
void updateOverlays();
std::vector<std::shared_ptr<Overlay>> getOverlays... | 17.92 | 74 | 0.743304 | [
"vector"
] |
f31dc1814a423dfa381c70d26d4501570beca001 | 2,046 | h | C | ParallelEngine/tilemap.h | Archiving/ParallelEngine | 53f287d6e71bcf323cfdad763c6b6818795ada7c | [
"MIT"
] | 4 | 2019-07-29T14:35:17.000Z | 2019-08-06T04:35:18.000Z | ParallelEngine/tilemap.h | Archiving/ParallelEngine | 53f287d6e71bcf323cfdad763c6b6818795ada7c | [
"MIT"
] | 6 | 2019-07-28T22:34:54.000Z | 2019-08-29T07:18:04.000Z | ParallelEngine/tilemap.h | Archiving/ParallelEngine | 53f287d6e71bcf323cfdad763c6b6818795ada7c | [
"MIT"
] | null | null | null | #ifndef TILESET_H
#define TILESET_H
#include "assetloader.h"
#include <vector>
#include <string>
#include <fstream>
#include <iostream>
#include "vec2.h"
#include "resources.h"
#include "var.h"
class TileMap {
public:
//block types
static const int NORMAL = 0;
static const int BLOCKED = 1;
static const int NUM_TIL... | 24.650602 | 93 | 0.668622 | [
"render",
"vector"
] |
f33dc3d15c0c9958a0a5e2102f8e9303c2e8ad1f | 184 | h | C | src/GameState.h | nicoaw/netroids-prototype | ac8b4c75efc136fbd04f27bdb7cc028d5a02f06c | [
"MIT"
] | null | null | null | src/GameState.h | nicoaw/netroids-prototype | ac8b4c75efc136fbd04f27bdb7cc028d5a02f06c | [
"MIT"
] | null | null | null | src/GameState.h | nicoaw/netroids-prototype | ac8b4c75efc136fbd04f27bdb7cc028d5a02f06c | [
"MIT"
] | null | null | null | #pragma once
#include "Input.h"
#include <cstdint>
class GameState : public KeyListener
{
public:
virtual void update(uint32_t time) = 0;
virtual void render(float alpha) = 0;
}; | 14.153846 | 40 | 0.717391 | [
"render"
] |
f33f3d6a8bffba9500b3bd7547c1b1143fcdb53b | 2,850 | h | C | libamqpprox/amqpprox_farmcontrolcommand.h | Chinmay1412/amqpprox | 6ff384731c847d9cf4e158da8dac431a1eeff526 | [
"ECL-2.0",
"Apache-2.0"
] | 49 | 2021-07-07T08:31:31.000Z | 2022-03-24T04:17:01.000Z | libamqpprox/amqpprox_farmcontrolcommand.h | Chinmay1412/amqpprox | 6ff384731c847d9cf4e158da8dac431a1eeff526 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2021-07-07T09:49:17.000Z | 2022-03-23T13:20:57.000Z | libamqpprox/amqpprox_farmcontrolcommand.h | Chinmay1412/amqpprox | 6ff384731c847d9cf4e158da8dac431a1eeff526 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2021-07-06T21:09:30.000Z | 2022-01-15T20:44:27.000Z | /*
** Copyright 2020 Bloomberg Finance L.P.
**
** 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... | 33.529412 | 78 | 0.666667 | [
"object"
] |
f3402b5d20f87e78e78503e5103ea5d8b9e6ce2e | 107,240 | c | C | printscan/print/drivers/usermode/unidrv2/font/fmtxtout.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/print/drivers/usermode/unidrv2/font/fmtxtout.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/print/drivers/usermode/unidrv2/font/fmtxtout.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z |
/*++
Copyright (c) 1996 - 1999 Microsoft Corporation
Module Name:
textout.c
Abstract:
The FMTextOut() function - the call used to output Text.
Environment:
Windows NT Unidrv driver
Revision History:
01/16/97 -ganeshp-
Created
--*/
//
//This line should be be... | 30.259594 | 169 | 0.483346 | [
"object",
"model",
"transform",
"solid"
] |
f3506d1eaaf7f62e722fe3cd11348d5ac86e0508 | 2,417 | c | C | d/common/mounts/barded_flying_mount.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/common/mounts/barded_flying_mount.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/common/mounts/barded_flying_mount.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | //Added to allow for barded flying mounts off of the Knight swords
//from Demongate. The appropriate flying mounts will be consistent
//with the normal barded horses - Octothorpe 7/6/11
#include <std.h>
inherit "/std/flying_mount.c";
nosave int healingStuff;
int is_warhorse() { return 1; }
void create(){
::cre... | 30.2125 | 102 | 0.624741 | [
"object"
] |
b3d4cacb68df78074bea51bbba7bfa9d0b56182e | 1,286 | c | C | platform/x86_64/dedede/dedede.c | neverware-mirrors/mosys | 8ba9a0f4d2a3bda97e01024769f22f475421f4f3 | [
"BSD-3-Clause"
] | null | null | null | platform/x86_64/dedede/dedede.c | neverware-mirrors/mosys | 8ba9a0f4d2a3bda97e01024769f22f475421f4f3 | [
"BSD-3-Clause"
] | null | null | null | platform/x86_64/dedede/dedede.c | neverware-mirrors/mosys | 8ba9a0f4d2a3bda97e01024769f22f475421f4f3 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright 2019 The Chromium OS 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 "mosys/command_list.h"
#include "mosys/platform.h"
#include "mosys/intf_list.h"
#include "drivers/google/cros_ec.h"
#include "lib/cros_c... | 22.964286 | 73 | 0.730949 | [
"model"
] |
b3d86bd510286d92b8fd2868d4b1d529c3e818f4 | 4,640 | h | C | include/third_party/blink/renderer/modules/media_controls/touchless/media_controls_touchless_impl.h | Cozdemir/spitfire | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | [
"Apache-2.0"
] | null | null | null | include/third_party/blink/renderer/modules/media_controls/touchless/media_controls_touchless_impl.h | Cozdemir/spitfire | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | [
"Apache-2.0"
] | null | null | null | include/third_party/blink/renderer/modules/media_controls/touchless/media_controls_touchless_impl.h | Cozdemir/spitfire | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIA_CONTROLS_TOUCHLESS_MEDIA_CONTROLS_TOUCHLESS_IMPL_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_MEDIA_CONT... | 37.419355 | 127 | 0.821983 | [
"vector"
] |
b3e45f2d40ab4b86d66a68190bd10f618744f10a | 2,146 | h | C | src/utils.h | netromdk/adventofcode | 5a48c266b91d51266df336bb2f23d03dc8299a3a | [
"MIT"
] | null | null | null | src/utils.h | netromdk/adventofcode | 5a48c266b91d51266df336bb2f23d03dc8299a3a | [
"MIT"
] | null | null | null | src/utils.h | netromdk/adventofcode | 5a48c266b91d51266df336bb2f23d03dc8299a3a | [
"MIT"
] | null | null | null | #ifndef UTILS_H
#define UTILS_H
#include <algorithm>
#include <iterator>
#include <numeric>
#include <sstream>
#include <string>
#include <vector>
namespace utils {
std::string readFile(const std::string &path);
template <typename T>
inline std::vector<T> splitValues(const std::string &data, const char delim = '\n'... | 23.326087 | 86 | 0.706431 | [
"vector"
] |
b3e57d480b0344dbc5d0c989c909dc01de16be89 | 1,753 | h | C | Raymond/Source/Defines.h | enci/Raymond | 077b528dec1842c3f36f6643b32fdce2a6d61528 | [
"MIT"
] | null | null | null | Raymond/Source/Defines.h | enci/Raymond | 077b528dec1842c3f36f6643b32fdce2a6d61528 | [
"MIT"
] | null | null | null | Raymond/Source/Defines.h | enci/Raymond | 077b528dec1842c3f36f6643b32fdce2a6d61528 | [
"MIT"
] | 1 | 2020-07-31T23:36:32.000Z | 2020-07-31T23:36:32.000Z | #pragma once
#include <cstdlib>
#include <random>
// Define the ASSERT and DEBUG macros
#if defined(_WIN32)
#define PLATFORM_PC
#if !defined(ASSERT)
#define ASSERT _ASSERT
#endif
#if !defined(ASSERT)
#define assert _ASSERT
#endif
#ifdef _DEBUG
#define DEBUG
#endif
#define UNUSED(x) (void)(x)
#endif
#ifdef DEBUG
#de... | 22.766234 | 81 | 0.669139 | [
"vector"
] |
b3e8ec67d02afdef84b43acc8cee33b99d477f3a | 1,176 | h | C | include/sp2/multiplayer/discovery.h | daid/SeriousProton2 | 6cc9c2291ea63ffc82427ed82f51a84611f7f45c | [
"MIT"
] | 8 | 2018-01-26T20:21:08.000Z | 2021-08-30T20:28:43.000Z | include/sp2/multiplayer/discovery.h | daid/SeriousProton2 | 6cc9c2291ea63ffc82427ed82f51a84611f7f45c | [
"MIT"
] | 7 | 2018-10-28T14:52:25.000Z | 2020-12-28T19:59:04.000Z | include/sp2/multiplayer/discovery.h | daid/SeriousProton2 | 6cc9c2291ea63ffc82427ed82f51a84611f7f45c | [
"MIT"
] | 7 | 2017-05-27T16:33:37.000Z | 2022-02-18T14:07:17.000Z | #ifndef SP2_MULTIPLAYER_DISCOVERY_H
#define SP2_MULTIPLAYER_DISCOVERY_H
#include <sp2/updatable.h>
#include <sp2/string.h>
#include <sp2/io/network/udpSocket.h>
namespace sp {
namespace multiplayer {
class Discovery : public Updatable
{
public:
class ServerInfo
{
public:
enum class Type
{... | 21 | 78 | 0.681122 | [
"vector"
] |
b62284c30b70b90d97a965cd263c2d8cc8f8db97 | 995 | h | C | Project/ModuleImGui.h | albertllopart/GTi-Engine-Reborn | 87d3137866488075f534e50a9480180d1f6354c0 | [
"MIT"
] | 1 | 2020-03-19T18:07:32.000Z | 2020-03-19T18:07:32.000Z | Project/ModuleImGui.h | albertllopart/GTi-Engine-Reborn | 87d3137866488075f534e50a9480180d1f6354c0 | [
"MIT"
] | null | null | null | Project/ModuleImGui.h | albertllopart/GTi-Engine-Reborn | 87d3137866488075f534e50a9480180d1f6354c0 | [
"MIT"
] | null | null | null | #ifndef __MODULEIMGUI_H__
#define __MODULEIMGUI_H__
#include "Module.h"
#include "Globals.h"
class ModuleImGui : public Module
{
public:
ModuleImGui(Application* app, bool start_enabled = true);
~ModuleImGui();
bool Start();
bool CleanUp();
update_status Update(float dt);
update_status PreUpdate(float dt);
... | 20.306122 | 58 | 0.737688 | [
"vector"
] |
b33d8777448a1b2c8c75fdf11c604be889de16ea | 1,978 | h | C | import/quickitems/categories/color/TonalCorrection.h | yanglqq/photo | 68928ef09c5274e398c81be2c6ec686b2a95d033 | [
"MIT"
] | null | null | null | import/quickitems/categories/color/TonalCorrection.h | yanglqq/photo | 68928ef09c5274e398c81be2c6ec686b2a95d033 | [
"MIT"
] | null | null | null | import/quickitems/categories/color/TonalCorrection.h | yanglqq/photo | 68928ef09c5274e398c81be2c6ec686b2a95d033 | [
"MIT"
] | null | null | null | #ifndef TONALCORRECTION_H
#define TONALCORRECTION_H
#include <QQuickItem>
#include "../../../image.h"
#include "../../controls/Curve.h"
class TonalCorrection : public Curve
{
Q_OBJECT
Q_ENUMS(SpaceComponent)
Q_PROPERTY(SpaceComponent component READ component WRITE setComponent)
public:
enum SpaceCompo... | 26.373333 | 80 | 0.565217 | [
"vector"
] |
b342476ecf2c5f09a59fe80da6bc7efdc16a6207 | 10,773 | h | C | inetsrv/iis/svcs/cmp/webdav/inc/memx.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/svcs/cmp/webdav/inc/memx.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/svcs/cmp/webdav/inc/memx.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*
* M E M X . H
*
* Default implementation of DAV allocators.
*
* It is possible that sometime in the future we may decide that different
* implementations of DAV may require different allocator implementations,
* so each DAV implementation has its own allocator implementation file
* (mem.cpp) in its o... | 21.589178 | 87 | 0.61979 | [
"object"
] |
b3457f0334b65215f218927063ad4c976ea70491 | 4,101 | c | C | platform/lpc/gen_1/adc_oneshot.c | stxent/lpclib | d1190bbacd68d72d9f04b71a1e208702aa838986 | [
"MIT"
] | 3 | 2015-06-06T18:37:13.000Z | 2021-01-29T15:51:45.000Z | platform/lpc/gen_1/adc_oneshot.c | stxent/lpclib | d1190bbacd68d72d9f04b71a1e208702aa838986 | [
"MIT"
] | null | null | null | platform/lpc/gen_1/adc_oneshot.c | stxent/lpclib | d1190bbacd68d72d9f04b71a1e208702aa838986 | [
"MIT"
] | null | null | null | /*
* adc_oneshot.c
* Copyright (C) 2013 xent
* Project is distributed under the terms of the MIT License
*/
#include <halm/platform/lpc/adc_oneshot.h>
#include <halm/platform/lpc/gen_1/adc_defs.h>
#include <assert.h>
#include <string.h>
/*----------------------------------------------------------------------------... | 29.292857 | 80 | 0.579615 | [
"object"
] |
b34bca9e70895eb6b6e68a7c9f56c2ed423d75ec | 1,131 | h | C | provider/BalancerEstablisher.h | Tasarak/3DCloud | bd44e8ff4d6071efc7e9be1932c55c4152b257cb | [
"MIT"
] | null | null | null | provider/BalancerEstablisher.h | Tasarak/3DCloud | bd44e8ff4d6071efc7e9be1932c55c4152b257cb | [
"MIT"
] | null | null | null | provider/BalancerEstablisher.h | Tasarak/3DCloud | bd44e8ff4d6071efc7e9be1932c55c4152b257cb | [
"MIT"
] | null | null | null | //
// Created by Jakub Klemens on 27/08/2018.
//
#ifndef INC_3DCLOUD_BALANCERESTABLISHER_H
#define INC_3DCLOUD_BALANCERESTABLISHER_H
#include <vector>
#include <memory>
#include <iostream>
#include <string>
#include <thread>
#include <chrono>
#include <grpcpp/grpcpp.h>
#include <grpc/support/log.h>
#include <log4cp... | 22.176471 | 97 | 0.706454 | [
"vector"
] |
b3504f473dd1681ec23c9f5daec02c71dca4a2b3 | 3,886 | h | C | chromium/blimp/engine/browser/engine_render_widget_feature.h | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/blimp/engine/browser/engine_render_widget_feature.h | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/blimp/engine/browser/engine_render_widget_feature.h | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BLIMP_ENGINE_BROWSER_ENGINE_RENDER_WIDGET_FEATURE_H_
#define BLIMP_ENGINE_BROWSER_ENGINE_RENDER_WIDGET_FEATURE_H_
#include <stdint.h>
#include <... | 37.728155 | 80 | 0.781523 | [
"render",
"vector"
] |
b361f7f5bf6d100bc32f4e450b1c41cff975aae4 | 338,558 | c | C | bin/cache/stdlib_system.nim.c | shayanhabibi/gitnim | 73bcc6c162a3571ee61cdcd18963e62d1c8356b8 | [
"MIT"
] | null | null | null | bin/cache/stdlib_system.nim.c | shayanhabibi/gitnim | 73bcc6c162a3571ee61cdcd18963e62d1c8356b8 | [
"MIT"
] | null | null | null | bin/cache/stdlib_system.nim.c | shayanhabibi/gitnim | 73bcc6c162a3571ee61cdcd18963e62d1c8356b8 | [
"MIT"
] | null | null | null | /* Generated by Nim Compiler v1.4.8 */
/* (c) 2021 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Windows, amd64, gcc */
/* Command for C compiler:
gcc.exe -c -w -fmax-errors=3 -mno-ms-bitfields -DWIN32_LEAN_AND_MEAN -pg -O3 -fno-strict-aliasing -fno-ident -IC:\Us... | 38.829912 | 418 | 0.726682 | [
"object"
] |
b364838fda23a3ea9ad7ee651cabceb922f627b5 | 4,350 | c | C | life_game_lib.c | toku-sa-n/life_game | 9590f142c43aed127d1ccbc7a94f155d0954cef8 | [
"MIT"
] | null | null | null | life_game_lib.c | toku-sa-n/life_game | 9590f142c43aed127d1ccbc7a94f155d0954cef8 | [
"MIT"
] | null | null | null | life_game_lib.c | toku-sa-n/life_game | 9590f142c43aed127d1ccbc7a94f155d0954cef8 | [
"MIT"
] | null | null | null | #include <curses.h>
#include <stdio.h>
#include <stdlib.h>
// Returns positive reminder.
int positive_modulo(int number, int denom)
{
return (number % denom + denom) % denom;
}
// Creates two-dimension array and returns the pointer to that.
// After calling this function, User must call free_two_dimension_array f... | 31.751825 | 118 | 0.534483 | [
"3d"
] |
b36b5c6dc761144aa429ab49fee0f56fc6a0fcae | 1,430 | h | C | parser/Sdk_State.h | Kai-Builder/SDKL | 64068c2fe998af4086737d87b0bf2a4413d30a92 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-04-09T00:44:40.000Z | 2021-04-22T22:47:50.000Z | parser/Sdk_State.h | Kai-Builder/SDKL | 64068c2fe998af4086737d87b0bf2a4413d30a92 | [
"Apache-2.0",
"MIT"
] | null | null | null | parser/Sdk_State.h | Kai-Builder/SDKL | 64068c2fe998af4086737d87b0bf2a4413d30a92 | [
"Apache-2.0",
"MIT"
] | null | null | null | /* Compiler State Definitions */
#ifndef SDK_L_SDK_STATE_H
#define SDK_L_SDK_STATE_H
#include <vector>
#include <string>
#include "Sdk_Class.h"
#include "../tokenizer/types.h"
/**
* An SDK Parser Instance. For Parser Class Decorators view See also Below.
* @see Sdk_Class.h
* @tparam T
*/
template<typename T>
clas... | 19.861111 | 133 | 0.597902 | [
"vector"
] |
b36fbd8275b614f66d4924f7ba643f35fe530eae | 6,605 | h | C | gmod_specific/SDK/Engine/VGui.h | maxkray13/ZepamGMOD | c0d206e0cd238c31d9575c2f2a40b3ce2dad1e8c | [
"MIT"
] | 3 | 2021-06-27T07:57:03.000Z | 2021-09-27T04:05:49.000Z | gmod_specific/SDK/Engine/VGui.h | maxkray13/ZepamGMOD | c0d206e0cd238c31d9575c2f2a40b3ce2dad1e8c | [
"MIT"
] | 1 | 2021-06-27T11:23:30.000Z | 2021-08-01T04:35:39.000Z | gmod_specific/SDK/Engine/VGui.h | maxkray13/ZepamGMOD | c0d206e0cd238c31d9575c2f2a40b3ce2dad1e8c | [
"MIT"
] | 3 | 2021-06-28T06:31:48.000Z | 2021-09-27T04:05:50.000Z | #pragma once
class IClientPanel
{
public:
virtual VPANEL GetVPanel() = 0;
// straight interface to Panel functions
virtual void Think() = 0;
virtual void PerformApplySchemeSettings() = 0;
virtual void PaintTraverse(bool forceRepaint, bool allowForce) = 0;
virtual void Repaint() = 0;
virtual VPANEL Is... | 43.169935 | 127 | 0.736715 | [
"object"
] |
b373e0630f9d3bf69a9a594859acd2da60827aee | 2,342 | h | C | Stef/pfgen.h | SteDeshain/Interface | 059a267a2b04bfe1dc26fb11276784fd226dc1d4 | [
"MIT"
] | 7 | 2016-10-21T02:49:47.000Z | 2020-06-27T14:09:52.000Z | Stef/pfgen.h | SteDeshain/Interface | 059a267a2b04bfe1dc26fb11276784fd226dc1d4 | [
"MIT"
] | null | null | null | Stef/pfgen.h | SteDeshain/Interface | 059a267a2b04bfe1dc26fb11276784fd226dc1d4 | [
"MIT"
] | null | null | null | #ifndef __STEF_PFGEN_H__
#define __STEF_PFGEN_H__
#include <vector>
#include "core.h"
#include "particle.h"
namespace stef
{
class ParticleForceGenerator
{
public:
virtual void UpdateForce(Particle* particle, real duration) = 0;
};
class ParticleForceRegistry
{
protected:
struct ParticleForceRegistration... | 20.54386 | 81 | 0.733134 | [
"vector"
] |
b3820564b947133ac9e1a167890b1624cd9096d1 | 39,602 | c | C | sdktools/winobj/wfinit.c | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | sdktools/winobj/wfinit.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | sdktools/winobj/wfinit.c | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /****************************************************************************/
/* */
/* WFINIT.C - */
/* */
... | 30.001515 | 129 | 0.517524 | [
"solid"
] |
b38a0ae2c4395165fc8c5702dc5e6e592f8864d4 | 2,149 | h | C | src_rebuild/Game/C/map.h | nahimr/REDRIVER2 | dbe4e8999338da07dc69aa58691cd66e0532c191 | [
"MIT"
] | 681 | 2020-11-04T17:18:10.000Z | 2022-03-30T05:14:25.000Z | src_rebuild/Game/C/map.h | nahimr/REDRIVER2 | dbe4e8999338da07dc69aa58691cd66e0532c191 | [
"MIT"
] | 147 | 2020-11-03T08:35:42.000Z | 2022-03-28T23:10:18.000Z | src_rebuild/Game/C/map.h | nahimr/REDRIVER2 | dbe4e8999338da07dc69aa58691cd66e0532c191 | [
"MIT"
] | 63 | 2020-11-08T20:21:00.000Z | 2022-03-29T21:25:15.000Z | #ifndef MAP_H
#define MAP_H
#ifdef PSX
// original Driver 2 definition
#define MAP_REGION_SIZE 32
#define MAP_CELL_SIZE 2048
#else
extern OUT_CELL_FILE_HEADER cell_header;
// universal definition
// size in cells
#define MAP_REGION_SIZE cell_header.region_size
// cell size
#define MAP_CELL_SIZE cell_heade... | 25.583333 | 103 | 0.801768 | [
"vector"
] |
b393a70236f18b3d0bfcb99a6c3fab6eb1adc1dc | 20,082 | c | C | Parcial1_MGII_3907/Temp/StagingArea/Data/il2cppOutput/System.Core_CodeGen.c | JullyKE/ShootEmUp | b273e3239a7a5022c399587e99b8bc55e3990e98 | [
"MIT"
] | 2 | 2022-03-17T20:27:26.000Z | 2022-03-17T20:30:09.000Z | Parcial1_MGII_3907/Temp/StagingArea/Data/il2cppOutput/System.Core_CodeGen.c | JullyKE/ShootEmUp | b273e3239a7a5022c399587e99b8bc55e3990e98 | [
"MIT"
] | null | null | null | Parcial1_MGII_3907/Temp/StagingArea/Data/il2cppOutput/System.Core_CodeGen.c | JullyKE/ShootEmUp | b273e3239a7a5022c399587e99b8bc55e3990e98 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen-metadata.h"
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
// 0x00000001 System.Exception System.Linq.Error::ArgumentNull(System.String)
extern void Error_ArgumentNull_mCA126ED8F4... | 37.466418 | 207 | 0.74868 | [
"object"
] |
b39995f08767d90747a861318b5fcf8c71d2c072 | 2,829 | h | C | ForwardBackward.h | maniezzo/MatheuristicsGAP | 80cd27b02776b7751cdbb762fda8e5c58b7833ae | [
"MIT"
] | 6 | 2020-02-26T14:06:12.000Z | 2021-10-06T06:47:20.000Z | ForwardBackward.h | maniezzo/MatheuristicsGAP | 80cd27b02776b7751cdbb762fda8e5c58b7833ae | [
"MIT"
] | null | null | null | ForwardBackward.h | maniezzo/MatheuristicsGAP | 80cd27b02776b7751cdbb762fda8e5c58b7833ae | [
"MIT"
] | 7 | 2019-02-16T15:43:43.000Z | 2021-12-22T07:12:41.000Z | #ifndef FANDB_H
#define FANDB_H
#include "GAP.h"
#include <list>
#include <algorithm> // std::copy
class FandB
{
public:
GeneralizedAssignemnt* GAP;
FandB(GeneralizedAssignemnt*, int&);
~FandB();
int forwardBackward(int** c, int delta, int maxNodes, bool fVerbose);
private:
//... | 49.631579 | 162 | 0.669141 | [
"vector"
] |
b399d1b4a4b3b578447594edc69ca85c6f793e35 | 2,869 | h | C | deps/StrainEnergy/StrainEnergy.h | kailaix/AdFem.jl | 77eabfeedb297570a42d1f26575c59f0712796d9 | [
"MIT"
] | 47 | 2020-10-18T01:33:11.000Z | 2022-03-16T00:13:24.000Z | deps/StrainEnergy/StrainEnergy.h | kailaix/AdFem.jl | 77eabfeedb297570a42d1f26575c59f0712796d9 | [
"MIT"
] | 10 | 2020-10-19T03:51:31.000Z | 2022-03-22T23:38:46.000Z | deps/StrainEnergy/StrainEnergy.h | kailaix/AdFem.jl | 77eabfeedb297570a42d1f26575c59f0712796d9 | [
"MIT"
] | 11 | 2020-11-05T11:34:16.000Z | 2022-03-03T19:30:09.000Z | #include <vector>
#include <eigen3/Eigen/Core>
using std::vector;
static const double pts[] = {(-1/sqrt(3)+1.0)/2.0, (1/sqrt(3)+1.0)/2.0};
void SE_forward(double *out, const double *S, int m, int n, double h){
Eigen::Matrix<double,3,8> Bs[4];
Eigen::Matrix<double,1,3> s;
Eigen::Vector<int,8> dof;
... | 32.977011 | 127 | 0.386197 | [
"vector"
] |
b39b4d40ee11760d406ceb9771c59679218d6542 | 702 | h | C | 3. Cooperative Autonomy/Programa/SensorDataTask.h | diegoalejogm/Mobile-Robotics-Projects | 9b3535766ab785021c693627d3b61d3fb064e1e3 | [
"MIT"
] | 2 | 2019-01-28T16:12:52.000Z | 2019-04-18T03:04:58.000Z | 3. Cooperative Autonomy/Programa/SensorDataTask.h | diegoalejogm/RoboticsProject | 9b3535766ab785021c693627d3b61d3fb064e1e3 | [
"MIT"
] | null | null | null | 3. Cooperative Autonomy/Programa/SensorDataTask.h | diegoalejogm/RoboticsProject | 9b3535766ab785021c693627d3b61d3fb064e1e3 | [
"MIT"
] | 1 | 2018-05-20T15:51:13.000Z | 2018-05-20T15:51:13.000Z | #pragma once
#include "Aria.h"
#include "IntegerPoint2D.h"
#include "Transformation.h"
class SensorDataTask
{
public:
// Constructor. Adds our 'user task' to the given robot object.
SensorDataTask(ArRobot *robot);
// Destructor. Removes our user task from the robot
~SensorDataTask(void);
// This method will be c... | 23.4 | 64 | 0.767806 | [
"object"
] |
b3a8eb6f9869fd4723aa9aea800b7cfac509446b | 1,859 | h | C | include/archgraph/EvalRule.h | xzrunner/ce | d27d00488300560db8cb7a570c34297b4eb870e9 | [
"MIT"
] | null | null | null | include/archgraph/EvalRule.h | xzrunner/ce | d27d00488300560db8cb7a570c34297b4eb870e9 | [
"MIT"
] | null | null | null | include/archgraph/EvalRule.h | xzrunner/ce | d27d00488300560db8cb7a570c34297b4eb870e9 | [
"MIT"
] | null | null | null | #pragma once
#include "archgraph/typedef.h"
#include "archgraph/Rule.h"
#include "archgraph/EvalContext.h"
#include <cga/typedef.h>
#include <map>
#include <memory>
#include <vector>
#include <sstream>
namespace archgraph
{
class EvalRule
{
public:
EvalRule() {}
void AddRule(const RulePtr& rule);
Rul... | 23.2375 | 76 | 0.669715 | [
"vector"
] |
b3bb5a4bb27df6670fb437de0749e32553ddd7ad | 454 | h | C | Plugins/Mipf_Plugin_Simulation/DER/SceneLoader.h | linson7017/MIPF | adf982ae5de69fca9d6599fbbbd4ca30f4ae9767 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2017-04-13T06:01:49.000Z | 2019-12-04T07:23:53.000Z | Plugins/Mipf_Plugin_Simulation/DER/SceneLoader.h | linson7017/MIPF | adf982ae5de69fca9d6599fbbbd4ca30f4ae9767 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2017-10-27T02:00:44.000Z | 2017-10-27T02:00:44.000Z | Plugins/Mipf_Plugin_Simulation/DER/SceneLoader.h | linson7017/MIPF | adf982ae5de69fca9d6599fbbbd4ca30f4ae9767 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-09-06T01:59:07.000Z | 2019-12-04T07:23:54.000Z | #ifndef SCENELOADER_H
#define SCENELOADER_H
#include "Scene.h"
class SceneLoader
{
public:
SceneLoader();
~SceneLoader();
Scene* loadTestScene();
GuideWire* createGuideWireScene(const mg::Vec3D& entrancePoint, const mg::Vec3D& headingDirection, const std::vector<vtkSmartPointer<vtkPolyData>>& object... | 20.636364 | 216 | 0.735683 | [
"vector"
] |
b3bbe9829a025a28db20a9939b3c3cb5e62b8ec8 | 15,704 | h | C | sabre/include/sabre/AST.h | OmarHadhoud/sabre | d4f21fa05e6b6d4bebd4c64a3025daddd52b2003 | [
"BSD-3-Clause"
] | null | null | null | sabre/include/sabre/AST.h | OmarHadhoud/sabre | d4f21fa05e6b6d4bebd4c64a3025daddd52b2003 | [
"BSD-3-Clause"
] | null | null | null | sabre/include/sabre/AST.h | OmarHadhoud/sabre | d4f21fa05e6b6d4bebd4c64a3025daddd52b2003 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "sabre/Tkn.h"
#include "sabre/Expr_Value.h"
#include <mn/Buf.h>
#include <mn/Memory.h>
namespace sabre
{
struct Expr;
struct Decl;
struct Type_Sign;
// represents a type signature atom
struct Type_Sign_Atom
{
enum KIND
{
KIND_NAMED,
KIND_ARRAY,
KIND_TEMPLATED,
};
KIND ... | 20.772487 | 128 | 0.678617 | [
"geometry"
] |
b3bc2b68d66274451a77accb0a5a9ac96af31066 | 1,834 | h | C | ARCo Connection/ARCResult.h | 7studios/RestRocket | 4b8eee466d74386d85dea4784b13a712683d518f | [
"Apache-2.0"
] | null | null | null | ARCo Connection/ARCResult.h | 7studios/RestRocket | 4b8eee466d74386d85dea4784b13a712683d518f | [
"Apache-2.0"
] | null | null | null | ARCo Connection/ARCResult.h | 7studios/RestRocket | 4b8eee466d74386d85dea4784b13a712683d518f | [
"Apache-2.0"
] | null | null | null | //
// CKResult.h
// CoreKit
//
// Created by Matt Newberry on 7/18/11.
// Copyright 2011 MNDCreative, LLC. All rights reserved.
//
@class ARCRequestor;
/** Standard interface to handle HTTP responses and local CoreData fetch requests */
@interface ARCResult : NSObject {
NSDictionary* _objects;
... | 23.818182 | 142 | 0.703381 | [
"object"
] |
27b05295e1a03e85c43fb222bed8ff51b90a9901 | 1,663 | h | C | FBRAlg.h | HujiOS/Ex4 | 4694c1cd613b7cacfbb3935e7d1b22b03facd10d | [
"MIT"
] | null | null | null | FBRAlg.h | HujiOS/Ex4 | 4694c1cd613b7cacfbb3935e7d1b22b03facd10d | [
"MIT"
] | null | null | null | FBRAlg.h | HujiOS/Ex4 | 4694c1cd613b7cacfbb3935e7d1b22b03facd10d | [
"MIT"
] | null | null | null | //
// Created by omer on 6/3/17.
//
#include "Algorithm.h"
#include <math.h>
#include <assert.h>
#ifndef EX3_FBRALG_H
#define EX3_FBRALG_H
class FBRAlg : public Algorithm{
public:
FBRAlg(int blknum, double f_old, double f_new):Algorithm(blknum),_old(f_old),_new(f_new){}
// TODO pay attention to case that we ar... | 28.186441 | 94 | 0.509922 | [
"vector"
] |
27b11c437520c8c9116345b3217a5afc703f938d | 17,797 | h | C | chess_validator/ChessBoard.h | JKalash/chess-validator | 75b972abd29e4d7cc81990ae71c86ce478c07581 | [
"MIT"
] | 1 | 2017-11-27T16:20:38.000Z | 2017-11-27T16:20:38.000Z | chess_validator/ChessBoard.h | JKalash/chess-validator | 75b972abd29e4d7cc81990ae71c86ce478c07581 | [
"MIT"
] | null | null | null | chess_validator/ChessBoard.h | JKalash/chess-validator | 75b972abd29e4d7cc81990ae71c86ce478c07581 | [
"MIT"
] | null | null | null | //
// ChessBoard.h
// chess_validator
//
// Created by Joseph Kalash on 11/27/17.
// Copyright © 2017 Joseph Kalash. All rights reserved.
//
#ifndef Board_h
#define Board_h
#include <vector>
#include <utility>
#include <assert.h>
#include "Rook.h"
#include "Pawn.h"
#include "Knight.h"
#include "Bishop.h"
#includ... | 41.292343 | 294 | 0.526437 | [
"vector"
] |
27c9f22735f4123c7e873f595bc8983224d59896 | 3,080 | h | C | R-package/src/R_object_helper.h | Derek-Xiao/LightGBM | 011fe02487a13d33058fe922b08921c8a71081eb | [
"MIT"
] | 59 | 2017-03-09T15:33:52.000Z | 2021-09-16T05:47:10.000Z | R-package/src/R_object_helper.h | Derek-Xiao/LightGBM | 011fe02487a13d33058fe922b08921c8a71081eb | [
"MIT"
] | 1 | 2017-03-09T07:43:02.000Z | 2017-04-09T19:34:06.000Z | R-package/src/R_object_helper.h | Derek-Xiao/LightGBM | 011fe02487a13d33058fe922b08921c8a71081eb | [
"MIT"
] | 17 | 2017-03-27T06:37:47.000Z | 2020-05-28T09:17:38.000Z | /*
* A simple wrapper for accessing data in R object.
* Due to license issue(GPLv2), we cannot include R's header file, so use this simple wrapper instead.
* However, if R changes the way it defines objects, this file will need to be updated as well.
*/
#ifndef R_OBJECT_HELPER_H_
#define R_OBJECT_HELPER_H_
#include <c... | 20.263158 | 101 | 0.666234 | [
"object"
] |
27da17c455501cb1fdeb72828e7913ad119e5580 | 2,619 | h | C | src/alphahttpd.h | stsaz/alphahttpd | 9cd051a64102dfc9e5a543f9c1a4a6b6b7ad8b98 | [
"BSD-2-Clause"
] | null | null | null | src/alphahttpd.h | stsaz/alphahttpd | 9cd051a64102dfc9e5a543f9c1a4a6b6b7ad8b98 | [
"BSD-2-Clause"
] | null | null | null | src/alphahttpd.h | stsaz/alphahttpd | 9cd051a64102dfc9e5a543f9c1a4a6b6b7ad8b98 | [
"BSD-2-Clause"
] | null | null | null | /** alphahttpd: shared types and functions
2022, Simon Zolin */
#pragma once
#include <FFOS/error.h>
#include <FFOS/kcall.h>
#include <FFOS/socket.h>
#include <FFOS/string.h>
#include <FFOS/thread.h>
#include <FFOS/time.h>
#include <FFOS/timerqueue.h>
#include <ffbase/vector.h>
#define AHD_VER "0.4"
typedef unsigned... | 22.773913 | 105 | 0.746468 | [
"vector"
] |
27de792de6a0d7953af2289c6566208d34f871a6 | 5,055 | h | C | SDK/BP_LocomotionFunctionLibrary_classes.h | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 3 | 2021-03-27T08:30:37.000Z | 2021-04-18T19:32:53.000Z | SDK/BP_LocomotionFunctionLibrary_classes.h | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | null | null | null | SDK/BP_LocomotionFunctionLibrary_classes.h | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 1 | 2021-06-01T03:05:50.000Z | 2021-06-01T03:05:50.000Z | #pragma once
// Name: SeaOfThieves, Version: 2.0.23
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//----------------------------------------------------... | 70.208333 | 354 | 0.808902 | [
"transform"
] |
27f37a67f563308888c3f5c1ad6cbe04a68b7432 | 4,173 | c | C | src/arch/unix/gui/uic64dtv.c | swingflip/C64_mini_VICE | 7a6d9d41ae60409a2bb985bb8d6324a7269a0daa | [
"Apache-2.0"
] | 2 | 2018-11-15T19:52:34.000Z | 2022-01-17T19:45:01.000Z | src/arch/unix/gui/uic64dtv.c | Classicmods/C64_mini_VICE | 7a6d9d41ae60409a2bb985bb8d6324a7269a0daa | [
"Apache-2.0"
] | null | null | null | src/arch/unix/gui/uic64dtv.c | Classicmods/C64_mini_VICE | 7a6d9d41ae60409a2bb985bb8d6324a7269a0daa | [
"Apache-2.0"
] | 3 | 2019-06-30T05:37:04.000Z | 2021-12-04T17:12:35.000Z | /*
* uic64dtv.c
*
* Written by
* Marco van den Heuvel <blackystardust68@yahoo.com>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... | 29.807143 | 143 | 0.687275 | [
"model"
] |
7e043222861f2dcd5fd6bd9b55e1b2db415240a8 | 1,670 | h | C | smtk/mesh/pybind11/PybindCellTypes.h | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/mesh/pybind11/PybindCellTypes.h | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/mesh/pybind11/PybindCellTypes.h | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 34.791667 | 100 | 0.647904 | [
"mesh"
] |
7e0a4669023c8a1a53d458207bbedd2040715ea0 | 4,742 | h | C | include/mpl/mcoredef.h | i-black-angel/libpunica | 1a60e54a7c61d6e7f9bd68801d8c9fa3c4b87efb | [
"Apache-2.0"
] | null | null | null | include/mpl/mcoredef.h | i-black-angel/libpunica | 1a60e54a7c61d6e7f9bd68801d8c9fa3c4b87efb | [
"Apache-2.0"
] | null | null | null | include/mpl/mcoredef.h | i-black-angel/libpunica | 1a60e54a7c61d6e7f9bd68801d8c9fa3c4b87efb | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2017 Shusheng Shao <iblackangel@163.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 23.475248 | 78 | 0.650569 | [
"vector"
] |
5f2b8d83275f3e2f78b65f1810b2427f27b8b812 | 6,601 | h | C | src/prod/src/Reliability/LoadBalancing/BalanceCheckerCreator.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Reliability/LoadBalancing/BalanceCheckerCreator.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Reliability/LoadBalancing/BalanceCheckerCreator.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
#include "NodeDe... | 44.006667 | 134 | 0.653689 | [
"object",
"vector"
] |
5f41bc795363c42b52f635955e63e41a99752175 | 52,245 | c | C | db-5.3.28.NC/src/repmgr/repmgr_util.c | iadix/iadixcoin | 421e4ebed8d36bce4a2a4e06977de3dcc37d9246 | [
"MIT"
] | 66 | 2017-09-29T07:09:59.000Z | 2020-01-12T06:45:08.000Z | db-5.3.28.NC/src/repmgr/repmgr_util.c | iadix/iadixcoin | 421e4ebed8d36bce4a2a4e06977de3dcc37d9246 | [
"MIT"
] | 5 | 2017-12-13T13:12:05.000Z | 2018-01-18T10:34:02.000Z | db-5.3.28.NC/src/repmgr/repmgr_util.c | iadix/iadixcoin | 421e4ebed8d36bce4a2a4e06977de3dcc37d9246 | [
"MIT"
] | 11 | 2017-12-05T07:02:05.000Z | 2018-01-28T02:52:50.000Z | /*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2013 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/btree.h"
#include "dbinc/txn.h"
#define INITIAL_SITES_ALLOCATION 3 /... | 24.949857 | 80 | 0.668121 | [
"vector"
] |
5f6773e174f77be3585a24b9ad467ee0910d1a51 | 1,008 | h | C | chrome/plugin/src/ScriptingCore/AsyncFunctionCall.h | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | 4 | 2017-05-08T08:23:19.000Z | 2019-03-29T04:41:47.000Z | chrome/plugin/src/ScriptingCore/AsyncFunctionCall.h | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | null | null | null | chrome/plugin/src/ScriptingCore/AsyncFunctionCall.h | Faham/bric-n-brac | c886e0855869a794700eb385171bbf5bfd595aed | [
"Apache-2.0"
] | null | null | null | /**********************************************************\
Original Author: Richard Bateman (taxilian)
Created: Oct 22, 2009
License: Dual license model; choose one of two:
New BSD License
http://www.opensource.org/licenses/bsd-license.php
- or -
GNU Lesser Gener... | 24.585366 | 70 | 0.583333 | [
"model"
] |
5f6f48d927d222d9be24fbb4c2a0459f19035f04 | 374 | h | C | Engine/Image.h | AutoSync/LightningEngine | 0c3b0daba4399aa71d56327254caca59cb5f4858 | [
"Apache-2.0"
] | null | null | null | Engine/Image.h | AutoSync/LightningEngine | 0c3b0daba4399aa71d56327254caca59cb5f4858 | [
"Apache-2.0"
] | null | null | null | Engine/Image.h | AutoSync/LightningEngine | 0c3b0daba4399aa71d56327254caca59cb5f4858 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Types.h"
#include "Shader.h"
namespace Lightning
{
class Image
{
public:
Image();
void Import(const char* vertex_path, const char* fragment_path, ShaderSource* Handler);
//Load textures into the 3d model
uint TextureFromFile(const char* path, const string& directory, bool gamma = fal... | 19.684211 | 89 | 0.724599 | [
"model",
"3d"
] |
5f7c1064b9b990767a364bdb305c5c76b321b2e9 | 7,050 | c | C | src/dispatch_common.c | garbageslam/empoxy | 6898892ecf0039766f92a604bd93f90fc6aff3ce | [
"MIT"
] | 2 | 2021-10-30T02:17:51.000Z | 2021-10-30T11:42:32.000Z | src/dispatch_common.c | cbeck88/empoxy | 6898892ecf0039766f92a604bd93f90fc6aff3ce | [
"MIT"
] | null | null | null | src/dispatch_common.c | cbeck88/empoxy | 6898892ecf0039766f92a604bd93f90fc6aff3ce | [
"MIT"
] | 1 | 2022-02-18T03:46:22.000Z | 2022-02-18T03:46:22.000Z | /*
* Copyright © 2013-2014 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge... | 32.943925 | 80 | 0.678014 | [
"object"
] |
5f7e67026e2307967bab48c8cf3d4bee270db154 | 1,936 | h | C | Frameworks/CNISDKCoreKit.framework/Headers/CNISDKAPIManager+PreCheckin.h | conichiGMBH/conichi-ios-sdk-wiki | d5e7ee9bcecfdd9ac476e47643f4966c68b7ce3d | [
"BSD-4-Clause"
] | null | null | null | Frameworks/CNISDKCoreKit.framework/Headers/CNISDKAPIManager+PreCheckin.h | conichiGMBH/conichi-ios-sdk-wiki | d5e7ee9bcecfdd9ac476e47643f4966c68b7ce3d | [
"BSD-4-Clause"
] | null | null | null | Frameworks/CNISDKCoreKit.framework/Headers/CNISDKAPIManager+PreCheckin.h | conichiGMBH/conichi-ios-sdk-wiki | d5e7ee9bcecfdd9ac476e47643f4966c68b7ce3d | [
"BSD-4-Clause"
] | null | null | null | //
// CNISDKAPIManager+PreCheckin.h
// conichiSDK
//
// Created by Anton Domashnev on 11/10/15.
// Copyright © 2015 conichi. All rights reserved.
//
#import "CNISDKAPIManager.h"
@class CNISDKVenue;
@class CNISDKCreatePreCheckinRequestInfo;
#import "CNISDKPreCheckinRequest.h"
#import "CNISDKConstants.h"
NS_ASSUM... | 33.964912 | 164 | 0.720558 | [
"object"
] |
5f83e92ab044037d3f93db7a005d9bd1b1b3c127 | 8,231 | h | C | Quake/quakedef.h | swax/Quakespasm-Rift | 37a57bf9e13ecab0119f945f931d89ffe1678d14 | [
"CC-BY-3.0"
] | 1 | 2015-04-16T04:12:42.000Z | 2015-04-16T04:12:42.000Z | Quake/quakedef.h | swax/Quakespasm-Rift | 37a57bf9e13ecab0119f945f931d89ffe1678d14 | [
"CC-BY-3.0"
] | null | null | null | Quake/quakedef.h | swax/Quakespasm-Rift | 37a57bf9e13ecab0119f945f931d89ffe1678d14 | [
"CC-BY-3.0"
] | null | null | null | /*
Copyright (C) 1996-2001 Id Software, Inc.
Copyright (C) 2002-2009 John Fitzgibbons and others
Copyright (C) 2007-2008 Kristian Duske
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version ... | 27.345515 | 103 | 0.74183 | [
"render"
] |
5f887f6b48d015cb56ed24142748781f0075d62a | 1,300 | c | C | pads/host/padrcv.c | noelhunt/PadsPi | 636aeeb633ec1c6cf9fe629bb974096586921ed4 | [
"CC0-1.0"
] | null | null | null | pads/host/padrcv.c | noelhunt/PadsPi | 636aeeb633ec1c6cf9fe629bb974096586921ed4 | [
"CC0-1.0"
] | null | null | null | pads/host/padrcv.c | noelhunt/PadsPi | 636aeeb633ec1c6cf9fe629bb974096586921ed4 | [
"CC0-1.0"
] | null | null | null | #include <pads.h>
SRCFILE("padrcv.c")
void PadRcv::invalidate(){
static short uniq;
magic = 0;
oid = ++uniq;
}
#define MAGIC (('P'<<8)|'R')
PadRcv::PadRcv(){
invalidate();
magic = MAGIC;
}
int PadRcv::isvalid() { return magic == MAGIC; }
PadRcv::~PadRcv() { invalidate(); }
char *PadRcv::help() { return 0; ... | 25 | 76 | 0.636154 | [
"object"
] |
bec9ed7a93b75e9f3f4e3262c5b984ef7e5bd7ce | 6,362 | h | C | conquest_neural/src/core/ConquestLocal.h | kaapomoi/conquest | af2993b7fe7fa1cc7b1c574f56814194b8b11bbd | [
"MIT"
] | null | null | null | conquest_neural/src/core/ConquestLocal.h | kaapomoi/conquest | af2993b7fe7fa1cc7b1c574f56814194b8b11bbd | [
"MIT"
] | 1 | 2021-01-15T14:28:47.000Z | 2021-01-15T14:31:07.000Z | conquest_neural/src/core/ConquestLocal.h | kaapomoi/conquest | af2993b7fe7fa1cc7b1c574f56814194b8b11bbd | [
"MIT"
] | null | null | null | #pragma once
#include <core/Application.h>
#include <core/GameObject.h>
#include <ui/UIGraph.h>
#include <ui/UIFunctionGraph.h>
#include <ui/UIClickableLabel.h>
#include <ui/UIClickableGraph.h>
#include <ui/UIToggleButton.h>
#include <ui/UIMultiLabel.h>
#include <ui/UIProgressBar.h>
#include <ui/UIScoreBar.h>
#includ... | 21.566102 | 168 | 0.747406 | [
"vector"
] |
becf31de0ea0da580fd4c78e68a52267c753421e | 1,456 | h | C | model/ezsigntemplate_create_object_v1_response_m_payload.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | model/ezsigntemplate_create_object_v1_response_m_payload.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | model/ezsigntemplate_create_object_v1_response_m_payload.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | /*
* ezsigntemplate_create_object_v1_response_m_payload.h
*
* Payload for POST /1/object/ezsigntemplate
*/
#ifndef _ezsigntemplate_create_object_v1_response_m_payload_H_
#define _ezsigntemplate_create_object_v1_response_m_payload_H_
#include <string.h>
#include "../external/cJSON.h"
#include "../include/list.h"
#... | 38.315789 | 182 | 0.888049 | [
"object"
] |
bed0e81679fe6f6e2e3cd6fd3feb3e793ccfd27a | 601 | h | C | libcross2d/source/platforms/ps3/tiny3d/rsxutil.h | minkcv/pinballnx | 2a911c144c97278abcff00c237766380908031de | [
"MIT"
] | 6 | 2019-07-01T03:21:02.000Z | 2021-09-13T17:15:01.000Z | libcross2d/source/platforms/ps3/tiny3d/rsxutil.h | minkcv/pinballnx | 2a911c144c97278abcff00c237766380908031de | [
"MIT"
] | 3 | 2019-07-01T03:53:56.000Z | 2020-06-17T09:14:27.000Z | libcross2d/source/platforms/ps3/tiny3d/rsxutil.h | minkcv/pinballnx | 2a911c144c97278abcff00c237766380908031de | [
"MIT"
] | 1 | 2019-07-23T12:28:30.000Z | 2019-07-23T12:28:30.000Z | #pragma once
#include <sysutil/video.h>
#include <rsx/gcm_sys.h>
//extern u32 *buffer[2];
extern gcmContextData *context;
extern videoResolution Video_Resolution;
// Initilize the screen and rsx
void init_screen(int command_buffer, int z_method);
// Block the PPU thread untill the previous flip operation has finish... | 26.130435 | 86 | 0.777038 | [
"render"
] |
bed9e4343525df61c90af3516607e2ccefa7ef8f | 3,133 | h | C | include/tool-semitones.h | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 19 | 2016-06-18T02:03:56.000Z | 2022-02-23T17:26:32.000Z | include/tool-semitones.h | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 43 | 2017-03-09T07:32:12.000Z | 2022-03-23T20:18:35.000Z | include/tool-semitones.h | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 5 | 2019-11-14T22:24:02.000Z | 2021-09-07T18:27:21.000Z | //
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Fri Nov 13 02:39:49 PST 2020
// Last Modified: Sat Nov 14 21:25:27 PST 2020
// Filename: tool-semitones.h
// URL: https://github.com/craigsapp/humlib/blob/master/include/tool-semitones.h
// Syntax: C++11; humlib
//... | 35.602273 | 90 | 0.625598 | [
"vector"
] |
bedcf346a6f483e03c69bef0b0ef4d7011ce623a | 153 | h | C | src/DoTurn.h | sigh/Planet-Wars | 7855ea11143ac97c32cd13bcac42d212c8ed3c30 | [
"Apache-1.1"
] | null | null | null | src/DoTurn.h | sigh/Planet-Wars | 7855ea11143ac97c32cd13bcac42d212c8ed3c30 | [
"Apache-1.1"
] | null | null | null | src/DoTurn.h | sigh/Planet-Wars | 7855ea11143ac97c32cd13bcac42d212c8ed3c30 | [
"Apache-1.1"
] | null | null | null | #ifndef DO_TURN_H_
#define DO_TURN_H_
#include "Player.h"
void DoTurn(const GameState& state, std::vector<Fleet>& orders, Player player = ME);
#endif
| 17 | 84 | 0.745098 | [
"vector"
] |
bef9877097461b8d6320ef3eefa90b287cf4d103 | 351,876 | h | C | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingSimpleLighting/obj/x64/Debug/CompiledShaders/Raytracing.hlsl.h | MeineZ/Shadows-playground | 6ff5030256f54bbbbb17e60d9d7b2ea9bfe37946 | [
"MIT"
] | null | null | null | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingSimpleLighting/obj/x64/Debug/CompiledShaders/Raytracing.hlsl.h | MeineZ/Shadows-playground | 6ff5030256f54bbbbb17e60d9d7b2ea9bfe37946 | [
"MIT"
] | null | null | null | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingSimpleLighting/obj/x64/Debug/CompiledShaders/Raytracing.hlsl.h | MeineZ/Shadows-playground | 6ff5030256f54bbbbb17e60d9d7b2ea9bfe37946 | [
"MIT"
] | null | null | null | #if 0
;
; Note: shader requires additional functionality:
; UAVs at every shader stage
;
; shader debug name: 616a3b67dca28d4e676aedddc6817b89.lld
;
; Buffer Definitions:
;
; cbuffer g_sceneCB
; {
;
; struct g_sceneCB
; {
;
; struct struct.SceneConstantBuffer
; {
;
; ro... | 74.660726 | 6,864 | 0.641232 | [
"geometry",
"vector"
] |
830a60c8d2cede62ab0800cebde068261305479d | 3,934 | h | C | memory.h | btbd/DOOM_Trainer | 644733f53de0cc77fbcbc9cb8b569d2c16f96467 | [
"Apache-2.0"
] | 5 | 2019-12-28T23:16:15.000Z | 2021-05-28T00:32:05.000Z | memory.h | btbd/DOOM_Trainer | 644733f53de0cc77fbcbc9cb8b569d2c16f96467 | [
"Apache-2.0"
] | null | null | null | memory.h | btbd/DOOM_Trainer | 644733f53de0cc77fbcbc9cb8b569d2c16f96467 | [
"Apache-2.0"
] | 2 | 2018-12-27T08:20:22.000Z | 2021-05-28T00:32:06.000Z | #pragma once
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <Windows.h>
#include <tlhelp32.h>
#include <Winternl.h>
#pragma comment(lib, "Ntdll.lib")
typedef struct _THREAD_BASIC_INFORMATION {
NTSTATUS ExitStatus;
PVOID TebBaseAddress;
CLIENT_ID ClientI... | 32.512397 | 94 | 0.778851 | [
"vector"
] |
831acb604969ff382f3995d346087983a3aab4b2 | 1,506 | h | C | deepLearning/ssdector.h | MiniBullLab/easy_sample_mark | b5cefd0bf5eb3971a21bc766ae4945d18bb7782b | [
"Apache-2.0"
] | 1 | 2021-02-06T12:40:27.000Z | 2021-02-06T12:40:27.000Z | deepLearning/ssdector.h | MiniBullLab/easy_sample_mark | b5cefd0bf5eb3971a21bc766ae4945d18bb7782b | [
"Apache-2.0"
] | 19 | 2020-09-14T01:51:45.000Z | 2021-11-21T12:20:53.000Z | deepLearning/ssdector.h | MiniBullLab/easy_sample_mark | b5cefd0bf5eb3971a21bc766ae4945d18bb7782b | [
"Apache-2.0"
] | 1 | 2020-09-26T12:56:54.000Z | 2020-09-26T12:56:54.000Z | #ifndef SSDECTOR_H
#define SSDECTOR_H
#include "caffedetector.h"
#include <QMap>
class SSDector : public CaffeDetector
{
public:
SSDector();
~SSDector();
int initModel(const std::string caffeNet, const std::string caffeModel);
int initDetectorParameters(const int dataWidth, const int dataHeight,
... | 27.381818 | 116 | 0.642098 | [
"vector"
] |
7e93f33b15a338ad8a83c96f6d79dc3d3575bec6 | 2,244 | h | C | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/Inventor/bundles/SoNormalBundle.h | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/Inventor/bundles/SoNormalBundle.h | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/Coin-3.1.3/include/Inventor/bundles/SoNormalBundle.h | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | #ifndef COIN_SONORMALBUNDLE_H
#define COIN_SONORMALBUNDLE_H
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) by Kongsberg Oil & Gas Technologies.
*
* This library is free software; you can redistribute it an... | 34 | 76 | 0.677807 | [
"3d"
] |
7e99cd7b7684fe1b5347058c497e64ca1e6dce57 | 954 | h | C | GRUT Engine/src/Graphics/Models/IMesh.h | lggmonclar/GRUT | b7d06fd314141395b54a86122374f4f955f653cf | [
"MIT"
] | 2 | 2019-02-14T03:20:59.000Z | 2019-03-12T01:34:59.000Z | GRUT Engine/src/Graphics/Models/IMesh.h | lggmonclar/GRUT | b7d06fd314141395b54a86122374f4f955f653cf | [
"MIT"
] | null | null | null | GRUT Engine/src/Graphics/Models/IMesh.h | lggmonclar/GRUT | b7d06fd314141395b54a86122374f4f955f653cf | [
"MIT"
] | null | null | null | #pragma once
#include <GRUTMath.h>
#include "ITexture.h"
#include "Core/Memory/ObjectHandle.h"
class IShader;
namespace GRUT {
struct Vertex {
Math::Vector3 position;
Math::Vector3 normal;
Math::Vector2 texCoords;
Math::Vector3 tangent;
Math::Vector3 bitangent;
};
... | 28.058824 | 132 | 0.604822 | [
"vector"
] |
7ea20a5970b77457f3d59ec6975c1196cf2019ca | 1,475 | c | C | src/internal/fn.c | ianmcook/rlang | e02e4d7590d8627a98719e1a1947d8bd1e17bc46 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/internal/fn.c | ianmcook/rlang | e02e4d7590d8627a98719e1a1947d8bd1e17bc46 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/internal/fn.c | ianmcook/rlang | e02e4d7590d8627a98719e1a1947d8bd1e17bc46 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #include <rlang.h>
#include "internal.h"
sexp* rlang_new_function(sexp* args, sexp* body, sexp* env) {
if (r_typeof(env) != R_TYPE_environment) {
r_abort("`env` must be an environment");
}
args = KEEP(r_vec_coerce(args, R_TYPE_pairlist));
sexp* node = args;
while (node != r_null) {
if (r_node_tag... | 25 | 99 | 0.648814 | [
"transform"
] |
7ec85be7aede45c3f0d054e16d9770091549b648 | 4,119 | h | C | code/pool/mythreadpool.h | linyueQ/hpws-web-server | 300f97614251ce235ceebef010d5a1c641bfbd4c | [
"Apache-2.0"
] | null | null | null | code/pool/mythreadpool.h | linyueQ/hpws-web-server | 300f97614251ce235ceebef010d5a1c641bfbd4c | [
"Apache-2.0"
] | null | null | null | code/pool/mythreadpool.h | linyueQ/hpws-web-server | 300f97614251ce235ceebef010d5a1c641bfbd4c | [
"Apache-2.0"
] | null | null | null | /* 线程池整体思路
*
*/
#include <functional>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <vector>
#include <queue>
#include <future>
#include <atomic>
#include <stdexcept>
#include <signal.h>
class MyThreadPool{
private:
using Task=std::function<void()>; // 设置成void()表示函数不接受任何参数,用bind... | 31.930233 | 98 | 0.587278 | [
"vector"
] |
7ed8c807fc919ca9dccd226f726b3e7dd628989d | 872 | h | C | include/Vec2.h | MartinsLucas/Jogos | e72ac454d19557d3a45211a57e0695bb6c3f104a | [
"MIT"
] | null | null | null | include/Vec2.h | MartinsLucas/Jogos | e72ac454d19557d3a45211a57e0695bb6c3f104a | [
"MIT"
] | 7 | 2019-06-06T17:39:10.000Z | 2019-07-17T07:37:55.000Z | include/Vec2.h | MartinsLucas/Jogos | e72ac454d19557d3a45211a57e0695bb6c3f104a | [
"MIT"
] | null | null | null | #ifndef VEC2_H
#define VEC2_H
#define PI 3.1415926535
#include <iostream>
#include <cmath>
#define PI 3.1415926535
using namespace std;
class Vec2 {
public:
float x;
float y;
Vec2();
Vec2(float x, float y);
float GetAngle(Vec2 target);
float GetDistance(Vec2 target);
Vec2 GetDelta(Vec2 target);
... | 17.44 | 57 | 0.706422 | [
"vector"
] |
7edf8ced3657ee62f880dfc4dcc1cd511667bc15 | 7,291 | h | C | OutputArm.h | ripred/Mimic | 3ebf3d8a7c4123a77ad67f5bdbb0a039a08bc880 | [
"MIT"
] | 1 | 2020-01-13T18:40:56.000Z | 2020-01-13T18:40:56.000Z | OutputArm.h | ripred/Mimic | 3ebf3d8a7c4123a77ad67f5bdbb0a039a08bc880 | [
"MIT"
] | null | null | null | OutputArm.h | ripred/Mimic | 3ebf3d8a7c4123a77ad67f5bdbb0a039a08bc880 | [
"MIT"
] | null | null | null | #ifndef OUTPUT_ARM_H_INCL
#define OUTPUT_ARM_H_INCL
#include <Servo.h>
#include "mimic.h"
enum UpdateMode : unsigned { Immediate, Increment1, IncrementHalf, IncrementTime };
class OutputArm : public Arm {
private:
UpdateMode mode;
public:
Servo pinchServo, wristServo, elbowServo, waistServo;
Pos last, targe... | 34.719048 | 161 | 0.613496 | [
"object"
] |
7ef304639a6816e4dcae085562b77ebfc87bc837 | 6,815 | c | C | c/singly_linked_list/sl_list.c | robot527/Algorithms | 8d45c98d8f5126b96a276f3d8ddcefa3ebe26b83 | [
"BSD-3-Clause"
] | null | null | null | c/singly_linked_list/sl_list.c | robot527/Algorithms | 8d45c98d8f5126b96a276f3d8ddcefa3ebe26b83 | [
"BSD-3-Clause"
] | null | null | null | c/singly_linked_list/sl_list.c | robot527/Algorithms | 8d45c98d8f5126b96a276f3d8ddcefa3ebe26b83 | [
"BSD-3-Clause"
] | null | null | null | /*
* =====================================================================================
*
* Filename: sl_list.c
*
* Description: implementations of singly linked list
*
* Version: 1.0
* Created: 03/09/2016 05:46:42 PM
* Revision: none
* Compiler: gcc
*
* A... | 16.073113 | 88 | 0.571387 | [
"3d"
] |
7d122f4f0ccb0809fd5739266427b326aa9e5f94 | 327 | h | C | homework/tic_tac_toe/tic_tac_toe_4.h | acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-MahdevGiri | 91322930bedf6897b6244c778c707231560ccb15 | [
"MIT"
] | null | null | null | homework/tic_tac_toe/tic_tac_toe_4.h | acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-MahdevGiri | 91322930bedf6897b6244c778c707231560ccb15 | [
"MIT"
] | null | null | null | homework/tic_tac_toe/tic_tac_toe_4.h | acc-cosc-1337-spring-2019/acc-cosc-1337-spring-2019-MahdevGiri | 91322930bedf6897b6244c778c707231560ccb15 | [
"MIT"
] | null | null | null | //header
#include"tic_tac_toe.h"
#ifndef TIC_TAC_TOE_4_H
#define TIC_TAC_TOE_4_H
class TicTacToe4 :public TicTacToe
{
public:
TicTacToe4():
TicTacToe(4)
{}
TicTacToe4(std::vector<std::string> p); //
private:
bool check_column_win();
bool check_row_win();
bool check_diagonal_win();
};
#endif //!TIC_TAC_T... | 13.08 | 43 | 0.727829 | [
"vector"
] |
7d12e470d8137ea54e83b169e91a401daeb59429 | 4,856 | h | C | src/AFQMC/config.h | bwvdg/qmcpack | cd09fc54b36de2579c9802f5e64b7ec15506f3c3 | [
"NCSA"
] | null | null | null | src/AFQMC/config.h | bwvdg/qmcpack | cd09fc54b36de2579c9802f5e64b7ec15506f3c3 | [
"NCSA"
] | 1 | 2020-04-10T15:33:28.000Z | 2020-04-10T15:35:59.000Z | src/AFQMC/config.h | bwvdg/qmcpack | cd09fc54b36de2579c9802f5e64b7ec15506f3c3 | [
"NCSA"
] | 1 | 2019-07-23T17:44:39.000Z | 2019-07-23T17:44:39.000Z | #ifndef AFQMC_CONFIG_H
#define AFQMC_CONFIG_H
#include <string>
#include <algorithm>
#include<cstdlib>
#include<ctype.h>
#include <vector>
#include <map>
#include <complex>
#include <tuple>
#include <fstream>
#include "Configuration.h"
#include "OhmmsData/AttributeSet.h"
#include "OhmmsData/ParameterSet.h"
#include ... | 25.829787 | 103 | 0.667834 | [
"object",
"vector",
"transform"
] |
7d14611ea45f8425894715744897176bdd182a6e | 2,623 | h | C | gui/gui.h | kralma/mkr_kf | f8079150d27cfa12483bdab37be141f651c4a78b | [
"MIT"
] | null | null | null | gui/gui.h | kralma/mkr_kf | f8079150d27cfa12483bdab37be141f651c4a78b | [
"MIT"
] | null | null | null | gui/gui.h | kralma/mkr_kf | f8079150d27cfa12483bdab37be141f651c4a78b | [
"MIT"
] | null | null | null | #ifndef __GUI__
#define __GUI__
#include<vector>
#include<iostream>
#include <vtkSmartPointer.h>
#include <vtkVertexGlyphFilter.h>
#include <vtkPolyData.h>
#include <vtkPolyLine.h>
#include <vtkCellArray.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#inc... | 32.382716 | 99 | 0.64125 | [
"vector"
] |
b422beb187ff78be5b670ade7a49083f45b75e0e | 903 | h | C | gpu/texture/texture.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 1 | 2017-08-11T19:12:24.000Z | 2017-08-11T19:12:24.000Z | gpu/texture/texture.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | 11 | 2018-07-07T20:09:44.000Z | 2020-02-16T22:45:09.000Z | gpu/texture/texture.h | aconstlink/snakeoil | 3c6e02655e1134f8422f01073090efdde80fc109 | [
"MIT"
] | null | null | null | //------------------------------------------------------------
// snakeoil (c) Alexis Constantin Link
// Distributed under the MIT license
//------------------------------------------------------------
#ifndef _SNAKEOIL_GPU_TEXTURE_TEXTURE_H_
#define _SNAKEOIL_GPU_TEXTURE_TEXTURE_H_
#include "../object.h"
namespace s... | 22.02439 | 68 | 0.557032 | [
"object"
] |
b42339b8fd5f9194091b2256fb558c1e1b712e76 | 551 | h | C | Source/entity.h | Grzego/agh-max-clique-genetic | 90fb1240d40a4e303f0e9a880e9425e8c4d5f41e | [
"MIT"
] | 1 | 2016-11-06T19:47:15.000Z | 2016-11-06T19:47:15.000Z | Source/entity.h | Grzego/agh-max-clique-genetic | 90fb1240d40a4e303f0e9a880e9425e8c4d5f41e | [
"MIT"
] | null | null | null | Source/entity.h | Grzego/agh-max-clique-genetic | 90fb1240d40a4e303f0e9a880e9425e8c4d5f41e | [
"MIT"
] | null | null | null | #ifndef __ENTITY_H__
#define __ENTITY_H__
#include <vector>
class Entity
{
public:
Entity(unsigned int _chrom_length);
void set(unsigned int _idx);
void clear(unsigned int _idx);
void flip(unsigned int _idx);
void null_chrom();
friend bool operator<(Entity const &, Entity const &);
friend bool operator>(... | 16.69697 | 55 | 0.711434 | [
"vector"
] |
b429c73b9865aec597a54876a024703c80f2006d | 9,577 | h | C | Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "DataTableUtils.h" // Needed here for LogDataTable
#include "DataTable.generated.h"
// forward declare JSON writer
template <class CharType>
struct TPrettyJsonPrintPolicy;
template <class CharType, class PrintPolicy>
class TJsonWrite... | 30.116352 | 179 | 0.734572 | [
"object"
] |
b4361eb5b6d1c441e7a5206b50e41041cecb8e18 | 1,719 | h | C | mh2c/hpack/dynamic_table.h | k-noya/manual_h2_client | 7df7f9162dae4b42e2c0af757e2964729d3632e4 | [
"BSD-3-Clause"
] | null | null | null | mh2c/hpack/dynamic_table.h | k-noya/manual_h2_client | 7df7f9162dae4b42e2c0af757e2964729d3632e4 | [
"BSD-3-Clause"
] | null | null | null | mh2c/hpack/dynamic_table.h | k-noya/manual_h2_client | 7df7f9162dae4b42e2c0af757e2964729d3632e4 | [
"BSD-3-Clause"
] | 1 | 2021-01-14T09:27:01.000Z | 2021-01-14T09:27:01.000Z | // Copyright (c) 2021, k-noya
// Distributed under the BSD 3-Clause License.
// See accompanying file LICENSE
#ifndef MH2C_HPACK_DYNAMIC_TABLE_H_
#define MH2C_HPACK_DYNAMIC_TABLE_H_
#include <ostream>
#include <vector>
#include "mh2c/hpack/header_type.h"
namespace mh2c {
class dynamic_table {
public:
using conta... | 29.637931 | 79 | 0.770797 | [
"vector"
] |
b444e7396b1fa190cf0b35a418b4d507eb34e1be | 2,445 | h | C | src/YAKL_LaunchConfig.h | mrnorman/KLaunch | 505fc45e9946aa501142305a164931b71f05b002 | [
"BSD-2-Clause"
] | null | null | null | src/YAKL_LaunchConfig.h | mrnorman/KLaunch | 505fc45e9946aa501142305a164931b71f05b002 | [
"BSD-2-Clause"
] | null | null | null | src/YAKL_LaunchConfig.h | mrnorman/KLaunch | 505fc45e9946aa501142305a164931b71f05b002 | [
"BSD-2-Clause"
] | null | null | null |
#pragma once
namespace yakl {
// Set default vector lengths. On GPU devices, this is the block size
#ifndef YAKL_DEFAULT_VECTOR_LEN
#if defined(YAKL_ARCH_CUDA)
#define YAKL_DEFAULT_VECTOR_LEN 128
#elif defined(YAKL_ARCH_HIP)
#define YAKL_DEFAULT_VECTOR_LEN 256
#elif defined(YAKL_ARCH_SY... | 31.753247 | 107 | 0.679755 | [
"object",
"vector"
] |
b4469915cb50b88426fe2442666e69c5eb131e43 | 2,619 | h | C | C++/Libs/Security/SecureVector.h | GOATi/PhantasmaSDK | baa0d9c3e0f56743973180bed1129c6464393c59 | [
"MIT"
] | null | null | null | C++/Libs/Security/SecureVector.h | GOATi/PhantasmaSDK | baa0d9c3e0f56743973180bed1129c6464393c59 | [
"MIT"
] | null | null | null | C++/Libs/Security/SecureVector.h | GOATi/PhantasmaSDK | baa0d9c3e0f56743973180bed1129c6464393c59 | [
"MIT"
] | null | null | null | #pragma once
#include "SecureMemory.h"
#include <type_traits>
namespace phantasma {
// This is a wrapper around the PHANTASMA_VECTOR type which adds pinning/unpinning/wiping behavior to
// the memory allocations in order to prevent the data from being swapped out of RAM.
// Data contained in these vectors is also ... | 21.825 | 133 | 0.63383 | [
"vector"
] |
b453b908a32f85a411365316a4d16d975d498e11 | 11,514 | h | C | include/nu/geometry.h | alxarsenault/nu | 733796392e9768dbb238c73076517478ff37ffdf | [
"BSD-3-Clause"
] | null | null | null | include/nu/geometry.h | alxarsenault/nu | 733796392e9768dbb238c73076517478ff37ffdf | [
"BSD-3-Clause"
] | 1 | 2021-04-12T19:14:20.000Z | 2021-04-12T19:14:20.000Z | include/nu/geometry.h | alxarsenault/nu | 733796392e9768dbb238c73076517478ff37ffdf | [
"BSD-3-Clause"
] | null | null | null | ///
/// BSD 3-Clause License
///
/// Copyright (c) 2020, Alexandre Arsenault
/// 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 ... | 30.541114 | 120 | 0.713566 | [
"geometry",
"vector"
] |
b4683770a0590abe68215fda9286f172ae852a6b | 4,160 | h | C | Gems/Streamer/StreamerProfiler/Code/Source/StreamerProfilerSystemComponent.h | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Streamer/StreamerProfiler/Code/Source/StreamerProfilerSystemComponent.h | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Streamer/StreamerProfiler/Code/Source/StreamerProfilerSystemComponent.h | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/Component/Component.h>
#include <AzCore/IO/IStreamerProfiler.h>
#in... | 40 | 104 | 0.660817 | [
"vector",
"3d"
] |
b46e5e3ba5f43d05fb61f07f2cab31367a4b3d9c | 6,217 | h | C | devel/include/rover_20_control/Arm_msgs.h | itu-rover/rover_20 | 5d9c33b43306608278636d9015adf3fa71a986ec | [
"BSD-2-Clause"
] | 14 | 2019-11-15T12:14:24.000Z | 2021-05-23T07:27:24.000Z | devel/include/rover_20_control/Arm_msgs.h | itu-rover/rover_20 | 5d9c33b43306608278636d9015adf3fa71a986ec | [
"BSD-2-Clause"
] | 8 | 2020-01-30T15:41:02.000Z | 2020-08-15T15:00:13.000Z | devel/include/rover_20_control/Arm_msgs.h | itu-rover/rover_20 | 5d9c33b43306608278636d9015adf3fa71a986ec | [
"BSD-2-Clause"
] | 20 | 2019-11-15T14:16:39.000Z | 2020-12-05T13:05:36.000Z | // Generated by gencpp from file rover_20_control/Arm_msgs.msg
// DO NOT EDIT!
#ifndef ROVER_20_CONTROL_MESSAGE_ARM_MSGS_H
#define ROVER_20_CONTROL_MESSAGE_ARM_MSGS_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#in... | 25.690083 | 441 | 0.71208 | [
"vector"
] |
b483d5aaa30f913b7b265b6452411453943fbc43 | 4,362 | h | C | src/utility/log.h | heisz/toolkit | c10656b44c880dd2c2ccfb9eaeea9edc7dd758f4 | [
"MIT"
] | null | null | null | src/utility/log.h | heisz/toolkit | c10656b44c880dd2c2ccfb9eaeea9edc7dd758f4 | [
"MIT"
] | null | null | null | src/utility/log.h | heisz/toolkit | c10656b44c880dd2c2ccfb9eaeea9edc7dd758f4 | [
"MIT"
] | null | null | null | /*
* Basic implementation of a logging facility for server platforms.
*
* Copyright (C) 2001-2020 J.M. Heisz. All Rights Reserved.
* See the LICENSE file accompanying the distribution your rights to use
* this software.
*/
#ifndef WX_LOG_H
#define WX_LOG_H 1
/* Grab the standard definitions */
#include "stdconf... | 36.966102 | 79 | 0.700367 | [
"model"
] |
7d86f8db8d6991cf67208618a5a0743448a2d68c | 1,456 | h | C | RelevanceAnnotator.h | briangreenery/useless-text-editor | 3e0bf11a9f833b88a0a69f2e6f564743b2f9e5b3 | [
"Unlicense"
] | 4 | 2018-05-17T11:17:26.000Z | 2021-12-01T00:48:43.000Z | RelevanceAnnotator.h | briangreenery/useless-text-editor | 3e0bf11a9f833b88a0a69f2e6f564743b2f9e5b3 | [
"Unlicense"
] | null | null | null | RelevanceAnnotator.h | briangreenery/useless-text-editor | 3e0bf11a9f833b88a0a69f2e6f564743b2f9e5b3 | [
"Unlicense"
] | 1 | 2021-05-31T19:08:00.000Z | 2021-05-31T19:08:00.000Z | // RelevanceAnnotator.h
#ifndef RelevanceAnnotator_h
#define RelevanceAnnotator_h
#include "TextAnnotator.h"
#include "RelevanceLexer.h"
#include "RelevanceTokenRun.h"
#include "TextStyleRun.h"
class TextDocument;
class TextStyleRegistry;
class RelevanceAnnotator : public TextAnnotator
{
public:
Re... | 26.962963 | 75 | 0.736951 | [
"vector"
] |
7d89fddc5c9975b9d393e428a64cec33e6ccb464 | 3,711 | h | C | json/include/utf8.h | pb82/cpp_json_examples | 91433994ff20536c50cd6594022a2ebf4ebb15df | [
"MIT"
] | null | null | null | json/include/utf8.h | pb82/cpp_json_examples | 91433994ff20536c50cd6594022a2ebf4ebb15df | [
"MIT"
] | null | null | null | json/include/utf8.h | pb82/cpp_json_examples | 91433994ff20536c50cd6594022a2ebf4ebb15df | [
"MIT"
] | null | null | null | #ifndef UTF8_HPP
#define UTF8_HPP
// Copyright 2006 Nemanja Trifunovic
/*
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 t... | 39.903226 | 76 | 0.64484 | [
"object"
] |
7d8ac588bc84622b2b3bca1fcc53a52b76e3bf7c | 4,310 | h | C | Lexer/TokenType.h | ChristopherOosthuizen/ABlaze | 68d0100bf34e4b0b0990f8613d3d29b1540fb362 | [
"MIT"
] | 6 | 2021-03-15T16:35:04.000Z | 2021-03-19T16:12:23.000Z | Lexer/TokenType.h | ChristopherOosthuizen/ABlaze | 68d0100bf34e4b0b0990f8613d3d29b1540fb362 | [
"MIT"
] | 1 | 2021-03-18T02:30:54.000Z | 2021-03-18T03:14:44.000Z | Lexer/TokenType.h | ChristopherOosthuizen/ABlaze | 68d0100bf34e4b0b0990f8613d3d29b1540fb362 | [
"MIT"
] | null | null | null | //printValue
// Created by chris on 12/20/20.
// The specific types of a Token
// ex: + is PLUS
// ex: & is a and
// ex: += is a PLUS_EQUAL
//
#ifndef ABLAZE_TOKENTYPE_H
#define ABLAZE_TOKENTYPE_H
#include <string>
#include <vector>
using namespace std;
enum class TokenType{
// Operators
PLUS , MINUS , TIMES , DIV... | 35.04065 | 116 | 0.711137 | [
"vector"
] |
7d8ecf37c2f04a490d4c6b725be3bd3916dc9df5 | 7,111 | h | C | tool/SVF/include/SVF-FE/LLVMModule.h | SZU-SE/PERIOD | 7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03 | [
"MIT"
] | 16 | 2022-01-14T12:05:49.000Z | 2022-03-10T07:57:26.000Z | tool/SVF/include/SVF-FE/LLVMModule.h | SZU-SE/PERIOD | 7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03 | [
"MIT"
] | 1 | 2022-03-08T13:19:07.000Z | 2022-03-09T06:39:43.000Z | tool/SVF/include/SVF-FE/LLVMModule.h | SZU-SE/PERIOD | 7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03 | [
"MIT"
] | 2 | 2022-01-16T16:55:40.000Z | 2022-03-07T10:20:55.000Z | //===- LLVMModule.h -- LLVM Module class-----------------------------------------//
//
// SVF: Static Value-Flow Analysis
//
// Copyright (C) <2013-> <Yulei Sui>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as pu... | 29.384298 | 118 | 0.647588 | [
"vector"
] |
7d913631f0bbf5d6e76aa876216038e4a149da70 | 2,056 | c | C | syslibs/ksbase/source/Channel.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 18 | 2015-12-07T15:15:53.000Z | 2021-10-07T04:09:36.000Z | syslibs/ksbase/source/Channel.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 41 | 2015-12-08T13:31:41.000Z | 2022-01-31T16:32:14.000Z | syslibs/ksbase/source/Channel.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 12 | 2015-06-11T13:09:41.000Z | 2019-02-07T13:33:37.000Z |
/******************************************************************************
*
* FILE
* ----
* Channel.c
*
* History
* -------
* 2013-01-15 File created
*
*******************************************************************************
*
* This file is generated by the 'acplt_builder' co... | 23.906977 | 83 | 0.569553 | [
"object"
] |
7d9ff5cdeb026da08913a620cf0c9222a13a831f | 364 | h | C | sources/lv1/driver/rsx/device/eic.h | AlexAltea/lv1-reversing | 3d9ea0a243e403a9b5eb881e9c97949a72e47ef1 | [
"MIT"
] | 16 | 2016-03-16T21:25:49.000Z | 2021-09-26T03:58:42.000Z | sources/lv1/driver/rsx/device/eic.h | x0rloser/lv1-reversing | 3d9ea0a243e403a9b5eb881e9c97949a72e47ef1 | [
"MIT"
] | null | null | null | sources/lv1/driver/rsx/device/eic.h | x0rloser/lv1-reversing | 3d9ea0a243e403a9b5eb881e9c97949a72e47ef1 | [
"MIT"
] | 4 | 2018-03-26T11:05:33.000Z | 2021-03-13T18:21:20.000Z | /**
* (c) 2016 The LV1RE Project.
* Released under MIT license. Read LICENSE for more details.
*/
#pragma once
#include "common/types.h"
// RSX external interrupt controller object, DUMMY, TODO
struct rsx_device_eic_t {
S32 unk_000; // 0x00:
// ...
};
S32 rsx_device_eic_219C18(S32 id, S64 *... | 20.222222 | 61 | 0.675824 | [
"object"
] |
7da2a4ff95339794b47f99b2d46b8089f3097786 | 1,287 | h | C | BeatEmLeft-Engine/BeatEmLeft-Engine/Systems/RenderSystem.h | hlimbo/BeatEmLeft | 9946c9a783fd4f74596b4fed071aac9246b9b195 | [
"MIT"
] | 1 | 2017-07-09T01:25:08.000Z | 2017-07-09T01:25:08.000Z | BeatEmLeft-Engine/BeatEmLeft-Engine/Systems/RenderSystem.h | hlimbo/BeatEmLeft | 9946c9a783fd4f74596b4fed071aac9246b9b195 | [
"MIT"
] | null | null | null | BeatEmLeft-Engine/BeatEmLeft-Engine/Systems/RenderSystem.h | hlimbo/BeatEmLeft | 9946c9a783fd4f74596b4fed071aac9246b9b195 | [
"MIT"
] | null | null | null | #ifndef RENDER_SYSTEM_H
#define RENDER_SYSTEM_H
#include <SDL2/SDL_rect.h>
#include <Vect2.h>
#include "ComponentManager.h"
struct Transform;
struct Sprite;
struct ECS;
struct SDL_Renderer;
//a system should take in all the necessary components it needs to process
//an entity is an id mapped to a set of u... | 27.382979 | 116 | 0.752137 | [
"render",
"transform"
] |
7da6c2af272ea2a4b2a7658eefe453a0e1964708 | 695 | c | C | lib/vector.c | littleo/vm | f368259862bf8ae3940a68961a8e48df882c68e9 | [
"MIT"
] | null | null | null | lib/vector.c | littleo/vm | f368259862bf8ae3940a68961a8e48df882c68e9 | [
"MIT"
] | null | null | null | lib/vector.c | littleo/vm | f368259862bf8ae3940a68961a8e48df882c68e9 | [
"MIT"
] | null | null | null | #include "vector.h"
void vector_init(vector * v) {
v->capacity = 0;
v->count = 0;
v->data = NULL;
}
void vector_push(vector * v, uint32_t entry) {
if (v->capacity < v->count+1) {
uint32_t old_capacity = v->capacity;
v->capacity = GROW_CAPACITY(old_capacity);
v->data = GROW_ARRA... | 21.71875 | 52 | 0.526619 | [
"vector"
] |
7dac0ca9691da099d8e75d39c98a0bf9291bfcfa | 3,912 | h | C | tensorflow/contrib/persona/kernels/agd-format/ceph_lazy_column.h | epfl-dcsl/ptf-system | 16d634bf2572eb316112ea34630feaa90a560e5a | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/persona/kernels/agd-format/ceph_lazy_column.h | epfl-dcsl/ptf-system | 16d634bf2572eb316112ea34630feaa90a560e5a | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/persona/kernels/agd-format/ceph_lazy_column.h | epfl-dcsl/ptf-system | 16d634bf2572eb316112ea34630feaa90a560e5a | [
"Apache-2.0"
] | null | null | null | /* Copyright 2019 École Polytechnique Fédérale de Lausanne. 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 a... | 37.980583 | 127 | 0.656442 | [
"object",
"vector"
] |
7daf6c9801d552f8c62023dbbe1417727b622478 | 2,777 | h | C | oskar/sky/oskar_sky_scale_flux_with_frequency.h | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 46 | 2015-12-15T14:24:16.000Z | 2022-01-24T16:54:49.000Z | oskar/sky/oskar_sky_scale_flux_with_frequency.h | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 37 | 2016-08-04T17:53:03.000Z | 2022-03-10T10:22:01.000Z | oskar/sky/oskar_sky_scale_flux_with_frequency.h | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 32 | 2016-05-09T10:30:11.000Z | 2022-01-26T07:55:27.000Z | /*
* Copyright (c) 2012-2019, The University of Oxford
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this ... | 37.527027 | 79 | 0.751891 | [
"model"
] |
7db1e5d1961e2f27d44036cad072ead0c47a2949 | 7,205 | h | C | worldeditor/src/editors/timeline/animationclipmodel.h | weblate/thunder | e9b741b7f23e18cea79cee964c8a62ed9248fbf2 | [
"Apache-2.0"
] | 1 | 2022-03-20T16:13:53.000Z | 2022-03-20T16:13:53.000Z | worldeditor/src/editors/timeline/animationclipmodel.h | weblate/thunder | e9b741b7f23e18cea79cee964c8a62ed9248fbf2 | [
"Apache-2.0"
] | null | null | null | worldeditor/src/editors/timeline/animationclipmodel.h | weblate/thunder | e9b741b7f23e18cea79cee964c8a62ed9248fbf2 | [
"Apache-2.0"
] | null | null | null | #ifndef ANIMATIONCLIPMODEL_H
#define ANIMATIONCLIPMODEL_H
#include <QAbstractItemModel>
#include <animationcurve.h>
#include <animationclip.h>
#include "undomanager.h"
class AnimationController;
class AnimationStateMachine;
class AnimationClipModel : public QAbstractItemModel {
Q_OBJECT
Q_PROPERTY(float p... | 31.056034 | 185 | 0.554615 | [
"model"
] |
7db63083a43a4559fbc39d4a016abbb53d2f4398 | 1,629 | h | C | implementation/cpl_guicommon/cpl_frameobject/cpl_objectfactory.h | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | implementation/cpl_guicommon/cpl_frameobject/cpl_objectfactory.h | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | implementation/cpl_guicommon/cpl_frameobject/cpl_objectfactory.h | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | #ifndef CPL_OBJECTFACTORY_H
#define CPL_OBJECTFACTORY_H
class cpl_ObjectFactory : public cpl_Object {
public:
/** create instance */
static cpl_Object* CreateInstance(const char* classname);
/** intialization */
static void Init();
/** deintialization */
static void DeInit();
/** re... | 24.681818 | 164 | 0.694905 | [
"object"
] |
7dc2b84649ee2c6cf97763151e543d75b6356ba0 | 4,899 | c | C | FreeMcBoot-Configurator/elf.c | parrado/Funtuna-Fork | 12382b5dadcd65d8b424df2bea14596a839daae6 | [
"RSA-MD"
] | 19 | 2021-01-30T18:23:07.000Z | 2022-02-19T17:31:19.000Z | FreeMcBoot-Configurator/elf.c | parrado/Funtuna-Fork | 12382b5dadcd65d8b424df2bea14596a839daae6 | [
"RSA-MD"
] | 1 | 2021-12-08T13:14:58.000Z | 2022-02-05T00:55:46.000Z | FreeMcBoot-Configurator/elf.c | parrado/Funtuna-Fork | 12382b5dadcd65d8b424df2bea14596a839daae6 | [
"RSA-MD"
] | 6 | 2021-12-06T19:17:00.000Z | 2022-02-04T21:09:14.000Z | //--------------------------------------------------------------
//File name: elf.c
//--------------------------------------------------------------
#include "launchelf.h"
#define MAX_PATH 1025
extern u8 *loader_elf;
extern int size_loader_elf;
extern u8 *fakehost_irx;
extern int size_fakehost_irx;
// ELF-loading... | 27.066298 | 90 | 0.548071 | [
"object"
] |
7dc357bd8eafbf188961e30a79cab78b2deb614b | 2,802 | c | C | org.yafra.tdb.classic/dbi/xKONinfo.c | yafraorg/yafra-tdb-c | c81c965a4a8947e7d6bad497ca09768243fcc26b | [
"Apache-2.0"
] | 1 | 2019-01-10T16:44:23.000Z | 2019-01-10T16:44:23.000Z | org.yafra.tdb.classic/dbi/xKONinfo.c | yafraorg/yafra-tdb-c | c81c965a4a8947e7d6bad497ca09768243fcc26b | [
"Apache-2.0"
] | 1 | 2015-03-23T10:30:35.000Z | 2015-03-23T10:30:35.000Z | org.yafra.tdb.classic/dbi/xKONinfo.c | yafraorg/yafra-tdb-c | c81c965a4a8947e7d6bad497ca09768243fcc26b | [
"Apache-2.0"
] | null | null | null | /*D***********************************************************
* Modul: DBI - database info
* Kategorien in einem Kontingent
*
* Copyright: yafra.org, Basel, Switzerland
**************************************... | 28.30303 | 109 | 0.573162 | [
"3d"
] |
7dd3ad66091c1f407c8bd091e40ce24e6e01a83d | 1,065 | h | C | src/engine/objects/spline/SplineMatrix.h | ferdikoomen/Capture3 | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | [
"MIT"
] | 18 | 2018-04-07T18:52:27.000Z | 2022-03-22T09:23:32.000Z | src/engine/objects/spline/SplineMatrix.h | ferdikoomen/Capture3 | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | [
"MIT"
] | 1 | 2020-10-13T07:51:45.000Z | 2020-10-13T07:51:45.000Z | src/engine/objects/spline/SplineMatrix.h | ferdikoomen/Capture3 | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | [
"MIT"
] | 3 | 2019-03-12T06:10:14.000Z | 2021-05-20T12:54:52.000Z | #ifndef CAPTURE3_SPLINE_MATRIX_H
#define CAPTURE3_SPLINE_MATRIX_H
#include <cmath>
#include <vector>
#include <algorithm>
namespace Capture3
{
class SplineMatrix final
{
public:
SplineMatrix();
SplineMatrix(const unsigned int dim, const unsigned int nu, const unsigned int nl);
virtual ~SplineMatrix... | 19.722222 | 86 | 0.703286 | [
"vector"
] |
7dffa0d6432eb33720932c4ba71e94fb80eac3eb | 897 | h | C | tools/tool/ToolRegistry.h | kami-lang/madex-redex | 90ae1bc46c6e20a0aed2c128183b9f289cecee34 | [
"MIT"
] | null | null | null | tools/tool/ToolRegistry.h | kami-lang/madex-redex | 90ae1bc46c6e20a0aed2c128183b9f289cecee34 | [
"MIT"
] | null | null | null | tools/tool/ToolRegistry.h | kami-lang/madex-redex | 90ae1bc46c6e20a0aed2c128183b9f289cecee34 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <vector>
class Tool;
/**
* Global registry of tools. Construction of a tool automatically registers
*... | 18.6875 | 76 | 0.656633 | [
"object",
"vector"
] |
b40949be7f6e321d437ab4a03ee76f616833af5f | 1,030 | h | C | iOSOpenDev/frameworks/OfficeImport.framework/Headers/EDReferenceCollection.h | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | iOSOpenDev/frameworks/OfficeImport.framework/Headers/EDReferenceCollection.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | iOSOpenDev/frameworks/OfficeImport.framework/Headers/EDReferenceCollection.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 170 | 2018-06-10T07:59:20.000Z | 2022-03-22T16:19:33.000Z | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
#import <OfficeImport/EDReferenceCollection.h>
#import <OfficeImport/EDCollection.h>
__attribute__((visibility("hidden")))
@interface EDReferenceCollection : EDCollection {
@p... | 32.1875 | 80 | 0.756311 | [
"object"
] |
b40ab55007bb5c3f4ffae606f160d1b8b26fb509 | 391 | h | C | iOSOpenDev/frameworks/Celestial.framework/Headers/FigWirelessDisplayInhibitor.h | bzxy/cydia | f8c838cdbd86e49dddf15792e7aa56e2af80548d | [
"MIT"
] | 678 | 2017-11-17T08:33:19.000Z | 2022-03-26T10:40:20.000Z | iOSOpenDev/frameworks/Celestial.framework/Headers/FigWirelessDisplayInhibitor.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 22 | 2019-04-16T05:51:53.000Z | 2021-11-08T06:18:45.000Z | iOSOpenDev/frameworks/Celestial.framework/Headers/FigWirelessDisplayInhibitor.h | chenfanfang/Cydia | 5efce785bfd5f1064b9c0f0e29a9cc05aa24cad0 | [
"MIT"
] | 170 | 2018-06-10T07:59:20.000Z | 2022-03-22T16:19:33.000Z | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/Celestial.framework/Celestial
*/
#import <Celestial/XXUnknownSuperclass.h>
@interface FigWirelessDisplayInhibitor : XXUnknownSuperclass {
}
- (id)init; // 0xaec61
- (void)observeValueForKeyPath:(id)keyPath ofObject... | 26.066667 | 116 | 0.754476 | [
"object"
] |
b4135207e91542f980334bec877faa0edb231f53 | 2,619 | h | C | libcable/include/cable/core/array.h | pyrated/cable | feb7442fb5bf03f4c07054c664b5f8ce8d3fb7b3 | [
"Unlicense"
] | 1 | 2017-08-23T23:55:38.000Z | 2017-08-23T23:55:38.000Z | libcable/include/cable/core/array.h | pyrated/cable | feb7442fb5bf03f4c07054c664b5f8ce8d3fb7b3 | [
"Unlicense"
] | null | null | null | libcable/include/cable/core/array.h | pyrated/cable | feb7442fb5bf03f4c07054c664b5f8ce8d3fb7b3 | [
"Unlicense"
] | null | null | null | #ifndef CBL_CORE_ARRAY_H_
#define CBL_CORE_ARRAY_H_
#include <stdarg.h>
#include <cable/core/object.h>
CBL_EXTERN_BEGIN
typedef const struct CblArray CblArray;
typedef struct CblArray CblMutableArray;
CblClass * const CBL_ARRAY_CLASS;
typedef const void *(*CblArrayOwnCallback)(CblArray *array, const void *element)... | 37.956522 | 113 | 0.771287 | [
"object"
] |
f1d93d0935af3f398569d61122e25daf3d74897c | 8,054 | h | C | libs/repository/RngStream.h | osu-sim/ANL_polaris | a7b96f908017d02af3a79a510c813f45c2373c84 | [
"BSD-3-Clause"
] | null | null | null | libs/repository/RngStream.h | osu-sim/ANL_polaris | a7b96f908017d02af3a79a510c813f45c2373c84 | [
"BSD-3-Clause"
] | null | null | null | libs/repository/RngStream.h | osu-sim/ANL_polaris | a7b96f908017d02af3a79a510c813f45c2373c84 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <random>
#include <iostream>
#include <string>
namespace RNG_Components
{
class RngStream
{
public:
RngStream ();
static bool SetPackageSeed (const unsigned long seed[6]);
void ResetStartStream ();
void ResetStartSubstream ();
void ResetNextSubstream ();
void SetAntithetic (boo... | 24.705521 | 83 | 0.46002 | [
"vector"
] |
7b31ae22f78216ed0cb3b97116c66c7ae84bda70 | 6,647 | h | C | Tarjan.h | ali92hm/iso-rank | 80fc2b92bc84e27c798d25ec8a525b14a46774d8 | [
"MIT"
] | 7 | 2018-01-27T07:00:23.000Z | 2020-08-29T21:17:00.000Z | Tarjan.h | ali92hm/iso-rank | 80fc2b92bc84e27c798d25ec8a525b14a46774d8 | [
"MIT"
] | 1 | 2020-03-19T14:47:30.000Z | 2020-04-17T19:43:19.000Z | Tarjan.h | ali92hm/iso-rank | 80fc2b92bc84e27c798d25ec8a525b14a46774d8 | [
"MIT"
] | 3 | 2018-03-13T06:57:17.000Z | 2019-03-01T12:04:05.000Z | /*********************************************************************************
* This file contains the functions used to perform Tarjan's Strongly Connected *
* Component Algorithm to find the connected components of a graph. *
* ... | 31.060748 | 164 | 0.621483 | [
"object",
"vector"
] |
7e290710d86202e8d240374b8bc157fb98370404 | 1,663 | h | C | EXAMPLES/Apps/Autosrv/editserverimpl.h | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | 1 | 2022-01-13T01:03:55.000Z | 2022-01-13T01:03:55.000Z | EXAMPLES/Apps/Autosrv/editserverimpl.h | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | EXAMPLES/Apps/Autosrv/editserverimpl.h | earthsiege2/borland-cpp-ide | 09bcecc811841444338e81b9c9930c0e686f9530 | [
"Unlicense",
"FSFAP",
"Apache-1.1"
] | null | null | null | // EDITSERVERIMPL.H : Declaration of the TEditServerImpl
#ifndef __EDITSERVERIMPL_H_
#define __EDITSERVERIMPL_H_
#include "autosrv_TLB.H"
/////////////////////////////////////////////////////////////////////////////
// TEditServerImpl Implements IEditServer, default interface of EditServer
// Threadin... | 27.716667 | 79 | 0.660854 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.