MCPcopy Create free account

hub / github.com/hashintel/hash / functions

Functions18,976 in github.com/hashintel/hash

↓ 44 callersMethodintern
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
↓ 44 callersMethodinto_iter
(self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:146
↓ 44 callersMethodjoin
( self, #[builder(start_fn)] r#type: JoinType, #[builder(start_fn, into)] from: Self,
libs/@local/graph/postgres-store/src/store/postgres/query/expression/from_item.rs:319
↓ 44 callersMethodlen
(&self)
tests/graph/benches/graph/scenario/stages/web_catalog.rs:43
↓ 44 callersMethodopaque
( &'this self, name: impl IntoSymbol<'heap>, repr: impl IntoType<'this, 'env, 'heap>,
libs/@local/hashql/core/src/type/builder.rs:839
↓ 44 callersFunctionpost
(source: ReportSource, raw: unknown)
apps/hash-frontend/src/pages/processes/shared/iframe-error-reporter.ts:39
↓ 44 callersFunctionqueryEntitySubgraph
( context: { graphApi: GraphApi }, authentication: AuthenticationContext, params: QueryEntitySubgraphReq
libs/@local/graph/sdk/typescript/src/entity.ts:335
↓ 44 callersFunctionrequest
()
libs/@local/harpc/tower/src/layer/error.rs:194
↓ 43 callersMethodinsert
( &mut self, local: Local, edge: EdgeKind<'heap>, constant: Constant<'heap>,
libs/@local/hashql/mir/src/pass/analysis/data_dependency/graph.rs:138
↓ 43 callersMethodmap
(self, func: impl FnMut(T) -> U)
libs/@local/hashql/core/src/id/array.rs:169
↓ 43 callersMethodto_owned
(&self)
libs/@local/hashql/core/src/id/slice.rs:435
↓ 42 callersMethoddecode
(self, items: S)
libs/@local/harpc/codec/src/lib.rs:74
↓ 42 callersMethodis_empty
(&self)
libs/@local/hashql/core/src/type/kind/struct.rs:65
↓ 42 callersFunctionwrite_header
( fmt: &mut Formatter, depth: usize, name: &str, id: Option<NodeId>, span: Option<SpanId>,
libs/@local/hashql/ast/src/format/dump.rs:55
↓ 41 callersFunctionfunc
( lib: &StandardLibrary<'_, 'heap>, def: &mut ModuleDef<'heap>, name: &'static str, alias: &[
libs/@local/hashql/core/src/module/std_lib/core/mod.rs:20
↓ 41 callersMethodliteral
(&'alloc self, text: Symbol<'heap>)
libs/@local/hashql/core/src/pretty/formatter.rs:201
↓ 41 callersFunctionmutateWithExtensionGuards
(fn: (sdcpn: SDCPN) => void)
libs/@hashintel/petrinaut-core/src/actions.ts:470
↓ 41 callersMethodnext
(&self)
libs/@local/hashql/core/src/id/mod.rs:267
↓ 41 callersFunctionwithReadonlyGuard
( name: Name, options?: { targetActiveSubnet?: boolean }, )
libs/@hashintel/petrinaut/src/react/hooks/use-petrinaut-mutations.ts:43
↓ 41 callersMethodwith_actor
(mut self, actor: impl Into<AuthenticatedActor>)
libs/@local/graph/authorization/src/policies/components.rs:351
↓ 40 callersFunctioncompareOntologyTypeVersions
( versionA: OntologyTypeVersion, versionB: OntologyTypeVersion, )
libs/@blockprotocol/type-system/typescript/src/native/url.ts:382
↓ 40 callersMethodintern_type_ids
(&self, ids: &[TypeId])
libs/@local/hashql/core/src/type/environment/mod.rs:97
↓ 40 callersMethodvisit_id
(&mut self, id: &mut NodeId)
libs/@local/hashql/ast/src/visit.rs:128
↓ 39 callersMethodactor_id
(&self)
libs/@local/graph/authorization/src/policies/components.rs:85
↓ 39 callersFunctiongetItemFilePath
( fileType: T, ...args: FilePathParams[T] extends Record<string, never> ? [] : [FilePathParams[T]]
libs/@hashintel/petrinaut-core/src/lsp/lib/file-paths.ts:48
↓ 39 callersMethodload
(self, operand: impl Into<Operand<'heap>>)
libs/@local/hashql/mir/src/builder/rvalue.rs:41
↓ 39 callersMethodtake_diagnostics
(&mut self)
libs/@local/hashql/core/src/type/environment/lattice.rs:113
↓ 39 callersFunctiontrackSupplyChainInteraction
( properties: SupplyChainTelemetryProperties & { interaction: string }, )
apps/hash-frontend/src/pages/supply-chain/shared/telemetry.ts:38
↓ 39 callersMethodtry_collect
(self)
libs/error-stack/src/ext/tuple.rs:63
↓ 38 callersFunctionassert_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 callersMethodcount
()
libs/@hashintel/petrinaut-core/src/simulation/runtime/frame-store.ts:11
↓ 38 callersFunctioncreateProto
( proto: T, readableProperties: ReadableProperties, writeableProperties?: WriteableProperties, )
libs/@local/harpc/client/typescript/src/utils.ts:5
↓ 38 callersFunctioncreate_report
()
libs/error-stack/tests/common.rs:8
↓ 38 callersMethodevaluate
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
↓ 38 callersFunctionfetch
(request: Request)
apps/petrinaut-website/api/chat.ts:128
↓ 38 callersMethodinsert
Inserts a candidate and re-sorts to maintain ascending cost order.
libs/@local/hashql/mir/src/pass/execution/placement/solve/estimate/mod.rs:101
↓ 38 callersFunctioniter
()
libs/@local/hashql/compiletest/src/suite/mod.rs:185
↓ 38 callersMethodwarn
()
libs/error-stack/src/sink.rs:55
↓ 37 callersMethodas_str
(&self)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/table_reference.rs:51
↓ 37 callersMethodexpand
Converts a `Report` with a single context into a `Report` with multiple contexts. This function allows for the transformation of a `Report<C>` into a
libs/error-stack/src/report.rs:378
↓ 37 callersMethodinto_solver
(self)
libs/@local/hashql/core/src/type/environment/infer.rs:235
↓ 37 callersFunctionresolve
Resolves a place to its ultimate data source by traversing the dependency graph. Starting from `place`, this function follows edges in the dependency
libs/@local/hashql/mir/src/pass/analysis/data_dependency/resolve.rs:376
↓ 37 callersFunctionrun_placement
( context: &MirContext<'_, 'heap>, placement: &mut impl StatementPlacement<'heap, &'heap Heap>, bo
libs/@local/hashql/mir/src/pass/execution/statement_placement/tests.rs:115
↓ 37 callersFunctionsleep
(ms: number)
libs/@local/hash-isomorphic-utils/src/sleep.ts:6
↓ 37 callersFunctionstringify
(obj: unknown)
apps/hash-ai-worker-ts/src/activities/shared/stringify.ts:1
↓ 37 callersMethodto_euid
(&self)
libs/@local/graph/authorization/src/policies/cedar/mod.rs:66
↓ 36 callersMethodany
(&self, closure: impl FnMut(&T) -> bool)
libs/@local/hashql/core/src/module/universe.rs:214
↓ 36 callersMethodas_ref
(&self)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/identifier.rs:44
↓ 36 callersFunctionassert_encode
(value: &T, expected: Expect)
libs/@local/harpc/wire-protocol/src/codec/encode.rs:116
↓ 36 callersMethodboolean
(&self)
libs/@local/hashql/core/src/type/builder.rs:944
↓ 36 callersFunctioncompileScenario
( scenario: Scenario, netParameters: Parameter[], places: Place[] = [], types: Color[] = [], options
libs/@hashintel/petrinaut-core/src/simulation/authoring/scenario/compile-scenario.ts:147
↓ 36 callersMethodcontains
(&self, id: DefId)
libs/@local/hashql/mir/src/pass/transform/administrative_reduction/mod.rs:116
↓ 36 callersFunctioncreateJsonDocHandle
( opts: CreateJsonDocHandleOptions, )
libs/@hashintel/petrinaut-core/src/handle/json-doc-handle/create-json-doc-handle.ts:74
↓ 36 callersMethodinto_vec
(self)
libs/@local/hashql/diagnostics/src/issues.rs:627
↓ 36 callersMethodis_empty
(&self)
libs/@local/graph/postgres-store/src/snapshot/metadata.rs:24
↓ 36 callersMethoditer
( &self, )
libs/@local/hashql/eval/src/postgres/parameters.rs:220
↓ 36 callersFunctionproj
Helper to create a `FieldByName` projection.
libs/@local/hashql/mir/src/pass/execution/traversal/tests.rs:32
↓ 36 callersFunctionstringifyPropertyValue
(propertyValue: unknown)
libs/@local/hash-isomorphic-utils/src/stringify-property-value.ts:8
↓ 35 callersMethodas_u32
(self)
libs/@local/hashql/core/src/value/primitive/integer.rs:140
↓ 35 callersFunctioncapture_error
(closure: impl FnOnce() -> Result<(), Report<E>>)
libs/error-stack/tests/common.rs:184
↓ 35 callersFunctioncreateMockSimulationContext
* Creates a mock SimulationContextValue with sensible defaults. * Override specific fields as needed for each test. * Pass `frameCount` to create mo
libs/@hashintel/petrinaut/src/react/playback/provider.test.tsx:70
↓ 35 callersFunctioncreate_link
( api: &mut DatabaseApi<'_>, source: EntityId, target: EntityId, )
libs/@local/graph/postgres-store/tests/deletion/main.rs:352
↓ 35 callersMethodexecute
Executes the plan. This will run the migrations in the list in the direction specified by the plan. Depending on the direction, the migrations will b
libs/@local/graph/migrations/src/plan.rs:129
↓ 35 callersFunctionpastePayloadIntoSDCPN
( sdcpn: SDCPN | Subnet, payload: ClipboardPayload, )
libs/@hashintel/petrinaut-core/src/clipboard/paste.ts:18
↓ 35 callersMethodsyntax
(&self)
libs/@local/hashql/syntax-jexpr/src/lexer/token_kind.rs:49
↓ 35 callersFunctiontake
(self: WriteBuffer)
libs/@local/harpc/client/typescript/src/binary/MutableBuffer.ts:290
↓ 35 callersFunctiontest_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
↓ 34 callersMethodbuild_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 callersMethodcontains
Returns `true` if the vector contains a value (not `None`) at the given ID index. # Examples ``` # use hashql_core::id::{IdVec, Id as _, newtype}; #
libs/@local/hashql/core/src/id/slice.rs:330
↓ 34 callersMethoddefault
()
libs/@local/codegen/src/lib.rs:31
↓ 34 callersFunctionextractVersion
(url: VersionedUrl)
libs/@blockprotocol/type-system/typescript/src/native/url.ts:263
↓ 34 callersFunctiongenerateEntityId
(entityUuid: string)
apps/hash-ai-worker-ts/src/activities/flow-activities/shared/infer-summaries-then-claims-from-text/infer-summaries-then-claims-from-text.ai.test.ts:134
↓ 34 callersFunctiongetClosedMultiEntityTypeFromMap
( closedMultiEntityTypes: ClosedMultiEntityTypesRootMap | undefined, entityTypesIds: [VersionedUrl, ...Ver
libs/@local/graph/sdk/typescript/src/entity.ts:924
↓ 34 callersMethodis_empty
(&self)
tests/graph/test-data/rust/src/seeding/producer/ontology/mod.rs:21
↓ 34 callersFunctionscenario
(overrides: Partial<Scenario> = {})
libs/@hashintel/petrinaut-core/src/simulation/authoring/scenario/compile-scenario.test.ts:21
↓ 34 callersMethodtuple
( self, operands: impl IntoIterator<Item = impl Into<Operand<'heap>>>, )
libs/@local/hashql/mir/src/builder/rvalue.rs:93
↓ 34 callersMethodtype_id
(&self, id: HirId)
libs/@local/hashql/hir/src/map.rs:61
↓ 33 callersMethodclose
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
↓ 33 callersFunctionemptyNet
()
libs/@hashintel/petrinaut-core/src/clipboard/paste.test.ts:12
↓ 33 callersFunctionentityIdFromComponents
( webId: WebId, entityUuid: EntityUuid, draftId?: DraftId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:88
↓ 33 callersFunctionformat
( formatters: FormatterCollection, level: LogLevel.LogLevel, input: unknown, args: readonly unknown[],
libs/@local/harpc/client/typescript/src/net/internal/networkLogger.ts:119
↓ 33 callersFunctionformatCost
( value: number | null | undefined, currency: string | null, opts?: { compact?: boolean }, )
apps/hash-frontend/src/pages/supply-chain/shared/cost.ts:135
↓ 33 callersFunctionmakePayload
( data: Partial<ClipboardPayload["data"]>, documentId: string | null = null, )
libs/@hashintel/petrinaut-core/src/clipboard/paste.test.ts:22
↓ 33 callersFunctionparse
(item: TokenStream)
libs/@local/hashql/macros/src/sym.rs:55
↓ 33 callersFunctionpipe
()
libs/@local/harpc/client/typescript/src/net/internal/peerConnection.ts:151
↓ 33 callersMethodrecord_diagnostic
( &mut self, diagnostic: impl FnOnce(&'env Environment<'heap>) -> TypeCheckDiagnostic, )
libs/@local/hashql/core/src/type/environment/analysis.rs:394
↓ 33 callersMethodseed
( &mut self, data_types: D, property_types: P, entity_types: E, )
tests/graph/integration/postgres/lib.rs:206
↓ 33 callersMethodsubscribe
(listener: (event: DocChangeEvent) => void)
libs/@hashintel/petrinaut-core/src/handle/types.ts:55
↓ 33 callersMethodtuple
(&'this self, fields: impl IntoTypes<'this, 'env, 'heap>)
libs/@local/hashql/core/src/type/builder.rs:1072
↓ 33 callersFunctionuseAuthInfo
()
apps/hash-frontend/src/pages/shared/auth-info-context.tsx:305
↓ 32 callersMethodas_str
(&self)
libs/@local/hashql/core/src/symbol/mod.rs:189
↓ 32 callersFunctioncompileUserCode
( code: string, constructorFnName: string, options: CompileUserCodeOptions = {}, )
libs/@hashintel/petrinaut-core/src/simulation/authoring/user-code/compile-user-code.ts:53
↓ 32 callersFunctiondefineConfig
( config: readonly Linter.Config<R>[], )
libs/@local/eslint/src/utils.ts:9
↓ 32 callersMethodinsert
Inserts a resolved path with composite swallowing. If an ancestor composite is already present in the set, the insertion is a no-op. If the path is a
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:128
↓ 32 callersMethodinsert_range
(&mut self, elems: impl RangeBounds<T>)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:228
↓ 32 callersMethoditer
Returns an iterator over all protection rules for masking.
libs/@local/graph/store/src/filter/protection.rs:719
↓ 32 callersFunctionlazy
Creates a lazy computation wrapper for deferred type construction. This is a convenience function, which allows for omitting any type arguments in th
libs/@local/hashql/core/src/type/builder.rs:86
↓ 32 callersFunctionmake_block_costs
( body: &Body<'_>, domains: &[TargetBitSet], statements: &TargetArray<StatementCostVec<&'heap Heap
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:124
↓ 32 callersFunctionone
()
libs/@blockprotocol/type-system/rust/src/ontology/property_type/schema/object/mod.rs:93
↓ 32 callersFunctionresolveTargetNet
( sdcpn: SDCPN, targetSubnetId: string | null | undefined, )
libs/@hashintel/petrinaut-core/src/actions.ts:140
← previousnext →201–300 of 18,976, ranked by callers