Home
last modified time | relevance | path

Searched refs:other_site (Results 1 – 19 of 19) sorted by relevance

/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/core/tests/
H A Dtest_sites.py119 other_site = PeriodicSite("Fe", np.array([0, 0, 0]), self.lattice)
120 self.assertAlmostEqual(self.site.distance(other_site), 6.22494979899, 5)
127 other_site = PeriodicSite("Fe", np.array([1, 1, 1]), self.lattice)
128 (distance, image) = self.site.distance_and_image(other_site)
131 (distance, image) = self.site.distance_and_image(other_site, [1, 0, 0])
182 other_site = PeriodicSite("Fe", np.array([1, 1, 1]), self.lattice)
184 self.assertFalse(other_site.__eq__(self.site))
186 self.assertTrue(other_site.__ne__(self.site))
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/contrib/settings/tests/
H A Dtest_templates.py37 request = self.get_request(site=self.other_site)
88 request = self.get_request(site=self.other_site)
103 request = self.get_request(site=self.other_site)
146 request = self.get_request(site=self.other_site)
210 context = {'site': self.other_site}
251 request = self.get_request(site=self.other_site)
H A Dtest_admin.py156 … self.other_site = Site.objects.create(hostname='example.com', root_page=Page.objects.get(pk=2))
178 'tests', 'testsetting', self.other_site.pk])
179 response = self.client.get(start_url, follow=True, HTTP_HOST=self.other_site.hostname)
217 site=self.other_site)
218 response = self.post(site_pk=self.other_site.pk, post_data={
223 other_setting = TestSetting.for_site(self.other_site)
H A Dbase.py20 self.other_site = Site.objects.create(hostname='other', root_page=other_home)
24 site=self.other_site)
H A Dtest_model.py15 (self.other_site, self.other_site_settings),
25 other_site_request = self.get_request(site=self.other_site)
58 privacy_policy_page=self.other_site.root_page,
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Libraries.ocd/Constructor.ocd/ConstructionPreviewer.ocd/
H A DScript.c84 for (var other_site in FindObjects(Find_ID(ConstructionSite))) in AdjustPreview()
86other_site->GetLeftEdge() > GetX()+dimension_x/2 || other_site->GetRightEdge() < GetX()-dimension_… in AdjustPreview()
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Libraries.ocd/Constructor.ocd/
H A DScript.c148 for (var other_site in FindObjects(Find_ID(ConstructionSite))) in CreateConstructionSite()
150 if (!(other_site->GetLeftEdge() > GetX()+x+structure_id->GetDefWidth()/2 || in CreateConstructionSite()
151 other_site->GetRightEdge() < GetX()+x-structure_id->GetDefWidth()/2 || in CreateConstructionSite()
152 other_site->GetTopEdge() > GetY()+y+structure_id->GetDefHeight()/2 || in CreateConstructionSite()
153 other_site->GetBottomEdge() < GetY()+y-structure_id->GetDefHeight()/2 )) in CreateConstructionSite()
155 …CustomMessage(Format("$TxtBlocked$", other_site->GetName()), this, clonk->GetOwner(), nil, nil, RG… in CreateConstructionSite()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/public/cpp/
H A Dinitiator_lock_compatibility_unittest.cc34 url::Origin other_site = url::Origin::Create(GURL("http://other.com")); in TEST() local
56 VerifyRequestInitiatorLock(bar_foo_example_com, other_site)); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/public/cpp/
H A Dinitiator_lock_compatibility_unittest.cc34 url::Origin other_site = url::Origin::Create(GURL("http://other.com")); in TEST() local
56 VerifyRequestInitiatorLock(bar_foo_example_com, other_site)); in TEST()
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/contrib/redirects/tests/
H A Dtest_redirects.py167other_site = Site.objects.create(hostname='other.example.com', port=80, root_page=contact_page)
170 … models.Redirect.objects.create(old_path='/xmas', redirect_page=christmas_page, site=other_site)
479other_site = Site.objects.create(hostname='other.example.com', port=80, root_page=contact_page)
484 'site': other_site.pk,
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_file/
H A Dfile_ops.c611 const int other_site, in file_walk_select_selection_set() argument
634 deselect = (fill || other_site == -1 || in file_walk_select_selection_set()
635 !filelist_entry_select_index_get(files, other_site, CHECK_ALL)); in file_walk_select_selection_set()
736 int other_site = -1; /* file on the other site of active_old */ in file_walk_select_do() local
752 other_site = active_old + 1; in file_walk_select_do()
757 other_site = active_old - 1; in file_walk_select_do()
762 other_site = active_old + idx_shift; in file_walk_select_do()
768 other_site = active_old - idx_shift; in file_walk_select_do()
786 if (!IN_RANGE(other_site, 0, numfiles)) { in file_walk_select_do()
787 other_site = -1; in file_walk_select_do()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Revoropt/include/Revoropt/RVD/
H A Dnn_clipper.hpp586 const unsigned int other_site = polygon[i].combinatorics ; in clip_by_plane() local
589 site, opposite_site, other_site, in clip_by_plane()
/dports/math/cgal/CGAL-5.3/include/CGAL/Segment_Delaunay_graph_2/
H A DVoronoi_vertex_sqrt_field_C2.h834 Site_2 other_site(const Site_2& p, const Site_2& seg) const in other_site() function
882 Site_2 p2 = other_site(*p1, t); in incircle_s()
910 Site_2 tp = other_site(*p2, t); in incircle_s()
932 Site_2 tp = other_site(*pt, t); in incircle_s()
H A DVoronoi_vertex_sqrt_field_new_C2.h96 Site_2 other_site(const Site_2& sp, const Site_2& seg) const in other_site() function
987 Point_2 p2 = other_site(*pp1, t).point(); in incircle_s()
1028 Point_2 p1 = other_site(*pp2, t).point(); in incircle_s()
1099 Point_2 p2 = other_site(p, t).point(); in incircle_s()
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/analysis/
H A Dlocal_env.py838 other_site = nn[0] if nn[1] == site_idx else nn[1]
867 face_dist = np.linalg.norm(center_coords - sites[other_site].coords) / 2
873 normal = np.subtract(sites[other_site].coords, center_coords)
877 results[other_site] = {
878 "site": sites[other_site],
889 results[other_site]["verts"] = vind
/dports/databases/db18/db-18.1.40/src/repmgr/
H A Drepmgr_util.c1528 REPMGR_SITE *other_site; local
1539 other_site = SITE_FROM_EID(1);
1540 if (other_site->state == SITE_CONNECTED)
1543 if ((conn = other_site->ref.conn.in) != NULL &&
1546 if ((conn = other_site->ref.conn.out) != NULL &&
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/
H A Drestricted_cookie_manager_unittest.cc588 GURL other_site("https://not-example.com"); in TEST_P() local
590 other_site, "cookie=foo;domain=not-example.com", base::Time::Now(), in TEST_P()
/dports/math/cgal/CGAL-5.3/include/CGAL/Segment_Delaunay_graph_Linf_2/
H A DBasic_predicates_C2.h1731 p_before_s ? p.point() : other_site(p, s).point(), in orient_line_endp()
1732 p_before_s ? other_site(p, s).point() : p.point() ); in orient_line_endp()
1753 const Site_2 other_site(const Site_2& p, const Site_2& seg) in other_site() function
/dports/science/py-pymatgen/pymatgen-2022.0.15/pymatgen/io/qchem/
H A Doutputs.py1416 distances = [[kk, site.distance(other_site)] for kk, other_site in enumerate(mol)]