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
↓ 58 callers
Function
typedEntries
( object: T, )
libs/@local/advanced-types/src/typed-entries.ts:32
↓ 57 callers
Method
len
(&self)
libs/@local/hashql/core/src/type/kind/struct.rs:60
↓ 57 callers
Method
resolve
(self, now: Timestamp<()>)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:76
↓ 56 callers
Method
add_filter
( &mut self, filter: &'p Filter<'f, R>, )
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:404
↓ 55 callers
Method
addEventListener
( type: "message", listener: WorkerMessageHandler<TInboundMessage>, )
libs/@hashintel/petrinaut-core/src/environment.ts:23
↓ 55 callers
Function
getFlowContext
()
apps/hash-ai-worker-ts/src/activities/shared/get-flow-context.ts:137
↓ 55 callers
Method
is_empty
(&self)
libs/@local/hashql/core/src/id/slice.rs:179
↓ 53 callers
Function
generateUuid
()
libs/@local/hash-isomorphic-utils/src/generate-uuid.ts:3
↓ 53 callers
Method
intern_type
(&self, partial: PartialType<'heap>)
libs/@local/hashql/core/src/type/environment/mod.rs:87
↓ 53 callers
Method
remove
Removes and returns the value at the given ID index. Returns `None` if the index is out of bounds or if the value was already `None`. The vector is n
libs/@local/hashql/core/src/id/slice.rs:314
↓ 51 callers
Method
as_ref
(&self)
libs/@local/graph/postgres-store/src/store/validation.rs:51
↓ 50 callers
Method
advance
( &mut self, context: &mut LexerContext, )
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:81
↓ 50 callers
Method
build
Builds the context. It will compute the transitive closure of the entities in the context. # Errors - [`ContextError::TransitiveClosureError`] if t
libs/@local/graph/authorization/src/policies/context.rs:121
↓ 50 callers
Function
channel
Create a new [`PolicyEditionSender`] and [`PolicyActionSender`] pair. The `chunk_size` parameter is used to batch the rows into chunks of the given s
libs/@local/graph/postgres-store/src/snapshot/policy/channel.rs:168
↓ 50 callers
Function
test
( test_data: TestData< impl IntoIterator<Item = Interval<u32, Bound<u32>, Bound<u32>>>, im
libs/@local/graph/temporal-versioning/tests/interval.rs:40
↓ 50 callers
Method
visit_span
(&mut self, span: &mut SpanId)
libs/@local/hashql/ast/src/visit.rs:133
↓ 49 callers
Method
value
Returns the underlying ID value.
libs/@local/hashql/core/src/intern/map.rs:50
↓ 48 callers
Method
finish
(self, interner: &InternSet<'heap, [T]>)
libs/@local/hashql/core/src/intern/beef.rs:543
↓ 48 callers
Function
id
(index: usize)
libs/@local/hashql/core/src/id/bit_vec/matrix/tests.rs:9
↓ 48 callers
Method
reset
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/api.ts:158
↓ 48 callers
Method
solve
Solves the constraint system via fix-point iteration. # Algorithm 1. **Fix-point iteration** until convergence: - Register variables in lattice envi
libs/@local/hashql/core/src/type/inference/solver/mod.rs:1599
↓ 46 callers
Function
try_from
(value: u128)
libs/@local/hashql/mir/src/interpret/value/int.rs:395
↓ 46 callers
Function
useAuthenticatedUser
()
apps/hash-frontend/src/pages/shared/auth-info-context.tsx:323
↓ 45 callers
Method
len
(&self)
libs/@local/hashql/ast/src/lowering/type_extractor/translate.rs:161
↓ 45 callers
Method
transaction
# Errors - if the underlying client cannot start a transaction
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:3156
↓ 44 callers
Method
fill
Populates the condensation graph with regions and boundary edges.
libs/@local/hashql/mir/src/pass/execution/placement/solve/condensation.rs:156
↓ 44 callers
Method
info
(self)
libs/@local/hashql/diagnostics/src/severity.rs:291
↓ 44 callers
Function
request
()
libs/@local/harpc/tower/src/layer/error.rs:194
↓ 43 callers
Method
close
()
apps/hash-frontend/src/pages/shared/block-collection/collab/editor-connection.ts:486
↓ 43 callers
Method
create_entity
Creates a new [`Entity`]. # Errors: - if the [`EntityType`] doesn't exist - if the [`PropertyObjectWithMetadata`] is not valid with respect to the s
libs/@local/graph/store/src/entity/store.rs:700
↓ 43 callers
Method
with
(self, kind: &'heap K2)
libs/@local/hashql/core/src/type/mod.rs:80
↓ 42 callers
Method
insert
(&mut self, col: C)
libs/@local/hashql/core/src/id/bit_vec/matrix/mod.rs:229
↓ 42 callers
Function
sleep
(ms: number)
libs/@local/hash-backend-utils/src/utils.ts:8
↓ 41 callers
Method
extend
(&mut self, universe: Universe, iter: I)
libs/@local/hashql/core/src/module/universe.rs:1202
↓ 41 callers
Function
mock_request_id
(id: u32)
libs/@local/harpc/wire-protocol/src/request/id.rs:95
↓ 41 callers
Function
mutateWithExtensionGuards
(fn: (sdcpn: SDCPN) => void)
libs/@hashintel/petrinaut-core/src/actions.ts:470
↓ 41 callers
Function
queryEntities
( context: { graphApi: GraphApi; }, authentication: AuthenticationContext, params: QueryEntitiesRe
libs/@local/graph/sdk/typescript/src/entity.ts:1510
↓ 41 callers
Method
removeEventListener
( type: "message", listener: WorkerMessageHandler<TInboundMessage>, )
libs/@hashintel/petrinaut-core/src/environment.ts:27
↓ 41 callers
Method
union
(spans: &'spans [SpanId])
libs/@local/hashql/core/src/span/mod.rs:423
↓ 40 callers
Method
iter_enumerated
Returns an iterator over ID-element pairs. Similar to [`Iterator::enumerate`] but yields typed IDs instead of `usize` indices.
libs/@local/hashql/core/src/id/slice.rs:206
↓ 40 callers
Method
iter_mut
(&mut self)
libs/@local/hashql/core/src/id/slice.rs:222
↓ 40 callers
Method
json
()
libs/@hashintel/ds-components/tests/sync-fetch.d.ts:3
↓ 40 callers
Method
start
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/monte-carlo/runtime/experiment.ts:96
↓ 40 callers
Method
unwrap
(self)
libs/@local/hashql/core/src/symbol/mod.rs:212
↓ 40 callers
Method
visit_id
(&mut self, id: &mut NodeId)
libs/@local/hashql/ast/src/visit.rs:128
↓ 39 callers
Function
check_schema_intersection
( schemas: impl IntoIterator<Item = JsonValue>, expected: impl IntoIterator<Item = JsonValue>,
libs/@blockprotocol/type-system/rust/src/ontology/json_schema/constraint/mod.rs:415
↓ 39 callers
Method
opaque
( &'this self, name: impl IntoSymbol<'heap>, repr: impl IntoType<'this, 'env, 'heap>,
libs/@local/hashql/core/src/type/builder.rs:839
↓ 39 callers
Method
with_actor
(mut self, actor: impl Into<AuthenticatedActor>)
libs/@local/graph/authorization/src/policies/components.rs:351
↓ 38 callers
Function
assert_placement
( name: &'static str, snapshot_subdir: &str, body: &Body<'heap>, context: &MirContext<'_, 'hea
libs/@local/hashql/mir/src/pass/execution/statement_placement/tests.rs:71
↓ 38 callers
Function
createProto
( proto: T, readableProperties: ReadableProperties, writeableProperties?: WriteableProperties, )
libs/@local/harpc/client/typescript/src/utils.ts:5
↓ 38 callers
Function
func
( lib: &StandardLibrary<'_, 'heap>, def: &mut ModuleDef<'heap>, name: &'static str, alias: &[
libs/@local/hashql/core/src/module/std_lib/core/mod.rs:20
↓ 38 callers
Method
into_iter
(self)
libs/error-stack/src/fmt/mod.rs:701
↓ 38 callers
Method
into_iter
(self)
libs/@local/hashql/core/src/type/inference/solver/graph.rs:127
↓ 38 callers
Method
next
(&self)
libs/@local/hashql/core/src/id/mod.rs:267
↓ 38 callers
Method
next
(&mut self)
libs/@local/harpc/wire-protocol/src/request/id.rs:72
↓ 38 callers
Function
target_set
(targets: &[TargetId])
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:104
↓ 37 callers
Method
as_mut
Returns a borrowed [`GlobalTransformState`] view of this owned state. This allows passing the state to [`GlobalTransformPass::run`] while retaining o
libs/@local/hashql/mir/src/pass/mod.rs:258
↓ 37 callers
Function
fetch
(request: Request)
apps/petrinaut-website/api/chat.ts:128
↓ 37 callers
Method
intern_type_ids
(&self, ids: &[TypeId])
libs/@local/hashql/core/src/type/environment/mod.rs:97
↓ 37 callers
Method
into_solver
(self)
libs/@local/hashql/core/src/type/environment/infer.rs:235
↓ 37 callers
Function
iter
()
libs/@local/hashql/compiletest/src/suite/mod.rs:185
↓ 37 callers
Function
run_placement
( context: &MirContext<'_, 'heap>, placement: &mut impl StatementPlacement<'heap, &'heap Heap>, bo
libs/@local/hashql/mir/src/pass/execution/statement_placement/tests.rs:115
↓ 36 callers
Method
attach_with
(self, attachment: F)
libs/error-stack/src/future.rs:246
↓ 36 callers
Method
into_vec
(self)
libs/@local/hashql/diagnostics/src/issues.rs:627
↓ 36 callers
Method
spacing
(mut self, spacing: impl Into<Option<Spacing>>)
libs/error-stack/src/fmt/mod.rs:481
↓ 35 callers
Method
intern
Provisions an ID and interns a partial representation created with that ID. This method is particularly useful for creating recursive data structures
libs/@local/hashql/core/src/intern/map.rs:571
↓ 35 callers
Method
try_collect
(self)
libs/error-stack/src/ext/tuple.rs:63
↓ 34 callers
Method
as_slice
(&self)
libs/@local/hashql/core/src/id/vec.rs:377
↓ 34 callers
Method
build_in
Constructs a [`PlacementSolver`] from this context. Allocates working storage (targets and options slices) and builds the `Condensation` graph from `
libs/@local/hashql/mir/src/pass/execution/placement/solve/mod.rs:98
↓ 34 callers
Method
number
(&self)
libs/@local/hashql/core/src/type/builder.rs:868
↓ 33 callers
Method
any
(&self, closure: impl FnMut(&T) -> bool)
libs/@local/hashql/core/src/module/universe.rs:214
↓ 33 callers
Method
exit
(&mut self, lhs: Type<'heap>, rhs: Type<'heap>)
libs/@local/hashql/core/src/type/recursion.rs:108
↓ 33 callers
Method
iter
(&self)
libs/@local/hashql/ast/src/lowering/type_extractor/translate.rs:169
↓ 33 callers
Method
map
(self, func: impl FnMut(T) -> U)
libs/@local/hashql/core/src/id/array.rs:169
↓ 33 callers
Method
seed
( &mut self, data_types: D, property_types: P, entity_types: E, )
tests/graph/integration/postgres/lib.rs:206
↓ 33 callers
Method
take_diagnostics
(&mut self)
libs/@local/hashql/core/src/type/environment/lattice.rs:113
↓ 33 callers
Function
test_compilation
( compiler: &SelectCompiler<'p, 'q, T>, expected_statement: &'static str, expected_par
libs/@local/graph/postgres-store/src/store/postgres/query/statement/select.rs:133
↓ 33 callers
Function
useAuthInfo
()
apps/hash-frontend/src/pages/shared/auth-info-context.tsx:305
↓ 32 callers
Function
capture_error
(closure: impl FnOnce() -> Result<(), Report<E>>)
libs/error-stack/tests/common.rs:184
↓ 32 callers
Function
defineConfig
( config: readonly Linter.Config<R>[], )
libs/@local/eslint/src/utils.ts:9
↓ 32 callers
Method
evaluate
Evaluates the policy set for the given request. # Errors Returns an error if the evaluation fails.
libs/@local/graph/authorization/src/policies/set/mod.rs:128
↓ 32 callers
Method
iter
(&'k self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:114
↓ 32 callers
Function
make_block_costs
( body: &Body<'_>, domains: &[TargetBitSet], statements: &TargetArray<StatementCostVec<&'heap Heap
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:124
↓ 32 callers
Function
resolveTargetNet
( sdcpn: SDCPN, targetSubnetId: string | null | undefined, )
libs/@hashintel/petrinaut-core/src/actions.ts:140
↓ 31 callers
Function
assert_encode
(value: &T, expected: Expect)
libs/@local/harpc/wire-protocol/src/codec/encode.rs:116
↓ 31 callers
Function
parse
(item: TokenStream)
libs/@local/hashql/macros/src/sym.rs:55
↓ 30 callers
Method
actor_id
(&self)
libs/@local/graph/authorization/src/policies/components.rs:85
↓ 30 callers
Function
bob
()
libs/@local/graph/postgres-store/tests/deletion/main.rs:260
↓ 30 callers
Method
boolean
(&self)
libs/@local/hashql/core/src/type/builder.rs:944
↓ 30 callers
Function
create_report
()
libs/error-stack/tests/common.rs:8
↓ 30 callers
Function
deserialize
(segments: impl IntoIterator<Item = &'p str>)
libs/@local/graph/store/src/entity/query.rs:1072
↓ 30 callers
Method
pinned_timestamp
(&self)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:491
↓ 29 callers
Method
create_web
( &mut self, actor: ActorId, parameter: CreateWebParameter, )
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:816
↓ 29 callers
Function
getLayoutWithSidebar
( page: ReactElement, layoutWithSidebarProps: LayoutWithSidebarProps = {}, )
apps/hash-frontend/src/shared/layout.tsx:23
↓ 29 callers
Method
insert
(&mut self, elem: T)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:203
↓ 29 callers
Method
is_empty
(&self)
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/read.rs:76
↓ 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
Method
warn
()
libs/error-stack/src/sink.rs:55
↓ 28 callers
Method
as_str
(&self)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/table_reference.rs:51
↓ 28 callers
Method
close
Explicitly closes the library handle and returns any error from `dlclose`. After this call the destructor is disarmed; dropping the handle is a no-op
libs/darwin-kperf/sys/src/load.rs:170
← previous
next →
101–200 of 18,976, ranked by callers