text stringlengths 6 13.6M | id stringlengths 13 176 | metadata dict | __index_level_0__ int64 0 1.69k |
|---|---|---|---|
// 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_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXTURE_REGISTRAR_H_
#define FLUTTER_SHELL_PLATFORM_LINUX_TESTING_MOCK_TEXTURE_REGISTRAR_H_
#include "fl... | engine/shell/platform/linux/testing/mock_texture_registrar.h/0 | {
"file_path": "engine/shell/platform/linux/testing/mock_texture_registrar.h",
"repo_id": "engine",
"token_count": 415
} | 369 |
// 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_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTTER_FLUTTER_ENGINE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_CLIENT_WRAPPER_INCLUDE_FLUTT... | engine/shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h/0 | {
"file_path": "engine/shell/platform/windows/client_wrapper/include/flutter/flutter_engine.h",
"repo_id": "engine",
"token_count": 1510
} | 370 |
// 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/shell/platform/windows/cursor_handler.h"
#include <memory>
#include <vector>
#include "flutter/fml/macros.h"
#include "flutter/shell/pla... | engine/shell/platform/windows/cursor_handler_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/cursor_handler_unittests.cc",
"repo_id": "engine",
"token_count": 5665
} | 371 |
// 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_SHELL_PLATFORM_WINDOWS_EGL_SURFACE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_EGL_SURFACE_H_
#include <EGL/egl.h>
#include "flutter/fml/ma... | engine/shell/platform/windows/egl/surface.h/0 | {
"file_path": "engine/shell/platform/windows/egl/surface.h",
"repo_id": "engine",
"token_count": 518
} | 372 |
// 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_SHELL_PLATFORM_WINDOWS_FLUTTER_PROJECT_BUNDLE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_PROJECT_BUNDLE_H_
#include <filesystem>
#i... | engine/shell/platform/windows/flutter_project_bundle.h/0 | {
"file_path": "engine/shell/platform/windows/flutter_project_bundle.h",
"repo_id": "engine",
"token_count": 820
} | 373 |
// 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_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_CONTROLLER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_VIEW_CONTROLLER_H_
#inclu... | engine/shell/platform/windows/flutter_windows_view_controller.h/0 | {
"file_path": "engine/shell/platform/windows/flutter_windows_view_controller.h",
"repo_id": "engine",
"token_count": 373
} | 374 |
// 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_SHELL_PLATFORM_WINDOWS_KEYBOARD_UTILS_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_KEYBOARD_UTILS_H_
#include <stdint.h>
#include <string>
... | engine/shell/platform/windows/keyboard_utils.h/0 | {
"file_path": "engine/shell/platform/windows/keyboard_utils.h",
"repo_id": "engine",
"token_count": 519
} | 375 |
// 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/shell/platform/windows/system_utils.h"
#include <Windows.h>
#include <sstream>
#include "flutter/fml/platform/win/wstring_conversion.h... | engine/shell/platform/windows/system_utils.cc/0 | {
"file_path": "engine/shell/platform/windows/system_utils.cc",
"repo_id": "engine",
"token_count": 1263
} | 376 |
// 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_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_PLATFORM_VIEW_MANAGER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_PLATFORM_VIEW_MANAGER_H_
... | engine/shell/platform/windows/testing/mock_platform_view_manager.h/0 | {
"file_path": "engine/shell/platform/windows/testing/mock_platform_view_manager.h",
"repo_id": "engine",
"token_count": 319
} | 377 |
// 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/shell/platform/windows/testing/windows_test_config_builder.h"
#include <combaseapi.h>
#include <string>
#include <string_view>
#include... | engine/shell/platform/windows/testing/windows_test_config_builder.cc/0 | {
"file_path": "engine/shell/platform/windows/testing/windows_test_config_builder.cc",
"repo_id": "engine",
"token_count": 1135
} | 378 |
// 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_SHELL_PLATFORM_WINDOWS_WINDOW_STATE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_STATE_H_
#include "flutter/shell/platform/common/clie... | engine/shell/platform/windows/window_state.h/0 | {
"file_path": "engine/shell/platform/windows/window_state.h",
"repo_id": "engine",
"token_count": 324
} | 379 |
// 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 is a minimal dependency heart beat test for the Dart VM Service.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'launcher.d... | engine/shell/testing/observatory/test.dart/0 | {
"file_path": "engine/shell/testing/observatory/test.dart",
"repo_id": "engine",
"token_count": 2308
} | 380 |
#!/usr/bin/env python3
#
# 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 argparse
import os
import shutil
import subprocess
import sys
def main():
parser = argparse.ArgumentParser(
descript... | engine/sky/tools/create_xcframework.py/0 | {
"file_path": "engine/sky/tools/create_xcframework.py",
"repo_id": "engine",
"token_count": 577
} | 381 |
// 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/testing/android/native_activity/native_activity.h"
#include "flutter/fml/message_loop.h"
namespace flutter {
NativeActivity::NativeAct... | engine/testing/android/native_activity/native_activity.cc/0 | {
"file_path": "engine/testing/android/native_activity/native_activity.cc",
"repo_id": "engine",
"token_count": 2001
} | 382 |
include ':app'
| engine/testing/android_background_image/android/settings.gradle/0 | {
"file_path": "engine/testing/android_background_image/android/settings.gradle",
"repo_id": "engine",
"token_count": 6
} | 383 |
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:io';
import 'package:litetest/litetest.dart';
import 'package:metrics_center/metrics_center.dart';
import 'package:path/path.dart' as p;
imp... | engine/testing/benchmark/test/parse_and_send_test.dart/0 | {
"file_path": "engine/testing/benchmark/test/parse_and_send_test.dart",
"repo_id": "engine",
"token_count": 616
} | 384 |
// 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:ui';
import 'package:litetest/litetest.dart';
void main() {
test('GestureSettings has a reasonable toString', () {
const GestureSettin... | engine/testing/dart/gesture_settings_test.dart/0 | {
"file_path": "engine/testing/dart/gesture_settings_test.dart",
"repo_id": "engine",
"token_count": 689
} | 385 |
// 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:ui';
import 'package:litetest/litetest.dart';
// These tests should be kept in sync with the web tests in
// lib/web_ui/test/lerp_test.dart.... | engine/testing/dart/lerp_test.dart/0 | {
"file_path": "engine/testing/dart/lerp_test.dart",
"repo_id": "engine",
"token_count": 2173
} | 386 |
// Copyright 2024 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:async';
import 'dart:isolate';
import 'dart:ui';
import 'package:litetest/litetest.dart';
int counter = 0;
void main() {
test('PlatformIs... | engine/testing/dart/platform_isolate_test.dart/0 | {
"file_path": "engine/testing/dart/platform_isolate_test.dart",
"repo_id": "engine",
"token_count": 2144
} | 387 |
// 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_TESTING_DART_ISOLATE_RUNNER_H_
#define FLUTTER_TESTING_DART_ISOLATE_RUNNER_H_
#include "flutter/common/task_runners.h"
#include "flutter/f... | engine/testing/dart_isolate_runner.h/0 | {
"file_path": "engine/testing/dart_isolate_runner.h",
"repo_id": "engine",
"token_count": 847
} | 388 |
// 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/testing/logger_listener.h"
namespace flutter::testing {
LoggerListener::LoggerListener() = default;
LoggerListener::~LoggerListener() ... | engine/testing/logger_listener.cc/0 | {
"file_path": "engine/testing/logger_listener.cc",
"repo_id": "engine",
"token_count": 639
} | 389 |
// 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.
package dev.flutter.scenarios;
import static io.flutter.Build.API_LEVELS;
import android.annotation.TargetApi;
import android.content.Context;
import and... | engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TexturePlatformViewFactory.java/0 | {
"file_path": "engine/testing/scenario_app/android/app/src/main/java/dev/flutter/scenarios/TexturePlatformViewFactory.java",
"repo_id": "engine",
"token_count": 1561
} | 390 |
// 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:async';
import 'dart:convert';
import 'dart:io';
import 'package:process/process.dart';
(Future<int> exitCode, Stream<String> output) getPro... | engine/testing/scenario_app/bin/utils/process_manager_extension.dart/0 | {
"file_path": "engine/testing/scenario_app/bin/utils/process_manager_extension.dart",
"repo_id": "engine",
"token_count": 829
} | 391 |
// 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_TESTING_SCENARIO_APP_IOS_FLUTTERAPPEXTENSIONTESTHOST_FLUTTERAPPEXTENSIONTESTHOST_SCENEDELEGATE_H_
#define FLUTTER_TESTING_SCENARIO_APP_IOS_... | engine/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/SceneDelegate.h/0 | {
"file_path": "engine/testing/scenario_app/ios/FlutterAppExtensionTestHost/FlutterAppExtensionTestHost/SceneDelegate.h",
"repo_id": "engine",
"token_count": 263
} | 392 |
// 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_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_GOLDENPLATFORMVIEWTESTS_H_
#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS... | engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.h",
"repo_id": "engine",
"token_count": 469
} | 393 |
// 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:ui';
import 'channel_util.dart';
import 'scenario.dart';
/// Tries to draw darwin system font: CupertinoSystemDisplay, CupertinoSystemText
c... | engine/testing/scenario_app/lib/src/darwin_system_font.dart/0 | {
"file_path": "engine/testing/scenario_app/lib/src/darwin_system_font.dart",
"repo_id": "engine",
"token_count": 681
} | 394 |
# skia_gold_client
This package allows to create a Skia gold client in the engine repo.
The client uses the `goldctl` tool on LUCI builders to upload screenshots,
and verify if a new screenshot matches the baseline screenshot.
The web UI is available on https://flutter-engine-gold.skia.org/.
## Using the client
1.... | engine/testing/skia_gold_client/README.md/0 | {
"file_path": "engine/testing/skia_gold_client/README.md",
"repo_id": "engine",
"token_count": 774
} | 395 |
// 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/testing/stream_capture.h"
namespace flutter {
namespace testing {
StreamCapture::StreamCapture(std::ostream* ostream)
: ostream_(os... | engine/testing/stream_capture.cc/0 | {
"file_path": "engine/testing/stream_capture.cc",
"repo_id": "engine",
"token_count": 229
} | 396 |
// 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/testing/test_metal_context.h"
#include "flutter/testing/test_metal_surface.h"
#include "flutter/testing/testing.h"
namespace flutter {
n... | engine/testing/test_metal_surface_unittests.cc/0 | {
"file_path": "engine/testing/test_metal_surface_unittests.cc",
"repo_id": "engine",
"token_count": 384
} | 397 |
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Functions to setup xvfb, which is used by the linux machines.
"""
import os
import signal
import subprocess
import tempfile
import time
def xvfb_di... | engine/testing/xvfb.py/0 | {
"file_path": "engine/testing/xvfb.py",
"repo_id": "engine",
"token_count": 2239
} | 398 |
// 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.
#ifndef UI_ACCESSIBILITY_AX_BASE_EXPORT_H_
#define UI_ACCESSIBILITY_AX_BASE_EXPORT_H_
// Defines AX_BASE_EXPORT so that functionality implemented by the
... | engine/third_party/accessibility/ax/ax_base_export.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_base_export.h",
"repo_id": "engine",
"token_count": 330
} | 399 |
// Copyright 2017 The Chromium 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 UI_ACCESSIBILITY_AX_MODE_OBSERVER_H_
#define UI_ACCESSIBILITY_AX_MODE_OBSERVER_H_
#include "ax_export.h"
#include "ax_mode.h"
namespace ui {
cl... | engine/third_party/accessibility/ax/ax_mode_observer.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_mode_observer.h",
"repo_id": "engine",
"token_count": 201
} | 400 |
// Copyright 2016 The Chromium 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 UI_ACCESSIBILITY_AX_RELATIVE_BOUNDS_H_
#define UI_ACCESSIBILITY_AX_RELATIVE_BOUNDS_H_
#include <cstdint>
#include <memory>
#include <ostream>
#i... | engine/third_party/accessibility/ax/ax_relative_bounds.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_relative_bounds.h",
"repo_id": "engine",
"token_count": 711
} | 401 |
// 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.
#include "ax_tree_manager_map.h"
#include "ax_enums.h"
#include "base/container_utils.h"
#include "base/logging.h"
namespace ui {
AXTreeManagerMap::AXT... | engine/third_party/accessibility/ax/ax_tree_manager_map.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_tree_manager_map.cc",
"repo_id": "engine",
"token_count": 686
} | 402 |
// 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.
#include "ax_platform_node_delegate_base.h"
#include <vector>
#include "ax/ax_action_data.h"
#include "ax/ax_constants.h"
#include "ax/ax_node_data.h"
#... | engine/third_party/accessibility/ax/platform/ax_platform_node_delegate_base.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_delegate_base.cc",
"repo_id": "engine",
"token_count": 6994
} | 403 |
// Copyright 2015 The Chromium 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 "ax_platform_node_win.h"
#include <wrl/client.h>
#include <wrl/implements.h>
#include <algorithm>
#include <map>
#include <set>
#include <strin... | engine/third_party/accessibility/ax/platform/ax_platform_node_win.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_win.cc",
"repo_id": "engine",
"token_count": 79135
} | 404 |
// 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.
#include "test_ax_node_helper.h"
#include <map>
#include <utility>
#include "ax_action_data.h"
#include "ax_role_properties.h"
#include "ax_table_info.h... | engine/third_party/accessibility/ax/test_ax_node_helper.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/test_ax_node_helper.cc",
"repo_id": "engine",
"token_count": 2623
} | 405 |
// 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.
#ifndef ACCESSIBILITY_BASE_NO_DESTRUCTOR_H_
#define ACCESSIBILITY_BASE_NO_DESTRUCTOR_H_
#include <new>
#include <utility>
namespace base {
// A wrapper... | engine/third_party/accessibility/base/no_destructor.h/0 | {
"file_path": "engine/third_party/accessibility/base/no_destructor.h",
"repo_id": "engine",
"token_count": 1140
} | 406 |
// 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 ACCESSIBILITY_BASE_PLATFORM_DARWIN_SCOPED_NSOBJECT_H_
#define ACCESSIBILITY_BASE_PLATFORM_DARWIN_SCOPED_NSOBJECT_H_
// Include NSObject.h directly... | engine/third_party/accessibility/base/platform/darwin/scoped_nsobject.h/0 | {
"file_path": "engine/third_party/accessibility/base/platform/darwin/scoped_nsobject.h",
"repo_id": "engine",
"token_count": 1826
} | 407 |
// Copyright (c) 2011 The Chromium 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 BASE_WIN_ENUM_VARIANT_H_
#define BASE_WIN_ENUM_VARIANT_H_
#include <wrl/implements.h>
#include <memory>
#include <vector>
#include "base/wi... | engine/third_party/accessibility/base/win/enum_variant.h/0 | {
"file_path": "engine/third_party/accessibility/base/win/enum_variant.h",
"repo_id": "engine",
"token_count": 517
} | 408 |
// Copyright (c) 2009 The Chromium 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 "insets.h"
#include "base/string_utils.h"
#include "vector2d.h"
namespace gfx {
std::string Insets::ToString() const {
// Print members ... | engine/third_party/accessibility/gfx/geometry/insets.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/insets.cc",
"repo_id": "engine",
"token_count": 297
} | 409 |
// Copyright (c) 2012 The Chromium 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 "rect_f.h"
#include <algorithm>
#include <limits>
#include "ax_build/build_config.h"
#include "base/logging.h"
#include "base/numerics/safe... | engine/third_party/accessibility/gfx/geometry/rect_f.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/rect_f.cc",
"repo_id": "engine",
"token_count": 2975
} | 410 |
// Copyright (c) 2012 The Chromium 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 <cmath>
#include <cstddef>
#include <limits>
#include "gtest/gtest.h"
#include "vector2d.h"
#include "vector2d_f.h"
namespace gfx {
templa... | engine/third_party/accessibility/gfx/geometry/vector2d_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/vector2d_unittest.cc",
"repo_id": "engine",
"token_count": 4544
} | 411 |
Name: ninja
Short Name: ninja
URL: https://github.com/ninja-build/ninja
Revision: See the CIPD version in DEPS
License: Apache License 2.0
License File: https://github.com/ninja-build/ninja/blob/master/COPYING
Security Critical: no
Description:
Ninja is a small build system with a focus on speed, and is used to build
... | engine/third_party/ninja/README.flutter/0 | {
"file_path": "engine/third_party/ninja/README.flutter",
"repo_id": "engine",
"token_count": 160
} | 412 |
// 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 "tonic/common/log.h"
#include <cstdarg>
#include <cstdio>
#include <memory>
namespace tonic {
namespace {
std::function<void(const char*)> log... | engine/third_party/tonic/common/log.cc/0 | {
"file_path": "engine/third_party/tonic/common/log.cc",
"repo_id": "engine",
"token_count": 357
} | 413 |
// 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 LIB_TONIC_DART_MESSAGE_HANDLER_H_
#define LIB_TONIC_DART_MESSAGE_HANDLER_H_
#include <functional>
#include "third_party/dart/runtime/include/dart... | engine/third_party/tonic/dart_message_handler.h/0 | {
"file_path": "engine/third_party/tonic/dart_message_handler.h",
"repo_id": "engine",
"token_count": 622
} | 414 |
// 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/testing/dart_isolate_runner.h"
#include "flutter/testing/fixture_test.h"
#include "tonic/converter/dart_converter.h"
#include "tonic/fil... | engine/third_party/tonic/file_loader/file_loader_unittests.cc/0 | {
"file_path": "engine/third_party/tonic/file_loader/file_loader_unittests.cc",
"repo_id": "engine",
"token_count": 689
} | 415 |
// 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 "filesystem/path.h"
#include "filesystem/directory.h"
#include "filesystem/scoped_temp_dir.h"
#include "gtest/gtest.h"
#include "tonic/common/buil... | engine/third_party/tonic/filesystem/tests/path_unittest.cc/0 | {
"file_path": "engine/third_party/tonic/filesystem/tests/path_unittest.cc",
"repo_id": "engine",
"token_count": 3489
} | 416 |
// 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:ffi';
import 'dart:nativewrappers';
import 'dart:typed_data';
void main() {}
class SomeClass {
int i;
SomeClass(this.i);
}
@pragma('vm:... | engine/third_party/tonic/tests/fixtures/tonic_test.dart/0 | {
"file_path": "engine/third_party/tonic/tests/fixtures/tonic_test.dart",
"repo_id": "engine",
"token_count": 1549
} | 417 |
/*
* Copyright 2019 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | engine/third_party/txt/src/skia/paragraph_builder_skia.cc/0 | {
"file_path": "engine/third_party/txt/src/skia/paragraph_builder_skia.cc",
"repo_id": "engine",
"token_count": 3070
} | 418 |
/*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | engine/third_party/txt/src/txt/paragraph_builder.cc/0 | {
"file_path": "engine/third_party/txt/src/txt/paragraph_builder.cc",
"repo_id": "engine",
"token_count": 486
} | 419 |
/*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | engine/third_party/txt/src/txt/test_font_manager.h/0 | {
"file_path": "engine/third_party/txt/src/txt/test_font_manager.h",
"repo_id": "engine",
"token_count": 484
} | 420 |
//---------------------------------------------------------------------------------------------
// Copyright (c) 2022 Google LLC
// Licensed under the MIT License. See License.txt in the project root for license information.
//-------------------------------------------------------------------------------------------... | engine/third_party/web_locale_keymap/test/test_cases.g.dart/0 | {
"file_path": "engine/third_party/web_locale_keymap/test/test_cases.g.dart",
"repo_id": "engine",
"token_count": 42440
} | 421 |
#!/usr/bin/env python3
#
# 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 argparse
import os
import subprocess
import sys
ANDROID_LOG_CLASS = 'android.util.Log'
FLUTTER_LOG_CLASS = 'io.flutter.Log'
... | engine/tools/android_illegal_imports.py/0 | {
"file_path": "engine/tools/android_illegal_imports.py",
"repo_id": "engine",
"token_count": 1126
} | 422 |
// 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.
/// Describes what should be linted by the Clang Tidy tool.
sealed class LintTarget {
/// Creates a new [LintTarget].
const LintTarget();
}
/// Lints ... | engine/tools/clang_tidy/lib/src/lint_target.dart/0 | {
"file_path": "engine/tools/clang_tidy/lib/src/lint_target.dart",
"repo_id": "engine",
"token_count": 363
} | 423 |
// 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.
// ignore_for_file: public_member_api_docs
// The purpose of this list of flags in a file separate from the command
// definitions is to ensure that flags... | engine/tools/engine_tool/lib/src/commands/flags.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/commands/flags.dart",
"repo_id": "engine",
"token_count": 221
} | 424 |
// 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:ffi' as ffi show Abi;
import 'dart:io' as io;
import 'package:engine_build_configs/engine_build_configs.dart';
import 'package:engine_repo_to... | engine/tools/engine_tool/test/fetch_command_test.dart/0 | {
"file_path": "engine/tools/engine_tool/test/fetch_command_test.dart",
"repo_id": "engine",
"token_count": 1076
} | 425 |
#!/usr/bin/env python3
# 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 argparse
import os
import subprocess
import sys
def main():
parser = argparse.ArgumentParser(
description='Executes a ... | engine/tools/fuchsia/depfile_path_to_relative.py/0 | {
"file_path": "engine/tools/fuchsia/depfile_path_to_relative.py",
"repo_id": "engine",
"token_count": 315
} | 426 |
# 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/fuchsia_config.gni")
# The inputs to this template are 'binary_path' and a boolean 'unstripped'.
# If 'unstripped' is specified, we ... | engine/tools/fuchsia/fuchsia_debug_symbols.gni/0 | {
"file_path": "engine/tools/fuchsia/fuchsia_debug_symbols.gni",
"repo_id": "engine",
"token_count": 926
} | 427 |
#!/usr/bin/env python3
#
# 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 argparse
import os
import sys
BUILD_CONFIG_TEMPLATE = """
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use ... | engine/tools/gen_android_buildconfig.py/0 | {
"file_path": "engine/tools/gen_android_buildconfig.py",
"repo_id": "engine",
"token_count": 564
} | 428 |
// 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:args/args.dart';
import 'package:args/command_runner.dart';
import 'src/post_checkout_command.dart';
import 'src/... | engine/tools/githooks/lib/githooks.dart/0 | {
"file_path": "engine/tools/githooks/lib/githooks.dart",
"repo_id": "engine",
"token_count": 761
} | 429 |
# 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 imp
import os
import unittest
SKY_TOOLS = os.path.dirname(os.path.abspath(__file__))
gn = imp.load_source('gn', os.path.join(SKY_TOOLS, 'gn'))
class... | engine/tools/gn_test.py/0 | {
"file_path": "engine/tools/gn_test.py",
"repo_id": "engine",
"token_count": 1055
} | 430 |
// 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:engine_repo_tools/engine_repo_tools.dart';
import 'package:header_guard_check/header_guard_check.dart';
import 'pa... | engine/tools/header_guard_check/test/header_guard_check_test.dart/0 | {
"file_path": "engine/tools/header_guard_check/test/header_guard_check_test.dart",
"repo_id": "engine",
"token_count": 2069
} | 431 |
// 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 'package:licenses/formatter.dart';
import 'package:litetest/litetest.dart';
void main() {
test('Block comments', () {
expect(reformat('/* tes... | engine/tools/licenses/test/formatter_test.dart/0 | {
"file_path": "engine/tools/licenses/test/formatter_test.dart",
"repo_id": "engine",
"token_count": 1974
} | 432 |
// 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:async';
import 'dart:convert';
import 'dart:ffi' as ffi;
import 'dart:io' as io show Directory, Process;
import 'package:path/path.dart' as p... | engine/tools/pkg/engine_build_configs/lib/src/build_config_runner.dart/0 | {
"file_path": "engine/tools/pkg/engine_build_configs/lib/src/build_config_runner.dart",
"repo_id": "engine",
"token_count": 7749
} | 433 |
# `process_fakes`
Fake implementations of `Process` and `ProcessManager` for testing.
This is not a great package, and is the bare minimum needed for fairly basic
tooling that uses `ProcessManager`. If we ever need a more complete solution
we should look at upstreaming [`flutter_tools/.../fake_proecss_manager.dart`](... | engine/tools/pkg/process_fakes/README.md/0 | {
"file_path": "engine/tools/pkg/process_fakes/README.md",
"repo_id": "engine",
"token_count": 152
} | 434 |
// 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/vulkan/procs/vulkan_proc_table.h"
#include <utility>
#include "flutter/fml/logging.h"
#define ACQUIRE_PROC(name, context) ... | engine/vulkan/procs/vulkan_proc_table.cc/0 | {
"file_path": "engine/vulkan/procs/vulkan_proc_table.cc",
"repo_id": "engine",
"token_count": 2955
} | 435 |
// 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_VULKAN_VULKAN_NATIVE_SURFACE_H_
#define FLUTTER_VULKAN_VULKAN_NATIVE_SURFACE_H_
#include "flutter/fml/macros.h"
#include "flutter/vulkan/p... | engine/vulkan/vulkan_native_surface.h/0 | {
"file_path": "engine/vulkan/vulkan_native_surface.h",
"repo_id": "engine",
"token_count": 349
} | 436 |
# Copyright 2022 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 BUILD.gn is kept separate from //flutter/BUILD.gn because
# //flutter/BUILD.gn pulls in Flutter SDK dependencies which will crash
# when the target CPU... | engine/wasm/BUILD.gn/0 | {
"file_path": "engine/wasm/BUILD.gn",
"repo_id": "engine",
"token_count": 160
} | 437 |
# 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.
import("//flutter/build/dart/dart.gni")
import("//flutter/common/config.gni")
import("$dart_src/build/dart/dart_action.gni")
dart_sdk_package_config = "$dar... | engine/web_sdk/web_sdk.gni/0 | {
"file_path": "engine/web_sdk/web_sdk.gni",
"repo_id": "engine",
"token_count": 963
} | 438 |
<component name="libraryTable">
<library name="com.google.protobuf:protobuf-java:3.5.1" type="repository">
<properties maven-id="com.google.protobuf:protobuf-java:3.5.1" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/protobuf/protobuf-java/3.5.1/protobuf-java-3.5.1.jar!/" />
</CLASSES>
... | flutter-intellij/.idea/libraries/com_google_protobuf_protobuf_java_3_5_1.xml/0 | {
"file_path": "flutter-intellij/.idea/libraries/com_google_protobuf_protobuf_java_3_5_1.xml",
"repo_id": "flutter-intellij",
"token_count": 174
} | 439 |
/*
* 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.
*/
package io.flutter.tests.gui
import com.intellij.testGuiFramework.framework.RunWithIde
import com.intellij.testGuiFramework.impl.GuiTestCase
impor... | flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/PerfTest.kt/0 | {
"file_path": "flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/PerfTest.kt",
"repo_id": "flutter-intellij",
"token_count": 812
} | 440 |
/*
* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter;
import com.intellij.ide.DataManager;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.ide.plugins.Plug... | flutter-intellij/flutter-idea/src/io/flutter/FlutterErrorReportSubmitter.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/FlutterErrorReportSubmitter.java",
"repo_id": "flutter-intellij",
"token_count": 3374
} | 441 |
/*
* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.actions;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.GeneralCommandLine;
impo... | flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterDoctorAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterDoctorAction.java",
"repo_id": "flutter-intellij",
"token_count": 819
} | 442 |
/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.actions;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.project.Project;
import com.intellij.ope... | flutter-intellij/flutter-idea/src/io/flutter/actions/ProjectActions.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/ProjectActions.java",
"repo_id": "flutter-intellij",
"token_count": 492
} | 443 |
package io.flutter.analytics;
import org.jetbrains.annotations.NotNull;
import java.time.Instant;
public class RequestDetails {
private final String method;
private final Instant startTime;
public RequestDetails(@NotNull String method, @NotNull Instant startTime) {
this.method = method;
this.startTime... | flutter-intellij/flutter-idea/src/io/flutter/analytics/RequestDetails.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/analytics/RequestDetails.java",
"repo_id": "flutter-intellij",
"token_count": 185
} | 444 |
/*
* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.console;
import com.intellij.execution.process.ColoredProcessHandler;
import com.intellij.execution.ui.ConsoleViewContentType;
i... | flutter-intellij/flutter-idea/src/io/flutter/console/FlutterConsoles.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/console/FlutterConsoles.java",
"repo_id": "flutter-intellij",
"token_count": 1117
} | 445 |
/*
* 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.
*/
package io.flutter.editor;
import java.awt.*;
public class ExpressionParsingUtils {
public static Integer parseNumberFromCallParam(String callTe... | flutter-intellij/flutter-idea/src/io/flutter/editor/ExpressionParsingUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/ExpressionParsingUtils.java",
"repo_id": "flutter-intellij",
"token_count": 1577
} | 446 |
/*
* 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.
*/
package io.flutter.editor;
import com.intellij.openapi.ui.popup.Balloon;
import com.intellij.ui.colorpicker.ColorPickerBuilder;
import com.intellij... | flutter-intellij/flutter-idea/src/io/flutter/editor/IntellijColorPickerProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/IntellijColorPickerProvider.java",
"repo_id": "flutter-intellij",
"token_count": 1069
} | 447 |
/*
* 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.
*/
package io.flutter.editor;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.util.Disposer;
import io.flutter.inspector.Diagnosti... | flutter-intellij/flutter-idea/src/io/flutter/editor/WidgetViewController.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/WidgetViewController.java",
"repo_id": "flutter-intellij",
"token_count": 1238
} | 448 |
/*
* 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.
*/
package io.flutter.jxbrowser;
import com.intellij.openapi.application.ApplicationListener;
import com.intellij.openapi.application.ApplicationManag... | flutter-intellij/flutter-idea/src/io/flutter/jxbrowser/EmbeddedBrowserEngine.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/jxbrowser/EmbeddedBrowserEngine.java",
"repo_id": "flutter-intellij",
"token_count": 888
} | 449 |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | flutter-intellij/flutter-idea/src/io/flutter/module/settings/InitializeOnceBoolValueProperty.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/settings/InitializeOnceBoolValueProperty.java",
"repo_id": "flutter-intellij",
"token_count": 710
} | 450 |
/*
* 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.
*/
package io.flutter.perf;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.fileEditor.*;
import com.intellij.openapi.project.Proj... | flutter-intellij/flutter-idea/src/io/flutter/perf/FlutterWidgetPerfManager.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/FlutterWidgetPerfManager.java",
"repo_id": "flutter-intellij",
"token_count": 3505
} | 451 |
/*
* 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.
*/
package io.flutter.perf;
import com.google.gson.JsonObject;
/**
* Interface defining events relevant to tracking widget performance.
* <p>
* Se... | flutter-intellij/flutter-idea/src/io/flutter/perf/WidgetPerfListener.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/WidgetPerfListener.java",
"repo_id": "flutter-intellij",
"token_count": 179
} | 452 |
/*
* 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.
*/
package io.flutter.preview;
import io.flutter.editor.PreviewViewController;
import io.flutter.editor.PreviewViewControllerBase;
import javax.swing... | flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewViewModelPanel.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewViewModelPanel.java",
"repo_id": "flutter-intellij",
"token_count": 696
} | 453 |
/*
* 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.
*/
package io.flutter.run;
import io.flutter.sdk.XcodeUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
imp... | flutter-intellij/flutter-idea/src/io/flutter/run/FlutterDevice.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/FlutterDevice.java",
"repo_id": "flutter-intellij",
"token_count": 1316
} | 454 |
/*
* Copyright 2016 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.run;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonPrimitive;
import com.intellij.ex... | flutter-intellij/flutter-idea/src/io/flutter/run/SdkRunConfig.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/SdkRunConfig.java",
"repo_id": "flutter-intellij",
"token_count": 4362
} | 455 |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="io.flutter.run.bazelTest.FlutterBazelTestConfigurationEditorForm">
<grid id="27dc6" binding="myMainPanel" default-binding="true" layout-manager="GridLayoutManager" row-count="11" column-count="2" s... | flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/FlutterBazelTestConfigurationEditorForm.form/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/FlutterBazelTestConfigurationEditorForm.form",
"repo_id": "flutter-intellij",
"token_count": 3239
} | 456 |
/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.run.daemon;
import com.google.common.base.Charsets;
import com.google.gson.*;
import com.intellij.execution.process.ProcessAdapt... | flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DaemonApi.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DaemonApi.java",
"repo_id": "flutter-intellij",
"token_count": 5816
} | 457 |
/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.run.test;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import co... | flutter-intellij/flutter-idea/src/io/flutter/run/test/FlutterTestRunner.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/test/FlutterTestRunner.java",
"repo_id": "flutter-intellij",
"token_count": 4460
} | 458 |
/*
* 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.
*/
package io.flutter.survey;
import com.google.gson.JsonObject;
import org.jetbrains.annotations.NotNull;
import java.time.ZonedDateTime;
import jav... | flutter-intellij/flutter-idea/src/io/flutter/survey/FlutterSurvey.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/survey/FlutterSurvey.java",
"repo_id": "flutter-intellij",
"token_count": 604
} | 459 |
/*
* 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.
*/
package io.flutter.utils;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java... | flutter-intellij/flutter-idea/src/io/flutter/utils/EventStream.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/EventStream.java",
"repo_id": "flutter-intellij",
"token_count": 1251
} | 460 |
/*
* 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.
*/
package io.flutter.utils;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.Presentation;
import com... | flutter-intellij/flutter-idea/src/io/flutter/utils/UIUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/UIUtils.java",
"repo_id": "flutter-intellij",
"token_count": 633
} | 461 |
/*
* 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.
*/
package io.flutter.view;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.util.Disposer;
import com.intellij.ui.components.JBChe... | flutter-intellij/flutter-idea/src/io/flutter/view/BoolServiceExtensionCheckbox.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/BoolServiceExtensionCheckbox.java",
"repo_id": "flutter-intellij",
"token_count": 790
} | 462 |
/*
* 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.
*/
package io.flutter.vmService;
import com.intellij.openapi.diagnostic.Logger;
import org.dartlang.vm.service.consumer.GetMemoryUsageConsumer;
import... | flutter-intellij/flutter-idea/src/io/flutter/vmService/HeapMonitor.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/HeapMonitor.java",
"repo_id": "flutter-intellij",
"token_count": 1576
} | 463 |
package io.flutter.vmService.frame;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.ui.LayeredIcon;
import com.intellij.xdebugger.XSource... | flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceValue.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceValue.java",
"repo_id": "flutter-intellij",
"token_count": 9610
} | 464 |
SF:lib/main.dart
DA:3,0
DA:4,0
DA:9,1
DA:11,1
DA:13,1
DA:25,1
DA:31,2
DA:44,1
DA:45,1
DA:51,1
DA:52,2
DA:58,2
DA:62,1
DA:70,1
DA:71,1
DA:74,3
DA:76,1
DA:79,1
DA:95,1
DA:96,1
DA:99,1
DA:100,2
DA:101,3
DA:106,1
DA:107,1
DA:109,1
LF:26
LH:24
end_of_record
| flutter-intellij/flutter-idea/testData/coverage/lcov.info/0 | {
"file_path": "flutter-intellij/flutter-idea/testData/coverage/lcov.info",
"repo_id": "flutter-intellij",
"token_count": 181
} | 465 |
/*
* 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.
*/
package io.flutter.utils.math;
import java.util.ArrayList;
import static org.junit.Assert.assertEquals;
/**
* This code is ported from the Dart ... | flutter-intellij/flutter-idea/testSrc/integration/io/flutter/utils/math/TestUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/integration/io/flutter/utils/math/TestUtils.java",
"repo_id": "flutter-intellij",
"token_count": 854
} | 466 |
/*
* 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.
*/
package io.flutter.editor;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.LogicalPosition;
import com.intellij.opena... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/editor/ActiveEditorsOutlineServiceTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/editor/ActiveEditorsOutlineServiceTest.java",
"repo_id": "flutter-intellij",
"token_count": 2983
} | 467 |
/*
* 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.
*/
package io.flutter.perf;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class SlidingWindowStatsTest {
@Test
publ... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/perf/SlidingWindowStatsTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/perf/SlidingWindowStatsTest.java",
"repo_id": "flutter-intellij",
"token_count": 1313
} | 468 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.