search for: tupl

Displaying 20 results from an estimated 833 matches for "tupl".

Did you mean: tuple
2020 Feb 12
6
[RFC] Optional parameter tuples
Hi, this is an RFC for optional, named parameter tuples for intrinsics. The proposed syntax is: %z = call @llvm.some.intrinsic(%a, %b) optional_tuple(%x, %y, %z) where from the perspective of the call site %x, %y and %z are simply additional parameters. Optional parameter tuples would be very useful for constrained fp intrinsics and vector predicat...
2010 Jul 07
3
Message: "err:psdrv:PSDRV_PPDGetNextTuple Line too long."
Hello! When my application opens a URL in Firefox with more than 257 characters, the URL is truncated and the message below. "Err: psdrv: PSDRV_PPDGetNextTuple Line too long." I noted that this limitation may be due to the following code. See line 00363. Code: 00354 /********************************************************************* 00355 * 00356 * PSDRV_PPDGetNextTuple 00357 * 00358 * Gets the next Keyword Option Value tuple fro...
2015 Jul 29
4
[LLVMdev] The Trouble with Triples
...21:44, Eric Christopher <echristo at gmail.com> wrote: > I'm not sure I agree with the basic idea of using the target triple as a way > of encoding all of the pieces of target data as a string. Hi Eric, That's not the idea at all. The Triple object will remain unchanged. The Tuple will be the API to handle getting/setting parameters depending on the Triple, compiler flags, attributes, etc. There will be no string representation of all options, as that would be impossible, or at least, highly undesirable, especially in the IR. The Tuple is for the sole use of front-ends, m...
2004 Sep 27
1
random discrete from the first tuple
Dear UseR I have a dataset, for instance x1(A, B, C), x2(M,F), x3(X1,X2,X3,X4) and x4(W,F,P). I want to make a small dataset with the random tuple. I know package e1071 can handle a random discrete, > library(e1071) > x1 <- rdiscrete(6, c(2,2,2), c("A","B","C")) > x2 <- rdiscrete(6, c(3,3), c("M","F")) > x3 <- rdiscrete(6, c(2,2,1,1), c("X1","X2&quot...
2020 Jul 07
1
Re: [PATCH] python: Add type hints
...Optional[str] = None) -> None: We correctly get: def btrfs_subvolume_create(self, dest: str, qgroupid: Optional[str] = None) -> None: Since the indent function looks for a comma to wrap - this works nicely. However there is this one case where we use the Tuple hint, which contains a comma in itself and causes the following weird line wrapping: def btrfs_subvolume_show(self, subvolume: str) -> Union[List[Tuple[str, str]], dict]: def inspect_get_drive_mappings(self, root: str) -> Union[List[Tuple[str,...
2015 Jul 29
2
[LLVMdev] The Trouble with Triples
...15 at 23:47, Eric Christopher <echristo at gmail.com> wrote: > This part doesn't seem obvious from the direction the patches are going. Until now, most of what he has done was to refactor the Triple class, with no functional change, and to create a thin layer around the Triple (called Tuple) and pass those instead. This is on par with that premise. The current patch is the first one to actually have some more substantial change, so it's good that you stopped it now, before we start breaking everything. Maybe, knowing what it is now, if you could have another quick look at the p...
2005 Oct 14
5
[PATCH] Fix NAT for domU checksum offload
...Thanks, Jon --- ../xen-unstable.hg/linux-2.6.12-xen0/net/ipv4/netfilter/ip_nat_proto_udp.c 2005-06-17 14:48:29.000000000 -0500 +++ linux-2.6-xen-sparse/net/ipv4/netfilter/ip_nat_proto_udp.c 2005-10-14 15:17:53.000000000 -0500 @@ -112,11 +112,19 @@ udp_manip_pkt(struct sk_buff **pskb, newport = tuple->dst.u.udp.port; portptr = &hdr->dest; } - if (hdr->check) /* 0 is a special case meaning no checksum */ - hdr->check = ip_nat_cheat_check(~oldip, newip, + + if (hdr->check) { /* 0 is a special case meaning no checksum */ + if ((*pskb)->proto_csum_blank) { + hdr-&gt...
2018 Mar 15
2
[RFC] Updating googletest to non-release tagged version
...FIXME >> comment in ProfileData\CoverageMappingTest.cpp suggests that I'm not the >> only one to have tried and discovered that they cannot use this feature. The >> problem is that the version of googletest (v 1.8.0, released in Aug 2016) in >> the LLVM tree requires TR1 tuple support for this feature, which is not >> really supported in recent compilers, and has been explicitly disabled in >> our googletest CMakeLists.txt, thus disabling "Combine". >> >> I did a bit of looking around, and v 1.8.0 is indeed the last officially >>...
2015 May 23
3
[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo
...M layer triples is very worth exploring. IIRC, some people were exploring moving all options to -march/-mcpu/-mfpu and other -m options (like os, abi, release) instead of using triples. It'll be easier to convince other compiler to support -m options than to support a whole new type of triple/tuple. cheers, --renato
2011 Apr 07
8
[Bug 714] New: Kernel panics in same_src()
...ffffff813abbf8 R15: ffff88047f0bfef8 ORIG_RAX: ffffffffffffff41 CS: 0010 SS: 0018 #32 [ffff88047f0bff00] cpu_idle at ffffffff8100ae7d gdb nf_nat.ko (gdb) l* nf_nat_setup_info+1497 0xf49 is in nf_nat_setup_info (net/ipv4/netfilter/nf_nat_core.c:135). 130 const struct nf_conntrack_tuple *tuple) 131 { 132 const struct nf_conntrack_tuple *t; 133 134 t = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; 135 return (t->dst.protonum == tuple->dst.protonum && 136 t->src.u3.ip == tuple->src.u3.ip && 1...
2007 Nov 23
2
printing levels as tuples
...oks like > uc Run Length Encoding lengths: int [1:16753] 1 1 1 1 1 1 1 1 1 1 ... values : int [1:16753] 29462748 22596107 18322820 14323315 12684505 9909036 7296916 6857692 5884755 5883697 ... I can print uc$names or uc$levels separately. Is there any way to print them together as tuples, looking like (29462748, 1) (22596107, 1) ... (5883697, 1) ... ... Cheers, Alexy
2010 Mar 24
0
tuple spaces and rails
...tables in order to display data in a form, and then require user input to modify data and then update it to the database, which invokes a multi-step transaction, that is, making updates to multiple database tables, I was told in order to do this using rails and ajax, a good approach would be using tuple spaces and rails. I never heard of this concept of tuple spaces before. I went on wikipedia and found the following description. I''m afraid I don''t understand it. Any intepretations? Thanks. "In computer science, tuples are directly implemented as product types in most func...
2015 May 26
2
[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo
On 26 May 2015 at 14:58, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote: > The intention isn't to change the kind of triples/tuples in use by toolchains and users. There's a lot of legacy and inertia to overcome if we try that. The intention is to map the ambiguous/insufficient GNU triples onto an internal representation as early as possible and pass that internal representation throughout LLVM and the LLVM-IR files. The...
2020 Jul 06
2
[PATCH] python: Add type hints
...changed, 35 insertions(+), 4 deletions(-) diff --git a/generator/python.ml b/generator/python.ml index f0d6b5d96..3640ee39a 100644 --- a/generator/python.ml +++ b/generator/python.ml @@ -685,6 +685,7 @@ logvols = g.lvs() import os import sys import libguestfsmod +from typing import Union, List, Tuple, Optional "; @@ -802,14 +803,44 @@ class GuestFS(object): fun f -> let ret, args, optargs = f.style in let len_name = String.length f.name in + let ret_type_hint = + match ret with + | RErr -> "None" + | RInt _ | RInt64 _ ->...
2015 May 27
0
[LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo
...evelopers Mailing List (llvmdev at cs.uiuc.edu) > Subject: Re: [LLVMdev] Moving Private Label Prefixes from MCAsmInfo to MCObjectFileInfo > > On 26 May 2015 at 14:58, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote: > > The intention isn't to change the kind of triples/tuples in use by toolchains and > > users. There's a lot of legacy and inertia to overcome if we try that. The intention > > is to map the ambiguous/insufficient GNU triples onto an internal representation > > as early as possible and pass that internal representation throughout LL...
2011 Jun 25
2
Vector with factors inside lists/tuples
Hi, this seems like a strange question, but in R is there a function that can handle vectors containing factors inside lists/tuples? Or is there some other approach/functions I can use? Like for example V1 "{"Harry","Brown")" "{"Brown","Harry")" I want to use these variables in a machine learning setting, And don't want to convert these into multiple vectors, g...
2015 Oct 14
4
Extending SLP Vectorizer to deal with aggregates?
I'm looking for a sanity check on extending SLP Vectorizer to deal with aggregates. I'd like to vectorize Julia tuple operations. The Julia compiler lowers tuples to LLVM arrays, not LLVM vectors. I've tried making Julia lower tuples to LLVM vectors, but that hurt performance when SLP Vectorizer was not applicable, because of extraction/insertion overhead. I.e., the Julia lowering is too early to make the...
2018 Mar 16
0
[RFC] Updating googletest to non-release tagged version
...still 6 different combinations, which I have to explicitly list. Combine would, by my understanding, allow me to do something like "Combine(Values(3, 4, 5), Values(DWARF32, DWARF64))". As to why it doesn't work in 1.8, it's because LLVM has explicitly overridden the GTEST_HAS_TR1_TUPLE define (see utils\unittest\CMakeLists.txt and r316798). The short-story is that it's because recent MSVC compilers (sorry, I guess I was too broad in my original statement) have started issuing TR1 deprecation warnings, combined with C++11 not being detected properly. On 15 March 2018 at 18:3...
2006 Jul 25
0
[Bug 495] New: Netfilter Connection Tracking Race Condition in Kernel 2.4.x
...er.org ReportedBy: Bob.Halley@nominum.com Background Our application uses ip_queue in prerouting to divert DNS UDP packets to a userland daemon which inspects them and then issues a NF_ACCEPT or NF_DROP verdict back to the kernel. We found that if several packets with the same conntrack tuple, i.e. the same src addr, src port, dst addr, and dst port, arrive very close together, then only the first one accepted by our software actually makes it back out to the wire; the others are silently dropped. Analysis We instrumented the kernel to find out where the drop was occurring. The code...
2003 Feb 03
0
[Bug 41] New: pptp-conntrack-nat and sparc64 structures/padding/maskcomp bug
...; After some further digging and debug output in the expect_cmp, I have found that the pptp_nat patch will break in a 64 bit big-endian platform. Basically, the whole masked comparison will be wrong since this patch changed a whole bunch of fields in various structures in ip_conntrack_tuple.h from 16 bits to either 32 bits or 64 bits. Passive FTP section: Jan 31 09:37:53 sparky kernel: ip_conntrack_expect_related fffff80016c909e0 Jan 31 09:37:53 sparky kernel: tuple: tuple 0000000000417690: 6 client:0...