max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,216
from .ball_query import ball_query __all__ = ['ball_query']
21
5,169
{ "name": "ContentProvidersSQLite", "summary": "A content provider used for accessing and modifying data in SQLite database.", "version": "1.4.0", "platforms": { "ios": "9.0" }, "swift_version": "4.2", "cocoapods_version": "~> 1.5.3", "static_framework": true, "homepage": "https://github.com/roxie...
672
1,755
<gh_stars>1000+ /*========================================================================= Program: Visualization Toolkit Module: vtkCursor3D.h Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distri...
1,760
1,337
// Copyright (c) 2020 <NAME> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for any purpose, // including commercial ap...
8,158
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...
541
1,433
/****************************************************************** * * Copyright 2014 Samsung Electronics 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 * * ht...
11,484
570
/* * Copyright (C) 2014 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...
1,156
368
// Copyright 2016 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...
778
19,127
<gh_stars>1000+ /* * Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.open...
2,865
521
#include <iostream> #include <elle/printf.hh> #include <elle/network/Interface.hh> // FIXME: How is this a "test" ?? int main() { auto interfaces = elle::network::Interface::get_map( elle::network::Interface::Filter::only_up | elle::network::Interface::Filter::no_loopback ); for (auto const& pair: i...
216
3,301
<reponame>okjay/Alink package com.alibaba.alink.operator.common.io.types; import org.apache.flink.api.common.typeinfo.BasicTypeInfo; import org.apache.flink.api.common.typeinfo.PrimitiveArrayTypeInfo; import org.apache.flink.api.common.typeinfo.SqlTimeTypeInfo; import org.apache.flink.api.common.typeinfo.TypeInformati...
1,549
892
{ "schema_version": "1.2.0", "id": "GHSA-mg2c-c9jj-4xgv", "modified": "2022-04-09T00:00:41Z", "published": "2022-04-03T00:01:02Z", "aliases": [ "CVE-2021-32503" ], "details": "Unauthenticated users can access sensitive web URLs through GET request, which should be restricted to maintenance users only....
417
1,531
<reponame>iqianxing/ngrinder<gh_stars>1000+ /** * package containing ngrinder task scheduling. */ package org.ngrinder.infra.schedule;
49
348
<filename>docs/data/leg-t2/023/02301258.json {"nom":"Vareilles","circ":"1ère circonscription","dpt":"Creuse","inscrits":225,"abs":115,"votants":110,"blancs":19,"nuls":9,"exp":82,"res":[{"nuance":"REM","nom":"<NAME>","voix":57},{"nuance":"LR","nom":"<NAME>","voix":25}]}
107
17,318
/* * 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. * The ASF licenses this file to You under t...
1,362
5,169
{ "name": "LBYNetworking", "version": "0.1.0", "summary": "LBYNetworking verry sample", "description": "this is to use demo.\nso I'm glad to share with you.", "homepage": "https://github.com/LucyBenYing/LBYNetworking", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "LucyBenYin...
233
1,837
/* * 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. * The ASF licenses this file to You under t...
15,613
1,562
<reponame>Masud2017/sandboxed-api<filename>oss-internship-2020/guetzli/guetzli_entry_points.cc<gh_stars>1000+ // Copyright 2020 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 ...
3,914
1,088
<gh_stars>1000+ /* Copyright 2020 Alibaba Group Holding Limited. 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 ...
4,418
971
<filename>dl-worker/dl-worker-core/src/main/java/com/ucar/datalink/worker/core/runtime/TaskStatusEvent.java package com.ucar.datalink.worker.core.runtime; /** * Created by lubiao on 2018/4/24. */ public class TaskStatusEvent { private String taskId; private String taskExecutionId; private Long startTime;...
399
1,056
<filename>php/php.project/src/org/netbeans/modules/php/project/util/UsageLogging.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 licen...
1,348
571
package camelinaction; import org.apache.camel.Exchange; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.spring.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractXmlApplicationContext; import org.springframework.context.support.ClassPath...
513
347
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.cluster; import javax.inject.Inject; import org.ovirt.engine.core.common.businessentities.Cluster; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.ui.common.presenter.DetailActionPanelPresenterWidget; import org.ovirt.en...
609
552
package com.mkyong.core.repository; import org.springframework.stereotype.Repository; @Repository public class HelloRepositoryImpl implements HelloRepository { @Override public String get() { return "Hello JUnit 5"; } }
83
1,056
/* * 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 ...
5,720
5,964
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #ifndef V8HTMLMarqueeElement_h #define V8HTMLMarqueeElement_h #inc...
1,811
805
<filename>src/fgmmbin/fgmm-global-est.cc<gh_stars>100-1000 // fgmmbin/fgmm-global-est.cc // Copyright 2009-2011 Saarland University; Microsoft Corporation // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this f...
1,260
788
package org.apache.usergrid.persistence.queue.util; import java.util.*; import com.amazonaws.auth.policy.*; import com.amazonaws.auth.policy.conditions.ArnCondition; import com.amazonaws.services.sqs.model.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.apache.usergrid.persistence.queue.Legac...
5,233
1,936
<gh_stars>1000+ #ifndef ROVIOLI_IMU_CAMERA_SYNCHRONIZER_FLOW_H_ #define ROVIOLI_IMU_CAMERA_SYNCHRONIZER_FLOW_H_ #include <aslam/cameras/ncamera.h> #include <message-flow/message-flow.h> #include <sensors/imu.h> #include <vio-common/vio-types.h> #include "rovioli/flow-topics.h" #include "rovioli/imu-camera-synchronize...
869
322
<reponame>mindThomas/acados /* This file was automatically generated by CasADi. The CasADi copyright holders make no ownership claim of its contents. */ #ifdef __cplusplus extern "C" { #endif /* How to prefix internal symbols */ #ifdef CODEGEN_PREFIX #define NAMESPACE_CONCAT(NS, ID) _NAMESPACE_CONCAT(NS, ID) #d...
3,254
891
<filename>tests/data/expected/main/main_jsonschema_external_files/output.py # generated by datamodel-codegen: # filename: external_parent_root.json # timestamp: 2019-07-26T00:00:00+00:00 from __future__ import annotations from typing import Optional from pydantic import BaseModel class ExternalChildRoot(BaseM...
136
3,101
/* * 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 ...
2,701
2,047
<reponame>sivchand/smart_open # -*- coding: utf-8 -*- # # Copyright (C) 2019 <NAME> <<EMAIL>> # # This code is distributed under the terms and conditions # from the MIT License (MIT). # import logging import boto3 from smart_open import open # # These are publicly available via play.min.io # KEY_ID = 'Q<KEY>' SECRET_...
794
557
<reponame>cockcrow/python-mammoth from nose.tools import istest, assert_equal from mammoth.styles.parser.tokeniser import Token, TokenType from mammoth.styles.parser.token_parser import decode_escape_sequences, parse_identifier, parse_string from mammoth.styles.parser.token_iterator import TokenIterator @istest def ...
472
1,333
package org.xujin.moss.model.trace; import java.io.Serializable; public class TopologyResult implements Serializable { private TopologyData data; public TopologyData getData() { return data; } public void setData(TopologyData data) { this.data = data; } }
109
1,194
<reponame>mbw-ahc/hapi-fhir package ca.uhn.fhir.jpa.interceptor.ex; import ca.uhn.fhir.interceptor.api.Hook; import ca.uhn.fhir.interceptor.api.Interceptor; import ca.uhn.fhir.interceptor.api.Pointcut; import ca.uhn.fhir.interceptor.model.RequestPartitionId; // This class is replicated in PartitionExamples.java -- Ke...
207
930
<reponame>zhenchai/pigeon<gh_stars>100-1000 package com.dianping.pigeon.remoting.common.codec.fst; import java.io.IOException; import java.math.BigInteger; import de.ruedigermoeller.serialization.FSTBasicObjectSerializer; import de.ruedigermoeller.serialization.FSTClazzInfo; import de.ruedigermoeller.serialization.FS...
402
2,151
//===-- DomPrinter.h - Dom printer external interface ------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
280
937
# -*- coding: utf-8 -*- import scrapy class RenrenSpider(scrapy.Spider): """ 使用formrequest进行post请求 """ name = 'renren' allowed_domains = ['renren.com'] start_urls = ['http://www.renren.com/PLogin.do'] # 实现post请求需要重写start_request方法,不重写的话,默认的start_requests方法使用的GET请求 def start_reque...
409
1,521
/** * Copyright 2020 Alibaba Group Holding Limited. * * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applic...
1,491
578
/* * 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,114
902
/* fullbench.c - Demo program to benchmark open-source compression algorithm Copyright (C) <NAME> 2012-2015 GPL v2 License This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eit...
22,997
585
<gh_stars>100-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 "...
683
4,036
#if !defined(CODEQL_ITERATOR_H) #define CODEQL_ITERATOR_H typedef unsigned long size_t; #include "type_traits.h" namespace std { struct ptrdiff_t; template<class I> struct iterator_traits; template <class Category, class value_type, class difference_type = ptrdiff_t, class pointer_type = value_ty...
941
2,782
package course.examples.graphics.shapedraw; import android.app.Activity; import android.graphics.Color; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.OvalShape; import android.os.Bundle; import android.widget.ImageView; import android.widget.RelativeLayout; public class Shape...
823
788
<reponame>afedyukova/libact """This module includes some functions to be reused in query strategy testing. """ import numpy as np def run_qs(trn_ds, qs, truth, quota): """Run query strategy on specified dataset and return quering sequence. Parameters ---------- trn_ds : Dataset object The da...
322
324
/* * 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 ...
6,736
4,879
<reponame>kudlav/organicmaps #import "MWMTableViewController.h" @interface MWMRecentTrackSettingsController : MWMTableViewController @end
44
2,073
<reponame>alexey-anufriev/pac4j package org.pac4j.oauth.client; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Test; import org.pac4j.core.util.TestsConstants; import org.pac4j.oauth.profile.casoauthwrapper.CasOAuthWrapperProfileDefinition; import j...
1,301
389
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.parser.java.classinfo; import com.sun.source.tree.AnnotationTree; import com.sun.source.tree.MethodTree; import com.sun.source.tree.ModifiersTree; import com.sun.source.tree.VariableTree; import com.sun.tools.javac.code.Flags; import com.sun.t...
1,565
1,863
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
2,030
412
<gh_stars>100-1000 /* 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 law ...
7,192
848
/*Copyright 2019 Xilinx 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 writing, software dist...
1,370
2,414
/* * <!-- * ~ Copyright 2019 WeBank * ~ * ~ 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 requi...
746
2,151
/* * Mesa 3-D graphics library * Version: 7.1 * * Copyright (C) 1999-2007 <NAME> All Rights Reserved. * * 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, includ...
9,929
10,016
/* * HeadURL: https://svn.apache.org/repos/asf/httpcomponents/oac.hc3x/trunk/src/java/org/apache/commons/httpclient/protocol/SecureProtocolSocketFactory.jav * Revision: 608014 * Date: 2008-01-02 05:48:53 +0000 (Wed, 02 Jan 2008) * * ==================================================================== * * Licens...
985
14,668
// Copyright 2021 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 "chromeos/services/libassistant/abortable_task_list.h" #include <algorithm> namespace chromeos { namespace libassistant { AbortableTaskList::A...
457
573
#!/usr/bin/env python3 import os import sys import runpy assert len(sys.argv) > 1 sys.argv = sys.argv[1:] sys.path.insert(0, os.path.dirname(sys.argv[0])) runpy.run_path(sys.argv[0], run_name='__main__')
93
311
/** * 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 License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
1,570
5,535
<reponame>bradfordb-vmware/gpdb from mock import * from .gp_unittest import * from gppylib.system.info import * class InfoTestCase(GpTestCase): def setUp(self): self.vmem = Mock() self.vmem.available = 123 * MB STACK_SIZE = 8 * MB self.apply_patches([ patch("psutil.vi...
318
3,579
<gh_stars>1000+ /* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/team) * * 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 * Unl...
1,189
719
<filename>pytorch/pytorch_edgeml/graph/bonsai.py<gh_stars>100-1000 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT license. import torch import torch.nn as nn import numpy as np class Bonsai(nn.Module): def __init__(self, numClasses, dataDimension, projectionDimension, ...
2,790
14,668
// 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. #ifndef COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_FILE_H_ #define COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_FILE_H_ #include <stdint.h> #include <...
2,054
2,151
<gh_stars>1000+ /* * Copyright (c) 2013 The Native Client 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 <setjmp.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> extern "C" void try_block_test(); class ...
913
577
<reponame>jeff5/jython-whinchat package org.python.core; import java.io.Serializable; // XXX: isBaseType = false @Untraversable public class PyNotImplemented extends PySingleton implements Serializable { PyNotImplemented() { super("NotImplemented"); } public Object __tojava__(Class c) { /...
315
1,149
<gh_stars>1000+ #ifndef _RL_WAL_H #define _RL_WAL_H int rl_write_apply_wal(rlite *db); int rl_write_wal(const char *wal_path, rlite *db, unsigned char **_data, size_t *_datalen); int rl_apply_wal(rlite *db); #endif
101
317
package com.googlecode.totallylazy.matchers; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.StringDescription; import org.junit.Test; import static com.googlecode.totallylazy.functions.Callables.returns; import static com.googlecode.totallylazy.matchers.LazyEqualsMatcher.lazyEqualTo...
653
419
#include "PlayerAction_Jump.h" #include "Game/Core/Player/PlayerPhysicsController.h" #include "Game/Core/Player/Components/Component_MainPlayer.h" #include "Game/Core/Player/PlayerCameraController.h" #include "Game/Core/Player/PlayerAnimationController.h" #include "Game/Core/Player/GraphControllers/PlayerGraphControlle...
2,960
590
/*! @file @author <NAME> @date 09/2010 */ #include "Precompiled.h" #include "SettingsGeneralControl.h" #include "SettingsManager.h" #include "FactoryManager.h" namespace tools { FACTORY_ITEM_ATTRIBUTE(SettingsGeneralControl) SettingsGeneralControl::SettingsGeneralControl() : mGridStep(0), mGridEdit(nullp...
1,244
1,997
"""Services module.""" import logging import sqlite3 from typing import Dict from mypy_boto3_s3 import S3Client class BaseService: def __init__(self) -> None: self.logger = logging.getLogger( f'{__name__}.{self.__class__.__name__}', ) class UserService(BaseService): def __ini...
623
14,668
<reponame>zealoussnow/chromium // Copyright 2020 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. package org.chromium.components.paintpreview.player; /** * Interface for handling overscroll events in the player. */ pu...
301
2,151
// Copyright 2017 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/http/http_proxy_client_socket_wrapper.h" #include <cstdio> #include <memory> #include "build/build_config.h" #include "net/cert/ct_policy_...
5,741
4,822
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
3,594
357
package com.vmware.identity.rest.core.client.test.integration.util; import static com.vmware.identity.rest.core.client.URIFactory.buildURI; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringWriter; import java.net.URI; import java.text.DateFormat; impor...
2,145
14,425
<filename>hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/Compressions.h /** * 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 ...
819
1,127
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include "low_precision_transformations/move_fake_quantize_transformation.hpp" #include "common_test_utils/test_constants.hpp" using namespace LayerTestsDefinitions; const std::vector<ngraph::element::Type> netP...
3,001
1,248
<filename>src/tests/plugins/banktransfer/test_api.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 Aff...
3,064
14,668
<filename>ash/public/cpp/nearby_share_delegate.h // Copyright 2020 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 ASH_PUBLIC_CPP_NEARBY_SHARE_DELEGATE_H_ #define ASH_PUBLIC_CPP_NEARBY_SHARE_DELEGATE_H_ #include...
556
663
import numpy as np from skmultiflow.drift_detection import ADWIN def demo(): """ _test_adwin In this demo, an ADWIN object evaluates a sequence of numbers corresponding to 2 distributions. The ADWIN object indicates the indices where change is detected. The first half of the data is a sequence ...
333
376
<gh_stars>100-1000 from .target_classification import LBHinge
20
24,206
<gh_stars>1000+ package com.alibaba.excel.metadata.property; import com.alibaba.excel.annotation.format.DateTimeFormat; import com.alibaba.excel.util.BooleanUtils; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; /** * Configuration from annotations * * @author <NAME> */ @Getter @Sett...
338
348
{"nom":"Boulleret","circ":"1ère circonscription","dpt":"Cher","inscrits":1163,"abs":622,"votants":541,"blancs":40,"nuls":10,"exp":491,"res":[{"nuance":"REM","nom":"<NAME>","voix":279},{"nuance":"LR","nom":"M. <NAME>","voix":212}]}
93
1,305
/* * Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.protocol.giopmsgheaders; import com.sun.corba.se.spi.ior.ObjectKey; imp...
907
2,856
<gh_stars>1000+ # Copyright (C) 2011, 2018 by <NAME> (<EMAIL>) # # This file is part of the Biopython distribution and governed by your # choice of the "Biopython License Agreement" or the "BSD 3-Clause License". # Please see the LICENSE file that should have been included as part of this # package. """Classes for the...
2,848
2,392
// Copyright (c) 2011 CNRS and LIRIS' Establishments (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org) // // $URL: https://github.com/CGAL/cgal/blob/v5.1/Linear_cell_complex/include/CGAL/Linear_cell_complex.h $ // $Id: Linear_cell_complex.h 0308d1a 2020-03-27T18:35:15+01:00 Guillaume Dami...
648
456
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2004-2020 <NAME> // All rights reserved. #pragma once #include <djvUI/Widget.h> namespace djv { namespace UI { //! Tab bar widget. class TabBar : public Widget { DJV_NON_COPYABLE(TabBar); protected: ...
853
945
#include "vnl/vnl_vector_fixed.hxx" VNL_VECTOR_FIXED_INSTANTIATE(signed long long, 2); VNL_VECTOR_FIXED_INSTANTIATE(signed long long, 3); VNL_VECTOR_FIXED_INSTANTIATE(signed long long, 4); VNL_VECTOR_FIXED_INSTANTIATE(signed long long, 8);
106
308
<reponame>melancholy/dd-trace-py import socket from typing import Optional _hostname = None # type: Optional[str] def get_hostname(): # type: () -> str global _hostname if not _hostname: _hostname = socket.gethostname() return _hostname
100
2,082
<reponame>Madhavan-Prabakaran/HackerRank_solutions // github.com/RodneyShag /* * For your reference: * * DoublyLinkedListNode { * int data; * DoublyLinkedListNode next; * DoublyLinkedListNode prev; * } * */ // Time Complexity: O(n) // Space Complexity: O(1) DoublyLinkedListNode reverse(DoublyLin...
350
1,755
<reponame>txwhhny/vtk /*========================================================================= Program: Visualization Toolkit Module: vtkFlagpoleLabel.h Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwar...
1,548
3,106
/** * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * This file is generated. Do not modify it manually! * @codegen-command : phps RepoSync intl_oss_fbt * @codegen-source : fbsource/xplat/intl/oss-fbt/packages/react-native-fbt/android/src/main/java/com/facebook/react/modules/FbtModule.java ...
1,686
3,680
// // Copyright 2018 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
1,795
738
<gh_stars>100-1000 from django.http import HttpResponseNotAllowed def requires_post(func): """ Returns an HTTP 405 error if the request method isn't POST. """ def decorator(request, *args, **kwargs): if request.method == 'POST': return func(request, *args, **kwargs) return H...
142
543
<reponame>fredells/riiablo<filename>core/src/main/java/com/riiablo/video/VideoPacket.java package com.riiablo.video; import com.riiablo.io.ByteInput; public class VideoPacket implements Runnable { final ByteInput in; VideoPacket(ByteInput in) { this.in = in; } @Override public void run() { } pri...
8,463
1,907
<gh_stars>1000+ // // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 <NAME>, Jupiter Jazz Limited // Copyright (c) 2014-2018 <NAME>, The appleseedhq Organization // /...
2,686
878
<reponame>lfkdsk/JustWeEngine package com.lfk.justweengine.utils.database; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import a...
5,380
605
//===-- TestTracer.h --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
516
1,306
/* * Copyright (C) 2012 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...
4,953
27,416
<filename>community/boilerplates/event-triggers/aws-lambda/java/echo/src/main/java/example/Note.java package example; class Note { private Integer id; private String note; Integer getId() { return id; } void setId(Integer id) { this.id = id; } String getNote() { ...
174
2,670
<gh_stars>1000+ /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-----------------------------------------------...
175