max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,144 | <gh_stars>1000+
package org.compiere.util;
import java.awt.Component;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.Window;
import javax.swing.JDialog;
import javax.swing.JFrame;
import lombok.experimental.UtilityClass;
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 201... | 734 |
1,964 | //
// immer: immutable data structures for C++
// Copyright (C) 2016, 2017, 2018 <NAME>
//
// This software is distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
//
#include <immer/refcount/no_refcount_policy.hpp>
#include <immer/refc... | 594 |
379 | // Copyright (c) 2014, <NAME>. All rights reserved.
// Use of this source code is governed by the BSD 3-Clause License,
// that can be found in the LICENSE file.
#ifndef KINGDB_WRITE_BUFFER_H_
#define KINGDB_WRITE_BUFFER_H_
#include "util/debug.h"
#include <cinttypes>
#include <thread>
#include <map>
#include <array>... | 1,631 |
923 | <reponame>naviocean/SimpleCVReproduction
import argparse
def get_args():
parser = argparse.ArgumentParser("Single_Path_One_Shot")
parser.add_argument('--exp_name', type=str, default='spos_cifar10', required=True, help='experiment name')
parser.add_argument('--data_dir', type=str, default='/home/pdluser/pr... | 617 |
1,711 | /*
_____ _____ _____ __
| __| | | | | The SOUL language
|__ | | | | | |__ Copyright (c) 2019 - ROLI Ltd.
|_____|_____|_____|_____|
The code in this file is provided under the terms of the ISC license:
Permission to use, copy, modify, and/or distribute this software for any p... | 793 |
609 | <filename>thrill/common/logger.cpp
/*******************************************************************************
* thrill/common/logger.cpp
*
* Simple and less simple logging classes.
*
* Part of Project Thrill - http://project-thrill.org
*
* Copyright (C) 2015 <NAME> <<EMAIL>>
*
* All rights reserved. Publ... | 1,359 |
1,326 | <reponame>braisdom/ObjectSql<filename>core/src/main/java/com/github/braisdom/objsql/DefaultSQLExecutor.java<gh_stars>1000+
/*
* 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 c... | 3,575 |
430 | {
"name": "BBC: Search results",
"category": "Scraping",
"description": "Add search terms as seed nodes and fetch data.\n\nThis preset uses the search of https://www.bbc.co.uk/search?q=disinformation+campaign to fetch a list of articles from the BBC news site. \n\nSee the wiki for information about using CSS and ... | 584 |
2,360 | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
"""The install files json file (install_manifest.json) already exists in
the package install folder, so this analyzer simp... | 320 |
1,738 | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 1,513 |
1,272 | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | 1,496 |
3,967 | <gh_stars>1000+
// Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
/... | 605 |
1,695 | <reponame>happybin92/trino<filename>plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/transactionlog/statistics/BenchmarkExtendedStatistics.java
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... | 2,465 |
1,607 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | 764 |
310 | package org.seasar.doma.jdbc.criteria.context;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import org.seasar.doma.jdbc.criteria.metamodel.EntityMetamodel;
public class DeleteContext implements Context {
public final EntityMetamodel<?> entityMetamodel;
... | 290 |
587 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | 1,185 |
988 | <reponame>AlexeyMochalov/firebird
/*
* Simple shared-key based authentication plugin
* Each node (firebird server) contains same key which is used to authenticate cross-server
* connections. Each connection coming from one node to another has on target same
* login as it was on source node.
*
* The contents of t... | 3,937 |
709 | #ifndef RAINSW_LOG_H
#define RAINSW_LOG_H
#include "spdlog/spdlog.h"
#include "cbor.h"
#include "common.h"
namespace tasklib {
extern std::shared_ptr<spdlog::logger> logger;
void log_errno_and_exit(const char *tmp) __attribute__ ((noreturn));
void log_cbor_error_and_exit() __attribute__ ((noreturn));
... | 216 |
1,045 | <filename>optimus/engines/cudf/constants.py<gh_stars>1000+
from optimus.engines.base.constants import BaseConstants
class Constants(BaseConstants):
pass
| 56 |
310 | package org.seasar.doma.internal.apt.meta.entity;
import static java.util.stream.Collectors.toList;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.Mo... | 1,011 |
382 | <gh_stars>100-1000
/*
* Copyright 2021 Armory, 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... | 586 |
7,482 | <filename>bsp/at91sam9g45/platform/irq.h
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2011-01-13 weety first version
*/
#ifndef __IRQ_H__
#define __IRQ_H__
#ifdef __cplusplus
extern "C" {
#endif... | 407 |
852 | <filename>DQM/TrackerMonitorTrack/python/MonitorTrackResiduals_cff.py
import FWCore.ParameterSet.Config as cms
#TrackRefitter With Material
from RecoTracker.TrackProducer.TrackRefitters_cff import *
TrackRefitter.TrajectoryInEvent = True
# usually without refit: # TransientTrackingRecHitBuilder: no refit of hits...
#T... | 430 |
446 | #ifndef RING_BUFFER_H
#define RING_BUFFER_H
#include "ruby.h"
typedef struct ring_buffer {
VALUE *entries;
unsigned int size;
unsigned int count;
unsigned int head;
unsigned int tail;
} ring_buffer;
void ring_buffer_init(ring_buffer *buffer);
void ring_buffer_free(ring_buffer *buffer);
void ring_buffer_mar... | 267 |
988 | <reponame>vishalbelsare/RedisGraph<filename>deps/GraphBLAS/Source/Template/GB_bitmap_assign_A_whole_template.c<gh_stars>100-1000
//------------------------------------------------------------------------------
// GB_bitmap_assign_A_whole_template: traverse A for bitmap assignment into C
//------------------------------... | 1,205 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-5xfh-grr6-gwhh",
"modified": "2022-05-04T00:28:52Z",
"published": "2022-05-04T00:28:51Z",
"aliases": [
"CVE-2012-0222"
],
"details": "The FactoryTalk (FT) RNADiagReceiver service in Rockwell Automation Allen-Bradley FactoryTalk CPR9 through SR5 and RSLogix 5000... | 440 |
335 | {
"word": "Developmentally",
"definitions": [
"In a way that relates to the development of someone or something."
],
"parts-of-speech": "Adverb"
} | 65 |
17,318 | <reponame>woozhijun/cat<gh_stars>1000+
/*
* Copyright (c) 2011-2018, <NAME>. All Rights Reserved.
*
* 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.
* Th... | 393 |
10,876 | {
"name": "ccfits",
"version": "2.5",
"port-version": 8,
"description": "CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.",
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/CCfits/",
"dependencies": [
... | 155 |
1,428 | <gh_stars>1000+
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cout << "Enter n :" ;
cin >> n;
vector <pair<int,int> > a(n);
cout << "Enter start and finish times : \n";
for(int i = 0; i < n; i++) {
cin >> a[i].first >> a[i].second;
}
sort(a.begin(), a.end(), [... | 359 |
433 | <reponame>nonamegreat/testRead<filename>rt-gateway-ctp/src/main/java/xyz/redtorch/gateway/ctp/x64v6v5v1v/api/CThostFtdcErrOrderField.java
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0
*
* Do not ... | 4,472 |
13,200 | from unittest import TestCase, expectedFailure
class TuringTests(TestCase):
def setUp(self):
from chatterbot import ChatBot
self.chatbot = ChatBot('Agent Jr.')
@expectedFailure
def test_ask_name(self):
response = self.chatbot.get_response(
'What is your name?'
... | 601 |
2,759 | <reponame>legistek/AspNetCore<gh_stars>1000+
{
"name": "client-ts",
"version": "0.0.0",
"description": "Provides a root to run npm scripts from. DO NOT PUBLISH",
"private": true,
"scripts": {
"build": "cd ./signalr && npm run build && cd ../signalr-protocol-msgpack && npm run build",
"pretest": "node ... | 308 |
310 | {
"name": "Core i9-9980XE",
"description": "A CPU.",
"url": "https://www.intel.com/content/www/us/en/products/processors/core/x-series/i9-9980xe.html"
}
| 70 |
2,921 | {
"name": "SafeFinance",
"website": "https://safefinance.network/",
"description": "The SafeFinance protocol is a community driven, fair launched Defi Token. We've implemented multiple mechanisms to reward every holders during each trade.",
"explorer": "https://bscscan.com/token/0x7983c8e6d09da2156ec7e5... | 196 |
2,084 | /*
* 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 ... | 1,139 |
446 | import time
import numpy as np
import io
import os
import logging
import dlr
import PIL.Image
import json
import glob
SAGEMAKER_ERROR_LOG_FILE = "/opt/ml/errors/errors.log"
SHAPES_FILE = 'model-shapes.json'
SUPPORTED_CONTENT_TYPE = ['image/jpeg', 'image/png', 'application/x-image']
def _read_input_shape(signature):
... | 2,495 |
37,508 | /*
* Copyright (C) 2015, The CyanogenMod 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 required by applicable... | 1,574 |
34,359 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "precomp.h"
CConsoleTSF* g_pConsoleTSF = nullptr;
extern "C" BOOL ActivateTextServices(HWND hwndConsole, GetSuggestionWindowPos pfnPosition, GetTextBoxAreaPos pfnTextArea)
{
if (!g_pConsoleTSF && hwndConsole)
{
... | 436 |
764 | <filename>erc20/0x87eDfFDe3E14c7a66c9b9724747a1C5696b742e6.json
{
"symbol": "SWAG",
"address": "0x87eDfFDe3E14c7a66c9b9724747a1C5696b742e6",
"overview":{
"en": "Decentralizing the Global Adult Entertainment Industry",
"zh": "将全球成人娱乐产业去中心化"
},
"email": "<EMAIL>",
"website": "h... | 439 |
2,027 | /*
* Copyright 2017-present Open Networking Foundation
*
* 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 applicabl... | 752 |
1,146 | from . import parser
from .parser import * # NOQA
from ._version import __version__ # NOQA
__all__ = parser.__all__ + ('__version__',) # NOQA
| 53 |
2,962 | #!/usr/bin/env python3
#
# Copyright (c) 2020, The OpenThread Authors.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright
# ... | 25,766 |
7,039 | [{"id":"0472000008","isFromHubei":"","name":"马某","province":"内蒙古","city":"包头市","district":"昆区","street":"团结大街九号街坊华龙苑住宅小区","age":0,"gender":"","intimateContacts":"0472000009","leaveHubeiDate":"2020-01-16T05:55:00.000Z","leaveHubeiCity":"武汉","attackDate":"2020-01-23T16:00:00.000Z","attackAddr":"包医一附院","confirmDate":"2020... | 1,199 |
947 | /**
* Project: simple-image-1.0 File Created at 2010-7-9 $Id$ Copyright 2008 Alibaba.com Croporation Limited. All rights
* reserved. This software is the confidential and proprietary information of Alibaba Company.
* ("Confidential Information"). You shall not disclose such Confidential Information and shall use it ... | 959 |
3,986 | <reponame>liuxiaoqiang1018/XUI<gh_stars>1000+
/*
* Copyright (C) 2018 xuexiangjys(<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LIC... | 1,626 |
3,428 | <filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-2/00802.5b2b41e76c466cbf4eea8076fd8669ac.json<gh_stars>1000+
{"id":"00802","group":"easy-ham-2","checksum":{"type":"MD5","value":"5b2b41e76c466cbf4eea8076fd8669ac"},"text":"From <EMAIL> Mon Jul 22 18:13:38 2002\nReturn-Path: <<EMAIL>>\nDelivered-T... | 1,133 |
6,304 | // Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
// HASH=eed4185294f8a8216fc354e6ee6b2e3a
REG_FIDDLE(IPoint_x, 256, 256, true, 0) {
void draw(SkCanvas* canvas) {
SkIPoint pt1 = {45, 66};
SkDebugf... | 173 |
375 | <reponame>wulinyun/lumify<gh_stars>100-1000
package io.lumify.web.routes.ontology;
import com.google.inject.Inject;
import io.lumify.core.config.Configuration;
import io.lumify.core.model.ontology.OntologyRepository;
import io.lumify.core.model.user.UserRepository;
import io.lumify.core.model.workspace.WorkspaceReposi... | 592 |
10,225 | <reponame>CraigMcDonaldCodes/quarkus<gh_stars>1000+
package io.quarkus.arc.test.decorators.abstractimpl;
import static org.junit.jupiter.api.Assertions.assertEquals;
import io.quarkus.arc.Arc;
import io.quarkus.arc.test.ArcTestContainer;
import javax.annotation.Priority;
import javax.decorator.Decorator;
import javax... | 715 |
1,694 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import "MMMultiMenuTableViewCell.h"
@class MMUILabel, MMWebImageView, UIView, VerticallyAlignedLabel;
@interface HistoryTableViewCell : MM... | 401 |
1,056 | <reponame>Antholoj/netbeans<gh_stars>1000+
/*
* 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 Li... | 7,489 |
2,542 | <reponame>vishnuk007/service-fabric
/*++
Module Name:
knodetable.cpp
Abstract:
This file contains the non-template parts of the the user mode and kernel mode implementations of a KNodeTable object.
Author:
<NAME> (norbertk) 29-Oct-2010
Environment:
Kernel mode and User mode
Notes:
Revision His... | 10,012 |
1,738 | <reponame>brianherrera/lumberyard<filename>dev/Gems/PhysX/Code/Tests/PhysXTestCommon.cpp
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use... | 6,355 |
686 | <reponame>xeddmc/CoiniumServ
{
"name": "Spartancoin",
"symbol": "SPN",
"algorithm": "scrypt",
"site": "http://www.spartancoin.org/",
"blockExplorer": {
"block": "http://blockexplorer.spartancoin.org/index.php?block_hash=",
"tx": "http://blockexplorer.spartancoin.org/index.php?transactio... | 159 |
4,303 | <gh_stars>1000+
#include "PyParam.h"
#include "PyBinaryOperators.h"
#include "PyType.h"
namespace Halide {
namespace PythonBindings {
namespace {
template<typename TYPE>
void add_param_methods(py::class_<Param<>> ¶m_class) {
param_class
.def(py::init([](const Type &type, const std::string &name, TYP... | 1,187 |
12,895 | <filename>tsl/src/fdw/modify_plan.h
/*
* This file and its contents are licensed under the Timescale License.
* Please see the included NOTICE for copyright information and
* LICENSE-TIMESCALE for a copy of the license.
*/
#ifndef TIMESCALEDB_TSL_FDW_MODIFY_PLAN_H
#define TIMESCALEDB_TSL_FDW_MODIFY_PLAN_H
#include... | 201 |
1,751 | /*
* memcmp.h: undef memcmp for compat.
*
* Copyright (c) 2012, NLnet Labs. All rights reserved.
*
* See LICENSE for the license.
*/
#ifndef COMPAT_MEMCMP_H
#define COMPAT_MEMCMP_H
#ifdef memcmp
/* undef here otherwise autoheader messes it up in config.h */
# undef memcmp
#endif
#endif /* COMPAT_MEMCMP_H */
| 124 |
542 | <gh_stars>100-1000
//----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided t... | 3,971 |
5,133 | /*
* Copyright MapStruct Authors.
*
* Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package org.mapstruct.ap.test.nestedbeans.unmappable.erroneous;
import org.mapstruct.Mapper;
import org.mapstruct.ap.test.nestedbeans.unmappable.Car;
import org.mapstruct.... | 563 |
343 | // Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 2,349 |
2,292 | <gh_stars>1000+
//
// TestDController.h
// YBImageBrowserDemo
//
// Created by 波儿菜 on 2019/7/15.
// Copyright © 2019 杨波. All rights reserved.
//
#import "BaseListController.h"
NS_ASSUME_NONNULL_BEGIN
@interface TestDController : BaseListController
@end
NS_ASSUME_NONNULL_END
| 119 |
1,364 | <gh_stars>1000+
/* Copyright (c) 2006, <NAME>
*
* You may distribute this software under the terms of the license
* specified in the file "License"
*/
package kilim.examples;
import kilim.Generator;
import kilim.Pausable;
/**
* This example illustrates two 'generators' that walk a tree, one in pre-order
* and... | 864 |
3,066 | /*
* Licensed to Crate.io GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this f... | 2,468 |
777 | // Copyright 2016 The Chromium 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 NET_BASE_PERCENTILE_ESTIMATOR_H_
#define NET_BASE_PERCENTILE_ESTIMATOR_H_
#include "base/callback.h"
#include "base/macros.h"
#include "net/base/... | 560 |
2,504 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS F... | 6,649 |
2,003 | <filename>src/common/func_scope_guard.h
// Copyright (c) 2015-2018, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <functional>
namespace common {
class FuncScopeGuard {
public:
explicit FuncScopeGu... | 272 |
348 | {"nom":"Versailles","circ":"2ème circonscription","dpt":"Yvelines","inscrits":15964,"abs":7638,"votants":8326,"blancs":78,"nuls":14,"exp":8234,"res":[{"nuance":"REM","nom":"<NAME>","voix":3252},{"nuance":"LR","nom":"<NAME>","voix":1920},{"nuance":"FN","nom":"Mme <NAME>","voix":684},{"nuance":"FI","nom":"<NAME>","voix":... | 360 |
668 | <reponame>stjordanis/OSlash
import unittest
from oslash.cont import Cont
from oslash.util import identity, compose
# pure = Cont.pure
unit = Cont.unit
call_cc = Cont.call_cc
class TestCont(unittest.TestCase):
def test_cont_pythagoras(self):
add = lambda x, y: unit(x + y)
square = lambda x: unit(... | 2,383 |
421 | <filename>samples/snippets/cpp/VS_Snippets_CLR/CodeTypeConstructorExample/CPP/codetypeconstructorexample.cpp
//<Snippet1>
#using <System.dll>
using namespace System;
using namespace System::CodeDom;
namespace CodeDomSamples
{
public ref class CodeTypeConstructorExample
{
public:
CodeType... | 536 |
568 | <filename>src/test/java/com/fincatto/documentofiscal/nfe/classes/distribuicao/NFDistribuicaoNSUTest.java
package com.fincatto.documentofiscal.nfe.classes.distribuicao;
import org.junit.Assert;
import org.junit.Test;
public class NFDistribuicaoNSUTest {
@Test(expected = IllegalStateException.class)
public voi... | 449 |
470 | <reponame>honzabrecka/wu.js
{
"name": "wu",
"description": "Combinators for ECMAScript 6 iterators.",
"author": {
"name": "<NAME>",
"email": "<EMAIL>",
"url": "http://fitzgeraldnick.com"
},
"bugs": "http://github.com/fitzgen/wu.js/issues",
"licenses": [
{
"type": "MIT",
"url": "h... | 512 |
8,865 | <reponame>wwjiang007/atlas
package android.support.multidex;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
/**
* Created by jingchaoqinjc on 18/3/4.
*/
public class DexElementsMethodInvokerV19 implem... | 354 |
356 | <reponame>majk1/netbeans-mmd-plugin
package com.igormaznitsa.mindmap.model;
import com.igormaznitsa.meta.annotation.MustNotContainNull;
import com.igormaznitsa.meta.common.utils.Assertions;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
public class MindMapModelEvent {
private static final Topic... | 316 |
310 | package org.seasar.doma.jdbc.criteria.statement;
import java.util.Objects;
import org.seasar.doma.jdbc.Config;
import org.seasar.doma.jdbc.PreparedSql;
import org.seasar.doma.jdbc.command.Command;
import org.seasar.doma.jdbc.command.ResultSetHandler;
import org.seasar.doma.jdbc.command.SelectCommand;
import org.seasar... | 866 |
721 | #!/usr/bin/env python3
import pystache as TPL
import yaml
import os
from pathlib import Path
from shutil import copyfile
tpl = """
<!DOCTYPE html>
<html>
<head>
<title>{{title_seo}}</title>
<link href='/documentation.css' type='text/css' rel='stylesheet' />
<meta http-equiv="Content-Type" content="text/h... | 1,322 |
679 | /**************************************************************
*
* 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 y... | 880 |
5,169 | {
"name": "MatinAlertFramework",
"version": "1.0.2",
"summary": "This is a customizable alert framework.",
"description": "This framework allows you to use existing scrollable alert types such as success, error, warning and info, or you can configure your own custom alert style. Scrollable Alert",
"homepage":... | 268 |
575 | <filename>components/webapps/browser/android/app_banner_manager_android.cc
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/webapps/browser/android/app_banner_manager_android.h"
#in... | 8,840 |
2,151 | /*
* Copyright (C) 2015 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 required by app... | 2,043 |
4,538 | /*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
#include "debug_api.h"
typedef int32_t (*BT_PRINT)(const char *fmt, ...);
void aos_debug_backtrace_now(int32_t (*print_func)(const char *fmt, ...))
{
BT_PRINT bt_printf = print_func ? print_func : printf;
debug_backtrace_now(bt_printf);
}
voi... | 1,041 |
335 | {
"word": "Wispy",
"definitions": [
"(of hair, threads, smoke, etc.) fine; feathery."
],
"parts-of-speech": "Adjective"
} | 68 |
903 | # Generated by Django 3.2.1 on 2021-05-08 17:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0016_auto_20210507_1526'),
]
operations = [
migrations.AddField(
model_name='user',
name='can_code_sign'... | 2,867 |
1,431 | <gh_stars>1000+
/* ====================================================================
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 license... | 423 |
606 | #
# Copyright 2014 Quantopian, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... | 4,273 |
2,645 | <reponame>orustammanapov/spring-data-elasticsearch<gh_stars>1000+
/*
* Copyright 2018-2021 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
*
* http... | 1,492 |
6,207 | {"healthClinicalType":"HKClinicalTypeIdentifierAllergyRecord","_class":"ORKHealthClinicalTypeRecorderConfiguration","healthFHIRResourceType":"","identifier":""} | 38 |
575 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/vr/android/gvr/gvr_delegate.h"
#include "base/trace_event/trace_event.h"
#include "device/vr/android/gvr/gvr_utils.h"
#include "third_pa... | 1,631 |
311 | <filename>joyqueue-server/joyqueue-broker-mqtt/src/main/java/org/joyqueue/broker/mqtt/transport/MqttCommandInvocation.java<gh_stars>100-1000
/**
* Copyright 2019 The JoyQueue Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | 2,938 |
6,215 | <reponame>koji-m/airbyte
{
"format": {
"compression_codec": {
"codec": "no compression"
},
"format_type": "Avro"
},
"secret_access_key": "abcdef",
"access_key_id": "abcdefghi",
"s3_bucket_region": "us-east-1",
"s3_bucket_path": "data_sync/test",
"s3_bucket_name": "airbyte_sync",
"s3_en... | 161 |
1,355 | <filename>src/main/scala/li/cil/oc/integration/cofh/energy/DriverEnergyHandler.java
package li.cil.oc.integration.cofh.energy;
import cofh.api.energy.IEnergyHandler;
import li.cil.oc.api.machine.Arguments;
import li.cil.oc.api.machine.Callback;
import li.cil.oc.api.machine.Context;
import li.cil.oc.api.network.Managed... | 690 |
486 | //
// Copyright (C) 2017 Microsoft. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "Exceptions.hpp"
#include "ZipFileStream.hpp"
#include "InflateStream.hpp"
#include "StreamBase.hpp"
#include <cassert>
#include <algorithm>
#include <cstring>
#inc... | 4,423 |
839 | /**
* 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 m... | 1,189 |
1,844 | <reponame>gomez-javier-github/killbill<filename>invoice/src/test/java/org/killbill/billing/invoice/generator/TestInvoiceDateUtils.java<gh_stars>1000+
/*
* Copyright 2010-2014 Ning, Inc.
* Copyright 2014-2016 Groupon, Inc
* Copyright 2014-2016 The Billing Project, LLC
*
* The Billing Project licenses this file to y... | 4,197 |
461 | import java.util.ArrayList;
import java.util.List;
public class Solution2 {
private static final int[][] DIRECTIONS = {{-1, 0}, {0, -1}, {1, 0}, {0, 1}};
private int rows;
private int cols;
public List<String> findWords(char[][] board, String[] words) {
this.rows = board.length;
this.... | 1,310 |
13,566 | <reponame>erezrokah/appsmith
package com.appsmith.server.dtos;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class InstallPluginRedisDTO {
String organizationId;
PluginOrgDTO pluginOrgDTO;
}
| 87 |
317 | /*
* Copyright 2013 NGDATA nv
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 304 |
357 | /*
* Copyright (c) 2012-2015 VMware, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | 398 |
513 | <filename>Backtracking/LetterPhone.cpp
string checkMapping(int A){
if(A == '0'){
return "0";
}
else if(A == '1'){
return "1";
}
else if(A == '2'){
return "abc";
}
else if(A == '3'){
return "def";
}
else if(A == '4'){
return "ghi";
}
els... | 709 |
1,648 | #include <runtime.h>
/* Copy by advancing memory addresses in forward direction. */
static inline void memcpyf_8(void *dst, const void *src, bytes len)
{
for (bytes i = 0; i < len; i++) {
((u8 *)dst)[i] = ((u8 *)src)[i];
}
}
/* Copy by advancing memory addresses in backward direction. */
static inline... | 3,366 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.