max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
828
<filename>hasor-core/src/main/java/net/hasor/core/MethodInterceptor.java /* * Copyright 2008-2009 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 * * ...
595
4,071
<reponame>Ru-Xiang/x-deeplearning<filename>xdl/test/python/unit_test/ps_ops/test_ps_dense_apply_ftrl_op.py # Copyright 2018 Alibaba Group. 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 o...
830
1,653
<gh_stars>1000+ package org.ibase4j.service; import org.ibase4j.model.SysEmailTemplate; import top.ibase4j.core.base.BaseService; /** * @author ShenHuaJie * */ public interface SysEmailTemplateService extends BaseService<SysEmailTemplate> { }
101
1,056
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
1,833
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. #include "third_party/blink/renderer/core/dom/computed_accessible_node.h" #include <stdint.h> #include <utility> #include "third_party/blink/public/plat...
4,403
412
#include <assert.h> typedef void (*fp_t)(void); void f() { } void g() { } int main(void) { fp_t fp = f; fp_t decoy_fp = g; fp_t *ptr_to_func_ptr = &fp; // a pointer to a function pointer (*ptr_to_func_ptr)(); }
111
445
<filename>Applications/LogisticRegression/src/objective/objective.cpp #include "objective/objective.h" #include <math.h> #include "util/common.h" #include "util/log.h" #include "objective/sigmoid_objective.h" #include "objective/softmax_objective.h" #include "objective/ftrl_objective.h" #include "multiverso/multive...
4,371
5,937
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //----------------------------------------------------------------------------- // // // Description: // Con...
4,911
648
<reponame>swrobel/fhir {"resourceType":"DataElement","id":"Coverage.grouping.subGroupDisplay","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/Coverage.grouping.subGroupDisplay","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"Coverage.gr...
181
615
<filename>src/main/java/org/byron4j/cookbook/javacore/dynamicproxy/jdkproxy/Hello.java package org.byron4j.cookbook.javacore.dynamicproxy.jdkproxy; public interface Hello { @DynamicAnno public void sayHello(); }
94
782
/*////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2020 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 restric...
3,128
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,516
2,828
/** * 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...
756
7,737
#ifdef HAVE_CONFIG_H #include "../../../ext_config.h" #endif #include <php.h> #include "../../../php_ext.h" #include "../../../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/object.h" #include "kernel/operators.h"...
769
348
<gh_stars>100-1000 {"nom":"Falleron","circ":"1ère circonscription","dpt":"Vendée","inscrits":1150,"abs":661,"votants":489,"blancs":20,"nuls":13,"exp":456,"res":[{"nuance":"LR","nom":"<NAME>","voix":276},{"nuance":"MDM","nom":"<NAME>","voix":180}]}
99
2,828
package com.lzx.demo.adapter; import android.content.Context; import android.util.Log; import android.widget.ImageView; import android.widget.TextView; import com.github.jdsjlzx.interfaces.OnLoadMoreListener; import com.github.jdsjlzx.recyclerview.LuRecyclerView; import com.lzx.demo.R; import com.lzx.demo.base.BaseMu...
3,831
808
<gh_stars>100-1000 /* * Copyright 2017 dmfs GmbH * * 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 ...
2,957
347
package org.ovirt.engine.core.vdsbroker; import javax.inject.Singleton; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.core.di.Injector; @Singleton public class VdsManagerFactory { public VdsManager create(VDS vds, ResourceManager resourceManager) { // we need to pass ...
192
2,542
<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. // ------------------------------------------------------------ #pragma once ...
166
326
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
2,805
1,755
/****************************************************************************** * Project: PROJ.4 * Purpose: Implementation of the pj_ctx_* file api, and the default stdio * based implementation. * Author: <NAME>, <EMAIL> * ****************************************************************************...
3,040
2,073
package org.pac4j.saml.profile.api; import org.opensaml.saml.common.SAMLObject; import org.pac4j.saml.context.SAML2MessageContext; /** * Sends a SAML object to the context given. * @author <NAME> * @since 1.7 */ @FunctionalInterface public interface SAML2MessageSender<T extends SAMLObject> { void sendMessage(...
170
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 namespace Reliab...
3,536
777
// Copyright 2016 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.base.test; import android.os.Bundle; import org.chromium.base.multidex.ChromiumMultiDexInstaller; import org.chromium.base.test.uti...
421
1,682
<filename>restli-server/src/test/java/com/linkedin/restli/server/RestLiTestHelper.java /* Copyright (c) 2012 LinkedIn Corp. 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:/...
491
372
<reponame>CreativeWurks/emailerpro<filename>colossus/apps/core/tests/test_views.py from django.urls import resolve, reverse from colossus.apps.core import views from colossus.test.testcases import AuthenticatedTestCase, TestCase class CoreLoginRequiredTests(TestCase): """ Test if all the urls from core's app...
538
7,018
/* Tencent is pleased to support the open source community by making Hippy available. * Copyright (C) 2018 THL A29 Limited, a Tencent company. 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...
530
848
// This is a script to convert float prototxt to the fix prototxt. // Usage: // convert_float2fix float_prototxt_in fix_prototxt_out // Function: // 1) Convolution -> ConvolutionFixed or ConvoluitonBNFixed // 2) Convolution + BatchNorm -> ConvolutionBNFixed // 3) Convolution + BatchNorm + Scale -> Convoluti...
1,432
545
/* * 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,237
716
// // Copyright (c) 2019 CNRS INRIA // #ifndef __pinocchio_algorithm_model_hpp__ #define __pinocchio_algorithm_model_hpp__ #include "pinocchio/multibody/model.hpp" #include "pinocchio/multibody/geometry.hpp" namespace pinocchio { /** * \brief Append a child model into a parent model, after a specific frame giv...
3,071
440
{ "name": "socket", "version": "1.9.1", "description": "Robust Go and Javascript Socket Library", "main": "gulpfile.js", "dependencies": { "gulp": "^3.9.0", "gulp-file-include": "^0.9.0", "gulp-if": "^1.2.5", "gulp-sourcemaps": "^1.5.2", "gulp-uglify": "^1.2.0" }, "devDependencies": {}...
213
513
<reponame>trajano/google-fonts<gh_stars>100-1000 { "family": "Literata", "variants": [ "200", "300", "regular", "500", "600", "700", "800", "900", "200italic", "300italic", "italic", "500italic", "600italic", "700italic", "800italic", "900italic" ], ...
1,566
834
<reponame>BohdanMosiyuk/samples #using <System.Drawing.dll> #using <System.dll> #using <System.Windows.Forms.dll> using namespace System::Windows::Forms; public ref class Form1: public System::Windows::Forms::Form { public: Form1() : Form() { //This call is required by the Windows Form Desig...
921
472
from mmcv.utils import Registry DATA_CONVERTERS = Registry('data_converters') def build_data_converter(cfg): """Build data converter.""" return DATA_CONVERTERS.build(cfg)
62
748
<gh_stars>100-1000 from pyrival.BitArray import * def test_BitArray(): array = BitArray(262144) for i in range(262144): assert array[i] == 0 array[i] = 1 assert array[i] == 1 for i in range(262144): assert array[i] == 1 array[i] = 0 assert array[i] == 0
150
3,269
<reponame>jaiskid/LeetCode-Solutions<filename>C++/ugly-number-iii.cpp // Time: O(logn) // Space: O(1) class Solution { public: int nthUglyNumber(int n, int a, int b, int c) { int64_t lcm_a_b = lcm(a, b), lcm_b_c = lcm(b, c), lcm_c_a = lcm(c, a); int64_t lcm_a_b_c = lcm(lcm_a_b, lcm_b_c); i...
796
4,372
<reponame>Trydamere/shardingsphere /* * 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, Versi...
606
3,073
#!/usr/bin/env python import os import re import socket from vendor.munin import MuninPlugin worker_re = re.compile(r'^(?P<fd>\d+) (?P<ip>[\d\.]+) (?P<client_id>[^\s]+) :\s?(?P<abilities>.*)$') class MuninGearmanPlugin(MuninPlugin): category = "Gearman" def __init__(self): super(MuninGearmanPlugin, ...
973
368
<gh_stars>100-1000 package ezvcard.io; import ezvcard.VCardDataType; import ezvcard.VCardVersion; import ezvcard.io.scribe.VCardPropertyScribe; import ezvcard.io.text.WriteContext; import ezvcard.parameter.VCardParameters; import ezvcard.property.VCardProperty; /* Copyright (c) 2012-2021, <NAME> All rights reserved...
756
2,542
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #include "stdafx.h" using Common::ComUtility; using namespace Common; using namespace Api; usin...
268
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount */ #import <AppleAccount/AARequest.h> @interface AAURLConfigurationRequest : AARequest { } + (Class)responseClass; // 0x7bd1 - (id)urlString; // 0x7bed @end
118
372
<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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software ...
4,579
2,333
/* * Copyright 2012 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
407
3,266
#!/usr/bin/env python # -*- coding: utf-8 -*- # java2python.compiler.visitor -> Base classes for walking ASTs. # # This module defines classes that accept nodes during AST walking. These # classes are the primary source of the language translation semantics as # implemented by java2python. # # These classes implement ...
16,487
647
<filename>test/SIM_test_icg_file_skipped/models/Bar.hh<gh_stars>100-1000 // @trick_parse{everything} #include "Foo.hh" #include "trick/memorymanager_c_intf.h" class Bar { public: Foo foo; int o; Bar():o(777){} int test_bar_member_o_correct_offset() { char ref_name[] = "testfsSimObject.bar...
254
561
<reponame>ddesmond/gaffer ########################################################################## # # Copyright (c) 2020, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # ...
3,508
1,826
package com.vladsch.flexmark.util.ast; import com.vladsch.flexmark.util.misc.BitField; import com.vladsch.flexmark.util.misc.BitFieldSet; import com.vladsch.flexmark.util.sequence.BasedSequence; import com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder; public interface TextContainer { enum Flags impleme...
889
1,006
<reponame>eenurkka/incubator-nuttx /**************************************************************************** * arch/arm/src/armv7-r/arm_prefetchabort.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for ...
584
32,544
package com.baeldung.batch.understanding.exception; import javax.batch.api.chunk.listener.RetryWriteListener; import javax.inject.Named; import java.util.List; @Named public class MyRetryWriteListener implements RetryWriteListener { @Override public void onRetryWriteException(List<Object> items, Exception ex)...
115
707
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package edu.wpi.first.wpilibj.shuffleboard; /** * The types of layouts bundled with Shuffleboard. * * <pre>{@code *...
711
808
<gh_stars>100-1000 // Copyright (c) 2020 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 //...
1,739
777
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/memory/memory_monitor_chromeos.h" #include "content/browser/memory/test_memory_monitor.h" #include "testing/gtest/include/g...
743
32,544
package com.baeldung.hibernate.persistmaps; import com.baeldung.hibernate.HibernateUtil; import com.baeldung.hibernate.Strategy; import com.baeldung.hibernate.persistmaps.mapkey.Item; import com.baeldung.hibernate.persistmaps.mapkeyenumerated.Order; import org.hibernate.Session; import org.hibernate.SessionFactory; im...
1,103
351
#!/usr/bin/env python3 from app.lib.utils.request import request from app.lib.utils.encode import urlencode, base64encode from app.lib.utils.common import get_capta, filter_str, get_useragent class S2_009_BaseVerify: def __init__(self, url): self.info = { 'name': 'Struts2 S2-009漏洞,又名CVE-2011-3...
1,117
1,652
package com.ctrip.xpipe.redis.core.monitor; import java.util.concurrent.atomic.AtomicInteger; public abstract class AbstractInstantaneousMetric implements InstantaneousMetric { private static final int STATS_METRIC_SAMPLES = 16; private final int statsMetricSamples; private final static long INIT_STATE...
586
1,186
/* * Licensed to ObjectStyle LLC under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ObjectStyle LLC licenses * this file to you under the Apache License, Version 2.0 (the * "License"); you may not u...
6,863
362
<filename>src/agent/container/container_status.cc // Copyright (c) 2016, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "container_status.h" #include <assert.h> namespace baidu { namespace galaxy { namespace container...
2,470
4,537
<reponame>Hulihrach/RoadDetector<filename>selim_sef-solution/lucid/recipes/activation_atlas/render.py<gh_stars>1000+ # Copyright 2018 The Lucid 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 o...
2,777
348
{"nom":"Celsoy","circ":"1ère circonscription","dpt":"Haute-Marne","inscrits":96,"abs":49,"votants":47,"blancs":3,"nuls":1,"exp":43,"res":[{"nuance":"REM","nom":"<NAME>","voix":22},{"nuance":"LR","nom":"<NAME>","voix":21}]}
91
416
package org.simpleflatmapper.datastax.impl.setter; import com.datastax.driver.core.SettableByIndexData; import org.simpleflatmapper.reflect.Setter; import java.util.Set; public class SetSettableDataSetter<E> implements Setter<SettableByIndexData<?>, Set<E>> { private final int index; public SetSettableDataS...
253
928
<filename>source/reflect/include/reflect/reflect_type_id.h<gh_stars>100-1000 /* * Reflect Library by Parra Studios * A library for provide reflection and metadata representation. * * Copyright (C) 2016 - 2021 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use t...
1,940
436
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <signal.h> #include <strings.h> #include <sys/errno.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/un.h> pid_t child_pid; void done () { fprintf(stderr, "Close connection\n"); kill(child_pid, SIGTERM); exit(0); } int set...
1,295
2,273
{ "name": "itsy-bitsy-data-structures", "version": "1.0.0", "author": "<NAME> <<EMAIL>> (<EMAIL>)", "license": "CC-BY-4.0", "main": "./itsy-bitsy-data-structures.js" }
84
757
<reponame>suguru03/promise-it-wont-hurt<gh_stars>100-1000 { "title": "Promise It Won't Hurt", "subtitle": "Aprende a usar promesas en Node y en los navegadores", "exercise": { "warm_up": "Introducción", "fulfill_a_promise": "Cumplir una promesa", "reject_a_promise": "Rechazar una promesa", "to_rej...
982
631
package com.neu.his.cloud.zuul.distribution.api.pc.sms; import com.neu.his.cloud.zuul.common.CommonResult; import com.neu.his.cloud.zuul.dto.sms.SmsWorkloadResult; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.s...
1,038
323
<gh_stars>100-1000 #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "pool.h" #include "repo.h" #include "repoinfo.h" #include "repoinfo_cache.h" #include "fileprovides.h" static void rewrite_repos(Pool *pool, Queue *addedfileprovides, Queue *addedfileprovides_inst) { Repo *repo; Repodata *dat...
1,191
2,667
<filename>utils/ut_base64.h /* * Description: * History: <EMAIL>, 2017/04/26, create */ # ifndef _UT_BASE64_H_ # define _UT_BASE64_H_ # include "ut_sds.h" # include <stddef.h> int base64_encode(const unsigned char *buffer, size_t length, sds *b64text); int base64_decode(char *b64message, unsigned char **buff...
145
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Tourch","circ":"8ème circonscription","dpt":"Finistère","inscrits":767,"abs":388,"votants":379,"blancs":33,"nuls":22,"exp":324,"res":[{"nuance":"REM","nom":"<NAME>","voix":194},{"nuance":"SOC","nom":"<NAME>","voix":130}]}
108
458
##ifneq($($thisElementValue),void) /// ######### serialize response ########### ##ifneq($(operation.options.*inlineResult||interface.options.*defaultInlineResult),1||true) ::ngrest::Object* responseNode = context->pool->alloc< ::ngrest::Object>(); ::ngrest::NamedNode* resultNode = context->pool->alloc<...
1,925
348
{"nom":"Cardet","circ":"5ème circonscription","dpt":"Gard","inscrits":695,"abs":342,"votants":353,"blancs":15,"nuls":9,"exp":329,"res":[{"nuance":"REM","nom":"<NAME>","voix":209},{"nuance":"FN","nom":"<NAME>","voix":120}]}
87
2,399
// // SJRouteHandlers.h // SJVideoPlayer_Example // // Created by BlueDancer on 2020/5/10. // Copyright © 2020 changsanjiang. All rights reserved. // #import <Foundation/Foundation.h> #import <SJRouter/SJRouteHandler.h> NS_ASSUME_NONNULL_BEGIN @interface SJRouteHandlers : NSObject<SJRouteHandler> @end NS_ASSUM...
126
2,023
#!Test c:\bin\messagebox.exe Display for {a} %xyz% {} {xyz} {} and {p} ## #!Test2 c:\bin\messagebox.exe Display for {a} and {} with {} and {p} #!Edit {o}\qeditor.exe {a} !! # Run the #!Inst command #! c:\bin\qeditor.exe "{a}" !! #!py c:\bin\messagebox.exe "{a}" is a python program #!In...
6,295
2,151
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "libdis.h" #include <inttypes.h> #ifdef _MSC_VER #define snprintf _snprintf #define inline __inline #endif /* * concatenation macros. STRNCATF concatenates a format string, buf * only with one argument. */ #defin...
32,365
372
/* Editor Settings: expandtabs and use 4 spaces for indentation * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compli...
17,442
526
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreP...
2,579
631
<reponame>Dianpeng-Wang/kinect-1 /***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. ...
1,233
755
package io.github.prototypez.service.module2; import android.content.Context; import android.support.v4.app.Fragment; import io.github.prototypez.service.module2.callback.Module2Callback; import io.github.prototypez.service.module2.entity.Module2Entity; import io.reactivex.Observable; public interface Module2Service ...
364
10,016
<reponame>PhoenixRedflash/zaproxy<gh_stars>1000+ /* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2021 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this ...
2,837
2,161
double score(double * input) { double var0; if ((input[12]) >= (9.725)) { if ((input[12]) >= (19.23)) { var0 = 3.5343752; } else { var0 = 5.5722494; } } else { if ((input[5]) >= (6.941)) { var0 = 11.1947155; } else { var...
441
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Saussey","circ":"3ème circonscription","dpt":"Manche","inscrits":408,"abs":198,"votants":210,"blancs":14,"nuls":2,"exp":194,"res":[{"nuance":"REM","nom":"<NAME>","voix":144},{"nuance":"LR","nom":"<NAME>","voix":50}]}
107
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,807
1,968
<filename>platform/iphone/Rtt_IPhonePlatformCore.h ////////////////////////////////////////////////////////////////////////////// // // 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:...
871
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 "chrome/browser/webshare/win/fake_buffer.h" #include "testing/gtest/include/gtest/gtest.h" namespace webshare { FakeBuffer::FakeBuffer(UINT32 ...
363
511
<gh_stars>100-1000 /***************************************************************************** * * Copyright 2017 Samsung Electronics 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 co...
862
567
<reponame>confusedcrib/riskquant # Copyright 2019-2020 Netflix, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
1,360
422
// -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt #include "libHh/Hh.h" #include <sys/stat.h> // struct stat and fstat() #if defined(__MINGW32__) #include <malloc.h> // __mingw_aligned_malloc() #endif #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN #include <Windows.h> // WideCharToMultiByte(),...
11,574
310
{ "name": "eJay", "description": "Audio editing software.", "url": "https://en.wikipedia.org/wiki/EJay" }
41
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"<NAME>","circ":"2ème circonscription","dpt":"Eure-et-Loir","inscrits":438,"abs":241,"votants":197,"blancs":8,"nuls":2,"exp":187,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":131},{"nuance":"REM","nom":"Mme <NAME>","voix":56}]}
116
2,460
<filename>kubernetes-itests/src/test/java/io/fabric8/openshift/ProjectIT.java /** * Copyright (C) 2015 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://...
985
1,970
/* * 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 ...
957
5,964
<filename>third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h // 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 WebGLVertexArrayObjectBase_h #define WebGLVertexArrayObjectBase_h ...
1,132
1,645
<reponame>smsahu/seldon-server<filename>server/src/io/seldon/clustering/recommender/jdo/JdoClusterFromReferrer.java<gh_stars>1000+ /* * Seldon -- open source prediction engine * ======================================= * * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * * ****...
1,639
518
<gh_stars>100-1000 package com.lorne.tx.utils.serializer; import com.lorne.core.framework.exception.SerializerException; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectInputStream; import java.io.ObjectOutput; im...
612
14,668
<reponame>zealoussnow/chromium // 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_SHARING_SHARING_DEVICE_REGISTRATION_RESULT_H_ #define CHROME_BROWSER_SHARING_SHARING_DEVICE_REGISTRA...
375
1,403
<gh_stars>1000+ #ifndef CLIPPER_CONTAINER_PARSING_HPP #define CLIPPER_CONTAINER_PARSING_HPP #include <cstring> #include <vector> #include <container/datatypes.hpp> namespace clipper { namespace container { template <typename T> struct input_parser_type { static const bool is_string_parser = false; }; template <...
521
598
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import os TERMINAL_PATH = os.path.expanduser("~/.maro/web_terminal/terminal-srv.py") def start_admin(*args, **kwargs): print("""If got python module or file not found error, please run maro admin stop maro meta deploy maro admi...
307
7,899
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. """ ffmpeg video conversion from 'asf' to 'mp4' and 'avi' without video quality loss: referenced stackoverflow answer: https://stackoverflow.com/questions/15049829/remux-to-mkv-but-add-all-streams-using-ffmpeg/15052662#150526...
693
467
#!/usr/bin/env python3 import argparse import json from pathlib import Path import re KEY_MAP = { "Color4DBgCanvasEx": "schematic.background", "Color4DBodyBgEx": "schematic.component_body", "Color4DBodyEx": "schematic.component_outline", "Color4DBrightenedEx": ...
6,422
601
<gh_stars>100-1000 #pragma once #include <cstdint> #include <cstdlib> #include <memory> #include <vector> namespace seasocks { class ZlibContext { public: ZlibContext(const ZlibContext&) = delete; ZlibContext& operator=(const ZlibContext&) = delete; ZlibContext(); ~ZlibContext(); void initialise...
263
590
<filename>data_structures/hash_maps/tests/test_unsorted_table_map.py # coding: utf-8 import random import unittest from data_structures.hash_maps.unsorted_table_map import UnsortedTableMap class TestCase(unittest.TestCase): def setUp(self): self.empty_map = UnsortedTableMap() self.d1 = {'key': '...
1,180