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
↓ 8 callers
Function
make_targets
(assignments: &[TargetId])
libs/@local/hashql/mir/src/pass/execution/island/tests.rs:20
↓ 8 callers
Function
make_vertex_id
()
libs/@local/graph/postgres-store/src/store/postgres/traversal_context.rs:456
↓ 8 callers
Method
meet
(&mut self, lhs: TypeId, rhs: TypeId)
libs/@local/hashql/core/src/type/environment/lattice.rs:327
↓ 8 callers
Function
mir_format_d2
( heap: &'heap Heap, env: &Environment<'heap>, writer: impl io::Write, root: DefId, bodies
libs/@local/hashql/compiletest/src/suite/mir_reify.rs:107
↓ 8 callers
Method
node
Returns a reference to the node with the given identifier. Returns [`None`] if no node exists with that identifier. # Examples ```rust # use hashql
libs/@local/hashql/core/src/graph/linked.rs:363
↓ 8 callers
Function
obs
(month: string, value: number)
apps/hash-frontend/src/pages/supply-chain/shared/observation-fixtures.ts:27
↓ 8 callers
Method
of
(&self, id: S)
libs/@local/hashql/core/src/graph/algorithms/tarjan/mod.rs:172
↓ 8 callers
Method
operand
Evaluates an operand to get its value. - For place operands: evaluates the place and borrows the value - For constant operands: converts the constant
libs/@local/hashql/mir/src/interpret/locals.rs:192
↓ 8 callers
Function
person_type_id
()
libs/@local/graph/postgres-store/tests/deletion/main.rs:230
↓ 8 callers
Function
placeArcEndpoint
(placeId: ID)
libs/@hashintel/petrinaut-core/src/arc-endpoints.ts:15
↓ 8 callers
Method
ptr
(&self)
libs/@local/hashql/hir/src/node/mod.rs:90
↓ 8 callers
Function
queryEntityTypeSubgraph
(request: QueryEntityTypeSubgraphParams)
apps/plugin-browser/src/pages/shared/use-entity-types.ts:20
↓ 8 callers
Function
range
(min: u32, max: u32)
libs/@local/hashql/mir/src/pass/analysis/size_estimation/estimate.rs:309
↓ 8 callers
Method
range
(self)
libs/@local/hashql/core/src/type/inference/solver/graph.rs:30
↓ 8 callers
Function
rangeMonths
(range: TimeRange)
apps/hash-frontend/src/pages/supply-chain/shared/time-range.ts:15
↓ 8 callers
Method
reference
Translates a reference into a `TypeId`. This is a dispatcher method that handles both variable references and type references, converting them to an
libs/@local/hashql/ast/src/lowering/type_extractor/translate.rs:700
↓ 8 callers
Method
release
* Release ownership of the queue currently owned by the consumer. This function has * no effect if the consumer is not in possession of a queue.
libs/@local/hash-backend-utils/src/queue/adapter.ts:36
↓ 8 callers
Function
resolve_limit
Resolves an optional request limit against a configured maximum. Returns the configured maximum when no limit is requested. Returns the requested lim
libs/@local/graph/api/src/rest/mod.rs:356
↓ 8 callers
Method
route
( config: SessionConfig, storage: &TransactionStorage, response: Response, )
libs/@local/harpc/net/src/session/client/connection/mod.rs:82
↓ 8 callers
Method
row_mut
(&mut self, row: R)
libs/@local/hashql/core/src/id/bit_vec/matrix/mod.rs:457
↓ 8 callers
Function
sendMessage
( message: Omit<MessageFromFramedBlock, "requestId">, // This runs inside a sandboxed iframe without `allo
apps/hash-frontend/src/components/sandbox/framed-block/util.ts:10
↓ 8 callers
Method
serve
( self, mut rx: mpsc::Receiver<Request>, tx: mpsc::Sender<Result<Response, Report<io::
libs/@local/harpc/net/src/session/client/connection/test.rs:592
↓ 8 callers
Function
setup_send
( config: SessionConfig, descriptor: Descriptor, )
libs/@local/harpc/net/src/session/client/transaction/test.rs:759
↓ 8 callers
Method
source
(&self, def: DefId)
libs/@local/hashql/mir/src/pretty/mod.rs:41
↓ 8 callers
Method
sources
(&self)
libs/error-stack/src/frame/mod.rs:35
↓ 8 callers
Function
statusKey
(siteId: string, node: SiteNode)
apps/hash-frontend/src/pages/supply-chain/shared/status.ts:61
↓ 8 callers
Function
storePayload
(params: { storageProvider: FileStorageProvider; workflowId: string; runId: string; stepId: string;
libs/@local/hash-backend-utils/src/flows/payload-storage.ts:45
↓ 8 callers
Method
suggest
( &self, call: impl FnOnce() -> Vec<ResolutionSuggestion<'heap, T>>, )
libs/@local/hashql/core/src/module/resolver.rs:89
↓ 8 callers
Method
swap
(&mut self)
libs/@local/hashql/mir/src/pretty/d2.rs:42
↓ 8 callers
Method
target
(&self)
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:62
↓ 8 callers
Function
test_entity
(json: &str)
libs/@blockprotocol/type-system/rust/src/knowledge/entity/mod.rs:132
↓ 8 callers
Function
test_link_mappings
( entity_type: &EntityType, links: impl IntoIterator<Item = (&'static str, Vec<&'static str>)>
libs/@blockprotocol/type-system/rust/src/ontology/entity_type/schema/mod.rs:634
↓ 8 callers
Function
test_property_type_references
( entity_type: &EntityType, urls: impl IntoIterator<Item = &'static str>, )
libs/@blockprotocol/type-system/rust/src/ontology/entity_type/schema/mod.rs:613
↓ 8 callers
Method
try_insert
( &mut self, universe: Universe, key: K, value: V, )
libs/@local/hashql/core/src/module/universe.rs:356
↓ 8 callers
Method
type_id
(&self, decl: &LocalSlice<LocalDecl<'heap>>)
libs/@local/hashql/mir/src/body/place.rs:399
↓ 8 callers
Method
union
(&self)
libs/@local/hashql/core/src/type/kind/mod.rs:193
↓ 8 callers
Method
unknown
()
libs/@local/hashql/mir/src/pass/analysis/size_estimation/footprint.rs:200
↓ 8 callers
Method
unnest
Flatten nested intersections into a single level of variants. This function traverses the intersection structure and returns a single-level list of a
libs/@local/hashql/core/src/type/kind/intersection.rs:73
↓ 8 callers
Function
useAccountPages
( webId?: WebId, includeArchived?: boolean, )
apps/hash-frontend/src/components/hooks/use-account-pages.ts:41
↓ 8 callers
Function
useBaseMeasure
()
apps/hash-frontend/src/pages/supply-chain/shared/measure-context.ts:43
↓ 8 callers
Function
useDataTypesContext
()
apps/hash-frontend/src/pages/shared/data-types-context.tsx:109
↓ 8 callers
Function
useFileUploads
()
apps/hash-frontend/src/shared/file-upload-context.tsx:623
↓ 8 callers
Function
useOrgs
()
apps/hash-frontend/src/components/hooks/use-orgs.ts:23
↓ 8 callers
Function
useReadonlyContext
()
libs/@hashintel/query-editor/src/entity-query-editor/readonly-context.tsx:19
↓ 8 callers
Function
useUpdateAuthenticatedUser
()
apps/hash-frontend/src/components/hooks/use-update-authenticated-user.ts:37
↓ 8 callers
Method
vertex_id
(&self, time_axis: TimeAxis)
libs/@local/graph/store/src/subgraph/record.rs:20
↓ 8 callers
Method
vtable
(&self)
libs/darwin-kperf/src/framework/mod.rs:64
↓ 8 callers
Function
walk_node
( visitor: &mut T, node: Node<'heap>, )
libs/@local/hashql/hir/src/fold/mod.rs:465
↓ 8 callers
Method
write_all
(&mut self, buf: &[u8])
libs/@local/hashql/compiletest/src/runner/ui/tui.rs:51
↓ 7 callers
Function
addActorGroupMember
( graphApi: GraphApi, authentication: AuthenticationContext, params: { actorId: ActorEntityUuid; actorGr
libs/@local/graph/sdk/typescript/src/principal/actor-group.ts:31
↓ 7 callers
Method
advance
( &mut self, context: &mut LexerContext, )
libs/@local/hashql/syntax-jexpr/src/lexer/mod.rs:62
↓ 7 callers
Method
alias
(self, alias: Symbol<'heap>)
libs/@local/hashql/core/src/module/std_lib/mod.rs:69
↓ 7 callers
Function
all_targets
()
libs/@local/hashql/mir/src/pass/execution/cost/analysis.rs:197
↓ 7 callers
Method
apply
(&self)
libs/@local/hashql/core/src/type/kind/mod.rs:233
↓ 7 callers
Method
as_bytes
(&self)
libs/@local/harpc/wire-protocol/src/payload.rs:42
↓ 7 callers
Method
as_f64
(self)
libs/@local/hashql/mir/src/interpret/value/int.rs:293
↓ 7 callers
Function
assert_assignment_locals
(body: &Body<'_>, block_id: BasicBlockId, expected: &[&str])
libs/@local/hashql/mir/src/pass/execution/splitting/tests.rs:131
↓ 7 callers
Function
assert_bounded_join_semilattice
(structure: &S, a: T, b: T, c: T)
libs/@local/hashql/mir/src/pass/analysis/dataflow/lattice/laws.rs:369
↓ 7 callers
Function
assert_successors
(sccs: &Sccs, scc: SccId, successors: &[SccId])
libs/@local/hashql/core/src/graph/algorithms/tarjan/tests.rs:143
↓ 7 callers
Method
attach_opaque_with
(self, attachment: F)
libs/error-stack/src/future.rs:268
↓ 7 callers
Method
binary
( self, lhs: impl Into<Operand<'heap>>, op: BinOp, rhs: impl Into<Operand<'hea
libs/@local/hashql/mir/src/builder/rvalue.rs:51
↓ 7 callers
Method
bottom
(&self)
libs/@local/hashql/mir/src/pass/analysis/dataflow/lattice/impls.rs:204
↓ 7 callers
Method
boxed
(self)
libs/@local/harpc/server/src/router.rs:178
↓ 7 callers
Method
build
(self)
libs/@local/telemetry/src/lib.rs:119
↓ 7 callers
Method
capacity
(&self, universe: Universe)
libs/@local/hashql/core/src/module/universe.rs:656
↓ 7 callers
Method
checked_add
(self, rhs: Self)
libs/@local/hashql/mir/src/interpret/value/int.rs:237
↓ 7 callers
Method
clear_row
(&mut self, row: R)
libs/@local/hashql/core/src/id/bit_vec/matrix/mod.rs:509
↓ 7 callers
Method
cmp
(&self, other: &Self)
libs/@local/hashql/core/src/id/vec.rs:632
↓ 7 callers
Function
co_sort
(lhs: &mut [T], rhs: &mut [U])
libs/@local/hashql/core/src/algorithms/sort.rs:35
↓ 7 callers
Function
code
( // eslint-disable-next-line @typescript-eslint/no-shadow code: string, message: string, extensions?:
apps/hash-api/src/graphql/error.ts:4
↓ 7 callers
Method
commit
(&mut self, snapshot: ModuleNamespaceSnapshot)
libs/@local/hashql/core/src/module/namespace.rs:422
↓ 7 callers
Method
compile
( compiler: &mut SelectCompiler<'p, 'q, Self>, _paths: &Self::CompilationParameters, )
libs/@local/graph/postgres-store/src/store/postgres/ontology/data_type.rs:1720
↓ 7 callers
Method
compile_operand
( &mut self, db: &mut DatabaseContext<'heap, A>, span: SpanId, operand: &Opera
libs/@local/hashql/eval/src/postgres/filter/mod.rs:398
↓ 7 callers
Function
computeMonthlyCost
( totalKgDays: number | null | undefined, unitPrice: number | null | undefined, waccRate: number, stor
apps/hash-frontend/src/pages/supply-chain/shared/cost.ts:58
↓ 7 callers
Function
constructPageRelativeUrl
(params: { workspaceShortname: string; pageEntityUuid: string; highlightedBlockEntityId?: EntityId; })
apps/hash-frontend/src/lib/routes.ts:5
↓ 7 callers
Method
contains
(&self, flag: Self::Flag)
libs/@local/harpc/wire-protocol/src/flags.rs:16
↓ 7 callers
Function
createLinearClient
(apiKey: string)
apps/hash-integration-worker/src/activities/linear-activities.ts:219
↓ 7 callers
Function
createLinkEntity
( ...args: Parameters<CreateLinkEntityFunction<Properties>> )
apps/hash-api/src/graph/knowledge/primitive/link-entity.ts:33
↓ 7 callers
Function
createUser
(ctx, authentication, params)
apps/hash-api/src/graph/knowledge/system-types/user.ts:367
↓ 7 callers
Method
create_producer
Create a user producer from the configuration. # Errors Returns an error if the producer cannot be created.
tests/graph/test-data/rust/src/seeding/producer/user.rs:38
↓ 7 callers
Method
current_pointer
(&self)
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:103
↓ 7 callers
Method
data_type_references
Returns an iterator over the data type's references to other data types. This method is useful for traversing the type hierarchy, such as when buildi
libs/@blockprotocol/type-system/rust/src/ontology/data_type/schema/mod.rs:539
↓ 7 callers
Function
decode
(stream: Stream.Stream<Response.Response, E, R>)
libs/@local/harpc/client/typescript/src/net/Response.ts:141
↓ 7 callers
Method
decode
(&mut self, src: &mut BytesMut)
libs/@local/codec/src/harpc/wire.rs:118
↓ 7 callers
Method
delete_principal
Deletes a principal from the system. # Errors - [`PrincipalNotFound`] if the principal with the given ID doesn't exist - [`StoreError`] if a databas
libs/@local/graph/postgres-store/src/permissions/mod.rs:86
↓ 7 callers
Method
delimited
Formats delimited content with rustfmt-style breaking. - Compact: `(a, b, c)` - items separated by `, `. - Expanded: `(\n a,\n b,\n c\n)` -
libs/@local/hashql/core/src/pretty/formatter.rs:376
↓ 7 callers
Method
determine_actor
( &self, actor_entity_uuid: ActorEntityUuid, )
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:1207
↓ 7 callers
Method
distribute_union
( self: Type<'heap, Self>, env: &mut AnalysisEnvironment<'_, 'heap>, )
libs/@local/hashql/core/src/type/kind/generic/mod.rs:303
↓ 7 callers
Function
drawCellFadeOutGradient
( args: DrawArgs<CustomCell>, extraWidth = 0, bgOpacity = 1, )
apps/hash-frontend/src/components/grid/utils/draw-cell-fade-out-gradient.ts:13
↓ 7 callers
Method
encode
Encodes a protocol message into the destination buffer. # Performance Time complexity is O(n) where n is the size of the message being encoded. Spac
libs/@local/codec/src/harpc/wire.rs:80
↓ 7 callers
Function
encode_value
(value: &T)
libs/@local/harpc/wire-protocol/src/codec/encode.rs:100
↓ 7 callers
Method
ensure_db
(&mut self)
tests/graph/benches/graph/scenario/runner.rs:177
↓ 7 callers
Method
estimate
Estimates the cost of a single target assignment for `block`. Convenience wrapper around the internal estimation.
libs/@local/hashql/mir/src/pass/execution/placement/solve/estimate/mod.rs:342
↓ 7 callers
Method
expect_newtype
(&self, name: Symbol<'heap>)
libs/@local/hashql/core/src/module/std_lib/mod.rs:132
↓ 7 callers
Function
fast_hash_map_with_capacity
(capacity: usize)
libs/@local/hashql/core/src/collections/mod.rs:47
↓ 7 callers
Function
fn
(state)
libs/@hashintel/petrinaut-core/src/simulation/authoring/metric/compile-metric.ts:87
↓ 7 callers
Method
frames_mut
Visits every [`Frame`] of the report mutably, in the same order as [`frames()`]. Returning [`ControlFlow::Break`] from `visitor` stops the traversal
libs/error-stack/src/report.rs:626
↓ 7 callers
Method
fresh_hole
(&self, span: SpanId)
libs/@local/hashql/core/src/type/environment/infer.rs:186
↓ 7 callers
Function
generateEntityPath
(params: { entityId: EntityId; includeDraftId: boolean; shortname: string; })
libs/@local/hash-isomorphic-utils/src/frontend-paths.ts:5
↓ 7 callers
Function
generateWorkerRunPath
({ shortname, flowRunId, }: { shortname: string; flowRunId: EntityUuid; })
libs/@local/hash-isomorphic-utils/src/flows/frontend-paths.ts:11
← previous
next →
901–1,000 of 18,976, ranked by callers