max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
303
<gh_stars>100-1000 /* Copyright (C) 2005-2011 <NAME> */ package com.lightcrafts.ui.rotate; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.*; import static com.lightcrafts.ui.rotate.Locale.LOCALE; import com.lightcrafts.ui.toolkit.CoolButton; class Rese...
537
852
<reponame>ckamtsikis/cmssw #ifndef SimCalorimetry_HGCSimProducers_hgcdigitizerbase #define SimCalorimetry_HGCSimProducers_hgcdigitizerbase #include <array> #include <iostream> #include <vector> #include <memory> #include <unordered_map> #include <unordered_set> #include "DataFormats/HGCDigi/interface/HGCDigiCollectio...
2,317
12,874
{ "LOGIN": { "TITLE": "Log ind på Chatwoot", "EMAIL": { "LABEL": "E-mail", "PLACEHOLDER": "E-mail, fx: <EMAIL>" }, "PASSWORD": { "LABEL": "Adgangskode", "PLACEHOLDER": "<PASSWORD>" }, "API": { "SUCCESS_MESSAGE": "Login Lykkedes", "ERROR_MESSAGE": "Kunne ikke...
293
679
<filename>main/editeng/source/xml/xmltxtimp.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 copyrigh...
3,230
639
<gh_stars>100-1000 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: tensor.proto #include "tensor.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #in...
29,111
374
<reponame>ericherman/OpenSMTPD /* $OpenBSD: getnetnamadr_async.c,v 1.26 2018/04/28 15:16:49 schwarze Exp $ */ /* * Copyright (c) 2012 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notic...
591
418
<reponame>aequasi/openshop.io-ios<gh_stars>100-1000 // // BFCollectionViewCell.h // OpenShop // // Created by <NAME> // Copyright (c) 2015 Business Factory. All rights reserved. // #import "BFAppAppearance.h" #import "BFProductImageView.h" /** * `BFCollectionViewCell` is a base collection view cell wrapper to be...
265
479
/** * 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 * distribu...
1,042
852
<reponame>malbouis/cmssw import FWCore.ParameterSet.Config as cms #------------------------------------------------ #AlCaReco filtering for HCAL isotrk: #------------------------------------------------ from Calibration.HcalAlCaRecoProducers.alcaHcalIsotrkProducer_cfi import * from Calibration.HcalAlCaRecoProducers.a...
153
666
<reponame>djaen/lite-app- // // QIYIWeakTimer.h // QIYIMiniProgram // // Created by Breakerror on 2018/2/28. // Copyright © 2018年 Breakerror. All rights reserved. // #import <Foundation/Foundation.h> @interface QIYIWeakTimerTarget : NSObject @property (nonatomic, weak, readwrite) id target; @property (nonatomic...
522
337
<reponame>KamilKurde/AmazMod<filename>service/src/main/java/com/amazmod/service/support/NotificationStore.java package com.amazmod.service.support; import android.content.Context; import androidx.collection.ArrayMap; import com.amazmod.service.util.DeviceUtil; import com.huami.watch.notification.data.NotificationKey...
2,025
3,913
<reponame>cksspk/ruoyi-vue-pro package cn.iocoder.yudao.framework.sms.core.client.impl.yunpian; import cn.hutool.core.util.ReflectUtil; import cn.iocoder.yudao.framework.test.core.ut.BaseMockitoUnitTest; import cn.iocoder.yudao.framework.common.core.KeyValue; import cn.iocoder.yudao.framework.common.exception.enums.Gl...
3,960
872
import string def get_str(ea): s = list() while True: b = Byte(ea) if not b: break s.append(b) ea += 1 return s def unrot(ea): dec = '' for b in get_str(ea): if chr(b) in string.uppercase: base_char = ord('A') elif chr(b) in string.lowerc...
489
988
/* * PROGRAM: JRD Access Method * MODULE: sqz.cpp * DESCRIPTION: Record compression/decompression * * The contents of this file are subject to the Interbase Public * License Version 1.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy * of the License at...
3,846
584
/* * Copyright 2017-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
1,517
332
<filename>references/link_to_the_api_documentation/example_python_project/python/example_file.py<gh_stars>100-1000 #!/usr/bin/env python # -*- coding: utf-8 -*- """This is a module docstring. Let's try linking to the USD API documentation's stage class. :usd:`UsdStage`. ^^^ That link should be clickable Also you c...
503
980
package org.jcodec.codecs.h264.decode; import static org.jcodec.codecs.h264.H264Const.BLK8x8_BLOCKS; import static org.jcodec.codecs.h264.H264Const.BLK_4x4_MB_OFF_LUMA; import static org.jcodec.codecs.h264.H264Const.BLK_8x8_IND; import static org.jcodec.codecs.h264.H264Const.BLK_8x8_MB_OFF_LUMA; import static org.jcod...
9,658
304
<reponame>apolovyi/warnings-ng-plugin package io.jenkins.plugins.analysis.core.util; /** * Handles references to issues in the console log. * * @author <NAME> */ public final class ConsoleLogHandler { /** ID that indicates that an issue references a line in the console log of a build. */ public static fina...
332
419
<filename>Hypodermic/InstanceFactory.h #pragma once #include <functional> #include <memory> namespace Hypodermic { class IRegistration; class IResolutionContext; typedef std::function< std::shared_ptr< void >(const IRegistration&, IResolutionContext&) > InstanceFactory; } // namespace Hypodermic
103
852
<reponame>ckamtsikis/cmssw // -*- C++ -*- // // Package: SimDataFormats/Associations // Class : MuonToTrackingParticleAssociatorBaseImpl // // Implementation: // [Notes on implementation] // // Original Author: <NAME> // Created: Wed, 07 Jan 2015 21:15:26 GMT // // system include files // user ...
262
1,102
#include "internal/barray.h" #include <string.h> void * bit_array_create(size_t size) { size_t bsize = ((size + 7) >> 3) + sizeof(size_t); void * ret = calloc(1, bsize); if (ret) *(size_t *)ret = size; return ret; } void bit_array_destroy(void * array) { if (array) free(array); } void * bit_...
1,970
743
package pl.allegro.tech.hermes.consumers.consumer.oauth; import com.google.common.util.concurrent.ThreadFactoryBuilder; import org.eclipse.jetty.http.HttpStatus; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pl.allegro.tech.hermes.api.Subscription; import pl.allegro.tech.hermes.api.SubscriptionName; ...
921
417
<filename>vtorcs-RL-color/scr-client-java/mr_racer/src/de/delbrueg/experiment/Experiment.java /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.delbrueg.experiment; import de.delbrueg.steering.behaviour.CircleSteeringSettings; /** * * @author Tim */ pub...
336
437
<reponame>anurag-lambdatest/screen_capture_lite #include <glad/gl.h> #define GLFW_INCLUDE_NONE #include "ScreenCapture.h" #include <GLFW/glfw3.h> #include <iostream> using namespace std::chrono_literals; void CheckStatus(GLuint obj, bool isShader) { GLint status = GL_FALSE, log[1 << 11] = {0}; (isShader ? glGe...
3,193
14,668
// Copyright (c) 2012 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_ZOOM_ZOOM_OBSERVER_H_ #define COMPONENTS_ZOOM_ZOOM_OBSERVER_H_ #include "components/zoom/zoom_controller.h" namespace zoom { // ...
224
5,169
{ "name": "TDAppMonitorKit", "version": "0.0.2", "summary": "性能监测", "homepage": "https://github.com/BeckWang0912/TDAppMonitorKit", "license": { "type": "MIT", "file": "LICENSE" }, "description": "TDAppMonitorKit 是一个性能监测工具,集成了UI、CPU、Memory检测分析", "authors": { "IMAC-AF9B8D": "<EMAIL>" }, "p...
330
755
<filename>python/neuroglancer/coordinate_space.py<gh_stars>100-1000 # coding=utf-8 # @license # Copyright 2019-2020 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://w...
3,421
324
/* * 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,054
1,144
/****************************************************************************** ** ** FILE NAME : ifxmips_deu_dma.h ** DESCRIPTION : Data Encryption Unit Driver ** COPYRIGHT : Copyright (c) 2009 ** Infineon Technologies AG ** Am Campeon 1-12, 85579 Neubiberg, Germa...
851
794
<gh_stars>100-1000 // // CAGifView.h // CrossApp // // Created by qiaoxin on 15-06-01. // Copyright (c) 2014 http://www.9miao.com All rights reserved. // #ifndef __CAGIF_VIEW_H__ #define __CAGIF_VIEW_H__ #include "CAView.h" #include "images/CAGif.h" NS_CC_BEGIN class CC_DLL CAGifView : public CAView { public: ...
689
903
<reponame>TsSaltan/jphp package org.develnext.jphp.ext.zip.classes; import org.develnext.jphp.ext.zip.ZipExtension; import php.runtime.annotation.Reflection; import php.runtime.env.Environment; import php.runtime.ext.java.JavaException; import php.runtime.reflection.ClassEntity; @Reflection.Name("ZipException") @Refl...
209
1,305
/* * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.management.openmbean; /** * This runtime exception is thrown to indicate that the <i>op...
314
488
void foobar() { if ( ({ union { int i; } u; u.i = 42; }) == 0); // if ( ({ struct { int i; } u; u.i = 42; }) == 0); }
63
319
<reponame>Celebrate-future/openimaj<filename>core/core/src/main/java/org/openimaj/util/stream/combine/StreamCombiner.java /** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modificatio...
1,295
511
/* * Copyright 2011-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package org.intellij.grammar.editor; import com.intellij.codeInsight.editorActions.BraceMatcherBasedSelectioner; import com.intellij.openapi.editor.Editor; import com.int...
515
1,306
package io.github.biezhi.java8.growing.jdk8; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; /** * Nashorn JavaScript引擎 * * @author biezhi * @date 2018/2/8 */ public class NashornDemo { public static void main(String[] args) throws ScriptExcept...
226
1,256
<gh_stars>1000+ #include <plugin.hpp> #include <PluginSettings.hpp> #include <DlgBuilder.hpp> #include "Lang.hpp" #include "version.hpp" #include <rpc.h> #include "guid.hpp" #include <initguid.h> #include "guid.hpp" wchar_t *GetEditorFileName(); const wchar_t *FindTopic(bool ForwardDirect=false, bool RestorePos=tru...
8,045
416
// // AEAssessmentConfiguration.h // AutomaticAssessmentConfiguration // // Copyright © 2020 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN API_AVAILABLE(ios(13.4), macos(10.15.4), macCatalyst(14.0)) @interface AEAssessmentConfiguration: NSObject <NSCopying> API_AVAI...
663
2,542
<filename>src/prod/src/ServiceModel/endpointcertificatedescription.h // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // -----------------------...
579
14,668
<gh_stars>1000+ // Copyright (c) 2012 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 NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ #define NET_DNS_DNS_CONFIG_SERVICE_WIN_H_ // The sole purpose of dns_config_service_win.h i...
1,004
2,328
// Copyright 2004-present Facebook. All Rights Reserved. #include "DecryptStream.h" namespace facebook { namespace conceal { inline bool DecryptBuffer::checkEof(bool eofFound) { if (eofFound && tagState_ == NOT_CHECKED) { bool ok = decrypt_.end(tailBuffer_.tail()); tagState_ = ok ? VALID_TAG : INVALID_TAG;...
1,516
565
<reponame>ningyixue/AIPI530_Final_Project<gh_stars>100-1000 # pylint: disable=unidiomatic-typecheck from typing import Optional, Union from .gpu import Device from .models.encoders import EncoderFactory, create_encoder_factory from .models.q_functions import QFunctionFactory, create_q_func_factory from .preprocessing...
1,211
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-2hff-p384-25wq", "modified": "2022-04-30T18:11:37Z", "published": "2022-04-30T18:11:37Z", "aliases": [ "CVE-1999-0997" ], "details": "wu-ftp with FTP conversion enabled allows an attacker to execute commands via ...
352
417
<reponame>LaudateCorpus1/quantum-1 /* ** Copyright 2018 Bloomberg Finance L.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 ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** U...
3,505
1,524
class dotdict(dict): """dot.notation access to dictionary attributes""" def __getattr__(self, attr): return self.get(attr) __setattr__ = dict.__setitem__ __delattr__ = dict.__delitem__
80
10,002
<filename>src/CalcViewModel/Common/ExpressionCommandDeserializer.h // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "CalcManager/ExpressionCommand.h" namespace CalculatorApp::ViewModel { namespace Common { class CommandDeserializer ...
327
766
/* generated */ #include "class.h" static const struct range ranges[] = { { 0x10B00UL, 0x10B35UL }, { 0x10B39UL, 0x10B3FUL } }; const struct class utf8_Avestan = { ranges, sizeof ranges / sizeof *ranges };
90
3,055
/* Fontname: -Efont-Fixed-Medium-R-Normal--12-120-75-75-C-120-ISO10646-1 Copyright: (c) Copyright 2000-2003 /efont/ The Electronic Font Open Laboratory. Glyphs: 2129/21527 BBX Build Mode: 0 */ #ifdef U8G2_USE_LARGE_FONTS const uint8_t u8g2_font_f12_t_japanese2[61584] U8G2_FONT_SECTION("u8g2_font_f12_t_japanese2...
102,655
628
// SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenColorIO Project. #include <OpenColorIO/OpenColorIO.h> #include "ops/gamma/GammaOpGPU.h" #include "ops/gamma/GammaOpUtils.h" namespace OCIO_NAMESPACE { namespace { // Create shader for basic gamma style void AddBasicFwdShader(GpuShaderCr...
7,144
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms process = cms.Process("test_NoiseFromExampleXmlFile") process.load("DQM.SiStripCommon.MessageLogger_cfi") process.load("OnlineDB.SiStripESSources.NoiseFromExampleXmlFile_cff") process.load("IORawData.SiStripInputSources.EmptySource_cff") process.te...
158
501
# encoding: utf-8 import math import random import torchvision.transforms as T def build_transforms(cfg): normalize_transform = T.Normalize(mean=cfg.INPUT.PIXEL_MEAN, std=cfg.INPUT.PIXEL_STD) transforms = {} if cfg.TEST.PARTIAL_REID == 'off': transforms['train'] = T.Compose([ T.Resize...
1,547
813
<gh_stars>100-1000 /* * Copyright 2013-2019 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 * * U...
1,739
892
{ "schema_version": "1.2.0", "id": "GHSA-h95q-936x-2qhf", "modified": "2022-05-13T01:31:17Z", "published": "2022-05-13T01:31:17Z", "aliases": [ "CVE-2019-3712" ], "details": "Dell WES Wyse Device Agent versions prior to 172.16.31.10 and Dell Wyse ThinLinux HAgent versions prior to 5.4.55 00.10 contain...
522
354
<gh_stars>100-1000 /*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not...
446
6,989
#pragma once #include <util/generic/flags.h> #include <util/generic/string.h> #include <util/generic/yexception.h> namespace NFs { enum EFilePermission { FP_ALL_EXEC = 01, FP_ALL_WRITE = 02, FP_ALL_READ = 04, FP_GROUP_READ = 040, FP_GROUP_WRITE = 020, FP_GROUP_EXEC ...
2,141
335
{ "word": "Dough", "definitions": [ "A thick, malleable mixture of flour and liquid, used for baking into bread or pastry.", "Money." ], "parts-of-speech": "Noun" }
83
12,718
<filename>lib/libc/musl/src/unistd/isatty.c<gh_stars>1000+ #include <unistd.h> #include <errno.h> #include <sys/ioctl.h> #include "syscall.h" int isatty(int fd) { struct winsize wsz; unsigned long r = syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz); if (r == 0) return 1; if (errno != EBADF) errno = ENOTTY; return 0; }
156
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Vulvovaginitis", "definitions": [ "Inflammation of the vulva and vagina." ], "parts-of-speech": "Noun" }
83
575
<reponame>Yannic/chromium // Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/examples/textfield_example.h" #include <stddef.h> #include <memory> #include <utility> #include "base/...
3,123
310
<filename>gear/software/d/djay-pro.json<gh_stars>100-1000 { "name": "<NAME>", "description": "DJ software for the Mac.", "url": "https://www.algoriddim.com/djay-pro-mac" }
73
4,812
<gh_stars>1000+ #!/usr/bin/env python import sys import time if len(sys.argv) != 2: raise ValueError("unexpected number of args") if sys.argv[1] == "--gtest_list_tests": print("""\ FirstTest. subTestA subTestB subTestC """) sys.exit(0) elif not sys.argv[1].startswith("--gtest_filter="): raise V...
375
335
{ "word": "Torque", "definitions": [ "Apply torque or a twisting force to (an object)" ], "parts-of-speech": "Verb" }
63
2,027
<reponame>giuseppe/quay<filename>endpoints/api/subscribe_models_pre_oci.py<gh_stars>1000+ from data.model.notification import create_unique_notification, delete_notifications_by_kind from data.model.user import get_private_repo_count, get_user_or_org from endpoints.api.subscribe_models_interface import SubscribeInterfa...
348
6,160
<reponame>nll/jmeter<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, Vers...
1,018
19,920
/* * Copyright (C) 2017 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,310
852
#include "DataFormats/ForwardDetId/interface/HGCEEDetId.h" #include "FWCore/Utilities/interface/Exception.h" #include <ostream> #include <iostream> const HGCEEDetId HGCEEDetId::Undefined(ForwardEmpty, 0, 0, 0, 0, 0); HGCEEDetId::HGCEEDetId() : DetId() {} HGCEEDetId::HGCEEDetId(uint32_t rawid) : DetId(rawid) {} HGCE...
817
679
<reponame>Grosskopf/openoffice<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 copyrig...
5,543
945
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
2,492
927
// // Reg.cpp // // Created by <NAME> on 1/16/21. // #include <iostream> #include <cmath> #include "Cost.hpp" #include "LinAlg/LinAlg.hpp" #include "Regularization/Reg.hpp" namespace MLPP{ double Cost::MSE(std::vector <double> y_hat, std::vector<double> y){ double sum = 0; for(int i = 0; i < y_h...
8,235
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. // ------------------------------------------------------------ #pragma once ...
312
311
<filename>src/main/java/org/javacs/debug/proto/ThreadEvent.java package org.javacs.debug.proto; /** Event message for 'thread' event type. The event indicates that a thread has started or exited. */ public class ThreadEvent extends Event { // event: 'thread'; public ThreadEventBody body; }
92
839
/** * 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 m...
1,679
825
// // HMMeasureRenderObject.h // Hummer // // Created by 唐佳诚 on 2020/10/23. // #import <Hummer/HMRenderObject.h> #import <Hummer/HMYogaUtility.h> NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXTERN YOGA_TYPE_WRAPPER(YGSize) HMCompatibleMeasure(YOGA_TYPE_WRAPPER(YGNodeRef) node, float width, YOGA_TYPE_WRAPPER(YGMeasureMode)...
267
310
{ "name": "<NAME>", "description": "A tiny flash drive.", "url": "https://www.amazon.com/SanDisk-Cruzer-Low-Profile-Drive-SDCZ33-016G-B35/dp/B005FYNSZA" }
68
7,899
#include "bitmap_find.h" #include "../base/UTHashTable_c.h" #include <assert.h> /* Node to be used in hash table. */ struct shiftNode { UTHashNode_HEAD /* Make structure hashable */ MMRGBHex color; /* Key */ MMPoint offset; /* Value */ }; /* --- Hash table helper functions --- */ /* Adds hex-color/offset pair to ...
3,747
925
/***************************************************************************** * * * PrimeSense PSCommon Library * * Copyright (C) 2012 PrimeSense Ltd. * * ...
2,684
421
<reponame>profelis/daScript<filename>src/builtin/module_builtin_vector_ctor.cpp<gh_stars>100-1000 #include "daScript/misc/platform.h" #include "module_builtin.h" #include "daScript/ast/ast_interop.h" #include "daScript/simulate/simulate_nodes.h" #include "daScript/ast/ast_policy_types.h" #include "daScript/simulate/s...
6,992
713
from collections import Counter class Solution(object): def numSubmatrixSumTarget(self, matrix, target): """ :type matrix: List[List[int]] :type target: int :rtype: int """ if not matrix or not matrix[0]: return 0 rowCount, columnCount = len(matr...
848
562
<gh_stars>100-1000 #include <taglib/tlist.h> #include <taglib/fileref.h> int main() { TagLib::List<TagLib::FileRef> fileList; return 0; }
66
5,169
{ "name": "ImpactTutorial", "version": "0.0.1", "summary": "A step-based tutorial framework with functionality similar to Snapchat/Instagram Stories.", "platforms": { "ios": "10.0" }, "homepage": "https://github.com/joeynelson42/impactTutorial", "license": { "type": "MIT", "file": "LICENSE" ...
247
480
<gh_stars>100-1000 # # Collective Knowledge (some common operations for all CK) # # See CK LICENSE.txt for licensing details # See CK COPYRIGHT.txt for copyright details # # Developer: <NAME>, <EMAIL>, http://cTuning.org/lab/people/gfursin # cfg = {} # Will be updated by CK (meta description of this module) work = {}...
1,562
385
#include "types.h" #include "sead/tree.h" #include "sead/string.h" #pragma once namespace Lp { namespace Sys { class Actor{ public: Actor(); virtual ~Actor(); u64 LpActor_x8; sead::TreeNode mTreeNodes[2]; char LpActor_x60[0xB8]; u64 LpAct...
557
831
/* * Copyright (C) 2017 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...
833
874
<filename>src/main/java/com/jnape/palatable/lambda/functor/builtin/Exchange.java package com.jnape.palatable.lambda.functor.builtin; import com.jnape.palatable.lambda.functions.Fn1; import com.jnape.palatable.lambda.functor.Profunctor; import com.jnape.palatable.lambda.optics.Iso; /** * A profunctor used to extract ...
1,046
1,364
/* Copyright (c) 2006, <NAME> * * You may distribute this software under the terms of the license * specified in the file "License" */ package kilim.nio; import java.nio.channels.spi.AbstractSelectableChannel; import kilim.Mailbox; public class SockEvent { public SockEvent(Mailbox<SockEvent> aReplyTo, Abstra...
187
609
#include <sys/types.h> #include <utmp.h> #include <stdio.h> /* The login_tty() function prepares for a login on the terminal fd (which may be a real terminal device, or the slave of a pseudoterminal as returned by openpty()) by creating a new session, making fd the controlling terminal for the ca...
186
1,779
// // Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
664
568
<filename>src/main/java/com/fincatto/documentofiscal/mdfe3/classes/nota/MDFRespTec.java /* * 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 * * htt...
1,622
4,283
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
1,313
346
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
819
5,169
<filename>Specs/4/7/9/VIUMiddlewareGP/0.0.5/VIUMiddlewareGP.podspec.json { "name": "VIUMiddlewareGP", "version": "0.0.5", "summary": "Module for VIU", "description": "Module for VIU", "homepage": "https://bitbucket.org/JINGPri/viumiddlewaregp/src/main/", "license": "MIT", "authors": { "jingpri": "<EMA...
259
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. #ifndef ASH_SYSTEM_MESSAGE_CENTER_ARC_ARC_NOTIFICATION_SURFACE_MANAGER_IMPL_H_ #define ASH_SYSTEM_MESSAGE_CENTER_ARC_ARC_NOTIFICATION_SURFACE_MANAGER_IMPL...
609
511
<gh_stars>100-1000 /***************************************************************************** * * Copyright 2017 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 co...
65,609
481
<reponame>DEVESHTARASIA/tensorflow /* Copyright 2016 The TensorFlow 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 Unle...
1,052
1,652
<filename>redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/build/ComponentsConfigurator.java package com.ctrip.xpipe.redis.console.build; import com.ctrip.xpipe.redis.console.ds.*; import org.unidal.dal.jdbc.datasource.DataSourceProvider; import org.unidal.lookup.configuration.AbstractResourceConfigurat...
463
6,034
package cn.iocoder.mall.systemservice.rpc.systemlog.vo; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.Date; /** * 系统访问日志 VO */ @Data @Accessors(chain = true) public class SystemAccessLogVO implements Serializable { /** * 编号 */ private Integ...
594
3,897
<reponame>adelcrosge1/mbed-os<gh_stars>1000+ /** * @file pwrseq_regs.h * @brief Registers, Bit Masks and Bit Positions for the PWRSEQ Peripheral Module. */ /* **************************************************************************** * Copyright (C) Maxim Integrated Products, Inc., All Rights Reserved. * ...
4,949
852
''' Created on Jun 26, 2013 @author: <NAME> @contact: <EMAIL> http://cmsdoxy.web.cern.ch/cmsdoxy/dataformats/ @responsible: ''' json = { "full": { "title": "RecoLocalTracker collections (in RECO and AOD)", "data": [ { "instance": "siPixelDigis", ...
724
454
<gh_stars>100-1000 /* * This file is generated by jOOQ. */ package cn.vertxup.erp.domain.tables.pojos; import cn.vertxup.erp.domain.tables.interfaces.IEEmployee; import io.github.jklingsporn.vertx.jooq.shared.internal.VertxPojo; import java.time.LocalDateTime; import static io.github.jklingsporn.vertx.jooq.shar...
7,549
1,080
#------------------------------------------------------------------------------ # Copyright (c) 2019, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. #-----------------------------------------------------...
1,641