Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 978 for syncs (0.13 sec)

  1. src/internal/runtime/atomic/atomic_mipsx.s

    	MOVB	val+4(FP), R2
    	SYNC
    	MOVB	R2, 0(R1)
    	SYNC
    	RET
    
    TEXT ·Load(SB),NOSPLIT,$0-8
    	MOVW	ptr+0(FP), R1
    	SYNC
    	MOVW	0(R1), R1
    	SYNC
    	MOVW	R1, ret+4(FP)
    	RET
    
    TEXT ·Load8(SB),NOSPLIT,$0-5
    	MOVW	ptr+0(FP), R1
    	SYNC
    	MOVB	0(R1), R1
    	SYNC
    	MOVB	R1, ret+4(FP)
    	RET
    
    // uint32 Xadd(uint32 volatile *val, int32 delta)
    // Atomically:
    //	*val += delta;
    //	return *val;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/CancellationCrossVersionSpec.groovy

            def sync = server.expectAndBlock("registered")
            def resultHandler = new TestResultHandler()
    
            when:
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks(':sub:broken')
                build.withCancellationToken(cancel.token())
                build.run(resultHandler)
                sync.waitForAllPendingCalls(resultHandler)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. src/sync/oncefunc_test.go

    package sync_test
    
    import (
    	"bytes"
    	"math"
    	"runtime"
    	"runtime/debug"
    	"sync"
    	"sync/atomic"
    	"testing"
    	_ "unsafe"
    )
    
    // We assume that the Once.Do tests have already covered parallelism.
    
    func TestOnceFunc(t *testing.T) {
    	calls := 0
    	f := sync.OnceFunc(func() { calls++ })
    	allocs := testing.AllocsPerRun(10, f)
    	if calls != 1 {
    		t.Errorf("want calls==1, got %d", calls)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. api/go1.23.txt

    pkg sync/atomic, func OrInt64(*int64, int64) int64 #61395
    pkg sync/atomic, func OrUint32(*uint32, uint32) uint32 #61395
    pkg sync/atomic, func OrUint64(*uint64, uint64) uint64 #61395
    pkg sync/atomic, func OrUintptr(*uintptr, uintptr) uintptr #61395
    pkg sync/atomic, method (*Int32) And(int32) int32 #61395
    pkg sync/atomic, method (*Int32) Or(int32) int32 #61395
    pkg sync/atomic, method (*Int64) And(int64) int64 #61395
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset_test.go

    		expectedEntries []string
    	}{
    		{
    			name: "normal ipset sync",
    			set: &utilipset.IPSet{
    				Name: "foo",
    			},
    			setType:         utilipset.HashIPPort,
    			ipv6:            false,
    			activeEntries:   []string{"172.17.0.4,tcp:80"},
    			currentEntries:  nil,
    			expectedEntries: []string{"172.17.0.4,tcp:80"},
    		},
    		{
    			name: "ipset IPv6 sync with no new entries",
    			set: &utilipset.IPSet{
    				Name: "abz",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/list_cgo_compiled_importmap.txt

    go list -deps -test -compiled -f '{{if eq .ImportPath "net [runtime.test]"}}{{printf "%q" .Imports}}{{end}}' runtime
    
    	# Control case: the explicitly-imported package "sync" is a test variant,
    	# because "sync" depends on "runtime".
    stdout '"sync \[runtime\.test\]"'
    ! stdout '"sync"'
    
    	# Experiment: the implicitly-imported package "runtime/cgo" is also a test variant,
    	# because "runtime/cgo" also depends on "runtime".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 22:26:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/testx.c

    void lockOSThreadC(void) {
    	lockOSThreadCallback();
    }
    
    void issue7978c(uint32_t *sync) {
    	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 0)
    		;
    	__atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST);
    	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 2)
    		;
    	issue7978cb();
    	__atomic_add_fetch(sync, 1, __ATOMIC_SEQ_CST);
    	while(__atomic_load_n(sync, __ATOMIC_SEQ_CST) != 6)
    		;
    }
    
    void f7665(void) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 582 bytes
    - Viewed (0)
  8. src/sync/map_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package sync_test
    
    import (
    	"internal/testenv"
    	"math/rand"
    	"reflect"
    	"runtime"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"testing/quick"
    )
    
    type mapOp string
    
    const (
    	opLoad             = mapOp("Load")
    	opStore            = mapOp("Store")
    	opLoadOrStore      = mapOp("LoadOrStore")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    	// will clobber the test pattern created by the caller
    	ADDU	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDU	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  10. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/SftpClientReuseIntegrationTest.groovy

                        ${coordinator.callFromBuild('sync')}
                    }
                    dependsOn firstUse
                }
    
                task reuseClient(type: SftpTask) {
                    credentials = creds
                    dependsOn block
                }
            """
            sftpServer.expectLstat("/")
            def sync = coordinator.expectAndBlock('sync')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top