/dports/www/py-praw/praw-6.2.0/tests/unit/models/reddit/ |
H A D | test_comment.py | 17 comment2 = Comment(self.reddit, _data={"id": "Dummy1", "n": 2}) 20 assert comment2 == comment2 22 assert comment1 == comment2 23 assert comment2 != comment3 26 assert comment2 == "dummy1" 56 comment2 = Comment(self.reddit, _data={"id": "Dummy1", "n": 2}) 59 assert hash(comment2) == hash(comment2) 61 assert hash(comment1) == hash(comment2) 62 assert hash(comment2) != hash(comment3)
|
/dports/databases/recutils/recutils-1.8/torture/rec-comment/ |
H A D | rec-comment-equal-p.c | 43 rec_comment_t comment2; in START_TEST() local 50 comment2 = rec_comment_new ("xyz"); in START_TEST() 51 fail_if (comment2 == NULL); in START_TEST() 59 fail_if (rec_comment_equal_p (comment1, comment2)); in START_TEST() 61 fail_if (rec_comment_equal_p (comment2, comment_empty)); in START_TEST() 67 rec_comment_destroy (comment2); in START_TEST()
|
/dports/www/moodle310/moodle/comment/tests/ |
H A D | privacy_test.php | 115 $comment2->add('First comment for user 1 on comment 2'); 118 $comment2->add('First comment for user 2 on comment 2'); 150 $this->assertCount(2, $comment2->get_comments()); 183 $comment2->add('First comment for user 1 on comment 2'); 220 $this->assertCount(2, $comment2->get_comments()); 256 $comment2->add('User 1 comment in second comment'); 259 $comment2->add('User two replied in comment two'); 295 $comment2comments = $comment2->get_comments(); 340 $comment2->add('User 1 comment in second comment'); 343 $comment2->add('User two replied in comment two'); [all …]
|
/dports/www/moodle39/moodle/comment/tests/ |
H A D | privacy_test.php | 115 $comment2->add('First comment for user 1 on comment 2'); 118 $comment2->add('First comment for user 2 on comment 2'); 150 $this->assertCount(2, $comment2->get_comments()); 183 $comment2->add('First comment for user 1 on comment 2'); 220 $this->assertCount(2, $comment2->get_comments()); 256 $comment2->add('User 1 comment in second comment'); 259 $comment2->add('User two replied in comment two'); 295 $comment2comments = $comment2->get_comments(); 340 $comment2->add('User 1 comment in second comment'); 343 $comment2->add('User two replied in comment two'); [all …]
|
/dports/www/moodle311/moodle/comment/tests/ |
H A D | privacy_test.php | 115 $comment2->add('First comment for user 1 on comment 2'); 118 $comment2->add('First comment for user 2 on comment 2'); 150 $this->assertCount(2, $comment2->get_comments()); 183 $comment2->add('First comment for user 1 on comment 2'); 220 $this->assertCount(2, $comment2->get_comments()); 256 $comment2->add('User 1 comment in second comment'); 259 $comment2->add('User two replied in comment two'); 295 $comment2comments = $comment2->get_comments(); 340 $comment2->add('User 1 comment in second comment'); 343 $comment2->add('User two replied in comment two'); [all …]
|
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/tests/src/Kernel/Views/ |
H A D | CommentFieldNameTest.php | 82 $comment2 = Comment::create([ 87 $comment2->save(); 98 'cid' => $comment2->id(), 99 'field_name' => $comment2->getFieldName(), 116 $this->assertEquals($expected_output, $comment2->getFieldName());
|
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/tests/src/Kernel/Views/ |
H A D | CommentFieldNameTest.php | 82 $comment2 = Comment::create([ 87 $comment2->save(); 98 'cid' => $comment2->id(), 99 'field_name' => $comment2->getFieldName(), 116 $this->assertEquals($expected_output, $comment2->getFieldName());
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/unoidl/source/ |
H A D | sourceprovider-scanner.l | 101 %x comment1 comment2 doc docdepr 119 "/*" BEGIN comment2; 121 "/***" BEGIN comment2; 123 <comment2,doc>"*/" BEGIN INITIAL; 126 <comment2,docdepr>. 127 <comment2,doc,docdepr>\n *yylloc = yylineno; 128 <comment2,doc,docdepr><<EOF>> {
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/unoidl/source/ |
H A D | sourceprovider-scanner.l | 99 %x comment1 comment2 doc docdepr 117 "/*" BEGIN comment2; 119 "/***" BEGIN comment2; 121 <comment2,doc>"*/" BEGIN INITIAL; 124 <comment2,docdepr>. 125 <comment2,doc,docdepr>\n *yylloc = yylineno; 126 <comment2,doc,docdepr><<EOF>> {
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml.Linq/tests/SDMSample/ |
H A D | SDMNode.cs | 244 XComment comment2 = new XComment("Yet another comment"); in NodeAllContentBeforeSelf() 265 parent.AddFirst(comment2); in NodeAllContentBeforeSelf() 267 Assert.Equal(new XNode[] { comment2, element2 }, child.NodesBeforeSelf()); in NodeAllContentBeforeSelf() 281 XComment comment2 = new XComment("Yet another comment"); in NodeAllContentAfterSelf() 302 parent.Add(comment2); in NodeAllContentAfterSelf() 304 Assert.Equal(child.NodesAfterSelf(), new XNode[] { element2, comment2 }); in NodeAllContentAfterSelf() 318 XComment comment2 = new XComment("Yet another comment"); in NodeContentBeforeSelf() 333 parent.Add(comment2); in NodeContentBeforeSelf() 350 XComment comment2 = new XComment("Yet another comment"); in NodeContentAfterSelf() 365 parent.Add(comment2); in NodeContentAfterSelf() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.CodeDom/tests/CodeObjects/ |
H A D | CodeNamespaceTests.cs | 127 CodeCommentStatement comment2 = new CodeCommentStatement("Comment2"); in Comments_AddMultiple_ReturnsExpected() 128 codeNamespace.Comments.Add(comment2); in Comments_AddMultiple_ReturnsExpected() 129 …Assert.Equal(new CodeCommentStatement[] { comment1, comment2 }, codeNamespace.Comments.Cast<CodeCo… in Comments_AddMultiple_ReturnsExpected() 151 CodeCommentStatement comment2 = new CodeCommentStatement("Comment2"); in Comments_Get_CallsPopulateImportsONce() 152 codeNamespace.Comments.Add(comment2); in Comments_Get_CallsPopulateImportsONce() 153 …Assert.Equal(new CodeCommentStatement[] { comment1, comment2 }, codeNamespace.Comments.Cast<CodeCo… in Comments_Get_CallsPopulateImportsONce()
|
/dports/www/tikiwiki/tiki-21.2/lib/test/notifications/ |
H A D | NotificationEmailLibTest.php | 19 $comment2 = $tiki->table('tiki_comments')->insert([ 33 $res = sendCommentNotification('article', 1, 'Test comment', 'test', $comment2, null); 37 $tiki->table('tiki_comments')->delete(['threadId' => $comment2]);
|
/dports/chinese/wordpress-zh_CN/wordpress/wp-content/plugins/akismet/ |
H A D | class.akismet.php | 1003 * @param mixed $comment2 A comment object or array. 1006 private static function comments_match( $comment1, $comment2 ) { argument 1008 $comment2 = (array) $comment2; 1016 if ( ! isset( $comment2['comment_author'] ) ) { 1017 $comment2['comment_author'] = ''; 1024 if ( ! isset( $comment2['comment_author_email'] ) ) { 1025 $comment2['comment_author_email'] = ''; 1029 isset( $comment1['comment_post_ID'], $comment2['comment_post_ID'] ) 1030 && intval( $comment1['comment_post_ID'] ) == intval( $comment2['comment_post_ID'] ) 1041 || ( ! $comment1['comment_author'] && strlen( $comment2['comment_author'] ) > 248 ) [all …]
|
/dports/chinese/wordpress-zh_TW/wordpress/wp-content/plugins/akismet/ |
H A D | class.akismet.php | 1003 * @param mixed $comment2 A comment object or array. 1006 private static function comments_match( $comment1, $comment2 ) { argument 1008 $comment2 = (array) $comment2; 1016 if ( ! isset( $comment2['comment_author'] ) ) { 1017 $comment2['comment_author'] = ''; 1024 if ( ! isset( $comment2['comment_author_email'] ) ) { 1025 $comment2['comment_author_email'] = ''; 1029 isset( $comment1['comment_post_ID'], $comment2['comment_post_ID'] ) 1030 && intval( $comment1['comment_post_ID'] ) == intval( $comment2['comment_post_ID'] ) 1041 || ( ! $comment1['comment_author'] && strlen( $comment2['comment_author'] ) > 248 ) [all …]
|
/dports/graphics/leptonica/leptonica-1.76.0/prog/ |
H A D | jpegio_reg.c | 231 l_uint8 *comment2; in DoJpegTest4() local 246 fgetJpegComment(fp, &comment2); in DoJpegTest4() 247 if (!comment2) in DoJpegTest4() 248 comment2 = (l_uint8 *)stringNew(""); in DoJpegTest4() 253 comment2, strlen((char *)comment2)); in DoJpegTest4() 257 lept_free(comment2); in DoJpegTest4()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/compilerplugins/clang/ |
H A D | collapseif.cxx | 116 constexpr char const comment2[] = "//"; in containsComment() local 119 if (std::search(p1, p2, comment2, comment2 + strlen(comment2)) != p2) in containsComment()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/compilerplugins/clang/ |
H A D | collapseif.cxx | 116 constexpr char const comment2[] = "//"; in containsComment() local 119 if (std::search(p1, p2, comment2, comment2 + strlen(comment2)) != p2) in containsComment()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/opcodes/ |
H A D | avr-dis.c | 267 char op1[20], op2[20], comment1[40], comment2[40]; local 320 comment2[0] = 0; 343 *comment1 ? comment2 : comment1, regs); 353 comment2[0] = 0; 367 if (*comment2) 368 (*prin) (stream, " %s", comment2);
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/binutils/opcodes/ |
H A D | avr-dis.c | 267 char op1[20], op2[20], comment1[40], comment2[40]; local 320 comment2[0] = 0; 343 *comment1 ? comment2 : comment1, regs); 353 comment2[0] = 0; 367 if (*comment2) 368 (*prin) (stream, " %s", comment2);
|
/dports/devel/avr-gdb/gdb-7.3.1/opcodes/ |
H A D | avr-dis.c | 285 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local 344 comment2[0] = 0; in print_insn_avr() 368 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr() 378 comment2[0] = 0; in print_insn_avr() 395 if (*comment2) in print_insn_avr() 396 (*prin) (stream, " %s", comment2); in print_insn_avr()
|
/dports/devel/gdb761/gdb-7.6.1/opcodes/ |
H A D | avr-dis.c | 286 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local 345 comment2[0] = 0; in print_insn_avr() 369 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr() 379 comment2[0] = 0; in print_insn_avr() 396 if (*comment2) in print_insn_avr() 397 (*prin) (stream, " %s", comment2); in print_insn_avr()
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/opcodes/ |
H A D | avr-dis.c | 267 char op1[20], op2[20], comment1[40], comment2[40]; local 322 comment2[0] = 0; 345 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); 355 comment2[0] = 0; 372 if (*comment2) 373 (*prin) (stream, " %s", comment2);
|
/dports/devel/djgpp-binutils/binutils-2.17/opcodes/ |
H A D | avr-dis.c | 266 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local 318 comment2[0] = 0; in print_insn_avr() 341 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr() 351 comment2[0] = 0; in print_insn_avr() 368 if (*comment2) in print_insn_avr() 369 (*prin) (stream, " %s", comment2); in print_insn_avr()
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/opcodes/ |
H A D | avr-dis.c | 302 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local 365 comment2[0] = 0; in print_insn_avr() 389 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr() 399 comment2[0] = 0; in print_insn_avr() 416 if (*comment2) in print_insn_avr() 417 (*prin) (stream, " %s", comment2); in print_insn_avr()
|
/dports/devel/gnulibiberty/binutils-2.37/opcodes/ |
H A D | avr-dis.c | 313 char op1[20], op2[20], comment1[40], comment2[40]; in print_insn_avr() local 377 comment2[0] = 0; in print_insn_avr() 402 *comment1 ? comment2 : comment1, regs, &sym_op2, &sym_addr2); in print_insn_avr() 412 comment2[0] = 0; in print_insn_avr() 429 if (*comment2) in print_insn_avr() 430 (*prin) (stream, " %s", comment2); in print_insn_avr()
|