max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,511
/* SPDX-License-Identifier: curl */ /* COPYRIGHT AND PERMISSION NOTICE Copyright (c) 1996 - 2015, <NAME>, <<EMAIL>>. All rights reserved. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission ...
533
737
/** print_utils_test.cc -*- C++ -*- <NAME>, 2 Apr 2014 Copyright (c) 2014 Datacratic. All rights reserved. */ #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include "soa/utils/print_utils.h" #include <boost/test/unit_test.hpp> using namespace std; using nam...
230
2,389
package io.kubernetes.client.openapi.models; import java.lang.Integer; import java.lang.Deprecated; import com.google.gson.annotations.SerializedName; import io.kubernetes.client.fluent.Fluent; import java.lang.String; import java.lang.Boolean; /** * Generated */ public interface V1GCEPersistentDiskVolumeSourceF...
431
324
#ifndef UINT64_T_H_ #define UINT64_T_H_ typedef unsigned long uint64_t; #endif //__UINT64_T_H_
50
366
import torch import torch.nn as nn import torch.nn.functional as F import torch.autograd as ag import numpy as np from math import ceil from functools import reduce from torch.nn.utils import spectral_norm from utils import cc class DummyEncoder(object): def __init__(self, encoder): self.encoder = encoder ...
8,132
709
<filename>blocklytest/src/androidTest/java/com/google/blockly/android/ui/fieldview/BasicFieldImageViewTest.java<gh_stars>100-1000 package com.google.blockly.android.ui.fieldview; import android.content.Context; import com.google.blockly.android.BlocklyTestCase; import org.junit.Before; import org.junit.Test; import ...
631
1,350
<reponame>ppartarr/azure-sdk-for-java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.search.documents.indexes; import com.azure.core.http.HttpPipeline; public class IndexesTestHelpers { public static HttpPipeline getHttpPipeline(SearchIndexClient...
186
1,401
<gh_stars>1000+ package ml.combust.mleap.core.annotation; /** Annotation used to mark where we took code from Spark. */ public @interface SparkCode { public String uri(); }
59
1,518
<gh_stars>1000+ # Once for All: Train One Network and Specialize it for Efficient Deployment # <NAME>, <NAME>, <NAME>, <NAME>, <NAME> # International Conference on Learning Representations (ICLR), 2020. from .imagenet import *
66
1,615
<reponame>mmdongxin/MLN // // Created by momo783 on 2020/5/14. // Copyright (c) 2020 boztrail. All rights reserved. // #include "Animation.h" #include "RunLoop.h" #include "MultiAnimation.h" ANIMATOR_NAMESPACE_BEGIN const char* Animation::ANIMATION_TYPENAME = "Animation"; Animation::Animation(const AMTString &strNa...
2,029
348
{"nom":"Planèzes","circ":"2ème circonscription","dpt":"Pyrénées-Orientales","inscrits":89,"abs":45,"votants":44,"blancs":7,"nuls":3,"exp":34,"res":[{"nuance":"MDM","nom":"<NAME>","voix":25},{"nuance":"FN","nom":"<NAME>","voix":9}]}
96
2,039
package org.nd4j.parameterserver.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; /** * Status of a master node, covered * both by the master node itself and its responder. * * @author <NAME> */ @Data @Builder @NoAr...
280
6,139
<reponame>Digitaltransform/tensorboard # Copyright 2017 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/LIC...
2,772
13,885
<gh_stars>1000+ // Copyright (c) 2018 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 ...
15,686
351
"""Collections of tests of the CLI.""" from configparser import ConfigParser import pathlib from unittest.mock import Mock from click.testing import CliRunner import pytest import mltype.cli def command_composer(args, options, use_long=True, config_path=None): """Compose arguments and options. Parameters ...
9,600
14,425
/** * 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...
4,995
483
package org.yczbj.ycrefreshview.load; import android.os.Bundle; import android.os.Handler; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.Recyc...
2,199
881
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2020 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
2,756
401
<filename>src/main/java/org/jf/smalidea/SmaliParserDefinition.java /* * Copyright 2014, Google 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: * * * Redistributions of source co...
1,304
348
{"nom":"Pont-Hébert","circ":"1ère circonscription","dpt":"Manche","inscrits":1360,"abs":729,"votants":631,"blancs":28,"nuls":9,"exp":594,"res":[{"nuance":"LR","nom":"<NAME>","voix":300},{"nuance":"REM","nom":"<NAME>","voix":294}]}
91
999
// // Copyright (C) 2021 <NAME> // 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) // #ifndef SOCI_VECTOR_HELPERS_H_INCLUDED #define SOCI_VECTOR_HELPERS_H_INCLUDED #include "soci-exchange-cast.h" namespace soci {...
1,981
21,795
<reponame>jinjunzhu/Hystrix<filename>hystrix-core/src/main/java/com/netflix/hystrix/HystrixObservable.java /** * Copyright 2014 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 Licens...
1,663
529
/* * This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP * * Copyright (c) 2020 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source c...
1,519
4,994
/* Copyright (c) 2013, <NAME> and the respective contributors All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. */ #pragma once #include "tiny_dnn/core/framework/op_kernel.h" #include "tiny_dnn/core/kernels/gru_cell_op_internal.h" n...
1,406
2,080
/* * op function for ltree * <NAME> <<EMAIL>> * contrib/ltree/ltree_op.c */ #include "postgres.h" #include <ctype.h> #include "access/htup_details.h" #include "catalog/pg_statistic.h" #include "utils/builtins.h" #include "utils/lsyscache.h" #include "utils/selfuncs.h" #include "ltree.h" PG_MODULE_MAGIC; /* comp...
6,352
368
/* Plugin-SDK (Grand Theft Auto) SHARED source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "PluginSupport.h" bool PluginSupport::Install() { if (!installed) { installed = true; r...
150
690
/* * Copyright 2014 <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 * * Unless required by applicable law or agreed to in writin...
1,473
889
def iob_ranges(words, tags): """ IOB -> Ranges """ assert len(words) == len(tags) ranges = [] def check_if_closing_range(): if i == len(tags) - 1 or tags[i + 1].split('_')[0] == 'O': ranges.append({ 'entity': ''.join(words[begin: i + 1]), 'typ...
408
6,443
<filename>java/org/apache/tomcat/util/file/ConfigurationSource.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to Yo...
2,417
356
<reponame>parthmshah1302/Algo-Tree /* Selection sort is an algorithm that selects the smallest element from an unsorted list in each iteration and places that element at the beginning of the unsorted list. * Strategy: find the smallest number in the array and exchange it with the value in first position o...
588
2,151
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_VR_MODE_H_ #define CHROME_BROWSER_VR_MODE_H_ namespace vr { // Specifies one of Chrome's VR modes. // TODO(ymalik): These modes a...
259
14,668
<reponame>zealoussnow/chromium # Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import signal OK_EXIT_STATUS = 0 # This matches what the shell does on POSIX (returning -SIGNUM on unhandled # signal). (uns...
480
460
<gh_stars>100-1000 /** * Copyright 2015-2018 Red Hat, Inc, and individual contributors. * <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/LICEN...
1,316
367
"""Configuration utilities for cockpit.""" from cockpit import quantities from cockpit.utils import schedules def configuration(label, track_schedule=None, verbose=False): """Use pre-defined collections of quantities that should be used for tracking. Currently supports three different configurations: -...
1,409
892
{ "schema_version": "1.2.0", "id": "GHSA-8jmw-m2mh-5mcm", "modified": "2022-05-01T18:19:52Z", "published": "2022-05-01T18:19:52Z", "aliases": [ "CVE-2007-4059" ], "details": "Absolute path traversal vulnerability in a certain ActiveX control in IntraProcessLogging.dll 5.5.3.42958 in EMC VMware allows ...
972
2,260
<reponame>tiancode/GamePlay #ifndef SPRITEBATCHSAMPLE_H_ #define SPRITEBATCHSAMPLE_H_ #include "gameplay.h" #include "Sample.h" using namespace gameplay; /** * Sample drawing many quad sprites with SpriteBatch. */ class SpriteBatchSample : public Sample { public: SpriteBatchSample(); void touchEvent(Touc...
214
2,759
// Copyright (c) YugaByte, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
1,708
303
<filename>src/EefcFlash.cpp /////////////////////////////////////////////////////////////////////////////// // BOSSA // // Copyright (c) 2011-2018, ShumaTech // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following condi...
4,929
417
<reponame>andrevmatos/microraiden from .manager import ChannelManager from .blockchain import Blockchain from .state import ChannelManagerState from .channel import Channel, ChannelState __all__ = [ ChannelManager, Blockchain, ChannelManagerState, Channel, ChannelState ]
87
2,151
<filename>third_party/android_tools/sdk/sources/android-25/com/android/internal/widget/WatchListDecorLayout.java /* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
5,862
816
<reponame>mikhan808/rsyntaxtextarea-antlr4-extension /* * 02/16/2012 * * Copyright (C) 2013 <NAME> * robert_futrell at users.sourceforge.net * http://fifesoft.com/rsyntaxtextarea * * This library is distributed under a modified BSD license. See the included * LICENSE file for details. */ package org.fife.ui.r...
505
701
#include "DocPanel.h" #include <typeinfo> #include <boost/bind.hpp> #include <wx/sizer.h> #include <wx/string.h> #include <wx/textctrl.h> #include "OgreString.h" #include "CgEditor.h" #include "Editor.h" #include "EditorEventArgs.h" #include "EditorManager.h" #include "EventArgs.h" #include "GLSLEditor.h" #include...
982
338
package mobi.omegacentauri.raspberryjammod; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.world.World; public abstract class ServerAction { abstract public void execute(); public boolean contains(World w, int x, int y, int z) { return false; } pu...
202
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. #ifndef COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_MEDIA_DIALOG_DELEGATE_H_ #define COMPONENTS_GLOBAL_MEDIA_CONTROLS_PUBLIC_MEDIA_DIALOG_DELEGATE_H_ #includ...
445
324
<reponame>tormath1/jclouds {"status": "success", "data": ["/REST/SOARecord/adrianc.zone.dynecttest.jclouds.org/adrianc.zone.dynecttest.jclouds.org/50976579", "/REST/NSRecord/adrianc.zone.dynecttest.jclouds.org/adrianc.zone.dynecttest.jclouds.org/50976580", "/REST/NSRecord/adrianc.zone.dynecttest.jclouds.org/adrianc.zon...
298
7,883
<gh_stars>1000+ // Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once #include "carla/MsgPack.h" #include <cstdint> #include "carla/g...
418
2,331
<filename>genpac/__main__.py # -*- coding: utf-8 -*- from __future__ import (unicode_literals, absolute_import, division, print_function) from . import run if __name__ == '__main__': run()
97
372
<gh_stars>100-1000 /* * * (c) Copyright 1989 OPEN SOFTWARE FOUNDATION, INC. * (c) Copyright 1989 HEWLETT-PACKARD COMPANY * (c) Copyright 1989 DIGITAL EQUIPMENT CORPORATION * To anyone who acknowledges that this file is provided "AS IS" * without any express or implied warranty: * permission to u...
2,425
6,931
<reponame>EkremBayar/bayar '''What's the origin of this file? It is not ours. Does not run because of missing mtx files, now included changes: JP corrections to imports so it runs, comment out print ''' import numpy as np from numpy import dot, outer, random from scipy import io, linalg, optimize from scipy.sparse im...
787
1,645
/* * Seldon -- open source prediction engine * ======================================= * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * ********************************************************************************************** * * Licensed under the Apache License, Vers...
1,526
335
{ "word": "Poppy", "definitions": [ "A herbaceous plant with showy flowers, milky sap, and rounded seed capsules. Many poppies contain alkaloids and are a source of drugs such as morphine and codeine." ], "parts-of-speech": "Noun" }
91
599
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
4,294
815
package com.in28minutes.loops; public class WhileNumberPlayer { private int limit; public WhileNumberPlayer(int limit) { this.limit = limit; } // For limit = 30, output would be 1 4 9 16 25 public void printSquaresUptoLimit() { int i = 1; while (i * i < limit) { System.out.print(i * i + " "); i++; ...
230
777
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "base/base_switches.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/macros.h" #include ...
4,626
3,799
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1,308
369
/* The following code was generated by JFlex 1.7.0-SNAPSHOT tweaked for IntelliJ platform */ /* * Copyright 2000-2008 JetBrains s.r.o. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
24,157
8,027
<filename>test/com/facebook/buck/core/graph/transformation/executor/impl/DepsAwareWorkerTest.java /* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
6,666
7,392
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include <sys/capability.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/prctl.h> #include <sys/mount.h> #include <sys/socket.h> #include <sys/signalfd.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/wai...
341
3,043
<filename>bower.json<gh_stars>1000+ { "name": "pivottable", "description": "Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop", "version": "2.23.0", "main": [ "dist/pivot.js", "dist/pivot.css" ], "license": "MIT", "ignore": [ "examples" ], "key...
304
995
// (C) Copyright <NAME> 2017. // 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) #ifndef BOOST_FUNCTION_OUTPUT_ITERATOR_HPP #define BOOST_FUNCTION_OUTPUT_ITERATOR_HPP // This is a deprecated header left fo...
193
325
<filename>examples/http_client/main.c<gh_stars>100-1000 /* * The MIT License (MIT) * * Copyright (c) 2014-2018, <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 * rest...
1,154
324
<filename>providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/compute/functions/PresentSpotRequestsAndInstances.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 copyrig...
1,352
303
<reponame>ofZach/landlinesApp {"id":2224,"line-1":"Muscat Governorate","line-2":"Oman","attribution":"©2014 CNES / Astrium, DigitalGlobe","url":"https://www.google.com/maps/@23.709895,58.095499,18z/data=!3m1!1e3"}
89
568
<gh_stars>100-1000 package com.fincatto.documentofiscal.nfe310.classes.nota; import org.junit.Assert; import org.junit.Test; import com.fincatto.documentofiscal.DFUnidadeFederativa; import com.fincatto.documentofiscal.nfe310.FabricaDeObjetosFake; import com.fincatto.documentofiscal.nfe310.classes.nota.NFNotaInfoExpor...
848
412
<filename>security/src/main/java/datart/security/base/InviteToken.java package datart.security.base; import lombok.Data; import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = true) @Data public class InviteToken extends JwtToken { private String inviter; private String orgId; private String u...
112
66,635
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from ..compat import compat_str from ..utils import ( ExtractorError, int_or_none, try_get, unified_timestamp, ) class FreshLiveIE(InfoExtractor): _VALID_URL = r'https?://freshlive\.tv/[^/]+/(?P<id>\d+)' ...
1,377
521
<filename>third_party/retdec-3.2/src/fileinfo/file_information/file_information_types/resource_table/resource_table.cpp /** * @file src/fileinfo/file_information/file_information_types/resource_table/resource_table.cpp * @brief Class for resource table. * @copyright (c) 2017 Avast Software, licensed under the MIT li...
1,416
2,151
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/shell/browser/shell_screen.h" #include <memory> #include "extensions/shell/test/shell_test_base_aura.h" #include "testing/gtest/inc...
507
662
#include <gtest/gtest.h> //#include <unsupported/Eigen/MatrixFunctions> #define private public #include "alias.h" #include "mm.h" #include "group.h" #include "graph.h" #include "unittest_helpers.h" #include "feature.h" //using namespace Eigen; using namespace xivo; /* Class to check dxc(now)_d[everything else]. ...
8,841
680
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
1,241
16,461
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated by codegen project: GeneratePropsJavaInterface.js */ package com.facebook.react.viewmanagers; import android.view.View; im...
221
799
<reponame>diCagri/content<gh_stars>100-1000 DATE_FORMAT: str = '%Y-%m-%dT%H:%M:%SZ' # ISO8601 format with UTC, default in XSOAR DATE_FORMAT_WITH_MICROSECOND = '%Y-%m-%dT%H:%M:%S.%fZ' DEFAULT_FETCH_LIMIT = '50' DEFAULT_FIRST_FETCH = '1 hour' CONTENT_TYPE_JSON = 'application/json' URL_SUFFIX = { 'FETCH_INCIDENTS': ...
4,709
728
#!/usr/bin/env python3 ''' generate shellcode from ./guardian.asm using custom agent path ''' # pylint: disable=invalid-name, broad-except import os import sys import traceback usage = f"{sys.argv[0]} <agent path>" if len(sys.argv) != 2: print(usage) sys.exit(1) agent_path = sys.argv[1] agent_path = agent_...
778
14,668
<reponame>zealoussnow/chromium<filename>chromeos/services/bluetooth_config/fake_key_entered_handler.cc<gh_stars>1000+ // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/services/bluetoot...
424
4,639
<reponame>QueoLda/django-oscar # Generated by Django 3.1.4 on 2021-08-24 13:14 from django.db import migrations import oscar.models.fields.slugfield class Migration(migrations.Migration): dependencies = [ ('catalogue', '0022_auto_20210210_0539'), ] operations = [ migrations.AlterField( ...
221
1,256
#include <cstdio> #include <ctime> #include "Proclist.hpp" #include "Proclng.hpp" #include "version.hpp" #include "guid.hpp" #include <initguid.h> #include "guid.hpp" options Opt; PluginStartupInfo PsInfo; FarStandardFunctions FSF; //----------------------------------------------------------------------------- st...
2,995
1,962
package com.bolingcavalry.hiveudf.udtf; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.hive.ql.exec.UDFArgumentException; import org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.udf.generic.Generic...
1,698
482
package io.cattle.platform.core.util; public class SystemLabels { public static final String LABEL_AGENT_CREATE = "io.rancher.container.create_agent"; public static final String LABEL_AGENT_ROLE = "io.rancher.container.agent.role"; public static final String LABEL_AGENT_VOLUMES_STRATEGY = "io.rancher.conta...
1,156
746
<filename>tests/test_codebase/test_mmpose/test_pose_detection.py<gh_stars>100-1000 # Copyright (c) OpenMMLab. All rights reserved. import os from tempfile import NamedTemporaryFile, TemporaryDirectory import mmcv import numpy as np import pytest import torch import mmdeploy.backend.onnxruntime as ort_apis from mmdepl...
2,100
5,169
{ "name": "SFSwiftExtensions", "version": "0.1.2", "summary": "这是我不断整理的Swift扩展的合集", "description": "这是我自己做的一个Swift扩展合集", "homepage": "https://github.com/AbnormalProgrammer/SFSwiftExtensions", "license": "MIT", "authors": { "Stroman": "<EMAIL>" }, "platforms": { "ios": "14.0" }, "source": {...
276
348
{"nom":"Cessales","circ":"10ème circonscription","dpt":"Haute-Garonne","inscrits":134,"abs":67,"votants":67,"blancs":21,"nuls":5,"exp":41,"res":[{"nuance":"REM","nom":"<NAME>","voix":29},{"nuance":"FI","nom":"<NAME>","voix":12}]}
92
449
# Copyright (c) OpenMMLab. All rights reserved. from .loading import LoadPatchFromImage from .transforms import PolyRandomRotate, RRandomFlip, RResize __all__ = ['LoadPatchFromImage', 'RResize', 'RRandomFlip', 'PolyRandomRotate']
72
348
{"nom":"Saint-Prancher","circ":"4ème circonscription","dpt":"Vosges","inscrits":64,"abs":28,"votants":36,"blancs":4,"nuls":1,"exp":31,"res":[{"nuance":"LR","nom":"<NAME>","voix":23},{"nuance":"SOC","nom":"<NAME>","voix":8}]}
92
335
{ "word": "Boil", "definitions": [ "The temperature at which a liquid bubbles and turns to vapour.", "The process of heating a liquid to the temperature at which it bubbles and turns to vapour.", "A state of great activity or excitement.", "A sudden rise of a fish at a fly.", ...
180
1,056
<filename>java/xml.jaxb/src/org/netbeans/modules/xml/jaxb/ui/JAXBNodeFactory.java<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. Th...
2,394
412
<filename>deepsnap/__init__.py import types import torch import random import numpy as np import deepsnap.graph import deepsnap.dataset import deepsnap.batch import deepsnap.hetero_graph import deepsnap.hetero_gnn import networkx as _netlib __version__ = "0.2.1" def use(netlib=None): r""" Specifies to use wh...
616
482
<reponame>yiding-he/neoeedit<filename>scripts/SmallHistory.java<gh_stars>100-1000 import java.util.*; import neoe.ne.Script; public class SmallHistory implements Script { @Override public List<CharSequence> run(List<CharSequence> lines) { List<CharSequence> ret = new ArrayList<CharSequence>(); StringBuilder s...
313
852
<filename>TopQuarkAnalysis/TopEventProducers/python/tqafSequences_old_cff.py<gh_stars>100-1000 import FWCore.ParameterSet.Config as cms ## produce ttGenEvent from TopQuarkAnalysis.TopEventProducers.sequences.ttGenEvent_cff import * ## produce event solution from TopQuarkAnalysis.TopEventProducers.producers.TtSemiEvtSo...
253
645
<gh_stars>100-1000 // Copyright 2013 Viewfinder. All rights reserved. // Author: <NAME> package co.viewfinder; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.util.Log; /** * This manages the UI relating to...
587
938
<filename>src/main/resources/assets/tconstruct/book/encyclopedia/en_us/upgrades/weapon/necrotic.json { "modifier_id": "tconstruct:necrotic", "text": [ { "text": "Has a chance to heal a percentage of damage on hit, healing between 0% and 5% per level." } ], "more_text_space": true, "effects": [ ...
149
368
/* Plugin-SDK (Grand Theft Auto Vice City) 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 "cTransmission.h" #include "CVector.h" #include "eVehicleFlags.h" enum eVehicleLig...
873
363
<filename>src/test/java/org/assertj/core/api/EntryPointAssertions_setPrintAssertionsDescription_Test.java<gh_stars>100-1000 /* * 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.a...
726
1,738
<reponame>jeikabu/lumberyard<gh_stars>1000+ /* * 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, ...
1,523
678
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "MMObject.h" #import "IWCDeviceAccountMgrExt.h" #import "IWCDeviceBrandMgrExt.h" @class CContact, NSMutableArray, NSMutableSet, NSString; @interface BrandDeviceConnectLogicCont...
842
348
{"nom":"Graçay","circ":"2ème circonscription","dpt":"Cher","inscrits":1015,"abs":481,"votants":534,"blancs":19,"nuls":54,"exp":461,"res":[{"nuance":"COM","nom":"<NAME>","voix":232},{"nuance":"MDM","nom":"<NAME>","voix":229}]}
91
310
<filename>gear/software/t/taxi-magic-ios.json { "name": "Taxi Magic (iOS)", "description": "A taxi booking app for iOS.", "url": "https://itunes.apple.com/us/app/taxi-magic/id299226386" }
75
634
<filename>server/protocols/webadmin-cli/src/main/java/org/apache/james/httpclient/JwtToken.java /****************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed with ...
678
984
<gh_stars>100-1000 //+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (c) Microsoft Corporation. All rights reserved. // //---------------------------------------------------------------------------- #pragma once #include <cor.h> #include <activation....
1,305
843
package org.zalando.nakadi.service; import org.springframework.stereotype.Component; import org.springframework.web.util.UriComponentsBuilder; import org.zalando.nakadi.domain.PaginationLinks; import org.zalando.nakadi.domain.PaginationWrapper; import java.util.List; import java.util.Optional; import java.util.functi...
1,235
1,527
""" Debugger for Tensorflow import tfdebugger as td """ from interface import debug, c, s, get_exe_queue, get_value import op_store from plot_op import plot_op from python_op import python_op from debug_session import INITIALIZED, RUNNING, PAUSED, FINISHED from app import is_notebook, connect import examples import ...
104