- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 334 for casts (0.54 sec)
-
cmd/bucket-policy-handlers_test.go
// test cases with sample input and expected output. testCases := []struct { bucketName string // bucket policy to be set, // set as request body. bucketPolicyReader io.ReadSeeker
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
pkg/spiffe/spiffe_test.go
} // This simulates the case when there are multiple different servers to talk to. input2 := map[string]string{ "foo": s1.Listener.Addr().String(), "bar": s2.Listener.Addr().String(), } cases := []struct { name string in map[string]string extraCerts []*x509.Certificate statusCode int body string errContains string wantNumCerts int }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
src/runtime/iface.go
// interfaceSwitch compares t against the list of cases in s. // If t matches case i, interfaceSwitch returns the case index i and // an itab for the pair <t, s.Cases[i]>. // If there is no match, return N,nil, where N is the number // of cases. func interfaceSwitch(s *abi.InterfaceSwitch, t *_type) (int, *itab) { cases := unsafe.Slice(&s.Cases[0], s.NCases) // Results if we don't find a match.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache_test.go
func almostEqual(t1, t2 time.Duration) bool { diff := t1 - t2 if diff < 0 { diff *= -1 } return diff < time.Second*5 } func TestRotateTime(t *testing.T) { now := time.Now() cases := []struct { name string created time.Time expire time.Time gracePeriod float64 expected time.Duration }{ { name: "already expired",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 23.9K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/importOptimizer/FirIdeNormalAnalysisSourceModuleAnalysisApiImportOptimizerTestGenerated.java
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.fir.test.cases.generated.cases.components.importOptimizer; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.annotations.NotNull;
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 14:31:24 UTC 2024 - 18K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/symbols/FirStandaloneNormalAnalysisSourceModuleSymbolByReferenceTestGenerated.java
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.standalone.fir.test.cases.generated.cases.symbols; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.annotations.NotNull;
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 09:36:27 UTC 2024 - 16.6K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/importOptimizer/FirStandaloneNormalAnalysisSourceModuleAnalysisApiImportOptimizerTestGenerated.java
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.standalone.fir.test.cases.generated.cases.components.importOptimizer; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.annotations.NotNull;
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 14:31:24 UTC 2024 - 18.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
if (num_cores_per_replica != 1) return success(); llvm::SetVector<Value> bcasts; cluster->walk([&](Operation* op) { if (op == cluster) return WalkResult::advance(); for (auto operand : op->getOperands()) { Operation* scope = operand.getParentBlock()->getParentOp(); if (scope->isProperAncestor(replicate)) { bcasts.insert(operand); } } return WalkResult::advance(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionNodeInitializerExtractionStrategy.java
* limitations under the License. */ package org.gradle.model.internal.manage.schema.extract; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import org.gradle.internal.Cast; import org.gradle.model.internal.core.ModelPath; import org.gradle.model.internal.core.ModelViewState; import org.gradle.model.internal.core.MutableModelNode; import org.gradle.model.internal.core.NodeInitializer;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:15:09 UTC 2024 - 12.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/symbols/Fe10IdeNormalAnalysisSourceModuleSymbolByReferenceTestGenerated.java
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.symbols; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.util.KtTestUtil; import org.jetbrains.annotations.NotNull;
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 09:36:27 UTC 2024 - 17.3K bytes - Viewed (0)