Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ functions
Functions
18,976 in github.com/hashintel/hash
⨍
Functions
18,976
◇
Types & classes
3,899
↓ 1,724 callers
Method
map
(self, closure: impl FnOnce(&'heap K) -> &'heap K2)
libs/@local/hashql/core/src/type/mod.rs:72
↓ 1,140 callers
Method
push
* Push one or more items onto a queue. * @param name the name of the queue. * @param items a collection of strings to add to the end of the queu
libs/@local/hash-backend-utils/src/queue/adapter.ts:9
↓ 729 callers
Method
expect
(self, message: impl AsRef<str>)
libs/@local/harpc/tower/src/test.rs:71
↓ 534 callers
Method
get
(index: number)
libs/@hashintel/petrinaut-core/src/simulation/runtime/frame-store.ts:13
↓ 507 callers
Method
expect
(&self, name: Symbol<'heap>)
libs/@local/hashql/core/src/module/std_lib/mod.rs:119
↓ 498 callers
Function
default
()
libs/@local/hashql/diagnostics/src/source/mod.rs:208
↓ 494 callers
Method
change_context
(mut self, context: T)
libs/error-stack/src/report.rs:574
↓ 453 callers
Method
filter
(self, func: impl FnOnce(&T) -> bool)
libs/@local/hashql/eval/src/orchestrator/partial.rs:146
↓ 369 callers
Method
collect
( &mut self, r#type: Type<'heap>, )
libs/@local/hashql/core/src/type/inference/visit.rs:57
↓ 354 callers
Method
find
(&self, body: DefId, block: BasicBlockId)
libs/@local/hashql/eval/src/postgres/mod.rs:224
↓ 339 callers
Method
join
(&mut self, lhs: TypeId, rhs: TypeId)
libs/@local/hashql/core/src/type/environment/lattice.rs:209
↓ 324 callers
Method
map
(self, func: impl FnOnce(T) -> U)
libs/@local/graph/postgres-store/src/store/validation.rs:43
↓ 322 callers
Method
then
(mut self, other: Self)
libs/error-stack/src/fmt/mod.rs:705
↓ 307 callers
Function
from
( buffer: ArrayBuffer, options?: FromOptions, )
libs/@local/harpc/client/typescript/src/binary/MutableBytes.ts:76
↓ 276 callers
Method
clone
(&self)
libs/@local/hashql/core/src/id/vec.rs:582
↓ 206 callers
Method
map_err
(self, func: F)
libs/@local/harpc/tower/src/body/mod.rs:280
↓ 205 callers
Method
primary
Creates a [`Diagnostic`] with the given label as the primary label. The primary label is the main focus of the diagnostic, pointing to the exact loca
libs/@local/hashql/diagnostics/src/diagnostic/mod.rs:118
↓ 196 callers
Method
add_message
Adds an explanatory message to the diagnostic. Messages provide additional context, explanations, or suggestions to help users understand and resolve
libs/@local/hashql/diagnostics/src/diagnostic/mod.rs:628
↓ 180 callers
Method
sort
(&mut self)
libs/@local/hashql/compiletest/src/harness/trial/set.rs:23
↓ 179 callers
Method
values
(&self, universe: Universe)
libs/@local/hashql/core/src/module/universe.rs:790
↓ 176 callers
Method
intern_symbol
Interns a string symbol, returning a reference to the interned value. If the string has already been interned, returns the existing [`Symbol`] pointi
libs/@local/hashql/core/src/heap/mod.rs:274
↓ 174 callers
Method
has
(placeholderId: string)
apps/hash-api/src/graphql/resolvers/knowledge/block-collection/update-block-collection-actions.ts:125
↓ 172 callers
Method
to_owned
(&self)
libs/@local/graph/types/src/embedding.rs:29
↓ 169 callers
Method
as_client
(&self)
libs/@local/graph/postgres-store/src/store/postgres/pool.rs:121
↓ 165 callers
Method
attach
(mut self, attachment: A)
libs/error-stack/src/report.rs:533
↓ 164 callers
Method
run
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/api.ts:156
↓ 160 callers
Method
create
( graphAPI: GraphApi, authentication: AuthenticationContext, params: CreateEntityParameters<T>,
libs/@local/graph/sdk/typescript/src/entity.ts:1131
↓ 156 callers
Method
all
(&self, closure: impl FnMut(&T) -> bool)
libs/@local/hashql/core/src/module/universe.rs:236
↓ 152 callers
Method
send
Send a message to the server. May queue if the transport is not yet ready.
libs/@hashintel/petrinaut-core/src/lsp/transport.ts:12
↓ 151 callers
Method
parse
(attributes: Vec<Attribute<AttributeBody>>)
libs/@local/hashql/macros/src/id/attr.rs:57
↓ 148 callers
Method
iter
(&self)
libs/@local/hashql/core/src/id/slice.rs:199
↓ 144 callers
Method
into_iter
(self)
libs/@local/graph/api/src/rest/utoipa_typedef/mod.rs:90
↓ 144 callers
Function
with_capacity
()
libs/@local/hashql/core/src/type/collections/type_id_set.rs:237
↓ 137 callers
Method
keys
(&self, universe: Universe)
libs/@local/hashql/core/src/module/universe.rs:764
↓ 133 callers
Method
acquire
* Acquire exclusive read ownership of a queue. Any instance of `QueueExclusiveConsumer` * may only acquire ownership of a single queue. Attempts to
libs/@local/hash-backend-utils/src/queue/adapter.ts:26
↓ 129 callers
Method
reduce
Revises `D(x)` with respect to `D(y)`: removes targets from x that have no support in y. A target `t_x` has support if there exists some `t_y` in `D(
libs/@local/hashql/mir/src/pass/execution/placement/arc/mod.rs:129
↓ 120 callers
Method
pop
* Pop an item from the queue, and invoke the provided callback with this * item. If the callback throws an error, the item is put back on the queue
libs/@local/hash-backend-utils/src/queue/adapter.ts:50
↓ 118 callers
Function
new_empty
()
libs/@local/hashql/core/src/id/bit_vec/matrix/tests.rs:29
↓ 115 callers
Method
zip
(this: Self, other: Status<B, C, S>)
libs/@local/hashql/diagnostics/src/status.rs:927
↓ 114 callers
Method
replace
Replaces the property at the given path with the given value. # Errors - If the path does not point to a property. - If the value cannot be replaced
libs/@blockprotocol/type-system/rust/src/knowledge/property/mod.rs:289
↓ 112 callers
Method
add
Adds a new property to the object or array at the given path. # Errors - If the path is empty. - If the value cannot be added to the parent, e.g. wh
libs/@blockprotocol/type-system/rust/src/knowledge/property/mod.rs:244
↓ 110 callers
Method
clone
(&self)
libs/@local/harpc/tower/src/extensions.rs:320
↓ 108 callers
Method
integer
(&self)
libs/@local/hashql/core/src/type/builder.rs:889
↓ 101 callers
Method
split
( &self, context: &MirContext<'_, 'heap>, body: &mut Body<'heap>, statement_co
libs/@local/hashql/mir/src/pass/execution/splitting/mod.rs:355
↓ 99 callers
Method
intern_kind
(&self, kind: TypeKind<'heap>)
libs/@local/hashql/core/src/type/environment/mod.rs:92
↓ 99 callers
Method
iter
(&self)
libs/@local/graph/types/src/embedding.rs:19
↓ 98 callers
Method
r#type
(self, env: &Environment<'heap>)
libs/@local/hashql/core/src/type/inference/mod.rs:51
↓ 97 callers
Method
write_str
(&mut self, _: &str)
libs/@local/hashql/core/src/pretty/write.rs:22
↓ 96 callers
Method
set
(&self, index: usize, value: Value<'heap>)
libs/@local/hashql/core/src/value/list.rs:189
↓ 94 callers
Function
all
(filters: Vec<Filter<'static, Entity>>)
libs/@local/graph/store/src/filter/protection.rs:1061
↓ 93 callers
Method
resolve
Resolves a path to an item in the registry. # Errors Returns a `ResolutionError` if: - The path cannot be resolved to any item - The path resolves t
libs/@local/hashql/core/src/module/mod.rs:177
↓ 89 callers
Function
createContext
()
apps/hash-api/src/seed-data/import-supply-chain-dataset.ts:137
↓ 87 callers
Function
clone
Deep-clone story state so local Storybook updates mimic app mutations.
libs/@hashintel/petrinaut/src/ui/views/Editor/panels/PropertiesPanel/properties-panel.stories.tsx:170
↓ 87 callers
Method
from
(self, place: Place<'heap>)
libs/@local/hashql/mir/src/builder/place.rs:54
↓ 85 callers
Method
insert
Stores auxiliary data for the specified node.
libs/@local/hashql/hir/src/map.rs:128
↓ 85 callers
Method
len
(self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:118
↓ 84 callers
Function
extractBaseUrl
(url: VersionedUrl)
libs/@blockprotocol/type-system/typescript/src/native/url.ts:237
↓ 84 callers
Method
string
(&self)
libs/@local/hashql/core/src/type/builder.rs:907
↓ 83 callers
Method
as_usize
(self)
libs/@local/hashql/core/src/value/primitive/integer.rs:227
↓ 80 callers
Function
instantiate_infer
( env: &Environment<'_>, hole: impl TryInto<HoleId, Error: Debug>, )
libs/@local/hashql/core/src/type/tests.rs:42
↓ 79 callers
Method
attach_opaque
(mut self, attachment: A)
libs/error-stack/src/report.rs:557
↓ 76 callers
Function
formatNumber
( value: number | null | undefined, opts?: { maximumFractionDigits?: number; minimumFractionDigits
apps/hash-frontend/src/pages/supply-chain/shared/cost.ts:162
↓ 76 callers
Function
graphQLContextToImpureGraphContext
({ dataSources, provenance, temporal, }: GraphQLContext)
apps/hash-api/src/graphql/resolvers/util.ts:4
↓ 75 callers
Method
clone
(&self)
libs/@local/hashql/mir/src/pass/analysis/size_estimation/affine.rs:94
↓ 75 callers
Method
len
(&self)
libs/@local/hashql/core/src/id/slice.rs:162
↓ 74 callers
Method
iter
(&self)
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:95
↓ 74 callers
Function
setValue
(nextValue: T)
libs/@hashintel/petrinaut/src/ui/hooks/use-draft-field.ts:50
↓ 72 callers
Method
clear
Drop the entire history.
libs/@hashintel/petrinaut-core/src/handle/types.ts:33
↓ 72 callers
Method
log
( info: winston.Logform.TransformableInfo & { message: unknown }, callback: () => void, )
libs/@local/hash-backend-utils/src/logger.ts:273
↓ 72 callers
Method
query
( &self, filter: Filter<'_, Entity>, sorting: EntityQuerySorting<'static>, )
tests/graph/integration/postgres/email_filter_protection.rs:376
↓ 72 callers
Method
take_constraints
(&mut self)
libs/@local/hashql/core/src/type/environment/infer.rs:82
↓ 70 callers
Method
clone
(&self)
libs/error-stack/src/iter.rs:150
↓ 70 callers
Method
intern_slice
Interns a slice of values into the set. This method is similar to `intern` but works with slices. It ensures that only one copy of a slice with ident
libs/@local/hashql/core/src/intern/set.rs:389
↓ 69 callers
Function
extractEntityUuidFromEntityId
( entityId: EntityId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:118
↓ 69 callers
Method
set
( placeholderId: string | null | undefined, entity: { entityId: EntityId }, )
apps/hash-api/src/graphql/resolvers/knowledge/block-collection/update-block-collection-actions.ts:129
↓ 68 callers
Method
append
(frame: SimulationFramePayload)
libs/@hashintel/petrinaut-core/src/simulation/runtime/frame-store.ts:8
↓ 67 callers
Function
from
(value: bool)
libs/@local/hashql/mir/src/interpret/value/int.rs:357
↓ 66 callers
Method
delete_entities
( &mut self, actor_id: AuthenticatedActor, params: DeleteEntitiesParams<'_>, )
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/mod.rs:2259
↓ 66 callers
Function
from
(value: Style)
libs/@local/hashql/diagnostics/src/encoding.rs:47
↓ 66 callers
Method
next
(&mut self)
libs/@local/hashql/core/src/type/builder.rs:686
↓ 66 callers
Function
seed
(database: &mut DatabaseTestWrapper)
libs/@local/graph/postgres-store/tests/deletion/main.rs:272
↓ 65 callers
Function
alice
()
libs/@local/graph/postgres-store/tests/deletion/main.rs:256
↓ 65 callers
Function
run_body
(body: Body<'_>)
libs/@local/hashql/mir/src/interpret/tests.rs:49
↓ 64 callers
Function
fmt
(value: number)
apps/hash-frontend/src/pages/supply-chain/shared/step-detail-panel/distribution-chart.tsx:104
↓ 64 callers
Method
insert
( &mut self, vertex_id: &V, edge_kind: K, direction: EdgeDirection, ri
libs/@local/graph/store/src/subgraph/edges/mod.rs:53
↓ 64 callers
Method
now
()
libs/@local/graph/temporal-versioning/src/timestamp.rs:80
↓ 63 callers
Method
iter
(&self)
libs/@local/codegen/src/lib.rs:111
↓ 62 callers
Method
as_ref
(&self)
libs/@local/hashql/mir/src/body/place.rs:414
↓ 62 callers
Function
empty
(span: SpanId)
libs/@local/hashql/syntax-jexpr/src/parser/array/error.rs:134
↓ 62 callers
Method
entry
(&mut self, universe: Universe, key: K)
libs/@local/hashql/core/src/module/universe.rs:543
↓ 62 callers
Function
extractWebIdFromEntityId
(entityId: EntityId)
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:114
↓ 62 callers
Method
toJSON
()
libs/@local/graph/sdk/typescript/src/entity.ts:1397
↓ 61 callers
Function
create_person
( api: &mut DatabaseApi<'_>, properties: PropertyObject, draft: bool, )
libs/@local/graph/postgres-store/tests/deletion/main.rs:325
↓ 61 callers
Function
getRoots
( subgraph: Subgraph<RootType>, )
libs/@blockprotocol/graph/src/stdlib/subgraph/roots.ts:32
↓ 60 callers
Method
collect_constraints
( self: Type<'heap, Self>, supertype: Type<'heap, Self>, env: &mut InferenceEnvironmen
libs/@local/hashql/core/src/type/kind/generic/mod.rs:452
↓ 60 callers
Method
seed
( &mut self, )
libs/@local/graph/postgres-store/tests/principals/main.rs:31
↓ 59 callers
Function
simplifyProperties
( properties: T, )
libs/@local/hash-isomorphic-utils/src/simplify-properties.ts:45
↓ 58 callers
Function
for_entity_by_entity_id
()
libs/@local/graph/postgres-store/src/store/postgres/query/statement/select.rs:1791
↓ 58 callers
Method
into_iter
(self)
libs/@local/hashql/core/src/id/vec.rs:703
↓ 58 callers
Method
take
Drains and returns all collected events, leaving the buffer empty.
libs/@local/hashql/eval/src/orchestrator/events.rs:143
next →
1–100 of 18,976, ranked by callers