• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / ffigen / 6061243944

01 Sep 2023 11:05PM CUT coverage: 92.401%. Remained the same
6061243944

push

github

web-flow
Bump actions/checkout from 3.5.3 to 3.6.0 (#611)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p>
<blockquote>
<h2>v3.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Mark test scripts with Bash'isms to be run via Bash by <a href="https://github.com/dscho"><code>@​dscho</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1377">actions/checkout#1377</a></li>
<li>Add option to fetch tags even if fetch-depth &gt; 0 by <a href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li>
<li>Release 3.6.0 by <a href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/RobertWieczoreck"><code>@​RobertWieczoreck</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/579">actions/checkout#579</a></li>
<li><a href="https://github.com/luketomlinson"><code>@​luketomlinson</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1437">actions/checkout#1437</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v3.5.3...v3.6.0">https://github.com/actions/checkout/compare/v3.5.3...v3.6.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>v3.6.0</h2>
<ul>
<li><a href="https://redirect.github.com/actions/checkout/pull/1377">Fix: Mark test ... (continued)

3587 of 3882 relevant lines covered (92.4%)

28.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/lib/src/code_generator/pointer.dart
1
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4

5
import 'package:ffigen/src/code_generator.dart';
6

7
import 'writer.dart';
8

9
/// Represents a pointer.
10
class PointerType extends Type {
11
  final Type child;
12
  PointerType(this.child);
26✔
13

14
  @override
25✔
15
  void addDependencies(Set<Binding> dependencies) {
16
    child.addDependencies(dependencies);
50✔
17
  }
18

19
  @override
24✔
20
  Type get baseType => child.baseType;
48✔
21

22
  @override
25✔
23
  String getCType(Writer w) =>
24
      '${w.ffiLibraryPrefix}.Pointer<${child.getCType(w)}>';
100✔
25

26
  @override
2✔
27
  String toString() => '$child*';
4✔
28

29
  @override
2✔
30
  String cacheKey() => '${child.cacheKey()}*';
6✔
31
}
32

33
/// Represents a constant array, which has a fixed size.
34
class ConstantArray extends PointerType {
35
  final int length;
36
  ConstantArray(this.length, Type child) : super(child);
20✔
37

38
  @override
9✔
39
  Type get baseArrayType => child.baseArrayType;
18✔
40

41
  @override
9✔
42
  bool get isIncompleteCompound => baseArrayType.isIncompleteCompound;
18✔
43

44
  @override
2✔
45
  String toString() => '$child[$length]';
6✔
46

47
  @override
2✔
48
  String cacheKey() => '${child.cacheKey()}[$length]';
8✔
49
}
50

51
/// Represents an incomplete array, which has an unknown size.
52
class IncompleteArray extends PointerType {
53
  IncompleteArray(Type child) : super(child);
6✔
54

55
  @override
×
56
  Type get baseArrayType => child.baseArrayType;
×
57

58
  @override
×
59
  String toString() => '$child[]';
×
60

61
  @override
×
62
  String cacheKey() => '${child.cacheKey()}[]';
×
63
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc