run Time

Run-Time Setting设置 一、打开方式:(F4)Replay/Run-Time Setting 二、配置方法说明 (1)Run Logic(迭代次数设置) 说明: 1、迭代次数只对action有效,init和end只迭代一次,不受影响 2、一般情况下,只迭代一次,如果需要验证脚本是否出错,则设置多次 (2)pacing(下次迭代时间设置) 说明: 1、默认是连续迭代,可以不需要修改,为了节约时间 (3)T... 阅读详情

Objective-C 

Objective-C Objective-C Objc Runtime Objc Runtime Runtime C C 

Runtime 

  1. C C runtime
  2. [object doSomething] (object) (doSomething) runtime

Objective-C runtime Modern runtime Legacy runtime Modern Runtime 64 Mac OS X Apps iOS Apps Legacy Runtime 32 Mac OS X Apps 

runtime Runtime 


Class 

Objective-C Class objc_class typedef struct objc_class *Class; 

objc/runtime.h objc_class struct objc_class { 

page1image8144.png page1image8304.png page1image8464.png

page1image9968.png page1image10136.png page1image10296.png

Search 

page1image10912.png page1image11080.png page1image11248.png page1image11416.png page1image11584.png 

page1image13184.png page1image13352.png

Navigate... page1image13352.png page1image13184.pngNavigate... 

page1image16352.png page1image16680.png

Navigate... 

page1image8304.png page1image17776.png page1image8304.png page1image18096.png page1image8304.png page1image18416.png page1image18576.png

    Class isa  OBJC_ISA_AVAILABILITY;

#if !__OBJC2__

    Class super_class

    const char *name

    long version

    long info

    long instance_size

    struct objc_ivar_list *ivars

    struct objc_method_list **methodLists

    struct objc_cache *cache

    struct objc_protocol_list *protocols

#endif

} OBJC2_UNAVAILABLE;

                    

OBJC2_UNAVAILABLE; //
OBJC2_UNAVAILABLE; //
OBJC2_UNAVAILABLE; // 0 OBJC2_UNAVAILABLE; // OBJC2_UNAVAILABLE; // OBJC2_UNAVAILABLE; // OBJC2_UNAVAILABLE; // OBJC2_UNAVAILABLE; // 

OBJC2_UNAVAILABLE; // 

  1. isa Objective-C Class isa metaClass( )
  2. super_class ( NSObject NSProxy) super_class NULL
  3. cache isa
    methodLists
    cache cache runtime cache cache methodLists

4. version cache 

NSArray *array = [[NSArray alloc] init];


  1. [NSArray alloc] NSArray +alloc NSObject
  2. NSObject +alloc NSArray isa NSArray
    +alloc
    cache
  3. -init NSArray cache
  4. [[NSArray alloc] init] cache

objc_object id objc_object (objc/objc.h) 

struct objc_object {

    Class isa  OBJC_ISA_AVAILABILITY;

};

typedef struct objc_object *id;

isa Objective-C isa Runtime selector 

objc_object NSObject alloc allocWithZone: class_createInstance objc_object 

id objc_object C++ C void * 

objc_cache 

objc_class cache objc_cache 

struct objc_cache {

    unsigned int mask /* total = mask + 1 */

    unsigned int occupied

    Method buckets[1]

}; 

            

OBJC2_UNAVAILABLE;

OBJC2_UNAVAILABLE;

OBJC2_UNAVAILABLE;

  1. mask bucket Objective-C runtime selector AND (index = (mask & selector)) hash
  2. occupied bucket
  3. buckets Method mask+1 NULL bucket
    bucket

(Meta Class) 

( ) NSArray *array = [NSArray array]; 

+array NSArray NSArray objc_object isa isa +array isa objc_class meta-class 

meta-class runtime meta-class 

meta-class meta-class 

meta-class isa Objective-C meta-class isa meta-class NSObject meta-class NSObject meta-class meta-class isa 

objc_class super_class meta-class 

page3image544.png

NSObject meta-class meta-class 

