max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
13,648
<filename>tests/micropython/native_const.py # test loading constants in native functions @micropython.native def f(): return b"bytes" print(f()) @micropython.native def f(): @micropython.native def g(): return 123 return g print(f()())
102
1,781
<gh_stars>1000+ package chapter3.section4; import edu.princeton.cs.algs4.Queue; import edu.princeton.cs.algs4.StdOut; import java.util.Arrays; /** * Created by <NAME> on 17/07/17. */ @SuppressWarnings("unchecked") public class Exercise19 { private class SeparateChainingHashTableWithKeys<Key, Value> extends Se...
2,325
1,178
<filename>gs/monitor2/apps/plugins/layouts/flight_layout.py # 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/LI...
710
1,338
/* * Copyright 2006-2009, <NAME> <<EMAIL>>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "PathManipulator.h" #include <float.h> #include <stdio.h> #include <Catalog.h> #include <Cursor.h> #include <Locale.h> #include <Message.h> #include <MenuItem.h> #include <PopUpMenu.h> #i...
16,513
1,288
// Copyright 2014 Google Inc. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include "packager/media/formats/mp4/segmenter.h" #include <algorithm> #include "packager/base/l...
4,580
307
<filename>Python/benchmarking/observation_data.py from benchmarker import Benchmarker """ Objects data benchmarks. """ if __name__ == "__main__": b = Benchmarker() header = "| Test | FPS |\n| --- | --- |\n" output = header[:] rows = [] b.start() rows.append(b.run(boxes=True, ...
621
1,431
/* ==================================================================== 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...
15,824
549
/*************************************************************************** * Copyright (c) <NAME>, <NAME>, <NAME> and * * <NAME> * * Copyright (c) QuantStack * * Copyright (c) <NAME> ...
777
1,510
<reponame>julien-faye/drill /* * 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 ...
1,971
417
<gh_stars>100-1000 //----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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...
2,007
1,131
<reponame>ycyun/ablestack-cloud<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 Apach...
6,188
310
<gh_stars>100-1000 { "name": "OM-D E-M10 Mark III", "description": "A 16.1 megapixel micro four thirds camera.", "url": "https://www.getolympus.com/us/en/e-m10-mark-iii.html" }
78
335
{ "word": "Immersion", "definitions": [ "The action of immersing someone or something in a liquid.", "Baptism by immersing a person bodily (but not necessarily completely) in water.", "Deep mental involvement in something.", "A method of teaching a foreign language by the exclusi...
155
1,236
<reponame>jasonfeihe/BitFunnel // The MIT License (MIT) // Copyright (c) 2016, Microsoft // 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...
3,709
1,457
<gh_stars>1000+ """ pgoapi - Pokemon Go API Copyright (c) 2016 tjado <https://github.com/tejado> 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 t...
734
483
<reponame>alberttjc/sense import configparser from collections import defaultdict import json import numpy as np import os import logging def merge_backbone_and_classifier_cfg_files( backbone_config_file, classifier_config_file, placeholder_values=None ): """ Concatenate backbone and classifier config fil...
811
2,406
<reponame>monroid/openvino // Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vpu/ngraph/transformations/dynamic_to_static_shape_gather_elements.hpp> #include <vpu/ngraph/transformations/dynamic_to_static_shape.hpp> #include <vpu/ngraph/operations/dynamic_shape_resolver.h...
2,408
6,240
{ "schema-version": "1.0", "changes": [ { "type": "bugfix", "category": "Packaging", "description": "Add fallback to retrieve name/version from sdist (#1486)" }, { "type": "bugfix", "category": "Analyzer", "description": "Handle symbols with multiple (shadowed) namesp...
147
922
<gh_stars>100-1000 # Copyright (c) 2021 - present / Neuralmagic, 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 # ...
13,390
4,973
<gh_stars>1000+ extensions = ['sphinx.ext.doctest'] project = 'test project for the doctest :skipif: directive' root_doc = 'skipif' source_suffix = '.txt' exclude_patterns = ['_build'] doctest_global_setup = ''' from tests.test_ext_doctest import record record('doctest_global_setup', 'body', True) ''' doctest_globa...
147
466
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2013 Pivotal, Inc. // // @filename: // CDXLPhysicalExternalScan.cpp // // @doc: // Implementation of DXL physical external scan operator //--------------------------------------------------------------...
519
312
/******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies th...
351
621
<reponame>haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition #!/usr/bin/env python3 import csv import argparse import ballpark from matplotlib.ticker import FuncFormatter import numpy as np import matplotlib.pyplot as plt if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_arg...
1,690
428
<filename>src/main.c #include "vpn-ws.h" struct vpn_ws_config vpn_ws_conf; static struct option vpn_ws_options[] = { {"tuntap", required_argument, NULL, 1 }, {"exec", required_argument, NULL, 2 }, {"bridge", no_argument, &vpn_ws_conf.bridge, 1 }, {"no-broadcast", no_argument, &vpn_ws_conf.no_broadcast, 1 }, {"no...
2,724
692
<gh_stars>100-1000 package test; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.RowFilter; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableModel; import javax.swing.table.TableRowSorter; public class JtableFilter { public static voi...
496
476
<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, so...
626
4,756
<reponame>smithersstonerandal/libphonenumber /* * Copyright (C) 2017 The Libphonenumber 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/LICE...
3,783
416
package soe.v20180724; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; import java.io.FileWriter; import java.nio.file.Files; import java.nio.file.Paths; import java.text.SimpleDateFormat; import java.util.Base64; import java.util.Date; import com.tencentcloudapi.common.Credential; import com.ten...
1,799
968
#! /usr/bin/env python3 # Copyright(c) 2017 Intel Corporation. # License: MIT See LICENSE file in root directory. from openvino.inference_engine import IENetwork, IECore import numpy as np import cv2 class tiny_yolo_processor: # Set up parameters that will be needed for tiny yolo EXAMPLES_BASE_DIR = '../../'...
5,643
2,072
# Copyright Contributors to the Amundsen project. # SPDX-License-Identifier: Apache-2.0 import logging from http import HTTPStatus from flask import Response, jsonify, make_response, request from flask import current_app as app from flask.blueprints import Blueprint from amundsen_application.api.exceptions import M...
1,780
14,668
<filename>third_party/blink/renderer/platform/graphics/color_blend.h<gh_stars>1000+ /* * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple 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,058
11,356
<gh_stars>1000+ #include "TestSuite.h" #ifdef JSON_WRITE_PRIORITY extern bool used_ascii_one; void myDoTests(bool asciichar); void myDoTests(bool asciichar){ used_ascii_one = asciichar; #ifdef JSON_LIBRARY #define assertWrite(node, func, expected)\ {\ json_char * _temp = func(node);\ ass...
3,517
1,742
<filename>src/sage/symbolic/ginac/cmatcher.cpp // cmatcher.cpp: commutative matching // Distributed under GPL2+ // Author: 2018: <NAME> <<EMAIL>> // // This differs from GiNaC's original basic::match() because commutative // structures need a special algorithm. We follow the outline in // <NAME>'s Master Thesis, "Non-l...
20,094
14,668
// 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. package org.chromium.android_webview.metrics; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.Packag...
1,389
348
{"nom":"Vanzac","circ":"4ème circonscription","dpt":"Charente-Maritime","inscrits":106,"abs":43,"votants":63,"blancs":9,"nuls":5,"exp":49,"res":[{"nuance":"LR","nom":"<NAME>","voix":25},{"nuance":"REM","nom":"M. <NAME>","voix":24}]}
93
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms from Configuration.Generator.PythiaUEZ2starSettings_cfi import * generator = cms.EDFilter("Pythia6GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(6.04110e+07), filterEfficiency = cms.untracked.double(1.0000), m...
295
694
<reponame>akluth/io<gh_stars>100-1000 /***************************************************** SIMD_CP XSCALE instrinsics for ARM (IWMMX) ***************************************************/ /* Copyright (c) 2004 <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the...
10,580
611
// DejaLu // Copyright (c) 2015 <NAME>. All rights reserved. #import <Cocoa/Cocoa.h> @interface DJLFolderPaneRowView : NSTableRowView @end
55
645
<reponame>AlexShypula/stoke // Copyright 2013-2016 Stanford University // // 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...
3,706
613
package nl.jqno.equalsverifier.internal.prefabvalues.factories; import java.util.LinkedHashSet; import java.util.Map; import java.util.function.Supplier; import nl.jqno.equalsverifier.internal.prefabvalues.PrefabValues; import nl.jqno.equalsverifier.internal.prefabvalues.Tuple; import nl.jqno.equalsverifier.internal.p...
718
445
<gh_stars>100-1000 ///////////////////////////////////////////////////////////////////////// // $Id: fpu_const.cc,v 1.12 2008/05/10 13:34:01 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2003 <NAME> // Written by <NAME> [sshwarts at sourceforge n...
2,356
984
package me.loda.springeventlistener; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.task.SimpleAsyncTaskExecutor; import org.springframework.core.task.TaskExecutor; import org.springframework.scheduling.annotation.EnableA...
243
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. #include "fuchsia/engine/browser/ax_tree_converter.h" #include <fuchsia/math/cpp/fidl.h> #include <fuchsia/ui/gfx/cpp/fidl.h> #include <fuchsia/ui/views/...
5,056
389
<reponame>sandman42292/structopt<gh_stars>100-1000 #pragma once #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <structopt/is_stl_container.hpp> #include <structopt/parser.hpp> #include <structopt/third_party/visit_struct/visit_struct.hpp> #include <type_traits> #include <vector> #...
1,267
348
{"nom":"Puydarrieux","circ":"1ère circonscription","dpt":"Hautes-Pyrénées","inscrits":189,"abs":97,"votants":92,"blancs":10,"nuls":1,"exp":81,"res":[{"nuance":"REM","nom":"<NAME>","voix":51},{"nuance":"FI","nom":"<NAME>","voix":30}]}
95
328
/** * @file bcm2835_wdog.c * */ /* Copyright (C) 2016-2017 by <NAME> mailto:<EMAIL> * * 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 ...
929
5,169
<gh_stars>1000+ { "name": "AppUIKit", "version": "0.2.0", "summary": "iOS UI Design for macOS", "homepage": "https://github.com/Ricky-Choi/AppUIKit", "license": "MIT", "authors": { "<NAME>": "<EMAIL>" }, "platforms": { "osx": "10.12" }, "source": { "git": "https://github.com/Ricky-Choi/A...
253
5,169
<filename>Specs/5/e/2/ConfirmitMobileSDK/3.5.0/ConfirmitMobileSDK.podspec.json { "name": "ConfirmitMobileSDK", "version": "3.5.0", "summary": "Confirmit Mobile SDK", "description": "The Confirmit Digital Feedback Mobile SDK provides seamless in-app feedback for any touch point within your mobile application.", ...
427
3,336
<reponame>mbentancour/azure-powershell { "ResourceGroup": "rgpldg7", "SubscriptionId": "c9cbd920-c00c-427c-852b-8aaf38badaeb", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "CustomProvider": "MSTest.MyTest28lfc" }
114
2,059
<reponame>DenisSch/svca<gh_stars>1000+ // This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 <NAME> <<EMAIL>> // Copyright (C) 2006-2008 <NAME> <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a cop...
1,748
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/IMCore.framework/Frameworks/IMFoundation.framework/IMFoundation */ // iOSOpenDev: wrapped with define check (since occurs in other dumped files) #ifndef __SCDynamicStoreRef__ #define __SCDynamicStoreRef__ 1 typedef s...
467
736
<reponame>tuomijal/pmdarima // We cannot directly reuse the npy_isfinite from npy_math.h as numpy // and pyramid are not necessarily built with the same compiler. #ifdef _MSC_VER # include <float.h> # define pyr_isfinite _finite #else # include <numpy/npy_math.h> # define pyr_isfinite npy_isfinite #endif
109
777
// 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 "modules/notifications/NotificationEvent.h" #include "modules/notifications/NotificationEventInit.h" #include "wtf/text/WTFString.h" namespace ...
493
17,104
<filename>external/zstd/contrib/linux-kernel/lib/zstd/zstd_internal.h<gh_stars>1000+ /** * Copyright (c) 2016-present, <NAME>, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of https://github.com/facebook/zstd. *...
3,488
456
<reponame>belzecue/DJV // SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2004-2020 <NAME> // All rights reserved. #pragma once #include <djvUI/INumericWidget.h> #include <djvUI/NumericSlider.h> #include <djvMath/Range.h> namespace djv { namespace UI { namespace Numeric { ...
1,924
6,289
<reponame>spnraju/Detox package com.wix.detox.espresso; import android.support.test.espresso.UiController; import android.support.test.espresso.ViewAction; import android.support.test.espresso.action.CoordinatesProvider; import android.support.test.espresso.action.GeneralClickAction; import android.support.test.espres...
4,151
6,181
<reponame>PLohrmannAMD/renderdoc /****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2021 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
2,029
6,215
<gh_stars>1000+ { "merchant_id": "merchant id", "public_key": "public key", "start_date": "2020-11-22T20:32:05Z", "private_key": "private key", "environment": "Sandbox" }
77
12,278
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright <NAME> 2007-2013. 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) // // See http://www.boost.org/libs/container for ...
2,520
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,137
676
<reponame>PlexPt/Gitskarios<gh_stars>100-1000 package com.alorma.github.sdk.bean.dto.response.events.payload; import android.os.Parcel; import android.os.Parcelable; import com.alorma.github.sdk.bean.dto.response.GollumPage; import java.util.List; public class GollumEventPayload extends GithubEventPayload implements ...
388
583
/* Generated by Cython 0.29.22 */ /* BEGIN: Cython Metadata { "distutils": { "depends": [], "name": "fastparquet.speedups", "sources": [ "fastparquet/speedups.pyx" ] }, "module_name": "fastparquet.speedups" } END: Cython Metadata */ #define PY_SSIZE_T_CLEAN #inc...
448,417
521
<reponame>wk8/elle #include <elle/system/Process.hh> #include <cerrno> #include <elle/assert.hh> #include <elle/err.hh> #include <elle/log.hh> #include <elle/system/unistd.hh> #ifndef ELLE_WINDOWS # include <sys/types.h> # include <sys/wait.h> #else # include <elle/windows.hh> #endif ELLE_LOG_COMPONENT("elle.system...
2,188
2,017
package com.dream.service; import com.dream.common.Page; import com.dream.po.User; public interface UserService { // 查询用户列表 public Page<User> findUserList(Integer page, Integer rows, String username); // 删除用户 public void deleteUser(Integer id); // 编辑用户 public User getUserById(Inte...
209
3,401
# -*- coding: utf-8 -*- # @Time : 2021/4/21 19:01 # @File : jucao_annnounce_parse.py # @Author : Rocky <EMAIL> import datetime import os import sys import time sys.path.append('..') from common.BaseService import BaseService from configure.settings import DBSelector from threading import Thread from queue import Queue...
2,239
14,668
<reponame>zealoussnow/chromium<filename>chrome/test/data/extensions/subscribe_page_action/src/_locales/zh_TW/messages.json<gh_stars>1000+ {"rss_subscription_name":{"message":"RSS \u8a02\u95b1\u64f4\u5145\u529f\u80fd (\u7531 Google \u63d0\u4f9b)"},"rss_subscription_description":{"message":"\u5728\u5de5\u5177\u5217\u4e2d...
1,874
595
/* * Copyright (c) 2018, Pinecone Inc. and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* * @file assert.h * @brief NuttX assertion support. */ #ifndef __METAL_ASSERT__H__ #error "Include metal/assert.h instead of metal/nuttx/assert.h" #endif #ifndef __METAL_NUTTX_ASSERT__H...
219
341
package com.aventstack.extentreports.model; import java.io.Serializable; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.stream.Collectors; import com.aventstack.extentreports.Status; import com.aventstack.extentreport...
762
330
<reponame>HeroWithL/free_gaitc /* * Footstep.hpp * * Created on: Mar 6, 2015 * Author: <NAME> * Institute: ETH Zurich, Autonomous Systems Lab */ #pragma once // Free Gait #include "free_gait_core/TypeDefs.hpp" #include "free_gait_core/leg_motion/EndEffectorMotionBase.hpp" // Curves #include <curves/Cub...
1,223
365
<gh_stars>100-1000 /******************************************************************************* * Copyright 2015-2016 <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://w...
4,426
1,056
<reponame>Antholoj/netbeans /* * 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 ...
907
575
<filename>components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/VisualsCallback.java // 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. package org.chro...
253
392
<reponame>wqfang321/platform package com.platform.api; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web...
665
14,668
<gh_stars>1000+ // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/font_prewarmer_tab_helper.h" #include <set> #include <string> #include "base/memory/weak_ptr.h" #include "base/...
3,663
575
// Copyright (c) 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 CHROMECAST_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARKS_API_H_ #define CHROMECAST_BROWSER_EXTENSIONS_API_BOOKMARKS_BOOKMARKS_API_H_ #include <v...
1,101
436
<gh_stars>100-1000 package com.jdon.jivejdon.spi.pubsub.subscriber.postThread; public class CDNRefreshUrls { private final String[] urls; public CDNRefreshUrls(String[] urls) { this.urls = urls; } public String[] getUrls() { return urls; } }
106
302
<reponame>sesu089/stackoverflow #include "QDataItemTree.h" #include <QStringList> QDataItemTree::QDataItemTree(const QString &data, QObject *parent) : QAbstractItemModel(parent) { QList<QVariant> rootData; rootData << data; rootItem = new QDataItem(rootData); } QDataItemTree::~QDataItemTree() { delete rootI...
1,497
942
<filename>soft_renderer/rasterizer.py import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import soft_renderer.functional as srf class SoftRasterizer(nn.Module): def __init__(self, image_size=256, background_color=[0, 0, 0], near=1, far=100, anti_aliasing=False...
1,200
2,151
// 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. #ifndef IOS_CHROME_BROWSER_UI_HISTORY_POPUP_TAB_HISTORY_CELL_H_ #define IOS_CHROME_BROWSER_UI_HISTORY_POPUP_TAB_HISTORY_CELL_H_ #import <UIKit/UIKit.h> ...
340
359
<reponame>GitMusixin/dew<gh_stars>100-1000 /* * Copyright 2021. 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 * * http://www.apache.org/licenses/L...
2,402
587
package org.lightadmin.test.model; import org.lightadmin.demo.model.AbstractEntity; import javax.persistence.Entity; import javax.persistence.ManyToMany; import java.util.Set; @Entity public class TestAddress extends AbstractEntity { private String street, city, country; @ManyToMany( mappedBy = "shippingAddress...
291
754
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
603
471
<reponame>Zhongren233/forest package com.dtflys.test.http.client; import com.dtflys.forest.annotation.Post; import com.dtflys.forest.callback.OnLoadCookie; import com.dtflys.forest.callback.OnSaveCookie; import com.dtflys.forest.http.ForestResponse; import com.dtflys.test.interceptor.CookieInterceptor; /** * @author...
501
516
<gh_stars>100-1000 package org.asciidoctor.util; import java.io.File; import java.io.FileNotFoundException; import java.net.URISyntaxException; import java.net.URL; /** * Hels getting files from the classpath. */ public class ClasspathHelper { private ClassLoader classloader; /** * Gets a resourse in...
548
809
/** * @file * * @date Jul 31, 2018 * @author <NAME> */ #ifndef SRC_DRIVERS_GPMC_OMAP_GPMC_H_ #define SRC_DRIVERS_GPMC_OMAP_GPMC_H_ /* GPMC Registers Mapping Summary (address offsets) */ #define GPMC_REVISION 0x00 #define GPMC_SYSCONFIG 0x10 #define GPMC_SYSSTATUS 0x14 #define GPMC_IRQ...
1,038
861
<reponame>scotthufeng/spring-cloud-gray<filename>spring-cloud-gray-client/src/main/java/cn/springcloud/gray/web/tracker/HttpGrayInfoTracker.java package cn.springcloud.gray.web.tracker; import cn.springcloud.gray.request.GrayHttpTrackInfo; import cn.springcloud.gray.request.GrayInfoTracker; import cn.springcloud.gray....
142
513
// https://www.interviewbit.com/problems/best-time-to-buy-and-sell-stocks-ii/ int Solution::maxProfit(const vector<int> &A) { // Do not write main() function. // Do not read input, instead use the arguments to the function. // Do not print the output, instead return values as specified // Still have a...
292
922
<filename>lulu/extractors/wanmen.py #!/usr/bin/env python import json from lulu.common import ( match1, get_content, ) from lulu.util import log from lulu.extractors.bokecc import bokecc_download_by_id __all__ = [ 'wanmen_download', 'wanmen_download_by_course', 'wanmen_download_by_course_topic', ...
1,657
2,113
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the SCEA Shared Source License, Version 1.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://research.scea.com/scea_shared_source_license.html * * Unless re...
1,149
930
package com.dianping.pigeon.remoting.common.monitor.trace; import org.apache.commons.lang.StringUtils; /** * Created by andy on 17/6/15. */ public class UrlUtils { public static boolean url(String url) { if (StringUtils.isNotBlank(url) && url.startsWith("/")) { return true; } ...
149
1,467
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_YAC_CRYPTO_PROVIDER_IMPL_HPP #define IROHA_YAC_CRYPTO_PROVIDER_IMPL_HPP #include "consensus/yac/yac_crypto_provider.hpp" #include "cryptography/keypair.hpp" #include "logger/logger_fwd.hpp" namespace i...
355
3,428
{"id":"01447","group":"easy-ham-1","checksum":{"type":"MD5","value":"98e4b20ceb192594e992f7db9f8dfc53"},"text":"From <EMAIL> Fri Sep 6 19:37:06 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy@localhost.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id D0...
1,560
945
/*========================================================================= * * Copyright NumFOCUS * * 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,347
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,511
14,668
// 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 CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_RESOURCE_REQUEST_INCIDENT_H_ #define CHROME_BROWSER_SAFE_BROWSING_INCIDENT_REPORTING_RESOURCE_REQU...
397
1,144
package de.metas.handlingunits.document.impl; /* * #%L * de.metas.handlingunits.base * %% * Copyright (C) 2015 metas GmbH * %% * 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 ver...
478
347
package org.ovirt.engine.core.common.businessentities; public interface Commented { String getComment(); void setComment(String value); }
45
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Chemilly","circ":"1ère circonscription","dpt":"Haute-Saône","inscrits":77,"abs":30,"votants":47,"blancs":3,"nuls":1,"exp":43,"res":[{"nuance":"FN","nom":"Mme <NAME>","voix":29},{"nuance":"REM","nom":"Mme <NAME>","voix":14}]}
113
743
package pl.allegro.tech.hermes.consumers.consumer.sender; import pl.allegro.tech.hermes.api.EndpointAddress; import pl.allegro.tech.hermes.api.EndpointAddressResolverMetadata; import pl.allegro.tech.hermes.consumers.consumer.batch.MessageBatch; public interface MessageBatchSender { MessageSendingResult send(Messa...
133
11,750
import _plotly_utils.basevalidators class AddValidator(_plotly_utils.basevalidators.StringValidator): def __init__(self, plotly_name="add", parent_name="layout.modebar", **kwargs): super(AddValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, arr...
204