hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | 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 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c7eea3f06eb53b363ca5daa139326c536b6a4720 | 376 | h | C | linked-list/linkedlist.h | AbnerLimaa/data-structures | 9d97852ab10ebb41a0577c8808b71b7292de1325 | [
"MIT"
] | null | null | null | linked-list/linkedlist.h | AbnerLimaa/data-structures | 9d97852ab10ebb41a0577c8808b71b7292de1325 | [
"MIT"
] | null | null | null | linked-list/linkedlist.h | AbnerLimaa/data-structures | 9d97852ab10ebb41a0577c8808b71b7292de1325 | [
"MIT"
] | null | null | null | typedef struct linkedlist linkedlist;
linkedlist *newlkdlst();
void freelkdlst(linkedlist *lkdlst);
void addleftlkdlst(linkedlist *lkdlst, int key);
void addrightlkdlst(linkedlist *lkdlst, int key);
int remleftlkdlst(linkedlist *lkdlst);
int remrightlkdlst(linkedlist *lkdlst);
int remlkdlst(linkedlist *lkdlst, i... | 22.117647 | 49 | 0.789894 |
b5681f6b47895f41ff3f02fed9bf9cc2f3afe862 | 39 | h | C | instrumenter/longlong.h | iromeroh/pthreads-race-detector | b20e20d1daf11a6e82f4a9f1b2e1364989948d7e | [
"MIT"
] | 2 | 2018-12-10T14:57:13.000Z | 2021-09-03T13:36:55.000Z | instrumenter/longlong.h | iromeroh/pthreads-race-detector | b20e20d1daf11a6e82f4a9f1b2e1364989948d7e | [
"MIT"
] | null | null | null | instrumenter/longlong.h | iromeroh/pthreads-race-detector | b20e20d1daf11a6e82f4a9f1b2e1364989948d7e | [
"MIT"
] | null | null | null | #define HAVE_64BIT_LONG_LONG /* yes */
| 19.5 | 38 | 0.74359 |
c541aa79a4fa5748c8f22bdbc24fa01a05d270fb | 14,562 | c | C | Src/analyzer/window/screenshot.c | maker99/Antenna_Analyzer_EU1KY_var_DH1AKF | 4b8929ec148a165bca47894fc8511952b06a27d4 | [
"Unlicense"
] | null | null | null | Src/analyzer/window/screenshot.c | maker99/Antenna_Analyzer_EU1KY_var_DH1AKF | 4b8929ec148a165bca47894fc8511952b06a27d4 | [
"Unlicense"
] | null | null | null | Src/analyzer/window/screenshot.c | maker99/Antenna_Analyzer_EU1KY_var_DH1AKF | 4b8929ec148a165bca47894fc8511952b06a27d4 | [
"Unlicense"
] | null | null | null | /*
* (c) Yury Kuchura
* kuchura@gmail.com
*
* This code can be used on terms of WTFPL Version 2 (http://www.wtfpl.net/).
*/
#include <stdint.h>
#include <stdio.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <complex.h>
#include... | 26.476364 | 178 | 0.559676 |
5de2130eb98bf653b3c64c0968e3540f685d0f9d | 388 | h | C | src/XeEngine/CLI.h | Xeeynamo/RESonic | 8377787343e6e79c5dc2b8a5e70bb5fb118e36ea | [
"MIT"
] | 5 | 2017-06-25T17:04:09.000Z | 2018-01-11T17:37:25.000Z | src/XeEngine/CLI.h | Xeeynamo/RESonic | 8377787343e6e79c5dc2b8a5e70bb5fb118e36ea | [
"MIT"
] | 1 | 2017-06-25T18:39:47.000Z | 2017-06-25T18:54:15.000Z | src/XeEngine/CLI.h | Xeeynamo/RESonic | 8377787343e6e79c5dc2b8a5e70bb5fb118e36ea | [
"MIT"
] | null | null | null | #pragma once
#include "XeEngineLV1.h"
#include "XeFile.h"
struct CLIHeader
{
short count;
byte paths;
byte reserved;
};
class CLI
{
private:
protected:
void *data;
XeEngine::File file;
CLIHeader header;
public:
CLI();
~CLI();
bool Load(char *filename);
bool Save(char *filename);
short Count();
void Count... | 12.516129 | 27 | 0.68299 |
b91529590df81869d8b93206b64215514a05f3c1 | 939 | c | C | gpio.c | TeamMolecule/f00dsimpleserial | 954ac2caa9aa098197eac22197bc786b76b7084b | [
"MIT"
] | 16 | 2018-12-29T20:59:31.000Z | 2021-12-14T19:09:33.000Z | gpio.c | TeamMolecule/f00dsimpleserial | 954ac2caa9aa098197eac22197bc786b76b7084b | [
"MIT"
] | null | null | null | gpio.c | TeamMolecule/f00dsimpleserial | 954ac2caa9aa098197eac22197bc786b76b7084b | [
"MIT"
] | 5 | 2018-12-30T19:39:01.000Z | 2021-09-11T19:06:14.000Z | /* simpleserial for f00d
*
* Copyright (C) 2018 molecule
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "config.h"
#include "types.h"
#include "vita.h"
#include "gpio.h"
#define GPIO_REGS(i) ((void *)((i) == 0 ? GPIO0_BA... | 20.866667 | 72 | 0.657082 |
22ed3b1f265dc0b7415b8bd234bf40254ab8b4c6 | 1,968 | c | C | src/h5core/h5_syscall.c | greole/H5hut | 7833ed7877b7578b1ec3308ba2b465fc54d0c582 | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-01-12T14:01:55.000Z | 2020-01-12T14:01:55.000Z | src/h5core/h5_syscall.c | greole/H5hut | 7833ed7877b7578b1ec3308ba2b465fc54d0c582 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/h5core/h5_syscall.c | greole/H5hut | 7833ed7877b7578b1ec3308ba2b465fc54d0c582 | [
"BSD-3-Clause-LBNL"
] | 2 | 2019-06-04T08:40:40.000Z | 2020-01-10T21:25:42.000Z | /*
Copyright (c) 2006-2016, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any
required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
Institut (Switzerland). All rights reserved.
License: see file COPYING in top level of sou... | 19.68 | 74 | 0.634654 |
b98f0d335b9dcc976b80c4607814d08801c06ffb | 3,165 | h | C | trans.h | sshwy/linux-tt | 659a1114dfba22d5ac6b0ea42520d96433c0edfb | [
"MIT"
] | null | null | null | trans.h | sshwy/linux-tt | 659a1114dfba22d5ac6b0ea42520d96433c0edfb | [
"MIT"
] | null | null | null | trans.h | sshwy/linux-tt | 659a1114dfba22d5ac6b0ea42520d96433c0edfb | [
"MIT"
] | null | null | null | /**
* author: @sshwy
* name: trans.cpp
* description: 状态转移函数
*/
#ifndef _TRANS_H_
#define _TRANS_H_
#include "status.h"
#include <cstring>
#define HOME 1
#define EXIT 2
#define MENU 3
#define ABOUT 4
#define START 5
#define INPUT 6
#define INCORRECT 7
#define FINISH 8
#define ERROR 0
Game (*game_trans[10][300])(Ga... | 23.444444 | 68 | 0.5406 |
02d1a7efa53d7356cade240dd9c259d3d9c2bc42 | 2,307 | h | C | include/DrawUtils.h | isqiwen/Render | 176821ee2de6eec02e8e3d824e40fb5c267185a2 | [
"MIT"
] | null | null | null | include/DrawUtils.h | isqiwen/Render | 176821ee2de6eec02e8e3d824e40fb5c267185a2 | [
"MIT"
] | null | null | null | include/DrawUtils.h | isqiwen/Render | 176821ee2de6eec02e8e3d824e40fb5c267185a2 | [
"MIT"
] | 1 | 2021-08-23T11:42:28.000Z | 2021-08-23T11:42:28.000Z | #ifndef RENDER_DRAW_UTILS_H
#define RENDER_DRAW_UTILS_H
#include <cmath>
#include <glm/glm.hpp>
#include <imgpp/imgpp.hpp>
/**
* Data for a vertices.
*/
typedef struct {
glm::vec3 screen_pos; // Position projected on the 2D screen
glm::vec3 normal; // Normal position in transformed coordinates
glm::vec3... | 40.473684 | 114 | 0.468574 |
475226652df8327e4a54c85a10f590f8aeabcaa2 | 1,119 | h | C | tests/barrier.h | gridem/Subjector | a96497bec277918b5f24eb0e3c2ec93a01f71086 | [
"Apache-2.0"
] | 6 | 2017-10-23T15:55:35.000Z | 2019-12-26T15:02:36.000Z | tests/barrier.h | gridem/Subjector | a96497bec277918b5f24eb0e3c2ec93a01f71086 | [
"Apache-2.0"
] | null | null | null | tests/barrier.h | gridem/Subjector | a96497bec277918b5f24eb0e3c2ec93a01f71086 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2015-2017 Grigory Demchenko (aka gridem)
*
* 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... | 19.293103 | 75 | 0.669348 |
478eee54baf9efdd62e36c8c536185b0ace15214 | 284 | h | C | BStoreMobile/XYFriendsMsgController.h | codedjw/bsmobileback | c40f2f4d56b02396c56d5345d65441d355ac253a | [
"Apache-2.0"
] | null | null | null | BStoreMobile/XYFriendsMsgController.h | codedjw/bsmobileback | c40f2f4d56b02396c56d5345d65441d355ac253a | [
"Apache-2.0"
] | null | null | null | BStoreMobile/XYFriendsMsgController.h | codedjw/bsmobileback | c40f2f4d56b02396c56d5345d65441d355ac253a | [
"Apache-2.0"
] | null | null | null | //
// XYFriendsMsgController.h
// BStoreMobile
//
// Created by Julie on 14-7-29.
// Copyright (c) 2014年 SJTU. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XYTableViewController.h"
@interface XYFriendsMsgController : XYTableViewController<UIAlertViewDelegate>
@end
| 18.933333 | 78 | 0.742958 |
a89d10839924900574e1761ee4468db966aa8dbb | 587 | c | C | aoj/1/AOJ0149.c | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | aoj/1/AOJ0149.c | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | aoj/1/AOJ0149.c | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | //
// AOJ0149.c
//
//
// Created by n_knuu on 2014/03/09.
//
//
#include <stdio.h>
char eyetest(double sight);
int main(void) {
int rc[4]={0},lc[4]={0},i;
double right,left;
while (scanf("%lf %lf",&right,&left)!=EOF) {
rc[eyetest(right)-'A']++;
lc[eyetest(left)-'A']++;
}
for (i=... | 18.34375 | 54 | 0.477002 |
016547459f22d2a2d2545bda779e0137717e5910 | 195 | h | C | weibo/weibo/Classes/Home/View/WLCTitleButton.h | WLChopSticks/weiboCopys | 8928a230231fb0f9bfd66193cfb90c1006905d28 | [
"Apache-2.0"
] | null | null | null | weibo/weibo/Classes/Home/View/WLCTitleButton.h | WLChopSticks/weiboCopys | 8928a230231fb0f9bfd66193cfb90c1006905d28 | [
"Apache-2.0"
] | null | null | null | weibo/weibo/Classes/Home/View/WLCTitleButton.h | WLChopSticks/weiboCopys | 8928a230231fb0f9bfd66193cfb90c1006905d28 | [
"Apache-2.0"
] | null | null | null | //
// WLCTitleButton.h
// weibo
//
// Created by 王 on 16/2/19.
// Copyright © 2016年 WLChopSticks. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WLCTitleButton : UIButton
@end
| 13.928571 | 56 | 0.671795 |
9252eb258e41668625ad2f8e2b008cf08ac00346 | 1,238 | h | C | Source/OverlordProject/Components/Recipe/RecipeComponent.h | TomvanWaas/OvercookedImitation | 895b98ff23b026bafc24267c8707d68870a2ac58 | [
"MIT"
] | null | null | null | Source/OverlordProject/Components/Recipe/RecipeComponent.h | TomvanWaas/OvercookedImitation | 895b98ff23b026bafc24267c8707d68870a2ac58 | [
"MIT"
] | null | null | null | Source/OverlordProject/Components/Recipe/RecipeComponent.h | TomvanWaas/OvercookedImitation | 895b98ff23b026bafc24267c8707d68870a2ac58 | [
"MIT"
] | null | null | null | #pragma once
#include "../../Helpers/Timer.h"
class ShakeComponent;
class ColorFlickerComponent;
enum class eMealType;
#include "../../Structs/Recipe.h"
class SpriteComponent;
class LerpComponent;
class RecipeComponent final : public BaseComponent
{
public:
explicit RecipeComponent(const Recipe& recipe, flo... | 28.136364 | 82 | 0.749596 |
28830da1bfc2012db18d06898bb1e2d2636e7b29 | 2,759 | h | C | src/mongo/db/s/resharding/resharding_oplog_applier_metrics.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/resharding/resharding_oplog_applier_metrics.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/resharding/resharding_oplog_applier_metrics.h | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2022-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 38.859155 | 95 | 0.737586 |
4f274ccbf90fe2db7a12b9fe322b96003f25ae35 | 3,191 | h | C | eso2/src/altExcludeLocData.h | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 1 | 2019-10-25T05:25:23.000Z | 2019-10-25T05:25:23.000Z | eso2/src/altExcludeLocData.h | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 2 | 2019-09-04T17:34:59.000Z | 2020-09-16T08:10:57.000Z | eso2/src/altExcludeLocData.h | kant/CMMPPT | c64b339712db28a619880c4c04839aef7d3b6e2b | [
"Apache-2.0"
] | 18 | 2019-07-22T19:01:25.000Z | 2022-03-03T15:36:11.000Z | #ifndef ESO2_altExcludeLocData_h
#define ESO2_altExcludeLocData_h
#include "scoFile.h"
class ESO2altExcludeLocData : public SCOcsvFormatFile {
public:
// Fields
getFieldH(part);
getFieldH(altPart);
getFieldH(excludeLoc);
// preferred constructor
ESO2altExcludeLocData(std::string filename)
: SCOcs... | 22.471831 | 79 | 0.652147 |
a230f12f483e9c0ee2b4c05c889b86c71c36cf01 | 2,399 | h | C | libs/base/include/mrpt/synch/CThreadSafeVariable.h | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | 2 | 2017-03-25T18:09:17.000Z | 2017-05-22T08:14:48.000Z | libs/base/include/mrpt/synch/CThreadSafeVariable.h | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | null | null | null | libs/base/include/mrpt/synch/CThreadSafeVariable.h | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | 1 | 2021-08-16T11:50:47.000Z | 2021-08-16T11:50:47.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 26.655556 | 114 | 0.545227 |
7feeb4bab1a9bfb03f30e3580b78616fd706fcbd | 1,373 | c | C | homework6/Hw6Task2/Hw6Task2/countingOut.c | artemiipatov/HomeworksSPbU | 73e8412351cf56ce6839928a478c59557f0a5149 | [
"Apache-2.0"
] | null | null | null | homework6/Hw6Task2/Hw6Task2/countingOut.c | artemiipatov/HomeworksSPbU | 73e8412351cf56ce6839928a478c59557f0a5149 | [
"Apache-2.0"
] | null | null | null | homework6/Hw6Task2/Hw6Task2/countingOut.c | artemiipatov/HomeworksSPbU | 73e8412351cf56ce6839928a478c59557f0a5149 | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h>
#include "countingOut.h"
#include "../../cyclicList/cyclicList/cyclicListFunctions.h"
int countPosition(int numberOfWarriors, int period)
{
// creating list and position
List* list = createList();
if (list == NULL)
{
return -1;
}
Position* position = createPosition()... | 22.145161 | 60 | 0.524399 |
9a4ebb2732e1af9214ea3845ffe8b3c34e11dc5d | 2,008 | h | C | weex_core/Source/include/JavaScriptCore/bytecode/UnlinkedFunctionCodeBlock.h | sunshl/incubator-weex | 40ae49e40c3dd725d6c546451075bd6e90001c9d | [
"Apache-2.0"
] | 2 | 2017-10-18T01:36:31.000Z | 2018-05-07T23:00:21.000Z | weex_core/Source/include/JavaScriptCore/bytecode/UnlinkedFunctionCodeBlock.h | sunshl/incubator-weex | 40ae49e40c3dd725d6c546451075bd6e90001c9d | [
"Apache-2.0"
] | 4 | 2020-07-17T17:32:27.000Z | 2021-09-01T18:49:48.000Z | weex_core/Source/include/JavaScriptCore/bytecode/UnlinkedFunctionCodeBlock.h | sunshl/incubator-weex | 40ae49e40c3dd725d6c546451075bd6e90001c9d | [
"Apache-2.0"
] | 5 | 2019-05-28T11:48:42.000Z | 2020-05-15T07:31:55.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 36.509091 | 217 | 0.746016 |
9aa04634e41b67941a9f03b7935ea6b69bbcd8ec | 3,023 | h | C | Build/StdLib/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/DEBUG/AutoGen.h | shaogy-12138/EDK2_UDK2018 | 3d99ee3527da079eccce1314d8c455c98e25f79d | [
"BSD-2-Clause"
] | null | null | null | Build/StdLib/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/DEBUG/AutoGen.h | shaogy-12138/EDK2_UDK2018 | 3d99ee3527da079eccce1314d8c455c98e25f79d | [
"BSD-2-Clause"
] | null | null | null | Build/StdLib/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/DEBUG/AutoGen.h | shaogy-12138/EDK2_UDK2018 | 3d99ee3527da079eccce1314d8c455c98e25f79d | [
"BSD-2-Clause"
] | null | null | null | /**
DO NOT EDIT
FILE auto-generated
Module name:
AutoGen.h
Abstract: Auto-generated AutoGen.h for building module or library.
**/
#ifndef _AUTOGENH_27d67720_ea68_48ae_93da_a3a074c90e30
#define _AUTOGENH_27d67720_ea68_48ae_93da_a3a074c90e30
#ifdef __cplusplus
extern "C" {
#endif
#include <Base.h>
#i... | 43.811594 | 131 | 0.874959 |
c5a91dbacf6160eb2b53519c2ca8e819ebb03732 | 331 | h | C | headers/private/kernel/arch/ppc/arch_vm.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | headers/private/kernel/arch/ppc/arch_vm.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | headers/private/kernel/arch/ppc/arch_vm.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef ARCH_PPC_VM_H
#define ARCH_PPC_VM_H
/* This many pages will be read/written on I/O if possible */
#define NUM_IO_PAGES 4
/* 16 kB */
#define PAGE_SHIFT 12
#endif /* ARCH_P... | 20.6875 | 77 | 0.725076 |
cf788ab013199e1567472864df7e28ae65d03c5a | 3,161 | h | C | paddle/fluid/framework/variable.h | laipaang/Paddle | d7f35434b761707a8479b75636546a624399369a | [
"Apache-2.0"
] | 8 | 2019-06-16T12:36:11.000Z | 2021-03-05T05:33:21.000Z | paddle/fluid/framework/variable.h | wozna/Paddle | 0ecf441af14d554c85f69a206e3e3a9bdd86fb13 | [
"Apache-2.0"
] | 1 | 2020-09-10T09:05:52.000Z | 2020-09-10T09:06:22.000Z | paddle/fluid/framework/variable.h | wozna/Paddle | 0ecf441af14d554c85f69a206e3e3a9bdd86fb13 | [
"Apache-2.0"
] | 25 | 2019-12-07T02:14:14.000Z | 2021-12-30T06:16:30.000Z | // Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 29 | 78 | 0.662132 |
a978dcf710cf5c0f91f0db68a36c1426e9cf30c8 | 455 | h | C | DQM/SiStripCommissioningSummary/interface/CalibrationSummaryFactory.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | DQM/SiStripCommissioningSummary/interface/CalibrationSummaryFactory.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | DQM/SiStripCommissioningSummary/interface/CalibrationSummaryFactory.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef DQM_SiStripCommissioningSummary_CalibrationSummaryFactory_H
#define DQM_SiStripCommissioningSummary_CalibrationSummaryFactory_H
#include "DQM/SiStripCommissioningSummary/interface/CommissioningSummaryFactory.h"
class CalibrationSummaryFactory : public SummaryPlotFactory<CommissioningAnalysis*> {
protected:
... | 32.5 | 85 | 0.872527 |
30db02579306d3d83649d446f793adca483027d2 | 4,025 | h | C | test/extensions/filters/http/ext_proc/ext_proc_grpc_fuzz_helper.h | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 17,703 | 2017-09-14T18:23:43.000Z | 2022-03-31T22:04:17.000Z | test/extensions/filters/http/ext_proc/ext_proc_grpc_fuzz_helper.h | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 15,957 | 2017-09-14T16:38:22.000Z | 2022-03-31T23:56:30.000Z | test/extensions/filters/http/ext_proc/ext_proc_grpc_fuzz_helper.h | dcillera/envoy | cb54ba8eec26f768f8c1ae412113b07bacde7321 | [
"Apache-2.0"
] | 3,780 | 2017-09-14T18:58:47.000Z | 2022-03-31T17:10:47.000Z | #pragma once
#include "envoy/config/core/v3/base.pb.h"
#include "envoy/extensions/filters/http/ext_proc/v3/ext_proc.pb.h"
#include "envoy/service/ext_proc/v3/external_processor.pb.h"
#include "envoy/type/v3/http_status.pb.h"
#include "source/common/common/thread.h"
#include "source/common/grpc/common.h"
#include "te... | 32.991803 | 88 | 0.777143 |
8013527ba85da9497c61cf02ea2317fe4dc384a4 | 59,421 | c | C | src/lib/phylo/fit_column.c | yuzhenpeng/phast | 7ca02d061e373f45400dbdd9be3108db05edaeb9 | [
"BSD-3-Clause"
] | null | null | null | src/lib/phylo/fit_column.c | yuzhenpeng/phast | 7ca02d061e373f45400dbdd9be3108db05edaeb9 | [
"BSD-3-Clause"
] | null | null | null | src/lib/phylo/fit_column.c | yuzhenpeng/phast | 7ca02d061e373f45400dbdd9be3108db05edaeb9 | [
"BSD-3-Clause"
] | 1 | 2020-12-03T07:01:52.000Z | 2020-12-03T07:01:52.000Z | /***************************************************************************
* PHAST: PHylogenetic Analysis with Space/Time models
* Copyright (c) 2002-2005 University of California, 2006-2010 Cornell
* University. All rights reserved.
*
* This source code is distributed under a BSD-style license. See the
* fil... | 36.409926 | 169 | 0.567005 |
43e912b99e82de54b1a368839c0cbe33ba763456 | 3,417 | h | C | Source/CSBackend/Platform/Windows/Input/DeviceButtons/DeviceButtonSystem.h | fjpavm/ChilliSource | 11c38bada3fff8f4701dee5ad7718c8bc150c3b6 | [
"MIT"
] | 1 | 2015-05-08T14:29:03.000Z | 2015-05-08T14:29:03.000Z | Source/CSBackend/Platform/Windows/Input/DeviceButtons/DeviceButtonSystem.h | mclaughlinhugh4/ChilliSource | bfd86242b28125371804ef35ee512a3908763795 | [
"MIT"
] | null | null | null | Source/CSBackend/Platform/Windows/Input/DeviceButtons/DeviceButtonSystem.h | mclaughlinhugh4/ChilliSource | bfd86242b28125371804ef35ee512a3908763795 | [
"MIT"
] | null | null | null | //
// DeviceButtonSystem.h
// Chilli Source
// Created by Ian Copland on 16/05/2014.
//
// The MIT License (MIT)
//
// Copyright (c) 2014 Tag Games Limited
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), t... | 38.829545 | 89 | 0.591747 |
c85dd92c19be0bd25e313f15a91774ccd4d19f33 | 2,851 | c | C | PCAP Lab/lab4/q4.c | Sahil1515/Sem6-Labs | cabedbccc2a5272365c250e2d3f4e3a3e802233f | [
"MIT"
] | 1 | 2021-03-03T16:26:59.000Z | 2021-03-03T16:26:59.000Z | PCAP Lab/lab4/q4.c | Sahil1515/sem6-Labs | cabedbccc2a5272365c250e2d3f4e3a3e802233f | [
"MIT"
] | null | null | null | PCAP Lab/lab4/q4.c | Sahil1515/sem6-Labs | cabedbccc2a5272365c250e2d3f4e3a3e802233f | [
"MIT"
] | null | null | null | // #include "mpi.h"
// #include <stdio.h>
// #include <string.h>
// void ErrorHandler(int error_code)
// {
// if (error_code != MPI_SUCCESS)
// {
// char error_string[BUFSIZ];
// int length_of_error_string, error_class;
// MPI_Error_class(error_code, &error_class);
// MPI_Error_s... | 29.091837 | 79 | 0.529639 |
bd4b04188380a093732fccf720cbbaa52940f467 | 885 | h | C | iHouse/iHouse/MicrophoneViewController.h | voelkerb/iHouse | c73cf3a2aa3b0d3a46096c1b51f5f4366b5e609c | [
"MIT"
] | null | null | null | iHouse/iHouse/MicrophoneViewController.h | voelkerb/iHouse | c73cf3a2aa3b0d3a46096c1b51f5f4366b5e609c | [
"MIT"
] | null | null | null | iHouse/iHouse/MicrophoneViewController.h | voelkerb/iHouse | c73cf3a2aa3b0d3a46096c1b51f5f4366b5e609c | [
"MIT"
] | null | null | null | //
// MicrophoneViewController.h
// iHouse
//
// Created by Benjamin Völker on 24/07/15.
// Copyright © 2015 Benjamin Völker. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Microphone.h"
@class IDevice;
@interface MicrophoneViewController : NSViewController<NSCopying>
// The device
@property (strong) I... | 26.029412 | 65 | 0.755932 |
260dd8415dd7dc78716895340fa4e0b76b1ae058 | 4,998 | c | C | linux-2.6.16-unmod/fs/xfs/linux-2.6/xfs_vnode.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | null | null | null | linux-2.6.16-unmod/fs/xfs/linux-2.6/xfs_vnode.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | null | null | null | linux-2.6.16-unmod/fs/xfs/linux-2.6/xfs_vnode.c | ut-osa/syncchar | eba20da163260b6ae1ef3e334ad2137873a8d625 | [
"BSD-3-Clause"
] | 1 | 2019-05-14T16:36:45.000Z | 2019-05-14T16:36:45.000Z | /*
* Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* 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.
*
* This program is distributed in the hope that it woul... | 23.032258 | 71 | 0.681873 |
d916b390b9f239037cf3298439f2a9b6a2141528 | 987 | h | C | libs/ios/ApiAI.framework/PrivateHeaders/AIStreamBuffer.h | edwardmoses/dialogflow-cordova-client | c20aeb5fbef644697cd5200b1946f1c8bd8f56ef | [
"Apache-2.0"
] | 24 | 2015-02-25T07:34:23.000Z | 2017-03-28T17:05:33.000Z | libs/ios/ApiAI.framework/PrivateHeaders/AIStreamBuffer.h | edwardmoses/dialogflow-cordova-client | c20aeb5fbef644697cd5200b1946f1c8bd8f56ef | [
"Apache-2.0"
] | 28 | 2015-02-11T23:08:36.000Z | 2017-03-08T16:38:59.000Z | libs/ios/ApiAI.framework/PrivateHeaders/AIStreamBuffer.h | edwardmoses/dialogflow-cordova-client | c20aeb5fbef644697cd5200b1946f1c8bd8f56ef | [
"Apache-2.0"
] | 16 | 2015-08-19T23:26:35.000Z | 2017-03-25T01:32:57.000Z | /**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 29.909091 | 75 | 0.74772 |
eadbd60698bf66391e501716d327dc8599366841 | 118 | h | C | Modules/ThirdParty/VNL/src/vxl/vcl/vcl_clocale.h | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/ThirdParty/VNL/src/vxl/vcl/vcl_clocale.h | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/ThirdParty/VNL/src/vxl/vcl/vcl_clocale.h | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | #ifndef vcl_clocale_h_
#define vcl_clocale_h_
#include <clocale>
#include "vcl_compiler.h"
#endif // vcl_clocale_h_
| 14.75 | 25 | 0.788136 |
c131a4b3712815a3c06aeb97b6e6cc3fa0ef5353 | 1,953 | h | C | algorithms/medium/0547. Number of Provinces.h | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | algorithms/medium/0547. Number of Provinces.h | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | algorithms/medium/0547. Number of Provinces.h | MultivacX/letcode2020 | f86289f8718237303918a7705ae31625a12b68f6 | [
"MIT"
] | null | null | null | // 547. Friend Circles
// Runtime: 24 ms, faster than 49.05% of C++ online submissions for Friend Circles.
// Memory Usage: 10.5 MB, less than 100.00% of C++ online submissions for Friend Circles.
class Solution {
public:
int findCircleNum(vector<vector<int>>& M) {
const int N = M.size();
... | 28.304348 | 89 | 0.33743 |
267c9eacbfe836e121275d7e54c80ac2e89d770d | 2,386 | c | C | cpp/src/external/posit/posit-lib/op2.c | Mosaic-DigammaDB/AMIF | a258c837a60850e56bbac7497169ff46eecbfd36 | [
"BSL-1.0"
] | 1 | 2019-04-15T08:44:13.000Z | 2019-04-15T08:44:13.000Z | cpp/src/external/posit/posit-lib/op2.c | Mosaic-DigammaDB/AMIF | a258c837a60850e56bbac7497169ff46eecbfd36 | [
"BSL-1.0"
] | null | null | null | cpp/src/external/posit/posit-lib/op2.c | Mosaic-DigammaDB/AMIF | a258c837a60850e56bbac7497169ff46eecbfd36 | [
"BSL-1.0"
] | 1 | 2018-07-09T05:08:27.000Z | 2018-07-09T05:08:27.000Z | #include "op2.h"
#include "util.h"
static struct unpacked_t add(struct unpacked_t a, struct unpacked_t b, bool neg)
{
struct unpacked_t r;
POSIT_LUTYPE afrac = HIDDEN_BIT(a.frac);
POSIT_LUTYPE bfrac = HIDDEN_BIT(b.frac);
POSIT_LUTYPE frac;
if (a.exp > b.exp) {
r.exp = a.exp;
bfrac... | 20.568966 | 80 | 0.548617 |
afeffc22e92cd28ff63330d76f2481bdb67ec997 | 2,677 | h | C | XFree86-3.3/xc/lib/font/bitmap/bdfint.h | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | XFree86-3.3/xc/lib/font/bitmap/bdfint.h | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | XFree86-3.3/xc/lib/font/bitmap/bdfint.h | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | /* $XConsortium: bdfint.h,v 1.3 94/04/17 20:17:09 rws Exp $ */
/*
Copyright (c) 1990 X Consortium
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 limitati... | 33.049383 | 74 | 0.735525 |
8c490abe1f6745d3f8da6771da231595c25593fb | 3,936 | h | C | include/junit/framework/TestSuite.h | iFindTA/PBJ2Objc | 014bd0f99b129cb094ee35e472802fd38c5c0f87 | [
"MIT"
] | null | null | null | include/junit/framework/TestSuite.h | iFindTA/PBJ2Objc | 014bd0f99b129cb094ee35e472802fd38c5c0f87 | [
"MIT"
] | null | null | null | include/junit/framework/TestSuite.h | iFindTA/PBJ2Objc | 014bd0f99b129cb094ee35e472802fd38c5c0f87 | [
"MIT"
] | null | null | null | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/free6om/Documents/open-source/j2objc/j2objc/junit/build_result/java/junit/framework/TestSuite.java
//
#ifndef _JunitFrameworkTestSuite_H_
#define _JunitFrameworkTestSuite_H_
#include "J2ObjC_header.h"
#include "junit/framework/Test.h"
@class... | 38.213592 | 168 | 0.835874 |
6cebe11cbe04d6fef23fb5c0deef40e7c3e855ce | 9,154 | c | C | sys/arch/sparc64/dev/comms_ebus.c | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 2 | 2020-04-15T13:39:01.000Z | 2020-08-28T01:27:00.000Z | sys/arch/sparc64/dev/comms_ebus.c | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2018-08-21T03:56:33.000Z | 2018-08-21T03:56:33.000Z | sys/arch/sparc64/dev/comms_ebus.c | ArrogantWombatics/openbsd-src | 75721e1d44322953075b7c4b89337b163a395291 | [
"BSD-3-Clause"
] | 1 | 2020-08-28T01:25:41.000Z | 2020-08-28T01:25:41.000Z | /* $OpenBSD: comms_ebus.c,v 1.2 2009/06/17 06:48:38 matthieu Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in a... | 24.153034 | 75 | 0.681341 |
37db7b6d374cacd6f8740039c4ed561edaa92b17 | 4,032 | h | C | Framework/Commons/Source/Tools/Logfile/LogfileManager.h | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 15 | 2015-01-12T10:46:29.000Z | 2022-03-28T05:13:14.000Z | Framework/Commons/Source/Tools/Logfile/LogfileManager.h | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-01-20T21:07:50.000Z | 2020-01-22T14:00:28.000Z | Framework/Commons/Source/Tools/Logfile/LogfileManager.h | BerlinUnited/NaoTH | 02848ac10c16a5349f1735da8122a64d601a5c75 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2018-02-07T18:18:10.000Z | 2019-10-15T17:01:41.000Z | /**
* logging manager
* @author: thomas
*/
#ifndef _LogfileManager_h_
#define _LogfileManager_h_
#include <cstring>
#include <iostream>
#include <fstream>
#include <Tools/DataStructures/RingBuffer.h>
#include "LogfileEntry.h"
template<int maxSize> class LegacyLogfileManager
{
public:
LegacyLogfileManager()... | 22.276243 | 87 | 0.603175 |
004318ce2b9972ee9bbaacbd3b9dd6582a55d384 | 757 | c | C | 2-valgrind/src/exo1.c | gdzx/c-tools | 040f7de0f227cdaeda4786f9b4b143095a3f08d7 | [
"MIT"
] | null | null | null | 2-valgrind/src/exo1.c | gdzx/c-tools | 040f7de0f227cdaeda4786f9b4b143095a3f08d7 | [
"MIT"
] | null | null | null | 2-valgrind/src/exo1.c | gdzx/c-tools | 040f7de0f227cdaeda4786f9b4b143095a3f08d7 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
typedef struct cell liste_t;
struct cell {
int donnee;
liste_t *suivante;
};
liste_t *
liste_ajouter (liste_t *l, unsigned int pos, int donnee)
{
liste_t *c = NULL;
if (pos == 0) {
c = malloc (sizeof (liste_t));
if (c == NULL)
return NULL;
c->donnee ... | 15.44898 | 63 | 0.571995 |
bb5b94662adef148e5c7057e97af698b8dfc336c | 2,857 | h | C | codeup/include/alibabacloud/codeup/model/CreateRepositoryProtectedBranchResult.h | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | codeup/include/alibabacloud/codeup/model/CreateRepositoryProtectedBranchResult.h | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | codeup/include/alibabacloud/codeup/model/CreateRepositoryProtectedBranchResult.h | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 27.737864 | 96 | 0.710536 |
15b1347f7de8314cdd68ebd9a1a4cdab3fbe2733 | 529 | c | C | syslibs/cshmi/source/classAction_RebuildObject.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 18 | 2015-12-07T15:15:53.000Z | 2021-10-07T04:09:36.000Z | syslibs/cshmi/source/classAction_RebuildObject.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 41 | 2015-12-08T13:31:41.000Z | 2022-01-31T16:32:14.000Z | syslibs/cshmi/source/classAction_RebuildObject.c | fransvanderlek/acplt-rte | 8c664d247e4a0c9291b97aafc930c05341f3b048 | [
"Apache-2.0"
] | 12 | 2015-06-11T13:09:41.000Z | 2019-02-07T13:33:37.000Z |
/******************************************************************************
*
* FILE
* ----
* RebuildObject.c
*
* History
* -------
* 2012-11-26 File created
*
*******************************************************************************
*
* This file is generated by the 'acplt_build... | 18.241379 | 80 | 0.3138 |
15e6864acdc9a62f5aaada79eadef80b15a883f2 | 77 | h | C | Apps/ValidationTests/macOS/ViewController.h | chiamaka-123/BabylonNative | 7f1f9fd23bf649c9c8a1260f2b93752145b0c024 | [
"MIT"
] | 474 | 2019-05-29T09:41:22.000Z | 2022-03-31T12:09:35.000Z | Apps/ValidationTests/macOS/ViewController.h | chiamaka-123/BabylonNative | 7f1f9fd23bf649c9c8a1260f2b93752145b0c024 | [
"MIT"
] | 593 | 2019-05-31T23:56:36.000Z | 2022-03-31T19:25:09.000Z | Apps/ValidationTests/macOS/ViewController.h | chiamaka-123/BabylonNative | 7f1f9fd23bf649c9c8a1260f2b93752145b0c024 | [
"MIT"
] | 114 | 2019-06-10T18:07:19.000Z | 2022-03-11T21:13:27.000Z | #import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController
@end
| 11 | 44 | 0.766234 |
76869c15a34de038c4430a0ab88daaf6149d3bd0 | 2,720 | c | C | lib/barrelfish/ump_endpoint.c | HawxChen/barrelfishOS | d8fbca601bfac61cc92ac06f5f5dd79ab18a8eaa | [
"MIT"
] | 81 | 2015-01-02T23:53:38.000Z | 2021-12-26T23:04:47.000Z | lib/barrelfish/ump_endpoint.c | salivarick/barrelfish | 252246b89117b0a23f6caa48a8b166c7bf12f885 | [
"MIT"
] | 1 | 2016-09-21T06:27:06.000Z | 2016-10-05T07:16:28.000Z | lib/barrelfish/ump_endpoint.c | salivarick/barrelfish | 252246b89117b0a23f6caa48a8b166c7bf12f885 | [
"MIT"
] | 7 | 2015-03-11T14:27:15.000Z | 2017-11-08T23:03:45.000Z | /**
* \file
* \brief Incoming UMP endpoints
*/
/*
* Copyright (c) 2009, 2011, 2012, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zu... | 28.333333 | 91 | 0.707721 |
a02744a0846ccdf2166cbdee769db11a400270d5 | 9,057 | h | C | lib/linux-5.18-rc3-smdk/drivers/md/dm-zoned.h | OpenMPDK/SMDK | 8f19d32d999731242cb1ab116a4cb445d9993b15 | [
"BSD-3-Clause"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | releases/hanggai/src/linux-5.18/drivers/md/dm-zoned.h | marmolak/gray486linux | 6403fc9d12cf6e8c6f42213ae287bc1e19b83e60 | [
"BSD-2-Clause"
] | 1 | 2022-03-29T02:30:28.000Z | 2022-03-30T03:40:46.000Z | releases/hanggai/src/linux-5.18/drivers/md/dm-zoned.h | marmolak/gray486linux | 6403fc9d12cf6e8c6f42213ae287bc1e19b83e60 | [
"BSD-2-Clause"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2017 Western Digital Corporation or its affiliates.
*
* This file is released under the GPL.
*/
#ifndef DM_ZONED_H
#define DM_ZONED_H
#include <linux/types.h>
#include <linux/blkdev.h>
#include <linux/device-mapper.h>
#include <linux/dm-kcopyd.h>
#include ... | 29.792763 | 81 | 0.753892 |
e90dc65c116372a5b953e96da2f4b85d40bf3efa | 36,037 | c | C | private/shell/comctl32/prpage.c | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/shell/comctl32/prpage.c | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/shell/comctl32/prpage.c | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | #include "ctlspriv.h"
#include "prshti.h"
#ifdef WX86
#include <wx86ofl.h>
#endif
#if defined(MAINWIN) /* portable dialog templates, WINTEL FORMAT */
#include <mainwin.h>
#endif
#ifndef WINNT
// Thunk entries for 16-bit pages.
typedef LPARAM HPROPSHEETPAGE16;
extern BOOL WINAPI DestroyPropertySheetPag... | 31.834806 | 143 | 0.533757 |
5be95e7bb38df8b66932f13ffe712efe084800a8 | 1,819 | h | C | release/src-rt-6.x.4708/router/apcupsd/src/drivers/dumb/dumb.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src-rt-6.x.4708/router/apcupsd/src/drivers/dumb/dumb.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src-rt-6.x.4708/router/apcupsd/src/drivers/dumb/dumb.h | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /*
* dumb.h
*
* Public header file for the simple-signalling (aka "dumb") driver
*/
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General
* Public License as published by the Free Software Foundation.
*
* This program is distributed in t... | 35.666667 | 80 | 0.661352 |
593da70d452a5a8d45e1b695e9d2bedcaa0610c9 | 1,895 | c | C | projects/util_libs/libplatsupport/src/arch/x86/tsc.c | Nexusoft/LLL-OS | 7b0ad5afb339e9bebc65142ee89bded5344cedbe | [
"BSD-2-Clause"
] | 4 | 2020-08-07T19:48:01.000Z | 2020-10-16T20:05:17.000Z | projects/util_libs/libplatsupport/src/arch/x86/tsc.c | Nexusoft/LX-OS | 7b0ad5afb339e9bebc65142ee89bded5344cedbe | [
"BSD-2-Clause"
] | null | null | null | projects/util_libs/libplatsupport/src/arch/x86/tsc.c | Nexusoft/LX-OS | 7b0ad5afb339e9bebc65142ee89bded5344cedbe | [
"BSD-2-Clause"
] | 2 | 2020-08-13T01:48:40.000Z | 2020-09-17T07:34:42.000Z | /*
* Copyright 2017, Data61
* Commonwealth Scientific and Industrial Research Organisation (CSIRO)
* ABN 41 687 119 230.
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(DATA... | 29.609375 | 84 | 0.687071 |
df228417bb2f0716d8471ce4342e5c8d9ed79bc5 | 3,089 | h | C | src/player/sound.h | beru/flirt | d719ee87db3f0c229efdaad5fa356d42034c61fa | [
"BSD-2-Clause"
] | null | null | null | src/player/sound.h | beru/flirt | d719ee87db3f0c229efdaad5fa356d42034c61fa | [
"BSD-2-Clause"
] | null | null | null | src/player/sound.h | beru/flirt | d719ee87db3f0c229efdaad5fa356d42034c61fa | [
"BSD-2-Clause"
] | 1 | 2022-01-29T09:52:21.000Z | 2022-01-29T09:52:21.000Z | /*
Flirt, an SWF rendering library
Copyright (c) 2004-2006 Dave Hayden <dave@opaque.net>
All rights reserved.
http://www.opaque.net/flirt/
This code is distributed under the two-clause BSD license.
Read the LICENSE file or visit the URL above for details
*/
#ifndef DD_PLAYER_SOUND_H_INCLUDED
#define DD_PLAYER... | 21.013605 | 178 | 0.796698 |
8a5f1090286babf3efbae62268f64525a81b7f7b | 1,035 | h | C | FSGDEngine-Student/EDRendererD3D/DepthStencilStateManager.h | Cabrra/Engine-Development | cce5930e2264048b0be58b691729407ca507d1af | [
"MIT"
] | 2 | 2019-03-30T11:14:01.000Z | 2020-10-27T00:55:01.000Z | FSGDEngine-Student/EDRendererD3D/DepthStencilStateManager.h | Cabrra/Engine-Development | cce5930e2264048b0be58b691729407ca507d1af | [
"MIT"
] | null | null | null | FSGDEngine-Student/EDRendererD3D/DepthStencilStateManager.h | Cabrra/Engine-Development | cce5930e2264048b0be58b691729407ca507d1af | [
"MIT"
] | 1 | 2019-01-29T20:12:24.000Z | 2019-01-29T20:12:24.000Z | #pragma once
namespace EDRendererD3D
{
class DepthStencilStateManager
{
public:
enum DSStates{DSS_Default = 0, DSS_LessEqual, DSS_NoDepth,
DSS_DeferredLight1, DSS_DeferredLight2, DSS_LightOutsideFinal, DSS_LightInsideFinal,
DSS_COUNT};
~DepthStencilStateManager(void);
/// Gets a reference to the ... | 27.972973 | 95 | 0.74686 |
8a94c15702f4fbcb2447e321c0104c5f80e4a50e | 1,680 | h | C | private/FiltersModel.h | Izowiuz/iz-qml-listview | bf1c9d72d0990c4ef9f805ef7dca514f0f26cf67 | [
"MIT"
] | null | null | null | private/FiltersModel.h | Izowiuz/iz-qml-listview | bf1c9d72d0990c4ef9f805ef7dca514f0f26cf67 | [
"MIT"
] | null | null | null | private/FiltersModel.h | Izowiuz/iz-qml-listview | bf1c9d72d0990c4ef9f805ef7dca514f0f26cf67 | [
"MIT"
] | null | null | null | #ifndef IZLISTVIEW_FILTERSMODEL_H
#define IZLISTVIEW_FILTERSMODEL_H
#include <vector>
#include <QAbstractItemModel>
namespace IzListView
{
class Filter;
class FiltersModel : public QAbstractItemModel
{
Q_OBJECT
Q_DISABLE_COPY(FiltersModel)
Q_PROPERTY(int count READ rowCount NOTIFY countChanged FINAL)
Q... | 23.333333 | 88 | 0.73631 |
e1a089adee36fa5773428b493eaef9f3613159fb | 5,373 | h | C | nms/nms.h | dipikakhullar/ocr | a55e70d82f42803be5ed63f8f59e4fa597fcf8d6 | [
"MIT"
] | 284 | 2018-10-17T12:13:54.000Z | 2022-03-31T07:36:31.000Z | nms/nms.h | dipikakhullar/ocr | a55e70d82f42803be5ed63f8f59e4fa597fcf8d6 | [
"MIT"
] | 72 | 2018-10-29T08:45:47.000Z | 2021-12-16T15:15:24.000Z | nms/nms.h | dipikakhullar/ocr | a55e70d82f42803be5ed63f8f59e4fa597fcf8d6 | [
"MIT"
] | 86 | 2018-10-26T14:11:08.000Z | 2022-03-26T13:44:10.000Z | #pragma once
#include "../nms/include/clipper/clipper.hpp"
namespace nms {
namespace cl = ClipperLib;
struct Polygon {
cl::Path poly;
float score;
float probs[4];
int x;
int y;
std::int32_t nr_polys;
};
float paths_area(const ClipperLib::Paths &ps) {
float area = 0;
for (auto &&p: ps)
area +... | 24.534247 | 121 | 0.543272 |
e08b1251094c30b0d6a0a346ac40030dd252e710 | 564 | c | C | V0/Simulator.c | pacojq/OS-Simulator | d8ed0ad3665e07e370cf0b1b5834c702117405bb | [
"MIT"
] | null | null | null | V0/Simulator.c | pacojq/OS-Simulator | d8ed0ad3665e07e370cf0b1b5834c702117405bb | [
"MIT"
] | null | null | null | V0/Simulator.c | pacojq/OS-Simulator | d8ed0ad3665e07e370cf0b1b5834c702117405bb | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "Simulator.h"
#include "ComputerSystem.h"
int main(int argc, char *argv[]) {
// Our Computer System is very primitive. It is monoprogrammed
// so it can only execute one program per simulation session.
// The program to be executed is specified in the function
// C... | 22.56 | 63 | 0.710993 |
47033d0fc822f79cd4c4f115908d8043f048de19 | 1,827 | c | C | kermit.c | allan-cedric/trabalho-redes-1 | efe2a58e4d10e4f696615b048a740c18ed4c54fd | [
"MIT"
] | null | null | null | kermit.c | allan-cedric/trabalho-redes-1 | efe2a58e4d10e4f696615b048a740c18ed4c54fd | [
"MIT"
] | null | null | null | kermit.c | allan-cedric/trabalho-redes-1 | efe2a58e4d10e4f696615b048a740c18ed4c54fd | [
"MIT"
] | null | null | null | // Allan Cedric G. B. Alves da Silva - GRR20190351
#include "kermit.h"
void gen_kermit_pckt(kermit_pckt_t *kpckt, int dest_addr, int origin_addr,
int seq, int type, void *data, size_t num_data, size_t data_size)
{
memset(kpckt, 0, sizeof(*kpckt)); // Inicializa em 0 o pacote kermit
// De... | 28.546875 | 90 | 0.612479 |
fcb26f9656e3ecff51783dcfd8695f759186f6f7 | 275 | h | C | Example/AXiOSKit/Class/_02Module/_35ProtobufVC.h | liuweixingGitHub/AXiOSTools | fa14455d5e49df4d368ce0705851051fedf9599d | [
"MIT"
] | 3 | 2017-07-07T06:44:04.000Z | 2018-06-25T08:18:44.000Z | Example/AXiOSKit/Class/_02Module/_35ProtobufVC.h | axinger/AXiOSKit | fa14455d5e49df4d368ce0705851051fedf9599d | [
"MIT"
] | 1 | 2020-09-21T05:53:52.000Z | 2020-09-21T05:53:52.000Z | Example/AXiOSKit/Class/_02Module/_35ProtobufVC.h | axinger/AXiOSKit | fa14455d5e49df4d368ce0705851051fedf9599d | [
"MIT"
] | 2 | 2019-01-18T11:47:08.000Z | 2019-01-24T13:11:53.000Z | //
// _35ProtobufVC.h
// AXiOSKit
//
// Created by 小星星吃KFC on 2021/3/15.
// Copyright © 2021 axinger. All rights reserved.
//
#import "DemoScrollViewController.h"
NS_ASSUME_NONNULL_BEGIN
@interface _35ProtobufVC : DemoScrollViewController
@end
NS_ASSUME_NONNULL_END
| 15.277778 | 51 | 0.756364 |
69adea7694f3cc985843de7b291f05112f564f0f | 925 | h | C | include/linux/platform_data/usb-ohci-pxa27x.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | include/linux/platform_data/usb-ohci-pxa27x.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | include/linux/platform_data/usb-ohci-pxa27x.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 20 | 2021-10-22T02:21:23.000Z | 2022-03-31T04:55:35.000Z | /* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASMARM_ARCH_OHCI_H
#define ASMARM_ARCH_OHCI_H
struct device;
struct pxaohci_platform_data {
int (*init)(struct device *);
void (*exit)(struct device *);
unsigned long flags;
#define ENABLE_PORT1 (1 << 0)
#define ENABLE_PORT2 (1 << 1)
#define ENABLE_PORT3 (1 << 2)
... | 24.342105 | 69 | 0.708108 |
0a85ef99c934240166ed3401e6e1a93570d1feb8 | 5,878 | c | C | blinky/blinky/asf-3.21.0/avr32/components/touch/resistive_touch/example/rtouch_example.c | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | blinky/blinky/asf-3.21.0/avr32/components/touch/resistive_touch/example/rtouch_example.c | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | blinky/blinky/asf-3.21.0/avr32/components/touch/resistive_touch/example/rtouch_example.c | femtoio/femtousb-blink-example | 5e166bdee500f67142d0ee83a1a169bab57fe142 | [
"MIT"
] | null | null | null | /*****************************************************************************
*
* \file
*
* \brief Example for resistive touch display measurement.
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, ... | 27.212963 | 92 | 0.708915 |
52a325639c085a14f43e58a2cedbad922c9a14a7 | 28,456 | h | C | src/ace_routine/Coroutine.h | brewmanz/AceRoutine | 53e0ca1e58581e63fb21a5980d8cd328db83e33c | [
"MIT"
] | null | null | null | src/ace_routine/Coroutine.h | brewmanz/AceRoutine | 53e0ca1e58581e63fb21a5980d8cd328db83e33c | [
"MIT"
] | null | null | null | src/ace_routine/Coroutine.h | brewmanz/AceRoutine | 53e0ca1e58581e63fb21a5980d8cd328db83e33c | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2018 Brian T. Park
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, ... | 36.065906 | 98 | 0.678732 |
3f5778004da40bf2b9d610c1337ec2056902edda | 3,183 | c | C | packages/seacas/libraries/exodus/src/deprecated/ex_get_elem_blk_ids.c | brian-kelley/seacas | f6e819de11ed231d30fe788600b3b29efd8014d5 | [
"Python-2.0",
"Zlib",
"MIT",
"NetCDF",
"BSL-1.0",
"X11",
"BSD-3-Clause"
] | 3 | 2015-07-28T18:07:50.000Z | 2018-02-28T20:59:58.000Z | packages/seacas/libraries/exodus/src/deprecated/ex_get_elem_blk_ids.c | brian-kelley/seacas | f6e819de11ed231d30fe788600b3b29efd8014d5 | [
"Python-2.0",
"Zlib",
"MIT",
"NetCDF",
"BSL-1.0",
"X11",
"BSD-3-Clause"
] | 4 | 2018-10-25T09:46:11.000Z | 2019-01-17T16:49:17.000Z | packages/seacas/libraries/exodus/src/deprecated/ex_get_elem_blk_ids.c | brian-kelley/seacas | f6e819de11ed231d30fe788600b3b29efd8014d5 | [
"Python-2.0",
"Zlib",
"MIT",
"NetCDF",
"BSL-1.0",
"X11",
"BSD-3-Clause"
] | 5 | 2020-10-02T10:14:35.000Z | 2022-03-10T07:50:22.000Z | /*
* Copyright (c) 2005-2017 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitt... | 38.817073 | 78 | 0.735784 |
3f9eb70a664ce65bc5f0d996a5c3e4647b45556b | 45 | h | C | manager/src/main/jni/adb_pairing.h | losenineai/Shizuku | ab7dbb273524a1e32ce4767b22b3a2391e53ddd0 | [
"Apache-2.0"
] | 1,783 | 2017-09-27T08:41:47.000Z | 2022-03-31T17:19:27.000Z | manager/src/main/jni/adb_pairing.h | alaa92/Shizuku | 52dcdb124a42f14b369a5138a76642f89fc95505 | [
"Apache-2.0"
] | 140 | 2017-10-07T10:09:55.000Z | 2022-03-31T12:49:17.000Z | manager/src/main/jni/adb_pairing.h | alaa92/Shizuku | 52dcdb124a42f14b369a5138a76642f89fc95505 | [
"Apache-2.0"
] | 219 | 2017-11-01T23:51:42.000Z | 2022-03-30T16:06:36.000Z | #ifndef ADB_H
#define ADB_H
#endif // ADB_H
| 9 | 15 | 0.711111 |
8fa4678559e973ac32ba7c5166093c15eaa4ee5d | 9,479 | c | C | src/ref_search_test.c | wbnns/refine | 4ae8b3979336cabb4a4b414bead14238571c46e6 | [
"Apache-2.0"
] | null | null | null | src/ref_search_test.c | wbnns/refine | 4ae8b3979336cabb4a4b414bead14238571c46e6 | [
"Apache-2.0"
] | null | null | null | src/ref_search_test.c | wbnns/refine | 4ae8b3979336cabb4a4b414bead14238571c46e6 | [
"Apache-2.0"
] | null | null | null |
/* Copyright 2014 United States Government as represented by the
* Administrator of the National Aeronautics and Space
* Administration. No copyright is claimed in the United States under
* Title 17, U.S. Code. All Other Rights Reserved.
*
* The refine platform is licensed under the Apache License, Version
* 2.... | 29.166154 | 80 | 0.624749 |
eb3462daa666fdb7b66c8e71eaafa50aeff98ac1 | 2,875 | h | C | More/Polarimetry/Pulsar/ProjectionCorrection.h | kernsuite-debian/psrchive | 7b9a670528ef4aebef30001df6cb79e8712aeab0 | [
"AFL-2.1"
] | null | null | null | More/Polarimetry/Pulsar/ProjectionCorrection.h | kernsuite-debian/psrchive | 7b9a670528ef4aebef30001df6cb79e8712aeab0 | [
"AFL-2.1"
] | null | null | null | More/Polarimetry/Pulsar/ProjectionCorrection.h | kernsuite-debian/psrchive | 7b9a670528ef4aebef30001df6cb79e8712aeab0 | [
"AFL-2.1"
] | null | null | null | //-*-C++-*-
/***************************************************************************
*
* Copyright (C) 2008 by Willem van Straten
* Licensed under the Academic Free License version 2.1
*
***************************************************************************/
// psrchive/More/Polarimetry/Pulsar/Projec... | 28.465347 | 77 | 0.679652 |
acd0275a8b3a08a97e0db3938222f42645ba0233 | 2,336 | c | C | qmk_firmware/users/xulkal/custom_encoder.c | DanTupi/personal_setup | 911b4951e4d8b78d6ea8ca335229e2e970fda871 | [
"MIT"
] | null | null | null | qmk_firmware/users/xulkal/custom_encoder.c | DanTupi/personal_setup | 911b4951e4d8b78d6ea8ca335229e2e970fda871 | [
"MIT"
] | null | null | null | qmk_firmware/users/xulkal/custom_encoder.c | DanTupi/personal_setup | 911b4951e4d8b78d6ea8ca335229e2e970fda871 | [
"MIT"
] | null | null | null | #include "custom_encoder.h"
#include "custom_keycodes.h"
#ifdef RGB_OLED_MENU
#include "custom_rgb.h"
// I'm lazy and like constants over calculations, also using it as a compile time check
#if defined(RGB_MATRIX_ENABLE)
#define RGB_FUNCTION_COUNT 6
#elif defined(RGBLIGHT_ENABLE)
#define RGB_FUNCTION_COUNT 5
... | 31.567568 | 87 | 0.649401 |
fed1e009c439940938e62a6d00a5057b1dc195fc | 858 | h | C | FVSeatsPicker/FVSeatItem.h | Upliver/FVSeatsPicker | 40c5b2f231a0b657cb63720255cc17892acbc98e | [
"MIT"
] | 109 | 2016-11-13T10:00:21.000Z | 2018-05-26T06:52:32.000Z | FVSeatsPicker/FVSeatItem.h | Upliver/FVSeatsPicker | 40c5b2f231a0b657cb63720255cc17892acbc98e | [
"MIT"
] | 1 | 2019-08-15T09:38:28.000Z | 2019-08-15T09:38:28.000Z | FVSeatsPicker/FVSeatItem.h | Upliver/FVSeatsPicker | 40c5b2f231a0b657cb63720255cc17892acbc98e | [
"MIT"
] | 31 | 2016-11-14T09:13:56.000Z | 2018-02-26T09:25:23.000Z | //
// FVSeatItem.h
// FVCinemaSeatsView
//
// Created by iforvert on 2016/11/13.
// Copyright © 2016年 iforvert. All rights reserved.
// 代码地址:https://www.github.com/Upliver/FVSeatsPicker
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, FVSeatState)
{
FVSeatsStateAvailable = 0, // 可用
... | 27.677419 | 53 | 0.698135 |
16679ee8d24ceecf17c337f6c623bed972310bde | 871 | h | C | tests/utils/socket_api.h | asattelmaier/haskell-go | 1a7f22cb76a6d795930b9c8c7bce69431069537a | [
"BSD-3-Clause"
] | null | null | null | tests/utils/socket_api.h | asattelmaier/haskell-go | 1a7f22cb76a6d795930b9c8c7bce69431069537a | [
"BSD-3-Clause"
] | null | null | null | tests/utils/socket_api.h | asattelmaier/haskell-go | 1a7f22cb76a6d795930b9c8c7bce69431069537a | [
"BSD-3-Clause"
] | null | null | null | #ifndef JSON_API_H_
#define JSON_API_H_
#include <gtest/gtest.h>
#include <tuple>
#include <string>
#include <atomic>
#include <nlohmann/json.hpp>
#include <websocketpp/config/asio_no_tls_client.hpp>
#include <websocketpp/client.hpp>
#include <boost/thread/thread.hpp>
typedef websocketpp::client<websocketpp::con... | 17.078431 | 69 | 0.741676 |
5c2568ab803e5d1f80b6af3c20b2faf66dc227d2 | 2,435 | h | C | include/tools.h | ZhouYixuanRobtic/Multi_KCF-Tracking | c4f3e2b32bd4fce11b5be68746ed6b60ead5a775 | [
"BSD-3-Clause"
] | 2 | 2019-12-19T12:55:51.000Z | 2021-05-27T08:45:47.000Z | include/tools.h | ZhouYixuanRobtic/Multi_KCF-Tracking | c4f3e2b32bd4fce11b5be68746ed6b60ead5a775 | [
"BSD-3-Clause"
] | null | null | null | include/tools.h | ZhouYixuanRobtic/Multi_KCF-Tracking | c4f3e2b32bd4fce11b5be68746ed6b60ead5a775 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by zhouy on 2019/12/27.
//
#ifndef TEST_TOOLS_H
#define TEST_TOOLS_H
#include <iostream>
#include <fstream>
#include <string>
#include <io.h>
#include <iterator>
#include "algorithm"
namespace Tools
{
unsigned int getFileNumbers(const std::string & base_path,const std::string & file_suffix)
{
... | 31.217949 | 113 | 0.594251 |
c097fdd04fd0b29fb7779ba9a17bf785a1c52da2 | 465 | h | C | vehicleproject/vehicle_management/files/expense.h | MouryaMithra/CS223_Apr18_07 | 8315f20369d5b83ea0f20113be149a6e80725654 | [
"MIT"
] | null | null | null | vehicleproject/vehicle_management/files/expense.h | MouryaMithra/CS223_Apr18_07 | 8315f20369d5b83ea0f20113be149a6e80725654 | [
"MIT"
] | null | null | null | vehicleproject/vehicle_management/files/expense.h | MouryaMithra/CS223_Apr18_07 | 8315f20369d5b83ea0f20113be149a6e80725654 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include"car.h"
#include"heavy.h"
using namespace std;
class expense
{
public:
float petrol_cost;
float maintenance_cost;
float government_tax;
bool check();
static bool check_int(string number_of_daysc,unsigned int size);
void displayHeavy( heavy h[],const int size);
void displayCars( car c[]... | 22.142857 | 64 | 0.737634 |
6d842c4b36713d7537269cc16b810ec55539030a | 8,844 | c | C | testsuite/u0082_rbtreedb.c | samboy/veracity | 01935bf71cb04aec0ae6982ee163030710d60be8 | [
"Apache-2.0"
] | 1 | 2020-11-22T14:14:18.000Z | 2020-11-22T14:14:18.000Z | testsuite/u0082_rbtreedb.c | jeffhostetler/veracity | 7af449ab8c23f5e74ef0c56d6e7d4d075545aa47 | [
"Apache-2.0"
] | 3 | 2015-05-15T18:56:54.000Z | 2015-05-15T20:58:57.000Z | testsuite/u0082_rbtreedb.c | jeffhostetler/veracity | 7af449ab8c23f5e74ef0c56d6e7d4d075545aa47 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2010-2013 SourceGear, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | 40.0181 | 122 | 0.716531 |
a35e40080754da747e5972d554b5da00717fd4b1 | 1,257 | h | C | src/sys/stat.h | darcy-bcit/libdc | d08860ae5a5cf78db29f643fc2d9fb4e3060ac6c | [
"Apache-2.0"
] | 1 | 2020-10-12T22:30:02.000Z | 2020-10-12T22:30:02.000Z | src/sys/stat.h | darcy-bcit/libdc | d08860ae5a5cf78db29f643fc2d9fb4e3060ac6c | [
"Apache-2.0"
] | 2 | 2020-10-26T03:54:09.000Z | 2020-11-17T00:00:34.000Z | src/sys/stat.h | darcy-bcit/libdc | d08860ae5a5cf78db29f643fc2d9fb4e3060ac6c | [
"Apache-2.0"
] | 1 | 2021-02-16T16:30:52.000Z | 2021-02-16T16:30:52.000Z | #ifndef DC_SYS_STAT_H
#define DC_SYS_STAT_H
/*
* Copyright 2020 D'Arcy Smith + the BCIT CST Datacommunications Option students.
*
* 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
*
* ... | 33.972973 | 99 | 0.759745 |
0d327d397cf165158f8d59de13f5703062e71e07 | 10,316 | c | C | testsuits/unittest/posix/src/stdlib/strtoull_test.c | gao745/openharmony-kernel_liteos_m | eca03e5ed66c0ce888fd1f2ecdaa27e978383f51 | [
"BSD-3-Clause"
] | 4 | 2021-09-15T07:08:00.000Z | 2022-02-08T05:49:55.000Z | testsuits/unittest/posix/src/stdlib/strtoull_test.c | gao745/openharmony-kernel_liteos_m | eca03e5ed66c0ce888fd1f2ecdaa27e978383f51 | [
"BSD-3-Clause"
] | null | null | null | testsuits/unittest/posix/src/stdlib/strtoull_test.c | gao745/openharmony-kernel_liteos_m | eca03e5ed66c0ce888fd1f2ecdaa27e978383f51 | [
"BSD-3-Clause"
] | 1 | 2021-09-13T11:57:56.000Z | 2021-09-13T11:57:56.000Z | /*
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist... | 36.842857 | 113 | 0.666828 |
b8e8b2ff2b054479be6b9c51c88f6ebf9a70c6ad | 947 | h | C | src/GeoGatheringPlace.h | zengrixi/PlottingSymbol | 855ba823637db26bbe1b8d7a88f61b38d7bd1e6b | [
"MIT"
] | 29 | 2019-05-17T08:57:00.000Z | 2022-03-22T10:23:13.000Z | src/GeoGatheringPlace.h | MrBigDog/PlottingSymbol | 855ba823637db26bbe1b8d7a88f61b38d7bd1e6b | [
"MIT"
] | 1 | 2022-02-16T01:49:58.000Z | 2022-02-16T02:14:33.000Z | src/GeoGatheringPlace.h | MrBigDog/PlottingSymbol | 855ba823637db26bbe1b8d7a88f61b38d7bd1e6b | [
"MIT"
] | 18 | 2019-05-17T08:58:13.000Z | 2022-03-27T02:11:53.000Z | #ifndef GEOGATHERINGPLACE_H
#define GEOGATHERINGPLACE_H
#include "DrawTool.h"
#include <osgEarthAnnotation/FeatureEditing>
#include <osgEarthAnnotation/FeatureNode>
#include <osgEarthSymbology/Style>
class GeoGatheringPlace : public DrawTool {
public:
GeoGatheringPlace(osgEarth::MapNode* mapNode, osg::Group* dra... | 27.057143 | 87 | 0.740232 |
07311913894d6b6e86f2b2d16c8d2dc6d6cdca29 | 2,503 | h | C | AmoebotSimScripting/helper/randomnumbergenerator.h | rathsidd/Coarse-Models | 01390c3669127545c70042eeaabed3800bcf978b | [
"MIT"
] | 1 | 2020-06-22T20:44:51.000Z | 2020-06-22T20:44:51.000Z | AmoebotSimScripting/helper/randomnumbergenerator.h | rathsidd/Coarse-Models | 01390c3669127545c70042eeaabed3800bcf978b | [
"MIT"
] | null | null | null | AmoebotSimScripting/helper/randomnumbergenerator.h | rathsidd/Coarse-Models | 01390c3669127545c70042eeaabed3800bcf978b | [
"MIT"
] | 2 | 2020-06-23T06:06:45.000Z | 2021-01-18T07:35:41.000Z | /* Copyright (C) 2021 Joshua J. Daymude, Robert Gmyr, and Kristian Hinnenthal.
* The full GNU GPLv3 can be found in the LICENSE file, and the full copyright
* notice can be found at the top of main/main.cpp. */
#ifndef AMOEBOTSIM_HELPER_RANDOMNUMBERGENERATOR_H_
#define AMOEBOTSIM_HELPER_RANDOMNUMBERGENERATOR_H_
#in... | 29.447059 | 126 | 0.704355 |
e6c460f8c7a0682f2b7fed69f94f9aa4d8e9d256 | 660 | h | C | MSTTools_OC/Categories/UIButton+MST.h | immustard/MSTTools_OC | 28bb83b36a1708d5130186c123fe7cc90fe63b39 | [
"MIT"
] | null | null | null | MSTTools_OC/Categories/UIButton+MST.h | immustard/MSTTools_OC | 28bb83b36a1708d5130186c123fe7cc90fe63b39 | [
"MIT"
] | null | null | null | MSTTools_OC/Categories/UIButton+MST.h | immustard/MSTTools_OC | 28bb83b36a1708d5130186c123fe7cc90fe63b39 | [
"MIT"
] | null | null | null | //
// UIButton+MST.h
// MSTTools_OC
//
// Created by 张宇豪 on 2017/4/13.
// Copyright © 2017年 张宇豪. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, MSTButtonEdgeOfImageStyle) {
MSTButtonEdgeOfImageStyleTop, // 图片在上,文字在下
MSTButtonEdgeOfImageStyleLeft, // 图片在左,文字在右
... | 22 | 119 | 0.724242 |
882197719cf4d56e33f30a09d484d606f45e80f2 | 9,903 | c | C | src/throttle.c | Coderlane/c-longboard-api | d33c69280fc3a346431c367961b2f5eaca4458db | [
"MIT"
] | null | null | null | src/throttle.c | Coderlane/c-longboard-api | d33c69280fc3a346431c367961b2f5eaca4458db | [
"MIT"
] | null | null | null | src/throttle.c | Coderlane/c-longboard-api | d33c69280fc3a346431c367961b2f5eaca4458db | [
"MIT"
] | null | null | null | /**
*
* @file throttle.c
* @brief
* @author Travis Lane
* @version 0.0.1
* @date 2015-10-01
*/
#include <assert.h>
#include <errno.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <libusp/pwm.h>
#include "errors.h"
#include "throttle.h"
#include "thro... | 21.622271 | 78 | 0.686358 |
32c4a34dc728d09a44994664cc1dca2a1a7d9220 | 779 | c | C | utility/check_pipe.c | Mudit-1999/TMBSH | c3b197a944d1d8fbdde7248f546f25c63bec30b9 | [
"MIT"
] | 2 | 2019-04-07T20:59:00.000Z | 2019-10-26T07:15:24.000Z | utility/check_pipe.c | Mudit-1999/TMBSH | c3b197a944d1d8fbdde7248f546f25c63bec30b9 | [
"MIT"
] | null | null | null | utility/check_pipe.c | Mudit-1999/TMBSH | c3b197a944d1d8fbdde7248f546f25c63bec30b9 | [
"MIT"
] | null | null | null | #include "../header.h"
char ** check_pipe(char* command_with_pipe,int *cnt)
{
char* token;
char ** tokens=malloc(100*sizeof(char*));
if (tokens==nul)
{
fprintf(stderr, "Memory Allocation Error" );
exit(EXIT_FAILURE);
}
token=strtok(command_with_pipe,"|");
while(token!=nul)
{
t... | 17.704545 | 60 | 0.535302 |
e6dd912f1d2c86e427287432c9eb4d8c9e3880a4 | 2,907 | h | C | src/utility/TFT_Drivers/ILI9341_Init.h | lovyan03/ESP32-Chimera-Core | 30199a6791946f4b63ed5c6e170a9406063d0902 | [
"MIT"
] | 6 | 2020-04-13T05:04:27.000Z | 2021-02-18T18:49:51.000Z | src/utility/TFT_Drivers/ILI9341_Init.h | lovyan03/ESP32-Chimera-Core | 30199a6791946f4b63ed5c6e170a9406063d0902 | [
"MIT"
] | null | null | null | src/utility/TFT_Drivers/ILI9341_Init.h | lovyan03/ESP32-Chimera-Core | 30199a6791946f4b63ed5c6e170a9406063d0902 | [
"MIT"
] | 1 | 2020-09-04T11:31:42.000Z | 2020-09-04T11:31:42.000Z | // This is the command sequence that initialises the ILI9341 driver
//
// This setup information uses simple 8 bit SPI writecommand() and writedata() functions
//
// See ST7735_Setup.h file for an alternative format
{
#ifdef ARDUINO_TTGO_T1
colstart = CGRAM_colstart; // see ILI99341_Defines to fine-tune this
rowst... | 20.764286 | 88 | 0.700378 |
cce19b43e0bcc29e026430281e7bf5bf6f363f6f | 229 | h | C | src/FiniteDeque/FiniteDeque/src/FiniteDequeAPI.h | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | 3 | 2019-11-26T05:33:47.000Z | 2020-05-18T06:49:41.000Z | src/FiniteDeque/FiniteDeque/src/FiniteDequeAPI.h | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | null | null | null | src/FiniteDeque/FiniteDeque/src/FiniteDequeAPI.h | xylsxyls/xueyelingshuan | 61eb1c7c4f76c3eaf4cf26e4b2b37b6ed2abc5b9 | [
"MIT"
] | null | null | null | #pragma once
#ifdef _WIN32
#define _FiniteDequeAPI
#endif
#include "FiniteDeque.h"
//#ifdef _WIN32
//#if defined _DEBUG
//#pragma comment(lib,"FiniteDequed.lib")
//#else
//#pragma comment(lib,"FiniteDeque.lib")
//#endif
//#endif | 17.615385 | 41 | 0.729258 |
f8ade15a35e274261700a5fecfa3dd186110f2f0 | 3,819 | h | C | include/linux/platform_data/tsl2772.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | include/linux/platform_data/tsl2772.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | include/linux/platform_data/tsl2772.h | fergy/aplit_linux-5 | a6ef4cb0e17e1eec9743c064e65f730c49765711 | [
"MIT"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Device driver for monitoring ambient light intensity (lux)
* and proximity (prox) within the TAOS TSL2772 family of devices.
*
* Copyright (c) 2012, TAOS Corporation.
* Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org>
*/
#ifndef __TSL2772_H
#define __TSL27... | 37.441176 | 80 | 0.661692 |
fb820dd54cb377e466853e08c21bf98610362cca | 813 | h | C | src/Matrix/MatrixManager.h | CircuitMess/JayD-Library | f90bbb72224681a972cd2b535f80925a3319e631 | [
"MIT"
] | 2 | 2021-08-19T17:23:46.000Z | 2021-10-10T17:11:04.000Z | src/Matrix/MatrixManager.h | CircuitMess/JayD-Library | f90bbb72224681a972cd2b535f80925a3319e631 | [
"MIT"
] | null | null | null | src/Matrix/MatrixManager.h | CircuitMess/JayD-Library | f90bbb72224681a972cd2b535f80925a3319e631 | [
"MIT"
] | 1 | 2021-11-21T16:02:06.000Z | 2021-11-21T16:02:06.000Z | #ifndef JAYD_LIBRARY_MATRIXMANAGER_H
#define JAYD_LIBRARY_MATRIXMANAGER_H
#include <Arduino.h>
#include "MatrixBig.h"
#include "MatrixL.h"
#include "MatrixR.h"
#include "MatrixMid.h"
class MatrixManager : public LoopListener {
public:
MatrixManager(LEDmatrixImpl* ledmatrix);
MatrixBig matrixBig;
MatrixL matrixL;
... | 19.829268 | 43 | 0.768758 |
f7004d8a4829f49e76a6e9c01a2d8e4d09715758 | 752 | h | C | modules/task_1/rezantsev_s_strassen/strassen.h | 381706-1-1TimKa/pp_2020_spring | 2c40082477f50c7c6c1a32f4ae91da46d143d3e6 | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/rezantsev_s_strassen/strassen.h | 381706-1-1TimKa/pp_2020_spring | 2c40082477f50c7c6c1a32f4ae91da46d143d3e6 | [
"BSD-3-Clause"
] | null | null | null | modules/task_1/rezantsev_s_strassen/strassen.h | 381706-1-1TimKa/pp_2020_spring | 2c40082477f50c7c6c1a32f4ae91da46d143d3e6 | [
"BSD-3-Clause"
] | 1 | 2020-05-19T20:06:48.000Z | 2020-05-19T20:06:48.000Z | // Copyright 2020 Rezantsev Sergey
#ifndef MODULES_TASK_1_REZANTSEV_S_STRASSEN_STRASSEN_H_
#define MODULES_TASK_1_REZANTSEV_S_STRASSEN_STRASSEN_H_
#include <time.h>
#include <random>
void splitMatrix(double* a, double* a11, double* a22, double* a12, double* a21,
int n);
double* collectMatrix(double* a1... | 41.777778 | 79 | 0.720745 |
ddc08a41ba6dc317b7dbed7055589691f56fc5e9 | 842 | c | C | experimental/test_int.c | dangyogi/robot-brains | cab2cd63d55e9d879740a3267eb496d2fd253187 | [
"MIT"
] | 1 | 2020-06-16T03:36:43.000Z | 2020-06-16T03:36:43.000Z | experimental/test_int.c | dangyogi/robot-brains | cab2cd63d55e9d879740a3267eb496d2fd253187 | [
"MIT"
] | null | null | null | experimental/test_int.c | dangyogi/robot-brains | cab2cd63d55e9d879740a3267eb496d2fd253187 | [
"MIT"
] | null | null | null | // test_int.c
#define _GNU_SOURCE
#include <math.h>
#include <stdio.h>
void
test(double d, int expected) {
double log = log10(fabs(d)) + 0.000022;
double dexp = floor(log / 3.0);
long exp = (long)dexp;
double adj = exp10(dexp);
printf("test(%f) log %f, dexp %f, exp %ld, got %ld, expected %d\n",
... | 22.157895 | 71 | 0.541568 |
50e5c5bbda8555f39ac1fc50c6acb4415b72af6c | 2,912 | h | C | src/cegis/refactor/instructionset/create_cegis_processor.h | manasij7479/cbmc | f881e431b88c4134e2f47d3d0faa3e49e1f79d9c | [
"BSD-4-Clause"
] | null | null | null | src/cegis/refactor/instructionset/create_cegis_processor.h | manasij7479/cbmc | f881e431b88c4134e2f47d3d0faa3e49e1f79d9c | [
"BSD-4-Clause"
] | null | null | null | src/cegis/refactor/instructionset/create_cegis_processor.h | manasij7479/cbmc | f881e431b88c4134e2f47d3d0faa3e49e1f79d9c | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************
Module: Counterexample-Guided Inductive Synthesis
Author: Daniel Kroening, kroening@kroening.com
Pascal Kesseli, pascal.kesseli@cs.ox.ac.uk
\*******************************************************************/
#ifndef CPROVER_CEGIS_REF... | 31.311828 | 151 | 0.716346 |
9777811f63a6fcadfad2b559b5a5848abb854aa0 | 396 | c | C | libjr/missing/strdup.c | frankjas/libjr | 4c0da568b899f120abfbe6e17c3a8277946c6d09 | [
"MIT"
] | null | null | null | libjr/missing/strdup.c | frankjas/libjr | 4c0da568b899f120abfbe6e17c3a8277946c6d09 | [
"MIT"
] | null | null | null | libjr/missing/strdup.c | frankjas/libjr | 4c0da568b899f120abfbe6e17c3a8277946c6d09 | [
"MIT"
] | null | null | null | #define _POSIX_SOURCE 1
#include "ezport.h"
#include <stdlib.h>
#include <string.h>
#ifdef missing_strdup
char * strdup(str)
const char * str ;
{
char * result = malloc(strlen(str) + 1) ;
strcpy(result, str) ;
return(result) ;
}
#else
static void NotCalled () /* define this so ranlib doesn't complain */
... | 14.142857 | 69 | 0.656566 |
6efc076f25c5d940b2208c9accac9d3a13ea07e3 | 622 | h | C | WeIdentityService/Classes/Code/Suite/StringModel/WIStringModel.h | song91425/WeIdentityService | ffffee1728ed8993f5a77d2e44398c094670feb8 | [
"MIT"
] | null | null | null | WeIdentityService/Classes/Code/Suite/StringModel/WIStringModel.h | song91425/WeIdentityService | ffffee1728ed8993f5a77d2e44398c094670feb8 | [
"MIT"
] | null | null | null | WeIdentityService/Classes/Code/Suite/StringModel/WIStringModel.h | song91425/WeIdentityService | ffffee1728ed8993f5a77d2e44398c094670feb8 | [
"MIT"
] | null | null | null | //
// WIStringModel.h
// WeIdentityService
//
// Created by tank on 2020/11/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WIStringModel : NSObject
//@property (nonatomic, copy) NSString *domain;
//@property (nonatomic, copy) NSString *itemID;
//@property (nonatomic, copy) NSString *... | 23.037037 | 101 | 0.747588 |
e37e37404450788293a1926e016a84a0d35860c9 | 505 | h | C | util/ego/cs/cs_getent.h | Godzil/ack | ffe13a45830bf3fd310a1db9feff879031ed9b5c | [
"BSD-3-Clause"
] | 6 | 2015-02-16T17:05:51.000Z | 2022-01-10T20:28:11.000Z | util/ego/cs/cs_getent.h | Godzil/ack | ffe13a45830bf3fd310a1db9feff879031ed9b5c | [
"BSD-3-Clause"
] | null | null | null | util/ego/cs/cs_getent.h | Godzil/ack | ffe13a45830bf3fd310a1db9feff879031ed9b5c | [
"BSD-3-Clause"
] | null | null | null | /* $Id$ */
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
extern entity_p getentity(); /* (line_p lnp, *l_out)
* Extract the entity lnp refers and enter it
* in the table of entities. The main ... | 36.071429 | 79 | 0.673267 |
870dd42d66d06c5f2dc473cb92720a12032b50b3 | 1,869 | h | C | res/gamedata/shaders/gl/iostructs/p_bumped.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | res/gamedata/shaders/gl/iostructs/p_bumped.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | res/gamedata/shaders/gl/iostructs/p_bumped.h | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z |
out vec4 SV_Target0;
out vec4 SV_Target1;
#ifndef GBUFFER_OPTIMIZATION
out vec4 SV_Target2;
#endif
#ifdef EXTEND_F_DEFFER
out int gl_SampleMask[];
#endif
#ifdef MSAA_ALPHATEST_DX10_1_ATOC
in vec4 gl_FragCoord;
#endif
#if defined(USE_R2_STATIC_SUN) && !defined(USE_LM_HEMI)
layout(location = TEXCOORD0) in float4 p_bump... | 27.485294 | 116 | 0.748529 |
678ee18de2bde93dccc6eea38dc0b533dc98a1dd | 626 | h | C | src/native/eventpipe/ds-rt-config.h | LakshanF/runtime | e2260fe4ef1d56f36d04c8cf27498a51bc9e6b23 | [
"MIT"
] | 1 | 2021-03-29T06:19:12.000Z | 2021-03-29T06:19:12.000Z | src/native/eventpipe/ds-rt-config.h | lipex-lab/runtime | 99f4062f8eaad3f8dfa91e08a53e4ec459205bd0 | [
"MIT"
] | 1 | 2020-07-21T18:03:20.000Z | 2020-07-21T18:03:20.000Z | src/native/eventpipe/ds-rt-config.h | lipex-lab/runtime | 99f4062f8eaad3f8dfa91e08a53e4ec459205bd0 | [
"MIT"
] | 1 | 2020-02-14T06:41:05.000Z | 2020-02-14T06:41:05.000Z | #ifndef __DIAGNOSTICS_RT_CONFIG_H__
#define __DIAGNOSTICS_RT_CONFIG_H__
#include "ep-rt-config.h"
#ifdef EP_INLINE_GETTER_SETTER
#define DS_INLINE_GETTER_SETTER
#endif
#ifdef EP_INCLUDE_SOURCE_FILES
#define DS_INCLUDE_SOURCE_FILES
#endif
#ifdef FEATURE_PERFTRACING_PAL_TCP
#define DS_IPC_PAL_TCP
#else
#ifndef HOST_W... | 18.969697 | 48 | 0.864217 |
910f556a22debd7c2732b58a67fb915318b4458d | 755 | h | C | svn-old/btmux/tags/0.6-rc4/src/file_c.h | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2021-11-04T01:27:46.000Z | 2022-03-31T01:04:17.000Z | svn-old/btmux/tags/0.6-rc4/src/file_c.h | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2019-02-14T00:37:44.000Z | 2019-02-15T22:02:21.000Z | svn-old/btmux/tags/0.6-rc4/src/file_c.h | murrayma/btmux | 3519fdbfb9d5d27b4ce8e46ee16796961f1a0bfa | [
"ClArtistic",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-04-12T12:39:54.000Z | 2020-04-12T12:39:54.000Z |
/* file_c.h -- File cache header file */
/* $Id: file_c.h,v 1.3 2005/06/23 02:59:58 murrayma Exp $ */
#include "copyright.h"
#ifndef __FILE_C
#define __FILE_C
#include "db.h"
#include "interface.h"
/* File caches. These _must_ track the fcache array in file_c.c */
#define FC_CONN 0
#define FC_CONN_SITE 1
#defin... | 20.405405 | 67 | 0.740397 |
1bff5d078a16ff0fe6ce357876f5a4c2a392a2b0 | 568 | h | C | Collision/AABBCollider.h | RuGrif/onion2 | b20d966de6a9ddeee0b66478d50725d1eaaad4c8 | [
"MIT"
] | null | null | null | Collision/AABBCollider.h | RuGrif/onion2 | b20d966de6a9ddeee0b66478d50725d1eaaad4c8 | [
"MIT"
] | null | null | null | Collision/AABBCollider.h | RuGrif/onion2 | b20d966de6a9ddeee0b66478d50725d1eaaad4c8 | [
"MIT"
] | null | null | null | #pragma once
#include "AABB.h"
#include <functional>
namespace Collision_NS
{
class AABBCollider
{
public:
using Box = Math_NS::Box3L;
using Vec = Box::Vector3;
using Callback = std::function<bool( Face, Face )>;
AABBCollider( const Callback& i_callback ) : d_callback{ i_callback } {}
... | 17.212121 | 96 | 0.644366 |
7378ba028c51fad021b7c7d80ea8bbf93f88ccb6 | 217 | h | C | SKInputDemo/SKInputDemo/ViewController.h | spaceotech/InputClass | 8ca016fc05835ee3ffe52c7760de0d62f3e10dd6 | [
"MIT"
] | null | null | null | SKInputDemo/SKInputDemo/ViewController.h | spaceotech/InputClass | 8ca016fc05835ee3ffe52c7760de0d62f3e10dd6 | [
"MIT"
] | 1 | 2015-02-26T16:33:02.000Z | 2016-09-08T06:23:20.000Z | SKInputDemo/SKInputDemo/ViewController.h | spaceotech/InputClass | 8ca016fc05835ee3ffe52c7760de0d62f3e10dd6 | [
"MIT"
] | null | null | null | //
// ViewController.h
// SKInputDemo
//
// Created by Sunil on 02/12/13.
// Copyright (c) 2013 Sunil Vaishnav. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 15.5 | 59 | 0.695853 |
7193b994edd5a17c89187a2459e6c1a907ec6eb4 | 1,212 | h | C | base/core/include/motis/core/access/realtime_access.h | alexandersinkovic/motis | e4a0af04b4c934b8361401b1164db81bec5f1e6b | [
"MIT"
] | 60 | 2020-04-27T14:06:11.000Z | 2022-03-22T14:33:01.000Z | base/core/include/motis/core/access/realtime_access.h | alexandersinkovic/motis | e4a0af04b4c934b8361401b1164db81bec5f1e6b | [
"MIT"
] | 59 | 2020-04-27T21:12:22.000Z | 2022-03-30T09:28:58.000Z | base/core/include/motis/core/access/realtime_access.h | Kingforce01/motis | e4a0af04b4c934b8361401b1164db81bec5f1e6b | [
"MIT"
] | 28 | 2020-05-18T15:47:51.000Z | 2022-01-19T17:16:33.000Z | #pragma once
#include "motis/core/schedule/schedule.h"
namespace motis {
time get_schedule_time(schedule const&, ev_key const&);
time get_schedule_time(schedule const&, edge const* route_edge, lcon_idx_t,
event_type);
time get_schedule_time(schedule const&, edge const* route_edge,
... | 31.894737 | 75 | 0.703795 |
42abe48a0f54b15e2194c98a91f6c44176a38694 | 2,735 | c | C | d/av_rooms/asmodeus/Devilhall.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/av_rooms/asmodeus/Devilhall.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/av_rooms/asmodeus/Devilhall.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | // File created with /daemon/persistent_room_d.c
#include <std.h>
inherit "/cmds/avatar/avatar_room.c";
void create()
{
::create();
set_name("Devilhall");
set_property("indoors",1);
set_property("light",-1);
set_property("no teleport",1);
set_terrain("nat cave");
set_travel("rubble");
... | 66.707317 | 215 | 0.644973 |
a40e387344d0ec9347993e6c40180b2c462d6ca6 | 1,808 | h | C | gfp.h | aszepieniec/barff | 606510ad598146e17a843e44e587a6855dfb34d9 | [
"MIT"
] | 3 | 2017-03-12T16:09:09.000Z | 2021-10-30T12:32:20.000Z | gfp.h | aszepieniec/barff | 606510ad598146e17a843e44e587a6855dfb34d9 | [
"MIT"
] | null | null | null | gfp.h | aszepieniec/barff | 606510ad598146e17a843e44e587a6855dfb34d9 | [
"MIT"
] | null | null | null | #ifndef GFP
#define GFP
#ifndef BIG
#ifndef GF_PRIME_MODULUS
#define GF_PRIME_MODULUS 31
#endif
#ifndef GFP_NUMBITS
#define GFP_NUMBITS 5
#endif
#ifndef GFP_NUMBYTES
#define GFP_NUMBYTES ((GFP_NUMBITS+7)/8)
#endif
#ifndef GFP_CONTAINER
#define GFP_CONTAIN... | 28.698413 | 80 | 0.728982 |
5e5a41b7e440dfd6a88d8476adf8428c30976f63 | 714 | h | C | src/communication/stdsc_all.h | yamanalab/DAMCREM | 8064613b799efee1a4896b1e60488312368183ab | [
"Apache-2.0"
] | null | null | null | src/communication/stdsc_all.h | yamanalab/DAMCREM | 8064613b799efee1a4896b1e60488312368183ab | [
"Apache-2.0"
] | null | null | null | src/communication/stdsc_all.h | yamanalab/DAMCREM | 8064613b799efee1a4896b1e60488312368183ab | [
"Apache-2.0"
] | null | null | null | #pragma once
// #include<stdsc/stdsc_basicdata.hpp>
#include<stdsc/stdsc_buffer.hpp>
#include<stdsc/stdsc_callback_function.hpp>
#include<stdsc/stdsc_callback_function_container.hpp>
#include<stdsc/stdsc_client.hpp>
#include<stdsc/stdsc_define.hpp>
#include<stdsc/stdsc_exception.hpp>
#include<stdsc/stdsc_log.hpp>
#incl... | 34 | 70 | 0.656863 |
6668cdc97dc49874fd2108208b3cf8191009d464 | 236 | h | C | src/step_functions.h | happanda/algorithmic | c9913dc9241735b2ea88e05377d86b076b129cb4 | [
"MIT"
] | null | null | null | src/step_functions.h | happanda/algorithmic | c9913dc9241735b2ea88e05377d86b076b129cb4 | [
"MIT"
] | null | null | null | src/step_functions.h | happanda/algorithmic | c9913dc9241735b2ea88e05377d86b076b129cb4 | [
"MIT"
] | null | null | null | #pragma once
namespace algo
{
template <class RealNumber>
constexpr RealNumber smoothstep(RealNumber t)
{
if (t > 0 && t < 1)
return 3 * t * t - 2 * t * t * t;
else if (t <= 0)
return 0;
return 1;
}
} // namespace algo
| 15.733333 | 46 | 0.59322 |
618ac8f4592f65cef0977c943604e353cc714a38 | 1,348 | h | C | src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h | q5sys/lumina | d3654eb6a83d7f8aad5530ba10816a245c9f55b3 | [
"BSD-3-Clause"
] | 246 | 2018-04-13T20:07:34.000Z | 2022-03-29T01:33:37.000Z | src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h | q5sys/lumina | d3654eb6a83d7f8aad5530ba10816a245c9f55b3 | [
"BSD-3-Clause"
] | 332 | 2016-06-21T13:37:10.000Z | 2018-04-06T13:06:41.000Z | src-qt5/core/lumina-desktop/desktop-plugins/systemmonitor/MonitorWidget.h | q5sys/lumina | d3654eb6a83d7f8aad5530ba10816a245c9f55b3 | [
"BSD-3-Clause"
] | 69 | 2018-04-12T15:46:09.000Z | 2022-03-20T21:21:45.000Z | //===========================================
// Lumina-DE source code
// Copyright (c) 2015, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
// This plugin is a simple hardware status monitor on the desktop
//============... | 21.396825 | 79 | 0.666172 |
19fb369cfde03ec5f204b0889acd879d297a9644 | 624 | h | C | SDShareView/SDShareView.h | ChoSoodong/shareView | 6df8bac127bc20a3f72c0374829076566ef3067a | [
"MIT"
] | 1 | 2019-07-28T08:50:36.000Z | 2019-07-28T08:50:36.000Z | SDShareView/SDShareView.h | ChoSoodong/shareView | 6df8bac127bc20a3f72c0374829076566ef3067a | [
"MIT"
] | null | null | null | SDShareView/SDShareView.h | ChoSoodong/shareView | 6df8bac127bc20a3f72c0374829076566ef3067a | [
"MIT"
] | null | null | null |
#import <UIKit/UIKit.h>
typedef void(^ShareResultBlock)(BOOL isSuccess);
@interface SDShareView : UIView
/** 分享结果 */
@property (nonatomic, copy) ShareResultBlock resultBlock;
/**
* 分享
*
* @param content @{@"text":@"",@"image":@"",@"url":@""}
* @param resultBlock 结果
*/
+ (void)showShareViewWithPub... | 17.828571 | 70 | 0.588141 |
e88d5894c9df4563b2600b982f885a627bea072b | 326 | h | C | Resources/WC_7_0_5_Headers/MMKScanWidget-Protocol.h | shuangwei-Ye/WeChat_tweak | 0f496f38f0336908258d606dcbef7067a096926a | [
"MIT"
] | 2 | 2021-05-30T07:50:20.000Z | 2022-02-23T15:42:53.000Z | Resources/WC_7_0_5_Headers/MMKScanWidget-Protocol.h | LP36911/WeChat_tweak | 0f496f38f0336908258d606dcbef7067a096926a | [
"MIT"
] | null | null | null | Resources/WC_7_0_5_Headers/MMKScanWidget-Protocol.h | LP36911/WeChat_tweak | 0f496f38f0336908258d606dcbef7067a096926a | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class MMVoidStringCallback, NSString;
@protocol MMKScanWidget <NSObject>
- (void)scan:(NSString *)arg1;
- (void)setHandlerImpl:(MMVoidStringCallback *)arg1;
... | 20.375 | 83 | 0.696319 |
c93266a7539c7299fe8af4a0d02a7b6e6b8c3c61 | 1,739 | h | C | source/bezier_trajectory/trajectory/peg_in_hole_trajectory.h | maierbn/peg-in-hole | 9c8075e2bb479b605af9fd73e22b5f6d74a3807b | [
"Unlicense"
] | 1 | 2022-03-18T00:15:03.000Z | 2022-03-18T00:15:03.000Z | source/bezier_trajectory/trajectory/peg_in_hole_trajectory.h | maierbn/peg-in-hole | 9c8075e2bb479b605af9fd73e22b5f6d74a3807b | [
"Unlicense"
] | null | null | null | source/bezier_trajectory/trajectory/peg_in_hole_trajectory.h | maierbn/peg-in-hole | 9c8075e2bb479b605af9fd73e22b5f6d74a3807b | [
"Unlicense"
] | null | null | null | #pragma once
#include "utility/eigen_utility.h"
#include "trajectory/smooth_curve_trajectory.h"
/** \brief implements a trajectory following a bezier trajectory with 3 control points.
*/
class PegInHoleTrajectory : public SmoothCurveTrajectory
{
public:
/** \brief create a linear trajectory witgh motio... | 34.098039 | 135 | 0.680276 |
9c0ab1b1337589f03a740737bbb9e7a36b6a802d | 295 | h | C | sports_trivia.gameengine/include/player.h | jeremydumais/C-Jam-SportsTrivia | 3f90548dbf7d703e36a294eb3b60eb8064838e8a | [
"MIT"
] | null | null | null | sports_trivia.gameengine/include/player.h | jeremydumais/C-Jam-SportsTrivia | 3f90548dbf7d703e36a294eb3b60eb8064838e8a | [
"MIT"
] | null | null | null | sports_trivia.gameengine/include/player.h | jeremydumais/C-Jam-SportsTrivia | 3f90548dbf7d703e36a294eb3b60eb8064838e8a | [
"MIT"
] | null | null | null | #ifndef PLAYER_H
#define PLAYER_H
#define PLAYERNAME_MAXLENGTH 15
char player1Name[PLAYERNAME_MAXLENGTH+1];
char player2Name[PLAYERNAME_MAXLENGTH+1];
unsigned int player1Score;
unsigned int player2Score;
void initializePlayersData();
char *getPlayerScoreAsString(unsigned int score);
#endif | 19.666667 | 49 | 0.833898 |
9c83c1b2f4a0bb00e7166ca902be8ef298f40365 | 691 | h | C | src/project_settings.h | maxgerhardt/lora-mcu-helper | 5f873852d352564e3061a62ce51819b2438eb206 | [
"BSD-3-Clause"
] | null | null | null | src/project_settings.h | maxgerhardt/lora-mcu-helper | 5f873852d352564e3061a62ce51819b2438eb206 | [
"BSD-3-Clause"
] | null | null | null | src/project_settings.h | maxgerhardt/lora-mcu-helper | 5f873852d352564e3061a62ce51819b2438eb206 | [
"BSD-3-Clause"
] | null | null | null | /*
* project_settings.h
*
* Created on: 30.03.2018
* Author: Maxi
*/
#ifndef SRC_PROJECT_SETTINGS_H_
#define SRC_PROJECT_SETTINGS_H_
#include <mbed.h>
extern mbed::Serial mcuSerial;
extern mbed::Serial debugSerial;
/* Defines general project settings and Pinouts */
#include <PinNames.h>
/* UART pins for ... | 21.59375 | 74 | 0.781476 |
418538e822cf6cf8b946532efd634f1459e68e9b | 1,429 | c | C | Handlers/ft_ssl_stdin.c | akharrou/42-Project-Ft_SSL_MD5 | 553107a6017d81e672755e494a977a99888b2e09 | [
"MIT"
] | null | null | null | Handlers/ft_ssl_stdin.c | akharrou/42-Project-Ft_SSL_MD5 | 553107a6017d81e672755e494a977a99888b2e09 | [
"MIT"
] | null | null | null | Handlers/ft_ssl_stdin.c | akharrou/42-Project-Ft_SSL_MD5 | 553107a6017d81e672755e494a977a99888b2e09 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_ssl_stdin.c :+: :+: :+: ... | 35.725 | 80 | 0.317705 |
5753d5229d8294f72d2b4636b6db4f51668056cd | 802 | h | C | KNWTheme/KNWTheme.h | coppercash/KnightWaston | 9a7c0b1b1b24c6370e67a78f7ff5d5218c8449f1 | [
"MIT"
] | 17 | 2016-01-09T10:15:50.000Z | 2018-04-20T05:49:51.000Z | KNWTheme/KNWTheme.h | coppercash/KnightWaston | 9a7c0b1b1b24c6370e67a78f7ff5d5218c8449f1 | [
"MIT"
] | 1 | 2018-04-06T11:49:08.000Z | 2018-04-06T11:49:08.000Z | KNWTheme/KNWTheme.h | coppercash/KnightWaston | 9a7c0b1b1b24c6370e67a78f7ff5d5218c8449f1 | [
"MIT"
] | 1 | 2016-04-09T09:55:49.000Z | 2016-04-09T09:55:49.000Z | //
// KNWTheme.h
// KNWTheme
//
// Created by William on 12/29/15.
// Copyright © 2015 coppercash. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for KNWTheme.
FOUNDATION_EXPORT double KNWThemeVersionNumber;
//! Project version string for KNWTheme.
FOUNDATION_EXPORT const unsigned cha... | 29.703704 | 133 | 0.780549 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.