Home
last modified time | relevance | path

Searched full:tag (Results 1 – 7 of 7) sorted by relevance

/littlefs-2.7.6/scripts/
Dreadmdir.py29 class Tag: class
32 self.tag = args[0]
49 self.tag = (type << 20) | (id << 10) | size
55 return not bool(self.tag & 0x80000000)
59 return not bool(self.tag & 0x40000000)
63 return bool(self.tag & 0x20000000)
67 return not bool(self.tag & 0x10000000)
71 return (self.tag & 0x7ff00000) >> 20
75 return (self.tag & 0x70000000) >> 20
79 return (self.tag & 0x7ff00000) >> 20
[all …]
Dreadtree.py8 from readmdir import Tag, MetadataPair
42 mdir.tail = mdir[Tag('tail', 0, 0)]
51 Tag(0x7ff, 0x3ff, 0), Tag('superblock', 0, 0)]
52 superblock = nsuperblock, mdir[Tag('inlinestruct', 0, 0)]
58 ngstate = mdir[Tag('movestate', 0, 0)]
89 for tag in mdir.tags:
90 if tag.is_('dir'):
92 npath = tag.data.decode('utf8')
93 dirstruct = mdir[Tag('dirstruct', tag.id, 0)]
113 tag = Tag(struct.unpack('<I', gstate[0:4].ljust(4, b'\xff'))[0])
[all …]
/littlefs-2.7.6/
DSPEC.md102 Entries themselves are stored as a 32-bit tag followed by a variable length
106 this without duplicating the space for each tag, neighboring entries have their
115 | tag ~A |---> xor -> tag A | tag ~A |---> xor -> 0xffffffff
121 | tag AxB |---> xor -> tag B | tag AxB |---> xor -> tag A
127 | tag BxC |---> xor -> tag C | tag BxC |---> xor -> tag B
130 | | | | tag C
136 One last thing to note before we get into the details around tag encoding. Each
137 tag contains a valid bit used to indicate if the tag and containing commit is
138 valid. This valid bit is the first bit found in the tag and the commit and can
146 .-| revision count | tag ~A | \
[all …]
Dlfs.c289 static inline bool lfs_tag_isvalid(lfs_tag_t tag) { in lfs_tag_isvalid() argument
290 return !(tag & 0x80000000); in lfs_tag_isvalid()
293 static inline bool lfs_tag_isdelete(lfs_tag_t tag) { in lfs_tag_isdelete() argument
294 return ((int32_t)(tag << 22) >> 22) == -1; in lfs_tag_isdelete()
297 static inline uint16_t lfs_tag_type1(lfs_tag_t tag) { in lfs_tag_type1() argument
298 return (tag & 0x70000000) >> 20; in lfs_tag_type1()
301 static inline uint16_t lfs_tag_type3(lfs_tag_t tag) { in lfs_tag_type3() argument
302 return (tag & 0x7ff00000) >> 20; in lfs_tag_type3()
305 static inline uint8_t lfs_tag_chunk(lfs_tag_t tag) { in lfs_tag_chunk() argument
306 return (tag & 0x0ff00000) >> 20; in lfs_tag_chunk()
[all …]
D.travis.yml347 PREV=$(git tag --sort=-v:refname -l "v*" | head -1)
359 # Create the release and patch version tag (vN.N.N)
DREADME.md208 Individual files contain the following tag instead of the full license text.
Dlfs.h359 uint32_t tag; member