max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
333
<reponame>sinicyn/ReactFX<filename>reactfx/src/main/java/org/reactfx/StateMachine.java package org.reactfx; import static org.reactfx.util.LL.*; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.function.BiFunction; import java.util.function.Consumer; import java.util.func...
4,566
372
<gh_stars>100-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 ...
615
2,338
S1(1, 1, 5);
10
778
<filename>shared/source/gen9/hw_info_gen9.cpp<gh_stars>100-1000 /* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/gen9/hw_info_gen9.h" namespace NEO { const char *GfxFamilyMapper<IGFX_GEN9_CORE>::name = "Gen9"; } // namespace NEO
116
3,459
typedef struct { int openemuButton; int value; } keymap; typedef struct { keymap gc_pad_keymap[22] = { {OEGCButtonUp, 0}, {OEGCButtonDown, 0}, {OEGCButtonLeft, 0}, {OEGCButtonRight, 0}, {OEGCAnalogUp, 0}, {OEGCAnalogDown, 0}, {OEGCAnalogLeft, 0}, ...
1,683
437
<gh_stars>100-1000 import ply.lex as lex from . import logger from .exception.illegalcharacter import IllegalCharacter class ConditionLexer(object): reserved = { 'and': 'AND', 'or': 'OR' } tokens = [ 'CONDITION', 'NUMBER', 'LT', 'GT', 'LPAREN', 'RPAREN', ] + list...
515
3,402
<reponame>ApacheSourceCode/kylin /* * 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, Ver...
607
1,702
/* * Copyright 2014-2018 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
718
458
<filename>swim-java/swim-runtime-java/swim-core-java/swim.http2/src/main/java/swim/hpack/HuffmanTree.java // Copyright 2015-2021 Swim 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 ...
777
2,171
<reponame>sthagen/stan-dev-stan #include <stan/services/util/create_unit_e_diag_inv_metric.hpp> #include <stan/services/util/create_unit_e_dense_inv_metric.hpp> #include <stan/services/util/read_diag_inv_metric.hpp> #include <stan/services/util/read_dense_inv_metric.hpp> #include <stan/services/util/validate_diag_inv_m...
162
310
<filename>doma-core/src/main/java/org/seasar/doma/jdbc/criteria/statement/EmptySql.java package org.seasar.doma.jdbc.criteria.statement; import java.util.Collections; import java.util.List; import java.util.Objects; import org.seasar.doma.jdbc.InParameter; import org.seasar.doma.jdbc.Sql; import org.seasar.doma.jdbc.S...
410
1,644
<reponame>weiminyu/nomulus<gh_stars>1000+ // Copyright 2020 The Nomulus 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/licen...
648
538
package com.wangjie.androidbucket.support.recyclerview.adapter.extra; import android.view.View; import com.wangjie.androidbucket.support.recyclerview.adapter.ABRecyclerViewHolder; /** * Author: wangjie * Email: <EMAIL> * Date: 1/22/15. */ public class ABRecyclerViewTypeExtraHolder extends ABRecyclerViewHolder { ...
288
778
/* * Copyright (C) 2020-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/kernel/read_extended_info.h" namespace NEO { void readExtendedInfo(std::unique_ptr<ExtendedInfoBase> &extendedInfo, const iOpenCL::SPatchExecutionEnvironment &execEnv) {} } // namespace NEO
101
918
<gh_stars>100-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 "...
966
721
/* * Copyright 2018 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.0 * * Unless required by applicable law or agreed to ...
2,629
1,953
<filename>grails-test-suite-uber/src/test/groovy/org/grails/web/plugins/support/MyHandlerInterceptor.java package org.grails.web.plugins.support; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.HandlerInterceptor; import org.spr...
294
690
<filename>artemis-build-tools/artemis-weaver/src/main/java/com/artemis/weaver/TypedOpcodes.java<gh_stars>100-1000 package com.artemis.weaver; import static com.artemis.meta.ClassMetadataUtil.instanceFieldTypes; import org.objectweb.asm.Opcodes; import com.artemis.meta.ClassMetadata; import com.artemis.meta.FieldDesc...
2,703
8,969
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/heap/pages.h" #include "platform/assert.h" #include "vm/unit_test.h" namespace dart { TE...
386
2,542
<filename>src/prod/src/data/utilities/ConcurrentHashTableEnumerator.h // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ----------------------...
2,010
2,151
// Copyright 2018 The Feed 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...
1,648
1,116
import os import pytest from textwrap import dedent from traitlets.config import Config from .base import BaseTestPreprocessor from .. import create_code_cell, create_text_cell, create_task_cell from ...preprocessors import ClearMarkScheme @pytest.fixture def preprocessor(): return ClearMarkScheme() class Tes...
1,605
1,251
<gh_stars>1000+ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #include "blingfire-compile_src_pch.h" #include "FAConfig.h" #include "FAUnAmbiguous.h" #include "FARSNfaA.h" #include "FAMealyNfaA.h" #include "FALessA.h" #include "FAUtils.h" namesp...
4,126
1,080
<reponame>congnt95/neutron<filename>neutron/services/trunk/drivers/openvswitch/driver.py # Copyright 2016 Hewlett Packard Enterprise Development LP # # 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 Licens...
987
4,879
#include "testing/testing.hpp" #include "geometry/diamond_box.hpp" #include "geometry/point2d.hpp" using namespace m2; namespace { UNIT_TEST(DiamondBox_Smoke) { { DiamondBox dbox; TEST(!dbox.HasPoint(0, 0), ()); } { DiamondBox dbox; dbox.Add(0, 0); TEST(dbox.HasPoint(0, 0), ()); TEST(!...
595
469
/** * Copyright 2021 Viridian Software Ltd. */ package org.mini2Dx.uats.desktop; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Files; import org.lwjgl.Sys; import org.mini2Dx.core.Mdx; import org.mini2Dx.core.di.BasicComponentScanner; import org.mini2Dx.core.di.annotation.Prototype; impo...
1,544
1,475
/* * 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 n...
1,495
1,781
<reponame>yulin2/UltimateAndroid package com.marshalchen.common.uimodule.motion; import android.content.Context; import android.hardware.SensorEvent; import android.view.Surface; import android.view.WindowManager; /* * Copyright 2014 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you...
1,911
872
#!/usr/bin/python3 """ Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your task is to find the smallest possible length of a (contiguous) subarray of nums, that has the same degree as nums. Example 1: Input: [1, 2, 2, 3, ...
723
428
<gh_stars>100-1000 typedef int start[2];
18
414
// // RealTimeLocationDefine.h // SealTalk // // Created by Jue on 2020/1/7. // Copyright © 2020 RongCloud. All rights reserved. // #ifndef RealTimeLocationDefine_h #define RealTimeLocationDefine_h #import <RongIMKit/RCKitCommonDefine.h> #define RTLLocalizedString(key) NSLocalizedStringFromTable(key, @"RealTimeLoc...
583
2,160
<filename>tests/test_jobs.py # Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import json import os import subprocess from textwrap import dedent import pytest from pex.interpreter import spawn_python_job from pex.jobs import _ABSOLUTE...
1,625
310
{ "name": "Photosmart C4580", "description": "An all-in-one printer/scanner/copier.", "url": "https://www.amazon.com/HP-Photosmart-C4580-All-in-One-Printer/dp/B00188K75Q" }
76
3,670
# Copyright 2020 The TensorFlow Probability 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 o...
7,331
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Quemigny-sur-Seine","circ":"4ème circonscription","dpt":"Côte-d'Or","inscrits":97,"abs":49,"votants":48,"blancs":6,"nuls":0,"exp":42,"res":[{"nuance":"REM","nom":"<NAME>","voix":24},{"nuance":"LR","nom":"<NAME>","voix":18}]}
126
312
#!/usr/bin/env python # Simple script to generate a lot of neighbors. This uses scapy. It # needs a version of Scapy that contains an LLDP dissector. There is # one in the scapy community repository: # https://hg.secdev.org/scapy-com/file/dc0876d1c302/scapy/layers/lldp.py from scapy.all import * from optparse import...
531
351
<filename>python/app/thirdparty/dirsearch/lib/core/dictionary.py # -*- coding: utf-8 -*- # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option...
3,594
1,886
from __future__ import annotations import ast from compiler.strict.rewriter import AnnotationRemover, remove_annotations from textwrap import dedent from typing import cast, final from .common import StrictTestBase @final class AnnotationRemoverTests(StrictTestBase): def test_annotation_remover(self) -> None: ...
1,451
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/063/06302225.json {"nom":"Messeix","circ":"2ème circonscription","dpt":"Puy-de-Dôme","inscrits":998,"abs":545,"votants":453,"blancs":23,"nuls":23,"exp":407,"res":[{"nuance":"SOC","nom":"<NAME>","voix":272},{"nuance":"REM","nom":"<NAME>","voix":135}]}
135
965
<filename>docs/mfc/reference/codesnippet/CPP/cwnd-class_20.h class CGenocx : public CWnd { protected: DECLARE_DYNCREATE(CGenocx) public: CLSID const &GetClsid() { static CLSID const clsid = {0x20DD1B9E, 0x87C4, 0x11D1, {0x8B, 0xE3, 0x0, 0x0, 0xF8, 0x75, 0x4D, 0xA1}}; return clsid; } // This ...
393
362
// Copyright (c) 2018-2020, <NAME>. For more information see 'LICENSE' #pragma once #ifdef FG_ENABLE_DEVIL #include "scene/Loader/ImageSaver.h" namespace FG { // // DevIL Image Saver // class DevILSaver final : public IImageSaver { // methods public: bool SaveImage (StringView filename, const IntermIma...
146
2,151
// Copyright 2017 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
926
13,566
package com.appsmith.server.solutions; import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginError; import com.appsmith.external.exceptions.pluginExceptions.AppsmithPluginException; import com.appsmith.external.exceptions.pluginExceptions.StaleConnectionException; import com.appsmith.external.models.A...
3,965
437
<filename>contract-module/base/contract-vm/src/test/java/contracts/token/ERC20/ERC20Basic.java package contracts.token.ERC20; import io.nuls.contract.sdk.Address; import io.nuls.contract.sdk.Event; import io.nuls.contract.sdk.annotation.View; import java.math.BigInteger; public interface ERC20Basic { @View ...
1,050
359
<gh_stars>100-1000 from typing import List from obsei.payload import TextPayload from pydantic import BaseSettings from abc import abstractmethod class BasePostprocessorConfig(BaseSettings): TYPE: str = "Base" class Config: multi_label = True class BasePostprocessor(BaseSettings): TYPE: str = "...
194
1,144
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,787
777
<gh_stars>100-1000 // 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. #ifndef SensorReading_h #define SensorReading_h #include "bindings/core/v8/ScriptWrappable.h" #include "core/dom/DOMHighResTimeStamp.h...
479
8,027
<gh_stars>1000+ #include "C.h" int get_value_from_c(void) { return 5; }
37
1,309
<gh_stars>1000+ //----------------------------------------------------------------------------- // 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 wi...
10,095
589
<gh_stars>100-1000 // // KKJSBridgeXMLBodyCacheRequest.h // KKJSBridge // // Created by <NAME> on 2020/6/20. // Copyright © 2020 karosli. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** 用于缓存 ajax body */ @interface KKJSBridgeXMLBodyCacheRequest : NSObject + (NSDictionary...
177
1,109
/******************************************************************************* * Copyright 2016 Intuit * <p> * 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 * <p> * http://www.apache.o...
1,679
1,273
package org.broadinstitute.hellbender.tools; import com.google.common.annotations.VisibleForTesting; import htsjdk.samtools.Cigar; import htsjdk.samtools.CigarElement; import htsjdk.samtools.CigarOperator; import org.broadinstitute.barclay.argparser.Argument; import org.broadinstitute.barclay.argparser.BetaFeature; im...
55,368
835
from .._protos.public.uac import Collaborator_pb2 from .._protos.public.common import CommonService_pb2 from ._visibility import _Visibility class OrgCustom(_Visibility): """ Organization-wide access with manually-specified permissions. .. note:: With an older ModelDB backend that does not supp...
888
432
<reponame>hjarvard/DragonFlyBSD<gh_stars>100-1000 /* * Copyright (c) 2007 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permi...
5,979
874
<reponame>orenmnero/lambda<gh_stars>100-1000 package com.jnape.palatable.lambda.functions.builtin.fn3; import com.jnape.palatable.lambda.functions.Fn1; import com.jnape.palatable.lambda.functions.Fn2; import com.jnape.palatable.lambda.functions.Fn3; /** * Given an <code>Iterable</code> of <code>A</code>s, a starting...
847
394
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.apach...
1,148
746
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // This is a precompiled header, it must be on its own, followed by a blank // line, to prevent clang-format from reordering it with other headers. #include "pch.h" #include "global_factory.h" #include "local_video_track_interop.h" #i...
1,330
1,099
package com.example.video.mvp.news.othernew.photo; import android.text.TextUtils; import com.example.commonlibrary.baseadapter.empty.EmptyLayout; import com.example.commonlibrary.mvp.model.DefaultModel; import com.example.commonlibrary.mvp.presenter.BasePresenter; import com.example.commonlibrary.mvp.view.IView; impo...
1,200
585
<gh_stars>100-1000 /** * Copyright (c) 2016-present, Facebook, 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 requ...
3,367
360
// // vectocolor.h // C-Ray // // Created by <NAME> on 15/04/2021. // Copyright © 2021 <NAME>. All rights reserved. // #pragma once const struct colorNode *newVecToColor(const struct world *world, const struct vectorNode *vec);
83
1,355
// Copyright (c) 2018 <NAME> // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <jet/array_utils.h> #include <jet/cell_centered_scalar_grid2.h> #include <jet/cell_centered_scalar...
3,652
2,151
<filename>chrome/browser/chromeos/arc/boot_phase_monitor/arc_boot_phase_monitor_bridge.h<gh_stars>1000+ // 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. #ifndef CHROME_BROWSER_CHROMEOS_ARC_BOOT_PHASE_MON...
1,384
6,958
// // NPUStridedSlice.hpp // MNN // // Created by MNN on 2019/09/07. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef MNN_NPUStridedSlice_HPP #define MNN_NPUStridedSlice_HPP #include "NPUCommonExecution.hpp" #include "NPUBackend.hpp" namespace MNN { class NPUStridedSlice : public NPUCommonExecution ...
392
443
<reponame>Rahul18728/cerl /* ------------------------------------------------------------------------- // WINX: a C++ template GUI library - MOST SIMPLE BUT EFFECTIVE // // This file is a part of the WINX Library. // The use and distribution terms for this software are covered by the // Common Public License 1.0 ...
717
504
<reponame>MansoorHanif/FYP-web-app try: import cProfile as profile except ImportError: import profile import functools import pstats from flask import current_app from flask_debugtoolbar.panels import DebugPanel from flask_debugtoolbar.utils import format_fname class ProfilerDebugPanel(DebugPanel): """ ...
1,769
1,043
<reponame>bunmiedee/Playgrounds // // KZPlaygroundExample.h // KZPPlaygroundHelper // // Created by <NAME> on 19/10/2014. // Copyright (c) 2014 pixle. All rights reserved. // #import <UIKit/UIKit.h> #import "KZPPlayground.h" @interface KZPlaygroundExample : KZPPlayground <KZPActivePlayground> @end
121
521
<reponame>Fimbure/icebox-1<filename>third_party/virtualbox/src/VBox/Runtime/r3/posix/RTMpGetCount-posix.cpp /* $Id: RTMpGetCount-posix.cpp $ */ /** @file * IPRT - RTMpGetCount, POSIX. */ /* * Copyright (C) 2006-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available ...
1,066
1,353
<gh_stars>1000+ package com.twelvemonkeys.servlet.jsp.taglib; import com.twelvemonkeys.util.convert.Converter; import javax.servlet.http.HttpServletRequest; import javax.servlet.jsp.JspException; import javax.servlet.jsp.tagext.Tag; import javax.servlet.jsp.tagext.TagSupport; import java.io.File; import java...
603
317
#include "Common.h" #include "BilateralFilter.h" #include "GuideFilter.h" int main() { cv::Mat msrcImage = cv::imread("imgs/2.jpg"); cv::TickMeter tm; Image srcImage; srcImage.data = (unsigned char *)malloc(msrcImage.rows * msrcImage.cols * msrcImage.channels() * sizeof(unsigned char)); Mat2Image(m...
505
4,054
package org.intellij.sdk.language.psi; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiFileFactory; import com.intellij.psi.util.PsiTreeUtil; import org.intellij.sdk.language.SdFileType; public class SdElementFactory { private static final String GENERAL_FILE_TEXT = "search {document...
460
773
package org.infernus.idea.checkstyle.service.entities; import com.puppycrawl.tools.checkstyle.Checker; import com.puppycrawl.tools.checkstyle.api.Configuration; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class CheckerWithConfig implements HasChecker, HasCsConfig ...
293
515
/* * Copyright 2018-present HiveMQ and the HiveMQ Community * * 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 ...
1,082
2,221
/* * 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 ...
9,304
4,457
{ "main": "dist/trpc-client-links-httpBatchLink.cjs.js", "module": "dist/trpc-client-links-httpBatchLink.esm.js" }
53
493
package com.mozz.htmlnative; import android.support.annotation.IntDef; import android.util.Log; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.SOURCE; /** * @author <NAME>, 17/3/14. */ public final class HNLog { public static final int RENDER = 0; public static...
676
578
/* * Copyright (C) 2016 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
7,419
7,482
<reponame>wuhanstudio/rtthread-nano<gh_stars>1000+ /* * @brief LPC8xx Analog comparator driver * * Copyright(C) NXP Semiconductors, 2012 * All rights reserved. * * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC prod...
1,619
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/WebCore.framework/WebCore */ #import <WebCore/WebCore-Structs.h> #import <WebCore/DOMHTMLElement.h> #import <WebCore/DOMHTMLLinkElement.h> @class NSURL, DOMStyleSheet, NSString; __attribute__((...
1,008
933
<filename>samples/simple/_src/simple.py # -*- coding: utf-8 -*- import logging LOG = logging.getLogger() LOG.setLevel(logging.DEBUG) def handler(event, context): assert context LOG.debug(event) return {'status': 'success'}
90
1,143
// ================================================================================================= // Copyright 2011 Twitter, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
1,622
585
<reponame>madrob/solr /* * 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 * (th...
1,127
474
<reponame>DennyDai/angr-management<gh_stars>100-1000 from PySide2.QtGui import QPainter, QBrush, QColor from PySide2.QtWidgets import QWidget, QSizePolicy, QMessageBox from PySide2.QtCore import Qt, QSize from angr.sim_type import TypeRef, SimUnion, SimStruct, SimTypeBottom from angr.knowledge_plugins.types import Typ...
2,246
3,765
<filename>pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/performance/AbstractAvoidNodeInLoopsRule.java /** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang.apex.rule.performance; import net.sourceforge.pmd.lang.apex.ast.ASTBlockStatement; ...
925
3,459
MD_Cart_Type *MD_Make_Cart_Type_SBB(const md_game_info *ginfo, const uint8 *ROM, const uint32 ROM_size, const uint32 iparam, const char *sparam);
53
1,538
// 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...
1,046
945
{ "name": "brototype", "main": "brototype.js", "homepage": "http://brototypejs.com/", "authors": [ "<NAME> <<EMAIL>>" ], "description": "Bro, do you even Javascript?", "moduleType": [ "amd" ], "keywords": [ "brototype", "bro" ], "license": "MIT", "ignore": [ "**/.*", "nod...
180
892
<filename>advisories/unreviewed/2022/05/GHSA-cjcq-j2gf-3gvx/GHSA-cjcq-j2gf-3gvx.json { "schema_version": "1.2.0", "id": "GHSA-cjcq-j2gf-3gvx", "modified": "2022-05-02T03:16:42Z", "published": "2022-05-02T03:16:42Z", "aliases": [ "CVE-2009-0577" ], "details": "Integer overflow in the WriteProlog functi...
710
2,663
{ "type": "Label Formula", "definition": { "text": "A user defined formula that defines which data will be feeded to a certain Data Label.", "updated": 1615896316212 }, "paragraphs": [ { "style": "Text", "text": "Right click and select the pencil button to...
152
396
<filename>resonance_audio/dsp/mono_pole_filter.cc<gh_stars>100-1000 /* Copyright 2018 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/lice...
619
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-w2pc-w76j-jcg2", "modified": "2022-05-01T18:43:48Z", "published": "2022-05-01T18:43:48Z", "aliases": [ "CVE-2007-6531" ], "details": "Stack-based buffer overflow in the Panel (xfce4-panel) component in Xfce befor...
674
562
<gh_stars>100-1000 #include <half.hpp> #include <iostream> int main() { half_float::half a(3.4), b(5); half_float::half c = a * b; c += 3; std::cout << c << std::endl; return 0; }
100
1,144
/* * #%L * de.metas.issue.tracking.github * %% * Copyright (C) 2019 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 version 2 of the * License, or (at your option...
1,364
515
<filename>app/src/main/java/com/aries/library/fast/demo/touch/OnItemTouchHelperListener.java package com.aries.library.fast.demo.touch; /** * @Author: AriesHoo on 2018/8/10 10:42 * @E-Mail: <EMAIL> * Function: ItemTouchHelper Item移动监听 * Description: */ public interface OnItemTouchHelperListener { /** * ...
416
1,398
// 代码地址: https://github.com/iphone5solo/PYPhotosView // 代码地址: http://code4app.com/thread-8612-1-1.html // Created by CoderKo1o. // Copyright © 2016年 iphone5solo. All rights reserved. // 继承DALabeledCircularProgressView类 #if __has_include(<DACircularProgress/DALabeledCircularProgressView.h>) #import <DACircularProg...
252
1,374
<filename>core-lib/es5/src/main/java/def/dom/SourceBuffer.java package def.dom; import def.js.ArrayBuffer; import def.js.ArrayBufferView; public class SourceBuffer extends EventTarget { public double appendWindowEnd; public double appendWindowStart; public AudioTrackList audioTracks; public TimeRanges b...
245
507
<filename>terrascript/provider/gavinbunney/bitbucketserver.py # terrascript/provider/gavinbunney/bitbucketserver.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:13:29 UTC) import terrascript class bitbucketserver(terrascript.Provider): """Terraform provider for Bitbucket Server Management""" ...
248
2,322
<gh_stars>1000+ /* * CompositeMonikers implementation * * Copyright 1999 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your...
21,649
383
<filename>platter.py import os import sys import json import time import click import errno import shutil import select import tarfile import zipfile import hashlib import tempfile import sysconfig import subprocess from contextlib import contextmanager WIN = sys.platform.startswith('win') FORMATS = ['tar.gz', 'tar.b...
11,910
409
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2018, <NAME>, FU Berlin // All rights reserved. // // Redistribution and use in s...
10,991
714
<gh_stars>100-1000 package com.spawpaw.mybatis.generator.gui.controls; import javafx.scene.control.CheckBox; import javafx.scene.control.TextField; /** * Created By <EMAIL> 2018-01-30 * * @author BenBenShang <EMAIL> */ public class CheckableTextFieldControl extends AbstractControl<String> { protected CheckBo...
565