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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
708c2d70b41993595940f6cc06c10e44eb269e41 | 510 | h | C | include/ed/convex_hull.h | tue-robotics/ed | 3ce42e4898ae3677b043d9448a47210d0b676124 | [
"BSD-2-Clause"
] | 44 | 2015-01-16T16:52:09.000Z | 2022-02-11T16:06:49.000Z | include/ed/convex_hull.h | tue-robotics/ed | 3ce42e4898ae3677b043d9448a47210d0b676124 | [
"BSD-2-Clause"
] | 69 | 2015-01-07T15:03:12.000Z | 2022-02-14T14:09:47.000Z | include/ed/convex_hull.h | tue-robotics/ed | 3ce42e4898ae3677b043d9448a47210d0b676124 | [
"BSD-2-Clause"
] | 18 | 2015-02-26T11:31:17.000Z | 2021-09-25T08:29:02.000Z | #ifndef ED_CONVEX_HULL_H_
#define ED_CONVEX_HULL_H_
#include <geolib/datatypes.h>
#include <vector>
namespace ed
{
struct ConvexHull
{
std::vector<geo::Vec2f> points;
std::vector<geo::Vec2f> edges;
std::vector<geo::Vec2f> normals;
float z_min, z_max;
float area; // is calculated based on points
... | 16.451613 | 53 | 0.662745 |
7016b4e587982aae32ac38faea3dce1735c7ce9e | 1,833 | h | C | opensource/libomxil-bellagio/src/extension_struct.h | Obighbyd/android_device_samsung_golden | b9dc79c14525c14165390f38f5db1a521f55980d | [
"Apache-2.0"
] | 1 | 2019-03-04T21:36:55.000Z | 2019-03-04T21:36:55.000Z | opensource/libomxil-bellagio/src/extension_struct.h | Obighbyd/android_device_samsung_golden | b9dc79c14525c14165390f38f5db1a521f55980d | [
"Apache-2.0"
] | null | null | null | opensource/libomxil-bellagio/src/extension_struct.h | Obighbyd/android_device_samsung_golden | b9dc79c14525c14165390f38f5db1a521f55980d | [
"Apache-2.0"
] | null | null | null | /**
src/extension_struct.h
This file will include all the extension structures defined in Bellagio
and not present in the OpenMAX spec. These structure will be used
with the function getExtensionIndex defined in the standard.
Copyright (C) 2009 STMicroelectronics
Copyright (C) 2009 Nokia Corporation and/o... | 39 | 117 | 0.772504 |
2ad2abb80c7d8951a1a6b431abd3abda7473f554 | 23,502 | c | C | my_results_phase_5/my_results_phase_4_implementation/slprj/_sfprj/MPC_AVC_implementation/_self/sfun/src/c3_MPC_AVC_implementation.c | attaoveisi/MPC | 2de08ea788daf490abde61280d011b5062352481 | [
"BSD-2-Clause"
] | 2 | 2021-01-10T10:54:18.000Z | 2021-10-30T10:40:48.000Z | my_results_phase_5/my_results_phase_4_implementation/slprj/_sfprj/MPC_AVC_implementation/_self/sfun/src/c3_MPC_AVC_implementation.c | wuyou33/MPC-1 | 2de08ea788daf490abde61280d011b5062352481 | [
"BSD-2-Clause"
] | null | null | null | my_results_phase_5/my_results_phase_4_implementation/slprj/_sfprj/MPC_AVC_implementation/_self/sfun/src/c3_MPC_AVC_implementation.c | wuyou33/MPC-1 | 2de08ea788daf490abde61280d011b5062352481 | [
"BSD-2-Clause"
] | 3 | 2021-02-17T05:12:33.000Z | 2021-07-22T14:26:13.000Z | /* Include files */
#include "MPC_AVC_implementation_sfun.h"
#include "c3_MPC_AVC_implementation.h"
#define CHARTINSTANCE_CHARTNUMBER (chartInstance.chartNumber)
#define CHARTINSTANCE_INSTANCENUMBER (chartInstance.instanceNumber)
#include "MPC_AVC_implementation_sfun_debug_macros.h"
/* Type Definitions... | 34.309489 | 105 | 0.660752 |
f21b8989035ea8688796c7476fcd31c26ce1a5f6 | 777 | c | C | grade-of-a-student/main.c | KabirKr/Basic-c-programs | 706c8bfe870e8d6c2e13e13e7db369de352ef235 | [
"MIT"
] | null | null | null | grade-of-a-student/main.c | KabirKr/Basic-c-programs | 706c8bfe870e8d6c2e13e13e7db369de352ef235 | [
"MIT"
] | null | null | null | grade-of-a-student/main.c | KabirKr/Basic-c-programs | 706c8bfe870e8d6c2e13e13e7db369de352ef235 | [
"MIT"
] | null | null | null | /* Show total mark, parcentage and grade of a student */
#include <stdio.h>
#include <conio.h>
int main()
{
int sub1, sub2, sub3, sub4, sub5, totalMark, percentage;
printf("Enter the numbers of five subjects: ");
scanf("%d %d %d %d %d", &sub1, &sub2, &sub3, &sub3, &sub4, &sub5);
totalMark = sub1 + su... | 19.425 | 70 | 0.537967 |
a8bbc3cdf427f853a43d9565e9c1d7e2a9b0339a | 6,023 | h | C | vpg/CombinedComposer.h | intel/hwc- | 3617c208959bd7c865021dd0d0bc69a94c804f99 | [
"Apache-2.0"
] | null | null | null | vpg/CombinedComposer.h | intel/hwc- | 3617c208959bd7c865021dd0d0bc69a94c804f99 | [
"Apache-2.0"
] | null | null | null | vpg/CombinedComposer.h | intel/hwc- | 3617c208959bd7c865021dd0d0bc69a94c804f99 | [
"Apache-2.0"
] | null | null | null | /*
// Copyright (c) 2017 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 41.537931 | 163 | 0.647684 |
4ae00bcebafe9c48cc4e3e02b842df5a93473e94 | 395 | h | C | GameIntegration/Game.h | AdiBaby/NetworkingGame | 31b3ec1acd3711bdb43c609a74076e0650dea642 | [
"FSFAP"
] | null | null | null | GameIntegration/Game.h | AdiBaby/NetworkingGame | 31b3ec1acd3711bdb43c609a74076e0650dea642 | [
"FSFAP"
] | null | null | null | GameIntegration/Game.h | AdiBaby/NetworkingGame | 31b3ec1acd3711bdb43c609a74076e0650dea642 | [
"FSFAP"
] | null | null | null | #pragma once
#include "Map.h"
namespace Game
{
extern std::vector<Object*> objects;
extern BioMap::map_t map;
void main();
typedef enum
{
OBJT_DUDE,
OBJT_CITY,
OBJT_STRUCTURE,
} ObjectType;
struct Object
{
uint8_t x;
uint8_t y;
virtual bool autoUpdate();
virtual boo... | 12.34375 | 38 | 0.612658 |
2f44977d198797726b8d9942951bf1184bdfd76f | 222 | c | C | 1387/main.c | maateusx/UriOnlineJudge | cf1cd27684520af2e7b959b7469393ceaee1bb1f | [
"MIT"
] | null | null | null | 1387/main.c | maateusx/UriOnlineJudge | cf1cd27684520af2e7b959b7469393ceaee1bb1f | [
"MIT"
] | null | null | null | 1387/main.c | maateusx/UriOnlineJudge | cf1cd27684520af2e7b959b7469393ceaee1bb1f | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int main()
{
int l, r, n=1;
while(n!=0)
{
scanf("%d %d", &l, &r);
if(l==0 && r==0)
break;
printf("%d\n", l+r);
}
return 0;
}
| 13.058824 | 31 | 0.382883 |
9e38980d6aeafe9cbea1db47e901881eeed0d5ba | 1,183 | c | C | ioctl/ioctl.c | arshad512/lkb | 6d2d3c554d6b1d275853b4c9e350619cee8a775d | [
"MIT"
] | 2 | 2021-08-13T10:13:20.000Z | 2021-08-13T10:13:26.000Z | ioctl/ioctl.c | arshad512/lkb | 6d2d3c554d6b1d275853b4c9e350619cee8a775d | [
"MIT"
] | null | null | null | ioctl/ioctl.c | arshad512/lkb | 6d2d3c554d6b1d275853b4c9e350619cee8a775d | [
"MIT"
] | 3 | 2020-03-06T08:53:43.000Z | 2021-08-18T21:19:16.000Z | #include <sys/types.h>
#include <sys/mman.h> /* mmap */
#include <err.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>
/*
* Arshad Hussain <arshad.super@gmail.com
*/
#define DEVICE "/dev/mmapchar"
#define QUERY_GET_VARIABLES _IOR('q', 1, int... | 17.144928 | 47 | 0.610313 |
7faea630a17742368eeda4889c51474cfb091763 | 7,057 | c | C | LibSource/mpfr/tests/tai.c | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 12 | 2021-09-29T14:50:06.000Z | 2022-03-31T15:01:21.000Z | LibSource/mpfr/tests/tai.c | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 15 | 2021-12-24T22:53:49.000Z | 2021-12-25T10:03:13.000Z | LibSource/mpfr/tests/tai.c | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 10 | 2021-10-17T19:46:51.000Z | 2022-03-18T02:57:57.000Z | /* Test file for mpfr_ai.
Copyright 2010-2019 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as publ... | 28.922131 | 240 | 0.657503 |
7ff7c30e39ca387d803ea988bbd1deaa353acf37 | 4,531 | h | C | include/dsa-verify.h | marcizhu/dsa-verify | 034c90b2b38adcdf2237f3955efd8bc72935a1e0 | [
"MIT"
] | 3 | 2021-02-27T17:29:26.000Z | 2021-02-28T08:53:21.000Z | include/dsa-verify.h | marcizhu/dsa-verify | 034c90b2b38adcdf2237f3955efd8bc72935a1e0 | [
"MIT"
] | null | null | null | include/dsa-verify.h | marcizhu/dsa-verify | 034c90b2b38adcdf2237f3955efd8bc72935a1e0 | [
"MIT"
] | null | null | null | /*
* This file is part of the dsa-verify library (https://github.com/marcizhu/dsa-verify)
*
* Copyright (C) 2021 Marc Izquierdo
*
* 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 w... | 40.455357 | 133 | 0.72655 |
3674df62f9bc327c25d787ca249ec94376825747 | 1,221 | h | C | RecoCTPPS/TotemRPLocal/interface/CTPPSDiamondRecHitProducerAlgorithm.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-03-09T19:47:49.000Z | 2019-03-09T19:47:49.000Z | RecoCTPPS/TotemRPLocal/interface/CTPPSDiamondRecHitProducerAlgorithm.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | RecoCTPPS/TotemRPLocal/interface/CTPPSDiamondRecHitProducerAlgorithm.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 1 | 2019-04-03T19:23:27.000Z | 2019-04-03T19:23:27.000Z | /****************************************************************************
*
* This is a part of CTPPS offline software.
* Authors:
* Laurent Forthomme (laurent.forthomme@cern.ch)
*
****************************************************************************/
#ifndef RecoCTPPS_TotemRPLocal_CTPPSDiamondRecHitProdu... | 33.916667 | 123 | 0.710893 |
36fb0f161d439dcaeb5550f39147bdc2d588b216 | 3,042 | c | C | d/magic/obj/weapons/nilith_knights.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-07-19T05:24:44.000Z | 2021-11-18T04:08:19.000Z | d/magic/obj/weapons/nilith_knights.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 4 | 2021-03-15T18:56:39.000Z | 2021-08-17T17:08:22.000Z | d/magic/obj/weapons/nilith_knights.c | Dbevan/SunderingShadows | 6c15ec56cef43c36361899bae6dc08d0ee907304 | [
"MIT"
] | 13 | 2019-09-12T06:22:38.000Z | 2022-01-31T01:15:12.000Z | #include <std.h>
inherit "/d/magic/obj/weapons/godwpns";
void create(){
::create();
set_name("Lurid Splendor");
set_id(({"sword","weapon","gold sword","golden sword","splendor",
"lurid splendor","kilij","gold kilij","golden kilij"}));
set_obvious_short("%^RESET%^%^BLUE%^g%^BOLD%^%^BLUE%^e%^CYAN%^m%^RESET%^... | 48.285714 | 98 | 0.633794 |
3c22a029d399b1e397a8815ddeb466d81ea41aae | 550 | h | C | Pod/Classes/Networking/YYClient+Misc.h | NSExceptional/YakKit | 78b496263364bcbeb7556eb833a6cc95412104f9 | [
"MIT"
] | 1 | 2017-04-13T08:52:47.000Z | 2017-04-13T08:52:47.000Z | Pod/Classes/Networking/YYClient+Misc.h | NSExceptional/YakKit | 78b496263364bcbeb7556eb833a6cc95412104f9 | [
"MIT"
] | null | null | null | Pod/Classes/Networking/YYClient+Misc.h | NSExceptional/YakKit | 78b496263364bcbeb7556eb833a6cc95412104f9 | [
"MIT"
] | null | null | null | //
// YYClient+Misc.h
// Pods
//
// Created by Tanner on 11/13/15.
//
//
#import "YYClient.h"
NS_ASSUME_NONNULL_BEGIN
@interface YYClient (Misc)
#pragma mark Misc
- (void)logEvent:(NSString *)event completion:(nullable ErrorBlock)completion;
- (void)refreshLocate:(nullable ErrorBlock)completion;
- (void)contact... | 21.153846 | 131 | 0.758182 |
82c91c65029cb4f5ac3696215a90c10f1eb2f51c | 37,155 | h | C | Testing/Marlin-2.0.x/Marlin/src/lcd/language/language_ru.h | qisback/Geeetech-i3-B-pro-configs | a2c309923c4e68103addda677fda190238a1abe0 | [
"CC-BY-4.0"
] | 1 | 2020-11-29T18:04:31.000Z | 2020-11-29T18:04:31.000Z | Testing/Marlin-2.0.x/Marlin/src/lcd/language/language_ru.h | qisback/Geeetech-i3-B-pro-configs | a2c309923c4e68103addda677fda190238a1abe0 | [
"CC-BY-4.0"
] | 1 | 2020-09-27T14:53:34.000Z | 2020-09-27T14:53:34.000Z | src/lcd/language/language_ru.h | Sundancer78/Marlin-2.0.4_SKR_14_turbo_ender3 | d9dbef52e6fb4e110908a6d09d0af00fc0ac9b20 | [
"MIT"
] | null | null | null | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 76.766529 | 137 | 0.631759 |
d20f687861b326f20eb799c4466fab1ee315fad9 | 20,406 | c | C | src/source/PeerConnection/Rtcp.c | Nomidia/amazon-kinesis-video-streams-webrtc-sdk-c | 3225b967267ed486b29c0901cdf82d6dc1231bcf | [
"Apache-2.0"
] | 4 | 2021-06-10T15:52:30.000Z | 2022-02-05T13:15:42.000Z | src/source/PeerConnection/Rtcp.c | Nomidia/amazon-kinesis-video-streams-webrtc-sdk-c | 3225b967267ed486b29c0901cdf82d6dc1231bcf | [
"Apache-2.0"
] | null | null | null | src/source/PeerConnection/Rtcp.c | Nomidia/amazon-kinesis-video-streams-webrtc-sdk-c | 3225b967267ed486b29c0901cdf82d6dc1231bcf | [
"Apache-2.0"
] | 2 | 2020-12-04T20:59:22.000Z | 2021-05-04T17:34:37.000Z | #define LOG_CLASS "RtcRtcp"
#include "../Include_i.h"
// TODO handle FIR packet https://tools.ietf.org/html/rfc2032#section-5.2.1
static STATUS onRtcpFIRPacket(PRtcpPacket pRtcpPacket, PKvsPeerConnection pKvsPeerConnection)
{
STATUS retStatus = STATUS_SUCCESS;
UINT32 mediaSSRC;
PKvsRtpTransceiver pTransce... | 45.651007 | 148 | 0.625061 |
d62c54cc988e1f055a65124d3a6610e1e337c778 | 1,979 | h | C | model/ezsigndocument_get_temporary_proof_v1_response.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | model/ezsigndocument_get_temporary_proof_v1_response.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | model/ezsigndocument_get_temporary_proof_v1_response.h | ezmaxinc/eZmax-SDK-c | 725eab79d6311127a2d5bd731b978bce94142d69 | [
"curl",
"MIT"
] | null | null | null | /*
* ezsigndocument_get_temporary_proof_v1_response.h
*
* Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getTemporaryProof
*/
#ifndef _ezsigndocument_get_temporary_proof_v1_response_H_
#define _ezsigndocument_get_temporary_proof_v1_response_H_
#include <string.h>
#include "../external/cJSON.h"
#i... | 42.106383 | 170 | 0.880243 |
aac47d02b3f10fb8d99a4ea71a8d7c60d4f55bdc | 159 | h | C | iOS/10.0.2/protocols/INApplicationContextProviding.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 30 | 2016-10-09T20:13:00.000Z | 2022-01-24T04:14:57.000Z | iOS/10.0.2/protocols/INApplicationContextProviding.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | null | null | null | iOS/10.0.2/protocols/INApplicationContextProviding.h | onmyway133/Runtime-Headers | e9b80e7ab9103f37ad421ad6b8b58ee06369d21f | [
"MIT"
] | 7 | 2017-08-29T14:41:25.000Z | 2022-01-19T17:14:54.000Z | /* Generated by RuntimeBrowser.
*/
@protocol INApplicationContextProviding <NSObject>
@required
- (INApplicationContext *)currentApplicationContext;
@end
| 14.454545 | 52 | 0.792453 |
cf81b51c8a924dbc1dda6c3605a6ee82a1384916 | 24,700 | h | C | SXR/SDK/backend_daydream/src/main/jni/vr/gvr/capi/include/gvr_types.h | apjagdale/sxrsdk | b478bd582074a8f8c267e4ad9d6ebc903efedf3a | [
"Apache-2.0"
] | 474 | 2015-03-27T17:14:43.000Z | 2022-03-30T23:10:38.000Z | SXR/SDK/backend_daydream/src/main/jni/vr/gvr/capi/include/gvr_types.h | apjagdale/sxrsdk | b478bd582074a8f8c267e4ad9d6ebc903efedf3a | [
"Apache-2.0"
] | 1,677 | 2015-03-28T02:00:21.000Z | 2019-10-21T13:28:44.000Z | SXR/SDK/backend_daydream/src/main/jni/vr/gvr/capi/include/gvr_types.h | apjagdale/sxrsdk | b478bd582074a8f8c267e4ad9d6ebc903efedf3a | [
"Apache-2.0"
] | 260 | 2015-03-27T23:55:12.000Z | 2022-03-18T03:46:41.000Z | /* Copyright 2016 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 37.481032 | 80 | 0.782996 |
5ca8912f4583d3c4ad1dbf1eb69328ff7a69f941 | 2,761 | c | C | Delete node from the end of doubly linked list.c | vik673/C-basic-programs | 93b383ccb8751d5dd502f3147a02753ac1bc3fe0 | [
"MIT"
] | null | null | null | Delete node from the end of doubly linked list.c | vik673/C-basic-programs | 93b383ccb8751d5dd502f3147a02753ac1bc3fe0 | [
"MIT"
] | null | null | null | Delete node from the end of doubly linked list.c | vik673/C-basic-programs | 93b383ccb8751d5dd502f3147a02753ac1bc3fe0 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<conio.h>
#include<stdlib.h>
typedef struct node
{
int num;
struct node *prev,*next;
}node;
node *start=NULL,*end=NULL;
void insert_at_end()
{
node *current=(node *)malloc(sizeof(node));
if(current!=NULL)
{
int n;
printf("\nEnter a number\n"... | 20.451852 | 69 | 0.437523 |
6812cb7b8d0dec12d70525bd5839a2a5610cfcb2 | 2,282 | h | C | sync/protocol/proto_enum_conversions.h | SlimKatLegacy/android_external_chromium_org | ee480ef5039d7c561fc66ccf52169ead186f1bea | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-04T02:36:53.000Z | 2016-06-25T11:22:17.000Z | sync/protocol/proto_enum_conversions.h | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | sync/protocol/proto_enum_conversions.h | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2015-02-09T08:49:30.000Z | 2017-08-26T02:03:34.000Z | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
#define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
// Keep this file in sync with the .proto files in this d... | 34.575758 | 80 | 0.80894 |
fddf78c1268ef5bc4ac5e353d50d52d5765fb871 | 587 | h | C | apps/bare-expo/ios/Pods/SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 6,947 | 2015-03-24T12:23:59.000Z | 2022-03-31T21:45:46.000Z | apps/bare-expo/ios/Pods/SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 643 | 2015-03-25T04:29:47.000Z | 2022-02-24T03:50:33.000Z | apps/bare-expo/ios/Pods/SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.h | rudylee/expo | b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc | [
"Apache-2.0",
"MIT"
] | 1,867 | 2015-03-25T01:42:00.000Z | 2022-03-23T06:05:50.000Z | /*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
#import "SDWebImageCompat.h"
// This is used for operat... | 26.681818 | 77 | 0.76661 |
658697a82f848de1e78709147184ba4e1f64eed9 | 1,057 | h | C | Telecomm/SharedLib/ewalletShareLib/include/pwrWidget/hostingAccountWidget/hostingcoinwidget.h | telecommai/windows | 30e34ffe0bc81f39c25be7624d16856bf42e03eb | [
"BSD-3-Clause"
] | 2 | 2019-04-13T07:09:19.000Z | 2019-04-19T08:06:17.000Z | Telecomm/SharedLib/ewalletShareLib/include/pwrWidget/hostingAccountWidget/hostingcoinwidget.h | telecommai/windows | 30e34ffe0bc81f39c25be7624d16856bf42e03eb | [
"BSD-3-Clause"
] | 9 | 2021-03-09T02:41:54.000Z | 2022-02-26T10:26:01.000Z | Telecomm/SharedLib/ewalletShareLib/include/pwrWidget/hostingAccountWidget/hostingcoinwidget.h | telecommai/windows | 30e34ffe0bc81f39c25be7624d16856bf42e03eb | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <QWidget>
#include <QMouseEvent>
#include <QDoubleValidator>
#include <QStyledItemDelegate>
#include "opcommon.h"
#include "messagebox.h"
#include "oprequestsharelib.h"
#include "stdafx.h"
#include "../transferWidget/passwordwidget.h"
namespace Ui { class HostingCoinWidget; };
clas... | 20.72549 | 71 | 0.716178 |
aa1a6632e7683b9ad6289e81c9e9e8b7bfc79e66 | 10,188 | h | C | openbsd/sys/arch/sparc/include/param.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 1 | 2019-10-15T06:29:32.000Z | 2019-10-15T06:29:32.000Z | openbsd/sys/arch/sparc/include/param.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | null | null | null | openbsd/sys/arch/sparc/include/param.h | shisa/kame-shisa | 25dfcf220c0cd8192e475a602501206ccbd9263e | [
"BSD-3-Clause"
] | 3 | 2017-01-09T02:15:36.000Z | 2019-10-15T06:30:25.000Z | /* $OpenBSD: param.h,v 1.27 2003/06/02 23:27:54 millert Exp $ */
/* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Ber... | 34.653061 | 77 | 0.732038 |
10f0aba572f29993ebf248e0b6fffedab756b1d3 | 1,076 | h | C | sniper/common/network/network_model_emesh_hop_counter.h | zhc0757/intersim | 83ea424f9a7b0a09cc3b1bc15068a23d2517ec6e | [
"MIT"
] | null | null | null | sniper/common/network/network_model_emesh_hop_counter.h | zhc0757/intersim | 83ea424f9a7b0a09cc3b1bc15068a23d2517ec6e | [
"MIT"
] | null | null | null | sniper/common/network/network_model_emesh_hop_counter.h | zhc0757/intersim | 83ea424f9a7b0a09cc3b1bc15068a23d2517ec6e | [
"MIT"
] | 2 | 2020-10-06T08:31:58.000Z | 2021-09-14T13:50:13.000Z | #ifndef NETWORK_MODEL_EMESH_HOP_COUNTER_H
#define NETWORK_MODEL_EMESH_HOP_COUNTER_H
#include "network.h"
#include "network_model.h"
#include "lock.h"
class NetworkModelEMeshHopCounter : public NetworkModel
{
public:
NetworkModelEMeshHopCounter(Network *net, EStaticNetwork net_type);
~NetworkModelEMes... | 23.911111 | 71 | 0.716543 |
b79cdf9129a08ad46cf65075001bf1f74df9c514 | 1,717 | h | C | kernel/linux-5.4/drivers/scsi/ufs/ufshcd-pltfrm.h | josehu07/SplitFS | d7442fa67a17de7057664f91defbfdbf10dd7f4a | [
"Apache-2.0"
] | 31 | 2021-04-27T08:50:40.000Z | 2022-03-01T02:26:21.000Z | kernel/linux-5.4/drivers/scsi/ufs/ufshcd-pltfrm.h | josehu07/SplitFS | d7442fa67a17de7057664f91defbfdbf10dd7f4a | [
"Apache-2.0"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | kernel/linux-5.4/drivers/scsi/ufs/ufshcd-pltfrm.h | josehu07/SplitFS | d7442fa67a17de7057664f91defbfdbf10dd7f4a | [
"Apache-2.0"
] | 12 | 2021-04-06T02:23:10.000Z | 2022-02-28T11:43:19.000Z | /* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
*/
#ifndef UFSHCD_PLTFRM_H_
#define UFSHCD_PLTFRM_H_
#include "ufshcd.h"
#define UFS_PWM_MODE 1
#define UFS_HS_MODE 2
struct ufs_dev_params {
u32 pwm_rx_gear; /* pwm rx gear to work in */
u32 pwm... | 31.796296 | 65 | 0.712289 |
a2c07f4f4662842a847b11631ec5e6c2ab95a7af | 625 | h | C | include/berrydb.h | google/berrydb | 02657eb5c43c133290a6d3cb68311f5adc0726f8 | [
"BSD-3-Clause"
] | 78 | 2017-06-21T22:12:58.000Z | 2022-03-09T08:36:18.000Z | include/berrydb.h | google/berrydb | 02657eb5c43c133290a6d3cb68311f5adc0726f8 | [
"BSD-3-Clause"
] | 3 | 2018-04-09T07:15:17.000Z | 2018-12-26T12:20:08.000Z | include/berrydb.h | google/berrydb | 02657eb5c43c133290a6d3cb68311f5adc0726f8 | [
"BSD-3-Clause"
] | 30 | 2017-06-25T13:17:38.000Z | 2021-10-21T01:10:12.000Z | // Copyright 2017 The BerryDB 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 BERRYDB_INCLUDE_BERRYDB_H_
#define BERRYDB_INCLUDE_BERRYDB_H_
namespace berrydb {} // namespace berrydb
#include "berrydb/catalog.h"
#include "b... | 27.173913 | 73 | 0.768 |
4e3503ddd1b33a96f1c0b669133fa7fdf855d918 | 1,134 | h | C | android/app/src/main/cpp/src/camera/Camera.h | comword/TCD20-DP-MobileApp | 94b21fb00f3c7b98dcbb19a3f2715ea6faaa9444 | [
"MIT"
] | null | null | null | android/app/src/main/cpp/src/camera/Camera.h | comword/TCD20-DP-MobileApp | 94b21fb00f3c7b98dcbb19a3f2715ea6faaa9444 | [
"MIT"
] | null | null | null | android/app/src/main/cpp/src/camera/Camera.h | comword/TCD20-DP-MobileApp | 94b21fb00f3c7b98dcbb19a3f2715ea6faaa9444 | [
"MIT"
] | null | null | null | #ifndef INVIGILATOR_CAMERA_H
#define INVIGILATOR_CAMERA_H
#include <string>
#include <memory>
#include <thread>
struct ACameraManager;
struct ANativeWindow;
class FaceDetector;
class IClassifier;
namespace cv
{
class Mat;
class VideoCapture;
}
class Camera
{
public:
enum Facing : uint8_t { FRONT = 0, BA... | 25.772727 | 101 | 0.674603 |
2328da7f9445acbe8929c322368f6cbb5be8730a | 53 | h | C | Code/Controllers/MPHPageController.h | zadr/8mph | 0369e7e86b8bf0cf169b67e0f24774584597c7c2 | [
"BSD-2-Clause-FreeBSD"
] | 9 | 2015-06-22T05:46:46.000Z | 2018-11-14T03:42:55.000Z | Code/Controllers/MPHPageController.h | zadr/8mph | 0369e7e86b8bf0cf169b67e0f24774584597c7c2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | Code/Controllers/MPHPageController.h | zadr/8mph | 0369e7e86b8bf0cf169b67e0f24774584597c7c2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | @interface MPHPageController : NSPageController
@end
| 17.666667 | 47 | 0.849057 |
ea83e464dbe2f6867a6df48583f4198b6e9ca446 | 354 | h | C | yimediter/yimediter/ybzediter/items/DefualtUndoTypingItem.h | yiiim/yimediter | 5dfff3398d1a7e4413ec81c53b2cb58975fccdcc | [
"MIT"
] | 33 | 2017-12-05T07:30:06.000Z | 2021-07-26T07:44:32.000Z | yimediter/yimediter/ybzediter/items/DefualtUndoTypingItem.h | mohsinalimat/yimediter | 5dfff3398d1a7e4413ec81c53b2cb58975fccdcc | [
"MIT"
] | null | null | null | yimediter/yimediter/ybzediter/items/DefualtUndoTypingItem.h | mohsinalimat/yimediter | 5dfff3398d1a7e4413ec81c53b2cb58975fccdcc | [
"MIT"
] | 5 | 2017-12-14T22:51:04.000Z | 2021-05-31T10:27:39.000Z | //
// DefualtUndoTypingItem.h
// yimediter
//
// Created by ybz on 2017/12/4.
// Copyright © 2017年 ybz. All rights reserved.
//
#import "YIMEditerAccessoryMenuItem.h"
#import "YIMEditerProtocol.h"
@interface DefualtUndoTypingItem : YIMEditerAccessoryMenuItem <YIMEditerTextViewDelegate>
@property(nonatomic,weak)Y... | 20.823529 | 89 | 0.771186 |
d85ea89dd9305e8930edf39fd69504fb0da6c5f9 | 5,438 | h | C | tools/BladeRF/host/utilities/bladeRF-fsk/c/src/phy.h | Charmve/BLE-Security-Att-Def | 3652d84bf4ac0c694bb3c4c0f611098da9122af0 | [
"BSD-2-Clause"
] | 149 | 2020-10-23T23:31:51.000Z | 2022-03-15T00:25:35.000Z | tools/BladeRF/host/utilities/bladeRF-fsk/c/src/phy.h | Charmve/BLE-Security-Att-Def | 3652d84bf4ac0c694bb3c4c0f611098da9122af0 | [
"BSD-2-Clause"
] | 1 | 2021-04-12T19:24:00.000Z | 2021-04-27T03:11:07.000Z | tools/BladeRF/host/utilities/bladeRF-fsk/c/src/phy.h | Charmve/BLE-Security-Att-Def | 3652d84bf4ac0c694bb3c4c0f611098da9122af0 | [
"BSD-2-Clause"
] | 22 | 2020-11-17T02:52:40.000Z | 2022-03-15T00:26:38.000Z | /**
* @file
* @brief Physical layer code for modem
*
* This file handles transmission/reception of data frames over the air. It uses fsk.c to
* perform baseband IQ modulation and demodulation, and libbladeRF to transmit/receive
* samples using the bladeRF device. A different modulator could be used by swapping
... | 32.369048 | 89 | 0.709452 |
f00a53e07ead573e49f6454cbcc6bf752ec248fe | 2,635 | h | C | usr/src/cmd/fm/modules/sun4v/generic-mem/gmem.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/cmd/fm/modules/sun4v/generic-mem/gmem.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/cmd/fm/modules/sun4v/generic-mem/gmem.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | 32.134146 | 79 | 0.728653 |
002059d65b01e3fea0a4fc7e9478606cc43998b4 | 1,014 | h | C | EU4toV2/Source/Mappers/PartyTypes/PartyType.h | GregB76/EU4toVic2 | 0a8822101a36a16036fdc315e706d113d9231101 | [
"MIT"
] | 1 | 2020-10-03T16:01:28.000Z | 2020-10-03T16:01:28.000Z | EU4toV2/Source/Mappers/PartyTypes/PartyType.h | P4blo7/EU4toVic2 | 3f6d354a1f5e529f3d96b3616fe5109bc23f2972 | [
"MIT"
] | null | null | null | EU4toV2/Source/Mappers/PartyTypes/PartyType.h | P4blo7/EU4toVic2 | 3f6d354a1f5e529f3d96b3616fe5109bc23f2972 | [
"MIT"
] | null | null | null | #ifndef PARTY_TYPE_H
#define PARTY_TYPE_H
#include "Parser.h"
#include "Date.h"
namespace mappers
{
class PartyType : commonItems::parser
{
public:
PartyType() = default;
explicit PartyType(std::istream& theStream);
void setName(const std::string& partyName) { name = partyName; }
void setIdeology(const... | 24.731707 | 87 | 0.71499 |
536c82b6ae650d8acd43b9e406db21d96471ad2f | 881 | h | C | Inc/acc_rss_diagnostics.h | Monash-BoSL/radar-firmware | 5a922c625b2e0d82f28acbce5daa0c762b541825 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2022-01-07T11:10:15.000Z | 2022-01-07T11:10:15.000Z | Inc/acc_rss_diagnostics.h | Monash-BoSL/xm132-radar-firmware | 5a922c625b2e0d82f28acbce5daa0c762b541825 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-11-30T04:36:27.000Z | 2021-11-30T04:36:27.000Z | Inc/acc_rss_diagnostics.h | Monash-BoSL/xm132-radar-firmware | 5a922c625b2e0d82f28acbce5daa0c762b541825 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) Acconeer AB, 2019-2021
// All rights reserved
#ifndef ACC_RSS_DIAGNOSTICS_H_
#define ACC_RSS_DIAGNOSTICS_H_
#include "acc_definitions_common.h"
#include <stdbool.h>
/**
* @defgroup Diagnostic_test Diagnostic test
* @ingroup RSS
*
* @brief RSS Diagnostic test
*
* @{
*/
/... | 20.97619 | 86 | 0.681044 |
1566a7a1baca3d3a65127502a2f0a8f3f4cb46a6 | 3,379 | h | C | apps/qtViewer/sg/common/Serialization.h | mathstuf/ospray | 5c34884317b5bb84346e4e1e2e2bf8c7f50d307c | [
"Apache-2.0"
] | 1 | 2016-05-24T19:27:01.000Z | 2016-05-24T19:27:01.000Z | apps/qtViewer/sg/common/Serialization.h | mathstuf/ospray | 5c34884317b5bb84346e4e1e2e2bf8c7f50d307c | [
"Apache-2.0"
] | null | null | null | apps/qtViewer/sg/common/Serialization.h | mathstuf/ospray | 5c34884317b5bb84346e4e1e2e2bf8c7f50d307c | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2009-2016 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 38.397727 | 78 | 0.535957 |
afc3cbdb9aa7923921b9d33ced1789dc2595768a | 12,956 | h | C | platformio/components_check/src/internalIOExaminer.h | devATdbsutdio/watch_firmware | 2145b8feecf83166454456fc2cfe4ea345781a5b | [
"CC0-1.0"
] | null | null | null | platformio/components_check/src/internalIOExaminer.h | devATdbsutdio/watch_firmware | 2145b8feecf83166454456fc2cfe4ea345781a5b | [
"CC0-1.0"
] | null | null | null | platformio/components_check/src/internalIOExaminer.h | devATdbsutdio/watch_firmware | 2145b8feecf83166454456fc2cfe4ea345781a5b | [
"CC0-1.0"
] | null | null | null | /*
Description: For checking inetrnal IOs can be set properly and the registers are working
Author: Saurabh datta.
Time: Oct, 2021.
Loca: Beijing, China.
License: MIT
*/
#include <Arduino.h>
unsigned long pinTestModeStartMillis;
unsigned long pinTestModeCurrMillis;
const unsigned long testModeProgressPeriod... | 36.70255 | 105 | 0.419111 |
c62a2fd2e96ad02c4f054803b314e7c20996c189 | 7,424 | h | C | multimedia/directx/dplay/dvoice/dxvtlib/supervis.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/directx/dplay/dvoice/dxvtlib/supervis.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/directx/dplay/dvoice/dxvtlib/supervis.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*==========================================================================;
*
* Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
*
* File: supervis.h
* Content: Prototypes the SupervisorProcess function
* History:
* Date By Reason
* ============
* 08/19/99 pnewson cre... | 34.85446 | 121 | 0.751616 |
7670e93037512174068351f3f69d5fe663312a36 | 1,177 | h | C | controlKeyboard.h | per1234/controlKeyboard | 76a6b0bc10fc133bcbbf1f71e5cf2bb066cdc192 | [
"Unlicense"
] | null | null | null | controlKeyboard.h | per1234/controlKeyboard | 76a6b0bc10fc133bcbbf1f71e5cf2bb066cdc192 | [
"Unlicense"
] | null | null | null | controlKeyboard.h | per1234/controlKeyboard | 76a6b0bc10fc133bcbbf1f71e5cf2bb066cdc192 | [
"Unlicense"
] | 1 | 2020-09-25T16:55:15.000Z | 2020-09-25T16:55:15.000Z | #ifndef CONTROL_KEYBOARD_H
#define CONTROL_KEYBOARD_H
#include <hidboot.h>
enum KeyboardModifiers {
LeftCtrl = 1,
LeftShift = 2,
Alt = 4,
LeftCmd = 8,
RightCtrl = 16,
RightShift = 32,
AltGr = 64,
RightCmd = 128
};
//key array contains state of keys 0 - Pressed, 1 - Released and 2 - Nothing
c... | 25.586957 | 102 | 0.680544 |
4960ec1399b4015534fb5aba1969a46e5d1b47e5 | 3,999 | h | C | libnodejs/libnodejs.h | hoho/dosido | 54c257802873b1c9ba5da5736c9e7c87ffb4a893 | [
"MIT"
] | 5 | 2015-03-04T17:49:04.000Z | 2017-04-17T10:10:13.000Z | libnodejs/libnodejs.h | hoho/dosido | 54c257802873b1c9ba5da5736c9e7c87ffb4a893 | [
"MIT"
] | null | null | null | libnodejs/libnodejs.h | hoho/dosido | 54c257802873b1c9ba5da5736c9e7c87ffb4a893 | [
"MIT"
] | null | null | null | /*
* Copyright Marat Abdullin (https://github.com/hoho)
*/
#ifndef __LIBNODEJS_H__
#define __LIBNODEJS_H__
#include <stdlib.h>
#include <libnodejsExports.h>
typedef enum {
FROM_JS_ERROR = 1,
FROM_JS_READ_REQUEST_BODY,
FROM_JS_RESPONSE_HEADERS,
FROM_JS_RESPONSE_BODY,
FROM_JS_BEGIN_SUBREQUEST,
... | 27.965035 | 79 | 0.584646 |
a5f164e4a300afc1f6943923d626d8549b62b9af | 2,961 | c | C | libft/srcs/print_2.c | mgia/ft_ls | a4e36cedb0011711d30f2fceee2716d61b82a676 | [
"MIT"
] | 1 | 2018-09-10T22:50:31.000Z | 2018-09-10T22:50:31.000Z | libft/srcs/print_2.c | mgia/hashingAlgorithms | 272616e41cde3c6cdba133fbd3a44ac04dab28e6 | [
"MIT"
] | null | null | null | libft/srcs/print_2.c | mgia/hashingAlgorithms | 272616e41cde3c6cdba133fbd3a44ac04dab28e6 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_2.c :+: :+: :+: ... | 27.416667 | 80 | 0.429247 |
9d3cbab399fc59d26c4f73241b5256557bb7c71f | 2,701 | h | C | stepperUNO.h | lechacal/stepperUNO | 188aa86de36faac9d5038a8fbfdd63c0fb09356a | [
"Unlicense"
] | null | null | null | stepperUNO.h | lechacal/stepperUNO | 188aa86de36faac9d5038a8fbfdd63c0fb09356a | [
"Unlicense"
] | null | null | null | stepperUNO.h | lechacal/stepperUNO | 188aa86de36faac9d5038a8fbfdd63c0fb09356a | [
"Unlicense"
] | null | null | null | #ifndef stepperUNO_h
#define stepperUNO_h
#include "config.h"
#include "Arduino.h"
#define BUTTON_ADC_PIN A0 // A0 is the button ADC input
#define BUTTON_RST_PIN 3
// ADC readings expected for the 5 buttons on the ADC input
#if KEYPAD_VERSION == 1
#define RIGHT_10BIT_ADC ... | 31.406977 | 103 | 0.604961 |
8b13cc7d294388d5c5d43c7dc5db60518dd582a4 | 2,085 | c | C | main.c | Lounarok/va_args-count-check-zero | 59fd1fa22533859a3da01753129ade6b6db2cbc1 | [
"MIT"
] | null | null | null | main.c | Lounarok/va_args-count-check-zero | 59fd1fa22533859a3da01753129ade6b6db2cbc1 | [
"MIT"
] | null | null | null | main.c | Lounarok/va_args-count-check-zero | 59fd1fa22533859a3da01753129ade6b6db2cbc1 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdarg.h>
#define PP_NARG(...) \
PP_NARG_(__VA_ARGS__,PP_RSEQ_N())
#define PP_NARG_(...) \
PP_128TH_ARG(__VA_ARGS__)
#define PP_128TH_ARG( \
_1, _2, _3, _4, _5, _6, _7, _8, _9,_10, \
_11,_12,_13,_14,_15,_16,_17,_18,_19,_20, \
_21,_22,_23,_24,_2... | 34.180328 | 79 | 0.560671 |
12a804c3c539d34fda052a8d3e65aa7d7fb9f465 | 822 | h | C | include/il2cpp/Pml/Local/RandomGenerator.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/Pml/Local/RandomGenerator.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/Pml/Local/RandomGenerator.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void Pml_Local_RandomGenerator__Initialize (Pml_Local_RandomGenerator_o* __this, const MethodInfo* method_info);
void Pml_Local_RandomGenerator__Initialize (Pml_Local_RandomGenerator_o* __this, uint64_t seed, const MethodInfo* method_info);
uint64_t Pml_Local_RandomGenerator__GetSeed ... | 68.5 | 127 | 0.873479 |
3fdf175191d9b361b169b0af7b84528b511b9a7b | 6,468 | h | C | tgfx/src/gpu/Surface.h | cy-j/libpag | 9b1636a0a67ad5e009d60c6c348034790d247692 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 2 | 2022-02-26T16:10:30.000Z | 2022-03-18T01:28:40.000Z | tgfx/src/gpu/Surface.h | cy-j/libpag | 9b1636a0a67ad5e009d60c6c348034790d247692 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | tgfx/src/gpu/Surface.h | cy-j/libpag | 9b1636a0a67ad5e009d60c6c348034790d247692 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////
//
// Tencent is pleased to support the open source community by making libpag available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the Apache License, Versio... | 36.75 | 100 | 0.678262 |
8f0429d4b79f698d5c0e77117a75a3210f49c34b | 1,157 | c | C | linux-lts-quantal-3.5.0/arch/arm/mach-prima2/prima2.c | huhong789/shortcut | bce8a64c4d99b3dca72ffa0a04c9f3485cbab13a | [
"BSD-2-Clause"
] | 47 | 2015-03-10T23:21:52.000Z | 2022-02-17T01:04:14.000Z | linux-lts-quantal-3.5.0/arch/arm/mach-prima2/prima2.c | shortcut-sosp19/shortcut | f0ff3d9170dbc6de38e0d8c200db056aa26b9c48 | [
"BSD-2-Clause"
] | 1 | 2020-06-30T18:01:37.000Z | 2020-06-30T18:01:37.000Z | linux-lts-quantal-3.5.0/arch/arm/mach-prima2/prima2.c | shortcut-sosp19/shortcut | f0ff3d9170dbc6de38e0d8c200db056aa26b9c48 | [
"BSD-2-Clause"
] | 19 | 2015-02-25T19:50:05.000Z | 2021-10-05T14:35:54.000Z | /*
* Defines machines for CSR SiRFprimaII
*
* Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
*
* Licensed under GPLv2 or later.
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <asm/sizes.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <linux/of.h>
#i... | 22.686275 | 79 | 0.716508 |
acc55a6556fa092bfe798f3ab5226bb3121cceb8 | 4,939 | h | C | AppleMediaServices.framework/AMSMetrics.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | 4 | 2021-10-06T12:15:26.000Z | 2022-02-21T02:26:00.000Z | AppleMediaServices.framework/AMSMetrics.h | reels-research/iOS-Private-Frameworks | 9a4f4534939310a51fdbf5a439dd22487efb0f01 | [
"MIT"
] | null | null | null | AppleMediaServices.framework/AMSMetrics.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/AppleMediaServices.framework/AppleMediaServices
*/
@interface AMSMetrics : NSObject {
AMSURLSession * _URLSession;
<AMSMetricsBagContract> * _bagContract;
NSMutableSet * _chainedFlushPromises;
NSObject<OS_dispatch_queue> * _com... | 39.512 | 170 | 0.769184 |
5fb7f4e12a1fa3c17382efdd2b8b6efc3a606b97 | 1,414 | h | C | vector.h | tristanred/micros | 512d879e871d89b62f3dd916b5fda5328b7c24b1 | [
"MIT"
] | 4 | 2018-08-13T18:37:03.000Z | 2022-02-04T18:13:34.000Z | vector.h | kratosaurion7/micros | 512d879e871d89b62f3dd916b5fda5328b7c24b1 | [
"MIT"
] | 11 | 2017-04-05T21:59:45.000Z | 2017-06-01T03:02:51.000Z | vector.h | kratosaurion7/micros | 512d879e871d89b62f3dd916b5fda5328b7c24b1 | [
"MIT"
] | 1 | 2021-08-08T21:06:19.000Z | 2021-08-08T21:06:19.000Z | #ifndef vector_h
#define vector_h
#include <stdint.h>
#include <stddef.h>
#include "types.h"
// Kernel vector structure. This structure uses the kernel heap to allocate
// memory. Can ONLY be used in kernel mode.
// Can technically stack allocate data but the struct will use the heap when
// resizing the vector.
stru... | 30.085106 | 79 | 0.75884 |
5fec5575e96dd1080835f6b8c050fce35c46ae2e | 876 | h | C | aoc2019/include/utils.h | madfist/aoc2016 | 1e79c39506dd2cb5f4533c375f59005f5668cb93 | [
"MIT"
] | 1 | 2019-12-06T09:39:48.000Z | 2019-12-06T09:39:48.000Z | aoc2019/include/utils.h | madfist/aoc2016 | 1e79c39506dd2cb5f4533c375f59005f5668cb93 | [
"MIT"
] | null | null | null | aoc2019/include/utils.h | madfist/aoc2016 | 1e79c39506dd2cb5f4533c375f59005f5668cb93 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <deque>
template<typename T1, typename T2>
std::ostream& operator<<(std::ostream& os, const std::pair<T1,T2>& s) {
return os << s.first << ' ' << s.second;
}
std::ostream& operator<<(std::ostream& os, const std::vector<char> v) {
for (auto i = v.begin(); i != v.end()... | 21.365854 | 71 | 0.510274 |
b1d709f01ba6f8c34aa2e8a0d75b2e2474be2f6b | 322 | c | C | test/simple-get-set.c | sphia/sphia | 506d0145ff87b030fa97123c53884ab6d7d58428 | [
"MIT"
] | 120 | 2015-01-30T14:20:53.000Z | 2021-05-27T01:50:54.000Z | test/simple-get-set.c | sphia/sphia | 506d0145ff87b030fa97123c53884ab6d7d58428 | [
"MIT"
] | 5 | 2015-01-07T11:33:05.000Z | 2015-12-22T16:50:30.000Z | test/simple-get-set.c | sphia/sphia | 506d0145ff87b030fa97123c53884ab6d7d58428 | [
"MIT"
] | 10 | 2015-01-07T16:06:44.000Z | 2017-01-03T01:44:03.000Z |
#include <stdlib.h>
#include "sphia-test.h"
static void
test_set_get() {
char key[] = "test-set-key";
char value[] = "test-set-value";
int rc = sphia_set(sphia, key, value);
assert(-1 != rc);
char *actual = sphia_get(sphia, key);
assert(0 == strncmp(actual, value, strlen(actual)));
}
TEST(test_set_get)... | 17.888889 | 54 | 0.642857 |
38ad7be7959a43fc75147346ee2754fb09369e2c | 482 | h | C | ATAuthSDK_D/YTXMonitor.framework/Headers/ACMMonitor.h | CaiChenghan/ATAuthSDK_D | 8ea1c3b21cbb943e982873770ae048d35d355d7b | [
"MIT"
] | 1 | 2021-01-06T03:12:15.000Z | 2021-01-06T03:12:15.000Z | ATAuthSDK_D/YTXMonitor.framework/Headers/ACMMonitor.h | CaiChenghan/ATAuthSDK_D | 8ea1c3b21cbb943e982873770ae048d35d355d7b | [
"MIT"
] | 2 | 2021-08-19T05:51:46.000Z | 2022-03-04T03:42:59.000Z | ATAuthSDK_D/YTXMonitor.framework/Headers/ACMMonitor.h | CaiChenghan/ATAuthSDK_D | 8ea1c3b21cbb943e982873770ae048d35d355d7b | [
"MIT"
] | 1 | 2020-11-06T03:53:47.000Z | 2020-11-06T03:53:47.000Z | //
// ACMMonitor.h
// Monitor
//
// Created by Vienta on 2019/11/13.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ACMMonitor : NSObject
/**
* 上传非实时埋点
* @param obj 埋点内容
* @return 埋点存储结果
*/
+ (BOOL)monitorRecord:(id)obj;
/**
* 上传实时埋点
* @param obj 埋点内容
* @return 埋点上传准备结果
... | 13.388889 | 50 | 0.682573 |
21f6c82b7c9ab24d977fb2d5b470e309afad5232 | 4,384 | c | C | tests/unit/s2n_choose_supported_group_test.c | ilelann/s2n | 7d8228641f2d7dc2b9f1a84f3c230da92cdca65f | [
"Apache-2.0"
] | null | null | null | tests/unit/s2n_choose_supported_group_test.c | ilelann/s2n | 7d8228641f2d7dc2b9f1a84f3c230da92cdca65f | [
"Apache-2.0"
] | null | null | null | tests/unit/s2n_choose_supported_group_test.c | ilelann/s2n | 7d8228641f2d7dc2b9f1a84f3c230da92cdca65f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... | 41.752381 | 120 | 0.726505 |
592e6f9a1d2a7f53a390a6c3b680e4646f562152 | 801 | h | C | PrivateFrameworks/iWorkImport.framework/TSUNSProgressObserver.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/iWorkImport.framework/TSUNSProgressObserver.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/iWorkImport.framework/TSUNSProgressObserver.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport
*/
@interface TSUNSProgressObserver : NSObject {
TSUBasicProgress * _basicProgress;
double _basicProgressMaxValue;
bool _didStart;
NSProgress * _nsProgress;
TSUProgressContext * _progress... | 32.04 | 117 | 0.769039 |
0ec51d825e397a9af57d2dc9c56a2d15708f0409 | 185 | h | C | Kalman Filter - Map generation/params.h | juebrauer/Solutions-Exercises-MultimodalSensorSystems | b1f4bae5ce21d992ff740804af07b227d34f828b | [
"Unlicense"
] | 2 | 2021-06-15T11:50:21.000Z | 2022-01-05T15:52:06.000Z | Kalman Filter - Map generation/params.h | juebrauer/Solutions-Exercises-MultimodalSensorSystems | b1f4bae5ce21d992ff740804af07b227d34f828b | [
"Unlicense"
] | null | null | null | Kalman Filter - Map generation/params.h | juebrauer/Solutions-Exercises-MultimodalSensorSystems | b1f4bae5ce21d992ff740804af07b227d34f828b | [
"Unlicense"
] | 1 | 2021-05-23T19:10:54.000Z | 2021-05-23T19:10:54.000Z | #pragma once
// turn on or off continuous visualization here
#define VISUALIZATION true
// save occupancy grid & world images into files?
#define SAVE_VISUALIZATION_IMAGES false | 26.428571 | 50 | 0.778378 |
1dbb1a8e46a99f2361818833f5fcfe6d928ff4f6 | 7,241 | h | C | FreeRTOS/Demo/CORTEX_AT91SAM3U256_IAR/AT91Lib/peripherals/ac97c/ac97c.h | JVVJV/FreeRTOS | 2b956b97c76f48053e87b89df39afb2b9426eee5 | [
"MIT"
] | 2,603 | 2019-10-09T04:47:13.000Z | 2022-03-31T13:59:08.000Z | FreeRTOS/Demo/CORTEX_AT91SAM3U256_IAR/AT91Lib/peripherals/ac97c/ac97c.h | JVVJV/FreeRTOS | 2b956b97c76f48053e87b89df39afb2b9426eee5 | [
"MIT"
] | 296 | 2019-11-22T03:29:07.000Z | 2022-03-21T23:23:01.000Z | FreeRTOS/Demo/CORTEX_AT91SAM3U256_IAR/AT91Lib/peripherals/ac97c/ac97c.h | JVVJV/FreeRTOS | 2b956b97c76f48053e87b89df39afb2b9426eee5 | [
"MIT"
] | 1,040 | 2019-09-26T20:18:24.000Z | 2022-03-30T08:12:34.000Z | /* ----------------------------------------------------------------------------
* ATMEL Microcontroller Software Support
* ----------------------------------------------------------------------------
* Copyright (c) 2008, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in so... | 42.846154 | 81 | 0.587212 |
383138da79153695da5719ee0fd6380f8f7571ca | 274 | h | C | PirateHegemonyOnline/Classes/Home/HomeViewController.h | irons163/PirateHegemonyOnline | 42ececbf2bc9c249fcee8fb30e4bef170184cb57 | [
"MIT"
] | 5 | 2020-09-15T08:06:52.000Z | 2021-03-26T02:06:05.000Z | PirateHegemonyOnline/Classes/Home/HomeViewController.h | irons163/PirateHegemonyOnline | 42ececbf2bc9c249fcee8fb30e4bef170184cb57 | [
"MIT"
] | 2 | 2020-09-17T08:13:57.000Z | 2020-10-05T13:03:59.000Z | PirateHegemonyOnline/Classes/Home/HomeViewController.h | irons163/PirateHegemonyOnline | 42ececbf2bc9c249fcee8fb30e4bef170184cb57 | [
"MIT"
] | null | null | null | //
// HomeViewController.h
// PirateHegemonyOnline
//
// Created by irons on 2020/9/3.
// Copyright © 2020 irons163. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface HomeViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| 15.222222 | 51 | 0.751825 |
38332b9d37d1a3a32c78f0baa0c9d049644fd472 | 349 | h | C | Code/Shortcut.h | JaumeMontagut/CITM_3_GameEngine | 57a85b89a72723ce555a4eec3830e6bf00499de9 | [
"MIT"
] | 1 | 2020-07-09T00:38:40.000Z | 2020-07-09T00:38:40.000Z | Code/Shortcut.h | YessicaSD/CITM_3_GameEngine | 57a85b89a72723ce555a4eec3830e6bf00499de9 | [
"MIT"
] | null | null | null | Code/Shortcut.h | YessicaSD/CITM_3_GameEngine | 57a85b89a72723ce555a4eec3830e6bf00499de9 | [
"MIT"
] | null | null | null | #ifndef __SHORTCUT_H__
#define __SHORTCUT_H__
#include <vector>
#include <string>
#include "SDL/include/SDL_scancode.h"
class Shortcut
{
public:
Shortcut();
Shortcut(std::string name, std::vector<SDL_Scancode> keys);
bool Pressed();
bool Held();
public:
std::string name;
std::vector<SDL_Scancode> keys;
frien... | 15.173913 | 60 | 0.73639 |
c03da5be98297b49ff13e896fb603a8964fab553 | 298 | h | C | AKLocationPickerExample/AKAppDelegate.h | zen4ever/AKLocationPicker | d41d7e00be5c602cddea17c9984be2c8ec3d18e6 | [
"MIT"
] | 2 | 2015-07-29T14:40:44.000Z | 2016-04-19T10:08:06.000Z | AKLocationPickerExample/AKAppDelegate.h | zen4ever/AKLocationPicker | d41d7e00be5c602cddea17c9984be2c8ec3d18e6 | [
"MIT"
] | null | null | null | AKLocationPickerExample/AKAppDelegate.h | zen4ever/AKLocationPicker | d41d7e00be5c602cddea17c9984be2c8ec3d18e6 | [
"MIT"
] | null | null | null | //
// AKAppDelegate.h
// AKLocationPicker
//
// Created by Andrew Kurinnyi on 10/8/13.
// Copyright (c) 2013 Andrew Kurinnyi. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AKAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| 18.625 | 62 | 0.724832 |
35c4773465acbf8d9d0727929c79002d06eeb207 | 2,580 | c | C | lib/wizards/nalle/adventurers_hall.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/nalle/adventurers_hall.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | lib/wizards/nalle/adventurers_hall.c | vlehtola/questmud | 8bc3099b5ad00a9e0261faeb6637c76b521b6dbe | [
"MIT"
] | null | null | null | inherit "room/room";
int i;
object board;
reset(status arg) {
if(arg) return;
short_desc = "Adventurers hall",
long_desc =
"The Adventurers hall deserves it's reputation as traveller's favorite\n"+
"resting place. A fireplace is warming the room. Staying here will certainly\n"+
"help you to recover faster.\n"+... | 23.454545 | 80 | 0.627907 |
0d4dba7f4b7fac38a1778ef6657cf7d0e389adf3 | 8,856 | h | C | sample3.h | TheMrCerebro/irrBM | b2733fab58fd1f7b1a6a9381f0ec107e32c97bc1 | [
"Zlib"
] | null | null | null | sample3.h | TheMrCerebro/irrBM | b2733fab58fd1f7b1a6a9381f0ec107e32c97bc1 | [
"Zlib"
] | null | null | null | sample3.h | TheMrCerebro/irrBM | b2733fab58fd1f7b1a6a9381f0ec107e32c97bc1 | [
"Zlib"
] | null | null | null | /*
*
* Copyright (c) 2022 TheMrCerebro
*
* irrBM - Zlib license.
*
* 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 soft... | 29.918919 | 235 | 0.558491 |
4bd2c814b5f143ba5e31ea1be9404d242bbae31d | 3,350 | h | C | gorock/ext/crawler.h | abdallah-elsharif/WRock | 7cfd4bf29e932bf0048ee357c16cf6c021e7fb81 | [
"MIT"
] | 14 | 2022-03-13T19:51:24.000Z | 2022-03-18T07:36:39.000Z | gorock/ext/crawler.h | abdallah-elsharif/WRock | 7cfd4bf29e932bf0048ee357c16cf6c021e7fb81 | [
"MIT"
] | null | null | null | gorock/ext/crawler.h | abdallah-elsharif/WRock | 7cfd4bf29e932bf0048ee357c16cf6c021e7fb81 | [
"MIT"
] | 3 | 2022-03-14T05:58:06.000Z | 2022-03-14T11:46:47.000Z | #ifndef _GOROCK_CRAWLER
#define _GOROCK_CRAWLER
#include "gorock.h"
typedef struct
{
PyObject_HEAD
PyObject *url;
PyObject *threads;
PyObject *depth;
PyObject *subsInScope;
PyObject *insecure;
PyObject *rawHeaders;
} Crawler;
/* Needed by Python VM */
static int Crawler_traverse(Crawle... | 33.838384 | 85 | 0.72597 |
35635d40143f2637afe8df43582df2485d65a086 | 217 | h | C | BWTransitions/BWTransitions/BWMainViewController.h | baiwhte/BWTransitions | 48d65a66b11bf59b80dee15ba0eec36c47436dd2 | [
"MIT"
] | null | null | null | BWTransitions/BWTransitions/BWMainViewController.h | baiwhte/BWTransitions | 48d65a66b11bf59b80dee15ba0eec36c47436dd2 | [
"MIT"
] | null | null | null | BWTransitions/BWTransitions/BWMainViewController.h | baiwhte/BWTransitions | 48d65a66b11bf59b80dee15ba0eec36c47436dd2 | [
"MIT"
] | null | null | null | //
// BWViewController.h
// BWTransitions
//
// Created by 陈修武 on 2017/5/8.
// Copyright © 2017年 baiwhte. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BWMainViewController : UIViewController
@end
| 15.5 | 51 | 0.705069 |
98e1e2024bc4f3d9681b88825cd8220d6068f306 | 1,874 | h | C | usr/src/uts/common/sys/usb/clients/mass_storage/usb_cbi.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/uts/common/sys/usb/clients/mass_storage/usb_cbi.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/uts/common/sys/usb/clients/mass_storage/usb_cbi.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | 29.746032 | 71 | 0.740662 |
470ee70e748cbbe3687ec20c5baf0bfc6f721960 | 215 | h | C | ViewControllerTransitionTest/DebugView.h | master-nevi/ViewControllerTransitionTest | c8a0f6377477be050347b6bb4ad4fed119394228 | [
"MIT"
] | null | null | null | ViewControllerTransitionTest/DebugView.h | master-nevi/ViewControllerTransitionTest | c8a0f6377477be050347b6bb4ad4fed119394228 | [
"MIT"
] | null | null | null | ViewControllerTransitionTest/DebugView.h | master-nevi/ViewControllerTransitionTest | c8a0f6377477be050347b6bb4ad4fed119394228 | [
"MIT"
] | null | null | null | //
// DebugView.h
// ViewControllerTransitionTest
//
// Created by David Robles on 5/9/14.
// Copyright (c) 2014 955 Dreams. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DebugView : UIView
@end
| 15.357143 | 55 | 0.688372 |
b837b201d6342722d76bf4df4ee279700eaac195 | 709 | h | C | source/glkernel/include/glkernel/sequence.h | ratnim/glkernel | b8eb8e8180e716407d35d7f70b4fa8759988c946 | [
"MIT"
] | null | null | null | source/glkernel/include/glkernel/sequence.h | ratnim/glkernel | b8eb8e8180e716407d35d7f70b4fa8759988c946 | [
"MIT"
] | null | null | null | source/glkernel/include/glkernel/sequence.h | ratnim/glkernel | b8eb8e8180e716407d35d7f70b4fa8759988c946 | [
"MIT"
] | null | null | null |
#pragma once
#include <glm/gtc/type_precision.hpp>
#include <glkernel/Kernel.h>
namespace glkernel
{
namespace sequence
{
template<typename T, typename std::enable_if<std::is_floating_point<T>::value>::type * = nullptr>
void uniform(tkernel<T> & kernel, T range_min, T range_max);
template <typename T, glm::pr... | 20.852941 | 97 | 0.720733 |
11c931a20127458a4ae415cf2a41ae65b16a44bb | 1,617 | h | C | PrivateFrameworks/NotesShared/ICServerChangeToken.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/NotesShared/ICServerChangeToken.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/NotesShared/ICServerChangeToken.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSManagedObject.h"
#import "ICLoggable.h"
@class CKRecordZoneID, CKServerChangeToken, ICAccount, NSData, NSString;
@interface ICServerChangeToken : NSManagedObject <ICLo... | 39.439024 | 138 | 0.779839 |
f844d743588aa70cf42dc44b0ef4f554a66b90b9 | 1,628 | h | C | SileoSource/Dpkg/headers/atomic-file.h | iMokhles/SileoSource | 7d9d5d9b3c5196ead7c74703d91d9d052e9cf114 | [
"MIT"
] | 12 | 2019-03-07T16:36:29.000Z | 2020-03-14T22:24:38.000Z | SileoSource/Dpkg/headers/atomic-file.h | iMokhles/SileoSource | 7d9d5d9b3c5196ead7c74703d91d9d052e9cf114 | [
"MIT"
] | null | null | null | SileoSource/Dpkg/headers/atomic-file.h | iMokhles/SileoSource | 7d9d5d9b3c5196ead7c74703d91d9d052e9cf114 | [
"MIT"
] | 4 | 2019-04-20T15:56:24.000Z | 2019-08-13T07:44:38.000Z | /*
* libdpkg - Debian packaging suite library routines
* atomic-file.h - atomic file helper functions
*
* Copyright © 2011-2014 Guillem Jover <guillem@debian.org>
*
* This 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 So... | 26.688525 | 73 | 0.757371 |
5006f81329a4c7d39b086327d1cab1a84bc0ac5f | 433 | h | C | scribo_le/examples/example_1/include/bar.h | petrveprek/obircs | 97ed8dd189fb7074467504113e3be950245b87b3 | [
"MIT"
] | null | null | null | scribo_le/examples/example_1/include/bar.h | petrveprek/obircs | 97ed8dd189fb7074467504113e3be950245b87b3 | [
"MIT"
] | null | null | null | scribo_le/examples/example_1/include/bar.h | petrveprek/obircs | 97ed8dd189fb7074467504113e3be950245b87b3 | [
"MIT"
] | null | null | null | // ---------------------------------------------------------------------------------------------------------------------
// Copyright (c) 2015, 2017 Petr Vepřek
// File: bar.h
// ---------------------------------------------------------------------------------------------------------------------
void doBar();
// End ... | 54.125 | 120 | 0.124711 |
dde42c08e78672df01fe9c721dfa68a664bfd3fb | 8,248 | h | C | src/backtracking/solveCube.h | WareAnj/rubix_backtracking | b45423a825b25a43ef3575c528c2ac3b864fa43f | [
"MIT"
] | null | null | null | src/backtracking/solveCube.h | WareAnj/rubix_backtracking | b45423a825b25a43ef3575c528c2ac3b864fa43f | [
"MIT"
] | null | null | null | src/backtracking/solveCube.h | WareAnj/rubix_backtracking | b45423a825b25a43ef3575c528c2ac3b864fa43f | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "rotateCube.h"
#define N 12
#define maxmoves 6
void solveCube (int rubixcube[6][3][3]) {
int savestate[6][3][3];
int start, move;
int nopts[N+2]; //array of top of stacks
int option[N+2][N+2]; //array of stacks of options
int candidate;
int num = 0;
int n, m;
... | 36.175439 | 102 | 0.285766 |
20c806c94cc1b4b17902fa878299fde96b37a59d | 1,362 | h | C | piscine/C10/ex03/includes/ft_dumps.h | cheremushkin/school21 | aa151406acc0a5fdbcf62c3f27cd5f628e68dd51 | [
"Apache-2.0"
] | null | null | null | piscine/C10/ex03/includes/ft_dumps.h | cheremushkin/school21 | aa151406acc0a5fdbcf62c3f27cd5f628e68dd51 | [
"Apache-2.0"
] | null | null | null | piscine/C10/ex03/includes/ft_dumps.h | cheremushkin/school21 | aa151406acc0a5fdbcf62c3f27cd5f628e68dd51 | [
"Apache-2.0"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_dumps.h :+: :+: :+: ... | 45.4 | 80 | 0.340675 |
1f515e57bacf390a1f6cc5c130a9d9b3052b6a5c | 1,533 | h | C | PrivateFrameworks/Mondrian/MOLiveUpdateController.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/Mondrian/MOLiveUpdateController.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/Mondrian/MOLiveUpdateController.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// 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 NSCountedSet;
@interface MOLiveUpdateController : NSObject
{
id <MOLiveUpdateControllerDelegate> _delegate;
NSCountedSet *_inFlightUserActions;... | 31.9375 | 107 | 0.773646 |
5ac538e67ca20cf06c0d299afc372833a9dc91b3 | 4,135 | c | C | cachelab-handout/trans.c | lingxiaotang/csapp-lab | 8482c42e1dc7767701ac823a67186a9c61360acc | [
"MIT"
] | 1 | 2020-08-11T02:51:42.000Z | 2020-08-11T02:51:42.000Z | cachelab-handout/trans.c | lingxiaotang/csapp-lab | 8482c42e1dc7767701ac823a67186a9c61360acc | [
"MIT"
] | null | null | null | cachelab-handout/trans.c | lingxiaotang/csapp-lab | 8482c42e1dc7767701ac823a67186a9c61360acc | [
"MIT"
] | null | null | null | /*
* trans.c - Matrix transpose B = A^T
*
* Each transpose function must have a prototype of the form:
* void trans(int M, int N, int A[N][M], int B[M][N]);
*
* A transpose function is evaluated by counting the number of misses
* on a 1KB direct mapped cache with a block size of 32 bytes.
*/
#include <stdio.h>
... | 26.50641 | 78 | 0.437727 |
ea12cad7e799e65040742d1ebcef1c76643b72bb | 3,595 | h | C | src/cmd/pforth/pf_save.h | 610t/retrobsd | a0c256c1f0129ee6eb0d00f385e98da9b28d94c1 | [
"BSD-3-Clause"
] | 236 | 2015-01-13T12:33:26.000Z | 2022-03-16T07:18:49.000Z | src/cmd/pforth/pf_save.h | 610t/retrobsd | a0c256c1f0129ee6eb0d00f385e98da9b28d94c1 | [
"BSD-3-Clause"
] | 21 | 2015-04-26T07:35:34.000Z | 2020-12-18T13:31:55.000Z | src/cmd/pforth/pf_save.h | 610t/retrobsd | a0c256c1f0129ee6eb0d00f385e98da9b28d94c1 | [
"BSD-3-Clause"
] | 53 | 2015-01-21T12:54:44.000Z | 2022-01-14T07:01:39.000Z | /* @(#) pf_save.h 96/12/18 1.8 */
#ifndef _pforth_save_h
#define _pforth_save_h
/***************************************************************
** Include file for PForth SaveForth
**
** Author: Phil Burk
** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom
**
** The pForth software code is dedicated to ... | 35.594059 | 99 | 0.701808 |
ea3765576227377e711834435777f003158a4f95 | 9,426 | c | C | py/objarray.c | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | null | null | null | py/objarray.c | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | null | null | null | py/objarray.c | lurch/micropython | 28dfbc2ba2ef41a7810e4e39290031eb2207a0a9 | [
"MIT"
] | null | null | null | #include <string.h>
#include <assert.h>
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"
#include "runtime.h"
#include "binary.h"
typedef struct _mp_obj_array_t {
mp_obj_base_t base;
machine_uint_t typecode : 8;
// free is number of unused e... | 33.425532 | 121 | 0.613834 |
208212f62dab270305ebed5091fc8861094ec0e3 | 1,971 | h | C | analytics/src/analytics_common.h | crazyhappygame/firebase-cpp-sdk | e8aeb120d2a2e9fa314d7965391d841ebf1c3915 | [
"Apache-2.0"
] | 1 | 2021-02-14T19:09:51.000Z | 2021-02-14T19:09:51.000Z | analytics/src/analytics_common.h | crazyhappygame/firebase-cpp-sdk | e8aeb120d2a2e9fa314d7965391d841ebf1c3915 | [
"Apache-2.0"
] | null | null | null | analytics/src/analytics_common.h | crazyhappygame/firebase-cpp-sdk | e8aeb120d2a2e9fa314d7965391d841ebf1c3915 | [
"Apache-2.0"
] | 1 | 2020-08-16T11:53:44.000Z | 2020-08-16T11:53:44.000Z | /*
* Copyright 2018 Google 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 ... | 29.41791 | 79 | 0.773212 |
208710bc772711e817dd513287ac0a5b44147d91 | 161 | c | C | Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/Wconversion-pr40752b.c | djamal2727/Main-Bearing-Analytical-Model | 2f00c2219c71be0175c6f4f8f1d4cca231d97096 | [
"Apache-2.0"
] | null | null | null | Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/Wconversion-pr40752b.c | djamal2727/Main-Bearing-Analytical-Model | 2f00c2219c71be0175c6f4f8f1d4cca231d97096 | [
"Apache-2.0"
] | null | null | null | Validation/pyFrame3DD-master/gcc-master/gcc/testsuite/c-c++-common/Wconversion-pr40752b.c | djamal2727/Main-Bearing-Analytical-Model | 2f00c2219c71be0175c6f4f8f1d4cca231d97096 | [
"Apache-2.0"
] | null | null | null | // PR c++/40752
// { dg-additional-options -funsigned-char }
#pragma GCC diagnostic error "-Wsign-conversion"
void f(char *ar, int i)
{
ar[i] -= 'a' - 'A';
}
| 17.888889 | 48 | 0.614907 |
f5b95152948b2aae3a2bc04800b15a237535b083 | 3,399 | c | C | drivers/misc/wl127x-rfkill.c | tuxafgmur/OLD_Dhollmen_Kernel | 90ed4e2e3e6321de246fa193705ae40ede4e2d8e | [
"BSD-Source-Code"
] | 15 | 2018-04-02T12:41:27.000Z | 2021-06-26T13:13:43.000Z | drivers/misc/wl127x-rfkill.c | tuxafgmur/OLD_Dhollmen_Kernel | 90ed4e2e3e6321de246fa193705ae40ede4e2d8e | [
"BSD-Source-Code"
] | 1 | 2020-05-28T13:06:06.000Z | 2020-05-28T13:13:15.000Z | drivers/misc/wl127x-rfkill.c | tuxafgmur/OLD_Dhollmen_Kernel | 90ed4e2e3e6321de246fa193705ae40ede4e2d8e | [
"BSD-Source-Code"
] | 5 | 2018-05-16T16:36:08.000Z | 2020-11-04T05:51:11.000Z | /*
* Bluetooth TI wl127x rfkill power control via GPIO
*
* Copyright (C) 2009 Motorola, Inc.
* Copyright (C) 2008 Texas Instruments
* Initial code: Pavan Savoy <pavan.savoy@gmail.com> (wl127x_power.c)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | 27.860656 | 77 | 0.752868 |
6733d83ff53b5a17258b3dcdd02fe36162187bb6 | 480 | h | C | ch7_VO1/pose_estimation_3d3d/include/BA.h | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | ch7_VO1/pose_estimation_3d3d/include/BA.h | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | ch7_VO1/pose_estimation_3d3d/include/BA.h | ClovisChen/slam14 | 35fad23a491f2dd7666edab55ae849ac937d44c2 | [
"MIT"
] | null | null | null | //
// Created by chen-tian on 7/24/17.
//
#ifndef POSE_ESTIMATION_3D3D_BA_H
#define POSE_ESTIMATION_3D3D_BA_H
#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;
using namespace cv;
class BA
{
public:
void bundleadjustment(
... | 17.142857 | 44 | 0.68125 |
675f4f6f5b1387ce6d61169d16d65d721780d559 | 24,400 | c | C | pappl/printer-accessors.c | 2701gouravgoel/pappl | 31e5bc50f4b35b1fcdda393573c7eccf0fc80a4b | [
"Apache-2.0"
] | null | null | null | pappl/printer-accessors.c | 2701gouravgoel/pappl | 31e5bc50f4b35b1fcdda393573c7eccf0fc80a4b | [
"Apache-2.0"
] | null | null | null | pappl/printer-accessors.c | 2701gouravgoel/pappl | 31e5bc50f4b35b1fcdda393573c7eccf0fc80a4b | [
"Apache-2.0"
] | null | null | null | //
// Printer accessor functions for the Printer Application Framework
//
// Copyright © 2020 by Michael R Sweet.
//
// Licensed under Apache License v2.0. See the file "LICENSE" for more
// information.
//
//
// Include necessary headers...
//
#include "printer-private.h"
#include "system-private.h"
//
// 'papplP... | 23.945044 | 170 | 0.675246 |
e59acef71efe6e76a69f2bbc2159fe6ef2a64a7b | 6,791 | h | C | include/nuttx/analog/ltc1867l.h | eenurkka/incubator-nuttx | 5c3d6bba6d9ec5015896c3019cd2064696373210 | [
"Apache-2.0"
] | 1,006 | 2019-12-17T23:45:41.000Z | 2022-03-31T19:42:44.000Z | include/nuttx/analog/ltc1867l.h | eenurkka/incubator-nuttx | 5c3d6bba6d9ec5015896c3019cd2064696373210 | [
"Apache-2.0"
] | 2,661 | 2019-12-21T15:16:09.000Z | 2022-03-31T22:30:04.000Z | include/nuttx/analog/ltc1867l.h | eenurkka/incubator-nuttx | 5c3d6bba6d9ec5015896c3019cd2064696373210 | [
"Apache-2.0"
] | 613 | 2019-12-21T10:17:37.000Z | 2022-03-28T09:42:20.000Z | /****************************************************************************
* include/nuttx/analog/ltc1867l.h
*
* 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 o... | 43.532051 | 154 | 0.564424 |
0b872f142588a95f41a10827525b67d3c8d7ee3f | 747 | h | C | classes/Edible.h | Daria602/AdventureIn10 | 4ad0418d4020cfb552a5cb1ab894ffa895caab3e | [
"MIT"
] | 1 | 2021-05-03T12:29:52.000Z | 2021-05-03T12:29:52.000Z | classes/Edible.h | Daria602/AdventureIn10 | 4ad0418d4020cfb552a5cb1ab894ffa895caab3e | [
"MIT"
] | null | null | null | classes/Edible.h | Daria602/AdventureIn10 | 4ad0418d4020cfb552a5cb1ab894ffa895caab3e | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
#include <vector>
class Edible
{
private:
std::string name;
int replenishStamina;
int replenishHealth;
friend std::ostream& operator<<(std::ostream& os, const Edible& go_);
public:
Edible() { this->name = "NONE"; this->replenishStamina = 0; this->rep... | 31.125 | 176 | 0.708166 |
1bbd8e3cad4fc65df51647130cb48f694306bea2 | 1,224 | c | C | lab04/lab04.c | tiagodalloca/mc458-labs | e71230bb7188af8e65289f322e1f8fffa42ca2ec | [
"MIT"
] | null | null | null | lab04/lab04.c | tiagodalloca/mc458-labs | e71230bb7188af8e65289f322e1f8fffa42ca2ec | [
"MIT"
] | null | null | null | lab04/lab04.c | tiagodalloca/mc458-labs | e71230bb7188af8e65289f322e1f8fffa42ca2ec | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
typedef struct {
int i, p;
} tarefa ;
short int compare_tarefa(tarefa a, tarefa b) {
if (a.p > b.p) return 1;
if (a.p < b.p) return -1;
return a.i <= b.i ? -1 : 1;
}
void swap(tarefa arr[], int i, int j) {
tarefa aux = arr[i];
arr[i] = arr[j];
arr[j] = aux;
}
int partit... | 15.896104 | 50 | 0.502451 |
1be47f905ca8a4574da05b63c3a1e045a6a8056b | 382 | c | C | ext/hal/silabs/gecko/emlib/src/em_timer.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | ext/hal/silabs/gecko/emlib/src/em_timer.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | ext/hal/silabs/gecko/emlib/src/em_timer.c | dmgerman/zephyrd3 | b6a23cc9c5d534c352e33fd18fff7799ac3c2886 | [
"Apache-2.0"
] | null | null | null | DECL|TIMER_InitCC|function|void TIMER_InitCC(TIMER_TypeDef *timer, unsigned int ch, const TIMER_InitCC_TypeDef *init)
DECL|TIMER_InitDTI|function|void TIMER_InitDTI(TIMER_TypeDef *timer, const TIMER_InitDTI_TypeDef *init)
DECL|TIMER_Init|function|void TIMER_Init(TIMER_TypeDef *timer, const TIMER_Init_TypeDef *init)
DEC... | 76.4 | 117 | 0.856021 |
5696723f5d47d517e70ecb451774115e07babe8e | 1,279 | c | C | libft/ft_strmapi.c | Himak1/push_swap | 5e7909921347e793917f72a3ac3bfc576d5a07c0 | [
"MIT"
] | null | null | null | libft/ft_strmapi.c | Himak1/push_swap | 5e7909921347e793917f72a3ac3bfc576d5a07c0 | [
"MIT"
] | null | null | null | libft/ft_strmapi.c | Himak1/push_swap | 5e7909921347e793917f72a3ac3bfc576d5a07c0 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* :::::::: */
/* ft_strmapi.c :+: :+: ... | 33.657895 | 80 | 0.228303 |
73034f75177475a9369dad49778099bc9c00f2d1 | 1,781 | c | C | driver/main.c | chaos-mesh/chaos-driver | 00ff8f5bffd01e4752fcaadb383430b2bde82a8b | [
"Apache-2.0"
] | 5 | 2021-12-29T03:28:36.000Z | 2022-02-21T06:59:00.000Z | driver/main.c | chaos-mesh/chaos-driver | 00ff8f5bffd01e4752fcaadb383430b2bde82a8b | [
"Apache-2.0"
] | null | null | null | driver/main.c | chaos-mesh/chaos-driver | 00ff8f5bffd01e4752fcaadb383430b2bde82a8b | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Chaos Mesh Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 23.12987 | 70 | 0.681078 |
14be308e3a0ec9986dd44e7dd937d0d107d425da | 973 | c | C | src/convexHull/convexHull.c | jobtalle/ConvexHull | 26c91b0491a891e5a70bca8185ba3b98c7429ab1 | [
"BSD-3-Clause"
] | 13 | 2015-11-16T16:00:18.000Z | 2020-02-08T15:52:08.000Z | src/convexHull/convexHull.c | jobtalle/ConvexHull | 26c91b0491a891e5a70bca8185ba3b98c7429ab1 | [
"BSD-3-Clause"
] | 1 | 2015-12-22T13:57:32.000Z | 2015-12-22T13:57:32.000Z | src/convexHull/convexHull.c | jobtalle/ConvexHull | 26c91b0491a891e5a70bca8185ba3b98c7429ab1 | [
"BSD-3-Clause"
] | 4 | 2015-11-19T17:04:11.000Z | 2022-03-20T06:22:56.000Z | #include <stdlib.h>
#include "passes.h"
static uint32_t convexHullRayCount(const uint32_t width, const uint32_t height, const uint32_t spacing)
{
return (width + height) / (spacing >> 1);
}
convexHull convexHullCreate(const uint8_t *source, const uint32_t width, const uint32_t height, const convexHullVector pivot, ... | 27.8 | 172 | 0.784173 |
1af65fcb05db3d539a75e08e5df90093ec45ad03 | 1,292 | c | C | main.c | yasuharu/comp_lock | c6a0ac28773e9e97ba5c524ef90153eaaa9e60a3 | [
"MIT"
] | null | null | null | main.c | yasuharu/comp_lock | c6a0ac28773e9e97ba5c524ef90153eaaa9e60a3 | [
"MIT"
] | null | null | null | main.c | yasuharu/comp_lock | c6a0ac28773e9e97ba5c524ef90153eaaa9e60a3 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <pthread.h>
#include <semaphore.h>
#include <stdint.h>
// #define USE_PTHREAD
// #define USE_SEMAPHORE
#if (defined(USE_PTHREAD) && defined(USE_SEMAPHORE))
#error "env setting is wrong."
#endif
#define THREAD_NUM (5)
pthread_t threads[THREAD_NUM];
#ifdef USE_PTHREAD
pthread_mutex_t mutex... | 12.423077 | 53 | 0.584365 |
5dc46ece3a0703a3f0d932776530581f72da2455 | 10,621 | h | C | src/include/mpichtimer.h | valiantljk/collectiveIO-profile | 844f6296384459a41ae889cbe5a67e3f9da4b923 | [
"Unlicense"
] | null | null | null | src/include/mpichtimer.h | valiantljk/collectiveIO-profile | 844f6296384459a41ae889cbe5a67e3f9da4b923 | [
"Unlicense"
] | null | null | null | src/include/mpichtimer.h | valiantljk/collectiveIO-profile | 844f6296384459a41ae889cbe5a67e3f9da4b923 | [
"Unlicense"
] | null | null | null | /* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#ifndef MPICHTIMER_H
#define MPICHTIMER_H
/*
* This include file provide the definitions that are necessary to use the
* timer calls, including the definition of the time stamp t... | 34.151125 | 135 | 0.730722 |
86a5aff084d8b1a4dfa78447bce9036970b14e44 | 12,878 | c | C | Talpa/src/components/services/configurator_impl/securityfs_configurator.c | vegupta/Talpa | 36025acf2e30627e476dba3ae35209984b96ae3d | [
"MIT"
] | null | null | null | Talpa/src/components/services/configurator_impl/securityfs_configurator.c | vegupta/Talpa | 36025acf2e30627e476dba3ae35209984b96ae3d | [
"MIT"
] | null | null | null | Talpa/src/components/services/configurator_impl/securityfs_configurator.c | vegupta/Talpa | 36025acf2e30627e476dba3ae35209984b96ae3d | [
"MIT"
] | null | null | null | /*
* securityfs_configurator.h
*
* TALPA Filesystem Interceptor
*
* Copyright (C) 2004-2017 Sophos Limited, Oxford, England.
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License Version 2 as published by the Free Software Foundation.
*
... | 23.892393 | 112 | 0.579282 |
223ef612c8afb3154749566c03aa3cd4fb6167b4 | 385 | h | C | Applications/HeadBoard/HBRootItemObserver-Protocol.h | lechium/tvOS124Headers | 11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475 | [
"MIT"
] | 4 | 2019-08-27T18:03:47.000Z | 2021-09-18T06:29:00.000Z | Applications/HeadBoard/HBRootItemObserver-Protocol.h | lechium/tvOS124Headers | 11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475 | [
"MIT"
] | null | null | null | Applications/HeadBoard/HBRootItemObserver-Protocol.h | lechium/tvOS124Headers | 11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475 | [
"MIT"
] | 4 | 2017-05-14T16:23:26.000Z | 2019-12-21T15:07:59.000Z | //
// 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 HBRootItem;
@protocol HBRootItemObserver <NSObject>
@optional
- (void)badgeValueDidChange:(HBRootItem *)arg1;
- (void)displayNameDidChange:(HBRootItem... | 20.263158 | 83 | 0.711688 |
05c68da888a3cf22e6174b38b98c2e619239af48 | 1,331 | h | C | src/util.h | wgtdkp/julia | ebe159b8fdc14c3904d24f94b52f7a195f1945de | [
"MIT"
] | 141 | 2016-10-29T13:37:25.000Z | 2021-12-27T07:41:52.000Z | src/util.h | wgtdkp/julia | ebe159b8fdc14c3904d24f94b52f7a195f1945de | [
"MIT"
] | 12 | 2016-04-20T14:26:09.000Z | 2018-04-11T12:57:08.000Z | src/util.h | wgtdkp/julia | ebe159b8fdc14c3904d24f94b52f7a195f1945de | [
"MIT"
] | 34 | 2016-11-01T02:01:13.000Z | 2021-07-23T20:14:54.000Z | #ifndef _JULIA_UTIL_H_
#define _JULIA_UTIL_H_
#define OK (0)
#define AGAIN (1)
#define EMPTY_LINE (2)
#define CLOSED (3)
#define ERROR (-1)
#define ERR_INVALID_REQUEST (-2)
#define ERR_INVALID_METHOD (-3)
#define ERR_INVALID_VERSION (-4)
#define ERR_I... | 24.648148 | 39 | 0.444778 |
b221f9f2fff63115bb635296b47452fbc022fdfd | 2,856 | h | C | PrivateFrameworks/CoreWiFi/CWFClient.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/CoreWiFi/CWFClient.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/CoreWiFi/CWFClient.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 1 | 2018-09-28T13:54:23.000Z | 2018-09-28T13:54:23.000Z | //
// 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"
#import "CWFXPCEventProxyDelegate.h"
@class NSMutableDictionary, NSMutableSet, NSObject<OS_dispatch_queue>, NSXPCConnection, SFAuthorization;
@interface CWFC... | 34.829268 | 107 | 0.768557 |
58bdb1f871918585278d873fa1c66d4e6863c6e8 | 502 | h | C | src/Timing.h | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 239 | 2017-01-18T15:14:34.000Z | 2022-03-09T10:44:08.000Z | src/Timing.h | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 96 | 2017-01-13T15:03:29.000Z | 2022-02-07T14:27:18.000Z | src/Timing.h | monsanto-pinheiro/ngmlr | 8d7677929001d1d13c6b4593c409a52044180dca | [
"MIT"
] | 44 | 2017-03-17T20:31:08.000Z | 2021-12-02T07:27:09.000Z | /**
* Contact: philipp.rescheneder@gmail.com
*/
#ifndef __TIMING2_H__
#define __TIMING2_H__
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
class Timer
{
private:
timeval start, end;
public:
void ST()
{
gettimeofday(&start, NULL);
}... | 15.212121 | 97 | 0.633466 |
0fbf6a7e05688c828b32c0ec80211ca0f053cc92 | 1,053 | h | C | UMTActiveUser.h | yihongmingfeng/Fruitday | 981f6ecdb03a42d95210b249590505db18195dfd | [
"MIT"
] | null | null | null | UMTActiveUser.h | yihongmingfeng/Fruitday | 981f6ecdb03a42d95210b249590505db18195dfd | [
"MIT"
] | null | null | null | UMTActiveUser.h | yihongmingfeng/Fruitday | 981f6ecdb03a42d95210b249590505db18195dfd | [
"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"
#import "NSCoding.h"
#import "UMTBase.h"
@class NSString;
@interface UMTActiveUser : NSObject <UMTBase, NSCoding>
{
NSString *__provider;
NSString *_... | 23.4 | 86 | 0.718898 |
c9f5a35f81804c5de128919fb428fc7291c7b5d5 | 2,690 | h | C | engine/helper/thread/Thread.h | MCMic/cChord | e0922db8882127bbe34616450b4bac9e57d06d19 | [
"MIT"
] | 1 | 2015-02-15T20:02:58.000Z | 2015-02-15T20:02:58.000Z | engine/helper/thread/Thread.h | MCMic/cChord | e0922db8882127bbe34616450b4bac9e57d06d19 | [
"MIT"
] | null | null | null | engine/helper/thread/Thread.h | MCMic/cChord | e0922db8882127bbe34616450b4bac9e57d06d19 | [
"MIT"
] | null | null | null | #ifndef __Thread__
#define __Thread__
#include <pthread.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <signal.h>
#include <iostream>
#include "Exception.h"
class Thread {
public:
private:
pthread_t theThread;
pthread_attr_t tattr;
pthread_mutex_t mutex;
pthread_con... | 19.078014 | 75 | 0.659851 |
a771c6bc7b0cb7b6c6d8d5d27b9497385dcb4e9c | 3,354 | h | C | platform/mcu/rda8955/inc/include/sys/stat.h | jinlongliu/AliOS-Things | ce051172a775f987183e7aca88bb6f3b809ea7b0 | [
"Apache-2.0"
] | 5 | 2018-10-29T06:43:46.000Z | 2019-09-25T07:17:27.000Z | platform/mcu/rda8955/inc/include/sys/stat.h | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 3 | 2018-12-17T13:06:46.000Z | 2018-12-28T01:40:59.000Z | platform/mcu/rda8955/inc/include/sys/stat.h | IamBaoMouMou/AliOS-Things | 195a9160b871b3d78de6f8cf6c2ab09a71977527 | [
"Apache-2.0"
] | 6 | 2019-08-30T09:43:03.000Z | 2021-04-05T04:20:41.000Z | #ifndef _SYS_STAT_H
#define _SYS_STAT_H
#ifdef __cplusplus
extern "C" {
#endif
struct stat
{
short /*dev_t*/ st_dev;
unsigned short /*ino_t*/ st_ino;
unsigned int /*mode_t*/ st_mode;
unsigned short /*nlink_t*/ st_nlink;
unsigned short /*uid_t*/ st_uid;
unsigned short /*gid_t*/ st_gid;
short /*dev_t*/ st... | 30.770642 | 91 | 0.708706 |
cb4302a1eef4d750f14220041384fa75af6411d0 | 22,170 | c | C | blend_mask_color/op_blend_mask_color_neon.c | jolfzverb/evas_neon_test | 4d6be543bfb6d481e744a4992a945780c232d738 | [
"BSD-2-Clause"
] | 2 | 2016-06-25T11:06:53.000Z | 2016-10-20T06:18:50.000Z | blend_mask_color/op_blend_mask_color_neon.c | jolfzverb/evas_neon_test | 4d6be543bfb6d481e744a4992a945780c232d738 | [
"BSD-2-Clause"
] | null | null | null | blend_mask_color/op_blend_mask_color_neon.c | jolfzverb/evas_neon_test | 4d6be543bfb6d481e744a4992a945780c232d738 | [
"BSD-2-Clause"
] | null | null | null | #ifdef BUILD_NEON
#ifdef BUILD_NEON_INTRINSICS
#include <arm_neon.h>
#endif
#endif
#define NEONDEBUG 0
#if NEONDEBUG
#define DEBUG_FNCOUNT(x) \
do { \
static int _foo = 0; \
if (_foo++%10000 ==0) \
printf("%s %+d %s: %d (%s)\n",__FILE__,__LINE__,__FUNCTION__,\
_foo, x " optimised");\
} while (0)
#else
#... | 28.754864 | 90 | 0.488994 |
3bc31f0ee1cf2705945c76d588c828706241738c | 552 | h | C | src/UI/ImGuiLayer.h | TheJoKeR15/RaiTracer | fb7c498d49c6f886228d54aed1939580bbfb4043 | [
"Apache-2.0"
] | 1 | 2020-12-26T03:55:08.000Z | 2020-12-26T03:55:08.000Z | src/UI/ImGuiLayer.h | TheJoKeR15/RaiTracer | fb7c498d49c6f886228d54aed1939580bbfb4043 | [
"Apache-2.0"
] | null | null | null | src/UI/ImGuiLayer.h | TheJoKeR15/RaiTracer | fb7c498d49c6f886228d54aed1939580bbfb4043 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "imGui/imgui.h"
#include "imGui/imgui_impl_glfw.h"
#include "imgui/imgui_impl_opengl3.h"
#include <GLFW\glfw3.h>
class ImGuiLayer
{
public:
ImGuiLayer();
ImGuiLayer(GLFWwindow* window, ImVec2 DisplaySize);
~ImGuiLayer();
void Init();
void StartFrame();
void Render();
void Shutdown();
... | 17.806452 | 73 | 0.737319 |
dfe39b6e1791014e750395ade526e4fcd5ff9111 | 504 | h | C | 03C++/Program/01work/hsbiao/StdAfx.h | L-Xiah/theVS | cc37eaba174cdeb5c3dfdf04073a4d6d9068b161 | [
"MIT"
] | null | null | null | 03C++/Program/01work/hsbiao/StdAfx.h | L-Xiah/theVS | cc37eaba174cdeb5c3dfdf04073a4d6d9068b161 | [
"MIT"
] | null | null | null | 03C++/Program/01work/hsbiao/StdAfx.h | L-Xiah/theVS | cc37eaba174cdeb5c3dfdf04073a4d6d9068b161 | [
"MIT"
] | null | null | null |
#if !defined(AFX_STDAFX_H__96A4134B_9BCA_11D2_8C07_444553540000__INCLUDED_)
#define AFX_STDAFX_H__96A4134B_9BCA_11D2_8C07_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif
#define VC_EXTRALEAN
#include <afxwin.h>
#include <afxext.h>
#include <afxdisp.h>
#ifndef _AFX_NO_AF... | 22.909091 | 103 | 0.765873 |
2a96bf42786544416caba567631ad923d6c1ce39 | 5,897 | h | C | src/core/CoreEngine/pendulumsystem.h | jbuckmccready/staticpendulum_gui | 8c14019e5903c531cca5cfefeeb22a1beca8b000 | [
"MIT"
] | null | null | null | src/core/CoreEngine/pendulumsystem.h | jbuckmccready/staticpendulum_gui | 8c14019e5903c531cca5cfefeeb22a1beca8b000 | [
"MIT"
] | null | null | null | src/core/CoreEngine/pendulumsystem.h | jbuckmccready/staticpendulum_gui | 8c14019e5903c531cca5cfefeeb22a1beca8b000 | [
"MIT"
] | null | null | null | /* ===========================================================================
* The MIT License (MIT)
*
* Copyright (c) 2016 Jedidiah Buck McCready <jbuckmccready@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the... | 43.043796 | 161 | 0.664745 |
466721e7a8e7a009fee92b7406b8e903cdd77c12 | 1,558 | h | C | freq/plain_expression.h | mehrdad-shokri/libwxfreq | 8281a2d530588f44661b42ea9be9474ba9316014 | [
"BSD-3-Clause"
] | 195 | 2018-01-01T01:54:14.000Z | 2021-11-30T09:52:16.000Z | freq/plain_expression.h | mehrdad-shokri/libwxfreq | 8281a2d530588f44661b42ea9be9474ba9316014 | [
"BSD-3-Clause"
] | 2 | 2018-03-12T04:41:03.000Z | 2018-05-14T08:52:48.000Z | freq/plain_expression.h | mehrdad-shokri/libwxfreq | 8281a2d530588f44661b42ea9be9474ba9316014 | [
"BSD-3-Clause"
] | 50 | 2018-01-02T00:54:16.000Z | 2022-01-13T09:31:15.000Z | /*
* Tencent is pleased to support the open source community by making libwxfreq available.
*
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file
* except in compliance with the License. You may obtain a cop... | 29.396226 | 88 | 0.738768 |
625a35efec936e2464d8bde132e4a22f8fc523ee | 31,476 | c | C | android/android_42/base/cmds/installd/utils.c | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_42/base/cmds/installd/utils.c | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_42/base/cmds/installd/utils.c | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
** Copyright 2008, The Android Open Source Project
**
** 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 app... | 31.2572 | 100 | 0.536917 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.