码迷,mamicode.com
首页 >  
搜索关键字:coding    ( 12955个结果
IOS Exception2 this class is not key value coding-compliant for the key Click
2015-06-16 23:00:53.706 MyIOSPackage[823:280049] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefin...
分类:移动开发   时间:2015-06-17 00:35:34    阅读次数:132
FFmpeg的HEVC解码器源代码简单分析:CTU解码(CTU Decode)部分-TU
本文分析FFmpeg的libavcodec中的HEVC解码器的CTU解码(CTU Decode)部分的源代码。FFmpeg的HEVC解码器调用hls_decode_entry()函数完成了Slice解码工作。hls_decode_entry()则调用了hls_coding_quadtree()完成了CTU解码工作。由于CTU解码部分的内容比较多,因此将这一部分内容拆分成两篇文章:一篇文章记录PU的解码,另一篇文章记录TU解码。本文记录TU的解码过程。...
分类:其他好文   时间:2015-06-16 19:20:06    阅读次数:201
python切换网络连接
#coding=GB2312 import os import sys import subprocess import _winreg LOCAL_CONNECT_NAME = '本地连接' WIFI_CONNECT_NAME = '无线网络连接' INTERNET_SETTING_REG = r'Software\Microsoft\Windows\CurrentVersion\Int...
分类:编程语言   时间:2015-06-16 19:17:16    阅读次数:182
又写了一个pyqt4的小工具主要用来学习
部分代码:# -*- coding: utf-8 -*-"""Module implementing PortScan."""from PyQt4.QtCore import pyqtSignaturefrom PyQt4.QtGui import QDialogfrom PyQt4 import ...
分类:其他好文   时间:2015-06-16 16:30:30    阅读次数:95
Pyqt 国际化多语言支持
国际化是指在代码设计上加入能方便的移植到其他国家和地区的特性, 给Pyqt 添加国际化支持需要五步一.编写GUI.py在要被翻译的text上用tr方法括起来# -*- coding: utf-8 -*-from PyQt4 import QtCore, QtGuiclass Mwindow(QtGu...
分类:编程语言   时间:2015-06-16 16:05:38    阅读次数:1738
python 通过logging写入日志到文件和控制台
#!/usr/bin/python #-*-coding:utf-8-*- importlogging #创建一个logger logger=logging.getLogger(‘mytest‘) logger.setLevel(logging.DEBUG) #创建一个handler,用于写入日志文件 fh=logging.FileHandler(‘test.log‘) fh.setLevel(logging.DEBUG) #再创建一个handler,..
分类:编程语言   时间:2015-06-16 11:13:27    阅读次数:148
【selenium】下拉框和弹出框处理
#-*-coding=utf-8from selenium import webdriverimport os,timedriver= webdriver.Firefox()driver.get("http://www.baidu.com")#进入搜索设置页driver.find_element_b...
分类:其他好文   时间:2015-06-16 10:54:09    阅读次数:110
pyqt4生成key工具
部份代码:::# -*- coding: utf-8 -*-"""Module implementing CreateKey."""from PyQt4.QtCore import pyqtSignaturefrom PyQt4.QtGui import QDialogfrom PyQt4 impo...
分类:其他好文   时间:2015-06-16 10:45:39    阅读次数:123
python的Nginx切割脚本
#!/usr/bin/envpython #date:2015-06 #Author:ley #Curthenginx‘saccess_log #-*-coding:UTF-8-*- importos,time path=[‘/var/log/nginx/‘,‘/var/run/nginx/nginx.pid‘,‘access.log‘] time=time.strftime(‘%Y-%m-%d‘) command="cd%s&&/bin/cp%s%s&&/bin/kil..
分类:编程语言   时间:2015-06-16 01:26:05    阅读次数:141
FFmpeg的HEVC解码器源代码简单分析:CTU解码(CTU Decode)部分-PU
本文分析FFmpeg的libavcodec中的HEVC解码器的CTU解码(CTU Decode)部分的源代码。FFmpeg的HEVC解码器调用hls_decode_entry()函数完成了Slice解码工作。hls_decode_entry()则调用了hls_coding_quadtree()完成了CTU解码工作。由于CTU解码部分的内容比较多,因此将这一部分内容拆分成两篇文章:一篇文章记录PU的解码,另一篇文章记录TU...
分类:其他好文   时间:2015-06-15 18:44:20    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!