repo_name stringlengths 6 101 | path stringlengths 4 300 | text stringlengths 7 1.31M |
|---|---|---|
qconner/mongo | src/mongo/db/auth/sasl_scram_server_conversation.cpp | /*
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usefu... |
aniket328/CompModelMatch | db/migrate/20141028160723_create_asset_doi_logs.rb | <filename>db/migrate/20141028160723_create_asset_doi_logs.rb
class CreateAssetDoiLogs < ActiveRecord::Migration
def change
create_table :asset_doi_logs do |t|
t.string :asset_type
t.integer :asset_id
t.integer :asset_version
t.string :action
t.text :comment
t.timestamps
en... |
beaglecode/phantomjs | src/qt/src/gui/dialogs/qpagesetupdialog_win.cpp | /****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (<EMAIL>)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser... |
vltmedia/TaxButler | src/api/launchHelp.js | <filename>src/api/launchHelp.js
window.location.href = 'https://github.com/vltmedia/TaxButler';
|
unicsmcr/hs_auth | utils/sendgrid.go | package utils
import (
"github.com/sendgrid/sendgrid-go"
"github.com/unicsmcr/hs_auth/environment"
)
func NewSendgridClient(env *environment.Env) *sendgrid.Client {
return sendgrid.NewSendClient(env.Get(environment.SendgridAPIKey))
}
|
TimCook1/trident | storage_drivers/ontap/api/rest/client/storage/volume_collection_get_responses.go | // Code generated by go-swagger; DO NOT EDIT.
package storage
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
"github.com/netapp/trident/stora... |
noma/dm-heom | dm-heom/src/heom/communicator.cpp | <filename>dm-heom/src/heom/communicator.cpp
// This file is part of DM-HEOM (https://github.com/noma/dm-heom)
//
// Copyright (c) 2015-2019 <NAME>, Zuse Institute Berlin
//
// Licensed under the 3-clause BSD License, see accompanying LICENSE,
// CONTRIBUTORS.md, and README.md for further information.
#include "heom/co... |
Scandy-co/react-360 | React360/js/Views/Sphere.js | <gh_stars>1000+
/**
* Copyright (c) 2015-present, Facebook, Inc.
* 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. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.... |
hmcts/da-cos-api | src/test/java/uk/gov/hmcts/reform/da/dacase/model/ApplicationTypeTest.java | package uk.gov.hmcts.reform.da.dacase.model;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
class ApplicationTypeTest {
@Test
void shouldReturnTrueIfNonMolestationOrderType() {
assertThat(ApplicationType.NON_MOLESTATION_ORDER.isNonMolestationOrder()).isTr... |
njam/puppet-packages | modules/less/spec/init/spec.rb | require 'spec_helper'
describe 'less' do
describe package('less') do
it { should be_installed.by('npm') }
end
describe command('which lessc') do
its(:exit_status) { should eq 0 }
end
end
|
bvaudour/carapace-bin | completers/gh_completer/cmd/secret_remove.go | package cmd
import (
"github.com/rsteube/carapace"
"github.com/rsteube/carapace-bin/completers/gh_completer/cmd/action"
"github.com/spf13/cobra"
)
var secret_removeCmd = &cobra.Command{
Use: "remove",
Short: "Remove secrets",
Run: func(cmd *cobra.Command, args []string) {},
}
func init() {
carapace.Gen(se... |
furas/python-code | __scraping__/report.clinic - requests, BS/main.py | import requests
from bs4 import BeautifulSoup
import pandas as pd
links = [
'https://report.clinic/detail/L_1100170',
'https://report.clinic/detail/L_3020779',
]
all_data = list()
for link in links:
r = requests.get(link)
soup = BeautifulSoup(r.text,'html.parser')
data = {
'tag': [],
... |
braveliuchina/spider | src/main/java/cn/cnki/spider/entity/RenderHtmlVO.java | package cn.cnki.spider.entity;
import lombok.Data;
@Data
public class RenderHtmlVO {
private int crawlType;
private String inputUrl;
private String prefix;
}
|
silferysky/RogueArcher | RogueEngine/Source/VegetationPillbug.cpp | /* Start Header ************************************************************************/
/*!
\file VegetationPillbug.cpp
\project Exale
\author <NAME>, <EMAIL>.foo, 440002318 (100%)
\par <EMAIL>
\date 3 April,2020
\brief This file contains the functions for Vegeta... |
goodmind/FlowDefinitelyTyped | flow-types/types/newline-remove_vx.x.x/flow_v0.25.x-/newline-remove.js | <gh_stars>10-100
declare module "newline-remove" {
/**
* Strip all newlines from the given value
*/
declare function removeNewlines(val: string): string;
declare module.exports: typeof removeNewlines;
}
|
jhaapako/tcf | tests/test_rpyc.py | #! /usr/bin/python3
#
# Copyright (c) 2021 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
import hashlib
import os
import time
import commonl.testing
import tcfl.tc
srcdir = os.path.dirname(__file__)
ttbd = commonl.testing.test_ttbd(
config_files = [
# strip to remove the compiled/optimized ... |
joehewitt/devon | devon/web.py | <filename>devon/web.py
import sys, os.path
import codeop, cgi, datetime, imp, mimetypes, re, signal, thread, threading
import traceback, types, urllib, time
import BaseHTTPServer, SocketServer
import devon.stream, devon.renderers.html, devon.projects
# ****************************************************************... |
django-oscar/django-oscar-datacash | tests/urls.py | from django.conf.urls import *
from datacash.dashboard.app import application
urlpatterns = patterns('',
# Include dashboard URLs
(r'^dashboard/datacash/', include(application.urls)),
(r'^datacash/', include('datacash.urls')),
)
|
cooperative-humans/localorbit | app/controllers/api/v1/filters_controller.rb | <gh_stars>10-100
module Api
module V1
class FiltersController < ApplicationController
before_action :require_selected_market
before_action :require_market_open
def index
# Note: ideally, we want to return the categories that have viable products for
# sale, and only the categori... |
simonCor/poor-mans-ducky-pad | firmware/Inc/animations.h | <reponame>simonCor/poor-mans-ducky-pad
#ifndef __ANIMATIONS_H
#define __ANIMATIONS_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stm32f4xx_hal.h"
#define THREE 3
#define ANIMATION_NO_ANIMATION 0
#define ANIMATION_CROSS_FADE 1
#define ANIMATION_FULLY_ON 2
#define DEFAULT_BG_RED 64
#define DEFAULT... |
joyvuu-dave/comeals-rewrite | app/serializers/rotation_serializer.rb | # == Schema Information
#
# Table name: rotations
#
# id :bigint not null, primary key
# color :string not null
# description :string default(""), not null
# place_value :integer
# residents_notified :boolean default(FALSE), not null... |
icaynia/SoundKi | pracler/src/main/java/com/icaynia/pracler/Fragment/RootFragmentPos1.java | package com.icaynia.pracler.Fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.ListView;
import com.icaynia.pracler.R;
/**
* Created by icayn... |
faturita/mne-python | mne/include/qt/QtScriptTools/5.6.2/QtScriptTools/private/qscriptdebuggercommandschedulerfrontend_p.h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtSCriptTools module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid... |
ThalesGroup/wrangler | wrangler-core/src/main/java/co/cask/wrangler/expression/EL.java | <reponame>ThalesGroup/wrangler<filename>wrangler-core/src/main/java/co/cask/wrangler/expression/EL.java
/*
* Copyright © 2017 <NAME>, 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 Licens... |
SURGroup/UncertaintyQuantification | src/UQpy/distributions/__init__.py | <reponame>SURGroup/UncertaintyQuantification
# pylint: disable=wildcard-import
from UQpy.distributions.baseclass import *
from UQpy.distributions.copulas import *
from UQpy.distributions.collection import *
from . import baseclass, copulas, collection
|
dupliaka/droolsjbpm-integration | kie-plugins-testing/src/test/java/org/drools/compiler/xpath/tobeinstrumented/InjectReactiveMojoConfigTest.java | package org.drools.compiler.xpath.tobeinstrumented;
import java.util.Arrays;
import java.util.List;
import org.drools.core.phreak.ReactiveObject;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import static org.junit.Assert.*;
import static org.kie.maven.plugin.InjectReactiveMojo.con... |
amcclead7336/Enterprise_Data_Science_Final | venv/lib/python3.8/site-packages/vsts/gallery/v4_1/models/extension_acquisition_request.py | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -----------------------------------------------------------------... |
fadi-alkhoury/coin-or-cbc-with-cmake | Cbc/Clp/examples/testGub2.cpp | <filename>Cbc/Clp/examples/testGub2.cpp
/* $Id: testGub2.cpp 2278 2017-10-02 09:51:14Z forrest $ */
// Copyright (C) 2003, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include "ClpSimplex.hpp"
#include "C... |
hei1233212000/avaje-ebeanorm | src/test/java/com/avaje/tests/model/selfref/SelfParent.java | <filename>src/test/java/com/avaje/tests/model/selfref/SelfParent.java
package com.avaje.tests.model.selfref;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persist... |
gadge/spare | packages/debugger/says/test/conversation.says.test.js | import { BOLD } from '@palett/enum-font-effects'
import { Deco } from '@spare/deco'
import { LF } from '@spare/enum-chars'
import { logger, logNeL } from '@spare/logger'
import { says } from '../dist/index.esm'
// const says = Says.build({ effects: [BOLD] })
'what to do' |> s... |
time-link/timelink-py | tests/test_mhk_models_no_db.py | <reponame>time-link/timelink-py<filename>tests/test_mhk_models_no_db.py
"""
Test models with requiring a db connection
"""
import pytest
from timelink.mhk.models import base # noqa
from timelink.mhk.models.entity import Entity # noqa
from timelink.mhk.models.pom_som_mapper import PomSomMapper
from timelink.mhk.mod... |
getspooky/Reactrix | src/hash/__tests__/sha1.test.js | import { validateRules, getStackError } from '../../common';
let sha1Rule = null;
afterEach(() => sha1Rule = null);
test('validates that the string is a sha1 algorithm', () => {
// valid.
sha1Rule = validateRules('265240e109be635c0cb29fabeb8586f234a5d91c', 'sha1');
expect(getStackError(sha1Rule)).toBe(0);
//... |
bear1704/DX11_Portfolio | include/maxsdk/Rendering/RendProgressCallback.h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or download, or which
// otherwise accompanies this ... |
wanli945/zhongcheng | src/views/report/inflow/order/data/mock.js | <filename>src/views/report/inflow/order/data/mock.js
/*
* @IDE : WebStorm
* @time : 2021/2/1 15:24
* @author : 李艳鹏
* @Software : app
* @File : mock
* @describe :
*/
import Mock from "mockjs"
import {getD2D} from "../../data/mock"
export const headerData = {
citySelect: [
{label: "浙江", ... |
LaudateCorpus1/graphql-orchestrator-java | src/test/java/com/intuit/graphql/orchestrator/schema/transform/GraphqlAdapterTransformerTest.java | <gh_stars>10-100
package com.intuit.graphql.orchestrator.schema.transform;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import com.google.common.collect.ImmutableMap;
import com.intuit.graphql.graphQL.ObjectTypeDefinition;
import com.intui... |
yblucky/mdrill | trunk/adhoc-jdbc/src/main/java/com/alimama/mdrill/jdbc/InsertParser.java | package com.alimama.mdrill.jdbc;
import java.io.StringReader;
import java.util.Arrays;
import java.util.List;
import net.sf.jsqlparser.JSQLParserException;
import net.sf.jsqlparser.expression.operators.relational.ExpressionList;
import net.sf.jsqlparser.parser.CCJSqlParserManager;
import net.sf.jsqlparser.sc... |
phishman3579/gs-collections | collections/src/main/java/com/gs/collections/impl/bag/sorted/mutable/TreeBag.java | <filename>collections/src/main/java/com/gs/collections/impl/bag/sorted/mutable/TreeBag.java
/*
* Copyright 2015 <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://w... |
brian-kelley/seacas | docs/apr_html/apr__units_8cc.js | <reponame>brian-kelley/seacas
var apr__units_8cc =
[
[ "unit_systems", "structSEAMS_1_1anonymous__namespace_02apr__units_8cc_03_1_1unit__systems.html", "structSEAMS_1_1anonymous__namespace_02apr__units_8cc_03_1_1unit__systems" ],
[ "comment", "apr__units_8cc.html#a6771b8f4b4e92fa65594a32fd5cedb1d", null ],
... |
sgholamian/log-aware-clone-detection | LACCPlus/Hadoop/78_2.java | //,temp,FsDatasetImpl.java,1218,1241,temp,FsDatasetImpl.java,1061,1097
//,3
public class xxx {
@Override // FsDatasetSpi
public synchronized ReplicaHandler append(ExtendedBlock b,
long newGS, long expectedBlockLen) throws IOException {
// If the block was successfully finalized because all packets
//... |
Pavel3333/xray-oxygen | code/engine.vc2008/xrGame/base_client_classes.h | ////////////////////////////////////////////////////////////////////////////
// Module : base_client_classes.h
// Created : 20.12.2004
// Modified : 20.12.2004
// Author : <NAME>
// Description : XRay base client classes script export
////////////////////////////////////////////////////////////////////////////
#... |
sarataha/yalla-netlob | node_modules/fileupload/index.js | /*!
* <NAME> <<EMAIL>>
*
* New BSD Licensed
*
* Wednesday 18th Jan 2012
*/
module.exports = require('./lib/fileupload.js')
|
jhockett/amplify-ci-support | src/credentials_rotators/npm/stacks/common_stack.py | <gh_stars>1-10
import subprocess
from aws_cdk import core
from aws_cdk.aws_cloudwatch_actions import SnsAction
from aws_cdk.aws_iam import Effect, PolicyStatement, ServicePrincipal
from aws_cdk.aws_lambda import Code, LayerVersion
from aws_cdk.aws_secretsmanager import Secret
from aws_cdk.aws_sns import Topic
from aws... |
zhaozhaojiejie/zz-my-ui | ui/lib/gojs/mixins/finder.js | import {go, toList} from '../utils/lib'
import {download, downloadBlob} from '$ui/utils/download'
export default {
methods: {
/**
* 新增节点
* @param {Object|Object[]} data 节点数据或数据数组
*/
addNode(data) {
const model = this.diagram.model
this.commit(() => {
Array.isArray(data)
... |
bkucera2/cypress | packages/server/test/support/fixtures/projects/plugin-run-events/cypress/integration/run_events_spec_2.js | <filename>packages/server/test/support/fixtures/projects/plugin-run-events/cypress/integration/run_events_spec_2.js
it('is true', () => {})
|
QuaMundo/quamundo-legacy | app/models/concerns/benamed.rb | # frozen_string_literal: true
module Benamed
extend ActiveSupport::Concern
included do
validates :name, presence: true
def to_param
[id, name.parameterize].join('-')
end
end
end
|
BlackYoup/gamecq | StopServer/StopServer.cpp | // StopServer.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "Standard/Event.h"
#include "Standard/CommandLine.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdS... |
amazinglzy/NRA4JsonStore | src/test/java/jp4js/utils/iter/MultiIterTest.java | package jp4js.utils.iter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class MultiIterTest {
@Test
public void basic01_() {
Iter<Integer> iter1 = new ArrayIter<Integer>(new Arr... |
flesher0813/iotdb | service-rpc/src/main/java/org/apache/iotdb/rpc/RpcUtils.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 ... |
mapmeld/GeoGit | src/core/src/main/java/org/geogit/api/porcelain/FetchOp.java | /* Copyright (c) 2013 OpenPlans. All rights reserved.
* This code is licensed under the BSD New License, available at the root
* application directory.
*/
package org.geogit.api.porcelain;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.geogit.api.AbstractGeoGitOp;
import ... |
braymar/afl | qemu_mode/qemu-2.10.0/net/filter-replay.c | /*
* filter-replay.c
*
* Copyright (c) 2010-2016 Institute for System Programming
* of the Russian Academy of Sciences.
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include... |
estuaryoss/seeder | tools/PlanStateComparator.go | <reponame>estuaryoss/seeder
package tools
import (
"reflect"
"seeder/models"
)
type PlanStateComparator struct {
PlanDeployments []*models.ServerDeployment
StateDeployments []*models.ServerDeployment
PlannedChanges []*models.ServerDeployment
NoChanges []*models.ServerDeployment
}
func NewPlanStateCom... |
Elizabeth-Warren/supportal-frontend | constants/LeadEventCategories.js | <gh_stars>10-100
const LeadEventCategories = Object.freeze({
SUCCESSFUL: 'SUCCESSFUL',
UNAVAILABLE: 'UNAVAILABLE',
});
export default LeadEventCategories;
|
eontool/electron-starter-app | compiled/app.js | "use strict";
//Common libraries
const jQuery = require("jquery");
const angular = require("angular");
require("angular-ui-router");
window.$ = window.jQuery = jQuery;
//Constants
const app_constant_1 = require("./constants/app.constant");
//Configuration
const routes_config_1 = require("./configuration/routes.config")... |
rohan2453/ZooRestaurant | src/main/java/edu/nwmissouri/zoo04lab/Elephant.java | <filename>src/main/java/edu/nwmissouri/zoo04lab/Elephant.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.nwmissouri.zoo04lab;
enum SuperPlanet{
EARTH,
JUPITE... |
ekmixon/open-smart-grid-platform | osgp/platform/osgp-domain-core/src/main/java/org/opensmartgridplatform/domain/core/valueobjects/smartmetering/PowerQualityObject.java | <reponame>ekmixon/open-smart-grid-platform
/*
* Copyright 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.apache.org/licenses/LICENSE-2.0
*/
package org.opens... |
arsysop/loft-rdm | bundles/ru.arsysop.loft.rgm.synopsis.model/src-gen/ru/arsysop/loft/rgm/synopsis/model/impl/NamespaceSynopsisImpl.java | <reponame>arsysop/loft-rdm
/*******************************************************************************
* Copyright (c) 2021 ArSysOp.
*
* 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
... |
pipecraft/pipes | pipes-core/src/main/java/org/pipecraft/infra/monitoring/JsonMonitorableWrapper.java | <filename>pipes-core/src/main/java/org/pipecraft/infra/monitoring/JsonMonitorableWrapper.java<gh_stars>1-10
package org.pipecraft.infra.monitoring;
import java.util.HashMap;
import java.util.Map;
import net.minidev.json.JSONObject;
/**
* A simple JsonMonitorable implementation that wraps a set of child monitorables ... |
hacfins/-el-tree-select | public/assets/element-plus-1.2.0-beta.2/lib/components/menu/src/menu-item-group.vue_vue&type=script&lang.js | <filename>public/assets/element-plus-1.2.0-beta.2/lib/components/menu/src/menu-item-group.vue_vue&type=script&lang.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
var error = require('../../../utils/error.js');
var menuItemGroup = require('./menu-item-group.js... |
findopendata/findopendata | tests/test_avro.py | import io
import unittest
from collections import OrderedDict
import fastavro
from findopendata.parsers.avro import JSON2AvroRecords, avro2json
records = [
{"username": "javasucks", "email": "<EMAIL>"},
{"username": "moonshoot", "email": "<EMAIL>"},
{"username": "twilight", "email": "<EMAIL>... |
croz-ltd/nrich | nrich-search/src/test/java/net/croz/nrich/search/converter/DefaultStringToTypeConverterTest.java | /*
* Copyright 2020-2022 <NAME>.o.o, the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
ponder-lab/dari | h2/src/main/java/com/psddev/dari/h2/SearchUpdateTrigger.java | <gh_stars>10-100
package com.psddev.dari.h2;
import com.psddev.dari.db.Query;
import com.psddev.dari.util.ObjectUtils;
import org.h2.api.Trigger;
import org.jooq.DSLContext;
import org.jooq.Field;
import org.jooq.Record;
import org.jooq.SQLDialect;
import org.jooq.Table;
import org.jooq.impl.DSL;
import java.nio.char... |
HANS-2002/Btech-first-year-questions-C | class8/2.c | <reponame>HANS-2002/Btech-first-year-questions-C
#include<stdio.h>
int main()
{
//Q2.WAP to print your name 5 times using while loop.
int i=1;
while(i<=5)
{
printf("HP \n");
i++;
}
return 0;
} |
vanduc1102/caption | main/data/extensions.js | const extensions = [
"3g2",
"3gp",
"3gp2",
"3gpp",
"60d",
"ajp",
"asf",
"asx",
"avchd",
"avi",
"bik",
"bix",
"box",
"cam",
"dat",
"divx",
"dmf",
"dv",
"dvr-ms",
"evo",
"flc",
"fli",
"flic",
"flv",
"flx",
"gvi",
"gvp",
"h264",
"m1v",
"m2p",
"m2ts",
"m2v",
... |
PresidentWarfield/SpiCall_Artemide_Exodus | spicall_artemide_spartacus_exodus/com/google/gson/b/a/d.java | <gh_stars>1-10
package com.google.gson.b.a;
import com.google.gson.a.b;
import com.google.gson.b.c;
import com.google.gson.b.h;
import com.google.gson.c.a;
import com.google.gson.f;
import com.google.gson.k;
import com.google.gson.q;
import com.google.gson.s;
import com.google.gson.t;
public final class d
implement... |
lcmftianci/licodeanalysis | vosvideoserver/VosVideo.Communication/WebsocketClient.cpp | <filename>vosvideoserver/VosVideo.Communication/WebsocketClient.cpp
#include "stdafx.h"
#include "WebsocketClient.h"
using namespace vosvideo::communication;
WebsocketClient::WebsocketClient(std::shared_ptr<WebsocketClientEngine> websocketClientEngine) : engine_(websocketClientEngine)
{
}
WebsocketClient::~Websocke... |
Scorpionchiques/qmlcore-android | app/src/main/java/com/pureqml/android/runtime/LocalStorage.java | <filename>app/src/main/java/com/pureqml/android/runtime/LocalStorage.java
package com.pureqml.android.runtime;
import android.content.Context;
import android.util.Log;
import com.eclipsesource.v8.Releasable;
import com.eclipsesource.v8.V8Array;
import com.eclipsesource.v8.V8Function;
import com.eclipsesource.v8.V8Obj... |
Nuvoloso/storelandia_open_source | nuvo/map_mfl.c | <gh_stars>0
/* Copyright 2019 <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/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
dyzmapl/BumpTop | trunk/win/Source/Includes/QtIncludes/src/3rdparty/webkit/WebCore/ForwardingHeaders/runtime/PrototypeFunction.h | <reponame>dyzmapl/BumpTop
#ifndef WebCore_FWD_PrototypeFunction_h
#define WebCore_FWD_PrototypeFunction_h
#include <JavaScriptCore/PrototypeFunction.h>
#endif
|
albertobarri/idk | tests/nbody-java/java_nio_charset_CharsetEncoder.h | <gh_stars>10-100
#ifndef __JAVA_NIO_CHARSET_CHARSETENCODER__
#define __JAVA_NIO_CHARSET_CHARSETENCODER__
#include "xmlvm.h"
// Preprocessor constants for interfaces:
#define XMLVM_ITABLE_SIZE_java_nio_charset_CharsetEncoder 0
// Implemented interfaces:
// Super Class:
#include "java_lang_Object.h"
// Circular refere... |
Pivotal-Field-Engineering/spring-cloud | spring-cloud-cloudfoundry-connector/src/main/java/org/springframework/cloud/cloudfoundry/MysqlServiceInfoCreator.java | package org.springframework.cloud.cloudfoundry;
import org.springframework.cloud.service.common.MysqlServiceInfo;
/**
*
* @author <NAME>
*
*/
public class MysqlServiceInfoCreator extends RelationalServiceInfoCreator<MysqlServiceInfo> {
public MysqlServiceInfoCreator() {
// the literal in the tag is Clou... |
bm2-lab/CRISPR-off-target-data-imbalance | scripts_for_improve_CRISTA/detailed/op8b_build_stu_div_cls.py | <reponame>bm2-lab/CRISPR-off-target-data-imbalance
import numpy as np
from sklearn.ensemble import RandomForestClassifier
from sklearn.externals import joblib
stu_common = joblib.load('data/stu_common_div_tr.pkl')
stu_unique = joblib.load('data/stu_unique_div_tr.pkl')
params = joblib.load('params.pkl')
del params['cri... |
jbschroder/pymgrit | examples/example_dahlquist.py | """
Use PyMGRIT's routines simple_setup_problem() and Mgrit() to
generate a multigrid hierarchy and MGRIT solver and run the
solver routine mgrit.solve().
"""
from pymgrit.dahlquist.dahlquist import Dahlquist
from pymgrit.core.simple_setup_problem import simple_setup_problem
from pymgrit.core.mgrit import Mgrit
def ... |
alexsandertech/minimalist-minesweeper-javascrip | js/modules/main-loop-modules/listenerButtons.js | import { addListenerClickLEFT } from "../general-modules/listenerClick.js";
import { addListenerClickRIGHT } from "../general-modules/listenerClick.js";
import { removeListenerClickLEFT } from "../general-modules/listenerClick.js";
import { removeListenerClickRIGHT } from "../general-modules/listenerClick.js";
export ... |
edugonza/PADAS | src/org/processmining/database/redologs/common/IdBatchDispenser.java | <gh_stars>1-10
package org.processmining.database.redologs.common;
public class IdBatchDispenser {
private int startId = 0;
private int batchSize = 100;
public IdBatchDispenser(int startId, int batchSize) {
this.startId = startId;
this.batchSize = batchSize;
}
public IdDispenser getDispenser() {
IdDisp... |
icaas/DataX | common/src/test/java/com/alibaba/datax/common/exception/FakeErrorCode.java | package com.alibaba.datax.common.exception;
import com.alibaba.datax.common.spi.ErrorCode;
public enum FakeErrorCode implements ErrorCode {
FAKE_ERROR_CODE_ONLY_FOR_TEST_00("FakeErrorCode-00",
"only a test, FakeErrorCode."), FAKE_ERROR_CODE_ONLY_FOR_TEST_01(
"FakeErrorCode-01",
"only a test, FakeErrorCode,... |
julianmichael/qasrl-roles | qasrl-roles/modeling/src-js/package.scala | <gh_stars>1-10
package qasrl.roles.modeling
trait PackagePlatformExtensions {
trait TFIDFPlatformExtensions
}
|
Rafsanjani/media | libraries/transformer/src/main/java/androidx/media3/transformer/VideoEncoderSettings.java | <gh_stars>100-1000
/*
* Copyright 2022 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.0
*
* Unless ... |
muratcoskunn/dcl350-2022-mar-10-main | hr-domain/src/com/example/hr/domain/FullName.java | package com.example.hr.domain;
import java.util.Objects;
import com.example.ddd.annotations.ValueObject;
@ValueObject
public final class FullName {
private final String firstName;
private final String lastName;
public static FullName of(String firstName, String lastName) {
Objects.requireNonNull(firstName);
... |
mforbes/readthedocs.org | readthedocs/oauth/migrations/0013_create_new_table_for_remote_repository_normalization.py | <reponame>mforbes/readthedocs.org
# Generated by Django 2.2.17 on 2020-12-21 18:16
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import django_extensions.db.fields
class Migration(migrations.Migration):
dependencies = [
('socialaccount', '0003... |
rjw57/tiw-computer | emulator/src/devices/bus/einstein/pipe/tk02.cpp | // license: GPL-2.0+
// copyright-holders: <NAME>, <NAME>
/***************************************************************************
TK02 80 Column Monochrome Unit
***************************************************************************/
#include "emu.h"
#include "tk02.h"
#include "screen.h"
//***********... |
LeeWongSnail/SourceCode_ReadingNote | xnu-2782.1.97/bsd/kern/pthread_shims.c | /*
* Copyright (c) 2012 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except ... |
zwliew/ctci | solutions/ctci/solution.py | def solve(head, k):
pass
|
MOAMaster/AudioPlugSharp-SamplePlugins | vst3sdk/doc/vstexamples/pitchnames_2source_2version_8h.js | var pitchnames_2source_2version_8h =
[
[ "MAJOR_VERSION_STR", "pitchnames_2source_2version_8h.html#adb2701b32a110347dbec4c7d92b3cce2", null ],
[ "MAJOR_VERSION_INT", "pitchnames_2source_2version_8h.html#a1b1d372b4f38ad0455414c7bcfb7150d", null ],
[ "SUB_VERSION_STR", "pitchnames_2source_2version_8h.html#a8e... |
Valentin9003/Java | Databases Frameworks - Hibernate & Spring Data/Exercise - Spring Data Intro/users-system/src/main/java/users/system/service/impl/TownServiceImpl.java | package users.system.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import users.system.repositories.TownRepo;
import users.system.service.interfaces.TownService;
import javax.transaction.Transactional;
@Service
@Transactional
public class ... |
moraispgsi/wire | old/flow/output-node.go | package flow
import (
"strconv"
"io"
)
type OutputNode struct {
Node
getReader func(context *Context) io.Reader
}
func NewOutputNode(graph *Graph, getReader func(context *Context) io.Reader) *OutputNode {
node := NewVoidNode(false)
node = OutputNode {
node,
}
graph.AddN... |
skochinsky/efiwrapper | libefiwrapper/ewvar.c | <filename>libefiwrapper/ewvar.c
/*
* Copyright (c) 2016, Intel Corporation
* All rights reserved.
*
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of sour... |
dma-graveyard/MaritimeCloudPortalTestbed | src/main/java/net/maritimecloud/identityregistry/command/user/ResetPasswordSaga.java | <reponame>dma-graveyard/MaritimeCloudPortalTestbed<gh_stars>1-10
/* Copyright 2014 Danish Maritime Authority.
*
* 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.apac... |
jasarsoft/fit-src | pr1/vjezbe/Zadatak01/Source.cpp | <reponame>jasarsoft/fit-src<filename>pr1/vjezbe/Zadatak01/Source.cpp<gh_stars>0
//prvi program
#include <iostream>
using namespace std;
int main()
{
cout << "STO JE DANAS LIJEP DAN";
system("pause");
return 0;
} |
hehuiran/peach | app/src/main/java/me/jessyan/peach/shop/home/mvp/contract/SearchGoodsContract.java | package me.jessyan.peach.shop.home.mvp.contract;
import com.jess.arms.mvp.IModel;
import com.jess.arms.mvp.IView;
import java.util.List;
import io.reactivex.Observable;
import me.jessyan.peach.shop.entity.search.SearchOptionalBean;
import me.jessyan.peach.shop.entity.search.SearchRecordBean;
/**
* ===============... |
snosov1/opencv | apps/interactive-calibration/frameProcessor.hpp | <filename>apps/interactive-calibration/frameProcessor.hpp<gh_stars>1-10
#ifndef FRAME_PROCESSOR_HPP
#define FRAME_PROCESSOR_HPP
#include <opencv2/core.hpp>
#include <opencv2/aruco/charuco.hpp>
#include <opencv2/calib3d.hpp>
#include "calibCommon.hpp"
#include "calibController.hpp"
namespace calib
{
class FrameProcess... |
jspm/babel-plugin-transform-cjs-dew | test/fixtures/dew-interop/expected.js | <reponame>jspm/babel-plugin-transform-cjs-dew
import * as _x from "./x";
var exports = {},
_dewExec = false;
export function dew() {
if (_dewExec) return exports;
_dewExec = true;
exports.x = 5;
exports.y = _x.__dew ? _x.__dew() : _x.default;
return exports;
} |
Andreas237/AndroidPolicyAutomation | ExtractedJars/Ibotta_com.ibotta.android/javafiles/com/bumptech/glide/load/data/AssetFileDescriptorLocalUriFetcher.java | // Decompiled by Jad v1.5.8g. Copyright 2001 <NAME>.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.bumptech.glide.load.data;
import android.content.ContentResolver;
import android.content.res.AssetFileDescriptor;
import android.net.Uri;
import java.io... |
bejphil/FoxFire-regression | docs/dir_d5bac1d80f65f7075574489e24503a17.js | <reponame>bejphil/FoxFire-regression
var dir_d5bac1d80f65f7075574489e24503a17 =
[
[ "debug.hpp", "debug_8hpp.html", "debug_8hpp" ],
[ "generics.hpp", "generics_8hpp.html", "generics_8hpp" ],
[ "ocl_debug.cpp", "ocl__debug_8cpp_source.html", null ],
[ "ocl_debug.hpp", "ocl__debug_8hpp.html", "ocl__debug_... |
AhmedLeithy/Recognizers-Text | Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberOptions.java | <reponame>AhmedLeithy/Recognizers-Text
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.recognizers.text.number;
public enum NumberOptions {
None(0),
PercentageMode(1),
ExperimentalMode(4194304); // 2 ^22
private final int value;
... |
DroidSoul/InterviewPrep | LinkedLists/MergeTwoSortedLists.java | /**
* Definition for singly-linked list.
* class ListNode {
* public int val;
* public ListNode next;
* ListNode(int x) { val = x; next = null; }
* }
*/
public class Solution {
public ListNode mergeTwoLists(ListNode a, ListNode b) {
ListNode dummy = new ListNode(-1);
ListNode head = dummy;... |
huangsongyao/HSYUIArchitectureToolsKit | HSYUIArchitectureToolsKit/Classes/Model/HSYBaseCustomSegmentedPageModel.h | <filename>HSYUIArchitectureToolsKit/Classes/Model/HSYBaseCustomSegmentedPageModel.h
//
// HSYBaseCustomSegmentedPageModel.h
// HSYUIToolsKit
//
// Created by anmin on 2019/12/25.
//
#import "HSYBaseModel.h"
#import "HSYBaseCustomSegmentedPageControlItem.h"
#import <HSYMethodsToolsKit/UIViewController+Load.h>
NS_AS... |
inqwell/inq | src/main/java/com/inqwell/any/SimpleEvent.java | <filename>src/main/java/com/inqwell/any/SimpleEvent.java
/**
* Copyright (C) 2011 Inqwell Ltd
*
* You may distribute under the terms of the Artistic License, as specified in
* the README file.
*/
/*
* $Archive: /src/com/inqwell/any/SimpleEvent.java $
* $Author: sanderst $
* $Revision: 1.2 $
* $Date: 2011-04-0... |
williewheeler/zkybase | ui/src/test/java/org/zkybase/web/controller/application/ApplicationCrudControllerTests.java | <reponame>williewheeler/zkybase
/*
* ApplicationCrudControllerTests.java
*
* Copyright 2011-2012 the original author or 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
*
... |
kadds/NaOS | naos/includes/kernel/fs/vfs/pseudo.hpp | <filename>naos/includes/kernel/fs/vfs/pseudo.hpp
#pragma once
#include "../../util/circular_buffer.hpp"
#include "../../wait.hpp"
#include "common.hpp"
namespace fs::vfs
{
/// pseudo device interface
class pseudo_t
{
public:
virtual i64 write(const byte *data, u64 size, flag_t flags) = 0;
virtual i64 read(byt... |
Akhandalmanimalik/MortgageApp | app/com/syml/hibernate/dao/IPostGresDaoService.java | package com.syml.hibernate.dao;
import java.util.ArrayList;
import java.util.List;
import controllers.Applicant;
import controllers.ApplicantOpportunityRelationShip;
import controllers.Contact;
import controllers.Lead;
import controllers.Opportunity;
import controllers.Referral_Source;
public interface IPostGresDao... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.