text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
import 'dart:convert';
import 'dart:typed_data';
import 'package:flutter/material.dart';
import 'package:steel_crypt/steel_crypt.dart' as encrypt;
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Unoptimi... | devtools/case_study/code_size/optimized/code_size_package/lib/main.dart/0 | {
"file_path": "devtools/case_study/code_size/optimized/code_size_package/lib/main.dart",
"repo_id": "devtools",
"token_count": 1476
} | 79 |
#include "Generated.xcconfig"
| devtools/case_study/code_size/unoptimized/code_size_images/ios/Flutter/Release.xcconfig/0 | {
"file_path": "devtools/case_study/code_size/unoptimized/code_size_images/ios/Flutter/Release.xcconfig",
"repo_id": "devtools",
"token_count": 12
} | 80 |
name: code_size_images
description: A Flutter project demonstrating code size issues with images.
publish_to: none
environment:
sdk: ^3.0.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
# The assets are not compressed in this v... | devtools/case_study/code_size/unoptimized/code_size_images/pubspec.yaml/0 | {
"file_path": "devtools/case_study/code_size/unoptimized/code_size_images/pubspec.yaml",
"repo_id": "devtools",
"token_count": 129
} | 81 |
#import "GeneratedPluginRegistrant.h"
| devtools/case_study/code_size/unoptimized/code_size_package/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "devtools/case_study/code_size/unoptimized/code_size_package/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "devtools",
"token_count": 13
} | 82 |
#import "GeneratedPluginRegistrant.h"
| devtools/case_study/memory_leaks/images_1/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "devtools/case_study/memory_leaks/images_1/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "devtools",
"token_count": 13
} | 83 |
#import "GeneratedPluginRegistrant.h"
| devtools/case_study/memory_leaks/leaking_counter_1/ios/Runner/Runner-Bridging-Header.h/0 | {
"file_path": "devtools/case_study/memory_leaks/leaking_counter_1/ios/Runner/Runner-Bridging-Header.h",
"repo_id": "devtools",
"token_count": 13
} | 84 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| devtools/case_study/memory_leaks/leaking_counter_1/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "devtools/case_study/memory_leaks/leaking_counter_1/macos/Runner/Configs/Release.xcconfig",
"repo_id": "devtools",
"token_count": 32
} | 85 |
// 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 'common.dart';
class About extends StatefulWidget {
@override
State<About> createState() => AboutStat... | devtools/case_study/memory_leaks/memory_leak_app/lib/about.dart/0 | {
"file_path": "devtools/case_study/memory_leaks/memory_leak_app/lib/about.dart",
"repo_id": "devtools",
"token_count": 1085
} | 86 |
package com.example.platform_channel
import android.os.Bundle
import io.flutter.app.FlutterActivity
import io.flutter.plugin.common.BasicMessageChannel;
import io.flutter.plugin.common.StringCodec;
import io.flutter.plugins.GeneratedPluginRegistrant
class MainActivity: FlutterActivity() {
override fun onCreate(sav... | devtools/case_study/platform_channel/android/app/src/main/kotlin/com/example/platform_channel/MainActivity.kt/0 | {
"file_path": "devtools/case_study/platform_channel/android/app/src/main/kotlin/com/example/platform_channel/MainActivity.kt",
"repo_id": "devtools",
"token_count": 259
} | 87 |
name: platform_channel
description: A Flutter example that uses a platform channel.
version: 1.0.0+1
environment:
sdk: ^3.0.0
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
| devtools/case_study/platform_channel/pubspec.yaml/0 | {
"file_path": "devtools/case_study/platform_channel/pubspec.yaml",
"repo_id": "devtools",
"token_count": 101
} | 88 |
{
"recommendations": [
"streetsidesoftware.code-spell-checker"
]
}
| devtools/packages/.vscode/extensions.json/0 | {
"file_path": "devtools/packages/.vscode/extensions.json",
"repo_id": "devtools",
"token_count": 41
} | 89 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: invalid_use_of_visible_for_testing_member, valid use for benchmark tests.
import 'dart:async';
import 'package:devtools_app/devtools... | devtools/packages/devtools_app/benchmark/test_infra/automators/devtools_automator.dart/0 | {
"file_path": "devtools/packages/devtools_app/benchmark/test_infra/automators/devtools_automator.dart",
"repo_id": "devtools",
"token_count": 1122
} | 90 |
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="#6E6E6E" fill-rule="evenodd" transform="translate(1 3)">
<path d="M2,0 L12,0 L12,10 L2,10 L2,0 Z M3,1 L3,9 L11,9 L11,1 L3,1 Z"/>
<rect width="1" height="10"/>
<rect width="1" height="10" x="13"/>
</g>
</svg>
| devtools/packages/devtools_app/icons/general/tbShown.svg/0 | {
"file_path": "devtools/packages/devtools_app/icons/general/tbShown.svg",
"repo_id": "devtools",
"token_count": 159
} | 91 |
// 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 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'pac... | devtools/packages/devtools_app/lib/src/extensions/embedded/_view_web.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/extensions/embedded/_view_web.dart",
"repo_id": "devtools",
"token_count": 3719
} | 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 'dart:async';
import 'package:flutter/material.dart';
import '../shared/analytics/analytics.dart' as ga;
import '../shared/analytics/constants.da... | devtools/packages/devtools_app/lib/src/framework/report_feedback_button.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/framework/report_feedback_button.dart",
"repo_id": "devtools",
"token_count": 459
} | 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 'package:vm_service/vm_service.dart';
import '../../shared/diagnostics/primitives/source_location.dart';
import '../../shared/primitives/simple_it... | devtools/packages/devtools_app/lib/src/screens/debugger/debugger_model.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/debugger_model.dart",
"repo_id": "devtools",
"token_count": 3360
} | 94 |
// 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:flutter/material.dart';
import '../../shared/common_widgets.dart';
im... | devtools/packages/devtools_app/lib/src/screens/deep_link_validation/validation_details_view.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/deep_link_validation/validation_details_view.dart",
"repo_id": "devtools",
"token_count": 10590
} | 95 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
const margin = 6.0;
double get arrowHeadSize => scaleByFontFactor(... | devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/theme.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/ui/theme.dart",
"repo_id": "devtools",
"token_count": 1500
} | 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 '../../../../shared/analytics/constants.dart' as gac;
import '../../../../shared/common_widgets.dart';
imp... | devtools/packages/devtools_app/lib/src/screens/memory/framework/connected/memory_tabs.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/framework/connected/memory_tabs.dart",
"repo_id": "devtools",
"token_count": 971
} | 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 'dart:async';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../../shared/analytics/constant... | devtools/packages/devtools_app/lib/src/screens/memory/panes/control/secondary_controls.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/control/secondary_controls.dart",
"repo_id": "devtools",
"token_count": 699
} | 98 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.da... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/snapshot_list.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/widgets/snapshot_list.dart",
"repo_id": "devtools",
"token_count": 5025
} | 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 'package:collection/collection.dart';
import 'package:vm_service/vm_service.dart';
import '../../../../shared/analytics/analytics.dart' as ga;
imp... | devtools/packages/devtools_app/lib/src/screens/memory/shared/heap/sampler.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/heap/sampler.dart",
"repo_id": "devtools",
"token_count": 2205
} | 100 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared... | devtools/packages/devtools_app/lib/src/screens/performance/panes/controls/enhance_tracing/enhance_tracing.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/controls/enhance_tracing/enhance_tracing.dart",
"repo_id": "devtools",
"token_count": 4879
} | 101 |
// 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/service.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import '... | devtools/packages/devtools_app/lib/src/screens/performance/panes/rebuild_stats/rebuild_stats.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/rebuild_stats/rebuild_stats.dart",
"repo_id": "devtools",
"token_count": 3273
} | 102 |
// 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.
// TODO(jacobr): we should remove this file from the app and move it to the
// testing directory leveraging stager for this functionality.
// Having this ... | devtools/packages/devtools_app/lib/src/screens/performance/simple_trace_example.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/simple_trace_example.dart",
"repo_id": "devtools",
"token_count": 9041
} | 103 |
// 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/utils.dart';
import 'package:flutter/foundation.dart';
import '../../../../shared/primitives/trees.dart';
import '../... | devtools/packages/devtools_app/lib/src/screens/profiler/panes/method_table/method_table_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/panes/method_table/method_table_controller.dart",
"repo_id": "devtools",
"token_count": 1613
} | 104 |
// 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:collection/collection.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils... | devtools/packages/devtools_app/lib/src/screens/provider/provider_screen.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/provider/provider_screen.dart",
"repo_id": "devtools",
"token_count": 2629
} | 105 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:vm_service/vm_service.dart';
import '../vm_developer_common_widgets.dart';
import '../vm_service_... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_function_display.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_function_display.dart",
"repo_id": "devtools",
"token_count": 1671
} | 106 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:vm_service/vm_service.dart';
import '../../../share... | devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_statistics/vm_statistics_view.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/vm_statistics/vm_statistics_view.dart",
"repo_id": "devtools",
"token_count": 3818
} | 107 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math';
import 'dart:ui';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flut... | devtools/packages/devtools_app/lib/src/shared/charts/chart.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/charts/chart.dart",
"repo_id": "devtools",
"token_count": 10400
} | 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 'dart:convert';
import 'dart:io';
import 'package:devtools_app_shared/utils.dart';
import 'package:logging/logging.dart';
import 'package:path/pat... | devtools/packages/devtools_app/lib/src/shared/config_specific/framework_initialize/_framework_initialize_desktop.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/framework_initialize/_framework_initialize_desktop.dart",
"repo_id": "devtools",
"token_count": 658
} | 109 |
This folder contains independent libraries, i.e. libraries that do not depend
on other libraries in the folder `console`.
| devtools/packages/devtools_app/lib/src/shared/console/primitives/README.md/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/primitives/README.md",
"repo_id": "devtools",
"token_count": 26
} | 110 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:vm_service/vm_service.dart';
import '../memory/adapted_heap_data.dart';
import '../memory/simple_items.dart';
import '../vm_utils.dart';
... | devtools/packages/devtools_app/lib/src/shared/diagnostics/generic_instance_reference.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/generic_instance_reference.dart",
"repo_id": "devtools",
"token_count": 1230
} | 111 |
// 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 '../../screens/debugger/codeview.dart';
import '../analytics/constants.dart' as gac;
import '../common_w... | devtools/packages/devtools_app/lib/src/shared/environment_parameters/environment_parameters_external.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/environment_parameters/environment_parameters_external.dart",
"repo_id": "devtools",
"token_count": 1130
} | 112 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dart';
import '../primitives/utils.dart';
import 'adapted_heap_object.dar... | devtools/packages/devtools_app/lib/src/shared/memory/adapted_heap_data.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/memory/adapted_heap_data.dart",
"repo_id": "devtools",
"token_count": 1530
} | 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 'dart:convert';
import 'dart:io';
import 'package:logging/logging.dart';
final _log = Logger('syntax_highlighting');
//Future<String> loadPolyfil... | devtools/packages/devtools_app/lib/src/shared/primitives/syntax_highlighting.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/syntax_highlighting.dart",
"repo_id": "devtools",
"token_count": 739
} | 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.
import 'dart:async';
import 'dart:convert';
import 'package:devtools_shared/devtools_deeplink.dart';
import 'package:devtools_shared/devtools_extensions.... | devtools/packages/devtools_app/lib/src/shared/server/server.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/server/server.dart",
"repo_id": "devtools",
"token_count": 1216
} | 115 |
// 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:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../analytics/a... | devtools/packages/devtools_app/lib/src/shared/ui/drop_down_button.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/ui/drop_down_button.dart",
"repo_id": "devtools",
"token_count": 865
} | 116 |
// 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:flutter/material.dart';
import '../../shared/analytics/analytics.dart... | devtools/packages/devtools_app/lib/src/standalone_ui/vs_code/devices.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/standalone_ui/vs_code/devices.dart",
"repo_id": "devtools",
"token_count": 2138
} | 117 |
This is draft for future release notes, that are going to land on
[the Flutter website](https://docs.flutter.dev/tools/devtools/release-notes).
# DevTools 2.34.0 release notes
The 2.34.0 release of the Dart and Flutter DevTools
includes the following changes among other general improvements.
To learn more about DevTo... | devtools/packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md/0 | {
"file_path": "devtools/packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md",
"repo_id": "devtools",
"token_count": 666
} | 118 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/service/service_manager.dart';
import 'package:devtools_app/src/shared/diagnostics/dart_object_node.dart';
import 'packag... | devtools/packages/devtools_app/test/debugger/association_variable_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/association_variable_test.dart",
"repo_id": "devtools",
"token_count": 2409
} | 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_app/devtools_app.dart';
import 'package:devtools_app/src/screens/debugger/codeview.dart';
import 'package:devtools_app/src/screen... | devtools/packages/devtools_app/test/debugger/debugger_scripts_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_scripts_test.dart",
"repo_id": "devtools",
"token_count": 3511
} | 120 |
// 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.
// Fake construction requires number of unawaited calls.
// ignore_for_file: discarded_futures
import 'dart:convert';
import 'package:devtools_app/devto... | devtools/packages/devtools_app/test/inspector/inspector_screen_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/inspector/inspector_screen_test.dart",
"repo_id": "devtools",
"token_count": 5021
} | 121 |
// 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_test/helpers.dart';
import 'package:flutter/material.dart';
import 'package:flut... | devtools/packages/devtools_app/test/inspector/utils/inspector_tree.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/inspector/utils/inspector_tree.dart",
"repo_id": "devtools",
"token_count": 825
} | 122 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/memory/framework/connected/memory_tabs.dart';
import 'package:de... | devtools/packages/devtools_app/test/memory/diff/widgets/diff_pane_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/diff/widgets/diff_pane_test.dart",
"repo_id": "devtools",
"token_count": 1784
} | 123 |
// 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/network/network_screen_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/network/network_screen_test.dart",
"repo_id": "devtools",
"token_count": 448
} | 124 |
// 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/performance/panes/raster_stats/raster_stats_model.dart';
import ... | devtools/packages/devtools_app/test/performance/raster_stats/raster_stats_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/raster_stats/raster_stats_controller_test.dart",
"repo_id": "devtools",
"token_count": 1224
} | 125 |
// 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/shared/common_widgets_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/common_widgets_test.dart",
"repo_id": "devtools",
"token_count": 1696
} | 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:ui';
import 'package:devtools_app/src/shared/primitives/geometry.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
gr... | devtools/packages/devtools_app/test/shared/geometry_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/geometry_test.dart",
"repo_id": "devtools",
"token_count": 3158
} | 127 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'pa... | devtools/packages/devtools_app/test/shared/release_notes_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/release_notes_test.dart",
"repo_id": "devtools",
"token_count": 1522
} | 128 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/table/column_widths.dart';
import 'package:devtools_app/src/share... | devtools/packages/devtools_app/test/shared/table_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/table_test.dart",
"repo_id": "devtools",
"token_count": 31212
} | 129 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_print
import 'dart:async';
void main() {
print('starting debugging app (exception)');
void run() {
Timer(const Durati... | devtools/packages/devtools_app/test/test_infra/fixtures/debugging_app_exception.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/debugging_app_exception.dart",
"repo_id": "devtools",
"token_count": 193
} | 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.
void values() {
final i = 1;
final j = 2;
print('the value of \$i is $i');
print('the value after \$i is ${i + 1}');
print('the value of \$i + ... | devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/string_interpolation.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/syntax_highlighting/string_interpolation.dart",
"repo_id": "devtools",
"token_count": 193
} | 131 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/vm_developer/object_inspector/vm_field_display.dart';
import 'pa... | devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_field_display_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/vm_developer/object_inspector/vm_field_display_test.dart",
"repo_id": "devtools",
"token_count": 2312
} | 132 |
## 0.1.0
* Remove deprecated `background` and `onBackground` values for `lightColorScheme`
and `darkColorScheme`.
* Rename `Split` to `SplitPane`.
* Add `ServiceManager.serviceUri` field to store the connected VM service URI.
## 0.0.10
* Add `DTDManager` class and export from `service.dart`.
* Add `showDevToolsDialog`... | devtools/packages/devtools_app_shared/CHANGELOG.md/0 | {
"file_path": "devtools/packages/devtools_app_shared/CHANGELOG.md",
"repo_id": "devtools",
"token_count": 1086
} | 133 |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:core';
import 'package:flutter/foundation.dart';
import 'package:meta/meta.dart';
import 'package:vm_service/vm_service... | devtools/packages/devtools_app_shared/lib/src/service/isolate_state.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/service/isolate_state.dart",
"repo_id": "devtools",
"token_count": 811
} | 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.
final Map<Type, Object> globals = <Type, Object>{};
void setGlobal(Type clazz, Object instance) {
globals[clazz] = instance;
}
void removeGlobal(Type ... | devtools/packages/devtools_app_shared/lib/src/utils/globals.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/utils/globals.dart",
"repo_id": "devtools",
"token_count": 125
} | 135 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/material.dart';
import 'package:flu... | devtools/packages/devtools_app_shared/test/ui/theme_test.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/test/ui/theme_test.dart",
"repo_id": "devtools",
"token_count": 1267
} | 136 |
# DevTools extension examples
This directory contains end-to-end examples of DevTools extensions. Each
end-to-end example is made up of three components:
1. **Parent package**: Dart package that provides the extension
2. **DevTools extension**: the tool itself
3. **End-user application**: the app that the extension is ... | devtools/packages/devtools_extensions/example/README.md/0 | {
"file_path": "devtools/packages/devtools_extensions/example/README.md",
"repo_id": "devtools",
"token_count": 1904
} | 137 |
// Copyright 2024 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:dart_foo/dart_foo.dart';
import 'package:test/test.dart';
// This test can be run to verify that the `package:foo` DevTools extension
// ... | devtools/packages/devtools_extensions/example/app_that_uses_foo/test/nested/simple_test.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/test/nested/simple_test.dart",
"repo_id": "devtools",
"token_count": 262
} | 138 |
{
// 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": "dart_foo_devtools_extension + simulate... | devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo_devtools_extension/.vscode/launch.json/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/dart_foo/packages/dart_foo_devtools_extension/.vscode/launch.json",
"repo_id": "devtools",
"token_count": 571
} | 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 'package:devtools_app_shared/ui.dart';
import 'package:devtools_extensions/api.dart';
import 'package:devtools_extensions/devtools_extensions.dart'... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/lib/src/devtools_extension_api_example.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo_devtools_extension/lib/src/devtools_extension_api_example.dart",
"repo_id": "devtools",
"token_count": 1260
} | 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.
@TestOn('browser')
import 'package:devtools_extensions/devtools_extensions.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/fl... | devtools/packages/devtools_extensions/test/web/devtools_extension_test.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/test/web/devtools_extension_test.dart",
"repo_id": "devtools",
"token_count": 326
} | 141 |
// 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:meta/meta.dart';
import 'package:path/path.dart' as path;
class DeeplinkManager {
/// A regex... | devtools/packages/devtools_shared/lib/src/deeplink/deeplink_manager.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/deeplink/deeplink_manager.dart",
"repo_id": "devtools",
"token_count": 2175
} | 142 |
// Copyright 2024 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: avoid_classes_with_only_static_members
part of '../server_api.dart';
abstract class _ExtensionsApiHandler {
static Future<shelf.Re... | devtools/packages/devtools_shared/lib/src/server/handlers/_devtools_extensions.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/server/handlers/_devtools_extensions.dart",
"repo_id": "devtools",
"token_count": 1025
} | 143 |
// 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.
/// Attempts to detect the package root of [fileUriString].
///
/// This method uses the heuristics that a Dart executable within a Dart package
/// shoul... | devtools/packages/devtools_shared/lib/src/utils/file_utils.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/utils/file_utils.dart",
"repo_id": "devtools",
"token_count": 285
} | 144 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: invalid_use_of_visible_for_testing_member, devtools_test is only used in test code.
import 'dart:async';
import 'package:devtools_ap... | devtools/packages/devtools_test/lib/src/mocks/fake_service_extension_manager.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/mocks/fake_service_extension_manager.dart",
"repo_id": "devtools",
"token_count": 2478
} | 145 |
## 1.0.0
* Migrate to null safety.
## 0.0.2
* Implemented `decodeAnsiColorEscapeCodes` in dart - now no longer using JS interop
| devtools/third_party/packages/ansi_up/CHANGELOG.md/0 | {
"file_path": "devtools/third_party/packages/ansi_up/CHANGELOG.md",
"repo_id": "devtools",
"token_count": 49
} | 146 |
#!/bin/bash
# TODO(kenz): delete this script once we can confirm it is not used in the
# Dart SDK or in infra tooling.
# 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.
# Contains a path to this script, re... | devtools/tool/build_release.sh/0 | {
"file_path": "devtools/tool/build_release.sh",
"repo_id": "devtools",
"token_count": 611
} | 147 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:io';
import 'package:args/command_runner.dart';
import 'package:io/io.dart';
import 'package:path/path.dart' as path;
... | devtools/tool/lib/commands/fix_goldens.dart/0 | {
"file_path": "devtools/tool/lib/commands/fix_goldens.dart",
"repo_id": "devtools",
"token_count": 1433
} | 148 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:path/path.dart' as path;
class DevToolsRepo {
DevToolsRepo._create(this.repoPath);
/// The path to the DevTools r... | devtools/tool/lib/model.dart/0 | {
"file_path": "devtools/tool/lib/model.dart",
"repo_id": "devtools",
"token_count": 2833
} | 149 |
# Contributing to the Flutter engine
_See also: [Flutter's code of conduct][code_of_conduct]_
## Welcome
For an introduction to contributing to Flutter, see [our contributor
guide][contrib_guide].
For specific instructions regarding building Flutter's engine, see [Setting up
the Engine development environment][engi... | engine/CONTRIBUTING.md/0 | {
"file_path": "engine/CONTRIBUTING.md",
"repo_id": "engine",
"token_count": 4543
} | 150 |
# Copyright 2016 The Fuchsia 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") {
visibility = [ ":*" ]
include_dirs = [ "include" ]
}
static_library("benchmark") {
testonly = true
sources = [
"//flu... | engine/build/secondary/flutter/third_party/benchmark/BUILD.gn/0 | {
"file_path": "engine/build/secondary/flutter/third_party/benchmark/BUILD.gn",
"repo_id": "engine",
"token_count": 1136
} | 151 |
# Copyright 2021 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.
# TODO(flutter/flutter#85356): This file was originally generated by the
# fuchsia.git script: `package_importer.py`. The generated `BUILD.gn` files were
# co... | engine/build/secondary/third_party/dart/third_party/pkg/matcher/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/dart/third_party/pkg/matcher/BUILD.gn",
"repo_id": "engine",
"token_count": 754
} | 152 |
# Copyright 2021 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.
# TODO(flutter/flutter#85356): This file was originally generated by the
# fuchsia.git script: `package_importer.py`. The generated `BUILD.gn` files were
# co... | engine/build/secondary/third_party/pkg/quiver/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/pkg/quiver/BUILD.gn",
"repo_id": "engine",
"token_count": 1117
} | 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.
import("//flutter/common/config.gni")
import("//flutter/shell/version/version.gni")
if (flutter_runtime_mode == "jit_release") {
android_zip_archive_dir = ... | engine/build/zip_bundle.gni/0 | {
"file_path": "engine/build/zip_bundle.gni",
"repo_id": "engine",
"token_count": 1720
} | 154 |
#!/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.
# Run a tool that generates a treemap showing the contribution of each
# component to the size of a binary.
#
# Usage:
# binary_size_treemap.s... | engine/ci/binary_size_treemap.sh/0 | {
"file_path": "engine/ci/binary_size_treemap.sh",
"repo_id": "engine",
"token_count": 497
} | 155 |
{
"builds": [
{
"archives": [
{
"base_path": "out/android_profile/zip_archives/",
"type": "gcs",
"include_paths": [
"out/android_profile/zip_archives/android-arm-profile/darwin-x64.zip"
... | engine/ci/builders/mac_android_aot_engine.json/0 | {
"file_path": "engine/ci/builders/mac_android_aot_engine.json",
"repo_id": "engine",
"token_count": 5168
} | 156 |
#!/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.
# TODO(dnfield): delete this script once recipes point to the python version.
set -e
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/d... | engine/ci/firebase_testlab.sh/0 | {
"file_path": "engine/ci/firebase_testlab.sh",
"repo_id": "engine",
"token_count": 130
} | 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.
import 'dart:io' as io;
import 'package:litetest/litetest.dart';
import 'package:path/path.dart' as path;
import '../bin/format.dart' as target;
final i... | engine/ci/test/format_test.dart/0 | {
"file_path": "engine/ci/test/format_test.dart",
"repo_id": "engine",
"token_count": 3504
} | 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/common/graphics/texture.h"
namespace flutter {
ContextListener::ContextListener() = default;
ContextListener::~ContextListener() = def... | engine/common/graphics/texture.cc/0 | {
"file_path": "engine/common/graphics/texture.cc",
"repo_id": "engine",
"token_count": 924
} | 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/display_list/dl_op_flags.h"
#include "flutter/display_list/effects/dl_path_effect.h"
namespace flutter {
const DisplayListSpecialGeomet... | engine/display_list/dl_op_flags.cc/0 | {
"file_path": "engine/display_list/dl_op_flags.cc",
"repo_id": "engine",
"token_count": 415
} | 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.
#include "flutter/display_list/effects/dl_color_filter.h"
#include "flutter/display_list/testing/dl_test_equality.h"
namespace flutter {
namespace testing... | engine/display_list/effects/dl_color_filter_unittests.cc/0 | {
"file_path": "engine/display_list/effects/dl_color_filter_unittests.cc",
"repo_id": "engine",
"token_count": 1826
} | 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.
#ifndef FLUTTER_DISPLAY_LIST_GEOMETRY_DL_REGION_H_
#define FLUTTER_DISPLAY_LIST_GEOMETRY_DL_REGION_H_
#include "third_party/skia/include/core/SkRect.h"
#... | engine/display_list/geometry/dl_region.h/0 | {
"file_path": "engine/display_list/geometry/dl_region.h",
"repo_id": "engine",
"token_count": 2304
} | 162 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/display_list/skia/dl_sk_paint_dispatcher.h"
#include <math.h>
#include <optional>
#include <type_traits>
#include "flutter/display_list... | engine/display_list/skia/dl_sk_paint_dispatcher.cc/0 | {
"file_path": "engine/display_list/skia/dl_sk_paint_dispatcher.cc",
"repo_id": "engine",
"token_count": 1308
} | 163 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_SOFTWARE_H_
#define FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SURFACE_SOFTWARE_H_
#include "flutter/displa... | engine/display_list/testing/dl_test_surface_software.h/0 | {
"file_path": "engine/display_list/testing/dl_test_surface_software.h",
"repo_id": "engine",
"token_count": 471
} | 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.
declare_args() {
# The example embedders may use dependencies not suitable on all platforms.
# Use this GN arg to enable building the examples.
build_em... | engine/examples/examples.gni/0 | {
"file_path": "engine/examples/examples.gni",
"repo_id": "engine",
"token_count": 92
} | 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.
executable("vulkan_glfw") {
output_name = "embedder_example_vulkan"
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config... | engine/examples/vulkan_glfw/BUILD.gn/0 | {
"file_path": "engine/examples/vulkan_glfw/BUILD.gn",
"repo_id": "engine",
"token_count": 204
} | 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_FLOW_FLOW_TEST_UTILS_H_
#define FLUTTER_FLOW_FLOW_TEST_UTILS_H_
#include <string>
namespace flutter {
const std::string& GetGoldenDir();... | engine/flow/flow_test_utils.h/0 | {
"file_path": "engine/flow/flow_test_utils.h",
"repo_id": "engine",
"token_count": 182
} | 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.
#include "flutter/flow/layers/clip_rect_layer.h"
namespace flutter {
ClipRectLayer::ClipRectLayer(const SkRect& clip_rect, Clip clip_behavior)
: Clip... | engine/flow/layers/clip_rect_layer.cc/0 | {
"file_path": "engine/flow/layers/clip_rect_layer.cc",
"repo_id": "engine",
"token_count": 197
} | 168 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/layers/display_list_raster_cache_item.h"
#include <optional>
#include <utility>
#include "flutter/display_list/benchmarking/dl_com... | engine/flow/layers/display_list_raster_cache_item.cc/0 | {
"file_path": "engine/flow/layers/display_list_raster_cache_item.cc",
"repo_id": "engine",
"token_count": 2555
} | 169 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_OFFSCREEN_SURFACE_H_
#define FLUTTER_FLOW_LAYERS_OFFSCREEN_SURFACE_H_
#include "flutter/fml/logging.h"
#include "flutter/fml/m... | engine/flow/layers/offscreen_surface.h/0 | {
"file_path": "engine/flow/layers/offscreen_surface.h",
"repo_id": "engine",
"token_count": 463
} | 170 |
// 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/texture_layer.h"
#include "flutter/flow/testing/diff_context_test.h"
#include "flutter/flow/testing/layer_test.h"
#include "... | engine/flow/layers/texture_layer_unittests.cc/0 | {
"file_path": "engine/flow/layers/texture_layer_unittests.cc",
"repo_id": "engine",
"token_count": 2548
} | 171 |
// 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_RASTER_CACHE_UTIL_H_
#define FLUTTER_FLOW_RASTER_CACHE_UTIL_H_
#include "flutter/fml/logging.h"
#include "include/core/SkM44.h"
#incl... | engine/flow/raster_cache_util.h/0 | {
"file_path": "engine/flow/raster_cache_util.h",
"repo_id": "engine",
"token_count": 1768
} | 172 |
// 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 "diff_context_test.h"
#include <utility>
#include "flutter/display_list/dl_builder.h"
namespace flutter {
namespace testing {
DiffContextTest::... | engine/flow/testing/diff_context_test.cc/0 | {
"file_path": "engine/flow/testing/diff_context_test.cc",
"repo_id": "engine",
"token_count": 1027
} | 173 |
// 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/ascii_trie.h"
#include "gtest/gtest.h"
using fml::AsciiTrie;
TEST(AsciiTableTest, Simple) {
AsciiTrie trie;
auto entries = std... | engine/fml/ascii_trie_unittests.cc/0 | {
"file_path": "engine/fml/ascii_trie_unittests.cc",
"repo_id": "engine",
"token_count": 378
} | 174 |
// 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_CONCURRENT_MESSAGE_LOOP_H_
#define FLUTTER_FML_CONCURRENT_MESSAGE_LOOP_H_
#include <condition_variable>
#include <map>
#include <queue... | engine/fml/concurrent_message_loop.h/0 | {
"file_path": "engine/fml/concurrent_message_loop.h",
"repo_id": "engine",
"token_count": 702
} | 175 |
// 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_HASH_COMBINE_H_
#define FLUTTER_FML_HASH_COMBINE_H_
#include <functional>
namespace fml {
template <class Type>
constexpr void HashC... | engine/fml/hash_combine.h/0 | {
"file_path": "engine/fml/hash_combine.h",
"repo_id": "engine",
"token_count": 416
} | 176 |
// 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/mapping.h"
#include <algorithm>
#include <cstring>
#include <memory>
#include <sstream>
namespace fml {
// FileMapping
uint8_t* F... | engine/fml/mapping.cc/0 | {
"file_path": "engine/fml/mapping.cc",
"repo_id": "engine",
"token_count": 1982
} | 177 |
// 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/memory/weak_ptr_internal.h"
#include "flutter/fml/logging.h"
namespace fml {
namespace internal {
WeakPtrFlag::WeakPtrFlag() : is_... | engine/fml/memory/weak_ptr_internal.cc/0 | {
"file_path": "engine/fml/memory/weak_ptr_internal.cc",
"repo_id": "engine",
"token_count": 201
} | 178 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.