Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Spelling comments #3549

Merged
merged 209 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from 208 commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
cce9108
spelling: abandoned
jsoref Feb 13, 2024
1f6fb25
spelling: account
jsoref Feb 15, 2024
b9da7c1
spelling: accuracy
jsoref Feb 15, 2024
452d4fe
spelling: additionally
jsoref Feb 15, 2024
0470a41
spelling: adjacent
jsoref Feb 15, 2024
ffa7b92
spelling: aggregator
jsoref Feb 15, 2024
7de5561
spelling: algorithm
jsoref Feb 15, 2024
fe55190
spelling: alias
jsoref Feb 15, 2024
b0b7b3a
spelling: align
jsoref Feb 15, 2024
a8741af
spelling: aligned
jsoref Feb 15, 2024
04b9dd7
spelling: already
jsoref Feb 15, 2024
30cac12
spelling: and
jsoref Feb 13, 2024
dc61944
spelling: another
jsoref Feb 13, 2024
5a925c2
spelling: anymore
jsoref Feb 13, 2024
60ea3ac
spelling: array
jsoref Feb 15, 2024
29101e4
spelling: assigned
jsoref Feb 15, 2024
b7d7ca0
spelling: assignments
jsoref Feb 15, 2024
927102b
spelling: async
jsoref Feb 15, 2024
3a351af
spelling: atomically
jsoref Feb 15, 2024
78035d6
spelling: aware
jsoref Feb 15, 2024
651d7e2
spelling: backing up
jsoref Feb 15, 2024
7502840
spelling: backwards compatibility
jsoref Feb 16, 2024
f2f2301
spelling: basically
jsoref Feb 15, 2024
3f5a99a
spelling: bound
jsoref Feb 15, 2024
33fc754
spelling: bracket
jsoref Feb 15, 2024
0cae8a6
spelling: building
jsoref Feb 15, 2024
e569c81
spelling: built-in
jsoref Feb 15, 2024
4e7384a
spelling: bytes
jsoref Feb 15, 2024
0c9ae38
spelling: cannot
jsoref Feb 13, 2024
1eb870d
spelling: capacity
jsoref Feb 15, 2024
ca72da2
spelling: case-insensitive
jsoref Feb 13, 2024
31e24d0
spelling: case-sensitive
jsoref Feb 13, 2024
54322f3
spelling: codegen
jsoref Feb 15, 2024
e3d734a
spelling: command
jsoref Feb 13, 2024
0838394
spelling: comparison
jsoref Feb 15, 2024
a93ea91
spelling: complete
jsoref Feb 15, 2024
2ebfeac
spelling: complicated
jsoref Feb 15, 2024
282765b
spelling: computations
jsoref Feb 15, 2024
76d3b38
spelling: conditionally
jsoref Feb 15, 2024
ffc73fd
spelling: connect
jsoref Feb 15, 2024
8dc78bb
spelling: consider
jsoref Feb 15, 2024
dbdf108
spelling: constants
jsoref Feb 15, 2024
db7d7bb
spelling: contains
jsoref Feb 15, 2024
b58cb7c
spelling: context
jsoref Feb 15, 2024
a40dc7b
spelling: controls
jsoref Feb 15, 2024
e12a31b
spelling: corresponding
jsoref Feb 15, 2024
2c0f149
spelling: could
jsoref Feb 15, 2024
61a6002
spelling: currently
jsoref Feb 15, 2024
ab0f16e
spelling: default
jsoref Feb 15, 2024
ba7361d
spelling: delete
jsoref Feb 15, 2024
66f5d79
spelling: demonstrate
jsoref Feb 15, 2024
7fabf86
spelling: deserialize
jsoref Feb 15, 2024
d7242ee
spelling: destination
jsoref Feb 15, 2024
42e1ee9
spelling: detached
jsoref Feb 15, 2024
9b6d43b
spelling: determine
jsoref Feb 15, 2024
b6480b2
spelling: deterministic
jsoref Feb 15, 2024
ffd3282
spelling: dijkstra
jsoref Feb 16, 2024
7b7e220
spelling: duplicate
jsoref Feb 15, 2024
2004634
spelling: duplication
jsoref Feb 15, 2024
2876a84
spelling: dynamically
jsoref Feb 16, 2024
4e1b873
spelling: edata_t edge
jsoref Feb 16, 2024
255ec1e
spelling: edges
jsoref Feb 16, 2024
545cc02
spelling: elements
jsoref Feb 16, 2024
5be6869
spelling: empty
jsoref Feb 16, 2024
41ceae5
spelling: enabling
jsoref Feb 16, 2024
e45f243
spelling: endpoint
jsoref Feb 16, 2024
13dbb00
spelling: environment
jsoref Feb 16, 2024
7f6a9b3
spelling: evaluate
jsoref Feb 16, 2024
a7ccfbf
spelling: exclusive
jsoref Feb 16, 2024
f89217e
spelling: executed
jsoref Feb 16, 2024
e5e4b81
spelling: execution
jsoref Feb 16, 2024
6d98908
spelling: executors
jsoref Feb 13, 2024
a61ca46
spelling: expand
jsoref Feb 16, 2024
29008c8
spelling: expression
jsoref Feb 16, 2024
f634d7f
spelling: extra
jsoref Feb 16, 2024
4ccaaa1
spelling: filter
jsoref Feb 15, 2024
4043be5
spelling: find out
jsoref Feb 16, 2024
53a5ae0
spelling: first
jsoref Feb 15, 2024
a0b67d9
spelling: folder
jsoref Feb 15, 2024
c5efef9
spelling: following
jsoref Feb 15, 2024
1d7eb22
spelling: framework
jsoref Feb 15, 2024
c5ad3f0
spelling: from
jsoref Feb 15, 2024
e011b27
spelling: further
jsoref Feb 15, 2024
f74d233
spelling: future
jsoref Feb 16, 2024
5dda18f
spelling: generated
jsoref Feb 15, 2024
3c5d32c
spelling: generator
jsoref Feb 15, 2024
5b0d946
spelling: graph
jsoref Feb 15, 2024
b3e9d9d
spelling: graphscope
jsoref Feb 16, 2024
edd8d1b
spelling: grayscale
jsoref Feb 16, 2024
56bd5ba
spelling: guidelines
jsoref Feb 15, 2024
63418c3
spelling: handle
jsoref Feb 15, 2024
c34a1f0
spelling: handler
jsoref Feb 15, 2024
02e20d3
spelling: happens
jsoref Feb 15, 2024
6e8975f
spelling: held
jsoref Feb 15, 2024
85a535d
spelling: helper
jsoref Feb 15, 2024
1f0f27a
spelling: implement
jsoref Feb 15, 2024
599b3ec
spelling: implementation
jsoref Feb 16, 2024
28cf9eb
spelling: in-links
jsoref Feb 15, 2024
bba7a2e
spelling: incremented
jsoref Feb 16, 2024
00f2c30
spelling: indexed
jsoref Feb 15, 2024
0a5bb9f
spelling: indicates
jsoref Feb 15, 2024
3ba642c
spelling: indices
jsoref Feb 15, 2024
2c4a333
spelling: individual
jsoref Feb 15, 2024
9a1a00d
spelling: inference
jsoref Feb 15, 2024
25bc017
spelling: information
jsoref Feb 15, 2024
3915c74
spelling: initialize
jsoref Feb 15, 2024
57d6761
spelling: instance
jsoref Feb 15, 2024
7c25ff2
spelling: invoked
jsoref Feb 15, 2024
39c4b1c
spelling: it
jsoref Feb 13, 2024
f6babf8
spelling: iterator
jsoref Feb 15, 2024
1819844
spelling: javascript
jsoref Feb 13, 2024
f64d6f4
spelling: kubernetes
jsoref Feb 15, 2024
22551e9
spelling: label
jsoref Feb 15, 2024
91ba611
spelling: library
jsoref Feb 15, 2024
ed84b31
spelling: little
jsoref Feb 15, 2024
fde0ba2
spelling: macos
jsoref Feb 13, 2024
d2f4bf9
spelling: magic
jsoref Feb 15, 2024
d77bea7
spelling: manually
jsoref Feb 15, 2024
05030aa
spelling: memory
jsoref Feb 15, 2024
7b969af
spelling: messages
jsoref Feb 15, 2024
538ea72
spelling: milliseconds
jsoref Feb 15, 2024
a5423cd
spelling: missing
jsoref Feb 15, 2024
ab35164
spelling: modified
jsoref Feb 15, 2024
5be30a7
spelling: modify
jsoref Feb 15, 2024
4925c8f
spelling: modifying
jsoref Feb 15, 2024
057739c
spelling: multiple
jsoref Feb 16, 2024
f0e7409
spelling: necessary
jsoref Feb 15, 2024
c6d16c2
spelling: nested
jsoref Feb 15, 2024
ee680dd
spelling: nodes
jsoref Feb 15, 2024
fa12c3a
spelling: not
jsoref Feb 13, 2024
05b383b
spelling: only
jsoref Feb 15, 2024
684059f
spelling: operation
jsoref Feb 15, 2024
7365f4d
spelling: original
jsoref Feb 15, 2024
f8faed9
spelling: out
jsoref Feb 15, 2024
fef94e1
spelling: outgoing
jsoref Feb 15, 2024
6b3243f
spelling: outputting
jsoref Feb 16, 2024
43da6fc
spelling: overridden
jsoref Feb 15, 2024
8b36216
spelling: overwriting
jsoref Feb 15, 2024
ebda1fc
spelling: parallel
jsoref Feb 15, 2024
06e939b
spelling: parameters
jsoref Feb 15, 2024
f7f24d6
spelling: partition
jsoref Feb 15, 2024
151eab9
spelling: paths
jsoref Feb 15, 2024
883911c
spelling: perform
jsoref Feb 15, 2024
23020c4
spelling: possibly
jsoref Feb 15, 2024
f49ee23
spelling: proceed
jsoref Feb 15, 2024
04cf1d9
spelling: producing
jsoref Feb 15, 2024
fce7d31
spelling: property
jsoref Feb 15, 2024
1b5ff00
spelling: provided
jsoref Feb 15, 2024
86a8ee8
spelling: queries
jsoref Feb 15, 2024
bc19895
spelling: read
jsoref Feb 15, 2024
64fcc7d
spelling: receive
jsoref Feb 15, 2024
9c178b2
spelling: received
jsoref Feb 15, 2024
c4bd8ac
spelling: reconstruct
jsoref Feb 15, 2024
3287714
spelling: record
jsoref Feb 15, 2024
41999e3
spelling: recursive
jsoref Feb 15, 2024
414c0f3
spelling: referred
jsoref Feb 15, 2024
efb6353
spelling: related
jsoref Feb 15, 2024
645e9c5
spelling: relies
jsoref Feb 15, 2024
74ebdce
spelling: repeatedly
jsoref Feb 15, 2024
ad21e13
spelling: request
jsoref Feb 15, 2024
27b06c1
spelling: resizable
jsoref Feb 15, 2024
db6e5fa
spelling: retrieve
jsoref Feb 15, 2024
42d63fc
spelling: retrieved
jsoref Feb 15, 2024
fa5e3b7
spelling: reuse
jsoref Feb 15, 2024
903d2d3
spelling: routing
jsoref Feb 15, 2024
c78066d
spelling: runner
jsoref Feb 15, 2024
3322328
spelling: safely
jsoref Feb 15, 2024
414f707
spelling: semantics
jsoref Feb 15, 2024
909205e
spelling: serialized
jsoref Feb 15, 2024
652257c
spelling: several
jsoref Feb 15, 2024
e27feb2
spelling: should
jsoref Feb 13, 2024
0a493e1
spelling: simulate
jsoref Feb 15, 2024
8b74b73
spelling: single
jsoref Feb 15, 2024
e413bfe
spelling: sink
jsoref Feb 16, 2024
6b34793
spelling: special
jsoref Feb 16, 2024
c7f4898
spelling: specialization
jsoref Feb 16, 2024
a8c8cc1
spelling: specifically
jsoref Feb 16, 2024
737e84c
spelling: statements
jsoref Feb 16, 2024
e157091
spelling: still
jsoref Feb 16, 2024
592114e
spelling: string
jsoref Feb 16, 2024
20d33b4
spelling: suggests
jsoref Feb 16, 2024
7106bd5
spelling: support
jsoref Feb 16, 2024
1ba4bba
spelling: suppress
jsoref Feb 16, 2024
86d195e
spelling: tagged
jsoref Feb 16, 2024
4041b7e
spelling: tensorflow
jsoref Feb 16, 2024
a1acc29
spelling: the
jsoref Feb 13, 2024
2dce65f
spelling: there are
jsoref Feb 16, 2024
ac5edaf
spelling: through
jsoref Feb 16, 2024
d8adc31
spelling: thrown
jsoref Feb 16, 2024
228d4d7
spelling: to
jsoref Feb 13, 2024
2e724f5
spelling: transferred
jsoref Feb 16, 2024
b07df49
spelling: tries
jsoref Feb 16, 2024
f6a7ff3
spelling: tuple
jsoref Feb 16, 2024
348b50f
spelling: typed
jsoref Feb 16, 2024
adf1ee7
spelling: usage
jsoref Feb 16, 2024
04481a7
spelling: vector
jsoref Feb 16, 2024
301da9c
spelling: vertex
jsoref Feb 16, 2024
63402ef
spelling: vertices
jsoref Feb 16, 2024
14fda01
spelling: visitable
jsoref Feb 16, 2024
ed22cde
spelling: warning
jsoref Feb 16, 2024
98e93fc
spelling: whether
jsoref Feb 16, 2024
02559fc
spelling: with respect
jsoref Feb 15, 2024
b425dcb
spelling: with
jsoref Feb 13, 2024
6f26b45
spelling: without
jsoref Feb 16, 2024
e7deb9b
spelling: workaround
jsoref Feb 13, 2024
5b32f8b
spelling: wrapper
jsoref Feb 16, 2024
e2d4938
spelling: xknows
jsoref Feb 16, 2024
fccdfa8
spelling: zookeeper
jsoref Feb 16, 2024
110f765
Revert "spelling: following"
jsoref Feb 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/free-disk-space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Free: 17 GB
# This script frees up 28 GB of disk space by deleting unneeded packages and
# large directories.
# The Flink end to end tests download and generate more than 17 GB of files,
# The following end to end tests download and generate more than 17 GB of files,
jsoref marked this conversation as resolved.
Show resolved Hide resolved
# causing unpredictable behavior and build failures.
#
echo "=============================================================================="
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-graphscope-images-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
sudo docker push ${{ env.REGISTRY }}/graphscope/learning:${tag}

