content
stringlengths
2
6.21k
label
stringclasses
16 values
:= range cases { pbPolicy.Name = tc.pbPolicyName pbPolicy.EnvoyOpts = tc.pbEnvoyOpts policyFromPb, err := NewPolicyFromProto(pbPolicy) assert.NoError(t, err) assert.Equal(t, tc.expectedPolicyName, policyFromPb.EnvoyOpts.Name) } }) t.Run("redirect route", func(t *testing.T) { p := &Policy{ Fro...
Go
import networkx as nx import os def cargar_rutas(nombre_archivo): grafo = nx.Graph() if not os.path.exists(nombre_archivo): with open(nombre_archivo, 'w') as archivo: archivo.write('"Pueblo Paleta", "Aldea Azalea", 100\n') archivo.write('"Aldea Azalea", "Ciudad Safiro", 150\n') ...
Python
-webkit-flex: 1; flex: 1; overflow: auto; } @media (max-width: 540px) { div.nbinput.container div.input_area, div.nboutput.container div.output_area { width: 100%; } } /* input area */ div.nbinput.container div.input_area { border: 1px solid #e0e0e0; border-radius: 2px; backg...
HTML
initial_scale=2**5) elif args.plugin == "low_level_zero": plugin = LowLevelZeroPlugin(initial_scale=2**5) logger.info(f"plugin: {plugin}") booster = Booster(plugin=plugin, **booster_kwargs) ctx = ( LazyInitContext(default_device=get_accelerator().get_current_device()) if args.pl...
Python
981 L1057: L1039: movq _pypy_g_typeinfo@GOTPCREL(%rip), %rsi addq $59688, %rsi movq %rsi, (%r11) movq _pypy_g_exceptions_AssertionError_5@GOTPCREL(%rip), %rax movq %rax, 8(%r11) movq _pypydtcount@GOTPCREL(%rip), %rdi movl (%rdi), %edx movq _pypy_debug_tracebacks@GOTPCREL(%rip), %rcx movslq %edx,%rax salq $4, ...
Assembly
6d7f1abc8fa7fc866211af946cb7495124"></a><!-- doxytag: member="XED_IFORM_POP_GS" ref="4e231bca35f78f25641be3eabcb35f6d7f1abc8fa7fc866211af946cb7495124" args="" -->XED_IFORM_POP_GS</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="4e231bca35f78f25641be3eabcb35f6dadf41b987bfd6941b144722bfbe2f...
HTML
routes![module_info, preload] } #[doc = "Reader of register FLCTL_POWER_STAT"] pub type R = crate::R<u32, super::FLCTL_POWER_STAT>; #[doc = "Flash power status\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] #[repr(u8)] pub enum PSTAT_A { #[doc = "0: Flash IP in power-down mode"] PSTAT_0 = 0...
Rust
let str = url.substring(index + 1); if (str.length > 0) { return str.split("&"); } } return []; } /** * * @param url * @param obj */ public static getUrlByObj(url: string, obj: Object) { let temp = url; let i...
Typescript
F5 */ stb r6, -0x610b(r4) /* 8011CFB4 00118C14 88 DF 06 E6 */ lbz r6, 0x6e6(r31) /* 8011CFB8 00118C18 98 C4 9E F6 */ stb r6, -0x610a(r4) /* 8011CFBC 00118C1C 88 DF 06 E7 */ lbz r6, 0x6e7(r31) /* 8011CFC0 00118C20 98 C4 9E F7 */ stb r6, -0x6109(r4) /* 8011CFC4 00118C24 88 DF 06 E8 */ lbz r6, 0x6e8(r31) /* 8011CFC8...
Assembly
} } return outBuffer; } public byte[] unwrap() throws GSSException { return unwrap(null, 0); } public void unwrap(OutputStream os) throws GSSException { byte[] data = unwrap(); try { os.write(data); } catch (IOException e) { ...
Java
शन**: कंटेंट डिलीवरी नेटवर्क में एआई प्रोसेसिंग क्षमताओं को एकीकृत करें - **5G एज**: एआई-संचालित अनुप्रयोगों के लिए 5G एज कंप्यूटिंग का लाभ उठाएं - **फॉग कंप्यूटिंग**: फॉग कंप्यूटिंग वातावरण में एआई प्रोसेसिंग लागू करें ## इंस्टॉलेशन और सेटअप ### एक्सटेंशन इंस्टॉलेशन विजुअल स्टूडियो कोड मार्केटप्लेस से सीधे एआई टूलकि...
Markdown
ree_dhx_skyblue .selectedTreeRow{background-color:#b5deff;background-repeat:repeat-x;border:1px solid #a1ceed;color:black;line-height:17px;font-family:Tahoma,Helvetica;font-size:12px;overflow:hidden;}html>body .dhxtree_dhx_skyblue .selectedTreeRow,html>body .dhxtree_dhx_skyblue .selectedTreeRow_lor{padding:1px 0 1px 0;...
CSS
", "冐": "冒", "冗": "穴", "军": "軍", "农": "農", "冢": "塚", "冣": "最", "冩": "写", "冫": "氷", "冯": "馮", "冰": "氷", "冱": "濾", "冲": "沖", "决": "決", "况": "況", "冺": "泯", "冻": "凍", "净": "浄", "凂": "浼", "准": "準", "凈": "浄", "凉": "涼", "减": "減", "凐": "湮", "凑": "湊", "凓": "溧", "凔": "滄", "凗": "漼", "凘": "澌", "凙": "沢", "凜": "凛", "凟": "涜", "几": "幾...
Dart
// // ClassDump By HuangBai Private // Copyright (C) 1997-2019 Steve Nygard. Updated HuangBai-2024 // #import <objc/NSObject.h> @class NSString, UIView, UIViewController, WCFinderMinimizeFloatingView; @protocol WCFinderMinimizeTransitioningDelegate; @interface WCFinderMinimizeTransitioning : NSObject { _Bool _...
C
Bar" />bool QMenuBar.isNativeMenuBar (<i>self</i>)</h3><h3 class="fn"><a name="keyPressEvent" />QMenuBar.keyPressEvent (<i>self</i>, <a href="qkeyevent.html">QKeyEvent</a>)</h3><h3 class="fn"><a name="leaveEvent" />QMenuBar.leaveEvent (<i>self</i>, <a href="qevent.html">QEvent</a>)</h3><h3 class="fn"><a name="minimumSi...
HTML
3",acd:"\u223F",acirc:"\u00E2",acy:"\u0430",aelig:"\u00E6",af:"\u2061",agrave:"\u00E0",alefsym:"\u2135",amacr:"\u0101",amp:"\u0026",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsda...
JavaScript
lateau => climate(2.0, 0.0), BambooJungle => climate(0.95, 0.9), BambooJungleHills => climate(0.95, 0.9), SoulSandValley => climate(2.0, 0.0), CrimsonForest => climate(2.0, 0.0), WarpedForest => climate(2.0, 0.0), BasaltDeltas => climate(2.0, 0.0),...
Rust
org.oppia.android.util.accessibility.AccessibilityTestModule import org.oppia.android.util.caching.AssetModule import org.oppia.android.util.caching.testing.CachingTestModule import org.oppia.android.util.gcsresource.GcsResourceModule import org.oppia.android.util.locale.LocaleProdModule import org.oppia.android.util....
Kotlin
instruction. Jcc { cond: Condition, offset: i8 }, /// Jump to a fixed [address][`Address`]. Jmp { address: Address }, /// Call a function at a fixed [address][`Address`]. /// /// More specifically, push the address of the following instruction onto the call stack, then /// [`Jmp`][`Instruc...
Rust
eq!(name, "dummy"), other => panic!("unexpected error: {}", other), } } #[test] fn test_delete_experiment() { let db = Database::temp().unwrap(); let config = Config::default(); ::crates::lists::setup_test_lists(&db, &config).unwrap(); // Create a dummy...
Rust
attribut <code id="a-disabled"><a href="https://developer.mozilla.org/fr/docs/Mozilla/Tech/XUL/Attributs/disabled">disabled</a></code> à l'élément <code><a href="/fr/docs/Mozilla/Tech/XUL/key" title="key">key</a></code> et lui affecter la valeur 'true'. Cet attribut désactive le raccourci clavier de façon à ce qu'il ne...
HTML
="no-break"> scouting_app_2024 1.0.8+2 </span> </footer> <script src="../../static-assets/highlight.pack.js?v1"></script> <script src="../../static-assets/docs.dart.js"></script> </body> </html> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible"...
HTML
for (AuraEffect* aurEff : mounts) { aurEff->RecalculateAmount(); if (!aurEff->GetAmount()) aurEff->GetBase()->Remove(); else if (MountCapabilityEntry const* capability = sMountCapabilityStore.LookupEntry(aurEff->GetAmount())) // aura may get removed by interrupt flag, reapply ...
C++
//! \remark callsigns I do receive void receivingCallsignsChanged(const swift::core::afv::audio::TransceiverReceivingCallsignsChangedArgs &args); //! Connection status has been changed void connectionStatusChanged(swift::core::afv::clients::CAfvClient::ConnectionStatus status); //! Client updated from...
C
#include <time.h> #include <unistd.h> #include <errno.h> /* Divide *tp by 10 and also return the remainder */ /* On processors with real idiv we should probably just use that */ static unsigned long div10quickm(unsigned long *tp) { unsigned long q, r, t; t = *tp; q = (t >> 1) + (t >> 2); q = q + (q >> 4); q = q +...
C
    return err; } ``` 19. 发送模块加载通知链 ============= ``` err = prepare_coming_module(mod); if (err)     goto bug_cleanup; ``` ``` static int prepare_coming_module(struct module *mod) {     int err;        ftrace_module_enable(mod);     err = klp_module_coming(mod);     if (err)         return err;        blocking_no...
Markdown
; } /// <summary> /// Should not generate method for string switch since /// the CLR only allows adding private members. /// </summary> [WorkItem(834086, "DevDiv")] [Fact] public void PrivateImplementationDetails_ComputeStringHash() { ...
C#
object!") } } override fun toString() = """ |Frame MS_ANZ (0x033D): | number of the ASS status message: ${get_ass_dspl()} | number of the ASS warning message: ${get_ass_warn()} | Suppression of lamp test during the stop phase: ${get_ass_ltest_aus()} """.trimMargin("|") } @file:Suppress("unused"...
Kotlin
String.toLowerCase(); } /** * @return */ public boolean isShowDisabled() { return showDisabled; } /** * @param showDisabled */ public void setShowDisabled(boolean showDisabled) { this.showDisabled = showDisabled; } /** * @return the showUnsupported */ public boolean isShowUnsupported() ...
Java
//----------------------------------------------------------------------------- // Torque Shader Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- #ifndef _SHADERCOMP_H_ #define _SHADERCOMP_H_ #include "materials/miscShdrDat.h" #include "core/...
C
", "yes-man":" 应声虫, 随声附和的人", "yes-men":"n. 唯唯诺诺的人", "yes-no question":"[计] 需回答\"是或非\"的问题", "yes?":" 什么事?", "yesenia":" [人名] 耶塞妮娅; [电影]叶塞妮娅", "yeses":"n. 表示同意的答覆, 表示同意的人( yes的复数形式 )", "yeshiva":"n. 犹太高等学校,犹太初等(或中学)学校", "yeshivah":"n. (培养拉比的)犹太神学院, 犹太高等学校; 犹太初等[中等]学校", "yesman":"n. (贬)唯唯诺诺的人", "yesmen":"yesman的复数", "yess...
Typescript
5, "yingxiv2_hard_3x1_1", 104, 7 }, { 3, 3, "yingxiv2_hard_2x2_3", 47, -33 }, { 3, 2, "yingxiv2_hard_1x1_3", 0, 0 }, { 2, 9, "yingxiv2_hard_3x1_1", 104, 9 }, { 2, 1, "yingxiv2_hard_3x1_1", 106, 5 }, ...
Lua
data('gamma', gamma) md.add_macro("Sqr(a)", "a*a"); md.add_macro("WW1", "mu*(0.5+gamma)") md.add_macro("WW2", "mu*(0.5-gamma)") md.add_macro("WW3", "kappa*(1-1/Det(F)) - 2*WW2*pow(Det(F),-2/3) - WW1*pow(Det(F),-4/3)") md.add_macro("I1", "Norm_sqr(F)") md.add_macro("I2", "Sqr(Det(F))*Norm_sqr(Inv(F))") md....
Python
ches, udp_packets_in_regex: RegexMatches, udp_packets_out_regex: RegexMatches, start_date: DateTime<Local>, counters: Counters, template: String, } impl Motd { pub fn new(template: String, counters: Counters) -> Motd { let start_date_regex = Regex::new(r"(?i)\{\{\s*start_date\s*\}\}") ...
Rust
that identifies the appearance category for the <see cref="ITextView"/>s displayed in the default /// signature help presenter. /// </summary> /// <remarks> /// Manipulating this value will change the classification format map used in the translation of classification types to //...
C#
(fn: (...a: T) => U) => (...args: T) => U; } export const Cleaner = () => { let tasks: Task[] = []; const add = (task: Task) => { tasks.push(task); }; const run = () => { Arr.each(tasks, (task) => { try { task(); } catch (e) { // tslint:disable-next-line:no-console ...
Typescript
=> || gst_controller_sys::gst_proxy_control_binding_get_type(), } } impl ProxyControlBinding { #[cfg(any(feature = "v1_12", feature = "dox"))] pub fn new<P: IsA<gst::Object>, Q: IsA<gst::Object>>( object: &P, property_name: &str, ref_object: &Q, ref_property_name: &str, ...
Rust
from setuptools import find_packages from setuptools import setup setup( name='ros2cli', version='0.40.1', packages=find_packages(exclude=['test']), extras_require={ 'completion': ['argcomplete'], 'test': [ 'pytest', ], }, data_files=[ ('share/ament_i...
Python
more scalar variables summarizing covariate data across a specified time window. These predictor variables are used to fit the synthetic control. | | `generate_weights()` | Fit the unit and predictor weights used to generate the synthetic control. ...
Markdown
WRAP))) } Bipf.list_append(lst, prevList) } else { Bipf.list_append(lst, Bipf.mkString("null")) // TODO: Change to Bipf.mkNone(), but would be incompatible with the old format } Bipf.list_append(lst, Bipf.mkString(operation)) if(args != null) { ...
Kotlin
100%; } .fox-ear:first-child { -webkit-animation: ear-left 17s infinite none; animation: ear-left 17s infinite none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%20168%20168%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23df6951%22%20d%3D...
CSS
l\:text-pink-darkest { color: #451225; } .xl\:text-pink-darker { color: #6f213f; } .xl\:text-pink-dark { color: #eb5286; } .xl\:text-pink { color: #f66d9b; } .xl\:text-pink-light { color: #fa7ea8; } .xl\:text-pink-lighter { color: #ffbbca; } .xl\:text-pink-lightest ...
CSS
BaseCommand from './BaseCommand'; import {DMChannel, Guild, GuildMember, Message, TextChannel, User} from 'discord.js'; import DiscordUserRecord from '../entity/DiscordUserRecord'; import PlayerScraper from '../scoresaber/scrapers/PlayerScraper'; export default class AmCommand extends BaseCommand { protected asyn...
Typescript
做伪装不然被检测出来会给你断网几小时。100兆的为例,其实是一个套餐包含一个手机号校内200g校外10g流量,和一个100兆宽带,月租59 - A25250: 一般 - A27077: 移动不行联通还好 - A27355: 有,还行,有点贵 ## Q: 每天断电断网吗,几点开始断? - A21567: 电会断,但有的不断且可以破解。网不断 - A22373: 网不断,有的宿舍不断电 - A23851: 一般断电,应该12点吧,因为有的寝室是不断电的比如我们的。网不断 - A25250: 部分宿舍断,部分不断。断电时间也不一样,早的10点半就断。(有办法解决) - A27077: 断电11点周末11点半 - A27...
Markdown
iss the Hunter", CT_RABOSS_AYAMISS_INFO, 1, CT_RABOSS_LOCATIONS_AHNQIRAJRUINS ); CT_RABoss_AddEvent("Ayamiss the Hunter", "CHAT_MSG_SPELL_PERIODIC_SELF_DAMAGE", CT_RABoss_Ayamiss_EventHandler); CT_RABoss_AddEvent("Ayamiss the Hunter", "CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE", CT_RABoss_Ayamiss_EventHandler); ...
Lua
something with a different PID DWORD new_pid = pid; EnumChildWindows(window, [](HWND hwnd, LPARAM param) -> BOOL { auto new_pid_ptr = reinterpret_cast<DWORD*>(param); DWORD pid; GetWindowThreadProcessId(hwnd, &pid); if (pid != *new_pid_ptr) { *new_pid_ptr = pid; re...
C++
nt32(1024),E=l.mallocDouble(1024)},{"./brute":69,"./median":71,"./partition":72,"./sweep":74,"bit-twiddle":65,"typedarray-pool":537}],71:[function(t,e,r){"use strict";function n(t,e,r,n,i,a){for(var o=2*t,s=o*(r+1)+e,l=r+1;l<n;++l,s+=o)for(var u=i[s],c=l,h=o*(l-1);c>r&&i[h+e]>u;--c,h-=o){for(var f=h,d=h+o,p=0;p<o;++p,+...
HTML
d) if x == nil then return nil end if d == key:len() then return x end local c = rwaytries.charAt(key, d) return self:_get(x.nodes[c],key, d+1) end function rwaytries:remove(key) local x = self:_get(self.root, key, 0) if x ~= nil then if x.value ~= nil then ...
Lua
n all browsers. */ small { font-size: 80%; } /* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* 1. Remove text indentation f...
CSS
push({row, col}); return true; } return false; }; const maze: boolean[][] = [ [true, false, true], [false, false, true], [true, true, true] ]; const path = getPath(maze); if (path){ path.forEach(point => { console.log(point.row, point.col); }); } import { Entity } from "../../com...
Typescript
se barno[i] = 0 end for i = 0, MAX_SECTIONS-1 do eff_hardlength[i] = 0 eff_softlength[i] = 0 bars[i] = 0 autolines[i] = false linegoal[i] = 0 mulooseness[i] = 0 end --[[ Read and decode header items: 1. Linewidth; 2. Parindent; 3. Beforeruleskip; 4. Afterruleskip; 5. Elemskip; 6. Clefskip; 7. ...
Lua
container-fluid,.navbar-expand>.container-sm,.navbar-expand>.container-md,.navbar-expand>.container-lg,.navbar-expand>.container-xl{flex-wrap:nowrap}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex !important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.nav...
CSS
href="../../SectionParser.html#LOOKAHEAD_DEPTH">LOOKAHEAD_DEPTH</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a id="fields.inherited.from.class.com.ibm.dtfj.javacore.parser.j9.SectionParserGrammar"> <!-- --> </a> <h3>Fields declared in class&nbsp;com.ibm.dtfj.javacore.parser.j9.<a href="../../Se...
HTML
iveLaneWidth(3.75); // the default lane width is 3.75 } else { this.network.setEffectiveLaneWidth(Double.parseDouble(effectivelanewidth)); } if ((atts.getValue("capPeriod") != null) || (atts.getValue("capDivider") != null) || (atts.getValue("capdivider") != null)) { log.warn("Found capPeriod, capDivider an...
Java
Matrix = {} function Matrix.new( dim_y, dim_x ) assert( dim_y and dim_x ) local matrix = {} local metatab = {} setmetatable( matrix, metatab ) metatab.__add = Matrix.Add metatab.__mul = Matrix.Mul metatab.__pow = Matrix.Pow matrix.dim_y = dim_y matrix.dim_x = dim_x matrix.dat...
Lua
0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2, 0xeb, 0x27, 0xb2, 0x75, 0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0, 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84, 0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf, 0xd0, 0xef, 0xaa, 0xfb, 0x43,...
Java
9750001, &#34;ObjectId&#34;: 66 }, &#34;geometry&#34;: { &#34;x&#34;: 2780034.210313774, &#34;y&#34;: 5755681.687252414, &#34;spatialReference&#34;: { &#34;wkid&#34;: 102100, &#34;latestWkid&#34;: 3857 } } }, {...
HTML
// ======= 8< =========================================================== // Generated by Structorizer 3.32-20 // Copyright (C) 2020-03-21 Kay Gürtzig // License: GPLv3-link // GNU General Public License (V 3) // https://www.gnu.org/licenses/gpl.html // http://www.gnu.de/documents/gpl.de.html import FileApiG...
Java
dialogTitle) { mDialogTitle = _dialogTitle; } //dlgShowMessage public void ShowMessage(String _packageName) { Class<?> cls = GetClass(_packageName+"."+"jModalDialog"); //_javaClassName if (cls != null) { mI = new Intent(); mI.setClass(controls.activity, cl...
Java
}: IfindDayRange): Promise<Appointment[]> { const parsedMouth = String(month).padStart(2, '0'); const parsedDay = String(day).padStart(2, '0'); const Appointment = await this.ormRepository.find({ where: { provider_id, date: Raw( ...
Typescript
7295, false) self.currencyItemList_:UnInit() self.currencyItemList_ = nil self.uiBinder.tog_chemistry:RemoveAllListeners() self.uiBinder.tog_chemistryexperiment:RemoveAllListeners() self.curSubType_ = nil if self.curSubView_ ~= nil then self.curSubView_:DeActive() end self.curSubView_ = nil self:c...
Lua
6 19.9 2.3 23.7 11.6l20 48c3.4 8.2 1 17.6-5.8 23.2L168 231.7c16.6 35.2 45.1 63.7 80.3 80.3l20.2-24.7c5.6-6.8 15-9.2 23.2-5.8l48 20c9.3 3.9 14.2 14 11.6 23.7l-12 44C336.9 378 329 384 320 384C196.3 384 96 283.7 96 160c0-9 6-16.9 14.7-19.3l44-12z"],"hat-beach":[640,512,[],"e606","M197.9 201.4C225.6 215.1 270 224 320 224c2...
JavaScript
nKind = assertionKind; goto DONE_ASSERTION; } case GT_LCL_VAR: { if (!optLocalAssertionProp) { // O2K_LCLVAR_COPY is local assertion prop only goto DONE_ASSERTION...
C++
* Articles * [Getting Started](../articles/a01_getting-started.html) * [Working with cohorts](../articles/a02_cohorts.html) * [CDMConnector and dbplyr](../articles/a03_dbplyr.html) * [DBI connection examples](../articles/a04_DBI_connection_examples.html) * [Using CDM attributes](../articles/a06_usi...
Markdown
="utf-8"> <!-- Meta tags for social media banners, these should be filled in appropriatly as they are your "business card" --> <!-- Replace the content tag with appropriate information --> <meta name="description" content="DESCRIPTION META TAG"> <meta property="og:title" content="SOCIAL MEDIA TITLE TAG" /> <m...
HTML
hands to war, so that a bow of steel is broken by mine arms. **35** Thou hast also given me the shield of thy salvation: and thy right hand hath holden me up, and thy gentleness hath made me great. **36** Thou hast enlarged my steps under me, that my feet did not slip. **37** I have pursued mine enemies, and overtak...
Markdown
0, [r1, #PMC_SR_OFFSET] tst r0, #PMC_SR_MCKRDY beq 1b /* Select PLL as clock source */ ldr r0, =((1 << PMC_MCKR_PRES_BIT) | 3 << PMC_MCKR_CSS_BIT) str r0, [r1, #PMC_MCKR_OFFSET] #ifdef __FLASH_BUILD /* Copy exception vectors into Internal SRAM */ mov r8, #0x00200000 ldr r9, =_vectors ldmia r9!, {r0-...
Assembly
lse { fmt.Printf("Div: %v -> %v", f6_b, f6_b_simp) TEST.Logf("Div: %v -> %v", f6_b, f6_b_simp) } f7_b := parse("(x^2 * y) / (x^3 * y)", vnames) f7_b_corr := NewDiv(NewConstant(-1), NewVar(0)) f7_b_simp := f7_b.Clone().Simplify(rules) if !f7_b_simp.AmISame(f7_b_corr) { TEST.Fatalf("FAIL Div: f7_b_simp != f...
Go
4ba3e31e92af8861bb"><div class="ttname"><a href="fabglconf_8h_a053cde6629b66d4ba3e31e92af8861bb.html#a053cde6629b66d4ba3e31e92af8861bb">VGA_320x200_75Hz</a></div><div class="ttdeci">#define VGA_320x200_75Hz</div><div class="ttdef"><b>Definition:</b> <a href="fabglconf_8h_source.html#l00183">fabglconf.h:183</a></div></d...
HTML
andscapeTest): helpers = [MonitorHelper, LogKeeperHelper] def setUp(self): LandscapeTest.setUp(self) self.plugin = StubDataWatchingPlugin(1) self.plugin.register(self.monitor) self.mstore.add_schema(Message("wubble", {"wubblestuff": Int()})) def test_get_message(self): ...
Python
layoutParams.flags = layoutParams.flags and FLAG_KEEP_SCREEN_ON.inv() } return true } return false } } package com.hoptodesk.app import ffi.FFI import android.Manifest import android.content.Context import android.media.* import android.content.pm.PackageManager import a...
Kotlin
: s, day: n }; var DATE_MED_WITH_WEEKDAY = { year: n, month: s, day: n, weekday: s }; var DATE_FULL = { year: n, month: l, day: n }; var DATE_HUGE = { year: n, month: l, day: n, weekday: l }; var TIME_SIMPLE = { hour: n, minute: n }; var TIME_W...
JavaScript
(results); }, remove(keys, callback = () => {}) { if(keys === null) for(let key in configuration) delete configuration[key]; else if(keys instanceof String) delete configuration[key]; else if(keys instanceof Array) for(let key of keys) delete configuration[key]; else if(keys insta...
JavaScript
0D2F2C6AD56F76C6E91BD5 * L_9 = DateTimeFormatInfo_get_Calendar_mFC8C8E19E118F8EE304B8C359E57EFD25EE2F862_inline(__this, /*hidden argument*/NULL); NullCheck(L_9); int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 System.Globalization.Calendar::get_ID() */, L_9); NullCheck(L_8); StringU5BU5D_t9...
C++
types.Decode(log.Log, &g) if err != nil { return nil, err } if g.Prev != nil { set.KV = append(set.KV, &types.KeyValue{ Key: calcLocalNodeTitleStatus(g.Current.Title, g.Prev.Status, g.Current.Id), Value: nil}) } set.KV = append(set.KV, &types.KeyValue{ Key: calcLocalNodeTitleStatus(g...
Go
ttMessagePublish m1 = new MqttMessagePublish.setOptions("topicTEST", "payloadTEST", 12345, QOS_0, 0); MqttMessagePuback m2 = new MqttMessagePuback.initWithPublishMessage(m1); expect(m2.messageID, equals(m1.messageID)); }); test("MqttMessagePubRec", () { MqttMessagePublish m1 = new MqttMessagePublish...
Dart
items.clear() } } @JvmStatic fun menuItemAcceleratorSuffix(accelerator: Int): String { val sb = StringBuilder() menuItemAcceleratorSuffix(sb, accelerator) return sb.toString() } fun menuItemAcceleratorSuffix(textBuilder: StringBuilder, accelerator: Int)...
Kotlin
={cN:"pragma",b:"{-#",e:"#-}"},i={cN:"preprocessor",b:"^#",e:"$"},n={cN:"type",b:"\\b[A-Z][\\w']*",r:0},t={cN:"container",b:"\\(",e:"\\)",i:'"',c:[a,i,{cN:"type",b:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TM,{b:"[_a-z][\\w']*"})].concat(c)},l={cN:"container",b:"{",e:"}",c:t.c};return{aliases:["hs"],k:"let ...
JavaScript
P.id WHERE P.id = ? AND E.liked = 1 ORDER BY E.milliseconds ASC""", [id]); break; case Filter.downloaded: list = await dbClient.rawQuery( """SELECT E.title, E.enclosure_url, E.enclosure_length, E.milliseconds, P.imagePath, P.title as feed_title...
Dart
width = 50; var height = 60; var mass = width * height * 1/1000; var rock = space.addBody(new cp.Body(mass, cp.momentForBox(mass, width, height))); rock.setPos(v(500, 100)); rock.setAngle(1); shape = space.addShape(new cp.BoxShape(rock, width, height)); shape.setFriction(0.3); shape.setElasticity(0.3); for (v...
JavaScript
.0.0" id="display-medium-posts-js"></script> <script type="text/javascript" src="/wp-includes/js/comment-reply.min.js?ver=6.4.2" id="comment-reply-js" async="async" data-wp-strategy="async"></script> <script type="text/javascript" id="thickbox-js-extra"> /* <![CDATA[ */ var thickboxL10n = {"next":"Next >","prev":"< Pre...
HTML
" channels ..." << endl; cout << " (...) this may take a while (...)" << endl << endl; for (int c=0; c<(int)channels.size(); c++) { er_filter1->run(channels[c], regions[c]); er_filter2->run(channels[c], regions[c]); } // Detect character groups cout << "Grouping extracted ER...
C++
��트 조종기",nil}, [24818] = {"성난모루단 작업반장",nil}, [24819] = {"성난모루단 집행자",nil}, [24820] = {"무쇠 드워프 성물",nil}, [24821] = {"무쇠룬 피조물",nil}, [24822] = {"티리스",nil}, [24823] = {"무쇠룬 피조물",nil}, [24824] = {"무쇠 드워프 성물",nil}, [24825] = {"무쇠룬 피조물",nil}, [24826] = {"순간이동기 A1->A2",nil}, [24827] = {"순간이동기 B1->B2",nil}, [24828] = {"순간이동기 C1...
Lua
page"); } const a = document.createElement("a"); a.classList.add("page-link"); a.href = "#"; a.innerHTML = text; if (!isDisabled) { a.addEventListener("click", (e) => { e.preventDefault(); groupDocsCurrentPage = p; fetchGroupDocuments(); ...
HTML
95.9379196167,h=0.66508036851882}, [0x797CFE18] = {hashname="",dec_hash=2038234648,x=-64.908164978028,y=-396.58410644532,z=71.68637084961,h=20.387908935546}, [0x0C266E85] = {hashname="",dec_hash=203845253,x=-1607.1717529296,y=-1369.5087890625,z=82.45832824707,h=17.648477554322}, [0x7982693E] = {hashname="",...
Lua
vercode-wrapper .vercode-error-txt{color:#38a3fd;font-size:14px;margin:9px auto 0;font-family:"Microsoft YaHei";visibility:hidden;width:240px;text-align:center;display:block}#SOHUCS #SOHU_MAIN .cy-phone-popup{height:100%;left:0;position:fixed;top:0;width:100%;z-index:8029}#SOHUCS #SOHU_MAIN .cy-phone-popup .cy-mask{bac...
HTML
# Copyright (c) 2018 Giphy Inc. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import torch.nn as nn import torch.nn.functional as F from model_training.models.adap...
Python
ddFieldInt64(5,t,e.createLong(0,0))}static addDocString(e,t){e.addFieldOffset(6,t,0)}static addGraph(e,t){e.addFieldOffset(7,t,0)}static addGraphDocString(e,t){e.addFieldOffset(8,t,0)}static endModel(e){return e.endObject()}static createModel(e,t,r,i,a,o,s,u,l,d){return n.startModel(e),n.addIrVersion(e,t),n.addOpsetImp...
JavaScript
to one mat */ cv::merge(channels, mergedMat); cv::normalize(mergedMat, mergedMat, 0.0, 1.0, cv::NORM_MINMAX, CV_32F); if (cv::countNonZero(blueEdgeMat) > 0 && cv::countNonZero(greenEdgeMat) > 0 && cv::countNonZero(redEdgeMat) > 0) /** if there are edges in image do */ { TMOHu14::kmeansColorQuanti...
C++
"""Common get info functions for vlan""" # Python import logging # Genie from genie.metaparser.util.exceptions import SchemaEmptyParserError log = logging.getLogger(__name__) def verify_Software_Fed_Igmp_Snooping(device, state, vlan, key, value): ''' Api method to call parser and return boolean True If Vlan P...
Python
nchor">§</a><h3 class="code-header">impl&lt;Args, F, A&gt; <a class="trait" href="trait.Fn.html" title="trait std::ops::Fn">Fn</a>&lt;Args&gt; for <a class="struct" href="../boxed/struct.Box.html" title="struct std::boxed::Box">Box</a>&lt;F, A&gt;<span class="where fmt-newline">where Args: <a class="trait" href=".....
HTML
k<ValuationProposalsVm> Handle(GetValuationProposalsByIdQuery request, CancellationToken cancellationToken) { await using var documentSession = _documentStore.LightweightSession(); var valuations = await documentSession .Query<ValuationProposalEntryDto>() .Where(propo...
C#
/* * Copyright (C) 2014 Apple Inc. All rights reserved. * * 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 conditions a...
C
us display ads for (i in 0 until adView.childCount) { adView.removeViewAt(i) } slots?.forEach { slot -> adView.addView(slot.base) slot.play() } } eventEmitter?.on(FreeWheelEventType.WILL_SUBMIT_AD_REQUEST) {...
Kotlin
from contextlib import contextmanager import logging @contextmanager def all_logging_disabled(highest_level=logging.CRITICAL): """ A context manager that will prevent any logging messages triggered during the body from being processed. :param highest_level: the maximum logging level in use. This...
Python
otNullValue())); assertThat(jwt.getClaim("notExisting"), is(notNullValue())); assertThat(jwt.getClaim("notExisting"), is(not(instanceOf(ClaimImpl.class)))); assertThat(jwt.getClaim("notExisting"), is(instanceOf(BaseClaim.class))); } @Test public void shouldGetClaim() { JWT j...
Java
logic, tools and specific args - Modify `src/deep_fried/main.py` to add custom inputs for your agents and tasks ## Running the Project To kickstart your crew of AI agents and begin task execution, run this from the root folder of your project: ```bash crewai run ``` This command initializes the deep_fried Crew, as...
Markdown
()))) * config.deviation() + config.target() ); } else { /* generate a normal even distribution random */ return (long) clamp( Math.round(random.nextGaussian() * config.deviation() + config.target()) ); } } private double clamp(double val) { return Math.max(config.min(), Math.min(config.ma...
Java
().collect(), Vec::new()) } } _ => (env::args_os().collect(), Vec::new()), } } // Temporary warning function fn warn_accesss_token(token: &str, ui: &mut UI) { if !token.starts_with("_") { ui.warn("WARNING:").unwrap(); ui.warn( "Github tokens are being dep...
Rust
'|S1'), ('age', '<i4'), ('weight', '<f4')]) // #if TODO given= d = StringIO(u"M 21 72\nF 35 58"); given= np.loadtxt(d, dtype={'names': ('gender', 'age', 'weight'),; expected= "... 'formats': ('S1', 'i4', 'f4')})\n" + ...
C#