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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc7622bfde2a0694ce06ede7a4814a43d778f764 | 67305fcba68fdf469862aed2959ad1dd5b22a536 | /rt-thread/examples/kernel/thread_delete.c | 72eb4ec00886b9bf4fdbd1de8a2db8bec533b6d3 | [
"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 | 3,599 | c | thread_delete.c | /*
* 程序清单:删除线程
*
* 这个例子会创建两个线程,在一个线程中删除另外一个线程。
*/
#include <rtthread.h>
#include "tc_comm.h"
/*
* 线程删除(rt_thread_delete)函数仅适合于动态线程,为了在一个线程
* 中访问另一个线程的控制块,所以把线程块指针声明成全局类型以供全
* 局访问
*/
static rt_thread_t tid1 = RT_NULL, tid2 = RT_NULL;
/* 线程1的入口函数 */
static void thread1_entry(void* parameter)
{
rt_uint32_t co... |
65b242ec7f69b0e85937b6e05601eb1a354970a4 | 94b153fe49c2e7bd901c4f26d3cc4134920b4ccf | /src/themis/sym_enc_message.c | b2768928e7d690a05a499d73743bcd958a2c85b8 | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | cossacklabs/themis | d6d39836fcebe88d228d25a670a35c556b6a117d | 86096502c48a80edb11f567c92e26eb463eae36c | refs/heads/master | 2023-08-17T03:48:03.760843 | 2023-07-10T19:57:46 | 2023-07-10T19:57:46 | 35,159,920 | 1,831 | 168 | Apache-2.0 | 2023-09-14T04:05:12 | 2015-05-06T13:25:25 | C | UTF-8 | C | false | false | 35,828 | c | sym_enc_message.c | /*
* Copyright (c) 2015 Cossack Labs Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
71ad4d788dcf69794a19518fd25708e9236a928b | 1ff4566b59f96f1c4d7cae41cecc31c53188a81c | /src/commands_parser.c | 7cdf6c68a8dae8bc418bd341de49f21e272a87fa | [
"BSD-3-Clause"
] | permissive | i3/i3 | e5bb9db3545b77307f39b603cd6420dd192abcc4 | d6e2a38b5cdf200c0fb82fc4cf7fff7dbcdeb605 | refs/heads/next | 2023-08-03T13:40:39.203230 | 2023-07-22T08:24:13 | 2023-07-22T08:24:13 | 30,291,090 | 9,823 | 1,238 | BSD-3-Clause | 2023-09-13T06:42:54 | 2015-02-04T09:23:51 | C | UTF-8 | C | false | false | 17,277 | c | commands_parser.c | /*
* vim:ts=4:sw=4:expandtab
*
* i3 - an improved dynamic tiling window manager
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
*
* commands_parser.c: hand-written parser to parse commands (commands are what
* you bind on keys and what you can send to i3 using the IPC interface, like
* 'move le... |
6703118997c002a9e34f6e1b1efb05c9df1b4072 | 6884b12f2b7ca386651630c6bb16360ebc8176c6 | /040-osdev-07/terminal.h | 80c371732c6543a0adc7450f2456c40e5e46a683 | [
"MIT"
] | permissive | gynvael/stream | 2254537b172ae80f4e6150ff9cda8727f1936589 | 47f5e9f89450b86a34a07a84d70623afb34d360b | refs/heads/master | 2023-08-18T18:23:01.122688 | 2023-08-11T07:54:42 | 2023-08-11T07:54:42 | 50,767,329 | 156 | 51 | null | 2017-06-10T21:57:11 | 2016-01-31T09:39:45 | Python | UTF-8 | C | false | false | 1,280 | h | terminal.h | #pragma once
#include <stdint.h>
struct TerminalBackend;
typedef struct TerminalBackend TerminalBackend;
// XXX on creation limit size to 32000x32000
typedef void (*TBfunc_SetCursorPosition)(
TerminalBackend *tb, uint16_t x, uint16_t y);
typedef void (*TBfunc_GetCursorPosition)(
TerminalBackend *t... |
b454cae3e0667e2b033926441029dca5e9c76926 | 39a42d5290dfcae6633c3e4f17dcf3cce90979e6 | /benchmarks/agent/c/src/dacapomethod.h | 64e3fc5921afcfd7b79c4e0ac8011d5149d20158 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | dacapobench/dacapobench | 04a1c25c445af4ca90e5b761b685a85902254cac | 5a9b22c85eb87fbde6ed80cf2febf36f5e6cab3a | refs/heads/main | 2023-09-03T16:31:03.730829 | 2023-09-01T20:15:38 | 2023-09-01T20:15:38 | 113,319,104 | 128 | 59 | Apache-2.0 | 2023-08-11T01:00:31 | 2017-12-06T13:21:05 | Java | UTF-8 | C | false | false | 726 | h | dacapomethod.h | #ifndef DACAPO_METHOD_H
#define DACAPO_METHOD_H
#include "dacapo.h"
void method_init();
void method_capabilities(const jvmtiCapabilities* availableCapabilities, jvmtiCapabilities* capabilities);
void method_callbacks(const jvmtiCapabilities* capabilities, jvmtiEventCallbacks* callbacks);
void method_live(jvmtiEnv* jv... |
63960e2d7061236a77717947a3967566df24ed07 | c475cd8531a94ffae69cc92371d41531dbbddb6c | /Libraries/breakpad/src/client/windows/tests/crash_generation_app/resource.h | 8c7f6570a813ff31b2665bc9b5c8ef3490873942 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause",
"LicenseRef-scancode-unicode-mappings"
] | permissive | WolfireGames/overgrowth | 72d3dd29cbd7254337265c29f8de3e5c32400114 | 594a2a4f9da0855304ee8cd5335d042f8e954ce1 | refs/heads/main | 2023-08-15T19:36:56.156578 | 2023-05-17T08:17:53 | 2023-05-17T08:20:36 | 467,448,492 | 2,264 | 245 | Apache-2.0 | 2023-05-09T07:29:58 | 2022-03-08T09:38:54 | C++ | UTF-8 | C | false | false | 3,168 | h | resource.h | // Copyright (c) 2008, Google 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditi... |
d68f431015823819c6e6df386dde5f5f93084f0e | e1cddfd754d952134e72dfd03522c5ea4fb6008e | /src/plugins/unittest/svm_fifo_test.c | 8e186a86c9de9ebebfcd2c6bc8b495c36178c324 | [
"Apache-2.0"
] | permissive | FDio/vpp | 0ad30fa1bec2975ffa6b66b45c9f4f32163123b6 | f234b0d4626d7e686422cc9dfd25958584f4931e | refs/heads/master | 2023-08-31T16:09:04.068646 | 2022-03-14T09:49:15 | 2023-08-31T09:50:00 | 96,556,718 | 1,048 | 630 | Apache-2.0 | 2023-06-21T05:39:17 | 2017-07-07T16:29:40 | C | UTF-8 | C | false | false | 87,276 | c | svm_fifo_test.c | /*
* Copyright (c) 2019 Cisco and/or its affiliates.
* 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 applicabl... |
e3b5711e3693266db5727394f780ae0ebd6f6e7c | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/net/wireless/rtlwifi/rtl8192se/fw.c | 380e7d4b1ccf8a3629ab142354b88c35535629f1 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"Linux-syscall-note",
"GPL-2.0-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer"
] | 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 | 17,756 | c | fw.c | /******************************************************************************
*
* Copyright(c) 2009-2012 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundati... |
309f857ff90c68d2a09bdf52eb8db78a92a655e8 | 010279e2ba272d09e9d2c4e903722e5faba2cf7a | /contrib/python/matplotlib/py3/src/checkdep_freetype2.c | 8d9d8ca24a0716258c1ac764d3c00f088cd925d7 | [
"CC0-1.0",
"BSD-3-Clause",
"MIT",
"Bitstream-Charter",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-bakoma-fonts-1995",
"LicenseRef-scancode-unknown-license-reference",
"OFL-1.1",
"Apache-2.0"
] | permissive | catboost/catboost | 854c1a1f439a96f1ae6b48e16644be20aa04dba2 | f5042e35b945aded77b23470ead62d7eacefde92 | refs/heads/master | 2023-09-01T12:14:14.174108 | 2023-09-01T10:01:01 | 2023-09-01T10:22:12 | 97,556,265 | 8,012 | 1,425 | Apache-2.0 | 2023-09-11T03:32:32 | 2017-07-18T05:29:04 | Python | UTF-8 | C | false | false | 664 | c | checkdep_freetype2.c | #ifdef __has_include
#if !__has_include(<ft2build.h>)
#error "FreeType version 2.3 or higher is required. \
You may unset the system_freetype entry in mplsetup.cfg to let Matplotlib download it."
#endif
#endif
#include <ft2build.h>
#include FT_FREETYPE_H
#define XSTR(x) STR(x)
#define STR(x) #x
#pragma messa... |
d7f153208ff4a7d1bb649ba4817d6e8c432f1705 | 331640994b1b6f66c1639278571ddbdc6c8c0751 | /src/nxt_http_route.c | 4a64d5c1532a3c2be2aff8d73da0645635927ada | [
"Apache-2.0"
] | permissive | nginx/unit | eabcd067eaa60f4bdcf0cfaffe7d9932add2c66a | 9b22b6957bc87b3df002d0bc691fdae6a20abdac | refs/heads/master | 2023-09-04T02:02:13.581700 | 2023-08-30T16:07:24 | 2023-08-30T16:07:24 | 102,627,638 | 4,649 | 452 | Apache-2.0 | 2023-09-12T01:28:22 | 2017-09-06T15:45:30 | C | UTF-8 | C | false | false | 56,813 | c | nxt_http_route.c |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) NGINX, Inc.
*/
#include <nxt_router.h>
#include <nxt_http.h>
#include <nxt_sockaddr.h>
#include <nxt_http_route_addr.h>
#include <nxt_regex.h>
typedef enum {
NXT_HTTP_ROUTE_TABLE = 0,
NXT_HTTP_ROUTE_STRING,
NXT_HTTP_ROUTE_STRING_PTR,
NXT_HTTP_ROUTE_H... |
b00bbebbf230986798fd521880940b5877ef4572 | 5cb3030ed86e12332d109e1ab39f92c0c866677d | /src/image.h | 742627e7e78df33f416afe9e3efec699237052c8 | [
"BSD-3-Clause",
"ISC"
] | permissive | ultravideo/kvazaar | 9c8ac79644b4782e0c9743f6518f6997e2d9b774 | aab6aa9b349d2768f9371ef58680298c200e47e6 | refs/heads/master | 2023-08-24T03:29:58.344475 | 2023-07-17T05:51:47 | 2023-07-17T05:51:47 | 16,339,396 | 629 | 211 | BSD-3-Clause | 2023-07-03T13:01:52 | 2014-01-29T08:35:53 | C | UTF-8 | C | false | false | 4,064 | h | image.h | #ifndef IMAGE_H_
#define IMAGE_H_
/*****************************************************************************
* This file is part of Kvazaar HEVC encoder.
*
* Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms,... |
4872bc5b83bdffb685f5ee076250cec0bded8e50 | 88aca3340574f733b9ecd6f76708ecd2d57cb07e | /vendor/bundle/ruby/2.6.0/gems/rb-fsevent-0.11.1/ext/fsevent_watch/main.c | b18596a60345cee63db868f8f1cb4cefd6203f66 | [
"Apache-2.0",
"MIT"
] | permissive | collabnix/dockerlabs | 65c63a8424d34120bddc0fc8d6fd54a688953491 | 0f2a6b906a8ca0ebc28561236d4d6516f93b184c | refs/heads/master | 2023-09-05T07:30:30.601797 | 2023-09-05T07:25:53 | 2023-09-05T07:25:53 | 153,069,455 | 5,239 | 1,854 | Apache-2.0 | 2023-09-03T05:51:41 | 2018-10-15T07:19:18 | PHP | UTF-8 | C | false | false | 20,513 | c | main.c | #include "common.h"
#include "signal_handlers.h"
#include "cli.h"
#include "FSEventsFix.h"
// TODO: set on fire. cli.{h,c} handle both parsing and defaults, so there's
// no need to set those here. also, in order to scope metadata by path,
// each stream will need its own configuration... so this won't wor... |
75e376f76b621d26b7691ff1ed46881be85da7b5 | e910318d01528d82040507a49eeeb8dade45b31f | /ports/qemu-arm/startup.c | a52b068c332ae533753259c41bf1f62ce6a580c1 | [
"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 | 2,888 | c | startup.c | #include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "uart.h"
extern uint32_t _estack, _sidata, _sdata, _edata, _sbss, _ebss;
__attribute__((naked)) void Reset_Handler(void) {
// set stack pointer
__asm volatile ("ldr r0, =_estack");
__asm volatile ("mov sp, r0");
// copy .data section... |
6c11837a5b4762851df75ba0e18b02290ce34a73 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/isdn/hisax/st5481_b.c | 409849165838fba631eeb74983c7fc7e8e68b152 | [
"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 | 9,957 | c | st5481_b.c | /*
* Driver for ST5481 USB ISDN modem
*
* Author Frode Isaksen
* Copyright 2001 by Frode Isaksen <fisaksen@bewan.com>
* 2001 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incor... |
39303158af94a8f3219d52e224e0c4f9c27b6b2f | e814383d36a10839104efaa4df277996ab220fa3 | /ompi/mca/coll/tuned/coll_tuned_scan_decision.c | f35872023f0f5bbedf9a1356e88da37e1a67805e | [
"mpich2",
"BSD-3-Clause-Open-MPI"
] | permissive | open-mpi/ompi | a1d7483ae1d83dd8fd8ae3ee95e832e0a0ee04e3 | 1edfdb025c4450f694600083ad871cf06c8d45cd | refs/heads/main | 2023-09-01T01:30:02.040705 | 2023-08-29T17:32:18 | 2023-08-29T17:32:18 | 24,107,001 | 2,008 | 973 | NOASSERTION | 2023-09-14T20:59:26 | 2014-09-16T16:08:30 | C | UTF-8 | C | false | false | 4,740 | c | coll_tuned_scan_decision.c | /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2018 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2020 The University of Tennessee and The University
* of Tenne... |
33015775ee79320e9136780d6d20549ccc7165b9 | 0d7fc78bb265197a9c81fded765f70871e4668e6 | /src/st.h | 5efee8bbb7c7af7bb61c42a5b87fbd2b9b5e37b4 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | kkos/oniguruma | 7e10a9d6e8bda7940cf66ee6b30883c3c37804f1 | 1713dfaed25f9ef680ba998e83767487f80cf5ae | refs/heads/master | 2023-09-04T16:44:46.396571 | 2023-08-21T06:22:41 | 2023-08-21T06:22:41 | 38,999,874 | 2,164 | 393 | NOASSERTION | 2023-07-11T09:23:42 | 2015-07-13T08:19:17 | C | UTF-8 | C | false | false | 1,793 | h | st.h | /* This is a public domain general purpose hash table package written by Peter Moore @ UCB. */
/* @(#) st.h 5.1 89/12/14 */
#ifndef ST_INCLUDED
#define ST_INCLUDED
#if SIZEOF_VOIDP == SIZEOF_LONG
typedef unsigned long st_data_t;
#elif SIZEOF_VOIDP == SIZEOF_LONG_LONG
typedef unsigned long long st_data_t;
#endif
#de... |
45a1eaf66123cf0356e0a99b988b903ab47e79d2 | d61b532db0d3e08818338cfaac530a1ced1ffe3b | /util/ceg/ce_back/as_back/reloc1.c | a32fb61e0b21762f9383229d2b1f45268127f066 | [
"LicenseRef-scancode-other-permissive"
] | permissive | davidgiven/ack | 61049c7a8e95ff61a77b1edd3c22bb290720e276 | db5a32c68c4a60ca26a3927a799ea662b5b2b0e5 | refs/heads/default | 2023-08-29T07:33:12.771205 | 2023-07-08T20:17:27 | 2023-07-08T20:17:27 | 37,686,316 | 376 | 74 | NOASSERTION | 2023-07-08T20:17:28 | 2015-06-18T21:33:42 | C | UTF-8 | C | false | false | 112 | c | reloc1.c | #include "header.h"
reloc1( s, o, r)
char *s;
arith o;
int r;
{
fprint( codefile, RELOC1_FMT, s, (long) o);
}
|
a24ce66b190376213bc0ed57b1517593323ba894 | de0c523399eaf24544f7c0cbd61fe8d3c69c84f8 | /frida_mode/src/stats/stats_arm32.c | 6c72a476051d5ba4bf8cf03a34e5357bf08c224f | [
"Apache-2.0"
] | permissive | AFLplusplus/AFLplusplus | d45b697b8f2f767d29f4d886a2f9c5bd9ad6c032 | 11a622c63d70c9ca16c9847418b88992139aa892 | refs/heads/stable | 2023-09-01T16:24:45.928708 | 2023-08-31T12:51:42 | 2023-08-31T12:51:42 | 189,044,704 | 3,470 | 872 | Apache-2.0 | 2023-09-13T13:56:14 | 2019-05-28T14:29:06 | C | UTF-8 | C | false | false | 489 | c | stats_arm32.c | #include "frida-gumjs.h"
#include "stats.h"
#include "util.h"
#if defined(__arm__)
void starts_arch_init(void) {
FFATAL("Stats not supported on this architecture");
}
void stats_write_arch(stats_data_t *data) {
UNUSED_PARAMETER(data);
FFATAL("Stats not supported on this architecture");
}
void stats_colle... |
9b46e3eb7088e2ce84035b09d55e4732c01d0215 | 86302885733eb9362ab167ca442bac1b403d191e | /overlays/xtensa_nxp_imx_adsp/gdb/gdb/xtensa-config.c | d4d9b0c4f4c8f463ffac6173bbf7b98b6f1cefbe | [
"Apache-2.0"
] | permissive | zephyrproject-rtos/sdk-ng | 18dc3499bae5544598eb3fd4c6ab090a2e6dede8 | 7a19887752a621c596ff1931cbd6c9ad3a4a7884 | refs/heads/main | 2023-09-03T16:12:27.582902 | 2023-08-31T21:47:08 | 2023-08-31T21:47:20 | 92,793,986 | 140 | 119 | Apache-2.0 | 2023-09-12T11:14:36 | 2017-05-30T03:13:29 | C | UTF-8 | C | false | false | 21,775 | c | xtensa-config.c | /* Configuration for the Xtensa architecture for GDB, the GNU debugger.
Copyright (c) 2003-2017 Tensilica 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, inc... |
72c0f600298efc9ef141c745fb2f328d18bf7f82 | 8cfa5dbe99dd5b2c8913e35a41395c64b1ea2740 | /algorithms/data-structures/TowerOfHanoi.c | 49a8357182b78ab739a92c906c8db9dc914d404d | [
"MIT"
] | permissive | AllAlgorithms/c | cf925338018a94d4952203181ba6aab0ea921bef | 4e6e311a95d5ce64b953faf83edca351813d262c | refs/heads/master | 2023-08-30T12:51:56.967619 | 2022-06-17T02:50:03 | 2022-06-17T02:50:03 | 149,231,271 | 1,536 | 630 | MIT | 2023-08-27T00:09:50 | 2018-09-18T04:57:57 | C | UTF-8 | C | false | false | 625 | c | TowerOfHanoi.c | #include <stdio.h>
void towers(int, char, char, char);
int main()
{
int num;
printf("Enter the number of disks : ");
scanf("%d", &num);
printf("The sequence of moves involved in the Tower of Hanoi are :\n");
towers(num, 'A', 'C', 'B');
return 0;
}
void towers(int num, char frompeg, char t... |
47cc3e78baeea623adb964cd3752be09b52b5d1a | a85c048a4ae820beb2bc265d1845e23842fc8c2a | /data_collection/common/dr_utility.h | 63ac3376a61743adfddf0f1baf4779acc6ca306b | [
"MIT"
] | permissive | ithemal/Ithemal | e549856538c7b1f2c50d0f40b51b9bb97baf6379 | b3c39a8942b8b3d92c0fa81815b34fa9b6cbe683 | refs/heads/master | 2021-12-10T11:50:00.058462 | 2021-11-30T16:18:30 | 2021-11-30T16:18:30 | 151,625,735 | 124 | 33 | MIT | 2020-06-26T15:11:01 | 2018-10-04T19:33:52 | Python | UTF-8 | C | false | false | 621 | h | dr_utility.h | #ifndef COMMON_DRUTILITY
#define COMMON_DRUTILITY
#include "common.h"
#include "dr_api.h"
#include "mmap.h"
#include <stdint.h>
int get_perthread_filename(void * drcontext, char * filename, size_t max_size);
uint32_t filter_based_on_module(const char * module_name);
void create_memory_map_file(mmap_file_t * file_map... |
c1161cdd12b0e8d12c971d508886adf4f4938def | 55540f3e86f1d5d86ef6b5d295a63518e274efe3 | /toolchain/riscv/Linux/lib/gcc/riscv64-unknown-elf/10.2.0/plugin/include/tree-into-ssa.h | 5160c9979907f162f65a67718a8ae0d9f4d5ab6c | [
"Apache-2.0"
] | permissive | bouffalolab/bl_iot_sdk | bc5eaf036b70f8c65dd389439062b169f8d09daa | b90664de0bd4c1897a9f1f5d9e360a9631d38b34 | refs/heads/master | 2023-08-31T03:38:03.369853 | 2023-08-16T08:50:33 | 2023-08-18T09:13:27 | 307,347,250 | 244 | 101 | Apache-2.0 | 2023-08-28T06:29:02 | 2020-10-26T11:16:30 | C | UTF-8 | C | false | false | 1,967 | h | tree-into-ssa.h | /* Header file for normal form into SSA.
Copyright (C) 2013-2020 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 3, or (at your opti... |
c0d7c195956ffb775365c9ad5a3bc446eaec9742 | 52c8ed39b32ccc7c0673278c1adea3638797c9ff | /src/include/crc32.h | ce85d995bfb413e8b5e385c86f30c823497a38de | [
"MIT"
] | permissive | xboot/xboot | 0cab7b440b612aa0a4c366025598a53a7ec3adf1 | 6d6b93947b7fcb8c3924fedb0715c23877eedd5e | refs/heads/master | 2023-08-20T05:56:25.149388 | 2023-07-12T07:38:29 | 2023-07-12T07:38:29 | 471,539 | 765 | 296 | MIT | 2023-05-25T09:39:01 | 2010-01-14T08:25:12 | C | UTF-8 | C | false | false | 221 | h | crc32.h | #ifndef __CRC32_H__
#define __CRC32_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
uint32_t crc32_sum(uint32_t crc, const uint8_t * buf, int len);
#ifdef __cplusplus
}
#endif
#endif /* __CRC32_H__ */
|
6b939f9397742a5c9330ce2d3642e33bf19f2b3d | b732361d6b3405c3e79ac0a7d8361cf5b329b015 | /ext/phalcon/events/managerinterface.zep.h | 3a5117c494ec65044139746a7afc312bc9513cfd | [
"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 | 2,038 | h | managerinterface.zep.h |
extern zend_class_entry *phalcon_events_managerinterface_ce;
ZEPHIR_INIT_CLASS(Phalcon_Events_ManagerInterface);
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_events_managerinterface_attach, 0, 2, IS_VOID, 0)
ZEND_ARG_TYPE_INFO(0, eventType, IS_STRING, 0)
ZEND_ARG_INFO(0, handler)
ZEND_END_ARG_INFO()
Z... |
47fb4d8953a3570abc03303ec772467ad1436e3b | 7c857119fe1505b1d80d6e62969661c06dc1a2f4 | /ArmPlatformPkg/Drivers/PL061GpioDxe/PL061Gpio.h | 42d87a16a3dd245309134f1a4c39071310423e53 | [
"BSD-2-Clause"
] | permissive | CloverHackyColor/CloverBootloader | 7042ca7dd6b513d22be591a295e49071ae1482ee | 2711170df4f60b2ae5aa20add3e00f35cf57b7e5 | refs/heads/master | 2023-08-30T22:14:34.590134 | 2023-08-27T19:14:02 | 2023-08-27T19:14:02 | 205,810,121 | 4,734 | 770 | BSD-2-Clause | 2023-09-03T12:41:33 | 2019-09-02T08:22:14 | C | UTF-8 | C | false | false | 1,209 | h | PL061Gpio.h | /** @file
Copyright (c) 2011-2012, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __PL061_GPIO_H__
#define __PL061_GPIO_H__
#include <Protocol/EmbeddedGpio.h>
// PL061 GPIO Registers
#define PL061_GPIO_DATA_REG_OFFSET ((UINTN) 0x000)
#define PL061_GP... |
f8877e8c109599205e8b7c8e570aa1576ca68665 | 1b6222f79e5c3a80c224eaa8c656c87a778d57f5 | /src/VolumeMap.c | ad9b75ede31296b82dd941f18980480fa288012c | [
"BSD-3-Clause-LBNL"
] | permissive | NERSC/shifter | beebfd66d9f36ea5509cff5031316d654d89f0ba | 0784ae5b34537c5ca35f464249070f90c6884ca2 | refs/heads/master | 2023-05-30T06:07:25.121789 | 2022-10-22T00:07:54 | 2022-10-22T00:07:54 | 52,631,494 | 374 | 89 | NOASSERTION | 2023-01-31T00:37:09 | 2016-02-26T20:42:28 | C | UTF-8 | C | false | false | 28,178 | c | VolumeMap.c | /* Shifter, Copyright (c) 2015, The Regents of the University of California,
## through Lawrence Berkeley National Laboratory (subject to receipt of any
## required approvals from the U.S. Dept. of Energy). All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, a... |
40c5116607f27fffd91f7460e6827cded1b160ec | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /usr.sbin/flashctl/flashctl.c | e8e65858076b6a1931038828b669e6b676b2441c | [] | 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,319 | c | flashctl.c | /* $NetBSD: flashctl.c,v 1.9 2023/01/08 16:01:49 rillig Exp $ */
/*-
* Copyright (c) 2010 Department of Software Engineering,
* University of Szeged, Hungary
* Copyright (c) 2010 Adam Hoka <ahoka@NetBSD.org>
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation... |
946ce1a539ce11b6e0a7040f65ae8d3513740f59 | 25c64fb97b7cdb30ec1b6ddd2acf9a755fc33adf | /test/testheap.c | 45a60c8289bfde5b3991885c353dc07bc587ce36 | [
"MIT"
] | permissive | arminbiere/kissat | 386c1cfadf43562d36fccc47064c95296c9b812f | 630d64d4d63c2816fc79a1a0340286b39677e97d | refs/heads/master | 2023-09-04T01:39:44.293487 | 2023-06-24T15:51:43 | 2023-06-24T15:51:43 | 267,257,286 | 350 | 63 | MIT | 2022-06-23T12:15:24 | 2020-05-27T07:57:59 | C | UTF-8 | C | false | false | 3,675 | c | testheap.c | #include "../src/heap.h"
#include "../src/inlineheap.h"
#include "test.h"
static void test_heap_basic (void) {
assert (DISCONTAINED (DISCONTAIN));
DECLARE_AND_INIT_SOLVER (solver);
heap dummy_heap, *heap = &dummy_heap;
memset (heap, 0, sizeof (struct heap));
assert (kissat_max_score_on_heap (heap) == 0);
... |
e9c80305427817aeda0c95593c59d10a78551fdc | fc89df5d65edcfada41a5bcc3b5c52d7b00d9d13 | /components/squeezelite/tas57xx/dac_57xx.c | 45b073c8719606123660978e1a09ff1b2f639aee | [] | no_license | sle118/squeezelite-esp32 | b83f580b4de4a517be87ca1db8fead2223694068 | 149c9d8142d7a3f8679efc73985609eb6dee73a5 | refs/heads/master-v4.3 | 2023-08-23T05:06:18.461579 | 2023-08-22T23:30:18 | 2023-08-22T23:30:18 | 187,874,998 | 698 | 84 | null | 2023-09-09T22:58:50 | 2019-05-21T16:25:56 | C | UTF-8 | C | false | false | 4,868 | c | dac_57xx.c | /*
* Squeezelite for esp32
*
* (c) Sebastien 2019
* Philippe G. 2019, philippe_44@outlook.com
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*
*/
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/i2s.h"
#includ... |
6e3410a0f145f9d5ec4ee222eece88d1aa9afe03 | d2e0fb3fdad7fc2cb70894591d358f40d8db13d2 | /libc/include/bits/thread.h | 3536d8325d57b7381ff65222b585b40574592bed | [
"ISC",
"MIT"
] | permissive | dennis95/dennix | 54c568485862a0799664033eb0717abb028d3924 | f898bb2d27346f6257df1650a002ee929e66e7fa | refs/heads/master | 2023-08-17T06:54:17.274650 | 2023-07-10T16:06:35 | 2023-07-10T16:06:35 | 55,073,371 | 168 | 15 | null | null | null | null | UTF-8 | C | false | false | 1,635 | h | thread.h | /* Copyright (c) 2022, 2023 Dennis Wölfing
*
* 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 D... |
c23414e11edab7593028824548db43b5fc5934d0 | 5eff7a36d9a9917dce9111f0c3074375fe6f7656 | /lib/mesa/src/imagination/vulkan/pvr_job_compute.c | 843b2c18457595ec5be10fb6737361dd4d8b5f97 | [] | 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 | 4,301 | c | pvr_job_compute.c | /*
* Copyright © 2022 Imagination Technologies Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... |
25cf632c9acba5de6cab3c9f51c318f5c862398f | 7ffcd38a2382f905c3d4494cf61aca930aea9cec | /src/in.h | 62f5aae682cd5fdc1863280e158612d656d1d5e4 | [
"BSD-3-Clause"
] | permissive | CESNET/libyang | 6592c84e6e26e024f48ac057ea24f0cdbf70537e | 8b0b910a2dcb7360cb5b0aaefbd1338271d50946 | refs/heads/master | 2023-08-22T19:48:17.544338 | 2023-08-18T10:23:24 | 2023-08-18T10:23:24 | 32,149,716 | 363 | 324 | BSD-3-Clause | 2023-09-14T11:25:35 | 2015-03-13T10:25:52 | C | UTF-8 | C | false | false | 9,885 | h | in.h | /**
* @file in.h
* @author Radek Krejci <rkrejci@cesnet.cz>
* @brief libyang input structures and functions
*
* Copyright (c) 2020 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
* You may obtain a ... |
7f3fbd81eaec8f6927d0977ae88e079ad442193e | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/arch/rs6000/include/iplcb.h | 582845910183463d9fe6f16a88512bc18abc34e8 | [] | 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 | 19,639 | h | iplcb.h | /* $NetBSD: iplcb.h,v 1.2 2015/07/11 10:32:46 kamil Exp $ */
/* Structure for the IPL Control Block on RS/6000 machines */
#ifndef _IPLCB_H_
#define _IPLCB_H_
#define MAX_BUCS 32
struct ipl_directory {
char iplcb_id[8]; /* ascii string id */
uint32_t gpr_save_off; /* offset to gpr_save area */
uint32_t cb_bitma... |
1b43e0b49166364b1d1d1b33bc83e865e4cced59 | 376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb | /editors/qtcreator/patches/patch-src_libs_3rdparty_sqlite_sqlite3.c | 39514972bacbc52b458a2f2e9a6f3a4027d5f5e9 | [] | no_license | NetBSD/pkgsrc | a0732c023519650ef821ab89c23ab6ab59e25bdb | d042034ec4896cc5b47ed6f2e5b8802d9bc5c556 | refs/heads/trunk | 2023-09-01T07:40:12.138283 | 2023-09-01T05:25:19 | 2023-09-01T05:25:19 | 88,439,572 | 321 | 138 | null | 2023-07-12T22:34:14 | 2017-04-16T20:04:15 | null | UTF-8 | C | false | false | 630 | c | patch-src_libs_3rdparty_sqlite_sqlite3.c | $NetBSD: patch-src_libs_3rdparty_sqlite_sqlite3.c,v 1.1 2021/11/20 20:51:14 wiz Exp $
By default, the code tries to use localtime_s and fails.
--- src/libs/3rdparty/sqlite/sqlite3.c.orig 2021-11-03 11:13:14.000000000 +0000
+++ src/libs/3rdparty/sqlite/sqlite3.c
@@ -22478,6 +22478,10 @@ static void clearYMD_HMS_TZ(Dat... |
39b425f133f7c954360e699093a8dc452f71e53b | a11e4bdd6157b22067288d860507fa20abea033d | /src/modules/conf_display/e_int_config_dpms.c | 5f617047960ec048aca3422e56800513e9981124 | [
"BSD-2-Clause"
] | permissive | JeffHoogland/moksha | 85a0f39dc97daa61d35e64a511013d21552db288 | c56013644d8cd8e32101bb38a8d1e4ebd9d47f37 | refs/heads/master | 2023-08-24T05:39:13.415948 | 2023-08-22T19:49:32 | 2023-08-22T19:49:32 | 34,704,822 | 179 | 51 | NOASSERTION | 2023-09-06T14:41:31 | 2015-04-28T02:59:19 | C | UTF-8 | C | false | false | 6,664 | c | e_int_config_dpms.c | #include "e.h"
static void *_create_data(E_Config_Dialog *cfd);
static void _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
static int _advanced_check_changed(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata);
stat... |
39cb611bb3b08f8309b4227e9fff6a6841f72908 | fb0f9abad373cd635c2635bbdf491ea0f32da5ff | /src/coreclr/gc/dac_generation_fields.h | c67197a7dc380cec00c495aafebbd8834bc899eb | [
"MIT"
] | permissive | dotnet/runtime | f6fd23936752e202f8e4d6d94f3a4f3b0e77f58f | 47bb554d298e1e34c4e3895d7731e18ad1c47d02 | refs/heads/main | 2023-09-03T15:35:46.493337 | 2023-09-03T08:13:23 | 2023-09-03T08:13:23 | 210,716,005 | 13,765 | 5,179 | MIT | 2023-09-14T21:58:52 | 2019-09-24T23:36:39 | C# | UTF-8 | C | false | false | 234 | h | dac_generation_fields.h | DEFINE_FIELD (allocation_context, gc_alloc_context)
DEFINE_DPTR_FIELD (start_segment, dac_heap_segment)
#ifndef USE_REGIONS
DEFINE_FIELD (allocation_start, uint8_t*)
#else
DEFINE_MISSING_FIELD(allocation_start)
#endif |
0348704b966ad9bd08ceb9dba95f23f84e63bd6b | 0ff5c3178e87a28a82165bfa908d9319cf7a2323 | /10. Linked List/c lang/merge_common_LL.c | 875c3c850ad2a6a0068c89e8719ec2ace0e93036 | [
"MIT"
] | permissive | SR-Sunny-Raj/Hacktoberfest2021-DSA | 40bf8385ed976fd81d27340514579b283c339c1f | 116526c093ed1ac7907483d001859df63c902cb3 | refs/heads/master | 2023-01-31T07:46:26.016367 | 2023-01-26T12:45:32 | 2023-01-26T12:45:32 | 262,236,251 | 261 | 963 | MIT | 2023-03-25T14:22:10 | 2020-05-08T05:36:07 | C++ | UTF-8 | C | false | false | 3,005 | c | merge_common_LL.c | /*Aim: To write a C program to merge the common and non-common elements of linked lists A and B into separate linked lists*/
#include <stdio.h>
#include <stdlib.h>
struct node
{ int data;
struct node* next;
struct node* prev;
};
struct node* head3=NULL;
struct node* head4=NULL;
void insert_l(struct node**... |
14a8a1e04a3a4ad3578d65388e415ed6ec4aa22e | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/arch/hexagon/mm/uaccess.c | 34127261c2b7124d4fc43e36ddb7bb84dcf7900b | [
"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 | 1,838 | c | uaccess.c | /*
* Copyright (c) 2010-2011, The Linux Foundation. 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 version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... |
e0197f90edccfbe41b430db99343128fa8dc5521 | dae15b230f6a39e8451420b2dea61fb719f9ffdf | /example/socket/socket_connect_udp.h | 016e49290489ead37bed74ba918423ee966c6437 | [
"BSD-3-Clause",
"GPL-1.0-or-later"
] | permissive | OpenFastPath/ofp | 2b97bbd152fd877cb8b2125128d6826c0f4491dd | 6b48500af9752c7d51a290390751988759a8256d | refs/heads/master | 2023-05-25T15:21:17.682339 | 2023-05-10T07:14:01 | 2023-05-10T11:01:16 | 37,121,923 | 367 | 146 | BSD-3-Clause | 2023-09-13T14:19:24 | 2015-06-09T09:08:43 | C | UTF-8 | C | false | false | 632 | h | socket_connect_udp.h | /* Copyright (c) 2014, ENEA Software AB
* Copyright (c) 2014, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __SOCKET_CONNECT_UDP_H__
#define __SOCKET_CONNECT_UDP_H__
int connect_udp4(int fd);
int connect_bind_udp4(int fd);
int connect_shutdown_udp4(int fd);
int connect_shutdow... |
698f5f1287e6062b9ebb1ae3723eb05b02fccc9a | d61b532db0d3e08818338cfaac530a1ced1ffe3b | /lang/cem/libcc.ansi/headers/stdbool.h | 9f3b67506451414fa6b48540cdef47835e5b1182 | [
"LicenseRef-scancode-other-permissive"
] | permissive | davidgiven/ack | 61049c7a8e95ff61a77b1edd3c22bb290720e276 | db5a32c68c4a60ca26a3927a799ea662b5b2b0e5 | refs/heads/default | 2023-08-29T07:33:12.771205 | 2023-07-08T20:17:27 | 2023-07-08T20:17:27 | 37,686,316 | 376 | 74 | NOASSERTION | 2023-07-08T20:17:28 | 2015-06-18T21:33:42 | C | UTF-8 | C | false | false | 334 | h | stdbool.h | /*
* stdarg.h - variable arguments
*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Id$ */
#ifndef _STDBOOL_H
#define _STDBOOL_H
typedef int bool;
#define bool int
#define true 1
#define fals... |
877e76d9e9897a29af11d07a7042b38335d5ef1d | 450916eee7580beb928ed8f387db4f0a8c1aa508 | /src/amuse/community/gadget2/src/timestep.c | d0c3568bc330d918e13e88e99262090551d33902 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | amusecode/amuse | 42095545893f5a86ea79c2a52ce54d3ce8eb204f | b57c1e2fda1457d5025307be105c2aa59b19b574 | refs/heads/main | 2023-08-31T04:50:48.880044 | 2023-08-30T12:00:20 | 2023-08-30T12:00:20 | 18,516,331 | 158 | 118 | Apache-2.0 | 2023-08-30T12:00:22 | 2014-04-07T12:35:07 | AMPL | UTF-8 | C | false | false | 20,165 | c | timestep.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <mpi.h>
#include "allvars.h"
#include "proto.h"
/*! \file timestep.c
* \brief routines for 'kicking' particles in momentum space and assigning new timesteps
*/
static double fac1, fac2, fac3, hubble_a, atime, a3inv;
static double... |
86dd87ccd213e1a121fecd81b72debb4874c74a8 | 89ac799bd004042f913c9205abd22feaf847f5be | /src/libdg/shade.c | 88783f736f7d001302e4e57b635a0019f6770a5b | [] | no_license | FoxdieTeam/mgs_reversing | de0b501e9a6318bf817e0d0f03af34c836a2f0b6 | d057e3eb8bebeb645ca23db6ce690577268f59d5 | refs/heads/master | 2023-07-21T02:31:57.827478 | 2023-07-17T10:50:39 | 2023-07-17T10:50:39 | 223,033,157 | 270 | 35 | null | 2023-09-14T21:49:31 | 2019-11-20T21:44:13 | C | UTF-8 | C | false | false | 7,735 | c | shade.c | #include "libdg.h"
/**gp*******************************************/
extern unsigned long DG_PacketCode_800AB394[2];
/***********************************************/
/**data*******************************/
extern SVECTOR DG_Ambient_800AB38C;
/*************************************/
//there are a few of these that ar... |
719dbef336433a531be3ff95316481711ed5155c | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/arch/vax/boot/boot/if_qe.c | 660f592d61b38663064b484a2c9cfc500f79786f | [] | 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 | ISO-8859-13 | C | false | false | 7,790 | c | if_qe.c | /* $NetBSD: if_qe.c,v 1.10 2018/03/20 13:30:40 ragge Exp $ */
/*
* Copyright (c) 1998 Roar Thronęs. 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... |
298224f66a51e0088fe737b84919262da71d5cf5 | 3bbf88dc48d70e4c362e15589967c271f5ce844f | /core/src/xmake/string/split.c | 43e949ace5d6ac6c110c026156a8843e149b08ca | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"Unlicense",
"MIT"
] | permissive | xmake-io/xmake | ed420a84d9dddd36946893e60799bd912ffd917d | 025c5e8415b456bf5f24e37322731615bd5ddea1 | refs/heads/master | 2023-08-31T13:40:45.719615 | 2023-08-31T14:33:50 | 2023-08-31T14:33:50 | 34,431,834 | 6,914 | 618 | Apache-2.0 | 2023-09-14T09:23:40 | 2015-04-23T03:37:31 | Lua | UTF-8 | C | false | false | 3,999 | c | split.c | /*!A cross-platform build utility based on Lua
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
cc7b03caf140ad8fbf32ed242cc661bbae1b6071 | 9773303ee72ddf6cfdc2a9060bcc452b432df07f | /tests_auto/source-autogen/million.c | f1211e6410b581f6597055dd42d5f9412c29121a | [
"MIT"
] | permissive | geohot/qira | 489e50d7e05108615f82ee33d4771a0643a970dc | 5f34406410aa492bc491fe0e579dbe103390a432 | refs/heads/master | 2023-09-05T09:59:07.296559 | 2022-07-02T21:00:14 | 2022-07-02T21:00:14 | 23,707,362 | 2,436 | 452 | MIT | 2022-07-02T21:00:15 | 2014-09-05T15:09:40 | C | UTF-8 | C | false | false | 78 | c | million.c | int main() {
volatile int i;
for (i = 0; i < 1000000; i++);
return i;
}
|
d8453c75cf52217a99d62c3ba5541871cd492050 | bd2cfcb8d0d4acfc3819bc2b859b03f0faaf3e83 | /tracing01-xdp-simple/trace_prog_kern.c | 5d9daaab31bc8d59cf6d36f56146a857389b4a0f | [] | no_license | xdp-project/xdp-tutorial | e2a58cbf52ff05d78bd00b0b9876e4ee1f81743a | 774189980a8a67f8d4947a595b9afe6059935274 | refs/heads/master | 2023-08-11T14:06:15.480456 | 2023-07-07T13:34:37 | 2023-07-07T13:34:37 | 172,523,426 | 1,977 | 519 | null | 2023-09-11T18:17:59 | 2019-02-25T14:40:51 | C | UTF-8 | C | false | false | 1,127 | c | trace_prog_kern.c | /* SPDX-License-Identifier: GPL-2.0 */
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
struct {
__uint(type, BPF_MAP_TYPE_PERCPU_HASH);
__type(key, __s32);
__type(value, __u64);
__uint(max_entries, 10);
} xdp_stats_map SEC(".maps");
struct xdp_exception_ctx {
__u64 __pad; // First 8 bytes are not access... |
caa07abde92e0375027b0bbcb650c9dc97c39671 | 0ab34cafb4fce823bdb64588375a5e0320c4d5da | /src/io/dirops.h | a906f26e8f49cefe0a27914931e7d7333b1b40ff | [
"Artistic-2.0",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | MoarVM/MoarVM | 00eb8de04ef3eb43d8dd108a016a5fbd644f7cb7 | 2f8234c222dea886da28a9e369e34f3cff18ad8a | refs/heads/main | 2023-08-24T03:30:58.906341 | 2023-08-23T03:28:20 | 2023-08-23T03:28:20 | 10,411,154 | 616 | 228 | NOASSERTION | 2023-08-23T03:28:33 | 2013-05-31T19:02:30 | C | UTF-8 | C | false | false | 511 | h | dirops.h | void MVM_dir_mkdir(MVMThreadContext *tc, MVMString *path, MVMint64 mode);
void MVM_dir_rmdir(MVMThreadContext *tc, MVMString *path);
MVMObject * MVM_dir_open(MVMThreadContext *tc, MVMString *dirname);
MVMString * MVM_dir_read(MVMThreadContext *tc, MVMObject *oshandle);
void MVM_dir_close(MVMThreadContext *tc, MVMObject... |
1c9d66ce43cdb61cdb3bc691dc4a3309c6ffa7de | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/arch/sh/mm/pmb.c | 7160c9fd6fe3ab3e4283d440032396bbf65c453c | [
"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 | 18,990 | c | pmb.c | /*
* arch/sh/mm/pmb.c
*
* Privileged Space Mapping Buffer (PMB) Support.
*
* Copyright (C) 2005 - 2011 Paul Mundt
* Copyright (C) 2010 Matt Fleming
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for mo... |
750d748fa2f3d2cae97b142b2441d323aa8f4421 | 50e95229b9a1161ac294137120aaba94c9eb06bc | /sources/ippcp/pcpsha256stuff.h | 2335b9c3e79af80d4660197d7d7d6623da8ae897 | [
"Apache-2.0",
"Intel"
] | permissive | intel/ipp-crypto | f0f05b87203705e82603db67bed5f8def13a5ee8 | 36e76e2388f3dd10cc440e213dfcf6ef59a0dfb8 | refs/heads/develop | 2023-09-04T08:15:06.851373 | 2023-07-27T12:47:12 | 2023-07-27T12:47:12 | 140,034,345 | 304 | 81 | Apache-2.0 | 2023-08-30T17:18:36 | 2018-07-06T22:16:28 | C | UTF-8 | C | false | false | 5,848 | h | pcpsha256stuff.h | /*******************************************************************************
* Copyright (C) 2002 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... |
1162ef1ec5b819939545398b5c517ccd95050bd3 | 376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb | /misc/ibutton-pdkit/patches/patch-swtloop.c | 4bbfb5af89083c442cd12098f422a40f7e5e0587 | [] | no_license | NetBSD/pkgsrc | a0732c023519650ef821ab89c23ab6ab59e25bdb | d042034ec4896cc5b47ed6f2e5b8802d9bc5c556 | refs/heads/trunk | 2023-09-01T07:40:12.138283 | 2023-09-01T05:25:19 | 2023-09-01T05:25:19 | 88,439,572 | 321 | 138 | null | 2023-07-12T22:34:14 | 2017-04-16T20:04:15 | null | UTF-8 | C | false | false | 537 | c | patch-swtloop.c | $NetBSD: patch-swtloop.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- swtloop.c.orig 2013-01-11 01:31:21.000000000 +0000
+++ swtloop.c
@@ -53,7 +53,7 @@ extern int getkeystroke(void);
//--------------------------------------------------------------------------
// This is the begining of the program that tests the dif... |
95e07913d7104d3430ed0f269c15a7afeb604d42 | bb773aadd819255fe61fd6d8ab002088cdb25593 | /platform/samd11/uart.c | dfe22ad617eba42c0adabb913ef549f30a00dc88 | [] | permissive | ataradov/free-dap | 3e86258e7e2504ed1e37ec4be92cd2fb05fc8628 | e7752beb5e8a69119af67b70b9179cb3c90f3ac5 | refs/heads/master | 2023-08-09T01:35:34.204432 | 2022-08-07T20:55:33 | 2022-08-07T20:55:33 | 63,569,985 | 172 | 50 | BSD-3-Clause | 2023-07-23T18:30:07 | 2016-07-18T04:23:30 | C | UTF-8 | C | false | false | 5,896 | c | uart.c | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2017-2022, Alex Taradov <alex@taradov.com>. All rights reserved.
/*- Includes ----------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include "samd11... |
570b741d80339d4209cfefdc6ff97e7e82187a29 | 61da6274995cf914291af51bd02e60f408fdfedd | /src/iter/tgv.h | 058e2dd4189ee2528a190ed8a168f1d4b787268b | [
"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 | 379 | h | tgv.h |
struct reg2 {
const struct linop_s* linop[2];
const struct operator_p_s* prox[2];
};
extern struct reg2 tgv_reg(unsigned long flags, unsigned long jflags, float lambda, int N, const long in_dims[N], int* ext_shift);
extern struct reg2 ictv_reg(unsigned long flags1, unsigned long flags2, unsigned long jflags, float... |
04b66a146223385ae20e621439b720a4b410634b | 83b8b30ebb633eecd29ca0a7a20cc43a293c9333 | /ports/silabs/common-hal/_bleio/Descriptor.c | 6a40f1f859a91c7103fb6587ee852cc42b2a4b33 | [
"MIT",
"GPL-1.0-or-later"
] | permissive | adafruit/circuitpython | 430ec895149d1eb814b505db39b4977a35ee88a7 | 506dca71b0cbb7af749bb51f86b01021db5483b3 | refs/heads/main | 2023-08-21T16:30:46.781068 | 2023-08-20T00:39:44 | 2023-08-20T00:39:44 | 66,166,069 | 3,806 | 1,560 | MIT | 2023-09-14T19:23:51 | 2016-08-20T20:10:40 | C | UTF-8 | C | false | false | 4,240 | c | Descriptor.c | /*
* This file is part of Adafruit for EFR32 project
*
* The MIT License (MIT)
*
* Copyright 2023 Silicon Laboratories Inc. www.silabs.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 So... |
9115fb84e3cfce44d31c8360c58cb3f5f5ce73ea | b6acd6eed2b8946c1c1e19fa30081cbab0a2954f | /starry_fmu/Framework/include/statistic.h | 51df0ab1f2ecc1331bef243d7fb74da9934c9f77 | [
"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 | 278 | h | statistic.h | /*
* File : statistic.h
*
*
* Change Logs:
* Date Author Notes
* 2017-09-028 zoujiachi the first version
*/
#ifndef __STATISTIC_H__
#define __STATISTIC_H__
#include "global.h"
void statistic_init(void);
float get_cpu_usage(void);
#endif
|
481ccc956889e0680180cfd9c2356a6f3fac5dbf | 634f578ec3016e8aad06a57c948377f63fc36b16 | /c/ch9/solns/cartoon.c | 67f09535519b6e91c0d69c72df7d98317e1cb71c | [
"MIT"
] | permissive | bueler/p4pdes | ecad37430c3a0bf350d786d7d0e284abdb446317 | 098e000a0eea4f96e074fa437752086a1ab15207 | refs/heads/master | 2023-07-31T17:30:43.546800 | 2023-07-18T21:45:11 | 2023-07-18T21:45:11 | 24,288,784 | 179 | 66 | null | null | null | null | UTF-8 | C | false | false | 2,463 | c | cartoon.c | static char help[] = "Solve a 2-variable polynomial optimization problem.\n"
"Implements an objective function and its gradient (the residual). The \n"
"Jacobian (Hessian) is not implemented. Usage is either objective-only\n"
" ./cartoon -snes_[fd|mf] -snes_fd_function\n"
"or with gradient\n"
" ./cartoon -snes_... |
0599a910dc2eff0602afc10ac7cdc420221a0bb3 | fa1ad2e2ac7e376fc7cb3b3a6e1bb88eed3e80be | /govern/data-security/krb-1.2.1/src/lib/rpc/svc_auth_gss.c | 2734fde4288a88b487049e33e4e30827c394e894 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"BSD-4-Clause",
"LicenseRef-scancode-generic-export-compliance",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-mit-old-style",
"BSD-4-Clause-UC",
"LicenseRef-scancode-rsa-1990",
"MIT-CMU",
"LicenseRef-scancode-mit-no-advert-export-control",
"... | permissive | alldatacenter/alldata | 7bc7713c9f1d56ad6b8e59ea03206d1073b7e047 | 8d5f9a2d49ab8f9e85ccf058cb02c2fda287afc6 | refs/heads/master | 2023-08-05T07:32:25.442740 | 2023-08-03T13:17:24 | 2023-08-03T13:17:24 | 213,321,771 | 774 | 250 | Apache-2.0 | 2023-09-06T17:35:32 | 2019-10-07T07:36:18 | null | UTF-8 | C | false | false | 18,819 | c | svc_auth_gss.c | /* lib/rpc/svc_auth_gss.c */
/*
Copyright (c) 2000 The Regents of the University of Michigan.
All rights reserved.
Copyright (c) 2000 Dug Song <dugsong@UMICH.EDU>.
All rights reserved, all wrongs reversed.
Redistribution and use in source and binary forms, with or without
modification, are permit... |
70479f9773f0f79787eb343c1b804f61203779bb | eecd5e4c50d8b78a769bcc2675250576bed34066 | /src/mat/impls/sbaij/mpi/sbaijov.c | cee546eee78bced1569f8dccd53630049e4c9eeb | [
"BSD-2-Clause"
] | permissive | petsc/petsc | 3b1a04fea71858e0292f9fd4d04ea11618c50969 | 9c5460f9064ca60dd71a234a1f6faf93e7a6b0c9 | refs/heads/main | 2023-08-17T20:51:16.507070 | 2023-08-17T16:08:06 | 2023-08-17T16:08:06 | 8,691,401 | 341 | 169 | NOASSERTION | 2023-03-29T11:02:58 | 2013-03-10T20:55:21 | C | UTF-8 | C | false | false | 21,455 | c | sbaijov.c |
/*
Routines to compute overlapping regions of a parallel MPI matrix.
Used for finding submatrices that were shared across processors.
*/
#include <../src/mat/impls/sbaij/mpi/mpisbaij.h>
#include <petscbt.h>
static PetscErrorCode MatIncreaseOverlap_MPISBAIJ_Once(Mat, PetscInt, IS *);
static PetscErrorCode MatInc... |
23f208f2b8bcb431bf2f89665533517010597fdb | f3eed0234b4d0ad2bbb2abd700cf1e2c7a0e8a1d | /AKWF-c/AKWF_bw_saw/AKWF_saw_0007.h | 35246df68b59f94904c7d5a951191fe20a468736 | [
"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,680 | h | AKWF_saw_0007.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... |
de0c5e174b44cb17dfd92e2704f54b3e41b9b75b | 98ee5bc94e754d9b1802d66d7b5c5fcf184a6c90 | /lib/include/sha_mb_mgr.h | c2e61e334bc5d8aed4398c044a4f7d02782d92a2 | [
"BSD-3-Clause"
] | permissive | intel/intel-ipsec-mb | f180701ca3dbdc26f310c5706cb3e8577defa2df | 9e17d6cad1f99e64f3534053a3ff096c46646058 | refs/heads/main | 2023-08-30T13:20:47.709185 | 2023-08-28T13:17:46 | 2023-08-29T13:14:00 | 73,856,328 | 255 | 89 | BSD-3-Clause | 2023-08-30T08:42:45 | 2016-11-15T21:22:17 | C | UTF-8 | C | false | false | 27,068 | h | sha_mb_mgr.h | /*******************************************************************************
Copyright (c) 2022-2023, Intel Corporation
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must r... |
43c976dd93d5a45d8b3d205b9058df45973a4b38 | 2dfc2beac0ad497f8fc59201921097a412f0df7f | /trunk/3rdparty/srt-1-fit/haicrypt/haicrypt_log.h | 9655f722b68a9d39477dcb5d72dcfea63d17134d | [
"OpenSSL",
"JSON",
"Apache-2.0",
"LicenseRef-scancode-mulanpsl-2.0-en",
"MIT",
"MulanPSL-2.0",
"LicenseRef-scancode-unknown-license-reference",
"MPL-2.0"
] | 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 | 931 | h | haicrypt_log.h | #ifndef INC_SRT_HAICRYPT_LOG_H
#define INC_SRT_HAICRYPT_LOG_H
#ifdef __cplusplus
extern "C" {
#endif
#define HAICRYPT_DECLARE_LOG_DISPATCHER(LOGLEVEL) \
int HaiCrypt_LogF_##LOGLEVEL ( const char* file, int line, const char* function, const char* format, ...)
// Now declare all dispatcher functions
HAICRYPT_DECL... |
15c6c1ea479752cd5f527bd4ce5d8e4cdaf98913 | bf32556b2db7a22556869a9b69cffa3d51852489 | /include/mp.h | aec0e0fdb0e6f77a8bc2c84dd05032581e87839e | [
"MIT"
] | permissive | jserv/xv6-x86_64 | 235372b64618814b1e287a47efe263cb38775c67 | 117208b3cc1df650af9bafca33b1f26ee60cb6fc | refs/heads/64bit | 2023-07-22T22:09:56.335477 | 2023-07-22T07:34:13 | 2023-07-22T07:34:13 | 36,936,955 | 159 | 48 | NOASSERTION | 2023-07-22T07:34:14 | 2015-06-05T14:25:04 | C | UTF-8 | C | false | false | 2,146 | h | mp.h | // See MultiProcessor Specification Version 1.[14]
struct mp { // floating pointer
uchar signature[4]; // "_MP_"
uint physaddr; // phys addr of MP config table
uchar length; // 1
uchar specrev; // [14]
uchar checksum; // all by... |
25d833af3c90ee7034c68eab80e5b2a87372ccaa | 9907672fcd81ab73ac63b2a83422a82bf31eadde | /yukicoder/tyama_yukicoder266.c | 6b605dce6aeb0d4948f48e99f969334ee2a707a1 | [
"0BSD"
] | permissive | cielavenir/procon | bbe1974b9bddb51b76d58722a0686a5b477c4456 | 746e1a91f574f20647e8aaaac0d9e6173f741176 | refs/heads/master | 2023-06-21T23:11:24.562546 | 2023-06-11T13:15:15 | 2023-06-11T13:15:15 | 7,557,464 | 137 | 136 | null | 2020-10-20T09:35:52 | 2013-01-11T09:40:26 | C++ | UTF-8 | C | false | false | 214 | c | tyama_yukicoder266.c | N,j,x,s,m[99];main(){for(memset(m+1,99,392),scanf("%d",&N);~N;N--)for(scanf("%d",&s),j=0;j<=s;j++)for(m[j]++,x=0;x<j;x++)m[j]=m[j]<(m[x]+m[j-1-x])?m[j]:(m[x]+m[j-1-x]);for(j=s;~s;s--)printf(s?"%d ":"%d\n",m[j-s]);} |
c649a69f6052af3a5cd9b50f0a48abee314940b4 | 111c5eb76e9e626731bd9279fe1e4d406f4b4e68 | /19-移动端/02-weex/weexdemo/platforms/ios/Pods/Headers/Public/WeexSDK/WeexSDK/WXDefine.h | 7e1bf9bec94ca92288b93fe7910acfd25920d671 | [
"MIT",
"ICU",
"GPL-3.0-only"
] | permissive | csxiaoyaojianxian/JavaScriptStudy | db847b42b779051925f6acdd8ed298eb97a9ef71 | e6b6e372a0a7f1b648125e18035e6c354a481bcb | refs/heads/master | 2023-05-28T20:52:59.601978 | 2023-05-11T08:03:52 | 2023-05-11T08:03:52 | 80,765,186 | 700 | 220 | MIT | 2021-10-06T02:38:34 | 2017-02-02T20:21:56 | JavaScript | UTF-8 | C | false | false | 56 | h | WXDefine.h | ../../../../WeexSDK/WeexSDK.framework/Headers/WXDefine.h |
f6849565ea497a359d3ce8fe1e0af804a23fa522 | b4c2b8dc89417e966a67a433267ebb9c156dbff4 | /src/vehicles/sounds/BENFORD3TONStart.h | ab88b2818bc3a505b075e510f4b15a8a0ea98eee | [] | no_license | TheDIYGuy999/Rc_Engine_Sound_ESP32 | 92134030dbc047627310d54ccf1fd34fb3cad791 | eeeb47964861b66f8e1db34bffe35657846d8b20 | refs/heads/master | 2023-08-31T00:17:03.698027 | 2023-05-04T19:46:51 | 2023-05-04T19:46:51 | 225,658,413 | 230 | 105 | null | 2023-08-26T14:38:39 | 2019-12-03T15:51:13 | C | UTF-8 | C | false | false | 692,122 | h | BENFORD3TONStart.h | const unsigned int startSampleRate = 22050;
const unsigned int startSampleCount = 151808;
const signed char startSamples[] = {//0
0, -5, -4, -4, -4, -5, -5, -5, -5, -6, -6, -6, -5, -4, -4, -4, //16
-4, -4, -4, -3, -3, -3, -4, -3, -3, -3, -2, -2, -1, -2, -3, -3, //32
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -2, ... |
e343bce5d60957493c950422575743bec7e3f271 | b732361d6b3405c3e79ac0a7d8361cf5b329b015 | /ext/phalcon/logger/formatter/formatterinterface.zep.c | 5b8ec5b0efbd81860179d296af28fcebddd63dcc | [
"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 | 969 | c | formatterinterface.zep.c |
#ifdef HAVE_CONFIG_H
#include "../../../ext_config.h"
#endif
#include <php.h>
#include "../../../php_ext.h"
#include "../../../ext.h"
#include <Zend/zend_exceptions.h>
#include "kernel/main.h"
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright ... |
4cbf7ffd235f4ea0304fa3301b360c4351e1e8cc | 011e552512f45ca313615e428924d001a427e8e6 | /hal/console.h | 87ca3ecf4ee45036ea5702534e3a388d09e46212 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | phoenix-rtos/phoenix-rtos-kernel | 3d4c1d0e7703ea5ce50c2642d35fbb79c1f2afd6 | e15898bac82e168f7e6aaea60d413790a282f389 | refs/heads/master | 2023-09-01T15:04:26.226958 | 2023-09-01T09:21:17 | 2023-09-01T09:45:00 | 125,823,596 | 115 | 39 | BSD-3-Clause | 2023-09-14T13:34:22 | 2018-03-19T08:14:43 | C | UTF-8 | C | false | false | 632 | h | console.h | /*
* Phoenix-RTOS
*
* Operating system kernel
*
* HAL console
*
* Copyright 2012, 2016 Phoenix Systems
* Copyright 2001, 2005 Pawel Pisarczyk
* Author: Pawel Pisarczyk
*
* This file is part of Phoenix-RTOS.
*
* %LICENSE%
*/
#ifndef _HAL_CONSOLE_H_
#define _HAL_CONSOLE_H_
/* Console attributes */
#define... |
e80ad6dad7d05115fe365e842ace7e440182a294 | 503bf74961cc3d52236d52439eeb7e8059860b7a | /src/win/win-term.h | 170c4be7894e1d684782dc14eec8107e5d0925b3 | [] | 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 | 2,175 | h | win-term.h | /**
* \file win-term.h
* \brief Windows terminal structure.
*
* Copyright (c) 1997 Ben Harrison, Skirmantas Kligys, Robert Ruehlmann,
* and others
*
* 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 Fre... |
1dd85fe9e4e0fcfa53a367df33dbf2e542aa7e9b | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /comms/lirc/files/patch-daemons_hw__devinput.c | 5160fb5f200a794f54488d33b1c435ffbcc58d30 | [
"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 | 2,417 | c | patch-daemons_hw__devinput.c | --- daemons/hw_devinput.c.orig 2011-03-25 22:28:18 UTC
+++ daemons/hw_devinput.c
@@ -376,9 +376,15 @@ int devinput_decode(struct ir_remote *remote, ir_code
return 1;
}
+/* simulate key repeat if receiving the same scancode again */
+#define RPT_SCAN
+
char *devinput_rec(struct ir_remote *remotes)
{
struct inp... |
37e32f620999510bca7aeef37d49bbce7c84a7fc | 76f9898ff7a555f4a729d725056a317af818375d | /assets/scenes/interiors/pr_kokiri_house_2/pr_kokiri_house_2_room_00.h | df748e63e7f5a34dc1e24a6e3d033323010db55b | [] | 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 | 387 | h | pr_kokiri_house_2_room_00.h | extern MeshHeader1Single pr_kokiri_house_2_room_00MeshHeader0x0051C0;
s16 pr_kokiri_house_2_room_00ObjectList0x000048[];
extern ActorEntry pr_kokiri_house_2_room_00ActorList0x000060[1];
extern s16 pr_kokiri_house_2_room_00ObjectList0x000048[11];
extern ActorEntry pr_kokiri_house_2_room_00ActorList0x000060[1];
exte... |
695dee7817dfc6abbcd7ea61f46729125328ee66 | b2f295072d61bd25c47a05aedc4a5f9a8d9df670 | /Foundation/Bugsnag/Bugsnag/KSCrash/Source/KSCrash/Recording/Tools/BSG_KSMach_Arm64.c | 78795c079a6d24b4c81ee73de3b460ea42c84b8c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | SailyTeam/Saily | 8f48fde0abec0c5c79e53e5db31af17351958962 | c0ae33ee26db2ecbab7d33e42c15148cad80f22f | refs/heads/main-2.0 | 2022-12-23T05:41:58.080306 | 2022-12-22T12:30:53 | 2022-12-22T12:33:52 | 280,041,061 | 796 | 63 | Unlicense | 2022-12-22T11:22:33 | 2020-07-16T03:16:41 | Swift | UTF-8 | C | false | false | 5,420 | c | BSG_KSMach_Arm64.c | //
// KSMach_Arm.c
//
// Created by Karl Stenerud on 2013-09-29.
//
// Copyright (c) 2012 Karl Stenerud. 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 ... |
9a641db1557a940656be3ee626aaa18a6f5243d9 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/include/linux/time-armada-370-xp.h | dfdfdc03115ba8a946d00f1d681ed073441ecd3b | [
"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 | 391 | h | time-armada-370-xp.h | /*
* Marvell Armada 370/XP SoC timer handling.
*
* Copyright (C) 2012 Marvell
*
* Lior Amsalem <alior@marvell.com>
* Gregory CLEMENT <gregory.clement@free-electrons.com>
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
*
*/
#ifndef __TIME_ARMADA_370_XPPRCMU_H
#define __TIME_ARMADA_370_XPPRCMU_H
#inclu... |
6006401dbd3f261b64ca15baee90d29a3b90ca51 | de21f9075f55640514c29ef0f1fe3f0690845764 | /regression/cbmc/enum_underlying_type_03/main.c | 8a469bec7a892f03081836d19367ad51d8dbec9f | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-4-Clause"
] | permissive | diffblue/cbmc | 975a074ac445febb3b5715f8792beb545522dc18 | decd2839c2f51a54b2ad0f3e89fdc1b4bf78cd16 | refs/heads/develop | 2023-08-31T05:52:05.342195 | 2023-08-30T13:31:51 | 2023-08-30T13:31:51 | 51,877,056 | 589 | 309 | NOASSERTION | 2023-09-14T18:49:17 | 2016-02-16T23:03:52 | C++ | UTF-8 | C | false | false | 66 | c | main.c | #include <assert.h>
enum enum1 : float
{
E1
};
int main()
{
}
|
f01a44148ed4f17cf8062c65ec20c642f66aa522 | aed47b5a4ea3af5cbacfc034c1565bd800e9461a | /Projects/Stepper Motor Controller/Model Reference Adaptive CAN-Bus Controller/Core/Src/MCP2515/J1939.c | a9242007ce23050d33f50aa3b48f13257f9f3ba6 | [
"MIT"
] | permissive | DanielMartensson/CControl | a4dcfc13af8ef8266ac83f9ec0690848f5afd1b2 | 25ce62ef3a0d87a55459fc9e7d4e1ee895d89ed9 | refs/heads/master | 2023-08-30T23:53:16.167470 | 2023-08-28T21:30:11 | 2023-08-28T21:30:11 | 214,724,629 | 169 | 53 | MIT | 2023-03-02T21:35:56 | 2019-10-12T22:33:21 | C | UTF-8 | C | false | false | 12,897 | c | J1939.c | /*
* J1939.c
*
* Created on: 11 aug. 2020
* Author: Daniel Mårtensson
*/
#include "j1939.h"
static bool CAN_connected = false;
static uCAN_MSG txMessage;
static uCAN_MSG rxMessage;
// Write an extended CAN message
static void write_CAN_message(uint32_t ID, uint8_t data[]) {
txMessage.frame.idType = dEXT... |
58133f8d6469fbbc81edaba74f9e823804138b97 | 0cc343d927d5db6693006018986715c43acab961 | /examples/heartbleed/t1_lib.c | 8d51481506d33e3425aba78eee3b77f2a469d6f7 | [
"MIT"
] | permissive | verifast/verifast | ec0101fc4a69bd33c5f66be4444169c4e060ead8 | d152da790c7ebf72ce616533a6c83082629adbdb | refs/heads/master | 2023-08-25T00:13:51.464802 | 2023-08-13T10:00:00 | 2023-08-13T10:00:00 | 14,519,163 | 325 | 64 | NOASSERTION | 2023-08-10T21:16:08 | 2013-11-19T08:57:02 | OCaml | UTF-8 | C | false | false | 797 | c | t1_lib.c | #include "openssl.h"
int
tls1_process_heartbeat(SSL *s)
//@ requires SSL(s);
//@ ensures SSL(s);
{
unsigned char *p = s->s3->rrec.data;
unsigned char *pl;
unsigned short hbtype;
unsigned int payload;
unsigned int padding = 16;
hbtype = *p; p++;
n2s(p, payload);
if (payload + 19UL > s->s3->rrec.length)
... |
bb937acf86c1552f9442aac1de49d16205744ec2 | 59bc6f245c1c8f1b65afdbde959db281d5747e63 | /Examples/English/2. Protection integration/EncryptData, EncryptMemory - encryption functions/C/gui/gui.c | 55425de08899c5182e69183496bee7532427f3cd | [] | no_license | PELock/PELock-Software-Protection-and-Licensing-SDK | 70fc8cf20681b5799c7a016773851da5bfe258b6 | 45c3ee1f8d6f489f8abfbe8b4bb7a476d4d1c001 | refs/heads/master | 2023-06-24T13:35:18.095564 | 2023-03-11T14:35:50 | 2023-03-11T14:35:50 | 63,718,533 | 184 | 57 | null | 2018-08-30T18:51:48 | 2016-07-19T18:32:23 | C++ | WINDOWS-1250 | C | false | false | 2,658 | c | gui.c | ////////////////////////////////////////////////////////////////////////////////
//
// Example of how to use built-in encryption functions (stream cipher)
//
// Version : PELock v2.0
// Language : C/C++
// Author : Bartosz Wójcik (support@pelock.com)
// Web page : https://www.pelock.com
//
//... |
49697ffc86a7ffe94a3380ae9522f6ecc2f4d7a3 | 847ebadf2b0e7c01ad33ce92b42528a1a5c4846c | /ovsdb/file.h | ae90d4fe1309896257d0e63e9d2622ebf71dfae4 | [
"BSD-3-Clause",
"ISC",
"Apache-2.0",
"SISSL",
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | openvswitch/ovs | 6f782527cf5fde4ccfd25e68d359b91ff41acf8a | bc79a7bf033fa4cda8ccfc5481db3cfccd72650c | refs/heads/master | 2023-09-04T06:31:47.899017 | 2023-08-03T16:19:12 | 2023-09-01T20:15:05 | 18,383,364 | 3,366 | 2,259 | Apache-2.0 | 2023-08-17T13:17:13 | 2014-04-02T22:15:28 | C | UTF-8 | C | false | false | 1,795 | h | file.h | /* Copyright (c) 2009, 2010, 2011, 2016, 2017 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
171e2e37b24b44f1e69bb3ebc108a8940d5da5eb | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/app/clusters/groups-server/groups-server.h | 8d164385f733a2c5e55b49724ba99ffbbad91305 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C | false | false | 1,222 | h | groups-server.h | /**
*
* Copyright (c) 2020 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
c3621d00490c691277ac33daf362480619559e6a | 6e1cde66aa5a649138babe297293962cdf97743e | /src/win32/console/complete.c | 6d98aea63b4f0631cff055f63d2116c58e3e9dba | [
"BSD-2-Clause"
] | permissive | SWI-Prolog/swipl-devel | db56676481984addc09f4f228bc1c41f7f53759f | 41ac4a569c8e6c3d3b93a21449403962e3de1ece | refs/heads/master | 2023-09-01T03:49:40.696481 | 2023-08-30T18:12:56 | 2023-08-30T18:12:56 | 17,516,793 | 935 | 328 | NOASSERTION | 2023-08-26T14:32:33 | 2014-03-07T14:43:14 | C | UTF-8 | C | false | false | 3,394 | c | complete.c | /* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 1999-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permit... |
10a3bcf7dc107ba1951e48ca398b6ae78c532553 | 25b7cd3e4b750803565c374e59f8179c8aab276d | /hd_edition/hde_mod_installer/util.h | bc42dee77b5df97ca94126210bdcc2bbe3dee62e | [
"MIT"
] | permissive | potmdehex/homm3tools | 320ce70e0d22dc597df440ec7c63fde9844f7dbe | 6b36d1f92ea67f5ad6d4847aeaf2dfb1766d3cc5 | refs/heads/master | 2023-08-06T02:56:53.534443 | 2022-09-19T12:42:50 | 2022-09-19T12:42:50 | 40,399,205 | 141 | 29 | MIT | 2019-12-06T12:11:43 | 2015-08-08T10:15:08 | C | IBM852 | C | false | false | 684 | h | util.h | // Created by John ┼kerblom 2015-07-11
#ifndef __UTIL_H_DEF__
#define __UTIL_H_DEF__
#include <windows.h>
BOOL UtilPathFromRunningExeW(IN LPCWSTR lpExeName, OUT LPWSTR lpExePath,
IN int iMaxLength);
BOOL UtilPathFromBrowseDialogW(IN LPCWSTR lpTitle, OUT LPWSTR lpPath,
int iMaxLength);
BOOL UtilCopyDirectory... |
daea214afb20ad5837da894e12006c56ecb916c6 | aeef4d7bab4ca441fbecc2823815e9f94cb4563b | /src/ui/include/te_include.h | 00b7714b0f381e2a553f132b7427d8d21adfa341 | [
"BSD-2-Clause"
] | permissive | FreeFalcon/freefalcon-central | 8fc80b6d82eab44ce314a39860e6ee8e6f5ee71a | c28d807183ab447ef6a801068aa3769527d55deb | refs/heads/develop | 2021-01-23T20:49:45.844619 | 2014-10-30T18:32:35 | 2014-10-30T18:32:35 | 7,615,342 | 133 | 90 | null | 2014-10-30T18:32:35 | 2013-01-15T00:02:23 | C++ | UTF-8 | C | false | false | 29 | h | te_include.h | #define TACTICAL_GROUP 3000
|
967388c1f046ab2ca7a44080477ed2d88115fe78 | 99bdb3251fecee538e0630f15f6574054dfc1468 | /bsp/simulator/SDL2/include/SDL_messagebox.h | d763534d216e9afbc82c93c4a7a71eb8ccadc323 | [
"Zlib",
"Apache-2.0",
"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 | 6,693 | h | SDL_messagebox.h | /*
Simple DirectMedia Layer
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... |
80d6e31d003469f8a6364e18f0f5ec11639634d7 | 5741e4e7e3fedc3ae03996843b2bcfec70e17049 | /c/meterpreter/source/dump_sam/ReflectiveFreeAndExitThread.h | 83bef62a7fcdb94e0b8d72369a1538de75d7d72a | [
"BSD-3-Clause",
"PSF-2.0",
"Python-2.0",
"Zlib",
"BSD-4-Clause",
"BSD-2-Clause"
] | permissive | rapid7/metasploit-payloads | 5981b44a1054d307d97b9cffcdbb559bfc690625 | dcaad10486e22885d0cbcbce508e3e763ce689e9 | refs/heads/master | 2023-09-01T01:27:12.834909 | 2023-07-11T13:27:41 | 2023-07-11T13:27:41 | 18,418,533 | 1,674 | 743 | NOASSERTION | 2023-09-14T16:58:38 | 2014-04-03T21:18:24 | C | UTF-8 | C | false | false | 237 | h | ReflectiveFreeAndExitThread.h | #ifndef _METERPRETER_SOURCE_REFLECTIVE_FREE_AND_EXIT_THREAD_H
#define _METERPRETER_SOURCE_REFLECTIVE_FREE_AND_EXIT_THREAD_H
#include <windows.h>
VOID ReflectiveFreeAndExitThread(HINSTANCE hAppInstance, DWORD dwExitCode);
#endif |
89cd07524cb36ceabb3c79c4771a002e9e4f1081 | 8838eb997879add5759b6dfb23f9a646464e53ca | /src/compat/libc/string/strchr.c | 697302b0258f5769d00c2a80c20d74dd471726e4 | [
"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 | 468 | c | strchr.c | /**
* @file
* @brief Implementation of #strchr() function.
*
* @date 1.10.09
* @author Nikolay Korotky
* - Initial import
* @author Eldar Abusalimov
* - Replacing with more simple and obvious implementation
* @author Anton Kozlov
* - Implemented via strchrnul
*/
#include <string.h>
... |
5acf77ef8ed5351810302c35fc7d7b22d7788067 | ed7189bcb31973648dca4cb9f0d67cb4653d0e70 | /abis/linux/utsname.h | 9875a46ebbd2c7a3bdde82c7c9d25138eab052c4 | [
"MIT"
] | permissive | managarm/mlibc | 6dedaa86ed74f26a52e300d97f6e5949bac0f93c | 74efefb5e9e546adab60a5730d95165334d7ee15 | refs/heads/master | 2023-09-01T05:17:26.709378 | 2023-08-29T08:33:01 | 2023-08-29T08:33:01 | 63,353,495 | 717 | 173 | MIT | 2023-09-10T10:55:53 | 2016-07-14T16:46:51 | C | UTF-8 | C | false | false | 229 | h | utsname.h | #ifndef _ABIBITS_UTSNAME_T_H
#define _ABIBITS_UTSNAME_T_H
struct utsname {
char sysname[65];
char nodename[65];
char release[65];
char version[65];
char machine[65];
char domainname[65];
};
#endif // _ABIBITS_UTSNAME_T_H
|
b5655fdf3afe5a5a6d45960f18e9c1fff89d8726 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /security/fragroute/files/patch-tun.h | 40fa1356c4d0498a07f943ae359a7c04d0bc77a7 | [
"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 | 329 | h | patch-tun.h |
Include patch below as files/patch-tun.h
--- tun.h.orig Sun Mar 13 18:32:16 2005
+++ tun.h Sun Mar 13 18:32:06 2005
@@ -9,8 +9,6 @@
#ifndef TUN_H
#define TUN_H
-typedef struct tun tun_t;
-
typedef void (*tun_handler)(void *buf, size_t len, void *arg);
tun_t *tun_open(struct addr *src, struct addr *dst, in... |
1560450efedd91ae123f32bc43c70454191d4bad | 1126985fc98d13356a45ed3fd7717afcb490db3f | /include/xnvme_be_nosys.h | dc2b77530948ec5aa107f02fbe2904e425ac9b87 | [
"BSD-3-Clause"
] | permissive | OpenMPDK/xNVMe | feac321adc84e91f3e05c020146757737fe94874 | 5198563801b14d21d801a7224af63b9e85d798a3 | refs/heads/main | 2023-08-21T20:18:09.969516 | 2023-06-16T07:39:33 | 2023-06-20T11:04:54 | 252,368,391 | 168 | 57 | NOASSERTION | 2023-09-13T14:23:19 | 2020-04-02T05:57:13 | C | UTF-8 | C | false | false | 4,439 | h | xnvme_be_nosys.h | // SPDX-FileCopyrightText: Samsung Electronics Co., Ltd
//
// SPDX-License-Identifier: BSD-3-Clause
#ifndef __INTERNAL_XNVME_BE_NOSYS_H
#define __INTERNAL_XNVME_BE_NOSYS_H
extern struct xnvme_be xnvme_be_nosys;
int
xnvme_be_nosys_sync_cmd_io(struct xnvme_cmd_ctx *ctx, void *dbuf, size_t dbuf_nbytes, void *mbuf,
... |
b4ad142bf01d5f989904d54c40f25a850a534b36 | 00c64e0967d197d8c6fc3427954e2d0b2ff13ca0 | /clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/policy/non-overloaded/vlseg2e32ff.c | 4226edb27ea3ef6b165e4f1086ee1e1d471f5414 | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | triSYCL/sycl | 893048e80158cf3359c1ad8912da9ccf493faf69 | 5a95a7136a11b75f01ef839d9229780032bbeecf | refs/heads/sycl/unified/master | 2023-08-23T22:06:46.238209 | 2023-05-24T22:54:31 | 2023-05-24T22:54:31 | 178,923,006 | 103 | 17 | NOASSERTION | 2023-09-12T20:03:26 | 2019-04-01T18:29:01 | null | UTF-8 | C | false | false | 86,369 | c | vlseg2e32ff.c | // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
// REQUIRES: riscv-registered-target
// RUN: %clang_cc1 -triple riscv64 -target-feature +v -target-feature +zfh \
// RUN: -target-feature +experimental-zvfh -disable-O0-optnone \
// RUN: -emit-llvm %s -o - | opt -S -passes=mem2reg | \
//... |
416d3dd13150739f3b023f63893dbf6867a078d5 | 431a5c28b8dfcc7d6ca6f4f97bf370cd770547a7 | /src/tmx/Asn_J2735/include/asn_j2735_r63/TransitVehicleOccupancy.h | 60e640a52479f706426cdc88444fba1c025cfaa3 | [
"Apache-2.0"
] | permissive | usdot-fhwa-OPS/V2X-Hub | 134061cfb55d8c83e871f7fd4bbfa5d8d3092eb0 | aae33e6a16b8a30e1faee31a7ee863d191be06b8 | refs/heads/develop | 2023-08-26T10:10:59.989176 | 2023-08-24T14:58:21 | 2023-08-24T14:58:21 | 168,020,929 | 106 | 63 | null | 2023-09-11T20:24:45 | 2019-01-28T19:16:45 | C | UTF-8 | C | false | false | 1,980 | h | TransitVehicleOccupancy.h | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "DSRC"
* found in "J2735_201603_ASN_CC.asn"
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy`
*/
#ifndef _TransitVehicleOccupancy_H_
#define _TransitVehicleOccupancy_H_
#include "asn_application.h"
/* Including... |
b3c5a85c5f2777063f6d4f9f6b76d67399a8ff00 | 376e1818d427b5e4d32fa6dd6c7b71e9fd88afdb | /games/vvvvvv/patches/patch-src_SteamNetwork.c | 046fd3812a82badc41c9d4b67731b544cf2cfe68 | [] | no_license | NetBSD/pkgsrc | a0732c023519650ef821ab89c23ab6ab59e25bdb | d042034ec4896cc5b47ed6f2e5b8802d9bc5c556 | refs/heads/trunk | 2023-09-01T07:40:12.138283 | 2023-09-01T05:25:19 | 2023-09-01T05:25:19 | 88,439,572 | 321 | 138 | null | 2023-07-12T22:34:14 | 2017-04-16T20:04:15 | null | UTF-8 | C | false | false | 2,334 | c | patch-src_SteamNetwork.c | $NetBSD: patch-src_SteamNetwork.c,v 1.1 2020/01/10 18:27:18 nia Exp $
Don't depend on proprietary steam libs
--- src/SteamNetwork.c.orig 2020-01-10 16:45:29.000000000 +0000
+++ src/SteamNetwork.c
@@ -15,10 +15,8 @@
#define NETWORK_LIBRARY "steam_api.dll"
#elif defined(__APPLE__)
#define NETWORK_LIBRARY "libsteam_a... |
8bd806299247590cf61515d6bca1ac521be8d1c8 | 50dd46b8ece33f3cdd174284b15d1d51f89669d4 | /2017/quals/2017-pwn-wars/src/ctflib.h | 40d31d3bd5b7928e4b5951c4252f020079509b0b | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | google/google-ctf | f99da1ee07729bbccb869fff1cbaed6a80e43bcc | df02323eaf945d15e124801c74abaadca2749dc7 | refs/heads/master | 2023-08-31T14:30:27.548081 | 2023-08-29T13:04:20 | 2023-08-29T13:04:20 | 131,317,137 | 4,136 | 607 | Apache-2.0 | 2023-08-30T22:17:02 | 2018-04-27T15:56:03 | Go | UTF-8 | C | false | false | 1,824 | h | ctflib.h | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
3ebf1cf516839dd9f137569018c1e80c32d08679 | e3acfc4f06840e23ef1185dcf367f40d3e3f59b4 | /tests/regression/05-lval_ls/16-idxunknown_unlock.c | a7a58aacc08b5bc8e65e2865f5660a326a46129f | [
"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 | 841 | c | 16-idxunknown_unlock.c | extern int __VERIFIER_nondet_int();
extern void abort(void);
void assume_abort_if_not(int cond) {
if(!cond) {abort();}
}
#include <pthread.h>
int data;
pthread_mutexattr_t mutexattr;
pthread_mutex_t m[10];
void *t_fun(void *arg) {
pthread_mutex_lock(&m[4]);
data++; // RACE!
pthread_mutex_unlock(&m[4]);
ret... |
ba3a9b087294b7b1e69e9e5229894a0297213480 | f79dec3c4033ca3cbb55d8a51a748cc7b8b6fbab | /graphics/MesaLib7/patches/patch-src_glsl_ralloc.c | 33de2e3ea7e3a9c619b7222bb7c8365bf5d681dc | [] | no_license | jsonn/pkgsrc | fb34c4a6a2d350e8e415f3c4955d4989fcd86881 | c1514b5f4a3726d90e30aa16b0c209adbc276d17 | refs/heads/trunk | 2021-01-24T09:10:01.038867 | 2017-07-07T15:49:43 | 2017-07-07T15:49:43 | 2,095,004 | 106 | 47 | null | 2016-09-19T09:26:01 | 2011-07-23T23:49:04 | Makefile | UTF-8 | C | false | false | 634 | c | patch-src_glsl_ralloc.c | $NetBSD: patch-src_glsl_ralloc.c,v 1.1 2015/04/05 17:01:37 tnn Exp $
* Fix exit time segfault of qt5 application with modular xorg
--- src/glsl/ralloc.c.orig 2011-10-15 00:43:58.000000000 +0000
+++ src/glsl/ralloc.c
@@ -272,7 +272,7 @@ ralloc_parent(const void *ptr)
static void *autofree_context = NULL;
-static ... |
40a7f7a2e5ec7d7301b5fe668689c45029a178f6 | 50dd46b8ece33f3cdd174284b15d1d51f89669d4 | /third_party/edk2/CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h | 026793f66453776ec75593bc239c10fb963486ee | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause",
"OpenSSL"
] | permissive | google/google-ctf | f99da1ee07729bbccb869fff1cbaed6a80e43bcc | df02323eaf945d15e124801c74abaadca2749dc7 | refs/heads/master | 2023-08-31T14:30:27.548081 | 2023-08-29T13:04:20 | 2023-08-29T13:04:20 | 131,317,137 | 4,136 | 607 | Apache-2.0 | 2023-08-30T22:17:02 | 2018-04-27T15:56:03 | Go | UTF-8 | C | false | false | 2,342 | h | InternalCryptLib.h | /** @file
Internal include file for BaseCryptLib.
Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the licen... |
a69950eec194a899f73b378336f029f42d6668c8 | 05819963250c2ae0ba59ffef48d7c99a5b6b7cfd | /drivers/can/cand.c | ca54bbfe93e1d103d6311548f06ecdb52044daae | [
"LicenseRef-scancode-bsd-atmel"
] | permissive | atmelcorp/atmel-software-package | cefa3213069995d453d3b47b8b3aa7a7aca683ac | e0428c7c8175a42a2460cff27bb0501db0bbe160 | refs/heads/master | 2023-04-13T16:34:56.181081 | 2023-04-06T17:30:10 | 2023-04-11T06:05:12 | 47,840,424 | 117 | 94 | NOASSERTION | 2022-10-20T03:07:15 | 2015-12-11T17:18:56 | C | UTF-8 | C | false | false | 13,661 | c | cand.c | /* ----------------------------------------------------------------------------
* SAM Software Package License
* ----------------------------------------------------------------------------
* Copyright (c) 2016, Atmel Corporation
*
* All rights reserved.
*
* Redistribution and use in source and binary fo... |
7cb9d64e2a98866714e13a9227f5070acc8b9506 | 28d0f8c01599f8f6c711bdde0b59f9c2cd221203 | /sys/lib/libkern/entpool.c | f882342c6224920f099f35059f59e4e926a7d8ef | [] | 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 | 18,510 | c | entpool.c | /* $NetBSD: entpool.c,v 1.1 2020/04/30 03:28:19 riastradh Exp $ */
/*-
* Copyright (c) 2019 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Taylor R. Campbell.
*
* Redistribution and use in source and binary forms, with or witho... |
21d8533fdfffaa038b161bbb2f2ad83970328696 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/weston/src/desktop-shell/exposay.c | 7e9a324c417c981d856394c3bee15a167f5626f9 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 22,667 | c | exposay.c | /*
* Copyright © 2010-2012 Intel Corporation
* Copyright © 2011-2012 Collabora, Ltd.
* Copyright © 2013 Raspberry Pi Foundation
*
* 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 withou... |
9be28cff7177e787e9cd6daaa34686dd54b47949 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/xnnpack/src/src/x32-zip/x32-zip-x4-sse2.c | c43cbfba33762bdf3c24371f18b1ccc01e058830 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later"
] | 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 | 2,544 | c | x32-zip-x4-sse2.c | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#include <xnnpack/zip.h>
void xnn_x32_zip_x4_ukernel__sse2(
size_t n,
const uint32_t* input,
uin... |
613023e571ce6c6e43c7812ca3240a57ecf6b545 | 7eaf54a78c9e2117247cb2ab6d3a0c20719ba700 | /SOFTWARE/A64-TERES/linux-a64/drivers/arisc/arisc-notifier.c | 3fccb312fcc1fea6b4dad609b6d6416843c66815 | [
"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 | 1,652 | c | arisc-notifier.c | /*
* linux/driver/arisc/arisc-notifer.c
*
* Copyright(c) 2013-2015 Allwinnertech Co., Ltd.
* http://www.allwinnertech.com
*
* Author: sunny <sunny@allwinnertech.com>
*
* arisc notifier framework.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU ... |
ced3f00cee412364a2193a84304609390b5553a5 | 933788c87c06998999dc8bdc1e34d104538995d2 | /Imperium/imperiumprefs/PreferencesColorDefinitions.h | f627753b306887433d7e6855f96f27e74ae4b4bc | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | LacertosusRepo/Open-Source-Tweaks | aca7c1d004e33257a1b6d136d41e70a694852be8 | ccb00ba369cc8ee86b8a20fc5cae07ba69a1593b | refs/heads/master | 2022-05-27T09:29:51.987726 | 2022-05-21T14:48:36 | 2022-05-21T14:48:36 | 49,115,831 | 280 | 93 | MIT | 2020-08-14T16:45:22 | 2016-01-06T05:55:35 | Objective-C | UTF-8 | C | false | false | 341 | h | PreferencesColorDefinitions.h | //Primary Color (Navigation BG, Title)
#define Pri_Color [UIColor colorWithRed:0.15 green:0.20 blue:0.32 alpha:1.0]
//Secondary Color (Interactables, Status Bar)
#define Sec_Color [UIColor colorWithRed:1.0 green:0.32 blue:0.32 alpha:1.0]
//Alternate Color
#define Alt_Color [UIColor colorWithRed:0.50 green:0.55 ... |
03b17818d4f9cd298faffd5e0eb923166042fbc3 | 5eff7a36d9a9917dce9111f0c3074375fe6f7656 | /lib/mesa/src/panfrost/bifrost/bi_pressure_schedule.c | a4748e8bed662cca9f9629280c240e171b206bed | [] | 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,447 | c | bi_pressure_schedule.c | /*
* Copyright (C) 2022 Collabora Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.