/dports/math/clingo/clingo-5.5.1/libpyclingo/clingo/tests/ |
H A D | test_backend.py | 142 ctl = Control() 144 ctl.register_observer(obs) 167 ctl.solve() 174 ctl = Control() 176 ctl.register_observer(obs) 177 ctl.add('base', [], '''\ 186 ctl.ground([('base', [])]) 193 ctl.solve() 199 ctl = Control() 202 ctl.add('base', [], '''\ [all …]
|
H A D | test_propagator.py | 128 def decide(self, thread_id: int, assignment: Assignment, fallback: int) -> int: argument 143 self.ctl = Control(['0']) 147 self.ctl = None 153 self.ctl.add("base", [], "{a}.") 154 self.ctl.ground([("base", [])]) 164 self.ctl.ground([("base", [])]) 173 self.ctl.add("base", [], "") 174 self.ctl.ground([("base", [])]) 183 self.ctl = Control(['1']) 184 self.ctl.add("base", [], "{a;b}.") [all …]
|
/dports/audio/py-opuslib/opuslib-3.0.1/opuslib/ |
H A D | classes.py | 10 import opuslib.api.ctl 23 def __init__(self, fs: int, channels: int) -> None: 43 opuslib.api.ctl.reset_state 50 frame_size: int, 69 frame_size: int, 95 opuslib.api.ctl.get_bandwidth 102 opuslib.api.ctl.get_pitch 122 opuslib.api.ctl.get_gain 127 opuslib.api.ctl.set_gain, 172 def encode(self, pcm_data: bytes, frame_size: int) -> bytes: [all …]
|
/dports/audio/lmms/lmms-1.2.2/plugins/zynaddsubfx/zynaddsubfx/src/UI/ |
H A D | PartUI.fl | 459 callback {part->ctl.expression.receive=(int) o->value();} 465 callback {part->ctl.panning.depth=(int) o->value();} 472 callback {part->ctl.filtercutoff.depth=(int) o->value();} 479 callback {part->ctl.filterq.depth=(int) o->value();} 486 callback {part->ctl.bandwidth.depth=(int) o->value();} 493 callback {part->ctl.modwheel.depth=(int) o->value();} 500 callback {part->ctl.pitchwheel.bendrange=(int) o->value();} 507 callback {part->ctl.fmamp.receive=(int) o->value();} 513 callback {part->ctl.volume.receive=(int) o->value();} 519 callback {part->ctl.sustain.receive=(int) o->value(); [all …]
|
/dports/graphics/ampasCTL/CTL-57b48a2/unittest/IlmCtl/ |
H A D | testName.ctl | 1 // Used by testName2.ctl, testNameSpace2.ctl, testScope.ctl and testScope2.ctl 7 const int i = 20; 9 int 15 int
|
/dports/databases/py-aioredis/aioredis-1.3.1/aioredis/ |
H A D | parser.py | 22 def feed(self, data, o: int = 0, l: int = -1): argument 40 def setmaxbuf(self, size: Optional[int]) -> None: argument 44 def getmaxbuf(self) -> int: 61 def waitsome(self, size: int) -> Iterator[bool]: argument 76 def readline(self, size: Optional[int] = None): argument 106 ctl = yield from self.readone() 107 if ctl == b'+': 115 elif ctl == b'-': 118 elif ctl == b':': 120 elif ctl == b'$': [all …]
|
/dports/games/libretro-snes9x/snes9x-73aa348/macosx/ |
H A D | mac-coreimage.mm | 55 int type; 84 static int ciFilterInputKeysCount = 0; 218 for (int i = 0; i < ciFilterInputKeysCount; i++) 343 int n = [filterNames count], m = 0; 344 for (int i = 0; i < n; i++) 386 int n = [inputKeys count]; 387 for (int i = 0; i < n; i++) 445 int value; 460 int n = CountMenuItems(ciFilterMenu); 538 int m = 0; [all …]
|
H A D | mac-audio.mm | 41 int cureffect = kAUReverb; 265 … Frames: %d/%d/%d/%d/%d\n", (int) devStoredFrames, (int) outStoredFrames, (int) eqlStoredFrames, (… 282 printf("Interval: %dms, Frames: %d\n", (int) macSoundInterval_ms, (int) numframes); 568 int nEditors; 619 HIViewRef ctl, root; 623 int w, h; 635 …w = ((int) bounds.size.width + 30 > (int) effectWSize.width) ? ((int) bounds.size.width + 30) : (i… 636 h = (int) bounds.size.height + 122; 659 HIViewGetFrame(ctl, &frame); 661 HIViewSetFrame(ctl, &frame); [all …]
|
/dports/math/clingo/clingo-5.5.1/examples/clingo/multishot/ |
H A D | inc.py | 18 imin: int 19 imax: Optional[int] 30 min_value: Optional[int] = None, argument 43 value = int(sval) 97 def main(self, ctl: Control, files: Sequence[str]): 104 ctl.load(file_) 105 ctl.add("check", ["t"], "#external query(t).") 119 ctl.release_external(Function("query", [Number(step - 1)])) 123 ctl.ground(parts) 125 ctl.assign_external(Function("query", [Number(step)]), True) [all …]
|
H A D | opt.py | 20 _bound: Optional[int] 32 def main(self, ctl: Control, files: Sequence[str]): 39 ctl.load(file_) 40 ctl.add("bound", ["b"], 43 ctl.ground([("base", [])]) 44 while cast(SolveResult, ctl.solve(on_model=self._on_model)).satisfiable: 46 ctl.ground([("bound", [Number(cast(int, self._bound))])])
|
/dports/security/john/john-1.9.0-jumbo-1/src/opencl/ |
H A D | ssh_kernel.cl | 32 uint ctl; 46 int keyidx = 0; 47 int digest_inited = 0; 51 int i, size; 73 inline int check_padding_and_structure_EC(unsigned char *out, int length, int strict_mode) 124 inline int check_padding_and_structure(uchar *out, uint length, uint block_size) 201 int block_size = 8; 219 …ypt_cbc(&ks, DES_DECRYPT, 8, iv, MAYBE_CONSTANT, osalt->ct + osalt->ctl - 8, out + osalt->ctl - 8); 231 AES_cbc_decrypt(osalt->ct + osalt->ctl - 16, out + osalt->ctl - 16, 16, &akey, iv); 255 AES_cbc_decrypt(osalt->ct + osalt->ctl - 16, out + osalt->ctl - 16, 16, &akey, iv); [all …]
|
/dports/audio/yoshimi/yoshimi-2.1.2.2/src/UI/ |
H A D | VirKeyboardUI.fl | 415 int ctl = findcontroller(controller->value()); 435 int ctl = findcontroller(o->value()); 436 if (ctl != UNUSED) 438 int value = collect_readData(synth, 0, ctl, virkeys->midich); 538 int ctl = UNUSED; 545 ctl = PART::control::volume; 548 ctl = PART::control::panning; 554 ctl = PART::control::midiSustain; 560 ctl = PART::control::midiFilterQ; 569 ctl = PART::control::midiFMamp; [all …]
|
H A D | PartUI.fl | 92 Function {PartSysEffSend(int x, int y, int w, int h) : 2210 modwh->value(part->ctl->modwheel.depth); 2212 bwdpth->value(part->ctl->bandwidth.depth); 2214 panwidth->value(part->ctl->panning.depth); 2215 filtq->value(part->ctl->filterq.depth); 2217 volrng->value(part->ctl->volume.data); 2219 fmamp->value(part->ctl->fmamp.receive); 2220 vol->value(part->ctl->volume.receive); 2226 rcv->value(part->ctl->portamento.receive); 2240 prtime->value(part->ctl->portamento.time); [all …]
|
/dports/emulators/snes9x-gtk/snes9x-1.54.1/macosx/ |
H A D | mac-coreimage.mm | 225 int type; 254 static int ciFilterInputKeysCount = 0; 388 for (int i = 0; i < ciFilterInputKeysCount; i++) 513 int n = [filterNames count], m = 0; 514 for (int i = 0; i < n; i++) 556 int n = [inputKeys count]; 557 for (int i = 0; i < n; i++) 615 int value; 630 int n = CountMenuItems(ciFilterMenu); 708 int m = 0; [all …]
|
H A D | mac-audio.mm | 214 int cureffect = kAUReverb; 431 … Frames: %d/%d/%d/%d/%d\n", (int) devStoredFrames, (int) outStoredFrames, (int) eqlStoredFrames, (… 448 printf("Interval: %dms, Frames: %d\n", (int) macSoundInterval_ms, (int) numframes); 504 unsigned int samples; 516 unsigned int monosmp; 707 int nEditors; 758 HIViewRef ctl, root; 762 int w, h; 774 …w = ((int) bounds.size.width + 30 > (int) effectWSize.width) ? ((int) bounds.size.width + 30) : (i… 798 HIViewGetFrame(ctl, &frame); [all …]
|
/dports/math/clingo/clingo-5.5.1/examples/clingo/dl/ |
H A D | app.py | 22 Weight = int 23 Level = int 309 def undo(self, thread_id: int, assign: Assignment, changes: Sequence[int]): argument 324 def _state(self, thread_id: int) -> Graph: argument 345 _bound: Optional[int] 375 with ProgramBuilder(ctl) as bld: 395 ctl.register_propagator(self._propagator) 396 ctl.add("base", [], THEORY) 400 self._rewrite(ctl, files) 402 ctl.ground([("base", [])]) [all …]
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/glshim/spec/yml/ |
H A D | alsa.yml | 624 snd_ctl_open: [int, snd_ctl_t **ctl, const char *name, int mode] 626 snd_ctl_close: [int, snd_ctl_t *ctl] 627 snd_ctl_nonblock: [int, snd_ctl_t *ctl, int nonblock] 630 snd_ctl_poll_descriptors_count: [int, snd_ctl_t *ctl] 633 snd_ctl_subscribe_events: [int, snd_ctl_t *ctl, int subscribe] 644 snd_ctl_hwdep_next_device: [int, snd_ctl_t *ctl, int * device] 646 snd_ctl_pcm_next_device: [int, snd_ctl_t *ctl, int *device] 648 snd_ctl_pcm_prefer_subdevice: [int, snd_ctl_t *ctl, int subdev] 649 snd_ctl_rawmidi_next_device: [int, snd_ctl_t *ctl, int * device] 652 snd_ctl_set_power_state: [int, snd_ctl_t *ctl, unsigned int state] [all …]
|
/dports/math/clingo/clingo-5.5.1/examples/clingo/gac/ |
H A D | app.py | 55 _map: List[Tuple[int, int]] 67 def add(self, guess_lit: int, check_lit: int): argument 177 def main(self, ctl: Control, files: Sequence[str]): 186 with ProgramBuilder(ctl) as bld: 190 ctl.register_propagator(CheckPropagator(check)) 192 ctl.ground([("base", [])]) 193 ctl.solve()
|
/dports/math/clingo/clingo-5.5.1/examples/clingo/well-founded/ |
H A D | well-founded.py | 14 Atom = int 15 Literal = int 16 RuleIndex = int 58 counters: Dict[RuleIndex, int] = {} 64 counters_source: Dict[RuleIndex, int] = dict() 205 def main(self, ctl: Control, files): 207 ctl.register_observer(ProgramObserver(prg)) 210 ctl.load(f) 212 ctl.load('-') 214 ctl.ground([("base", [])]) [all …]
|
/dports/math/clingo/clingo-5.5.1/examples/clingo/tmode/ |
H A D | tmode.py | 75 self._imin = int(value) 85 self._imax = int(value) 119 def _main(self, ctl): argument 134 ctl.ground(parts) 135 ctl.assign_external(Function("finally", [Number(step)]), True) 136 ret, step = ctl.solve(), step+1 138 def main(self, ctl, files): argument 139 with ast.ProgramBuilder(ctl) as bld: 142 ctl.add("initial", ["t"], "initially(t).") 143 ctl.add("static", ["t"], "#external finally(t).") [all …]
|
/dports/textproc/py-pygments-25/Pygments-2.5.2/tests/examplefiles/ |
H A D | limbo.b | 100 spawn run(sync := chan of string, w.ctl, ld, argv); 114 export(sys->fildes(0), w.ctl); 121 c := <-w.ctxt.ctl or 122 c = <-w.ctl => 301 spawn export(fd, ctl); 315 export(fd: ref Sys->FD, ctl: chan of string) 318 ctl <-= "exit"; 321 inf2p9key(c: int): int 419 in(c: int, s: string): int 453 bglong(d: array of byte, i: int): int [all …]
|
/dports/textproc/py-pygments/Pygments-2.7.2/tests/examplefiles/ |
H A D | limbo.b | 100 spawn run(sync := chan of string, w.ctl, ld, argv); 114 export(sys->fildes(0), w.ctl); 121 c := <-w.ctxt.ctl or 122 c = <-w.ctl => 301 spawn export(fd, ctl); 315 export(fd: ref Sys->FD, ctl: chan of string) 318 ctl <-= "exit"; 321 inf2p9key(c: int): int 419 in(c: int, s: string): int 453 bglong(d: array of byte, i: int): int [all …]
|
/dports/archivers/py-borgbackup/borgbackup-1.1.17/src/borg/crypto/ |
H A D | low_level.pyx | 42 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, 44 int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, 46 int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 47 int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 113 cdef int is_encrypt 159 cdef int ctl = 0 168 ctl = outl 169 if not EVP_EncryptFinal_ex(self.ctx, out+ctl, &outl): 171 ctl += outl 172 self.blocks += num_aes_blocks(ctl) [all …]
|
/dports/editors/lazarus/lazarus/lcl/interfaces/customdrawn/android/ |
H A D | sockets_linux_socket.inc | 43 int l_onoff; 44 int l_linger; 51 int msg_namelen; 61 int cmsg_level; 62 int cmsg_type; 65 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) 74 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr * )(ctl) : …
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/interfaces/customdrawn/android/ |
H A D | sockets_linux_socket.inc | 43 int l_onoff; 44 int l_linger; 51 int msg_namelen; 61 int cmsg_level; 62 int cmsg_type; 65 #define __CMSG_NXTHDR(ctl, len, cmsg) __cmsg_nxthdr((ctl),(len),(cmsg)) 74 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? (struct cmsghdr * )(ctl) : …
|