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
↓ 14 callers
Method
find
Finds the representative (root) element of the set containing the given element. This operation performs path compression, meaning that subsequent op
libs/@local/hashql/core/src/id/union_find.rs:198
↓ 14 callers
Method
find_block
Finds the [`PlacementBlock`] for `block` in the working array. Linear scan over `blocks`. Fine for typical SCC sizes (3–6 blocks, rarely >12). If prof
libs/@local/hashql/mir/src/pass/execution/placement/solve/csp/mod.rs:112
↓ 14 callers
Function
getEntityTypeById
( subgraph: Subgraph, entityTypeId: VersionedUrl, )
libs/@blockprotocol/graph/src/stdlib/subgraph/element/entity-type.ts:40
↓ 14 callers
Method
ids
Returns an iterator over all valid IDs for this slice. The iterator yields IDs from 0 up to (but not including) `bound()`.
libs/@local/hashql/core/src/id/slice.rs:186
↓ 14 callers
Method
insert
(&mut self, path: PathBuf, spec: Spec)
libs/@local/hashql/compiletest/src/harness/test/discover.rs:26
↓ 14 callers
Method
iter
(&self)
libs/@local/hashql/core/src/module/locals.rs:111
↓ 14 callers
Method
join
( self: Type<'heap, Self>, other: Type<'heap, Self>, env: &mut LatticeEnvironment<'_,
libs/@local/hashql/core/src/type/kind/generic/mod.rs:254
↓ 14 callers
Function
location
(block: usize, statement_index: usize)
libs/@local/hashql/mir/src/pass/execution/traversal/analysis/tests.rs:46
↓ 14 callers
Method
lock
Acquires the lock and returns a guard that dereferences to the locked data. The lock is held until the guard is dropped. Use this when you need to pe
libs/@local/hashql/core/src/sync/lock.rs:403
↓ 14 callers
Function
logProgress
(logs: StepProgressLog[])
apps/hash-ai-worker-ts/src/activities/shared/log-progress.ts:58
↓ 14 callers
Method
parse
Parses a property annotation string and updates self accordingly. # Errors If an annotation is malformed.
libs/@local/hashql/compiletest/src/annotation/directive.rs:71
↓ 14 callers
Function
pipe
()
libs/@local/harpc/client/typescript/src/net/internal/peerConnection.ts:151
↓ 14 callers
Method
prime
Populates the table with predefined symbols from [`sym::LOOKUP`]. After priming, interning any predefined symbol string will return its canonical con
libs/@local/hashql/core/src/symbol/table.rs:156
↓ 14 callers
Method
scc
Returns the SCC identifier containing the given node.
libs/@local/hashql/core/src/graph/algorithms/tarjan/mod.rs:294
↓ 14 callers
Function
sleep
(ms: number)
libs/@local/hash-isomorphic-utils/src/sleep.ts:6
↓ 14 callers
Function
useEntityEditor
()
apps/hash-frontend/src/pages/shared/entity/entity-editor/entity-editor-context.tsx:173
↓ 14 callers
Function
useGraphContext
()
apps/hash-frontend/src/pages/shared/graph-visualizer/graph-container/shared/graph-context.tsx:180
↓ 14 callers
Method
visit_body
(&mut self, _: &Body<'heap>)
libs/@local/hashql/mir/src/pass/transform/ssa_repair/mod.rs:741
↓ 14 callers
Method
write
Generates TypeScript code from the provided type collection.
libs/@local/codegen/src/typescript.rs:86
↓ 13 callers
Function
addEntityStoreAction
( state: EditorState, tr: Transaction, action: EntityStorePluginAction, )
libs/@local/hash-isomorphic-utils/src/entity-store-plugin.ts:439
↓ 13 callers
Method
add_distinct_selection_with_ordering
( &mut self, path: &'p R::QueryPath<'q>, distinctness: Distinctness, ordering:
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:312
↓ 13 callers
Method
add_projection
( &mut self, span: SpanId, r#type: TypeId, field: Ident<'heap>, )
libs/@local/hashql/core/src/type/environment/infer.rs:128
↓ 13 callers
Method
add_subscript
(&mut self, span: SpanId, r#type: TypeId, index: TypeId)
libs/@local/hashql/core/src/type/environment/infer.rs:154
↓ 13 callers
Function
bitwise
(out_vec: &mut [Word], in_vec: &[Word], op: Op)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:1195
↓ 13 callers
Method
convert_parameters
( &mut self, data_type_provider: &P, )
libs/@local/graph/store/src/filter/mod.rs:1202
↓ 13 callers
Method
cost
Returns the total cost (statement base + path transfer load) of placing `block` on `target`. # Panics Debug-asserts that `target` is in the block's
libs/@local/hashql/mir/src/pass/execution/cost/analysis.rs:76
↓ 13 callers
Function
createEntity
( ...payload )
apps/hash-frontend/src/components/sandbox/framed-block/framed-block.tsx:96
↓ 13 callers
Method
create_machine
Creates a new machine with the given ID, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if a machine with the gi
libs/@local/graph/postgres-store/src/permissions/mod.rs:245
↓ 13 callers
Function
disableRules
(rules: readonly string[])
libs/@local/eslint/src/deprecated/disable.ts:5
↓ 13 callers
Function
empty_bitset
()
libs/@local/hashql/mir/src/pass/execution/traversal/tests.rs:185
↓ 13 callers
Method
extend
Extends `self` with another `Extensions`. If an instance of a specific type exists in both, the one in `self` is overwritten with the one from `other
libs/@local/harpc/tower/src/extensions.rs:277
↓ 13 callers
Method
finish
(self)
libs/@local/hashql/hir/src/lower/dataflow.rs:54
↓ 13 callers
Method
finish_with_terminator
(self, terminator: TerminatorKind<'heap>)
libs/@local/hashql/mir/src/builder/basic_block.rs:161
↓ 13 callers
Method
fuse
Fuses blocks in `body` that share the same target assignment. Modifies both `body` and `targets` in place. The `targets` vec is compacted to match th
libs/@local/hashql/mir/src/pass/execution/fusion/mod.rs:252
↓ 13 callers
Function
getEntityOutgoingLinks
(context, authentication, params)
apps/hash-api/src/graph/knowledge/primitive/entity.ts:620
↓ 13 callers
Function
getOutgoingLinksForEntity
( subgraph: Subgraph, entityId: EntityId, interval?: TemporalInterval<TemporalBound, TemporalBound>, )
libs/@blockprotocol/graph/src/stdlib/subgraph/edge/link-entity.ts:58
↓ 13 callers
Function
getSimplifiedAiFlowActionInputs
(params: { inputs: StepInput[]; actionType: T; })
libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts:774
↓ 13 callers
Function
getUser
(context, authentication, params)
apps/hash-api/src/graph/knowledge/system-types/user.ts:226
↓ 13 callers
Method
get_mut
Returns the property at the given path. # Errors - If the path does not point to a property.
libs/@blockprotocol/type-system/rust/src/knowledge/property/mod.rs:196
↓ 13 callers
Method
get_role
Gets a role by its ID. # Errors - [`StoreError`] if a database error occurs [`StoreError`]: PrincipalError::StoreError
libs/@local/graph/postgres-store/src/permissions/mod.rs:663
↓ 13 callers
Method
infer
(&self, id: HoleId)
libs/@local/hashql/core/src/type/inference/mod.rs:349
↓ 13 callers
Method
insert_team
Creates a new team with the given ID and parent actor group, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if a
libs/@local/graph/postgres-store/src/permissions/mod.rs:445
↓ 13 callers
Function
instantiate_param
( env: &Environment<'_>, argument: impl TryInto<GenericArgumentId, Error: Debug>, )
libs/@local/hashql/core/src/type/tests.rs:31
↓ 13 callers
Method
intersperse
Intersperses documents with a separator.
libs/@local/hashql/core/src/pretty/formatter.rs:295
↓ 13 callers
Method
into_issues
Converts the error into a collection of diagnostic issues. The primary error is inserted at the front of the secondary diagnostics, creating a single
libs/@local/hashql/diagnostics/src/status.rs:252
↓ 13 callers
Method
into_iter
(self)
libs/@local/graph/store/src/subgraph/edges/endpoint.rs:37
↓ 13 callers
Method
is_empty
(&self)
libs/@blockprotocol/type-system/rust/src/ontology/data_type/schema/mod.rs:27
↓ 13 callers
Method
is_err
(self)
libs/@local/harpc/types/src/response_kind.rs:20
↓ 13 callers
Method
never
(&self)
libs/@local/hashql/core/src/type/builder.rs:1356
↓ 13 callers
Method
next
(&mut self)
libs/error-stack/src/iter.rs:94
↓ 13 callers
Method
next
(&mut self)
libs/@local/hashql/mir/src/body/basic_blocks.rs:30
↓ 13 callers
Function
not
(filter: Filter<'static, Entity>)
libs/@local/graph/store/src/filter/protection.rs:1057
↓ 13 callers
Method
of
Returns the cost for the terminator in `block`, or `None` if the target cannot execute it.
libs/@local/hashql/mir/src/pass/execution/cost/mod.rs:372
↓ 13 callers
Method
patch
( graphAPI: GraphApi, authentication: AuthenticationContext, { entityTypeIds, property
libs/@local/graph/sdk/typescript/src/entity.ts:1177
↓ 13 callers
Function
purge_params
Helper: purge with default settings (`include_drafts=false`, Ignore link behavior).
libs/@local/graph/postgres-store/tests/deletion/purge.rs:32
↓ 13 callers
Function
resolve
( analysis: string, args: Record<string, unknown> = {}, webId: WebId = WEB_ID, )
apps/hash-api/src/analysis/setup-analysis-handler/resolve-analysis.test.ts:68
↓ 13 callers
Method
resolve_type
(&self, r#type: Type<'heap>)
libs/@local/hashql/core/src/type/environment/lattice.rs:139
↓ 13 callers
Method
retain
(&mut self, universe: Universe, closure: impl FnMut(&K, &mut V) -> bool)
libs/@local/hashql/core/src/module/universe.rs:571
↓ 13 callers
Method
set_variables
(&mut self, variables: VariableLookup)
libs/@local/hashql/core/src/type/environment/lattice.rs:79
↓ 13 callers
Function
setup_recv
( config: SessionConfig, )
libs/@local/harpc/net/src/session/client/transaction/test.rs:84
↓ 13 callers
Method
type_name
Returns a displayable representation of this value's runtime type. Primitives produce their type name (`"Integer"`, `"String"`), aggregates include t
libs/@local/hashql/mir/src/interpret/value/mod.rs:151
↓ 13 callers
Function
useActiveWorkspace
()
apps/hash-frontend/src/pages/shared/workspace-context.tsx:34
↓ 13 callers
Function
useIsReadonly
()
libs/@hashintel/type-editor/src/shared/read-only-context.tsx:5
↓ 13 callers
Method
without_simplify
(&mut self)
libs/@local/hashql/core/src/type/environment/lattice.rs:108
↓ 12 callers
Method
as_mut
(&mut self)
libs/@local/hashql/core/src/type/visit.rs:719
↓ 12 callers
Function
assert_cp_pass
( name: &'static str, body: Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/copy_propagation/tests.rs:30
↓ 12 callers
Method
assign_role_by_id
Assigns a role to an actor. # Errors - [`PrincipalNotFound`] if the actor or role with the given ID doesn't exist - [`StoreError`] if a database err
libs/@local/graph/postgres-store/src/permissions/mod.rs:730
↓ 12 callers
Function
build_graph
( unification: &mut Unification, edges: impl IntoIterator<Item: IntoIterator<Item: Borrow<i32>
libs/@local/hashql/core/src/type/inference/solver/graph.rs:479
↓ 12 callers
Function
category
(terminal: &'static TerminalDiagnosticCategory)
libs/@local/hashql/eval/src/orchestrator/error.rs:158
↓ 12 callers
Function
computePeriodCost
( monthly: KgDayBucket[] | null | undefined, unitPrice: number | null | undefined, waccRate: number, s
apps/hash-frontend/src/pages/supply-chain/shared/cost.ts:80
↓ 12 callers
Function
createEntityType
(ctx, authentication, params)
apps/hash-api/src/graph/ontology/primitive/entity-type.ts:92
↓ 12 callers
Method
create_user
Creates a new user with the given ID, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if a user with the given ID
libs/@local/graph/postgres-store/src/permissions/mod.rs:130
↓ 12 callers
Function
deserializeQueryEntitiesResponse
( response: SerializedQueryEntitiesResponse<PropertyMap>, )
libs/@local/graph/sdk/typescript/src/entity.ts:1609
↓ 12 callers
Method
ensure_atom
Ensures that a node is an atomic value suitable for ANF. Atoms are the fundamental values in Administrative Normal Form that can be used directly wit
libs/@local/hashql/hir/src/lower/normalization.rs:345
↓ 12 callers
Method
field
(mut self, index: usize, ty: TypeId)
libs/@local/hashql/mir/src/builder/place.rs:66
↓ 12 callers
Method
flush
(&mut self)
libs/@local/hashql/compiletest/src/runner/ui/tui.rs:55
↓ 12 callers
Method
fold_span
(&mut self, span: SpanId)
libs/@local/hashql/hir/src/fold/mod.rs:166
↓ 12 callers
Method
format
Formats an HIR node into a document. This is the primary entry point for formatting nodes. Returns a [`Doc`] that can be rendered to various output f
libs/@local/hashql/hir/src/pretty.rs:101
↓ 12 callers
Function
from_natural
()
libs/@local/codec/src/numeric/real.rs:524
↓ 12 callers
Function
getSettingsLayout
(page: ReactElement)
apps/hash-frontend/src/pages/shared/settings-layout.tsx:169
↓ 12 callers
Function
getWebMachineId
( context: { graphApi: GraphApi }, authentication: { actorId: ActorEntityUuid }, { webId }: { webId: Web
libs/@local/hash-backend-utils/src/machine-actors.ts:57
↓ 12 callers
Method
get_or_create_system_machine
( &mut self, identifier: &str, )
libs/@local/graph/type-fetcher/src/store.rs:184
↓ 12 callers
Method
init
Initialize the telemetry setup in the current scope. # Errors - [`InitTracingError`], if initializing the [`tracing_subscriber::Registry`] fails.
libs/@local/telemetry/src/lib.rs:195
↓ 12 callers
Method
insert
(&mut self, block: BasicBlockId, cost: Cost)
libs/@local/hashql/mir/src/pass/execution/cost/mod.rs:376
↓ 12 callers
Method
insert
(&mut self, from: TargetId, to: TargetId, mut cost: Cost)
libs/@local/hashql/mir/src/pass/execution/terminator_placement/mod.rs:132
↓ 12 callers
Method
intern_generic_arguments
( &self, arguments: &mut [GenericArgument<'heap>], )
libs/@local/hashql/core/src/type/environment/mod.rs:102
↓ 12 callers
Method
into_parts
(self)
libs/@local/harpc/net/src/session/server/transaction/mod.rs:277
↓ 12 callers
Method
into_type
(self, env: &Environment<'heap>)
libs/@local/hashql/core/src/type/inference/variable.rs:31
↓ 12 callers
Method
len
(&self)
libs/@local/hashql/compiletest/src/harness/test/mod.rs:42
↓ 12 callers
Method
lower_expr_to_type
(&mut self, expr: Expr<'heap>)
libs/@local/hashql/ast/src/lowering/special_form_expander/mod.rs:257
↓ 12 callers
Method
map
Transforms the [`Realms<T>`] into a [`Realms<U>`] by applying a function to each value. Maps each value in this container to a new value using the pr
libs/@local/hashql/core/src/module/universe.rs:183
↓ 12 callers
Method
map
Transforms each diagnostic using the provided function. # Examples ``` use hashql_diagnostics::{Diagnostic, DiagnosticIssues, Label, Severity}; # us
libs/@local/hashql/diagnostics/src/issues.rs:472
↓ 12 callers
Method
node_count
(&self)
libs/@local/hashql/core/src/graph/algorithms/tarjan/mod.rs:450
↓ 12 callers
Function
num_words
(domain_size: usize)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:1529
↓ 12 callers
Method
of_mut
Returns mutable transition matrices for all successor edges of `block`.
libs/@local/hashql/mir/src/pass/execution/terminator_placement/mod.rs:296
↓ 12 callers
Method
on
(self, cpu: Cpu)
libs/darwin-kperf/events/src/lib.rs:909
↓ 12 callers
Method
on
( self, conditions: Vec<Expression>, )
libs/@local/graph/postgres-store/src/store/postgres/query/expression/from_item.rs:589
↓ 12 callers
Method
push_back
Appends a value to the end of the list. # Examples ``` # #![feature(allocator_api)] # extern crate alloc; # use alloc::alloc::Global; use hashql_mir
libs/@local/hashql/mir/src/interpret/value/list.rs:131
↓ 12 callers
Method
required
(&self)
libs/@blockprotocol/type-system/rust/src/ontology/property_type/schema/object/mod.rs:48
↓ 12 callers
Function
selectStat
( stats: StepStats | null | undefined, measure: BaseMeasure, )
apps/hash-frontend/src/pages/supply-chain/shared/measure-context.ts:60
← previous
next →
501–600 of 18,976, ranked by callers