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.
#include "tonic/typed_data/dart_byte_data.h"
#include <cstring>
#include "tonic/logging/dart_error.h"
namespace tonic {
namespace {
void FreeFinalizer... | engine/third_party/tonic/typed_data/dart_byte_data.cc/0 | {
"file_path": "engine/third_party/tonic/typed_data/dart_byte_data.cc",
"repo_id": "engine",
"token_count": 1231
} | 425 |
/*
* 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.h/0 | {
"file_path": "engine/third_party/txt/src/skia/paragraph_builder_skia.h",
"repo_id": "engine",
"token_count": 906
} | 426 |
/*
* 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.h/0 | {
"file_path": "engine/third_party/txt/src/txt/paragraph_builder.h",
"repo_id": "engine",
"token_count": 829
} | 427 |
//---------------------------------------------------------------------------------------------
// 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/testing.dart/0 | {
"file_path": "engine/third_party/web_locale_keymap/test/testing.dart",
"repo_id": "engine",
"token_count": 600
} | 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:convert';
import 'dart:io' as io;
import 'package:args/args.dart';
import 'package:engine_repo_tools/engine_repo_tools.dart';
import 'package... | engine/tools/build_bucket_golden_scraper/lib/build_bucket_golden_scraper.dart/0 | {
"file_path": "engine/tools/build_bucket_golden_scraper/lib/build_bucket_golden_scraper.dart",
"repo_id": "engine",
"token_count": 2478
} | 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:io' as io show Directory, File, Platform, stderr;
import 'package:args/args.dart';
import 'package:engine_repo_tools/engine_repo_tools.dart';... | engine/tools/clang_tidy/lib/src/options.dart/0 | {
"file_path": "engine/tools/clang_tidy/lib/src/options.dart",
"repo_id": "engine",
"token_count": 4660
} | 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.
// ignore_for_file: avoid_dynamic_calls
import 'dart:convert';
import 'dart:io';
import 'package:collection/collection.dart';
import 'package:kernel/cons... | engine/tools/const_finder/test/const_finder_test.dart/0 | {
"file_path": "engine/tools/const_finder/test/const_finder_test.dart",
"repo_id": "engine",
"token_count": 6497
} | 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:async';
import 'dart:convert';
import 'dart:io' as io;
import 'package:path/path.dart' as p;
import '../logger.dart';
import 'command.dart';... | engine/tools/engine_tool/lib/src/commands/format_command.dart/0 | {
"file_path": "engine/tools/engine_tool/lib/src/commands/format_command.dart",
"repo_id": "engine",
"token_count": 1731
} | 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.
String testConfig(String os) => '''
{
"builds": [
{
"archives": [
{
"name": "build_name",
"base_path": "base/path",... | engine/tools/engine_tool/test/fixtures.dart/0 | {
"file_path": "engine/tools/engine_tool/test/fixtures.dart",
"repo_id": "engine",
"token_count": 2329
} | 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.
# 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/dart.gni/0 | {
"file_path": "engine/tools/fuchsia/dart/dart.gni",
"repo_id": "engine",
"token_count": 324
} | 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.
import("//flutter/common/fuchsia_config.gni")
template("fuchsia_host_bundle") {
assert(defined(invoker.name), "'name' must be defined for $target_name.")
... | engine/tools/fuchsia/fuchsia_host_bundle.gni/0 | {
"file_path": "engine/tools/fuchsia/fuchsia_host_bundle.gni",
"repo_id": "engine",
"token_count": 247
} | 435 |
#!/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.
# Generates API docs for Flutter embedders and libraries.
import os
import shutil
import tempfile
import zipfile
import sys
import subp... | engine/tools/gen_docs.py/0 | {
"file_path": "engine/tools/gen_docs.py",
"repo_id": "engine",
"token_count": 1475
} | 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 'dart:io' as io;
const String _redBoldUnderline = '\x1B[31;1;4m';
const String _reset = '\x1B[0m';
/// Prints a reminder to stdout to run `gclient... | engine/tools/githooks/lib/src/messages.dart/0 | {
"file_path": "engine/tools/githooks/lib/src/messages.dart",
"repo_id": "engine",
"token_count": 255
} | 437 |
android
android.accessibilityservice
android.accounts
android.animation
android.annotation
android.app
android.app.admin
android.app.appsearch
android.app.appsearch.exceptions
android.app.assist
android.app.backup
android.app.blob
android.app.job
android.app.people
android.app.role
android.app.slice
android.app.usage
a... | engine/tools/javadoc/android_reference/package-list/0 | {
"file_path": "engine/tools/javadoc/android_reference/package-list",
"repo_id": "engine",
"token_count": 1667
} | 438 |
MOZILLA PUBLIC LICENSE
Version 1.1
---------------
1. Definitions.
1.0.1. "Commercial Use" means distribution or otherwise making the
Covered Code available to a third party.
1.1. "Contributor" means each entity t... | engine/tools/licenses/data/mozilla-1.1/0 | {
"file_path": "engine/tools/licenses/data/mozilla-1.1",
"repo_id": "engine",
"token_count": 7418
} | 439 |
#!/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.
# A script for re-running prod builds on LUCI
#
# Usage:
# $ build.py --commit [Engine commit hash] --builder [builder name]
#
# NOTE: ... | engine/tools/luci/build.py/0 | {
"file_path": "engine/tools/luci/build.py",
"repo_id": "engine",
"token_count": 1344
} | 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 'package:yaml/yaml.dart' as y;
// This file contains classes for parsing information about CI configuration
// from the .ci.yaml file at the root o... | engine/tools/pkg/engine_build_configs/lib/src/ci_yaml.dart/0 | {
"file_path": "engine/tools/pkg/engine_build_configs/lib/src/ci_yaml.dart",
"repo_id": "engine",
"token_count": 2398
} | 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.
import 'dart:convert';
import 'dart:io' as io;
import 'package:process/process.dart';
/// A fake implementation of [ProcessManager] that allows control f... | engine/tools/pkg/process_fakes/lib/process_fakes.dart/0 | {
"file_path": "engine/tools/pkg/process_fakes/lib/process_fakes.dart",
"repo_id": "engine",
"token_count": 1382
} | 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_VULKAN_PROCS_VULKAN_PROC_TABLE_H_
#define FLUTTER_VULKAN_PROCS_VULKAN_PROC_TABLE_H_
#include "flutter/fml/macros.h"
#include "flutter/fml/... | engine/vulkan/procs/vulkan_proc_table.h/0 | {
"file_path": "engine/vulkan/procs/vulkan_proc_table.h",
"repo_id": "engine",
"token_count": 2152
} | 443 |
// 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_native_surface_android.h"
#include <android/native_window.h>
#include "third_party/skia/include/gpu/vk/GrVkBackendContext.h"
namespace ... | engine/vulkan/vulkan_native_surface_android.cc/0 | {
"file_path": "engine/vulkan/vulkan_native_surface_android.cc",
"repo_id": "engine",
"token_count": 748
} | 444 |
# 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/zip_bundle.gni")
import("//flutter/common/config.gni")
import("//flutter/lib/web_ui/flutter_js/sources.gni")
import("//flutter/web_sdk... | engine/web_sdk/BUILD.gn/0 | {
"file_path": "engine/web_sdk/BUILD.gn",
"repo_id": "engine",
"token_count": 7888
} | 445 |
// 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:path/path.dart' as pathlib;
/// Contains various environment variables, such as common file paths and command-line... | engine/web_sdk/web_test_utils/lib/environment.dart/0 | {
"file_path": "engine/web_sdk/web_test_utils/lib/environment.dart",
"repo_id": "engine",
"token_count": 1852
} | 446 |
<component name="libraryTable">
<library name="intellij-coverage-agent-1.0.579">
<CLASSES>
<root url="jar:///Applications/IntelliJ IDEA 2021.1.1 EAP.app/Contents/lib/intellij-coverage-agent-1.0.579.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component> | flutter-intellij/.idea/libraries/intellij_coverage_agent_1_0_579.xml/0 | {
"file_path": "flutter-intellij/.idea/libraries/intellij_coverage_agent_1_0_579.xml",
"repo_id": "flutter-intellij",
"token_count": 126
} | 447 |
# <img src="https://github.com/dart-lang/site-shared/blob/master/src/_assets/image/flutter/icon/64.png?raw=1" alt="Flutter" width="26" height="26"/> Flutter Plugin for IntelliJ
[](https://plugins.jetbrains.com/plugin/9212-flutter)
[![Build Status]... | flutter-intellij/README.md/0 | {
"file_path": "flutter-intellij/README.md",
"repo_id": "flutter-intellij",
"token_count": 1120
} | 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.
*/
package io.flutter.tests.gui
import com.intellij.ide.fileTemplates.impl.UrlUtil
import com.intellij.openapi.diagnostic.Logger
import com.intellij.... | flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/ProjectCreator.kt/0 | {
"file_path": "flutter-intellij/flutter-gui-tests/testSrc/io/flutter/tests/gui/ProjectCreator.kt",
"repo_id": "flutter-intellij",
"token_count": 2155
} | 449 |
/*
* 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.google.common.annotations.VisibleForTesting;
import com.intellij.ProjectTopics;
import com.intellij.ide.BrowserUtil;... | flutter-intellij/flutter-idea/src/io/flutter/FlutterInitializer.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/FlutterInitializer.java",
"repo_id": "flutter-intellij",
"token_count": 4383
} | 450 |
/*
* 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.AnActionEvent;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import... | flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterExternalIdeActionGroup.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/FlutterExternalIdeActionGroup.java",
"repo_id": "flutter-intellij",
"token_count": 1007
} | 451 |
/*
* 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.actions;
import com.intellij.openapi.actionSystem.ActionManager;
import com.intellij.openapi.actionSystem.AnActionEvent;
import ... | flutter-intellij/flutter-idea/src/io/flutter/actions/ReloadAllFlutterApps.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/actions/ReloadAllFlutterApps.java",
"repo_id": "flutter-intellij",
"token_count": 571
} | 452 |
/*
* 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.analytics;
import com.google.common.annotations.VisibleForTesting;
/**
* A throttling algorithm.
* <p>
* This models the thr... | flutter-intellij/flutter-idea/src/io/flutter/analytics/ThrottlingBucket.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/analytics/ThrottlingBucket.java",
"repo_id": "flutter-intellij",
"token_count": 533
} | 453 |
/*
* 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.dart;
import com.intellij.execution.configurations.ConfigurationType;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
impo... | flutter-intellij/flutter-idea/src/io/flutter/dart/DartPlugin.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/dart/DartPlugin.java",
"repo_id": "flutter-intellij",
"token_count": 1185
} | 454 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
/*
* @author max
*/
package io.flutter.editor;
import com.intellij.codeHighlighting.TextEditorHighlightingPass;
import com.intellij.codeInsight.highlighting.BraceMatcher;
impo... | flutter-intellij/flutter-idea/src/io/flutter/editor/FilteredIndentsHighlightingPass.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/FilteredIndentsHighlightingPass.java",
"repo_id": "flutter-intellij",
"token_count": 8759
} | 455 |
/*
* 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 javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import com... | flutter-intellij/flutter-idea/src/io/flutter/editor/IntellijColorPickerProvider.java_stub/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/editor/IntellijColorPickerProvider.java_stub",
"repo_id": "flutter-intellij",
"token_count": 284
} | 456 |
/*
* 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 com.google.common.collect.Lists;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.project.P... | flutter-intellij/flutter-idea/src/io/flutter/inspector/InspectorGroupManagerService.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/inspector/InspectorGroupManagerService.java",
"repo_id": "flutter-intellij",
"token_count": 3670
} | 457 |
/*
* 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.PathManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intell... | flutter-intellij/flutter-idea/src/io/flutter/jxbrowser/EmbeddedJxBrowser.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/jxbrowser/EmbeddedJxBrowser.java",
"repo_id": "flutter-intellij",
"token_count": 1469
} | 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.module.settings
import com.intellij.openapi.ui.DialogPanel
import com.intellij.ui.layout.*
import io.flutter.FlutterBundle
impor... | flutter-intellij/flutter-idea/src/io/flutter/module/settings/PlatformsForm.kt/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/module/settings/PlatformsForm.kt",
"repo_id": "flutter-intellij",
"token_count": 1071
} | 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.perf;
import icons.FlutterIcons;
import io.flutter.utils.AnimatedIcon;
import javax.swing.*;
import java.awt.*;
public class I... | flutter-intellij/flutter-idea/src/io/flutter/perf/Icons.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/Icons.java",
"repo_id": "flutter-intellij",
"token_count": 1017
} | 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.perf;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.fileEditor.FileEditor;
import io.flutter.inspector.Dia... | flutter-intellij/flutter-idea/src/io/flutter/perf/WidgetPerfProvider.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/perf/WidgetPerfProvider.java",
"repo_id": "flutter-intellij",
"token_count": 243
} | 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.preview;
import com.intellij.util.EventDispatcher;
import com.intellij.util.xmlb.annotations.Attribute;
import javax.swing.even... | flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewViewState.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/preview/PreviewViewState.java",
"repo_id": "flutter-intellij",
"token_count": 434
} | 462 |
/*
* 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.execution.runners.ExecutionEnvironment;
import com.intellij.openapi.util.Key;
import org.jetbrains.anno... | flutter-intellij/flutter-idea/src/io/flutter/run/FlutterLaunchMode.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/FlutterLaunchMode.java",
"repo_id": "flutter-intellij",
"token_count": 498
} | 463 |
/*
* Copyright 2022 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
package io.flutter.run.bazel;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.configurations.ConfigurationFactory;
... | flutter-intellij/flutter-idea/src/io/flutter/run/bazel/BazelAttachConfig.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazel/BazelAttachConfig.java",
"repo_id": "flutter-intellij",
"token_count": 445
} | 464 |
/*
* 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.openapi.fileChooser.FileChooserDescriptor;
import com.intellij.openapi.fileChooser.FileChoose... | flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/FlutterBazelTestConfigurationEditorForm.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/bazelTest/FlutterBazelTestConfigurationEditorForm.java",
"repo_id": "flutter-intellij",
"token_count": 2234
} | 465 |
/*
* 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.intellij.execution.configurations.CommandLineState;
import com.intellij.execution.filters.TextConsoleBuil... | flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DaemonConsoleView.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/daemon/DaemonConsoleView.java",
"repo_id": "flutter-intellij",
"token_count": 1454
} | 466 |
/*
* 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.ExecutionException;
import com.intellij.execution.Executor;
import com.intellij.executio... | flutter-intellij/flutter-idea/src/io/flutter/run/test/TestConfig.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/run/test/TestConfig.java",
"repo_id": "flutter-intellij",
"token_count": 926
} | 467 |
/*
* 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.sdk;
import com.intellij.openapi.util.text.StringUtil;
import io.flutter.module.FlutterProjectType;
import io.flutter.module.set... | flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterCreateAdditionalSettings.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/sdk/FlutterCreateAdditionalSettings.java",
"repo_id": "flutter-intellij",
"token_count": 3755
} | 468 |
/*
* 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.survey;
import com.intellij.ide.BrowserUtil;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.notification.... | flutter-intellij/flutter-idea/src/io/flutter/survey/FlutterSurveyNotifications.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/survey/FlutterSurveyNotifications.java",
"repo_id": "flutter-intellij",
"token_count": 1848
} | 469 |
/*
* 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.utils;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.util.lang.UrlClassLoader;
import com.jetbrains.lang.dart... | flutter-intellij/flutter-idea/src/io/flutter/utils/FileUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/FileUtils.java",
"repo_id": "flutter-intellij",
"token_count": 836
} | 470 |
package io.flutter.utils;
import java.net.MalformedURLException;
import java.net.URL;
public class UrlUtils {
public static String generateHtmlFragmentWithHrefTags(String input) {
StringBuilder builder = new StringBuilder();
for (String token : input.split(" ")) {
if (!builder.isEmpty(... | flutter-intellij/flutter-idea/src/io/flutter/utils/UrlUtils.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/utils/UrlUtils.java",
"repo_id": "flutter-intellij",
"token_count": 322
} | 471 |
/*
* 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 icons.FlutterIcons;
import io.flutter.run.daemon.FlutterApp;
import io.flutter.vmService.ServiceExtensions;
import ... | flutter-intellij/flutter-idea/src/io/flutter/view/DebugPaintAction.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/DebugPaintAction.java",
"repo_id": "flutter-intellij",
"token_count": 172
} | 472 |
/*
* 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.google.common.base.Joiner;
import com.intellij.openapi.diagnostic.Logger;
import io.flutter.FlutterUtils;
impor... | flutter-intellij/flutter-idea/src/io/flutter/view/InspectorTreeMouseListener.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/view/InspectorTreeMouseListener.java",
"repo_id": "flutter-intellij",
"token_count": 3001
} | 473 |
package io.flutter.vmService;
import gnu.trove.THashMap;
import org.dartlang.vm.service.element.Isolate;
import org.dartlang.vm.service.element.IsolateRef;
import org.jetbrains.annotations.NotNull;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;
import java.util.concurrent.CompletableFu... | flutter-intellij/flutter-idea/src/io/flutter/vmService/IsolatesInfo.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/io/flutter/vmService/IsolatesInfo.java",
"repo_id": "flutter-intellij",
"token_count": 1248
} | 474 |
/*
* 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/ExtractWidgetFeedback.java/0 | {
"file_path": "flutter-intellij/flutter-idea/src/org/dartlang/analysis/server/protocol/ExtractWidgetFeedback.java",
"repo_id": "flutter-intellij",
"token_count": 742
} | 475 |
/*
* Copyright 2019 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
import 'dart:convert';
import 'dart:io';
/// Pretty-prints the contents of json from the file in arg 0 to the file in
/// arg 1.
///
/// Usage:
//... | flutter-intellij/flutter-idea/testData/sample_tests/bin/pretty_print.dart/0 | {
"file_path": "flutter-intellij/flutter-idea/testData/sample_tests/bin/pretty_print.dart",
"repo_id": "flutter-intellij",
"token_count": 218
} | 476 |
/*
* 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;
import com.intellij.psi.PsiElement;
import com.intellij.testFramework.fixtures.CodeInsightTestFixture;
import io.flutter.ide.D... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/AbstractDartElementTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/AbstractDartElementTest.java",
"repo_id": "flutter-intellij",
"token_count": 530
} | 477 |
/*
* 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.editor;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/editor/ExpressionParsingUtilsTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/editor/ExpressionParsingUtilsTest.java",
"repo_id": "flutter-intellij",
"token_count": 214
} | 478 |
/*
* 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.project;
import com.intellij.openapi.project.ProjectManager;
import com.intellij.openapi.roots.ModuleRootManager;
import com.int... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/project/ProjectWatchTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/project/ProjectWatchTest.java",
"repo_id": "flutter-intellij",
"token_count": 688
} | 479 |
/*
* 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.sdk;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import io.flutter.module.Flut... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/sdk/FlutterCreateAdditionalSettingsTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/sdk/FlutterCreateAdditionalSettingsTest.java",
"repo_id": "flutter-intellij",
"token_count": 2435
} | 480 |
/*
* 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 com.google.common.collect.ImmutableList;
import org.jetbrains.annotations.NotNull;
import org.junit.Before;
import... | flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/RefreshableTest.java/0 | {
"file_path": "flutter-intellij/flutter-idea/testSrc/unit/io/flutter/utils/RefreshableTest.java",
"repo_id": "flutter-intellij",
"token_count": 4021
} | 481 |
package org.dartlang.vm.service.element;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import java.util.Iterator;
/**
* Simple wrapper around a {@link JsonArray} which lazily converts {@link JsonObject} elements to
* subclasses of {@link Element}. Subclasses need only implement {@link #basic... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/ElementList.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/ElementList.java",
"repo_id": "flutter-intellij",
"token_count": 435
} | 482 |
/*
* Copyright (c) 2015, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/InboundReference.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/InboundReference.java",
"repo_id": "flutter-intellij",
"token_count": 841
} | 483 |
/*
* Copyright (c) 2015, the Dart project authors.
*
* Licensed under the Eclipse Public License v1.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.eclipse.org/legal/epl-v10.html
*
* Unless required by applicable law or... | flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/MemoryUsage.java/0 | {
"file_path": "flutter-intellij/flutter-idea/third_party/vmServiceDrivers/org/dartlang/vm/service/element/MemoryUsage.java",
"repo_id": "flutter-intellij",
"token_count": 568
} | 484 |
/*
* 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.actions;
public class FlutterShowStructureSettingsAction {}
/*
import com.android.tools.idea.gradle.structure.actions.AndroidShow... | flutter-intellij/flutter-studio/src/io/flutter/actions/FlutterShowStructureSettingsAction.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/io/flutter/actions/FlutterShowStructureSettingsAction.java",
"repo_id": "flutter-intellij",
"token_count": 715
} | 485 |
package org.jetbrains.idea.maven.wizards;
// This class definition is required to prevent an exception during extension initialization.
public class MavenWizardBundle {
public static String message(String msg, Object... args) {
return "NO MESSAGE";
}
}
| flutter-intellij/flutter-studio/src/org/jetbrains/idea/maven/wizards/MavenWizardBundle.java/0 | {
"file_path": "flutter-intellij/flutter-studio/src/org/jetbrains/idea/maven/wizards/MavenWizardBundle.java",
"repo_id": "flutter-intellij",
"token_count": 75
} | 486 |
/*
* 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.util;
import static com.android.tools.idea.util.ToolWindows.activateProjectView;
import static com.intellij.ide.impl.Proje... | flutter-intellij/flutter-studio/testSrc/io/flutter/tests/util/ProjectWrangler.java/0 | {
"file_path": "flutter-intellij/flutter-studio/testSrc/io/flutter/tests/util/ProjectWrangler.java",
"repo_id": "flutter-intellij",
"token_count": 2624
} | 487 |
<!-- Do not edit; instead, modify plugin_template.xml, and run './bin/plugin generate'. -->
<idea-plugin>
<id>io.flutter</id>
<name>Flutter</name>
<description>
<![CDATA[
<p>Support for developing Flutter applications. Flutter gives developers an easy and productive
way to build and deploy cross-plat... | flutter-intellij/resources/META-INF/plugin.xml/0 | {
"file_path": "flutter-intellij/resources/META-INF/plugin.xml",
"repo_id": "flutter-intellij",
"token_count": 12241
} | 488 |
// 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.
import 'dart:io';
import 'package:plugin_tool/plugin.dart' as plugin;
/// Run from IntelliJ with a run configuration that has the working directory
/// set... | flutter-intellij/tool/plugin/bin/main.dart/0 | {
"file_path": "flutter-intellij/tool/plugin/bin/main.dart",
"repo_id": "flutter-intellij",
"token_count": 119
} | 489 |
61aeJQ9laGfEFF_Vlc_u0MCkqB6xb2hAYHRBxKH-Uw4C
| flutter/bin/internal/canvaskit.version/0 | {
"file_path": "flutter/bin/internal/canvaskit.version",
"repo_id": "flutter",
"token_count": 35
} | 490 |
# 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.
# ---------------------------------- NOTE ---------------------------------- #
#
# Please keep the logic in this file consistent with the logic in the
# `upd... | flutter/bin/internal/update_dart_sdk.ps1/0 | {
"file_path": "flutter/bin/internal/update_dart_sdk.ps1",
"repo_id": "flutter",
"token_count": 1881
} | 491 |
#include "Generated.xcconfig"
| flutter/dev/a11y_assessments/ios/Flutter/Release.xcconfig/0 | {
"file_path": "flutter/dev/a11y_assessments/ios/Flutter/Release.xcconfig",
"repo_id": "flutter",
"token_count": 12
} | 492 |
// 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:flutter/material.dart';
import 'use_cases.dart';
class TextFieldPasswordUseCase extends UseCase {
@override
String get name => 'Text... | flutter/dev/a11y_assessments/lib/use_cases/text_field_password.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/lib/use_cases/text_field_password.dart",
"repo_id": "flutter",
"token_count": 572
} | 493 |
// 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:a11y_assessments/use_cases/text_field_password.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dar... | flutter/dev/a11y_assessments/test/text_field_password_test.dart/0 | {
"file_path": "flutter/dev/a11y_assessments/test/text_field_password_test.dart",
"repo_id": "flutter",
"token_count": 384
} | 494 |
This directory is used by //flutter/dev/bots/test.dart to verify that
`flutter test` actually correctly fails when a test fails.
| flutter/dev/automated_tests/test_smoke_test/README.md/0 | {
"file_path": "flutter/dev/automated_tests/test_smoke_test/README.md",
"repo_id": "flutter",
"token_count": 35
} | 495 |
// 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:flutter/material.dart';
class _MultiplyPainter extends CustomPainter {
_MultiplyPainter(this._color);
final Color _color;
@overrid... | flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_advanced_blend.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/animated_advanced_blend.dart",
"repo_id": "flutter",
"token_count": 902
} | 496 |
// 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 'dart:ui' as ui;
import 'package:flutter/material.dart';
Future<ui.Image> loadImage(String asset) async {
final ui.ImmutableBuffer buffer = awa... | flutter/dev/benchmarks/macrobenchmarks/lib/src/draw_vertices.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/draw_vertices.dart",
"repo_id": "flutter",
"token_count": 1310
} | 497 |
// 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:flutter/material.dart';
class SimpleAnimationPage extends StatelessWidget {
const SimpleAnimationPage({super.key});
@override
Widge... | flutter/dev/benchmarks/macrobenchmarks/lib/src/simple_animation.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/simple_animation.dart",
"repo_id": "flutter",
"token_count": 113
} | 498 |
// 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:flutter/material.dart';
import 'material3.dart';
import 'recorder.dart';
/// Measures how expensive it is to construct the material 3 com... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_material_3.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/bench_material_3.dart",
"repo_id": "flutter",
"token_count": 168
} | 499 |
// 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 'dart:math' as math;
import 'dart:ui';
// Used to randomize data.
//
// Using constant seed for reproducibility.
final math.Random _random = math.R... | flutter/dev/benchmarks/macrobenchmarks/lib/src/web/test_data.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/lib/src/web/test_data.dart",
"repo_id": "flutter",
"token_count": 1025
} | 500 |
// 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:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flut... | flutter/dev/benchmarks/macrobenchmarks/test/frame_policy.dart/0 | {
"file_path": "flutter/dev/benchmarks/macrobenchmarks/test/frame_policy.dart",
"repo_id": "flutter",
"token_count": 1543
} | 501 |
// 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:flutter/material.dart';
class ButtonMatrixApp extends StatefulWidget {
const ButtonMatrixApp({super.key});
@override
ButtonMatrixAp... | flutter/dev/benchmarks/microbenchmarks/lib/gestures/apps/button_matrix_app.dart/0 | {
"file_path": "flutter/dev/benchmarks/microbenchmarks/lib/gestures/apps/button_matrix_app.dart",
"repo_id": "flutter",
"token_count": 616
} | 502 |
// 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.
enum StockMode { optimistic, pessimistic }
enum BackupMode { enabled, disabled }
class StockConfiguration {
StockConfiguration({
required this.stock... | flutter/dev/benchmarks/test_apps/stocks/lib/stock_types.dart/0 | {
"file_path": "flutter/dev/benchmarks/test_apps/stocks/lib/stock_types.dart",
"repo_id": "flutter",
"token_count": 635
} | 503 |
// 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.
// To run this, from the root of the Flutter repository:
// bin/cache/dart-sdk/bin/dart --enable-asserts dev/bots/check_code_sample_links.dart
import 'd... | flutter/dev/bots/check_code_samples.dart/0 | {
"file_path": "flutter/dev/bots/check_code_samples.dart",
"repo_id": "flutter",
"token_count": 9489
} | 504 |
// 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 'dart:io' hide Platform;
import 'package:file/file.dart' as fs;
import 'package:file/memory.dart';
import 'package:path/path.dart' as path;
import ... | flutter/dev/bots/test/test_test.dart/0 | {
"file_path": "flutter/dev/bots/test/test_test.dart",
"repo_id": "flutter",
"token_count": 2080
} | 505 |
// 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:args/args.dart';
import 'package:args/command_runner.dart';
import 'package:file/file.dart';
import 'package:platform/platform.dart';
impo... | flutter/dev/conductor/core/lib/src/clean.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/clean.dart",
"repo_id": "flutter",
"token_count": 881
} | 506 |
// 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 'dart:convert' show JsonEncoder, jsonDecode;
import 'package:file/file.dart' show File;
import 'package:platform/platform.dart';
import './globals... | flutter/dev/conductor/core/lib/src/state.dart/0 | {
"file_path": "flutter/dev/conductor/core/lib/src/state.dart",
"repo_id": "flutter",
"token_count": 4876
} | 507 |
#!/usr/bin/env bash
# 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.
# This should match the ci.bat file in this directory.
# This is called from .cirrus.yml and the LUCI recipes:
# https://flutter.googleso... | flutter/dev/customer_testing/ci.sh/0 | {
"file_path": "flutter/dev/customer_testing/ci.sh",
"repo_id": "flutter",
"token_count": 520
} | 508 |
// 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:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/f... | flutter/dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart",
"repo_id": "flutter",
"token_count": 732
} | 509 |
// 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:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/task_result.dart';
import 'package:flutter_devicel... | flutter/dev/devicelab/bin/tasks/flutter_gallery_v2_web_compile_test.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/flutter_gallery_v2_web_compile_test.dart",
"repo_id": "flutter",
"token_count": 536
} | 510 |
// 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:flutter_devicelab/framework/devices.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/t... | flutter/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__benchmark_no_dds.dart/0 | {
"file_path": "flutter/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__benchmark_no_dds.dart",
"repo_id": "flutter",
"token_count": 195
} | 511 |
// 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 'dart:io' as io;
import 'package:path/path.dart' as path;
import 'package:pub_semver/pub_semver.dart';
String adbPath() {
final String? androidH... | flutter/dev/devicelab/lib/framework/talkback.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/framework/talkback.dart",
"repo_id": "flutter",
"token_count": 863
} | 512 |
// 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 'dart:async';
import 'dart:io';
import 'package:path/path.dart' as path;
import '../framework/devices.dart';
import '../framework/framework.dart';... | flutter/dev/devicelab/lib/tasks/microbenchmarks.dart/0 | {
"file_path": "flutter/dev/devicelab/lib/tasks/microbenchmarks.dart",
"repo_id": "flutter",
"token_count": 1358
} | 513 |
// 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:file/file.dart';
import 'package:file/memory.dart';
import 'package:flutter_devicelab/framework/host_agent.dart';
import 'package:platform/... | flutter/dev/devicelab/test/host_agent_test.dart/0 | {
"file_path": "flutter/dev/devicelab/test/host_agent_test.dart",
"repo_id": "flutter",
"token_count": 455
} | 514 |
/* Overrides for dartdoc styles. */
/* Prefer Open Sans for paragraph and other text */
body {
font-family: "Open Sans", "Roboto", sans-serif;
}
/* Prefer Google Sans for headers */
h1, h2, h3, h4, h5, h6 .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: "Google Sans", "Roboto", sans-serif;
}
.section-title, .breadcru... | flutter/dev/docs/assets/overrides.css/0 | {
"file_path": "flutter/dev/docs/assets/overrides.css",
"repo_id": "flutter",
"token_count": 1259
} | 515 |
// 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.
package io.flutter.integration.platformviews;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Build;
import android.o... | flutter/dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/MainActivity.java/0 | {
"file_path": "flutter/dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/MainActivity.java",
"repo_id": "flutter",
"token_count": 1562
} | 516 |
// 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 'dart:async';
import 'dart:isolate';
import 'package:flutter/services.dart';
import 'pair.dart';
import 'test_step.dart';
class ExtendedStandardM... | flutter/dev/integration_tests/channels/lib/src/basic_messaging.dart/0 | {
"file_path": "flutter/dev/integration_tests/channels/lib/src/basic_messaging.dart",
"repo_id": "flutter",
"token_count": 2046
} | 517 |
<!-- 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. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- ${applicationName} is used by the Flutter tool to select the Application
... | flutter/dev/integration_tests/deferred_components_test/android/app/src/main/AndroidManifest.xml/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/android/app/src/main/AndroidManifest.xml",
"repo_id": "flutter",
"token_count": 1141
} | 518 |
// 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:flutter/material.dart';
class LogoScreen extends StatelessWidget {
const LogoScreen({super.key});
static const String _testSentinel ... | flutter/dev/integration_tests/deferred_components_test/lib/component1.dart/0 | {
"file_path": "flutter/dev/integration_tests/deferred_components_test/lib/component1.dart",
"repo_id": "flutter",
"token_count": 263
} | 519 |
// 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 'dart:async';
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
final RegExp _c... | flutter/dev/integration_tests/external_textures/test_driver/frame_rate_main_test.dart/0 | {
"file_path": "flutter/dev/integration_tests/external_textures/test_driver/frame_rate_main_test.dart",
"repo_id": "flutter",
"token_count": 941
} | 520 |
// 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 Cocoa
import FlutterMacOS
class MainFlutterWindow: NSWindow {
override func awakeFromNib() {
let flutterViewController = FlutterViewControlle... | flutter/dev/integration_tests/flavors/macos/Runner/MainFlutterWindow.swift/0 | {
"file_path": "flutter/dev/integration_tests/flavors/macos/Runner/MainFlutterWindow.swift",
"repo_id": "flutter",
"token_count": 380
} | 521 |
// 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:flutter/cupertino.dart';
import '../../gallery/demo.dart';
class CupertinoAlertDemo extends StatefulWidget {
const CupertinoAlertDemo({... | flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_alert_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/cupertino/cupertino_alert_demo.dart",
"repo_id": "flutter",
"token_count": 4370
} | 522 |
// 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:flutter/material.dart';
import '../../gallery/demo.dart';
const String _elevatedText =
'Elevated buttons add dimension to mostly flat... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/buttons_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/buttons_demo.dart",
"repo_id": "flutter",
"token_count": 6225
} | 523 |
// 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:flutter/material.dart';
import '../../gallery/demo.dart';
class MenuDemo extends StatefulWidget {
const MenuDemo({ super.key });
sta... | flutter/dev/integration_tests/flutter_gallery/lib/demo/material/menu_demo.dart/0 | {
"file_path": "flutter/dev/integration_tests/flutter_gallery/lib/demo/material/menu_demo.dart",
"repo_id": "flutter",
"token_count": 4099
} | 524 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.