context学习 context的struct设计 go type Context interface { Deadline() (deadline time.Time, ok bool) Done() ...
分类:
其他好文 时间:
2019-09-28 01:09:00
阅读次数:
84
#import <WebViewJavascriptBridge.h> /// @interface ZWBridgeViewController ()<WKNavigationDelegate, WKUIDelegate, UIGestureRecognizerDelegate> @propert ...
分类:
移动开发 时间:
2019-09-27 23:24:16
阅读次数:
212
关于什么是好代码,软件行业烂大街的名词一大堆,什么高内聚、低耦合、可复用、可扩展、健壮性等等。也有所谓设计6原则—SOLID: 即Single Responsibility (单一职责),Open Close(开闭),Liskov Substitution(里氏替换),Interface Segre ...
分类:
其他好文 时间:
2019-09-27 22:50:20
阅读次数:
132
概要 学习一种新语言, 数据类型和关键字是第一步. 数据类型 常用的数据类型如下: | 类型 | 存储空间 | 范围 | | | | | | Boolean | 2 bytes | True 或者 False | | Byte | 1 byte | 0 ~ 255 | | Integer | 2 b ...
分类:
编程语言 时间:
2019-09-27 14:56:21
阅读次数:
93
前言 在Block design中引出AXI接口给外部,检查设计告警如下: [BD 41-968] AXI interface port /axi_lite4 is not associated to any clock port. It may not work correctly. Please ...
分类:
其他好文 时间:
2019-09-27 11:07:56
阅读次数:
124
原文转至:https://dzone.com/articles/what-servlet-container In this post, I write a little bit about the basic ideas of web server, Servlet container and i ...
分类:
其他好文 时间:
2019-09-27 10:45:11
阅读次数:
87
导论 wsgi 全称web server gateway interface,wsgi不是服务器,也不是python模块,只是一种协议,描述web server如何和web application通信的规则。运行在wsgi上的web框架有bottle,flask,django uwsgi 和wsgi ...
分类:
其他好文 时间:
2019-09-26 21:40:41
阅读次数:
105
13.7 Map接口 13.7.1 Map接口简介 Collection、Set、List接口都属于单值的操作,即每次只能操作一个对象。 Map每次操作的是一对对象,即二元偶对象,Map中的每个元素都使用 key >value 的形式存储在集合中 Map接口的定义: public interface ...
分类:
其他好文 时间:
2019-09-26 21:11:25
阅读次数:
61
queue接口特点:可以模拟队列行为,即“先进先出”。接口结构queue接口继承了Collection接口,并增加了一些新方法12345678910111213141516public interface extends Collection{ boolean add(E e); //将元素插入队列... ...
分类:
编程语言 时间:
2019-09-26 09:27:00
阅读次数:
86
定义: 官方定义:wsgi是Web服务器网关接口(Python Web Server Gateway Interface,缩写为WSGI)是为Python语言定义的Web服务器和Web应用程序或框架之间的一种简单而通用的接口。 大白话:wsgi就是一种规范,它定义了使用web应用程序与Python编 ...
分类:
其他好文 时间:
2019-09-25 22:38:56
阅读次数:
118