max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
415
<filename>joern-cli/frontends/fuzzyc2cpg/src/test/java/io/joern/fuzzyc2cpg/antlrparsers/functionparser/ForLoopTests.java package io.joern.fuzzyc2cpg.antlrparsers.functionparser; import static org.junit.Assert.assertTrue; import io.joern.fuzzyc2cpg.passes.astcreation.AntlrParserDriver; import org.antlr.v4.runtime.tree...
537
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.billing.models; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core.u...
4,779
310
<filename>gear/hardware/0/7-looper-strip.json { "name": "<NAME> (Strip)", "description": "A loop pedal switcher.", "url": "https://www.loop-master.com/looper-strip-p-138.html" }
73
331
// // AsyncDisplayKit+Tips.h // Texture // // Copyright (c) 2014-present, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the /ASDK-Licenses directory of this source tree. An additional // grant of patent rights can be found in the P...
506
14,425
<gh_stars>1000+ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the *...
1,035
304
<gh_stars>100-1000 #ifndef VIRIDIS_H #define VIRIDIS_H #include <QColor> const QColor VIRIDIS_MAP[256] = {QColor::fromRgbF(0.267004, 0.004874, 0.329415), QColor::fromRgbF(0.268510, 0.009605, 0.335427), QColor::fromRgbF(0.269944, 0.014625, 0.341379), QColor::fromRgbF(...
10,794
1,208
// // TLUserDetailBaseInfoCell.h // TLChat // // Created by 李伯坤 on 16/2/29. // Copyright © 2016年 李伯坤. All rights reserved. // #import <UIKit/UIKit.h> #import "TLUser.h" @interface TLUserDetailBaseInfoCell : UICollectionViewCell <ZZFlexibleLayoutViewProtocol> @property (nonatomic, strong) TLUser *userModel; @end...
134
371
#pragma once namespace sk { bool line_drawer_init (); void line_drawer_update (); void line_drawer_shutdown(); } // namespace sk
50
5,823
<reponame>onix39/engine // Copyright 2013 The Flutter 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 FLUTTER_SHELL_PLATFORM_WINDOWS_STRING_CONVERSION_H_ #define FLUTTER_SHELL_PLATFORM_WINDOWS_STRING_CONVERSION_H_ #include <...
266
6,224
/* * Copyright (c) 2020 <NAME> * * SPDX-License-Identifier: Apache-2.0 */ #include <drivers/can.h> #include <drivers/pinctrl.h> #include <kernel.h> #include <soc.h> #include <stm32_ll_rcc.h> #include "can_stm32fd.h" #include <logging/log.h> LOG_MODULE_DECLARE(can_driver, CONFIG_CAN_LOG_LEVEL); #if CONFIG_CAN_STM...
5,742
2,144
<filename>pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_highIngestionRate.json { "schema": { "dateTimeFieldSpecs": [ { "dataType": "LONG", "format": "1:MILLISECONDS:EPOCH", "granularity": "1:MILLISECONDS", "name": "timestampMillis", "c...
1,135
577
package org.fluentlenium.core.filter.matcher; import java.util.regex.Pattern; /** * Matcher checking that actual is equal to input value. */ public class EqualMatcher extends AbstractMatcher { /** * Creates an equal matcher. * * @param value input value */ public EqualMatcher(String val...
296
456
<reponame>daneng1/focusTime {"ast":null,"code":"export { default as Item } from \"./DrawerItem\";\nexport { default as Section } from \"./DrawerSection\";","map":{"version":3,"sources":["Drawer.tsx"],"names":["default"],"mappings":"AACA,SAASA,OAAO,IAAhB,IAAA;AAGA,SAASA,OAAO,IAAhB,OAAA","sourcesContent":["// @component ...
181
903
<filename>smithy-model/src/main/java/software/amazon/smithy/model/validation/suppressions/MetadataSuppression.java /* * Copyright 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 th...
833
465
import sys from tests.base import MockVim sys.modules['vim'] = MockVim() from taskwiki import util class TestParsingModstrings(object): def test_modstring_to_args(self): assert util.tw_modstring_to_args("") == [] assert util.tw_modstring_to_args("project:Random") == ["project:Random"] ass...
1,538
2,151
// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // CompilerGL: // Implementation of the GL compiler methods. // #include "libANGLE/renderer/gl/CompilerGL.h" #include "libANGLE/renderer/gl/...
1,200
643
import pathlib from unittest import mock import pytest from swift.codegen.lib import render, schema, paths schema_dir = pathlib.Path("a", "dir") schema_file = schema_dir / "schema.yml" dbscheme_file = pathlib.Path("another", "dir", "test.dbscheme") def write(out, contents=""): out.parent.mkdir(parents=True, ex...
698
2,504
<filename>Samples/MapControl/cpp/Scenario3.xaml.cpp<gh_stars>1000+ //********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS O...
1,033
818
/* * Copyright 2021 Red Hat, Inc. and/or 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 a...
1,017
377
<reponame>Groad/libsurvive<filename>redist/CNFGRasterizer.h //Don't call this file yourself. It is intended to be included in any drivers which want to support the rasterizer plugin. #ifdef RASTERIZER #include "CNFGFunctions.h" #include <stdlib.h> #include <stdint.h> static uint32_t * buffer = 0; static short buffer...
2,629
3,380
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets 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 appl...
3,107
521
<reponame>zai1208/fbc /* retrieve certain color from current palette */ #include "fb_gfx.h" FBCALL void fb_GfxPaletteGet(int index, int *r, int *g, int *b) { unsigned int color; FB_GRAPHICS_LOCK( ); if (!__fb_gfx) { FB_GRAPHICS_UNLOCK( ); return; } index &= (__fb_gfx->default_palette->colors - 1); color ...
246
852
// // #include "DataFormats/PatCandidates/interface/TriggerCondition.h" using namespace pat; // Constructors and Destructor // Default constructor TriggerCondition::TriggerCondition() : name_(), accept_(), category_(), type_() { triggerObjectTypes_.clear(); objectKeys_.clear(); } // Constructor from condition ...
488
3,428
{ "bundle": "test_bundle.js", "dir": "", "html": "test.html", "ignore": [], "mount": "/", "packages_pattern": "**/package.json", "files_pattern": "test/**/test*.js", "title": "" }
84
2,027
<filename>core/src/main/java/io/atomix/core/list/impl/UnmodifiableAsyncDistributedList.java /* * Copyright 2018-present Open Networking Foundation * * 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 Li...
783
305
<reponame>mthomascarcamo/aat<filename>aat/core/position/__init__.py from .account import Account # noqa: F401 from .cash import CashPosition # noqa: F401 from .position import Position # noqa: F401
70
4,772
package example.service; import example.repo.Customer1710Repository; import org.springframework.stereotype.Service; @Service public class Customer1710Service { public Customer1710Service(Customer1710Repository repo) {} }
64
377
<reponame>gburd/Kundera package com.impetus.kundera.metadata.model.annotation; import java.lang.annotation.Annotation; public interface EntityAnnotationProcessor extends JPAAnnotationProcessor { void validateClassAnnotation(Annotation annotation, Class clazz); }
82
7,760
package com.morihacky.android.rxjava.fragments; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import butterknife.BindView; import butterknife.B...
3,279
1,338
<gh_stars>1000+ /* * Copyright 2003-2013, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #include "runtime_loader_private.h" #include <syscalls.h> #ifdef HEAP_TEST # include <stdio.h> #endif #include <stdlib.h> #include <string.h> #include <algorithm> #include <util/SplayTree.h> #includ...
3,367
6,958
<reponame>xhuan28/MNN // // CPUNormalize.hpp // MNN // // Created by MNN on 2018/07/18. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef CPUNormalize_hpp #define CPUNormalize_hpp #include "core/AutoStorage.h" #include "core/Execution.hpp" namespace MNN { class CPUNormalize : public Execution { publi...
330
1,229
""" Implement numerical mean imputer. """ from typing import Any, Union, List, Optional import math import dask.dataframe as dd class MeanImputer: """Mean imputer for imputing numerical values Attributes: null_values Specified null values which should be recognized mean ...
900
742
#ifndef WEAPON_ARTIFACT_DATA_H #define WEAPON_ARTIFACT_DATA_H #include <memory> #include "ArtifactData.h" enum class ItemType; enum class MetalType; class WeaponArtifactData : public ArtifactData { private: int weaponID; MetalType metalType; public: WeaponArtifactData(const std::string &displayNa...
245
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Rough", "definitions": [ "A disreputable and violent person.", "(on a golf course) longer grass around the fairway and the green.", "A preliminary sketch.", "An uncut precious stone." ], "parts-of-speech": "Noun" }
129
879
package org.zstack.storage.snapshot; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.zstack.core.Platform; import org.zstack.core.cloudbus.CloudBus; import org.zstac...
2,075
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 "fuchsia/engine/test/frame_for_test.h" #include "fuchsia/base/test/test_navigation_listener.h" namespace cr_fuchsia { // stati...
796
513
<reponame>kevinw/amulet #include <stdio.h> #include <stdlib.h> #include <string.h> #define CHRS_PER_LINE 20 static uint8_t *read_file(const char *filename, size_t *len) { if (len != NULL) *len = 0; FILE *f = fopen(filename, "rb"); if (f == NULL) { fprintf(stderr, "Error: unable to open file %s\n",...
875
880
/** * Copyright 2019 <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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
472
2,381
package com.github.dockerjava.api.command; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.github.dockerjava.api.model.DockerObject; import lombok.EqualsAndHashCode; import lombok.ToString; /** * * @author <NAME> */ @EqualsAndHashCode @ToString public class ListVolumesRespo...
176
2,868
/* * Copyright (c) 2018-2020, Intel Corporation * * 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 and the f...
3,779
348
<gh_stars>100-1000 {"nom":"Vailly","circ":"1ère circonscription","dpt":"Aube","inscrits":251,"abs":119,"votants":132,"blancs":11,"nuls":0,"exp":121,"res":[{"nuance":"REM","nom":"<NAME>","voix":48},{"nuance":"LR","nom":"<NAME>","voix":39},{"nuance":"FN","nom":"<NAME>","voix":34}]}
111
3,562
<reponame>bingzxy/incubator-doris // 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, Versi...
5,161
4,036
<reponame>vadi2/codeql from tg import request, validate, expose, TGController from formencode import validators class RootController(TGController): @expose() def onerror(self, **kwargs): return 'An error occurred: %s' % request.validation['errors'] @expose() @validate({"a": validators.Int(not...
388
643
<filename>alfred/modules/data/voc2coco.py #!/usr/bin/python # # Copyright (c) 2020 JinTian. # # This file is part of alfred # (see http://jinfagang.github.io). # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this w...
3,831
1,248
<reponame>pajowu/pretix # Generated by Django 2.2.1 on 2019-07-15 15:10 import django.db.models.deletion from django.db import migrations, models import pretix.base.models.fields class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0127_auto_20190711_0705'), ] operations = [...
300
892
<filename>advisories/unreviewed/2022/05/GHSA-gj8p-2pp8-qjg7/GHSA-gj8p-2pp8-qjg7.json { "schema_version": "1.2.0", "id": "GHSA-gj8p-2pp8-qjg7", "modified": "2022-05-01T07:05:47Z", "published": "2022-05-01T07:05:47Z", "aliases": [ "CVE-2006-3108" ], "details": "Cross-site scripting (XSS) vulnerability i...
393
4,297
<filename>dolphinscheduler-alert-plugin/dolphinscheduler-alert-feishu/src/main/java/org/apache/dolphinscheduler/plugin/alert/feishu/HttpRequestUtil.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for addi...
737
14,668
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/dbus/thread_linux/dbus_thread_linux.h" #include "base/task/lazy_thread_pool_task_runner.h" namespace dbus_thread_linux { namespace...
351
5,169
{ "name": "ISDWGGatewayVerifySDK", "version": "2.0.1", "summary": "New Gateway Verify Framework", "homepage": "https://anquan.58.com/", "license": { "type": "MIT" }, "authors": { "ChingHan": "<EMAIL>" }, "source": { "git": "http://igit.58corp.com/XxzlNative/WGGatewayVerifySDKPods.git", ...
364
471
<reponame>madanagopaltcomcast/pxCore ///////////////////////////////////////////////////////////////////////////// // Name: src/motif/utils.cpp // Purpose: Various utilities // Author: <NAME> // Modified by: // Created: 17/09/98 // Copyright: (c) <NAME> // Licence: wxWindows licence //////////...
9,145
347
{ "content": { "keys": "<KEY>", "mac": { "ed25519:ABCDEF": "<KEY>" }, "transaction_id": "S0meUniqueAndOpaqueString" }, "type": "m.key.verification.mac", "sender": "@bob:example.org" }
134
712
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Gearmand client and server library. * * Copyright (C) 2011-2013 Data Differential, http://datadifferential.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
2,540
2,644
/* * Copyright (c) 2012 <NAME> * Copyright (c) 2013 <NAME> * * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT */ #include <lk/err.h> #include <stdio.h> #include <lk/debug.h> #include <platform.h> #include <dev/usb.h>...
900
396
<reponame>datastreaming/skyline-1 """ THIS IS A MORE FEATUREFUL CUSTOM ALGORITHM to provide a skeleton to develop your own custom algorithms. The algorithm itself, although viable, is not recommended for production or general use, it is simply a toy algorithm here to demonstrate the structure of a more complex custom ...
9,625
330
<reponame>manjunathnilugal/PyBaMM from .base_electrolyte_conductivity import BaseElectrolyteConductivity from .leading_order_conductivity import LeadingOrder from .composite_conductivity import Composite from .full_conductivity import Full from .integrated_conductivity import Integrated from . import surface_potential...
89
946
#!/usr/bin/env python3 import math import sys import time # Sample function to get the value of tau (pi * 2) def get_tau(): x = math.pi x *= 2 return x # Example function to debug def main(): # sourcery off # Print given arguments print("Arguments:", " ".join(sys.argv[1:])) # Simple varia...
751
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-mhxv-2pvp-28fg", "modified": "2022-05-01T02:23:11Z", "published": "2022-05-01T02:23:11Z", "aliases": [ "CVE-2005-3995" ], "details": "Format string vulnerability in the dosyslog function in the OBEX server (obexs...
546
1,185
/* * Copyright (C) 2016 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
1,884
2,649
""" BN-Inception for ImageNet-1K, implemented in PyTorch. Original paper: 'Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift,' https://arxiv.org/abs/1502.03167. """ __all__ = ['BNInception', 'bninception'] import os import torch.nn as nn import torch.nn.init as i...
8,328
381
/* * Copyright © 2016 Tinkoff Bank * * 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 ...
763
1,914
{ "content": "Exercitationem qui placeat labore similique.", "points": 5, "status": false, "title": "Bestes Produkt" }
48
310
<reponame>orekyuu/doma package org.seasar.doma.jdbc.builder; class Param { final String name; final Class<?> paramClass; final Object param; final boolean literal; Param(Class<?> paramClass, Object param, ParamIndex index, boolean literal) { this.paramClass = paramClass; this.param = param; ...
136
460
/// Contains the definition of the basic_regex\<\> class template and its associated helper functions. // // Copyright 2008 <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) #ifndef BOOST_XPRESSIVE_D...
2,811
8,629
<reponame>zzachimed/ClickHouse #include <Functions/FunctionFactory.h> #include <Functions/FunctionBinaryArithmetic.h> #include <Functions/GCDLCMImpl.h> #include <boost/integer/common_factor.hpp> namespace DB { namespace { struct NameGCD { static constexpr auto name = "gcd"; }; template <typename A, typename B> st...
342
1,338
/* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. * Copyright 2009 <NAME>. * * 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...
6,940
438
<filename>src/languages/ru-RU/music/remove.json<gh_stars>100-1000 { "DESCRIPTION": "Removes a song from the queue", "USAGE": "remove <position> [position]", "NAN": "Invalid number.", "PLAYING": "Cannot remove a song that is already playing. To skip the song type: `{{PREFIX}}skip`", "MISSING": "Song not found....
173
7,158
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Author: The "adaskit Team" at Fixstars Corporation #ifndef OPENCV_CUDASTEREO_SGM_HPP #define OPENCV_CUDASTEREO_SGM_HPP ...
607
338
<reponame>hadouken/hadouken #include <hadouken/scripting/modules/bittorrent/feed_status_wrapper.hpp> #include <libtorrent/rss.hpp> #include "../common.hpp" #include "../../duktape.h" using namespace hadouken::scripting::modules; using namespace hadouken::scripting::modules::bittorrent; void feed_status_wr...
1,759
4,071
<filename>blaze/blaze/common/context.cc /* * \file context.cc * \brief The context for operator run on CPU/GPU */ #include "blaze/common/context.h" #include "blaze/common/log.h" namespace blaze { CopyFunction g_copy_function[kMaxDevNum][kMaxDevNum]; #ifdef USE_CUDA thread_local ThreadLocalCUDAObjects CUDAContext...
733
348
{"nom":"Saint-Symphorien-des-Bruyères","dpt":"Orne","inscrits":431,"abs":84,"votants":347,"blancs":33,"nuls":10,"exp":304,"res":[{"panneau":"1","voix":178},{"panneau":"2","voix":126}]}
78
854
__________________________________________________________________________________________________ class MajorityChecker { int[] a; int[] big; int[][] fs; int B; public MajorityChecker(int[] a) { this.a = a; int n = a.length; B = (int)Math.sqrt(n); int[] f = new int[...
1,106
9,782
<reponame>sreekanth370/presto /* * 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 ...
373
504
#!/usr/bin/python import numpy as np from scipy.sparse import csr_matrix def numba_jit_if_available(): try: from numba import jit return jit except ImportError: return lambda f: f #---------------------------------------------------------------------------- # Assemble matrix for Poiss...
2,125
1,900
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
7,170
1,615
<reponame>gonsolo/Falcor /*************************************************************************** # Copyright (c) 2015-21, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are m...
1,153
5,169
{ "name": "BGFramework", "version": "1.1.13", "summary": "A short description of BGFramework.", "description": "Lonnng description", "homepage": "http://betgames.tv", "license": "MIT", "authors": { "<NAME>": "<EMAIL>" }, "platforms": { "ios": "9.0" }, "source": { "git": "https://deivid...
249
721
package crazypants.enderio.powertools.machine.capbank.render; import java.util.ArrayList; import java.util.List; import javax.annotation.Nonnull; import org.apache.commons.lang3.tuple.Pair; import crazypants.enderio.base.power.PowerHandlerUtil; import crazypants.enderio.base.render.IRenderMapper.IItemRenderMapper; ...
1,280
5,169
{ "name": "YJKitDemo", "version": "1.0.1", "summary": "Some Tools for iOS", "description": "YJKit封装了系统常用方法,实现快捷开发", "homepage": "https://github.com/BiggerMax/YJKitDemo", "license": "MIT", "authors": { "JennyY": "<EMAIL>" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://git...
349
310
{ "name": "Mark", "description": "A stylus for touchscreens.", "url": "https://www.adonit.net/jot/mark/" }
47
517
#include "cutest.h" #include <stdio.h> #include <string.h> #include <stdbool.h> #include "cst_tokenstream.h" #include "cst_lexicon.h" #include "cst_synth.h" #include "es_lang.h" #ifndef TEST_FILE #define TEST_FILE "es_text.txt" #endif static const cst_synth_module text_to_words[] = { {"tokenizer_func", default_t...
1,681
2,069
subscriber_t *http_chunked_subscriber_create(ngx_http_request_t *r, nchan_msg_id_t *msg_id); //ngx_int_t http_chunked_subscriber_destroy(subscriber_t *sub); ngx_int_t nchan_detect_chunked_subscriber_request(ngx_http_request_t *r);
105
5,169
{ "name": "MXiflyMSC", "version": "0.0.1", "summary": "MXiflyMSC", "description": "ManXian MXiflyMSC library for MXRXSteward", "homepage": "http://git.zhixubao.com/lizy/MXiflyMSC.git", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "meowboss": "" }, "platforms": { "ios...
407
28,814
<filename>core/src/test/java/com/google/zxing/oned/Code93ReaderTestCase.java /* * Copyright 2018 ZXing 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.apach...
731
1,615
<gh_stars>1000+ // // NSArray+MLNUISafety.h // // // Created by MoMo on 2018/11/21. // #import <Foundation/Foundation.h> #define MLNUICrashProtect 1 NS_ASSUME_NONNULL_BEGIN @interface NSArray<ObjectType> (MLNUISafety) - (ObjectType)mlnui_objectAtIndex:(NSUInteger)index; @end @interface NSMutableArray<ObjectTyp...
460
443
<reponame>simonhou/YaSQL # -*- coding:utf-8 -*- # edit by fuzongfei import logging from datetime import datetime import pymysql import sqlparse from django_redis import get_redis_connection from rest_framework import serializers from config import QUERY_USER from sqlorders.models import DbConfig from sqlquery.api.get...
4,231
6,304
// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" // HASH=56ed920dadbf2b2967ac45fb5a9bded6 REG_FIDDLE(Picture_AbortCallback_abort, 256, 256, false, 0) { class JustOneDraw : public SkPicture::AbortCallback...
328
504
/*********************************************************************** * * Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved * * PROJECT: PCGEOS * MODULE: Esp -- Data Definition Definitions * FILE: data.h * * AUTHOR: <NAME>: Apr 26, 1989 * * REVISION HISTORY: * Date Name ...
282
634
/* * Copyright 2000-2009 JetBrains s.r.o. * * 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...
369
1,523
// 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...
2,989
784
<reponame>hejiang123/jboot package io.jboot.test.seata.service; import io.seata.rm.tcc.api.BusinessActionContext; import io.seata.rm.tcc.api.BusinessActionContextParameter; /** * program: seata * description: ${description} * author: zxn * create: 2020-07-25 22:29 **/ public interface TccActionOneService { ...
386
388
<reponame>jimfulton/geoalchemy2<gh_stars>100-1000 """ Decipher Raster =============== The `RasterElement` objects store the Raster data in WKB form. When using rasters it is usually better to convert them into TIFF, PNG, JPEG or whatever. Nevertheless, it is possible to decipher the WKB to get a 2D list of values. Thi...
2,509
1,510
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
1,153
14,425
/** * 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...
475
432
package io.activej; import io.activej.eventloop.Eventloop; import io.activej.http.*; import java.io.IOException; import static io.activej.bytebuf.ByteBufStrings.encodeAscii; import static io.activej.common.exception.FatalErrorHandler.rethrow; import static io.activej.http.HttpHeaders.ACCEPT_ENCODING; import static i...
551
387
<filename>src/main/gov/nasa/jpf/Error.java /* * Copyright (C) 2014, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The Java Pathfinder core (jpf-core) platform is licensed under the * Apache License, Version 2.0 (the...
646
2,151
// 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 "content/renderer/media/android/media_player_renderer_client.h" #include "base/callback_helpers.h" namespace content { MediaPlayerRendererClie...
1,957
2,151
<reponame>MauroArgentino/RSXGL /* * Copyright © 2011 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights t...
1,659
357
#include <map> #include <cstdlib> #include <glib-object.h> #include <json-glib/json-glib.h> #include "Helpers.h" #include "ValidationError.h" using namespace std; using namespace Tizen::ArtikCloud; ValidationError::ValidationError() { //__init(); } ValidationError::~ValidationError() { //__cleanup(); } void Val...
1,838
2,151
<gh_stars>1000+ // 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 IOS_CHROME_BROWSER_DRAG_AND_DROP_DROP_AND_NAVIGATE_INTERACTION_H_ #define IOS_CHROME_BROWSER_DRAG_AND_DROP_DROP_AND_NAVIGATE_INTER...
378
921
package cz.habarta.typescript.generator.parser; import cz.habarta.typescript.generator.compiler.EnumKind; import cz.habarta.typescript.generator.compiler.EnumMemberModel; import java.util.List; public class EnumModel extends DeclarationModel { private final EnumKind kind; private final List<EnumMemberModel...
350