Home
last modified time | relevance | path

Searched refs:ringSize (Results 1 – 25 of 119) sorted by relevance

12345

/dports/science/cdk/cdk-cdk-2.3/base/silent/src/main/java/org/openscience/cdk/silent/
H A DRing.java72 public Ring(int ringSize, String elementSymbol) { in Ring() argument
73 this(ringSize); in Ring()
74 super.atomCount = ringSize; in Ring()
75 super.bondCount = ringSize; in Ring()
77 for (int i = 1; i < ringSize; i++) { in Ring()
81 super.bonds[ringSize - 1] = new Bond(atoms[ringSize - 1], atoms[0], IBond.Order.SINGLE); in Ring()
90 public Ring(int ringSize) { in Ring() argument
91 super(ringSize, ringSize, 0, 0); in Ring()
/dports/science/cdk/cdk-cdk-2.3/base/data/src/main/java/org/openscience/cdk/
H A DRing.java72 public Ring(int ringSize, String elementSymbol) { in Ring() argument
73 this(ringSize); in Ring()
74 super.atomCount = ringSize; in Ring()
75 super.bondCount = ringSize; in Ring()
77 for (int i = 1; i < ringSize; i++) { in Ring()
81 super.bonds[ringSize - 1] = new Bond(atoms[ringSize - 1], atoms[0], IBond.Order.SINGLE); in Ring()
90 public Ring(int ringSize) { in Ring() argument
91 super(ringSize, ringSize, 0, 0); in Ring()
/dports/science/cdk/cdk-cdk-2.3/legacy/src/main/java/org/openscience/cdk/isomorphism/matchers/smarts/
H A DSmallestRingAtom.java46 private int ringSize; field in SmallestRingAtom
53 public SmallestRingAtom(int ringSize, IChemObjectBuilder builder) { in SmallestRingAtom() argument
55 this.ringSize = ringSize; in SmallestRingAtom()
61 return ringSize < 0 ? invariants(atom).ringConnectivity() > 0 in matches()
62 : invariants(atom).ringSize().contains(ringSize); in matches()
H A DSMARTSAtomInvariants.java77 private final Set<Integer> ringSize; field in SMARTSAtomInvariants
103 SMARTSAtomInvariants(IAtomContainer target, int valence, int ringNumber, Set<Integer> ringSize, in SMARTSAtomInvariants() argument
108 this.ringSize = ringSize; in SMARTSAtomInvariants()
155 Set<Integer> ringSize() { in ringSize() method in SMARTSAtomInvariants
156 return ringSize; in ringSize()
267 int[] ringSize = new int[nAtoms]; in configureDaylight() local
269 Arrays.fill(ringSize, nAtoms + 1); in configureDaylight()
277 if (size < ringSize[v]) ringSize[v] = size; in configureDaylight()
323ringSize[v] <= nAtoms ? Collections.singleton(ringSize[v]) : Collections.<Integer> emptySet(), in configureDaylight()
/dports/games/flightgear-data/fgdata/Aircraft/Instruments-3d/computing-gun-sights/K14/Nasal/
H A DK14-reticle.nas39 if (elevation + ringSize > topEdge
50 if (elevation - ringSize > topEdge
61 if (elevation + (0.5 * ringSize) > topEdge
62 or (azimuth > 0 and azimuth + (0.866025 * ringSize) > sideEdge)
63 or (azimuth < 0 and azimuth + (0.866025 * ringSize) < -sideEdge))
72 if (elevation + (0.5 * ringSize) > topEdge
83 if (elevation - (0.5 * ringSize) > topEdge
84 or (azimuth > 0 and azimuth + (0.866025 * ringSize) > sideEdge)
94 if (elevation - (0.5 * ringSize) > topEdge
95 or (azimuth < 0 and azimuth - (0.866025 * ringSize) < -sideEdge)
[all …]
/dports/science/v_sim/v_sim-3.8.0/src/extensions/
H A Drings.c288 for (i = 0; i < ringSize-1; i++) in drawRingPlanar()
300 …ryBox[0] == *(boxRing + (ringSize-1)*3) && baryBox[1] == *(boxRing + (ringSize-1)*3 + 1) && baryBo… in drawRingPlanar()
320 for (i = 0; i < ringSize; i++) in computeBaryCenter()
333 *(baryCoord) = sum[0]/ringSize; in computeBaryCenter()
417 *totNbPts = ringSize; in initRing()
420 for (i = 0; i < ringSize-1; i++) in initRing()
431 *(boxChange + 3*(ringSize-1) + j) = *(boxRing + j) - *(boxRing + 3*(ringSize-1) + j); in initRing()
543 for (i = 0; i < ringSize-1; i++) in initDrawCoord()
683 …if ( (*(boxChange + 3*(ringSize-1)) == 0.) && (*(boxChange + 3*(ringSize-1) + 1) == 0.) && (*(boxC… in initDrawCoord()
695 …np = ABS(*(boxChange + 3*(ringSize-1))) + ABS(*(boxChange + 3*(ringSize-1) + 1)) + ABS(*(boxChange… in initDrawCoord()
[all …]
/dports/devel/hyperscan/hyperscan-5.4.0/src/nfa/
H A Drepeat.c96 if (i == ringSize) { in dumpRing()
231 if (begin >= ringSize) { in repeatNextMatchRing()
233 begin -= ringSize; in repeatNextMatchRing()
378 assert(ringSize > 0); in repeatStoreRing()
410 mmbit_unset_range(ring, ringSize, xs->last, MIN(i, ringSize)); in repeatStoreRing()
412 i -= ringSize; in repeatStoreRing()
585 if (i >= ringSize) { in ringHasMatch()
586 i -= ringSize; in ringHasMatch()
596 if (end >= ringSize) { in ringHasMatch()
597 end -= ringSize; in ringHasMatch()
[all …]
/dports/science/gabedit/GabeditSrc251_300720/src/Display/
H A DRingsOrb.c158 rSize = ringSize; in inRing()
168 if ( bonds < ringSize ) in inRing()
299 for(i=0;i<ringSize;i++) in addRing()
307 for(i=0;i<ringSize;i++) in addRing()
319 for(i=0;i<ringSize;i++) in addRing()
718 gint ringSize = 0; in IsoRingsAllGenLists() local
754 if(ringSize<=6) in IsoRingsAllGenLists()
1125 gint ringSize = 0; in computeConformerTypeRing6() local
1221 gint ringSize = 0; in computeConformerTypeRing6MinInfo() local
1547 gint ringSize = 0; in computeConformerTypeRing5() local
[all …]
/dports/science/cdk/cdk-cdk-2.3/legacy/src/test/java/org/openscience/cdk/isomorphism/matchers/smarts/
H A DDaylightSMARTSAtomInvariantsTest.java133 public void ringSize() throws Exception { in ringSize() method in DaylightSMARTSAtomInvariantsTest
134 assertTrue(invariantOfFirstAtom("C").ringSize().isEmpty()); in ringSize()
135 assertThat(invariantOfFirstAtom("C1CC1").ringSize(), hasItem(3)); in ringSize()
136 assertThat(invariantOfFirstAtom("C1CCC1").ringSize(), hasItem(4)); in ringSize()
137 assertThat(invariantOfFirstAtom("C1CCCC1").ringSize(), hasItem(5)); in ringSize()
156 if (inv.ringSize().contains(5)) ringSize5++; in ringSize_imidazole()
157 if (inv.ringSize().contains(6)) ringSize6++; in ringSize_imidazole()
176 assertThat(inv.ringSize(), hasItem(6)); in ringSize_cyclophane()
177 assertThat(inv.ringSize(), not(hasItem(12))); in ringSize_cyclophane()
187 assertTrue(inv.ringSize().isEmpty()); in noRingInfo()
/dports/science/opsin/dan2097-opsin-9b25f7546b67/opsin-core/src/main/java/uk/ac/cam/ch/wwmm/opsin/
H A DFusedRingNumberer.java610 int ringSize =ring.size(); in calculateDistanceBetweenBonds() local
611 int dist = (ringSize + currentBondIndice - previousBondIndice) % ringSize; in calculateDistanceBetweenBonds()
845 else if (dist == ringSize-1) { in getDirectionFromDist()
849 dir = dist - ringSize/2; in getDirectionFromDist()
865 else if(dist < ringSize/2) { in getDirectionFromDist()
1455 if ( (endNumber - startingBondIndex + ringSize) % ringSize != 1) { in orderAtoms()
1457 endNumber = (endNumber - 1 + ringSize ) % ringSize; in orderAtoms()
1459 endNumber += ringSize; in orderAtoms()
1473 if ( ( startingBondIndex - endNumber + ringSize) % ringSize != 1) { in orderAtoms()
1474 startingBondIndex = (startingBondIndex - 2 + ringSize ) % ringSize; in orderAtoms()
[all …]
/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/portaudio/src/hostapi/coreaudio/
H A Dpa_mac_core_utilities.c186 long ringSize; in computeRingBufferSize() local
222 if( ringSize < framesPerBufferTimesChannelCount * 3 ) in computeRingBufferSize()
223 ringSize = framesPerBufferTimesChannelCount * 3 ; in computeRingBufferSize()
225 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
228 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
233 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
236 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
237 ringSize = 0x01 << index ; in computeRingBufferSize()
239 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
241 VDBUG(( "Final Ringbuffer size (2): %d\n", (int)ringSize )); in computeRingBufferSize()
[all …]
/dports/science/cdk/cdk-cdk-2.3/descriptor/signature/src/test/java/org/openscience/cdk/signature/
H A DAbstractSignatureTest.java78 for (int i = 0; i < ringSize; i++) { in addRing()
108 AbstractSignatureTest.addRing(0, ringSize, mol); in makeCycleWheel()
115 AbstractSignatureTest.addCarbons(mol, (ringSize * 2)); in makeSandwich()
117 int center = ringSize * 2; in makeSandwich()
119 for (int i = 0; i < ringSize - 1; i++) { in makeSandwich()
123 mol.addBond(ringSize - 1, 0, IBond.Order.SINGLE); in makeSandwich()
124 mol.addBond(ringSize - 1, center, IBond.Order.SINGLE); in makeSandwich()
127 for (int i = 0; i < ringSize - 1; i++) { in makeSandwich()
128 mol.addBond(i + ringSize, i + ringSize + 1, IBond.Order.SINGLE); in makeSandwich()
129 mol.addBond(i + ringSize, center, IBond.Order.SINGLE); in makeSandwich()
[all …]
H A DMoleculeFromSignatureBuilderTest.java72 public IAtomContainer makeRing(int ringSize) { in makeRing() argument
74 for (int i = 0; i < ringSize; i++) { in makeRing()
80 ring.addBond(0, ringSize - 1, IBond.Order.SINGLE); in makeRing()
84 public void ringTest(int ringSize) { in ringTest() argument
85 IAtomContainer ring = makeRing(ringSize); in ringTest()
88 Assert.assertEquals(ringSize, reconstructedRing.getAtomCount()); in ringTest()
/dports/emulators/mess/mame-mame0226/3rdparty/portaudio/src/hostapi/coreaudio/
H A Dpa_mac_core_utilities.c246 long ringSize; in computeRingBufferSize() local
272 ringSize = (long) ( latency * sampleRate * 2 + .5); in computeRingBufferSize()
274 if( ringSize < framesPerBuffer * 3 ) in computeRingBufferSize()
275 ringSize = framesPerBuffer * 3 ; in computeRingBufferSize()
277 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
280 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
285 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
288 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
289 ringSize = 0x01 << index ; in computeRingBufferSize()
291 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
[all …]
/dports/devel/upp/upp/bazaar/plugin/portaudio/hostapi/coreaudio/
H A Dpa_mac_core_utilities.c246 long ringSize; in computeRingBufferSize() local
272 ringSize = (long) ( latency * sampleRate * 2 + .5); in computeRingBufferSize()
274 if( ringSize < framesPerBuffer * 3 ) in computeRingBufferSize()
275 ringSize = framesPerBuffer * 3 ; in computeRingBufferSize()
277 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
280 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
285 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
288 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
289 ringSize = 0x01 << index ; in computeRingBufferSize()
291 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
[all …]
/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/src/hostapi/coreaudio/
H A Dpa_mac_core_utilities.c246 long ringSize; in computeRingBufferSize() local
272 ringSize = (long) ( latency * sampleRate * 2 + .5); in computeRingBufferSize()
274 if( ringSize < framesPerBuffer * 3 ) in computeRingBufferSize()
275 ringSize = framesPerBuffer * 3 ; in computeRingBufferSize()
277 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
280 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
285 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
288 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
289 ringSize = 0x01 << index ; in computeRingBufferSize()
291 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
[all …]
/dports/audio/portaudio/portaudio/src/hostapi/coreaudio/
H A Dpa_mac_core_utilities.c246 long ringSize; in computeRingBufferSize() local
272 ringSize = (long) ( latency * sampleRate * 2 + .5); in computeRingBufferSize()
274 if( ringSize < framesPerBuffer * 3 ) in computeRingBufferSize()
275 ringSize = framesPerBuffer * 3 ; in computeRingBufferSize()
277 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
280 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
285 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
288 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
289 ringSize = 0x01 << index ; in computeRingBufferSize()
291 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
[all …]
/dports/audio/praat/praat-6.2.03/external/portaudio/
H A Dpa_mac_core_utilities.c246 long ringSize; in computeRingBufferSize() local
272 ringSize = (long) ( latency * sampleRate * 2 + .5); in computeRingBufferSize()
274 if( ringSize < framesPerBuffer * 3 ) in computeRingBufferSize()
275 ringSize = framesPerBuffer * 3 ; in computeRingBufferSize()
277 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
280 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
285 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
288 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
289 ringSize = 0x01 << index ; in computeRingBufferSize()
291 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
[all …]
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/src/hostapi/coreaudio/
H A Dpa_mac_core_utilities.c246 long ringSize; in computeRingBufferSize() local
272 ringSize = (long) ( latency * sampleRate * 2 + .5); in computeRingBufferSize()
274 if( ringSize < framesPerBuffer * 3 ) in computeRingBufferSize()
275 ringSize = framesPerBuffer * 3 ; in computeRingBufferSize()
277 VDBUG(("Ringbuffer size (1): %d\n", (int)ringSize )); in computeRingBufferSize()
280 ringSize = MAX( ringSize, 4 ); in computeRingBufferSize()
285 if( ringSize >> i & 0x01 ) in computeRingBufferSize()
288 if( ringSize <= ( 0x01 << index ) ) in computeRingBufferSize()
289 ringSize = 0x01 << index ; in computeRingBufferSize()
291 ringSize = 0x01 << ( index + 1 ); in computeRingBufferSize()
[all …]
/dports/science/gabedit/GabeditSrc251_300720/src/Geometry/
H A DTreeMolecule.c115 void initTreeMolecule(TreeMolecule* treeMolecule, GeomDef* geom, gint NAtoms, gint ringSize) in initTreeMolecule() argument
119 treeMolecule->ringSize = ringSize; in initTreeMolecule()
137 …else if ( ( currentAtom == rootAtom ) && ( treeMolecule->bonds == treeMolecule->ringSize ) ) retur… in inRingTreeMolecule()
138 …else if ( ( currentAtom == rootAtom ) && ( treeMolecule->bonds > 2 ) && ( treeMolecule->ringSize <… in inRingTreeMolecule()
139 if ( treeMolecule->bonds < treeMolecule->ringSize ) in inRingTreeMolecule()
173 if(treeMolecule->inStack && treeMolecule->ringSize>1) in getRingTreeMolecule()
175 ringAtoms = g_malloc(treeMolecule->ringSize*sizeof(gint)); in getRingTreeMolecule()
182 if(n>=treeMolecule->ringSize) break; in getRingTreeMolecule()
/dports/www/moodle311/moodle/lib/geopattern-php/GeoPattern/
H A DGeoPattern.php548 $strokeWidth = $ringSize / 5;
560 $cx = $x * $ringSize + $x * $strokeWidth + ($ringSize + $strokeWidth) / 2;
561 $cy = $y * $ringSize + $y * $strokeWidth + ($ringSize + $strokeWidth) / 2;
562 $halfRingSize = $ringSize / 2;
593 $strokeWidth = $ringSize / 4;
595 $this->svg->setWidth($ringSize*6)
596 ->setHeight($ringSize*6);
616 … $this->svg->addCircle($x*$ringSize, $y*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
620 … $this->svg->addCircle(6*$ringSize, $y*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
624 … $this->svg->addCircle($x*$ringSize, 6*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
[all …]
/dports/www/moodle310/moodle/lib/geopattern-php/GeoPattern/
H A DGeoPattern.php548 $strokeWidth = $ringSize / 5;
560 $cx = $x * $ringSize + $x * $strokeWidth + ($ringSize + $strokeWidth) / 2;
561 $cy = $y * $ringSize + $y * $strokeWidth + ($ringSize + $strokeWidth) / 2;
562 $halfRingSize = $ringSize / 2;
593 $strokeWidth = $ringSize / 4;
595 $this->svg->setWidth($ringSize*6)
596 ->setHeight($ringSize*6);
616 … $this->svg->addCircle($x*$ringSize, $y*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
620 … $this->svg->addCircle(6*$ringSize, $y*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
624 … $this->svg->addCircle($x*$ringSize, 6*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
[all …]
/dports/www/moodle39/moodle/lib/geopattern-php/GeoPattern/
H A DGeoPattern.php548 $strokeWidth = $ringSize / 5;
560 $cx = $x * $ringSize + $x * $strokeWidth + ($ringSize + $strokeWidth) / 2;
561 $cy = $y * $ringSize + $y * $strokeWidth + ($ringSize + $strokeWidth) / 2;
562 $halfRingSize = $ringSize / 2;
593 $strokeWidth = $ringSize / 4;
595 $this->svg->setWidth($ringSize*6)
596 ->setHeight($ringSize*6);
616 … $this->svg->addCircle($x*$ringSize, $y*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
620 … $this->svg->addCircle(6*$ringSize, $y*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
624 … $this->svg->addCircle($x*$ringSize, 6*$ringSize, $ringSizeMinusHalfStrokeWidth, $styles);
[all …]
/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/effects/touchpoints/
H A Dtouchpoints.h25 Q_PROPERTY(int ringSize READ ringSize)
45 int ringSize() const { in ringSize() function
/dports/science/cdk/cdk-cdk-2.3/base/datadebug/src/main/java/org/openscience/cdk/debug/
H A DDebugRing.java58 public DebugRing(int ringSize, String elementSymbol) { in DebugRing() argument
59 this(ringSize); in DebugRing()
60 super.atomCount = ringSize; in DebugRing()
61 super.bondCount = ringSize; in DebugRing()
63 for (int i = 1; i < ringSize; i++) { in DebugRing()
67 super.bonds[ringSize - 1] = new Bond(atoms[ringSize - 1], atoms[0], IBond.Order.SINGLE); in DebugRing()
70 public DebugRing(int ringSize) { in DebugRing() argument
71 super(ringSize); in DebugRing()

12345