PageRenderTime 416ms queryFilters 0ms Sphinxql 34ms app.CodeModel.GetByIds 185ms findMatchingLines 136ms GetByIds 321ms meta 0ms repositoryFilters 16ms languageFilters 1ms sourceFilters 3ms

99,432 results for '_ pluck' (416 ms)

Source

Language

Repository

thefrisky.html git://github.com/karussell/snacktory.git | HTML | 2,743 lines
714		})(dmJQuery, dmJQuery);
715		pluckAppProxy.pluck_user_miniPersona_dialog('#pluck_user_miniPersona_dialog_10065', '#pluck_comments_87095', { });
716	}, '');
1544		}
1545		pluckAppProxy.pluck_login_comment("#pluck_login_comment_49866", "#pluck_comments_submit_top_16114");
1546		var action = "http://www.thefrisky.com/?returnURL=http%3a%2f%2fwww.thefrisky.com%2fpost%2f246-rachel-dratch-met-her-baby-daddy-in-a-bar";
1677		})(dmJQuery, dmJQuery);
1678		pluckAppProxy.pluck_util_email_dialog('#pluck_util_email_dialog_17329', '#pluck_comments_87095', { maxLength: 500 });
1679	}, '');
1808		})(dmJQuery, dmJQuery);
1809		pluckAppProxy.pluck_util_permalink_dialog('#pluck_util_permalink_dialog_62602',  '#pluck_comments_87095', { });
1810	}, '');
1840		})(dmJQuery, dmJQuery);
1841		pluckAppProxy.pluck_reactions_score_dialog('#pluck_reactions_score_dialog_45544', '#pluck_comments_87095', { });
1842	}, '');
calculations_test.rb git://github.com/rails/rails.git | Ruby | 1,199 lines
593
594  def test_should_count_field_of_root_table_with_conflicting_group_by_column
595    expected = { 1 => 2, 2 => 1, 4 => 5, 5 => 2, 7 => 1 }
1004
1005  def test_calculation_grouped_by_association_doesnt_error_when_no_records_have_association
1006    Client.update_all(client_of: nil)
1009
1010  def test_should_reference_correct_aliases_while_joining_tables_of_has_many_through_association
1011    assert_nothing_raised do
1105
1106  def test_select_avg_with_joins_and_group_by_as_virtual_attribute_with_sql
1107    rails_core = companies(:rails_core)
1127
1128  def test_select_avg_with_joins_and_group_by_as_virtual_attribute_with_ar
1129    rails_core = companies(:rails_core)
README.md https://bitbucket.org/kristijanhusak/koaslider.git | Unknown | 3,590 lines
70* [`_.min`](#_mincollection--callbackidentity-thisarg)
71* [`_.pluck`](#_pluckcollection-property)
72* [`_.reduce`](#_reducecollection--callbackidentity-accumulator-thisarg)
167## `Methods`
168* [`_.templateSettings.imports._`](#_templatesettingsimports_)
169
1413
1414### <a id="_pluckcollection-property"></a>`_.pluck(collection, property)`
1415<a href="#_pluckcollection-property">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L2789 "View in source") [&#x24C9;][1]
3371// => function(data) {
3372  var __t, __p = '', __e = _.escape;
3373  __p += 'hi ' + ((__t = ( data.name )) == null ? '' : __t) + '!';
3482
3483### <a id="_templatesettingsimports_"></a>`_.templateSettings.imports._`
3484<a href="#_templatesettingsimports_">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L341 "View in source") [&#x24C9;][1]
PluckTest.php git://github.com/lstrojny/functional-php.git | PHP | 200 lines
30{
31    public function __get($propertyName)
32    {
40
41    public function __construct(array $properties)
42    {
45
46    public function __isset($propertyName)
47    {
50
51    public function __get($propertyName)
52    {
61
62    public function __construct($throwExceptionInIsset, $throwExceptionInGet)
63    {
bcv_passage.coffee https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | CoffeeScript | 774 lines
376				temp_valid = @validate_ref passage.start_context.translations, {b:end_obj.b, c: start_obj.c, v: end_obj.c}
377				temp_valid = @validate_ref passage.start_context.translations, {b:end_obj.b, c: start_obj.c, v: end_obj.v} if temp_valid.valid
378				return @range_change_cv_end passage, accum if temp_valid.valid
384			# Only go with a `cv` if it's the chapter that's too low (to avoid doing weird things with 31:30-31:1).
385			if ((valid.messages.end_chapter_before_start or valid.messages.end_verse_before_start) and (end.type is "integer" or end.type is "v") or (valid.messages.end_chapter_before_start and end.type is "cv"))
386				new_end = @range_check_new_end passage.start_context.translations, start_obj, end_obj, valid
463				# `end_verse_not_exist` gives the maximum verse for the chapter.
464				end_obj.v = @validate_ref(passage.start_context.translations, {b: end_obj.b, c: end_obj.c, v: 999}).messages.end_verse_not_exist
465		# If the end verse is too high, snap back to the maximum verse.
468			end_obj.v = valid.messages.end_verse_not_exist
469		end_obj.v = valid.messages.end_verse_is_zero if valid.messages.end_verse_is_zero and @options.zero_verse_strategy isnt "allow"
470		end_obj.c = valid.messages.end_chapter_is_zero if valid.messages.end_chapter_is_zero
477			c = valid.messages.start_chapter_is_zero if valid.messages.start_chapter_is_zero
478			v = valid.messages.start_verse_is_zero if valid.messages.start_verse_is_zero and @options.zero_verse_strategy isnt "allow"
479		[c, v]
calculations_test.rb https://bitbucket.org/mirror/rails.git | Ruby | 566 lines
46
47  def test_type_cast_calculated_value_should_convert_db_averages_of_fixnum_class_to_decimal
48    assert_equal 0, NumericData.all.send(:type_cast_calculated_value, 0, nil, 'avg')
421
422  def test_maximum_with_not_auto_table_name_prefix_if_column_included
423    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
427
428  def test_minimum_with_not_auto_table_name_prefix_if_column_included
429    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
502
503  def test_pluck_not_auto_table_name_prefix_if_column_joined
504    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
522
523  def test_pluck_not_auto_table_name_prefix_if_column_included
524    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
__driver__.lua git://pkgs.fedoraproject.org/monotone | Lua | 1,035 lines
131
132check(mtn("mv", "bad/_MTN", "foo/_MTN"), 0, false, false)
133
707
708-- complex_structural_conflicts cases from roster_merge.cc unit tests
709
830
831check(mtn("merge_into_workspace", first), 1, false, true)
832check(qgrep(message1, "stderr"))
895
896check(mtn("merge_into_workspace", first), 1, false, true)
897check(qgrep(message1, "stderr"))
1031
1032-- check(mtn("merge_into_workspace", first), 1, false, true)
1033-- check(qgrep(message1, "stderr"))
es_bcv_parser.js https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | JavaScript | 11,433 lines
323    bcv_parser.prototype.parsed_entities = function() {
324      var entity, entity_id, i, last_i, length, osis, osises, out, passage, strings, translation, translation_alias, translation_osis, translations, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4;
325      out = [];
720    bcv_passage.prototype.bc = function(passage, accum, context) {
721      var alternates, b, c, context_key, obj, type, valid, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _ref4;
722      passage.start_context = bcv_utils.shallow_clone(context);
1213    bcv_passage.prototype.range = function(passage, accum, context) {
1214      var end, end_obj, new_end, start, start_obj, temp_valid, temp_value, valid, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
1215      passage.start_context = bcv_utils.shallow_clone(context);
3335        if (result0 !== null) {
3336          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
3337        }
7902        if (result0 !== null) {
7903          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
7904        }
he_bcv_parser.js https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | JavaScript | 6,251 lines
323    bcv_parser.prototype.parsed_entities = function() {
324      var entity, entity_id, i, last_i, length, osis, osises, out, passage, strings, translation, translation_alias, translation_osis, translations, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4;
325      out = [];
325      out = [];
326      for (entity_id = _i = 0, _ref = this.entities.length; 0 <= _ref ? _i < _ref : _i > _ref; entity_id = 0 <= _ref ? ++_i : --_i) {
327        entity = this.entities[entity_id];
720    bcv_passage.prototype.bc = function(passage, accum, context) {
721      var alternates, b, c, context_key, obj, type, valid, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _ref4;
722      passage.start_context = bcv_utils.shallow_clone(context);
1213    bcv_passage.prototype.range = function(passage, accum, context) {
1214      var end, end_obj, new_end, start, start_obj, temp_valid, temp_value, valid, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
1215      passage.start_context = bcv_utils.shallow_clone(context);
3289        if (result0 !== null) {
3290          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
3291        }
en_bcv_parser.js https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | JavaScript | 6,890 lines
323    bcv_parser.prototype.parsed_entities = function() {
324      var entity, entity_id, i, last_i, length, osis, osises, out, passage, strings, translation, translation_alias, translation_osis, translations, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4;
325      out = [];
325      out = [];
326      for (entity_id = _i = 0, _ref = this.entities.length; 0 <= _ref ? _i < _ref : _i > _ref; entity_id = 0 <= _ref ? ++_i : --_i) {
327        entity = this.entities[entity_id];
720    bcv_passage.prototype.bc = function(passage, accum, context) {
721      var alternates, b, c, context_key, obj, type, valid, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _ref4;
722      passage.start_context = bcv_utils.shallow_clone(context);
1213    bcv_passage.prototype.range = function(passage, accum, context) {
1214      var end, end_obj, new_end, start, start_obj, temp_valid, temp_value, valid, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
1215      passage.start_context = bcv_utils.shallow_clone(context);
3447        if (result0 !== null) {
3448          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
3449        }
fr_bcv_parser.js https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | JavaScript | 6,613 lines
323    bcv_parser.prototype.parsed_entities = function() {
324      var entity, entity_id, i, last_i, length, osis, osises, out, passage, strings, translation, translation_alias, translation_osis, translations, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4;
325      out = [];
325      out = [];
326      for (entity_id = _i = 0, _ref = this.entities.length; 0 <= _ref ? _i < _ref : _i > _ref; entity_id = 0 <= _ref ? ++_i : --_i) {
327        entity = this.entities[entity_id];
720    bcv_passage.prototype.bc = function(passage, accum, context) {
721      var alternates, b, c, context_key, obj, type, valid, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _ref4;
722      passage.start_context = bcv_utils.shallow_clone(context);
1213    bcv_passage.prototype.range = function(passage, accum, context) {
1214      var end, end_obj, new_end, start, start_obj, temp_valid, temp_value, valid, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
1215      passage.start_context = bcv_utils.shallow_clone(context);
3310        if (result0 !== null) {
3311          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
3312        }
he_bcv_parser.js https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | JavaScript | 10,069 lines
323    bcv_parser.prototype.parsed_entities = function() {
324      var entity, entity_id, i, last_i, length, osis, osises, out, passage, strings, translation, translation_alias, translation_osis, translations, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4;
325      out = [];
720    bcv_passage.prototype.bc = function(passage, accum, context) {
721      var alternates, b, c, context_key, obj, type, valid, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _ref4;
722      passage.start_context = bcv_utils.shallow_clone(context);
1213    bcv_passage.prototype.range = function(passage, accum, context) {
1214      var end, end_obj, new_end, start, start_obj, temp_valid, temp_value, valid, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
1215      passage.start_context = bcv_utils.shallow_clone(context);
3289        if (result0 !== null) {
3290          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
3291        }
7197        if (result0 !== null) {
7198          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
7199        }
fr_bcv_parser.js https://github.com/davidortinau/Bible-Passage-Reference-Parser.git | JavaScript | 10,772 lines
323    bcv_parser.prototype.parsed_entities = function() {
324      var entity, entity_id, i, last_i, length, osis, osises, out, passage, strings, translation, translation_alias, translation_osis, translations, _i, _j, _k, _l, _len, _len1, _ref, _ref1, _ref2, _ref3, _ref4;
325      out = [];
720    bcv_passage.prototype.bc = function(passage, accum, context) {
721      var alternates, b, c, context_key, obj, type, valid, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _ref4;
722      passage.start_context = bcv_utils.shallow_clone(context);
1213    bcv_passage.prototype.range = function(passage, accum, context) {
1214      var end, end_obj, new_end, start, start_obj, temp_valid, temp_value, valid, _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
1215      passage.start_context = bcv_utils.shallow_clone(context);
3310        if (result0 !== null) {
3311          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
3312        }
7559        if (result0 !== null) {
7560          result0 = (function(offset, val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [offset, pos - 1]} })(pos0, result0[0], result0[2], result0[4], result0[6]);
7561        }
calculations_test.rb https://bitbucket.org/suenot/rails.git | Ruby | 579 lines
41
42  def test_type_cast_calculated_value_should_convert_db_averages_of_fixnum_class_to_decimal
43    assert_equal 0, NumericData.scoped.send(:type_cast_calculated_value, 0, nil, 'avg')
431
432  def test_maximum_with_not_auto_table_name_prefix_if_column_included
433    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
442
443  def test_minimum_with_not_auto_table_name_prefix_if_column_included
444    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
477
478  def test_distinct_is_honored_when_used_with_count_operation_after_group
479    # Count the number of authors for approved topics
547
548  def test_pluck_not_auto_table_name_prefix_if_column_included
549    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
calculations_test.rb https://bitbucket.org/rrmartins/rails.git | Ruby | 583 lines
44
45  def test_type_cast_calculated_value_should_convert_db_averages_of_fixnum_class_to_decimal
46    assert_equal 0, NumericData.all.send(:type_cast_calculated_value, 0, nil, 'avg')
429
430  def test_maximum_with_not_auto_table_name_prefix_if_column_included
431    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
440
441  def test_minimum_with_not_auto_table_name_prefix_if_column_included
442    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
475
476  def test_distinct_is_honored_when_used_with_count_operation_after_group
477    # Count the number of authors for approved topics
545
546  def test_pluck_not_auto_table_name_prefix_if_column_included
547    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
calculations.rb git://github.com/rails/rails.git | Ruby | 450 lines
306
307        result = skip_query_cache_if_necessary { @klass.connection.select_all(query_builder) }
308
336        column_alias = column_alias_for("#{operation} #{column_name.to_s.downcase}")
337        select_value = operation_over_aggregate_column(column_name, operation, distinct)
338        select_value.as(column_alias)
354
355        calculated_data = skip_query_cache_if_necessary { @klass.connection.select_all(relation.arel, nil) }
356
397      #   column_alias_for("sum(id)")                  # => "sum_id"
398      #   column_alias_for("count(distinct users.id)") # => "count_distinct_users_id"
399      #   column_alias_for("count(*)")                 # => "count_all"
444        subquery_alias = Arel.sql("subquery_for_count")
445        select_value = operation_over_aggregate_column(column_alias, "count", false)
446
LivingstonGuitar (mikey's conflicted copy 2010-09-09) http://silencio.googlecode.com/svn/trunk/ | Unknown | 181 lines
3                        ; The model takes pluck position, and pickup position (in % of string length), and generates
4                        ; a pluck excitation signal, representing the string displacement.  The pluck consists 
5                        ; of a forward and backward traveling displacement wave, which are recirculated thru two 
21                        ;
22                        ; The effects of pluck hardness, and contact with frets during pluck release,
23                        ; have been modeled by injecting noise into the initial pluck, proportional to initial 
88isegF2                  =                       ipluck
89iplkdelF                =                       (ipluck / 2 > ippos ? 0 : ippos - ipluck / 2)
90isegB                   =                       1 / sr
91isegB2                  =                       ipluck
92iplkdelB                =                       (ipluck / 2 > idlt / 2 - ippos ? 0 : idlt / 2 - ippos - ipluck / 2)
93                        ; EXCITATION SIGNAL GENERATION
99ipw                     =                       1
100ipamp                   =                       ip4 * ipluck ; 4 / ipluck
101aenvstrf                linseg                  0, isegF, -ipamp / 2, isegF2, 0
LivingstonGuitar http://silencio.googlecode.com/svn/trunk/ | Unknown | 180 lines
3                        ; The model takes pluck position, and pickup position (in % of string length), and generates
4                        ; a pluck excitation signal, representing the string displacement.  The pluck consists 
5                        ; of a forward and backward traveling displacement wave, which are recirculated thru two 
21                        ;
22                        ; The effects of pluck hardness, and contact with frets during pluck release,
23                        ; have been modeled by injecting noise into the initial pluck, proportional to initial 
87isegF2                  =                       ipluck
88iplkdelF                =                       (ipluck / 2 > ippos ? 0 : ippos - ipluck / 2)
89isegB                   =                       1 / sr
90isegB2                  =                       ipluck
91iplkdelB                =                       (ipluck / 2 > idlt / 2 - ippos ? 0 : idlt / 2 - ippos - ipluck / 2)
92                        ; EXCITATION SIGNAL GENERATION
98ipw                     =                       1
99ipamp                   =                       ip4 * ipluck ; 4 / ipluck
100aenvstrf                linseg                  0, isegF, -ipamp / 2, isegF2, 0
calculations_test.rb https://bitbucket.org/glassscribe/rails.git | Ruby | 550 lines
41
42  def test_type_cast_calculated_value_should_convert_db_averages_of_fixnum_class_to_decimal
43    assert_equal 0, NumericData.scoped.send(:type_cast_calculated_value, 0, nil, 'avg')
422
423  def test_maximum_with_not_auto_table_name_prefix_if_column_included
424    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
433
434  def test_minimum_with_not_auto_table_name_prefix_if_column_included
435    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
444
445  def test_sum_with_not_auto_table_name_prefix_if_column_included
446    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
518
519  def test_pluck_not_auto_table_name_prefix_if_column_joined
520    Company.create!(:name => "test", :contracts => [Contract.new(:developer_id => 7)])
Pluck.m https://bitbucket.org/eddieh/musickit.git | Objective C | 700 lines
106/* #include "tune.m" */
107//#define LOW_PITCH_STR NXLocalStringFromTableInBundle(_MKErrorStringFile(),_MKErrorBundle(),"low pitch",NULL,"This string appears as part of a larger error message: 'Out of low pitch memory...'")
108#define LOW_PITCH_STR [NSLocalizedStringFromTableInBundle(@"low pitch", [NSString stringWithUTF8String:_MKErrorStringFile()], _MKErrorBundle(), "This string appears as part of a larger error message: 'Out of low pitch memory...'") UTF8String]
109
110//#define PITCH_STR NXLocalStringFromTableInBundle(_MKErrorStringFile(),_MKErrorBundle(),"pitch",NULL,"This string appears as part of a larger error message: 'Out of pitch memory...'")
111#define PITCH_STR [NSLocalizedStringFromTableInBundle(@"pitch", [NSString stringWithUTF8String:_MKErrorStringFile()], _MKErrorBundle(), "This string appears as part of a larger error message: 'Out of pitch memory...'") UTF8String]
112
113//#define PLUCK_NOISE_STR NXLocalStringFromTableInBundle(_MKErrorStringFile(),_MKErrorBundle(),"Pluck noise",NULL,"This string appears as part of a larger error message: 'Can't allocate Pluck noise...'")
114#define PLUCK_NOISE_STR [NSLocalizedStringFromTableInBundle(@"Pluck noise", [NSString stringWithUTF8String:_MKErrorStringFile()], _MKErrorBundle(), "This string appears as part of a larger error message: 'Can't allocate Pluck noise...'") UTF8String]
146
147#   define MSG(_target,_message,_arg) \
148    [tmpl to:_target sel:@selector(_message) arg:_arg]
529	    self->noiseLoc = nil;
530	    MKErrorCode(MK_spsCantGetUGErr,PLUCK_NOISE_STR,MKGetTime());
531	    return nil;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21