answer stringlengths 15 1.25M |
|---|
$(function () {
var colors = Highcharts.getOptions().colors,
categories = ['', 'NEW', ''],
name = 'Browser brands',
data = [{
y: 290,
color: colors[0],
drilldown: {
name: 'close bug version',
categories: ... |
#ifndef <API key>
#define <API key>
#include <stdio.h>
#include <stdlib.h>
#include "BitSet.h"
#include <list>
namespace MIAMI
{
#define <API key> 0
class <API key>
{
public:
<API key> (int _unit, BitSet* _umask, int _count);
~<API key> ()
{
if (unit_mask)
delete unit_mask;
}
inline Bit... |
# # product
import logging
from django.contrib import messages
from django.contrib.auth.decorators import user_passes_test
from django.urls import reverse
from django.http import <API key>
from django.shortcuts import render
from dojo.utils import add_breadcrumb
from dojo.forms import ToolTypeForm
from dojo.models imp... |
#include <stddef.h>
#include <stdint.h>
#include "base/bind.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/strings/<API key>.h"
#include "media/base/media_log.h"
#include "media/base/mock_filters.h"
#include "media/base/test_helpers.h"
#include "media/b... |
<?php
namespace BackEnd\Form;
use Zend\Form\Form;
use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;
class LoginForm extends Form
{
protected $inputFilter;
public function __construct(){
parent::__construct('login-form');
$this->setAttribute('method', 'post');
... |
module UI.Widget.List (
listWidget
) where
import Reactive.Banana
import Reactive.Banana.Extra
import Reactive.Banana.Frameworks
import UI.TclTk
import UI.TclTk.AST
import UI.TclTk.Builder
import UI.Widget
-- | List widget
listWidget :: Frameworks t => Event t [a] -> GUI t p (TkName, Event t (Int,a))
listWidget e... |
#ifndef <API key>
#define <API key>
#include <vector>
#include "base/containers/flat_map.h"
#include "base/macros.h"
#include "media/base/media_export.h"
#include "media/base/video_codecs.h"
#include "media/base/<API key>.h"
#include "ui/gfx/geometry/size.h"
namespace media {
// Specification of a range of configuratio... |
#include <proxygen/lib/http/codec/experimental/HTTP2Framer.h>
#include <cstdint>
using namespace folly::io;
using namespace folly;
namespace proxygen { namespace http2 {
const uint8_t kMaxFrameType = static_cast<uint8_t>(FrameType::ALTSVC);
const boost::optional<uint8_t> kNoPadding;
const PriorityUpdate DefaultPriority... |
# -*-coding:Utf-8 -*
# modification, are permitted provided that the following conditions are met:
# and/or other materials provided with the distribution.
# may be used to endorse or promote products derived from this software
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WA... |
#This is where the tests go. |
using System;
namespace <API key>
{
public class MessageTypes
{
public const int Terminate = 0; //tells the prime worker to stop
public const int Start = 1; //initialize the prime workers
public const int ReplyBatch = 2; //the main worker sends a batch of numbers
... |
// Use this file to import your target's public headers that you would like to expose to Swift.
#import "MockORKTask.h"
#import "<API key>.h"
#import "MockAppInfoDelegate.h"
#import "MockKeychainWrapper.h"
#import "BridgeSDKTestable.h" |
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
content: "";
line-height: 0;
}
.clearfix:after {
clear: both;
}
.hide-text {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.input-block-level {
display: block;
width: 100... |
#ifndef ENTRY_H
#define ENTRY_H
#include "Object.h"
#include "CompiledCode.h"
#include "String.h"
#define ENTRY_MAX_ARGS_SIZE 16
typedef struct {
_Bool isHandle;
union { Value value; Object *handle; };
} EntryArg;
typedef struct {
size_t size;
EntryArg values[ENTRY_MAX_ARGS_SIZE];
} EntryArgs;
Value inv... |
#ifndef <API key>
#define <API key>
#include <cstdint>
#include "absl/strings/string_view.h"
namespace quic {
// An interface that includes methods to interact with a QBONE client.
class <API key> {
public:
virtual ~<API key>() {}
// Accepts a given packet from the network and sends the packet down to the
// QBO... |
#ifndef <API key>
#define <API key>
#include <fstream>
#include <iostream>
#include <vector>
#include <assert.h>
#include <stdlib.h>
#include <sstream>
#include <algorithm>
#include "Types.h"
#include "DNASequence.h"
#include "utils/StringUtils.h"
using namespace std;
#define <API key> 1233211233
template<typename TSeq... |
#pragma once
#include "ParticleSystemFwd.hpp"
namespace KRE
{
namespace Particles
{
enum class EmitsType {
VISUAL,
EMITTER,
AFFECTOR,
TECHNIQUE,
SYSTEM,
};
class Emitter : public EmitObject
{
public:
... |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DataKinds #-}
module React.Flux.Mui.RadioButton.RadioButtonGroup where
import Protolude
import Data.Aeson
import Data.Aeson.Casing
import Data.String (String)
import React.Flux
import React.Flux.Mui.Types
import React.Flux.Mui.Util
data Radi... |
YUI.add('enc-utf16-test', function (Y) {
var C = CryptoJS;
Y.CryptoJSTestSuite.add(new Y.Test.Case({
name: 'Utf16',
testStringify1: function () {
Y.Assert.areEqual('z', C.enc.Utf16.stringify(C.lib.WordArray.create([0x007a0000], 2)));
},
testStringify2: function () {
... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" This package contains the qibuild actions. """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function |
package com.navisens.pojostick.navishare;
import com.navisens.motiondnaapi.MotionDna;
import com.navisens.pojostick.navisenscore.*;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
@SuppressWarnings("unused")
public class NaviShare implements NavisensPlugin {
private static final long QUERY_INT... |
# @desc makefile for Login
# @author viticm<viticm.ti@gmail.com>
# @date 2013-06-25 20:00:13
include ../../premake.mk
CFLAGS = -I$(BASEDIR)/Login/Main -I$(BASEDIR)/Login/DB -I$(BASEDIR)/Login/Packets -I$(BASEDIR)/Login/Process -I$(BASEDIR)/Login/Player -I$(BASEDIR)/Login $(<API key>)
LDFLAGS =
DIRS =
OBJS = DBThread.... |
# $FreeBSD$
PROG= juggle
NO_MAN=
WARNS?= 3
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
.include <bsd.prog.mk> |
<?php
// WARNING
// WARNING, Changes made to this file will be clobbered
// WARNING
// WARNING, Please make changes on poeditor instead of here
?>
subject: (opomnik) {if:transfer.files>1}Datoteke, pripravljene{else}Datoteka, pripravljena{endif} za prenos
subject: (opomnik) {transfer.subject}
{alternative:plain}
Spošt... |
-- Module: Threshold
-- Description: Time integrated threshold functions
-- Time integrated threshold functions typically used in condition monitoring.
module Language.Atom.Common.Threshold
( boolThreshold
, doubleThreshold
) where
import Language.Atom.Expressions
import Language.Atom.Language
import Data.Int (In... |
// modification, are permitted provided that the following conditions
// are met:
// and/or other materials provided with the distribution.
// * Neither the name of Jaroslaw Kowalski nor the names of its
// contributors may be used to endorse or promote products derived from this
// AND ANY EXPRESS OR IMPLIED WARRA... |
require "lita"
Lita.load_locales Dir[File.expand_path(
File.join("..", "..", "locales", "*.yml"), __FILE__
)]
require 'lita/handlers/markov'
# Lita::Handlers::Markov.template_root File.expand_path(
# File.join("..", "..", "templates"),
# __FILE__ |
<?php
//AJAX Poll System Hack Start - 5:03 PM 3/24/2007
$language['POLL_ID']='الرقم';
$language['LATEST_POLL']='آخر استفتاء';
$language['CAST_VOTE']='قدم صوتي';
$language['FETCHING_RESULTS']='جلب نتائج الاستفتاء الرجاء الانتظار';
$language['POLL_TITLE']='عنوان الاستفتاء';
$language['POLL_TITLE_MISSING']='عنوان الاستفتا... |
package org.mafagafogigante.dungeon.stats;
import org.mafagafogigante.dungeon.game.Id;
import org.jetbrains.annotations.NotNull;
import java.io.Serializable;
/**
* CauseOfDeath class that defines what kind of death happened and the ID of the related Item or Spell.
*/
public class CauseOfDeath implements Serializable ... |
title: Towers of Hanoi
id: <API key>
challengeType: 5
isHidden: false
forumTopicId: 302341
## Description
<section id='description'>
Solve the <a href="https://en.wikipedia.org/wiki/Towers_of_Hanoi" title="wp: Towers_of_Hanoi" target="_blank">Towers of Hanoi</a> problem.</p>
Your solution should accept the number of di... |
// Benoit 2011-05-16
#include <ros/node_handle.h>
#include <ros/subscriber.h>
#include <ros/rate.h>
#include <<API key>/RequestForUUIDs.h>
#include "NIFTiROSUtil.h"
#include "UUIDsManager.h"
namespace eu
{
namespace nifti
{
namespace ocu
{
const char* UUIDsManager::TOPIC = "/eoi/Requ... |
#ifndef <API key>
#define <API key>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <tuple>
#include "base/allocator/buildflags.h"
#include "base/allocator/partition_allocator/<API key>.h"
#include "base/allocator/partition_allocator/<API key>.h"
#include "base/allocator/partition_allocator/<API key>.h... |
package net.jloop.rejoice;
import net.jloop.rejoice.types.Symbol;
import net.jloop.rejoice.types.Type;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class MacroHelper {
public static List<Value> collect(Env env, Iterator<Value> input, Symbol terminator) {
List<Value> o... |
import React from "react";
import { Text, View } from "react-native";
import { defaultProps, propTypes } from "./caption-prop-types";
import styles from "./styles";
const renderCredits = (style, credits) => {
if (!credits || credits === "") {
return null;
}
return (
<Text style={[styles.text, styles.credi... |
<h1>Header</h1>
<p>Now, let's try something <em>inline</em>, to see if it works</p>
<p>Blah blah blah <a href="http:
<ul>
<li>Basic list</li>
<li>Basic list 2</li>
</ul>
<p>addss</p>
<ul>
<li>Lazy list</li>
</ul>
<p>An <a href="http://example.com" title="Title">example</a> (oops)</p>
<p>Now, let's use a footnote[^1]. ... |
<?php
namespace yii\db;
/**
* SchemaBuilderTrait contains shortcut methods to create instances of [[ColumnSchemaBuilder]].
*
* These can be used in database migrations to define database schema types using a PHP interface.
* This is useful to define a schema in a DBMS independent way so that the application may run... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Document Info and Metadata - Zend Framework Manual</title>
</head>
<body>
<table width="100%">
<tr valign="top">
... |
import Control.Monad (when)
import Distribution.Simple
import System.Directory (doesFileExist)
import System.Process (readProcess)
import Data.ByteString.Char8 as BS
gitVersion :: IO ()
gitVersion = do
let filename = "app/Internal/Version.hs"
v... |
module Vector where
data Vec = V !Int !Int deriving (Show, Eq)
instance Num Vec where
V x1 y1 + V x2 y2 = V (x1+x2) (y1+y2)
V x1 y1 - V x2 y2 = V (x1-x2) (y1-y2)
V x1 y1 * V x2 y2 = V (x1*x2) (y1*y2)
abs (V x y) = V (abs x) (abs y)
signum (V x y) = V (signum x) (signum y)
fromInteger x = V (fromInteger x) (... |
# modification, are permitted provided that the following conditions are met:
# documentation and/or other materials provided with the distribution.
# * Neither the name of the author of this software nor the name of
# contributors to this software may be used to endorse or promote products
# derived from... |
#include "ets_sys.h"
#include "osapi.h"
#include "gpio.h"
#include "os_type.h"
#include "user_config.h"
#define LED_PIN (2)
static volatile os_timer_t blinky_timer;
static void <API key>(void *prv);
void ICACHE_FLASH_ATTR
user_init()
{
uint8_t value = 0;
/* setup */
gpio_init(); // init gpio subsytem
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** Get all roles */
$authManager = Yii::$app->authManager;
?>
<div class="<API key>">
<?php $form = ActiveForm::begin(); ?>
<?= Html::activeHiddenInput($formModel, 'userId')?>
<label class="control-label"><?=$formModel->attributeLabels()['roles']?></label>
... |
<!DOCTYPE html PUBLIC "-
window.onload = function () {pageLoad();};
</script></head><body id="mini"><div id="module-header"><p class="caption">Control.Lens.Internal.Getter</p></div><div id="interface"><div class="top"><p class="src"><a href="<API key>.html#v:noEffect" target="main">noEffect</a></p></div><div class="top... |
// IPC messages for resource loading.
// NOTE: All messages must send an |int request_id| as their first parameter.
// Multiply-included message file, hence no include guard.
#include "base/memory/shared_memory.h"
#include "base/process/process.h"
#include "content/common/<API key>.h"
#include "content/common/navigatio... |
#include "chrome/browser/ui/simple_message_box.h"
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/message_loop/<API key>.h"
#include "base/run_loop.h"
#include "build/build_config.h"
#include "chrome/browser/ui/browser_dial... |
<?php
session_start();
if ($_SESSION['user_name']=='') {
$user_name_session = $_POST['id'];
echo "no session set";
} else {
$user_name_session = $_SESSION['user_name'];
}
//print_r($user_name_session);
include_once('/kunden/homepages/0/d643120834/htdocs/config/index.php');
$db = new UserDashboard($_SESSION)... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
<html xmlns="http:
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>statsmodels.tsa.statespace.structural.<API key>.loglike — statsmodels... |
#pragma once
#if defined(BUILDING_LIBHOSTILE)
# if defined(HAVE_VISIBILITY) && HAVE_VISIBILITY
# define LIBHOSTILE_API __attribute__ ((visibility("default")))
# define LIBHOSTILE_LOCAL __attribute__ ((visibility("hidden")))
# elif defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550)
# define LIBHOSTILE_API __global
# def... |
// text_recognizer.h
// STR
#ifndef <API key>
#define <API key>
#include <iostream>
#include <string>
#include <vector>
#include <opencv2/text.hpp>
#include <opencv2/core/utility.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
class TextRecognizer {
public:
TextRecognizer(){};
std::vector<s... |
#ifndef ARRAYENTRYTYPE_H_
#define ARRAYENTRYTYPE_H_
#include <stdlib.h>
#include <stdio.h>
#ifndef _WRS_KERNEL
#include <stdint.h>
#endif
class ArrayEntryType;
#include "ArrayData.h"
#include "ComplexEntryType.h"
struct ArrayEntryData{
uint8_t length;
EntryValue* array;
};
/**
* Represents the size and content... |
#!/usr/bin/env python
import sys
def inv(s):
if s[0] == '-':
return s[1:]
elif s[0] == '+':
return '-' + s[1:]
else: # plain number
return '-' + s
if len(sys.argv) != 1:
print 'Usage:', sys.argv[0]
sys.exit(1)
for line in sys.stdin:
linesplit = line.strip().split()
if len(linesplit) == 3:
... |
def test_default(cookies):
"""
Checks if default configuration is working
"""
result = cookies.bake()
assert result.exit_code == 0
assert result.project.isdir()
assert result.exception is None |
// Test for "sancov.py missing ...".
// First case: coverage from executable. main() is called on every code path.
// RUN: %clangxx_asan -fsanitize-coverage=func,trace-pc-guard %s -o %t -DFOOBAR -DMAIN
// RUN: rm -rf %t-dir
// RUN: mkdir -p %t-dir
// RUN: cd %t-dir
// RUN: %env_asan_opts=coverage=1:coverage_dir=%t-dir ... |
# modification, are permitted provided that the following conditions are met:
# and/or other materials provided with the distribution.
# contributors may be used to endorse or promote products derived from this
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTA... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: <API key>.c
Label Definition File: <API key>.strings.label.xml
Template File: sources-sink-61b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from an environment variable
* GoodSource: Fixed string
* Sinks: w32_spawnv
* ... |
#endregion
namespace ProCenter.Domain.Psc
{
#region Using Statements
using System;
using Pillar.FluentRuleEngine;
using ProCenter.Domain.AssessmentModule;
using ProCenter.Domain.AssessmentModule.Rules;
#endregion
<summary>The <API key> rule collection class.</summary>
public class <API k... |
package net.byteseek.searcher.sequence.sunday;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import net.byteseek.io.reader.Window;
import net.byteseek.io.reader.WindowReader;
import net.byteseek.matcher.bytes.ByteMatcher;
import net.byteseek.matcher.sequence.SequenceMatcher;
import net.byt... |
# `pub.dev` API for developers
## Stay informed
This document describes the officially supported API of the `pub.dev` site.
`pub.dev` may expose API endpoints that are available publicly, but unless
they are documented here, we don't consider them as officially
supported, and may change or remove them without notice.
C... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\general\GeneralLabel;
/* @var $this yii\web\View */
/* @var $model app\models\<API key> */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="<API key>">
<p class="text-muted"><span style="color: red">*</span> <?= GeneralLabel::lapangan_mand... |
#!/usr/bin/env python
# -*- mode: python; sh-basic-offset: 4; indent-tabs-mode: nil; coding: utf-8 -*-
# vim: tabstop=4 softtabstop=4 expandtab shiftwidth=4 fileencoding=utf-8
# Shell command
import argparse
import os
import sys
import clusto
from clusto import script_helper
class Console(script_helper.Script):
'''... |
package com.impossibl.postgres.system.procs;
/**
* Marker interface for dynamically loaded postgis data types, to be used by {@link ServiceLoader}.
*/
public interface <API key> extends ProcProvider {
} |
package org.ductilej.tests;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Tests handling of varags with parameterized variable argument. Edge case extraordinaire!
*/
public class ParamVarArgsTest
{
public static interface Predicate<T> {
boolean apply (T arg);
}
public static <T> P... |
package ga;
import engine.*;
import java.util.*;
public class GAPopulation {
/* Evolutionary parameters: */
public int size; // size of the population
public int ngens; // total number of generations
public int currgen; // current generation
/* Crossover parameters */
int tournamentK; // size of... |
#include "common/renesas.hpp"
#include "common/fifo.hpp"
#include "common/uart_io.hpp"
#include "common/command.hpp"
#include "common/format.hpp"
#include "common/trb_io.hpp"
#include "common/spi_io.hpp"
#include "chip/ST7565.hpp"
#include "common/monograph.hpp"
namespace {
device::trb_io<utils::null_task, uint8_t>... |
<?php
namespace Application\Entity\Repository;
use Doctrine\ORM\EntityRepository;
Class RubricsRepository extends EntityRepository{
} |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE NoImplicitPrelude #-}
module Ircbrowse.View.Template where
import Ircbrowse.View
import Ircbrowse.Types.Import
import qualified Text.Blaze.Html5 as H
import Data.Text (Text)
template :: AttributeValue -> Text -> Html -> Html -> Html
templ... |
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>eusci_a_uart.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath/search.css" rel="... |
#import <Foundation/Foundation.h>
#import <<API key>/<API key>.h>
<API key>
@interface <API key> : NSObject <<API key>>
@property (nonatomic, strong) id<<API key>> task;
@end
<API key> |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hodograph — MetPy 0.8</title>
<link rel="s... |
#include "third_party/blink/renderer/core/script/<API key>.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/bindings/core/v8/<API key>.h"
#include "third_party/blink/renderer/bindings/c... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "book".
*
* @property integer $id
* @property string $title
* @property string $published_date
*
* @property BookAuthor[] $bookAuthors
* @property BookGenre[] $bookGenres
*/
class Book extends \yii\db\ActiveRecord
{
/**
* @in... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "content".
*
* @property integer $id
* @property string $title
* @property integer $moderation
* @property integer $listsql_id
* @property integer $parent_id
* @property integer $grade_id
* @property string $<API key>
* @property int... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Thu Jan 06 21:19:32 CET 2011 -->
<TITLE>
Uses of Package util
</TITLE>
<META NAME="date" CONTENT="2011-01-06">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
... |
from unittest import TestCase
from django.core.management import call_command
class <API key>(TestCase):
def test_run_command(self):
call_command('send_ai_pics_stats') |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: <API key>.c
Label Definition File: <API key>.label.xml
Template File: sources-sink-03.tmpl.c
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: fgets Read data from the console using fgets()
* GoodSource: Positive integer
* Sink: malloc
* BadSin... |
#include "ash/system/settings/tray_settings.h"
#include "ash/shell.h"
#include "ash/system/power/power_status_view.h"
#include "ash/system/tray/<API key>.h"
#include "ash/system/tray/tray_constants.h"
#include "ash/system/tray/tray_views.h"
#include "base/logging.h"
#include "base/<API key>.h"
#include "grit/ash_resour... |
var Turtle = function () {
this.d = 0;
this.x = 0;
this.y = 0;
this.rounding = false;
this.invert = false;
}
Turtle.prototype.setX = function (val) {
this.x = val;
return this;
}
Turtle.prototype.setY = function (val) {
this.y = val;
return this;
}
Turtle.prototype.setDegree = functi... |
# property including but not limited to intellectual property relating
# to a hardware implementation of the functionality of the software
# terms below provided that you ensure that this notice is replicated
# unmodified and in its entirety in all distributions of the software,
# modified or unmodified, in source code... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Code Coverage for /var/www/html/Album/vendor/zendframework/zendframework/library/Zend/Loader/StandardAutoloader.php</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="styles... |
<@row>
<@columns>
<@box color='success'>
<@boxHeader title='#i18n{portal.users.create_attribute.<API key>}' />
<@boxBody>
<@tform action='jsp/admin/user/attribute/DoCreateAttribute.jsp' method='post'>
<@input type='hidden' name='token' value='${token}' />
... |
#ifndef <API key>
#define <API key>
#include <memory>
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "build/chromeos_buildflags.h"
#include "chrome/common/<API key>.mojom.h"
#include "components/content_settings/common/<API key>.mojom.h"
#include "components/content_settings/core/common/content_s... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: <API key>.cpp
Label Definition File: <API key>.label.xml
Template File: sources-sink-82_bad.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Set data pointer to the bad buffer
* GoodSource: Set data pointer to the good buffer
* Sinks: ... |
# -*- coding: utf-8 -*-
"""
Display a fortune-telling, swimming fish.
Wanda has no use what-so-ever. It only takes up disk space and compilation time,
and if loaded, it also takes up precious bar space, memory, and cpu cycles.
Anybody found using it should be promptly sent for a psychiatric evaluation.
Configuration pa... |
[](README_ZH.md)
# rawbuf - Scalable & Efficient Serialization Library #

`rawbuf` is a powerful tool kit used in object serialization and deserialization with **full automation** feature, all new design based on [YAS](https://github.com/jobs-github/yas).
The design of rawbuf:
;
void create_input(mpq_t* input_q, int num_inp... |
#!/bin/bash
# Run a shell command on all slave hosts.
# Environment Variables
# HADOOP_SLAVES File naming remote hosts.
# Default is ${HADOOP_CONF_DIR}/slaves.
# HADOOP_CONF_DIR Alternate conf dir. Default is ${HADOOP_HOME}/conf.
# HADOOP_SLAVE_SLEEP Seconds to sleep between spawning remote commands.
# ... |
package com.tibco.ps.deploytool.services;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.<API key>;
import com.tibco.ps.common.CommonConstants;
import com.tibco.ps.common.exception.CompositeException;
import com.tibco.ps.common.util.CommonUtils;
i... |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-10-05 14:25
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [("elections", "0049_move_status")]
operations = [
migrations.RemoveField(model_name="election", name="... |
from __future__ import print_function
import re
import logging
logging.basicConfig(level=logging.INFO)
class Executor(object):
def __init__(self, op_map):
processed = {}
for pattern, f in op_map.iteritems():
s = self.<API key>(pattern.lower())
processed[re.compile(s)] = f
... |
<!DOCTYPE html>
<html xmlns="http:
<head>
<meta charset="utf-8" />
<title>statsmodels.tsa.vector_ar.var_model.VARProcess.acorr — statsmodels v0.10.0 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" ... |
package org.tolweb.tapestry;
import java.util.Collection;
import org.apache.tapestry.BaseComponent;
import org.apache.tapestry.IRequestCycle;
import org.tolweb.hibernate.TitleIllustration;
import org.tolweb.tapestry.injections.BaseInjectable;
import org.tolweb.tapestry.injections.ImageInjectable;
import org.tolweb.tree... |
//! \file <API key>.cpp
//! \author Alex Robinson
//! \brief Basic particle state class definition.
// FRENSIE Includes
#include "<API key>.hpp"
#include "<API key>.hpp"
#include "<API key>.hpp"
namespace MonteCarlo{
// Default constructor
/*! \details The default constructor should only be called before loading the... |
#include "chrome/browser/chromeos/set_time_dialog.h"
#include "base/metrics/user_metrics.h"
#include "base/strings/string16.h"
#include "chrome/common/url_constants.h"
#include "chromeos/login/login_state/login_state.h"
#include "ui/gfx/geometry/size.h"
namespace chromeos {
namespace {
// Dialog width and height in DIP... |
package jpview.graphics;
/**
* This class creates a kernel for use by an AffineTransformOp
*
* @author clyon
*/
public class GaussianKernel {
private int radius = 5;
private float sigma = 1;
private float[] kernel;
/** Creates a new instance of GaussianKernel */
public GaussianKernel() {
... |
<?php
declare(strict_types=1);
namespace ProophExample\FunctionalFlavour;
use Prooph\EventMachine\Messaging\Message;
use Prooph\EventMachine\Messaging\MessageBag;
use Prooph\EventMachine\Runtime\Functional\Port;
use ProophExample\FunctionalFlavour\Api\Command;
use ProophExample\FunctionalFlavour\Api\Event;
use ProophEx... |
#ifndef <API key>
#define <API key>
#include "ash/ash_export.h"
#include "base/macros.h"
namespace ash {
namespace test {
class <API key>;
} // namespace test
// Central controller to handle material design modes.
class ASH_EXPORT <API key> {
public:
// The different material design modes for Chrome OS system UI.
... |
#ifndef <API key>
#define <API key>
#include <string>
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
#include "chrome/browser/image_decoder.h"
class SkBitmap;
namespace base {
class SequencedTaskRunner;
}
namespace user_manager {
class UserImage;
}
namespace chromeos... |
// <API key>: Apache-2.0 WITH LLVM-exception
#ifndef <API key>
#define <API key>
#include "lldb/Utility/IOObject.h"
#include "lldb/Utility/Status.h"
#include "llvm/Support/ErrorHandling.h"
#include <functional>
namespace lldb_private {
// The purpose of this class is to enable multiplexed processing of data from
// dif... |
\hypertarget{<API key>}{\section{framework/\-Chassis\-Turn\-Rate.cpp File Reference}
\label{<API key>}\index{framework/\-Chassis\-Turn\-Rate.\-cpp@{framework/\-Chassis\-Turn\-Rate.\-cpp}}
}
\hyperlink{<API key>}{Chassis\-Turn\-Rate} is a strictly defined type for specifying the turn rate of a moving chassis.
{\ttfamily... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.