void TestMetaClass(id self, SEL _cmd) {

    NSLog(@"This objcet is %p", self);

    NSLog(@"Class is %@, super class is %@", [self class], [self superclass]);

    Class currentClass = [self class];

    for (int i = 0; i < 4; i++) {

        NSLog(@"Following the isa pointer %d times gives %p", i, currentClass);

        currentClass = objc_getClass((__bridge void *)currentClass);

    }

    NSLog(@"NSObject's class is %p", [NSObject class]);

    NSLog(@"NSObject's meta class is %p", objc_getClass((__bridge void *)[NSObject class]));

}

#pragma mark -

@implementation Test

- (void)ex_registerClassPair {

    Class newClass = objc_allocateClassPair([NSError class], "TestClass", 0);

    class_addMethod(newClass, @selector(testMetaClass), (IMP)TestMetaClass, "v@:");

    objc_registerClassPair(newClass);

    id instance = [[newClass alloc] initWithDomain:@"some domain" code:0 userInfo:nil];

    [instance performSelector:@selector(testMetaClass)];

}

@end 

NSError TestClass testMetaClass TestMetaClass 

2014-10-20 22:57:07.352 mountain[1303:41490] This objcet is 0x7a6e22b0

2014-10-20 22:57:07.353 mountain[1303:41490] Class is TestStringClass, super class is NSError

2014-10-20 22:57:07.353 mountain[1303:41490] Following the isa pointer 0 times gives 0x7a6e21b0

2014-10-20 22:57:07.353 mountain[1303:41490] Following the isa pointer 1 times gives 0x0

2014-10-20 22:57:07.353 mountain[1303:41490] Following the isa pointer 2 times gives 0x0

2014-10-20 22:57:07.353 mountain[1303:41490] Following the isa pointer 3 times gives 0x0

2014-10-20 22:57:07.353 mountain[1303:41490] NSObject's class is 0xe10000

2014-10-20 22:57:07.354 mountain[1303:41490] NSObject's meta class is 0x0

for objc_getClass isa NSObject meta-class 0x0 NSObject meta-class 

class meta-class 

runtime class objc object_ 


objc_class runtime 

(name) 

//
const char * class_getName ( Class cls ); 

● class_getName cls Nil (super_class) (meta-class) 

              

//
Class class_getSuperclass ( Class cls ); 

// Class
BOOL class_isMetaClass ( Class cls ); 

● class_getSuperclass cls Nil cls Nil NSObject superclass ● class_isMetaClass cls YES cls Nil NO 

(instance_size) 

//
size_t class_getInstanceSize ( Class cls ); 

(ivars) objc_class ivars ivars Ivar( ) runtime 

1. 

//
Ivar class_getInstanceVariable ( Class cls, const char *name ); 

//
Ivar class_getClassVariable ( Class cls, const char *name ); 

//
BOOL class_addIvar ( Class cls, const char *name, size_t size, uint8_t alignment, const char *types ); 

//
Ivar * class_copyIvarList ( Class cls, unsigned int *outCount ); 

● class_getInstanceVariable name objc_ivar (Ivar) ● class_getClassVariable Objective-C Objective-C 


● Objective-C class_addIvar objc_allocateClassPair objc_registerClassPair 1<<alignment ivar log2(sizeof(pointer_type)) 

● class_copyIvarList objc_ivar outCount free() 

2. // 

objc_property_t class_getProperty ( Class cls, const char *name );

//
objc_property_t * class_copyPropertyList ( Class cls, unsigned int *outCount ); 

//
BOOL class_addProperty ( Class cls, const char *name, const objc_property_attribute_t *attributes, unsigned int attributeCount ); 

//
void class_replaceProperty ( Class cls, const char *name, const objc_property_attribute_t *attributes, unsigned int attributeCount ); 

ivars 

3. MAC OS X runtime strong/weak 

const uint8_t * class_getIvarLayout ( Class cls );

void class_setIvarLayout ( Class cls, const uint8_t *layout );

const uint8_t * class_getWeakIvarLayout ( Class cls );

