repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Changzw/every-case-demo
Pods/MPITextKit/Sources/NSAttributedString+MPITextKit.h
<gh_stars>100-1000 // // NSAttributedString+MPITextKit.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSAttributedString (MPITextKit) - (NSRange)mpi_rangeOfAll; /** Returns the plain text ...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextGeometryHelpers.h
<filename>Pods/MPITextKit/Sources/MPITextGeometryHelpers.h // // MPITextGeometryHelpers.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> FOUNDATION_EXTERN CGRect MPITextCGRectFitWithContentMode(CGRect rect...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextBackedString.h
// // MPITextBackedString.h // MeituMV // // Created by Tpphha on 2018/11/9. // Copyright © 2018 美图网. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** MPITextBackedString objects are used by the NSAttributedString class cluster as the values for text backed string attributes ...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextParser.h
// // MPITextParser.h // MeituMV // // Created by Tpphha on 2018/11/9. // Copyright © 2018 美图网. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @protocol MPITextParser <NSObject> @required /** Parse text. @param text The original attributed string. This method may parse the ...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextTruncationInfo.h
<reponame>Changzw/every-case-demo // // MPITextTruncationInfo.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @class MPITextRenderer; @interface MPITextTruncationInfo : NSObject @property (nonatomic, s...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextHashing.h
<gh_stars>100-1000 // // MPITextHashing.hpp // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #ifndef MPITextHashing_h #define MPITextHashing_h #import <Foundation/Foundation.h> FOUNDATION_EXTERN NSUInteger MPITextHashBytes(void *bytesarg, size_t length); #endif /...
Changzw/every-case-demo
Pods/QGVAPlayer/iOS/QGVAPlayer/QGVAPlayer/Classes/UIView+VAP.h
// UIView+VAP.h // Tencent is pleased to support the open source community by making vap available. // // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain ...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextTruncating.h
<reponame>Changzw/every-case-demo // // MPITextTruncating.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #ifndef MPITextTruncating_h #define MPITextTruncating_h #import <UIKit/UIKit.h> #if __has_include(<MPITextKit/MPITextKit.h>) #import <MPITextKit/MPITextTrun...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextInput.h
// // MPITextInput.h // MPITextKit // // Created by Tpphha on 2020/3/8. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MPITextSelectionRect : UITextSelectionRect @property (nonatomic) CGRect rect; @property (nonatomic) NSWritingDirection writingDirection; @property (nonatomic) BOOL containsStart; ...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextKitMacro.h
<reponame>Changzw/every-case-demo<gh_stars>100-1000 // // MPITextKitMacro.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #ifndef MPITextKitMacro_h #define MPITextKitMacro_h #ifndef MPITEXT_SWAP // swap two value #define MPITEXT_SWAP(_a_, _b_) do { __typeof__(_...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextKit.h
<filename>Pods/MPITextKit/Sources/MPITextKit.h // // MPITextKit.h // MeituMV // // Created by Tpphha on 2018/8/13. // Copyright © 2018年 美图网. All rights reserved. // #ifndef MPITextKit_h #define MPITextKit_h #if __has_include(<MPITextKit/MPITextKit.h>) FOUNDATION_EXPORT double MPITextKitVersionNumber; FOUNDATION_E...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextBackground.h
<filename>Pods/MPITextKit/Sources/MPITextBackground.h // // MPITextBorder.h // MeituMV // // Created by Tpphha on 2018/8/14. // Copyright © 2018年 美图网. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN /// It can be used to draw a background to a range of text. /// stored in the attributed s...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextKitConst.h
// // MPITextKitConst.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #ifndef MPITextKitConst_h #define MPITextKitConst_h #import <UIKit/UIKit.h> /** Text vertical alignment. */ typedef NS_ENUM(NSInteger, MPITextVerticalAlignment) { MPITextVerticalAlignmen...
Changzw/every-case-demo
Pods/MPITextKit/Sources/NSMutableAttributedString+MPITextKit.h
// // NSMutableAttributedString+MPITextKit.h // MeituMV // // Created by Tpphha on 2019/1/21. // Copyright © 2019 美图网. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface NSMutableAttributedString (MPITextKit) - (void)mpi_setAttribute:(NSString *)name value:(id)value range:(NSRang...
Changzw/every-case-demo
Pods/ZVActivityIndicatorView/ZVActivityIndicatorView/ZVActivityIndicatorView.h
// // ZVActivityIndicatorView.h // ZVActivityIndicatorView // // Created by zevwings on 24/01/2018. // Copyright © 2018 zevwings. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for ZVActivityIndicatorView. FOUNDATION_EXPORT double ZVActivityIndicatorViewVersionNumber; //! Project vers...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextSelectionView.h
<reponame>Changzw/every-case-demo // // MPITextSelectionView.h // MPITextKit // // Created by Tpphha on 2020/3/8. // #import <UIKit/UIKit.h> #if __has_include(<MPITextKit/MPITextKit.h>) #import <MPITextKit/MPITextInput.h> #else #import "MPITextInput.h" #endif NS_ASSUME_NONNULL_BEGIN @interface MPITextSelectionGra...
Changzw/every-case-demo
Pods/Target Support Files/ZVProgressHUD/ZVProgressHUD-umbrella.h
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "ZVProgressHUD.h" FOUNDATION_EXPORT double ZVProgressHUDVersionNumber; FOUNDATION_EXPORT const unsigned char ZVProgr...
Changzw/every-case-demo
Pods/MPITextKit/Sources/MPITextSentinel.h
<filename>Pods/MPITextKit/Sources/MPITextSentinel.h // // MPITextSentinel.h // MeituMV // // Created by Tpphha on 2019/3/24. // Copyright © 2019 美图网. All rights reserved. // #import <Foundation/Foundation.h> /// a thread safe incrementing counter. @interface MPITextSentinel : NSObject /// Returns the current val...
khoih-prog/MySQL_MariaDB_Generic
src/MySQL_Generic_Connection.h
/********************************************************************************************************************************* MySQL_Generic_Connection.h Library for communicating with a MySQL or MariaDB Server Based on and modified from Dr. <NAME>'s MySQL_Connector_Arduino Library https://github.com/Ch...
khoih-prog/MySQL_MariaDB_Generic
src/MySQL_Generic_Query_Impl.h
/********************************************************************************************************************************* MySQL_Generic_Query_Impl.h This file defines a query class for running queries on a MySQL/MariaDB server. You can issue any command using SQL statements for inserting or retrievin...
khoih-prog/MySQL_MariaDB_Generic
src/MySQL_Generic_WiFi.h
<gh_stars>10-100 /**************************************************************************************************************************** MySQL_Generic_WiFi.h Library for communicating with a MySQL or MariaDB Server Based on and modified from Dr. <NAME>'s MySQL_Connector_Arduino Library https://github....
khoih-prog/MySQL_MariaDB_Generic
src/MySQL_Generic_Ethernet.h
<reponame>khoih-prog/MySQL_MariaDB_Generic /********************************************************************************************************************************* MySQL_Generic_Ethernet.h Library for communicating with a MySQL or MariaDB Server Based on and modified from Dr. <NAME>'s MySQL_Co...
khoih-prog/MySQL_MariaDB_Generic
src/MySQL_Generic_Packet_Impl.h
<filename>src/MySQL_Generic_Packet_Impl.h /********************************************************************************************************************************* MySQL_Generic_Packet_Impl.h This file defines the base packet handling code for connecting to a MySQL/MariaDB server and executing queries. ...
lifning/fmoad-cailin
al.c
/* * Copyright (c) 2021 <NAME> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL W...
lifning/fmoad-cailin
al.h
<filename>al.h /* * Copyright (c) 2021 <NAME> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ...
Mattlk13/blis
sandbox/ref99/cntl/blx_gemm_cntl.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/compat/cblas/src/cblas.h
#ifndef CBLAS_H #define CBLAS_H #include <stddef.h> // We need to #include "bli_type_defs.h" in order to pull in the // definition of f77_int. But in order to #include that header, we // also need to pull in the headers that precede it in blis.h. #include "bli_system.h" #include "bli_config.h" #include "bli_config_mac...
Mattlk13/blis
frame/include/level0/bli_scal2js.h
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/thread/bli_thrcomm.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
ref_kernels/3/bli_trsm_ref.c
<reponame>Mattlk13/blis<filename>ref_kernels/3/bli_trsm_ref.c<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are ...
Mattlk13/blis
frame/ind/tapi/bli_l3_ind_tapi.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
kernels/old/c99/3/bli_gemm_c99_4x4.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/base/bli_check.h
<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
Mattlk13/blis
kernels/penryn/1f/bli_axpy2v_penryn_int.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/base/bli_info.c
<filename>frame/base/bli_info.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following con...
Mattlk13/blis
frame/thread/bli_thrcomm_pthreads.c
<filename>frame/thread/bli_thrcomm_pthreads.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
Mattlk13/blis
testsuite/src/test_gemmtrsm_ukr.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Copyright (C) 2018, Advanced Micro Devices, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided th...
Mattlk13/blis
frame/include/level0/bli_axpys.h
<reponame>Mattlk13/blis /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
Mattlk13/blis
frame/compat/f2c/bla_rotm.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/1m/bli_l1m_unb_var1.c
<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
Mattlk13/blis
frame/3/bli_l3_thrinfo.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/base/bli_const.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/base/bli_blksz.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
examples/oapi/08level2.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/include/level0/bli_axmys.h
<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
Mattlk13/blis
frame/base/bli_winsys.c
<filename>frame/base/bli_winsys.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
Mattlk13/blis
blastest/f2c/open.c
/**************************************************************** Copyright 1990 - 1997 by AT&T, Lucent Technologies and Bellcore. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in al...
Mattlk13/blis
frame/0/bli_l0_tapi.c
<filename>frame/0/bli_l0_tapi.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following con...
Mattlk13/blis
frame/base/cast/bli_castv.c
<reponame>Mattlk13/blis /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
Mattlk13/blis
frame/include/bli_config_macro_defs.h
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/include/level0/bli_copys.h
<reponame>Mattlk13/blis<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following ...
Mattlk13/blis
frame/include/level0/1r/bli_scal21rs.h
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/1m/packm/bli_packm_part.c
<filename>frame/1m/packm/bli_packm_part.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the fol...
Mattlk13/blis
frame/base/bli_arch.c
<reponame>Mattlk13/blis /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Copyright (C) 2018, Advanced Micro Devices, Inc. Redistribution and use in source and binary forms, with or without modification, a...
Mattlk13/blis
frame/1/other/packv/bli_packv_init.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Copyright (C) 2016, Hewlett Packard Enterprise Development LP Redistribution and use in source and binary forms, with or without modification, are permitte...
Mattlk13/blis
kernels/old/x86/3/bli_gemm_opt_d4x2.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
kernels/zen/3/bli_trsm_small.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2018, Advanced Micro Devices, Inc. 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 ...
Mattlk13/blis
kernels/zen/1f/bli_axpyf_zen_int_8.c
<reponame>Mattlk13/blis /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2017, Advanced Micro Devices, Inc. Copyright (C) 2018, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, a...
Mattlk13/blis
frame/include/level0/bli_gets.h
<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
Mattlk13/blis
frame/include/level0/old/bli_copynzjs.h
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/include/level0/bli_dotjs.h
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/util/bli_util_check.c
<reponame>Mattlk13/blis /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
Mattlk13/blis
examples/tapi/04level3.c
<reponame>Mattlk13/blis /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
Mattlk13/blis
sandbox/ref99/base/blx_blksz.c
<filename>sandbox/ref99/base/blx_blksz.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
Mattlk13/blis
kernels/old/x86/1m/bli_packm_2xk.c
<filename>kernels/old/x86/1m/bli_packm_2xk.c /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ...
Mattlk13/blis
build/detect/config/old/cpuid_arm.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2015, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/thread/bli_thrinfo.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/1m/packm/bli_packm_struc_cxk_4mi.c
<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
Mattlk13/blis
kernels/penryn/1/bli_axpyv_penryn_int.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
kernels/skx/3/bli_dgemm_skx_asm_16x14.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
frame/1m/bli_l1m_tapi.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
ref_kernels/3/bli_gemm_ref.c
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
Mattlk13/blis
ref_kernels/1m/bli_packm_cxk_ref.c
<gh_stars>0 /* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
Mattlk13/blis
frame/base/bli_pool.h
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
sryze/wesley
include/ws_base64.h
#ifndef WS_BASE64_H #define WS_BASE64_H #include <stddef.h> size_t ws_base64_encode(const void *data, size_t len, char *buf, size_t buf_size); #endif /* WS_BASE64_H */
sryze/wesley
src/ws.c
#include <assert.h> #include <errno.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include "ws.h" #include "ws_base64.h" #include "ws_http.h" #include "ws_sha1.h" #include "ws_socket.h" #include "ws_string.h" #define count_of(a) (sizeof(a) / sizeof(a[0])) #define MAX_HTTP_HEADERS (8 * 1024) /* HTTP RF...
sryze/wesley
src/ws_string.c
#include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "ws_string.h" bool ws_strcasebegin(const char *str, const char *substr) { return strncasecmp(str, substr, strlen(substr)) == 0; } #ifndef __linux__ char *ws_strndup(const char *str, size_t len) { char *str_dup; str_dup = m...
sryze/wesley
src/ws_sha1.c
<reponame>sryze/wesley<filename>src/ws_sha1.c /* Based on code from RFC 3174: https://tools.ietf.org/html/rfc3174 */ #include "ws_sha1.h" #define CIRCULAR_SHIFT(bits, word) \ (((word) << (bits)) | ((word) >> (32 - (bits)))) static void pad_message(ws_sha1_context *); static void process_message_block(ws_sha1...
sryze/wesley
src/ws_http.c
<filename>src/ws_http.c #include <stdio.h> #include <string.h> #include "ws_http.h" #include "ws_string.h" #define count_of(a) (sizeof(a) / sizeof(a[0])) #define CRLF "\r\n" #define IS_SPACE(c) ((c) == ' ') #define IS_HSPACE(c) ((c) == ' ' || (c) == '\t') #define IS_DIGIT(c) ((c) >= '0' && (c) <= '9') #define SKIP(x) ...
sryze/wesley
src/ws_base64.c
<reponame>sryze/wesley<gh_stars>0 #include "ws_base64.h" #define BYTE_BITS 8 #define CHAR_BITS 6 static const char base64_padding_char = '='; static const char base64_index_table[] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y',...
sryze/wesley
include/ws_string.h
<reponame>sryze/wesley<gh_stars>0 #ifndef WS_STRING_H #define WS_STRING_H #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <string.h> #if defined _WIN32 && (defined _MSC_VER || !defined __GNUC__) #if !defined _MSC_VER || _MSC_VER <= 1900 #define snprintf _snprintf #endif #define strcasec...
sryze/wesley
include/ws_http.h
#ifndef WS_HTTP_H #define WS_HTTP_H #include <stdbool.h> #include "ws_socket.h" struct ws_http_fragment { const char *ptr; size_t length; }; const char *ws_http_parse_request_line( const char *buf, struct ws_http_fragment *method, struct ws_http_fragment *target, int *version); const char *ws_http_parse_...
sryze/wesley
include/ws.h
#ifndef WS_H #define WS_H #include <stddef.h> #include "ws_socket.h" #include "ws_types.h" #define WS_PROTOCOL_VERSION 13 enum { WS_ERROR_MEMORY = 1, WS_ERROR_SEND, WS_ERROR_RECV, WS_ERROR_HTTP_REQUEST, WS_ERROR_HTTP_METHOD, WS_ERROR_HTTP_VERSION, WS_ERROR_WEBSOCKET_VERSION, WS_ERROR_NO_UPGRADE, WS...
sryze/wesley
examples/server.c
<filename>examples/server.c /* Simple WebSocket echo server */ #include <assert.h> #include <stdbool.h> #include <stdio.h> #ifdef _WIN32 #include <winsock2.h> #define poll WSAPoll typedef WSAPOLLFD pollfd_t; #else #include <poll.h> typedef struct pollfd pollfd_t; #endif #include "ws.h" #include "ws_http.h" #...
sryze/wesley
include/ws_socket.h
<reponame>sryze/wesley<filename>include/ws_socket.h<gh_stars>0 #ifndef WS_SOCKET_H #define WS_SOCKET_H #include <stdlib.h> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> typedef int ws_socklen_t; typedef SOCKET ws_socket_t; #define SHUT_RD SD_RECEIVE #define SHUT_WR SD_SEND #define SHUT_RDWR S...
sryze/wesley
src/ws_socket.c
<reponame>sryze/wesley #include <errno.h> #include <limits.h> #include <stdlib.h> #include <string.h> #include "ws_socket.h" int ws_socket_recv(ws_socket_t sock, char *buf, int size, recv_handler_t handler) { int len = 0; int recv_len; for (;;) { if (...
sryze/wesley
include/ws_sha1.h
/* Based on code from RFC 3174: https://tools.ietf.org/html/rfc3174 */ #ifndef WS_SHA1_H #define WS_SHA1_H #include "ws_types.h" #define WS_SHA1_HASH_SIZE 20 enum { WS_SHA1_SUCCESS = 0, WS_SHA1_NULL, /* Null pointer parameter */ WS_SHA1_INPUT_TOO_LONG, /* input data too long */ WS_SHA1_STA...
sryze/wesley
include/ws_types.h
#ifndef WS_TYPES_H #define WS_TYPES_H #ifdef _MSC_VER typedef __int8 ws_int8_t; typedef unsigned __int8 ws_uint8_t; typedef __int16 ws_int16_t; typedef unsigned __int16 ws_uint16_t; typedef __int32 ws_int32_t; typedef unsigned __int32 ws_uint32_t; typedef __int64 ws_int64_t; typedef unsigned __int64 ws...
sozykinsa/courseAVR
wdt328/wdt328.c
<filename>wdt328/wdt328.c<gh_stars>0 // This file is part of a project located at https://github.com/sozykinsa/courseAVR #include "wdt328.h" void wdt328enable() { wdt328reset(); MCUSR = 0; // сбрасывание флагов status register ...
sozykinsa/courseAVR
wdt328/wdt328.h
// This file is part of a project located at https://github.com/sozykinsa/courseAVR #ifndef WDT_328_H #define WDT_328_H #include <avr/io.h> void wdt328enable(); void wdt328reset(); void wdt328disable(); #endif
skarred14/apple-swift
include/swift/Runtime/Atomic.h
//===--- Atomic.h - Utilities for atomic operations. ------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
q195945056/ShareEducation
Pods/Target Support Files/TYCyclePagerView/TYCyclePagerView-umbrella.h
<gh_stars>100-1000 #ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "TYCyclePagerTransformLayout.h" #import "TYCyclePagerView.h" #import "TYPageControl.h" FOUNDATION...
parmariza/dwm
config.h
/* See LICENSE file for copyright and license */ /* appearance */ static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const unsigned int gappih = 14; /* horiz inner gap between windows */ static const unsigned in...
ohdarling/WallPanel
WallPanel/ViewController.h
<filename>WallPanel/ViewController.h // // ViewController.h // WallPanel // // Created by ohdarling on 27/11/2017. // Copyright © 2017 Example. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
windows1988/PluginTemplate
PluginTemplate/qq_datadefs.h
<reponame>windows1988/PluginTemplate #pragma once typedef struct { void* vt; unsigned int ref_cnt; unsigned char* buff_ptr; unsigned int buff_len; }qqsso_txbuff_t;
windows1988/PluginTemplate
PluginTemplate/plugin.h
#pragma once #include "pluginmain.h" //plugin data #define PLUGIN_NAME "QQHelper" #define PLUGIN_VERSION 1 //functions bool pluginInit(PLUG_INITSTRUCT* initStruct); void pluginStop(); void pluginSetup();
leilei18232515198/MLRacObject
MLRacBasicUse/MLRacBasicUse/MLBaseViewModel.h
// // MLBaseViewModel.h // MLRacBasicUse // // Created by 268Edu on 2018/12/22. // Copyright © 2018年 268Edu. All rights reserved. // #import <Foundation/Foundation.h> #import <ReactiveObjC/ReactiveObjC.h> NS_ASSUME_NONNULL_BEGIN @interface MLBaseViewModel : NSObject @end NS_ASSUME_NONNULL_END
leilei18232515198/MLRacObject
MLRacBasicUse/MLRacBasicUse/MLLoginViewModel.h
// // MLLoginViewModel.h // MLRacBasicUse // // Created by 268Edu on 2018/12/21. // Copyright © 2018年 268Edu. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "MLBaseViewModel.h" NS_ASSUME_NONNULL_BEGIN @interface MLLoginViewModel : MLBaseViewModel @property (nonatomic,cop...
leilei18232515198/MLRacObject
MLRacBasicUse/MLRacBasicUse/AppDelegate.h
// // AppDelegate.h // MLRacBasicUse // // Created by 268Edu on 2018/12/21. // Copyright © 2018年 268Edu. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
leilei18232515198/MLRacObject
MLRacBasicUse/MLRacBasicUse/MLLoginView.h
// // MLLoginView.h // MLRacBasicUse // // Created by 268Edu on 2018/12/21. // Copyright © 2018年 268Edu. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MLLoginView : UIView @property (nonatomic,strong)UITextField *accountTextFile; @property (nonatomic,strong)UITextField *passw...