Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 418 for dups (0.1 sec)

  1. src/internal/diff/testdata/dups.txt

    Russ Cox <******@****.***> 1643490792 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 141 bytes
    - Viewed (0)
  2. src/internal/singleflight/singleflight.go

    	g.mu.Lock()
    	if g.m == nil {
    		g.m = make(map[string]*call)
    	}
    	if c, ok := g.m[key]; ok {
    		c.dups++
    		g.mu.Unlock()
    		c.wg.Wait()
    		return c.val, c.err, true
    	}
    	c := new(call)
    	c.wg.Add(1)
    	g.m[key] = c
    	g.mu.Unlock()
    
    	g.doCall(c, key, fn)
    	return c.val, c.err, c.dups > 0
    }
    
    // DoChan is like Do but returns a channel that will receive the
    // results when they are ready.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:49:56 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. test/typeparam/nested.go

    	add(Int(0), T[Int]{})
    	add(GlobalInt(0), T[GlobalInt]{})
    	add(A(0), T[A]{}) // NOTE: intentionally dups with int and GlobalInt
    
    	type U[_ any] int
    	type V U[int]
    	type W V
    
    	add(U[int](0), T[U[int]]{})
    	add(U[Int](0), T[U[Int]]{})
    	add(U[GlobalInt](0), T[U[GlobalInt]]{})
    	add(U[A](0), T[U[A]]{}) // NOTE: intentionally dups with U[int] and U[GlobalInt]
    	add(V(0), T[V]{})
    	add(W(0), T[W]{})
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:23:27 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/testdata/libgo2/libgo2.go

    // function creates a pipe and Dups the read end to a known number
    // that the C code can also use.
    
    const (
    	fd = 30
    )
    
    func init() {
    	var p [2]int
    	if e := syscall.Pipe(p[0:]); e != nil {
    		fmt.Fprintf(os.Stderr, "pipe: %v\n", e)
    		os.Exit(2)
    	}
    
    	if e := dup2(p[0], fd); e != nil {
    		fmt.Fprintf(os.Stderr, "dup2: %v\n", e)
    		os.Exit(2)
    	}
    
    	const str = "PASS"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/nm/nm_test.go

    				return true
    			}
    		}
    		if platform.DefaultPIE(runtime.GOOS, runtime.GOARCH, false) {
    			// Code is always relocated if the default buildmode is PIE.
    			return true
    		}
    		return false
    	}
    
    	dups := make(map[string]bool)
    	for _, line := range strings.Split(string(out), "\n") {
    		f := strings.Fields(line)
    		if len(f) < 3 {
    			continue
    		}
    		name := f[2]
    		if addr, found := names[name]; found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. src/time/genzabbrs.go

    	}
    
    	var sd SupplementalData
    	err = xml.Unmarshal(data, &sd)
    	if err != nil {
    		return nil, err
    	}
    	zs := make([]*zone, 0)
    	for _, z := range sd.Zones {
    		if z.Territory != "001" {
    			// to avoid dups. I don't know why.
    			continue
    		}
    		l, err := time.LoadLocation(z.Type)
    		if err != nil {
    			return nil, err
    		}
    		st, dt := getAbbrs(l)
    		zs = append(zs, &zone{
    			WinName:  z.Other,
    			UnixName: z.Type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcshared/testdata/libgo2/dup2.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || (linux && !arm64 && !loong64 && !riscv64) || netbsd || openbsd
    
    package main
    
    import "syscall"
    
    func dup2(oldfd, newfd int) error {
    	return syscall.Dup2(oldfd, newfd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 374 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testcshared/testdata/libgo2/dup3.go

    // license that can be found in the LICENSE file.
    
    //go:build (linux && arm64) || (linux && loong64) || (linux && riscv64)
    
    package main
    
    import "syscall"
    
    func dup2(oldfd, newfd int) error {
    	return syscall.Dup3(oldfd, newfd, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 341 bytes
    - Viewed (0)
  9. deps.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="deps" basedir=".">
    	<property name="target.dir" value="${basedir}/target/deps" />
    	<property name="webinf.dir" value="${basedir}/src/main/webapp/WEB-INF" />
    	<property name="crawler.dir" value="${basedir}/src/main/webapp/WEB-INF/env/crawler" />
    	<property name="suggest.dir" value="${basedir}/src/main/webapp/WEB-INF/env/suggest" />
    	<property name="thumbnail.dir" value="${basedir}/src/main/webapp/WEB-INF/env/thumbnail" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:59:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tests/test_ws_dependencies.py

    async def index(websocket: WebSocket, deps: DepList):
        await websocket.accept()
        await websocket.send_text(json.dumps(deps))
        await websocket.close()
    
    
    @router.websocket("/router", dependencies=[create_dependency("routerindex")])
    async def routerindex(websocket: WebSocket, deps: DepList):
        await websocket.accept()
        await websocket.send_text(json.dumps(deps))
        await websocket.close()
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 11 20:35:39 UTC 2023
    - 2.1K bytes
    - Viewed (1)
Back to top