首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏iOS开发笔记

    Objective-C的内省(Introspection)

    内省(Introspection)是面向对象语言和环境的一个强大特性,Objective-C和Cocoa在这个方面尤其的丰富。

    61050发布于 2019-05-15
  • 来自专栏iOS开发笔记

    Objective-C的内省(Introspection)

    内省(Introspection)是面向对象语言和环境的一个强大特性,Objective-C和Cocoa在这个方面尤其的丰富。

    95760发布于 2018-03-30
  • 来自专栏欧阳大哥的轮子

    iOS线程生命周期的监控

    这个函数定义在头文件#include <pthread/introspection.h>中,函数的签名为: pthread_introspection_hook_t pthread_introspection_hook_install 回调函数是一个格式为pthread_introspection_hook_t类型的函数,其格式定义如下: typedef void (*pthread_introspection_hook_t)(unsigned = 1, //创建 PTHREAD_INTROSPECTION_THREAD_START, //运行 PTHREAD_INTROSPECTION_THREAD_TERMINATE > #include <stdio.h> pthread_introspection_hook_t g_oldpthread_introspection_hook = NULL; void mypthread_introspection_hook *argv[]) { //注册线程监控的回调函数为mypthread_introspection_hook g_oldpthread_introspection_hook = pthread_introspection_hook_install

    1.8K30发布于 2019-05-14
  • 来自专栏路过君BLOG from CSDN

    spring security 5 oauth2 资源服务器无法正确处理用户授权 报错insufficient_scope

    OpaqueTokenIntrospectionClientConfiguration { @Bean @ConditionalOnProperty(name = "spring.security.oauth2.resourceserver.opaquetoken.introspection-uri opaqueToken.getClientSecret()); } } 内省和验证不透明令牌 org.springframework.security.oauth2.server.resource.introspection.NimbusOpaqueTokenIntrospector org.springframework.security.oauth2.core.OAuth2AuthenticatedPrincipal; import org.springframework.security.oauth2.server.resource.introspection.NimbusOpaqueTokenIntrospector ; import org.springframework.security.oauth2.server.resource.introspection.OAuth2IntrospectionAuthenticatedPrincipal ; } } 配置 @Bean @ConditionalOnProperty(name = "spring.security.oauth2.resourceserver.opaquetoken.introspection-uri

    1.6K10编辑于 2021-12-07
  • 来自专栏九州牧云

    Java Reflection Tutorial

    This concept is often mixed with introspection. The following are their definitions from Wiki: Introspection is the ability of a program to examine From their definitions, introspection is a subset of reflection. Some languages support introspection, but do not support reflection, e.g., C++. Introspection Example: The instanceof operator determines whether an object belongs to a particular class

    68330发布于 2019-08-21
  • 来自专栏desperate633

    浅谈Java的反射(Reflection)什么是反射?为什么我们需要反射?如何使用反射总结

    反射的概念常常和自检(introspection)搞混。 维基百科中的自检(introspection)定义为: 自检(introspection)是程序能在运行时检查对象的类型和属性的能力 反射是程序在运行时检查同时改变对象的构造和行为的能力 从定义可以看出 ,introspection是反射的子集,反射除了检查,还可以控制改变,一些语言支持反射,一些语言支持反射: ? Paste_Image.png Introspection Example: instanceof 可以判断一个对象是否属于一个特定class的实例 if(obj instanceof Dog){ >[0]); m.invoke(dog); 在java中,反射可以理解为加强的Introspection,因为你无法改变一个对象的构造,但是可以改变对象的属性和方法的可见性 为什么我们需要反射?

    2.3K20发布于 2018-08-22
  • 来自专栏devops探索

    pip安装问题记录

    when compiling Pillow from source yum -y install zlib-devel libjpeg-turbo-devel 7、No package ‘gobject-introspection -1.0’ found centos: yum -y install gobject-introspection-devel ubuntu: yum -y install  libgirepository1.0

    1K20发布于 2020-07-31
  • 来自专栏IT码农

    Laravel5.3之PHP反射(Reflection) (上)

    PHP提供一套检测class, interface, trait, property, method的两个工具包:Introspection Functions和Reflection API,类似于探针一样的东西来探测这些一等公民 本文先看下Introspection Functions的使用。 开发环境: Laravel5.3 + PHP7 Introspection Functions Introspection Functions是用来操作object class的一些函数,PHP提供了大量的 Introspection Functions来操作class, interface, trait, method, property: class_exists() interface_exists API,这里先聊到Introspection Functions。

    2.5K41编辑于 2022-01-10
  • 来自专栏Elixir

    Python RPC | 连载 02 - XMLRPCServer

    除了 register_instance 函数之外,还有: register_function(function[,name]):注册一个方法或者服务 register_introspection_functions xmlrpc.server import SimpleXMLRPCServer from xmlrpc.server import SimpleXMLRPCRequestHandler # 使用 register_introspection_functions SimpleXMLRPCServer(("localhost", 8000), requestHandler=RequestHandler) print("Listen on 8000") server.register_introspection_functions

    50810编辑于 2022-09-28
  • 来自专栏后端学习之道

    从Springboot迁移到Micronaut

    例如,示例应用程序显示以下内容: $Person$Introspection$$0.class PersonRepository$Intercepted$$proxy0 .class $Person$Introspection$$1.class PersonRepository$Intercepted$$proxy1.class $Person$Introspection$$2.class PersonRepository$Intercepted$$proxy10.clas $Person $Introspection$$3.class PersonRepository$Intercepted$$proxy2.class $Person$Introspection.class PersonController.class SpringToMicronautApplicationKt.class Micronaut 创建包含Introspection

    1.3K10编辑于 2023-10-14
  • 来自专栏NetCore 从壹开始

    Ids4 认证保护 API 方案更新

    JwtTokens的模式,如果想要支持referenceTokens,需要先引用包: <PackageReference Include="IdentityModel.AspNetCore.OAuth2<em>Introspection</em> dot, it is a reference token options.ForwardDefaultSelector = Selector.ForwardReferenceToken("introspection "); }) // reference tokens .AddOAuth2Introspection("introspection", options => {

    1.3K20编辑于 2022-04-11
  • 来自专栏机器人课程与技术

    ROS新功能包PlotJuggler绘图

    CMakeLists.txt行 find_package(catkin QUIET) 您还需要下载并构建这个包:https://github.com/facontidavide/ros_type_introspection  在ROS indigo和kinetic,你可以运行 sudo apt-get install ros-indigo-ros-type-introspection 或 sudo apt-get install ros-kinetic-ros-type-introspection http://www.ros.org/news/2017/01/announcing-the-release-v06

    1.4K10编辑于 2022-05-10
  • 来自专栏站长的编程笔记

    在 Python GTK+ 3 中创建一个框

    这简化了对库和 GObject Introspection 绑定的访问。 PyGObject sudo apt install  libcairo2-dev python3-gi gir1.2-gtk-3.0gcc  libgirepository1.0-dev gobject-introspection  pkg-config  python3-dev GObject Introspection库和绑定对编程语言有很好的集成。

    2.2K10编辑于 2023-08-11
  • 来自专栏开源单点登录集成

    使用开源 MaxKey 与 APISIX 网关保护你的 API

    client_id=ae20330a-ef0b-4dad-9f10-d5e3485ca2ad", "introspection_endpoint": "", "introspection_endpoint_auth_method KQY4MDUwNjIwMjAxNTE3NTM1OTEYty", "discovery": "http://192.168.0.104/sign/authz/oauth/v20/1/.well-known/openid-configuration", "introspection_endpoint ": "http://192.168.0.104/sign/authz/oauth/v20/introspect", "introspection_endpoint_auth_methods_supported

    3.8K61编辑于 2023-02-17
  • 来自专栏用户画像

    JAVA反射机制

    这种“看透class”的能力(the ability of the program to examine itself)被称为introspection(内省、内观、反省)。 Reflection和introspection是常被并提的两个术语。 image.png

    75910发布于 2018-08-24
  • 来自专栏AI小白入门

    【智能司法】可解释的Rationale增强罪名预测系统

    Hendricks et al.[1] 将可解释性分为二大类:Introspection explanation和Justification explanation。 Introspection explanation:解释模型如何确定其最终输出。例如:考虑罪名和法条的高度相关性,Luo et al. [2] 引入法条信息来提高罪名预测的准确性。 这项工作中聚焦于Introspection explanation。实验结果表明,本文提出的方法能够与人工注释高度一致地提取rationales,并且在预测准确性方面可与经典的基于注意力模型相媲美。

    1.4K10发布于 2020-03-31
  • 来自专栏Java猫说

    关于属性描述符PropertyDescriptor

    *

    * It supports some common information that can be set and retrieved for * any of the introspection * @exception IntrospectionException if an exception occurs during * introspection * @exception IntrospectionException if an exception occurs during * introspection * @exception IntrospectionException if an exception occurs during * introspection

    88730发布于 2019-04-11
  • 来自专栏C++ 动态新闻推送

    C++ 中文周刊 第129期

    这里也挂着长期推荐了 • gcc-mcf[10] 懂的都懂 新项目介绍/版本更新 • Object Introspection (OI) enables on-demand, hierarchical Unilang: https://github.com/linuxdeepin/unilang [10] gcc-mcf: https://gcc-mcf.lhmouse.com/ [11] Object Introspection objects in arbitrary C/C++ programs with no recompilation: https://github.com/facebookexperimental/object-introspection

    24610编辑于 2024-07-30
  • 来自专栏代码散人

    ios开发 Runtime 详解part2(动态方法解析)

    在 ios开发 Runtime 详解part1中我已经解释了Introspection,接下来介绍Runtime的其它特性。 Runtime能做什么? 1、Introspection, 获得对象中的信息,如Class, Selector(SEL), Method: ios开发 Runtime 详解part1 2、Dynamic Method Resolution

    82310发布于 2018-08-22
  • 来自专栏站长的编程笔记

    【说站】python如何建立web服务

    ') as f:         return f.read()   server = SimpleXMLRPCServer(('localhost', 8000)) server.register_introspection_functions

    85230编辑于 2022-11-23
领券