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_WINDOWS_FLUTTER_WINDOWS_TEXTURE_REGISTRAR_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOWS_TEXTURE_REGISTRAR_H_
#i... | engine/shell/platform/windows/flutter_windows_texture_registrar.h/0 | {
"file_path": "engine/shell/platform/windows/flutter_windows_texture_registrar.h",
"repo_id": "engine",
"token_count": 812
} | 420 |
// 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/keyboard_key_handler.h"
#include <rapidjson/document.h>
#include <map>
#include <memory>
#include "flutter/shell/p... | engine/shell/platform/windows/keyboard_key_handler_unittests.cc/0 | {
"file_path": "engine/shell/platform/windows/keyboard_key_handler_unittests.cc",
"repo_id": "engine",
"token_count": 5010
} | 421 |
// 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_SEQUENTIAL_ID_GENERATOR_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_SEQUENTIAL_ID_GENERATOR_H_
#include <cstdint>
#in... | engine/shell/platform/windows/sequential_id_generator.h/0 | {
"file_path": "engine/shell/platform/windows/sequential_id_generator.h",
"repo_id": "engine",
"token_count": 656
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_EGL_MOCK_WINDOW_SURFACE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_EGL_MOCK_WINDOW_SURFACE_H_
#inclu... | engine/shell/platform/windows/testing/egl/mock_window_surface.h/0 | {
"file_path": "engine/shell/platform/windows/testing/egl/mock_window_surface.h",
"repo_id": "engine",
"token_count": 443
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_KEYBOARD_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_TEST_KEYBOARD_H_
#include <windows.h>
#inc... | engine/shell/platform/windows/testing/test_keyboard.h/0 | {
"file_path": "engine/shell/platform/windows/testing/test_keyboard.h",
"repo_id": "engine",
"token_count": 2574
} | 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.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_H_
#include <windows.h>
#i... | engine/shell/platform/windows/window_binding_handler.h/0 | {
"file_path": "engine/shell/platform/windows/window_binding_handler.h",
"repo_id": "engine",
"token_count": 990
} | 425 |
// 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 <thread>
#include "flutter/fml/message_loop_impl.h"
#include "flutter/fml/thread.h"
#include "flutter/shell/profiling/sampling_profiler.h"
#inclu... | engine/shell/profiling/sampling_profiler_unittest.cc/0 | {
"file_path": "engine/shell/profiling/sampling_profiler_unittest.cc",
"repo_id": "engine",
"token_count": 850
} | 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.
_skia_root = "//flutter/third_party/skia"
import("$_skia_root/gn/skia.gni")
import("$_skia_root/gn/toolchain/wasm.gni")
import("$_skia_root/modules/canvaskit... | engine/skia/modules/canvaskit/BUILD.gn/0 | {
"file_path": "engine/skia/modules/canvaskit/BUILD.gn",
"repo_id": "engine",
"token_count": 2650
} | 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 platform
import subprocess
import shutil
import sys
import os
buildroot_dir = os.path.abspath(os.path.join(os... | engine/sky/tools/create_embedder_framework.py/0 | {
"file_path": "engine/sky/tools/create_embedder_framework.py",
"repo_id": "engine",
"token_count": 2208
} | 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.
# To create an native activity, deps in this source set in a
# `native_activity_apk` target and make sure to add the implementation of
# `NativeActivityMain` ... | engine/testing/android/native_activity/BUILD.gn/0 | {
"file_path": "engine/testing/android/native_activity/BUILD.gn",
"repo_id": "engine",
"token_count": 305
} | 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 'dart:convert';
import 'dart:io';
import 'package:args/args.dart';
import 'package:metrics_center/metrics_center.dart';
import 'package:path/path.d... | engine/testing/benchmark/bin/parse_and_send.dart/0 | {
"file_path": "engine/testing/benchmark/bin/parse_and_send.dart",
"repo_id": "engine",
"token_count": 1286
} | 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:typed_data';
import 'dart:ui';
import 'package:litetest/litetest.dart';
void main() {
test('Scene.toImageSync succeeds', () async {
fi... | engine/testing/dart/compositing_test.dart/0 | {
"file_path": "engine/testing/dart/compositing_test.dart",
"repo_id": "engine",
"token_count": 5864
} | 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 'dart:typed_data';
import 'dart:ui';
import 'package:litetest/litetest.dart';
import 'canvas_test.dart' show createImage, testCanvas;
void main() ... | engine/testing/dart/image_shader_test.dart/0 | {
"file_path": "engine/testing/dart/image_shader_test.dart",
"repo_id": "engine",
"token_count": 975
} | 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:ui';
import 'package:litetest/litetest.dart';
void main() {
// Ahem font uses a constant ideographic/alphabetic baseline ratio.
const do... | engine/testing/dart/paragraph_test.dart/0 | {
"file_path": "engine/testing/dart/paragraph_test.dart",
"repo_id": "engine",
"token_count": 4641
} | 433 |
// 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 testing some of the named constants.
// ignore_for_file: use_named_constants
import 'dart:async';
import 'dart:convert';
import 'dart:io';
impo... | engine/testing/dart/text_test.dart/0 | {
"file_path": "engine/testing/dart/text_test.dart",
"repo_id": "engine",
"token_count": 6408
} | 434 |
#!/usr/bin/env vpython3
# [VPYTHON:BEGIN]
# python_version: "3.8"
# wheel <
# name: "infra/python/wheels/pyyaml/${platform}_${py_python}_${py_abi}"
# version: "version:5.4.1.chromium.1"
# >
# [VPYTHON:END]
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-st... | engine/testing/fuchsia/run_tests_test.py/0 | {
"file_path": "engine/testing/fuchsia/run_tests_test.py",
"repo_id": "engine",
"token_count": 790
} | 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.
import 'package:async_helper/async_minitest.dart';
import 'package:expect/expect.dart';
/// The epsilon of tolerable double precision error.
///
/// This ... | engine/testing/litetest/lib/src/matchers.dart/0 | {
"file_path": "engine/testing/litetest/lib/src/matchers.dart",
"repo_id": "engine",
"token_count": 1918
} | 436 |
# 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/rules.gni")
import("//flutter/testing/rules/runtime_mode.gni")
flutter_snapshot("scenario_app_snapshot") {
main_dart = "lib/ma... | engine/testing/scenario_app/BUILD.gn/0 | {
"file_path": "engine/testing/scenario_app/BUILD.gn",
"repo_id": "engine",
"token_count": 507
} | 437 |
// 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 'dart:typed_data';
import 'package:dir_contents_diff/dir_contents_diff.dart' show dir... | engine/testing/scenario_app/bin/run_android_tests.dart/0 | {
"file_path": "engine/testing/scenario_app/bin/run_android_tests.dart",
"repo_id": "engine",
"token_count": 7583
} | 438 |
// Copyright 2020 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <XCTest/XCTest.h>
#import "GoldenTestManager.h"
@interface AppExtensionTests : XCTestCase
@property(nonatomic, strong) XCUIApplication* hostApplic... | engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/AppExtensionTests.m/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/AppExtensionTests.m",
"repo_id": "engine",
"token_count": 935
} | 439 |
// Copyright 2020 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_STATUSBARTEST_H_
#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOSUITESTS_ST... | engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/StatusBarTest.h/0 | {
"file_path": "engine/testing/scenario_app/ios/Scenarios/ScenariosUITests/StatusBarTest.h",
"repo_id": "engine",
"token_count": 245
} | 440 |
// 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:developer' as developer;
import 'dart:io';
import 'dart:typed_data';
import 'dart:ui';
import 'sr... | engine/testing/scenario_app/lib/main.dart/0 | {
"file_path": "engine/testing/scenario_app/lib/main.dart",
"repo_id": "engine",
"token_count": 1227
} | 441 |
// 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 <Metal/Metal.h>
#include <iostream>
#include "flutter/fml/logging.h"
#include "flutter/fml/platf... | engine/testing/test_metal_context.mm/0 | {
"file_path": "engine/testing/test_metal_context.mm",
"repo_id": "engine",
"token_count": 1588
} | 442 |
// 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_TESTING_H_
#define FLUTTER_TESTING_TESTING_H_
#include <string>
#include <vector>
#include "flutter/fml/file.h"
#include "flutter... | engine/testing/testing.h/0 | {
"file_path": "engine/testing/testing.h",
"repo_id": "engine",
"token_count": 1308
} | 443 |
// 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_ACTION_HANDLER_H_
#define UI_ACCESSIBILITY_AX_ACTION_HANDLER_H_
#include "ax_action_handler_base.h"
#include "ax_export.h"
n... | engine/third_party/accessibility/ax/ax_action_handler.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_action_handler.h",
"repo_id": "engine",
"token_count": 260
} | 444 |
// 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 "ax_event_intent.h"
#include "ax_enum_util.h"
namespace ui {
AXEventIntent::AXEventIntent() = default;
AXEventIntent::AXEventIntent(ax::mojom... | engine/third_party/accessibility/ax/ax_event_intent.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_event_intent.cc",
"repo_id": "engine",
"token_count": 493
} | 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.
#ifndef UI_ACCESSIBILITY_AX_OFFSCREEN_RESULT_H_
#define UI_ACCESSIBILITY_AX_OFFSCREEN_RESULT_H_
namespace ui {
// The onscreen state of result bounds or... | engine/third_party/accessibility/ax/ax_offscreen_result.h/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_offscreen_result.h",
"repo_id": "engine",
"token_count": 279
} | 446 |
// 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_tree_id.h"
#include <algorithm>
#include <iostream>
#include "ax_enums.h"
#include "base/logging.h"
#include "base/no_destructor.h"
namesp... | engine/third_party/accessibility/ax/ax_tree_id.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/ax_tree_id.cc",
"repo_id": "engine",
"token_count": 1134
} | 447 |
// Copyright 2014 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_PLATFORM_AX_PLATFORM_NODE_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_H_
#include <functional>
#include <ostream>
#inc... | engine/third_party/accessibility/ax/platform/ax_platform_node.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node.h",
"repo_id": "engine",
"token_count": 1376
} | 448 |
// 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/platform/ax_platform_node_textrangeprovider_win.h"
#include <UIAutomation.h>
#include <wrl/client.h>
#include <string_view>
#include "ax/ax... | engine/third_party/accessibility/ax/platform/ax_platform_node_textrangeprovider_win.cc/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/ax_platform_node_textrangeprovider_win.cc",
"repo_id": "engine",
"token_count": 26027
} | 449 |
// 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 UI_ACCESSIBILITY_PLATFORM_COMPUTE_ATTRIBUTES_H_
#define UI_ACCESSIBILITY_PLATFORM_COMPUTE_ATTRIBUTES_H_
#include <cstddef>
#include <optional>
#... | engine/third_party/accessibility/ax/platform/compute_attributes.h/0 | {
"file_path": "engine/third_party/accessibility/ax/platform/compute_attributes.h",
"repo_id": "engine",
"token_count": 266
} | 450 |
// 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 BASE_CONTAINER_UTILS_H_
#define BASE_CONTAINER_UTILS_H_
#include <set>
#include <vector>
namespace base {
template <class T, class Allocator, cl... | engine/third_party/accessibility/base/container_utils.h/0 | {
"file_path": "engine/third_party/accessibility/base/container_utils.h",
"repo_id": "engine",
"token_count": 321
} | 451 |
// Copyright 2014 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_NUMERICS_SAFE_CONVERSIONS_IMPL_H_
#define BASE_NUMERICS_SAFE_CONVERSIONS_IMPL_H_
#include <cstdint>
#include <limits>
#include <type_traits>... | engine/third_party/accessibility/base/numerics/safe_conversions_impl.h/0 | {
"file_path": "engine/third_party/accessibility/base/numerics/safe_conversions_impl.h",
"repo_id": "engine",
"token_count": 14766
} | 452 |
// 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 BASE_WIN_DISPATCH_STUB_H_
#define BASE_WIN_DISPATCH_STUB_H_
#include <wrl/client.h>
#include <wrl/implements.h>
namespace base {
namespace win {... | engine/third_party/accessibility/base/win/dispatch_stub.h/0 | {
"file_path": "engine/third_party/accessibility/base/win/dispatch_stub.h",
"repo_id": "engine",
"token_count": 573
} | 453 |
// 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 "base/win/variant_vector.h"
#include "base/win/scoped_safearray.h"
#include "base/win/scoped_variant.h"
namespace base {
namespace win {
names... | engine/third_party/accessibility/base/win/variant_vector.cc/0 | {
"file_path": "engine/third_party/accessibility/base/win/variant_vector.cc",
"repo_id": "engine",
"token_count": 4731
} | 454 |
// 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 <cstddef>
#include "gtest/gtest.h"
#include "point.h"
#include "point_conversions.h"
#include "point_f.h"
namespace gfx {
TEST(PointTest, ... | engine/third_party/accessibility/gfx/geometry/point_unittest.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/point_unittest.cc",
"repo_id": "engine",
"token_count": 3197
} | 455 |
// 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.
// Defines a simple integer vector class. This class is used to indicate a
// distance in two dimensions between two points. Subtracting two points s... | engine/third_party/accessibility/gfx/geometry/vector2d.h/0 | {
"file_path": "engine/third_party/accessibility/gfx/geometry/vector2d.h",
"repo_id": "engine",
"token_count": 1021
} | 456 |
// 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 "transform.h"
#include "base/string_utils.h"
namespace gfx {
Transform::Transform()
: matrix_{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, ... | engine/third_party/accessibility/gfx/transform.cc/0 | {
"file_path": "engine/third_party/accessibility/gfx/transform.cc",
"repo_id": "engine",
"token_count": 2135
} | 457 |
# 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")
config("config") {
include_dirs = [
"//flutter/third_party",
"//flutter",
]
}
source_set("tonic") {
so... | engine/third_party/tonic/BUILD.gn/0 | {
"file_path": "engine/third_party/tonic/BUILD.gn",
"repo_id": "engine",
"token_count": 1174
} | 458 |
// 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/dart_library_natives.h"
#include "tonic/converter/dart_converter.h"
namespace tonic {
DartLibraryNatives::DartLibraryNatives() {}
DartL... | engine/third_party/tonic/dart_library_natives.cc/0 | {
"file_path": "engine/third_party/tonic/dart_library_natives.cc",
"repo_id": "engine",
"token_count": 440
} | 459 |
// 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_WRAPPER_INFO_H_
#define LIB_TONIC_DART_WRAPPER_INFO_H_
#include <cstddef>
namespace tonic {
class DartWrappable;
typedef void (*D... | engine/third_party/tonic/dart_wrapper_info.h/0 | {
"file_path": "engine/third_party/tonic/dart_wrapper_info.h",
"repo_id": "engine",
"token_count": 271
} | 460 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
executable("files_unittests") {
testonly = true
sources = [
"directory_unittest.cc",
"file_descriptor_unittest.cc",
"file_unittest.cc",
"... | engine/third_party/tonic/filesystem/tests/BUILD.gn/0 | {
"file_path": "engine/third_party/tonic/filesystem/tests/BUILD.gn",
"repo_id": "engine",
"token_count": 172
} | 461 |
# 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/testing/testing.gni")
test_fixtures("tonic_fixtures") {
dart_main = "fixtures/tonic_test.dart"
fixtures = []
}
executable("tonic_unitt... | engine/third_party/tonic/tests/BUILD.gn/0 | {
"file_path": "engine/third_party/tonic/tests/BUILD.gn",
"repo_id": "engine",
"token_count": 382
} | 462 |
/*
* 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/txt/font_features.h/0 | {
"file_path": "engine/third_party/txt/src/txt/font_features.h",
"repo_id": "engine",
"token_count": 443
} | 463 |
// 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 TXT_PLATFORM_MAC_H_
#define TXT_PLATFORM_MAC_H_
#include "txt/asset_font_manager.h"
namespace txt {
// Register additional system font for MacOS... | engine/third_party/txt/src/txt/platform_mac.h/0 | {
"file_path": "engine/third_party/txt/src/txt/platform_mac.h",
"repo_id": "engine",
"token_count": 151
} | 464 |
//---------------------------------------------------------------------------------------------
// 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/lib/web_locale_keymap.dart/0 | {
"file_path": "engine/third_party/web_locale_keymap/lib/web_locale_keymap.dart",
"repo_id": "engine",
"token_count": 95
} | 465 |
# API consistency check tool
Verifies that enums in each of the platform-specific embedders, and the embedder
API remain consistent with their API in dart:ui.
### Running the tool
This tool is run as part of `testing/run_tests.sh`.
To run the tool, invoke with the path of the Flutter engine repo as the first
argume... | engine/tools/api_check/README.md/0 | {
"file_path": "engine/tools/api_check/README.md",
"repo_id": "engine",
"token_count": 204
} | 466 |
#!/bin/bash
set -e
set -x
if [[ -z $ENGINE_PATH ]]
then
echo "Please set ENGINE_PATH environment variable."
exit 1
fi
# Go to the engine git repo to get the date of the latest commit.
cd $ENGINE_PATH/src/flutter
ENGINE_COMMIT=`git rev-parse HEAD`
echo "Using engine commit: $ENGINE_COMMIT"
if [[ -z $FLUTTER_CLO... | engine/tools/configure_framework_commit.sh/0 | {
"file_path": "engine/tools/configure_framework_commit.sh",
"repo_id": "engine",
"token_count": 634
} | 467 |
# dir_contents_diff
This tool will compare the contents of a directory to a file that lists the
contents of the directory, printing out a patch to apply if they differ.
The exit code is 0 if there is no difference.
## Usage
```sh
dart run ./bin/dir_contents_diff.dart <golden file path> <dir path>
```
| engine/tools/dir_contents_diff/README.md/0 | {
"file_path": "engine/tools/dir_contents_diff/README.md",
"repo_id": "engine",
"token_count": 93
} | 468 |
// 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 show Directory;
import 'package:engine_build_configs/engine_build_configs.dart';
import 'package:path/path.dart' as p;
import 'env... | engine/tools/engine_tool/lib/src/build_utils.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/build_utils.dart",
"repo_id": "engine",
"token_count": 1429
} | 469 |
// 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:convert';
import 'package:process_runner/process_runner.dart';
import 'environment.dart';
import 'json_utils.dart';
const String _targetPla... | engine/tools/engine_tool/lib/src/run_utils.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/run_utils.dart",
"repo_id": "engine",
"token_count": 1416
} | 470 |
# 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/zip_bundle.gni")
executable("_font-subset") {
output_name = "font-subset"
sources = [
"hb_wrappers.h",
"main.cc",
]
... | engine/tools/font_subset/BUILD.gn/0 | {
"file_path": "engine/tools/font_subset/BUILD.gn",
"repo_id": "engine",
"token_count": 727
} | 471 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
# The default clang toolchain provided by the prebuilt. This variable is
# additionally consumed by the Go toolchain.
clang_base = reba... | engine/tools/fuchsia/clang.gni/0 | {
"file_path": "engine/tools/fuchsia/clang.gni",
"repo_id": "engine",
"token_count": 546
} | 472 |
# 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.
# NOTE: Generally, the build rules in //flutter/tools/fuchsia/dart/,
# //flutter/tools/fuchsia/dart/kernel/, and similar SUBDIRECTORIES of
# //flutter/tools/f... | engine/tools/fuchsia/dart/kernel/dart_kernel.gni/0 | {
"file_path": "engine/tools/fuchsia/dart/kernel/dart_kernel.gni",
"repo_id": "engine",
"token_count": 4775
} | 473 |
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//flutter/common/config.gni")
# Non-product JIT is "debug". It launches the vm service.
# Non-product AOT is "profile". It also launches the vm servi... | engine/tools/fuchsia/flutter/flutter_build_config.gni/0 | {
"file_path": "engine/tools/fuchsia/flutter/flutter_build_config.gni",
"repo_id": "engine",
"token_count": 707
} | 474 |
# 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/tools/fuchsia/toolchain/default_tools.gni")
declare_args() {
toolchain_variant = {
}
}
# Define a basic GN toolchain() instance that o... | engine/tools/fuchsia/toolchain/basic_toolchain.gni/0 | {
"file_path": "engine/tools/fuchsia/toolchain/basic_toolchain.gni",
"repo_id": "engine",
"token_count": 693
} | 475 |
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:meta/meta.dart' show immutable;
/// A subtree of a JSON object as well as its path.
@immutable
class JsonContext<T> {
/// Create a [Json... | engine/tools/gen_web_locale_keymap/lib/json_get.dart/0 | {
"file_path": "engine/tools/gen_web_locale_keymap/lib/json_get.dart",
"repo_id": "engine",
"token_count": 1251
} | 476 |
#!/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.
'''
Sets up githooks.
'''
import os
import subprocess
import sys
SRC_ROOT = os.path.dirname(
os.path.dirname(os.path.dirname(os.p... | engine/tools/githooks/setup.py/0 | {
"file_path": "engine/tools/githooks/setup.py",
"repo_id": "engine",
"token_count": 347
} | 477 |
// 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:header_guard_check/header_guard_check.dart';
Future<int> main(List<String> arguments) async {
final int result ... | engine/tools/header_guard_check/bin/main.dart/0 | {
"file_path": "engine/tools/header_guard_check/bin/main.dart",
"repo_id": "engine",
"token_count": 139
} | 478 |
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamb... | engine/tools/licenses/data/gpl-3.0/0 | {
"file_path": "engine/tools/licenses/data/gpl-3.0",
"repo_id": "engine",
"token_count": 8076
} | 479 |
// 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.
// See README in this directory for information on how this code is organized.
import 'dart:core' hide RegExp;
import 'dart:io' as system;
import 'dart:ma... | engine/tools/licenses/lib/main.dart/0 | {
"file_path": "engine/tools/licenses/lib/main.dart",
"repo_id": "engine",
"token_count": 28710
} | 480 |
// 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_build_configs/engine_build_configs.dart';
import 'package:engine_repo_tools/engine_repo_tools.dart';
import... | engine/tools/pkg/engine_build_configs/bin/check.dart/0 | {
"file_path": "engine/tools/pkg/engine_build_configs/bin/check.dart",
"repo_id": "engine",
"token_count": 925
} | 481 |
// 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:async_helper/async_helper.dart';
import 'package:engine_repo_tools/engine_repo_tools.dart';
import 'package:litetes... | engine/tools/pkg/engine_repo_tools/test/engine_repo_tools_test.dart/0 | {
"file_path": "engine/tools/pkg/engine_repo_tools/test/engine_repo_tools_test.dart",
"repo_id": "engine",
"token_count": 3795
} | 482 |
# 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.
source_set("procs") {
sources = [
"vulkan_handle.cc",
"vulkan_handle.h",
"vulkan_interface.cc",
"vulkan_interface.h",
"vulkan_proc_table... | engine/vulkan/procs/BUILD.gn/0 | {
"file_path": "engine/vulkan/procs/BUILD.gn",
"repo_id": "engine",
"token_count": 206
} | 483 |
// 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 "vulkan_device.h"
#include <limits>
#include <map>
#include <vector>
#include "flutter/vulkan/procs/vulkan_proc_table.h"
#include "third_party/s... | engine/vulkan/vulkan_device.cc/0 | {
"file_path": "engine/vulkan/vulkan_device.cc",
"repo_id": "engine",
"token_count": 4507
} | 484 |
// 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 "vulkan_swapchain.h"
namespace vulkan {
VulkanSwapchain::VulkanSwapchain(const VulkanProcTable& p_vk,
const Vul... | engine/vulkan/vulkan_swapchain_stub.cc/0 | {
"file_path": "engine/vulkan/vulkan_swapchain_stub.cc",
"repo_id": "engine",
"token_count": 437
} | 485 |
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/tool/plugin/build" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/tool/plug... | flutter-intellij/.idea/flutter-intellij.iml/0 | {
"file_path": "flutter-intellij/.idea/flutter-intellij.iml",
"repo_id": "flutter-intellij",
"token_count": 228
} | 486 |
# 66.0
- Use expandable test field for run args (#6065)
- Ignore scratch files during hot reload on save (#6064)
- Stop using some deprecated methods (#5994)
- Allow directories to be recognized as part of a Flutter project (#6057)
- Drop 2020.3, update Dart plugin for latest EAP (#6059)
- Check for bazel workspace whe... | flutter-intellij/CHANGELOG-old.md/0 | {
"file_path": "flutter-intellij/CHANGELOG-old.md",
"repo_id": "flutter-intellij",
"token_count": 15774
} | 487 |
<idea-plugin>
<version>1.0-SNAPSHOT</version>
<change-notes>Created the plugin. Added UI Tests for the Flutter plugin.</change-notes>
<id>io.flutter.tests.gui.flutter-gui-tests</id>
<name>Flutter UI Tests</name>
<description>
Plugin should be used only for internal purposes.<br>
<em>Do not... | flutter-intellij/flutter-gui-tests/res/META-INF/plugin.xml/0 | {
"file_path": "flutter-intellij/flutter-gui-tests/res/META-INF/plugin.xml",
"repo_id": "flutter-intellij",
"token_count": 219
} | 488 |
/*
* 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.actions;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.project.Project;
import icons.FlutterIcons;
imp... | flutter-intellij/flutter-idea/src/io/flutter/actions/DeviceSelectorRefresherAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/DeviceSelectorRefresherAction.java",
"repo_id": "flutter-intellij",
"token_count": 363
} | 489 |
/*
* 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.actionSystem.AnActionEvent;
import com.i... | flutter-intellij/flutter-idea/src/io/flutter/actions/OpenEmulatorAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/OpenEmulatorAction.java",
"repo_id": "flutter-intellij",
"token_count": 503
} | 490 |
/*
* 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.icons.AllIcons;
import com.intellij.openapi.wm.ToolWindowId;
import io.flutter.FlutterBundle;
impor... | flutter-intellij/flutter-idea/src/io/flutter/actions/RunProfileFlutterApp.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/RunProfileFlutterApp.java",
"repo_id": "flutter-intellij",
"token_count": 264
} | 491 |
/*
* 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.bazel;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableSet;
import com.intellij.openapi.diagnos... | flutter-intellij/flutter-idea/src/io/flutter/bazel/WorkspaceCache.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/bazel/WorkspaceCache.java",
"repo_id": "flutter-intellij",
"token_count": 1681
} | 492 |
/*
* 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.icons.AllIcons;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.AnA... | flutter-intellij/flutter-idea/src/io/flutter/editor/ColorField.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/ColorField.java",
"repo_id": "flutter-intellij",
"token_count": 2801
} | 493 |
/*
* 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.editor;
import com.intellij.openapi.fileEditor.FileEditor;
import com.intellij.openapi.project.DumbAware;
import com.intellij.op... | flutter-intellij/flutter-idea/src/io/flutter/editor/FlutterPubspecNotificationProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/FlutterPubspecNotificationProvider.java",
"repo_id": "flutter-intellij",
"token_count": 1624
} | 494 |
/*
* 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.Document;
import java.util.Arrays;
import java.util.List;
import static java.lang.M... | flutter-intellij/flutter-idea/src/io/flutter/editor/WidgetIndentHitTester.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/WidgetIndentHitTester.java",
"repo_id": "flutter-intellij",
"token_count": 896
} | 495 |
/*
* 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.inspector;
/**
* Styles for displaying a node in a [DiagnosticsNode] tree.
* <p>
* Generally these styles are more important ... | flutter-intellij/flutter-idea/src/io/flutter/inspector/DiagnosticsTreeStyle.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/DiagnosticsTreeStyle.java",
"repo_id": "flutter-intellij",
"token_count": 714
} | 496 |
/*
* 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.inspector;
import java.awt.image.BufferedImage;
public class Screenshot {
public final BufferedImage image;
public final Tr... | flutter-intellij/flutter-idea/src/io/flutter/inspector/Screenshot.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/Screenshot.java",
"repo_id": "flutter-intellij",
"token_count": 141
} | 497 |
/*
* 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.module;
import static java.util.Arrays.asList;
import com.intellij.execution.OutputListener;
import com.intellij.execution.proc... | flutter-intellij/flutter-idea/src/io/flutter/module/FlutterModuleBuilder.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/FlutterModuleBuilder.java",
"repo_id": "flutter-intellij",
"token_count": 5577
} | 498 |
/*
* 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.util.TextRange;
import org.jetbrains.annotations.Nullable;
/**
* Mapper from a line column o... | flutter-intellij/flutter-idea/src/io/flutter/perf/FileLocationMapper.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/FileLocationMapper.java",
"repo_id": "flutter-intellij",
"token_count": 205
} | 499 |
/*
* 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.jetbrains.annotations.NotNull;
/**
* Snapshot of a SlidingWindowStats object for a specific time.
*/
public ... | flutter-intellij/flutter-idea/src/io/flutter/perf/SlidingWindowStatsSummary.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/SlidingWindowStatsSummary.java",
"repo_id": "flutter-intellij",
"token_count": 290
} | 500 |
/*
* 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.preview;
import com.intellij.openapi.util.text.StringUtil;
import org.dartlang.analysis.server.protocol.Element;
import org.dart... | flutter-intellij/flutter-idea/src/io/flutter/preview/ModelUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/preview/ModelUtils.java",
"repo_id": "flutter-intellij",
"token_count": 452
} | 501 |
/*
* Copyright (C) 2018 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/run/AttachState.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/AttachState.java",
"repo_id": "flutter-intellij",
"token_count": 684
} | 502 |
/*
* 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;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.testFramework.LightVirtualFile;
import com.intellij.util.P... | flutter-intellij/flutter-idea/src/io/flutter/run/ObservatoryFile.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/ObservatoryFile.java",
"repo_id": "flutter-intellij",
"token_count": 2025
} | 503 |
/*
* 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.run.bazelTest;
import com.intellij.execution.ExecutionResult;
import com.intellij.execution.runners.ExecutionEnvironment;
import... | flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestDebugProcess.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/BazelTestDebugProcess.java",
"repo_id": "flutter-intellij",
"token_count": 756
} | 504 |
/*
* 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.
*/
package io.flutter.run.coverage;
import com.intellij.coverage.CoverageAnnotator;
import com.intellij.coverage.CoverageEngine;
import com.intellij.c... | flutter-intellij/flutter-idea/src/io/flutter/run/coverage/FlutterCoverageEngine.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/coverage/FlutterCoverageEngine.java",
"repo_id": "flutter-intellij",
"token_count": 2443
} | 505 |
/*
* 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.intellij.execution.configurations.ConfigurationFactory;
import com.intellij.execution.configurations.Config... | flutter-intellij/flutter-idea/src/io/flutter/run/test/FlutterTestConfigType.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/test/FlutterTestConfigType.java",
"repo_id": "flutter-intellij",
"token_count": 528
} | 506 |
/*
* 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.samples;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.openapi.application.ApplicationManager;
imp... | flutter-intellij/flutter-idea/src/io/flutter/samples/FlutterSampleNotificationProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/samples/FlutterSampleNotificationProvider.java",
"repo_id": "flutter-intellij",
"token_count": 1829
} | 507 |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="io.flutter.sdk.FlutterSettingsConfigurable">
<grid id="27dc6" binding="mainPanel" layout-manager="GridLayoutManager" row-count="9" column-count="1" same-size-horizontally="false" same-size-vertical... | flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterSettingsConfigurable.form/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterSettingsConfigurable.form",
"repo_id": "flutter-intellij",
"token_count": 9709
} | 508 |
/*
* 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.utils;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.List;
import java.util.function.Pred... | flutter-intellij/flutter-idea/src/io/flutter/utils/CollectionUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/CollectionUtils.java",
"repo_id": "flutter-intellij",
"token_count": 462
} | 509 |
/*
* 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.utils;
import java.util.ArrayList;
import java.util.List;
/**
* A class to process regular text output intermixed with newline... | flutter-intellij/flutter-idea/src/io/flutter/utils/StdoutJsonParser.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/StdoutJsonParser.java",
"repo_id": "flutter-intellij",
"token_count": 1230
} | 510 |
/*
* 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;
/**
* This class is ported from the Vector class in the Dart vector_math
* package.
*/
public interface Vector {
... | flutter-intellij/flutter-idea/src/io/flutter/utils/math/Vector.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/math/Vector.java",
"repo_id": "flutter-intellij",
"token_count": 95
} | 511 |
/*
* 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.util.EventDispatcher;
import com.intellij.util.xmlb.annotations.Attribute;
import javax.swing.event.C... | flutter-intellij/flutter-idea/src/io/flutter/view/FlutterViewState.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/FlutterViewState.java",
"repo_id": "flutter-intellij",
"token_count": 680
} | 512 |
// Copyright 2000-2018 JetBrains s.r.o.
//
// 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 ... | flutter-intellij/flutter-idea/src/io/flutter/vmService/DartVmServiceBreakpointHandler.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/DartVmServiceBreakpointHandler.java",
"repo_id": "flutter-intellij",
"token_count": 2402
} | 513 |
package io.flutter.vmService.frame;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.fileEditor.FileEditorLocation;
import com.intellij.openapi.fileEditor.FileEditorManager;
import com.intellij.openapi.fileEditor.TextEditor;
import com.intellij.openapi... | flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceEvaluator.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/frame/DartVmServiceEvaluator.java",
"repo_id": "flutter-intellij",
"token_count": 3962
} | 514 |
/*
* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*
* This file has been automatically generated. Please do not edit it manually.
* To regenerate the... | flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/FlutterWidgetPropertyValueEnumItem.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/FlutterWidgetPropertyValueEnumItem.java",
"repo_id": "flutter-intellij",
"token_count": 1706
} | 515 |
# Generated file - do not edit.
# suppress inspection "UnusedProperty" for whole file
f489.codepoint=add
add=cupertino/add.png
f48a.codepoint=add_circled
add_circled=cupertino/add_circled.png
f48b.codepoint=add_circled_solid
add_circled_solid=cupertino/add_circled_solid.png
f4d4.codepoint=airplane
airplane=cuperti... | flutter-intellij/flutter-idea/testData/utils/cupertino.properties/0 | {
"file_path": "flutter-intellij/flutter-idea/testData/utils/cupertino.properties",
"repo_id": "flutter-intellij",
"token_count": 44076
} | 516 |
/*
* 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.console;
import com.intellij.execution.filters.Filter;
import com.intellij.openapi.roots.ModuleRootModificationUtil;
import com.... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/console/FlutterConsoleFilterTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/console/FlutterConsoleFilterTest.java",
"repo_id": "flutter-intellij",
"token_count": 5572
} | 517 |
{
"type": "Event",
"kind": "Logging",
"isolate": {
"type": "@Isolate",
"id": "isolates/170696135467167",
"name": "main",
"number": "170696135467167"
},
"timestamp": 1562619110758,
"logRecord": {
"type": "LogRecord",
"sequenceNumber": 4,
"time": 1562619110758,
"level": 0,
... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/logging/console_log_2.json/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/logging/console_log_2.json",
"repo_id": "flutter-intellij",
"token_count": 985
} | 518 |
/*
* 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.run.bazelTest;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.GeneralCommandLine... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazelTest/LaunchCommandsTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/run/bazelTest/LaunchCommandsTest.java",
"repo_id": "flutter-intellij",
"token_count": 4775
} | 519 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.