max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
5,169
{ "name": "RMCircularAlert", "version": "0.2.0", "summary": "A circular AlertView with animations", "description": "A circular AlertView with animations. Really easy to use!", "homepage": "https://github.com/raulmo1337/RMCircularAlert", "license": { "type": "MIT", "file": "LICENSE" }, "authors":...
305
578
<reponame>lllrrr2/bk-job /* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ---------------------...
1,136
345
<filename>huntbugs/src/main/java/one/util/huntbugs/detect/BadMonitorObject.java /* * Copyright 2016 HuntBugs contributors * * 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,017
480
#ifndef MLIBC_IN_ADDR_H #define MLIBC_IN_ADDR_H typedef uint32_t in_addr_t; #endif // MLIBC_IN_ADDR_H
58
326
package org.araymond.joal.web.config.obfuscation; import org.apache.http.NoHttpResponseException; import org.araymond.joal.TestConstant; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.web.client.TestRestTemplate;...
1,450
1,302
<gh_stars>1000+ #include "src/dictionaries/node_webrtc/rtc_stats_response_init.h" #include <node-addon-api/napi.h> #include "src/functional/validation.h" #include "src/interfaces/rtc_stats_response.h" namespace node_webrtc { TO_NAPI_IMPL(RTCStatsResponseInit, pair) { Napi::EscapableHandleScope scope(pair.first); ...
174
348
<filename>docs/data/leg-t2/027/02702602.json {"nom":"Saint-Sébastien-de-Morsent","circ":"2ème circonscription","dpt":"Eure","inscrits":3761,"abs":2039,"votants":1722,"blancs":152,"nuls":32,"exp":1538,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":1099},{"nuance":"FN","nom":"M. <NAME>","voix":439}]}
127
438
<reponame>stillmatic/plaitpy import perf from plaitpy.fakerb import decode iter_count=1000 def get_names(): return [decode("#{name.name}") for x in range(iter_count)] def run_bench(): runner = perf.Runner() runner.timeit("get_names", "get_names()", "from __main__ import get_names", inne...
266
4,262
<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 License, Version 2.0 * (the "Lic...
622
575
<gh_stars>100-1000 // Copyright 2019 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 "third_party/blink/renderer/platform/bindings/trace_wrapper_v8_reference.h" #include "testing/gtest/include/gtest/gtest.h" #i...
3,057
305
<gh_stars>100-1000 package org.mamute.reputation.rules; import org.mamute.model.ReputationEvent; public class KarmaCalculator { public static final int SOLVED_QUESTION_AUTHOR = 5; public static final int SOLUTION_AUTHOR = 20; public static final int MY_ANSWER_VOTED_UP = 10; public static final int MY...
349
5,535
<reponame>bradfordb-vmware/gpdb //--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2008 - 2010 Greenplum, Inc. // // @filename: // CWorker.cpp // // @doc: // Worker abstraction, e.g. thread //------------------------------------------------------------...
1,206
329
<gh_stars>100-1000 ///////////////////////////////////////////////////////////////////// // = NMatrix // // A linear algebra library for scientific computation in Ruby. // NMatrix is part of SciRuby. // // NMatrix was originally inspired by and derived from NArray, by // <NAME>: http://narray.rubyforge.org // // == Cop...
26,247
505
/* Author: <NAME> (<EMAIL>) Copyright (c) 1995-1996 MEDICAL RESEARCH COUNCIL 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 notice, ...
5,129
1,006
<gh_stars>1000+ /**************************************************************************** * boards/arm/stm32f0l0g0/nucleo-f072rb/src/stm32_bringup.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for add...
931
5,169
<gh_stars>1000+ { "name": "AnalyticsGenerator", "version": "0.1.0", "summary": "A tool to unify analytics event definitions between projects with same analytics pre-requisites", "description": "A tool to unify analytics event definitions between projects with same analytics pre-requisites. Using it you can ensu...
282
1,351
''' Common utilities for the Proxy Verifier extensions. ''' # 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...
736
1,160
<gh_stars>1000+ """ summary: produce listing description: automate IDA to perform auto-analysis on a file and, once that is done, produce a .lst file with the disassembly. Run like so: ida -A "-S...path/to/produce_lst_file.py" <binary-file> where: * -A instructs IDA to run in non-interactive mo...
462
992
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, 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 * * h...
713
8,772
<reponame>dgusoff/cas<filename>api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/sms/AmazonSnsProperties.java package org.apereo.cas.configuration.model.support.sms; import org.apereo.cas.configuration.model.support.aws.BaseAmazonWebServicesProperties; import org.aper...
852
348
// // PhotoDetailPipeline.h // MinyaDemo // // Created by Konka on 2016/10/13. // Copyright © 2016年 Minya. All rights reserved. // #import "MIPipeline.h" #import "Photo.h" @interface PhotoDetailPipeline : MIPipeline // Normal data @property (nonatomic, strong) Photo *photo; // Flag data @property (nonatomic, as...
164
359
/** * Copyright 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distri...
1,416
5,305
<reponame>tanishiking/dotty package repeatable; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) public @interface SecondLevel_0 { FirstLevel_0[] value(); }
62
2,391
<filename>tests/test_data_ava_dataset.py # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import contextlib import pathlib import random import tempfile import unittest import torch from pytorchvideo.data import Ava from pytorchvideo.data.clip_sampling import make_clip_sampler from utils import...
5,918
375
package io.lumify.benchmark; import com.google.common.collect.ImmutableList; import io.lumify.it.TestClassAndMethod; import io.lumify.it.VertexTestBase; import io.lumify.web.clientapi.LumifyApi; import io.lumify.web.clientapi.codegen.ApiException; import io.lumify.web.clientapi.codegen.VertexApi; import io.lumify.web....
1,460
931
package dev.engine.json; import java.lang.reflect.Type; /** * detail: JSON Engine 接口 * @author Ttt */ public interface IJSONEngine<Config extends IJSONEngine.EngineConfig> { /** * detail: JSON Config * @author Ttt */ class EngineConfig { } // ========== // = 转换方法 = // =====...
1,739
2,792
# # -*- coding:utf-8 -*- # Author:wancong # Date: 2018-04-30 from pyhanlp import * def demo_tokenizer_config(text): """ 演示动态设置预置分词器,这里的设置是全局的 >>> text = "泽田依子是上外日本文化经济学院的外教" >>> demo_tokenizer_config(text) [泽田依/nr, 子/ng, 是/vshi, 上外/nit, 日本/ns, 文化/n, 经济学院/nit, 的/ude1, 外教/n] [泽田依子/nrj, 是/vshi, 上外日本...
421
629
/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. */ #include "common.h" #include "flags.h" namespace microbattles { std::tuple<float, float, float, float> getUnitCountsHealth( cherrypi::State* state) { auto allies = state->unitsInfo().myUnits(); auto enemies = state->unitsInfo().enem...
381
852
<gh_stars>100-1000 #include "Alignment/LaserAlignment/interface/LASConstants.h" #include "FWCore/Utilities/interface/Exception.h" /// /// /// LASConstants::LASConstants() : atRadius(0.), tecBsZPosition(0.), atZPosition(0.) {} /// /// /// LASConstants::LASConstants(std::vector<edm::ParameterSet> const& theConstConf)...
2,279
852
#include "__subsys__/__class__/src/__class__.h"
21
3,428
{"id":"00473","group":"easy-ham-2","checksum":{"type":"MD5","value":"b184f51963f4482e41483fde5223b37f"},"text":"From <EMAIL> Tue Aug 20 12:43:52 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id...
862
4,012
<filename>cpp/src/io/utilities/hostdevice_vector.hpp /* * Copyright (c) 2019-2020, NVIDIA CORPORATION. * * 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/lic...
2,577
1,909
<filename>xchange-core/src/main/java/org/knowm/xchange/service/trade/params/CancelOrderByInstrument.java package org.knowm.xchange.service.trade.params; import org.knowm.xchange.instrument.Instrument; public interface CancelOrderByInstrument extends CancelOrderParams { public Instrument getInstrument(); }
95
1,826
package com.vladsch.flexmark.ext.escaped.character;
18
488
#ifndef AST_GRAPH_H #define AST_GRAPH_H #include "DOTRepresentation.h" // AST Graph support developed by Andreas // template <class T> class DOTRepresentation; namespace AST_Graph { //options for handling null pointers enum pointerHandling { graph_NULL, do_not_graph_NULL }; //options for traversal ty...
4,230
428
/** * Copyright 2008 - 2019 The Loon Game Engine Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
629
1,156
<filename>reagent/training/rl_trainer_pytorch.py #!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import logging from typing import Optional from reagent.core.parameters import RLParameters logger = logging.getLogger(__name__) # pyre-fixme[13]: Attribute `rl_parameter...
867
605
import lldb from lldbsuite.test.lldbtest import * from lldbsuite.test.decorators import * import lldbsuite.test.lldbutil as lldbutil class TestSwiftPrivateImport(TestBase): mydir = TestBase.compute_mydir(__file__) def setUp(self): TestBase.setUp(self) @skipUnlessDarwin @swiftTest def tes...
660
974
from ethereum import utils from ethereum import tester as t try: from ecdsa_recover import ecdsa_raw_sign, ecdsa_raw_recover except ImportError: from bitcoin import ecdsa_raw_sign, ecdsa_raw_recover def make_ticket(privkey, value): value_enc = utils.zpad(utils.encode_int(value), 32) h = utils.sha3(valu...
448
330
METADATA_FILE_NAME = 'trial_metadata.yml' SHORT_HASH_INT = 6 # taking a section of hash for folder names (e.g. 6 digits) # TRAINING DEFAULT_EPOCHS = 200 DEFAULT_BATCH_SIZE = 64
69
1,982
<gh_stars>1000+ #!/usr/bin/env python # -*- coding: utf-8 -*- """The Package that contains all the news commands for the univaq department""" import telegram from telegram.ext import ConversationHandler from libs import utils def univaq(bot, update): """ Command that shows keyboard of sections for: inevi...
1,514
9,680
<gh_stars>1000+ import nni def bar(): """I'm doc string""" return nni.report_final_result(0)
43
12,077
<reponame>jacksmith15/faker<gh_stars>1000+ from collections import OrderedDict from .. import Provider as InternetProvider class Provider(InternetProvider): free_email_domains = ( "hotmail.com", "gmail.com", "outlook.com", "yahoo.com", "ymail.com", "kon.in.th", ...
413
332
from django.test import override_settings from django.core.exceptions import ValidationError from django.conf.urls import url from django.core.cache import cache from rest_framework.test import APIClient, APIRequestFactory from rest_framework import status, filters from .utils import MultipleModelTestCase from .models...
5,549
652
<filename>Lib/parallel/http/server.py from async.http.server import *
23
3,227
#include <CGAL/Simple_cartesian.h> #include <CGAL/Surface_mesh.h> #include <CGAL/boost/graph/graph_traits_Surface_mesh.h> #include <CGAL/subdivision_method_3.h> #include <CGAL/Timer.h> #include <boost/lexical_cast.hpp> #include <iostream> #include <fstream> typedef CGAL::Simple_cartesian<double> Kernel; t...
633
1,350
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.cognitiveservices.search.entitysearch.models; import java.u...
447
652
<gh_stars>100-1000 { "name": "dependency-with-global", "version": "0.0.0", "description": "Example of using browserify-shim with a dependency that requires a separately loaded global.", "main": "./js/entry.js", "browserify-shim": { "jquery": "global:$" }, "browserify": { "transform": [ "brow...
235
20,995
// Copyright 2018 the V8 project 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 V8_SNAPSHOT_READ_ONLY_DESERIALIZER_H_ #define V8_SNAPSHOT_READ_ONLY_DESERIALIZER_H_ #include "src/snapshot/deserializer.h" #include "src/snapsh...
387
1,444
<gh_stars>1000+ package mage.cards.l; import java.util.UUID; import mage.abilities.common.DiscardsACardOpponentTriggeredAbility; import mage.abilities.effects.common.LoseLifeTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SetTargetPointer;...
342
960
/** * Copyright (2018) Baidu 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 applica...
1,580
3,783
package contests.facebookHC; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * Created by sherxon on 1/6/17. */ public class ProgressPie { public static void main(String[] args) { FastReader fastReader= new FastReader(); ...
1,053
2,151
<reponame>zipated/src // Copyright (c) 2012 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 "ui/app_list/views/search_result_list_view.h" #include <algorithm> #include <memory> #include <vector> #include "ash/...
2,348
2,690
<reponame>PushyamiKaveti/kalibr /********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, <NAME>, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted pr...
1,752
353
<reponame>rosrad/lhotse<filename>lhotse/augmentation/utils.py import torch try: # Pytorch >= 1.7 from torch.fft import rfft, irfft except ImportError: from torch import rfft, irfft # Implementation based on torch-audiomentations: # https://github.com/asteroid-team/torch-audiomentations/blob/master/torch_a...
992
923
<gh_stars>100-1000 package core.languageHandler.compiler; import java.io.File; import java.util.logging.Level; import java.util.logging.Logger; import argo.jdom.JsonNode; import argo.jdom.JsonNodeFactories; import core.languageHandler.Language; public class CSharpRemoteCompiler extends AbstractRemoteNativeCompiler {...
466
7,353
/** * @file bencryption_bench.c * @author <NAME> <<EMAIL>> * * @section LICENSE * * 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 * notice,...
1,741
1,293
/* * Copyright (c) 2020 - Manifold Systems 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 applicable ...
2,584
319
<gh_stars>100-1000 { "name": "gtable", "author": "rstudio", "license": "CC0", "raster": "https://github.com/rstudio/hex-stickers/blob/master/PNG/gtable.png", "vector": "https://github.com/rstudio/hex-stickers/blob/master/SVG/gtable.svg", "description": "gtable: The Layout Engine for ggplot2", "filename": ...
142
3,262
<reponame>JLouhela/halley #pragma once #include <functional> #include <optional> #include <vector> #include "halley/text/halleystring.h" namespace Halley { class ConfigNode; class ComponentDataRetriever { public: using Retriever = std::function<ConfigNode&()>; ComponentDataRetriever(ConfigNode& componentDat...
582
3,200
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
949
1,127
<reponame>si-eun-kim/openvino // Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include "base_reference_test.hpp" #include "openvino/op/eye.hpp" using namespace ov; using namespace reference_tests; namespace reference_tests { namespace { struct EyeParam...
20,654
14,443
<gh_stars>1000+ /* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
2,203
743
<reponame>ddstreet/corosync /* * Copyright (c) 2015-2017 Red Hat, Inc. * * All rights reserved. * * Author: <NAME> <<EMAIL>> * * This software licensed under BSD license, the text of which follows: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
10,990
16,461
// Copyright 2019-present 650 Industries. All rights reserved. #import <ExpoModulesCore/EXExportedModule.h> #import <ExpoModulesCore/EXModuleRegistryConsumer.h> #import <Foundation/Foundation.h> @interface EXFirebaseAnalytics : EXExportedModule <EXModuleRegistryConsumer> @end
86
471
<reponame>madanagopaltcomcast/pxCore ///////////////////////////////////////////////////////////////////////////// // Name: src/os2/palette.cpp // Purpose: wxPalette // Author: AUTHOR // Modified by: // Created: ??/??/98 // Copyright: (c) AUTHOR // Licence: wxWindows licence //////////////////...
4,294
3,200
<gh_stars>1000+ #!/usr/bin/python # # Copyright 2018-2021 Polyaxon, 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 require...
8,381
1,603
<gh_stars>1000+ package com.linkedin.metadata.entity; import com.linkedin.common.urn.Urn; import com.linkedin.data.template.DataTemplateUtil; import com.linkedin.data.template.RecordTemplate; import com.linkedin.identity.CorpUserInfo; import com.linkedin.metadata.EbeanTestUtils; import com.linkedin.metadata.entity.ebe...
2,566
1,347
from __future__ import print_function import torch import torch.nn as nn import torch.nn.functional as F class RKDLoss(nn.Module): """Relational Knowledge Disitllation, CVPR2019""" def __init__(self, w_d=25, w_a=50): super(RKDLoss, self).__init__() self.w_d = w_d self.w_a = w_a d...
893
3,640
<reponame>bTest2018/Store package com.nytimes.android.external.store3.base; import javax.annotation.Nonnull; import io.reactivex.Maybe; public interface DiskRead<Raw, Key> { @Nonnull Maybe<Raw> read(@Nonnull Key key); }
88
5,766
// // TextConverter.cpp // // Library: Foundation // Package: Text // Module: TextConverter // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/TextConverter.h" #include "Poco/TextIterator.h" #include "Poco/TextEn...
949
576
<reponame>kovzol/CindyJS package cindyjs; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArray; public class CjsValue extends JavaScriptObject { protected CjsValue() { } public final native String ctype() /*-{ return this.ctype; }-*/; public fina...
466
592
"""user roles Revision ID: f<PASSWORD> Revises: <PASSWORD> Create Date: 2020-06-12 21:54:20.905401 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = "f<PASSWORD>" down_revision = "<PASSWORD>" branch_labels = None depends_on = ...
701
348
{"nom":"Gordes","circ":"5ème circonscription","dpt":"Vaucluse","inscrits":1689,"abs":673,"votants":1016,"blancs":23,"nuls":4,"exp":989,"res":[{"nuance":"REM","nom":"<NAME>","voix":375},{"nuance":"LR","nom":"M. <NAME>","voix":301},{"nuance":"FN","nom":"Mme <NAME>","voix":155},{"nuance":"FI","nom":"M. <NAME>","voix":59},...
292
306
<gh_stars>100-1000 import tempfile from pathlib import Path import imageio.v2 as iio import numpy import pytest from scipy import sparse import matplotx def test_show(): M = sparse.rand(20, 20, density=0.1) plt = matplotx.spy(M) plt.show() @pytest.mark.parametrize( "ref, kwargs", [ (68...
896
1,587
<gh_stars>1000+ // use every strict math function package classes.test; import java.util.Arrays; import java.lang.StrictMath; public class StrictMathTest { private static void results(String name, int[] results) { System.out.print(name + ": "); System.out.println(Arrays.toString(results)); } private sta...
5,951
921
<filename>src/sqlancer/cockroachdb/CockroachDBBugs.java package sqlancer.cockroachdb; public final class CockroachDBBugs { // https://github.com/cockroachdb/cockroach/issues/46915 public static boolean bug46915 = true; // https://github.com/cockroachdb/cockroach/issues/45703 public static boolean bug...
166
375
<reponame>alex729/RED<filename>src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin.tests/src/org/robotframework/ide/eclipse/main/plugin/preferences/FieldEditorPreferencePageHelper.java /* * Copyright 2017 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file ...
680
1,444
<gh_stars>1000+ package mage.cards.s; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.Effect; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.continuous.BecomesCreatureIfVehicleEffect; import ...
835
8,092
# # 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 not...
1,172
3,227
<gh_stars>1000+ #include <iostream> #include <vector> #include <CGAL/Simple_cartesian.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Real_timer.h> #include <CGAL/algorithm.h> #include <CGAL/point_generators_3.h> #include "Orientation_3.h" typedef CGAL::Simple_cartesian<double> K; t...
607
460
// Copyright 2012 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 ap...
1,363
418
<filename>training/pytorch/structured/custom_containers/gpu/trainer/metadata.py #!/usr/bin/env python # Copyright 2019 Google 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...
1,410
9,425
def __virtual__(): return True def execute(*args, **kwargs): # we use the dunder to assert the loader is provided minionmods return __salt__["test.arg"]("test.arg fired")
61
3,058
/* * Copyright (c) 2018-2021 The Forge Interactive Inc. * * This file is part of The-Forge * (see https://github.com/ConfettiFX/The-Forge). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional in...
2,898
1,330
<filename>core/src/test/java/org/apache/struts2/dispatcher/NullActionMapper.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 t...
577
371
<filename>src/main/java/de/siegmar/fastcsv/reader/package-info.java /** * FastCSV reader. * * Obtain low-level (index based) reader via {@link de.siegmar.fastcsv.reader.CsvReader#builder()} * and higher level (name/header based) reader via * {@link de.siegmar.fastcsv.reader.NamedCsvReader#builder()}. */ package d...
124
545
{ "Html5AppRendererIndex.enterFullscreen": "Vào chế độ toàn màn hình", "Html5AppRendererIndex.exitFullscreen": "Thoát chế độ toàn màn hình" }
88
2,219
// Copyright (c) 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 "net/base/logging_network_change_observer.h" #include <string> #include "base/bind.h" #include "base/logging.h" #include "base/strings/stri...
1,842
331
package it.gmariotti.android.apps.dashclock.extensions; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.ListPreference; import android.preference.Preference; impor...
2,257
1,248
<filename>src/pretix/control/views/global_settings.py # # This file is part of pretix (Community Edition). # # Copyright (C) 2014-2020 <NAME> and contributors # Copyright (C) 2020-2021 rami.io GmbH and contributors # # This program is free software: you can redistribute it and/or modify it under the terms of the GNU Af...
4,826
361
<reponame>rjeschke/txtmark /* * Copyright (C) 2011-2015 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
16,780
403
package org.camunda.bpm.demo.loan_request_handling.nonarquillian; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Collection; import org.apache.commons.io.FileUtils; import org.apache.ibatis.logging.LogFactory; import org.camunda.bpm.engine.runtime.ProcessInstance; import...
831
321
<gh_stars>100-1000 #pragma once #include "Camera.h" #include "Light.h" #include "MeshFilter.h" #include "MeshRenderer.h" #include "Skybox.h"
61
1,650
/* * Copyright (c) 2015 <NAME> * * This file is part of libsoundio, which is MIT licensed. * See http://opensource.org/licenses/MIT */ #include "jack.h" #include "soundio_private.h" #include "list.h" #include <stdio.h> static struct SoundIoAtomicFlag global_msg_callback_flag = SOUNDIO_ATOMIC_FLAG_INIT; struct ...
15,091
338
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <exception> #include <vector> #include <string> #include "itkImage.h" #include "itkConstantPadImageFilter.h" #include "LOCAL_antsImage.h" namespace py = pybind11; template < typename ImageType > py::capsule padImage( py::capsule & antsImage, ...
660
348
{"nom":"Vieux-Lixheim","circ":"4ème circonscription","dpt":"Moselle","inscrits":169,"abs":92,"votants":77,"blancs":7,"nuls":1,"exp":69,"res":[{"nuance":"LR","nom":"<NAME>","voix":36},{"nuance":"REM","nom":"<NAME>","voix":33}]}
94
540
// File generated from our OpenAPI spec package com.stripe.model; public class CouponCollection extends StripeCollection<Coupon> {}
35
384
package org.javaee8.cdi.interception.factory; public class MyGreetingImpl implements MyGreeting { private String greet; public String getGreet() { return greet; } public void setGreet(String greet) { this.greet = greet; } }
108
327
<reponame>jtravee/neuvector /* * lfstack.c * * Userspace RCU library - Lock-Free Stack * * Copyright 2010-2012 - <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation...
798