text stringlengths 3 1.05M |
|---|
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using Nucleo.Web.ClientRegistration;
namespace Nucleo.Web.AccordionControls
{
public class AccordionExtender : BaseAjaxExtender
{
#region " Event Handlers "
public event CommandEventHandler ItemCommand;
#endregion
#region " Propertie... |
"""Control the raspberry pi hardware.
The hardware controller handles all interaction with the raspberry pi
hardware to turn the lights on and off.
Third party dependencies:
wiringpi2: python wrapper around wiring pi
https://github.com/WiringPi/WiringPi2-Python
"""
import argparse
import logging
import math
imp... |
@import url(https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css);
html, body {
height: 100%;
width: 100%;
max-width: 500px;
padding: 0;
margin: 0 auto;
font-family: Spoqa Han Sans, Sans-serif;
}
a {
color: black;
text-decoration: underline;
font-weight: 700;
}
p.light {
font-weight: 25... |
public class UsingPrintStream {
public static void main(String[] args){
double d=5/0.3;
System.out.println(d);
System.out.printf("%.3f", d);
}
}
|
// Copyright 2021 The Oppia 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 ap... |
package org.slf4j.impl;
import ch.qos.logback.classic.ClassicTestConstants;
import ch.qos.logback.classic.util.ContextInitializer;
import ch.qos.logback.core.status.NopStatusListener;
import ch.qos.logback.core.testUtil.RandomUtil;
import ch.qos.logback.core.util.TeeOutputStream;
import org.junit.After;
import org.ju... |
package com.orbekk.same;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import static org.mockito.Mockito.verify;
import java.util.List;
import org.code... |
#ifndef NDN_DATA_H
#define NDN_DATA_H
#include <ndn-cpp/c/data-types.h>
#include "name.h"
#include "publisher-public-key-digest.h"
#include "key.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* An ndn_Signature struct holds the signature bits and other info representing the signature in a data packet.
*/
struct n... |
package org.activiti.engine.impl.event.logger.handler;
import java.util.HashMap;
import java.util.Map;
import org.activiti.engine.delegate.event.ActivitiEntityWithVariablesEvent;
import org.activiti.engine.impl.interceptor.CommandContext;
import org.activiti.engine.impl.persistence.entity.EventLogEntryEntity;
import ... |
package ca.ualberta.CMPUT301W15T06;
import android.location.Location;
/**
* This is a subclass of Destination. It will check if the Destination is edible.
*
* @author CMPUT301W15T06
* @version 04/07/2015
* @see android.location.Location
*/
public class UnmodifiableDestination extends Destination {
/**
*... |
<component name="libraryTable">
<library name="support-v4-22.1.1">
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.1.1/jars/libs/internal_impl-22.1.1.jar!/" />
<root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.andro... |
package VMOMI::HostDhcpServiceConfig;
use parent 'VMOMI::DynamicData';
use strict;
use warnings;
our @class_ancestors = (
'DynamicData',
);
our @class_members = (
['changeOperation', undef, 0, 1],
['key', undef, 0, ],
['spec', 'HostDhcpServiceSpec', 0, ],
);
sub get_class_ancestors {
return @c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using log4net;
namespace MXitConnectionModule
{
using System.Configuration;
public static class ConnectionConfig
{
private static readonly ILog logger = LogManager.GetLogger(typeof(Connect... |
require 'mrg/grid/config-patches'
module Mrg
module Grid
module Config
module Shell
class Upgrade_db < ::Mrg::Grid::Config::Shell::Command
# opname returns the operation name; for "wallaby foo", it
# would return "foo".
def self.opname
"upgrade-db"
... |
package genomics // import "google.golang.org/genproto/googleapis/genomics/v1"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import longrunning "google.golang.or... |
/*
* DataSample.h
*
* Author: Samuel Schulter, Paul Wohlhart, Christian Leistner, Amir Saffari, Peter M. Roth, Horst Bischof
* Institution: Graz, University of Technology, Austria
*
*/
#ifndef LABELLEDSAMPLE_H_
#define LABELLEDSAMPLE_H_
#include <fstream>
//namespace
//{
template<typename Sample, typename La... |
using System;
using System.Runtime.InteropServices;
namespace SharpVk.Khronos
{
/// <summary>
///
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public partial struct PhysicalDeviceSurfaceInfo2
{
/// <summary>
///
/// </summary>
public SharpVk.Khronos.Sur... |
namespace blink {
namespace iterator {
template<class Iterator>
struct reference_iterator :
public boost::iterator_facade<reference_iterator<Iterator>
, typename Iterator::value_type
, boost::bidirectional_traversal_tag
, typename Iterator::reference
, typename Iterator::differen... |
This is a simple plugin for jQuery to dump any object as a nested tree,
returned as a string.
Usage
-----
Once the plugin is loaded, any jQuery object can be dumped by using the
`$( object ).dump()` method. The method is also available as
`$.dump( object )`. In both cases this will return a string with the dump. |
FROM octohost/nodejs
ADD . /srv/www
WORKDIR /srv/www
RUN npm install
EXPOSE 8000
CMD node index.js |
package com.miraclewong.mvpdemo.presenter;
/**
* Created by miraclewong on 16/4/2.
*/
public interface Presenter<V> {
void attachView(V view);
void detachView();
}
|
from thrift.python.client.request_channel import ( # noqa: F401
ClientType, # noqa: F401
RequestChannel, # noqa: F401
)
from thrift.python.client.ssl import SSLContext, SSLVerifyOption # noqa: F401
from thrift.python.serializer import Protocol # noqa: F401
|
package org.gavaghan.network.listener.http;
import org.gavaghan.network.listener.tcp.TCPListener;
/**
* ServerListener implementation that accepts HTTP requests.
*
* TODO need SSL support
*
* @author <a href="mailto:mike@gavaghan.org">Mike Gavaghan</a>
*/
public class HTTPListener extends TCPListener
{
/**
... |
import EntityInfo from '../../lib/EntityInfo';
import EntityConfig from '../../lib/EntityConfig';
import Contact from './Contact';
import ContactMapper from './ContactMapper';
import PersonMapper from './PersonMapper';
import personInfoFactory from './personInfoFactory';
class ContactInfoFactory {
public getContac... |
template <typename F>
struct Function : public Function<decltype(&F::operator())>
{};
template <typename Type, typename Return, typename... Args>
struct Function<Return(Type::*)(Args...) const>
{
typedef Return(*pointer)(Args...);
typedef std::function<Return(Args...)> function;
};
template <typename F>
typename Fu... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using NETGeographicLib;
namespace Projections
{
public partial class MiscPanel : UserControl
{
public MiscPanel()
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ra... |
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
#import "RCTLog.h"
#import "RCTRootView.h"
#define TIMEOUT_SECONDS 240
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
@interface douAppTests : XCTestCase
@end
@implementation douAppTests
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *vi... |
using Google.GData.Client;
using NUnit.Framework;
using Google.GData.Client.UnitTests;
using System;
using System.Xml;
using System.IO;
using System.Collections.Specialized;
namespace Google.GData.Client.UnitTests.Core
{
/// <summary>
///This is a test class for AtomFeed... |
package bookshop2.supplier.client.shipBooks;
import org.aries.bean.Proxy;
import org.aries.tx.service.jms.JMSProxy;
import org.aries.util.ExceptionUtil;
import bookshop2.ShipmentRequestMessage;
public class ShipBooksProxyForJMS extends JMSProxy implements Proxy<ShipBooks> {
private static final String DESTINATION... |
/**
@file SignalHandler.h
@author Lime Microsystems (www.limemicro.com)
@brief Class for handling message passing between modules
*/
#ifndef LMS_SIGNAL_HANDLER
#define LMS_SIGNAL_HANDLER
#include <vector>
#include <string>
class SignalHandler;
/// Available message types
enum LMS_MessageType
{
MSG_UNDEFINED,
... |
'use strict';
angular.module('angularjsAppApp')
.controller('SignupCtrl', function ($scope, Auth, $location, $window) {
$scope.user = {};
$scope.errors = {};
$scope.register = function(form) {
$scope.submitted = true;
if(form.$valid) {
Auth.createUser({
name: $scope.user.n... |
module Booker
module V4
module Models
class Model < Booker::Model
extend ::Booker::Concerns::DateTimeConcern
CONSTANTIZE_MODULE = Booker::V4::Models
end
end
end
end
|
@interface MPAbstractABTestDesignerMessage : NSObject <MPABTestDesignerMessage>
@property (nonatomic, copy, readonly) NSString *type;
+ (instancetype)messageWithType:(NSString *)type payload:(NSDictionary *)payload;
- (instancetype)initWithType:(NSString *)type;
- (instancetype)initWithType:(NSString *)type payload:... |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.test.internal.metadata.provider;
import java.lang.reflect.Constructor... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Ess. Agrostogr. 15, 152, 157. 1812
#### Original name
Arundo canadensis Michx.
### Remarks
null |
/*
* File: IntSLList.h
* Author: zhangwei
*
* Created on September 22, 2016, 9:52 AM
*/
#ifndef INTSLLIST_H
#define INTSLLIST_H
class IntSLLNode {
public:
IntSLLNode() {
next = 0;
}
IntSLLNode(int el, IntSLLNode *ptr = 0) {
info = el;
next = ptr;
}
int info;
Int... |
package org.apache.kafka.clients;
import org.apache.kafka.common.requests.AbstractResponse;
import org.apache.kafka.common.requests.RequestHeader;
/**
* A response from the server. Contains both the body of the response as well as the correlated request
* metadata that was originally sent.
*/
public class ClientR... |
using Nop.Core.Configuration;
namespace Nop.Core.Domain.Media
{
public class MediaSettings : ISettings
{
public int AvatarPictureSize { get; set; }
public int ProductThumbPictureSize { get; set; }
public int ProductDetailsPictureSize { get; set; }
public int ProductThumbPictur... |
package org.mustangproject.ZUGFeRD;
import java.math.BigDecimal;
public class IZUGFeRDExportableProductImpl implements IZUGFeRDExportableProduct {
private String unit;
private String name;
private String description;
private BigDecimal vatPercent;
@Override
public String getUnit() {
return unit;
}
@Overr... |
package com.amazonaws.services.kinesis.model.transform;
import static com.amazonaws.util.StringUtils.UTF8;
import static com.amazonaws.util.StringUtils.COMMA_SEPARATOR;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import ja... |
var AddedTechnologiesValidator = (function () {
'use strict';
/* These methods validate or invalidate the technologies in the slect boxes
* based on the fact if the buffers are still available.
*/
function checkSelectBoxes(buffer, possibleOptions) {
var isDisabled = $(this).parents(".endp... |
import logging
import numpy as np
import torch
from sklearn.neighbors import KNeighborsClassifier
from scvi import _CONSTANTS
from scvi.core import unsupervised_clustering_accuracy
from .scvi_data_loader import ScviDataLoader
logger = logging.getLogger(__name__)
class AnnotationDataLoader(ScviDataLoader):
def... |
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pyladies.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
|
set -eux
# this file should be included in write_files section for the node
#source /usr/local/share/openshift-on-openstack/common_functions.sh
# on Atomic host os-collect-config runs inside a container which is
# fetched&started in another step
[ -e /run/ostree-booted ] && exit 0
# os-apply-config templates directo... |
import numpy as np
from .VariableUnitTest import VariableUnitTest
from gwlfe.Input.LandUse.Ag import TileDrainRO
class TestTileDrainRO(VariableUnitTest):
# @skip("not ready")
def test_TileDrainRO(self):
z = self.z
np.testing.assert_array_almost_equal(
TileDrainRO.TileDrainRO_f(z.... |
package org.apache.spark.deploy.k8s.submit
import org.apache.spark.{SparkConf, SparkFunSuite}
import org.apache.spark.deploy.k8s.config._
import org.apache.spark.deploy.k8s.submit.submitsteps.{BaseDriverConfigurationStep, DependencyResolutionStep, DriverConfigurationStep, DriverKubernetesCredentialsStep, DriverServic... |
"""
Created on Sun Jun 12 10:53:59 2016
@author: Adriano
"""
"""
Tape Image Format (TIF) Encapsulation
This encapsulation format is more common for well logs rather than seismic
traces and, indeed, was developed by Dresser Atlas for disk storage of well
logs. Each record is preceded by three 4 ... |
[](https://www.npmjs.com/package/html-minifier)
[](https://travis-ci.org/kangax/html-minifier)
[](https://david-... |
<form action="" method="get" accept-charset="utf-8" class="contentForm frTen">
<fieldset id="oldPassword" class="infoForm clearfix frFive">
<legend><span class="trFive">Old Password</span></legend>
<dl class="clearfix">
<dt><label for="password">Old Password</label></dt>
<dd... |
/** Implementation of an Max Filter
* @param T the type of input for the filter
*/
public class MaxFilter<T extends Comparable<T>> extends ExtremeFilter<T> {
/** The last output and also the biggest value seen by the filter */
private T output;
/** Given data, returns the largest value it's seen since the la... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class MdPanTool extends React.Component<IconBaseProps, any> { } |
A command line utility that uploads files to an AWS S3 bucket.
```
$ s3-file-upload LOCAL_PATH BUCKET_NAME [OPTIONS]
```
Valid options:
```
--ignored_directories List of directory names using a comma separator, e.g. --ignored_directories=ignored_dir_one,ignored_dir_two
```
AWS user details are found in a `credent... |
#if NET452
namespace Microsoft.ApplicationInsights.DependencyCollector.Implementation
{
using System;
using System.Diagnostics.Tracing;
using System.Globalization;
using Microsoft.ApplicationInsights.DependencyCollector.Implementation.Operation;
using Microsoft.ApplicationInsights.Extensibility;
... |
module Name::Taxonomy
# When we `include` a module, the way to add class methods is like this:
def self.included(base)
base.extend(ClassMethods)
end
def at_or_below_genus?
rank == "Genus" || below_genus?
end
def above_genus?
Name.ranks_above_genus.include?(rank)
end
def below_genus?
N... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>circuits: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
<?php
/*
* This file is part of the Sami utility.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sami\Parser;
use PhpParser\Node as AbstractNode;
use PhpParser\Node\Name\FullyQualified;
... |
<?xml version="1.0" encoding="utf-8"?>
<?codebehind transformation="../../src/Platinum.VisualStudio/Resources/PlatinumValidationRuleSet-ToCode.xslt"?>
<ruleSet xmlns="urn:platinum/validation">
<field name="Value1">
<summary>Description of rules.</summary>
<remarks>Any applicable remarks.</remarks>... |
<?php
/** Error reporting */
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
date_default_timezone_set('Europe/London');
if (PHP_SAPI == 'cli')
die('This example should only be run from a Web Browser');
/** Include PHPExcel */
require_once '../Classes/PHPExcel.php'... |
package org.onlab.packet;
import java.net.InetAddress;
import java.net.Inet4Address;
import java.net.Inet6Address;
import java.net.UnknownHostException;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.Objects;
import com.google.common.net.InetAddresses;
import com.google.common.primitives.Unsig... |
package com.google.api.ads.adwords.jaxws.v201409.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Page-One Promoted bidding scheme, which sets max cpc bids to
* target impressions on pa... |
/**
* This class describes a view of a single email Account
* @class ZaAccountXFormView
* @contructor
* @param parent {DwtComposite}
* @param app {ZaApp}
* @author Greg Solovyev
**/
ZaAccountXFormView = function(parent, entry) {
ZaTabView.call(this, {
parent:parent,
iKeyName:"ZaAccountXFormView",
contextId:Z... |
package org.radarcns.management.web.rest;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Matchers.anyObject;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
i... |
module Straides
class Configuration
def initialize
# Whether to auto-include the Straides config into every controller.
@auto_load = true
end
attr_accessor :auto_load
# Returns the singleton instance of this Configuration class,
# to be used for configuring the Rails app that uses... |
title: Calico with rkt
---
Calico supports networking and network policy in a pure rkt container environment.
Use the navigation bar on the left to view information on Calico with rkt,
or continue reading for recommended guides to get started.
## Installation Guides
#### [Manual Install Guide]({{site.baseurl}}/{{p... |
import React, {Component} from 'react';
import { Button} from 'antd';
class Fullpagebtn extends React.Component {
constructor(props) {
super(props);
this.state={
icon:'arrows-alt'
}
}
fullPageSwitch(){
const icon=this.state.icon=='arrows-alt'?'shrink':'arrows-alt';
this.setState({
... |
Frontend Master begginers course
|
package de.tum.in.www1.exerciseapp.cucumber.stepdefs;
import cucumber.api.java.Before;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.MockMvc;
impo... |
require "test_helper"
class Admin::DashboardControllerTest < ActionController::TestCase
def setup
super
@admin_role = create :role, :admin
@goal = create :goal, points: 15
@round = create :round, :open
@user = create :user, auth_token: 'dah123rty', goal: @goal
end
test 'non logged-in user a... |
class HeaderController {
constructor() {
this.name = 'header';
this.chartName = "Hi";
}
}
export default HeaderController;
|
using namespace std;
int64_t nWalletUnlockTime;
static CCriticalSection cs_nWalletUnlockTime;
std::string HelpRequiringPassphrase()
{
return pwalletMain && pwalletMain->IsCrypted()
? "\nRequires wallet passphrase to be set with walletpassphrase call."
: "";
}
bool EnsureWalletIsAvailable(bool avo... |
from moira_client.moira import Moira
|
. vars.sh
echo "(Re)creating Platform Directories:"
echo "$V1_HOME, $V2_HOME"
if [ -d "$V1_HOME" ]; then
rm -rf $V1_HOME
fi
if [ -d "$V2_HOME" ]; then
rm -rf $V2_HOME
fi
# We add the curve.key to not include encryption
# on tcp communication.
mkdir $V1_HOME
touch $V1_HOME/curve.key
mkdir $V2_HOME
touch $V2_HOME/... |
package org.apache.poi.ss.formula;
public class SheetIdentifier {
public String _bookName;
public NameIdentifier _sheetIdentifier;
public SheetIdentifier(String bookName, NameIdentifier sheetIdentifier) {
_bookName = bookName;
_sheetIdentifier = sheetIdentifier;
}
public String g... |
package org.archive.crawler.util;
import it.unimi.dsi.fastutil.longs.LongIterator;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.TreeSet;
import java.util.loggin... |
'use strict';
// Workaround until browsers implement stacks for async/await
const extendStack = async body => {
const {stack} = Error();
try {
return await body();
}
catch (err) {
err.stack = err.stack + stack;
throw err;
}
};
module.exports = extendStack;
|
from kivy.vector import Vector
from parabox.phisics.base_phisics import BasePhisics
class PointPhisics(BasePhisics):
"""Phisics model with point direction"""
def __init__(self, *args, gravity=0, affect_radius=0, **kwargs):
"""PlainPisics constructor
:param gravity: gravity power
:ty... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Creative - Start Bootstrap Theme</title>
... |
package com.jyore.resource;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.nio.charset.Charset;
import com.jyore.resource.util.FileCopyUtil;
public class FilePathResource implements Reso... |
#if !defined(Magick_Options_header)
#define Magick_Options_header
#include "Magick++/Include.h"
#include <string>
#include "Magick++/Color.h"
#include "Magick++/Geometry.h"
#include "Magick++/Drawable.h"
namespace Magick
{
class MagickDLLDecl Image;
class Options
{
public:
Options( vo... |
// Template Source: BaseEntityCollectionRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// --------------------------... |
var expect = require('chai').expect
var <%= moduleVarName %> = require('..')
describe('<%= moduleName %>', function() {
it('should say hello', function(done) {
expect(<%= moduleVarName %>()).to.equal('Hello, world');
done();
});
});
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>ip::host_name</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../boost_asio.html" title="Boost.... |
package com.correios.recover.automator.recover.webclient.exceptions.factory;
import com.correios.recover.automator.recover.webclient.exceptions.AlertException;
public interface MessageAlertFactory {
public AlertException getAlertException(final String message);
}
|
/* 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 Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
... |
package com.blazebit.persistence.integration.hibernate.base;
/**
*
* @author Christian Beikov
* @since 1.6.7
*/
public interface CustomCollectionPersister {
public String getMappedByProperty();
}
|
package org.apache.commons.lang3.time;
import java.text.DateFormat;
import java.text.FieldPosition;
import java.text.Format;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
/**
* <p>F... |
describe('Illegal math operations evaluate to NaN', function(){
it('Divide a number be a string', function(){
var dividend = 1 / 'abc';
var value = isNaN(dividend);
expect(toDo).toBe(value);
});
it('Square root of a negative', function(){
var sqrt = Math.sqrt(-4);
v... |
<?php
/**
* User: nikk
* Date: 7/1/14
* Time: 1:01 PM
*/
namespace Ps\SlavsBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Ps\AppBundle\Entity;
use Ps\SlavsBundle\Entity\Slavs;
class SlavsRepository extends EntityRepository
{
/**
* @param string $order
* @param string $direction
*
... |
title: "Protobuf"
slug: "protobuf-go"
excerpt: "How to generate Go from Protocol Buffers."
hidden: false
createdAt: "2022-04-20T22:34:22.819Z"
updatedAt: "2022-04-25T23:26:26.127Z"
---
When your Go code imports Protobuf generated files, Pants will detect the imports and run the Protoc compiler to generate then compile ... |
package jp.go.aist.six.util.core.web.spring;
import java.io.IOException;
import java.io.OutputStream;
import jp.go.aist.six.util.IoUtil;
import org.springframework.http.client.ClientHttpResponse;
import org.springframework.web.client.ResponseExtractor;
/**
*
* @author Akihito Nakamura, AIST
* @version $Id: Out... |
require 'solidus_core'
require 'spree_admin_s3/version'
require 'spree_admin_s3/engine'
|
package org.hisp.dhis.dxf2.metadata.objectbundle.hooks;
import com.google.common.base.Function;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Sets;
import org.hisp.dhis.common.DeliveryChannel;
import org.hisp.dhis.common.IdentifiableObject;
import org.hisp.dhis.common.ValueType;
imp... |
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<id>com.iamdifferent.qantasguide</id>
<name>Qantas Guide</name>
<version>1.0</version>
<publisher>parthmehta</publisher>
<url/>
<description>undefined</description>
<copyright>2016 by parthmehta</copyright>... |
/* $Id: BaseOutputConnector.java 998081 2010-09-17 11:33:15Z kwright $ */
/**
* 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... |
/*
* brail: defines Construction object attributes
*/
import { Last } from './last.model';
import { Sole } from './sole.model';
import { Welt } from './welt.model';
import { Heel } from './heel.model';
import { Wedge } from './wedge.model';
import { Plateau } from './plateau.model';
export class Construction {
id: ... |
<?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... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="sfml.com.sfml_example">
<application
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@drawable/sfml_logo"
android:supportsRtl="tru... |
#ifndef WhiskSwiftTools_Bridging_Header_h
#define WhiskSwiftTools_Bridging_Header_h
#import "SSZipArchive.h"
#endif /* WhiskSwiftTools_Bridging_Header_h */
|
package org.neo4j.cypher
import org.neo4j.graphdb.Node
class StartPointFindingAcceptanceTest extends ExecutionEngineFunSuite with NewPlannerTestSupport {
test("Scan all nodes") {
val nodes = Set(createNode("a"), createNode("b"), createNode("c"))
executeWithAllPlanners("match n return n").columnAs[Node]("... |