repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
RNunes13/biblio
src/assets/js/pages/Profile/profile-index.js
import ProfileMain from '../../../common/js/modules/Profile'; export default { init() { ProfileMain.init(); }, };
MrMPN/hivemq-mqtt-client
src/main/java/com/hivemq/client/internal/mqtt/mqtt3/Mqtt3RxClientViewBuilder.java
/* * Copyright 2018 dc-square and the HiveMQ MQTT Client 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 * * Unless require...
muescha/website
spec/controllers/markdown_converter_controller_test.rb
require 'spec_helper' describe Api::MarkdownConverterController, type: :controller do it "should render markdown" do text = '**STRONG**' get :convert, text: text expect(response).to be_success expect(response.body).to eq("<p><strong>STRONG</strong></p>\n") end it "should render nothing if no t...
harfol/harthb
application/src/test/java/org/thingsboard/server/mqtt/attributes/request/AbstractMqttAttributesRequestJsonIntegrationTest.java
package org.thingsboard.server.mqtt.attributes.request; import lombok.extern.slf4j.Slf4j; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.thingsboard.server.common.data.TransportPayloadType; @Slf4j public abstract class AbstractMqttAttributesRequestJsonIntegrationTest extends Abstra...
ZHONG007/vxe-table
lib/switch/src/switch.js
<gh_stars>0 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _vue = require("vue"); var _xeUtils = _interopRequireDefault(require("xe-utils")); var _conf = _interopRequireDefault(require("../../v-x-e-table/src/conf")); var _size = require("../../hooks/siz...
shwestrick/mpl
runtime/platform/arm64.h
#define MLton_Platform_Arch_host "arm64"
larkov/MailTrackerBlocker
MailHeaders/Catalina/MailUI/MTMBufferedController.h
<filename>MailHeaders/Catalina/MailUI/MTMBufferedController.h<gh_stars>1000+ // // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> #import "MTMMailboxControllerProtocol-Protocol.h" @class MTMMailbox, NSDicti...
ruanwenjun/spring-study
spring-framework-study/src/test/java/org/example/springframework/contextaware/ApplicationContextAwareConfigTest.java
<filename>spring-framework-study/src/test/java/org/example/springframework/contextaware/ApplicationContextAwareConfigTest.java package org.example.springframework.contextaware; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigA...
thepriyakadam/hrms
app/controllers/training_approvals_controller.rb
class TrainingApprovalsController < ApplicationController before_action :set_training_approval, only: [:show, :edit, :update, :destroy] # GET /training_approvals # GET /training_approvals.json def index @training_approvals = TrainingApproval.all end # GET /training_approvals/1 # GET /training_approv...
TOT0RoKR/tensorflow
tensorflow/core/distributed_runtime/worker.cc
<filename>tensorflow/core/distributed_runtime/worker.cc /* Copyright 2016 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/lice...
whj0401/RLOBF
obfs_analysis/test_bins/sha256sum/obfs_5.c
/* This file has been generated by the Hex-Rays decompiler. Copyright (c) 2007-2017 Hex-Rays <<EMAIL>> Detected compiler: GNU C++ */ #include <defs.h> #include <stdarg.h> //------------------------------------------------------------------------- // Function declarations void *init_proc(); int sub_8048CF0()...
senseobservationsystems/sense-android-library
sense-android-library/src/nl/sense_os/service/external_sensors/ZephyrBioHarness.java
<gh_stars>1-10 /************************************************************************************************** * Copyright (C) 2010 Sense Observation Systems, Rotterdam, the Netherlands. All rights reserved. * *************************************************************************************************/ packa...
scaug10/NETESP
src/main/java/com/g10/ssm/service/LoginService.java
<gh_stars>0 package com.g10.ssm.service; import java.util.List; import com.g10.ssm.po.User; public interface LoginService { /** * 新增注册用户,并为用户赋予一个权限 */ public int saveUser(User user)throws Exception; /** * 查询登录名是否已经存在 */ public boolean isUserIdExist(String userName)throws Exception; /** * 验证用户登录密码是...
aehparta/gauge
hardware/probe-test-stm32/utils/timebase.h
#pragma once #include <common.h> /** Millisecond delay */ void delay_ms(uint32_t ms); /** Second delay */ void delay_s(uint32_t s); /** Schedule a periodic task (like a cron job). Returns success. */ bool register_periodic_task(void (*callback) (void), uint32_t interval_ms); /** Schedule a future one-off task. Retu...
lzpawell/pouch
apis/types/network_disconnect.go
<reponame>lzpawell/pouch // Code generated by go-swagger; DO NOT EDIT. package types // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( strfmt "github.com/go-openapi/strfmt" "github.com/go-openapi/errors" "github.com/go-op...
DazEB2/SimplePyScripts
selenium__examples/pub_fsa_gov_ru__rds__declaration.py
<reponame>DazEB2/SimplePyScripts<filename>selenium__examples/pub_fsa_gov_ru__rds__declaration.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # pip install selenium from selenium import webdriver driver = webdriver.Firefox() driver.implicitly_wait(10) driver.get('https://pub.fsa.gov.ru/rd...
zhaogaolong/study_go
day13/example/beego_example/controller/controller.go
<reponame>zhaogaolong/study_go<filename>day13/example/beego_example/controller/controller.go package controller import ( "github.com/astaxie/beego" "github.com/astaxie/beego/logs" ) type IndexController struct { beego.Controller } func (p *IndexController) Index() { logs.Debug("index get ....") // json result ...
NightScap3/CoseClient
src/net/minecraft/util/Vec4b.java
<gh_stars>1-10 package net.minecraft.util; public class Vec4b { private byte field_176117_a; private byte field_176115_b; private byte field_176116_c; private byte field_176114_d; private static final String __OBFID = "CL_00001964"; public Vec4b(byte p_i45555_1_, byte p_i45555_2_, by...
binary-star-near/near-wallet
packages/frontend/src/utils/getWalletURL.js
<reponame>binary-star-near/near-wallet import { IS_MAINNET, SHOW_PRERELEASE_WARNING } from '../config'; export default (https = true) => { let networkName = ''; if (SHOW_PRERELEASE_WARNING) { networkName = 'staging.'; } else if (!IS_MAINNET) { networkName = 'testnet.'; } return `$...
zjtest2002/ehousechina
TSD/ESS/Apollo/apollo-example-01/src/test/java/com/eju/ess/test/MyTest.java
<filename>TSD/ESS/Apollo/apollo-example-01/src/test/java/com/eju/ess/test/MyTest.java<gh_stars>10-100 package com.eju.ess.test; public class MyTest { @Test public void test(){ } }
alicance/MyScse-Client
androidclass/src/main/java/com/same/androidclass/presenter/CourseRemindPresenter.java
package com.same.androidclass.presenter; import android.content.Context; import com.same.androidclass.view.view.CourseRemindView; /** * 提醒Presenter * Created by alic on 16-5-19. */ public class CourseRemindPresenter { private Context context; private CourseRemindView courseRemindView; public CourseRe...
teixeirab/cs2500--Object-Oriented-Design--NU--2015
HW-6/src/ReplacementPolicy.java
/** * A replacement policy for managing a cache. This class keeps track of * items in a cache, and when the client requires an item, it notifies the * cache via the {@code require} method. The policy then tells the client * what item to evict, if any. * * <p>Items are compared using {@link Object#equals(Object)}....
execomrt/newton-dynamics
newton-3.14/applications/modelEditor/standardPlugins/dPluginCommons/dPluginRender.h
<reponame>execomrt/newton-dynamics<filename>newton-3.14/applications/modelEditor/standardPlugins/dPluginCommons/dPluginRender.h ///////////////////////////////////////////////////////////////////////////// // Name: dSceneNodeInfo.h // Purpose: // Author: <NAME> // Modified by: // Created: 22/05/20...
zhangkn/iOS14Header
System/Library/PrivateFrameworks/AppStoreKit.framework/AppStoreKit.UpdatesPresenter.h
<filename>System/Library/PrivateFrameworks/AppStoreKit.framework/AppStoreKit.UpdatesPresenter.h /* * This header is generated by classdump-dyld 1.0 * on Monday, September 28, 2020 at 5:58:22 PM Mountain Standard Time * Operating System: Version 14.0 (...
A-suozhang/aw_nas
aw_nas/plugin.py
# pylint: disable=invalid-name import os import re import sys import imp import inspect from collections import defaultdict from aw_nas.utils.exception import PluginException from aw_nas.utils.common_utils import get_awnas_dir from aw_nas.utils import logger as _logger LOGGER = _logger.getChild("plugin") plugins = [...
milanqiu/mimas
mimas-jdk-ext/src/main/java/net/milanqiu/mimas/collect/ArrayUtils.java
<reponame>milanqiu/mimas<gh_stars>0 package net.milanqiu.mimas.collect; import java.util.Arrays; /** * Utilities related to array. * <p> * Creation Date: 2014-07-25 * @author <NAME> */ public class ArrayUtils { /** * Utility class is forbidden to be instantiated. */ private ArrayUtils() {} ...
maelvls/ocamlyices2
ext/yices/src/parser_utils/lexer.c
/* * The Yices SMT Solver. Copyright 2014 SRI International. * * This program may only be used subject to the noncommercial end user * license agreement which is downloadable along with this program. */ /* * Generic lexer operations. * * The same data structure is used for both SMTLIB and the Yices language. ...
joseagrc/docker-gitlab
files/gitlab-cookbooks/package/resources/env_dir.rb
<reponame>joseagrc/docker-gitlab<filename>files/gitlab-cookbooks/package/resources/env_dir.rb # # Copyright:: Copyright (c) 2016 GitLab Inc # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You...
monkeesuit/school
Network Security/ARP/arp suite/py/arp_request.py
import arp_source as arp def send(requestedIP): # Sends an ARP Request to the requestedIP # requestedIP = The IP Address You Wish to ARP (Resolve MAC Address) sender = arp.arpclient('eth0') # Create an instance of arpclient found in arp_source.py sender.request(requestedIP) # Call the request fu...
hsiangawang/whois
whois-rpsl/src/main/java/net/ripe/db/whois/common/rpsl/attrs/OrgType.java
<reponame>hsiangawang/whois package net.ripe.db.whois.common.rpsl.attrs; import com.google.common.collect.Maps; import net.ripe.db.whois.common.domain.CIString; import javax.annotation.Nullable; import java.util.Map; import static net.ripe.db.whois.common.domain.CIString.ciString; public enum OrgType { IANA("fo...
wilebeast/FireFox-OS
B2G/gecko/toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js
/* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ const source = "about:mozilla"; let mWindow, wrapMenuItem, syntaxMenuItem; // Check the default values are set. function test() { waitForExplicitFinish(); registerCleanupFunction(function() { SpecialP...
fermi-lat/TkrRecon
src/PatRec/LinkAndTree/TkrLinkForest.h
/* This class defines the forest part of the "link and tree" pattern recognition algorithm. <NAME> Dec 1, 2000 */ #ifndef __TKRLINKFOREST_H #define __TKRLINKFOREST_H #include <list> //#include <vector> #include "src/PatRec/LinkAndTree/TkrLinkTree.h" typedef std::list<TkrLinkTree> treeList; ty...
mangochain2020/mangowallet-ios
MgpWallet/MGPToken/账户钱包/LHWalletManager/Model/TokenModel.h
// // TokenModel.h // realmDemo // // Created by mac on 2020/9/24. // Copyright © 2020 mac. All rights reserved. // #import "RLMObject.h" NS_ASSUME_NONNULL_BEGIN @interface TokenModel : RLMObject @property NSString *ID; @property NSString *identifier; @property NSString *name; @property NSString *iconUrl; @prop...
zhouqiangWang/forbes-code
src/main/java/WordBreak.java
<filename>src/main/java/WordBreak.java import java.util.*; public class WordBreak { public List<String> wordBreak(String s, List<String> wordDict) { Set<String> set = new HashSet<>(); int len = 0; for (String word : wordDict) { set.add(word); len = Math.max(len, word...
moldovanpaul75/city-building-education
iteration3/iteration2_client/src/main/java/View/BugReportWindow.java
<reponame>moldovanpaul75/city-building-education package View; import Controller.BugReportListener; import javax.swing.*; import java.awt.*; public class BugReportWindow extends JFrame{ private MainFrame parentFrame; private JTextField bugNameTextField; private JTextField bugTypeTextField; private ...
glaand/outline
app/embeds/GoogleSlides.test.js
<filename>app/embeds/GoogleSlides.test.js /* eslint-disable flowtype/require-valid-file-annotation */ import GoogleSlides from "./GoogleSlides"; describe("GoogleSlides", () => { const match = GoogleSlides.ENABLED[0]; test("to be enabled on share link", () => { expect( "https://docs.google.com/presentatio...
DanSylvest/wanderer-server
js/api/eve/map/routes/_dir.js
<gh_stars>0 module.exports = { addHub : require("./addHub"), removeHub : require("./removeHub"), list : require("./list"), hubs : require("./hubs"), };
Yalir/Awl
include/Awl/boost/preprocessor/list/filter.hpp
<filename>include/Awl/boost/preprocessor/list/filter.hpp # /* Copyright (C) 2001 # * <NAME> # * http://www.housemarque.com # * # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy at # * http://www.boost.org/LICENSE_1_0.txt) # */ # # /* Revised by <NAM...
gandhinish/omniparser
extensions/omniv21/transform/decl_test.go
<filename>extensions/omniv21/transform/decl_test.go package transform import ( "encoding/json" "fmt" "reflect" "testing" "github.com/bradleyjkemp/cupaloy" "github.com/jf-tech/go-corelib/jsons" "github.com/jf-tech/go-corelib/strs" "github.com/stretchr/testify/assert" ) func TestMarshalDecl(t *testing.T) { va...
mertguner/XChange
xchange-kucoin/src/main/java/org/knowm/xchange/kucoin/service/KucoinTradeService.java
package org.knowm.xchange.kucoin.service; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import org.knowm.xchange.Exchange; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.Order; import org.knowm.xchange.dto.trade.LimitOrder; imp...
satanin/matematicus
app/models/question_comment.rb
class QuestionComment < ActiveRecord::Base belongs_to :user belongs_to :question validates :user_id, presence: true validates :body, presence: true validates :question_id, presence: true end
FilippoAleotti/Dwarf-Tensorflow
general/network.py
''' Base network Author: <NAME> Mail: <EMAIL> ''' from abc import ABCMeta, abstractmethod import tensorflow as tf class GeneralNetwork(object, metaclass=ABCMeta): def __init__(self, params, inputs): ''' Prepare the network and create the graph''' self.params = params self.inputs = inputs ...
luobotao/higouOMS
app/repositories/Order/ChinaAddressRepository.java
package repositories.Order; import java.util.List; import javax.inject.Named; import javax.inject.Singleton; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import models.kjt...
rpiaggio/ocs
bundle/edu.gemini.spdb.reports.collection/src/test/java/edu/gemini/dbTools/ephemeris/TestSupport.scala
<reponame>rpiaggio/ocs<filename>bundle/edu.gemini.spdb.reports.collection/src/test/java/edu/gemini/dbTools/ephemeris/TestSupport.scala<gh_stars>10-100 package edu.gemini.dbTools.ephemeris import edu.gemini.pot.sp.{ISPObsComponent, ISPObservation, ProgramTestSupport, SPComponentType, ISPFactory, ISPProgram, ProgramGen}...
FlyingBird95/openapi_generator
tests/unit/builder/test_process.py
import pytest from openapi_builder import DocumentationOptions from openapi_builder.documentation import Documentation from openapi_builder.exceptions import MissingConfigContext, MissingConverter from openapi_builder.specification import Schema @pytest.mark.parametrize( "documentation_options__strict_mode", ...
laichunjing/design
[2]. Ojbect-Oriented design pattern Demo/[2]. Factory Method Pattern Demo/FMPDemo/Factory/IPhoneFactory.h
<gh_stars>100-1000 // // IPhoneFactory.h // FMPDemo // // Created by <NAME> on 2018/10/3. // Copyright © 2018年 Sunshijie. All rights reserved. // #import "PhoneFactory.h" @interface IPhoneFactory : PhoneFactory @end
pantheon/pantheon
core/src/test/scala/pantheon/PantheonDruidSpec.scala
<reponame>pantheon/pantheon package pantheon import java.net.URI import java.sql.ResultSet import org.scalatest.{MustMatchers, WordSpec} import pantheon.schema._ import util.{Logging, RowSetUtil} import pantheon.planner.ASTBuilders._ import cats.syntax.either._ import pantheon.schema.parser.SchemaParser import panthe...
fxiao/gitlab
ee/app/helpers/ee/dashboard_helper.rb
# frozen_string_literal: true module EE module DashboardHelper extend ::Gitlab::Utils::Override def controller_action_to_child_dashboards(controller = controller_name, action = action_name) case "#{controller}##{action}" when 'projects#index', 'root#index', 'projects#starred', 'projects#trending...
enozcan/hazelcast-cpp-client
hazelcast/test/src/cpp-controller/remote_controller_constants.h
<reponame>enozcan/hazelcast-cpp-client /** * Autogenerated by Thrift Compiler (0.13.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #ifndef remote_controller_CONSTANTS_H #define remote_controller_CONSTANTS_H #include "remote_controller_types.h" namespace hazelcast { names...
smith750/kc
coeus-impl/src/main/java/org/kuali/coeus/common/committee/impl/meeting/CommScheduleActItemBase.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.osedu.org/licenses/ECL-2.0 * * Unless required by applicab...
ShawnZhong/SplitFS
rsync/lib/sysacls.h
/* * Unix SMB/Netbios implementation. * Version 2.2.x * Portable SMB ACL interface * Copyright (C) <NAME> 2000 * Copyright (C) 2007-2008 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
yesihao/pwa-products
src/layout-mgt/containers/Coupons.js
import { connect } from 'react-redux' import { compose } from 'redux' import { createSelector, createStructuredSelector } from 'reselect' import { Initable } from 'reax' import Coupons from '../components/Coupons' import actions from '../actions/coupons' const { load, reset, ...rest } = actions const filteredCoupons...
nb-e/OpenRootSim
OpenSimRoot/src/import/xmlReader/SimulaReaders.cpp
/* Copyright © 2016, The Pennsylvania State University All rights reserved. Copyright © 2016 Forschungszentrum Jülich GmbH All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditi...
one-kind/carbon-vue
src/mixins/theme.js
import Vue from 'vue' export default Vue.extend({ name: 'theme', props: { theme: { type: String, default: null, validate: value => { const result = ['white', 'g10', 'g90', 'g100'].includes(value) if(!result) { console.warn(`theme must be one of: white, g10, g90, g100...
FatConan/formic-acid
src/main/java/de/themonstrouscavalca/formicacid/extractors/impl/collection/LocalDateTimeListExtractor.java
<gh_stars>0 package de.themonstrouscavalca.formicacid.extractors.impl.collection; import com.fasterxml.jackson.databind.JsonNode; import de.themonstrouscavalca.formicacid.extractors.defn.IExtract; import de.themonstrouscavalca.formicacid.extractors.impl.AbstractExtractor; import de.themonstrouscavalca.formicacid.extra...
papillonads/papillonads
packages/components/src/primer/Icon/__tests__/Icon.int.test.js
import { regular, allIcons } from './Icon.int.story' describe('<Icon />', () => { describe('Render', () => { test('must match regular()', () => { expect(global.renderToJSON(regular({}))).toMatchSnapshot() }) test('must match allIcons()', () => { expect(global.renderToJSON(allIcons())).toMatc...
lenloe1/v2.7
protocol/zigbee/documentation/120-3026-000_API_PC_Host/group__apputil.js
var group__apputil = [ [ "Forming and Joining Networks", "group__networks.html", "group__networks" ], [ "Command Interpreter 2", "group__commands2.html", "group__commands2" ], [ "ZigBee Device Object (ZDO) Information", "group__util__zdo.html", "group__util__zdo" ], [ "Message Fragmentation", "group__fr...
korkdaork/FinalPhantasy
models/user.js
const mongoose = require("mongoose"); const Schema = mongoose.Schema; var bcrypt = require('bcrypt-nodejs'); // const jwt = require('jsonwebtoken'); const userSchema = new Schema({ // The email cannot be null, and must be a proper email before creation email: { type: String }, // The password ...
fox-one/compound
store/transaction/transaction.go
<filename>store/transaction/transaction.go<gh_stars>1-10 package transaction import ( "compound/core" "context" "time" "github.com/fox-one/pkg/store/db" "github.com/jinzhu/gorm" ) type transactionStore struct { db *db.DB } // New new transaction store func New(db *db.DB) core.TransactionStore { return &trans...
mullikine/tchannel-go
thrift/thrift-gen/include.go
<gh_stars>100-1000 // Copyright (c) 2015 Uber Technologies, Inc. // 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, co...
rongkaixia/order-server
src/api/ApiPath.js
module.exports = { ORDER_INFO: '/api/order/order_info', ORDER: '/api/order/order', PAY: '/api/order/pay', NOTIFY: '/api/order/notify', DELIVER: '/api/order/deliver', DELIVER_CONFIRM: '/api/order/deliver_confirm', REFUND: '/api/order/refund', REFUND_CONFIRM: '/api/order/refund_confirm', CANCEL: '/api/o...
jinxuchen/virtool
client/src/js/samples/components/Samples.js
<filename>client/src/js/samples/components/Samples.js import React from "react"; import { Switch, Route } from "react-router-dom"; import FileManager from "../../files/components/Manager"; import UniqueNames from "../../administration/components/UniqueNames"; import SampleRights from "../../administration/components/S...
synchu/schemA
src/components/ModelItem/ModelItem.js
/* flow */ import React, {Component} from 'react' import PropTypes from 'prop-types' import { Tab, Switch, Tabs, FontIcon, Card, CardMedia, CardTitle, CardText, CardActions, IconButton, Input } from 'react-toolbox' import classes from './ModelItem.scss' import MediaQuery from 'react-responsive' im...
michaelbeaumont/goformation
cloudformation/aws-emr-instancefleetconfig_ebsblockdeviceconfig.go
package cloudformation import ( "encoding/json" ) // AWSEMRInstanceFleetConfig_EbsBlockDeviceConfig AWS CloudFormation Resource (AWS::EMR::InstanceFleetConfig.EbsBlockDeviceConfig) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancefleetconfig-ebsblockdevice...
jadedevin13/collect
collect-core/src/main/java/org/openforis/collect/model/ApplicationInfo.java
package org.openforis.collect.model; /** * * @author <NAME> * */ public class ApplicationInfo { private String version; public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } }
wangcy6/weekly_read
code_reading/oceanbase-master/src/rootserver/ob_in_zone_server_tracer.cpp
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
grahambates/loopback-component-jsonapi
lib/update.js
<filename>lib/update.js 'use strict' var utils = require('./utils') module.exports = function (app, options) { var remotes = app.remotes() remotes.after('**', function (ctx, next) { if (utils.shouldNotApplyJsonApi(ctx, options)) { return next() } if (ctx.method.name === 'updateAttributes') { ...
decilio4g/delicias-do-tchelo
node_modules/@styled-icons/material-rounded/LockOpen/LockOpen.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var styled_icon_1 = require("@styled-icons/styled-icon"); exports.LockOpen = React.forwardRef(function (props, ref) { var attrs = { "fill": "curren...
officialrafsan/CppDroid
tutorials/learncpp.com#1.0#1/operator_overloading/shallow_vs._deep_copying/source8.cpp
// Copy constructor MyString::MyString(const MyString& cSource) { // because m_nLength is not a pointer, we can shallow copy it m_nLength = cSource.m_nLength; // m_pchString is a pointer, so we need to deep copy it if it is non-null if (cSource.m_pchString) { // allocate memory for our copy...
Cassiobsk8/TestMod3
src/main/java/choonster/testmod3/capability/hiddenblockrevealer/CapabilityHiddenBlockRevealer.java
<reponame>Cassiobsk8/TestMod3 package choonster.testmod3.capability.hiddenblockrevealer; import choonster.testmod3.TestMod3; import choonster.testmod3.api.capability.hiddenblockrevealer.IHiddenBlockRevealer; import choonster.testmod3.capability.CapabilityContainerListenerManager; import choonster.testmod3.item.IItemPr...
OpenBoxProject/ml-temp
src/main/java/org/moonlightcontroller/registry/RegisteredBoxApplication.java
package org.moonlightcontroller.registry; import org.moonlightcontroller.bal.BoxApplication; public class RegisteredBoxApplication { private String name; private String jarName; private BoxApplication application; public RegisteredBoxApplication(String jarName, BoxApplication application) { ...
zuwome/kongxia
kongxia/Views/User/order/detail/ZZTimelineCell.h
// // ZZTimelineCell.h // zuwome // // Created by wlsy on 16/1/21. // Copyright © 2016年 zz. All rights reserved. // #import <UIKit/UIKit.h> @class ZZMessage; @interface ZZTimelineCell : UITableViewCell @property (nonatomic, strong) UIView *lineView; @property (nonatomic, strong) UIImageView *cycleImgView; @prope...
nguyenducdat99/Nextrend
packages/gatsby-woocommerce-theme/src/components/blog-detail/MainContent/index.js
import React from "react"; import CommentIcon from "../../icons/CommentIcon"; import "./styles.scss"; function MainContent({ post, width }) { return ( <div className='content-blog editor-styles-wrapper'> <div className='blog-detail-header-title'> <h1 className='blog-title'>{post.title}</h1> ...
sug0/Charm
src/main/java/svenhjol/charm/tweaks/module/RemovePotionGlint.java
<filename>src/main/java/svenhjol/charm/tweaks/module/RemovePotionGlint.java package svenhjol.charm.tweaks.module; import svenhjol.charm.Charm; import svenhjol.charm.base.CharmCategories; import svenhjol.meson.MesonModule; import svenhjol.meson.iface.Module; @Module(mod = Charm.MOD_ID, category = CharmCategories.TWEAK...
Javorov1103/SoftUni-Course
Software Technologies/0. TeamworkBlog/scripts/VeiwFunctions.js
<filename>Software Technologies/0. TeamworkBlog/scripts/VeiwFunctions.js function showVeiw() { $("#veiwLogin").hide(); $("#veiwRegister").hide(); $("#veiwNewPost").hide(); clearInputs () } function clearInputs () { $('#confirmPassword').val(''); $('#registerPass').val(''); $('#fullName').val(''); $('#registe...
FabrizioKruisland/seriesGuide
SeriesGuide/build/generated/source/apt/amazon/debug/com/battlelancer/seriesguide/loaders/ShowCreditsLoader_MembersInjector.java
<filename>SeriesGuide/build/generated/source/apt/amazon/debug/com/battlelancer/seriesguide/loaders/ShowCreditsLoader_MembersInjector.java<gh_stars>1-10 // Generated by dagger.internal.codegen.ComponentProcessor (https://google.github.io/dagger). package com.battlelancer.seriesguide.loaders; import com.uwetrottmann.tmd...
mirecmrozek/verejne.digital
client/src/dataProviders/dataProvidersUtils.js
// @flow import {receiveData} from '../actions/sharedActions' import type {Dispatch, Path} from '../types/reduxTypes' // helper to be used with data-provider export const dispatchReceivedData = ( path: Path, mappingFn: (Array<Object> | Object) => Object, ...mappingFnArgs: Array<any> ) => (ref: string, data: Arr...
plucena/loja1
src/main/java/net/mybluemix/dao/FornecedorDAO.java
package net.mybluemix.dao; import java.util.List; import javax.persistence.EntityTransaction; import javax.persistence.TypedQuery; import javax.ws.rs.GET; import net.mybluemix.entity.Fornecedor; import net.mybluemix.entity.MateriaPrima; public class FornecedorDAO extends BaseDAO{ public FornecedorDAO() { super(...
sharekey/react-native-navigation
lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/ViewVisibilityListenerAdapter.java
<gh_stars>1000+ package com.reactnativenavigation.viewcontrollers.viewcontroller; import android.view.View; public class ViewVisibilityListenerAdapter implements ViewController.ViewVisibilityListener { @Override public boolean onViewAppeared(View view) { return false; } @Override public b...
TomMD/AIPlatform
src/main/java/io/bugsbunny/dashboard/endpoint/Dashboard.java
<gh_stars>0 package io.bugsbunny.dashboard.endpoint; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import io.bugsbunny.dashboard.service.ModelTrafficService; import io.bugsbunny.data.history.service.PayloadReplayService; import org.slf4j.Logger; import org.slf4...
passeride/TopdownFunTown
src/com/bluebook/util/GameObject.java
package com.bluebook.util; import com.bluebook.engine.GameEngine; import com.bluebook.graphics.Sprite; import com.bluebook.physics.Collider; import com.bluebook.renderer.CanvasRenderer; import com.bluebook.renderer.GraphicsRenderer; import com.bluebook.renderer.RenderLayer; import javafx.scene.canvas.GraphicsContext; ...
ValaaLabs/valaa-stack
src/valaa-core/schema/Data.js
<reponame>ValaaLabs/valaa-stack<filename>src/valaa-core/schema/Data.js // @flow import { GraphQLInterfaceType, GraphQLID, GraphQLNonNull, GraphQLString } from "graphql/type"; import generatedField from "~/valaa-core/tools/graphql/generatedField"; import contentHashResolver from "~/valaa-core/tools/graphql/contentHashRe...
ERPShuen/ICQ1
gui/previewer/Previewer.cpp
#include "stdafx.h" #include "Previewer.h" #include "../main_window/MainWindow.h" #include "../utils/InterConnector.h" #include "../../corelib/enumerations.h" #include "../../gui.shared/implayer.h" #include "../utils/utils.h" namespace { std::unique_ptr<QWidget> PreviewWidget_; std::unique_ptr<QWid...
doitmovin/chromiumos-platform2
cromo/dummy_modem_handler.h
<gh_stars>1-10 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CROMO_DUMMY_MODEM_HANDLER_H_ #define CROMO_DUMMY_MODEM_HANDLER_H_ #include <vector> #include <base/macros.h> #include <dbu...
ascii33/platform2
libhwsec-foundation/status/status_chain_or.h
<reponame>ascii33/platform2<gh_stars>0 // Copyright 2022 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef LIBHWSEC_FOUNDATION_STATUS_STATUS_CHAIN_OR_H_ #define LIBHWSEC_FOUNDATION_STATUS_STATUS_CHAIN_OR_H_ #in...
artlebedev/idea-parser3
main/src/ru/artlebedev/idea/plugins/parser/lang/psi/impl/ParserMethodImpl.java
<filename>main/src/ru/artlebedev/idea/plugins/parser/lang/psi/impl/ParserMethodImpl.java package ru.artlebedev.idea.plugins.parser.lang.psi.impl; import com.intellij.lang.ASTNode; import com.intellij.openapi.components.ServiceManager; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; impor...
mapway/mapway-maven
mapway-web-frame/src/main/java/cn/ennwifi/webframe/service/module/SimpleTableReq.java
/** * */ package cn.ennwifi.webframe.service.module; import java.util.HashMap; import java.util.Map; /** * The type Simple table req. * * @author ShaoRuolin */ public class SimpleTableReq { private Map<String, String> queryMap = new HashMap<String, String>();// 条件查询 /** * Gets q...
xiaohaijin/RHIC-STAR
StRoot/Stl3RawReaderMaker/Stl3CounterMaker.h
// // $Id: Stl3CounterMaker.h,v 1.5 2014/08/06 11:44:00 jeromel Exp $ // // $Log: Stl3CounterMaker.h,v $ // Revision 1.5 2014/08/06 11:44:00 jeromel // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes // // Revision 1.4 2003/09/10 19:47:55 perev // ansi corrs //...
vsukhin/testkube
cmd/kubectl-testkube/commands/version.go
<reponame>vsukhin/testkube package commands import ( "github.com/kubeshop/testkube/cmd/kubectl-testkube/commands/scripts" "github.com/kubeshop/testkube/pkg/ui" "github.com/spf13/cobra" ) func NewVersionCmd() *cobra.Command { return &cobra.Command{ Use: "version", Short: "Shows version and build info", Lon...
touchstonejs/touchstonejs
site/pages/Home.js
var React = require('react'); var Home = React.createClass({ render () { return ( <div> <div className="intro-wrapper"> <div className="ts-container container"> <div className="intro"> <div className="demo"> <div className="demo-viewport"> <iframe src="//touchstonejs.github...
LookThisCode/DeveloperBus
Season 2013/Brazil/Projects/Allow-master/Alow_Android/src/ngvl/android/imfine/ui/ViewMessageActivity.java
<reponame>LookThisCode/DeveloperBus<filename>Season 2013/Brazil/Projects/Allow-master/Alow_Android/src/ngvl/android/imfine/ui/ViewMessageActivity.java package ngvl.android.imfine.ui; import ngvl.android.imfine.R; import ngvl.android.imfine.model.Message; import android.content.Intent; import android.os.Bundle; import ...
Rikkola/guvnor
guvnor-webapp/src/main/java/org/drools/guvnor/client/util/LazyStackPanelHeader.java
/* * Copyright 2010 JBoss 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...
ringtail/cloud-provider-alibaba-cloud
vendor/k8s.io/kubernetes/pkg/kubeapiserver/default_storage_factory_builder.go
<reponame>ringtail/cloud-provider-alibaba-cloud /* Copyright 2016 The Kubernetes 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 requ...
antineutrino2/pyGeoPressure
test/velocity/test_interpolation.py
# -*- coding: utf-8 -*- """ Created on Aug. 31st 2018 """ from __future__ import (absolute_import, division, print_function, unicode_literals) import pytest import numpy as np import pygeopressure as ppp def test__interp_DW(): a = np.array([[2, 2, 2], [2, np.nan, 2], [2, 2, 2]]) ppp.i...
AndiLynn/terrier
src/include/storage/index/generic_key.h
<reponame>AndiLynn/terrier #pragma once #include <algorithm> #include <cstring> #include <functional> #include <vector> #include "common/hash_util.h" #include "storage/index/index_metadata.h" #include "storage/projected_row.h" #include "storage/storage_defs.h" namespace terrier::storage::index { // This is the maxi...
myhong0/sk-bmx-sample
NodeJS/nodedbtutorial/websitetitle.js
var title = "Lauren's Lovely Landscapes"; var websiteTitle = { setTitle : function(newTitle) { title = newTitle; }, getTitle : function() { return title; } } module.exports = websiteTitle;
jelhan/ember-composable-helpers
tests/integration/helpers/compute-test.js
<reponame>jelhan/ember-composable-helpers import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render, find } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; module('Integration | Helper | {{compute}}', function(hooks) { setupRenderingTest(hooks);...
kant/tdar
web/src/main/java/org/tdar/struts/action/cart/CartBillingAccountController.java
<reponame>kant/tdar package org.tdar.struts.action.cart; import org.apache.struts2.convention.annotation.Action; import org.apache.struts2.convention.annotation.Namespace; import org.apache.struts2.convention.annotation.ParentPackage; import org.apache.struts2.convention.annotation.Result; import org.apache.struts2.co...
tomokinakamaru/protocool
src/main/java/com/github/tomokinakamaru/protocool/analysis/EncodeReferenceContexts.java
package com.github.tomokinakamaru.protocool.analysis; import com.github.javaparser.ast.NodeList; import com.github.javaparser.ast.type.ArrayType; import com.github.javaparser.ast.type.ClassOrInterfaceType; import com.github.javaparser.ast.type.ReferenceType; import com.github.javaparser.ast.type.Type; import com.githu...
binoue/cke
vendor/github.com/etcd-io/gofail/code/failpoint.go
<reponame>binoue/cke<gh_stars>100-1000 // Copyright 2016 CoreOS, 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 req...