Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 544 for atomics (0.13 sec)

  1. src/vendor/golang.org/x/sys/cpu/cpu_arm64.go

    		{Name: "sm3", Feature: &ARM64.HasSM3},
    		{Name: "sm4", Feature: &ARM64.HasSM4},
    		{Name: "sve", Feature: &ARM64.HasSVE},
    		{Name: "sve2", Feature: &ARM64.HasSVE2},
    		{Name: "crc32", Feature: &ARM64.HasCRC32},
    		{Name: "atomics", Feature: &ARM64.HasATOMICS},
    		{Name: "asimdhp", Feature: &ARM64.HasASIMDHP},
    		{Name: "cpuid", Feature: &ARM64.HasCPUID},
    		{Name: "asimrdm", Feature: &ARM64.HasASIMDRDM},
    		{Name: "fcma", Feature: &ARM64.HasFCMA},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_libinit.c

    //go:build unix
    
    // When cross-compiling with clang to linux/armv5, atomics are emulated
    // and cause a compiler warning. This results in a build failure since
    // cgo uses -Werror. See #65290.
    #pragma GCC diagnostic ignored "-Wpragmas"
    #pragma GCC diagnostic ignored "-Wunknown-warning-option"
    #pragma GCC diagnostic ignored "-Watomic-alignment"
    
    #include <pthread.h>
    #include <errno.h>
    #include <stdio.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_test.go

    	p64 := (*int64)(u)   // misaligned
    
    	shouldPanic(t, "Load64", func() { atomic.Load64(up64) })
    	shouldPanic(t, "Loadint64", func() { atomic.Loadint64(p64) })
    	shouldPanic(t, "Store64", func() { atomic.Store64(up64, 0) })
    	shouldPanic(t, "Xadd64", func() { atomic.Xadd64(up64, 1) })
    	shouldPanic(t, "Xchg64", func() { atomic.Xchg64(up64, 1) })
    	shouldPanic(t, "Cas64", func() { atomic.Cas64(up64, 1, 2) })
    }
    
    func TestAnd8(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pkg/cache/ttlCache.go

    		atomic.AddUint64(&c.stats.Removals, 1)
    
    		return true
    	})
    }
    
    func (c *ttlCache) Stats() Stats {
    	return Stats{
    		Evictions: atomic.LoadUint64(&c.stats.Evictions),
    		Hits:      atomic.LoadUint64(&c.stats.Hits),
    		Misses:    atomic.LoadUint64(&c.stats.Misses),
    		Writes:    atomic.LoadUint64(&c.stats.Writes),
    		Removals:  atomic.LoadUint64(&c.stats.Removals),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/atomic.go

    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name:             "atomic",
    	Doc:              analysisutil.MustExtractDoc(doc, "atomic"),
    	URL:              "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/atomic",
    	Requires:         []*analysis.Analyzer{inspect.Analyzer},
    	RunDespiteErrors: true,
    	Run:              run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/runtime/atomic_pointer.go

    	if writeBarrier.enabled {
    		atomicwb(ptr, new)
    	}
    	if goexperiment.CgoCheck2 {
    		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.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. pilot/pkg/xds/discovery_test.go

    // limitations under the License.
    
    package xds
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	uatomic "go.uber.org/atomic"
    	"google.golang.org/grpc"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/test/util/retry"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_arm.go

    		{Name: "vfpv4", Feature: &ARM.HasVFPv4},
    		{Name: "idiva", Feature: &ARM.HasIDIVA},
    		{Name: "v7atomics", Feature: &ARM.HasV7Atomics},
    	}
    
    	// HWCAP feature bits
    	ARM.HasVFPv4 = isSet(HWCap, hwcap_VFPv4)
    	ARM.HasIDIVA = isSet(HWCap, hwcap_IDIVA)
    	// lpae is required to make the 64-bit instructions LDRD and STRD (and variants) atomic.
    	// See ARMv7 manual section B1.6.
    	// We also need at least a v7 chip, for the DMB instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:38:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/func_test.go

    			pkg: `foo`,
    			sym: "Bar[go.shape.struct { sync/atomic._ sync/atomic.noCopy; sync/atomic._ sync/atomic.align64; sync/atomic.v uint64 }]",
    		},
    		{
    			in:  `example%2ecom.Bar[go.shape.struct { sync/atomic._ sync/atomic.noCopy; sync/atomic._ sync/atomic.align64; sync/atomic.v uint64 }]`,
    			pkg: `example%2ecom`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:32 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/doc.go

    // Package atomic defines an Analyzer that checks for common mistakes
    // using the sync/atomic package.
    //
    // # Analyzer atomic
    //
    // atomic: check for common mistakes using the sync/atomic package
    //
    // The atomic checker looks for assignment statements of the form:
    //
    //	x = atomic.AddUint64(&x, 1)
    //
    // which are not atomic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 505 bytes
    - Viewed (0)
Back to top