Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Albert-W/crawler-project
/ functions
Functions
3,568 in github.com/Albert-W/crawler-project
⨍
Functions
3,568
◇
Types & classes
1,373
↓ 1 callers
Function
ParseIPv4Header
ParseIPv4Header returns the IPv4 header of the IPv4 packet that triggered an ICMP error message. This is found in the Data field of the ICMP error mes
src/golang.org/x/net/icmp/ipv4.go:30
↓ 1 callers
Function
ParseProfile
(contents []byte, url string, name string)
src/crawler/zhenai/parser/profile.go:34
↓ 1 callers
Method
Ping
Ping sends a PING frame to the server and waits for the ack.
src/golang.org/x/net/http2/go17.go:114
↓ 1 callers
Function
Post
Post issues a POST request via the Do function.
src/golang.org/x/net/context/ctxhttp/ctxhttp.go:62
↓ 1 callers
Function
Post
Post issues a POST request via the Do function.
src/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go:110
↓ 1 callers
Function
PunycodeHostPort
PunycodeHostPort returns the IDNA Punycode version of the provided "host" or "host:port" string.
src/golang.org/x/net/http/httpguts/httplex.go:323
↓ 1 callers
Method
Read
(p []byte)
src/golang.org/x/net/html/token_test.go:689
↓ 1 callers
Method
Read
(p []byte)
src/golang.org/x/net/http2/server.go:2237
↓ 1 callers
Method
Read
Read copies bytes from the buffer into p. It is an error to read when no data is available.
src/golang.org/x/net/http2/databuffer.go:77
↓ 1 callers
Function
ReadFrameHeader
ReadFrameHeader reads 9 bytes from r and returns a FrameHeader. Most users should use Framer.ReadFrame instead.
src/golang.org/x/net/http2/frame.go:230
↓ 1 callers
Method
ReadHandshake
ReadHandshake reads handshake request message from client. Returns http response code and error if any.
src/golang.org/x/net/websocket/websocket.go:111
↓ 1 callers
Function
RegisterDialerType
RegisterDialerType takes a URL scheme and a function to generate Dialers from a URL with that scheme and a forwarding Dialer. Registered schemes are u
src/golang.org/x/net/proxy/proxy.go:62
↓ 1 callers
Function
Render
Render renders the HTML page typically served at /debug/requests. It does not do any auth checking. The request may be nil. Most users will use the T
src/golang.org/x/net/trace/trace.go:161
↓ 1 callers
Function
RenderEvents
RenderEvents renders the HTML page typically served at /debug/events. It does not do any auth checking. The request may be nil. Most users will use t
src/golang.org/x/net/trace/events.go:45
↓ 1 callers
Function
ResetProxyEnv
()
src/golang.org/x/net/proxy/proxy_test.go:111
↓ 1 callers
Method
RoundTrip
(req *http.Request)
src/golang.org/x/net/http2/transport.go:894
↓ 1 callers
Method
RoundTripOpt
RoundTripOpt is like RoundTrip, but takes options.
src/golang.org/x/net/http2/transport.go:379
↓ 1 callers
Method
Run
Run runs the VM's BPF program against the input bytes. Run returns the number of bytes accepted by the BPF program, and any errors which occurred whil
src/golang.org/x/net/bpf/vm.go:78
↓ 1 callers
Method
Run
()
src/crawler/engine/concurrent.go:17
↓ 1 callers
Method
SOAResource
SOAResource adds a single SOAResource.
src/golang.org/x/net/dns/dnsmessage/message.go:1417
↓ 1 callers
Method
SRVResource
SRVResource adds a single SRVResource.
src/golang.org/x/net/dns/dnsmessage/message.go:1465
↓ 1 callers
Method
Serialize
()
src/crawler/engine/types.go:6
↓ 1 callers
Function
SerializeRequest
进行序列化 engine 下的Request type Request struct { Url string //ParserFunc ParserFunc Parser Parser }
src/crawler_distributed/worker/types.go:38
↓ 1 callers
Function
SerializeResult
进行转换
src/crawler_distributed/worker/types.go:49
↓ 1 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
src/golang.org/x/net/webdav/webdav.go:42
↓ 1 callers
Method
SetDeadline
SetDeadline sets the connection's network read & write deadlines.
src/golang.org/x/net/websocket/websocket.go:271
↓ 1 callers
Method
SetError
SetError declares that this trace resulted in an error.
src/golang.org/x/net/trace/trace.go:310
↓ 1 callers
Method
SetICMPFilter
SetICMPFilter deploys the ICMP filter. Currently only Linux supports this.
src/golang.org/x/net/ipv4/dgramopt.go:241
↓ 1 callers
Method
SetMaxDynamicTableSize
TODO: add method *Decoder.Reset(maxSize, emitFunc) to let callers re-use Decoders and their underlying buffers for garbage reasons.
src/golang.org/x/net/http2/hpack/hpack.go:146
↓ 1 callers
Method
SetMulticastHopLimit
(ttl int)
src/golang.org/x/net/ipv6/multicastsockopt_test.go:64
↓ 1 callers
Method
SetReadDeadline
SetReadDeadline sets the read deadline associated with the endpoint.
src/golang.org/x/net/icmp/endpoint.go:99
↓ 1 callers
Method
SetReadDeadline
(t time.Time)
src/golang.org/x/net/http2/server_test.go:3168
↓ 1 callers
Method
SetRecycler
SetRecycler sets a recycler for the trace. f will be called for each event passed to LazyLog at a time when it is no longer required, whether while th
src/golang.org/x/net/trace/trace.go:316
↓ 1 callers
Method
SetTraceInfo
SetTraceInfo sets the trace info for the trace. This is currently unused.
src/golang.org/x/net/trace/trace.go:320
↓ 1 callers
Method
SetWriteDeadline
(t time.Time)
src/golang.org/x/net/http2/server_test.go:3169
↓ 1 callers
Method
SkipAdditional
SkipAdditional skips a single Additional Resource.
src/golang.org/x/net/dns/dnsmessage/message.go:831
↓ 1 callers
Method
SkipAllQuestions
SkipAllQuestions skips all Questions.
src/golang.org/x/net/dns/dnsmessage/message.go:686
↓ 1 callers
Method
SkipAuthority
SkipAuthority skips a single Authority Resource.
src/golang.org/x/net/dns/dnsmessage/message.go:781
↓ 1 callers
Method
SkipQuestion
SkipQuestion skips a single Question.
src/golang.org/x/net/dns/dnsmessage/message.go:666
↓ 1 callers
Method
String
String implements fmt.Stringer.String.
src/golang.org/x/net/dns/dnsmessage/message.go:1884
↓ 1 callers
Method
SubImage
(image.Rectangle)
src/golang.org/x/net/http2/h2demo/h2demo.go:346
↓ 1 callers
Function
TODO
TODO returns a non-nil, empty Context. Code should use context.TODO when it's unclear which Context to use or it is not yet available (because the sur
src/golang.org/x/net/context/context.go:54
↓ 1 callers
Method
TOS
()
src/golang.org/x/net/ipv4/unicastsockopt_test.go:117
↓ 1 callers
Method
TTL
()
src/golang.org/x/net/ipv4/unicastsockopt_test.go:119
↓ 1 callers
Function
TestConn
TestConn tests that a net.Conn implementation properly satisfies the interface. The tests should not produce any false positives, but may experience f
src/golang.org/x/net/nettest/conntest.go:37
↓ 1 callers
Function
ToASCII
NOTE: Unlike common practice in Go APIs, the functions will return a sanitized domain name in case of errors. Browsers sometimes use a partially evalu
src/golang.org/x/net/idna/idna.go:44
↓ 1 callers
Function
ToUnicode
ToUnicode is a wrapper for Punycode.ToUnicode.
src/golang.org/x/net/idna/idna.go:49
↓ 1 callers
Method
ToUnicode
ToUnicode converts a domain or domain label to its Unicode form. For example, ToUnicode("xn--bcher-kva.example.com") is "bücher.example.com", and ToUn
src/golang.org/x/net/idna/idna.go:207
↓ 1 callers
Method
TrafficClass
()
src/golang.org/x/net/ipv6/unicastsockopt_test.go:88
↓ 1 callers
Method
UnmarshalXML
(d *Decoder, start StartElement)
src/golang.org/x/net/webdav/internal/xml/read.go:157
↓ 1 callers
Method
Value
Value returns the float's value.
src/golang.org/x/net/internal/timeseries/timeseries.go:58
↓ 1 callers
Method
Value
(id SettingID)
src/golang.org/x/net/http2/frame.go:736
↓ 1 callers
Function
VerifyDNSLength
VerifyDNSLength sets whether a Profile should fail if any of the IDN parts are longer than allowed by the RFC.
src/golang.org/x/net/idna/idna.go:67
↓ 1 callers
Function
WithCancel
WithCancel returns a copy of parent with a new Done channel. The returned context's Done channel is closed when the returned cancel function is called
src/golang.org/x/net/context/pre_go17.go:64
↓ 1 callers
Function
WithDeadline
WithDeadline returns a copy of the parent context with the deadline adjusted to be no later than d. If the parent's deadline is already earlier than d
src/golang.org/x/net/context/pre_go17.go:204
↓ 1 callers
Function
Worker
( r Request)
src/crawler/engine/worker.go:8
↓ 1 callers
Method
WorkerChan
()
src/crawler/engine/concurrent.go:16
↓ 1 callers
Method
WorkerReady
(chan Request)
src/crawler/engine/concurrent.go:22
↓ 1 callers
Method
WriteClose
(status int)
src/golang.org/x/net/websocket/websocket.go:158
↓ 1 callers
Method
WriteRawFrame
WriteRawFrame writes a raw frame. This can be used to write extension frames unknown to this package.
src/golang.org/x/net/http2/frame.go:1346
↓ 1 callers
Method
WriteToken
(t *oauth2.Token)
src/golang.org/x/net/http2/h2demo/launch.go:296
↓ 1 callers
Method
accept
(typ ICMPType)
src/golang.org/x/net/ipv6/icmp_bsd.go:9
↓ 1 callers
Method
accept
(typ ICMPType)
src/golang.org/x/net/ipv4/icmp_stub.go:14
↓ 1 callers
Function
acceptor
(t *testing.T, ln net.Listener, done chan<- bool)
src/golang.org/x/net/ipv6/mocktransponder_test.go:23
↓ 1 callers
Method
acquire
acquire acquires the limiting semaphore. Returns true if successfully accquired, false if the listener is closed and the semaphore is not acquired.
src/golang.org/x/net/netutil/listen.go:34
↓ 1 callers
Method
add
(el *eventLog)
src/golang.org/x/net/trace/events.go:172
↓ 1 callers
Method
addConnIfNeeded
addConnIfNeeded makes a NewClientConn out of c if a connection for key doesn't already exist. It coalesces concurrent calls with the same key. This is
src/golang.org/x/net/http2/client_conn_pool.go:153
↓ 1 callers
Function
addDecoderNode
(sym byte, code uint32, codeLen uint8)
src/golang.org/x/net/http2/hpack/huffman.go:141
↓ 1 callers
Method
addSentences
(sec string, sentence string)
src/golang.org/x/net/http2/z_spec_test.go:222
↓ 1 callers
Function
addrPacks
()
src/golang.org/x/net/lif/address_test.go:80
↓ 1 callers
Function
aluOpConstant
(ins ALUOpConstant, regA uint32)
src/golang.org/x/net/bpf/vm_instructions.go:12
↓ 1 callers
Function
aluOpX
(ins ALUOpX, regA uint32, regX uint32)
src/golang.org/x/net/bpf/vm_instructions.go:16
↓ 1 callers
Function
appendByteToHuffmanCode
appendByteToHuffmanCode appends Huffman code for c to dst and returns the extended buffer and the remaining bits in the last element. The appending is
src/golang.org/x/net/http2/hpack/huffman.go:196
↓ 1 callers
Method
appendMapping
appendMapping appends the mapping for the respective rune. isMapped must be true. A mapping is a categorization of a rune as defined in UTS #46.
src/golang.org/x/net/idna/trie.go:11
↓ 1 callers
Function
apply
(o *options, opts []Option)
src/golang.org/x/net/idna/idna.go:175
↓ 1 callers
Function
ascii
(s string)
src/golang.org/x/net/idna/idna.go:725
↓ 1 callers
Function
attrSig
(se xml.StartElement)
src/golang.org/x/net/http2/z_spec_test.go:317
↓ 1 callers
Method
attrval
()
src/golang.org/x/net/webdav/internal/xml/xml.go:832
↓ 1 callers
Method
autoClose
If the top element on the stack is autoclosing and t is not the end tag, invent the end tag.
src/golang.org/x/net/webdav/internal/xml/xml.go:503
↓ 1 callers
Method
awaitFlowControl
awaitFlowControl waits for [1, min(maxBytes, cc.cs.maxFrameSize)] flow control tokens from the server. It returns either the non-zero number of tokens
src/golang.org/x/net/http2/transport.go:1264
↓ 1 callers
Method
awaitIdle
awaitIdle heuristically awaits for the server conn's select loop to be idle. The heuristic is that the server connection's serve loop must schedule 50
src/golang.org/x/net/http2/server_test.go:217
↓ 1 callers
Method
awaitOpenSlotForRequest
awaitOpenSlotForRequest waits until len(streams) < maxConcurrentStreams. Must hold cc.mu.
src/golang.org/x/net/http2/transport.go:1077
↓ 1 callers
Method
awaitRequestCancel
awaitRequestCancel waits for the user to cancel a request, its context to expire, or for the request to be done (any way it might be removed from the
src/golang.org/x/net/http2/transport.go:258
↓ 1 callers
Method
block
(typ ICMPType)
src/golang.org/x/net/ipv6/icmp_bsd.go:13
↓ 1 callers
Method
block
(typ ICMPType)
src/golang.org/x/net/ipv4/icmp_stub.go:17
↓ 1 callers
Method
bytesFromFirstChunk
()
src/golang.org/x/net/http2/databuffer.go:102
↓ 1 callers
Function
canRetryError
(err error)
src/golang.org/x/net/http2/transport.go:472
↓ 1 callers
Function
canUseOSVM
canUseOSVM indicates if the OS BPF VM is available on this platform.
src/golang.org/x/net/bpf/vm_bpf_test.go:24
↓ 1 callers
Method
cancelStream
()
src/golang.org/x/net/http2/transport.go:265
↓ 1 callers
Function
canonicalAddr
canonicalAddr returns url.Host but always with a ":port" suffix
src/golang.org/x/net/http/httpproxy/proxy.go:283
↓ 1 callers
Function
causesIPv6Crash
()
src/golang.org/x/net/internal/nettest/helper_bsd.go:48
↓ 1 callers
Function
checkConnHeaders
checkConnHeaders checks whether req has any invalid connection-level headers. per RFC 7540 section 8.1.2.2: Connection-Specific Header Fields. Certain
src/golang.org/x/net/http2/transport.go:868
↓ 1 callers
Method
checkFrameOrder
checkFrameOrder reports an error if f is an invalid frame to return next from ReadFrame. Mostly it checks whether HEADERS and CONTINUATION frames are
src/golang.org/x/net/http2/frame.go:534
↓ 1 callers
Method
checkPseudos
()
src/golang.org/x/net/http2/frame.go:1442
↓ 1 callers
Method
checkResetOrDone
checkResetOrDone reports any error sent in a RST_STREAM frame by the server, or errStreamClosed if the stream is complete.
src/golang.org/x/net/http2/transport.go:280
↓ 1 callers
Function
checkTreeConsistency
checkTreeConsistency checks that a node and its descendants are all consistent in their parent/child/sibling relationships.
src/golang.org/x/net/html/node_test.go:13
↓ 1 callers
Function
checkTreeConsistency1
(n *Node, depth int)
src/golang.org/x/net/html/node_test.go:17
↓ 1 callers
Function
checkWriteHeaderCode
checkWriteHeaderCode is a copy of net/http's checkWriteHeaderCode.
src/golang.org/x/net/http2/server.go:2531
↓ 1 callers
Method
child
child returns the child of n with the given label. The child is created if it did not exist beforehand.
src/golang.org/x/net/publicsuffix/gen.go:464
↓ 1 callers
Function
cleanDate
(res *http.Response)
src/golang.org/x/net/http2/http2_test.go:172
← previous
next →
1,201–1,300 of 3,568, ranked by callers