execute the entire function.It takes 300000 milliseconds for int to take the whole function to execute 164 times.It takes 300000 milliseconds for the left displacement to take the whole function to execute 138 times.It takes 300000 milliseconds for the right displacement to take the whole function to execute 127 times.It takes 300000 ms to execute the entire function for 126 times.---------- Efficiency test ended ----------
---------- Efficiency test
The project we are doing this semester is the commodity and employee management system (tea industry management platform)Team GitHub Address:Https://github.com/LinWenFengTeam Blog Address: http://www.cnblogs.com/LwF39/Project Access URL:http://160q49b998.51mypc.cn/(Note: All user passwords are 123456, the school will not be able to access the network when disconnected)
Sprint3
119 Lin Wenfeng
29
105 Luki
20
124 Chen Yan
Regular Expression for mobile phone number and license plate number in Android, and regular expression for android
Mobile phone number
The description of the number segment of the mobile phone number is reproduced from: Regular Expression of the domestic mobile phone number | accumulation of snails
The mobile phone name is GSM:It indicates that only China Unicom or China Mobile 2G segments (130, 131, 132, 134, 135, 136, 137, 138, 139, 145, 147, 150
/
This trigger writes the SID and IP address of a session into the v $ session when a user logs on (that is, when a session is generated;
2) After the creation is successful, open a new session on the remote client and query the client_info field information of the v $ session type.
C: \ Users \ ballontt> sqlplussystem/oracle @ ballontt
SQL> select userenv ('sid ') from dual;
USERENV ('sid ')
--------------------
138
SQL gt; select sid, client_info
they can operate on the right machine. I prefer to call them real IP addresses.Through the above explanation, it is hard to understand that, as a DBA, When configuring tnsnames. ora, vip is used in some cases, while public IP must be used in some cases.For example, when you locate a database deadlock and use a public ip address, you can ensure that you are connected to the machine you want to handle. On the contrary, when using a virtual ip address, there will be uncertainty, because Server Loa
Combine the four digits in the middle of the phone number into a Number * and four digits into a number.
MySql APIs have functions:
INSERT (str, pos, len, newstr)
Returns the str string. Its substring starts from the pos position and is long replaced by the string newstr. If the pos length exceeds the string length, the return value is the original string. If len is longer than other strings, it is replaced by pos. If any parameter is null, the return value is NULL.
Mysql> select in
. perform the following tests:1. Run the netstat command to check whether DNS works on UDP port 53.Run the netstat command to check whether port 53 is Enabled: Start-> Run-> cmd.exe and enter netstat-an-p udp as follows:C: \ Documents ents and Settings \ Administrator> netstat-an-P UDPActive connectionsPROTO local address foreign address StateUDP 0.0.0.0: 445 *:*UDP 0.0.0.0: 1434 *:*UDP 0.0.0.0: 3456 *:*UDP 127.0.0.1: 1046 *:*UDP 127.0.0.1: 1047 *:*UDP 127.0.0.1: 1082 *:*UDP 192.168.1.158: 9 *:*
pettern matching rule, the match and search methods return the same result.
At this point, if you change the pattern
Pattern=re.compile (R ' is (. *?). *)
Match returns none,search with the result:
Is smarter than dogsSmarter
Next we understand the use of other methods
str = "138-9592-5592 # number" Pattern=re.compile (R ' #.*$ ') number=re.sub (Pattern, ", str) print (number)
The result is:
138-9592-5
R
G
B
Value
R
G
B
Value
R
G
B
Value
Black
0
0
0
#000000
Yellow
255
255
0
#FFFF00
Light gray Blue
176
224
230
#B0E0E6
Ivory Black
41
36
33
#292421
Banana Color
227
207
87
#E3CF57
Royal blue
65
105
225
#4169E1
Grey
192
192
192
#C0C0C
per province, mobile, Unicom, telecommunications), to determine which one of the number belongs to which of the province's users, I have to cycle the match it?
This is why!!!
Yes, that should be the case.
Directly call Jiangsu Telecom to provide a database of their Jiangsu mobile phone number segment, and there are few number segments.
Last night on the internet to get such a thing: the National mobile phone number section of a total of 210,000 records take this to match also almost can mee
Mobile phone name has GSM: said only support China Unicom or mobile 2G segment (130, 131, 132, 134, 135, 136, 137, 138, 139, 145, 147, 150, 151, 152, 155, 156, 157, 158, 159, 182, 185, 186, 187, 188)Mobile phone name CDMA: only support China Telecom 2G (133, 153, 180, 181, 189)mobile phone name has WCDMA/GSM: support China Unicom or mobile 2G, and China Unicom 3G segment (130, 131, 132, 134, 135, 136, 137, 138
decimal number is: 44→ Add 1 to get: 45→ Convert it to a negative number and get:-45.
| Bitwise OR operator
Assume that the Decimal Numbers 38 and 53 are bitwise OR calculated.→After calculation, the Binary Expression of the decimal number 38 is 00100110, And the Binary Expression of the decimal number 538 is 00110101.→For | bitwise OR operator, if one of the two binary numbers is 1, the result is 1.→ Convert the obtained 00110111 to decimal: 55
If C # is used:
byte result = 38 | 53;
B
R
G
B
Value
R
G
B
Value
R
G
B
Value
Black
0
0
0
#000000
Yellow
255
255
0
#FFFF00
Light gray Blue
176
224
230
#B0E0E6
Ivory Black
41
36
33
#292421
Banana Color
227
207
87
#E3CF57
Royal blue
65
105
225
#4169E1
Grey
192
192
192
#C0C0C
, the mobile system files are generally stored on the ROM, so that the general user can not modify. Brush machine, also known as Brush ROM, is to use special means to modify the phone ROM. In the era of smartphones, many enthusiasts have been brushing their machines for more complete functionality and a more comfortable user experience.Mobile network standard Common sense:Mobile phone name has GSM: said only support China Unicom or mobile 2G segment (130, 131, 132, 134, 135, 136, 137,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.