OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Nanos
(Results
1 - 2
of
2
) sorted by null
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
Duration.cs
35
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Duration), global::Google.Protobuf.WellKnownTypes.Duration.Parser, new[]{ "Seconds", "
Nanos
" }, null, null, null)
57
/// duration.
nanos
= end.
nanos
- start.
nanos
;
59
/// if (duration.seconds < 0 && duration.
nanos
> 0) {
61
/// duration.
nanos
-= 1000000000;
62
/// } else if (durations.seconds > 0 && duration.
nanos
< 0) {
64
/// duration.
nanos
+= 1000000000;
74
/// end.
nanos
= start.
nanos
+ duration.nanos
[
all
...]
Timestamp.cs
35
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), global::Google.Protobuf.WellKnownTypes.Timestamp.Parser, new[]{ "Seconds", "
Nanos
" }, null, null, null)
93
///
nanos
= int((now - seconds) * 10**9)
94
/// timestamp = Timestamp(seconds=seconds,
nanos
=
nanos
)
139
/// <summary>Field number for the "
nanos
" field.</summary>
144
/// second values with fractions must still have non-negative
nanos
values
148
public int
Nanos
{
167
if (
Nanos
!= other.
Nanos
) return false;
174
if (
Nanos
!= 0) hash ^= Nanos.GetHashCode()
[
all
...]
Completed in 63 milliseconds