text
stringlengths
6
13.6M
id
stringlengths
13
176
metadata
dict
__index_level_0__
int64
0
1.69k
#import "GeneratedPluginRegistrant.h"
devtools/case_study/code_size/optimized/code_size_package/ios/Runner/Runner-Bridging-Header.h/0
{ "file_path": "devtools/case_study/code_size/optimized/code_size_package/ios/Runner/Runner-Bridging-Header.h", "repo_id": "devtools", "token_count": 13 }
71
#include "Generated.xcconfig"
devtools/case_study/code_size/unoptimized/code_size_images/ios/Flutter/Debug.xcconfig/0
{ "file_path": "devtools/case_study/code_size/unoptimized/code_size_images/ios/Flutter/Debug.xcconfig", "repo_id": "devtools", "token_count": 12 }
72
#include "../../Flutter/Flutter-Debug.xcconfig" #include "Warnings.xcconfig"
devtools/case_study/memory_leaks/leaking_counter_1/macos/Runner/Configs/Debug.xcconfig/0
{ "file_path": "devtools/case_study/memory_leaks/leaking_counter_1/macos/Runner/Configs/Debug.xcconfig", "repo_id": "devtools", "token_count": 32 }
73
@if "%DEBUG%" == "" @echo off @rem ########################################################################## @rem @rem Gradle startup script for Windows @rem @rem ########################################################################## @rem Set local scope for the variables with windows NT shell if "%OS%"=="Window...
devtools/case_study/memory_leaks/memory_leak_app/android/gradlew.bat/0
{ "file_path": "devtools/case_study/memory_leaks/memory_leak_app/android/gradlew.bat", "repo_id": "devtools", "token_count": 833 }
74
#include "Generated.xcconfig"
devtools/case_study/platform_channel/ios/Flutter/Release.xcconfig/0
{ "file_path": "devtools/case_study/platform_channel/ios/Flutter/Release.xcconfig", "repo_id": "devtools", "token_count": 12 }
75
import 'dart:async'; import 'package:flutter/material.dart'; import 'channel_demo.dart'; void main() => runApp(MyApp()); const platformChannelTitle = 'Platform Channel Demo'; class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo'...
devtools/case_study/platform_channel/lib/main.dart/0
{ "file_path": "devtools/case_study/platform_channel/lib/main.dart", "repo_id": "devtools", "token_count": 511 }
76
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: invalid_use_of_visible_for_testing_member, valid use for benchmark tests. import 'package:devtools_app/devtools_app.dart'; import 'pa...
devtools/packages/devtools_app/benchmark/test_infra/automators/_performance_automator.dart/0
{ "file_path": "devtools/packages/devtools_app/benchmark/test_infra/automators/_performance_automator.dart", "repo_id": "devtools", "token_count": 486 }
77
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'controller.dart'; class EmbeddedExtension extends StatelessWidget { const EmbeddedExtension({super.key...
devtools/packages/devtools_app/lib/src/extensions/embedded/_view_desktop.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/extensions/embedded/_view_desktop.dart", "repo_id": "devtools", "token_count": 217 }
78
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'package:devtools_app_shared/utils.dart'; import 'package:devtools_shared/devtools_shared.dart'; impor...
devtools/packages/devtools_app/lib/src/framework/release_notes/release_notes.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/framework/release_notes/release_notes.dart", "repo_id": "devtools", "token_count": 3065 }
79
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:async/async.dart'; import 'package:collection/collection.dart' show IterableExtension; import 'package:dap/dap.dart'...
devtools/packages/devtools_app/lib/src/screens/debugger/debugger_controller.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/debugger_controller.dart", "repo_id": "devtools", "token_count": 7894 }
80
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import '../../shared/analytics/analytics.dart' as ga; import '../.....
devtools/packages/devtools_app/lib/src/screens/deep_link_validation/select_project_view.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/deep_link_validation/select_project_view.dart", "repo_id": "devtools", "token_count": 1755 }
81
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:ui' as ui; import 'package:flutter/rendering.dart'; import '../../inspector_data_models.dart'; /// CustomPainter for drawing [DebugOverflo...
devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/overflow_indicator_painter.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/overflow_indicator_painter.dart", "repo_id": "devtools", "token_count": 711 }
82
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:math' as math; import 'package:devtools_shared/devtools_shared.dart'; import 'package:logging/logging.dart'; import 'pa...
devtools/packages/devtools_app/lib/src/screens/memory/framework/connected/memory_protocol.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/framework/connected/memory_protocol.dart", "repo_id": "devtools", "token_count": 3956 }
83
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import '../../../../shared/analytics/constants.dart' as gac; import '../../../../shared/common_widgets.dart'; imp...
devtools/packages/devtools_app/lib/src/screens/memory/panes/control/primary_controls.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/control/primary_controls.dart", "repo_id": "devtools", "token_count": 326 }
84
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import '../../../../../shared/analytics/analytics.dart' as ga; impo...
devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/snapshot_control_pane.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/snapshot_control_pane.dart", "repo_id": "devtools", "token_count": 2131 }
85
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:file_selector/file_selector.dart'; import 'package:vm_service/vm_service.dart'; import '../../../../shared/analytics/analytics.dart' as g...
devtools/packages/devtools_app/lib/src/screens/memory/shared/heap/model.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/heap/model.dart", "repo_id": "devtools", "token_count": 606 }
86
## Timeline Code Architecture <img src="timeline_architecture.png" width="800" /> ### View The view has no awareness of the timeline data directly. It has access to the timeline data (frames, selected event, selected frame, cpu profile, etc.) through the `TimelineController`. The view receives updates from the `Time...
devtools/packages/devtools_app/lib/src/screens/performance/README.md/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/performance/README.md", "repo_id": "devtools", "token_count": 291 }
87
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import '../../../../shared/primitives/utils.dart'; class RasterStats {...
devtools/packages/devtools_app/lib/src/screens/performance/panes/raster_stats/raster_stats_model.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/raster_stats/raster_stats_model.dart", "repo_id": "devtools", "token_count": 1767 }
88
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '../../shared/globals.dart'; const preCompileShadersDocsUrl = 'https://docs.flutter.dev/perf/shader'; const impellerDocsUrl = 'https://docs.flutt...
devtools/packages/devtools_app/lib/src/screens/performance/performance_utils.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/performance/performance_utils.dart", "repo_id": "devtools", "token_count": 186 }
89
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/material.dart'; import '../../../....
devtools/packages/devtools_app/lib/src/screens/profiler/panes/method_table/method_table.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/panes/method_table/method_table.dart", "repo_id": "devtools", "token_count": 3997 }
90
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/service.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter_riverpod/flutte...
devtools/packages/devtools_app/lib/src/screens/provider/provider_nodes.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/provider/provider_nodes.dart", "repo_id": "devtools", "token_count": 1093 }
91
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:flutter/material.dart'; import 'package:vm_service/vm_service.dart'; import '../vm_developer_common_widgets.dart'; import '../vm_service_...
devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_field_display.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_field_display.dart", "repo_id": "devtools", "token_count": 984 }
92
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: constant_identifier_names import 'package:flutter/widgets.dart'; import 'package:vm_service/vm_service.dart'; import '../../shared/g...
devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_service_private_extensions.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_service_private_extensions.dart", "repo_id": "devtools", "token_count": 11220 }
93
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: non_constant_identifier_names @JS() library; import 'dart:async'; import 'package:devtools_app_shared/ui.dart'; import 'package:js/...
devtools/packages/devtools_app/lib/src/shared/analytics/_analytics_web.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/_analytics_web.dart", "repo_id": "devtools", "token_count": 9303 }
94
## DevTools Charting ![GitHub contributors](https://img.shields.io/github/contributors/flutter/devtools.svg) We gladly accept contributions via GitHub pull requests! You must complete the [Contributor License Agreement](https://cla.developers.google.com/clas). You can do this online, and it only takes a minute. If y...
devtools/packages/devtools_app/lib/src/shared/charts/README.md/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/charts/README.md", "repo_id": "devtools", "token_count": 2306 }
95
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '_file_desktop.dart' if (dart.library.js_interop) '_file_web.dart'; abstract class FileIO { factory FileIO() { return createFileSystem(); ...
devtools/packages/devtools_app/lib/src/shared/config_specific/file/file.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/file/file.dart", "repo_id": "devtools", "token_count": 298 }
96
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:js_interop'; import 'package:web/web.dart'; import 'logger.dart'; void printToConsole(Object message, [LogLevel level = LogLevel.debug]) {...
devtools/packages/devtools_app/lib/src/shared/config_specific/logger/_logger_web.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/logger/_logger_web.dart", "repo_id": "devtools", "token_count": 205 }
97
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// Inspector specific tree rendering support. /// /// This library must not have direct dependencies on web-only libraries. /// /// This allows tests of ...
devtools/packages/devtools_app/lib/src/shared/console/eval/inspector_tree.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/console/eval/inspector_tree.dart", "repo_id": "devtools", "token_count": 2939 }
98
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:collection/collection.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; impor...
devtools/packages/devtools_app/lib/src/shared/diagnostics/diagnostics_node.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/diagnostics_node.dart", "repo_id": "devtools", "token_count": 7435 }
99
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import '../../screens/debugger/codeview.dart'; import '../common_widgets.dart'; import '../diagnostics/inspector_service.dart'; abstract class DevToolsEn...
devtools/packages/devtools_app/lib/src/shared/environment_parameters/environment_parameters_base.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/environment_parameters/environment_parameters_base.dart", "repo_id": "devtools", "token_count": 190 }
100
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:collection'; import 'dart:convert'; import 'package:logging/logging.dart'; import 'primitives/utils.dart'; /// Class for storing a limited ...
devtools/packages/devtools_app/lib/src/shared/log_storage.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/log_storage.dart", "repo_id": "devtools", "token_count": 569 }
101
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:convert'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'packag...
devtools/packages/devtools_app/lib/src/shared/preferences/preferences.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/preferences/preferences.dart", "repo_id": "devtools", "token_count": 1475 }
102
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /// An abstract implementation of a key value store. /// /// We have concrete implementations for Flutter web, Flutter desktop, and /// Flutter web when l...
devtools/packages/devtools_app/lib/src/shared/primitives/storage.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/storage.dart", "repo_id": "devtools", "token_count": 143 }
103
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file. part of 'server.dart'; /// Set DevTools parameter value for the active survey (e.g. 'Q1-2020'). /// /// The value is stored in the file '~/.flutter-devto...
devtools/packages/devtools_app/lib/src/shared/server/_survey_api.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/server/_survey_api.dart", "repo_id": "devtools", "token_count": 1102 }
104
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:flutter/material.dart'; import 'utils.dart'; /// This file holds color constants that are ...
devtools/packages/devtools_app/lib/src/shared/ui/colors.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/shared/ui/colors.dart", "repo_id": "devtools", "token_count": 1724 }
105
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_shared/devtools_extensions.dart'; import 'package:flutter/mat...
devtools/packages/devtools_app/lib/src/standalone_ui/vs_code/debug_sessions.dart/0
{ "file_path": "devtools/packages/devtools_app/lib/src/standalone_ui/vs_code/debug_sessions.dart", "repo_id": "devtools", "token_count": 5130 }
106
name: devtools_app description: Web-based performance tooling for Dart and Flutter. publish_to: none # Note: this version should only be updated by running tools/update_version.dart # that updates all versions of devtools packages (devtools_app, devtools_test). version: 2.34.0-dev.12 repository: https://github.com/fl...
devtools/packages/devtools_app/pubspec.yaml/0
{ "file_path": "devtools/packages/devtools_app/pubspec.yaml", "repo_id": "devtools", "token_count": 2842 }
107
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/profiler/cpu_profiler.dart'; import 'package:devtools_app/src/sc...
devtools/packages/devtools_app/test/cpu_profiler/profiler_screen_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/cpu_profiler/profiler_screen_test.dart", "repo_id": "devtools", "token_count": 2265 }
108
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/shared/diagnostics/tree_builder.dart'; import 'package:devtools_app_shar...
devtools/packages/devtools_app/test/debugger/debugger_screen_variables_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/debugger/debugger_screen_variables_test.dart", "repo_id": "devtools", "token_count": 2732 }
109
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_test/helpers.dart'; import 'package:flutter/material.dart'; import 'package:flut...
devtools/packages/devtools_app/test/inspector/inspector_integration_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/inspector/inspector_integration_test.dart", "repo_id": "devtools", "token_count": 7501 }
110
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/src/shared/diagnostics/diagnostics_node.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dar...
devtools/packages/devtools_app/test/inspector/layout_explorer/layout_explorer_test_utils.dart/0
{ "file_path": "devtools/packages/devtools_app/test/inspector/layout_explorer/layout_explorer_test_utils.dart", "repo_id": "devtools", "token_count": 368 }
111
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/src/screens/memory/panes/diff/controller/item_controller.dart'; import 'package:devtools_app/src/screens/memory/panes/diff/di...
devtools/packages/devtools_app/test/memory/diff/widgets/class_filter_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/memory/diff/widgets/class_filter_test.dart", "repo_id": "devtools", "token_count": 2400 }
112
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:convert'; import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/network/network_request_inspector.dart';...
devtools/packages/devtools_app/test/network/network_request_inspector_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/network/network_request_inspector_test.dart", "repo_id": "devtools", "token_count": 4155 }
113
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/src/framework/scaffold.dart'; import 'package:devtools_app/src/service/service_manager.dart'; import 'package:devtools_app/sr...
devtools/packages/devtools_app/test/shared/banner_messages_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/banner_messages_test.dart", "repo_id": "devtools", "token_count": 2522 }
114
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app/src/shared/future_work_tracker.dart'; import 'package:fake_async/fake_async.dart'; import 'package:flut...
devtools/packages/devtools_app/test/shared/future_work_tracker_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/future_work_tracker_test.dart", "repo_id": "devtools", "token_count": 1898 }
115
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/src/shared/primitives/simple_items.dart'; import 'package:flutter_test/flutter_test.dart'; import '../../test_infra/utils/te...
devtools/packages/devtools_app/test/shared/primitives/simple_items_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/primitives/simple_items_test.dart", "repo_id": "devtools", "token_count": 222 }
116
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @TestOn('vm') import 'dart:convert'; import 'dart:io'; import 'package:devtools_app/src/screens/debugger/span_parser.dart'; import 'package:devtools_app/...
devtools/packages/devtools_app/test/shared/syntax_highlighter_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/shared/syntax_highlighter_test.dart", "repo_id": "devtools", "token_count": 9531 }
117
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: avoid_print import 'dart:async'; void main() { print('starting debugging app (async)'); void run() { Timer(const Duration(m...
devtools/packages/devtools_app/test/test_infra/fixtures/debugging_app_async.dart/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/debugging_app_async.dart", "repo_id": "devtools", "token_count": 232 }
118
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/material.dart'; class MissingMaterialError extends StatelessWidget { const MissingMaterialError({super.ke...
devtools/packages/devtools_app/test/test_infra/fixtures/flutter_error_app/lib/missing_material_error.dart/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_error_app/lib/missing_material_error.dart", "repo_id": "devtools", "token_count": 690 }
119
To retake the snapshots: 1. Create counter app with `flutter create`. 2. Update button handler to take snapshot after increasing counter: ``` void _incrementCounter() { setState(() { _counter++; }); var fileName = 'counter_snapshot$_counter'; fileName = p.absolute(fileName); print('saving ...
devtools/packages/devtools_app/test/test_infra/test_data/memory/heap/README.md/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/test_data/memory/heap/README.md", "repo_id": "devtools", "token_count": 161 }
120
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. void foo() { Object? a; if (1 == 2) {} if (1 != 2) {} if (1 < 2) {} if (1 <= 2) {} if (1 > 2) {} if (1 >= 2) {} var b = 1 < 2 ? 1 / 1 : 2 ...
devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/operators.dart/0
{ "file_path": "devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/operators.dart", "repo_id": "devtools", "token_count": 333 }
121
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app/devtools_app.dart'; import 'package:devtools_app/src/screens/vm_developer/object_inspector/inbound_references_tree.dart'; imp...
devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_developer_common_widgets_test.dart/0
{ "file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_developer_common_widgets_test.dart", "repo_id": "devtools", "token_count": 4046 }
122
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'dart:core'; import 'package:collection/collection.dart' show IterableExtension; import 'package:flutter/foundation.dart'; im...
devtools/packages/devtools_app_shared/lib/src/service/isolate_manager.dart/0
{ "file_path": "devtools/packages/devtools_app_shared/lib/src/service/isolate_manager.dart", "repo_id": "devtools", "token_count": 3434 }
123
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; /// Mixin to simplifying managing the lifetime of ...
devtools/packages/devtools_app_shared/lib/src/utils/auto_dispose.dart/0
{ "file_path": "devtools/packages/devtools_app_shared/lib/src/utils/auto_dispose.dart", "repo_id": "devtools", "token_count": 3236 }
124
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_app_shared/utils.dart'; import 'package:flutter/material.dart'; import 'package:flu...
devtools/packages/devtools_app_shared/test/ui/split_pane_test.dart/0
{ "file_path": "devtools/packages/devtools_app_shared/test/ui/split_pane_test.dart", "repo_id": "devtools", "token_count": 19941 }
125
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/command_runner.dart'; import 'package:io/io.dart'; import '_build_and_copy.dart'; import '_validate.dart'; void main(List<String> a...
devtools/packages/devtools_extensions/bin/devtools_extensions.dart/0
{ "file_path": "devtools/packages/devtools_extensions/bin/devtools_extensions.dart", "repo_id": "devtools", "token_count": 184 }
126
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:app_that_uses_foo/main.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:foo/foo.dart'; // This test can be run to ...
devtools/packages/devtools_extensions/example/app_that_uses_foo/test/app_that_uses_foo_test.dart/0
{ "file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/test/app_that_uses_foo_test.dart", "repo_id": "devtools", "token_count": 295 }
127
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_app_shared/ui.dart'; import 'package:devtools_extensions/api.dart'; import 'package:devtools_extensions/devtools_extensions.dart'...
devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/lib/src/devtools_event_example.dart/0
{ "file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/lib/src/devtools_event_example.dart", "repo_id": "devtools", "token_count": 687 }
128
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:devtools_extensions/api.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('$DevToolsExtensionEvent', () { ...
devtools/packages/devtools_extensions/test/api_test.dart/0
{ "file_path": "devtools/packages/devtools_extensions/test/api_test.dart", "repo_id": "devtools", "token_count": 4344 }
129
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file handles json object. // ignore_for_file: avoid-dynamic import 'dart:convert'; /// The app link related settings of a Android build of a Flu...
devtools/packages/devtools_shared/lib/src/deeplink/app_link_settings.dart/0
{ "file_path": "devtools/packages/devtools_shared/lib/src/deeplink/app_link_settings.dart", "repo_id": "devtools", "token_count": 1234 }
130
// Copyright 2024 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // ignore_for_file: avoid_classes_with_only_static_members part of '../server_api.dart'; abstract class _DeeplinkApiHandler { static Future<shelf.Resp...
devtools/packages/devtools_shared/lib/src/server/handlers/_deeplink.dart/0
{ "file_path": "devtools/packages/devtools_shared/lib/src/server/handlers/_deeplink.dart", "repo_id": "devtools", "token_count": 1397 }
131
// Copyright 2022 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:async'; import 'package:devtools_app/devtools_app.dart'; import 'package:flutter/foundation.dart'; import 'package:vm_service/vm_service.dar...
devtools/packages/devtools_test/lib/src/mocks/fake_program_explorer_controller.dart/0
{ "file_path": "devtools/packages/devtools_test/lib/src/mocks/fake_program_explorer_controller.dart", "repo_id": "devtools", "token_count": 415 }
132
# This file exists to serve analysis_options.yaml name: devtools_root publish_to: none environment: sdk: '>=3.0.0 <4.0.0' dev_dependencies: flutter_lints: ^2.0.3
devtools/packages/pubspec.yaml/0
{ "file_path": "devtools/packages/pubspec.yaml", "repo_id": "devtools", "token_count": 72 }
133
## What is this? This directory stores pre-built assets of the [Perfetto UI](https://github.com/google/perfetto/tree/master/ui) web app, along with some additional files authored by the DevTools team, to support custom styling for the Perfetto UI. We embed this web app in an iFrame on the DevTools Performance page. Th...
devtools/third_party/packages/perfetto_ui_compiled/README.md/0
{ "file_path": "devtools/third_party/packages/perfetto_ui_compiled/README.md", "repo_id": "devtools", "token_count": 670 }
134
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:args/command_runner.dart'; import 'package:devtools_tool/devtools_command_runner.dart'; import 'package:io/io.dart'; v...
devtools/tool/bin/devtools_tool.dart/0
{ "file_path": "devtools/tool/bin/devtools_tool.dart", "repo_id": "devtools", "token_count": 291 }
135
// Copyright 2023 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'dart:io'; import 'package:args/command_runner.dart'; import 'package:devtools_tool/commands/shared.dart'; import 'package:devtools_tool/model.dar...
devtools/tool/lib/commands/build.dart/0
{ "file_path": "devtools/tool/lib/commands/build.dart", "repo_id": "devtools", "token_count": 1543 }
136
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/args.dart'; import 'package:args/command_runner.dart'; import 'package:devtools_tool/commands/build.dart'; import 'package:devtools_t...
devtools/tool/lib/devtools_command_runner.dart/0
{ "file_path": "devtools/tool/lib/devtools_command_runner.dart", "repo_id": "devtools", "token_count": 870 }
137
# The following files define an Application Binary Interface (ABI) that must maintain # both forward and backward compatibility. Changes should be heavily # scrutinized as mistakes are irreversible. /shell/platform/embedder/embedder.h @cbracken @chinmaygarde /shell/platform/embedder/tests/embedder_frozen.h @cbracken @c...
engine/CODEOWNERS/0
{ "file_path": "engine/CODEOWNERS", "repo_id": "engine", "token_count": 95 }
138
#!/bin/bash # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Installs the dependencies necessary to build the Linux Flutter shell, beyond # those installed by install-build-deps.sh. set -e sudo apt -y in...
engine/build/install-build-deps-linux-desktop.sh/0
{ "file_path": "engine/build/install-build-deps-linux-desktop.sh", "repo_id": "engine", "token_count": 275 }
139
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//build/config/linux/pkg_config.gni") if (is_linux) { # This is a dependency on NSS with no libssl. On Linux we use a built-in SSL # library but...
engine/build/secondary/third_party/nss/BUILD.gn/0
{ "file_path": "engine/build/secondary/third_party/nss/BUILD.gn", "repo_id": "engine", "token_count": 25155 }
140
#!/usr/bin/env python3 # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import json import os import stat import sys import zipfile def _zip_dir(path, zip_file, prefix): path = path.rst...
engine/build/zip.py/0
{ "file_path": "engine/build/zip.py", "repo_id": "engine", "token_count": 1259 }
141
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Checks and fixes format on files with changes. // // Run with --help for usage. import 'dart:io'; import 'package:args/args.dart'; import 'package:met...
engine/ci/bin/format.dart/0
{ "file_path": "engine/ci/bin/format.dart", "repo_id": "engine", "token_count": 14665 }
142
{ "builds": [ { "drone_dimensions": [ "os=Mac-13", "os=Linux" ], "gn": [ "--runtime-mode", "debug", "--android", "--android-cpu=arm64", "--no-stripped", "--no-lto" ], "name": "android_debug_arm64", "ninja": { ...
engine/ci/builders/local_engine.json/0
{ "file_path": "engine/ci/builders/local_engine.json", "repo_id": "engine", "token_count": 1525 }
143
#!/usr/bin/env python3 # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import glob import re import os import subprocess import sys from compatibility_helper import byte_str_decode if 'ST...
engine/ci/firebase_testlab.py/0
{ "file_path": "engine/ci/firebase_testlab.py", "repo_id": "engine", "token_count": 1985 }
144
#!/bin/bash # # Copyright 2013 The Flutter Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. set -e # Needed because if it is set, cd may print the path it changed to. unset CDPATH # On Mac OS, readlink -f doesn't work, so follow_links...
engine/ci/test/ban_generated_plugin_registrant_java_test.sh/0
{ "file_path": "engine/ci/test/ban_generated_plugin_registrant_java_test.sh", "repo_id": "engine", "token_count": 953 }
145
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_COMMON_GRAPHICS_PERSISTENT_CACHE_H_ #define FLUTTER_COMMON_GRAPHICS_PERSISTENT_CACHE_H_ #include <memory> #include <mutex> #include <set> ...
engine/common/graphics/persistent_cache.h/0
{ "file_path": "engine/common/graphics/persistent_cache.h", "repo_id": "engine", "token_count": 2079 }
146
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/display_list/benchmarking/dl_complexity_metal.h" // The numbers and weightings used in this file stem from taking the // data from the D...
engine/display_list/benchmarking/dl_complexity_metal.cc/0
{ "file_path": "engine/display_list/benchmarking/dl_complexity_metal.cc", "repo_id": "engine", "token_count": 6861 }
147
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/display_list/dl_color.h" #include "flutter/testing/testing.h" #include "third_party/skia/include/core/SkColor.h" namespace flutter { na...
engine/display_list/dl_color_unittests.cc/0
{ "file_path": "engine/display_list/dl_color_unittests.cc", "repo_id": "engine", "token_count": 612 }
148
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_DISPLAY_LIST_EFFECTS_DL_COLOR_FILTER_H_ #define FLUTTER_DISPLAY_LIST_EFFECTS_DL_COLOR_FILTER_H_ #include "flutter/display_list/dl_attribut...
engine/display_list/effects/dl_color_filter.h/0
{ "file_path": "engine/display_list/effects/dl_color_filter.h", "repo_id": "engine", "token_count": 2727 }
149
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/display_list/geometry/dl_region.h" #include "flutter/fml/logging.h" namespace flutter { // Threshold for switching from linear search ...
engine/display_list/geometry/dl_region.cc/0
{ "file_path": "engine/display_list/geometry/dl_region.cc", "repo_id": "engine", "token_count": 10206 }
150
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_DISPLAY_LIST_SKIA_DL_SK_DISPATCHER_H_ #define FLUTTER_DISPLAY_LIST_SKIA_DL_SK_DISPATCHER_H_ #include "flutter/display_list/display_list.h"...
engine/display_list/skia/dl_sk_dispatcher.h/0
{ "file_path": "engine/display_list/skia/dl_sk_dispatcher.h", "repo_id": "engine", "token_count": 2355 }
151
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/display_list/testing/dl_test_surface_software.h" #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/...
engine/display_list/testing/dl_test_surface_software.cc/0
{ "file_path": "engine/display_list/testing/dl_test_surface_software.cc", "repo_id": "engine", "token_count": 508 }
152
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> namespace flutter { static std::string gGoldenDir; static std::string gFontFile; const std::string& GetGoldenDir() { return gGoldenD...
engine/flow/flow_test_utils.cc/0
{ "file_path": "engine/flow/flow_test_utils.cc", "repo_id": "engine", "token_count": 174 }
153
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/flow/layers/clip_path_layer.h" #include "flutter/flow/layers/layer_tree.h" #include "flutter/flow/layers/opacity_layer.h" #include "flut...
engine/flow/layers/clip_path_layer_unittests.cc/0
{ "file_path": "engine/flow/layers/clip_path_layer_unittests.cc", "repo_id": "engine", "token_count": 9256 }
154
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #define FML_USED_ON_EMBEDDER #include "flutter/flow/layers/display_list_layer.h" #include "flutter/display_list/dl_builder.h" #include "flutter/flow/laye...
engine/flow/layers/display_list_layer_unittests.cc/0
{ "file_path": "engine/flow/layers/display_list_layer_unittests.cc", "repo_id": "engine", "token_count": 10296 }
155
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/flow/layers/offscreen_surface.h" #include "third_party/skia/include/core/SkColorSpace.h" #include "third_party/skia/include/core/SkData....
engine/flow/layers/offscreen_surface.cc/0
{ "file_path": "engine/flow/layers/offscreen_surface.cc", "repo_id": "engine", "token_count": 1190 }
156
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FLOW_LAYERS_TEXTURE_LAYER_H_ #define FLUTTER_FLOW_LAYERS_TEXTURE_LAYER_H_ #include "flutter/flow/layers/layer.h" #include "third_party/ski...
engine/flow/layers/texture_layer.h/0
{ "file_path": "engine/flow/layers/texture_layer.h", "repo_id": "engine", "token_count": 464 }
157
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/flow/raster_cache_util.h" namespace flutter { bool RasterCacheUtil::ComputeIntegralTransCTM(const SkMatrix& in, ...
engine/flow/raster_cache_util.cc/0
{ "file_path": "engine/flow/raster_cache_util.cc", "repo_id": "engine", "token_count": 902 }
158
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #define FML_USED_ON_EMBEDDER #include "flutter/flow/surface_frame.h" #include "flutter/testing/testing.h" namespace flutter { TEST(FlowTest, SurfaceFram...
engine/flow/surface_frame_unittests.cc/0
{ "file_path": "engine/flow/surface_frame_unittests.cc", "repo_id": "engine", "token_count": 705 }
159
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/common/graphics/texture.h" #include <functional> #include "flutter/flow/testing/mock_texture.h" #include "gmock/gmock.h" #include "gtes...
engine/flow/texture_unittests.cc/0
{ "file_path": "engine/flow/texture_unittests.cc", "repo_id": "engine", "token_count": 1687 }
160
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FML_ASCII_TRIE_H_ #define FLUTTER_FML_ASCII_TRIE_H_ #include <memory> #include <string> #include <vector> namespace fml { /// A trie for...
engine/fml/ascii_trie.h/0
{ "file_path": "engine/fml/ascii_trie.h", "repo_id": "engine", "token_count": 347 }
161
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/fml/concurrent_message_loop.h" #include <algorithm> #include "flutter/fml/thread.h" #include "flutter/fml/trace_event.h" namespace fml...
engine/fml/concurrent_message_loop.cc/0
{ "file_path": "engine/fml/concurrent_message_loop.cc", "repo_id": "engine", "token_count": 1738 }
162
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <cstring> #include <memory> #include <vector> #include "flutter/fml/build_config.h" #include "flutter/fml/file.h" #include "flutter/fml/mapping.h...
engine/fml/file_unittest.cc/0
{ "file_path": "engine/fml/file_unittest.cc", "repo_id": "engine", "token_count": 4878 }
163
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FML_MAKE_COPYABLE_H_ #define FLUTTER_FML_MAKE_COPYABLE_H_ #include <utility> #include "flutter/fml/memory/ref_counted.h" #include "flutte...
engine/fml/make_copyable.h/0
{ "file_path": "engine/fml/make_copyable.h", "repo_id": "engine", "token_count": 600 }
164
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file provides weak pointers and weak pointer factories that work like // Chromium's |base::WeakPtr<T>| and |base::WeakPtrFactory<T>|. #ifndef FLUT...
engine/fml/memory/weak_ptr.h/0
{ "file_path": "engine/fml/memory/weak_ptr.h", "repo_id": "engine", "token_count": 3266 }
165
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FML_PATHS_H_ #define FLUTTER_FML_PATHS_H_ #include <string> #include <utility> #include "flutter/fml/unique_fd.h" namespace fml { namesp...
engine/fml/paths.h/0
{ "file_path": "engine/fml/paths.h", "repo_id": "engine", "token_count": 352 }
166
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/fml/platform/darwin/cf_utils.h" #include "flutter/testing/testing.h" namespace fml { namespace testing { TEST(CFTest, CanCreateRefs) {...
engine/fml/platform/darwin/cf_utils_unittests.mm/0
{ "file_path": "engine/fml/platform/darwin/cf_utils_unittests.mm", "repo_id": "engine", "token_count": 702 }
167
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_TYPEREF_H_ #define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_TYPEREF_H_ #include "flutter/fml/compiler_specific.h" #in...
engine/fml/platform/darwin/scoped_typeref.h/0
{ "file_path": "engine/fml/platform/darwin/scoped_typeref.h", "repo_id": "engine", "token_count": 1774 }
168
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/fml/platform/fuchsia/task_observers.h" #include <map> namespace fml { thread_local std::map<intptr_t, fit::closure> tTaskObservers; v...
engine/fml/platform/fuchsia/task_observers.cc/0
{ "file_path": "engine/fml/platform/fuchsia/task_observers.cc", "repo_id": "engine", "token_count": 287 }
169
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/fml/command_line.h" #include <windows.h> #include <Shellapi.h> #include <memory> namespace fml { std::optional<CommandLine> CommandLi...
engine/fml/platform/win/command_line_win.cc/0
{ "file_path": "engine/fml/platform/win/command_line_win.cc", "repo_id": "engine", "token_count": 496 }
170