Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 229 for xlim (0.03 sec)

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

    	}
    
    	if rl.Cur == rlimInf32 {
    		rlim.Cur = rlimInf64
    	} else {
    		rlim.Cur = uint64(rl.Cur)
    	}
    
    	if rl.Max == rlimInf32 {
    		rlim.Max = rlimInf64
    	} else {
    		rlim.Max = uint64(rl.Max)
    	}
    	return
    }
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    	newoffset, errno := seek(fd, offset, whence)
    	if errno != 0 {
    		return 0, errno
    	}
    	return newoffset, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. LICENSES/vendor/github.com/go-task/slim-sprig/v3/LICENSE

    = vendor/github.com/go-task/slim-sprig/v3 licensed under: =
    
    Copyright (C) 2013-2020 Masterminds
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 13:25:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. test/fixedbugs/issue18808.go

    	if x >= lim {
    		return
    	}
    	panic("x >= lim returned false")
    }
    
    //go:noinline
    func lt(x uint32) {
    	if x < lim {
    		panic("x < lim returned true")
    	}
    }
    
    //go:noinline
    func lte(x uint32) {
    	if x <= lim {
    		panic("x <= lim returned true")
    	}
    }
    
    func main() {
    	eq(lim)
    	neq(lim)
    	gt(lim+1)
    	gte(lim+1)
    	lt(lim+1)
    	lte(lim+1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 27 16:04:04 UTC 2017
    - 847 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/testdata/issue25756/plugin/life.go

    // Keep the channels visible from Go.
    var chans [4]chan bool
    
    // Double return value is just for testing.
    //
    //export GoStart
    func GoStart(i, xdim, ydim, xstart, xend, ystart, yend C.int, a *C.int, n *C.int) (int, int) {
    	c := make(chan bool, int(C.MYCONST))
    	go func() {
    		C.DoStep(xdim, ydim, xstart, xend, ystart, yend, a, n)
    		c <- true
    	}()
    	chans[i] = c
    	return int(i), int(i + 100)
    }
    
    //export GoWait
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 889 bytes
    - Viewed (0)
  5. src/net/rlimit_unix.go

    // there we will return a meaningful "too many open files" error.
    func concurrentThreadsLimit() int {
    	var rlim syscall.Rlimit
    	if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &rlim); err != nil {
    		return 500
    	}
    	r := rlim.Cur
    	if r > 500 {
    		r = 500
    	} else if r > 30 {
    		r -= 30
    	}
    	return int(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_loong64.go

    }
    
    // Getrlimit prefers the prlimit64 system call.
    func Getrlimit(resource int, rlim *Rlimit) error {
    	return prlimit(0, resource, nil, rlim)
    }
    
    // setrlimit prefers the prlimit64 system call.
    func setrlimit(resource int, rlim *Rlimit) error {
    	return prlimit(0, resource, rlim, nil)
    }
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/RC4.java

                s[i] = s[j];
                s[j] = t;
            }
    
            i = j = 0;
        }
        public void update(byte[] src, int soff, int slen, byte[] dst, int doff)
        {
            int slim;
    
            slim = soff + slen;
            while (soff < slim) {
                i = (i + 1) & 0xff;
                j = (j + s[i]) & 0xff;
                byte t = s[i];
                s[i] = s[j];
                s[j] = t;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go

    }
    
    // Getrlimit prefers the prlimit64 system call. See issue 38604.
    func Getrlimit(resource int, rlim *Rlimit) error {
    	err := Prlimit(0, resource, nil, rlim)
    	if err != ENOSYS {
    		return err
    	}
    	return getrlimit(resource, rlim)
    }
    
    func (r *PtraceRegs) PC() uint64 { return r.Pc }
    
    func (r *PtraceRegs) SetPC(pc uint64) { r.Pc = pc }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_ppc64x.go

    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux_amd64.go

    }
    
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    	_, _, errno := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0)
    	return errno
    }
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top