text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
#include "../../Flutter/Flutter-Debug.xcconfig"
#include "Warnings.xcconfig"
| devtools/case_study/memory_leaks/images_1/macos/Runner/Configs/Debug.xcconfig/0 | {
"file_path": "devtools/case_study/memory_leaks/images_1/macos/Runner/Configs/Debug.xcconfig",
"repo_id": "devtools",
"token_count": 32
} | 122 |
# leaking_counter_1
This is memory leaking application to test memory debugging tools.
## Leak debugging lab
1. Setup the lab:
a. Start the latest version of DevTools by following [BETA_TESTING.md](https://github.com/polina-c/devtools/blob/master/BETA_TESTING.md)
b. in another console tabs navigate to the ... | devtools/case_study/memory_leaks/leaking_counter_1/README.md/0 | {
"file_path": "devtools/case_study/memory_leaks/leaking_counter_1/README.md",
"repo_id": "devtools",
"token_count": 249
} | 123 |
name: leaking_counter_1
description: A new Flutter project.
publish_to: none
environment:
sdk: ^3.0.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.1
flutter:
uses-material-design: true
| devtools/case_study/memory_leaks/leaking_counter_1/pubspec.yaml/0 | {
"file_path": "devtools/case_study/memory_leaks/leaking_counter_1/pubspec.yaml",
"repo_id": "devtools",
"token_count": 110
} | 124 |
package github.nisrulz.usingtabs;
import android.os.Bundle;
import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;
public class MainActivity extends FlutterActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Ge... | devtools/case_study/memory_leaks/memory_leak_app/android/app/src/main/java/github/nisrulz/usingtabs/MainActivity.java/0 | {
"file_path": "devtools/case_study/memory_leaks/memory_leak_app/android/app/src/main/java/github/nisrulz/usingtabs/MainActivity.java",
"repo_id": "devtools",
"token_count": 116
} | 125 |
#include "Generated.xcconfig"
| devtools/case_study/memory_leaks/memory_leak_app/ios/Flutter/Release.xcconfig/0 | {
"file_path": "devtools/case_study/memory_leaks/memory_leak_app/ios/Flutter/Release.xcconfig",
"repo_id": "devtools",
"token_count": 12
} | 126 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter/material.dart';
import '../common.dart';
import '../logging.dart';
// class Logger extends StatelessWidge... | devtools/case_study/memory_leaks/memory_leak_app/lib/tabs/logger.dart/0 | {
"file_path": "devtools/case_study/memory_leaks/memory_leak_app/lib/tabs/logger.dart",
"repo_id": "devtools",
"token_count": 1502
} | 127 |
---
redirect_to: https://flutter.dev/docs/development/tools/devtools/android-studio
---
| devtools/docs/android_studio.md/0 | {
"file_path": "devtools/docs/android_studio.md",
"repo_id": "devtools",
"token_count": 30
} | 128 |
{
"dart.showTodos": false,
}
| devtools/packages/devtools_app/.vscode/settings.json/0 | {
"file_path": "devtools/packages/devtools_app/.vscode/settings.json",
"repo_id": "devtools",
"token_count": 19
} | 129 |
targets:
$default:
builders:
build_web_compilers|entrypoint:
options:
dart2js_args:
- -O1
# We don't generate any mocks in this package.
mockito|mockBuilder:
enabled: false
stager|stagerAppBuilder:
generate_for:
- test/test_infra/scenes... | devtools/packages/devtools_app/build.yaml/0 | {
"file_path": "devtools/packages/devtools_app/build.yaml",
"repo_id": "devtools",
"token_count": 163
} | 130 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_test/helpers.dart';
import 'package:devtools_test/integration_test.dart';
import... | devtools/packages/devtools_app/integration_test/test/live_connection/app_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/integration_test/test/live_connection/app_test.dart",
"repo_id": "devtools",
"token_count": 396
} | 131 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// The DevTools application version
// This version should only be updated by running tools/update_version.dart
// that updates all versions for DevTools... | devtools/packages/devtools_app/lib/devtools.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/devtools.dart",
"repo_id": "devtools",
"token_count": 146
} | 132 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_shared/devtools_extensions.dart';
import 'package:flutter/mat... | devtools/packages/devtools_app/lib/src/extensions/extension_settings.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/extensions/extension_settings.dart",
"repo_id": "devtools",
"token_count": 2996
} | 133 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../shared/charts/treemap.dart';
import '../../shared/pri... | devtools/packages/devtools_app/lib/src/screens/app_size/app_size_table.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/app_size/app_size_table.dart",
"repo_id": "devtools",
"token_count": 2431
} | 134 |
// 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:vm_service/vm_service.dart';
import '../../shared/diagnostics/primitives/source_location.dart';
import '../../shared/globals.dart';
impor... | devtools/packages/devtools_app/lib/src/screens/debugger/program_explorer_model.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/program_explorer_model.dart",
"repo_id": "devtools",
"token_count": 6177
} | 135 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:collection';
import 'dart:math';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/util... | devtools/packages/devtools_app/lib/src/screens/inspector/inspector_tree_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/inspector_tree_controller.dart",
"repo_id": "devtools",
"token_count": 15891
} | 136 |
// 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/foundation.dart';
import 'package:flutter/material.dart';
import '../../shared/primitives/utils.dart';
import '../../shared/table... | devtools/packages/devtools_app/lib/src/screens/logging/_logs_table.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/logging/_logs_table.dart",
"repo_id": "devtools",
"token_count": 582
} | 137 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'memory_android_chart.dart';
import 'memory_events_pane.dart';
import 'memory_vm_chart.dart';
class Mem... | devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/chart_pane_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/chart_pane_controller.dart",
"repo_id": "devtools",
"token_count": 379
} | 138 |
// 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 '../../../../../shared/memory/classes.dart';
import '../../../../../shared/memory/retaining_path.dart';
import '../../../../../shared/memory/simple... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/data/classes_diff.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/data/classes_diff.dart",
"repo_id": "devtools",
"token_count": 1310
} | 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 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:vm_service/vm_service.dart';
import '../../../../sh... | devtools/packages/devtools_app/lib/src/screens/memory/panes/profile/profile_view.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/profile/profile_view.dart",
"repo_id": "devtools",
"token_count": 8349
} | 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.
const String nonGcableInstancesColumnTooltip =
'Number of instances of the class,\n'
'that are reachable, i.e. have a retaining path from the root... | devtools/packages/devtools_app/lib/src/screens/memory/shared/primitives/simple_elements.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/primitives/simple_elements.dart",
"repo_id": "devtools",
"token_count": 379
} | 141 |
// 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 '../../../../shared/primitives/utils.dart';
import '../../performance_model.dart';
import '../controls/enhance_tracing... | devtools/packages/devtools_app/lib/src/screens/performance/panes/flutter_frames/flutter_frame_model.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/flutter_frames/flutter_frame_model.dart",
"repo_id": "devtools",
"token_count": 2862
} | 142 |
// 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 '../../../../../shared/analytics/constants.dart' as gac;
import '../../../../../shared/common_widgets.dart... | devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/perfetto.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/perfetto.dart",
"repo_id": "devtools",
"token_count": 406
} | 143 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import '../../shared/primitives/utils.dart';
import 'cpu_profile_model.dart';
/// Process for composing [CpuProfileData] int... | devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profile_transformer.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profile_transformer.dart",
"repo_id": "devtools",
"token_count": 2519
} | 144 |
// 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.
/// A few utilities related to evaluating dart code
library;
import 'dart:async';
import 'package:devtools_app_shared/service.dart';
import 'package:flu... | devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/eval.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/eval.dart",
"repo_id": "devtools",
"token_count": 778
} | 145 |
// 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:collection/collection.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dart';
import '../../../shar... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/class_hierarchy_explorer_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/class_hierarchy_explorer_controller.dart",
"repo_id": "devtools",
"token_count": 927
} | 146 |
// 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 '../vm_developer_common_widgets.dart';
import 'object_inspector_view_controller.dart';
import 'vm_object_m... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_script_display.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_script_display.dart",
"repo_id": "devtools",
"token_count": 575
} | 147 |
// 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/service_extensions.dart' as extensions;
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_shared/... | devtools/packages/devtools_app/lib/src/service/service_registrations.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/service/service_registrations.dart",
"repo_id": "devtools",
"token_count": 628
} | 148 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of '../constants.dart';
/// Extension screens UX actions.
enum DevToolsExtensionEvents {
/// Analytics id to track events that come from an extens... | devtools/packages/devtools_app/lib/src/shared/analytics/constants/_extension_constants.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/constants/_extension_constants.dart",
"repo_id": "devtools",
"token_count": 631
} | 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 'dart:async';
import 'dart:convert';
import 'dart:math';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.d... | devtools/packages/devtools_app/lib/src/shared/common_widgets.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/common_widgets.dart",
"repo_id": "devtools",
"token_count": 22428
} | 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 '../file/file.dart';
import 'import_export.dart';
ExportControllerDesktop createExportController() {
return ExportControllerDesktop();
}
class ... | devtools/packages/devtools_app/lib/src/shared/config_specific/import_export/_export_desktop.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/import_export/_export_desktop.dart",
"repo_id": "devtools",
"token_count": 167
} | 151 |
// 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 '../../diagnostics/dart_object_node.dart';
import '../../dia... | devtools/packages/devtools_app/lib/src/shared/console/widgets/description.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/widgets/description.dart",
"repo_id": "devtools",
"token_count": 6661
} | 152 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:vm_service/vm_service.dart';
class RecordFields {
RecordFields(List<BoundField>? fields) {
positional = <BoundField>[];
named =... | devtools/packages/devtools_app/lib/src/shared/diagnostics/primitives/record_fields.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/primitives/record_fields.dart",
"repo_id": "devtools",
"token_count": 370
} | 153 |
// 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:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import '../... | devtools/packages/devtools_app/lib/src/shared/globals.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/globals.dart",
"repo_id": "devtools",
"token_count": 842
} | 154 |
// 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.
/// Direction of reference between objects in memory.
enum RefDirection {
inbound,
outbound,
}
/// Result of invocation of [identityHashCode].
typede... | devtools/packages/devtools_app/lib/src/shared/memory/simple_items.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/memory/simple_items.dart",
"repo_id": "devtools",
"token_count": 168
} | 155 |
This folder contains code forked from https://github.com/google/flutter.widgets. | devtools/packages/devtools_app/lib/src/shared/primitives/flutter_widgets/README.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/flutter_widgets/README.md",
"repo_id": "devtools",
"token_count": 21
} | 156 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:collection';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package... | devtools/packages/devtools_app/lib/src/shared/routing.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/routing.dart",
"repo_id": "devtools",
"token_count": 4079
} | 157 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of 'table.dart';
enum _TableRowType {
data,
columnHeader,
columnGroupHeader,
filler,
}
enum _TableRowPartDisplayType {
column,
columnSp... | devtools/packages/devtools_app/lib/src/shared/table/_table_row.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/table/_table_row.dart",
"repo_id": "devtools",
"token_count": 7337
} | 158 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
import 'dart:async';
import 'dart:math';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter/sc... | devtools/packages/devtools_app/lib/src/shared/ui/utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/ui/utils.dart",
"repo_id": "devtools",
"token_count": 3163
} | 159 |
If macos configuration needs to be regenerated, after regeneration
apply updates to avoide bug like
https://github.com/flutter/devtools/issues/5189
1. Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
set `buildConfiguration` to `Release`
2. Runner/DebugProfile.entitlements,
Runner/Release.entitlements:
set ... | devtools/packages/devtools_app/macos/README.md/0 | {
"file_path": "devtools/packages/devtools_app/macos/README.md",
"repo_id": "devtools",
"token_count": 117
} | 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/devtools_app.dart';
import 'package:devtools_app/src/screens/app_size/code_size_attribution.dart';
import 'package:devtools_a... | devtools/packages/devtools_app/test/app_size/code_size_attribution_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/app_size/code_size_attribution_test.dart",
"repo_id": "devtools",
"token_count": 2821
} | 161 |
// 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/devtools_app.dart';
import 'package:devtools_app/src/shared/console/eval/auto_complete.dart';
import 'p... | devtools/packages/devtools_app/test/debugger/debugger_evaluation_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_evaluation_test.dart",
"repo_id": "devtools",
"token_count": 5411
} | 162 |
// 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/shared/console/widgets/expandable_variable.dart';
import 'package:devtoo... | devtools/packages/devtools_app/test/debugger/variables_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/variables_test.dart",
"repo_id": "devtools",
"token_count": 845
} | 163 |
// 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_shared/devtools_test_utils.dart';
import 'package:flutter_test/flutter_test.dart';
import 'integration.dart';
void loggingTests... | devtools/packages/devtools_app/test/legacy_integration_tests/logging.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/legacy_integration_tests/logging.dart",
"repo_id": "devtools",
"token_count": 886
} | 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/src/screens/memory/shared/heap/class_filter.dart';
import 'package:devtools_app/src/shared/memory/class_name.dart';
import 'p... | devtools/packages/devtools_app/test/memory/shared/heap/class_filter_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/shared/heap/class_filter_test.dart",
"repo_id": "devtools",
"token_count": 553
} | 165 |
// 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/devtools_app.dart';
import 'package:devtools_app/src/shared/ui/colors.dart';
import 'package:devtools_app_share... | devtools/packages/devtools_app/test/performance/flutter_frames/flutter_frames_chart_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/flutter_frames/flutter_frames_chart_test.dart",
"repo_id": "devtools",
"token_count": 5042
} | 166 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/u... | devtools/packages/devtools_app/test/performance/timeline_events/timeline_events_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/timeline_events/timeline_events_controller_test.dart",
"repo_id": "devtools",
"token_count": 1018
} | 167 |
// 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/shared/editable_list.dart';
import 'package:devtools_app_shared/ui.dart'... | devtools/packages/devtools_app/test/shared/editable_list_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/editable_list_test.dart",
"repo_id": "devtools",
"token_count": 2983
} | 168 |
// 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/devtools_app.dart';
import 'package:devtools_app/src/screens/provider/instance_viewer/instance_details.dart';
import 'package... | devtools/packages/devtools_app/test/shared/instance_viewer_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/instance_viewer_test.dart",
"repo_id": "devtools",
"token_count": 23978
} | 169 |
// 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_no_app_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/scaffold_no_app_test.dart",
"repo_id": "devtools",
"token_count": 1300
} | 170 |
import 'package:devtools_app/src/shared/utils.dart';
import 'package:fake_async/fake_async.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('DebounceTimer', () {
test('the callback happens immediately', () {
fakeAsync((async) {
int callbackCounter = 0;
DebounceTim... | devtools/packages/devtools_app/test/shared/utils_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/utils_test.dart",
"repo_id": "devtools",
"token_count": 1389
} | 171 |
// 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:developer' as developer;
import 'dart:math' as math;
// These lints get in the way of testing autocomplete.
// ignore_for_file: unused_impor... | devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/autocomplete.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/autocomplete.dart",
"repo_id": "devtools",
"token_count": 525
} | 172 |
// 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.
// ignore_for_file: avoid_print
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:devtools_app/devtools_app.dart';
import 'p... | devtools/packages/devtools_app/test/test_infra/flutter_test_driver.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/flutter_test_driver.dart",
"repo_id": "devtools",
"token_count": 6307
} | 173 |
>// 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/literals.dart.golden/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/literals.dart.golden",
"repo_id": "devtools",
"token_count": 3197
} | 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.
import 'package:flutter/material.dart';
import 'package:stager/stager.dart';
/// To run:
/// flutter run -t test/scenes/hello.stager_app.g.dart -d macos
... | devtools/packages/devtools_app/test/test_infra/scenes/hello.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/scenes/hello.dart",
"repo_id": "devtools",
"token_count": 211
} | 175 |
// 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:vm_service/vm_service.dart';
final httpGetResponseBodyData = [
123,
10,
32,
32,
... | devtools/packages/devtools_app/test/test_infra/test_data/network.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/network.dart",
"repo_id": "devtools",
"token_count": 6221
} | 176 |
// Copyright 2020 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is copied from package:flutter/test/rendering_tester.dart
// and is convenient for adding tests to render object behavior similar to
// existi... | devtools/packages/devtools_app/test/test_infra/utils/rendering_tester.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/utils/rendering_tester.dart",
"repo_id": "devtools",
"token_count": 5058
} | 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/devtools_app.dart';
import 'package:devtools_app/src/screens/vm_developer/object_inspector/vm_simple_list_display.dart';
impo... | devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_simple_list_display_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_simple_list_display_test.dart",
"repo_id": "devtools",
"token_count": 1147
} | 178 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart' as devtools_shared_ui;
import 'package:flutter/material.dart';
/// Example of using a [DevToolsDialog] widge... | devtools/packages/devtools_app_shared/example/ui/dialog_example.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/example/ui/dialog_example.dart",
"repo_id": "devtools",
"token_count": 511
} | 179 |
// 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:flutter/material.dart';
import '../utils/utils.dart';
import 'theme/theme.dart';
/// Create a bordered, fixed-he... | devtools/packages/devtools_app_shared/lib/src/ui/common.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/ui/common.dart",
"repo_id": "devtools",
"token_count": 9451
} | 180 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
import 'dart:js_interop';
import 'package:web/web.dart';
extension MessageExtension on Event {
bool get isMessageEvent =>
// TODO(srujzs): This ... | devtools/packages/devtools_app_shared/lib/src/utils/web_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/utils/web_utils.dart",
"repo_id": "devtools",
"token_count": 185
} | 181 |
name: foo
issueTracker: https://www.google.com/
version: 1.0.0
materialIconCodePoint: "0xe50a"
| devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/config.yaml/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/extension/devtools/config.yaml",
"repo_id": "devtools",
"token_count": 36
} | 182 |
// 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:js_interop';
import 'dart:math' as math;
import 'package:devtools_app_shared/service.dart';
import 'package:devtools_ap... | devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/_simulated_devtools_environment.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/_simulated_devtools_environment.dart",
"repo_id": "devtools",
"token_count": 5274
} | 183 |
include: ../analysis_options.yaml
| devtools/packages/devtools_shared/analysis_options.yaml/0 | {
"file_path": "devtools/packages/devtools_shared/analysis_options.yaml",
"repo_id": "devtools",
"token_count": 11
} | 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.
import 'package:collection/collection.dart';
/// Describes an extension that can be dynamically loaded into a custom screen
/// in DevTools.
class DevToo... | devtools/packages/devtools_shared/lib/src/extensions/extension_model.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/extensions/extension_model.dart",
"repo_id": "devtools",
"token_count": 2508
} | 185 |
// Copyright (c) 2022, 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.
class RegisteredService {
const RegisteredService({
required this.service,
required this.titl... | devtools/packages/devtools_shared/lib/src/service_utils.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/service_utils.dart",
"repo_id": "devtools",
"token_count": 693
} | 186 |
// 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/devtools_extensions.dart';
import 'package:test/test.dart';
void main() {
group('$DevToolsExtensionConfig', () {
te... | devtools/packages/devtools_shared/test/extensions/extension_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_shared/test/extensions/extension_model_test.dart",
"repo_id": "devtools",
"token_count": 3293
} | 187 |
# 1.0.0
* Migrate to null safety.
# 0.0.3
* Add Creative Commons LICENSE
# 0.0.2
* Restructure package directories.
# 0.0.1
* Create `codicon` package and expose `IconData` consts for each VS code icon.
| devtools/third_party/packages/codicon/CHANGELOG.md/0 | {
"file_path": "devtools/third_party/packages/codicon/CHANGELOG.md",
"repo_id": "devtools",
"token_count": 75
} | 188 |
var service_worker = (function () {
'use strict';
function getAugmentedNamespace(n) {
if (n.__esModule) return n;
var f = n.default;
if (typeof f == "function") {
var a = function a () {
if (this instanceof a) {
var args = [null];
args.push.apply(args, arguments);
var Ctor = Function.bind.apply(f... | devtools/third_party/packages/perfetto_ui_compiled/lib/dist/service_worker.js/0 | {
"file_path": "devtools/third_party/packages/perfetto_ui_compiled/lib/dist/service_worker.js",
"repo_id": "devtools",
"token_count": 10065
} | 189 |
// 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';
import 'package:widget_icons/widget_icons.dart';
class WidgetTheme {
const WidgetTheme({
this.icon,
thi... | devtools/third_party/packages/widget_icons/lib/widget_theme.dart/0 | {
"file_path": "devtools/third_party/packages/widget_icons/lib/widget_theme.dart",
"repo_id": "devtools",
"token_count": 2242
} | 190 |
// 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 'dart:io';
/// Outputs the time intervals between adjacent cpu samples.
///
/// A json file path is required as a command l... | devtools/tool/cpu_sample_intervals.dart/0 | {
"file_path": "devtools/tool/cpu_sample_intervals.dart",
"repo_id": "devtools",
"token_count": 438
} | 191 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io' as io;
import 'package:args/command_runner.dart';
import '../model.dart';
const _toVersionArg = 'to-version';
cl... | devtools/tool/lib/commands/rollback.dart/0 | {
"file_path": "devtools/tool/lib/commands/rollback.dart",
"repo_id": "devtools",
"token_count": 897
} | 192 |
# A YAML format of https://clang.llvm.org/extra/clang-tidy/.
# Prefix check with "-" to ignore.
Checks: >-
bugprone-argument-comment,
bugprone-use-after-move,
bugprone-unchecked-optional-access,
clang-analyzer-*,
clang-diagnostic-*,
darwin-*,
google-*,
modernize-use-default-member-init,
objc-*,
-ob... | engine/.clang-tidy/0 | {
"file_path": "engine/.clang-tidy",
"repo_id": "engine",
"token_count": 852
} | 193 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file is copied from
# https://crsrc.org/c/build/config/fuchsia/gn_configs.gni?q=gn_configs.gni
# with some local modifications to match the flutter set... | engine/build/config/fuchsia/gn_configs.gni/0 | {
"file_path": "engine/build/config/fuchsia/gn_configs.gni",
"repo_id": "engine",
"token_count": 792
} | 194 |
Name: GLFW
License: zlib/libpng (BSD-like)
Upstream Git: https://github.com/glfw/glfw
Version: 3.2.1
Description:
GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and
Vulkan development on the desktop.
To update:
- Advance the pinned hash in DEPS, which should map the repository to
//third_party... | engine/build/secondary/flutter/third_party/glfw/README/0 | {
"file_path": "engine/build/secondary/flutter/third_party/glfw/README",
"repo_id": "engine",
"token_count": 117
} | 195 |
# Copyright 2019 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This is a dummy file to satisfy the ANGLE build. Flutter's use of ANGLE
# doesn't actually require any of the real content.
| engine/build/secondary/testing/test.gni/0 | {
"file_path": "engine/build/secondary/testing/test.gni",
"repo_id": "engine",
"token_count": 75
} | 196 |
azani@google.com
camrdale@google.com
frousseau@google.com
stevefung@google.com
zmbush@google.com | engine/build/secondary/third_party/protobuf/OWNERS/0 | {
"file_path": "engine/build/secondary/third_party/protobuf/OWNERS",
"repo_id": "engine",
"token_count": 40
} | 197 |
# Copyright 2020 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file is needed by the vulkan-headers build, but doesn't need to actually
# set anything.
if (is_linux) {
vulkan_use_x11 = true
vulkan_use_wayland ... | engine/build_overrides/vulkan_headers.gni/0 | {
"file_path": "engine/build_overrides/vulkan_headers.gni",
"repo_id": "engine",
"token_count": 100
} | 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_opengles.json/0 | {
"file_path": "engine/ci/builders/linux_android_emulator_opengles.json",
"repo_id": "engine",
"token_count": 2318
} | 199 |
{
"drone_dimensions": [
"device_type=none",
"os=Linux"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"gn": [
"--runtime-mode",
"release",
"--prebuilt-dart-sdk",
"--build-embedder-examples",
"--rbe"... | engine/ci/builders/standalone/linux_benchmarks.json/0 | {
"file_path": "engine/ci/builders/standalone/linux_benchmarks.json",
"repo_id": "engine",
"token_count": 901
} | 200 |
Signature: 973316a2d1d1e3b6c5f83c1ec7746acb
====================================================================================================
LIBRARY: dart
ORIGIN: http://www.apache.org/licenses/LICENSE-2.0 referenced by ../../../third_party/dart/runtime/vm/protos/perfetto/common/builtin_clock.proto
ORIGIN: http://... | engine/ci/licenses_golden/licenses_dart/0 | {
"file_path": "engine/ci/licenses_golden/licenses_dart",
"repo_id": "engine",
"token_count": 142199
} | 201 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/common/config.gni")
import("//flutter/impeller/tools/impeller.gni")
import("//flutter/testing/testing.gni")
if (is_fuchsia) {
import("//f... | engine/display_list/BUILD.gn/0 | {
"file_path": "engine/display_list/BUILD.gn",
"repo_id": "engine",
"token_count": 3216
} | 202 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <unordered_set>
#include <utility>
#include <vector>
#include "flutter/display_list/display_list.h"
#include ... | engine/display_list/display_list_unittests.cc/0 | {
"file_path": "engine/display_list/display_list_unittests.cc",
"repo_id": "engine",
"token_count": 58196
} | 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.
#include "flutter/display_list/dl_paint.h"
namespace flutter {
DlPaint::DlPaint(DlColor color)
: blend_mode_(static_cast<unsigned>(DlBlendMode::kDefa... | engine/display_list/dl_paint.cc/0 | {
"file_path": "engine/display_list/dl_paint.cc",
"repo_id": "engine",
"token_count": 749
} | 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.
#include "flutter/display_list/dl_blend_mode.h"
#include "flutter/display_list/dl_color.h"
#include "flutter/display_list/dl_sampling_options.h"
#include "... | engine/display_list/effects/dl_image_filter_unittests.cc/0 | {
"file_path": "engine/display_list/effects/dl_image_filter_unittests.cc",
"repo_id": "engine",
"token_count": 15241
} | 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_IMAGE_DL_IMAGE_H_
#define FLUTTER_DISPLAY_LIST_IMAGE_DL_IMAGE_H_
#include <memory>
#include <optional>
#include <string>
#in... | engine/display_list/image/dl_image.h/0 | {
"file_path": "engine/display_list/image/dl_image.h",
"repo_id": "engine",
"token_count": 1610
} | 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.
#ifndef FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_EQUALITY_H_
#define FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_EQUALITY_H_
#include "flutter/display_list/dl_attrib... | engine/display_list/testing/dl_test_equality.h/0 | {
"file_path": "engine/display_list/testing/dl_test_equality.h",
"repo_id": "engine",
"token_count": 528
} | 207 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/utils/dl_matrix_clip_tracker.h"
#include "gtest/gtest.h"
namespace flutter {
namespace testing {
TEST(DisplayListMatrixCli... | engine/display_list/utils/dl_matrix_clip_tracker_unittests.cc/0 | {
"file_path": "engine/display_list/utils/dl_matrix_clip_tracker_unittests.cc",
"repo_id": "engine",
"token_count": 8667
} | 208 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/compositor_context.h"
#include <optional>
#include <utility>
#include "flutter/flow/layers/layer_tree.h"
#include "third_party/skia... | engine/flow/compositor_context.cc/0 | {
"file_path": "engine/flow/compositor_context.cc",
"repo_id": "engine",
"token_count": 3293
} | 209 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYER_SNAPSHOT_STORE_H_
#define FLUTTER_FLOW_LAYER_SNAPSHOT_STORE_H_
#include <vector>
#include "flutter/fml/logging.h"
#include "fl... | engine/flow/layer_snapshot_store.h/0 | {
"file_path": "engine/flow/layer_snapshot_store.h",
"repo_id": "engine",
"token_count": 737
} | 210 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_CLIP_SHAPE_LAYER_H_
#define FLUTTER_FLOW_LAYERS_CLIP_SHAPE_LAYER_H_
#include "flutter/flow/layers/cacheable_layer.h"
#include ... | engine/flow/layers/clip_shape_layer.h/0 | {
"file_path": "engine/flow/layers/clip_shape_layer.h",
"repo_id": "engine",
"token_count": 1491
} | 211 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_LAYER_H_
#define FLUTTER_FLOW_LAYERS_LAYER_H_
#include <algorithm>
#include <memory>
#include <unordered_set>
#include <vector... | engine/flow/layers/layer.h/0 | {
"file_path": "engine/flow/layers/layer.h",
"repo_id": "engine",
"token_count": 3363
} | 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.
#ifndef FLUTTER_FLOW_LAYERS_PERFORMANCE_OVERLAY_LAYER_H_
#define FLUTTER_FLOW_LAYERS_PERFORMANCE_OVERLAY_LAYER_H_
#include <string>
#include "flutter/flo... | engine/flow/layers/performance_overlay_layer.h/0 | {
"file_path": "engine/flow/layers/performance_overlay_layer.h",
"repo_id": "engine",
"token_count": 633
} | 213 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_PAINT_REGION_H_
#define FLUTTER_FLOW_PAINT_REGION_H_
#include <utility>
#include <vector>
#include "flutter/fml/logging.h"
#include "... | engine/flow/paint_region.h/0 | {
"file_path": "engine/flow/paint_region.h",
"repo_id": "engine",
"token_count": 752
} | 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.
#ifndef FLUTTER_FLOW_STOPWATCH_DL_H_
#define FLUTTER_FLOW_STOPWATCH_DL_H_
#include "flow/stopwatch.h"
namespace flutter {
//----------------------------... | engine/flow/stopwatch_dl.h/0 | {
"file_path": "engine/flow/stopwatch_dl.h",
"repo_id": "engine",
"token_count": 600
} | 215 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_TESTING_MOCK_EMBEDDER_H_
#define FLUTTER_FLOW_TESTING_MOCK_EMBEDDER_H_
#include "flutter/flow/embedded_views.h"
namespace flutter {
... | engine/flow/testing/mock_embedder.h/0 | {
"file_path": "engine/flow/testing/mock_embedder.h",
"repo_id": "engine",
"token_count": 635
} | 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.
import 'dart:io';
import 'package:litetest/litetest.dart';
import 'package:path/path.dart' as path;
Future<void> main(List<String> args) async {
if (ar... | engine/flutter_frontend_server/test/to_string_test.dart/0 | {
"file_path": "engine/flutter_frontend_server/test/to_string_test.dart",
"repo_id": "engine",
"token_count": 1168
} | 217 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_BASE32_H_
#define FLUTTER_FML_BASE32_H_
#include <string_view>
#include <utility>
#include "flutter/fml/logging.h"
namespace fml {
... | engine/fml/base32.h/0 | {
"file_path": "engine/fml/base32.h",
"repo_id": "engine",
"token_count": 593
} | 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.
#include "cpu_affinity.h"
#include "fml/file.h"
#include "fml/mapping.h"
#include "gtest/gtest.h"
#include "logging.h"
namespace fml {
namespace testing ... | engine/fml/cpu_affinity_unittests.cc/0 | {
"file_path": "engine/fml/cpu_affinity_unittests.cc",
"repo_id": "engine",
"token_count": 1170
} | 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.
#ifndef FLUTTER_FML_ICU_UTIL_H_
#define FLUTTER_FML_ICU_UTIL_H_
#include <string>
#include "flutter/fml/macros.h"
#include "flutter/fml/mapping.h"
names... | engine/fml/icu_util.h/0 | {
"file_path": "engine/fml/icu_util.h",
"repo_id": "engine",
"token_count": 206
} | 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.
// Internal implementation details for ref_counted.h.
#ifndef FLUTTER_FML_MEMORY_REF_COUNTED_INTERNAL_H_
#define FLUTTER_FML_MEMORY_REF_COUNTED_INTERNAL_H... | engine/fml/memory/ref_counted_internal.h/0 | {
"file_path": "engine/fml/memory/ref_counted_internal.h",
"repo_id": "engine",
"token_count": 1056
} | 221 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.