test.c
#include <stdio.h>
#include <mm_malloc.h>
int main(int argc, const char * argv[]) {
float *floatBuffer = _mm_malloc(256*sizeof(float), 16);
_mm_free(floatBuffer);
printf("%s\n", "Done!");
}
NSArray *arr1 = [NSArray arrayWithObjects:@"1", @"2", nil]; | |
NSLog(@"[arr1 count] %lu", [arr1 count]); | |
NSArray *arr2 = [NSArray arrayWithObjects:@"1", @"2", @"3", nil]; | |
NSLog(@"[arr2 count] %lu", [arr2 count]); | |
float diff1 = (float) ([arr1 count] - [arr2 count]); | |
NSLog(@"diff1: %f", diff1); | |
NSLog(@"UINT64_MAX: %llu", UINT64_MAX); |
2012-03-31 16:09:45.652 Dubbase FM[42501:707] MadvertiseView.m (230): Deserializing json | |
2012-03-31 16:09:45.653 Dubbase FM[42501:707] -[NSConcreteMutableData objectFromJSONData]: unrecognized selector sent to instance 0xd676a10 | |
2012-03-31 16:10:07.094 Dubbase FM[42501:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSConcreteMutableData objectFromJSONData]: unrecognized selector sent to instance 0xd676a10' |
christian:~ $ python27 | |
Python 2.7.2 (default, Feb 8 2012, 10:16:42) | |
[GCC 4.2.1 Compatible Apple Clang 3.0 (tags/Apple/clang-211.10.1)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import antigravity |
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { | |
UIRectCorner cornerDef; | |
if (indexPath.row == 0) { | |
cornerDef = UIRectCornerTopLeft|UIRectCornerTopRight; | |
} else if (indexPath.row == 1) { | |
cornerDef = UIRectCornerBottomLeft|UIRectCornerBottomRight; | |
} | |
CAShapeLayer *maskLayer = [CAShapeLayer layer]; | |
UIBezierPath *roundedPath = [UIBezierPath bezierPathWithRoundedRect:cell.bounds | |
byRoundingCorners:cornerDef cornerRadii:CGSizeMake(9.0f, 9.0f)]; |
import math | |
## JARO-WINKLER-DISTANCE | |
## Ported from http://www.iugrina.com/files/JaroWinkler/JaroWinkler.phps | |
def get_common_chars(str1, str2, allowed_distance): | |
str1_len = len(str1) | |
str2_len = len(str2) | |
tmp_str2 = [str2[x] for x in xrange(len(str2))] | |
common_chars = [] |
test.c
#include <stdio.h>
#include <mm_malloc.h>
int main(int argc, const char * argv[]) {
float *floatBuffer = _mm_malloc(256*sizeof(float), 16);
_mm_free(floatBuffer);
printf("%s\n", "Done!");
}
Want to work with the team behind Last.fm, RjDj.me or Inception The App? Here is your chance! We are looking for a full-time Web Developer for an exciting new project.
2014/07/28 0.40.3 | |
================= | |
- fix: ORDER BY using non-indexed (index off) column do fail silently | |
- fix: grouping or global aggregation using non-indexed (index off) | |
or analyzed (fulltext) column throws misleading exception | |
- added documentation for match function |
I hereby claim:
To claim this, I am signing this object:
package io.crate | |
public class AwesomeCrateClass { | |
public Boolean myMethod(Boolean value) { | |
return !value; | |
} | |
} |