- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for Approximates (0.34 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/storageversionhash.go
gvk := group + "/" + version + "/" + kind bytes := sha256.Sum256([]byte(gvk)) // Assuming there are N kinds in the cluster, and the hash is X-byte long, // the chance of colliding hash P(N,X) approximates to 1-e^(-(N^2)/2^(8X+1)). // P(10,000, 8) ~= 2.7*10^(-12), which is low enough. // See https://en.wikipedia.org/wiki/Birthday_problem#Approximations. return base64.StdEncoding.EncodeToString(bytes[:8])
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 14 12:08:11 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/cse.go
continue } b.ReplaceControl(i, x) } } } if f.pass.stats > 0 { f.LogStat("CSE REWRITES", rewrites) } } // An eqclass approximates an equivalence class. During the // algorithm it may represent the union of several of the // final equivalence classes. type eqclass []*Value // partitionValues partitions the values into equivalence classes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 9.6K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractAnalysisApiGetSuperTypesTest.kt
} directSuperTypes.print("[direct super types]") approximatedDirectSuperTypes.print("[approximated direct super types]") allSuperTypes.print("[all super types]") approximatedAllSuperTypes.print("[approximated all super types]") } } } testServices.assertions.assertEqualsToTestDataFileSibling(actual) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.8K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtPsiTypeProvider.kt
* * @param useSitePosition is used to determine if the given [KaType] needs to be approximated. * For instance, if the given type is local yet available in the same scope of use site, * we can still use such a local type. * Otherwise, e.g., exposed to public as a return type, the resulting type will be approximated accordingly. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td
[(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>; def LegalizeCompositeApproximateAtenGELU : Pat< (MHLO_CompositeOp:$composite (variadic $inputs), ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_), (TFL_GeluOp $inputs, ConstBoolAttrTrue),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinGccProducedBinaryInfo.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.nativeplatform.fixtures.binaryinfo /** * Binary information for GCC produced binaries. It approximate features required by our tests using dumpbin.exe from Visual Studio. It's not the right solution, but it works for most cases. */ class DumpbinGccProducedBinaryInfo extends DumpbinBinaryInfo {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/cover/doc.go
it will process all the source files in a single package at a time (package-scope instrumentation is enabled via "-pkgcfg" option). When generated instrumented code, the cover tool computes approximate basic block information by studying the source. It is thus more portable than binary-rewriting coverage tools, but also a little less capable. For instance, it does not probe inside && and || expressions,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/trace/threadgen.go
// TODO(mknyszek): We don't have a state machine for threads, so approximate // running threads with running Ps. ctx.IncThreadStateCount(ctx.elapsed(start), traceviewer.ThreadStateRunning, 1) } if from.Executing() { start := ev.Time() viewerEv.Name = "proc stop" viewerEv.Ts = ctx.elapsed(start) // TODO(mknyszek): We don't have a state machine for threads, so approximate // running threads with running Ps.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 5.7K bytes - Viewed (0) -
src/cmd/cover/testdata/main.go
PASS = false } } // count returns the count and index for the counter at the specified line. func count(line uint32) (uint32, int) { // Linear search is fine. Choose perfect fit over approximate. // We can have a closing brace for a range on the same line as a condition for an "else if" // and we don't want that brace to steal the count for the condition on the "if".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 16:40:40 UTC 2016 - 3K bytes - Viewed (0) -
src/math/sin.go
// eliminated by contriving an extended precision modular arithmetic. // // Two polynomial approximating functions are employed. // Between 0 and pi/4 the sine is approximated by // x + x**3 P(x**2). // Between pi/4 and pi/2 the cosine is represented as // 1 - x**2 Q(x**2). // // ACCURACY: // // Relative error:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 6.4K bytes - Viewed (0)