/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/SelfTest/Util/ |
H A D | test_strxor.py | 57 self.assertEqual(strxor(term1, term1), all_zeros) 85 original_term1 = term1[:] 122 result = strxor(term1, term2, output=term1) 136 result = strxor(term1, term2, output=term1) 148 self.assertRaises(TypeError, strxor, term1, term2, output=term1) 156 self.assertRaises(TypeError, strxor, term1, term2, output=term1) 177 self.assertEqual(strxor_c(term1, 0), term1) 231 result = strxor_c(term1, 65, output=term1) 242 result = strxor_c(term1, 65, output=term1) 252 self.assertRaises(TypeError, strxor_c, term1, 65, output=term1) [all …]
|
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/SelfTest/Util/ |
H A D | test_strxor.py | 57 self.assertEqual(strxor(term1, term1), all_zeros) 85 original_term1 = term1[:] 122 result = strxor(term1, term2, output=term1) 136 result = strxor(term1, term2, output=term1) 148 self.assertRaises(TypeError, strxor, term1, term2, output=term1) 156 self.assertRaises(TypeError, strxor, term1, term2, output=term1) 177 self.assertEqual(strxor_c(term1, 0), term1) 231 result = strxor_c(term1, 65, output=term1) 242 result = strxor_c(term1, 65, output=term1) 252 self.assertRaises(TypeError, strxor_c, term1, 65, output=term1) [all …]
|
/dports/archivers/arj/arj-3.10.22/ |
H A D | arjsec_l.c | 96 term3^=arjsec_seeds[term1]%16; in arjsec_term() 97 if(term1>=8&&term1<=11) in arjsec_term() 98 term1%=8; in arjsec_term() 99 if(term1==term2) in arjsec_term() 101 if(term1==term3) in arjsec_term() 112 exchange[term1]=exchange[term1]<<(term2*2+term3%2)|exchange[term1]>>(32-(term2*2+term3%2)); in arjsec_term() 115 exchange[term1]=crc32_for_char(exchange[term1], (unsigned char)(exchange[term2]>>0)); in arjsec_term() 116 exchange[term1]=crc32_for_char(exchange[term1], (unsigned char)(exchange[term2]>>8)); in arjsec_term() 117 exchange[term1]=crc32_for_char(exchange[term1], (unsigned char)(exchange[term2]>>16)); in arjsec_term() 118 exchange[term1]=crc32_for_char(exchange[term1], (unsigned char)(exchange[term2]>>24)); in arjsec_term() [all …]
|
/dports/graphics/xfig/xfig-3.2.8a/src/ |
H A D | u_quartic.c | 129 term1 = (cb/3.0); in cubic() 136 zr[0] = -term1 + s + t; in cubic() 137 term1 += (s + t)/2.0; in cubic() 138 zr[2] = zr[1] = -term1; in cubic() 140 zi[1] = term1; in cubic() 141 zi[2] = -term1; in cubic() 150 zr[0] = -term1 + 2.0*r13; in cubic() 208 term1 = (cl/3.0); in quartic() 215 y1 = -term1 + s + t; in quartic() 220 y1 = -term1 + 2.0*r13; in quartic() [all …]
|
/dports/textproc/clucene/clucene-core-2.3.3.4/src/test/search/spans/ |
H A D | TestBasics.cpp | 102 query->add( term1 ); in testPhrase() 105 _CLLDECDELETE( term1 ); in testPhrase() 118 query->add( term1 ); in testPhrase2() 121 _CLLDECDELETE( term1 ); in testPhrase2() 139 _CLLDECDELETE( term1 ); in testBoolean() 155 _CLLDECDELETE( term1 ); in testBoolean2() 187 _CLLDECDELETE( term1 ); in testSpanNearExact() 204 _CLLDECDELETE( term1 ); in testSpanNearUnordered() 223 _CLLDECDELETE( term1 ); in testSpanNearOrdered() 245 _CLLDECDELETE( term1 ); in testSpanNot() [all …]
|
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/lib/Crypto/Util/ |
H A D | strxor.py | 47 def strxor(term1, term2, output=None): argument 63 if len(term1) != len(term2): 67 result = create_string_buffer(len(term1)) 75 if len(term1) != len(output): 77 " (%d bytes)" % len(term1)) 79 _raw_strxor.strxor(c_uint8_ptr(term1), 82 c_size_t(len(term1))) 134 def _strxor_direct(term1, term2, result): argument 136 _raw_strxor.strxor(term1, term2, result, c_size_t(len(term1)))
|
/dports/security/py-pycryptodome/pycryptodome-3.10.1/lib/Crypto/Util/ |
H A D | strxor.py | 47 def strxor(term1, term2, output=None): argument 63 if len(term1) != len(term2): 67 result = create_string_buffer(len(term1)) 75 if len(term1) != len(output): 77 " (%d bytes)" % len(term1)) 79 _raw_strxor.strxor(c_uint8_ptr(term1), 82 c_size_t(len(term1))) 134 def _strxor_direct(term1, term2, result): argument 136 _raw_strxor.strxor(term1, term2, result, c_size_t(len(term1)))
|
/dports/security/py-pycryptodome/pycryptodome-3.10.1/src/test/ |
H A D | make_tests_poly1305_accumulate.py | 10 def make_test(term1, term2): argument 12 assert term1 < 2**(32*5) 15 t1_split = split32(term1, 5) 17 res_split = split32(term1 + term2, 5) 49 term1 = term2 = 0 variable 51 term1 = (term1 << 32) + struct.unpack('<I', prng1[piece*4:(piece+1)*4])[0] variable 53 if term1 + term2 >= 2**(32*5): 55 make_test(term1, term2)
|
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/src/test/ |
H A D | make_tests_poly1305_accumulate.py | 10 def make_test(term1, term2): 12 assert term1 < 2**(32*5) 15 t1_split = split32(term1, 5) 17 res_split = split32(term1 + term2, 5) 49 term1 = term2 = 0 51 term1 = (term1 << 32) + struct.unpack('<I', prng1[piece*4:(piece+1)*4])[0] 53 if term1 + term2 >= 2**(32*5): 55 make_test(term1, term2)
|
/dports/www/drupal8/drupal-8.9.20/core/modules/taxonomy/tests/src/Functional/Views/ |
H A D | TaxonomyFieldAllTermsTest.php | 31 $this->term1->setName('<em>Markup</em>')->save(); 36 $actual = $this->xpath('//a[@href="' . $this->term1->toUrl()->toString() . '"]'); 38 $this->assertEqual($actual[0]->getText(), $this->term1->label()); 39 $this->assertEqual($actual[1]->getText(), $this->term1->label()); 40 $this->assertEscaped($this->term1->label()); 56 $this->assertText('Term: ' . $this->term1->getName()); 59 $this->assertText('The taxonomy term ID for the term: ' . $this->term1->id()); 62 $this->assertText('The taxonomy term name for the term: ' . $this->term1->getName()); 65 …$this->assertText('The machine name for the vocabulary the term belongs to: ' . $this->term1->bund… 68 $vocabulary = Vocabulary::load($this->term1->bundle());
|
/dports/www/drupal9/drupal-9.2.10/core/modules/taxonomy/tests/src/Functional/Views/ |
H A D | TaxonomyFieldAllTermsTest.php | 31 $this->term1->setName('<em>Markup</em>')->save(); 37 $xpath = '//a[@href="' . $this->term1->toUrl()->toString() . '"]'; 40 $this->assertEquals($this->term1->label(), $links[0]->getText()); 41 $this->assertEquals($this->term1->label(), $links[1]->getText()); 42 $this->assertSession()->assertEscaped($this->term1->label()); 60 $this->assertSession()->pageTextContains('Term: ' . $this->term1->getName()); 63 …$this->assertSession()->pageTextContains('The taxonomy term ID for the term: ' . $this->term1->id(… 66 …$this->assertSession()->pageTextContains('The taxonomy term name for the term: ' . $this->term1->g… 69 …TextContains('The machine name for the vocabulary the term belongs to: ' . $this->term1->bundle()); 72 $vocabulary = Vocabulary::load($this->term1->bundle());
|
/dports/science/py-scikit-fuzzy/scikit-fuzzy-0.4.2/skfuzzy/control/ |
H A D | term.py | 141 term1 = self.agg.term1.membership_value[key] 146 return self.agg.agg_methods.and_func(term1, term2) 148 return self.agg.agg_methods.or_func(term1, term2) 150 return 1. - self.agg.term1.membership_value[key] 161 def __init__(self, term1, term2, kind): argument 162 assert isinstance(term1, TermPrimitive) 170 self.term1 = term1 184 return "NOT-%s" % _term_to_str(self.term1) 186 return "%s %s %s" % (_term_to_str(self.term1), self.kind.upper(), 200 for term in (self.term1, self.term2):
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/fistr1/src/analysis/heat/ |
H A D | heat_mat_ass_bc_FILM.f90 | 29 real(kind=kreal) :: term1(64), term2(20), stiff(8,8) local 64 call heat_FILM_231(nn,xx,yy,zz,thick,isuf,HH,SINK,mm,term1,term2,nsuf) 82 call heat_FILM_341(nn,xx,yy,zz,isuf,HH,SINK,mm,term1,term2,nsuf) 85 call heat_FILM_342(nn,xx,yy,zz,isuf,HH,SINK,mm,term1,term2,nsuf) 89 call heat_FILM_351(nn,xx,yy,zz,isuf,HH,SINK,mm,term1,term2,nsuf) 93 call heat_FILM_352(nn,xx,yy,zz,isuf,HH,SINK,mm,term1,term2,nsuf) 96 call heat_FILM_361(nn,xx,yy,zz,isuf,HH,SINK,mm,term1,term2,nsuf) 99 call heat_FILM_362(nn,xx,yy,zz,isuf,HH,SINK,mm,term1,term2,nsuf) 102 call heat_FILM_731(nn,xx,yy,zz,HH,SINK,term1,term2) 109 call heat_FILM_741(nn,xx,yy,zz,HH,SINK,term1,term2) [all …]
|
H A D | heat_mat_ass_bc_RADIATE.f90 | 29 real(kind=kreal) :: term1(64), term2(20), stiff(8,8) local 61 call heat_RADIATE_231(nn,xx,yy,zz,thick,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 79 call heat_RADIATE_341(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 82 call heat_RADIATE_342(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 86 call heat_RADIATE_351(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 90 call heat_RADIATE_352(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 93 call heat_RADIATE_361(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 96 call heat_RADIATE_362(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,mm,term1,term2,nsuf) 98 call heat_RADIATE_731(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,term1,term2) 104 call heat_RADIATE_741(nn,xx,yy,zz,tt,isuf,RR,SINK,TZERO,term1,term2) [all …]
|
/dports/devel/ftnchek/ftnchek-3.3.1/ |
H A D | exprtype.c | 223 size1 = term1->size, 230 syntax_error(term1->line_num,term1->col_num, 232 report_type(term1); 604 term1:term2); 612 use_variable(term1); 690 syntax_error(term1->line_num,term1->col_num, 692 report_type(term1); 731 report_type(term1); 740 report_type(term1); 761 use_variable(term1); [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwpw/gw/Transfer/ |
H A D | tetint.f90 | 390 ll000=de1*term1**3+1.5d0*de1**2*term1**2+de1**3*term1+de1**4/4.d0 394 ll000=de1*term1**3+1.5d0*de1**2*term1**2+de1**3*term1+de1**4/4.d0 398 ll000=de1*term1**3+1.5d0*de1**2*term1**2+de1**3*term1+de1**4/4.d0 610 dq(:,1) = term1*xk(:,2) 620 qp(:,1) = term1*xk(:,2) 622 qp(:,2) = term1*xk(:,3) 624 qp(:,3) = term1*xk(:,4) 673 qq(:,2) = term1*xk(:,3) 675 qq(:,3) = term1*xk(:,4) 680 qp(:,3) = term1*xk(:,4) [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwpw/gw/Transfer/ |
H A D | tetint.f90 | 390 ll000=de1*term1**3+1.5d0*de1**2*term1**2+de1**3*term1+de1**4/4.d0 394 ll000=de1*term1**3+1.5d0*de1**2*term1**2+de1**3*term1+de1**4/4.d0 398 ll000=de1*term1**3+1.5d0*de1**2*term1**2+de1**3*term1+de1**4/4.d0 610 dq(:,1) = term1*xk(:,2) 620 qp(:,1) = term1*xk(:,2) 622 qp(:,2) = term1*xk(:,3) 624 qp(:,3) = term1*xk(:,4) 673 qq(:,2) = term1*xk(:,3) 675 qq(:,3) = term1*xk(:,4) 680 qp(:,3) = term1*xk(:,4) [all …]
|
/dports/textproc/luceneplusplus/LucenePlusPlus-rel_3.0.8/src/test/search/spans/ |
H A D | BasicSpansTest.cpp | 140 QueryUtils::check(term1); in TEST_F() 142 QueryUtils::checkUnequal(term1, term2); in TEST_F() 146 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"nine")); in TEST_F() local 155 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"nine")); in TEST_F() local 164 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"eight")); in TEST_F() local 179 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"eight")); in TEST_F() local 247 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"five")); in TEST_F() local 248 SpanFirstQueryPtr query = newLucene<SpanFirstQuery>(term1, 1); in TEST_F() 302 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"six")); in TEST_F() local 323 SpanTermQueryPtr term1 = newLucene<SpanTermQuery>(newLucene<Term>(L"field", L"six")); in TEST_F() local [all …]
|
/dports/math/SCIP/scip-7.0.3/interfaces/gams/src/ |
H A D | reader_gmo.c | 274 if( term1 != NULL && SCIPexprGetOperator(term1) == SCIP_EXPR_CONST ) in exprAdd() 328 if( term1 == NULL ) in exprAdd() 330 term1 = term2; in exprAdd() 342 *expr = term1; in exprAdd() 354 *expr = term1; in exprAdd() 368 *expr = term1; in exprAdd() 381 term2 = term1; in exprAdd() 383 term1 = tmp; in exprAdd() 393 *expr = term1; in exprAdd() 405 children[0] = term1; in exprAdd() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/unittest/gunit/ |
H A D | table_factor_syntax-t.cc | 48 EXPECT_EQ(nullptr, term1->first_inner_unit()); in test_table_factor_syntax() 49 EXPECT_EQ(nullptr, term1->next_select_in_list()); in test_table_factor_syntax() 50 EXPECT_EQ(1, term1->get_fields_list()->head()->val_int()); in test_table_factor_syntax() 52 SELECT_LEX_UNIT *top_union = term1->master_unit(); in test_table_factor_syntax() 56 SELECT_LEX *term2 = term1->next_select(); in test_table_factor_syntax() 60 EXPECT_EQ(term1, term2->next_select_in_list()); in test_table_factor_syntax() 184 SELECT_LEX *term1 = in TEST_F() local 190 SELECT_LEX_UNIT *top_union = term1->master_unit(); in TEST_F() 193 EXPECT_EQ(term1, top_union->first_select()); in TEST_F() 196 EXPECT_EQ(4U, term1->table_list.elements); in TEST_F() [all …]
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/ext_texture_env_combine/ |
H A D | combine.c | 573 term1[0] = color_src1[0]; in compute_tex_combine() 574 term1[1] = color_src1[1]; in compute_tex_combine() 575 term1[2] = color_src1[2]; in compute_tex_combine() 578 term1[0] = 1.0 - color_src1[0]; in compute_tex_combine() 579 term1[1] = 1.0 - color_src1[1]; in compute_tex_combine() 580 term1[2] = 1.0 - color_src1[2]; in compute_tex_combine() 583 term1[0] = color_src1[3]; in compute_tex_combine() 584 term1[1] = color_src1[3]; in compute_tex_combine() 585 term1[2] = color_src1[3]; in compute_tex_combine() 588 term1[0] = 1.0 - color_src1[3]; in compute_tex_combine() [all …]
|
/dports/www/drupal8/drupal-8.9.20/core/modules/taxonomy/tests/src/Functional/ |
H A D | TermTest.php | 99 $term1 = $this->createTerm($this->vocabulary); 111 $edit['parent[]'] = [$term1->id()]; 115 $children = $taxonomy_storage->loadChildren($term1->id()); 128 $term2->parent = [$term1->id(), $term3->id()]; 140 $term1 = $this->createTerm($this->vocabulary); 154 $edit['parent'] = $term1->id(); 194 $term1 = $this->createTerm($this->vocabulary); 201 $edit[$this->field->getName() . '[]'] = $term1->id(); 428 'terms[tid:' . $term1->id() . ':0][term][tid]' => $term1->id(), 430 'terms[tid:' . $term1->id() . ':0][term][depth]' => 0, [all …]
|
H A D | TokenReplaceTest.php | 75 $term1 = $this->createTerm($this->vocabulary); 81 $edit['parent[]'] = [$term1->id()]; 92 $tests['[term:tid]'] = $term1->id(); 93 $tests['[term:name]'] = $term1->getName(); 94 $tests['[term:description]'] = $term1->description->processed; 95 $tests['[term:url]'] = $term1->toUrl('canonical', ['absolute' => TRUE])->toString(); 101 $base_bubbleable_metadata = BubbleableMetadata::createFromObject($term1); 116 …$output = $token_service->replace($input, ['term' => $term1], ['langcode' => $language_interface->… 128 $tests['[term:parent:name]'] = $term1->getName(); 129 $tests['[term:parent:url]'] = $term1->toUrl('canonical', ['absolute' => TRUE])->toString();
|
/dports/www/drupal9/drupal-9.2.10/core/modules/taxonomy/tests/src/Functional/ |
H A D | TermTest.php | 98 $term1 = $this->createTerm($this->vocabulary); 110 $edit['parent[]'] = [$term1->id()]; 115 $children = $taxonomy_storage->loadChildren($term1->id()); 128 $term2->parent = [$term1->id(), $term3->id()]; 131 $this->assertArrayHasKey($term1->id(), $parents); 141 $term1 = $this->createTerm($this->vocabulary); 155 $edit['parent'] = $term1->id(); 196 $term1 = $this->createTerm($this->vocabulary); 203 $edit[$this->field->getName() . '[]'] = $term1->id(); 441 'terms[tid:' . $term1->id() . ':0][term][tid]' => $term1->id(), [all …]
|
/dports/math/gsl/gsl-2.7/multifit_nlinear/ |
H A D | test_meyerscal.c | 66 double term1 = ti + x3; in meyerscal_df() local 67 double term2 = exp(10.0*x2/term1 - 13.0); in meyerscal_df() 70 gsl_matrix_set(J, i, 1, 10.0*x1*term2/term1); in meyerscal_df() 71 gsl_matrix_set(J, i, 2, -10.0*x1*x2*term2/(term1*term1)); in meyerscal_df() 94 double term1 = ti + x3; in meyerscal_fvv() local 95 double term2 = exp(10.0*x2/term1 - 13.0); in meyerscal_fvv() 96 double term3 = v2*term1 - v3*x2; in meyerscal_fvv() 102 gsl_vector_set(fvv, i, 20*term2*term3*term4 / pow(term1, 4.0)); in meyerscal_fvv()
|