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
↓ 28 callers
Method
contains
Returns `true` if the vector contains a value (not `None`) at the given ID index. # Examples ``` # use hashql_core::id::{IdVec, Id as _, newtype}; #
libs/@local/hashql/core/src/id/slice.rs:330
↓ 28 callers
Method
count
()
libs/@hashintel/petrinaut-core/src/simulation/runtime/frame-store.ts:11
↓ 28 callers
Method
decode
( &self, type_id: TypeId, value: JsonValueRef<'_>, )
libs/@local/hashql/eval/src/orchestrator/codec/decode/mod.rs:158
↓ 28 callers
Method
decode
(self, items: S)
libs/@local/harpc/codec/src/lib.rs:74
↓ 28 callers
Function
entityIdFromComponents
( webId: WebId, entityUuid: EntityUuid, draftId?: DraftId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:88
↓ 28 callers
Method
into_iter
(self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:146
↓ 28 callers
Method
len
(&self)
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/read.rs:72
↓ 28 callers
Function
take
(self: WriteBuffer)
libs/@local/harpc/client/typescript/src/binary/MutableBuffer.ts:290
↓ 27 callers
Method
build
(self)
libs/@local/hashql/mir/src/pretty/text.rs:203
↓ 27 callers
Method
cancel
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/monte-carlo/runtime/experiment.ts:97
↓ 27 callers
Method
commit
# Errors - if the underlying client cannot commit the transaction
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:3337
↓ 27 callers
Function
count_regions
( body: &Body<'_>, statement_costs: &TargetArray<StatementCostVec<A>>, terminator_costs: &TargetAr
libs/@local/hashql/mir/src/pass/execution/splitting/mod.rs:71
↓ 27 callers
Function
create_link
( api: &mut DatabaseApi<'_>, source: EntityId, target: EntityId, )
libs/@local/graph/postgres-store/tests/deletion/main.rs:352
↓ 27 callers
Function
deserializeQueryEntitySubgraphResponse
( response: SerializedQueryEntitySubgraphResponse, )
libs/@local/graph/sdk/typescript/src/entity.ts:401
↓ 27 callers
Function
extractVersion
(url: VersionedUrl)
libs/@blockprotocol/type-system/typescript/src/native/url.ts:263
↓ 27 callers
Function
generateEntityLabel
( typeData: Subgraph | ClosedMultiEntityType | PartialEntityType | null, entity: { properties: HashEnt
libs/@local/hash-isomorphic-utils/src/generate-entity-label.ts:79
↓ 27 callers
Method
insert_range
(&mut self, range: TextRange)
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:111
↓ 27 callers
Function
poll_frame_unpin
( body: &mut B, )
libs/@local/harpc/tower/src/body/mod.rs:327
↓ 27 callers
Method
simplify
(self: Type<'heap, Self>, env: &mut SimplifyEnvironment<'_, 'heap>)
libs/@local/hashql/core/src/type/kind/generic/mod.rs:369
↓ 27 callers
Function
splitEntityId
( entityId: EntityId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:102
↓ 27 callers
Method
type_id
(&self, id: HirId)
libs/@local/hashql/hir/src/map.rs:61
↓ 26 callers
Method
as_bytes
(&self)
libs/@local/hashql/core/src/symbol/mod.rs:227
↓ 26 callers
Function
assert_inst_simplify_pass
( name: &'static str, body: Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/inst_simplify/tests.rs:32
↓ 26 callers
Function
decoder
( env: &'env Environment<'heap>, interner: &'env Interner<'heap>, )
libs/@local/hashql/eval/src/orchestrator/codec/decode/tests.rs:18
↓ 26 callers
Function
dominators
( graph: &G, start_node: G::NodeId, )
libs/@local/hashql/core/src/graph/algorithms/dominators/mod.rs:74
↓ 26 callers
Method
execute
Executes the plan. This will run the migrations in the list in the direction specified by the plan. Depending on the direction, the migrations will b
libs/@local/graph/migrations/src/plan.rs:129
↓ 26 callers
Method
expand
Converts a `Report` with a single context into a `Report` with multiple contexts. This function allows for the transformation of a `Report<C>` into a
libs/error-stack/src/report.rs:378
↓ 26 callers
Method
finish
Finalizes the set by sorting and deduplicating the items. This method consumes the `TypeIdSet` and returns a `SmallVec` containing unique `TypeId` va
libs/@local/hashql/core/src/type/collections/type_id_set.rs:110
↓ 26 callers
Method
goto
(id: impl Into<BasicBlockId>)
libs/@local/hashql/mir/src/reify/current.rs:33
↓ 26 callers
Method
hash
(&self, state: &mut H)
libs/@local/hashql/core/src/id/vec.rs:643
↓ 26 callers
Method
into_owned
(self)
libs/@local/graph/types/src/embedding.rs:24
↓ 26 callers
Method
join
( self, #[builder(start_fn)] r#type: JoinType, #[builder(start_fn, into)] from: Self,
libs/@local/graph/postgres-store/src/store/postgres/query/expression/from_item.rs:319
↓ 26 callers
Method
to_owned
(&self)
libs/@local/hashql/core/src/id/slice.rs:435
↓ 26 callers
Method
unknown
(&self)
libs/@local/hashql/core/src/type/builder.rs:1381
↓ 26 callers
Function
visit_object
( state: &mut ParserState<'arena, 'source, 'spans>, token: Token<'source>, mut on_item: impl FnMut
libs/@local/hashql/syntax-jexpr/src/parser/object/visit.rs:85
↓ 25 callers
Method
as_mut_client
(&mut self)
libs/@local/graph/postgres-store/src/store/postgres/pool.rs:125
↓ 25 callers
Function
assert_begin
(response: &Response, expected: ExpectedBegin<impl AsRef<[u8]> + ?Sized>)
libs/@local/harpc/net/src/session/server/transaction/test.rs:121
↓ 25 callers
Function
assert_decode
(bytes: impl Into<Bytes>, expected: &T, context: T::Context)
libs/@local/harpc/wire-protocol/src/codec/decode.rs:100
↓ 25 callers
Method
assign
( mut self, place: impl FnOnce(PlaceBuilder<'env, 'heap, NoLocal>) -> PlaceBuilder<'env, 'heap
libs/@local/hashql/mir/src/builder/basic_block.rs:38
↓ 25 callers
Method
build_block
(&mut self, block: BasicBlockId)
libs/@local/hashql/mir/src/builder/body.rs:99
↓ 25 callers
Method
encode
(self, input: S)
libs/@local/harpc/codec/src/lib.rs:53
↓ 25 callers
Method
insert
Inserts a candidate and re-sorts to maintain ascending cost order.
libs/@local/hashql/mir/src/pass/execution/placement/solve/estimate/mod.rs:101
↓ 25 callers
Method
is_empty
(&self)
libs/@local/hashql/core/src/type/kind/struct.rs:65
↓ 25 callers
Function
make_all_supported_terminator_costs
Creates terminator costs where every target supports every block's terminator.
libs/@local/hashql/mir/src/pass/execution/splitting/tests.rs:96
↓ 25 callers
Method
reserve_block
Reserves a new basic block and returns its ID. The block is initialized with a placeholder terminator. Use [`build_block`](Self::build_block) to fill
libs/@local/hashql/mir/src/builder/body.rs:82
↓ 25 callers
Function
resolve
Resolves a place to its ultimate data source by traversing the dependency graph. Starting from `place`, this function follows edges in the dependency
libs/@local/hashql/mir/src/pass/analysis/data_dependency/resolve.rs:376
↓ 25 callers
Method
ret
Terminates the block with a return.
libs/@local/hashql/mir/src/builder/basic_block.rs:119
↓ 25 callers
Function
setup_send
( no_delay: bool, )
libs/@local/harpc/net/src/session/server/transaction/test.rs:79
↓ 25 callers
Function
snapshot_settings
()
libs/@local/hashql/eval/src/postgres/filter/tests.rs:337
↓ 25 callers
Function
useEntityTypesContextRequired
()
apps/hash-frontend/src/shared/entity-types-context/hooks/use-entity-types-context-required.ts:5
↓ 25 callers
Function
useIsReadOnly
()
libs/@hashintel/petrinaut/src/react/state/use-is-read-only.ts:14
↓ 25 callers
Function
visit_array
( state: &mut ParserState<'arena, 'source, 'spans>, token: Token<'source>, mut on_item: impl FnMut
libs/@local/hashql/syntax-jexpr/src/parser/array/visit.rs:36
↓ 25 callers
Method
visit_expr
(&mut self, expr: &mut Expr<'heap>)
libs/@local/hashql/ast/src/visit.rs:189
↓ 24 callers
Method
as_ref
(&self)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/identifier.rs:44
↓ 24 callers
Method
as_u32
(self)
libs/@local/hashql/core/src/value/primitive/integer.rs:140
↓ 24 callers
Function
assert_codec
(value: &T, context: T::Context)
libs/@local/harpc/wire-protocol/src/codec/decode.rs:129
↓ 24 callers
Method
assign_place
( mut self, place: Place<'heap>, rvalue: impl FnOnce(RValueBuilder<'env, 'heap>) -> RV
libs/@local/hashql/mir/src/builder/basic_block.rs:58
↓ 24 callers
Function
computeStats
(values: number[])
apps/hash-frontend/src/pages/supply-chain/shared/stats.ts:29
↓ 24 callers
Method
context
(self, context: C)
libs/@local/graph/migrations/src/plan.rs:224
↓ 24 callers
Function
getLatestEntityById
( ...args: Parameters<GetLatestEntityByIdFunction<Properties>> )
apps/hash-api/src/graph/knowledge/primitive/entity.ts:192
↓ 24 callers
Function
getLlmResponse
( llmParams: T, usageTrackingParams: UsageTrackingParams, )
apps/hash-ai-worker-ts/src/activities/shared/get-llm-response.ts:46
↓ 24 callers
Method
insert_type_id
Associates a type ID with the specified HIR node. If the internal storage is not large enough to accommodate the given ID, it will be expanded and fi
libs/@local/hashql/hir/src/map.rs:78
↓ 24 callers
Method
into_iter
(self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:171
↓ 24 callers
Method
map_category
Transforms the category of each diagnostic. This is useful when moving diagnostics between compilation phases that use different category types. # E
libs/@local/hashql/diagnostics/src/issues.rs:137
↓ 24 callers
Method
provision
(&mut self, id: TypeId)
libs/@local/hashql/core/src/type/environment/simplify.rs:204
↓ 24 callers
Method
syntax
(&self)
libs/@local/hashql/syntax-jexpr/src/lexer/token_kind.rs:49
↓ 24 callers
Method
with_constraints
( mut self, constraints: impl IntoIterator<Item = Constraint<'heap>>, )
libs/@local/hashql/core/src/type/environment/infer.rs:66
↓ 23 callers
Function
all_targets
()
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:112
↓ 23 callers
Method
as_entity
(&self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:90
↓ 23 callers
Function
bb
(index: u32)
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:120
↓ 23 callers
Method
build_policy_set
( &self, actions: impl IntoIterator<Item = ActionName>, )
libs/@local/graph/authorization/src/policies/components.rs:276
↓ 23 callers
Function
createSystemPropertyTypeIfNotExists
( context, authentication, { propertyTypeDefinition, migrationState, webShortname }, )
apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:297
↓ 23 callers
Method
current_contexts
Returns an iterator over the current contexts of the `Report`. This method is similar to [`current_context`], but instead of returning a single conte
libs/error-stack/src/report.rs:876
↓ 23 callers
Function
deserialize
Deserialize a [`Regex`] from a string. # Errors - If the deserialization of the string fails. - If the regex pattern is invalid.
libs/@local/codec/src/serde/mod.rs:63
↓ 23 callers
Function
getOutgoingLinkAndTargetEntities
( subgraph: Subgraph, entityId: EntityId, interval?: TemporalInterval<TemporalBound, TemporalBound>, )
libs/@blockprotocol/graph/src/stdlib/subgraph/edge/link-entity.ts:300
↓ 23 callers
Function
implEncode
(closure)
libs/@local/harpc/client/typescript/src/utils.ts:61
↓ 23 callers
Method
insert_range
(&mut self, elems: impl RangeBounds<T>)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:228
↓ 23 callers
Method
map
(self, func: impl FnOnce(T) -> U)
libs/@local/hashql/eval/src/orchestrator/partial.rs:85
↓ 23 callers
Method
project
( self, interner: &Interner<'heap>, r#type: TypeId, kind: ProjectionKind<'heap
libs/@local/hashql/mir/src/body/place.rs:332
↓ 23 callers
Function
setError
(nextError: string | null)
libs/@hashintel/petrinaut/src/ui/hooks/use-draft-field.ts:65
↓ 23 callers
Method
span
(&mut self, range: Range<usize>)
libs/@local/hashql/syntax-jexpr/src/parser/string/context.rs:30
↓ 23 callers
Function
take_cyclic
( solver: &mut PlacementSolver<'_, 'alloc, &'alloc Heap, Heap>, )
libs/@local/hashql/mir/src/pass/execution/placement/solve/csp/tests.rs:32
↓ 23 callers
Method
text
()
libs/@hashintel/ds-components/tests/sync-fetch.d.ts:4
↓ 23 callers
Method
tuple
(&'this self, fields: impl IntoTypes<'this, 'env, 'heap>)
libs/@local/hashql/core/src/type/builder.rs:1072
↓ 23 callers
Method
tuple
( self, operands: impl IntoIterator<Item = impl Into<Operand<'heap>>>, )
libs/@local/hashql/mir/src/builder/rvalue.rs:93
↓ 23 callers
Method
variable_interval
(&self)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:499
↓ 23 callers
Function
versionedUrlFromComponents
( baseUrl: BaseUrl, version: OntologyTypeVersion, )
libs/@blockprotocol/type-system/typescript/src/native/url.ts:328
↓ 22 callers
Method
add_selection_path
(&mut self, path: &'p R::QueryPath<'q>)
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:300
↓ 22 callers
Function
alice
()
tests/graph/integration/postgres/sorting.rs:226
↓ 22 callers
Function
assert_data_dependency
( name: &'static str, body: &Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/analysis/data_dependency/tests.rs:15
↓ 22 callers
Function
bob
()
tests/graph/integration/postgres/sorting.rs:230
↓ 22 callers
Function
charles
()
tests/graph/integration/postgres/sorting.rs:234
↓ 22 callers
Function
check_principal
( constraint: PrincipalConstraint, value: JsonValue, cedar_string: impl AsRef<str>,
libs/@local/graph/authorization/src/policies/principal/mod.rs:251
↓ 22 callers
Function
compile_filter_islands
(fixture: &Fixture<'heap>, heap: &'heap Heap)
libs/@local/hashql/eval/src/postgres/filter/tests.rs:153
↓ 22 callers
Method
contains
(&self, block: BasicBlockId)
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:69
↓ 22 callers
Function
getClosedMultiEntityTypeFromMap
( closedMultiEntityTypes: ClosedMultiEntityTypesRootMap | undefined, entityTypesIds: [VersionedUrl, ...Ver
libs/@local/graph/sdk/typescript/src/entity.ts:924
↓ 22 callers
Function
getToolCallsFromLlmAssistantMessage
(params: { message: LlmAssistantMessage<ToolName>; })
apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/llm-message.ts:175
↓ 22 callers
Method
get_mut
( &mut self, index: R, )
libs/@local/hashql/core/src/id/slice.rs:128
↓ 22 callers
Function
implDecode
( closure, )
libs/@local/harpc/client/typescript/src/utils.ts:68
↓ 22 callers
Function
insert
(database: &mut DatabaseTestWrapper)
tests/graph/integration/postgres/sorting.rs:128
← previous
next →
201–300 of 18,976, ranked by callers