MCPcopy Create free account

hub / github.com/hashintel/hash / functions

Functions18,976 in github.com/hashintel/hash

↓ 84 callersMethodaddEventListener
( type: "message", listener: WorkerMessageHandler<TInboundMessage>, )
libs/@hashintel/petrinaut-core/src/environment.ts:23
↓ 84 callersMethodentry
(&mut self, universe: Universe, key: K)
libs/@local/hashql/core/src/module/universe.rs:543
↓ 84 callersMethodintern_slice
Interns a slice of values into the set. This method is similar to `intern` but works with slices. It ensures that only one copy of a slice with ident
libs/@local/hashql/core/src/intern/set.rs:389
↓ 84 callersFunctionobs
(month: string, value: number)
apps/hash-frontend/src/pages/supply-chain/shared/observation-fixtures.ts:27
↓ 83 callersMethodnow
()
libs/@local/graph/temporal-versioning/src/timestamp.rs:80
↓ 82 callersFunctiontypedEntries
( object: T, )
libs/@local/advanced-types/src/typed-entries.ts:32
↓ 81 callersFunctionempty
(span: SpanId)
libs/@local/hashql/syntax-jexpr/src/parser/array/error.rs:134
↓ 80 callersMethoddelete_entities
( &mut self, actor_id: AuthenticatedActor, params: DeleteEntitiesParams<'_>, )
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/mod.rs:2259
↓ 79 callersFunctiongenerateEntityId
(entityUuid: string)
apps/hash-ai-worker-ts/src/activities/flow-activities/shared/propose-entities-from-claims/propose-entities-from-claims.ai.test.ts:28
↓ 78 callersMethodbuild
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
↓ 78 callersMethodspacing
(mut self, spacing: impl Into<Option<Spacing>>)
libs/error-stack/src/fmt/mod.rs:481
↓ 78 callersMethodtake_constraints
(&mut self)
libs/@local/hashql/core/src/type/environment/infer.rs:82
↓ 77 callersMethodadd_filter
( &mut self, filter: &'p Filter<'f, R>, )
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:404
↓ 77 callersFunctiongraphQLContextToImpureGraphContext
({ dataSources, provenance, temporal, }: GraphQLContext)
apps/hash-api/src/graphql/resolvers/util.ts:4
↓ 77 callersMethodtake
Drains and returns all collected events, leaving the buffer empty.
libs/@local/hashql/eval/src/orchestrator/events.rs:143
↓ 76 callersMethodreset
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/api.ts:158
↓ 76 callersFunctiontarget_set
(targets: &[TargetId])
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:104
↓ 75 callersMethodadvance
( &mut self, context: &mut LexerContext, )
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:81
↓ 75 callersFunctionextractWebIdFromEntityId
(entityId: EntityId)
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:114
↓ 75 callersMethodvalue
Returns the underlying ID value.
libs/@local/hashql/core/src/intern/map.rs:50
↓ 74 callersFunctionalice
()
libs/@local/graph/postgres-store/tests/deletion/main.rs:256
↓ 74 callersMethodintern_type
(&self, partial: PartialType<'heap>)
libs/@local/hashql/core/src/type/environment/mod.rs:87
↓ 74 callersMethodtoJSON
()
libs/@local/graph/sdk/typescript/src/entity.ts:1397
↓ 73 callersMethodassign_place
( mut self, place: Place<'heap>, rvalue: impl FnOnce(RValueBuilder<'env, 'heap>) -> RV
libs/@local/hashql/mir/src/builder/basic_block.rs:58
↓ 72 callersMethodroute
( config: SessionConfig, storage: &TransactionStorage, response: Response, )
libs/@local/harpc/net/src/session/client/connection/mod.rs:82
↓ 70 callersFunctiongenerateUuid
()
libs/@local/hash-isomorphic-utils/src/generate-uuid.ts:3
↓ 70 callersMethodrequired
(&self)
libs/@blockprotocol/type-system/rust/src/ontology/property_type/schema/object/mod.rs:48
↓ 69 callersFunctionbb
(index: u32)
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:120
↓ 69 callersFunctionfor_entity_by_entity_id
()
libs/@local/graph/postgres-store/src/store/postgres/query/statement/select.rs:1791
↓ 69 callersMethodinto_iter
(self)
libs/@local/hashql/core/src/id/vec.rs:703
↓ 69 callersFunctionsimplifyProperties
( properties: T, )
libs/@local/hash-isomorphic-utils/src/simplify-properties.ts:45
↓ 69 callersFunctiontext
(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:442
↓ 69 callersFunctionvalidate_data
( value: JsonValue, data_type: &str, data_types: impl IntoIterator<Item = &'static str
libs/@local/graph/validation/src/lib.rs:426
↓ 68 callersMethodcollect_constraints
( self: Type<'heap, Self>, supertype: Type<'heap, Self>, env: &mut InferenceEnvironmen
libs/@local/hashql/core/src/type/kind/generic/mod.rs:452
↓ 68 callersMethodextend
(&mut self, universe: Universe, iter: I)
libs/@local/hashql/core/src/module/universe.rs:1202
↓ 68 callersMethodnumber
(&self)
libs/@local/hashql/core/src/type/builder.rs:868
↓ 68 callersFunctionps
(step: string)
libs/@hashintel/ds-components/src/preset/tokens/utils.ts:47
↓ 67 callersFunctionchannel
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
↓ 67 callersFunctiongetFlowContext
()
apps/hash-ai-worker-ts/src/activities/shared/get-flow-context.ts:137
↓ 67 callersFunctionloggedInAndSignedUpMiddleware
(next)
apps/hash-api/src/graphql/resolvers/middlewares/logged-in-and-signed-up.ts:11
↓ 67 callersMethodremove
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
↓ 66 callersMethodclose
()
apps/hash-frontend/src/pages/shared/block-collection/collab/editor-connection.ts:486
↓ 66 callersMethodfill
Populates the condensation graph with regions and boundary edges.
libs/@local/hashql/mir/src/pass/execution/placement/solve/condensation.rs:156
↓ 66 callersFunctionseed
(database: &mut DatabaseTestWrapper)
libs/@local/graph/postgres-store/tests/deletion/main.rs:272
↓ 65 callersMethodremoveEventListener
( type: "message", listener: WorkerMessageHandler<TInboundMessage>, )
libs/@hashintel/petrinaut-core/src/environment.ts:27
↓ 65 callersFunctionrun_body
(body: Body<'_>)
libs/@local/hashql/mir/src/interpret/tests.rs:49
↓ 63 callersMethodadd_selection_path
(&mut self, path: &'p R::QueryPath<'q>)
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:300
↓ 63 callersMethodis_empty
(&self)
libs/@local/hashql/core/src/id/slice.rs:179
↓ 63 callersMethodunwrap
(self)
libs/@local/hashql/core/src/symbol/mod.rs:212
↓ 62 callersMethodas_ref
(&self)
libs/@local/graph/postgres-store/src/store/validation.rs:51
↓ 62 callersMethodencode
(self, input: S)
libs/@local/harpc/codec/src/lib.rs:53
↓ 61 callersMethodjson
()
libs/@hashintel/ds-components/tests/sync-fetch.d.ts:3
↓ 60 callersMethodas_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
↓ 60 callersMethodresolve
(self, now: Timestamp<()>)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:76
↓ 60 callersMethodseed
( &mut self, )
libs/@local/graph/postgres-store/tests/principals/main.rs:31
↓ 60 callersFunctiontry_from
(value: u128)
libs/@local/hashql/mir/src/interpret/value/int.rs:395
↓ 59 callersMethodlen
Returns the number of distinct parameters allocated so far.
libs/@local/hashql/eval/src/postgres/parameters.rs:211
↓ 59 callersMethodwrite_all
(&mut self, buf: &[u8])
libs/@local/hashql/compiletest/src/runner/ui/tui.rs:51
↓ 58 callersMethodhash
(&self, state: &mut H)
libs/@local/hashql/core/src/id/vec.rs:643
↓ 57 callersMethodcreate_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
↓ 57 callersMethodimport_absolute_static
( &mut self, name: &'static str, query: impl IntoIterator<Item = &'static str, IntoIte
libs/@local/hashql/core/src/module/namespace.rs:191
↓ 57 callersMethodinto_iter
(self)
libs/error-stack/src/fmt/mod.rs:701
↓ 57 callersMethodmap_category
Transforms the category of each diagnostic. This is useful when moving diagnostics between compilation phases that use different category types. # E
libs/@local/hashql/diagnostics/src/issues.rs:137
↓ 56 callersFunctionpoll_frame_unpin
( body: &mut B, )
libs/@local/harpc/tower/src/body/mod.rs:327
↓ 55 callersMethodfinish
(self, interner: &InternSet<'heap, [T]>)
libs/@local/hashql/core/src/intern/beef.rs:543
↓ 55 callersMethodstart
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/monte-carlo/runtime/experiment.ts:96
↓ 53 callersMethodas_slice
(&self)
libs/@local/hashql/core/src/id/vec.rs:377
↓ 53 callersMethodnext
(&mut self)
libs/@local/harpc/wire-protocol/src/request/id.rs:72
↓ 52 callersMethodinto_owned
(self)
libs/@local/graph/types/src/embedding.rs:24
↓ 51 callersMethoditer
(&'k self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:114
↓ 51 callersMethodunion
(spans: &'spans [SpanId])
libs/@local/hashql/core/src/span/mod.rs:423
↓ 50 callersMethodattach_with
(self, attachment: F)
libs/error-stack/src/future.rs:246
↓ 50 callersMethodbuild_block
(&mut self, block: BasicBlockId)
libs/@local/hashql/mir/src/builder/body.rs:99
↓ 50 callersMethoditer
(&self)
libs/@local/hashql/ast/src/lowering/type_extractor/translate.rs:169
↓ 50 callersMethoditer_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
↓ 50 callersMethodreserve_block
Reserves a new basic block and returns its ID. The block is initialized with a placeholder terminator. Use [`build_block`](Self::build_block) to fill
libs/@local/hashql/mir/src/builder/body.rs:82
↓ 50 callersMethodvisit_expr
(&mut self, expr: &mut Expr<'heap>)
libs/@local/hashql/ast/src/visit.rs:189
↓ 50 callersMethodvisit_span
(&mut self, span: &mut SpanId)
libs/@local/hashql/ast/src/visit.rs:133
↓ 49 callersFunctioncheck_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
↓ 49 callersMethodconst_int
(self, value: i128)
libs/@local/hashql/mir/src/builder/base.rs:41
↓ 49 callersMethodgoto
(id: impl Into<BasicBlockId>)
libs/@local/hashql/mir/src/reify/current.rs:33
↓ 49 callersMethodis_empty
(&self)
libs/@local/graph/store/src/filter/protection.rs:674
↓ 49 callersMethoditer_mut
(&mut self)
libs/@local/hashql/core/src/id/slice.rs:222
↓ 49 callersMethodlen
(&self)
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/read.rs:72
↓ 49 callersFunctionsleep
(ms: number)
libs/@local/hash-backend-utils/src/utils.ts:8
↓ 48 callersFunctionqueryEntities
( context: { graphApi: GraphApi; }, authentication: AuthenticationContext, params: QueryEntitiesRe
libs/@local/graph/sdk/typescript/src/entity.ts:1510
↓ 48 callersMethodsolve
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
↓ 47 callersMethodchange_category
( self, category: impl FnOnce(Self::DiagnosticCategory) -> D, )
libs/@local/hashql/syntax-jexpr/src/error.rs:58
↓ 47 callersMethodexit
(&mut self, lhs: Type<'heap>, rhs: Type<'heap>)
libs/@local/hashql/core/src/type/recursion.rs:108
↓ 47 callersFunctionsetError
(nextError: string | null)
libs/@hashintel/petrinaut/src/ui/hooks/use-draft-field.ts:65
↓ 46 callersFunctionall_targets
()
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:112
↓ 46 callersMethodinsert_range
(&mut self, range: TextRange)
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:111
↓ 46 callersFunctionmock_request_id
(id: u32)
libs/@local/harpc/wire-protocol/src/request/id.rs:95
↓ 46 callersFunctionuseAuthenticatedUser
()
apps/hash-frontend/src/pages/shared/auth-info-context.tsx:323
↓ 45 callersFunctiongetRequiredEnv
(name: string)
libs/@local/hash-backend-utils/src/environment.ts:19
↓ 45 callersMethodinto_iter
(self)
libs/@local/hashql/core/src/type/inference/solver/graph.rs:127
↓ 45 callersMethodis_empty
(&self)
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/read.rs:76
↓ 45 callersMethodmake
(&self, bytes: Bytes)
libs/@local/harpc/net/src/session/writer/mod.rs:203
↓ 45 callersMethodtransaction
# Errors - if the underlying client cannot start a transaction
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:3156
↓ 44 callersFunctiongenerateEntityLabel
( typeData: Subgraph | ClosedMultiEntityType | PartialEntityType | null, entity: { properties: HashEnt
libs/@local/hash-isomorphic-utils/src/generate-entity-label.ts:79
← previousnext →101–200 of 18,976, ranked by callers