Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 488 for race (0.07 sec)

  1. cni/pkg/cmd/root.go

    	// Repair
    	registerBooleanParameter(constants.RepairEnabled, true, "Whether to enable race condition repair or not")
    	registerBooleanParameter(constants.RepairDeletePods, false, "Controller will delete pods when detecting pod broken by race condition")
    	registerBooleanParameter(constants.RepairLabelPods, false, "Controller will label pods when detecting pod broken by race condition")
    	registerStringParameter(constants.RepairLabelKey, "cni.istio.io/uninitialized",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users-race_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    //go:build !race
    // +build !race
    
    // Tests in this file are not run under the `-race` flag as they are too slow
    // and cause context deadline errors.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"testing"
    	"time"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/runtime/race_amd64.s

    //go:build race
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    #include "cgo/abi_amd64.h"
    
    // The following thunks allow calling the gcc-compiled race runtime directly
    // from Go code without going all the way through cgo.
    // First, it's much faster (up to 50% speedup for real Go programs).
    // Second, it eliminates race-related special cases from cgocall and scheduler.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. src/runtime/proflabel.go

    //
    //go:linkname runtime_setProfLabel runtime/pprof.runtime_setProfLabel
    func runtime_setProfLabel(labels unsafe.Pointer) {
    	// Introduce race edge for read-back via profile.
    	// This would more properly use &getg().labels as the sync address,
    	// but we do the read in a signal handler and can't call the race runtime then.
    	//
    	// This uses racereleasemerge rather than just racerelease so
    	// the acquire in profBuf.read synchronizes with *all* prior
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/runtime/race_ppc64le.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build race
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    #include "asm_ppc64x.h"
    #include "cgo/abi_ppc64x.h"
    
    // The following functions allow calling the clang-compiled race runtime directly
    // from Go code without going all the way through cgo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprog/lockosthread.go

    func LockOSThreadTemplateThreadRace() {
    	// This test attempts to reproduce the race described in
    	// golang.org/issue/38931. To do so, we must have a stop-the-world
    	// (achieved via ReadMemStats) racing with two LockOSThread calls.
    	//
    	// While this test attempts to line up the timing, it is only expected
    	// to fail (and thus hang) around 2% of the time if the race is
    	// present.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/go/build/deps_test.go

    	< internal/txtar;
    
    	# v2 execution trace parser.
    	FMT
    	< internal/trace/event;
    
    	internal/trace/event
    	< internal/trace/event/go122;
    
    	FMT, io, internal/trace/event/go122
    	< internal/trace/version;
    
    	FMT, encoding/binary, internal/trace/version
    	< internal/trace/raw;
    
    	FMT, internal/trace/event, internal/trace/version, io, sort, encoding/binary
    	< internal/trace/internal/oldtrace;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. src/runtime/internal/wasitest/tcpecho_test.go

    	// port when you pre-open a socket. So, we probe for a free port here.
    	// Given there's an unavoidable race condition, the test is disabled by
    	// default.
    	if os.Getenv("GOWASIENABLERACYTEST") != "1" {
    		t.Skip("skipping WASI test with unavoidable race condition")
    	}
    	var host string
    	port := rand.Intn(10000) + 40000
    	for attempts := 0; attempts < 10; attempts++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/os/proc.go

    		// unexpected call to os.Exit(0).
    		panic("unexpected call to os.Exit(0) during test")
    	}
    
    	// Inform the runtime that os.Exit is being called. If -race is
    	// enabled, this will give race detector a chance to fail the
    	// program (racy programs do not have the right to finish
    	// successfully). If coverage is enabled, then this call will
    	// enable us to write out a coverage data file.
    	runtime_beforeExit(code)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/runtime/tracemap.go

    			// this node if we fail to insert because it turns out the
    			// value is already in the map.
    			//
    			// The discard will only happen if two threads race on inserting
    			// the same value. Both might create nodes, but only one will
    			// succeed on insertion. If two threads race to insert two
    			// different values, then both nodes will *always* get inserted,
    			// because the equality checking below will always fail.
    			//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top