answer stringlengths 15 1.25M |
|---|
VERSION = (1, 0, 0,)
__version__ = '.'.join(map(str, VERSION))
default_app_config = 'admin_sso.apps.AdminSSOConfig'
# Do not use Django settings at module level as recommended
try:
from django.utils.functional import LazyObject
except ImportError:
pass
else:
class LazySettings(LazyObject):
def _setu... |
#include "third_party/blink/renderer/core/layout/ng/mathml/<API key>.h"
#include "third_party/blink/renderer/core/layout/ng/mathml/<API key>.h"
#include "third_party/blink/renderer/core/layout/ng/<API key>.h"
#include "third_party/blink/renderer/core/layout/ng/ng_box_fragment.h"
#include "third_party/blink/renderer/cor... |
@ref simd
@file glm/simd/platform.h
#pragma once
// Platform
#define <API key> 0x00000000
#define <API key> 0x00010000
#define GLM_PLATFORM_LINUX 0x00020000
#define GLM_PLATFORM_APPLE 0x00040000
//#define GLM_PLATFORM_IOS 0x00080000
#define <API key> 0x00100000
#def... |
# Use of this source code is governed by a BSD-style
include $(GOROOT)/src/Make.$(GOARCH)
TARG=encoding/hex
GOFILES=\
hex.go\
include $(GOROOT)/src/Make.pkg |
#include "test/core/end2end/end2end_tests.h"
#include <stdio.h>
#include <string.h>
#include <grpc/byte_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include <grpc/support/useful.h>
#include "test/core/end2end/cq_verifier.h"
static void *tag(intptr_t t) { return... |
/**
* @file test_ppm_loopback.c
* Tests the PWM outputs and PPM input
*/
#include <px4_platform_common/time.h>
#include <px4_platform_common/px4_config.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <drivers/drv_pwm_output.h>
#inclu... |
define(function(require, exports, module) {
"use strict";
var dom = require("../lib/dom");
var oop = require("../lib/oop");
var lang = require("../lib/lang");
var EventEmitter = require("../lib/event_emitter").EventEmitter;
var Gutter = function(parentEl) {
this.element = dom.createElement("div");
this.element.... |
#include "include/core/SkFont.h"
#include "include/core/SkTypeface.h"
#include "src/core/SkScalerCache.h"
#include "src/core/SkStrikeSpec.h"
#include "src/core/SkTaskGroup.h"
#include "tests/Test.h"
#include "tools/ToolUtils.h"
#include <atomic>
class Barrier {
public:
Barrier(int threadCount) : fThreadCount(thread... |
#include "third_party/blink/renderer/core/fetch/multipart_parser.h"
#include "base/cxx17_backports.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/network/http_names.h"
#include "third_party/blink/renderer/platform/network/http_parsers.h"
#include "third_party/bl... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const chalk = require("chalk");
const cli_utils_1 = require("@ionic/cli-utils");
const command_1 = require("@ionic/cli-utils/lib/command");
const validators_1 = require("@ionic/cli-utils/lib/validators");
cons... |
/**
* @file blocks.h
*
* Controller library code
*/
#pragma once
#include <px4_platform_common/defines.h>
#include <assert.h>
#include <time.h>
#include <stdlib.h>
#include <math.h>
#include <mathlib/math/test/test.hpp>
#include <mathlib/math/filter/LowPassFilter2p.hpp>
#include "block/Block.hpp"
#include "block/Bl... |
// The LLVM Compiler Infrastructure
// This file is distributed under the University of Illinois Open Source
#ifndef <API key>
#define <API key>
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/PDB/PDBTypes.h"
#include <unordered_map>
namespace llvm {
class raw_ostream;
namespa... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (absolute_import, division,
print_function, unicode_literals)
from builtins import *
import versioneer
__author__ = 'Chia-Jung, Yang'
__email__ = 'jeroyang@gmail.com'
__version__ = versioneer.get_version()
from ._version import... |
<?php
/* Prototype : string basename(string path [, string suffix])
* Description: Returns the filename component of the path
* Source code: ext/standard/string.c
* Alias to functions:
*/
echo "*** Testing basename() : usage variation ***\n";
// Define error handler
function test_error_handler($err_no, $err_msg, $... |
#!/bin/sh
bindir=/usr/bin
sbindir=/usr/bin
libdir=/usr/lib
[ -n "$gearman_db_type" ] && db_type=$gearman_db_type
if [ "$db_type" = "mysql" ]; then
persistence="-q libdrizzle --libdrizzle-user=%{gearman.db_user} --libdrizzle-password=\\\"\$(pw=\\\"%{gearman.db_pass}\\\" && [ \\\"\${pw:0:8}\\\" = \\\"keydb://\\\" ] &... |
define(
[
{
"value": 40,
"name": "Accessibility",
"path": "Accessibility"
},
{
"value": 180,
"name": "Accounts",
"path": "Accounts",
"children": [
{
"value": 76,
"name": "Access",
"path": "Acc... |
#include "src/torque/torque-compiler.h"
#include <fstream>
#include "src/torque/declarable.h"
#include "src/torque/declaration-visitor.h"
#include "src/torque/global-context.h"
#include "src/torque/<API key>.h"
#include "src/torque/torque-parser.h"
#include "src/torque/type-oracle.h"
namespace v8 {
namespace internal {... |
#ifndef <API key>
#define <API key> 1
#include <cxxstd/complex.h>
namespace cxxlapack {
template <typename IndexType>
IndexType
lasdq(char uplo,
IndexType sqre,
IndexType n,
IndexType ncvt,
IndexType nru,
... |
<!doctype html>
<html>
<head>
<style>
iframe {
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
height: 100%;
border: none;
margin: 0;
}
</style>
</head>
<body>
<iframe src="<API key>.html" i... |
""" test positional based indexing with iloc """
from datetime import datetime
import re
from warnings import (
catch_warnings,
simplefilter,
)
import numpy as np
import pytest
import pandas.util._test_decorators as td
from pandas import (
NA,
Categorical,
CategoricalDtype,
DataFrame,
Index,... |
#include "chrome/browser/usb/<API key>.h"
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/strings/string_split.h"
#include "base/values.h"
#include "components/content_settings/core/common/pref_names.h"
#include "components/prefs/pref_service.h"
#include "services/device/public/mojom/usb_devic... |
#pragma once
#include "scbwdata.h"
#include <algorithm>
namespace scbw {
The UnitFinder class is used to efficiently search for units in a certain
area using StarCraft's internal data structures.
class UnitFinder {
public:
Default constructor.
UnitFinder();
Constructs and searches for all units within the... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Aga.Controls.Properties {
using System;
<summary>
A strongly-typed resource class, for looking up localize... |
<div ng-controller="EditableFormCtrl" id="EditableFormCtrl">
<form editable-form name="editableForm" onaftersave="saveUser()">
<div>
<!-- editable username (text with validation) -->
<span class="title">User name: </span>
<span editable-text="user.name" e-name="name" onbeforesave="checkName($dat... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>sd-reader: partition.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="styleshe... |
#define LOG_TAG "Node_JNI"
#include "openvx_jni.h"
namespace android
{ |
# <API key>: true
require 'csv'
class <API key>
def initialize(course)
@course = course
end
def generate_csv
csv_data = [CSV_HEADERS]
courses_users.each do |courses_user|
csv_data << row(courses_user)
end
CSV.generate { |csv| csv_data.each { |line| csv << line } }
end
private
def c... |
<?php
class Typography_test extends CI_TestCase {
public function set_up()
{
$this->type = new <API key>();
$this->ci_instance('type', $this->type);
}
/**
* Tests the format_characters() function.
*
* this can and should grow.
*/
public function <API key>()
{
... |
#include "lib.h"
#include "net.h"
#include "ioloop.h"
#include "hash.h"
#include "strescape.h"
#include "fd-set-nonblock.h"
#include "login-proxy-state.h"
#include <unistd.h>
#include <fcntl.h>
#define <API key> (60*1000)
struct login_proxy_state {
HASH_TABLE(struct login_proxy_record *,
struct login_pro... |
/**
* window.c.<API key> component
* A Project-show page helper to show suggested amounts of contributions
*
* Example of use:
* view: () => {
* ...
* m.component(c.<API key>, {project: project})
* ...
* }
*/
import m from 'mithril';
import _ from 'underscore';
const <API key> = {
view(ctrl, args) {... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1">
<title>org.apache.commons.net.pop3 (Commons Net 3.3 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script t... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
namespace GSoft.Dynamite.Collections
{
<summary>
A list that supports synchronized reading and writing.
</summary>
<typeparam name="T">The type of object contained in ... |
<?php
namespace Oro\Bundle\IntegrationBundle\Provider;
use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
interface <API key>
{
/**
* @param Integration $integration
* @param $connector
* @param array $connectorParameters
*
* @return bool
*/
public function process(Int... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:48 CET 2013 -->
<title>Uses of Class com.badlogic.gdx.utils.ObjectFloatMap.Values (libgdx API)</title>
<meta name="date" content="2013-11-03">
<link rel="stylesheet" type="text/css" href=".... |
import { get } from '../get'
export function getSearchData(page, cityName, category, keyword) {
const keywordStr = keyword ? '/' + keyword : ''
const result = get('/api/search/' + page + '/' + cityName + '/' + category + keywordStr)
return result
} |
/*global define*/
/*jslint white:true,browser:true*/
define([
'bluebird',
// CDN
'kb_common/html',
// LOCAL
'common/ui',
'common/runtime',
'common/events',
'common/props',
// Wrapper for inputs
'./inputWrapperWidget',
'widgets/appWidgets/fieldWidget',
// Display widgets
... |
#!/bin/bash
FN="ALL_1.32.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.12/data/experiment/src/contrib/ALL_1.32.0.tar.gz"
"https://bioarchive.galaxyproject.org/ALL_1.32.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-all/bioconductor-all_1.32.0_src_all.tar.gz"
)
MD5="<API key>"
# Use a sta... |
/* Added: Dec. 16th, 2004 */
/* IMPORTANT */
body{
font-family: "Book Antiqua",Georgia,"MS Sans Serif", Geneva, sans-serif;
background: #A3181E url(bg_body.gif) fixed repeat-x;
margin: 0;
text-align: center;
margin: 0;
padding: 0;
height: 100%;
}
acronym {
color: #A3181E;
font-weight... |
package com.hearthsim.card.basic.spell;
import com.hearthsim.card.spellcard.SpellTargetableCard;
import com.hearthsim.event.effect.EffectCharacter;
import com.hearthsim.event.effect.<API key>;
import com.hearthsim.event.filter.FilterCharacter;
import com.hearthsim.event.filter.<API key>;
public class HeroicStrike exten... |
module SS::Reference::Site
extend ActiveSupport::Concern
extend SS::Translation
included do
cattr_accessor :site_required, instance_accessor: false
self.site_required = true
attr_accessor :cur_site
belongs_to :site, class_name: "SS::Site"
validates :site_id, presence: true, if: ->{ self.class.... |
#! /bin/sh
# <API key>: BSD-3-Clause
# Do some basic checks in MAINTAINERS file
cd $(dirname $0)/..
# speed up by ignoring Unicode details
export LC_ALL=C
# Get files matching paths with wildcards and / meaning recursing
files () # <path> [<path> ...]
{
if [ -z "$1" ] ; then
return
fi
if [ -r .git ]... |
<!DOCTYPE html>
<html>
<head>
<title>NEJ - </title>
<meta charset="utf-8" />
<script>
function log(msg){
var div = document.createElement('div');
div.innerHTML = msg;
document.body.appendChild(div);
}
</script>
</head>
<body>
<textarea id="abc" style="... |
TARGET?=tests
.PHONY: docs flake8 example test coverage
docs:
cd docs; make html
open docs/_build/html/index.html
flake8:
flake8 --ignore=W999 two_factor example tests
example:
<API key>=example.settings PYTHONPATH=. \
django-admin.py runserver
test:
<API key>=tests.settings PYTHONPATH=. \
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Mindscape.Raygun4Net.Messages;
using System.Threading;
using System.Reflection;
using Mindscape.Raygun4Net.Builders;
namespace Mindscape.Raygun4Net
{
public class RaygunClient : RaygunClientBase
{
... |
#include "pch.h"
#include "<API key>.h"
#include "Utils_WinRT.h"
using namespace pplx;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Platform;
using namespace Platform::Collections;
using namespace Microsoft::Xbox::Services::System;
using namespace xbox::services... |
#include "avformat.h"
#include "avio_internal.h"
#include "id3v1.h"
#include "id3v2.h"
#include "rawenc.h"
#include "libavutil/avstring.h"
#include "libavcodec/mpegaudio.h"
#include "libavcodec/mpegaudiodata.h"
#include "libavcodec/mpegaudiodecheader.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#in... |
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
u... |
<?php
namespace esperanto\UserBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Model\Group as BaseGroup;
/**
* Group
*/
class Group extends BaseGroup
{
/**
* @var integer
*/
protected $id;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $users;
/... |
@extends('admin.layouts.modal')
{{-- Content --}}
@section('content')
<!-- Tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#tab-general" data-toggle="tab">General</a></li>
</ul>
<!-- ./ tabs -->
{{-- Delete User Form --}}
<form class="form-horizontal" method="p... |
package org.multibit.hd.core.events;
/**
* <p>Signature interface to provide the following to Core Event API:</p>
* <ul>
* <li>Identification of core events</li>
* </ul>
* <p>A core event should be named using a noun as the first part of the name (e.g. <API key>)</p>
* <p>A core event can occur at any time and wi... |
// <auto-generated/>
#nullable disable
using System;
namespace Azure.Media.Analytics.Edge.Models
{
<summary> Http header service credentials. </summary>
public partial class <API key> : <API key>
{
<summary> Initializes a new instance of <API key>. </summary>
<param name="headerName"> HTTP h... |
var fs = require('fs');
var PNG = require('../lib/png').PNG;
var test = require('tape');
var noLargeOption = process.argv.indexOf("nolarge") >= 0;
fs.readdir(__dirname + '/in/', function (err, files) {
if (err) throw err;
files = files.filter(function (file) {
return (!noLargeOption || !file.match(/large/i)) &&... |
using System;
using System.IO;
using System.Windows;
using System.Windows.Resources;
namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Magnifier.Views
{
<summary>
Interaction logic for MagnifierView.xaml
</summary>
public partial class MagnifierView : DemoView
{
public MagnifierView()
{
Initializ... |
var assert = require('assert');
var Q = require('q');
var R = require('..');
describe('pipeP', function() {
function a(x) {return x + 'A';}
function b(x) {return x + 'B';}
it('handles promises', function() {
var plusOne = function(a) {return a + 1;};
var multAsync = function(a, b) {return Q.when(a * b);};... |
<?php
namespace Illuminate\Tests\Support;
use DateTime;
use DateTimeInterface;
use <API key>;
use Carbon\CarbonImmutable;
use Illuminate\Support\Carbon;
use PHPUnit\Framework\TestCase;
use Carbon\Carbon as BaseCarbon;
class SupportCarbonTest extends TestCase
{
/**
* @var \Illuminate\Support\Carbon
*/
... |
local yui_path = (...):match('(.-)[^%.]+$')
local Object = require(yui_path .. 'UI.classic.classic')
local FlatDropdown = Object:extend('FlatDropdown')
function FlatDropdown:new(yui, settings)
self.yui = yui
self.x, self.y = 0, 0
self.name = settings.name
self.size = settings.size or 20
self.options... |
// MTFontMathTable.h
// iosMath
// This software may be modified and distributed under the terms of the
@import Foundation;
@import CoreText;
@class MTFont;
/** MTGlyphPart represents a part of a glyph used for assembling a large vertical or horizontal
glyph. */
@interface MTGlyphPart : NSObject
The glyph that repr... |
from __future__ import print_function
from .patchpipette import PatchPipette |
# Acknowledgements
This application makes use of the following third party libraries:
## TFBubbleItUp
Copyright (c) 2015 Ales Kocur <ales@thefuntasty.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Sof... |
// LOTPlatformCompat.h
// Lottie
#ifndef LOTPlatformCompat_h
#define LOTPlatformCompat_h
#import "TargetConditionals.h"
#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR
#import <UIKit/UIKit.h>
#else
#import <AppKit/AppKit.h>
#import "UIColor.h"
#import "CALayer+Compat.h"
#import "NSValue+Compat.h"
NS_INLINE NSString *NSSt... |
<?php
/**
* Subclass for representing a row from the '<API key>' table.
*
*
*
* @package plugins.sfSimpleForumPlugin.lib.model
*/
class <API key> extends <API key>
{
} |
var _ = require('underscore');
/* A rule should contain explain and rule methods */
// TODO explain explain
// TODO explain missing
// TODO explain assert
function assert (options, password) {
return !!password && options.minLength <= password.length;
}
function explain(options) {
if (options.minLength === 1) {
... |
// <API key>.h
// RaisinToast
#import "<API key>.h"
@interface <API key> : UIViewController <<API key>>
@end |
<?php
namespace cs;
use ArrayAccess,
SimpleXMLElement;
/**
* False_class is used for chained calling, when some method may return false.
*
* Usage of class is simple, just return his instance instead of real boolean <i>false</i>.
* On every call of any method or getting of any property or ... |
using System;
using System.Diagnostics;
using FarseerPhysics.Common;
using Microsoft.Xna.Framework;
namespace FarseerPhysics.Dynamics.Joints
{
// 1-D rained system
// m (v2 - v1) = lambda
// v2 + (beta/h) * x1 + gamma * lambda = 0, gamma has units of inverse mass.
// x2 = x1 + h * v2
// 1-D mass-dam... |
<?php
/* WebProfilerBundle:Profiler:toolbar_js.html.twig */
class <API key> extends Twig_Template
{
protected function doGetParent(array $context)
{
return false;
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 1
echo "<div id=\"sfwdt";
... |
package utils
import (
"io/ioutil"
"net/http"
"encoding/json"
"fmt"
"github.com/juju/errors"
)
// GetRequestBody reads request and returns bytes
func GetRequestBody(r *http.Request) ([]byte, error) {
body, err := ioutil.ReadAll(r.Body)
if err != nil {
return nil, errors.Trace(err)
... |
# hookshot

"You found the *hookshot*! It's a spring-loaded chain that you can cast out to hook things."
## Intro
**hookshot** is a tiny library and companion CLI tool for handling [GitHub post-receive hooks](https://help.github.com/articles/post-receive-hooks).
## Examples
Libr... |
#import <Cocoa/Cocoa.h>
#import "<API key>.h"
@class <API key>;
@interface <API key> : NSCell
@property (nonatomic) <API key> *shortcutRecorder;
@property (nonatomic) NSString *shortcutName;
@property (nonatomic) SpectacleShortcut *shortcut;
@property (nonatomic, assign) id<<API key>> delegate;
@property (nonatomic) NS... |
// +build linux
// +build 386 amd64 arm arm64
package ras
import (
"database/sql"
"fmt"
"os"
"strconv"
"strings"
"time"
_ "modernc.org/sqlite" //to register SQLite driver
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
// Ras plugin gathers and coun... |
using Marten.Testing.Documents;
namespace Marten.Testing.Linq.Compatibility.Support
{
public class DefaultQueryFixture: TargetSchemaFixture
{
public DefaultQueryFixture()
{
Store = provisionStore("linq_querying");
<API key> = provisionStore("duplicate_fields", o =>
... |
using System;
using System.Linq;
using Cake.Core;
using Cake.Core.IO;
namespace Cake.Common.Tools.Chocolatey
{
<summary>
Contains Chocolatey path resolver functionality.
</summary>
public sealed class <API key> : <API key>
{
private readonly IFileSystem _fileSystem;
private readonly ... |
// by DotNetNuke Corporation
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// of the Software.
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A... |
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
</head>
<body>
<select multiple id="s">
<option value="1" id="one" selected>one</option>
<option id="two" selected>two</option>
</select>
<script>
alert(document.getElementById('s').value);
</script>
</body>
</html> |
<?php
namespace PhpSpec\CodeGenerator\Generator;
use PhpSpec\CodeGenerator\TemplateRenderer;
use ReflectionMethod;
class <API key>
{
private $templates;
private $class;
private $className;
private $arguments;
private $methodName;
public function __construct(TemplateRenderer $templates, string $m... |
namespace DotNetNuke.Services.Connections
{
public enum ConnectorCategories
{
Social = 0,
FileSystem = 1,
Analytics = 2,
Marketting = 3,
Other = 4,
}
} |
package run_test
import (
"fmt"
"net/url"
"strings"
"testing"
"time"
)
var tests Tests
// Load all shared tests
func init() {
tests = make(map[string]Test)
tests["database_commands"] = Test{
queries: []*Query{
&Query{
name: "create database should succe... |
<? header('Location: http: |
// <auto-generated/>
#nullable disable
using System;
using Azure;
using Azure.Core;
namespace Azure.Storage.Files.DataLake
{
internal partial class <API key>
{
private readonly Response _response;
public <API key>(Response response)
{
_response = response;
}
<... |
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
console.c
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Forrest Yu, 2005
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#include "type.h"
#include "const.... |
// NSDataAES.h
#import <Foundation/Foundation.h>
extern NSString * kCryptorKey;
#pragma mark - @interface NSData (AES128)
@interface NSData (AES128)
+ (NSData *)<API key>:(NSString *)aString;
- (NSString *)base64EncodedString;
@end
#pragma mark - @interface NSString (Encrypt)
@interface NSString (Encrypt)
- (NSString ... |
from io import BytesIO
import tempfile
import os
import time
import shutil
from contextlib import contextmanager
import six
import sys
from netlib import utils, tcp, http
def treader(bytes):
"""
Construct a tcp.Read object from bytes.
"""
fp = BytesIO(bytes)
return tcp.Reader(fp)
@contextmanager... |
#pragma once
class <API key>
{
public:
<API key>(<API key> * data);
intptr_t <API key>(uint index) const;
bool <API key>() const;
private:
<API key> m_data;
}; |
#ifndef __NET_IP_WRAPPER_H
#define __NET_IP_WRAPPER_H 1
#include_next <net/ip.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
static inline bool ip_is_fragment(const struct iphdr *iph)
{
return (iph->frag_off & htons(IP_MF | IP_OFFSET)) != 0;
}
#endif
#if LINUX_VERSION_CODE < KERNEL_VER... |
import { rectangle } from 'leaflet';
import boundsType from './types/bounds';
import Path from './Path';
export default class Rectangle extends Path {
static propTypes = {
bounds: boundsType.isRequired,
};
componentWillMount() {
super.componentWillMount();
const { bounds, map, ...props } = this.props;... |
#pragma once
#ifndef <API key>
#define <API key>
#include "Gwen/Controls/Base.h"
#include "Gwen/Controls/Button.h"
#include "Gwen/Gwen.h"
#include "Gwen/Skin.h"
#include "Gwen/Controls/Symbol.h"
#include "Gwen/Controls/LabelClickable.h"
namespace Gwen
{
namespace Controls
{
class GWEN_EXPORT CheckBox : public Button
{
... |
require 'spec_helper'
require Rails.root.join('db', 'post_migrate', '<API key>')
describe <API key>, :migration, :sidekiq do
let!(:identities) { table(:identities) }
around do |example|
Timecop.freeze { example.run }
end
before do
stub_const("Gitlab::Database::MigrationHelpers::<API key>", 2)
stub_c... |
<?php
namespace Symfony\Bundle\WebProfilerBundle\Csp;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
/**
* Handles <API key> HTTP header for the WebProfiler Bundle.
*
* @author Romain Neutron <imprec@gmail.com>
*
* @internal
*/
class <API key>
{
private $nonceGene... |
using System;
using Ionic.Zlib;
using UnityEngine;
namespace VoiceChat
{
public static class VoiceChatUtils
{
static void ToShortArray(this float[] input, short[] output)
{
if (output.Length < input.Length)
{
throw new System.ArgumentException("in: " + inp... |
YUI.add("dd-drop-plugin",function(e,t){var n=function(e){e.node=e.host,n.superclass.constructor.apply(this,arguments)};n.NAME="dd-drop-plugin",n.NS="drop",e.extend(n,e.DD.Drop),e.namespace("Plugin"),e.Plugin.Drop=n},"3.8.0pr2",{requires:["dd-drop"]}); |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<!-- template designed by Marco Von Ballmoos -->
<title>Docs for page <API key>.php</title>
<link rel="stylesheet" href="../../media/stylesheet.css" />
<meta http-equi... |
package com.bju.cps450.node;
import com.bju.cps450.analysis.*;
@SuppressWarnings("nls")
public final class TPlus extends Token
{
public TPlus()
{
super.setText("+");
}
public TPlus(int line, int pos)
{
super.setText("+");
setLine(line);
setPos(pos);
}
@Overrid... |
RSpec.configure do |config|
config.include Devise::TestHelpers, :type => :controller
end |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html>
<head>
<title><API key> (OpenID::SReg::Request)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../../.././rdoc-styl... |
class <API key> < ActiveRecord::Migration
def up
<API key> :orders, :front_end_change, nil
rename_column :orders, :front_end_change, :change
remove_column :orders, :refunded
remove_column :orders, :total_is_locked
remove_column :orders, :tax_is_locked
remove_column :orders, :subtotal_is_locked... |
# extension imports
from _NetworKit import PageRankNibble, GCE |
//= require d3/d3
//= require jquery.qtip.min
//= require simple_statistics
gfw.ui.model.<API key> = cdb.core.Model.extend({
defaults: {
graph: 'total_loss',
years: true,
class: null
}
});
gfw.ui.view.<API key> = cdb.core.View.extend({
el: document.body,
events: {
'click .graph_tab': '_updateGra... |
package org.jhotdraw.samples.mini;
import org.jhotdraw.draw.tool.<API key>;
import org.jhotdraw.draw.layouter.VerticalLayouter;
import javax.swing.*;
import org.jhotdraw.draw.*;
/**
* Example showing how to layout two editable text figures and a line figure
* within a graphical composite figure.
*
* @author Werner ... |
package com.iluwatar.front.controller;
/**
*
* Command for archers.
*
*/
public class ArcherCommand implements Command {
@Override
public void process() {
new ArcherView().display();
}
} |
declare module 'fast-memoize' {
declare type Cache<K, V> = {
get: (key: K) => V,
set: (key: K, value: V) => void,
has: (key: K) => boolean
}
declare type Options = {
cache?: Cache<*, *>;
serializer?: (...args: any[]) => any;
strategy?: <T>(fn: T, options?: Options) => T;
}
declare mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.