repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
yaoshengyi/serviceplatform
yshop-api/src/main/java/co/yixiang/modules/shop/entity/EnterpriseTopics.java
<filename>yshop-api/src/main/java/co/yixiang/modules/shop/entity/EnterpriseTopics.java<gh_stars>0 package co.yixiang.modules.shop.entity; import com.baomidou.mybatisplus.annotation.IdType; import co.yixiang.common.entity.BaseEntity; import com.baomidou.mybatisplus.annotation.TableId; import io.swagger.annotations.ApiM...
marriott-library/newspaper_works
spec/lib/newspaper_works/page_finder_spec.rb
require 'spec_helper' RSpec.describe NewspaperWorks::PageFinder do # use before(:all) so we only create fixtures once before(:all) do @issue = NewspaperIssue.new @issue.title = ["Yesterday's News: December 7, 1941"] @page1 = NewspaperPage.new @page1.title = ['Page 1'] @page2 = NewspaperPage.new...
aligungr/ue-ran-sim
src/utils/common.cpp
<gh_stars>10-100 // // This file is a part of UERANSIM open source project. // Copyright (c) 2021 <NAME>. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #include "common.hpp" #include "constants.hpp" #include <algorithm> #i...
Jiang6334/goodhelper
src/main/java/com/okgo/goodhelper/service/Impl/GoodServiceImpl.java
<reponame>Jiang6334/goodhelper<filename>src/main/java/com/okgo/goodhelper/service/Impl/GoodServiceImpl.java<gh_stars>0 package com.okgo.goodhelper.service.Impl; import com.okgo.goodhelper.mapper.GoodMapper; import com.okgo.goodhelper.pojo.Good; import com.okgo.goodhelper.service.GoodService; import org.springframework...
Phygon/aaf
Utilities/AAFAnalyzer/EditProtocolTestImpl/EPAnnotationVisitor.cpp
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
jxerome/tatami
web/src/main/webapp/app/shared/services/GroupService.js
<reponame>jxerome/tatami TatamiApp.factory('GroupService', ['$resource', function($resource) { return $resource('/tatami/rest/groups/:groupId', null, { 'getStatuses': { method: 'GET', isArray: true, params: { groupId: '@groupId' }, url: '/tatami/rest/grou...
albee/astrobee_android_td
core_apks/set_wallpaper/app/src/main/java/gov/nasa/arc/astrobee/set_wallpaper/MainActivity.java
package gov.nasa.arc.astrobee.set_wallpaper; import android.app.WallpaperManager; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.graphics.Rect; import android.net.Uri; import android.support.v7.app.AppCompatActivity; ...
JesusSotoT/NMRepoLog
webapp/modulos/nominas/js/autorizacion.js
<filename>webapp/modulos/nominas/js/autorizacion.js function irConfiguracion(){ window.parent.agregatab('../../modulos/nominas/index.php?c=Catalogos&f=configuracion','Configuracion','',2257); window.parent.preguntar=true; } $(document).ready(function(){ $("#auto").on('click', function() { var btnguardar ...
nicchagil/spring-framework
spring-test/src/main/java/org/springframework/test/context/web/package-info.java
/** * Web support classes for the <em>Spring TestContext Framework</em>. */ @NonNullApi @NonNullFields package org.springframework.test.context.web; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
pblxptr/hhctrl-mgmt
src/common/command/base_command.hpp
#pragma once #include <cstddef> #include <common/command/command_id.hpp> #include <common/command/command_id_generator.hpp> namespace common::command { class BaseCommand { public: explicit BaseCommand(CommandId_t command_id) : id_{command_id} {} BaseCommand(const BaseCommand&) = delete; B...
guotao0628/Gohome
src/dal/dao/IClueDao.java
<filename>src/dal/dao/IClueDao.java package dal.dao; import model.entity.Clue; import java.util.List; /** * @author Huleryo * @date 2017/8/4 * * 失踪人员线索数据接口,对应clue_table */ public interface IClueDao { /** * 插入记录 * * @param clue 需要插入的记录 * @return true 插入成功 * false 插入失败 *...
qq744788292/cnsoft
0.0.x/JAPC-MainHome/src/main/java/org/jfpc/platform/MS0A4/controller/MS0A4Controller.java
<filename>0.0.x/JAPC-MainHome/src/main/java/org/jfpc/platform/MS0A4/controller/MS0A4Controller.java package org.jfpc.platform.MS0A4.controller; import javax.annotation.Resource; import org.jfpc.base.support.MyControllerSupport; import org.jfpc.base.support.MyModelAndViewSupport; import org.jfpc.platform.MS0A4.service...
cyrusccy/Karabiner-Elements
src/core/grabber/include/manipulator/details/basic/to_delayed_action.hpp
<filename>src/core/grabber/include/manipulator/details/basic/to_delayed_action.hpp #pragma once class to_delayed_action final : public pqrs::dispatcher::extra::dispatcher_client { public: to_delayed_action(basic& basic, const nlohmann::json& json) : dispatcher_client(), ...
tobal/hackerrank
problem-solving/algorithms/warmup/plus-minus.scala
<reponame>tobal/hackerrank<filename>problem-solving/algorithms/warmup/plus-minus.scala object Solution { def plusMinus(arr: Array[Int]): Unit = { println(arr.filter(_ > 0).size.toFloat / arr.size) println(arr.filter(_ < 0).size.toFloat / arr.size) println(arr.filter(_ == 0).size.toFloat / ...
Fmendoza91/Proyecto-Final
www/wordpress/wp-content/plugins/wp-user-frontend/assets/js/wpuf-form-builder.js
<reponame>Fmendoza91/Proyecto-Final ;(function($) { 'use strict'; /** * Only proceed if current page is a form builder page */ if (!$('#wpuf-form-builder').length) { return; } if (!Array.prototype.hasOwnProperty('swap')) { Array.prototype.swap = function (from, to) { ...
xymor/file-metadata-manager
imports/ui/components/videos/VideosTable.js
<filename>imports/ui/components/videos/VideosTable.js<gh_stars>0 /* global window, confirm */ import React, { Component } from 'react'; import { _ } from 'meteor/underscore'; import { Table, Tr, Td } from 'reactable'; import { Button } from 'react-bootstrap'; import { css } from 'aphrodite'; import Loading from '../l...
KaiSut0/interactive-hex-meshing
hex/src/views/QuadSurfaceView.cpp
#include "QuadSurfaceView.h" #include <vkoo/core/VertexObject.h> #include <vkoo/st/components/Mesh.h> #include "logging.h" namespace hex { namespace { const float kWireframeOffset = 1e-4f; } QuadSurfaceView::QuadSurfaceView(vkoo::Device& device, vkoo::st::Node& parent_node, ...
sunnywang-arm/edk2-test
uefi-sct/SctPkg/TestCase/UEFI/IHV/Protocol/GraphicsOutput/BlackBoxTest/GraphicsOutputBBTestConformance.c
/** @file Copyright 2006 - 2012 Unified EFI, Inc.<BR> Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full tex...
ScalablyTyped/SlinkyTyped
d/devexpress-web/src/main/scala/typingsSlinky/devexpressWeb/global/ASPxClientRichEditKeyDownEventArgs.scala
package typingsSlinky.devexpressWeb.global import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} /** * Provides data for the ASPxClientRichEdit.KeyDown event. */ @JSGlobal("ASPxC...
uhef/Oskari-Routing-frontend
bundles/framework/bundle/userguide/locale/fi.js
Oskari.registerLocalization( { "lang": "fi", "key": "userinterface.UserGuide", "value": { "title": "Ohje", "desc": "", "flyout": { "title": "Käyttöohje", "loadingtxt": "<p>ladataan sisältöä</p>" }, "tile": { "title": "Käyttöohjeet" ...
smohan-dw/connector-app
e2e/claim-offer.spec.js
<filename>e2e/claim-offer.spec.js describe('Claim Offer', () => { it('Received Claim Offer and Accept', async () => { // verify Claim Offer popup shows up // verify close button, attributes, ignore, and accept button is present // tap on Accept // verify Continue popup shows up // tap on continue ...
lechium/tvOS144Headers
usr/libexec/passd/PDDiscoveryService.h
<gh_stars>1-10 // // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import <PassKitCore/PDXPCService.h> #import "PDDiscoveryServiceExportedInterface-Protocol.h" @class NSString, PDDiscoveryManager, PDRul...
PrachiPrakash/flink
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/DescriptiveStatisticsHistogramStatistics.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 ...
matzew/eventing-kafka
pkg/channel/distributed/dispatcher/dispatcher/dispatcher_test.go
package dispatcher import ( "encoding/json" "fmt" "os" "github.com/Shopify/sarama" "github.com/ghodss/yaml" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" commonconfig "knative.dev/eventing-kafka/pkg/channel/distribu...
marques-work/gocd
agent/src/main/java/com/thoughtworks/go/agent/AgentMain.java
/* * Copyright 2021 ThoughtWorks, 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 agr...
SAP/cloud-odata-java
com.sap.core.odata.processor.core/src/main/java/com/sap/core/odata/processor/core/jpa/model/JPAEdmEntityContainer.java
/******************************************************************************* * Copyright 2013 SAP AG * * 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.apach...
tanel/wardrobe-organizer
ui/weight_entries_page.go
package ui import ( "encoding/json" "github.com/juju/errors" "github.com/tanel/wardrobe-organizer/model" "github.com/tanel/webapp/ui" ) // WeightEntriesPage represents weights page type WeightEntriesPage struct { ui.Page Weights []model.WeightEntry WeightChartDataJSON string } // NewWeightEntries...
iamhuwjones/hermes
corvus-sfrm/src/main/java/hk/hku/cecid/edi/sfrm/task/AcknowledgementTask.java
<reponame>iamhuwjones/hermes /** * Active Task to query the database which message need to fire the acknowledgment request. Then send an acknowledgment to * receiver to enquiry the status of SFRM message in the receiver side. * @auther <NAME> * @version 2.0.0 * @since 2.0.0 */ package hk.hku.cecid.edi.sf...
Sdcrouse/my-verses
spec/features/application_features_spec.rb
require 'rails_helper' RSpec.describe "Feature Test: Page Links", type: :feature do let (:all_page_paths) do [root_path, signup_path] end describe "Each page" do it "has a link to the homepage" do all_page_paths.each do |pagepath| visit pagepath click_button("Home") ...
omerlewitz/ravendb-go-client
circle_criteria.go
package ravendb // CircleCriteria describes circle criteria type CircleCriteria struct { SpatialCriteriaCommon _radius float64 _latitude float64 _longitude float64 _radiusUnits SpatialUnits } // NewCircleCriteria returns new CircleCriteria func NewCircleCriteria(radius float64, latitude float64, longit...
imajid/systemc-compiler
sc_tool/lib/sc_tool/dyn_elab/MangledTypeDB.cpp
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ /** * Author: <NAME> */ #...
jufeng98/b2c-master
maven-parent/b2c-cloud-test-parent-fundamental/b2c-cloud-test-pattern/src/main/java/com/javamaster/b2c/cloud/test/pattern/facade/mac/DvdPlayer.java
package com.javamaster.b2c.cloud.test.pattern.facade.mac; public class DvdPlayer { public void on() { System.out.println("dvd player on"); } public void off() { System.out.println("dvd player off"); } public void play() { System.out.println("dvd player play"); } public void stop() { System.out.printl...
RideShark/transitland-datastore
app/models/gtfs_agency.rb
<reponame>RideShark/transitland-datastore # == Schema Information # # Table name: gtfs_agencies # # id :integer not null, primary key # agency_id :string not null # agency_name :string not null # agency_url :string not null # agency_timezone :strin...
YunZhang2014/mockito-instant
src/test/java/com/blogspot/toomuchcoding/chapters/topFeaturesYouNeedToKnowAbout/_03WorkingWithVoidMethodsAndThrownExceptionsTest.java
package com.blogspot.toomuchcoding.chapters.topFeaturesYouNeedToKnowAbout; import com.blogspot.toomuchcoding.topFeaturesYouNeedToKnowAbout.exception.IAmTooLazyToDoItException; import com.blogspot.toomuchcoding.topFeaturesYouNeedToKnowAbout.service.*; import org.junit.Test; import org.mockito.Mockito; import static co...
devasateam/api
app/models/Discount.java
package models; /** @Author Pramod Email:<EMAIL> */ public class Discount { }
mitch-seymour/ksql
ksql-metastore/src/test/java/io/confluent/ksql/metastore/model/StructuredDataSourceMatchers.java
<filename>ksql-metastore/src/test/java/io/confluent/ksql/metastore/model/StructuredDataSourceMatchers.java /* * Copyright 2019 Confluent Inc. * * Licensed under the Confluent Community License (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * Licens...
Quest1mc/full-app
graphql-types/InputKeywordType.js
<reponame>Quest1mc/full-app const { // GraphQLID, // GraphQLInt, GraphQLString, // GraphQLList, // GraphQLNonNull, // GraphQLObjectType, GraphQLInputObjectType, // GraphQLObjectType } = require('graphql'); // input KeywordInput { // keyword: String // } // const InputKeywordType = new GraphQ...
w4bo/Alchemist
alchemist/alchemist-implementationbase/src/main/java/it/unibo/alchemist/model/implementations/linkingrules/ConnectionBeam.java
/* * Copyright (C) 2010-2014, <NAME> and contributors * listed in the project's pom.xml file. * * This file is part of Alchemist, and is distributed under the terms of * the GNU General Public License, with a linking exception, as described * in the file LICENSE in the Alchemist distribution's top directory. */...
Build-The-Web/bootils
src/bootils/util/dataformats.py
<filename>src/bootils/util/dataformats.py # -*- coding: utf-8 -*- # pylint: disable=bad-continuation """ Data format support & extensions. """ # Copyright © 2015 1&1 Group <<EMAIL>> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # ...
shubhamg931/datahub
datahub-web/@datahub/shared/app/authenticators/aad-sso.js
export { default } from '@datahub/shared/authenticators/aad-sso';
kcyu2014/nas-landmarkreg
nasws/cnn/search_space/monodepth/landmark_procedure.py
""" Add landmark as regualrization inside. """ import torch import math import logging from random import randint import IPython import numpy as np import torch.nn as nn import torch.nn.functional as F """ In general there are many ways to compute such ranking loss. - we could directly compare against the loss va...
zuochengyao/MegviiFaceID
src/main/java/com/megvii/faceid/model/lite/LiteGetResultResponse.java
package com.megvii.faceid.model.lite; import com.google.gson.annotations.SerializedName; import com.megvii.faceid.model.base.response.BaseResponse; import com.megvii.faceid.model.base.response.CompareResponse; import com.megvii.faceid.model.base.common.FaceGenuineness; import com.megvii.faceid.model.base.common.Idcard...
sahiljain11/Emacs-Setup
elpa/jdee-server-master/src/main/java/jde/parser/syntaxtree/DoStatement.java
<gh_stars>0 // // Generated by JTB 1.1.2 // package jde.parser.syntaxtree; /** * Grammar production: * <PRE> * f0 -> "do" * f1 -> Statement() * f2 -> "while" * f3 -> "(" * f4 -> Expression() * f5 -> ")" * f6 -> ";" * </PRE> */ public class DoStatement implements Node { public NodeToken f0; public Sta...
xwlxwl/WeChat
WeChat/WeChat/ViewModel/Search/Music/ItemViewModel/MHSearchMusicHistoryItemViewModel.h
<filename>WeChat/WeChat/ViewModel/Search/Music/ItemViewModel/MHSearchMusicHistoryItemViewModel.h<gh_stars>1000+ // // MHSearchMusicHistoryItemViewModel.h // WeChat // // Created by admin on 2020/5/15. // Copyright © 2020 CoderMikeHe. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGI...
UofTL/yard-sale
client/src/components/ProductCard/ProductCard.js
<filename>client/src/components/ProductCard/ProductCard.js import React from "react"; import "./ProductCard.css"; const ProductCard = props => ( <div className="productContainer"> {props.children} </div> ); export default ProductCard;
rafaelcardoso/design-system
packages/table/src/css/index.js
<reponame>rafaelcardoso/design-system import core from '@pluralsight/ps-design-system-core' export default { '.psds-table': { display: 'flex', width: '100%', flexFlow: 'column', justifyContent: 'center' }, '.psds-table-dark-theme': { backgroundColor: core.colors.gray06, }, '.psds-table-...
bes422/jdi-light
jdi-light-html-tests/src/main/java/io/github/com/pages/HomePageFrame.java
<filename>jdi-light-html-tests/src/main/java/io/github/com/pages/HomePageFrame.java package io.github.com.pages; import com.epam.jdi.light.elements.pageobjects.annotations.simple.Css; import com.epam.jdi.light.ui.html.common.Icon; public class HomePageFrame { @Css("img#user-icon") public Icon userIcon; }
Senthilarun-Sparkout/zipchat-clone-new
zipchat-clone/src/main/java/com/chat/zipchat/clone/Activity/PhotoEdit/PhotoEditActivity.java
package com.chat.zipchat.clone.Activity.PhotoEdit; import android.annotation.SuppressLint; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.provider.MediaStore; import android.support.annotation.NonNull; impor...
JamesHutch/alogic
src/main/scala/com/argondesign/alogic/passes/RemoveUnused.scala
<gh_stars>0 //////////////////////////////////////////////////////////////////////////////// // Argon Design Ltd. Project P8009 Alogic // Copyright (c) 2018 Argon Design Ltd. All rights reserved. // // This file is covered by the BSD (with attribution) license. // See the LICENSE file for the precise wording of the lic...
useaname/thinking-in-spring-boot-samples
spring-boot-2.0-samples/production-ready-sample/src/main/java/thinking/in/spring/boot/samples/production/ready/jmx/spring/boot/SpringBootJmxAnnotationBootstrap.java
<filename>spring-boot-2.0-samples/production-ready-sample/src/main/java/thinking/in/spring/boot/samples/production/ready/jmx/spring/boot/SpringBootJmxAnnotationBootstrap.java package thinking.in.spring.boot.samples.production.ready.jmx.spring.boot; import org.springframework.boot.WebApplicationType; import org.springf...
dimlksin2/dapp
lib/dapp/dapp/deps/gitartifact.rb
module Dapp class Dapp module Deps module Gitartifact def gitartifact_container dappdeps_container(:gitartifact) end def git_bin ruby2go_dappdeps_command(dappdeps: :gitartifact, command: :bin) end end # Gitartifact end # Deps end # Dapp end # ...
calebwhitt/inspec-aws
test/integration/verify/controls/aws_ec2_vpn_endpoint.rb
# frozen_string_literal: true client_vpn_endpoint_id = attribute('client_vpn_endpoint_id', value: '', description: '') skip_control 'aws_ec2_client_vpn_endpoint-1.0' do impact 1.0 title 'Test the properties of the vpn endpoint.' describe aws_ec2_client_vpn_endpoint(client_vpn_endpoint_id: client_vpn_endpoint_id...
dlanghorne0428/dancesport-tracker-projec
comps/models/heat.py
import time from datetime import date, datetime, timezone, timedelta from django.db import models from comps.models.comp import Comp from rankings.models import Couple from comps.scoresheet.calc_points import pro_heat_level, non_pro_heat_level class Heat(models.Model): '''Define information for a single heat''' ...
yaser-elbatal/SacoSafty
src/views/Components/Constant/ConstanceQuery.js
import gql from "graphql-tag"; const Get_const = gql` query Get_scrles { scalars { id created_at updated_at organization_hour_price provider_to_home_price sitter_hour_price fine_minute_price app_percentage } } `; export default Get_const;
davidmc24/cas
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/CasLocaleChangeInterceptor.java
<filename>core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/CasLocaleChangeInterceptor.java package org.apereo.cas.web.support; import org.apereo.cas.configuration.model.core.web.LocaleProperties; import org.apereo.cas.services.ServicesManager; import org.apereo.cas.util.spring.SpringExpressionLang...
SiliconLabs/gecko_sdk
protocol/flex/ble-cli/ble-cli.c
/***************************************************************************//** * @brief ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ********************************************************************...
clarkmcc/go-hubspot
generated/accounting/model_invoice_update_response.go
/* Accounting Extension These APIs allow you to interact with HubSpot's Accounting Extension. It allows you to: * Specify the URLs that HubSpot will use when making webhook requests to your external accounting system. * Respond to webhook calls made to your external accounting system by HubSpot API version: v3 */ //...
jkost/gctoolkit
api/src/main/java/com/microsoft/gctoolkit/parser/datatype/TripleState.java
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. package com.microsoft.gctoolkit.parser.datatype; import java.util.Locale; /** * When a boolean just won't do. Parsing a log file is a process of discovery. Nothing is known until it is known. */ public enum TripleState { ...
bazhenovc/WildMagic
LibGraphics/CurvesSurfaces/Wm5Float2Array.inl
// Geometric Tools, LLC // Copyright (c) 1998-2012 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.0 (2010/01/01) //------------------------------------------------------...
johnrabbit687/Holtzman
imports/pages/give/review/Layout.js
<filename>imports/pages/give/review/Layout.js // @flow import { Component } from "react"; import AccountType from "../../../components/giving/account-type"; import Meta from "../../../components/shared/meta"; import { monetize } from "../../../util/format/"; type ILayout = { transactions: Object, total: number, ...
rafbm/easypost-ruby
lib/easypost/customs_info.rb
class EasyPost::CustomsInfo < EasyPost::Resource def self.all(filters={}, api_key=nil) raise NotImplementedError.new('CustomsInfo.all not implemented.') end end
mxiao666/Dcop
doc/html/search/functions_7.js
<filename>doc/html/search/functions_7.js var searchData= [ ['help',['Help',['../classSysCli.html#a79cdadad0680b7fa7fd926a77263c78c',1,'SysCli']]] ];
paige-ingram/nwhacks2022
node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/Divider/dividerContentStyles.js
<filename>node_modules/@fluentui/react-northstar/dist/es/themes/teams/components/Divider/dividerContentStyles.js import { pxToRem } from '../../../../utils'; export var dividerContentStyles = { root: function root() { return { marginLeft: pxToRem(20), marginRight: pxToRem(20) }; } }; //# sourceM...
TheSledgeHammer/2.11BSD
lib/libc/gen/frexp.c
#if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)frexp.c 5.2 (Berkeley) 3/9/86"; #endif LIBC_SCCS and not lint /* * the call * x = frexp(arg,&exp); * must return a double fp quantity x which is <1.0 * and the corresponding binary exponent "exp". * such that * arg = x*2^exp * if the argumen...
mayarfl/octane-ci-java-sdk
integrations-sdk/src/test/java/com/hp/octane/integrations/services/vulnerabilities/VulnerabilitiesServicePluginServicesTest.java
/* * Copyright 2017 EntIT Software LLC, a Micro Focus company, L.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 * * http://www.apache.org/licenses/LICENSE-2.0 *...
GrapeCity/FitnessExplorer
app/src/main/java/grapecity/fitnessexplorer/ui/views/DashboardView.java
package grapecity.fitnessexplorer.ui.views; import android.content.Context; import android.graphics.Typeface; import android.support.v7.widget.CardView; import android.util.AttributeSet; import android.util.TypedValue; import android.view.Gravity; import android.widget.LinearLayout; import android.widget.TextView; imp...
padreati/rapaio
src/rapaio/core/distributions/Binomial.java
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * Copyright 2013 - 2021 <NAME> * * 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...
aragozin/stackviewer
src/main/java/com/vldocking/swing/docking/event/DockingActionDockableEvent.java
/* VLDocking Framework 3.0 Copyright <NAME>, 2004-2013 www.vldocking.com <EMAIL> ------------------------------------------------------------------------ This software is distributed under the LGPL license The fact that you are presently reading this and using this class means that you have had kn...
zoedalley/cql_engine
cql-engine/src/main/java/org/opencds/cqf/cql/elm/execution/AliasRefEvaluator.java
<reponame>zoedalley/cql_engine package org.opencds.cqf.cql.elm.execution; import org.opencds.cqf.cql.execution.Context; public class AliasRefEvaluator extends org.cqframework.cql.elm.execution.AliasRef { @Override protected Object internalEvaluate(Context context) { return context.resolveAlias(this.g...
kevsersrca/mattermost-server
vendor/github.com/hashicorp/go-sockaddr/cmd/sockaddr/commands.go
<filename>vendor/github.com/hashicorp/go-sockaddr/cmd/sockaddr/commands.go package main import ( "os" "github.com/hashicorp/go-sockaddr/cmd/sockaddr/command" "github.com/mitchellh/cli" ) // Commands is the mapping of all the available CLI commands. var Commands map[string]cli.CommandFactory func init() { ui := ...
qiangxu1996/vmtrace
base/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/dsl/AnnotationProcessorOptions.java
<reponame>qiangxu1996/vmtrace /* * Copyright (C) 2016 The Android Open Source 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....
fjt7tdmi/rafi-1st
src/bin/rafi-emu/System.cpp
<reponame>fjt7tdmi/rafi-1st<filename>src/bin/rafi-emu/System.cpp /* * Copyright 2018 <NAME> * * 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/LICEN...
abrams27/mimuw
sem3/jnp1/playlist/Player.h
<reponame>abrams27/mimuw #ifndef JNPI_PLAYLIST_PLAYER_H #define JNPI_PLAYLIST_PLAYER_H #include "Playable.h" #include "File.h" #include "Playlist.h" #include "PlayableFromFileBuilder.h" #include "PlayerExceptions.h" #include "SequenceMode.h" #include <string> class Player { private: inline static const std::strin...
relax-space/python-learning
utils/t37.py
<reponame>relax-space/python-learning<gh_stars>0 import os import re folder_path = r'D:\1.source\pythonpath\xmly-paid\data\12296837' fileList = os.listdir(folder_path) for file_name in fileList: file_name = os.path.join(folder_path, file_name) if '第一卷' in file_name: last_index = file_name.rindex('\\')...
antonk52/bundlers-comparison
app/src/reducers/request/spec.js
import * as actionTypes from '../../constants/actionTypes'; import request from './index'; describe('request reducer', () => { describe('SET_REQUEST_IN_PROCESS', () => { it('add a request as in process', () => { const REQUEST_TYPE = 'FOO_REQUEST'; const action = { type: actionTypes.SET_REQ...
masasakano/music_i18n
test/controllers/users/edit_roles_controller_test.rb
# coding: utf-8 require "test_helper" class Users::EditRolesControllerTest < ActionDispatch::IntegrationTest # add this include Devise::Test::IntegrationHelpers setup do @moderator = roles(:general_ja_editor).users.first # Editor can manage. @role_admin = roles(:admin) end teardown do Rails.ca...
TopDogger1/corrosion
net/minecraft/block/BlockStoneSlabNew$EnumType.java
<gh_stars>0 public class BlockStoneSlabNew$EnumType { // Failed to decompile, took too long to decompile: net/minecraft/block/BlockStoneSlabNew$EnumType }
wycivil08/blendocv
intern/audaspace/intern/AUD_ResampleReader.h
<gh_stars>10-100 /* * $Id: AUD_ResampleReader.h 39792 2011-08-30 09:15:55Z nexyon $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * Copyright 2009-2011 <NAME> * * This file is part of AudaSpace. * * Audaspace is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
VirtueDev/synced_repo
src/java/com/threerings/msoy/money/data/all/MemberMoney.java
<reponame>VirtueDev/synced_repo<gh_stars>10-100 // // $Id$ package com.threerings.msoy.money.data.all; import com.google.gwt.user.client.rpc.IsSerializable; /** * The amount of money a member has in their coins, bars, and bling accounts. * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> */ public class Me...
JoelGRod/Algorithms-py
src/algorithms/main/searchs/check_item_nested_list.py
<reponame>JoelGRod/Algorithms-py import time """ Search in nested list """ def search_item(test_list, key): for item in test_list: if item == key: return True # Base Case if isinstance(item, list): # Recursive Case if(search_item(item, key)): re...
marnen/catarse_full
catarse_full.gemspec
$:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "catarse_full/version" # Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "catarse_full" s.version = CatarseFull::VERSION s.authors = ["<NAME>"] s.email = ["<EMAIL>"] ...
marufsiddiqui/dev-lg
views/topbar.js
<filename>views/topbar.js var app = app || {}; $(function ($) { 'use strict'; app.Views.Contributor.Topbar = Backbone.View.extend({ className : "", initialize : function () { }, render : function () { var me = this; //create short bio ...
cheminfo-js/mf-parser
packages/peptide/src/__tests__/peptide.test.js
'use strict'; let { generatePeptideFragments, calculateIEP, calculateIEPChart, getColorForIEP, calculateCharge, } = require('..'); describe('generatePeptideFragments', () => { it('Natural peptide, default options', () => { let result = generatePeptideFragments('HAlaGlySerOH'); expect(result).toHav...
uk-gov-mirror/alphagov.content-data-api
spec/domain/etl/edition/content/travel_advice_index_spec.rb
<filename>spec/domain/etl/edition/content/travel_advice_index_spec.rb<gh_stars>1-10 RSpec.describe Etl::Edition::Content::Parser do subject { described_class } it "returns nil if json does not have children array" do json = { schema_name: "travel_advice_index", links: {} } expect(subject.extra...
mndzielski/pomocua-ogloszenia
src/main/java/pl/gov/coi/pomocua/ads/health/HealthOfferDefinitionDTO.java
package pl.gov.coi.pomocua.ads.health; import pl.gov.coi.pomocua.ads.BaseOfferDefinitionDTO; import pl.gov.coi.pomocua.ads.Language; import pl.gov.coi.pomocua.ads.Location; import javax.validation.Valid; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import java.util.List;...
dram/metasfresh
backend/de.metas.adempiere.adempiere/base/src/main/java-gen/org/eevolution/model/X_M_Warehouse_Routing.java
<filename>backend/de.metas.adempiere.adempiere/base/src/main/java-gen/org/eevolution/model/X_M_Warehouse_Routing.java /** Generated Model - DO NOT CHANGE */ package org.eevolution.model; import java.sql.ResultSet; import java.util.Properties; /** Generated Model for M_Warehouse_Routing * @author Adempiere (generate...
lesorres/Cub3D
13_draw_wall_1.c
<reponame>lesorres/Cub3D<filename>13_draw_wall_1.c<gh_stars>0 /* ************************************************************************** */ /* */ /* ::: :::::::: */ /* 13_draw_wa...
webmasterdragon/kittenTricks
ios/Pods/Headers/Public/ExpoKit/EXKernelService.h
<filename>ios/Pods/Headers/Public/ExpoKit/EXKernelService.h // Copyright 2015-present 650 Industries. All rights reserved. @class EXKernelAppRecord; @protocol EXKernelService <NSObject> @optional - (void)kernelDidRegisterAppWithRecord:(EXKernelAppRecord *)record; - (void)kernelWillUnregisterAppWithRecord:(EXKernelAp...
dsuarezf/ixa-pipe-ml
src/main/java/eus/ixa/ixa/pipe/ml/sequence/SequenceLabelSample.java
<reponame>dsuarezf/ixa-pipe-ml<gh_stars>1-10 /* * 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 Lice...
kkretzschmar/PCL
src/modules/processes/Image/ExtractAlphaChannelsInterface.cpp
<filename>src/modules/processes/Image/ExtractAlphaChannelsInterface.cpp // ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 02.01.11.0938 // ---------------------------------------------------------------------------- ...
Peppinux/dero-merchant
httperror/error_test.go
package httperror import ( "encoding/json" "errors" "net/http" "net/http/httptest" "testing" "github.com/gin-contrib/gzip" "github.com/gin-gonic/gin" "github.com/stretchr/testify/assert" ) var testError = &HTTPError{ Code: http.StatusForbidden, Message: "Forbidden", } func doRequest(r *gin.Engine, path...
jssmith/stigdb
base/thread_local_global_pool.h
/* <base/thread_local_global_pool.h> Copyright 2010-2014 Stig 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by...
paullewallencom/spring-978-1-7871-2831-6
_src/Chapter13/ch10-deptservice/src/test/java/org/packt/microservice/core/test/TestReactService.java
<gh_stars>10-100 package org.packt.microservice.core.test; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.junit.runner.RunWith; import org.packt.microservice.core.HRDeptBootApplication; import org.packt.microservice.core.config.HttpServerConfig; import org.packt.microservice.core.confi...
zhangkn/iOS14Header
System/Library/PrivateFrameworks/MobileTimer.framework/MTIntentRepeatDayResolutionResult.h
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:42:40 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/MobileTimer.framework/MobileTimer * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by...
AzDarGee/milieucities
app/client/components/DevSites/Preview/locale.js
import LocalizedStrings from 'react-localization'; const i18n = new LocalizedStrings({ en:{ messageSent: "Message successfully sent!", messageNotSent: "Your message was not sent, please try again.", mustSign: "Must sign in to like a development site.", openForComments: "Open for Comments", commit...
KNMI/VERCE
FDSN_Server/server.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import flask from flask.ext.cache import Cache import inspect import obspy import os import config from event_shelve import EventShelve import station_query EVENT_ROOT_URL = "/fdsnws/event/1/" STATION_ROOT_URL = "/fdsnws/station/1/" PATH = os.path.dirname(os.path.absp...
onezens/sdks
iPhoneOS11.2.sdk/System/Library/Frameworks/GameplayKit.framework/Headers/GKMonteCarloStrategist.h
// // GKMonteCarloStrategist.h // GameplayKit // // Copyright © 2015 Apple. All rights reserved. // #import <GameplayKit/GKStrategist.h> NS_ASSUME_NONNULL_BEGIN /** * The Monte Carlo Strategist is a generic AI that selects a game model update for a given player that results * in the highest likelihood for that ...
Roopesh2/C.js
src/color/random.js
<reponame>Roopesh2/C.js<gh_stars>1-10 import { Colors } from "../constants/colors.js"; import { randomInt } from "../math/random.js"; let definedColorList = Object.keys(Colors); const TR_INDEX = definedColorList.indexOf("TRANSPARENT"); definedColorList = definedColorList.slice(0, TR_INDEX).concat(definedColorList.slic...
brzyangg/sutil
slog/slog_test.go
<gh_stars>10-100 // Copyright 2014 The sutil Author. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package slog import ( "testing" "gitlab.pri.ibanyu.com/middleware/seaweed/xlog" ) func TestShowLog(t *testing.T) { t0(t) t1(t) } func...
w3arthur/Java-Referance
GuitarLessons-ManagmentGUI/src/Classes/Lesson.java
<filename>GuitarLessons-ManagmentGUI/src/Classes/Lesson.java<gh_stars>0 package Classes; import java.io.Serializable; import Exeption.Illegal_Exception_Message; import Exeption.Patterns; import Interface.TeachingInterface; public class Lesson implements TeachingInterface, Serializable { private Student student; pr...