repo_full_name stringlengths 6 93 | repo_url stringlengths 25 112 | repo_api_url stringclasses 28
values | owner stringclasses 28
values | repo_name stringclasses 28
values | description stringclasses 28
values | stars int64 617 98.8k | forks int64 31 355 ⌀ | watchers int64 990 999 ⌀ | license stringclasses 2
values | default_branch stringclasses 2
values | repo_created_at timestamp[s]date 2012-07-24 23:12:50 2025-06-16 08:07:28 ⌀ | repo_updated_at timestamp[s]date 2026-02-23 15:23:15 2026-05-03 18:52:12 ⌀ | repo_topics listlengths 0 13 ⌀ | repo_languages unknown | is_fork bool 1
class | open_issues int64 3 104 ⌀ | file_path stringlengths 3 208 | file_name stringclasses 509
values | file_extension stringclasses 1
value | file_size_bytes int64 101 84k ⌀ | file_url stringclasses 627
values | file_raw_url stringclasses 627
values | file_sha stringclasses 624
values | language stringclasses 8
values | parsed_at stringdate 2026-05-04 01:12:36 2026-05-04 19:41:55 | text stringlengths 100 102k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/arch/default-syscalls.h | null | null | null | null | null | null | C | 2026-05-04T18:41:52.704050 | #define SC(name) .nr_##name = SYS_##name
{
#ifdef SYS_mmap2
.nr_mmap = -1,
SC(mmap2),
#else
SC(mmap),
.nr_mmap2 = -1,
#endif
SC(munmap),
SC(getsid),
SC(setsid),
SC(setpgid),
SC(fork),
.nr_clone = -1,
SC(wait4),
#ifdef SYS_signal
SC(signal),
#else
.nr_signal = -1,
#e... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/freebsd.c | null | null | null | null | null | null | C | 2026-05-04T18:41:52.705397 | /*
* Copyright (C) 2014 Christian Heckendorf <heckendorfc@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, including without limitation the rights
* to ... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/freebsd_ptrace.c | null | null | null | null | null | null | C | 2026-05-04T18:41:52.707291 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/arch/x86_common.h | null | null | null | null | null | null | C | 2026-05-04T18:41:52.708389 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/freebsd.h | null | null | null | null | null | null | C | 2026-05-04T18:41:52.716918 | /*
* Copyright (C) 2014 Christian Heckendorf <heckendorfc@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, including without limitation the rights
* to ... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/arch/i386.h | null | null | null | null | null | null | C | 2026-05-04T18:41:52.722789 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/arch/aarch64.h | null | null | null | null | null | null | C | 2026-05-04T18:41:52.724071 | /*
* Copyright (C) 2011 by Nelson Elhage
* Copyright (C) 2023 Kyle Evans <kevans@FreeBSD.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 li... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | attach.c | null | null | null | null | null | null | C | 2026-05-04T18:41:52.744488 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/freebsd/arch/amd64.h | null | null | null | null | null | null | C | 2026-05-04T18:41:52.774261 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/amd64.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.361720 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/arm.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.362717 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/aarch64.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.377727 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/linux.c | null | null | null | null | null | null | C | 2026-05-04T18:41:53.382497 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/i386.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.412005 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/linux.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.440905 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/default-syscalls.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.509076 | #define SC(name) .nr_##name = __NR_##name
{
#ifdef __NR_mmap2
.nr_mmap = -1,
SC(mmap2),
#else
SC(mmap),
.nr_mmap2 = -1,
#endif
SC(munmap),
SC(getsid),
SC(setsid),
SC(setpgid),
#ifdef __NR_fork
SC(fork),
.nr_clone = -1,
#else
.nr_fork = -1,
SC(clone),
#endif
SC(wait4)... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/x86_common.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.528570 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/powerpc.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.529997 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/arch/riscv64.h | null | null | null | null | null | null | C | 2026-05-04T18:41:53.535980 | /*
* Copyright (C) 2021 by Ast-x64
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish,... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | ptrace.h | null | null | null | null | null | null | C | 2026-05-04T18:41:54.014718 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | reallocarray.c | null | null | null | null | null | null | C | 2026-05-04T18:41:54.023273 | /* $OpenBSD: reallocarray.c,v 1.1 2014/05/08 21:43:49 deraadt Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
*
* 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... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/platform.h | null | null | null | null | null | null | C | 2026-05-04T18:41:54.037087 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | platform/linux/linux_ptrace.c | null | null | null | null | null | null | C | 2026-05-04T18:41:54.040510 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | reptyr.c | null | null | null | null | null | null | C | 2026-05-04T18:41:54.073892 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | test/victim.c | null | null | null | null | null | null | C | 2026-05-04T18:41:54.136113 | #include <stdio.h>
#ifdef __linux__
#include <sys/prctl.h>
#ifndef PR_SET_PTRACER
#define PR_SET_PTRACER
#endif
#ifndef PR_SET_PTRACER_ANY
# define PR_SET_PTRACER_ANY ((unsigned long)-1)
#endif
#endif
int main(int argc, char **argv) {
char *line = NULL;
size_t cap = 0;
#ifdef __linux__
int err = prctl(... |
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | reallocarray.h | null | null | null | null | null | null | C | 2026-05-04T18:41:54.188313 | #ifndef __reallocarray_h
#define __reallocarray_h
void * xreallocarray(void *optr, size_t nmemb, size_t size);
#endif
|
nelhage/reptyr | https://github.com/nelhage/reptyr | null | null | null | null | 6,252 | null | null | mit | null | null | null | null | null | null | null | reptyr.h | null | null | null | null | null | null | C | 2026-05-04T18:41:54.250799 | /*
* Copyright (C) 2011 by Nelson Elhage
*
* 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, pu... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/html4_sax_parser_context.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.784219 | #include <nokogiri.h>
VALUE cNokogiriHtml4SaxParserContext ;
/* :nodoc: */
static VALUE
noko_html4_sax_parser_context_s_native_memory(VALUE rb_class, VALUE rb_input, VALUE rb_encoding)
{
Check_Type(rb_input, T_STRING);
if (!(int)RSTRING_LEN(rb_input)) {
rb_raise(rb_eRuntimeError, "input string cannot be empty... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/libxml2_polyfill.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.799911 | #include <nokogiri.h>
#ifndef HAVE_XMLCTXTSETOPTIONS
/* based on libxml2-2.14.0-dev (1d8bd126) parser.c xmlCtxtSetInternalOptions */
int
xmlCtxtSetOptions(xmlParserCtxtPtr ctxt, int options)
{
int keepMask = 0;
int allMask;
if (ctxt == NULL) {
return (-1);
}
/*
* XInclude options aren't handled by t... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/html4_sax_parser.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.800431 | #include <nokogiri.h>
VALUE cNokogiriHtml4SaxParser;
static ID id_start_document;
static void
noko_html4_sax_parser_start_document(void *ctx)
{
xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr)ctx;
VALUE self = (VALUE)ctxt->_private;
VALUE doc = rb_iv_get(self, "@document");
xmlSAX2StartDocument(ctx);
rb_funcal... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/html4_element_description.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.808494 | #include <nokogiri.h>
static const rb_data_type_t html_elem_desc_type = {
.wrap_struct_name = "htmlElemDesc",
.flags = RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED,
};
VALUE cNokogiriHtml4ElementDescription ;
/*
* call-seq:
* required_attributes
*
* A list of required attributes for this element
*... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/gumbo.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.815517 | //
// Copyright 2013-2021 Sam Ruby, Stephen Checkoway
//
// 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... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/nokogiri.h | null | null | null | null | null | null | C | 2026-05-04T18:41:56.830615 | #ifndef NOKOGIRI_NATIVE
#define NOKOGIRI_NATIVE
#include <ruby/defines.h> // https://github.com/sparklemotion/nokogiri/issues/2696
#ifdef _MSC_VER
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif /* WIN32_LEAN_AND_MEAN */
# ifndef WIN32
# define WIN32
# endif /* WIN32 */
# include <winso... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/nokogiri.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.832780 | #include <nokogiri.h>
VALUE mNokogiri ;
VALUE mNokogiriGumbo ;
VALUE mNokogiriHtml4 ;
VALUE mNokogiriHtml4Sax ;
VALUE mNokogiriHtml5 ;
VALUE mNokogiriXml ;
VALUE mNokogiriXmlSax ;
VALUE mNokogiriXmlXpath ;
VALUE mNokogiriXslt ;
VALUE cNokogiriSyntaxError;
VALUE cNokogiriXmlCharacterData;
VALUE cNokogiriXmlElement;
VA... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/html4_entity_lookup.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.839448 | #include <nokogiri.h>
static VALUE cNokogiriHtml4EntityLookup;
/*
* call-seq:
* get(key)
*
* Get the HTML4::EntityDescription for +key+
*/
static VALUE
get(VALUE _, VALUE rb_entity_name)
{
VALUE cNokogiriHtml4EntityDescription;
const htmlEntityDesc *c_entity_desc;
VALUE rb_constructor_args[3];
c_entity... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/html4_sax_push_parser.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.840645 | #include <nokogiri.h>
VALUE cNokogiriHtml4SaxPushParser;
/*
* Write +chunk+ to PushParser. +last_chunk+ triggers the end_document handle
*/
static VALUE
noko_html4_sax_push_parser__native_write(VALUE self, VALUE rb_chunk, VALUE rb_last_chunk)
{
xmlParserCtxtPtr ctx;
const char *chunk = NULL;
int size = 0;
i... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/html4_document.c | null | null | null | null | null | null | C | 2026-05-04T18:41:56.841406 | #include <nokogiri.h>
VALUE cNokogiriHtml4Document ;
static ID id_encoding_found;
static ID id_to_s;
/*
* call-seq:
* new(uri=nil, external_id=nil) → HTML4::Document
*
* Create a new empty document with base URI +uri+ and external ID +external_id+.
*/
static VALUE
rb_html_document_s_new(int argc, VALUE *argv, ... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_attribute_decl.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.463684 | #include <nokogiri.h>
VALUE cNokogiriXmlAttributeDecl;
/*
* call-seq:
* attribute_type
*
* The attribute_type for this AttributeDecl
*/
static VALUE
attribute_type(VALUE self)
{
xmlAttributePtr node;
Noko_Node_Get_Struct(self, xmlAttribute, node);
return INT2NUM(node->atype);
}
/*
* call-seq:
* defaul... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_cdata.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.472420 | #include <nokogiri.h>
VALUE cNokogiriXmlCData;
/*
* call-seq:
* new(document, content)
*
* Create a new CDATA element on the +document+ with +content+
*
* If +content+ cannot be implicitly converted to a string, this method will
* raise a TypeError exception.
*/
static VALUE
rb_xml_cdata_s_new(int argc, VALU... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_dtd.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.490861 | #include <nokogiri.h>
VALUE cNokogiriXmlDtd;
static void
notation_copier(void *c_notation_ptr, void *rb_hash_ptr, const xmlChar *name)
{
VALUE rb_hash = (VALUE)rb_hash_ptr;
xmlNotationPtr c_notation = (xmlNotationPtr)c_notation_ptr;
VALUE rb_notation;
VALUE cNokogiriXmlNotation;
VALUE rb_constructor_args[3]... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_attr.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.492499 | #include <nokogiri.h>
VALUE cNokogiriXmlAttr;
/*
* call-seq:
* value=(content)
*
* Set the value for this Attr to +content+. Use +nil+ to remove the value
* (e.g., a HTML boolean attribute).
*/
static VALUE
set_value(VALUE self, VALUE content)
{
xmlAttrPtr attr;
xmlChar *value;
xmlNode *cur;
Noko_Node... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_comment.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.493695 | #include <nokogiri.h>
VALUE cNokogiriXmlComment;
static ID document_id ;
/*
* call-seq:
* new(document_or_node, content)
*
* Create a new Comment element on the +document+ with +content+.
* Alternatively, if a +node+ is passed, the +node+'s document is used.
*/
static VALUE
new (int argc, VALUE *argv, VALUE k... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/test_global_handlers.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.499596 | #include <nokogiri.h>
static VALUE foreign_error_handler_block = Qnil;
static void
foreign_error_handler(void *user_data, xmlErrorConstPtr c_error)
{
rb_funcall(foreign_error_handler_block, rb_intern("call"), 0);
}
/*
* call-seq:
* __foreign_error_handler { ... } -> nil
*
* Override libxml2's global error ha... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_document_fragment.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.501007 | #include <nokogiri.h>
VALUE cNokogiriXmlDocumentFragment;
/* :nodoc: */
static VALUE
noko_xml_document_fragment_s_native_new(VALUE klass, VALUE rb_doc)
{
xmlDocPtr c_doc;
xmlNodePtr c_node;
VALUE rb_node;
c_doc = noko_xml_document_unwrap(rb_doc);
c_node = xmlNewDocFragment(c_doc->doc);
noko_xml_document_... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_element_content.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.502268 | #include <nokogiri.h>
VALUE cNokogiriXmlElementContent;
static const rb_data_type_t xml_element_content_type = {
.wrap_struct_name = "xmlElementContent",
.flags = RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED,
};
/*
* call-seq:
* name → String
*
* [Returns] The content element's +name+
*/
static V... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_document.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.522379 | #include <nokogiri.h>
VALUE cNokogiriXmlDocument ;
static int
dealloc_node_i2(xmlNodePtr key, xmlNodePtr node, xmlDocPtr doc)
{
switch (node->type) {
case XML_ATTRIBUTE_NODE:
xmlFreePropList((xmlAttrPtr)node);
break;
case XML_NAMESPACE_DECL:
xmlFreeNs((xmlNsPtr)node);
break;
case... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_element_decl.c | null | null | null | null | null | null | C | 2026-05-04T18:41:57.574518 | #include <nokogiri.h>
VALUE cNokogiriXmlElementDecl;
static ID id_document;
/*
* call-seq:
* element_type → Integer
*
* The element_type
*/
static VALUE
element_type(VALUE self)
{
xmlElementPtr node;
Noko_Node_Get_Struct(self, xmlElement, node);
return INT2NUM(node->etype);
}
/*
* call-seq:
* conte... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_encoding_handler.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.079833 | #include <nokogiri.h>
VALUE cNokogiriEncodingHandler;
static void
xml_encoding_handler_dealloc(void *data)
{
/* make sure iconv handlers are cleaned up and freed */
xmlCharEncodingHandlerPtr c_handler = data;
xmlCharEncCloseFunc(c_handler);
}
static const rb_data_type_t xml_char_encoding_handler_type = {
.wr... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_entity_reference.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.098880 | #include <nokogiri.h>
VALUE cNokogiriXmlEntityReference;
/*
* call-seq:
* new(document, content)
*
* Create a new EntityReference element on the +document+ with +name+
*/
static VALUE
new (int argc, VALUE *argv, VALUE klass)
{
xmlDocPtr xml_doc;
xmlNodePtr node;
VALUE document;
VALUE name;
VALUE rest;... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_entity_decl.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.123754 | #include <nokogiri.h>
VALUE cNokogiriXmlEntityDecl;
/*
* call-seq:
* original_content
*
* Get the original_content before ref substitution
*/
static VALUE
original_content(VALUE self)
{
xmlEntityPtr node;
Noko_Node_Get_Struct(self, xmlEntity, node);
if (!node->orig) { return Qnil; }
return NOKOGIRI_ST... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_namespace.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.141148 | #include <nokogiri.h>
/*
* The lifecycle of a Namespace node is more complicated than other Nodes, for two reasons:
*
* 1. the underlying C structure has a different layout than all the other node structs, with the
* `_private` member where we store a pointer to Ruby object data not being in first position.
... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_node_set.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.146928 | #include <nokogiri.h>
VALUE cNokogiriXmlNodeSet ;
static ID decorate ;
static void
Check_Node_Set_Node_Type(VALUE node)
{
if (!(rb_obj_is_kind_of(node, cNokogiriXmlNode) ||
rb_obj_is_kind_of(node, cNokogiriXmlNamespace))) {
rb_raise(rb_eArgError, "node must be a Nokogiri::XML::Node or Nokogiri::XML::Na... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_reader.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.148015 | #include <nokogiri.h>
VALUE cNokogiriXmlReader;
static void
xml_reader_deallocate(void *data)
{
// free the document separately because we _may_ have triggered preservation by calling
// xmlTextReaderCurrentDoc during a read_more.
xmlTextReaderPtr c_reader = data;
xmlDocPtr doc = xmlTextReaderCurrentDoc(c_rea... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_processing_instruction.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.156550 | #include <nokogiri.h>
VALUE cNokogiriXmlProcessingInstruction;
/*
* call-seq:
* new(document, name, content)
*
* Create a new ProcessingInstruction element on the +document+ with +name+
* and +content+
*/
static VALUE
new (int argc, VALUE *argv, VALUE klass)
{
xmlDocPtr xml_doc;
xmlNodePtr node;
VALUE do... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_relax_ng.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.184372 | #include <nokogiri.h>
VALUE cNokogiriXmlRelaxNG;
static void
_noko_xml_relax_ng_deallocate(void *data)
{
xmlRelaxNGPtr schema = data;
xmlRelaxNGFree(schema);
}
static const rb_data_type_t xml_relax_ng_type = {
.wrap_struct_name = "xmlRelaxNG",
.function = {
.dfree = _noko_xml_relax_ng_deallocate,
},
... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_node.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.184995 | #include <nokogiri.h>
#include <stdbool.h>
// :stopdoc:
VALUE cNokogiriXmlNode ;
static ID id_decorate, id_decorate_bang;
typedef xmlNodePtr(*pivot_reparentee_func)(xmlNodePtr, xmlNodePtr);
static void
_xml_node_mark(void *ptr)
{
xmlNodePtr node = ptr;
if (!DOC_RUBY_OBJECT_TEST(node->doc)) {
return;
}
... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_sax_parser.c | null | null | null | null | null | null | C | 2026-05-04T18:41:58.230170 | #include <nokogiri.h>
VALUE cNokogiriXmlSaxParser ;
static ID id_start_document;
static ID id_end_document;
static ID id_start_element;
static ID id_end_element;
static ID id_start_element_namespace;
static ID id_end_element_namespace;
static ID id_comment;
static ID id_characters;
static ID id_xmldecl;
static ID id_... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_sax_parser_context.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.087700 | #include <nokogiri.h>
VALUE cNokogiriXmlSaxParserContext ;
static ID id_read;
static void
xml_sax_parser_context_type_free(void *data)
{
xmlParserCtxtPtr ctxt = data;
ctxt->sax = NULL;
if (ctxt->myDoc) {
xmlFreeDoc(ctxt->myDoc);
}
if (ctxt) {
xmlFreeParserCtxt(ctxt);
}
}
/*
* note that htmlPar... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_syntax_error.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.088777 | #include <nokogiri.h>
VALUE cNokogiriXmlSyntaxError;
void
noko__structured_error_func_save(libxmlStructuredErrorHandlerState *handler_state)
{
/* this method is tightly coupled to the implementation of xmlSetStructuredErrorFunc */
handler_state->user_data = xmlStructuredErrorContext;
handler_state->handler = xm... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_schema.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.131376 | #include <nokogiri.h>
VALUE cNokogiriXmlSchema;
static void
xml_schema_deallocate(void *data)
{
xmlSchemaPtr schema = data;
xmlSchemaFree(schema);
}
static const rb_data_type_t xml_schema_type = {
.wrap_struct_name = "xmlSchema",
.function = {
.dfree = xml_schema_deallocate,
},
.flags = RUBY_TYPED_FR... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/ascii.h | null | null | null | null | null | null | C | 2026-05-04T18:41:59.161303 | #ifndef GUMBO_ASCII_H_
#define GUMBO_ASCII_H_
#include <stddef.h>
#include "macros.h"
#ifdef __cplusplus
extern "C" {
#endif
PURE NONNULL_ARGS
int gumbo_ascii_strcasecmp(const char *s1, const char *s2);
PURE NONNULL_ARGS
int gumbo_ascii_strncasecmp(const char *s1, const char *s2, size_t n);
// If these values chan... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_xpath_context.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.182489 | #include <nokogiri.h>
VALUE cNokogiriXmlXpathContext;
/*
* these constants have matching declarations in
* ext/java/nokogiri/internals/NokogiriNamespaceContext.java
*/
static const xmlChar *NOKOGIRI_PREFIX = (const xmlChar *)"nokogiri";
static const xmlChar *NOKOGIRI_URI = (const xmlChar *)"http://www.nokogiri.org... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xslt_stylesheet.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.255163 | #include <nokogiri.h>
VALUE cNokogiriXsltStylesheet;
static void
mark(void *data)
{
nokogiriXsltStylesheetTuple *wrapper = (nokogiriXsltStylesheetTuple *)data;
rb_gc_mark(wrapper->func_instances);
}
static void
dealloc(void *data)
{
nokogiriXsltStylesheetTuple *wrapper = (nokogiriXsltStylesheetTuple *)data;
... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_sax_push_parser.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.274417 | #include <nokogiri.h>
VALUE cNokogiriXmlSaxPushParser ;
static void
xml_sax_push_parser_free(void *data)
{
xmlParserCtxtPtr ctx = data;
if (ctx->myDoc) {
xmlFreeDoc(ctx->myDoc);
}
if (ctx) {
xmlFreeParserCtxt(ctx);
}
}
static const rb_data_type_t xml_sax_push_parser_type = {
.wrap_struct_name = "... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | ext/nokogiri/xml_text.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.757269 | #include <nokogiri.h>
VALUE cNokogiriXmlText ;
/*
* call-seq:
* new(content, document)
*
* Create a new Text element on the +document+ with +content+
*/
static VALUE
rb_xml_text_s_new(int argc, VALUE *argv, VALUE klass)
{
xmlDocPtr c_document;
xmlNodePtr c_node;
VALUE rb_string;
VALUE rb_document;
VAL... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/ascii.c | null | null | null | null | null | null | C | 2026-05-04T18:41:59.758513 | #include "ascii.h"
int gumbo_ascii_strcasecmp(const char *s1, const char *s2) {
int c1, c2;
while (*s1 && *s2) {
c1 = (int)(unsigned char) gumbo_ascii_tolower(*s1);
c2 = (int)(unsigned char) gumbo_ascii_tolower(*s2);
if (c1 != c2) {
return (c1 - c2);
}
s1++;
s2++;
}
return (((int)... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/char_ref.h | null | null | null | null | null | null | C | 2026-05-04T18:42:00.127613 | #ifndef GUMBO_CHAR_REF_H_
#define GUMBO_CHAR_REF_H_
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
// Value that indicates no character was produced.
#define kGumboNoChar (-1)
// On input, str points to the start of the string to match and size is the
// size of the string.
//
// Returns the length of t... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/attribute.c | null | null | null | null | null | null | C | 2026-05-04T18:42:00.273244 | /*
Copyright 2018 Craig Barnes.
Copyright 2010 Google 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/insertion_mode.h | null | null | null | null | null | null | C | 2026-05-04T18:42:00.372064 | #ifndef GUMBO_INSERTION_MODE_H_
#define GUMBO_INSERTION_MODE_H_
// https://html.spec.whatwg.org/multipage/parsing.html#insertion-mode
// If new enum values are added, be sure to update the kTokenHandlers
// dispatch table in parser.c.
typedef enum {
GUMBO_INSERTION_MODE_INITIAL,
GUMBO_INSERTION_MODE_BEFORE_HTML,
... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/macros.h | null | null | null | null | null | null | C | 2026-05-04T18:42:00.421893 | #ifndef MACROS_H
#define MACROS_H
#if (!defined(__STDC_VERSION__) || !(__STDC_VERSION__ >= 199901L)) \
&& !defined(_WIN32) && !defined(__cplusplus)
# error C99 compiler required
#endif
#if defined(_WIN32)
# define inline __inline
# define __func__ __FUNCTION__
#endif
// Calculate the number of elements in an arr... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/attribute.h | null | null | null | null | null | null | C | 2026-05-04T18:42:00.798652 | #ifndef GUMBO_ATTRIBUTE_H_
#define GUMBO_ATTRIBUTE_H_
#include "nokogiri_gumbo.h"
#ifdef __cplusplus
extern "C" {
#endif
// Release the memory used for a GumboAttribute, including the attribute itself
void gumbo_destroy_attribute(GumboAttribute* attribute);
#ifdef __cplusplus
}
#endif
#endif // GUMBO_ATTRIBUTE_H_
|
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/nokogiri_gumbo.h | null | null | null | null | null | null | C | 2026-05-04T18:42:00.836989 | // Copyright 2010 Google Inc.
// Copyright 2018 Craig Barnes.
// Licensed under the Apache License, version 2.0.
// We use Gumbo as a prefix for types, gumbo_ as a prefix for functions,
// GUMBO_ as a prefix for enum constants and kGumbo as a prefix for
// static constants
/**
* @file
* @mainpage Gumbo HTML Parser
... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/error.c | null | null | null | null | null | null | C | 2026-05-04T18:42:01.021378 | /*
Copyright 2010 Google 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/hashmap.c | null | null | null | null | null | null | C | 2026-05-04T18:42:04.862494 | // Copyright 2020 Joshua J Baker. All rights reserved.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>
#include "hashmap.h"
#define GROW_AT 0.60 /* 60% */
#defi... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/hashmap.h | null | null | null | null | null | null | C | 2026-05-04T18:42:04.901233 | // Copyright 2020 Joshua J Baker. All rights reserved.
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
#ifndef HASHMAP_H
#define HASHMAP_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#if defined(__cplusplus)
extern "C" {
#endif // __cplusplus... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/error.h | null | null | null | null | null | null | C | 2026-05-04T18:42:04.901867 | #ifndef GUMBO_ERROR_H_
#define GUMBO_ERROR_H_
#include <stdint.h>
#include "nokogiri_gumbo.h"
#include "insertion_mode.h"
#include "string_buffer.h"
#include "token_type.h"
#include "tokenizer_states.h"
#ifdef __cplusplus
extern "C" {
#endif
struct GumboInternalParser;
typedef enum {
// Defined errors.
// http... |
sparklemotion/nokogiri | https://github.com/sparklemotion/nokogiri | null | null | null | null | 6,250 | null | null | mit | null | null | null | null | null | null | null | gumbo-parser/src/foreign_attrs.c | null | null | null | null | null | null | C | 2026-05-04T18:42:04.916909 | /* ANSI-C code produced by gperf version 3.1 */
/* Command-line: gperf -m100 -n src/foreign_attrs.gperf */
/* Computed positions: -k'8-9' */
/* Filtered by: gperf-filter.sed */
#include "replacement.h"
#include "macros.h"
#include <string.h>
#define TOTAL_KEYWORDS 11
#define MIN_WORD_LENGTH 5
#define MAX_WORD_LENGTH... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/Arduino.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.469614 | /*
* MIT License
* Copyright (c) 2017 - 2022 _VIFEXTech
*
* 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, m... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/Printable.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.474066 | /*
Printable.h - Interface class that allows printing of complex types
Copyright (c) 2011 Adrian McEwen. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/Arduino.c | null | null | null | null | null | null | C | 2026-05-04T18:42:08.478835 | /*
* MIT License
* Copyright (c) 2017 - 2022 _VIFEXTech
*
* 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, m... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/WCharacter.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.484464 | /*
WCharacter.h - Character utility functions for Wiring & Arduino
Copyright (c) 2010 Hernando Barragan. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
vers... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/Print.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.491412 | /*
Print.h - Base class that provides print() and println()
Copyright (c) 2008 David A. Mellis. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version ... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/WMath.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.491998 | #ifndef __WMATH_H
#define __WMATH_H
extern "C" {
#include "stdlib.h"
}
void randomSeed(unsigned long seed);
long random(long howbig);
long random(long howsmall, long howbig);
#endif
|
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/Stream.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.497920 | /*
Stream.h - base class for character-based streams.
Copyright (c) 2010 David A. Mellis. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/Wire.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.529878 | /******************************************************************************
* The MIT License
*
* Copyright (c) 2010 LeafLabs LLC.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/WString.h | null | null | null | null | null | null | C | 2026-05-04T18:42:08.574139 | /*
WString.h - String library for Wiring & Arduino
...mostly rewritten by Paul Stoffregen...
Copyright (c) 2009-10 Hernando Barragan. All right reserved.
Copyright 2011, Paul Stoffregen, paul@pjrc.com
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/itoa.c | null | null | null | null | null | null | C | 2026-05-04T18:42:09.340742 | /*
Copyright (c) 2011 Arduino. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This ... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/avr/pgmspace.h | null | null | null | null | null | null | C | 2026-05-04T18:42:09.345876 | #ifndef __PGMSPACE_H_
#define __PGMSPACE_H_ 1
#include <inttypes.h>
#define PROGMEM
#define PGM_P const char *
#define PSTR(str) (str)
#define _SFR_BYTE(n) (n)
typedef void prog_void;
typedef char prog_char;
typedef unsigned char prog_uchar;
typedef int8_t prog_int8_t;
typedef uint8_t prog_uint8_t;
typedef int16_t... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/binary.h | null | null | null | null | null | null | C | 2026-05-04T18:42:09.346391 | /*
binary.h - Definitions for binary constants
Copyright (c) 2006 David A. Mellis. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the Li... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/WireBase.h | null | null | null | null | null | null | C | 2026-05-04T18:42:09.493656 | /******************************************************************************
* The MIT License
*
* Copyright (c) 2010 LeafLabs LLC.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Adafruit_SPITFT.h | null | null | null | null | null | null | C | 2026-05-04T18:42:09.500128 |
#ifndef _ADAFRUIT_SPITFT_
#define _ADAFRUIT_SPITFT_
#include "Arduino.h"
#include "Print.h"
#define USE_FAST_PINIO
//#if ARDUINO >= 100
// #include "Arduino.h"
// #include "Print.h"
//#else
// #include "WProgram.h"
//#endif
#include <SPI.h>
#include "Adafruit_GFX.h"
#if defined(ARDUINO_STM32_FEATHER)
typedef vola... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Adafruit_SPITFT_Macros.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.049964 |
#include "Arduino.h"
#define USE_FAST_PINIO
/*
* Control Pins
* */
#ifdef USE_FAST_PINIO
#if defined (__STM32__)
#define SPI_DC_HIGH() (dcport->BSRR = dcpinmask)
#define SPI_DC_LOW() (dcport->BRR = dcpinmask)
#define SPI_CS_HIGH() (csport->BSRR = cspinmask)
#define SPI_CS_LO... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Fonts/FreeMono12pt7b.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.072314 | const uint8_t FreeMono12pt7bBitmaps[] PROGMEM = {
0x49, 0x24, 0x92, 0x48, 0x01, 0xF8, 0xE7, 0xE7, 0x67, 0x42, 0x42, 0x42,
0x42, 0x09, 0x02, 0x41, 0x10, 0x44, 0x11, 0x1F, 0xF1, 0x10, 0x4C, 0x12,
0x3F, 0xE1, 0x20, 0x48, 0x12, 0x04, 0x81, 0x20, 0x48, 0x04, 0x07, 0xA2,
0x19, 0x02, 0x40, 0x10, 0x03, 0x00, 0x3C, 0x00... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Fonts/FreeMono18pt7b.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.073674 | const uint8_t FreeMono18pt7bBitmaps[] PROGMEM = {
0x27, 0x77, 0x77, 0x77, 0x77, 0x22, 0x22, 0x20, 0x00, 0x6F, 0xF6, 0xF1,
0xFE, 0x3F, 0xC7, 0xF8, 0xFF, 0x1E, 0xC3, 0x98, 0x33, 0x06, 0x60, 0xCC,
0x18, 0x04, 0x20, 0x10, 0x80, 0x42, 0x01, 0x08, 0x04, 0x20, 0x10, 0x80,
0x42, 0x01, 0x10, 0x04, 0x41, 0xFF, 0xF0, 0x44... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/itoa.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.496503 | /*
Copyright (c) 2011 Arduino. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This ... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Fonts/FreeMonoBold12pt7b.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.497786 | const uint8_t FreeMonoBold12pt7bBitmaps[] PROGMEM = {
0xFF, 0xFF, 0xFF, 0xF6, 0x66, 0x60, 0x6F, 0x60, 0xE7, 0xE7, 0x62, 0x42,
0x42, 0x42, 0x42, 0x11, 0x87, 0x30, 0xC6, 0x18, 0xC3, 0x31, 0xFF, 0xFF,
0xF9, 0x98, 0x33, 0x06, 0x60, 0xCC, 0x7F, 0xEF, 0xFC, 0x66, 0x0C, 0xC3,
0x98, 0x63, 0x04, 0x40, 0x0C, 0x03, 0x00, ... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Fonts/FreeMono9pt7b.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.579777 | const uint8_t FreeMono9pt7bBitmaps[] PROGMEM = {
0xAA, 0xA8, 0x0C, 0xED, 0x24, 0x92, 0x48, 0x24, 0x48, 0x91, 0x2F, 0xE4,
0x89, 0x7F, 0x28, 0x51, 0x22, 0x40, 0x08, 0x3E, 0x62, 0x40, 0x30, 0x0E,
0x01, 0x81, 0xC3, 0xBE, 0x08, 0x08, 0x71, 0x12, 0x23, 0x80, 0x23, 0xB8,
0x0E, 0x22, 0x44, 0x70, 0x38, 0x81, 0x02, 0x06,... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/dtostrf.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.611457 | /*
dtostrf - Emulation for dtostrf function from avr-libc
Copyright (c) 2013 Arduino. All rights reserved.
Written by Cristian Maglie <c.maglie@bug.st>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free ... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/Libraries/Adafruit_GFX_Library/Fonts/FreeMono24pt7b.h | null | null | null | null | null | null | C | 2026-05-04T18:42:10.652139 | const uint8_t FreeMono24pt7bBitmaps[] PROGMEM = {
0x73, 0x9C, 0xE7, 0x39, 0xCE, 0x73, 0x9C, 0xE7, 0x10, 0x84, 0x21, 0x08,
0x00, 0x00, 0x00, 0x03, 0xBF, 0xFF, 0xB8, 0xFE, 0x7F, 0x7C, 0x3E, 0x7C,
0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x7C, 0x3E, 0x3C,
0x3E, 0x38, 0x1C, 0x38, 0x1C, 0x38, 0x1C, 0x38... |
FASTSHIFT/X-TRACK | https://github.com/FASTSHIFT/X-TRACK | null | null | null | null | 6,214 | null | null | mit | null | null | null | null | null | null | null | Software/X-Track/ArduinoAPI/dtostrf.c | null | null | null | null | null | null | C | 2026-05-04T18:42:10.875238 | /*
dtostrf - Emulation for dtostrf function from avr-libc
Copyright (c) 2013 Arduino. All rights reserved.
Written by Cristian Maglie <c.maglie@bug.st>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.