关于Operate="IN"

本文讨论了不同PageType下控件序列化的处理方式。当PageType为FrameWork时,不会进行序列化;而SideBar类型则会进行序列化,并需要在PageLoad()中通过PopulateControlsFromSerializedPage()方法完成反序列化。

Operate="IN"的控件中Multi查询时:

 

PageType="FrameWork"时不会将页面控件序列化

PageType="SideBar"时会将空间序列化,故在PageLoad()中要加上反序列化PopulateControlsFromSerializedPage()给控件赋值的操作

^C==6398== ==6398== Process terminating with default action of signal 2 (SIGINT) ==6398== at 0x4E46D2D: __pthread_timedjoin_ex (pthread_join_common.c:89) ==6398== by 0x10D2D2: main (test_server.c:481) ==6398== ==6398== HEAP SUMMARY: ==6398== in use at exit: 1,368 bytes in 7 blocks ==6398== total heap usage: 51 allocs, 44 frees, 10,144 bytes allocated ==6398== ==6398== Thread 1: ==6398== 16 bytes in 1 blocks are still reachable in loss record 1 of 7 ==6398== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x10EC97: graph_init (graph_operate.c:28) ==6398== by 0x10D0E9: main (test_server.c:432) ==6398== ==6398== 64 bytes in 1 blocks are still reachable in loss record 2 of 7 ==6398== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x10F7D5: graph_add_node (graph_operate.c:69) ==6398== by 0x10A7C0: handle_client (test_server.c:147) ==6398== by 0x10B544: main_loop_thread (test_server.c:296) ==6398== by 0x4E456DA: start_thread (pthread_create.c:463) ==6398== by 0x538761E: clone (clone.S:95) ==6398== ==6398== 96 bytes in 1 blocks are still reachable in loss record 3 of 7 ==6398== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x10F3A5: graph_add_node (graph_operate.c:61) ==6398== by 0x10A7FF: handle_client (test_server.c:149) ==6398== by 0x10B544: main_loop_thread (test_server.c:296) ==6398== by 0x4E456DA: start_thread (pthread_create.c:463) ==6398== by 0x538761E: clone (clone.S:95) ==6398== ==6398== 136 bytes in 1 blocks are definitely lost in loss record 4 of 7 ==6398== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x1098F8: handle_client (test_server.c:101) ==6398== by 0x10B544: main_loop_thread (test_server.c:296) ==6398== by 0x4E456DA: start_thread (pthread_create.c:463) ==6398== by 0x538761E: clone (clone.S:95) ==6398== ==6398== 272 bytes in 1 blocks are possibly lost in loss record 5 of 7 ==6398== at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x4013646: allocate_dtv (dl-tls.c:286) ==6398== by 0x4013646: _dl_allocate_tls (dl-tls.c:530) ==6398== by 0x4E46227: allocate_stack (allocatestack.c:627) ==6398== by 0x4E46227: pthread_create@@GLIBC_2.2.5 (pthread_create.c:644) ==6398== by 0x10D2A4: main (test_server.c:478) ==6398== ==6398== 272 bytes in 1 blocks are possibly lost in loss record 6 of 7 ==6398== at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x4013646: allocate_dtv (dl-tls.c:286) ==6398== by 0x4013646: _dl_allocate_tls (dl-tls.c:530) ==6398== by 0x4E46227: allocate_stack (allocatestack.c:627) ==6398== by 0x4E46227: pthread_create@@GLIBC_2.2.5 (pthread_create.c:644) ==6398== by 0x10D2C1: main (test_server.c:479) ==6398== ==6398== 512 bytes in 1 blocks are still reachable in loss record 7 of 7 ==6398== at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==6398== by 0x10F865: graph_add_node (graph_operate.c:69) ==6398== by 0x10A7C0: handle_client (test_server.c:147) ==6398== by 0x10B544: main_loop_thread (test_server.c:296) ==6398== by 0x4E456DA: start_thread (pthread_create.c:463) ==6398== by 0x538761E: clone (clone.S:95) ==6398== ==6398== LEAK SUMMARY: ==6398== definitely lost: 136 bytes in 1 blocks ==6398== indirectly lost: 0 bytes in 0 blocks ==6398== possibly lost: 544 bytes in 2 blocks ==6398== still reachable: 688 bytes in 4 blocks ==6398== suppressed: 0 bytes in 0 blocks ==6398== ==6398== For counts of detected and suppressed errors, rerun with: -v ==6398== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
09-30
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值