code
stringlengths
4
1.01M
language
stringclasses
2 values
// // AppDelegate.h // DemoApp // // Created by Stephen Anderson on 8/27/13. // Copyright (c) 2013 Product & Technology. All rights reserved. // #import <UIKit/UIKit.h> @class ViewController; @class AdObserver; @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *...
Java
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Nov 22 2016 05:57:16). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // @protocol DVTFileSystemRepresentationProviding - (void)dvt_provideFileSystemRepresentationToBlock:(void (^)(char *, unsigned long long)...
Java
#flash-messages {position: absolute;} #flash-messages .success ul, .notice ul, .error ul { list-style: none; margin: 0; padding: 0; } #flash-messages .success ul li, .notice ul li, .error ul li { float: none; display: block; } #flash-messages .success ul, .notice ul, .error ul { list-style: none; margin: 0; padding: ...
Java
# dpconverge
Java
import {InputWidget, InputWidgetView} from "./input_widget" import {input} from "core/dom" import * as p from "core/properties" import {bk_input} from "styles/widgets/inputs" export class TextInputView extends InputWidgetView { model: TextInput protected input_el: HTMLInputElement connect_signals(): void { ...
Java
# # https://github.com/andreyk0/haskell-on-arm # # User: debian # Passwd: /dev/null # FROM scratch ADD jessie.tgz / ADD qemu-arm-static /usr/bin/qemu-arm-static CMD ["/bin/bash"]
Java
#!/usr/bin/python # Copyright (c) 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ A chain with four possible intermediates with different notBefore and notAfter dates, for testing path bulding prioritization. """ ...
Java
<?php include_once "../../includes/easyparliament/init.php"; if (($date = get_http_var('d')) && preg_match('#^\d\d\d\d-\d\d-\d\d$#', $date)) { $this_page = 'hansard_date'; $PAGE->set_hansard_headings(array('date'=>$date)); $URL = new URL($this_page); $db = new ParlDB; $q = $db->query("SELECT MIN(hdate) AS hdate ...
Java
/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/dawn/GrDawnBuffer.h" #include "src/gpu/dawn/GrDawnStagingBuffer.h" #include "src/gpu/dawn/GrDawnGpu.h" namespace { wgpu::BufferUsage GrGpuBufferTypeToD...
Java
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
Java
# Try to find hwloc libraries and headers. # # Usage of this module: # # find_package(hwloc) # # Variables defined by this module: # # HWLOC_FOUND System has hwloc libraries and headers # HWLOC_LIBRARIES The hwloc library # HWLOC_INCLUDE_DIRS The location of HWLOC headers find_path( H...
Java
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
Java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/url_request/url_fetcher_core.h" #include <stdint.h> #include "base/bind.h" #include "base/logging.h" #include "base/metrics/histogram....
Java
<?php class SortWeightRegistry { public static $override_default_sort = true; public static $relations = array(); public static $default_sorts = array(); // original default_sort public static $add_weight_columns = array(); public static $direction = 'ASC'; // ASC || DESC public static $module_pat...
Java
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_MOJOM_RRECT_F_MOJOM_TRAITS_H_ #define UI_GFX_MOJOM_RRECT_F_MOJOM_TRAITS_H_ #include "ui/gfx/geometry/mojom/geometry_mojom_traits.h" #inclu...
Java
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/password_manager/core/browser/sql_table_builder.h" #include <algorithm> #include <set> #include <utility> #include "base/numerics/s...
Java
# Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> # # Licensed under BSD3. See the LICENSE.txt file in the root of this distribution. from simulation.aivika.modeler.model import * from simulation.aivika.modeler.port import * from simulation.aivika.modeler.stream import * from simulation.aivika.modeler.data_...
Java
# apis_v1/documentation_source/voter_star_on_save_doc.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- def voter_star_on_save_doc_template_values(url_root): """ Show documentation about voterStarOnSave """ required_query_parameter_list = [ { 'name': 'api_key...
Java
define(['../Property', '../Model', 'dojo/_base/declare', 'json-schema/lib/validate'], function (Property, Model, declare, jsonSchemaValidator) { // module: // dstore/extensions/JsonSchema // summary: // This module generates a dstore schema from a JSON Schema to enabled validation of objects // and property c...
Java
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace SqliteExpressionsTest.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // i...
Java
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD Lic...
Java
#include "stdafx.h" #include "CGGuildApply.h" BOOL CGGuildApply::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_GuildNameSize), sizeof(BYTE) ); if(m_GuildNameSize<MAX_GUILD_NAME_SIZE) { iStream.Read( (CHAR*)(m_GuildName), m_GuildNameSize ); } iStream.Read(...
Java
<?php namespace Laravella\Ravel\Facades; Class Facade { protected static $resolvedInstance; /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { throw new \RuntimeException("Facade does not implement getFacadeAccessor method."); } /*...
Java
import numpy as np from nose.tools import (assert_true, assert_false, assert_equal, assert_almost_equal) from numpy.testing import (assert_array_equal, assert_array_almost_equal, assert_) from dipy.sims.voxel import (_check_directions, SingleTensor, MultiTensor, ...
Java
import Ember from 'ember'; import ajax from 'ic-ajax'; import config from '../config/environment'; import SlydApi from '../utils/slyd-api'; import Timer from '../utils/timer'; import ApplicationUtils from '../mixins/application-utils'; var UUID = Ember.Object.extend(ApplicationUtils, {}); export function initialize(c...
Java
# License: BSD 3 clause <https://opensource.org/licenses/BSD-3-Clause> # Copyright (c) 2016, Fabricio Vargas Matos <fabriciovargasmatos@gmail.com> # All rights reserved. '''' Tune the 3 most promissing algorithms and compare them ''' # Load libraries import os import time import pandas import numpy import matplotlib....
Java
/* $KAME: fsm.h,v 1.2 2005/05/25 01:49:24 keiichi Exp $ */ /* * Copyright (C) 2004 WIDE Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must re...
Java
import numpy as np from scipy.linalg import norm from .base import AppearanceLucasKanade class SimultaneousForwardAdditive(AppearanceLucasKanade): @property def algorithm(self): return 'Simultaneous-FA' def _fit(self, lk_fitting, max_iters=20, project=True): # Initial error > eps ...
Java
package org.cagrid.gme.common.exceptions; import java.io.IOException; @SuppressWarnings("serial") public class SchemaParsingException extends IOException { public SchemaParsingException() { super(); } public SchemaParsingException(String s) { super(s); } }
Java
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_EVENTS_ANDROID_EVENT_HANDLER_ANDROID_H_ #define UI_EVENTS_ANDROID_EVENT_HANDLER_ANDROID_H_ #include "ui/events/events_export.h" namespace ui ...
Java
/*========================================================================= Program: Visualization Toolkit Module: vtkDynamic2DLabelMapper.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This sof...
Java
require 'erb' describe "ERB.new" do before :all do @eruby_str = <<'END' <ul> <% list = [1,2,3] %> <% for item in list %> <% if item %> <li><%= item %></li> <% end %> <% end %> </ul> END @eruby_str2 = <<'END' <ul> % list = [1,2,3] %for item in list % if item <li><%= item %> <% end %> <% end %> </ul> %%%...
Java
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
Java
/*************************************************************************** * Copyright (C) 2008 by Ralf Kaestner * * ralf.kaestner@gmail.com * * * * This pr...
Java
/* Copyright (c) 2009, University of Oslo, Norway * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, thi...
Java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Definition of ModelTypePayloadMap and various utility functions. #ifndef SYNC_INTERNAL_PUBLIC_API_BASE_MODEL_TYPE_PAYLOAD_MAP_H_ #define SYNC_IN...
Java
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Provides fakes for several of Telemetry's internal objects. These allow code like story_runner and Benchmark to be run and tested without compiling or st...
Java
/* Copyright (c) 2015-2020 The Khronos Group Inc. * Copyright (c) 2015-2020 Valve Corporation * Copyright (c) 2015-2020 LunarG, Inc. * Copyright (C) 2015-2020 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
Java
FILE(REMOVE_RECURSE "CMakeFiles/dynamic_object_test.dir/unittests/dynamic_object_test.cpp.o" "dynamic_object_test.pdb" "dynamic_object_test" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/dynamic_object_test.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
Java
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
Java
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * - Redistributions of ...
Java
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst """ Quality Control based on fuzzy logic. """ import logging import numpy as np from .core import QCCheckVar from .gradient import gradient from .spike import spike from .woa_normbias import woa_normbias from cotede.fuzzy im...
Java
# Spree PayPal Express This is a "re-do" of the official [spree_paypal_express][4] extension. The old extension is extremely hard to maintain and complex. Behind-the-scenes, this extension uses [PayPal's Merchant Ruby SDK](https://github.com/paypal/merchant-sdk-ruby). ## Installation 1. Add this extension to your G...
Java
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.ui.widget; import android.content.Context; import android.util.AttributeSet; import android.util.SparseArray; import android.view.Vi...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:44:17 AEDT 2015 --> <title>org.bouncycastle.math.raw (Bouncy Castle Library 1.54 API Specification)</title> <meta ...
Java
from setuptools import setup, find_packages setup(name='gelato.models', version='0.1.2', description='Gelato models', namespace_packages=['gelato'], long_description='', author='', author_email='', license='', url='', include_package_data=True, packages=find...
Java
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, TypeFamilies #-} module Rubik.Turn where import Data.Array import Rubik.Negate as N import Rubik.Key data Turn = NoTurn | Clock | OneEighty | CounterClock deriving (Eq,Ord,Show,Enum,Ix) instance Negate Turn where negate NoTurn = NoTurn n...
Java
/* -*- mode: c++; fill-column: 132; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "irods_auth_object.hpp" namespace irods { auth_object::auth_object( rError_t* _r_error ) : r_error_( _r_error ) { // TODO - stub } auth_object::~auth_object() { // TODO - stub } ...
Java
package operation import ( "fmt" "os" "github.com/runabove/sail/internal" "github.com/spf13/cobra" ) var cmdOperationAttach = &cobra.Command{ Use: "attach", Short: "Attach to an ongoing operation output: sail operation attach [applicationName] <operationId>", Long: `Attach to an ongoing operation output: sa...
Java
/*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2016 Google Inc. * Copyright (c) 2016 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
Java
/* * Copyright (c) 2016, Groupon, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditio...
Java
import sys import warnings try: import itertools.izip as zip except ImportError: pass from itertools import product import numpy as np from .. import util from ..dimension import dimension_name from ..element import Element from ..ndmapping import NdMapping, item_check, sorted_context from .interface import...
Java
/* * Copyright (c) Contributors, http://openviewer.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code mus...
Java
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD Lic...
Java
<?php namespace Jazzee\Element; /** * Phonenumber Element * * @author Jon Johnson <jon.johnson@ucsf.edu> * @license http://jazzee.org/license BSD-3-Clause */ class Phonenumber extends TextInput { const PAGEBUILDER_SCRIPT = 'resource/scripts/element_types/JazzeeElementPhonenumber.js'; public function addT...
Java
# for for i in 1..10 do puts i end
Java
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media/webrtc/permission_bubble_media_access_handler.h" #include <memory> #include <utility> #include "base/bind.h" #include "ba...
Java
# Copyright (c) 2006-2009 The Trustees of Indiana University. # All rights reserved. # # Redistribution and use in source and binary forms, with or without ...
Java
/* * Copyright (c) 2012, United States Government, as represented by the Secretary of Health and Human Services. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of so...
Java
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @author Stan Tomov @author Hartwig Anzt @precisions normal z -> s d c */ #include "magmasparse_internal.h" #define P...
Java
import * as fs from "fs" import * as path from "path" import * as ts from "typescript" const coffee = require("coffeescript") const less = require("less") import {argv} from "yargs" import {collect_deps} from "./dependencies" const mkCoffeescriptError = (error: any, file?: string) => { const message = error.message...
Java
# -*- coding: utf-8 -*- # # Copyright (c) 2015, Alcatel-Lucent Inc, 2017 Nokia # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyrigh...
Java
package glasskey.spray.model import glasskey.config.OAuthConfig import spray.http.HttpHeader trait OAuthAction { import akka.actor.ActorSystem import spray.client.pipelining._ import spray.http.HttpHeaders.RawHeader import spray.http.HttpRequest import spray.http.parser.HttpParser import spra...
Java
from mock import patch from nose.tools import eq_ from helper import TestCase import appvalidator.submain as submain class TestSubmainPackage(TestCase): @patch("appvalidator.submain.test_inner_package", lambda x, z: "success") def test_package_pass(self): "Tests the test_package function ...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="scaffolded-by" content="https://github.com/google/stagehand"> <title>futures_api</title> <link rel="style...
Java
Directory for interactive development of c2po plots. Install deps via: bundle install then run bundle exec guard execute some of the code in `scratch.rb` and view your plots at `http://localhost:3000/`.
Java
package com.mistraltech.smogen.codegenerator.javabuilder; public class InterfaceMethodBuilder extends MethodSignatureBuilder<InterfaceMethodBuilder> { private InterfaceMethodBuilder() { } public static InterfaceMethodBuilder anInterfaceMethod() { return new InterfaceMethodBuilder(); } @Ov...
Java
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_CLOUD_DEVICES_COMMON_PRINTER_DESCRIPTION_H_ #define COMPONENTS_CLOUD_DEVICES_COMMON_PRINTER_DESCRIPTION_H_ #include <stdint.h> #inclu...
Java
class ProductTag < ActiveRecord::Base has_attached_file :icon, :url => "/assets/product_tags/:id/:basename.:extension", :path => ":rails_root/public/assets/product_tags/:id/:basename.:extension" validates :name, :presence => true, :uniqueness => true has_many :products ...
Java
"use strict" function checkEnvironmentForConfig(config:Object) : Object { let mentionBotEnvConfig; try { mentionBotEnvConfig = JSON.parse(process.env.MENTION_BOT_CONFIG); } catch(e) { mentionBotEnvConfig = {}; } return Object.keys(config).reduce((previousValue, key) => { let defaultConfigValue ...
Java
// Copyright 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/resources/content_layer_updater.h" #include "base/debug/trace_event.h" #include "base/time.h" #include "cc/debug/rendering_stats_instrumenta...
Java
# Copyright (C) 2010 CENATIC: Centro Nacional de Referencia de # Aplicacion de las TIC basadas en Fuentes Abiertas, Spain. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # Redistributions of source code must reta...
Java
# -*- coding: utf-8 -*- ''' Production Configurations - Use djangosecure - Use mailgun to send emails - Use redis ''' from __future__ import absolute_import, unicode_literals from django.utils import six from .common import * # noqa # SECRET CONFIGURATION # ---------------------------------------------------------...
Java
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.sync; import android.test.FlakyTest; import android.test.suitebuilder.annotation.LargeTest; import android.util.Pair;...
Java
/* * Copyright 2016 Facebook, Inc. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law...
Java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/password_manager/password_store_mac.h" #include "base/basictypes.h" #include "base/files/scoped_temp_dir.h" #include "base/s...
Java
Markdown to presentation ======================== A simple tool for creating presentations from markdown files. License ======= md2p is licensed under BSD3 license. This refers to `src/Main.hs` and `output/js/present.js` files. **Note:** any other content is not a part of md2p and is not licensed by it. Example -...
Java
/* -- MAGMA (version 1.5.0-beta3) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date July 2014 @generated from magma_z_init.cpp normal z -> s, Fri Jul 18 17:34:30 2014 @author Hartwig Anzt */ #include <fstream> #include <stdlib....
Java
//To Test:http://localhost:8080/nbia-auth/services/v3/getProtectionGrpList?format=html package gov.nih.nci.nbia.restAPI; import gov.nih.nci.nbia.dao.TrialDataProvenanceDAO; import gov.nih.nci.nbia.util.SpringApplicationContext; import gov.nih.nci.security.SecurityServiceProvider; import gov.nih.nci.security.UserProvi...
Java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_CLIPBOARD_MESSAGE_FILTER_H_ #define CONTENT_BROWSER_RENDERER_HOST_CLIPBOARD_MESSAGE_FILTER_H_ #include <string>...
Java
# Copyright (c) 2013 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and th...
Java
/* * Copyright (c) 2013-2013, KNOPFLERFISH project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this ...
Java
//------------------------------------------------------------------------------ // GB_Descriptor_get: get the status of a descriptor //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved. // http://suitesparse.co...
Java
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkObjectWrap.h" #include "vtkAbstractContextItemWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkContext2DWrap.h" #include "vtkContextScene...
Java
<!DOCTYPE html> <html> <head> <title>PKIjs Mocha Test - OCSP Request Complex Example</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://cdn.rawgit.com/mochajs/mocha...
Java
package org.chasen.mecab.wrapper; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import org.junit.Test; pub...
Java
<html> <body> <p>Registration was requested {{ email }}. Open the link below to confirm e-mail address and continue registration.</p> <a href="{{ url }}">{{ url }}</a> </body> </html>
Java
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <iostream> #include <string> #include "parser.h" #include "CLI/wrapper.h" #include "Libraries/linenoise.h" #include "CLI/interface.h" #define HIST_FILENAME ".polyBobHistory" int main(int argc, char **argv) { char* line; unsigned...
Java
<!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/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
Java
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkCollectionWrap.h" #include "vtkRenderWindowCollectionWrap.h" #include "vtkObjectBaseWrap.h" #include "vtkRenderWindowWrap.h" #include "../.....
Java
# Copyright (C) 2011 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
Java
# -*- coding: utf-8 -*- import access import util @auth.requires_login() def index(): """Produces a list of the feedback obtained for a given venue, or for all venues.""" venue_id = request.args(0) if venue_id == 'all': q = (db.submission.user == get_user_email()) else: q = ((db.su...
Java
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\models\search\UserSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Users'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="user-index"> <h1><?= Html::encode($this...
Java
//------------------------------------------------------------------------------ // GB_AxB: hard-coded C=A*B and C<M>=A*B //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2018, All Rights Reserved. // http://suitesparse.com See ...
Java
from __future__ import print_function import shutil import os, sys import time import logging from .loaders import PythonLoader, YAMLLoader from .bundle import get_all_bundle_files from .exceptions import BuildError from .updater import TimestampUpdater from .merge import MemoryHunk from .version import get_manifest f...
Java
/* Copyright (c) 2016, Alexander Entinger / LXRobotics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * ...
Java
{-# LANGUAGE FlexibleInstances #-} -- ghc options {-# OPTIONS_GHC -Wall #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-} -- {-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-orphans #-} -- {-# OPTIONS_GHC -fno-warn-missing-signatures #-} -- {-# OPTIONS_GHC -fno-warn-unused-do-bind #-} -- {...
Java
/* xxHash - Extremely Fast Hash algorithm Header File Copyright (C) 2012-2016, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
Java
/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
Java
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # 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 o...
Java