back soft

مطالب مرتبط با «block» در back soft | نویسنده: استخدام کار

Completion block after web service finishes?

Vote count: 0 I have an implementation of a RESTful API in a class called WebServices. I call methods in this class from other classes within my app and would like to perform actions upon successful completion of a web service. I have a completion block as a part of my method headers, but am not sure if I am using them correctly as the app never seems to reach inside the completion part of the method call. This is how I am calling my method: [services callUnregisterForPushNotifications:savedAccessToken pushToken:savedPushToken completionBlock:^(NSMutableArray *resultsArray) { NSLog(@">>> COMPLETE!...

ادامه مطلب

lstat() st_blocks outputting incorrect value

Vote count: 0 Whenever I run my program for every directory it's outputs 8 even when I use ls-ls to check the actual size of each directory. #include #include #include #include #include int main(int argc, char**argv) { struct stat path_stat; int i; int size=0; for (i=1; i...

ادامه مطلب

How to apply functions to numpy 8 * 8 blocks?

Vote count: 0 Now i have 512 * 512 * 3 numpy array, I want to apply a function to each 8 * 8 block, for example, a dct transform, is there any built_in module to do that? I tried to implement it in a naive way for c in xrange(3): for x in xrange(0, 512, 8): for y in xrange(0, 512, 8): img[x:x + 8, y:y + 8, c] = dct_2d(img[x:x + 8, y:y + 8, c]) img[x:x + 8, y:y + 8, c] = idct_2d(img[x:x + 8, y:y + 8, c]) Which takes long time to iterate and calculate. asked 1 min agoLyken Syu This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Install Cuda 7.5 in Code::Blocks within Ubuntu 14.04

Vote count: 0 I am a new user of CUDA, i installed it successfully in Ubuntu 14.04 but i didn't know how can I integrate it in Code::Blocks IDE. I followed the steps in the link enter link description here but i think that is not suitable for the CUDA 7.5. Can you help me please? Thank you very much asked 1 min agoassma azeroual This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب

Cannot store and write into a block ram with AXI lite

Vote count: 0 I have an example in Vivado 2014.2, consisting of a block ram with AXI lite through which I want to read and write, but it is not working. I have a simple testbench where I try this but I haven't managed to achieve this. In particular the signals aw_ready, wready, rvalid and arready are never 1. Could anyone point me to what the error is? Here is the following code. entity top is Port ( clk : in STD_LOGIC; rst : in STD_LOGIC; s_axi_awaddr : IN STD_LOGIC_VECTOR(31 DOWNTO 0); s_axi_awvalid : IN STD_LOGIC; s_axi_awready : OUT STD_LOGIC; s_axi_wdata : IN STD_LOGIC_VECTOR(31 DOWNTO 0); s_axi_wstrb : IN STD_LOGIC_VECTOR(3 DOWNTO 0); s_axi_wvalid : IN STD_LOGIC; s_axi_wready : OUT STD...

ادامه مطلب

Changing the size of Language Switcher block in D7

Vote count: 0 I have been trying to reduce the width and height of language switcher block in D7 but failed to find the corresponding CSS file. asked 2 mins agoma2moun This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers....

ادامه مطلب