MCPcopy Create free account

hub / github.com/facebook/time / functions

Functions3,016 in github.com/facebook/time

↓ 14 callersFunctionNewMockServo
NewMockServo creates a new mock instance.
ptp/sptp/client/servo_mock_test.go:42
↓ 14 callersFunctionSetupMocks
(t *testing.T)
phc/pps_source_test.go:37
↓ 14 callersMethodString
String returns all channels
calnex/api/api.go:384
↓ 14 callersFunctionTelcoDscmp
TelcoDscmp finds better Announce based on Announce response content and local priorities
ptp/sptp/bmc/bmc.go:117
↓ 14 callersMethodlatest
we take last complete sample of sync/followup data and last complete sample of delay req/resp data to calculate delay and offset
ptp/sptp/client/measurements.go:200
↓ 14 callersMethodprocessResults
(results map[netip.Addr]*RunResult)
ptp/sptp/client/sptp.go:478
↓ 13 callersFunctionDscmp
Dscmp finds better Announce based on Announce response content
ptp/sptp/bmc/bmc.go:90
↓ 13 callersFunctionEncodeMSM7
EncodeMSM7 generates an RTCM MSM7 frame for one constellation from RAWX observations. Only observations matching gnssID are included. stationID and ep
rtcm/msm_encode.go:64
↓ 13 callersFunctionMakeREMOp
MakeREMOp composes uint8 with response error and more bits set, combined with operation code
ntp/control/packet.go:286
↓ 13 callersMethodMarshalBinary
MarshalBinary converts ptptext to []bytes
ptp/protocol/types.go:609
↓ 13 callersFunctionNewClient
NewClient creates a new NTRIP client with the given configuration.
ntrip/client.go:104
↓ 13 callersFunctionParse
Parse parses the supplied byte array to check it is a valid x509 PEM file. If this is successful the certificate bundle (key + any certs) is returned.
calnex/cert/cert.go:83
↓ 13 callersMethodSetCounter
SetCounter will set a counter to the provided value.
fbclock/stats/stats.go:54
↓ 13 callersMethodString
()
servo/servo.go:42
↓ 13 callersMethodSyncInterval
SyncInterval inform a clock servo about the master's sync interval in seconds
servo/pi.go:283
↓ 13 callersMethodWrite
(p []byte)
ntp/chrony/client_test.go:65
↓ 13 callersFunctionbuildTestTOR
buildTestTOR creates a synthetic TOR file with 4 reflective peaks shaped like a real GNSS receiver trace: OA and OD are strong (FO Out connector and a
caliper/caliper_test.go:36
↓ 13 callersMethoddec
(d time.Duration)
ptp/sptp/client/backoff.go:50
↓ 13 callersMethodkeys
keys returns slice of keys of the underlying map
ptp/ptp4u/stats/stats.go:168
↓ 13 callersFunctionprepareExpression
(exprStr string)
ptp/c4u/clock/math.go:121
↓ 13 callersFunctionsfrbx
sfrbx wraps a subframe in a UBX-RXM-SFRBX payload (reverses the >>6 word extraction the decoder performs).
rtcm/ephemeris_test.go:62
↓ 12 callersMethodAdjFreqPPB
(freq float64)
ptp/sptp/client/clock.go:32
↓ 12 callersFunctionComputeResult
ComputeResult computes the full measurement result from parsed TOR data and peaks.
caliper/caliper.go:147
↓ 12 callersFunctionNewScanner
NewScanner creates a new Scanner that reads RTCM3 frames from r.
rtcm/scanner.go:49
↓ 12 callersFunctionParseExtensionFields
ParseExtensionFields parses a buffer of zero or more concatenated extension fields per RFC 7822 §7.5. The buffer must contain only extension fields; a
ntp/protocol/extension_fields.go:204
↓ 12 callersMethodRunning
Running returns the running bool
ptp/ptp4u/server/subscription.go:188
↓ 12 callersMethodString
String returns a human-readable representation of the IP address. For IPAddrID family (unresolved addresses), it returns "ID#XXXXXXXXXX" format simila
ntp/chrony/helpers.go:79
↓ 12 callersMethodString
()
oscillatord/monitoring.go:127
↓ 12 callersMethodSync
Sync returns ptp Sync packet
ptp/ptp4u/server/subscription.go:230
↓ 12 callersMethodinitClients
()
ptp/sptp/client/sptp.go:92
↓ 12 callersFunctionprepareTestClient
(t *testing.T, packet Packet)
ptp/protocol/management_client_test.go:57
↓ 12 callersFunctionstrerror
(errCode C.int)
fbclock/fbclock.go:38
↓ 11 callersMethodBytes
Bytes converts Packet to []bytes
ntp/protocol/packet.go:122
↓ 11 callersFunctionCRC24Q
CRC24Q computes the CRC-24Q checksum used in RTCM3 frames.
rtcm/rtcm.go:148
↓ 11 callersMethodCopy
Copy all key-values between maps
fbclock/stats/stats.go:70
↓ 11 callersMethodFreqPPB
()
phc/pps_source.go:100
↓ 11 callersMethodIP
IP converts PortAddress to IP
ptp/protocol/types.go:720
↓ 11 callersFunctionNewTrackingPacket
NewTrackingPacket creates new packet to request 'tracking' information
ntp/chrony/packet.go:1021
↓ 11 callersFunctionParseFrame
ParseFrame validates and parses a complete RTCM3 frame from raw bytes. The input must contain the full frame including preamble, header, payload, and
rtcm/rtcm.go:82
↓ 11 callersMethodStart
Start launches the subscription timers and exit on expire
ptp/ptp4u/server/subscription.go:87
↓ 11 callersMethodWrite
(p []byte)
cmd/ptpcheck/checker/ptp4l_test.go:370
↓ 11 callersMethodallSamples
()
ptp/sptp/client/window.go:66
↓ 11 callersFunctionbuildPayloadWithType
buildPayloadWithType creates a payload with the given RTCM3 message type encoded in the first 12 bits, padded to the specified total length.
rtcm/rtcm_test.go:43
↓ 11 callersMethodcalculateSHMData
(data *DataPoint, leaps []leapsectz.LeapSecond)
fbclock/daemon/daemon.go:354
↓ 11 callersFunctioncheckOSSFW
(t *testing.T, expectedFilePath string, expectedVersion *version.Version)
calnex/firmware/ossfirmware_test.go:26
↓ 11 callersMethodlastSample
()
ptp/sptp/client/window.go:62
↓ 11 callersMethodmean
()
ptp/sptp/client/window.go:95
↓ 11 callersMethodmedian
()
ptp/sptp/client/window.go:83
↓ 11 callersFunctionsetbitu
setbitu sets n bits (MSB-first) at bit offset pos.
rtcm/ephemeris_test.go:27
↓ 10 callersMethodCommunicate
Communicate sends the management the packet, parses response into something usable
ptp/protocol/management_client.go:52
↓ 10 callersFunctionEnableTimestamps
EnableTimestamps enables timestamps on the socket based on requested type
timestamp/timestamp_linux.go:413
↓ 10 callersMethodErr
Err returns the first non-EOF error encountered by the Scanner.
rtcm/scanner.go:134
↓ 10 callersMethodGetState
GetState returns current state of PiServo
servo/pi.go:289
↓ 10 callersMethodMeanFreq
()
ptp/sptp/client/sptp.go:44
↓ 10 callersFunctionNewJSONStats
NewJSONStats returns a new JSONStats
ptp/c4u/stats/json.go:36
↓ 10 callersFunctionNewSourcesPacket
here go request constructors NewSourcesPacket creates new packet to request number of sources (peers)
ntp/chrony/packet.go:1009
↓ 10 callersFunctionNewUnicastMsgTypeAndFlags
NewUnicastMsgTypeAndFlags builds new UnicastMsgTypeAndFlags from MessageType and flags
ptp/protocol/unicast.go:33
↓ 10 callersFunctionOpenAuthenticator
OpenAuthenticator verifies and decrypts an NTS Authenticator extension field (RFC 8915 §5.6), authenticating ad as associated data, and returns the re
ntp/protocol/nts/authenticator.go:167
↓ 10 callersMethodScan
Scan reads the next frame from the stream (either RTCM3 or UBX).
rtcm/mixed_scanner.go:55
↓ 10 callersMethodWrite
(p []byte)
leapsectz/leapsectz_test.go:485
↓ 10 callersFunctioncheckAgainstThreshold
generic function to check value against some thresholds
cmd/ptpcheck/cmd/diag.go:89
↓ 10 callersMethodcopyAndClear
copy all key-values between maps
ptp/ptp4u/stats/stats.go:223
↓ 10 callersMethodinit
(rworkers int)
ptp/ptp4u/stats/stats.go:260
↓ 10 callersFunctionisSupportedVar
(varName string)
fbclock/daemon/math.go:155
↓ 10 callersFunctionprepareExpression
(exprStr string)
fbclock/daemon/math.go:203
↓ 10 callersMethodpushM
(data float64)
fbclock/daemon/state.go:118
↓ 10 callersFunctionsecToMS
chrony reports all float measures in seconds, while NTP and this tool operate ms
cmd/ntpcheck/checker/chrony.go:72
↓ 9 callersMethodAdjFreq
(freq float64)
phc/pps_source.go:85
↓ 9 callersMethodBestSample
BestSample finds a sample which took the least time to be read; the logic is loosely based on sysoff_estimate from ptp4l sysoff.c
phc/offset.go:92
↓ 9 callersMethodFrame
Frame returns the most recently scanned frame. It is only valid after Scan returns true.
rtcm/scanner.go:129
↓ 9 callersMethodGetOperation
GetOperation returns int operation extracted from REMOp 8bit word
ntp/control/packet.go:327
↓ 9 callersMethodIsSpike
(offset int64)
ptp/sptp/client/sptp.go:45
↓ 9 callersFunctionMakeVnMode
MakeVnMode composes uint8 with version and mode bits set
ntp/control/packet.go:278
↓ 9 callersFunctionNewSourceDataPacket
NewSourceDataPacket creates new packet to request 'source data' information about source with given ID
ntp/chrony/packet.go:1046
↓ 9 callersFunctionNewTimeInterval
NewTimeInterval returns TimeInterval built from Nanoseconds
ptp/protocol/types.go:149
↓ 9 callersFunctionReadDynamicConfig
ReadDynamicConfig reads dynamic config from the file
ptp/ptp4u/server/config.go:98
↓ 9 callersMethodRegisterSubscription
RegisterSubscription will overwrite an existing subscription. Make sure you call findSubscription before this
ptp/ptp4u/server/worker.go:388
↓ 9 callersMethodReset
Reset atomically sets all the counters to 0
fbclock/stats/stats.go:29
↓ 9 callersMethodSet
Set Channel to Channels
calnex/api/api.go:374
↓ 9 callersMethodVerify
Verify verifies the supplied bundle checking that: - We have a private key - We have a cert - One of the cert CNs matches the supplied hostname - The
calnex/cert/cert.go:175
↓ 9 callersMethodWrite
(p []byte)
ntp/chrony/packet_test.go:1341
↓ 9 callersMethodWriteTo
(b []byte, addr unix.Sockaddr)
ptp/sptp/client/connection.go:35
↓ 9 callersMethodaddAnnounce
(announce ptp.Announce)
ptp/sptp/client/measurements.go:88
↓ 9 callersMethodaddCF2
(seq uint16, correction time.Duration)
ptp/sptp/client/measurements.go:120
↓ 9 callersMethodaddT1
(seq uint16, ts time.Time)
ptp/sptp/client/measurements.go:110
↓ 9 callersMethodaddT2andCF1
(seq uint16, ts time.Time, correction time.Duration)
ptp/sptp/client/measurements.go:98
↓ 9 callersMethodaddT3
(seq uint16, ts time.Time)
ptp/sptp/client/measurements.go:131
↓ 9 callersMethodaddT4
addDelayResp stores ts and seq of DELAY_RESP packet and updates history with latest measurements
ptp/sptp/client/measurements.go:143
↓ 9 callersFunctioncasterWrite
casterWrite wraps an error returned while writing to the caster.
cmd/ntripper/main.go:278
↓ 9 callersFunctionevaluateClockQuality
(config *Config, q *ptp.ClockQuality)
ptp/c4u/c4u.go:69
↓ 9 callersMethodinc
inc increments the counter for the given key
ptp/ptp4u/stats/stats.go:195
↓ 9 callersMethodincRunningHandlers
()
cmd/ziffy/node/receiver_linux.go:89
↓ 9 callersFunctionmean
(input []float64)
fbclock/daemon/math.go:92
↓ 9 callersFunctionparseVx
(r io.Reader)
leapsectz/leapsectz.go:107
↓ 8 callersMethodComplete
()
ptp/sptp/client/measurements.go:55
↓ 8 callersMethodData
Data from the ring buffer
ptp/c4u/clock/clock.go:67
↓ 8 callersMethodDelayResp
DelayResp returns ptp Delay Response packet
ptp/ptp4u/server/subscription.go:363
↓ 8 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
phc/pps_mock_test.go:328
↓ 8 callersFunctionEnableSWTimestampsRx
EnableSWTimestampsRx enables SW RX timestamps on the socket
timestamp/timestamp_linux.go:147
↓ 8 callersMethodEncode
Encode returns the wire-format bytes of this extension field, padded per RFC 7822.
ntp/protocol/extension_fields.go:130
← previousnext →101–200 of 3,016, ranked by callers