void class_setWeakIvarLayout ( Class cls, const uint8_t *layout );

objc_registerClassPair (methodLists) 

            

//
BOOL class_addMethod ( Class cls, SEL name, IMP imp, const char *types ); 

//
Method class_getInstanceMethod ( Class cls, SEL name ); 

//
Method class_getClassMethod ( Class cls, SEL name ); 

//
Method * class_copyMethodList ( Class cls, unsigned int *outCount ); 

//
IMP class_replaceMethod ( Class cls, SEL name, IMP imp, const char *types ); 

//
IMP class_getMethodImplementation ( Class cls, SEL name );
IMP class_getMethodImplementation_stret ( Class cls, SEL name ); 

// selector
BOOL class_respondsToSelector ( Class cls, SEL sel ); 

● class_addMethod NO method_setImplementation Objective-C C —self _cmd (IMP ) 

void myMethodIMP(id self, SEL _cmd)

{

    // implementation ....

}

                                  

types 

● class_getInstanceMethod class_getClassMethod class_copyMethodList 

● class_copyMethodList class_copyMethodList(object_getClass(cls), &count)( ) outCount free() 

● class_replaceMethod name class_addMethod name method_setImplementation 

● class_getMethodImplementation method_getImplementation(class_getInstanceMethod(cls, name)) runtime selector 

● class_respondsToSelector NSObject respondsToSelector: instancesRespondToSelector: (objc_protocol_list) 

              

//
BOOL class_addProtocol ( Class cls, Protocol *protocol ); 

//
BOOL class_conformsToProtocol ( Class cls, Protocol *protocol ); 

//
Protocol * class_copyProtocolList ( Class cls, unsigned int *outCount ); 

● class_conformsToProtocol NSObject conformsToProtocol: ● class_copyProtocolList free() 

(version) 

//
int class_getVersion ( Class cls ); 

//
void class_setVersion ( Class cls, int version ); 


runtime CoreFoundation tool-free bridging Class objc_getFutureClass ( const char *name ); 

void objc_setFutureClass ( Class cls, const char *name );

               

(Example) 

//-----------------------------------------------------------

// MyClass.h

@interface MyClass : NSObject <NSCopying, NSCoding>

@property (nonatomic, strong) NSArray *array;

@property (nonatomic, copy) NSString *string;

- (void)method1;

- (void)method2;

+ (void)classMethod1;

@end 

//-----------------------------------------------------------

// MyClass.m

#import "MyClass.h"

@interface MyClass () {

    NSInteger       _instance1;

    NSString    *   _instance2;

}

@property (nonatomic, assign) NSUInteger integer;

- (void)method3WithArg1:(NSInteger)arg1 arg2:(NSString *)arg2;

@end

@implementation MyClass

+ (void)classMethod1 {

}

- (void)method1 {

    NSLog(@"call method method1");

}

- (void)method2 {

}

- (void)method3WithArg1:(NSInteger)arg1 arg2:(NSString *)arg2 {

    NSLog(@"arg1 : %ld, arg2 : %@", arg1, arg2);

}

@end 

//-----------------------------------------------------------

// main.h

#import "MyClass.h"

#import "MySubClass.h"

#import <objc/runtime.h>