# dataset image
# Note! dataset image are built mannually just use the latest one.
# Note! dataset image are built manually just use the latest one.
sudo docker pull ${{ env.REGISTRY }}/graphscope/dataset:latest
sudo docker tag ${{ env.REGISTRY }}/graphscope/dataset:latest ${{ env.REGISTRY }}/graphscope/dataset:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/dataset:${tag}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
sudo docker push ${{ env.REGISTRY }}/graphscope/learning:${tag}

# dataset image
# Note! dataset image are built mannually just use the latest one.
# Note! dataset image are built manually just use the latest one.
sudo docker pull ${{ env.REGISTRY }}/graphscope/dataset:latest
sudo docker tag ${{ env.REGISTRY }}/graphscope/dataset:latest ${{ env.REGISTRY }}/graphscope/dataset:${tag}
sudo docker push ${{ env.REGISTRY }}/graphscope/dataset:${tag}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-graphscope-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
tar -zcf client.tar.gz python/dist/wheelhouse/*.whl
tar -zcf graphscope.tar.gz coordinator/dist/

# move wheels into one floder to upload to PyPI
# move wheels into one folder to upload to PyPI
mkdir ${GITHUB_WORKSPACE}/upload_pypi
mv ${GITHUB_WORKSPACE}/python/dist/wheelhouse/*.whl ${GITHUB_WORKSPACE}/upload_pypi/
mv ${GITHUB_WORKSPACE}/coordinator/dist/wheelhouse/*.whl ${GITHUB_WORKSPACE}/upload_pypi/
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
tar -zcf client.tar.gz python/dist/wheelhouse/*.whl
tar -zcf graphscope.tar.gz coordinator/dist/

# move wheels into one floder to upload to PyPI
# move wheels into one folder to upload to PyPI
mkdir ${GITHUB_WORKSPACE}/upload_pypi
mv ${GITHUB_WORKSPACE}/python/dist/wheelhouse/*.whl ${GITHUB_WORKSPACE}/upload_pypi/
mv ${GITHUB_WORKSPACE}/coordinator/dist/wheelhouse/*.whl ${GITHUB_WORKSPACE}/upload_pypi/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-graphscope-wheels-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ jobs:
env:
PYTHON: ${{ matrix.python-version }}
run: |
# move wheels into one floder to upload to PyPI
# move wheels into one folder to upload to PyPI
mkdir ${GITHUB_WORKSPACE}/upload_pypi

cd ${GITHUB_WORKSPACE}/artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
sudo apt update
sudo apt install -y doxygen graphviz

# generate a taged version
# generate a tagged version
cd ${GITHUB_WORKSPACE}
make graphscope-docs

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pegasus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# - name: Detect the tmate session
# run: |
# if grep -v "grep" .github/workflows/pegasus.yml | grep "action-tmate"; then
# echo 'WARNING!!!the self-hosted machine can not run tmate session, please debug it manually'
# echo 'WARNING!!!the self-hosted machine cannot run tmate session, please debug it manually'
# exit 1
# fi
#
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PIP_ARGS = --timeout=1000 --no-cache-dir
## Common
.PHONY: all graphscope install clean

# coordinator relys on client, which relys on learning
# coordinator relies on client, which relies on learning
all: coordinator analytical interactive
graphscope: all

Expand Down
4 changes: 2 additions & 2 deletions analytical_engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ if (${LIBUNWIND_FOUND})
target_link_libraries(grape_engine PRIVATE ${LIBUNWIND_LIBRARIES})
endif ()

# An executable to work around for graphx pregel.
# An executable workaround for graphx pregel.
if (ENABLE_JAVA_SDK)
add_executable(graphx_runner core/java/graphx_runner.cc core/java/javasdk.cc)
target_include_directories(graphx_runner PRIVATE core utils apps)
Expand Down Expand Up @@ -502,7 +502,7 @@ if(ENABLE_JAVA_SDK)
set(GAE_JAVA_RUNTIME_JAR "${GAE_JAVA_RUNTIME_DIR}/target/grape-runtime-${GRAPHSCOPE_ANALYTICAL_JAR_VERSION}-shaded.jar")
set(GAE_JAVA_GRAPHX_JAR "${GAE_JAVA_DIR}/grape-graphx/target/grape-graphx-${GRAPHSCOPE_ANALYTICAL_JAR_VERSION}-shaded.jar")
set(GAE_JAVA_GIRAPH_JAR "${GAE_JAVA_DIR}/grape-giraph/target/grape-giraph-${GRAPHSCOPE_ANALYTICAL_JAR_VERSION}-shaded.jar")
# condiationally set grape-jni's name according to platform
# conditionally set grape-jni's name according to platform
if (APPLE)
set(GAE_JAVA_JNI_LIB "${GAE_JAVA_DIR}/grape-runtime/target/native/libgrape-jni.dylib")
else ()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class AllPairsShortestPathLength
// unweighted graph, use bfs.
this->bfs(frag, v, ctx);
} else {
// weighted graph, use dijstra.
// weighted graph, use dijkstra.
this->dijkstraLength(frag, v, ctx);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class AttributeAssortativity

/**
* @brief merge attribute mixing map of all workers in worker 0 and the result
* is saved in the contxt of worker 0.
* is saved in the context of worker 0.
*
* @param ctx
* @param messages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class DegreeAssortativity
* @brief get the degree of vertex
*
* @param frag
* @param veretx
* @param vertex
* @param type IN or OUT
* @param ctx
*/
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/apps/assortativity/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ double ProcessMatrix(std::vector<std::vector<T>>& degree_mixing_matrix,
}

