Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Sync (0.71 sec)

  1. src/cmd/api/api_test.go

    			for _, name := range w.stdPackages {
    				pkg, _ := w.import_(name)
    				w.export(pkg)
    			}
    			w.Features()
    		}
    	}
    }
    
    var warmupCache = sync.OnceFunc(func() {
    	// Warm up the import cache in parallel.
    	var wg sync.WaitGroup
    	for _, context := range contexts {
    		context := context
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/cmd/addr2line/addr2line_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/s390x.s

    	TCEB	F5, $8                 // ed5000080010
    	TCDB	F15, $4095             // edf00fff0011
    
    	UNDEF                          // 00000000
    	BRRK			       // 0001
    	NOPH                           // 0700
    
    	SYNC                           // 07e0
    
    	KM	R2, R4                 // b92e0024
    	KMC	R2, R6                 // b92f0026
    	KLMD	R2, R8                 // b93f0028
    	KIMD	R0, R4                 // b93e0004
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. doc/go_mem.html

    			w()
    			<-limit
    		}(w)
    	}
    	select{}
    }
    </pre>
    
    <h3 id="locks">Locks</h3>
    
    <p>
    The <code>sync</code> package implements two lock data types,
    <code>sync.Mutex</code> and <code>sync.RWMutex</code>.
    </p>
    
    <p class="rule">
    For any <code>sync.Mutex</code> or <code>sync.RWMutex</code> variable <code>l</code> and <i>n</i> &lt; <i>m</i>,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. src/archive/tar/stat_unix.go

    //go:build unix
    
    package tar
    
    import (
    	"io/fs"
    	"os/user"
    	"runtime"
    	"strconv"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. api/next/61696.txt

    pkg sync, method (*Map) Clear() #61696...
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Feb 01 15:34:22 GMT 2024
    - 39 bytes
    - Viewed (0)
  7. src/buildall.bash

    	if [ "$GOARCH" = "arm5" ]; then
    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    	# Build and vet everything.
    	# cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
    	# and should be kept in sync with any vet flag changes here.
    	if ! "$GOROOT/bin/go" build std cmd || ! "$GOROOT/bin/go" vet -unsafeptr=false std cmd; then
    		failed=true
    		if $sete; then
    			exit 1
    		fi
    	fi
    done
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/ppc64.s

    	STHCCC R3, (R4)                 // 7c6025ad
    	STSW R3, (R4)(R5)               // 7c65252a
    	STSW R3, (R4)(R0)               // 7c60252a
    	STSW R3, (R4)                   // 7c60252a
    
    	SYNC                            // 7c0004ac
    	ISYNC                           // 4c00012c
    	LWSYNC                          // 7c2004ac
    	EIEIO                           // 7c0006ac
    	PTESYNC                         // 7c4004ac
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    	"go/ast"
    	"go/build"
    	"go/parser"
    	"go/token"
    	"go/types"
    	"internal/testenv"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    const verbose = false
    
    func goCmd() string {
    	var exeSuffix string
    	if runtime.GOOS == "windows" {
    		exeSuffix = ".exe"
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top