text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// 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/lib/src/screens/memory/panes/chart/chart_pane.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/chart_pane.dart",
"repo_id": "devtools",
"token_count": 8245
} | 139 |
// 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 '../../../shared/heap/heap.dart';
String classesToCsv(Iterable<ClassData> classes) {
final csvBuffer = StringBuffer();
// Write the headers f... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/controller/utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/controller/utils.dart",
"repo_id": "devtools",
"token_count": 437
} | 140 |
// 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/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dar... | devtools/packages/devtools_app/lib/src/screens/memory/panes/profile/profile_pane_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/profile/profile_pane_controller.dart",
"repo_id": "devtools",
"token_count": 1910
} | 141 |
// 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';
// TODO(polina-c): use the same constants as for dash in the chart.
const _dashHeight = 2.0;
const _dashWidth = 5... | devtools/packages/devtools_app/lib/src/screens/memory/shared/primitives/painting.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/primitives/painting.dart",
"repo_id": "devtools",
"token_count": 650
} | 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';
import '../../../../shared/common_widgets.dart';
import '../../../.... | devtools/packages/devtools_app/lib/src/screens/performance/panes/controls/performance_settings.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/controls/performance_settings.dart",
"repo_id": "devtools",
"token_count": 658
} | 143 |
// 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 'dart:convert';
import 'dart:js_interop';
import 'dart:typed_data';
import 'package:devtools_app_shared/utils.dart';
import '... | devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/_perfetto_web.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/_perfetto_web.dart",
"repo_id": "devtools",
"token_count": 3885
} | 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 'package:vm_service/vm_service.dart';
import '../../service/vm_flags.dart' as vm_flags;
import '../../shared/globals.dart';
import '../vm_develope... | devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profile_service.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profile_service.dart",
"repo_id": "devtools",
"token_count": 1089
} | 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.
/// Low 'profile_period' value.
///
/// When this value is applied to the 'profile_period' VM flag, the VM will
/// collect one sample every millisecond.
... | devtools/packages/devtools_app/lib/src/screens/profiler/sampling_rate.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/sampling_rate.dart",
"repo_id": "devtools",
"token_count": 452
} | 146 |
// 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 '../../../shared/common_widgets.dart';
import '../../../shared/tree.dart';
import '../vm_developer_common_... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/class_hierarchy_explorer.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/class_hierarchy_explorer.dart",
"repo_id": "devtools",
"token_count": 484
} | 147 |
// 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 'package:vm_service/vm_service.dart';
import '../../../share... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_object_pool_display.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_object_pool_display.dart",
"repo_id": "devtools",
"token_count": 1345
} | 148 |
// 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:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/... | devtools/packages/devtools_app/lib/src/service/service_manager.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/service/service_manager.dart",
"repo_id": "devtools",
"token_count": 3876
} | 149 |
// 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';
/// Provides [animations] triggered by toggling the expanded and vi... | devtools/packages/devtools_app/lib/src/shared/collapsible_mixin.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/collapsible_mixin.dart",
"repo_id": "devtools",
"token_count": 702
} | 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_shared/ui.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import '../../common_widg... | devtools/packages/devtools_app/lib/src/shared/console/widgets/console_pane.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/widgets/console_pane.dart",
"repo_id": "devtools",
"token_count": 909
} | 151 |
// 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.
/// Reference to a Dart object.
///
/// This class is similar to the Observatory protocol InstanceRef with the
/// difference that InspectorInstanceRef ob... | devtools/packages/devtools_app/lib/src/shared/diagnostics/primitives/instance_ref.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/primitives/instance_ref.dart",
"repo_id": "devtools",
"token_count": 239
} | 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 'dart:async';
import 'package:flutter/foundation.dart';
import 'primitives/utils.dart';
/// Class that tracks whether work defined by when futur... | devtools/packages/devtools_app/lib/src/shared/future_work_tracker.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/future_work_tracker.dart",
"repo_id": "devtools",
"token_count": 521
} | 153 |
// 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:collection/collection.dart';
import '../primitives/utils.dart';
import 'adapted_heap_data.dart';
import 'class_name.dart';
/// Heap path... | devtools/packages/devtools_app/lib/src/shared/memory/retaining_path.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/memory/retaining_path.dart",
"repo_id": "devtools",
"token_count": 1082
} | 154 |
// 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:math' as math;
import 'package:collection/collection.dart' as collection;
import 'package:flutter/foundation.dart';
import 'package:flutter/... | devtools/packages/devtools_app/lib/src/shared/primitives/extent_delegate_list.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/extent_delegate_list.dart",
"repo_id": "devtools",
"token_count": 5682
} | 155 |
// 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 '../screens/debugger/codeview_controller.dart';
import '../s... | devtools/packages/devtools_app/lib/src/shared/profiler_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/profiler_utils.dart",
"repo_id": "devtools",
"token_count": 3908
} | 156 |
// 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';
/// If a [ColumnData] implements this interface, it can override how that cell
/// is rendered.
abstract class ColumnRenderer<T> {
... | devtools/packages/devtools_app/lib/src/shared/table/_table_column.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/table/_table_column.dart",
"repo_id": "devtools",
"token_count": 2327
} | 157 |
// 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 '../analytics/analytics.dart' as ga;
double get _tabHeight ... | devtools/packages/devtools_app/lib/src/shared/ui/tab.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/ui/tab.dart",
"repo_id": "devtools",
"token_count": 2703
} | 158 |
//
// Generated file. Do not edit.
//
import FlutterMacOS
import Foundation
import file_selector_macos
import shared_preferences_foundation
import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin... | devtools/packages/devtools_app/macos/Flutter/GeneratedPluginRegistrant.swift/0 | {
"file_path": "devtools/packages/devtools_app/macos/Flutter/GeneratedPluginRegistrant.swift",
"repo_id": "devtools",
"token_count": 154
} | 159 |
// 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:convert';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/app_size/app_size_table.dart';
import 'p... | devtools/packages/devtools_app/test/app_size/app_size_screen_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/app_size/app_size_screen_test.dart",
"repo_id": "devtools",
"token_count": 10536
} | 160 |
// 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/screens/debugger/codeview_controller.dart';
import 'package:devtools_app/src/service/service_manager.dart';
import 'packa... | devtools/packages/devtools_app/test/debugger/debugger_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_controller_test.dart",
"repo_id": "devtools",
"token_count": 3004
} | 161 |
// 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:convert';
import 'dart:typed_data';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/diagnostics/dar... | devtools/packages/devtools_app/test/debugger/typed_data_variable_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/typed_data_variable_test.dart",
"repo_id": "devtools",
"token_count": 6498
} | 162 |
// 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.
@TestOn('vm')
import 'dart:io';
import 'package:flutter_test/flutter_test.dart';
import 'app.dart';
import 'debugger.dart';
import 'integration.dart';
i... | devtools/packages/devtools_app/test/legacy_integration_tests/integration_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/legacy_integration_tests/integration_test.dart",
"repo_id": "devtools",
"token_count": 457
} | 163 |
// 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/framework/connected/memory_tabs.dart';
import 'package:devtools_app/src/screens/memory/framework/memory_sc... | devtools/packages/devtools_app/test/memory/profile/allocation_profile_table_view_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/profile/allocation_profile_table_view_test.dart",
"repo_id": "devtools",
"token_count": 4983
} | 164 |
// 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:flutter_test/flutter_test.dart';
import '../../test_infra/test_data/performance/sample_p... | devtools/packages/devtools_app/test/performance/flutter_frames/flutter_frame_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/flutter_frames/flutter_frame_model_test.dart",
"repo_id": "devtools",
"token_count": 789
} | 165 |
// 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:convert';
import 'package:devtools_app/devtools_app.dart';
import 'package:fixnum/fixnum.dart';
import 'package:flutter_test/flutter_test.da... | devtools/packages/devtools_app/test/performance/timeline_events/perfetto/tracing_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/timeline_events/perfetto/tracing_model_test.dart",
"repo_id": "devtools",
"token_count": 1921
} | 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/devtools_app.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('$RemoteDiagnosticsNode', () {
... | devtools/packages/devtools_app/test/shared/diagnostics/diagnostics_node_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/diagnostics/diagnostics_node_test.dart",
"repo_id": "devtools",
"token_count": 548
} | 167 |
// 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.
@TestOn('vm')
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/framework/initializer.dart';
import 'package:devtools_app/... | devtools/packages/devtools_app/test/shared/initializer_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/initializer_test.dart",
"repo_id": "devtools",
"token_count": 1306
} | 168 |
// 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/framework/scaffold.dart';
import 'package:devtools_app/src/shared/framew... | devtools/packages/devtools_app/test/shared/scaffold_debugging_controls_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/scaffold_debugging_controls_test.dart",
"repo_id": "devtools",
"token_count": 1664
} | 169 |
// 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/url_utils.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('url utils', (... | devtools/packages/devtools_app/test/shared/url_utils_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/url_utils_test.dart",
"repo_id": "devtools",
"token_count": 1126
} | 170 |
// 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:flutter/material.dart';
void main() => runApp(const OverflowingApp());
class OverflowingApp extends StatefulWidget {
const Overflowing... | devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/overflow_errors.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/overflow_errors.dart",
"repo_id": "devtools",
"token_count": 779
} | 171 |
name: memory_app
description: App for running DevTools integration and manual tests.
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: '>=3.0.0'
flutter: '>=3.0.0'
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
# For information on the generic Dart part of this ... | devtools/packages/devtools_app/test/test_infra/fixtures/memory_app/pubspec.yaml/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/memory_app/pubspec.yaml",
"repo_id": "devtools",
"token_count": 613
} | 172 |
>// 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/keywords.dart.golden/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/keywords.dart.golden",
"repo_id": "devtools",
"token_count": 9152
} | 173 |
// 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/devtools_app.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/u... | devtools/packages/devtools_app/test/test_infra/scenes/cpu_profiler/default.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/scenes/cpu_profiler/default.dart",
"repo_id": "devtools",
"token_count": 926
} | 174 |
// 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.
const smallInstructionSizes = '''
[
{
"l": "dart:_internal",
"c": "_CastListBase",
"n": "[Optimized] getRange",
"s": 112
}... | devtools/packages/devtools_app/test/test_infra/test_data/app_size/small_sizes.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/app_size/small_sizes.dart",
"repo_id": "devtools",
"token_count": 328
} | 175 |
// 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/src/shared/primitives/extent_delegate_list.dart';
import 'package:flutter/rendering.dart';
import 'package:flut... | devtools/packages/devtools_app/test/test_infra/utils/extent_delegate_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/utils/extent_delegate_utils.dart",
"repo_id": "devtools",
"token_count": 725
} | 176 |
// 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/vm_script_display.dart';
import 'p... | devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_script_display_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_script_display_test.dart",
"repo_id": "devtools",
"token_count": 1013
} | 177 |
// 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';
class ExampleWidget extends StatelessWidget {... | devtools/packages/devtools_app_shared/example/ui/common_example.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/example/ui/common_example.dart",
"repo_id": "devtools",
"token_count": 375
} | 178 |
// 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 'package:vm_service/vm_service.dart';
extension VmServiceExtension on VmService {
/// Retrieves the full string value of a [stringRef].
///
... | devtools/packages/devtools_app_shared/lib/src/service/service_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/service/service_utils.dart",
"repo_id": "devtools",
"token_count": 646
} | 179 |
// 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 'dart:math';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
// Method to convert degrees ... | devtools/packages/devtools_app_shared/lib/src/utils/utils.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/utils/utils.dart",
"repo_id": "devtools",
"token_count": 1165
} | 180 |
## 0.0.15-wip
* Bump `devtools_app_shared` to ^0.1.0
## 0.0.14
* Add a global `dtdManager` for interacting with the Dart Tooling Daemon.
* Add support for connecting to the Dart Tooling Daemon from the
simulated DevTools environment.
* Add help buttons to the VM Service and DTD connection text fields in the
simulated ... | devtools/packages/devtools_extensions/CHANGELOG.md/0 | {
"file_path": "devtools/packages/devtools_extensions/CHANGELOG.md",
"repo_id": "devtools",
"token_count": 1325
} | 181 |
extensions:
- foo: true | devtools/packages/devtools_extensions/example/app_that_uses_foo/devtools_options.yaml/0 | {
"file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/devtools_options.yaml",
"repo_id": "devtools",
"token_count": 9
} | 182 |
26e289bb660abaf2f8e21f419044bdfb | devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo/extension/devtools/build/.last_build_id/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo/extension/devtools/build/.last_build_id",
"repo_id": "devtools",
"token_count": 19
} | 183 |
{"app_name":"foo_devtools_extension","version":"1.0.0","package_name":"foo_devtools_extension"} | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/build/version.json/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/build/version.json",
"repo_id": "devtools",
"token_count": 33
} | 184 |
// 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';
@visibleForTesting
class SimulatedDevToolsController extends DisposableController
with AutoDisposeCon... | devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/_simulated_devtools_controller.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/_simulated_devtools_controller.dart",
"repo_id": "devtools",
"token_count": 1582
} | 185 |
## package:devtools_shared/devtools_shared.dart
This is a package shared between devtools_app, dds, and external
users accessing exported JSON files. This package contains structures
describing the format of JSON files e.g., HeapSample, memory structures
collected from the Dart VM (HeapSpace) and collected memory info... | devtools/packages/devtools_shared/README.md/0 | {
"file_path": "devtools/packages/devtools_shared/README.md",
"repo_id": "devtools",
"token_count": 158
} | 186 |
// Copyright (c) 2023, 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.
// ignore_for_file: avoid_print
import 'dart:io';
import 'package:extension_discovery/extension_disco... | devtools/packages/devtools_shared/lib/src/extensions/extension_manager.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/extensions/extension_manager.dart",
"repo_id": "devtools",
"token_count": 2620
} | 187 |
// 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.
// Code needs to match API from VmService.
// ignore_for_file: avoid-dynamic
import 'dart:async';
import 'package:vm_service/utils.dart';
import 'packag... | devtools/packages/devtools_shared/lib/src/service/service.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/service/service.dart",
"repo_id": "devtools",
"token_count": 1432
} | 188 |
// Copyright (c) 2023, 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.
@TestOn('vm')
import 'dart:io';
import 'package:devtools_shared/devtools_extensions_io.dart';
import ... | devtools/packages/devtools_shared/test/extensions/extension_manager_test.dart/0 | {
"file_path": "devtools/packages/devtools_shared/test/extensions/extension_manager_test.dart",
"repo_id": "devtools",
"token_count": 906
} | 189 |
name: ansi_up
description: Minimal package containing 'ansi_up' third_party dependency used by package:devtools.
homepage: https://github.com/flutter/devtools/tree/master/third_party/packages/ansi_up
version: 1.0.0
environment:
sdk: ^3.0.0
dev_dependencies:
lints: ^3.0.0
| devtools/third_party/packages/ansi_up/pubspec.yaml/0 | {
"file_path": "devtools/third_party/packages/ansi_up/pubspec.yaml",
"repo_id": "devtools",
"token_count": 102
} | 190 |
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>Perfetto UI</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<link rel="shortcut icon" id="favicon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<link id=... | devtools/third_party/packages/perfetto_ui_compiled/lib/dist/index.html/0 | {
"file_path": "devtools/third_party/packages/perfetto_ui_compiled/lib/dist/index.html",
"repo_id": "devtools",
"token_count": 2145
} | 191 |
// 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.
// ignore_for_file: constant_identifier_names
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
class WidgetIcons {
stati... | devtools/third_party/packages/widget_icons/lib/widget_icons.dart/0 | {
"file_path": "devtools/third_party/packages/widget_icons/lib/widget_icons.dart",
"repo_id": "devtools",
"token_count": 1909
} | 192 |
#!/bin/bash
# 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.
# Fast fail the script on failures.
set -ex
export SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
export DEVTO... | devtools/tool/ci/setup.sh/0 | {
"file_path": "devtools/tool/ci/setup.sh",
"repo_id": "devtools",
"token_count": 852
} | 193 |
// 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:args/command_runner.dart';
import '../model.dart';
class RepoCheckCommand extends Command {
@override
String g... | devtools/tool/lib/commands/repo_check.dart/0 | {
"file_path": "devtools/tool/lib/commands/repo_check.dart",
"repo_id": "devtools",
"token_count": 866
} | 194 |
# Defines the Chromium style for automatic reformatting.
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: Chromium
# This defaults to 'Auto'. Explicitly set it for a while, so that
# 'vector<vector<int> >' in existing files gets formatted to
# 'vector<vector<int>>'. ('Auto' means that clang-forma... | engine/.clang-format/0 | {
"file_path": "engine/.clang-format",
"repo_id": "engine",
"token_count": 139
} | 195 |
# Specify analysis options.
#
# This file is a copy of analysis_options.yaml from flutter repo
# as of 2023-12-18, but with some modifications marked with
# "DIFFERENT FROM FLUTTER/FLUTTER" below.
analyzer:
language:
strict-casts: true
strict-inference: true
strict-raw-types: true
errors:
# allow d... | engine/analysis_options.yaml/0 | {
"file_path": "engine/analysis_options.yaml",
"repo_id": "engine",
"token_count": 3955
} | 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.
import("//flutter/build/dart/dart.gni")
# Generates an assembly file defining a given symbol with the bytes from a
# binary file. Places the symbol in a text... | engine/build/bin_to_obj.gni/0 | {
"file_path": "engine/build/bin_to_obj.gni",
"repo_id": "engine",
"token_count": 1171
} | 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.
import("glfw_args.gni")
_checkout_dir = "//flutter/third_party/glfw"
config("relative_glfw_headers") {
include_dirs = [
"$_checkout_dir/include",
... | engine/build/secondary/flutter/third_party/glfw/BUILD.gn/0 | {
"file_path": "engine/build/secondary/flutter/third_party/glfw/BUILD.gn",
"repo_id": "engine",
"token_count": 1751
} | 198 |
{
"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_api_33.json/0 | {
"file_path": "engine/ci/builders/linux_android_emulator_api_33.json",
"repo_id": "engine",
"token_count": 2187
} | 199 |
{
"builds": [
{
"drone_dimensions": [
"device_type=none",
"os=Mac-13",
"cpu=x86",
"mac_model=Macmini8,1"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": tr... | engine/ci/builders/mac_unopt.json/0 | {
"file_path": "engine/ci/builders/mac_unopt.json",
"repo_id": "engine",
"token_count": 6860
} | 200 |
../../../.clang-format
../../../.git
../../../.gitattributes
../../../.github
../../../.gitignore
../../../.gn
../../../AUTHORS
../../../CODEOWNERS
../../../README.md
../../../build
../../../build_overrides
../../../buildtools
../../../flutter/.ci.yaml
../../../flutter/.clang-format
../../../flutter/.clang-tidy
../../.... | engine/ci/licenses_golden/excluded_files/0 | {
"file_path": "engine/ci/licenses_golden/excluded_files",
"repo_id": "engine",
"token_count": 91335
} | 201 |
# These symbols are looked up from within the executable at runtime and must
# be exported in the dynamic symbol table.
{
kDartVmSnapshotData;
kDartVmSnapshotInstructions;
kDartIsolateSnapshotData;
kDartIsolateSnapshotInstructions;
InternalFlutterGpu*;
kInternalFlutterGpu*;
};
| engine/common/exported_symbols.sym/0 | {
"file_path": "engine/common/exported_symbols.sym",
"repo_id": "engine",
"token_count": 94
} | 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.
#ifndef FLUTTER_COMMON_TASK_RUNNERS_H_
#define FLUTTER_COMMON_TASK_RUNNERS_H_
#include <string>
#include "flutter/fml/macros.h"
#include "flutter/fml/tas... | engine/common/task_runners.h/0 | {
"file_path": "engine/common/task_runners.h",
"repo_id": "engine",
"token_count": 496
} | 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.
#ifndef FLUTTER_DISPLAY_LIST_DISPLAY_LIST_H_
#define FLUTTER_DISPLAY_LIST_DISPLAY_LIST_H_
#include <memory>
#include <optional>
#include "flutter/display... | engine/display_list/display_list.h/0 | {
"file_path": "engine/display_list/display_list.h",
"repo_id": "engine",
"token_count": 5463
} | 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_DISPLAY_LIST_DL_OP_RECORDS_H_
#define FLUTTER_DISPLAY_LIST_DL_OP_RECORDS_H_
#include "flutter/display_list/display_list.h"
#include "flutt... | engine/display_list/dl_op_records.h/0 | {
"file_path": "engine/display_list/dl_op_records.h",
"repo_id": "engine",
"token_count": 23361
} | 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.
#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_DL_IMAGE_FILTER_H_
#define FLUTTER_DISPLAY_LIST_EFFECTS_DL_IMAGE_FILTER_H_
#include <utility>
#include "flutter/disp... | engine/display_list/effects/dl_image_filter.h/0 | {
"file_path": "engine/display_list/effects/dl_image_filter.h",
"repo_id": "engine",
"token_count": 11688
} | 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.
#include "flutter/display_list/image/dl_image.h"
#include "flutter/display_list/image/dl_image_skia.h"
namespace flutter {
sk_sp<DlImage> DlImage::Make(... | engine/display_list/image/dl_image.cc/0 | {
"file_path": "engine/display_list/image/dl_image.cc",
"repo_id": "engine",
"token_count": 314
} | 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 <utility>
#include "flutter/display_list/display_list.h"
#include "flutter/display_list/dl_builder.h"
#include "flutter/display_list/dl_op_flags.... | engine/display_list/testing/dl_rendering_unittests.cc/0 | {
"file_path": "engine/display_list/testing/dl_rendering_unittests.cc",
"repo_id": "engine",
"token_count": 91351
} | 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.
#ifndef FLUTTER_DISPLAY_LIST_UTILS_DL_MATRIX_CLIP_TRACKER_H_
#define FLUTTER_DISPLAY_LIST_UTILS_DL_MATRIX_CLIP_TRACKER_H_
#include <vector>
#include "flu... | engine/display_list/utils/dl_matrix_clip_tracker.h/0 | {
"file_path": "engine/display_list/utils/dl_matrix_clip_tracker.h",
"repo_id": "engine",
"token_count": 2094
} | 209 |
# Flutter Embedder Engine GLFW Example
## Description
This is an example of how to use Flutter Engine Embedder in order to get a
Flutter project rendering in a new host environment. The intended audience is
people who need to support host environment other than the ones already provided
by Flutter. This is an advance... | engine/examples/glfw/README.md/0 | {
"file_path": "engine/examples/glfw/README.md",
"repo_id": "engine",
"token_count": 578
} | 210 |
Flow
====
Flow is a simple compositor based on Skia that the Flutter engine uses to cache
recorded paint commands and pixels generated from those recordings. Flow runs on
the raster thread and uploads information to Skia.
| engine/flow/README.md/0 | {
"file_path": "engine/flow/README.md",
"repo_id": "engine",
"token_count": 51
} | 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.
#include "flutter/flow/layer_snapshot_store.h"
#include "flutter/fml/time/time_delta.h"
#include "flutter/fml/time/time_point.h"
namespace flutter {
Lay... | engine/flow/layer_snapshot_store.cc/0 | {
"file_path": "engine/flow/layer_snapshot_store.cc",
"repo_id": "engine",
"token_count": 376
} | 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/flow/layers/clip_rrect_layer.h"
#include "flutter/flow/layers/layer_tree.h"
#include "flutter/flow/layers/opacity_layer.h"
#include "flu... | engine/flow/layers/clip_rrect_layer_unittests.cc/0 | {
"file_path": "engine/flow/layers/clip_rrect_layer_unittests.cc",
"repo_id": "engine",
"token_count": 9582
} | 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.
#include "flutter/flow/layers/layer.h"
#include "flutter/flow/paint_utils.h"
namespace flutter {
Layer::Layer()
: paint_bounds_(SkRect::MakeEmpty())... | engine/flow/layers/layer.cc/0 | {
"file_path": "engine/flow/layers/layer.cc",
"repo_id": "engine",
"token_count": 664
} | 214 |
// 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 <iomanip>
#include <iostream>
#include <memory>
#include <string>
#include "flow/stop... | engine/flow/layers/performance_overlay_layer.cc/0 | {
"file_path": "engine/flow/layers/performance_overlay_layer.cc",
"repo_id": "engine",
"token_count": 2273
} | 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.
#include "flutter/flow/paint_region.h"
namespace flutter {
SkRect PaintRegion::ComputeBounds() const {
SkRect res = SkRect::MakeEmpty();
for (const a... | engine/flow/paint_region.cc/0 | {
"file_path": "engine/flow/paint_region.cc",
"repo_id": "engine",
"token_count": 132
} | 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 "flutter/flow/stopwatch_dl.h"
#include <memory>
#include <vector>
#include "display_list/dl_blend_mode.h"
#include "display_list/dl_canvas.h"
#inc... | engine/flow/stopwatch_dl.cc/0 | {
"file_path": "engine/flow/stopwatch_dl.cc",
"repo_id": "engine",
"token_count": 2222
} | 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.
#include "flutter/flow/testing/mock_embedder.h"
namespace flutter {
namespace testing {
MockViewEmbedder::MockViewEmbedder() = default;
MockViewEmbedder... | engine/flow/testing/mock_embedder.cc/0 | {
"file_path": "engine/flow/testing/mock_embedder.cc",
"repo_id": "engine",
"token_count": 572
} | 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.
import 'dart:convert';
import 'dart:ui';
void main() {
final Paint paint = Paint()..color = Color(0xFFFFFFFF);
print(jsonEncode(<String, String>{
... | engine/flutter_frontend_server/test/fixtures/lib/main.dart/0 | {
"file_path": "engine/flutter_frontend_server/test/fixtures/lib/main.dart",
"repo_id": "engine",
"token_count": 225
} | 219 |
// 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 <cstdint> // uint8_t
#include <limits>
#include <string>
namespace fml {
static constexpr char kEncoding[] = "... | engine/fml/base32.cc/0 | {
"file_path": "engine/fml/base32.cc",
"repo_id": "engine",
"token_count": 868
} | 220 |
// 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_CPU_AFFINITY_H_
#define FLUTTER_FML_CPU_AFFINITY_H_
#include <optional>
#include <string>
#include <vector>
namespace fml {
/// The ... | engine/fml/cpu_affinity.h/0 | {
"file_path": "engine/fml/cpu_affinity.h",
"repo_id": "engine",
"token_count": 932
} | 221 |
// 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/icu_util.h"
#include <memory>
#include <mutex>
#include "flutter/fml/build_config.h"
#include "flutter/fml/logging.h"
#include "flu... | engine/fml/icu_util.cc/0 | {
"file_path": "engine/fml/icu_util.cc",
"repo_id": "engine",
"token_count": 1296
} | 222 |
// 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.
// Provides a base class for reference-counted classes.
#ifndef FLUTTER_FML_MEMORY_REF_COUNTED_H_
#define FLUTTER_FML_MEMORY_REF_COUNTED_H_
#include "flu... | engine/fml/memory/ref_counted.h/0 | {
"file_path": "engine/fml/memory/ref_counted.h",
"repo_id": "engine",
"token_count": 1563
} | 223 |
// 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_impl.h"
#include <algorithm>
#include <vector>
#include "flutter/fml/build_config.h"
#in... | engine/fml/message_loop_impl.cc/0 | {
"file_path": "engine/fml/message_loop_impl.cc",
"repo_id": "engine",
"token_count": 1582
} | 224 |
// 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/jni_weak_ref.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/platform/android/jni_util.h"
namespace fml ... | engine/fml/platform/android/jni_weak_ref.cc/0 | {
"file_path": "engine/fml/platform/android/jni_weak_ref.cc",
"repo_id": "engine",
"token_count": 615
} | 225 |
// 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/message_loop.h"
#include "flutter/fml/platform/darwin/scoped_nsobject.h"
#include "flutter/fml/platform/darwin/weak_nsobject.h"
#incl... | engine/fml/platform/darwin/weak_nsobject_arc_unittests.mm/0 | {
"file_path": "engine/fml/platform/darwin/weak_nsobject_arc_unittests.mm",
"repo_id": "engine",
"token_count": 1383
} | 226 |
// 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_LINUX_TIMERFD_H_
#define FLUTTER_FML_PLATFORM_LINUX_TIMERFD_H_
#include "flutter/fml/time/time_point.h"
// clang-format off
... | engine/fml/platform/linux/timerfd.h/0 | {
"file_path": "engine/fml/platform/linux/timerfd.h",
"repo_id": "engine",
"token_count": 636
} | 227 |
// 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/win/message_loop_win.h"
#include <VersionHelpers.h>
#include <timeapi.h>
#include "flutter/fml/logging.h"
constexpr uint3... | engine/fml/platform/win/message_loop_win.cc/0 | {
"file_path": "engine/fml/platform/win/message_loop_win.cc",
"repo_id": "engine",
"token_count": 590
} | 228 |
// 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_SIZE_H_
#define FLUTTER_FML_SIZE_H_
#include <cstddef>
namespace fml {
template <typename T, std::size_t N>
constexpr std::size_t si... | engine/fml/size.h/0 | {
"file_path": "engine/fml/size.h",
"repo_id": "engine",
"token_count": 151
} | 229 |
// 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"
namespace fml {
SyncSwitch::Handlers& SyncSwitch::Handlers::SetIfTrue(
const std::function<void(... | engine/fml/synchronization/sync_switch.cc/0 | {
"file_path": "engine/fml/synchronization/sync_switch.cc",
"repo_id": "engine",
"token_count": 532
} | 230 |
// 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/time/chrono_timestamp_provider.h"
#include <chrono>
namespace fml {
ChronoTimestampProvider::ChronoTimestampProvider() = default;
... | engine/fml/time/chrono_timestamp_provider.cc/0 | {
"file_path": "engine/fml/time/chrono_timestamp_provider.cc",
"repo_id": "engine",
"token_count": 244
} | 231 |
// 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_H_
#define FLUTTER_IMPELLER_AIKS_CANVAS_H_
#include <deque>
#include <functional>
#include <memory>
#include <optiona... | engine/impeller/aiks/canvas.h/0 | {
"file_path": "engine/impeller/aiks/canvas.h",
"repo_id": "engine",
"token_count": 2360
} | 232 |
// 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/paint_pass_delegate.h"
#include "impeller/core/formats.h"
#include "impeller/core/sampler_descriptor.h"
#include "impeller/entity/... | engine/impeller/aiks/paint_pass_delegate.cc/0 | {
"file_path": "engine/impeller/aiks/paint_pass_delegate.cc",
"repo_id": "engine",
"token_count": 1957
} | 233 |
// 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_BACKEND_CAST_H_
#define FLUTTER_IMPELLER_BASE_BACKEND_CAST_H_
namespace impeller {
template <class Sub, class Base>
class B... | engine/impeller/base/backend_cast.h/0 | {
"file_path": "engine/impeller/base/backend_cast.h",
"repo_id": "engine",
"token_count": 263
} | 234 |
// 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_VALIDATION_H_
#define FLUTTER_IMPELLER_BASE_VALIDATION_H_
#include <sstream>
namespace impeller {
class ValidationLog {
p... | engine/impeller/base/validation.h/0 | {
"file_path": "engine/impeller/base/validation.h",
"repo_id": "engine",
"token_count": 607
} | 235 |
// 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_INCLUDE_DIR_H_
#define FLUTTER_IMPELLER_COMPILER_INCLUDE_DIR_H_
#include <memory>
#include <string>
#include "flutter/f... | engine/impeller/compiler/include_dir.h/0 | {
"file_path": "engine/impeller/compiler/include_dir.h",
"repo_id": "engine",
"token_count": 210
} | 236 |
# 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.
copy("impeller") {
sources = [
"blending.glsl",
"branching.glsl",
"color.glsl",
"constants.glsl",
"conversions.glsl",
"dithering.gls... | engine/impeller/compiler/shader_lib/impeller/BUILD.gn/0 | {
"file_path": "engine/impeller/compiler/shader_lib/impeller/BUILD.gn",
"repo_id": "engine",
"token_count": 243
} | 237 |
// 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/compiler/source_options.h"
namespace impeller {
namespace compiler {
SourceOptions::SourceOptions() = default;
SourceOptions::SourceO... | engine/impeller/compiler/source_options.cc/0 | {
"file_path": "engine/impeller/compiler/source_options.cc",
"repo_id": "engine",
"token_count": 237
} | 238 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.