repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
gvisor
gvisor-master/runsc/sandbox/bpf/af_xdp.ebpf.c
// Copyright 2022 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,944
36.403846
77
c
gvisor
gvisor-master/test/benchmarks/tcp/nsjoin.c
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,314
26.395833
75
c
gvisor
gvisor-master/test/syscalls/linux/base_poll_test.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,944
27.872549
79
h
gvisor
gvisor-master/test/syscalls/linux/exec.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,114
30.857143
75
h
gvisor
gvisor-master/test/syscalls/linux/file_base.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,635
25.09901
78
h
gvisor
gvisor-master/test/syscalls/linux/ip_socket_test_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
8,247
44.071038
80
h
gvisor
gvisor-master/test/syscalls/linux/iptables.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
8,693
27.693069
80
h
gvisor
gvisor-master/test/syscalls/linux/readv_common.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,186
34.274194
80
h
gvisor
gvisor-master/test/syscalls/linux/socket_bind_to_device_util.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,683
23.764706
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_blocking.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,012
32.766667
76
h
gvisor
gvisor-master/test/syscalls/linux/socket_generic.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,031
32.290323
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_inet_loopback_test_params.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
3,191
35.689655
76
h
gvisor
gvisor-master/test/syscalls/linux/socket_ip_tcp_generic.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,020
33.033333
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_ip_udp_generic.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,020
33.033333
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_ip_udp_unbound_external_networking.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,174
36.903226
82
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv4_datagram_based_socket_unbound.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,132
34.40625
82
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv4_udp_unbound.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,021
33.066667
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv4_udp_unbound_external_networking.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,645
34.782609
84
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv4_udp_unbound_netlink.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,067
34.6
77
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv6_udp_unbound.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,021
33.066667
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv6_udp_unbound_external_networking.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,226
37.34375
86
h
gvisor
gvisor-master/test/syscalls/linux/socket_ipv6_udp_unbound_netlink.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,067
34.6
77
h
gvisor
gvisor-master/test/syscalls/linux/socket_netlink_route_util.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,479
34.942029
80
h
gvisor
gvisor-master/test/syscalls/linux/socket_netlink_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,508
34.338028
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_non_blocking.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,031
33.4
80
h
gvisor
gvisor-master/test/syscalls/linux/socket_non_stream.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,021
33.066667
78
h
gvisor
gvisor-master/test/syscalls/linux/socket_non_stream_blocking.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,068
33.483871
78
h
gvisor
gvisor-master/test/syscalls/linux/socket_stream.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,031
32.290323
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_stream_blocking.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,049
32.870968
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_stream_nonblock.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,056
33.096774
78
h
gvisor
gvisor-master/test/syscalls/linux/socket_unix.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
992
32.1
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_unix_cmsg.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,037
32.483871
77
h
gvisor
gvisor-master/test/syscalls/linux/socket_unix_dgram.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,021
33.066667
78
h
gvisor
gvisor-master/test/syscalls/linux/socket_unix_non_stream.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,055
33.064516
75
h
gvisor
gvisor-master/test/syscalls/linux/socket_unix_seqpacket.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,044
32.709677
75
h
gvisor
gvisor-master/test/syscalls/linux/unix_domain_socket_test_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
8,036
48.306748
80
h
gvisor
gvisor-master/test/syscalls/linux/rseq/critical.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,316
31.925
75
h
gvisor
gvisor-master/test/syscalls/linux/rseq/syscalls.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,015
27.8
75
h
gvisor
gvisor-master/test/syscalls/linux/rseq/test.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,680
39.02381
78
h
gvisor
gvisor-master/test/syscalls/linux/rseq/types.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,077
32.6875
75
h
gvisor
gvisor-master/test/syscalls/linux/rseq/uapi.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,479
27.461538
75
h
gvisor
gvisor-master/test/util/capability_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,493
29.489796
78
h
gvisor
gvisor-master/test/util/cgroup_util.h
// Copyright 2021 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
5,313
31.012048
78
h
gvisor
gvisor-master/test/util/cleanup.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,456
22.5
75
h
gvisor
gvisor-master/test/util/epoll_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,300
34.162162
80
h
gvisor
gvisor-master/test/util/eventfd_util.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,501
29.653061
75
h
gvisor
gvisor-master/test/util/file_descriptor.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
4,102
29.392593
80
h
gvisor
gvisor-master/test/util/fs_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
10,888
39.180812
80
h
gvisor
gvisor-master/test/util/fuse_util.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
3,016
38.697368
80
h
gvisor
gvisor-master/test/util/io_uring_util.h
// Copyright 2022 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
6,226
24.210526
79
h
gvisor
gvisor-master/test/util/linux_capability_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
3,779
28.302326
76
h
gvisor
gvisor-master/test/util/logging.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
5,103
41.533333
80
h
gvisor
gvisor-master/test/util/memory_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
4,832
30.180645
80
h
gvisor
gvisor-master/test/util/mount_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
3,266
31.67
80
h
gvisor
gvisor-master/test/util/multiprocess_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
5,163
37.537313
80
h
gvisor
gvisor-master/test/util/platform_util.h
// Copyright 2020 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,008
33.637931
79
h
gvisor
gvisor-master/test/util/posix_error.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
15,317
32.227766
80
h
gvisor
gvisor-master/test/util/proc_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
8,417
30.29368
80
h
gvisor
gvisor-master/test/util/pty_util.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,395
33.9
77
h
gvisor
gvisor-master/test/util/rlimit_util.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,030
30.242424
75
h
gvisor
gvisor-master/test/util/save_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,772
28.065574
80
h
gvisor
gvisor-master/test/util/signal_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
3,260
28.116071
79
h
gvisor
gvisor-master/test/util/temp_path.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
5,037
35.244604
80
h
gvisor
gvisor-master/test/util/temp_umask.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,104
26.625
75
h
gvisor
gvisor-master/test/util/test_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
24,797
29.389706
80
h
gvisor
gvisor-master/test/util/thread_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,606
26.734043
79
h
gvisor
gvisor-master/test/util/time_util.h
// Copyright 2019 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
934
30.166667
75
h
gvisor
gvisor-master/test/util/timer_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
4,588
25.994118
80
h
gvisor
gvisor-master/test/util/uid_util.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
957
30.933333
78
h
gvisor
gvisor-master/tools/xdp/bpf/drop.ebpf.c
// Copyright 2022 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
947
38.5
78
c
gvisor
gvisor-master/tools/xdp/bpf/pass.ebpf.c
// Copyright 2022 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
947
38.5
78
c
gvisor
gvisor-master/tools/xdp/bpf/tcpdump.ebpf.c
// Copyright 2022 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,861
36.24
77
c
gvisor
gvisor-master/vdso/barrier.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,335
25.72
75
h
gvisor
gvisor-master/vdso/compiler.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
928
29.966667
75
h
gvisor
gvisor-master/vdso/cycle_clock.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,402
25.980769
77
h
gvisor
gvisor-master/vdso/seqlock.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
1,092
26.325
75
h
gvisor
gvisor-master/vdso/syscalls.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,767
26.405941
77
h
gvisor
gvisor-master/vdso/vdso_time.h
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
820
28.321429
75
h
criu
criu-master/compel/arch/aarch64/plugins/include/asm/syscall-types.h
#ifndef COMPEL_ARCH_SYSCALL_TYPES_H__ #define COMPEL_ARCH_SYSCALL_TYPES_H__ #define SA_RESTORER 0x04000000 typedef void rt_signalfn_t(int, siginfo_t *, void *); typedef rt_signalfn_t *rt_sighandler_t; typedef void rt_restorefn_t(void); typedef rt_restorefn_t *rt_sigrestore_t; #define _KNSIG 64 #define _NSIG_BPW 6...
632
20.827586
53
h
criu
criu-master/compel/arch/aarch64/src/lib/handle-elf.c
#include <string.h> #include <errno.h> #include "handle-elf.h" #include "piegen.h" #include "log.h" static const unsigned char __maybe_unused elf_ident_64_le[EI_NIDENT] = { 0x7f, 0x45, 0x4c, 0x46, 0x02, 0x01, 0x01, 0x00, /* clang-format */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; static const unsigned ch...
831
24.212121
72
c
criu
criu-master/compel/arch/aarch64/src/lib/infect.c
#include <stdlib.h> #include <sys/ptrace.h> #include <sys/types.h> #include <sys/uio.h> #include <asm/ptrace.h> #include <linux/elf.h> #include <compel/plugins/std/syscall-codes.h> #include "common/page.h" #include "uapi/compel/asm/infect-types.h" #include "log.h" #include "errno.h" #include "infect.h" #include "infec...
7,250
24.003448
115
c
criu
criu-master/compel/arch/aarch64/src/lib/include/uapi/asm/breakpoints.h
#ifndef __COMPEL_BREAKPOINTS_H__ #define __COMPEL_BREAKPOINTS_H__ #define ARCH_SI_TRAP TRAP_BRKPT #include <sys/types.h> #include <stdbool.h> struct hwbp_cap { char arch; char bp_count; }; /* copied from `linux/arch/arm64/include/asm/hw_breakpoint.h` */ /* Lengths */ #define ARM_BREAKPOINT_LEN_1 0x1 #define ARM_BR...
948
21.069767
64
h
criu
criu-master/compel/arch/aarch64/src/lib/include/uapi/asm/infect-types.h
#ifndef UAPI_COMPEL_ASM_TYPES_H__ #define UAPI_COMPEL_ASM_TYPES_H__ #include <stdint.h> #include <signal.h> #include <sys/mman.h> #include <asm/ptrace.h> #define SIGMAX 64 #define SIGMAX_OLD 31 /* * Copied from the Linux kernel header arch/arm64/include/uapi/asm/ptrace.h * * A thread ARM CPU context */ typed...
1,047
23.372093
75
h
criu
criu-master/compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h
#ifndef UAPI_COMPEL_ASM_SIGFRAME_H__ #define UAPI_COMPEL_ASM_SIGFRAME_H__ #include <asm/sigcontext.h> #include <sys/ucontext.h> #include <stdint.h> /* Copied from the kernel header arch/arm64/include/uapi/asm/sigcontext.h */ #define FPSIMD_MAGIC 0x46508001 typedef struct fpsimd_context fpu_state_t; struct aux_con...
2,157
29.828571
119
h
criu
criu-master/compel/arch/arm/plugins/include/asm/syscall-types.h
#ifndef COMPEL_ARCH_SYSCALL_TYPES_H__ #define COMPEL_ARCH_SYSCALL_TYPES_H__ #define SA_RESTORER 0x04000000 typedef void rt_signalfn_t(int, siginfo_t *, void *); typedef rt_signalfn_t *rt_sighandler_t; typedef void rt_restorefn_t(void); typedef rt_restorefn_t *rt_sigrestore_t; #define _KNSIG 64 #define _NSIG_BPW 3...
632
20.827586
53
h
criu
criu-master/compel/arch/arm/src/lib/infect.c
#include <stdlib.h> #include <sys/ptrace.h> #include <sys/types.h> #include <string.h> #include <compel/plugins/std/syscall-codes.h> #include <compel/asm/processor-flags.h> #include <errno.h> #include "common/page.h" #include "uapi/compel/asm/infect-types.h" #include "log.h" #include "errno.h" #include "infect.h" #inc...
5,326
26.317949
115
c
criu
criu-master/compel/arch/arm/src/lib/include/uapi/asm/infect-types.h
#ifndef UAPI_COMPEL_ASM_TYPES_H__ #define UAPI_COMPEL_ASM_TYPES_H__ #include <stdint.h> #include <sys/mman.h> #define SIGMAX 64 #define SIGMAX_OLD 31 /* * Copied from the Linux kernel header arch/arm/include/asm/ptrace.h * * A thread ARM CPU context */ typedef struct { long uregs[18]; } user_regs_struct_t; ...
1,737
21.868421
68
h
criu
criu-master/compel/arch/arm/src/lib/include/uapi/asm/processor-flags.h
#ifndef __CR_PROCESSOR_FLAGS_H__ #define __CR_PROCESSOR_FLAGS_H__ /* Copied from the Linux kernel header arch/arm/include/uapi/asm/ptrace.h */ /* * PSR bits */ #define USR26_MODE 0x00000000 #define FIQ26_MODE 0x00000001 #define IRQ26_MODE 0x00000002 #define SVC26_MODE 0x00000003 #define USR_MODE 0x00000010 #...
1,101
24.627907
76
h
criu
criu-master/compel/arch/arm/src/lib/include/uapi/asm/sigframe.h
#ifndef UAPI_COMPEL_ASM_SIGFRAME_H__ #define UAPI_COMPEL_ASM_SIGFRAME_H__ #include <compel/asm/infect-types.h> /* Copied from the Linux kernel header arch/arm/include/asm/sigcontext.h */ struct rt_sigcontext { unsigned long trap_no; unsigned long error_code; unsigned long oldmask; unsigned long arm_r0; unsigned...
2,408
25.766667
112
h
criu
criu-master/compel/arch/mips/plugins/include/asm/syscall-types.h
#ifndef COMPEL_ARCH_SYSCALL_TYPES_H__ #define COMPEL_ARCH_SYSCALL_TYPES_H__ /* Types for sigaction, sigprocmask syscalls */ typedef void rt_signalfn_t(int, siginfo_t *, void *); typedef rt_signalfn_t *rt_sighandler_t; typedef void rt_restorefn_t(void); typedef rt_restorefn_t *rt_sigrestore_t; #define SA_RESTORER 0x0...
942
24.486486
65
h
criu
criu-master/compel/arch/mips/src/lib/handle-elf.c
#include <string.h> #include <errno.h> #include "handle-elf.h" #include "piegen.h" #include "log.h" static const unsigned char __maybe_unused elf_ident_64_le[EI_NIDENT] = { 0x7f, 0x45, 0x4c, 0x46, 0x02, 0x01, 0x01, 0x00, /* clang-format */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; extern int __handle_elf(...
555
23.173913
72
c
criu
criu-master/compel/arch/mips/src/lib/infect.c
#include <sys/types.h> #include <sys/uio.h> #include <sys/auxv.h> #include <sys/mman.h> #include <errno.h> #include <compel/asm/fpu.h> #include <compel/cpu.h> #include "errno.h" #include <compel/plugins/std/syscall-codes.h> #include <compel/plugins/std/syscall.h> #include "common/err.h" #include "common/page.h" #inclu...
10,544
32.798077
117
c
criu
criu-master/compel/arch/mips/src/lib/include/ldsodefs.h
/* * Run-time dynamic linker data structures for loaded ELF shared objects. * Copyright (C) 2000-2014 Free Software Foundation, Inc. * This file is part of the GNU C Library. * * The GNU C Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lice...
5,815
43.396947
111
h
criu
criu-master/compel/arch/mips/src/lib/include/uapi/asm/infect-types.h
#ifndef UAPI_COMPEL_ASM_TYPES_H__ #define UAPI_COMPEL_ASM_TYPES_H__ #include <stdint.h> #include <stdbool.h> #include <signal.h> #include <compel/plugins/std/asm/syscall-types.h> #include <linux/types.h> #define SIGMAX 64 #define SIGMAX_OLD 31 /* * Copied from the Linux kernel header arch/mips/include/asm/ptrace....
1,660
23.072464
78
h
criu
criu-master/compel/arch/mips/src/lib/include/uapi/asm/sigframe.h
#ifndef UAPI_COMPEL_ASM_SIGFRAME_H__ #define UAPI_COMPEL_ASM_SIGFRAME_H__ #include <stdint.h> #include <stdbool.h> #include <compel/asm/fpu.h> #include <compel/plugins/std/syscall-codes.h> #include <asm/types.h> #define u32 __u32 /* sigcontext defined in /usr/include/asm/sigcontext.h*/ #define rt_sigcontext sigcont...
1,775
29.101695
111
h
criu
criu-master/compel/arch/mips/src/lib/include/uapi/asm/siginfo.h
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1998, 1999, 2001, 2003 Ralf Baechle * Copyright (C) 2000, 2001 Silicon Graphics, Inc. */ #ifndef _UAPI_ASM_SIGINFO_H #defi...
2,877
22.209677
77
h
criu
criu-master/compel/arch/ppc64/plugins/include/asm/syscall-types.h
#ifndef COMPEL_ARCH_SYSCALL_TYPES_H__ #define COMPEL_ARCH_SYSCALL_TYPES_H__ #define SA_RESTORER 0x04000000U typedef void rt_signalfn_t(int, siginfo_t *, void *); typedef rt_signalfn_t *rt_sighandler_t; typedef void rt_restorefn_t(void); typedef rt_restorefn_t *rt_sigrestore_t; #define _KNSIG 64 #define _NSIG_BPW ...
633
20.862069
53
h
criu
criu-master/compel/arch/ppc64/src/lib/handle-elf.c
#include <string.h> #include <errno.h> #include "handle-elf.h" #include "piegen.h" #include "log.h" static const unsigned char __maybe_unused elf_ident_64_le[EI_NIDENT] = { 0x7f, 0x45, 0x4c, 0x46, 0x02, 0x01, 0x01, 0x00, /* clang-format */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; static const unsigned ch...
829
24.151515
72
c
criu
criu-master/compel/arch/ppc64/src/lib/infect.c
#include <sys/ptrace.h> #include <sys/types.h> #include <sys/uio.h> #include <sys/user.h> #include <sys/mman.h> #include <stdint.h> #include <errno.h> #include <compel/plugins/std/syscall-codes.h> #include "uapi/compel/asm/infect-types.h" #include "errno.h" #include "log.h" #include "common/bug.h" #include "common/page...
15,130
29.816701
115
c
criu
criu-master/compel/arch/ppc64/src/lib/include/uapi/asm/infect-types.h
#ifndef UAPI_COMPEL_ASM_TYPES_H__ #define UAPI_COMPEL_ASM_TYPES_H__ #include <stdbool.h> #include <signal.h> #include <stdint.h> #define SIGMAX_OLD 31 #define SIGMAX 64 /* * Copied from kernel header arch/powerpc/include/uapi/asm/ptrace.h */ typedef struct { unsigned long gpr[32]; unsigned long nip; unsigned...
2,758
27.443299
77
h