max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
679
<filename>main/canvas/source/tools/canvastools.cxx /************************************************************** * * 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 copyr...
27,040
713
<reponame>franz1981/infinispan package org.infinispan.cli.resources; import java.io.IOException; import org.infinispan.cli.logging.Messages; /** * @author <NAME> &lt;<EMAIL>&gt; * @since 10.0 **/ public class SchemasResource extends AbstractResource { public static final String NAME = "schemas"; protected ...
336
488
#include <iostream> #include <list> #include <stdlib.h> #include <time.h> #include <omp.h> #include <unistd.h> using namespace std; class httpRequest { public: int i; }; #define LARGE_NUMBER 100 //#define LARGE_NUMBER 1000000 list<httpRequest> request_queue (LARGE_NUMBER); void process ( httpRequest input) { ...
333
545
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
942
1,184
#include<bits/stdc++.h> using namespace std; bool isPalindrome(string cad){ int len = cad.size(); for(int i=0; i<len/2; i++) { if(cad[i] != cad[len-i-1]) return false; } return true; } int main(){ vector<string> test={"ana","anna","hello", "alula"};; string cad; for(int i=0; i<test.size(); ++...
204
14,668
<filename>components/password_manager/core/browser/password_store_backend_migration_decorator_unittest.cc // 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 "components/password_manager/core/brows...
2,404
30,023
<reponame>liangleslie/core """Constants for the Raspberry Pi integration.""" DOMAIN = "raspberry_pi"
33
1,376
from datetime import datetime import pytest from .models import db, User pytestmark = pytest.mark.asyncio async def test_compiled_and_bindparam(bind): async with db.acquire() as conn: # noinspection PyArgumentList ins = await conn.prepare( User.insert().returning(*User).execution_opt...
690
1,510
/* * 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,692
1,411
#include <type_traits> #include <sparsehash/dense_hash_map> #include <sparsehash/dense_hash_set> #include <fc/io/raw.hpp> namespace fc { namespace raw { template<typename T> class StreamWrapper { public: StreamWrapper(T& s) : s_(s) {} public: size_t Write(const void* data, size_t sz) { s_.write((...
527
2,151
<filename>components/exo/keyboard_observer.h // 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. #ifndef COMPONENTS_EXO_KEYBOARD_OBSERVER_H_ #define COMPONENTS_EXO_KEYBOARD_OBSERVER_H_ namespace exo { clas...
228
1,874
# # 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 # ...
1,052
1,293
/* * Copyright (c) 2019 - Manifold Systems 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 ...
511
1,603
<gh_stars>1000+ package com.linkedin.gms.factory.recommendation.candidatesource; import com.linkedin.gms.factory.search.EntitySearchServiceFactory; import com.linkedin.metadata.recommendation.candidatesource.TopTermsSource; import com.linkedin.metadata.search.EntitySearchService; import javax.annotation.Nonnull; impor...
283
2,151
/* This Java source file was generated by test-to-java.xsl and is a derived work from the source document. The source document contained the following notice: Copyright (c) 2001-2004 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique,...
1,068
3,102
<gh_stars>1000+ // RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s void expr() { f(); } // CHECK: FunctionDecl 0x{{[^ ]*}} <{{[^>]*}}> line:{{.*}}:{{[^ ]*}} used f 'void ()' // CHECK: -CallExpr 0x{{[^ ]*}} <{{[^>]*}}> 'void' adl // CHECK: -CXXOperatorCallExpr 0x{{[^ ]*}} <{{[^>...
159
776
/* * Copyright 2019-present HiveMQ GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
786
325
package com.box.l10n.mojito.cli.command.jenkinsstats; import com.box.l10n.mojito.immutables.NoPrefixNoBuiltinContainer; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.immutables.value.Value; import javax.annotation.Nullable; @Value.Immutable @NoPrefixNoBuiltinContainer @JsonDeserialize(...
215
14,668
<filename>components/ota/common/lzma/3rdparty/Alloc.h /* Alloc.h -- Memory allocation functions 2018-02-19 : <NAME> : Public domain */ #ifndef __COMMON_ALLOC_H #define __COMMON_ALLOC_H #include "7zTypes.h" EXTERN_C_BEGIN void *MyAlloc(size_t size); void MyFree(void *address); #ifdef _WIN32 void SetLargePageSize()...
432
351
from transmute import InventoryCollection class TestInventory: def test_inventory(self): x = InventoryCollection() x.append("Gem1", (2, 3)) assert(x.count() == 1) x.append("Gem2", (2, 4)) assert(x.count() == 2) x.pop("Gem2") assert(x.count() == 1) a...
170
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...
3,391
892
<filename>advisories/unreviewed/2022/05/GHSA-v7gp-p3wf-4g2v/GHSA-v7gp-p3wf-4g2v.json<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-v7gp-p3wf-4g2v", "modified": "2022-05-13T01:36:15Z", "published": "2022-05-13T01:36:15Z", "aliases": [ "CVE-2017-7915" ], "details": "An Improper Restriction ...
570
777
<filename>third_party/WebKit/Source/core/dom/ScriptedAnimationControllerTest.cpp // 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. #include "core/dom/ScriptedAnimationController.h" #include "core/dom/Doc...
1,957
1,177
<gh_stars>1000+ def translate(text): pass
19
2,542
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ VOID RWTStress...
161
679
/************************************************************** * * 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...
4,949
32,544
package com.baeldung.readannotations; import org.junit.Test; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import static org.assertj.core.api.Assertions.assertThat; public class ClassWithAnnotationsUnitTest { @Test public void whenCallingGetDeclaredAnnotations_thenOnlyRuntimeAnnot...
481
2,313
/* * Copyright (c) 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 * rights ...
29,763
488
<filename>src/rose_msvc.h // This is support for Microsoft Visual Studio C++ use with ROSE // (it is initial work with no clear idea if MSVC will be supported in the future). // DQ (3/22/2009): Added support for detection of Microsoft specific usage. // Determine if this is a WIN32 (e.g., Windows NT or Windows 95) s...
1,808
21,382
import enum import logging.config import os import threading import time from typing import Optional import ray import ray.streaming.runtime.processor as processor from ray.actor import ActorHandle from ray.streaming.generated import remote_call_pb2 from ray.streaming.runtime.command import WorkerRollbackRequest from ...
7,016
348
{"nom":"Puget-Ville","circ":"6ème circonscription","dpt":"Var","inscrits":3084,"abs":1757,"votants":1327,"blancs":25,"nuls":13,"exp":1289,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":485},{"nuance":"FN","nom":"<NAME>","voix":312},{"nuance":"LR","nom":"<NAME>","voix":171},{"nuance":"FI","nom":"<NAME>","voix":164},{"...
312
427
<filename>src/main/java/org/cloud/sonic/simple/config/mybatis/ClearForeignKey.java package org.cloud.sonic.simple.config.mybatis; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.autoconfigure.jdbc.DataSourceSchemaCreatedEvent; import org.springframework.context.ApplicationListener; import org.springf...
1,714
2,754
<reponame>ryoon/haxm /* * Copyright (c) 2009 Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
1,551
311
<reponame>brynedwards/ncpamixer<gh_stars>100-1000 #include "pa_card.hpp" #include <stdio.h> PaCard::PaCard() { type = pa_object_t::CARD; monitor_stream = nullptr; pa_set_active_attribute = pa_context_set_card_profile_by_index; pa_set_volume = nullptr; pa_set_mute = nullptr; pa_move = nullptr; ...
397
753
<filename>SecurityExploits/SANE/epsonds_CVE-2020-12861/glibc_heap_exploit_demos/home/05_shrink_tcache_chunk.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> int main() { fprintf( stderr, "This demo shows how we can shrink a chunk while it's in the tcache.\n" "\n" "Firs...
1,471
14,668
<reponame>chromium/chromium { "far_files" : [ "gen/fuchsia/engine/web_engine/web_engine.far", "gen/fuchsia/runners/cast_runner/cast_runner.far" ], "far_total_name" : "chrome_fuchsia", "size_limits" : { "chrome_fuchsia_compressed": 41099264 } }
119
10,225
package org.jboss.resteasy.reactive.server.spi; public interface StreamingResponse<T extends StreamingResponse<T>> { T setStatusCode(int code); T setResponseHeader(CharSequence name, CharSequence value); T setResponseHeader(CharSequence name, Iterable<CharSequence> values); }
89
3,579
/* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/team) * * 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,786
365
/* * Adapted from Open Shading Language with this license: * * Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al. * All Rights Reserved. * * Modifications Copyright 2012, Blender Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided...
2,742
5,169
<filename>Specs/YMDropDownMenuNavBar/0.1.0/YMDropDownMenuNavBar.podspec.json { "name": "YMDropDownMenuNavBar", "version": "0.1.0", "summary": "YMDropDownMenuNavBar is a blocks based nav bar menu, that enables assigning action balock for each menu item.", "description": "YMDropDownMenuNavBar is a blocks based na...
344
568
<reponame>jgtaylor123/novoda_spikes<gh_stars>100-1000 package com.gertherb.base; public class Utils { private Utils() { } public static Class<?> classOf(Object object) { return object.getClass(); } }
92
471
import random from collections import deque from .base import Replay class FIFOReplay(Replay): """ WARNING: you must set session_config.replay: - max_puller_queue: to a very small number, like 1 - max_prefetch_queue: to 1 session_config.sender: - flush_iteration: to a small number """ ...
685
380
<reponame>trochaeli/oxAuth /* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.service.net; import java.io.IOException; import java.io.Serializable; import java.io.UnsupportedEncodingException; import ...
3,190
1,350
<filename>sdk/costmanagement/azure-resourcemanager-costmanagement/src/main/java/com/azure/resourcemanager/costmanagement/fluent/models/ExportProperties.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. packag...
890
1,602
/* * Copyright (c) 2016 Cray Inc. All rights reserved. * Copyright (c) 2017 Los Alamos National Security, LLC. * All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public Licens...
2,817
10,245
<filename>context/src/jmh/java/io/grpc/AttachDetachBenchmark.java /* * Copyright 2016 The gRPC 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/lic...
525
642
package com.jeesuite.springweb.ext.feign; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.cloud.openfeign.FeignClient; import com.jeesuite.common.util.ClassScanner; /** * *...
605
953
package com.xiaochen.demo; import android.graphics.Color; import android.os.Bundle; import android.os.Handler; import androidx.appcompat.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.SeekBar; import android.widget.TextView; import com.xia...
3,256
32,544
package com.baeldung.conditionalonproperty.config; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import com.baeldung.conditionalonproperty.service.EmailNotification; ...
322
672
<reponame>AutoGavy/cnc-ddraw<filename>inc/directinput.h #ifndef DINPUTINPUT_H #define DINPUTINPUT_H #define DIRECTINPUT_VERSION 0x0800 #include <dinput.h> typedef HRESULT(WINAPI* DIRECTINPUTCREATEAPROC)(HINSTANCE, DWORD, LPDIRECTINPUTA*, LPUNKNOWN); typedef HRESULT(WINAPI* DIRECTINPUTCREATEWPROC)(HINSTANCE, DWORD, L...
720
559
<filename>tests/blocks/signal/bandstopfilter_spec.py import numpy import scipy.signal from generate import * def generate(): def process(num_taps, cutoffs, nyquist, window, x): b = scipy.signal.firwin(num_taps, cutoffs, pass_zero=True, window=window, nyq=nyquist) return [scipy.signal.lfilter(b, 1,...
882
378
package com.quickblox.sample.chat.java.utils.qb; import android.util.SparseArray; import com.quickblox.users.model.QBUser; import java.util.ArrayList; import java.util.List; /** * Basically in your app you should store users in database * And load users to memory on demand * We're using runtime SpaceArray holder...
733
432
# 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
1,342
1,345
from django.core.management.base import BaseCommand, CommandError from annotator.models import Video import os import json import re import os import shutil import subprocess import math class Command(BaseCommand): help = r'''Exports video annotations This command creates JSON annotation files from video annotation...
2,763
336
<gh_stars>100-1000 // Copyright 2009-2012 Microsoft Corporation // 2012-2015 Johns Hopkins University (Author: <NAME>) // 2018 <NAME> // // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
12,420
1,337
<filename>modules/web/src/com/haulmont/cuba/web/gui/components/presentations/actions/AbstractPresentationAction.java /* * 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 ...
408
531
<reponame>intensifier/NeoAxisEngine<filename>Sources/Engine/External/NvidiaTextureTools/src/nvtt/SingleColorLookup.h #include "nvcore/nvcore.h" // uint8 extern uint8 OMatch5[256][2]; extern uint8 OMatch6[256][2]; extern uint8 OMatchAlpha5[256][2]; extern uint8 OMatchAlpha6[256][2]; void initSingleColorLookup();
119
432
<reponame>lambdaxymox/DragonFlyBSD // sparc.cc -- sparc target support for gold. // Copyright (C) 2008-2016 Free Software Foundation, Inc. // Written by <NAME> <<EMAIL>>. // This file is part of gold. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Pub...
61,293
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. class Build(object): def __init__(self, builder, data): self._builder = builder self._data = data def __str__(self): return '%s/%d' % (self...
151
809
<gh_stars>100-1000 #ifndef RISCV_INTERRUPTS_H_ #define RISCV_INTERRUPTS_H_ #include <asm/regs.h> #define disable_interrupts() clear_csr_bit(mstatus, MSTATUS_MIE) #define enable_interrupts() set_csr_bit(mstatus, MSTATUS_MIE) // #define disable_interrupts() __asm volatile ( "csrc mstatus,8" ) // #define enable_interru...
438
2,670
<reponame>gcampbell-msft/vscode-cpptools /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *----------------------...
654
66,985
<reponame>dreamwy9/spring-boot /* * Copyright 2012-2020 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...
441
306
<reponame>teosz/dirt #ifndef HWC_H #define HWC_H #include "tensorflow/core/framework/op_kernel.h" struct HWC { // This captures the attributes (apart from cuda-context) that must be the same for two kernel-instances to share the same gl-context / threads int height, width, channels; bool operator <(HWC ...
355
605
<filename>clang/test/Sema/arm-no-fp16.c<gh_stars>100-1000 // RUN: %clang_cc1 -triple thumbv7-none-eabi %s -target-feature +neon \ // RUN: -fallow-half-arguments-and-returns -target-feature -fp16 \ // RUN: -fsyntax-only -verify // REQUIRES: aarch64-registered-target || arm-registered-target #include <arm_neon.h> ...
6,477
663
<reponame>iotctl/pycopy #define MICROPY_PY_UZLIB (1) #include "py/dynruntime.h" #if !defined(__linux__) void *memset(void *s, int c, size_t n) { return mp_fun_table.memset_(s, c, n); } #endif mp_obj_type_t decompio_type; #include "extmod/moduzlib.c" mp_map_elem_t decompio_locals_dict_table[4]; STATIC MP_DEFINE...
750
364
import argparse import sys import xml.etree.ElementTree as ET from pyquaternion import Quaternion def str2bool(v): return v.lower() == "true" def str2floatlist(v): return [float(x) for x in v.split(",")] def argsparser(): parser = argparse.ArgumentParser() parser.add_argument( "--path", t...
2,874
1,199
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
1,973
892
{ "schema_version": "1.2.0", "id": "GHSA-v22m-xr3c-679j", "modified": "2022-05-03T00:01:27Z", "published": "2022-05-03T00:01:27Z", "aliases": [ "CVE-2012-6342" ], "details": "Cross-site request forgery (CSRF) vulnerability in logout.action in Atlassian Confluence 3.4.6 allows remote attackers to hijac...
616
751
<filename>common/reactive-grpc-benchmarks/src/main/java/com/salesforce/reactivegrpc/jmh/JMHRunner.java /* * Copyright (c) 2019, Salesforce.<EMAIL>, Inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/lic...
258
8,205
<reponame>sundys/ZeroTierOne<gh_stars>1000+ /* * Copyright (c)2013-2020 ZeroTier, Inc. * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file in the project's root directory. * * Change Date: 2025-01-01 * * On the date above, in accordance with the Business Source...
14,443
3,428
<gh_stars>1000+ {"id":"01328","group":"easy-ham-1","checksum":{"type":"MD5","value":"d0911b225327299d50bc7c7f2284afdf"},"text":"From <EMAIL> Mon Aug 26 18:01:29 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy@localhost.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (...
1,450
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vespa/vespalib/testkit/test_kit.h> #include <fcntl.h> #include <unistd.h> #include <netinet/tcp.h> #include <sys/socket.h> #include <netinet/in.h> namespace vespalib::test { namespace { v...
846
3,974
package io.cucumber.gherkin; class StringUtils { static String ltrim(String s) { // https://stackoverflow.com/questions/1060570/why-is-non-breaking-space-not-a-whitespace-character-in-java return s.replaceAll("^[ \\t\\n\\x0B\\f\\r\\x85\\xA0]+", ""); } static String ltrimKeepNewLines(Strin...
498
4,036
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.identity; import com.azure.core.credential.TokenCredential; /** * An AAD credential that acquires a token with a username and a password. Users with 2FA/MFA (Multi-factored auth) * turn...
163
2,069
#include "nchan_benchmark.h" #include <subscribers/benchmark.h> #include <subscribers/websocket.h> #include <util/shmem.h> #include <store/memory/store.h> #include <store/memory/ipc-handlers.h> #include <assert.h> #include <sys/time.h> /* for struct timeval */ #include <inttypes.h> //#define DEBUG_LEVEL NGX_LOG_WARN #...
12,119
558
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2015-2020 Micron Technology, Inc. All rights reserved. */ #ifndef HSE_PLATFORM_DARRAY_H #define HSE_PLATFORM_DARRAY_H /* * Darray provides a useful abstraction of a small dynamic array * that holds pointers to things. It is optimized for the * use ca...
1,005
496
/* * Copyright (C) 2018 <NAME> * * Author: <NAME> <<EMAIL>> */ #ifndef LEXBOR_HTML_LEGEND_ELEMENT_H #define LEXBOR_HTML_LEGEND_ELEMENT_H #ifdef __cplusplus extern "C" { #endif #include "lexbor/html/interface.h" #include "lexbor/html/interfaces/element.h" struct lxb_html_legend_element { lxb_html_element_t ...
285
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 ...
3,906
12,940
<gh_stars>1000+ { "$schema": "https://aka.ms/azure-quickstart-templates-metadata-schema#", "type": "QuickStart", "itemDisplayName": "Azure Cognitive Search service", "description": "This template creates an Azure Cognitive Search service", "summary": "Provision an Azure Cognitive Search service", "githubUse...
131
340
<filename>util/include/scope_exit.hpp // Concord // // Copyright (c) 2021 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 // License. // // This product may include a number of ...
600
1,444
package mage.cards.i; import mage.abilities.Ability; import mage.abilities.SpellAbility; import mage.abilities.common.SagaAbility; import mage.abilities.common.delayed.ReflexiveTriggeredAbility; import mage.abilities.costs.common.RevealTargetFromHandCost; import mage.abilities.effects.common.DamageTargetEffect; import...
2,171
348
{"nom":"Boussan","circ":"8ème circonscription","dpt":"Haute-Garonne","inscrits":209,"abs":83,"votants":126,"blancs":14,"nuls":2,"exp":110,"res":[{"nuance":"SOC","nom":"M. <NAME>","voix":78},{"nuance":"REM","nom":"M. <NAME>","voix":32}]}
97
995
package ui.fingerprint.filters; import core.fingerprint3.ObjectFactory; import javafx.beans.property.SimpleObjectProperty; import javafx.geometry.Pos; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.HBox; import ui.fingerprint.FingerPrintGui; import javax.xml.bind....
1,326
7,482
<reponame>849679859/rt-thread /** * Copyright (c) 2021 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ // ============================================================================= // Register block : BUSCTRL // Version : 1 // Bus type : apb // Description : Register bloc...
2,861
14,668
// Copyright (c) 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 STORAGE_BROWSER_BLOB_BLOB_DATA_ITEM_H_ #define STORAGE_BROWSER_BLOB_BLOB_DATA_ITEM_H_ #include <stdint.h> #include <memory> #include <ostrea...
2,730
6,185
<gh_stars>1000+ package skin.support.widget; import android.content.Context; import androidx.appcompat.widget.AppCompatRatingBar; import android.util.AttributeSet; import skin.support.appcompat.R; /** * Created by ximsfei on 17-1-21. */ public class SkinCompatRatingBar extends AppCompatRatingBar implements SkinCo...
377
416
<gh_stars>100-1000 package org.springframework.roo.addon.layers.service.addon; import org.springframework.roo.model.JavaPackage; import org.springframework.roo.model.JavaType; /** * API that defines all available operations for service layer management. * * @author <NAME> * @author <NAME> * @since 1.2.0 */ pub...
437
3,181
<gh_stars>1000+ /* * SPDX-FileCopyrightText: 2020, microG Project Team * SPDX-License-Identifier: Apache-2.0 */ package org.microg.gms.nearby; import android.content.Context; import android.os.IBinder; import android.os.RemoteException; import com.google.android.gms.nearby.exposurenotification.internal.GetCalibra...
1,706
512
{ "name": "@egret/protobuf", "version": "1.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { "@types/bluebird": { "version": "3.5.24", "resolved": "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.24.tgz", "integrity": "<KEY> "dev": true }, "@types/fs...
2,232
466
/* Copyright (c) 2010, NullNoname 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 ...
12,576
678
<filename>iOSOpenDev/frameworks/OfficeImport.framework/Headers/OABDrawing.h<gh_stars>100-1000 /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ #import <OfficeImport/XXUnknownSuperclass.h> __attribute__((visibility("hidden"))...
233
1,210
<gh_stars>1000+ #include <cstdio> #define INF 1000000000 #define VERTEX_COUNT 100010 #define EDGE_COUNT 1000010 using namespace std; struct vertex { int first_edge; int dis, hpos; }V[VERTEX_COUNT]; struct edge { int endp, next; int w; }E[EDGE_COUNT]; int ec = 1; int ivc, iec; int H[VERTEX_COUNT], pos[VERTEX_...
1,115
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. // Protobuf Messages over IPC // // Protobuf messages are registered with IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN() and // friends in much the same way as other...
1,591
463
<filename>vimfiles/bundle/vim-python/submodules/pylint/tests/functional/n/no/no_method_argument_py38.py # pylint: disable=missing-docstring,too-few-public-methods class Cls: def __init__(self, obj, /): self.obj = obj
94
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ #import <OfficeImport/XXUnknownSuperclass.h> @class PDPresentation, OAXTableStyleCache, OAVState, NSMutableDictionary, OAXDrawingState; @protocol OCCancelDelegate; __attribute...
694
335
#ifndef __Z64_H__ #define __Z64_H__ #include <stdio.h> #include <stdint.h> #include <retro_inline.h> #define SP_INTERRUPT 0x1 #define SI_INTERRUPT 0x2 #define AI_INTERRUPT 0x4 #define VI_INTERRUPT 0x8 #define PI_INTERRUPT 0x10 #define DP_INTERRUPT 0x20 #define S...
755
555
<filename>proxypool-web/src/main/java/com/cv4j/proxy/web/dao/impl/ProxyDaoImpl.java<gh_stars>100-1000 package com.cv4j.proxy.web.dao.impl; import com.cv4j.proxy.web.config.Constant; import com.cv4j.proxy.web.dao.ProxyDao; import com.cv4j.proxy.web.domain.ProxyData; import com.cv4j.proxy.web.domain.ResourcePlan; ...
3,011
2,381
package com.github.dockerjava.api.command; import com.github.dockerjava.api.model.Info; public interface InfoCmd extends SyncDockerCmd<Info> { interface Exec extends DockerCmdSyncExec<InfoCmd, Info> { } }
70
1,433
<gh_stars>1000+ /****************************************************************** * * Copyright 2015 Samsung Electronics All Rights Reserved. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of th...
1,775
930
package com.foxinmy.weixin4j.tuple; import com.alibaba.fastjson.annotation.JSONCreator; import com.alibaba.fastjson.annotation.JSONField; /** * 文本对象 * <p> * <font color="red">可用于「客服消息」「群发消息」及企业号的「聊天消息」</font> * </p> * * @className Text * @author jinyu(<EMAIL>) * @date 2014年9月29日 * @since JDK 1.6 * @see */...
353