max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
435
<filename>pycon-pl-2015/videos/pycon-pl-2015-maciej-szulik-microservices-on-openshift-v3.json { "description": "According to <NAME>, microservices \"is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an H...
435
1,402
<reponame>kvmanohar22/gtsam<gh_stars>1000+ // Example of using the GeographicLib::MGRS class #include <iostream> #include <exception> #include <string> #include <GeographicLib/UTMUPS.hpp> #include <GeographicLib/MGRS.hpp> using namespace std; using namespace GeographicLib; int main() { try { // See also exampl...
486
407
package com.alibaba.smart.framework.engine.configuration.impl; import java.util.Map; import com.alibaba.smart.framework.engine.common.util.MapUtil; import com.alibaba.smart.framework.engine.configuration.DelegationExecutor; import com.alibaba.smart.framework.engine.configuration.ExceptionProcessor; import com.alibaba...
1,312
1,663
/* Copyright (c) 2016 <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, distribut...
2,051
1,091
<reponame>meodaiduoi/onos /* * Copyright 2016-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 * ...
1,236
7,482
<filename>bsp/imx6sx/iMX6_Platform_SDK/sdk/drivers/eim/test/eim_test.c /* * Copyright (c) 2012, Freescale Semiconductor, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistrib...
2,632
13,006
package org.deeplearning4j.text.documentiterator; import java.util.List; /** * LabelAwareIterator wrapper which populates a LabelsSource while iterating. * * @author <NAME> */ public class LabelAwareIteratorWrapper implements LabelAwareIterator { private final LabelAwareIterator delegate; private final Label...
391
2,151
/************************************************************************** * * Copyright 2009-2010 <NAME> <<EMAIL>> * 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 Sof...
966
1,745
<filename>Source/Scripting/bsfScript/Extensions/BsPhysicsMeshEx.h //********************************* bs::framework - Copyright 2018-2019 <NAME> ************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #pragma onc...
370
903
/* * Copyright 2020 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" ...
2,841
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Notre-Dame-de-Livaye","circ":"3ème circonscription","dpt":"Calvados","inscrits":102,"abs":54,"votants":48,"blancs":6,"nuls":1,"exp":41,"res":[{"nuance":"MDM","nom":"<NAME>","voix":22},{"nuance":"LR","nom":"<NAME>","voix":19}]}
117
317
<reponame>Bartixxx32/Bombsquad-Ballistica-Modded-Server # Released under the MIT License. See LICENSE for details. # """Functionality related to the draw screen.""" from __future__ import annotations from typing import TYPE_CHECKING import ba from bastd.activity.multiteamscore import MultiTeamScoreScreenActivity fro...
456
535
import logging import numpy as np from sklearn.base import BaseEstimator, ClassifierMixin from sklearn.ensemble import ExtraTreesClassifier from .compat import string_, str_cast, unicode_ from .util import get_and_union_features from .blocks import TagCountNoCSSReadabilityBlockifier class Extractor(BaseEstimator, C...
3,806
3,228
<filename>src/main/java/org/red5/server/stream/FileStreamSource.java /* * RED5 Open Source Media Server - https://github.com/Red5/ Copyright 2006-2016 by respective authors (see below). All rights reserved. Licensed under the Apache License, Version * 2.0 (the "License"); you may not use this file except in complianc...
1,842
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.clustercontroller.core; import com.yahoo.vdslib.state.*; import com.yahoo.vespa.clustercontroller.core.hostinfo.HostInfo; import com.yahoo.vespa.clustercontroller.core.hostinfo.StorageNodeSt...
1,535
678
<filename>iOSOpenDev/frameworks/SoftwareUpdateServices.framework/Headers/SUAssetSupport.h<gh_stars>100-1000 /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/SoftwareUpdateServices.framework/SoftwareUpdateServices */ #import <SoftwareUpdateServices/XXUnknownSupercla...
464
1,290
<reponame>enjoyproduct/iOS-SlideMenu // // SlideMenuTests.h // SlideMenuTests // // Created by <NAME> on 4/24/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <XCTest/XCTest.h> @interface SlideMenuTests : XCTestCase @end
99
7,706
<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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
5,320
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.servicebus.management; import com.microsoft.azure.servicebus.security.SecurityConstants; import java.security.SecureRandom; import java.util.Base64; import java.util.HashSet; import java.util.L...
2,403
875
//package com.jeecg.p3.weixin.dao.impl; // //import java.util.List; //import java.util.Map; // //import org.jeecgframework.p3.core.utils.common.PageQuery; //import org.jeecgframework.p3.core.utils.common.PageQueryWrapper; //import org.jeecgframework.p3.core.utils.persistence.mybatis.GenericDaoDefault; //import org.spri...
896
634
<filename>server/container/cli/src/main/java/org/apache/james/cli/type/CmdType.java<gh_stars>100-1000 /**************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed wi...
2,258
8,747
<reponame>lovyan03/esp-idf /* * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #ifndef __cpp_exceptions #error system C++ classes only usable when C++ exceptions enabled. Enable CONFIG_COMPILER_CXX_EXCEPTIONS in Kconfig #endif /** * This ...
499
1,350
<reponame>Shashi-rk/azure-sdk-for-java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.automation.implementation; import com.azure.core.annotation.ExpectedResponses; import com...
10,450
14,668
// Copyright 2018 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 "chrome/browser/extensions/api/identity/identity_api.h" #include <memory> #include "base/threading/thread_task_runner_handle.h" #include "chrom...
2,093
12,718
#include <string.h> #include <libgen.h> char *basename(char *s) { size_t i; if (!s || !*s) return "."; i = strlen(s)-1; for (; i&&s[i]=='/'; i--) s[i] = 0; for (; i&&s[i-1]!='/'; i--); return s+i; } weak_alias(basename, __xpg_basename);
131
2,208
from pybrain.rl.experiments.experiment import Experiment from pybrain.rl.experiments.episodic import EpisodicExperiment from pybrain.rl.experiments.continuous import ContinuousExperiment
48
1,076
//////////////////////////////////////////////////////////////////////////////// // / // 2012-2019 (c) Baical / // ...
1,963
684
<reponame>MirageEarl/activiti /* 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 ...
1,350
2,921
{ "name": "PIN", "type": "ERC20", "symbol": "PIN", "decimals": 18, "website": "https://publicindex.network", "description": "PIN📌is a proof-of-work cryptocurrency designed to index web3 metadata. PIN also exists as a wrapped token on Ethereum, Binance Smart Chain, and Polygon.", "explorer":...
150
2,151
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
1,324
1,759
<gh_stars>1000+ /** * @file BSocksClient.h * @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 *...
2,626
631
/** * 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,458
335
<gh_stars>100-1000 { "word": "Splenomegaly", "definitions": [ "Abnormal enlargement of the spleen." ], "parts-of-speech": "Noun" }
73
17,702
<gh_stars>1000+ // // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #pragma once #include <string> #include <vector> #include "Config.h" #include "Descriptors.h" namespace CNTK { // A helper class for text sp...
753
2,583
<filename>blender/arm/props_exporter.py import os import shutil import stat import subprocess import webbrowser import bpy from bpy.types import Menu, Panel, UIList from bpy.props import * import arm.assets as assets import arm.utils if arm.is_reload(__name__): assets = arm.reload_module(assets) arm.utils = ...
8,473
12,252
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
3,373
5,823
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <Cocoa/Cocoa.h> #import "flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h" #import "flutter/shell/platform/darwin/macos/frame...
464
551
#ifndef BITMAP_TEXT_H #define BITMAP_TEXT_H #include "Actor.h" class RageTexture; class Font; struct FontPageTextures; /** @brief An actor that holds a Font and draws text to the screen. */ class BitmapText : public Actor { public: BitmapText(); BitmapText(const BitmapText& cpy); auto operator=(const BitmapText&...
2,328
5,766
<reponame>YKYou/poco // // HeaderGenerator.h // // Copyright (c) 2020, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #ifndef ActiveRecordCompiler_HeaderGenerator_INCLUDED #define ActiveRecordCompiler_HeaderGenerator_INCLUDED #include "CodeGenerator.h" ...
500
4,256
<reponame>ilelann/s2n /* * 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 ...
312
2,667
import random import string import timeit import unittest from collections import Hashable import six from six.moves import xrange import match_counter from testutil import repeat_until_passes # Here's an alternative implementation. Unlike the simple one, it never constructs a new data # structure, or modifies dicti...
2,281
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-rhxg-2cq5-ch36", "modified": "2022-03-17T00:04:19Z", "published": "2022-03-03T00:00:51Z", "aliases": [ "CVE-2022-22301" ], "details": "An improper neutralization of special elements used in an OS Command vulnerab...
469
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...
711
2,835
import base64 import boto3 def get_aws_secret(secret_name, region): session = boto3.session.Session() client = session.client( service_name="secretsmanager", region_name=region, ) get_secret_value_response = client.get_secret_value(SecretId=secret_name) if "SecretString" in get_se...
185
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.devtestlabs.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; im...
621
323
/* * @Copyright (c) 2018 缪聪(<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 required by appl...
1,175
3,459
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * 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; either version 2 of the Lic...
1,332
1,056
<filename>platform/core.multiview/test/unit/src/org/netbeans/core/multiview/MultiViewProcessorTest.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 ownersh...
10,520
359
from learntools.core import * import numpy as np import os class MyConfig(object): def __init__(self): self.columns = 7 self.rows = 6 self.inarow = 4 config = MyConfig() class MyBoard(object): def __init__(self, board, mark): self.board = board self.mark = mark def...
3,642
1,561
<reponame>anshuman35/java-docs-samples /* * Copyright 2016 Google 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 requi...
691
338
<gh_stars>100-1000 """ bio submodule. """ from .bio_data import * from .bio_rsp import * from .bio_ecg_preprocessing import * from .bio_ecg import * from .bio_eda import * from .bio_emg import * from .bio_meta import *
90
1,253
#include<bits/stdc++.h> #include<graphics.h> #define ll long long int #define ld long double using namespace std; int main() { int gd = DETECT, gm, tmp = 0; ld dx, dy, d1, d2, x = 0, y, rx, ry, xc, yc; cin >> rx >> ry >> xc >> yc; y = ry; //declare all variables before it initgraph(&gd,&gm, N...
974
428
<reponame>Akash1S/meethub from django.test import TestCase from django.contrib.auth.models import User from userprofile.models import Profile class ProfileModelTest(TestCase): @classmethod def setUpTestData(cls): user = User.objects.create(username='iyanu', password=<PASSWORD>, email='<EMAIL>') ...
788
868
<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 ...
528
852
#ifndef HeterogeneousCore_CUDAUtilities_interface_HistoContainer_h #define HeterogeneousCore_CUDAUtilities_interface_HistoContainer_h #include "HeterogeneousCore/CUDAUtilities/interface/OneToManyAssoc.h" namespace cms { namespace cuda { template <typename Histo, typename T> __global__ void countFromVector(...
3,525
728
package org.sirix.gui.view.splines; import java.util.List; import org.sirix.gui.view.sunburst.AbstractSunburstGUI; import processing.core.PGraphics; import processing.core.PVector; public interface Spline { float b(int i, float t); PVector p(int i, float t, final List<PVector> paramPath); void dr...
157
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Empuré","circ":"3ème circonscription","dpt":"Charente","inscrits":88,"abs":37,"votants":51,"blancs":3,"nuls":2,"exp":46,"res":[{"nuance":"SOC","nom":"M. <NAME>","voix":30},{"nuance":"REM","nom":"Mme <NAME>","voix":16}]}
114
372
<gh_stars>100-1000 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * lib/krb5/os/sn2princ.c * * Copyright 1991,2002 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the Uni...
3,615
36,052
<gh_stars>1000+ [Subtables] ligatures: [ "'dlig' Discretionary Ligatures lookup 21 subtable", "Ligature Substitution lookup 23 subtable" ]
53
809
<reponame>nikitavlaev/embox<filename>src/tests/mem/page_allocator.c /** * @file * * @brief * * @date 12.07.2018 * @author <NAME> */ #include <embox/test.h> #include <mem/page.h> EMBOX_TEST_SUITE("page_allocator_init test"); TEST_CASE("Init page_allocator with one page") { struct page_allocator *allocator; c...
254
648
{"resourceType":"DataElement","id":"Medication.package.batch.expirationDate","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/Medication.package.batch.expirationDate","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"Medication.package.bat...
232
2,151
/* 7zAlloc.h -- Allocation functions 2013-03-25 : <NAME> : Public domain */ #ifndef __7Z_ALLOC_H #define __7Z_ALLOC_H #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif void *SzAlloc(void *p, size_t size); void SzFree(void *p, void *address); void *SzAllocTemp(void *p, size_t size); void SzFreeTemp(void *p...
162
25,360
<reponame>spod-ai/jeecg-boot package org.jeecg.modules.system.util; import org.springframework.web.util.HtmlUtils; import java.util.regex.Pattern; /** * @Description: 工具类XSSUtils,现在的做法是替换成空字符,CSDN的是进行转义,比如文字开头的"<"转成&lt; * @author: lsq * @date: 2021年07月26日 19:13 */ public class XSSUtils { public static String...
1,096
412
// This is C99, but currently only works with clang. // gcc and Visual Studio appear to hard-wire FLT_ROUNDS to 1. #ifdef __clang__ #include <assert.h> #include <fenv.h> #include <float.h> int main() { fesetround(FE_DOWNWARD); assert(FLT_ROUNDS == 3); fesetround(FE_TONEAREST); assert(FLT_ROUNDS == 1); fe...
200
28,056
package com.alibaba.json.bvt; import org.junit.Assert; import com.alibaba.fastjson.JSON; import junit.framework.TestCase; public class StringFieldTest_special_reader extends TestCase { public void test_special() throws Exception { Model model = new Model(); model.name = "a\\bc"; String t...
386
1,144
<gh_stars>1000+ /* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2001 * <NAME>, DENX Software Engineering, <EMAIL>. */ #ifndef __rtc_def_h #define __rtc_def_h /* * The struct used to pass data from the generic interface code to * the hardware dependend low-level code ande vice versa. Identical * to st...
280
466
<reponame>tkerr97/nullpomino package net.omegaboshi.nullpomino.game.subsystem.randomizer; import mu.nu.nullpo.game.component.Piece; public abstract class LimitedHistoryRandomizer extends Randomizer { int[] history; int id; int numrolls; boolean firstPiece; public LimitedHistoryRandomizer() { su...
493
1,330
<reponame>denissnykio/struts<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 L...
566
1,658
/* Copyright 2015 shizhefei(LuckyJayce) 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, ...
515
1,068
#include "drv8301.hpp" #include "utils.hpp" #include "cmsis_os.h" #include "board.h" const SPI_InitTypeDef Drv8301::spi_config_ = { .Mode = SPI_MODE_MASTER, .Direction = SPI_DIRECTION_2LINES, .DataSize = SPI_DATASIZE_16BIT, .CLKPolarity = SPI_POLARITY_LOW, .CLKPhase = SPI_PHASE_2EDGE, .NSS = S...
2,461
5,053
#!/usr/bin/env python3 # Copyright 2021 University of Stuttgart (<NAME>) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) import glob import os import sys idir = sys.argv[1] def read_transcription(txt): utts = [] text = "" prev_sec = 0.0 started = False with open(txt) as f: ...
1,681
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
4,035
508
''' This file is the main python file of the project importing all problem, model, hparam registrations ''' from t2t_csaky.problems import character_chatbot from t2t_csaky.problems import cornell_chatbots from t2t_csaky.problems import daily_dialog_chatbot from t2t_csaky.problems import persona_chat_chatbot from...
178
321
#ifndef ANDROID_JAVA_WEAK_REF_H #define ANDROID_JAVA_WEAK_REF_H #include <jni.h> #ifdef __cplusplus extern "C" { #endif class java_weak_ref { public: java_weak_ref(jobject obj); virtual ~java_weak_ref(); jobject obj() { return weak_ref_;} protected: jweak weak_ref_; }; #ifdef __c...
190
356
<gh_stars>100-1000 package org.jinstagram.auth.model; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import org.junit.Test; /** * The class <code>VerifierTest</code> contains tests for the class * <code>{@link Verifier}</code>. * */ public class VerifierTest { /** ...
339
9,095
<gh_stars>1000+ import numpy as np from scipy import stats import matplotlib.pyplot as plt def measure(n): """Measurement model, return two coupled measurements.""" m1 = np.random.normal(size=n) m2 = np.random.normal(scale=0.5, size=n) return m1+m2, m1-m2 m1, m2 = measure(2000) xmin = m1.min() xmax ...
389
4,054
<reponame>Anlon-Burke/vespa<filename>container-core/src/main/java/com/yahoo/processing/response/AbstractData.java // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.processing.response; import com.yahoo.component.provider.ListenableFreezableClass;...
269
2,671
a = [100,101,102,103,104,105,106,107] del a[0] print a
29
4,036
from bottle import Bottle, route, request, redirect, response app = Bottle() @app.route('/hello/<name>') def hello(name = "World!"): return "Hello " + name @route('/bye/<name>') def bye(name = "World!"): return "Bye " + name @route('/other') def other(): name = request.cookies.username return "Us...
241
348
<gh_stars>100-1000 {"nom":"Epieds-en-Beauce","circ":"2ème circonscription","dpt":"Loiret","inscrits":967,"abs":504,"votants":463,"blancs":2,"nuls":31,"exp":430,"res":[{"nuance":"LR","nom":"<NAME>","voix":261},{"nuance":"REM","nom":"<NAME>","voix":169}]}
105
575
<reponame>iridium-browser/iridium-browser<filename>chrome/browser/ash/arc/notification/arc_boot_error_notification.h // 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 CHROME_BROWSER_ASH_ARC_NOTIFI...
525
320
<filename>lib/hachoir/wx/field_view/core_type_menu_fwd.py<gh_stars>100-1000 import wx class core_type_menu_fwd_t: def __init__(self, imp): self.imp = imp def on_field_menu_ready(self, dispatcher, view): assert view is not None view.Bind(wx.EVT_MENU, self.on_type_selected) def on_...
218
703
<reponame>Tekh-ops/ezEngine #pragma once // This file is included both in shader code and in C++ code CONSTANT_BUFFER(ezTextureSampleConstants, 2) { MAT4(ModelMatrix); MAT4(ViewProjectionMatrix); };
76
840
<gh_stars>100-1000 public static void executeStatement(Connection con) { try(PreparedStatement pstmt = con.prepareStatement("SELECT LastName, FirstName FROM Person.Contact WHERE LastName = ?");) { pstmt.setString(1, "Smith"); ResultSet rs = pstmt.executeQuery(); while (rs.next()) { ...
229
457
<filename>AgoraLive-Android/app/src/main/java/io/agora/vlive/protocol/model/response/SeatStateResponse.java package io.agora.vlive.protocol.model.response; import java.util.List; public class SeatStateResponse extends Response { public List<SeatInfo> data; public class SeatInfo { public int no; ...
167
1,346
<reponame>wwjiang007/dal package com.ctrip.platform.dal.daogen.entity; import com.ctrip.platform.dal.dao.DalPojo; import com.ctrip.platform.dal.dao.annotation.Database; import com.ctrip.platform.dal.dao.annotation.Type; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence...
710
348
{"nom":"Gaujac","circ":"3ème circonscription","dpt":"Gard","inscrits":791,"abs":437,"votants":354,"blancs":17,"nuls":3,"exp":334,"res":[{"nuance":"REM","nom":"<NAME>","voix":176},{"nuance":"FN","nom":"Mme <NAME>","voix":158}]}
91
432
<gh_stars>100-1000 #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <net/if.h> #include <netinet/in.h> #include <err.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> static void usage(const char *cmd) { fprintf(stderr, "%s -m addr -p...
1,422
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,681
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI */ #import <iTunesStoreUI/SUScriptObject.h> @class NSString, NSMutableArray, SUMediaObject; @interface SUScriptMediaObject : SUScriptObject { NSMutableArray *_scriptFunctions;...
556
1,652
"""Filters that are used in jobfunnel's filter() method or as intermediate filters to reduce un-necessesary scraping <NAME> 2020 """ import logging from collections import namedtuple from copy import deepcopy from datetime import datetime from typing import Dict, List, Optional, Tuple import nltk import numpy as np fr...
7,575
12,278
/** * This code is released under a BSD License. */ #ifndef SIMDBITCOMPAT_H_ #define SIMDBITCOMPAT_H_ #include <iso646.h> /* mostly for Microsoft compilers */ #include <string.h> #if SIMDCOMP_DEBUG # define SIMDCOMP_ALWAYS_INLINE inline # define SIMDCOMP_NEVER_INLINE # define SIMDCOMP_PURE #else # if defined(__GNUC...
855
2,338
# DExTer : Debugging Experience Tester # ~~~~~~ ~ ~~ ~ ~~ # # 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 from ctypes import * # Error codes are n...
549
407
<reponame>iuskye/SREWorks<filename>saas/health/api/health/health-start/src/main/java/com/alibaba/sreworks/Application.java package com.alibaba.sreworks; import lombok.extern.slf4j.Slf4j; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot....
358
2,195
<reponame>tesYolan/conceptnet5 import xml.etree.ElementTree as ET from conceptnet5.edges import make_edge from conceptnet5.formats.msgpack_stream import MsgpackStreamWriter from conceptnet5.nodes import standardized_concept_uri from conceptnet5.uri import Licenses REL = '/r/SymbolOf' DATASET = '/d/emoji' LICENSE = Li...
565
2,921
{ "name": "<NAME>", "type": "ERC20", "symbol": "KISHU", "decimals": 9, "website": "https://kishu.finance/", "description": "Kishu Inu ($KISHU) is a community-focused, decentralized cryptocurrency with instant rewards for holders. Join the moon mission.", "explorer": "https://etherscan.io/tok...
198
7,320
package com.google.classyshark.gui.theme.dark; import java.awt.Color; class DarkColorScheme { private DarkColorScheme() {} static final Color BACKGROUND = new Color(32,32,32); static final Color BACKGROUND_LIGHT = new Color(46, 48,50); static final Color IDENTIFIERS = new Color(0xFF, 0xFF, 0x80); ...
222
1,451
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #import <Fo...
732
1,144
// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2014 * <NAME>, DENX Software Engineering, <EMAIL>. * * Basic support for the pwm module on imx6. */ #include <common.h> #include <div64.h> #include <pwm.h> #include <asm/arch/imx-regs.h> #include <asm/io.h> #include "pwm-imx-util.h" int pwm_init(int pwm_id,...
649
2,739
# Copyright (c) 2019 PaddlePaddle Authors. 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 appli...
1,505