blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 721 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 5 91 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 321
values | visit_date timestamp[ns]date 2016-08-12 09:31:09 2023-09-06 10:45:07 | revision_date timestamp[ns]date 2010-09-28 14:01:40 2023-09-06 06:22:19 | committer_date timestamp[ns]date 2010-09-28 14:01:40 2023-09-06 06:22:19 | github_id int64 426 681M | star_events_count int64 101 243k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[ns]date 2012-06-28 18:51:49 2023-09-14 21:59:16 ⌀ | gha_created_at timestamp[ns]date 2008-02-11 22:55:26 2023-08-10 11:14:58 ⌀ | gha_language stringclasses 147
values | src_encoding stringclasses 26
values | language stringclasses 2
values | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 6 10.2M | extension stringclasses 115
values | filename stringlengths 3 113 | content stringlengths 6 10.2M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b88bc6e91faed2c588657ca236c8c0fd218e9a5 | d4810a0952986737223ca91458aa9770e5f2fc38 | /audio/windows/openal-soft-1.18.2/Alc/nfcfilter.c | 758863c93208cca0c2e54cbb922b8aa2d244c289 | [
"LGPL-2.0-only",
"BSD-2-Clause"
] | permissive | g3n/engine | 8bad54ec41bcffd84995bb141c7c015f37c3f381 | b5c63e94be77871a78a9062f816b90d3af58b6c1 | refs/heads/master | 2023-08-10T17:02:06.427340 | 2022-06-18T15:04:41 | 2022-06-18T15:06:54 | 84,232,188 | 2,590 | 315 | BSD-2-Clause | 2023-06-09T12:50:46 | 2017-03-07T18:25:09 | Go | UTF-8 | C | false | false | 11,200 | c | nfcfilter.c |
#include "config.h"
#include "nfcfilter.h"
#include "alu.h"
/* Near-field control filters are the basis for handling the near-field effect.
* The near-field effect is a bass-boost present in the directional components
* of a recorded signal, created as a result of the wavefront curvature (itself
* a function of... |
f22fe6c942980571fb2d2b7eae7040ea87c1581f | f085956afa0ff005e887a079eab410242865d831 | /thirdparty/mbedtls/library/psa_crypto_cipher.c | fafe68b07772f8934ae2a41c43b4b1319804c4d9 | [
"MIT",
"Apache-2.0",
"GPL-2.0-or-later"
] | permissive | vlang/v | 844f108863477626a61bd7580a7fb8f3365ec3e5 | 93d54651b5aae1299239d30b1276439d8c142d88 | refs/heads/master | 2023-09-01T05:13:11.841452 | 2023-08-31T23:04:58 | 2023-08-31T23:04:58 | 169,677,297 | 38,639 | 3,871 | MIT | 2023-09-14T21:45:03 | 2019-02-08T02:57:06 | V | UTF-8 | C | false | false | 19,599 | c | psa_crypto_cipher.c | /*
* PSA cipher driver entry points
*/
/*
* Copyright The Mbed TLS Contributors
* SPDX-License-Identifier: Apache-2.0
*
* 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... |
d2ad3d85a0d34d219b6a090c1c30acc6a71387bb | e384f5467d8bcfd70845997bcbd68d950e874a61 | /example/cpp/_util/include/wxutil/wx_include.h | 6dd665833d6e8dfd23c45e074a4e1a303b2d8f4e | [] | no_license | Rabbid76/graphics-snippets | ee642f1ed9ceafc6d320e467d3a084d2446d22c2 | fa187afeabb9630bc1d988304fb5787e95a91385 | refs/heads/master | 2023-08-04T04:32:06.884318 | 2023-07-21T09:15:43 | 2023-07-21T09:15:43 | 109,126,544 | 177 | 12 | null | 2023-04-11T20:05:52 | 2017-11-01T12:05:56 | C++ | UTF-8 | C | false | false | 218 | h | wx_include.h | #ifndef __WX_INCLUDE__H__
#define __WX_INCLUDE__H__
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#define _CRT_SECURE_NO_WARNINGS
#include <wx/wx.h>
#undef _CRT_SECURE_NO_WARNINGS
#endif
#include "wx/glcanvas.h"
#endif |
513613e158a25ecb9bafb06c0a49fc7ed00d80f2 | 88ae8695987ada722184307301e221e1ba3cc2fa | /media/gpu/ipc/common/media_param_traits_macros.h | c2db8625505df6d6ff521d9b70b9198b16647dc2 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C | false | false | 1,206 | h | media_param_traits_macros.h | // Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_
#define MEDIA_GPU_IPC_COMMON_MEDIA_PARAM_TRAITS_MACROS_H_
#include "gpu/config/gpu_info.h"
#include "ipc/ipc_message_... |
c1d08774341a464684af1e1fe3c8145adb547edf | 88249081640f5fe095f9d248f384852a3ae8e59a | /tests/test_roundtrip.c | 1f6c12d500937630977f368cb9dd015512ff74ff | [
"MIT"
] | permissive | ariya/FastLZ | 4d34ef159a7d2e4c7e536065d88941178435adb6 | 344eb4025f9ae866ebf7a2ec48850f7113a97a42 | refs/heads/master | 2023-09-03T16:42:11.559345 | 2023-02-09T21:09:19 | 2023-02-09T21:09:19 | 3,950,365 | 338 | 93 | NOASSERTION | 2023-06-09T08:11:29 | 2012-04-06T14:33:00 | C | UTF-8 | C | false | false | 13,420 | c | test_roundtrip.c | /*
FastLZ - Byte-aligned LZ77 compression library
Copyright (C) 2005-2020 Ariya Hidayat <ariya.hidayat@gmail.com>
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, inc... |
4f84565bbbe5d9efe43c2dd238939ba53b13eba9 | d2b10e3573c6a106fb431199537b8eb26ca14b29 | /tests/unit/test_fuzzfailures.c | 38b4b237d3d4a02a45c48ffc78d460b02057130d | [
"MIT"
] | permissive | getsentry/sentry-native | 51485a2bad5d53210e95f7be11e1f59d35c52702 | d9e901951ac5ba068e095e54a7d9c59a9330665d | refs/heads/master | 2023-08-28T08:23:44.357073 | 2023-07-31T09:18:44 | 2023-07-31T09:18:44 | 173,787,329 | 324 | 175 | MIT | 2023-09-14T12:02:50 | 2019-03-04T17:08:34 | C | UTF-8 | C | false | false | 1,889 | c | test_fuzzfailures.c | #include "sentry_json.h"
#include "sentry_path.h"
#include "sentry_testsupport.h"
#include "sentry_value.h"
#include <string.h>
static void
parse_json_roundtrip(const sentry_path_t *path)
{
// printf("Running %" SENTRY_PATH_PRI "\n", path->path);
size_t buf_len = 0;
char *buf = sentry__path_read_to_buffer... |
8ad8ea2b7c66d0455fad885f09e9f66805442042 | 21c8a3598e467713ecc72d2ef3106b4b6f6b14e0 | /test/helper-expand.c | e80d1a241b342434de18fc2d01b12bcbd2e22f9d | [
"MIT"
] | permissive | davatorium/rofi | b129e7dc5d0656d3c005db491829af664eceade1 | 664f1b929706f39bb402e09e2284c9de50b205af | refs/heads/next | 2023-08-16T17:50:01.303076 | 2023-08-15T17:34:11 | 2023-08-15T17:34:11 | 7,715,820 | 8,308 | 673 | NOASSERTION | 2023-08-23T20:19:08 | 2013-01-20T11:54:45 | C | UTF-8 | C | false | false | 4,802 | c | helper-expand.c | /*
* rofi
*
* MIT/X11 License
* Copyright © 2013-2017 Qball Cow <qball@gmpclient.org>
*
* 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 limit... |
3d43c86f4c756927a91a18097cc51bf8a6129e06 | 0744dcc5394cebf57ebcba343747af6871b67017 | /os/board/rtl8720e/src/component/soc/amebalite/fwlib/include/section_config.h | 93236f863f8937cca660d99dc2892949ea88ddd5 | [
"GPL-1.0-or-later",
"BSD-3-Clause",
"ISC",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive",
"Apache-2.0"
] | permissive | Samsung/TizenRT | 96abf62f1853f61fcf91ff14671a5e0c6ca48fdb | 1a5c2e00a4b1bbf4c505bbf5cc6a8259e926f686 | refs/heads/master | 2023-08-31T08:59:33.327998 | 2023-08-08T06:09:20 | 2023-08-31T04:38:20 | 82,517,252 | 590 | 719 | Apache-2.0 | 2023-09-14T06:54:49 | 2017-02-20T04:38:30 | C | UTF-8 | C | false | false | 5,866 | h | section_config.h | /*
* Routines to access hardware
*
* Copyright (c) 2013 Realtek Semiconductor Corp.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*/
#ifndef _SECTION_CONFIG_H_
#define _SECTION_CONFIG_H_
#include "basic_t... |
bbd20edf84ffe1203db848cf134b9e7f9ca180b0 | 76f7459a09acb9be2d52407132f5ff8955627da2 | /kernels/power10/3/vector_int_macros.h | dbd09b6d9affd042c8ad3f7148427f77cc2f7273 | [
"BSD-3-Clause"
] | permissive | flame/blis | 448bc0ad139b726188129c5627c304274b41c3c1 | 6dcf7666eff14348e82fbc2750be4b199321e1b9 | refs/heads/master | 2023-09-01T14:56:11.920485 | 2023-08-27T19:18:57 | 2023-08-27T19:18:57 | 16,143,904 | 1,696 | 361 | NOASSERTION | 2023-08-27T19:18:58 | 2014-01-22T15:58:24 | C | UTF-8 | C | false | false | 3,155 | h | vector_int_macros.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... |
3b214fd98212ab6c7c31de1060be71df808af18b | b1c0a1117a62d5f049e189e041aa19a914be6dbd | /extra/hamming_weight/fastpopcnt.c | 080ec6e7a471f5c8cec1f0be2de305231b14f512 | [
"LicenseRef-scancode-public-domain"
] | permissive | lemire/Code-used-on-Daniel-Lemire-s-blog | 847451d3acbeb28a6a6d50c6686eb537a6fdff41 | c13fe68cdec26d45f688b5c58245fb428dc2ddb9 | refs/heads/master | 2023-08-31T09:55:12.275811 | 2023-08-31T00:33:59 | 2023-08-31T00:33:59 | 3,945,414 | 729 | 194 | null | 2023-09-04T07:50:21 | 2012-04-06T00:13:02 | C | UTF-8 | C | false | false | 11,309 | c | fastpopcnt.c | // gcc -O3 -march=native -o fastpopcnt fastpopcnt.c
// see also https://github.com/WojciechMula/sse-popcount
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
#include <x86intrin.h>
// straight out of wikipedia
static inline uint64_t scalar_hamming_weight(uint64_t x) ... |
2e6d34d08460692ab7e3d0d08ae6222d691882f1 | 649d9e287b6536d67b4075120c19eeceee343fba | /weex_core/Source/include/wtf/Compiler.h | 62883da804f8e12f8f77c9574e07870203a41895 | [
"LicenseRef-scancode-unicode",
"MIT",
"BSL-1.0",
"Apache-2.0",
"ICU",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alibaba/weex | 79c83bb4d002af7b819326ebca35e880e2ea8473 | 8f3f2b7d511d3f966dcd00ea44da8771d955fc13 | refs/heads/master | 2023-03-12T20:57:22.129120 | 2022-09-28T06:06:08 | 2022-09-28T06:06:08 | 53,658,802 | 20,773 | 2,915 | Apache-2.0 | 2023-08-23T10:57:36 | 2016-03-11T10:18:11 | C++ | UTF-8 | C | false | false | 9,840 | h | Compiler.h | /*
* Copyright (C) 2011, 2012, 2014 Apple Inc. 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 of source code must retain the above copyright
* notice, this list of ... |
4932689af83df080dd808e17bf29415d37974a8c | b41843c7eb48e897d9195bb2b239071b6a42721a | /libraries/ghc-prim/cbits/bitrev.c | 2fcbd192b326461b3917ed86e8d7577b5aecfa91 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ghc/ghc | f19b08125f1f9ecf4df31e55fb90c32d18099071 | ac29787c92551682ec89fcd71ac939becf69f051 | refs/heads/master | 2023-09-03T21:06:18.699382 | 2023-09-01T07:16:20 | 2023-09-01T18:30:02 | 1,560,597 | 2,927 | 791 | NOASSERTION | 2023-07-08T14:10:40 | 2011-04-02T19:39:34 | Haskell | UTF-8 | C | false | false | 2,847 | c | bitrev.c | #include "Rts.h"
/*
Note [Bit reversal primop]
~~~~~~~~~~~~~~~~~~~~~~~~~~
There are two main ways of reversing the bit order of a word: bit twiddling
and using a lookup table.
See [this excellent](https://stackoverflow.com/questions/746171/most-efficient-algorithm-for-bit-reversal-from-msb-lsb-to-lsb-msb-in-c this)
St... |
086aee24fa903745df18f3c47e1c16b7084c3786 | 5efe877bf5ebc9da1e7edb8efabb66b88a78cee4 | /DcpmPkg/driver/Core/Btt.c | 365a042b1167bb6c1b8fee4245a6f8407bc90672 | [
"BSD-3-Clause"
] | permissive | intel/ipmctl | 342996a882ea7f4d3abf06fd175ec5d5673829b3 | c75bd840ea7820c8f93a5488fcff75d08beedd51 | refs/heads/master | 2023-08-11T03:49:16.000607 | 2023-05-05T02:26:49 | 2023-05-05T02:26:49 | 133,425,750 | 176 | 64 | BSD-3-Clause | 2023-03-20T23:15:23 | 2018-05-14T21:53:46 | C | UTF-8 | C | false | false | 52,949 | c | Btt.c | /*
* Copyright (c) 2018, Intel Corporation.
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <Library/BaseMemoryLib.h>
#include <Debug.h>
#include <NvmTypes.h>
#include "Btt.h"
#include "BttLayout.h"
#include "Namespace.h"
#include <Convert.h>
GUID gBttAbstractionGuid = EFI_BTT_ABSTRACTION_GUID;
/**
Loads u... |
c09a870a5ffa24ec53635c454d2c6cd04002175e | 085242ce442d9d4ad0cf6df9464b3b35e54bbe4c | /src/libponyc/ast/lexer.c | 4e95a697e568c76ac02611809e2703b3ddf1fe4a | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | ponylang/ponyc | 4c0a0b4a138b4213b4d67424ed313f322d17a87a | c393500e8f8222d648f803f78a705baf452bce05 | refs/heads/main | 2023-08-19T03:26:37.611328 | 2023-08-18T13:22:12 | 2023-08-18T14:27:49 | 6,667,084 | 4,901 | 572 | BSD-2-Clause | 2023-09-12T18:17:34 | 2012-11-13T07:38:25 | C | UTF-8 | C | false | false | 31,208 | c | lexer.c | #include "error.h"
#include "lexer.h"
#include "lexint.h"
#include "token.h"
#include "stringtab.h"
#include "../../libponyrt/mem/pool.h"
#include "ponyassert.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
struct lexer_t
{
source_t* source;
errors_t* errors;
bool allow_test_symb... |
81a535f0bfdee88058452c0fff2664d98d08a6d8 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /cc/paint/paint_export.h | 0b14d855abb2a6fddd9ae76c9a82880af82e8c75 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C | false | false | 713 | h | paint_export.h | // Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_PAINT_PAINT_EXPORT_H_
#define CC_PAINT_PAINT_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(CC_PAINT_IMPLEMENTATION)
#define CC_PAINT_EXPORT... |
dba850e58951026a860006c3d033ea762668c8a8 | 6f247f5400c6a840b6dfcb12388116dc3bb7bd49 | /include/nvamemtiming.h | b4e424b2198abeb4883c690ebc51d0025df17023 | [
"MIT"
] | permissive | envytools/envytools | c062fbc3b8af90d3df9c6e0f57e9abbfc5690d01 | e11d670a70ae0455261ead53cdd09c321974cc64 | refs/heads/master | 2023-08-26T23:44:47.131591 | 2022-04-30T21:15:56 | 2022-04-30T21:15:56 | 11,620,001 | 402 | 103 | MIT | 2022-12-07T01:35:18 | 2013-07-23T21:43:43 | C | UTF-8 | C | false | false | 2,328 | h | nvamemtiming.h | /*
* Copyright (C) 2011-2012 Martin Peres <martin.peres@labri.fr>
* All Rights Reserved.
*
* 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 limitat... |
ff0f4d4c0b67888fc6954fe6c2ed5079d6eda82f | 21c92afbd7fd022a206fb31294c523aebb770104 | /SuiteSparse/CXSparse/SourceWrappers/cs_pinv_dl.o.c | c96837815792b5fa9624fdda38f1ee6077caacd5 | [
"BSD-3-Clause",
"DOC",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-or-later",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-warranty-disclaimer",
"Apache... | permissive | jlblancoc/suitesparse-metis-for-windows | 70e6bcab2b525afb41758d61f823efa0618f67cf | 5ee2eb4bc7bfd6d27af2f7fb027b1545cfc0fa3f | refs/heads/master | 2023-08-30T21:15:39.624300 | 2023-03-09T10:16:48 | 2023-03-09T10:16:48 | 16,236,582 | 423 | 251 | BSD-3-Clause | 2023-03-09T10:18:08 | 2014-01-25T18:06:21 | C | UTF-8 | C | false | false | 47 | c | cs_pinv_dl.o.c | #define CS_LONG
#include <../Source/cs_pinv.c>
|
6cfc6d029a7063bcba01937db2288220806f5a62 | d9cb0274eef7367641a5aa4b631c6940626638ec | /_13_Internet_Connection/v5/wifi-err_3/main/main.c | 4b3f33fa86cc997f3ff89936bdf571e149195110 | [] | no_license | Mair/esp32-course | b1392c60c827698685f7b853899746bf33be845e | d9b1c92d6c24382a390ce89edfec000990e6832e | refs/heads/master | 2023-08-30T18:40:34.341468 | 2023-08-27T23:40:06 | 2023-08-27T23:40:06 | 208,529,208 | 232 | 122 | null | 2023-08-27T23:40:07 | 2019-09-15T02:06:13 | C | UTF-8 | C | false | false | 205 | c | main.c | #include <stdio.h>
#include "nvs_flash.h"
#include "wifi_connect.h"
void app_main(void)
{
nvs_flash_init();
wifi_connect_init();
esp_err_t err = wifi_connect_sta("POCO", "password", 10000);
}
|
5a89d84251386ce47faac9592981819514e40973 | ae31542273a142210a1ff30fb76ed9d45d38eba9 | /src/include/utils/bitstream.h | 32c96f6f3034d2b8aa24a959e3ec5c8ce00268e4 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"PostgreSQL",
"OpenSSL",
"LicenseRef-scancode-stream-benchmark",
"ISC",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-ssleay-windows",
"BSD-2-Clause",
"Python-2.0"
] | permissive | greenplum-db/gpdb | 8334837bceb2d5d51a684500793d11b190117c6a | 2c0f8f0fb24a2d7a7da114dc80f5f5a2712fca50 | refs/heads/main | 2023-08-22T02:03:03.806269 | 2023-08-21T22:59:53 | 2023-08-22T01:17:10 | 44,781,140 | 6,417 | 2,082 | Apache-2.0 | 2023-09-14T20:33:42 | 2015-10-23T00:25:17 | C | UTF-8 | C | false | false | 1,658 | h | bitstream.h | /*------------------------------------------------------------------------------
*
* bitstream
*
* A in-memory bitstream implementation.
* Useful for reading and writing individual bits from a char buffer
*
* Copyright (c) 2013-Present VMware, Inc. or its affiliates.
*
*
* IDENTIFICATION
* src/include/u... |
0d8b18a0ff817de5bfae639f38cb72ce828fe3ab | e3acfc4f06840e23ef1185dcf367f40d3e3f59b4 | /tests/regression/71-doublelocking/03-thread-exit-with-mutex.c | d71f3fb616b94a4eb20ac9b17ac7fdc685671914 | [
"MIT"
] | permissive | goblint/analyzer | d62d3c610b86ed288849371b41c330c30678abc7 | 69ee7163eef0bfbfd6a4f3b9fda7cea5ce9ab79f | refs/heads/master | 2023-08-16T21:58:53.013737 | 2023-08-16T08:49:18 | 2023-08-16T08:49:18 | 2,066,905 | 141 | 62 | MIT | 2023-09-14T18:48:34 | 2011-07-18T15:10:56 | OCaml | UTF-8 | C | false | false | 751 | c | 03-thread-exit-with-mutex.c | // PARAM: --set ana.activated[+] 'maylocks' --set ana.activated[+] 'pthreadMutexType'
#include<pthread.h>
#include<stdio.h>
#include<unistd.h>
#include <assert.h>
#include <stdlib.h>
pthread_mutex_t mut[8];
void* f1(void* ptr) {
int top;
int x = 2;
if(top) {
x = 3;
}
pthread_mutex_lock(&m... |
93a983f7a0df6046da68e3c83aec8b1e6c3705e2 | 7d7900e1c25b729fc8c208673a449c0520ba466e | /lib/kernel/errol/errol.h | 44d192c7b525ca80407d5994a40772b31e58014c | [
"MIT",
"BSD-2-Clause"
] | permissive | pocl/pocl | 384091e15c8f6abf29fd2c6deace34a7de5a6ac6 | 5a99e12d0bb78427ad948ac368589135507f1b59 | refs/heads/main | 2023-09-02T14:16:21.381680 | 2023-08-21T12:13:47 | 2023-08-21T12:13:47 | 12,292,999 | 775 | 250 | MIT | 2023-09-14T06:50:34 | 2013-08-22T09:26:12 | C | UTF-8 | C | false | false | 869 | h | errol.h | #ifndef ERROL_H
#define ERROL_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* errol declarations
*/
// TODO include stdbool ?
typedef int bool;
#define true 1
#define false 0
#define ERR_LEN 512
#define ERR_DEPTH 4
int errol0_dtoa(double val, char *buf);
int errol1_dtoa(double val, char *buf, bool *opt);
int err... |
ca26eb7cf79613c025028c714a1a4823ac4c861a | f0cc4fe245a513342ab088414042f69362547f59 | /mlx_int_param_event.c | 8756a22586ae9d0b4a89296fc2e779a57484a1ad | [
"BSD-2-Clause"
] | permissive | 42Paris/minilibx-linux | 1f1e7d96d34ba51e3b07daa1e586cf2e6ad01339 | 7dc53a411a7d4ae286c60c6229bd1e395b0efb82 | refs/heads/master | 2022-12-17T10:13:49.868698 | 2021-10-30T18:54:26 | 2021-10-30T18:54:26 | 253,899,374 | 326 | 113 | BSD-2-Clause | 2023-02-05T22:59:26 | 2020-04-07T20:02:53 | C | UTF-8 | C | false | false | 2,555 | c | mlx_int_param_event.c | /*
** mlx_int_param_event.c for MinilibX in
**
** Made by Charlie Root
** Login <ol@epitech.net>
**
** Started on Mon Jul 31 16:37:50 2000 Charlie Root
** Last update Wed Oct 6 13:14:52 2004 Olivier Crouzet
*/
#include "mlx_int.h"
int mlx_int_param_undef()
{
}
int mlx_int_param_KeyPress(t_xvar *xvar, XEvent *... |
e6710e050857a198e54601afb07951be565a8de4 | ec34c10de6b7cde45b12fa40e036120633069996 | /thirdparty/VidCapture/Source/VidCapture/VidCapture.h | 16fc31db004a267fd367e5ffcddf2421dd682378 | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | OpenPHDGuiding/phd2 | 7640bba3e9a20501ac99d0504fecc5be73d53633 | 9ff645f1fd5861722497221ecc4d000136b66e28 | refs/heads/master | 2023-09-01T18:13:37.555796 | 2023-08-27T23:53:18 | 2023-08-27T23:53:18 | 38,025,807 | 239 | 115 | BSD-3-Clause | 2023-09-11T02:33:21 | 2015-06-25T03:31:41 | C++ | UTF-8 | C | false | false | 832 | h | VidCapture.h | /// \file VidCapture.h
/// \brief Header includes for using the CodeVis VidCapture library.
///
#ifndef _CODEVIS_VIDCAPTURE_H_
#define _CODEVIS_VIDCAPTURE_H
// Result codes
#include "CVResFile.h" // File result codes
#include "CVResImage.h" // Imaging result codes
#include "CVResVidCap.h" // Video ... |
b5248885c0c4f050280ed40128c1ddfd3dad8831 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/net/bridge/netfilter/ebtable_filter.c | 3c2e9dced9e0afd8a5ed3522357eb0faf63e8289 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 3,111 | c | ebtable_filter.c | /*
* ebtable_filter
*
* Authors:
* Bart De Schuymer <bdschuym@pandora.be>
*
* April, 2002
*
*/
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/module.h>
#define FILTER_VALID_HOOKS ((1 << NF_BR_LOCAL_IN) | (1 << NF_BR_FORWARD) | \
(1 << NF_BR_LOCAL_OUT))
static struct ebt_entries initial_cha... |
6f03de7df208c392ddb16772a1174aa6e52492cc | 581bdcc078d282e388f1b655d4cfc4e08152d117 | /SystemInformer/prpgjob.c | 67ba91140028f99e4dc2019655d6403c7dbf336c | [
"MIT",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"Zlib",
"LGPL-2.1-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain"
] | permissive | winsiderss/systeminformer | 774928be871f0055263ac5e62ae0a598b098486b | 5a6b442acd45d681f699a133d476a3211d072871 | refs/heads/master | 2023-08-28T15:43:41.074679 | 2023-08-27T20:59:20 | 2023-08-27T20:59:20 | 50,824,485 | 2,137 | 292 | MIT | 2023-09-10T22:35:12 | 2016-02-01T08:10:21 | C | UTF-8 | C | false | false | 2,747 | c | prpgjob.c | /*
* Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved.
*
* This file is part of System Informer.
*
* Authors:
*
* wj32 2009-2016
*
*/
#include <phapp.h>
#include <procprp.h>
#include <kphuser.h>
NTSTATUS NTAPI PhpOpenProcessJobForPage(
_Out_ PHANDLE Handle,
_In_ ACCE... |
e40edca7d218239f0ca87967de2f739e06dc6eb9 | 79d343002bb63a44f8ab0dbac0c9f4ec54078c3a | /lib/libc/include/x86-linux-any/asm/shmbuf.h | 4e172a0408b9d4beebbd7ec1873a0eb4b1977c86 | [
"MIT"
] | permissive | ziglang/zig | 4aa75d8d3bcc9e39bf61d265fd84b7f005623fc5 | f4c9e19bc3213c2bc7e03d7b06d7129882f39f6c | refs/heads/master | 2023-08-31T13:16:45.980913 | 2023-08-31T05:50:29 | 2023-08-31T05:50:29 | 40,276,274 | 25,560 | 2,399 | MIT | 2023-09-14T21:09:50 | 2015-08-06T00:51:28 | Zig | UTF-8 | C | false | false | 1,320 | h | shmbuf.h | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef __ASM_X86_SHMBUF_H
#define __ASM_X86_SHMBUF_H
#if !defined(__x86_64__) || !defined(__ILP32__)
#include <asm-generic/shmbuf.h>
#else
#include <asm/ipcbuf.h>
#include <asm/posix_types.h>
/*
* The shmid64_ds structure for x86 architecture with x32 ... |
44e11a50112dbbcde2f9ed147d07a99344b20e1f | 99bdb3251fecee538e0630f15f6574054dfc1468 | /bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Src/fm33lc0xx_fl_rcc.c | 1167da565b1d187049d9dee9188d03cc5c469bf0 | [
"Apache-2.0",
"Zlib",
"LicenseRef-scancode-proprietary-license",
"MIT",
"BSD-3-Clause",
"X11",
"BSD-4-Clause-UC",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RT-Thread/rt-thread | 03a7c52c2aeb1b06a544143b0e803d72f47d1ece | 3602f891211904a27dcbd51e5ba72fefce7326b2 | refs/heads/master | 2023-09-01T04:10:20.295801 | 2023-08-31T16:20:55 | 2023-08-31T16:20:55 | 7,408,108 | 9,599 | 5,805 | Apache-2.0 | 2023-09-14T13:37:26 | 2013-01-02T14:49:21 | C | UTF-8 | C | false | false | 9,110 | c | fm33lc0xx_fl_rcc.c | /**
****************************************************************************************************
* @file fm33lc0xx_fl_rcc.c
* @author FMSH Application Team
* @brief Src file of RCC FL Module
****************************************************************************************************
* ... |
4f7d6a9dad3be089a6cf4458b24b2edb3c80c213 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /audio/alsa-lib/files/patch-include_pcm.h | 6dd552dd0db4493f6a2f774dc5abe4c1402b9103 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C | false | false | 270 | h | patch-include_pcm.h | --- include/pcm.h.orig 2016-03-31 13:10:39 UTC
+++ include/pcm.h
@@ -29,6 +29,13 @@
#ifndef __ALSA_PCM_H
#define __ALSA_PCM_H
+#ifndef ESTRPIPE
+#define ESTRPIPE EPIPE
+#endif
+#ifndef EBADFD
+#define EBADFD EBADF
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
|
04f69e77043941e1c3329652ad5ceddc1b14118a | 66df4873f0599b86e6baf66bb3a0c87329a71e61 | /FIFO-queue/array-no-dup-forget-old/Item.h | 00f4535fa4a48c83caaf8dc790996fc751d45e4d | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bartobri/data-structures-c | 1aaaa0f9f36b173b2df6049d9677c70a0d2afbde | 02d8e6b0aec7d38af5f5d5cab3383bdbc2288a61 | refs/heads/master | 2023-02-21T23:00:18.553695 | 2023-02-17T16:58:37 | 2023-02-17T16:58:37 | 82,822,619 | 102 | 48 | MIT | 2020-10-01T12:04:34 | 2017-02-22T15:48:12 | C | UTF-8 | C | false | false | 101 | h | Item.h | #ifndef ITEM_H
#define ITEM_H 1
// Use the int typedef when compiling 4.2
typedef int Item;
#endif
|
2f80d3c734eab7d3b8e0c875178533be1158c1f7 | 17227ad12bc0826771ac6ac2b95dddd9517d0117 | /PVSupport/Sources/retro/gfx/drivers/gl_renderchains/render_chain_gl_legacy.c | a85eb64ddbc1ac0b718b312d9ff324c7068718d7 | [
"BSD-2-Clause"
] | permissive | Provenance-Emu/Provenance | e38f7c81e784455d4876f8a2ff999baca0135199 | c6f49d7921ee27eb8c0c34ca95ec9dc7baf584c1 | refs/heads/develop | 2023-08-17T05:04:01.554294 | 2023-07-01T07:58:33 | 2023-07-01T07:58:33 | 12,416,862 | 2,367 | 364 | NOASSERTION | 2023-08-01T07:42:35 | 2013-08-27T20:34:36 | C | UTF-8 | C | false | false | 29,686 | c | render_chain_gl_legacy.c | /* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
* Copyright (C) 2011-2016 - Daniel De Matteis
* Copyright (C) 2012-2015 - Michael Lelli
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as p... |
d2aed6fe4c42e9ea8af3bfddb2eab99002a33472 | cb80ffbfe6b12be3f42322537aff3552fd9239f2 | /examples/textures/textures_sprite_button.c | bd9891826f54ec2741650d8a596a767d5dcf6291 | [
"Zlib",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | raysan5/raylib | afe80387401361d6f35f9831978b0b379d2d9971 | a86c93ebc0095f6c2ffc14656bfc9e1e37070f72 | refs/heads/master | 2023-08-16T20:49:02.921768 | 2023-08-14T22:09:27 | 2023-08-14T22:09:27 | 13,836,499 | 15,971 | 2,825 | Zlib | 2023-09-14T21:19:02 | 2013-10-24T15:46:04 | C | UTF-8 | C | false | false | 3,836 | c | textures_sprite_button.c | /*******************************************************************************************
*
* raylib [textures] example - sprite button
*
* Example originally created with raylib 2.5, last time updated with raylib 2.5
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* ... |
8e7ab0ac178dd628216041faa8c06e6439c00f68 | badb70a0b235c98ac034cfe5b4bfafda36647831 | /Library/OcHeciLib/OcHeciLib.c | caf6a3bb6e66b30ed20a7d465c2588cdd8a80a15 | [
"BSD-3-Clause"
] | permissive | acidanthera/OpenCorePkg | f34a7d67b22c74fb5ab559e48519e5f5855b6751 | 1d5b1736fe5a5ef7662b5c076c6d11aac96fd5d6 | refs/heads/master | 2023-08-30T21:03:02.993659 | 2023-08-28T23:30:43 | 2023-08-28T23:30:43 | 179,354,282 | 13,212 | 2,999 | BSD-3-Clause | 2023-09-10T18:29:53 | 2019-04-03T19:14:29 | C | UTF-8 | C | false | false | 14,834 | c | OcHeciLib.c | /** @file
This file implements interaction with HECI.
Copyright (c) 2019, vit9696. All rights reserved.<BR>
Portions copyright (c) 2019, savvas. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause
**/
#include <PiDxe.h>
#include <Library/BaseMemoryLib.h>
#include <Library/OcHeciLib.h>
#include <Li... |
8c7ab17304a71fc29cd6d53d5b7e95d357e38acd | 61da6274995cf914291af51bd02e60f408fdfedd | /utests/test_tree.c | 1deeef6ddd037d629cb2ca2a010df2330144a248 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | mrirecon/bart | 360d518b4c79836d506803aa4a77e8e252ab820b | a3c9dc313f79c4c52f1ba3e617d5831ef088ddf7 | refs/heads/master | 2023-08-31T11:01:08.932824 | 2023-08-30T12:15:35 | 2023-08-30T13:51:18 | 23,212,230 | 264 | 185 | BSD-3-Clause | 2023-08-03T18:43:36 | 2014-08-22T03:57:09 | C | UTF-8 | C | false | false | 1,603 | c | test_tree.c |
#include "num/rand.h"
#include "misc/debug.h"
#include "misc/misc.h"
#include "misc/tree.h"
#include "utest.h"
static int cmp(const void* _a, const void* _b)
{
float a = *(float*)_a;
float b = *(float*)_b;
if (a > b)
return 1;
if (a < b)
return -1;
return 0;
}
static int cmp_range(const void* _a, co... |
ddadc7a8dc4c3a72d813e898a25d5709618f268d | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/media/firewire/firedtv-rc.c | f82d4a93feb3f205080a5bdc85d0dcf1b58f48ac | [
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 4,075 | c | firedtv-rc.c | /*
* FireDTV driver (formerly known as FireSAT)
*
* Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com>
*
* 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 Li... |
7d8d0cd42e58690149653394de0d2f4a4712238d | 5eff7a36d9a9917dce9111f0c3074375fe6f7656 | /lib/mesa/src/freedreno/vulkan/tu_util.c | 9b0b9a42068ff731a27dcf28666e7c1243fd3a23 | [] | no_license | openbsd/xenocara | cb392d02ebba06f6ff7d826fd8a89aa3b8401779 | a012b5de33ea0b977095d77316a521195b26cc6b | refs/heads/master | 2023-08-25T12:16:58.862008 | 2023-08-12T16:16:25 | 2023-08-12T16:16:25 | 66,967,384 | 177 | 66 | null | 2023-07-22T18:12:37 | 2016-08-30T18:36:01 | C | UTF-8 | C | false | false | 10,031 | c | tu_util.c | /*
* Copyright © 2015 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#include "tu_util.h"
#include <errno.h>
#include <stdarg.h>
#include "util/u_math.h"
#include "util/timespec.h"
#include "vk_enum_to_str.h"
#include "tu_device.h"
#include "tu_pass.h"
void PRINTFLIKE(3, 4)
__tu_finishme(const char *fil... |
3684deb250465adca7554f860e1cb1cb35d47531 | 2dfc2beac0ad497f8fc59201921097a412f0df7f | /trunk/3rdparty/openssl-1.1-fit/include/openssl/txt_db.h | ec981a439fe8bf5d7d52f7b603985ca4eb620a6e | [
"Apache-2.0",
"LicenseRef-scancode-mulanpsl-2.0-en",
"MIT",
"MulanPSL-2.0",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"JSON"
] | permissive | ossrs/srs | cf9442478fedcd32ef2817f8d53f405a6fa2c7d1 | 7138edd318d30b545e73e80500adda771817f8d1 | refs/heads/develop | 2023-09-01T03:38:35.057515 | 2023-08-31T01:45:25 | 2023-08-31T01:49:36 | 34,777,562 | 23,557 | 5,046 | MIT | 2023-09-09T00:57:42 | 2015-04-29T06:59:32 | C++ | UTF-8 | C | false | false | 1,666 | h | txt_db.h | /*
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... |
203976bafffab979423bb378f6ebe5a510e6719b | f1ee65fbe1ffc43c2aac45e41515f1987eb534a4 | /src/third_party/boringssl/src/include/openssl/chacha.h | 2868c290626fa23b2d0d5761d1943333fb00c631 | [
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"ISC",
"OpenSSL",
"MIT"
] | permissive | klzgrad/naiveproxy | 6e0d206b6f065b9311d1e12b363109f2d35cc058 | 8ef1cecadfd4e2b5d57e7ea2fa42d05717e51c2e | refs/heads/master | 2023-08-20T22:42:12.511091 | 2023-06-04T03:54:34 | 2023-08-16T23:30:19 | 119,178,893 | 5,710 | 976 | BSD-3-Clause | 2023-08-05T10:59:59 | 2018-01-27T16:02:33 | C++ | UTF-8 | C | false | false | 1,917 | h | chacha.h | /* Copyright (c) 2014, Google Inc.
*
* Permission to use, copy, modify, and/or 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... |
84f6a63e0ae59c56ad59bafc7b55b90f19c73416 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/u-boot_new/drivers/net/e1000_spi.c | 93043a1ade4b7db911c6484314817e1ce28d255e | [
"GPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 14,057 | c | e1000_spi.c | #include "e1000.h"
#include <linux/compiler.h>
/*-----------------------------------------------------------------------
* SPI transfer
*
* This writes "bitlen" bits out the SPI MOSI port and simultaneously clocks
* "bitlen" bits in the SPI MISO port. That's just the way SPI works.
*
* The source of the outgoin... |
7939ea5da38f8de0e336e0d138a3fd2e4fa9422c | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/arch/alpha/stand/standtest/test.c | d26c9d9a3bf808bbb0f9e12e9fe907c564c0608d | [] | no_license | NetBSD/src | 1a9cbc22ed778be638b37869ed4fb5c8dd616166 | 23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c | refs/heads/trunk | 2023-08-31T13:24:58.105962 | 2023-08-27T15:50:47 | 2023-08-27T15:50:47 | 88,439,547 | 656 | 348 | null | 2023-07-20T20:07:24 | 2017-04-16T20:03:43 | null | UTF-8 | C | false | false | 12,261 | c | test.c | /* $NetBSD: test.c,v 1.7 2016/06/11 06:26:50 dholland Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. 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 of sou... |
ebcaa63eb2b4b897474635da38f8cbe05c8a59ab | 61da6274995cf914291af51bd02e60f408fdfedd | /src/simu/shepplogan.c | ea50fe5b99c40eca8ab3664c5396f74c1db6f421 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | mrirecon/bart | 360d518b4c79836d506803aa4a77e8e252ab820b | a3c9dc313f79c4c52f1ba3e617d5831ef088ddf7 | refs/heads/master | 2023-08-31T11:01:08.932824 | 2023-08-30T12:15:35 | 2023-08-30T13:51:18 | 23,212,230 | 264 | 185 | BSD-3-Clause | 2023-08-03T18:43:36 | 2014-08-22T03:57:09 | C | UTF-8 | C | false | false | 13,729 | c | shepplogan.c | /* Copyright 2014. The Regents of the University of California.
* Copyright 2015-2023. Martin Uecker.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*/
#define _GNU_SOURCE
#include <complex.h>
#include <math.h>
#include <assert.h>
#includ... |
18b00b381adcf3464f70826fd381171f28a7b1de | 9e3cd787de3b38f417e71a2c2d816713e38bf116 | /sim_console_c.c | a2c9d55f6a0dc45ece3bf1e04c56268cfc1891fd | [
"CC-BY-4.0"
] | permissive | antonblanchard/microwatt | 34cd0b8b730c937e9ae95fd7940cc1014845697a | 83dcfeabf8d37e7ea1adfafcd782f1298a3ddbef | refs/heads/master | 2023-07-25T04:37:31.872162 | 2023-02-20T06:18:35 | 2023-02-20T06:18:35 | 203,724,916 | 606 | 106 | NOASSERTION | 2023-09-14T07:55:48 | 2019-08-22T06:02:52 | Verilog | UTF-8 | C | false | false | 1,636 | c | sim_console_c.c | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <poll.h>
#include "sim_vhpi_c.h"
/* Should we exit simulation on ctrl-c or pass it through? */
#define EXIT_ON_CTRL_C
static struct termios oldt;
static void disable_r... |
9a6eb6512e14a4a2eb90c73a6b613c480e16ee72 | 3bf69a0369ac0b8248045f86c646b06655be5adb | /app/include/zmk/split/bluetooth/uuid.h | c38131dd83e2a94c2f3a5c09e42a7c4ba4f621d0 | [
"MIT"
] | permissive | zmkfirmware/zmk | 36dea10219874ce8c81df46eb3b77e02dde7c352 | 3d938033b002c78ce24245e3cf37b7ba55876145 | refs/heads/main | 2023-09-03T06:09:24.869559 | 2023-09-02T21:45:25 | 2023-09-03T03:49:19 | 270,692,521 | 1,848 | 2,032 | MIT | 2023-09-14T03:42:31 | 2020-06-08T14:08:44 | C | UTF-8 | C | false | false | 618 | h | uuid.h | /*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include <zephyr/bluetooth/uuid.h>
#ifndef BT_UUID_NUM_OF_DIGITALS
#define BT_UUID_NUM_OF_DIGITALS BT_UUID_DECLARE_16(0x2909)
#endif
#define ZMK_BT_SPLIT_UUID(num) BT_UUID_128_ENCODE(num, 0x0096, 0x7107, 0xc967, 0xc5cf... |
45d5c4dda627555f9cd5844ac182961049d9dda8 | e5f4f37d941ceb8145d65f92028cc54658b1ac01 | /Code/EnginePlugins/RmlUiPlugin/Components/RmlUiMessages.h | 76f28083eaa755861db5f9c50498531027c6e968 | [
"MIT"
] | permissive | ezEngine/ezEngine | 19983d2733a5409fb2665c6c3a0a575dadcefb50 | c46e3b4b2cd46798e4abb4938fbca281c054b039 | refs/heads/dev | 2023-09-06T02:17:28.152665 | 2023-09-05T18:25:43 | 2023-09-05T18:25:43 | 18,179,848 | 1,050 | 165 | MIT | 2023-09-14T21:44:39 | 2014-03-27T15:02:16 | C++ | UTF-8 | C | false | false | 224 | h | RmlUiMessages.h | #pragma once
#include <Foundation/Communication/Message.h>
#include <RmlUiPlugin/RmlUiPluginDLL.h>
struct EZ_RMLUIPLUGIN_DLL ezMsgRmlUiReload : public ezMessage
{
EZ_DECLARE_MESSAGE_TYPE(ezMsgRmlUiReload, ezMessage);
};
|
2d240fcec54bf4cc3455c2afa940d5a2623ed9d8 | 94096248c1de2dcf46e69ca913cedfa290e44224 | /tests/api/test-to-stacktrace.c | 32d2bd23dfedf6e08dcdeb66f6abaec0fba6f717 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | svaarala/duktape | 612110d1a6db46226c171cfd222974b1b3651ad5 | 5e169deafbbd12823665f5d30fb4c4c04e3dfa26 | refs/heads/master | 2023-08-06T16:43:33.014729 | 2022-11-17T21:02:08 | 2022-11-17T21:02:08 | 15,852,088 | 4,796 | 610 | MIT | 2023-09-11T17:13:01 | 2014-01-12T22:16:14 | JavaScript | UTF-8 | C | false | false | 4,399 | c | test-to-stacktrace.c | /*===
*** test_1 (duk_safe_call)
top: 0
duk_to_stacktrace: 'Error: aiee
at err (eval:1)
at eval (eval:1) preventsyield'
final top: 0
==> rc=0, result='undefined'
*** test_2 (duk_safe_call)
top: 0
duk_to_stacktrace: '4'
final top: 0
==> rc=0, result='undefined'
*** test_3 (duk_safe_call)
top: 0
duk_to_stacktrace... |
317692b92d2604a1cb8f56bfcf60608ed63d44e5 | 9ceacf33fd96913cac7ef15492c126d96cae6911 | /usr.bin/cu/input.c | c004108fc24d21d6c5435dcb65de2bf46768dcf7 | [] | no_license | openbsd/src | ab97ef834fd2d5a7f6729814665e9782b586c130 | 9e79f3a0ebd11a25b4bff61e900cb6de9e7795e9 | refs/heads/master | 2023-09-02T18:54:56.624627 | 2023-09-02T15:16:12 | 2023-09-02T15:16:12 | 66,966,208 | 3,394 | 1,235 | null | 2023-08-08T02:42:25 | 2016-08-30T18:18:25 | C | UTF-8 | C | false | false | 2,056 | c | input.c | /* $OpenBSD: input.c,v 1.2 2012/07/10 10:28:05 nicm Exp $ */
/*
* Copyright (c) 2012 Nicholas Marriott <nicm@openbsd.org>
*
* 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... |
5cfcb8f29493e59bd183391e92d59c2bdf1d8f85 | e910318d01528d82040507a49eeeb8dade45b31f | /ports/teensy/main.c | d4c5f0396faf105355a39eb5ea2b1dbb0d83c261 | [
"MIT"
] | permissive | pfalcon/pycopy | e844480a5e5cd463530328889daed2ba87552b8a | 3ac90ae9c3c6bbebfba9cada2d37025e35c62796 | refs/heads/pfalcon | 2023-08-30T09:39:52.290147 | 2022-09-08T16:42:38 | 2022-09-08T16:42:38 | 15,507,576 | 753 | 71 | MIT | 2021-05-08T04:59:21 | 2013-12-29T11:38:47 | C | UTF-8 | C | false | false | 10,221 | c | main.c | #include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "py/lexer.h"
#include "py/runtime.h"
#include "py/stackctrl.h"
#include "py/gc.h"
#include "py/mphal.h"
#include "gccollect.h"
#include "lib/utils/gchelper.h"
#include "lib/utils/pyexec.h"
#include "lib/mp-readline/readline.h"
#inc... |
41e5c6b85b2d37bb98efb82ab14802313378a794 | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/external/bsd/drm2/dist/drm/nouveau/nvkm/nvfw/nouveau_nvkm_nvfw_acr.c | b9c0d728587b8ea14095f44d6f783e2f92f52dfd | [] | no_license | NetBSD/src | 1a9cbc22ed778be638b37869ed4fb5c8dd616166 | 23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c | refs/heads/trunk | 2023-08-31T13:24:58.105962 | 2023-08-27T15:50:47 | 2023-08-27T15:50:47 | 88,439,547 | 656 | 348 | null | 2023-07-20T20:07:24 | 2017-04-16T20:03:43 | null | UTF-8 | C | false | false | 6,882 | c | nouveau_nvkm_nvfw_acr.c | /* $NetBSD: nouveau_nvkm_nvfw_acr.c,v 1.3 2021/12/19 10:51:57 riastradh Exp $ */
/*
* Copyright 2019 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, ... |
3ad24c13f0c81155b9c7761e49720efb9d589135 | 67305fcba68fdf469862aed2959ad1dd5b22a536 | /rt-thread/components/libc/compilers/minilibc/ctype.h | 5f41376ed8204455634f6e0def9412421848baaa | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | RT-Thread/IoT_Board | cdabf100a8d515fbcaa65ab0b72ec67acb0d2c9a | 2d218a4e06f06dbb356ec00767904f91d00db7cc | refs/heads/master | 2023-09-04T16:51:34.485240 | 2022-01-19T01:26:16 | 2022-01-19T01:26:16 | 161,133,933 | 344 | 238 | Apache-2.0 | 2023-06-06T04:10:57 | 2018-12-10T07:21:46 | C | UTF-8 | C | false | false | 454 | h | ctype.h | /*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2008-08-14 Bernard the first version
*/
#ifndef __CTYPE_H__
#define __CTYPE_H__
int isprint(int c) __attribute__ ((__const__));
int isalpha (int c) __... |
188ae30e4b713c6517ab171952ac6eff36228321 | 392801bc4df0a7a34da162e48970b64314912e4f | /Exploitation/Writeups/ShellCode/OpCode/opcode.c | 4113553f912493bd9b871d9becf50555f0df7b56 | [] | no_license | kablaa/CTF-Workshop | 14401564cf21dfe4786c98a7eda4e321c0a10dee | 461f434f7e81dd70c874b72ed3bc0f42e751d422 | refs/heads/master | 2022-10-21T08:59:57.033198 | 2022-10-02T21:25:19 | 2022-10-02T21:25:19 | 49,797,873 | 612 | 128 | null | 2022-10-02T21:25:20 | 2016-01-17T01:11:59 | C | UTF-8 | C | false | false | 281 | c | opcode.c | #include <stdio.h>
#include <stdio.h>
int x;
void func()
{
char buf[10];
puts("enter your name: ");
scanf("%s", buf);
printf("welcome %s, you are %d years old\n", buf,x);
}
int main()
{
puts("enter your age: ");
scanf("%d",&x);
func();
return 0;
}
|
4b4d4474f1a73ed517b7845710657dff0d96d118 | 76f9898ff7a555f4a729d725056a317af818375d | /assets/objects/object_zl4/object_zl4.c | 3f84c74da81452c92bc474398777a234843b22b0 | [] | no_license | z64proto/sw97 | 0b65837ab2f2a4073faca5670761d7fe0e74d29d | f571505ade2cefd4a5b5d19da06d33e7c6b02c60 | refs/heads/master | 2023-08-01T02:47:42.895871 | 2022-05-15T20:29:08 | 2022-05-15T20:29:08 | 430,216,978 | 208 | 29 | null | 2021-11-22T12:23:50 | 2021-11-20T21:52:59 | C | UTF-8 | C | false | false | 421,703 | c | object_zl4.c | #include "ultra64.h"
#include "z64.h"
#include "macros.h"
#include "object_zl4.h"
static s16 sChildZeldaAnim_000654FrameData[756];
static JointIndex sChildZeldaAnim_000654JointIndices[18];
static Vtx sChildZeldaSkelVtx_0065B0[9];
static Vtx sChildZeldaSkelVtx_006640[23];
static Vtx sChildZeldaSkelVtx_0067B0[1];
static... |
86aba8a4838d493d4c3c21f626c11462b7a3485f | fdbb74a95924e2677466614f6ab6e2bb13b2a95a | /third_party/nsync/mu_semaphore.h | a2c9c6b454c8794c7850d7e457ec8450d125efde | [
"Apache-2.0",
"ISC"
] | permissive | jart/cosmopolitan | fb11b5658939023977060a7c6c71a74093d9cb44 | 0d748ad58e1063dd1f8560f18a0c75293b9415b7 | refs/heads/master | 2023-09-06T09:17:29.303607 | 2023-09-02T03:49:13 | 2023-09-02T03:50:18 | 272,457,606 | 11,887 | 435 | ISC | 2023-09-14T17:47:58 | 2020-06-15T14:16:13 | C | UTF-8 | C | false | false | 931 | h | mu_semaphore.h | #ifndef NSYNC_SEM_H_
#define NSYNC_SEM_H_
#include "third_party/nsync/time.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
typedef struct nsync_semaphore_s_ {
void *sem_space[32]; /* internal storage */
} nsync_semaphore;
/* Initialize *s; the initial value is 0. */
void nsync_mu_semaphore_init(nsync... |
4797ddb9b8e41645c7ff4e75a2167988567690d6 | b1fcecfa2d9b42db62ba22f4635b3e845bf4ab56 | /nginx/src/http/ngx_http_script.c | a1c593b11490856c2d1e72fc1808fda268bf6f9e | [
"BSD-2-Clause"
] | permissive | chronolaw/annotated_nginx | 606b5ae08b8173daa01fcac353b089b17deff08d | 60b0e2a15d4c7c51313bd117bab026046c3da01b | refs/heads/master | 2023-06-29T09:15:23.066046 | 2023-06-17T08:35:25 | 2023-06-17T08:35:25 | 51,183,743 | 573 | 206 | null | null | null | null | UTF-8 | C | false | false | 46,257 | c | ngx_http_script.c | // annotated by chrono since 2016
//
// * ngx_http_complex_value
// * ngx_http_compile_complex_value
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
static ngx_int_t ngx_http_script_init_arrays(ngx_http_script_compile_t *sc);
stat... |
80925240231be51fa3fc1256f597d9ee4ab0f526 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/media/usb/cx231xx/cx231xx-vbi.h | 16c7d20a22a4a79b6107f4e9245e3fb67b6fb5ed | [
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 2,261 | h | cx231xx-vbi.h | /*
cx231xx_vbi.h - driver for Conexant Cx23100/101/102 USB video capture devices
Copyright (C) 2008 <srinivasa.deevi at conexant dot com>
Based on cx88 driver
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 ... |
6c807e24e843ec8e3141bb3a270ef3d761898e71 | 89db60818afeb3dc7c3b7abe9ceae155f074f7f2 | /src/cmd/fossil/9srv.c | 0dad3d11f4cc431cbc1251f864a808479613a5e1 | [
"bzip2-1.0.6",
"LPL-1.02",
"MIT"
] | permissive | 9fans/plan9port | 63c3d01928c6f8a8617d3ea6ecc05bac72391132 | 65c090346a38a8c30cb242d345aa71060116340c | refs/heads/master | 2023-08-25T17:14:26.233105 | 2023-08-23T13:21:37 | 2023-08-23T18:47:08 | 26,095,474 | 1,645 | 468 | NOASSERTION | 2023-09-05T16:55:41 | 2014-11-02T22:40:13 | C | UTF-8 | C | false | false | 4,076 | c | 9srv.c | #include "stdinc.h"
#include "9.h"
typedef struct Srv Srv;
struct Srv {
int fd;
int srvfd;
char* service;
char* mntpnt;
Srv* next;
Srv* prev;
};
static struct {
RWLock lock;
Srv* head;
Srv* tail;
} sbox;
#ifndef PLAN9PORT
static int
srvFd(char* name, int mode, int fd, char** mntpnt)
{
int n, srvfd;
cha... |
051a84a8b696e30b0f07ad1567fbbae6845a4566 | 59864cbd213b5da6f50d6255b0a021564b3d5bd4 | /challenges/CableGrind/pov_36/pov.c | 019541968689bc068def771173e08bd0c202aafa | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown",
"BSD-2-Clause"
] | permissive | trailofbits/cb-multios | 8af96a4fbc3b34644367faa135347f88e0e0d0a3 | 810d7b24b1f62f56ef49b148fe155b0d0629cad2 | refs/heads/master | 2023-09-05T03:56:20.229403 | 2022-12-27T15:47:54 | 2022-12-27T15:47:54 | 41,688,943 | 522 | 133 | MIT | 2023-06-29T02:47:13 | 2015-08-31T17:04:31 | C | UTF-8 | C | false | false | 16,204 | c | pov.c | #include "libpov.h"
int main(int cgc_argc, char *cgc_argv[]) {
cgc_negotiate_type1(0x0, 0x0, 0);
do {
//*** writing data
static unsigned char write_00000_00000[] =
"\x04\x04\x00\x00";
static unsigned int write_00000_00000_len = 4;
unsigned char *write_00000 = NULL;
unsigned... |
81e639a93e9370a13c2740c05323b0331df500fc | 537ee21156abb410a49c9a908b499d62396c965e | /src/include/srpc/rpc_thrift_idl.h | 997d3ee2c39b39427a37ae274c7e1281697eec38 | [
"Apache-2.0"
] | permissive | sogou/srpc | b5ee496f72235558f50ee6eaf111c86403d58dbd | b3c738650ec63b45aac341f2a117e473f932691d | refs/heads/master | 2023-09-05T11:12:31.860614 | 2023-09-04T12:56:46 | 2023-09-04T12:56:46 | 295,369,297 | 1,756 | 372 | Apache-2.0 | 2023-09-04T12:56:47 | 2020-09-14T09:35:14 | C++ | UTF-8 | C | false | false | 29 | h | rpc_thrift_idl.h | ../../thrift/rpc_thrift_idl.h |
6e41d2593b7462fb1d5890a6cf7f80780ce2f4d2 | de22e1e826e75096c32fd4685b377e2e750f94c8 | /tests/slicing/sources/loop3.c | a6aeec57e77a8d3906beb802fabe87cd19dcd52f | [
"MIT"
] | permissive | mchalupa/dg | bb1430ebe5c9957d5f1b1278567674bdc03546ce | df6e4e23d2a0740ec9d9fa38e80032bd80556c95 | refs/heads/master | 2023-09-05T02:57:01.261394 | 2022-06-29T12:53:04 | 2022-12-19T10:12:03 | 31,018,102 | 458 | 146 | MIT | 2023-05-02T12:43:24 | 2015-02-19T14:12:47 | C++ | UTF-8 | C | false | false | 178 | c | loop3.c | int glob = 1;
int main(void) {
int a = 0, b = 0;
while (a < 10) {
a += b;
b += 1;
test_assert(glob >= 1);
glob++;
}
return 0;
}
|
9ad1241bd6e3282f01e0dd78c4dc0829062a4cc3 | 95ae7dfa9ee578f1b24a65986ff78bf77ceca0c5 | /Engine/lib/curl/lib/openldap.c | 19f2ad9f08e0f25aeeb6f0ed08b544b6598ddaa3 | [
"curl",
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | TorqueGameEngines/Torque3D | 4e1f6a05cc0928980c8c7c20bcdd680eaa6dcee8 | a445a4364664e299196bd551d213844486080145 | refs/heads/development | 2023-09-03T12:40:40.658487 | 2023-08-24T14:44:43 | 2023-08-24T14:44:43 | 267,440,108 | 1,192 | 178 | MIT | 2023-09-13T14:28:16 | 2020-05-27T22:35:54 | C++ | UTF-8 | C | false | false | 35,185 | c | openldap.c | /***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2011 - 2022, Daniel St... |
e3202b384b95190b5177f2ae7b34571aa36f186f | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/staging/vt6656/baseband.c | 55185336afe2539ac329ba5a83bca79db55fd652 | [
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 66,164 | c | baseband.c | /*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your opt... |
2c4872abc66f039e6c8366b3c6c0a01330b6d412 | 3a30cfb29aac91e5c75d4dbcefddfd1f34d5f18c | /c-tests/lacc/convert-int-float.c | 3e8dd9db3b8d5649cb94245513b7e1e540c381fc | [
"MIT",
"MPL-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"LGPL-2.0-only"
] | permissive | vnmakarov/mir | a1725bc9c828e8580df6b7ae94e04175db8abe93 | 928e28fb3acaa50d051a906e76a55cc48a556574 | refs/heads/master | 2023-09-02T11:10:37.434581 | 2023-08-25T19:25:40 | 2023-08-25T19:25:40 | 178,932,492 | 2,005 | 156 | MIT | 2023-08-01T20:29:59 | 2019-04-01T19:24:56 | C | UTF-8 | C | false | false | 187 | c | convert-int-float.c | int cvtfloat(void) {
float f;
unsigned char c = 0xff;
f = c;
return f;
}
int cvtdouble(void) {
double d;
d = 32;
return d;
}
int main(void) {
return cvtfloat() - cvtdouble();
}
|
db2664736c700a5c70fb47de4f62384bbd873f9e | f3eed0234b4d0ad2bbb2abd700cf1e2c7a0e8a1d | /AKWF-c/AKWF_cello/AKWF_cello_0010.h | 2eb6c80d70939ef83eca8c61371c9fb5302f29b1 | [
"CC0-1.0"
] | permissive | KristofferKarlAxelEkstrand/AKWF-FREE | b2defa1a2d389d309be6dd2e9f968923daf80d1b | cf8171df36e9fec25416b5f568b72a6e2cb69194 | refs/heads/master | 2023-07-23T18:22:36.939705 | 2023-07-10T17:14:40 | 2023-07-10T17:14:40 | 145,817,187 | 359 | 59 | CC0-1.0 | 2023-07-10T17:14:41 | 2018-08-23T07:26:56 | null | UTF-8 | C | false | false | 4,684 | h | AKWF_cello_0010.h | /* Adventure Kid Waveforms (AKWF) converted for use with Teensy Audio Library
*
* Adventure Kid Waveforms(AKWF) Open waveforms library
* https://www.adventurekid.se/akrt/waveforms/adventure-kid-waveforms/
*
* This code is in the public domain, CC0 1.0 Universal (CC0 1.0)
* https://creativecommons.org/publicdom... |
51dbacd324fbd15203b42e037d442bdd851e01ef | 564ae40950e6d71e30d3fecfa83ebbeaadfc72bc | /firmware/usbasp/usbasp.h | 781397abe7ff06809922f53f7514112a4dcc9ad8 | [
"MIT"
] | permissive | nofeletru/UsbAsp-flash | 3790dc0abd9b038969ea3bebe0833b4f8e88a184 | 9dc854fe189ca35577d3d39abf2d93eaad3b32fb | refs/heads/master | 2023-07-27T11:04:46.516047 | 2023-07-25T12:32:43 | 2023-07-25T12:34:29 | 38,684,672 | 683 | 164 | MIT | 2023-07-24T08:52:40 | 2015-07-07T11:56:44 | Pascal | UTF-8 | C | false | false | 2,985 | h | usbasp.h | /*
* usbasp.c - part of USBasp
*
* Autor..........: Thomas Fischl <tfischl@gmx.de>
* Description....: Definitions and macros for usbasp
* Licence........: GNU GPL v2 (see Readme.txt)
* Creation Date..: 2009-02-28
* Last change....: 2009-02-28
*/
#ifndef USBASP_H_
#define USBASP_H_
/* USB function call identif... |
7b43ae42c767bb5e4d6ba3546f1589f2ab2c09ca | 503bf74961cc3d52236d52439eeb7e8059860b7a | /src/ui-entry-renderers.c | 0ed3caab65d8a283570d7e1290f2b70eb38a6fe2 | [] | no_license | angband/angband | f00cce82a82b73f8c58a0dc12cbd2f3957dab5ce | e2f4b269f276b9fd7a25cba2b9a49fac84642416 | refs/heads/master | 2023-08-29T15:58:27.283723 | 2023-08-25T16:50:33 | 2023-08-28T21:40:44 | 1,033,705 | 1,206 | 386 | null | 2023-09-13T21:18:28 | 2010-10-29T01:17:48 | C | UTF-8 | C | false | false | 44,324 | c | ui-entry-renderers.c | /**
* \file ui-entry-renderers.c
* \brief Define backend handling for character screen and equippable comparison
*
* Copyright (c) 2020 Eric Branlund
*
* This work is free software; you can redistribute it and/or modify it
* under the terms of either:
*
* a) the GNU General Public License as published by the F... |
aa2d8d7f5045ef5a898be084262709179276ad9e | 8838eb997879add5759b6dfb23f9a646464e53ca | /src/compat/posix/sys/mman/mmap_stub.c | dd50515253be4a64fe1059929ffebf7971c409f3 | [
"BSD-2-Clause"
] | permissive | embox/embox | d6aacec876978522f01cdc4b8de37a668c6f4c80 | 98e3c06e33f3fdac10a29c069c20775568e0a6d1 | refs/heads/master | 2023-09-04T03:02:20.165042 | 2023-09-02T14:55:31 | 2023-09-02T14:55:31 | 33,078,138 | 1,087 | 325 | BSD-2-Clause | 2023-09-14T16:58:34 | 2015-03-29T15:27:48 | C | UTF-8 | C | false | false | 598 | c | mmap_stub.c | /**
* @file mmap.c
* @brief Various memory mapping
* @author Denis Deryugin <deryugin.denis@gmail.com>
* @version
* @date 28.02.2018
*/
#include <errno.h>
#include <stddef.h>
#include <sys/mman.h>
#include <util/log.h>
#include <module/embox/kernel/task/idesc/idesc_mmap_api.h>
void *mmap(void *addr, size_t le... |
ff7bf4fb29b6af0ac9978deff15a1f8600f093b2 | c26d7b0ed875357278e61627da2da0650da77986 | /src/libc/stdio/filbuf.c | 0a54f7f379e6aa5f4e0351240dc79124c81c7b88 | [
"BSD-3-Clause"
] | permissive | RetroBSD/retrobsd | 5343d9e3c424637fc3ad5b03fe720b2744490025 | 486f81f6abff01c7dcc207235cd2979b226a95ff | refs/heads/master | 2023-09-02T23:12:05.110883 | 2023-07-07T18:41:40 | 2023-07-07T18:41:40 | 18,598,087 | 282 | 59 | BSD-3-Clause | 2023-07-18T07:35:36 | 2014-04-09T13:25:46 | C | UTF-8 | C | false | false | 1,479 | c | filbuf.c | /*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
int
_filbuf(iop)
regis... |
80f53cbc86a8df044ac1864c1372f42b0075e789 | d60dcdd392e32cd6272f7f364e5b4d556d6b84fb | /dtaidistance/lib/DTAIDistanceC/DTAIDistanceC/dd_dtw_openmp.c | 98580820a156a59267c8485cf655ac17a2ef09e3 | [
"Apache-2.0"
] | permissive | wannesm/dtaidistance | 7e39ba5086129f330a297d82af1b25854c016f74 | d914ab85021f67ff1c58d45727e0e4844ad26d8e | refs/heads/master | 2023-08-31T06:21:45.836316 | 2023-08-01T12:51:50 | 2023-08-01T12:53:50 | 80,764,246 | 943 | 188 | NOASSERTION | 2023-05-23T14:44:06 | 2017-02-02T20:11:03 | Python | UTF-8 | C | false | false | 11,982 | c | dd_dtw_openmp.c | /*!
@file dtw_openmp.c
@brief DTAIDistance.dtw
@author Wannes Meert
@copyright Copyright © 2020 Wannes Meert. Apache License, Version 2.0, see LICENSE for details.
*/
#include "dd_dtw_openmp.h"
bool is_openmp_supported() {
#if defined(_OPENMP)
return true;
#else
return false;
#endif
}
/**
Check the argum... |
082308c24ae01ca68f314559ea47ea0c561427d6 | d34971201b9b1aba0b5883508287fcbc72099363 | /imagepipeline-native/src/main/jni/memchunk/NativeMemoryChunk.h | e9a2f6303cf4af049b0789f6de0e749fbef3747b | [
"MIT"
] | permissive | facebook/fresco | 6a9f7c9d501faaf8aefcdae6f495633659812b9f | 8b7ebca781d0ab7029b0c77cc28fab7a0af08a9c | refs/heads/main | 2023-09-05T03:35:16.680080 | 2023-09-04T17:08:32 | 2023-09-04T17:08:32 | 31,533,997 | 19,373 | 5,139 | MIT | 2023-09-14T18:34:31 | 2015-03-02T09:58:04 | Java | UTF-8 | C | false | false | 413 | h | NativeMemoryChunk.h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef _NATIVE_MEMORY_CHUNK_H_
#define _NATIVE_MEMORY_CHUNK_H_
#ifdef __cplusplus
extern "C" {
#endif
jint registerNativeMemory... |
a143caf45098e72d30202f9ee6a5ac45c3b4ea10 | b5c2f808cee8655a1a5fa15ea8a49c51a7b7ea46 | /pkg2zip_aes_x86.c | a6963c102460a02b58a2fd40ff4e36b48eddd059 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"Unlicense"
] | permissive | lusid1/pkg2zip | df3a73135329faefab6e4ef0bd5dee0fd9fecc93 | 97a398523adc6090a5722289b35de76c015076c4 | refs/heads/master | 2023-07-09T02:20:40.695995 | 2023-01-11T19:54:12 | 2023-01-11T19:54:12 | 165,358,779 | 162 | 41 | Unlicense | 2023-06-25T01:27:25 | 2019-01-12T07:13:54 | C | UTF-8 | C | false | false | 6,006 | c | pkg2zip_aes_x86.c | #include "pkg2zip_aes.h"
#include <string.h>
#include <wmmintrin.h> // AESNI
#include <tmmintrin.h> // SSSE3
#define AES128_INIT(ctx, x, rcon) \
{ \
__m128i a, b; \
_mm_store_si128(ctx, x); \
a = _mm_aeskeygenassi... |
1e38d0e9ee432fe734bf808c0d0f6e3328723199 | e5a9df79c9f46c1b256a0049d52c6dc51a6cf45b | /pkg/unzip/config.h | 5d254d27b4ab6ebb5ccaae14b9d81408da3d802e | [
"ISC"
] | permissive | oasislinux/oasis | aabf2a11f568af399c12ead8dd5c2945df8f5b48 | 0ae82dcc8be1ff6e64186e5616419769c2adaaee | refs/heads/master | 2023-08-28T22:45:59.642919 | 2023-08-25T20:09:09 | 2023-08-25T20:09:09 | 60,745,639 | 1,929 | 69 | NOASSERTION | 2023-08-25T20:39:37 | 2016-06-09T02:55:17 | Roff | UTF-8 | C | false | false | 330 | h | config.h | #define ACORN_FTYPE_NFS
#define DATE_FORMAT DF_YMD
#define IZ_HAVE_UXUIDGID
#define LARGE_FILE_SUPPORT
#define UNICODE_SUPPORT
#define UNICODE_WCHAR
#define UNIX
#define USE_BZIP2
#define UTF8_MAYBE_NATIVE
#define WILD_STOP_AT_DIR
/* why does Debian define these? */
#define NOMEMCPY
#define NO_LCHMOD
#define NO_WORKIN... |
e0c55dc18259db7bca2d395587e76c73d1c0f74e | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/arch/x86/crypto/aesni-intel_glue.c | 990c9699b6628b93c6dd5300b74aa197cc195976 | [
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 38,603 | c | aesni-intel_glue.c | /*
* Support for Intel AES-NI instructions. This file contains glue
* code, the real AES implementation is in intel-aes_asm.S.
*
* Copyright (C) 2008, Intel Corp.
* Author: Huang Ying <ying.huang@intel.com>
*
* Added RFC4106 AES-GCM support for 128-bit keys under the AEAD
* interface for 64-bit kernels.
* ... |
429b395df57fa07e51aa98c11e3ed5b54c33bbc2 | 060bc5ba9a8f707bdac927f30842febf9a4676a1 | /contrib/tests/benchmarks/valloc.c | a3bd8e866e8825d149d6573eb657f75847c50d1c | [
"BSD-4-Clause-UC",
"LicenseRef-scancode-other-permissive"
] | permissive | sergev/LiteBSD | 14ae93caa709d4707c3b122c243641c8214583c3 | 6f89c18880065a83d3d18661c80f72fb3397a888 | refs/heads/master | 2023-01-10T02:20:05.357875 | 2022-07-19T16:41:32 | 2022-07-19T16:41:32 | 19,167,171 | 318 | 58 | NOASSERTION | 2022-12-28T16:23:01 | 2014-04-26T02:55:34 | C | UTF-8 | C | false | false | 312 | c | valloc.c | char *
valloc(npages, pagesize)
int npages;
register int pagesize;
{
int off;
char *base, *sbrk();
base = sbrk(0);
off = (int)base & (pagesize - 1);
if (off) {
(void) sbrk(pagesize - off);
base += pagesize - off;
}
if (sbrk(npages * pagesize) == (char *)-1)
return ((char *)0);
return (base);
}
|
eeae35c51acf5fb80d9fd7a22b51f0bef0f7d0be | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/arch/arm/imx/imx23_digctl.c | 2f44da9ba1e5fb0c88b29fa6e7b20c2ba15ae96a | [] | no_license | NetBSD/src | 1a9cbc22ed778be638b37869ed4fb5c8dd616166 | 23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c | refs/heads/trunk | 2023-08-31T13:24:58.105962 | 2023-08-27T15:50:47 | 2023-08-27T15:50:47 | 88,439,547 | 656 | 348 | null | 2023-07-20T20:07:24 | 2017-04-16T20:03:43 | null | UTF-8 | C | false | false | 4,896 | c | imx23_digctl.c | /* $Id: imx23_digctl.c,v 1.2 2019/10/18 04:09:01 msaitoh Exp $ */
/*
* Copyright (c) 2013 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Petri Laakso.
*
* Redistribution and use in source and binary forms, with or without
* modificati... |
88c28b22832a8ec6d17d41c59536f0b4004d2e95 | b6acd6eed2b8946c1c1e19fa30081cbab0a2954f | /starry_io/Project/ppm_capture.h | 70b340da2b0e274919682c32d593049760a2b674 | [
"BSD-3-Clause"
] | permissive | JcZou/StarryPilot | 7ce1ed454f133ccd30d71916811e2bf23196d2eb | 97af0338a54e1eeece877c72222aeaf4b7e80ad7 | refs/heads/master | 2023-03-12T19:10:17.225314 | 2021-11-27T19:44:26 | 2021-11-27T19:44:26 | 137,048,745 | 304 | 172 | BSD-3-Clause | 2020-08-26T07:34:49 | 2018-06-12T09:27:59 | C | UTF-8 | C | false | false | 860 | h | ppm_capture.h | /**
******************************************************************************
* @file ppm_capture.h
* @author J Zou
* @version V1.0
* @date 16-Feb-2017
* @brief PPM Decoder
******************************************************************************
*/
#ifndef _PPM_CAPTURE_H_
#defin... |
45ce9d7ec906819cfd3a5ca910d0add0e72e4447 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/hdf5/src/H5Tpublic.h | d646ef1e887e048fdf6a5de709e2bd6db4f45519 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C | false | false | 27,329 | h | H5Tpublic.h | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
16b1ef8c1a893b8932aecce23231ee3f0b99a252 | 97c44f18459163c0baa546ab2578339b716c3238 | /hedera/BRHederaAddress.h | dff0c200e798701078abc60b044d592893eb1b91 | [
"MIT"
] | permissive | breadwallet/breadwallet-core | fe8a0ac99f3e47216860b2918c8ad14d3503b140 | 73566cb79f753954eccbf07d5ab25ca54741198e | refs/heads/develop | 2023-08-21T22:27:45.735652 | 2020-02-06T18:43:51 | 2020-02-06T18:43:51 | 37,500,549 | 284 | 283 | MIT | 2023-03-21T09:07:32 | 2015-06-16T01:22:12 | C | UTF-8 | C | false | false | 2,709 | h | BRHederaAddress.h | //
// BRHederaAddress.h
// Core
//
// Created by Carl Cherry on Oct. 23, 2019.
// Copyright © 2019 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
//
#ifndef BRHederaAddress_h
... |
32229c45d51c267c45638a6dfa437d82efd807dd | 0a3ea198a89cacc190ca9e0cae0877173e819c43 | /Sileo/Backend/C Contrib/dpkgversion.h | 5b8169a113d5c0600e3dffd0920ca34b9b2008d3 | [
"BSD-2-Clause"
] | permissive | Sileo/Sileo | 9d17b2b35fa46d7ec90d5e2f419035a426fe8415 | 18e0ac2c90e8658ed9b787dca25a4c7c34edf93a | refs/heads/main | 2023-09-03T13:19:48.557667 | 2023-08-22T13:30:11 | 2023-08-22T13:30:11 | 186,243,031 | 1,100 | 218 | BSD-4-Clause | 2023-09-09T02:48:31 | 2019-05-12T10:53:31 | Swift | UTF-8 | C | false | false | 532 | h | dpkgversion.h | //
// dpkgversion.h
// Sileo
//
// Created by Amy While on 21/07/2022.
// Copyright © 2022 Sileo Team. All rights reserved.
//
#ifndef dpkgversion_h
#define dpkgversion_h
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <limits.h>
#include <ctype.h>
struct DpkgVersion {
... |
bab5984805fb2be242aa43085e1f95667e2e0139 | 99bdb3251fecee538e0630f15f6574054dfc1468 | /bsp/stm32/libraries/STM32WBxx_HAL/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc.h | e97b0c4fb5096cc207782a588b8aadada7919737 | [
"Apache-2.0",
"Zlib",
"LicenseRef-scancode-proprietary-license",
"MIT",
"BSD-3-Clause",
"X11",
"BSD-4-Clause-UC",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RT-Thread/rt-thread | 03a7c52c2aeb1b06a544143b0e803d72f47d1ece | 3602f891211904a27dcbd51e5ba72fefce7326b2 | refs/heads/master | 2023-09-01T04:10:20.295801 | 2023-08-31T16:20:55 | 2023-08-31T16:20:55 | 7,408,108 | 9,599 | 5,805 | Apache-2.0 | 2023-09-14T13:37:26 | 2013-01-02T14:49:21 | C | UTF-8 | C | false | false | 183,184 | h | stm32wbxx_hal_rcc.h | /**
******************************************************************************
* @file stm32wbxx_hal_rcc.h
* @author MCD Application Team
* @brief Header file of RCC HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... |
303672200361c80da27e8ac3f8c385e647d1c91c | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/net/wan/sdla.c | de3bbf43fc5ac14f41ee9d76eeacb1f059eeaab3 | [
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"Linux-syscall-note",
"GPL-2.0-only"
] | permissive | OLIMEX/DIY-LAPTOP | ae82f4ee79c641d9aee444db9a75f3f6709afa92 | a3fafd1309135650bab27f5eafc0c32bc3ca74ee | refs/heads/rel3 | 2023-08-04T01:54:19.483792 | 2023-04-03T07:18:12 | 2023-04-03T07:18:12 | 80,094,055 | 507 | 92 | Apache-2.0 | 2023-04-03T07:05:59 | 2017-01-26T07:25:50 | C | UTF-8 | C | false | false | 38,854 | c | sdla.c | /*
* SDLA An implementation of a driver for the Sangoma S502/S508 series
* multi-protocol PC interface card. Initial offering is with
* the DLCI driver, providing Frame Relay support for linux.
*
* Global definitions for the Frame relay interface.
*
* Version: @(#)sdla.c 0.30 12 Sep 1996
*
* Credits: S... |
a43c1cf0e0ff6e4574bf388805fb21e68b24cf8e | d5b32fc79745e49341d6b4c824df429e3376c4e4 | /game/cstb/rainbow.h | c58f8589ed9dedd0ca157a09598af83a773bc3b4 | [
"WTFPL"
] | permissive | sgadrat/super-tilt-bro | ab78be86cd894a8e0e5ac9871c075dfbd6fda4e0 | c39b11e8072651f3f44187c15edc568f4b13fde0 | refs/heads/master | 2023-09-01T10:54:40.954738 | 2023-08-25T20:44:07 | 2023-08-25T20:44:07 | 68,089,592 | 122 | 12 | WTFPL | 2021-03-08T21:29:36 | 2016-09-13T08:25:53 | Assembly | UTF-8 | C | false | false | 4,325 | h | rainbow.h | #pragma once
#include "cstb/utils.h"
#include "cstb/mem_labels.h"
#include <stdint.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
////////////////////////////////////
// Constants
////////////////////////////////////
#include "cstb/rainbow_constants.h"
/////////////////////////////... |
9c8a692500059bdfae576b0f49cee240b4b9c079 | 0744dcc5394cebf57ebcba343747af6871b67017 | /os/board/rtl8730e/src/component/os_dep/platform_stdlib.h | 74de71395c464285c2150ab19fd91ade522bfaa5 | [
"Apache-2.0",
"GPL-1.0-or-later",
"BSD-3-Clause",
"ISC",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | Samsung/TizenRT | 96abf62f1853f61fcf91ff14671a5e0c6ca48fdb | 1a5c2e00a4b1bbf4c505bbf5cc6a8259e926f686 | refs/heads/master | 2023-08-31T08:59:33.327998 | 2023-08-08T06:09:20 | 2023-08-31T04:38:20 | 82,517,252 | 590 | 719 | Apache-2.0 | 2023-09-14T06:54:49 | 2017-02-20T04:38:30 | C | UTF-8 | C | false | false | 1,316 | h | platform_stdlib.h | /******************************************************************************
* Copyright (c) 2013-2016 Realtek Semiconductor Corp.
*
* 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
*
... |
51ff6940ef68eafa6763c75302bc95c9ac35e201 | c0bfd93cd7f26a271268e504959256f1e02c6806 | /components/esp-tls/private_include/esp_tls_error_capture_internal.h | d047b543b5ea6d6ec5b0f53f8a06cc4f597119d7 | [
"Apache-2.0"
] | permissive | espressif/ESP8266_RTOS_SDK | 606f396e92d2675d9854f0fabd88587fbbbaf267 | af0cdc36fa2600033d0a09301c754008cf1503c1 | refs/heads/master | 2023-08-24T22:40:15.373553 | 2023-05-06T02:04:24 | 2023-05-06T02:04:24 | 27,584,181 | 3,163 | 1,749 | Apache-2.0 | 2023-08-09T10:48:13 | 2014-12-05T09:27:12 | C | UTF-8 | C | false | false | 2,131 | h | esp_tls_error_capture_internal.h | // Copyright 2017-2019 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... |
84747e6c1b93d33d9cd269effbb017afec25e551 | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/dev/ic/seeq8003reg.h | 613b35921d6d17bbd9117aec11fcc6d3a36c0dd9 | [] | no_license | NetBSD/src | 1a9cbc22ed778be638b37869ed4fb5c8dd616166 | 23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c | refs/heads/trunk | 2023-08-31T13:24:58.105962 | 2023-08-27T15:50:47 | 2023-08-27T15:50:47 | 88,439,547 | 656 | 348 | null | 2023-07-20T20:07:24 | 2017-04-16T20:03:43 | null | UTF-8 | C | false | false | 6,027 | h | seeq8003reg.h | /* $NetBSD: seeq8003reg.h,v 1.4 2022/12/30 09:08:48 andvar Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang. 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 of source... |
eb747b7ab9193e4c12ff704153855e4f7ded3cb4 | b732361d6b3405c3e79ac0a7d8361cf5b329b015 | /ext/phalcon/html/helper/button.zep.h | d6fe3992ef59e8e2d944bb9de3fb9a8061862dd9 | [
"BSD-3-Clause"
] | permissive | phalcon/cphalcon | 4a5b26f47b5c2a4107541d7fd73c595c0d90ed73 | fc183e11e8b96c43daf7d893244846206dc2aa73 | refs/heads/master | 2023-03-07T22:09:48.814291 | 2023-02-28T16:45:15 | 2023-02-28T16:45:15 | 2,854,337 | 8,135 | 2,343 | BSD-3-Clause | 2023-09-12T12:41:13 | 2011-11-26T05:52:50 | PHP | UTF-8 | C | false | true | 704 | h | button.zep.h |
extern zend_class_entry *phalcon_html_helper_button_ce;
ZEPHIR_INIT_CLASS(Phalcon_Html_Helper_Button);
PHP_METHOD(Phalcon_Html_Helper_Button, __invoke);
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_button___invoke, 0, 1, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
#if PHP_VERSION... |
d038c41f9c8dc84ee39feacb8fd427a8be502b24 | 36a92ec73c174daf7d1cd05d20dc7e1baa7ed831 | /fast-models-examples/GICv3.x_GICv4.x_example/src/gicv4_virt.c | 907b08a8aefbc8f5d4de2bca55e3b7b4ad0c9656 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ARM-software/Tool-Solutions | 88d941367949c5f491ee73d3413d17cc8bc834ff | 04545fbffcae472b7d880bb0453e118fb2885e95 | refs/heads/main | 2023-09-02T00:15:57.634633 | 2023-08-18T11:00:28 | 2023-08-18T12:33:44 | 155,524,900 | 241 | 149 | Apache-2.0 | 2023-09-12T09:27:14 | 2018-10-31T08:39:51 | C | WINDOWS-1258 | C | false | false | 13,463 | c | gicv4_virt.c | // ----------------------------------------------------------
// GICv3 Physical LPI functions
//
// Copyright (C) Arm Limited, 2019 All rights reserved.
//
// The example code is provided to you as an aid to learning when working
// with Arm-based technology, including but not limited to programming tutorials.
/... |
f31968f9612b3d19a0ba001c8825878e85850ff2 | f34c3cc5ee087643bf6492afea1503b8f8440869 | /board/drivers/fake_siren.h | 38c87deb0cc34fc33f28a839257d679b8f851b5a | [
"MIT"
] | permissive | commaai/panda | 24334163d7c2ee49b5baa854fe355681fd5ceaba | 72f1603a89c7fecb6746d0154232f2d8187ebe70 | refs/heads/master | 2023-09-04T12:48:22.461254 | 2023-09-01T23:32:08 | 2023-09-01T23:32:08 | 87,490,037 | 1,493 | 781 | MIT | 2023-09-14T21:34:19 | 2017-04-07T01:11:08 | C | UTF-8 | C | false | false | 4,752 | h | fake_siren.h | #include "stm32h7/lli2c.h"
#define CODEC_I2C_ADDR 0x10
// 1Vpp sine wave with 1V offset
const uint8_t fake_siren_lut[360] = { 134U, 135U, 137U, 138U, 139U, 140U, 141U, 143U, 144U, 145U, 146U, 148U, 149U, 150U, 151U, 152U, 154U, 155U, 156U, 157U, 158U, 159U, 160U, 162U, 163U, 164U, 165U, 166U, 167U, 168U, 169U, 170U, ... |
cdcd53dee067edab4b6f3ba0087198def2f6cf90 | d38ed5f31d74a79a054ed55dd9123a8d615283b9 | /third_party/libgit2/tests/config/config_helpers.c | d92ff1a4ee81d660127f5d1a092b1f64a8147239 | [
"Apache-2.0",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"GCC-exception-2.0",
"LGPL-2.0-or-later",
"Zlib",
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"ISC",
"MIT"
] | permissive | chigraph/chigraph | 8ff76a14337da29fa2b2a84d5c35f2eac4156c6e | 6981bdd6763db54edfe284c1f7d223193584c69a | refs/heads/master | 2022-12-21T13:46:57.273039 | 2022-12-17T18:41:19 | 2022-12-17T18:41:19 | 60,776,831 | 364 | 65 | Apache-2.0 | 2019-12-13T14:46:43 | 2016-06-09T13:27:37 | C++ | UTF-8 | C | false | false | 1,385 | c | config_helpers.c | #include "clar_libgit2.h"
#include "config_helpers.h"
#include "repository.h"
#include "buffer.h"
void assert_config_entry_existence(
git_repository *repo,
const char *name,
bool is_supposed_to_exist)
{
git_config *config;
git_config_entry *entry = NULL;
int result;
cl_git_pass(git_repository_config__weakptr(&... |
ab792d4707ec6720fb9e0ba3bf90492c0f6f42f5 | c4a119311ac01bbe7d5ab81b1d3d663ad0900ab6 | /python-modules/pybluez/bluez/bluetooth/sdp_lib.h | e506ac15a8fcdbaba2004c77e7ff8ba5cff6b15b | [
"GPL-2.0-only",
"Apache-2.0"
] | permissive | kuri65536/python-for-android | 1d8d99e81e64bc87805c2c58ee0dcf43d413e72e | 26402a08fc46b09ef94e8d7a6bbc3a54ff9d0891 | refs/heads/master | 2021-06-02T01:17:29.685199 | 2018-05-05T00:12:13 | 2018-05-05T01:36:22 | 32,235,625 | 280 | 122 | Apache-2.0 | 2020-05-15T06:47:36 | 2015-03-14T22:44:36 | Python | UTF-8 | C | false | false | 21,650 | h | sdp_lib.h | /*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2001-2002 Nokia Corporation
* Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com>
* Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org>
* Copyright (C) 2002-2003 Stephen Crane <steve.crane@rococosoft.com>
*
*
* T... |
93ab9c05389dbddaa8247b86cfbd0bab7f7a14c0 | a7a403dec4e064d9f1975531d0bfea16da3623f8 | /api-conversion/SDL_config_iphoneos.h | 3eaf0b2ba25ccd7773a3029cc913c37b8f41423b | [
"MIT"
] | permissive | MasterQ32/SDL.zig | e1163e78bf32832d21feeae93f66a5bc0ca21e89 | 602aeb7f1d33da71626aff54a25ef69fef7c613b | refs/heads/master | 2023-08-29T00:35:54.489172 | 2023-08-04T19:34:21 | 2023-08-04T19:34:21 | 225,314,689 | 238 | 58 | MIT | 2023-09-07T06:53:57 | 2019-12-02T07:43:30 | C | UTF-8 | C | false | false | 3,757 | h | SDL_config_iphoneos.h | #ifndef SDL_config_iphoneos_h_
#define SDL_config_iphoneos_h_
#define SDL_config_h_
#include "SDL_platform.h"
#ifdef __LP64__
#define SIZEOF_VOIDP 8
#else
#define SIZEOF_VOIDP 4
#endif
#define HAVE_GCC_ATOMICS 1
#define STDC_HEADERS 1
#define HAVE_ALLOCA_H 1
#define HAVE_CTYPE_H 1
#define HAVE_INTTYPES_H... |
cd51ed9a7657c9e5dbef8b9aa7a0f000ac8eeb98 | 035660e8cc10571ebbd0d4393fef063bb7eb98f6 | /src/overlays/actors/ovl_En_Baguo/z_en_baguo.c | 17eb5c9ef9181745b898527094151cd8449d8a0a | [] | no_license | zeldaret/mm | f163a5e7c4314105777369fa7671ce9c2a99922a | 4ae00e909e74044f05155683b49d2561f91de7ba | refs/heads/master | 2023-08-06T07:22:04.912966 | 2023-08-04T20:36:03 | 2023-08-04T20:36:03 | 247,875,852 | 915 | 328 | null | 2023-09-14T11:48:59 | 2020-03-17T04:03:07 | C | UTF-8 | C | false | false | 20,573 | c | z_en_baguo.c | /*
* File: z_en_baguo.c
* Overlay: ovl_En_Baguo
* Description: Nejiron
*/
#include "z_en_baguo.h"
#include "overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.h"
#include "objects/gameplay_keep/gameplay_keep.h"
#define FLAGS (ACTOR_FLAG_1 | ACTOR_FLAG_4)
#define THIS ((EnBaguo*)thisx)
void EnBaguo_Init(Actor* this... |
8898feda3c000626624973352ed679651acc1e1e | 930e0924f9b423ad53dcafdcc45e791ce668eeee | /c_src/posix_mutex.c | 533a3f18e8f7b8687cf7502cc69d8243257d5a57 | [
"MIT"
] | permissive | hamiltron/py-simple-audio | b55727c336da765d2ef925892cfdb5e262560641 | e0c595c1c463cf52ecc7ea4ecde1b92dbe985e95 | refs/heads/master | 2023-01-14T13:41:37.234761 | 2021-11-28T01:53:54 | 2021-11-28T01:53:54 | 40,561,035 | 145 | 40 | NOASSERTION | 2022-12-28T01:34:26 | 2015-08-11T19:30:33 | C | UTF-8 | C | false | false | 598 | c | posix_mutex.c | /*
Simpleaudio Python Extension
Copyright (C) 2015, Joe Hamilton
MIT License (see LICENSE.txt)
*/
#include "simpleaudio.h"
#include <stdlib.h>
#include <pthread.h>
void* create_mutex() {
void* mutex;
mutex = PyMem_Malloc(sizeof(pthread_mutex_t));
pthread_mutex_init((pthread_mutex_t*)mutex, NULL);
return mutex... |
d03c775049dc13fc8f1b675300a5f11680960239 | 84abfe6c290c599280c0190c7fb9cd9f3a7d8ac7 | /util/terminalColor.h | 10071de1df5f5163fe7b657730d7662b0f4086a8 | [
"MIT"
] | permissive | ThePhysicsGuys/Physics3D | fa86abafd541a71d1b1fe99c1157d3d7aaba7b31 | 37aed8811c07560e20670f9114f606a978440822 | refs/heads/master | 2023-06-22T14:09:09.888412 | 2022-12-22T00:46:00 | 2022-12-22T00:46:00 | 158,881,886 | 297 | 27 | MIT | 2023-06-10T21:20:56 | 2018-11-23T22:07:37 | C++ | UTF-8 | C | false | false | 497 | h | terminalColor.h | #pragma once
enum class TerminalColor {
BLACK = 0,
DARK_BLUE = 1,
DARK_GREEN = 2,
AQUA = 3,
DARK_RED = 4,
PURPLE = 5,
DARK_YELLOW = 6,
LIGHT_GRAY = 7,
GRAY = 8,
BLUE = 9,
GREEN = 10,
CYAN = 11,
RED = 12,
MAGENTA = 13,
YELLOW = 14,
WHITE = 15,
};
struct TerminalColorPair {
TerminalColor foreground;
T... |
ac350bec1e0ed0fa129b6412768474bfff942d5d | 82faab1769348cfe2c4ab2d9e9ddcbacbd5d2702 | /deps/dev/math.h | 2cd486cc97b477c84db17c6b563c5b75ecb9da39 | [
"MIT"
] | permissive | hshindo/Merlin.jl | 356e98a575e373229d2aeda119d6381602837782 | 5c13eafab1df4dc4a73e7bdc85d45d3e4990fd80 | refs/heads/master | 2020-04-03T22:07:16.844116 | 2018-11-02T04:31:00 | 2018-11-02T04:31:00 | 46,850,220 | 167 | 17 | MIT | 2018-11-02T04:31:01 | 2015-11-25T09:12:06 | Julia | UTF-8 | C | false | false | 2,441 | h | math.h | #include <math.h>
#include <stdint.h>
// Assumed IEEE754.
inline float exp_approx(float x) {
float exp_cst1 = float(((1<<8) - 1) * (1<<23));
float exp_cst2 = 0.f;
union { int i; float f; } xu, xu2;
float val = (1<<23) / log(2.f) * x + ((1<<7) - 1) * (1<<23);
val = val < exp_cst1 ? val : exp_cst1;
val = va... |
08acff6617af3be2a59cad032f6131e916ad0cbe | f9cc38a7c78446b73747580aacae124bb2826a58 | /cmd/demo/usbip/usbip-win/userspace/src/usbip/usbip_vhci.h | e420efbf3b851b6301cbbf59b391362b3f0499a9 | [
"GPL-2.0-only",
"MIT",
"GPL-3.0-only"
] | permissive | bulwarkid/virtual-fido | dae4677d2051961c96d8f284cac7db9a8c5a45d3 | c0256885902878809ea97dbe488d6937d75b5bc5 | refs/heads/master | 2023-08-09T22:09:58.891332 | 2023-07-24T22:08:36 | 2023-07-24T23:10:00 | 537,229,823 | 988 | 46 | MIT | 2023-07-17T21:08:29 | 2022-09-15T22:47:15 | C | UTF-8 | C | false | false | 409 | h | usbip_vhci.h | #ifndef __VHCI_DRIVER_H
#define __VHCI_DRIVER_H
#pragma
#include "usbip_vhci_api.h"
HANDLE usbip_vhci_driver_open(void);
void usbip_vhci_driver_close(HANDLE hdev);
int usbip_vhci_get_imported_devs(HANDLE hdev, pioctl_usbip_vhci_imported_dev_t *pidevs);
int usbip_vhci_attach_device(HANDLE hdev, pvhci_pluginfo_t plugi... |
3eca7b06540635f53798b79e106a81935a5c3d25 | 167c6226bc77c5daaedab007dfdad4377f588ef4 | /cpp/ql/test/library-tests/variables/global/c.c | 0db4e3bc3e05822cf5fac11b1647d4c2cc3d2f10 | [
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | github/codeql | 1eebb449a34f774db9e881b52cb8f7a1b1a53612 | d109637e2d7ab3b819812eb960c05cb31d9d2168 | refs/heads/main | 2023-08-20T11:32:39.162059 | 2023-08-18T14:33:32 | 2023-08-18T14:33:32 | 143,040,428 | 5,987 | 1,363 | MIT | 2023-09-14T19:36:50 | 2018-07-31T16:35:51 | CodeQL | UTF-8 | C | false | false | 185 | c | c.c |
int js[] = { 1, 2, 3, 4 };
int ks[4] = { 1, 2, 3, 4 };
int ls[4] = { 1, 2, 3, 4 };
int iss[4][2] = { { 1, 2 }, { 3, 4 }, { 1, 2 }, { 3, 4 } };
typedef int int_alias;
int_alias i;
|
ed0c05aba574c496da59d9bb98c8494e50c561d0 | 1f399edf85d995443d01f66d77eca0723886d0ff | /devicemodel/hw/pci/virtio/virtio_net.c | 89f04b2102e80acd892ddc6bd523c1bea2aa022e | [
"BSD-3-Clause"
] | permissive | projectacrn/acrn-hypervisor | f9c5864d54929a5d2fa36b5e78c08f19b46b8f98 | 390740aa1b1e9d62c51f8e3afa0c29e07e43fa23 | refs/heads/master | 2023-08-18T05:07:01.310327 | 2023-08-11T07:49:36 | 2023-08-16T13:20:27 | 123,983,554 | 1,059 | 686 | BSD-3-Clause | 2023-09-14T09:51:10 | 2018-03-05T21:52:25 | C | UTF-8 | C | false | false | 30,463 | c | virtio_net.c | /*-
* Copyright (c) 2011 NetApp, Inc.
* 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 of source code must retain the above copyright
* notice, this list of condit... |
6627cca26b0241cc6c7b54260ad11ad9bc6e629e | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /devel/electron22/files/patch-gpu_command__buffer_tests_gl__test__utils.h | dd993b33380cedc4ffc202bfd7c7dd293e5a79e0 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C | false | false | 527 | h | patch-gpu_command__buffer_tests_gl__test__utils.h | --- gpu/command_buffer/tests/gl_test_utils.h.orig 2022-07-22 17:30:31 UTC
+++ gpu/command_buffer/tests/gl_test_utils.h
@@ -122,7 +122,7 @@ class GpuCommandBufferTestEGL {
return gfx::HasExtension(gl_extensions_, extension);
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILD... |
e21edbc376790fd9c98c943beb2d603a19ac01ce | e73547787354afd9b717ea57fe8dd0695d161821 | /src/world/dead/area_flo/flo_16/flo_16_0_header.c | 043f97c0b05cea95a6b0db75930d74ad9782c2d1 | [] | no_license | pmret/papermario | 8b514b19653cef8d6145e47499b3636b8c474a37 | 9774b26d93f1045dd2a67e502b6efc9599fb6c31 | refs/heads/main | 2023-08-31T07:09:48.951514 | 2023-08-21T18:07:08 | 2023-08-21T18:07:08 | 287,151,133 | 904 | 139 | null | 2023-09-14T02:44:23 | 2020-08-13T01:22:57 | C | UTF-8 | C | false | false | 383 | c | flo_16_0_header.c | #include "flo_16.h"
EntryList N(Entrances) = {
[flo_16_ENTRY_0] { -720.0, 0.0, 0.0, 90.0 },
[flo_16_ENTRY_1] { 710.0, 100.0, 0.0, 270.0 },
};
MapSettings N(settings) = {
.main = &N(EVS_Main),
.entryList = &N(Entrances),
.entryCount = ENTRY_COUNT(N(Entrances)),
.background =... |
a1d3a15c828db088371fe492e15586f77667927f | 5a5bde743ddbcfa28dbd71dbd8fe1835010763df | /include/lm/core.h | 999bc056992254401196ca02eb84b5d11a83763c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lightmetrica/lightmetrica-v3 | fb85230c92dac12e754ca570cd54d45b5b6e457c | 70601dbef13a513df032911d47f790791671a8e0 | refs/heads/master | 2021-10-29T08:13:40.140577 | 2021-10-22T10:50:39 | 2021-10-22T10:50:39 | 189,633,321 | 105 | 14 | NOASSERTION | 2021-10-20T14:34:34 | 2019-05-31T17:27:55 | C++ | UTF-8 | C | false | false | 282 | h | core.h | /*
Lightmetrica - Copyright (c) 2019 Hisanari Otsu
Distributed under MIT license. See LICENSE file for details.
*/
#pragma once
// Includes core headers of Lightmetrica
#include "component.h"
#include "exception.h"
#include "json.h"
#include "logger.h"
#include "serial.h" |
6b2b23ff12a79401ef1179361a009170e9e564bb | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/kern/bufq_readprio.c | e532d29ad633fe35d99fa981e75dd447d7b662b6 | [] | no_license | NetBSD/src | 1a9cbc22ed778be638b37869ed4fb5c8dd616166 | 23ee83f7c0aea0777bd89d8ebd7f0cde9880d13c | refs/heads/trunk | 2023-08-31T13:24:58.105962 | 2023-08-27T15:50:47 | 2023-08-27T15:50:47 | 88,439,547 | 656 | 348 | null | 2023-07-20T20:07:24 | 2017-04-16T20:03:43 | null | UTF-8 | C | false | false | 9,495 | c | bufq_readprio.c | /* $NetBSD: bufq_readprio.c,v 1.16 2017/05/04 11:03:27 kamil Exp $ */
/* NetBSD: subr_disk.c,v 1.61 2004/09/25 03:30:44 thorpej Exp */
/*-
* Copyright (c) 1996, 1997, 1999, 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jas... |
c648829643a9ebd3f3692db5b7bfbb304c4c3d37 | 5c72e3dec37038e313beab6250acaa54b4b03b93 | /vioserial/sys/Buffer.c | 67af63faccda7daf1962d0ddedd1af2cd11a48bf | [
"BSD-3-Clause",
"GPL-1.0-or-later"
] | permissive | virtio-win/kvm-guest-drivers-windows | eb29c92b6949d6bfb0ee8c70004e359180ee2398 | 19a79901f36aa552b85f8b4c3c9645ebe90d9ec5 | refs/heads/master | 2023-09-06T00:50:32.529282 | 2023-08-25T10:21:53 | 2023-08-31T07:30:16 | 2,524,933 | 1,424 | 294 | BSD-3-Clause | 2023-08-26T16:02:39 | 2011-10-06T09:06:41 | C | UTF-8 | C | false | false | 10,676 | c | Buffer.c | #include "precomp.h"
#include "vioser.h"
#if defined(EVENT_TRACING)
#include "Buffer.tmh"
#endif
// Number of descriptors that queue contains.
#define QUEUE_DESCRIPTORS 128
static BOOLEAN DmaWriteCallback(PVIRTIO_DMA_TRANSACTION_PARAMS params);
PPORT_BUFFER
VIOSerialAllocateSinglePageBuffer(
IN VirtIODevice *vd... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.