max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
842
<reponame>Madision-Jack/blade-build<filename>tool/dump-pickle.py #!/usr/bin/env python """ Dump the content of a pickle file. such as the `incchk`, `blade-bin/blade_inclusion.data`, etc. """ import pprint import sys try: import cPickle as pickle except ImportError: import pickle def main(): if len(sys...
230
660
/* * Copyright (c) 2021, 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...
994
879
# Module for enriched date, datetime type from .arrow_datetime import ArrowDateTime # noqa from .pendulum_date import PendulumDate # noqa from .pendulum_datetime import PendulumDateTime # noqa
57
316
{ "title": "Schnellzugriff", "empty": "Sie haben keine Schnellzugriff-Links, fügen Sie welche in den Karteneinstellungen hinzu", "settings": { "links": "Links", "grid": "Grid-Layout verwenden", "grid_size": "Blockgrösse im Grid" } }
110
5,169
{ "name": "MyFatoorah", "version": "2.0.15", "summary": "The MFSDK makes it easy to add MyFatoorah payments to mobile apps.", "homepage": "https://dev.azure.com/myfatoorahsc/_git/MF-SDK-iOS-Demo", "authors": { "MyFatoorah": "<EMAIL>" }, "license": { "type": "Apache-2.0", "file": "LICENSE.md" ...
406
1,103
<filename>fooltrader/proxy/__init__.py # -*- coding: utf-8 -*- import os import pandas as pd from fooltrader import settings # 获取存档的代理列表 def get_proxy_dir(): return os.path.join(settings.FOOLTRADER_STORE_PATH, "proxy") def get_proxy_path(protocol='http'): return os.path.join(get_proxy_dir(), "{}_proxy.c...
952
956
from trex_stl_lib.api import * import argparse class STLS1(object): def get_streams (self, direction, tunables, **kwargs): parser = argparse.ArgumentParser(description='Argparser for {}'.format(os.path.basename(__file__)), formatter_class=argparse.ArgumentDefault...
475
2,542
<filename>src/prod/src/Management/ClusterManager/StoreDataComposeDeploymentInstance.h<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 informa...
1,537
402
<gh_stars>100-1000 package com.vaadin.flow.uitest.ui; import com.vaadin.flow.component.html.Div; import com.vaadin.flow.component.html.Paragraph; import java.io.Serializable; public abstract class AbstractDebounceSynchronizeView extends AbstractDivView { protected final static int CHANGE_TIMEOUT = 1000; pr...
207
1,392
<reponame>23andMe/saleor<filename>saleor/graphql/checkout/mutations/__init__.py<gh_stars>1000+ from .checkout_add_promo_code import CheckoutAddPromoCode from .checkout_billing_address_update import CheckoutBillingAddressUpdate from .checkout_complete import CheckoutComplete from .checkout_create import CheckoutCreate f...
503
1,562
<reponame>htbryant94/Firestore-Example-Project /* Copyright (c) 2017, Google Inc. * * 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. * * THE SOFTWA...
563
14,668
// 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/offline_pages/core/prefetch/tasks/remove_url_task.h" #include "components/offline_pages/core/prefetch/prefetch_types.h" #include "co...
563
4,816
<reponame>mehrdad-shokri/retdec<gh_stars>1000+ /** * @file include/retdec/fileformat/types/dotnet_types/dotnet_property.h * @brief Class for .NET property. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef RETDEC_FILEFORMAT_TYPES_DOTNET_TYPES_DOTNET_PROPERTY_H #define RETDEC_FILEFORMA...
415
602
package org.corfudb.runtime.collections; import com.google.gson.JsonObject; import io.micrometer.core.instrument.Timer; import io.micrometer.core.instrument.distribution.HistogramSnapshot; import org.corfudb.common.metrics.micrometer.MicroMeterUtils; import java.util.Optional; import java.util.concurrent.TimeUnit; /...
1,118
1,085
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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 l...
1,723
1,311
<reponame>simonyangme/picamera import time import picamera import picamera.array import numpy as np with picamera.PiCamera() as camera: camera.resolution = (100, 100) time.sleep(2) image = np.empty((128, 112, 3), dtype=np.uint8) camera.capture(image, 'rgb') image = image[:100, :100]
120
854
__________________________________________________________________________________________________ sample 36 ms submission # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def oddEvenList(self, head: ListNode) -> L...
861
648
{"resourceType":"DataElement","id":"NutritionOrder.enteralFormula.maxVolumeToDeliver","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/NutritionOrder.enteralFormula.maxVolumeToDeliver","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"Nu...
211
364
package com.linkedin.dagli.dl4j; import com.linkedin.dagli.nn.layer.AttentionLayerConfig; import com.linkedin.dagli.nn.layer.Bidirectionality; import com.linkedin.dagli.nn.layer.DynamicLayerConfig; import com.linkedin.dagli.nn.layer.IntegerInputLayerConfig; import com.linkedin.dagli.nn.layer.NNActivationLayer; import ...
7,742
1,358
""" Efficient serialization of SciPy sparse matrices. """ import scipy from .serialize import dask_deserialize, dask_serialize, register_generic register_generic(scipy.sparse.spmatrix, "dask", dask_serialize, dask_deserialize) @dask_serialize.register(scipy.sparse.dok.dok_matrix) def serialize_scipy_sparse_dok(x): ...
303
748
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Copyright (c) 2013,掌阅科技 All rights reserved. File Name: pyshell.py Author: WangLichao Created on: 2014-03-21 ''' import subprocess import time def wait_process_end(process, timeout): '''等待进程终止 Args: process: 进程句柄 timeout: 超时时间 Returns: ...
1,235
1,010
#ifndef SHD_TEST_GLIB_HELPERS_H #define SHD_TEST_GLIB_HELPERS_H #include <errno.h> #include <glib.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define assert_true_errstring(c, s) \ if (!(c)) { ...
1,229
30,023
<reponame>MrDelik/core { "config": { "abort": { "invalid_webhook_url": "Home Assistant is niet correct geconfigureerd om updates van SmartThings te ontvangen. De webhook-URL is ongeldig: \n > {webhook_url} \n\n Werk uw configuratie bij volgens de [instructies] ( {component_url} ), start de Home ...
1,111
637
<gh_stars>100-1000 /* * Copyright (C) 2017 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 ap...
991
317
extern int otb_6s_stm_( );
19
420
<filename>seahub/api2/endpoints/repo_share_invitation.py # Copyright (c) 2012-2019 Seafile Ltd. import logging from rest_framework import status from rest_framework.authentication import SessionAuthentication from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_...
2,239
2,151
<gh_stars>1000+ // Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // The base class for client/server QUIC streams. // It does not contain the entire interface needed by an application to interact ...
5,618
4,879
#pragma once #include <string> namespace feature { void DumpTypes(std::string const & fPath); void DumpPrefixes(std::string const & fPath); // Writes top maxTokensToShow tokens sorted by their // frequency, i.e. by the number of features in // an mwm that contain the token in their name. void DumpSearchT...
196
473
<filename>software/os/mselOS/src/arch/openrisc/isr.c /* Copyright 2015, Google 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 ...
4,019
5,169
{ "name": "SwiftXMLParser", "version": "1.0.0", "homepage": "https://github.com/ShubhGar", "summary": "SwiftXMLParser is an XMLParser written in Swift4.0.", "description": "The XML DOM (Document Object Model) defines the properties and methods \tfor accessing and editing XML.An XMLParser notifies its delegate...
274
3,101
/* * 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 ...
2,248
1,104
{ "html": "invisiblesun.html", "css": "invisiblesun.css", "authors": "Medieve (<NAME>.)", "patreon": "https://www.patreon.com/sceneficant", "roll20userid": "492849,23472", "preview": "invisiblesun.png", "instructions": "#Invisible Sun\r \r v1.1: Added two more Enhancement buttons for a total possible five...
201
839
/** * 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 m...
1,111
369
<reponame>zuxqoj/cdap /* * Copyright © 2019 <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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1,497
2,151
<reponame>google-ar/chromium // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/macros.h" #include "base/strings/string_number_conversions.h" #include "testing/gtest/inclu...
2,496
672
<reponame>yingsu00/velox<filename>velox/exec/tests/PlanBuilderTest.cpp /* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * htt...
1,059
1,103
<reponame>termux-one/EasY_HaCk #!/usr/bin/env python """ Copyright (c) 2006-2018 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ import atexit import os from lib.core import readlineng as readline from lib.core.data import logger from lib.core.data import paths from lib.core....
1,916
3,384
<reponame>teemobean/XVim // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #pragma mark Blocks typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown #pragma mark Named Structures struct CGAffineTransform ...
47,600
3,094
""" Implementation of K-nearest neighbor (KNN) from scratch where you can either use 2-loops (inefficient), 1-loop (better) or a heavily vectorized zero-loop implementation. Programmed by <NAME> <aladdin.persson at hotmail dot com> * 2020-04-24 Initial coding """ import numpy as np class KNearestNeighbor: de...
1,731
692
/******************************************* G711 RTP Payloader include file *******************************************/ #ifndef __KINESIS_VIDEO_WEBRTC_CLIENT_RTPG711PAYLOADER_H #define __KINESIS_VIDEO_WEBRTC_CLIENT_RTPG711PAYLOADER_H #pragma once #ifdef __cplusplus extern "C" { #endif STATUS createPayloadForG711(U...
221
30,023
<reponame>mib1185/core """Tests for the Nest integration API glue library. There are two interesting cases to exercise that have different strategies for token refresh and for testing: - API based requests, tested using aioclient_mock - Pub/sub subcriber initialization, intercepted with patch() The tests below exerci...
2,202
399
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> /* upcase: Converts input files to upper case. * One output file is generated per input file. */ int main(int argc, char** argv) { int f1; char buf[1024],buf1[1024]; char c,d,e; printf("%s\n",argv[1]); ...
457
6,132
DEFAULT_STATEMENT = -2 def is_alignment_mask(n): return n in {0xffffffffffffffe0, 0xfffffffffffffff0, 0xfffffff0, 0xfffffffc}
58
979
/* 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 not...
2,740
1,408
<reponame>Nuvoton-Israel/arm-trusted-firmware /* * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef APUPWR_CLKCTL_DEF_H #define APUPWR_CLKCTL_DEF_H #include <lib/mmio.h> enum dvfs_voltage_domain { V_VPU0 = 0, V_VPU1 = 1, V_MDLA0 ...
4,031
843
package org.zalando.nakadi.repository; import org.zalando.nakadi.domain.CleanupPolicy; import java.util.Optional; public class NakadiTopicConfig { private final int partitionCount; private final CleanupPolicy cleanupPolicy; private final Optional<Long> retentionTimeMs; public NakadiTopicConfig(fi...
334
5,169
<reponame>morizotter/Specs { "name": "NTYCSVTable", "version": "0.1.0", "summary": "CSV parser for Objective-C inspired by CSV::Table class of Ruby.", "description": " CSV parser for Objective-C inspired by CSV::Table class of Ruby.\n You can access CSV data by rows a...
321
1,032
import sys import os import logging from dotenv import load_dotenv from pathlib import Path # Lets set the logging level logging.getLogger().setLevel(logging.INFO) # ----------------- # Load the ENV file # ----------------- env_file = 'informer.env' if os.path.isfile('informer.env') else '../informer.env' logging.inf...
603
829
{ "NoEnvFields": "Pro toto prostředí neexistují žádné specifické možnosti prostředí", "docker": { "name": "Docker", "image": "Obraz", "networkMode": "Síťový režim", "networkName": "Název sítě", "bindings": "Vazby", "portBindings": "Vázání portů", "OutsidePort": "Mimo port", "InsidePo...
254
1,511
<filename>tests/licensedcode/data/datadriven/lic2/bsd-new_and_lgpl_and_mpl-1.1_4.c /* Note : this particular snipset of code is available under * the LGPL, MPL or BSD license (at your choice). * <NAME> */ // Require Wireless Tools 25 for sub-ioctl and addr support /* --------------------------- INCLUDE -----------...
2,904
20,295
<reponame>icbdubey/C-Plus-Plus /** * @file vigenere_cipher.cpp * @brief Implementation of [Vigenère cipher](https://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher) algorithm. * * @details * The Vigenère cipher is a method of encrypting alphabetic text by using a series of interwoven vigenere * ciphers, based on the ...
2,505
527
package com.tomandjerry.coolanim.lib.letter; import android.animation.ValueAnimator; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.graphics.RectF; import com.tomandjerry.coolanim.lib.Config; /** * Created by Weiwu on 16/2/19. */ public class ALetter ex...
1,128
312
/* * Copyright 2020 Rockchip Electronics Co. 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...
1,621
6,070
{ "Udemy Login": "Zaloguj się na swoje konto Udemy!", "Email": "E-mail", "Password": "<PASSWORD>", "Login": "Zaloguj", "Type Username/Password": "Podaj swój adres e-mail oraz hasło", "Incorrect Username/Password": "Niewłaściwy adres e-mail i/lub hasło", "Logging in": "Logowanie", "Loading Courses": "Wczytywani...
755
21,684
<gh_stars>1000+ // Copyright 2010-2013 RethinkDB, all rights reserved. #include "rpc/directory/write_manager.tcc" template class directory_write_manager_t<int>; #include "clustering/administration/metadata.hpp" template class directory_write_manager_t<cluster_directory_metadata_t>;
92
505
<gh_stars>100-1000 from pyrep.robots.end_effectors.suction_cup import SuctionCup class DobotSuctionCup(SuctionCup): def __init__(self, count: int = 0): super().__init__(count, 'Dobot_suctionCup')
89
32,544
package com.baeldung.arraylist.operations; import java.util.ArrayList; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; public class ArrayListOperationsUnitTest { private ArrayList<Integer> anArrayList; @BeforeEach publ...
605
3,001
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-09 21:17 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0014_add_suspicions_and_probability_to_reimbursements'), ] operations = [ ...
336
10,876
<gh_stars>1000+ { "name": "speex", "version-string": "1.2.0", "port-version": 9, "description": "Speex is an Open Source/Free Software patent-free audio compression format designed for speech.", "homepage": "https://github.com/xiph/speex" }
88
452
<reponame>kentengjin/firebase-admin-java /* * Copyright 2017 Google 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...
39,498
1,845
package org.rajawali3d.curves; import org.junit.Test; import org.rajawali3d.math.vector.Vector3; import static org.junit.Assert.assertEquals; /** * @author <NAME> (<EMAIL>) */ public class CubicBezierTest { @Test public void testCalculatePoint() { Vector3 result = new Vector3(); Vector3 p0...
1,531
1,570
<gh_stars>1000+ /* * 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 requ...
650
2,313
/* * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
4,287
1,234
<gh_stars>1000+ package org.benf.cfr.reader.util.getopt; import org.benf.cfr.reader.state.OsInfo; import org.benf.cfr.reader.util.AnalysisType; import org.benf.cfr.reader.util.ClassFileVersion; import org.benf.cfr.reader.util.StringUtils; import org.benf.cfr.reader.util.Troolean; import org.benf.cfr.reader.util.collec...
14,288
477
<reponame>tangibleai/biostar-central<filename>biostar/forum/management/commands/populate.py<gh_stars>100-1000 import logging import random import os from django.core.management.base import BaseCommand from django.conf import settings from django.contrib.auth import get_user_model from biostar.accounts.models import Mes...
2,018
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/modules/media_controls/elements/media_control_overflow_menu_list_element.h" #include "third_party/blink/public/platf...
1,027
879
<reponame>qianfei11/zstack package org.zstack.test.eip; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.core.cloudbus.CloudBus; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.identity.SessionInv...
1,250
1,010
/* * The Shadow Simulator * Copyright (c) 2010-2011, <NAME> * See LICENSE for licensing information */ #ifndef SHD_PACKET_H_ #define SHD_PACKET_H_ #include <glib.h> #include <netinet/in.h> #include "main/routing/packet.minimal.h" #include "main/core/support/definitions.h" #include "main/host/protocol.h" #includ...
1,088
6,449
/* * * Copyright 2009-2016 Weibo, 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 b...
1,855
1,603
package com.linkedin.metadata.utils; import java.util.List; import java.util.Objects; import java.util.concurrent.CompletableFuture; import java.util.concurrent.TimeUnit; import java.util.function.BiFunction; import java.util.function.Function; import java.util.stream.Collectors; import lombok.extern.slf4j.Slf4j; @S...
873
369
/* * Copyright © 2016 <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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
718
3,702
// Copyright (c) YugaByte, Inc. package com.yugabyte.yw.controllers; import com.yugabyte.yw.forms.UpgradeTaskParams; import com.yugabyte.yw.models.Customer; import com.yugabyte.yw.models.Universe; import java.util.UUID; @FunctionalInterface public interface IUpgradeUniverseHandlerMethod<T extends UpgradeTaskParams> ...
129
1,382
<filename>examples/windowf_example.c // // windowf_example.c // // This example demonstrates the functionality of a window buffer (also // known as a circular or ring buffer) of floating-point values. Values // are written to and read from the buffer using several different // methods. // // SEE ALSO: bufferf_example....
577
852
// -*- C++ -*- // // Package: TableWidget // Class : FWColumnLabelCellRenderer // // Implementation: // <Notes on implementation> // // Original Author: <NAME> // Created: Mon Feb 2 16:44:04 EST 2009 // #include <cassert> // system include files #include "TVirtualX.h" #include "TGFont.h" // u...
1,330
589
<gh_stars>100-1000 package rocks.inspectit.ui.rcp.util; import org.eclipse.jface.resource.CompositeImageDescriptor; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.ImageData; import org.eclipse...
1,839
833
<reponame>gozdal/cloudflare-blog #define PFATAL(x...) \ do { \ fprintf(stderr, "[-] SYSTEM ERROR : " x); \ fprintf(stderr, "\n\tLocation : %s(), %s:%u\n", __FUNCTION__, ...
816
841
package com.gzsll.hupu.db; // THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. /** * Entity mapped to table IMAGE_CACHE. */ public class ImageCache { private Long id; private String url; private String path; public ImageCache() { } public Image...
378
648
{"resourceType":"DataElement","id":"NutritionOrder.allergyIntolerance","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/NutritionOrder.allergyIntolerance","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"NutritionOrder.allergyIntolerance"...
251
1,177
<reponame>Jastar/wallopSlider { "name": "wallop", "version": "2.4.1", "description": "wallop is a minimal 4kb library for showing & hiding things", "main": "js/Wallop.js", "scripts": { "test": "zuul --local 9966 -- test.js", "ci": "zuul -- test.js", "uglify": "./node_modules/.bin/uglifyjs ./js/Wal...
419
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 * ...
4,806
2,389
/* Copyright 2020 The Kubernetes 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 to in writing, softwar...
1,073
921
// Copyright (c) 2015-2020 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.psi.util; import com.intellij.psi.PsiElement; import com.vladsch.flexmark.util.visitor.AstHandler; import com.vladsch.md.nav.parser.MdParserDefini...
362
2,540
class Test { public Object fn() { return null; } }
17
713
package org.infinispan.cli.completers; import java.io.IOException; import java.util.Collection; import java.util.Collections; import org.infinispan.cli.Context; /** * A {@link org.aesh.command.completer.OptionCompleter} for protocol connectors. * * @author <NAME> * @since 12.1 */ public class ConnectorCompleter...
207
338
<reponame>vu-luong/ezyfox-server package com.tvd12.ezyfoxserver.testing.response; import org.testng.annotations.Test; import com.tvd12.ezyfoxserver.constant.EzyCommand; import com.tvd12.ezyfoxserver.constant.EzyUserRemoveReason; import com.tvd12.ezyfoxserver.response.EzyExitedAppParams; import com.tvd12.ezyfoxserver....
442
348
<filename>docs/data/leg-t2/016/01602380.json {"nom":"<NAME>","circ":"2ème circonscription","dpt":"Charente","inscrits":303,"abs":146,"votants":157,"blancs":1,"nuls":9,"exp":147,"res":[{"nuance":"LR","nom":"<NAME>","voix":75},{"nuance":"REM","nom":"<NAME>","voix":72}]}
110
1,686
// Copyright (c) 2018 The Chromium Embedded Framework 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 CEF_TESTS_CEFCLIENT_BROWSER_MAIN_MESSAGE_LOOP_MULTITHREADED_GTK_H_ #define CEF_TESTS_CEFCLIENT_BROWSER_MAIN_MESSAGE_LOOP_MU...
558
1,962
<gh_stars>1000+ package com.bolingcavalry.client; import lombok.AllArgsConstructor; import lombok.Data; /** * @author <EMAIL> * @Title: 普通bean * @Package * @Description: * @date 8/1/21 7:37 上午 */ @Data @AllArgsConstructor public class HelloResponse { private String name; private String date; priv...
129
384
<reponame>DEVESHTARASIA/tensorflow<filename>tensorflow/contrib/learn/python/learn/dataframe/transforms/binary_transforms.py # Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License....
2,340
575
<filename>chromeos/test/data/network/shill_ethernet_with_eap.json { "EAP.CertID": "", "EAP.EAP":"TLS", "EAP.Identity":"abc ${<EMAIL>", "EAP.KeyID": "", "EAP.PIN": "", "EAP.UseSystemCAs":true, "GUID":"guid", "SaveCredentials":true, "Type":"etherneteap" }
132
2,978
<filename>systemtest/src/main/java/io/strimzi/systemtest/kafkaclients/clientproperties/ConsumerProperties.java /* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.systemtest.kafkaclients.clientproperties; import o...
1,534
5,355
<gh_stars>1000+ package graphql.analysis; import graphql.Internal; import graphql.language.SelectionSetContainer; import graphql.schema.GraphQLCompositeType; import graphql.schema.GraphQLOutputType; import graphql.schema.GraphQLTypeUtil; /** * QueryTraverser helper class that maintains traversal context as * the qu...
467
1,039
#!/usr/bin/env python import json import sys try: from pip._internal.req import parse_requirements except ImportError: from pip.req import parse_requirements try: # since pip 19.3 from pip._internal.network.session import PipSession except ImportError: try: # since pip 10 f...
491
862
/* Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file This file is part of libzmq, the ZeroMQ core engine in C++. libzmq is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Found...
2,512
695
import sys from _pydevd_bundle.pydevd_custom_frames import add_custom_frame import threading def call1(): add_custom_frame(sys._getframe(), 'call1', threading.current_thread().ident) def call2(): add_custom_frame(sys._getframe(), 'call2', threading.current_thread().ident) def call3(): add_custom_fram...
185
14,668
// 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. #include "chromecast/browser/cast_content_window.h" namespace chromecast { CastContentWindow::CastContentWindow(mojom::CastWebViewParamsPtr params) ...
583
839
/** * 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 m...
848
4,140
/* * 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 ...
3,464
1,647
<reponame>davidbrochart/pythran #ifndef PYTHONIC_CMATH_EXP_HPP #define PYTHONIC_CMATH_EXP_HPP #include "pythonic/include/cmath/exp.hpp" #include "pythonic/utils/functor.hpp" #include "pythonic/types/complex.hpp" #include <cmath> PYTHONIC_NS_BEGIN namespace cmath { } PYTHONIC_NS_END #endif
140
1,031
/* Copyright (c) <2003-2019> <<NAME>, Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, *...
818