Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 481 for race (0.12 sec)

  1. src/net/textproto/reader_test.go

    	// Regression test for data race reported in issue 46363:
    	// ReadMIMEHeader reads commonHeader before commonHeader has been initialized.
    	// Run this test with the race detector enabled to catch the reported data race.
    
    	// Reset commonHeaderOnce, so that commonHeader will have to be initialized
    	commonHeaderOnce = sync.Once{}
    	commonHeader = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

          "plan 1 TLS connected",
        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      /**
       * This test performs two races:
       *
       *  * The first race is between plan0 and plan1, with a 250 ms head start for plan0.
       *  * The second race is between plan2 and plan3, with a 250 ms head start for plan2.
       *
       * We get plan0 and plan1 from the route planner.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. hack/jenkins/benchmark-dockerized.sh

    export GO111MODULE=off
    
    # Install tools we need
    GO111MODULE=on go -C "${KUBE_ROOT}/hack/tools" install github.com/cespare/prettybench
    GO111MODULE=on go -C "${KUBE_ROOT}/hack/tools" install gotest.tools/gotestsum
    
    # Disable the Go race detector.
    export KUBE_RACE=" "
    # Disable coverage report
    export KUBE_COVER="n"
    export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
    export FULL_LOG="true"
    
    mkdir -p "${ARTIFACTS}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. pkg/util/filesystem/util_windows_test.go

    	// Create a temporary file that will simulate the Unix domain socket file in a
    	// not-yet-ready state. We need this because the Kubelet keeps an eye on file
    	// changes and acts on them, leading to potential race issues as described in
    	// the referenced issue above
    	f, err := os.CreateTemp("", "test-domain-socket")
    	require.NoErrorf(t, err, "Failed to create file for test purposes: %v", err)
    	testFile := f.Name()
    	f.Close()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/sync/atomic/asm.s

    // Copyright 2011 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.
    
    //go:build !race
    
    #include "textflag.h"
    
    TEXT ·SwapInt32(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·Xchg(SB)
    
    TEXT ·SwapUint32(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·Xchg(SB)
    
    TEXT ·SwapInt64(SB),NOSPLIT,$0
    	JMP	internal∕runtime∕atomic·Xchg64(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/runtime/atomic_pointer.go

    		cgoCheckPtrWrite(ptr, new)
    	}
    	return atomic.Casp1(ptr, old, new)
    }
    
    // Like above, but implement in terms of sync/atomic's uintptr operations.
    // We cannot just call the runtime routines, because the race detector expects
    // to be able to intercept the sync/atomic forms but not the runtime forms.
    
    //go:linkname sync_atomic_StoreUintptr sync/atomic.StoreUintptr
    func sync_atomic_StoreUintptr(ptr *uintptr, new uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/runtime/trace.go

    		buf.link = trace.empty
    		trace.empty = buf
    		trace.reading = nil
    	}
    	// Write trace header.
    	if !trace.headerWritten {
    		trace.headerWritten = true
    		unlock(&trace.lock)
    		return []byte("go 1.23 trace\x00\x00\x00"), false
    	}
    
    	// Read the next buffer.
    
    	if trace.readerGen.Load() == 0 {
    		trace.readerGen.Store(1)
    	}
    	var gen uintptr
    	for {
    		assertLockHeld(&trace.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/gatewayclass.go

    		},
    	}
    	_, err := c.classes.Create(gc)
    	if err != nil && !kerrors.IsConflict(err) {
    		return err
    	} else if err != nil && kerrors.IsConflict(err) {
    		// This is not really an error, just a race condition
    		log.Infof("Attempted to create GatewayClass/%v, but it was already created", class)
    	}
    	if err != nil {
    		return err
    	}
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. pkg/kube/kclient/crdwatcher_test.go

    func TestCRDWatcherRace(t *testing.T) {
    	stop := test.NewStop(t)
    	c := kube.NewFakeClient()
    	ctl := c.CrdWatcher()
    	vsCalls := atomic.NewInt32(0)
    
    	// Race callback and CRD creation
    	go func() {
    		if ctl.KnownOrCallback(gvr.VirtualService, func(s <-chan struct{}) {
    			assert.Equal(t, s, stop)
    			// Happened async
    			vsCalls.Inc()
    		}) {
    			// Happened sync
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    				break
    			}
    
    			dumpgstatus(gp)
    			throw("invalid g status")
    
    		case _Gdead:
    			// Nothing to suspend.
    			//
    			// preemptStop may need to be cleared, but
    			// doing that here could race with goroutine
    			// reuse. Instead, goexit0 clears it.
    			return suspendGState{dead: true}
    
    		case _Gcopystack:
    			// The stack is being copied. We need to wait
    			// until this is done.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top