int main(int argc, const char * argv[]) {

    @autoreleasepool {

        MyClass *myClass = [[MyClass alloc] init];

        unsigned int outCount = 0;

        Class cls = myClass.class;

//
NSLog(@"class name: %s", class_getName(cls)); 

        NSLog(@"==========================================================");

//
NSLog(@"super class name: %s", class_getName(class_getSuperclass(cls))); NSLog(@"=========================================================="); 

//
NSLog(@"MyClass is %@ a meta-class", (class_isMetaClass(cls) ? @"" : @"not")); NSLog(@"=========================================================="); 

        Class meta_class = objc_getMetaClass(class_getName(cls));

        NSLog(@"%s's meta-class is %s", class_getName(cls), class_getName(meta_class));

        NSLog(@"==========================================================");

//
NSLog(@"instance size: %zu", class_getInstanceSize(cls)); NSLog(@"=========================================================="); 

//
Ivar *ivars = class_copyIvarList(cls, &outCount); for (int i = 0; i < outCount; i++) { 

            Ivar ivar = ivars[i];

            NSLog(@"instance variable's name: %s at index: %d", ivar_getName(ivar), i);

        }

        free(ivars);

        Ivar string = class_getInstanceVariable(cls, "_string");

        if (string != NULL) {

            NSLog(@"instace variable %s", ivar_getName(string));

        }

        NSLog(@"==========================================================");

//
objc_property_t * properties = class_copyPropertyList(cls, &outCount); for (int i = 0; i < outCount; i++) { 

            objc_property_t property = properties[i];

            NSLog(@"property's name: %s", property_getName(property));

        }

        free(properties);

        objc_property_t array = class_getProperty(cls, "array");

        if (array != NULL) {

            NSLog(@"property %s", property_getName(array));

        }

        NSLog(@"==========================================================");

//
Method *methods = class_copyMethodList(cls, &outCount); for (int i = 0; i < outCount; i++) { 

            Method method = methods[i];

            NSLog(@"method's signature: %s", method_getName(method));

        }

        free(methods);

        Method method1 = class_getInstanceMethod(cls, @selector(method1));

        if (method1 != NULL) {

            NSLog(@"method %s", method_getName(method1));

        }

        Method classMethod = class_getClassMethod(cls, @selector(classMethod1));

        if (classMethod != NULL) {

            NSLog(@"class method : %s", method_getName(classMethod));

        }

        NSLog(@"MyClass is%@ responsd to selector: method3WithArg1:arg2:", class_respondsToSelector(cls, @selector(method3WithArg1:arg2:)) ? @

        IMP imp = class_getMethodImplementation(cls, @selector(method1));

        imp();

        NSLog(@"==========================================================");

//
Protocol * __unsafe_unretained * protocols = class_copyProtocolList(cls, &outCount); Protocol * protocol;
for (int i = 0; i < outCount; i++) { 

            protocol = protocols[i];

            NSLog(@"protocol name: %s", protocol_getName(protocol));

        }

        NSLog(@"MyClass is%@ responsed to protocol %s", class_conformsToProtocol(cls, protocol) ? @"" : @" not", protocol_getName(protocol));

        NSLog(@"==========================================================");

    }

return 0; } 


2014-10-22 19:41:37.452 RuntimeTest[3189:156810] class name: MyClass

2014-10-22 19:41:37.453 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.454 RuntimeTest[3189:156810] super class name: NSObject

2014-10-22 19:41:37.454 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.454 RuntimeTest[3189:156810] MyClass is not a meta-class

2014-10-22 19:41:37.454 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.454 RuntimeTest[3189:156810] MyClass's meta-class is MyClass

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] instance size: 48

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] instance variable's name: _instance1 at index: 0

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] instance variable's name: _instance2 at index: 1

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] instance variable's name: _array at index: 2

2014-10-22 19:41:37.455 RuntimeTest[3189:156810] instance variable's name: _string at index: 3

2014-10-22 19:41:37.463 RuntimeTest[3189:156810] instance variable's name: _integer at index: 4

2014-10-22 19:41:37.463 RuntimeTest[3189:156810] instace variable _string

2014-10-22 19:41:37.463 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.463 RuntimeTest[3189:156810] property's name: array

2014-10-22 19:41:37.463 RuntimeTest[3189:156810] property's name: string

2014-10-22 19:41:37.464 RuntimeTest[3189:156810] property's name: integer

2014-10-22 19:41:37.464 RuntimeTest[3189:156810] property array

2014-10-22 19:41:37.464 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.464 RuntimeTest[3189:156810] method's signature: method1

2014-10-22 19:41:37.464 RuntimeTest[3189:156810] method's signature: method2

2014-10-22 19:41:37.464 RuntimeTest[3189:156810] method's signature: method3WithArg1:arg2:

