code stringlengths 4 1.01M | language stringclasses 2
values |
|---|---|
/**
* Copyright (C) 2016 - 2030 youtongluan.
*
* 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 or... | Java |
# Jacksonia aculeata W.Fitzg. SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | Java |
/**********************************************************************
Copyright (c) 2009 Stefan Seelmann. 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... | Java |
# Copyright 2015 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 or agreed to in writing,... | Java |
package com.metrink.action;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.SimpleEmail;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Provider;
import com.metrink.alert.ActionBean;
import com.metrink.alert.AlertBean;
import com.metrink.metric.Metric;
... | Java |
/* Fix a gap in ui-bootstrap's styling */
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; }
body {
min-height: 2000px;
padding-top: 70px;
}
/* Fix tag filters on index page */
#tags span.label {
font-size: 100%;
line-height: 2;
margin: 2px;
}
.label-toggle {
cursor: pointer;
}... | Java |
/**
* Copyright 2017-2019 The GreyCat Authors. All rights reserved.
* <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>
* Un... | Java |
//Declare app level module which depends on filters, and services
var SFApplicationAuth = angular.module('SFApplicationAuth.Auth',[]);
SFApplicationAuth.config(
[
'$stateProvider',
'$urlRouterProvider',
function (
$stateProvider,
$urlRouterProvider
) {
console.log("inciando bootstrap auth");
$stateProvid... | Java |
package com.at.springboot.mybatis.po;
public class JsonUser {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column JSON_USER.JSON_USER_ID
* @mbg.generated Thu Aug 29 17:59:18 CST 2019
*/
private byte[] jsonUserId;
/**
* This fiel... | Java |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.stylehair.servicos;
import br.com.stylehair.dao.AgendamentoDAO;
import br.com.stylehair.entity.Agendamento;
import com.... | Java |
const spinny = 'div.spinny';
exports.command = function navigateTo (url, expectSpinny = true) {
this.url('data:,'); // https://github.com/nightwatchjs/nightwatch/issues/1724
this.url(url);
if (expectSpinny) {
this.waitForElementVisible(spinny);
this.waitForElementNotVisible(spinny);
}
... | Java |
package com.sampleapp.base;
import android.app.Application;
import com.crashlytics.android.Crashlytics;
import com.sampleapp.BuildConfig;
import com.sampleapp.utils.UtilsModule;
import io.fabric.sdk.android.Fabric;
import timber.log.Timber;
/**
* Created by saveen_dhiman on 05-November-16.
* Initialization of re... | Java |
# Agrostis filiformis Vill. SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | Java |
<!-- Footer -->
<footer class="text-center">
<div class="footer-above">
<div class="container">
<div class="row">
<div class="footer-col col-md-4">
<h3>{{ site.footer.location }}</h3>
<p>
... | Java |
/*
* Copyright 2017 Axway Software
*
* 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 or agreed t... | Java |
package com.fasterxml.jackson.databind.node;
import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.core.io.NumberOutput;
import com.fasterxml.jackson.databind.SerializerProvider;
/**
* Numeric node that contains simpl... | Java |
## AWS Health AWS_EBS_VOLUME_LOST
**Note:** This instruction is deprecated. Please refer to the [stepbystep/README](https://github.com/aws/aws-health-tools/blob/master/automated-actions/AWS_EBS_VOLUME_LOST/stepbystep/README.md) for the latest instruction.
---
### Description
Underlying hardware related to your EBS v... | Java |
package lena.lerning.selenium;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util... | Java |
package com.twitter.finagle.mdns
import com.twitter.finagle.{Announcer, Announcement, Resolver, Addr, Address}
import com.twitter.util.{Future, Return, Throw, Try, Var}
import java.lang.management.ManagementFactory
import java.net.{InetSocketAddress, SocketAddress}
import scala.collection.mutable
class MDNSAddressExc... | Java |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | Java |
package org.develnext.jphp.android.ext.classes.app;
import android.os.Bundle;
import org.develnext.jphp.android.AndroidStandaloneLoader;
import org.develnext.jphp.android.ext.AndroidExtension;
import php.runtime.annotation.Reflection;
@Reflection.Name(AndroidExtension.NAMESPACE + "app\\BootstrapActivity")
public clas... | Java |
package com.truward.brikar.maintenance.log.processor;
import com.truward.brikar.common.log.LogUtil;
import com.truward.brikar.maintenance.log.CommaSeparatedValueParser;
import com.truward.brikar.maintenance.log.Severity;
import com.truward.brikar.maintenance.log.message.LogMessage;
import com.truward.brikar.maintenanc... | Java |
using UnityEngine;
using System.Collections;
namespace MagicalFX
{
public class FX_SpawnDirection : MonoBehaviour
{
public int Number = 10;
public float Frequency = 1;
public bool FixRotation = false;
public bool Normal;
public GameObject FXSpawn;
public float LifeTime = 0;
public float TimeSpawn = 0;... | Java |
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Source Themes Academic 3.1.1">
<meta name="generator" content="Hugo 0.55.6" />
<meta... | Java |
package ru.job4j.servlet.services;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.job4j.servlet.model.User;
import ru.job4j.servlet.repository.RepositoryException;
import ru.job4j.servlet.repository.UserStore;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import ja... | Java |
package com.kenshin.windystreet.db;
import org.litepal.crud.DataSupport;
/**
* Created by Kenshin on 2017/4/3.
*/
public class County extends DataSupport {
private int id; //编号
private String countyName; //县名
private String weatherId; //对应的天气id
private int cityId; //所属市的id
public void setI... | Java |
/*
* Copyright 2016-present Facebook, 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 or... | Java |
# -*- coding: 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, Version 2.0 (the
#... | Java |
# Stilbum clavaeforme (Preuss) Goid. SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
Annali Bot. (Torino) 21: 49 (1935)
#### Original name
Stilbum claviforme (Preuss) Goid.
### Remarks
null | Java |
package water.api;
import org.reflections.Reflections;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.ArrayList;
import ja... | Java |
# Develop based on 'TypeScript & AngularJS TodoMVC Example'
## available on Chrome
| Java |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>obl</title>
<link rel="root... | Java |
package eu.uqasar.model.measure;
/*
* #%L
* U-QASAR
* %%
* Copyright (C) 2012 - 2015 U-QASAR Consortium
* %%
* 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
*
* htt... | Java |
'use strict';
import * as _ from 'lodash';
import * as fs from 'fs';
import * as xml2js from 'xml2js';
import * as Mustache from 'mustache';
import * as helpers from './helpers';
import * as utils from './utils';
import * as conf from './conf';
const parseString: (xml: string, options: xml2js.Options) => Promise<any>... | Java |
---
title: Common Addons
---
## Kubernetes Dashboard
[Kubernetes Dashboard](https://github.com/kubernetes/dashboard) is a general
purpose, web-based UI for Kubernetes clusters. It allows users to manage
applications running in the cluster and troubleshoot them, as well as manage
the cluster itself.
### Installation... | Java |
# Copyright 2019 The TensorFlow 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 applica... | Java |
package com.feiyu.storm.streamingdatacollection.spout;
/**
* from https://github.com/apache/incubator-storm/blob/master/examples/storm-starter/src/jvm/storm/starter/spout/RandomSentenceSpout.java
* modified by feiyu
*/
import java.util.Map;
import java.util.Random;
import backtype.storm.spout.SpoutOutputCollector;... | Java |
/*
* Copyright 2021 HM Revenue & Customs
*
* 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 or a... | Java |
/*
* Copyright 2016 Axibase Corporation or its affiliates. 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.
* A copy of the License is located at
*
* https://www.axibase.com/atsd/axibase-apache-2.0.pdf
*
... | Java |
# paragon.storage.local
Use the `paragon.storage.local` API to store, retrieve, and track changes to user data.
## Methods
The 'paragon.storage.local' object has the following methods:
### get(keys, callback)
Returns an object that has the properties corresponding to the keys referenced from the local storage stor... | Java |
# Astragalus lesbiacus P.Candargy SPECIES
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | Java |
# Sedum leblancei Raym.-Hamet SPECIES
#### Status
ACCEPTED
#### According to
GRIN Taxonomy for Plants
#### Published in
Repert. Spec. Nov. egni Veg. 8:311. 1910
#### Original name
null
### Remarks
null | Java |
# Fraxinus fungosa Lodd. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | Java |
# Helichrysum dracaenifolium Humbert SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | Java |
# Stipa durifolia Torres SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | Java |
# Massariella bispora M.A. Curtis SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Massariella bispora M.A. Curtis
### Remarks
null | Java |
# Briza triloba var. interrupta VARIETY
#### Status
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | Java |
# Raphanus sativus var. incarnatus Sazonova VARIETY
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | Java |
# Gomphrena decumbens subvar. decumbens SUBVARIETY
#### Status
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | Java |
<?php
/**
* This example populates a first party audience segment. To determine which
* audience segments exist, run GetAllAudienceSegments.php.
*
* PHP version 5
*
* Copyright 2014, Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file... | Java |
package main
import (
"log"
"net/http"
"github.com/gophergala/melted_brains/http_handler"
"golang.org/x/net/websocket"
)
func main() {
http.HandleFunc("/game/", http_handler.GameHandler)
http.Handle("/events/", websocket.Handler(http_handler.EventsHandler))
http.Handle("/waiting/", websocket.Handler(http_hand... | Java |
import React from 'react';
import renderer from 'react-test-renderer';
import VideoQuestion from './VideoQuestion';
jest.mock('expo', () => ({
Video: 'Video'
}));
it('renders without crashing', () => {
const tree = renderer.create(
<VideoQuestion
video={require('../../assets/videos/placeholder.mp4')}
... | Java |
# Heterodermia erinacea (Ach.) W. A. Weber SPECIES
#### Status
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
in Egan, Bryologist 90(2): 163 (1987)
#### Original name
Lichen erinaceus Ach.
### Remarks
null | Java |
#!/usr/bin/python
#
# Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es)
#
# 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
... | Java |
"use strict";
const apisObject = {
"type": "object",
"required": false,
"patternProperties": {
"^[_a-z\/][_a-zA-Z0-9\/:]*$": { //pattern to match an api route
"type": "object",
"required": true,
"properties": {
"access": {"type": "boolean", "required": false},
}
}
}
};
const aclRoute = {
"typ... | Java |
package br.com.ceducarneiro.analisadorsintatico;
public class LexException extends Exception {
private char badCh;
private int line, column;
public LexException(int line, int column, char ch) {
badCh = ch;
this.line = line;
this.column = column;
}
@Override
public Str... | Java |
PAUSE | Java |
/*
* 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 or agreed to in writing, software distributed under t... | Java |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. 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 ... | Java |
package me.banxi.androiddemo;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends Activity{
public void onCreate(Bundle bundle){
super.onCreate(bundle);
TextView textView = new TextView(this);
textView.setText("Hello,World... | Java |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2015 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
... | Java |
from rest_framework import generics, permissions, views, response,status
from .models import Account
from .serializers import AccountCreateSerializer, AccountSerializer, AuthenticateSerializer, \
UpdateAccountSerializer, AccountRetrieveSerializer
# Create your views here.
class AccountCreateView(generics.Create... | Java |
/*
* 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, Version 2.0
* (the "License"); you may n... | Java |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Management.Resources.Models;
namespace Azur... | Java |
# Erica jumellei (H.Perrier) Dorr & E.G.H.Oliv. SPECIES
#### Status
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Philippia jumellei H.Perrier
### Remarks
null | 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 (1.8.0_121) on Tue Jun 27 14:37:00 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index (Keywhiz Model 0.8.0 ... | Java |
//
// https://github.com/Dogfalo/materialize/issues/634#issuecomment-113213629
// and
// https://github.com/noodny/materializecss-amd/blob/master/config.js
//
//
require([
'global',
'initial',
'animation',
'buttons',
'cards',
'carousel',
'character_counter',
'chips',
'collapsible',
'dropdown',
'f... | Java |
//
// SVNAuthenticationProvider.h
// SVNKit
//
// Created by Patrick McDonnell on 8/9/14.
//
#import "SVNAPRPool.h"
@class SVNAuthenticationProvider, SVNAuthenticationCredentials;
@protocol SVNAuthenticationDataSource <NSObject>
@optional
-(BOOL)SVNAuthenticationProvider:(SVNAuthenticationProvider *)provider sim... | Java |
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | Java |
# Septoria mikaniae G. Winter SPECIES
#### Status
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Septoria mikaniae G. Winter
### Remarks
null | Java |
package org.plista.kornakapi.core.training.preferencechanges;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
public class DelegatingPreferenceChangeListenerForLabel implements PreferenceChangeListenerForLabel {
private final Map<String,L... | Java |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using CompatCheckAndMigrate.Helpers;
using CompatCheckAndMigrate.ObjectModel;
namespace CompatCheckAndMigrate.Controls
{
public partial class SiteStatusControl : UserControl, IWizardStep
{
private I... | Java |
<?php namespace DCarbone\PHPClassBuilder\Template;
/*
* Copyright 2016-2017 Daniel Carbone (daniel.p.carbone@gmail.com)
*
* 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://... | Java |
/**
* 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 or agreed to in writing, software
* ... | Java |
package apple.mlcompute;
import apple.NSObject;
import apple.foundation.NSArray;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import apple.foundation.protocol.NSCopying;
import org.moe.natj.c.ann.FunctionPtr;
import org.moe.natj.general.NatJ;
import org.moe.natj.general.Pointer;
import org... | Java |
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
package com.jflyfox.dudu.module.system.dao;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jflyfox.dudu.component.model.Query;
import com.jflyfox.dudu.module.system.model.SysMenu;
import com.jflyfox.util.StrUtils;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.jdbc.SQL;
i... | Java |
/**
*
* Copyright 2003-2007 Jive Software.
*
* 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 |
module.exports = function (config) {
'use strict';
config.set({
basePath: '../',
files: [
// Angular libraries.
'app/assets/lib/angular/angular.js',
'app/assets/lib/angular-ui-router/release/angular-ui-router.js',
'app/assets/lib/angular-bootstr... | Java |
package edu.kit.tm.pseprak2.alushare.view;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.os.Environment;
import android.util.Log;
import java.io.IOException;
/**
* Represent the AudioRecorder of the ChatActivity.
* Enables recording sound and playing the music before sending.... | Java |
package com.zts.service.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = DataSourceProperties.DS, ignoreUnknownFields = false)
public class DataSourceProperties {
//对应配置文件里的配置键
public final static String DS="mysql";
private String driverClassNam... | Java |
package com.github.approval.sesame;
/*
* #%L
* approval-sesame
* %%
* Copyright (C) 2014 Nikolavp
* %%
* 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... | Java |
import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
import { get } from '@ember/object';
export default Route.extend({
access: service(),
catalog: service(),
scope: service(),
beforeModel() {
this._super(...arguments);
return get(this, 'catalog').fetchUnSc... | Java |
package AbsSytree;
import java.util.ArrayList;
public class SynExprSeq extends AbsSynNode {
public ArrayList<AbsSynNode> exprs;
public SynExprSeq(AbsSynNode e) {
this.exprs = new ArrayList<AbsSynNode>();
this.exprs.add(e);
}
public SynExprSeq append(AbsSynNode e) {
this.exprs.add(e);
retur... | Java |
/**
* Copyright 2017 Matthieu Jimenez. All rights reserved.
* <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 req... | Java |
/*
* Copyright (c) 2015 PLUMgrid, 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 or agreed ... | Java |
<!DOCTYPE html>
<html lang="en" ng-app="querypro">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Jesse Cascio">
<title>S... | Java |
/**
* Copyright Microsoft Corporation
*
* 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 or agreed to... | Java |
/**
* Copyright 2016 William Van Woensel
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 or agreed to in ... | Java |
// Copyright 2012 Max Toro Q.
//
// 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 or agreed to in... | Java |
using System;
using System.IO;
using System.Text;
namespace NuGet
{
public static class StreamExtensions
{
public static byte[] ReadAllBytes(this Stream stream)
{
var memoryStream = stream as MemoryStream;
if (memoryStream != null)
{
... | Java |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /ammon/images/sliders</title>
<meta charset="UTF-8"></head>
<body>
<h1>Index of /ammon/images/sliders</h1>
<ul><li><a href="../index.html"> Parent Directory</a></li>
<li><a href="./anything_slider/index.html"> anything_slider/</a... | Java |
enum{V};
enum{K}ABC;
enum{Global = 10,Window}Type; | Java |
/*
* Copyright 2013, Unitils.org
*
* 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 or... | Java |
/*
* Copyright (c) 2010-2014. Axon Framework
*
* 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 ... | Java |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'litleleprikon'
from random import randint
FIGURES = ['камень', 'бумага', 'ножницы']
FIG_LEN = len(FIGURES)
class Player:
"""
Player class is needed to store tactics and to generate figures by this tactic
-- Doctests --
>>> player = Play... | Java |
package site;
public class Autocomplete {
private final String label;
private final String value;
public Autocomplete(String label, String value) {
this.label = label;
this.value = value;
}
public final String getLabel() {
return this.label;
}
public final String getValue() {
return t... | Java |
### Running the example
```bash
gcloud builds submit --config=./cloudbuild.yaml
```
### Note
This trivial example builds 2 binaries that share a Golang package `github.com/golang/glog`.
Because the cloudbuild.yaml shares a volume called `go-modules` across all steps, once the `glog` package is pulled for the first ... | Java |
/*
Copyright 2015 Crunchy Data Solutions, 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 or agreed to i... | Java |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.