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
↓ 32 callers
Function
statusKey
(siteId: string, node: SiteNode)
apps/hash-frontend/src/pages/supply-chain/shared/status.ts:61
↓ 32 callers
Function
typedEntries
( object: T, )
libs/@blockprotocol/graph/src/util/typed-entries.ts:32
↓ 32 callers
Function
useStore
(store: ReadableStore<T>)
libs/@hashintel/petrinaut/src/react/use-store.ts:5
↓ 31 callers
Method
add_constraint
(&mut self, mut constraint: Constraint<'heap>)
libs/@local/hashql/core/src/type/environment/infer.rs:90
↓ 31 callers
Function
assert_decode
(bytes: impl Into<Bytes>, expected: &T, context: T::Context)
libs/@local/harpc/wire-protocol/src/codec/decode.rs:100
↓ 31 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
↓ 31 callers
Function
createSystemPropertyTypeIfNotExists
(context, authentication, { propertyTypeDefinition, webId })
apps/hash-api/src/seed-data/seed-flow-test-types.ts:56
↓ 31 callers
Function
createTestImpureGraphContext
()
tests/hash-backend-integration/src/tests/util.ts:26
↓ 31 callers
Method
create_web
( &mut self, actor: ActorId, parameter: CreateWebParameter, )
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:816
↓ 31 callers
Function
deserialize
(segments: impl IntoIterator<Item = &'p str>)
libs/@local/graph/store/src/entity/query.rs:1072
↓ 31 callers
Function
generateEntityId
(entityUuid: string)
apps/hash-ai-worker-ts/src/activities/flow-activities/research-entities-action/shared/deduplicate-entities.ai.test.ts:14
↓ 31 callers
Method
global_id
(self, local_id: LocalId, scope: Scope, sub_scope: SubScope)
tests/graph/test-data/rust/src/seeding/context.rs:560
↓ 31 callers
Method
intern_provisioned
( &self, id: Provisioned<TypeId>, r#type: PartialType<'heap>, )
libs/@local/hashql/core/src/type/environment/simplify.rs:212
↓ 31 callers
Function
make_request_begin
( flags: impl Into<RequestFlags>, payload: impl Into<Bytes>, )
libs/@local/harpc/net/src/session/server/test.rs:62
↓ 31 callers
Function
onChange
(variant: BlockVariant, blockMeta: HashBlockMeta)
apps/hash-frontend/src/pages/shared/block-collection/insert-block.tsx:30
↓ 31 callers
Method
partial
Creates a type by providing a closure that constructs the type's kind. This is the foundational method used by all other type construction methods. T
libs/@local/hashql/core/src/type/builder.rs:807
↓ 30 callers
Method
aliased
(self, alias: Alias)
libs/@local/graph/postgres-store/src/store/postgres/query/table.rs:318
↓ 30 callers
Method
as_bytes
(&self)
libs/@local/hashql/core/src/symbol/mod.rs:227
↓ 30 callers
Function
assert_begin
(response: &Response, expected: ExpectedBegin<impl AsRef<[u8]> + ?Sized>)
libs/@local/harpc/net/src/session/server/transaction/test.rs:121
↓ 30 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
↓ 30 callers
Function
bob
()
libs/@local/graph/postgres-store/tests/deletion/main.rs:260
↓ 30 callers
Method
contains
(&self, block: BasicBlockId)
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:69
↓ 30 callers
Function
create_report
()
libs/error-stack/tests/test_debug.rs:74
↓ 30 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
↓ 30 callers
Method
insert
( &mut self, hook: impl Fn(&T, &mut HookContext<T>) + Send + Sync + 'static, )
libs/error-stack/src/fmt/hook.rs:432
↓ 30 callers
Function
mustBeDefined
(x: T | undefined, message?: string)
libs/@blockprotocol/graph/src/util/must-be-defined.ts:1
↓ 30 callers
Method
pinned_timestamp
(&self)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:491
↓ 30 callers
Method
project
( self, interner: &Interner<'heap>, r#type: TypeId, kind: ProjectionKind<'heap
libs/@local/hashql/mir/src/body/place.rs:332
↓ 30 callers
Method
record
(&mut self, delta: S::Delta<A>)
libs/@local/hashql/core/src/id/snapshot_vec.rs:422
↓ 30 callers
Function
render
(doc: Doc<'_>, options: RenderOptions)
libs/@local/hashql/core/src/pretty/mod.rs:143
↓ 30 callers
Function
renderPlaybackProvider
* Renders the PlaybackProvider with a mock SimulationContext and returns * a function to get the current PlaybackContext value.
libs/@hashintel/petrinaut/src/react/playback/provider.test.tsx:145
↓ 30 callers
Method
rng
(self)
tests/graph/test-data/rust/src/seeding/context.rs:380
↓ 30 callers
Method
unknown
(&self)
libs/@local/hashql/core/src/type/builder.rs:1381
↓ 29 callers
Method
as_entity
(&self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:90
↓ 29 callers
Method
as_int
(self)
libs/@local/hashql/mir/src/interpret/value/int.rs:204
↓ 29 callers
Method
as_mut_client
(&mut self)
libs/@local/graph/postgres-store/src/store/postgres/pool.rs:125
↓ 29 callers
Method
build
(self)
libs/@local/hashql/mir/src/pretty/text.rs:203
↓ 29 callers
Function
createSDCPN
(options?: { types?: Array<PartialColor>; differentialEquations?: Array<Partial<DifferentialEquation>>;
libs/@hashintel/petrinaut-core/src/lsp/lib/helper/create-sdcpn.ts:17
↓ 29 callers
Function
deserializeQueryEntitySubgraphResponse
( response: SerializedQueryEntitySubgraphResponse, )
libs/@local/graph/sdk/typescript/src/entity.ts:401
↓ 29 callers
Function
fn
(state)
libs/@hashintel/petrinaut-core/src/simulation/authoring/metric/compile-metric.ts:87
↓ 29 callers
Function
getLayoutWithSidebar
( page: ReactElement, layoutWithSidebarProps: LayoutWithSidebarProps = {}, )
apps/hash-frontend/src/shared/layout.tsx:23
↓ 29 callers
Method
logTrace
(message: string)
libs/@blockprotocol/graph/src/codegen/context/compile.ts:72
↓ 29 callers
Function
make_target_costs
( body: &Body<'heap>, patterns: TargetArray<[impl AsRef<[bool]>; N]>, heap: &'heap Heap, )
libs/@local/hashql/mir/src/pass/execution/splitting/tests.rs:66
↓ 29 callers
Function
process_issues
( output: &mut Vec<SuiteDiagnostic>, issues: DiagnosticIssues<C, SpanId>, )
libs/@local/hashql/compiletest/src/suite/common.rs:29
↓ 29 callers
Method
space
Creates a space.
libs/@local/hashql/core/src/pretty/formatter.rs:257
↓ 29 callers
Function
versionedUrlFromComponents
( baseUrl: BaseUrl, version: OntologyTypeVersion, )
libs/@blockprotocol/type-system/typescript/src/native/url.ts:328
↓ 28 callers
Method
attempt
(&mut self, result: Result<T, R>)
libs/error-stack/src/sink.rs:250
↓ 28 callers
Method
build
(self)
libs/@local/harpc/server/src/router.rs:129
↓ 28 callers
Method
cancel
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/monte-carlo/runtime/experiment.ts:97
↓ 28 callers
Method
change_context_lazy
(self, context: F)
libs/error-stack/src/future.rs:291
↓ 28 callers
Function
computeStats
(values: number[])
apps/hash-frontend/src/pages/supply-chain/shared/stats.ts:29
↓ 28 callers
Method
context
(self, context: C)
libs/@local/graph/migrations/src/plan.rs:224
↓ 28 callers
Method
decode
( &self, type_id: TypeId, value: JsonValueRef<'_>, )
libs/@local/hashql/eval/src/orchestrator/codec/decode/mod.rs:158
↓ 28 callers
Method
end
Returns a reference to the end bound of this interval.
libs/@local/graph/temporal-versioning/src/interval.rs:102
↓ 28 callers
Method
extend
(&mut self, iter: I)
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:2420
↓ 28 callers
Function
getEntityTypeById
( graphApi: GraphApi, authentication: AuthenticationContext, params: Omit< QueryEntityTypesParams,
libs/@local/graph/sdk/typescript/src/entity-type.ts:237
↓ 28 callers
Method
insert
(&mut self, body: &Body<'_>)
libs/@local/hashql/mir/src/pass/transform/administrative_reduction/mod.rs:102
↓ 28 callers
Method
provision
(&mut self, id: TypeId)
libs/@local/hashql/core/src/type/environment/simplify.rs:204
↓ 28 callers
Method
simplify
(self: Type<'heap, Self>, env: &mut SimplifyEnvironment<'_, 'heap>)
libs/@local/hashql/core/src/type/kind/generic/mod.rs:369
↓ 28 callers
Method
span
(&mut self, range: Range<usize>)
libs/@local/hashql/syntax-jexpr/src/parser/string/context.rs:30
↓ 28 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
↓ 28 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
↓ 27 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
↓ 27 callers
Method
cast
(self, r#type: PostgresType)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/conditional.rs:659
↓ 27 callers
Function
check
Create a server, sync the SDCPN, and run diagnostics.
libs/@hashintel/petrinaut-core/src/lsp/lib/checker.test.ts:11
↓ 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
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
↓ 27 callers
Function
empty
()
libs/@local/hashql/core/src/graph/algorithms/tarjan/tests.rs:107
↓ 27 callers
Method
into_iter
(self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:171
↓ 27 callers
Function
layer
()
libs/@local/harpc/net/src/transport/test.rs:73
↓ 27 callers
Method
len
(&self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:105
↓ 27 callers
Method
logDebug
(message: string)
libs/@blockprotocol/graph/src/codegen/context/compile.ts:65
↓ 27 callers
Function
makeEntity
( entityTypeId: string, properties: PropRecord, outgoingLinks: LinkSpec[] = [], draft = false,
apps/hash-api/src/seed-data/seed-crm-data.ts:1187
↓ 27 callers
Method
opaque
(self, id: Symbol<'heap>, value: impl Into<Operand<'heap>>)
libs/@local/hashql/mir/src/builder/rvalue.rs:162
↓ 27 callers
Function
pick
(arr: readonly T[])
apps/hash-api/src/seed-data/seed-crm-data.ts:162
↓ 27 callers
Method
provide
(&'a self, request: &mut core::error::Request<'a>)
libs/@local/harpc/codec/src/error.rs:152
↓ 27 callers
Method
push_body
</pre>
libs/error-stack/src/fmt/hook.rs:356
↓ 27 callers
Method
r#struct
( &'this self, fields: impl IntoStructFields<'this, 'env, 'heap>, )
libs/@local/hashql/core/src/type/builder.rs:1039
↓ 27 callers
Method
r#type
(&self, id: TypeId)
libs/@local/hashql/core/src/type/environment/mod.rs:82
↓ 27 callers
Method
remove
( &self, number: u32, )
libs/@local/graph/migrations/src/postgres.rs:200
↓ 27 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
↓ 27 callers
Method
resolve_policies_for_actor
( &self, authenticated_actor: AuthenticatedActor, params: ResolvePoliciesParams<'_>,
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:1577
↓ 27 callers
Method
ret
Terminates the block with a return.
libs/@local/hashql/mir/src/builder/basic_block.rs:119
↓ 27 callers
Function
splitEntityId
( entityId: EntityId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:102
↓ 27 callers
Method
variable_interval
(&self)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:499
↓ 27 callers
Method
write
Generates TypeScript code from the provided type collection.
libs/@local/codegen/src/typescript.rs:86
↓ 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
Method
build_policy_set
( &self, actions: impl IntoIterator<Item = ActionName>, )
libs/@local/graph/authorization/src/policies/components.rs:276
↓ 26 callers
Method
context
(&self)
libs/@local/harpc/net/src/session/server/transaction/mod.rs:273
↓ 26 callers
Function
date
(title: string, description: string)
apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/migrations/026-add-supply-chain-types.migration.ts:942
↓ 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
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
Function
getOutgoingLinkAndTargetEntities
( subgraph: Subgraph, entityId: EntityId, interval?: TemporalInterval<TemporalBound, TemporalBound>, )
libs/@blockprotocol/graph/src/stdlib/subgraph/edge/link-entity.ts:300
↓ 26 callers
Method
into_report
(self)
libs/error-stack/src/report.rs:1043
↓ 26 callers
Function
logProgress
(logs: StepProgressLog[])
apps/hash-ai-worker-ts/src/activities/shared/log-progress.ts:58
↓ 26 callers
Method
lookup
(&self, index: I)
libs/@local/hashql/core/src/id/slice.rs:350
↓ 26 callers
Method
of_mut
(&mut self, universe: Universe)
libs/@local/hashql/core/src/module/universe.rs:161
↓ 26 callers
Function
parseSDCPNFile
(data: unknown)
libs/@hashintel/petrinaut-core/src/file-format/parse-sdcpn-file.ts:118
← previous
next →
301–400 of 18,976, ranked by callers