Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for callclose (0.14 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	_, e1 := callclose(fd)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(oldfd int) (fd int, err error) {
    	r0, e1 := calldup(oldfd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    func callchroot(_p0 uintptr) (r1 uintptr, e1 Errno) {
    	r1 = uintptr(C.chroot(C.uintptr_t(_p0)))
    	e1 = syscall.GetErrno()
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callclose(fd int) (r1 uintptr, e1 Errno) {
    	r1 = uintptr(C.close(C.int(fd)))
    	e1 = syscall.GetErrno()
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_chroot)), 1, _p0, 0, 0, 0, 0, 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callclose(fd int) (r1 uintptr, e1 Errno) {
    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_close)), 1, uintptr(fd), 0, 0, 0, 0, 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  4. test/fixedbugs/issue60945.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type S struct{}
    
    func callClosure(closure func()) {
    	closure()
    }
    
    func (s *S) M() {
    	callClosure(func() {
    		defer f(s.m) // prevent closures to be inlined.
    	})
    }
    
    func (s *S) m() {}
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 14:29:16 UTC 2023
    - 388 bytes
    - Viewed (0)
  5. cmd/bitrot-streaming.go

    		closeWithErr: rb.CloseWithError,
    		h:            h,
    		shardSize:    shardSize,
    		canClose:     &sync.WaitGroup{},
    		byteBuf:      buf,
    	}
    	bw.canClose.Add(1)
    	go func() {
    		defer bw.canClose.Done()
    
    		totalFileSize := int64(-1) // For compressed objects length will be unknown (represented by length=-1)
    		if length != -1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. test/fixedbugs/issue59404part2.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var G func(int) int
    
    //go:noinline
    func callclo(q, r int) int {
    	p := func(z int) int {
    		G = func(int) int { return 1 }
    		return z + 1
    	}
    	res := p(q) ^ p(r) // These calls to "p" will be inlined
    	G = p
    	return res
    }
    
    func main() {
    	callclo(1, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 15:07:18 UTC 2023
    - 432 bytes
    - Viewed (0)
  7. src/cmd/vendor/rsc.io/markdown/inline.go

    			dst = append(dst, src[i])
    			continue
    		}
    		if p.canClose {
    			stk := &stack[stackOf(p.Text[0])]
    		Loop:
    			for p.Text != "" {
    				// Looking for same symbol and compatible with p.Text.
    				for i := len(*stk) - 1; i >= 0; i-- {
    					start := (*stk)[i]
    					if (p.Text[0] == '*' || p.Text[0] == '_') && (p.canOpen && p.canClose || start.canOpen && start.canClose) && (p.n+start.n)%3 == 0 && (p.n%3 != 0 || start.n%3 != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "CALLtail", argLength: -1, reg: call, aux: "CallOff", call: true, tailCall: true}, // tail call static function aux.(*gc.Sym). last arg=mem, auxint=argsize, returns mem
    		{name: "CALLclosure", argLength: -1, reg: callClosure, aux: "CallOff", call: true},       // call function via closure. arg0=codeptr, arg1=closure, last arg=mem, auxint=argsize, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/builtin.go

    		return ir.NewBlockStmt(n.Pos(), nil)
    	case typ.IsMap():
    		return mapClear(n.X, reflectdata.TypePtrAt(n.X.Pos(), n.X.Type()))
    	}
    	panic("unreachable")
    }
    
    // walkClose walks an OCLOSE node.
    func walkClose(n *ir.UnaryExpr, init *ir.Nodes) ir.Node {
    	return mkcall1(chanfn("closechan", 1, n.X.Type()), nil, init, n.X)
    }
    
    // Lower copy(a, b) to a memmove call or a runtime call.
    //
    //	init {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    	// calculations to if the size is not well known (i.e. a constant).
    	SizeEstimator checker.CostEstimator
    }
    
    func (l *CostEstimator) CallCost(function, overloadId string, args []ref.Val, result ref.Val) *uint64 {
    	switch function {
    	case "check":
    		// An authorization check has a fixed cost
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top