This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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/testing.h" | |
#include "gmock/gmock.h" | |
#include "impeller/entity/contents/content_context.h" | |
#include "impeller/entity/contents/filters/directional_gaussian_blur_filter_contents.h" | |
#include "impeller/renderer/testing/mocks.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Map<String, String> _deprecatedLanguageSubtagMap = <String, String>{ | |
'in': 'id', // Indonesian; deprecated 1989-01-01 | |
'iw': 'he', // Hebrew; deprecated 1989-01-01 | |
'ji': 'yi', // Yiddish; deprecated 1989-01-01 | |
'jw': 'jv', // Javanese; deprecated 2001-08-13 | |
'mo': 'ro', // Moldavian, Moldovan; deprecated 2008-11-22 | |
'aam': 'aas', // Aramanik; deprecated 2015-02-12 | |
'adp': 'dz', // Adap; deprecated 2015-02-12 | |
'aue': 'ktz', // ǂKxʼauǁʼein; deprecated 2015-02-12 | |
'ayx': 'nun', // Ayi (China); deprecated 2011-08-16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////////////////////////////////////// | |
/// Pigeon | |
/////////////////////////////////////////////////////////////////////////////// | |
class VideoPlayerInstance { | |
int ident; | |
} | |
class PlayMessage { | |
int ident; | |
String url; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile with: clang++ -fobjc-arc scoped_nsobject_arc.mm | |
#import <Foundation/Foundation.h> | |
#import <cstdio> | |
#if !__has_feature(objc_arc) | |
#error must use ARC | |
#endif | |
////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <atomic> | |
#include <deque> | |
#include <future> | |
#include <iostream> | |
#include <thread> | |
#include <unistd.h> | |
#include <condition_variable> | |
class EventLoop { | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "include/core/SkM44.h" | |
#include <Accelerate/Accelerate.h> | |
#include <chrono> | |
#include <iostream> | |
#include <string> | |
namespace { | |
class LA44 { | |
public: | |
double m_[16]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
/// An interface for representing the contents of a ListView. | |
class ListViewDataSource { | |
/// The number of items that will be displayed in the ListView. | |
int get numItems => 0; | |
/// The height of the widget at [index]. | |
double itemHeight(int index) => 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "NavController.h" | |
#import <Flutter/Flutter.h> | |
#import "AppDelegate.h" | |
#import "ViewController.h" | |
#import "GeneratedPluginRegistrant.h" | |
@interface NavController () | |
@property (nonatomic, strong) FlutterMethodChannel* setCountChannel; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "NavController.h" | |
#import <Flutter/Flutter.h> | |
#import "AppDelegate.h" | |
#import "ViewController.h" | |
#import "GeneratedPluginRegistrant.h" | |
@interface NavController () | |
@property (nonatomic, strong) FlutterMethodChannel* setCountChannel; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "NavController.h" | |
#import <Flutter/Flutter.h> | |
#import "AppDelegate.h" | |
#import "ViewController.h" | |
#import "GeneratedPluginRegistrant.h" | |
@interface NavController () | |
@property (nonatomic, strong) FlutterMethodChannel* setCountChannel; | |
@end |