OXIESEC PANEL
- Current Dir:
/
/
opt
/
golang
/
1.19.4
/
src
/
go
/
printer
/
testdata
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/01/2022 06:13:56 PM
rwxr-xr-x
📄
alignment.golden
4.12 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
alignment.input
4.92 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments.golden
11.32 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments.input
11.35 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments.x
1.22 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments2.golden
2.24 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
comments2.input
2.29 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
complit.input
912 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
complit.x
1.14 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
declarations.golden
16.23 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
declarations.input
16.46 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
doc.golden
160 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
doc.input
159 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
empty.golden
94 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
empty.input
94 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
expressions.golden
12.41 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
expressions.input
12.13 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
expressions.raw
12.38 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
generics.golden
2.56 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
generics.input
2.61 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
go2numbers.golden
1.96 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
go2numbers.input
1.96 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
go2numbers.norm
1.9 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild1.golden
46 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild1.input
47 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild2.golden
64 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild2.input
65 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild3.golden
88 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild3.input
89 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild4.golden
77 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild4.input
52 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild5.golden
55 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild5.input
62 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild6.golden
56 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild6.input
55 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild7.golden
369 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
gobuild7.input
369 bytes
12/01/2022 06:12:58 PM
rw-r--r--
📄
linebreaks.golden
5.09 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
linebreaks.input
5.07 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
parser.go
50.65 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
slow.golden
2.02 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
slow.input
1.94 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
statements.golden
8.04 KB
12/01/2022 06:12:58 PM
rw-r--r--
📄
statements.input
8.32 KB
12/01/2022 06:12:58 PM
rw-r--r--
Editing: alignment.input
Close
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package alignment // ---------------------------------------------------------------------------- // Examples from issue #7335. func main() { z := MyStruct{ Foo: "foo", Bar: "bar", Name: "name", LongName: "longname", Baz: "baz", } y := MyStruct{ Foo: "foo", Bar: "bar", NameXX: "name", LongNameXXXXXXXXXXXXX: "longname", Baz: "baz", } z := MyStruct{ Foo: "foo", Bar: "bar", Name: "name", LongNameXXXXXXXXXXXXX: "longname", Baz: "baz", } } // ---------------------------------------------------------------------------- // Examples from issue #10392. var kcfg = KubeletConfig{ Address: s.Address, AllowPrivileged: s.AllowPrivileged, HostNetworkSources: hostNetworkSources, HostnameOverride: s.HostnameOverride, RootDirectory: s.RootDirectory, ConfigFile: s.Config, ManifestURL: s.ManifestURL, FileCheckFrequency: s.FileCheckFrequency, HTTPCheckFrequency: s.HTTPCheckFrequency, PodInfraContainerImage: s.PodInfraContainerImage, SyncFrequency: s.SyncFrequency, RegistryPullQPS: s.RegistryPullQPS, RegistryBurst: s.RegistryBurst, MinimumGCAge: s.MinimumGCAge, MaxPerPodContainerCount: s.MaxPerPodContainerCount, MaxContainerCount: s.MaxContainerCount, ClusterDomain: s.ClusterDomain, ClusterDNS: s.ClusterDNS, Runonce: s.RunOnce, Port: s.Port, ReadOnlyPort: s.ReadOnlyPort, CadvisorInterface: cadvisorInterface, EnableServer: s.EnableServer, EnableDebuggingHandlers: s.EnableDebuggingHandlers, DockerClient: dockertools.ConnectToDockerOrDie(s.DockerEndpoint), KubeClient: client, MasterServiceNamespace: s.MasterServiceNamespace, VolumePlugins: ProbeVolumePlugins(), NetworkPlugins: ProbeNetworkPlugins(), NetworkPluginName: s.NetworkPluginName, StreamingConnectionIdleTimeout: s.StreamingConnectionIdleTimeout, TLSOptions: tlsOptions, ImageGCPolicy: imageGCPolicy,imageGCPolicy, Cloud: cloud, NodeStatusUpdateFrequency: s.NodeStatusUpdateFrequency, } var a = A{ Long: 1, LongLong: 1, LongLongLong: 1, LongLongLongLong: 1, LongLongLongLongLong: 1, LongLongLongLongLongLong: 1, LongLongLongLongLongLongLong: 1, LongLongLongLongLongLongLongLong: 1, Short: 1, LongLongLongLongLongLongLongLongLong: 3, } // ---------------------------------------------------------------------------- // Examples from issue #22852. var fmtMap = map[string]string{ "1": "123", "12": "123", "123": "123", "1234": "123", "12345": "123", "123456": "123", "12345678901234567890123456789": "123", "abcde": "123", "123456789012345678901234567890": "123", "1234567": "123", "abcdefghijklmnopqrstuvwxyzabcd": "123", "abcd": "123", } type Fmt struct { abcdefghijklmnopqrstuvwx string abcdefghijklmnopqrstuvwxy string abcdefghijklmnopqrstuvwxyz string abcdefghijklmnopqrstuvwxyza string abcdefghijklmnopqrstuvwxyzab string abcdefghijklmnopqrstuvwxyzabc string abcde string abcdefghijklmnopqrstuvwxyzabcde string abcdefg string } func main() { _ := Fmt{ abcdefghijklmnopqrstuvwx: "foo", abcdefghijklmnopqrstuvwxyza: "foo", abcdefghijklmnopqrstuvwxyzab: "foo", abcdefghijklmnopqrstuvwxyzabc: "foo", abcde: "foo", abcdefghijklmnopqrstuvwxyzabcde: "foo", abcdefg: "foo", abcdefghijklmnopqrstuvwxy: "foo", abcdefghijklmnopqrstuvwxyz: "foo", } } // ---------------------------------------------------------------------------- // Examples from issue #26352. var _ = map[int]string{ 1: "", 12345678901234567890123456789: "", 12345678901234567890123456789012345678: "", } func f() { _ = map[int]string{ 1: "", 12345678901234567: "", 12345678901234567890123456789012345678901: "", } } // ---------------------------------------------------------------------------- // Examples from issue #26930. var _ = S{ F1: []string{ }, F2____: []string{}, } var _ = S{ F1: []string{ }, F2____: []string{}, } var _ = S{ F1____: []string{ }, F2: []string{}, } var _ = S{ F1____: []string{ }, F2: []string{}, }