text stringlengths 3 1.05M |
|---|
<?php
namespace Tests\framework;
use WindowsAzure\Common\Internal\Logger;
use WindowsAzure\Common\Internal\Serialization\XmlSerializer;
use WindowsAzure\Common\ServicesBuilder;
/**
* Testbase for all REST proxy tests.
*
* @category Microsoft
*
* @author Azure PHP SDK <azurephpsdk@microsoft.com>
* @copyri... |
package scala.scalajs.runtime
import scala.scalajs.js
import scala.scalajs.LinkingInfo.ESVersion
private[runtime] object PrivateFieldsSymbolHolder {
val privateFieldsSymbol: Any = {
// Cannot import scala.scalajs.LinkingInfo because it is shadowed by runtime.LinkingInfo
if (scala.scalajs.LinkingInfo.esVer... |
/* eslint-disable react/prop-types */
// Import Components and React.
import React, { Component } from 'react'
// Please do not use the following lines in your code. Import RSGComponents from the module.
import { StyleSheet, css } from 'aphrodite-jss'
import { Button, Box, Label, Checkbox, Clock } from '../imports... |
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.2">
<compounddef id="d1/d0c/sqlite3gen_8h" kind="file">
<compoundname>sqlite3gen.h</compoundname>
<includedby refid="dc/d98/doxygen_8c... |
<html>
<body>
Reports instances of Groovy <b><font color="#000080">synchronized</font></b> statements where the lock expression
is a non- <b><font color="#000080">final</font></b> field. Such statements are unlikely to have useful semantics, as different
threads may be locking on different objects even when operating ... |
require 'test_helper'
class UsersControllerTest < ActionController::TestCase
context 'Users Controller' do
setup do
start_transaction
@admin = User.gen(:role => 'administrator')
@super = User.gen(:role => 'super')
raise "INVALID #{@admin.errors.inspect}" unless @admin.valid?
end
... |
package org.apache.cassandra.service;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Timeout... |
package sbt
package internal
import sbt.internal.util.Types.const
import java.io.File
/**
* Represents how settings from various sources are automatically merged into a Project's settings.
* This only configures per-project settings and not global or per-build settings.
*/
sealed abstract class AddSettings
object... |
%% Reversi Demo
% Initialize
game = Reversi;
game.showBoard
% Two robots play until the game is over
nGamesSide1 = 20;
nGamesSide2 = 20;
while ~game.isGameOver
botMoves(game,nGamesSide1);
if ~game.isGameOver
botMoves(game,nGamesSide2);
end
end
|
define([], function() {
var componentRegistry = {}
, $activeComponent = null
, bindComponent;
return {
/**
* Register a brand new component.
*
* @param {{name: string, activate: function, deactivate: function}} component
*/
registerComponent : function(component) {
compon... |

## Motivation
Why you may need yet another task manager app in 2016? There are thousands of apps and sites nowadays that allow to create tons of checklist, or stacks of cards, or something like that... But there are two serious problems with checklists and cards.
First, it's usually hard to man... |
from wo import WO
import logging
###uncomment for printing debug info
#logging.getLogger('requests').setLevel(logging.WARNING)
#logging.basicConfig(level=logging.DEBUG)
logging.captureWarnings(True)
#import urllib3
#urllib3.disable_warnings()
appid = "55d6b06b4d6b5d1d21449967"
appsec = "eac2b1a25ef936ce"
username =... |
require_relative "labamp/error.rb"
require_relative "labamp/function.rb"
require_relative "labamp/program.rb"
require_relative "labamp/struct.rb"
require_relative "labamp/type.rb"
require_relative "labamp/variable.rb"
require_relative "labamp/expression.rb"
require_relative "labamp/type_manager.rb"
require_relative "la... |
package com.github.thingsfalldown.template;
import org.andengine.engine.Engine;
import org.andengine.engine.camera.BoundCamera;
import org.andengine.entity.scene.Scene;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import android.app.Activity;
import com.github.thingsfalldown.manager.ResourceManager;
im... |
using content::HostZoomMap;
using content::UserMetricsAction;
using content::WebContents;
////////////////////////////////////////////////////////////////////////////////
// EncodingMenuModel
EncodingMenuModel::EncodingMenuModel(Browser* browser)
: ALLOW_THIS_IN_INITIALIZER_LIST(ui::SimpleMenuModel(this)),
... |
<?php declare(strict_types=1);
namespace Starlit\Utils;
class Url
{
/**
* @var string
*/
protected $url;
public function __construct(string $url)
{
$this->url = $url;
}
public function getPath(): ?string
{
$urlPath = parse_url($this->url, PHP_URL_PATH);
... |
package logger
import (
"context"
"testing"
)
func TestRecoverPanics(t *testing.T) {
ctx := context.Background()
err := InitErrorReporting(ctx, "hepp", "test", "v1.0")
if err != nil {
t.Fatal(err)
}
defer func() {
x := recover()
if x != nil {
t.Errorf("Didn't expect to recover here, but got %s", x)
... |
/* Generated By:JJTree: Do not edit this line. ASTPostfixExpression.java Version 6.0 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=*,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package uk.ac.open.crc.jim.parser.java15;
public
class ASTPostfix... |
<component name="InspectionProjectProfileManager">
<profile version="1.0" is_locked="false">
<option name="myName" value="Project Default" />
<option name="myLocal" value="false" />
<inspection_tool class="AndroidLintNestedWeights" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>... |
package org.daisy.pipeline.job.impl;
import org.daisy.common.priority.Priority;
import org.daisy.pipeline.clients.Client;
import org.daisy.pipeline.event.MessageStorage;
import org.daisy.pipeline.job.AbstractJob;
import org.daisy.pipeline.job.AbstractJobContext;
import org.daisy.pipeline.job.JobBatchId;
import org.dai... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
//*****************************************************************************
//
// timer_d.h - Driver for the TIMER_D Module.
//
//*****************************************************************************
#ifndef __MSP430WARE_TIMER_D_H__
#define __MSP430WARE_TIMER_D_H__
#include "inc/hw_memmap.h"
... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
The basic setup for a new javascript project.
|
static NSString *const kDTInformationCellIdentifier = @"DTInformationCell";
@interface DTInformationCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *infoImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (w... |
import BluebirdPromise from "bluebird-lst"
import { Arch, isEmptyOrSpaces, isEnvTrue, isTokenCharValid, log } from "builder-util"
import { configureRequestOptions, GithubOptions, HttpError, parseJson } from "builder-util-runtime"
import { Fields } from "builder-util/out/log"
import { httpExecutor } from "builder-util/o... |
using System.Collections.Generic;
using System.Linq;
using PokerLeagueManager.Common.DTO;
using PokerLeagueManager.Common.Queries;
using PokerLeagueManager.Queries.Core.Infrastructure;
namespace PokerLeagueManager.Queries.Core.QueryHandlers
{
public class GetPlayersQueryHandler : BaseQueryHandler, IHandlesQuery<G... |
namespace IndAngularStarter.Server.Ssr {
public class SsrResult {
public SsrResult(string html, string title, string styles, string meta, string links) {
Html = html;
Title = title;
Styles = styles;
Meta = meta;
Links = links;
}
public string Html { get; private s... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// 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 appl... |
module Eye::Process::Monitor
private
def check_alive_with_refresh_pid_if_needed
if process_realy_running?
return true
else
warn 'process not realy running'
try_update_pid_from_file
end
end
def try_update_pid_from_file
# if pid file was rewrited
newpid = load_pid_from_file... |
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using DG.Tweening;
using Random = UnityEngine.Random;
public class Nest : MonoBehaviour
{
public string TextId;
private GuiCanvas _guiCanvas;
private IEnumerator _cashInRoutine;
public Ga... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Helium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "ch... |
class Test {
protected int field = 42;
}
public class App {
public static void main(String[] args) {
Test test = new Test();
System.out.println("Test's field: " + test.field);
test.field = 0;
}
}
|
/*#error uncomment this for compiler test!*/
//#define ALOG_NDEBUG 0
#define ALOG_NIDEBUG 0
#define LOG_TAG "QualcommCamera"
#include <utils/Log.h>
#include <utils/threads.h>
#include <fcntl.h>
#include <sys/mman.h>
/* include QCamera Hardware Interface Header*/
#include "QualcommCamera.h"
#include "QualcommCameraH... |
package jorgedizpico.cluster;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.ObjectOutputStream;
import weka.clusterers.ClusterEvaluation;
import weka.clusterers.DensityBasedClusterer;
import weka.clusterers.EM;
import weka.clusterers.MakeDe... |
package foo.bar;
import foo.bar.foo.bar.domain.Observation;
import foo.bar.service.CvsMapper;
import foo.bar.service.ObservationSink;
import foo.bar.service.ObservationSource;
import java.util.Collection;
import java.util.LinkedList;
public class Application {
private final ObservationSource observationSource;
... |
/* *
*
* Solid angular gauge module
*
* (c) 2010-2020 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Color from '../parts/Color.js';
var color = Color.parse;
import H from '../parts/Globals.js'... |
<html ng-app="examplePage">
<head>
<title>
Practical Login Form Page</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
<style media="screen">
.pf-form-control {
position: relative;
}
.pf-required {
color: red;
}
... |
<!DOCTYPE html>
<!--[if IEMobile 7 ]> <html class="no-js iem7"> <![endif]-->
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="HandheldFriendly" content="T... |
public interface Info {
public void showInfo();
}
|
<?php defined('BASEPATH') or exit('No direct script access allowed');
/**
* Swedish translation.
*
* @author marcus@incore.se
* @package PyroCMS
* @link http://pyrocms.com
* @date 2012-10-22
* @version 1.1.0
*/
$lang['help_body'] = '<h4> Översikt </ h4>
<p>
Bloggmodulen är ett verktyg för att hantera ... |
package io.debezium.connector.oracle;
import static org.fest.assertions.Assertions.assertThat;
import java.sql.Types;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.validation.constraints.NotNull;
import org.junit.Before;
import org.junit.Test;
... |
*> \brief \b ZUNGTSQR_ROW
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZUNGTSQR_ROW + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_rout... |
geodash.directives["geodashSidebarToggleLeft"] = function(){
return {
restrict: 'EA',
replace: true,
scope: {
"selector": "@selector"
},
templateUrl: 'geodash_sidebar_toggle_left.tpl.html',
link: function ($scope, $element, attrs){
setTimeout(function(){
$('[data-toggle="t... |
<?php
foreach ($message as $key => $value) {
echo '<div class="col-xs-12 col-lg-12 hbox-xs">
<div class="hbox-column width-2">
<img class="img-circle img-responsive pull-left" src="<?php echo back_asset_url(); ?>/img/avatar9.jpg?1404026744" alt="" />
</div><!--end .hbox-column -->
<di... |
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('clientsites', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='clientsite',
name='name',
),
]
|
/* Rate limiting */
app.enable('trust proxy')
app.use('/rest/user/reset-password', new RateLimit({
windowMs: 3 * 60 * 1000,
max: 10,
keyGenerator ({ headers, ip }) { return headers['X-Forwarded-For'] || ip }
})) |
<?php
/**
* @package content
*/
/**
* Controller page for all Symphony Author related activity
* including making new Authors, editing Authors or deleting
* Authors from Symphony
*/
require_once TOOLKIT . '/class.administrationpage.php';
require_once TOOLKIT . '/class.sectionmanager.php';
require_once CONTENT .... |
layout: post
title: Cooking in Oaxaca
description: Our cooking class with Augustin
modified: 2015-04-10
tags: [Mexico]
author: Simon
comments: true
image:
feature: IMG_5103.jpg
---
After experiencing how good Oaxacan cuisine was to eat we decided we had to learn some more about the background to the complex flavours... |
import sys
import argparse
from workflow import Workflow, web, PasswordNotFound
def slack_keys():
wf = Workflow()
try:
slack_keys = wf.get_password('slack_api_key')
except PasswordNotFound:
wf.add_item(title='No API key set. Please run slt',
valid=False)
wf.send... |
package it.unitn.ing.rista.io;
import java.io.*;
/**
* The ExtensionFilter is a class
*
* @version $Revision: 1.3 $, $Date: 2004/08/12 09:36:09 $
* @author Luca Lutterotti
* @since JDK1.1
*/
public class ExtensionFilter implements FilenameFilter {
String filter;
public ExtensionFilter(String filtername... |
"use strict"; // JS strict mode
var ErrorListener = require("../antlr4-js-runtime/error/ErrorListener").ErrorListener;
/**
* The Syntax Error Listener prototype constructor
* Inherits from ErrorListener in the antlr4 JS runtime
*
* Only recognizing syntax errors is done by this listener
* Errors are added to... |
<?xml version="1.0"?>
<!DOCTYPE myks PUBLIC "-//YKS//MYKS">
<myks>
<table name="ks_users_profile_locale_projects" extend="ks_users_profile">
<fields>
<field type="user_id" key="primary"/>
<field type="project_id" key="primary"/>
</fields>
</table>
<table name="ks_users_profile_locale_languages... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="base_url" translatable="false">https://private-587c8-workhard.apiary-mock.com/
</string>
</resources> |
import requests
#Project Imports
import auth.storage
import auth.keys
class HTTPResponse():
def __init__( self ):
self.status = requests.codes.ok
self.data = ""
class Handler():
def __init__( self, app, request ):
self.response = HTTPResponse()
self.app = app
self.request = request
def CreateConfigDB... |
using System;
namespace EightPuzzle
{
/// <summary>
/// Interface IHeuristic
/// </summary>
interface IHeuristic
{
/// <summary>
/// Determines the heuristic of the a posteriori state
/// being a good solution.
/// </summary>
/// <param name="posterior">The ... |
exports.console = require('browser/console');
exports.document = require('browser/document');
exports.history = require('browser/history');
exports.location = require('browser/location');
exports.navigator = require('browser/navigator');
exports.screen = require('browser/screen');
exports.window = require('... |
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Text;
using ASC.Web.Core.Files;
using ASC.Web.Files.Services.WCFService;
using ASC.Web.Files.Utils;
using ASC.Web.Studio.Core;
namespace ASC.Files.Core
{
[Flags]
[DataContract(Namespace = "")]
publ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int_malloc_07.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-07.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routin... |
//
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
//
// Arjuna Technologies Ltd.,
// Newcastle upon Tyne,
// Tyne and Wear,
// UK.
//
package org.jboss.jbossts.qa.OTSServerClients;
/*
* Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
*
* HP Arjuna Labs,
* Newcastle upon Tyne,
* ... |
package com.amazonaws.services.chime.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.chime.model.*;
import com.amazonaws.transform.Marshaller;
import com.amazonaws.prot... |
@include('common.head', array('title', 'GradList - Frequently Asked Questions') )
<body>
@include('common.employeer_top_menu')
<div id="main_container">
<h1>Opportunities</h1>
<table class="table table-hover table-bordered table-striped">
<tr>
<th>Name</th>
<th>Work T... |
package com.intellij.codeInspection.magicConstant;
import com.intellij.analysis.AnalysisScope;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.ExternalAnnotationsManager;
import com.intellij.codeInsight.daemon.GroupNames;
import com.intellij.codeInspection.*;
import com.intellij.ide.uti... |
import { DayHeaderContentArg } from '../render-hook-misc'
export const CLASS_NAME = 'fc-col-header-cell' // do the cushion too? no
export function renderInner(hookProps: DayHeaderContentArg) {
return hookProps.text
}
|
package org.apache.sysml.runtime.instructions.mr;
import java.util.ArrayList;
import org.apache.sysml.lops.MapMultChain.ChainType;
import org.apache.sysml.runtime.DMLRuntimeException;
import org.apache.sysml.runtime.instructions.InstructionUtils;
import org.apache.sysml.runtime.matrix.data.MatrixBlock;
import org.a... |
<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* Description of CmsRegisterForm
*
* @author admin
*/
class UserProfileForm extends CFormModel {
//put your code here
public $first_name;
public $last_name;
public $register_email;
p... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>math-classes: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... |
using System;
using System.Configuration;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
namespace DotMaysWind.SSDMonitor
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
... |
using System.Linq;
using NUnit.Framework;
using Umbraco.Core.Models.Membership;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.Caching;
using Umbraco.Core.Persistence.Querying;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Persistence.UnitOfWork;
using Umbraco.Tests.TestHelpers;
using... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Controller</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (locati... |
select
org,
repo,
sum(activity) as activity,
sum(comments) as comments,
sum(prs) as prs,
sum(commits) as commits,
sum(issues) as issues,
EXACT_COUNT_DISTINCT(author_email) as authors_alt2,
GROUP_CONCAT(STRING(author_name)) AS authors_alt1,
GROUP_CONCAT(STRING(author_email)) AS authors
from (
SELECT
... |
using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SearchWindows
{
public class Search
{
public string[] DoSearch(string[] phrases)
{
string folder = string... |
ACCEPTED
#### According to
Paleobiology Database
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>TechMusic</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.css">
<link rel="stylesheet" type="te... |
class CreatePayments < ActiveRecord::Migration
def change
create_table :payments do |t|
t.timestamps
end
end
end
|
'use strict';
module.exports = {
db: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/acceso',
assets: {
lib: {
css: [
'public/lib/bootstrap/dist/css/bootstrap.min.css',
'public/lib/bootstrap/dist/css/bootstrap-theme.min.css'... |
@interface WorksPhotoHeaderView : UIView
@property (weak, nonatomic) IBOutlet UIImageView *headerImageView;
@property (weak, nonatomic) IBOutlet UIImageView *worksPhotoImageView;
@property (weak, nonatomic) IBOutlet UILabel *userNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *datelabel;
@property (weak, nonat... |
namespace cursespp {
namespace win32 {
void InterceptWndProc();
void ShowMainWindow();
void HideMainWindow();
void Minimize();
HWND GetMainWindow();
void SetIcon(int resourceId);
void SetAppTitle(const std::string& title);
void SetMinimizeToTray(bool e... |
This sample shows how to use a CLI tool installed as a system package as part of a web service.
Use it with the [Using system packages tutorial](https://cloud.google.com/run/docs/tutorials/system-packages).
For more details on how to work with this sample read the [Google Cloud Run Java Samples README](https://github... |
#include "StdAfx.h"
#include "PlayerManager.h"
#include "config/Config.h"
#include "netclientmanager.h"
#include "AccountMessage.h"
#include "GMRankManager.h"
#include "Accountinfo.txt.pb.h"
template<>PlayerManager* Sington<PlayerManager>::m_sington = NULL;
Player* PlayerManager::findPlayerByKey(uint32 playerid)
{... |
export { default } from 'ember-fhir/serializers/linkage'; |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_char_declare_memcpy_15.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml
Template File: sources-sink-15.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Point d... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmat... |
package com.ycsoft.business.dao.core.valuable;
import org.springframework.stereotype.Component;
import com.ycsoft.beans.core.valuable.CValuableCardFee;
import com.ycsoft.daos.abstracts.BaseEntityDao;
/**
* CValuableCardFeeDao -> C_Valuable_Card_Fee table's operator
*/
@Component
public class CValuableCa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.devcenter.models;
import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.devcenter.fluent.models.GalleryIn... |
export class SkillLevel {
public static Hobbyist = "hobbyist";
public static Beginner = "beginner";
public static Intermediate = "intermediate";
public static Expert = "expert";
public static Master = "master";
}
export class Skill {
level: string;
name: string;
yearLastUsed: number | n... |
H1Z1-style version of Battle Royale. This is still in early alpha so expect alot of bugs.
## Installation
* Drag this folder into ```garrysmod/gamemodes```.
* Edit ```garrysmod/gamemodes/gmod-battle-royale/gamemode/sh_config.lua```.
## Contributing
See [CONTRIBUTING](CONTRIBUTING.md).
## License
See [LICENSE](LICE... |
/**
*
*/
package info.bunji.jdbc.specifics;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.sql.Date;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import org.junit.Test;
/**
* @author f.kinoshita
*
*/
public c... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License,... |
Ccoin-Qt: Qt4 GUI for Bitcoin
===============================
Build instructions
===================
Debian
-------
First, make sure that the required packages for Qt4 development of your
distribution are installed, these are
::
for Debian and Ubuntu <= 11.10 :
::
apt-get install qt4-qmake libqt4-dev build-... |
FROM balenalib/edge-alpine:3.13-run
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apk add --no-cache ca-certificates... |
import difference from "lodash-es/difference";
import each from "lodash-es/each";
import flatten from "lodash-es/flatten";
import flow from "lodash-es/flow";
import intersection from "lodash-es/intersection";
import isEqual from "lodash-es/isEqual";
import isNumber from "lodash-es/isNumber";
import keys from "lodash-es... |
/*
http://www.cgsoso.com/forum-211-1.html
CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
CGSOSO 主打游戏开发,影视设计等CG资源素材。
插件如若商用,请务必官网购买!
daily assets update for try.
U should buy the asset from home store if u use it in your project!
*/
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
names... |
package org.spongepowered.lantern.network.pipeline;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageCodec;
import org.spongepowered.lantern.SpongeImpl;
import java.nio.ByteBuffer;
import java.security.General... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/lay_root"
android:layout_width="match_parent"... |
<?php
namespace Circle314\Component\Authentication\LDAP;
use Circle314\Component\Authentication\AuthenticationHandlerInterface;
/**
* Interface LDAPAuthenticationHandlerInterface
* @package Circle314\Component\Authentication\LDAP
* @deprecated 0.7
*/
interface LDAPAuthenticationHandlerInterface extends Authentic... |
Basics of C++
1. base - basic operations and class creation.
2. base2 - shifts,datastructures.
3. base3 - vectors,callbacks,function wrappers ,auto usage.
4. base4 - booleans, file operations, typedef usage.
5. inheritance1 - basic inheritance.
6. inheritance2 - interface implementation with virtual methods.
7. milEst... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.file.remote;
import java.net.URISyntaxException;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.camel.spi.EndpointUriFactory... |
<?php
namespace Crisu83\PhpExpression\Exception;
/**
* Exception thrown when an error occurs at runtime.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
*/
class Syntax extends \Exception
{
} |