repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
mulle-objc/mulle-objc-runtime | src/mulle-objc-super.h | //
// mulle_objc_super.h
// mulle-objc-runtime
//
// Created by Nat! on 12.08.17.
// Copyright (c) 2017 <NAME>. All rights reserved.
// Copyright (c) 2017 Codeon GmbH.All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-universe-global.c | //
// mulle_objc_universe_global.h
// mulle-objc-runtime
//
// Created by Nat! on 07.09.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fo... |
mulle-objc/mulle-objc-runtime | src/debug/mulle-objc-html.h | //
// mulle_objc_html.h
// mulle-objc-runtime
//
// Created by Nat! on 10.05.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following con... |
mulle-objc/mulle-objc-runtime | test-compiler-runtime/0_runtime/load-categories/ProtoClass1.h | <gh_stars>100-1000
#include <mulle-objc-runtime/mulle-objc-runtime.h>
@class ProtoClass1;
@protocol ProtoClass1
@end
|
mulle-objc/mulle-objc-runtime | src/mulle-objc-class-search.c | //
// mulle_objc_class_search.c
// mulle-objc-runtime
//
// Created by Nat! on 17/08/03.
// Copyright (c) 2014-2017 Nat! - <NAME>.
// Copyright (c) 2014-2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-object-convenience.h | <gh_stars>100-1000
//
// mulle_objc_object_convenience.h
// mulle-objc-runtime
//
// Created by Nat! on 11.03.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitte... |
mulle-objc/mulle-objc-runtime | src/debug/mulle-objc-dotdump.c | <gh_stars>100-1000
//
// mulle_objc_dotdump.c
// mulle-objc-runtime
//
// Created by Nat! on 25.10.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-retain-release.c | <reponame>mulle-objc/mulle-objc-runtime<filename>src/mulle-objc-retain-release.c<gh_stars>100-1000
//
// mulle_objc_retain_release.c
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and us... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-kvccache.c | <reponame>mulle-objc/mulle-objc-runtime<filename>src/mulle-objc-kvccache.c
//
// mulle_objc_kvccache.c
// mulle-objc-runtime
//
// Created by Nat! on 18.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-method.h | <filename>src/mulle-objc-method.h
//
// mulle_objc_method.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permi... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-uniqueid.c | //
// mulle_objc_uniqueid.c
// mulle-objc-runtime
//
// Created by Nat! on 05.02.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-ivar.c | <gh_stars>100-1000
//
// mulle_objc_ivar.c
// mulle-objc-runtime
//
// Created by Nat! on 11.08.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided tha... |
mulle-objc/mulle-objc-runtime | test-compiler-runtime/0_runtime/load-classes/Root.h | #include <mulle-objc-runtime/mulle-objc-runtime.h>
@interface Root
@end
|
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/test_message_forwarding.c | <filename>test-startup/methods/inheritance/test_message_forwarding.c
//
// test_message_forwarding.c
// mulle-objc-runtime
//
// Created by Nat! on 13.03.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include "test_runtime_ids.h"
#include <stdio.h>
//... |
mulle-objc/mulle-objc-runtime | test/signature/parse_signature.c | //
// main.c
// test-runtime-2
//
// Created by Nat! on 19/11/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#ifndef __MULLE_OBJC__
# define __MULLE_OBJC_NO_TPS__
# define __MULLE_OBJC_FCS__
#endif
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include <stdio.h>
static char *signatures[] =
{... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-fastmethodtable.c | //
// mulle_objc_fast_call.c
// mulle-objc-runtime
//
// Created by Nat! on 26/10/15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-class-struct.h | //
// mulle_objc_class_struct.h
// mulle-objc-runtime-universe
//
// Created by Nat! on 07.04.17.
// Copyright (c) 2017 <NAME>. All rights reserved.
// Copyright (c) 2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-protocol.c | <filename>src/mulle-objc-protocol.c
//
// mulle_objc_protocol.c
// mulle-objc-runtime-universe
//
// Created by Nat! on 30.05.17
// Copyright (c) 2017 Nat! - <NAME>.
// Copyright (c) 2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modificatio... |
mulle-objc/mulle-objc-runtime | test/c/functionpointer/print.c | <reponame>mulle-objc/mulle-objc-runtime<filename>test/c/functionpointer/print.c
//
// main.c
// mulle-msg-send
//
// Created by Nat! on 15/11/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#include <mulle-objc-runtime/mulle-objc-atomicpointer.h>
#include <stdio.h>
int main( int argc, char *argv[])
{
... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-signature.h | <reponame>mulle-objc/mulle-objc-runtime
//
// mulle_objc_signature.h
// mulle-objc-runtime
//
// Created by Nat! on 28.02.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-universe-class.h | <filename>src/mulle-objc-universe-class.h
//
// mulle_objc_class_universe.h
// mulle-objc-runtime
//
// Created by Nat! on 10.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modific... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-protocollist.h | //
// mulle_objc_protocollist.h
// mulle-objc-runtime-universe
//
// Created by Nat! on 30.05.17
// Copyright (c) 2017 Nat! - <NAME>.
// Copyright (c) 2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that t... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-symbolizer.c | //
// mulle_objc_symbolizer.c
// mulle-objc-runtime
//
// Created by Nat! on 9/4/19.
// Copyright (c) 2019 Nat! - <NAME>.
// Copyright (c) 2019 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-property.c | //
// mulle_objc_property.c
// mulle-objc-runtime
//
// Created by Nat! on 05.03.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-load.h | <gh_stars>100-1000
//
// mulle_objc_load.h
// mulle-objc-runtime
//
// Created by Nat! on 19.11.14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided tha... |
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/f.c | <reponame>mulle-objc/mulle-objc-runtime
void *f0( void *self, mulle_objc_methodid_t _cmd, void *_params)
{
mulle_objc_methodid_t sel;
sel = MULLE_OBJC_METHODID( 0x5226f0b1); // @selector( f0)
assert( _cmd == sel);
return( (void *) (uintptr_t) sel);
}
void *f1( void *self, mulle_objc_methodid_t _cmd,... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-universe-fail.h | //
// mulle-objc-universe-fail.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014-2018 Nat! - <NAME>.
// Copyright (c) 2014-2018 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided tha... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-infraclass.h | <gh_stars>100-1000
//
// mulle_objc_infraclass.h
// mulle-objc-runtime
//
// Created by Nat! on 17/04/07
// Copyright (c) 2017 Nat! - <NAME>.
// Copyright (c) 2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provide... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-class-convenience.h | //
// mulle_objc_class_convenience.h
// mulle-objc-runtime
//
// Created by Nat! on 10.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the ... |
mulle-objc/mulle-objc-runtime | src/debug/mulle-objc-htmldump.c | <reponame>mulle-objc/mulle-objc-runtime
//
// mulle_objc_htmldump.c
// mulle-objc-runtime
//
// Created by Nat! on 10.05.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, a... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-walktypes.h | <reponame>mulle-objc/mulle-objc-runtime
//
// mulle_objc_walktypes.h
// mulle-objc-runtime
//
// Created by Nat! on 17/04/08.
// Copyright (c) 2017 Nat! - <NAME>.
// Copyright (c) 2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-retain-release.h | //
// mulle_objc_retain_release.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-loadinfo.c | <gh_stars>100-1000
//
// mulle_objc_loadinfo.h
// mulle-objc-runtime
//
// Created by Nat! on 01.04.20
// Copyright (c) 2020 Nat! - <NAME>.
// Copyright (c) 2020 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided ... |
mulle-objc/mulle-objc-runtime | test-compiler/0_compiler/metaabi/unwanted-promotion/functions.c | //
// main.m
// test-meta-abi
//
// Created by Nat! on 31.10.15.
// Copyright © 2015 <NAME>. All rights reserved.
//
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include <stdio.h>
//
// TODO: move these to other .c file and link
//
void print_double( void *self, mulle_objc_methodid_t _cmd, double x)
{
... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-atomicpointer.h | <filename>src/mulle-objc-atomicpointer.h<gh_stars>100-1000
//
// mulle_objc_atomicpointer.h
// mulle-objc-runtime
//
// Created by Nat! on 10.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or wit... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-runtime.h | //
// mulle_objc.h
// mulle-objc-runtime
//
// Created by Nat! on 10.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditio... |
mulle-objc/mulle-objc-runtime | test/version/check_version.c | <reponame>mulle-objc/mulle-objc-runtime
//
// main.c
// test-runtime-2
//
// Created by Nat! on 19/11/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#define __TEST_VERSION
#include <mulle-objc-runtime/mulle-objc-jit.inc>
static int JIT_LOAD_VERSION = MULLE_OBJC_RUNTIME_LOAD_VERSION;
static int JIT_MAJ... |
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/test_method.c | //
// test_method.c
// mulle-objc-runtime
//
// Created by Nat! on 16.03.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include "test_runtime_ids.h"
#include "test_simple_inheritance.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#incl... |
mulle-objc/mulle-objc-runtime | src/mulle-metaabi.h | //
// mulle_metaabi.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following condi... |
mulle-objc/mulle-objc-runtime | test-compiler-runtime/0_runtime/load-classes/Foo1.h | <reponame>mulle-objc/mulle-objc-runtime
#import "Base.h"
@protocol Proto1;
@protocol Proto2;
@interface Foo1 : Base < Proto1, Proto2>
@end
|
mulle-objc/mulle-objc-runtime | src/mulle-objc-objectheader.h | //
// mulle_objc_objectheader.h
// mulle-objc-runtime
//
// Created by Nat! on 10.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follo... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-signature.c | <filename>src/mulle-objc-signature.c
//
// mulle_objc_signature.c
// mulle-objc-runtime
//
// Created by Nat! on 28.02.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are... |
mulle-objc/mulle-objc-runtime | test-debugger/20_gdb/simulate-gdb/gdb.c | /*
* Functions needed by objc-lang.c
*/ |
mulle-objc/mulle-objc-runtime | src/mulle-objc-classpair.c | <reponame>mulle-objc/mulle-objc-runtime
//
// mulle_objc_classpair.c
// mulle-objc-runtime
//
// Created by Nat! on 17/04/08.
// Copyright (c) 2017 Nat! - <NAME>.
// Copyright (c) 2017 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-call.h | //
// mulle_objc_call.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following con... |
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/test_runtime_ids.h | <reponame>mulle-objc/mulle-objc-runtime
//
// test_runtime_ids.h
// mulle-objc-runtime
//
// Created by Nat! on 10.03.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#define A_classid MULLE_OBJC_CLASSID( 0x40bf6ccc)
#define B_classid MULLE_OBJC_CLASSID( 0x70bfb85c)
#define C_classid MULLE_... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-signature/main.c | <reponame>mulle-objc/mulle-objc-runtime<filename>src/mulle-objc-signature/main.c
//
// main.c
// mulle-objc-signature
//
// Created by Nat! on 19.03.19
// Copyright (c) 2019 Nat! - <NAME>.
// Copyright (c) 2019 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or ... |
mulle-objc/mulle-objc-runtime | src/debug/mulle-objc-lldb.h | <filename>src/debug/mulle-objc-lldb.h<gh_stars>100-1000
//
// mulle_objc_lldb.h
// mulle-objc-runtime-universe
//
// Created by Nat! on 16.05.17.
// Copyright © 2017 <NAME>. All rights reserved.
// Copyright © 2017 Codeon GmbH. All rights reserved.
//
// Redistribution and use in source and binary forms, with or ... |
mulle-objc/mulle-objc-runtime | test/demo/demo1.c | <filename>test/demo/demo1.c<gh_stars>100-1000
//
// main.c
// test-runtime-2
//
// Created by Nat! on 19/11/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#ifndef __MULLE_OBJC__
# define __MULLE_OBJC_NO_TPS__
# define __MULLE_OBJC_FCS__
#endif
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-class.h | //
// mulle_objc_class.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following co... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-load.c | //
// mulle_objc_load.c
// mulle-objc-runtime
//
// Created by Nat! on 19.11.14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following con... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-class.c | //
// mulle_objc_class.c
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following co... |
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/test_protocol_inheritance.c | //
// test_protocol_inheritance.c
// mulle-objc-runtime
//
// Created by Nat! on 13.03.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include "test_runtime_ids.h"
#include "test_simple_inheritance.h"
#include <errno.h>
#include <stdio.h>
/* a protoc... |
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/main.c | //
// main.m
// test-runtime
//
// Created by Nat! on 10.03.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
// code makes no sense without assert
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include <mulle-testallocator/mulle-testallocator.h>
#include "test_sim... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-try-catch-finally.c | <gh_stars>100-1000
//
// mulle_objc_try-catch-finally.c
// mulle-objc-runtime
//
// Created by Nat! on 22/01/16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-method.c | <filename>src/mulle-objc-method.c<gh_stars>100-1000
//
// mulle_objc_method.c
// mulle-objc-runtime
//
// Created by Nat! on 17/11/14.
// Copyright (c) 2014 Nat! - <NAME>.
// Copyright (c) 2014 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modif... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-universe-fail.c | <filename>src/mulle-objc-universe-fail.c
//
// mulle-objc-universe-fail.h
// mulle-objc-runtime
//
// Created by Nat! on 16/11/14.
// Copyright (c) 2014-2018 Nat! - <NAME>.
// Copyright (c) 2014-2018 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// ... |
mulle-objc/mulle-objc-runtime | test-startup/methods/inheritance/test_class_simple.c | //
// test_class_simple.c
// mulle-objc-runtime
//
// Created by Nat! on 10.03.15.
// Copyright (c) 2015 <NAME>. All rights reserved.
//
#include <mulle-objc-runtime/mulle-objc-runtime.h>
#include "test_runtime_ids.h"
#include <errno.h>
void test_class_simple( void)
{
struct _mulle_objc_classpair *pair;... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-uniqueid.h | //
// mulle_objc_uniqueid.h
// mulle-objc-runtime
//
// Created by Nat! on 15.09.15.
// Copyright (c) 2015 Nat! - <NAME>.
// Copyright (c) 2015 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-try-catch-finally.h | <gh_stars>100-1000
//
// mulle-objc-try-catch-finally.h
// mulle-objc-runtime
//
// Created by Nat! on 22/01/16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-version.h | //
// mulle_objc_version.h
// mulle-objc-runtime
//
// Created by Nat! on 10.07.16.
// Copyright (c) 2016 Nat! - <NAME>.
// Copyright (c) 2016 Codeon GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following ... |
mulle-objc/mulle-objc-runtime | src/mulle-objc-methodidconstants.h | #define MULLE_OBJC_ALLOC_METHODID MULLE_OBJC_METHODID( 0xab1bb16b) // "alloc"
#define MULLE_OBJC_AUTORELEASE_METHODID MULLE_OBJC_METHODID( 0x8c9fa1fc) // "autorelease"
#define MULLE_OBJC_CLASS_METHODID MULLE_OBJC_METHODID( 0xb3e0bffa) // "class"
#define MULLE_OBJC_COPY_METHODID MULL... |
Yuan-Zhuo/ics_labs | lab7/memlib.h | #include <unistd.h>
void mem_init(void);
void mem_deinit(void);
void* mem_sbrk(int incr);
void mem_reset_brk(void);
void* mem_heap_lo(void);
void* mem_heap_hi(void);
size_t mem_heapsize(void);
size_t mem_pagesize(void);
|
Yuan-Zhuo/ics_labs | lab4/y64sim.c | /* Instruction set simulator for Y64 Architecture */
#include <stdio.h>
#include <stdlib.h>
#include "y64sim.h"
#define err_print(_s, _a...) \
fprintf(stdout, _s "\n", _a);
typedef enum
{
STAT_AOK,
STAT_HLT,
STAT_ADR,
STAT_INS
} stat_t;
char *stat_names[] = {"AOK", "HLT", "ADR", "INS"};
char *... |
Yuan-Zhuo/ics_labs | lab5/y64asm.c | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "y64asm.h"
line_t *line_head = NULL;
line_t *line_tail = NULL;
int lineno = 0;
#define err_print(_s, _a ...) do { \
if (lineno < 0) \
fprintf(stderr, "[--]: "_s"\n", ## _a); \
else \
fprintf(stderr, "[L%d]: "_s"\n", ... |
Yuan-Zhuo/ics_labs | lab10/proxy.c | /*
* proxy.c - ICS Web proxy
*
* id:517030910169
* name: yuanzhuo
*/
#include "csapp.h"
#define GIANTLINE 16384
#define MAXENTRY 256
#define MAXHEADERS 10
/*
* Type definition
*/
/*
* reqheaderinfo - http request basic info
*/
struct reqheaderinfo {
char method[MAXENTRY];
char server_ip[MAXENTRY]... |
Yuan-Zhuo/ics_labs | lab8/csim.c | <gh_stars>1-10
/*
* loginID: 517030910169
* name: yuanzhuo
*/
#include <getopt.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "cachelab.h"
/**
* basic logic:
* 1.valid bit: present by an unsigned int where 0 means invalid, and 1~inf
* ... |
Yuan-Zhuo/ics_labs | lab8/trans.c | /*
* loginID: 517030910169
* name: yuanzhuo
*/
#include <stdio.h>
#include "cachelab.h"
/**
* basic logic:
* 1.base on waside-blocking.pdf
* 2.write the specific function for these cases showing below
* 3.get the conflict message between cache for A and B
*
* int x = 0x30a100;
* ... |
Yuan-Zhuo/ics_labs | tut-debug/gen_sort.c | /*
* Creator: <NAME>
* Date: 1/17/96
* Copyright (c) 1995, 1996, 1998 Microsoft Corporation, All Right Reserved
*/
/*
* SortGen.EXE : Sort Benchmark data generator
*
* This is a console application.
* It generates 100 byte records.
* The first 10 bytes is a random key of 10 printable characters.
* T... |
Yuan-Zhuo/ics_labs | lab1/bits.c | /*
* CS:APP Data Lab
*
* bits.c - Source file with your solutions to the Lab.
* This is the file you will hand in to your instructor.
*
* WARNING: Do not include the <stdio.h> header; it confuses the dlc
* compiler. You can still use printf for debugging without including
* <stdio.h>, although you m... |
Yuan-Zhuo/ics_labs | lab7/mm.c | /*
* malloc lab:
* 1. baesed on the implement on csapp book
* 2. segregated free list
* 3. immediate coalescing
* 4. implicit free list
* 5. a little optimization for traces
* 6. mm_check added
*/
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unis... |
Yuan-Zhuo/ics_labs | lab7/mm.h | <reponame>Yuan-Zhuo/ics_labs
#include <stdio.h>
extern int mm_init(void);
extern void* mm_malloc(size_t size);
extern void mm_free(void* ptr);
extern void* mm_realloc(void* ptr, size_t size);
|
psychoticbeef/mobilant-client | Mobilant.xcodeproj/MLFieldEditor.h | //
// MLFieldEditor.h
// Mobilant
//
// Created by Daniel on 09.05.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MLFieldEditor : NSTextView
@end
|
psychoticbeef/mobilant-client | MobilantClient.h | //
// MobilantClient.h
// Mobilant
//
// Created by Daniel on 07.05.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SMSClient.h"
@interface MobilantClient : SMSClient <SMSClientProtocol> {
@private
NSString *APIKey;
}
-(void)setAPIKey:(NSString*)ap... |
psychoticbeef/mobilant-client | Mobilant/MobilantAppDelegate.h | //
// MobilantAppDelegate.h
// Mobilant
//
// Created by Daniel on 06.05.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "MobilantClient.h"
#import "MLFieldEditor.h"
#import <AddressBook/AddressBook.h>
#import <AddressBook/ABRecord.h>
#import <AddressBook/ABAddressB... |
psychoticbeef/mobilant-client | Mobilant.xcodeproj/SMSClient.h | //
// SMSClient.h
// Mobilant
//
// Created by Daniel on 07.05.11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#pragma mark abstract
#import <Foundation/Foundation.h>
@protocol SMSClientProtocol
-(void)setAPIKey:(NSString*)apiKey;
-(NSString *)getCredits;
-(int)sendSMS:(NSString *)senderID phone... |
VitoDeHuli/pychbase | thread_question.c | struct Buffer {
int count;
pthread_mutex_t mutex;
Buffer() {
mutex = PTHREAD_MUTEX_INITIALIZER;
}
};
void call_back(Buffer *buffer) {
//...
// Assume that only 1 thread has write access
buffer->count = 1;
}
void caller() {
Buffer *buffer = new Buffer()
//...
some_async... |
stepanoval/XXHTest | XXHToolLib/XXHTool.h | //
// XXHTool.h
// XXHTestDemo
//
// Created by huangxinxin01 on 2021/8/5.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface XXHTool : NSObject
-(void)printCurrentMethod;
@end
NS_ASSUME_NONNULL_END
|
stepanoval/XXHTest | XXHToolLib/XXHToolLib.h | <filename>XXHToolLib/XXHToolLib.h
//
// XXHToolLib.h
// XXHToolLib
//
// Created by huangxinxin01 on 2021/8/5.
//
#import <Foundation/Foundation.h>
#import "XXHTool.h"
//! Project version number for XXHToolLib.
FOUNDATION_EXPORT double XXHToolLibVersionNumber;
//! Project version string for XXHToolLib.
FOUNDATION... |
ogestor/core_card_io | ios/Classes/CoreCardIoPlugin.h | #import <Flutter/Flutter.h>
@interface CoreCardIoPlugin : NSObject<FlutterPlugin>
@end
|
majacQ/JavaScriptKit | Sources/_CJavaScriptEventLoop/Queue.h | #ifndef _CJavaScriptEventLoop_Queue_h
#define _CJavaScriptEventLoop_Queue_h
#include <type_traits>
#include <cassert>
#include <__nullptr> // FIXME
#include <swift/ABI/Task.h>
#include "_CJavaScriptEventLoop.h"
class Queue {
public:
swift::Job *HeadJob;
bool isSpinning;
EventLoopContext Context;
Queu... |
majacQ/JavaScriptKit | Sources/_CJavaScriptEventLoop/include/_CJavaScriptEventLoop.h | #ifndef _CJavaScriptEventLoop_h
#define _CJavaScriptEventLoop_h
typedef struct {
void *Queue;
void *Promise;
} EventLoopContext;
#ifdef __cplusplus
extern "C" {
#endif
void installTaskEnqueueHook(void);
void registerEventLoopHook(void callback(EventLoopContext *context),
EventLoopC... |
qieqieplus/ClickHouse | src/Access/Common/AccessType.h | #pragma once
#include <base/types.h>
namespace DB
{
/// Represents an access type which can be granted on databases, tables, columns, etc.
enum class AccessType
{
/// Macro M should be defined as M(name, aliases, node_type, parent_group_name)
/// where name is identifier with underscores (instead of spaces);
/// al... |
FaiScofield/roch_GPSR | roch_gpsr/include/roch_gpsr/common_include.h | //C++
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <vector>
#include <time.h>
//ROS
#include <ros/ros.h>
#include <sensor_msgs/image_encodings.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/PointCloud2.h>
#include <std_msgs/String.h>
... |
FaiScofield/roch_GPSR | roch_gpsr/include/roch_gpsr/common_function.h | <reponame>FaiScofield/roch_GPSR<filename>roch_gpsr/include/roch_gpsr/common_function.h
#include <roch_gpsr/common_include.h>
class CommonFunction{
private:
// ros::Publisher pub_scan_mode;
// ros::Publisher pub_cam_pan_angle;
// ros::Publisher pub_cam_tilt_angle;
// ros::Publisher pub_mic_pan_angle;... |
improved-php-library/http-message | server_request.c | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - ServerRequest class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+----------------------... |
improved-php-library/http-message | factory.c | <filename>factory.c
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Factory methods |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+--... |
improved-php-library/http-message | uploaded_file.c | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - UploadedFile class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+----------------------... |
improved-php-library/http-message | php_http_message.h | <reponame>improved-php-library/http-message<gh_stars>10-100
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> ... |
improved-php-library/http-message | macros.h | <reponame>improved-php-library/http-message
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension |
| Generic macros for this library |
+---------------------------------------------... |
improved-php-library/http-message | response.h | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension |
| Helper function to get reason phrase from status code |
+----------------------------------------------------------------------+
| Copyright (c)... |
improved-php-library/http-message | uri.c | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Uri class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+----------------------... |
improved-php-library/http-message | stream.h | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension |
| Helper function to work with streams |
+----------------------------------------------------------------------+
| Copyright (c)... |
improved-php-library/http-message | message.c | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Message methods |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+----------------------... |
improved-php-library/http-message | response.c | <reponame>improved-php-library/http-message
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Response class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> ... |
improved-php-library/http-message | stream.c | <reponame>improved-php-library/http-message
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Stream class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> ... |
improved-php-library/http-message | emitter.c | <gh_stars>10-100
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Stream class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+-----... |
improved-php-library/http-message | http_message.c | /*
+----------------------------------------------------------------------+
| HTTP Message PHP extension |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> |
+----------------------... |
improved-php-library/http-message | request.c | <reponame>improved-php-library/http-message
/*
+----------------------------------------------------------------------+
| HTTP Message PHP extension - Request class |
+----------------------------------------------------------------------+
| Copyright (c) 2019 <NAME> ... |
tigershark2020/KryptosSolver | solverfunctions.h | #ifndef SOLVERFUNCTIONS_H
#define SOLVERFUNCTIONS_H
#include <vector>
#include <string>
#include <fstream>
#include <iostream>
#include <stdlib.h>
class SolverFunctions
{
public:
SolverFunctions();
std::string FindReplaceInString(std::string subject, const std::string& search,const std::string& replace);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.