text stringlengths 3 1.05M |
|---|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Pango Reference Manual: Rendering with Pango</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Pango ... |
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field
ID="{C7689EB4-4281-4798-82F4-9B033ACC7783}"
Name="WFEventFired"
DisplayName="WFEventFired"
StaticName="WFEventFired"
Type="Text"
Group="Workflow.CustomEvents Site Columns"
Required=... |
{% extends "templates/layout.html" %}
{% block page_title %}
NHS Medicines alpha
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge"><a href="/paracetamol" class="link-no-style">Paracetamol</a></h1>
... |
@interface KKITunesProductsCollection ()
@property (strong, nonatomic) NSArray *products;
@property (strong, nonatomic) NSArray *sections;
- (void)setProductsWithResults:(NSArray *)results;
- (NSInteger)availableSectionsCount;
@end
@implementation KKITunesProductsCollection
#pragma mark Request
- (void)search:(NS... |
title: 'Mashahidi Wenye Mvuto Mwema: Nguvu ya Ushuhuda Binafsi'
date: 04/07/2020
---
### Somo la Juma Hili
Marko 5:15–20, Marko 16:1–11, Matendo 4:1–20, 1 Yohana 1:13, Wagalatia 2:20, Matendo 26: 1–32.
> <p>Fungu la Kukariri</p>
> "Maana sisi hatuwezi kuacha kuyanena mambo tuliyoyaona na kuyasikia" (Matendo 4:20).
... |
//======= Copyright (c) Valve Corporation, All rights reserved. ===============
//
// Purpose: The arrow for the longbow
//
//=============================================================================
using UnityEngine;
using System.Collections;
namespace Valve.VR.InteractionSystem
{
//--------------------------... |
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Web.Twitter.Conduit
import Common
import Control.Lens
import System.Environment
main :: IO ()
main = do
[statusIdStr] <- getArgs
twInfo <- getTWInfoFromEnv
mgr <- newManager tlsManagerSettings
let sId = read statusIdStr
targetStatus <-... |
#include <cos/Object.h>
#include <cos/TrueFalse.h>
#include <cos/gen/relop.h>
#include <cos/gen/logicop.h>
#include <cos/gen/object.h>
#include <cos/gen/value.h>
// ----- Tristate boolean logic (with uncertain/indeterminate state)
useclass(TrueFalse);
// ----- conversion
defmethod(BOOL, gbool, mTrue)
retmethod... |
package org.keycloak.provider;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public interface ProviderEventManager {
void register(ProviderEventListener listener);
void unregister(ProviderEventListener listener);
void publish(ProviderEvent event);
}
|
CREATE DATABASE showdb;
USE showdb;
CREATE TABLE show_t1(a String, b Int, c String, d String) USING parquet PARTITIONED BY (c, d);
ALTER TABLE show_t1 ADD PARTITION (c='Us', d=1);
CREATE TABLE show_t2(b String, d Int) USING parquet;
CREATE TEMPORARY VIEW show_t3(e int) USING parquet;
CREATE GLOBAL TEMP VIEW show_t4 AS ... |
package org.apache.camel.maven.packaging;
import java.io.File;
import java.io.FileFilter;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin... |
#if !defined(FUSION_END_IMPL_05042005_1142)
#define FUSION_END_IMPL_05042005_1142
#include <boost/fusion/support/config.hpp>
#include <boost/fusion/container/vector/vector_iterator.hpp>
namespace boost { namespace fusion
{
struct vector_tag;
namespace extension
{
template <typename Tag>
... |
/**
* @ngdoc directive
* @name umbraco.directives.directive:umbNavigation
* @restrict E
**/
function umbNavigationDirective() {
return {
restrict: "E", // restrict to an element
replace: true, // replace the html element with the template
templateUrl: 'views/components/applica... |
"use strict";
var cli_1 = require('./support/cli');
var typings_core_1 = require('typings-core');
function help() {
return "\ntypings list\n\nOptions:\n [--production] List only production dependencies (omit dev dependencies)\n\nAliases: la, ll, ls\n";
}
exports.help = help;
function exec(args, options) {
retu... |
#if defined(USE_FULL_LL_DRIVER)
/* Includes ------------------------------------------------------------------*/
#include "stm32f3xx_ll_spi.h"
#include "stm32f3xx_ll_bus.h"
#include "stm32f3xx_ll_rcc.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif
/** @addtogr... |
'use strict';
module.exports = function() {
var _ = require('lodash'),
fs = require('fs'),
path = require('path'),
yaml = require('js-yaml'),
express = require('express.oi');
var app = this.app,
middlewares = this.middlewares;
//
// Routes
//
app.get('... |
/*
* 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 in writing, software
* distribut... |
class PhoneDetailController {
phone: any;
mainImageUrl: string;
static $inject = ['$routeParams', 'Phone'];
constructor($routeParams: angular.route.IRouteParamsService, Phone: any) {
let phoneId = $routeParams['phoneId'];
this.phone = Phone.get({phoneId}, (phone: any) => {
this.setImage(phone.ima... |
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Title.Models;
using Orchard.Taxonomies.Fields;
using Orchard.Taxonomies.Services;
using Orchard.Taxonomies.Models;
using Orchard.ContentManagement.Handlers;
using Orchard.Data;
using Orchard.Taxonomies.Settings;
usin... |
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
<value>
<package name="kotlinx.android.synthetic" withSubpackages="true" static="false" />
</value>
</option>
... |
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- BEGIN STRIP_FOR_RELEASE -->
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
width="25" height="25">
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
width="25" height="25">
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
/*
* (C) 2006 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#ifndef MPID_NEM_DATATYPES_H
#define MPID_NEM_DATATYPES_H
#include "mpid_nem_debug.h"
#include "mpid_nem_atomics.h"
#include <stdio.h>
#include <stdlib.h>
... |
/**!
* AngularJS file upload/drop directive and service with progress and abort
* FileAPI Flash shim for old browsers not supporting FormData
* @author Danial <danial.farid@gmail.com>
* @version 5.0.9
*/
(function () {
/** @namespace FileAPI.noContentTimeout */
function patchXHR(fnName, newFn) {
window... |
package org.apache.druid.query.search;
import com.google.common.base.Supplier;
import com.google.inject.Inject;
import org.apache.druid.java.util.common.ISE;
import org.apache.druid.java.util.emitter.EmittingLogger;
public class SearchStrategySelector
{
private static final EmittingLogger log = new EmittingLogger... |
@class CDType, CDTypeLexer;
extern NSString *CDExceptionName_SyntaxError;
extern NSString *CDErrorDomain_TypeParser;
extern NSString *CDErrorKey_Type;
extern NSString *CDErrorKey_RemainingString;
extern NSString *CDErrorKey_MethodOrVariable;
extern NSString *CDErrorKey_LocalizedLongDescription;
#define CDTypeParserC... |
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
// ©2008-2011 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// =========... |
package com.flipkart.fdp.migration.distcp.codec;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.apache.hadoop.conf.Configur... |
package org.osc.core.broker.service.api;
import org.osc.core.broker.service.dto.openstack.DeploymentSpecDto;
import org.osc.core.broker.service.request.BaseRequest;
import org.osc.core.broker.service.response.BaseJobResponse;
public interface AddDeploymentSpecServiceApi extends ServiceDispatcherApi<BaseRequest<Deplo... |
//=================================================================================================
//=================================================================================================
//*************************************************************************************************
// Includes
//***... |
package npm
import (
"fmt"
"github.com/drone/config"
"github.com/drone/drone/plugin/condition"
"github.com/drone/drone/shared/build/buildfile"
)
// command to create the .npmrc file that stores
// the login credentials, as opposed to npm login
// which requires stdin.
const CmdLogin = `
cat <<EOF > ~/.npmrc
_aut... |
package org.apache.poi.hssf.model;
import junit.framework.AssertionFailedError;
import junit.framework.TestCase;
import org.apache.poi.ss.formula.ptg.AbstractFunctionPtg;
import org.apache.poi.ss.formula.ptg.FuncVarPtg;
import org.apache.poi.ss.formula.ptg.Ptg;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
/*... |
loadimages = ["fg", "textbox", "player", "universe", "earth", "spaceship"];
var sml = [];
imagesloaded = 0;
function smlload(i) { //Preload all images
loadimage = loadimages[i];
if(loadimage instanceof Array) {
returnString = loadimage[0];
imageurl = loadimage[1];
} else {
returnString = loadimage;
imageur... |
"""
This module houses the Geometry Collection objects:
GeometryCollection, MultiPoint, MultiLineString, and MultiPolygon
"""
import json
from ctypes import byref, c_int, c_uint
from django.contrib.gis.geos import prototypes as capi
from django.contrib.gis.geos.geometry import (
GEOSGeometry, ProjectInterpolateM... |
"""Test reproduce state for Cover."""
from homeassistant.components.cover import (
ATTR_CURRENT_POSITION,
ATTR_CURRENT_TILT_POSITION,
ATTR_POSITION,
ATTR_TILT_POSITION,
)
from homeassistant.const import (
SERVICE_CLOSE_COVER,
SERVICE_CLOSE_COVER_TILT,
SERVICE_OPEN_COVER,
SERVICE_OPEN_COV... |
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js"></script>
<script src="scripts/app.js"></script>
... |
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html>
<body>
<div></div>
<p></p>
<<warning descr="Unknown html tag unknown">unknown</warning>></<warning descr="Unknown html tag unknown">unknown</warning>>
</body>
</html> |
<?php
namespace Api\Model\Scriptureforge\Typesetting;
use Api\Model\Mapper\MapperListModel;
use Api\Model\Mapper\MongoMapper;
use Api\Model\ProjectModel;
class TypesettingDiscussionThreadListModel extends MapperListModel
{
public static function mapper($databaseName)
{
static $instance = null;
... |
/**
* core-js 1.1.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require f... |
#ifndef SUBPROCESS_H_
#define SUBPROCESS_H_
#include <base.h>
#include <concurrent/thread.h>
class TSubProcessIn;
class TSubProcessOut;
class TSubProcess;
class TSubProcessHandlerThread : public TThread {
public:
TSubProcess *Proc;
PMem Output;
TSubProcessHandlerThread();
void SetSubProcess(TS... |
//>>built
define("dojo/cldr/nls/cs/number",{"group":" ","percentSign":"%","exponential":"E","scientificFormat":"#E0","percentFormat":"#,##0 %","list":";","infinity":"∞","patternDigit":"#","minusSign":"-","decimal":",","nan":"NaN","nativeZeroDigit":"0","perMille":"‰","decimalFormat":"#,##0.###","currencyFormat":"#,##0... |
<?php
use PHPUnit\Framework\TestCase;
abstract class Twig_Test_NodeTestCase extends TestCase
{
abstract public function getTests();
/**
* @dataProvider getTests
*/
public function testCompile($node, $source, $environment = null, $isPattern = false)
{
$this->assertNodeCompilation($... |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
This file is part of the Sylius package.
(c) Paweł Jędrzejewski
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
-->
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-ma... |
package cmd
import (
"fmt"
"io"
"os"
"github.com/spf13/cobra"
"github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl"
cmdutil "github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl/cmd/util"
"github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl/resource"
)
const (
scale_long = `Set a new size for a Repli... |
import pytest
from plumbum import local
from plumbum.cmd import git
import copier
from copier.config.factory import make_config
from copier.config.objects import UserMessageError
def test_version_less_than_required(monkeypatch):
monkeypatch.setattr("copier.__version__", "0.0.0")
with pytest.raises(UserMessag... |
using System;
using System.Text;
using System.Security.Cryptography;
using Flurl;
using Flurl.Http;
using Newtonsoft.Json;
namespace demibyte.coinbase
{
class MainClass
{
public static void Main (string[] args)
{
var host = "https://api.coinbase.com/";
var apiKey = "yourApiKey";
var apiSecret = "youApi... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
andro... |
Type: `Number`
Default: `5000`
The amount of time (in milliseconds) that grunt will wait for a QUnit `start()` call before failing the task with an error.
## inject
Type: `String`
Default: (built-in)
Path to an alternate QUnit-PhantomJS bridge file to be injected. See [the built-in bridge](https://github.com/gru... |
class URITests : public QObject
{
Q_OBJECT
private slots:
void uriTests();
};
#endif // BITCOIN_QT_TEST_URITESTS_H
|
<?php
/**
* A CharacterStream implementation which stores characters in an internal array.
*
* @package Swift
* @subpackage CharacterStream
* @author Xavier De Cock <xdecock@gmail.com>
*/
class Swift_CharacterStream_NgCharacterStream implements Swift_CharacterStream
{
/**
* The char reader (la... |
package testing
import (
"sync"
runtimeApi "k8s.io/kubernetes/pkg/kubelet/api/v1alpha1/runtime"
"k8s.io/kubernetes/pkg/kubelet/util/sliceutils"
)
type FakeImageService struct {
sync.Mutex
FakeImageSize uint64
Called []string
Images map[string]*runtimeApi.Image
}
func (r *FakeImageService) Se... |
var should = require('should');
var util = require('util');
var testUtils = require('../util/util');
var CLITest = require('../framework/cli-test');
var vmTestUtil = require('../util/asmVMTestUtil');
// A common VM used by multiple tests
var suite;
var vmPrefix = 'CliTestVm';
var testPrefix = 'cli.vm.shutdown_restart... |
package org.apache.cassandra.test.microbench;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import org.apache.cassandra.utils.btree.BTreeSearchIterator;
import org.apache.cassandra.utils.btree.BTree;
import org.apa... |
import { Subject, SubjectSubscriber } from '../Subject';
import { Operator } from '../Operator';
import { Observable } from '../Observable';
import { Subscriber } from '../Subscriber';
import { Subscription, TeardownLogic } from '../Subscription';
import { refCount as higherOrderRefCount } from '../operators/refCount';... |
freud.js
====
[](https://travis-ci.org/jarofghosts/freud)
[](https://www.npmjs.org/package/freud)
Freud watches directories and copies files between them. It allows you to
mod... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... |
namespace content {
struct WebRTCIdentityRequestResult {
WebRTCIdentityRequestResult(int error,
const std::string& certificate,
const std::string& private_key)
: error(error), certificate(certificate), private_key(private_key) {}
int error;
std::... |
In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.
It is a new life of [bootstrap-editable plugin](http://github.com/vitalets/bootstrap-editable) that was strongly refactored and improved.
## Demo + Docs + Download
See **http://vitalets.github.com/x-editable**
## Reporting issues
When creating issu... |
/**
* Benchmark runner dependencies
*/
var colors = require('colors')
, path = require('path');
/**
* Find all the benchmarks
*/
var benchmarks_files = process.env.BENCHMARKS.split(' ')
, all = [].concat(benchmarks_files)
, first = all.shift()
, benchmarks = {};
// find the benchmarks and load them all ... |
void hsplit_region(const region_descriptor& descriptor, region_descriptor& first, region_descriptor& second, int split_threshold)
{
first.lineIntervals.clear();
first.bounding_box.height = split_threshold - descriptor.bounding_box.y;
second.lineIntervals.clear();
second.bounding_box.y = split_threshold;
second.bo... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _once = require('./internal/once');
var _once2 = _interopRequireDefault(_once);
var _wrapAsync = require('./internal/wrapAsync');
var _wrapAsync2 = _interopRequireDefault(_wrapAsync);
var _awaitify = require('./internal/awaitify'... |
import concat from 'concat-stream'
import http from 'http'
import { otp } from '../config'
import log from '../log'
export function profile (query, date, startTime, endTime) {
return request(`/profile?${query}`)
}
export function routes () {
return request('/index/routes')
}
export function pattern (pattern) {
... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
""" Utility for parsing HTML entity definitions available from:
http://www.w3.org/ as e.g.
http://www.w3.org/TR/REC-html40/HTMLlat1.ent
Input is read from stdin, output is written to stdout in form of a
Python snippet defining a dictionary "entitydefs" mapping literal
entity name to cha... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Reflection;
using System.Runtime.Serialization;
using System.Web.Http;
using System.Web.Http.Description;
using System.Xml... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
declare class FaHourglass2 extends React.Component<IconBaseProps> { }
export = FaHourglass2;
|
package org.keycloak.policy;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.PasswordPolicy;
import org.keycloak.models.RealmModel;
import org.keycloak.models.UserModel;
import java.util.LinkedList;
import java.util.List;
/**
* @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</... |
package org.apache.cassandra.cql3.validation.entities;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import com.google.common.collect.ImmutableList;
import org.junit.BeforeClass;
import org.junit.Test;
import org.apache.cassandra.cql3.CQLTester;
import org.apache.cassandra.db.Mutation... |
package org.apache.drill.exec.rpc;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
public class RpcExceptionHandler<C extends RemoteConnection> implements ChannelHandler{
static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(RpcExceptionHandler.class);
p... |
function init_header() {
cat <<EOF
###########
# Extractor is part of https://github.com/internetwache/GitTools
#
# Developed and maintained by @gehaxelt from @internetwache
#
# Use at your own risk. Usage might be illegal in certain circumstances.
# Only for educational purposes!
###########
EOF
}
init_header
i... |
void XA_MSGSM_Decoder(unsigned char *ibuf,unsigned short *obuf);
void XA_GSM_Decoder(unsigned char *ibuf,unsigned short *obuf);
void GSM_Init(void);
|
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">
<erlref>
<header>
<copyright>
<year>2002</year>
<year>2016</year>
<holder>Ericsson AB, All Rights Reserved</holder>
</copyright>
<legalnotice>
Licensed under the Apache License, Version 2.0 (the "License");
... |
package client
import (
"io"
"net/url"
"golang.org/x/net/context"
"github.com/docker/engine-api/types"
)
// ImageLoad loads an image in the docker host from the client host.
// It's up to the caller to close the io.ReadCloser returned by
// this function.
func (cli *Client) ImageLoad(ctx context.Context, input ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Remember The Milk signup form - jQuery Validate plugin demo - wit... |
package org.apache.hadoop.hdfs;
import java.io.*;
import java.net.InetSocketAddress;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.TreeMap;
import java.util.zip.CRC32;
import junit.framework.TestCase;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FSInputStream;... |
import java.io.InputStream;
class Test {
InputStream inputStream = new MyIn<caret>
private class MyInputStream extends InputStream {
MyInputStream(String nmame){}
public int read() throws IOException {
return 0;
}
}
}
|
<?php
/**
* MIME Message Signer used to apply S/MIME Signature/Encryption to a message.
*
*
* @author Romain-Geissler
* @author Sebastiaan Stok <s.stok@rollerscapes.net>
*/
class Swift_Signers_SMimeSigner implements Swift_Signers_BodySigner
{
protected $signCertificate;
protected $signPrivateKe... |
using Senparc.NeuChar;
namespace Senparc.Weixin.Work.Entities.Request.KF
{
public class RequestEvent : RequestBase
{
public RequestEvent()
{
this.MsgType = RequestMsgType.Event;
}
public Senparc.Weixin.Work.Event Event { get; set; }
}
} |
<?php namespace Laravel\Auth\Drivers; use Laravel\Hash, Laravel\Config;
class Eloquent extends Driver {
/**
* Get the current user of the application.
*
* If the user is a guest, null should be returned.
*
* @param int|object $token
* @return mixed|null
*/
public function retrieve($token)
{
// We... |
"""Support for Fibaro sensors."""
from __future__ import annotations
from contextlib import suppress
from homeassistant.components.sensor import (
DOMAIN,
SensorDeviceClass,
SensorEntity,
SensorStateClass,
)
from homeassistant.const import (
CONCENTRATION_PARTS_PER_MILLION,
ENERGY_KILO_WATT_HO... |
/***********************************************************************
created: 7/8/2010
author: Martin Preisler
purpose: Defines the interface for the KeyFrame class
*************************************************************************/
/****************************************************... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* PDO Forge Class
*
* @package CodeIgniter
* @subpackage Drivers
* @category Database
* @author EllisLab Dev Team
* @link http://codeigniter.com/database/
*/
class CI_DB_pdo_forge extends CI_DB_forge {
/**
* CREATE TABLE IF state... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const Event = require("./Event.js");
const impl = utils.implSymbol;
const convertErrorEventInit = require("./ErrorEventInit").convert;
function ErrorEvent(type) {
if (!this || this[impl] || !(this instanceof ErrorE... |
This is an example of a directory containing a `README.md` file.
|
package com.intellij.codeInspection.dataFlow;
/**
* @author peter
*/
public enum NullabilityProblem {
callNPE,
fieldAccessNPE,
unboxingNullable,
assigningToNotNull,
nullableReturn,
passingNullableToNotNullParameter,
passingNullableArgumentToNonAnnotatedParameter
}
|
COUNT = 10000
import cython
@cython.locals(N=cython.Py_ssize_t)
def count_to(N):
for i in range(N):
yield i
@cython.locals(i=cython.Py_ssize_t)
def round_robin(*_iterators):
iterators = list(_iterators)
to_drop = []
while iterators:
for i, it in enumerate(iterators):
try:
... |
package org.apache.jena.atlas.event;
import java.util.ArrayList ;
import java.util.HashMap ;
import java.util.List ;
import java.util.Map ;
/** The event system - the single, global event manager control the registration and delivery of events.
* An event is a label and an argument. */
public class EventManager
{... |
namespace chromeos {
class IdleAppNameNotificationView;
class KioskModeIdleAppNameNotification : public wm::UserActivityObserver,
public PowerManagerClient::Observer {
public:
static void Initialize();
static void Shutdown();
KioskModeIdleAppNameNotification();
virtu... |
#ifndef LIBMINIFI_INCLUDE_CORE_STATE_NODES_REPOSITORYMETRICS_H_
#define LIBMINIFI_INCLUDE_CORE_STATE_NODES_REPOSITORYMETRICS_H_
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <sstream>
#include <map>
#include "../nodes/MetricsBase.h"
#include "Connection.h"
namespace org {
namespac... |
package goryachev.common.util;
import java.io.File;
import java.io.FileFilter;
import java.util.ArrayList;
import java.util.StringTokenizer;
public abstract class BasicFileFilter
implements FileFilter
{
public static final FileFilter ACCEPT = new FileFilter() { public boolean accept(File f) { return true;... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* --------------------------------------------------------------------... |
if ( !window || !window.history || !window.history.pushState ) {
if ( typeof console != 'undefined' && console.error )
console.error('This browser does not support gx.core.History functionality!');
/* else
Do not throw error because it might prevent other scripts from running.
*/
}
gx.core.HistoryClass = ne... |
/**
* The configuration properties meta-data model and JSON writing support.
*/
package org.springframework.boot.configurationprocessor.metadata;
|
package com.mjiayou.trebundle.debug;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Message;
import android.view.View;
import android.widget.AbsListView;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
i... |
@interface MenuTableViewController : UITableViewController
@property (nonatomic, retain) NSMutableArray *menuItems;
@end
|
require 'digest/md5'
require 'digest/sha1'
require 'ostruct'
DEFAULT_ADAPTER = RUBY_PLATFORM == 'java' ? 'rjgit_adapter' : 'grit_adapter'
if defined?(Gollum::GIT_ADAPTER)
require "#{Gollum::GIT_ADAPTER.downcase}_adapter"
else
require DEFAULT_ADAPTER
end
# external
require 'github/markup'
require 'sanitize'
# in... |
typedef NS_ENUM(NSUInteger, PRSlideViewDirection) {
PRSlideViewDirectionHorizontal,
PRSlideViewDirectionVertical
};
@class PRSlideView;
@protocol PRSlideViewDelegate <UIScrollViewDelegate>
@optional
- (void)slideView:(PRSlideView *)slideView didScrollToPageAtIndex:(NSInteger)index;
- (void)slideView:(PRSli... |
<project
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent><groupId>mockit</groupId><artifactId>samples</artifactId>... |
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript." />
<meta name="author" content="//samdutton.com">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<meta itemprop="name" content="simpl.in... |
/* @flow */
// import type { SJSymbolInstanceLayer, SJLayer, SJObjectId } from 'sketchapp-json-flow-types';
import SketchRenderer from './SketchRenderer';
import {
makeSymbolInstance,
makeRect,
makeJSONDataReference,
} from '../jsonUtils/models';
import type { ViewStyle, LayoutInfo, TextStyle } from '../types';
i... |
#include "precomp.h"
#if defined(EVENT_TRACING)
#include "balloon.tmh"
#endif
NTSTATUS
BalloonInit(
IN WDFOBJECT WdfDevice
)
{
NTSTATUS status = STATUS_SUCCESS;
PDEVICE_CONTEXT devCtx = GetDeviceContext(WdfDevice);
u64 u64HostFeatures;
u64 u64GuestFeatures = 0;
b... |