repo stringlengths 6 47 | file_url stringlengths 77 269 | file_path stringlengths 5 186 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-07 08:35:43 2026-01-07 08:55:24 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/udp/endpoint_state.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/udp/endpoint_state.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/udp/udp_packet_list.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/udp/udp_packet_list.go | package udp
// ElementMapper provides an identity mapping by default.
//
// This can be replaced to provide a struct that maps elements to linker
// objects, if they are not the same. An ElementMapper is not typically
// required if: Linker is left as is, Element is left as is, or Linker and
// Element are the same ty... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/udp/endpoint.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/udp/endpoint.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | true |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/protocol.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/protocol.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/raw_packet_list.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/raw_packet_list.go | package raw
// ElementMapper provides an identity mapping by default.
//
// This can be replaced to provide a struct that maps elements to linker
// objects, if they are not the same. An ElementMapper is not typically
// required if: Linker is left as is, Element is left as is, or Linker and
// Element are the same ty... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/endpoint_state.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/endpoint_state.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/raw_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/raw_state_autogen.go | // automatically generated by stateify.
package raw
import (
"gvisor.dev/gvisor/pkg/state"
"gvisor.dev/gvisor/pkg/tcpip/buffer"
)
func (p *rawPacket) StateTypeName() string {
return "pkg/tcpip/transport/raw.rawPacket"
}
func (p *rawPacket) StateFields() []string {
return []string{
"rawPacketEntry",
"data",
... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/endpoint.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/raw/endpoint.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/tcpconntrack/tcp_conntrack.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/tcpconntrack/tcpconntrack_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/tcpconntrack/tcpconntrack_state_autogen.go | // automatically generated by stateify.
package tcpconntrack
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/packet_list.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/packet_list.go | package packet
// ElementMapper provides an identity mapping by default.
//
// This can be replaced to provide a struct that maps elements to linker
// objects, if they are not the same. An ElementMapper is not typically
// required if: Linker is left as is, Element is left as is, or Linker and
// Element are the same... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/packet_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/packet_state_autogen.go | // automatically generated by stateify.
package packet
import (
"gvisor.dev/gvisor/pkg/state"
"gvisor.dev/gvisor/pkg/tcpip/buffer"
)
func (p *packet) StateTypeName() string {
return "pkg/tcpip/transport/packet.packet"
}
func (p *packet) StateFields() []string {
return []string{
"packetEntry",
"data",
"tim... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/endpoint_state.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/endpoint_state.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/endpoint.go | vendor/gvisor.dev/gvisor/pkg/tcpip/transport/packet/endpoint.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/tcp.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/tcp.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/interfaces.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/interfaces.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/igmp.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/igmp.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/checksum.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/checksum.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/arp.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/arp.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/header_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/header_state_autogen.go | // automatically generated by stateify.
package header
import (
"gvisor.dev/gvisor/pkg/state"
)
func (r *SACKBlock) StateTypeName() string {
return "pkg/tcpip/header.SACKBlock"
}
func (r *SACKBlock) StateFields() []string {
return []string{
"Start",
"End",
}
}
func (r *SACKBlock) beforeSave() {}
// +check... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv6_extension_headers.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv6_extension_headers.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | true |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/udp.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/udp.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/icmpv6.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/icmpv6.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_options.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_options.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_router_advert.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_router_advert.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv6_fragment.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv6_fragment.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/eth.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/eth.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv4.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv4.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | true |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv6.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ipv6.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndpoptionidentifier_string.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndpoptionidentifier_string.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/mld.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/mld.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/gue.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/gue.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_router_solicit.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_router_solicit.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/icmpv4.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/icmpv4.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_neighbor_advert.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_neighbor_advert.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_neighbor_solicit.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/ndp_neighbor_solicit.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/parse/parse_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/parse/parse_state_autogen.go | // automatically generated by stateify.
package parse
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/header/parse/parse.go | vendor/gvisor.dev/gvisor/pkg/tcpip/header/parse/parse.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/blockingpoll_noyield_unsafe.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/blockingpoll_noyield_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/errors.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/errors.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/rawfile_unsafe.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/rawfile_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/blockingpoll_yield_unsafe.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/blockingpoll_yield_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/rawfile_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/rawfile_state_autogen.go | // automatically generated by stateify.
// +build linux
package rawfile
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/rawfile/rawfile_unsafe_state_autogen.go | // automatically generated by stateify.
// +build linux,!amd64,!arm64
// +build linux,amd64 linux,arm64
// +build go1.12
// +build !go1.18
// +build linux
package rawfile
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/nested/nested.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/nested/nested.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/nested/nested_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/nested/nested_state_autogen.go | // automatically generated by stateify.
package nested
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/sniffer/sniffer_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/sniffer/sniffer_state_autogen.go | // automatically generated by stateify.
package sniffer
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/sniffer/sniffer.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/sniffer/sniffer.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/sniffer/pcap.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/sniffer/pcap.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/endpoint_unsafe.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/endpoint_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/mmap_unsafe.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/mmap_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/mmap.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/mmap.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/packet_dispatchers.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/packet_dispatchers.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/fdbased_unsafe_state_autogen.go | // automatically generated by stateify.
// +build linux
// +build linux,amd64 linux,arm64
package fdbased
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/fdbased_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/fdbased_state_autogen.go | // automatically generated by stateify.
// +build linux
// +build linux,amd64 linux,arm64
// +build !linux !amd64,!arm64
// +build linux
package fdbased
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/endpoint.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/endpoint.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/mmap_stub.go | vendor/gvisor.dev/gvisor/pkg/tcpip/link/fdbased/mmap_stub.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/seqnum/seqnum_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/seqnum/seqnum_state_autogen.go | // automatically generated by stateify.
package seqnum
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/seqnum/seqnum.go | vendor/gvisor.dev/gvisor/pkg/tcpip/seqnum/seqnum.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/view_unsafe.go | vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/view_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/buffer_unsafe_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/buffer_unsafe_state_autogen.go | // automatically generated by stateify.
package buffer
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/view.go | vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/view.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/prependable.go | vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/prependable.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/buffer_state_autogen.go | vendor/gvisor.dev/gvisor/pkg/tcpip/buffer/buffer_state_autogen.go | // automatically generated by stateify.
package buffer
import (
"gvisor.dev/gvisor/pkg/state"
)
func (vv *VectorisedView) StateTypeName() string {
return "pkg/tcpip/buffer.VectorisedView"
}
func (vv *VectorisedView) StateFields() []string {
return []string{
"views",
"size",
}
}
func (vv *VectorisedView) be... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/sync.go | vendor/gvisor.dev/gvisor/pkg/sync/sync.go | // Copyright 2019 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package sync provides synchronization primitives.
package sync
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/mutex_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/mutex_unsafe.go | // Copyright 2019 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.13
// +build !go1.18
// When updating the build constraint (above), check that syncMutex matches the
// standard library sync.Mutex definition.
package sync
... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/checklocks_on_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/checklocks_on_unsafe.go | // Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build checklocks
package sync
import (
"fmt"
"strings"
"sync"
"unsafe"
"gvisor.dev/gvisor/pkg/goid"
)
// gLocks contains metadata about the locks held by a gorou... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/norace_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/norace_unsafe.go | // Copyright 2019 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !race
package sync
import (
"sync/atomic"
"unsafe"
)
// RaceEnabled is true if the Go data race detector is enabled.
const RaceEnabled = false
// RaceDisable ... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/goyield_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/goyield_unsafe.go | // Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.14
// +build !go1.18
// Check go:linkname function signatures when updating Go version.
package sync
import (
_ "unsafe" // for go:linkname
)
//go:linkname... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/goyield_go113_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/goyield_go113_unsafe.go | // Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.13
// +build !go1.14
package sync
import (
"runtime"
)
func goyield() {
// goyield is not available until Go 1.14.
runtime.Gosched()
}
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/race_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/race_unsafe.go | // Copyright 2019 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build race
package sync
import (
"runtime"
"unsafe"
)
// RaceEnabled is true if the Go data race detector is enabled.
const RaceEnabled = true
// RaceDisable has th... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/rwmutex_unsafe.go | // Copyright 2009 The Go Authors. All rights reserved.
// Copyright 2019 The gVisor Authors.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This is mostly copied from the standard library's sync/rwmutex.go.
//
// Happens-before relationships indicated to the ... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/gate_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/gate_unsafe.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/nocopy.go | vendor/gvisor.dev/gvisor/pkg/sync/nocopy.go | // 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... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/aliases.go | vendor/gvisor.dev/gvisor/pkg/sync/aliases.go | // Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sync
import (
"sync"
)
// Aliases of standard library types.
type (
// Cond is an alias of sync.Cond.
Cond = sync.Cond
// Locker is an alias of sync.Locker.
L... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/checklocks_off_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/checklocks_off_unsafe.go | // Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !checklocks
package sync
import (
"unsafe"
)
func noteLock(l unsafe.Pointer) {
}
func noteUnlock(l unsafe.Pointer) {
}
| go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/runtime_unsafe.go | vendor/gvisor.dev/gvisor/pkg/sync/runtime_unsafe.go | // Copyright 2020 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build go1.13
// +build !go1.18
// Check go:linkname function signatures, type definitions, and constants when
// updating Go version.
package sync
import (
"fmt"
"re... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
aojea/netkat | https://github.com/aojea/netkat/blob/0aff52e544e0df9b96fea261a4a9b96a36ad44f3/vendor/gvisor.dev/gvisor/pkg/sync/seqcount.go | vendor/gvisor.dev/gvisor/pkg/sync/seqcount.go | // Copyright 2019 The gVisor Authors.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package sync
import (
"sync/atomic"
)
// SeqCount is a synchronization primitive for optimistic reader/writer
// synchronization in cases where readers can work with stale... | go | Apache-2.0 | 0aff52e544e0df9b96fea261a4a9b96a36ad44f3 | 2026-01-07T09:45:51.064658Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/main.go | main.go | package main
import (
"log"
"os"
"github.com/maogou/pep-ebook/cmd"
)
func main() {
pepeb := cmd.CreatePepEb()
if err := pepeb.Run(os.Args); err != nil {
log.Fatal(err)
}
}
| go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/cmd/pepeb.go | cmd/pepeb.go | package cmd
import (
"github.com/maogou/pep-ebook/internal"
"github.com/urfave/cli/v2"
)
func CreatePepEb() *cli.App {
return internal.NewPepEbAppCommand()
}
| go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/pepeb.go | internal/pepeb.go | package internal
import (
"os"
"time"
"github.com/maogou/pep-ebook/internal/command/upgrade"
"github.com/maogou/pep-ebook/internal/command/downloader"
"github.com/maogou/pep-ebook/internal/constant"
"github.com/spf13/viper"
"github.com/urfave/cli/v2"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
)
... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/constant/constant.go | internal/constant/constant.go | package constant
const Logo = `
_
| |
_ __ ___ _ __ ___ | |__
| '_ \ / _ \ | '_ \ / _ \ | '_ \
| |_) | | __/ | |_) | | __/ | |_) |
| .__/ \___| | .__/ \___| |_.__/
| | | |
|_| |_| Version:v1.0.11
`
con... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/command.go | internal/command/command.go | package command
type DebugLog interface {
EnableDebug() bool
PrintLog(key string, value ...any)
}
| go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/upgrade/execute.go | internal/command/upgrade/execute.go | package upgrade
import (
"os/exec"
"runtime"
"github.com/maogou/pep-ebook/internal/constant"
"github.com/urfave/cli/v2"
)
func (u *Upgrade) Execute(ctx *cli.Context) error {
u.PrintLog("Upgrade-Execute", "开始执行升级,当前版本为:", constant.Version)
arg := "GO111MODULE=" + constant.GO111MODULE + " GOPROXY=" + constant.G... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/upgrade/upgrade.go | internal/command/upgrade/upgrade.go | package upgrade
import (
"github.com/maogou/pep-ebook/internal/command"
"github.com/rs/xid"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"
"github.com/urfave/cli/v2"
)
type Upgrade struct {
command.DebugLog
enableLog bool
ZLog zerolog.Logger
}
func newUpgrade() *Upgrade {
... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/print_finish_tips.go | internal/command/downloader/print_finish_tips.go | package downloader
import "github.com/urfave/cli/v2"
type PrintFinishTipsHandler struct {
BaseHandler
}
func (p *PrintFinishTipsHandler) HandlerRequest(ctx *cli.Context, dl *Downloader) {
dl.PrintLog(
"PrintFinishTipsHandler-HandlerRequest", "开始处理dl.err=", dl.err, "dl.success=", dl.success, "dl.fail=",
dl.fail... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/success_print.go | internal/command/downloader/success_print.go | package downloader
import (
"github.com/urfave/cli/v2"
)
type SuccessPrint struct {
BaseHandler
}
func (c *SuccessPrint) HandlerRequest(ctx *cli.Context, dl *Downloader) {
dl.ZLog.Info().Msg("💯🏆下载完成,让学习成为一种习惯🚀")
}
func (c *SuccessPrint) IsCanHandler(ctx *cli.Context, dl *Downloader) bool {
return true
}
| go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/downloader.go | internal/command/downloader/downloader.go | package downloader
import (
"github.com/maogou/pep-ebook/internal/classification"
"github.com/maogou/pep-ebook/internal/command"
"github.com/maogou/pep-ebook/internal/constant"
"github.com/rs/xid"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/spf13/viper"
"github.com/urfave/cli/v2"
)
type Do... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/clear_tmp_file.go | internal/command/downloader/clear_tmp_file.go | package downloader
import (
"os"
"github.com/maogou/pep-ebook/internal/constant"
"github.com/urfave/cli/v2"
)
type ClearTmpFile struct {
BaseHandler
}
func (c *ClearTmpFile) HandlerRequest(ctx *cli.Context, dl *Downloader) {
dl.PrintLog("ClearTmpFile-HandlerRequest", "开始处理临时文件")
_ = os.RemoveAll(constant.Ima... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/prepare_select.go | internal/command/downloader/prepare_select.go | package downloader
import (
"errors"
"strings"
"github.com/maogou/pep-ebook/internal/classification"
"github.com/spf13/viper"
"github.com/AlecAivazis/survey/v2"
)
func (d *Downloader) prepareSelect() error {
var (
period string
grade string
subject string
curl string
)
prompt := &survey.Sele... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/chain.go | internal/command/downloader/chain.go | package downloader
import (
"github.com/urfave/cli/v2"
)
type Chain interface {
SetNext(handler Chain)
HandlerRequest(ctx *cli.Context, dl *Downloader)
IsCanHandler(ctx *cli.Context, dl *Downloader) bool
}
type BaseHandler struct {
NextHandler Chain
}
func (b *BaseHandler) SetNext(handler Chain) {
b.NextHandl... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/add_bookmark.go | internal/command/downloader/add_bookmark.go | package downloader
import (
"os"
"strings"
"github.com/pdfcpu/pdfcpu/pkg/api"
"github.com/maogou/pep-ebook/internal/bookmark"
"github.com/urfave/cli/v2"
)
type AddBookmark struct {
BaseHandler
}
var _ Chain = (*AddBookmark)(nil)
func (a *AddBookmark) HandlerRequest(ctx *cli.Context, dl *Downloader) {
dl.Pr... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/sort_image.go | internal/command/downloader/sort_image.go | package downloader
import (
"sort"
"strings"
"github.com/spf13/cast"
"github.com/urfave/cli/v2"
)
type SortImage struct {
BaseHandler
}
type fileInfo struct {
Name string // 文件名
Page int // 页数
}
var _ Chain = (*SortImage)(nil)
func (s *SortImage) HandlerRequest(ctx *cli.Context, dl *Downloader) {
dl.Pr... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/download_test.go | internal/command/downloader/download_test.go | package downloader
import (
"net/http"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestNewRequestViaCURL(t *testing.T) {
curl := `
curl 'https://book.pep.com.cn/1212001301244/files/mobile/1.jpg?240828122428' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'Referer: ht... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/create_pdf.go | internal/command/downloader/create_pdf.go | package downloader
import (
"os"
"github.com/pdfcpu/pdfcpu/pkg/api"
"github.com/pdfcpu/pdfcpu/pkg/pdfcpu/types"
"github.com/urfave/cli/v2"
)
type CreatePdf struct {
BaseHandler
}
var _ Chain = (*CreatePdf)(nil)
func (c *CreatePdf) HandlerRequest(ctx *cli.Context, dl *Downloader) {
dl.PrintLog("CreatePdf-Hand... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/command/downloader/download.go | internal/command/downloader/download.go | package downloader
import (
"errors"
"fmt"
"io"
"math/rand"
"net/http"
"os"
"regexp"
"strings"
"time"
"github.com/urfave/cli/v2"
)
type Download struct {
BaseHandler
}
var _ Chain = (*Download)(nil)
var (
curlRegex = regexp.MustCompile(`curl '([^']+)'`)
bookIDRegex = regexp.MustCompile(`book\.p... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/classification/period_grade_subject.go | internal/classification/period_grade_subject.go | package classification
var (
Periods = []string{
"小学",
"初中",
"高中",
}
Grades = map[string][]string{
"小学": []string{"一年级", "二年级", "三年级", "四年级", "五年级", "六年级"},
"初中": []string{"七年级", "八年级", "九年级"},
"高中": []string{"必修", "选择性必修", "选修"},
}
Subjects = map[string][]string{
"小学": []string{
"习近平新时代中国特色社会主义... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/classification/catalog.go | internal/classification/catalog.go | package classification
type UrlPath struct {
BookID string
Pages int
Remark string
}
var Paths = map[string][]UrlPath{
"小学-三年级-习近平新时代中国特色社会主义思想学生读本": {
{
BookID: "1291001103221",
Pages: 2,
},
},
"小学-五年级-习近平新时代中国特色社会主义思想学生读本": {
{
BookID: "1291001403221",
Pages: 102,
},
},
"小学-一年级-道德与法治"... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/bookmark/bookmark.go | internal/bookmark/bookmark.go | package bookmark
import (
"github.com/maogou/pep-ebook/internal/bookmark/high_school/compulsory/math_compulsory"
"github.com/maogou/pep-ebook/internal/bookmark/high_school/selective_compulsory/math_selective_compulsory"
"github.com/maogou/pep-ebook/internal/bookmark/middle_school/eighth_grade/math_eighth"
"github.... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
maogou/pep-ebook | https://github.com/maogou/pep-ebook/blob/acf93c641bf749284bd65a9eb2116f86d4b8f07a/internal/bookmark/high_school/compulsory/math_compulsory/math_compulsory.go | internal/bookmark/high_school/compulsory/math_compulsory/math_compulsory.go | package math_compulsory
import "github.com/pdfcpu/pdfcpu/pkg/pdfcpu"
var MathCompulsoryFirstB = []pdfcpu.Bookmark{
{PageFrom: 1, Title: "封面"},
{PageFrom: 5, Title: "前言"},
{PageFrom: 7, Title: "目录"},
{PageFrom: 9, Title: "第一章: 集合与常用逻辑用语", Children: []pdfcpu.Bookmark{
{PageFrom: 10, Title: "1.0: 本章导语"},
{PageFr... | go | MIT | acf93c641bf749284bd65a9eb2116f86d4b8f07a | 2026-01-07T09:45:39.687802Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.