2014-10-22 19:41:37.465 RuntimeTest[3189:156810] method's signature: integer

2014-10-22 19:41:37.465 RuntimeTest[3189:156810] method's signature: setInteger:

" 

2014-10-22 19:41:37.465 RuntimeTest[3189:156810] method's signature: array

2014-10-22 19:41:37.465 RuntimeTest[3189:156810] method's signature: string

2014-10-22 19:41:37.465 RuntimeTest[3189:156810] method's signature: setString:

2014-10-22 19:41:37.465 RuntimeTest[3189:156810] method's signature: setArray:

2014-10-22 19:41:37.466 RuntimeTest[3189:156810] method's signature: .cxx_destruct

2014-10-22 19:41:37.466 RuntimeTest[3189:156810] method method1

2014-10-22 19:41:37.466 RuntimeTest[3189:156810] class method : classMethod1

2014-10-22 19:41:37.466 RuntimeTest[3189:156810] MyClass is responsd to selector: method3WithArg1:arg2:

2014-10-22 19:41:37.467 RuntimeTest[3189:156810] call method method1

2014-10-22 19:41:37.467 RuntimeTest[3189:156810] ==========================================================

2014-10-22 19:41:37.467 RuntimeTest[3189:156810] protocol name: NSCopying

2014-10-22 19:41:37.467 RuntimeTest[3189:156810] protocol name: NSCoding

2014-10-22 19:41:37.467 RuntimeTest[3189:156810] MyClass is responsed to protocol NSCoding

2014-10-22 19:41:37.468 RuntimeTest[3189:156810] ==========================================================


runtime 


               

//
Class objc_allocateClassPair ( Class superclass, const char *name, size_t extraBytes ); 

//
void objc_disposeClassPair ( Class cls ); 

// objc_allocateClassPair void objc_registerClassPair ( Class cls ); 

● objc_allocateClassPair superclass Nil extraBytes 0 ivars 

objc_allocateClassPair class_addMethod class_addIvar objc_registerClassPair 

● objc_disposeClassPair 

                                             

Class cls = objc_allocateClassPair(MyClass.class, "MySubClass", 0);

class_addMethod(cls, @selector(submethod1), (IMP)imp_submethod1, "v@:");

class_replaceMethod(cls, @selector(method1), (IMP)imp_submethod1, "v@:");

class_addIvar(cls, "_ivar1", sizeof(NSString *), log(sizeof(NSString *)), "i");

objc_property_attribute_t type = {"T", "@\"NSString\""};

objc_property_attribute_t ownership = { "C", "" };

objc_property_attribute_t backingivar = { "V", "_ivar1"};

objc_property_attribute_t attrs[] = {type, ownership, backingivar};

class_addProperty(cls, "property2", attrs, 3);

objc_registerClassPair(cls);

id instance = [[cls alloc] init];

[instance performSelector:@selector(submethod1)];

[instance performSelector:@selector(method1)];


2014-10-23 11:35:31.006 RuntimeTest[3800:66152] run sub method 1

2014-10-23 11:35:31.006 RuntimeTest[3800:66152] run sub method 1


            

//
id class_createInstance ( Class cls, size_t extraBytes ); 

//
id objc_constructInstance ( Class cls, void *bytes ); 

//
void * objc_destructInstance ( id obj ); 

● class_createInstance extraBytes ARC 

class_createInstance +alloc class_createInstance NSString 

id theObject = class_createInstance(NSString.class, sizeof(unsigned));

id str1 = [theObject init];

NSLog(@"%@", [str1 class]);

id str2 = [[NSString alloc] initWithString:@"test"];

NSLog(@"%@", [str2 class]);


2014-10-23 12:46:50.781 RuntimeTest[4039:89088] NSString

2014-10-23 12:46:50.781 RuntimeTest[4039:89088] __NSCFConstantString

class_createInstance NSString __NSCFConstantString ● objc_constructInstance (bytes) ● objc_destructInstance 


                                                                   

              

1. // 

id object_copy ( id obj, size_t size );

