Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 209 for setlkw (0.12 sec)

  1. src/log/slog/internal/buffer/buffer.go

    	// To reduce peak allocation, return only smaller buffers to the pool.
    	const maxBufferSize = 16 << 10
    	if cap(*b) <= maxBufferSize {
    		*b = (*b)[:0]
    		bufPool.Put(b)
    	}
    }
    
    func (b *Buffer) Reset() {
    	b.SetLen(0)
    }
    
    func (b *Buffer) Write(p []byte) (int, error) {
    	*b = append(*b, p...)
    	return len(p), nil
    }
    
    func (b *Buffer) WriteString(s string) (int, error) {
    	*b = append(*b, s...)
    	return len(s), nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go

    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/internal/poll/writev.go

    			if len(chunk) == 0 {
    				continue
    			}
    			iovecs = append(iovecs, newIovecWithBase(&chunk[0]))
    			if fd.IsStream && len(chunk) > 1<<30 {
    				iovecs[len(iovecs)-1].SetLen(1 << 30)
    				break // continue chunk on next writev
    			}
    			iovecs[len(iovecs)-1].SetLen(len(chunk))
    			if len(iovecs) == maxVec {
    				break
    			}
    		}
    		if len(iovecs) == 0 {
    			break
    		}
    		if fd.iovecs == nil {
    			fd.iovecs = new([]syscall.Iovec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/syscall/syscall_darwin_amd64.go

    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/syscall/syscall_darwin_arm64.go

    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    // Absorb flag constants into SETxx ops.
    ((SETEQ|SETLE|SETGE|SETBE|SETAE) (FlagEQ))     => (MOVLconst [1])
    ((SETNE|SETL|SETG|SETB|SETA)     (FlagEQ))     => (MOVLconst [0])
    ((SETNE|SETL|SETLE|SETB|SETBE)   (FlagLT_ULT)) => (MOVLconst [1])
    ((SETEQ|SETG|SETGE|SETA|SETAE)   (FlagLT_ULT)) => (MOVLconst [0])
    ((SETNE|SETL|SETLE|SETA|SETAE)   (FlagLT_UGT)) => (MOVLconst [1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go

    	return Timeval{Sec: int64(sec), Usec: int32(usec)}
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/syscall/flock_bsd.go

    // license that can be found in the LICENSE file.
    
    //go:build darwin || dragonfly || freebsd || netbsd || openbsd
    
    package syscall
    
    import "unsafe"
    
    // FcntlFlock performs a fcntl syscall for the [F_GETLK], [F_SETLK] or [F_SETLKW] command.
    func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error {
    	_, err := fcntlPtr(int(fd), cmd, unsafe.Pointer(lk))
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 475 bytes
    - Viewed (0)
  9. maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoExecutionException or MojoFailureException if error conditions occur.<br>
     * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    public interface Mojo {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. src/runtime/stubs_386.go

    func float64touint32(a float64) uint32
    func uint32tofloat64(a uint32) float64
    
    // stackcheck checks that SP is in range [g->stack.lo, g->stack.hi).
    func stackcheck()
    
    // Called from assembly only; declared for go vet.
    func setldt(slot uintptr, base unsafe.Pointer, size uintptr)
    func emptyfunc()
    
    //go:noescape
    func asmcgocall_no_g(fn, arg unsafe.Pointer)
    
    // getfp returns the frame pointer register of its caller or 0 if not implemented.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 10:04:13 UTC 2023
    - 708 bytes
    - Viewed (0)
Back to top