text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
#include "Generated.xcconfig"
| devtools/case_study/code_size/optimized/code_size_package/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "devtools/case_study/code_size/optimized/code_size_package/ios/Flutter/Debug.xcconfig",
"repo_id": "devtools",
"token_count": 12
} | 69 |
name: code_size_package
description: A Flutter project demonstrating code size issues with packages.
publish_to: none
environment:
sdk: ^3.0.0
dependencies:
flutter:
sdk: flutter
steel_crypt: ^3.0.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
| devtools/case_study/code_size/optimized/code_size_package/pubspec.yaml/0 | {
"file_path": "devtools/case_study/code_size/optimized/code_size_package/pubspec.yaml",
"repo_id": "devtools",
"token_count": 112
} | 70 |
package com.example.memory_leaks_images
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| devtools/case_study/memory_leaks/images_1/android/app/src/main/kotlin/com/example/memory_leaks_images/MainActivity.kt/0 | {
"file_path": "devtools/case_study/memory_leaks/images_1/android/app/src/main/kotlin/com/example/memory_leaks_images/MainActivity.kt",
"repo_id": "devtools",
"token_count": 41
} | 71 |
package com.example.leaking_counter_1
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| devtools/case_study/memory_leaks/leaking_counter_1/android/app/src/main/kotlin/com/example/leaking_counter_1/MainActivity.kt/0 | {
"file_path": "devtools/case_study/memory_leaks/leaking_counter_1/android/app/src/main/kotlin/com/example/leaking_counter_1/MainActivity.kt",
"repo_id": "devtools",
"token_count": 41
} | 72 |
#include "ephemeral/Flutter-Generated.xcconfig"
| devtools/case_study/memory_leaks/leaking_counter_1/macos/Flutter/Flutter-Debug.xcconfig/0 | {
"file_path": "devtools/case_study/memory_leaks/leaking_counter_1/macos/Flutter/Flutter-Debug.xcconfig",
"repo_id": "devtools",
"token_count": 19
} | 73 |
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProje... | devtools/case_study/memory_leaks/memory_leak_app/android/build.gradle/0 | {
"file_path": "devtools/case_study/memory_leaks/memory_leak_app/android/build.gradle",
"repo_id": "devtools",
"token_count": 194
} | 74 |
# platform_channel
A Flutter example that uses a platform channel
| devtools/case_study/platform_channel/README.md/0 | {
"file_path": "devtools/case_study/platform_channel/README.md",
"repo_id": "devtools",
"token_count": 16
} | 75 |
---
redirect_to: https://flutter.dev/docs/development/tools/devtools/memory
---
| devtools/docs/memory.md/0 | {
"file_path": "devtools/docs/memory.md",
"repo_id": "devtools",
"token_count": 27
} | 76 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'dart:io';
import 'package:args/args.dart';
import 'package:web_benchmarks/analysis.dart';
import 'package:web_benchmarks/s... | devtools/packages/devtools_app/benchmark/scripts/run_benchmarks.dart/0 | {
"file_path": "devtools/packages/devtools_app/benchmark/scripts/run_benchmarks.dart",
"repo_id": "devtools",
"token_count": 1902
} | 77 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/performance/panes/timeline_events/timeline_events_view.dart';
im... | devtools/packages/devtools_app/integration_test/test/live_connection/performance_screen_event_recording_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/integration_test/test/live_connection/performance_screen_event_recording_test.dart",
"repo_id": "devtools",
"token_count": 1450
} | 78 |
## What are DevTools extensions?
DevTools extensions are custom tooling screens provided by pub packages that
can be loaded into DevTools at runtime.
This feature is under construction - more documentation to come.
| devtools/packages/devtools_app/lib/src/extensions/README.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/extensions/README.md",
"repo_id": "devtools",
"token_count": 46
} | 79 |
// 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:devtools_shared/devto... | devtools/packages/devtools_app/lib/src/framework/home_screen.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/framework/home_screen.dart",
"repo_id": "devtools",
"token_count": 4812
} | 80 |
// 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 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:lo... | devtools/packages/devtools_app/lib/src/screens/debugger/codeview_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/codeview_controller.dart",
"repo_id": "devtools",
"token_count": 6136
} | 81 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../shared/primitives/utils.dart';
import '../../shared/t... | devtools/packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_model.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/deep_link_validation/deep_links_model.dart",
"repo_id": "devtools",
"token_count": 7998
} | 82 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'theme.dart';
/// Text widget for displaying width / height.
Widget dimensionDescription(
TextSpan desc... | devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/dimension.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/dimension.dart",
"repo_id": "devtools",
"token_count": 353
} | 83 |
This folder contains code not used by memory panes.
| devtools/packages/devtools_app/lib/src/screens/memory/framework/README.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/framework/README.md",
"repo_id": "devtools",
"token_count": 12
} | 84 |
// 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:devtools_app_shared/utils.dart';
import 'package:devtools_shared/devtools_shared.dart';
impo... | devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/memory_vm_chart.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/memory_vm_chart.dart",
"repo_id": "devtools",
"token_count": 3510
} | 85 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../../../shared/analytics/analytics.dart' as ga;
impo... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/classes_table_diff.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/classes_table_diff.dart",
"repo_id": "devtools",
"token_count": 4163
} | 86 |
This folder contains code shared between memory screen panes.
For clarity of contracts, it is preferred that code in this folder
does not depend on any `memory` code outside this folder.
| devtools/packages/devtools_app/lib/src/screens/memory/shared/README.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/README.md",
"repo_id": "devtools",
"token_count": 41
} | 87 |
// 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/foundation.dart';
import 'package:flutter/material.dart';
im... | devtools/packages/devtools_app/lib/src/screens/network/network_request_inspector_views.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/network/network_request_inspector_views.dart",
"repo_id": "devtools",
"token_count": 12246
} | 88 |
// 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:math' as math;
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/materi... | devtools/packages/devtools_app/lib/src/screens/performance/panes/frame_analysis/frame_time_visualizer.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/frame_analysis/frame_time_visualizer.dart",
"repo_id": "devtools",
"token_count": 3692
} | 89 |
// 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:devtools_app_shared/utils.dart';
import 'package:vm_service/vm_service.dart';
import '../../service/service_registr... | devtools/packages/devtools_app/lib/src/screens/performance/performance_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/performance_controller.dart",
"repo_id": "devtools",
"token_count": 3508
} | 90 |
// 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/analytics/constants.dart' as gac;
import... | devtools/packages/devtools_app/lib/src/screens/profiler/panes/controls/profiler_screen_controls.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/panes/controls/profiler_screen_controls.dart",
"repo_id": "devtools",
"token_count": 2282
} | 91 |
// 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:collection/collection.dart';
import 'package:devtools_app_shared/service.dart';
import 'package:flutter/foundation.dart';
import 'package:... | devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/result.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/result.dart",
"repo_id": "devtools",
"token_count": 817
} | 92 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:vm_service/vm_service.dart';
import '../../../shared/common_widgets.dart';
import '../../../share... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/object_viewport.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/object_viewport.dart",
"repo_id": "devtools",
"token_count": 1774
} | 93 |
// 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:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.da... | devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_developer_common_widgets.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_developer_common_widgets.dart",
"repo_id": "devtools",
"token_count": 13570
} | 94 |
// 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 'analytics.dart' as ga;
import 'analytics_controller.dart';
FutureOr<AnalyticsController> get devToolsAnalyticsController as... | devtools/packages/devtools_app/lib/src/shared/analytics/_analytics_controller_stub.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/_analytics_controller_stub.dart",
"repo_id": "devtools",
"token_count": 138
} | 95 |
// 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 'analytics_common.dart';
class MemoryScreenMetrics extends ScreenAnalyticsMetrics {
MemoryScreenMetrics({
this.heapObjectsTotal,
this.he... | devtools/packages/devtools_app/lib/src/shared/analytics/metrics.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/metrics.dart",
"repo_id": "devtools",
"token_count": 759
} | 96 |
// 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';
import '../../primitives/utils.dart';
import '_drag_and_drop_desktop.dar... | devtools/packages/devtools_app/lib/src/shared/config_specific/drag_and_drop/drag_and_drop.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/drag_and_drop/drag_and_drop.dart",
"repo_id": "devtools",
"token_count": 2046
} | 97 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:logging/logging.dart';
final _log = Logger('allowed_error_default');
/// Catch and print errors from the given future. These errors are ... | devtools/packages/devtools_app/lib/src/shared/config_specific/logger/_allowed_error_default.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/logger/_allowed_error_default.dart",
"repo_id": "devtools",
"token_count": 321
} | 98 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dar... | devtools/packages/devtools_app/lib/src/shared/console/console_service.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/console_service.dart",
"repo_id": "devtools",
"token_count": 3932
} | 99 |
// 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_shared/devtools_extensions.dart';
import 'package:flutter/foundation.dart';
import 'package:logging/logging... | devtools/packages/devtools_app/lib/src/shared/development_helpers.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/development_helpers.dart",
"repo_id": "devtools",
"token_count": 1886
} | 100 |
// 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:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../shared/config_specific/launch_url/... | devtools/packages/devtools_app/lib/src/shared/dialogs.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/dialogs.dart",
"repo_id": "devtools",
"token_count": 649
} | 101 |
// 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.
/// This library contains code pulled from dart:io that is not platform specific.
library;
part '_http_cookies.dart';
part '_http_date.dart';
part '_http... | devtools/packages/devtools_app/lib/src/shared/http/http.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/http/http.dart",
"repo_id": "devtools",
"token_count": 98
} | 102 |
// 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 'preferences.dart';
class InspectorPreferencesController extends DisposableController
with AutoDisposeControllerMixin {
ValueListenable<boo... | devtools/packages/devtools_app/lib/src/shared/preferences/_inspector_preferences.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/preferences/_inspector_preferences.dart",
"repo_id": "devtools",
"token_count": 4120
} | 103 |
// 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:math' as math;
// TODO(jacobr): move more math utils over to this library.
double sum(Iterable<double> numbers) =>
numbers.fold(0, (sum,... | devtools/packages/devtools_app/lib/src/shared/primitives/math_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/math_utils.dart",
"repo_id": "devtools",
"token_count": 185
} | 104 |
// 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 'server.dart';
/// Asks the Devtools Server to return a Dart Tooling Daemon uri if it has one.
Future<Uri?> getDtdUri() async {
if (isDevToolsS... | devtools/packages/devtools_app/lib/src/shared/server/_dtd_api.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/server/_dtd_api.dart",
"repo_id": "devtools",
"token_count": 242
} | 105 |
// 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/foundation.dart';
import 'globals.dart';
void generateDevToolsTitle() {
if (!serviceConnection.serviceManager.connectedAppInit... | devtools/packages/devtools_app/lib/src/shared/title.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/title.dart",
"repo_id": "devtools",
"token_count": 224
} | 106 |
// 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:json_rpc_2/json_rpc_2.dart' as json_rpc_2;
import 'package:meta/meta.dart';
import '../vs_code_api.dart';
import 'dart_tooling_api.dart';... | devtools/packages/devtools_app/lib/src/standalone_ui/api/impl/vs_code_api.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/standalone_ui/api/impl/vs_code_api.dart",
"repo_id": "devtools",
"token_count": 3410
} | 107 |
// 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:devtools_app/src/screens/profiler/panes/method_table/method_table_model.dart';
import 'pa... | devtools/packages/devtools_app/test/cpu_profiler/method_table/method_table_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/cpu_profiler/method_table/method_table_model_test.dart",
"repo_id": "devtools",
"token_count": 1631
} | 108 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'pa... | devtools/packages/devtools_app/test/debugger/debugger_screen_explorer_visibility_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_screen_explorer_visibility_test.dart",
"repo_id": "devtools",
"token_count": 1779
} | 109 |
// 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:typed_data';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/http/curl_command.dart';
import 'packa... | devtools/packages/devtools_app/test/http/curl_command_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/http/curl_command_test.dart",
"repo_id": "devtools",
"token_count": 3700
} | 110 |
// 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/memory/framework/memory_screen.dart';
import 'package:devtools_app/src/screens/memory/panes/control/settings_dial... | devtools/packages/devtools_app/test/memory/control/settings_dialog_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/control/settings_dialog_test.dart",
"repo_id": "devtools",
"token_count": 1086
} | 111 |
// 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.
@TestOn('vm')
import 'package:devtools_app/src/screens/network/network_controller.dart';
import 'package:devtools_app/src/screens/network/network_model.d... | devtools/packages/devtools_app/test/network/network_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/network/network_controller_test.dart",
"repo_id": "devtools",
"token_count": 4836
} | 112 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_test/test_data.dart';
import 'package:flutter_test/flutter_test.dart';
import '... | devtools/packages/devtools_app/test/performance/performance_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/performance_model_test.dart",
"repo_id": "devtools",
"token_count": 1263
} | 113 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/analytics/prompt.dart';
import 'package:devtools_app_shared/ui.da... | devtools/packages/devtools_app/test/shared/analytics_prompt_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/analytics_prompt_test.dart",
"repo_id": "devtools",
"token_count": 5911
} | 114 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_print
@TestOn('vm')
import 'package:devtools_app/src/shared/primitives/extent_delegate_list.dart';
import 'package:flutter/rend... | devtools/packages/devtools_app/test/shared/extent_delegate_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/extent_delegate_test.dart",
"repo_id": "devtools",
"token_count": 3052
} | 115 |
// 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/navigation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void m... | devtools/packages/devtools_app/test/shared/navigation_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/navigation_test.dart",
"repo_id": "devtools",
"token_count": 2548
} | 116 |
// 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/src/service/service_extension_widgets.dart';
import 'package:devtools_app/src/service/service_extension... | devtools/packages/devtools_app/test/shared/service_extension_widgets_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/service_extension_widgets_test.dart",
"repo_id": "devtools",
"token_count": 3314
} | 117 |
// 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:io';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/constants.dart';
import 'package:devtools_app/... | devtools/packages/devtools_app/test/standalone_ui/vs_code/debug_sessions_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/standalone_ui/vs_code/debug_sessions_test.dart",
"repo_id": "devtools",
"token_count": 3424
} | 118 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:collection';
import 'dart:convert';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../... | devtools/packages/devtools_app/test/test_infra/scenes/standalone_ui/vs_code_mock_editor.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/scenes/standalone_ui/vs_code_mock_editor.dart",
"repo_id": "devtools",
"token_count": 6592
} | 119 |
// 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_shared/src/extensions/extension_model.dart';
final testExtensions = [fooExtension, barExtension, providerExtension];
final fooE... | devtools/packages/devtools_app/test/test_infra/test_data/extensions.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/extensions.dart",
"repo_id": "devtools",
"token_count": 455
} | 120 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library foo;
import 'dart:async' deferred as deferredAsync show Future;
import 'dart:io' as a show File hide Directory;
export 'dart:io';
abstract class... | devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/keywords.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/keywords.dart",
"repo_id": "devtools",
"token_count": 793
} | 121 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/vm_developer/object_inspector/object_viewport.dart';
import 'pac... | devtools/packages/devtools_app/test/vm_developer/object_inspector/object_viewport_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/object_viewport_test.dart",
"repo_id": "devtools",
"token_count": 3564
} | 122 |
{
"name": "devtools_app",
"short_name": "devtools_app",
"start_url": ".",
"display": "minimal-ui",
"background_color": "#0175C2",
"theme_color": "#0175C2",
"description": "Web-based performance tooling for Dart and Flutter.",
"orientation": "portrait-primary",
"prefer_related_applica... | devtools/packages/devtools_app/web/manifest.json/0 | {
"file_path": "devtools/packages/devtools_app/web/manifest.json",
"repo_id": "devtools",
"token_count": 315
} | 123 |
// 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:dtd/dtd.dart';
import 'package:flutter/foundation.dart';
import 'package:logging/logging.dart';
final _log = Logger('dtd_manager');
/// ... | devtools/packages/devtools_app_shared/lib/src/service/dtd_manager.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/service/dtd_manager.dart",
"repo_id": "devtools",
"token_count": 513
} | 124 |
// 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/widgets.dart';
import 'theme.dart';
export '_ide_theme_desktop.dart'
if (dart.library.js_interop) '_ide_theme_web.dart';
//... | devtools/packages/devtools_app_shared/lib/src/ui/theme/ide_theme.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/ui/theme/ide_theme.dart",
"repo_id": "devtools",
"token_count": 240
} | 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:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_tes... | devtools/packages/devtools_app_shared/test/test_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/test/test_utils.dart",
"repo_id": "devtools",
"token_count": 676
} | 126 |
include: ../analysis_options.yaml
analyzer:
exclude:
- example/**
| devtools/packages/devtools_extensions/analysis_options.yaml/0 | {
"file_path": "devtools/packages/devtools_extensions/analysis_options.yaml",
"repo_id": "devtools",
"token_count": 27
} | 127 |
# package:foo
This is an example package that has a DevTools extension shipped with it.
See the `extension/devtools` directory. There you will find the two requirements
for the parent package that is providing a DevTools extension:
1. A `config.yaml` file that contains metadata DevTools needs to load the extension.
2.... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/README.md/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/README.md",
"repo_id": "devtools",
"token_count": 119
} | 128 |
// Copyright 2014 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.
if (!_flutter) {
var _flutter = {};
}
_flutter.loader = null;
(function () {
"use strict";
const baseUri = ensureTrailingSlash(getBaseURI());
fu... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/build/flutter.js/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/build/flutter.js",
"repo_id": "devtools",
"token_count": 5368
} | 129 |
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "foo_devtools_extension + simulated env... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/.vscode/launch.json/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/.vscode/launch.json",
"repo_id": "devtools",
"token_count": 562
} | 130 |
The `config.yaml` file for a DevTools extension must follow the format below.
## Required fields
- `name` : the package name that this DevTools extension belongs to. The value of this field
will be used in the extension page title bar. This name should contain only lowercase letters
and underscores (no spaces or spec... | devtools/packages/devtools_extensions/extension_config_spec.md/0 | {
"file_path": "devtools/packages/devtools_extensions/extension_config_spec.md",
"repo_id": "devtools",
"token_count": 319
} | 131 |
// 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:devtools_app_shared/web_utils.dart';
import 'package:web/web.dart';
import '../api.dart';
DevToolsExtensionEv... | devtools/packages/devtools_extensions/lib/src/utils.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/lib/src/utils.dart",
"repo_id": "devtools",
"token_count": 176
} | 132 |
// 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.
export 'src/devtools_api.dart';
export 'src/memory/adb_memory_info.dart';
export 'src/memory/class_heap_detail_stats.dart';
export 'src/memory/event_sampl... | devtools/packages/devtools_shared/lib/devtools_shared.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/devtools_shared.dart",
"repo_id": "devtools",
"token_count": 220
} | 133 |
// 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.
/// HeapSpace of Dart VM collected heap data.
class HeapSpace {
HeapSpace._fromJson(this.json)
: avgCollectionPeriodMillis = json['avgCollectionPe... | devtools/packages/devtools_shared/lib/src/memory/heap_space.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/memory/heap_space.dart",
"repo_id": "devtools",
"token_count": 470
} | 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.
// ignore_for_file: avoid_print
import 'dart:convert';
import 'dart:io';
import 'package:args/args.dart';
import 'package:meta/meta.dart';
import 'chro... | devtools/packages/devtools_shared/lib/src/test/integration_test_runner.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/test/integration_test_runner.dart",
"repo_id": "devtools",
"token_count": 4317
} | 135 |
// 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:io';
import 'package:devtools_shared/devtools_server.dart';
import 'package:devtools_shared/devtools_shared.dart';
import 'package:devtools_... | devtools/packages/devtools_shared/test/server/general_api_test.dart/0 | {
"file_path": "devtools/packages/devtools_shared/test/server/general_api_test.dart",
"repo_id": "devtools",
"token_count": 3669
} | 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.
import 'dart:convert';
import 'package:devtools_app/devtools_app.dart';
import '_cpu_profiler_data.dart';
import '_performance_data.dart';
import '_perf... | devtools/packages/devtools_test/lib/src/test_data/sample_data.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/test_data/sample_data.dart",
"repo_id": "devtools",
"token_count": 368
} | 137 |
name: codicon
description: VS Code icons for Flutter.
homepage: https://github.com/flutter/devtools/tree/master/third_party/packages/codicon
version: 1.0.0
environment:
sdk: ^3.0.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_lints: ^3.0.1
flutter:
fonts:
- family: Codicon
fon... | devtools/third_party/packages/codicon/pubspec.yaml/0 | {
"file_path": "devtools/third_party/packages/codicon/pubspec.yaml",
"repo_id": "devtools",
"token_count": 152
} | 138 |
include: package:lints/recommended.yaml
analyzer:
exclude:
- flutter-sdk/
linter:
rules:
# - avoid_dynamic_calls
- require_trailing_commas
- unawaited_futures
- depend_on_referenced_packages
- directives_ordering
- sort_pub_dependencies
| devtools/tool/analysis_options.yaml/0 | {
"file_path": "devtools/tool/analysis_options.yaml",
"repo_id": "devtools",
"token_count": 111
} | 139 |
// 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:convert';
import 'dart:io';
// Note: this is a helper script for development. This is helpful for generating
// test data from DevTools expo... | devtools/tool/json_to_map.dart/0 | {
"file_path": "devtools/tool/json_to_map.dart",
"repo_id": "devtools",
"token_count": 709
} | 140 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:args/command_runner.dart';
import 'package:cli_util/cli_logging.dart';
import 'package:devtools_tool/model.dart';
impor... | devtools/tool/lib/commands/update_flutter_sdk.dart/0 | {
"file_path": "devtools/tool/lib/commands/update_flutter_sdk.dart",
"repo_id": "devtools",
"token_count": 2211
} | 141 |
[style]
based_on_style = yapf
# Defined in https://github.com/google/yapf/blob/20d0c8f1774cf3843f4032f3e9ab02338bf98c75/yapf/yapflib/style.py#L326
# Docs and full list of knobs:
# https://github.com/google/yapf#knobs
split_before_first_argument = true
blank_line_before_module_docstring = true
# dedent_closing_brackets ... | engine/.style.yapf/0 | {
"file_path": "engine/.style.yapf",
"repo_id": "engine",
"token_count": 221
} | 142 |
# 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.
config("benchmark_config") {
include_dirs = [ "//flutter/third_party/benchmark:benchmark_config" ]
}
source_set("benchmarking") {
testonly = true
sour... | engine/benchmarking/BUILD.gn/0 | {
"file_path": "engine/benchmarking/BUILD.gn",
"repo_id": "engine",
"token_count": 364
} | 143 |
# 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/common/config.gni")
template("esbuild") {
assert(defined(invoker.entry_point))
assert(defined(invoker.output_bundle))
action(target_n... | engine/build/esbuild/esbuild.gni/0 | {
"file_path": "engine/build/esbuild/esbuild.gni",
"repo_id": "engine",
"token_count": 553
} | 144 |
# 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.
ocmock_path = "//flutter/third_party/ocmock/Source"
# OCMock headers use `#import <OCMock/Foo.h>`.
config("ocmock_config") {
include_dirs = [ "$ocmock_path... | engine/build/secondary/flutter/third_party/ocmock/BUILD.gn/0 | {
"file_path": "engine/build/secondary/flutter/third_party/ocmock/BUILD.gn",
"repo_id": "engine",
"token_count": 2237
} | 145 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
shaderc_base = "//flutter/third_party/shaderc"
config("shaderc_util_config") {
include_dirs = [ "$shaderc_base/libshaderc_util/include/" ]
}
source_set("s... | engine/build/secondary/third_party/shaderc_flutter/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/shaderc_flutter/BUILD.gn",
"repo_id": "engine",
"token_count": 1358
} | 146 |
This directory includes scripts and tools for continuous integration tests.
| engine/ci/README.md/0 | {
"file_path": "engine/ci/README.md",
"repo_id": "engine",
"token_count": 12
} | 147 |
{
"builds": [
{
"archives": [
{
"name": "host_debug",
"base_path": "out/host_debug/zip_archives/",
"type": "gcs",
"include_paths": [
"out/host_debug/zip_archives/linux-x64/arti... | engine/ci/builders/linux_host_engine.json/0 | {
"file_path": "engine/ci/builders/linux_host_engine.json",
"repo_id": "engine",
"token_count": 5575
} | 148 |
#!/bin/bash
#
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
# Needed because if it is set, cd may print the path it changed to.
unset CDPATH
# On Mac OS, readlink -f doesn't work, so follow_links... | engine/ci/check_build_configs.sh/0 | {
"file_path": "engine/ci/check_build_configs.sh",
"repo_id": "engine",
"token_count": 549
} | 149 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_COMMON_GRAPHICS_GL_CONTEXT_SWITCH_H_
#define FLUTTER_COMMON_GRAPHICS_GL_CONTEXT_SWITCH_H_
#include <functional>
#include <memory>
#include... | engine/common/graphics/gl_context_switch.h/0 | {
"file_path": "engine/common/graphics/gl_context_switch.h",
"repo_id": "engine",
"token_count": 1006
} | 150 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/benchmarking/dl_complexity_gl.h"
// The numbers and weightings used in this file stem from taking the
// data from the Disp... | engine/display_list/benchmarking/dl_complexity_gl.cc/0 | {
"file_path": "engine/display_list/benchmarking/dl_complexity_gl.cc",
"repo_id": "engine",
"token_count": 7597
} | 151 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/dl_canvas.h"
#include "third_party/skia/include/core/SkPoint3.h"
#include "third_party/skia/include/utils/SkShadowUtils.h"
... | engine/display_list/dl_canvas.cc/0 | {
"file_path": "engine/display_list/dl_canvas.cc",
"repo_id": "engine",
"token_count": 387
} | 152 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_DL_VERTICES_H_
#define FLUTTER_DISPLAY_LIST_DL_VERTICES_H_
#include <memory>
#include "flutter/display_list/dl_color.h"
#in... | engine/display_list/dl_vertices.h/0 | {
"file_path": "engine/display_list/dl_vertices.h",
"repo_id": "engine",
"token_count": 3626
} | 153 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/effects/dl_path_effect.h"
#include "flutter/display_list/testing/dl_test_equality.h"
#include "flutter/display_list/utils/dl... | engine/display_list/effects/dl_path_effect_unittests.cc/0 | {
"file_path": "engine/display_list/effects/dl_path_effect_unittests.cc",
"repo_id": "engine",
"token_count": 756
} | 154 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_SKIA_DL_SK_CONVERSIONS_H_
#define FLUTTER_DISPLAY_LIST_SKIA_DL_SK_CONVERSIONS_H_
#include "flutter/display_list/dl_op_receive... | engine/display_list/skia/dl_sk_conversions.h/0 | {
"file_path": "engine/display_list/skia/dl_sk_conversions.h",
"repo_id": "engine",
"token_count": 1549
} | 155 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_METAL_H_
#define FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_METAL_H_
#include "flutter/display_list... | engine/display_list/testing/dl_test_surface_metal.h/0 | {
"file_path": "engine/display_list/testing/dl_test_surface_metal.h",
"repo_id": "engine",
"token_count": 930
} | 156 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/embedded_views.h"
namespace flutter {
DisplayListEmbedderViewSlice::DisplayListEmbedderViewSlice(SkRect view_bounds) {
builder_ ... | engine/flow/embedded_views.cc/0 | {
"file_path": "engine/flow/embedded_views.cc",
"repo_id": "engine",
"token_count": 1123
} | 157 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/layers/clip_path_layer.h"
#include "flutter/flow/layers/clip_rect_layer.h"
#include "flutter/flow/layers/clip_rrect_layer.h"
#includ... | engine/flow/layers/checkerboard_layertree_unittests.cc/0 | {
"file_path": "engine/flow/layers/checkerboard_layertree_unittests.cc",
"repo_id": "engine",
"token_count": 4078
} | 158 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/layers/container_layer.h"
#include "flutter/flow/layers/layer.h"
#include "flutter/flow/layers/layer_tree.h"
#include "flutter/flow... | engine/flow/layers/container_layer_unittests.cc/0 | {
"file_path": "engine/flow/layers/container_layer_unittests.cc",
"repo_id": "engine",
"token_count": 12046
} | 159 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/layers/layer_tree.h"
#include "flutter/display_list/skia/dl_sk_canvas.h"
#include "flutter/flow/embedded_views.h"
#include "flutter... | engine/flow/layers/layer_tree.cc/0 | {
"file_path": "engine/flow/layers/layer_tree.cc",
"repo_id": "engine",
"token_count": 3504
} | 160 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_SHADER_MASK_LAYER_H_
#define FLUTTER_FLOW_LAYERS_SHADER_MASK_LAYER_H_
#include "flutter/display_list/effects/dl_color_source.h... | engine/flow/layers/shader_mask_layer.h/0 | {
"file_path": "engine/flow/layers/shader_mask_layer.h",
"repo_id": "engine",
"token_count": 389
} | 161 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/raster_cache_key.h"
#include <optional>
#include "flutter/flow/layers/container_layer.h"
#include "flutter/flow/layers/display_list_... | engine/flow/raster_cache_key.cc/0 | {
"file_path": "engine/flow/raster_cache_key.cc",
"repo_id": "engine",
"token_count": 337
} | 162 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_SURFACE_H_
#define FLUTTER_FLOW_SURFACE_H_
#include <memory>
#include "flutter/common/graphics/gl_context_switch.h"
#include "flutte... | engine/flow/surface.h/0 | {
"file_path": "engine/flow/surface.h",
"repo_id": "engine",
"token_count": 521
} | 163 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/testing/mock_texture.h"
#include "flutter/flow/layers/layer.h"
#include "flutter/testing/display_list_testing.h"
namespace flutter ... | engine/flow/testing/mock_texture.cc/0 | {
"file_path": "engine/flow/testing/mock_texture.cc",
"repo_id": "engine",
"token_count": 747
} | 164 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Provides a simple class, |CommandLine|, for dealing with command lines (and
// flags and positional arguments).
//
// * Options (a.k.a. flags or switche... | engine/fml/command_line.h/0 | {
"file_path": "engine/fml/command_line.h",
"repo_id": "engine",
"token_count": 3308
} | 165 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/endianness.h"
#include "flutter/testing/testing.h"
namespace fml {
namespace testing {
TEST(EndiannessTest, ByteSwap) {
ASSERT_E... | engine/fml/endianness_unittests.cc/0 | {
"file_path": "engine/fml/endianness_unittests.cc",
"repo_id": "engine",
"token_count": 393
} | 166 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_LOGGING_H_
#define FLUTTER_FML_LOGGING_H_
#include <sstream>
#include "flutter/fml/log_level.h"
#include "flutter/fml/macros.h"
name... | engine/fml/logging.h/0 | {
"file_path": "engine/fml/logging.h",
"repo_id": "engine",
"token_count": 1475
} | 167 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#include "flutter/fml/memory/task_runner_checker.h"
#include <thread>
#include "flutter/fml/message_loop.h"
#include "flutt... | engine/fml/memory/task_runner_checker_unittest.cc/0 | {
"file_path": "engine/fml/memory/task_runner_checker_unittest.cc",
"repo_id": "engine",
"token_count": 2015
} | 168 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.