//
id object_dispose ( id obj ); 

A B B A B A A B B B A 

NSObject *a = [[NSObject alloc] init];

id newB = object_copy(a, class_getInstanceSize(MyClass.class));

object_setClass(newB, MyClass.class);

object_dispose(a);

2. // 

Ivar object_setInstanceVariable ( id obj, const char *name, void *value );

//
Ivar object_getInstanceVariable ( id obj, const char *name, void **outValue ); 

// void * object_getIndexedIvars ( id obj ); 

//
id object_getIvar ( id obj, Ivar ivar ); 

//
void object_setIvar ( id obj, Ivar ivar, id value ); 

Ivar object_getIvar object_getInstanceVariable object_setIvar object_setInstanceVariable 3. 

//
const char * object_getClassName ( id obj ); 

//
Class object_getClass ( id obj ); 


解除 Run-Time Check Failure #2 Run-Time Check Failure #2 - Stack around the variable var was corrupted摘要:简介VC++.NET编译新功能,运行时错误检查,编译选项 (/RTC1, equiv. to /RTCsu)最近把一个别人早期在VC 6下编写的一个服务移植到VC 7.1 (.NET 2003)时,突然跳出好些运行时错误提示。经过查询编译器 阅读详情

相关推荐

【技能】 run -time error"429"

引言         这段时间在学习UML,刚开始接触这个,看的是关于UML的视频,看视频当然是要用到播放了,用的是VGAPlayer播放器,之前看着一直没事,播放也很顺利,在快要看完的时候出现了一个问题,下面我们来说一下这个问题以及相应的解决方法。 问题 在我刚要想去看会视频,学习的时候问题就来了,一运行就提示”Run-time error '429' ActiveX componne

随心而作 3869

运行时错误 '-2147467259 (80004005)'

运行时错误 -2147467259 (80004005)方法 getFooterColor 作用于对象 IFPLayoutRegion 时失败遇到这样的错误主要是因为在 VBA 访问布局表格时,没有启用表尾。解决方法:在布局表格设置中启用表尾。注:同样的错误和解决方法也适用于表首。

FrontGoggle 1万+

UVM—什么时候用run_phase ,什么时候用run-time phase

/ 持续监控,与阶段并行。// 不实现 run_phase → UVM 执行空的默认 run_phase。// 阶段1:保持 run_phase,逐步添加 run-time phase。// 阶段2:移除 run_phase,完全使用 run-time phase。// 只实现 run-time phase,不实现 run_phase。// 主业务逻辑(原 run_phase 内容迁移至此)// 推荐:对新项目统一使用 run-time phase。// 不实现 run_phase,让它空运行。

weixin_44700185的博客 560

vba mysql 80004005,VBA运行时错误'-2147467259(80004005)

I am trying to connect to mysql using Excel VBA, I am using Excel 2013. I am new to VB, so i followed this example: Inserting Data Into MySQL From Excel Using VBAHere is my connection code:Private Sub...

weixin_26795171的博客 4976

Win 11 Fastboot驱动的详细安装教程

Fastboot驱动的详细安装教程

水w的博客 1万+

手把手教你用CODESYS将旧笔记本改造成软PLC(含证书配置避坑指南)

本文提供了一份详尽的指南,教你如何利用CODESYS平台将闲置旧笔记本改造为一台功能完整的软PLC。内容涵盖从硬件评估、系统实时性优化、软件安装与驱动配置,到关键的证书授权管理避坑指南,旨在帮助自动化工程师和爱好者低成本搭建稳定可靠的学习与开发平台。

weixin_29190573的博客 279

在英文操作系统下提示:Run Time error'-2147467259(80004005) '的一种解决办法

我用的是access数据库。 在中文环境下运行毫无问题,但是等到了给老外装上去后,显示Run Time error-2147467259(80004005) .后来我试着将数据库全部改成英文的,仍然有这个问题,后来我在工具------>选项------->常规中将新建数据库排序次序改为常规后就可以了。

yanhuaju9的专栏 1万+

