[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] 230/324: doc: Correct errors in ‘network structure’ sect
From: |
gnunet |
Subject: |
[gnunet-scheme] 230/324: doc: Correct errors in ‘network structure’ section. |
Date: |
Tue, 21 Sep 2021 13:24:30 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
commit e196828f5dbc9b3ed7f656a3131fc508ef418e2e
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Sep 3 18:53:18 2021 +0200
doc: Correct errors in ‘network structure’ section.
* doc/scheme-gnunet.tm
(Manipulation of network structures): Correct value of 'size'.
Fix a grammo.
---
doc/scheme-gnunet.tm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/doc/scheme-gnunet.tm b/doc/scheme-gnunet.tm
index 51f65c7..004f9d8 100644
--- a/doc/scheme-gnunet.tm
+++ b/doc/scheme-gnunet.tm
@@ -133,25 +133,25 @@
<with|font-shape|italic|value> is structured.
As an example, consider figure <reference|networkstructex>.<space|1em>There,
- the value is <scm|0 0 0 4 0 0 1 65 64 51 238 123 71 27 58 149> and the type
- is <scm|/:msg:nse:estimate/example>.
+ the value is <scm|0 12 1 65 64 51 238 123 71 27 58 149> and the type is
+ <scm|/:msg:nse:estimate/example>.
<big-figure|<tree|<scm|/:msg:nse:estimate/example>|<tree|<scm|header>
- <scm|/:message-header>|<tree|<scm|size> <scm|u32/big>|0 0 0
- 4>|<tree|<scm|type> <scm|u32/big>|0 0 1 65>>|<tree|<scm|size-estimate>
+ <scm|/:message-header>|<tree|<scm|size> <scm|u16/big>|0
+ 12>|<tree|<scm|type> <scm|u16/big>|1 65>>|<tree|<scm|size-estimate>
<scm|ieee-double/big>|64 51 238 123 71 27 58 149>>|A network structure,
both <with|font-shape|italic|value> and
<with|font-shape|italic|type>.<label|networkstructex>>
This value has a <with|font-shape|italic|header> with a
- <with|font-shape|italic|size> \<#2018\>0 0 0 4\<#2019\> of type
- <scm|u32/big>, so the <with|font-shape|italic|size> is 4.<space|1em>The
+ <with|font-shape|italic|size> \<#2018\>0 0 0 12\<#2019\> of type
+ <scm|u32/big>, so the <with|font-shape|italic|size> is 12.<space|1em>The
<with|font-shape|italic|header> also has a <with|font-shape|italic|type>
\<#2018\>0 0 1 65\<#2019\> of type <scm|u32/big>, so the type is
<math|256\<times\>1+65=321>.<space|1em>The value also has a
<with|font-shape|italic|size estimate> of type
<scm|ieee-double/big>.<space|1em>The octets <scm|64 51 238 123 71 27 58
- 149>, \ interpreted as an IEEE doubles, form the number
+ 149>, \ interpreted as an IEEE double, form the number
<math|19.93\<ldots\>>.
<subsection|Documentation>
@@ -231,7 +231,7 @@
determines the size of the \<#2018\>size\<#2019\> field in the header:
<\scm-code>
- (sizeof /:msg:nse:estimate/example '(header size)) ; 4
+ (sizeof /:msg:nse:estimate/example '(header size)) ; 12
</scm-code>
The fields can also be read:
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet-scheme] 214/324: tests/mq: Use 'message-handler' macro., (continued)
- [gnunet-scheme] 214/324: tests/mq: Use 'message-handler' macro., gnunet, 2021/09/21
- [gnunet-scheme] 217/324: tests/mq: Spam the log less., gnunet, 2021/09/21
- [gnunet-scheme] 233/324: doc: Document the message type database a little., gnunet, 2021/09/21
- [gnunet-scheme] 232/324: doc: Partially document handler procedures and interposers., gnunet, 2021/09/21
- [gnunet-scheme] 239/324: tests/network-size: Don't let the GC close port., gnunet, 2021/09/21
- [gnunet-scheme] 241/324: nse/client: Add a 'disconnected' callback., gnunet, 2021/09/21
- [gnunet-scheme] 195/324: mq-impl/stream: Reduce nesting., gnunet, 2021/09/21
- [gnunet-scheme] 200/324: mq-impl/stream: Make error injection less unobviously correct., gnunet, 2021/09/21
- [gnunet-scheme] 210/324: mq-stream: Reuse 'type' variable instead of reading the type again., gnunet, 2021/09/21
- [gnunet-scheme] 219/324: mq-impl/stream: Create the message queue as late as possible., gnunet, 2021/09/21
- [gnunet-scheme] 230/324: doc: Correct errors in ‘network structure’ section.,
gnunet <=
- [gnunet-scheme] 235/324: doc: Document how errors and received/sent messages are ordered., gnunet, 2021/09/21
- [gnunet-scheme] 199/324: guix: Use patched version of guile-fibers., gnunet, 2021/09/21
- [gnunet-scheme] 209/324: doc: Resolve the TODO about broken pipes., gnunet, 2021/09/21
- [gnunet-scheme] 213/324: nse/client: Use 'message-handler' macro., gnunet, 2021/09/21
- [gnunet-scheme] 222/324: mq-impl/stream: Handle closed ports more gracefully., gnunet, 2021/09/21
- [gnunet-scheme] 223/324: mq,doc: Update TODOs about message queues., gnunet, 2021/09/21
- [gnunet-scheme] 224/324: doc: Don't forget the message verifier., gnunet, 2021/09/21
- [gnunet-scheme] 225/324: mq: Inject errors when message verification has negative result., gnunet, 2021/09/21
- [gnunet-scheme] 234/324: doc: Remove resolved TODO., gnunet, 2021/09/21
- [gnunet-scheme] 240/324: mq-impl/stream: Handle ECONNRESET gracefully., gnunet, 2021/09/21