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
↓ 9 callers
Method
is_empty
(&self)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/with_clause.rs:30
↓ 9 callers
Method
len
(&self)
libs/@local/hashql/core/src/symbol/table.rs:112
↓ 9 callers
Method
len
(&self)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:1508
↓ 9 callers
Method
literal
(&'alloc self, text: Symbol<'heap>)
libs/@local/hashql/core/src/pretty/formatter.rs:201
↓ 9 callers
Function
make_request_frame
( flags: impl Into<RequestFlags>, payload: impl Into<Bytes>, )
libs/@local/harpc/net/src/session/server/test.rs:84
↓ 9 callers
Method
map_body
(self, closure: impl FnOnce(B) -> B2)
libs/@local/harpc/tower/src/request.rs:78
↓ 9 callers
Function
mir_format_text
( heap: &'heap Heap, env: &Environment<'heap>, writer: impl io::Write, root: DefId, bodies
libs/@local/hashql/compiletest/src/suite/mir_reify.rs:79
↓ 9 callers
Method
name
(&self, group: &TrialGroup)
libs/@local/hashql/compiletest/src/harness/trial/mod.rs:221
↓ 9 callers
Method
name
(&self)
libs/@local/graph/store/src/migration.rs:38
↓ 9 callers
Function
normalizeEmail
(email: string)
libs/@local/hash-isomorphic-utils/src/normalize.ts:17
↓ 9 callers
Method
parent
(self)
libs/@local/graph/authorization/src/policies/action/mod.rs:81
↓ 9 callers
Function
post
(source: ReportSource, raw: unknown)
apps/hash-frontend/src/pages/processes/shared/iframe-error-reporter.ts:39
↓ 9 callers
Method
read
(params: { path: string; userAccountId: ActorEntityUuid; })
libs/@local/hash-backend-utils/src/vault.ts:332
↓ 9 callers
Method
record
(&mut self, delta: S::Delta<A>)
libs/@local/hashql/core/src/id/snapshot_vec.rs:422
↓ 9 callers
Method
register_action
Registers an action in the database. # Errors - [`AlreadyExists`] if an action with the same ID already exists - [`NotFound`] if the parent action d
libs/@local/graph/postgres-store/src/permissions/mod.rs:940
↓ 9 callers
Function
render
(doc: Doc<'_>, options: RenderOptions)
libs/@local/hashql/core/src/pretty/mod.rs:143
↓ 9 callers
Method
request
(&self)
libs/@local/graph/store/src/entity/store.rs:324
↓ 9 callers
Method
resolve_policies_for_actor
( &self, authenticated_actor: AuthenticatedActor, params: ResolvePoliciesParams<'_>,
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:1577
↓ 9 callers
Method
resolve_relative
Resolves a path relative to the current scope. # Errors Returns a `ResolutionError` if the path cannot be resolved or if multiple matches are found.
libs/@local/hashql/core/src/module/namespace.rs:218
↓ 9 callers
Method
reverse_postorder
(&self)
libs/@local/hashql/mir/src/body/basic_blocks.rs:219
↓ 9 callers
Function
run
()
libs/@local/hashql/compiletest/src/runner/cli.rs:185
↓ 9 callers
Method
run_in
Discovers islands in `body` given per-block `targets`. Returns an [`IslandVec`] where each [`Island`] contains the set of blocks that form a connecte
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:134
↓ 9 callers
Function
seed_with_user_only
Seeds the database with only User entity type.
tests/graph/integration/postgres/email_filter_protection.rs:224
↓ 9 callers
Function
sendNotification
(message: Omit<ClientMessage, "id">)
libs/@hashintel/petrinaut-core/src/lsp/language-client.ts:174
↓ 9 callers
Method
session
(&self)
libs/@local/harpc/tower/src/request.rs:54
↓ 9 callers
Function
setup
Connects to the database, runs migrations, and seeds test data if needed. On a reused container where seeding already completed, returns the previous
libs/@local/hashql/eval/tests/orchestrator/seed.rs:131
↓ 9 callers
Method
solve_anti_symmetry
Identifies and unifies variables that must be equal due to anti-symmetry. Uses Tarjan's algorithm on a graph of subtyping and structural relationship
libs/@local/hashql/core/src/type/inference/solver/mod.rs:440
↓ 9 callers
Method
space
Creates a space.
libs/@local/hashql/core/src/pretty/formatter.rs:257
↓ 9 callers
Method
spawn
( ConnectionParts { config, tasks, cancel, }: ConnectionPa
libs/@local/harpc/net/src/session/client/connection/mod.rs:263
↓ 9 callers
Method
successor_blocks
( &self, )
libs/@local/hashql/mir/src/body/terminator/mod.rs:180
↓ 9 callers
Method
sum_approx
(&self, block: BasicBlockId)
libs/@local/hashql/mir/src/pass/execution/cost/mod.rs:480
↓ 9 callers
Method
take
(&self)
libs/@local/hashql/mir/src/pass/execution/statement_placement/common.rs:49
↓ 9 callers
Function
test_condition
( filter: &'f Filter<'p, DataTypeWithMetadata>, rendered: &'static str, parameters: &[
libs/@local/graph/postgres-store/src/store/postgres/query/expression/conditional.rs:997
↓ 9 callers
Method
to_cedar_entity
(&self)
libs/@local/graph/authorization/src/policies/resource/meta.rs:31
↓ 9 callers
Method
to_owned
(&self)
libs/@local/graph/store/src/filter/parameter.rs:106
↓ 9 callers
Function
upgradeEntitiesToNewTypeVersion
( context, authentication, { entityTypeBaseUrls, migrationState, migrateProperties }, )
apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:990
↓ 9 callers
Function
useEnabledFeatureFlags
()
apps/hash-frontend/src/pages/shared/use-enabled-feature-flags.tsx:9
↓ 9 callers
Function
usePropertyTypes
(params?: { includeArchived?: boolean; latestOnly?: boolean; })
apps/hash-frontend/src/shared/property-types-context.tsx:23
↓ 9 callers
Function
usePropertyTypesOptions
()
libs/@hashintel/type-editor/src/shared/property-types-options-context.tsx:29
↓ 9 callers
Function
useStorageSync
( key: Key, initialValue: NonUndefined<LocalStorage[Key]>, )
apps/plugin-browser/src/pages/shared/use-storage-sync.ts:25
↓ 9 callers
Function
validate_entity
( entity: &'static str, entity_type: &'static str, entities: impl IntoIterator<Item =
libs/@local/graph/validation/src/lib.rs:321
↓ 9 callers
Function
verify_truth_table
Creates entities for all rows and verifies the filter returns exactly the expected ones.
tests/graph/integration/postgres/email_filter_protection.rs:639
↓ 9 callers
Method
visit_id
(&mut self, id: &mut NodeId)
libs/@local/hashql/ast/src/lowering/node_renumberer.rs:22
↓ 9 callers
Method
visit_operand
(&mut self, location: Location, operand: &Operand<'heap>)
libs/@local/hashql/mir/src/visit/ref.rs:191
↓ 9 callers
Method
visit_operand
( &mut self, location: Location, operand: &mut Operand<'heap>, )
libs/@local/hashql/mir/src/visit/mut.rs:334
↓ 9 callers
Method
visit_type
(&self, r#type: &Type)
libs/@local/codegen/src/typescript.rs:700
↓ 9 callers
Method
write
(&mut self, _: &[u8])
libs/@local/hashql/core/src/pretty/write.rs:12
↓ 9 callers
Method
write
TODO: consider if we want to check if the channel has been closed, even if we don't send
libs/@local/harpc/net/src/session/writer/mod.rs:245
↓ 8 callers
Method
add
(self, rhs: Num)
libs/@local/hashql/mir/src/interpret/value/int.rs:522
↓ 8 callers
Method
add_edge
Adds a new directed edge to the graph. Creates an edge from `source` to `target` with the given data. The edge is inserted at the head of both the so
libs/@local/hashql/core/src/graph/linked.rs:397
↓ 8 callers
Function
affine
( coeffs: impl IntoIterator<Item = u16>, constant: InformationRange, )
libs/@local/hashql/mir/src/pass/analysis/size_estimation/estimate.rs:299
↓ 8 callers
Method
as_ref
(&self)
libs/@local/hashql/core/src/type/kind/struct.rs:71
↓ 8 callers
Function
assert_admin_reduction_pass
( name: &'static str, bodies: &mut [Body<'heap>], context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/administrative_reduction/tests.rs:245
↓ 8 callers
Function
assert_dbe_pass
( name: &'static str, body: Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/dbe/tests.rs:20
↓ 8 callers
Function
check_schema_intersection_error
( schemas: impl IntoIterator<Item = JsonValue>, expected_errors: impl IntoIterator<Item = E>,
libs/@blockprotocol/type-system/rust/src/ontology/json_schema/constraint/mod.rs:430
↓ 8 callers
Method
clone
(&self)
libs/@local/hashql/mir/src/pass/analysis/size_estimation/estimate.rs:58
↓ 8 callers
Function
computeIqrFences
( values: number[], multiplier = IQR_K, )
apps/hash-frontend/src/pages/supply-chain/shared/outlier-selection/iqr.ts:35
↓ 8 callers
Function
createPropertyType
(ctx, authentication, params)
apps/hash-api/src/graph/ontology/primitive/property-type.ts:46
↓ 8 callers
Function
createTestOrg
( context: ImpureGraphContext<false, true>, authentication: AuthenticationContext, shortNamePrefix: stri
tests/hash-backend-integration/src/tests/util.ts:141
↓ 8 callers
Method
create_ai
Creates a new AI with the given ID, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if an AI with the given ID al
libs/@local/graph/postgres-store/src/permissions/mod.rs:315
↓ 8 callers
Function
create_base_url
(property: usize)
libs/@blockprotocol/type-system/rust/src/knowledge/entity/mod.rs:221
↓ 8 callers
Method
create_data_type
Creates a new [`DataType`]. # Errors: - if any account referred to by `metadata` does not exist. - if the [`BaseUrl`] of the `data_type` already exi
libs/@local/graph/store/src/data_type/store.rs:268
↓ 8 callers
Function
create_test_data_type_catalog
()
tests/graph/test-data/rust/src/seeding/producer/data_type.rs:504
↓ 8 callers
Method
database
(&self)
libs/darwin-kperf/src/sampler/mod.rs:139
↓ 8 callers
Function
decode
()
libs/@local/harpc/wire-protocol/src/request/flags.rs:131
↓ 8 callers
Method
dial
Dial a peer. This will return a sink and stream, where the sink is used to send requests to the peer and the stream is used to receive responses from
libs/@local/harpc/net/src/transport/mod.rs:227
↓ 8 callers
Method
extend_from_slice
Adds multiple `TypeId` values from a slice to the set.
libs/@local/hashql/core/src/type/collections/type_id_set.rs:77
↓ 8 callers
Method
find
(&self, target: TargetId)
libs/@local/hashql/mir/src/pass/execution/island/graph/mod.rs:277
↓ 8 callers
Method
finish
Finishes the sink and returns a [`Result`]. This method consumes the sink, and returns `Ok(())` if no errors were collected, or `Err(Report<[C]>)` co
libs/error-stack/src/sink.rs:280
↓ 8 callers
Method
finish
Finish the compilation process. # Errors Returns an error if any diagnostics were collected during compilation.
libs/@local/hashql/eval/src/graph/read/mod.rs:122
↓ 8 callers
Method
finish
(self, args: usize, return_ty: TypeId)
libs/@local/hashql/mir/src/builder/body.rs:117
↓ 8 callers
Function
formatNumber
(num: number)
libs/@local/hash-isomorphic-utils/src/format-number.ts:1
↓ 8 callers
Method
format_body
Formats a single MIR body as human-readable text. Unlike [`format`], which processes multiple bodies and supports highlighting, this method formats a
libs/@local/hashql/mir/src/pretty/text.rs:300
↓ 8 callers
Method
forward
(self)
libs/@local/hashql/mir/src/pass/analysis/dataflow/framework.rs:562
↓ 8 callers
Function
getCurrentHashPropertyTypeId
({ propertyTypeKey, migrationState, }: { propertyTypeKey: keyof typeof systemPropertyTypes; migrationS
apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:625
↓ 8 callers
Function
getItemFilePath
( fileType: T, ...args: FilePathParams[T] extends Record<string, never> ? [] : [FilePathParams[T]]
libs/@hashintel/petrinaut-core/src/lsp/lib/file-paths.ts:48
↓ 8 callers
Function
getTransitionLogicAvailability
( transition: SDCPN["transitions"][number], sdcpn: SDCPN, extensions: PetrinautExtensionSettings, net:
libs/@hashintel/petrinaut-core/src/extensions.ts:206
↓ 8 callers
Function
identity_callee
Creates an identity function: `fn(x: Int) -> Int { return x; }`.
libs/@local/hashql/mir/src/pass/transform/inline/tests.rs:40
↓ 8 callers
Method
import_absolute
Attempts to add an absolute import. An absolute import directly references an item from the global module registry using a fully-qualified path. # E
libs/@local/hashql/core/src/module/namespace.rs:89
↓ 8 callers
Function
includesPageEntityTypeId
(entityTypeIds: VersionedUrl[])
libs/@local/hash-isomorphic-utils/src/page-entity-type-ids.ts:25
↓ 8 callers
Method
inner
(&self)
libs/@local/harpc/tower/src/either.rs:112
↓ 8 callers
Method
insert
( &mut self, local: Local, edge: EdgeKind<'heap>, constant: Constant<'heap>,
libs/@local/hashql/mir/src/pass/analysis/data_dependency/graph.rs:138
↓ 8 callers
Function
instantiate
(env: &Environment<'heap>, kind: TypeKind<'heap>)
libs/@local/hashql/core/src/type/tests.rs:22
↓ 8 callers
Method
intern_partial
Interns a partial representation and returns the complete object. # Returns The complete reconstructed object of type `T`. # Examples ``` # use ha
libs/@local/hashql/core/src/intern/map.rs:421
↓ 8 callers
Method
intern_type_ids
( &self, type_ids: &[Spanned<TypeId>], )
libs/@local/hashql/hir/src/intern.rs:60
↓ 8 callers
Method
intersect
(&mut self, other: &RowRef<'_, C>)
libs/@local/hashql/core/src/id/bit_vec/matrix/mod.rs:282
↓ 8 callers
Function
intervalForTimestamp
( timestamp: Timestamp, )
libs/@blockprotocol/graph/src/stdlib/interval.ts:54
↓ 8 callers
Method
into_bytes
(self)
libs/@local/harpc/codec/src/error.rs:96
↓ 8 callers
Function
isComponentNode
(node: Node)
libs/@local/hash-isomorphic-utils/src/prosemirror.ts:272
↓ 8 callers
Function
isEntityNode
(node: Node | null)
libs/@local/hash-isomorphic-utils/src/prosemirror.ts:28
↓ 8 callers
Function
isSelected
(id: string)
libs/@hashintel/petrinaut/src/react/state/editor-provider.tsx:293
↓ 8 callers
Method
is_principal
( &self, principal_id: impl Into<PrincipalId>, )
libs/@local/graph/postgres-store/src/permissions/mod.rs:30
↓ 8 callers
Method
iter
(&self)
libs/@local/hashql/core/src/graph/algorithms/tarjan/mod.rs:208
↓ 8 callers
Method
iter
Returns an iterator over the diagnostics. # Examples ``` use hashql_diagnostics::{Diagnostic, DiagnosticIssues, Label, Severity}; # use hashql_diagn
libs/@local/hashql/diagnostics/src/issues.rs:414
↓ 8 callers
Function
join
( #[case] lhs: impl Fn(&TypeBuilder) -> TypeId, #[case] rhs: impl Fn(&TypeBuilder) -> TypeId, #[ca
libs/@local/hashql/core/src/type/kind/tests/closure.rs:54
↓ 8 callers
Function
joinOrg
(ctx, authentication, params)
apps/hash-api/src/graph/knowledge/system-types/user.ts:567
↓ 8 callers
Method
lexer
(&mut self)
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:122
↓ 8 callers
Function
make_entity_id
()
libs/@local/graph/postgres-store/src/store/postgres/traversal_context.rs:452
↓ 8 callers
Function
make_interval
(start: i64, end: i64)
libs/@local/graph/postgres-store/src/store/postgres/traversal_context.rs:445
↓ 8 callers
Function
make_targets
(body: &crate::body::Body<'_>, domain: TargetBitSet)
libs/@local/hashql/mir/src/pass/execution/cost/analysis.rs:215
← previous
next →
801–900 of 18,976, ranked by callers