从零开始搭建水质监测系统:STM32+Lora+4G的物联网应用详解

本文详细介绍了如何从零开始搭建一个基于STM32、LoRa和4G技术的工业级水质监测物联网系统。文章深入剖析了系统架构设计、核心硬件选型(如STM32F103系列MCU)、关键电路接口、嵌入式软件驱动开发、多任务调度以及云端数据集成与可视化的完整实战流程,为智慧农业、环境监测等领域的物联网应用提供了宝贵的“避坑指南”和解决方案。

m0n1o2p的博客 583

实时错误‘-2147467259(80004005)‘: [Microsoft][ODBC 驱动程序管理器]未发现数据源名称并且未指定默认驱动程序

问题1:实时错误'-2147467259(80004005)': [Microsoft][ODBC 驱动程序管理器]未发现数据源名称并且未指定默认驱动程序   解决方法1:①找到"C:\windows\SysWOW64\odbcad32.exe”双击【运行】(这是针对64位Win7系统) ②在“ODBC数据源管理器”中选择菜单项【用户DSN】直接【添加】,之后找到"Microsoft Ac

脚步不停,信念不息! 4万+

Colab虚拟环境配置全攻略:从安装到实战应用

本文详细介绍了在Google Colab中配置Python虚拟环境的完整流程与实战技巧。通过安装Anaconda、创建独立环境、解决常见错误及结合深度学习项目应用,帮助用户有效管理依赖、避免冲突,并利用环境持久化策略提升在Colab中的开发效率与项目可复现性。

weixin_29204121的博客 341

PSIM+PIL+CCS三剑客:手把手教你搞定DSP28335的软硬件联合调试

本文详细介绍了如何利用PSIM、PIL与CCS三款工具,实现DSP28335的软硬件联合调试。通过搭建兼容环境、从PSIM仿真生成PIL代码,再到实战联合调试与问题诊断,手把手指导开发者构建从虚拟模型到实际硬件的完整验证闭环,有效提升电力电子与电机驱动等领域的开发效率与可靠性。

weixin_29183637的博客 186

Rose2003运行出现 -2147417848 (80010108)':Automation 错误

上篇博客在结尾的时候,我提到了Ration Rose2003运行出现“-2147417848 (80010108)':Automation错误”的问题。今天这篇博客就来介绍一下如何将这个问题规避掉。     其实我们使用的Ration Rose破解版的。何为破解版?就是原软件是需要注册收费的,不注册的话只能试用一段时间,而且有的软件的试用版会限制某些功能,有些还要在启动时等上一会儿,而破解版的就

不忘初心 4105

Power BI应用案例:淘宝用户行为分析实战

一、案例背景 基于千万级的淘宝用户的使用记录,对淘宝用户的行为进行分析,具体指标包括:日PV、日UV、小时PV、小时UV、不同用户行为的PV、用户购买次数分布、用户购买频次分布、活跃用户消费情况等。通过本案例,可以基本看看Power BI都能分析达到怎么样的效果。 二、数据来源及结构 阿里天池官方发布的1万用户在2014年双十二期间的行为记录,数据量达1200万+。 数据下载地址:...

灰哥数据智能的专栏 1万+

CCS build options中Run-Time Autoinitialization和Load-Time Initialization

    在用纯汇编编制的dsp程序时需要做如图所示的调整,这是因为:    在CCS的build options中的linker选项卡中,Autoinit Model有两个选项:Run-Time Autoinitialization和Load-Time Initialization。     因为这两个选项和.cinit和.bss Section有关,所以先简单的介绍一下这两个sectio...

EE漫谈 3414

ABAQUS中CDP模型在钢筋混凝土节点低周反复荷载模拟的关键技术解析

本文深入解析了ABAQUS中CDP模型在钢筋混凝土节点低周反复荷载模拟中的关键技术。通过详细介绍CDP模型的核心价值、建模关键技术、滞回曲线优化方法及典型问题排查指南,帮助工程师精准模拟混凝土的拉伸开裂和压缩压碎行为,提升抗震分析效率。文章还提供了实用的工程应用技巧,如快速建模模板和后处理自动化脚本。

