text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// 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.
export 'src/app.dart';
export 'src/extensions/extension_service.dart';
export 'src/framework/app_bar.dart';
export 'src/framework/home_screen.dart';
expor... | devtools/packages/devtools_app/lib/devtools_app.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/devtools_app.dart",
"repo_id": "devtools",
"token_count": 1914
} | 120 |
This folder contains the code not used by screens.
| devtools/packages/devtools_app/lib/src/framework/README.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/framework/README.md",
"repo_id": "devtools",
"token_count": 11
} | 121 |
// 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_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:vm_snapshot_analysis/precompiler_trace.dart';
import... | devtools/packages/devtools_app/lib/src/screens/app_size/code_size_attribution.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/app_size/code_size_attribution.dart",
"repo_id": "devtools",
"token_count": 3936
} | 122 |
// 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:collection';
import 'dart:convert';
import 'package:collection/collection.dart';
import 'package:string_scanner/string_scanner.dart';
//TOD... | devtools/packages/devtools_app/lib/src/screens/debugger/span_parser.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/span_parser.dart",
"repo_id": "devtools",
"token_count": 8652
} | 123 |
// 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:math' as math;
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../... | devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/box/box.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/box/box.dart",
"repo_id": "devtools",
"token_count": 6583
} | 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 'dart:convert';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../shared/primitives/utils.dart'... | devtools/packages/devtools_app/lib/src/screens/logging/_message_column.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/logging/_message_column.dart",
"repo_id": "devtools",
"token_count": 1206
} | 125 |
// 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/analytics.dart' as ga;
import '../../../../shared/analytics/constants.dart' ... | devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/interval_dropdown.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/interval_dropdown.dart",
"repo_id": "devtools",
"token_count": 777
} | 126 |
// 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 '../../../../../shared/analytics/analytics.dart' as ga;
import '../../../../../shared/analytics/constant... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/data/heap_diff_store.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/data/heap_diff_store.dart",
"repo_id": "devtools",
"token_count": 1359
} | 127 |
Documentation: https://docs.flutter.dev/development/tools/devtools/memory#trace-tab | devtools/packages/devtools_app/lib/src/screens/memory/panes/tracing/ALLOCATION_TRACING.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/tracing/ALLOCATION_TRACING.md",
"repo_id": "devtools",
"token_count": 24
} | 128 |
// 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_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../../shared/analytics/analytic... | devtools/packages/devtools_app/lib/src/screens/memory/shared/widgets/class_filter.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/widgets/class_filter.dart",
"repo_id": "devtools",
"token_count": 2483
} | 129 |
// 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_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'p... | devtools/packages/devtools_app/lib/src/screens/performance/panes/flutter_frames/flutter_frames_chart.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/flutter_frames/flutter_frames_chart.dart",
"repo_id": "devtools",
"token_count": 12007
} | 130 |
// 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/utils.dart';
import 'package:vm_service_protos/vm_service_protos.dart';
import '../../../../../shared/primitives/util... | devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/perfetto_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/perfetto_controller.dart",
"repo_id": "devtools",
"token_count": 447
} | 131 |
// 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:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/material.dart... | devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profiler.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profiler.dart",
"repo_id": "devtools",
"token_count": 6365
} | 132 |
// 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.
// This file contains annotations that behaves like package:freezed_annotation.
// This allows using Freezed without having the devtool depend on the pack... | devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/fake_freezed_annotation.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/fake_freezed_annotation.dart",
"repo_id": "devtools",
"token_count": 183
} | 133 |
// 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:vm_service/vm_service.dart';
import '../../../shared/primitives/trees.dart';
import '../../../shared/primitives/utils.dart';
import '../v... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/inbound_references_tree.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/inbound_references_tree.dart",
"repo_id": "devtools",
"token_count": 1324
} | 134 |
// 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:flutter/material.dart';
import 'package:vm_service/vm_service.dart';
import '../../../shared/common_widgets.dart';
... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_simple_list_display.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_simple_list_display.dart",
"repo_id": "devtools",
"token_count": 1195
} | 135 |
// 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:core';
import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/utils.dart';
import 'pack... | devtools/packages/devtools_app/lib/src/service/timeline_streams.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/service/timeline_streams.dart",
"repo_id": "devtools",
"token_count": 2281
} | 136 |
// 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.
part of '../constants.dart';
/// Events for opening documentation for the inspector tab.
enum InspectorDocs {
packageDirectoriesDocs;
}
| devtools/packages/devtools_app/lib/src/shared/analytics/constants/_inspector_constants.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/constants/_inspector_constants.dart",
"repo_id": "devtools",
"token_count": 82
} | 137 |
// 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:js_interop';
import 'package:web/web.dart' hide NodeGlue;
import 'import_export.dart';
ExportControllerWeb createExportController() {
re... | devtools/packages/devtools_app/lib/src/shared/config_specific/import_export/_export_web.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/import_export/_export_web.dart",
"repo_id": "devtools",
"token_count": 293
} | 138 |
// 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:js_interop';
import 'package:web/web.dart';
import 'post_message.dart';
Stream<PostMessageEvent> get onPostMessage {
return window.onMes... | devtools/packages/devtools_app/lib/src/shared/config_specific/post_message/_post_message_web.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/post_message/_post_message_web.dart",
"repo_id": "devtools",
"token_count": 189
} | 139 |
// 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_shared/ui.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart' hide Stack;
import 'package... | devtools/packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/widgets/display_provider.dart",
"repo_id": "devtools",
"token_count": 3610
} | 140 |
// 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:vm_service/vm_service.dart';
import '../../primitives/utils.dart';
class _JsonFields {
static const String file = 'file';
static con... | devtools/packages/devtools_app/lib/src/shared/diagnostics/primitives/source_location.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/primitives/source_location.dart",
"repo_id": "devtools",
"token_count": 602
} | 141 |
// 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 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../screens/debugger/common.dart';
import 'common_widgets.da... | devtools/packages/devtools_app/lib/src/shared/history_viewport.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/history_viewport.dart",
"repo_id": "devtools",
"token_count": 3470
} | 142 |
// 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';
/// Returns [routeName] with [queryParameters] appended as [Uri] qu... | devtools/packages/devtools_app/lib/src/shared/navigation.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/navigation.dart",
"repo_id": "devtools",
"token_count": 631
} | 143 |
// 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:flutter/material.dart';
import 'package:flutter/rendering.dart';
// This file was originally forked from package:flutter_widgets. Note th... | devtools/packages/devtools_app/lib/src/shared/primitives/flutter_widgets/linked_scroll_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/flutter_widgets/linked_scroll_controller.dart",
"repo_id": "devtools",
"token_count": 3773
} | 144 |
// 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:math' as math;
import 'package:collection/collection.dart';
import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_... | devtools/packages/devtools_app/lib/src/shared/screen.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/screen.dart",
"repo_id": "devtools",
"token_count": 5983
} | 145 |
// 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.
part of 'table.dart';
enum TreeTableScrollKind {
up,
down,
parent,
}
/// A table that shows [TreeNode]s.
///
/// This takes in a collection of [da... | devtools/packages/devtools_app/lib/src/shared/table/_tree_table.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/table/_tree_table.dart",
"repo_id": "devtools",
"token_count": 5470
} | 146 |
// 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:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/material.dart... | devtools/packages/devtools_app/lib/src/shared/ui/vm_flag_widgets.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/ui/vm_flag_widgets.dart",
"repo_id": "devtools",
"token_count": 3383
} | 147 |
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| devtools/packages/devtools_app/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "devtools/packages/devtools_app/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "devtools",
"token_count": 32
} | 148 |
// 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/src/screens/profiler/cpu_profile_model.dart';
import 'package:devtools_app/src/service/service_manager.dart';
import 'package... | devtools/packages/devtools_app/test/cpu_profiler/cpu_profile_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/cpu_profiler/cpu_profile_model_test.dart",
"repo_id": "devtools",
"token_count": 6139
} | 149 |
// 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_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'pa... | devtools/packages/devtools_app/test/debugger/debugger_floating_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_floating_test.dart",
"repo_id": "devtools",
"token_count": 1258
} | 150 |
// 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/screens/deep_link_validation/deep_link_list_view.dart';
import 'package:... | devtools/packages/devtools_app/test/deep_link_vlidation/deep_links_screen_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/deep_link_vlidation/deep_links_screen_test.dart",
"repo_id": "devtools",
"token_count": 8060
} | 151 |
## plan for integration tests
Integration tests are expected to be heavyweight and test broad areas of a
use case. We likely wouldn't have more than 1-2 dozen of them.
### startup
- start a Dart VM or a Flutter app on a sample app
- connect to it via a service protocol connection
- start a chrome process
- connect t... | devtools/packages/devtools_app/test/legacy_integration_tests/readme.md/0 | {
"file_path": "devtools/packages/devtools_app/test/legacy_integration_tests/readme.md",
"repo_id": "devtools",
"token_count": 200
} | 152 |
// 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/memory/adapted_heap_data.dart';
import 'package:devtools_app/src/shared/memory/retainers.dart';
import 'package:fl... | devtools/packages/devtools_app/test/memory/shared/heap/heap_analyzer_golden_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/shared/heap/heap_analyzer_golden_test.dart",
"repo_id": "devtools",
"token_count": 603
} | 153 |
// 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.
@TestOn('vm')
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.da... | devtools/packages/devtools_app/test/performance/flutter_frames/flutter_frames_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/flutter_frames/flutter_frames_controller_test.dart",
"repo_id": "devtools",
"token_count": 1579
} | 154 |
// 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.
import 'package:devtools_app/src/shared/primitives/byte_utils.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('printBytes',... | devtools/packages/devtools_app/test/primitives/byte_utils_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/primitives/byte_utils_test.dart",
"repo_id": "devtools",
"token_count": 1766
} | 155 |
// 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/src/shared/primitives/enum_utils.dart';
import 'package:flutter_test/flutter_test.dart';
enum Color { red, green, blue }
vo... | devtools/packages/devtools_app/test/shared/enum_utils_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/enum_utils_test.dart",
"repo_id": "devtools",
"token_count": 478
} | 156 |
// 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/service/json_to_service_cache.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:vm_service/vm_servi... | devtools/packages/devtools_app/test/shared/json_to_service_cache_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/json_to_service_cache_test.dart",
"repo_id": "devtools",
"token_count": 2052
} | 157 |
// 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/framework_controller.dart';
import 'package:devtools_app_shared/u... | devtools/packages/devtools_app/test/shared/visible_screens_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/visible_screens_test.dart",
"repo_id": "devtools",
"token_count": 3580
} | 158 |
// 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.
// This lint gets in the way of testing.
// ignore_for_file: unused_element
void somePublicExportedMethod() {}
void _somePrivateExportedMethod() {}
int e... | devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/autocomplete_export.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/autocomplete_export.dart",
"repo_id": "devtools",
"token_count": 118
} | 159 |
// 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:io';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/config_specific/framework... | devtools/packages/devtools_app/test/test_infra/flutter_test_environment.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/flutter_test_environment.dart",
"repo_id": "devtools",
"token_count": 2473
} | 160 |
>// Copyright 2022 The Chromium Authors. All rights reserved.
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.double-slash.dart
>// Use of this source code is governed by a BSD-style license that can be
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.line.do... | devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/names.dart.golden/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/names.dart.golden",
"repo_id": "devtools",
"token_count": 11613
} | 161 |
// 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/memory/panes/diff/controller/diff_pane_controller.dart';
import ... | devtools/packages/devtools_app/test/test_infra/scenes/memory/default.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/scenes/memory/default.dart",
"repo_id": "devtools",
"token_count": 1967
} | 162 |
// 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/src/screens/profiler/cpu_profile_model.dart';
import 'package:devtools_app/src/shared/primitives/utils.dart';
final Map<Stri... | devtools/packages/devtools_app/test/test_infra/test_data/cpu_profiler/cpu_profile.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/cpu_profiler/cpu_profile.dart",
"repo_id": "devtools",
"token_count": 21807
} | 163 |
// 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.
part of 'sample_performance_data.dart';
// This is the Perfetto data from [samplePerformanceData] parsed as JSON.
final trackDescriptorEvents = [
{
... | devtools/packages/devtools_app/test/test_infra/test_data/performance/_perfetto_events_raw.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/performance/_perfetto_events_raw.dart",
"repo_id": "devtools",
"token_count": 23098
} | 164 |
// 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 'dart:io';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_test/devtools_tes... | devtools/packages/devtools_app/test/test_infra/utils/test_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/utils/test_utils.dart",
"repo_id": "devtools",
"token_count": 1227
} | 165 |
// 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/debugger/program_explorer_controller.dart';
import 'package:devtools_app/src/screens/vm_developer/object_inspecto... | devtools/packages/devtools_app/test/vm_developer/vm_developer_test_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/vm_developer/vm_developer_test_utils.dart",
"repo_id": "devtools",
"token_count": 2557
} | 166 |
// 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' as devtools_shared_ui;
import 'package:flutter/material.dart';
/// Example of using the [SplitPane] widget f... | devtools/packages/devtools_app_shared/example/ui/split_example.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/example/ui/split_example.dart",
"repo_id": "devtools",
"token_count": 703
} | 167 |
// 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:flutter/material.dart';
import 'package:pointer_interceptor/pointer_interceptor.dart';
import 'common.dart';
import... | devtools/packages/devtools_app_shared/lib/src/ui/dialogs.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/ui/dialogs.dart",
"repo_id": "devtools",
"token_count": 2936
} | 168 |
// 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.
export 'src/ui/common.dart';
export 'src/ui/dialogs.dart';
export 'src/ui/flex_split_column.dart';
export 'src/ui/split_pane.dart';
export 'src/ui/theme/i... | devtools/packages/devtools_app_shared/lib/ui.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/ui.dart",
"repo_id": "devtools",
"token_count": 143
} | 169 |
# Dart & Flutter DevTools Extensions
Extend Dart & Flutter's developer tool suite,
[Dart DevTools](https://docs.flutter.dev/tools/devtools/overview), with your own custom tool.
DevTools' extension framework allows you to build tools that can leverage existing frameworks
and utilities from DevTools (VM service connecti... | devtools/packages/devtools_extensions/README.md/0 | {
"file_path": "devtools/packages/devtools_extensions/README.md",
"repo_id": "devtools",
"token_count": 4296
} | 170 |
// 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.
part of '../_simulated_devtools_environment.dart';
class _UriConnectionDisplay extends StatelessWidget {
const _UriConnectionDisplay({
required thi... | devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/connection_ui/_connect.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/connection_ui/_connect.dart",
"repo_id": "devtools",
"token_count": 2415
} | 171 |
// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
// for details. 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:yaml/yaml.dart';
extension YamlExtension on YamlMap {
Map<String, Object?> toDartMap... | devtools/packages/devtools_shared/lib/src/extensions/yaml_utils.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/extensions/yaml_utils.dart",
"repo_id": "devtools",
"token_count": 377
} | 172 |
// 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';
/// A shim that imitates the interface of SseClient from package:sse.
///
/// This allows us to run DevTools with Flutter Desktop.
/... | devtools/packages/devtools_shared/lib/src/sse/_fake_sse.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/sse/_fake_sse.dart",
"repo_id": "devtools",
"token_count": 162
} | 173 |
// 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.
import 'dart:async';
import 'package:devtools_shared/src/deeplink/deeplink_manager.dart';
class FakeDeeplinkManager extends DeeplinkManager {
String? ... | devtools/packages/devtools_shared/test/fakes.dart/0 | {
"file_path": "devtools/packages/devtools_shared/test/fakes.dart",
"repo_id": "devtools",
"token_count": 498
} | 174 |
// 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/devtools_app.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'utils.d... | devtools/packages/devtools_test/lib/src/helpers/actions.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/helpers/actions.dart",
"repo_id": "devtools",
"token_count": 1596
} | 175 |
// 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:convert';
import 'dart:io';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app_shared/servic... | devtools/packages/devtools_test/lib/src/mocks/mocks.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/mocks/mocks.dart",
"repo_id": "devtools",
"token_count": 2960
} | 176 |
// Source code made available under the terms of the MIT license.
The MIT License (MIT)
Copyright (c) 2016 Roberto Huertas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, in... | devtools/third_party/packages/codicon/LICENSE/0 | {
"file_path": "devtools/third_party/packages/codicon/LICENSE",
"repo_id": "devtools",
"token_count": 5503
} | 177 |
{
"resources": {
"assets/MaterialSymbolsOutlined.woff2": "sha256-/n860MwbjBXNu9elB7w+y0ibhcikbvw4IJjz1GnmEGE=",
"assets/Roboto-100.woff2": "sha256-IkglhK6qex103gcnkyRsZeOLQCrCMfOLsNkQKAJUMjA=",
"assets/Roboto-300.woff2": "sha256-M1MLAHBxKBqX55uqsT3ffMS53pQuvT4hIiSFczX3y5c=",
"assets/Roboto-400.woff2":... | devtools/third_party/packages/perfetto_ui_compiled/lib/dist/v33.0-1838a06af/manifest.json/0 | {
"file_path": "devtools/third_party/packages/perfetto_ui_compiled/lib/dist/v33.0-1838a06af/manifest.json",
"repo_id": "devtools",
"token_count": 2394
} | 178 |
name: widget_icons
description: Icons for Flutter widgets
version: 0.0.2
homepage: https://github.com/flutter/devtools/tree/master/third_party/packages/widget_icons
environment:
sdk: ^3.0.0
flutter: ">=3.7.0"
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
flutter_l... | devtools/third_party/packages/widget_icons/pubspec.yaml/0 | {
"file_path": "devtools/third_party/packages/widget_icons/pubspec.yaml",
"repo_id": "devtools",
"token_count": 183
} | 179 |
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"dart_devtools_log": {
"title": "Dart DevTools Log Format",
"description": "Log format used for https://github.com/flutter/devtools logging.",
"url": "https://github.com/flutter/devtools",
"file-type": "json",
... | devtools/tool/devtools_lnav.json/0 | {
"file_path": "devtools/tool/devtools_lnav.json",
"repo_id": "devtools",
"token_count": 306
} | 180 |
// 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:io';
import 'package:args/command_runner.dart';
import 'package:devtools_tool/model.dart';
import 'package:devtools_tool/utils.dart';
import... | devtools/tool/lib/commands/serve.dart/0 | {
"file_path": "devtools/tool/lib/commands/serve.dart",
"repo_id": "devtools",
"token_count": 2886
} | 181 |
// 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/assets/asset_manager.h"
#include "flutter/assets/directory_asset_bundle.h"
#include "flutter/fml/trace_event.h"
namespace flutter {
As... | engine/assets/asset_manager.cc/0 | {
"file_path": "engine/assets/asset_manager.cc",
"repo_id": "engine",
"token_count": 1396
} | 182 |
#!/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.
"""
Copies the Info.plist and adds extra fields to it like the git hash of the
engine.
Precondition: $CWD/../../flutter is the path ... | engine/build/copy_info_plist.py/0 | {
"file_path": "engine/build/copy_info_plist.py",
"repo_id": "engine",
"token_count": 607
} | 183 |
# 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.
source_root = "//flutter/third_party/inja"
config("inja_public_config") {
include_dirs = [ "$source_root/include" ]
if (is_clang) {
cflags_cc = [
... | engine/build/secondary/third_party/inja/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/inja/BUILD.gn",
"repo_id": "engine",
"token_count": 520
} | 184 |
{
"builds": [
{
"drone_dimensions": [
"device_type=none",
"os=Linux",
"kvm=1",
"cores=8"
],
"gclient_variables": {
"use_rbe": true
},
"gn": [
"--android... | engine/ci/builders/linux_android_emulator_skia.json/0 | {
"file_path": "engine/ci/builders/linux_android_emulator_skia.json",
"repo_id": "engine",
"token_count": 2311
} | 185 |
{
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"cas_archive": false,
"name": "licenses",
"tests": [
{
"name": "licenses check",
"max_attempts": 1,
"script": "flutter/ci/licenses.sh"
}
]
}
| engine/ci/builders/standalone/linux_license.json/0 | {
"file_path": "engine/ci/builders/standalone/linux_license.json",
"repo_id": "engine",
"token_count": 169
} | 186 |
====================================================================================================
LIBRARY: angle
LIBRARY: glslang
ORIGIN: ../../../flutter/third_party/angle/src/compiler/preprocessor/preprocessor_tab_autogen.cpp
ORIGIN: ../../../flutter/third_party/angle/src/compiler/translator/glslang_tab_autogen.cp... | engine/ci/licenses_golden/licenses_flutter/0 | {
"file_path": "engine/ci/licenses_golden/licenses_flutter",
"repo_id": "engine",
"token_count": 1765179
} | 187 |
// 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_benchmarks.h"
#include "flutter/display_list/dl_builder.h"
#include "flutter/display_list/dl_op_flags.h"
#in... | engine/display_list/benchmarking/dl_benchmarks.cc/0 | {
"file_path": "engine/display_list/benchmarking/dl_benchmarks.cc",
"repo_id": "engine",
"token_count": 19212
} | 188 |
// 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_DL_ATTRIBUTES_H_
#define FLUTTER_DISPLAY_LIST_DL_ATTRIBUTES_H_
#include <memory>
namespace flutter {
// ===================... | engine/display_list/dl_attributes.h/0 | {
"file_path": "engine/display_list/dl_attributes.h",
"repo_id": "engine",
"token_count": 1361
} | 189 |
// 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_DL_PAINT_H_
#define FLUTTER_DISPLAY_LIST_DL_PAINT_H_
#include <memory>
#include <utility>
#include "flutter/display_list/dl_b... | engine/display_list/dl_paint.h/0 | {
"file_path": "engine/display_list/dl_paint.h",
"repo_id": "engine",
"token_count": 2756
} | 190 |
// 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/image/dl_image_skia.h"
namespace flutter {
DlImageSkia::DlImageSkia(sk_sp<SkImage> image) : image_(std::move(image)) {}
/... | engine/display_list/image/dl_image_skia.cc/0 | {
"file_path": "engine/display_list/image/dl_image_skia.cc",
"repo_id": "engine",
"token_count": 623
} | 191 |
// 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_snippets.h"
#include "flutter/display_list/dl_builder.h"
#include "flutter/display_list/dl_op_receiver.h"
#i... | engine/display_list/testing/dl_test_snippets.cc/0 | {
"file_path": "engine/display_list/testing/dl_test_snippets.cc",
"repo_id": "engine",
"token_count": 23330
} | 192 |
#!/bin/bash
set -e # Exit if any program returns an error.
if uname -m | grep "arm64"; then
variant="host_debug_unopt_arm64"
else
variant="host_debug_unopt"
fi
#################################################################
# Make the host C++ project.
#######################################################... | engine/examples/glfw/run.sh/0 | {
"file_path": "engine/examples/glfw/run.sh",
"repo_id": "engine",
"token_count": 310
} | 193 |
// 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_COMPOSITOR_CONTEXT_H_
#define FLUTTER_FLOW_COMPOSITOR_CONTEXT_H_
#include <memory>
#include <string>
#include "flutter/common/graphi... | engine/flow/compositor_context.h/0 | {
"file_path": "engine/flow/compositor_context.h",
"repo_id": "engine",
"token_count": 2810
} | 194 |
// 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/backdrop_filter_layer.h"
namespace flutter {
BackdropFilterLayer::BackdropFilterLayer(
std::shared_ptr<const DlImageFil... | engine/flow/layers/backdrop_filter_layer.cc/0 | {
"file_path": "engine/flow/layers/backdrop_filter_layer.cc",
"repo_id": "engine",
"token_count": 791
} | 195 |
// 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/color_filter_layer.h"
#include "flutter/display_list/dl_paint.h"
#include "flutter/display_list/utils/dl_comparable.h"
#incl... | engine/flow/layers/color_filter_layer.cc/0 | {
"file_path": "engine/flow/layers/color_filter_layer.cc",
"repo_id": "engine",
"token_count": 1214
} | 196 |
// 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/layer_raster_cache_item.h"
#include "flutter/flow/layers/container_layer.h"
#include "flutter/flow/raster_cache_item.h"
#incl... | engine/flow/layers/layer_raster_cache_item.cc/0 | {
"file_path": "engine/flow/layers/layer_raster_cache_item.cc",
"repo_id": "engine",
"token_count": 3310
} | 197 |
// 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/performance_overlay_layer.h"
#include <cstdint>
#include <sstream>
#include "flutter/flow/flow_test_utils.h"
#include "flut... | engine/flow/layers/performance_overlay_layer_unittests.cc/0 | {
"file_path": "engine/flow/layers/performance_overlay_layer_unittests.cc",
"repo_id": "engine",
"token_count": 3574
} | 198 |
// 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/paint_utils.h"
#include <stdlib.h>
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkI... | engine/flow/paint_utils.cc/0 | {
"file_path": "engine/flow/paint_utils.cc",
"repo_id": "engine",
"token_count": 779
} | 199 |
// 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/stopwatch_dl.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
static SkRect MakeRectFromVertices(SkPoint vertic... | engine/flow/stopwatch_dl_unittests.cc/0 | {
"file_path": "engine/flow/stopwatch_dl_unittests.cc",
"repo_id": "engine",
"token_count": 947
} | 200 |
// 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/testing/mock_layer.h"
#include <utility>
#include "flutter/flow/layers/container_layer.h"
#include "flutter/flow/layers/layer.h"
#... | engine/flow/testing/mock_layer.cc/0 | {
"file_path": "engine/flow/testing/mock_layer.cc",
"repo_id": "engine",
"token_count": 1021
} | 201 |
# 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("//flutter/flutter_vma/config.gni")
source_set("flutter_vma") {
sources = [
"flutter_vma.cc",
"flutter_vma.h",
]
if (disable_vma_stl_sh... | engine/flutter_vma/BUILD.gn/0 | {
"file_path": "engine/flutter_vma/BUILD.gn",
"repo_id": "engine",
"token_count": 366
} | 202 |
// 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/base32.h"
#include <iostream>
#include "gtest/gtest.h"
TEST(Base32Test, CanEncode) {
{
auto result = fml::Base32Encode("hell... | engine/fml/base32_unittest.cc/0 | {
"file_path": "engine/fml/base32_unittest.cc",
"repo_id": "engine",
"token_count": 1257
} | 203 |
// 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/fml/delayed_task.h"
namespace fml {
DelayedTask::DelayedTask(size_t order,
const... | engine/fml/delayed_task.cc/0 | {
"file_path": "engine/fml/delayed_task.cc",
"repo_id": "engine",
"token_count": 442
} | 204 |
// 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_LOG_LEVEL_H_
#define FLUTTER_FML_LOG_LEVEL_H_
namespace fml {
// Default log levels. Negative values can be used for verbose log leve... | engine/fml/log_level.h/0 | {
"file_path": "engine/fml/log_level.h",
"repo_id": "engine",
"token_count": 788
} | 205 |
// 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 tests both ref_counted.h and ref_ptr.h (which the former includes).
// TODO(vtl): Possibly we could separate these tests out better, since a l... | engine/fml/memory/ref_counted_unittest.cc/0 | {
"file_path": "engine/fml/memory/ref_counted_unittest.cc",
"repo_id": "engine",
"token_count": 8170
} | 206 |
// 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/fml/message_loop_task_queues.h"
#include <algorithm>
#include <iostream>
#include <memory>
#include <optio... | engine/fml/message_loop_task_queues.cc/0 | {
"file_path": "engine/fml/message_loop_task_queues.cc",
"repo_id": "engine",
"token_count": 5299
} | 207 |
// 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/android/message_loop_android.h"
#include <fcntl.h>
#include <unistd.h>
#include "flutter/fml/platform/linux/timerfd.h"
na... | engine/fml/platform/android/message_loop_android.cc/0 | {
"file_path": "engine/fml/platform/android/message_loop_android.cc",
"repo_id": "engine",
"token_count": 1248
} | 208 |
// 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/log_interest_listener.h"
#include <fidl/fuchsia.diagnostics/cpp/fidl.h>
#include <fidl/fuchsia.logger/cpp/fidl.h>
#... | engine/fml/platform/fuchsia/log_interest_listener.cc/0 | {
"file_path": "engine/fml/platform/fuchsia/log_interest_listener.cc",
"repo_id": "engine",
"token_count": 764
} | 209 |
// 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/file.h"
#include <dirent.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <cstring>
#... | engine/fml/platform/posix/file_posix.cc/0 | {
"file_path": "engine/fml/platform/posix/file_posix.cc",
"repo_id": "engine",
"token_count": 2923
} | 210 |
// 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/native_library.h"
#include <windows.h>
#include "flutter/fml/platform/win/wstring_conversion.h"
namespace fml {
NativeLibrary::Na... | engine/fml/platform/win/native_library_win.cc/0 | {
"file_path": "engine/fml/platform/win/native_library_win.cc",
"repo_id": "engine",
"token_count": 531
} | 211 |
// 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_STATUS_OR_H_
#define FLUTTER_FML_STATUS_OR_H_
#include <optional>
#include "flutter/fml/logging.h"
#include "flutter/fml/status.h"
n... | engine/fml/status_or.h/0 | {
"file_path": "engine/fml/status_or.h",
"repo_id": "engine",
"token_count": 918
} | 212 |
// 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/synchronization/sync_switch.h"
#include <thread>
#include "gtest/gtest.h"
using fml::SyncSwitch;
TEST(SyncSwitchTest, Basic) {
... | engine/fml/synchronization/sync_switch_unittest.cc/0 | {
"file_path": "engine/fml/synchronization/sync_switch_unittest.cc",
"repo_id": "engine",
"token_count": 811
} | 213 |
// 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_TIME_TIME_DELTA_H_
#define FLUTTER_FML_TIME_TIME_DELTA_H_
#include <chrono>
#include <cstdint>
#include <ctime>
#include <iosfwd>
#inc... | engine/fml/time/time_delta.h/0 | {
"file_path": "engine/fml/time/time_delta.h",
"repo_id": "engine",
"token_count": 1423
} | 214 |
```
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
----------------- ___ _ _ --------------------
----------------- |_ _|_ __ ___ _ __ ___| | | ___ _ __ -------------... | engine/impeller/README.md/0 | {
"file_path": "engine/impeller/README.md",
"repo_id": "engine",
"token_count": 3435
} | 215 |
// 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_IMPELLER_AIKS_CANVAS_RECORDER_H_
#define FLUTTER_IMPELLER_AIKS_CANVAS_RECORDER_H_
#include <cstdint>
#include "impeller/aiks/canvas.h"
#... | engine/impeller/aiks/canvas_recorder.h/0 | {
"file_path": "engine/impeller/aiks/canvas_recorder.h",
"repo_id": "engine",
"token_count": 5020
} | 216 |
// 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 "impeller/aiks/picture.h"
#include <memory>
#include <optional>
#include "impeller/base/validation.h"
#include "impeller/entity/entity.h"
#inclu... | engine/impeller/aiks/picture.cc/0 | {
"file_path": "engine/impeller/aiks/picture.cc",
"repo_id": "engine",
"token_count": 1195
} | 217 |
// 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_IMPELLER_BASE_VERSION_H_
#define FLUTTER_IMPELLER_BASE_VERSION_H_
#include <cstddef>
#include <optional>
#include <string>
#include <tuple... | engine/impeller/base/version.h/0 | {
"file_path": "engine/impeller/base/version.h",
"repo_id": "engine",
"token_count": 463
} | 218 |
// 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_IMPELLER_COMPILER_INCLUDER_H_
#define FLUTTER_IMPELLER_COMPILER_INCLUDER_H_
#include <string>
#include "flutter/fml/mapping.h"
#include "... | engine/impeller/compiler/includer.h/0 | {
"file_path": "engine/impeller/compiler/includer.h",
"repo_id": "engine",
"token_count": 798
} | 219 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.