max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,027
<filename>primitive/src/main/java/io/atomix/primitive/service/impl/DefaultCommit.java /* * Copyright 2015-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 ...
1,047
852
// // \class ScaleRecordHelper // // Description: A helper class to extract L1 trigger scales from the database // // // Author : // <NAME> // //-------------------------------------------------- #ifndef L1ScalesProducers_ScaleRecordHelper_h #define L1ScalesProducers_ScaleRecordHelper_h // system include file...
257
388
<reponame>bryanwills/honssh #!/usr/bin/env python # # Copyright (c) 2009 <NAME> <<EMAIL>> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the ab...
2,410
843
<filename>src/olympia/bandwagon/migrations/0005_auto_20210813_0941.py # Generated by Django 3.2.6 on 2021-08-13 09:41 from django.db import migrations, models from olympia.amo.migrations import RenameIndexesOperation class Migration(migrations.Migration): dependencies = [ ('bandwagon', '0004_auto_20210...
1,380
1,754
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
1,011
384
package org.holoeverywhere.preference; import android.content.Context; import android.content.res.TypedArray; import org.holoeverywhere.LayoutInflater; import org.holoeverywhere.ThemeManager; import org.holoeverywhere.addon.IAddonThemes; import org.holoeverywhere.addon.IAddonThemes.ThemeResolver; public class Prefe...
939
777
#!/usr/bin/env python """ Artificial Intelligence for Humans Volume 3: Deep Learning and Neural Networks Python Version http://www.aifh.org http://www.jeffheaton.com Code repository: https://github.com/jeffheaton/aifh Copyright 2015 by <NAME> Licensed under the Apache License, Versio...
2,543
649
<reponame>RPC2/procgen from setuptools import setup, Extension, find_packages from setuptools.command.build_ext import build_ext import subprocess import os import sys import glob SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) PACKAGE_ROOT = os.path.join(SCRIPT_DIR, "procgen") README = open(os.path.join(SCRIP...
1,319
357
# Generated by Django 2.2 on 2019-07-29 21:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [("app_unique_together", "0002_auto_20190729_2122")] operations = [migrations.AlterUniqueTogether(name="a", unique_together=set())]
94
3,017
package sagan.site.team; public class TeamLocation { private String name; private float latitude; private float longitude; private Long memberId; public TeamLocation() { } public TeamLocation(String name, float latitude, float longitude, Long memberId) { this.name = name; ...
366
32,544
package com.baeldung.unmappedproperties.mapper; import com.baeldung.unmappedproperties.dto.CarDTO; import com.baeldung.unmappedproperties.entity.Car; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; @Mapper public interface CarMapper { CarMapper INSTANCE = Mappers.getMapper(CarMapper.class); ...
132
5,889
<filename>jfoenix/src/main/java/com/jfoenix/controls/FakeFocusJFXTextField.java<gh_stars>1000+ /* * Copyright (c) 2016 JFoenix * * 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 r...
759
4,772
package example.service; import example.repo.Customer1555Repository; import org.springframework.stereotype.Service; @Service public class Customer1555Service { public Customer1555Service(Customer1555Repository repo) {} }
64
393
<reponame>nFnK/otros-log-viewer package pl.otros.logview.api; public class AppProperties { private String appDir; private String currentDir; public AppProperties() { appDir = System.getProperty("OLV_HOME", ""); currentDir = System.getProperty("CURRENT_DIR", ""); } public String getCurrentDir() { ...
199
518
{ "name": "Overleaf", "category": "Blogging & Content Creation", "start_url": "https://www.overleaf.com/login", "icons": [ { "src": "https://cdn.filestackcontent.com/lHFgOhEbSrmZYAgzPVi7" }, { "src": "https://cdn.filestackcontent.com/svVVaW1mShGVEUXaZ2F0", "platform": "browserx" ...
231
301
package cn.ittiger.video.http.service; import retrofit2.http.GET; import retrofit2.http.Query; import rx.Observable; /** * @author laohu * @site http://ittiger.cn */ public interface IFengApi { @GET("api/channelInfo?platformType=androidPhone&adapterNo=7.0.0&pid=&recommendNo=3,2&positionId=&pageSize=20&protoco...
323
355
<filename>common/src/test/java/com/twitter/ambrose/model/EventTest.java package com.twitter.ambrose.model; import java.io.IOException; import java.util.Map; import java.util.Properties; import com.google.common.collect.Maps; import org.junit.Test; import static org.junit.Assert.assertArrayEquals; import static org....
1,185
528
from .. import * from ..hdl.rec import * __all__ = ["pin_layout", "Pin"] def pin_layout(width, dir, xdr=0): """ Layout of the platform interface of a pin or several pins, which may be used inside user-defined records. See :class:`Pin` for details. """ if not isinstance(width, int) or width ...
2,102
368
<filename>plugin_sa/game_sa/COnscreenTimerEntry.cpp /* Plugin-SDK (Grand Theft Auto San Andreas) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "COnscreenTimerEntry.h" PLUGIN_SOURCE_FILE int ad...
383
1,350
<reponame>Manny27nyc/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.monitor.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annot...
4,951
1,607
<filename>src/test/java/org/assertj/core/api/localdatetime/LocalDateTimeAssert_hasMonth_Test.java /* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
905
1,350
<reponame>billwert/azure-sdk-for-java<filename>sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/query/ContinuationResumeLogicTests.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos.implementation.query; import com.azure.co...
5,282
723
<filename>code/python/ch17/src/codegen_stat.py from lua_stat import * from lua_exp import * from codegen_exp import CodegenExp class CodegenStat: @staticmethod def process(fi, stat): if isinstance(stat, FuncCallStat): CodegenStat.process_func_call_stat(fi, stat) elif isinstance(sta...
5,813
14,668
// 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. #include "components/winhttp/proxy_configuration.h" #include "base/logging.h" #include "base/memory/scoped_refptr.h" #include "base/strings/sys_string_co...
1,784
348
<reponame>Shun14/detectron2-ResNeSt # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import math from bisect import bisect_right from typing import List import torch # NOTE: PyTorch's LR scheduler interface uses names that assume the LR changes # only on epoch boundaries. We typically use iterati...
1,761
2,671
print 1 exit("exit message - quit the program") print "you shouldn't see this"
22
1,666
<gh_stars>1000+ { "name": "react-syntax-highlighter", "version": "15.5.0", "description": "syntax highlighting component for react with prismjs or highlightjs ast using inline styles", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "sideEffects": false, "dependencies": { "@babel/runtime":...
1,698
892
{ "schema_version": "1.2.0", "id": "GHSA-94j6-5477-xx25", "modified": "2022-05-01T18:24:17Z", "published": "2022-05-01T18:24:17Z", "aliases": [ "CVE-2007-4488" ], "details": "Multiple cross-site scripting (XSS) vulnerabilities in the Siemens Gigaset SE361 WLAN router with firmware 1.00.0 allow remote ...
534
3,100
<filename>src/xenia/gpu/render_target_cache.cc /** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2021 <NAME>. All...
25,682
1,433
/***************************************************************************** blinker.c Endless loop blinks a code for crash analysis Inputs: Code - blink code to display 1 = undefined instruction (one blinks ........ long pause) 2 = prefetch abort (two blinks ........ long pause...
534
554
<filename>android/src/main/java/io/manbang/frontend/thresh/runtime/release/ModuleRelease.java package io.manbang.frontend.thresh.runtime.release; import android.util.Log; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import io.manbang.frontend.thresh.runtime.JSModule; ...
1,455
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.authorization.fluent.models; import com.azure.core.util.ExpandableStringEnum; import com....
1,272
422
# -*- coding: utf-8 -*- from __future__ import unicode_literals import unittest import unicodedata import epitran class TestTamilGeneral(unittest.TestCase): def setUp(self): self.epi = epitran.Epitran(u'tam-Taml') def _assert_trans(self, src, tar): trans = self.epi.transliterate(src) ...
766
1,431
// // NSMutableAttributedString+MutableAttributedStringHook.h // JJException // // Created by Jezz on 2018/9/20. // Copyright © 2018年 Jezz. All rights reserved. // #import <Foundation/Foundation.h> @interface NSMutableAttributedString (MutableAttributedStringHook) + (void)jj_swizzleNSMutableAttributedString; @e...
112
898
package com.spotify.heroic.common; import com.google.common.collect.ImmutableSet; import org.junit.Test; import java.util.Optional; import java.util.Set; import static org.junit.Assert.assertEquals; public class GroupSetTest { final Grouped a = grouped("foo"); final Grouped b = grouped("foo", "bar"); fi...
581
1,561
/* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
1,390
841
package org.jboss.resteasy.security.smime; import jakarta.ws.rs.core.MediaType; import java.security.PrivateKey; /** * @author <a href="mailto:<EMAIL>"><NAME></a> * @version $Revision: 1 $ */ public class SignedOutput extends SMIMEOutput { protected PrivateKey privateKey; public SignedOutput(fi...
275
8,805
//---------------------------------------------------------------------------// // Copyright (c) 2013 <NAME> <<EMAIL>> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // // See http://boostorg.github.com/c...
528
903
<reponame>JordonPhillips/smithy<filename>smithy-linters/src/main/java/software/amazon/smithy/linters/InputOutputStructureReuseValidator.java<gh_stars>100-1000 /* * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may no...
1,118
370
<filename>ndbench-core/src/main/java/com/netflix/ndbench/core/generators/ZipfianStringKeyGenerator.java /* * Copyright 2016 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...
468
1,963
#ifndef _STM32YYXX_LL_UCPD_H_ #define _STM32YYXX_LL_UCPD_H_ /* LL raised several warnings, ignore them */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32G0xx #include "stm32g0xx_ll_ucpd.h" #elif STM32G4xx #include "stm3...
233
33,464
{"exportTaskIdentifier":"ci","sourceArn":"arn:aws:rds:us-west-2:697156367097:cluster-snapshot:ci","exportOnly":[],"snapshotTime":"Sep 10, 2020 6:50:05 AM","taskStartTime":"Sep 10, 2020 7:12:21 AM","taskEndTime":"Sep 10, 2020 7:15:14 AM","s3Bucket":"handlerww-cluster","s3Prefix":"","exportedFilesPath":"ci","iamRoleArn":...
212
389
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.lang.ir; import gw.internal.gosu.parser.IGosuAnnotation; import gw.lang.UnstableAPI; @UnstableAPI public class IRGosuAnnotation { private IRType _descriptor; private boolean _include; private IGosuAnnotation _gosuAnnotation; public IRGosuAnnotati...
268
2,542
<reponame>vishnuk007/service-fabric // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------------------...
572
1,155
package org.zalando.intellij.swagger.ui.provider; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.editor.Document; import com.intellij.openapi.fileEditor.FileDocumentManagerListener; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.PsiFile; import java.util.Option...
481
4,140
/* * 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,688
1,200
/* * 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 ...
2,270
3,428
{"id":"01192","group":"easy-ham-1","checksum":{"type":"MD5","value":"bf5336caa5be79062f70233fa759a1b8"},"text":"From <EMAIL> Mon Sep 30 13:40:05 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy@localhost.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 87...
1,468
4,140
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
1,736
4,772
<filename>geode/wan/src/main/java/example/springdata/geode/server/wan/event/server/siteB/SiteBWanServerConfig.java<gh_stars>1000+ /* * Copyright 2020-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
1,157
525
<filename>helios/election_url_names.py ELECTION_HOME="election@home" ELECTION_VIEW="election@view" ELECTION_META="election@meta" ELECTION_EDIT="election@edit" ELECTION_SCHEDULE="election@schedule" ELECTION_EXTEND="election@extend" ELECTION_ARCHIVE="election@archive" ELECTION_COPY="election@copy" ELECTION_BADGE="electio...
1,005
1,539
<filename>restler/engine/fuzzing_parameters/fuzzing_config.py # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import sys import engine.primitives as primitives class FuzzingConfig(object): def __init__(self, config_json=None): """ FuzzingConfig constructor @param config_j...
3,299
615
<reponame>JishinMaster/clBLAS<filename>src/tests/include/hemv.h /* ************************************************************************ * Copyright 2013 Advanced Micro Devices, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
1,759
376
<reponame>leemgs/node-mariasql { 'targets': [ { 'target_name': 'strings', 'type': 'static_library', 'standalone_static_library': 1, 'includes': [ '../config/config.gypi' ], 'defines': [ 'DISABLE_MYSQL_THREAD_H', ], 'sources': [ 'bchange.c', 'bmove_...
918
690
<filename>tasks/anssel.py<gh_stars>100-1000 """ KeraSTS interface for datasets of the Answer Sentence Selection task, i.e. bipartite ranking task of s1 candidates within a single s0 context. See data/anssel/... for details and actual datasets. Training example: tools/train.py cnn anssel data/anssel/wang/train-all....
2,587
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/FTServices.framework/FTServices */ #import <FTServices/FTIDSMessage.h> #import <FTServices/NSCopying.h> #import <FTServices/FTServices-Structs.h> @class NSData, NSString; @interface FTDeregistrationMessage : FTIDSM...
463
312
<filename>operations/include/softmax.hpp // Copyright <NAME> 2015 #ifndef PURINE_SOFTMAX #define PURINE_SOFTMAX #include "operations/operation.hpp" #include "operations/cudnn.hpp" namespace purine { /** * { bottom } >> op >> { top } */ class Softmax : public Operation { protected: string mode; cudnnSoftmaxMod...
643
310
{ "name": "3-Button USB Wired Mouse", "description": "A basic 3 button mouse.", "url": "https://www.amazon.com/AmazonBasics-3-Button-Wired-Mouse-Black/dp/B005EJH6RW/" }
67
4,879
<reponame>vicpopov/omim<gh_stars>1000+ package com.mapswithme.maps.purchase; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.android.billingclient.api.BillingClient; import com.android.billingclient.api.BillingClientStateListener; import com.mapswithme.util.log.Logger; import com.m...
767
892
{ "schema_version": "1.2.0", "id": "GHSA-9f6x-r29g-cv4j", "modified": "2022-05-13T01:10:22Z", "published": "2022-05-13T01:10:22Z", "aliases": [ "CVE-2018-10601" ], "details": "IntelliVue Patient Monitors MP Series (including MP2/X2/MP30/MP50/MP70/NP90/MX700/800) Rev B-M, IntelliVue Patient Monitors MX...
539
355
package net.tomp2p.relay.android.gcm; import net.tomp2p.futures.FutureDone; import net.tomp2p.peers.Number160; import net.tomp2p.peers.PeerAddress; public class FutureGCM extends FutureDone<Void> { private final String registrationId; private final Number160 senderId; private final PeerAddress recipient; public...
279
1,010
<filename>src/main/shmem/shmem_allocator.c #include "main/shmem/shmem_allocator.h" #include <stddef.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <pthread.h> #include "lib/logger/logger.h" #include "main/shmem/buddy.h" #include "main/shmem/shmem_file.h" #include "main/shm...
7,404
1,094
<reponame>EthVM/pgbackrest /*********************************************************************************************************************************** PostgreSQL 9.5 Interface See postgres/interface/version.intern.h for documentation. ***************************************************************************...
146
519
<filename>testsuite/testing-tools/internal_compare.h /* * Copyright (c) 2017 Morwenn * SPDX-License-Identifier: MIT */ #ifndef CPPSORT_TESTSUITE_INTERNAL_COMPARE_H_ #define CPPSORT_TESTSUITE_INTERNAL_COMPARE_H_ //////////////////////////////////////////////////////////// // Headers /////////////////////////////////...
771
1,521
<gh_stars>1000+ /** * 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 re...
704
325
<gh_stars>100-1000 # -*- coding: utf-8 -*- u""" Created on 2017-1-7 @author: cheng.li """ import numpy as np from scipy.optimize import least_squares from PyFin.PricingEngines.SVIInterpolationImpl import sviVolatility from PyFin.PricingEngines.SVIInterpolationImpl import sviVolatilities from PyFin.PricingEngines.SVII...
1,866
18,168
<filename>litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallGoodsAttributeService.java package org.linlinjava.litemall.db.service; import org.linlinjava.litemall.db.dao.LitemallGoodsAttributeMapper; import org.linlinjava.litemall.db.domain.LitemallGoodsAttribute; import org.linlinjava.litemall.db.do...
647
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Wamin","circ":"4ème circonscription","dpt":"Pas-de-Calais","inscrits":199,"abs":95,"votants":104,"blancs":4,"nuls":1,"exp":99,"res":[{"nuance":"LR","nom":"<NAME>","voix":77},{"nuance":"REM","nom":"<NAME>","voix":22}]}
112
2,151
// Copyright 2013 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 PPAPI_TESTS_TEST_UDP_SOCKET_H_ #define PPAPI_TESTS_TEST_UDP_SOCKET_H_ #include <stddef.h> #include <string> #include "ppapi/c/pp_stdint.h" #inc...
1,122
14,668
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/canvas/imagebitmap/image_bitmap_rendering_context.h" #include <utility> #include "third_party/blink/rendere...
861
1,408
<filename>drivers/marvell/cache_llc.c /* * Copyright (C) 2018 Marvell International Ltd. * * SPDX-License-Identifier: BSD-3-Clause * https://spdx.org/licenses */ /* LLC driver is the Last Level Cache (L3C) driver * for Marvell SoCs in AP806, AP807, and AP810 */ #include <assert.h> #include <arch_helpers.h...
1,935
5,422
<reponame>egelwan/Karabiner-Elements<filename>src/share/manipulator/types/manipulate_result.hpp #pragma once namespace krbn { namespace manipulator { enum class manipulate_result { passed, manipulated, needs_wait_until_time_stamp, }; } // namespace manipulator } // namespace krbn
100
1,090
package com.uber.okbuck; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.LinkedHashSet; import java.util.List; import java.util.ListIterator; import org.junit.runners.model.InitializationError; import org.robolectric.RobolectricTestRunner; import ...
946
789
<gh_stars>100-1000 // Copyright (c) 2020 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 //...
1,407
30,785
<reponame>fengjixuchui/jadx package jadx.core.dex.instructions.args; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.slf4j.Logger; import org...
2,995
361
'''''' ''' @Author: <NAME> (<EMAIL>) @Date: 1970-01-01 @Copyright: Copyright (C) <NAME> 2020. All rights reserved. Please refer to the license file. @LastEditTime: 2020-07-02 @LastEditors: <NAME> @Description: This tool undistort Oxford Robotcar sequences ''' import argparse import cv2 import os import re import matp...
862
348
{"nom":"Saint-Martin-lès-Seyne","dpt":"Alpes-de-Haute-Provence","inscrits":25,"abs":2,"votants":23,"blancs":3,"nuls":0,"exp":20,"res":[{"panneau":"1","voix":11},{"panneau":"2","voix":9}]}
84
812
package com.vpaliy.domain.model; public class User { private String id; private String nickName; private String avatarUrl; private String fullName; private String description; private int followingCount; private int followersCount; private int playlistsCount; private int tracksCount; private int l...
644
4,756
// Copyright (C) 2020 The Libphonenumber 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 o...
517
3,102
<gh_stars>1000+ #ifndef PUBLIC1_H #define PUBLIC1_H #include "private1.h" struct use_this1 { struct mitts_off1 field; }; struct use_this1 public_variable1; #endif
67
3,428
<gh_stars>1000+ {"id":"02232","group":"easy-ham-1","checksum":{"type":"MD5","value":"5b851f21174e8a172cdeb2c4fac519fd"},"text":"From <EMAIL> Thu Oct 3 12:25:14 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>int.org\nReceived: from localhost (jalapeno [1192.168.127.12])\n\tby jmason.org (Postfix) with ESMTP id E8...
752
5,038
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
944
416
<reponame>zeyuyun1/word-embeddings-benchmarks<gh_stars>100-1000 # -*- coding: utf-8 -*- """ Tests for analogy solvers """ import numpy as np from web.datasets.utils import _fetch_file from web.embedding import Embedding from web.datasets.analogy import fetch_google_analogy from web.evaluate import evaluate_analogy, ...
949
2,039
<filename>nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/shape/tensorops/TensorSizeV3.java package org.nd4j.linalg.api.ops.impl.shape.tensorops; import onnx.OnnxProto3; import org.nd4j.autodiff.samediff.SameDiff; import org.nd4j.imports.descriptors.properties.PropertyMapping; import ...
462
302
<filename>examples/mikeos/kernel/Hal/idt.c //**************************************************************************** //** //** Idt.cpp //** Interrupt Descriptor Table. The IDT is responsible for providing //** the interface for managing interrupts, installing, setting, requesting, //** generating, and interrup...
2,801
368
<filename>plugin_III/game_III/CBulletTrace.h<gh_stars>100-1000 /* Plugin-SDK (Grand Theft Auto 3) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #pragma once #include "PluginBase.h" #include "CVector.h" ...
364
311
<reponame>VaishnaviHire/oauthenticator """ Custom Authenticator to use okpy OAuth with JupyterHub """ from binascii import a2b_base64 from jupyterhub.auth import LocalAuthenticator from tornado import web from tornado.auth import OAuth2Mixin from tornado.httpclient import HTTPRequest from tornado.httputil import url_c...
1,234
1,444
<gh_stars>1000+ package mage.filter.common; import mage.filter.predicate.permanent.TappedPredicate; /** * * @author noxx */ public class FilterUntappedCreature extends FilterCreaturePermanent { public FilterUntappedCreature() { this("untapped creature"); } public FilterUntappedCreature(Stri...
229
479
from tests.base_unittest import BaseUnitTest from pypokerengine.engine.card import Card from pypokerengine.engine.deck import Deck class DeckTest(BaseUnitTest): def setUp(self): self.deck = Deck() def test_draw_card(self): card = self.deck.draw_card() self.eq("SK", str(card)) self.eq(51, self.dec...
661
1,742
<filename>src/sage/symbolic/ginac/inifcns_nstdsums.cpp /** @file inifcns_nstdsums.cpp * * Implementation of some special functions that have a representation as nested sums. * * The functions are: * classical polylogarithm Li(n,x) * multiple polylogarithm Li(lst(m_1,...,m_k),lst...
46,638
335
{ "word": "Shuttle", "definitions": [ "Travel regularly between two or more places.", "Transport in a shuttle." ], "parts-of-speech": "Verb" }
75
392
# -*- coding: utf8 -*- import os import random import string import tempfile import unittest import boto3 import moto from botocore.exceptions import NoCredentialsError, ProfileNotFound from nodb import NoDB def random_string(length): return ''.join(random.choice(string.printable) for _ in range(length)) cla...
2,393
317
package com.googlecode.totallylazy.reflection; import com.googlecode.totallylazy.Sequence; import static com.googlecode.totallylazy.Sequences.sequence; public class StackFrames { public static Sequence<StackFrame> stackFrames() { return sequence(Thread.currentThread().getStackTrace()).drop(2).map(StackFr...
112
864
<reponame>romainreignier/control-toolbox /********************************************************************************************************************** This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich. Licensed under the BSD-2 license (see LICENSE...
2,827
6,526
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
575
348
<gh_stars>100-1000 {"nom":"Juigné-sur-Sarthe","circ":"4ème circonscription","dpt":"Sarthe","inscrits":910,"abs":517,"votants":393,"blancs":27,"nuls":7,"exp":359,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":208},{"nuance":"SOC","nom":"<NAME>","voix":151}]}
107
190,993
# Copyright 2018 The TensorFlow 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 applica...
2,014
743
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "Container.h" #include "AdaptiveContainerParser.g.h" namespace winrt::AdaptiveCards::ObjectModel::Uwp::implementation { struct AdaptiveContainerParser : AdaptiveContainerParserT<AdaptiveContainerP...
370
711
package com.java110.api.listener.auditUser; import com.alibaba.fastjson.JSONObject; import com.java110.api.bmo.auditUser.IAuditUserBMO; import com.java110.api.listener.AbstractServiceApiPlusListener; import com.java110.utils.util.Assert; import com.java110.core.context.DataFlowContext; import com.java110.core.event.se...
768
4,920
<filename>contrib/chatops/actions/match.py<gh_stars>1000+ # Copyright 2020 The StackStorm Authors. # Copyright 2019 Extreme Networks, 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 # # ...
495