Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/jdk/java/util/Scanner/input.txt
41149 views
1
# Data for fromFileTest
2
14343441
3
24134342
4
34324233
5
43234234
6
53423425
7
63424326
8
74324337
9
10
11
# Data for usage case 1
12
23.4 Frank 34.8 -9.0
13
2.333 6.75 Joe -2
14
3.3 -888.8 -16.00 Mary
15
Michelle -5 -5.5 -5.555
16
17
18
# Data for usage case 2
19
cat-9-dog-6-pig-2--5-
20
21
22
# Data for usage case 3
23
/**
24
* Returns the next string in the input that matches the specified pattern.
25
* This method may block while waiting for input
26
* to scan, even if a previous invocation of {@link #hasNext(Pattern)}
27
* returned <code>true</code>. If the match is successful, the scanner
28
* advances past the input that matched the pattern.
29
*
30
* @param pattern the pattern to scan for
31
* @return the next token
32
* @throws NoSuchElementException if no more tokens are available
33
* @throws IllegalStateException if this scanner is closed
34
*/
35
36
37
# Data for usage case 4
38
<html>
39
<body bgcolor="#EEEEEE">
40
<title>Source Directory</title>
41
<center><h1>tiger</h1></center>
42
<p>
43
Parent workspace is /java/jdk/1.5/ws/integration/TL/j2se <br>
44
Child workspace is /export/tiger <br>
45
<hr>
46
<code>
47
<p>
48
<a href=make/java/java/mapfile-vers.diff.html>Diffs</a>
49
<a href=make/java/java/mapfile-vers.sdiff.html>Sdiffs</a>
50
<a href=make/java/java/mapfile-vers-.html>Old</a>
51
<a href=make/java/java/mapfile-vers.html>New</a>
52
<b>make/java/java/mapfile-vers</b><p>
53
<ul>
54
<li><a href=http://example.com/cgi-bin/bugtraq_showbug?bugid=4904881>4904881</a>: JVM crash during java.io.File.deleteOnExit()<br>
55
</ul>
56
<p>
57
<a href=src/share/classes/java/lang/Shutdown.java.diff.html>Diffs</a>
58
<a href=src/share/classes/java/lang/Shutdown.java.sdiff.html>Sdiffs</a>
59
<a href=src/share/classes/java/lang/Shutdown.java-.html>Old</a>
60
<a href=src/share/classes/java/lang/Shutdown.java.html>New</a>
61
<b>src/share/classes/java/lang/Shutdown.java</b><p>
62
<ul>
63
<li><a href=http://example.com/cgi-bin/bugtraq_showbug?bugid=4904881>4904881</a>: JVM crash during java.io.File.deleteOnExit()<br>
64
</ul>
65
<p>
66
<a href=src/share/native/java/lang/Shutdown.c.diff.html>Diffs</a>
67
<a href=src/share/native/java/lang/Shutdown.c.sdiff.html>Sdiffs</a>
68
<a href=src/share/native/java/lang/Shutdown.c-.html>Old</a>
69
<a href=src/share/native/java/lang/Shutdown.c.html>New</a>
70
<b>src/share/native/java/lang/Shutdown.c</b><p>
71
<ul>
72
<li><a href=http://example.com/cgi-bin/bugtraq_showbug?bugid=4904881>4904881</a>: JVM crash during java.io.File.deleteOnExit()<br>
73
</ul>
74
</code>
75
<p>
76
</font>
77
</html>
78
79
# Data for usage case 5
80
81
# This is the main Samba configuration file. You should read the
82
# smb.conf(5) manual page in order to understand the options listed
83
# here. Samba has a huge number of configurable options (perhaps too
84
# many!) most of which are not shown in this example
85
#
86
# Any line which starts with a ; (semi-colon) or a # (hash)
87
# is a comment and is ignored. In this example we will use a #
88
# for commentry and a ; for parts of the config file that you
89
# may wish to enable
90
#
91
# NOTE: Whenever you modify this file you should run the command "testparm"
92
# to check that you have not many any basic syntactic errors.
93
#
94
#======================= Global Settings =====================================
95
[global]
96
97
##
98
## Basic Server Settings
99
##
100
101
# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
102
workgroup = MYGROUP
103
104
# server string is the equivalent of the NT Description field
105
server string = Samba Server
106
107
# This option is important for security. It allows you to restrict
108
# connections to machines which are on your local network. The
109
# following example restricts access to two C class networks and
110
# the "loopback" interface. For more examples of the syntax see
111
# the smb.conf man page
112
; hosts allow = 192.168.1. 192.168.2.0./24 192.168.3.0/255.255.255.0 127.0.0.1
113
114
# Uncomment this if you want a guest account, you must add this to /etc/passwd
115
# otherwise the user "nobody" is used
116
; guest account = pcguest
117
118
# this tells Samba to use a separate log file for each machine
119
# that connects
120
log file = /usr/local/samba/var/log.%m
121
122
# How much information do you want to see in the logs?
123
# default is only to log critical messages
124
; log level = 1
125
126
# Put a capping on the size of the log files (in Kb).
127
max log size = 50
128
129
# Security mode. Most people will want user level security. See
130
# security_level.txt for details.
131
security = user
132
133
# Using the following line enables you to customise your configuration
134
# on a per machine basis. The %m gets replaced with the netbios name
135
# of the machine that is connecting.
136
# Note: Consider carefully the location in the configuration file of
137
# this line. The included file is read at that point.
138
; include = /usr/local/samba/lib/smb.conf.%m
139
140
# Most people will find that this option gives better performance.
141
# See speed.txt and the manual pages for details
142
# You may want to add the following on a Linux system:
143
# SO_RCVBUF=8192 SO_SNDBUF=8192
144
; socket options = TCP_NODELAY
145
146
# Configure Samba to use multiple interfaces
147
# If you have multiple network interfaces and want to limit smbd will
148
# use, list the ones desired here. Otherwise smbd & nmbd will bind to all
149
# active interfaces on the system. See the man page for details.
150
; interfaces = 192.168.12.2/24 192.168.13.2/24
151
152
# Should smbd report that it has MS-DFS Capabilities? Only available
153
# if --with-msdfs was passed to ./configure
154
; host msdfs = yes
155
156
##
157
## Network Browsing
158
##
159
# set local master to no if you don't want Samba to become a master
160
# browser on your network. Otherwise the normal election rules apply
161
; local master = no
162
163
# OS Level determines the precedence of this server in master browser
164
# elections. The default value (20) should be reasonable
165
; os level = 20
166
167
# Domain Master specifies Samba to be the Domain Master Browser. This
168
# allows Samba to collate browse lists between subnets. Don't use this
169
# if you already have a Windows NT domain controller doing this job
170
; domain master = yes
171
172
# Preferred Master causes Samba to force a local browser election on startup
173
# and gives it a slightly higher chance of winning the election
174
; preferred master = yes
175
176
177
##
178
## WINS & Name Resolution
179
##
180
# Windows Internet Name Serving Support Section:
181
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
182
; wins support = yes
183
184
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
185
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
186
; wins server = w.x.y.z
187
188
# WINS Proxy - Tells Samba to answer name resolution queries on
189
# behalf of a non WINS capable client, for this to work there must be
190
# at least one WINS Server on the network. The default is NO.
191
; wins proxy = yes
192
193
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
194
# via DNS nslookups.
195
dns proxy = no
196
197
198
##
199
## Passwords & Authentication
200
##
201
# Use password server option only with security = server
202
# The argument list may include:
203
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
204
# or to auto-locate the domain controller/s
205
; password server = *
206
; password server = <NT-Server-Name>
207
208
# You may wish to use password encryption. Please read
209
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
210
# Do not enable this option unless you have read those documents
211
; encrypt passwords = yes
212
213
# Should smbd obey the session and account lines in /etc/pam.d/samba ?
214
# only available if --with-pam was used at compile time
215
; obey pam restrictions = yes
216
217
# When using encrypted passwords, Samba can synchronize the local
218
# UNIX password as well. You will also need the "passwd chat" parameters
219
; unix password sync = yes
220
221
# how should smbd talk to the local system when changing a UNIX
222
# password? See smb.conf(5) for details
223
; passwd chat = <custom chat string>
224
225
# This is only available if you compiled Samba to include --with-pam
226
# Use PAM for changing the password
227
; pam password change = yes
228
229
##
230
## Domain Control
231
##
232
# Enable this if you want Samba act as a domain controller.
233
# make sure you have read the Samba-PDC-HOWTO included in the documentation
234
# before enabling this parameter
235
; domain logons = yes
236
237
# if you enable domain logons then you may want a per-machine or
238
# per user logon script
239
# run a specific logon batch file per workstation (machine)
240
; logon script = %m.bat
241
# run a specific logon batch file per username
242
; logon script = %U.bat
243
244
# Where to store roving profiles (only for Win95 and WinNT)
245
# %L substitutes for this servers netbios name, %U is username
246
# You must uncomment the [Profiles] share below
247
; logon path = \\%L\Profiles\%U
248
249
# UNC path specifying the network location of the user's home directory
250
# only used when acting as a DC for WinNT/2k/XP. Ignored by Win9x clients
251
; logon home = \\%L\%U
252
253
# What drive should the "logon home" be mounted at upon login ?
254
# only used when acting as a DC for WinNT/2k/XP. Ignored by Win9x clients
255
; logon drive = H:
256
257
##
258
## Printing
259
##
260
261
# If you want to automatically load your printer list rather
262
# than setting them up individually then you'll need this
263
load printers = yes
264
265
# you may wish to override the location of the printcap file
266
; printcap name = /etc/printcap
267
268
# on SystemV system setting printcap name to lpstat should allow
269
# you to automatically obtain a printer list from the SystemV spool
270
# system
271
; printcap name = lpstat
272
273
# It should not be necessary to specify the print system type unless
274
# it is non-standard. Currently supported print systems include:
275
# bsd, sysv, plp, lprng, aix, hpux, qnx
276
; printing = bsd
277
278
# Enable this to make Samba 2.2 behavior just like Samba 2.0
279
# not recommended nuless you are sure of what you are doing
280
; disable spoolss = yes
281
282
# list of users and groups which should be able to remotely manage
283
# printer drivers installed on the server
284
; printer admin = root, +ntadmin
285
286
287
##
288
## Winbind
289
##
290
291
# specify the uid range which can be used by winbindd
292
# to allocate uids for Windows users as necessary
293
; winbind uid = 10000-65000
294
295
# specify the uid range which can be used by winbindd
296
# to allocate uids for Windows users as necessary
297
; winbind gid = 10000-65000
298
299
# Define a home directory to be given to passwd(5) style entries
300
# generated by libnss_winbind.so. You can use variables here
301
; winbind template homedir = /home/%D/%U
302
303
# Specify a shell for all winbind user entries return by the
304
# libnss_winbind.so library.
305
; winbind template shell = /bin/sh
306
307
# What character should be used to separate the DOMAIN and Username
308
# for a Windows user. The default is DOMAIN\user, but many people
309
# prefer DOMAIN+user
310
; winbind separator = +
311
312
313
#============================ Share Definitions ==============================
314
[homes]
315
comment = Home Directories
316
browseable = no
317
writable = yes
318
valid users = %S
319
320
# Un-comment the following and create the netlogon directory for Domain Logons
321
; [netlogon]
322
; comment = Network Logon Service
323
; path = /usr/local/samba/lib/netlogon
324
; guest ok = yes
325
; writable = no
326
; share modes = no
327
328
329
# Un-comment the following to provide a specific roving profile share
330
# the default is to use the user's home directory
331
;[Profiles]
332
; path = /usr/local/samba/profiles
333
; browseable = no
334
; guest ok = yes
335
336
337
# NOTE: If you have a BSD-style print system there is no need to
338
# specifically define each individual printer
339
[printers]
340
comment = All Printers
341
path = /usr/spool/samba
342
browseable = no
343
# Set public = yes to allow user 'guest account' to print
344
guest ok = no
345
writable = no
346
printable = yes
347
348
# This one is useful for people to share files
349
#[tmp]
350
# comment = Temporary file space
351
# path = /tmp
352
# read only = no
353
# public = yes
354
355
356
# MS-DFS support is only available if Samba was compiled to
357
# include --with-msdfs
358
;[dfsroot]
359
; dfs root = yes
360
361
362
# A publicly accessible directory, but read only, except for people in
363
# the "staff" group
364
;[public]
365
; comment = Public Stuff
366
; path = /home/samba
367
; public = yes
368
; writable = yes
369
; printable = no
370
; write list = @staff
371
372
373
##
374
## Other examples.
375
##
376
377
# A private printer, usable only by fred. Spool data will be placed in fred's
378
# home directory. Note that fred must have write access to the spool directory,
379
# wherever it is.
380
#[fredsprn]
381
# comment = Fred's Printer
382
# valid users = fred
383
# path = /homes/fred
384
# printer = freds_printer
385
# public = no
386
# writable = no
387
# printable = yes
388
389
# A private directory, usable only by fred. Note that fred requires write
390
# access to the directory.
391
#[fredsdir]
392
# comment = Fred's Service
393
# path = /usr/somewhere/private
394
# valid users = fred
395
# public = no
396
# writable = yes
397
# printable = no
398
399
# a service which has a different directory for each machine that connects
400
# this allows you to tailor configurations to incoming machines. You could
401
# also use the %U option to tailor it by user name.
402
# The %m gets replaced with the machine name that is connecting.
403
#[pchome]
404
# comment = PC Directories
405
# path = /usr/pc/%m
406
# public = no
407
# writable = yes
408
409
# A publicly accessible directory, read/write to all users. Note that all files
410
# created in the directory by users will be owned by the default user, so
411
# any user with access can delete any other user's files. Obviously this
412
# directory must be writable by the default user. Another user could of course
413
# be specified, in which case all files would be owned by that user instead.
414
#[public]
415
# path = /usr/somewhere/else/public
416
# public = yes
417
# only guest = yes
418
# writable = yes
419
# printable = no
420
421
# The following two entries demonstrate how to share a directory so that two
422
# users can place files there that will be owned by the specific users. In this
423
# setup, the directory should be writable by both users and should have the
424
# sticky bit set on it to prevent abuse. Obviously this could be extended to
425
# as many users as required.
426
#[myshare]
427
# comment = Mary's and Fred's stuff
428
# path = /usr/somewhere/shared
429
# valid users = mary fred
430
# public = no
431
# writable = yes
432
# printable = no
433
# create mask = 0765
434
435
436
437
438
# Data for usage case 6
439
440