Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 359 for lwsync (0.16 sec)

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

    //	} else
    //		return 0;
    TEXT ·Cas(SB), NOSPLIT, $0-17
    	MOVD	ptr+0(FP), R3
    	MOVWZ	old+8(FP), R4
    	MOVWZ	new+12(FP), R5
    	LWSYNC
    cas_again:
    	LWAR	(R3), R6
    	CMPW	R6, R4
    	BNE	cas_fail
    	STWCCC	R5, (R3)
    	BNE	cas_again
    	MOVD	$1, R3
    	LWSYNC
    	MOVB	R3, ret+16(FP)
    	RET
    cas_fail:
    	LWSYNC
    	MOVB	R0, ret+16(FP)
    	RET
    
    // bool	·Cas64(uint64 *ptr, uint64 old, uint64 new)
    // Atomically:
    //	if(*val == old){
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/runtime/atomic_ppc64x.s

    //go:build ppc64 || ppc64le
    
    #include "textflag.h"
    
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	// LWSYNC is the "export" barrier recommended by Power ISA
    	// v2.07 book II, appendix B.2.2.2.
    	// LWSYNC is a load/load, load/store, and store/store barrier.
    	LWSYNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 437 bytes
    - Viewed (0)
  3. src/cmd/internal/obj/ppc64/anames.go

    	"SUBECC",
    	"SUBEV",
    	"SUBEVCC",
    	"SUBZE",
    	"SUBZECC",
    	"SUBZEVCC",
    	"SUBZEV",
    	"SYNC",
    	"XOR",
    	"XORCC",
    	"XORIS",
    	"DCBF",
    	"DCBI",
    	"DCBST",
    	"DCBT",
    	"DCBTST",
    	"DCBZ",
    	"EIEIO",
    	"ICBI",
    	"ISYNC",
    	"PTESYNC",
    	"TLBIE",
    	"TLBIEL",
    	"TLBSYNC",
    	"TW",
    	"SYSCALL",
    	"WORD",
    	"RFCI",
    	"FCPSGN",
    	"FCPSGNCC",
    	"FRES",
    	"FRESCC",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 18:50:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue19467.dir/mysync.go

    // Copyright 2017 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.
    
    package mysync
    
    import "runtime"
    
    type WaitGroup struct {
    	Callers []uintptr
    }
    
    func (wg *WaitGroup) Add(x int) {
    	wg.Callers = make([]uintptr, 32)
    	n := runtime.Callers(1, wg.Callers)
    	wg.Callers = wg.Callers[:n]
    }
    
    func (wg *WaitGroup) Done() {
    	wg.Add(-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 17:27:49 UTC 2017
    - 421 bytes
    - Viewed (0)
  5. internal/dsync/dsync.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/>.
    
    package dsync
    
    // Dsync represents dsync client object which is initialized with
    // authenticated clients, used to initiate lock REST calls.
    type Dsync struct {
    	// List of rest client objects, one per lock server.
    	GetLockers func() ([]NetLocker, string)
    
    	// Timeouts to apply.
    	Timeouts Timeouts
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 01 19:14:28 UTC 2022
    - 1K bytes
    - Viewed (0)
  6. src/internal/pkgbits/sync.go

    // SyncMarker is an enum type that represents markers that may be
    // written to export data to ensure the reader and writer stay
    // synchronized.
    type SyncMarker int
    
    //go:generate stringer -type=SyncMarker -trimprefix=Sync
    
    const (
    	_ SyncMarker = iota
    
    	// Public markers (known to go/types importers).
    
    	// Low-level coding markers.
    	SyncEOF
    	SyncBool
    	SyncInt64
    	SyncUint64
    	SyncString
    	SyncValue
    	SyncVal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/workcmd/sync.go

    // go work sync
    
    package workcmd
    
    import (
    	"cmd/go/internal/base"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/imports"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/toolchain"
    	"context"
    
    	"golang.org/x/mod/module"
    )
    
    var cmdSync = &base.Command{
    	UsageLine: "go work sync",
    	Short:     "sync workspace build list to modules",
    	Long: `Sync syncs the workspace's build list back to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. test/fixedbugs/issue19467.dir/z.go

    package main
    
    import (
    	"log"
    	"runtime"
    
    	"./mysync"
    )
    
    func main() {
    	var wg mysync.WaitGroup
    	wg.Done()
    	ci := runtime.CallersFrames(wg.Callers)
    	frames := make([]runtime.Frame, 0, 4)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    	expecting := []string{
    		"test/mysync.(*WaitGroup).Add",
    		"test/mysync.(*WaitGroup).Done",
    	}
    	for i := 0; i < 2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/timeout.go

    import (
    	"time"
    )
    
    // Timeout manages the resync loop timing for a given node sync operation. The
    // timeout changes depending on whether or not there was an error reported for
    // the operation. Consecutive errors will result in exponential backoff to a
    // maxBackoff timeout.
    type Timeout struct {
    	// Resync is the default timeout duration when there are no errors.
    	Resync time.Duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 20:48:08 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. internal/dsync/dsync-client_test.go

    // GNU Affero General Public License for more details.
    //
    // 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/>.
    
    package dsync
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"net/http"
    	"net/url"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top