weixin_30555125的博客 525

【专栏导引贴】100+智能优化算法:从背景原理到代码实战(持续更新)

本专栏系统整理100+种现代优化算法,涵盖粒子群优化(PSO)、遗传算法(GA)、鲸鱼优化(WOA)等经典方法,以及白鲸优化(BWO)、非洲秃鹫优化(AVOA)等新兴算法。每篇详解包含生物启发原理、数学模型、代码实现及工程应用,采用统一编程风格,提供可直接运行的实例代码。专栏持续更新,旨在为研究者提供系统化的智能优化算法参考资料,实现从理论到实践的完整知识链。目前已收录23种算法,包括蚁群系统(ACS)、蝙蝠算法(BA)、天牛须搜索(BAS)等自然启发式优化方法。

qq_42212808的博客 3654

manage run-time environment

1. MDK5 Manage Run-time Enviroment 使用-OpenEdv-开源电子网 2.MDK5(Keil for ARM) 工程建立时遇到的问题集锦_YunLan天地间-优快云博客 3.mdk5.21 版本 是否使用Manage Run-Time Environment功能就可以不需要自己添加相关的启动文件呢?_百度知道 (baidu.com) ...

momodenglu的博客 6285

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

LR11_RUN-TIME SETTINGS配置解读

LR11中RUN-TIME SETTINGS重要配置解读 1、配置入口:右键选中任意一个ACtions 2、Run Logic配置说明 PS: LR12还多一个脚本执行策略的配置,多个ACTION时是顺序执行,还是随机执行 3、Pacing配置说明 4、Log配置说明: 5、think time配置说明 6、Additional attributes 配置说明(基本没用) 7、Miscellaneous配置说明(其他配置) 8、浏览器的一些配置: 9、网络带宽的一些配置,默认最大即可 1

weixin_50640351的博客 370

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

Run-time和Load-time初始化

  Run-time和load-time初始化在CCS的build options中的linker选项卡中,Autoinit Model有两个选项:Run-Time Autoinitialization和Load-Time Initialization。本文简单介绍一下这两个选项的区别和用法。因为这两个选项和.cinit和.bss Secti

wethty的专栏 1266

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

Run-Time Check Failure # 2

今天写了个程序,运行时总是报告Run-Time Check Failure # 2 错误。找了半天,不知道那里错了。上网goggle,很多人说是堆栈指针被破坏,仔细仔细的检查了2 3便,先是确定了出问题的函数,最后终于找到出问题的代码了了。    memset(by, 0, sizeof(int)* ARRAY_NUMBER);呵呵,晕死 by被我定义为BYTE类型了,用int用习惯了,呵呵。 

眼界决定世界 奋斗成就梦想 1962

Run-time error '339'

Run-time error ‘339’: Component ‘MSDATGRD.OCX’ or one of its dependencies not correctly registered: a file is missing or invalid 当你运行某.exe文件遇到上面类似的问题时,可以先试一下以管理员身份运行。 ...

qq_37747797的博客 4517

Run-Time Check Failure #3

Run-Time Check Failure #3int *awhile (a==null){}结果a没有初始化,解决反复:在while前面加一个a=NULL

jacke121的专栏 4568

Run-Time Check Failure #2分析

Run-Time Check Failure #2 一般是栈被破坏,代码可能有缓冲区溢出一类的问题。Run-Time Check Failure #2 - Stack around the variable 's' was corruptedThis problem is caused when you try to write too much data to a par...

287

Run-time error'339'

Run-time error'339': Component 'RESIZE32.OXC' or one of its dependencies not correctly registered: a file is missing or invalid 今天从一台win XP 电脑上拷了个软件下来,因为实在是找不到这个软件下载了。 软件叫:rheometer.exe,上海科创流变仪控制

小小黑路客 3729
上一篇: XML sax 解析
JrkIsBeautiful
博客等级 码龄10年 0粉丝 2原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值