text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
extensions:
- provider: true | devtools/packages/devtools_app/devtools_options.yaml/0 | {
"file_path": "devtools/packages/devtools_app/devtools_options.yaml",
"repo_id": "devtools",
"token_count": 9
} | 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.
// Do not delete these arguments. They are parsed by test runner.
// test-argument:experimentsOn=true
import 'package:devtools_app/devtools_app.dart';
im... | devtools/packages/devtools_app/integration_test/test/live_connection/devtools_extensions_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/integration_test/test/live_connection/devtools_extensions_test.dart",
"repo_id": "devtools",
"token_count": 3890
} | 113 |
// 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/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '... | devtools/packages/devtools_app/lib/initialization.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/initialization.dart",
"repo_id": "devtools",
"token_count": 1598
} | 114 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
impo... | devtools/packages/devtools_app/lib/src/framework/about_dialog.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/framework/about_dialog.dart",
"repo_id": "devtools",
"token_count": 1935
} | 115 |
// 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:collection/collection.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dar... | devtools/packages/devtools_app/lib/src/screens/debugger/breakpoint_manager.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/breakpoint_manager.dart",
"repo_id": "devtools",
"token_count": 4874
} | 116 |
// 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:collection';
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;
import 'p... | devtools/packages/devtools_app/lib/src/screens/debugger/syntax_highlighter.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/debugger/syntax_highlighter.dart",
"repo_id": "devtools",
"token_count": 3948
} | 117 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math' as math;
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../... | devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/flex/flex.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/inspector/layout_explorer/flex/flex.dart",
"repo_id": "devtools",
"token_count": 12355
} | 118 |
// 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 '../../shared/table/table_data.dart';
import 'logging_controller.dart';
class WhenColumn extends Co... | devtools/packages/devtools_app/lib/src/screens/logging/_when_column.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/logging/_when_column.dart",
"repo_id": "devtools",
"token_count": 247
} | 119 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../../shared/ui/colors.dart';
import '../../shared/pr... | devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/legend.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/chart/legend.dart",
"repo_id": "devtools",
"token_count": 3414
} | 120 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:flutter_markdown/flutter_markd... | devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/diff_pane.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/diff/diff_pane.dart",
"repo_id": "devtools",
"token_count": 2834
} | 121 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../../../../shared/analytics/analytics.dart' as ga;
import ... | devtools/packages/devtools_app/lib/src/screens/memory/panes/tracing/class_table.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/panes/tracing/class_table.dart",
"repo_id": "devtools",
"token_count": 2473
} | 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_shared/ui.dart';
import 'package:flutter/widgets.dart';
import '../../../../shared/analytics/constants.dart' as gac;
import ... | devtools/packages/devtools_app/lib/src/screens/memory/shared/widgets/shared_memory_widgets.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/memory/shared/widgets/shared_memory_widgets.dart",
"repo_id": "devtools",
"token_count": 1026
} | 123 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math' as math;
import 'package:collection/collection.dart';
import 'package:devtools_app_shared/utils.dart';
import 'pa... | devtools/packages/devtools_app/lib/src/screens/performance/panes/flutter_frames/flutter_frames_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/flutter_frames/flutter_frames_controller.dart",
"repo_id": "devtools",
"token_count": 2418
} | 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 'dart:math';
import 'package:fixnum/fixnum.dart';
import 'package:flutter/foundation.dart';
import 'package:logging/logging.dart';
import '../../... | devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/perfetto_event_processor.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/performance/panes/timeline_events/perfetto/perfetto_event_processor.dart",
"repo_id": "devtools",
"token_count": 2070
} | 125 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dar... | devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profiler_controller.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/profiler/cpu_profiler_controller.dart",
"repo_id": "devtools",
"token_count": 8856
} | 126 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:collection/collection.dart';
import 'package:devtools_app_shared/service.dart';
import 'package:flutter/foundation.dart';
import 'package:... | devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_details.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/provider/instance_viewer/instance_details.dart",
"repo_id": "devtools",
"token_count": 1900
} | 127 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
impo... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/object_inspector_view.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/object_inspector_view.dart",
"repo_id": "devtools",
"token_count": 2173
} | 128 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app_shared/ui.dart';
import 'package:flutter/material.dart';
import '../vm_developer_common_widgets.dart';
import 'object_inspec... | devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_unknown_object_display.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/screens/vm_developer/object_inspector/vm_unknown_object_display.dart",
"repo_id": "devtools",
"token_count": 447
} | 129 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:core';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dart';
import 'package:vm_service/vm_service.dart... | devtools/packages/devtools_app/lib/src/service/vm_flags.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/service/vm_flags.dart",
"repo_id": "devtools",
"token_count": 807
} | 130 |
// 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';
/// Analytics time constants specific for memory screen.
class MemoryTime {
static const adaptSnapshot = 'adaptSnapshot';
... | devtools/packages/devtools_app/lib/src/shared/analytics/constants/_memory_constants.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/analytics/constants/_memory_constants.dart",
"repo_id": "devtools",
"token_count": 961
} | 131 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
import 'dart:js_interop';
import 'package:web/web.dart';
void copyToClipboardVSCode(String data) {
// This post message is only relevant in VSCode. If ... | devtools/packages/devtools_app/lib/src/shared/config_specific/copy_to_clipboard/_copy_to_clipboard_web.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/copy_to_clipboard/_copy_to_clipboard_web.dart",
"repo_id": "devtools",
"token_count": 196
} | 132 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:convert';
import 'package:devtools_app_shared/service.dart';
import 'package:intl/intl.dart';
import '../../../../devtools.dart';
import '.... | devtools/packages/devtools_app/lib/src/shared/config_specific/import_export/import_export.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/config_specific/import_export/import_export.dart",
"repo_id": "devtools",
"token_count": 1942
} | 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 'dart:async';
import 'dart:math';
import 'package:devtools_app_shared/ui.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:f... | devtools/packages/devtools_app/lib/src/shared/console/widgets/evaluate.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/console/widgets/evaluate.dart",
"repo_id": "devtools",
"token_count": 5915
} | 134 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:math';
import 'package:vm_service/vm_service.dart';
import '../../../devtools_app.dart';
import '../memory/adapted_hea... | devtools/packages/devtools_app/lib/src/shared/diagnostics/references.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/diagnostics/references.dart",
"repo_id": "devtools",
"token_count": 5216
} | 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.
// This code was pulled from dart:io.
// ignore_for_file: annotate_overrides
// ignore_for_file: empty_statements
// ignore_for_file: non_constant_identi... | devtools/packages/devtools_app/lib/src/shared/http/_http_cookies.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/http/_http_cookies.dart",
"repo_id": "devtools",
"token_count": 2336
} | 136 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:collection';
import 'package:flutter/material.dart';
import 'config_specific/launch_url/launch_url.dart';
import 'glob... | devtools/packages/devtools_app/lib/src/shared/notifications.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/notifications.dart",
"repo_id": "devtools",
"token_count": 1890
} | 137 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
// TODO(kenz): consolidate the logic between [VerticalLineSegment] and
// [HorizontalLineSegment] by using [LineS... | devtools/packages/devtools_app/lib/src/shared/primitives/geometry.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/primitives/geometry.dart",
"repo_id": "devtools",
"token_count": 1484
} | 138 |
// 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:collection/collection.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter/foundation.dar... | devtools/packages/devtools_app/lib/src/shared/scripts/script_manager.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/scripts/script_manager.dart",
"repo_id": "devtools",
"token_count": 1495
} | 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 'dart:math';
import 'package:devtools_app_shared/ui.dart';
import '../primitives/trees.dart';
import '../primitives/utils.dart';
import 'table_co... | devtools/packages/devtools_app/lib/src/shared/table/column_widths.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/table/column_widths.dart",
"repo_id": "devtools",
"token_count": 2167
} | 140 |
// 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.
// This file contain higher level utils, i.e. utils that depend on
// other libraries in this package.
// Utils, that do not have dependencies, should go ... | devtools/packages/devtools_app/lib/src/shared/utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/lib/src/shared/utils.dart",
"repo_id": "devtools",
"token_count": 2717
} | 141 |
#include "../../Flutter/Flutter-Release.xcconfig"
#include "Warnings.xcconfig"
| devtools/packages/devtools_app/macos/Runner/Configs/Release.xcconfig/0 | {
"file_path": "devtools/packages/devtools_app/macos/Runner/Configs/Release.xcconfig",
"repo_id": "devtools",
"token_count": 32
} | 142 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/screens/profiler/cpu_profile_model.dart';
import 'package:devtools_app/src/screens/profiler/cpu_profile_transformer.dart'... | devtools/packages/devtools_app/test/cpu_profiler/cpu_profile_transformer_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/cpu_profiler/cpu_profile_transformer_test.dart",
"repo_id": "devtools",
"token_count": 2618
} | 143 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/screens/debugger/debugger_model.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:vm_service/vm_ser... | devtools/packages/devtools_app/test/debugger/debugger_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/debugger/debugger_model_test.dart",
"repo_id": "devtools",
"token_count": 1748
} | 144 |
// 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/src/shared/analytics/constants.dart';
import 'package:flutter_test/flutter_test.dart';
import '../test_infra/test_data/exten... | devtools/packages/devtools_app/test/extensions/extension_analytics_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/extensions/extension_analytics_test.dart",
"repo_id": "devtools",
"token_count": 1225
} | 145 |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@TestOn('vm')
import 'dart:convert';
import 'package:devtools_app/src/screens/logging/logging_controller.dart';
import 'package:devtools_app/src/service/... | devtools/packages/devtools_app/test/logging/logging_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/logging/logging_controller_test.dart",
"repo_id": "devtools",
"token_count": 2987
} | 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:devtools_app/src/shared/memory/adapted_heap_data.dart';
import 'package:devtools_app/src/shared/memory/adapted_heap_object.dart';
import '... | devtools/packages/devtools_app/test/memory/shared/heap/heap_analyzer_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/memory/shared/heap/heap_analyzer_test.dart",
"repo_id": "devtools",
"token_count": 2822
} | 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/devtools_app.dart';
import 'package:flutter_test/flutter_test.dart';
import '../../test_infra/test_data/performance/sample_p... | devtools/packages/devtools_app/test/performance/frame_analysis/frame_analysis_model_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/performance/frame_analysis/frame_analysis_model_test.dart",
"repo_id": "devtools",
"token_count": 1181
} | 148 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/shared/feature_flags.dart';
import 'package:devtools_app/src/shared/globals.dart';
import 'package:flutter_test/flutter_t... | devtools/packages/devtools_app/test/primitives/feature_flags_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/primitives/feature_flags_test.dart",
"repo_id": "devtools",
"token_count": 160
} | 149 |
// 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/src/shared/environment_parameters/environment_parameters_external.dart';
import 'package:flutter_test/flutter_test.dart';
vo... | devtools/packages/devtools_app/test/shared/environment_parameters/environment_parameters_external_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/environment_parameters/environment_parameters_external_test.dart",
"repo_id": "devtools",
"token_count": 417
} | 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 'dart:async';
import 'package:devtools_app/src/shared/primitives/flutter_widgets/linked_scroll_controller.dart';
import 'package:flutter/material.... | devtools/packages/devtools_app/test/shared/linked_scroll_controller_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/linked_scroll_controller_test.dart",
"repo_id": "devtools",
"token_count": 5686
} | 151 |
// 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_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/scaffold_test.dart",
"repo_id": "devtools",
"token_count": 3274
} | 152 |
// 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:collection/collection.dart';
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/shared/ui/drop_down_button.... | devtools/packages/devtools_app/test/shared/vm_flag_widgets_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/shared/vm_flag_widgets_test.dart",
"repo_id": "devtools",
"token_count": 3284
} | 153 |
// 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.
export 'autocomplete_export.dart';
// This lint gets in the way of testing autocomplete.
// ignore_for_file: unused_element
int _privateFieldInOtherLibra... | devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/autocomplete_helper_library.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/fixtures/flutter_app/lib/src/autocomplete_helper_library.dart",
"repo_id": "devtools",
"token_count": 120
} | 154 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/shared/primitives/storage.dart';
/// A [Storage] implementation that does not store state between instances.
///
/// Thi... | devtools/packages/devtools_app/test/test_infra/flutter_test_storage.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/flutter_test_storage.dart",
"repo_id": "devtools",
"token_count": 187
} | 155 |
>/// This is an open code block:
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block.documentation.dart
>/// ```dart
#^^^^^^^^^^^ comment.block.documentation.dart
>///
#^^^ comment.block.documentation.dart
>/// This should not cause parsing to fail.
#^^^ comment.block.documentation.dart
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... | devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/open_code_block.golden/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/goldens/syntax_highlighting/open_code_block.golden",
"repo_id": "devtools",
"token_count": 207
} | 156 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file.
import 'package:devtools_app/devtools_app.dart';
import 'package:devtools_app/src/screens/memory/panes/diff/controller/diff_pane_controller.dart';
import ... | devtools/packages/devtools_app/test/test_infra/scenes/memory/diff_snapshot.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/scenes/memory/diff_snapshot.dart",
"repo_id": "devtools",
"token_count": 907
} | 157 |
// 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<String, dynamic> simpleCpuProfile1 = {
'type': '_CpuProfileTimeline',
'samplePeriod': 50,
'stackDepth': 128,
'sampleCount': 10,
'timeO... | devtools/packages/devtools_app/test/test_infra/test_data/cpu_profiler/simple_profile_1.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/cpu_profiler/simple_profile_1.dart",
"repo_id": "devtools",
"token_count": 2770
} | 158 |
// 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.
// This is the Perfetto data from [samplePerformanceData] as data class objects.
// ignore_for_file: avoid_classes_with_only_static_members
import 'dart... | devtools/packages/devtools_app/test/test_infra/test_data/performance/sample_performance_data.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/test_data/performance/sample_performance_data.dart",
"repo_id": "devtools",
"token_count": 19224
} | 159 |
// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:devtools_app/src/shared/primitives/trees.dart';
extension TreeNodeList<T extends TreeNode<T>> on List<T> {
int get numNodes {
retur... | devtools/packages/devtools_app/test/test_infra/utils/tree_utils.dart/0 | {
"file_path": "devtools/packages/devtools_app/test/test_infra/utils/tree_utils.dart",
"repo_id": "devtools",
"token_count": 191
} | 160 |
// 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.
// ignore_for_file: avoid_print
import 'dart:io';
import 'dart:typed_data';
import 'package:collection/collection.dart';
import 'package:flutter_driver/... | devtools/packages/devtools_app/test_driver/integration_test.dart/0 | {
"file_path": "devtools/packages/devtools_app/test_driver/integration_test.dart",
"repo_id": "devtools",
"token_count": 1846
} | 161 |
// 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/widgets.dart';
/// This is an example of a [StatefulWidget] that uses the [AutoD... | devtools/packages/devtools_app_shared/example/utils/auto_dispose_example.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/example/utils/auto_dispose_example.dart",
"repo_id": "devtools",
"token_count": 801
} | 162 |
// 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 'split_pane.dart';
/// A widget that takes a list of [children] and lays them out in a column where
/// e... | devtools/packages/devtools_app_shared/lib/src/ui/flex_split_column.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/src/ui/flex_split_column.dart",
"repo_id": "devtools",
"token_count": 1703
} | 163 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
export 'src/utils/auto_dispose.dart';
export 'src/utils/globals.dart';
export 'src/utils/list.dart';
export 'src/utils/url/url.dart';
export 'src/utils/ut... | devtools/packages/devtools_app_shared/lib/utils.dart/0 | {
"file_path": "devtools/packages/devtools_app_shared/lib/utils.dart",
"repo_id": "devtools",
"token_count": 110
} | 164 |
#include "Generated.xcconfig"
| devtools/packages/devtools_extensions/example/app_that_uses_foo/ios/Flutter/Debug.xcconfig/0 | {
"file_path": "devtools/packages/devtools_extensions/example/app_that_uses_foo/ios/Flutter/Debug.xcconfig",
"repo_id": "devtools",
"token_count": 12
} | 165 |
// 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:developer';
import 'dart:math';
import 'package:flutter/foundation.dart';
/// This class will be used from `app_that... | devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/lib/src/foo_controller.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/example/packages_with_extensions/foo/packages/foo/lib/src/foo_controller.dart",
"repo_id": "devtools",
"token_count": 1246
} | 166 |
// Copyright 2024 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
part of '../_simulated_devtools_environment.dart';
@visibleForTesting
class DTDConnectionDisplay extends StatelessWidget {
const DTDConnectionDisplay({... | devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/connection_ui/_dtd_connect.dart/0 | {
"file_path": "devtools/packages/devtools_extensions/lib/src/template/_simulated_devtools_environment/connection_ui/_dtd_connect.dart",
"repo_id": "devtools",
"token_count": 2932
} | 167 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(terry): Need the iOS version of this data.
/// Android ADB dumpsys meminfo data.
class AdbMemoryInfo {
AdbMemoryInfo(
this.realtime,
thi... | devtools/packages/devtools_shared/lib/src/memory/adb_memory_info.dart/0 | {
"file_path": "devtools/packages/devtools_shared/lib/src/memory/adb_memory_info.dart",
"repo_id": "devtools",
"token_count": 1555
} | 168 |
// Copyright 2024 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:path/path.dart' as path;
typedef TestDtdConnectionInfo = ({
String? uri,... | devtools/packages/devtools_shared/test/helpers.dart/0 | {
"file_path": "devtools/packages/devtools_shared/test/helpers.dart",
"repo_id": "devtools",
"token_count": 1422
} | 169 |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
Finder findSubstring(String text) {
return find.byWidgetPredic... | devtools/packages/devtools_test/lib/src/helpers/finders.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/helpers/finders.dart",
"repo_id": "devtools",
"token_count": 614
} | 170 |
// Copyright 2023 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: prefer_single_quotes
// ignore_for_file: prefer-trailing-comma
// ignore_for_file: require_trailing_commas
final Map<String, dynamic>... | devtools/packages/devtools_test/lib/src/test_data/_cpu_profiler_data.dart/0 | {
"file_path": "devtools/packages/devtools_test/lib/src/test_data/_cpu_profiler_data.dart",
"repo_id": "devtools",
"token_count": 2326603
} | 171 |
# codicon
__codicon__ is an easy to use package that exposes
[vscode-icons](https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons)
for Flutter.
## Example Usage
In the pubspec.yaml file add the `codicon` dependency as below:
```yaml
dependencies:
# codicon: any # uncomment and change for... | devtools/third_party/packages/codicon/README.md/0 | {
"file_path": "devtools/third_party/packages/codicon/README.md",
"repo_id": "devtools",
"token_count": 206
} | 172 |
/* latin */
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 100;
src: url(assets/Roboto-100.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
... | devtools/third_party/packages/perfetto_ui_compiled/lib/dist/v33.0-1838a06af/perfetto.css/0 | {
"file_path": "devtools/third_party/packages/perfetto_ui_compiled/lib/dist/v33.0-1838a06af/perfetto.css",
"repo_id": "devtools",
"token_count": 52255
} | 173 |
// 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_test/flutter_test.dart';
import 'package:widget_icons/widget_icons.dart';
import 'package:widget_icons/widget_theme.dart';
void m... | devtools/third_party/packages/widget_icons/test/widget_theme_test.dart/0 | {
"file_path": "devtools/third_party/packages/widget_icons/test/widget_theme_test.dart",
"repo_id": "devtools",
"token_count": 233
} | 174 |
The scripts in this directory are used in the Flutter customer test registry
[test](https://github.com/flutter/tests/blob/main/registry/flutter_devtools.test)
for DevTools.
If a test is flaky or needs to be skipped on the Flutter customer test run,
skip the test case by adding the tag 'skip-for-flutter-customer-tests'... | devtools/tool/flutter_customer_tests/README.md/0 | {
"file_path": "devtools/tool/flutter_customer_tests/README.md",
"repo_id": "devtools",
"token_count": 159
} | 175 |
// 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:args/args.dart';
import 'package:args/command_runner.dart';
extension CommandExtension on Command {
void logStatus(String log) {
pr... | devtools/tool/lib/commands/shared.dart/0 | {
"file_path": "devtools/tool/lib/commands/shared.dart",
"repo_id": "devtools",
"token_count": 688
} | 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.
#ifndef FLUTTER_ASSETS_ASSET_MANAGER_H_
#define FLUTTER_ASSETS_ASSET_MANAGER_H_
#include <deque>
#include <memory>
#include <string>
#include <optional>
... | engine/assets/asset_manager.h/0 | {
"file_path": "engine/assets/asset_manager.h",
"repo_id": "engine",
"token_count": 1327
} | 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.
import("//flutter/build/dart/dart.gni")
import("//flutter/common/config.gni")
import("$dart_src/build/dart/copy_tree.gni")
declare_args() {
# Maximum numb... | engine/build/dart/BUILD.gn/0 | {
"file_path": "engine/build/dart/BUILD.gn",
"repo_id": "engine",
"token_count": 454
} | 178 |
# Copyright 2018 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.
if (is_fuchsia) {
import("//flutter/tools/fuchsia/gn-sdk/src/gn_configs.gni")
}
config("gtest_private_config") {
visibility = [ ":*" ]
include_dirs = [... | engine/build/secondary/flutter/third_party/googletest/BUILD.gn/0 | {
"file_path": "engine/build/secondary/flutter/third_party/googletest/BUILD.gn",
"repo_id": "engine",
"token_count": 1010
} | 179 |
# 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.
# The ANGLE build rules have a target that depends on jsoncpp, but the Flutter
# engine never actually builds that target, so just this provides empty dummy
#... | engine/build/secondary/third_party/jsoncpp/BUILD.gn/0 | {
"file_path": "engine/build/secondary/third_party/jsoncpp/BUILD.gn",
"repo_id": "engine",
"token_count": 108
} | 180 |
# Protocol Buffers GN Build Support
This repository contains
[GN build system](https://gn.googlesource.com/gn/+/HEAD/) support for
[Protocol Buffers](https://github.com/protocolbuffers/protobuf). It's in its own
repository because it needs to be shared by
[Fuchsia](https://fuchsia.googlesource.com/fuchsia/) and
[Cobal... | engine/build/secondary/third_party/protobuf/README.md/0 | {
"file_path": "engine/build/secondary/third_party/protobuf/README.md",
"repo_id": "engine",
"token_count": 240
} | 181 |
{
"builds": [
{
"archives": [
{
"name": "linux_profile_arm64",
"type": "gcs",
"base_path": "out/linux_profile_arm64/zip_archives/",
"include_paths": [
"out/linux_profile_arm64/... | engine/ci/builders/linux_arm_host_engine.json/0 | {
"file_path": "engine/ci/builders/linux_arm_host_engine.json",
"repo_id": "engine",
"token_count": 2734
} | 182 |
{
"drone_dimensions": [
"device_type=none",
"os=Windows-10"
],
"gclient_variables": {
"download_android_deps": false,
"use_rbe": true
},
"dependencies": [
{
"dependency": "certs",
"version": "version:9563bb"
}
],
"gn": [... | engine/ci/builders/standalone/windows_unopt.json/0 | {
"file_path": "engine/ci/builders/standalone/windows_unopt.json",
"repo_id": "engine",
"token_count": 655
} | 183 |
Signature: 92b664c5b6675c28ebe0bdca196e00a1
====================================================================================================
LIBRARY: fuchsia_sdk
ORIGIN: ../../../fuchsia/sdk/linux/LICENSE.vulkan
TYPE: LicenseType.apache
FILE: ../../../fuchsia/sdk/linux/arch/arm64/dist/VkLayer_image_pipe_swapchain.... | engine/ci/licenses_golden/licenses_fuchsia/0 | {
"file_path": "engine/ci/licenses_golden/licenses_fuchsia",
"repo_id": "engine",
"token_count": 715327
} | 184 |
// 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_BENCHMARKING_DL_BENCHMARKS_H_
#define FLUTTER_DISPLAY_LIST_BENCHMARKING_DL_BENCHMARKS_H_
#include "flutter/display_list/dl_ca... | engine/display_list/benchmarking/dl_benchmarks.h/0 | {
"file_path": "engine/display_list/benchmarking/dl_benchmarks.h",
"repo_id": "engine",
"token_count": 26545
} | 185 |
// 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"
#include "flutter/display_list/utils/dl_comparable.h"
#include "gtest/gtest.h"
namespace flutter {
namespace t... | engine/display_list/dl_paint_unittests.cc/0 | {
"file_path": "engine/display_list/dl_paint_unittests.cc",
"repo_id": "engine",
"token_count": 3284
} | 186 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_EFFECTS_DL_MASK_FILTER_H_
#define FLUTTER_DISPLAY_LIST_EFFECTS_DL_MASK_FILTER_H_
#include "flutter/display_list/dl_attributes... | engine/display_list/effects/dl_mask_filter.h/0 | {
"file_path": "engine/display_list/effects/dl_mask_filter.h",
"repo_id": "engine",
"token_count": 1213
} | 187 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_IMAGE_DL_IMAGE_SKIA_H_
#define FLUTTER_DISPLAY_LIST_IMAGE_DL_IMAGE_SKIA_H_
#include "flutter/display_list/image/dl_image.h"
#... | engine/display_list/image/dl_image_skia.h/0 | {
"file_path": "engine/display_list/image/dl_image_skia.h",
"repo_id": "engine",
"token_count": 419
} | 188 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SNIPPETS_H_
#define FLUTTER_DISPLAY_LIST_TESTING_DL_TEST_SNIPPETS_H_
#include "flutter/display_list/display_l... | engine/display_list/testing/dl_test_snippets.h/0 | {
"file_path": "engine/display_list/testing/dl_test_snippets.h",
"repo_id": "engine",
"token_count": 5135
} | 189 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_DISPLAY_LIST_UTILS_DL_RECEIVER_UTILS_H_
#define FLUTTER_DISPLAY_LIST_UTILS_DL_RECEIVER_UTILS_H_
#include "flutter/display_list/dl_op_recei... | engine/display_list/utils/dl_receiver_utils.h/0 | {
"file_path": "engine/display_list/utils/dl_receiver_utils.h",
"repo_id": "engine",
"token_count": 2509
} | 190 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/diff_context.h"
#include "flutter/flow/layers/layer.h"
namespace flutter {
DiffContext::DiffContext(SkISize frame_size,
... | engine/flow/diff_context.cc/0 | {
"file_path": "engine/flow/diff_context.cc",
"repo_id": "engine",
"token_count": 3716
} | 191 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_BACKDROP_FILTER_LAYER_H_
#define FLUTTER_FLOW_LAYERS_BACKDROP_FILTER_LAYER_H_
#include "flutter/flow/layers/container_layer.h"... | engine/flow/layers/backdrop_filter_layer.h/0 | {
"file_path": "engine/flow/layers/backdrop_filter_layer.h",
"repo_id": "engine",
"token_count": 353
} | 192 |
// 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_COLOR_FILTER_LAYER_H_
#define FLUTTER_FLOW_LAYERS_COLOR_FILTER_LAYER_H_
#include "flutter/display_list/effects/dl_color_filter... | engine/flow/layers/color_filter_layer.h/0 | {
"file_path": "engine/flow/layers/color_filter_layer.h",
"repo_id": "engine",
"token_count": 321
} | 193 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_LAYERS_LAYER_RASTER_CACHE_ITEM_H_
#define FLUTTER_FLOW_LAYERS_LAYER_RASTER_CACHE_ITEM_H_
#include <memory>
#include <optional>
#incl... | engine/flow/layers/layer_raster_cache_item.h/0 | {
"file_path": "engine/flow/layers/layer_raster_cache_item.h",
"repo_id": "engine",
"token_count": 827
} | 194 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/layers/platform_view_layer.h"
#include "flutter/display_list/skia/dl_sk_canvas.h"
namespace flutter {
PlatformViewLayer::Platform... | engine/flow/layers/platform_view_layer.cc/0 | {
"file_path": "engine/flow/layers/platform_view_layer.cc",
"repo_id": "engine",
"token_count": 810
} | 195 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_PAINT_UTILS_H_
#define FLUTTER_FLOW_PAINT_UTILS_H_
#include "flutter/display_list/dl_canvas.h"
#include "third_party/skia/include/cor... | engine/flow/paint_utils.h/0 | {
"file_path": "engine/flow/paint_utils.h",
"repo_id": "engine",
"token_count": 240
} | 196 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/flow/stopwatch_sk.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPaint.h"
#include ... | engine/flow/stopwatch_sk.cc/0 | {
"file_path": "engine/flow/stopwatch_sk.cc",
"repo_id": "engine",
"token_count": 2735
} | 197 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FLOW_TESTING_MOCK_LAYER_H_
#define FLUTTER_FLOW_TESTING_MOCK_LAYER_H_
#include <functional>
#include <memory>
#include <utility>
#include ... | engine/flow/testing/mock_layer.h/0 | {
"file_path": "engine/flow/testing/mock_layer.h",
"repo_id": "engine",
"token_count": 2090
} | 198 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file adds defines about the platform we're currently building on.
// Operating System:
// FML_OS_WIN / FML_OS_MACOSX / FML_OS_LINUX / FML_OS_PO... | engine/fml/build_config.h/0 | {
"file_path": "engine/fml/build_config.h",
"repo_id": "engine",
"token_count": 1456
} | 199 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_DELAYED_TASK_H_
#define FLUTTER_FML_DELAYED_TASK_H_
#include <queue>
#include "flutter/fml/closure.h"
#include "flutter/fml/task_sour... | engine/fml/delayed_task.h/0 | {
"file_path": "engine/fml/delayed_task.h",
"repo_id": "engine",
"token_count": 520
} | 200 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/log_settings.h"
#include <fcntl.h>
#include <algorithm>
#include <cstring>
#include <iostream>
#include <limits>
#include "flutter... | engine/fml/log_settings.cc/0 | {
"file_path": "engine/fml/log_settings.cc",
"repo_id": "engine",
"token_count": 392
} | 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.
// Provides a smart pointer class for intrusively reference-counted objects.
#ifndef FLUTTER_FML_MEMORY_REF_PTR_H_
#define FLUTTER_FML_MEMORY_REF_PTR_H_
... | engine/fml/memory/ref_ptr.h/0 | {
"file_path": "engine/fml/memory/ref_ptr.h",
"repo_id": "engine",
"token_count": 2943
} | 202 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_MESSAGE_LOOP_TASK_QUEUES_H_
#define FLUTTER_FML_MESSAGE_LOOP_TASK_QUEUES_H_
#include <map>
#include <memory>
#include <mutex>
#include... | engine/fml/message_loop_task_queues.h/0 | {
"file_path": "engine/fml/message_loop_task_queues.h",
"repo_id": "engine",
"token_count": 1820
} | 203 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_FML_PLATFORM_ANDROID_MESSAGE_LOOP_ANDROID_H_
#define FLUTTER_FML_PLATFORM_ANDROID_MESSAGE_LOOP_ANDROID_H_
#include <android/looper.h>
#in... | engine/fml/platform/android/message_loop_android.h/0 | {
"file_path": "engine/fml/platform/android/message_loop_android.h",
"repo_id": "engine",
"token_count": 523
} | 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/fml/platform/darwin/scoped_nsautorelease_pool.h"
#include <objc/message.h>
#include <objc/runtime.h>
namespace {
typedef id (*msg_send)... | engine/fml/platform/darwin/scoped_nsautorelease_pool.cc/0 | {
"file_path": "engine/fml/platform/darwin/scoped_nsautorelease_pool.cc",
"repo_id": "engine",
"token_count": 305
} | 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_FML_PLATFORM_FUCHSIA_LOG_INTEREST_LISTENER_H_
#define FLUTTER_FML_PLATFORM_FUCHSIA_LOG_INTEREST_LISTENER_H_
#include <fidl/fuchsia.diagnos... | engine/fml/platform/fuchsia/log_interest_listener.h/0 | {
"file_path": "engine/fml/platform/fuchsia/log_interest_listener.h",
"repo_id": "engine",
"token_count": 462
} | 206 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/mapping.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
#include <type_traits>
#include "flu... | engine/fml/platform/posix/mapping_posix.cc/0 | {
"file_path": "engine/fml/platform/posix/mapping_posix.cc",
"repo_id": "engine",
"token_count": 959
} | 207 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/paths.h"
#include <windows.h>
#include <algorithm>
#include "flutter/fml/paths.h"
#include "flutter/fml/platform/win/wstring_conve... | engine/fml/platform/win/paths_win.cc/0 | {
"file_path": "engine/fml/platform/win/paths_win.cc",
"repo_id": "engine",
"token_count": 1034
} | 208 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/string_conversion.h"
#include <codecvt>
#include <locale>
#include <sstream>
#include <string>
#include "flutter/fml/build_config.h... | engine/fml/string_conversion.cc/0 | {
"file_path": "engine/fml/string_conversion.cc",
"repo_id": "engine",
"token_count": 471
} | 209 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/synchronization/waitable_event.h"
#include <cerrno>
#include <ctime>
#include "flutter/fml/logging.h"
#include "flutter/fml/time/ti... | engine/fml/synchronization/waitable_event.cc/0 | {
"file_path": "engine/fml/synchronization/waitable_event.cc",
"repo_id": "engine",
"token_count": 1750
} | 210 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/fml/time/time_delta.h"
#include "gtest/gtest.h"
namespace fml {
namespace {
TEST(TimeDelta, Control) {
EXPECT_LT(TimeDelta::Min(), T... | engine/fml/time/time_delta_unittest.cc/0 | {
"file_path": "engine/fml/time/time_delta_unittest.cc",
"repo_id": "engine",
"token_count": 215
} | 211 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.