码迷,mamicode.com
首页 >  
搜索关键字:float overflow clearfix    ( 16736个结果)
print,printf,println的区别,以及\r,\n,\r\n的区别
1.常用的是println,就是换行输出 2.print,不换行输出 3.printf常使用于格式转化 public class Print { public static void main(String[] args) { int a = 3,b=4; float c = 2.3564f; Sy ...
分类:其他好文   时间:2020-09-17 23:21:53    阅读次数:23
python3运算: / 和 //
关于 / 和 // 以及 : 1 a=input("a=") 2 b=input("b=") 3 print(a//b) 报错,因为python输入默认为str,所以要进行简单的修改: 1 a=int(input("a=")) 2 b=int(input("b=")) 3 print(a//b) 这 ...
分类:编程语言   时间:2020-09-17 22:01:04    阅读次数:26
Netty:一、网络编程
BIO通信模型图 缺点:缺乏弹性伸缩能力,线程是非常宝贵的资源,为每个请求创建、销毁线程会在请求数膨胀时出现性能问题,甚至堆栈溢出、创建线程失败,最终导致进程宕机。 改进用线程池 NIO的关键概念 缓冲区Buffer ByteBuffer(最常用) CharBuffer ShortBuffer In ...
分类:Web程序   时间:2020-09-17 21:06:34    阅读次数:48
清除浮动的方法
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>test</title> <style> div.items { float: left; width: 100px; height: 100px; background-colo ...
分类:其他好文   时间:2020-09-17 19:31:30    阅读次数:27
文字滚动特效
<style> #Marquee{ height:20px;overflow:hidden; display:inline-block;-webkit-box-flex: 1;-webkit-flex: 1;flex: 1; } #Marquee p{ height:20px;overflow:hi ...
分类:其他好文   时间:2020-09-17 15:40:22    阅读次数:33
stm32串口通讯
stm32串口通信: bsp_usart.c 配置中断优先级 static void NVIC_Configuration(void) { NVIC_InitTypeDef NVIC_InitStructure; NVIC_PriorityGroupConfig(NVIC_PriorityGroup ...
分类:其他好文   时间:2020-09-17 12:55:39    阅读次数:35
hystrix time out
一般使用 hystrix.Do来跟踪请求,需要传入请求名,所以正则匹配一下想要自定义配置的请求名。然后这样: 这是go-hystrix下doc.go里面的内容,vender源码到项目的好处之一是可以轻松查看框架资料! Synchronous API Since calling a command a ...
分类:其他好文   时间:2020-09-17 12:21:19    阅读次数:26
java系列==1、java常见问题
1. Java中的原始数据类型都有哪些,它们的大小及对应的封装类是什么? byte —— 1 byte —— Byte short —— 2 bytes —— Short int —— 4 bytes —— Integer long —— 8 bytes —— Long float —— 4 byt ...
分类:编程语言   时间:2020-09-17 12:07:47    阅读次数:25
大屏适配浏览器(更新)
<template> <div class="ms-screen" ref="ms-screen" :style="msScreenStyles"> <div class="wrap" :style="wrapStyles"> <slot /> </div> </div> </template> < ...
分类:其他好文   时间:2020-09-15 21:06:40    阅读次数:53
ES6 数值、数组、对象、函数方法
ES6中数值的用法 Number.isNaN()函数:用于判断传入的是否是非数值 , NaN(非数值),才返回true console.log(Number.isNaN(2.5)); //false console.log(Number.isNaN('abc')); //false console. ...
分类:编程语言   时间:2020-09-15 20:51:15    阅读次数:30
共16736条   上一页 1 ... 31 32 33 34 35 ... 1674 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!