/**
* @brief deterimine if type T can convert to type U in compile-time.
* @brief determine if type T can convert to type U in compile-time.
*
* @tparam T
* @tparam U
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class BetweennessCentralityGeneric
// unweighted graph, use bfs.
this->bfs(frag, v, ctx);
} else {
// weighted graph, use dijstra.
// weighted graph, use dijkstra.
this->dijkstra(frag, v, ctx);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ limitations under the License.
namespace gs {

/**
* @brief This is a driver app for Java property prallel app. The driven java
* @brief This is a driver app for Java property parallel app. The driven java
* app should be inherited from ParallelPropertyAppBase.
*
* @tparam FRAG_T Should be vineyard::ArrowFragment<...>
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/apps/pregel/aggregators_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class AggregatorsTest
assert(rlt.size() == 81308);
}

// terminate itera
// terminate iterator
v.vote_to_halt();
}
}
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/apps/pregel/louvain/louvain.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class PregelLouvain
v.vote_to_halt();
return;
}
// at the start of each full pass check to see wether progress is still
// at the start of each full pass check to see whether progress is still
// being made, if not halt
if (current_minor_step == phase_one_minor_step_1 && current_iteration > 0 &&
current_iteration % 2 == 0) {
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/apps/pregel/louvain/louvain_vertex.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ limitations under the License.
namespace gs {

/**
* @brief LouvainVertex is a specific PregelVertex for louvain alorithm.
* @brief LouvainVertex is a specific PregelVertex for louvain algorithm.
* LouvainVertex provides communication-related method to send messages to
* certain fragment and also access to context of louvain.
* @tparam FRAG_T
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/cmake/FindRdkafka.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used to find librdkafka library in CMake script, modifeid from the
# This file is used to find librdkafka library in CMake script, modified from the
# code from
#
# https://github.com/BVLC/caffe/blob/master/cmake/Modules/FindGlog.cmake
Expand Down
8 changes: 4 additions & 4 deletions analytical_engine/core/context/java_context_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class JavaContextBase : public grape::ContextBase {
protected:
virtual const char* evalDescriptor() = 0;

// Set frag_group_id to zero inidicate not available.
// Set frag_group_id to zero indicates not available.
void init(jlong messages_addr, const char* java_message_manager_name,
const std::string& params, const std::string& lib_path,
int local_num = 1) {
Expand Down Expand Up @@ -209,7 +209,7 @@ class JavaContextBase : public grape::ContextBase {
{
jobject json_object = createArgsObject(env, args_str);
// 3.1 If we find a setClassLoaderMethod, then we invoke.(NOt
// neccessary) this is specially for giraph adaptors
// necessary) this is specially for giraph adaptors
setContextClassLoader(env, context_class);

// 4. Invoke java method
Expand Down Expand Up @@ -279,7 +279,7 @@ class JavaContextBase : public grape::ContextBase {
return std::string(user_class_path);
}
// user library name should be absolute
// serial path is used in graphx, to specify the path to serializaed class
// serial path is used in graphx, to specify the path to serialized class
// objects of vd,ed.etc.
std::string parseParamsAndSetupJVMEnv(const std::string& params,
const std::string lib_path,
Expand Down Expand Up @@ -342,7 +342,7 @@ class JavaContextBase : public grape::ContextBase {
// vineyard_id(frag_group_id)
// pt.put("vineyard_id", frag_group_id);

// JVM runtime opt should consists of java.libaray.path and
// JVM runtime opt should consists of java.libarray.path and
// java.class.path maybe this should be set by the backend not user.
std::string grape_jvm_opt = generate_jvm_opts();
if (!grape_jvm_opt.empty()) {
Expand Down
6 changes: 3 additions & 3 deletions analytical_engine/core/fragment/arrow_flattened_fragment.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ struct NbrDefault {
};

/**
* @brief Union of all iteratable adjencent lists of a vertex. The union
* @brief Union of all iteratable adjacent lists of a vertex. The union
* list contains all neighbors in format of NbrDefault, which contains the other
* Node and the data on the Edge. The lists must be non-empty to construct the
* UnionAdjList.
Expand Down Expand Up @@ -313,7 +313,7 @@ class UnionAdjList {

pointer_type operator->() noexcept { return &curr_nbr_; }

// The only the interator's `operator++()` is exposed to the external
// Only the iterator's `operator++()` is exposed to the external
// programs so we only need to check the validity here, and nothing
// to do with the `operator++()` of NbrDefault.
inline void move_to_next_valid_nbr() {
Expand Down Expand Up @@ -387,7 +387,7 @@ class UnionAdjList {

pointer_type operator->() noexcept { return curr_nbr_; }

// The only the interator's `operator++()` is exposed to the external
// The only the iterator's `operator++()` is exposed to the external
// programs so we only need to check the validity here, and nothing
// to do with the `operator++()` of NbrDefault.
inline void move_to_next_valid_nbr() {
Expand Down
6 changes: 3 additions & 3 deletions analytical_engine/core/fragment/arrow_projected_fragment.h
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ class ArrowProjectedFragment

inline size_t GetOutEdgeNum() const { return oenum_; }

/* Get outging edges num from this frag*/
/* Get outgoing edges num from this frag*/
inline size_t GetOutgoingEdgeNum() const {
return static_cast<size_t>(oe_offsets_end_->Value(ivnum_ - 1) -
oe_offsets_begin_->Value(0));
Expand Down Expand Up @@ -1315,8 +1315,8 @@ class ArrowProjectedFragment
return vm_ptr_->GetGid(internal_oid_t(oid), gid);
}

