text
stringlengths
84
499k
source
stringclasses
6 values
slice
stringclasses
1 value
est_tokens
int32
24
143k
score
float32
/* ////////////////////////////////////////////////////////////////////////////////////// * includes */ #include "../demo.h" /* ////////////////////////////////////////////////////////////////////////////////////// * implementation */ static tb_void_t tb_test_atomic32_get() { tb_trace_i("atomic32_get(): test ....
code_c
code
1,477
null
<filename>MAVPlayerDmeo/MAVPlayerDmeo/MAVPlayerDmeo-Bridging-Header.h // // Use this file to import your target's public headers that you would like to expose to Swift. // #import "Channel.h" #import "DownloadManager.h" #import "MediaServer.h" #import "DeviceTool.h"
code_c
code
76
null
<reponame>google-ar/chromium<gh_stars>100-1000 // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMECAST_MEDIA_VIDEO_PLANE_CONTROLLER_H_ #define CHROMECAST_MEDIA_VIDEO_PLANE_CONTROLLER_H_ #inc...
code_c
code
1,153
null
<reponame>carlos-mazieri/qmob-solutions-test #ifndef GADGETEDITORBOOLEAN_H #define GADGETEDITORBOOLEAN_H #include "editors/gadgeteditor.h" #include "editors/framegrided.h" class GadgetEditorBoolean : public GadgetEditor { Q_OBJECT public: explicit GadgetEditorBoolean(void *gadget, const QMetaProperty property...
code_c
code
142
null
<filename>src/socket.c<gh_stars>10-100 #include <errno.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/un.h> #include <unistd.h> #include "runes.h" #include "socket.h" #define MAX_SOCKET_PATH_LEN \ (sizeof(struct sockaddr_un) - offsetof(st...
code_c
code
756
null
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "reorder_kernel_base.h" namespace kernel_selector { class ReorderFromWinograd2x3Kernel : public ReorderKernelBase { public: ReorderFromWinograd2x3Kernel() : ReorderKernelBase("reorder_from_winograd_2x3_s...
code_c
code
220
null
DECL|SystemCoreClockUpdate|function|void SystemCoreClockUpdate(void) DECL|SystemCoreClock|variable|SystemCoreClock DECL|SystemCoreClock|variable|SystemCoreClock DECL|SystemCoreClock|variable|SystemCoreClock DECL|SystemInit|function|void SystemInit(void) DECL|__SYSTEM_CLOCK|macro|__SYSTEM_CLOCK DECL|is_disabled_in_debug...
code_c
code
166
null
<filename>src/trusted/validator/x86/decoder/generator/defsize64.c /* * Copyright (c) 2011 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * Captures instructions that assumes the default size is 64 bits, *...
code_c
code
1,300
null
<filename>cogent/drivers/tccg/code_main_tccg_11.c // // Sample Code: // #include <stdio.h> #include <stdlib.h> #include <string.h> //#define DEBUG_CORRECTNESS void pre_Initializing_Input_Tensors(); void post_Correctness(); // // # abcd-ec-abed // #t3 [a,16,b,16,c,16,d,16] += sum(e,16) * t2 [e,c] * v2 [a,b,e,d]; //...
code_c
code
1,427
null
// Copyright 2021 Phyronnaz #pragma once #include "CoreMinimal.h" #include "VoxelSharedPtr.h" #include "VoxelEngineVersionHelpers.h" /** * Delegate impl for weak lambda on shared pointers */ #if VOXEL_ENGINE_VERSION < 426 template <class UserClass, ESPMode SPMode, typename FuncType, typename FunctorT...
code_c
code
4,402
null
<reponame>jojoelfe/cisTEM<filename>src/core/particle.h /* \brief ReconstructedVolume class */ class ReconstructedVolume; /* class ParameterMap { bool position_in_stack; bool image_is_active; bool psi; bool theta; bool phi; bool x_shift; bool y_shift; bool defocus_1; bool defocus_2; bool defocus_angle; b...
code_c
code
2,200
null
// File created with /daemon/persistent_room_d.c #include <std.h> inherit "/cmds/avatar/avatar_room.c"; void create() { ::create(); set_name("ts_01"); set_property("indoors",0); set_property("light",0); set_property("no teleport",1); set_terrain("city"); set_travel("slick floor"); set_...
code_c
code
1,445
null
<reponame>softwarecapital/google.pdfium // Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef XFA_FGAS_CRT_CFGAS_STRINGFORMA...
code_c
code
880
null
<filename>include/awacs.h /* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/Ship/AWACS.h $ * ...
code_c
code
591
null
<reponame>yangxingpping/Cello #include "ud.h" #include "../include/Cello.h" #include "vld.h" void alloc1(var args) { printf("user alloc1\n"); struct UserAllocMem* p = get(args, $I(0)); p->len = c_int(get(get(args, $I(1)), $I(2))); p->pt = (char*)malloc(p->len); int y = 1; } void delloc1(var self) { struct ...
code_c
code
190
null
<filename>Factorial_async/fact_async.c /* * Author: <NAME> * */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> typedef struct _factorialData { int number; int result; void (*callback)(struct _factorialData*); } FactorialData; void factorial(void *args) { FactorialDa...
code_c
code
337
null
<reponame>zipated/src // Copyright 2016 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 CHROMEOS_COMPONENTS_TETHER_HOTSPOT_USAGE_DURATION_TRACKER_H_ #define CHROMEOS_COMPONENTS_TETHER_HOTSPOT_USAGE_DURATION_TRACK...
code_c
code
403
null
<reponame>ExaByt3s/hack_scripts<filename>Dark soft/Pony/source/PonySrc/3DES/d3des.c /* D3DES (V5.09) - * * A portable, public domain, version of the Data Encryption Standard. * * Written with Symantec's THINK (Lightspeed) C by <NAME>. * Thanks to: <NAME> for his excellent Initial and Inverse permutation * c...
code_c
code
5,855
null
<filename>testsuite/basic/engine_testsuite.h /* * Copyright 2019 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
code_c
code
484
null
<reponame>CCSEPBVR/KVS<filename>Source/Core/Numeric/AdaptiveKMeans.h /*****************************************************************************/ /** * @file AdaptiveKMeans.h * @author <NAME>, <NAME> */ /*---------------------------------------------------------------------------- * * Copyright (c) Visuali...
code_c
code
823
null
// Copyright (c) 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 PPAPI_CPP_COMPLETION_CALLBACK_H_ #define PPAPI_CPP_COMPLETION_CALLBACK_H_ #include "ppapi/c/pp_completion_callback.h" #include "ppapi/c/pp_er...
code_c
code
3,139
null
<filename>include/processor.h #ifndef PROCESSOR_H #define PROCESSOR_H #include <vector> using std::vector; class Processor { public: float Utilization(); // TODO: See src/processor.cpp // TODO: Declare any necessary private members private: long PrevIdle_{0}; long PrevNonIdle_{0}; long PrevTotal_{0}; long I...
code_c
code
117
null
<reponame>clayne/papyrus-debug-server<filename>dependencies/f4se/src/f4se/CommonLibF4/include/RE/BGSPreviewTransform.h<gh_stars>1-10 #pragma once #include "RE/BaseFormComponent.h" namespace RE { class BGSPreviewTransform : public BaseFormComponent { public: inline static const void* RTTI = RTTI_BGSPreviewTransf...
code_c
code
257
null
/* * Copyright (C) 2017-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "runtime/helpers/debug_helpers.h" #include "runtime/helpers/ptr_math.h" #include "runtime/memory_manager/host_ptr_defines.h" #include "runtime/memory_manager/memory_banks.h" #include "runtime/memory_manager...
code_c
code
2,962
null
<gh_stars>1-10 /*************************************************** Copyright (c) 2020 <NAME> (www.luisllamas.es) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Licens...
code_c
code
398
null
<filename>include/libtsp/nucleus.h /*------------ Telecommunications & Signal Processing Lab -------------- McGill University Routine: nucleus.h Description: Function prototypes for the TSP library internal (nucleus) routines Author / revision: <NAME> Copyright (C) 2020 $Revision: 2...
code_c
code
1,115
null
// BlockFarmland.h // Declares the cBlcokFarmlandHandler representing the block handler for farmland #pragma once #include "BlockHandler.h" #include "../BlockArea.h" class cBlockFarmlandHandler final : public cBlockHandler { using Super = cBlockHandler; public: using Super::Super; private: virtual ...
code_c
code
1,005
null
<gh_stars>1-10 /* * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_event_connect.h> #if (NGX_HAVE_TRANSPARENT_PROXY) static ngx_int_t ngx_event_connect_set_transparent(ngx_peer_connection_t *pc, ngx_socket_t s); #endif ...
code_c
code
2,866
null
// // RKCalibrateResponse.h // RobotKit // // Created by <NAME> on 6/15/11. // Copyright 2011 Orbotix Inc. All rights reserved. // /*! @file */ #import <Foundation/Foundation.h> #import "RKDeviceResponse.h" /*! * @brief Class that encapsulates the response from a calibrate command. * * This is a simple respo...
code_c
code
171
null
// // NSDate+NSDateRFC1123.h // MYKitDemo // // Created by sunjinshuai on 2017/11/18. // Copyright © 2017年 com.51fanxing. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSDate (NSDateRFC1123) /** Convert a RFC1123 'Full-Date' string (http://www.w3.org/Protocols/rf...
code_c
code
358
null
<reponame>mezox/SummitEngine #pragma once #include <PAL/RenderAPI/Vulkan/VulkanAPI.h> namespace PAL::RenderAPI { class VulkanImplMacOS final : public VulkanRenderAPI { public: VkSurfaceKHR CreateWindowSurface(void* nativeHandle) const override; private: void PlatformInitialize() override; void PlatformDein...
code_c
code
145
null
<reponame>kozakusek/ipp-2020-testy #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_golden_move_complexity_many_splits uuid: 785284750 */ /* gamma_golden_move complexity, attempts invalid golden m...
code_c
code
37,668
null
<reponame>lcatanes/medInria-public /*========================================================================= medInria Copyright (c) INRIA 2013 - 2014. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ...
code_c
code
574
null
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkMahalanobisDistanceMetric.h Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopyr...
code_c
code
1,253
null
<reponame>reaver-project/vapor /** * Vapor Compiler Licence * * Copyright © 2019 Michał "Griwes" Dominiak * * 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 gran...
code_c
code
906
null
<reponame>aliyun/aliyun-openapi-cpp-sdk /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
code_c
code
810
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" f...
code_c
code
987
null
#ifndef S_ELEMENTS_H #define S_ELEMENTS_H #define DEFAULT_FONT \ (BAGL_FONT_OPEN_SANS_REGULAR_11px | BAGL_FONT_ALIGNMENT_CENTER) #define DEFAULT_FONT_BOLD \ (BAGL_FONT_OPEN_SANS_EXTRABOLD_11px | BAGL...
code_c
code
1,628
null
/** ****************************************************************************** * @file motion_mc_manager.c * @author MEMS Software Solutions Team * @brief This file contains Magnetometer Calibration interface functions ****************************************************************************** * @att...
code_c
code
1,598
null
/* 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 may...
code_c
code
10,210
null
<filename>tile.h #ifndef TILELIB_H #define TILELIB_H /* header for tile library */ #include "sprite.h" #include "camera.h" #include "medlib.h" #include "sound.h" /* tile map in memory */ #define MAX_LAYERS 5 #define MAX_TILEMAP_WIDTH 512 #define MAX_TILEMAP_HEIGHT 512 #define MAX_AXIS ...
code_c
code
854
null
<reponame>paulwratt/cin-5.34.00<gh_stars>1-10 /* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 <NAME> (<EMAIL>) * * For the licensing terms see the file COPYING * ************************************************************************/
code_c
code
89
null
<gh_stars>1-10 /* * Helper functions for ntdll * * Copyright 2000 <NAME> * Copyright 2010 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Lic...
code_c
code
2,518
null
/** ****************************************************************************** * @file HTS221_Driver.c * @author HESA Application Team * @version V1.1 * @date 10-August-2016 * @brief HTS221 driver file ****************************************************************************** * @attention * *...
code_c
code
8,186
null
#pragma once #include <EtRendering/PlanetTech/Planet.h> #include <EtFramework/SceneGraph/ComponentDescriptor.h> #include <EtFramework/SceneGraph/EntityLink.h> namespace et { namespace fw { //--------------------------------- // AtmosphereComponent // // Adds atmospheric scattering to an entity // class AtmosphereC...
code_c
code
519
null
<gh_stars>100-1000 /* * db_api.h * * Created on: Jul 15, 2018 * Author: newworld */ #ifndef LIBRARIES_DB_API_INCLUDE_EOSIO_CHAIN_DB_API_H_ #define LIBRARIES_DB_API_INCLUDE_EOSIO_CHAIN_DB_API_H_ #ifdef __cplusplus extern "C" { #endif void db_api_remove_i64(int itr); int db_api_get_i64( int itr, char* buff...
code_c
code
383
null
<gh_stars>0 #include <stdio.h> #include "dlist.h" #include "iterator.h" #define ITERATOR_FOREATCH_EN 1 typedef struct _dlist_int { dlist_node_t node; int data; }dlist_int_t; static void __dlist_iterator_next(iterator_t *p_iter) //让迭代器指向容器的下一个数据 { *p_iter = ((dlist_node_t *)*p_iter)->p_next; } static void __dl...
code_c
code
537
null
// // SKSplashIcon.h // SKSplashView // // Created by <NAME> on 10/25/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "SKSplashView.h" typedef NS_ENUM(NSInteger, SKIconAnimationType) { SKIconAnimationTypeBounce, SKIconAnimationTypeGrow, SKIconAnimationTypeShri...
code_c
code
290
null
/* Copyright <NAME> 2008-2015 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_PREDEF_COMPILER_MICROTEC_H #define BOOST_PREDEF_COMPILER_MICROTEC_H #include <boost/predef/version_number.h> #inc...
code_c
code
403
null
<filename>interface/src/ui/CachesSizeDialog.h // // CachesSizeDialog.h // // // Created by Clement on 1/12/15. // Copyright 2015 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #ifndef hifi_Cach...
code_c
code
301
null
<gh_stars>100-1000 /* * tclCmdIL.c -- * * This file contains the top-level command routines for most of * the Tcl built-in commands whose names begin with the letters * I through L. It contains only commands in the generic core * (i.e. those that don't depend much upon UNIX facilities). * * Copyright 1987-1991...
code_c
code
8,608
null
/* * Copyright (c) 2012, 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 fol...
code_c
code
1,165
null
// Copyright (c) 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 CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ #define CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ #include "base/values.h" #include "chromeos/dbus/...
code_c
code
1,165
null
<filename>src/platform/toft_system_memory_barrier.h // Copyright (c) 2012, The Toft Authors. // All rights reserved. // // Author: <NAME> <<EMAIL>> // toft/system/memory/barrier.h #ifndef BUBBLEFS_PLATFORM_TOFT_SYSTEM_MEMORY_BARRIER_H_ #define BUBBLEFS_PLATFORM_TOFT_SYSTEM_MEMORY_BARRIER_H_ namespace bubblefs { name...
code_c
code
240
null
<reponame>Numbrs/WebRTC /* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file...
code_c
code
887
null
/* * SEGS - Super Entity Game Server * http://www.segs.io/ * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt) * This software is licensed! (See License.txt for details) */ #pragma once #include "EventProcessor.h" #include <cassert> class BitStream; class LinkBase : public EventProcessor { // in...
code_c
code
200
null
<filename>libs/kaa/src/kaa/kaa_configuration_manager.c<gh_stars>0 /* * Copyright 2014-2016 CyberVision, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
code_c
code
3,119
null
#include <stdio.h> int main() { const char *string = "0123456789"; const char *ptr = string + 4; printf("-9 %% 4 = %d\n", -9 % 4); printf("ptr[0] = '%c' = string[4] = '%c'\n", ptr[0], string[4]); printf("ptr[-2] = '%c' = string[2] = '%c'\n", ptr[-2], string[2]); return (ptr[-2] - string[2]); }
code_c
code
88
null
/* GStreamer Base Functions * * Copyright 2002 <NAME> * Copyright 2010 <NAME>, CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
code_c
code
2,280
null
/** * Copyright (c) 2015 - 2021 YIYAS * * This source code is licensed under BSD 3-Clause License (the "License"). * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/BSD-3-Clause */
code_c
code
82
null
/* * 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 in the hope that it will be use...
code_c
code
8,034
null
<reponame>NCIEVS/OPS-Native-Utilities //******************************************************************* // Definition of the Ontyx property class OntyxProperty // Defines concept property objects in the Ontyx terminology kb // Initial class definition 4/13/2001 // Modified based on "ontylog.dtd" from 10/19/01 /...
code_c
code
775
null
<reponame>emotionbug/incubator-age-pg /*------------------------------------------------------------------------- * * xact.h-- * postgres transaction system header * * * Copyright (c) 1994, Regents of the University of California * * $Id: xact.h,v 1.4 1996/11/10 03:04:42 momjian Exp $ * *------------------...
code_c
code
1,011
null
<gh_stars>0 /*=============================================================================== Copyright (c) 2014 Qualcomm Connected Experiences, Inc. All Rights Reserved. Vuforia is a trademark of PTC Inc., registered in the United States and other countries. @file Mesh.h @brief Header file for Mesh class....
code_c
code
551
null
<reponame>KrzysztofKoch1/edk2 /** @file Common library assistance routines. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. Th...
code_c
code
2,569
null
/* * Copyright (C) 1999-2002, 2004-2009 Free Software Foundation, Inc. * This file is part of the GNU LIBICONV Library. * * The GNU LIBICONV Library is free software; you can redistribute it * and/or modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation...
code_c
code
422
null
<reponame>codemons/codebase-c #include <stdio.h> #include "binary-search.h" int main() { int arr[' '], arrSize, search, i; printf("Enter size of the array ::"); scanf("%d", &arrSize); printf("\nEnter elements of the array in ascending order ::\n"); for (i = 0; i < arrSize; i++) scanf("%d"...
code_c
code
182
null
<filename>src/vos/tests/evt_ctl.c /** * (C) Copyright 2017-2021 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ #define D_LOGFAC DD_FAC(tests) #include <stdlib.h> #include <stdarg.h> #include <stddef.h> #include <setjmp.h> #include <cmocka.h> #include <stdio.h> #include <fcntl.h> #include <s...
code_c
code
16,526
null
// btmha.c - main file for Boys Town Master Hearing Aid program #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include <time.h> #include <sigpro.h> #include "btmha.h" #include "eval.h" #include "stream.h" #include "var_list.h" #include "version.h" #define MAX_INC ...
code_c
code
4,900
null
/*Copyright (c) 1985-2012, B-Core (UK) Ltd Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare deri...
code_c
code
4,547
null
// // FightInfoModel.h // CyberGame // // Created by apple on 2020/6/15. // Copyright © 2020 zzh. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface FightInfoModel : NSObject /** 年月日时 */ @property (nonatomic, copy) NSString *datetimeStr; @end NS_ASSUME_NONNULL_END
code_c
code
90
null
/* ============================================================================= ____ ___ ____ ___ _ _ ___ __ __ ___ __ __ TM | _ \ |_ _| / ___| / _ \ | \ | | / _ \ | \/ | |_ _| \ \/ / | |_) | | | | | | | | | | \| | | | | | | |\/| | | | \ / | __/ | | ...
code_c
code
595
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
code_c
code
2,751
null
// // MCSinusoid.h // MCWave // // Created by <NAME> on 08/25/2016. // Copyright © 2016 iMegatron's Lab. All rights reserved. // #import <UIKit/UIKit.h> typedef enum MCSinusoidType { MCSinusoidTypeNone, MCSinusoidTypeNormal, MCSinusoidTypeDecay, MCSinusoidTypeDecayTwo, } MCSinusoidType; @interfac...
code_c
code
230
null
<filename>illustratorapi/illustrator/ASPragma.h /***********************************************************************/ /* */ /* ASPragma.h */ /* Makes #defines for #pragmas to eliminate compil...
code_c
code
493
null
// ################################################################################################# // # << NEORV32: neorv32_slink.c - Stream Link Interface HW Driver >> # // # ********************************************************************************************* # // # BSD 3-Clause...
code_c
code
4,414
null
<reponame>alexkaiser/IBAMR // --------------------------------------------------------------------- // // Copyright (c) 2011 - 2020 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the li...
code_c
code
1,737
null
<filename>drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h /* SPDX-License-Identifier: GPL-2.0 * Marvell OcteonTx2 CGX driver * * Copyright (C) 2018 Marvell International Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versi...
code_c
code
1,358
null
<reponame>internaru/Pinetree_P /* ************************************************************************************** * * Copyright (c) 2010 Marvell International, Ltd. * ************************************************************************************** * * Marvell Commercial License Option * * If you ...
code_c
code
27,253
null
/**************************************************************************** ** (c) Copyright IBM Corp. 2007 All rights reserved. ** ** The following sample of source code ("Sample") is owned by International ** Business Machines Corporation or one of its subsidiaries ("IBM") and is ** copyrighted and licensed, not...
code_c
code
32,336
null
// // HTTPHeaderStream.h // // $Id: //poco/1.7/Net/include/Poco/Net/HTTPHeaderStream.h#1 $ // // Library: Net // Package: HTTP // Module: HTTPHeaderStream // // Definition of the HTTPHeaderStream class. // // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-Licens...
code_c
code
616
null
<gh_stars>0 /* * Funny Language - a free style programming language. * Copyright (C) 2015 by fanguangping (<EMAIL>) * test_let.c */ //http://blog.csdn.net/baisung/article/details/7650488 分类 //http://www.cnblogs.com/xiangnan/p/3387146.html #include "test_let.h" void test_let(Scheme *sc) { test_op(sc, "(let ((x ...
code_c
code
141
null
/* * This file is part of GPaste. * * Copyright (c) 2010-2022, <NAME> <<EMAIL>> */ #include <gpaste-gtk4/gpaste-gtk-preferences-history-settings-page.h> #include <gpaste-gtk4/gpaste-gtk-preferences-group.h> struct _GPasteGtkPreferencesHistorySettingsPage { GPasteGtkPreferencesPage parent_instance; }; typedef...
code_c
code
3,042
null
/** * * 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 ...
code_c
code
1,664
null
// Copyright 2020 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 CHROMEOS_SERVICES_SECURE_CHANNEL_NEARBY_CONNECTION_MANAGER_H_ #define CHROMEOS_SERVICES_SECURE_CHANNEL_NEARBY_CONNECTION_MANAGER_H_ #include <mem...
code_c
code
1,074
null
<gh_stars>1-10 //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
code_c
code
2,732
null
// Copyright 2018 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CRYPTOHOME_BOOTLOCKBOX_BOOT_LOCKBOX_CLIENT_H_ #define CRYPTOHOME_BOOTLOCKBOX_BOOT_LOCKBOX_CLIENT_H_ #include <memory> #include <string> #incl...
code_c
code
509
null
<reponame>jj1232727/system_call /* * Allwinner A10 SoCs pinctrl driver. * * Copyright (C) 2014 <NAME> * * <NAME> <<EMAIL>> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. ...
code_c
code
11,680
null
<reponame>AlirezaMojtabavi/Interactive_Segmentation<gh_stars>1-10 #pragma once #include "vtkInteractorStyleImage.h" #include "vtkRenderWindowInteractor.h" #include "vtkCommand.h" #include "vtkImageProperty.h" class MyInteractionStyle3D : public vtkInteractorStyleImage { public: virtual void OnKeyPress(); int Get...
code_c
code
110
null
<gh_stars>1-10 /** Atomix project, BlockAS_i.c, TODO: insert summary here Copyright (c) 2015 Stanford University Released under the Apache License v2.0. See the LICENSE file for details. Author(s): <NAME> */ #include <osl/inc/swpform.h> #include "BlockAS_t.h" void BlockAS_i ( //Uint8 *mem_data_inp, //inp //Uint8 *...
code_c
code
328
null
<reponame>TANGO-Project/compss-tango /*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * Extrae * * Instrumentation package for p...
code_c
code
1,772
null
<gh_stars>1-10 // Copyright (c) 2019, NVIDIA CORPORATION. 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 // // U...
code_c
code
2,285
null
<filename>PsychSourceGL/Source/Common/Base/PsychInit.c /* PsychToolbox3/Source/Common/PsychInit.c AUTHORS: <EMAIL> awi <EMAIL> mk PLATFORMS: All PROJECTS: All HISTORY: 08/25/02 awi wrote it. 03/24/08 mk Add call to PsychExitTimeGlue() and some cleanup. ...
code_c
code
539
null
#pragma once #include "types.h" typedef enum { TEXT_COLOR_NONE = 0, TEXT_COLOR_YELLOW = 1, TEXT_COLOR_RED = 2, TEXT_COLOR_GREEN = 3, TEXT_COLOR_PURPLE = 4, TEXT_COLOR_GRAY = 5, TEXT_COLOR_WHITE = 6 } TextColor; typedef enum { UI_KEY_NONE = 0, UI_KEY_A = 1, UI_KEY_B = 2, UI...
code_c
code
229
null
<reponame>CullenMoMullen/AmbiqMicro-Apollo3 //***************************************************************************** // //! @file i2c_loopback.c //! //! @brief Example of I2C operation using IOM #0 talking to the IOS over I2C //! //! SWO is configured in 1M baud, 8-n-1 mode. //! @verbatim //! PIN Fly Lead Assump...
code_c
code
2,929
null
/*************************************************************************/ /* */ /* sampleuse */ /* */ /* Simple exampl...
code_c
code
708
null
<reponame>silan-wireless/FR801x-SDK /** * Copyright (c) 2019, <NAME> * * All rights reserved. * * */ /* * INCLUDE FILES **************************************************************************************** */ #include <stdio.h> #include <string.h> #include "gap_api.h" #include "osal_...
code_c
code
232
null
// 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 may...
code_c
code
3,441
null
<reponame>bernardocuteri/wasp /* * * Copyright 2013 <NAME>, <NAME>, and <NAME>. * * 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 ...
code_c
code
396
null
<filename>chrome/installer/util/set_reg_value_work_item.h // Copyright (c) 2011 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 CHROME_INSTALLER_UTIL_SET_REG_VALUE_WORK_ITEM_H_ #define CHROME_INSTALLER_UTIL_SET_R...
code_c
code
990
null