max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,603
<reponame>ShubhamThakre/datahub package com.linkedin.metadata.search.elasticsearch.query.request; import com.google.common.collect.ImmutableList; import com.linkedin.metadata.TestEntitySpecBuilder; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; import com.linkedin.metadata.query...
2,026
4,579
{ "name": "js-framework-benchmark-ls-element", "version": "1.1.7", "description": "ls-element demo", "main": "index.js", "js-framework-benchmark": { "frameworkVersionFromPackage": "@lsegurado/ls-element", "useShadowRoot": false, "customURL": "/dist" }, "scripts": { "start": "webpack-dev-se...
515
347
package org.ovirt.engine.api.restapi.resource; import org.ovirt.engine.api.model.File; import org.ovirt.engine.api.resource.FileResource; public class BackendFileResource implements FileResource { private String id; private BackendFilesResource parent; public BackendFileResource(String id, BackendFiles...
171
2,051
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import os import shutil from pathlib import Path from test.common import movie_data, tmp_dir import msgpack import pytest import ruamel.yaml as yaml from box import BoxError from box.converters import _from_toml, _to_json, _to_msgpack, _to_toml, _to_yaml toml...
1,296
682
{ "category": "Search and Query", "description": "List features related to the selected feature.", "formal_name": "ListRelatedFeatures", "ignore": false, "images": [ "list-related-features.png" ], "keywords": [ "features", "identify", "query", "related...
373
344
# -*- coding: utf-8 -*- import time import numpy as np import six import tensorflow as tf from tfsnippet.scaffold import TrainLoop from tfsnippet.shortcuts import VarScopeObject from tfsnippet.utils import (reopen_variable_scope, get_default_session_or_error, e...
6,497
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Saint-Grégoire-du-Vièvre","circ":"3ème circonscription","dpt":"Eure","inscrits":260,"abs":129,"votants":131,"blancs":18,"nuls":1,"exp":112,"res":[{"nuance":"MDM","nom":"<NAME>","voix":61},{"nuance":"FN","nom":"<NAME>","voix":51}]}
125
803
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #ifndef PERFCTRS_H_INCLUDED #define PERFCTRS_H_INCLUDED // Table Class type. This is the raw information provided by callers through JetOpenTable typedef BYTE TABLECLASS; const BYTE tableclassMin = 0; const BYTE tableclassNone = 0; //...
15,108
2,498
package org.rocksdb; import org.junit.ClassRule; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import static org.assertj.core.api.Assertions.assertThat; public class TransactionLogIteratorTest { @ClassRule public static final RocksMemoryResource rocksMemoryResource = ...
1,885
5,250
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
2,502
659
<filename>core/src/main/java/co/infinum/goldfinger/LogUtils.java package co.infinum.goldfinger; import android.util.Log; import java.util.Locale; import androidx.annotation.NonNull; /** * Logging utility functions. Logger can be turned on/off from {@link Goldfinger.Builder}. */ class LogUtils { private stati...
323
622
/* * Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license. * See LICENSE in the project root for license information. */ package com.linkedin.flashback.serialization; import com.google.common.io.Files; import com.linkedin.flashback.scene.Scene; import java.io.BufferedRea...
402
977
#pragma once #include "Models/Model.hpp" #include "Collider.hpp" class btConvexHullShape; namespace acid { class ACID_EXPORT ConvexHullCollider : public Collider::Registrar<ConvexHullCollider> { inline static const bool Registered = Register("convexHull"); public: explicit ConvexHullCollider(const std::vector<floa...
289
348
{"nom":"Saint-Denis-de-Jouhet","circ":"2ème circonscription","dpt":"Indre","inscrits":737,"abs":319,"votants":418,"blancs":28,"nuls":20,"exp":370,"res":[{"nuance":"LR","nom":"<NAME>","voix":253},{"nuance":"MDM","nom":"Mme <NAME>","voix":117}]}
99
451
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
5,121
4,959
<filename>tests/distributions/test_extended.py<gh_stars>1000+ # Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 import math import pytest import torch from torch.autograd import grad import pyro.distributions as dist from pyro.contrib.epidemiology.distributions import set_approx_log...
1,669
6,320
/* * * Copyright 2012 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...
1,766
2,151
// Copyright 2014 The Crashpad 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 ...
1,094
7,482
<filename>bsp/ft2004/drivers/drv_spi_flash.c /*  * @ : Copyright (c) 2021 Phytium Information Technology, Inc.  *  * SPDX-License-Identifier: Apache-2.0.  * * @Date: 2021-04-25 14:01:16 * @LastEditTime: 2021-04-30 14:43:12 * @Description:  This files is for * * @Modify History: * Ver   Who        Date         Ch...
470
3,477
<filename>experiments/process_sandbox/src/child_malloc.h // Copyright Microsoft and Project Verona Contributors. // SPDX-License-Identifier: MIT #pragma once #ifdef __FreeBSD__ # define SNMALLOC_USE_THREAD_CLEANUP 1 #endif #define SNMALLOC_PLATFORM_HAS_GETENTROPY 1 #define SNMALLOC_PROVIDE_OWN_CONFIG 1 #include <proc...
2,861
622
<reponame>Jackque/flashback<filename>mitm/src/main/java/com/linkedin/mitm/proxy/factory/HandlerDelegateFactory.java /* * Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license. * See LICENSE in the project root for license information. */ package com.linkedin.mitm.proxy.fac...
644
1,443
{ "copyright": "<NAME>", "url": "http://tomdavies.net", "email": "<EMAIL>", "format": "txt" }
47
834
<filename>packages/devp2p/tsconfig.prod.json { "extends": "../../config/tsconfig.prod.json", "exclude": ["test", "examples", "node_modules", "dist"], "compilerOptions": { "baseUrl": "./", "outDir": "./dist", "rootDir": "./src", "typeRoots": ["node_modules/@types", "src/@types"], "composite": t...
194
312
#ifndef _CAFFE_UTIL_IM2COL_HPP_ #define _CAFFE_UTIL_IM2COL_HPP_ #include "caffeine/caffeine.hpp" #include "common/common.hpp" namespace caffe { void im2col_cpu(const DTYPE* data_im, const int channels, const int height, const int width, const int kernel_h, const int kernel_w, const int pad_h, const int pad_w...
440
302
<gh_stars>100-1000 #ifndef MAPMARKER_H #define MAPMARKER_H #include <QAbstractListModel> #include <QGeoCoordinate> #include <QDebug> #include <QDate> struct gpxCoordinate { QGeoCoordinate latlon; float ele; QDateTime time; }; class MarkerModel : public QAbstractListModel { Q_OBJECT Q_PROPERTY(QV...
1,209
314
"""Contains common utility functions.""" import distutils.util import librosa import soundfile from data_utils.utility import read_manifest def print_arguments(args): """Print argparse's arguments. Usage: .. code-block:: python parser = argparse.ArgumentParser() parser.add_argument("...
757
10,225
<gh_stars>1000+ package io.quarkus.smallrye.health.runtime; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; @ConfigRoot(name = "smallrye-health", phase = ConfigPhase.RUN_TIME) public class SmallRyeHealthRuntimeConfi...
183
1,144
package de.metas.inoutcandidate.spi.impl; /* * #%L * de.metas.swat.base * %% * Copyright (C) 2015 metas GmbH * %% * 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...
906
2,706
/* Copyright (c) 2013-2014 <NAME> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <mgba-util/table.h> #include <mgba-util/hash.h> #include <mgba-util/...
2,705
3,785
<gh_stars>1000+ {"component":true,"usingComponents":{"header":"./components/header/index","mounth":"./components/mounth/index","l-toast":"../toast/index","l-popup":"../popup/index","l-button":"../button/index"}}
75
11,811
<reponame>maximmenshikov/antlr4<gh_stars>1000+ /* * Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ package org.antlr.v4.runtime; import org.antlr.v4.runtime.misc.Interval...
3,256
313
//------------------------------------------------------------------------------ // GxB_Iterator_new: allocate an iterator //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2022, All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //---...
265
9,402
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*++ --*/ /****************************************************************** * * * strsafe.h -- This module de...
57,415
930
<filename>pigeon-registry/src/main/java/com/dianping/pigeon/registry/config/ServiceConfig.java package com.dianping.pigeon.registry.config; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Created by chenchongze on 17/1/17. */ @JsonIgnoreProperties(ignoreUnknown = true) public class ServiceConfig...
186
1,755
/*! \file Functions for Opaque Types Copyright 2018 University Corporation for Atmospheric Research/Unidata. See \ref copyright file for more info. */ #include "ncdispatch.h" /** \name Opaque Types Functions to create and learn about opaque types. */ /*! \{ */ /* All these functions are part of this named ...
802
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary */ #import <MusicLibrary/ML3SqliteDatabase.h> #import <MusicLibrary/MusicLibrary-Structs.h> #import <MusicLibrary/ML3SqliteDatabaseSubclass.h> __attribute__((visibility("hidden")...
220
348
{"nom":"Martigny-les-Bains","circ":"4ème circonscription","dpt":"Vosges","inscrits":649,"abs":311,"votants":338,"blancs":4,"nuls":9,"exp":325,"res":[{"nuance":"LR","nom":"<NAME>","voix":76},{"nuance":"FN","nom":"<NAME>","voix":71},{"nuance":"SOC","nom":"<NAME>","voix":63},{"nuance":"MDM","nom":"M. <NAME>","voix":50},{"...
291
872
package cn.zealon.readingcloud.homepage.common.config; import cn.zealon.readingcloud.account.feign.client.LikeSeeClient; import com.netflix.hystrix.*; import feign.Feign; import feign.hystrix.HystrixFeign; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; ...
596
1,285
<filename>src/main/java/net/minestom/server/entity/PlayerSkin.java package net.minestom.server.entity; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import net.minestom.server.utils.mojang.MojangUtils; import org.jetbrains.annotations.NotNull; import org.jetbr...
1,297
1,144
<gh_stars>1000+ /****************************************************************************** * * Copyright(c) 2007 - 2017 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free...
3,773
329
<reponame>jtgeibel/homu<gh_stars>100-1000 #!/usr/bin/env python3 import sys import os SSH_KEY_FILE = os.path.join(os.path.dirname(__file__), '../cache/key') def main(): args = ['ssh', '-i', SSH_KEY_FILE, '-S', 'none'] + sys.argv[1:] os.execvp('ssh', args) if __name__ == '__main__': main()
140
307
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
1,536
3,102
// RUN: rm -rf %t // RUN: mkdir %t // RUN: echo 'namespace N { enum E { A }; }' > %t/a.h // RUN: echo '#include "a.h"' > %t/b.h // RUN: touch %t/x.h // RUN: echo 'module B { module b { header "b.h" } module x { header "x.h" } }' > %t/b.modulemap // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -x c++ -fmodule-map-f...
383
7,892
<gh_stars>1000+ #include <math.h> #include "real.h" #include "utils.h" #include "trackpoint.h" #include "track.h" namespace _sbsms_ { void TrackPoint :: destroy() { refCount--; if(refCount <= 0) { delete this; } } TrackPoint :: TrackPoint(Slice *slice, float *peak, audio *gx, float *mag, float *mag2, int k...
1,479
348
{"nom":"Feissons-sur-Isère","circ":"2ème circonscription","dpt":"Savoie","inscrits":479,"abs":295,"votants":184,"blancs":2,"nuls":3,"exp":179,"res":[{"nuance":"DIV","nom":"<NAME>","voix":45},{"nuance":"FI","nom":"Mme <NAME>","voix":34},{"nuance":"FN","nom":"<NAME>","voix":27},{"nuance":"LR","nom":"<NAME>","voix":24},{"...
290
3,073
<gh_stars>1000+ /* j/4/by_has.c ** */ #include "all.h" /* functions */ u3_noun u3qdb_has(u3_noun a, u3_noun b) { if ( u3_nul == a ) { return c3n; } else { u3_noun n_a, lr_a; u3_noun pn_a; u3x_cell(a, &n_a, &lr_a); u3x_cell(n_a, &pn_a, 0); if ( (c3y == u3r_sing(b, pn_a)) ) { ...
509
1,444
package mage.cards.g; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.dynamicvalue.common.DevotionCount; import mage.abilities.effects.OneShotEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constant...
1,144
763
<filename>projects/batfish/src/main/java/org/batfish/representation/cisco_nxos/IgmpOptions.java package org.batfish.representation.cisco_nxos; /** IGMP options for an {@link ActionIpAccessListLine}. */ public final class IgmpOptions implements Layer4Options { private final int _messageType; public IgmpOptions(in...
185
518
<reponame>e-ntro-py/desktop-app<gh_stars>100-1000 { "name": "Pipedrive", "category": "Sales & CRM", "start_url": "https://app.pipedrive.com/", "icons": [ { "src": "https://cdn.filestackcontent.com/vv5FnrGlTe6rOzAx9oUb", "platform": "browserx" } ], "theme_color": "#231F1F", "scope": "ht...
183
1,600
<filename>retopoflow/rftool_loops/loops.py ''' Copyright (C) 2021 CG Cookie http://cgcookie.com <EMAIL> Created by <NAME>, <NAME>, and <NAME> 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 Foundati...
12,691
669
<gh_stars>100-1000 // Copyright(c) 2019 - 2020, #Momo // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met : // // 1. Redistributions of source code must retain the above copyright notice, this //...
2,633
21,382
# flake8: noqa # Ray should be imported before streaming import ray from ray.streaming.context import StreamingContext __all__ = ['StreamingContext']
41
1,538
# Copyright 2019 Yelp # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
463
335
{ "word": "Plate", "definitions": [ "A flat dish, typically circular and made of china, from which food is eaten or served.", "An amount of food on a plate.", "A main course of a meal, served on one plate.", "A plate of food contributed by a guest to a social gathering.", ...
653
892
{ "schema_version": "1.2.0", "id": "GHSA-73j6-q65m-r8w4", "modified": "2022-05-01T02:31:02Z", "published": "2022-05-01T02:31:02Z", "aliases": [ "CVE-2005-4825" ], "details": "Cisco Clean Access 3.5.5 and earlier on the Secure Smart Manager allows remote attackers to bypass authentication and cause a d...
471
905
<gh_stars>100-1000 from typing import Optional, Union, List import databases import ormar import sqlalchemy database = databases.Database("sqlite:///db.sqlite") metadata = sqlalchemy.MetaData() class Author(ormar.Model): class Meta: tablename = "authors" database = database metadata = me...
399
335
<reponame>draker94/vividus /* * Copyright 2019-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 License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 ...
3,021
348
{"nom":"Thourie","circ":"5ème circonscription","dpt":"Ille-et-Vilaine","inscrits":545,"abs":314,"votants":231,"blancs":28,"nuls":9,"exp":194,"res":[{"nuance":"LR","nom":"Mme <NAME>","voix":99},{"nuance":"REM","nom":"<NAME>","voix":95}]}
96
602
/* * Copyright The Stargate Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
706
1,338
/* * Copyright 2006, Haiku. * Distributed under the terms of the MIT License. * * Authors: * <NAME> <<EMAIL>> */ #ifndef SUPPORT_H #define SUPPORT_H #include <Rect.h> class BPositionIO; class BString; // constrain inline void constrain(float& value, float min, float max) { if (value < min) value = min; i...
1,199
368
<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" class PLUGIN_API CMovie { PLUGIN_NO_DEF...
246
555
/* 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,462
1,379
"""把 chicken_and_gossip数据 文件格式转换为可训练格式 Code from: QHDuan(2018-02-05) url: https://github.com/qhduan/just_another_seq2seq """ from conf.path_config import chicken_and_gossip_path from conf.path_config import chatbot_data_cg_char_dir from conf.path_config import chatbot_data_cg_ws_anti from conf.path_config import chatb...
1,592
1,631
<reponame>kimbethstonehouse/wavm #pragma once #include "WAVM/Inline/Assert.h" #include "WAVM/Inline/BasicTypes.h" #include "WAVM/Inline/Time.h" namespace WAVM { namespace Platform { enum class Clock { // The real-time since 1970/1/1 00:00:00 UTC. realtime, // A clock with an arbitrary origin that monotonical...
212
348
{"nom":"Poulx","circ":"6ème circonscription","dpt":"Gard","inscrits":3359,"abs":1877,"votants":1482,"blancs":120,"nuls":41,"exp":1321,"res":[{"nuance":"REM","nom":"<NAME>","voix":776},{"nuance":"FN","nom":"<NAME>","voix":545}]}
92
1,400
<reponame>Kolyall/vector-compat package com.wnafee.vector; /* * Copyright (C) 2015 <NAME> * * 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 ...
16,648
14,668
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/public/browser/console_message.h" namespace content { logging::LogSeverity ConsoleMessageLevelToLogSeverity( blink::mojom::Console...
765
825
<gh_stars>100-1000 // // HMJSValue.h // Pods // // Created by 唐佳诚 on 2021/8/9. // #import <Foundation/Foundation.h> #import <napi/js_native_api.h> NS_ASSUME_NONNULL_BEGIN @protocol HMJSValue @required @property (nonatomic, nullable, assign, readonly) NAPIValue valueRef; @end NS_ASSUME_NONNULL_END
140
1,064
<reponame>yepcn/javsdt<filename>src/Youma.py # -*- coding:utf-8 -*- import os import json from traceback import format_exc from Class.MyHandler import Handler from Class.MyEnum import ScrapeStatusEnum from Class.MyLogger import Logger from Class.MyJav import JavModel from Class.MyError import TooManyDirectoryLevelsErr...
8,101
916
package com.pancm.design.composite; import java.util.ArrayList; import java.util.List; /** * @Title: CompositeTest * @Description: 组合模式 * 将对象组合成树形结构以表示"部分-整体"的层次结构。组合模式使得用户对单个对象和组合对象的使用具有一致性。 * @Version:1.0.0 * @author pancm * @date 2018年8月8日 */ public class CompositeTest { public static void main(String[] args) ...
748
5,823
<filename>fml/time/dart_timestamp_provider.cc // 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. #include "flutter/fml/time/dart_timestamp_provider.h" #include "dart_tools_api.h" namespace fml { DartTime...
458
399
<reponame>misselvexu/mixmicro-datax /* * * * 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 th...
1,194
61,676
from django.contrib.gis.gdal.error import GDALException from django.contrib.gis.ptr import CPointerBase class GDALBase(CPointerBase): null_ptr_exception_class = GDALException
64
348
<filename>docs/data/leg-t2/060/06002645.json {"nom":"Trie-la-Ville","circ":"2ème circonscription","dpt":"Oise","inscrits":262,"abs":151,"votants":111,"blancs":9,"nuls":2,"exp":100,"res":[{"nuance":"REM","nom":"<NAME>","voix":59},{"nuance":"FN","nom":"<NAME>","voix":41}]}
113
538
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.roaster.model.impl; import org.eclipse.jdt.core.compiler.IProblem; import org.eclipse.jdt.core.dom.CompilationUnit...
716
2,338
<gh_stars>1000+ // RUN: rm -rf %t // RUN: mkdir -p %t/fixes // RUN: cat %s > %t.cpp // RUN: clang-rename -offset=254 -new-name=Bar -export-fixes=%t/fixes/clang-rename.yaml %t.cpp -- // RUN: clang-apply-replacements %t // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s class Foo {}; // CHECK: class Bar {}; // Use grep -FUbo...
160
2,443
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "Lic...
1,205
554
<reponame>fxxf1111/X-APM package github.tornaco.xposedmoduletest.xposed.bean; import android.os.Parcel; import android.os.Parcelable; import android.util.Log; import com.google.gson.Gson; import github.tornaco.xposedmoduletest.xposed.util.XposedLog; import lombok.Data; /** * Created by Tornaco on 2018/...
783
6,098
<filename>h2o-core/src/test/java/water/rapids/GroupingBench.java package water.rapids; import java.util.Arrays; import java.util.Random; import hex.CreateFrame; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; import water.*; import water.fvec.*; import water.util.ArrayUtils; import water....
6,275
370
/** * @file vo_postprocess/interlace.c * @author <NAME> <<EMAIL>> */ /* * Copyright (c) 2012-2015 CESNET, z. s. p. o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following conditions * are met: * * 1. Redis...
2,448
1,652
<filename>redis/redis-proxy-client/src/test/java/com/ctrip/framework/xpipe/redis/proxy/RouteOptionParserTest.java package com.ctrip.framework.xpipe.redis.proxy; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.net.InetSocketAddress; import java.util.List; /** * @Author limingdong...
507
348
{"nom":"Domvast","circ":"3ème circonscription","dpt":"Somme","inscrits":247,"abs":107,"votants":140,"blancs":26,"nuls":2,"exp":112,"res":[{"nuance":"REM","nom":"<NAME>","voix":57},{"nuance":"LR","nom":"M. <NAME>","voix":55}]}
91
1,350
<filename>sdk/deviceupdate/azure-iot-deviceupdate/src/main/java/com/azure/iot/deviceupdate/DevicesAsyncClient.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.iot.deviceupdate; import com....
8,150
1,255
<reponame>RichardRanft/RakNet /* Copyright (c) 2009 <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: * Redistributions of source code must retain the above copyright notice, this l...
3,908
310
<reponame>dwtester88/jitsi_master /* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License...
442
323
<gh_stars>100-1000 import torch import torch.nn as nn import torch.optim as optim import torch.nn.functional as F from torch.distributions import Normal class SoftQNetwork(nn.Module): def __init__(self, num_inputs, num_actions, hidden_size, init_w=3e-3): super(SoftQNetwork, self).__init__() self.q1...
413
852
<filename>TrackingTools/GsfTracking/src/classes.h #include "DataFormats/Common/interface/Wrapper.h" #include "DataFormats/Common/interface/AssociationMap.h" #include "DataFormats/TrackReco/interface/Track.h" #include "DataFormats/GsfTrackReco/interface/GsfTrack.h" #include "TrackingTools/PatternTools/interface/Trajecto...
536
351
<reponame>iszla/gountries {"name":{"common":"Slovakia","official":"Slovak Republic","Native":{"slk":{"common":"Slovensko","official":"Slovenská republika"}}},"EuMember":true,"LandLocked":true,"Nationality":"","tld":[".sk"],"Languages":{"slk":"Slovak"},"Translations":{"DEU":{"common":"Slowakei","official":"Slowakische R...
454
424
<reponame>mablanchard/Fastor #ifndef MATMUL_SPECIALISATIONS_KERNELS_H #define MATMUL_SPECIALISATIONS_KERNELS_H // Forward declare //----------------------------------------------------------------------------------------------------------- namespace internal { template<typename T, size_t M, size_t K, size_t N, ty...
25,658
403
/* * 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 ...
7,423
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/073/07302088.json {"nom":"Cohennoz","circ":"2ème circonscription","dpt":"Savoie","inscrits":167,"abs":83,"votants":84,"blancs":3,"nuls":2,"exp":79,"res":[{"nuance":"LR","nom":"<NAME>","voix":54},{"nuance":"DIV","nom":"<NAME>","voix":25}]}
130
6,484
<gh_stars>1000+ # Copyright 2020 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 req...
1,900
765
//===-- main.cpp ------------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
191
646
<gh_stars>100-1000 { "title": "Light, fast & responsive", "text": "This template is ready to use, so you don't need to change anything at a component level, unless you want to customize the default styling.", "section": [ { "title": "Why Antd?", "content": "Ant Design is a React UI library that ha...
203
335
{ "word": "Ghost", "definitions": [ "Act as ghostwriter of (a work)", "Glide smoothly and effortlessly.", "End a personal relationship with (someone) by suddenly and without explanation withdrawing from all communication." ], "parts-of-speech": "Verb" }
102
4,054
<filename>searchlib/src/main/java/com/yahoo/searchlib/aggregation/hll/UniqueCountEstimator.java // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.searchlib.aggregation.hll; /** * A interface for unique count estimation algorithms. The goal of th...
149
2,231
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or agr...
3,393
777
<gh_stars>100-1000 // Copyright (c) 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. #ifndef DEVICE_VIBRATION_DEVICE_VIBRATION_EXPORT_H_ #define DEVICE_VIBRATION_DEVICE_VIBRATION_EXPORT_H_ #if defined(COMPONENT_BUIL...
340
3,326
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
1,649
7,737
extern zend_class_entry *phalcon_helper_exception_ce; ZEPHIR_INIT_CLASS(Phalcon_Helper_Exception);
42