max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,151
<filename>third_party/mockito/src/src/main/java/org/mockito/internal/progress/MockingProgressImpl.java /* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.progress; import static org.mockito.internal.exceptions.Reporter.u...
1,960
679
<reponame>Grosskopf/openoffice /************************************************************** * * 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...
602
660
/* * Copyright (c) 2018, Intel Corporation * * 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, publis...
805
920
<gh_stars>100-1000 /* * The Dragonite Project * ------------------------- * See the LICENSE file in the root directory for license information. */ package com.vecsight.dragonite.sdk.socket; public class MessageStat { private boolean exist = false; private long RTT; private boolean resended; p...
481
523
<gh_stars>100-1000 // Copyright <NAME> 2021. // 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) #if !defined(CNL_FIXED_POINT_H) #define CNL_FIXED_POINT_H #include "integer.h" /// composit...
268
435
package org.uma.jmetal.problem.multiobjective; import org.uma.jmetal.problem.binaryproblem.impl.AbstractBinaryProblem; import org.uma.jmetal.solution.binarysolution.BinarySolution; import org.uma.jmetal.solution.binarysolution.impl.DefaultBinarySolution; import org.uma.jmetal.util.errorchecking.JMetalException; impor...
686
2,542
<reponame>gridgentoo/ServiceFabricAzure<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // -------------------------------------...
626
984
package me.loda.spring.specification; /******************************************************* * For Vietnamese readers: * Các bạn thân mến, mình rất vui nếu project này giúp * ích được cho các bạn trong việc học tập và công việc. Nếu * bạn sử dụng lại toàn bộ hoặc một phần source code xin để * lại dường dẫn...
874
745
import json from .oauth import OAuth2Test class StripeOAuth2Test(OAuth2Test): backend_path = 'social_core.backends.stripe.StripeOAuth2' access_token_body = json.dumps({ 'stripe_publishable_key': 'pk_test_foobar', 'access_token': 'foobar', 'livemode': False, 'token_type': 'bear...
285
984
/* * Copyright DataStax, 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 wri...
7,980
423
package io.scalecube.services.examples; public class EmptyGreetingRequest {}
24
482
from common_fixtures import * # NOQA import base64 import json from cattle import ApiError @pytest.fixture(scope='module') def host(super_client, context): return super_client.reload(context.host) @pytest.fixture(scope='module') def agent_cli(context): return context.agent_client def test_host_api_proxy_...
436
342
<filename>src/gnu/diffutils/cmp.c /* cmp -- compare two files. Copyright (C) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc. 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; ei...
5,681
365
<filename>source/blender/blenkernel/intern/tracking_plane_tracker.c /* * 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 License, or (at your option) any later versio...
3,685
677
<gh_stars>100-1000 /* * Copyright (c) 2020 Bitdefender * SPDX-License-Identifier: Apache-2.0 */ #include "hviface.h" #include "asmlib.h" #include "cpu.h" // // HvRaiseEpt // DWORD HvRaiseEpt( void ) { QWORD rax, rbx, rcx, rdx, rdi, rsi; rax = VE_VMCALL_OP; rdi = VE_VMCALL_SUBOP; rsi = 0; ...
619
14,668
<gh_stars>1000+ import imp import os from wptserve.utils import isomorphic_decode here = os.path.dirname(os.path.abspath(isomorphic_decode(__file__))) def main(request, response): auth = imp.load_source(u"", os.path.join(here, u"..", ...
204
590
# coding: utf-8 import random import unittest from algorithms.searching.linear_search import linear_search class TestCase(unittest.TestCase): def test(self): array = [random.randint(-100, 100) for i in range(10000)] target = random.choice(array) expected = array.index(target) self...
310
1,083
<filename>include/polarphp/basic/RelativePointer.h //===--- RelativePointer.h - Relative Pointer Support -----------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runt...
7,193
3,039
<gh_stars>1000+ /* $Id: types.c 231 2011-06-27 13:46:19Z marc.noirot $ FLV Metadata updater Copyright (C) 2007-2012 <NAME> <<EMAIL> AT <EMAIL>> This file is part of FLVMeta. FLVMeta is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
1,129
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Monfaucon","circ":"2ème circonscription","dpt":"Dordogne","inscrits":256,"abs":148,"votants":108,"blancs":8,"nuls":2,"exp":98,"res":[{"nuance":"REM","nom":"<NAME>","voix":63},{"nuance":"FN","nom":"M. <NAME>","voix":35}]}
112
360
// // gradient.h // C-Ray // // Created by <NAME> on 19/12/2020. // Copyright © 2020 <NAME>. All rights reserved. // #pragma once const struct colorNode *newGradientTexture(const struct world *world, struct color down, struct color up);
79
1,402
<reponame>kvmanohar22/gtsam /* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: <NAME>, et al. (see THANKS for the full author list) * See LICENSE for the license ...
1,967
9,402
<reponame>pyracanda/runtime // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include "stdafx.h" #include "yieldprocessornormalized.h" bool YieldProcessorNormalization::s_isMeasurementScheduled; // Defaults are for when normaliza...
228
788
/* * 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 ...
544
933
<reponame>proton-vayu/android_external_perfetto<filename>include/perfetto/tracing/string_helpers.h /* * Copyright (C) 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 o...
912
393
package com.marverenic.music.ui.nowplaying; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.os.Build; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.con...
1,632
7,073
class O: def __init__(self, n): self.n = n def __str__(self): return self.n object = O('Hello! ' * 100)
53
806
package com.evenwell.powersaving.g3.powersaver; import android.os.Binder; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; public interface IStatusChangeListener extends IInterface { public static abstract class Stub extends Binder implements I...
1,308
1,476
int main(void) { if (!__func__) return 1; if (!(*__func__)) return 1; return 0; }
44
407
<reponame>dartartem/eventuate-tram-reactive-examples-customers-and-orders package io.eventuate.examples.tram.ordersandcustomers.orders.domain.events; public class OrderCancelledEvent implements OrderEvent { private OrderDetails orderDetails; public OrderCancelledEvent() { } public OrderCancelledEvent(OrderD...
140
3,931
<reponame>jellisgwn/DependencyCheck<filename>core/src/main/java/org/owasp/dependencycheck/analyzer/ElixirMixAuditAnalyzer.java /* * This file is part of dependency-check-core. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
4,213
682
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // 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, inc...
5,826
2,996
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.logic.common; import com.google.common.collect.Sets; import org.terasology.engine.network.Replicate; import org.terasology.gestalt.entitysystem.component.Component; import java.util.Set; /** * This compo...
293
831
/* * Copyright (C) 2018 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...
525
310
{ "name": "Skyline S5", "description": "A sewing machine.", "url": "https://www.janome.com/machines/sewing/skyline--s5/" }
53
1,224
#include <limits.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "luksan.h" #define MAX2(a,b) ((a) > (b) ? (a) : (b)) #define MIN2(a,b) ((a) < (b) ? (a) : (b)) /* Table of constant values */ static double c_b7 = 0.; /* *********************************************************************** */ ...
10,431
521
<reponame>kensho-technologies/graphql-compiler # Copyright 2019-present Kensho Technologies, LLC. from copy import copy from dataclasses import dataclass from typing import FrozenSet, List, Optional, Tuple, cast from graphql import print_ast from graphql.language.ast import ( ArgumentNode, DirectiveNode, D...
5,256
1,281
<filename>pytorch_toolbelt/modules/encoders/timm/resnet.py<gh_stars>1000+ from collections import OrderedDict from typing import List import torch from torch import nn from .common import GenericTimmEncoder from ..common import EncoderModule, make_n_channel_input __all__ = [ "SKResNet18Encoder", "SKResNeXt50...
3,366
815
<gh_stars>100-1000 /*========================================================================= Program: ParaView Module: pqEditScalarBarReaction.cxx Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it u...
988
446
"""The neuralmonkey package is the root package of this project."""
16
2,134
<gh_stars>1000+ /* Copyright (c) 2013 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. */ #include "ftnoir_tracker_linux_joystick...
992
439
package org.allenai.scienceparse.pdfapi; import lombok.Data; import lombok.val; import java.util.concurrent.ConcurrentHashMap; @Data public class PDFFontMetrics { private static final ConcurrentHashMap<String, PDFFontMetrics> canonical = new ConcurrentHashMap<>(); /** * The special value for when the unde...
344
898
<filename>cocos2d/cocos/audio/android/jni/cddandroidAndroidJavaEngine.cpp /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2017 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any ...
3,171
965
CDHtmlDialog mydialog(IDD_MYDHTMLDLG); TCHAR szResID[] = _T("HTML_PAGE"); mydialog.m_szHtmlResID = szResID; mydialog.DoModal();
62
835
/* * Copyright (C) 2015 Twitter, 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 agr...
656
10,225
package io.quarkus.spring.data.deployment.generate; import java.util.List; import java.util.Map; import java.util.function.Consumer; import org.jboss.jandex.ClassInfo; import org.jboss.jandex.DotName; import org.jboss.jandex.IndexView; import org.jboss.jandex.MethodInfo; import io.quarkus.gizmo.ClassCreator; import ...
1,738
1,150
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
3,304
945
/* * 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,112
1,350
<reponame>archeuclid/sbt-native-packager class WithIgnore { public WithIgnore() { new foo.Foo(); } }
47
471
package com.dtflys.forest.backend.httpclient.response; import com.dtflys.forest.handler.LifeCycleHandler; import com.dtflys.forest.http.ForestRequest; import com.dtflys.forest.utils.ForestProgress; import org.apache.http.Header; import org.apache.http.HttpEntity; import java.io.*; public class HttpclientEntity imple...
1,653
5,169
{ "name": "HeziSDK", "version": "1.2.1", "license": "MIT", "summary": "活动盒子SDK", "homepage": "http://www.huodonghezi.com", "authors": { "mcmore": "<EMAIL>" }, "source": { "git": "https://github.com/mcmore/hezi-sdk-for-ios.git", "tag": "1.2.1" }, "requires_arc": true, "platforms": { ...
249
809
/** * @file * @brief fnmatch_function, now working with two flags - FNM_MATCH and FNM_PATHNAME * @date 20.12.18 * @author <NAME> */ #include <stdlib.h> #include <string.h> #include <errno.h> #include <fnmatch.h> static int bracket_check(const char *pattern) { while (*pattern != ']') { if (*pattern == '/') { ...
1,008
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once #define MEMORY_S...
1,063
2,151
/* Copyright 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. */ #ifndef PPAPI_SIMPLE_PS_MAIN_H_ #define PPAPI_SIMPLE_PS_MAIN_H_ #include "ppapi_simple/ps.h" #include "ppapi_simple/ps_event.h" EXTERN_C_BEGIN typed...
361
4,573
<reponame>compose-x/troposphere<filename>examples/WaitObject.py # Converted from WaitObject.template located at: # http://aws.amazon.com/cloudformation/aws-cloudformation-templates/ from troposphere import GetAtt, Output, Ref, Template from troposphere.cloudformation import WaitCondition, WaitConditionHandle t = Temp...
523
486
#ifndef CUBERT_BERTMGPU_H #define CUBERT_BERTMGPU_H #include <vector> #include <string> #include <atomic> #include <mutex> #include "cuBERT.h" #include "cuBERT/Bert.h" #include "cuBERT/tensorflow/Graph.h" namespace cuBERT { template <typename T> class BertM { public: explicit BertM(const char *mo...
769
1,761
<filename>scripts/examples/OpenMV/10-Color-Tracking/multi_color_blob_tracking.py<gh_stars>1000+ # Multi Color Blob Tracking Example # # This example shows off multi color blob tracking using the OpenMV Cam. import sensor, image, time, math # Color Tracking Thresholds (L Min, L Max, A Min, A Max, B Min, B Max) # The b...
789
892
{ "schema_version": "1.2.0", "id": "GHSA-p674-c6w9-wwgg", "modified": "2022-04-30T18:11:21Z", "published": "2022-04-30T18:11:21Z", "aliases": [ "CVE-1999-0862" ], "details": "Insecure directory permissions in RPM distribution for PostgreSQL allows local users to gain privileges by reading a plaintext ...
265
4,868
<reponame>cjkall/parking-system package com.cf.chat.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.io.Serializable; @Data @...
246
335
<filename>P/Proliferation.json { "word": "Proliferation", "definitions": [ "the growth or production of cells by multiplication of parts.", "a rapid and often excessive spread or increase." ], "parts-of-speech": "Noun" }
88
343
// Copyright 2013 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...
809
354
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
5,906
2,092
<reponame>nabladev/ohmyform<filename>docker/nginx/start.py #!/usr/bin/python import os import subprocess #Set default port if not os.environ["PORT"]: os.environ["PORT"] = "5000" #Set default sockets port if not os.environ["SOCKET_PORT"]: os.environ["SOCKET_PORT"] = "20523" # Actual startup script if not os.path.e...
386
561
/// Copyright 2021 Pinterest 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 t...
504
1,819
<reponame>fakeNetflix/square-repo-mortar /* * Copyright 2013 Square 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...
395
1,521
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 <NAME>, 2017-2021 Ta4j Organization & respective * authors (see AUTHORS) * * 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 with...
1,310
312
#include <occa/defines.hpp> #ifndef OCCA_INTERNAL_MODES_HIP_POLYFILL_HEADER #define OCCA_INTERNAL_MODES_HIP_POLYFILL_HEADER #if OCCA_HIP_ENABLED # include <hip/hip_runtime_api.h> #else #include <sys/types.h> #undef minor #undef major // Wrap in the occa namespace so as long as we don't use ::hipModule_t, the t...
3,850
348
{"nom":"Morganx","circ":"3ème circonscription","dpt":"Landes","inscrits":163,"abs":50,"votants":113,"blancs":6,"nuls":3,"exp":104,"res":[{"nuance":"SOC","nom":"<NAME>","voix":59},{"nuance":"REM","nom":"<NAME>","voix":45}]}
88
11,356
#ifndef BOOST_CONTRACT_DETAIL_NONE_HPP_ #define BOOST_CONTRACT_DETAIL_NONE_HPP_ // Copyright (C) 2008-2018 <NAME> // Distributed under the Boost Software License, Version 1.0 (see accompanying // file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt). // See: http://www.boost.org/doc/libs/release/lib...
308
1,553
import logging import re import sys import ssl from copy import deepcopy from time import sleep from collections import OrderedDict from requests.sessions import Session from requests.adapters import HTTPAdapter from requests.packages.urllib3.util.ssl_ import create_urllib3_context from .interpreters import JavaScri...
4,943
451
<reponame>kikislater/micmac /*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...
5,452
575
/* * Copyright (C) 2012, 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
6,028
1,968
<gh_stars>1000+ ////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: <EMAIL> // ///////////////////////...
270
1,273
package org.broadinstitute.hellbender.utils.genotyper; import org.broadinstitute.hellbender.utils.collections.IndexedSet; import java.util.Collection; /** * Simple implementation of a sample-list using an indexed-set. * * @author <NAME> &lt;<EMAIL>&gt; */ public final class IndexedSampleList implements SampleLis...
772
375
<reponame>obrienben/openwayback<filename>wayback-core/src/main/java/org/archive/wayback/resourcestore/locationdb/ResourceFileLocationDBUpdater.java /* * This file is part of the Wayback archival access software * (http://archive-access.sourceforge.net/projects/wayback/). * * Licensed to the Internet Archive (IA...
2,263
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...
3,034
605
<gh_stars>100-1000 //===-- atof_fuzz.cpp -----------------------------------------------------===// // // 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 // //===--------...
349
2,695
// Copyright (C) 2010 <NAME> (<EMAIL>) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_AnY_TRAINER_H_ #define DLIB_AnY_TRAINER_H_ #include "any.h" #include "../smart_pointers.h" #include "any_decision_function.h" #include "any_trainer_abstract.h" #include <vector> namespace ...
2,716
397
<reponame>spatric5/robosuite<gh_stars>100-1000 from .objects import MujocoObject, MujocoXMLObject, MujocoGeneratedObject from .generated_objects import CompositeBodyObject, CompositeObject, PrimitiveObject from .xml_objects import ( BottleObject, CanObject, LemonObject, MilkObject, BreadObject, ...
208
766
/* * Copyright 2019 <NAME> * * See LICENCE for the full copyright terms. */ #include <assert.h> #include <stddef.h> #include <string.h> #include <stdio.h> /* If non-zero, use an experimental edge_set implementation * that collects edges leading to the same set in a group * and uses bitflags for individual label...
20,138
4,612
<filename>SCRAPE/Lib/site-packages/twisted/test/process_cmdline.py """ Write to stdout the command line args it received, one per line. """ import sys for x in sys.argv[1:]: print(x)
70
1,540
package test.testng109; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; /** This class/interface */ public class SkippedTestWithExpectedExceptionTest { @BeforeClass public void setup() { throw new RuntimeException("test-exception"); } @Test public void test1() { // ...
143
348
/* * Copyright 2010-2021 Australian Signals Directorate * * 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...
3,242
852
<reponame>ckamtsikis/cmssw // to see it compile #include "CondFormats/CastorObjects/interface/CastorPedestalWidths.h"
47
3,643
package io.vertx.example.core.execblocking; import io.vertx.core.DeploymentOptions; import io.vertx.example.util.Runner; /* * @author <a href="http://tfox.org"><NAME></a> */ public class ExecBlockingDedicatedPoolExample { // Convenience method so you can run it in your IDE public static void main(String[] args...
188
1,178
# Copyright 2020 Makani Technologies LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
1,230
1,531
package com.sleekbyte.tailor.grammar; import static org.junit.Assert.assertThat; import com.sleekbyte.tailor.Tailor; import org.hamcrest.text.IsEmptyString; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import j...
654
14,668
<filename>chrome/browser/ash/policy/reporting/arc_app_install_event_log_manager.h // 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 CHROME_BROWSER_ASH_POLICY_REPORTING_ARC_APP_INSTALL_EVENT_LOG_MA...
1,546
380
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.model.clientinfo; import org.gluu.oxauth.model.error.IErrorType; /** * @author <NAME> Date: 07.19.2012 */ public enum ClientInfoErrorResponseType ...
431
310
{ "name": "Hot Rod Deville III 410", "description": "A guitar amp.", "url": "https://www.fender.com/guitar-amplifiers/contemporary/hot-rod-deville-iii-410/2230100000.html" }
69
864
/********************************************************************************************************************** This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich. Licensed under the BSD-2 license (see LICENSE file in main directory) ****************...
1,328
3,508
<reponame>Anshul1507/Leetcode package com.fishercoder.solutions; import java.util.HashMap; import java.util.Map; public class _677 { public static class Solution1 { public static class MapSum { Map<String, Integer> map; /** * Initialize your data structure here. ...
475
348
{"nom":"Rhinau","circ":"5ème circonscription","dpt":"Bas-Rhin","inscrits":2197,"abs":1434,"votants":763,"blancs":63,"nuls":22,"exp":678,"res":[{"nuance":"LR","nom":"<NAME>","voix":342},{"nuance":"REG","nom":"<NAME>","voix":336}]}
92
3,172
# Third party code # # The following code are copied or modified from: # https://github.com/ray-project/ray/blob/master/python/ray/rllib/utils/filter.py import numpy as np class SharedNoiseTable(object): """Shared noise table used by learner and actor. Learner and actor will create a same noise table by pas...
363
708
from __future__ import division import numpy as np import scipy as sp import pylab as py import random from scipy.cluster.vq import kmeans2,whiten ''' the scipy contain a kmeans,so there is no need to write one bu for the convenience of using,I pack it with my code I don't know how to translate the input space to w...
715
14,668
<filename>media/midi/message_util.h<gh_stars>1000+ // 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 MEDIA_MIDI_MESSAGE_UTIL_H_ #define MEDIA_MIDI_MESSAGE_UTIL_H_ #include <stddef.h> #include <st...
598
390
/* * Copyright 2021 <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 writing, ...
514
369
<filename>module-gui/gui/widgets/status-bar/Lock.cpp // Copyright (c) 2017-2021, Mudita <NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "Lock.hpp" #include "Style.hpp" namespace gui::status_bar { constexpr auto lock = "locked_status"; Lock::Lock(I...
195
575
// 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. #ifndef CHROME_BROWSER_AUTOFILL_MOCK_ADDRESS_ACCESSORY_CONTROLLER_H_ #define CHROME_BROWSER_AUTOFILL_MOCK_ADDRESS_ACCESSORY_CONTROLLER_H_ #include "base/...
708
367
# This module has an external summary
8