max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
333
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 设备订单创建 * * @author auto create * @since 1.0, 2021-08-24 20:32:33 */ public class AlipayCommerceOperationTerminalPowerbankorderInitializeModel extends AlipayObject { private sta...
729
308
package org.getopentest.actions.codecs; import java.io.FileInputStream; import java.io.InputStream; import java.util.Base64; import jdk.nashorn.api.scripting.ScriptObjectMirror; import org.apache.commons.io.IOUtils; import org.getopentest.base.TestAction; import org.getopentest.util.TypeUtil; public class EncodeBase6...
963
1,562
/************************************************************************* * * REALM CONFIDENTIAL * __________________ * * [2011] - [2016] Realm Inc * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Realm Incorporated and its suppliers, * if any. The int...
1,529
2,138
<reponame>lbnt1982/jeecg package org.jeecgframework.web.cgform.util; import java.util.Map; import com.alibaba.fastjson.JSONObject; /** * $.ajax后需要接受的JSON * * @author * */ public class TableJson { private boolean success = true;// 是否成功 private String msg = "操作成功";// 提示信息 private Integer tableType; private...
510
1,139
package com.journaldev.struts2.util; import java.util.Comparator; public class StringComparator implements Comparator<String> { @Override public int compare(String param1, String param2) { return param1.compareToIgnoreCase(param2); } }
81
5,169
{ "name": "ROGoogleTranslate", "version": "0.0.1", "license": { "type": "MIT" }, "homepage": "https://github.com/prine/ROGoogleTranslate", "authors": { "<NAME>": "<EMAIL>" }, "summary": "Simplifies the usage of the Google Translate API via Swift", "source": { "git": "https://github.com/pri...
199
385
<gh_stars>100-1000 // Copyright 2020 <NAME> #ifndef SRC_PATHS_H_ #define SRC_PATHS_H_ #include <string> using std::string; string normalize_path(string path); string basename(string path); #endif // SRC_PATHS_H_
92
50,404
<reponame>liminghao1630/transformers # coding=utf-8 # Copyright 2020 The HuggingFace Team. 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/l...
735
1,337
<filename>modules/core/test/com/haulmont/cuba/primary_keys/IdentityUuidTest.java<gh_stars>1000+ /* * Copyright (c) 2008-2016 Haulmont. * * 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 * ...
1,973
480
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
5,790
5,169
<reponame>Gantios/Specs<filename>Specs/5/6/e/StaticTableViewDatasource/1.1.0/StaticTableViewDatasource.podspec.json { "name": "StaticTableViewDatasource", "version": "1.1.0", "summary": "Create static table views in a declarative style", "homepage": "https://github.com/EcolabPestServices/StaticTableViewDatasour...
290
312
//----------------------------------------------------------------------------- // Copyright (c) 2013 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 without restrictio...
754
778
<gh_stars>100-1000 //--------------------------------------------------------------------------------------------------------------------// // // // Tuplex: Blazing Fas...
11,253
5,169
{ "name": "CWCrashProtect", "version": "0.0.2", "summary": "CWCrashProtect 线上崩溃保护库", "description": "avoid common OC crash", "homepage": "https://github.com/ChengwenY/CrashProtect.git", "license": "MIT", "authors": { "ChengwenY": "<EMAIL>" }, "platforms": { "ios": "9.0" }, "source": { ...
206
567
<gh_stars>100-1000 package com.google.bigquery.utils.zetasqlhelper; import com.google.zetasql.ParseLocationRangeProto; import lombok.Getter; import java.util.List; import java.util.stream.Collectors; /** * Range of q function. It includes the ranges of function body, name, and its arguments. */ @Getter public clas...
381
310
<filename>gear/hardware/k/k2.2.json { "name": "K2", "description": "A wireless mechanical keyboard.", "url": "https://www.keychron.com/products/keychron-k2-wireless-mechanical-keyboard" }
74
569
<reponame>wookayin/reverb // Copyright 2019 DeepMind Technologies Limited. // // 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 // // Unles...
5,817
778
from KratosMultiphysics import * from KratosMultiphysics.DamApplication import * def Factory(settings, Model): if(not isinstance(settings,Parameters)): raise Exception("expected input shall be a Parameters object, encapsulating a json string") return ImposeNodalReferenceTemperatureProcess(Model, sett...
714
5,169
<gh_stars>1000+ { "name": "NEMobilyticsDyn", "version": "2.2.11", "summary": "NEMobilyticsDyn is an iOS tracking tools for Netease(dynamic framework).", "description": "NEMobilyticsDyn an iOS tracking tools for NetEase Internal Usage. This is the dynamic version.\nGenarally NEMobilytics (static framework) is re...
284
672
<reponame>1079278593/TreasureChest #include <stdbool.h> #include <stdlib.h> #include <dlfcn.h> bool foo() { return (dlopen("./libbar.dylib", RTLD_NOW) != NULL); }
74
372
/* * 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 distributed under t...
2,575
3,091
<filename>gfootball/env/event_queue.py<gh_stars>1000+ # coding=utf-8 # Copyright 2019 Google LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
526
714
/** * */ package com.mcxiaoke.minicat.util; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Build; import android.provider.Settings; import android.telephony.TelephonyMan...
1,783
711
package com.java110.community.api; import com.java110.community.bmo.assets.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; impor...
1,406
1,600
<filename>retopoflow/rfwidget.py ''' Copyright (C) 2021 CG Cookie http://cgcookie.com <EMAIL> Created by <NAME>, <NAME>, and <NAME> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either...
2,537
2,293
<gh_stars>1000+ from dynaconf import settings def test_has_wrapped(): assert settings.configured is True
36
4,901
/* GENERATED SOURCE. DO NOT MODIFY. */ // © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 1996-2010, International Business Machines Corporation and ...
1,948
1,217
#pragma once #include "BaseDispatchPass.hpp" namespace My { class RayTracePass : public BaseDispatchPass { void Dispatch(Frame& frame) final; }; } // namespace My
55
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.resources.models; import com.azure.core.annotation.Fluent; import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.PagedIterable; import com.azure.resourcemanager.resour...
698
679
<reponame>Grosskopf/openoffice /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The...
2,217
1,322
<filename>flexget/plugins/metainfo/__init__.py """Plugins for "metainfo" task phase."""
32
942
#include "../src/tjavascriptobject.h"
13
507
<reponame>mjuenema/python-terrascript # terrascript/resource/alxrem/jsonnet.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:19:39 UTC) __all__ = []
64
1,975
<reponame>gmlueck/llvm-test-suite<gh_stars>1000+ // 7zIn.cpp #include "StdAfx.h" #include "../../../../C/7zCrc.h" #include "../../../../C/CpuArch.h" #include "../../Common/StreamObjects.h" #include "../../Common/StreamUtils.h" #include "7zDecode.h" #include "7zIn.h" #define Get16(p) GetUi16(p) #define Get32(p) Get...
14,058
318
<filename>src/main/java/techreborn/blocks/machine/tier1/ResinBasinBlock.java /* * This file is part of TechReborn, licensed under the MIT License (MIT). * * Copyright (c) 2020 TechReborn * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
1,427
427
<filename>src/SOS/lldbplugin/swift-4.1/lldb/Host/ConnectionFileDescriptor.h //===-- ConnectionFileDescriptor.h ------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT ...
185
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. // ------------------------------------------------------------ #include "stdafx.h" using nam...
334
903
<filename>trunk/win/Source/Includes/QtIncludes/include/QtGui/private/qtreeview_p.h #include "../../../src/gui/itemviews/qtreeview_p.h"
56
488
// modified version of d0040.cc where I attempt to explicitly put in // the implicit copy ctor; g++ won't compile this // NOTE: this is not legal C++ struct ip_opts { char ip_opts[40]; ip_opts(ip_opts const &other) : ip_opts(other.ip_opts) {} };
95
892
<filename>advisories/unreviewed/2022/04/GHSA-pf6q-9mfr-5g34/GHSA-pf6q-9mfr-5g34.json { "schema_version": "1.2.0", "id": "GHSA-pf6q-9mfr-5g34", "modified": "2022-04-29T02:59:33Z", "published": "2022-04-29T02:59:33Z", "aliases": [ "CVE-2004-1427" ], "details": "PHP remote file inclusion vulnerability in...
580
348
<filename>docs/data/leg-t2/059/05919179.json {"nom":"Douchy-les-Mines","circ":"19ème circonscription","dpt":"Nord","inscrits":7228,"abs":4551,"votants":2677,"blancs":156,"nuls":60,"exp":2461,"res":[{"nuance":"FN","nom":"<NAME>","voix":1443},{"nuance":"MDM","nom":"<NAME>","voix":1018}]}
120
307
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #include "stdafx.h" #include "FRED.h" #include "FREDDoc.h" #include "Pla...
14,400
411
<reponame>khotitekofe/saw-script extern unsigned x; unsigned f(unsigned i) { if (i < 42) { return i; } x = i; return i; } unsigned g(unsigned i) { return f(i); }
81
468
#include <memory> #include "Debug.h" #include "Save.h" #include "Utility.h" extern "C" { #include <jpeglib.h> } #ifdef GLI_CHANGES namespace corona { bool SaveJPEG(File* file, Image* image) { COR_GUARD("SaveJPEG"); if (!image) { return false; } //Hack for now FILE* filePtr = (FILE*)file...
743
4,047
<reponame>kira78/meson { "installed": [ {"type": "expr", "file": "usr/lib/?libinstalled_vala_lib.so"}, {"type": "file", "platform": "cygwin", "file": "usr/lib/libinstalled_vala_lib.dll.a"}, {"type": "expr", "file": "usr/lib/?libinstalled_vala_all.so"}, {"type": "file", "platform": "cygwin", "file": "u...
358
852
#include "FWCore/Framework/interface/MakerMacros.h" #include "RecoJets/JetPlusTracks/plugins/JetPlusTrackProducer.h" #include "RecoJets/JetPlusTracks/plugins/JetPlusTrackProducerAA.h" DEFINE_FWK_MODULE(JetPlusTrackProducer); DEFINE_FWK_MODULE(JetPlusTrackProducerAA);
102
1,695
<gh_stars>1000+ {"commitInfo":{"timestamp":1614676969937,"userId":"1869632849032566","userName":"<EMAIL>","operation":"WRITE","operationParameters":{"mode":"Append","partitionBy":"[]"},"notebook":{"notebookId":"3089046729149096"},"clusterId":"1103-105745-dial507","readVersion":0,"isolationLevel":"WriteSerializable","is...
581
4,200
<reponame>kbens/rundeck /* * Copyright 2012 DTO Labs, Inc. (http://dtolabs.com) * * 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,488
1,023
[ { "output": "src/plugins/telemetry/schema/oss_plugins.json", "root": "src/plugins/", "exclude": [ "src/plugins/opensearch_dashboards_react/", "src/plugins/testbed/", "src/plugins/opensearch_dashboards_utils/" ] } ]
117
5,939
<reponame>xuwei-k/finagle package com.twitter.finagle.mysql; import org.junit.Test; import org.mockito.Matchers; import org.mockito.Mockito; import com.twitter.util.Future; public final class PreparedStatementCompilationTest { private PreparedStatement.AsJava preparedStatement() { PreparedStatement stmt = Moc...
595
372
<filename>lwmsg/include/test-private.h /* * 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 compliance with the License. * You may obtain a copy of the License at * * http://www.a...
1,433
445
/**************************************************************************** * PROJECT: Squeak foreign function interface * FILE: sqFFI.h * CONTENT: Declarations for the foreign function interface's surface support plus optional declaration of the sqFFITestFuncs.c test suite. * * AUTHOR: <NAME> (ar) * ...
4,072
534
package mekanism.common.lib; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Test WildcardMatcher implementation") class WildcardMatcherTest { @Test @DisplayName("Test universal wildcard") void testUniversalWildcard() { ...
893
2,317
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/foreach.hpp> #include <iostream> #include <libnotify.h> #ifdef __clang__ # define COMPILER "clang++" #else # define COMPILER "g++" #endif using namespace std; struct coordinate_t { double x; double y; double...
769
435
{ "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "Montreal, March 10, 2014 - <NAME>, founder of the hockey startup 20Skaters.com based in Guelph, Ontario, invites Python folks from the Toronto area to join him for a social train ride to PyCon 2014 and 2015 in Montreal.\n\n*...
573
708
<reponame>xaipient/AIF360 from collections import OrderedDict import json from aif360.explainers import MetricTextExplainer from aif360.metrics import BinaryLabelDatasetMetric class MetricJSONExplainer(MetricTextExplainer): """Class for explaining metric values in JSON format. These briefly explain what a m...
14,625
8,747
// Copyright 2019 Espressif Systems (Shanghai) PTE 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 applic...
2,425
3,372
<reponame>rbalamohan/aws-sdk-java /* * Copyright 2010-2021 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.c...
4,731
2,023
<filename>recipes/Python/577922_partial_out_order/recipe-577922.py from functools import partial from inspect import getargspec, ismethod def keywords_first(f): def wrapper(*a, **k): a = list(a) #for idx, arg in enumerate(f.func_code.co_varnames[:f.func_code.co_argcount], -ismethod(f)): for...
503
365
package org.superboot.global.wrapper; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.xiaoleilu.hutool.crypto.asymmetric.KeyType; import com.xiaoleilu.hutool.crypto.asymmetric.RSA; import com.xiaoleilu.hutool.lang.Base64; import com.xiaoleilu....
4,176
530
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
3,433
575
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_AUDIO_GROUP_COORDINATOR_IMPL_H_ #define SERVICES_AUDIO_GROUP_COORDINATOR_IMPL_H_ #include "base/compiler_specific.h" #include "base/no_d...
2,118
418
<gh_stars>100-1000 #!/usr/bin/env python -Es """ Script that creates bcbio-compatible inputs in case of multiple files samples """ import os import sys import yaml from collections import defaultdict from argparse import ArgumentParser from bcbio import log from bcbio.log import logger from bcbio.install import _get_...
4,006
854
__________________________________________________________________________________________________ 4ms class Solution { public: int removeElement(vector<int>& nums, int val) { int tmp_size = nums.size(); int i = 0; while(i < tmp_size) { if(nums[i] == val) { ...
1,466
335
{ "word": "Agile", "definitions": [ "able to move quickly and easily", "relating to or denoting a method of project management, used especially for software development" ], "parts-of-speech": "Adjective" }
87
1,073
<reponame>kpdev/llvm-tnt<gh_stars>1000+ //===- IPDBFile.h - Abstract base class for a PDB file ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------...
559
3,834
package org.enso.interpreter.node.controlflow.caseexpr; import com.oracle.truffle.api.RootCallTarget; import com.oracle.truffle.api.dsl.Cached; import com.oracle.truffle.api.dsl.Fallback; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.i...
644
7,482
/****************************************************************************** * Copyright (c) 2014 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /****************************************************************...
8,189
1,013
<filename>pyclustering/core/syncnet_wrapper.py """! @brief CCORE Wrapper for syncnet clustering algorithm. @authors <NAME> (<EMAIL>) @date 2014-2020 @copyright BSD-3-Clause """ from pyclustering.core.wrapper import * from pyclustering.core.pyclustering_package import package_builder def syncnet_crea...
493
771
<reponame>revolunet/tiny-helpers { "name": "PWA builder", "desc": "Quickly and easily turn your website into an app", "url": "https://www.pwabuilder.com/", "tags": [ "PWA" ], "maintainers": [], "addedAt": "2020-01-26" }
104
675
#pragma once #include "engine/core/math/Transform.h" namespace Echo { class SplineTransform { public: // Forward enum ForwardAxis { X, Y, Z }; public: SplineTransform(){} ~SplineTransform(){} // Calc slice transform at spline offset Transform calcSliceTransformAtSplineOffset(const float...
462
652
<gh_stars>100-1000 #include "_avrt.h" /* vim: set ts=8 sw=4 sts=4 tw=80 et: */
80
1,311
<reponame>All8Up/JoltPhysics // SPDX-FileCopyrightText: 2021 <NAME> // SPDX-License-Identifier: MIT #pragma once #include <Core/StaticArray.h> #include <Core/LockFreeHashMap.h> #include <Physics/Body/BodyPair.h> #include <Physics/Collision/Shape/SubShapeIDPair.h> #include <Physics/Collision/ManifoldBetweenTwoFaces.h>...
7,106
587
/* * Copyright (C) 2013 salesforce.com, 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 ...
556
435
{ "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "Join us as we explore the modern landscape of Two Factor Authentication\n(2FA). This talk will discuss the history of authentication, why 2FA is a\nnecessary security layer, and introduce the different types of factors\navai...
418
1,357
<filename>MTHawkeye/NetworkPlugins/Inspect/Core/MTHNetworkTaskInspectionAPIUsage.h // // Copyright (c) 2008-present, Meitu, Inc. // All rights reserved. // // This source code is licensed under the license found in the LICENSE file in // the root directory of this source tree. // // Created on: 25/08/2017 // Created by...
2,096
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Barembach","circ":"6ème circonscription","dpt":"Bas-Rhin","inscrits":669,"abs":359,"votants":310,"blancs":1,"nuls":1,"exp":308,"res":[{"nuance":"MDM","nom":"<NAME>","voix":115},{"nuance":"LR","nom":"<NAME>","voix":92},{"nuance":"FN","nom":"Mme <NAME>","voix":36},{"nuance...
329
476
<reponame>sshardool/presto-1 /* * 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 w...
986
640
// // Created by jameshuang on 16-12-13. // #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #include <glog/logging.h> #include <cstdio> #include <cstdlib> #include <cstring> #include <sstream> #include <fstream> #include <thread> #include "Server.h" #include "const.h" using namespace std; using st...
6,007
990
from tree import tree SP = '\N{SPACE}' HLIN = '\N{BOX DRAWINGS LIGHT HORIZONTAL}' # ─ ELBOW = f'\N{BOX DRAWINGS LIGHT UP AND RIGHT}{HLIN*2}{SP}' # └── TEE = f'\N{BOX DRAWINGS LIGHT VERTICAL AND RIGHT}{HLIN*2}{SP}' # ├── PIPE = f'\N{BOX DRAWINGS LIGHT VERTICAL}{SP*3}' ...
387
852
#ifndef RecoTracker_FinalTrackSelectors_DuplicateTrackType_h #define RecoTracker_FinalTrackSelectors_DuplicateTrackType_h enum class DuplicateTrackType { NotDuplicate = 0, // default Disjoint, // tracks are disjoint Overlapping, // tracks overlap }; #endif
103
371
<filename>concourse-driver-java/src/main/java/com/cinchapi/concourse/lang/BuildableState.java<gh_stars>100-1000 /* * Copyright (c) 2013-2021 Cinchapi 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 o...
846
1,178
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
521
593
<filename>TLS-Core/src/test/java/de/rub/nds/tlsattacker/core/protocol/parser/extension/RequestItemV2ParserTest.java /** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2022 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2....
1,174
410
{ "loadingWorkspaceCloning": "Now cloning code...", "loadingWorkspaceCloneFailed": "Clone failed", "offline": "Offline", "recloneWorkspace": "Try clone again", "requestingCollaboration": "You have requested collaboration", "online": "Online", "loadingWorkspaceDenied": "Loading workspace denied", ...
232
573
// Copyright 2015, VIXL authors // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions ...
60,099
348
{"nom":"Thil","circ":"1ère circonscription","dpt":"Aube","inscrits":107,"abs":33,"votants":74,"blancs":0,"nuls":0,"exp":74,"res":[{"nuance":"LR","nom":"<NAME>","voix":42},{"nuance":"REM","nom":"<NAME>","voix":18},{"nuance":"FN","nom":"<NAME>","voix":14}]}
102
379
<gh_stars>100-1000 /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.oim.swing.common.box; import java.awt.Image; import java.util.HashMap; import com.oim.swing.common.util.ImageIconUtil; /** * 为了减少io操作,系统中用到的一些 * * @author Hero */ public class Image...
723
650
<filename>contrib/opencensus-ext-ocagent/opencensus/ext/ocagent/utils/__init__.py import datetime import os import socket from google.protobuf.timestamp_pb2 import Timestamp from opencensus.common.version import __version__ as opencensus_version from opencensus.proto.agent.common.v1 import common_pb2 # Default agent...
778
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Prescriptive", "definitions": [ "Relating to the imposition or enforcement of a rule or method.", "Attempting to impose rules of correct usage on the users of a language.", "(of a right, title, or institution) having become legally established...
160
348
{"nom":"Ribagnac","circ":"2ème circonscription","dpt":"Dordogne","inscrits":254,"abs":128,"votants":126,"blancs":10,"nuls":4,"exp":112,"res":[{"nuance":"REM","nom":"<NAME>","voix":60},{"nuance":"FN","nom":"<NAME>","voix":52}]}
91
575
<filename>ui/accessibility/platform/inspect/ax_tree_formatter_base.cc // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/accessibility/platform/inspect/ax_tree_formatter_base.h" #include "bas...
2,904
435
<filename>pycon-es-2018/videos/pipenv-andreu-vallbona-pycones-2018.json<gh_stars>100-1000 { "copyright_text": null, "description": "Pipenv, creado por <NAME> hace poco m\u00e1s de un a\u00f1o, se ha convertido en el recurso oficial recomendado por Python para administrar dependencias de paquetes.\n\nPero todav\u00e...
486
364
<reponame>matus-chochlik/oglplus /* * Copyright 2014-2019 <NAME>. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ //[oglplus_dsa_buffer_1 #if GL_VERSION_4_5 || GL_ARB_direct_state_access template <> class...
2,964
372
/* * 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 distributed under t...
1,218
6,098
<gh_stars>1000+ package hex.genmodel.attributes; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import hex.genmodel.GenModelTest; import org.junit.Test; import java.io.*; import java.net.URL; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; public clas...
1,227
784
<reponame>hejiang123/jboot<filename>src/test/java/io/jboot/test/join/model/Category.java package io.jboot.test.join.model; import io.jboot.db.annotation.Table; import io.jboot.db.model.JbootModel; @Table(tableName = "category",primaryKey = "id") public class Category extends JbootModel<Category> { /** `id`...
377
1,046
# TODO: coding import unittest from re import match from pynes.game import Game, Joypad class JoypadTest(unittest.TestCase): def test_joypad1(self): joypad_1 = Joypad(1, Game()) self.assertFalse(joypad_1.is_used) self.assertEquals('', joypad_1.to_asm()) def test_joypad2(self): ...
546
543
/* * Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
1,716
2,071
<gh_stars>1000+ /* * Copyright 2019 WeBank * 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...
365