Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,023 for Parallel (0.18 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered_test.go

    		batch = backend.collectEvents(nil, stopCh)
    	}()
    	close(stopCh)
    	wg.Wait()
    	assert.Empty(t, batch, "Empty final batch")
    }
    
    func TestBufferedBackendProcessEventsAfterStop(t *testing.T) {
    	t.Parallel()
    
    	backend := NewBackend(&fake.Backend{}, testBatchConfig()).(*bufferedBackend)
    
    	closedStopCh := make(chan struct{})
    	close(closedStopCh)
    	backend.Run(closedStopCh)
    	backend.Shutdown()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 14 17:20:35 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/link/cgo_test.go

    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strconv"
    	"testing"
    )
    
    // Issues 43830, 46295
    func TestCGOLTO(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveGoBuild(t)
    
    	t.Parallel()
    
    	goEnv := func(arg string) string {
    		cmd := testenv.Command(t, testenv.GoToolPath(t), "env", arg)
    		cmd.Stderr = new(bytes.Buffer)
    
    		line, err := cmd.Output()
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 22:13:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

            dependency.artifact(classifier: 'sources')
            dependency.artifact(classifier: 'javadoc')
            dependency.publish()
    
            projectDir.file("gradle.properties") << """
                org.gradle.parallel=$parallel
            """
            file('build.gradle').text = """
    subprojects {
        apply plugin: 'java'
    }
    
    project(':impl') {
        apply plugin: 'idea'
    
        repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go

    		}, nil
    	}
    }
    
    // TestEnvelopeTransformerStaleness validates that staleness checks on read honor the data returned from the StateFunc.
    func TestEnvelopeTransformerStaleness(t *testing.T) {
    	t.Parallel()
    	testCases := []struct {
    		desc          string
    		expectedStale bool
    		testErr       error
    		testKeyID     string
    		useSeedWrite  bool
    		useSeedRead   bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:50:20 UTC 2023
    - 47.2K bytes
    - Viewed (0)
  5. build-logic/gradle.properties

    org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
    org.gradle.parallel=true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 02:52:56 UTC 2024
    - 173 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate_test.go

    					"key": strings.Repeat("A", int(defaultConfig.MaxEventSize)),
    				},
    			},
    			wantDropped: true,
    		},
    	}
    
    	for _, tc := range testCases {
    		tc := tc
    		t.Run(tc.desc, func(t *testing.T) {
    			t.Parallel()
    
    			var event *auditinternal.Event
    
    			fb := &fake.Backend{
    				OnRequest: func(events []*auditinternal.Event) {
    					require.Equal(t, 1, len(events), "Expected single event in batch")
    					event = events[0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go

    	}
    }
    
    func TestLockExcludesLock(t *testing.T) {
    	t.Parallel()
    
    	f, remove := mustTempFile(t)
    	defer remove()
    
    	other := mustOpen(t, f.Name())
    	defer other.Close()
    
    	lock(t, f)
    	lockOther := mustBlock(t, "Lock", other)
    	unlock(t, f)
    	lockOther(t)
    	unlock(t, other)
    }
    
    func TestLockExcludesRLock(t *testing.T) {
    	t.Parallel()
    
    	f, remove := mustTempFile(t)
    	defer remove()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 22:37:50 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
      static final String PARALLEL_EDGES_NOT_ALLOWED =
          "Nodes %s and %s are already connected by a different edge. To construct a graph "
              + "that allows parallel edges, call allowsParallelEdges(true) on the Builder.";
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/os/path_test.go

    package os_test
    
    import (
    	"internal/testenv"
    	. "os"
    	"path/filepath"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    var isReadonlyError = func(error) bool { return false }
    
    func TestMkdirAll(t *testing.T) {
    	t.Parallel()
    
    	tmpDir := TempDir()
    	path := tmpDir + "/_TestMkdirAll_/dir/./dir2"
    	err := MkdirAll(path, 0777)
    	if err != nil {
    		t.Fatalf("MkdirAll %q: %s", path, err)
    	}
    	defer RemoveAll(tmpDir + "/_TestMkdirAll_")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/compress/flate/writer_test.go

    // even when writing different sizes to the Writer.
    func TestDeterministic(t *testing.T) {
    	t.Parallel()
    	for i := 0; i <= 9; i++ {
    		t.Run(fmt.Sprint("L", i), func(t *testing.T) { testDeterministic(i, t) })
    	}
    	t.Run("LM2", func(t *testing.T) { testDeterministic(-2, t) })
    }
    
    func testDeterministic(i int, t *testing.T) {
    	t.Parallel()
    	// Test so much we cross a good number of block boundaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 5.4K bytes
    - Viewed (0)
Back to top