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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
125ba7546529ee640eb636e4f56b548367a4482d | 2,121 | h | C | Project/InputManager.h | SimplyJpk/Empty-SDL2-GL-Project | c4bcd4d16e73cd29a440f8af3fb1116cb77da198 | [
"MIT"
] | null | null | null | Project/InputManager.h | SimplyJpk/Empty-SDL2-GL-Project | c4bcd4d16e73cd29a440f8af3fb1116cb77da198 | [
"MIT"
] | null | null | null | Project/InputManager.h | SimplyJpk/Empty-SDL2-GL-Project | c4bcd4d16e73cd29a440f8af3fb1116cb77da198 | [
"MIT"
] | null | null | null | #pragma once
#include "SDL.h"
#include "Vec2.h"
#include <backends/imgui_impl_sdl.h>
#include <algorithm>
#include <vector>
#include "InputKeyCodes.h"
//TODO Implement an event system? Would be nice to call events from here
class InputManager
{
public:
static InputManager* Instance();
void Update();
bool ... | 25.865854 | 72 | 0.694484 |
583823865d6dd24d838864b98dcff36be7069b12 | 487 | h | C | AOCLib/src/FStreamReader.h | tux2nicolae/AOC | 4d8d7733b079e9609ec6d718d1a05f2d1cf727e7 | [
"MIT"
] | 1 | 2018-12-21T09:19:07.000Z | 2018-12-21T09:19:07.000Z | AOCLib/src/FStreamReader.h | tux2nicolae/AOC | 4d8d7733b079e9609ec6d718d1a05f2d1cf727e7 | [
"MIT"
] | null | null | null | AOCLib/src/FStreamReader.h | tux2nicolae/AOC | 4d8d7733b079e9609ec6d718d1a05f2d1cf727e7 | [
"MIT"
] | 1 | 2018-12-20T12:38:05.000Z | 2018-12-20T12:38:05.000Z | #pragma once
/**
* Advent of code 2018
* @author : Nicolae Telechi
*/
class FStreamReader
{
public:
/**
* Input stream
*/
FStreamReader(ifstream & aIn);
vector<int> ReadVector();
vector<string> ReadVectorOfWords();
vector<vector<int>> ReadMatrix();
vector<vector<int>> ReadMatrixOfDigits();
vec... | 17.392857 | 45 | 0.698152 |
55c458a892bffdcf6f3b5f0a05a9e02a848d6599 | 3,848 | h | C | LibCarla/source/carla/trafficmanager/MotionPlannerStage.h | youngsend/carla | c918f4b73b6b845dc66ccf3ffe3f011e800607ec | [
"MIT"
] | 1 | 2020-03-28T20:47:07.000Z | 2020-03-28T20:47:07.000Z | LibCarla/source/carla/trafficmanager/MotionPlannerStage.h | davidgfb/carla | c918f4b73b6b845dc66ccf3ffe3f011e800607ec | [
"MIT"
] | null | null | null | LibCarla/source/carla/trafficmanager/MotionPlannerStage.h | davidgfb/carla | c918f4b73b6b845dc66ccf3ffe3f011e800607ec | [
"MIT"
] | null | null | null | // Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <chrono>
#include <unordered_map>
#include <vector>
#include "carla/cli... | 37.72549 | 110 | 0.755977 |
21f4f9b9c9ed03812294a16ed2777bd55d4f7335 | 14,076 | h | C | PROX/FOUNDATION/SPARSE/SPARSE/include/sparse_block.h | diku-dk/PROX | c6be72cc253ff75589a1cac28e4e91e788376900 | [
"MIT"
] | 2 | 2019-11-27T09:44:45.000Z | 2020-01-13T00:24:21.000Z | PROX/FOUNDATION/SPARSE/SPARSE/include/sparse_block.h | erleben/matchstick | 1cfdc32b95437bbb0063ded391c34c9ee9b9583b | [
"MIT"
] | null | null | null | PROX/FOUNDATION/SPARSE/SPARSE/include/sparse_block.h | erleben/matchstick | 1cfdc32b95437bbb0063ded391c34c9ee9b9583b | [
"MIT"
] | null | null | null | #ifndef SPARSE_BLOCK_H
#define SPARSE_BLOCK_H
#include <sparse_block_algebra.h>
#include <algorithm> // for std::fill, std::copy, std::equal
#include <cassert>
namespace sparse
{
namespace detail
{
template <typename B>
class BlockAccessor
{
public:
typedef B block_type;
... | 28.551724 | 172 | 0.559463 |
0e87fea7af952acb15a24904329ffd2719ea36b9 | 277 | h | C | input.h | tflovorn/ctetra | 1a788d6c36d4a0773d4a2fca4d23a8e4d1fd87a1 | [
"MIT"
] | null | null | null | input.h | tflovorn/ctetra | 1a788d6c36d4a0773d4a2fca4d23a8e4d1fd87a1 | [
"MIT"
] | 1 | 2016-11-19T22:44:14.000Z | 2016-11-30T15:23:35.000Z | input.h | tflovorn/ctetra | 1a788d6c36d4a0773d4a2fca4d23a8e4d1fd87a1 | [
"MIT"
] | null | null | null | #ifndef CTETRA_INPUT_H
#define CTETRA_INPUT_H
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
typedef void (*InputFn)(double k[3], gsl_vector *values);
typedef void (*UEInputFn)(double k[3], gsl_vector *evalues, gsl_matrix_complex *evecs);
#endif // CTETRA_INPUT_H
| 23.083333 | 87 | 0.761733 |
8a432fcee8c5a1ca98adf4832a959d939eb5acd9 | 33,232 | c | C | test/suites/ctype/test_isbdigit.c | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | test/suites/ctype/test_isbdigit.c | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | test/suites/ctype/test_isbdigit.c | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
#include "ctype_test.h"
void t_isbdigit_0x00()
{
Assert(isbdigit(0) == 0 ,"isbdigit should be 0 for 0x00");
}
void t_isbdigit_0x01()
{
Assert(isbdigit(1) == 0 ,"isbdigit should be 0 for 0x01");
}
void t_isbdigit_0x02()
{
Assert(isbdigit(2) == 0 ,"isbdigit should be 0 for 0x02");
}
void t_isbdigit_0x0... | 21.495472 | 65 | 0.682685 |
e027fef372552eb4647f00b4b355d97248cc8c7a | 512 | h | C | src/http.h | kalamay/crux | 9a7c5f2ff337a6af005cd3979a254b6606bb9637 | [
"BSD-2-Clause"
] | null | null | null | src/http.h | kalamay/crux | 9a7c5f2ff337a6af005cd3979a254b6606bb9637 | [
"BSD-2-Clause"
] | null | null | null | src/http.h | kalamay/crux | 9a7c5f2ff337a6af005cd3979a254b6606bb9637 | [
"BSD-2-Clause"
] | null | null | null | #include "../include/crux/http.h"
#include "../include/crux/hashmap.h"
#include "../include/crux/vec.h"
#include "../include/crux/seed.h"
#include "buf.h"
struct xhttp_vec
{
XVEC(struct xhttp_field);
};
struct xhttp_map
{
XHASHMAP(xhttp_tab, struct xhttp_vec, 2);
struct xbuf buf;
union xseed seed;
};
XLOCAL int... | 17.655172 | 85 | 0.738281 |
a3611f6c294b3794b067d0a374c9b36364e87329 | 7,458 | h | C | tests/ut/TestApiHookBase.h | elsonLee/emock | abbf60971601c366e19a7ca64321a0b0602d51e8 | [
"Apache-2.0"
] | 72 | 2018-01-26T11:19:32.000Z | 2022-02-06T02:38:38.000Z | tests/ut/TestApiHookBase.h | ez8-co/mockcpp | 625c204c91fa12ce20962c67ff02132625b646d1 | [
"Apache-2.0"
] | 18 | 2019-03-11T08:47:17.000Z | 2022-03-08T10:58:07.000Z | tests/ut/TestApiHookBase.h | ez8-co/mockcpp | 625c204c91fa12ce20962c67ff02132625b646d1 | [
"Apache-2.0"
] | 27 | 2018-04-03T08:31:14.000Z | 2022-03-16T13:01:09.000Z | /***
emock is a cross-platform easy-to-use C++ Mock Framework based on mockcpp.
Copyright [2017] [ez8.co] [orca <orca.zhang@yahoo.com>]
This library is released under the Apache License, Version 2.0.
Please see LICENSE file or visit https://github.com/ez8-co/emock for details.
mockcpp is a gene... | 23.018519 | 102 | 0.503754 |
ed029962ca11738a143fb92e029084d31a60d560 | 852 | h | C | lab4/lib/include/timer.h | Artis24106/osc2022 | 3c219026138fc9b9bc9199e0207074a38e0f8d29 | [
"MIT"
] | null | null | null | lab4/lib/include/timer.h | Artis24106/osc2022 | 3c219026138fc9b9bc9199e0207074a38e0f8d29 | [
"MIT"
] | null | null | null | lab4/lib/include/timer.h | Artis24106/osc2022 | 3c219026138fc9b9bc9199e0207074a38e0f8d29 | [
"MIT"
] | null | null | null | #ifndef __TIMER_H__
#define __TIMER_H__
#include "list.h"
#include "malloc.h"
#include "printf.h"
#include "regs.h"
#include "string.h"
#define CORE0_TIMER_IRQ_CTRL 0x40000040
typedef struct timer_event {
struct list_head node;
void* callback;
char* args;
uint64_t tval; // timer value
} timer_event_... | 23.027027 | 75 | 0.769953 |
e8f9515d8730686244f73402a9cd7c0d6d205aea | 4,548 | c | C | mlib/src/x11/x11_pixbuf.c | hanya/aobook-haiku | ffe2a900528ade0bb9da300c2c32478d135472fd | [
"BSD-3-Clause"
] | 1 | 2017-10-28T11:00:52.000Z | 2017-10-28T11:00:52.000Z | mlib/src/x11/x11_pixbuf.c | hanya/aobook-haiku | ffe2a900528ade0bb9da300c2c32478d135472fd | [
"BSD-3-Clause"
] | null | null | null | mlib/src/x11/x11_pixbuf.c | hanya/aobook-haiku | ffe2a900528ade0bb9da300c2c32478d135472fd | [
"BSD-3-Clause"
] | null | null | null | /*$
Copyright (c) 2014-2017, Azel
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the follow... | 21.45283 | 90 | 0.66095 |
3337a95f9ce050d418d742b8c63c505425c994a1 | 786 | h | C | adt/pointer/adtpointer.h | Noctino52/Grafy-To-Go | 1edf6bc4e393724e0963471da909fa740acacaa1 | [
"Apache-2.0"
] | null | null | null | adt/pointer/adtpointer.h | Noctino52/Grafy-To-Go | 1edf6bc4e393724e0963471da909fa740acacaa1 | [
"Apache-2.0"
] | null | null | null | adt/pointer/adtpointer.h | Noctino52/Grafy-To-Go | 1edf6bc4e393724e0963471da909fa740acacaa1 | [
"Apache-2.0"
] | null | null | null | #ifndef NODE_H
#define NODE_H
/* ************************************************************************** */
#include "../bst/bst.h"
#include "../adt.h"
/* ************************************************************************** */
/* ************************************************************************** */
... | 27.103448 | 80 | 0.436387 |
77443d9461185f3dcd02bfa1d004d7896498b242 | 3,807 | h | C | aws-cpp-sdk-machinelearning/include/aws/machinelearning/model/UpdateBatchPredictionResult.h | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-machinelearning/include/aws/machinelearning/model/UpdateBatchPredictionResult.h | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-machinelearning/include/aws/machinelearning/model/UpdateBatchPredictionResult.h | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 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" fil... | 36.961165 | 133 | 0.714736 |
9875a819dfa145b977c4f57efcc3f63268443c03 | 1,038 | c | C | Material/NumericalReceipe/NR_C301/legacy/nr2/C_211/examples/xsphbes.c | pragneshrana/NumericalOptimization | 28ea55840ed95262bc39c0896acee9e54cc375c2 | [
"MIT"
] | null | null | null | Material/NumericalReceipe/NR_C301/legacy/nr2/C_211/examples/xsphbes.c | pragneshrana/NumericalOptimization | 28ea55840ed95262bc39c0896acee9e54cc375c2 | [
"MIT"
] | null | null | null | Material/NumericalReceipe/NR_C301/legacy/nr2/C_211/examples/xsphbes.c | pragneshrana/NumericalOptimization | 28ea55840ed95262bc39c0896acee9e54cc375c2 | [
"MIT"
] | null | null | null |
/* Driver for routine rj */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define MAXSTR 80
int main(void)
{
char txt[MAXSTR];
int i,n,nval;
float sj,sy,sjp,syp,x,xsj,xsy,xsjp,xsyp;
FILE *fp;
if ((fp = fopen("fncval.dat","r")) ... | 25.317073 | 74 | 0.578035 |
decdaf50494874161223a24144a9b3bfec4e5a1f | 548 | h | C | mame/src/mame/includes/atarig42.h | nitrologic/emu | be2c9b72d81c3aea85ad4fd18fa4f731b31f338a | [
"Unlicense"
] | null | null | null | mame/src/mame/includes/atarig42.h | nitrologic/emu | be2c9b72d81c3aea85ad4fd18fa4f731b31f338a | [
"Unlicense"
] | null | null | null | mame/src/mame/includes/atarig42.h | nitrologic/emu | be2c9b72d81c3aea85ad4fd18fa4f731b31f338a | [
"Unlicense"
] | null | null | null | /*************************************************************************
Atari G42 hardware
*************************************************************************/
/*----------- defined in video/atarig42.c -----------*/
extern UINT16 atarig42_playfield_base;
extern UINT16 atarig42_motion_object_ba... | 27.4 | 75 | 0.529197 |
895ffc170176b3dbe5fcd9e916e157c2666a5571 | 1,215 | h | C | targets/TARGET_SIMULATOR/cmsis.h | geowor01/mbed-os | 97239731fac78ed2e871fe77794c491e796a4ad8 | [
"Apache-2.0"
] | null | null | null | targets/TARGET_SIMULATOR/cmsis.h | geowor01/mbed-os | 97239731fac78ed2e871fe77794c491e796a4ad8 | [
"Apache-2.0"
] | null | null | null | targets/TARGET_SIMULATOR/cmsis.h | geowor01/mbed-os | 97239731fac78ed2e871fe77794c491e796a4ad8 | [
"Apache-2.0"
] | 3 | 2020-04-24T15:54:43.000Z | 2022-03-31T06:55:16.000Z | /*
* PackageLicenseDeclared: Apache-2.0
* Copyright (c) 2015 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | 22.5 | 75 | 0.742387 |
81840982b573919f2240c0a1a2ae81c7c975ef7e | 1,602 | h | C | PrivateFrameworks/PassKitCore/PKFieldProperties.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 17 | 2018-11-13T04:02:58.000Z | 2022-01-20T09:27:13.000Z | PrivateFrameworks/PassKitCore/PKFieldProperties.h | phatblat/macOSPrivateFrameworks | 9047371eb80f925642c8a7c4f1e00095aec66044 | [
"MIT"
] | 3 | 2018-04-06T02:02:27.000Z | 2018-10-02T01:12:10.000Z | PrivateFrameworks/PassKitCore/PKFieldProperties.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 "NSSecureCoding.h"
@class NSArray, NSError;
@interface PKFieldProperties : NSObject <NSSecureCoding>
{
BOOL _shouldIgnore;
BOOL _authenticati... | 37.255814 | 124 | 0.774032 |
e6a1dcf8701dc53394c7b87257eee43c766595ac | 8,274 | h | C | PWGLF/NUCLEX/Nuclei/DeltaMasses/AliAnalysisNucleiMass.h | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWGLF/NUCLEX/Nuclei/DeltaMasses/AliAnalysisNucleiMass.h | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWGLF/NUCLEX/Nuclei/DeltaMasses/AliAnalysisNucleiMass.h | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | #ifndef ALIANALYSISNUCLEIMASS_H
#define ALIANALYSISNUCLEIMASS_H
// ROOT includes
#include <TList.h>
// AliRoot includes
#include <AliAnalysisTaskSE.h>
#include <AliPIDResponse.h>
class AliAODEvent;
class AliESDEvent;
class AliVEvent;
class TH2F;
class TH2D;
class TH1F;
class TF1;
class TF2;
class TH2D;
class TGraph;... | 52.037736 | 185 | 0.620135 |
32be7d01c860990d84b065949ed4d31bf3e3b15e | 6,099 | h | C | Engine/source/sfx/sfxParameter.h | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/sfx/sfxParameter.h | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/sfx/sfxParameter.h | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 35.459302 | 96 | 0.651582 |
114cd08fd6b24dda0d9d3b01dd2c9d59b5b118f5 | 443 | h | C | templates/BluecadetApp/src/bluecadet/_TBOX_PREFIX_Settings.h | bluecadet/Cinder-BluecadetViews | d6ff2fecfbfd5399dfd375170083c9230a0e0d6b | [
"MIT"
] | 10 | 2017-10-23T15:27:50.000Z | 2021-02-03T03:28:27.000Z | templates/BluecadetApp/src/bluecadet/_TBOX_PREFIX_Settings.h | bluecadet/Cinder-BluecadetViews | d6ff2fecfbfd5399dfd375170083c9230a0e0d6b | [
"MIT"
] | 40 | 2017-10-20T13:56:08.000Z | 2021-10-01T15:39:37.000Z | templates/BluecadetApp/src/bluecadet/_TBOX_PREFIX_Settings.h | bluecadet/Cinder-BluecadetViews | d6ff2fecfbfd5399dfd375170083c9230a0e0d6b | [
"MIT"
] | 3 | 2018-07-16T16:34:37.000Z | 2020-05-07T02:49:37.000Z | #pragma once
#include "bluecadet/core/SettingsManager.h"
namespace bluecadet {
typedef std::shared_ptr<class _TBOX_PREFIX_Settings> _TBOX_PREFIX_SettingsRef;
class _TBOX_PREFIX_Settings : public bluecadet::core::SettingsManager {
public:
static _TBOX_PREFIX_SettingsRef get() {
static auto instance = std::make_s... | 20.136364 | 78 | 0.785553 |
9bd83d012b59bdc8efde90bb604613f92c790f01 | 1,080 | h | C | ios/RemoteUserManager.h | qiongyue/react-native-aliyun-rtc | d1ca6781c3ef49823d54df77c4c692067f825fa8 | [
"Apache-1.1"
] | 1 | 2021-04-10T08:18:41.000Z | 2021-04-10T08:18:41.000Z | ios/RemoteUserManager.h | qiongyue/react-native-aliyun-rtc | d1ca6781c3ef49823d54df77c4c692067f825fa8 | [
"Apache-1.1"
] | null | null | null | ios/RemoteUserManager.h | qiongyue/react-native-aliyun-rtc | d1ca6781c3ef49823d54df77c4c692067f825fa8 | [
"Apache-1.1"
] | null | null | null | //
// RemoteUserManager.h
// AliyunRtc
//
// Created by Jason Law on 2020/8/12.
// Copyright © 2020 Facebook. All rights reserved.
//
#ifndef RemoteUserManager_h
#define RemoteUserManager_h
#import <Foundation/Foundation.h>
#import <AliRTCSdk/AliRtcEngine.h>
#import "RemoteUserModel.h"
NS_ASSUME_NONNULL_BEGIN
@... | 13.846154 | 74 | 0.707407 |
da92243646456cbb8bcf8b48f69378a49244d3db | 6,220 | h | C | Utils/Foundation/NSDate/NSDate+WWTHelper.h | lyimin/WWTKit | 2afe2583b31f34a0d7e02aa2aea0a6837a646c6f | [
"MIT"
] | null | null | null | Utils/Foundation/NSDate/NSDate+WWTHelper.h | lyimin/WWTKit | 2afe2583b31f34a0d7e02aa2aea0a6837a646c6f | [
"MIT"
] | null | null | null | Utils/Foundation/NSDate/NSDate+WWTHelper.h | lyimin/WWTKit | 2afe2583b31f34a0d7e02aa2aea0a6837a646c6f | [
"MIT"
] | null | null | null | //
// NSDate+WWTHelper.h
// WWTKit
//
// Created by EamonLiang on 2019/4/14.
// Copyright © 2019 wewave Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
//------------------------------------------------------------------------
#pragma mark - Constants
//-------------------------------------------... | 25.080645 | 97 | 0.49373 |
fb040b8f414cbaeb85c62e6280ca16743b39a8b8 | 1,675 | h | C | BH/DataSysteam.h | Redx93/BH | 0b3eaf31cbb043ae0f7809e811ad7aa953b9d369 | [
"MIT"
] | null | null | null | BH/DataSysteam.h | Redx93/BH | 0b3eaf31cbb043ae0f7809e811ad7aa953b9d369 | [
"MIT"
] | null | null | null | BH/DataSysteam.h | Redx93/BH | 0b3eaf31cbb043ae0f7809e811ad7aa953b9d369 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
#include <vector>
#include "SaveSysteam.h"
struct Item
{
int index;
std::string name;
Item() :index(0) { }
~Item() { }
Item(int index) : index(index)
{
this->index = index;
load();
}
Item(const Item& other)
{
this->name = other.name;
this->index = o... | 15.952381 | 60 | 0.595224 |
ee16e159a8ebf0b78cc45918a3e6ee9c9b58f8f8 | 802 | h | C | LDAPConnectionManager.h | cyberdork33/LDAPWrapper | d545e8fd13f2d68e7b5228a21b95e6abbcee21c0 | [
"MIT"
] | null | null | null | LDAPConnectionManager.h | cyberdork33/LDAPWrapper | d545e8fd13f2d68e7b5228a21b95e6abbcee21c0 | [
"MIT"
] | null | null | null | LDAPConnectionManager.h | cyberdork33/LDAPWrapper | d545e8fd13f2d68e7b5228a21b95e6abbcee21c0 | [
"MIT"
] | null | null | null | //
// LDAPConnectionManager.h
// CertificateFinder
//
// Created by cyberdork33@gmail.com on 5/14/12.
//
#import <Foundation/Foundation.h>
#import <ldap.h>
@interface LDAPConnectionManager : NSObject
// Error Handling
@property BOOL errorEncountered;
@property (readonly) NSString *lastLDAPError;
- (void)clearEr... | 24.30303 | 78 | 0.708229 |
870eef6cebeb073d791e8ba29990589c2f1db6ac | 9,262 | h | C | src/xma/include/app/xmascaler.h | subhransu-xilinx/XRT | 78f40abb9dcd10b2e8904c9a4f2d5fb69825de5e | [
"Apache-2.0"
] | null | null | null | src/xma/include/app/xmascaler.h | subhransu-xilinx/XRT | 78f40abb9dcd10b2e8904c9a4f2d5fb69825de5e | [
"Apache-2.0"
] | null | null | null | src/xma/include/app/xmascaler.h | subhransu-xilinx/XRT | 78f40abb9dcd10b2e8904c9a4f2d5fb69825de5e | [
"Apache-2.0"
] | 1 | 2020-03-28T05:50:59.000Z | 2020-03-28T05:50:59.000Z | /*
* Copyright (C) 2018, Xilinx Inc - All rights reserved
* Xilinx SDAccel Media Accelerator API
*
* 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://www.apache.org/licenses/LIC... | 38.591667 | 232 | 0.707623 |
7c81a14952b3a3992996041acc8a5a392f4cc920 | 1,937 | h | C | Socket.h | Upd4ting/CLib | 91b6be60678d5c3bb779237492144a225f1f5f33 | [
"MIT"
] | null | null | null | Socket.h | Upd4ting/CLib | 91b6be60678d5c3bb779237492144a225f1f5f33 | [
"MIT"
] | null | null | null | Socket.h | Upd4ting/CLib | 91b6be60678d5c3bb779237492144a225f1f5f33 | [
"MIT"
] | null | null | null | #pragma once
#include <string.h>
#include <stdio.h>
#include <stdlib.h> /* pour exit */
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <errno.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <pthread.h>
#include <signal.h>
#include <... | 22.011364 | 64 | 0.738255 |
dc323db09c6d6f0ac31bec8df04f9dcb48c3a86f | 5,580 | c | C | Laboratoires/Lab3/server-uni-udp.c | MonsieurBedard/420-0SV-SW | f753b0e0a11d416dbde04d852c260424c3a58a24 | [
"MIT"
] | null | null | null | Laboratoires/Lab3/server-uni-udp.c | MonsieurBedard/420-0SV-SW | f753b0e0a11d416dbde04d852c260424c3a58a24 | [
"MIT"
] | null | null | null | Laboratoires/Lab3/server-uni-udp.c | MonsieurBedard/420-0SV-SW | f753b0e0a11d416dbde04d852c260424c3a58a24 | [
"MIT"
] | null | null | null | /*****************************************************************
Module d'utilisation d'un socket UDP sur Unix
Stevens Gagnon
Departement Informatique
College Shawinigan
******************************************************************/
#define MAX_BUFFER 100
// --- Parametres spe... | 24.910714 | 101 | 0.546774 |
dc55ef7626ab207285665cb86d6e77761010e93b | 63,486 | c | C | testdata/csmith/289.c | Konstantin8105/c2go-rating | edba6b8aa1ce2a69a17b076596764fec656cb2f9 | [
"MIT"
] | null | null | null | testdata/csmith/289.c | Konstantin8105/c2go-rating | edba6b8aa1ce2a69a17b076596764fec656cb2f9 | [
"MIT"
] | null | null | null | testdata/csmith/289.c | Konstantin8105/c2go-rating | edba6b8aa1ce2a69a17b076596764fec656cb2f9 | [
"MIT"
] | null | null | null | /*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.2.0
* Git version: dcef523
* Options: (none)
* Seed: 2568542696
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
union U0 {
volatile signed f0 : 2;
uint16_t f1;
int16_t f2;
const uin... | 66.338558 | 3,143 | 0.602542 |
bceed1013c5cbc47ed1c8a7b2b16aca08cff22cc | 8,625 | h | C | readonly/mavlink_message/src/mavlink1.0/sensesoar/mavlink_msg_llc_out.h | KerryWu16/src | bed672dc1732cd6af1752bb54ab0abde015bb93a | [
"MIT"
] | 2 | 2017-12-17T11:07:56.000Z | 2021-08-19T09:35:11.000Z | readonly/mavlink_message/src/mavlink1.0/sensesoar/mavlink_msg_llc_out.h | KerryWu16/src | bed672dc1732cd6af1752bb54ab0abde015bb93a | [
"MIT"
] | null | null | null | readonly/mavlink_message/src/mavlink1.0/sensesoar/mavlink_msg_llc_out.h | KerryWu16/src | bed672dc1732cd6af1752bb54ab0abde015bb93a | [
"MIT"
] | 1 | 2021-08-19T07:41:48.000Z | 2021-08-19T07:41:48.000Z | // MESSAGE LLC_OUT PACKING
#define MAVLINK_MSG_ID_LLC_OUT 186
typedef struct __mavlink_llc_out_t
{
int16_t servoOut[4]; ///<
int16_t MotorOut[2]; ///<
} mavlink_llc_out_t;
#define MAVLINK_MSG_ID_LLC_OUT_LEN 12
#define MAVLINK_MSG_ID_186_LEN 12
#define ... | 33.823529 | 167 | 0.756986 |
f45e6eaff2e8a8986f952239778f36450edc0282 | 386 | h | C | CDDStoreDemo/CDDStoreDemo/Classes/Details(商品详情)/View/CollectionView/Main/服务Cell/DCDetailServicetCell.h | laodaobazi/CDDStore | 319d08c4c04d1a938b23304bcadd5c4c159306d9 | [
"Apache-2.0"
] | 832 | 2017-03-21T07:14:53.000Z | 2022-02-16T08:56:04.000Z | CDDStoreDemo/CDDStoreDemo/Classes/Details(商品详情)/View/CollectionView/Main/服务Cell/DCDetailServicetCell.h | LiuQiang11/CDDStore | 319d08c4c04d1a938b23304bcadd5c4c159306d9 | [
"Apache-2.0"
] | 22 | 2017-07-20T09:45:37.000Z | 2020-06-30T06:01:11.000Z | CDDStoreDemo/CDDStoreDemo/Classes/Details(商品详情)/View/CollectionView/Main/服务Cell/DCDetailServicetCell.h | LiuQiang11/CDDStore | 319d08c4c04d1a938b23304bcadd5c4c159306d9 | [
"Apache-2.0"
] | 270 | 2017-03-29T13:24:40.000Z | 2021-11-12T07:58:48.000Z | //
// DCDetailServicetCell.h
// CDDMall
//
// Created by apple on 2017/6/25.
// Copyright © 2017年 RocketsChen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "DCLIRLButton.h"
@interface DCDetailServicetCell : UICollectionViewCell
/* 服务按钮 */
@property (strong , nonatomic)DCLIRLButton *serviceButton;
/* 服... | 19.3 | 58 | 0.722798 |
bc4b2c4af8358a1f65901af2f075e8e2031d7317 | 472 | c | C | A02/repeat.c | MagdalenMcCulloch/assignments | 3a8f518411a29ee4a4c2073b8d58bed0377ee5d8 | [
"MIT"
] | null | null | null | A02/repeat.c | MagdalenMcCulloch/assignments | 3a8f518411a29ee4a4c2073b8d58bed0377ee5d8 | [
"MIT"
] | null | null | null | A02/repeat.c | MagdalenMcCulloch/assignments | 3a8f518411a29ee4a4c2073b8d58bed0377ee5d8 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
char *s; // char pointer array for the string entered
// should n be dynamic???
int n;
// the entered string can be at most 32 chars long
s = malloc(sizeof(char)*32);
printf("Enter a word: ");
scanf("%s",s);
printf("Enter a coun... | 18.153846 | 55 | 0.574153 |
90c9deace8953f96704d135784ffe378aea41aef | 25,695 | c | C | proc.c | gilichiko/osasm2 | 36ba061a584e64a3e2d981180edf5794800afbd6 | [
"MIT-0"
] | null | null | null | proc.c | gilichiko/osasm2 | 36ba061a584e64a3e2d981180edf5794800afbd6 | [
"MIT-0"
] | null | null | null | proc.c | gilichiko/osasm2 | 36ba061a584e64a3e2d981180edf5794800afbd6 | [
"MIT-0"
] | null | null | null | #include "types.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "x86.h"
#include "proc.h"
#include "spinlock.h"
//3.1 sturct mutex and states
enum mutex_state {
mutex_free, mutex_locked
};
struct mutex {
struct spinlock lock;
int mutex_id;
int mutex_index;
... | 25.720721 | 107 | 0.546098 |
55282967cba40f9cd2da44da1d913abb6eb8015b | 1,335 | h | C | KChatViewController/Message.h | KalpeshTalkar/ChatApplicationTemplate | 11623ec22acd8367d9795ff638a6a119fcd72c5e | [
"MIT"
] | 1 | 2019-02-15T09:58:48.000Z | 2019-02-15T09:58:48.000Z | KChatViewController/Message.h | KalpeshTalkar/ChatApplicationTemplate | 11623ec22acd8367d9795ff638a6a119fcd72c5e | [
"MIT"
] | null | null | null | KChatViewController/Message.h | KalpeshTalkar/ChatApplicationTemplate | 11623ec22acd8367d9795ff638a6a119fcd72c5e | [
"MIT"
] | null | null | null | //
// KMessage.h
// KChatViewController
//
// Created by Kalpesh Talkar on 26/12/15.
// Copyright © 2015 Kalpesh Talkar. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
// Default Image
#define DefaultImage @"default_message_image"
// Dictionary Keys
#define Message_Sender_Id @"... | 25.188679 | 62 | 0.764794 |
51a735350e25406829f5724078ee6b8a20728eb3 | 201 | h | C | include/processor.h | jedhelmers/CppND-System-Monitor_alt | 72c0dc7e1febfdd763684a6207efd544832ba075 | [
"MIT"
] | null | null | null | include/processor.h | jedhelmers/CppND-System-Monitor_alt | 72c0dc7e1febfdd763684a6207efd544832ba075 | [
"MIT"
] | null | null | null | include/processor.h | jedhelmers/CppND-System-Monitor_alt | 72c0dc7e1febfdd763684a6207efd544832ba075 | [
"MIT"
] | null | null | null | #ifndef PROCESSOR_H
#define PROCESSOR_H
#include "linux_parser.h"
class Processor {
public:
float Utilization();
private:
long prev_active_jiffies_{0};
long prev_total_jiffies_{0};
};
#endif | 14.357143 | 31 | 0.751244 |
4e85b2ce9dd068f976b55ecb949462fb1f3993b3 | 575 | c | C | wk2/palindrome.c | ad-t/UNSWCOMP2521-TutorialCode | e917a0e76e5941132dcb88c13a2b21468d72f6ce | [
"MIT"
] | 1 | 2019-02-25T23:25:53.000Z | 2019-02-25T23:25:53.000Z | wk2/palindrome.c | ad-t/UNSWCOMP2521-TutorialCode | e917a0e76e5941132dcb88c13a2b21468d72f6ce | [
"MIT"
] | null | null | null | wk2/palindrome.c | ad-t/UNSWCOMP2521-TutorialCode | e917a0e76e5941132dcb88c13a2b21468d72f6ce | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define TRUE 1
#define FALSE 0
int main (int argc, char * argv[]) {
char *possiblePalindrome = argv[1];
size_t length = strlen(possiblePalindrome);
unsigned int i = 0;
unsigned int j = length - 1;
unsigned int success = TRUE;
while (i < length / 2)... | 19.827586 | 57 | 0.605217 |
059a5886f24db32ce318ff0ecbd375eebb60c3a3 | 508 | h | C | cc/env/CCENV.h | tangzhe7/cpp | cd0c8ef29beb1c5a1ab874390862e122b7b11d16 | [
"Apache-2.0"
] | null | null | null | cc/env/CCENV.h | tangzhe7/cpp | cd0c8ef29beb1c5a1ab874390862e122b7b11d16 | [
"Apache-2.0"
] | null | null | null | cc/env/CCENV.h | tangzhe7/cpp | cd0c8ef29beb1c5a1ab874390862e122b7b11d16 | [
"Apache-2.0"
] | null | null | null | #ifndef CCENV_H
#define CCENV_H
#ifdef __GUNC__
//gunc
#define GUNC
#define CC_NULL nullptr
#define CC_INT32 int
#define U_CC_INT32 unsigned int
#elif __clang__
//Clang
#define CLANG
#define CC_NULL nullptr
#define CC_INT32 int
#define U_CC_INT32 u... | 18.142857 | 33 | 0.598425 |
059c80b513b384558490ab181642d53c5e024439 | 2,444 | h | C | src/Modules/Graphics/Graphics/Render/Cmd/RenderCmdList.h | sssr33/LuaModules | 357a8c9445a237f2c98685000f6c7da668ea0e72 | [
"MIT"
] | null | null | null | src/Modules/Graphics/Graphics/Render/Cmd/RenderCmdList.h | sssr33/LuaModules | 357a8c9445a237f2c98685000f6c7da668ea0e72 | [
"MIT"
] | null | null | null | src/Modules/Graphics/Graphics/Render/Cmd/RenderCmdList.h | sssr33/LuaModules | 357a8c9445a237f2c98685000f6c7da668ea0e72 | [
"MIT"
] | null | null | null | #pragma once
//#include "ClearScreenCmd.h"
//#include "RenderRectCmd.h"
//
//#include <vector>
//#include <array>
//
//class RenderCmdList {
// enum class CmdMemInfoType : size_t {
// ClearScreen,
// RenderRect,
//
// Count
// };
//public:
// RenderCmdList();
//
// void Clear();
//
// ... | 22.841121 | 56 | 0.48527 |
bf583440b85056d7a34492d0a4e565cfedb2230a | 4,431 | h | C | src/system/SystemFaultInjection.h | lanyuwen/openweave-core | fbed1743a7b62657f5d310b98909c59474a6404d | [
"Apache-2.0"
] | null | null | null | src/system/SystemFaultInjection.h | lanyuwen/openweave-core | fbed1743a7b62657f5d310b98909c59474a6404d | [
"Apache-2.0"
] | null | null | null | src/system/SystemFaultInjection.h | lanyuwen/openweave-core | fbed1743a7b62657f5d310b98909c59474a6404d | [
"Apache-2.0"
] | 1 | 2020-11-04T06:58:12.000Z | 2020-11-04T06:58:12.000Z | /*
*
* Copyright (c) 2016-2017 Nest Labs, 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... | 32.822222 | 128 | 0.723087 |
be2f238ef5c7632c667c0d4466b018f9df6bff62 | 277 | h | C | Roguelike/Wall.h | DawidCieslik/Roguelike-2D | 09bc43de1fa670fc6ad5ff6e226b611f7afa2b83 | [
"MIT"
] | null | null | null | Roguelike/Wall.h | DawidCieslik/Roguelike-2D | 09bc43de1fa670fc6ad5ff6e226b611f7afa2b83 | [
"MIT"
] | null | null | null | Roguelike/Wall.h | DawidCieslik/Roguelike-2D | 09bc43de1fa670fc6ad5ff6e226b611f7afa2b83 | [
"MIT"
] | null | null | null | #pragma once
#include "Tile.h"
class Wall : public Tile
{
std::string texture_filename;
public:
Wall(int x, int y, char symbol);
void collision_up(Unit* object);
void collision_down(Unit* object);
void collision_left(Unit* object);
void collision_right(Unit* object);
}; | 21.307692 | 36 | 0.740072 |
9c4f2d111b5a4165f51f5d90b57e186db1580d17 | 904 | h | C | usr/src/compat/bhyve/amd64/machine/smp.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/compat/bhyve/amd64/machine/smp.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/compat/bhyve/amd64/machine/smp.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy o... | 29.16129 | 78 | 0.75 |
a4440a2ddcbe71ae9144761a9d015e5cc34145c5 | 371 | h | C | class-timetable/NightClassTableViewCell.h | pupboss/class-timetable | 2ba6f70be6e65f0253a24fab4d4e232df6b2aaea | [
"MIT",
"Unlicense"
] | 75 | 2015-04-24T19:13:21.000Z | 2021-07-22T01:51:27.000Z | class-timetable/NightClassTableViewCell.h | jetleesg/Class-Timetable | 2ba6f70be6e65f0253a24fab4d4e232df6b2aaea | [
"MIT",
"Unlicense"
] | null | null | null | class-timetable/NightClassTableViewCell.h | jetleesg/Class-Timetable | 2ba6f70be6e65f0253a24fab4d4e232df6b2aaea | [
"MIT",
"Unlicense"
] | 34 | 2015-04-24T20:32:58.000Z | 2020-08-25T05:32:21.000Z | //
// NightClassTableViewCell.h
// eduadmin
//
// Created by Li Jie on 4/18/15.
// Copyright (c) 2015 PUPBOSS. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NightClassTableViewCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UILabel *courseLable;
@property (strong, nonatomic) NSString ... | 18.55 | 60 | 0.735849 |
4ac669d5db4cf9d55146b9ea35fb0d33fada2f81 | 7,179 | c | C | new/libr/bin/p/bin_sfc.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | new/libr/bin/p/bin_sfc.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | 1 | 2021-12-17T00:14:27.000Z | 2021-12-17T00:14:27.000Z | new/libr/bin/p/bin_sfc.c | benbenwt/lisa_docker | 0b851223dbaecef9b27c418eae05890fea752d49 | [
"Apache-2.0"
] | null | null | null | /* radare - LGPL3 - 2017-2019 - usrshare */
#include <r_bin.h>
#include <r_lib.h>
#include "sfc/sfc_specs.h"
#include <r_endian.h>
static bool check_buffer(RBuffer *b) {
ut16 cksum1, cksum2;
ut64 length = r_buf_size (b);
// FIXME: this was commented out because it always evaluates to false.
// Need to be f... | 24.335593 | 121 | 0.637136 |
28b850f63de53e7e792934bd791b789076da7654 | 669 | c | C | src/bin/tests/main.c | dzwdz/pansy-fork | f46f3faf50a8dca67c5402995bd3b8406fc3410b | [
"MIT"
] | 3 | 2021-04-17T18:36:41.000Z | 2022-01-02T21:03:52.000Z | src/bin/tests/main.c | dzwdz/pansy-fork | f46f3faf50a8dca67c5402995bd3b8406fc3410b | [
"MIT"
] | 1 | 2021-05-09T18:27:43.000Z | 2021-05-09T18:27:43.000Z | src/bin/tests/main.c | dzwdz/pansy-fork | f46f3faf50a8dca67c5402995bd3b8406fc3410b | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdbool.h>
// malloc.c
void test_malloc();
// printf.c
void test_sprintf();
// string.c
void test_string();
// test runners are supposed to return true on success, false on failure
struct test_runner {
char *name;
void (*fun)();
};
struct test_runner runners[] = {
{"malloc... | 16.725 | 72 | 0.590433 |
93dbbe189b091429d20d8e37670827cf9b522099 | 227 | h | C | QMOpenApiDemo/QMOpenApiDemo/VC/PlaylistViewController.h | wszcug/WSZSDKTest | a73e7c32d8308f29f1a77a4f78d3bef3b11cfe81 | [
"MIT"
] | null | null | null | QMOpenApiDemo/QMOpenApiDemo/VC/PlaylistViewController.h | wszcug/WSZSDKTest | a73e7c32d8308f29f1a77a4f78d3bef3b11cfe81 | [
"MIT"
] | null | null | null | QMOpenApiDemo/QMOpenApiDemo/VC/PlaylistViewController.h | wszcug/WSZSDKTest | a73e7c32d8308f29f1a77a4f78d3bef3b11cfe81 | [
"MIT"
] | 1 | 2022-03-29T02:34:00.000Z | 2022-03-29T02:34:00.000Z | //
// PlaylistViewController.h
// QMOpenApiDemo
//
// Created by maczhou on 2021/10/26.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface PlaylistViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| 13.352941 | 52 | 0.762115 |
13bfbf43154076ca12efb197793ed1b8eb817976 | 460 | h | C | AliyunIdentityPlatform.framework/Headers/AliyunIdentityVerifyMode.h | aliyun/aliyun_identity_platform | ba5abf82d963633cf9cab87ab95d5a3b3e074a48 | [
"MIT"
] | 1 | 2022-01-14T09:29:40.000Z | 2022-01-14T09:29:40.000Z | AliyunIdentityPlatform.framework/Headers/AliyunIdentityVerifyMode.h | aliyun/aliyun_identity_platform | ba5abf82d963633cf9cab87ab95d5a3b3e074a48 | [
"MIT"
] | 1 | 2022-01-27T05:57:35.000Z | 2022-01-27T05:57:35.000Z | AliyunIdentityPlatform.framework/Headers/AliyunIdentityVerifyMode.h | aliyun/aliyun_identity_platform | ba5abf82d963633cf9cab87ab95d5a3b3e074a48 | [
"MIT"
] | null | null | null | //
// AliyunIdentityVerifyMode.h
// AliyunIdentityPlatform
//
// Created by nansong.zxc on 2020/7/24.
// Copyright © 2020 aliyun.com. All rights reserved.
//
#ifndef AliyunIdentityVerifyMode_h
#define AliyunIdentityVerifyMode_h
/* 识别类型 */
typedef NS_ENUM(NSInteger,AliyunIdentityMode){
/** 身份证OCR识别模式 */
... | 20.909091 | 53 | 0.721739 |
066a35e9126ce6eafe8b48c0bb1858b50e10f5ec | 508 | h | C | include/instructions/extIS.h | Benji377/Z80Emu | cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54 | [
"Apache-2.0"
] | 1 | 2021-05-25T08:18:14.000Z | 2021-05-25T08:18:14.000Z | include/instructions/extIS.h | Benji377/Z80Emu | cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54 | [
"Apache-2.0"
] | 7 | 2021-01-11T09:24:16.000Z | 2021-05-25T16:04:19.000Z | include/instructions/extIS.h | Benji377/Z80Emu | cc0d12a267e16e1c03c7cc8ef35b70ef9b582e54 | [
"Apache-2.0"
] | 2 | 2021-01-19T14:53:55.000Z | 2021-05-25T08:23:27.000Z | #ifndef __EXT_IS_H__
#define __EXT_IS_H__
class ExtIS;
#include "log.h"
#include "z80emu.h"
#include "z80emuinstruction.h"
class ExtIS{
public:
ExtIS(Z80*);
~ExtIS();
void fetch(Z80EmuInstrucion&);
void exec(Z80EmuInstrucion);
private:
Z80... | 18.142857 | 61 | 0.466535 |
7f6dd52f76390a109bcedff13b2ab3da0fcb2c73 | 7,357 | c | C | pyscf/lib/gto/fill_r_3c.c | umamibeef/pyscf | 1263d54b02914caf4476a3ed9a2de5e0c848954c | [
"Apache-2.0"
] | 501 | 2018-12-06T23:48:17.000Z | 2022-03-31T11:53:18.000Z | pyscf/lib/gto/fill_r_3c.c | fabijan5/pyscf | 09834c8f5a4f5320cdde29d285b6ccd89b3263e0 | [
"Apache-2.0"
] | 710 | 2018-11-26T22:04:52.000Z | 2022-03-30T03:53:12.000Z | pyscf/lib/gto/fill_r_3c.c | fabijan5/pyscf | 09834c8f5a4f5320cdde29d285b6ccd89b3263e0 | [
"Apache-2.0"
] | 273 | 2018-11-26T10:10:24.000Z | 2022-03-30T12:25:28.000Z | /* Copyright 2014-2018 The PySCF Developers. 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 requi... | 35.713592 | 90 | 0.47465 |
82f19d3c272b2f122b439a12231a52be44e74825 | 293 | h | C | Melrose.framework/Headers/VideoPlayerViewController.h | tapReplay/tRMelrose | af9ca6632bb51ddb2c94af09114345b64297c7a3 | [
"MIT"
] | null | null | null | Melrose.framework/Headers/VideoPlayerViewController.h | tapReplay/tRMelrose | af9ca6632bb51ddb2c94af09114345b64297c7a3 | [
"MIT"
] | null | null | null | Melrose.framework/Headers/VideoPlayerViewController.h | tapReplay/tRMelrose | af9ca6632bb51ddb2c94af09114345b64297c7a3 | [
"MIT"
] | null | null | null | //
// VideoPlayerViewController.h
//
// Created by Savalas Colbert on 7/3/16.
// Copyright © 2016 bumpTrack. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Video.h"
@interface VideoPlayerViewController : UIViewController
@property (nonatomic, strong) Video * thisVideo;
@end
| 20.928571 | 55 | 0.726962 |
d0e80ad526845fee261c60bfe31b4fd1fa277ac5 | 5,285 | c | C | openeuler-kernel/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 31 | 2021-04-27T08:50:40.000Z | 2022-03-01T02:26:21.000Z | openeuler-kernel/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | openeuler-kernel/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxgm200.c | Ddnirvana/test-CI | dd7a0a71281075e8ab300bddbab4a9fa039958f0 | [
"MulanPSL-1.0"
] | 12 | 2021-04-06T02:23:10.000Z | 2022-02-28T11:43:19.000Z | /*
* Copyright 2015 Red Hat Inc.
*
* 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, d... | 28.722826 | 77 | 0.664144 |
aaef8930b315fc8a1f31218364986856539d1957 | 263 | h | C | MixedErrorLog/Classes/ObjcErrorLog.h | cweymann/MixedErrorLog-Demo | c04577ed6d41839db12fa602f8e32682bb418210 | [
"MIT"
] | 1 | 2021-04-29T06:50:37.000Z | 2021-04-29T06:50:37.000Z | MixedErrorLog/Classes/ObjcErrorLog.h | cweymann/MixedErrorLog-Demo | c04577ed6d41839db12fa602f8e32682bb418210 | [
"MIT"
] | null | null | null | MixedErrorLog/Classes/ObjcErrorLog.h | cweymann/MixedErrorLog-Demo | c04577ed6d41839db12fa602f8e32682bb418210 | [
"MIT"
] | 1 | 2021-04-29T06:50:41.000Z | 2021-04-29T06:50:41.000Z | //
// ObjcErrorLog.h
//
// Created by Claus Weymann on 23.07.19.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ObjcErrorLog : NSObject
+(void)error:(NSString*)message;
+(void)xerror:(NSString*)message;
@end
NS_ASSUME_NONNULL_END
| 13.842105 | 41 | 0.737643 |
65d72f757fec8ef82c81efda6f362fe452b3f967 | 53,590 | h | C | include/gui/xcb/mip_xcb_window.h | LoTek2/MIP2 | d77c103f5b30e974dbac22ac0eaadb9204aaf144 | [
"MIT"
] | 5 | 2022-01-05T16:51:38.000Z | 2022-02-07T15:14:38.000Z | include/gui/xcb/mip_xcb_window.h | LoTek2/MIP2 | d77c103f5b30e974dbac22ac0eaadb9204aaf144 | [
"MIT"
] | null | null | null | include/gui/xcb/mip_xcb_window.h | LoTek2/MIP2 | d77c103f5b30e974dbac22ac0eaadb9204aaf144 | [
"MIT"
] | 1 | 2022-03-11T21:00:22.000Z | 2022-03-11T21:00:22.000Z | #ifndef mip_xcb_window_included
#define mip_xcb_window_included
//----------------------------------------------------------------------
/*
TODO:
invalidate: send user/client message somehow, with rect and widget,
so we can optimize redrawing.. draw only from widget and downwards
(skipping opaque widgets... | 31.266044 | 135 | 0.580705 |
6544130f5b245c68c581286c8350013a6c014d32 | 534 | h | C | common/include/DebugLevelLogger.h | stfc-aeg/odin-data | 6c6353a11e0b813fc9db866ba610649dbbec95da | [
"Apache-2.0"
] | 7 | 2018-06-12T15:48:52.000Z | 2021-06-01T03:50:42.000Z | common/include/DebugLevelLogger.h | stfc-aeg/odin-data | 6c6353a11e0b813fc9db866ba610649dbbec95da | [
"Apache-2.0"
] | 211 | 2017-05-18T13:38:02.000Z | 2022-03-03T11:05:47.000Z | common/include/DebugLevelLogger.h | dls-controls/odin-data | ddbfb90d361d0b397fcfd30df4a749faaa8c84d6 | [
"Apache-2.0"
] | 8 | 2017-05-15T08:05:05.000Z | 2022-03-13T18:31:41.000Z | /*
* DebugLevelLogger.h
*
* Created on: Mar 3, 2015
* Author: tcn
*/
#ifndef INCLUDE_DEBUGLEVELLOGGER_H_
#define INCLUDE_DEBUGLEVELLOGGER_H_
#include <log4cxx/logger.h>
using namespace log4cxx;
using namespace log4cxx::helpers;
typedef unsigned int DebugLevel;
extern DebugLevel debug_level;
void set_debu... | 21.36 | 55 | 0.754682 |
04e86e180fb82b7ebbee9a6f26d479c2e134ef5e | 1,764 | h | C | distributed/include/worker.h | jangmys/pbb | b53111ff3016cbf6885e99537ff80528e602bff6 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T17:14:21.000Z | 2022-03-22T17:14:21.000Z | distributed/include/worker.h | jangmys/pbb | b53111ff3016cbf6885e99537ff80528e602bff6 | [
"BSD-3-Clause"
] | null | null | null | distributed/include/worker.h | jangmys/pbb | b53111ff3016cbf6885e99537ff80528e602bff6 | [
"BSD-3-Clause"
] | null | null | null | #ifndef WORKER_H
#define WORKER_H
#include <atomic>
#include <memory>
class pbab;
class communicator;
class matrix_controller;
class work;
class fact_work;
class solution;
class gpubb;
class worker {
// private:
public:
pbab * pbb;
int size;
int M;
std::unique_ptr<communicator> comm;
mat... | 19.384615 | 51 | 0.689909 |
b7b5de9012aaa6d8026221221f92fc206bece5c0 | 3,595 | h | C | tools/AgentMonitor/resource.h | lvbaocheng/CC | 3febe5ce2804ef681a0d7d2f0011c3f92f2552d6 | [
"Apache-2.0"
] | 4 | 2020-05-14T02:37:06.000Z | 2021-12-08T07:54:13.000Z | tools/AgentMonitor/resource.h | lvbaocheng/CC | 3febe5ce2804ef681a0d7d2f0011c3f92f2552d6 | [
"Apache-2.0"
] | 1 | 2019-06-21T09:52:18.000Z | 2019-06-21T09:52:18.000Z | tools/AgentMonitor/resource.h | lvbaocheng/CC | 3febe5ce2804ef681a0d7d2f0011c3f92f2552d6 | [
"Apache-2.0"
] | 22 | 2018-07-11T06:30:39.000Z | 2021-11-12T16:16:14.000Z | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by AgentMonitor.rc
//
#define IDD_ABOUTBOX 100
#define IDP_OLE_INIT_FAILED 100
#define IDD_MAINFORMVIEW 103
#define IDD_AGENTDETAILFORMVIEW 104
#define IDD_SYSINFOFORMVIEW 106
... | 41.321839 | 50 | 0.622253 |
ec7d9fbbe498fc0ea86ccfd64a0abdcded94766a | 294 | h | C | HeyLoading/QXGradientLabel.h | zhangzhaopds/heyfoxTest | f9accba429274fea93f18ee4d577110552277319 | [
"MIT"
] | null | null | null | HeyLoading/QXGradientLabel.h | zhangzhaopds/heyfoxTest | f9accba429274fea93f18ee4d577110552277319 | [
"MIT"
] | null | null | null | HeyLoading/QXGradientLabel.h | zhangzhaopds/heyfoxTest | f9accba429274fea93f18ee4d577110552277319 | [
"MIT"
] | null | null | null | //
// QXGradientLabel.h
// Loading_demo
//
// Created by 张昭 on 24/02/2018.
// Copyright © 2018 heyfox. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface QXGradientLabel : UILabel
@property (nonatomic, copy) NSString *message;
@property (nonatomic, assign) float progress;
@end
| 17.294118 | 49 | 0.707483 |
0c4113c57b7a29058dd72aef0e64a44b5e111110 | 374 | h | C | library/netliba/v6/udp_debug.h | avant1/catboost | 36e301b4167e3fe371f254474b1561a8acc3851d | [
"Apache-2.0"
] | null | null | null | library/netliba/v6/udp_debug.h | avant1/catboost | 36e301b4167e3fe371f254474b1561a8acc3851d | [
"Apache-2.0"
] | null | null | null | library/netliba/v6/udp_debug.h | avant1/catboost | 36e301b4167e3fe371f254474b1561a8acc3851d | [
"Apache-2.0"
] | null | null | null | #pragma once
namespace NNetliba
{
struct TRequesterPendingDataStats
{
int InpCount, OutCount;
ui64 InpDataSize, OutDataSize;
TRequesterPendingDataStats() { memset(this, 0, sizeof(*this)); }
};
struct TRequesterQueueStats
{
int ReqCount, RespCount;
ui64 ReqQueueSize, RespQueueSize;
TRequester... | 17.809524 | 68 | 0.713904 |
4d11f6eeb943db5ecafa4cc95981a7f6cea651e5 | 1,890 | h | C | external/libtorch/libtorch/include/torch/csrc/jit/script/schema_matching.h | yngtodd/metaltorch | 823a2e56526c34d8687992ed4feae992e79ebbac | [
"MIT"
] | 15 | 2019-08-10T02:36:38.000Z | 2021-07-14T13:45:32.000Z | external/libtorch/libtorch/include/torch/csrc/jit/script/schema_matching.h | yngtodd/metaltorch | 823a2e56526c34d8687992ed4feae992e79ebbac | [
"MIT"
] | 7 | 2019-10-21T03:08:51.000Z | 2022-03-11T23:54:28.000Z | external/libtorch/libtorch/include/torch/csrc/jit/script/schema_matching.h | yngtodd/metaltorch | 823a2e56526c34d8687992ed4feae992e79ebbac | [
"MIT"
] | 5 | 2019-09-27T02:41:40.000Z | 2021-11-05T20:40:49.000Z | #pragma once
#include <torch/csrc/WindowsTorchApiMacro.h>
#include <torch/csrc/jit/ir.h>
#include <torch/csrc/jit/named_value.h>
#include <ATen/core/function_schema.h>
namespace torch {
namespace jit {
namespace script {
// try to match a list if inputs and keyword 'attributes' to this schema,
// if it works return ... | 30.983607 | 80 | 0.741799 |
d6f14a48f7c7f01a3c1e2d7dcdfc13349aa80160 | 9,904 | c | C | release/src-rt-6.x.4708/router/samba3/source4/heimdal/lib/gssapi/krb5/external.c | zaion520/ATtomato | 4d48bb79f8d147f89a568cf18da9e0edc41f93fb | [
"FSFAP"
] | 2 | 2019-01-13T09:19:10.000Z | 2019-02-15T01:21:02.000Z | release/src-rt-6.x.4708/router/samba3/source4/heimdal/lib/gssapi/krb5/external.c | zaion520/ATtomato | 4d48bb79f8d147f89a568cf18da9e0edc41f93fb | [
"FSFAP"
] | null | null | null | release/src-rt-6.x.4708/router/samba3/source4/heimdal/lib/gssapi/krb5/external.c | zaion520/ATtomato | 4d48bb79f8d147f89a568cf18da9e0edc41f93fb | [
"FSFAP"
] | 2 | 2020-03-08T01:58:25.000Z | 2020-12-20T10:34:54.000Z | /*
* Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... | 29.652695 | 77 | 0.724758 |
eaca7c0e6c4f4c00cab6d93bcf9620e33623b7ee | 3,909 | h | C | src/mame/audio/leland.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/audio/leland.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/audio/leland.h | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Aaron Giles
/*************************************************************************
Cinemat/Leland driver
*************************************************************************/
#ifndef MAME_AUDIO_LELAND_H
#define MAME_AUDIO_LELAND_H
#pragma once
#include "cpu/... | 29.390977 | 135 | 0.771553 |
26aabd8f1f9f9388c0d591f70040eb9dd9121cf1 | 331 | h | C | SSYDictionaryEntry.h | jerrykrinock/ClassesObjC | b680efaf27c0a20440fc47b4fdc320a9903b5f2a | [
"Apache-2.0"
] | 15 | 2015-01-03T20:52:46.000Z | 2020-08-18T13:16:40.000Z | SSYDictionaryEntry.h | jerrykrinock/ClassesObjC | b680efaf27c0a20440fc47b4fdc320a9903b5f2a | [
"Apache-2.0"
] | 1 | 2015-08-30T19:52:41.000Z | 2015-08-30T20:18:29.000Z | SSYDictionaryEntry.h | jerrykrinock/ClassesObjC | b680efaf27c0a20440fc47b4fdc320a9903b5f2a | [
"Apache-2.0"
] | 1 | 2019-07-08T06:18:02.000Z | 2019-07-08T06:18:02.000Z | #import <Cocoa/Cocoa.h>
@interface SSYDictionaryEntry : NSObject {
NSMutableDictionary* _parent ;
id _key ;
id _value ;
}
@end
// Transforms a dictionary into an array of SSDictionaryEntrys
// Reverse transforms an array of SSDictionaryEntrys into a dictionary
@interface DicToReadableValuesArray : NSValueTransfo... | 19.470588 | 70 | 0.785498 |
bb316eae5a485c3555b5ffb034bfb04e6b11dabd | 424 | h | C | LibLsp/lsp/lsTextDocumentIdentifier.h | supakorn-ras/LspCpp | 9f2718378f36c731e8f60b123fd9b74835f5e315 | [
"MIT"
] | 30 | 2019-12-21T07:17:42.000Z | 2022-03-24T03:50:38.000Z | LibLsp/lsp/lsTextDocumentIdentifier.h | supakorn-ras/LspCpp | 9f2718378f36c731e8f60b123fd9b74835f5e315 | [
"MIT"
] | 15 | 2020-07-28T01:55:10.000Z | 2021-12-14T08:57:28.000Z | LibLsp/lsp/lsTextDocumentIdentifier.h | supakorn-ras/LspCpp | 9f2718378f36c731e8f60b123fd9b74835f5e315 | [
"MIT"
] | 9 | 2020-08-10T03:38:56.000Z | 2021-12-13T09:59:32.000Z | #pragma once
#include "LibLsp/JsonRpc/serializer.h"
#include "lsDocumentUri.h"
//Text documents are identified using a URI.On the protocol level,
//URIs are passed as strings.The corresponding JSON structure looks like this:
struct lsTextDocumentIdentifier {
/**
* The text document's URI.
*/
lsDocumentUri uri;
... | 30.285714 | 78 | 0.785377 |
180d6c762c5b17bf0e9672855c0ee5e9a3b42dec | 11,222 | c | C | drivers/sdhci_mmc/mmc.c | intel/efiwrapper | 95f032976feead1d9702959af1e5925629b63f67 | [
"BSD-2-Clause"
] | 22 | 2018-02-22T12:32:21.000Z | 2020-09-16T14:09:20.000Z | drivers/sdhci_mmc/mmc.c | MrDominique/efiwrapper | 95f032976feead1d9702959af1e5925629b63f67 | [
"BSD-2-Clause"
] | 2 | 2019-05-18T08:52:10.000Z | 2020-09-17T15:49:06.000Z | drivers/sdhci_mmc/mmc.c | MrDominique/efiwrapper | 95f032976feead1d9702959af1e5925629b63f67 | [
"BSD-2-Clause"
] | 11 | 2018-03-04T20:09:31.000Z | 2022-01-17T08:16:09.000Z | /******************************************************************************
*
* INTEL CONFIDENTIAL
*
* Copyright (c) 1999-2013 Intel Corporation All Rights Reserved.
*
* The source code contained or described herein and all documents related to
* the source code (Material) are owned by Intel Corporation or i... | 22.399202 | 80 | 0.650864 |
184cdb291eea0467acb53abbaa57d317dd5fa7b1 | 5,208 | h | C | dp/third-party/hyperscan/src/parser/position.h | jtravee/neuvector | a88b9363108fc5c412be3007c3d4fb700d18decc | [
"Apache-2.0"
] | 2,868 | 2017-10-26T02:25:23.000Z | 2022-03-31T23:24:16.000Z | src/parser/position.h | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 270 | 2017-10-30T19:53:54.000Z | 2022-03-30T22:03:17.000Z | src/parser/position.h | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 403 | 2017-11-02T01:18:22.000Z | 2022-03-14T08:46:20.000Z | /*
* Copyright (c) 2015, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the follow... | 48.222222 | 115 | 0.703917 |
17552e22219c46de2e5645a3605e746b189ac1da | 40,210 | c | C | rl.c | Eidonko/Art | ef8c434c6a0dd11dbaa695387515d3697e196874 | [
"MIT"
] | null | null | null | rl.c | Eidonko/Art | ef8c434c6a0dd11dbaa695387515d3697e196874 | [
"MIT"
] | null | null | null | rl.c | Eidonko/Art | ef8c434c6a0dd11dbaa695387515d3697e196874 | [
"MIT"
] | null | null | null |
# line 2 "rl.y"
/*
*
* File: rl.y
*
* Description: parser of the RL language
*
* Language: yacc
*
* By Eidon@tutanota.com
*/
#define VERSION "v1.2 2018-06-14"
#define EFTOS_ENV "EFTOS_HOME"
#define EFTOS_SRC ".eftosrc"
#define EFTOS_OUT ".eftosrcode"
/* input and output file names */
... | 32.585089 | 121 | 0.394976 |
a57ae222ebd037a5e2b292b1b2c78c5b9f15f9e6 | 3,403 | c | C | firmware/fx2.c | auscompgeek/litex-buildenv | fc388fffa6e8ebd0c6483186c914177d7c69e7e6 | [
"BSD-2-Clause"
] | 198 | 2018-01-17T05:39:54.000Z | 2022-03-15T08:59:16.000Z | firmware/fx2.c | auscompgeek/litex-buildenv | fc388fffa6e8ebd0c6483186c914177d7c69e7e6 | [
"BSD-2-Clause"
] | 610 | 2017-12-31T01:32:32.000Z | 2022-03-19T22:07:28.000Z | firmware/fx2.c | auscompgeek/litex-buildenv | fc388fffa6e8ebd0c6483186c914177d7c69e7e6 | [
"BSD-2-Clause"
] | 85 | 2018-01-13T05:51:38.000Z | 2022-02-11T18:54:14.000Z | #include "fx2.h"
#include "asm.h"
#include "stdio_wrap.h"
#ifdef CSR_OPSIS_I2C_FX2_RESET_OUT_ADDR
#define FX2_HACK_SLAVE_ADDRESS 0x40
#define FX2_HACK_SHIFT_REG_FULL 1
#define FX2_HACK_SHIFT_REG_EMPTY 2
#define FX2_HACK_STATUS_READY 0
#include "fx2_fw_usbjtag.c"
#ifdef ENCODER_BASE
#include "fx2_fw_hdmi2usb.c"
#en... | 23.308219 | 148 | 0.723185 |
023a5bc93b45e17955d693378fc05969820531a7 | 2,687 | h | C | BizSwaggerClient/Classes/SwaggerClient/Api/SWGSupplychainApi.h | yidixue/objc-client | 6b1963c0e85e5d2ae5f6026821d1e1caba089416 | [
"MIT"
] | null | null | null | BizSwaggerClient/Classes/SwaggerClient/Api/SWGSupplychainApi.h | yidixue/objc-client | 6b1963c0e85e5d2ae5f6026821d1e1caba089416 | [
"MIT"
] | null | null | null | BizSwaggerClient/Classes/SwaggerClient/Api/SWGSupplychainApi.h | yidixue/objc-client | 6b1963c0e85e5d2ae5f6026821d1e1caba089416 | [
"MIT"
] | null | null | null | #import <Foundation/Foundation.h>
#import "SWGCompanyClueApiResponse.h"
#import "SWGPhoneClueApiResponse.h"
#import "SWGSupplychainApiResponse.h"
#import "SWGApi.h"
/**
* 领商-对外开放服务API
* 提供领商对外开放服务所有Restful接口
*
* OpenAPI spec version: 1.0.0
* Contact: ys@ibizplus.cn
*
* NOTE: This class is auto generated by the swagger... | 27.418367 | 93 | 0.728694 |
8b046223c7987ac25549c3f2e480472997ba9478 | 4,171 | c | C | QMK_Files/eek/keymaps/ledtest/keymap.c | MangoIV/eek_doc | ee05095c604aa1e3b5a03b49860bcb5f050f8c50 | [
"MIT"
] | 5 | 2020-12-19T01:41:36.000Z | 2021-11-22T14:58:45.000Z | QMK_Files/eek/keymaps/ledtest/keymap.c | Klackygears/eek_case | 25e54fd43a136a6be60bc6f724a86bf9bb666df9 | [
"MIT"
] | 1 | 2020-12-19T16:54:56.000Z | 2020-12-19T16:54:56.000Z | QMK_Files/eek/keymaps/ledtest/keymap.c | Klackygears/eek_case | 25e54fd43a136a6be60bc6f724a86bf9bb666df9 | [
"MIT"
] | 2 | 2020-12-08T04:43:38.000Z | 2020-12-19T12:58:09.000Z | /* Copyright 2020 klackygears
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed i... | 44.849462 | 130 | 0.512347 |
a097754089540c98c5ac33decfcbb9558c778e15 | 3,920 | h | C | PrivateFrameworks/ManagedConfiguration.framework/MCEmailAccountPayload.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/ManagedConfiguration.framework/MCEmailAccountPayload.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/ManagedConfiguration.framework/MCEmailAccountPayload.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/ManagedConfiguration.framework/ManagedConfiguration
*/
@interface MCEmailAccountPayload : MCEmailAccountPayloadBase {
NSString * _emailAccountDescription;
NSString * _emailAccountName;
NSString * _emailAccountType;
NSString * _... | 42.608696 | 95 | 0.813776 |
48c850256aad9cb933d87f4cb1b4328e67c42df2 | 18,920 | c | C | Xport64_Demo/src/scenes/level00/level00.c | Wade-Tyhon/Xport64_Demo | 7109779459da536dc5661afe620c978f7fb09f77 | [
"MIT"
] | null | null | null | Xport64_Demo/src/scenes/level00/level00.c | Wade-Tyhon/Xport64_Demo | 7109779459da536dc5661afe620c978f7fb09f77 | [
"MIT"
] | null | null | null | Xport64_Demo/src/scenes/level00/level00.c | Wade-Tyhon/Xport64_Demo | 7109779459da536dc5661afe620c978f7fb09f77 | [
"MIT"
] | null | null | null | //#include "levelDefs.h"
#include "common.h"
#include "objectDefs.h"
#include "level00.h"
#include "collisionDefs.h"
#include "lvl00_scn00_defs.h"
#include "lvl00_scn01_defs.h"
// extern void newLevelObject_PolyList(u8 animFrame);
// extern void newLevelObject_transp_PolyList(u8 animFrame);
// extern voi... | 40 | 190 | 0.635729 |
3e575e1c008e5cc4cafe5e4dff4e7d453da9b313 | 1,437 | h | C | PhysicsTools/IsolationUtils/interface/PtIsolationAlgo.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | PhysicsTools/IsolationUtils/interface/PtIsolationAlgo.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | PhysicsTools/IsolationUtils/interface/PtIsolationAlgo.h | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #ifndef IsolationUtils_PtIsolationAlgo_h
#define IsolationUtils_PtIsolationAlgo_h
/* \class PtIsolationAlgo<T, C>
*
* \author Francesco Fabozzi, INFN
*/
#include "DataFormats/Math/interface/deltaR.h"
template <typename T, typename C>
class PtIsolationAlgo {
public:
typedef double value_type;
PtIsolationAlgo() {... | 30.574468 | 94 | 0.656924 |
851d48d3752e4dfe773e68d261984527138fc66f | 2,610 | h | C | hw/drivers/adc/adc_ads1015/include/adc_ads1015/adc_ads1015.h | loligo/loligo-mynewt | de274042aafdb4ae195e550b77faecb8b4d293fb | [
"Apache-2.0"
] | null | null | null | hw/drivers/adc/adc_ads1015/include/adc_ads1015/adc_ads1015.h | loligo/loligo-mynewt | de274042aafdb4ae195e550b77faecb8b4d293fb | [
"Apache-2.0"
] | 2 | 2018-08-21T13:02:33.000Z | 2018-09-05T01:04:57.000Z | hw/drivers/adc/adc_ads1015/include/adc_ads1015/adc_ads1015.h | lohmega/lohmega-mynewt | de274042aafdb4ae195e550b77faecb8b4d293fb | [
"Apache-2.0"
] | 1 | 2018-06-20T11:02:20.000Z | 2018-06-20T11:02:20.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 ... | 33.896104 | 87 | 0.659387 |
8b9b3e97ea6af724a674adf8969cf9a9041db9a1 | 1,955 | h | C | ogsr_engine/xrGame/Mincer.h | stepa2/OGSR-Engine | 32a23aa30506684be1267d9c4fc272350cd167c5 | [
"Apache-2.0"
] | 3 | 2019-09-10T13:37:08.000Z | 2021-05-18T14:53:29.000Z | ogsr_engine/xrGame/Mincer.h | stepa2/OGSR-Engine | 32a23aa30506684be1267d9c4fc272350cd167c5 | [
"Apache-2.0"
] | null | null | null | ogsr_engine/xrGame/Mincer.h | stepa2/OGSR-Engine | 32a23aa30506684be1267d9c4fc272350cd167c5 | [
"Apache-2.0"
] | 2 | 2020-06-26T11:50:59.000Z | 2020-12-30T11:07:31.000Z | /////////////////////////////////////////////////////
// Аномальная зона: "мясорубка"
// При попадании живого объекта в зону происходит
// электрический разряд
// Зона восстанавливает заряд через определенное время
// (через m_dwPeriod заряжается с 0 до m_fMaxPower)
//
/////////////////////////////////////////////////... | 35.545455 | 115 | 0.726343 |
eb63aa85f4ab1f0eb63aa37412ecb32f3704423b | 870 | h | C | Convoy Caravan Code parts/UIElements/TableView Cells/Notification Cells/FriendRequestLoaderTableViewCell.h | Priba91/Meeting | 5a653455b85be9c6125f64351c802e4a7495a55c | [
"MIT"
] | null | null | null | Convoy Caravan Code parts/UIElements/TableView Cells/Notification Cells/FriendRequestLoaderTableViewCell.h | Priba91/Meeting | 5a653455b85be9c6125f64351c802e4a7495a55c | [
"MIT"
] | null | null | null | Convoy Caravan Code parts/UIElements/TableView Cells/Notification Cells/FriendRequestLoaderTableViewCell.h | Priba91/Meeting | 5a653455b85be9c6125f64351c802e4a7495a55c | [
"MIT"
] | null | null | null | //
// FriendRequestLoaderTableViewCell.h
// Convoy Caravan
//
// Created by Priba on 3/4/19.
// Copyright © 2019 Priba. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NotificationModel.h"
#import "UserModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface FriendRequestLoaderTableViewCell : UITableViewCell
@prope... | 26.363636 | 88 | 0.789655 |
3a13e88fc1d566f8d3a4bfbd19659fa2c9d63518 | 14,221 | h | C | gpac-0.7.1/applications/osmo4_w32/resource.h | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | null | null | null | gpac-0.7.1/applications/osmo4_w32/resource.h | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | null | null | null | gpac-0.7.1/applications/osmo4_w32/resource.h | xu5343/ffmpegtoolkit_CentOS7 | 974496c709a1c8c69034e46ae5ce7101cf03716f | [
"Apache-2.0"
] | 1 | 2021-04-15T18:27:37.000Z | 2021-04-15T18:27:37.000Z | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Osmo4.rc
//
#define IDD_ABOUTBOX 100
#define IDR_MAINFRAME 128
#define IDR_GPACTYPE 129
#define IDD_CONTROL 132
#define IDI_PLAY 141
#define... | 43.891975 | 47 | 0.508544 |
36116d9e9f5584b260313b005ec05a96a902978b | 166 | h | C | Include/BigNumber/BigNumberDebug.h | vikvych/hierarchy_base | fa2cfed8ca1ffe82b5665d4a615bd205849ae609 | [
"MIT"
] | null | null | null | Include/BigNumber/BigNumberDebug.h | vikvych/hierarchy_base | fa2cfed8ca1ffe82b5665d4a615bd205849ae609 | [
"MIT"
] | null | null | null | Include/BigNumber/BigNumberDebug.h | vikvych/hierarchy_base | fa2cfed8ca1ffe82b5665d4a615bd205849ae609 | [
"MIT"
] | null | null | null | #ifndef HIERARCHY_BIG_NUMBER_DEBUG_H
#define HIERARCHY_BIG_NUMBER_DEBUG_H
#include "BigNumberT.h"
void BigNumberDebug(char *Prefix, BigNumberT *BigNumber);
#endif
| 18.444444 | 57 | 0.831325 |
3636d6ead5faaa1bcc66408d6af3597f2a92d7d8 | 16,239 | c | C | z2/part1/jm/random/454178192.c | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part1/jm/random/454178192.c | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part1/jm/random/454178192.c | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | #include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include "gamma.h"
#include <stdbool.h>
#include <string.h>
int main() {
/*
scenario: test_random_actions
uuid: 454178192
*/
/*
random actions, total chaos
*/
gamma_t* board = gamma_new(8, 11, 8, 15);
assert( board != NULL );
assert( ga... | 32.348606 | 50 | 0.60016 |
d4e842845d47e2c3febf79e6486b01e61c42a800 | 51,343 | c | C | testsuite/EXP_5/test959.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 34 | 2017-07-04T14:16:12.000Z | 2021-04-22T21:04:43.000Z | testsuite/EXP_5/test959.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 1 | 2017-07-06T03:43:44.000Z | 2017-07-06T03:43:44.000Z | testsuite/EXP_5/test959.c | ishiura-compiler/CF3 | 0718aa176d0303a4ea8a46bd6c794997cbb8fabb | [
"MIT"
] | 6 | 2017-07-04T16:30:42.000Z | 2019-10-16T05:37:29.000Z |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
volatile int16_t x4 = INT16_MIN;
int16_t x6 = 0;
int64_t x8 = -62362692501357LL;
int64_t x9 = INT64_MIN;
volat... | 18.180949 | 54 | 0.576242 |
a829286dffaed2822cb4dee091acb86127d68eda | 2,603 | h | C | src/rocksdb2/include/rocksdb/iterator.h | yinchengtsinghua/RippleCPPChinese | a32a38a374547bdc5eb0fddcd657f45048aaad6a | [
"BSL-1.0"
] | 5 | 2019-01-23T04:36:03.000Z | 2020-02-04T07:10:39.000Z | src/rocksdb2/include/rocksdb/iterator.h | yinchengtsinghua/RippleCPPChinese | a32a38a374547bdc5eb0fddcd657f45048aaad6a | [
"BSL-1.0"
] | null | null | null | src/rocksdb2/include/rocksdb/iterator.h | yinchengtsinghua/RippleCPPChinese | a32a38a374547bdc5eb0fddcd657f45048aaad6a | [
"BSL-1.0"
] | 2 | 2019-05-14T07:26:59.000Z | 2020-06-15T07:25:01.000Z |
//此源码被清华学神尹成大魔王专业翻译分析并修改
//尹成QQ77025077
//尹成微信18510341407
//尹成所在QQ群721929980
//尹成邮箱 yinc13@mails.tsinghua.edu.cn
//尹成毕业于清华大学,微软区块链领域全球最有价值专家
//https://mvp.microsoft.com/zh-cn/PublicProfile/4033620
//版权所有(c)2011至今,Facebook,Inc.保留所有权利。
//此源代码在两个gplv2下都获得了许可(在
//复制根目录中的文件)和Apache2.0许可证
//(在根目录的license.apache文件中找到)。
//版权所... | 20.824 | 71 | 0.741452 |
a866dd76e5248e81238f809954ea923fb432520c | 1,417 | c | C | expect/generic/exp_main_exp.c | crazy-max/expect-nt | 63986978ccd301f996bf0bbab4ae4e1e372e7a62 | [
"TCL"
] | 5 | 2019-06-22T08:11:47.000Z | 2022-03-10T13:11:07.000Z | expect/generic/exp_main_exp.c | crazy-max/expect-nt | 63986978ccd301f996bf0bbab4ae4e1e372e7a62 | [
"TCL"
] | null | null | null | expect/generic/exp_main_exp.c | crazy-max/expect-nt | 63986978ccd301f996bf0bbab4ae4e1e372e7a62 | [
"TCL"
] | 3 | 2019-06-22T08:11:48.000Z | 2022-03-10T13:11:08.000Z | /* main.c - main() and some logging routines for expect
Written by: Don Libes, NIST, 2/6/90
Design and implementation of this program was paid for by U.S. tax
dollars. Therefore it is public domain. However, the author and NIST
would appreciate credit if this program or parts of it are used.
*/
#ifdef __WIN32__
/*... | 23.229508 | 70 | 0.716302 |
dc91be4f93de18e34903a16a0764f10201ae8040 | 847 | c | C | sampleApp/onlyEpicsSrc/esample2.c | epics-modules/gtest | b09686557ffc72deb274b64a520038e8ce0d11f7 | [
"BSD-3-Clause",
"MIT"
] | 3 | 2020-06-23T17:12:21.000Z | 2021-09-07T11:23:41.000Z | sampleApp/mixdGtestEpicsSrc/esample2.c | epics-modules/gtest | b09686557ffc72deb274b64a520038e8ce0d11f7 | [
"BSD-3-Clause",
"MIT"
] | 1 | 2020-08-04T16:20:07.000Z | 2020-08-05T21:43:07.000Z | sampleApp/mixdGtestEpicsSrc/esample2.c | epics-modules/gtest | b09686557ffc72deb274b64a520038e8ce0d11f7 | [
"BSD-3-Clause",
"MIT"
] | 1 | 2020-04-16T10:48:23.000Z | 2020-04-16T10:48:23.000Z | /*************************************************************************\
* Copyright (c) 2020 ITER Organization.
* This module is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*********************************************************************... | 28.233333 | 79 | 0.585596 |
defbdf41255bb317c8077f5f3433bf66710aab7a | 1,627 | h | C | apiwzem/RootWzem.h | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | apiwzem/RootWzem.h | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | apiwzem/RootWzem.h | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | /**
* \file RootWzem.h
* API code for job RootWzem (declarations)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 6 Dec 2020
*/
// IP header --- ABOVE
#ifndef ROOTWZEM_H
#define ROOTWZEM_H
#include "ApiWzem_blks.h"
#define DpchAppRootWzemLog... | 21.986486 | 224 | 0.706822 |
8973a0900b245b60b786e00dc8550d7e90278257 | 134 | h | C | trabalho4/lista4/lista4.07/sets_ab.h | wilsoncalisto/exercicios_em_c | 847095128275d9f8185b64446abbff4fb8802e42 | [
"MIT"
] | null | null | null | trabalho4/lista4/lista4.07/sets_ab.h | wilsoncalisto/exercicios_em_c | 847095128275d9f8185b64446abbff4fb8802e42 | [
"MIT"
] | null | null | null | trabalho4/lista4/lista4.07/sets_ab.h | wilsoncalisto/exercicios_em_c | 847095128275d9f8185b64446abbff4fb8802e42 | [
"MIT"
] | null | null | null | int *set_a(int n);
int *set_b(int m);
int a_contains_b(int *a, int n, int *b, int m);
int ab_equals_ba(int *a, int n, int *b, int m);
| 26.8 | 47 | 0.641791 |
8e48ab40d1055ef7cfba723b9533e3e6b73f4f27 | 4,052 | c | C | src/rtlib/dev_file_encod_open.c | ktan2020/fbc | 6cd5f799593875c7212ce3109bdf7e759fb95524 | [
"MIT"
] | 1 | 2021-01-23T04:11:09.000Z | 2021-01-23T04:11:09.000Z | src/rtlib/dev_file_encod_open.c | ktan2020/fbc | 6cd5f799593875c7212ce3109bdf7e759fb95524 | [
"MIT"
] | null | null | null | src/rtlib/dev_file_encod_open.c | ktan2020/fbc | 6cd5f799593875c7212ce3109bdf7e759fb95524 | [
"MIT"
] | null | null | null | /* UTF-encoded file devices open */
#include "fb.h"
static FB_FILE_HOOKS hooks_dev_file = {
fb_DevFileEof,
fb_DevFileClose,
fb_DevFileSeek,
fb_DevFileTell,
fb_DevFileReadEncod,
fb_DevFileReadEncodWstr,
fb_DevFileWriteEncod,
fb_DevFileWriteEncodWstr,
fb_DevFileLock,
fb_DevFileUn... | 20.779487 | 80 | 0.580948 |
8e71eb3408a69e8365acc33f10ebfb725dd1bbfd | 1,126 | h | C | PrivateFrameworks/OfficeImport.framework/PBSlideBase.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/OfficeImport.framework/PBSlideBase.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/OfficeImport.framework/PBSlideBase.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/OfficeImport.framework/OfficeImport
*/
@interface PBSlideBase : NSObject
+ (unsigned long long)authorIdForName:(id)arg1 state:(id)arg2;
+ (unsigned char)mapDirection:(id)arg1;
+ (void)mapSlideNumberPlaceholder:(id)arg1 tgtSlideBase:(id)arg2 s... | 56.3 | 356 | 0.757549 |
c247438ed9e219151300680ad0106a18d9313746 | 460 | h | C | 081226_camera_param_PF/UniformGen.h | ntthuy11/CameraParameterTrackingUsingParticleFilter | b707101ae69b0da6be17811d44cd4d3727dcf0b1 | [
"MIT"
] | 1 | 2020-03-21T21:39:46.000Z | 2020-03-21T21:39:46.000Z | 080611_track_using_hough/UniformGen.h | ntthuy11/RectangularObjectTrackingBasedOnHoughTransform | 6312eb23bfc6822a673311f44cbfe86ae1735963 | [
"MIT"
] | null | null | null | 080611_track_using_hough/UniformGen.h | ntthuy11/RectangularObjectTrackingBasedOnHoughTransform | 6312eb23bfc6822a673311f44cbfe86ae1735963 | [
"MIT"
] | null | null | null | #pragma once
class CUniformGen
{
public:
double r_seed;
public:
CUniformGen(double seed=1.0);
virtual ~CUniformGen(void);
void setSeed(double seed);
double rnd();
};
class CGaussianGen
{
public:
CUniformGen uniGen;
double mean;
double sigma;
double t;
public:
CGaussianGen();
CGaussian... | 16.428571 | 48 | 0.682609 |
3298fc449c831bd85c91e7c3f7b28ee8b1db7df4 | 343 | c | C | HDU/1407/10909366_AC_436ms_1832kB.c | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | HDU/1407/10909366_AC_436ms_1832kB.c | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | HDU/1407/10909366_AC_436ms_1832kB.c | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | #include <stdio.h>
int main(void) {
int x, y, z, num, i, j, k;
while (scanf("%d", &num) != EOF) {
for (x = 1; x < 101; x++)
{
for (y = 1; y < 101; y++)
{
for (z = 1; z < 101; z++) {
if (x * x + y * y + z * z == num)
{
printf("%d %d %d\n", x, y, z );
goto End;
}
}
}
}... | 15.590909 | 38 | 0.361516 |
32bc826e5849128e324675f4928883baa30ddefc | 76,786 | c | C | src/vm.c | blade-lang/blade | 08016ad1319ac13baec4ab68b6a2db716ec4fb87 | [
"MIT"
] | 46 | 2021-07-16T07:49:07.000Z | 2022-03-22T21:15:58.000Z | src/vm.c | blade-lang/blade | 08016ad1319ac13baec4ab68b6a2db716ec4fb87 | [
"MIT"
] | 32 | 2021-08-30T12:24:36.000Z | 2022-03-07T18:08:57.000Z | src/vm.c | blade-lang/blade | 08016ad1319ac13baec4ab68b6a2db716ec4fb87 | [
"MIT"
] | 13 | 2021-08-30T14:29:08.000Z | 2022-03-31T14:20:04.000Z | #include "vm.h"
#include "common.h"
#include "compiler.h"
#include "config.h"
#include "memory.h"
#include "module.h"
#include "native.h"
#include "object.h"
#include "bytes.h"
#include "blade_dict.h"
#include "blade_file.h"
#include "blade_list.h"
#include "blade_string.h"
#include "blade_range.h"
#include "util.h"
... | 31.315661 | 121 | 0.57616 |
61f554e9248f70393cec08b1d9fb9b1adf9cf0ea | 1,364 | h | C | xcache/xcache_quic.h | MirrorZ/picoquic | 9ab5f2608d6033ae5e51bc56ecffa4e0caafb605 | [
"MIT"
] | null | null | null | xcache/xcache_quic.h | MirrorZ/picoquic | 9ab5f2608d6033ae5e51bc56ecffa4e0caafb605 | [
"MIT"
] | null | null | null | xcache/xcache_quic.h | MirrorZ/picoquic | 9ab5f2608d6033ae5e51bc56ecffa4e0caafb605 | [
"MIT"
] | 2 | 2019-11-19T19:59:01.000Z | 2021-07-23T20:03:41.000Z | #ifndef _XCACHE_QUIC_H_
#define _XCACHE_QUIC_H_
// QUIC includes
extern "C" {
#include "picoquic.h"
#include "picosocks.h"
#include "util.h"
#include <sys/types.h>
#include <ifaddrs.h>
#include <stdio.h>
};
// C++ standard includes
#include <string>
#include <memory>
#define SERVER_CERT_FILE "certs/cert.pem"
#define... | 25.735849 | 60 | 0.758798 |
50966fa0d02a7c90249bb30f5b184f0b7aa78f20 | 742 | h | C | System/Library/PrivateFrameworks/UIKitCore.framework/UIDebuggingInformationValueTableViewCell.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | System/Library/PrivateFrameworks/UIKitCore.framework/UIDebuggingInformationValueTableViewCell.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/UIKitCore.framework/UIDebuggingInformationValueTableViewCell.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:53:43 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia... | 29.68 | 126 | 0.757412 |
dd9122ca4d71dda32fedc2addb73d64cc5b173a4 | 2,994 | c | C | firmware/components/drivers_real_time_clocks/test/test_DS3231.c | kaiote/OpenHAP | ada812f8451b3463e355a62f3f5bb31ed226630b | [
"MIT"
] | null | null | null | firmware/components/drivers_real_time_clocks/test/test_DS3231.c | kaiote/OpenHAP | ada812f8451b3463e355a62f3f5bb31ed226630b | [
"MIT"
] | null | null | null | firmware/components/drivers_real_time_clocks/test/test_DS3231.c | kaiote/OpenHAP | ada812f8451b3463e355a62f3f5bb31ed226630b | [
"MIT"
] | null | null | null | #include "unity.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "DS3231.h"
#include "esp_err.h"
#include "esp_log.h"
#define TAG "DS3231-TEST"
#define DS3231_ADDR 0x68
#define I2C_MASTER_SCL_IO 19
#define I2C_MASTER_SDA_IO 21
#define I2C_MASTER_NUM I2C_NUM_0
#define I2C_MASTER... | 25.810345 | 157 | 0.640615 |
20f7cba6f374dfa236ccac9d499d1964d1f3cc79 | 2,820 | h | C | pink/include/redis_parser.h | kernelai/pinktest | 51a5f2afd4c3f71ba03660f50099a0c2267b8c10 | [
"BSD-3-Clause"
] | 264 | 2016-07-03T05:45:31.000Z | 2022-03-25T03:05:45.000Z | pink/include/redis_parser.h | kernelai/pinktest | 51a5f2afd4c3f71ba03660f50099a0c2267b8c10 | [
"BSD-3-Clause"
] | 16 | 2016-10-13T04:08:36.000Z | 2018-01-05T02:41:42.000Z | third/pink/pink/include/redis_parser.h | kxtry/pika | 476a7cf1ae5d5518a744e5933ada59b8fd765f6e | [
"MIT"
] | 132 | 2016-08-13T15:18:31.000Z | 2022-03-26T12:54:43.000Z | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PINK_INCLUDE_REDIS... | 27.378641 | 95 | 0.771631 |
deb6873385c62c834e52ac7222fd8370cfeeb423 | 9,864 | h | C | CBaseEntity.h | san1a/Karma-CS-GO-Hack | be6578d39b36d4ba6d3bc060b4b5076c98d4d34c | [
"MIT"
] | 20 | 2016-11-14T05:52:53.000Z | 2020-01-20T20:47:11.000Z | CBaseEntity.h | yashine59fr/Karma-CS-GO-Hack | be6578d39b36d4ba6d3bc060b4b5076c98d4d34c | [
"MIT"
] | 2 | 2018-05-06T12:41:44.000Z | 2022-02-08T10:38:11.000Z | CBaseEntity.h | san1a/Karma-CS-GO-Hack | be6578d39b36d4ba6d3bc060b4b5076c98d4d34c | [
"MIT"
] | 11 | 2016-11-26T04:14:16.000Z | 2020-01-20T20:47:14.000Z | #pragma once
#pragma once
enum MoveType_t
{
MOVETYPE_NONE = 0,
MOVETYPE_ISOMETRIC,
MOVETYPE_WALK,
MOVETYPE_STEP,
MOVETYPE_FLY,
MOVETYPE_FLYGRAVITY,
MOVETYPE_VPHYSICS,
MOVETYPE_PUSH,
MOVETYPE_NOCLIP,
MOVETYPE_LADDER,
MOVETYPE_OBSERVER,
MOVETYPE_CUSTOM,
MOVETYPE_LAST = MOVETYPE_CUSTOM,
MO... | 32.989967 | 99 | 0.727088 |
2d98750fd8d8a144b20566a249e275080d0d72fc | 1,837 | h | C | src/comb_sort.h | danesh-d/do-sort | 0664c41a366dd6161c64dc793f510f0fb66dd25a | [
"Apache-2.0"
] | null | null | null | src/comb_sort.h | danesh-d/do-sort | 0664c41a366dd6161c64dc793f510f0fb66dd25a | [
"Apache-2.0"
] | null | null | null | src/comb_sort.h | danesh-d/do-sort | 0664c41a366dd6161c64dc793f510f0fb66dd25a | [
"Apache-2.0"
] | null | null | null | #ifndef COMB_SORT_H
#define COMB_SORT_H
#include "do_sort.h"
using namespace std;
namespace do_sort {
// --- Heap sort.
template <class T>
class comb_sort : public sort<T> {
private:
float shrinkFactor;
int nextGap(int gap) {
gap = (int)(gap / shrinkFactor);
return gap < 1 ? 1 ... | 25.164384 | 80 | 0.495373 |
eec36607b49e265f776e665775c8995395135fc0 | 2,153 | c | C | embedded/itm-etm/stlink-trace/Examples/Keil-simple/main.c | sniperkit/snk.fork.snippets | a1fef02a4eb62d659656b7f1105161338058b617 | [
"Unlicense"
] | null | null | null | embedded/itm-etm/stlink-trace/Examples/Keil-simple/main.c | sniperkit/snk.fork.snippets | a1fef02a4eb62d659656b7f1105161338058b617 | [
"Unlicense"
] | null | null | null | embedded/itm-etm/stlink-trace/Examples/Keil-simple/main.c | sniperkit/snk.fork.snippets | a1fef02a4eb62d659656b7f1105161338058b617 | [
"Unlicense"
] | null | null | null | #include <stdio.h>
#include "stm32f10x.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_rcc.h"
volatile uint32_t msTicks; /* counts 1ms timeTicks */
volatile uint32_t msDelayCount;
/*----------------------------------------------------------------------------
SysTick_Handler
... | 27.253165 | 92 | 0.576405 |
7c52b7defd875368d2068d7ae8d3783a89880771 | 1,985 | h | C | gstreamer_tests/basic_tutorial/Gst/Pipeline.h | ermig1979/mmosbs | e009644c3e8294435e7909fc0b58372b6bb23a03 | [
"MIT"
] | 29 | 2019-03-12T04:34:34.000Z | 2020-04-21T19:02:30.000Z | gstreamer_tests/basic_tutorial/Gst/Pipeline.h | ermig1979/Examples | 729cfc82a28d3390314fab338d637549018ef6e1 | [
"MIT"
] | null | null | null | gstreamer_tests/basic_tutorial/Gst/Pipeline.h | ermig1979/Examples | 729cfc82a28d3390314fab338d637549018ef6e1 | [
"MIT"
] | 4 | 2020-08-25T04:32:17.000Z | 2021-12-18T09:47:51.000Z | #pragma once
#include "Common.h"
namespace Gst
{
class Pipeline
{
public:
Pipeline()
: _pipeline(NULL)
, _playing(false)
{
}
bool InitFromFile(const String& path)
{
String description = "playbin uri=file:///" + p... | 26.118421 | 99 | 0.426196 |
4073e3d26ca5cde9554c15b0106af2d84bd603b0 | 8,672 | h | C | src/game/Editor/Editor_Callback_Prototypes.h | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 346 | 2016-02-16T11:17:25.000Z | 2022-03-28T18:18:14.000Z | src/game/Editor/Editor_Callback_Prototypes.h | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 1,119 | 2016-02-14T23:19:56.000Z | 2022-03-31T21:57:58.000Z | src/game/Editor/Editor_Callback_Prototypes.h | FluffyQuack/ja2-stracciatella | 59781890986dc5360ed4b148b83836c029121d5f | [
"BSD-Source-Code"
] | 90 | 2016-02-17T22:17:11.000Z | 2022-03-12T11:59:56.000Z | #ifndef __EDITOR_CALLBACK_PROTOTYPES_H
#define __EDITOR_CALLBACK_PROTOTYPES_H
#include "Button_System.h"
// Editor Tabs
void TaskTerrainCallback(GUI_BUTTON *btn,INT32 reason);
void TaskBuildingCallback(GUI_BUTTON *btn,INT32 reason);
void TaskItemsCallback(GUI_BUTTON *btn,INT32 reason);
void TaskMercsCallback(GUI_BUT... | 55.235669 | 75 | 0.82726 |
0b6c98b7ec5cffb7e90aa35eb530525f89c12f35 | 503 | h | C | Tinier Raytracer/src/Geometry/Plane.h | BenCKB/Raytracer | d75ca92cb6593c675d906c249c14efbe24e6cf44 | [
"MIT"
] | null | null | null | Tinier Raytracer/src/Geometry/Plane.h | BenCKB/Raytracer | d75ca92cb6593c675d906c249c14efbe24e6cf44 | [
"MIT"
] | null | null | null | Tinier Raytracer/src/Geometry/Plane.h | BenCKB/Raytracer | d75ca92cb6593c675d906c249c14efbe24e6cf44 | [
"MIT"
] | null | null | null | #pragma once
#include "BaseObject.h"
class Plane : public BaseObject {
public:
Vector3 m_origin;
Vector3 m_normal;
Plane(Vector3 origin, Vector3 normal) {
m_origin = origin;
m_normal = normal;
}
bool intersect(Ray* ray, float& t) {
float RdotN = dot(ray->direction, m_normal);
if (abs(RdotN) > 0.0000001... | 17.964286 | 46 | 0.664016 |
3cb64a5f4477dd4a31a3de693d2679c3b4e8849e | 20,643 | h | C | clientd3d/resource.h | Darkman-M59/Meridian59_115 | 671b7ebe9fa2b1f40c8bd453652d596042291b90 | [
"FSFAP"
] | 1 | 2021-05-19T02:13:59.000Z | 2021-05-19T02:13:59.000Z | clientd3d/resource.h | siwithaneye/Meridian59 | 9dc8df728d41ba354c9b11574484da5b3e013a87 | [
"FSFAP"
] | null | null | null | clientd3d/resource.h | siwithaneye/Meridian59 | 9dc8df728d41ba354c9b11574484da5b3e013a87 | [
"FSFAP"
] | null | null | null | //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by client.rc
//
#define IDS_CANTINITSOCKET 1
#define IDS_CANTWRITE 2
#define IDS_COMERROR 3
#define IDOK2 3
#define IDS_MESSAGETOOLONG 4
#define... | 44.585313 | 48 | 0.502979 |
5698dafc9d492759f42a0c60288ac876ca57ec67 | 577 | h | C | Diablo/src/effects.h | Chronimal/devilution | a7ef09e1403771f0b27d9fa1c7e5f04e8a26f9e8 | [
"Unlicense"
] | null | null | null | Diablo/src/effects.h | Chronimal/devilution | a7ef09e1403771f0b27d9fa1c7e5f04e8a26f9e8 | [
"Unlicense"
] | null | null | null | Diablo/src/effects.h | Chronimal/devilution | a7ef09e1403771f0b27d9fa1c7e5f04e8a26f9e8 | [
"Unlicense"
] | null | null | null | /**
* @file effects.h
*
* Interface of functions for loading and playing sounds.
*/
#ifndef __EFFECTS_H__
#define __EFFECTS_H__
extern int sfxdelay;
extern int sfxdnum;
BOOL effect_is_playing(int nSFX);
void stream_stop();
void InitMonsterSND(int monst);
void FreeMonsterSnd();
void PlayEffect(int i, int mode);
vo... | 21.37037 | 57 | 0.759099 |
484e430d23c42cebf915c1bff7681065158a83cc | 4,875 | c | C | headers/clang_wmmintrin.c | mikhailramalho/reduce | 10be1bac0d1537d2edcb89baf8fbcf8fb42ff2b9 | [
"MIT"
] | 1 | 2018-07-05T17:40:34.000Z | 2018-07-05T17:40:34.000Z | headers/clang_wmmintrin.c | mikhailramalho/reduce | 10be1bac0d1537d2edcb89baf8fbcf8fb42ff2b9 | [
"MIT"
] | null | null | null | headers/clang_wmmintrin.c | mikhailramalho/reduce | 10be1bac0d1537d2edcb89baf8fbcf8fb42ff2b9 | [
"MIT"
] | null | null | null | char clang_wmmintrin_buf [] = {
47,42,61,61,61,45,45,45,45,32,119,109,109,105,110,116,
114,105,110,46,104,32,45,32,65,69,83,32,105,110,116,114,
105,110,115,105,99,115,32,45,45,45,45,45,45,45,45,45,
45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,
45,45,45,45,45,45,45,45,45,45,45,61,61,61,10,32,
42,10,32,42,32,80,101,11... | 52.419355 | 68 | 0.690667 |
ad884c135314d76cb766d2022d615662ea27428d | 2,684 | h | C | tools/testing/selftests/arm64/signal/testcases/testcases.h | CPU-Code/-Linux_kernel | 44dc3358bc640197528f5b10dbed0fd3717af65b | [
"AFL-3.0"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | src/linux/tools/testing/selftests/arm64/signal/testcases/testcases.h | lukedsmalley/oo-kernel-hacking | 57161ae3e8a780a72b475b3c27fec8deef83b8e1 | [
"MIT"
] | 13 | 2021-07-10T04:36:17.000Z | 2022-03-03T10:50:05.000Z | src/linux/tools/testing/selftests/arm64/signal/testcases/testcases.h | lukedsmalley/oo-kernel-hacking | 57161ae3e8a780a72b475b3c27fec8deef83b8e1 | [
"MIT"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2019 ARM Limited */
#ifndef __TESTCASES_H__
#define __TESTCASES_H__
#include <stddef.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <ucontext.h>
#include <signal.h>
/* Architecture specific sigframe definitions */
#in... | 25.561905 | 76 | 0.674739 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.