- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,485 for corerest (0.11 sec)
-
test/chan/perm.go
// errorcheck // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test various correct and incorrect permutations of send-only, // receive-only, and bidirectional channels. // Does not compile. package main var ( cr <-chan int cs chan<- int c chan int ) func main() { cr = c // ok cs = c // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 14 23:33:46 UTC 2021 - 1.4K bytes - Viewed (0) -
test/fixedbugs/bug027.go
v := New() r := "hi\n" v.Insert(i4) v.Insert(i3) v.Insert(i2) v.Insert(i1) v.Insert(i0) for i := 0; i < v.nelem; i++ { var x *I x = v.At(i).(*I) r += fmt.Sprintln(i, x.val) // prints correct list } for i := 0; i < v.nelem; i++ { r += fmt.Sprintln(i, v.At(i).(*I).val) } expect := `hi 0 44444 1 3333 2 222 3 11 4 0 0 44444 1 3333 2 222 3 11 4 0 `
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:48:57 UTC 2012 - 1.2K bytes - Viewed (0) -
pkg/log/logr_test.go
l.Info("msg") l.Error(errors.New("some error"), "msg") }) mustMatchLength(t, 1, lines) mustRegexMatchString(t, lines[0], "some error.*msg") }) t.Run("info shows correct verbosity", func(t *testing.T) { lines := runLogrTest(t, func(l logr.Logger) { l.V(0).Info("0") l.V(1).Info("1") l.V(2).Info("2") l.V(3).Info("3") l.V(4).Info("4")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/client/tests/listwatch_test.go
lw := NewListWatchFromClient(client.CoreV1().RESTClient(), item.resource, item.namespace, item.fieldSelector) lw.DisableChunking = true // This test merely tests that the correct request is made. _, _ = lw.List(metav1.ListOptions{}) handler.ValidateRequest(t, item.location, "GET", nil) }) } } func TestListWatchesCanWatch(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 02 17:08:23 UTC 2022 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/launch_to_device_attribute.mlir
// RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-launch-to-device-attribute=legacy-graph-export=false | FileCheck %s // Tests single TensorFlow op is hoisted out and has the correct device assigned // by parent `tf_device.launch`. // CHECK-LABEL: func @single_op_launch func.func @single_op_launch() { tf_executor.graph { %0:5 = tf_executor.island { %a = "tf.opA"() : () -> tensor<i1> %launch:2 = "tf_device.launch"() ({
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 19 17:10:32 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/VisualStudioProjectResolver.java
this.projectModelResolver = projectModelResolver; } public VisualStudioProjectConfiguration lookupProjectConfiguration(VisualStudioTargetBinary nativeBinary) { // Looks in the correct project registry for this binary VisualStudioExtension visualStudioExtension = getComponentModel(nativeBinary).realize("visualStudio", VisualStudioExtension.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
// we create a test suite containing a test for every FuturesTest test method and we // set it as the name of the test. Then in runTest we can reflectively load and invoke the // corresponding method on FuturesTest in the correct classloader. TestSuite suite = new TestSuite(AggregateFutureStateFallbackAtomicHelperTest.class.getName()); for (Method method : FuturesTest.class.getDeclaredMethods()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.9K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/checksums_test.go
func TestSignConfigMap(t *testing.T) { for _, test := range checksumTestCases { t.Run(test.desc, func(t *testing.T) { target := test.configMap.DeepCopy() SignConfigMap(target) // Verify that we have a correct annotation signature, ok := target.Annotations[constants.ComponentConfigHashAnnotationKey] if !ok { t.Errorf("no %s annotation found in the config map", constants.ComponentConfigHashAnnotationKey) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 5.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy
run "testReport" then: def htmlReport = new HtmlTestExecutionResult(sample.dir, "build/reports/allTests") htmlReport.testClass("org.gradle.sample.CoreTest").assertTestCount(1, 0, 0).assertTestPassed("ok").assertStdout(equalTo("hello from CoreTest.\n")) htmlReport.testClass("org.gradle.sample.UtilTest").assertTestCount(1, 0, 0).assertTestPassed("ok").assertStdout(equalTo("hello from UtilTest.\n")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 16.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/artifactreuse/AbstractCacheReuseCrossVersionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.8K bytes - Viewed (0)