max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
335
<gh_stars>100-1000 { "word": "Disgusted", "definitions": [ "Feeling or expressing revulsion or strong disapproval." ], "parts-of-speech": "Adjective" }
73
575
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_LOCAL_CARD_MIGRATION_MANAGER_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_LOCAL_CARD_MIGRATION_M...
3,408
5,133
/* * Copyright MapStruct Authors. * * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package org.mapstruct.itest.auto.value; import com.google.auto.value.AutoValue; @AutoValue public abstract class Person { public abstract String getName(); public...
233
510
#ifndef UNITTEST_THROWINGTESTREPORTER_H #define UNITTEST_THROWINGTESTREPORTER_H #include "TestReporter.h" namespace UnitTest { // A TestReporter that throws when ReportFailure is called. Otherwise it // forwards the calls to a decorated TestReporter class ThrowingTestReporter : public TestReporter { p...
269
1,319
# -*- coding: utf-8 -*- """text2sql launch tools""" from . import trainer from . import infer from . import eval
39
529
<reponame>PervasiveDigital/netmf-interpreter /* Written by <NAME>(<EMAIL>) * * * 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, ...
15,372
435
<reponame>amaajemyfren/data { "description": "You can find more about this talk on `djangocon.eu <https://2016.djangocon.eu/speakers/10>`_. This video is hosted by `opbeat.com <http://opbeat.com/community/posts/using-django-with-service-workers-by-adrian-holovaty/>`_.", "language": "eng", "recorded": "2016-04-01"...
249
877
import org.checkerframework.common.value.qual.*; import org.checkerframework.dataflow.qual.Pure; public class StaticallyExecutableWarnings { @StaticallyExecutable // :: warning: (statically.executable.not.pure) static int addNotPure(int a, int b) { return a + b; } @StaticallyExecutable @Pure static...
406
310
<reponame>dreeves/usesthis<gh_stars>100-1000 { "name": "Cosmo", "description": "A headlamp.", "url": "http://blackdiamondequipment.com/en/headlamps-and-lanterns/cosmo-headlamp-BD620622GRSSALL1.html" }
90
703
<gh_stars>100-1000 inline ezGALShaderCreationDescription::ezGALShaderCreationDescription() : ezHashableStruct() { } inline ezGALShaderCreationDescription::~ezGALShaderCreationDescription() { for (ezUInt32 i = 0; i < ezGALShaderStage::ENUM_COUNT; ++i) { ezGALShaderByteCode* pByteCode = m_ByteCodes[i]; m_...
679
412
<gh_stars>100-1000 class Generic<T> { public T t; public Generic<Integer> g; public static <T> Generic<T> makeGeneric(T value) { Generic<T> newST = new Generic<T>(); newST.t = value; return newST; } }
93
310
{ "name": "react-atv-img", "version": "0.1.1", "description": "A port of @drewwilson’s atvImg (Apple TV 3D parallax effect) library in React", "main": "lib/index.js", "scripts": { "clean": "rimraf lib dist", "build": "NODE_ENV=production babel src --out-dir lib", "lint": "eslint src", "test": ...
872
45,293
<gh_stars>1000+ public class Annotated { public void foo(@MyNonnull String x) { } public void bar(@MyMigrationNonnull String x) { } @MyNullable public String nullable() { return null; } }
96
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gfx/x/xproto_internal.h" #include <stdint.h> #include <xcb/xcb.h> #include <xcb/xcbext.h> namespace x11 { MallocedRefCountedMemory::Malloc...
550
666
import sys sys.path.append("../../") from appJar import gui def press(btn): print( app.label("title"), app.label("title2"), app.entry("data"), app.button("Clap"), app.radio("happy"), app.date("date"), app.check("Clap"), app.option("feelings"), ...
2,878
3,442
/* * 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 at * * http://www.apache.or...
1,388
403
package org.camunda.bpm.demo.executify; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.io.FileUtils; import org.apache.ibatis.logging.LogFactory; import org.camun...
1,798
6,098
<reponame>ahmedengu/h2o-3<filename>h2o-core/src/main/java/water/udf/CFuncLoaderService.java<gh_stars>1000+ package water.udf; import java.util.Iterator; import java.util.ServiceLoader; /** * Loader for custom function providers. * * A provider provides a way to instantiate given function reference (given as {@link...
313
414
<reponame>madflojo/automon ''' Test monitoring.py schedule() ''' import mock import unittest from monitoring import schedule class ScheduleTest(unittest.TestCase): ''' Run unit tests against the schedule method ''' def setUp(self): ''' Setup mocked data ''' self.config = {} self.dbc ...
1,989
2,181
<reponame>yaplej/bro<filename>src/WeirdState.h // See the file "COPYING" in the main distribution directory for copyright. #pragma once #include <string> #include <unordered_map> namespace zeek::detail { struct WeirdState { WeirdState() = default; uint64_t count = 0; double sampling_start_time = 0; }; using ...
198
331
package com.freedom.lauzy.ticktockmusic.presenter; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.support.annotation.Nullable; import android.support.v4.content.ContextCompat; import com.bumptech.glide.request.target.SimpleTarget; impor...
5,637
17,703
<filename>source/common/watchdog/abort_action.cc #include "source/common/watchdog/abort_action.h" #include "envoy/thread/thread.h" #include "source/common/common/assert.h" #include "source/common/common/fmt.h" #include "source/common/common/logger.h" #include "source/common/protobuf/utility.h" #include "source/common...
709
820
<reponame>BradleyKirton/circus import copy import textwrap import time from circus.exc import MessageError from circus.commands import errors KNOWN_COMMANDS = [] def get_commands(): commands = {} for c in KNOWN_COMMANDS: cmd = c() commands[c.name] = cmd.copy() return commands def ok(p...
1,221
13,648
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 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 w...
1,243
362
package edu.uci.ics.jung.algorithms.filters.impl; import com.google.common.collect.ImmutableSet; import com.google.common.graph.Graph; import com.google.common.graph.GraphBuilder; import com.google.common.graph.ImmutableGraph; import com.google.common.graph.MutableGraph; import edu.uci.ics.jung.algorithms.filters.KNei...
770
417
<gh_stars>100-1000 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.delbrueg.steering.wheelAngle; /** * * @author Tim */ public enum WheelAngleCalculators { /** * Just calculates the quotient of trackWidth and radius of driveCircle. * Use...
579
1,585
/* * Copyright (c) 2014 Intel, Inc. All rights reserved. * Copyright (c) 2017-2020 Amazon.com, Inc. or its affiliates. * All Rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #ifndef MCA_REACHABLE_WEIGHTED_H #define MCA_REACHABLE_WEIGHTED_H #inc...
417
28,056
<filename>src/test/java/com/alibaba/json/bvt/path/JSONPath_1.java<gh_stars>1000+ package com.alibaba.json.bvt.path; import org.junit.Assert; import com.alibaba.fastjson.JSONPath; import com.alibaba.fastjson.JSONPathException; import junit.framework.TestCase; public class JSONPath_1 extends TestCase { public vo...
491
432
/*- * Copyright (c) 2005 <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 code must retain the above copyright * notice, this list of conditions a...
3,129
461
<reponame>agnes-yang/LeetCode-Solutions-in-Good-Style public class Trie3 { private Node root; private class Node { private Node[] dict; private boolean isWord; public Node() { // 你可以假设所有的输入都是由小写字母 a-z 构成的 dict = new Node[26]; this.isWord ...
1,327
310
{ "name": "Timings", "description": "Time tracking software for the Mac.", "url": "https://www.mediaatelier.com/Timings2/" }
45
348
{"nom":"Fresnes-en-Saulnois","circ":"4ème circonscription","dpt":"Moselle","inscrits":142,"abs":71,"votants":71,"blancs":3,"nuls":0,"exp":68,"res":[{"nuance":"LR","nom":"<NAME>","voix":46},{"nuance":"REM","nom":"<NAME>","voix":22}]}
97
308
/* * Copyright 2008-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 * * Unless required by applicable law or agreed to ...
6,359
72,551
<reponame>gandhi56/swift //===--- DifferentiabilityWitnessDevirtualizer.cpp ------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See h...
802
19,824
<filename>design-system/packages/icons/icons/PhoneIncomingIcon/package.json { "main": "dist/keystone-ui-icons-icons-PhoneIncomingIcon.cjs.js", "module": "dist/keystone-ui-icons-icons-PhoneIncomingIcon.esm.js" }
79
1,706
package com.lguipeng.notes.mvp.presenters.impl; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.IntDef; import android.support.v4.view.MenuItemCompat; import android.support.v4.widget.SwipeRefreshLayout; import androi...
7,305
892
{ "schema_version": "1.2.0", "id": "GHSA-v3cg-qj8r-xhpc", "modified": "2022-04-30T18:15:28Z", "published": "2022-04-30T18:15:28Z", "aliases": [ "CVE-2001-0133" ], "details": "The web administration interface for Interscan VirusWall 3.6.x and earlier does not use encryption, which could allow remote at...
411
450
/* * 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 ...
573
974
<gh_stars>100-1000 {"$type":"DurableTask.OrchestrationRuntimeState, DurableTask","Events":[{"$type":"DurableTask.History.ExecutionStartedEvent, DurableTask","OrchestrationInstance":null,"EventType":0,"ParentInstance":{"$type":"DurableTask.ParentInstance, DurableTask","Name":"ParentName","OrchestrationInstance":{"$type"...
403
348
{"nom":"Heilly","circ":"4ème circonscription","dpt":"Somme","inscrits":326,"abs":165,"votants":161,"blancs":18,"nuls":5,"exp":138,"res":[{"nuance":"REM","nom":"<NAME>","voix":96},{"nuance":"FN","nom":"<NAME>","voix":42}]}
88
14,668
<gh_stars>1000+ // 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. #ifndef REMOTING_HOST_HOST_DETAILS_H_ #define REMOTING_HOST_HOST_DETAILS_H_ #include <string> namespace remoting { // Returns the host ...
190
370
<filename>src/xapian/api/termlist.h /** @file termlist.h * @brief Abstract base class for termlists. */ /* Copyright (C) 2007,2010,2013 <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 Foundat...
1,341
5,169
<filename>Specs/UIApplication-AppInfo/0.2/UIApplication-AppInfo.podspec.json { "name": "UIApplication-AppInfo", "version": "0.2", "license": { "type": "MIT", "file": "LICENSE.md" }, "homepage": "https://github.com/lukaskollmer/UIApplication-AppInfo", "authors": { "<NAME>": "<EMAIL>" }, "summ...
261
370
<reponame>celestehorgan/k8s.io<filename>audit/projects/k8s-infra-e2e-boskos-039/service-accounts/230053707446-compute@developer.gserviceaccount.com/description.json { "displayName": "Compute Engine default service account", "email": "<EMAIL>", "name": "projects/k8s-infra-e2e-boskos-039/serviceAccounts/<EMAIL>", ...
190
383
<reponame>robertmcnees/spring-cloud-bus<gh_stars>100-1000 /* * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www....
1,407
809
/* * LensKit, an open-source toolkit for recommender systems. * Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md) * Copyright 2010-2014 Regents of the University of Minnesota * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentati...
3,540
462
<reponame>gibbsie/cloud-inquisitor import json import logging from datetime import datetime, timedelta from cinq_auditor_required_tags.utils import s3_removal_policy_exists, s3_removal_lifecycle_policy_exists from cloud_inquisitor import get_aws_session from cloud_inquisitor.config import dbconfig from cloud_inquisito...
3,733
1,210
<filename>src/ImgProc/GameRecognize/src/TaskMgr/TaskMessage.h /* * Tencent is pleased to support the open source community by making GameAISDK available. * This source code file is licensed under the GNU General Public License Version 3. * For full details, please refer to the file "LICENSE.txt" which is provide...
980
5,964
<reponame>wenfeifei/miniblink49<gh_stars>1000+ /* * Copyright (C) 2013 University of Szeged * 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...
4,072
16,461
<filename>ios/versioned-react-native/ABI43_0_0/ReactNative/ReactCommon/react/renderer/components/picker/iospicker/ABI43_0_0primitives.h /* * 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. ...
289
832
<gh_stars>100-1000 package com.litesuits.http.parser; import com.litesuits.http.log.HttpLog; import java.io.*; /** * @author MaTianyu * @date 2015-04-26 */ public abstract class FileCacheableParser<T> extends DataParser<T> { protected File file; public FileCacheableParser() { } public FileCacheabl...
880
1,471
// // UnusedClass.h // FUI // @interface UnusedClass @end
28
348
{"nom":"Haironville","circ":"1ère circonscription","dpt":"Meuse","inscrits":476,"abs":274,"votants":202,"blancs":15,"nuls":8,"exp":179,"res":[{"nuance":"UDI","nom":"<NAME>","voix":116},{"nuance":"REM","nom":"<NAME>","voix":63}]}
89
5,169
<gh_stars>1000+ { "name": "crosswalk-extension-fingerprint", "version": "1.3", "summary": "Fingerprint extension is a Crosswalk extension which implements touchID authentication on iOS", "homepage": "https://github.com/crosswalk-project/ios-extensions-crosswalk/tree/master/extensions/Fingerprint", "license": ...
372
1,197
<filename>tests/validators/test_ipaddress.py<gh_stars>1000+ import pytest from wtforms.validators import ip_address from wtforms.validators import ValidationError @pytest.mark.parametrize("address", ["192.168.127.12", "172.16.31.10", "127.0.0.1"]) def test_ip4address_passes(address, dummy_form, dummy_field): adr...
929
351
<reponame>iszla/gountries {"name":{"common":"Kyrgyzstan","official":"Kyrgyz Republic","Native":{"kir":{"common":"Кыргызстан","official":"Кыргыз Республикасы"},"rus":{"common":"Киргизия","official":"Кыргызская Республика"}}},"EuMember":false,"LandLocked":true,"Nationality":"","tld":[".kg"],"Languages":{"kir":"Kyrgyz","r...
485
530
/* * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the...
3,053
635
<reponame>park-sungmoo/Listed-company-news-crawl-and-text-analysis from Crawler.crawler_nbd import WebCrawlFromNBD if __name__ == '__main__': web_crawl_obj = WebCrawlFromNBD(2871,10,ThreadsNum=4,IP="localhost",PORT=27017,dbName='NBD_Stock',\ collectionName="nbd_news_company") url_lst_withoutNews = w...
344
1,444
package mage.cards.c; import mage.abilities.Ability; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.Effect; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.DrawCardSourceControllerE...
734
654
from . import modules, models, utils, data
11
348
<filename>docs/data/leg-t2/053/05302030.json {"nom":"<NAME>","circ":"2ème circonscription","dpt":"Mayenne","inscrits":252,"abs":129,"votants":123,"blancs":7,"nuls":2,"exp":114,"res":[{"nuance":"LR","nom":"<NAME>","voix":60},{"nuance":"MDM","nom":"<NAME>","voix":54}]}
111
836
<gh_stars>100-1000 package cc.mallet.cluster.util; import java.io.Serializable; /** * 2-D upper-triangular matrix. Used to store pairwise affinity * scores. * * @author "<NAME>" <<EMAIL>> * @version 1.0 * @since 1.0 */ public class PairwiseMatrix implements Serializable { private static final long serialVer...
703
1,118
<reponame>harri-codes/Focus {"deu":{"common":"Südsudan","official":"Republik Südsudan"},"fin":{"common":"Etelä-Sudan","official":"Etelä-Sudanin tasavalta"},"fra":{"common":"Soudan du Sud","official":"République du Soudan du Sud"},"hrv":{"common":"Južni Sudan","official":"Republika Južni Sudan"},"ita":{"common":"Sudan d...
283
1,444
package mage.cards.p; import mage.MageInt; import mage.MageObject; import mage.ObjectColor; import mage.abilities.Ability; import mage.abilities.common.AsEntersBattlefieldAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.effects.common....
2,309
12,278
// // Copyright 2019 <NAME> <mateusz at loskot dot net> // // 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 // #include <boost/gil.hpp> #include <type_traits> namespace gil = boost::gil; int main() { static_a...
696
861
package b; import static a.C2.*; import static b.C1.*; public class C3 { public static void main(String[] args) { System.out.println(A + B); } }
88
5,169
{ "name": "UTLight", "version": "1.0.0", "summary": "Kit easing work with UTI.", "swift_version": "4.2", "description": "A kit easing work with UTI (Uniform Type Identification).", "homepage": "https://github.com/Vladlex/UTLight", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { ...
276
400
/* * * Copyright (c) 2013 - 2020 <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 agree...
602
310
<filename>src/org/jitsi/android/gui/call/CallContactFragment.java /* * 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 ...
3,479
1,144
// Copyright 2010-2021, 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 code must retain the above copyright // notice, this list of condit...
3,620
1,584
#include <math.h> #include <string.h> #include "biquad_filter.h" /** * Unit_BiquadFilter implements a second order IIR filter. Here is the equation that we use for this filter: y(n) = a0*x(n) + a1*x(n-1) + a2*x(n-2) - b1*y(n-1) - b2*y(n-2) * * @author (C) 2002 <NAME>, SoftSynth.com, All Rights R...
1,504
409
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2018, <NAME>, FU Berlin // All rights reserved. // // Redistribution and use in s...
14,052
2,023
#! /usr/bin/env python """Module providing GUI capability to prune any directory. The code presented in this module is for the purposes of: (1) ascertaining the space taken up by a directory, its files, its sub-directories, and its sub-files; (2) allowing for the removal of the sub-files, sub-directories, files, and ...
15,487
1,350
<filename>sdk/mediaservices/microsoft-azure-media/src/main/java/com/microsoft/windowsazure/services/queue/models/CreateMessageOptions.java /** * Copyright Microsoft Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
1,677
14,668
<filename>components/metrics/android_metrics_provider_unittest.cc // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/metrics/android_metrics_provider.h" #include "base/test/metrics/hi...
352
348
{"nom":"Lonny","circ":"2ème circonscription","dpt":"Ardennes","inscrits":437,"abs":257,"votants":180,"blancs":19,"nuls":7,"exp":154,"res":[{"nuance":"LR","nom":"<NAME>","voix":116},{"nuance":"REM","nom":"M. <NAME>","voix":38}]}
91
8,599
/* * Copyright 2010-2020 Alfresco Software, 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
378
613
#define RNG pcg64_oneseq_once_insecure #define TWO_ARG_INIT 0 #include "pcg-test.cpp"
39
460
<filename>mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/package-info.java /** * Utilities that can be useful with MVVM specific tasks or in general for JavaFX development. */ package de.saxsys.mvvmfx.utils;
71
5,169
<filename>Specs/4/0/7/GCSUIViewCategory/0.1.1/GCSUIViewCategory.podspec.json { "name": "GCSUIViewCategory", "version": "0.1.1", "summary": "GCSUIViewCategory.", "description": "TODO: Add long description of the pod here.GCSUIViewCategory", "homepage": "https://github.com/guochaoshun/GCSUIViewCategory", "lic...
279
303
<gh_stars>100-1000 """ test_api_api ~~~~~~~~~~~~ Tests for the :mod:`~ulid.api.api` module. """ import pytest from ulid import providers from ulid.api.api import ALL, Api @pytest.fixture(scope='function') def mock_provider(mocker): """ Fixture that yields a mock provider. """ provider = ...
1,041
662
/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2015 <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 * re...
764
716
<reponame>ioperations/orbit<gh_stars>100-1000 // Copyright (c) 2021 The Orbit 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 "PdbFileLlvm.h" #include "PdbFileTest.h" using orbit_object_utils::PdbFileLlvm; INSTANTIATE_TYPE...
147
1,056
<filename>enterprise/j2ee.ejbcore/src/org/netbeans/modules/j2ee/ejbcore/api/methodcontroller/SessionMethodController.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...
1,632
1,602
# Generated by Django 1.11.18 on 2019-07-05 08:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0016_auto_20180713_1014'), ] operations = [ migrations.AlterField( model_name='log', name='message', ...
470
364
/* * Copyright 2014-2019 <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) */ //[oglplus_texture_subtype template <> struct __ObjectSubtype<__tag_Texture> { using Type = __TextureTarget; }; //] //[...
16,106
12,278
// Copyright <NAME> (<EMAIL>) 2010. // 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) #include <boost/metaparse/util/in_range.hpp> #include "common.hpp" #include <boost/mpl/apply_wrap.hpp> #include <...
398
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.autofill_assistant.header; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; impor...
8,783
600
<filename>zfs/pool.py import os.path from typing import List from typing import Union from typing import overload from . import constants from . import objectset from . import readcontext from . import datasets from . import vdevs from . import posix def vdev_list_to_dict(vdevs): d = {} for v in vdevs: ...
1,587
7,482
/** * \file * * \brief SAM DMA cyclic redundancy check (CRC) Driver * * Copyright (C) 2014-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
2,327
351
<reponame>taomujian/linbing<gh_stars>100-1000 #!/usr/bin/env python3 from app.lib.utils.request import request from app.lib.utils.common import get_useragent class Metinfo_Anyfile_Read_BaseVerify: def __init__(self, url): self.info = { 'name': 'Metinfo任意文件读取漏洞', 'description': 'Met...
934
1,838
/* * Copyright 2005-2019 Dozer 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 applicable law or ag...
639
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
1,323
640
/* Graphics functions requiring some of the LIB3D Extensions ellipse( cx, cy, startangle, endangle, xradius, yradius) Draw an ellipse arc delimited by 'startangle' and 'endangle', specified in degrees. $Id: ellipse.c,v 1.3 2013-10-09 06:10:33 stefano Exp $ */ #include <graphics.h> #include <lib3d.h...
277
357
/* * * PsychToolbox3/Source/Windows/Base/PsychTimeGlue.c * * AUTHORS: * * <EMAIL> mk * * PLATFORMS: * * Win32 only * * PROJECTS: * * All. * * HISTORY: * * 1/20/03 awi Wrote it for OS/X. * 1/03/09 mk Add generic Mutex locking support as service t...
30,942
1,687
<filename>11-Binary-Tree/1-Basic/0129-sum-root-to-leaf-numbers/src/Solution.java import java.util.ArrayList; import java.util.List; public class Solution { private List<String> res = new ArrayList<>(); private void sumNumbers(TreeNode node, String path) { if (node == null) { re...
504
383
from multiprocessing import Pool import time import numpy as np import torch import gym from lagom import Logger from lagom import EpisodeRunner from lagom.transform import describe from lagom.utils import CloudpickleWrapper from lagom.utils import pickle_dump from lagom.utils import tensorify from lagom.utils import ...
1,881
304
/* * Copyright 2019-2021 CloudNetService team & contributors * * 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...
3,169
1,652
package com.ctrip.xpipe.redis.checker.healthcheck.actions.interaction.handler; import com.ctrip.xpipe.redis.checker.healthcheck.actions.interaction.event.AbstractInstanceEvent; /** * @author chen.zhu * <p> * Sep 18, 2018 */ public interface HealthEventHandler { void handle(AbstractInstanceEvent event); ...
115
990
<filename>src/Antispy/SpyHunter/SpyHunter/FindWindow.h /* * Copyright (c) [2010-2019] <EMAIL> rights reserved. * * AntiSpy is licensed under the Mulan PSL v1. * You can use this software according to the terms and conditions of the Mulan PSL v1. * You may obtain a copy of Mulan PSL v1 at: * * http:/...
624