Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,756 for testLang (0.2 sec)

  1. internal/dsync/dsync_test.go

    	})
    }
    
    func BenchmarkMutex(b *testing.B) {
    	benchmarkMutex(b, false, false)
    }
    
    func BenchmarkMutexSlack(b *testing.B) {
    	benchmarkMutex(b, true, false)
    }
    
    func BenchmarkMutexWork(b *testing.B) {
    	benchmarkMutex(b, false, true)
    }
    
    func BenchmarkMutexWorkSlack(b *testing.B) {
    	benchmarkMutex(b, true, true)
    }
    
    func BenchmarkMutexNoSpin(b *testing.B) {
    	b.ResetTimer()
    	b.ReportAllocs()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 11K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    	}
    }
    
    func TestGoBuildErrors(t *testing.T) {
    	testErrors(t, "amd64", "buildtagerror")
    }
    
    func TestGenericErrors(t *testing.T) {
    	testErrors(t, "amd64", "duperror")
    }
    
    func TestARMErrors(t *testing.T) {
    	testErrors(t, "arm", "armerror")
    }
    
    func TestARM64EndToEnd(t *testing.T) {
    	testEndToEnd(t, "arm64", "arm64")
    }
    
    func TestARM64Encoder(t *testing.T) {
    	testEndToEnd(t, "arm64", "arm64enc")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/runtime/crash_cgo_test.go

    	"os/exec"
    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestCgoCrashHandler(t *testing.T) {
    	t.Parallel()
    	testCrashHandler(t, true)
    }
    
    func TestCgoSignalDeadlock(t *testing.T) {
    	// Don't call t.Parallel, since too much work going on at the
    	// same time can cause the testprogcgo code to overrun its
    	// timeouts (issue #18598).
    
    	if testing.Short() && runtime.GOOS == "windows" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (1)
  4. src/runtime/crash_test.go

    	}
    }
    
    func TestSimpleDeadlock(t *testing.T) {
    	testDeadlock(t, "SimpleDeadlock")
    }
    
    func TestInitDeadlock(t *testing.T) {
    	testDeadlock(t, "InitDeadlock")
    }
    
    func TestLockedDeadlock(t *testing.T) {
    	testDeadlock(t, "LockedDeadlock")
    }
    
    func TestLockedDeadlock2(t *testing.T) {
    	testDeadlock(t, "LockedDeadlock2")
    }
    
    func TestGoexitDeadlock(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 19:46:10 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    			}
    		}
    
    		check(i, nonce[4:])
    	}
    }
    
    func TestGCMKeyRotation(t *testing.T) {
    	t.Run("gcm", func(t *testing.T) {
    		testGCMKeyRotation(t, newGCMTransformer)
    	})
    
    	t.Run("gcm unsafe", func(t *testing.T) {
    		testGCMKeyRotation(t, newGCMTransformerWithUniqueKeyUnsafeTest)
    	})
    
    	t.Run("gcm extended", func(t *testing.T) {
    		testGCMKeyRotation(t, newHKDFExtendedNonceGCMTransformerTest)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	// it should never be added, even if the namespace has the annotation
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAdd(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    	testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns)
    }
    
    func TestCmdAddTwoContainersWithAnnotation(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    
    	pod.Spec.Containers[0].Name = "mockContainer"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/version_test.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"fmt"
    	"os"
    	"path"
    	"strings"
    	"testing"
    	"time"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    func TestMain(m *testing.M) {
    	KubernetesReleaseVersion = kubernetesReleaseVersionTest
    	os.Exit(m.Run())
    }
    
    func kubernetesReleaseVersionTest(version string) (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"github.com/stretchr/testify/require"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/kubernetes/pkg/credentialprovider"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    func TestPullImage(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

     * limitations under the License.
     */
    
    package org.gradle.testing
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.HtmlTestExecutionResult
    import org.gradle.testing.fixture.JUnitCoverage
    import spock.lang.Issue
    
    /**
     * These tests demonstrate what is and isn't allowed in terms of modifying the {@link org.gradle.api.tasks.testing.TestFrameworkOptions TestFrameworkOptions}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. src/runtime/proc_test.go

    	runtime.GC()
    
    	iters := int(1e5)
    	if testing.Short() {
    		iters = 1e2
    	}
    	runtime.RunSchedLocalQueueEmptyTest(iters)
    }
    
    func benchmarkStackGrowth(b *testing.B, rec int) {
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			stackGrowthRecursive(rec)
    		}
    	})
    }
    
    func BenchmarkStackGrowth(b *testing.B) {
    	benchmarkStackGrowth(b, 10)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top