由买买提看人间百态

topics

全部话题 - 话题: allocate
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s**g
发帖数: 709
1
EB3C的律师说决定very weakly reasoned。 我们正在讨论下一步的策略, 是否在60天
内上诉。先向大家通报一下,大家有意见和建议,请发电邮至:e********[email protected]
I. INTRODUCTION
This matter comes before the court on Defendants’ motion to dismiss (Dkt. #
23).The court has considered the parties’ briefing and supporting evidence
, and has heard from the parties at oral argument. For the reasons explained
below, the court GRANTS the motion (Dkt. # 23).
II. BACKGROUND
Plaintiffs are individuals from China who are seeking to acquire permanent
resident status ... 阅读全帖
s******g
发帖数: 755
2
【 以下文字转载自 Apple 讨论区 】
发信人: faucetQ (fq), 信区: Apple
标 题: [Mac Dev]整了个ObjectiveC的笔记,看看气氛对得上不
发信站: BBS 未名空间站 (Mon Feb 2 21:38:18 2009), 转信
整了个类似ObjectiveC学习笔记的东西,发上来大伙看看有兴趣不。
修改了一点,增加了NSAutoreleasePool的内容。
增加了NSString内容。
===========俺系分隔线==================
本文假设读者有基本的C编程能力,如果有C++或者Java的背景会更容易理解但是不是必须。
ObjectiveC基本语法
消息
在objectiveC中,向一个对象发送一个消息的语法为
[ obj method:parameter];
类似的功能在C++中写作
obj->method(parameter);
在java中写作
obj.method(parameter);
在smalltalk中写作
obj method:parameter
显而易见objectiveC和smalltalk... 阅读全帖
f*****Q
发帖数: 1912
3
整了个类似ObjectiveC学习笔记的东西,发上来大伙看看有兴趣不。
修改了一点,增加了NSAutoreleasePool的内容。
增加了NSString内容。
===========俺系分隔线==================
本文假设读者有基本的C编程能力,如果有C++或者Java的背景会更容易理解但是不是必须。
ObjectiveC基本语法
消息
在objectiveC中,向一个对象发送一个消息的语法为
[ obj method:parameter];
类似的功能在C++中写作
obj->method(parameter);
在java中写作
obj.method(parameter);
在smalltalk中写作
obj method:parameter
显而易见objectiveC和smalltalk的语法基本是相同的。
当有两个或者两个以上的参数时,通常试用以的语法
[ obj method:parameter1 WithSecondParameter:parameter2];
定义一个类的代码放在一个.h文件中,下面是一个例子。
//macdevexample1.h
... 阅读全帖
d******8
发帖数: 1972
4
http://www.usimmlaw.com/current_information.htm
India, China and the "Otherwise Unused" Employment Visas Numbers
Is the Visa Office Discriminating Against China?
(short answer is "no")
(This posting was prepared April 4, 2011, before publication of the May Visa Bulletin)
The State Department is about to start allocating more than 12,000 extra visa numbers to EB2 applicants. Most will go to applicants from India. The EB2 India date in the May Visa Bulletin will advance for the first time since ... 阅读全帖
l********r
发帖数: 28
5
移民局应该被我们吓坏了,出榜安民。表示不会在制定排期上与中国人民过不去。但同
时以不认为今年的排期会达到2007年
请看附件
来不及仔细阅读,希望大家一起来解读其中含义
谢谢
1
EB-2 Story
India, China and the “Otherwise Unused Employment Visas Numbers
Is the Visa Office Discriminating Against China?
(Short Answer Is “No”)
courtesy of Jay Solomon
(this posting was prepared April 4, 2011, before publication of the May Visa Bulletin)
The State Department is about to start allocating more than 12,000 extra visa numbers
to EB-2 applicants. Most will go to applicants from India. The EB-... 阅读全帖
d******8
发帖数: 1972
6
Understanding Visa Bulletin Cut-Off Date Determination
http://us-non-immigrants.blogspot.com/2011/05/understanding-visa-bulletin-cut-off.html
The State Department (DOS) is responsible for the allocation of numerically
limited immigrant visa numbers under the authority granted by section 203 of
the Immigration and Nationality Act (INA). These visa numbers are allocated
based on congressionally mandated preferences that assign an overall total,
limits for each category and per country limits withi... 阅读全帖
g********n
发帖数: 2314
7
购买日期以escrow close 为准, 05/01/2010-01/01/2011, 先到先得,2亿发完为止。
2010 Tax Credit for New Home / First-Time Buyer
(If you are looking for more information regarding the 2009 New Home Credit,
go to ftb.ca.gov/forms/2009/09_3528.pdf or search through the “Forms &
Publications” tab at ftb.ca.gov.)
Important Update (03/30/10): The 2010 New Home Credit and First-Time Buyer
Credit begins May 1, 2010.
The New Home / First-Time Buyer Credits are available only for purchases
that close escrow on or after May 1, ... 阅读全帖
N*****5
发帖数: 35
8
来自主题: Investment版 - 401k 求推荐 Fidelity/Vanguard funds
现在选的FID FREEDOM K 2050 (FFKHX), 有必要改吗?
50% stock + 50% bond 的组合怎么样? 求推荐, 谢谢!
SPTN EXT MKT IDX ADV (FSEVX) 50%
VANG TOT BD MKT INST (VBTIX) 50%
Fund list如下:
Name/Inception Date Asset Class Category 1 Year 3 Year 5 Year 10 Year/
LOF* Returns As Of Bench- mark
FID GROWTH CO POOL
12/13/2013 Stock Investments Large Cap Growth 21.80% N/A N/A 18.79%
07/31/2015 Show
Benchmark: Russell 3000 Growth 16.37% 18.94% 17.76% 15.46 07/31/2015
TRP BLUE CHIP GR T5
09/30/2009 Stock Investmen... 阅读全帖
f*******7
发帖数: 2210
9
来自主题: USANews版 - 下一个关键是Texas Primary
请认真读规则,这叫proportional么?我真的无语了,请多学习下再发言。
108 district delegates are to be allocated to presidential contenders based
on the primary results in each of the 36 congressional districts: each
congressional district is assigned 3 National Convention delegates. These
delegates are allocated to the presidential contenders as follows:
If a candidate receives a majority of the vote (more than 50%), that
candidate is allocated all 3 of the district's delegates. [General Rules for
All Conventions and Meet... 阅读全帖
f*******7
发帖数: 2210
10
来自主题: USANews版 - 下一个关键是Texas Primary
请认真读规则,这叫proportional么?我真的无语了,请多学习下再发言。
108 district delegates are to be allocated to presidential contenders based
on the primary results in each of the 36 congressional districts: each
congressional district is assigned 3 National Convention delegates. These
delegates are allocated to the presidential contenders as follows:
If a candidate receives a majority of the vote (more than 50%), that
candidate is allocated all 3 of the district's delegates. [General Rules for
All Conventions and Meet... 阅读全帖
p**i
发帖数: 163
11
来自主题: Investment版 - 求PRINCIPAL的401k组合。
小白。
长期看好股票, 如果想投75%的stock是选”LargeCap S&P 500 Index Separate
Account“吗?
还有25%买什么比较好?
Morley Capital Management
Principal Stable Value Sig Fund
$0.00
0.00%
%
Fixed Income BlackRock Financial Mgmt, Inc.
Inflation Protection Separate Account
$0.00
0.00%
%
Fixed Income Mellon Capital Mgmt
Bond Market Index Separate Account
$0.00
0.00%
%
Fixed Income Principal Global Investors
High Yield Separate Account
$0.00
0.00%
%
Fixed Income Principal Global Investors
Income Separate ... 阅读全帖
z********i
发帖数: 60
12
Did you know?
You are the 10th person from Illinois to sign this petition!
The sample letter in the website when I preview has a lot of space and not
aligned returns. So I delete those hard returns to make the paragraph more
complete. I paste here, hopefully it can be copied and pasted easier.
=================
New Immigrants United
End Discriminatory Practice That Led to Disadvantage of China Employment-Based Second Preference in FY 2011
I am writing to express my grave concerns regarding sever... 阅读全帖
m*******l
发帖数: 12782
13
☆─────────────────────────────────────☆
Stevens009 (Stevens009) 于 (Wed Oct 12 15:53:51 2011, 美东) 提到:
3012 这个bill烙印的70%不分EB1 EB2 EB3吗?那通过的话EB2C是不是也完蛋了?请高
人指点呀?
☆─────────────────────────────────────☆
alexx (panda in love~八胖~饲羊员~水木十年) 于 (Wed Oct 12 15:54:55 2011, 美东) 提到:
不会。俺不会完蛋。

☆─────────────────────────────────────☆
coolaladdin (我喜欢油灯和戒指) 于 (Wed Oct 12 15:56:33 2011, 美东) 提到:
category还是存在的,你说的情况不会发生。
☆─────────────────────────────────────☆
Stevens009 (Stevens009) 于 (Wed Oct ... 阅读全帖
l**7
发帖数: 3940
14

\ slb \ SERVICE LAW BOOKS MENU \ IMMIGRATION AND NATIONALITY ACT \ INA: ACT
203 - ALLOCATION OF IMMIGRANT VISAS
Previous Document  Next Document
INA: ACT 203 - ALLOCATION OF IMMIGRANT VISAS
Sec. 203. [8 U.S.C. 1153]
(a) Preference Allocation for Family-Sponsored Immigrants. - Aliens subject
to the worldwide level specified in section 201(c) for family-sponsored
immigrants shall be allotted visas as follows:
(1) Unmarried sons and daughters of citizens. - Qualified immigrants who are
t... 阅读全帖
h********d
发帖数: 1
15
Reserve Management Department, SAFE
We are looking for individuals with extraordinary intellectual capability
and curiosity, ability to rapidly learn and apply new concepts, as well as
self-motivation and responsibility to join us. We seek diversified
educational backgrounds and encourage applicants from all academic
disciplines.
About Us
In fulfilling the responsibilities of foreign reserve management, we put the
interests of the nation and the people at the very first.
Aiming at long-term pres... 阅读全帖
q***o
发帖数: 734
16
来自主题: USANews版 - 麻州GOP初选还没完?
https://www.youtube.com/watch?v=pS7w0GXNYw8
and
http://www.donaldjtrump.com/massachusetts
解释:
http://www.massgop.com/delegate
DELEGATE SELECTION PROCESS
Curious about the process of becoming a delegate to the Republican National
Convention in Cleveland this summer? See below for some information on how
the delegate selection process works:
BASICS:
Massachusetts is allocated 42 delegates to the National Convention in
Cleveland. Because our state awards its delegates proportionally, delegates
will... 阅读全帖
r******r
发帖数: 700
17
我当年的 homework,翻出来了。另一个 homework project, 帮我找到了第一个工作。
#ifndef LIST_H
#define LIST_H
#include
#include
#include
#include "node.h"
using namespace std;
/*=========================================================================*/
/**
* Implementation of a List ADT using a doubly-linked list.
*
* @version 1.0 2/25/05
*/
/*.........................................................................*/
/**
* Definition of exception handling class
*/
class ListEmpty : public ... 阅读全帖
l*****g
发帖数: 525
18
评论了。提了三点:
1,有140的可以申请EAD和AP,即preregister
2,浪费的visa应该recapture
3,现有的SO分配没有考虑到diversity
Personally, I think the most important thing for the legal immigration
improvement is to let beneficiaries with an approved I-140 to "preregister"
for adjustment of status (I-485) even there's no visa number available. So
that they can apply for the Employment Authorization and the Advanced Parole
, which is critical for the families suffered from the backlogs. This
creates the flexibility for those families to... 阅读全帖
l********a
发帖数: 1154
19
来自主题: Programming版 - map析构

跟踪了2天才找到这个问题,难道dll内自定义的类不能使用stl容器吗?
像我这种定义的容器数据非指针,该怎么释放呢?
没有其他解决办法吗?我这个map没有跨dll传递啊?
在testGA类定义里面声明,
构造函数里面map.insert(make_pair())添加内容,使用完后立即clear(),
在析构函数内没有操作map,因为已经被clear()了,又不是指针,无法delete
下断后出错在~testGA的时候会调用~map,
testGA.dll!std::map,std::
allocator >,double,std::less char>,std::allocator > >,std::allocator char,std::char_traits,std::allocator > const ... 阅读全帖
k****e
发帖数: 126
20
来自主题: Programming版 - 问个超简单的C问题
If a[][] is declared as static storage duration then it will certainly go to
.data segment. If not, the compiler will probably use immediate value
instead.
If you compare the following, (gcc version 4.5.3 -O0)
(1) array a[] has "auto" storage duration.
#include
#include
int foo()
{
int a[] = {3, 4, 5};
return a[2];
}
int main(void)
{
int temp;
temp = foo();
printf("%d", temp);
return 0;
}
Sections:
Idx Name Size VMA LMA File ... 阅读全帖
z*y
发帖数: 1311
21
来自主题: Unix版 - [转载] cxterm
【 以下文字转载自 Linux 讨论区 】
【 原文由 zyy 所发表 】
when I run it, it says:
Warning: Cannot allocate colormap entry for "#d3d3d3"
Warning: Cannot allocate colormap entry for "#8b0000"
Warning: Cannot allocate colormap entry for "DarkRed"
Warning: Cannot allocate colormap entry for "#006400"
Warning: Cannot allocate colormap entry for "DarkGreen"
Warning: Cannot allocate colormap entry for "#cdcd00"
Warning: Cannot allocate colormap entry for "Yellow3"
Warning: Cannot allocate colormap entry for "#cd00cd"
Warn
l****z
发帖数: 29846
22
Marc Faber: I’d Vote for Trump because “Clinton will Destroy the Whole
World”; Complete Interview Transcript
Saturday
Mar 2016
It’s All Relative
In a Bloomberg TV interview, the outspoken Marc Faber says “Given the
alternatives, I would vote for Mr. Trump, because he may only destroy the U.
S. economy, but Hillary Clinton will destroy the whole world.”
Note: I am having trouble inserting this video. But a complete transcript
follows.
Here’s a link to the key portion of the interview.
Complete Tr... 阅读全帖
P********r
发帖数: 1304
23
我的401K都是些没听过基金啊,列出来给大家看看,顺便求求建议投资哪些好。目前我
投了两个,都是large cap,可是也没见涨啊。
BlackRock Equity Dividend A Large Cap
Alger Cap App Institutional I Large Cap
American Funds Gr Fd Of Amer R3 Large Cap
BlackRock Flexible Equity-A Mid Cap
BlackRock Global Allocation A Asset Allocation/Balanced
BlackRock LifePath 2020 A Asset Allocation/Balanced
BlackRock LifePath 2030 A Asset Allocation/Balanced
BlackRock LifePath 2040 A Asset Allocation/Balanced... 阅读全帖
G*O
发帖数: 706
24
exactly.
二战之后犹太人费尽千辛万苦流泪流血也要建立自己的国家,哪怕是在芝麻一点儿大遍
地是炸药的地方。
因为犹太人在这方面的体会大概是最深刻的。

w]
[10/09 14:32:54 24838 1] guest ENTER [email protected] (ALLOC 11392) [www]
[10/09 14:32:54 32349 1] guest ENTER [email protected] (ALLOC 11105) [www]
[10/09 14:32:54 32384 1] guest ENTER [email protected] (ALLOC 576) [www]
[10/09 14:32:54 24824 1] guest ENTER [email protected] (ALLOC 11392) [www]
[10/09 14:32:55 29393 1] guest ENTER [email protected] (ALLOC 576) [www]
[10/09 14:32:55 22929 1] guest ENTER [email protected] (ALLOC 3653
C*********y
发帖数: 1424
25
是National Academy of Sciences 的Data-Based Assessment of Research-Doctorate
Program的表格, 找到了我们专业的。
其中对Average Number of Publication(2000-2006) Per Allocated Faculty, 2006的
注解是:
Data from the Thomson Reuters (formerly institute of Scientific Information)
list of publications were used to construct this variable. It is the
average over seven years, 2000-2006, of the number of articles for each
number of faculty divided by the total number of faculty allocated to the
program. Data were obtained by ma... 阅读全帖
d******8
发帖数: 1972
26
转自IV,具体来源没有找到, 据说过去预测一直比较准确,不过里面关于中国5月排期
前进有误,所以对其分析有所保留,这位律师的意思是全年的SO名额可能就只有12
,000,正应了P838说的小年。
Source: An immigration lawyer's newsletter
What happened to the 12,000 new visa numbers for EB-2?
There are about 140,000 employment-based visa numbers available for fiscal
year 2011. Each independent country of the world is limited to no more than
seven percent of the total. Each of the five employment-based preference
classifications is allocated a certain percentage of the total. The second
prefe... 阅读全帖
k**h
发帖数: 2929
27
不说这里都是等排期的吗?这个Merit based visa开始就是用来清空合法移民排期的,
然后10年以后让非法劳模从这里申绿卡,是这次CIR的核心条目啊。
1. 一年12万个名额,可以根据需求调整
2. 2014年10月开始先清EB等了3年和FB等了5年和其他等了10年的人
3. 2015年之后开始按照一个什么fourmula来清剩下的人
4. 在美国工作时间越长,住的时间长,有亲戚还有受教育越高的分越高
不过到了10年以后,1100万劳模开始申绿卡,这个估计就被劳模专用了,光是一个来美
国居住的时间人家就拍前面了

Merit Based Visa:
The merit based visa, created in the fifth year after enactment, awards
points to individuals based on their education, employment, length of
residence in the US andother considerations. Those individuals with t... 阅读全帖
d**********o
发帖数: 1321
28
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
第一个项目report
这时偶刚到CSAC工作不久,与小A同学还不熟,我用的还是latex。随着贴的作业越来越
多,应该是用有共同爱好的小伙伴更亲密些。这次贴latex,下次才再org-mode。
\documentclass[b5paper,11pt, abstraction, titlepage]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{listings}
\usepackage{geometry}
\geometry{b5paper}
\usepackage{graphicx,floatrow}
\usepackage{graphicx,subfigure}
\newsavebox{\abstractbox}
\renewenvironment{abstract}
{\begin{lrbox}{0}\begin{minipage}{\t... 阅读全帖
d**********o
发帖数: 1321
29
来自主题: WebRadio版 - 潜水员冒泡兼征版友意见
第一个项目report
这时偶刚到CSAC工作不久,与小A同学还不熟,我用的还是latex。随着贴的作业越来越
多,应该是用有共同爱好的小伙伴更亲密些。这次贴latex,下次才再org-mode。
\documentclass[b5paper,11pt, abstraction, titlepage]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage{multirow}
\usepackage{multicol}
\usepackage{listings}
\usepackage{geometry}
\geometry{b5paper}
\usepackage{graphicx,floatrow}
\usepackage{graphicx,subfigure}
\newsavebox{\abstractbox}
\renewenvironment{abstract}
{\begin{lrbox}{0}\begin{minipage}{\t... 阅读全帖
t****t
发帖数: 6806
30
来自主题: Programming版 - 怎样高效管理内存?
for example, you know most of your memory chunk is 20 bytes. then you
allocate a chunk of 20*40 bytes as a pool. then whenever you want to
allocate 20 bytes, you allocate from that pool. this kind of pool is quite
easy to maintain as you don't need to know the size of chunk, so there is no
waste.
but again this depends on your allocation pattern. if you allocate a lot of
different size of memory block (say 1, 2, 5, 10, 20, 34, 40, 50, 100, etc),
that obviously is not an option. on the other hand... 阅读全帖
d******i
发帖数: 7160
31
sorry又来了,就是想把事情想明白。
下面的code在vc6没问题。
可是放在vs2008下就出错。
应该是断在了这句(当i=4时):
pop_heap(x.begin(), x.end());
完整代码如下:
#includeXXX
void testK2()
{
srand(time(NULL));
vector x(5, 1.0);
make_heap(x.begin(), x.end());
for (int i=0; i<100; i++) {
double n=double(rand())/RAND_MAX;
if (n x.back()=n;
pop_heap(x.begin(), x.end());
}
cout< }
for (size_t i=0; i cerr<阅读全帖
T********i
发帖数: 2416
32
哪有那么简单?只allocate不free是最底层的。上层的有能free的。
比如我最常用的binary allocator。每次都把size round up to nearest 2 n次方。这
样free都到一个free list里面,allocate先查free list。内存利用率低一点。但是保
证allocate和free都是纳秒级。
其它的各种allocator多了,比如object pool等等等等。有些我甚至都没看到其他人用
过。有很多都是自己拍脑门搞出来的。
有研究表明,一般而言一个server进程的70%-90%执行时间都消耗在memory management
上。因此,优化还是有必要的。
当然你可以argue有时free和allocate是上层比如STL vector reallocarlte导致的。随
后的memory copy更消耗时间。其实,很多时候我们可以保证reallocate不发生。但是
我们仍然有动态内存管理的需求。
m*h
发帖数: 2750
33
我给你研究了一下:
The delegates were chosen over the weekend at the state Republican
convention, but they won't know who they're representing until the primary
results. Of the 41 elected delegates, 40 were Cruz supporters. However,
under party rules, each delegate is bound to the primary results for the
first round of voting at the national convention.
41个delegates 中,40个事ted支持者。但是,他们支持谁是不算数的。要看今天vote
的结果。说白了就是,虽然他们个人支持cruz,他们七月去cleveland 投谁不是他们说
了算,要今天的结果说了算.
放心了?:)
link:http://www.star-telegram.com/new... 阅读全帖
m*h
发帖数: 2750
34
我给你研究了一下:
The delegates were chosen over the weekend at the state Republican
convention, but they won't know who they're representing until the primary
results. Of the 41 elected delegates, 40 were Cruz supporters. However,
under party rules, each delegate is bound to the primary results for the
first round of voting at the national convention.
41个delegates 中,40个事ted支持者。但是,他们支持谁是不算数的。要看今天vote
的结果。说白了就是,虽然他们个人支持cruz,他们七月去cleveland 投谁不是他们说
了算,要今天的结果说了算.
放心了?:)
link:http://www.star-telegram.com/new... 阅读全帖
d********f
发帖数: 43471
35
你以为人都不懂英文,我看sessions还切中要害,icc把一堆高中生搬来抽h1-b本来就
是xjb胡闹,你看看他sponsor过的bill
DEC 14 2015
NELSON, SESSIONS INTRODUCE BIPARTISAN BILL TO REDUCE H-1B VISAS, BOOST WAGES
Sessions: “3 in 4 Americans with STEM degrees do not have STEM employment:
there is a huge surplus of talented American labor being bypassed, displaced
or even forced to train their foreign replacements. The Protecting
American Jobs Act will help shield American workers from these abuses and
create much-needed opportunities for young, dr... 阅读全帖
t***s
发帖数: 163
36
大多数target mature/life cycle fund,并不是依靠fund manager根据
市场情况调节asset allocation。相反的,他们通常是passive managed.
根据事先研究好的model分配资金,不管市场如何变化,asset allocation
不变。唯一变动的部分是随着年龄增加,逐渐降低风险,提高income。
fund manager可以随便变动asset allocation的那种叫aasset allocation
fund。可能今年100% stock,明年80% junk bond。manager bet on next
market move,他要是错了,你损失就大了。大家所谓不相信fund manager
是指这种fund。
综上所述:选target mature/life cycle fund不是靠manager,而是靠他们
的model。你不是选manager而是选model以及合适自己的risk。
Model就是asset allocation plan,它是你投资之前需要决定的最重要的事。
它的重要性超过大牛给的fu
r**h
发帖数: 1288
37
来自主题: JobHunting版 - 一点码工求职经验总结,回报本版
个人总结的一些C/C++问题:
C Tutorial:
http://www.cprogramming.com/tutorial.html
C问题集:
http://www.indiabix.com/technical/c/
http://www.parashift.com/c++-faq-lite/index.html
1) 为啥要用c++;
2) encapsulate, polymorphism ,inheritance 的概念;
encapsulate: Hide details of implementation
polymorphism : has multiple forms
inheritance: is-a relationship
3)class的概念
type of object
4)default constructor是啥样的;
without parameters
5) 写copy  constructor要注意啥
parameter must be reference : Node(const... 阅读全帖
c****g
发帖数: 3893
38

这儿有一段讲得比较清楚的,要人家还是不明白,我
真没办法了。
http://www.geeksforgeeks.org/memory-layout-of-c-program/
简尔言之,dynamic (runtime) allocation 用的时heap
static (compile time) allocation 用的是 stack 和 data segment
其中data segment 是用来存static 和 global variable 的。
从语法来说,用叉叉alloc function 和 new 的,是
Runtime allocation, 其它(C99 的 a[n]除外) 是compile time allocation.
a*****1
发帖数: 3134
39
Fidelity Alert - New Issue Offerings
Issuer: Alibaba Group Holding Ltd.
Offering: Alibaba Group Holding Ltd. American Depositary Shares IPO
The registration statement for Alibaba Group Holding Ltd. American
Depositary Shares IPO is expected to be declared effective and the offering
to be priced this evening, September 18, 2014. The confirmation is expected
to occur between 7:00 pm ET and 12:00 am EST this evening. Allocation will
not occur prior to 12:00 am EST tonight. We will send you a ... 阅读全帖
a***x
发帖数: 26368
40
来自主题: EB23版 - 中国EB争取剩余名额的依据
Basically, the topic for the remaining places go out, and I mention it
(Not for normal indicators of things to say). Article is very long (I also d
eleted some), as much detail as possible, to see you
Understand the Chinese remainder EB quota is the basis for the (for PD).
One. From the spirit of the legislation for the remaining places to see (fir
st program)
Countries to the United States is bound by the number of migrants. Such as t
he FB + EB does not exceed 7%.
Immigration law to prevent in... 阅读全帖
s********e
发帖数: 601
41
Is it this one?


January 25, 2010
[Recipient Name]
[Street Address]
[City, ST ZIP Code]
Sub: Mismanagement Led to Disadvantage of China Employment-Based Second
Preference in FY 2009
Dear Congressman/Congresswoman/Senator XXX:
I am writing to express my grave concerns regarding severe mismanagement of
the crucial visa number allocation process under of the Immigration Visa
Control and Report Divisio... 阅读全帖
s**g
发帖数: 709
42
我们跟律师交流,得到以下回复:
A. At bottom, our argument is that DOS and CIS violated the statute
written by Congress when it allocated visa numbers in 2008 and 2009. It is
important to note that this is not challenged in the court’s decision; in
other words, for purposes of appeal, it can be assumed the DOS and CIS
violated the law in 2008 and 2009. The question is how this violation of
law can be remedied. Basically, the court’s argument is that even though
the law was violated, the court cannot do ... 阅读全帖
c****r
发帖数: 969
43
☆─────────────────────────────────────☆
Macrosoft (无) 于 h 提到:
法案里有这么一段话:
"For fiscal year 2012, 15 percent of the total number of immigrant visas
made
available under section 203(b) of such Act (8 U.S.C. 1153(b)) shall be
allotted to immigrants who are natives of a foreign state or dependent area
that was not one of the two states with the largest numbers of natives
obtaining lawful permanent resident status during fiscal year 2010 under
such section 203(b)."
什么是: "... one of the two states... 阅读全帖
p**********u
发帖数: 15479
44
来自主题: Missouri版 - 401k
也许你刚参加工作,公司为你建立了401k账户。你也常常听到周围的人说起401k账户。
可你还搞不清401k究竟是什么,对你有什么影响。这篇文章就将向您解释有关401k账户
的基本知识及投资策略。
1. 什么是401k账户?
401k 账户是一种退休投资账户。基本原理就是你年轻的时候往账户里面存钱投资各种
基金及股票,退休后取出来用。
许多公司把401k作为一种福利,match你工资收入的一定百分比。比方说,公司的政策
是dollar for dollar match up to 5%。也就是说你每存一美元进去,公司也出一美元
存进你的账户,直到存满你工资的5%。之后你再存钱进去, 公司就不再match了。所
以如果你一年内contribute 5%, 你的账户里实际有了你工资的10%。但须注意有的公
司帮你存的钱可能不是fully vested。公司的contribution虽然在你的账户里显示,但
还不真正属于你。如果你公司的规定是4年vested而你在第二年便离开公司,你只获得
你自己的contribution加上公司contribution的25%。
2. ... 阅读全帖
l*u
发帖数: 661
45
来自主题: SanFrancisco版 - FREMONT 童鞋, vote NO on measure E
看看这个, Fremont 学区的 Facilities Plan, 就明白为什么要 vote NO, 在这个
650M 的 bond 后, 马上会来的是什么呢?27个小学,5 个高中从这个里面没有或得
一分钱。 小学和高中不重要吗?当然不是。 小学和高中不需要扩容和修屋顶吗?当然
不是。所以如果这个通过, 下面来的是不是只要 650M 呢?
Vote NO on measure E!
http://www.fremont.k12.ca.us/cms/lib04/CA01000848/Centricity/Do
See pages 92, 93, 94 for the School Board Approved Allocation, by school and
by category of how $407,727,000 of Measure E monies will be spent. The
remainder of the $650,000,000 (60% of the allocated spending) is set aside
for "inflation a... 阅读全帖
m*h
发帖数: 2750
46
各位今天投票
有人看到新闻说delegate代表40个人支持cruz,别误会了白着急哈。
研究了一下:
The delegates were chosen over the weekend at the state Republican
convention, but they won't know who they're representing until the primary
results. Of the 41 elected delegates, 40 were Cruz supporters. However,
under party rules, each delegate is bound to the primary results for the
first round of voting at the national convention.
41个delegates 中,40个事ted支持者。但是,他们支持谁是不算数的。要看今天vote
的结果。说白了就是,虽然他们个人支持cruz,他们七月去cleveland 投谁不是他们说
了算,要今天的结果说了算.
li... 阅读全帖
j****r
发帖数: 28
47
来自主题: Programming版 - stack/heap corruption
That depends on the location of newly allocated memory space.
If you use new to allocate a new array, it is allocated in heap. I remeber
available space in heap is huge because of virtual memory. In addition, heap
is well managed so that error is returned if your memory allocation request
can not be satisfied.
If you use static definition (like vector vec[10000]), it is allocated in
stack. In linux, some systems have default limitation about the stack size.
You can use unlimit command to chec
c**m
发帖数: 30
48
u hv mem leak. mem frag != 1.5G footprint, but == unable to alloc large
chunk.
alloc 500m then other svr u should at least take up >300m. why alloc such
huge size? maybe u should pre-alloc huge mem and self manage, and use
another heap for small allocs and then no frags.
h******u
发帖数: 155
49
"大部分JAVA的对象分配通常都是几条机器指令"有點誇張,呵呵。目前最efficient也
就是thread-local bump-the-pointer allocation, 就算是fast path也需要平均 12
instructions。C/C++的memory allocation也不是一定需要freelist-based,很多
customized的allocator就用bump-the-pointer。並且allocation的efficiency不光光
是通過allocation幾條指令來衡量的,還有好多好多的因素,比如説cache locality,
同一個processor的不同threads會不會經常access同一個cache line,還有
fragmentation等等。各種原因在一起非常複雜。
另外performance-wise“可以肆无忌惮地创建对象,把一切对象化”不是一個good
idea :) 現在看到很多server applications的scalability已經被excessive object
creation所限制。我們study過... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)