repo_name stringlengths 6 101 | path stringlengths 4 300 | text stringlengths 7 1.31M |
|---|---|---|
SanojPunchihewa/devstudio-tooling-esb | plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/configure/AddBranchSwitchMediatorAction.java | <reponame>SanojPunchihewa/devstudio-tooling-esb
/*
* Copyright 2009-2010 WSO2, Inc. (http://wso2.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://www.apache.org/licenses... |
AlexanderEggersDivae/aem-core-wcm-components | testing/it/e2e-selenium/src/test/java/com/adobe/cq/wcm/core/components/it/seljup/tests/formbutton/v1/FormButtonIT.java | <gh_stars>0
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright 2021 Adobe
~
~ 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.a... |
motor-dev/Motor | mak/libs/pyxx/cxx/grammar/statement/declaration.py | <gh_stars>0
"""
declaration-statement:
block-declaration
"""
import glrp
from ...parser import cxx98
from motor_typing import TYPE_CHECKING
@glrp.rule('declaration-statement : block-declaration')
@cxx98
def declaration_statement(self, p):
# type: (CxxParser, glrp.Production) -> None
pass
if TYPE_CHECKI... |
flovo/goratings | analysis/util/GorAnalytics.py | from goratings.interfaces import GameAnalytics, GameRecord
__all__ = ["GorAnalytics"]
class GorAnalytics(GameAnalytics):
expected_win_rate: float # probability that black will win
black_rating: float
white_rating: float
black_rank: float
white_rank: float
def __init__(
self,
... |
madworx/SwingLibrary | src/main/java/org/robotframework/swing/util/PropertyExtractor.java | /*
* Copyright 2008-2011 Nokia Siemens Networks Oyj
*
* 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... |
donnoman/cap-recipes | lib/cap_recipes/tasks/datadog/hooks.rb | <reponame>donnoman/cap-recipes
Capistrano::Configuration.instance(true).load do
after "deploy:provision", "datadog:install"
after "datadog:install", "datadog:setup"
after "datadog:setup", "datadog:restart"
end
|
1shenxi/webpack | test/hotCases/recover/recover-after-removal-self-accepted/inner.js | <filename>test/hotCases/recover/recover-after-removal-self-accepted/inner.js
module.hot.accept();
export default "-inner";
|
hanframework/han | han-core/src/main/java/org/hanframework/context/LoadEnvParseContext.java | <gh_stars>0
package org.hanframework.context;
import org.hanframework.env.ConfigurableEnvironment;
import org.hanframework.env.loadstrategy.TypeLoadStrategy;
import org.hanframework.env.loadstrategy.TypeLoadStrategyRegister;
import org.hanframework.env.resolver.source.MutablePropertySources;
import org.hanframework.en... |
CarolinaAzcona/FreeRTOS | vendors/cypress/MTB/libraries/lpa/docs/lpa_api_reference_manual/html/navtreeindex0.js | var NAVTREEINDEX0 =
{
"index.html":[],
"index.html#apis":[16],
"index.html#group_lpa_changelog":[14],
"index.html#group_lpa_definitions":[3],
"index.html#group_lpa_errata":[13],
"index.html#group_lpa_misra":[12],
"index.html#group_lpa_p1":[4],
"index.html#group_lpa_p1_cc":[4,1],
"index.html#group_lpa_p1_cc_manual_flow"... |
nscodelover/Quickblox-iOS-project-master | External/Quickblox.framework/Versions/A/Headers/QBError.h | <gh_stars>1-10
//
// QBError.h
// Quickblox
//
// Created by <NAME> on 8/18/14.
// Copyright (c) 2014 QuickBlox. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Quickblox/QBNullability.h>
#import <Quickblox/QBGeneric.h>
@interface QBError : NSObject
@property (nonatomic, readonly, QB_NULLABLE_... |
theleapofcode/algorithms-data-structures-java | src/test/java/com/theleapofcode/algosandds/tree/TestBinaryTree.java | package com.theleapofcode.algosandds.tree;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
public class TestBinaryTree {
@Test
public void testCreate() {
BinaryTreeNode<String> lc = new BinaryTreeNode<>("N11");
BinaryTreeNode<String> rc = new BinaryTreeNode<>("N12");
BinaryTreeNode<St... |
r-kapoor/Leetcode | src/java1/Constructor.java | package java1;
public class Constructor {
static String str;
public void Contructor(){
System.out.println("In");
str = "Hello World";
}
public static void main(String[] args){
Constructor c = new Constructor();
System.out.println(str);
}
}
|
shaojiankui/iOS10-Runtime-Headers | PrivateFrameworks/iWorkImport.framework/SFUZipException.h | <gh_stars>10-100
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/Memories.framework/Memories
*/
@interface SFUZipException : NSException
@end
|
seanlinc/Playmate | sjtwo-c/projects/lpc40xx_freertos/l3_drivers/sources/mp3_vs1053.c | <filename>sjtwo-c/projects/lpc40xx_freertos/l3_drivers/sources/mp3_vs1053.c
/*********************************************************
* This is a driver for VS1053 Codec board with amplifier
* Designed for SJSU SJ2 dev board
*
* Written by <NAME>(Sean), <NAME>, and <NAME>
*
**************************************... |
MieskeB/Chess | chessClient/Model/src/main/java/nl/michelbijnen/ChessBoard.java | <filename>chessClient/Model/src/main/java/nl/michelbijnen/ChessBoard.java
package nl.michelbijnen;
import nl.michelbijnen.ChessPieces.*;
import java.awt.*;
import java.util.ArrayList;
import java.util.List;
public class ChessBoard {
private List<ChessPiece> chessPieces;
private int totalValue;
private P... |
Jonathan-Villa/headstart | src/components/QuickLog/grants.js | export const grants = [
{
value: "HS",
label: "HS"
},
{
value: "EHS",
label: "EHS"
},
{
value: "P",
label: "P"
},
{
value: "PI",
label: "PI"
}
] |
aeolusk/utils | src/java/com/bono/utils/PasswordEncoder.java | package com.bono.utils;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.GCMParameterSpec;
public class PasswordEncoder {
public static final... |
rakenduste-programmeerimine-2021/anonyymne-sonumilaud | src/pages/MyThoughts.js | <gh_stars>0
import React, {PureComponent} from 'react';
import {connect} from 'react-redux';
import { Layout,Typography} from "antd";
import { renderIf } from "../utils/commonUtils";
import axios from "axios";
import ThoughtList from '../components/ThoughtList';
const { Title } = Typography;
const { Content} = Layout;
... |
pedropazello/ruby_xml_nfe | lib/ruby_xml_nfe/dest.rb | require 'nokogiri'
require 'ruby_xml_nfe/ender_dest'
module RubyXmlNfe
class Dest
attr_reader :xml, :cnpj, :xNome, :ender_dest_params, :indIEDest, :ie, :email
def initialize(xml, params)
@xml = xml
@cnpj = params[:CNPJ]
@xNome = params[:xNome]
@ender_dest_params = params[:enderDest]
... |
greyp9/arwo | src/main/core/java/io/github/greyp9/arwo/core/io/script/Script.java | <reponame>greyp9/arwo<filename>src/main/core/java/io/github/greyp9/arwo/core/io/script/Script.java
package io.github.greyp9.arwo.core.io.script;
import io.github.greyp9.arwo.core.io.command.Command;
import io.github.greyp9.arwo.core.io.command.CommandDone;
import io.github.greyp9.arwo.core.io.command.CommandToDo;
impo... |
joginder07/baseui | documentation-site/examples/data-table/basic.js | <gh_stars>1000+
// @flow
import React from 'react';
import {useStyletron} from 'baseui';
import {
StatefulDataTable,
BooleanColumn,
CategoricalColumn,
CustomColumn,
NumericalColumn,
StringColumn,
COLUMNS,
NUMERICAL_FORMATS,
} from 'baseui/data-table';
// https://gist.github.com/6174/6062387
function p... |
hererucis/xyz-qgis-plugin | test/test_basemap.py | # -*- coding: utf-8 -*-
###############################################################################
#
# Copyright (c) 2019 HERE Europe B.V.
#
# SPDX-License-Identifier: MIT
# License-Filename: LICENSE
#
###############################################################################
from test import mock_... |
Elyahu41/Terasology | engine/src/main/java/org/terasology/engine/rendering/dag/RenderPipelineTask.java | <reponame>Elyahu41/Terasology
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.rendering.dag;
/**
* TODO: Add javadocs
*/
public interface RenderPipelineTask {
void process();
}
|
alesaadi/fantastic-components | src/List/List/style/TitleStyled.js | /**
* Created by Programmer1 on 12/4/2017.
*/
import styled from 'styled-components';
import {getDarkColor} from './Statics';
const TitleStyled = styled.div`
font-family: ${(props) => props.theme.fontFamily};
color:${(props) => getDarkColor(props)};
margin:15px;
font-size:24px;
... |
jekyll-openui5/jekyll-openui5 | assets/sap/ui/mdc/chart/DrillStackHandler-dbg.js | <filename>assets/sap/ui/mdc/chart/DrillStackHandler-dbg.js
/*!
* OpenUI5
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define([
"sap/ui/core/Core",
"sap/m/ResponsivePopover",
"sap/m/List",
"sap/m/Bar",
"sap/m/SearchFi... |
MaximeMorel/opentrack | FTNoIR_Tracker_PT/boost-compat.h | #pragma once
#include <memory>
namespace boost {
using std::shared_ptr;
}
|
ale-cristofori/MapStore2 | web/client/actions/__tests__/playback-test.js | <reponame>ale-cristofori/MapStore2
/*
* Copyright 2022, GeoSolutions Sas.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
import expect from "expect";
import {
PLAY, PAUSE, STOP, SET_FRAMES, SET_CURRE... |
RashmicaG/OpenBLAS | relapack/src/zsytrf_rook_rec2.c | <reponame>RashmicaG/OpenBLAS<filename>relapack/src/zsytrf_rook_rec2.c<gh_stars>100-1000
/* -- translated by f2c (version 20100827).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you insta... |
ExpressApp/pybotx | docs/src/development/logging/logging0.py | <gh_stars>10-100
from loguru import logger
from botx import Bot
bot = Bot()
logger.enable("botx")
|
Dn9x/dn-modbus | src/com/dn9x/modbus/msg/UnityWriteMultipleRegistersResponse.java | <gh_stars>10-100
package com.dn9x.modbus.msg;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
public class UnityWriteMultipleRegistersResponse extends UnityModbusResponse {
// instance attributes
private int m_WordCount;
private int m_Reference;
/**
* Constructs a new <tt>Wri... |
streamdp/maintasks | src/test/java/com/epam/streamdp/nine/model/Configuration.java | <filename>src/test/java/com/epam/streamdp/nine/model/Configuration.java
package com.epam.streamdp.nine.model;
public class Configuration {
private String numberOfInstances;
private String idMachineType;
private String countOfGPUs;
private String idGPUType;
private String idLocalSSD;
private Str... |
hedgepigdaniel/metro | packages/metro/src/DeltaBundler/Serializers/__tests__/getAssets-test.js | /**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails oncall+javascript_foundation
* @format
*/
'use strict';
jest.mock('../../../Assets');
const getAssets = require('../getAss... |
egorodet/CML | cml/vector/type_util.h | <filename>cml/vector/type_util.h
/* -*- C++ -*- ------------------------------------------------------------
@@COPYRIGHT@@
*-----------------------------------------------------------------------*/
/** @file
*/
#pragma once
#ifndef cml_vector_type_util_h
#define cml_vector_type_util_h
#include <cml/common/type_ut... |
NARUTONXD/autobahn-java-master | kutils/src/main/java/com/zwy/kutils/widget/baseview/BaseActivity.java | <gh_stars>10-100
package com.zwy.kutils.widget.baseview;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.ColorRes;
import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;
import and... |
nPhil01/o2r-muncher | test/compendium-configuration-file.js | <filename>test/compendium-configuration-file.js
/*
* (C) Copyright 2017 o2r project
*
* 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
... |
Jean1dev/Especialista-JPA | iniciando-jpa/src/main/java/com/curso/model/SexoCliente.java | <gh_stars>0
package com.curso.model;
public enum SexoCliente {
MASCULINO,
FEMININO
}
|
ponder-lab/dari | db/src/test/java/com/psddev/dari/db/AggregateDatabaseTest.java | <reponame>ponder-lab/dari
package com.psddev.dari.db;
import com.google.common.collect.ImmutableMap;
import com.psddev.dari.util.CompactMap;
import org.hamcrest.Matcher;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.runners.Enclosed;
import org.junit.runner.RunWith;
import org.mockito.i... |
mankeyl/elasticsearch | server/src/main/java/org/elasticsearch/action/admin/cluster/storedscripts/GetScriptContextResponse.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
ankurverma85/stencil | src/templates/3.template.common.struct.h | // Anything here is not part of the generated code
struct ModelDefinition
{};
const int EnumKeyCount = 0;
const int EnumCount = 0;
const int zzFieldType_Idzz = 0;
const int zzStruct_Idzz = 0;
const int zzUnion_Idzz = 0;
const HandlerData zzFieldType_NativeHandle... |
liangxiaoqiao/LeetCodeDay | src/main/java/com/liangxiaoqiao/leetcode/day/medium/ReverseSubstringsBetweenEachPairOfParentheses.java | <gh_stars>0
package com.liangxiaoqiao.leetcode.day.medium;
/*
* English
* id: 1190
* title: Reverse Substrings Between Each Pair of Parentheses
* href: https://leetcode.com/problems/reverse-substrings-between-each-pair-of-parentheses
* desc: You are given a string s that consists of lower case English letters an... |
Liangsh7/micro_mall | comment-service/comment-provider/src/main/java/com/mall/comment/dal/entitys/CommentReply.java | <reponame>Liangsh7/micro_mall
package com.mall.comment.dal.entitys;
import lombok.Data;
import java.util.Date;
import javax.persistence.*;
@Table(name = "tb_comment_reply")
@Data
public class CommentReply {
/**
* 评价回复id
*/
@Id
private String id;
/**
* 商品评价id
*/
@Column(name =... |
CamW/servicetalk | servicetalk-http-api/src/main/java/io/servicetalk/http/api/HttpCookiePair.java | /*
* Copyright © 2019 Apple Inc. and the ServiceTalk project authors
*
* 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 requi... |
dunham/soaride | com.soartech.soar.ide.ui/src/com/soartech/soar/ide/ui/editors/text/SyntaxColorManager.java | /*
*Copyright (c) 2009, Soar Technology, 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 ... |
liningwang/mallplus-cloudok | mall-business/marking-center/src/main/java/com/mallplus/marking/service/impl/SmsDrawServiceImpl.java | <reponame>liningwang/mallplus-cloudok<filename>mall-business/marking-center/src/main/java/com/mallplus/marking/service/impl/SmsDrawServiceImpl.java<gh_stars>10-100
package com.mallplus.marking.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mallplus.common.entity.sms.SmsDra... |
nsbasic-archive/NS-Basic-for-WinCE | src/Controls/NSBWin32/src/RAS.h | <filename>src/Controls/NSBWin32/src/RAS.h<gh_stars>1-10
// RAS.h : Declaration of the CRAS
#ifndef __RAS_H_
#define __RAS_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CRAS
class ATL_NO_VTABLE CRAS :
public CComObjectRootEx... |
MSalamatov/mongoose | storage/driver/coop/netty/http/s3/src/main/java/com/emc/mongoose/storage/driver/coop/netty/http/s3/BucketXmlListingHandler.java | package com.emc.mongoose.storage.driver.coop.netty.http.s3;
import com.emc.mongoose.base.item.Item;
import com.emc.mongoose.base.item.ItemFactory;
import com.emc.mongoose.base.logging.LogUtil;
import com.emc.mongoose.base.logging.Loggers;
import org.apache.logging.log4j.Level;
import org.xml.sax.Attributes;
import o... |
ChristianGreiner/Battleships | src/core/SoundPlayer.java | package core;
import javax.sound.sampled.Clip;
import javax.sound.sampled.FloatControl;
/**
* A wrapper for the swing audio clip.
*/
public class SoundPlayer {
private Clip soundClip;
public SoundPlayer(Clip soundClip) {
this.soundClip = soundClip;
}
/**
* Sets the volume ot the play... |
greekwelfaresa/idempiere-test | au.org.greekwelfaresa.idempiere.test.assertj/src/au/org/greekwelfaresa/idempiere/test/assertj/a_asset_change/A_Asset_ChangeAssert.java | /** Generated Assertion Class - DO NOT CHANGE */
package au.org.greekwelfaresa.idempiere.test.assertj.a_asset_change;
import javax.annotation.Generated;
import org.compiere.model.X_A_Asset_Change;
/** Generated assertion class for A_Asset_Change
* @author idempiere-test model assertion generator
* @version Releas... |
clayne/papyrus-debug-server | dependencies/skse64/src/skse64/CommonLibSSE/include/RE/bhkSerializable.h | <reponame>clayne/papyrus-debug-server<gh_stars>1-10
#pragma once
#include "skse64/GameRTTI.h" // RTTI_bhkSerializable
#include "skse64/NiRTTI.h" // NiRTTI_bhkSerializable
#include "RE/bhkRefObject.h" // bhkRefObject
namespace RE
{
class bhkSerializable : public bhkRefObject
{
public:
inline static const voi... |
classyPimp/FarfrApp | db/migrate/20150418132826_create_comments.rb | class CreateComments < ActiveRecord::Migration
def change
create_table :comments do |t|
t.integer :commentable_id
t.string :commentable_type
t.references :user
t.references :parent, index: true
t.text :log
t.string :type
t.timestamps null: false
end
add_index :co... |
keithtan/main | src/test/java/seedu/superta/logic/parser/DeleteAssignmentCommandParserTest.java | package seedu.superta.logic.parser;
import static seedu.superta.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.superta.logic.parser.CliSyntax.PREFIX_ASSIGNMENT_TITLE;
import static seedu.superta.logic.parser.CliSyntax.PREFIX_GENERAL_ASSIGNMENT_TITLE;
import static seedu.superta.logic.parser.... |
TheCarvalho/atividades-wikipython | ExerciciosListas/09.py | '''
9. Faça um Programa que leia um vetor A com 10 números inteiros, calcule e mostre a soma dos quadrados dos elementos do vetor.
'''
vetorA = []
soma = 0
for i in range(10):
vetorA.append(int(input(f'Num {i+1}: ')))
for i in range(len(vetorA)):
soma += vetorA[i]**2
print(f'A soma dos quadrados dos elementos ... |
paige-ingram/nwhacks2022 | node_modules/@fluentui/react-northstar/dist/dts/test/specs/components/MenuButton/MenuButton-test.js | <reponame>paige-ingram/nwhacks2022<filename>node_modules/@fluentui/react-northstar/dist/dts/test/specs/components/MenuButton/MenuButton-test.js<gh_stars>0
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var MenuButton_1 = require... |
mss-boot-io/mss-boot | service/tenant/form/doc.go | <reponame>mss-boot-io/mss-boot
/*
* @Author: lwnmengjing
* @Date: 2021/6/23 11:24 上午
* @Last Modified by: lwnmengjing
* @Last Modified time: 2021/6/23 11:24 上午
*/
package form
/**
* ⚠️注意: 该包不能调用其他的业务包(controllers, models)
*/
|
paridhikhaitan/good-news-today | node_modules/roughjs/bin/wrappers/worker.js | import { expose } from 'workly';
import * as renderer from '../renderer';
expose(renderer);
|
Divyanshu075/scala-training | src/main/scala/training/date0208/VectorExample.scala | package training.date0208
object VectorExample extends App {
val a: Vector[Int] = scala.collection.immutable.Vector.apply(1,2,3,4)
val a1 = Vector(1,2,3,4,5,6,7)
}
|
VREMSoftwareDevelopment/travelagency | travelagency-wicket/src/main/java/ca/travelagency/components/formdetail/SaveButtonDetail.java | /**
* Copyright (C) 2010 - 2014 VREM Software Development <<EMAIL>>
*
* 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... |
DKE-Data/agrirouter-sdk-python | agrirouter/utils/uuid_util.py | <reponame>DKE-Data/agrirouter-sdk-python
import uuid
def new_uuid():
return str(uuid.uuid4())
|
UmbrellaMalware/easy_vk | easy_vk/user/api/widgets.py | # This file was autogenerated from vk-api json schema
from typing import List, Union, Optional, overload
from easy_vk.types import objects
from easy_vk.types import responses
from easy_vk.api_category import BaseCategory
try:
from typing import Literal
except Exception:
from typing_extensions import Literal
... |
keerthieaaswar/PDA-MOBILE | src/assets/locales/unicode.js | <reponame>keerthieaaswar/PDA-MOBILE
export let UNICODE = {
'arabic' : /[\u0600-\u06FF]/,
'persian' : /[\u0750-\u077F]/,
'Hebrew' : /[\u0590-\u05FF]/,
'Syriac' : /[\u0700-\u074F]/,
'Bengali' : /[\u0980-\u09FF]/,
'Ethiopic' : /[\u1200-\u137F]/,
'Greek and Coptic' : /[\u0370-\u03FF]/,
'Georgian' : /[\u10A0... |
tedj/QCRI-rheem | rheem-platforms/rheem-spark/src/main/java/org/qcri/rheem/spark/mapping/CountToSparkCountMapping.java | package org.qcri.rheem.spark.mapping;
import org.qcri.rheem.basic.operators.CountOperator;
import org.qcri.rheem.core.mapping.*;
import org.qcri.rheem.core.plan.rheemplan.Operator;
import org.qcri.rheem.core.types.DataSetType;
import org.qcri.rheem.spark.operators.SparkCountOperator;
import org.qcri.rheem.spark.platfo... |
ArkadGamesNetwork/HungerGames | src/fr/mrcubee/hungergames/listeners/player/PlayerJoin.java | package fr.mrcubee.hungergames.listeners.player;
import java.util.ArrayList;
import fr.mrcubee.bukkit.packet.GenericListenerManager;
import fr.mrcubee.bukkit.player.PlayerUtils;
import fr.mrcubee.hungergames.Game;
import fr.mrcubee.util.LangUtil;
import net.arkadgames.hungergames.sql.PlayerData;
import org.bukkit.Cha... |
CrackerCat/iWeChat | header6.6.1/FBSDKGraphRequestBody.h | <filename>header6.6.1/FBSDKGraphRequestBody.h
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import <objc/NSObject.h>
@class NSData, NSMutableData;
@interface FBSDKGraphRequestBody : NS... |
norishigefukushima/OpenCP | OpenCP/gif/guidedFilter_Merge_OnePath_Fast.h | #pragma once
#include "guidedFilter_Merge_OnePass.h"
class guidedFilter_Merge_OnePath_Fast : public guidedFilter_Merge_OnePass
{
private:
cv::Mat src_resize;
cv::Mat guide_resize;
int row_resize;
int col_resize;
void filter_Guide1(int cn) override;
void filter_Guide3(int cn) override;
public:
guidedFilter_M... |
markelg/ESMValCore | esmvalcore/cmor/_fixes/cmip6/noresm2_lm.py | """Fixes for NorESM2-LM model."""
import numpy as np
from ..common import ClFixHybridPressureCoord
from ..fix import Fix
class AllVars(Fix):
"""Fixes for all variables."""
def fix_metadata(self, cubes):
"""Fix metadata.
Longitude boundary description may be wrong (lon=[0, 2.5, ..., 355,
... |
patpang71/algorithm | IntervalSetAndOr/src/com/ppang/Interval.java | package com.ppang;
public class Interval {
int start;
int end;
public Interval(int s, int e) {
start = s;
end = e;
}
public Interval(Interval a) {
this.start = a.start;
this.end = a.end;
}
@Override
public String toString() {
return "[" + Integer.toString(start) + ", " + Integer.... |
p2max34/YHPaaS | YHPaaS/Classes/CMSPaaS.framework/Headers/YHTKeyboardViewDelegate.h | //
// YHTKeyboardViewDelegate.h
// cmsmobilesecurities
//
// Created by 蒲公英 on 2020/11/19.
// Copyright © 2020 cms. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, YHTKeyboardType) {
YHTKeyboardTypeCustomize,
YHTKeyboardTypeSystem
};
@protocol YHTKeyboardViewDelegate ... |
rk400/MDS2 | src/main/java/interfaz/Canciones_visibles_para_cibernauta.java | <filename>src/main/java/interfaz/Canciones_visibles_para_cibernauta.java
package interfaz;
public class Canciones_visibles_para_cibernauta {
public Pagina_de_inicio__Administrador_ _unnamed_Pagina_de_inicio__Administrador__;
public Cancion_visible _unnamed_Cancion_visible_;
} |
guoshucan/mpaas | ghost.framework.data.mongodb/src/main/java/ghost/framework/data/mongodb/core/mapping/event/package-info.java | /**
* Mapping event callback infrastructure for the MongoDB document-to-object mapping subsystem.
*/
package ghost.framework.data.mongodb.core.mapping.event;
|
ebanfa/logix | src/main/java/com/cloderia/helion/client/shared/endpoint/ContactmechanismEndPoint.java | /**
*
*/
package com.cloderia.helion.client.shared.endpoint;
import javax.ws.rs.Path;
import com.cloderia.helion.client.shared.model.Contactmechanism;
import com.cloderia.helion.client.shared.ops.ContactmechanismOperation;
/**
* @author <NAME>
*
*/
@Path("/contactmechanism")
public interface ContactmechanismEn... |
kojilin/kaif | kaif-web/src/main/java/io/kaif/oauth/InvalidTokenException.java | <reponame>kojilin/kaif<gh_stars>10-100
package io.kaif.oauth;
public class InvalidTokenException extends OauthException {
}
|
Appego/fortnox4j | src/main/java/org/notima/api/fortnox/entities3/Authorization.java | package org.notima.api.fortnox.entities3;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "Authorization")
public class Authorization {
@XmlElement(name="AccessToken")
private String AccessToken;
public String getAccessToken() {
return Access... |
OotinnyoO1/N64Wasm | code/src/gles2n64/src/gSP_gles2n64.c | #include <stdint.h>
#include <stdlib.h>
#include <assert.h>
#include <math.h>
#include <retro_miscellaneous.h>
#include "Common.h"
#include "gles2N64.h"
#include "Debug.h"
#include "RSP.h"
#include "GBI.h"
#include "gSP.h"
#include "gDP.h"
#include "3DMath.h"
#include "OpenGL.h"
#include "CRC.h"
#include <string.h>
#... |
lcl0512/lcl_Java | donation/src/main/java/com/lcl/donation/service/vo/response/RespDonationInfoVo.java | package com.lcl.donation.service.vo.response;
import com.lcl.donation.entity.ItemList;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
@Setter
@Getter
@ToString
public class RespDonationInfoVo implements Serializa... |
darosh/gridy-games-lib | dist/es6/games/Hex7Game.js | <reponame>darosh/gridy-games-lib
import { HexagonalGrid, Shape } from 'gridy';
import { landscapeHex } from '../utils';
import { HexGameBase } from './base/HexGameBase';
export class Hex7Game extends HexGameBase {
constructor() {
super(landscapeHex(new HexagonalGrid(1, undefined, Shape.Rhombus, 7)));
}
... |
jass2/historyforge-1 | app/helpers/census_records_helper.rb | module CensusRecordsHelper
def census_card_edit(title: nil, list: nil)
header = title && content_tag(:div, title, class: 'card-header')
slider = content_tag :div, list.join('').html_safe, class: 'census-slider vertical'
wrapped_slider = content_tag :div, slider, class: 'census-slider-wrapper'
body = ... |
liuxc123/GTUIKit | components/CommonComponent/Dialogs/src/UIViewController+GTUIDialogs.h | <filename>components/CommonComponent/Dialogs/src/UIViewController+GTUIDialogs.h<gh_stars>1-10
//
// UIViewController+GTUIDialogs.h
// GTCatalog
//
// Created by liuxc on 2018/11/22.
//
#import <UIKit/UIKit.h>
@class GTUIDialogPresentationController;
@interface UIViewController (GTUIDialogs)
/**
The dialog prese... |
arqex/react-urlstack | react-urlstack-playground/src/components/gallery/ui/ListItem.js | import React from 'react';
import {
StyleSheet,
View,
Text,
} from 'react-native';
import Hoverable from '../interactions/Hoverable'
export default ( props ) => {
let mainContent = props.mainContent;
if( !mainContent ){
mainContent = (
<View style={ [ styles.mainContent, props.mainStyle ] }>
... |
gimmetm/ncloud-sdk-go-v2 | services/vmssql/cloud_mssql_character_set.go | /*
* vmssql
*
* <br/>https://ncloud.apigw.ntruss.com/vmssql/v2
*
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package vmssql
type CloudMssqlCharacterSet struct {
// 조회된 리스트의 총 개수
TotalRows *int32 `json:"totalRows,omitempty"`
// 문자셋 이름
CharacterSetName *string `jso... |
eniac/MimicNet | simulate/homatransport/src/common/GlobalSignalListener.cc | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will... |
JoranHonig/BTC-Plus | scripts/bsc/deploy_btcb_plus.js | <reponame>JoranHonig/BTC-Plus<filename>scripts/bsc/deploy_btcb_plus.js
const BTCBPlus = artifacts.require("BTCBPlus");
const ERC20Proxy = artifacts.require("ERC20Proxy");
const VBTC_PLUS = "0xcf8D1D3Fce7C2138F85889068e50F0e7a18b5321";
const ACSBTCB_PLUS = "0xD7806143A4206aa9A816b964e4c994F533b830b0";
module.exports =... |
Viridity-Energy/vGraph | src/lib.js | <reponame>Viridity-Energy/vGraph
module.exports = {
DomHelper: require('./lib/DomHelper.js'),
Eventing: require('./lib/Eventing.js'),
Hitbox: require('./lib/Hitbox.js'),
makeBlob: require('./lib/makeBlob.js'),
Scheduler: require('./lib/Scheduler.js'),
svgColorize: require('./lib/svgColorize.js')
}; |
ravih18/AD-DL | clinicadl/random_search/random_search_cli.py | <filename>clinicadl/random_search/random_search_cli.py<gh_stars>10-100
import click
@click.command("random-search", no_args_is_help=True)
@click.argument(
"launch_directory",
type=str,
)
@click.argument("name", type=str)
def cli(
launch_directory,
name,
):
"""Hyperparameter exploration using rando... |
yone920/rootedinculture | src/pages/archive.js | <filename>src/pages/archive.js<gh_stars>0
import React from 'react'
// import TitleMenu from '../components/TitleMenu'
import Layout from "../components/Layout/layout"
import Listing from "../components/Listing"
import styled from 'styled-components'
import SEO from "../components/seo"
const Archive = () => (
<L... |
DanIverson/ovjTools | NDDS/ndds.4.2e/include/ndds/pres/pres_readerQueue.h | <reponame>DanIverson/ovjTools
/*
* @(#)pres_readerQueue.h generated by: makeheader Mon Dec 3 23:08:15 2007
*
* built from: readerQueue.ifc
*/
#ifndef pres_readerQueue_h
#define pres_readerQueue_h
#include "reda/reda_fastBuffer.h"
#include "reda/reda_skiplist.h"
#include "mig/mig_rtps.h"
#include ... |
franz1981/infinispan | commons/all/src/main/java/org/infinispan/counter/api/Handle.java | <filename>commons/all/src/main/java/org/infinispan/counter/api/Handle.java
package org.infinispan.counter.api;
/**
* As a return of {@link StrongCounter#addListener(CounterListener)}, it is used to un-register the {@link CounterListener}.
*
* @author <NAME>
* @since 9.0
*/
public interface Handle<T extends Counte... |
eliace/chorda | packages/chorda-bulma/src/components/DropdownButton.js | import { Html, Domain } from 'chorda-core'
import { withDropdown } from '../mixins'
import { ButtonWithIcon } from '../extensions'
import DropdownItem from './DropdownItem'
import { Button } from '../elements'
class DropdownModel extends Domain {
config () {
return {
actions: {
... |
thumb-tack/ | testsuite/simple/jaxrs/src/main/java/io/thorntail/testsuite/jaxrs/MyExceptionalResource.java | package io.thorntail.testsuite.jaxrs;
/**
* Created by bob on 2/20/18.
*/
public class MyExceptionalResource {
}
|
netigenkluzowicz/api_android | legacy/src/main/java/pl/netigen/legacy/views/SimpleTouchEventsDetector.java | <filename>legacy/src/main/java/pl/netigen/legacy/views/SimpleTouchEventsDetector.java
package pl.netigen.legacy.views;
import android.view.MotionEvent;
import android.view.View;
import java.util.ArrayList;
import java.util.List;
public class SimpleTouchEventsDetector implements View.OnTouchListener {
private fin... |
Lothindir/camp-manager | src/icons/font-awesome/git-square.js | /* eslint-disable */
var icon = require('vue-svgicon')
icon.register({
'font-awesome/git-square': {
width: 1792,
height: 1792,
viewBox: '0 0 1792 1792',
data: '<path pid="0" d="M710 1308q0 66-93 66-107 0-107-63 0-64 98-64 102 0 102 61zm-36-466q0 85-74 85-77 0-77-84 0-90 77-90 36 0 55 25.5t19 63.5zm166... |
Mirage20/mesh-security | components/cell/io.cellery.security.cell.sts.server/src/test/java/io/cellery/security/cell/sts/server/core/validators/DefaultCellSTSReqValidatorTest.java | <reponame>Mirage20/mesh-security
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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 ... |
abuterin/BIOINF_OLC | BioInf/BioInf/StringGraphComponent.cpp | #include "StringGraphComponent.hpp"
#include "Graph.hpp"
using namespace std;
// contig extraction params
size_t MAX_BRANCHES = 18;
size_t MAX_START_NODES = 100;
double LENGTH_THRESHOLD = 0.05;
double QUALITY_THRESHOLD = 1.0;
//#define ABS(x) ((x < 0) ? x * (-1) : x)
#define MAX(x,y) ((x > y) ? x : y)
#pragma regio... |
openlab/ODAF-OpenTurf | ODAF.iPhoneApp/route-me/samples/TileIssue/Classes/TileIssueViewController.h | <gh_stars>1-10
//
// TileIssueViewController.h
// TileIssue
//
// Created by olivier on 4/8/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RMMapView.h"
@interface TileIssueViewController : UIViewController {
RMMapView *mapView;
}
@property (nonatomic, retain)... |
Artraxon/sgx-radix-hash-join | src/enclave/histograms/GlobalHistogram.cpp | /**
* @author <NAME> <<EMAIL>>
* (c) 2016, ETH Zurich, Systems Group
*
*/
#include "GlobalHistogram.h"
#include <core/Configuration.h>
#include <utils/Debug.h>
#include <Enclave_t.h>
namespace hpcjoin {
namespace histograms {
GlobalHistogram::GlobalHistogram(LocalHistogram* localHistogram) {
this->localHist... |
fofr/manage-courses-prototype | app/filters/dates.js | <filename>app/filters/dates.js
// -------------------------------------------------------------------
// Imports and setup
// -------------------------------------------------------------------
const { DateTime } = require('luxon')
// Leave this filters line
const filters = {}
/* -------------------------------------... |
ShigotoShoujin/shigoto.shoujin | src/gui/window.hpp | <reponame>ShigotoShoujin/shigoto.shoujin<filename>src/gui/window.hpp<gh_stars>1-10
#ifndef SHOUJIN_SOURCE_GUI_WINDOW
#define SHOUJIN_SOURCE_GUI_WINDOW
#include "../enum_operators.hpp"
#include "../event.hpp"
#include "layout.hpp"
#include "window_handle.hpp"
#include "window_taborder.hpp"
#include <memory>
#include <v... |
Abjiri/DataGen | backend/data/controllers/cars.js | <filename>backend/data/controllers/cars.js<gh_stars>1-10
const carsJS = require('../datasets/cars.js');
const cars = carsJS.cars
const _ = require('lodash')
const carsAPI = {
get() { return cars },
car_brand(lang, i, sample) {
if (sample > -1) return _.sampleSize(cars, sample)
return cars[Math... |
JenerikMind/Restaurant-Seating-Reservation | back-end/src/db/seeds/01-tables.js | const tablesData = require("../fixtures/01-tables-data");
exports.seed = function (knex) {
return knex.raw("TRUNCATE TABLE tables RESTART IDENTITY CASCADE")
.then(()=>{
return knex("tables").insert(tablesData);
})
}; |
jefftc/changlab | Betsy/Betsy/modules/fill_missing_with_median.py | from Module import AbstractModule
class Module(AbstractModule):
def __init__(self):
AbstractModule.__init__(self)
def run(
self, network, antecedents, out_attributes, user_options, num_cores,
outfile):
import numpy
import arrayio
from genomicode import filelib
... |
richung99/digitizePlots | venv/Lib/site-packages/nipype/interfaces/freesurfer/tests/test_auto_SurfaceSnapshots.py | # AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from ..utils import SurfaceSnapshots
def test_SurfaceSnapshots_inputs():
input_map = dict(
annot_file=dict(
argstr="-annotation %s",
extensions=None,
xor=["annot_name"],
),
annot_name=dict(
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.