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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14b48284c935b213887d6c9e271f1c6c1ea09344 | 2,244 | h | C | src/ofxMessageHub.h | nariakiiwatani/ofxMessageHub | f096c3581b5e0d4172ba5f313564d0b2bb02a853 | [
"MIT"
] | null | null | null | src/ofxMessageHub.h | nariakiiwatani/ofxMessageHub | f096c3581b5e0d4172ba5f313564d0b2bb02a853 | [
"MIT"
] | null | null | null | src/ofxMessageHub.h | nariakiiwatani/ofxMessageHub | f096c3581b5e0d4172ba5f313564d0b2bb02a853 | [
"MIT"
] | null | null | null | //
// ofxMessageHub.h
//
// Created by Iwatani Nariaki on 2016/09/03.
//
//
#pragma once
#include "ofEvents.h"
#include "Converter.h"
namespace ofx {
namespace messagehub {
template<typename Message> class Client;
template<typename Message>
class Server
{
friend class Client<Message>;
public:
Server() {
ofAdd... | 23.134021 | 105 | 0.699643 | [
"vector"
] |
14c06d46c4dbf3fa2fb2730d816f5c8fb1c55305 | 5,604 | c | C | test/smokeTestClient.c | weimingtom/sgs-c-client | e4c36a7daa719095ee5f5afabdc1a8347639f54b | [
"BSD-3-Clause"
] | null | null | null | test/smokeTestClient.c | weimingtom/sgs-c-client | e4c36a7daa719095ee5f5afabdc1a8347639f54b | [
"BSD-3-Clause"
] | null | null | null | test/smokeTestClient.c | weimingtom/sgs-c-client | e4c36a7daa719095ee5f5afabdc1a8347639f54b | [
"BSD-3-Clause"
] | null | null | null | /*
* File: smokeTestClient.c
* Author: waldo
*
* Created on April 16, 2009, 4:54 PM
*/
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <poll.h>
#include <string.h>
#include <unistd.h>
#include <sys/select.h>
#include <getopt.h>
#include <wchar.h>
#include "sgs/connection.h"
#include "sgs/con... | 27.742574 | 90 | 0.633476 | [
"object"
] |
14c4738bcb297d308ccb8009d9647f72dcdff942 | 3,733 | h | C | include/readdy/model/potentials/PotentialOrder1.h | ilyasku/readdy | 3e09e5c8eb2dd861758d3b91cc3a4a00301c13af | [
"BSD-3-Clause"
] | 51 | 2015-02-24T18:19:34.000Z | 2022-03-30T06:57:47.000Z | include/readdy/model/potentials/PotentialOrder1.h | readdy/readdy | ef400db60a29107672a7f2bc42f6c3db4de34eb0 | [
"BSD-3-Clause"
] | 81 | 2016-05-25T22:29:39.000Z | 2022-03-28T14:22:18.000Z | include/readdy/model/potentials/PotentialOrder1.h | ilyasku/readdy | 3e09e5c8eb2dd861758d3b91cc3a4a00301c13af | [
"BSD-3-Clause"
] | 15 | 2015-03-10T03:16:49.000Z | 2021-10-11T11:26:39.000Z | /********************************************************************
* Copyright © 2018 Computational Molecular Biology Group, *
* Freie Universität Berlin (GER) *
* *
* Redistribution and use in source and ... | 42.908046 | 116 | 0.609429 | [
"model"
] |
14cb675e2c0a59570de20ba6c73f8a6989777139 | 4,073 | h | C | nnet/architecture.h | jsharf/math | f9ecfc4325a2685c2d0d49a8469971dc3146212d | [
"MIT"
] | 1 | 2019-12-02T07:18:50.000Z | 2019-12-02T07:18:50.000Z | nnet/architecture.h | jsharf/plasticity | f9ecfc4325a2685c2d0d49a8469971dc3146212d | [
"MIT"
] | null | null | null | nnet/architecture.h | jsharf/plasticity | f9ecfc4325a2685c2d0d49a8469971dc3146212d | [
"MIT"
] | null | null | null | #ifndef ARCHITECTURE_H
#define ARCHITECTURE_H
#include "nnet/layer.h"
#include "nnet/layer_dimensions.h"
#include "symbolic/expression.h"
#include "symbolic/symbolic_util.h"
#include <vector>
namespace nnet {
struct Architecture {
std::vector<Layer> layers;
bool VerifyArchitecture() const {
// Cannot be an... | 31.820313 | 80 | 0.67616 | [
"vector"
] |
14cc218391f562f5167df1d678be05ed07ccf0f6 | 1,206 | c | C | lib/cmds/std/_use.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/cmds/std/_use.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/cmds/std/_use.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | cmd_use(string str) {
object skill, spell;
skill = this_player()->query_use_skill();
spell = this_player()->query_spell();
if (!this_player()->check_condis()) { return 1; }
if (environment(this_player())->query_property("no_skill")) {
write("A mystical aura stops your attempt.\n");
return 1;
}
if ... | 26.217391 | 100 | 0.619403 | [
"object"
] |
14ce4e426afcf27507ebdc933331c7d3ae8bb42d | 13,239 | h | C | include/rdmnet/defs.h | rodb70/RDMnet | 94d17e1dfda2d1f56b120f6342231c43bf6862b0 | [
"Apache-2.0"
] | 30 | 2018-07-16T15:54:19.000Z | 2021-11-21T21:17:36.000Z | include/rdmnet/defs.h | rodb70/RDMnet | 94d17e1dfda2d1f56b120f6342231c43bf6862b0 | [
"Apache-2.0"
] | 27 | 2019-04-12T22:45:25.000Z | 2021-08-13T15:20:04.000Z | include/rdmnet/defs.h | rodb70/RDMnet | 94d17e1dfda2d1f56b120f6342231c43bf6862b0 | [
"Apache-2.0"
] | 12 | 2019-06-28T19:28:58.000Z | 2021-11-17T12:10:44.000Z | /******************************************************************************
* Copyright 2020 ETC 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/l... | 52.328063 | 88 | 0.519299 | [
"vector"
] |
14ce9107d15fcb0af2a7a98677abd0eac213bc51 | 631 | h | C | Coursework/button.h | Lawrence-B120/year3_gameLAB | 362dab83e4d20eb465d8eb6a314ee811bad216ef | [
"MIT"
] | null | null | null | Coursework/button.h | Lawrence-B120/year3_gameLAB | 362dab83e4d20eb465d8eb6a314ee811bad216ef | [
"MIT"
] | null | null | null | Coursework/button.h | Lawrence-B120/year3_gameLAB | 362dab83e4d20eb465d8eb6a314ee811bad216ef | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/Graphics.hpp>
//#include "GameManager.h"
class Button {
private:
//sf::Text _text;
sf::Color _color;
std::string _string;
int _charSize;
sf::Vector2f _position = sf::Vector2f(0,0);
sf::IntRect _rect;
sf::Font _font;
public:
Button() = default;
void update(double dt, sf::RenderWindo... | 25.24 | 75 | 0.673534 | [
"render"
] |
14d26fb6389d5fca6cf1e2e5231eade01e5eb2cb | 3,885 | c | C | nitan/kungfu/skill/lonely-sword/po.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | 1 | 2019-03-27T07:25:16.000Z | 2019-03-27T07:25:16.000Z | nitan/kungfu/skill/lonely-sword/po.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | nitan/kungfu/skill/lonely-sword/po.c | cantona/NT6 | 073f4d491b3cfe6bfbe02fbad12db8983c1b9201 | [
"MIT"
] | null | null | null | // po.c 獨孤九劍
#include <ansi.h>
inherit F_SSERVER;
string name() { return HIW "破眾式" NOR; }
int perform(object me, object target)
{
string msg;
string *learned;
object weapon, weapon2;
string type;
mapping prepare;
int n;
int skill, ap, dp, damage, ss;
... | 37 | 87 | 0.435006 | [
"object"
] |
14dabddad59ec927291734bc5510dfa648da441c | 2,598 | h | C | Oem/DWFTK/develop/global/src/dwfcore/crypto/CryptoKeyGeneratorFactory.h | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 2 | 2017-04-19T01:38:30.000Z | 2020-07-31T03:05:32.000Z | Oem/DWFTK/develop/global/src/dwfcore/crypto/CryptoKeyGeneratorFactory.h | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | null | null | null | Oem/DWFTK/develop/global/src/dwfcore/crypto/CryptoKeyGeneratorFactory.h | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 1 | 2021-12-29T10:46:12.000Z | 2021-12-29T10:46:12.000Z | //
// Copyright (c) 2006 by Autodesk, Inc.
//
// By using this code, you are agreeing to the terms and conditions of
// the License Agreement included in the documentation for this code.
//
// AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
// AS TO THE CORRECTNESS OF THIS CODE OR ANY DERIVATIVE
// WORK... | 27.935484 | 140 | 0.65204 | [
"object"
] |
14df6ad23e0f957ce4ac526ab9a1040470b0ac01 | 2,022 | h | C | packaging/common/SafeBufferQueue.h | Dixiashui/TestWork | 8316f1ca65edf089edd326bbd4097e3106ac8ae0 | [
"Apache-2.0"
] | null | null | null | packaging/common/SafeBufferQueue.h | Dixiashui/TestWork | 8316f1ca65edf089edd326bbd4097e3106ac8ae0 | [
"Apache-2.0"
] | null | null | null | packaging/common/SafeBufferQueue.h | Dixiashui/TestWork | 8316f1ca65edf089edd326bbd4097e3106ac8ae0 | [
"Apache-2.0"
] | null | null | null | #ifndef _SAFE_BUFFER_QUEUE_H
#define _SAFE_BUFFER_QUEUE_H
/**
* @file SafeBufferQueue.h
* @brief Defines the SafeBufferQueue class.
*/
#include "common/Semaphore.h"
#include "common/Mutex.h"
#include "common/MutexGuard.h"
#include <vector>
#include <list>
#include <stdexcept>
/**
* @brief This cl... | 20.019802 | 78 | 0.543027 | [
"vector"
] |
14e730f8e6e758b010b7b403f064b36c9e341482 | 4,561 | h | C | UI/Supplier-UI/trial-codes/node_modules/oracledb/src/njsPool.h | harsha544/build-blockchain-insurance-app | 0359e1fc101ee42df8d2f7688b69932d6ba82c8a | [
"Apache-2.0"
] | 3 | 2019-01-29T11:16:22.000Z | 2019-04-15T13:08:23.000Z | src/njsPool.h | sygops/node-oracledb | dcfe687086e5a87b6f4ca59545e0f055cb1a7446 | [
"Apache-2.0"
] | 31 | 2020-02-06T20:28:48.000Z | 2022-03-02T05:04:32.000Z | src/njsPool.h | sygops/node-oracledb | dcfe687086e5a87b6f4ca59545e0f055cb1a7446 | [
"Apache-2.0"
] | 11 | 2018-06-04T19:30:19.000Z | 2021-01-10T04:33:01.000Z | /* Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. */
/******************************************************************************
*
* You may not use the identified files except in compliance with the Apache
* License, Version 2.0 (the "License.")
*
* You may obtain a copy of the ... | 34.293233 | 82 | 0.670906 | [
"object"
] |
14f1c5db814e36f6c989d7bdee48487208a2db22 | 8,193 | c | C | c6ers/smartmon/status.c | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | c6ers/smartmon/status.c | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | c6ers/smartmon/status.c | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | /**************************************************************************/
/*** ***/
/*** STATUS.C - Status bar update routines ***/
/*** ***/
/*** Largely borrowed from CHARMAP.C. ***/
/*** ***/
/*** ***/
/***********************************************************************... | 30.570896 | 76 | 0.506774 | [
"solid"
] |
14f4d539b85ba1643229931b8c3dd555e3026717 | 1,957 | h | C | CS336/HW5/student_code_5.h | PhoeniXuzoo/NU-Projects | a217ad46e6876ceffb3dec1d6e52f775674b2e8b | [
"MIT"
] | null | null | null | CS336/HW5/student_code_5.h | PhoeniXuzoo/NU-Projects | a217ad46e6876ceffb3dec1d6e52f775674b2e8b | [
"MIT"
] | null | null | null | CS336/HW5/student_code_5.h | PhoeniXuzoo/NU-Projects | a217ad46e6876ceffb3dec1d6e52f775674b2e8b | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// You need to
// 1. Read the programming assignment in homework #5.
// 2. Implement function GetStudentName.
// 3. Implement function MaxPurpleColoring.
// 4. Compile your code as explained in the PDF file.
// 5. Run the exe... | 35.581818 | 110 | 0.507409 | [
"vector"
] |
14f819a989b928d8ba2d306ea3f255e196455c70 | 6,570 | h | C | src/include/isurfaceplugin.h | osen/openradiant | 47f0b65006e3e3325003f65cddbc7f1c78b5f138 | [
"BSD-3-Clause"
] | 11 | 2021-01-04T16:27:48.000Z | 2022-01-22T00:37:31.000Z | src/include/isurfaceplugin.h | osen/openradiant | 47f0b65006e3e3325003f65cddbc7f1c78b5f138 | [
"BSD-3-Clause"
] | 6 | 2021-01-05T04:47:45.000Z | 2021-11-30T09:25:11.000Z | src/include/isurfaceplugin.h | osen/openradiant | 47f0b65006e3e3325003f65cddbc7f1c78b5f138 | [
"BSD-3-Clause"
] | 1 | 2021-04-01T20:57:22.000Z | 2021-04-01T20:57:22.000Z | /*
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | 40.807453 | 150 | 0.784627 | [
"mesh",
"object"
] |
14fbe7281e42a86bf11d13c6b112472682823e79 | 1,674 | h | C | HomeKitDaemon.framework/HMDVendorDataManager.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | HomeKitDaemon.framework/HMDVendorDataManager.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | HomeKitDaemon.framework/HMDVendorDataManager.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 1 | 2021-10-08T07:40:53.000Z | 2021-10-08T07:40:53.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/HomeKitDaemon.framework/HomeKitDaemon
*/
@interface HMDVendorDataManager : HMFObject <HMFLogging, HMFTimerDelegate> {
long long _dataVersion;
NSObject<OS_dispatch_queue> * _databaseQueue;
HMFTimer * _fetchTimer;
NSURLSession *... | 33.48 | 81 | 0.769415 | [
"model"
] |
14fff33cfbf927dcc6102fe5a71b2e36c3e5f5ab | 2,037 | h | C | src/xr_3da/xrGame/alife_human_patrol_path_manager_inline.h | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | src/xr_3da/xrGame/alife_human_patrol_path_manager_inline.h | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | null | null | null | src/xr_3da/xrGame/alife_human_patrol_path_manager_inline.h | ixray-team/ixray-b2945 | ad5ef375994ee9cd790c4144891e9f00e7efe565 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : alife_human_patrol_path_manager_inline.h
// Created : 01.11.2005
// Modified : 01.11.2005
// Author : Dmitriy Iassenev
// Description : ALife human patrol path manager class inline functions
////////////////////////////... | 26.115385 | 107 | 0.66863 | [
"object"
] |
090a6a79c5c959f31b2acc2fc50a4c8ddc8b795d | 7,716 | h | C | private/shell/ext/dsui/inc/common.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/shell/ext/dsui/inc/common.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/shell/ext/dsui/inc/common.h | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | #ifndef __inc_common_h
#define __inc_common_h
/*-----------------------------------------------------------------------------
/ Avoid the C runtimes for new, delete etc. Instead lets use LocalAlloc and
/ its goodness.
/----------------------------------------------------------------------------*/
#if defin... | 33.991189 | 118 | 0.591628 | [
"object"
] |
09117315064e2a5eca07c4140dcacc07766f6ac1 | 359 | h | C | BillyBasic/BillyBasic.h | wmeister/BillyBasic2 | 1365cc56729948dd114a58c272c23a79f5df47b3 | [
"Unlicense"
] | null | null | null | BillyBasic/BillyBasic.h | wmeister/BillyBasic2 | 1365cc56729948dd114a58c272c23a79f5df47b3 | [
"Unlicense"
] | null | null | null | BillyBasic/BillyBasic.h | wmeister/BillyBasic2 | 1365cc56729948dd114a58c272c23a79f5df47b3 | [
"Unlicense"
] | null | null | null | #pragma once
#include <string>
#include <vector>
typedef struct { std::string type; std::string raw; } token;
void print(std::vector<std::string>);
std::vector<std::string> arguments(std::string);
void eval(char*);
void read();
int main();
void syntax_error();
void BillyBasic();
std::vector<token> tokenize(std::vecto... | 23.933333 | 60 | 0.713092 | [
"vector"
] |
adbd5b89c4f73f1b2d5097656eafdd594656321f | 582 | c | C | vcc/Docs/Tutorial/c/8.2.lockw_wrong.c | Jiacheng/vcc | d8206e8f997808f4584290543222f5840c607d2a | [
"MIT"
] | 60 | 2016-04-10T08:29:49.000Z | 2019-05-05T18:39:19.000Z | vcc/Docs/Tutorial/c/8.2.lockw_wrong.c | Jiacheng/vcc | d8206e8f997808f4584290543222f5840c607d2a | [
"MIT"
] | 3 | 2019-07-26T21:20:16.000Z | 2021-01-20T01:38:02.000Z | vcc/Docs/Tutorial/c/8.2.lockw_wrong.c | Jiacheng/vcc | d8206e8f997808f4584290543222f5840c607d2a | [
"MIT"
] | 20 | 2019-05-13T18:58:39.000Z | 2022-03-14T02:17:13.000Z | #include <vcc.h>
/*{lock}*/
_(volatile_owns) struct Lock {
volatile int locked;
_(ghost \object protected_obj;)
_(invariant locked == 0 ==> \mine(protected_obj))
};
/*{release}*/
void Release(struct Lock *l)
_(requires \wrapped(l))
_(requires \wrapped(l->protected_obj))
{
_(atomic l) {
l->locked = 0;
... | 23.28 | 128 | 0.664948 | [
"object"
] |
adc7f9a41d5dcf628552fc39de316f1c26e892c9 | 1,724 | h | C | include/data/constructs/configuration/Configuration.h | BuildJet/sharkbite | a8355be6e4879ea7648ea045537d6720538b00b8 | [
"Apache-2.0"
] | 30 | 2017-01-23T10:42:29.000Z | 2022-02-04T18:06:08.000Z | include/data/constructs/configuration/Configuration.h | BuildJet/sharkbite | a8355be6e4879ea7648ea045537d6720538b00b8 | [
"Apache-2.0"
] | 55 | 2017-01-29T13:15:52.000Z | 2022-02-05T17:49:51.000Z | include/data/constructs/configuration/Configuration.h | BuildJet/sharkbite | a8355be6e4879ea7648ea045537d6720538b00b8 | [
"Apache-2.0"
] | 5 | 2017-01-23T10:42:34.000Z | 2021-09-07T19:11:00.000Z | /*
* 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, software
* distribut... | 25.731343 | 77 | 0.664153 | [
"object"
] |
adc82730d92b2049cc2c3fcd4849a38b46322e7b | 1,810 | h | C | Minigin/SpriteComponent.h | keangdavidTouch/C-GameEngine | e276e7cc7c840ca41b005c0cf844cd8d5580200a | [
"MIT"
] | 2 | 2021-03-19T13:29:36.000Z | 2021-04-13T23:37:10.000Z | Minigin/SpriteComponent.h | keangdavidTouch/C-GameEngine | e276e7cc7c840ca41b005c0cf844cd8d5580200a | [
"MIT"
] | null | null | null | Minigin/SpriteComponent.h | keangdavidTouch/C-GameEngine | e276e7cc7c840ca41b005c0cf844cd8d5580200a | [
"MIT"
] | null | null | null | #pragma once
#include "BaseComponent.h"
#include <SDL.h>
#include <unordered_map>
namespace kd {
struct SpriteClip
{
SpriteClip() {};
SpriteClip(unsigned int frameIndex, unsigned int frameCount) : FrameIndex(frameIndex), FrameCount(frameCount) {};
unsigned int FrameIndex;
unsigned int FrameCount;
};
stru... | 26.617647 | 115 | 0.712707 | [
"render"
] |
add27c94fba5ea8764f7199fdd68d6228f7c0539 | 2,286 | h | C | Engine/addons/myguiengine/include/MyGUI_RenderItem.h | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 26 | 2015-01-15T12:57:40.000Z | 2022-02-16T10:07:12.000Z | ThirdParty-mod/MyGUI/include/MyGUI_RenderItem.h | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/MyGUI/include/MyGUI_RenderItem.h | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 17 | 2015-02-18T07:51:31.000Z | 2020-06-01T01:10:12.000Z | /*!
@file
@author Albert Semenov
@date 02/2008
*/
/*
This file is part of MyGUI.
MyGUI is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | 23.090909 | 76 | 0.76378 | [
"vector"
] |
add638291e5a743a541efe6a8f95aceee8dadc23 | 60,638 | c | C | src/parshp.c | ElArtista/EnergyCore | c428b393ebb4c80f90fb878fdcc5606bd656350c | [
"MIT"
] | 2 | 2018-03-03T21:09:00.000Z | 2020-02-22T00:28:09.000Z | src/parshp.c | ElArtista/EnergyCore | c428b393ebb4c80f90fb878fdcc5606bd656350c | [
"MIT"
] | null | null | null | src/parshp.c | ElArtista/EnergyCore | c428b393ebb4c80f90fb878fdcc5606bd656350c | [
"MIT"
] | null | null | null | #include "parshp.h"
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <float.h>
#include <string.h>
#include <math.h>
#include <errno.h>
#ifndef PAR_PI
#define PAR_PI (3.14159265359)
#define PAR_MIN(a, b) (a > b ? b : a)
#define PAR_MAX(a, b) (a > b ? a : b)
#define PAR_CLAMP(v, lo, hi) PAR_MAX(lo, P... | 35.316249 | 119 | 0.544428 | [
"mesh",
"shape",
"3d"
] |
ade8e093fc0f12fb455041731149492abd95348a | 4,739 | c | C | src/gpr.c | KhunWasut/C_ICF_r_cn | 8bcf3a1dfa50fbca3eeff89e96728a7328a4c43c | [
"MIT"
] | null | null | null | src/gpr.c | KhunWasut/C_ICF_r_cn | 8bcf3a1dfa50fbca3eeff89e96728a7328a4c43c | [
"MIT"
] | null | null | null | src/gpr.c | KhunWasut/C_ICF_r_cn | 8bcf3a1dfa50fbca3eeff89e96728a7328a4c43c | [
"MIT"
] | null | null | null | #include "gpr.h"
#include "matrix.h"
#include <math.h>
#include <atlas/cblas.h>
/* GPR.C -- Gaussian Process Regression Code
*
* Description:
*
* Predict function from derivative data in 1D and 2D
*
*/
double kexp(const double* CV_diff, const double* theta_vec, const int num_cv)
{
// For num_cv > 1
i... | 28.721212 | 146 | 0.578181 | [
"vector"
] |
adf3d4395a90dd5ec577e78a7c49f7bf88c4cc74 | 2,479 | h | C | libicnet/icnet/transport/icnet_transport_raaqm.h | cherouvim/cicn-nrs | 440d6a7f56e7240f179205ed5ce1fe8000d03b83 | [
"Apache-2.0"
] | 10 | 2018-11-04T06:37:14.000Z | 2022-02-18T00:26:34.000Z | libicnet/icnet/transport/icnet_transport_raaqm.h | cherouvim/cicn-nrs | 440d6a7f56e7240f179205ed5ce1fe8000d03b83 | [
"Apache-2.0"
] | null | null | null | libicnet/icnet/transport/icnet_transport_raaqm.h | cherouvim/cicn-nrs | 440d6a7f56e7240f179205ed5ce1fe8000d03b83 | [
"Apache-2.0"
] | 3 | 2019-01-17T19:47:55.000Z | 2022-02-18T00:28:18.000Z | /*
* Copyright (c) 2017 Cisco and/or its affiliates.
* 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 applicabl... | 23.609524 | 92 | 0.759984 | [
"object"
] |
adf89553d7a8b5044ed0b77eaee15c2bb5934103 | 12,239 | c | C | ext/rbuv/rbuv_tcp.c | arthurdandrea/rbuv | d0efceec3aac98a456f3dd4f1653c5a628aa8aee | [
"MIT"
] | null | null | null | ext/rbuv/rbuv_tcp.c | arthurdandrea/rbuv | d0efceec3aac98a456f3dd4f1653c5a628aa8aee | [
"MIT"
] | null | null | null | ext/rbuv/rbuv_tcp.c | arthurdandrea/rbuv | d0efceec3aac98a456f3dd4f1653c5a628aa8aee | [
"MIT"
] | null | null | null | #include "rbuv_tcp.h"
struct rbuv_tcp_s {
uv_tcp_t *uv_handle;
VALUE cb_on_close;
VALUE cb_on_connection;
VALUE cb_on_read;
VALUE requests;
VALUE cb_on_connect;
};
typedef struct rbuv_tcp_s rbuv_tcp_t;
struct rbuv_tcp_on_connect_arg_s {
uv_stream_t *uv_handle;
int status;
};
typedef struct rbuv_tcp_on... | 31.872396 | 98 | 0.712722 | [
"object"
] |
adf975129b0c024178dd1061af57b4a7e62391b0 | 5,982 | h | C | miika_nlu/venv/Lib/site-packages/torch/include/ATen/ops/isin_ops.h | NimBuzz01/Project-Miika_SDGP | 08ad1aafafbe9f47c59bd1568b8ac367fefe5503 | [
"MIT"
] | null | null | null | miika_nlu/venv/Lib/site-packages/torch/include/ATen/ops/isin_ops.h | NimBuzz01/Project-Miika_SDGP | 08ad1aafafbe9f47c59bd1568b8ac367fefe5503 | [
"MIT"
] | null | null | null | miika_nlu/venv/Lib/site-packages/torch/include/ATen/ops/isin_ops.h | NimBuzz01/Project-Miika_SDGP | 08ad1aafafbe9f47c59bd1568b8ac367fefe5503 | [
"MIT"
] | null | null | null | #pragma once
// @generated by tools/codegen/gen.py from Operator.h
#include <c10/core/QScheme.h>
#include <tuple>
#include <vector>
// Forward declarations of any types needed in the operator signatures.
// We can't directly include these classes because it will cause circular include dependencies.
// This file is ... | 54.880734 | 197 | 0.768806 | [
"vector"
] |
bc0b16bf7ac7bccb8a5658074cb28ca520e7c3e2 | 1,439 | h | C | PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h | majacQ/objective-c | 8827b65598539cd5b2ebef8d176523f00fcbf9b8 | [
"MIT"
] | 135 | 2015-01-16T04:53:08.000Z | 2022-01-16T11:38:26.000Z | PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h | majacQ/objective-c | 8827b65598539cd5b2ebef8d176523f00fcbf9b8 | [
"MIT"
] | 96 | 2015-01-09T15:23:09.000Z | 2022-03-11T13:24:56.000Z | PubNub/Network/Requests/Objects/PNObjectsPaginatedRequest.h | majacQ/objective-c | 8827b65598539cd5b2ebef8d176523f00fcbf9b8 | [
"MIT"
] | 143 | 2015-01-09T15:15:18.000Z | 2021-12-07T11:44:03.000Z | #import "PNBaseObjectsRequest.h"
NS_ASSUME_NONNULL_BEGIN
#pragma mark Interface declaration
/**
* @brief Base class for Object API endpoints which return list of items and allow to navigate
* between pages.
*
* @author Serhii Mamontov
* @version 4.14.0
* @since 4.14.0
* @copyright © 2010-2020 PubNub, Inc.
*... | 23.590164 | 100 | 0.726199 | [
"object"
] |
bc10c206957c03cdda09fcd60a5252655892c263 | 2,264 | h | C | xshmenu/helper/helper_textual.h | kstenschke/xshmenu | 6bdc0bfe83a7eb283b740ff223a83a8282c865ed | [
"BSD-3-Clause"
] | null | null | null | xshmenu/helper/helper_textual.h | kstenschke/xshmenu | 6bdc0bfe83a7eb283b740ff223a83a8282c865ed | [
"BSD-3-Clause"
] | null | null | null | xshmenu/helper/helper_textual.h | kstenschke/xshmenu | 6bdc0bfe83a7eb283b740ff223a83a8282c865ed | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) Kay Stenschke
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 of conditions and the fo... | 37.114754 | 77 | 0.77341 | [
"vector"
] |
bc17a1bdf5d65b9ae45f954f93a549e5b0e31e89 | 2,565 | h | C | include/SparkyStudios/Audio/Amplitude/Core/Thread.h | SparkyStudios/AmplitudeSDK | bcfb9d9c2fcea8ecd3a540576508f062fb3d5e21 | [
"Apache-2.0"
] | null | null | null | include/SparkyStudios/Audio/Amplitude/Core/Thread.h | SparkyStudios/AmplitudeSDK | bcfb9d9c2fcea8ecd3a540576508f062fb3d5e21 | [
"Apache-2.0"
] | null | null | null | include/SparkyStudios/Audio/Amplitude/Core/Thread.h | SparkyStudios/AmplitudeSDK | bcfb9d9c2fcea8ecd3a540576508f062fb3d5e21 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021-present Sparky Studios. 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 requir... | 34.2 | 92 | 0.712281 | [
"object"
] |
bc1ee6e7f2419ac1405cb31d7aeed9d817414640 | 2,244 | h | C | MASProximity/Classes/_private_/categories/CBPeripheralManager+MASPrivate.h | CAAPIM/iOS-MAS-Proximity | cb3784271de25851922b467f50140f43f3f2feb7 | [
"MIT"
] | null | null | null | MASProximity/Classes/_private_/categories/CBPeripheralManager+MASPrivate.h | CAAPIM/iOS-MAS-Proximity | cb3784271de25851922b467f50140f43f3f2feb7 | [
"MIT"
] | null | null | null | MASProximity/Classes/_private_/categories/CBPeripheralManager+MASPrivate.h | CAAPIM/iOS-MAS-Proximity | cb3784271de25851922b467f50140f43f3f2feb7 | [
"MIT"
] | 1 | 2021-11-11T19:23:15.000Z | 2021-11-11T19:23:15.000Z | //
// CBPeripheralManager+MASPrivate.h
// MASFoundation
//
// Copyright (c) 2016 CA. All rights reserved.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
#import <CoreBluetooth/CoreBluetooth.h>
@interface CBPeripheralManager (MASPri... | 27.703704 | 130 | 0.720588 | [
"object"
] |
1af7e49c01eb6c26d1434ac3527d527cd0715a59 | 4,327 | h | C | src/plugins/snails/accountthreadworker.h | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/plugins/snails/accountthreadworker.h | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/plugins/snails/accountthreadworker.h | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 31.129496 | 115 | 0.74324 | [
"vector"
] |
2101e831a2d6e386e00ac8900f79787da47c905e | 1,034 | h | C | ospray/common/World.h | cainiaoC4/ospray | 616dcea05eefffe8c52e04753ae7e346581135f7 | [
"Apache-2.0"
] | 2 | 2022-01-20T19:28:39.000Z | 2022-01-21T00:14:07.000Z | ospray/common/World.h | cainiaoC4/ospray | 616dcea05eefffe8c52e04753ae7e346581135f7 | [
"Apache-2.0"
] | 1 | 2020-04-24T22:15:32.000Z | 2020-04-24T22:15:32.000Z | ospray/common/World.h | cainiaoC4/ospray | 616dcea05eefffe8c52e04753ae7e346581135f7 | [
"Apache-2.0"
] | 1 | 2021-05-19T17:45:06.000Z | 2021-05-19T17:45:06.000Z | // Copyright 2009-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
// ospray stuff
#include "./Data.h"
#include "./Managed.h"
#include "Instance.h"
#include "lights/Light.h"
// stl
#include <vector>
// embree
#include "embree3/rtcore.h"
namespace ospray {
struct OSPRAY_SDK_INTERFACE World ... | 21.541667 | 56 | 0.73501 | [
"geometry",
"vector"
] |
2108ef4d6b62fd860ccd85a5e87154f185fc592b | 25,580 | c | C | firmware/src/hal/hal_uart.c | Scottapotamas/xsens-stm32-eui | 4acbcbfda971daf2c10b12450f241544391c2fa3 | [
"MIT"
] | 1 | 2021-11-25T02:58:35.000Z | 2021-11-25T02:58:35.000Z | firmware/src/hal/hal_uart.c | Scottapotamas/xsens-stm32-eui | 4acbcbfda971daf2c10b12450f241544391c2fa3 | [
"MIT"
] | null | null | null | firmware/src/hal/hal_uart.c | Scottapotamas/xsens-stm32-eui | 4acbcbfda971daf2c10b12450f241544391c2fa3 | [
"MIT"
] | null | null | null | /* ----- System Includes ---------------------------------------------------- */
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* ----- Local Includes ----------------------------------------------------- */
#include "stm32f4xx_ll_bus.h"
#include "stm32f4xx_ll_dma.h"
#include "stm32f... | 32.963918 | 154 | 0.603401 | [
"object"
] |
2110015efaf5821633e9d9c6de47df6b3dbf07f5 | 797 | h | C | src/read_tree.h | rwtourdot/mlinker | 406c18a4727a16739d6300f08e218aec4779be97 | [
"MIT"
] | 1 | 2021-08-24T15:35:40.000Z | 2021-08-24T15:35:40.000Z | src/read_tree.h | rwtourdot/mlinker | 406c18a4727a16739d6300f08e218aec4779be97 | [
"MIT"
] | 1 | 2021-08-10T02:58:45.000Z | 2021-08-10T20:23:19.000Z | src/read_tree.h | rwtourdot/mlinker | 406c18a4727a16739d6300f08e218aec4779be97 | [
"MIT"
] | 2 | 2021-03-18T16:03:56.000Z | 2021-03-18T16:05:41.000Z | #ifndef READ_TREE_H
#define READ_TREE_H
//////////////// c++ include //////////////////
#include <vector>
#include <string>
#include <unordered_map>
#include <algorithm>
using namespace std;
//////////////// structures ///////////////////
class read_tree {
public:
std::string readname;
int num_cnx = 0;
st... | 27.482759 | 69 | 0.632371 | [
"vector"
] |
2112eda1814381baf4c24f0635e4ae1e8ff59a73 | 3,166 | h | C | Sources/Modules/Renderer/SM2/DebugRenderer.h | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | Sources/Modules/Renderer/SM2/DebugRenderer.h | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | Sources/Modules/Renderer/SM2/DebugRenderer.h | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | 40.075949 | 142 | 0.716677 | [
"object"
] |
2134be3995ddfbaa4702a1c2b428f305fe285434 | 3,577 | h | C | unreal/Plugins/OceanPlugin/Source/OceanPlugin/Classes/BuoyantDestructibleComponent.h | explore-astrum/astrum | 868fa6d28e1c44d0a99a72edc7f6b5b7d818da07 | [
"MIT"
] | 2 | 2019-01-21T17:49:19.000Z | 2019-06-20T03:01:06.000Z | unreal/Plugins/OceanPlugin/Source/OceanPlugin/Classes/BuoyantDestructibleComponent.h | explore-astrum/astrum | 868fa6d28e1c44d0a99a72edc7f6b5b7d818da07 | [
"MIT"
] | 1 | 2022-01-27T16:05:47.000Z | 2022-01-27T16:05:47.000Z | unreal/Plugins/OceanPlugin/Source/OceanPlugin/Classes/BuoyantDestructibleComponent.h | explore-astrum/astrum | 868fa6d28e1c44d0a99a72edc7f6b5b7d818da07 | [
"MIT"
] | null | null | null | /*=================================================
* FileName: BuoyantDestructibleComponent.h
*
* Created by: TK-Master
* Project name: OceanProject
* Unreal Engine version: 4.18.3
* Created on: 2015/08/27
*
* Last Edited on: 2018/03/15
* Last Edited by: Felipe "Zoc" Silveira
*
* ------------------------------------... | 35.77 | 205 | 0.7565 | [
"mesh",
"object"
] |
213bfe88dc94e0998731e3a06228afceba86b317 | 2,053 | h | C | src/Engine/Renderer/Vulkan/Descriptors/DescriptorSet.h | danimtz/VulkanEngine | a7c566d7f8627b9f4a33ba93bbf102f1ba0a8892 | [
"MIT"
] | null | null | null | src/Engine/Renderer/Vulkan/Descriptors/DescriptorSet.h | danimtz/VulkanEngine | a7c566d7f8627b9f4a33ba93bbf102f1ba0a8892 | [
"MIT"
] | null | null | null | src/Engine/Renderer/Vulkan/Descriptors/DescriptorSet.h | danimtz/VulkanEngine | a7c566d7f8627b9f4a33ba93bbf102f1ba0a8892 | [
"MIT"
] | null | null | null | #pragma once
#include <vulkan/vulkan.h>
#include "Engine/Renderer/Vulkan/ShaderAndPipelines/GraphicsPipeline.h"
#include "Engine/Renderer/Vulkan/ShaderAndPipelines/ComputePipeline.h"
#include "Engine/Renderer/Vulkan/Images/Image.h"
class ShaderBuffer;
class DescriptorSet
{
public:
DescriptorSet() = default;
vo... | 34.79661 | 165 | 0.803215 | [
"vector"
] |
214090f9fb2fbc60508d9c6682177fe7ae34f606 | 2,942 | h | C | ErrorKit/UIKit/UIAlertController+ErrorKit.h | hectr/ErrorKit | 03328489e4c773720d528a2de0273469f07ac779 | [
"MIT"
] | 43 | 2015-01-08T08:40:44.000Z | 2019-04-26T14:21:21.000Z | ErrorKit/UIKit/UIAlertController+ErrorKit.h | hectr/ErrorKit | 03328489e4c773720d528a2de0273469f07ac779 | [
"MIT"
] | 3 | 2015-01-08T20:32:03.000Z | 2017-04-09T18:56:57.000Z | ErrorKit/UIKit/UIAlertController+ErrorKit.h | hectr/ErrorKit | 03328489e4c773720d528a2de0273469f07ac779 | [
"MIT"
] | 3 | 2015-04-04T15:32:00.000Z | 2019-04-26T14:21:24.000Z | // UIAlertController+ErrorKit.h
//
// Copyright (c) 2013 Héctor Marqués
//
// 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
// t... | 38.207792 | 80 | 0.744392 | [
"object"
] |
214ae7db7ece3d3e11f881b98641509c3cba63c1 | 2,397 | h | C | test/e2e/test_input/wxWidgets/include/wx/gtk/private/animate.h | BlueCannonBall/cppparser | 9ae5f0c21268be6696532cf5b90c0384d6eb4940 | [
"MIT"
] | 5 | 2016-11-13T08:13:57.000Z | 2019-03-31T10:22:38.000Z | test/e2e/test_input/wxWidgets/include/wx/gtk/private/animate.h | BlueCannonBall/cppparser | 9ae5f0c21268be6696532cf5b90c0384d6eb4940 | [
"MIT"
] | 5 | 2021-04-07T09:39:30.000Z | 2021-04-14T16:53:21.000Z | test/e2e/test_input/wxWidgets/include/wx/gtk/private/animate.h | BlueCannonBall/cppparser | 9ae5f0c21268be6696532cf5b90c0384d6eb4940 | [
"MIT"
] | 2 | 2021-11-26T00:56:51.000Z | 2022-01-28T05:56:31.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/private/animate.h
// Purpose: Animation classes
// Author: Julian Smart and Guillermo Rodriguez Garcia
// Modified by: Francesco Montorsi
// Created: 13/8/99
// Copyright: (c) Julian Smart and Guillermo R... | 34.242857 | 104 | 0.650396 | [
"object"
] |
215e802822bfc10f13ed952e237b1f2875597700 | 991 | c | C | weedProblems/weed.c | KarlParkinson/practice | 6bbbd4a8e320732523d83297c1021f52601a20d8 | [
"MIT"
] | null | null | null | weedProblems/weed.c | KarlParkinson/practice | 6bbbd4a8e320732523d83297c1021f52601a20d8 | [
"MIT"
] | null | null | null | weedProblems/weed.c | KarlParkinson/practice | 6bbbd4a8e320732523d83297c1021f52601a20d8 | [
"MIT"
] | null | null | null | #include <stdio.h>
void reverse(char s[]) {
int i = 0;
while (s[i+1]) {
i++;
}
int j = 0;
char temp;
while (j <= i) {
temp = s[j];
s[j] = s[i];
s[i] = temp;
j++;
i--;
}
}
int fib(int n) {
if (n == 1) {
return 0;
} else if (n == 2) {
return 1;
} else {
return fi... | 14.573529 | 35 | 0.420787 | [
"3d"
] |
21653f26331898ed6310e3a3e8a2762415718eb9 | 980 | h | C | src/saver.h | msperkow/nesEmu | 4767c77396f42e15acfa769e17c1573d46edd776 | [
"Apache-2.0"
] | null | null | null | src/saver.h | msperkow/nesEmu | 4767c77396f42e15acfa769e17c1573d46edd776 | [
"Apache-2.0"
] | null | null | null | src/saver.h | msperkow/nesEmu | 4767c77396f42e15acfa769e17c1573d46edd776 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <cstdint>
#include <string>
#include <vector>
class saver {
private:
std::vector<uint8_t> data;
public:
uint32_t readPos = 0;
saver() {}
saver(std::string path);
void Save(std::string path);
template <typename T>
void Write(T* data, size_t size) {
char* ptr = (char*)data;
for(size_t... | 20.851064 | 48 | 0.635714 | [
"vector"
] |
21672e40a673ec79c69545a79e6088380dd0f7a8 | 50,083 | c | C | MotorControl/low_level.c | tokol0sh/ODriveFirmware_TelescopeController | 30f446b9d3c47927d3de9dc20f1a94bae6e5cf0d | [
"MIT"
] | null | null | null | MotorControl/low_level.c | tokol0sh/ODriveFirmware_TelescopeController | 30f446b9d3c47927d3de9dc20f1a94bae6e5cf0d | [
"MIT"
] | null | null | null | MotorControl/low_level.c | tokol0sh/ODriveFirmware_TelescopeController | 30f446b9d3c47927d3de9dc20f1a94bae6e5cf0d | [
"MIT"
] | null | null | null | /* Includes ------------------------------------------------------------------*/
// Because of broken cmsis_os.h, we need to include arm_math first,
// otherwise chip specific defines are ommited
#include <stm32f4xx_hal.h> // Sets up the correct chip specifc defines required by arm_math
#define ARM_MATH_CM4
#include <... | 39.157936 | 139 | 0.622327 | [
"object",
"vector",
"transform"
] |
216d0329d83d9fab493606b0b84ab8362dc537c3 | 5,415 | h | C | samples/extensions/style_transfer_post_processing/acl_utils/acl_network.h | ARM-software/ml_style_transfer_post_processing_on_mobile | de3a52ee4bd4bf58dece7ba5fbaa8aea0b5823ff | [
"Apache-2.0"
] | 1 | 2022-03-28T10:41:17.000Z | 2022-03-28T10:41:17.000Z | samples/extensions/style_transfer_post_processing/acl_utils/acl_network.h | ARM-software/ml_style_transfer_post_processing_on_mobile | de3a52ee4bd4bf58dece7ba5fbaa8aea0b5823ff | [
"Apache-2.0"
] | null | null | null | samples/extensions/style_transfer_post_processing/acl_utils/acl_network.h | ARM-software/ml_style_transfer_post_processing_on_mobile | de3a52ee4bd4bf58dece7ba5fbaa8aea0b5823ff | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2022, Arm Limited and Contributors
*
* SPDX-License-Identifier: Apache-2.0
*
* 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/license... | 50.607477 | 113 | 0.492151 | [
"vector"
] |
2178abe067bd9919b9dc9dfeee1c45ec9305fb44 | 7,878 | h | C | platform/windows/Corona.Native.Library.Win32/Interop/Graphics/HorizontalAlignment.h | agramonte/corona | 3a6892f14eea92fdab5fa6d41920aa1e97bc22b1 | [
"MIT"
] | 1,968 | 2018-12-30T21:14:22.000Z | 2022-03-31T23:48:16.000Z | platform/windows/Corona.Native.Library.Win32/Interop/Graphics/HorizontalAlignment.h | agramonte/corona | 3a6892f14eea92fdab5fa6d41920aa1e97bc22b1 | [
"MIT"
] | 303 | 2019-01-02T19:36:43.000Z | 2022-03-31T23:52:45.000Z | platform/windows/Corona.Native.Library.Win32/Interop/Graphics/HorizontalAlignment.h | agramonte/corona | 3a6892f14eea92fdab5fa6d41920aa1e97bc22b1 | [
"MIT"
] | 254 | 2019-01-02T19:05:52.000Z | 2022-03-30T06:32:28.000Z | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
////////////////////////... | 48.62963 | 117 | 0.710586 | [
"object"
] |
217fe6c130490fabc4a8f5c41b03e73b0bb953d5 | 1,241 | h | C | tests/streams/mock_ostream.h | jeptechnology/jude | 65f54da7a1b9edab985cb0bb7da30c37dc906fbc | [
"MIT"
] | null | null | null | tests/streams/mock_ostream.h | jeptechnology/jude | 65f54da7a1b9edab985cb0bb7da30c37dc906fbc | [
"MIT"
] | null | null | null | tests/streams/mock_ostream.h | jeptechnology/jude | 65f54da7a1b9edab985cb0bb7da30c37dc906fbc | [
"MIT"
] | null | null | null | #pragma once
#include "jude/jude.h"
#include "jude/core/cpp/Stream.h"
#include <vector>
using namespace std;
class MockOutputStream : public jude::OutputStreamInterface
{
public:
std::vector<char> output{}; // final output data
std::vector<char> buffer{}; // buffer
size_t ... | 22.160714 | 104 | 0.575342 | [
"vector"
] |
2184f5b76d7f4c555c24f8724263deb88884d873 | 2,657 | h | C | Snake/Viewer/SnakeOpenGLViewer.h | darglein/Snake-SLAM | 3916a8ffcf4e20c3687342acfcf667a3cc87ef50 | [
"MIT"
] | 52 | 2020-08-03T07:52:10.000Z | 2022-03-13T11:36:22.000Z | Snake/Viewer/SnakeOpenGLViewer.h | darglein/Snake-SLAM | 3916a8ffcf4e20c3687342acfcf667a3cc87ef50 | [
"MIT"
] | 2 | 2021-04-28T20:26:34.000Z | 2022-03-10T12:38:51.000Z | Snake/Viewer/SnakeOpenGLViewer.h | darglein/Snake-SLAM | 3916a8ffcf4e20c3687342acfcf667a3cc87ef50 | [
"MIT"
] | 14 | 2021-04-28T19:34:32.000Z | 2022-03-24T17:57:02.000Z | /**
* Copyright (c) 2021 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/opengl/assets/all.h"
#include "saiga/opengl/rendering/deferredRendering/deferredRendering.h"
#include "saiga/opengl/rendering/forwardRendering/forwardRendering.h"
#inc... | 27.968421 | 92 | 0.722619 | [
"render"
] |
5d8270dbf00bb2006aa6fc56dda8b6729798100a | 2,463 | h | C | thirdparty/toolcursor/vtkToolCursorInteractorObserver.h | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 5 | 2015-06-02T22:10:36.000Z | 2022-01-02T09:26:47.000Z | thirdparty/toolcursor/vtkToolCursorInteractorObserver.h | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 2 | 2015-06-04T14:52:09.000Z | 2015-06-04T18:58:50.000Z | thirdparty/toolcursor/vtkToolCursorInteractorObserver.h | greydongilmore/tactics | e57008ded07eb798368ccb161d9bf06d9a16f52c | [
"BSD-3-Clause"
] | 3 | 2015-06-04T15:02:25.000Z | 2021-02-02T01:47:56.000Z | /*=========================================================================
Program: ToolCursor
Module: vtkToolCursorInteractorObserver.h
Copyright (c) 2010 David Gobbi
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY ... | 31.576923 | 93 | 0.669103 | [
"object"
] |
5d9f483841e6d067cbac821856fd875d6da3052f | 10,312 | h | C | Middlewares/ST/STM32_Key_Management_Services/Modules/kms_nvm_storage.h | pintoXD/stm32wb55LoRaFuota | 7b84971f7ac063a04a38fa825a806b33b2213b76 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Middlewares/ST/STM32_Key_Management_Services/Modules/kms_nvm_storage.h | pintoXD/stm32wb55LoRaFuota | 7b84971f7ac063a04a38fa825a806b33b2213b76 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Middlewares/ST/STM32_Key_Management_Services/Modules/kms_nvm_storage.h | pintoXD/stm32wb55LoRaFuota | 7b84971f7ac063a04a38fa825a806b33b2213b76 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2021-09-25T16:44:11.000Z | 2021-09-25T16:44:11.000Z | /**
******************************************************************************
* @file kms_nvm_storage.h
* @author MCD Application Team
* @brief This file contains definitions for Key Management Services (KMS)
* module Non Volatile Memory storage services.
**************************... | 34.488294 | 107 | 0.504461 | [
"object"
] |
5da6878c7356b4b16737d390fa7f8442d1146ac8 | 2,651 | h | C | src/functions/vecToVec.h | quevivasbien/fastACE | 0c61765b877d1fddd5214fcd593d383246da009e | [
"MIT"
] | null | null | null | src/functions/vecToVec.h | quevivasbien/fastACE | 0c61765b877d1fddd5214fcd593d383246da009e | [
"MIT"
] | null | null | null | src/functions/vecToVec.h | quevivasbien/fastACE | 0c61765b877d1fddd5214fcd593d383246da009e | [
"MIT"
] | null | null | null | #ifndef VECTOVEC_H
#define VECTOVEC_H
#include <memory>
#include <vector>
#include <Eigen/Dense>
#include "vecToScalar.h"
class VecToVec {
public:
virtual ~VecToVec() {}
VecToVec(unsigned int numInputs, unsigned int numOutputs) : numInputs(numInputs), numOutputs(numOutputs) {}
virtual Eigen::ArrayXd f(co... | 32.728395 | 111 | 0.704263 | [
"object",
"vector"
] |
345bfb1ca60ee703d95b0f158376da1ba1968dc3 | 3,679 | h | C | kws_cortex_m/Source/NN/Model.h | thodoxuan99/KWS_MCU | 326d88547886411cd395bad61c05533bb563b3f2 | [
"Apache-2.0"
] | 309 | 2018-01-11T20:31:59.000Z | 2022-03-26T11:37:31.000Z | kws_cortex_m/Source/NN/Model.h | thodoxuan99/KWS_MCU | 326d88547886411cd395bad61c05533bb563b3f2 | [
"Apache-2.0"
] | 60 | 2018-04-10T00:09:37.000Z | 2022-02-10T04:02:11.000Z | kws_cortex_m/Source/NN/Model.h | thodoxuan99/KWS_MCU | 326d88547886411cd395bad61c05533bb563b3f2 | [
"Apache-2.0"
] | 172 | 2018-01-11T20:32:01.000Z | 2022-03-16T07:24:08.000Z | /*
* Copyright (C) 2020 Arm Limited or its affiliates. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
* www.apache.org/l... | 33.144144 | 128 | 0.655613 | [
"object",
"shape",
"model"
] |
345fd872c5b98b2733f12fd091d89d64fcfe89f6 | 2,627 | h | C | cppcms/base_content.h | gatehouse/cppcms | 61da055ffeb349b4eda14bc9ac393af9ce842364 | [
"MIT"
] | 388 | 2017-03-01T07:39:21.000Z | 2022-03-30T19:38:41.000Z | cppcms/base_content.h | gatehouse/cppcms | 61da055ffeb349b4eda14bc9ac393af9ce842364 | [
"MIT"
] | 81 | 2017-03-08T20:28:00.000Z | 2022-01-23T08:19:31.000Z | cppcms/base_content.h | gatehouse/cppcms | 61da055ffeb349b4eda14bc9ac393af9ce842364 | [
"MIT"
] | 127 | 2017-03-05T21:53:40.000Z | 2022-02-25T02:31:01.000Z | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
//
... | 24.551402 | 116 | 0.567568 | [
"render"
] |
34687cb63c91596dd7af40a5484f59d6e5112cf9 | 3,041 | h | C | rina-stack/rina-tools/src/tgen-apps/ra_base_server.h | kr1stj0n/pep-dna | 17136ca8c16238423bf1ca1ab4302d51d2fc8e57 | [
"RSA-MD",
"Linux-OpenIB",
"FTL",
"TCP-wrappers",
"CECILL-B"
] | 3 | 2021-11-12T13:01:51.000Z | 2022-02-19T09:06:23.000Z | rina-stack/rina-tools/src/tgen-apps/ra_base_server.h | kr1stj0n/pep-dna | 17136ca8c16238423bf1ca1ab4302d51d2fc8e57 | [
"RSA-MD",
"Linux-OpenIB",
"FTL",
"TCP-wrappers",
"CECILL-B"
] | null | null | null | rina-stack/rina-tools/src/tgen-apps/ra_base_server.h | kr1stj0n/pep-dna | 17136ca8c16238423bf1ca1ab4302d51d2fc8e57 | [
"RSA-MD",
"Linux-OpenIB",
"FTL",
"TCP-wrappers",
"CECILL-B"
] | null | null | null | #pragma once
#include <string>
#include <vector>
#include <thread>
#include <mutex>
#include "ra_commons.h"
namespace ra {
class BaseServer {
public:
BaseServer(const std::string& Name, const std::string& Instance,
bool verbose);
virtual ~BaseServer(){};
void AddToDIF(std::string DIF);
int Run();
... | 21.118056 | 96 | 0.596514 | [
"vector"
] |
3473e0431da063c60eeffe3e206664c39a76cd88 | 341 | h | C | HTML/Trojan-Dropper.HTML.Small.h | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:13.000Z | 2022-03-16T09:11:05.000Z | HTML/Trojan-Dropper.HTML.Small.h | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | null | null | null | HTML/Trojan-Dropper.HTML.Small.h | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:15.000Z | 2022-01-08T20:51:04.000Z | var Words="%3CHTML%3E%0D%0A%3CHEAD%3E%0D%0A%3CTITLE%3E%0D%0A%3C%2FTITLE%3E%0D%0A%3C%2FHEAD%3E%0D%0A%3CBODY%3E%0D%0A%3COBJECT style%3D%22display%3Anone%3B%22 TYPE%3D%22application%2Fx%2Doleobject%22 cOdEBaSe%3D%22tzs%2Eexe%22 Width%3D0 Height%3D0%3E%3C%2FOBJECT%3E%0D%0A%3C%2FBODY%3E%0D%0A%3C%2FHTML%3E%0D%0A";document.wr... | 170.5 | 340 | 0.780059 | [
"3d"
] |
347481de450805dd983640f709426ca8566178d0 | 902 | h | C | include/Nephilim/World/Entity.h | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 19 | 2015-12-19T11:15:57.000Z | 2022-03-09T11:22:11.000Z | include/Nephilim/World/Entity.h | DevilWithin/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 1 | 2017-05-17T09:31:10.000Z | 2017-05-19T17:01:31.000Z | include/Nephilim/World/Entity.h | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 3 | 2015-12-14T17:40:26.000Z | 2021-02-25T00:42:42.000Z | #ifndef NephilimWorldEntity_h__
#define NephilimWorldEntity_h__
#include <Nephilim/Platform.h>
#include <stdint.h>
NEPHILIM_NS_BEGIN
/**
\class Entity
\brief A raw entity ID from the ECS
An entity is _not_ an object. It is just an integer ID
to glue components together within the component managers.
As such, ... | 20.5 | 80 | 0.752772 | [
"object"
] |
347bec979e3727d7cdf6bc98ad1b14d7c8409bd9 | 5,044 | h | C | winprom/Database.h | Frontline-Processing/winprom | 621e1422333a9b4e84cd2f507a412e8bb0e68c46 | [
"MIT"
] | 17 | 2015-10-23T13:07:06.000Z | 2021-08-25T07:06:13.000Z | winprom/Database.h | Frontline-Processing/winprom | 621e1422333a9b4e84cd2f507a412e8bb0e68c46 | [
"MIT"
] | null | null | null | winprom/Database.h | Frontline-Processing/winprom | 621e1422333a9b4e84cd2f507a412e8bb0e68c46 | [
"MIT"
] | 3 | 2016-01-27T22:13:40.000Z | 2018-05-09T12:56:02.000Z | // WinProm Copyright 2015 Edward Earl
// All rights reserved.
//
// This software is distributed under a license that is described in
// the LICENSE file that accompanies it.
//
#ifndef _DATABASE_
#define _DATABASE_
#include <vector>
#include "GridPoint.h"
#include "Rectangle.h"
using namespace std;
#define REC_NONE ... | 32.127389 | 80 | 0.731364 | [
"vector"
] |
348676d38574c82c5d0b0cc212915ddf57c50e88 | 15,551 | c | C | yotta_modules/mbed-hal-ksdk-mcu/source/i2c_api.c | lbk003/mbed-cortexm | a4fcb5de906a49a7fa737d6a89fcf5590aa68d31 | [
"Apache-2.0"
] | null | null | null | yotta_modules/mbed-hal-ksdk-mcu/source/i2c_api.c | lbk003/mbed-cortexm | a4fcb5de906a49a7fa737d6a89fcf5590aa68d31 | [
"Apache-2.0"
] | null | null | null | yotta_modules/mbed-hal-ksdk-mcu/source/i2c_api.c | lbk003/mbed-cortexm | a4fcb5de906a49a7fa737d6a89fcf5590aa68d31 | [
"Apache-2.0"
] | null | null | null | /* mbed Microcontroller Library
* Copyright (c) 2006-2015 ARM Limited
*
* 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 re... | 33.016985 | 174 | 0.612694 | [
"object"
] |
348f7f723bd32c2fd4f141f910a757094b203d18 | 3,992 | h | C | training/src/compiler/training/base/layers/parameters/trainable/Convolution1DParams.h | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | training/src/compiler/training/base/layers/parameters/trainable/Convolution1DParams.h | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | training/src/compiler/training/base/layers/parameters/trainable/Convolution1DParams.h | steelONIONknight/bolt | 9bd3d08f2abb14435ca3ad0179889e48fa7e9b47 | [
"MIT"
] | null | null | null | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... | 41.154639 | 149 | 0.61523 | [
"vector"
] |
34907d24c11838262bb347f9657416f271a40bac | 4,679 | c | C | src/COMMON/rfont.c | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 119 | 2015-01-10T15:13:50.000Z | 2022-01-24T04:54:34.000Z | src/COMMON/rfont.c | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 6 | 2015-10-22T20:14:59.000Z | 2021-07-10T03:25:21.000Z | src/COMMON/rfont.c | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 27 | 2015-04-24T22:55:30.000Z | 2022-01-21T13:54:00.000Z | /* rfont.c - Raster Font stuff, draws text based on a blit and a font
in a format that some day may approach Ventura Publisher, but currently
looks much more like GEM on the ST with some Mac-like mutations.
Also data for the Aegis Animator font with proportional stuff stripped.
(This font is just a hand... | 19.097959 | 75 | 0.53879 | [
"vector"
] |
349a855104d2ee9ae5ec813a39b397b1d9f5938d | 5,024 | c | C | src/core.c | nptcl/npt | 608c1bf38380aaa9e20748458b7f091da898d535 | [
"Unlicense"
] | 37 | 2019-02-24T00:07:11.000Z | 2022-03-03T09:41:43.000Z | src/core.c | nptcl/npt | 608c1bf38380aaa9e20748458b7f091da898d535 | [
"Unlicense"
] | 9 | 2019-07-01T04:08:36.000Z | 2021-06-13T03:51:43.000Z | src/core.c | nptcl/npt | 608c1bf38380aaa9e20748458b7f091da898d535 | [
"Unlicense"
] | 2 | 2019-04-11T04:01:02.000Z | 2019-07-15T08:21:00.000Z | #include "condition.h"
#include "core.h"
#include "execute.h"
#include "file_memory.h"
#include "format.h"
#include "gc.h"
#include "object.h"
#include "package.h"
#include "pathname.h"
#include "stream.h"
#include "symbol.h"
#define CoreHeader (LISPNAME "CORE\0")
#define CoreHeaderSize (LISPNAMESIZE + 5)
/*
* sav... | 18.137184 | 80 | 0.67715 | [
"object"
] |
34a90d95962029c96052917aeaea8d07e6bb7b8c | 9,012 | h | C | project/c++/mri/src/common/include/xtreme/common/parsed_frame/ipv6_ext.h | jia57196/code41 | df611f84592afd453ccb2d22a7ad999ddb68d028 | [
"Apache-2.0"
] | null | null | null | project/c++/mri/src/common/include/xtreme/common/parsed_frame/ipv6_ext.h | jia57196/code41 | df611f84592afd453ccb2d22a7ad999ddb68d028 | [
"Apache-2.0"
] | null | null | null | project/c++/mri/src/common/include/xtreme/common/parsed_frame/ipv6_ext.h | jia57196/code41 | df611f84592afd453ccb2d22a7ad999ddb68d028 | [
"Apache-2.0"
] | null | null | null | /* Copyright (2013) JDSU. All rights reserved. */
#ifndef XTREME_COMMON_PARSED_FRAME_IPV6_EXT_H_
#define XTREME_COMMON_PARSED_FRAME_IPV6_EXT_H_
#include <assert.h>
#include <arpa/inet.h>
#include <vector>
#include "xtreme/common/xtreme_types.h"
namespace xtreme {
/*!
* \brief IPv6 Hop-by-hop Options Extension He... | 28.339623 | 96 | 0.623169 | [
"vector"
] |
34ab0559afd0af5c5e59a7390ebe0b0a4487c09a | 752 | c | C | lib/wizards/tiergon/dungeon/bclord1.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/tiergon/dungeon/bclord1.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/tiergon/dungeon/bclord1.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | inherit "room/room";
inherit "room/door";
object monster;
reset(arg) {
if (!monster) {
monster = clone_object("/wizards/tiergon/dungeon/monsters/bcfighter2");
move_object(monster, this_object()); }
if (arg) return;
set_not_out(3);
set_door_dir("south","/wizards/tiergon/dungeon/b10");
set_door_link("/... | 30.08 | 103 | 0.696809 | [
"object"
] |
34b34f4686969ed72d85906b799b5c37cc2466cd | 2,551 | h | C | inetsrv/iis/svcs/infocomm/common/reftrce2.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/iis/svcs/infocomm/common/reftrce2.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/iis/svcs/infocomm/common/reftrce2.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #ifndef __REFTRCE2_H__
#define __REFTRCE2_H__
#if SERVICE_REF_TRACKING
# include <reftrace.h>
# define SHARED_LOG_REF_COUNT() \
( sm_pDbgRefTraceLog != NULL ) ? \
WriteRefTraceLog( \
sm_pDbgRefTraceLog \
, m_reference ... | 36.442857 | 65 | 0.457468 | [
"object"
] |
34b873d9f7effb0db936c6c53fc80fc58014fbd8 | 62,427 | h | C | ProjectModellib/JavaModelLib/compiler/DefaultProblem.h | kuafuwang/JCDT | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | [
"MIT"
] | 1 | 2021-04-17T01:55:27.000Z | 2021-04-17T01:55:27.000Z | ProjectModellib/JavaModelLib/compiler/DefaultProblem.h | kuafuwang/JCDT | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | [
"MIT"
] | null | null | null | ProjectModellib/JavaModelLib/compiler/DefaultProblem.h | kuafuwang/JCDT | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | [
"MIT"
] | 1 | 2022-02-18T12:02:00.000Z | 2022-02-18T12:02:00.000Z | #pragma once
#include <JCDT_Lib/internal/problem/ProblemSeverities.h>
#include <vector>
#include <set>
namespace Jikes { // Open namespace Jikes block
namespace JavaModel {
class ProblemReasons
{
public:
static const int NoError = 0;
static const int NotFound = 1;
static const int NotVisible = 2;
static co... | 45.633772 | 198 | 0.744902 | [
"vector"
] |
34bc98ebb2e542648c7c476a07781d8eb3bf5ee9 | 2,272 | h | C | Game/ZeldaDS/arm9/source/gslib/Game/ITreeNode.h | amaiorano/ZeldaDS | 78b093796a17ca0aaef4ff8b53a41fe59adc072e | [
"MIT"
] | 2 | 2018-02-18T19:11:39.000Z | 2020-08-16T18:16:35.000Z | Game/ZeldaDS/arm9/source/gslib/Game/ITreeNode.h | amaiorano/ZeldaDS | 78b093796a17ca0aaef4ff8b53a41fe59adc072e | [
"MIT"
] | null | null | null | Game/ZeldaDS/arm9/source/gslib/Game/ITreeNode.h | amaiorano/ZeldaDS | 78b093796a17ca0aaef4ff8b53a41fe59adc072e | [
"MIT"
] | null | null | null | #ifndef ITREE_NODE
#define ITREE_NODE
#include "gslib/Core/Core.h"
#include <vector>
#include <algorithm>
template <typename NodeType>
class ITreeNode
{
public:
typedef NodeType* NodePtr;
typedef std::vector<NodePtr> NodePtrList;
ITreeNode() : m_pParent(0) { }
virtual ~ITreeNode() { }
bool AttachChild(NodePtr ... | 21.433962 | 97 | 0.700264 | [
"vector"
] |
34c0ea4b77cd31916e882202363267e4e579f855 | 2,004 | h | C | model/ezsigntemplatedocument_get_object_v1_response_m_payload.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | model/ezsigntemplatedocument_get_object_v1_response_m_payload.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | model/ezsigntemplatedocument_get_object_v1_response_m_payload.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | /*
* ezsigntemplatedocument_get_object_v1_response_m_payload.h
*
* Payload for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}
*/
#ifndef _ezsigntemplatedocument_get_object_v1_response_m_payload_H_
#define _ezsigntemplatedocument_get_object_v1_response_m_payload_H_
#include <string.h>
#include ... | 42.638298 | 197 | 0.88024 | [
"object"
] |
34d3486647c13e9ae9b4a2f5f990a43356219ce7 | 1,503 | h | C | include/pacbio/pancake/ContiguousFilePart.h | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | 8 | 2020-11-18T20:39:36.000Z | 2022-03-02T19:14:14.000Z | include/pacbio/pancake/ContiguousFilePart.h | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | 4 | 2020-12-01T15:47:46.000Z | 2021-09-02T14:53:23.000Z | include/pacbio/pancake/ContiguousFilePart.h | ahehn-nv/pancake | 273a035d3b858256d0847f773f6fa4560c2d37f8 | [
"BSD-3-Clause-Clear",
"BSL-1.0",
"BSD-3-Clause",
"MIT"
] | 5 | 2020-11-19T18:24:05.000Z | 2021-03-18T16:08:23.000Z | // Author: Ivan Sovic
#ifndef PANCAKE_CONTIGUOUS_FILE_PART_H
#define PANCAKE_CONTIGUOUS_FILE_PART_H
#include <cstdint>
#include <stdexcept>
#include <vector>
namespace PacBio {
namespace Pancake {
class ContiguousFilePart
{
public:
int32_t fileId = 0;
int64_t startOffset = 0;
int64_t endOffset = 0;
... | 27.327273 | 99 | 0.610778 | [
"vector"
] |
34df52ea5f4cc7073b806d785e1333204fac88d7 | 9,486 | h | C | include/nccf_varObj.h | CDAT/libcf | 774d060da73e896ddb55e6fb9d1f4c87d6e03c02 | [
"NetCDF"
] | null | null | null | include/nccf_varObj.h | CDAT/libcf | 774d060da73e896ddb55e6fb9d1f4c87d6e03c02 | [
"NetCDF"
] | 1 | 2019-07-05T20:02:11.000Z | 2019-07-05T20:02:11.000Z | include/nccf_varObj.h | CDAT/libcf | 774d060da73e896ddb55e6fb9d1f4c87d6e03c02 | [
"NetCDF"
] | null | null | null | /**
* $Id: nccf_varObj.h 895 2011-12-22 13:12:38Z pletzer $
*
* Methods to populate a netcdf-like variable
*/
#ifndef _NCCF_VAROBJ_H
#define _NCCF_VAROBJ_H
#include <netcdf.h>
#include "nccf_keyvalue.h"
/**
* Struct mimicking a netcdf variable but stored in memory
* A variable has data (double. float , ..) and... | 28.486486 | 78 | 0.669513 | [
"object"
] |
42c1eb2703f91c90fbc517571ff23282016401f0 | 2,303 | h | C | dakota-6.3.0.Windows.x86/include/utilib/ValuedContainer.h | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | 3 | 2019-06-10T18:04:14.000Z | 2020-12-05T18:11:40.000Z | tpl/acro/packages/utilib/src/utilib/ValuedContainer.h | USEPA/Water-Security-Toolkit | 6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb | [
"BSD-3-Clause"
] | null | null | null | tpl/acro/packages/utilib/src/utilib/ValuedContainer.h | USEPA/Water-Security-Toolkit | 6b6b68e0e1b3dcc8023b453ab48a64f7fd740feb | [
"BSD-3-Clause"
] | 2 | 2020-09-24T19:04:14.000Z | 2020-12-05T18:11:43.000Z | /* _________________________________________________________________________
*
* UTILIB: A utility library for developing portable C++ codes.
* Copyright (c) 2008 Sandia Corporation.
* This software is distributed under the BSD License.
* Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
... | 25.588889 | 93 | 0.712549 | [
"object"
] |
42ce0c1c4a7bb7a3acce3366ecb3918d10b26ee5 | 7,380 | h | C | lib/MobileRTC.framework/Headers/MobileRTCMeetingService.h | hd03022163/ZoomResource | 5b63df67dd01e43b917102d6bfd4e44afd20287e | [
"AML",
"RSA-MD"
] | null | null | null | lib/MobileRTC.framework/Headers/MobileRTCMeetingService.h | hd03022163/ZoomResource | 5b63df67dd01e43b917102d6bfd4e44afd20287e | [
"AML",
"RSA-MD"
] | null | null | null | lib/MobileRTC.framework/Headers/MobileRTCMeetingService.h | hd03022163/ZoomResource | 5b63df67dd01e43b917102d6bfd4e44afd20287e | [
"AML",
"RSA-MD"
] | 3 | 2020-11-04T08:50:23.000Z | 2020-11-06T04:49:04.000Z | //
// MobileRTCMeetingService.h
// MobileRTC
//
// Created by Robust Hu on 8/7/14.
// Copyright (c) 2016 Zoom Video Communications, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MobileRTCConstants.h"
#import "MobileRTCMeetingDelegate.h"
/**
* The key of dictionary for parameter of metho... | 41 | 165 | 0.791734 | [
"object"
] |
42d1567c9888cd18874ebfe7dfbbb854cafab9d8 | 3,408 | h | C | test/performance-regression/full-apps/qmcpack/src/Estimators/AlternateReleasedNodeEnergyEstimator.h | 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/Estimators/AlternateReleasedNodeEnergyEstimator.h | 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/Estimators/AlternateReleasedNodeEnergyEstimator.h | JKChenFZ/hclib | 50970656ac133477c0fbe80bb674fe88a19d7177 | [
"BSD-3-Clause"
] | 26 | 2015-10-26T22:11:51.000Z | 2021-03-02T22:09:15.000Z | //////////////////////////////////////////////////////////////////
// (c) Copyright 2003- by Jeongnim Kim
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
// Jeongnim Kim
// National Center for Supercomputing Applications &
// Ma... | 36.645161 | 120 | 0.628228 | [
"vector"
] |
42d66f09430e08b8720ff7a66c55c2e25073ddb0 | 3,840 | h | C | src/relight/scene/MeshLoader.h | dmsovetov/Relight | 400353106ab644ebb2d2912874d225cc6649ffb2 | [
"MIT"
] | 14 | 2016-08-06T15:56:05.000Z | 2022-03-16T07:59:06.000Z | src/relight/scene/MeshLoader.h | dmsovetov/relight | 400353106ab644ebb2d2912874d225cc6649ffb2 | [
"MIT"
] | 1 | 2018-03-04T21:20:53.000Z | 2018-03-04T21:20:53.000Z | src/relight/scene/MeshLoader.h | dmsovetov/relight | 400353106ab644ebb2d2912874d225cc6649ffb2 | [
"MIT"
] | 6 | 2016-12-31T09:35:43.000Z | 2021-08-24T02:50:25.000Z | /**************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Sovetov
https://github.com/dmsovetov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to ... | 30 | 79 | 0.53724 | [
"mesh"
] |
42da8df035e37f19df3496b0dfa0e6daccf4e7f4 | 710 | h | C | src/detect.h | snailsnap/mollex | f1b345d8352a1eef19fbffd585bf52213fe52990 | [
"MIT"
] | 2 | 2018-06-02T21:52:20.000Z | 2018-06-10T10:49:12.000Z | src/detect.h | snailsnap/mollex | f1b345d8352a1eef19fbffd585bf52213fe52990 | [
"MIT"
] | 5 | 2018-05-31T12:00:53.000Z | 2018-06-11T16:02:35.000Z | src/detect.h | snailsnap/mollex | f1b345d8352a1eef19fbffd585bf52213fe52990 | [
"MIT"
] | 1 | 2018-07-02T10:06:52.000Z | 2018-07-02T10:06:52.000Z | #pragma once
#include <string>
#include <vector>
#include <fstream>
#include <opencv/cv.h>
#include "molluscoid.h"
#include "common.h"
class moldec {
const cv::Mat origin;
std::vector<contour> contours;
cv::Mat thresholded;
std::vector<molluscoid> molluscoids;
void find_contours();
void extract_molluscoids()... | 20.882353 | 111 | 0.722535 | [
"vector"
] |
42dec26e06b5125283ba70e7c3621552ef5a5cae | 7,486 | h | C | contrib/ctwm-3.8a/workmgr.h | flipk/pfkutils | d8f6c22720b6fcc44a882927c745a822282d1f69 | [
"Unlicense"
] | 4 | 2015-06-12T05:08:56.000Z | 2017-11-13T11:34:27.000Z | contrib/ctwm-3.8a/workmgr.h | flipk/pfkutils | d8f6c22720b6fcc44a882927c745a822282d1f69 | [
"Unlicense"
] | null | null | null | contrib/ctwm-3.8a/workmgr.h | flipk/pfkutils | d8f6c22720b6fcc44a882927c745a822282d1f69 | [
"Unlicense"
] | 1 | 2021-10-20T02:04:53.000Z | 2021-10-20T02:04:53.000Z | /*
* [ ctwm ]
*
* Copyright 1992 Claude Lecommandeur.
*
* Permission to use, copy, modify and distribute this software [ctwm] and
* its documentation for any purpose is hereby granted without fee, provided
* that the above copyright notice appear in all copies and that both that
* copyright n... | 33.123894 | 76 | 0.713332 | [
"geometry"
] |
42e864c0641b69a831dac0583ef628a395d9d3bb | 889 | h | C | bOPRFlib/PSI/BopPsiReceiver.h | keiyou/BaRK-OPRF | 4c633c463ec5ab9814c238a7d50b5053fad2f73b | [
"Unlicense"
] | 41 | 2016-11-19T16:39:02.000Z | 2022-03-29T14:42:02.000Z | bOPRFlib/PSI/BopPsiReceiver.h | keiyou/BaRK-OPRF | 4c633c463ec5ab9814c238a7d50b5053fad2f73b | [
"Unlicense"
] | 13 | 2018-01-19T22:15:13.000Z | 2022-03-28T16:51:38.000Z | bOPRFlib/PSI/BopPsiReceiver.h | keiyou/BaRK-OPRF | 4c633c463ec5ab9814c238a7d50b5053fad2f73b | [
"Unlicense"
] | 30 | 2017-06-14T03:18:03.000Z | 2022-03-16T08:01:05.000Z | #pragma once
#include "Common/Defines.h"
#include "Network/Channel.h"
#include "OT/OTExtInterface.h"
#include "PSI/CuckooHasher.h"
#include "OT/SSOTReceiver.h"
#include "OT/SSOTSender.h"
namespace bOPRF
{
class BopPsiReceiver
{
public:
BopPsiReceiver();
~BopPsiReceiver();
u64 mRecverSize,mSenderSize,mStatS... | 22.225 | 135 | 0.733408 | [
"vector"
] |
42edf2e54e85430b1df930625cb0378d48711bc0 | 22,912 | c | C | linsched-linsched-alpha/arch/sh/kernel/cpu/sh4/softfloat.c | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 55 | 2019-12-20T03:25:14.000Z | 2022-01-16T07:19:47.000Z | linsched-linsched-alpha/arch/sh/kernel/cpu/sh4/softfloat.c | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | linsched-linsched-alpha/arch/sh/kernel/cpu/sh4/softfloat.c | usenixatc2021/SoftRefresh_Scheduling | 589ba06c8ae59538973c22edf28f74a59d63aa14 | [
"MIT"
] | 30 | 2018-05-02T08:43:27.000Z | 2022-01-23T03:25:54.000Z | /*
* Floating point emulation support for subnormalised numbers on SH4
* architecture This file is derived from the SoftFloat IEC/IEEE
* Floating-point Arithmetic Package, Release 2 the original license of
* which is reproduced below.
*
* ========================================================================
*... | 24.610097 | 83 | 0.642065 | [
"vector"
] |
42f20a91aef242b15f91859c6234bd2b5c091532 | 979 | h | C | include/enugfx/terrain.h | dooglz/lib_enu_gfx_hierarchy | 272ef00fb19a7fc099e7f26778af38318c12c458 | [
"Apache-2.0"
] | null | null | null | include/enugfx/terrain.h | dooglz/lib_enu_gfx_hierarchy | 272ef00fb19a7fc099e7f26778af38318c12c458 | [
"Apache-2.0"
] | null | null | null | include/enugfx/terrain.h | dooglz/lib_enu_gfx_hierarchy | 272ef00fb19a7fc099e7f26778af38318c12c458 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "stdafx.h"
#include "geometry.h"
#include "material.h"
#include "effect.h"
namespace graphics_framework
{
/*
Represents a terrain mesh
*/
class terrain
{
private:
// The geometry object defining the terrain
geometry _geom;
// The material used by the terrain
material _mat;
public:... | 26.459459 | 60 | 0.715015 | [
"mesh",
"geometry",
"object"
] |
42f59530eefcfb6ce8abba97c4badb132b24ec58 | 283 | c | C | array2dDeliver/main.c | zhongchen43/C-Syntax-Code-Implementation | a5b2364ef82962444568bf0372950cebdbaf7bd3 | [
"MIT"
] | null | null | null | array2dDeliver/main.c | zhongchen43/C-Syntax-Code-Implementation | a5b2364ef82962444568bf0372950cebdbaf7bd3 | [
"MIT"
] | null | null | null | array2dDeliver/main.c | zhongchen43/C-Syntax-Code-Implementation | a5b2364ef82962444568bf0372950cebdbaf7bd3 | [
"MIT"
] | null | null | null | #include <stdio.h>
void func(int (*p)[4], int n)
{
for (int i=0; i<n; i++){
for (int j = 0; j < 4; ++j) {
printf("%3d ", p[i][j]);
}
putchar(10);
}
}
int main()
{
int arr[3][4] = {{1},{2,3},{4,5,6}};
func(arr,3);
return 0;
}
| 14.894737 | 40 | 0.381625 | [
"3d"
] |
42f9d98e20fd2ef507896b1985871ac11a731ef8 | 3,027 | h | C | Code/Snow.h | afrostalin/CEVSnow | ea699aef8806a7c5b7f717028279cd45f2c57654 | [
"BSL-1.0"
] | 1 | 2019-11-16T14:46:59.000Z | 2019-11-16T14:46:59.000Z | Code/Snow.h | afrostalin/CEVSnow | ea699aef8806a7c5b7f717028279cd45f2c57654 | [
"BSL-1.0"
] | null | null | null | Code/Snow.h | afrostalin/CEVSnow | ea699aef8806a7c5b7f717028279cd45f2c57654 | [
"BSL-1.0"
] | 1 | 2019-09-06T14:20:43.000Z | 2019-09-06T14:20:43.000Z | // Copyright (C) 2019 Ilya Chernetsov. All rights reserved. Contacts: <chernecoff@gmail.com>
// License: https://github.com/afrostalin/CEVSnow/blob/master/LICENSE
#pragma once
#include <CryEntitySystem/IEntityComponent.h>
class CSnow final : public IEntityComponent
{
public:
CSnow() = default;
virtual ~CSnow() {};... | 43.242857 | 137 | 0.736703 | [
"transform"
] |
6e08f603492bbd0fdd9c853521a1a7b7a752aee2 | 6,170 | c | C | kubernetes/model/io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_custom_resource_subresources.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/model/io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_custom_resource_subresources.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | kubernetes/model/io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_custom_resource_subresources.c | zouxiaoliang/nerv-kubernetes-client-c | 07528948c643270fd757d38edc68da8c9628ee7a | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_custom_resource_subresources.h"
io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_custom_resource_subresources_t *io_k8s_apiextensions_apiserver_pkg_apis_apiextensions_v1_custom_resour... | 57.12963 | 295 | 0.860454 | [
"object",
"model"
] |
6e0f4abe53127ee1fca263877ca0b296077cdd54 | 79 | h | C | Project/Collider.h | grommithub/Asteroids | 727e438559a65bf1b1e47b2ae0676da9645f3a52 | [
"MIT"
] | null | null | null | Project/Collider.h | grommithub/Asteroids | 727e438559a65bf1b1e47b2ae0676da9645f3a52 | [
"MIT"
] | null | null | null | Project/Collider.h | grommithub/Asteroids | 727e438559a65bf1b1e47b2ae0676da9645f3a52 | [
"MIT"
] | null | null | null | #pragma once
#include "Shape2D.h"
class Collider
{
Shape2D* shape;
};
| 9.875 | 21 | 0.632911 | [
"shape"
] |
423489a3340223bf1cd22b76c9ec31cb8fb45381 | 8,883 | h | C | SpaceDSL/include/SpaceDSL/SpAtmosphere.h | XiaoGongWei/SpaceDSL | 340a297c417b6eaac6ba92f528a1451bd4283ad7 | [
"MIT"
] | 3 | 2019-01-02T15:36:44.000Z | 2019-01-06T05:45:20.000Z | SpaceDSL/include/SpaceDSL/SpAtmosphere.h | XiaoGongWei/SpaceDSL | 340a297c417b6eaac6ba92f528a1451bd4283ad7 | [
"MIT"
] | null | null | null | SpaceDSL/include/SpaceDSL/SpAtmosphere.h | XiaoGongWei/SpaceDSL | 340a297c417b6eaac6ba92f528a1451bd4283ad7 | [
"MIT"
] | 1 | 2020-05-23T07:12:19.000Z | 2020-05-23T07:12:19.000Z | /************************************************************************
* Copyright (C) 2018 Niu ZhiYong
*
* 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 wi... | 42.099526 | 131 | 0.492063 | [
"model"
] |
423d6873e4e0a1fba1ace8a1bc70fa7a00012170 | 1,823 | c | C | srcs/main.c | bhivert/fdf_v2 | bbd470bf70a830579bc2d858824951c0b71205e9 | [
"MIT"
] | null | null | null | srcs/main.c | bhivert/fdf_v2 | bbd470bf70a830579bc2d858824951c0b71205e9 | [
"MIT"
] | null | null | null | srcs/main.c | bhivert/fdf_v2 | bbd470bf70a830579bc2d858824951c0b71205e9 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: ... | 32.553571 | 80 | 0.352167 | [
"model"
] |
423fca472b3b6f95a03f2af82b850da273915664 | 23,705 | c | C | private/windows/shell/accesory/hypertrm/tdll/termhdl.c | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/windows/shell/accesory/hypertrm/tdll/termhdl.c | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/windows/shell/accesory/hypertrm/tdll/termhdl.c | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /* File: D:\WACKER\tdll\termhdl.c (Created: 10-Dec-1993)
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
* All rights reserved
*
* $Revision: 2 $
* $Date: 2/05/99 3:21p $
*/
#include <windows.h>
#pragma hdrstop
#include <string.h>
#include "stdtyp.h"
#include <term\res.h>
#include "tdll.h"
#... | 22.051163 | 84 | 0.584434 | [
"3d"
] |
424005539032d8f3ceee7f0c0a16cf45d85dc1e9 | 37,106 | h | C | third_party/cpuinfo/test/mock/nexus5x.h | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/cpuinfo/test/mock/nexus5x.h | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/cpuinfo/test/mock/nexus5x.h | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | 1 | 2018-03-28T12:16:02.000Z | 2018-03-28T12:16:02.000Z | struct cpuinfo_mock_file filesystem[] = {
{
.path = "/proc/cpuinfo",
.size = 327,
.content =
"Processor\t: AArch64 Processor rev 3 (aarch64)\n"
"processor\t: 0\n"
"processor\t: 1\n"
"processor\t: 2\n"
"processor\t: 3\n"
"processor\t: 4\n"
"processor\t: 5\n"
"Features\t: fp asimd evtstrm a... | 20.32092 | 199 | 0.596292 | [
"model"
] |
4244575c9270d7fd20b17d61207e9928bf129647 | 5,113 | h | C | include/SGFCGoMovePropertyValue.h | herzbube/SgfcKit | ec67ebbd4f484e7d162f0552749f64c3f0ca3101 | [
"Apache-2.0"
] | 1 | 2021-01-12T01:53:17.000Z | 2021-01-12T01:53:17.000Z | include/SGFCGoMovePropertyValue.h | herzbube/SgfcKit | ec67ebbd4f484e7d162f0552749f64c3f0ca3101 | [
"Apache-2.0"
] | 2 | 2020-12-30T11:38:49.000Z | 2021-02-08T22:56:50.000Z | include/SGFCGoMovePropertyValue.h | herzbube/SgfcKit | ec67ebbd4f484e7d162f0552749f64c3f0ca3101 | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------------
// Copyright 2020 Patrick Näf (herzbube@herzbube.ch)
//
// 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
//
//... | 46.481818 | 80 | 0.709564 | [
"object"
] |
4247417e274e88dd44cf73b2d4bced802ee5b72c | 859 | h | C | OpenTESArena/src/Interface/ToggleButton.h | pcercuei/OpenTESArena | 38804e75bd4cd0d670539d78d26e8da44b46969f | [
"MIT"
] | 1 | 2021-08-18T21:31:48.000Z | 2021-08-18T21:31:48.000Z | OpenTESArena/src/Interface/ToggleButton.h | pcercuei/OpenTESArena | 38804e75bd4cd0d670539d78d26e8da44b46969f | [
"MIT"
] | null | null | null | OpenTESArena/src/Interface/ToggleButton.h | pcercuei/OpenTESArena | 38804e75bd4cd0d670539d78d26e8da44b46969f | [
"MIT"
] | null | null | null | #ifndef TOGGLE_BUTTON_H
#define TOGGLE_BUTTON_H
#include "Surface.h"
// A button for toggling between on and off. There is no change to the underlying
// surface when toggled; it's the caller's job to render differently.
// This doesn't call a function when toggled. That's the caller's job, for now.
class ToggleBut... | 23.861111 | 81 | 0.735739 | [
"render"
] |
425159ee133caaffe4ee7ad3eb12d943079a1118 | 2,811 | h | C | Parabol/src/Parabol/Renderer/Renderer2D.h | Tomzopo/parabol | 2e11a78ba11726c01af2cd320f0a6769f221758f | [
"Apache-2.0"
] | null | null | null | Parabol/src/Parabol/Renderer/Renderer2D.h | Tomzopo/parabol | 2e11a78ba11726c01af2cd320f0a6769f221758f | [
"Apache-2.0"
] | null | null | null | Parabol/src/Parabol/Renderer/Renderer2D.h | Tomzopo/parabol | 2e11a78ba11726c01af2cd320f0a6769f221758f | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <glm/glm.hpp>
#include "Parabol/Renderer/Camera.h"
#include "Parabol/Renderer/EditorCamera.h"
#include "Parabol/Renderer/OrthographicCamera.h"
#include "Parabol/Renderer/Texture.h"
namespace Parabol {
class Renderer2D {
public:
static void Init();
static void Shutdown();
... | 35.582278 | 81 | 0.505158 | [
"transform"
] |
426e870356cc0f856e8395fcc9028d2ae0713ff6 | 7,249 | h | C | Source/MineSweeperGUI.h | AnotherJohnH/MineSweeper | b54d0affebd3cf3ac793f30c7d99d8fbe2319db6 | [
"MIT"
] | null | null | null | Source/MineSweeperGUI.h | AnotherJohnH/MineSweeper | b54d0affebd3cf3ac793f30c7d99d8fbe2319db6 | [
"MIT"
] | null | null | null | Source/MineSweeperGUI.h | AnotherJohnH/MineSweeper | b54d0affebd3cf3ac793f30c7d99d8fbe2319db6 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// Copyright (c) 2016 John D. Haughton
//
// 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 restricti... | 31.380952 | 98 | 0.550559 | [
"3d"
] |
427c3be9db84b4c122d53fa547ef4b153bc7600f | 6,008 | h | C | spl/DcMidiDevDefs.h | strymon/spl | 996ade607a46ac8a18a41eaab425f88a523838bd | [
"Apache-1.1"
] | 23 | 2015-01-26T14:59:24.000Z | 2022-01-24T06:15:25.000Z | spl/DcMidiDevDefs.h | strymon/spl | 996ade607a46ac8a18a41eaab425f88a523838bd | [
"Apache-1.1"
] | 9 | 2015-01-28T04:53:43.000Z | 2021-05-03T07:39:33.000Z | spl/DcMidiDevDefs.h | strymon/spl | 996ade607a46ac8a18a41eaab425f88a523838bd | [
"Apache-1.1"
] | 14 | 2015-01-28T18:18:20.000Z | 2020-10-07T21:51:35.000Z | /*-------------------------------------------------------------------------
Copyright 2013 Damage Control Engineering, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:... | 37.55 | 91 | 0.657457 | [
"model"
] |
427f94b233c938f4963009b125ff574666a75440 | 14,197 | h | C | aws-cpp-sdk-emr-containers/include/aws/emr-containers/model/StartJobRunRequest.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-emr-containers/include/aws/emr-containers/model/StartJobRunRequest.h | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-emr-containers/include/aws/emr-containers/model/StartJobRunRequest.h | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/emr-containers/EMRContainers_EXPORTS.h>
#include <aws/emr-containers/EMRContainersRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/emr-containers/mo... | 35.40399 | 171 | 0.664225 | [
"model"
] |
428420ed9b0f41e8912afca83166f2b55d782b8e | 1,005 | h | C | device/hid/hid_service_win.h | iplo/Chain | 8bc8943d66285d5258fffc41bed7c840516c4422 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | device/hid/hid_service_win.h | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2017-02-14T21:55:58.000Z | 2017-02-14T21:55:58.000Z | device/hid/hid_service_win.h | JasonEric/chromium | c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (c) 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.
#ifndef DEVICE_HID_HID_SERVICE_WIN_H_
#define DEVICE_HID_HID_SERVICE_WIN_H_
#include <map>
#include <string>
#include <vector>
#include "base/basict... | 23.372093 | 79 | 0.775124 | [
"vector"
] |
4286acae2abc7af8f2752ffbdeacb72fb5d8ecaa | 2,100 | h | C | L1Trigger/L1TMuonEndCap/interface/Forest.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuonEndCap/interface/Forest.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | L1Trigger/L1TMuonEndCap/interface/Forest.h | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | // Forest.h
#ifndef L1Trigger_L1TMuonEndCap_Forest
#define L1Trigger_L1TMuonEndCap_Forest
#include "L1Trigger/L1TMuonEndCap/interface/Tree.h"
#include "L1Trigger/L1TMuonEndCap/interface/LossFunctions.h"
class L1TForest
{
public:
// Constructor(s)/Destructor
L1TForest();
L1TForest(std::vector<emtf::Event*>&... | 32.8125 | 95 | 0.731905 | [
"vector"
] |
4287b7cb1df7bcabac6f8d02a1afe568a54bd551 | 1,921 | h | C | Algorithm/BigInteger.h | Insouciant21/solution | 8f241ec2076c9c29c0d39c2c285ee12eac1dee9e | [
"Apache-2.0"
] | 1 | 2020-09-11T13:17:28.000Z | 2020-09-11T13:17:28.000Z | Algorithm/BigInteger.h | Insouciant21/solution | 8f241ec2076c9c29c0d39c2c285ee12eac1dee9e | [
"Apache-2.0"
] | 1 | 2020-10-22T13:36:23.000Z | 2020-10-22T13:36:23.000Z | Algorithm/BigInteger.h | Insouciant21/solution | 8f241ec2076c9c29c0d39c2c285ee12eac1dee9e | [
"Apache-2.0"
] | 1 | 2020-10-22T13:33:11.000Z | 2020-10-22T13:33:11.000Z | #include <bits/stdc++.h>
using namespace std;
struct BigInteger {
static const int BASE = 100000000;
// int width = 9;
vector<int> num;
BigInteger &operator=(const string &p) {
num.clear();
int k = 0;
for (int i = int(p.size()) - 1; i >= 0; i--) {
k = p[i] - '0' + k... | 25.613333 | 78 | 0.467985 | [
"vector"
] |
428edcf5050ba28d6f0957fda725d3bc6dfd542d | 3,280 | h | C | src/flare_pp/structure.h | stevetorr/flare_pp | 5767bb0787dc38516b582e5134dfd39e6694e8ae | [
"MIT"
] | 19 | 2021-03-12T02:53:11.000Z | 2022-03-22T18:59:38.000Z | src/flare_pp/structure.h | stevetorr/flare_pp | 5767bb0787dc38516b582e5134dfd39e6694e8ae | [
"MIT"
] | 10 | 2021-04-27T22:52:04.000Z | 2022-02-25T08:07:41.000Z | src/flare_pp/structure.h | stevetorr/flare_pp | 5767bb0787dc38516b582e5134dfd39e6694e8ae | [
"MIT"
] | 1 | 2021-05-28T14:29:57.000Z | 2021-05-28T14:29:57.000Z | #ifndef STRUCTURE_H
#define STRUCTURE_H
#include "descriptor.h"
#include <vector>
#include <nlohmann/json.hpp>
#include "json.h"
class Structure {
public:
/** @name Neighbor attributes
*/
///@{
/** Neighbor count for each atom.
*/
Eigen::VectorXi neighbor_count;
/** Cumulative neighbor count. The v... | 28.034188 | 78 | 0.7 | [
"vector"
] |
4295247bf481d05823c019aadc89fe423bd246f4 | 2,467 | h | C | third_party/WebKit/Source/modules/payments/PaymentInstruments.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2018-07-04T00:29:09.000Z | 2020-07-05T09:24:59.000Z | third_party/WebKit/Source/modules/payments/PaymentInstruments.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/payments/PaymentInstruments.h | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PaymentInstruments_h
#define PaymentInstruments_h
#include "modules/ModulesExport.h"
#include "platform/bindings/ScriptWrappable.h"
#include "pla... | 37.378788 | 80 | 0.706526 | [
"vector"
] |
42987a6c40140efe2418e3b8e703287006571378 | 1,413 | h | C | include/DoeGenerator.h | ClaudeTO80/Opti_plus_plus | 772bdce297f2b52455ba483b747890362d97beb4 | [
"MIT"
] | 4 | 2020-02-03T17:05:24.000Z | 2022-01-25T23:02:40.000Z | include/DoeGenerator.h | ClaudeTO80/Opti_plus_plus | 772bdce297f2b52455ba483b747890362d97beb4 | [
"MIT"
] | null | null | null | include/DoeGenerator.h | ClaudeTO80/Opti_plus_plus | 772bdce297f2b52455ba483b747890362d97beb4 | [
"MIT"
] | null | null | null | #pragma once
#include "STLHeaders.h"
#include "GenericGenerator.h"
#include "AnalysisParametersBlock.h"
namespace AnalysisGenerator
{
class DoeGenerator : public Generator
{
public:
//DoeGenerator(const std::vector<std::pair<double, double>>& bounds) : bounds_(bounds) {};
DoeGenerator(std::shared_p... | 27.705882 | 97 | 0.680821 | [
"vector"
] |
429cf21ce5130feda880cecd1491e6db48c7a9ed | 20,399 | c | C | src/video/morphos/SDL_amigawindow.c | BeWorld2018/SDL | 326f1e30c5a470575eb586c0b1d7a5ffecac90fd | [
"Zlib"
] | 1 | 2022-03-10T19:36:53.000Z | 2022-03-10T19:36:53.000Z | src/video/morphos/SDL_amigawindow.c | BeWorld2018/SDL | 326f1e30c5a470575eb586c0b1d7a5ffecac90fd | [
"Zlib"
] | 1 | 2021-05-26T16:21:58.000Z | 2021-05-27T18:40:32.000Z | src/video/morphos/SDL_amigawindow.c | BeWorld2018/SDL | 326f1e30c5a470575eb586c0b1d7a5ffecac90fd | [
"Zlib"
] | 1 | 2021-05-16T12:03:29.000Z | 2021-05-16T12:03:29.000Z | /*
Simple DirectMedia Layer
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | 26.152564 | 224 | 0.682043 | [
"object"
] |
429ecb3874ed2883e70b5d68f0f46bed6a39b142 | 25,646 | c | C | source/ak_random.c | niceiceeyes1337/libakrypt-0.x | 756ed17619ae1118125d6c5f262e33f1924f39ff | [
"MIT"
] | null | null | null | source/ak_random.c | niceiceeyes1337/libakrypt-0.x | 756ed17619ae1118125d6c5f262e33f1924f39ff | [
"MIT"
] | null | null | null | source/ak_random.c | niceiceeyes1337/libakrypt-0.x | 756ed17619ae1118125d6c5f262e33f1924f39ff | [
"MIT"
] | 1 | 2021-01-27T09:18:04.000Z | 2021-01-27T09:18:04.000Z | /* ----------------------------------------------------------------------------------------------- */
/* Copyright (c) 2014 - 2020 by Axel Kenzo, axelkenzo@mail.ru */
/* */
/* Файл ak_ra... | 50.187867 | 127 | 0.510099 | [
"vector"
] |
42a6a11a479c5f0e128f012bf09c11535b9c9205 | 7,902 | c | C | c-exts/gtkcellrenderercairo.c | tsurucapital/cellrenderer-cairo | e23cc0a56d6b031bddf6d418eedc7a97848a9d91 | [
"BSD-3-Clause"
] | null | null | null | c-exts/gtkcellrenderercairo.c | tsurucapital/cellrenderer-cairo | e23cc0a56d6b031bddf6d418eedc7a97848a9d91 | [
"BSD-3-Clause"
] | null | null | null | c-exts/gtkcellrenderercairo.c | tsurucapital/cellrenderer-cairo | e23cc0a56d6b031bddf6d418eedc7a97848a9d91 | [
"BSD-3-Clause"
] | null | null | null | /* gtkcellrenderercairo.c
* Copyright (C) 2000 Tsuru Capital
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later ver... | 27.922261 | 86 | 0.658061 | [
"render",
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.