max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
953
/* * This file is part of Dependency-Track. * * 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 ...
645
1,694
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <objc/NSObject.h> @class NSString; @interface WCActionSheetItem : NSObject { _Bool _bEnable; _Bool _bCustom; NSString *...
494
2,151
<gh_stars>1000+ package com.android.hotspot2.osu; import android.net.Network; import android.util.Base64; import android.util.Log; import com.android.hotspot2.Utils; import com.android.hotspot2.pps.HomeSP; import java.io.ByteArrayInputStream; import java.io.IOException; import java.net.InetAddress; import java.net.I...
12,339
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t1/076/07606394.json {"nom":"Longroy","circ":"6ème circonscription","dpt":"Seine-Maritime","inscrits":537,"abs":252,"votants":285,"blancs":5,"nuls":2,"exp":278,"res":[{"nuance":"FN","nom":"<NAME>","voix":85},{"nuance":"SOC","nom":"Mme <NAME>","voix":52},{"...
241
5,169
{ "name": "DLNARemoteControl", "version": "0.1.0", "summary": "A library for iOS to use DLNA.", "description": "You can use this library to implement multi-screen interactions with DLNA Technology.", "homepage": "https://github.com/AlexLearnsToCode/Multi-Screen-Interactions", "license": "MIT", "authors": ...
245
1,351
<filename>plugins/prefetch/fetch_policy_lru.cc /* 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 Lic...
1,395
654
package qz.utils; import org.codehaus.jettison.json.JSONArray; import org.codehaus.jettison.json.JSONException; import org.codehaus.jettison.json.JSONObject; import org.eclipse.jetty.websocket.api.Session; import org.eclipse.jetty.websocket.api.WebSocketException; import org.slf4j.Logger; import org.slf4j.LoggerFactor...
3,902
930
package com.dianping.pigeon.registry.composite; import com.dianping.pigeon.log.Logger; import com.dianping.pigeon.log.LoggerLoader; import com.dianping.pigeon.monitor.Monitor; import com.dianping.pigeon.monitor.MonitorLoader; import com.dianping.pigeon.registry.Registry; import com.dianping.pigeon.registry.RegistryMan...
2,673
5,823
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.embedding.android; /** Render modes for a Flutter UI. */ public enum RenderMode { /** * {@code RenderMode}, which paints a Flutter...
500
14,668
// 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 EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_PROVIDER_H_ #define EXTENSIONS_COMMON_PERMISSIONS_PERMISSION_MESSAGE_PROVIDER_H_ #include "exten...
778
6,989
from _CF import *
6
302
<reponame>sesu089/stackoverflow #ifndef LISTWIDGET_H #define LISTWIDGET_H #include <QListWidget> class ListWidget : public QListWidget { Q_OBJECT public: ListWidget(QWidget *parent = 0); void dropEvent(QDropEvent *event); protected: void mouseMoveEvent(QMouseEvent *event); }; #endif // LISTWIDGET_H
115
852
/*\class to compute not containment parameter */ #include "FWCore/Framework/interface/MakerMacros.h" #include "Validation/EcalClusters/interface/ContainmentCorrectionAnalyzer.h" using namespace cms; using namespace edm; using namespace std; using namespace reco; ContainmentCorrectionAnalyzer::ContainmentCorrectionAn...
8,773
28,056
<filename>src/test/java/com/alibaba/fastjson/deserializer/issue2779/LargeJavaBean.java package com.alibaba.fastjson.deserializer.issue2779; import java.util.List; public class LargeJavaBean { public List<Alphabet> getList100() { return list100; } public void setList100(List<Alphabet> list100) { ...
5,951
428
/** * Copyright 2008 - 2015 The Loon Game Engine 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 appl...
2,031
2,077
<gh_stars>1000+ /** Copyright (c) 2015-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. */ #ifndef __pbxbuild_Tool_AssetCatalogResolver_h #define __pbxbuild_Tool_AssetCatalogResolver_h #incl...
422
626
/* * Anserini: A Lucene toolkit for reproducible information retrieval research * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
897
1,558
#ifndef QTMATERIALAUTOCOMPLETE_H #define QTMATERIALAUTOCOMPLETE_H #include "qtmaterialtextfield.h" class QtMaterialAutoCompletePrivate; class QtMaterialAutoComplete : public QtMaterialTextField { Q_OBJECT public: explicit QtMaterialAutoComplete(QWidget *parent = 0); ~QtMaterialAutoComplete(); void ...
271
1,240
<reponame>fourplusone/SubEthaEdit<gh_stars>1000+ /* * Name: MyFileWrapper.h * Project: OgreKit * * Creation Date: Jun 06 2004 * Author: <NAME> <sonoisa (AT) muse (DOT) ocn (DOT) ne (DOT) jp> * Copyright: Copyright (c) 2003 <NAME>, All rights reserved. * License: OgreKit License * * Encoding: UTF8 * Tabsize: 4...
397
1,821
/****************************************************************************** * * Copyright (c) 2019, the Perspective Authors. * * This file is part of the Perspective library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ #include <perspecti...
628
484
<reponame>peip-mirror/php-ext-wasm #include "php.h" #include "Zend/zend_exceptions.h" #include "wasmer_wasm.h" #include "../macros.h" #include "../../wasm.h" extern zend_class_entry *wasm_memory_view_ce; extern zend_object *wasm_memory_view_create(zend_class_entry *ce); extern zend_class_entry *wasm_memory_ptr_ce; e...
3,887
1,003
<filename>scene-export/texture_utils.cpp /* Copyright (c) 2017-2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the right...
6,722
439
<reponame>linotex/GyverLibs #pragma once // медианный фильтр N-го порядка template < int SIZE, typename TYPE > class GMedian { public: TYPE filtered(TYPE newVal) { buffer[_count] = newVal; if ((_count < _numRead - 1) && (buffer[_count] > buffer[_count + 1])) { for (int i = _count; i < _numRead - 1; i++) { ...
431
2,034
package com.billy.android.swipe.internal; import android.graphics.Rect; import android.os.Build; import android.view.Gravity; import android.view.View; import android.view.ViewParent; import android.widget.AbsListView; import static android.os.Build.VERSION.SDK_INT; /** * @author billy.qi * @since 2019-05-23 11:25...
3,701
14,668
<filename>chrome/browser/share/android/java/src/org/chromium/chrome/browser/share/BaseScreenshotCoordinator.java // 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. package org.chromium.chrome.browser.share...
1,425
3,609
#include "tracy_robin_hood.h" #include "TracyCharUtil.hpp" #include "TracySourceTokenizer.hpp" namespace tracy { namespace { static unordered_flat_set<const char*, charutil::Hasher, charutil::Comparator> GetKeywords() { unordered_flat_set<const char*, charutil::Hasher, charutil::Comparator> ret; for( auto& v ...
6,034
852
<gh_stars>100-1000 import FWCore.ParameterSet.Config as cms BtagPerformanceESProducer_TEMPLATE = cms.ESProducer("BtagPerformanceESProducer", # this is what it makes available ComponentName = cms.string('TEMPLATE'), # this is where it gets the payload from PayloadN...
185
839
<gh_stars>100-1000 /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the ...
7,846
1,403
/* * IA32Register.h * * This file is part of the "LLGL" project (Copyright (c) 2015-2019 by <NAME>) * See "LICENSE.txt" for license information. */ #ifndef LLGL_IA32_REGISTER_H #define LLGL_IA32_REGISTER_H #include <cstdint> namespace LLGL { namespace JIT { // IA-32 register enumeration. enum class Reg { ...
239
480
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,850
2,591
<reponame>meisenla/liquibase package liquibase.configuration; /** * @deprecated */ public interface ConfigurationValueHandler { Object convert(Object value); }
52
675
<filename>benchmarks/gbench_hashmaplist.cpp #include "benchmark/benchmark.h" #include <nctl/HashMapList.h> const unsigned int Capacity = 1024; const int KeyValueDifference = 10; using SaxHashMap = nctl::HashMapList<unsigned int, unsigned int, nctl::SaxHashFunc<unsigned int>>; using JenkinsHashMap = nctl::HashMapList<...
1,580
1,695
/* * 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,845
674
<reponame>laurentd75/CLK // // Video.cpp // Clock Signal // // Created by <NAME> on 10/12/2016. // Copyright 2016 <NAME>. All rights reserved. // #include "Video.hpp" #include <cstring> using namespace Electron; #define graphics_line(v) ((((v) >> 7) - first_graphics_line + field_divider_line) % field_divider_li...
7,637
392
/******************************************************************************* * Copyright (c) 2015 * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including withou...
5,052
335
{ "word": "Vagabond", "definitions": [ "A person who wanders from place to place without a home or job.", "A dishonest or unprincipled person." ], "parts-of-speech": "Noun" }
87
1,100
<gh_stars>1000+ /********************************************************************************* * (The Octagon class) Write a class named Octagon that extends GeometricObject * * and implements the Comparable and Cloneable interfaces. Assume that all eight * * sides of the octagon are of equal length. The area ca...
748
791
#include "rounded_box_mesh.hpp" using namespace generator; using namespace generator::detail; box_edge_t::box_edge_t(const gml::dvec2& position, double radius, double size, int slices, int segments) : translate_mesh_{{radius, size, slices, segments, 0.0, gml::radians(90.0)}, gml::dvec3{position, 0.0}} { } box_edges...
729
364
// File doc/quickbook/oglplus/quickref/enums/clip_depth_mode_class.hpp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/clip_depth_mode.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 <NAME>. // Distributed under the Boost So...
343
750
<reponame>sbonner0/pykeen # -*- coding: utf-8 -*- """Implementation of MuRE.""" from typing import Any, ClassVar, Mapping, Optional from torch.nn.init import normal_, uniform_, zeros_ from ..nbase import ERModel from ...constants import DEFAULT_EMBEDDING_HPO_EMBEDDING_DIM_RANGE from ...nn.emb import EmbeddingSpecif...
2,253
369
<filename>cdap-explore/src/main/java/io/cdap/cdap/explore/table/SchemaConverter.java /* * Copyright © 2014-2018 <NAME>, 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://...
2,098
1,467
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "ametsuchi/impl/postgres_options.hpp" #include <boost/algorithm/string.hpp> #include <boost/format.hpp> #include <cctype> #include <limits> #include <regex> #include "logger/logger.hpp" using namespace iroh...
1,611
3,969
/* * strlist.c -- string list * * Copyright (c) 2019, <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: * * * Redistributions of source code must retain the above copyright ...
2,174
679
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
26,011
892
<reponame>westonsteimel/advisory-database-github<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-566q-9c9p-9jc4", "modified": "2022-04-30T18:22:44Z", "published": "2022-04-30T18:22:44Z", "aliases": [ "CVE-2002-2211" ], "details": "BIND 4 and BIND 8, when resolving recursive DNS queries for ...
900
679
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
872
1,383
<filename>src/chrono_models/vehicle/kraz/Kraz_trailer.h<gh_stars>1000+ // ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style...
529
1,894
#!/usr/bin/env python # 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 argparse import os import sys from tracing.value import convert_chart_json # pylint: disable=wrong-import-position import trac...
485
587
<reponame>kiranmai-sfdev/aura /* * Copyright (C) 2013 salesforce.com, 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 * * ...
745
892
{ "schema_version": "1.2.0", "id": "GHSA-w5mv-gqvq-qwgr", "modified": "2022-04-30T18:10:32Z", "published": "2022-04-30T18:10:32Z", "aliases": [ "CVE-1999-0411" ], "details": "Several startup scripts in SCO OpenServer Enterprise System v 5.0.4p, including S84rpcinit, S95nis, S85tcp, and S89nfs, are vul...
301
537
<filename>include/ezl/helper/meta/slct.hpp<gh_stars>100-1000 /*! * @file * Provides custom compile time integer sequence (slct) that is used for column * manipulation with various operations on them such as invert mask, concatenate * fill etc. * * This file is a part of easyLambda(ezl) project for parallel data ...
2,135
374
/* Copyright (c) 2008 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicen...
624
625
<reponame>renesugar/jtransc<filename>jtransc-rt/src/java/util/ResourceBundle.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 licens...
11,243
499
package com.xgc1986.parallaxpagertransformersample; import android.graphics.Matrix; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; public cla...
1,642
309
<filename>tests/css/ostream.h++ /** * The MIT License (MIT) * * Copyright © 2019-2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without li...
6,781
1,217
"""The :mod:`pyts.decomposition` module includes decomposition algorithms.""" from .ssa import SingularSpectrumAnalysis __all__ = ['SingularSpectrumAnalysis']
46
14,668
<reponame>zealoussnow/chromium // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/apps/platform_apps/api/webstore_widget_private/webstore_widget_private_api.h" #include <memory> #...
742
677
// Copyright 2017 The Lynx Authors. All rights reserved. #ifndef LYNX_GL_GL_CONTEXT_H_ #define LYNX_GL_GL_CONTEXT_H_ #include "gl/gl_share_group.h" #include "base/ref_counted_ptr.h" namespace gl { class GLSurface; class GLContext : public base::RefCountPtr<GLContext> { public: virtual bool Initialize(GLSurface*...
256
969
<reponame>ishine/GANsNRoses import os import numpy as np import torch from torch import nn from torch.nn import functional as F from torch.utils import data from torchvision import transforms, utils from tqdm import tqdm torch.backends.cudnn.benchmark = True import copy from util import * from PIL import Image from mo...
1,098
1,247
<filename>goodsKill-mongo-provider/goodskill-mongo-service/src/main/java/com/goodskill/mongo/repository/SuceessKillRepository.java package com.goodskill.mongo.repository; import com.goodskill.mongo.entity.SuccessKilled; import org.springframework.data.mongodb.repository.ReactiveMongoRepository; import reactor.core.pub...
212
1,847
/* * 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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,904
3,182
<reponame>TimothyGillespie/lombok-intellij-plugin<filename>testData/before/superbuilder/SuperBuilderCustomized.java public class SuperBuilderCustomized { @lombok.experimental.SuperBuilder public static class Parent { public static abstract class ParentBuilder<C extends Parent, B extends ParentBuilder<C, B>> { pu...
315
892
<filename>advisories/unreviewed/2022/05/GHSA-xx7x-j67h-66rj/GHSA-xx7x-j67h-66rj.json<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-xx7x-j67h-66rj", "modified": "2022-05-17T00:01:26Z", "published": "2022-05-17T00:01:26Z", "aliases": [ "CVE-2022-1265" ], "details": "The BulletProof Security...
431
2,350
<gh_stars>1000+ #pragma once #include "UEPySBorder.h" #include "Runtime/Slate/Public/Widgets/Views/SHeaderRow.h" extern PyTypeObject ue_PySHeaderRowType; typedef struct { ue_PySBorder s_border; /* Type-specific fields go here. */ } ue_PySHeaderRow; void ue_python_init_sheader_row(PyObject *); ue_PySHeaderRow *p...
153
848
<reponame>donsheng/acrn-hypervisor<filename>misc/config_tools/board_inspector/inspectorlib/bitfields.py # Copyright (c) 2015, Intel Corporation # 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,156
316
#include "raster_dem_source.hpp" #include "../android_conversion.hpp" #include "../value.hpp" #include "../conversion/url_or_tileset.hpp" #include "source.hpp" #include <mbgl/util/variant.hpp> #include <string> namespace mbgl { namespace android { RasterDEMSource::RasterDEMSource(jni::JNIEnv& env, const jni::S...
1,021
1,080
# Copyright 2017 Red Hat, 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 writing, ...
6,682
3,084
/*-- Copyright (C) Microsoft Corporation. All rights reserved. Module Name: mmc.c Abstract: Include all funtions relate to MMC Environment: kernel mode only Notes: Revision History: --*/ #include "stddef.h" #include "string.h" #include "ntddk.h" #include "ntddstor.h...
29,908
1,120
import os import sys from sklearn.utils import shuffle sys.path.insert(0, os.path.abspath(os.path.join(os.getcwd(), "../../../"))) from fedml_api.data_preprocessing.NUS_WIDE.nus_wide_dataset import NUS_WIDE_load_three_party_data from fedml_api.model.finance.vfl_models_standalone import LocalModel, DenseModel from fed...
1,473
693
package alessandro.draganddrop.adapter; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.helper.ItemTouchHelper; import alessandro.draganddrop.interfaces.CallbackItemTouch; /** * Created by Alessandro on 12/01/2016. */ public class MyItemTouchHelperCallback extends ItemTouchHelper.Ca...
485
4,538
<gh_stars>1000+ /* * Copyright (C) 2015-2021 Alibaba Group Holding Limited */ #ifndef AOS_RHINO_H #define AOS_RHINO_H #include <stdint.h> #include "kernel.h" #ifdef __cplusplus extern "C" { #endif /** * Get a task pthread control block. * * @param[in] task task handle * @param[out] ptcb the ...
1,330
348
{"nom":"Richebourg","circ":"12ème circonscription","dpt":"Pas-de-Calais","inscrits":2136,"abs":1086,"votants":1050,"blancs":53,"nuls":19,"exp":978,"res":[{"nuance":"REM","nom":"<NAME>","voix":637},{"nuance":"FN","nom":"<NAME>","voix":341}]}
98
7,353
<reponame>INNOAUS/netcode<gh_stars>1000+ #ifndef randombytes_sysrandom_H #define randombytes_sysrandom_H #include "export.h" #include "randombytes.h" #ifdef __cplusplus extern "C" { #endif SODIUM_EXPORT extern struct randombytes_implementation randombytes_sysrandom_implementation; #ifdef __cplusplus } #endif #end...
124
368
<filename>src/main/java/ezvcard/property/Profile.java package ezvcard.property; import java.util.List; import ezvcard.SupportedVersions; import ezvcard.VCard; import ezvcard.VCardVersion; import ezvcard.ValidationWarning; /* Copyright (c) 2012-2021, <NAME> All rights reserved. Redistribution and use in source an...
876
3,262
<gh_stars>1000+ #include "halley/tools/codegen/codegen_tool.h" #include "halley/tools/codegen/codegen.h" #include <iostream> using namespace Halley; int CodegenTool::run(Vector<std::string> args) { if (args.size() == 2) { Codegen::run(args[0], args[1]); return 0; } else { std::cout << "Usage: halley-cmd codeg...
156
1,991
package com.jarvis.cache.lock; import redis.clients.jedis.JedisCluster; import redis.clients.jedis.params.SetParams; /** * */ public class JedisClusterLock extends AbstractRedisLock { private JedisCluster jedisCluster; public JedisClusterLock(JedisCluster jedisCluster) { this.jedisCluster = jedisC...
257
2,659
<gh_stars>1000+ /* * Copyright 2021 4Paradigm * * 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...
2,789
5,169
<reponame>morizotter/Specs { "name": "ElegantTimePicker", "version": "0.1.1", "summary": "functionality reduced and UI customized version for iOS UIDatePicker.", "description": " ElegantTimePicker is a functionality reduced and UI customized version for iOS UIDatePicker.\n ...
370
3,428
{"id":"00471","group":"spam-1","checksum":{"type":"MD5","value":"fc87286572c99b7a554dc8c86f34506c"},"text":"From <EMAIL> Thu Sep 26 11:29:50 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: <EMAIL>\nReceived: from localhost (jalapeno [1172.16.58.3])\n\tby zzzzason.org (Postfix) with ESMTP id AE35516F03\n\tfor <zzzz@localho...
913
361
<gh_stars>100-1000 #include <glog/logging.h> #include <ros/ros.h> #include "voxgraph/tools/odometry_simulator/odometry_simulator.h" int main(int argc, char** argv) { // Start logging google::InitGoogleLogging(argv[0]); google::InstallFailureSignalHandler(); // Register with ROS master ros::init(argc, argv,...
216
485
# -*- coding: utf-8 -*- # Author: <NAME> <<EMAIL>> # License: BSD 2 clause import os.path import pandas as pd import numpy as np import torch import pickle from pyhealth.data.expdata_generator import textdata as expdata_generator from pyhealth.models.text.tool import get_embedding def convert_examples_to_features...
1,866
1,056
<reponame>timfel/netbeans<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 Lice...
541
344
import numpy as np from brew.base import Ensemble from .base import DCS class LCA2(DCS): """Local Class Accuracy. The Local Class Accuracy selects the best classifier for a sample using it's K nearest neighbors. Attributes ---------- `Xval` : array-like, shape = [indeterminated, n_features]...
2,737
9,182
/* * StaticMemoryCfg.hpp: * * Configuration settings for the static memory component. */ #ifndef SVC_STATIC_MEMORY_CFG_HPP_ #define SVC_STATIC_MEMORY_CFG_HPP_ namespace Svc { enum StaticMemoryConfig { STATIC_MEMORY_ALLOCATION_SIZE = 2048 }; } #endif
116
1,467
<gh_stars>1000+ /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the...
6,351
1,442
#include "preimage_parameter_controller.h" #include "../app.h" #include <assert.h> using namespace Escher; namespace Graph { PreimageParameterController::PreimageParameterController( Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, Shared::InteractiveCurveViewRange * graphRan...
418
28,899
<reponame>13rianlucero/CrabAgePrediction from pandas import Index import pandas._testing as tm from pandas.core.construction import extract_array def test_extract_array_rangeindex(): ri = Index(range(5)) expected = ri._values res = extract_array(ri, extract_numpy=True, extract_range=True) tm.assert_n...
257
3,307
<reponame>ruyimarone/dynet<gh_stars>1000+ /* Copyright (c) 2016- Facebook, Inc (<NAME>) Copyright (c) 2014- Facebook, Inc (<NAME>) Copyright (c) 2011-2014 Idiap Research Institute (<NAME>) Copyright (c) 2012-2014 Deepmind Technologies (Koray Kavukcuoglu) Copyright (c) 2011-2012 NEC Labo...
9,027
944
#include <torch/csrc/jit/passes/subgraph_rewrite.h> #include "core/util/prelude.h" namespace trtorch { namespace core { namespace lowering { namespace passes { void RemoveContiguous(std::shared_ptr<torch::jit::Graph>& graph) { std::string contiguous_pattern = R"IR( graph(%input, %1): %2 = aten:...
307
421
<reponame>hamarb123/dotnet-api-docs // Char.IsControl1.cpp : main project file. // Char.IsControl(Char) // <Snippet1> using namespace System; void main() { int charsWritten = 0; for (int ctr = 0x00; ctr <= 0xFFFF; ctr++) { wchar_t ch = ctr; if (Char::IsControl(ch)) { ...
731
421
// <SNIPPET1> using namespace System; using namespace System::Reflection; using namespace System::Security::Policy; //for evidence Object* int main() { //Create evidence for the new appdomain. Evidence^ adevidence = AppDomain::CurrentDomain->Evidence; // Create the new application domai...
356
311
<reponame>dev-66/dd-trace-java package datadog.trace.agent.tooling.bytebuddy.matcher; import datadog.trace.agent.tooling.bytebuddy.DDRediscoveryStrategy; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.matcher.ElementMatcher; /** * Global ignores matcher used by the agent. * * <p>This m...
3,802
1,907
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2018 <NAME>, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person obtaining a cop...
1,413
6,709
import asyncio class RequestState: """ This request state holds several information relevant to sent messages, in particular the message ID assigned to the request, the container ID it belongs to, the request itself, the request as bytes, and the future result that will eventually be resolved. ...
220
556
<filename>dataset/forced_alignment/audio.py import wave import collections from webrtcvad import Vad DEFAULT_RATE = 16000 DEFAULT_CHANNELS = 1 DEFAULT_WIDTH = 2 DEFAULT_FORMAT = (DEFAULT_RATE, DEFAULT_CHANNELS, DEFAULT_WIDTH) def get_num_samples(pcm_buffer_size, audio_format=DEFAULT_FORMAT): """ Credit: htt...
2,253
335
<gh_stars>100-1000 { "word": "Talk", "definitions": [ "Speak in order to give information or express ideas or feelings; converse or communicate by spoken words.", "Have the power of speech.", "Discuss personal or intimate feelings.", "Persuade or cause (someone) to do something b...
224
435
{ "copyright_text": null, "description": "I generatori sono una delle caratteristiche pi\u00f9 avanzate di Python ma\nanche meglio integrate con le altre parti del linguaggio e con una\nsintassi molto simile ad altri costrutti. In particolare Python 3 fa un\nutilizzo pi\u00f9 esteso dei iteratori anche nelle funzio...
635
764
{"symbol": "DAY","address": "0xe26668cC7Ce5239304B5af8F54B4bd57D11084D2","overview":{"en": ""},"email": "","website": "https://daybit.com","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/daybitofficial","telegram": "","github": ""}}
95
852
<filename>MuonAnalysis/MomentumScaleCalibration/python/MuScleFitGenFilter_cfi.py import FWCore.ParameterSet.Config as cms MuScleFitGenFilter = cms.EDFilter( "MuScleFitGenFilter", GenParticlesName = cms.untracked.string( "genParticles" ), # The resonances are to be specified in this order: # Z0, Y(3S)...
177
343
#include "bindings.h" BND_Group::BND_Group() { SetTrackedPointer(new ON_Group(), nullptr); } BND_Group::BND_Group(ON_Group* group, const ON_ModelComponentReference* compref) { SetTrackedPointer(group, compref); } void BND_Group::SetTrackedPointer(ON_Group* group, const ON_ModelComponentReference* compref) { m...
466