max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,218
import abc import tensorflow as tf class AbstractRepresentationGraph(object): __metaclass__ = abc.ABCMeta @abc.abstractmethod def connect_representation_graph(self, tf_features, n_components, n_features, node_name_ending): """ This method is responsible for connecting the user/item featur...
2,653
2,151
<gh_stars>1000+ // 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. #ifndef CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_SMS_SERVICE_FACTORY_H_ #define CHROME_BROWSER_UI_DESKTOP_IOS_PROMOTION_SMS_SERVICE_FACTORY...
425
347
<gh_stars>100-1000 package org.ovirt.engine.ui.uicommonweb.models.options; import org.ovirt.engine.core.common.businessentities.UserProfileProperty; import org.ovirt.engine.ui.uicommonweb.models.EntityModel; /** * Abstract field in the {@link EditOptionsModel} * @param <T> entity type wrapped by this field */ inte...
467
1,299
<filename>tika-core/src/main/java/org/apache/tika/io/IOUtils.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You ...
739
319
<filename>mx.zippy/mx_zippy_tools.py import mx import time import sys def print_wait(wait_time): for remaining in range(wait_time, 0, -1): sys.stdout.write("\r") sys.stdout.write("[ ... ] continue in {:2d} seconds".format(remaining)) sys.stdout.flush() time.sleep(1) print('') ...
3,058
634
<gh_stars>100-1000 /* * Copyright 2000-2009 JetBrains s.r.o. * * 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...
310
5,168
<filename>dnn/src/cuda/cudnn_with_check.h /** * \file dnn/src/cuda/cudnn_with_check.h * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed un...
191
1,420
/* * * Copyright 2018 Netflix, 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 ap...
2,341
1,062
// // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <MailFW/NSObject-Protocol.h> @class MFEWSRetrievePersistedFolderDataOperation, NSArray, NSDictionary; @protocol MFEWSRetrievePersistedFolderDataDelegate <NSObject> - (void...
178
834
#!/usr/bin/env python3 # Run as python3 find_files_not_in_fboss.py # # # This scripts finds files that are open sourced but *not* built in open # source. It works as follows: # - recursively traverse to find all open sourced files under fboss directory # - parse all cmakes to find the files are built. # - diff a...
942
536
<gh_stars>100-1000 package com.ctrip.ops.sysdev.render; import org.testng.Assert; import org.testng.annotations.Test; import java.util.HashMap; /** * Created by liujia on 18/7/11. */ public class TestDateFormatter { @Test public void testDateFormatter() { DateFormatter render = new DateFormatter("a...
839
542
#ifndef GUARD_compute_example_app_H #define GUARD_compute_example_app_H #endif #include <stdint.h> #include "le_core.h" // depends on le_backend_vk. le_backend_vk must be loaded before this class is used. void register_compute_example_app_api( void *api ); struct compute_example_app_o; // clang-format off struct c...
713
1,585
/* * Copyright (c) 2013-2015 Mellanox Technologies, Inc. * All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "oshmem_config.h" #include "oshmem/constants.h" #include "oshmem/include/shmem.h" #include "oshmem/include/shmemx.h" #include "osh...
1,197
427
/** Memory management * @file * * The compiler's memory management is deliberately leaky for high performance. * Allocation is done via bump pointer within very large arenas allocated from the heap * Nothing is ever freed. * * This source file is part of the Cone Programming Language C compiler * See Copyright ...
1,347
565
/*------------------------------------------------------------------------ Turf: Configurable C++ platform adapter Copyright (c) 2016 <NAME> Distributed under the Simplified BSD License. Original location: https://github.com/preshing/turf This software is distributed WITHOUT ANY WARRANTY; without even the ...
643
366
<filename>azure-iot-device/azure/iot/device/iothub/pipeline/__init__.py """Azure IoT Hub Device SDK Pipeline This package provides a protocol pipeline for use with the Azure IoT Hub Device SDK. INTERNAL USAGE ONLY """ from .mqtt_pipeline import MQTTPipeline from .http_pipeline import HTTPPipeline from .config import...
111
368
<reponame>y-sira/oltpbench /****************************************************************************** * Copyright 2015 by OLTPBenchmark Project * * * * Licensed under the Apache License, Version 2.0 (t...
1,339
25,151
<filename>venv/Lib/site-packages/selenium/webdriver/common/actions/wheel_input.py # Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this ...
705
453
<filename>lib/jxl/dec_external_image_gbench.cc // Copyright (c) the JPEG XL 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. #include "benchmark/benchmark.h" #include "lib/jxl/dec_external_image.h" #include "lib/jxl/image_o...
715
315
<filename>mesh/src/main/java/no/nordicsemi/android/mesh/data/ProvisionersDao.java package no.nordicsemi.android.mesh.data; import java.util.List; import androidx.annotation.RestrictTo; import androidx.room.Dao; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; import an...
327
1,493
# pylint: disable=C,E1101,E1102 ''' Some functions related to SO3 and his usual representations Using ZYZ Euler angles parametrisation ''' import torch import math import numpy as np class torch_default_dtype: def __init__(self, dtype): self.saved_dtype = None self.dtype = dtype def __enter...
4,428
467
package uk.co.appoly.arcorelocation; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationMan...
2,089
347
<filename>backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTemplateDisksResource.java package org.ovirt.engine.api.restapi.resource; import java.util.List; import org.ovirt.engine.api.model.Disk; import org.ovirt.engine.api.model.Disks; import org.ovirt.engine.api.model...
671
764
{"symbol": "BEST","address": "0x1B073382E63411E3BcfFE90aC1B9A43feFa1Ec6F","overview":{"en": ""},"email": "<EMAIL>","website": "https://www.bitpanda.com/en/best","state": "NORMAL","links": {"blog": "https://medium.com/@Bitpanda","twitter": "https://twitter.com/bitpanda","telegram": "https://t.me/BEST_en","github": ""}}
129
1,013
{"entries":[{"request":{"method":"GET","url":"http://localhost:8000/assert-json"},"response":{"version":"HTTP/1.0","status":200,"asserts":[{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"equal","value":5}},{"query":{"type":"jsonpath","expr":"$.count"},"predicate":{"type":"equal","value":5}},{"query":...
1,321
998
// Copyright 2021 Phyronnaz #pragma once #include "CoreMinimal.h" #include "VoxelMinimal.h" #if WITH_PHYSX && PHYSICS_INTERFACE_PHYSX template<typename T> class TVoxelPhysXRef { public: TVoxelPhysXRef() = default; TVoxelPhysXRef(T* Ptr) { if (Ptr) { Impl = MakeVoxelShared<FImpl>(*Ptr); ...
313
6,160
<reponame>nll/jmeter /* * 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...
2,918
669
<reponame>Dig-Doug/runtime // Copyright 2021 The TensorFlow Runtime 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 // // Unl...
466
1,235
/* g++ -std=c++11 00_variable.cpp -o 00_variable; ./00_variable; */ #include <iostream> using namespace std; int main() { // declaring variables: int a, b; a = 7; b = 2; a = a + 1; b++; auto c = a - b; // int c = a - b; cout << c << endl; // 5 string st1("Hello"); cout << st1 << endl; // Hello string ...
173
1,372
<reponame>Russ76/mrpt /* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | ...
438
1,133
/** * * PixelFlow | Copyright (C) 2016 <NAME> - http://thomasdiewald.com * * A Processing/Java library for high performance GPU-Computing (GLSL). * MIT License: https://opensource.org/licenses/MIT * */ package OpticalFlow.OpticalFlow_MovieFluid; import java.util.Locale; import com.thomasdiewald.pixelf...
9,460
852
#ifndef PixelToFEDAssociate_H #define PixelToFEDAssociate_H /** \class PixelToFEDAssociate * Check to which FED pixel module belongs to. * The associacions are read from the datafile */ #include <string> #include "DataFormats/SiPixelDetId/interface/PixelModuleName.h" class PixelToFEDAssociate { public: struc...
273
5,300
<reponame>efectn/FrameworkBenchmarks /* * Copyright (c) 2018, org.smartboot. All rights reserved. * project name: smart-socket * file name: HttpBootstrap.java * Date: 2018-01-28 * Author: sandao */ package org.smartboot.http; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; impo...
1,459
1,744
/* * Copyright 2014 The Embulk 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 law or agr...
2,145
409
<reponame>serosko/seqan<filename>include/seqan/index/index_fm_stree.h<gh_stars>100-1000 // ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c...
8,097
7,158
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html #include "test_precomp.hpp" #include "features2d/test/test_detectors_invariance.impl.hpp" // main OpenCV repo #include "featu...
4,947
12,278
<reponame>cpp-pm/boost // Boost.Geometry // Copyright (c) 2016-2017 Oracle and/or its affiliates. // Contributed and/or modified by <NAME>, on behalf of Oracle // Contributed and/or modified by <NAME>, on behalf of Oracle // Use, modification and distribution is subject to the Boost Software License, // Version 1.0....
2,053
6,424
""" Hooks for autograd saved tensors ======================= """ ###################################################################### # PyTorch typically computes gradients using backpropagation. However, # certain operations require intermediary results to be saved in order to # perform backpropagation. This tuto...
4,521
1,292
/* * Copyright 2010-2011, Sikuli.org * Released under the MIT License. * */ package org.sikuli.script; import java.awt.*; import java.awt.image.*; import java.awt.color.*; import org.sikuli.script.natives.Mat; import org.sikuli.script.natives.Vision; public class OpenCV { public static BufferedImage createBuf...
641
678
<gh_stars>100-1000 /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport */ #import <iWorkImport/GQDScalarPath.h> #import <iWorkImport/iWorkImport-Structs.h> #import <iWorkImport/GQDPath.h> __attribute__((visibility("hidden"))) @inter...
319
992
/* * Copyright (C) 2017 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,492
568
package com.fincatto.documentofiscal.nfe310.classes.nota; import java.math.BigDecimal; import org.junit.Assert; import org.junit.Test; import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoImpostoTributacaoICMS; import com.fincatto.documentofiscal.nfe310.classes.NFOrigem; import com.fincatto.documentofiscal.n...
2,666
713
<filename>component-annotations/src/main/java/org/infinispan/jmx/annotations/Parameter.java<gh_stars>100-1000 package org.infinispan.jmx.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; impo...
204
1,772
<reponame>mtcolman/django-DefectDojo<filename>dojo/tools/blackduck/model.py from collections import namedtuple # this class can be updated to use @dataclass in Python 3.7 # note that all types are strings except for 'locations' which is a set of strings BlackduckFinding = namedtuple('BlackduckFinding', [ 'vuln_id'...
282
4,816
/** * @file tests/llvmir2hll/pattern/patterns/stmts_pattern_tests.cpp * @brief Tests for the @c stmts_pattern module. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <string> #include <gtest/gtest.h> #include <llvm/Support/raw_ostream.h> #include "retdec/llvmir2hll/ir/empty_stmt.h" #...
1,788
1,718
#import <ReactiveObjC/ReactiveObjC.h> #import <UIKit/UIKit.h> @interface UIApplication (TRReactiveBackgroundTask) - (RACSignal *)tr_backgroundTaskWithSignal:(RACSignal *(^)(void))signalBlock; @end
78
1,909
<reponame>grmkris/XChange<filename>xchange-cryptopia/src/test/java/org/knowm/xchange/cryptopia/CryptopiaErrorAdapterTest.java package org.knowm.xchange.cryptopia; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.knowm.xchange.cryptopia.dto.CryptopiaException; import org.know...
401
788
/* * 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 ...
529
1,595
<gh_stars>1000+ from typing import Any, Callable, Iterable, List, Optional, Union import pandas as pd class Plottable(object): _edges : Any _nodes : Any _source : Optional[str] _destination : Optional[str] _node : Optional[str] _edge_title : Optional[str] _edge_label : Optional[str] _e...
1,158
459
<reponame>vif/3D-STG<filename>ThirdParty/oglplus-develop/implement/oglplus/text/pango_cairo/font.ipp /** * @file oglplus/text/pango_cairo/font.ipp * @brief Implementation of pango/cairo-based text rendering, font * * @author <NAME> * * Copyright 2010-2013 <NAME>. Distributed under the Boost * Software Licen...
405
2,670
{ "name": "test-missing", "version": "1.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "test-missing", "version": "1.0.0", "license": "ISC", "dependencies": { "@dependabot/test-missing-scoped-dep-version-npm-package": "https://github.com/dependabo...
1,168
399
/*- * #%L * athena-aws-cmdb * %% * Copyright (C) 2019 Amazon Web Services * %% * 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 * ...
1,771
458
<filename>gwt-material/src/main/java/gwt/material/design/client/base/AbstractIconButton.java /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 GwtMaterialDesign * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
2,040
663
#!/usr/bin/env python # pylint: disable=W0212 import math import sys import six from babel.numbers import format_decimal from agate import config, utils from agate.data_types import Number, Text def print_html(self, max_rows=20, max_columns=6, output=sys.stdout, max_column_width=20, locale=None, max_precision=3): ...
2,007
778
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ \. // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics FemDem Application // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: ...
3,170
1,418
""" The Simplified Sponge Roll Problem with Surplus and Trim for the PuLP Modeller Authors: <NAME>, Dr <NAME> 2007 """ # Import PuLP modeler functions from pulp import * # A list of all the roll lengths is created LenOpts = ["5", "7", "9"] rollData = { # Length Demand SalePrice "5": [150, 0.25], "7": [20...
846
4,283
/* * Copyright 2021 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
2,193
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...
3,895
432
// -*- C++ -*- // Copyright (C) 2005-2018 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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; either version 3...
3,278
543
<reponame>CoenRijsdijk/Bytecoder<gh_stars>100-1000 /* * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public L...
3,862
1,826
package com.vladsch.flexmark.tree.iteration; import org.jetbrains.annotations.NotNull; import java.util.function.Function; public class FixedIterationConditions<N> implements IterationConditions<N> { final private @NotNull Function<? super N, N> initializer; final private @NotNull Function<? super N, N> iter...
763
742
<reponame>kuro-channel/knowledge-1<gh_stars>100-1000 package org.support.project.web.common; public final class HttpStatusMsg { public static String getMsg(int status) { switch (status) { case HttpStatus.SC_200_OK: return "OK"; case HttpStatus.SC_201_CREATED: ...
634
335
// Copyright 2021 Open Source Robotics Foundation, 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 appli...
888
306
<filename>tools/generate-devstack-plugins-list.py #! /usr/bin/env python3 # Copyright 2016 Hewlett Packard Enterprise Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License a...
930
532
<filename>tests/protocols/companion/test_companion_auth.py """Functional authentication tests with fake Companion Apple TV.""" import inspect from ipaddress import IPv4Address from aiohttp.test_utils import AioHTTPTestCase, unittest_run_loop import pyatv from pyatv import exceptions from pyatv.conf import AppleTV, M...
1,413
433
<filename>rt-gateway-ctp/src/main/java/xyz/redtorch/gateway/ctp/x64v6v5v1cpv/api/CThostFtdcReqUserLoginField.java /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.0 * * Do not make changes to this fil...
2,075
643
# ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # --------------------------------------------...
12,827
3,508
<filename>src/test/java/com/fishercoder/_63Test.java package com.fishercoder; import com.fishercoder.solutions._63; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.assertEquals; public class _63Test { private static _63.Solution1 solution1; private static int[][] obstacleGrid;...
408
350
# Copyright cocotb contributors # Licensed under the Revised BSD License, see LICENSE for details. # SPDX-License-Identifier: BSD-3-Clause import warnings from common import MyException import cocotb @cocotb.test() async def test_fork_start_immediately(_): with warnings.catch_warnings(): warnings.simple...
630
597
<reponame>luckydzj/LogiKM package com.xiaojukeji.kafka.manager.bpm.order; import com.xiaojukeji.kafka.manager.bpm.common.entry.detail.OrderDetailDeleteAppDTO; import com.xiaojukeji.kafka.manager.bpm.common.handle.OrderHandleBaseDTO; import com.xiaojukeji.kafka.manager.bpm.config.BaseTest; import com.xiaojukeji.kafka.m...
3,198
14,668
<gh_stars>1000+ // 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. #include "components/sync/model/processor_entity.h" #include <utility> #include "base/base64.h" #include "base/hash/sha1.h" #include "ba...
3,986
930
<reponame>leven-space/matecloud package vip.mate.seata.user.feign; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; /** * 远程调用订单接口 * * @author pangu */ @FeignClient("seata-order-example") public interface OrderProvider { /** * 创建订单 */ @PostM...
158
2,161
/* * 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 ...
709
561
<gh_stars>100-1000 ########################################################################## # # Copyright (c) 2020, <NAME>. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistr...
1,438
348
<filename>docs/data/leg-t1/012/01202121.json {"nom":"Lanuéjouls","circ":"2ème circonscription","dpt":"Aveyron","inscrits":579,"abs":197,"votants":382,"blancs":5,"nuls":3,"exp":374,"res":[{"nuance":"REM","nom":"<NAME>","voix":166},{"nuance":"LR","nom":"<NAME>","voix":64},{"nuance":"FN","nom":"M. <NAME>","voix":44},{"nua...
220
370
#define DLONG #include <../Source/umf_singletons.c>
21
589
<reponame>ClaudioWaldvogel/inspectIT package rocks.inspectit.server.instrumentation.config.applier; import rocks.inspectit.server.instrumentation.config.filter.AssignmentFilterProvider; import rocks.inspectit.server.instrumentation.config.filter.ClassSensorAssignmentFilter; import rocks.inspectit.server.instrumentatio...
594
8,027
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
870
348
{"nom":"Saint-Léger-les-Vignes","circ":"4ème circonscription","dpt":"Loire-Atlantique","inscrits":1332,"abs":578,"votants":754,"blancs":11,"nuls":4,"exp":739,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":325},{"nuance":"FI","nom":"<NAME>","voix":138},{"nuance":"SOC","nom":"<NAME>","voix":86},{"nuance":"UDI","nom":"M...
393
456
// MJP's DX12 Sample Framework // http://mynameismjp.wordpress.com/ // // All code licensed under the MIT license // //================================================================================================= #pragma once #include "../PCH.h" #include "../Containers.h" namespace SampleFramework12 { struct...
1,498
2,663
<filename>Projects/Governance/Schemas/Docs-Nodes/S/Support/Support-Program/support-program.json { "type": "Support Program", "definition": { "text": "At Superalgos, we take pride in the level of support we offer to newcomers and the Community in general. It is a crucial aspect of our culture, based abov...
1,055
314
<reponame>pronoymukherjeewritescode/MobileShell #pragma once NTSTATUS NTAPI WnfCallback(ULONG64, void*, void*, void*, void*, ULONG); const ULONG64 WNF_SHEL_NOTIFICATIONS = 0xD83063EA3BC1035; const ULONG64 WNF_TMCN_ISTABLETMODE = 0xf850339a3bc0835; const ULONG64 WNF_LFS_STATE = 0x41950821A3BC0875; const ULONG64 WNF_SH...
1,363
1,714
<reponame>Seabreg/wcc /** * * Witchcraft Compiler Collection * * Author: <NAME> - <EMAIL> * ******************************************************************************* * The MIT License (MIT) * Copyright (c) 2016 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this soft...
52,233
517
package com.groupon.seleniumgridextras.grid; import com.groupon.seleniumgridextras.config.Config; import com.groupon.seleniumgridextras.config.RuntimeConfig; import org.junit.After; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertTrue; import java.io.File; import java.util.List; ...
832
301
#!/usr/bin/python3 # -*- coding: utf-8 -*- from numpy.random import randint from numpy import linspace from numpy import arange from numpy import zeros from numpy import column_stack from numpy import pi from numpy import array BG = [1,1,1,1] FRONT = [0,0,0,0.001] SIZE = 13000 EDGE = 0.08 INUM = 20*SIZE STP = 0.0...
678
357
import sys, os, stat import argparse, time from enum import Enum import antlr4 from antlr4.tree.Trees import Trees from tinypy.AST.builder.Builder import CustomVisitor from tinypy.parser.CST import CstFlattened, CstFiltered from tinypy.parser.Errors import CustomErrorStrategy, CustomErrorListener from tinypy.parser.C...
2,269
568
import sys sys.path.append('tests') sys.path.append('python3')
23
559
/** * Copyright (c) 2016-2017 Netflix, 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 requir...
1,105
45,293
<gh_stars>1000+ /* * Copyright 2010-2015 JetBrains s.r.o. * * 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 applic...
712
571
# Copyright 2015 Ufora 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 i...
4,309
417
<reponame>Parcons/Torque3D<filename>Engine/source/T3D/item.h //----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (t...
1,841
1,104
<filename>trunk/adhoc-jdbc/src/main/java/com/alimama/mdrill/jdbc/TableType.java package com.alimama.mdrill.jdbc; public enum TableType { MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE }
92
4,138
<gh_stars>1000+ package android.app; /** * 模拟系统源码,供CC中调用 * @author billy.qi * @since 18/8/13 13:57 */ public class AppGlobals { public static Application getInitialApplication() { return null; } }
110
852
#ifndef POPCON_POPCON_H #define POPCON_POPCON_H // // Author: <NAME> // Original Author: <NAME> // #include "CondCore/DBOutputService/interface/PoolDBOutputService.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interfa...
1,026
1,041
package io.ebean; /** * An expression that is part of a WHERE or HAVING clause. */ public interface Expression { }
36
2,023
<reponame>tdiprima/code<filename>recipes/Python/231476_Discrete_CosineSine/recipe-231476.py ################################################################################## ## ## Author: <NAME> ## Date: 27/10/03 ## File Name: dct-dst.py ## Description: -Discrete Cosine/Sine Transformations ## Website: http://www.q...
800
1,969
import numpy as np from .utils import decode_null_terminated_string from .types import (ALLOC_TABLE_TYPE, HeaderType, CURRENT_VERSION, FieldDescType, get_handlers, get_metadata_type) class Reader: def __init__(self, fname, custom_handlers={}): self._fname = fname self._custom_...
1,278
679
<reponame>Grosskopf/openoffice /************************************************************** * * 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...
1,466
387
""" ######################################################################### # Copyright (c) <NAME> @ Hikvision Research Institute. All rights reserved. # Filename : tp_r50_3stages_enlarge_ctw.py # Abstract : Model settings for ctw1500 # Current Version: 1.0.0 # Date : 2020-05-31 ###...
1,014
358
<reponame>tonny/gumwords /* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class jnistub_ChildEventListenerStub */ #ifndef _Included_jnistub_ChildEventListenerStub #define _Included_jnistub_ChildEventListenerStub #ifdef __cplusplus extern "C" { #endif /* * Class: jnistub_ChildEv...
640