Home
last modified time | relevance | path

Searched refs:fromRank (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DVirtualBoard.java1208 if (move.fromRank() == m.fromRank()) in algebraic()
1319 int fromRank = -1; in makeMove() local
1346 } else if (fromRank == -1) { in makeMove()
1360 for (int from = fromRank * 8; from < (fromRank * 8) + 8; from++) { in makeMove()
2372 if (fromRank < 0 in mightBePossibleMove()
2374 || fromRank > 7 in mightBePossibleMove()
2424 && (fromRank) != (toRank) in BNmightMove()
2451 || ((fromRank) == 6 in BPmightMove()
2546 || ((fromRank) == 1 in WPmightMove()
2587 int rdiff = (toRank >= fromRank) ? ((toRank > fromRank) ? 1 : 0) : -1; in checkLineOfSight()
[all …]
H A DMove.java100 public int fromRank() { in fromRank() method in Move
204 public Move(int fromRank, int fromFile, int toRank, int toFile) { in Move() argument
205 from = (int) ((fromRank << 3) + fromFile); in Move()
H A DVisualBoard.java453 … background[move.fromRank()][7 - move.fromFile()].setBackground(jcb.settings.boardHighlightColor);
456 … background[7 - move.fromRank()][move.fromFile()].setBackground(jcb.settings.boardHighlightColor);
/dports/science/axom/axom-0.6.1/src/axom/sidre/examples/lulesh2/
H A Dlulesh-comm.cc113 int fromRank = myRank - domain.tp()*domain.tp() ; in CommRecv() local
116 recvCount, baseType, fromRank, msgType, in CommRecv()
122 int fromRank = myRank + domain.tp()*domain.tp() ; in CommRecv() local
131 int fromRank = myRank - domain.tp() ; in CommRecv() local
140 int fromRank = myRank + domain.tp() ; in CommRecv() local
149 int fromRank = myRank - 1 ; in CommRecv() local
158 int fromRank = myRank + 1 ; in CommRecv() local
169 int fromRank = myRank - domain.tp() - 1 ; in CommRecv() local
196 int fromRank = myRank + domain.tp() + 1 ; in CommRecv() local
223 int fromRank = myRank + domain.tp() - 1 ; in CommRecv() local
[all …]
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/lulesh2.0.3/
H A Dlulesh-comm.cpp165 recvCount, baseType, fromRank, msgType, in CommRecv()
175 recvCount, baseType, fromRank, msgType, in CommRecv()
182 int fromRank = myRank - domain.tp(); in CommRecv() local
185 recvCount, baseType, fromRank, msgType, in CommRecv()
192 int fromRank = myRank + domain.tp(); in CommRecv() local
195 recvCount, baseType, fromRank, msgType, in CommRecv()
202 int fromRank = myRank - 1; in CommRecv() local
212 int fromRank = myRank + 1; in CommRecv() local
225 int fromRank = myRank - domain.tp() - 1; in CommRecv() local
255 int fromRank = myRank + domain.tp() + 1; in CommRecv() local
[all …]
/dports/science/axom/axom-0.6.1/src/axom/slam/examples/lulesh2.0.3_orig/
H A Dlulesh-comm.cc108 int fromRank = myRank - domain.tp()*domain.tp() ; in CommRecv() local
111 recvCount, baseType, fromRank, msgType, in CommRecv()
117 int fromRank = myRank + domain.tp()*domain.tp() ; in CommRecv() local
126 int fromRank = myRank - domain.tp() ; in CommRecv() local
135 int fromRank = myRank + domain.tp() ; in CommRecv() local
144 int fromRank = myRank - 1 ; in CommRecv() local
153 int fromRank = myRank + 1 ; in CommRecv() local
164 int fromRank = myRank - domain.tp() - 1 ; in CommRecv() local
191 int fromRank = myRank + domain.tp() + 1 ; in CommRecv() local
218 int fromRank = myRank + domain.tp() - 1 ; in CommRecv() local
[all …]
/dports/science/ascent/ascent-0.7.1-66-gbcf2742a/src/examples/proxies/lulesh2.0.3/
H A Dlulesh-comm.cc108 int fromRank = myRank - domain.tp()*domain.tp() ; in CommRecv() local
111 recvCount, baseType, fromRank, msgType, in CommRecv()
117 int fromRank = myRank + domain.tp()*domain.tp() ; in CommRecv() local
126 int fromRank = myRank - domain.tp() ; in CommRecv() local
135 int fromRank = myRank + domain.tp() ; in CommRecv() local
144 int fromRank = myRank - 1 ; in CommRecv() local
153 int fromRank = myRank + 1 ; in CommRecv() local
164 int fromRank = myRank - domain.tp() - 1 ; in CommRecv() local
191 int fromRank = myRank + domain.tp() + 1 ; in CommRecv() local
218 int fromRank = myRank + domain.tp() - 1 ; in CommRecv() local
[all …]
/dports/math/vtk8/VTK-8.2.0/Filters/ParallelMPI/
H A DvtkStructuredImplicitConnectivity.cxx680 unsigned char* GetRcvBuffer(const int fromRank);
681 unsigned int GetRcvBufferSize(const int fromRank);
683 void EnqueueRcv(const int fromRank);
727 return( this->Rcv[ fromRank ] ); in GetRcvBuffer()
735 return( this->RcvByteSize[ fromRank ] ); in GetRcvBufferSize()
750 this->Rcv[ fromRank ] = nullptr; in EnqueueRcv()
751 this->RcvByteSize[ fromRank ] = 0; in EnqueueRcv()
777 int fromRank = it->first; in AllocateRcvBuffers() local
803 int fromRank = bufferIter->first; in AllocateRcvBuffers() local
805 this->Rcv[ fromRank ] = new unsigned char[ this->RcvByteSize[fromRank] ]; in AllocateRcvBuffers()
[all …]
/dports/math/vtk9/VTK-9.1.0/Filters/ParallelMPI/
H A DvtkStructuredImplicitConnectivity.cxx662 unsigned char* GetRcvBuffer(int fromRank);
663 unsigned int GetRcvBufferSize(int fromRank);
665 void EnqueueRcv(int fromRank);
709 return (this->Rcv[fromRank]); in GetRcvBuffer()
717 return (this->RcvByteSize[fromRank]); in GetRcvBufferSize()
732 this->Rcv[fromRank] = nullptr; in EnqueueRcv()
733 this->RcvByteSize[fromRank] = 0; in EnqueueRcv()
758 int fromRank = it->first; in AllocateRcvBuffers() local
784 int fromRank = bufferIter->first; in AllocateRcvBuffers() local
786 this->Rcv[fromRank] = new unsigned char[this->RcvByteSize[fromRank]]; in AllocateRcvBuffers()
[all …]
/dports/math/vtk6/VTK-6.2.0/Filters/ParallelMPI/
H A DvtkStructuredImplicitConnectivity.cxx680 unsigned char* GetRcvBuffer(const int fromRank);
681 unsigned int GetRcvBufferSize(const int fromRank);
683 void EnqueueRcv(const int fromRank);
727 return( this->Rcv[ fromRank ] ); in GetRcvBuffer()
735 return( this->RcvByteSize[ fromRank ] ); in GetRcvBufferSize()
750 this->Rcv[ fromRank ] = NULL; in EnqueueRcv()
751 this->RcvByteSize[ fromRank ] = 0; in EnqueueRcv()
777 int fromRank = it->first; in AllocateRcvBuffers() local
803 int fromRank = bufferIter->first; in AllocateRcvBuffers() local
805 this->Rcv[ fromRank ] = new unsigned char[ this->RcvByteSize[fromRank] ]; in AllocateRcvBuffers()
[all …]
/dports/games/chessx/chessx-1.5.6/dep/scid/code/src/
H A Dfullmove.h86 bool fromRank = (m_ >> 29) & 1; variable
100 if (fromRank) res += '1' + (from / 8);
H A Dcommon.h564 rankT fromRank = square_Rank(from); in square_Adjacent() local
566 int rdist = (int)fromRank - (int)toRank; in square_Adjacent()
H A Dposition.cpp1440 rankT fromRank = square_Rank(sm->from); in IsKingInCheck() local
1442 if (fromRank == capturedRank) { return IsKingInCheck(); } in IsKingInCheck()
1700 rankT fromRank = square_Rank(from); in DoSimpleMove() local
1702 if (fromRank == RANK_2 && toRank == RANK_4 in DoSimpleMove()
1707 if (fromRank == RANK_7 && toRank == RANK_5 in DoSimpleMove()
2055 rankT fromRank, toRank; in ReadCoordMove() local
2064 fromRank = rank_FromChar (str[1]); in ReadCoordMove()
2065 from = square_Make (fromFyle, fromRank); in ReadCoordMove()
/dports/games/scid/scid/src/
H A Dfullmove.h86 bool fromRank = (m_ >> 29) & 1; variable
100 if (fromRank) res += '1' + (from / 8);
H A Dcommon.h680 rankT fromRank = square_Rank(from); in square_Adjacent() local
682 int rdist = (int)fromRank - (int)toRank; in square_Adjacent()
H A Dposition.cpp1433 rankT fromRank = square_Rank(sm->from); in IsKingInCheck() local
1435 if (fromRank == capturedRank) { return IsKingInCheck(); } in IsKingInCheck()
1696 rankT fromRank = square_Rank(from); in DoSimpleMove() local
1698 if (fromRank == RANK_2 && toRank == RANK_4 in DoSimpleMove()
1703 if (fromRank == RANK_7 && toRank == RANK_5 in DoSimpleMove()
2085 rankT fromRank, toRank; in ReadCoordMove() local
2094 fromRank = rank_FromChar (str[1]); in ReadCoordMove()
2095 from = square_Make (fromFyle, fromRank); in ReadCoordMove()
/dports/math/vtk9/VTK-9.1.0/Filters/ParallelGeometry/
H A DvtkPConnectivityFilter.cxx332 int fromRank = iter->first; in operator ()() local
339 (*this->PointsFromMyNeighbors)[fromRank].TakeReference(pfmn); in operator ()()
340 this->SubController->NoBlockReceive(pfmn->GetPointer(0), 3 * numFromRank, fromRank, in operator ()()
346 (*this->RegionIdsFromMyNeighbors)[fromRank].TakeReference(idArray); in operator ()()
347 this->SubController->NoBlockReceive(idArray->GetPointer(0), numFromRank, fromRank, in operator ()()
399 int fromRank = *nbrIter; in ExchangeNumberOfPointsToSend() local
401 &recvLengths[fromRank], 1, fromRank, PCF_SIZE_EXCHANGE_TAG, recvRequests[requestIdx++]); in ExchangeNumberOfPointsToSend()
H A DvtkPUnstructuredGridGhostCellsGenerator.cxx925 int fromRank = *iter; in ReceiveAndMergeGhostCells() local
926 CommDataInfo& c = this->Internals->CommData[fromRank]; in ReceiveAndMergeGhostCells()
928 &c.RecvLen, 1, fromRank, UGGCG_SIZE_EXCHANGE_TAG, c.RecvReqs[0]); in ReceiveAndMergeGhostCells()
940 int fromRank = *iter; in ReceiveAndMergeGhostCells() local
941 CommDataInfo& c = this->Internals->CommData[fromRank]; in ReceiveAndMergeGhostCells()
951 c.RecvLen, fromRank, UGGCG_DATA_EXCHANGE_TAG, c.RecvReqs[1]); in ReceiveAndMergeGhostCells()
970 int fromRank = *iter; in ReceiveAndMergeGhostCells() local
971 CommDataInfo& c = this->Internals->CommData[fromRank]; in ReceiveAndMergeGhostCells()
1004 this->Internals->ReceivedCells[fromRank].insert(cellids->GetValue(i)); in ReceiveAndMergeGhostCells()
/dports/math/vtk8/VTK-8.2.0/Filters/ParallelGeometry/
H A DvtkPConnectivityFilter.cxx338 int fromRank = iter->first; in operator ()() local
345 (*this->PointsFromMyNeighbors)[fromRank].TakeReference(pfmn); in operator ()()
346 this->SubController->NoBlockReceive(pfmn->GetPointer(0), 3*numFromRank, fromRank, in operator ()()
352 (*this->RegionIdsFromMyNeighbors)[fromRank].TakeReference(idArray); in operator ()()
353 this->SubController->NoBlockReceive(idArray->GetPointer(0), numFromRank, fromRank, in operator ()()
406 int fromRank = *nbrIter; in ExchangeNumberOfPointsToSend() local
407 subController->NoBlockReceive(&recvLengths[fromRank], 1, fromRank, in ExchangeNumberOfPointsToSend()
H A DvtkPUnstructuredGridGhostCellsGenerator.cxx891 int fromRank = *iter; in ReceiveAndMergeGhostCells() local
892 CommDataInfo& c = this->Internals->CommData[fromRank]; in ReceiveAndMergeGhostCells()
894 &c.RecvLen, 1, fromRank, UGGCG_SIZE_EXCHANGE_TAG, c.RecvReqs[0]); in ReceiveAndMergeGhostCells()
906 int fromRank = *iter; in ReceiveAndMergeGhostCells() local
907 CommDataInfo& c = this->Internals->CommData[fromRank]; in ReceiveAndMergeGhostCells()
917 c.RecvLen, fromRank, UGGCG_DATA_EXCHANGE_TAG, c.RecvReqs[1]); in ReceiveAndMergeGhostCells()
936 int fromRank = *iter; in ReceiveAndMergeGhostCells() local
937 CommDataInfo& c = this->Internals->CommData[fromRank]; in ReceiveAndMergeGhostCells()
970 this->Internals->ReceivedCells[fromRank].insert(cellids->GetValue(i)); in ReceiveAndMergeGhostCells()
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Interfaces/Redis/
H A DIRedisClient.cs199 List<string> GetRangeFromSortedSet(string setId, int fromRank, int toRank); in GetRangeFromSortedSet() argument
200 List<string> GetRangeFromSortedSetDesc(string setId, int fromRank, int toRank); in GetRangeFromSortedSetDesc() argument
202 …IDictionary<string, double> GetRangeWithScoresFromSortedSet(string setId, int fromRank, int toRank… in GetRangeWithScoresFromSortedSet() argument
203 …IDictionary<string, double> GetRangeWithScoresFromSortedSetDesc(string setId, int fromRank, int to… in GetRangeWithScoresFromSortedSetDesc() argument
H A DIRedisSortedSet.cs27 void RemoveRange(int fromRank, int toRank); in RemoveRange() argument
/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Interfaces/Redis/Generic/
H A DIRedisTypedClient.cs136 List<T> GetRangeFromSortedSet(IRedisSortedSet<T> set, int fromRank, int toRank); in GetRangeFromSortedSet() argument
137 List<T> GetRangeFromSortedSetDesc(IRedisSortedSet<T> set, int fromRank, int toRank); in GetRangeFromSortedSetDesc() argument
139 …IDictionary<T, double> GetRangeWithScoresFromSortedSet(IRedisSortedSet<T> set, int fromRank, int t… in GetRangeWithScoresFromSortedSet() argument
140 …IDictionary<T, double> GetRangeWithScoresFromSortedSetDesc(IRedisSortedSet<T> set, int fromRank, i… in GetRangeWithScoresFromSortedSetDesc() argument
H A DIRedisSortedSet.Generic.cs27 List<T> GetRange(int fromRank, int toRank); in GetRange() argument
/dports/games/chessx/chessx-1.5.6/src/guess/
H A Dguess_common.h843 rankT fromRank = square_Rank(from); in square_Adjacent() local
845 int rdist = (int)fromRank - (int)toRank; in square_Adjacent()

12