// For Java use, can not use Oid2Gid(const oid_t & oid, vid_t & gid) since
// Java can not pass vid_t by reference.
// For Java use, cannot use Oid2Gid(const oid_t & oid, vid_t & gid) since
// Java cannot pass vid_t by reference.
inline vid_t Oid2Gid(const oid_t& oid) const {
vid_t gid;
if (vm_ptr_->GetGid(internal_oid_t(oid), gid)) {
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/core/java/java_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace gs {

/**
* @brief Since Java can not pass Double, Long as reference, we need a wrapper
* @brief Since Java cannot pass Double, Long as reference, we need a wrapper
* for primitives.
*/
template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion analytical_engine/core/server/graphscope_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ::grpc::Status GraphScopeService::RunStep(

if (!success) {
op_result->set_error_msg(error_msgs);
// break dag exection flow
// break dag execution flow
stream->Write(response_head);
return Status(StatusCode::INTERNAL, error_msgs);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void PEval(
userComputation.incStep();
workerContext.setCurStep(1);

// We can not judge whether to proceed by messages sent and check halted array.
// We cannot judge whether to proceed by messages sent and check halted array.
logger.info(
"Any msg received: {} all halted {}",
giraphMessageManager.anyMessageReceived(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public interface GiraphEdgeManager<OID_T extends WritableComparable, EDATA_T ext
* call. Thus, keeping a reference to an edge value almost always leads to undesired behavior.
*
* @param targetVertexId Target vertex id
* @return EDATA_Tdge value (or null if missing)
* @return EDATA_T edge value (or null if missing)
*/
EDATA_T getEdgeValue(long lid, OID_T targetVertexId);

Expand All @@ -79,7 +79,7 @@ public interface GiraphEdgeManager<OID_T extends WritableComparable, EDATA_T ext
* with strict graphs.
*
* @param targetVertexId Target vertex id
* @param edgeValue EDATA_Tdge value
* @param edgeValue EDATA_T edge value
*/
void setEdgeValue(OID_T targetVertexId, EDATA_T edgeValue);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class NettyMessageDecoder extends ByteToMessageDecoder {
private static Logger logger = LoggerFactory.getLogger(NettyMessageDecoder.class);

/**
* Decode the from one {@link ByteBuf} to an other. This method will be called till either the
* Decode the from one {@link ByteBuf} to another. This method will be called till either the
* input {@link ByteBuf} has nothing to read when return from this method or till nothing was
* read from the input {@link ByteBuf}.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.util.Iterator;

/**
* Defeault edge manager, which extract all edata and oids from grape before accessing them in
* Default edge manager, which extract all edata and oids from grape before accessing them in
* queries.
*
* @param <GRAPE_OID_T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public BatchWritableMessageCache(
cache = new Gid2Data[fragNum];
for (int i = 0; i < fragNum; ++i) {
if (i == fragId) {
// Message to self can be resiable.
// Message to self can be resizable.
cache[i] = Gid2Data.newResizable(cacheSize);
} else {
cache[i] = Gid2Data.newFixed(cacheSize);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public interface GiraphMessageManager<
* Check any message available on this vertex.
*
* @param lid local id
* @return true if recevied messages.
* @return true if received messages.
*/
boolean messageAvailable(long lid);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public Iterable<IN_MSG_T> getMessages(long lid) {
* Check any message available on this vertex.
*
* @param lid local id
* @return true if recevied messages.
* @return true if received messages.
*/
@Override
public boolean messageAvailable(long lid) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private void waitAllConnections() {
try {
TimeUnit.SECONDS.sleep(1);
failedCnt += 1;
// When encounter failure, we update the futreu;
// When encounter failure, we update the future;
ChannelFuture newFuture = bootstrap.connect(connection.address);
connection.updateFuture(newFuture);
} catch (InterruptedException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static Gid2Data newFixed(int capacity) {
/**
* Number of bytes need for serialization.
*
* @return number of butes
* @return number of bytes
*/
int serializedSize();
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public int size() {
/**
* Number of bytes need for serialization.
*
* @return number of butes
* @return number of bytes
*/
@Override
public int serializedSize() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public int size() {
/**
* Number of bytes need for serialization.
*
* @return number of butes
* @return number of bytes
*/
@Override
public int serializedSize() {
Expand Down
Loading
Loading